@univerjs-pro/collaboration-client 0.12.2-experimental.20251202-45172c6 → 0.12.2-experimental.20251202-7f1a98f

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 (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +9 -9
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x3cfa54=_0x3a85;(function(_0x305cd9,_0x49cb){var _0x199953=_0x3a85,_0x13a7bc=_0x305cd9();while(!![]){try{var _0x2c4875=parseInt(_0x199953(0x3dd))/0x1*(parseInt(_0x199953(0x48f))/0x2)+parseInt(_0x199953(0x3e6))/0x3*(-parseInt(_0x199953(0x4a8))/0x4)+parseInt(_0x199953(0x25f))/0x5+parseInt(_0x199953(0x1ed))/0x6*(parseInt(_0x199953(0x33e))/0x7)+-parseInt(_0x199953(0x49a))/0x8*(parseInt(_0x199953(0x239))/0x9)+-parseInt(_0x199953(0x1e1))/0xa+parseInt(_0x199953(0x3a6))/0xb*(parseInt(_0x199953(0x45c))/0xc);if(_0x2c4875===_0x49cb)break;else _0x13a7bc['push'](_0x13a7bc['shift']());}catch(_0x332d63){_0x13a7bc['push'](_0x13a7bc['shift']());}}}(_0x2c71,0x24bbb));var bi=Object[_0x3cfa54(0x22c)],Di=(_0x3599c3,_0x5aac0c,_0xed4605)=>_0x5aac0c in _0x3599c3?bi(_0x3599c3,_0x5aac0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xed4605}):_0x3599c3[_0x5aac0c]=_0xed4605,D=(_0x4fc417,_0x17a843,_0x132578)=>Di(_0x4fc417,typeof _0x17a843!=_0x3cfa54(0x47f)?_0x17a843+'':_0x17a843,_0x132578);import{CollaborationEvent as _0x242f98,ITransformService as _0x2b16ef,isTransformMutationsWithChangesetSuccess as _0xc171cd,mapDocumentTypeToUniverType as _0x4ee17f,RevisionService as _0x194012,isTransformChangesetsSuccess as _0x1b6cd0,EmptyMutationInfo as _0x5d4288,CompressMutationService as _0x15d39f,parseProtocolChangeset as _0x2aaa2c,uuidv4 as _0x2b2cb6,ISnapshotServerService as _0x3302c1,parseChangesetToProtocol as _0x5bc997,SnapshotService as _0x4a21fc,textEncoder as _0x39946f,b64DecodeUnicode as _0x43cf58,isTransformMutationsWithChangesetFailure as _0x496cc2,UniverCollaborationPlugin as _0x4fa13d}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x2cb753,Inject as _0x179adb,UserManagerService as _0x538e0c,Disposable as _0x349cb4,UniverInstanceType as _0x3ebcb6,ILogService as _0x21ac0b,IConfigService as _0x9c29af,Optional as _0x26c487,RxDisposable as _0x5157cb,createIdentifier as _0x2cfc18,Injector as _0x3be7b0,Tools as _0x5a6e01,Rectangle as _0xd337,ICommandService as _0x3ff774,JSONX as _0x28771e,IUndoRedoService as _0x226259,IPermissionService as _0x362060,LocaleService as _0x211543,sequenceExecute as _0x360fa3,toDisposable as _0x4b360c,CommandType as _0x2951ad,DisposableCollection as _0x47842b,Workbook as _0x5b659b,generateRandomId as _0x432543,MentionType as _0x3b48db,isInternalEditorID as _0x58605c,LocalUndoRedoService as _0x3199da,IContextService as _0x6cad64,DependentOn as _0x47e4fe,Plugin as _0x290fc8,merge as _0x48d92d,mergeOverrideWithDependencies as _0x25e171,IAuthzIoService as _0x42827d,IMentionIOService as _0x1a882a,registerDependencies as _0x5334fa,Quantity as _0x90f65d,touchDependencies as _0x29ad7c}from'@univerjs/core';import{RichTextEditingMutation as _0x5be30c}from'@univerjs/docs';import{SheetsSelectionsService as _0xa71615,SetSelectionsOperation as _0x259bd7,InsertSheetMutation as _0x330684,WorkbookEditablePermission as _0x1b4ced,SheetPermissionInitController as _0x5652c9}from'@univerjs/sheets';import{Subject as _0x5ae17f,merge as _0x83d48,of as _0x2476c7,BehaviorSubject as _0x4be32f,takeUntil as _0x350db2,ReplaySubject as _0x54e177,take as _0x4dff42,map as _0x5d2eaa,shareReplay as _0x2b3f3d,firstValueFrom as _0x24c3ad,concatMap as _0x43a7b3}from'rxjs';import{ITelemetryService as _0x524aef}from'@univerjs/telemetry';import{map as _0x1635e2,take as _0x4d2706,filter as _0x4f5612,delay as _0x512261,takeUntil as _0x4e2aa1}from'rxjs/operators';import{HTTPService as _0x5ac30f,ISocketService as _0x259a1e,MergeInterceptorFactory as _0x17d603,HTTPRequest as _0x5a5abb,UniverNetworkPlugin as _0x3e7490,ThresholdInterceptorFactory as _0x566b27}from'@univerjs/network';import{ImageSourceType as _0x57cec6,ImageUploadStatusType as _0x20529f,IImageIoService as _0x144814}from'@univerjs/drawing';import{getGlobalObject as _0x2d9080}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x3cfa54(0x4be),ps=0x7d0,Es=_0x3cfa54(0x492),Sr='/universer-api/user/session-ticket',ms=_0x3cfa54(0x46e),Is=0x7530,di=_0x3cfa54(0x2dc),fi=0x4e20,Ss=0x4e20,gs=_0x3cfa54(0x2c0),Ts=0x3,gr=_0x3cfa54(0x277),Tr=0x3e8,Os=_0x3cfa54(0x304),Rs=_0x3cfa54(0x40e),Or='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Rr=_0x3cfa54(0x443);var vi=(_0x32e8f5=>(_0x32e8f5[_0x32e8f5[_0x3cfa54(0x32d)]=0x0]='UNDEFINED',_0x32e8f5[_0x32e8f5['OK']=0x1]='OK',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x3f5)]=0x2]=_0x3cfa54(0x3f5),_0x32e8f5[_0x32e8f5['PERMISSION_DENIED']=0x3]=_0x3cfa54(0x203),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x269)]=0x4]=_0x3cfa54(0x269),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x444)]=0x5]=_0x3cfa54(0x444),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x32b)]=0x6]=_0x3cfa54(0x32b),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x35c)]=0x7]=_0x3cfa54(0x35c),_0x32e8f5[_0x32e8f5['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x255)]=0x9]=_0x3cfa54(0x255),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x258)]=0xa]='LOGIN_FAILED',_0x32e8f5[_0x32e8f5['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x4cf)]=0xc]=_0x3cfa54(0x4cf),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x2c3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x338)]=0xe]=_0x3cfa54(0x338),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x432)]=0xf]=_0x3cfa54(0x432),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x470)]=0x10]=_0x3cfa54(0x470),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x1da)]=0x64]=_0x3cfa54(0x1da),_0x32e8f5[_0x32e8f5['ERROR_AGAIN']=0x65]=_0x3cfa54(0x41d),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x2b9)]=0xc9]=_0x3cfa54(0x2b9),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x441)]=0xca]=_0x3cfa54(0x441),_0x32e8f5[_0x32e8f5['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x32e8f5[_0x32e8f5['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3cfa54(0x1d2),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x388)]=0x1772]=_0x3cfa54(0x388),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x4ad)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x282)]=0x1b59]=_0x3cfa54(0x282),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x2eb)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x401)]=0x1b5b]=_0x3cfa54(0x401),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x2af)]=0x1b5c]=_0x3cfa54(0x2af),_0x32e8f5[_0x32e8f5['APPLY_DUPLICATED']=0x1b5d]=_0x3cfa54(0x479),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x225)]=0x1f41]=_0x3cfa54(0x225),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x1e8)]=0x2329]=_0x3cfa54(0x1e8),_0x32e8f5[_0x32e8f5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3cfa54(0x219),_0x32e8f5[_0x32e8f5['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x295)]=0x232c]=_0x3cfa54(0x295),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x355)]=0x232d]=_0x3cfa54(0x355),_0x32e8f5[_0x32e8f5['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x459)]=0x2712]=_0x3cfa54(0x459),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x327)]=0x2713]=_0x3cfa54(0x327),_0x32e8f5[_0x32e8f5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3cfa54(0x309),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x3b8)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x32e8f5[_0x32e8f5['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3cfa54(0x26f),_0x32e8f5[_0x32e8f5['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3cfa54(0x424),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x264)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x2f8)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x413)]=0x271f]=_0x3cfa54(0x413),_0x32e8f5[_0x32e8f5['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3cfa54(0x344),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x4b6)]=0x2af9]=_0x3cfa54(0x4b6),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x21a)]=0x2ee1]=_0x3cfa54(0x21a),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x447)]=0x2ee2]=_0x3cfa54(0x447),_0x32e8f5[_0x32e8f5['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x2ae)]=0x2ee4]=_0x3cfa54(0x2ae),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x37b)]=0x2ee5]=_0x3cfa54(0x37b),_0x32e8f5[_0x32e8f5['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3cfa54(0x276),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x4b0)]=0x32ca]=_0x3cfa54(0x4b0),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x36c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x491)]=0x36b1]=_0x3cfa54(0x491),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x43c)]=0x36b2]=_0x3cfa54(0x43c),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x425)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x37d)]=0x36b4]=_0x3cfa54(0x37d),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x467)]=0x3715]=_0x3cfa54(0x467),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x22d)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x3c7)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x2a9)]=0x37dd]=_0x3cfa54(0x2a9),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x1f5)]=0x3a99]=_0x3cfa54(0x1f5),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x1f3)]=0x3a9a]=_0x3cfa54(0x1f3),_0x32e8f5[_0x32e8f5['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x32e8f5[_0x32e8f5[_0x3cfa54(0x1e0)]=0x3a9c]=_0x3cfa54(0x1e0),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x3fd)]=0x3a9d]=_0x3cfa54(0x3fd),_0x32e8f5[_0x32e8f5['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x3cfa54(0x28c),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x22a)]=0x3a9f]=_0x3cfa54(0x22a),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x3a0)]=0x3e81]=_0x3cfa54(0x3a0),_0x32e8f5[_0x32e8f5[_0x3cfa54(0x35b)]=-0x1]='UNRECOGNIZED',_0x32e8f5))(vi||{}),Q=(_0x30a77d=>(_0x30a77d[_0x30a77d['UNIVER_UNKNOWN']=0x0]=_0x3cfa54(0x350),_0x30a77d[_0x30a77d['UNIVER_DOC']=0x1]=_0x3cfa54(0x2e5),_0x30a77d[_0x30a77d[_0x3cfa54(0x263)]=0x2]=_0x3cfa54(0x263),_0x30a77d[_0x30a77d[_0x3cfa54(0x20f)]=0x3]=_0x3cfa54(0x20f),_0x30a77d[_0x30a77d[_0x3cfa54(0x342)]=0x4]='UNIVER_PROJECT',_0x30a77d[_0x30a77d[_0x3cfa54(0x35b)]=-0x1]=_0x3cfa54(0x35b),_0x30a77d))(Q||{}),j=(_0x4c9f46=>(_0x4c9f46[_0x4c9f46[_0x3cfa54(0x29c)]=0x0]=_0x3cfa54(0x29c),_0x4c9f46[_0x4c9f46[_0x3cfa54(0x27f)]=0x1]=_0x3cfa54(0x27f),_0x4c9f46[_0x4c9f46[_0x3cfa54(0x34a)]=0x2]=_0x3cfa54(0x34a),_0x4c9f46[_0x4c9f46[_0x3cfa54(0x4c3)]=0x3]=_0x3cfa54(0x4c3),_0x4c9f46[_0x4c9f46['INGEST']=0x4]='INGEST',_0x4c9f46[_0x4c9f46[_0x3cfa54(0x1ce)]=0x5]=_0x3cfa54(0x1ce),_0x4c9f46[_0x4c9f46[_0x3cfa54(0x323)]=0x6]=_0x3cfa54(0x323),_0x4c9f46[_0x4c9f46['UNRECOGNIZED']=-0x1]=_0x3cfa54(0x35b),_0x4c9f46))(j||{}),pe=(_0x398359=>(_0x398359[_0x398359[_0x3cfa54(0x493)]=0x0]=_0x3cfa54(0x493),_0x398359[_0x398359['OK']=0x1]='OK',_0x398359[_0x398359['FAIL']=0x2]='FAIL',_0x398359[_0x398359['JOIN_ROOM_FULL']=0x3e9]=_0x3cfa54(0x1c9),_0x398359[_0x398359['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3cfa54(0x291),_0x398359[_0x398359['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x3cfa54(0x317),_0x398359[_0x398359[_0x3cfa54(0x494)]=0x3ec]=_0x3cfa54(0x494),_0x398359[_0x398359[_0x3cfa54(0x35b)]=-0x1]=_0x3cfa54(0x35b),_0x398359))(pe||{}),pi=(_0x2ec1f3=>(_0x2ec1f3[_0x2ec1f3[_0x3cfa54(0x4cd)]=0x0]=_0x3cfa54(0x4cd),_0x2ec1f3[_0x2ec1f3[_0x3cfa54(0x465)]=0x1]=_0x3cfa54(0x465),_0x2ec1f3[_0x2ec1f3['HttpExport']=0x2]=_0x3cfa54(0x2e6),_0x2ec1f3[_0x2ec1f3[_0x3cfa54(0x33b)]=0x3]=_0x3cfa54(0x33b),_0x2ec1f3[_0x2ec1f3[_0x3cfa54(0x43f)]=0x4]='UnitSnapshot',_0x2ec1f3[_0x2ec1f3[_0x3cfa54(0x20e)]=0x5]=_0x3cfa54(0x20e),_0x2ec1f3[_0x2ec1f3[_0x3cfa54(0x2f9)]=0x6]=_0x3cfa54(0x2f9),_0x2ec1f3[_0x2ec1f3[_0x3cfa54(0x35b)]=-0x1]=_0x3cfa54(0x35b),_0x2ec1f3))(pi||{});const Cs=_0x3cfa54(0x2b5);function Ns(_0x3775d0){var _0x5142ba=_0x3cfa54;return JSON[_0x5142ba(0x2b6)](_0x3775d0)[_0x5142ba(0x38a)];}var re=(_0x40ff23=>(_0x40ff23[_0x3cfa54(0x2d5)]=_0x3cfa54(0x2d5),_0x40ff23[_0x3cfa54(0x203)]='PERMISSION_DENIED',_0x40ff23[_0x3cfa54(0x273)]=_0x3cfa54(0x273),_0x40ff23[_0x3cfa54(0x227)]=_0x3cfa54(0x227),_0x40ff23[_0x3cfa54(0x26b)]=_0x3cfa54(0x26b),_0x40ff23[_0x3cfa54(0x2f2)]='SOCKET_FAILED_RETRY',_0x40ff23[_0x3cfa54(0x2d7)]='SOCKET_FAILED',_0x40ff23[_0x3cfa54(0x3c0)]=_0x3cfa54(0x3c0),_0x40ff23))(re||{});class ve{constructor(){var _0x157dc4=_0x3cfa54;D(this,_0x157dc4(0x301),new _0x5ae17f()),D(this,_0x157dc4(0x3bd),this['_event$']['asObservable']());}[_0x3cfa54(0x272)](_0x6c8a05){var _0x21881e=_0x3cfa54;this['_event$'][_0x21881e(0x428)](_0x6c8a05);}}class Ei{constructor(){var _0x310f88=_0x3cfa54;D(this,_0x310f88(0x3ae),new _0x5ae17f()),D(this,_0x310f88(0x481),this[_0x310f88(0x3ae)]['asObservable']());}[_0x3cfa54(0x474)](_0x57f4a6){var _0x3a7761=_0x3cfa54;this[_0x3a7761(0x3ae)][_0x3a7761(0x428)](_0x57f4a6);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x40df23,_0x14d1f9,_0x4b0f2d,_0x30e6df)=>{var _0x5a58e1=_0x3cfa54;for(var _0x21268a=_0x30e6df>0x1?void 0x0:_0x30e6df?bs(_0x14d1f9,_0x4b0f2d):_0x14d1f9,_0x225ed1=_0x40df23[_0x5a58e1(0x38a)]-0x1,_0x5c8cdf;_0x225ed1>=0x0;_0x225ed1--)(_0x5c8cdf=_0x40df23[_0x225ed1])&&(_0x21268a=_0x5c8cdf(_0x21268a)||_0x21268a);return _0x21268a;},Ft=(_0x5a961d,_0x289d5a)=>(_0x17d628,_0x5974cd)=>_0x289d5a(_0x17d628,_0x5974cd,_0x5a961d);let Pe=class extends _0x349cb4{constructor(_0x2705ee,_0x13430c){var _0x2760a6=_0x3cfa54;super(),D(this,'_roomMembers',new Map()),D(this,_0x2760a6(0x1f9),new _0x5ae17f()),(this['_univerInstanceService']=_0x2705ee,this[_0x2760a6(0x436)]=_0x13430c,this['disposeWithMe'](_0x83d48(this[_0x2760a6(0x290)][_0x2760a6(0x293)](_0x3ebcb6[_0x2760a6(0x263)])['pipe'](_0x1635e2(_0x5885e5=>_0x5885e5['getUnitId']())),this[_0x2760a6(0x290)][_0x2760a6(0x293)](_0x3ebcb6[_0x2760a6(0x2e5)])['pipe'](_0x1635e2(_0x546221=>_0x546221['getUnitId']())),this[_0x2760a6(0x290)][_0x2760a6(0x293)](_0x3ebcb6[_0x2760a6(0x20f)])[_0x2760a6(0x23f)](_0x1635e2(_0x19bba4=>_0x19bba4[_0x2760a6(0x429)]())))[_0x2760a6(0x380)](_0x33397e=>this[_0x2760a6(0x2e1)](_0x33397e))));}[_0x3cfa54(0x22b)](_0x2e2024){var _0x382151=_0x3cfa54;return this[_0x382151(0x48c)][_0x382151(0x34b)](_0x2e2024)?_0x2476c7(this[_0x382151(0x48c)][_0x382151(0x284)](_0x2e2024)):this[_0x382151(0x1f9)]['pipe'](_0x1635e2(_0xca8244=>{var _0x44fe7d=_0x382151;if(_0xca8244===_0x2e2024)return this[_0x44fe7d(0x48c)][_0x44fe7d(0x284)](_0xca8244);}));}[_0x3cfa54(0x3d1)](_0x104147){var _0x3b2ab9=_0x3cfa54;this['_userManagerService'][_0x3b2ab9(0x3d1)](_0x104147);}['getCurrentUser'](){var _0xf10589=_0x3cfa54;return this[_0xf10589(0x436)][_0xf10589(0x34e)]();}[_0x3cfa54(0x21c)](_0x370a80,_0x3a16b1){var _0x127453=_0x3cfa54;let _0x64f41b=this[_0x127453(0x48c)][_0x127453(0x284)](_0x370a80);_0x64f41b||(_0x64f41b=new ys(),this[_0x127453(0x48c)]['set'](_0x370a80,_0x64f41b),this[_0x127453(0x1f9)][_0x127453(0x428)](_0x370a80)),_0x64f41b[_0x127453(0x21c)](_0x3a16b1);}['removeMember'](_0x42681d,_0x3c155c){var _0x29f206=_0x3cfa54;const _0x62dca0=this['_roomMembers'][_0x29f206(0x284)](_0x42681d);_0x62dca0&&_0x62dca0[_0x29f206(0x35a)](_0x3c155c);}[_0x3cfa54(0x3e5)](_0x1475c7){var _0x29d549=_0x3cfa54;return this[_0x29d549(0x48c)]['get'](_0x1475c7);}[_0x3cfa54(0x4ce)](_0x4c82d9,_0x4340fb){var _0x144fbe=_0x3cfa54;const _0x1c5061=this[_0x144fbe(0x48c)][_0x144fbe(0x284)](_0x4c82d9);if(_0x1c5061)return _0x1c5061[_0x144fbe(0x4ce)](_0x4340fb);}[_0x3cfa54(0x2e1)](_0x58cbd9){var _0x434f4a=_0x3cfa54;const _0x41381a=this['_roomMembers'][_0x434f4a(0x284)](_0x58cbd9);_0x41381a&&(_0x41381a['dispose'](),this[_0x434f4a(0x48c)][_0x434f4a(0x1fc)](_0x58cbd9));}['dispose'](){var _0x243a6f=_0x3cfa54;this[_0x243a6f(0x48c)][_0x243a6f(0x4b4)](_0xeadad9=>_0xeadad9[_0x243a6f(0x394)]()),this[_0x243a6f(0x48c)][_0x243a6f(0x316)](),this[_0x243a6f(0x1f9)]['complete']();}};Pe=Ds([Ft(0x0,_0x2cb753),Ft(0x1,_0x179adb(_0x538e0c))],Pe);class ys extends _0x349cb4{constructor(){var _0x3a0eeb=_0x3cfa54;super(...arguments),D(this,_0x3a0eeb(0x4ae),new Map()),D(this,_0x3a0eeb(0x3ed),new _0x4be32f(this[_0x3a0eeb(0x4ae)])),D(this,_0x3a0eeb(0x315),this['_members$'][_0x3a0eeb(0x2f3)]());}[_0x3cfa54(0x394)](){var _0x252cf9=_0x3cfa54;this[_0x252cf9(0x4ae)][_0x252cf9(0x316)]();}[_0x3cfa54(0x21c)](_0x3ee245){var _0x3b4a04=_0x3cfa54;this['_members'][_0x3b4a04(0x464)](_0x3ee245[_0x3b4a04(0x1f8)],_0x3ee245),this['_emitMembers']();}[_0x3cfa54(0x35a)](_0x304330){var _0xc24410=_0x3cfa54;this[_0xc24410(0x4ae)][_0xc24410(0x1fc)](_0x304330);}[_0x3cfa54(0x4ce)](_0x26cbc9){var _0x45ab53=_0x3cfa54;return this[_0x45ab53(0x4ae)][_0x45ab53(0x284)](_0x26cbc9);}['getAllMembers'](){var _0x564772=_0x3cfa54;return Array[_0x564772(0x3cf)](this['_members']['values']());}['_emitMembers'](){var _0x464786=_0x3cfa54;this[_0x464786(0x3ed)]['next'](this[_0x464786(0x4ae)]);}}var Us=Object[_0x3cfa54(0x3f9)],As=(_0x235537,_0x3f989c,_0x17c2ab,_0x3d6407)=>{var _0xbee5dd=_0x3cfa54;for(var _0xf089b4=_0x3d6407>0x1?void 0x0:_0x3d6407?Us(_0x3f989c,_0x17c2ab):_0x3f989c,_0x4f32c3=_0x235537[_0xbee5dd(0x38a)]-0x1,_0x1a80f5;_0x4f32c3>=0x0;_0x4f32c3--)(_0x1a80f5=_0x235537[_0x4f32c3])&&(_0xf089b4=_0x1a80f5(_0xf089b4)||_0xf089b4);return _0xf089b4;},Oe=(_0x32c162,_0x23c1fe)=>(_0x57b477,_0x29a785)=>_0x23c1fe(_0x57b477,_0x29a785,_0x32c162),me=(_0x1ee799=>(_0x1ee799[_0x1ee799[_0x3cfa54(0x450)]=0x0]='IDLE',_0x1ee799[_0x1ee799[_0x3cfa54(0x30b)]=0x1]='JOINING',_0x1ee799[_0x1ee799[_0x3cfa54(0x456)]=0x2]=_0x3cfa54(0x456),_0x1ee799[_0x1ee799['ONLINE']=0x3]=_0x3cfa54(0x3be),_0x1ee799))(me||{});const jt={[pe[_0x3cfa54(0x49d)]]:_0x3cfa54(0x35d),[pe['JOIN_ROOM_FULL']]:_0x3cfa54(0x411),[pe[_0x3cfa54(0x291)]]:'session.room-not-exists',[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x3cfa54(0x42a),[pe[_0x3cfa54(0x494)]]:_0x3cfa54(0x454)};let mt=class extends _0x5157cb{constructor(_0x26d7d1,_0x179c90,_0x516913,_0xec8d45,_0x1fdfd0,_0x35abba,_0x5e3d4f,_0x4bbdb7){var _0x5a8a2e=_0x3cfa54;super(),D(this,'_sessionStatus$',new _0x4be32f(0x0)),D(this,_0x5a8a2e(0x354),this[_0x5a8a2e(0x3a8)][_0x5a8a2e(0x2f3)]()),D(this,'_event$',new _0x5ae17f()),D(this,_0x5a8a2e(0x3bd),this['_event$'][_0x5a8a2e(0x2f3)]()),D(this,_0x5a8a2e(0x303)),D(this,_0x5a8a2e(0x38e)),D(this,_0x5a8a2e(0x1e5)),D(this,_0x5a8a2e(0x486),!0x1),D(this,_0x5a8a2e(0x2e2),null),(this[_0x5a8a2e(0x1d4)]=_0x26d7d1,this[_0x5a8a2e(0x3db)]=_0x516913,this['_configService']=_0xec8d45,this[_0x5a8a2e(0x29e)]=_0x1fdfd0,this[_0x5a8a2e(0x289)]=_0x35abba,this[_0x5a8a2e(0x3e7)]=_0x5e3d4f,this[_0x5a8a2e(0x369)]=_0x4bbdb7,this['_shouldReportTelemetry']=!!this[_0x5a8a2e(0x369)],_0x179c90['pipe'](_0x350db2(this[_0x5a8a2e(0x211)]))[_0x5a8a2e(0x380)](_0x97e108=>{var _0x4ef844=_0x5a8a2e,_0x3ca307;typeof _0x97e108>'u'||(this[_0x4ef844(0x303)]=_0x97e108,_0x97e108?(this[_0x4ef844(0x37e)](_0x97e108),this[_0x4ef844(0x38e)]=_0x97e108['message$']['subscribe'](_0x4ce55a=>{var _0x22bfc1=_0x4ef844;_0x4ce55a[_0x22bfc1(0x261)]===this['_unitID']&&this[_0x22bfc1(0x346)](_0x4ce55a);})):(this[_0x4ef844(0x31b)](),this[_0x4ef844(0x3a8)][_0x4ef844(0x428)](0x2),(_0x3ca307=this[_0x4ef844(0x38e)])==null||_0x3ca307[_0x4ef844(0x48b)](),this[_0x4ef844(0x38e)]=null));}));}get['sessionStatus'](){var _0x175b8b=_0x3cfa54;return this[_0x175b8b(0x3a8)][_0x175b8b(0x28b)]();}[_0x3cfa54(0x2cb)](){var _0x3f1d28=_0x3cfa54,_0x4f4d3a,_0x56faec;return(_0x56faec=(_0x4f4d3a=this[_0x3f1d28(0x303)])==null?void 0x0:_0x4f4d3a[_0x3f1d28(0x1f8)])!=null?_0x56faec:null;}[_0x3cfa54(0x394)](){var _0x57d095=_0x3cfa54;super[_0x57d095(0x394)](),this[_0x57d095(0x211)][_0x57d095(0x428)](),this[_0x57d095(0x211)][_0x57d095(0x433)]();}[_0x3cfa54(0x4b7)](){var _0x1bb4d6=_0x3cfa54,_0x393639,_0x1e1197;this[_0x1bb4d6(0x31b)](),(_0x393639=this['_socket'])==null||_0x393639[_0x1bb4d6(0x332)]({'cmd':j['LEAVE'],'data':{'roomID':this[_0x1bb4d6(0x1d4)]}}),(_0x1e1197=this[_0x1bb4d6(0x303)])==null||_0x1e1197[_0x1bb4d6(0x4b7)](),this[_0x1bb4d6(0x301)][_0x1bb4d6(0x433)](),this[_0x1bb4d6(0x3a8)][_0x1bb4d6(0x433)](),this['dispose']();}[_0x3cfa54(0x346)](_0x120cd6){var _0x2e1d5a=_0x3cfa54;_0x120cd6[_0x2e1d5a(0x31e)]===j[_0x2e1d5a(0x34a)]?this[_0x2e1d5a(0x417)](_0x120cd6):_0x120cd6[_0x2e1d5a(0x31e)]===j['RECV']&&this[_0x2e1d5a(0x274)](_0x120cd6);}['_joinRoom'](_0x428b14){var _0x74f474=_0x3cfa54;this[_0x74f474(0x3a8)][_0x74f474(0x428)](0x1),_0x428b14[_0x74f474(0x332)]({'cmd':j[_0x74f474(0x34a)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x74f474(0x1d4)]}]}});}['_onJoinRoomEvent'](_0x53ea0c){var _0x10bf79=_0x3cfa54,_0x3c1f14;if(_0x53ea0c['code']in jt){this[_0x10bf79(0x3e7)][_0x10bf79(0x272)]({'id':re[_0x10bf79(0x26b)],'data':jt[_0x53ea0c[_0x10bf79(0x243)]]}),this[_0x10bf79(0x3a8)][_0x10bf79(0x428)](0x2);return;}this[_0x10bf79(0x3a8)][_0x10bf79(0x428)](0x3);const _0x4ff4ee=(_0x3c1f14=_0x53ea0c[_0x10bf79(0x298)][_0x10bf79(0x4d6)][this[_0x10bf79(0x1d4)]])==null?void 0x0:_0x3c1f14[_0x10bf79(0x418)];_0x4ff4ee&&_0x4ff4ee[_0x10bf79(0x4b4)](_0x249dd1=>this['_memberService'][_0x10bf79(0x21c)](this['_unitID'],_0x249dd1));}['_onRecvEvent'](_0xf46059){var _0x164fcc=_0x3cfa54;try{const _0x450ca8=_0xf46059[_0x164fcc(0x298)];switch(_0x450ca8[_0x164fcc(0x236)]){case _0x242f98[_0x164fcc(0x49f)]:this[_0x164fcc(0x275)](_0x450ca8),this[_0x164fcc(0x301)][_0x164fcc(0x428)](_0x450ca8);break;case _0x242f98[_0x164fcc(0x3fe)]:this['_onUserLeave'](_0x450ca8),this[_0x164fcc(0x301)][_0x164fcc(0x428)](_0x450ca8);break;case _0x242f98[_0x164fcc(0x30c)]:case _0x242f98['CHANGESET_SHOULD_RETRY']:this[_0x164fcc(0x3e3)](),this[_0x164fcc(0x3a3)](),this[_0x164fcc(0x301)][_0x164fcc(0x428)](_0x450ca8);break;case _0x242f98['MSG_FOR_ERROR']:this[_0x164fcc(0x3db)][_0x164fcc(0x41f)](_0x164fcc(0x311)+JSON['stringify'](_0x450ca8)),this[_0x164fcc(0x301)][_0x164fcc(0x428)](_0x450ca8);break;case _0x242f98[_0x164fcc(0x3eb)]:this[_0x164fcc(0x289)][_0x164fcc(0x474)](_0x450ca8[_0x164fcc(0x298)]),this[_0x164fcc(0x301)][_0x164fcc(0x428)](_0x450ca8);break;default:this['_event$']['next'](_0x450ca8);}}catch(_0x44c069){this[_0x164fcc(0x3db)][_0x164fcc(0x41f)](_0x44c069,_0xf46059);}}[_0x3cfa54(0x275)](_0x1e70a3){var _0x9ca790=_0x3cfa54;this['_memberService'][_0x9ca790(0x21c)](this[_0x9ca790(0x1d4)],_0x1e70a3[_0x9ca790(0x298)]);}[_0x3cfa54(0x285)](_0x417923){var _0x7944d7=_0x3cfa54;this[_0x7944d7(0x29e)][_0x7944d7(0x35a)](this['_unitID'],_0x417923[_0x7944d7(0x298)][_0x7944d7(0x1f8)]);}async['send'](_0xc6551b,_0x1464b6){var _0x48efb8=_0x3cfa54;if(this[_0x48efb8(0x2ef)]!==0x3||!this[_0x48efb8(0x303)])throw new Error(_0x48efb8(0x44f));try{_0xc6551b['eventID']===_0x242f98['SUBMIT_CHANGESET']&&(this[_0x48efb8(0x378)](),this[_0x48efb8(0x240)](_0xc6551b)),this[_0x48efb8(0x303)][_0x48efb8(0x332)]({'cmd':j[_0x48efb8(0x2b4)],'routeKey':_0x1464b6,'routeType':'','data':_0xc6551b});}catch(_0x122b33){this[_0x48efb8(0x3db)][_0x48efb8(0x41f)](_0x122b33);}}[_0x3cfa54(0x378)](){var _0xa0942f=_0x3cfa54,_0x5c408e;this[_0xa0942f(0x1e5)]=setTimeout(()=>{var _0x39d4b6=_0xa0942f;this['_collaborationTimeoutTimer']=null,this[_0x39d4b6(0x3e7)][_0x39d4b6(0x272)]({'id':re[_0x39d4b6(0x3c0)]});},(_0x5c408e=this[_0xa0942f(0x335)][_0xa0942f(0x371)](di))!=null?_0x5c408e:fi);}[_0x3cfa54(0x3a3)](){var _0x598265=_0x3cfa54;this[_0x598265(0x1e5)]&&(clearTimeout(this[_0x598265(0x1e5)]),this[_0x598265(0x1e5)]=null);}[_0x3cfa54(0x240)](_0xa050ab){var _0x505053=_0x3cfa54;if(!this['_shouldReportTelemetry'])return;const {data:_0x15bfdc}=_0xa050ab,{unitID:_0x482580,changeset:_0xf415f3}=_0x15bfdc,{mutations:_0x2dbb03,type:_0x1c8b6d}=_0xf415f3;this[_0x505053(0x2e2)]={'unitId':_0x482580,'type':_0x1c8b6d,'startTime':performance[_0x505053(0x2bd)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x2dbb03)};}[_0x3cfa54(0x3e3)](){var _0x4482c7=_0x3cfa54;if(this[_0x4482c7(0x486)]){if(!this[_0x4482c7(0x2e2)]){this[_0x4482c7(0x3db)]['error'](_0x4482c7(0x27c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x4482c7(0x1cd)]=performance['now'](),this[_0x4482c7(0x2e2)][_0x4482c7(0x49e)]=this[_0x4482c7(0x2e2)]['stopTime']-this[_0x4482c7(0x2e2)][_0x4482c7(0x3d6)],this[_0x4482c7(0x369)]['capture'](Cs,this[_0x4482c7(0x2e2)]),this[_0x4482c7(0x2e2)]=null;}}[_0x3cfa54(0x31b)](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x21ac0b),Oe(0x3,_0x9c29af),Oe(0x4,_0x179adb(Pe)),Oe(0x5,_0x179adb(Ei)),Oe(0x6,_0x179adb(ve)),Oe(0x7,_0x26c487(_0x524aef))],mt);const J=_0x2cfc18(_0x3cfa54(0x1eb));function Cr(_0x4cc8d4){return'unit-cache-'+_0x4cc8d4;}var Ps=Object[_0x3cfa54(0x3f9)],ws=(_0x520594,_0xe1590,_0x46ed79,_0x15ddee)=>{var _0xeb47a8=_0x3cfa54;for(var _0x1f3a9f=_0x15ddee>0x1?void 0x0:_0x15ddee?Ps(_0xe1590,_0x46ed79):_0xe1590,_0x4b989a=_0x520594[_0xeb47a8(0x38a)]-0x1,_0x468873;_0x4b989a>=0x0;_0x4b989a--)(_0x468873=_0x520594[_0x4b989a])&&(_0x1f3a9f=_0x468873(_0x1f3a9f)||_0x1f3a9f);return _0x1f3a9f;},ut=(_0xb3a3b0,_0x229a57)=>(_0x5083d9,_0x703d0a)=>_0x229a57(_0x5083d9,_0x703d0a,_0xb3a3b0);function Ms(_0x30a4d8){var _0x5a9249=_0x3cfa54;const {unitID:_0x4ca339,mutations:_0x2575e9}=_0x30a4d8;return{'unitId':_0x4ca339,'subUnitId':_0x2575e9['length']>0x0?_0x2575e9[0x0][_0x5a9249(0x40c)][_0x5a9249(0x233)]:null};}let it=class{constructor(_0x1e5c0b,_0x51db51,_0x3cd38e){var _0x24e8c5=_0x3cfa54;this['_injector']=_0x1e5c0b,this['_transformService']=_0x51db51,this[_0x24e8c5(0x4cb)]=_0x3cd38e;}['transformSelections'](_0x4d355a){var _0x4609a0=_0x3cfa54,_0x56841d,_0x3291a0,_0x526b65,_0x504838;const _0x59d642=this['_injector'][_0x4609a0(0x284)](_0xa71615),{unitId:_0x4d07fe,subUnitId:_0x414eb4}=Ms(_0x4d355a),_0x48ad20=_0x59d642==null?void 0x0:_0x59d642['getWorkbookSelections'](_0x4d07fe)[_0x4609a0(0x48d)](),_0x389eb6=(_0x3291a0=(_0x56841d=this[_0x4609a0(0x4cb)][_0x4609a0(0x472)](_0x4d07fe))==null?void 0x0:_0x56841d[_0x4609a0(0x30a)]())==null?void 0x0:_0x3291a0[_0x4609a0(0x244)]();if(_0x48ad20[_0x4609a0(0x38a)]===0x0||!_0x4d07fe||!_0x414eb4)return;const _0x5606d4=[{'id':_0x259bd7['id'],'params':{'unitId':_0x4d07fe,'subUnitId':_0x389eb6,'selections':_0x5a6e01[_0x4609a0(0x1cf)](_0x48ad20)}}],_0x16a49f=this[_0x4609a0(0x483)][_0x4609a0(0x2fb)](_0x4d355a,_0x5606d4);if(!_0xc171cd(_0x16a49f))throw _0x16a49f['error'];const _0x1f913c=(_0x504838=(_0x526b65=_0x16a49f['m2Prime'][0x0])==null?void 0x0:_0x526b65[_0x4609a0(0x40c)])==null?void 0x0:_0x504838[_0x4609a0(0x4b9)];if(Array[_0x4609a0(0x2d8)](_0x1f913c)&&_0x1f913c[_0x4609a0(0x38a)]){if(_0x1f913c[_0x4609a0(0x38a)]===_0x5606d4[0x0][_0x4609a0(0x40c)][_0x4609a0(0x4b9)]['length']&&_0x1f913c['every']((_0x21d193,_0x4dcefc)=>_0xd337[_0x4609a0(0x32f)](_0x21d193[_0x4609a0(0x302)],_0x5606d4[0x0][_0x4609a0(0x40c)][_0x4609a0(0x4b9)][_0x4dcefc][_0x4609a0(0x302)])))return;this[_0x4609a0(0x1f0)][_0x4609a0(0x284)](_0x3ff774)['executeCommand'](_0x259bd7['id'],{'unitId':_0x4d07fe,'subUnitId':_0x389eb6,'selections':_0x1f913c});}}};it=ws([ut(0x0,_0x179adb(_0x3be7b0)),ut(0x1,_0x2b16ef),ut(0x2,_0x2cb753)],it);const _t=_0x2cfc18(_0x3cfa54(0x1f4));var mi=(_0x5a33de=>(_0x5a33de[_0x5a33de[_0x3cfa54(0x2a1)]=0x0]=_0x3cfa54(0x2a1),_0x5a33de[_0x5a33de['OTHER_CLIENTS_EDITING']=0x1]=_0x3cfa54(0x435),_0x5a33de))(mi||{});const K=_0x3cfa54(0x2ca),Ls={},xs=new Set([_0x330684['id']]);function Vt(_0x57b20e,_0x496229,_0x5f1b5e,_0x376fe9,_0x235c42){var _0x2e75a5=_0x3cfa54,_0x4fb5e6,_0x3df979,_0x2783da,_0x5552a0;const _0x2c2651=[];for(const _0x5c30f8 of _0x57b20e)if(xs['has'](_0x5c30f8['id'])){if(_0x2c2651[_0x2e75a5(0x38a)]>0x0)break;_0x2c2651[_0x2e75a5(0x426)](_0x5c30f8);break;}else _0x2c2651['push'](_0x5c30f8);const _0x25b6c6=(_0x3df979=(_0x4fb5e6=_0x235c42[_0x2e75a5(0x34e)]())==null?void 0x0:_0x4fb5e6[_0x2e75a5(0x1fa)])!=null?_0x3df979:_0x2e75a5(0x398),_0x32087d=(_0x5552a0=(_0x2783da=_0x235c42['getCurrentUser']())==null?void 0x0:_0x2783da['memberID'])!=null?_0x5552a0:'unknown';return{'changeset':{'unitID':_0x496229,'type':_0x4ee17f(_0x5f1b5e['getUnitType'](_0x496229)),'baseRev':_0x376fe9['getCurrentRevOfUnit'](_0x496229),'revision':0x0,'userID':_0x25b6c6,'memberID':_0x32087d,'mutations':_0x2c2651},'pendingMutations':_0x57b20e[_0x2e75a5(0x1ee)](_0x2c2651['length'])};}function $s(_0x400fec,_0xe3c890,_0x1af9e1,_0x320759,_0x113fc8){var _0x57a9ff=_0x3cfa54,_0x25becc,_0x20efa7,_0x4f8bf8,_0x3fe1bf;const _0x260e61=[_0x400fec['reduce']((_0x409f80,_0x492c50)=>{var _0x3efb9b=_0x3a85,_0x557aa4;const {id:_0x420bf6}=_0x409f80,{id:_0x42f48b,type:_0x15e165}=_0x492c50,_0x43c387=(_0x557aa4=_0x409f80[_0x3efb9b(0x40c)])!=null?_0x557aa4:{'actions':null},_0x2fb9c6=_0x492c50[_0x3efb9b(0x40c)];if(_0x420bf6&&_0x420bf6!==_0x42f48b)throw new Error(_0x3efb9b(0x469)+_0x420bf6+_0x3efb9b(0x45a)+_0x42f48b+'.');return{..._0x409f80,'id':_0x42f48b,'type':_0x15e165,'params':{'unitId':_0x2fb9c6[_0x3efb9b(0x308)],'textRanges':_0x2fb9c6[_0x3efb9b(0x250)],'actions':_0x28771e['compose'](_0x43c387[_0x3efb9b(0x4d1)],_0x2fb9c6[_0x3efb9b(0x4d1)])}};},{})],_0x4d4f7c=(_0x20efa7=(_0x25becc=_0x113fc8[_0x57a9ff(0x34e)]())==null?void 0x0:_0x25becc[_0x57a9ff(0x1fa)])!=null?_0x20efa7:'unknown',_0xec9c92=(_0x3fe1bf=(_0x4f8bf8=_0x113fc8[_0x57a9ff(0x34e)]())==null?void 0x0:_0x4f8bf8[_0x57a9ff(0x1f8)])!=null?_0x3fe1bf:_0x57a9ff(0x398);return{'changeset':{'unitID':_0xe3c890,'type':_0x4ee17f(_0x1af9e1[_0x57a9ff(0x431)](_0xe3c890)),'baseRev':_0x320759[_0x57a9ff(0x347)](_0xe3c890),'revision':0x0,'userID':_0x4d4f7c,'memberID':_0xec9c92,'mutations':_0x260e61},'pendingMutations':[]};}function Ii(_0x1b9366,_0x4cfb64){var _0x105165=_0x3cfa54;const _0x51262a=new _0x54e177(0x1);return setTimeout(()=>_0x51262a[_0x105165(0x428)](_0x4cfb64),_0x1b9366),_0x51262a[_0x105165(0x2f3)]()['pipe'](_0x4dff42(0x1));}var ks=Object['getOwnPropertyDescriptor'],Se=(_0x2dcaaa,_0x459082,_0x5482aa,_0x2abff7)=>{var _0x44133f=_0x3cfa54;for(var _0x40b8b8=_0x2abff7>0x1?void 0x0:_0x2abff7?ks(_0x459082,_0x5482aa):_0x459082,_0x59b87b=_0x2dcaaa[_0x44133f(0x38a)]-0x1,_0x4c81cf;_0x59b87b>=0x0;_0x59b87b--)(_0x4c81cf=_0x2dcaaa[_0x59b87b])&&(_0x40b8b8=_0x4c81cf(_0x40b8b8)||_0x40b8b8);return _0x40b8b8;},w=(_0x14cd9f,_0x26d713)=>(_0xc87ca7,_0x5b0baa)=>_0x26d713(_0xc87ca7,_0x5b0baa,_0x14cd9f),Si=(_0x465c4a=>(_0x465c4a[_0x3cfa54(0x44e)]=_0x3cfa54(0x496),_0x465c4a[_0x3cfa54(0x403)]=_0x3cfa54(0x3e0),_0x465c4a['PENDING']=_0x3cfa54(0x329),_0x465c4a['AWAITING']='awaiting',_0x465c4a[_0x3cfa54(0x3f2)]=_0x3cfa54(0x265),_0x465c4a[_0x3cfa54(0x4c1)]=_0x3cfa54(0x41c),_0x465c4a[_0x3cfa54(0x273)]=_0x3cfa54(0x387),_0x465c4a[_0x3cfa54(0x456)]='offline',_0x465c4a))(Si||{});const gi=0xea60;function _0x2c71(){var _0x3672aa=['onCommentUpdate','_state','buffer','algo','_map','APPLY_DUPLICATED','unitId\x20is\x20not\x20found','onRemoteRej','_process','enc','onCommandExecuted','symbol','keySize','commentUpdate$','HmacSHA1','_transformService','_invKeySchedule','call','_shouldReportTelemetry','create','_unitInfo$','_transformStack','c1Prime','unsubscribe','_roomMembers','getCurrentSelections','&source=','15646mijGxO','COMPRESS_MUTATION_SEND','ENTITLE_CAN_NOT_BUY_LOWER_OTP','ws://127.0.0.1:8000/universer-api/comb/connect','UNKNOWN_CODE','GLOBAL_ROOMS_CNT_EXCEEDS','Error\x20on\x20receiving\x20event','not_collab','DEFAULT_FILE_NAME','_collaborationPaused','transformChangesets','16tQrtWa','_lockTransition','loginUrlKey','FAIL','duration','USERS_ENTER','_initDependencies','commentUpdateEvent','onRemoteChangeset','string','_revisionService','_tryReconnect','_networkConditionService','_onRemoteChangeset','522476pcuniw','getTypeOfUnitAdded$','_changesetSessionId','status','_state$','ENSURE_SNAPSHOT_EXECUTION','_members','_permissionService','MOBILE_HAS_BEEN_BOUND','_transformUndoredo','Univer','_httpService','forEach','findIndex','PY_RUNTIME_SCRIPT_ERROR','close','_transformRemoteChangesetByIMECache','selections','snapshotServerUrl','startsWith','_doProcessBlock','_clearTimeoutTimer','SNAPSHOT_URL_KEY','_executeRemoteChangeset','resolve','FETCH_MISS','abs','LEAVE','charCodeAt','&to=','_syncEditingCollabCursor','_getAPIPrefixPath','LIVESHARE_NEW_HOST','toggleOffline','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_instanceService','formatter','Undefined','getMember','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','updateCollaborator','actions','localCacheService','UPDATE_PERMISSION_OBJ','onMissingChangesets','StreamCipher','roomInfos','fetching\x20missing\x20changesets\x20from\x20','WordArray','SHA1','/block/','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','body','transformStack\x20failed!','JOIN_ROOM_FULL','__esModule','change$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','stopTime','HEARTBEAT','deepClone','retryConnectingInterval','__Key__','SNAPSHOT_INVALID_SNAPSHOT','addImageSourceCache','_unitID','extend','snapshot','_getRedoStack','_parse','refreshPermission','CURRENT_STATUS_CANNOT_OPERATE','disableLocalCache','state$','_clearScheduledTask','kdf','_undoRedoService','REDEMPTION_CODE_NOT_STARTED','2483360SiuTee','\x0aCurrent:\x20','createDecryptor','LIVESHARE_REQUEST_HOST','_collaborationTimeoutTimer','format','_cipher','LICENSE_MAX_UNITS_EXCEEDED','changesets','saveImage','collaboration-client.local-cache-service','_resendWithTimeout','55956tzjFKm','slice','default','_injector','mutations','disposeWithMe','REDEMPTION_CODE_INACTIVE','univer-pro.collaboration-client.single-active-unit-service','REDEMPTION_INVALID_CODE','_initRequestHeader','getLatestCsReqIdBySid','memberID','_roomCreated$','userID','_candidateSocket','delete','setConfig','location','revision','[PendingState]:\x20received\x20rejection.','PasswordBasedCipher','_exhaustRemoteChangesetQueue','PERMISSION_DENIED','csShouldRetryEvent','_tryEnsureSocket','encodeURIComponent','clamp','_getDownloadEndpointURL','_doCreateSocket','_nDataBytes','onlyLocal','UUID','addHandlerCallback','UserProfileImg','UNIVER_SLIDE','reduce','dispose$','Latin1','[CollaborationSessionService]','reqId','updateOfflineData','_localeService','onLocalMutation','[CollaborationSessionService]:\x20socket\x20error','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVITE_CODE_HAS_BEEN_UES','_undoStacks','updateMember','readInt32LE','_rescheduleHeartbeat','ciphertext','getCollabEntity','Decryptor','onTransformRemoteChangesetByIMECache','sendChangesetTimeout','_updateStatus','CONNECTOR_DATA_TOO_LARGE','_replayCachedMutations','CLOSE_ROOM','floor','_toggleOffline','REDEMPTION_CODE_HAS_BEEN_CREATED','waitForRoom$','defineProperty','ENTITLE_REPORT_LIMIT_EXCEED','_pendingMutations','post','CipherParams','_resendTimeout','AES','subUnitId','updatePermissionPoint','collabWebSocketUrl','eventID','connection\x20error','permissionRejEvent','515043LIYKMz','workbook','mixIn','_onMessage','updateSnapshot','_status$','pipe','_startTelemetryCollaborationNewChangeset','Could\x20not\x20dynamically\x20require\x20\x22','/object/','code','getSheetId','_applyRemoteChangeset','includes','incrementRevOfUnit','liveShareNewHost','online$','getRandomValues','[SyncedState]:\x20received\x20rejection.','apply','_singleActiveUnitService','transformSelections','_checkMissing','textRanges','/allowed','avatar','_prevBlock','getTime','COMPLETION_FINISHED','unitID','OpenSSL','LOGIN_FAILED','encode','requireSession','baseRev','blockSize','_sendHeartbeat','encrypt','887335VAKzMA','/new_changes','routeKey','sheets','UNIVER_SHEET','YUUMI_ALL_TABLES_IS_INVALID','awaiting_with_pending','objects','_showConflictNotification','padding','NOT_FOUND','_updateState','JOIN_ROOM_FAILED','onTransformRemoteChangesetByStateCache','_replaceFileID','objectActions','YUUMI_ASYNCIO_CANCELLED','BlockCipher','roles','emitEvent','CONFLICT','_onRecvEvent','_onUserJoin','WECHAT_HAS_BEEN_BOUND','LOCAL_CACHE_INTERVAL','_waitCount','_doReset','_ENC_XFORM_MODE','_schedule','[CollaborationSession]','/resources','[DataLoaderService]','HELLO','_xformMode','?size=','APPLY_REJECT','_sendHeartbeatTimer','get','_onUserLeave','_socketService','sigBytes','socket\x20open.','_commentService','Failed\x20to\x20update\x20permission\x20point','getValue','REDEMPTION_USER_REDEEM_TIMES_EXCEED','status$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_startCollaboration','_univerInstanceService','JOIN_ROOM_NOT_EXISTS','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getTypeOfUnitDisposed$','_type','LICENSE_EXPORT_SIZE_EXCEEDED','responseType','updatePermissionObjEvent','data','_getCtorByUniverType','shouldCloseConn','map','UNKNOWN_CMD','loadUnit','_memberService','_sender','ERROR_IMAGE','NO_OTHER_CLIENTS_EDITING','leaveEvent','CHANGESET_SHOULD_RETRY','_mode','_getSendChangesetTimeout','_createHandler','uniscriptRunEvent','/-/object/list','ENTITLE_NEED_BILLING_ADDRESS','_awaitingChangeset','put','Hex','_clearUndo','USER_NOT_INVITED_CODE','APPLY_PERMISSION_DENIED','signUrlServerUrl','/object','onSyncEditingCollabCursor','_transitionLocked','INGEST','collaboration_new_changeset','stringify','_collaborationSessionService','function','USER_NOT_FOUND','_doCryptBlock','closeSession','image/gif','now','error$','_snapshotServerService','RETRY_CONNECTING_MAX_COUNT','_incrementRevisionNumber','Cipher','EMAIL_VERIFY_CODE_MISMATCH','enableAuthServer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','__creator','_collabSessionService','title','type','collaboration-client.config','getMemberID','/unit/','BlockCipherMode','joinRsp','href','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaboratorID','ERROR_IMAGE_TYPE','_onRemoteRetry','exports','OTHER_CLIENT_EDITING','_acknowledgedAwaitingChangeset','SOCKET_FAILED','isArray','_key','reconnect','catch','HEARTBEAT_TIMEOUT','_DEC_XFORM_MODE','ERROR_EXCEED_SIZE','_config','_hash','_removeRoom','_telemetryInfo','MD5','[PendingState]:\x20received\x20acknowledgement.','UNIVER_DOC','HttpExport','getCollabEntity$','update','image/bmp','fetchThroughInterceptors','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','image/jpg','NEW_CHANGESETS','sessionStatus','_queuedRemoteChangesets','createInstance','SOCKET_FAILED_RETRY','asObservable','session','ceil','x-univer-host','file','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ClipsheetFragments','getFocusedUnit','transformMutationsWithChangeset','$super','_transformSelections','loadUnitOfRevision','headers','onTransformSelections','_event$','range','_socket','/universer-api/comb','_clearHeartbeatTimer','authzUrl','interceptor','unitId','YUUMI_SUBSCRIPTION_NOT_FOUND','getActiveSheet','JOINING','CHANGESET_ACK','objectType','transformUndoRedo','/role','fetchMissingChangesets','save\x20fail\x20reason\x20is\x20','resend','FETCH_MISSING','_onLocalMutation','members$','clear','JOIN_ROOM_PERMISSION_DENIED','_commandService','sid','_substituteUndoStack','_throwTelemetryCollaborationNewChangeset','_append','executeCommand','cmd','socket$','_resendTimer','HMAC','_entities','RECV','[SyncedState]:\x20received\x20acknowledgement.','setWaitCount','image/png','YUUMI_RATE_OVER_LIMIT','lib','pending','salt','ALREADY_EXISTS','univer-pro.collaboration-client.network-condition.service','UNDEFINED','toString','equals','replace','_getAPIPrefix','send','close$','_decreaseWaiting','_configService','execute','BASE64','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','compute','POST','UnitEmbedded','_minBufferSize','_retryConnectingTimer','35NbeXKx','requestParams','onTransformIME','size','UNIVER_PROJECT','onRemoteAck','YUUMI_CONNECTOR_URL_NOT_FOUND','_onConnectionFailed','_onCombEvent','getCurrentRevOfUnit','_unlockTransition','add','JOIN','has','_keyPriorReset','Pkcs7','getCurrentUser','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNIVER_UNKNOWN','PERMISSION_REJ','_clearRetryConnectingTimer','getSnapshotAPIPath','sessionStatus$','LICENSE_DISTRO_REJECTED','random','name','getInterceptPoints','substr','removeMember','UNRECOGNIZED','INVALID_ARGUMENT','session.join-failed','_getSignURL','People','[UniverCollaborationClientPlugin]','offline','method','withCredentials','randomBytes','init','_data','getUnitStatus$','parse','_telemetryService','_onConflict','localeService','EMAIL_HAS_BEEN_BOUND','origin','crypto','EvpKDF','putCollaborators','getConfig','_updateLocalCache','_clearRedo','encryptBlock','BufferedBlockAlgorithm','[CollaborationUndoRedoService]','reset','_scheduleCollaborationTimeoutTimer','mode','open$','INVITE_CODE_ALREADY_BOUND','createEncryptor','PAYMENT_CHANNEL_NOT_SUPPORT','_joinRoom','_HTTPService','subscribe','_submitChangeset','/universer-api/authz','newCsEvent','_clearLocalCache','src','/fetchmissing?from=','conflict','SNAPSHOT_HAS_BEEN_REMOVED','_onRemoteACK','length','isPermissionRej','override','univer-pro.collaboration-client-socket-service','_socketMessageSubscription','onSendChangeset','_onOffline','saveSheetBlock','HmacMD5','onRemoteRetry','dispose','toggleOnline','subject','NoPadding','unknown','indexOf','_hasher','batchAllowed','_retryCount','SUBMIT_CHANGESET','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Utf8','DATA_SOURCE_TOO_LARGE','_init','prototype','_clearCollaborationTimeoutTimer','LIVESHARE_OPERATION','_fetchMissChangesets','202829cyHfQD','_getCurrentRevision','_sessionStatus$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','createSocket','_listenToNetworkCondition','_iv','max','_commentUpdate$','failed\x20to\x20apply\x20missed\x20changesets!','_scheduleCompleteTimestamp','COMPRESS_MUTATION_APPLY','appendMutation','Base64','_registerDependencies','{fileID}','_initUnitPermissionChange','m2Prime','YUUMI_NO_CUBOID_FOR_QUESTION','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_transformIMECache','Base','readyForCollab','event$','ONLINE','_compressMutationService','SUBMIT_CHANGESET_TIMEOUT','_getLoginPath','/collaborator','_nRounds','list','patch','min','ENTITLE_INSUFFICIENT_QUOTA','enableOfflineEditing','_entityInit$','hostname','CBC','cfg','&assign=','_doFinalize','from','_getUndoStack','setCurrentUser','join','charAt','then','clone','startTime','entries','unpad','_imageSourceCache','_sendingTimer','_logService','objectID','35ATPPYS','debug','finalize','synced','getImage','SUCCUSS','_stopTelemetryCollaborationNewChangeset','?url=','getRoom','6JJzPpE','_collaborationUIEventService','saveChangeset','_initMergeInterceptor','_socketReady','COMMENT_UPDATE','originalMeta','_members$','action','_createHelper','LIVESHARE_FETCH_OPERATIONS','byteLength','AWAITING_WITH_PENDING','_substituteRedoStack','hasher','INTERNAL_ERROR','onTransformState','concat','_handlerCallback','getOwnPropertyDescriptor','_change$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ivSize','REDEMPTION_USER_NOT_ELIGIBLE','USERS_LEAVE','filter','_sessions','APPLY_REVISION_CONFILICT','/-/object/-/batch_allowed','SYNCED','key','_initCloseConn','setShowComponents','MUTATION','_onConnectionOpen','[CollaborationEntity]','_reverseMap','_changesetReqId','params','_sheetTransformSelectionsService','/universer-api/oidc/authpage','getDeserializedSheetBlock','_socket$','session.room-full','uploadFileServerUrl','YUUMI_AI_RUN_FAILED','CHANGESET_REJ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','splice','_onJoinRoomEvent','members','PSEUDO_FETCH_MISSING_RESULT','UPDATE_CURSOR','_getUploadFileURL','fetch_missing','ERROR_AGAIN','csRejEvent','error','_onRemoteRejected','PERSON','listRoles','createCollaborator','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ENTITLE_DUP_SUBSCRIPTION','push','_disableEditing','next','getUnitId','session.room-permission-denied','hasOwnProperty','registerHTTPInterceptor','_remoteChangesetQueue','_timeoutTimer','rev','socketService','getUnitType','AUTHORIZE_CODE_ILLEGAL','complete','_handler','OTHER_CLIENTS_EDITING','_userManagerService','[OfflineState]:\x20received\x20acknowledgement.','_createHmacHelper','reject','_snapshotService','_onFetchMissResult','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_transformStateCache','UNIVER_COLLABORATION_CLIENT_PLUGIN','UnitSnapshot','onMissedChangesetFetched','USER_IS_ANONYMOUS','_localCacheService','/universer-api/uniscript','UNAUTHENTICATED','c2Prime','_createInitialStateImpl','INVALID_INVITE_CODE','deleteCollaborator','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','loadOfflineData','FileId','socket\x20close','decryptBlock','NOT_COLLAB','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','IDLE','Malformed\x20UTF-8\x20data','_transformRemoteChangesetByStateCache','_eventService','session.room-cnt-exceeds','message$','OFFLINE','pad','[OfflineState]:\x20received\x20rejection.','YUUMI_URL_COL_OUT_OF_RANGE','\x20-\x20','Hasher','180fhcZlY','saveSnapshot','_createInitialState','enableCollaboration','liveShareOperation','LIVESHARE_TERMINATE','Encryptor','words','set','HttpImport','_createSocket','ENTITLE_CHAT_LIMIT_EXCEED','awaitingChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationState]:\x20apply\x20error!','joinEvent','\x20in\x20_schedule.','HEARTBEAT_INTERVAL','getResourcesRequest','LOGIN_TOKEN_PROCESSING_FAILED','entityInit$','getUnit','msCrypto'];_0x2c71=function(){return _0x3672aa;};return _0x2c71();}class ge{constructor(_0x222712,_0x2adbc9,_0x5389fe,_0x9c912a,_0x47c837,_0x4da1e4,_0xe8eb5e,_0x3246a6,_0x31c5c8){var _0x251e64=_0x3cfa54;D(this,_0x251e64(0x2aa),null),D(this,_0x251e64(0x22e),[]),(this[_0x251e64(0x256)]=_0x222712,this[_0x251e64(0x2c9)]=_0x2adbc9,this['_handler']=_0x47c837,this[_0x251e64(0x318)]=_0x4da1e4,this[_0x251e64(0x1df)]=_0xe8eb5e,this[_0x251e64(0x4a4)]=_0x3246a6,this['_localCacheService']=_0x31c5c8,this[_0x251e64(0x2aa)]=_0x5389fe,this[_0x251e64(0x22e)]=_0x9c912a);}['_checkMissing'](_0x11d2fc){var _0x4f3ca0=_0x3cfa54;const _0x5f58a4=this[_0x4f3ca0(0x4a4)][_0x4f3ca0(0x347)](this[_0x4f3ca0(0x256)]);return _0x11d2fc[_0x4f3ca0(0x1ff)]>_0x5f58a4+0x1?(this[_0x4f3ca0(0x434)]['onMissingChangesets']({'from':_0x5f58a4,'to':_0x11d2fc[_0x4f3ca0(0x1ff)]-0x1}),!0x0):!0x1;}[_0x3cfa54(0x4b1)](_0x18bc64){var _0x192f20=_0x3cfa54;this[_0x192f20(0x1df)][_0x192f20(0x30e)](this[_0x192f20(0x256)],_0x18bc64);}[_0x3cfa54(0x2fd)](_0x261328){var _0x3ca586=_0x3cfa54,_0x5b0162,_0x4e4541;(_0x4e4541=(_0x5b0162=this[_0x3ca586(0x434)])[_0x3ca586(0x300)])==null||_0x4e4541[_0x3ca586(0x485)](_0x5b0162,_0x261328);}[_0x3cfa54(0x3ba)](_0x9b24f7){var _0x3b1663=_0x3cfa54,_0xe27e4c,_0x57df07;return(_0x57df07=(_0xe27e4c=this[_0x3b1663(0x434)])[_0x3b1663(0x340)])==null?void 0x0:_0x57df07[_0x3b1663(0x485)](_0xe27e4c,_0x9b24f7);}[_0x3cfa54(0x43d)](_0x3bceda){var _0x5dad89=_0x3cfa54,_0x3b412c,_0x417258;return(_0x417258=(_0x3b412c=this[_0x5dad89(0x434)])[_0x5dad89(0x3f6)])==null?void 0x0:_0x417258[_0x5dad89(0x485)](_0x3b412c,_0x3bceda);}['_transformRemoteChangesetByIMECache'](_0xc604db){var _0x4b7327=_0x3cfa54,_0x34fc08,_0x408d25,_0x391f68;return(_0x391f68=(_0x408d25=(_0x34fc08=this['_handler'])[_0x4b7327(0x222)])==null?void 0x0:_0x408d25['call'](_0x34fc08,_0xc604db))!=null?_0x391f68:_0xc604db;}[_0x3cfa54(0x452)](_0x572861){var _0xd7807d=_0x3cfa54,_0x56dbd5,_0x483580,_0x46396e;return(_0x46396e=(_0x483580=(_0x56dbd5=this['_handler'])[_0xd7807d(0x26c)])==null?void 0x0:_0x483580[_0xd7807d(0x485)](_0x56dbd5,_0x572861))!=null?_0x46396e:_0x572861;}[_0x3cfa54(0x4c6)](_0x5f43d1){var _0x171301=_0x3cfa54,_0x55cd0d,_0x39aab1;if(this[_0x171301(0x2c9)]===Q[_0x171301(0x2e5)]){const {unitID:_0x6d289d,mutations:_0x2ae05b,memberID:_0x3c3353}=_0x5f43d1,_0x566ff7=_0x2ae05b['length']>0x0?_0x2ae05b[0x0][_0x171301(0x40c)][_0x171301(0x250)]:[];Array['isArray'](_0x566ff7)&&_0x566ff7[_0x171301(0x38a)]>0x0&&((_0x39aab1=(_0x55cd0d=this[_0x171301(0x434)])[_0x171301(0x2b2)])==null||_0x39aab1[_0x171301(0x485)](_0x55cd0d,{'unitID':_0x6d289d,'memberID':_0x3c3353,'textRanges':_0x566ff7}));}}[_0x3cfa54(0x372)](){var _0xc525ca=_0x3cfa54,_0x563507;(_0x563507=this[_0xc525ca(0x442)])==null||_0x563507[_0xc525ca(0x215)](this['unitID'],this[_0xc525ca(0x2c9)],this[_0xc525ca(0x2aa)],this[_0xc525ca(0x22e)]);}[_0x3cfa54(0x3a7)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0xf856d2=_0x3cfa54;this[_0xf856d2(0x4a4)][_0xf856d2(0x247)](this[_0xf856d2(0x256)]);}['_executeRemoteChangeset'](_0x1d9ccb){var _0x334de2=_0x3cfa54,_0x4630af;let _0x4f0ffe=this[_0x334de2(0x4b8)](_0x1d9ccb);_0x4f0ffe=this[_0x334de2(0x452)](_0x4f0ffe);const _0x158385=_0x360fa3(_0x4f0ffe['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x158385['result'])throw _0x158385['error']instanceof Error?_0x158385[_0x334de2(0x41f)]:new Error((_0x4630af=_0x158385[_0x334de2(0x41f)])!=null?_0x4630af:_0x334de2(0x46b));this['_transformIMECache'](_0x4f0ffe),this[_0x334de2(0x43d)](_0x4f0ffe),this[_0x334de2(0x4b1)](_0x1d9ccb),this[_0x334de2(0x2fd)](_0x4f0ffe),this[_0x334de2(0x4c6)](_0x4f0ffe),this[_0x334de2(0x2c1)]();}}let be=class extends ge{constructor(_0x424940,_0x17afb9,_0x5c9dab,_0x5c2b37,_0x975162,_0x3c02ff,_0xa28721,_0x4216a9,_0x42985e,_0x34cc4d){var _0x5ba13f=_0x3cfa54;super(_0x424940,_0x17afb9,null,[],_0x5c9dab,_0xa28721,_0x3c02ff,_0x5c2b37,_0x34cc4d),D(this,_0x5ba13f(0x4ab),'synced'),(this[_0x5ba13f(0x1f0)]=_0x975162,this[_0x5ba13f(0x3db)]=_0x4216a9,this['_transformService']=_0x42985e,this[_0x5ba13f(0x4d2)]=_0x34cc4d);}['appendMutation'](_0x5c4b8e){var _0x51f047=_0x3cfa54;const _0x10271c=this[_0x51f047(0x1f0)][_0x51f047(0x2f1)](ae,this[_0x51f047(0x256)],this[_0x51f047(0x2c9)],[_0x5c4b8e],this[_0x51f047(0x434)]);return _0x10271c[_0x51f047(0x27b)](),_0x10271c[_0x51f047(0x372)](),_0x10271c;}['onRemoteChangeset'](_0x3a2695){var _0x231758=_0x3cfa54;if(this[_0x231758(0x24f)](_0x3a2695))return this['_injector']['createInstance'](ee,this[_0x231758(0x256)],this[_0x231758(0x2c9)],null,[],null,[_0x3a2695],this['_handler']);try{const _0x2c7a7c=this[_0x231758(0x483)][_0x231758(0x2fb)](_0x3a2695,[_0x5d4288]);if(_0xc171cd(_0x2c7a7c)){const {c1Prime:_0xe88722}=_0x2c7a7c;return this[_0x231758(0x4bf)](_0xe88722),this;}throw _0x2c7a7c[_0x231758(0x41f)];}catch(_0x3bff85){return this[_0x231758(0x3db)][_0x231758(0x41f)](_0x3bff85),this[_0x231758(0x36a)](!0x1);}}[_0x3cfa54(0x36a)](_0x2df656){var _0x4ed4bc=_0x3cfa54;return this['_injector'][_0x4ed4bc(0x2f1)](ue,this['unitID'],this['type'],null,[],this[_0x4ed4bc(0x434)],_0x2df656);}[_0x3cfa54(0x343)](){var _0x58d758=_0x3cfa54;throw new Error(_0x58d758(0x324));}[_0x3cfa54(0x47b)](){var _0x40d1b3=_0x3cfa54;throw new Error(_0x40d1b3(0x24b));}[_0x3cfa54(0x393)](){return this;}[_0x3cfa54(0x4c9)](){var _0x48572f=_0x3cfa54;return this['_injector'][_0x48572f(0x2f1)](de,this[_0x48572f(0x256)],this[_0x48572f(0x2c9)],null,[],this['_handler']);}[_0x3cfa54(0x395)](){return this;}[_0x3cfa54(0x312)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x3395e8=_0x3cfa54;const _0x105c2b=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3395e8(0x256)]);return this['_handler'][_0x3395e8(0x4d4)]({'from':_0x105c2b,'to':0x0}),this['_injector']['createInstance'](ee,this[_0x3395e8(0x256)],this[_0x3395e8(0x2c9)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x179adb(_0x194012)),w(0x4,_0x179adb(_0x3be7b0)),w(0x5,_0x226259),w(0x6,_0x3ff774),w(0x7,_0x21ac0b),w(0x8,_0x2b16ef),w(0x9,_0x26c487(J))],be);let ae=class extends ge{constructor(_0x45b1e6,_0x300d9f,_0x345e27,_0x334dd3,_0x5d1171,_0x18008f,_0x401239,_0x335889,_0x4e6aa0,_0x3d2600,_0x26294a,_0x4c3004,_0x43c413,_0x20b81c){var _0x1c94db=_0x3cfa54;super(_0x45b1e6,_0x300d9f,null,_0x345e27,_0x334dd3,_0x4e6aa0,_0x43c413,_0x18008f,_0x20b81c),D(this,'status','pending'),D(this,_0x1c94db(0x3b0),null),D(this,_0x1c94db(0x3da),null),(this[_0x1c94db(0x1f0)]=_0x5d1171,this[_0x1c94db(0x29e)]=_0x401239,this['_logService']=_0x335889,this[_0x1c94db(0x335)]=_0x3d2600,this[_0x1c94db(0x483)]=_0x26294a,this['_univerInstanceService']=_0x4c3004);}[_0x3cfa54(0x3b2)](_0x98ddf0){var _0x2ed6fb=_0x3cfa54;return this[_0x2ed6fb(0x22e)][_0x2ed6fb(0x426)](_0x98ddf0),this[_0x2ed6fb(0x372)](),this;}[_0x3cfa54(0x4a2)](_0x15ce82){var _0x460f3a=_0x3cfa54;if(this[_0x460f3a(0x24f)](_0x15ce82))return this[_0x460f3a(0x1dd)](),this['_injector'][_0x460f3a(0x2f1)](ee,this[_0x460f3a(0x256)],this[_0x460f3a(0x2c9)],null,this[_0x460f3a(0x22e)],null,[_0x15ce82],this[_0x460f3a(0x434)]);try{const _0x1d3f6e=this[_0x460f3a(0x483)][_0x460f3a(0x2fb)](_0x15ce82,this[_0x460f3a(0x22e)]);if(_0xc171cd(_0x1d3f6e)){const {c1Prime:_0x11f8d8,m2Prime:_0x80a532}=_0x1d3f6e;this['_executeRemoteChangeset'](_0x11f8d8);const _0x38a5d7=this[_0x460f3a(0x1f0)][_0x460f3a(0x2f1)](ae,this[_0x460f3a(0x256)],this[_0x460f3a(0x2c9)],_0x80a532,this['_handler']);this[_0x460f3a(0x1dd)]();const _0x2f5f86=new Date()[_0x460f3a(0x254)](),_0x146816=this['_scheduleCompleteTimestamp']?Math[_0x460f3a(0x3ad)](this[_0x460f3a(0x3b0)]-_0x2f5f86,0x0):this[_0x460f3a(0x2a5)]();return _0x38a5d7[_0x460f3a(0x27b)](_0x146816),_0x38a5d7;}throw _0x1d3f6e[_0x460f3a(0x41f)];}catch(_0x5bf1dd){return this[_0x460f3a(0x3db)][_0x460f3a(0x41f)](_0x5bf1dd),this['_onConflict'](!0x1);}}[_0x3cfa54(0x343)](){var _0x3412fe=_0x3cfa54;throw new Error(_0x3412fe(0x2e4));}[_0x3cfa54(0x47b)](){var _0x524f7e=_0x3cfa54;throw new Error(_0x524f7e(0x200));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2ed462=_0x3cfa54;return this[_0x2ed462(0x1dd)](),this[_0x2ed462(0x1f0)][_0x2ed462(0x2f1)](de,this['unitID'],this[_0x2ed462(0x2c9)],null,this[_0x2ed462(0x22e)],this[_0x2ed462(0x434)]);}['toggleOnline'](){return this;}[_0x3cfa54(0x27b)](_0x23fb83){var _0x170dd4=_0x3cfa54;const _0x2d1411=_0x23fb83!=null?_0x23fb83:this[_0x170dd4(0x2a5)]();this[_0x170dd4(0x3b0)]=new Date()[_0x170dd4(0x254)]()+_0x2d1411,this[_0x170dd4(0x3da)]=setTimeout(()=>{var _0x138b80=_0x170dd4;this['_clearScheduledTask']();let _0x39062e=null;switch(this[_0x138b80(0x2c9)]){case Q[_0x138b80(0x263)]:{_0x39062e=Vt(this[_0x138b80(0x22e)],this[_0x138b80(0x256)],this[_0x138b80(0x290)],this[_0x138b80(0x4a4)],this[_0x138b80(0x29e)]);break;}case Q[_0x138b80(0x2e5)]:{this['_pendingMutations']['every'](_0x261cfd=>_0x261cfd['id']===_0x5be30c['id'])?_0x39062e=$s(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x138b80(0x4a4)],this[_0x138b80(0x29e)]):_0x39062e=Vt(this[_0x138b80(0x22e)],this[_0x138b80(0x256)],this[_0x138b80(0x290)],this['_revisionService'],this[_0x138b80(0x29e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x138b80(0x2c9)]+_0x138b80(0x46d));}const {changeset:_0x2b8cd5,pendingMutations:_0x5d0a6d}=_0x39062e;this[_0x138b80(0x434)][_0x138b80(0x38f)](_0x2b8cd5);const _0x27630a=_0x5d0a6d['length']?this[_0x138b80(0x1f0)][_0x138b80(0x2f1)](oe,this['unitID'],this['type'],_0x2b8cd5,_0x5d0a6d,this[_0x138b80(0x434)],void 0x0):this[_0x138b80(0x1f0)][_0x138b80(0x2f1)](le,this[_0x138b80(0x256)],this[_0x138b80(0x2c9)],_0x2b8cd5,this[_0x138b80(0x434)]);_0x27630a[_0x138b80(0x372)](),this[_0x138b80(0x434)]['onStateChange'](this,_0x27630a);},_0x2d1411);}[_0x3cfa54(0x2a5)](){var _0x4df921=_0x3cfa54,_0x2ecdb3;const _0x5f827d=this[_0x4df921(0x335)]['getConfig'](K);return(_0x2ecdb3=_0x5f827d==null?void 0x0:_0x5f827d[_0x4df921(0x223)])!=null?_0x2ecdb3:ps;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x1abc74=_0x3cfa54;this[_0x1abc74(0x3da)]!=null&&(clearTimeout(this[_0x1abc74(0x3da)]),this['_sendingTimer']=null);}[_0x3cfa54(0x36a)](_0x1d7826){var _0x154c68=_0x3cfa54;return this[_0x154c68(0x1dd)](),this[_0x154c68(0x1f0)][_0x154c68(0x2f1)](ue,this[_0x154c68(0x256)],this[_0x154c68(0x2c9)],null,this[_0x154c68(0x22e)],this['_handler'],_0x1d7826);}};ae=Se([w(0x4,_0x179adb(_0x3be7b0)),w(0x5,_0x179adb(_0x194012)),w(0x6,_0x179adb(Pe)),w(0x7,_0x21ac0b),w(0x8,_0x3ff774),w(0x9,_0x9c29af),w(0xa,_0x2b16ef),w(0xb,_0x2cb753),w(0xc,_0x226259),w(0xd,_0x26c487(J))],ae);let le=class extends ge{constructor(_0x38018a,_0xdf9f1,_0x52eb36,_0x2cc364,_0x484f36,_0x51e070,_0x5c8bb4,_0x4a0216,_0x36faf7,_0xee740f,_0xad00f5){var _0x5d2440=_0x3cfa54;super(_0x38018a,_0xdf9f1,_0x52eb36,[],_0x2cc364,_0x5c8bb4,_0xee740f,_0x51e070,_0xad00f5),D(this,_0x5d2440(0x4ab),'awaiting'),D(this,_0x5d2440(0x231),0x0),D(this,_0x5d2440(0x320)),D(this,_0x5d2440(0x29f)),(this[_0x5d2440(0x1f0)]=_0x484f36,this[_0x5d2440(0x3db)]=_0x4a0216,this[_0x5d2440(0x483)]=_0x36faf7);}['appendMutation'](_0x116c9c){var _0x28c28d=_0x3cfa54;this['_clearScheduledTask']();const _0x4feb06=this[_0x28c28d(0x1f0)][_0x28c28d(0x2f1)](oe,this[_0x28c28d(0x256)],this[_0x28c28d(0x2c9)],this['_awaitingChangeset'],[_0x116c9c],this['_handler'],this[_0x28c28d(0x320)]);return _0x4feb06[_0x28c28d(0x372)](),_0x4feb06;}['onRemoteChangeset'](_0x162d18){var _0x171a20=_0x3cfa54;if(this[_0x171a20(0x24f)](_0x162d18))return this[_0x171a20(0x1dd)](),this[_0x171a20(0x1f0)][_0x171a20(0x2f1)](ee,this[_0x171a20(0x256)],this[_0x171a20(0x2c9)],this[_0x171a20(0x2aa)],[],null,[_0x162d18],this[_0x171a20(0x434)]);try{const _0x265253=this[_0x171a20(0x483)][_0x171a20(0x499)]([_0x162d18],[this[_0x171a20(0x2aa)]],!0x1);if(_0x1b6cd0(_0x265253)){const {c1Prime:_0x15eae4,c2Prime:_0x4d02e6}=_0x265253;this[_0x171a20(0x4bf)](_0x15eae4[0x0]),_0x4d02e6[0x0][_0x171a20(0x25b)]=this[_0x171a20(0x3a7)](),this[_0x171a20(0x1dd)]();const _0x482fad=this['_injector'][_0x171a20(0x2f1)](le,this[_0x171a20(0x256)],this[_0x171a20(0x2c9)],_0x4d02e6[0x0],this['_handler']);return _0x482fad[_0x171a20(0x372)](),_0x482fad;}return this[_0x171a20(0x36a)](!0x1);}catch(_0x40ee0d){return this[_0x171a20(0x3db)][_0x171a20(0x41f)](_0x40ee0d),this[_0x171a20(0x36a)](!0x1);}}[_0x3cfa54(0x343)](_0x128bd2){var _0x503268=_0x3cfa54;this[_0x503268(0x1dd)]();const _0x41162c=this['_revisionService']['getCurrentRevOfUnit'](this[_0x503268(0x256)]);if(_0x128bd2[_0x503268(0x1ff)]<_0x41162c-0x1)return this;if(this[_0x503268(0x24f)](_0x128bd2))return this[_0x503268(0x1f0)]['createInstance'](ee,this['unitID'],this[_0x503268(0x2c9)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x503268(0x2c1)]();const _0x2d4102=this[_0x503268(0x1f0)]['createInstance'](be,this[_0x503268(0x256)],this[_0x503268(0x2c9)],this[_0x503268(0x434)]);return _0x2d4102[_0x503268(0x372)](),_0x2d4102;}['onRemoteRej'](_0x5de8b6){var _0x2c0e6d=_0x3cfa54;return this[_0x2c0e6d(0x36a)](!!(_0x5de8b6!=null&&_0x5de8b6[_0x2c0e6d(0x38b)]));}[_0x3cfa54(0x393)](_0xf59247){var _0x37f5ef=_0x3cfa54;return this[_0x37f5ef(0x231)]>gi?this[_0x37f5ef(0x4c9)]():(this['_resendTimer']=Ii(this['_resendTimeout'],{'timeout':this[_0x37f5ef(0x231)],'reqId':_0xf59247[_0x37f5ef(0x214)]}),this[_0x37f5ef(0x29f)]=this[_0x37f5ef(0x320)][_0x37f5ef(0x380)](({reqId:_0x41d377,timeout:_0x181664})=>{this['_resendWithTimeout'](_0x41d377,_0x181664);}),this);}[_0x3cfa54(0x4c9)](){var _0xfceb0b=_0x3cfa54;return this[_0xfceb0b(0x1dd)](),this[_0xfceb0b(0x1f0)][_0xfceb0b(0x2f1)](de,this[_0xfceb0b(0x256)],this['type'],this[_0xfceb0b(0x2aa)],[],this[_0xfceb0b(0x434)]);}[_0x3cfa54(0x395)](){return this;}[_0x3cfa54(0x312)](){var _0x7ade0b=_0x3cfa54;this[_0x7ade0b(0x434)][_0x7ade0b(0x38f)](this[_0x7ade0b(0x2aa)]);}[_0x3cfa54(0x36a)](_0xfe8ba6){var _0x259484=_0x3cfa54;return this[_0x259484(0x1dd)](),this[_0x259484(0x1f0)][_0x259484(0x2f1)](ue,this[_0x259484(0x256)],this[_0x259484(0x2c9)],this[_0x259484(0x2aa)],[],this['_handler'],_0xfe8ba6);}[_0x3cfa54(0x1ec)](_0x3a930e,_0x1411b6){var _0x3d83d2;_0x3a930e===((_0x3d83d2=this['_awaitingChangeset'])==null?void 0x0:_0x3d83d2['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x1411b6===0x0?0x3e8:_0x1411b6*0x2);}['_clearScheduledTask'](){var _0x23c6f0=_0x3cfa54,_0x22c2fa;(_0x22c2fa=this[_0x23c6f0(0x29f)])==null||_0x22c2fa[_0x23c6f0(0x48b)](),this[_0x23c6f0(0x231)]=0x0;}};le=Se([w(0x4,_0x179adb(_0x3be7b0)),w(0x5,_0x179adb(_0x194012)),w(0x6,_0x3ff774),w(0x7,_0x21ac0b),w(0x8,_0x2b16ef),w(0x9,_0x226259),w(0xa,_0x26c487(J))],le);let oe=class extends ge{constructor(_0x270944,_0x25cf5a,_0x44c35e,_0x5b3a0d,_0x156280,_0x1bc709,_0x362a50,_0x2e3c0d,_0xa4c0b6,_0x5b9a45,_0x1fb3e8,_0x346e69,_0x25c46d){var _0x52a034=_0x3cfa54;super(_0x270944,_0x25cf5a,_0x44c35e,_0x5b3a0d,_0x156280,_0xa4c0b6,_0x346e69,_0x2e3c0d,_0x25c46d),D(this,_0x52a034(0x4ab),_0x52a034(0x265)),D(this,_0x52a034(0x231),0x0),D(this,_0x52a034(0x320)),D(this,_0x52a034(0x29f)),(this[_0x52a034(0x1f0)]=_0x362a50,this[_0x52a034(0x3db)]=_0x5b9a45,this['_transformService']=_0x1fb3e8,this[_0x52a034(0x4d2)]=_0x25c46d,_0x1bc709&&(this[_0x52a034(0x320)]=_0x1bc709,this[_0x52a034(0x29f)]=this[_0x52a034(0x320)]['subscribe'](({reqId:_0x1b3101,timeout:_0x1c6e57})=>{var _0x1dae63=_0x52a034;this[_0x1dae63(0x1ec)](_0x1b3101,_0x1c6e57);})));}[_0x3cfa54(0x3b2)](_0x14b1ca){var _0x28ac85=_0x3cfa54;return this[_0x28ac85(0x22e)]['push'](_0x14b1ca),this;}[_0x3cfa54(0x4a2)](_0x1c8c22){var _0x3710b5=_0x3cfa54;if(this[_0x3710b5(0x24f)](_0x1c8c22))return this[_0x3710b5(0x1dd)](),this[_0x3710b5(0x1f0)]['createInstance'](ee,this[_0x3710b5(0x256)],this[_0x3710b5(0x2c9)],this[_0x3710b5(0x2aa)],this[_0x3710b5(0x22e)],null,[_0x1c8c22],this[_0x3710b5(0x434)]);try{const _0x3a9846=this[_0x3710b5(0x483)][_0x3710b5(0x499)]([_0x1c8c22],[this['_awaitingChangeset']],!0x1);if(_0x1b6cd0(_0x3a9846)){const {c1Prime:_0x416191,c2Prime:_0x1d43b9}=_0x3a9846,_0x5b0ec3=this[_0x3710b5(0x483)][_0x3710b5(0x2fb)](_0x416191[0x0],this['_pendingMutations']);if(_0xc171cd(_0x5b0ec3)){const {c1Prime:_0x44fe2e,m2Prime:_0x2ca245}=_0x5b0ec3;return this[_0x3710b5(0x4bf)](_0x44fe2e),_0x1d43b9[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this['_injector']['createInstance'](oe,this['unitID'],this[_0x3710b5(0x2c9)],_0x1d43b9[0x0],_0x2ca245,this[_0x3710b5(0x434)],void 0x0);}throw _0x5b0ec3[_0x3710b5(0x41f)];}throw _0x3a9846[_0x3710b5(0x41f)];}catch(_0x44693b){return this['_logService'][_0x3710b5(0x41f)](_0x44693b),this[_0x3710b5(0x36a)](!0x1);}}[_0x3cfa54(0x343)](_0x283de2){var _0x4fda5f=_0x3cfa54;if(this['_clearScheduledTask'](),this[_0x4fda5f(0x24f)](_0x283de2))return this[_0x4fda5f(0x1f0)][_0x4fda5f(0x2f1)](ee,this['unitID'],this[_0x4fda5f(0x2c9)],null,this[_0x4fda5f(0x22e)],this[_0x4fda5f(0x2aa)],[],this[_0x4fda5f(0x434)]);this[_0x4fda5f(0x2c1)]();const _0x42702e=this[_0x4fda5f(0x1f0)][_0x4fda5f(0x2f1)](ae,this[_0x4fda5f(0x256)],this[_0x4fda5f(0x2c9)],this['_pendingMutations'],this['_handler']);return _0x42702e[_0x4fda5f(0x27b)](),_0x42702e['_updateLocalCache'](),_0x42702e;}['onRemoteRej'](_0x12eb1c){var _0x36a0ad=_0x3cfa54;return this[_0x36a0ad(0x36a)](!!(_0x12eb1c!=null&&_0x12eb1c[_0x36a0ad(0x38b)]));}[_0x3cfa54(0x393)](_0x346e96){var _0x67b36a=_0x3cfa54;return this[_0x67b36a(0x231)]>gi?this[_0x67b36a(0x4c9)]():(this[_0x67b36a(0x320)]=Ii(this[_0x67b36a(0x231)],{'timeout':this['_resendTimeout'],'reqId':_0x346e96[_0x67b36a(0x214)]}),this[_0x67b36a(0x29f)]=this[_0x67b36a(0x320)][_0x67b36a(0x380)](({reqId:_0x22736e,timeout:_0x3612cb})=>{var _0x2d90e0=_0x67b36a;this[_0x2d90e0(0x1ec)](_0x22736e,_0x3612cb);}),this);}['toggleOffline'](){var _0x1c721f=_0x3cfa54;return this[_0x1c721f(0x1dd)](),this[_0x1c721f(0x1f0)]['createInstance'](de,this[_0x1c721f(0x256)],this[_0x1c721f(0x2c9)],this[_0x1c721f(0x2aa)],this[_0x1c721f(0x22e)],this[_0x1c721f(0x434)]);}['toggleOnline'](){return this;}[_0x3cfa54(0x312)](){var _0x379519=_0x3cfa54;this[_0x379519(0x434)][_0x379519(0x38f)](this['_awaitingChangeset']);}[_0x3cfa54(0x36a)](_0x1cb834){var _0x3ac8bd=_0x3cfa54;return this[_0x3ac8bd(0x1dd)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x3ac8bd(0x2c9)],null,this['_pendingMutations'],this[_0x3ac8bd(0x434)],_0x1cb834);}[_0x3cfa54(0x1ec)](_0x5ebf83,_0x2583ad){var _0x1b3b50=_0x3cfa54,_0x30f97a;_0x5ebf83===((_0x30f97a=this['_awaitingChangeset'])==null?void 0x0:_0x30f97a['reqId'])&&(this[_0x1b3b50(0x312)](),this[_0x1b3b50(0x231)]=_0x2583ad===0x0?0x3e8:_0x2583ad*0x2);}[_0x3cfa54(0x1dd)](){var _0x492f17=_0x3cfa54,_0x27beaf;(_0x27beaf=this[_0x492f17(0x29f)])==null||_0x27beaf[_0x492f17(0x48b)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x179adb(_0x3be7b0)),w(0x7,_0x179adb(_0x194012)),w(0x8,_0x3ff774),w(0x9,_0x21ac0b),w(0xa,_0x2b16ef),w(0xb,_0x226259),w(0xc,_0x26c487(J))],oe);let ue=class extends ge{constructor(_0x33b32e,_0xaa4399,_0xba4de4,_0x5e945e,_0x5bdb07,_0x78cafa=!0x1,_0x22b0f1,_0x43eda3,_0x21404a,_0x146a73,_0x1b64dc,_0x2afa9a,_0x5bf816){var _0x580970=_0x3cfa54;super(_0x33b32e,_0xaa4399,_0xba4de4,_0x5e945e,_0x5bdb07,_0x43eda3,_0x21404a,_0x146a73,_0x5bf816),D(this,_0x580970(0x4ab),_0x580970(0x387)),(this['_isPermissionRej']=_0x78cafa,this[_0x580970(0x4af)]=_0x22b0f1,this[_0x580970(0x216)]=_0x1b64dc,this[_0x580970(0x3e7)]=_0x2afa9a,this['localCacheService']=_0x5bf816,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x580970(0x427)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x3cfa54(0x47b)](){return this;}[_0x3cfa54(0x393)](){return this;}[_0x3cfa54(0x4c9)](){return this;}[_0x3cfa54(0x395)](){return this;}[_0x3cfa54(0x312)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3cfa54(0x384)](){var _0x5278f9=_0x3cfa54,_0x13cb2f;(_0x13cb2f=this['_localCacheService'])==null||_0x13cb2f[_0x5278f9(0x215)](this[_0x5278f9(0x256)],this[_0x5278f9(0x2c9)],null,[]);}[_0x3cfa54(0x267)](){var _0x27764c=_0x3cfa54;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x27764c(0x272)]({'id':re[_0x27764c(0x203)]}):this[_0x27764c(0x3e7)][_0x27764c(0x272)]({'id':re[_0x27764c(0x273)]});}['_disableEditing'](){var _0x5314b6=_0x3cfa54;this[_0x5314b6(0x4af)][_0x5314b6(0x234)](new _0x1b4ced(this[_0x5314b6(0x256)])['id'],!0x1);}};ue=Se([w(0x6,_0x179adb(_0x362060)),w(0x7,_0x3ff774),w(0x8,_0x226259),w(0x9,_0x179adb(_0x194012)),w(0xa,_0x179adb(_0x211543)),w(0xb,_0x179adb(ve)),w(0xc,_0x26c487(J))],ue);let de=class extends ge{constructor(_0x43c2da,_0x5b9a75,_0x5c6745,_0x2f2299,_0x20e87a,_0x21f2d4,_0xe79d43,_0x6a5fe8,_0x1bf0d0,_0x3686cd){var _0x58386a=_0x3cfa54;super(_0x43c2da,_0x5b9a75,_0x5c6745,_0x2f2299,_0x20e87a,_0x6a5fe8,_0x1bf0d0,_0xe79d43,_0x3686cd),D(this,'status',_0x58386a(0x361)),this[_0x58386a(0x1f0)]=_0x21f2d4;}[_0x3cfa54(0x3b2)](_0x44f885){var _0x3c73d8=_0x3cfa54;return this[_0x3c73d8(0x22e)][_0x3c73d8(0x426)](_0x44f885),this['_updateLocalCache'](),this;}[_0x3cfa54(0x4a2)](_0x39f762){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0xcac886=_0x3cfa54;throw new Error(_0xcac886(0x437));}[_0x3cfa54(0x47b)](){var _0xedfb2d=_0x3cfa54;throw new Error(_0xedfb2d(0x458));}[_0x3cfa54(0x393)](){return this;}['toggleOffline'](){return this;}[_0x3cfa54(0x395)](){var _0x363e0f=_0x3cfa54;const {_injector:_0x3c5b56,_pendingMutations:_0x212ede,_awaitingChangeset:_0x210b01,unitID:_0x4ed709,_handler:_0x51e500,type:_0x3d112c}=this,_0x1f7975=Ti(_0x3c5b56,_0x4ed709,_0x3d112c,_0x210b01,_0x212ede,_0x51e500);return _0x1f7975 instanceof ae?_0x1f7975[_0x363e0f(0x27b)]():(_0x1f7975 instanceof oe||_0x1f7975 instanceof le)&&_0x1f7975[_0x363e0f(0x312)](),_0x1f7975;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x179adb(_0x3be7b0)),w(0x6,_0x179adb(_0x194012)),w(0x7,_0x3ff774),w(0x8,_0x226259),w(0x9,_0x26c487(J))],de);let ee=class extends ge{constructor(_0x5ebab5,_0x366600,_0x5a1879,_0x3b2872,_0x1d5dca,_0xbffaa9,_0x2cd6ad,_0x390922,_0x19983e,_0x476ab6,_0x38d0ae,_0x567db1,_0x233238,_0x35880a){var _0x4067fa=_0x3cfa54;super(_0x5ebab5,_0x366600,_0x5a1879,_0x3b2872,_0x2cd6ad,_0x38d0ae,_0x567db1,_0x19983e,_0x35880a),D(this,_0x4067fa(0x4ab),_0x4067fa(0x41c)),(this['_acknowledgedAwaitingChangeset']=_0x1d5dca,this[_0x4067fa(0x2f0)]=_0xbffaa9,this[_0x4067fa(0x1f0)]=_0x390922,this[_0x4067fa(0x3db)]=_0x476ab6,this[_0x4067fa(0x483)]=_0x233238,this['localCacheService']=_0x35880a);}[_0x3cfa54(0x440)](_0x14b0fe){var _0x280355=_0x3cfa54;try{const _0x351318=[..._0x14b0fe,...this[_0x280355(0x2f0)]],_0x5d6365=[this[_0x280355(0x2aa)]||this[_0x280355(0x2d6)]]['filter'](_0x5e4639=>!!_0x5e4639);let _0x3b30ec,_0x1be277;if(_0x5d6365[_0x280355(0x38a)]){const _0x303856=this['_transformService'][_0x280355(0x499)](_0x351318,_0x5d6365,!0x1);if(!_0x1b6cd0(_0x303856))throw _0x303856['error'];_0x3b30ec=_0x303856[_0x280355(0x48a)],_0x1be277=_0x303856[_0x280355(0x445)];}else _0x3b30ec=_0x351318,_0x1be277=[];let _0x3ff9d8=this[_0x280355(0x22e)];_0x3b30ec[_0x280355(0x4b4)](_0x4c64a6=>{var _0x175d6c=_0x280355;let _0x36d3ce;if(_0x3ff9d8[_0x175d6c(0x38a)]){const _0x173191=this[_0x175d6c(0x483)]['transformMutationsWithChangeset'](_0x4c64a6,_0x3ff9d8);if(!_0xc171cd(_0x173191))throw _0x173191[_0x175d6c(0x41f)];_0x36d3ce=_0x173191[_0x175d6c(0x48a)],_0x3ff9d8=_0x173191[_0x175d6c(0x3b7)];}else _0x36d3ce=_0x4c64a6;this[_0x175d6c(0x4bf)](_0x36d3ce);}),this[_0x280355(0x2d6)]&&this[_0x280355(0x2c1)](),this[_0x280355(0x2aa)]&&_0x1be277[_0x280355(0x38a)]&&(_0x1be277[0x0][_0x280355(0x25b)]=this[_0x280355(0x3a7)]());let _0x30a028;if(this[_0x280355(0x2aa)]&&_0x3ff9d8[_0x280355(0x38a)]!==0x0)_0x30a028=this[_0x280355(0x1f0)][_0x280355(0x2f1)](oe,this['unitID'],this['type'],_0x1be277[0x0],_0x3ff9d8,this[_0x280355(0x434)],void 0x0);else{if(this[_0x280355(0x2aa)]&&_0x3ff9d8[_0x280355(0x38a)]===0x0)_0x1be277[0x0][_0x280355(0x25b)]=this[_0x280355(0x3a7)](),_0x30a028=this['_injector'][_0x280355(0x2f1)](le,this[_0x280355(0x256)],this['type'],_0x1be277[0x0],this[_0x280355(0x434)]);else{if(_0x3ff9d8['length']!==0x0){const _0x3383c3=this[_0x280355(0x1f0)][_0x280355(0x2f1)](ae,this[_0x280355(0x256)],this[_0x280355(0x2c9)],_0x3ff9d8,this['_handler']);_0x3383c3[_0x280355(0x27b)](),_0x30a028=_0x3383c3;}else _0x30a028=this[_0x280355(0x1f0)]['createInstance'](be,this[_0x280355(0x256)],this[_0x280355(0x2c9)],this[_0x280355(0x434)]);}}return _0x30a028[_0x280355(0x372)](),_0x30a028;}catch(_0x3e9200){return this[_0x280355(0x3db)][_0x280355(0x41f)]('[FetchMissState]',_0x280355(0x3af),_0x3e9200),this['_injector']['createInstance'](ue,this[_0x280355(0x256)],this[_0x280355(0x2c9)],this[_0x280355(0x2aa)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x3cfa54(0x312)](){var _0x492a40=_0x3cfa54;throw new Error(_0x492a40(0x4ca));}['appendMutation'](_0x58a054){var _0x12e56c=_0x3cfa54;return this[_0x12e56c(0x22e)][_0x12e56c(0x426)](_0x58a054),this;}[_0x3cfa54(0x4a2)](_0x308ac0){var _0x33f3c5=_0x3cfa54;return this[_0x33f3c5(0x2f0)]['push'](_0x308ac0),this;}[_0x3cfa54(0x343)](_0x1e92fe){var _0x3513c5=_0x3cfa54;if(this[_0x3513c5(0x2aa)])return this['_acknowledgedAwaitingChangeset']=this[_0x3513c5(0x2aa)],this['_awaitingChangeset']=null,this;throw new Error(_0x3513c5(0x28e));}[_0x3cfa54(0x47b)](_0x317d5e){return this['_onConflict'](!!(_0x317d5e!=null&&_0x317d5e['isPermissionRej']));}[_0x3cfa54(0x393)](){return this;}['toggleOffline'](){var _0x3922ed=_0x3cfa54;return this['_injector'][_0x3922ed(0x2f1)](de,this[_0x3922ed(0x256)],this[_0x3922ed(0x2c9)],this['_awaitingChangeset'],this[_0x3922ed(0x22e)],this[_0x3922ed(0x434)]);}[_0x3cfa54(0x395)](){return this;}[_0x3cfa54(0x36a)](_0x54ab81){var _0x56ea1a=_0x3cfa54;return this[_0x56ea1a(0x1f0)][_0x56ea1a(0x2f1)](ue,this[_0x56ea1a(0x256)],this[_0x56ea1a(0x2c9)],this['_awaitingChangeset'],this[_0x56ea1a(0x22e)],this[_0x56ea1a(0x434)],_0x54ab81);}};ee=Se([w(0x7,_0x179adb(_0x3be7b0)),w(0x8,_0x179adb(_0x194012)),w(0x9,_0x21ac0b),w(0xa,_0x3ff774),w(0xb,_0x226259),w(0xc,_0x2b16ef),w(0xd,_0x26c487(J))],ee);function Ti(_0xb2f07c,_0x5356a9,_0x28b8a0,_0x58cec6,_0x821686,_0x567466){var _0x52f5ac=_0x3cfa54;return _0x58cec6&&_0x821686[_0x52f5ac(0x38a)]?_0xb2f07c[_0x52f5ac(0x2f1)](oe,_0x5356a9,_0x28b8a0,_0x58cec6,_0x821686,_0x567466,void 0x0):_0x58cec6?_0xb2f07c[_0x52f5ac(0x2f1)](le,_0x5356a9,_0x28b8a0,_0x58cec6,_0x567466):_0x821686[_0x52f5ac(0x38a)]?_0xb2f07c[_0x52f5ac(0x2f1)](ae,_0x5356a9,_0x28b8a0,_0x821686,_0x567466):_0xb2f07c[_0x52f5ac(0x2f1)](be,_0x5356a9,_0x28b8a0,_0x567466);}var Hs=Object[_0x3cfa54(0x3f9)],At=(_0x442d79,_0x24246b,_0x3a0501,_0x43c923)=>{var _0x34c61c=_0x3cfa54;for(var _0x3e6e9f=_0x43c923>0x1?void 0x0:_0x43c923?Hs(_0x24246b,_0x3a0501):_0x24246b,_0x20e0a5=_0x442d79[_0x34c61c(0x38a)]-0x1,_0x2356af;_0x20e0a5>=0x0;_0x20e0a5--)(_0x2356af=_0x442d79[_0x20e0a5])&&(_0x3e6e9f=_0x2356af(_0x3e6e9f)||_0x3e6e9f);return _0x3e6e9f;},k=(_0x88fd53,_0x11d052)=>(_0xf0ad0e,_0x50d7cb)=>_0x11d052(_0xf0ad0e,_0x50d7cb,_0x88fd53);let st=class extends _0x5157cb{constructor(_0x24e091,_0x28222b,_0x5f423a,_0xe18b80,_0x5f4a74,_0x26d054,_0x38096f,_0x197459,_0x2e8773,_0x3d3e7b,_0x418cba,_0x5181be,_0x281f9f,_0x4132db){var _0xf61c64=_0x3cfa54;super(),D(this,_0xf61c64(0x4ac),new _0x4be32f(null)),D(this,'state$',this['_state$']['asObservable']()),D(this,_0xf61c64(0x475)),D(this,_0xf61c64(0x498),!0x1),D(this,'_changesetSessionId',''),D(this,_0xf61c64(0x40b),0x0),D(this,_0xf61c64(0x28d),this[_0xf61c64(0x1dc)][_0xf61c64(0x23f)](_0x5d2eaa(_0x23e39a=>_0x23e39a?_0x23e39a[_0xf61c64(0x4ab)]:Si[_0xf61c64(0x456)]),_0x2b3f3d(0x1))),D(this,_0xf61c64(0x2b3),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0xf61c64(0x256)]=_0x24e091,this[_0xf61c64(0x2f4)]=_0x28222b,this[_0xf61c64(0x294)]=_0x5f423a,this[_0xf61c64(0x1f0)]=_0xe18b80,this[_0xf61c64(0x3bf)]=_0x5f4a74,this['_localeService']=_0x26d054,this[_0xf61c64(0x4a4)]=_0x38096f,this[_0xf61c64(0x453)]=_0x197459,this[_0xf61c64(0x290)]=_0x2e8773,this[_0xf61c64(0x3db)]=_0x3d3e7b,this[_0xf61c64(0x318)]=_0x418cba,this[_0xf61c64(0x4af)]=_0x5181be,this[_0xf61c64(0x24d)]=_0x281f9f,this[_0xf61c64(0x442)]=_0x4132db);}get['state'](){var _0x18aab4=_0x3cfa54;return this[_0x18aab4(0x475)];}async[_0x3cfa54(0x365)](){var _0x1b448e=_0x3cfa54;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x1b448e(0x3a1)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x4b360c(()=>{var _0x477615=_0x3a85;this[_0x477615(0x498)]=!0x1,this[_0x477615(0x202)]();});}[_0x3cfa54(0x217)](_0x1a4a34){var _0x17dcd5=_0x3cfa54;this[_0x17dcd5(0x314)](_0x1a4a34);}[_0x3cfa54(0x26a)](_0x53893f){var _0x228a04=_0x3cfa54;this[_0x228a04(0x475)]=_0x53893f,this[_0x228a04(0x4ac)]['next'](_0x53893f);}async['_init'](){var _0x3792e2=_0x3cfa54,_0x12b8cc;this['_updateState'](await this[_0x3792e2(0x45e)]()),this[_0x3792e2(0x24d)]&&((_0x12b8cc=this[_0x3792e2(0x24d)])==null||_0x12b8cc['editingUnit'](this['unitID']),this[_0x3792e2(0x1f2)](this['_singleActiveUnitService'][_0x3792e2(0x367)](this['unitID'])[_0x3792e2(0x380)](_0x2ff55a=>{var _0x536cca=_0x3792e2;this['_logService'][_0x536cca(0x3de)](_0x536cca(0x409),'editing\x20status\x20changed\x20to',_0x2ff55a),_0x2ff55a===mi[_0x536cca(0x435)]?(this['_eventService'][_0x536cca(0x272)]({'id':re[_0x536cca(0x2d5)]}),this[_0x536cca(0x4af)]['updatePermissionPoint'](new _0x1b4ced(this[_0x536cca(0x256)])['id'],!0x1),this[_0x536cca(0x4af)][_0x536cca(0x406)](!0x1)):(this[_0x536cca(0x4af)][_0x536cca(0x234)](new _0x1b4ced(this[_0x536cca(0x256)])['id'],!0x0),this[_0x536cca(0x4af)]['setShowComponents'](!0x0));})));let _0x1bf55d=!0x1;return this[_0x3792e2(0x1f2)](this[_0x3792e2(0x2f4)]['sessionStatus$'][_0x3792e2(0x380)](_0x4f3a39=>{var _0x424082=_0x3792e2;_0x4f3a39===me['ONLINE']?this['_toggleOnline'](_0x1bf55d):_0x4f3a39===me[_0x424082(0x456)]&&(_0x1bf55d=!0x0,this[_0x424082(0x229)]());})),this[_0x3792e2(0x1f2)](this['session'][_0x3792e2(0x3bd)][_0x3792e2(0x380)](_0x3fda2f=>{var _0x594367=_0x3792e2;try{switch(_0x3fda2f[_0x594367(0x236)]){case _0x242f98[_0x594367(0x2ee)]:{this[_0x594367(0x4a7)](_0x2aaa2c(_0x3fda2f[_0x594367(0x298)]));break;}case _0x242f98['CHANGESET_ACK']:{this[_0x594367(0x389)](_0x3fda2f[_0x594367(0x298)]);break;}case _0x242f98[_0x594367(0x414)]:{this[_0x594367(0x420)]();break;}case _0x242f98[_0x594367(0x2a3)]:{this[_0x594367(0x2d3)](_0x3fda2f[_0x594367(0x298)]);break;}case _0x242f98['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x594367(0x43b)](_0x3fda2f[_0x594367(0x298)][_0x594367(0x1e9)][_0x594367(0x29b)](_0x2aece1=>_0x2aaa2c(_0x2aece1)));break;}case _0x242f98[_0x594367(0x351)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x242f98['UNISCRIPT_RUN']:break;}}catch(_0x26f5ec){throw console[_0x594367(0x41f)](_0x594367(0x495),_0x26f5ec),_0x26f5ec;}})),this[_0x3792e2(0x475)];}[_0x3cfa54(0x348)](){var _0x5409d7=_0x3cfa54;this[_0x5409d7(0x2b3)]=!0x1;}[_0x3cfa54(0x49b)](){var _0x824050=_0x3cfa54;if(this[_0x824050(0x2b3)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x824050(0x2b3)]=!0x0;}['_onLocalMutation'](_0x16041b){var _0x13eb86=_0x3cfa54;this['_lockTransition'](),this['_updateState'](this['_state']['appendMutation'](_0x16041b)),this[_0x13eb86(0x348)]();}[_0x3cfa54(0x4a7)](_0x375785){var _0x3bc943=_0x3cfa54;if(!(_0x375785['revision']<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3bc943(0x256)]))){if(this['_collaborationPaused']){this[_0x3bc943(0x42d)][_0x3bc943(0x426)](_0x375785);return;}this[_0x3bc943(0x245)](_0x375785);}}[_0x3cfa54(0x202)](){var _0x456f66=_0x3cfa54;this[_0x456f66(0x42d)][_0x456f66(0x4b4)](_0x2be7e7=>this[_0x456f66(0x245)](_0x2be7e7)),this[_0x456f66(0x42d)]=[];}[_0x3cfa54(0x245)](_0xaafd92){var _0x57bc4a=_0x3cfa54;const _0x40c9a8=this[_0x57bc4a(0x3bf)]['interceptor'][_0x57bc4a(0x2ea)](this['_compressMutationService'][_0x57bc4a(0x307)][_0x57bc4a(0x358)]()[_0x57bc4a(0x3b1)])(_0xaafd92[_0x57bc4a(0x1f1)],null)||_0xaafd92[_0x57bc4a(0x1f1)],_0x5620f5={..._0xaafd92,'mutations':_0x40c9a8};this[_0x57bc4a(0x49b)](),this[_0x57bc4a(0x26a)](this[_0x57bc4a(0x475)][_0x57bc4a(0x4a2)](_0x5620f5)),this['_unlockTransition']();}[_0x3cfa54(0x389)](_0x36a90d){var _0x4ddc2f=_0x3cfa54;this['_lockTransition'](),this[_0x4ddc2f(0x26a)](this[_0x4ddc2f(0x475)][_0x4ddc2f(0x343)](_0x36a90d)),this[_0x4ddc2f(0x348)]();}[_0x3cfa54(0x420)](_0x7caa99){var _0x23bee7=_0x3cfa54;this[_0x23bee7(0x49b)](),this[_0x23bee7(0x26a)](this['_state']['onRemoteRej'](_0x7caa99)),this[_0x23bee7(0x348)]();}[_0x3cfa54(0x2d3)](_0x340e91){var _0x20f004=_0x3cfa54;this[_0x20f004(0x49b)](),this[_0x20f004(0x26a)](this[_0x20f004(0x475)]['onRemoteRetry'](_0x340e91)),this['_unlockTransition']();}[_0x3cfa54(0x43b)](_0x2eb314){var _0x52772b=_0x3cfa54;if(!(this[_0x52772b(0x475)]instanceof ee))throw new TypeError(_0x52772b(0x415));const _0x2d5131=_0x2eb314[_0x52772b(0x29b)](_0x416ae5=>{var _0xd6e6d5=_0x52772b;const _0x2b9879=this[_0xd6e6d5(0x3bf)][_0xd6e6d5(0x307)]['fetchThroughInterceptors'](this[_0xd6e6d5(0x3bf)][_0xd6e6d5(0x307)][_0xd6e6d5(0x358)]()['COMPRESS_MUTATION_APPLY'])(_0x416ae5['mutations'],null)||_0x416ae5[_0xd6e6d5(0x1f1)];return{..._0x416ae5,'mutations':_0x2b9879};});this[_0x52772b(0x49b)](),this[_0x52772b(0x26a)](this['_state'][_0x52772b(0x440)](_0x2d5131)),this[_0x52772b(0x348)]();}[_0x3cfa54(0x229)](){var _0x16b4c7=_0x3cfa54;this['_lockTransition'](),this[_0x16b4c7(0x26a)](this[_0x16b4c7(0x475)]['toggleOffline']()),this[_0x16b4c7(0x348)]();}['_toggleOnline'](_0x2c51b6=!0x1){var _0x5013a4=_0x3cfa54;this[_0x5013a4(0x49b)](),this[_0x5013a4(0x26a)](this[_0x5013a4(0x475)][_0x5013a4(0x395)]()),this['_unlockTransition']();const _0x38afec=this[_0x5013a4(0x475)];_0x2c51b6&&_0x38afec instanceof be&&(this['_lockTransition'](),this[_0x5013a4(0x26a)](_0x38afec['fetchMiss']()),this[_0x5013a4(0x348)]());}async['_createInitialState'](){return new Promise(_0x32efc4=>{var _0x14cb06=_0x3a85;this['session'][_0x14cb06(0x354)][_0x14cb06(0x23f)](_0x4dff42(0x1))[_0x14cb06(0x380)](async _0x22de0f=>{var _0x4691f8=_0x14cb06;_0x32efc4(await this[_0x4691f8(0x446)](_0x22de0f===me['ONLINE']));});});}[_0x3cfa54(0x2a6)](){var _0x37a0aa=_0x3cfa54;const _0x105c26=this[_0x37a0aa(0x256)];return{'onStateChange':(_0x2db1d4,_0xa28cff)=>{var _0x3df0a6=_0x37a0aa;if(_0x2db1d4!==this[_0x3df0a6(0x475)])throw new Error(_0x3df0a6(0x2ec)+_0x2db1d4[_0x3df0a6(0x4ab)]+'\x0aAfter:\x20'+_0xa28cff[_0x3df0a6(0x4ab)]+_0x3df0a6(0x1e2)+this[_0x3df0a6(0x475)][_0x3df0a6(0x4ab)]);this[_0x3df0a6(0x26a)](_0xa28cff);},'onSendChangeset':_0x369d6e=>{var _0x199be4=_0x37a0aa;_0x369d6e[_0x199be4(0x319)]||(_0x369d6e[_0x199be4(0x319)]=this[_0x199be4(0x4aa)],_0x369d6e[_0x199be4(0x214)]=++this[_0x199be4(0x40b)]);const _0x37e610={'eventID':_0x242f98[_0x199be4(0x39d)],'data':{'unitID':_0x369d6e[_0x199be4(0x256)],'unitType':this[_0x199be4(0x294)],'changeset':_0x369d6e,'memberID':this[_0x199be4(0x2f4)][_0x199be4(0x2cb)]()}};this[_0x199be4(0x2f4)][_0x199be4(0x332)](_0x37e610,this[_0x199be4(0x256)]);},'onMissingChangesets':({from:_0x42d8af,to:_0x3c8168})=>{var _0x443e77=_0x37a0aa;this[_0x443e77(0x3db)][_0x443e77(0x3de)](_0x443e77(0x409),_0x443e77(0x4d7)+_0x42d8af+'\x20to\x20'+_0x3c8168);const _0x50c7ab={'eventID':_0x242f98[_0x443e77(0x313)],'data':{'unitID':_0x105c26,'unitType':this[_0x443e77(0x294)],'from':_0x42d8af,'to':_0x3c8168}};this[_0x443e77(0x2f4)][_0x443e77(0x332)](_0x50c7ab,this['unitID']);}};}async[_0x3cfa54(0x446)](_0x177841){var _0x1ff9ba=_0x3cfa54,_0x5c4463,_0x398bd9,_0x27849f;const _0x4b21cc=await((_0x5c4463=this[_0x1ff9ba(0x442)])==null?void 0x0:_0x5c4463['loadOfflineData'](this['unitID'])),_0x4d338b=(_0x398bd9=_0x4b21cc==null?void 0x0:_0x4b21cc[_0x1ff9ba(0x1f1)])!=null?_0x398bd9:[],_0x56959f=(_0x27849f=_0x4b21cc==null?void 0x0:_0x4b21cc[_0x1ff9ba(0x468)])!=null?_0x27849f:null,_0x298a6c=!!(_0x56959f!=null&&_0x56959f['sid'])&&!!(_0x56959f!=null&&_0x56959f[_0x1ff9ba(0x214)]);this[_0x1ff9ba(0x4aa)]=_0x298a6c?_0x56959f['sid']:_0x2b2cb6(),this[_0x1ff9ba(0x40b)]=_0x298a6c?_0x56959f[_0x1ff9ba(0x214)]:0x0;const _0x65453c=this[_0x1ff9ba(0x256)];try{this[_0x1ff9ba(0x226)](_0x56959f,_0x4d338b);}catch(_0x131d24){this[_0x1ff9ba(0x3db)]['error'](_0x131d24);}const _0x5e2146=this[_0x1ff9ba(0x2a6)]();if(_0x177841){const _0x4d0382=Ti(this[_0x1ff9ba(0x1f0)],_0x65453c,this[_0x1ff9ba(0x294)],_0x56959f,_0x4d338b,_0x5e2146);return _0x4d0382 instanceof ae?_0x4d0382[_0x1ff9ba(0x27b)]():(_0x4d0382 instanceof oe||_0x4d0382 instanceof le)&&_0x4d0382[_0x1ff9ba(0x312)](),_0x4d0382;}return this[_0x1ff9ba(0x1f0)][_0x1ff9ba(0x2f1)](de,_0x65453c,this[_0x1ff9ba(0x294)],_0x56959f,_0x4d338b,_0x5e2146);}[_0x3cfa54(0x226)](_0x26f212,_0x37c1a0){var _0x52bae6=_0x3cfa54,_0x57d598,_0x2f061c;const _0x2d07ad=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x52bae6(0x358)]()['COMPRESS_MUTATION_APPLY']);(_0x57d598=_0x2d07ad((_0x26f212==null?void 0x0:_0x26f212[_0x52bae6(0x1f1)])||[],null))==null||_0x57d598[_0x52bae6(0x4b4)](_0x2f42f5=>this[_0x52bae6(0x318)][_0x52bae6(0x31d)](_0x2f42f5['id'],_0x2f42f5['params'])),(_0x2f061c=_0x2d07ad(_0x37c1a0||[],null))==null||_0x2f061c['forEach'](_0x421cdc=>this[_0x52bae6(0x318)][_0x52bae6(0x31d)](_0x421cdc['id'],_0x421cdc[_0x52bae6(0x40c)]));}};st=At([k(0x3,_0x179adb(_0x3be7b0)),k(0x4,_0x179adb(_0x15d39f)),k(0x5,_0x179adb(_0x211543)),k(0x6,_0x179adb(_0x194012)),k(0x7,_0x179adb(ve)),k(0x8,_0x2cb753),k(0x9,_0x21ac0b),k(0xa,_0x3ff774),k(0xb,_0x362060),k(0xc,_0x26c487(_t)),k(0xd,_0x26c487(J))],st);let It=class extends st{constructor(_0x253b40,_0x2de445,_0x3371e8,_0x4e3b7f,_0x140137,_0x12cc18,_0x486813,_0x358005,_0x57c496,_0x2d188e,_0x2104f8,_0x51657a,_0x50e44c,_0x5ed92a){var _0x5cf8cf=_0x3cfa54;super(_0x253b40,_0x3371e8,_0x2de445,_0x4e3b7f,_0x140137,_0x12cc18,_0x486813,_0x358005,_0x57c496,_0x2d188e,_0x2104f8,_0x51657a,_0x50e44c,_0x5ed92a),D(this,_0x5cf8cf(0x3f8),null),(this[_0x5cf8cf(0x256)]=_0x253b40,this[_0x5cf8cf(0x2c9)]=_0x2de445);}[_0x3cfa54(0x20d)](_0x384d23){this['_handlerCallback']=_0x384d23;}[_0x3cfa54(0x394)](){var _0x223380=_0x3cfa54;this[_0x223380(0x3f8)]=null,super[_0x223380(0x394)]();}[_0x3cfa54(0x2a6)](){var _0x3a5454=_0x3cfa54;const _0x2a345c=super['_createHandler']();return _0x2a345c['onTransformIME']=_0x1038ef=>{var _0xe60d4=_0x3a85,_0x21f140,_0x28f486;return(_0x28f486=(_0x21f140=this[_0xe60d4(0x3f8)])==null?void 0x0:_0x21f140['onTransformIME'])==null?void 0x0:_0x28f486[_0xe60d4(0x485)](_0x21f140,_0x1038ef);},_0x2a345c['onTransformState']=_0x874457=>{var _0x28656a=_0x3a85,_0x337508,_0xc651e4;return(_0xc651e4=(_0x337508=this[_0x28656a(0x3f8)])==null?void 0x0:_0x337508[_0x28656a(0x3f6)])==null?void 0x0:_0xc651e4[_0x28656a(0x485)](_0x337508,_0x874457);},_0x2a345c[_0x3a5454(0x300)]=_0x2b8469=>{var _0x48adbb=_0x3a5454,_0x19c40c,_0x57a465;return(_0x57a465=(_0x19c40c=this[_0x48adbb(0x3f8)])==null?void 0x0:_0x19c40c[_0x48adbb(0x300)])==null?void 0x0:_0x57a465[_0x48adbb(0x485)](_0x19c40c,_0x2b8469);},_0x2a345c[_0x3a5454(0x2b2)]=_0x511645=>{var _0x339faa=_0x3a5454,_0x2c5e59,_0x4b211e;return(_0x4b211e=(_0x2c5e59=this[_0x339faa(0x3f8)])==null?void 0x0:_0x2c5e59[_0x339faa(0x2b2)])==null?void 0x0:_0x4b211e[_0x339faa(0x485)](_0x2c5e59,_0x511645);},_0x2a345c[_0x3a5454(0x222)]=_0x4598d5=>{var _0x799d05=_0x3a5454,_0x28d7c6,_0x51fbe0,_0x46bf39;if(!((_0x28d7c6=this['_handlerCallback'])!=null&&_0x28d7c6['onTransformRemoteChangesetByIMECache']))throw new Error(_0x799d05(0x46a));return(_0x46bf39=(_0x51fbe0=this[_0x799d05(0x3f8)])==null?void 0x0:_0x51fbe0['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x46bf39['call'](_0x51fbe0,_0x4598d5);},_0x2a345c[_0x3a5454(0x26c)]=_0x30519f=>{var _0x5f5bef=_0x3a5454,_0x2286a2,_0x592998,_0x5710d1;if(!((_0x2286a2=this['_handlerCallback'])!=null&&_0x2286a2[_0x5f5bef(0x26c)]))throw new Error(_0x5f5bef(0x3fb));return(_0x5710d1=(_0x592998=this['_handlerCallback'])==null?void 0x0:_0x592998[_0x5f5bef(0x26c)])==null?void 0x0:_0x5710d1[_0x5f5bef(0x485)](_0x592998,_0x30519f);},_0x2a345c;}async['_init'](){var _0xecac55=_0x3cfa54;const _0xd99f8c=await super[_0xecac55(0x3a1)]();return this[_0xecac55(0x1f2)](this['_commandService'][_0xecac55(0x47e)]((_0x2bfdc9,_0x294edf)=>{var _0x3e53de=_0xecac55;if(_0x2bfdc9[_0x3e53de(0x2c9)]!==_0x2951ad[_0x3e53de(0x407)]||_0x294edf!=null&&_0x294edf['fromCollab']||_0x294edf!=null&&_0x294edf['onlyLocal']||_0x2bfdc9['id']===_0x5be30c['id'])return;const _0x4eee2d=_0x2bfdc9['params'];if((_0x4eee2d==null?void 0x0:_0x4eee2d['unitId'])!==this[_0x3e53de(0x256)])return;const _0x2095ab=_0x2bfdc9,_0x1c2853=this[_0x3e53de(0x3bf)][_0x3e53de(0x307)][_0x3e53de(0x2ea)](this[_0x3e53de(0x3bf)][_0x3e53de(0x307)]['getInterceptPoints']()[_0x3e53de(0x490)])([_0x2095ab],this[_0x3e53de(0x290)])||[_0x2095ab];this[_0x3e53de(0x314)](_0x1c2853[0x0]);})),_0xd99f8c;}};It=At([k(0x3,_0x179adb(_0x3be7b0)),k(0x4,_0x179adb(_0x15d39f)),k(0x5,_0x179adb(_0x211543)),k(0x6,_0x179adb(_0x194012)),k(0x7,_0x179adb(ve)),k(0x8,_0x2cb753),k(0x9,_0x21ac0b),k(0xa,_0x3ff774),k(0xb,_0x362060),k(0xc,_0x26c487(_t)),k(0xd,_0x26c487(J))],It);let St=class extends st{constructor(_0x8ef49e,_0x2e2e6b,_0x35e11c,_0x19fcc8,_0x12bcd,_0x23a408,_0x39650e,_0x1d3c50,_0x533252,_0x58a3d7,_0x532976,_0x278e4e,_0x48a245,_0x5028da,_0x4913fe){var _0x4bc006=_0x3cfa54;super(_0x8ef49e,_0x35e11c,_0x2e2e6b,_0x19fcc8,_0x12bcd,_0x23a408,_0x39650e,_0x533252,_0x58a3d7,_0x532976,_0x278e4e,_0x48a245,_0x5028da,_0x4913fe),this[_0x4bc006(0x256)]=_0x8ef49e,this[_0x4bc006(0x2c9)]=_0x2e2e6b,this[_0x4bc006(0x40d)]=_0x1d3c50;}['_createHandler'](){var _0x275219=_0x3cfa54;const _0x541181=super[_0x275219(0x2a6)]();return _0x541181[_0x275219(0x300)]=_0x389ee6=>this[_0x275219(0x40d)][_0x275219(0x24e)](_0x389ee6),_0x541181;}async[_0x3cfa54(0x3a1)](){var _0x16ea97=_0x3cfa54;const _0x37066a=await super[_0x16ea97(0x3a1)]();return this[_0x16ea97(0x1f2)](this[_0x16ea97(0x318)][_0x16ea97(0x47e)]((_0x2037eb,_0x20508a)=>{var _0x280d6e=_0x16ea97;if(_0x2037eb[_0x280d6e(0x2c9)]!==_0x2951ad[_0x280d6e(0x407)]||_0x20508a!=null&&_0x20508a['fromCollab']||_0x20508a!=null&&_0x20508a[_0x280d6e(0x20b)])return;const _0x1f4e6f=_0x2037eb[_0x280d6e(0x40c)];if((_0x1f4e6f==null?void 0x0:_0x1f4e6f[_0x280d6e(0x308)])!==this[_0x280d6e(0x256)])return;const _0x3197cd=_0x2037eb,_0x207602=this[_0x280d6e(0x3bf)][_0x280d6e(0x307)]['fetchThroughInterceptors'](this[_0x280d6e(0x3bf)][_0x280d6e(0x307)][_0x280d6e(0x358)]()[_0x280d6e(0x490)])([_0x3197cd],this[_0x280d6e(0x290)])||[_0x3197cd];this[_0x280d6e(0x314)](_0x207602[0x0]);})),_0x37066a;}};St=At([k(0x3,_0x179adb(_0x3be7b0)),k(0x4,_0x179adb(_0x15d39f)),k(0x5,_0x179adb(_0x211543)),k(0x6,_0x179adb(_0x194012)),k(0x7,_0x179adb(it)),k(0x8,_0x179adb(ve)),k(0x9,_0x2cb753),k(0xa,_0x21ac0b),k(0xb,_0x3ff774),k(0xc,_0x362060),k(0xd,_0x26c487(_t)),k(0xe,_0x26c487(J))],St);const Bs=_0x2cfc18(_0x3cfa54(0x32c));function Fs(_0x5651b7){var _0x581a8e=_0x3cfa54,_0x2329ed,_0x1ded3c,_0x5cfca6,_0x3e5f58,_0x3d3765;const _0x169aee=_0x5651b7[_0x581a8e(0x298)],_0x7b9c3d=JSON[_0x581a8e(0x368)](_0x169aee);switch(_0x7b9c3d[_0x581a8e(0x31e)]){case j[_0x581a8e(0x1ce)]:case j[_0x581a8e(0x27f)]:{const _0x315e22=_0x7b9c3d['infoRsp'];return{..._0x7b9c3d,'data':_0x315e22,'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};}case j['JOIN']:{const _0x5f3d87=_0x7b9c3d[_0x581a8e(0x2ce)];return{..._0x7b9c3d,'data':_0x5f3d87,'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};}case j['RECV']:{const _0x4a026b=_0x7b9c3d['collaMsg'];switch(_0x4a026b[_0x581a8e(0x236)]){case _0x242f98[_0x581a8e(0x351)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':(_0x2329ed=_0x4a026b[_0x581a8e(0x238)])==null?void 0x0:_0x2329ed['cs']},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98['CHANGESET_ACK']:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':(_0x1ded3c=_0x4a026b['csAckEvent'])==null?void 0x0:_0x1ded3c['cs']},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98[_0x581a8e(0x2ee)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':(_0x5cfca6=_0x4a026b[_0x581a8e(0x383)])==null?void 0x0:_0x5cfca6['cs']},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98[_0x581a8e(0x414)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':(_0x3e5f58=_0x4a026b[_0x581a8e(0x41e)])==null?void 0x0:_0x3e5f58['cs']},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98[_0x581a8e(0x2a3)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':(_0x3d3765=_0x4a026b[_0x581a8e(0x204)])==null?void 0x0:_0x3d3765['cs']},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98[_0x581a8e(0x41a)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b['updateCursorEvent']},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98[_0x581a8e(0x49f)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x46c)]},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98[_0x581a8e(0x3fe)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x2a2)]},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98[_0x581a8e(0x4c8)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x248)]},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98[_0x581a8e(0x3f0)]:case _0x242f98[_0x581a8e(0x3a4)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x460)]},'cmd':_0x7b9c3d['cmd']};case _0x242f98[_0x581a8e(0x461)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x248)]},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98['MSG_FOR_ERROR']:return{..._0x7b9c3d,'data':_0x4a026b,'cmd':_0x7b9c3d['cmd']};case _0x242f98[_0x581a8e(0x3eb)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x4a1)]},'cmd':_0x7b9c3d['cmd']};case _0x242f98[_0x581a8e(0x4d3)]:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x297)]},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98['SHOULD_CLOSE_CONN']:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x29a)]},'cmd':_0x7b9c3d[_0x581a8e(0x31e)]};case _0x242f98['UNISCRIPT_RUN']:return{..._0x7b9c3d,'data':{..._0x4a026b,'data':_0x4a026b[_0x581a8e(0x2a7)]},'cmd':_0x7b9c3d['cmd']};default:return _0x7b9c3d;}}default:return _0x7b9c3d;}}function js(_0x89903b){var _0x1925e0=_0x3cfa54;switch(_0x89903b[_0x1925e0(0x31e)]){case j[_0x1925e0(0x1ce)]:case j[_0x1925e0(0x27f)]:return JSON[_0x1925e0(0x2b6)]({'cmd':_0x89903b[_0x1925e0(0x31e)],'routeKey':_0x89903b[_0x1925e0(0x261)]});case j[_0x1925e0(0x2b4)]:{let _0x137fc4;switch(_0x89903b[_0x1925e0(0x298)][_0x1925e0(0x236)]){case _0x242f98['UPDATE_CURSOR']:{_0x137fc4={'eventID':_0x242f98[_0x1925e0(0x41a)],'updateCursorEvent':_0x89903b['data'][_0x1925e0(0x298)]};break;}case _0x242f98[_0x1925e0(0x3fe)]:{_0x137fc4={'eventID':_0x242f98[_0x1925e0(0x3fe)],'leaveEvent':_0x89903b[_0x1925e0(0x298)]['data']};break;}case _0x242f98[_0x1925e0(0x49f)]:{_0x137fc4={'eventID':_0x242f98['USERS_ENTER'],'joinEvent':_0x89903b[_0x1925e0(0x298)]['data']};break;}case _0x242f98[_0x1925e0(0x4c8)]:{_0x137fc4={'eventID':_0x242f98[_0x1925e0(0x4c8)],'liveShareNewHost':_0x89903b[_0x1925e0(0x298)][_0x1925e0(0x298)]};break;}case _0x242f98['LIVESHARE_OPERATION']:{_0x137fc4={'eventID':_0x242f98[_0x1925e0(0x3a4)],'liveShareOperation':_0x89903b[_0x1925e0(0x298)][_0x1925e0(0x298)]};break;}case _0x242f98['LIVESHARE_TERMINATE']:{_0x137fc4={'eventID':_0x242f98['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x89903b['data'][_0x1925e0(0x298)]};break;}case _0x242f98[_0x1925e0(0x1e4)]:{_0x137fc4={'eventID':_0x242f98[_0x1925e0(0x1e4)],'liveShareRequestHost':_0x89903b[_0x1925e0(0x298)]['data']};break;}case _0x242f98[_0x1925e0(0x3f0)]:{_0x137fc4={'eventID':_0x242f98['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x137fc4={'eventID':_0x89903b['data'][_0x1925e0(0x236)]};}return JSON[_0x1925e0(0x2b6)]({'cmd':_0x89903b['cmd'],'routeKey':_0x89903b[_0x1925e0(0x261)],'collaMsg':_0x137fc4});}case j['JOIN']:return JSON[_0x1925e0(0x2b6)]({'cmd':_0x89903b['cmd'],'routeKey':_0x89903b['routeKey'],'joinReq':_0x89903b[_0x1925e0(0x298)]});case j[_0x1925e0(0x4c3)]:return JSON[_0x1925e0(0x2b6)]({'cmd':_0x89903b[_0x1925e0(0x31e)],'routeKey':_0x89903b[_0x1925e0(0x261)],'leaveReq':_0x89903b[_0x1925e0(0x298)]});default:throw new Error(_0x1925e0(0x2d0));}}var Vs=Object[_0x3cfa54(0x3f9)],Gs=(_0x5772e7,_0x27de18,_0x456709,_0x1b0537)=>{var _0x19b98a=_0x3cfa54;for(var _0x4779d8=_0x1b0537>0x1?void 0x0:_0x1b0537?Vs(_0x27de18,_0x456709):_0x27de18,_0x58fe51=_0x5772e7[_0x19b98a(0x38a)]-0x1,_0x48994f;_0x58fe51>=0x0;_0x58fe51--)(_0x48994f=_0x5772e7[_0x58fe51])&&(_0x4779d8=_0x48994f(_0x4779d8)||_0x4779d8);return _0x4779d8;},ye=(_0x5c4df8,_0x5e1d0a)=>(_0x15b6bb,_0x47ec5b)=>_0x5e1d0a(_0x15b6bb,_0x47ec5b,_0x5c4df8);const Oi=_0x2cfc18(_0x3cfa54(0x38d));function Ws(_0x5bc24b,_0x121413,_0x5dc89d){var _0x23a8eb=_0x3cfa54;return _0x5bc24b+'/'+_0x121413+_0x23a8eb(0x2cc)+_0x5dc89d+_0x23a8eb(0x260);}let Gt=class extends _0x349cb4{constructor(_0x14b9d0,_0x10207d,_0x4c0cc9,_0x2cf124,_0x11ddbd){var _0x142686=_0x3cfa54;super(),this[_0x142686(0x1f0)]=_0x14b9d0,this[_0x142686(0x4b3)]=_0x10207d,this[_0x142686(0x335)]=_0x4c0cc9,this[_0x142686(0x3db)]=_0x2cf124,this[_0x142686(0x2bf)]=_0x11ddbd;}[_0x3cfa54(0x209)](_0x13f361){var _0x44995f=_0x3cfa54;const _0xd50d78=this[_0x44995f(0x1f0)]['get'](_0x259a1e);if(!_0xd50d78)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3e2968=_0xd50d78[_0x44995f(0x3aa)](_0x13f361);if(!_0x3e2968)throw new Error(_0x44995f(0x34f));const _0x543753=new _0x47842b(),_0x16cc88=new _0x5ae17f();_0x543753[_0x44995f(0x349)](_0x3e2968[_0x44995f(0x333)][_0x44995f(0x380)](_0x567d0f=>_0x16cc88['next'](_0x567d0f))),_0x543753[_0x44995f(0x349)](_0x4b360c(()=>_0x16cc88['complete']()));const _0x3ccc04=new _0x5ae17f();_0x543753[_0x44995f(0x349)](_0x3e2968[_0x44995f(0x2be)][_0x44995f(0x380)](_0xb008ba=>_0x3ccc04[_0x44995f(0x428)](_0xb008ba))),_0x543753[_0x44995f(0x349)](_0x4b360c(()=>_0x3ccc04['complete']()));const _0x90a8f2=new _0x5ae17f();_0x543753[_0x44995f(0x349)](_0x3e2968[_0x44995f(0x455)][_0x44995f(0x380)](_0xaf0013=>{var _0x38c51c=_0x44995f;const _0x5c9b12=Fs(_0xaf0013);_0x90a8f2[_0x38c51c(0x428)](_0x5c9b12);})),_0x543753['add'](_0x4b360c(()=>_0x90a8f2[_0x44995f(0x433)]()));let _0x503ebe;const _0x26b6fc=()=>{var _0x20aa38=_0x44995f;_0x3ccc04['next'](new Event('connection\x20error')),_0x16cc88[_0x20aa38(0x428)](new Event(_0x20aa38(0x237))),_0x503ebe[_0x20aa38(0x4b7)]();};return _0x503ebe={'memberID':'','close$':_0x16cc88[_0x44995f(0x2f3)](),'error$':_0x3ccc04[_0x44995f(0x2f3)](),'open$':_0x3e2968[_0x44995f(0x37a)],'message$':_0x90a8f2['asObservable'](),'send':_0x190658=>{var _0x2e8d9c=_0x44995f;if(_0x190658[_0x2e8d9c(0x31e)]===j[_0x2e8d9c(0x2b4)]){if(_0x190658[_0x2e8d9c(0x298)]['eventID']===_0x242f98['SUBMIT_CHANGESET']){this[_0x2e8d9c(0x381)](_0x503ebe,_0x190658[_0x2e8d9c(0x298)])[_0x2e8d9c(0x2db)](_0x140be0=>{this['_logService']['error'](_0x140be0),_0x26b6fc();});return;}if(_0x190658[_0x2e8d9c(0x298)][_0x2e8d9c(0x236)]===_0x242f98[_0x2e8d9c(0x313)]){const _0x244351=_0x190658[_0x2e8d9c(0x298)];this[_0x2e8d9c(0x3a5)](_0x244351)[_0x2e8d9c(0x3d4)](_0x59e3b3=>{var _0x3e6ab3=_0x2e8d9c;_0x90a8f2[_0x3e6ab3(0x428)]({'cmd':j[_0x3e6ab3(0x323)],'code':pe['OK'],'routeKey':_0x244351[_0x3e6ab3(0x298)][_0x3e6ab3(0x256)],'routeType':'','data':{'eventID':_0x242f98[_0x3e6ab3(0x419)],'data':{'changesets':_0x59e3b3}}});})[_0x2e8d9c(0x2db)](_0x38639c=>{var _0x749453=_0x2e8d9c;this[_0x749453(0x3db)]['error'](_0x38639c),_0x26b6fc();});return;}}_0x3e2968[_0x2e8d9c(0x332)](js(_0x190658));},'close':()=>{var _0x16e604=_0x44995f;_0x3e2968['close'](),_0x543753[_0x16e604(0x394)]();}},_0x503ebe;}async[_0x3cfa54(0x381)](_0x15f9f1,_0x6e7e57){var _0xb60cb2=_0x3cfa54,_0x3cbd28;const {unitType:_0x305d69,unitID:_0x30762e,changeset:_0x1ed263}=_0x6e7e57[_0xb60cb2(0x298)],_0x36aaf9={'unitID':_0x30762e,'memberID':_0x15f9f1['memberID'],'type':_0x305d69,'changeset':_0x5bc997(_0x1ed263)},_0x5445f3=this[_0xb60cb2(0x335)][_0xb60cb2(0x371)](K),_0x446160=Ws((_0x3cbd28=_0x5445f3==null?void 0x0:_0x5445f3['collabSubmitChangesetUrl'])!=null?_0x3cbd28:Os,_0x305d69,_0x30762e);try{await this[_0xb60cb2(0x4b3)]['post'](_0x446160,{'body':_0x36aaf9});}catch(_0x2e5f49){throw this[_0xb60cb2(0x3db)][_0xb60cb2(0x41f)](_0xb60cb2(0x27c),'submit\x20changeset\x20error!'),_0x2e5f49;}}async[_0x3cfa54(0x3a5)](_0xfc53ee){var _0x556210=_0x3cfa54;const {unitID:_0x42235d,from:_0x3661f2,to:_0x15a5f4,unitType:_0x55d7b4}=_0xfc53ee['data'];return(await this[_0x556210(0x2bf)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x42235d,'type':_0x55d7b4,'from':_0x3661f2,'to':_0x15a5f4}))[_0x556210(0x1e9)][_0x556210(0x29b)](_0x42c3d0=>((_0x42c3d0[_0x556210(0x1f1)]===null||_0x42c3d0[_0x556210(0x1f1)]===void 0x0)&&(_0x42c3d0[_0x556210(0x1f1)]=[]),_0x42c3d0));}};Gt=Gs([ye(0x0,_0x179adb(_0x3be7b0)),ye(0x1,_0x179adb(_0x5ac30f)),ye(0x2,_0x9c29af),ye(0x3,_0x21ac0b),ye(0x4,_0x3302c1)],Gt);var Ys=Object[_0x3cfa54(0x3f9)],Ks=(_0x221e41,_0x1b7613,_0x1d0800,_0x130039)=>{var _0x4adb65=_0x3cfa54;for(var _0x3ca390=_0x130039>0x1?void 0x0:_0x130039?Ys(_0x1b7613,_0x1d0800):_0x1b7613,_0x1492bd=_0x221e41[_0x4adb65(0x38a)]-0x1,_0x4627f0;_0x1492bd>=0x0;_0x1492bd--)(_0x4627f0=_0x221e41[_0x1492bd])&&(_0x3ca390=_0x4627f0(_0x3ca390)||_0x3ca390);return _0x3ca390;},Re=(_0x4ef7e5,_0x533679)=>(_0x43f769,_0xff52c)=>_0x533679(_0x43f769,_0xff52c,_0x4ef7e5);let we=class extends _0x349cb4{constructor(_0x31b672,_0x35b052,_0x3e0263,_0x165617,_0x17af71,_0xd8ce04){var _0x480bdd=_0x3cfa54;super(),D(this,'_socket$',new _0x4be32f(void 0x0)),D(this,_0x480bdd(0x31f),this[_0x480bdd(0x410)]['asObservable']()),D(this,_0x480bdd(0x1fb),null),D(this,_0x480bdd(0x400),new Map()),D(this,_0x480bdd(0x23e),new _0x4be32f(me[_0x480bdd(0x450)])),D(this,_0x480bdd(0x28d),this[_0x480bdd(0x23e)][_0x480bdd(0x2f3)]()),D(this,_0x480bdd(0x3ea),!0x1),D(this,_0x480bdd(0x33d)),D(this,_0x480bdd(0x39c),0x0),D(this,_0x480bdd(0x283)),D(this,_0x480bdd(0x42e)),(this[_0x480bdd(0x1f0)]=_0x31b672,this[_0x480bdd(0x3db)]=_0x35b052,this[_0x480bdd(0x335)]=_0x3e0263,this[_0x480bdd(0x286)]=_0x165617,this['_collaborationUIEventService']=_0x17af71,this[_0x480bdd(0x4a6)]=_0xd8ce04,this['_listenToNetworkCondition']());}get[_0x3cfa54(0x303)](){var _0x3a0feb=_0x3cfa54;return this[_0x3a0feb(0x410)]['getValue']();}[_0x3cfa54(0x3ab)](){var _0x32cdc1=_0x3cfa54;this[_0x32cdc1(0x4a6)]&&this['disposeWithMe'](this[_0x32cdc1(0x4a6)][_0x32cdc1(0x249)]['subscribe'](_0x547c24=>{var _0x5c8f0d=_0x32cdc1;_0x547c24&&!this['_socket']&&this[_0x5c8f0d(0x2da)](),_0x547c24||this[_0x5c8f0d(0x390)]();}));}[_0x3cfa54(0x394)](){var _0x3db98f=_0x3cfa54;super[_0x3db98f(0x394)](),this[_0x3db98f(0x352)](),this[_0x3db98f(0x4bd)](),this[_0x3db98f(0x305)](),this[_0x3db98f(0x400)][_0x3db98f(0x4b4)](_0x1e8025=>_0x1e8025['dispose']()),this[_0x3db98f(0x400)][_0x3db98f(0x316)](),this[_0x3db98f(0x23e)]['complete']();}async[_0x3cfa54(0x25a)](_0x241f5d){var _0x5142a1=_0x3cfa54;if(this[_0x5142a1(0x400)][_0x5142a1(0x34b)](_0x241f5d))return this['_sessions'][_0x5142a1(0x284)](_0x241f5d);this[_0x5142a1(0x205)]();const _0x597783=this[_0x5142a1(0x1f0)][_0x5142a1(0x2f1)](mt,_0x241f5d,this['_socket$']['asObservable']());return this['_sessions'][_0x5142a1(0x464)](_0x241f5d,_0x597783),_0x597783;}[_0x3cfa54(0x2bb)](_0x60ce14){var _0x34e75e=_0x3cfa54,_0x40b67c;const _0x310162=this[_0x34e75e(0x400)][_0x34e75e(0x284)](_0x60ce14);_0x310162&&(this[_0x34e75e(0x400)][_0x34e75e(0x1fc)](_0x60ce14),_0x310162[_0x34e75e(0x4b7)]()),this['_sessions']['size']||(_0x40b67c=this['_socket'])==null||_0x40b67c['close']();}[_0x3cfa54(0x2da)](){var _0xad446f=_0x3cfa54;this[_0xad446f(0x39c)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x2b4cca=_0x3cfa54;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2b4cca(0x33d)]),this[_0x2b4cca(0x33d)]=null);}async['_createSocket'](){var _0x5cf8fe=_0x3cfa54,_0x2108d5;const _0x424659=this['_configService'][_0x5cf8fe(0x371)](K),_0x56114e=(_0x2108d5=_0x424659==null?void 0x0:_0x424659[_0x5cf8fe(0x235)])!=null?_0x2108d5:Es,_0x12991c=await this['_socketService']['createSocket'](_0x56114e);return this[_0x5cf8fe(0x1fb)]=_0x12991c,_0x12991c;}async['_tryEnsureSocket'](){var _0xcbb36b=_0x3cfa54,_0xe78499,_0xe10270;try{const _0x177c70=(_0xe10270=(_0xe78499=this['_socket'])!=null?_0xe78499:this[_0xcbb36b(0x1fb)])!=null?_0xe10270:await this[_0xcbb36b(0x466)]();if(_0x177c70){const _0xe9a258=_0x177c70[_0xcbb36b(0x332)];_0x177c70['send']=_0x58a608=>(this[_0xcbb36b(0x21e)](),_0xe9a258[_0xcbb36b(0x24c)](_0x177c70,[_0x58a608])),_0x177c70[_0xcbb36b(0x455)][_0xcbb36b(0x380)](_0x169cd1=>this[_0xcbb36b(0x23c)](_0x177c70,_0x169cd1)),_0x177c70['error$'][_0xcbb36b(0x23f)](_0x4d2706(0x1))[_0xcbb36b(0x380)](_0x4d2626=>this[_0xcbb36b(0x3db)]['error'](_0xcbb36b(0x218),_0x4d2626)),_0x177c70[_0xcbb36b(0x37a)][_0xcbb36b(0x23f)](_0x4d2706(0x1))[_0xcbb36b(0x380)](()=>{var _0x540973=_0xcbb36b;this[_0x540973(0x408)](_0x177c70);}),_0x177c70[_0xcbb36b(0x333)]['pipe'](_0x4d2706(0x1))[_0xcbb36b(0x380)](_0x7ec506=>{var _0x5a2c1f=_0xcbb36b;this[_0x5a2c1f(0x3db)][_0x5a2c1f(0x3de)]('[CollaborationSessionService]',_0x5a2c1f(0x44c),_0x7ec506),this[_0x5a2c1f(0x345)]();});}}catch(_0x2b7339){this[_0xcbb36b(0x3db)][_0xcbb36b(0x41f)](_0x2b7339),this[_0xcbb36b(0x345)]();}}['_onConnectionOpen'](_0x2c05c5){var _0x120355=_0x3cfa54;this[_0x120355(0x3db)][_0x120355(0x3de)](_0x120355(0x213),_0x120355(0x288)),_0x2c05c5[_0x120355(0x332)]({'cmd':j[_0x120355(0x27f)]}),this[_0x120355(0x21e)]();}[_0x3cfa54(0x390)](){var _0x21a27a=_0x3cfa54;this[_0x21a27a(0x3ea)]=!0x1,this[_0x21a27a(0x1fb)]=null,this[_0x21a27a(0x23e)][_0x21a27a(0x428)](me[_0x21a27a(0x456)]),this['_socket$'][_0x21a27a(0x428)](null),this['_clearTimeoutTimer'](),this[_0x21a27a(0x305)]();}[_0x3cfa54(0x345)](){var _0x22ee72=_0x3cfa54,_0x30b2ad;this[_0x22ee72(0x390)](),this[_0x22ee72(0x39c)]<((_0x30b2ad=this['_configService'][_0x22ee72(0x371)](gs))!=null?_0x30b2ad:Ts)?(this[_0x22ee72(0x3e7)][_0x22ee72(0x272)]({'id':re[_0x22ee72(0x2f2)]}),this[_0x22ee72(0x4a5)]()):this[_0x22ee72(0x3e7)][_0x22ee72(0x272)]({'id':re['SOCKET_FAILED']});}[_0x3cfa54(0x4a5)](){var _0x1daa32=_0x3cfa54,_0x34dd9d;const _0x746f78=this[_0x1daa32(0x39c)],_0x765ba=this[_0x1daa32(0x335)][_0x1daa32(0x371)](K),_0x3d10df=_0x746f78===0x0?0x0:((_0x34dd9d=_0x765ba==null?void 0x0:_0x765ba[_0x1daa32(0x1d0)])!=null?_0x34dd9d:Ss)*0x2**_0x746f78;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5b81d0=_0x1daa32;clearTimeout(this[_0x5b81d0(0x33d)]),this[_0x5b81d0(0x33d)]=null,this[_0x5b81d0(0x205)]();},_0x3d10df),this['_retryCount']+=0x1;}[_0x3cfa54(0x23c)](_0x132d96,_0x39f71a){var _0x7fd8b8=_0x3cfa54;const {cmd:_0x209d45}=_0x39f71a;_0x209d45===j[_0x7fd8b8(0x27f)]&&!this[_0x7fd8b8(0x3ea)]&&(_0x132d96[_0x7fd8b8(0x1f8)]=_0x39f71a[_0x7fd8b8(0x298)][_0x7fd8b8(0x1f8)],this[_0x7fd8b8(0x410)][_0x7fd8b8(0x428)](_0x132d96),this[_0x7fd8b8(0x23e)][_0x7fd8b8(0x428)](me[_0x7fd8b8(0x3be)]),this[_0x7fd8b8(0x3ea)]=!0x0,this['_candidateSocket']=null),_0x209d45===j[_0x7fd8b8(0x1ce)]&&this[_0x7fd8b8(0x4bd)](),this[_0x7fd8b8(0x21e)]();}[_0x3cfa54(0x21e)](){var _0x572948=_0x3cfa54,_0x46ff09;this[_0x572948(0x305)](),this[_0x572948(0x283)]=setTimeout(()=>this[_0x572948(0x25d)](),(_0x46ff09=this[_0x572948(0x335)][_0x572948(0x371)](ms))!=null?_0x46ff09:Is);}[_0x3cfa54(0x25d)](){var _0x54028f=_0x3cfa54;this[_0x54028f(0x303)][_0x54028f(0x332)]({'cmd':j[_0x54028f(0x1ce)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x46095d=_0x3cfa54,_0x293fb4;this[_0x46095d(0x42e)]=setTimeout(()=>this[_0x46095d(0x345)](),(_0x293fb4=this['_configService'][_0x46095d(0x371)](di))!=null?_0x293fb4:fi);}['_clearHeartbeatTimer'](){var _0x35911a=_0x3cfa54;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x35911a(0x283)]),this[_0x35911a(0x283)]=null);}[_0x3cfa54(0x4bd)](){var _0x2e9f49=_0x3cfa54;this[_0x2e9f49(0x42e)]!=null&&(clearTimeout(this[_0x2e9f49(0x42e)]),this[_0x2e9f49(0x42e)]=null);}};we=Ks([Re(0x0,_0x179adb(_0x3be7b0)),Re(0x1,_0x21ac0b),Re(0x2,_0x9c29af),Re(0x3,Oi),Re(0x4,_0x179adb(ve)),Re(0x5,_0x26c487(Bs))],we);var qs=Object[_0x3cfa54(0x3f9)],zs=(_0x8bbea4,_0x3f308e,_0xe76bab,_0x200df4)=>{for(var _0x30cd7c=_0x200df4>0x1?void 0x0:_0x200df4?qs(_0x3f308e,_0xe76bab):_0x3f308e,_0x37069a=_0x8bbea4['length']-0x1,_0x22ff45;_0x37069a>=0x0;_0x37069a--)(_0x22ff45=_0x8bbea4[_0x37069a])&&(_0x30cd7c=_0x22ff45(_0x30cd7c)||_0x30cd7c);return _0x30cd7c;},Be=(_0x3a6e3b,_0x42e1f2)=>(_0x2d7461,_0x238a18)=>_0x42e1f2(_0x2d7461,_0x238a18,_0x3a6e3b);let nt=class extends _0x5157cb{constructor(_0x4adbd2,_0x3c77b3,_0x288904,_0x1dea4a){var _0x23935d=_0x3cfa54,_0x317681;super(),D(this,_0x23935d(0x322),new Map()),D(this,_0x23935d(0x3c9),new _0x5ae17f()),D(this,_0x23935d(0x471),this[_0x23935d(0x3c9)]['asObservable']()),(this[_0x23935d(0x1f0)]=_0x4adbd2,this[_0x23935d(0x2c7)]=_0x3c77b3,this[_0x23935d(0x335)]=_0x288904,this[_0x23935d(0x290)]=_0x1dea4a,((_0x317681=this['_configService'][_0x23935d(0x371)](K))==null?void 0x0:_0x317681[_0x23935d(0x45f)])!==!0x1&&this['_init']());}[_0x3cfa54(0x394)](){var _0x43405e=_0x3cfa54;super['dispose'](),this[_0x43405e(0x322)][_0x43405e(0x4b4)](_0x7fcea6=>_0x7fcea6[_0x43405e(0x394)]()),this[_0x43405e(0x322)][_0x43405e(0x316)]();}[_0x3cfa54(0x220)](_0x3ad57c){var _0x3685a4;return(_0x3685a4=this['_entities']['get'](_0x3ad57c))!=null?_0x3685a4:null;}[_0x3cfa54(0x2e7)](_0x28a7e4){var _0x14df68=_0x3cfa54;const _0x5d2818=this[_0x14df68(0x220)](_0x28a7e4);return _0x5d2818?_0x2476c7(_0x5d2818):this[_0x14df68(0x3c9)][_0x14df68(0x23f)](_0x4f5612(_0x38b197=>_0x38b197[_0x14df68(0x256)]===_0x28a7e4));}[_0x3cfa54(0x3bc)](_0x5242f1){var _0x2e9a26=_0x3cfa54;return _0x24c3ad(this[_0x2e9a26(0x2e7)](_0x5242f1)[_0x2e9a26(0x23f)](_0x1635e2(()=>{})));}[_0x3cfa54(0x3a1)](){var _0x18efb0=_0x3cfa54;this[_0x18efb0(0x290)][_0x18efb0(0x4a9)](_0x3ebcb6['UNIVER_SHEET'])['pipe'](_0x350db2(this[_0x18efb0(0x211)]),_0x512261(0x10))[_0x18efb0(0x380)](async _0x305b10=>{var _0x3debe5=_0x18efb0;const _0x5f304d=_0x305b10['getUnitId'](),_0x48da6a=await this[_0x3debe5(0x28f)](_0x5f304d,Q[_0x3debe5(0x263)]);this[_0x3debe5(0x322)]['set'](_0x5f304d,_0x48da6a);}),this['_univerInstanceService'][_0x18efb0(0x4a9)](_0x3ebcb6[_0x18efb0(0x2e5)])[_0x18efb0(0x23f)](_0x350db2(this[_0x18efb0(0x211)]),_0x512261(0x10))[_0x18efb0(0x23f)](_0x4f5612(_0x35b60f=>!_0x35b60f[_0x18efb0(0x429)]()[_0x18efb0(0x4bb)]('__')))['subscribe'](async _0x35c86e=>{var _0x1975c6=_0x18efb0;const _0x3c7bdb=_0x35c86e[_0x1975c6(0x429)](),_0x451012=await this[_0x1975c6(0x28f)](_0x3c7bdb,Q[_0x1975c6(0x2e5)]);this[_0x1975c6(0x322)][_0x1975c6(0x464)](_0x3c7bdb,_0x451012);}),_0x83d48(this[_0x18efb0(0x290)][_0x18efb0(0x293)](_0x3ebcb6[_0x18efb0(0x263)]),this[_0x18efb0(0x290)]['getTypeOfUnitDisposed$'](_0x3ebcb6[_0x18efb0(0x2e5)]))[_0x18efb0(0x23f)](_0x350db2(this[_0x18efb0(0x211)]))['subscribe'](_0x5ce1f0=>{var _0x5cf46a=_0x18efb0;const _0x37c4e5=_0x5ce1f0[_0x5cf46a(0x429)](),_0x3a6a76=this[_0x5cf46a(0x322)]['get'](_0x37c4e5);_0x3a6a76&&(_0x3a6a76['dispose'](),this['_entities']['delete'](_0x37c4e5));});}async['_startCollaboration'](_0x49363b,_0xfa8678){var _0x56e930=_0x3cfa54;const _0x5e82a9=await this[_0x56e930(0x2c7)][_0x56e930(0x25a)](_0x49363b),_0x4e6ed5=this['_injector']['createInstance'](this[_0x56e930(0x299)](_0xfa8678),_0x49363b,_0xfa8678,_0x5e82a9);return await _0x4e6ed5[_0x56e930(0x365)](),this[_0x56e930(0x3c9)][_0x56e930(0x428)](_0x4e6ed5),_0x4e6ed5;}[_0x3cfa54(0x299)](_0xdd401f){var _0x1e0d67=_0x3cfa54;switch(_0xdd401f){case Q[_0x1e0d67(0x2e5)]:return It;case Q[_0x1e0d67(0x263)]:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xdd401f);}}};nt=zs([Be(0x0,_0x179adb(_0x3be7b0)),Be(0x1,_0x179adb(we)),Be(0x2,_0x9c29af),Be(0x3,_0x2cb753)],nt);var Js=Object[_0x3cfa54(0x3f9)],Xs=(_0x155183,_0xf180be,_0x53dfca,_0x335fde)=>{var _0x3f33ca=_0x3cfa54;for(var _0x1d90b3=_0x335fde>0x1?void 0x0:_0x335fde?Js(_0xf180be,_0x53dfca):_0xf180be,_0x4b26b4=_0x155183[_0x3f33ca(0x38a)]-0x1,_0x288951;_0x4b26b4>=0x0;_0x4b26b4--)(_0x288951=_0x155183[_0x4b26b4])&&(_0x1d90b3=_0x288951(_0x1d90b3)||_0x1d90b3);return _0x1d90b3;},Wt=(_0x349bf0,_0x4aec9e)=>(_0x399dcb,_0x1ef017)=>_0x4aec9e(_0x399dcb,_0x1ef017,_0x349bf0);const Zs=_0x3cfa54(0x497),Qs=_0x3cfa54(0x4b2);let gt=class extends _0x349cb4{constructor(_0x2024c5,_0x35af17){var _0x49d8c5=_0x3cfa54;super(),this['_univerInstanceService']=_0x2024c5,this[_0x49d8c5(0x335)]=_0x35af17,this[_0x49d8c5(0x3a1)]();}[_0x3cfa54(0x3a1)](){var _0x37aef5=_0x3cfa54;this[_0x37aef5(0x1f2)](this['_univerInstanceService']['focused$'][_0x37aef5(0x380)](()=>{var _0x70faa4=_0x37aef5,_0x248eb7;const _0x4fa763=this[_0x70faa4(0x290)][_0x70faa4(0x2fa)]();let _0x4ed318=(_0x248eb7=this[_0x70faa4(0x335)][_0x70faa4(0x371)](Zs))!=null?_0x248eb7:Qs;_0x4fa763 instanceof _0x5b659b&&(_0x4ed318=_0x4fa763[_0x70faa4(0x357)]),document[_0x70faa4(0x2c8)]=_0x4ed318;}));}};gt=Xs([Wt(0x0,_0x2cb753),Wt(0x1,_0x9c29af)],gt);var en=Object[_0x3cfa54(0x3f9)],tn=(_0x1cc95f,_0x44596a,_0x20564c,_0x53e4de)=>{var _0x4ef02a=_0x3cfa54;for(var _0x2d8fed=_0x53e4de>0x1?void 0x0:_0x53e4de?en(_0x44596a,_0x20564c):_0x44596a,_0x23cb7b=_0x1cc95f[_0x4ef02a(0x38a)]-0x1,_0x3ee78e;_0x23cb7b>=0x0;_0x23cb7b--)(_0x3ee78e=_0x1cc95f[_0x23cb7b])&&(_0x2d8fed=_0x3ee78e(_0x2d8fed)||_0x2d8fed);return _0x2d8fed;},dt=(_0x3f61f5,_0x590c76)=>(_0x197ca6,_0x2f2541)=>_0x590c76(_0x197ca6,_0x2f2541,_0x3f61f5);let rt=class{constructor(_0x2f037a,_0x144b79,_0x413c94){var _0x232161=_0x3cfa54;this[_0x232161(0x335)]=_0x2f037a,this[_0x232161(0x4b3)]=_0x144b79,this['localeService']=_0x413c94,this['init']();}['init'](){var _0x1bc816=_0x3cfa54;this[_0x1bc816(0x4b3)][_0x1bc816(0x42c)]({'priority':0x1,'interceptor':(_0x104f00,_0x554417)=>_0x554417(_0x104f00)[_0x1bc816(0x23f)](_0x43a7b3(async _0x543221=>{var _0x4665bd=_0x1bc816;const _0x5bef3f=_0x543221;if(_0x5bef3f[_0x4665bd(0x4ab)]===0x191){if(typeof window>'u')throw new Error(_0x4665bd(0x292));if(window['confirm'](this[_0x4665bd(0x36b)]['t']('auth.needGotoLoginAlert'))){const _0x3f0c0b=window[_0x4665bd(0x206)](window[_0x4665bd(0x1fe)][_0x4665bd(0x2cf)]);window[_0x4665bd(0x1fe)][_0x4665bd(0x2cf)]=this[_0x4665bd(0x3c1)]()+_0x4665bd(0x3e4)+_0x3f0c0b;}}return _0x5bef3f;}))});}[_0x3cfa54(0x3c1)](){var _0x12eab2=_0x3cfa54,_0x42f3e8;const _0x5dc7c2=this[_0x12eab2(0x335)][_0x12eab2(0x371)](K);return(_0x42f3e8=_0x5dc7c2==null?void 0x0:_0x5dc7c2[_0x12eab2(0x49c)])!=null?_0x42f3e8:Rs;}};rt=tn([dt(0x0,_0x9c29af),dt(0x1,_0x179adb(_0x5ac30f)),dt(0x2,_0x179adb(_0x211543))],rt);var sn=Object[_0x3cfa54(0x3f9)],nn=(_0x216b90,_0x59cc00,_0x4f6444,_0x12b985)=>{for(var _0x582b82=_0x12b985>0x1?void 0x0:_0x12b985?sn(_0x59cc00,_0x4f6444):_0x59cc00,_0x24eba1=_0x216b90['length']-0x1,_0x51d216;_0x24eba1>=0x0;_0x24eba1--)(_0x51d216=_0x216b90[_0x24eba1])&&(_0x582b82=_0x51d216(_0x582b82)||_0x582b82);return _0x582b82;},Yt=(_0x21429d,_0x48d4a3)=>(_0x8b8f10,_0xc3aac)=>_0x48d4a3(_0x8b8f10,_0xc3aac,_0x21429d);const rn='/universer-api/authz';let Tt=class extends _0x349cb4{constructor(_0x51a090,_0x5d7e75){var _0x3ca718=_0x3cfa54;super(),this[_0x3ca718(0x37f)]=_0x51a090,this[_0x3ca718(0x335)]=_0x5d7e75,this['_initMergeInterceptor']();}[_0x3cfa54(0x3e9)](){var _0x2b55de=_0x3cfa54;const _0x2483b1=this;this[_0x2b55de(0x1f2)](this['_HTTPService'][_0x2b55de(0x42c)]({'priority':0x3e7,'interceptor':_0x17d603({'isMatch'(_0x469c7d){var _0x5db536=_0x2b55de,_0x565ca7;if(_0x469c7d[_0x5db536(0x362)]===_0x5db536(0x33a)&&((_0x565ca7=_0x469c7d['requestParams'])!=null&&_0x565ca7['body'])){const {objectID:_0x2b6cba,objectType:_0xcff30d}=_0x469c7d[_0x5db536(0x33f)][_0x5db536(0x1c7)]||{};if(!_0x2b6cba||_0xcff30d===void 0x0)return!0x1;const _0x5bf923=_0x2483b1['_getAPIPrefixPath']()+'/'+_0xcff30d+_0x5db536(0x242)+_0x2b6cba+'/allowed';if(_0x469c7d['url']===_0x5bf923)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x336b5f){var _0x336f5c=_0x2b55de,_0x5899be;return(_0x5899be=_0x336b5f[_0x336f5c(0x33f)])==null?void 0x0:_0x5899be[_0x336f5c(0x1c7)];},'mergeParamsToRequest'(_0x1323a1,_0x114ce6){var _0x320095=_0x2b55de;const _0x2d791b=_0x2483b1[_0x320095(0x4c7)]()+_0x320095(0x402),_0x338b90=_0x1323a1[_0x320095(0x210)]((_0x5a2775,_0xe5d94d)=>{var _0xa9ee8c=_0x320095;const {unitID:_0x50deef,objectID:_0x3e8389,objectType:_0x1f8e1f,actions:_0x35744d}=_0xe5d94d;return _0x5a2775[_0x50deef]||(_0x5a2775[_0x50deef]={}),_0x5a2775[_0x50deef][_0x3e8389]||(_0x5a2775[_0x50deef][_0x3e8389]={'objectID':_0x3e8389,'objectType':_0x1f8e1f,'actions':[]}),_0x5a2775[_0x50deef][_0x3e8389]['actions'][_0xa9ee8c(0x426)](..._0x35744d),_0x5a2775;},{}),_0x352d34=[];for(const _0x44469c in _0x338b90)for(const _0x3fcaf7 in _0x338b90[_0x44469c]){const {actions:_0x524cd3,objectType:_0xeb9dcc}=_0x338b90[_0x44469c][_0x3fcaf7],_0x3dce42=[...new Set(_0x524cd3)];_0x352d34[_0x320095(0x426)]({'unitID':_0x44469c,'objectID':_0x3fcaf7,'objectType':_0xeb9dcc,'actions':_0x3dce42});}return new _0x5a5abb(_0x320095(0x33a),_0x2d791b,{'headers':_0x114ce6['headers'],'withCredentials':_0x114ce6[_0x320095(0x363)],'responseType':_0x114ce6[_0x320095(0x296)],'body':{'requests':_0x352d34}});}},{'distributeResult'(_0xfd6324,_0x5bceb5){var _0x4546e5=_0x2b55de;const {objectActions:_0x395019}=_0xfd6324;return _0x5bceb5[_0x4546e5(0x29b)](_0xafd9c7=>{var _0x5ab9dd=_0x4546e5;const {unitID:_0x1bb94b,objectID:_0x1accd2,actions:_0x174540}=_0xafd9c7,_0x2176fa=_0x395019['find'](_0x55a495=>_0x55a495['unitID']===_0x1bb94b&&_0x55a495['objectID']===_0x1accd2),_0x56e9b2=_0x174540[_0x5ab9dd(0x29b)](_0x55d425=>_0x2176fa==null?void 0x0:_0x2176fa[_0x5ab9dd(0x4d1)]['find'](_0x4e9125=>_0x4e9125[_0x5ab9dd(0x3ee)]===_0x55d425))[_0x5ab9dd(0x3ff)](_0x20e9c7=>!!_0x20e9c7);return{'config':_0xafd9c7,'result':{'actions':_0x56e9b2,'error':_0xfd6324['error']}};});}})}));}[_0x3cfa54(0x4c7)](){var _0x2f2fcd=_0x3cfa54,_0x513616;const _0x50bd4b=this[_0x2f2fcd(0x335)][_0x2f2fcd(0x371)](K);return(_0x513616=_0x50bd4b==null?void 0x0:_0x50bd4b['authzUrl'])!=null?_0x513616:rn;}async[_0x3cfa54(0x487)](_0x482bf9){var _0x260004=_0x3cfa54;const _0xffb7fc=this['_getAPIPrefixPath']()+'/'+_0x482bf9[_0x260004(0x30d)]+_0x260004(0x2b1);return(await this[_0x260004(0x37f)]['post'](_0xffb7fc,{'body':_0x482bf9}))[_0x260004(0x1c7)][_0x260004(0x3dc)]||'';}async[_0x3cfa54(0x3c4)](_0x4dd1d2){var _0x499e8f=_0x3cfa54;const _0x354d5f=this[_0x499e8f(0x4c7)]()+_0x499e8f(0x2a8);return(await this[_0x499e8f(0x37f)][_0x499e8f(0x22f)](_0x354d5f,{'body':_0x4dd1d2}))['body'][_0x499e8f(0x266)];}async[_0x3cfa54(0x2e8)](_0x29f225){var _0x3f0b4e=_0x3cfa54,_0x13a42c,_0x1f9d8c;const _0xd805ee=this[_0x3f0b4e(0x4c7)]()+'/'+_0x29f225[_0x3f0b4e(0x30d)]+_0x3f0b4e(0x242)+_0x29f225['objectID'],_0x119ba2=await this[_0x3f0b4e(0x37f)][_0x3f0b4e(0x2ab)](_0xd805ee,{'body':_0x29f225});if(((_0x1f9d8c=(_0x13a42c=_0x119ba2==null?void 0x0:_0x119ba2[_0x3f0b4e(0x1c7)])==null?void 0x0:_0x13a42c[_0x3f0b4e(0x41f)])==null?void 0x0:_0x1f9d8c[_0x3f0b4e(0x243)])!==0x1)throw new Error(_0x3f0b4e(0x28a));}async['allowed'](_0x527af3){var _0x53bdd8=_0x3cfa54;const _0x1544ea=this[_0x53bdd8(0x4c7)]()+'/'+_0x527af3[_0x53bdd8(0x30d)]+'/object/'+_0x527af3['objectID']+_0x53bdd8(0x251);return(await this['_HTTPService'][_0x53bdd8(0x22f)](_0x1544ea,{'body':_0x527af3}))[_0x53bdd8(0x1c7)][_0x53bdd8(0x4d1)];}async[_0x3cfa54(0x39b)](_0x52c28d){var _0x192fff=_0x3cfa54;const _0x48729f=this[_0x192fff(0x4c7)]()+_0x192fff(0x402);return(await this[_0x192fff(0x37f)][_0x192fff(0x22f)](_0x48729f,{'body':{'requests':_0x52c28d}}))[_0x192fff(0x1c7)][_0x192fff(0x26e)];}async[_0x3cfa54(0x422)](_0x5a9aee){var _0x3995b3=_0x3cfa54;const _0x783775=this[_0x3995b3(0x4c7)]()+'/'+_0x5a9aee['objectType']+_0x3995b3(0x30f),_0x27492c=await this[_0x3995b3(0x37f)][_0x3995b3(0x22f)](_0x783775,{'body':_0x5a9aee});return{'roles':_0x27492c['body'][_0x3995b3(0x271)],'actions':_0x27492c['body'][_0x3995b3(0x4d1)]};}async[_0x3cfa54(0x448)](_0x540d90){var _0x34cfcf=_0x3cfa54;const _0x59aed8=this[_0x34cfcf(0x4c7)]()+'/collaborator';await this[_0x34cfcf(0x37f)][_0x34cfcf(0x1fc)](_0x59aed8,{'params':{'collaboratorID':_0x540d90[_0x34cfcf(0x2d1)],'objectID':_0x540d90['objectID'],'unitID':_0x540d90[_0x34cfcf(0x256)]}});}async[_0x3cfa54(0x4d0)](_0x1c1f9f){var _0x50d1e9=_0x3cfa54;const _0x22fca3=this[_0x50d1e9(0x4c7)]()+'/collaborator';await this['_HTTPService'][_0x50d1e9(0x3c5)](_0x22fca3,{'body':_0x1c1f9f});}async[_0x3cfa54(0x423)](_0x542513){var _0x26fde1=_0x3cfa54;const _0x12c0fa=this[_0x26fde1(0x4c7)]()+_0x26fde1(0x3c2);await this[_0x26fde1(0x37f)][_0x26fde1(0x22f)](_0x12c0fa,{'body':_0x542513});}async['listCollaborators'](_0x122247){var _0x4790c2=_0x3cfa54;const _0xba65=this[_0x4790c2(0x4c7)]()+_0x4790c2(0x3c2);return(await this[_0x4790c2(0x37f)][_0x4790c2(0x284)](_0xba65,{'params':{'objectID':_0x122247['objectID'],'unitID':_0x122247[_0x4790c2(0x256)]}}))['body']['collaborators'];}async[_0x3cfa54(0x370)](_0x47e172){var _0x2dbdca=_0x3cfa54;const _0x58e5ca=this['_getAPIPrefixPath']()+_0x2dbdca(0x3c2);await this['_HTTPService']['put'](_0x58e5ca,{'body':_0x47e172});}};Tt=nn([Yt(0x0,_0x179adb(_0x5ac30f)),Yt(0x1,_0x179adb(_0x9c29af))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4546a5){var _0x13d66d=_0x3cfa54;return _0x4546a5&&_0x4546a5[_0x13d66d(0x1ca)]&&Object['prototype'][_0x13d66d(0x42b)][_0x13d66d(0x485)](_0x4546a5,_0x13d66d(0x1ef))?_0x4546a5[_0x13d66d(0x1ef)]:_0x4546a5;}var Ve={'exports':{}};function an(_0xf8f81d){var _0x1f65a5=_0x3cfa54;throw new Error(_0x1f65a5(0x241)+_0xf8f81d+_0x1f65a5(0x39e));}var Ge={'exports':{}},on=Ge[_0x3cfa54(0x2d4)],Kt;function ie(){var _0x5380b6=_0x3cfa54;return Kt||(Kt=0x1,function(_0xb30938,_0x4638c3){(function(_0x4b6e66,_0x5e137f){var _0x2f1cb5=_0x3a85;_0xb30938[_0x2f1cb5(0x2d4)]=_0x5e137f();}(on,function(){var _0x396da1=_0x396da1||function(_0x5b06a6,_0x4c17dd){var _0x96d866=_0x3a85,_0x24d9b9;if(typeof window<'u'&&window['crypto']&&(_0x24d9b9=window[_0x96d866(0x36e)]),typeof self<'u'&&self[_0x96d866(0x36e)]&&(_0x24d9b9=self[_0x96d866(0x36e)]),typeof globalThis<'u'&&globalThis[_0x96d866(0x36e)]&&(_0x24d9b9=globalThis[_0x96d866(0x36e)]),!_0x24d9b9&&typeof window<'u'&&window[_0x96d866(0x473)]&&(_0x24d9b9=window[_0x96d866(0x473)]),!_0x24d9b9&&typeof ft<'u'&&ft['crypto']&&(_0x24d9b9=ft['crypto']),!_0x24d9b9&&typeof an==_0x96d866(0x2b8))try{_0x24d9b9=require('crypto');}catch{}var _0x1ad5c8=function(){var _0x1b17c4=_0x96d866;if(_0x24d9b9){if(typeof _0x24d9b9[_0x1b17c4(0x24a)]==_0x1b17c4(0x2b8))try{return _0x24d9b9[_0x1b17c4(0x24a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x24d9b9[_0x1b17c4(0x364)]==_0x1b17c4(0x2b8))try{return _0x24d9b9[_0x1b17c4(0x364)](0x4)[_0x1b17c4(0x21d)]();}catch{}}throw new Error(_0x1b17c4(0x449));},_0x3363f8=Object[_0x96d866(0x487)]||(function(){function _0x46f6ff(){}return function(_0x566945){var _0x3ab71e=_0x3a85,_0x4c68b0;return _0x46f6ff[_0x3ab71e(0x3a2)]=_0x566945,_0x4c68b0=new _0x46f6ff(),_0x46f6ff['prototype']=null,_0x4c68b0;};}()),_0x419c32={},_0x133759=_0x419c32[_0x96d866(0x328)]={},_0x3dd62c=_0x133759[_0x96d866(0x3bb)]=(function(){return{'extend':function(_0x5c7c6d){var _0x597de6=_0x3a85,_0x4f1471=_0x3363f8(this);return _0x5c7c6d&&_0x4f1471[_0x597de6(0x23b)](_0x5c7c6d),(!_0x4f1471[_0x597de6(0x42b)]('init')||this[_0x597de6(0x365)]===_0x4f1471['init'])&&(_0x4f1471[_0x597de6(0x365)]=function(){var _0x18670f=_0x597de6;_0x4f1471[_0x18670f(0x2fc)]['init'][_0x18670f(0x24c)](this,arguments);}),_0x4f1471['init'][_0x597de6(0x3a2)]=_0x4f1471,_0x4f1471[_0x597de6(0x2fc)]=this,_0x4f1471;},'create':function(){var _0xdadfee=_0x3a85,_0x88a908=this[_0xdadfee(0x1d5)]();return _0x88a908[_0xdadfee(0x365)][_0xdadfee(0x24c)](_0x88a908,arguments),_0x88a908;},'init':function(){},'mixIn':function(_0xed3088){var _0x2cff24=_0x3a85;for(var _0x145a02 in _0xed3088)_0xed3088[_0x2cff24(0x42b)](_0x145a02)&&(this[_0x145a02]=_0xed3088[_0x145a02]);_0xed3088[_0x2cff24(0x42b)]('toString')&&(this[_0x2cff24(0x32e)]=_0xed3088[_0x2cff24(0x32e)]);},'clone':function(){var _0x5c2234=_0x3a85;return this[_0x5c2234(0x365)][_0x5c2234(0x3a2)][_0x5c2234(0x1d5)](this);}};}()),_0x1ffbd3=_0x133759['WordArray']=_0x3dd62c['extend']({'init':function(_0x5d9543,_0x3c6ee){var _0x476ce0=_0x96d866;_0x5d9543=this[_0x476ce0(0x463)]=_0x5d9543||[],_0x3c6ee!=_0x4c17dd?this[_0x476ce0(0x287)]=_0x3c6ee:this[_0x476ce0(0x287)]=_0x5d9543[_0x476ce0(0x38a)]*0x4;},'toString':function(_0x281c5a){var _0x3217d3=_0x96d866;return(_0x281c5a||_0x4c1a9d)[_0x3217d3(0x2b6)](this);},'concat':function(_0x368a7){var _0x2175ad=_0x96d866,_0x3b834f=this[_0x2175ad(0x463)],_0x322b93=_0x368a7[_0x2175ad(0x463)],_0x336a23=this['sigBytes'],_0x2afcd7=_0x368a7['sigBytes'];if(this[_0x2175ad(0x207)](),_0x336a23%0x4)for(var _0x3c1df8=0x0;_0x3c1df8<_0x2afcd7;_0x3c1df8++){var _0x1fa5aa=_0x322b93[_0x3c1df8>>>0x2]>>>0x18-_0x3c1df8%0x4*0x8&0xff;_0x3b834f[_0x336a23+_0x3c1df8>>>0x2]|=_0x1fa5aa<<0x18-(_0x336a23+_0x3c1df8)%0x4*0x8;}else{for(var _0x44e3c8=0x0;_0x44e3c8<_0x2afcd7;_0x44e3c8+=0x4)_0x3b834f[_0x336a23+_0x44e3c8>>>0x2]=_0x322b93[_0x44e3c8>>>0x2];}return this['sigBytes']+=_0x2afcd7,this;},'clamp':function(){var _0x4ee4f4=_0x96d866,_0xed0b74=this[_0x4ee4f4(0x463)],_0x17223b=this[_0x4ee4f4(0x287)];_0xed0b74[_0x17223b>>>0x2]&=0xffffffff<<0x20-_0x17223b%0x4*0x8,_0xed0b74[_0x4ee4f4(0x38a)]=_0x5b06a6['ceil'](_0x17223b/0x4);},'clone':function(){var _0x200ab0=_0x96d866,_0x113e15=_0x3dd62c[_0x200ab0(0x3d5)][_0x200ab0(0x485)](this);return _0x113e15[_0x200ab0(0x463)]=this[_0x200ab0(0x463)]['slice'](0x0),_0x113e15;},'random':function(_0x5632af){var _0x3146ad=_0x96d866;for(var _0x499966=[],_0x1f8986=0x0;_0x1f8986<_0x5632af;_0x1f8986+=0x4)_0x499966[_0x3146ad(0x426)](_0x1ad5c8());return new _0x1ffbd3[(_0x3146ad(0x365))](_0x499966,_0x5632af);}}),_0x4015d0=_0x419c32[_0x96d866(0x47d)]={},_0x4c1a9d=_0x4015d0[_0x96d866(0x2ac)]={'stringify':function(_0x17271e){var _0x283767=_0x96d866;for(var _0x4d0b7f=_0x17271e['words'],_0x4d638b=_0x17271e[_0x283767(0x287)],_0x7cca7b=[],_0x470cbf=0x0;_0x470cbf<_0x4d638b;_0x470cbf++){var _0x5f4c45=_0x4d0b7f[_0x470cbf>>>0x2]>>>0x18-_0x470cbf%0x4*0x8&0xff;_0x7cca7b[_0x283767(0x426)]((_0x5f4c45>>>0x4)['toString'](0x10)),_0x7cca7b[_0x283767(0x426)]((_0x5f4c45&0xf)[_0x283767(0x32e)](0x10));}return _0x7cca7b[_0x283767(0x3d2)]('');},'parse':function(_0x1613ca){var _0x2bc6f7=_0x96d866;for(var _0x4fe67b=_0x1613ca[_0x2bc6f7(0x38a)],_0x59824c=[],_0x4a10a1=0x0;_0x4a10a1<_0x4fe67b;_0x4a10a1+=0x2)_0x59824c[_0x4a10a1>>>0x3]|=parseInt(_0x1613ca[_0x2bc6f7(0x359)](_0x4a10a1,0x2),0x10)<<0x18-_0x4a10a1%0x8*0x4;return new _0x1ffbd3['init'](_0x59824c,_0x4fe67b/0x2);}},_0x9eed05=_0x4015d0[_0x96d866(0x212)]={'stringify':function(_0x749c93){var _0x56c2fd=_0x96d866;for(var _0x5717ac=_0x749c93[_0x56c2fd(0x463)],_0x596236=_0x749c93[_0x56c2fd(0x287)],_0x24ca4c=[],_0x21610b=0x0;_0x21610b<_0x596236;_0x21610b++){var _0x23d0f6=_0x5717ac[_0x21610b>>>0x2]>>>0x18-_0x21610b%0x4*0x8&0xff;_0x24ca4c[_0x56c2fd(0x426)](String['fromCharCode'](_0x23d0f6));}return _0x24ca4c[_0x56c2fd(0x3d2)]('');},'parse':function(_0x3e0e47){var _0x1a4248=_0x96d866;for(var _0x195f2c=_0x3e0e47[_0x1a4248(0x38a)],_0x77403f=[],_0x31d3c0=0x0;_0x31d3c0<_0x195f2c;_0x31d3c0++)_0x77403f[_0x31d3c0>>>0x2]|=(_0x3e0e47['charCodeAt'](_0x31d3c0)&0xff)<<0x18-_0x31d3c0%0x4*0x8;return new _0x1ffbd3['init'](_0x77403f,_0x195f2c);}},_0x763aa6=_0x4015d0[_0x96d866(0x39f)]={'stringify':function(_0x5ca3cb){var _0xb943ec=_0x96d866;try{return decodeURIComponent(escape(_0x9eed05[_0xb943ec(0x2b6)](_0x5ca3cb)));}catch{throw new Error(_0xb943ec(0x451));}},'parse':function(_0x254d23){var _0x3d17b9=_0x96d866;return _0x9eed05[_0x3d17b9(0x368)](unescape(encodeURIComponent(_0x254d23)));}},_0x351fd3=_0x133759[_0x96d866(0x375)]=_0x3dd62c[_0x96d866(0x1d5)]({'reset':function(){var _0x418c96=_0x96d866;this[_0x418c96(0x366)]=new _0x1ffbd3[(_0x418c96(0x365))](),this['_nDataBytes']=0x0;},'_append':function(_0x2cd5ae){var _0x1e6d8e=_0x96d866;typeof _0x2cd5ae==_0x1e6d8e(0x4a3)&&(_0x2cd5ae=_0x763aa6['parse'](_0x2cd5ae)),this[_0x1e6d8e(0x366)][_0x1e6d8e(0x3f7)](_0x2cd5ae),this['_nDataBytes']+=_0x2cd5ae[_0x1e6d8e(0x287)];},'_process':function(_0x8128e1){var _0x4e8e84=_0x96d866,_0x38efce,_0x35c923=this[_0x4e8e84(0x366)],_0x73869f=_0x35c923[_0x4e8e84(0x463)],_0x2dda34=_0x35c923[_0x4e8e84(0x287)],_0x23a580=this[_0x4e8e84(0x25c)],_0xee93e0=_0x23a580*0x4,_0x286d2e=_0x2dda34/_0xee93e0;_0x8128e1?_0x286d2e=_0x5b06a6[_0x4e8e84(0x2f5)](_0x286d2e):_0x286d2e=_0x5b06a6[_0x4e8e84(0x3ad)]((_0x286d2e|0x0)-this[_0x4e8e84(0x33c)],0x0);var _0x11cb65=_0x286d2e*_0x23a580,_0x4294b7=_0x5b06a6[_0x4e8e84(0x3c6)](_0x11cb65*0x4,_0x2dda34);if(_0x11cb65){for(var _0x3bcc74=0x0;_0x3bcc74<_0x11cb65;_0x3bcc74+=_0x23a580)this[_0x4e8e84(0x4bc)](_0x73869f,_0x3bcc74);_0x38efce=_0x73869f[_0x4e8e84(0x416)](0x0,_0x11cb65),_0x35c923[_0x4e8e84(0x287)]-=_0x4294b7;}return new _0x1ffbd3['init'](_0x38efce,_0x4294b7);},'clone':function(){var _0x1c4fd0=_0x96d866,_0x3f2db9=_0x3dd62c[_0x1c4fd0(0x3d5)][_0x1c4fd0(0x485)](this);return _0x3f2db9['_data']=this['_data']['clone'](),_0x3f2db9;},'_minBufferSize':0x0});_0x133759[_0x96d866(0x45b)]=_0x351fd3['extend']({'cfg':_0x3dd62c[_0x96d866(0x1d5)](),'init':function(_0x4ce72a){var _0x1531ae=_0x96d866;this['cfg']=this[_0x1531ae(0x3cc)][_0x1531ae(0x1d5)](_0x4ce72a),this['reset']();},'reset':function(){var _0x338b40=_0x96d866;_0x351fd3[_0x338b40(0x377)][_0x338b40(0x485)](this),this[_0x338b40(0x279)]();},'update':function(_0x4c0520){var _0x21a404=_0x96d866;return this[_0x21a404(0x31c)](_0x4c0520),this[_0x21a404(0x47c)](),this;},'finalize':function(_0x396f15){var _0x488fdf=_0x96d866;_0x396f15&&this[_0x488fdf(0x31c)](_0x396f15);var _0x332a19=this[_0x488fdf(0x3ce)]();return _0x332a19;},'blockSize':0x10,'_createHelper':function(_0x180501){return function(_0x18acf4,_0x5b0f56){var _0x5a8e16=_0x3a85;return new _0x180501['init'](_0x5b0f56)[_0x5a8e16(0x3df)](_0x18acf4);};},'_createHmacHelper':function(_0x26bfaf){return function(_0x3c6d1c,_0x115f2d){var _0x18feb0=_0x3a85;return new _0x4b7bfe[(_0x18feb0(0x321))][(_0x18feb0(0x365))](_0x26bfaf,_0x115f2d)['finalize'](_0x3c6d1c);};}});var _0x4b7bfe=_0x419c32['algo']={};return _0x419c32;}(Math);return _0x396da1;}));}(Ge)),Ge[_0x5380b6(0x2d4)];}var We={'exports':{}},cn=We['exports'],qt;function Ri(){return qt||(qt=0x1,function(_0x2f47fd,_0x982547){(function(_0x4c5818,_0x9f3088){_0x2f47fd['exports']=_0x9f3088(ie());}(cn,function(_0x5279ba){var _0xd28ec8=_0x3a85;return(function(){var _0x43bd2e=_0x3a85,_0x362a62=_0x5279ba,_0x39872e=_0x362a62['lib'],_0x2c8654=_0x39872e[_0x43bd2e(0x4d8)],_0x38547c=_0x362a62[_0x43bd2e(0x47d)];_0x38547c['Base64']={'stringify':function(_0x2a052c){var _0x5a9353=_0x43bd2e,_0x20f91a=_0x2a052c[_0x5a9353(0x463)],_0x395408=_0x2a052c['sigBytes'],_0x5c8e53=this[_0x5a9353(0x478)];_0x2a052c['clamp']();for(var _0x5b07ce=[],_0x557af9=0x0;_0x557af9<_0x395408;_0x557af9+=0x3)for(var _0x53bf4a=_0x20f91a[_0x557af9>>>0x2]>>>0x18-_0x557af9%0x4*0x8&0xff,_0x2ccd62=_0x20f91a[_0x557af9+0x1>>>0x2]>>>0x18-(_0x557af9+0x1)%0x4*0x8&0xff,_0xcd6749=_0x20f91a[_0x557af9+0x2>>>0x2]>>>0x18-(_0x557af9+0x2)%0x4*0x8&0xff,_0x698e35=_0x53bf4a<<0x10|_0x2ccd62<<0x8|_0xcd6749,_0x97162=0x0;_0x97162<0x4&&_0x557af9+_0x97162*0.75<_0x395408;_0x97162++)_0x5b07ce['push'](_0x5c8e53[_0x5a9353(0x3d3)](_0x698e35>>>0x6*(0x3-_0x97162)&0x3f));var _0x20109f=_0x5c8e53[_0x5a9353(0x3d3)](0x40);if(_0x20109f){for(;_0x5b07ce[_0x5a9353(0x38a)]%0x4;)_0x5b07ce[_0x5a9353(0x426)](_0x20109f);}return _0x5b07ce[_0x5a9353(0x3d2)]('');},'parse':function(_0x57adb5){var _0x5efc36=_0x43bd2e,_0x4384cd=_0x57adb5['length'],_0x32af87=this[_0x5efc36(0x478)],_0x5625e0=this[_0x5efc36(0x40a)];if(!_0x5625e0){_0x5625e0=this['_reverseMap']=[];for(var _0x329531=0x0;_0x329531<_0x32af87[_0x5efc36(0x38a)];_0x329531++)_0x5625e0[_0x32af87[_0x5efc36(0x4c4)](_0x329531)]=_0x329531;}var _0x60190d=_0x32af87['charAt'](0x40);if(_0x60190d){var _0x413387=_0x57adb5[_0x5efc36(0x399)](_0x60190d);_0x413387!==-0x1&&(_0x4384cd=_0x413387);}return _0x325b67(_0x57adb5,_0x4384cd,_0x5625e0);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x325b67(_0x377fbf,_0x4b356d,_0x2df61e){var _0x5dffec=_0x43bd2e;for(var _0x3cf150=[],_0x3c03fd=0x0,_0x3bbf87=0x0;_0x3bbf87<_0x4b356d;_0x3bbf87++)if(_0x3bbf87%0x4){var _0x9b6776=_0x2df61e[_0x377fbf['charCodeAt'](_0x3bbf87-0x1)]<<_0x3bbf87%0x4*0x2,_0x36ed6d=_0x2df61e[_0x377fbf[_0x5dffec(0x4c4)](_0x3bbf87)]>>>0x6-_0x3bbf87%0x4*0x2,_0x3a8c83=_0x9b6776|_0x36ed6d;_0x3cf150[_0x3c03fd>>>0x2]|=_0x3a8c83<<0x18-_0x3c03fd%0x4*0x8,_0x3c03fd++;}return _0x2c8654['create'](_0x3cf150,_0x3c03fd);}}()),_0x5279ba[_0xd28ec8(0x47d)][_0xd28ec8(0x3b3)];}));}(We)),We['exports'];}var Ye={'exports':{}},_n=Ye[_0x3cfa54(0x2d4)],zt;function hn(){var _0x28538b=_0x3cfa54;return zt||(zt=0x1,function(_0x1a9d70,_0x2bea04){(function(_0x53df3f,_0x20f612){_0x1a9d70['exports']=_0x20f612(ie());}(_n,function(_0x3b6269){var _0x28e751=_0x3a85;return function(_0x54f899){var _0x3a9159=_0x3a85,_0x44cc07=_0x3b6269,_0x456fce=_0x44cc07[_0x3a9159(0x328)],_0xffc8c7=_0x456fce[_0x3a9159(0x4d8)],_0x459b4f=_0x456fce[_0x3a9159(0x45b)],_0x25b674=_0x44cc07[_0x3a9159(0x477)],_0x29bd6c=[];(function(){var _0x1b2816=_0x3a9159;for(var _0x4e9579=0x0;_0x4e9579<0x40;_0x4e9579++)_0x29bd6c[_0x4e9579]=_0x54f899[_0x1b2816(0x4c2)](_0x54f899['sin'](_0x4e9579+0x1))*0x100000000|0x0;}());var _0x16d88e=_0x25b674['MD5']=_0x459b4f[_0x3a9159(0x1d5)]({'_doReset':function(){var _0x28a05f=_0x3a9159;this[_0x28a05f(0x2e0)]=new _0xffc8c7[(_0x28a05f(0x365))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2710e1,_0x15a568){var _0x2b56f3=_0x3a9159;for(var _0x56d040=0x0;_0x56d040<0x10;_0x56d040++){var _0x3bd236=_0x15a568+_0x56d040,_0x393777=_0x2710e1[_0x3bd236];_0x2710e1[_0x3bd236]=(_0x393777<<0x8|_0x393777>>>0x18)&0xff00ff|(_0x393777<<0x18|_0x393777>>>0x8)&0xff00ff00;}var _0x70d38e=this['_hash'][_0x2b56f3(0x463)],_0x438799=_0x2710e1[_0x15a568+0x0],_0xddcbcb=_0x2710e1[_0x15a568+0x1],_0x28b33d=_0x2710e1[_0x15a568+0x2],_0x381222=_0x2710e1[_0x15a568+0x3],_0x475f72=_0x2710e1[_0x15a568+0x4],_0x4377ba=_0x2710e1[_0x15a568+0x5],_0x198cc1=_0x2710e1[_0x15a568+0x6],_0x4bc306=_0x2710e1[_0x15a568+0x7],_0x244b0d=_0x2710e1[_0x15a568+0x8],_0x539304=_0x2710e1[_0x15a568+0x9],_0x13fee3=_0x2710e1[_0x15a568+0xa],_0xec280a=_0x2710e1[_0x15a568+0xb],_0x24a814=_0x2710e1[_0x15a568+0xc],_0x1b68e5=_0x2710e1[_0x15a568+0xd],_0x1ada00=_0x2710e1[_0x15a568+0xe],_0x46e615=_0x2710e1[_0x15a568+0xf],_0x51f93e=_0x70d38e[0x0],_0x1f42c4=_0x70d38e[0x1],_0x51bc3c=_0x70d38e[0x2],_0x182f6c=_0x70d38e[0x3];_0x51f93e=_0x45da41(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x438799,0x7,_0x29bd6c[0x0]),_0x182f6c=_0x45da41(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0xddcbcb,0xc,_0x29bd6c[0x1]),_0x51bc3c=_0x45da41(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x28b33d,0x11,_0x29bd6c[0x2]),_0x1f42c4=_0x45da41(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x381222,0x16,_0x29bd6c[0x3]),_0x51f93e=_0x45da41(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x475f72,0x7,_0x29bd6c[0x4]),_0x182f6c=_0x45da41(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x4377ba,0xc,_0x29bd6c[0x5]),_0x51bc3c=_0x45da41(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x198cc1,0x11,_0x29bd6c[0x6]),_0x1f42c4=_0x45da41(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x4bc306,0x16,_0x29bd6c[0x7]),_0x51f93e=_0x45da41(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x244b0d,0x7,_0x29bd6c[0x8]),_0x182f6c=_0x45da41(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x539304,0xc,_0x29bd6c[0x9]),_0x51bc3c=_0x45da41(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x13fee3,0x11,_0x29bd6c[0xa]),_0x1f42c4=_0x45da41(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0xec280a,0x16,_0x29bd6c[0xb]),_0x51f93e=_0x45da41(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x24a814,0x7,_0x29bd6c[0xc]),_0x182f6c=_0x45da41(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x1b68e5,0xc,_0x29bd6c[0xd]),_0x51bc3c=_0x45da41(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x1ada00,0x11,_0x29bd6c[0xe]),_0x1f42c4=_0x45da41(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x46e615,0x16,_0x29bd6c[0xf]),_0x51f93e=_0x13674f(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0xddcbcb,0x5,_0x29bd6c[0x10]),_0x182f6c=_0x13674f(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x198cc1,0x9,_0x29bd6c[0x11]),_0x51bc3c=_0x13674f(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0xec280a,0xe,_0x29bd6c[0x12]),_0x1f42c4=_0x13674f(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x438799,0x14,_0x29bd6c[0x13]),_0x51f93e=_0x13674f(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x4377ba,0x5,_0x29bd6c[0x14]),_0x182f6c=_0x13674f(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x13fee3,0x9,_0x29bd6c[0x15]),_0x51bc3c=_0x13674f(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x46e615,0xe,_0x29bd6c[0x16]),_0x1f42c4=_0x13674f(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x475f72,0x14,_0x29bd6c[0x17]),_0x51f93e=_0x13674f(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x539304,0x5,_0x29bd6c[0x18]),_0x182f6c=_0x13674f(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x1ada00,0x9,_0x29bd6c[0x19]),_0x51bc3c=_0x13674f(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x381222,0xe,_0x29bd6c[0x1a]),_0x1f42c4=_0x13674f(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x244b0d,0x14,_0x29bd6c[0x1b]),_0x51f93e=_0x13674f(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x1b68e5,0x5,_0x29bd6c[0x1c]),_0x182f6c=_0x13674f(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x28b33d,0x9,_0x29bd6c[0x1d]),_0x51bc3c=_0x13674f(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x4bc306,0xe,_0x29bd6c[0x1e]),_0x1f42c4=_0x13674f(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x24a814,0x14,_0x29bd6c[0x1f]),_0x51f93e=_0x4e154c(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x4377ba,0x4,_0x29bd6c[0x20]),_0x182f6c=_0x4e154c(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x244b0d,0xb,_0x29bd6c[0x21]),_0x51bc3c=_0x4e154c(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0xec280a,0x10,_0x29bd6c[0x22]),_0x1f42c4=_0x4e154c(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x1ada00,0x17,_0x29bd6c[0x23]),_0x51f93e=_0x4e154c(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0xddcbcb,0x4,_0x29bd6c[0x24]),_0x182f6c=_0x4e154c(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x475f72,0xb,_0x29bd6c[0x25]),_0x51bc3c=_0x4e154c(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x4bc306,0x10,_0x29bd6c[0x26]),_0x1f42c4=_0x4e154c(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x13fee3,0x17,_0x29bd6c[0x27]),_0x51f93e=_0x4e154c(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x1b68e5,0x4,_0x29bd6c[0x28]),_0x182f6c=_0x4e154c(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x438799,0xb,_0x29bd6c[0x29]),_0x51bc3c=_0x4e154c(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x381222,0x10,_0x29bd6c[0x2a]),_0x1f42c4=_0x4e154c(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x198cc1,0x17,_0x29bd6c[0x2b]),_0x51f93e=_0x4e154c(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x539304,0x4,_0x29bd6c[0x2c]),_0x182f6c=_0x4e154c(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x24a814,0xb,_0x29bd6c[0x2d]),_0x51bc3c=_0x4e154c(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x46e615,0x10,_0x29bd6c[0x2e]),_0x1f42c4=_0x4e154c(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x28b33d,0x17,_0x29bd6c[0x2f]),_0x51f93e=_0x4134e1(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x438799,0x6,_0x29bd6c[0x30]),_0x182f6c=_0x4134e1(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x4bc306,0xa,_0x29bd6c[0x31]),_0x51bc3c=_0x4134e1(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x1ada00,0xf,_0x29bd6c[0x32]),_0x1f42c4=_0x4134e1(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x4377ba,0x15,_0x29bd6c[0x33]),_0x51f93e=_0x4134e1(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x24a814,0x6,_0x29bd6c[0x34]),_0x182f6c=_0x4134e1(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x381222,0xa,_0x29bd6c[0x35]),_0x51bc3c=_0x4134e1(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x13fee3,0xf,_0x29bd6c[0x36]),_0x1f42c4=_0x4134e1(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0xddcbcb,0x15,_0x29bd6c[0x37]),_0x51f93e=_0x4134e1(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x244b0d,0x6,_0x29bd6c[0x38]),_0x182f6c=_0x4134e1(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0x46e615,0xa,_0x29bd6c[0x39]),_0x51bc3c=_0x4134e1(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x198cc1,0xf,_0x29bd6c[0x3a]),_0x1f42c4=_0x4134e1(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x1b68e5,0x15,_0x29bd6c[0x3b]),_0x51f93e=_0x4134e1(_0x51f93e,_0x1f42c4,_0x51bc3c,_0x182f6c,_0x475f72,0x6,_0x29bd6c[0x3c]),_0x182f6c=_0x4134e1(_0x182f6c,_0x51f93e,_0x1f42c4,_0x51bc3c,_0xec280a,0xa,_0x29bd6c[0x3d]),_0x51bc3c=_0x4134e1(_0x51bc3c,_0x182f6c,_0x51f93e,_0x1f42c4,_0x28b33d,0xf,_0x29bd6c[0x3e]),_0x1f42c4=_0x4134e1(_0x1f42c4,_0x51bc3c,_0x182f6c,_0x51f93e,_0x539304,0x15,_0x29bd6c[0x3f]),_0x70d38e[0x0]=_0x70d38e[0x0]+_0x51f93e|0x0,_0x70d38e[0x1]=_0x70d38e[0x1]+_0x1f42c4|0x0,_0x70d38e[0x2]=_0x70d38e[0x2]+_0x51bc3c|0x0,_0x70d38e[0x3]=_0x70d38e[0x3]+_0x182f6c|0x0;},'_doFinalize':function(){var _0x38beda=_0x3a9159,_0x15cad2=this['_data'],_0x432993=_0x15cad2['words'],_0x3861fc=this['_nDataBytes']*0x8,_0x518478=_0x15cad2[_0x38beda(0x287)]*0x8;_0x432993[_0x518478>>>0x5]|=0x80<<0x18-_0x518478%0x20;var _0x316abc=_0x54f899[_0x38beda(0x228)](_0x3861fc/0x100000000),_0xda1336=_0x3861fc;_0x432993[(_0x518478+0x40>>>0x9<<0x4)+0xf]=(_0x316abc<<0x8|_0x316abc>>>0x18)&0xff00ff|(_0x316abc<<0x18|_0x316abc>>>0x8)&0xff00ff00,_0x432993[(_0x518478+0x40>>>0x9<<0x4)+0xe]=(_0xda1336<<0x8|_0xda1336>>>0x18)&0xff00ff|(_0xda1336<<0x18|_0xda1336>>>0x8)&0xff00ff00,_0x15cad2[_0x38beda(0x287)]=(_0x432993[_0x38beda(0x38a)]+0x1)*0x4,this[_0x38beda(0x47c)]();for(var _0x61732c=this[_0x38beda(0x2e0)],_0x561b85=_0x61732c[_0x38beda(0x463)],_0x3e265a=0x0;_0x3e265a<0x4;_0x3e265a++){var _0x330bef=_0x561b85[_0x3e265a];_0x561b85[_0x3e265a]=(_0x330bef<<0x8|_0x330bef>>>0x18)&0xff00ff|(_0x330bef<<0x18|_0x330bef>>>0x8)&0xff00ff00;}return _0x61732c;},'clone':function(){var _0x1c3729=_0x3a9159,_0x120fcd=_0x459b4f['clone'][_0x1c3729(0x485)](this);return _0x120fcd[_0x1c3729(0x2e0)]=this[_0x1c3729(0x2e0)][_0x1c3729(0x3d5)](),_0x120fcd;}});function _0x45da41(_0x55a7e2,_0x978b86,_0x348595,_0x186e30,_0x6872a4,_0x57f3d5,_0x1a1ecf){var _0x54affb=_0x55a7e2+(_0x978b86&_0x348595|~_0x978b86&_0x186e30)+_0x6872a4+_0x1a1ecf;return(_0x54affb<<_0x57f3d5|_0x54affb>>>0x20-_0x57f3d5)+_0x978b86;}function _0x13674f(_0x5a4d96,_0x39c1bc,_0x433b3d,_0x2ebdbe,_0x574b93,_0x4af5d5,_0x5996cf){var _0x4d5884=_0x5a4d96+(_0x39c1bc&_0x2ebdbe|_0x433b3d&~_0x2ebdbe)+_0x574b93+_0x5996cf;return(_0x4d5884<<_0x4af5d5|_0x4d5884>>>0x20-_0x4af5d5)+_0x39c1bc;}function _0x4e154c(_0x426959,_0x26a795,_0x3d63ed,_0x238ec6,_0x21555a,_0x39d5ed,_0x1c3df9){var _0xc26a3d=_0x426959+(_0x26a795^_0x3d63ed^_0x238ec6)+_0x21555a+_0x1c3df9;return(_0xc26a3d<<_0x39d5ed|_0xc26a3d>>>0x20-_0x39d5ed)+_0x26a795;}function _0x4134e1(_0x2dcbd9,_0x21c9ad,_0x5b34b0,_0x4bd4e5,_0x57690a,_0x49b5ae,_0x5b5879){var _0x10f34d=_0x2dcbd9+(_0x5b34b0^(_0x21c9ad|~_0x4bd4e5))+_0x57690a+_0x5b5879;return(_0x10f34d<<_0x49b5ae|_0x10f34d>>>0x20-_0x49b5ae)+_0x21c9ad;}_0x44cc07['MD5']=_0x459b4f[_0x3a9159(0x3ef)](_0x16d88e),_0x44cc07[_0x3a9159(0x392)]=_0x459b4f[_0x3a9159(0x438)](_0x16d88e);}(Math),_0x3b6269[_0x28e751(0x2e3)];}));}(Ye)),Ye[_0x28538b(0x2d4)];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x3cfa54(0x2d4)],Jt;function un(){var _0x6795b4=_0x3cfa54;return Jt||(Jt=0x1,function(_0x491aa2,_0x57e2c9){(function(_0x5992e2,_0x3b92db){var _0x4f0987=_0x3a85;_0x491aa2[_0x4f0987(0x2d4)]=_0x3b92db(ie());}(ln,function(_0x28f935){return(function(){var _0x2ed937=_0x3a85,_0x200a45=_0x28f935,_0x214f74=_0x200a45['lib'],_0x2e85e1=_0x214f74[_0x2ed937(0x4d8)],_0x55d57a=_0x214f74[_0x2ed937(0x45b)],_0x234374=_0x200a45[_0x2ed937(0x477)],_0x591d87=[],_0x51a781=_0x234374[_0x2ed937(0x1c4)]=_0x55d57a[_0x2ed937(0x1d5)]({'_doReset':function(){var _0x5ad8fb=_0x2ed937;this['_hash']=new _0x2e85e1[(_0x5ad8fb(0x365))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x41bfc4,_0xe6bdf8){var _0x419ad6=_0x2ed937;for(var _0x5d57c2=this[_0x419ad6(0x2e0)][_0x419ad6(0x463)],_0x4c87bb=_0x5d57c2[0x0],_0x2c1e88=_0x5d57c2[0x1],_0x181c32=_0x5d57c2[0x2],_0x299faa=_0x5d57c2[0x3],_0x432769=_0x5d57c2[0x4],_0x1ea8cf=0x0;_0x1ea8cf<0x50;_0x1ea8cf++){if(_0x1ea8cf<0x10)_0x591d87[_0x1ea8cf]=_0x41bfc4[_0xe6bdf8+_0x1ea8cf]|0x0;else{var _0x5d21c4=_0x591d87[_0x1ea8cf-0x3]^_0x591d87[_0x1ea8cf-0x8]^_0x591d87[_0x1ea8cf-0xe]^_0x591d87[_0x1ea8cf-0x10];_0x591d87[_0x1ea8cf]=_0x5d21c4<<0x1|_0x5d21c4>>>0x1f;}var _0x32e7dd=(_0x4c87bb<<0x5|_0x4c87bb>>>0x1b)+_0x432769+_0x591d87[_0x1ea8cf];_0x1ea8cf<0x14?_0x32e7dd+=(_0x2c1e88&_0x181c32|~_0x2c1e88&_0x299faa)+0x5a827999:_0x1ea8cf<0x28?_0x32e7dd+=(_0x2c1e88^_0x181c32^_0x299faa)+0x6ed9eba1:_0x1ea8cf<0x3c?_0x32e7dd+=(_0x2c1e88&_0x181c32|_0x2c1e88&_0x299faa|_0x181c32&_0x299faa)-0x70e44324:_0x32e7dd+=(_0x2c1e88^_0x181c32^_0x299faa)-0x359d3e2a,_0x432769=_0x299faa,_0x299faa=_0x181c32,_0x181c32=_0x2c1e88<<0x1e|_0x2c1e88>>>0x2,_0x2c1e88=_0x4c87bb,_0x4c87bb=_0x32e7dd;}_0x5d57c2[0x0]=_0x5d57c2[0x0]+_0x4c87bb|0x0,_0x5d57c2[0x1]=_0x5d57c2[0x1]+_0x2c1e88|0x0,_0x5d57c2[0x2]=_0x5d57c2[0x2]+_0x181c32|0x0,_0x5d57c2[0x3]=_0x5d57c2[0x3]+_0x299faa|0x0,_0x5d57c2[0x4]=_0x5d57c2[0x4]+_0x432769|0x0;},'_doFinalize':function(){var _0x4a8642=_0x2ed937,_0x1840d1=this['_data'],_0x417142=_0x1840d1['words'],_0x5777d5=this[_0x4a8642(0x20a)]*0x8,_0x22370e=_0x1840d1[_0x4a8642(0x287)]*0x8;return _0x417142[_0x22370e>>>0x5]|=0x80<<0x18-_0x22370e%0x20,_0x417142[(_0x22370e+0x40>>>0x9<<0x4)+0xe]=Math[_0x4a8642(0x228)](_0x5777d5/0x100000000),_0x417142[(_0x22370e+0x40>>>0x9<<0x4)+0xf]=_0x5777d5,_0x1840d1[_0x4a8642(0x287)]=_0x417142['length']*0x4,this['_process'](),this[_0x4a8642(0x2e0)];},'clone':function(){var _0x13f723=_0x2ed937,_0x175154=_0x55d57a[_0x13f723(0x3d5)][_0x13f723(0x485)](this);return _0x175154[_0x13f723(0x2e0)]=this['_hash'][_0x13f723(0x3d5)](),_0x175154;}});_0x200a45[_0x2ed937(0x1c4)]=_0x55d57a['_createHelper'](_0x51a781),_0x200a45[_0x2ed937(0x482)]=_0x55d57a[_0x2ed937(0x438)](_0x51a781);}()),_0x28f935['SHA1'];}));}(qe)),qe[_0x6795b4(0x2d4)];}var ze={'exports':{}},dn=ze['exports'],Xt;function fn(){var _0x3effd1=_0x3cfa54;return Xt||(Xt=0x1,function(_0xb94e09,_0x3c395b){(function(_0x3cd88b,_0x249dcd){var _0x15e860=_0x3a85;_0xb94e09[_0x15e860(0x2d4)]=_0x249dcd(ie());}(dn,function(_0x5e2060){(function(){var _0x16ff1d=_0x3a85,_0xed8651=_0x5e2060,_0x5bca80=_0xed8651[_0x16ff1d(0x328)],_0x477c6c=_0x5bca80['Base'],_0x4bcb06=_0xed8651['enc'],_0x3d7219=_0x4bcb06[_0x16ff1d(0x39f)],_0x32af56=_0xed8651['algo'];_0x32af56[_0x16ff1d(0x321)]=_0x477c6c[_0x16ff1d(0x1d5)]({'init':function(_0x264bc8,_0x249f5d){var _0x431e01=_0x16ff1d;_0x264bc8=this[_0x431e01(0x39a)]=new _0x264bc8[(_0x431e01(0x365))](),typeof _0x249f5d==_0x431e01(0x4a3)&&(_0x249f5d=_0x3d7219[_0x431e01(0x368)](_0x249f5d));var _0x23bc0b=_0x264bc8[_0x431e01(0x25c)],_0x2223d0=_0x23bc0b*0x4;_0x249f5d['sigBytes']>_0x2223d0&&(_0x249f5d=_0x264bc8['finalize'](_0x249f5d)),_0x249f5d['clamp']();for(var _0x3046fc=this['_oKey']=_0x249f5d[_0x431e01(0x3d5)](),_0x14a599=this['_iKey']=_0x249f5d[_0x431e01(0x3d5)](),_0x1a4115=_0x3046fc[_0x431e01(0x463)],_0x1d0b14=_0x14a599[_0x431e01(0x463)],_0x2bbb8a=0x0;_0x2bbb8a<_0x23bc0b;_0x2bbb8a++)_0x1a4115[_0x2bbb8a]^=0x5c5c5c5c,_0x1d0b14[_0x2bbb8a]^=0x36363636;_0x3046fc[_0x431e01(0x287)]=_0x14a599[_0x431e01(0x287)]=_0x2223d0,this[_0x431e01(0x377)]();},'reset':function(){var _0x20030f=_0x16ff1d,_0x510567=this[_0x20030f(0x39a)];_0x510567['reset'](),_0x510567[_0x20030f(0x2e8)](this['_iKey']);},'update':function(_0x20255a){var _0x230070=_0x16ff1d;return this['_hasher'][_0x230070(0x2e8)](_0x20255a),this;},'finalize':function(_0xb5acce){var _0x4b693b=_0x16ff1d,_0x1e09e0=this[_0x4b693b(0x39a)],_0x196ce1=_0x1e09e0[_0x4b693b(0x3df)](_0xb5acce);_0x1e09e0[_0x4b693b(0x377)]();var _0x4cdbcb=_0x1e09e0[_0x4b693b(0x3df)](this['_oKey'][_0x4b693b(0x3d5)]()['concat'](_0x196ce1));return _0x4cdbcb;}});}());}));}(ze)),ze[_0x3effd1(0x2d4)];}function _0x3a85(_0x211a43,_0x55d96a){var _0x2c7102=_0x2c71();return _0x3a85=function(_0x3a8522,_0x152ffa){_0x3a8522=_0x3a8522-0x1c4;var _0xde5102=_0x2c7102[_0x3a8522];return _0xde5102;},_0x3a85(_0x211a43,_0x55d96a);}var vn=Ke['exports'],Zt;function Ci(){var _0x428f0d=_0x3cfa54;return Zt||(Zt=0x1,function(_0x32b8d5,_0x2a4fd8){(function(_0x5886f4,_0x436f1e,_0x2774b0){_0x32b8d5['exports']=_0x436f1e(ie(),un(),fn());}(vn,function(_0x59d2b1){var _0x526108=_0x3a85;return(function(){var _0x5b5155=_0x3a85,_0x374005=_0x59d2b1,_0x45fa84=_0x374005['lib'],_0x454cb4=_0x45fa84['Base'],_0x46e25=_0x45fa84[_0x5b5155(0x4d8)],_0x16df65=_0x374005['algo'],_0x41d5ab=_0x16df65[_0x5b5155(0x2e3)],_0x4f68f1=_0x16df65[_0x5b5155(0x36f)]=_0x454cb4[_0x5b5155(0x1d5)]({'cfg':_0x454cb4[_0x5b5155(0x1d5)]({'keySize':0x80/0x20,'hasher':_0x41d5ab,'iterations':0x1}),'init':function(_0x16c138){var _0x1a3888=_0x5b5155;this['cfg']=this[_0x1a3888(0x3cc)][_0x1a3888(0x1d5)](_0x16c138);},'compute':function(_0x1729c8,_0x45c4df){var _0x2b49b9=_0x5b5155;for(var _0x3561b5,_0x22426c=this[_0x2b49b9(0x3cc)],_0x3b9bc0=_0x22426c[_0x2b49b9(0x3f4)][_0x2b49b9(0x487)](),_0xe3c2ac=_0x46e25[_0x2b49b9(0x487)](),_0x83a96e=_0xe3c2ac[_0x2b49b9(0x463)],_0x3a4177=_0x22426c[_0x2b49b9(0x480)],_0xcd704e=_0x22426c['iterations'];_0x83a96e['length']<_0x3a4177;){_0x3561b5&&_0x3b9bc0[_0x2b49b9(0x2e8)](_0x3561b5),_0x3561b5=_0x3b9bc0[_0x2b49b9(0x2e8)](_0x1729c8)[_0x2b49b9(0x3df)](_0x45c4df),_0x3b9bc0['reset']();for(var _0x23d081=0x1;_0x23d081<_0xcd704e;_0x23d081++)_0x3561b5=_0x3b9bc0[_0x2b49b9(0x3df)](_0x3561b5),_0x3b9bc0[_0x2b49b9(0x377)]();_0xe3c2ac[_0x2b49b9(0x3f7)](_0x3561b5);}return _0xe3c2ac[_0x2b49b9(0x287)]=_0x3a4177*0x4,_0xe3c2ac;}});_0x374005[_0x5b5155(0x36f)]=function(_0x15af7c,_0x4634d6,_0x4906cc){var _0x4b143a=_0x5b5155;return _0x4f68f1[_0x4b143a(0x487)](_0x4906cc)[_0x4b143a(0x339)](_0x15af7c,_0x4634d6);};}()),_0x59d2b1[_0x526108(0x36f)];}));}(Ke)),Ke[_0x428f0d(0x2d4)];}var Je={'exports':{}},pn=Je['exports'],Qt;function Ni(){return Qt||(Qt=0x1,function(_0x49e088,_0x58d31c){(function(_0x33e9e6,_0x257c18,_0x318566){var _0x19203c=_0x3a85;_0x49e088[_0x19203c(0x2d4)]=_0x257c18(ie(),Ci());}(pn,function(_0x2d717b){var _0x55c77c=_0x3a85;_0x2d717b[_0x55c77c(0x328)][_0x55c77c(0x2c2)]||function(_0x18a78c){var _0x2d2211=_0x55c77c,_0x521702=_0x2d717b,_0x5b368a=_0x521702[_0x2d2211(0x328)],_0xc3f568=_0x5b368a['Base'],_0x5e6c3c=_0x5b368a[_0x2d2211(0x4d8)],_0x35d60f=_0x5b368a[_0x2d2211(0x375)],_0xe7100d=_0x521702[_0x2d2211(0x47d)];_0xe7100d['Utf8'];var _0x1ac225=_0xe7100d[_0x2d2211(0x3b3)],_0x1e7d51=_0x521702[_0x2d2211(0x477)],_0x1038cf=_0x1e7d51['EvpKDF'],_0x2fd539=_0x5b368a[_0x2d2211(0x2c2)]=_0x35d60f['extend']({'cfg':_0xc3f568[_0x2d2211(0x1d5)](),'createEncryptor':function(_0x19325a,_0x11e87d){var _0x25ea24=_0x2d2211;return this[_0x25ea24(0x487)](this['_ENC_XFORM_MODE'],_0x19325a,_0x11e87d);},'createDecryptor':function(_0x106718,_0x204a1d){var _0x52d956=_0x2d2211;return this[_0x52d956(0x487)](this[_0x52d956(0x2dd)],_0x106718,_0x204a1d);},'init':function(_0x478eb0,_0x48dd98,_0x33bf1c){var _0x794fae=_0x2d2211;this[_0x794fae(0x3cc)]=this[_0x794fae(0x3cc)][_0x794fae(0x1d5)](_0x33bf1c),this[_0x794fae(0x280)]=_0x478eb0,this['_key']=_0x48dd98,this['reset']();},'reset':function(){var _0x4cd7d4=_0x2d2211;_0x35d60f[_0x4cd7d4(0x377)][_0x4cd7d4(0x485)](this),this['_doReset']();},'process':function(_0x4eb946){var _0x4d1864=_0x2d2211;return this[_0x4d1864(0x31c)](_0x4eb946),this[_0x4d1864(0x47c)]();},'finalize':function(_0x210d75){var _0x2cf161=_0x2d2211;_0x210d75&&this[_0x2cf161(0x31c)](_0x210d75);var _0x4d2d8b=this[_0x2cf161(0x3ce)]();return _0x4d2d8b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x716399(_0x7c1785){return typeof _0x7c1785=='string'?_0x35ee3d:_0x15242f;}return function(_0x1065a4){return{'encrypt':function(_0x1acd79,_0x37bfbc,_0x180940){return _0x716399(_0x37bfbc)['encrypt'](_0x1065a4,_0x1acd79,_0x37bfbc,_0x180940);},'decrypt':function(_0x10ee28,_0x10b167,_0x22a497){return _0x716399(_0x10b167)['decrypt'](_0x1065a4,_0x10ee28,_0x10b167,_0x22a497);}};};}())});_0x5b368a[_0x2d2211(0x4d5)]=_0x2fd539[_0x2d2211(0x1d5)]({'_doFinalize':function(){var _0x4608ff=_0x2d2211,_0xe7ea51=this[_0x4608ff(0x47c)](!0x0);return _0xe7ea51;},'blockSize':0x1});var _0x1c0c7c=_0x521702[_0x2d2211(0x379)]={},_0x4057b0=_0x5b368a[_0x2d2211(0x2cd)]=_0xc3f568[_0x2d2211(0x1d5)]({'createEncryptor':function(_0x32c1ff,_0x5422a5){var _0x34e5a6=_0x2d2211;return this[_0x34e5a6(0x462)][_0x34e5a6(0x487)](_0x32c1ff,_0x5422a5);},'createDecryptor':function(_0x480356,_0x49da7f){var _0x1f8730=_0x2d2211;return this[_0x1f8730(0x221)][_0x1f8730(0x487)](_0x480356,_0x49da7f);},'init':function(_0x2c4557,_0xcd891f){this['_cipher']=_0x2c4557,this['_iv']=_0xcd891f;}}),_0x30be87=_0x1c0c7c[_0x2d2211(0x3cb)]=(function(){var _0x182e2a=_0x2d2211,_0x38fb0d=_0x4057b0[_0x182e2a(0x1d5)]();_0x38fb0d['Encryptor']=_0x38fb0d['extend']({'processBlock':function(_0x27f0d8,_0x571476){var _0x34af5b=_0x182e2a,_0x1e7477=this['_cipher'],_0x3504ad=_0x1e7477[_0x34af5b(0x25c)];_0x283877[_0x34af5b(0x485)](this,_0x27f0d8,_0x571476,_0x3504ad),_0x1e7477[_0x34af5b(0x374)](_0x27f0d8,_0x571476),this[_0x34af5b(0x253)]=_0x27f0d8[_0x34af5b(0x1ee)](_0x571476,_0x571476+_0x3504ad);}}),_0x38fb0d[_0x182e2a(0x221)]=_0x38fb0d['extend']({'processBlock':function(_0x3736d1,_0x39bb35){var _0x3294c7=_0x182e2a,_0x52bca6=this[_0x3294c7(0x1e7)],_0x5ec343=_0x52bca6[_0x3294c7(0x25c)],_0x1c94e8=_0x3736d1[_0x3294c7(0x1ee)](_0x39bb35,_0x39bb35+_0x5ec343);_0x52bca6[_0x3294c7(0x44d)](_0x3736d1,_0x39bb35),_0x283877[_0x3294c7(0x485)](this,_0x3736d1,_0x39bb35,_0x5ec343),this['_prevBlock']=_0x1c94e8;}});function _0x283877(_0x581ea1,_0x19dfee,_0x207130){var _0x45dc9a=_0x182e2a,_0x22eee8,_0x10cfb8=this[_0x45dc9a(0x3ac)];_0x10cfb8?(_0x22eee8=_0x10cfb8,this['_iv']=_0x18a78c):_0x22eee8=this['_prevBlock'];for(var _0x1ab9bf=0x0;_0x1ab9bf<_0x207130;_0x1ab9bf++)_0x581ea1[_0x19dfee+_0x1ab9bf]^=_0x22eee8[_0x1ab9bf];}return _0x38fb0d;}()),_0x75ae6=_0x521702['pad']={},_0x22345f=_0x75ae6[_0x2d2211(0x34d)]={'pad':function(_0x306330,_0x5ac21a){var _0x593d19=_0x2d2211;for(var _0x3a931d=_0x5ac21a*0x4,_0x59ea01=_0x3a931d-_0x306330[_0x593d19(0x287)]%_0x3a931d,_0x1048ea=_0x59ea01<<0x18|_0x59ea01<<0x10|_0x59ea01<<0x8|_0x59ea01,_0x3eebf1=[],_0x33d087=0x0;_0x33d087<_0x59ea01;_0x33d087+=0x4)_0x3eebf1['push'](_0x1048ea);var _0x21c14f=_0x5e6c3c[_0x593d19(0x487)](_0x3eebf1,_0x59ea01);_0x306330['concat'](_0x21c14f);},'unpad':function(_0x263224){var _0x350030=_0x2d2211,_0x43b0ba=_0x263224['words'][_0x263224[_0x350030(0x287)]-0x1>>>0x2]&0xff;_0x263224[_0x350030(0x287)]-=_0x43b0ba;}};_0x5b368a[_0x2d2211(0x270)]=_0x2fd539['extend']({'cfg':_0x2fd539[_0x2d2211(0x3cc)][_0x2d2211(0x1d5)]({'mode':_0x30be87,'padding':_0x22345f}),'reset':function(){var _0x3baa2c=_0x2d2211,_0x91a912;_0x2fd539['reset'][_0x3baa2c(0x485)](this);var _0x655d4c=this['cfg'],_0x34fae6=_0x655d4c['iv'],_0x4a7edb=_0x655d4c['mode'];this[_0x3baa2c(0x280)]==this[_0x3baa2c(0x27a)]?_0x91a912=_0x4a7edb[_0x3baa2c(0x37c)]:(_0x91a912=_0x4a7edb[_0x3baa2c(0x1e3)],this[_0x3baa2c(0x33c)]=0x1),this[_0x3baa2c(0x2a4)]&&this['_mode'][_0x3baa2c(0x2c6)]==_0x91a912?this[_0x3baa2c(0x2a4)][_0x3baa2c(0x365)](this,_0x34fae6&&_0x34fae6[_0x3baa2c(0x463)]):(this[_0x3baa2c(0x2a4)]=_0x91a912[_0x3baa2c(0x485)](_0x4a7edb,this,_0x34fae6&&_0x34fae6[_0x3baa2c(0x463)]),this['_mode'][_0x3baa2c(0x2c6)]=_0x91a912);},'_doProcessBlock':function(_0x574da1,_0xf7044f){var _0x278fec=_0x2d2211;this[_0x278fec(0x2a4)]['processBlock'](_0x574da1,_0xf7044f);},'_doFinalize':function(){var _0x1ff247=_0x2d2211,_0x573e6e,_0x4dd258=this[_0x1ff247(0x3cc)][_0x1ff247(0x268)];return this[_0x1ff247(0x280)]==this['_ENC_XFORM_MODE']?(_0x4dd258[_0x1ff247(0x457)](this[_0x1ff247(0x366)],this[_0x1ff247(0x25c)]),_0x573e6e=this[_0x1ff247(0x47c)](!0x0)):(_0x573e6e=this[_0x1ff247(0x47c)](!0x0),_0x4dd258[_0x1ff247(0x3d8)](_0x573e6e)),_0x573e6e;},'blockSize':0x80/0x20});var _0x520703=_0x5b368a[_0x2d2211(0x230)]=_0xc3f568[_0x2d2211(0x1d5)]({'init':function(_0x27416c){var _0x579656=_0x2d2211;this[_0x579656(0x23b)](_0x27416c);},'toString':function(_0x156368){var _0x5ed682=_0x2d2211;return(_0x156368||this[_0x5ed682(0x4cc)])[_0x5ed682(0x2b6)](this);}}),_0x3ef97d=_0x521702[_0x2d2211(0x1e6)]={},_0x5b2432=_0x3ef97d[_0x2d2211(0x257)]={'stringify':function(_0x33a918){var _0x4fc3a1=_0x2d2211,_0x2e7cef,_0x5dd7db=_0x33a918[_0x4fc3a1(0x21f)],_0x5eeba5=_0x33a918[_0x4fc3a1(0x32a)];return _0x5eeba5?_0x2e7cef=_0x5e6c3c[_0x4fc3a1(0x487)]([0x53616c74,0x65645f5f])['concat'](_0x5eeba5)[_0x4fc3a1(0x3f7)](_0x5dd7db):_0x2e7cef=_0x5dd7db,_0x2e7cef[_0x4fc3a1(0x32e)](_0x1ac225);},'parse':function(_0x2ac269){var _0x1b9318=_0x2d2211,_0x59affe,_0x2a475c=_0x1ac225[_0x1b9318(0x368)](_0x2ac269),_0x170362=_0x2a475c[_0x1b9318(0x463)];return _0x170362[0x0]==0x53616c74&&_0x170362[0x1]==0x65645f5f&&(_0x59affe=_0x5e6c3c[_0x1b9318(0x487)](_0x170362[_0x1b9318(0x1ee)](0x2,0x4)),_0x170362[_0x1b9318(0x416)](0x0,0x4),_0x2a475c[_0x1b9318(0x287)]-=0x10),_0x520703['create']({'ciphertext':_0x2a475c,'salt':_0x59affe});}},_0x15242f=_0x5b368a['SerializableCipher']=_0xc3f568[_0x2d2211(0x1d5)]({'cfg':_0xc3f568['extend']({'format':_0x5b2432}),'encrypt':function(_0x47f3f0,_0x58f58d,_0x5818f1,_0x5a8634){var _0x57f40e=_0x2d2211;_0x5a8634=this['cfg']['extend'](_0x5a8634);var _0x57b949=_0x47f3f0[_0x57f40e(0x37c)](_0x5818f1,_0x5a8634),_0xe7a244=_0x57b949[_0x57f40e(0x3df)](_0x58f58d),_0x4488ee=_0x57b949['cfg'];return _0x520703[_0x57f40e(0x487)]({'ciphertext':_0xe7a244,'key':_0x5818f1,'iv':_0x4488ee['iv'],'algorithm':_0x47f3f0,'mode':_0x4488ee[_0x57f40e(0x379)],'padding':_0x4488ee[_0x57f40e(0x268)],'blockSize':_0x47f3f0[_0x57f40e(0x25c)],'formatter':_0x5a8634[_0x57f40e(0x1e6)]});},'decrypt':function(_0x217ea0,_0x1451aa,_0x52b3c7,_0x2a5bfa){var _0x4d3ca5=_0x2d2211;_0x2a5bfa=this[_0x4d3ca5(0x3cc)][_0x4d3ca5(0x1d5)](_0x2a5bfa),_0x1451aa=this[_0x4d3ca5(0x1d8)](_0x1451aa,_0x2a5bfa['format']);var _0x650c4=_0x217ea0[_0x4d3ca5(0x1e3)](_0x52b3c7,_0x2a5bfa)[_0x4d3ca5(0x3df)](_0x1451aa['ciphertext']);return _0x650c4;},'_parse':function(_0x579b0a,_0x3fe5b3){var _0x177a38=_0x2d2211;return typeof _0x579b0a==_0x177a38(0x4a3)?_0x3fe5b3[_0x177a38(0x368)](_0x579b0a,this):_0x579b0a;}}),_0x45e540=_0x521702[_0x2d2211(0x1de)]={},_0x1a13bb=_0x45e540['OpenSSL']={'execute':function(_0x1a84f0,_0x1d430b,_0x1a1673,_0x5755a6,_0x626310){var _0x5e61c5=_0x2d2211;if(_0x5755a6||(_0x5755a6=_0x5e6c3c[_0x5e61c5(0x356)](0x40/0x8)),_0x626310)var _0x464eda=_0x1038cf['create']({'keySize':_0x1d430b+_0x1a1673,'hasher':_0x626310})[_0x5e61c5(0x339)](_0x1a84f0,_0x5755a6);else var _0x464eda=_0x1038cf[_0x5e61c5(0x487)]({'keySize':_0x1d430b+_0x1a1673})[_0x5e61c5(0x339)](_0x1a84f0,_0x5755a6);var _0x477a26=_0x5e6c3c['create'](_0x464eda['words'][_0x5e61c5(0x1ee)](_0x1d430b),_0x1a1673*0x4);return _0x464eda[_0x5e61c5(0x287)]=_0x1d430b*0x4,_0x520703['create']({'key':_0x464eda,'iv':_0x477a26,'salt':_0x5755a6});}},_0x35ee3d=_0x5b368a[_0x2d2211(0x201)]=_0x15242f[_0x2d2211(0x1d5)]({'cfg':_0x15242f[_0x2d2211(0x3cc)][_0x2d2211(0x1d5)]({'kdf':_0x1a13bb}),'encrypt':function(_0x579853,_0x340472,_0x1438ef,_0x2ca472){var _0xf23b75=_0x2d2211;_0x2ca472=this[_0xf23b75(0x3cc)][_0xf23b75(0x1d5)](_0x2ca472);var _0x4bcf4b=_0x2ca472[_0xf23b75(0x1de)][_0xf23b75(0x336)](_0x1438ef,_0x579853[_0xf23b75(0x480)],_0x579853[_0xf23b75(0x3fc)],_0x2ca472[_0xf23b75(0x32a)],_0x2ca472[_0xf23b75(0x3f4)]);_0x2ca472['iv']=_0x4bcf4b['iv'];var _0x5c685=_0x15242f[_0xf23b75(0x25e)][_0xf23b75(0x485)](this,_0x579853,_0x340472,_0x4bcf4b[_0xf23b75(0x404)],_0x2ca472);return _0x5c685[_0xf23b75(0x23b)](_0x4bcf4b),_0x5c685;},'decrypt':function(_0x2ebf27,_0x2a5b07,_0x4d5a1d,_0x3ab3f7){var _0x326134=_0x2d2211;_0x3ab3f7=this[_0x326134(0x3cc)][_0x326134(0x1d5)](_0x3ab3f7),_0x2a5b07=this[_0x326134(0x1d8)](_0x2a5b07,_0x3ab3f7[_0x326134(0x1e6)]);var _0x4f32fc=_0x3ab3f7[_0x326134(0x1de)][_0x326134(0x336)](_0x4d5a1d,_0x2ebf27[_0x326134(0x480)],_0x2ebf27[_0x326134(0x3fc)],_0x2a5b07['salt'],_0x3ab3f7[_0x326134(0x3f4)]);_0x3ab3f7['iv']=_0x4f32fc['iv'];var _0x1f5aaa=_0x15242f['decrypt'][_0x326134(0x485)](this,_0x2ebf27,_0x2a5b07,_0x4f32fc[_0x326134(0x404)],_0x3ab3f7);return _0x1f5aaa;}});}();}));}(Je)),Je['exports'];}var En=Ve[_0x3cfa54(0x2d4)],ei;function mn(){var _0xf78d19=_0x3cfa54;return ei||(ei=0x1,function(_0x21c044,_0x3d904b){(function(_0x20def3,_0x496e00,_0x2e30ad){var _0x51b5ac=_0x3a85;_0x21c044[_0x51b5ac(0x2d4)]=_0x496e00(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x3b76ef){var _0x1cb966=_0x3a85;return(function(){var _0x24958c=_0x3a85,_0x33f523=_0x3b76ef,_0x4e4f90=_0x33f523[_0x24958c(0x328)],_0x434038=_0x4e4f90['BlockCipher'],_0x8f671=_0x33f523[_0x24958c(0x477)],_0x1d1f78=[],_0x12af52=[],_0x4c710d=[],_0x1a23e2=[],_0xad682c=[],_0x5dccba=[],_0x4072fc=[],_0x5a8910=[],_0x5dd458=[],_0xdd3e45=[];(function(){for(var _0x3623c2=[],_0x37d8a3=0x0;_0x37d8a3<0x100;_0x37d8a3++)_0x37d8a3<0x80?_0x3623c2[_0x37d8a3]=_0x37d8a3<<0x1:_0x3623c2[_0x37d8a3]=_0x37d8a3<<0x1^0x11b;for(var _0x59b940=0x0,_0x16e94d=0x0,_0x37d8a3=0x0;_0x37d8a3<0x100;_0x37d8a3++){var _0x2deb65=_0x16e94d^_0x16e94d<<0x1^_0x16e94d<<0x2^_0x16e94d<<0x3^_0x16e94d<<0x4;_0x2deb65=_0x2deb65>>>0x8^_0x2deb65&0xff^0x63,_0x1d1f78[_0x59b940]=_0x2deb65,_0x12af52[_0x2deb65]=_0x59b940;var _0x1a6f79=_0x3623c2[_0x59b940],_0x45ab62=_0x3623c2[_0x1a6f79],_0x2ceac7=_0x3623c2[_0x45ab62],_0x4fa508=_0x3623c2[_0x2deb65]*0x101^_0x2deb65*0x1010100;_0x4c710d[_0x59b940]=_0x4fa508<<0x18|_0x4fa508>>>0x8,_0x1a23e2[_0x59b940]=_0x4fa508<<0x10|_0x4fa508>>>0x10,_0xad682c[_0x59b940]=_0x4fa508<<0x8|_0x4fa508>>>0x18,_0x5dccba[_0x59b940]=_0x4fa508;var _0x4fa508=_0x2ceac7*0x1010101^_0x45ab62*0x10001^_0x1a6f79*0x101^_0x59b940*0x1010100;_0x4072fc[_0x2deb65]=_0x4fa508<<0x18|_0x4fa508>>>0x8,_0x5a8910[_0x2deb65]=_0x4fa508<<0x10|_0x4fa508>>>0x10,_0x5dd458[_0x2deb65]=_0x4fa508<<0x8|_0x4fa508>>>0x18,_0xdd3e45[_0x2deb65]=_0x4fa508,_0x59b940?(_0x59b940=_0x1a6f79^_0x3623c2[_0x3623c2[_0x3623c2[_0x2ceac7^_0x1a6f79]]],_0x16e94d^=_0x3623c2[_0x3623c2[_0x16e94d]]):_0x59b940=_0x16e94d=0x1;}}());var _0x3c5652=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5722dc=_0x8f671['AES']=_0x434038[_0x24958c(0x1d5)]({'_doReset':function(){var _0x1df02e=_0x24958c,_0x172d46;if(!(this[_0x1df02e(0x3c3)]&&this['_keyPriorReset']===this[_0x1df02e(0x2d9)])){for(var _0x51fdd0=this[_0x1df02e(0x34c)]=this[_0x1df02e(0x2d9)],_0x557367=_0x51fdd0[_0x1df02e(0x463)],_0x550f49=_0x51fdd0['sigBytes']/0x4,_0x209f9d=this['_nRounds']=_0x550f49+0x6,_0x22fe80=(_0x209f9d+0x1)*0x4,_0x2209c4=this['_keySchedule']=[],_0xafbd3d=0x0;_0xafbd3d<_0x22fe80;_0xafbd3d++)_0xafbd3d<_0x550f49?_0x2209c4[_0xafbd3d]=_0x557367[_0xafbd3d]:(_0x172d46=_0x2209c4[_0xafbd3d-0x1],_0xafbd3d%_0x550f49?_0x550f49>0x6&&_0xafbd3d%_0x550f49==0x4&&(_0x172d46=_0x1d1f78[_0x172d46>>>0x18]<<0x18|_0x1d1f78[_0x172d46>>>0x10&0xff]<<0x10|_0x1d1f78[_0x172d46>>>0x8&0xff]<<0x8|_0x1d1f78[_0x172d46&0xff]):(_0x172d46=_0x172d46<<0x8|_0x172d46>>>0x18,_0x172d46=_0x1d1f78[_0x172d46>>>0x18]<<0x18|_0x1d1f78[_0x172d46>>>0x10&0xff]<<0x10|_0x1d1f78[_0x172d46>>>0x8&0xff]<<0x8|_0x1d1f78[_0x172d46&0xff],_0x172d46^=_0x3c5652[_0xafbd3d/_0x550f49|0x0]<<0x18),_0x2209c4[_0xafbd3d]=_0x2209c4[_0xafbd3d-_0x550f49]^_0x172d46);for(var _0xd77646=this[_0x1df02e(0x484)]=[],_0x473325=0x0;_0x473325<_0x22fe80;_0x473325++){var _0xafbd3d=_0x22fe80-_0x473325;if(_0x473325%0x4)var _0x172d46=_0x2209c4[_0xafbd3d];else var _0x172d46=_0x2209c4[_0xafbd3d-0x4];_0x473325<0x4||_0xafbd3d<=0x4?_0xd77646[_0x473325]=_0x172d46:_0xd77646[_0x473325]=_0x4072fc[_0x1d1f78[_0x172d46>>>0x18]]^_0x5a8910[_0x1d1f78[_0x172d46>>>0x10&0xff]]^_0x5dd458[_0x1d1f78[_0x172d46>>>0x8&0xff]]^_0xdd3e45[_0x1d1f78[_0x172d46&0xff]];}}},'encryptBlock':function(_0x10c747,_0x492594){var _0x296354=_0x24958c;this[_0x296354(0x2ba)](_0x10c747,_0x492594,this['_keySchedule'],_0x4c710d,_0x1a23e2,_0xad682c,_0x5dccba,_0x1d1f78);},'decryptBlock':function(_0x132a18,_0x16b32e){var _0x42c7ef=_0x132a18[_0x16b32e+0x1];_0x132a18[_0x16b32e+0x1]=_0x132a18[_0x16b32e+0x3],_0x132a18[_0x16b32e+0x3]=_0x42c7ef,this['_doCryptBlock'](_0x132a18,_0x16b32e,this['_invKeySchedule'],_0x4072fc,_0x5a8910,_0x5dd458,_0xdd3e45,_0x12af52);var _0x42c7ef=_0x132a18[_0x16b32e+0x1];_0x132a18[_0x16b32e+0x1]=_0x132a18[_0x16b32e+0x3],_0x132a18[_0x16b32e+0x3]=_0x42c7ef;},'_doCryptBlock':function(_0x1091e5,_0x5b5bb9,_0x28021d,_0x42bc4b,_0x3d1e32,_0x4c13c6,_0x178122,_0x1e7f55){var _0x1bd6ac=_0x24958c;for(var _0x683b8c=this[_0x1bd6ac(0x3c3)],_0x5d9496=_0x1091e5[_0x5b5bb9]^_0x28021d[0x0],_0x5b8bea=_0x1091e5[_0x5b5bb9+0x1]^_0x28021d[0x1],_0x42b0c9=_0x1091e5[_0x5b5bb9+0x2]^_0x28021d[0x2],_0x409c12=_0x1091e5[_0x5b5bb9+0x3]^_0x28021d[0x3],_0x83d84=0x4,_0x462089=0x1;_0x462089<_0x683b8c;_0x462089++){var _0x20ddd9=_0x42bc4b[_0x5d9496>>>0x18]^_0x3d1e32[_0x5b8bea>>>0x10&0xff]^_0x4c13c6[_0x42b0c9>>>0x8&0xff]^_0x178122[_0x409c12&0xff]^_0x28021d[_0x83d84++],_0x36bbcc=_0x42bc4b[_0x5b8bea>>>0x18]^_0x3d1e32[_0x42b0c9>>>0x10&0xff]^_0x4c13c6[_0x409c12>>>0x8&0xff]^_0x178122[_0x5d9496&0xff]^_0x28021d[_0x83d84++],_0x979f8b=_0x42bc4b[_0x42b0c9>>>0x18]^_0x3d1e32[_0x409c12>>>0x10&0xff]^_0x4c13c6[_0x5d9496>>>0x8&0xff]^_0x178122[_0x5b8bea&0xff]^_0x28021d[_0x83d84++],_0xaa7ea0=_0x42bc4b[_0x409c12>>>0x18]^_0x3d1e32[_0x5d9496>>>0x10&0xff]^_0x4c13c6[_0x5b8bea>>>0x8&0xff]^_0x178122[_0x42b0c9&0xff]^_0x28021d[_0x83d84++];_0x5d9496=_0x20ddd9,_0x5b8bea=_0x36bbcc,_0x42b0c9=_0x979f8b,_0x409c12=_0xaa7ea0;}var _0x20ddd9=(_0x1e7f55[_0x5d9496>>>0x18]<<0x18|_0x1e7f55[_0x5b8bea>>>0x10&0xff]<<0x10|_0x1e7f55[_0x42b0c9>>>0x8&0xff]<<0x8|_0x1e7f55[_0x409c12&0xff])^_0x28021d[_0x83d84++],_0x36bbcc=(_0x1e7f55[_0x5b8bea>>>0x18]<<0x18|_0x1e7f55[_0x42b0c9>>>0x10&0xff]<<0x10|_0x1e7f55[_0x409c12>>>0x8&0xff]<<0x8|_0x1e7f55[_0x5d9496&0xff])^_0x28021d[_0x83d84++],_0x979f8b=(_0x1e7f55[_0x42b0c9>>>0x18]<<0x18|_0x1e7f55[_0x409c12>>>0x10&0xff]<<0x10|_0x1e7f55[_0x5d9496>>>0x8&0xff]<<0x8|_0x1e7f55[_0x5b8bea&0xff])^_0x28021d[_0x83d84++],_0xaa7ea0=(_0x1e7f55[_0x409c12>>>0x18]<<0x18|_0x1e7f55[_0x5d9496>>>0x10&0xff]<<0x10|_0x1e7f55[_0x5b8bea>>>0x8&0xff]<<0x8|_0x1e7f55[_0x42b0c9&0xff])^_0x28021d[_0x83d84++];_0x1091e5[_0x5b5bb9]=_0x20ddd9,_0x1091e5[_0x5b5bb9+0x1]=_0x36bbcc,_0x1091e5[_0x5b5bb9+0x2]=_0x979f8b,_0x1091e5[_0x5b5bb9+0x3]=_0xaa7ea0;},'keySize':0x100/0x20});_0x33f523[_0x24958c(0x232)]=_0x434038[_0x24958c(0x3ef)](_0x5722dc);}()),_0x3b76ef[_0x1cb966(0x232)];}));}(Ve)),Ve[_0xf78d19(0x2d4)];}var In=mn();const Sn=ke(In);var gn=Ri();const ti=ke(gn);var Xe={'exports':{}},Tn=Xe[_0x3cfa54(0x2d4)],ii;function On(){var _0x2af577=_0x3cfa54;return ii||(ii=0x1,function(_0x4cbb7f,_0x4ef4bb){(function(_0x4eea85,_0x4d3c94){var _0x94882b=_0x3a85;_0x4cbb7f[_0x94882b(0x2d4)]=_0x4d3c94(ie());}(Tn,function(_0x1c80e8){var _0x57a4d2=_0x3a85;return _0x1c80e8[_0x57a4d2(0x47d)][_0x57a4d2(0x39f)];}));}(Xe)),Xe[_0x2af577(0x2d4)];}var Rn=On();const Cn=ke(Rn);var Ze={'exports':{}},Nn=Ze['exports'],si;function bn(){return si||(si=0x1,function(_0x35fe90,_0x1825b4){(function(_0x510b78,_0x205e1e){_0x35fe90['exports']=_0x205e1e(ie());}(Nn,function(_0x57c251){var _0xf89bb1=_0x3a85;return(function(){var _0x109ce6=_0x3a85;if(typeof ArrayBuffer=='function'){var _0x86bc7a=_0x57c251,_0x482854=_0x86bc7a[_0x109ce6(0x328)],_0x3e8f02=_0x482854[_0x109ce6(0x4d8)],_0x4dc328=_0x3e8f02[_0x109ce6(0x365)],_0x1cabcc=_0x3e8f02['init']=function(_0x1e4d94){var _0x51435d=_0x109ce6;if(_0x1e4d94 instanceof ArrayBuffer&&(_0x1e4d94=new Uint8Array(_0x1e4d94)),(_0x1e4d94 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e4d94 instanceof Uint8ClampedArray||_0x1e4d94 instanceof Int16Array||_0x1e4d94 instanceof Uint16Array||_0x1e4d94 instanceof Int32Array||_0x1e4d94 instanceof Uint32Array||_0x1e4d94 instanceof Float32Array||_0x1e4d94 instanceof Float64Array)&&(_0x1e4d94=new Uint8Array(_0x1e4d94[_0x51435d(0x476)],_0x1e4d94['byteOffset'],_0x1e4d94[_0x51435d(0x3f1)])),_0x1e4d94 instanceof Uint8Array){for(var _0x1e622b=_0x1e4d94['byteLength'],_0x84e1c1=[],_0xcc994f=0x0;_0xcc994f<_0x1e622b;_0xcc994f++)_0x84e1c1[_0xcc994f>>>0x2]|=_0x1e4d94[_0xcc994f]<<0x18-_0xcc994f%0x4*0x8;_0x4dc328[_0x51435d(0x485)](this,_0x84e1c1,_0x1e622b);}else _0x4dc328[_0x51435d(0x24c)](this,arguments);};_0x1cabcc['prototype']=_0x3e8f02;}}()),_0x57c251[_0xf89bb1(0x328)]['WordArray'];}));}(Ze)),Ze['exports'];}var Dn=bn();const yn=ke(Dn);var Qe={'exports':{}},Un=Qe[_0x3cfa54(0x2d4)],ni;function An(){var _0x248935=_0x3cfa54;return ni||(ni=0x1,function(_0x283de8,_0x1519a6){(function(_0x43b683,_0x5aa628,_0x4c07cf){var _0x2c0150=_0x3a85;_0x283de8[_0x2c0150(0x2d4)]=_0x5aa628(ie(),Ni());}(Un,function(_0x3866f1){var _0xc28d53=_0x3a85;return _0x3866f1['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3866f1[_0xc28d53(0x457)][_0xc28d53(0x397)];}));}(Qe)),Qe[_0x248935(0x2d4)];}var Pn=An();const wn=ke(Pn);function Mn(_0x4128d1,_0x535fbc){var _0xaa3a0b=_0x3cfa54;const _0x52d524=_0x535fbc-_0x4128d1[_0xaa3a0b(0x38a)]%_0x535fbc,_0x15535b=String['fromCharCode'](_0x52d524)['repeat'](_0x52d524);return _0x4128d1+_0x15535b;}function Ln(_0x273d68,_0x32a174){var _0x483e1d=_0x3cfa54;const _0x287c11=yn['random'](0x10),_0x3b75e6=Mn(_0x273d68,0x10),_0x5582c0=Sn[_0x483e1d(0x25e)](Cn['parse'](_0x3b75e6),ti['parse'](_0x32a174),{'iv':_0x287c11,'padding':wn});return _0x287c11[_0x483e1d(0x3f7)](_0x5582c0['ciphertext'])[_0x483e1d(0x32e)](ti);}function xn(){var _0x33fd8d=_0x3cfa54;const _0xce7572=_0x2d9080()[_0x33fd8d(0x1d1)];if(_0xce7572){const _0x514786={'time':Math['floor'](Date[_0x33fd8d(0x2bd)]()/0x3e8),'domain':location[_0x33fd8d(0x3ca)]};return Ln(JSON[_0x33fd8d(0x2b6)](_0x514786),_0xce7572);}}var $n=Object[_0x3cfa54(0x3f9)],kn=(_0x359c5c,_0x56de50,_0x423141,_0x264d53)=>{var _0x173ca4=_0x3cfa54;for(var _0x499723=_0x264d53>0x1?void 0x0:_0x264d53?$n(_0x56de50,_0x423141):_0x56de50,_0x2ce690=_0x359c5c[_0x173ca4(0x38a)]-0x1,_0x83d6fc;_0x2ce690>=0x0;_0x2ce690--)(_0x83d6fc=_0x359c5c[_0x2ce690])&&(_0x499723=_0x83d6fc(_0x499723)||_0x499723);return _0x499723;},Hn=(_0x5309b6,_0x45e947)=>(_0xd94053,_0x33083c)=>_0x45e947(_0xd94053,_0x33083c,_0x5309b6);let at=class{constructor(_0x14ae5c){var _0x42c6c6=_0x3cfa54;this[_0x42c6c6(0x4b3)]=_0x14ae5c,this[_0x42c6c6(0x1f6)]();}[_0x3cfa54(0x1f6)](){var _0x4713fa=_0x3cfa54;this[_0x4713fa(0x4b3)][_0x4713fa(0x42c)]({'interceptor':(_0x39ffb7,_0x5cad8b)=>{var _0x12ae2b=_0x4713fa;const _0x34c838=_0x39ffb7[_0x12ae2b(0x2ff)],_0x2f6403=xn();return _0x2f6403&&_0x34c838['set'](_0x12ae2b(0x2f6),_0x2f6403),_0x5cad8b(_0x39ffb7);}});}};at=kn([Hn(0x0,_0x179adb(_0x5ac30f))],at);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x3c419f,_0x1c9e03,_0x6d1e04,_0x5ef6f7)=>{for(var _0x3b8902=_0x5ef6f7>0x1?void 0x0:_0x5ef6f7?Bn(_0x1c9e03,_0x6d1e04):_0x1c9e03,_0xf97f05=_0x3c419f['length']-0x1,_0x55276b;_0xf97f05>=0x0;_0xf97f05--)(_0x55276b=_0x3c419f[_0xf97f05])&&(_0x3b8902=_0x55276b(_0x3b8902)||_0x3b8902);return _0x3b8902;},vt=(_0x13bc7c,_0x538887)=>(_0x2670cc,_0x179734)=>_0x538887(_0x2670cc,_0x179734,_0x13bc7c);let Ot=class extends _0x5157cb{constructor(_0x2ac59d,_0x339a3d,_0x24d172){var _0x3103eb=_0x3cfa54;super(),D(this,_0x3103eb(0x488),new _0x4be32f(null)),D(this,'unitInfo$',this['_unitInfo$'][_0x3103eb(0x2f3)]()),(this[_0x3103eb(0x3db)]=_0x2ac59d,this[_0x3103eb(0x43a)]=_0x339a3d,this['_localCacheService']=_0x24d172);}async[_0x3cfa54(0x2fe)](_0xc7ad78,_0x122b5c,_0x5eb751){var _0x2f613b=_0x3cfa54;this['_unitInfo$']['next']({'unitId':_0xc7ad78,'type':_0x122b5c});let _0x35333e=null;switch(_0x122b5c){case Q[_0x2f613b(0x263)]:{_0x35333e=await this[_0x2f613b(0x43a)]['loadSheet'](_0xc7ad78,_0x5eb751);break;}case Q[_0x2f613b(0x2e5)]:{_0x35333e=await this[_0x2f613b(0x43a)]['loadDoc'](_0xc7ad78,_0x5eb751);break;}default:{this[_0x2f613b(0x3db)][_0x2f613b(0x41f)](_0x2f613b(0x27e),_0x2f613b(0x1c6));break;}}return _0x35333e;}async[_0x3cfa54(0x29d)](_0x1c86b2,_0x52a78f,_0xbda780){var _0x2348e9=_0x3cfa54,_0x671e18;this[_0x2348e9(0x488)][_0x2348e9(0x428)]({'unitId':_0x1c86b2,'type':_0x52a78f,'subUnitId':_0xbda780});let _0x2a2703=0x0;const _0x743498=await((_0x671e18=this[_0x2348e9(0x442)])==null?void 0x0:_0x671e18[_0x2348e9(0x44a)](_0x1c86b2));return _0x743498&&(_0x743498[_0x2348e9(0x468)]||_0x743498['mutations'][_0x2348e9(0x38a)]!==0x0)&&(_0x2a2703=_0x743498[_0x2348e9(0x42f)]),_0x2a2703===0x0&&this[_0x2348e9(0x3db)][_0x2348e9(0x3de)](_0x2348e9(0x27e),_0x2348e9(0x3a9)),this[_0x2348e9(0x2fe)](_0x1c86b2,_0x52a78f,_0x2a2703);}};Ot=Fn([vt(0x0,_0x21ac0b),vt(0x1,_0x179adb(_0x4a21fc)),vt(0x2,_0x26c487(J))],Ot);var jn=Object[_0x3cfa54(0x3f9)],Vn=(_0x55a378,_0x4fd587,_0x1bc9b7,_0x2650f5)=>{var _0x4905bd=_0x3cfa54;for(var _0x1b04d8=_0x2650f5>0x1?void 0x0:_0x2650f5?jn(_0x4fd587,_0x1bc9b7):_0x4fd587,_0x4f6400=_0x55a378[_0x4905bd(0x38a)]-0x1,_0x25d617;_0x4f6400>=0x0;_0x4f6400--)(_0x25d617=_0x55a378[_0x4f6400])&&(_0x1b04d8=_0x25d617(_0x1b04d8)||_0x1b04d8);return _0x1b04d8;},pt=(_0x2bfef9,_0x1e5b5f)=>(_0x5cec5a,_0x2aeeae)=>_0x1e5b5f(_0x5cec5a,_0x2aeeae,_0x2bfef9);const Gn=[_0x3cfa54(0x326),'image/jpeg',_0x3cfa54(0x2ed),_0x3cfa54(0x2bc),_0x3cfa54(0x2e9)],Wn=0x5*0x400*0x400,Yn='/universer-api/stream/file/upload',Kn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x384d37,_0x3b49a6,_0x203d85){var _0x97a8ab=_0x3cfa54;D(this,_0x97a8ab(0x278),0x0),D(this,'_change$',new _0x5ae17f()),D(this,_0x97a8ab(0x1cb),this[_0x97a8ab(0x3fa)]),D(this,_0x97a8ab(0x3d9),new Map()),(this[_0x97a8ab(0x4b3)]=_0x384d37,this[_0x97a8ab(0x335)]=_0x3b49a6,this[_0x97a8ab(0x290)]=_0x203d85);}[_0x3cfa54(0x325)](_0x3a7a9e){var _0x58cdb4=_0x3cfa54;this[_0x58cdb4(0x278)]=_0x3a7a9e,this[_0x58cdb4(0x3fa)][_0x58cdb4(0x428)](_0x3a7a9e);}['getImageSourceCache'](_0x535e41,_0x105f5a){var _0x43fa0e=_0x3cfa54;if(_0x105f5a===_0x57cec6[_0x43fa0e(0x337)]){const _0x39322b=new Image();return _0x39322b[_0x43fa0e(0x385)]=_0x535e41,_0x39322b;}return this['_imageSourceCache'][_0x43fa0e(0x284)](_0x535e41);}[_0x3cfa54(0x1d3)](_0x4a706e,_0x48b09d,_0x39bb82){var _0x400713=_0x3cfa54;_0x48b09d===_0x57cec6[_0x400713(0x337)]||_0x39bb82==null||this[_0x400713(0x3d9)][_0x400713(0x464)](_0x4a706e,_0x39bb82);}async[_0x3cfa54(0x3e1)](_0x1d6524){var _0x34744b=_0x3cfa54;try{const _0x16a91c=this[_0x34744b(0x26d)](this['_getSignURL'](),''+_0x1d6524),_0x58c84b=(await this['_httpService'][_0x34744b(0x284)](_0x16a91c))[_0x34744b(0x1c7)];if(_0x58c84b[_0x34744b(0x41f)]&&_0x58c84b[_0x34744b(0x41f)][_0x34744b(0x243)]===vi['OK']){const _0x2b81b9=new URL(_0x58c84b['url'],this[_0x34744b(0x208)]())[_0x34744b(0x32e)]();return Promise[_0x34744b(0x4c0)](_0x2b81b9);}return Promise[_0x34744b(0x439)](_0x58c84b[_0x34744b(0x41f)]);}catch(_0x48d553){return Promise[_0x34744b(0x439)](_0x48d553);}}async[_0x3cfa54(0x1ea)](_0x3d6795){var _0x23e7a2=_0x3cfa54;let _0x4558af='';if(!Gn[_0x23e7a2(0x246)](_0x3d6795[_0x23e7a2(0x2c9)]))return this[_0x23e7a2(0x334)](),Promise[_0x23e7a2(0x439)](new Error(_0x20529f[_0x23e7a2(0x2d2)]));if(_0x3d6795['size']>Wn)return this[_0x23e7a2(0x334)](),Promise[_0x23e7a2(0x439)](new Error(_0x20529f[_0x23e7a2(0x2de)]));try{const _0x358233=new FormData();_0x358233['append'](_0x23e7a2(0x2f7),_0x3d6795);const _0x33ad91=this['_univerInstanceService'][_0x23e7a2(0x2fa)](),_0xbcda18=_0x33ad91==null?void 0x0:_0x33ad91['getUnitId']();if(!_0xbcda18)throw new Error(_0x23e7a2(0x47a));const _0x5a764a=this[_0x23e7a2(0x41b)]()+_0x23e7a2(0x281)+_0x3d6795[_0x23e7a2(0x341)][_0x23e7a2(0x32e)]()+_0x23e7a2(0x48e)+pi[_0x23e7a2(0x33b)]+_0x23e7a2(0x3cd)+encodeURIComponent(_0xbcda18),_0xe32eb8={'body':_0x358233},_0x588159=(await this[_0x23e7a2(0x4b3)][_0x23e7a2(0x22f)](_0x5a764a,_0xe32eb8))[_0x23e7a2(0x1c7)];if(typeof _0x588159[_0x23e7a2(0x44b)]!=_0x23e7a2(0x4a3))return this[_0x23e7a2(0x334)](),Promise[_0x23e7a2(0x439)](new Error(_0x20529f['ERROR_IMAGE']));_0x4558af=_0x588159[_0x23e7a2(0x44b)];}catch{return this['_decreaseWaiting'](),Promise[_0x23e7a2(0x439)](new Error(_0x20529f[_0x23e7a2(0x2a0)]));}return new Promise((_0x441425,_0x22433c)=>{const _0x3c0802=new FileReader();_0x3c0802['readAsDataURL'](_0x3d6795),_0x3c0802['onload']=_0x4f1d43=>{var _0x45734b=_0x3a85,_0x3ce6aa;const _0x4f8469=(_0x3ce6aa=_0x4f1d43['target'])==null?void 0x0:_0x3ce6aa['result'];if(_0x4f8469==null){this[_0x45734b(0x334)](),_0x22433c(new Error(_0x20529f[_0x45734b(0x2a0)]));return;}const _0x36df3c=_0x432543(0x6);_0x441425({'imageId':_0x36df3c,'imageSourceType':_0x57cec6[_0x45734b(0x20c)],'source':_0x4558af,'base64Cache':_0x4f8469,'status':_0x20529f[_0x45734b(0x3e2)]}),this[_0x45734b(0x334)]();};});}[_0x3cfa54(0x41b)](){var _0x218c8b=_0x3cfa54,_0x3bfc4e;const _0x5be59c=this[_0x218c8b(0x335)][_0x218c8b(0x371)](K);return(_0x3bfc4e=_0x5be59c==null?void 0x0:_0x5be59c[_0x218c8b(0x412)])!=null?_0x3bfc4e:Yn;}[_0x3cfa54(0x35e)](){var _0x579142=_0x3cfa54,_0x532acf;const _0x2573df=this['_configService'][_0x579142(0x371)](K);return(_0x532acf=_0x2573df==null?void 0x0:_0x2573df[_0x579142(0x2b0)])!=null?_0x532acf:Kn;}[_0x3cfa54(0x208)](){var _0x190c8d=_0x3cfa54,_0x46ad0d;const _0xc51c35=this[_0x190c8d(0x335)]['getConfig'](K);return(_0x46ad0d=_0xc51c35==null?void 0x0:_0xc51c35['downloadEndpointUrl'])!=null?_0x46ad0d:location[_0x190c8d(0x36d)];}[_0x3cfa54(0x26d)](_0x4fcf3c,_0x9d30a5){var _0x267e47=_0x3cfa54;return _0x4fcf3c[_0x267e47(0x330)](_0x267e47(0x3b5),_0x9d30a5);}['_decreaseWaiting'](){var _0x10242c=_0x3cfa54;this['_waitCount']-=0x1,this['_change$'][_0x10242c(0x428)](this['_waitCount']);}};Rt=Vn([pt(0x0,_0x179adb(_0x5ac30f)),pt(0x1,_0x9c29af),pt(0x2,_0x179adb(_0x2cb753))],Rt);var qn=Object['getOwnPropertyDescriptor'],zn=(_0x5673d9,_0x2d9519,_0x3fe5de,_0x4754d0)=>{for(var _0x5ad89f=_0x4754d0>0x1?void 0x0:_0x4754d0?qn(_0x2d9519,_0x3fe5de):_0x2d9519,_0xffc964=_0x5673d9['length']-0x1,_0x465195;_0xffc964>=0x0;_0xffc964--)(_0x465195=_0x5673d9[_0xffc964])&&(_0x5ad89f=_0x465195(_0x5ad89f)||_0x5ad89f);return _0x5ad89f;},ri=(_0x2b8f,_0x2b193c)=>(_0x5a7a98,_0xf2dc55)=>_0x2b193c(_0x5a7a98,_0xf2dc55,_0x2b8f);const Jn=_0x3cfa54(0x382);let Ct=class{constructor(_0x4bba66,_0x2178f0){var _0x20ce5f=_0x3cfa54;this[_0x20ce5f(0x335)]=_0x4bba66,this[_0x20ce5f(0x37f)]=_0x2178f0;}[_0x3cfa54(0x4c7)](){var _0x5bcb8d=_0x3cfa54,_0x2c5772;const _0x3b8110=this[_0x5bcb8d(0x335)][_0x5bcb8d(0x371)](K);return(_0x2c5772=_0x3b8110==null?void 0x0:_0x3b8110[_0x5bcb8d(0x306)])!=null?_0x2c5772:Jn;}async[_0x3cfa54(0x3c4)](_0x50fd84){var _0x3d330c=_0x3cfa54;const _0x468b5d=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x3d330c(0x35f),'mentions':(await this[_0x3d330c(0x37f)][_0x3d330c(0x284)](_0x468b5d,{'params':{'objectID':_0x50fd84[_0x3d330c(0x308)],'unitID':_0x50fd84[_0x3d330c(0x308)]}}))[_0x3d330c(0x1c7)]['collaborators'][_0x3d330c(0x29b)](_0x216d20=>({'objectId':_0x216d20['id'],'name':_0x216d20[_0x3d330c(0x396)][_0x3d330c(0x357)],'metadata':{'icon':_0x216d20[_0x3d330c(0x396)][_0x3d330c(0x252)]},'label':_0x216d20[_0x3d330c(0x396)][_0x3d330c(0x357)],'objectType':_0x3b48db[_0x3d330c(0x421)]})),'metadata':{},'type':_0x3b48db[_0x3d330c(0x421)]}]};}};Ct=zn([ri(0x0,_0x179adb(_0x9c29af)),ri(0x1,_0x179adb(_0x5ac30f))],Ct);var Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x126fb3,_0x5cc1f0,_0xc98917,_0x187d52)=>{for(var _0x48d419=_0x187d52>0x1?void 0x0:_0x187d52?Xn(_0x5cc1f0,_0xc98917):_0x5cc1f0,_0x248256=_0x126fb3['length']-0x1,_0x1fdbf5;_0x248256>=0x0;_0x248256--)(_0x1fdbf5=_0x126fb3[_0x248256])&&(_0x48d419=_0x1fdbf5(_0x48d419)||_0x48d419);return _0x48d419;},Ue=(_0x2aa114,_0x1e05e9)=>(_0x3ea1a0,_0x294788)=>_0x1e05e9(_0x3ea1a0,_0x294788,_0x2aa114);let ot=class extends _0x5157cb{constructor(_0x520daf,_0x59a5b3,_0x45f4e7,_0x46ff8e,_0x45e006){var _0x55a839=_0x3cfa54;super(),this[_0x55a839(0x1f0)]=_0x520daf,this[_0x55a839(0x290)]=_0x59a5b3,this[_0x55a839(0x4af)]=_0x45f4e7,this[_0x55a839(0x2b7)]=_0x46ff8e,this[_0x55a839(0x3e7)]=_0x45e006,this[_0x55a839(0x3b6)](),this[_0x55a839(0x405)]();}[_0x3cfa54(0x405)](){var _0x16e2c7=_0x3cfa54;const _0x17c5c0=async _0x5dde0c=>{var _0x8ffc8e=_0x3a85;(await this[_0x8ffc8e(0x2b7)][_0x8ffc8e(0x25a)](_0x5dde0c))[_0x8ffc8e(0x3bd)][_0x8ffc8e(0x23f)](_0x4f5612(_0x11187f=>_0x11187f[_0x8ffc8e(0x236)]===_0x242f98['SHOULD_CLOSE_CONN']),_0x4e2aa1(this[_0x8ffc8e(0x211)]))[_0x8ffc8e(0x380)](_0x397f4c=>{var _0x532cf1=_0x8ffc8e;const _0x530a79=_0x397f4c,{reason:_0x1734cf}=_0x530a79[_0x532cf1(0x298)];this[_0x532cf1(0x3e7)][_0x532cf1(0x272)]({'id':re[_0x532cf1(0x227)],'data':_0x1734cf}),this['_permissionService']['updatePermissionPoint'](new _0x1b4ced(_0x5dde0c)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5dde0c);});};_0x83d48(this['_univerInstanceService'][_0x16e2c7(0x4a9)](_0x3ebcb6['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3ebcb6['UNIVER_DOC']))[_0x16e2c7(0x23f)](_0x1635e2(_0x17bc6b=>_0x17bc6b[_0x16e2c7(0x429)]()),_0x4f5612(_0x473237=>!_0x58605c(_0x473237)),_0x4e2aa1(this[_0x16e2c7(0x211)]))[_0x16e2c7(0x380)](_0x9090c9=>{_0x17c5c0(_0x9090c9);});}['_initUnitPermissionChange'](){var _0x2116e0=_0x3cfa54;const _0x40a8d7=async _0x43724f=>{var _0x4cfeca=_0x3a85;const _0x54a793=await this[_0x4cfeca(0x2b7)][_0x4cfeca(0x25a)](_0x43724f),_0x520839=this[_0x4cfeca(0x1f0)]['get'](_0x5652c9);_0x54a793[_0x4cfeca(0x3bd)][_0x4cfeca(0x23f)](_0x4f5612(_0x1566eb=>_0x1566eb[_0x4cfeca(0x236)]===_0x242f98[_0x4cfeca(0x4d3)]),_0x4e2aa1(this['dispose$']))['subscribe'](_0x5a2be3=>{var _0x1adebf=_0x4cfeca;const _0x9b8888=_0x5a2be3,{objectId:_0x4d4486}=_0x9b8888[_0x1adebf(0x298)];_0x4d4486===_0x43724f?_0x520839['initWorkbookPermissionChange'](_0x43724f):_0x520839[_0x1adebf(0x1d9)](_0x43724f,_0x4d4486);});};_0x83d48(this['_univerInstanceService'][_0x2116e0(0x4a9)](_0x3ebcb6[_0x2116e0(0x263)]))[_0x2116e0(0x23f)](_0x1635e2(_0x9914aa=>_0x9914aa['getUnitId']()),_0x4f5612(_0x309f71=>!_0x58605c(_0x309f71)),_0x4e2aa1(this[_0x2116e0(0x211)]))[_0x2116e0(0x380)](_0xac87db=>{_0x40a8d7(_0xac87db);});}};ot=Zn([Ue(0x0,_0x179adb(_0x3be7b0)),Ue(0x1,_0x2cb753),Ue(0x2,_0x362060),Ue(0x3,_0x179adb(we)),Ue(0x4,_0x179adb(ve))],ot);var Qn=Object[_0x3cfa54(0x3f9)],er=(_0x3d542b,_0x18f351,_0x322247,_0x36e392)=>{var _0x4c3a54=_0x3cfa54;for(var _0x3822c0=_0x36e392>0x1?void 0x0:_0x36e392?Qn(_0x18f351,_0x322247):_0x18f351,_0x49099f=_0x3d542b[_0x4c3a54(0x38a)]-0x1,_0x3838f8;_0x49099f>=0x0;_0x49099f--)(_0x3838f8=_0x3d542b[_0x49099f])&&(_0x3822c0=_0x3838f8(_0x3822c0)||_0x3822c0);return _0x3822c0;},ai=(_0x46547c,_0x3f1565)=>(_0x589c85,_0x5720a3)=>_0x3f1565(_0x589c85,_0x5720a3,_0x46547c);let Nt=class{constructor(_0x15b876,_0x2e016e){var _0x26c977=_0x3cfa54;this[_0x26c977(0x335)]=_0x15b876,this['_httpService']=_0x2e016e;}async['getUnitOnRev'](_0x128662,_0x5c2409){var _0x56b91e=_0x3cfa54,_0x49d9f1;const {unitID:_0x280e85,type:_0x42c38c,revision:_0x233ecb=0x0}=_0x5c2409,_0x4ed49c=this['getSnapshotAPIPath']()+'/'+_0x42c38c+'/unit/'+_0x280e85+'/rev/'+_0x233ecb,_0x372284=(await this[_0x56b91e(0x4b3)]['get'](_0x4ed49c))[_0x56b91e(0x1c7)],_0x550224=(_0x49d9f1=_0x372284[_0x56b91e(0x1d6)])==null?void 0x0:_0x49d9f1[_0x56b91e(0x23a)];if(_0x550224){const _0x1beff=_0x550224==null?void 0x0:_0x550224[_0x56b91e(0x3ec)],_0x54c2b4=_0x39946f[_0x56b91e(0x259)](_0x43cf58(_0x1beff));_0x550224['originalMeta']=_0x54c2b4,Object[_0x56b91e(0x3d7)](_0x550224[_0x56b91e(0x262)])['forEach'](([,_0x5cf92b])=>{var _0xfe05d9=_0x56b91e;const _0x5a2e86=_0x5cf92b['originalMeta'],_0x34e0a9=_0x39946f[_0xfe05d9(0x259)](_0x43cf58(_0x5a2e86));_0x5cf92b[_0xfe05d9(0x3ec)]=_0x34e0a9;});}return _0x372284;}async['getSheetBlock'](_0x13d0b6,_0x2c4e2a){var _0x5a40d1=_0x3cfa54;const {unitID:_0x2e1485,type:_0x32f9e7,blockID:_0x49b0c4}=_0x2c4e2a,_0x3bc016=this['_getAPIPrefix']()+'/'+_0x32f9e7+_0x5a40d1(0x2cc)+_0x2e1485+_0x5a40d1(0x1c5)+_0x49b0c4;return(await this[_0x5a40d1(0x4b3)][_0x5a40d1(0x284)](_0x3bc016))['body'];}async[_0x3cfa54(0x40f)](_0x159f2b,_0x424cfc){var _0x134f81=_0x3cfa54;const {unitID:_0x27a7e2,type:_0x6b13d1,blockID:_0x1e24e9}=_0x424cfc,_0x5d0ffc=this['_getAPIPrefix']()+_0x134f81(0x1c5)+_0x6b13d1+_0x134f81(0x2cc)+_0x27a7e2+_0x134f81(0x1c5)+_0x1e24e9;return(await this['_httpService'][_0x134f81(0x284)](_0x5d0ffc))['body'];}async[_0x3cfa54(0x310)](_0x3debdc,_0x1e5ba1){var _0x131731=_0x3cfa54;const {unitID:_0xebd9b2,type:_0x3cc0bc,from:_0x4fa9ab,to:_0x1de202}=_0x1e5ba1,_0x1749cb=this[_0x131731(0x331)]()+'/'+_0x3cc0bc+_0x131731(0x2cc)+_0xebd9b2+_0x131731(0x386)+_0x4fa9ab+_0x131731(0x4c5)+_0x1de202;return(await this[_0x131731(0x4b3)][_0x131731(0x284)](_0x1749cb))[_0x131731(0x1c7)];}[_0x3cfa54(0x353)](){var _0x3cd8b8=_0x3cfa54,_0x133b11;return(_0x133b11=this['_configService'][_0x3cd8b8(0x371)](vs))!=null?_0x133b11:this[_0x3cd8b8(0x331)]();}[_0x3cfa54(0x331)](){var _0x14040d=_0x3cfa54,_0x329f23;const _0x1e403f=this[_0x14040d(0x335)][_0x14040d(0x371)](K);return(_0x329f23=_0x1e403f==null?void 0x0:_0x1e403f[_0x14040d(0x4ba)])!=null?_0x329f23:fs;}async[_0x3cfa54(0x46f)](_0x42b97e,_0x3c5f4b){var _0x53256=_0x3cfa54;const _0x11f2b8='/universer-api/snapshot/'+_0x3c5f4b[_0x53256(0x2c9)]+_0x53256(0x2cc)+_0x3c5f4b['unitID']+_0x53256(0x27d);return(await this[_0x53256(0x4b3)]['get'](_0x11f2b8,{'params':{'resourceId':JSON[_0x53256(0x2b6)](_0x3c5f4b['resourceIDs'])}}))[_0x53256(0x1c7)];}[_0x3cfa54(0x45d)](){var _0x47afb2=_0x3cfa54;throw new Error(_0x47afb2(0x2c5));}[_0x3cfa54(0x23d)](){var _0x472e3d=_0x3cfa54;throw new Error(_0x472e3d(0x2c5));}[_0x3cfa54(0x391)](){var _0x3428dd=_0x3cfa54;throw new Error(_0x3428dd(0x2c5));}[_0x3cfa54(0x3e8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3cfa54(0x1f7)](){var _0x4c4154=_0x3cfa54;throw new Error(_0x4c4154(0x2c5));}};Nt=er([ai(0x0,_0x9c29af),ai(0x1,_0x179adb(_0x5ac30f))],Nt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x457b15,_0x3f791e,_0x398e8d,_0x28f5fc)=>{var _0x5cdb85=_0x3cfa54;for(var _0x425904=_0x28f5fc>0x1?void 0x0:_0x28f5fc?tr(_0x3f791e,_0x398e8d):_0x3f791e,_0x2c5f44=_0x457b15[_0x5cdb85(0x38a)]-0x1,_0x2ca773;_0x2c5f44>=0x0;_0x2c5f44--)(_0x2ca773=_0x457b15[_0x2c5f44])&&(_0x425904=_0x2ca773(_0x425904)||_0x425904);return _0x425904;},Ae=(_0x3846c5,_0x51ab0b)=>(_0x14e876,_0x132dca)=>_0x51ab0b(_0x14e876,_0x132dca,_0x3846c5);let bt=class extends _0x3199da{constructor(_0x37f608,_0x3a7312,_0x18ee8b,_0x37299c,_0x354308){var _0x28ca86=_0x3cfa54;super(_0x37f608,_0x3a7312,_0x18ee8b),this[_0x28ca86(0x483)]=_0x37299c,this[_0x28ca86(0x3db)]=_0x354308;}[_0x3cfa54(0x30e)](_0x5e403d,_0x4e463d){var _0x36b8f2=_0x3cfa54;const _0x7d1331=this[_0x36b8f2(0x3d0)](_0x5e403d);if(_0x7d1331)try{const _0x7297a4=this[_0x36b8f2(0x489)](_0x7d1331,_0x4e463d);this[_0x36b8f2(0x31a)](_0x5e403d,_0x7297a4);}catch(_0x3095bd){this[_0x36b8f2(0x3db)][_0x36b8f2(0x41f)](_0x36b8f2(0x376),_0x3095bd),this[_0x36b8f2(0x2ad)](_0x5e403d);}const _0x3a6a79=this['_getRedoStack'](_0x5e403d);if(_0x3a6a79)try{const _0x108b51=this[_0x36b8f2(0x489)](_0x3a6a79,_0x4e463d);this['_substituteRedoStack'](_0x5e403d,_0x108b51);}catch(_0xa7e838){this[_0x36b8f2(0x3db)][_0x36b8f2(0x41f)](_0xa7e838),this[_0x36b8f2(0x373)](_0x5e403d);}}[_0x3cfa54(0x2ad)](_0xccfc52){var _0x2f67f1=_0x3cfa54;const _0x5ad5bd=this[_0x2f67f1(0x3d0)](_0xccfc52);_0x5ad5bd&&(_0x5ad5bd[_0x2f67f1(0x38a)]=0x0,this[_0x2f67f1(0x224)]());}[_0x3cfa54(0x373)](_0xa177d8){var _0x2dfd83=_0x3cfa54;const _0x51523d=this[_0x2dfd83(0x1d7)](_0xa177d8);_0x51523d&&(_0x51523d[_0x2dfd83(0x38a)]=0x0,this['_updateStatus']());}[_0x3cfa54(0x31a)](_0x4a1d20,_0x159d65){var _0x2957a3=_0x3cfa54;this[_0x2957a3(0x21b)][_0x2957a3(0x464)](_0x4a1d20,_0x159d65),this[_0x2957a3(0x224)]();}[_0x3cfa54(0x3f3)](_0x17eebc,_0x5e1c19){var _0x39b64f=_0x3cfa54;this['_redoStacks'][_0x39b64f(0x464)](_0x17eebc,_0x5e1c19),this['_updateStatus']();}[_0x3cfa54(0x489)](_0x56697e,_0x4d5442){var _0x2233e3=_0x3cfa54;const _0x28c5b0=[];let _0x5e4f9a=_0x4d5442,_0x276baf=_0x4d5442;for(let _0x229446=_0x56697e[_0x2233e3(0x38a)]-0x1;_0x229446>=0x0;_0x229446--){const {unitID:_0x7cdbf0,undoMutations:_0x23262c,redoMutations:_0x2dabd6}=_0x56697e[_0x229446],_0x352b54=this[_0x2233e3(0x483)][_0x2233e3(0x2fb)](_0x5e4f9a,_0x23262c),_0x2216d0=this[_0x2233e3(0x483)][_0x2233e3(0x2fb)](_0x276baf,_0x2dabd6);if(_0x496cc2(_0x352b54)||_0x496cc2(_0x2216d0)){this[_0x2233e3(0x3db)]['error']('[CollaborationUndoRedoService]',_0x2233e3(0x1c8),_0x352b54,_0x2216d0);break;}_0x5e4f9a=_0x352b54[_0x2233e3(0x48a)],_0x276baf=_0x2216d0['c1Prime'],_0x28c5b0[_0x2233e3(0x426)]({'unitID':_0x7cdbf0,'undoMutations':_0x352b54[_0x2233e3(0x3b7)],'redoMutations':_0x2216d0['m2Prime']});}return _0x28c5b0['reverse']();}};bt=ir([Ae(0x0,_0x2cb753),Ae(0x1,_0x3ff774),Ae(0x2,_0x6cad64),Ae(0x3,_0x2b16ef),Ae(0x4,_0x21ac0b)],bt);var sr=Object[_0x3cfa54(0x22c)],nr=Object[_0x3cfa54(0x3f9)],rr=(_0xe60a1d,_0x3e2818,_0x138986)=>_0x3e2818 in _0xe60a1d?sr(_0xe60a1d,_0x3e2818,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x138986}):_0xe60a1d[_0x3e2818]=_0x138986,ar=(_0x1a7108,_0x56bcfc,_0x23578c,_0x194f0f)=>{var _0x4ab7c8=_0x3cfa54;for(var _0x45e5fe=_0x194f0f>0x1?void 0x0:_0x194f0f?nr(_0x56bcfc,_0x23578c):_0x56bcfc,_0x4e73c1=_0x1a7108[_0x4ab7c8(0x38a)]-0x1,_0x5db04f;_0x4e73c1>=0x0;_0x4e73c1--)(_0x5db04f=_0x1a7108[_0x4e73c1])&&(_0x45e5fe=_0x5db04f(_0x45e5fe)||_0x45e5fe);return _0x45e5fe;},Et=(_0x4709ab,_0x587128)=>(_0x35b477,_0x312d0e)=>_0x587128(_0x35b477,_0x312d0e,_0x4709ab),or=(_0x7e56ee,_0xddcf1a,_0x5ccfab)=>rr(_0x7e56ee,_0xddcf1a+'',_0x5ccfab);const cr=_0x3cfa54(0x43e);let Dt=class extends _0x290fc8{constructor(_0x11b1ab,_0x2da671,_0x17df6f,_0x42ddac){var _0xb2db8=_0x3cfa54;super(),D(this,_0xb2db8(0x2df)),(this[_0xb2db8(0x3db)]=_0x2da671,this[_0xb2db8(0x1f0)]=_0x17df6f,this[_0xb2db8(0x335)]=_0x42ddac);const {..._0x272afc}=_0x48d92d({},Ls,_0x11b1ab);if(!_0x272afc[_0xb2db8(0x430)])throw new Error(_0xb2db8(0x3b9));this[_0xb2db8(0x2df)]=_0x272afc,this[_0xb2db8(0x335)][_0xb2db8(0x1fd)](K,_0x272afc);}['onStarting'](){var _0x29b2b6=_0x3cfa54;this[_0x29b2b6(0x3b4)](),this[_0x29b2b6(0x4a0)]();}[_0x3cfa54(0x3b4)](){var _0x3dcce7=_0x3cfa54,_0x181a07,_0x24fe20;this['_injector'][_0x3dcce7(0x34b)](_0x226259)&&this['_logService']['error'](_0x3dcce7(0x360),_0x3dcce7(0x1cc));const _0x3e7bfb=_0x25e171([[_0x226259,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x3dcce7(0x2df)][_0x3dcce7(0x430)]}],[_0x3302c1,{'useClass':Nt}],[_0x42827d,{'useClass':Tt}],[_0x144814,{'useClass':Rt}],[_0x1a882a,{'useClass':Ct}],[nt],[gt]],(_0x181a07=this[_0x3dcce7(0x2df)])==null?void 0x0:_0x181a07[_0x3dcce7(0x38c)]);if(!((_0x24fe20=this[_0x3dcce7(0x2df)])!=null&&_0x24fe20['enableSingleActiveInstanceLock'])){const _0x4297c8=_0x3e7bfb[_0x3dcce7(0x4b5)](([_0xfab093])=>_0xfab093===_t);_0x4297c8!==-0x1&&_0x3e7bfb[_0x3dcce7(0x416)](_0x4297c8,0x1);}_0x5334fa(this[_0x3dcce7(0x1f0)],_0x3e7bfb);}[_0x3cfa54(0x4a0)](){var _0x58b73d=_0x3cfa54,_0x497a84,_0x17249b,_0x1903af;this[_0x58b73d(0x1f0)][_0x58b73d(0x284)](_0x5ac30f)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x566b27({'maxParallel':0x6})}),(_0x497a84=this['_config'])!=null&&_0x497a84[_0x58b73d(0x3c8)]||(_0x17249b=this[_0x58b73d(0x1f0)][_0x58b73d(0x284)](J,_0x90f65d['OPTIONAL']))==null||_0x17249b[_0x58b73d(0x1db)](),(_0x1903af=this['_config'])!=null&&_0x1903af[_0x58b73d(0x2c4)]&&_0x29ad7c(this[_0x58b73d(0x1f0)],[[rt]]),_0x29ad7c(this[_0x58b73d(0x1f0)],[[at],[nt],[ot]]);}};or(Dt,'pluginName',cr),Dt=ar([_0x47e4fe(_0x4fa13d,_0x3e7490),Et(0x1,_0x21ac0b),Et(0x2,_0x179adb(_0x3be7b0)),Et(0x3,_0x9c29af)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
1
+ var _0x3bcbc5=_0x1928;(function(_0x91b807,_0x106e70){var _0x56e5b8=_0x1928,_0x386b76=_0x91b807();while(!![]){try{var _0xdc5794=-parseInt(_0x56e5b8(0x27f))/0x1*(-parseInt(_0x56e5b8(0x1d5))/0x2)+-parseInt(_0x56e5b8(0x3d4))/0x3+-parseInt(_0x56e5b8(0x210))/0x4*(-parseInt(_0x56e5b8(0x287))/0x5)+parseInt(_0x56e5b8(0x231))/0x6+parseInt(_0x56e5b8(0x341))/0x7*(-parseInt(_0x56e5b8(0x334))/0x8)+-parseInt(_0x56e5b8(0x3ec))/0x9*(-parseInt(_0x56e5b8(0x368))/0xa)+-parseInt(_0x56e5b8(0x38e))/0xb*(-parseInt(_0x56e5b8(0x2e8))/0xc);if(_0xdc5794===_0x106e70)break;else _0x386b76['push'](_0x386b76['shift']());}catch(_0x2b3cd1){_0x386b76['push'](_0x386b76['shift']());}}}(_0x536b,0x346b1));var bi=Object['defineProperty'],Di=(_0x21f71d,_0x1c2bd2,_0x32b744)=>_0x1c2bd2 in _0x21f71d?bi(_0x21f71d,_0x1c2bd2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32b744}):_0x21f71d[_0x1c2bd2]=_0x32b744,D=(_0xc29b89,_0x33101a,_0x55e6c5)=>Di(_0xc29b89,typeof _0x33101a!=_0x3bcbc5(0x1d1)?_0x33101a+'':_0x33101a,_0x55e6c5);import{CollaborationEvent as _0x4c3e36,ITransformService as _0x247322,isTransformMutationsWithChangesetSuccess as _0x1f0a15,mapDocumentTypeToUniverType as _0x568dba,RevisionService as _0x322fd6,isTransformChangesetsSuccess as _0x1b5867,EmptyMutationInfo as _0xceda4,CompressMutationService as _0x539649,parseProtocolChangeset as _0x854375,uuidv4 as _0x5e068a,ISnapshotServerService as _0x51a19b,parseChangesetToProtocol as _0x5135de,SnapshotService as _0x1e673c,textEncoder as _0x4074a6,b64DecodeUnicode as _0x3578ee,isTransformMutationsWithChangesetFailure as _0x1fa8d4,UniverCollaborationPlugin as _0x40c541}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x29bce8,Inject as _0x1b5fe1,UserManagerService as _0x227fd6,Disposable as _0x589fe2,UniverInstanceType as _0xf6e3e1,ILogService as _0xbe786,IConfigService as _0x12469b,Optional as _0x426e18,RxDisposable as _0x2e3b72,createIdentifier as _0x361e5b,Injector as _0x3f0769,Tools as _0x50a26f,Rectangle as _0x17dfa8,ICommandService as _0x246ef8,JSONX as _0x38e0f8,IUndoRedoService as _0x3b359c,IPermissionService as _0x14e6d6,LocaleService as _0x3f3943,sequenceExecute as _0x3f9105,toDisposable as _0x5e9dde,CommandType as _0x21f1b6,DisposableCollection as _0x454352,Workbook as _0xcfd46d,generateRandomId as _0x20bbd5,MentionType as _0x56314d,isInternalEditorID as _0x4ed9e1,LocalUndoRedoService as _0x471c19,IContextService as _0x14b3c6,DependentOn as _0x36679f,Plugin as _0x538c4f,merge as _0xf449ca,mergeOverrideWithDependencies as _0x1fb0b6,IAuthzIoService as _0x5bb3fa,IMentionIOService as _0x243b7c,registerDependencies as _0x332554,Quantity as _0x494835,touchDependencies as _0x4064de}from'@univerjs/core';import{RichTextEditingMutation as _0xc2da57}from'@univerjs/docs';import{SheetsSelectionsService as _0x395a86,SetSelectionsOperation as _0x153bd6,InsertSheetMutation as _0x4ea4d4,WorkbookEditablePermission as _0x119f04,SheetPermissionInitController as _0x418697}from'@univerjs/sheets';import{Subject as _0x3a544d,merge as _0x59837f,of as _0x399dff,BehaviorSubject as _0x3dcdfa,takeUntil as _0x4671d8,ReplaySubject as _0x5042ba,take as _0x59ec57,map as _0xe270b0,shareReplay as _0x3a5b49,firstValueFrom as _0x483196,concatMap as _0x42b602}from'rxjs';import{ITelemetryService as _0x4290d9}from'@univerjs/telemetry';import{map as _0x2c81e7,take as _0x8ec347,filter as _0x977423,delay as _0x2fb8d8,takeUntil as _0x66664e}from'rxjs/operators';import{HTTPService as _0x4ba195,ISocketService as _0x29daef,MergeInterceptorFactory as _0x4e5346,HTTPRequest as _0x47562d,UniverNetworkPlugin as _0x21b429,ThresholdInterceptorFactory as _0xf7f34e}from'@univerjs/network';import{ImageSourceType as _0x2f6ceb,ImageUploadStatusType as _0x3d7dd9,IImageIoService as _0x5a959d}from'@univerjs/drawing';import{getGlobalObject as _0x597c27}from'@univerjs-pro/license';const fs=_0x3bcbc5(0x44d),vs=_0x3bcbc5(0x3ba),ps=0x7d0,Es='ws://127.0.0.1:8000/universer-api/comb/connect',Sr='/universer-api/user/session-ticket',ms='HEARTBEAT_INTERVAL',Is=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ss=0x4e20,gs=_0x3bcbc5(0x44f),Ts=0x3,gr=_0x3bcbc5(0x301),Tr=0x3e8,Os=_0x3bcbc5(0x437),Rs=_0x3bcbc5(0x335),Or=_0x3bcbc5(0x378),Rr=_0x3bcbc5(0x3ab);var vi=(_0x3b0159=>(_0x3b0159[_0x3b0159['UNDEFINED']=0x0]=_0x3bcbc5(0x240),_0x3b0159[_0x3b0159['OK']=0x1]='OK',_0x3b0159[_0x3b0159[_0x3bcbc5(0x34b)]=0x2]='INTERNAL_ERROR',_0x3b0159[_0x3b0159[_0x3bcbc5(0x467)]=0x3]=_0x3bcbc5(0x467),_0x3b0159[_0x3b0159['NOT_FOUND']=0x4]=_0x3bcbc5(0x2fa),_0x3b0159[_0x3b0159[_0x3bcbc5(0x2cb)]=0x5]=_0x3bcbc5(0x2cb),_0x3b0159[_0x3b0159[_0x3bcbc5(0x336)]=0x6]=_0x3bcbc5(0x336),_0x3b0159[_0x3b0159[_0x3bcbc5(0x25f)]=0x7]=_0x3bcbc5(0x25f),_0x3b0159[_0x3b0159['TOO_MANY_REQUESTS']=0x8]=_0x3bcbc5(0x3c2),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3ce)]=0x9]=_0x3bcbc5(0x3ce),_0x3b0159[_0x3b0159[_0x3bcbc5(0x348)]=0xa]='LOGIN_FAILED',_0x3b0159[_0x3b0159['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3b0159[_0x3b0159[_0x3bcbc5(0x2e0)]=0xc]=_0x3bcbc5(0x2e0),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1c6)]=0xd]=_0x3bcbc5(0x1c6),_0x3b0159[_0x3b0159[_0x3bcbc5(0x237)]=0xe]=_0x3bcbc5(0x237),_0x3b0159[_0x3b0159[_0x3bcbc5(0x279)]=0xf]=_0x3bcbc5(0x279),_0x3b0159[_0x3b0159[_0x3bcbc5(0x329)]=0x10]=_0x3bcbc5(0x329),_0x3b0159[_0x3b0159[_0x3bcbc5(0x239)]=0x64]=_0x3bcbc5(0x239),_0x3b0159[_0x3b0159['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x3b0159[_0x3b0159[_0x3bcbc5(0x4aa)]=0xc9]=_0x3bcbc5(0x4aa),_0x3b0159[_0x3b0159['USER_IS_ANONYMOUS']=0xca]=_0x3bcbc5(0x369),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1cd)]=0x1389]=_0x3bcbc5(0x1cd),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3ed)]=0x1771]=_0x3bcbc5(0x3ed),_0x3b0159[_0x3b0159[_0x3bcbc5(0x275)]=0x1772]=_0x3bcbc5(0x275),_0x3b0159[_0x3b0159[_0x3bcbc5(0x216)]=0x1773]=_0x3bcbc5(0x216),_0x3b0159[_0x3b0159[_0x3bcbc5(0x376)]=0x1b59]=_0x3bcbc5(0x376),_0x3b0159[_0x3b0159[_0x3bcbc5(0x2cf)]=0x1b5a]=_0x3bcbc5(0x2cf),_0x3b0159[_0x3b0159[_0x3bcbc5(0x26e)]=0x1b5b]=_0x3bcbc5(0x26e),_0x3b0159[_0x3b0159['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3bcbc5(0x354),_0x3b0159[_0x3b0159[_0x3bcbc5(0x417)]=0x1b5d]=_0x3bcbc5(0x417),_0x3b0159[_0x3b0159[_0x3bcbc5(0x243)]=0x1f41]=_0x3bcbc5(0x243),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1dd)]=0x2329]=_0x3bcbc5(0x1dd),_0x3b0159[_0x3b0159[_0x3bcbc5(0x35c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3b0159[_0x3b0159['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3bcbc5(0x2c3),_0x3b0159[_0x3b0159[_0x3bcbc5(0x4a9)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3b0159[_0x3b0159[_0x3bcbc5(0x2ba)]=0x232d]=_0x3bcbc5(0x2ba),_0x3b0159[_0x3b0159[_0x3bcbc5(0x21a)]=0x2711]=_0x3bcbc5(0x21a),_0x3b0159[_0x3b0159['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3bcbc5(0x3c3),_0x3b0159[_0x3b0159['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3bcbc5(0x471),_0x3b0159[_0x3b0159[_0x3bcbc5(0x28c)]=0x2714]=_0x3bcbc5(0x28c),_0x3b0159[_0x3b0159[_0x3bcbc5(0x328)]=0x271a]=_0x3bcbc5(0x328),_0x3b0159[_0x3b0159[_0x3bcbc5(0x26a)]=0x271b]=_0x3bcbc5(0x26a),_0x3b0159[_0x3b0159['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3bcbc5(0x25b),_0x3b0159[_0x3b0159[_0x3bcbc5(0x229)]=0x271d]=_0x3bcbc5(0x229),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3f1)]=0x271e]=_0x3bcbc5(0x3f1),_0x3b0159[_0x3b0159[_0x3bcbc5(0x38a)]=0x271f]=_0x3bcbc5(0x38a),_0x3b0159[_0x3b0159[_0x3bcbc5(0x491)]=0x2720]=_0x3bcbc5(0x491),_0x3b0159[_0x3b0159[_0x3bcbc5(0x298)]=0x2af9]=_0x3bcbc5(0x298),_0x3b0159[_0x3b0159[_0x3bcbc5(0x2a1)]=0x2ee1]=_0x3bcbc5(0x2a1),_0x3b0159[_0x3b0159[_0x3bcbc5(0x456)]=0x2ee2]=_0x3bcbc5(0x456),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3db)]=0x2ee3]=_0x3bcbc5(0x3db),_0x3b0159[_0x3b0159['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3bcbc5(0x35b),_0x3b0159[_0x3b0159[_0x3bcbc5(0x29e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3b0159[_0x3b0159[_0x3bcbc5(0x41f)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3b0159[_0x3b0159[_0x3bcbc5(0x28a)]=0x32ca]=_0x3bcbc5(0x28a),_0x3b0159[_0x3b0159[_0x3bcbc5(0x343)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3b0159[_0x3b0159['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x3b0159[_0x3b0159[_0x3bcbc5(0x2eb)]=0x36b2]=_0x3bcbc5(0x2eb),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1bb)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3b0159[_0x3b0159[_0x3bcbc5(0x3f5)]=0x36b4]=_0x3bcbc5(0x3f5),_0x3b0159[_0x3b0159[_0x3bcbc5(0x419)]=0x3715]=_0x3bcbc5(0x419),_0x3b0159[_0x3b0159[_0x3bcbc5(0x453)]=0x3716]=_0x3bcbc5(0x453),_0x3b0159[_0x3b0159['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3bcbc5(0x2aa),_0x3b0159[_0x3b0159['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x3bcbc5(0x217),_0x3b0159[_0x3b0159[_0x3bcbc5(0x371)]=0x3a99]=_0x3bcbc5(0x371),_0x3b0159[_0x3b0159[_0x3bcbc5(0x303)]=0x3a9a]=_0x3bcbc5(0x303),_0x3b0159[_0x3b0159[_0x3bcbc5(0x48c)]=0x3a9b]=_0x3bcbc5(0x48c),_0x3b0159[_0x3b0159[_0x3bcbc5(0x332)]=0x3a9c]=_0x3bcbc5(0x332),_0x3b0159[_0x3b0159[_0x3bcbc5(0x2c5)]=0x3a9d]=_0x3bcbc5(0x2c5),_0x3b0159[_0x3b0159['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x3bcbc5(0x428),_0x3b0159[_0x3b0159[_0x3bcbc5(0x433)]=0x3a9f]=_0x3bcbc5(0x433),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1e5)]=0x3e81]=_0x3bcbc5(0x1e5),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0x3b0159))(vi||{}),Q=(_0x4bb27a=>(_0x4bb27a[_0x4bb27a['UNIVER_UNKNOWN']=0x0]=_0x3bcbc5(0x347),_0x4bb27a[_0x4bb27a[_0x3bcbc5(0x30a)]=0x1]=_0x3bcbc5(0x30a),_0x4bb27a[_0x4bb27a[_0x3bcbc5(0x1e2)]=0x2]=_0x3bcbc5(0x1e2),_0x4bb27a[_0x4bb27a['UNIVER_SLIDE']=0x3]=_0x3bcbc5(0x24b),_0x4bb27a[_0x4bb27a[_0x3bcbc5(0x406)]=0x4]=_0x3bcbc5(0x406),_0x4bb27a[_0x4bb27a[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0x4bb27a))(Q||{}),j=(_0xb4589e=>(_0xb4589e[_0xb4589e['UNKNOWN_CMD']=0x0]=_0x3bcbc5(0x47b),_0xb4589e[_0xb4589e['HELLO']=0x1]=_0x3bcbc5(0x2d7),_0xb4589e[_0xb4589e[_0x3bcbc5(0x29f)]=0x2]=_0x3bcbc5(0x29f),_0xb4589e[_0xb4589e[_0x3bcbc5(0x304)]=0x3]='LEAVE',_0xb4589e[_0xb4589e[_0x3bcbc5(0x22a)]=0x4]=_0x3bcbc5(0x22a),_0xb4589e[_0xb4589e[_0x3bcbc5(0x292)]=0x5]=_0x3bcbc5(0x292),_0xb4589e[_0xb4589e[_0x3bcbc5(0x3ff)]=0x6]=_0x3bcbc5(0x3ff),_0xb4589e[_0xb4589e[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0xb4589e))(j||{}),pe=(_0x347d0d=>(_0x347d0d[_0x347d0d['UNKNOWN_CODE']=0x0]=_0x3bcbc5(0x42f),_0x347d0d[_0x347d0d['OK']=0x1]='OK',_0x347d0d[_0x347d0d[_0x3bcbc5(0x1bf)]=0x2]=_0x3bcbc5(0x1bf),_0x347d0d[_0x347d0d[_0x3bcbc5(0x4b1)]=0x3e9]='JOIN_ROOM_FULL',_0x347d0d[_0x347d0d[_0x3bcbc5(0x1eb)]=0x3ea]=_0x3bcbc5(0x1eb),_0x347d0d[_0x347d0d[_0x3bcbc5(0x44c)]=0x3eb]=_0x3bcbc5(0x44c),_0x347d0d[_0x347d0d[_0x3bcbc5(0x2bc)]=0x3ec]=_0x3bcbc5(0x2bc),_0x347d0d[_0x347d0d[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0x347d0d))(pe||{}),pi=(_0xe7a330=>(_0xe7a330[_0xe7a330[_0x3bcbc5(0x2e9)]=0x0]=_0x3bcbc5(0x2e9),_0xe7a330[_0xe7a330[_0x3bcbc5(0x246)]=0x1]=_0x3bcbc5(0x246),_0xe7a330[_0xe7a330[_0x3bcbc5(0x4a4)]=0x2]=_0x3bcbc5(0x4a4),_0xe7a330[_0xe7a330[_0x3bcbc5(0x2a3)]=0x3]='UnitEmbedded',_0xe7a330[_0xe7a330[_0x3bcbc5(0x1d7)]=0x4]=_0x3bcbc5(0x1d7),_0xe7a330[_0xe7a330[_0x3bcbc5(0x259)]=0x5]='UserProfileImg',_0xe7a330[_0xe7a330[_0x3bcbc5(0x422)]=0x6]='ClipsheetFragments',_0xe7a330[_0xe7a330[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0xe7a330))(pi||{});const Cs=_0x3bcbc5(0x43e);function Ns(_0x8cd342){var _0x2b05b9=_0x3bcbc5;return JSON[_0x2b05b9(0x2ce)](_0x8cd342)[_0x2b05b9(0x2be)];}var re=(_0x5af22d=>(_0x5af22d[_0x3bcbc5(0x222)]=_0x3bcbc5(0x222),_0x5af22d['PERMISSION_DENIED']=_0x3bcbc5(0x467),_0x5af22d[_0x3bcbc5(0x234)]=_0x3bcbc5(0x234),_0x5af22d[_0x3bcbc5(0x1ed)]=_0x3bcbc5(0x1ed),_0x5af22d['JOIN_ROOM_FAILED']=_0x3bcbc5(0x1bd),_0x5af22d['SOCKET_FAILED_RETRY']=_0x3bcbc5(0x444),_0x5af22d[_0x3bcbc5(0x403)]=_0x3bcbc5(0x403),_0x5af22d[_0x3bcbc5(0x413)]=_0x3bcbc5(0x413),_0x5af22d))(re||{});class ve{constructor(){var _0x195063=_0x3bcbc5;D(this,_0x195063(0x2f0),new _0x3a544d()),D(this,_0x195063(0x2b4),this[_0x195063(0x2f0)][_0x195063(0x405)]());}[_0x3bcbc5(0x1f9)](_0x88dc72){var _0x5aca58=_0x3bcbc5;this['_event$'][_0x5aca58(0x497)](_0x88dc72);}}class Ei{constructor(){var _0x2c078c=_0x3bcbc5;D(this,_0x2c078c(0x2d4),new _0x3a544d()),D(this,_0x2c078c(0x400),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x576345){var _0x28cb28=_0x3bcbc5;this[_0x28cb28(0x2d4)][_0x28cb28(0x497)](_0x576345);}}var bs=Object[_0x3bcbc5(0x2f1)],Ds=(_0xef9969,_0xe38aa6,_0x76fdf1,_0x42c78c)=>{var _0x31abca=_0x3bcbc5;for(var _0x53d9d3=_0x42c78c>0x1?void 0x0:_0x42c78c?bs(_0xe38aa6,_0x76fdf1):_0xe38aa6,_0x523066=_0xef9969[_0x31abca(0x2be)]-0x1,_0x2623ee;_0x523066>=0x0;_0x523066--)(_0x2623ee=_0xef9969[_0x523066])&&(_0x53d9d3=_0x2623ee(_0x53d9d3)||_0x53d9d3);return _0x53d9d3;},Ft=(_0x349970,_0x4f5c4d)=>(_0x1a55d5,_0x57f437)=>_0x4f5c4d(_0x1a55d5,_0x57f437,_0x349970);let Pe=class extends _0x589fe2{constructor(_0x303146,_0x15fed9){var _0x335fa9=_0x3bcbc5;super(),D(this,_0x335fa9(0x2f3),new Map()),D(this,'_roomCreated$',new _0x3a544d()),(this['_univerInstanceService']=_0x303146,this[_0x335fa9(0x324)]=_0x15fed9,this['disposeWithMe'](_0x59837f(this[_0x335fa9(0x31f)][_0x335fa9(0x248)](_0xf6e3e1[_0x335fa9(0x1e2)])[_0x335fa9(0x29c)](_0x2c81e7(_0x53bf3a=>_0x53bf3a[_0x335fa9(0x1b3)]())),this['_univerInstanceService'][_0x335fa9(0x248)](_0xf6e3e1[_0x335fa9(0x30a)])[_0x335fa9(0x29c)](_0x2c81e7(_0x2371d9=>_0x2371d9[_0x335fa9(0x1b3)]())),this['_univerInstanceService'][_0x335fa9(0x248)](_0xf6e3e1['UNIVER_SLIDE'])['pipe'](_0x2c81e7(_0x9d3671=>_0x9d3671[_0x335fa9(0x1b3)]())))[_0x335fa9(0x2ff)](_0x40a89c=>this[_0x335fa9(0x2ee)](_0x40a89c))));}[_0x3bcbc5(0x2cc)](_0x4262f5){var _0x24b54c=_0x3bcbc5;return this[_0x24b54c(0x2f3)]['has'](_0x4262f5)?_0x399dff(this[_0x24b54c(0x2f3)]['get'](_0x4262f5)):this['_roomCreated$'][_0x24b54c(0x29c)](_0x2c81e7(_0x3be585=>{var _0x480166=_0x24b54c;if(_0x3be585===_0x4262f5)return this[_0x480166(0x2f3)][_0x480166(0x448)](_0x3be585);}));}['setCurrentUser'](_0xf7c77c){var _0x7c0b59=_0x3bcbc5;this[_0x7c0b59(0x324)][_0x7c0b59(0x45f)](_0xf7c77c);}[_0x3bcbc5(0x33b)](){var _0x2b986a=_0x3bcbc5;return this['_userManagerService'][_0x2b986a(0x33b)]();}[_0x3bcbc5(0x2cd)](_0x4b5da9,_0x3121b0){var _0x4bba34=_0x3bcbc5;let _0x33b7bd=this[_0x4bba34(0x2f3)]['get'](_0x4b5da9);_0x33b7bd||(_0x33b7bd=new ys(),this[_0x4bba34(0x2f3)][_0x4bba34(0x3cd)](_0x4b5da9,_0x33b7bd),this[_0x4bba34(0x306)][_0x4bba34(0x497)](_0x4b5da9)),_0x33b7bd[_0x4bba34(0x2cd)](_0x3121b0);}[_0x3bcbc5(0x314)](_0x36dbf3,_0x57dee5){var _0x4cd9f1=_0x3bcbc5;const _0x1ce183=this[_0x4cd9f1(0x2f3)][_0x4cd9f1(0x448)](_0x36dbf3);_0x1ce183&&_0x1ce183['removeMember'](_0x57dee5);}[_0x3bcbc5(0x3e7)](_0x274819){var _0x7c3014=_0x3bcbc5;return this[_0x7c3014(0x2f3)][_0x7c3014(0x448)](_0x274819);}[_0x3bcbc5(0x33c)](_0x3d8c24,_0x1a6cf6){var _0x12474a=_0x3bcbc5;const _0x418a50=this[_0x12474a(0x2f3)][_0x12474a(0x448)](_0x3d8c24);if(_0x418a50)return _0x418a50[_0x12474a(0x33c)](_0x1a6cf6);}[_0x3bcbc5(0x2ee)](_0x3b4342){var _0x2e4f67=_0x3bcbc5;const _0x537da0=this['_roomMembers'][_0x2e4f67(0x448)](_0x3b4342);_0x537da0&&(_0x537da0[_0x2e4f67(0x23d)](),this[_0x2e4f67(0x2f3)][_0x2e4f67(0x38b)](_0x3b4342));}['dispose'](){var _0x420610=_0x3bcbc5;this[_0x420610(0x2f3)]['forEach'](_0x1fbe3f=>_0x1fbe3f[_0x420610(0x23d)]()),this[_0x420610(0x2f3)][_0x420610(0x221)](),this[_0x420610(0x306)][_0x420610(0x30c)]();}};Pe=Ds([Ft(0x0,_0x29bce8),Ft(0x1,_0x1b5fe1(_0x227fd6))],Pe);class ys extends _0x589fe2{constructor(){var _0x2cfc1f=_0x3bcbc5;super(...arguments),D(this,_0x2cfc1f(0x3bb),new Map()),D(this,_0x2cfc1f(0x454),new _0x3dcdfa(this[_0x2cfc1f(0x3bb)])),D(this,_0x2cfc1f(0x295),this[_0x2cfc1f(0x454)][_0x2cfc1f(0x405)]());}[_0x3bcbc5(0x23d)](){var _0x14dae0=_0x3bcbc5;this[_0x14dae0(0x3bb)][_0x14dae0(0x221)]();}[_0x3bcbc5(0x2cd)](_0x474ade){var _0x243013=_0x3bcbc5;this['_members'][_0x243013(0x3cd)](_0x474ade[_0x243013(0x367)],_0x474ade),this[_0x243013(0x39a)]();}[_0x3bcbc5(0x314)](_0x228e2c){var _0x3bcd52=_0x3bcbc5;this[_0x3bcd52(0x3bb)][_0x3bcd52(0x38b)](_0x228e2c);}[_0x3bcbc5(0x33c)](_0x35d953){var _0x592c02=_0x3bcbc5;return this[_0x592c02(0x3bb)][_0x592c02(0x448)](_0x35d953);}['getAllMembers'](){var _0x536552=_0x3bcbc5;return Array[_0x536552(0x230)](this['_members'][_0x536552(0x385)]());}[_0x3bcbc5(0x39a)](){var _0x21a65e=_0x3bcbc5;this['_members$']['next'](this[_0x21a65e(0x3bb)]);}}var Us=Object[_0x3bcbc5(0x2f1)],As=(_0x4e3145,_0x2d90d7,_0x53d9a4,_0x233606)=>{var _0x276cbc=_0x3bcbc5;for(var _0x1c7f8c=_0x233606>0x1?void 0x0:_0x233606?Us(_0x2d90d7,_0x53d9a4):_0x2d90d7,_0x4ea145=_0x4e3145[_0x276cbc(0x2be)]-0x1,_0x4afaee;_0x4ea145>=0x0;_0x4ea145--)(_0x4afaee=_0x4e3145[_0x4ea145])&&(_0x1c7f8c=_0x4afaee(_0x1c7f8c)||_0x1c7f8c);return _0x1c7f8c;},Oe=(_0x25b079,_0x120ba2)=>(_0x78cd64,_0x16a015)=>_0x120ba2(_0x78cd64,_0x16a015,_0x25b079),me=(_0x471ecb=>(_0x471ecb[_0x471ecb['IDLE']=0x0]=_0x3bcbc5(0x46b),_0x471ecb[_0x471ecb[_0x3bcbc5(0x1cc)]=0x1]=_0x3bcbc5(0x1cc),_0x471ecb[_0x471ecb[_0x3bcbc5(0x1c5)]=0x2]=_0x3bcbc5(0x1c5),_0x471ecb[_0x471ecb['ONLINE']=0x3]=_0x3bcbc5(0x45e),_0x471ecb))(me||{});const jt={[pe[_0x3bcbc5(0x1bf)]]:_0x3bcbc5(0x458),[pe[_0x3bcbc5(0x4b1)]]:'session.room-full',[pe[_0x3bcbc5(0x1eb)]]:_0x3bcbc5(0x2e1),[pe[_0x3bcbc5(0x44c)]]:_0x3bcbc5(0x42d),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3bcbc5(0x4a2)};let mt=class extends _0x2e3b72{constructor(_0x3c46e8,_0x3d8d72,_0x41acf9,_0x22cb93,_0x4802af,_0x36b90d,_0x3e74f0,_0x2049c9){var _0x51914e=_0x3bcbc5;super(),D(this,_0x51914e(0x485),new _0x3dcdfa(0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x51914e(0x405)]()),D(this,'_event$',new _0x3a544d()),D(this,_0x51914e(0x2b4),this[_0x51914e(0x2f0)][_0x51914e(0x405)]()),D(this,'_socket'),D(this,_0x51914e(0x3fb)),D(this,'_collaborationTimeoutTimer'),D(this,_0x51914e(0x251),!0x1),D(this,'_telemetryInfo',null),(this[_0x51914e(0x209)]=_0x3c46e8,this[_0x51914e(0x3dc)]=_0x41acf9,this[_0x51914e(0x346)]=_0x22cb93,this[_0x51914e(0x490)]=_0x4802af,this['_commentService']=_0x36b90d,this['_collaborationUIEventService']=_0x3e74f0,this[_0x51914e(0x282)]=_0x2049c9,this[_0x51914e(0x251)]=!!this[_0x51914e(0x282)],_0x3d8d72[_0x51914e(0x29c)](_0x4671d8(this[_0x51914e(0x443)]))['subscribe'](_0x3cf911=>{var _0x14ef0e=_0x51914e,_0xd8d332;typeof _0x3cf911>'u'||(this[_0x14ef0e(0x3f9)]=_0x3cf911,_0x3cf911?(this[_0x14ef0e(0x22e)](_0x3cf911),this[_0x14ef0e(0x3fb)]=_0x3cf911[_0x14ef0e(0x24a)][_0x14ef0e(0x2ff)](_0x1a769b=>{var _0x426633=_0x14ef0e;_0x1a769b[_0x426633(0x299)]===this[_0x426633(0x209)]&&this[_0x426633(0x315)](_0x1a769b);})):(this[_0x14ef0e(0x25c)](),this[_0x14ef0e(0x485)][_0x14ef0e(0x497)](0x2),(_0xd8d332=this[_0x14ef0e(0x3fb)])==null||_0xd8d332['unsubscribe'](),this[_0x14ef0e(0x3fb)]=null));}));}get['sessionStatus'](){var _0x27dd11=_0x3bcbc5;return this[_0x27dd11(0x485)][_0x27dd11(0x495)]();}['getMemberID'](){var _0x38ef5a=_0x3bcbc5,_0x26596f,_0x41261f;return(_0x41261f=(_0x26596f=this[_0x38ef5a(0x3f9)])==null?void 0x0:_0x26596f['memberID'])!=null?_0x41261f:null;}[_0x3bcbc5(0x23d)](){var _0x21dd01=_0x3bcbc5;super['dispose'](),this['dispose$'][_0x21dd01(0x497)](),this[_0x21dd01(0x443)][_0x21dd01(0x30c)]();}[_0x3bcbc5(0x266)](){var _0x619a58=_0x3bcbc5,_0x477c1b,_0x2e8b27;this[_0x619a58(0x25c)](),(_0x477c1b=this[_0x619a58(0x3f9)])==null||_0x477c1b[_0x619a58(0x325)]({'cmd':j[_0x619a58(0x304)],'data':{'roomID':this[_0x619a58(0x209)]}}),(_0x2e8b27=this[_0x619a58(0x3f9)])==null||_0x2e8b27[_0x619a58(0x266)](),this[_0x619a58(0x2f0)][_0x619a58(0x30c)](),this[_0x619a58(0x485)]['complete'](),this[_0x619a58(0x23d)]();}[_0x3bcbc5(0x315)](_0xecf17d){var _0x1fd040=_0x3bcbc5;_0xecf17d['cmd']===j[_0x1fd040(0x29f)]?this[_0x1fd040(0x3f4)](_0xecf17d):_0xecf17d[_0x1fd040(0x225)]===j[_0x1fd040(0x3ff)]&&this[_0x1fd040(0x4b2)](_0xecf17d);}[_0x3bcbc5(0x22e)](_0x99570f){var _0x1f6eb2=_0x3bcbc5;this[_0x1f6eb2(0x485)][_0x1f6eb2(0x497)](0x1),_0x99570f[_0x1f6eb2(0x325)]({'cmd':j['JOIN'],'routeKey':this[_0x1f6eb2(0x209)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3bcbc5(0x3f4)](_0x5ecc5a){var _0x144caf=_0x3bcbc5,_0x252fe2;if(_0x5ecc5a[_0x144caf(0x398)]in jt){this[_0x144caf(0x4ad)]['emitEvent']({'id':re['JOIN_ROOM_FAILED'],'data':jt[_0x5ecc5a[_0x144caf(0x398)]]}),this['_sessionStatus$'][_0x144caf(0x497)](0x2);return;}this['_sessionStatus$'][_0x144caf(0x497)](0x3);const _0x5f045d=(_0x252fe2=_0x5ecc5a[_0x144caf(0x31c)]['roomInfos'][this[_0x144caf(0x209)]])==null?void 0x0:_0x252fe2[_0x144caf(0x462)];_0x5f045d&&_0x5f045d[_0x144caf(0x4a0)](_0x257d9b=>this[_0x144caf(0x490)]['updateMember'](this['_unitID'],_0x257d9b));}['_onRecvEvent'](_0x398299){var _0x160b09=_0x3bcbc5;try{const _0x56c5ad=_0x398299[_0x160b09(0x31c)];switch(_0x56c5ad[_0x160b09(0x255)]){case _0x4c3e36[_0x160b09(0x39f)]:this[_0x160b09(0x436)](_0x56c5ad),this[_0x160b09(0x2f0)][_0x160b09(0x497)](_0x56c5ad);break;case _0x4c3e36['USERS_LEAVE']:this[_0x160b09(0x39e)](_0x56c5ad),this[_0x160b09(0x2f0)][_0x160b09(0x497)](_0x56c5ad);break;case _0x4c3e36[_0x160b09(0x1d4)]:case _0x4c3e36[_0x160b09(0x359)]:this[_0x160b09(0x2b0)](),this[_0x160b09(0x43b)](),this[_0x160b09(0x2f0)][_0x160b09(0x497)](_0x56c5ad);break;case _0x4c3e36[_0x160b09(0x25e)]:this[_0x160b09(0x3dc)][_0x160b09(0x2dd)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x160b09(0x2ce)](_0x56c5ad)),this['_event$'][_0x160b09(0x497)](_0x56c5ad);break;case _0x4c3e36[_0x160b09(0x204)]:this[_0x160b09(0x2e3)][_0x160b09(0x3ef)](_0x56c5ad[_0x160b09(0x31c)]),this['_event$'][_0x160b09(0x497)](_0x56c5ad);break;default:this[_0x160b09(0x2f0)][_0x160b09(0x497)](_0x56c5ad);}}catch(_0x56973b){this[_0x160b09(0x3dc)][_0x160b09(0x2dd)](_0x56973b,_0x398299);}}['_onUserJoin'](_0x20eaed){var _0x3a6d22=_0x3bcbc5;this[_0x3a6d22(0x490)][_0x3a6d22(0x2cd)](this['_unitID'],_0x20eaed[_0x3a6d22(0x31c)]);}[_0x3bcbc5(0x39e)](_0x1e169d){var _0x3e4cd9=_0x3bcbc5;this[_0x3e4cd9(0x490)]['removeMember'](this['_unitID'],_0x1e169d[_0x3e4cd9(0x31c)]['memberID']);}async['send'](_0x1417c7,_0x5e7bde){var _0x3dcd3d=_0x3bcbc5;if(this[_0x3dcd3d(0x36c)]!==0x3||!this[_0x3dcd3d(0x3f9)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1417c7[_0x3dcd3d(0x255)]===_0x4c3e36[_0x3dcd3d(0x1d6)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x3dcd3d(0x244)](_0x1417c7)),this[_0x3dcd3d(0x3f9)][_0x3dcd3d(0x325)]({'cmd':j[_0x3dcd3d(0x22a)],'routeKey':_0x5e7bde,'routeType':'','data':_0x1417c7});}catch(_0x4da525){this['_logService']['error'](_0x4da525);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3dd3b8=_0x3bcbc5,_0x4d3515;this[_0x3dd3b8(0x242)]=setTimeout(()=>{var _0x16b4a0=_0x3dd3b8;this[_0x16b4a0(0x242)]=null,this[_0x16b4a0(0x4ad)][_0x16b4a0(0x1f9)]({'id':re[_0x16b4a0(0x413)]});},(_0x4d3515=this['_configService'][_0x3dd3b8(0x2f6)](di))!=null?_0x4d3515:fi);}[_0x3bcbc5(0x43b)](){var _0xb38d7e=_0x3bcbc5;this[_0xb38d7e(0x242)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xb38d7e(0x242)]=null);}[_0x3bcbc5(0x244)](_0x2c2c4c){var _0x41ff32=_0x3bcbc5;if(!this[_0x41ff32(0x251)])return;const {data:_0x248a1d}=_0x2c2c4c,{unitID:_0x4b1f3a,changeset:_0x13447e}=_0x248a1d,{mutations:_0x1df5a7,type:_0x3a13e6}=_0x13447e;this[_0x41ff32(0x313)]={'unitId':_0x4b1f3a,'type':_0x3a13e6,'startTime':performance[_0x41ff32(0x3ae)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x1df5a7)};}[_0x3bcbc5(0x2b0)](){var _0x4051c1=_0x3bcbc5;if(this[_0x4051c1(0x251)]){if(!this[_0x4051c1(0x313)]){this['_logService'][_0x4051c1(0x2dd)](_0x4051c1(0x388),_0x4051c1(0x4a5));return;}this['_telemetryInfo'][_0x4051c1(0x319)]=performance['now'](),this['_telemetryInfo'][_0x4051c1(0x468)]=this[_0x4051c1(0x313)][_0x4051c1(0x319)]-this[_0x4051c1(0x313)][_0x4051c1(0x31d)],this[_0x4051c1(0x282)][_0x4051c1(0x492)](Cs,this[_0x4051c1(0x313)]),this['_telemetryInfo']=null;}}[_0x3bcbc5(0x25c)](){var _0xb93c81=_0x3bcbc5;this[_0xb93c81(0x313)]=null;}};mt=As([Oe(0x2,_0xbe786),Oe(0x3,_0x12469b),Oe(0x4,_0x1b5fe1(Pe)),Oe(0x5,_0x1b5fe1(Ei)),Oe(0x6,_0x1b5fe1(ve)),Oe(0x7,_0x426e18(_0x4290d9))],mt);const J=_0x361e5b(_0x3bcbc5(0x48d));function Cr(_0x59ba48){return'unit-cache-'+_0x59ba48;}var Ps=Object[_0x3bcbc5(0x2f1)],ws=(_0x286826,_0x48759a,_0x4d0245,_0x56f002)=>{var _0x3af562=_0x3bcbc5;for(var _0x5c165c=_0x56f002>0x1?void 0x0:_0x56f002?Ps(_0x48759a,_0x4d0245):_0x48759a,_0x5adb94=_0x286826[_0x3af562(0x2be)]-0x1,_0x4fdfb6;_0x5adb94>=0x0;_0x5adb94--)(_0x4fdfb6=_0x286826[_0x5adb94])&&(_0x5c165c=_0x4fdfb6(_0x5c165c)||_0x5c165c);return _0x5c165c;},ut=(_0x3a6a7e,_0x59fe66)=>(_0x1c18d4,_0x528c5b)=>_0x59fe66(_0x1c18d4,_0x528c5b,_0x3a6a7e);function Ms(_0x35bc07){var _0x30c937=_0x3bcbc5;const {unitID:_0x3dcc23,mutations:_0xa3b6ea}=_0x35bc07;return{'unitId':_0x3dcc23,'subUnitId':_0xa3b6ea[_0x30c937(0x2be)]>0x0?_0xa3b6ea[0x0][_0x30c937(0x2f4)][_0x30c937(0x357)]:null};}let it=class{constructor(_0xc22534,_0x30a3b5,_0x19107c){var _0xf7c601=_0x3bcbc5;this[_0xf7c601(0x463)]=_0xc22534,this[_0xf7c601(0x220)]=_0x30a3b5,this['_instanceService']=_0x19107c;}['transformSelections'](_0x317d79){var _0x4b83c6=_0x3bcbc5,_0xd045ee,_0x59c43b,_0x3a21e3,_0x10e0eb;const _0x2f5cd7=this[_0x4b83c6(0x463)][_0x4b83c6(0x448)](_0x395a86),{unitId:_0x5a7b89,subUnitId:_0x4fbfae}=Ms(_0x317d79),_0x4d5d97=_0x2f5cd7==null?void 0x0:_0x2f5cd7[_0x4b83c6(0x285)](_0x5a7b89)[_0x4b83c6(0x414)](),_0x1ce44c=(_0x59c43b=(_0xd045ee=this['_instanceService'][_0x4b83c6(0x4af)](_0x5a7b89))==null?void 0x0:_0xd045ee[_0x4b83c6(0x476)]())==null?void 0x0:_0x59c43b[_0x4b83c6(0x2c1)]();if(_0x4d5d97[_0x4b83c6(0x2be)]===0x0||!_0x5a7b89||!_0x4fbfae)return;const _0x2e1ab8=[{'id':_0x153bd6['id'],'params':{'unitId':_0x5a7b89,'subUnitId':_0x1ce44c,'selections':_0x50a26f[_0x4b83c6(0x1b6)](_0x4d5d97)}}],_0x1548f2=this[_0x4b83c6(0x220)][_0x4b83c6(0x3b7)](_0x317d79,_0x2e1ab8);if(!_0x1f0a15(_0x1548f2))throw _0x1548f2[_0x4b83c6(0x2dd)];const _0xb2baea=(_0x10e0eb=(_0x3a21e3=_0x1548f2[_0x4b83c6(0x1d3)][0x0])==null?void 0x0:_0x3a21e3[_0x4b83c6(0x2f4)])==null?void 0x0:_0x10e0eb['selections'];if(Array[_0x4b83c6(0x2d1)](_0xb2baea)&&_0xb2baea[_0x4b83c6(0x2be)]){if(_0xb2baea['length']===_0x2e1ab8[0x0]['params']['selections'][_0x4b83c6(0x2be)]&&_0xb2baea[_0x4b83c6(0x2ec)]((_0x45868e,_0x3832dc)=>_0x17dfa8[_0x4b83c6(0x49f)](_0x45868e[_0x4b83c6(0x46c)],_0x2e1ab8[0x0][_0x4b83c6(0x2f4)][_0x4b83c6(0x208)][_0x3832dc][_0x4b83c6(0x46c)])))return;this['_injector'][_0x4b83c6(0x448)](_0x246ef8)[_0x4b83c6(0x21c)](_0x153bd6['id'],{'unitId':_0x5a7b89,'subUnitId':_0x1ce44c,'selections':_0xb2baea});}}};it=ws([ut(0x0,_0x1b5fe1(_0x3f0769)),ut(0x1,_0x247322),ut(0x2,_0x29bce8)],it);const _t=_0x361e5b('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0x2b93d2=>(_0x2b93d2[_0x2b93d2[_0x3bcbc5(0x389)]=0x0]=_0x3bcbc5(0x389),_0x2b93d2[_0x2b93d2[_0x3bcbc5(0x1c9)]=0x1]='OTHER_CLIENTS_EDITING',_0x2b93d2))(mi||{});const K=_0x3bcbc5(0x307),Ls={},xs=new Set([_0x4ea4d4['id']]);function Vt(_0x21c7b0,_0x379470,_0x4a43dc,_0x56f067,_0x4836ee){var _0x438c2a=_0x3bcbc5,_0x46e447,_0x87db69,_0x455c00,_0x5683ee;const _0x20031a=[];for(const _0x3e8724 of _0x21c7b0)if(xs[_0x438c2a(0x48a)](_0x3e8724['id'])){if(_0x20031a[_0x438c2a(0x2be)]>0x0)break;_0x20031a[_0x438c2a(0x35e)](_0x3e8724);break;}else _0x20031a[_0x438c2a(0x35e)](_0x3e8724);const _0x212a6e=(_0x87db69=(_0x46e447=_0x4836ee[_0x438c2a(0x33b)]())==null?void 0x0:_0x46e447[_0x438c2a(0x2af)])!=null?_0x87db69:_0x438c2a(0x1c1),_0x3b5b00=(_0x5683ee=(_0x455c00=_0x4836ee['getCurrentUser']())==null?void 0x0:_0x455c00['memberID'])!=null?_0x5683ee:'unknown';return{'changeset':{'unitID':_0x379470,'type':_0x568dba(_0x4a43dc[_0x438c2a(0x47d)](_0x379470)),'baseRev':_0x56f067[_0x438c2a(0x386)](_0x379470),'revision':0x0,'userID':_0x212a6e,'memberID':_0x3b5b00,'mutations':_0x20031a},'pendingMutations':_0x21c7b0[_0x438c2a(0x1e9)](_0x20031a[_0x438c2a(0x2be)])};}function $s(_0x493353,_0x973827,_0x3f009c,_0x94dd9e,_0x23d87c){var _0x4d331b=_0x3bcbc5,_0x130a9c,_0x10a4ea,_0x538c61,_0x5ac756;const _0x545657=[_0x493353[_0x4d331b(0x1b4)]((_0x587814,_0x2bcab1)=>{var _0xbf2e37=_0x4d331b,_0x282170;const {id:_0x1687f1}=_0x587814,{id:_0x34a638,type:_0x275d15}=_0x2bcab1,_0x5455be=(_0x282170=_0x587814['params'])!=null?_0x282170:{'actions':null},_0x2341aa=_0x2bcab1[_0xbf2e37(0x2f4)];if(_0x1687f1&&_0x1687f1!==_0x34a638)throw new Error(_0xbf2e37(0x227)+_0x1687f1+_0xbf2e37(0x481)+_0x34a638+'.');return{..._0x587814,'id':_0x34a638,'type':_0x275d15,'params':{'unitId':_0x2341aa[_0xbf2e37(0x267)],'textRanges':_0x2341aa['textRanges'],'actions':_0x38e0f8[_0xbf2e37(0x21e)](_0x5455be['actions'],_0x2341aa['actions'])}};},{})],_0x16fb95=(_0x10a4ea=(_0x130a9c=_0x23d87c[_0x4d331b(0x33b)]())==null?void 0x0:_0x130a9c[_0x4d331b(0x2af)])!=null?_0x10a4ea:'unknown',_0x372860=(_0x5ac756=(_0x538c61=_0x23d87c[_0x4d331b(0x33b)]())==null?void 0x0:_0x538c61[_0x4d331b(0x367)])!=null?_0x5ac756:'unknown';return{'changeset':{'unitID':_0x973827,'type':_0x568dba(_0x3f009c[_0x4d331b(0x47d)](_0x973827)),'baseRev':_0x94dd9e[_0x4d331b(0x386)](_0x973827),'revision':0x0,'userID':_0x16fb95,'memberID':_0x372860,'mutations':_0x545657},'pendingMutations':[]};}function Ii(_0x2472ff,_0x37486b){var _0x61a68f=_0x3bcbc5;const _0x49860f=new _0x5042ba(0x1);return setTimeout(()=>_0x49860f[_0x61a68f(0x497)](_0x37486b),_0x2472ff),_0x49860f['asObservable']()[_0x61a68f(0x29c)](_0x59ec57(0x1));}var ks=Object['getOwnPropertyDescriptor'],Se=(_0x579c5d,_0x5260d2,_0x2a137f,_0x5cd5c2)=>{var _0x1e47f1=_0x3bcbc5;for(var _0x577c90=_0x5cd5c2>0x1?void 0x0:_0x5cd5c2?ks(_0x5260d2,_0x2a137f):_0x5260d2,_0x4629fa=_0x579c5d[_0x1e47f1(0x2be)]-0x1,_0x4af8ea;_0x4629fa>=0x0;_0x4629fa--)(_0x4af8ea=_0x579c5d[_0x4629fa])&&(_0x577c90=_0x4af8ea(_0x577c90)||_0x577c90);return _0x577c90;},w=(_0x57eefd,_0xa54884)=>(_0x34d5e4,_0x28db80)=>_0xa54884(_0x34d5e4,_0x28db80,_0x57eefd),Si=(_0x25058e=>(_0x25058e[_0x3bcbc5(0x1f7)]=_0x3bcbc5(0x365),_0x25058e[_0x3bcbc5(0x349)]=_0x3bcbc5(0x3e3),_0x25058e[_0x3bcbc5(0x309)]='pending',_0x25058e[_0x3bcbc5(0x2ae)]=_0x3bcbc5(0x46a),_0x25058e[_0x3bcbc5(0x33a)]=_0x3bcbc5(0x478),_0x25058e[_0x3bcbc5(0x24d)]=_0x3bcbc5(0x441),_0x25058e[_0x3bcbc5(0x234)]=_0x3bcbc5(0x442),_0x25058e['OFFLINE']=_0x3bcbc5(0x241),_0x25058e))(Si||{});const gi=0xea60;function _0x536b(){var _0x56164c=['PERMISSION_REJ','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','setShowComponents','enableSingleActiveInstanceLock','_handler','REDEMPTION_CODE_NOT_STARTED','newCsEvent','875024KfDFMJ','/universer-api/oidc/authpage','ALREADY_EXISTS','_createHmacHelper','msCrypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','AWAITING_WITH_PENDING','getCurrentUser','getMember','_getSignURL','[FetchMissState]','_remoteChangesetQueue','transformChangesets','7XPQvXr','_showConflictNotification','EMAIL_HAS_BEEN_BOUND','joinRsp','cfg','_configService','UNIVER_UNKNOWN','LOGIN_FAILED','SYNCED','session','INTERNAL_ERROR','requireSession','c1Prime','_toggleOffline','hasher','allowed','[OfflineState]:\x20received\x20changeset.','DEFAULT_FILE_NAME','revision','APPLY_PERMISSION_DENIED','onRemoteRej','min','subUnitId','_clearHeartbeatTimer','CHANGESET_SHOULD_RETRY','_key','USER_NOT_INVITED_CODE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setWaitCount','push','_updateStatus','ivSize','file','_map','getInterceptPoints','fetching\x20missing\x20changesets\x20from\x20','not_collab','_doProcessBlock','memberID','647120OUXaqF','USER_IS_ANONYMOUS','_HTTPService','onSendChangeset','sessionStatus','Base','/universer-api/file/{fileID}/sign-url','fromCollab','_schedule','REDEMPTION_INVALID_CODE','createDecryptor','_socket$','__esModule','extend','APPLY_REJECT','_unlockTransition','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','indexOf','_revisionService','editing\x20status\x20changed\x20to','concat','floor','Latin1','_getUploadFileURL','/allowed','_onMessage','put','sid','unsubscribe','values','getCurrentRevOfUnit','byteLength','[CollaborationSession]','NO_OTHER_CLIENTS_EDITING','YUUMI_AI_RUN_FAILED','delete','init','processBlock','191675bTdapS','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getImage','_init','HmacMD5','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveImage','_createInitialStateImpl','_clearRedo','connection\x20error','code','compute','_emitMembers','_applyRemoteChangeset','_decreaseWaiting','_onRemoteRetry','_onUserLeave','USERS_ENTER','result','UPDATE_CURSOR','CHANGESET_REJ','UNRECOGNIZED','_submitChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/object','entityInit$','COMPRESS_MUTATION_SEND','toggleOnline','sessionStatus$','/universer-api/uniscript','pad','changesets','now','_replayCachedMutations','_sendHeartbeatTimer','apply','[CollaborationUndoRedoService]','_networkConditionService','FETCH_MISSING','_initMergeInterceptor','readyForCollab','transformMutationsWithChangeset','origin','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SNAPSHOT_URL_KEY','_members','isPermissionRej','_nRounds','updatePermissionObjEvent','substr','onTransformRemoteChangesetByStateCache','_clearRetryConnectingTimer','TOO_MANY_REQUESTS','YUUMI_URL_COL_OUT_OF_RANGE','_syncEditingCollabCursor','submit\x20changeset\x20error!','_localCacheService','socketService','__creator','[OfflineState]:\x20received\x20acknowledgement.','_httpService','_incrementRevisionNumber','charCodeAt','set','COMPLETION_FINISHED','hostname','updatePermissionPoint','image/png','_substituteRedoStack','/universer-api/authz','780204tnvBuL','COMPRESS_MUTATION_APPLY','href','buffer','_singleActiveUnitService','state$','/universer-api/snapshot/','INVITE_CODE_REQUIRED','_logService','transformUndoRedo','onSyncEditingCollabCursor','_replaceFileID','collaboratorID','closeSession','WordArray','synced','_updateState','[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.','LIVESHARE_FETCH_OPERATIONS','getRoom','_socketReady','_createHandler','_waitForHeartbeatResponse','onLocalMutation','9CJQRQK','SNAPSHOT_INVALID_SNAPSHOT','_resendWithTimeout','onCommentUpdate','_sendHeartbeat','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_doCreateSocket','loginUrlKey','_onJoinRoomEvent','PAYMENT_CHANNEL_NOT_SUPPORT','_retryConnectingTimer','_commandService','_process','_socket','enableOfflineEditing','_socketMessageSubscription','csRejEvent','_clearTimeoutTimer','reject','RECV','commentUpdate$','loadOfflineData','deleteCollaborator','SOCKET_FAILED','subject','asObservable','UNIVER_PROJECT','fetchMiss','uploadFileServerUrl','_lockTransition','charAt','POST','_initUnitPermissionChange','setConfig','_collaborationSessionService','open$','_localeService','_sender','listCollaborators','SUBMIT_CHANGESET_TIMEOUT','getCurrentSelections','ciphertext','refreshPermission','APPLY_DUPLICATED','encode','ENTITLE_CHAT_LIMIT_EXCEED','commentUpdateEvent','onMissedChangesetFetched','UPDATE_PERMISSION_OBJ','call','_change$','WECHAT_HAS_BEEN_BOUND','\x20in\x20_schedule.','_handlerCallback','ClipsheetFragments','shouldCloseConn','Utf8','SHA1','append','_redoStacks','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_getDownloadEndpointURL','BASE64','createInstance','/new_changes','session.room-permission-denied','Malformed\x20UTF-8\x20data','UNKNOWN_CODE','\x20to\x20','_clearLocalCache','_clearUndo','REDEMPTION_CODE_HAS_BEEN_CREATED','getCollabEntity','_keyPriorReset','_onUserJoin','/universer-api/comb','HMAC','name','__Key__','_clearCollaborationTimeoutTimer','getSnapshotAPIPath','[CollaborationSessionService]:\x20socket\x20error','collaboration_new_changeset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','addHandlerCallback','fetch_missing','conflict','dispose$','SOCKET_FAILED_RETRY','_prevBlock','appendMutation','resend','get','_pendingMutations','_checkMissing','interceptor','JOIN_ROOM_PERMISSION_DENIED','/universer-api/snapshot','_snapshotServerService','RETRY_CONNECTING_MAX_COUNT','error$','_hash','disableLocalCache','ENTITLE_REPORT_LIMIT_EXCEED','_members$','status$','INVALID_INVITE_CODE','body','session.join-failed','reverse','words','_initRequestHeader','decrypt','_scheduleCompleteTimestamp','ONLINE','setCurrentUser','includes','univer-pro.collaboration-client-socket-service','members','_injector','MUTATION','NoPadding','iterations','PERMISSION_DENIED','duration','_doReset','awaiting','IDLE','range','signUrlServerUrl','_sessions','reset','_permissionService','YUUMI_RATE_OVER_LIMIT','encodeURIComponent','updateCollaborator','getUnitStatus$','finalize','getActiveSheet','/object/','awaiting_with_pending','_onRemoteACK','_iv','UNKNOWN_CMD','_tryReconnect','getUnitType','_transformStack','_imageSourceCache','authzUrl','\x20-\x20','_acknowledgedAwaitingChangeset','_DEC_XFORM_MODE','_eventService','_sessionStatus$','_updateLocalCache','_socketService','focused$','_sendingTimer','has','_compressMutationService','REDEMPTION_CODE_FULLY_REDEEMED','collaboration-client.local-cache-service','workbook','add','_memberService','YUUMI_CONNECTOR_URL_NOT_FOUND','capture','_disableEditing','_onRemoteChangeset','getValue','catch','next','/resources','_nDataBytes','_retryCount','createCollaborator','_onFetchMissResult','_timeoutTimer','_initCloseConn','equals','forEach','status','session.room-cnt-exceeds','_awaitingChangeset','HttpExport','telemetry\x20info\x20is\x20not\x20initialized','_invKeySchedule','_onLocalMutation','collabSubmitChangesetUrl','LICENSE_EXPORT_SIZE_EXCEEDED','USER_NOT_FOUND','socket\x20close','_sheetTransformSelectionsService','_collaborationUIEventService','objectType','getUnit','_onConnectionOpen','JOIN_ROOM_FULL','_onRecvEvent','random','toggleOffline','_changesetSessionId','confirm','_registerDependencies','onTransformRemoteChangesetByIMECache','localeService','[CollaborationState]:\x20apply\x20error!','/rev/','_transitionLocked','getUnitId','reduce','_state','deepClone','function','onlyLocal','objectID','getUnitOnRev','ENTITLE_DUP_SUBSCRIPTION','getMemberID','JOIN_ROOM_FAILED','BufferedBlockAlgorithm','FAIL','_parse','unknown','originalMeta','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SHOULD_CLOSE_CONN','OFFLINE','EMAIL_VERIFY_CODE_MISMATCH','size','getResourcesRequest','OTHER_CLIENTS_EDITING','decryptBlock','replace','JOINING','CHANGESET_REVISION_CONFILICT','onRemoteChangeset','socket\x20open.','OPTIONAL','symbol','LIVESHARE_NEW_HOST','m2Prime','CHANGESET_ACK','16922vyzlmT','SUBMIT_CHANGESET','UnitSnapshot','_doFinalize','_transformRemoteChangesetByStateCache','LIVESHARE_OPERATION','then','_type','LICENSE_MAX_UNITS_EXCEEDED','_executeRemoteChangeset','USERS_LEAVE','_undoRedoService','addImageSourceCache','UNIVER_SHEET','saveSnapshot','_fetchMissChangesets','DATA_SOURCE_TOO_LARGE','initWorkbookPermissionChange','_ENC_XFORM_MODE','_createInitialState','slice','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','JOIN_ROOM_NOT_EXISTS','reqId','CLOSE_ROOM','/unit/','_getAPIPrefix','encrypt','unitInfo$','AES','_getUndoStack','getTypeOfUnitAdded$','getSheetBlock','/universer-api/stream/file/upload','NOT_COLLAB','splice','emitEvent','_resendTimeout','loadUnitOfRevision','parse','_getCurrentRevision','LIVESHARE_REQUEST_HOST','_createHelper','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UNISCRIPT_RUN','_mode','resourceIDs','COMMENT_UPDATE','?size=','onRemoteRetry','\x0aCurrent:\x20','selections','_unitID','_substituteUndoStack','kdf','online$','algo','enc','putCollaborators','4PpNxvP','Error\x20on\x20receiving\x20event','mode','_getSendChangesetTimeout','_getAPIPrefixPath','debug','ENSURE_SNAPSHOT_EXECUTION','ENTITLE_NEED_BILLING_ADDRESS','post','avatar','YUUMI_UNABLE_LOAD_URL','createEncryptor','executeCommand','list','compose','$super','_transformService','clear','OTHER_CLIENT_EDITING','repeat','_tryEnsureSocket','cmd','mutations','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','updateSnapshot','YUUMI_ALL_TABLES_IS_INVALID','INGEST','_append','lib','_getCtorByUniverType','_joinRoom','CipherParams','from','440274GIzitq','prototype','_entityInit$','CONFLICT','copyFileMeta','clone','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PSEUDO_FETCH_MISSING_RESULT','CURRENT_STATUS_CANNOT_OPERATE','url','getTime','CBC','dispose','Hasher','failed\x20to\x20apply\x20missed\x20changesets!','UNDEFINED','offline','_collaborationTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','_startTelemetryCollaborationNewChangeset','/block/','HttpImport','_collaborationPaused','getTypeOfUnitDisposed$','readInt32LE','message$','UNIVER_SLIDE','ceil','FETCH_MISS','reconnect','_collabSessionService','mixIn','_shouldReportTelemetry','localCacheService','/role','fromCharCode','eventID','sigBytes','listRoles','enableCollaboration','UserProfileImg','exports','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_throwTelemetryCollaborationNewChangeset','_status$','MSG_FOR_ERROR','INVALID_ARGUMENT','[SyncedState]:\x20received\x20acknowledgement.','collaborators','_hasher','_onConflict','_onConnectionFailed','_snapshotService','close','unitId','requestParams','fetchThroughInterceptors','YUUMI_ASYNCIO_CANCELLED','_queuedRemoteChangesets','liveShareNewHost','csShouldRetryEvent','APPLY_REVISION_CONFILICT','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_cipher','location','ERROR_IMAGE_TYPE','liveShareOperation','_oKey','SNAPSHOT_HAS_BEEN_REMOVED','&source=','create','sheets','AUTHORIZE_CODE_ILLEGAL','Failed\x20to\x20update\x20permission\x20point','_iKey','editingUnit','Base64','_data','23ESxZqD','permissionRejEvent','onRemoteAck','_telemetryService','People','_resendTimer','getWorkbookSelections','onMissingChangesets','647410qUyISN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','map','MOBILE_HAS_BEEN_BOUND','toString','YUUMI_SUBSCRIPTION_NOT_FOUND','awaitingChangeset','_waitCount','_onOffline','[UniverCollaborationClientPlugin]','_xformMode','HEARTBEAT','actions','byteOffset','members$','UUID','{fileID}','PY_RUNTIME_SCRIPT_ERROR','routeKey','loadDoc','leaveEvent','pipe','target','INVITE_CODE_ALREADY_BOUND','JOIN','update','INVITE_CODE_HAS_BEEN_UES','_changesetReqId','UnitEmbedded','incrementRevOfUnit','_rescheduleHeartbeat','HmacSHA1','MD5','execute','format','ENTITLE_INSUFFICIENT_QUOTA','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','fetchMissingChangesets','state','AWAITING','userID','_stopTelemetryCollaborationNewChangeset','image/jpg','formatter','updateOfflineData','event$','_transformSelections','_transformStateCache','/collaborator','PERSON','salt','LICENSE_DISTRO_REJECTED','SUCCUSS','GLOBAL_ROOMS_CNT_EXCEEDS','string','length','_minBufferSize','_onRemoteRejected','getSheetId','pauseCollaboration','LICENSE_IMPORT_SIZE_EXCEEDED','FileId','REDEMPTION_USER_NOT_ELIGIBLE','_reverseMap','onTransformSelections','StreamCipher','LIVESHARE_TERMINATE','ERROR_IMAGE','UNAUTHENTICATED','waitForRoom$','updateMember','stringify','APPLY_NON_SEQUENTIAL_REVISION','getFocusedUnit','isArray','blockSize','createSocket','_commentUpdate$','_transformRemoteChangesetByIMECache','[CollaborationSessionService]','HELLO','snapshot','_entities','joinEvent','padding','keySize','error','_clearScheduledTask','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','session.room-not-exists','type','_commentService','roles','EvpKDF','_candidateSocket','saveChangeset','84MxQjME','Undefined','registerHTTPInterceptor','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','every','_isPermissionRej','_removeRoom','crypto','_event$','getOwnPropertyDescriptor','unitID','_roomMembers','params','abs','getConfig','_undoStacks','join','[CollaborationEntity]','NOT_FOUND','close$','_config','[DataLoaderService]','onTransformIME','subscribe','disposeWithMe','LOCAL_CACHE_INTERVAL','objectActions','REDEMPTION_CODE_INACTIVE','LEAVE','/fetchmissing?from=','_roomCreated$','collaboration-client.config','encryptBlock','PENDING','UNIVER_DOC','baseRev','complete','_unitInfo$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','infoRsp','_toggleOnline','NEW_CHANGESETS','BlockCipherMode','_telemetryInfo','removeMember','_onCombEvent','clamp','_startCollaboration','find','stopTime','hasOwnProperty','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','data','startTime','_getRedoStack','_univerInstanceService','_state$','_createSocket','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity$','_userManagerService','send','_transformUndoredo','_listenToNetworkCondition','YUUMI_NO_CUBOID_FOR_QUESTION','LOGIN_TOKEN_PROCESSING_FAILED','collabWebSocketUrl','_doCryptBlock','onload'];_0x536b=function(){return _0x56164c;};return _0x536b();}class ge{constructor(_0x5b8de1,_0x5bb994,_0x2431dc,_0x177e1d,_0x57aa44,_0xde0f51,_0x1b5223,_0x3d6058,_0x4f4e72){var _0x3c427a=_0x3bcbc5;D(this,'_awaitingChangeset',null),D(this,_0x3c427a(0x449),[]),(this[_0x3c427a(0x2f2)]=_0x5b8de1,this[_0x3c427a(0x2e2)]=_0x5bb994,this[_0x3c427a(0x331)]=_0x57aa44,this[_0x3c427a(0x3f7)]=_0xde0f51,this['_undoRedoService']=_0x1b5223,this[_0x3c427a(0x37a)]=_0x3d6058,this['_localCacheService']=_0x4f4e72,this['_awaitingChangeset']=_0x2431dc,this[_0x3c427a(0x449)]=_0x177e1d);}[_0x3bcbc5(0x44a)](_0x3225b1){var _0x4750b9=_0x3bcbc5;const _0x16c7c5=this[_0x4750b9(0x37a)][_0x4750b9(0x386)](this[_0x4750b9(0x2f2)]);return _0x3225b1[_0x4750b9(0x353)]>_0x16c7c5+0x1?(this['_handler'][_0x4750b9(0x286)]({'from':_0x16c7c5,'to':_0x3225b1[_0x4750b9(0x353)]-0x1}),!0x0):!0x1;}[_0x3bcbc5(0x326)](_0x42e8bf){var _0x4fd07d=_0x3bcbc5;this[_0x4fd07d(0x1e0)][_0x4fd07d(0x3dd)](this['unitID'],_0x42e8bf);}[_0x3bcbc5(0x2b5)](_0x1f286e){var _0x5cabdf=_0x3bcbc5,_0x4f30ac,_0x47b056;(_0x47b056=(_0x4f30ac=this[_0x5cabdf(0x331)])[_0x5cabdf(0x2c7)])==null||_0x47b056[_0x5cabdf(0x41d)](_0x4f30ac,_0x1f286e);}['_transformIMECache'](_0x593d8b){var _0x4f36cb=_0x3bcbc5,_0x1e1214,_0xc260f7;return(_0xc260f7=(_0x1e1214=this[_0x4f36cb(0x331)])[_0x4f36cb(0x2fe)])==null?void 0x0:_0xc260f7[_0x4f36cb(0x41d)](_0x1e1214,_0x593d8b);}[_0x3bcbc5(0x2b6)](_0x24b23a){var _0x4287c8=_0x3bcbc5,_0x5bb939,_0x12b9e8;return(_0x12b9e8=(_0x5bb939=this[_0x4287c8(0x331)])['onTransformState'])==null?void 0x0:_0x12b9e8[_0x4287c8(0x41d)](_0x5bb939,_0x24b23a);}[_0x3bcbc5(0x2d5)](_0x6ae5d){var _0x4147ca=_0x3bcbc5,_0x2f9b88,_0x486718,_0x5234b3;return(_0x5234b3=(_0x486718=(_0x2f9b88=this[_0x4147ca(0x331)])[_0x4147ca(0x4b8)])==null?void 0x0:_0x486718[_0x4147ca(0x41d)](_0x2f9b88,_0x6ae5d))!=null?_0x5234b3:_0x6ae5d;}[_0x3bcbc5(0x1d9)](_0x39c9a0){var _0x2531bb=_0x3bcbc5,_0x53f761,_0x35ae21,_0x59fa83;return(_0x59fa83=(_0x35ae21=(_0x53f761=this[_0x2531bb(0x331)])[_0x2531bb(0x3c0)])==null?void 0x0:_0x35ae21[_0x2531bb(0x41d)](_0x53f761,_0x39c9a0))!=null?_0x59fa83:_0x39c9a0;}[_0x3bcbc5(0x3c4)](_0x5bbf22){var _0x301427=_0x3bcbc5,_0x34a485,_0x5162e8;if(this[_0x301427(0x2e2)]===Q[_0x301427(0x30a)]){const {unitID:_0x586c53,mutations:_0x478c4b,memberID:_0x8f7a4}=_0x5bbf22,_0x3ed89b=_0x478c4b[_0x301427(0x2be)]>0x0?_0x478c4b[0x0]['params']['textRanges']:[];Array[_0x301427(0x2d1)](_0x3ed89b)&&_0x3ed89b['length']>0x0&&((_0x5162e8=(_0x34a485=this[_0x301427(0x331)])[_0x301427(0x3de)])==null||_0x5162e8[_0x301427(0x41d)](_0x34a485,{'unitID':_0x586c53,'memberID':_0x8f7a4,'textRanges':_0x3ed89b}));}}[_0x3bcbc5(0x486)](){var _0x3ed305=_0x3bcbc5,_0x5ee71e;(_0x5ee71e=this[_0x3ed305(0x3c6)])==null||_0x5ee71e[_0x3ed305(0x2b3)](this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x2e5af1=_0x3bcbc5;return this[_0x2e5af1(0x37a)][_0x2e5af1(0x386)](this['unitID']);}[_0x3bcbc5(0x3cb)](){var _0x214f77=_0x3bcbc5;this['_revisionService'][_0x214f77(0x2a4)](this['unitID']);}['_executeRemoteChangeset'](_0x2b0d3e){var _0x542d66=_0x3bcbc5,_0x536c78;let _0x56ea31=this[_0x542d66(0x2d5)](_0x2b0d3e);_0x56ea31=this['_transformRemoteChangesetByStateCache'](_0x56ea31);const _0x4087de=_0x3f9105(_0x56ea31['mutations'],this[_0x542d66(0x3f7)],{'fromCollab':!0x0});if(!_0x4087de['result'])throw _0x4087de[_0x542d66(0x2dd)]instanceof Error?_0x4087de[_0x542d66(0x2dd)]:new Error((_0x536c78=_0x4087de[_0x542d66(0x2dd)])!=null?_0x536c78:_0x542d66(0x1b0));this['_transformIMECache'](_0x56ea31),this[_0x542d66(0x2b6)](_0x56ea31),this[_0x542d66(0x326)](_0x2b0d3e),this[_0x542d66(0x2b5)](_0x56ea31),this[_0x542d66(0x3c4)](_0x56ea31),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x1825c5,_0x40c0b5,_0x48f8bf,_0x4b4ea5,_0x19fd65,_0xf550c3,_0x588133,_0x423351,_0xd2d1e9,_0x5cc266){var _0x7494f2=_0x3bcbc5;super(_0x1825c5,_0x40c0b5,null,[],_0x48f8bf,_0x588133,_0xf550c3,_0x4b4ea5,_0x5cc266),D(this,'status',_0x7494f2(0x3e3)),(this[_0x7494f2(0x463)]=_0x19fd65,this[_0x7494f2(0x3dc)]=_0x423351,this[_0x7494f2(0x220)]=_0xd2d1e9,this[_0x7494f2(0x252)]=_0x5cc266);}['appendMutation'](_0x23a0a4){var _0xca2bf7=_0x3bcbc5;const _0x4c27f5=this[_0xca2bf7(0x463)][_0xca2bf7(0x42b)](ae,this[_0xca2bf7(0x2f2)],this[_0xca2bf7(0x2e2)],[_0x23a0a4],this[_0xca2bf7(0x331)]);return _0x4c27f5[_0xca2bf7(0x370)](),_0x4c27f5[_0xca2bf7(0x486)](),_0x4c27f5;}['onRemoteChangeset'](_0x2be59d){var _0x3fbf6a=_0x3bcbc5;if(this[_0x3fbf6a(0x44a)](_0x2be59d))return this[_0x3fbf6a(0x463)][_0x3fbf6a(0x42b)](ee,this[_0x3fbf6a(0x2f2)],this[_0x3fbf6a(0x2e2)],null,[],null,[_0x2be59d],this[_0x3fbf6a(0x331)]);try{const _0x38f5d3=this[_0x3fbf6a(0x220)][_0x3fbf6a(0x3b7)](_0x2be59d,[_0xceda4]);if(_0x1f0a15(_0x38f5d3)){const {c1Prime:_0x4b279e}=_0x38f5d3;return this[_0x3fbf6a(0x1de)](_0x4b279e),this;}throw _0x38f5d3[_0x3fbf6a(0x2dd)];}catch(_0x16360b){return this[_0x3fbf6a(0x3dc)][_0x3fbf6a(0x2dd)](_0x16360b),this[_0x3fbf6a(0x263)](!0x1);}}[_0x3bcbc5(0x263)](_0x2efe97){var _0x11159a=_0x3bcbc5;return this[_0x11159a(0x463)]['createInstance'](ue,this[_0x11159a(0x2f2)],this[_0x11159a(0x2e2)],null,[],this[_0x11159a(0x331)],_0x2efe97);}[_0x3bcbc5(0x281)](){var _0x45571b=_0x3bcbc5;throw new Error(_0x45571b(0x260));}[_0x3bcbc5(0x355)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3bcbc5(0x4b4)](){var _0x567ea6=_0x3bcbc5;return this[_0x567ea6(0x463)][_0x567ea6(0x42b)](de,this[_0x567ea6(0x2f2)],this['type'],null,[],this[_0x567ea6(0x331)]);}['toggleOnline'](){return this;}[_0x3bcbc5(0x447)](){var _0x1226b9=_0x3bcbc5;throw new Error(_0x1226b9(0x322));}['fetchMiss'](){var _0x101f0e=_0x3bcbc5;const _0x1d8d5d=this[_0x101f0e(0x37a)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x101f0e(0x331)]['onMissingChangesets']({'from':_0x1d8d5d,'to':0x0}),this[_0x101f0e(0x463)][_0x101f0e(0x42b)](ee,this[_0x101f0e(0x2f2)],this['type'],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x1b5fe1(_0x322fd6)),w(0x4,_0x1b5fe1(_0x3f0769)),w(0x5,_0x3b359c),w(0x6,_0x246ef8),w(0x7,_0xbe786),w(0x8,_0x247322),w(0x9,_0x426e18(J))],be);let ae=class extends ge{constructor(_0x22d019,_0x160067,_0x35fccb,_0x5f548a,_0xde534c,_0x3d318f,_0x2835db,_0x946fc7,_0x19b997,_0x157a19,_0x591eb1,_0x38d1dc,_0x40b757,_0x16c049){var _0x4107ff=_0x3bcbc5;super(_0x22d019,_0x160067,null,_0x35fccb,_0x5f548a,_0x19b997,_0x40b757,_0x3d318f,_0x16c049),D(this,'status','pending'),D(this,_0x4107ff(0x45d),null),D(this,'_sendingTimer',null),(this[_0x4107ff(0x463)]=_0xde534c,this[_0x4107ff(0x490)]=_0x2835db,this[_0x4107ff(0x3dc)]=_0x946fc7,this[_0x4107ff(0x346)]=_0x157a19,this[_0x4107ff(0x220)]=_0x591eb1,this['_univerInstanceService']=_0x38d1dc);}[_0x3bcbc5(0x446)](_0x55205f){var _0x9171f7=_0x3bcbc5;return this[_0x9171f7(0x449)]['push'](_0x55205f),this['_updateLocalCache'](),this;}[_0x3bcbc5(0x1ce)](_0x1c6441){var _0x27c136=_0x3bcbc5;if(this[_0x27c136(0x44a)](_0x1c6441))return this[_0x27c136(0x2de)](),this[_0x27c136(0x463)][_0x27c136(0x42b)](ee,this[_0x27c136(0x2f2)],this[_0x27c136(0x2e2)],null,this[_0x27c136(0x449)],null,[_0x1c6441],this[_0x27c136(0x331)]);try{const _0xb89c53=this[_0x27c136(0x220)][_0x27c136(0x3b7)](_0x1c6441,this[_0x27c136(0x449)]);if(_0x1f0a15(_0xb89c53)){const {c1Prime:_0x599362,m2Prime:_0x1888c2}=_0xb89c53;this['_executeRemoteChangeset'](_0x599362);const _0x49c45d=this['_injector'][_0x27c136(0x42b)](ae,this[_0x27c136(0x2f2)],this[_0x27c136(0x2e2)],_0x1888c2,this[_0x27c136(0x331)]);this[_0x27c136(0x2de)]();const _0x4998d7=new Date()['getTime'](),_0x4a44aa=this[_0x27c136(0x45d)]?Math['max'](this[_0x27c136(0x45d)]-_0x4998d7,0x0):this[_0x27c136(0x213)]();return _0x49c45d[_0x27c136(0x370)](_0x4a44aa),_0x49c45d;}throw _0xb89c53[_0x27c136(0x2dd)];}catch(_0x3301eb){return this[_0x27c136(0x3dc)][_0x27c136(0x2dd)](_0x3301eb),this[_0x27c136(0x263)](!0x1);}}[_0x3bcbc5(0x281)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3bcbc5(0x355)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3bcbc5(0x206)](){return this;}[_0x3bcbc5(0x4b4)](){var _0x59a783=_0x3bcbc5;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x59a783(0x2f2)],this[_0x59a783(0x2e2)],null,this['_pendingMutations'],this[_0x59a783(0x331)]);}[_0x3bcbc5(0x3a9)](){return this;}[_0x3bcbc5(0x370)](_0x3b3573){var _0x31bc25=_0x3bcbc5;const _0x3db41f=_0x3b3573!=null?_0x3b3573:this['_getSendChangesetTimeout']();this[_0x31bc25(0x45d)]=new Date()[_0x31bc25(0x23b)]()+_0x3db41f,this[_0x31bc25(0x489)]=setTimeout(()=>{var _0x4ce177=_0x31bc25;this[_0x4ce177(0x2de)]();let _0x176f16=null;switch(this['type']){case Q[_0x4ce177(0x1e2)]:{_0x176f16=Vt(this[_0x4ce177(0x449)],this[_0x4ce177(0x2f2)],this[_0x4ce177(0x31f)],this[_0x4ce177(0x37a)],this[_0x4ce177(0x490)]);break;}case Q[_0x4ce177(0x30a)]:{this[_0x4ce177(0x449)][_0x4ce177(0x2ec)](_0x503b2f=>_0x503b2f['id']===_0xc2da57['id'])?_0x176f16=$s(this[_0x4ce177(0x449)],this['unitID'],this[_0x4ce177(0x31f)],this['_revisionService'],this[_0x4ce177(0x490)]):_0x176f16=Vt(this['_pendingMutations'],this[_0x4ce177(0x2f2)],this['_univerInstanceService'],this[_0x4ce177(0x37a)],this[_0x4ce177(0x490)]);break;}default:throw new Error(_0x4ce177(0x3b9)+this[_0x4ce177(0x2e2)]+_0x4ce177(0x420));}const {changeset:_0x5538c4,pendingMutations:_0x216cfb}=_0x176f16;this[_0x4ce177(0x331)]['onSendChangeset'](_0x5538c4);const _0x55419d=_0x216cfb['length']?this['_injector'][_0x4ce177(0x42b)](oe,this[_0x4ce177(0x2f2)],this[_0x4ce177(0x2e2)],_0x5538c4,_0x216cfb,this[_0x4ce177(0x331)],void 0x0):this[_0x4ce177(0x463)][_0x4ce177(0x42b)](le,this[_0x4ce177(0x2f2)],this[_0x4ce177(0x2e2)],_0x5538c4,this[_0x4ce177(0x331)]);_0x55419d[_0x4ce177(0x486)](),this[_0x4ce177(0x331)]['onStateChange'](this,_0x55419d);},_0x3db41f);}[_0x3bcbc5(0x213)](){var _0xecac41;const _0x533b2d=this['_configService']['getConfig'](K);return(_0xecac41=_0x533b2d==null?void 0x0:_0x533b2d['sendChangesetTimeout'])!=null?_0xecac41:ps;}[_0x3bcbc5(0x447)](){var _0x25325a=_0x3bcbc5;throw new Error(_0x25325a(0x288));}[_0x3bcbc5(0x2de)](){var _0x1c277c=_0x3bcbc5;this[_0x1c277c(0x489)]!=null&&(clearTimeout(this[_0x1c277c(0x489)]),this['_sendingTimer']=null);}['_onConflict'](_0x51d38a){var _0x3e997f=_0x3bcbc5;return this[_0x3e997f(0x2de)](),this[_0x3e997f(0x463)][_0x3e997f(0x42b)](ue,this[_0x3e997f(0x2f2)],this[_0x3e997f(0x2e2)],null,this[_0x3e997f(0x449)],this[_0x3e997f(0x331)],_0x51d38a);}};ae=Se([w(0x4,_0x1b5fe1(_0x3f0769)),w(0x5,_0x1b5fe1(_0x322fd6)),w(0x6,_0x1b5fe1(Pe)),w(0x7,_0xbe786),w(0x8,_0x246ef8),w(0x9,_0x12469b),w(0xa,_0x247322),w(0xb,_0x29bce8),w(0xc,_0x3b359c),w(0xd,_0x426e18(J))],ae);let le=class extends ge{constructor(_0x5555b6,_0x3386c2,_0x2c1045,_0x51f9c8,_0x3374b6,_0xba648f,_0x27be2c,_0x34ad49,_0x142924,_0x4b5650,_0x2dc702){var _0x123b51=_0x3bcbc5;super(_0x5555b6,_0x3386c2,_0x2c1045,[],_0x51f9c8,_0x27be2c,_0x4b5650,_0xba648f,_0x2dc702),D(this,_0x123b51(0x4a1),'awaiting'),D(this,_0x123b51(0x1fa),0x0),D(this,_0x123b51(0x284)),D(this,_0x123b51(0x411)),(this[_0x123b51(0x463)]=_0x3374b6,this[_0x123b51(0x3dc)]=_0x34ad49,this['_transformService']=_0x142924);}[_0x3bcbc5(0x446)](_0x494458){var _0x4278b8=_0x3bcbc5;this['_clearScheduledTask']();const _0x572c8e=this[_0x4278b8(0x463)][_0x4278b8(0x42b)](oe,this['unitID'],this[_0x4278b8(0x2e2)],this[_0x4278b8(0x4a3)],[_0x494458],this[_0x4278b8(0x331)],this[_0x4278b8(0x284)]);return _0x572c8e[_0x4278b8(0x486)](),_0x572c8e;}[_0x3bcbc5(0x1ce)](_0x33d966){var _0x5c0aa5=_0x3bcbc5;if(this[_0x5c0aa5(0x44a)](_0x33d966))return this[_0x5c0aa5(0x2de)](),this[_0x5c0aa5(0x463)][_0x5c0aa5(0x42b)](ee,this['unitID'],this[_0x5c0aa5(0x2e2)],this['_awaitingChangeset'],[],null,[_0x33d966],this[_0x5c0aa5(0x331)]);try{const _0x1dc053=this[_0x5c0aa5(0x220)]['transformChangesets']([_0x33d966],[this[_0x5c0aa5(0x4a3)]],!0x1);if(_0x1b5867(_0x1dc053)){const {c1Prime:_0x3efd60,c2Prime:_0x32e57a}=_0x1dc053;this['_executeRemoteChangeset'](_0x3efd60[0x0]),_0x32e57a[0x0][_0x5c0aa5(0x30b)]=this[_0x5c0aa5(0x1fd)](),this[_0x5c0aa5(0x2de)]();const _0x567c73=this[_0x5c0aa5(0x463)]['createInstance'](le,this[_0x5c0aa5(0x2f2)],this[_0x5c0aa5(0x2e2)],_0x32e57a[0x0],this[_0x5c0aa5(0x331)]);return _0x567c73['_updateLocalCache'](),_0x567c73;}return this[_0x5c0aa5(0x263)](!0x1);}catch(_0xcf336b){return this[_0x5c0aa5(0x3dc)][_0x5c0aa5(0x2dd)](_0xcf336b),this['_onConflict'](!0x1);}}[_0x3bcbc5(0x281)](_0x30c865){var _0x38fb1b=_0x3bcbc5;this['_clearScheduledTask']();const _0x52f224=this[_0x38fb1b(0x37a)]['getCurrentRevOfUnit'](this[_0x38fb1b(0x2f2)]);if(_0x30c865[_0x38fb1b(0x353)]<_0x52f224-0x1)return this;if(this[_0x38fb1b(0x44a)](_0x30c865))return this[_0x38fb1b(0x463)][_0x38fb1b(0x42b)](ee,this[_0x38fb1b(0x2f2)],this[_0x38fb1b(0x2e2)],null,[],this['_awaitingChangeset'],[],this[_0x38fb1b(0x331)]);this[_0x38fb1b(0x3cb)]();const _0x50f135=this['_injector']['createInstance'](be,this[_0x38fb1b(0x2f2)],this[_0x38fb1b(0x2e2)],this['_handler']);return _0x50f135['_updateLocalCache'](),_0x50f135;}[_0x3bcbc5(0x355)](_0x35cc3e){var _0x4f04a9=_0x3bcbc5;return this[_0x4f04a9(0x263)](!!(_0x35cc3e!=null&&_0x35cc3e['isPermissionRej']));}[_0x3bcbc5(0x206)](_0x5f15e2){var _0x61a283=_0x3bcbc5;return this[_0x61a283(0x1fa)]>gi?this[_0x61a283(0x4b4)]():(this[_0x61a283(0x284)]=Ii(this[_0x61a283(0x1fa)],{'timeout':this[_0x61a283(0x1fa)],'reqId':_0x5f15e2['reqId']}),this[_0x61a283(0x411)]=this[_0x61a283(0x284)][_0x61a283(0x2ff)](({reqId:_0x236c61,timeout:_0x4deb9d})=>{var _0x416c20=_0x61a283;this[_0x416c20(0x3ee)](_0x236c61,_0x4deb9d);}),this);}[_0x3bcbc5(0x4b4)](){var _0x1b9b87=_0x3bcbc5;return this[_0x1b9b87(0x2de)](),this[_0x1b9b87(0x463)][_0x1b9b87(0x42b)](de,this[_0x1b9b87(0x2f2)],this['type'],this[_0x1b9b87(0x4a3)],[],this[_0x1b9b87(0x331)]);}[_0x3bcbc5(0x3a9)](){return this;}['resend'](){var _0x13f47e=_0x3bcbc5;this['_handler'][_0x13f47e(0x36b)](this[_0x13f47e(0x4a3)]);}[_0x3bcbc5(0x263)](_0x4679a8){var _0x5d2554=_0x3bcbc5;return this[_0x5d2554(0x2de)](),this[_0x5d2554(0x463)][_0x5d2554(0x42b)](ue,this[_0x5d2554(0x2f2)],this[_0x5d2554(0x2e2)],this[_0x5d2554(0x4a3)],[],this[_0x5d2554(0x331)],_0x4679a8);}[_0x3bcbc5(0x3ee)](_0x22539a,_0x5844bf){var _0x16a8db=_0x3bcbc5,_0x5e6a10;_0x22539a===((_0x5e6a10=this[_0x16a8db(0x4a3)])==null?void 0x0:_0x5e6a10[_0x16a8db(0x1ec)])&&(this[_0x16a8db(0x447)](),this['_resendTimeout']=_0x5844bf===0x0?0x3e8:_0x5844bf*0x2);}['_clearScheduledTask'](){var _0x2ebd5b=_0x3bcbc5,_0x43abc3;(_0x43abc3=this[_0x2ebd5b(0x411)])==null||_0x43abc3[_0x2ebd5b(0x384)](),this[_0x2ebd5b(0x1fa)]=0x0;}};le=Se([w(0x4,_0x1b5fe1(_0x3f0769)),w(0x5,_0x1b5fe1(_0x322fd6)),w(0x6,_0x246ef8),w(0x7,_0xbe786),w(0x8,_0x247322),w(0x9,_0x3b359c),w(0xa,_0x426e18(J))],le);let oe=class extends ge{constructor(_0x5b5ef6,_0x5cbbd6,_0x1df8af,_0x2eaeb9,_0x12c47e,_0x347ea1,_0x1b9eea,_0x384679,_0x1eae5f,_0x5a9bf8,_0x4d39c7,_0x49b87e,_0x4ae3c4){var _0x195d9b=_0x3bcbc5;super(_0x5b5ef6,_0x5cbbd6,_0x1df8af,_0x2eaeb9,_0x12c47e,_0x1eae5f,_0x49b87e,_0x384679,_0x4ae3c4),D(this,_0x195d9b(0x4a1),_0x195d9b(0x478)),D(this,_0x195d9b(0x1fa),0x0),D(this,_0x195d9b(0x284)),D(this,_0x195d9b(0x411)),(this[_0x195d9b(0x463)]=_0x1b9eea,this[_0x195d9b(0x3dc)]=_0x5a9bf8,this[_0x195d9b(0x220)]=_0x4d39c7,this[_0x195d9b(0x252)]=_0x4ae3c4,_0x347ea1&&(this[_0x195d9b(0x284)]=_0x347ea1,this[_0x195d9b(0x411)]=this[_0x195d9b(0x284)][_0x195d9b(0x2ff)](({reqId:_0x91de55,timeout:_0x133b41})=>{var _0x196dbe=_0x195d9b;this[_0x196dbe(0x3ee)](_0x91de55,_0x133b41);})));}['appendMutation'](_0x3b7f7e){var _0x1c4917=_0x3bcbc5;return this[_0x1c4917(0x449)]['push'](_0x3b7f7e),this;}[_0x3bcbc5(0x1ce)](_0xd834aa){var _0x12b434=_0x3bcbc5;if(this[_0x12b434(0x44a)](_0xd834aa))return this[_0x12b434(0x2de)](),this['_injector'][_0x12b434(0x42b)](ee,this[_0x12b434(0x2f2)],this[_0x12b434(0x2e2)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0xd834aa],this[_0x12b434(0x331)]);try{const _0x163f9b=this['_transformService'][_0x12b434(0x340)]([_0xd834aa],[this[_0x12b434(0x4a3)]],!0x1);if(_0x1b5867(_0x163f9b)){const {c1Prime:_0x5a26c0,c2Prime:_0x5bc673}=_0x163f9b,_0x29f324=this[_0x12b434(0x220)][_0x12b434(0x3b7)](_0x5a26c0[0x0],this[_0x12b434(0x449)]);if(_0x1f0a15(_0x29f324)){const {c1Prime:_0xec7bef,m2Prime:_0x1d21b7}=_0x29f324;return this[_0x12b434(0x1de)](_0xec7bef),_0x5bc673[0x0]['baseRev']=this[_0x12b434(0x1fd)](),this[_0x12b434(0x2de)](),this['_injector']['createInstance'](oe,this[_0x12b434(0x2f2)],this[_0x12b434(0x2e2)],_0x5bc673[0x0],_0x1d21b7,this[_0x12b434(0x331)],void 0x0);}throw _0x29f324[_0x12b434(0x2dd)];}throw _0x163f9b[_0x12b434(0x2dd)];}catch(_0x38079a){return this['_logService']['error'](_0x38079a),this[_0x12b434(0x263)](!0x1);}}['onRemoteAck'](_0x924b6a){var _0x4c0c77=_0x3bcbc5;if(this[_0x4c0c77(0x2de)](),this[_0x4c0c77(0x44a)](_0x924b6a))return this['_injector'][_0x4c0c77(0x42b)](ee,this[_0x4c0c77(0x2f2)],this[_0x4c0c77(0x2e2)],null,this['_pendingMutations'],this[_0x4c0c77(0x4a3)],[],this[_0x4c0c77(0x331)]);this[_0x4c0c77(0x3cb)]();const _0x7502b6=this['_injector']['createInstance'](ae,this[_0x4c0c77(0x2f2)],this[_0x4c0c77(0x2e2)],this[_0x4c0c77(0x449)],this[_0x4c0c77(0x331)]);return _0x7502b6[_0x4c0c77(0x370)](),_0x7502b6[_0x4c0c77(0x486)](),_0x7502b6;}[_0x3bcbc5(0x355)](_0x45d78a){var _0x4530df=_0x3bcbc5;return this[_0x4530df(0x263)](!!(_0x45d78a!=null&&_0x45d78a[_0x4530df(0x3bc)]));}[_0x3bcbc5(0x206)](_0x1f4b6b){var _0x5ce4a9=_0x3bcbc5;return this[_0x5ce4a9(0x1fa)]>gi?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x5ce4a9(0x1fa)],{'timeout':this[_0x5ce4a9(0x1fa)],'reqId':_0x1f4b6b[_0x5ce4a9(0x1ec)]}),this[_0x5ce4a9(0x411)]=this[_0x5ce4a9(0x284)]['subscribe'](({reqId:_0x249505,timeout:_0x59e41e})=>{var _0x2bb854=_0x5ce4a9;this[_0x2bb854(0x3ee)](_0x249505,_0x59e41e);}),this);}[_0x3bcbc5(0x4b4)](){var _0x2c3858=_0x3bcbc5;return this[_0x2c3858(0x2de)](),this[_0x2c3858(0x463)][_0x2c3858(0x42b)](de,this[_0x2c3858(0x2f2)],this[_0x2c3858(0x2e2)],this['_awaitingChangeset'],this[_0x2c3858(0x449)],this[_0x2c3858(0x331)]);}[_0x3bcbc5(0x3a9)](){return this;}['resend'](){var _0xac4185=_0x3bcbc5;this[_0xac4185(0x331)][_0xac4185(0x36b)](this[_0xac4185(0x4a3)]);}[_0x3bcbc5(0x263)](_0x12e994){var _0x19caf8=_0x3bcbc5;return this['_clearScheduledTask'](),this[_0x19caf8(0x463)]['createInstance'](ue,this[_0x19caf8(0x2f2)],this[_0x19caf8(0x2e2)],null,this[_0x19caf8(0x449)],this[_0x19caf8(0x331)],_0x12e994);}[_0x3bcbc5(0x3ee)](_0x365cf9,_0x35ab69){var _0x5356d3=_0x3bcbc5,_0x2977d1;_0x365cf9===((_0x2977d1=this[_0x5356d3(0x4a3)])==null?void 0x0:_0x2977d1[_0x5356d3(0x1ec)])&&(this[_0x5356d3(0x447)](),this[_0x5356d3(0x1fa)]=_0x35ab69===0x0?0x3e8:_0x35ab69*0x2);}[_0x3bcbc5(0x2de)](){var _0x443ce8=_0x3bcbc5,_0x112cff;(_0x112cff=this['_sender'])==null||_0x112cff[_0x443ce8(0x384)](),this[_0x443ce8(0x1fa)]=0x0;}};oe=Se([w(0x6,_0x1b5fe1(_0x3f0769)),w(0x7,_0x1b5fe1(_0x322fd6)),w(0x8,_0x246ef8),w(0x9,_0xbe786),w(0xa,_0x247322),w(0xb,_0x3b359c),w(0xc,_0x426e18(J))],oe);let ue=class extends ge{constructor(_0x17a52a,_0x5aaa50,_0x21dcb8,_0x1e44c0,_0x6326bb,_0x521580=!0x1,_0x56d0f0,_0x528d87,_0x1ee689,_0x31745f,_0x11ea71,_0x3f8be0,_0x1cd558){var _0x3657d0=_0x3bcbc5;super(_0x17a52a,_0x5aaa50,_0x21dcb8,_0x1e44c0,_0x6326bb,_0x528d87,_0x1ee689,_0x31745f,_0x1cd558),D(this,_0x3657d0(0x4a1),_0x3657d0(0x442)),(this[_0x3657d0(0x2ed)]=_0x521580,this[_0x3657d0(0x470)]=_0x56d0f0,this[_0x3657d0(0x410)]=_0x11ea71,this[_0x3657d0(0x4ad)]=_0x3f8be0,this[_0x3657d0(0x252)]=_0x1cd558,this['_showConflictNotification'](),this[_0x3657d0(0x431)](),this[_0x3657d0(0x493)]());}[_0x3bcbc5(0x446)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x3bcbc5(0x206)](){return this;}['toggleOffline'](){return this;}[_0x3bcbc5(0x3a9)](){return this;}[_0x3bcbc5(0x447)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3bcbc5(0x431)](){var _0x3f2317=_0x3bcbc5,_0x236ec0;(_0x236ec0=this['_localCacheService'])==null||_0x236ec0['updateOfflineData'](this[_0x3f2317(0x2f2)],this[_0x3f2317(0x2e2)],null,[]);}[_0x3bcbc5(0x342)](){var _0x1d4506=_0x3bcbc5;this[_0x1d4506(0x2ed)]?this['_collaborationUIEventService'][_0x1d4506(0x1f9)]({'id':re[_0x1d4506(0x467)]}):this[_0x1d4506(0x4ad)][_0x1d4506(0x1f9)]({'id':re[_0x1d4506(0x234)]});}['_disableEditing'](){var _0x5b8169=_0x3bcbc5;this[_0x5b8169(0x470)][_0x5b8169(0x3d0)](new _0x119f04(this[_0x5b8169(0x2f2)])['id'],!0x1);}};ue=Se([w(0x6,_0x1b5fe1(_0x14e6d6)),w(0x7,_0x246ef8),w(0x8,_0x3b359c),w(0x9,_0x1b5fe1(_0x322fd6)),w(0xa,_0x1b5fe1(_0x3f3943)),w(0xb,_0x1b5fe1(ve)),w(0xc,_0x426e18(J))],ue);let de=class extends ge{constructor(_0x37fa4a,_0x1d4d96,_0x392f92,_0x37a7,_0x5d0f14,_0x35d09,_0x1ef58e,_0x3c6445,_0x8ce5c3,_0x16349d){var _0x29540d=_0x3bcbc5;super(_0x37fa4a,_0x1d4d96,_0x392f92,_0x37a7,_0x5d0f14,_0x3c6445,_0x8ce5c3,_0x1ef58e,_0x16349d),D(this,_0x29540d(0x4a1),_0x29540d(0x241)),this[_0x29540d(0x463)]=_0x35d09;}[_0x3bcbc5(0x446)](_0x1b41d6){var _0x331708=_0x3bcbc5;return this[_0x331708(0x449)]['push'](_0x1b41d6),this[_0x331708(0x486)](),this;}['onRemoteChangeset'](_0x5c5955){var _0xab79d8=_0x3bcbc5;throw new Error(_0xab79d8(0x351));}[_0x3bcbc5(0x281)](){var _0x418acc=_0x3bcbc5;throw new Error(_0x418acc(0x3c9));}[_0x3bcbc5(0x355)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3bcbc5(0x206)](){return this;}[_0x3bcbc5(0x4b4)](){return this;}['toggleOnline'](){var _0x4ecdf0=_0x3bcbc5;const {_injector:_0x379cb9,_pendingMutations:_0xdfc44f,_awaitingChangeset:_0x532989,unitID:_0x5f2b6c,_handler:_0x36ac51,type:_0x4dc9ab}=this,_0x54f627=Ti(_0x379cb9,_0x5f2b6c,_0x4dc9ab,_0x532989,_0xdfc44f,_0x36ac51);return _0x54f627 instanceof ae?_0x54f627[_0x4ecdf0(0x370)]():(_0x54f627 instanceof oe||_0x54f627 instanceof le)&&_0x54f627[_0x4ecdf0(0x447)](),_0x54f627;}[_0x3bcbc5(0x447)](){var _0x505f70=_0x3bcbc5;throw new Error(_0x505f70(0x43f));}};de=Se([w(0x5,_0x1b5fe1(_0x3f0769)),w(0x6,_0x1b5fe1(_0x322fd6)),w(0x7,_0x246ef8),w(0x8,_0x3b359c),w(0x9,_0x426e18(J))],de);let ee=class extends ge{constructor(_0x3b6a86,_0x35f058,_0x1b8945,_0xc09a41,_0x51b50e,_0x15eaf5,_0x5dee95,_0x3d2fc2,_0x44c2eb,_0xe7d6d0,_0x454923,_0x3b435a,_0x190f5e,_0x26e87e){var _0x400f3c=_0x3bcbc5;super(_0x3b6a86,_0x35f058,_0x1b8945,_0xc09a41,_0x5dee95,_0x454923,_0x3b435a,_0x44c2eb,_0x26e87e),D(this,'status',_0x400f3c(0x441)),(this[_0x400f3c(0x482)]=_0x51b50e,this[_0x400f3c(0x26b)]=_0x15eaf5,this['_injector']=_0x3d2fc2,this[_0x400f3c(0x3dc)]=_0xe7d6d0,this[_0x400f3c(0x220)]=_0x190f5e,this[_0x400f3c(0x252)]=_0x26e87e);}[_0x3bcbc5(0x41b)](_0x2bfed5){var _0x37278f=_0x3bcbc5;try{const _0x488290=[..._0x2bfed5,...this[_0x37278f(0x26b)]],_0x49cfff=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x45b4f3=>!!_0x45b4f3);let _0x30c4ad,_0x22483a;if(_0x49cfff[_0x37278f(0x2be)]){const _0x1430b9=this[_0x37278f(0x220)]['transformChangesets'](_0x488290,_0x49cfff,!0x1);if(!_0x1b5867(_0x1430b9))throw _0x1430b9['error'];_0x30c4ad=_0x1430b9[_0x37278f(0x34d)],_0x22483a=_0x1430b9['c2Prime'];}else _0x30c4ad=_0x488290,_0x22483a=[];let _0x498fb=this['_pendingMutations'];_0x30c4ad[_0x37278f(0x4a0)](_0x2ce175=>{var _0x474cb5=_0x37278f;let _0x3ec685;if(_0x498fb['length']){const _0x1ebf46=this[_0x474cb5(0x220)]['transformMutationsWithChangeset'](_0x2ce175,_0x498fb);if(!_0x1f0a15(_0x1ebf46))throw _0x1ebf46[_0x474cb5(0x2dd)];_0x3ec685=_0x1ebf46[_0x474cb5(0x34d)],_0x498fb=_0x1ebf46[_0x474cb5(0x1d3)];}else _0x3ec685=_0x2ce175;this[_0x474cb5(0x1de)](_0x3ec685);}),this[_0x37278f(0x482)]&&this['_incrementRevisionNumber'](),this[_0x37278f(0x4a3)]&&_0x22483a['length']&&(_0x22483a[0x0]['baseRev']=this[_0x37278f(0x1fd)]());let _0x134aa0;if(this[_0x37278f(0x4a3)]&&_0x498fb[_0x37278f(0x2be)]!==0x0)_0x134aa0=this['_injector'][_0x37278f(0x42b)](oe,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],_0x22483a[0x0],_0x498fb,this[_0x37278f(0x331)],void 0x0);else{if(this['_awaitingChangeset']&&_0x498fb[_0x37278f(0x2be)]===0x0)_0x22483a[0x0][_0x37278f(0x30b)]=this[_0x37278f(0x1fd)](),_0x134aa0=this[_0x37278f(0x463)][_0x37278f(0x42b)](le,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],_0x22483a[0x0],this[_0x37278f(0x331)]);else{if(_0x498fb[_0x37278f(0x2be)]!==0x0){const _0x26c614=this[_0x37278f(0x463)][_0x37278f(0x42b)](ae,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],_0x498fb,this[_0x37278f(0x331)]);_0x26c614[_0x37278f(0x370)](),_0x134aa0=_0x26c614;}else _0x134aa0=this[_0x37278f(0x463)][_0x37278f(0x42b)](be,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],this['_handler']);}}return _0x134aa0['_updateLocalCache'](),_0x134aa0;}catch(_0x3c8866){return this[_0x37278f(0x3dc)][_0x37278f(0x2dd)](_0x37278f(0x33e),_0x37278f(0x23f),_0x3c8866),this['_injector'][_0x37278f(0x42b)](ue,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x37278f(0x331)],!0x1);}}[_0x3bcbc5(0x447)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3bcbc5(0x446)](_0xfbc221){var _0x44ac31=_0x3bcbc5;return this[_0x44ac31(0x449)][_0x44ac31(0x35e)](_0xfbc221),this;}[_0x3bcbc5(0x1ce)](_0x180d1e){var _0x5d1c6a=_0x3bcbc5;return this[_0x5d1c6a(0x26b)]['push'](_0x180d1e),this;}[_0x3bcbc5(0x281)](_0x52db4d){var _0x41abdc=_0x3bcbc5;if(this[_0x41abdc(0x4a3)])return this['_acknowledgedAwaitingChangeset']=this[_0x41abdc(0x4a3)],this[_0x41abdc(0x4a3)]=null,this;throw new Error(_0x41abdc(0x32e));}[_0x3bcbc5(0x355)](_0x870b51){var _0x35663f=_0x3bcbc5;return this[_0x35663f(0x263)](!!(_0x870b51!=null&&_0x870b51[_0x35663f(0x3bc)]));}[_0x3bcbc5(0x206)](){return this;}['toggleOffline'](){var _0xb2cc97=_0x3bcbc5;return this[_0xb2cc97(0x463)][_0xb2cc97(0x42b)](de,this[_0xb2cc97(0x2f2)],this['type'],this[_0xb2cc97(0x4a3)],this['_pendingMutations'],this[_0xb2cc97(0x331)]);}[_0x3bcbc5(0x3a9)](){return this;}[_0x3bcbc5(0x263)](_0x2f492f){var _0x1a1516=_0x3bcbc5;return this['_injector'][_0x1a1516(0x42b)](ue,this[_0x1a1516(0x2f2)],this['type'],this['_awaitingChangeset'],this[_0x1a1516(0x449)],this[_0x1a1516(0x331)],_0x2f492f);}};ee=Se([w(0x7,_0x1b5fe1(_0x3f0769)),w(0x8,_0x1b5fe1(_0x322fd6)),w(0x9,_0xbe786),w(0xa,_0x246ef8),w(0xb,_0x3b359c),w(0xc,_0x247322),w(0xd,_0x426e18(J))],ee);function Ti(_0x5e08b9,_0x42b775,_0x3a9d4c,_0x189ef6,_0x6423ab,_0x2d714f){var _0x1517ac=_0x3bcbc5;return _0x189ef6&&_0x6423ab[_0x1517ac(0x2be)]?_0x5e08b9[_0x1517ac(0x42b)](oe,_0x42b775,_0x3a9d4c,_0x189ef6,_0x6423ab,_0x2d714f,void 0x0):_0x189ef6?_0x5e08b9['createInstance'](le,_0x42b775,_0x3a9d4c,_0x189ef6,_0x2d714f):_0x6423ab[_0x1517ac(0x2be)]?_0x5e08b9[_0x1517ac(0x42b)](ae,_0x42b775,_0x3a9d4c,_0x6423ab,_0x2d714f):_0x5e08b9['createInstance'](be,_0x42b775,_0x3a9d4c,_0x2d714f);}var Hs=Object[_0x3bcbc5(0x2f1)],At=(_0x128b0b,_0x2e02de,_0x5e5f4a,_0x5e1570)=>{var _0x4a54b3=_0x3bcbc5;for(var _0x57d2c4=_0x5e1570>0x1?void 0x0:_0x5e1570?Hs(_0x2e02de,_0x5e5f4a):_0x2e02de,_0x2111ff=_0x128b0b[_0x4a54b3(0x2be)]-0x1,_0x507672;_0x2111ff>=0x0;_0x2111ff--)(_0x507672=_0x128b0b[_0x2111ff])&&(_0x57d2c4=_0x507672(_0x57d2c4)||_0x57d2c4);return _0x57d2c4;},k=(_0x40b037,_0x5944b1)=>(_0x2ed19e,_0x4ee18b)=>_0x5944b1(_0x2ed19e,_0x4ee18b,_0x40b037);let st=class extends _0x2e3b72{constructor(_0x14d33d,_0x33f95a,_0x46b38d,_0xfba84c,_0x3202f8,_0x2f6b44,_0x3687c6,_0x5e3817,_0x4f8c1f,_0xb1481a,_0x2ad7b4,_0x5cc88c,_0x42e619,_0x1c7a97){var _0x3734f5=_0x3bcbc5;super(),D(this,_0x3734f5(0x320),new _0x3dcdfa(null)),D(this,'state$',this[_0x3734f5(0x320)][_0x3734f5(0x405)]()),D(this,_0x3734f5(0x1b5)),D(this,'_collaborationPaused',!0x1),D(this,_0x3734f5(0x4b5),''),D(this,_0x3734f5(0x2a2),0x0),D(this,_0x3734f5(0x455),this[_0x3734f5(0x3d9)][_0x3734f5(0x29c)](_0xe270b0(_0x4c1ac3=>_0x4c1ac3?_0x4c1ac3[_0x3734f5(0x4a1)]:Si[_0x3734f5(0x1c5)]),_0x3a5b49(0x1))),D(this,_0x3734f5(0x1b2),!0x1),D(this,_0x3734f5(0x33f),[]),(this[_0x3734f5(0x2f2)]=_0x14d33d,this[_0x3734f5(0x34a)]=_0x33f95a,this['_type']=_0x46b38d,this[_0x3734f5(0x463)]=_0xfba84c,this[_0x3734f5(0x48b)]=_0x3202f8,this[_0x3734f5(0x410)]=_0x2f6b44,this[_0x3734f5(0x37a)]=_0x3687c6,this['_eventService']=_0x5e3817,this[_0x3734f5(0x31f)]=_0x4f8c1f,this[_0x3734f5(0x3dc)]=_0xb1481a,this[_0x3734f5(0x3f7)]=_0x2ad7b4,this[_0x3734f5(0x470)]=_0x5cc88c,this['_singleActiveUnitService']=_0x42e619,this[_0x3734f5(0x3c6)]=_0x1c7a97);}get[_0x3bcbc5(0x2ad)](){var _0x3fc1ff=_0x3bcbc5;return this[_0x3fc1ff(0x1b5)];}async[_0x3bcbc5(0x38c)](){var _0x5649f4=_0x3bcbc5;if(this[_0x5649f4(0x2ad)])throw new Error(_0x5649f4(0x2ab));await this['_init']();}[_0x3bcbc5(0x2c2)](){var _0x5b98ee=_0x3bcbc5;return this[_0x5b98ee(0x247)]=!0x0,_0x5e9dde(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3bcbc5(0x3eb)](_0x58eb25){this['_onLocalMutation'](_0x58eb25);}[_0x3bcbc5(0x3e4)](_0x5a8857){var _0x3a25fb=_0x3bcbc5;this[_0x3a25fb(0x1b5)]=_0x5a8857,this[_0x3a25fb(0x320)][_0x3a25fb(0x497)](_0x5a8857);}async[_0x3bcbc5(0x391)](){var _0x4529af=_0x3bcbc5,_0x1b5352;this['_updateState'](await this[_0x4529af(0x1e8)]()),this[_0x4529af(0x3d8)]&&((_0x1b5352=this[_0x4529af(0x3d8)])==null||_0x1b5352[_0x4529af(0x27c)](this[_0x4529af(0x2f2)]),this[_0x4529af(0x300)](this[_0x4529af(0x3d8)][_0x4529af(0x474)](this[_0x4529af(0x2f2)])[_0x4529af(0x2ff)](_0xa4ed1c=>{var _0x24cf2a=_0x4529af;this[_0x24cf2a(0x3dc)][_0x24cf2a(0x215)](_0x24cf2a(0x2f9),_0x24cf2a(0x37b),_0xa4ed1c),_0xa4ed1c===mi[_0x24cf2a(0x1c9)]?(this[_0x24cf2a(0x484)][_0x24cf2a(0x1f9)]({'id':re[_0x24cf2a(0x222)]}),this[_0x24cf2a(0x470)][_0x24cf2a(0x3d0)](new _0x119f04(this[_0x24cf2a(0x2f2)])['id'],!0x1),this[_0x24cf2a(0x470)][_0x24cf2a(0x32f)](!0x1)):(this[_0x24cf2a(0x470)][_0x24cf2a(0x3d0)](new _0x119f04(this['unitID'])['id'],!0x0),this['_permissionService'][_0x24cf2a(0x32f)](!0x0));})));let _0x2970f9=!0x1;return this['disposeWithMe'](this[_0x4529af(0x34a)]['sessionStatus$'][_0x4529af(0x2ff)](_0x4ee0e7=>{var _0x50f2b1=_0x4529af;_0x4ee0e7===me['ONLINE']?this['_toggleOnline'](_0x2970f9):_0x4ee0e7===me[_0x50f2b1(0x1c5)]&&(_0x2970f9=!0x0,this[_0x50f2b1(0x34e)]());})),this[_0x4529af(0x300)](this[_0x4529af(0x34a)][_0x4529af(0x2b4)][_0x4529af(0x2ff)](_0x5719dd=>{var _0x5efeda=_0x4529af;try{switch(_0x5719dd[_0x5efeda(0x255)]){case _0x4c3e36['NEW_CHANGESETS']:{this[_0x5efeda(0x494)](_0x854375(_0x5719dd['data']));break;}case _0x4c3e36[_0x5efeda(0x1d4)]:{this[_0x5efeda(0x479)](_0x5719dd[_0x5efeda(0x31c)]);break;}case _0x4c3e36[_0x5efeda(0x3a2)]:{this[_0x5efeda(0x2c0)]();break;}case _0x4c3e36['CHANGESET_SHOULD_RETRY']:{this[_0x5efeda(0x39d)](_0x5719dd[_0x5efeda(0x31c)]);break;}case _0x4c3e36[_0x5efeda(0x238)]:{this['_onFetchMissResult'](_0x5719dd[_0x5efeda(0x31c)][_0x5efeda(0x3ad)]['map'](_0x508858=>_0x854375(_0x508858)));break;}case _0x4c3e36[_0x5efeda(0x32d)]:{this[_0x5efeda(0x2c0)]({'isPermissionRej':!0x0});break;}case _0x4c3e36[_0x5efeda(0x201)]:break;}}catch(_0x1b0506){throw console[_0x5efeda(0x2dd)](_0x5efeda(0x211),_0x1b0506),_0x1b0506;}})),this[_0x4529af(0x1b5)];}[_0x3bcbc5(0x377)](){var _0x3ea335=_0x3bcbc5;this[_0x3ea335(0x1b2)]=!0x1;}[_0x3bcbc5(0x409)](){var _0x387e45=_0x3bcbc5;if(this['_transitionLocked'])throw new Error(_0x387e45(0x3e5));this[_0x387e45(0x1b2)]=!0x0;}[_0x3bcbc5(0x4a7)](_0x5400cd){var _0x3a480f=_0x3bcbc5;this[_0x3a480f(0x409)](),this['_updateState'](this['_state']['appendMutation'](_0x5400cd)),this[_0x3a480f(0x377)]();}[_0x3bcbc5(0x494)](_0xcd9753){var _0x3ff55b=_0x3bcbc5;if(!(_0xcd9753['revision']<=this[_0x3ff55b(0x37a)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x3ff55b(0x247)]){this['_remoteChangesetQueue'][_0x3ff55b(0x35e)](_0xcd9753);return;}this[_0x3ff55b(0x39b)](_0xcd9753);}}['_exhaustRemoteChangesetQueue'](){var _0x39aba9=_0x3bcbc5;this[_0x39aba9(0x33f)][_0x39aba9(0x4a0)](_0x49532d=>this['_applyRemoteChangeset'](_0x49532d)),this[_0x39aba9(0x33f)]=[];}[_0x3bcbc5(0x39b)](_0x5078b3){var _0x32f4f6=_0x3bcbc5;const _0x5a074e=this[_0x32f4f6(0x48b)][_0x32f4f6(0x44b)][_0x32f4f6(0x269)](this[_0x32f4f6(0x48b)][_0x32f4f6(0x44b)]['getInterceptPoints']()[_0x32f4f6(0x3d5)])(_0x5078b3[_0x32f4f6(0x226)],null)||_0x5078b3[_0x32f4f6(0x226)],_0x1c0839={..._0x5078b3,'mutations':_0x5a074e};this['_lockTransition'](),this['_updateState'](this[_0x32f4f6(0x1b5)]['onRemoteChangeset'](_0x1c0839)),this['_unlockTransition']();}[_0x3bcbc5(0x479)](_0x52cd65){var _0x5209fd=_0x3bcbc5;this[_0x5209fd(0x409)](),this[_0x5209fd(0x3e4)](this[_0x5209fd(0x1b5)][_0x5209fd(0x281)](_0x52cd65)),this[_0x5209fd(0x377)]();}[_0x3bcbc5(0x2c0)](_0x3d5d5c){var _0x21959c=_0x3bcbc5;this[_0x21959c(0x409)](),this[_0x21959c(0x3e4)](this[_0x21959c(0x1b5)][_0x21959c(0x355)](_0x3d5d5c)),this[_0x21959c(0x377)]();}[_0x3bcbc5(0x39d)](_0x4629c1){var _0x6781f0=_0x3bcbc5;this[_0x6781f0(0x409)](),this[_0x6781f0(0x3e4)](this[_0x6781f0(0x1b5)][_0x6781f0(0x206)](_0x4629c1)),this[_0x6781f0(0x377)]();}[_0x3bcbc5(0x49c)](_0xe1534b){var _0x249494=_0x3bcbc5;if(!(this[_0x249494(0x1b5)]instanceof ee))throw new TypeError(_0x249494(0x30e));const _0x15249c=_0xe1534b[_0x249494(0x289)](_0x5716c6=>{var _0x3c6e7e=_0x249494;const _0x4942d2=this['_compressMutationService'][_0x3c6e7e(0x44b)][_0x3c6e7e(0x269)](this['_compressMutationService'][_0x3c6e7e(0x44b)]['getInterceptPoints']()[_0x3c6e7e(0x3d5)])(_0x5716c6['mutations'],null)||_0x5716c6['mutations'];return{..._0x5716c6,'mutations':_0x4942d2};});this[_0x249494(0x409)](),this['_updateState'](this[_0x249494(0x1b5)][_0x249494(0x41b)](_0x15249c)),this[_0x249494(0x377)]();}[_0x3bcbc5(0x34e)](){var _0x2c3b33=_0x3bcbc5;this[_0x2c3b33(0x409)](),this['_updateState'](this[_0x2c3b33(0x1b5)][_0x2c3b33(0x4b4)]()),this[_0x2c3b33(0x377)]();}[_0x3bcbc5(0x310)](_0x12e427=!0x1){var _0x4a6e7b=_0x3bcbc5;this[_0x4a6e7b(0x409)](),this[_0x4a6e7b(0x3e4)](this[_0x4a6e7b(0x1b5)]['toggleOnline']()),this['_unlockTransition']();const _0xb7ad65=this[_0x4a6e7b(0x1b5)];_0x12e427&&_0xb7ad65 instanceof be&&(this[_0x4a6e7b(0x409)](),this[_0x4a6e7b(0x3e4)](_0xb7ad65[_0x4a6e7b(0x407)]()),this[_0x4a6e7b(0x377)]());}async[_0x3bcbc5(0x1e8)](){return new Promise(_0x1d98b2=>{var _0xab6569=_0x1928;this[_0xab6569(0x34a)][_0xab6569(0x3aa)][_0xab6569(0x29c)](_0x59ec57(0x1))[_0xab6569(0x2ff)](async _0x142fd5=>{var _0x284971=_0xab6569;_0x1d98b2(await this['_createInitialStateImpl'](_0x142fd5===me[_0x284971(0x45e)]));});});}['_createHandler'](){const _0x15b9e4=this['unitID'];return{'onStateChange':(_0x1c0878,_0x5e219e)=>{var _0x3dea32=_0x1928;if(_0x1c0878!==this[_0x3dea32(0x1b5)])throw new Error(_0x3dea32(0x31b)+_0x1c0878[_0x3dea32(0x4a1)]+'\x0aAfter:\x20'+_0x5e219e[_0x3dea32(0x4a1)]+_0x3dea32(0x207)+this['_state'][_0x3dea32(0x4a1)]);this[_0x3dea32(0x3e4)](_0x5e219e);},'onSendChangeset':_0x5bb38c=>{var _0x4cf9d1=_0x1928;_0x5bb38c['sid']||(_0x5bb38c[_0x4cf9d1(0x383)]=this[_0x4cf9d1(0x4b5)],_0x5bb38c['reqId']=++this[_0x4cf9d1(0x2a2)]);const _0x2467fe={'eventID':_0x4c3e36[_0x4cf9d1(0x1d6)],'data':{'unitID':_0x5bb38c[_0x4cf9d1(0x2f2)],'unitType':this[_0x4cf9d1(0x1dc)],'changeset':_0x5bb38c,'memberID':this[_0x4cf9d1(0x34a)][_0x4cf9d1(0x1bc)]()}};this[_0x4cf9d1(0x34a)]['send'](_0x2467fe,this['unitID']);},'onMissingChangesets':({from:_0x24f633,to:_0x237e5e})=>{var _0x2507a0=_0x1928;this[_0x2507a0(0x3dc)][_0x2507a0(0x215)](_0x2507a0(0x2f9),_0x2507a0(0x364)+_0x24f633+_0x2507a0(0x430)+_0x237e5e);const _0x354168={'eventID':_0x4c3e36['FETCH_MISSING'],'data':{'unitID':_0x15b9e4,'unitType':this[_0x2507a0(0x1dc)],'from':_0x24f633,'to':_0x237e5e}};this[_0x2507a0(0x34a)][_0x2507a0(0x325)](_0x354168,this[_0x2507a0(0x2f2)]);}};}async[_0x3bcbc5(0x395)](_0x256c53){var _0x22fc53=_0x3bcbc5,_0x150cb5,_0x185e18,_0x5c0703;const _0x35e7bd=await((_0x150cb5=this[_0x22fc53(0x3c6)])==null?void 0x0:_0x150cb5[_0x22fc53(0x401)](this[_0x22fc53(0x2f2)])),_0x459254=(_0x185e18=_0x35e7bd==null?void 0x0:_0x35e7bd[_0x22fc53(0x226)])!=null?_0x185e18:[],_0x458ca6=(_0x5c0703=_0x35e7bd==null?void 0x0:_0x35e7bd[_0x22fc53(0x28d)])!=null?_0x5c0703:null,_0x535b1b=!!(_0x458ca6!=null&&_0x458ca6[_0x22fc53(0x383)])&&!!(_0x458ca6!=null&&_0x458ca6['reqId']);this[_0x22fc53(0x4b5)]=_0x535b1b?_0x458ca6['sid']:_0x5e068a(),this[_0x22fc53(0x2a2)]=_0x535b1b?_0x458ca6[_0x22fc53(0x1ec)]:0x0;const _0x12d2bf=this['unitID'];try{this['_replayCachedMutations'](_0x458ca6,_0x459254);}catch(_0x3060fa){this['_logService'][_0x22fc53(0x2dd)](_0x3060fa);}const _0x4d8557=this[_0x22fc53(0x3e9)]();if(_0x256c53){const _0x3f4596=Ti(this[_0x22fc53(0x463)],_0x12d2bf,this['_type'],_0x458ca6,_0x459254,_0x4d8557);return _0x3f4596 instanceof ae?_0x3f4596[_0x22fc53(0x370)]():(_0x3f4596 instanceof oe||_0x3f4596 instanceof le)&&_0x3f4596[_0x22fc53(0x447)](),_0x3f4596;}return this[_0x22fc53(0x463)][_0x22fc53(0x42b)](de,_0x12d2bf,this[_0x22fc53(0x1dc)],_0x458ca6,_0x459254,_0x4d8557);}[_0x3bcbc5(0x3af)](_0xb2336d,_0xc27c63){var _0xfc6d03=_0x3bcbc5,_0x455c8b,_0xf686de;const _0x1eac56=this[_0xfc6d03(0x48b)][_0xfc6d03(0x44b)][_0xfc6d03(0x269)](this[_0xfc6d03(0x48b)][_0xfc6d03(0x44b)][_0xfc6d03(0x363)]()[_0xfc6d03(0x3d5)]);(_0x455c8b=_0x1eac56((_0xb2336d==null?void 0x0:_0xb2336d[_0xfc6d03(0x226)])||[],null))==null||_0x455c8b[_0xfc6d03(0x4a0)](_0x47b4b6=>this[_0xfc6d03(0x3f7)]['executeCommand'](_0x47b4b6['id'],_0x47b4b6[_0xfc6d03(0x2f4)])),(_0xf686de=_0x1eac56(_0xc27c63||[],null))==null||_0xf686de[_0xfc6d03(0x4a0)](_0x2fbd7a=>this[_0xfc6d03(0x3f7)][_0xfc6d03(0x21c)](_0x2fbd7a['id'],_0x2fbd7a[_0xfc6d03(0x2f4)]));}};st=At([k(0x3,_0x1b5fe1(_0x3f0769)),k(0x4,_0x1b5fe1(_0x539649)),k(0x5,_0x1b5fe1(_0x3f3943)),k(0x6,_0x1b5fe1(_0x322fd6)),k(0x7,_0x1b5fe1(ve)),k(0x8,_0x29bce8),k(0x9,_0xbe786),k(0xa,_0x246ef8),k(0xb,_0x14e6d6),k(0xc,_0x426e18(_t)),k(0xd,_0x426e18(J))],st);let It=class extends st{constructor(_0x635da0,_0x5cda81,_0x47125b,_0x73eed2,_0x1f6cdd,_0x419ef1,_0x4733f1,_0x38528a,_0x37195d,_0x460bed,_0x28d708,_0x24e60d,_0x1d4f7c,_0x36c8cc){var _0x2661a8=_0x3bcbc5;super(_0x635da0,_0x47125b,_0x5cda81,_0x73eed2,_0x1f6cdd,_0x419ef1,_0x4733f1,_0x38528a,_0x37195d,_0x460bed,_0x28d708,_0x24e60d,_0x1d4f7c,_0x36c8cc),D(this,_0x2661a8(0x421),null),(this['unitID']=_0x635da0,this[_0x2661a8(0x2e2)]=_0x5cda81);}[_0x3bcbc5(0x440)](_0x587741){var _0x3ebff6=_0x3bcbc5;this[_0x3ebff6(0x421)]=_0x587741;}[_0x3bcbc5(0x23d)](){var _0x4e41f8=_0x3bcbc5;this[_0x4e41f8(0x421)]=null,super[_0x4e41f8(0x23d)]();}[_0x3bcbc5(0x3e9)](){var _0x3ea89e=_0x3bcbc5;const _0x1b0fda=super[_0x3ea89e(0x3e9)]();return _0x1b0fda['onTransformIME']=_0x51b378=>{var _0x2c7112=_0x3ea89e,_0x193dc9,_0x243715;return(_0x243715=(_0x193dc9=this[_0x2c7112(0x421)])==null?void 0x0:_0x193dc9[_0x2c7112(0x2fe)])==null?void 0x0:_0x243715[_0x2c7112(0x41d)](_0x193dc9,_0x51b378);},_0x1b0fda['onTransformState']=_0x462698=>{var _0xd6f843=_0x3ea89e,_0x2b261f,_0xff4671;return(_0xff4671=(_0x2b261f=this[_0xd6f843(0x421)])==null?void 0x0:_0x2b261f['onTransformState'])==null?void 0x0:_0xff4671[_0xd6f843(0x41d)](_0x2b261f,_0x462698);},_0x1b0fda[_0x3ea89e(0x2c7)]=_0x30233a=>{var _0x154c28=_0x3ea89e,_0x3f3122,_0x3c3efa;return(_0x3c3efa=(_0x3f3122=this[_0x154c28(0x421)])==null?void 0x0:_0x3f3122[_0x154c28(0x2c7)])==null?void 0x0:_0x3c3efa[_0x154c28(0x41d)](_0x3f3122,_0x30233a);},_0x1b0fda[_0x3ea89e(0x3de)]=_0x47450b=>{var _0x2cf8d2=_0x3ea89e,_0x58f8e3,_0x34c741;return(_0x34c741=(_0x58f8e3=this[_0x2cf8d2(0x421)])==null?void 0x0:_0x58f8e3[_0x2cf8d2(0x3de)])==null?void 0x0:_0x34c741[_0x2cf8d2(0x41d)](_0x58f8e3,_0x47450b);},_0x1b0fda[_0x3ea89e(0x4b8)]=_0x650725=>{var _0xf667d4=_0x3ea89e,_0x15d744,_0x508262,_0x37ac19;if(!((_0x15d744=this['_handlerCallback'])!=null&&_0x15d744[_0xf667d4(0x4b8)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x37ac19=(_0x508262=this[_0xf667d4(0x421)])==null?void 0x0:_0x508262[_0xf667d4(0x4b8)])==null?void 0x0:_0x37ac19[_0xf667d4(0x41d)](_0x508262,_0x650725);},_0x1b0fda['onTransformRemoteChangesetByStateCache']=_0x11bd3d=>{var _0x364e41=_0x3ea89e,_0x2403dd,_0x37e640,_0x58b824;if(!((_0x2403dd=this[_0x364e41(0x421)])!=null&&_0x2403dd[_0x364e41(0x3c0)]))throw new Error(_0x364e41(0x339));return(_0x58b824=(_0x37e640=this['_handlerCallback'])==null?void 0x0:_0x37e640['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x58b824[_0x364e41(0x41d)](_0x37e640,_0x11bd3d);},_0x1b0fda;}async['_init'](){var _0x5386b2=_0x3bcbc5;const _0x48414b=await super[_0x5386b2(0x391)]();return this[_0x5386b2(0x300)](this[_0x5386b2(0x3f7)]['onCommandExecuted']((_0x33cd67,_0x5f0eae)=>{var _0x358289=_0x5386b2;if(_0x33cd67[_0x358289(0x2e2)]!==_0x21f1b6[_0x358289(0x464)]||_0x5f0eae!=null&&_0x5f0eae[_0x358289(0x36f)]||_0x5f0eae!=null&&_0x5f0eae[_0x358289(0x1b8)]||_0x33cd67['id']===_0xc2da57['id'])return;const _0x4d7a4e=_0x33cd67['params'];if((_0x4d7a4e==null?void 0x0:_0x4d7a4e[_0x358289(0x267)])!==this[_0x358289(0x2f2)])return;const _0x551b33=_0x33cd67,_0x37d049=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x358289(0x48b)]['interceptor'][_0x358289(0x363)]()[_0x358289(0x3a8)])([_0x551b33],this['_univerInstanceService'])||[_0x551b33];this[_0x358289(0x4a7)](_0x37d049[0x0]);})),_0x48414b;}};It=At([k(0x3,_0x1b5fe1(_0x3f0769)),k(0x4,_0x1b5fe1(_0x539649)),k(0x5,_0x1b5fe1(_0x3f3943)),k(0x6,_0x1b5fe1(_0x322fd6)),k(0x7,_0x1b5fe1(ve)),k(0x8,_0x29bce8),k(0x9,_0xbe786),k(0xa,_0x246ef8),k(0xb,_0x14e6d6),k(0xc,_0x426e18(_t)),k(0xd,_0x426e18(J))],It);let St=class extends st{constructor(_0x480510,_0x403050,_0x9fa7b0,_0x41b2b8,_0x52146f,_0xad436b,_0x39dc11,_0xd52c9c,_0x21c29a,_0x1d8efe,_0x1caa29,_0x178edf,_0x27448a,_0x3ded5c,_0x3282c9){var _0x6e060f=_0x3bcbc5;super(_0x480510,_0x9fa7b0,_0x403050,_0x41b2b8,_0x52146f,_0xad436b,_0x39dc11,_0x21c29a,_0x1d8efe,_0x1caa29,_0x178edf,_0x27448a,_0x3ded5c,_0x3282c9),this[_0x6e060f(0x2f2)]=_0x480510,this[_0x6e060f(0x2e2)]=_0x403050,this[_0x6e060f(0x4ac)]=_0xd52c9c;}[_0x3bcbc5(0x3e9)](){var _0xde8ca0=_0x3bcbc5;const _0xeffe52=super[_0xde8ca0(0x3e9)]();return _0xeffe52['onTransformSelections']=_0x5074e1=>this[_0xde8ca0(0x4ac)]['transformSelections'](_0x5074e1),_0xeffe52;}async[_0x3bcbc5(0x391)](){var _0xf1146f=_0x3bcbc5;const _0x57f8c1=await super[_0xf1146f(0x391)]();return this[_0xf1146f(0x300)](this[_0xf1146f(0x3f7)]['onCommandExecuted']((_0x4d4a96,_0x5a7120)=>{var _0x235cdd=_0xf1146f;if(_0x4d4a96[_0x235cdd(0x2e2)]!==_0x21f1b6[_0x235cdd(0x464)]||_0x5a7120!=null&&_0x5a7120['fromCollab']||_0x5a7120!=null&&_0x5a7120[_0x235cdd(0x1b8)])return;const _0x5402fd=_0x4d4a96[_0x235cdd(0x2f4)];if((_0x5402fd==null?void 0x0:_0x5402fd['unitId'])!==this[_0x235cdd(0x2f2)])return;const _0x61f10c=_0x4d4a96,_0x46445d=this[_0x235cdd(0x48b)]['interceptor'][_0x235cdd(0x269)](this['_compressMutationService'][_0x235cdd(0x44b)][_0x235cdd(0x363)]()[_0x235cdd(0x3a8)])([_0x61f10c],this[_0x235cdd(0x31f)])||[_0x61f10c];this['_onLocalMutation'](_0x46445d[0x0]);})),_0x57f8c1;}};St=At([k(0x3,_0x1b5fe1(_0x3f0769)),k(0x4,_0x1b5fe1(_0x539649)),k(0x5,_0x1b5fe1(_0x3f3943)),k(0x6,_0x1b5fe1(_0x322fd6)),k(0x7,_0x1b5fe1(it)),k(0x8,_0x1b5fe1(ve)),k(0x9,_0x29bce8),k(0xa,_0xbe786),k(0xb,_0x246ef8),k(0xc,_0x14e6d6),k(0xd,_0x426e18(_t)),k(0xe,_0x426e18(J))],St);const Bs=_0x361e5b('univer-pro.collaboration-client.network-condition.service');function Fs(_0x20e096){var _0x275965=_0x3bcbc5,_0x57eb70,_0x5900c2,_0x342768,_0x4c9b68,_0x1f65c5;const _0x268a35=_0x20e096[_0x275965(0x31c)],_0x3be6ce=JSON[_0x275965(0x1fc)](_0x268a35);switch(_0x3be6ce[_0x275965(0x225)]){case j['HEARTBEAT']:case j['HELLO']:{const _0x158d33=_0x3be6ce[_0x275965(0x30f)];return{..._0x3be6ce,'data':_0x158d33,'cmd':_0x3be6ce[_0x275965(0x225)]};}case j['JOIN']:{const _0x8cc2=_0x3be6ce[_0x275965(0x344)];return{..._0x3be6ce,'data':_0x8cc2,'cmd':_0x3be6ce[_0x275965(0x225)]};}case j[_0x275965(0x3ff)]:{const _0x185435=_0x3be6ce['collaMsg'];switch(_0x185435[_0x275965(0x255)]){case _0x4c3e36[_0x275965(0x32d)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x57eb70=_0x185435[_0x275965(0x280)])==null?void 0x0:_0x57eb70['cs']},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x1d4)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x5900c2=_0x185435['csAckEvent'])==null?void 0x0:_0x5900c2['cs']},'cmd':_0x3be6ce['cmd']};case _0x4c3e36[_0x275965(0x311)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x342768=_0x185435[_0x275965(0x333)])==null?void 0x0:_0x342768['cs']},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x3a2)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x4c9b68=_0x185435[_0x275965(0x3fc)])==null?void 0x0:_0x4c9b68['cs']},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x359)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x1f65c5=_0x185435[_0x275965(0x26d)])==null?void 0x0:_0x1f65c5['cs']},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x3a1)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435['updateCursorEvent']},'cmd':_0x3be6ce['cmd']};case _0x4c3e36[_0x275965(0x39f)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x2da)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x1df)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x29b)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x1d2)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x26c)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36['LIVESHARE_FETCH_OPERATIONS']:case _0x4c3e36[_0x275965(0x1da)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x273)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x2c9)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x26c)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36['MSG_FOR_ERROR']:return{..._0x3be6ce,'data':_0x185435,'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x204)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x41a)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36['UPDATE_PERMISSION_OBJ']:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x3be)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x1c4)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x423)]},'cmd':_0x3be6ce['cmd']};case _0x4c3e36['UNISCRIPT_RUN']:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435['uniscriptRunEvent']},'cmd':_0x3be6ce[_0x275965(0x225)]};default:return _0x3be6ce;}}default:return _0x3be6ce;}}function js(_0x120092){var _0x4b148e=_0x3bcbc5;switch(_0x120092[_0x4b148e(0x225)]){case j[_0x4b148e(0x292)]:case j[_0x4b148e(0x2d7)]:return JSON['stringify']({'cmd':_0x120092['cmd'],'routeKey':_0x120092[_0x4b148e(0x299)]});case j['INGEST']:{let _0x548ab6;switch(_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x255)]){case _0x4c3e36[_0x4b148e(0x3a1)]:{_0x548ab6={'eventID':_0x4c3e36['UPDATE_CURSOR'],'updateCursorEvent':_0x120092[_0x4b148e(0x31c)]['data']};break;}case _0x4c3e36[_0x4b148e(0x1df)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x1df)],'leaveEvent':_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x31c)]};break;}case _0x4c3e36[_0x4b148e(0x39f)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x39f)],'joinEvent':_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x31c)]};break;}case _0x4c3e36[_0x4b148e(0x1d2)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x1d2)],'liveShareNewHost':_0x120092['data'][_0x4b148e(0x31c)]};break;}case _0x4c3e36['LIVESHARE_OPERATION']:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x1da)],'liveShareOperation':_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x31c)]};break;}case _0x4c3e36[_0x4b148e(0x2c9)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x2c9)],'liveShareTerminate':_0x120092['data']['data']};break;}case _0x4c3e36[_0x4b148e(0x1fe)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x1fe)],'liveShareRequestHost':_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x31c)]};break;}case _0x4c3e36[_0x4b148e(0x3e6)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x3e6)]};break;}default:_0x548ab6={'eventID':_0x120092['data'][_0x4b148e(0x255)]};}return JSON['stringify']({'cmd':_0x120092[_0x4b148e(0x225)],'routeKey':_0x120092[_0x4b148e(0x299)],'collaMsg':_0x548ab6});}case j['JOIN']:return JSON['stringify']({'cmd':_0x120092[_0x4b148e(0x225)],'routeKey':_0x120092[_0x4b148e(0x299)],'joinReq':_0x120092[_0x4b148e(0x31c)]});case j[_0x4b148e(0x304)]:return JSON['stringify']({'cmd':_0x120092['cmd'],'routeKey':_0x120092[_0x4b148e(0x299)],'leaveReq':_0x120092['data']});default:throw new Error(_0x4b148e(0x200));}}var Vs=Object[_0x3bcbc5(0x2f1)],Gs=(_0x1dd507,_0x434c32,_0x3e5223,_0xa6c884)=>{for(var _0xee1d19=_0xa6c884>0x1?void 0x0:_0xa6c884?Vs(_0x434c32,_0x3e5223):_0x434c32,_0x9b2c1f=_0x1dd507['length']-0x1,_0xc1fc8f;_0x9b2c1f>=0x0;_0x9b2c1f--)(_0xc1fc8f=_0x1dd507[_0x9b2c1f])&&(_0xee1d19=_0xc1fc8f(_0xee1d19)||_0xee1d19);return _0xee1d19;},ye=(_0x47a1a0,_0x42cb13)=>(_0x27d5d9,_0x56b07d)=>_0x42cb13(_0x27d5d9,_0x56b07d,_0x47a1a0);const Oi=_0x361e5b(_0x3bcbc5(0x461));function Ws(_0x2f8ced,_0x42ddf7,_0x5a27b6){var _0x2b0033=_0x3bcbc5;return _0x2f8ced+'/'+_0x42ddf7+_0x2b0033(0x1ee)+_0x5a27b6+_0x2b0033(0x42c);}let Gt=class extends _0x589fe2{constructor(_0x4abb9a,_0x345d49,_0x523146,_0x4ab151,_0x424f2c){var _0x1bd691=_0x3bcbc5;super(),this[_0x1bd691(0x463)]=_0x4abb9a,this[_0x1bd691(0x3ca)]=_0x345d49,this[_0x1bd691(0x346)]=_0x523146,this[_0x1bd691(0x3dc)]=_0x4ab151,this[_0x1bd691(0x44e)]=_0x424f2c;}[_0x3bcbc5(0x3f2)](_0x390b92){var _0x286330=_0x3bcbc5;const _0x50d127=this[_0x286330(0x463)][_0x286330(0x448)](_0x29daef);if(!_0x50d127)throw new Error(_0x286330(0x38f));const _0x492bbd=_0x50d127[_0x286330(0x2d3)](_0x390b92);if(!_0x492bbd)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xf308d=new _0x454352(),_0x2a40b2=new _0x3a544d();_0xf308d['add'](_0x492bbd[_0x286330(0x2fb)][_0x286330(0x2ff)](_0x414fe3=>_0x2a40b2[_0x286330(0x497)](_0x414fe3))),_0xf308d['add'](_0x5e9dde(()=>_0x2a40b2['complete']()));const _0x331038=new _0x3a544d();_0xf308d[_0x286330(0x48f)](_0x492bbd[_0x286330(0x450)]['subscribe'](_0x96a811=>_0x331038['next'](_0x96a811))),_0xf308d[_0x286330(0x48f)](_0x5e9dde(()=>_0x331038['complete']()));const _0x3ff807=new _0x3a544d();_0xf308d[_0x286330(0x48f)](_0x492bbd[_0x286330(0x24a)][_0x286330(0x2ff)](_0x5c3902=>{var _0x1dc3b9=_0x286330;const _0x41925d=Fs(_0x5c3902);_0x3ff807[_0x1dc3b9(0x497)](_0x41925d);})),_0xf308d[_0x286330(0x48f)](_0x5e9dde(()=>_0x3ff807[_0x286330(0x30c)]()));let _0x33540e;const _0x26ed97=()=>{var _0x1eab75=_0x286330;_0x331038['next'](new Event('connection\x20error')),_0x2a40b2[_0x1eab75(0x497)](new Event(_0x1eab75(0x397))),_0x33540e[_0x1eab75(0x266)]();};return _0x33540e={'memberID':'','close$':_0x2a40b2[_0x286330(0x405)](),'error$':_0x331038['asObservable'](),'open$':_0x492bbd[_0x286330(0x40f)],'message$':_0x3ff807[_0x286330(0x405)](),'send':_0xa5f7d2=>{var _0x42d37c=_0x286330;if(_0xa5f7d2['cmd']===j[_0x42d37c(0x22a)]){if(_0xa5f7d2[_0x42d37c(0x31c)][_0x42d37c(0x255)]===_0x4c3e36['SUBMIT_CHANGESET']){this[_0x42d37c(0x3a4)](_0x33540e,_0xa5f7d2[_0x42d37c(0x31c)])['catch'](_0x2844d3=>{var _0x31fc42=_0x42d37c;this[_0x31fc42(0x3dc)][_0x31fc42(0x2dd)](_0x2844d3),_0x26ed97();});return;}if(_0xa5f7d2[_0x42d37c(0x31c)]['eventID']===_0x4c3e36[_0x42d37c(0x3b4)]){const _0x504a9c=_0xa5f7d2[_0x42d37c(0x31c)];this[_0x42d37c(0x1e4)](_0x504a9c)[_0x42d37c(0x1db)](_0x477a68=>{var _0xefead8=_0x42d37c;_0x3ff807[_0xefead8(0x497)]({'cmd':j[_0xefead8(0x3ff)],'code':pe['OK'],'routeKey':_0x504a9c[_0xefead8(0x31c)][_0xefead8(0x2f2)],'routeType':'','data':{'eventID':_0x4c3e36[_0xefead8(0x238)],'data':{'changesets':_0x477a68}}});})[_0x42d37c(0x496)](_0x991b52=>{this['_logService']['error'](_0x991b52),_0x26ed97();});return;}}_0x492bbd['send'](js(_0xa5f7d2));},'close':()=>{var _0x48e06c=_0x286330;_0x492bbd[_0x48e06c(0x266)](),_0xf308d[_0x48e06c(0x23d)]();}},_0x33540e;}async['_submitChangeset'](_0x2b48de,_0x3fe081){var _0x549bbe=_0x3bcbc5,_0x500a44;const {unitType:_0xb91eac,unitID:_0x47049c,changeset:_0x4614e2}=_0x3fe081[_0x549bbe(0x31c)],_0x3b61e0={'unitID':_0x47049c,'memberID':_0x2b48de[_0x549bbe(0x367)],'type':_0xb91eac,'changeset':_0x5135de(_0x4614e2)},_0x562205=this['_configService'][_0x549bbe(0x2f6)](K),_0x3359af=Ws((_0x500a44=_0x562205==null?void 0x0:_0x562205[_0x549bbe(0x4a8)])!=null?_0x500a44:Os,_0xb91eac,_0x47049c);try{await this['_httpService'][_0x549bbe(0x218)](_0x3359af,{'body':_0x3b61e0});}catch(_0x2c04f5){throw this[_0x549bbe(0x3dc)][_0x549bbe(0x2dd)](_0x549bbe(0x388),_0x549bbe(0x3c5)),_0x2c04f5;}}async[_0x3bcbc5(0x1e4)](_0x280327){var _0x2c7578=_0x3bcbc5;const {unitID:_0x411626,from:_0x3a39f6,to:_0x58a602,unitType:_0x5b4bb3}=_0x280327['data'];return(await this[_0x2c7578(0x44e)][_0x2c7578(0x2ac)]({'metadata':void 0x0},{'unitID':_0x411626,'type':_0x5b4bb3,'from':_0x3a39f6,'to':_0x58a602}))[_0x2c7578(0x3ad)][_0x2c7578(0x289)](_0x13c85d=>((_0x13c85d[_0x2c7578(0x226)]===null||_0x13c85d[_0x2c7578(0x226)]===void 0x0)&&(_0x13c85d[_0x2c7578(0x226)]=[]),_0x13c85d));}};Gt=Gs([ye(0x0,_0x1b5fe1(_0x3f0769)),ye(0x1,_0x1b5fe1(_0x4ba195)),ye(0x2,_0x12469b),ye(0x3,_0xbe786),ye(0x4,_0x51a19b)],Gt);var Ys=Object[_0x3bcbc5(0x2f1)],Ks=(_0x4ed628,_0x106881,_0x3fe938,_0x2295d5)=>{var _0x45962e=_0x3bcbc5;for(var _0x3a893e=_0x2295d5>0x1?void 0x0:_0x2295d5?Ys(_0x106881,_0x3fe938):_0x106881,_0x8143f0=_0x4ed628[_0x45962e(0x2be)]-0x1,_0x436fac;_0x8143f0>=0x0;_0x8143f0--)(_0x436fac=_0x4ed628[_0x8143f0])&&(_0x3a893e=_0x436fac(_0x3a893e)||_0x3a893e);return _0x3a893e;},Re=(_0x98573d,_0x773350)=>(_0x2b9d8a,_0x58f7a4)=>_0x773350(_0x2b9d8a,_0x58f7a4,_0x98573d);let we=class extends _0x589fe2{constructor(_0x4a5290,_0x2e7815,_0x53d6fa,_0x3df2b8,_0x526bbd,_0x2761da){var _0x37136f=_0x3bcbc5;super(),D(this,_0x37136f(0x373),new _0x3dcdfa(void 0x0)),D(this,'socket$',this['_socket$']['asObservable']()),D(this,'_candidateSocket',null),D(this,_0x37136f(0x46e),new Map()),D(this,_0x37136f(0x25d),new _0x3dcdfa(me[_0x37136f(0x46b)])),D(this,_0x37136f(0x455),this[_0x37136f(0x25d)]['asObservable']()),D(this,_0x37136f(0x3e8),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x37136f(0x49a),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x37136f(0x49d)),(this[_0x37136f(0x463)]=_0x4a5290,this[_0x37136f(0x3dc)]=_0x2e7815,this[_0x37136f(0x346)]=_0x53d6fa,this['_socketService']=_0x3df2b8,this['_collaborationUIEventService']=_0x526bbd,this[_0x37136f(0x3b3)]=_0x2761da,this[_0x37136f(0x327)]());}get['_socket'](){var _0x308f0b=_0x3bcbc5;return this[_0x308f0b(0x373)][_0x308f0b(0x495)]();}[_0x3bcbc5(0x327)](){var _0x1b1311=_0x3bcbc5;this['_networkConditionService']&&this['disposeWithMe'](this[_0x1b1311(0x3b3)][_0x1b1311(0x20c)]['subscribe'](_0x317f78=>{var _0x31b3f0=_0x1b1311;_0x317f78&&!this[_0x31b3f0(0x3f9)]&&this[_0x31b3f0(0x24e)](),_0x317f78||this[_0x31b3f0(0x28f)]();}));}[_0x3bcbc5(0x23d)](){var _0x137ccf=_0x3bcbc5;super[_0x137ccf(0x23d)](),this[_0x137ccf(0x3c1)](),this[_0x137ccf(0x3fd)](),this[_0x137ccf(0x358)](),this['_sessions'][_0x137ccf(0x4a0)](_0xd8f3db=>_0xd8f3db[_0x137ccf(0x23d)]()),this['_sessions'][_0x137ccf(0x221)](),this[_0x137ccf(0x25d)][_0x137ccf(0x30c)]();}async[_0x3bcbc5(0x34c)](_0x107267){var _0x3c8a53=_0x3bcbc5;if(this['_sessions'][_0x3c8a53(0x48a)](_0x107267))return this[_0x3c8a53(0x46e)][_0x3c8a53(0x448)](_0x107267);this['_tryEnsureSocket']();const _0x3a3e47=this[_0x3c8a53(0x463)][_0x3c8a53(0x42b)](mt,_0x107267,this[_0x3c8a53(0x373)]['asObservable']());return this[_0x3c8a53(0x46e)][_0x3c8a53(0x3cd)](_0x107267,_0x3a3e47),_0x3a3e47;}[_0x3bcbc5(0x3e1)](_0x5eb4f2){var _0x13429a=_0x3bcbc5,_0x186e48;const _0x4d47be=this['_sessions']['get'](_0x5eb4f2);_0x4d47be&&(this[_0x13429a(0x46e)][_0x13429a(0x38b)](_0x5eb4f2),_0x4d47be[_0x13429a(0x266)]()),this[_0x13429a(0x46e)]['size']||(_0x186e48=this[_0x13429a(0x3f9)])==null||_0x186e48[_0x13429a(0x266)]();}[_0x3bcbc5(0x24e)](){var _0x290635=_0x3bcbc5;this[_0x290635(0x49a)]=0x0,this[_0x290635(0x3c1)](),this[_0x290635(0x47c)]();}['_clearRetryConnectingTimer'](){var _0x33e6cb=_0x3bcbc5;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x33e6cb(0x3f6)]),this[_0x33e6cb(0x3f6)]=null);}async[_0x3bcbc5(0x321)](){var _0x3b1ccc=_0x3bcbc5,_0x1432ee;const _0x859abd=this[_0x3b1ccc(0x346)][_0x3b1ccc(0x2f6)](K),_0x3145c4=(_0x1432ee=_0x859abd==null?void 0x0:_0x859abd[_0x3b1ccc(0x32a)])!=null?_0x1432ee:Es,_0x4ecec7=await this[_0x3b1ccc(0x487)][_0x3b1ccc(0x2d3)](_0x3145c4);return this['_candidateSocket']=_0x4ecec7,_0x4ecec7;}async[_0x3bcbc5(0x224)](){var _0x9be926=_0x3bcbc5,_0x5b6cb8,_0x129252;try{const _0x4dea35=(_0x129252=(_0x5b6cb8=this[_0x9be926(0x3f9)])!=null?_0x5b6cb8:this['_candidateSocket'])!=null?_0x129252:await this[_0x9be926(0x321)]();if(_0x4dea35){const _0x129f46=_0x4dea35[_0x9be926(0x325)];_0x4dea35[_0x9be926(0x325)]=_0x137c67=>(this[_0x9be926(0x2a5)](),_0x129f46['apply'](_0x4dea35,[_0x137c67])),_0x4dea35[_0x9be926(0x24a)][_0x9be926(0x2ff)](_0x14515c=>this[_0x9be926(0x381)](_0x4dea35,_0x14515c)),_0x4dea35[_0x9be926(0x450)]['pipe'](_0x8ec347(0x1))[_0x9be926(0x2ff)](_0x400e0e=>this[_0x9be926(0x3dc)]['error'](_0x9be926(0x43d),_0x400e0e)),_0x4dea35[_0x9be926(0x40f)][_0x9be926(0x29c)](_0x8ec347(0x1))[_0x9be926(0x2ff)](()=>{var _0x2de1cd=_0x9be926;this[_0x2de1cd(0x4b0)](_0x4dea35);}),_0x4dea35['close$']['pipe'](_0x8ec347(0x1))[_0x9be926(0x2ff)](_0xeb7e33=>{var _0x4ce180=_0x9be926;this['_logService']['debug'](_0x4ce180(0x2d6),_0x4ce180(0x4ab),_0xeb7e33),this['_onConnectionFailed']();});}}catch(_0x5a66b1){this['_logService']['error'](_0x5a66b1),this[_0x9be926(0x264)]();}}[_0x3bcbc5(0x4b0)](_0x443c3b){var _0x2e9f8c=_0x3bcbc5;this[_0x2e9f8c(0x3dc)][_0x2e9f8c(0x215)](_0x2e9f8c(0x2d6),_0x2e9f8c(0x1cf)),_0x443c3b['send']({'cmd':j[_0x2e9f8c(0x2d7)]}),this[_0x2e9f8c(0x2a5)]();}[_0x3bcbc5(0x28f)](){var _0x4c7c9d=_0x3bcbc5;this[_0x4c7c9d(0x3e8)]=!0x1,this[_0x4c7c9d(0x2e6)]=null,this['_status$'][_0x4c7c9d(0x497)](me[_0x4c7c9d(0x1c5)]),this[_0x4c7c9d(0x373)][_0x4c7c9d(0x497)](null),this['_clearTimeoutTimer'](),this[_0x4c7c9d(0x358)]();}[_0x3bcbc5(0x264)](){var _0x5dc9bd=_0x3bcbc5,_0x7145b3;this['_onOffline'](),this[_0x5dc9bd(0x49a)]<((_0x7145b3=this[_0x5dc9bd(0x346)]['getConfig'](gs))!=null?_0x7145b3:Ts)?(this['_collaborationUIEventService'][_0x5dc9bd(0x1f9)]({'id':re[_0x5dc9bd(0x444)]}),this[_0x5dc9bd(0x47c)]()):this[_0x5dc9bd(0x4ad)][_0x5dc9bd(0x1f9)]({'id':re[_0x5dc9bd(0x403)]});}[_0x3bcbc5(0x47c)](){var _0xb86d5f=_0x3bcbc5,_0xd978d6;const _0x31de62=this[_0xb86d5f(0x49a)],_0x36193b=this['_configService']['getConfig'](K),_0x4032b1=_0x31de62===0x0?0x0:((_0xd978d6=_0x36193b==null?void 0x0:_0x36193b['retryConnectingInterval'])!=null?_0xd978d6:Ss)*0x2**_0x31de62;this[_0xb86d5f(0x3f6)]=setTimeout(()=>{var _0x1b2e40=_0xb86d5f;clearTimeout(this[_0x1b2e40(0x3f6)]),this[_0x1b2e40(0x3f6)]=null,this[_0x1b2e40(0x224)]();},_0x4032b1),this[_0xb86d5f(0x49a)]+=0x1;}['_onMessage'](_0x4a8c2c,_0xbe01d9){var _0x1c57f3=_0x3bcbc5;const {cmd:_0x133ecc}=_0xbe01d9;_0x133ecc===j[_0x1c57f3(0x2d7)]&&!this[_0x1c57f3(0x3e8)]&&(_0x4a8c2c[_0x1c57f3(0x367)]=_0xbe01d9['data'][_0x1c57f3(0x367)],this['_socket$'][_0x1c57f3(0x497)](_0x4a8c2c),this[_0x1c57f3(0x25d)]['next'](me[_0x1c57f3(0x45e)]),this[_0x1c57f3(0x3e8)]=!0x0,this[_0x1c57f3(0x2e6)]=null),_0x133ecc===j[_0x1c57f3(0x292)]&&this[_0x1c57f3(0x3fd)](),this['_rescheduleHeartbeat']();}[_0x3bcbc5(0x2a5)](){var _0x18d916=_0x3bcbc5,_0x519f32;this[_0x18d916(0x358)](),this[_0x18d916(0x3b0)]=setTimeout(()=>this[_0x18d916(0x3f0)](),(_0x519f32=this[_0x18d916(0x346)]['getConfig'](ms))!=null?_0x519f32:Is);}['_sendHeartbeat'](){var _0xa855e5=_0x3bcbc5;this[_0xa855e5(0x3f9)][_0xa855e5(0x325)]({'cmd':j[_0xa855e5(0x292)]}),this[_0xa855e5(0x3ea)]();}['_waitForHeartbeatResponse'](){var _0x8bb6a9=_0x3bcbc5,_0x2b700a;this[_0x8bb6a9(0x49d)]=setTimeout(()=>this[_0x8bb6a9(0x264)](),(_0x2b700a=this[_0x8bb6a9(0x346)][_0x8bb6a9(0x2f6)](di))!=null?_0x2b700a:fi);}[_0x3bcbc5(0x358)](){var _0x394f08=_0x3bcbc5;this[_0x394f08(0x3b0)]!=null&&(clearTimeout(this[_0x394f08(0x3b0)]),this['_sendHeartbeatTimer']=null);}[_0x3bcbc5(0x3fd)](){var _0x135ee5=_0x3bcbc5;this[_0x135ee5(0x49d)]!=null&&(clearTimeout(this[_0x135ee5(0x49d)]),this[_0x135ee5(0x49d)]=null);}};we=Ks([Re(0x0,_0x1b5fe1(_0x3f0769)),Re(0x1,_0xbe786),Re(0x2,_0x12469b),Re(0x3,Oi),Re(0x4,_0x1b5fe1(ve)),Re(0x5,_0x426e18(Bs))],we);var qs=Object[_0x3bcbc5(0x2f1)],zs=(_0x5bfe02,_0x938f85,_0x417f52,_0x118d94)=>{var _0x41f3fd=_0x3bcbc5;for(var _0xa103db=_0x118d94>0x1?void 0x0:_0x118d94?qs(_0x938f85,_0x417f52):_0x938f85,_0x58731f=_0x5bfe02[_0x41f3fd(0x2be)]-0x1,_0x3a6840;_0x58731f>=0x0;_0x58731f--)(_0x3a6840=_0x5bfe02[_0x58731f])&&(_0xa103db=_0x3a6840(_0xa103db)||_0xa103db);return _0xa103db;},Be=(_0x3a099c,_0xeeabed)=>(_0x3e7762,_0x4f90f0)=>_0xeeabed(_0x3e7762,_0x4f90f0,_0x3a099c);let nt=class extends _0x2e3b72{constructor(_0x415c5d,_0x17de3b,_0xa01a50,_0x19a14e){var _0x79b01d=_0x3bcbc5,_0x43c240;super(),D(this,'_entities',new Map()),D(this,_0x79b01d(0x233),new _0x3a544d()),D(this,_0x79b01d(0x3a7),this[_0x79b01d(0x233)][_0x79b01d(0x405)]()),(this[_0x79b01d(0x463)]=_0x415c5d,this[_0x79b01d(0x24f)]=_0x17de3b,this[_0x79b01d(0x346)]=_0xa01a50,this[_0x79b01d(0x31f)]=_0x19a14e,((_0x43c240=this[_0x79b01d(0x346)][_0x79b01d(0x2f6)](K))==null?void 0x0:_0x43c240[_0x79b01d(0x258)])!==!0x1&&this['_init']());}[_0x3bcbc5(0x23d)](){var _0x14b8e6=_0x3bcbc5;super['dispose'](),this[_0x14b8e6(0x2d9)][_0x14b8e6(0x4a0)](_0x35b7d9=>_0x35b7d9[_0x14b8e6(0x23d)]()),this[_0x14b8e6(0x2d9)][_0x14b8e6(0x221)]();}[_0x3bcbc5(0x434)](_0x462596){var _0x4c8e77=_0x3bcbc5,_0x28d38d;return(_0x28d38d=this[_0x4c8e77(0x2d9)]['get'](_0x462596))!=null?_0x28d38d:null;}[_0x3bcbc5(0x323)](_0x5af7da){var _0x5acfce=_0x3bcbc5;const _0x4adafc=this[_0x5acfce(0x434)](_0x5af7da);return _0x4adafc?_0x399dff(_0x4adafc):this[_0x5acfce(0x233)][_0x5acfce(0x29c)](_0x977423(_0x3ba1e5=>_0x3ba1e5[_0x5acfce(0x2f2)]===_0x5af7da));}[_0x3bcbc5(0x3b6)](_0x3141d8){var _0xb3d987=_0x3bcbc5;return _0x483196(this[_0xb3d987(0x323)](_0x3141d8)[_0xb3d987(0x29c)](_0x2c81e7(()=>{})));}[_0x3bcbc5(0x391)](){var _0x47d302=_0x3bcbc5;this['_univerInstanceService'][_0x47d302(0x1f4)](_0xf6e3e1[_0x47d302(0x1e2)])[_0x47d302(0x29c)](_0x4671d8(this['dispose$']),_0x2fb8d8(0x10))[_0x47d302(0x2ff)](async _0x2ff788=>{var _0x471929=_0x47d302;const _0x345600=_0x2ff788[_0x471929(0x1b3)](),_0x22f791=await this[_0x471929(0x317)](_0x345600,Q[_0x471929(0x1e2)]);this[_0x471929(0x2d9)]['set'](_0x345600,_0x22f791);}),this['_univerInstanceService'][_0x47d302(0x1f4)](_0xf6e3e1[_0x47d302(0x30a)])['pipe'](_0x4671d8(this[_0x47d302(0x443)]),_0x2fb8d8(0x10))[_0x47d302(0x29c)](_0x977423(_0x59e4c3=>!_0x59e4c3[_0x47d302(0x1b3)]()['startsWith']('__')))['subscribe'](async _0x1a00ff=>{var _0x298c07=_0x47d302;const _0x1dce2b=_0x1a00ff[_0x298c07(0x1b3)](),_0xc78a00=await this['_startCollaboration'](_0x1dce2b,Q['UNIVER_DOC']);this['_entities'][_0x298c07(0x3cd)](_0x1dce2b,_0xc78a00);}),_0x59837f(this[_0x47d302(0x31f)]['getTypeOfUnitDisposed$'](_0xf6e3e1[_0x47d302(0x1e2)]),this[_0x47d302(0x31f)][_0x47d302(0x248)](_0xf6e3e1[_0x47d302(0x30a)]))['pipe'](_0x4671d8(this[_0x47d302(0x443)]))[_0x47d302(0x2ff)](_0x7eb19b=>{var _0x42bff1=_0x47d302;const _0x412d67=_0x7eb19b['getUnitId'](),_0x26bc1f=this[_0x42bff1(0x2d9)][_0x42bff1(0x448)](_0x412d67);_0x26bc1f&&(_0x26bc1f[_0x42bff1(0x23d)](),this['_entities']['delete'](_0x412d67));});}async[_0x3bcbc5(0x317)](_0xc3a92,_0x380404){var _0x3e679d=_0x3bcbc5;const _0x524027=await this[_0x3e679d(0x24f)][_0x3e679d(0x34c)](_0xc3a92),_0x37c756=this[_0x3e679d(0x463)][_0x3e679d(0x42b)](this[_0x3e679d(0x22d)](_0x380404),_0xc3a92,_0x380404,_0x524027);return await _0x37c756[_0x3e679d(0x38c)](),this[_0x3e679d(0x233)]['next'](_0x37c756),_0x37c756;}['_getCtorByUniverType'](_0x11b09c){var _0x571f82=_0x3bcbc5;switch(_0x11b09c){case Q[_0x571f82(0x30a)]:return It;case Q[_0x571f82(0x1e2)]:return St;default:throw new Error(_0x571f82(0x1c3)+_0x11b09c);}}};nt=zs([Be(0x0,_0x1b5fe1(_0x3f0769)),Be(0x1,_0x1b5fe1(we)),Be(0x2,_0x12469b),Be(0x3,_0x29bce8)],nt);var Js=Object[_0x3bcbc5(0x2f1)],Xs=(_0x35ef32,_0x426257,_0x3c1cf6,_0x186119)=>{var _0x4ab8f5=_0x3bcbc5;for(var _0x460d46=_0x186119>0x1?void 0x0:_0x186119?Js(_0x426257,_0x3c1cf6):_0x426257,_0x3bf2d2=_0x35ef32[_0x4ab8f5(0x2be)]-0x1,_0x40eb6e;_0x3bf2d2>=0x0;_0x3bf2d2--)(_0x40eb6e=_0x35ef32[_0x3bf2d2])&&(_0x460d46=_0x40eb6e(_0x460d46)||_0x460d46);return _0x460d46;},Wt=(_0x278e6a,_0x1664c5)=>(_0x493682,_0x56e388)=>_0x1664c5(_0x493682,_0x56e388,_0x278e6a);const Zs=_0x3bcbc5(0x352),Qs='Univer';let gt=class extends _0x589fe2{constructor(_0x3ec737,_0x15eafd){var _0x3cd6c5=_0x3bcbc5;super(),this[_0x3cd6c5(0x31f)]=_0x3ec737,this[_0x3cd6c5(0x346)]=_0x15eafd,this[_0x3cd6c5(0x391)]();}[_0x3bcbc5(0x391)](){var _0x18af81=_0x3bcbc5;this[_0x18af81(0x300)](this[_0x18af81(0x31f)][_0x18af81(0x488)][_0x18af81(0x2ff)](()=>{var _0x45ba14=_0x18af81,_0x2715a2;const _0x2a4945=this['_univerInstanceService'][_0x45ba14(0x2d0)]();let _0x51df0a=(_0x2715a2=this[_0x45ba14(0x346)][_0x45ba14(0x2f6)](Zs))!=null?_0x2715a2:Qs;_0x2a4945 instanceof _0xcfd46d&&(_0x51df0a=_0x2a4945[_0x45ba14(0x439)]),document['title']=_0x51df0a;}));}};gt=Xs([Wt(0x0,_0x29bce8),Wt(0x1,_0x12469b)],gt);var en=Object[_0x3bcbc5(0x2f1)],tn=(_0x46bc9a,_0x1dac6e,_0x328969,_0x3d4ff6)=>{var _0x468367=_0x3bcbc5;for(var _0x37e701=_0x3d4ff6>0x1?void 0x0:_0x3d4ff6?en(_0x1dac6e,_0x328969):_0x1dac6e,_0x3e270e=_0x46bc9a[_0x468367(0x2be)]-0x1,_0x43d0ce;_0x3e270e>=0x0;_0x3e270e--)(_0x43d0ce=_0x46bc9a[_0x3e270e])&&(_0x37e701=_0x43d0ce(_0x37e701)||_0x37e701);return _0x37e701;},dt=(_0x2baa37,_0x1276ef)=>(_0x16a438,_0xfa9478)=>_0x1276ef(_0x16a438,_0xfa9478,_0x2baa37);let rt=class{constructor(_0x494eb3,_0x1838a8,_0x344da2){var _0x745f81=_0x3bcbc5;this['_configService']=_0x494eb3,this['_httpService']=_0x1838a8,this[_0x745f81(0x1af)]=_0x344da2,this[_0x745f81(0x38c)]();}[_0x3bcbc5(0x38c)](){var _0x29ac0a=_0x3bcbc5;this[_0x29ac0a(0x3ca)][_0x29ac0a(0x2ea)]({'priority':0x1,'interceptor':(_0x43b4be,_0x211478)=>_0x211478(_0x43b4be)[_0x29ac0a(0x29c)](_0x42b602(async _0x3911d6=>{var _0x41bb83=_0x29ac0a;const _0x5662db=_0x3911d6;if(_0x5662db[_0x41bb83(0x4a1)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x41bb83(0x4b6)](this[_0x41bb83(0x1af)]['t']('auth.needGotoLoginAlert'))){const _0x5920b7=window[_0x41bb83(0x472)](window['location'][_0x41bb83(0x3d6)]);window[_0x41bb83(0x271)][_0x41bb83(0x3d6)]=this['_getLoginPath']()+'?url='+_0x5920b7;}}return _0x5662db;}))});}['_getLoginPath'](){var _0x25d593=_0x3bcbc5,_0x128742;const _0x4bfb1d=this['_configService']['getConfig'](K);return(_0x128742=_0x4bfb1d==null?void 0x0:_0x4bfb1d[_0x25d593(0x3f3)])!=null?_0x128742:Rs;}};rt=tn([dt(0x0,_0x12469b),dt(0x1,_0x1b5fe1(_0x4ba195)),dt(0x2,_0x1b5fe1(_0x3f3943))],rt);var sn=Object[_0x3bcbc5(0x2f1)],nn=(_0x5832f1,_0x2f6e3b,_0x11639a,_0x164287)=>{var _0x100308=_0x3bcbc5;for(var _0x7464ac=_0x164287>0x1?void 0x0:_0x164287?sn(_0x2f6e3b,_0x11639a):_0x2f6e3b,_0x2f0eb1=_0x5832f1[_0x100308(0x2be)]-0x1,_0x34eaca;_0x2f0eb1>=0x0;_0x2f0eb1--)(_0x34eaca=_0x5832f1[_0x2f0eb1])&&(_0x7464ac=_0x34eaca(_0x7464ac)||_0x7464ac);return _0x7464ac;},Yt=(_0x49a969,_0x1cad0a)=>(_0x4d750c,_0x436665)=>_0x1cad0a(_0x4d750c,_0x436665,_0x49a969);const rn='/universer-api/authz';let Tt=class extends _0x589fe2{constructor(_0x4c4ba7,_0x43ad85){var _0x537336=_0x3bcbc5;super(),this[_0x537336(0x36a)]=_0x4c4ba7,this[_0x537336(0x346)]=_0x43ad85,this[_0x537336(0x3b5)]();}[_0x3bcbc5(0x3b5)](){var _0xfec4bf=_0x3bcbc5;const _0x2aeaf6=this;this['disposeWithMe'](this[_0xfec4bf(0x36a)][_0xfec4bf(0x2ea)]({'priority':0x3e7,'interceptor':_0x4e5346({'isMatch'(_0x4b761f){var _0x543835=_0xfec4bf,_0x16f1ac;if(_0x4b761f['method']===_0x543835(0x40b)&&((_0x16f1ac=_0x4b761f[_0x543835(0x268)])!=null&&_0x16f1ac[_0x543835(0x457)])){const {objectID:_0x5e055c,objectType:_0x32250b}=_0x4b761f['requestParams'][_0x543835(0x457)]||{};if(!_0x5e055c||_0x32250b===void 0x0)return!0x1;const _0x256dcd=_0x2aeaf6[_0x543835(0x214)]()+'/'+_0x32250b+_0x543835(0x477)+_0x5e055c+_0x543835(0x380);if(_0x4b761f[_0x543835(0x23a)]===_0x256dcd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f693e){var _0x30a53a=_0xfec4bf,_0x48ed8b;return(_0x48ed8b=_0x2f693e[_0x30a53a(0x268)])==null?void 0x0:_0x48ed8b[_0x30a53a(0x457)];},'mergeParamsToRequest'(_0x573901,_0xa45745){var _0x91d8ae=_0xfec4bf;const _0x1524a2=_0x2aeaf6['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x51c0bf=_0x573901['reduce']((_0x57d6ea,_0x422726)=>{var _0x5ea4e1=_0x1928;const {unitID:_0xe46527,objectID:_0x1bf10d,objectType:_0x5726ba,actions:_0x33dadc}=_0x422726;return _0x57d6ea[_0xe46527]||(_0x57d6ea[_0xe46527]={}),_0x57d6ea[_0xe46527][_0x1bf10d]||(_0x57d6ea[_0xe46527][_0x1bf10d]={'objectID':_0x1bf10d,'objectType':_0x5726ba,'actions':[]}),_0x57d6ea[_0xe46527][_0x1bf10d][_0x5ea4e1(0x293)][_0x5ea4e1(0x35e)](..._0x33dadc),_0x57d6ea;},{}),_0x32370d=[];for(const _0x1b5436 in _0x51c0bf)for(const _0xc02567 in _0x51c0bf[_0x1b5436]){const {actions:_0x39bacd,objectType:_0xce9dee}=_0x51c0bf[_0x1b5436][_0xc02567],_0x4ffe0c=[...new Set(_0x39bacd)];_0x32370d['push']({'unitID':_0x1b5436,'objectID':_0xc02567,'objectType':_0xce9dee,'actions':_0x4ffe0c});}return new _0x47562d(_0x91d8ae(0x40b),_0x1524a2,{'headers':_0xa45745['headers'],'withCredentials':_0xa45745['withCredentials'],'responseType':_0xa45745['responseType'],'body':{'requests':_0x32370d}});}},{'distributeResult'(_0x487e15,_0x232ae6){var _0x3dec08=_0xfec4bf;const {objectActions:_0x1c3564}=_0x487e15;return _0x232ae6[_0x3dec08(0x289)](_0x12f115=>{var _0x364fc9=_0x3dec08;const {unitID:_0x3d2104,objectID:_0x2d6c68,actions:_0x4fe5ef}=_0x12f115,_0x3aeac4=_0x1c3564['find'](_0x15093a=>_0x15093a['unitID']===_0x3d2104&&_0x15093a['objectID']===_0x2d6c68),_0x165426=_0x4fe5ef['map'](_0x2ff8fb=>_0x3aeac4==null?void 0x0:_0x3aeac4[_0x364fc9(0x293)][_0x364fc9(0x318)](_0x19d24a=>_0x19d24a['action']===_0x2ff8fb))['filter'](_0xe9781f=>!!_0xe9781f);return{'config':_0x12f115,'result':{'actions':_0x165426,'error':_0x487e15[_0x364fc9(0x2dd)]}};});}})}));}[_0x3bcbc5(0x214)](){var _0x5ab691=_0x3bcbc5,_0x5830b1;const _0x1e4d7d=this['_configService'][_0x5ab691(0x2f6)](K);return(_0x5830b1=_0x1e4d7d==null?void 0x0:_0x1e4d7d['authzUrl'])!=null?_0x5830b1:rn;}async['create'](_0x31770a){var _0x577a0e=_0x3bcbc5;const _0x5315d7=this[_0x577a0e(0x214)]()+'/'+_0x31770a[_0x577a0e(0x4ae)]+_0x577a0e(0x3a6);return(await this[_0x577a0e(0x36a)][_0x577a0e(0x218)](_0x5315d7,{'body':_0x31770a}))['body']['objectID']||'';}async[_0x3bcbc5(0x21d)](_0x135815){var _0x3e197e=_0x3bcbc5;const _0x5b5e2d=this[_0x3e197e(0x214)]()+'/-/object/list';return(await this[_0x3e197e(0x36a)][_0x3e197e(0x218)](_0x5b5e2d,{'body':_0x135815}))[_0x3e197e(0x457)]['objects'];}async['update'](_0x5183f9){var _0x5d1fc9=_0x3bcbc5,_0xefb79c,_0x3f685c;const _0x2b5889=this[_0x5d1fc9(0x214)]()+'/'+_0x5183f9[_0x5d1fc9(0x4ae)]+_0x5d1fc9(0x477)+_0x5183f9['objectID'],_0x3cc530=await this[_0x5d1fc9(0x36a)][_0x5d1fc9(0x382)](_0x2b5889,{'body':_0x5183f9});if(((_0x3f685c=(_0xefb79c=_0x3cc530==null?void 0x0:_0x3cc530[_0x5d1fc9(0x457)])==null?void 0x0:_0xefb79c[_0x5d1fc9(0x2dd)])==null?void 0x0:_0x3f685c['code'])!==0x1)throw new Error(_0x5d1fc9(0x27a));}async[_0x3bcbc5(0x350)](_0x22dca3){var _0x39cab0=_0x3bcbc5;const _0x1ecd17=this['_getAPIPrefixPath']()+'/'+_0x22dca3['objectType']+_0x39cab0(0x477)+_0x22dca3[_0x39cab0(0x1b9)]+_0x39cab0(0x380);return(await this[_0x39cab0(0x36a)][_0x39cab0(0x218)](_0x1ecd17,{'body':_0x22dca3}))['body'][_0x39cab0(0x293)];}async['batchAllowed'](_0x5a4308){var _0x5d8151=_0x3bcbc5;const _0x35fa54=this[_0x5d8151(0x214)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x5d8151(0x218)](_0x35fa54,{'body':{'requests':_0x5a4308}}))[_0x5d8151(0x457)][_0x5d8151(0x302)];}async[_0x3bcbc5(0x257)](_0x3e59b2){var _0x6e982c=_0x3bcbc5;const _0x3886ba=this['_getAPIPrefixPath']()+'/'+_0x3e59b2[_0x6e982c(0x4ae)]+_0x6e982c(0x253),_0x3f4be6=await this[_0x6e982c(0x36a)][_0x6e982c(0x218)](_0x3886ba,{'body':_0x3e59b2});return{'roles':_0x3f4be6['body'][_0x6e982c(0x2e4)],'actions':_0x3f4be6['body'][_0x6e982c(0x293)]};}async[_0x3bcbc5(0x402)](_0x3474c7){var _0x262ed6=_0x3bcbc5;const _0x73d53=this[_0x262ed6(0x214)]()+_0x262ed6(0x2b7);await this[_0x262ed6(0x36a)][_0x262ed6(0x38b)](_0x73d53,{'params':{'collaboratorID':_0x3474c7[_0x262ed6(0x3e0)],'objectID':_0x3474c7[_0x262ed6(0x1b9)],'unitID':_0x3474c7[_0x262ed6(0x2f2)]}});}async[_0x3bcbc5(0x473)](_0x3a51cf){var _0x5c39d1=_0x3bcbc5;const _0x4243ee=this['_getAPIPrefixPath']()+_0x5c39d1(0x2b7);await this[_0x5c39d1(0x36a)]['patch'](_0x4243ee,{'body':_0x3a51cf});}async[_0x3bcbc5(0x49b)](_0x525598){var _0x1dcc16=_0x3bcbc5;const _0x2b599=this[_0x1dcc16(0x214)]()+_0x1dcc16(0x2b7);await this['_HTTPService']['post'](_0x2b599,{'body':_0x525598});}async[_0x3bcbc5(0x412)](_0x55d281){var _0x407b9e=_0x3bcbc5;const _0xb6206b=this[_0x407b9e(0x214)]()+'/collaborator';return(await this[_0x407b9e(0x36a)][_0x407b9e(0x448)](_0xb6206b,{'params':{'objectID':_0x55d281[_0x407b9e(0x1b9)],'unitID':_0x55d281[_0x407b9e(0x2f2)]}}))[_0x407b9e(0x457)][_0x407b9e(0x261)];}async[_0x3bcbc5(0x20f)](_0x5c6c9e){var _0x3fd34f=_0x3bcbc5;const _0x38272c=this[_0x3fd34f(0x214)]()+'/collaborator';await this[_0x3fd34f(0x36a)][_0x3fd34f(0x382)](_0x38272c,{'body':_0x5c6c9e});}};Tt=nn([Yt(0x0,_0x1b5fe1(_0x4ba195)),Yt(0x1,_0x1b5fe1(_0x12469b))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x357907){var _0x4b53da=_0x3bcbc5;return _0x357907&&_0x357907[_0x4b53da(0x374)]&&Object[_0x4b53da(0x232)][_0x4b53da(0x31a)][_0x4b53da(0x41d)](_0x357907,'default')?_0x357907['default']:_0x357907;}var Ve={'exports':{}};function an(_0x5d0276){var _0x4b711b=_0x3bcbc5;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5d0276+_0x4b711b(0x1ea));}var Ge={'exports':{}},on=Ge[_0x3bcbc5(0x25a)],Kt;function ie(){var _0x56c4ab=_0x3bcbc5;return Kt||(Kt=0x1,function(_0x3a8b9b,_0x302826){(function(_0x2e01b7,_0x5c334d){var _0x10d03e=_0x1928;_0x3a8b9b[_0x10d03e(0x25a)]=_0x5c334d();}(on,function(){var _0x3cfde1=_0x3cfde1||function(_0x4bb53b,_0x4ce89c){var _0x124bcf=_0x1928,_0x2b93b2;if(typeof window<'u'&&window[_0x124bcf(0x2ef)]&&(_0x2b93b2=window[_0x124bcf(0x2ef)]),typeof self<'u'&&self[_0x124bcf(0x2ef)]&&(_0x2b93b2=self[_0x124bcf(0x2ef)]),typeof globalThis<'u'&&globalThis[_0x124bcf(0x2ef)]&&(_0x2b93b2=globalThis[_0x124bcf(0x2ef)]),!_0x2b93b2&&typeof window<'u'&&window['msCrypto']&&(_0x2b93b2=window[_0x124bcf(0x338)]),!_0x2b93b2&&typeof ft<'u'&&ft[_0x124bcf(0x2ef)]&&(_0x2b93b2=ft[_0x124bcf(0x2ef)]),!_0x2b93b2&&typeof an==_0x124bcf(0x1b7))try{_0x2b93b2=require('crypto');}catch{}var _0x1f4886=function(){var _0x353d27=_0x124bcf;if(_0x2b93b2){if(typeof _0x2b93b2['getRandomValues']=='function')try{return _0x2b93b2['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b93b2['randomBytes']==_0x353d27(0x1b7))try{return _0x2b93b2['randomBytes'](0x4)[_0x353d27(0x249)]();}catch{}}throw new Error(_0x353d27(0x26f));},_0x201c3f=Object[_0x124bcf(0x277)]||(function(){function _0x4fdce6(){}return function(_0x26139a){var _0x5803e2=_0x1928,_0x2dd464;return _0x4fdce6[_0x5803e2(0x232)]=_0x26139a,_0x2dd464=new _0x4fdce6(),_0x4fdce6[_0x5803e2(0x232)]=null,_0x2dd464;};}()),_0xa8ecc6={},_0x4e41a7=_0xa8ecc6[_0x124bcf(0x22c)]={},_0x468a86=_0x4e41a7[_0x124bcf(0x36d)]=(function(){return{'extend':function(_0x26be98){var _0x524735=_0x1928,_0x212991=_0x201c3f(this);return _0x26be98&&_0x212991[_0x524735(0x250)](_0x26be98),(!_0x212991['hasOwnProperty'](_0x524735(0x38c))||this[_0x524735(0x38c)]===_0x212991[_0x524735(0x38c)])&&(_0x212991[_0x524735(0x38c)]=function(){var _0x3b5598=_0x524735;_0x212991[_0x3b5598(0x21f)][_0x3b5598(0x38c)][_0x3b5598(0x3b1)](this,arguments);}),_0x212991['init']['prototype']=_0x212991,_0x212991[_0x524735(0x21f)]=this,_0x212991;},'create':function(){var _0x1c832f=_0x1928,_0x1df13f=this[_0x1c832f(0x375)]();return _0x1df13f['init']['apply'](_0x1df13f,arguments),_0x1df13f;},'init':function(){},'mixIn':function(_0x46c47d){var _0x159948=_0x1928;for(var _0x2ebb06 in _0x46c47d)_0x46c47d['hasOwnProperty'](_0x2ebb06)&&(this[_0x2ebb06]=_0x46c47d[_0x2ebb06]);_0x46c47d['hasOwnProperty'](_0x159948(0x28b))&&(this[_0x159948(0x28b)]=_0x46c47d[_0x159948(0x28b)]);},'clone':function(){var _0x360252=_0x1928;return this['init'][_0x360252(0x232)][_0x360252(0x375)](this);}};}()),_0x20e93e=_0x4e41a7[_0x124bcf(0x3e2)]=_0x468a86[_0x124bcf(0x375)]({'init':function(_0xd3258a,_0x331aa0){var _0x1190d3=_0x124bcf;_0xd3258a=this[_0x1190d3(0x45a)]=_0xd3258a||[],_0x331aa0!=_0x4ce89c?this[_0x1190d3(0x256)]=_0x331aa0:this[_0x1190d3(0x256)]=_0xd3258a['length']*0x4;},'toString':function(_0x2e0bd4){var _0x324500=_0x124bcf;return(_0x2e0bd4||_0x444b66)[_0x324500(0x2ce)](this);},'concat':function(_0x4d8d1b){var _0x1f3059=_0x124bcf,_0x42820e=this[_0x1f3059(0x45a)],_0x4832d5=_0x4d8d1b[_0x1f3059(0x45a)],_0x5e617b=this[_0x1f3059(0x256)],_0x5c8385=_0x4d8d1b[_0x1f3059(0x256)];if(this['clamp'](),_0x5e617b%0x4)for(var _0x2fc706=0x0;_0x2fc706<_0x5c8385;_0x2fc706++){var _0x5ac0c3=_0x4832d5[_0x2fc706>>>0x2]>>>0x18-_0x2fc706%0x4*0x8&0xff;_0x42820e[_0x5e617b+_0x2fc706>>>0x2]|=_0x5ac0c3<<0x18-(_0x5e617b+_0x2fc706)%0x4*0x8;}else{for(var _0x4446df=0x0;_0x4446df<_0x5c8385;_0x4446df+=0x4)_0x42820e[_0x5e617b+_0x4446df>>>0x2]=_0x4832d5[_0x4446df>>>0x2];}return this[_0x1f3059(0x256)]+=_0x5c8385,this;},'clamp':function(){var _0x5a8c0e=_0x124bcf,_0x1685ec=this[_0x5a8c0e(0x45a)],_0x3144c0=this[_0x5a8c0e(0x256)];_0x1685ec[_0x3144c0>>>0x2]&=0xffffffff<<0x20-_0x3144c0%0x4*0x8,_0x1685ec[_0x5a8c0e(0x2be)]=_0x4bb53b[_0x5a8c0e(0x24c)](_0x3144c0/0x4);},'clone':function(){var _0x115e05=_0x124bcf,_0x13deeb=_0x468a86[_0x115e05(0x236)][_0x115e05(0x41d)](this);return _0x13deeb['words']=this[_0x115e05(0x45a)][_0x115e05(0x1e9)](0x0),_0x13deeb;},'random':function(_0x24d9d0){var _0x58f19f=_0x124bcf;for(var _0x2b80ec=[],_0x262e80=0x0;_0x262e80<_0x24d9d0;_0x262e80+=0x4)_0x2b80ec[_0x58f19f(0x35e)](_0x1f4886());return new _0x20e93e['init'](_0x2b80ec,_0x24d9d0);}}),_0x10e9f9=_0xa8ecc6[_0x124bcf(0x20e)]={},_0x444b66=_0x10e9f9['Hex']={'stringify':function(_0x5c5c14){var _0x1d77d6=_0x124bcf;for(var _0x41911d=_0x5c5c14[_0x1d77d6(0x45a)],_0x38a492=_0x5c5c14[_0x1d77d6(0x256)],_0x1ca9e5=[],_0x51b81b=0x0;_0x51b81b<_0x38a492;_0x51b81b++){var _0x26b921=_0x41911d[_0x51b81b>>>0x2]>>>0x18-_0x51b81b%0x4*0x8&0xff;_0x1ca9e5[_0x1d77d6(0x35e)]((_0x26b921>>>0x4)[_0x1d77d6(0x28b)](0x10)),_0x1ca9e5[_0x1d77d6(0x35e)]((_0x26b921&0xf)[_0x1d77d6(0x28b)](0x10));}return _0x1ca9e5[_0x1d77d6(0x2f8)]('');},'parse':function(_0x15e87a){var _0xda80db=_0x124bcf;for(var _0x48ef36=_0x15e87a['length'],_0x2014b3=[],_0x1eb84f=0x0;_0x1eb84f<_0x48ef36;_0x1eb84f+=0x2)_0x2014b3[_0x1eb84f>>>0x3]|=parseInt(_0x15e87a[_0xda80db(0x3bf)](_0x1eb84f,0x2),0x10)<<0x18-_0x1eb84f%0x8*0x4;return new _0x20e93e[(_0xda80db(0x38c))](_0x2014b3,_0x48ef36/0x2);}},_0x290a0f=_0x10e9f9[_0x124bcf(0x37e)]={'stringify':function(_0x18827c){var _0x5e3bba=_0x124bcf;for(var _0x45f683=_0x18827c[_0x5e3bba(0x45a)],_0x59357b=_0x18827c[_0x5e3bba(0x256)],_0xf741e6=[],_0x342403=0x0;_0x342403<_0x59357b;_0x342403++){var _0x2a6bdd=_0x45f683[_0x342403>>>0x2]>>>0x18-_0x342403%0x4*0x8&0xff;_0xf741e6[_0x5e3bba(0x35e)](String[_0x5e3bba(0x254)](_0x2a6bdd));}return _0xf741e6[_0x5e3bba(0x2f8)]('');},'parse':function(_0x1b8d17){var _0x13ce90=_0x124bcf;for(var _0x5926f9=_0x1b8d17[_0x13ce90(0x2be)],_0x710fa0=[],_0x12941f=0x0;_0x12941f<_0x5926f9;_0x12941f++)_0x710fa0[_0x12941f>>>0x2]|=(_0x1b8d17['charCodeAt'](_0x12941f)&0xff)<<0x18-_0x12941f%0x4*0x8;return new _0x20e93e[(_0x13ce90(0x38c))](_0x710fa0,_0x5926f9);}},_0x5f1b0d=_0x10e9f9[_0x124bcf(0x424)]={'stringify':function(_0xdcbe5a){var _0x2fb959=_0x124bcf;try{return decodeURIComponent(escape(_0x290a0f[_0x2fb959(0x2ce)](_0xdcbe5a)));}catch{throw new Error(_0x2fb959(0x42e));}},'parse':function(_0x3d50e5){return _0x290a0f['parse'](unescape(encodeURIComponent(_0x3d50e5)));}},_0xe2724b=_0x4e41a7['BufferedBlockAlgorithm']=_0x468a86[_0x124bcf(0x375)]({'reset':function(){var _0x145ff9=_0x124bcf;this[_0x145ff9(0x27e)]=new _0x20e93e[(_0x145ff9(0x38c))](),this['_nDataBytes']=0x0;},'_append':function(_0x3076c2){var _0x696cac=_0x124bcf;typeof _0x3076c2==_0x696cac(0x2bd)&&(_0x3076c2=_0x5f1b0d[_0x696cac(0x1fc)](_0x3076c2)),this[_0x696cac(0x27e)]['concat'](_0x3076c2),this[_0x696cac(0x499)]+=_0x3076c2[_0x696cac(0x256)];},'_process':function(_0x599187){var _0x14583e=_0x124bcf,_0x2dee4c,_0x3a5acb=this['_data'],_0x5ec50d=_0x3a5acb[_0x14583e(0x45a)],_0x5b3efd=_0x3a5acb[_0x14583e(0x256)],_0xcdb1fb=this[_0x14583e(0x2d2)],_0x16b877=_0xcdb1fb*0x4,_0x10ffcd=_0x5b3efd/_0x16b877;_0x599187?_0x10ffcd=_0x4bb53b[_0x14583e(0x24c)](_0x10ffcd):_0x10ffcd=_0x4bb53b['max']((_0x10ffcd|0x0)-this[_0x14583e(0x2bf)],0x0);var _0x714755=_0x10ffcd*_0xcdb1fb,_0x16d586=_0x4bb53b[_0x14583e(0x356)](_0x714755*0x4,_0x5b3efd);if(_0x714755){for(var _0x27ab7f=0x0;_0x27ab7f<_0x714755;_0x27ab7f+=_0xcdb1fb)this[_0x14583e(0x366)](_0x5ec50d,_0x27ab7f);_0x2dee4c=_0x5ec50d[_0x14583e(0x1f8)](0x0,_0x714755),_0x3a5acb[_0x14583e(0x256)]-=_0x16d586;}return new _0x20e93e[(_0x14583e(0x38c))](_0x2dee4c,_0x16d586);},'clone':function(){var _0x19917e=_0x124bcf,_0x527b8c=_0x468a86[_0x19917e(0x236)][_0x19917e(0x41d)](this);return _0x527b8c[_0x19917e(0x27e)]=this[_0x19917e(0x27e)][_0x19917e(0x236)](),_0x527b8c;},'_minBufferSize':0x0});_0x4e41a7[_0x124bcf(0x23e)]=_0xe2724b['extend']({'cfg':_0x468a86[_0x124bcf(0x375)](),'init':function(_0x5d2541){var _0x4d622a=_0x124bcf;this[_0x4d622a(0x345)]=this['cfg']['extend'](_0x5d2541),this[_0x4d622a(0x46f)]();},'reset':function(){var _0x5ccfd9=_0x124bcf;_0xe2724b[_0x5ccfd9(0x46f)][_0x5ccfd9(0x41d)](this),this[_0x5ccfd9(0x469)]();},'update':function(_0x3ce9c2){var _0x9c20a3=_0x124bcf;return this[_0x9c20a3(0x22b)](_0x3ce9c2),this[_0x9c20a3(0x3f8)](),this;},'finalize':function(_0x24af27){var _0x3dd1bc=_0x124bcf;_0x24af27&&this[_0x3dd1bc(0x22b)](_0x24af27);var _0x270d7b=this[_0x3dd1bc(0x1d8)]();return _0x270d7b;},'blockSize':0x10,'_createHelper':function(_0xfd1bab){return function(_0x1aaa06,_0x3c4d41){var _0x1b6b28=_0x1928;return new _0xfd1bab[(_0x1b6b28(0x38c))](_0x3c4d41)[_0x1b6b28(0x475)](_0x1aaa06);};},'_createHmacHelper':function(_0x16145a){return function(_0x263185,_0x61dbb8){var _0x138939=_0x1928;return new _0x4684d9[(_0x138939(0x438))]['init'](_0x16145a,_0x61dbb8)[_0x138939(0x475)](_0x263185);};}});var _0x4684d9=_0xa8ecc6[_0x124bcf(0x20d)]={};return _0xa8ecc6;}(Math);return _0x3cfde1;}));}(Ge)),Ge[_0x56c4ab(0x25a)];}var We={'exports':{}},cn=We[_0x3bcbc5(0x25a)],qt;function Ri(){var _0x482335=_0x3bcbc5;return qt||(qt=0x1,function(_0x4550e0,_0x52ed64){(function(_0xa11e35,_0x336c52){var _0x564c46=_0x1928;_0x4550e0[_0x564c46(0x25a)]=_0x336c52(ie());}(cn,function(_0x529110){var _0x54dbe6=_0x1928;return(function(){var _0x541ae1=_0x1928,_0x1e6b98=_0x529110,_0x116724=_0x1e6b98['lib'],_0x45bdec=_0x116724[_0x541ae1(0x3e2)],_0x37ef15=_0x1e6b98['enc'];_0x37ef15[_0x541ae1(0x27d)]={'stringify':function(_0x4eb494){var _0x42b330=_0x541ae1,_0x75a0c9=_0x4eb494[_0x42b330(0x45a)],_0x3b0786=_0x4eb494['sigBytes'],_0x5baf86=this[_0x42b330(0x362)];_0x4eb494[_0x42b330(0x316)]();for(var _0x44e6d6=[],_0x467969=0x0;_0x467969<_0x3b0786;_0x467969+=0x3)for(var _0x333eaf=_0x75a0c9[_0x467969>>>0x2]>>>0x18-_0x467969%0x4*0x8&0xff,_0x2f49f0=_0x75a0c9[_0x467969+0x1>>>0x2]>>>0x18-(_0x467969+0x1)%0x4*0x8&0xff,_0x21bfd9=_0x75a0c9[_0x467969+0x2>>>0x2]>>>0x18-(_0x467969+0x2)%0x4*0x8&0xff,_0x6bc1fc=_0x333eaf<<0x10|_0x2f49f0<<0x8|_0x21bfd9,_0x51abdc=0x0;_0x51abdc<0x4&&_0x467969+_0x51abdc*0.75<_0x3b0786;_0x51abdc++)_0x44e6d6[_0x42b330(0x35e)](_0x5baf86[_0x42b330(0x40a)](_0x6bc1fc>>>0x6*(0x3-_0x51abdc)&0x3f));var _0x7bd9ac=_0x5baf86[_0x42b330(0x40a)](0x40);if(_0x7bd9ac){for(;_0x44e6d6['length']%0x4;)_0x44e6d6['push'](_0x7bd9ac);}return _0x44e6d6[_0x42b330(0x2f8)]('');},'parse':function(_0x3066b7){var _0x1c3f6f=_0x541ae1,_0x367033=_0x3066b7[_0x1c3f6f(0x2be)],_0x4ccd0c=this['_map'],_0x17714a=this[_0x1c3f6f(0x2c6)];if(!_0x17714a){_0x17714a=this[_0x1c3f6f(0x2c6)]=[];for(var _0x48f297=0x0;_0x48f297<_0x4ccd0c[_0x1c3f6f(0x2be)];_0x48f297++)_0x17714a[_0x4ccd0c[_0x1c3f6f(0x3cc)](_0x48f297)]=_0x48f297;}var _0x1dd812=_0x4ccd0c[_0x1c3f6f(0x40a)](0x40);if(_0x1dd812){var _0x2b45b1=_0x3066b7[_0x1c3f6f(0x379)](_0x1dd812);_0x2b45b1!==-0x1&&(_0x367033=_0x2b45b1);}return _0x8197ee(_0x3066b7,_0x367033,_0x17714a);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x8197ee(_0xf5c8ea,_0x15bc3e,_0x10cec7){var _0x439e26=_0x541ae1;for(var _0x105b98=[],_0x5ccf2=0x0,_0x1f5b06=0x0;_0x1f5b06<_0x15bc3e;_0x1f5b06++)if(_0x1f5b06%0x4){var _0x21d0fd=_0x10cec7[_0xf5c8ea[_0x439e26(0x3cc)](_0x1f5b06-0x1)]<<_0x1f5b06%0x4*0x2,_0x2959cd=_0x10cec7[_0xf5c8ea[_0x439e26(0x3cc)](_0x1f5b06)]>>>0x6-_0x1f5b06%0x4*0x2,_0x2e6cc=_0x21d0fd|_0x2959cd;_0x105b98[_0x5ccf2>>>0x2]|=_0x2e6cc<<0x18-_0x5ccf2%0x4*0x8,_0x5ccf2++;}return _0x45bdec[_0x439e26(0x277)](_0x105b98,_0x5ccf2);}}()),_0x529110[_0x54dbe6(0x20e)][_0x54dbe6(0x27d)];}));}(We)),We[_0x482335(0x25a)];}var Ye={'exports':{}},_n=Ye[_0x3bcbc5(0x25a)],zt;function hn(){return zt||(zt=0x1,function(_0x58344f,_0x4d62f3){(function(_0x29fc7d,_0xbe9a49){_0x58344f['exports']=_0xbe9a49(ie());}(_n,function(_0x1a12c3){var _0x1d3769=_0x1928;return function(_0x2024d4){var _0x5b31ff=_0x1928,_0x218f00=_0x1a12c3,_0x45e625=_0x218f00['lib'],_0x55675c=_0x45e625[_0x5b31ff(0x3e2)],_0x1b06df=_0x45e625[_0x5b31ff(0x23e)],_0x38d898=_0x218f00[_0x5b31ff(0x20d)],_0x10c65b=[];(function(){var _0x949195=_0x5b31ff;for(var _0x46835f=0x0;_0x46835f<0x40;_0x46835f++)_0x10c65b[_0x46835f]=_0x2024d4[_0x949195(0x2f5)](_0x2024d4['sin'](_0x46835f+0x1))*0x100000000|0x0;}());var _0x17a1eb=_0x38d898['MD5']=_0x1b06df[_0x5b31ff(0x375)]({'_doReset':function(){var _0x1c3aae=_0x5b31ff;this[_0x1c3aae(0x451)]=new _0x55675c[(_0x1c3aae(0x38c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x50bf84,_0x1ce3a2){var _0x4a3ac2=_0x5b31ff;for(var _0x279bf8=0x0;_0x279bf8<0x10;_0x279bf8++){var _0x56ff50=_0x1ce3a2+_0x279bf8,_0x419cb5=_0x50bf84[_0x56ff50];_0x50bf84[_0x56ff50]=(_0x419cb5<<0x8|_0x419cb5>>>0x18)&0xff00ff|(_0x419cb5<<0x18|_0x419cb5>>>0x8)&0xff00ff00;}var _0x2f2e2d=this[_0x4a3ac2(0x451)][_0x4a3ac2(0x45a)],_0xdfd9f1=_0x50bf84[_0x1ce3a2+0x0],_0x13076c=_0x50bf84[_0x1ce3a2+0x1],_0x5c50d0=_0x50bf84[_0x1ce3a2+0x2],_0x1ae744=_0x50bf84[_0x1ce3a2+0x3],_0x17954c=_0x50bf84[_0x1ce3a2+0x4],_0x4b7097=_0x50bf84[_0x1ce3a2+0x5],_0x101f2d=_0x50bf84[_0x1ce3a2+0x6],_0x153912=_0x50bf84[_0x1ce3a2+0x7],_0x33e54d=_0x50bf84[_0x1ce3a2+0x8],_0x19259a=_0x50bf84[_0x1ce3a2+0x9],_0x30dd73=_0x50bf84[_0x1ce3a2+0xa],_0x59346d=_0x50bf84[_0x1ce3a2+0xb],_0x3871c1=_0x50bf84[_0x1ce3a2+0xc],_0x569902=_0x50bf84[_0x1ce3a2+0xd],_0x5be3f9=_0x50bf84[_0x1ce3a2+0xe],_0x5f3de4=_0x50bf84[_0x1ce3a2+0xf],_0x22d3e2=_0x2f2e2d[0x0],_0x49529f=_0x2f2e2d[0x1],_0x468aa2=_0x2f2e2d[0x2],_0x123571=_0x2f2e2d[0x3];_0x22d3e2=_0x326b6f(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0xdfd9f1,0x7,_0x10c65b[0x0]),_0x123571=_0x326b6f(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x13076c,0xc,_0x10c65b[0x1]),_0x468aa2=_0x326b6f(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5c50d0,0x11,_0x10c65b[0x2]),_0x49529f=_0x326b6f(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x1ae744,0x16,_0x10c65b[0x3]),_0x22d3e2=_0x326b6f(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x17954c,0x7,_0x10c65b[0x4]),_0x123571=_0x326b6f(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x4b7097,0xc,_0x10c65b[0x5]),_0x468aa2=_0x326b6f(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x101f2d,0x11,_0x10c65b[0x6]),_0x49529f=_0x326b6f(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x153912,0x16,_0x10c65b[0x7]),_0x22d3e2=_0x326b6f(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x33e54d,0x7,_0x10c65b[0x8]),_0x123571=_0x326b6f(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x19259a,0xc,_0x10c65b[0x9]),_0x468aa2=_0x326b6f(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x30dd73,0x11,_0x10c65b[0xa]),_0x49529f=_0x326b6f(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x59346d,0x16,_0x10c65b[0xb]),_0x22d3e2=_0x326b6f(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x3871c1,0x7,_0x10c65b[0xc]),_0x123571=_0x326b6f(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x569902,0xc,_0x10c65b[0xd]),_0x468aa2=_0x326b6f(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5be3f9,0x11,_0x10c65b[0xe]),_0x49529f=_0x326b6f(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x5f3de4,0x16,_0x10c65b[0xf]),_0x22d3e2=_0x4ef564(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x13076c,0x5,_0x10c65b[0x10]),_0x123571=_0x4ef564(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x101f2d,0x9,_0x10c65b[0x11]),_0x468aa2=_0x4ef564(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x59346d,0xe,_0x10c65b[0x12]),_0x49529f=_0x4ef564(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0xdfd9f1,0x14,_0x10c65b[0x13]),_0x22d3e2=_0x4ef564(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x4b7097,0x5,_0x10c65b[0x14]),_0x123571=_0x4ef564(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x30dd73,0x9,_0x10c65b[0x15]),_0x468aa2=_0x4ef564(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5f3de4,0xe,_0x10c65b[0x16]),_0x49529f=_0x4ef564(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x17954c,0x14,_0x10c65b[0x17]),_0x22d3e2=_0x4ef564(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x19259a,0x5,_0x10c65b[0x18]),_0x123571=_0x4ef564(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x5be3f9,0x9,_0x10c65b[0x19]),_0x468aa2=_0x4ef564(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x1ae744,0xe,_0x10c65b[0x1a]),_0x49529f=_0x4ef564(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x33e54d,0x14,_0x10c65b[0x1b]),_0x22d3e2=_0x4ef564(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x569902,0x5,_0x10c65b[0x1c]),_0x123571=_0x4ef564(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x5c50d0,0x9,_0x10c65b[0x1d]),_0x468aa2=_0x4ef564(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x153912,0xe,_0x10c65b[0x1e]),_0x49529f=_0x4ef564(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x3871c1,0x14,_0x10c65b[0x1f]),_0x22d3e2=_0x511d67(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x4b7097,0x4,_0x10c65b[0x20]),_0x123571=_0x511d67(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x33e54d,0xb,_0x10c65b[0x21]),_0x468aa2=_0x511d67(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x59346d,0x10,_0x10c65b[0x22]),_0x49529f=_0x511d67(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x5be3f9,0x17,_0x10c65b[0x23]),_0x22d3e2=_0x511d67(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x13076c,0x4,_0x10c65b[0x24]),_0x123571=_0x511d67(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x17954c,0xb,_0x10c65b[0x25]),_0x468aa2=_0x511d67(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x153912,0x10,_0x10c65b[0x26]),_0x49529f=_0x511d67(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x30dd73,0x17,_0x10c65b[0x27]),_0x22d3e2=_0x511d67(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x569902,0x4,_0x10c65b[0x28]),_0x123571=_0x511d67(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0xdfd9f1,0xb,_0x10c65b[0x29]),_0x468aa2=_0x511d67(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x1ae744,0x10,_0x10c65b[0x2a]),_0x49529f=_0x511d67(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x101f2d,0x17,_0x10c65b[0x2b]),_0x22d3e2=_0x511d67(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x19259a,0x4,_0x10c65b[0x2c]),_0x123571=_0x511d67(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x3871c1,0xb,_0x10c65b[0x2d]),_0x468aa2=_0x511d67(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5f3de4,0x10,_0x10c65b[0x2e]),_0x49529f=_0x511d67(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x5c50d0,0x17,_0x10c65b[0x2f]),_0x22d3e2=_0x4a7b8d(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0xdfd9f1,0x6,_0x10c65b[0x30]),_0x123571=_0x4a7b8d(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x153912,0xa,_0x10c65b[0x31]),_0x468aa2=_0x4a7b8d(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5be3f9,0xf,_0x10c65b[0x32]),_0x49529f=_0x4a7b8d(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x4b7097,0x15,_0x10c65b[0x33]),_0x22d3e2=_0x4a7b8d(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x3871c1,0x6,_0x10c65b[0x34]),_0x123571=_0x4a7b8d(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x1ae744,0xa,_0x10c65b[0x35]),_0x468aa2=_0x4a7b8d(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x30dd73,0xf,_0x10c65b[0x36]),_0x49529f=_0x4a7b8d(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x13076c,0x15,_0x10c65b[0x37]),_0x22d3e2=_0x4a7b8d(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x33e54d,0x6,_0x10c65b[0x38]),_0x123571=_0x4a7b8d(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x5f3de4,0xa,_0x10c65b[0x39]),_0x468aa2=_0x4a7b8d(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x101f2d,0xf,_0x10c65b[0x3a]),_0x49529f=_0x4a7b8d(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x569902,0x15,_0x10c65b[0x3b]),_0x22d3e2=_0x4a7b8d(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x17954c,0x6,_0x10c65b[0x3c]),_0x123571=_0x4a7b8d(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x59346d,0xa,_0x10c65b[0x3d]),_0x468aa2=_0x4a7b8d(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5c50d0,0xf,_0x10c65b[0x3e]),_0x49529f=_0x4a7b8d(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x19259a,0x15,_0x10c65b[0x3f]),_0x2f2e2d[0x0]=_0x2f2e2d[0x0]+_0x22d3e2|0x0,_0x2f2e2d[0x1]=_0x2f2e2d[0x1]+_0x49529f|0x0,_0x2f2e2d[0x2]=_0x2f2e2d[0x2]+_0x468aa2|0x0,_0x2f2e2d[0x3]=_0x2f2e2d[0x3]+_0x123571|0x0;},'_doFinalize':function(){var _0x3b0c04=_0x5b31ff,_0x49fd78=this['_data'],_0x333da7=_0x49fd78[_0x3b0c04(0x45a)],_0x236bfd=this[_0x3b0c04(0x499)]*0x8,_0x418e5d=_0x49fd78[_0x3b0c04(0x256)]*0x8;_0x333da7[_0x418e5d>>>0x5]|=0x80<<0x18-_0x418e5d%0x20;var _0x5c680b=_0x2024d4[_0x3b0c04(0x37d)](_0x236bfd/0x100000000),_0x4e651c=_0x236bfd;_0x333da7[(_0x418e5d+0x40>>>0x9<<0x4)+0xf]=(_0x5c680b<<0x8|_0x5c680b>>>0x18)&0xff00ff|(_0x5c680b<<0x18|_0x5c680b>>>0x8)&0xff00ff00,_0x333da7[(_0x418e5d+0x40>>>0x9<<0x4)+0xe]=(_0x4e651c<<0x8|_0x4e651c>>>0x18)&0xff00ff|(_0x4e651c<<0x18|_0x4e651c>>>0x8)&0xff00ff00,_0x49fd78[_0x3b0c04(0x256)]=(_0x333da7[_0x3b0c04(0x2be)]+0x1)*0x4,this[_0x3b0c04(0x3f8)]();for(var _0xb39f3=this[_0x3b0c04(0x451)],_0x141d8=_0xb39f3[_0x3b0c04(0x45a)],_0x53c49a=0x0;_0x53c49a<0x4;_0x53c49a++){var _0x3d71c6=_0x141d8[_0x53c49a];_0x141d8[_0x53c49a]=(_0x3d71c6<<0x8|_0x3d71c6>>>0x18)&0xff00ff|(_0x3d71c6<<0x18|_0x3d71c6>>>0x8)&0xff00ff00;}return _0xb39f3;},'clone':function(){var _0x5038f8=_0x5b31ff,_0x55c9d7=_0x1b06df[_0x5038f8(0x236)]['call'](this);return _0x55c9d7[_0x5038f8(0x451)]=this[_0x5038f8(0x451)]['clone'](),_0x55c9d7;}});function _0x326b6f(_0x1fffeb,_0x49909d,_0x1fa6f6,_0x3b906c,_0x3ebe17,_0x45d955,_0x3adabd){var _0x432962=_0x1fffeb+(_0x49909d&_0x1fa6f6|~_0x49909d&_0x3b906c)+_0x3ebe17+_0x3adabd;return(_0x432962<<_0x45d955|_0x432962>>>0x20-_0x45d955)+_0x49909d;}function _0x4ef564(_0x4b74bb,_0x9def25,_0x22de7c,_0x3313f9,_0x36eac1,_0x462653,_0x4688cc){var _0x50fb08=_0x4b74bb+(_0x9def25&_0x3313f9|_0x22de7c&~_0x3313f9)+_0x36eac1+_0x4688cc;return(_0x50fb08<<_0x462653|_0x50fb08>>>0x20-_0x462653)+_0x9def25;}function _0x511d67(_0x2d6512,_0x480113,_0x198974,_0x7d13f5,_0x27aecf,_0x56aae5,_0x516850){var _0x238cff=_0x2d6512+(_0x480113^_0x198974^_0x7d13f5)+_0x27aecf+_0x516850;return(_0x238cff<<_0x56aae5|_0x238cff>>>0x20-_0x56aae5)+_0x480113;}function _0x4a7b8d(_0x534b79,_0x1ee7ae,_0x3971a1,_0x381755,_0x3b929b,_0x3999e2,_0x4a663a){var _0x543020=_0x534b79+(_0x3971a1^(_0x1ee7ae|~_0x381755))+_0x3b929b+_0x4a663a;return(_0x543020<<_0x3999e2|_0x543020>>>0x20-_0x3999e2)+_0x1ee7ae;}_0x218f00[_0x5b31ff(0x2a7)]=_0x1b06df[_0x5b31ff(0x1ff)](_0x17a1eb),_0x218f00[_0x5b31ff(0x392)]=_0x1b06df[_0x5b31ff(0x337)](_0x17a1eb);}(Math),_0x1a12c3[_0x1d3769(0x2a7)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x3bcbc5(0x25a)],Jt;function un(){var _0x5efd54=_0x3bcbc5;return Jt||(Jt=0x1,function(_0x36f85a,_0x5ebf94){(function(_0xb658d3,_0x14f9c7){_0x36f85a['exports']=_0x14f9c7(ie());}(ln,function(_0x3f7ba5){return(function(){var _0x177409=_0x1928,_0x5f04f8=_0x3f7ba5,_0x30198d=_0x5f04f8[_0x177409(0x22c)],_0x5df251=_0x30198d['WordArray'],_0x5bb8cb=_0x30198d[_0x177409(0x23e)],_0x32fbac=_0x5f04f8[_0x177409(0x20d)],_0x2d3f7e=[],_0x2da769=_0x32fbac[_0x177409(0x425)]=_0x5bb8cb[_0x177409(0x375)]({'_doReset':function(){var _0x1e2068=_0x177409;this['_hash']=new _0x5df251[(_0x1e2068(0x38c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5e3f25,_0x2bae79){var _0x1354e6=_0x177409;for(var _0x4e7cec=this[_0x1354e6(0x451)][_0x1354e6(0x45a)],_0x4868c9=_0x4e7cec[0x0],_0x2d5cde=_0x4e7cec[0x1],_0x4e1a63=_0x4e7cec[0x2],_0x331936=_0x4e7cec[0x3],_0x12c51c=_0x4e7cec[0x4],_0x59b7ac=0x0;_0x59b7ac<0x50;_0x59b7ac++){if(_0x59b7ac<0x10)_0x2d3f7e[_0x59b7ac]=_0x5e3f25[_0x2bae79+_0x59b7ac]|0x0;else{var _0x5ce6fa=_0x2d3f7e[_0x59b7ac-0x3]^_0x2d3f7e[_0x59b7ac-0x8]^_0x2d3f7e[_0x59b7ac-0xe]^_0x2d3f7e[_0x59b7ac-0x10];_0x2d3f7e[_0x59b7ac]=_0x5ce6fa<<0x1|_0x5ce6fa>>>0x1f;}var _0x1f6ecb=(_0x4868c9<<0x5|_0x4868c9>>>0x1b)+_0x12c51c+_0x2d3f7e[_0x59b7ac];_0x59b7ac<0x14?_0x1f6ecb+=(_0x2d5cde&_0x4e1a63|~_0x2d5cde&_0x331936)+0x5a827999:_0x59b7ac<0x28?_0x1f6ecb+=(_0x2d5cde^_0x4e1a63^_0x331936)+0x6ed9eba1:_0x59b7ac<0x3c?_0x1f6ecb+=(_0x2d5cde&_0x4e1a63|_0x2d5cde&_0x331936|_0x4e1a63&_0x331936)-0x70e44324:_0x1f6ecb+=(_0x2d5cde^_0x4e1a63^_0x331936)-0x359d3e2a,_0x12c51c=_0x331936,_0x331936=_0x4e1a63,_0x4e1a63=_0x2d5cde<<0x1e|_0x2d5cde>>>0x2,_0x2d5cde=_0x4868c9,_0x4868c9=_0x1f6ecb;}_0x4e7cec[0x0]=_0x4e7cec[0x0]+_0x4868c9|0x0,_0x4e7cec[0x1]=_0x4e7cec[0x1]+_0x2d5cde|0x0,_0x4e7cec[0x2]=_0x4e7cec[0x2]+_0x4e1a63|0x0,_0x4e7cec[0x3]=_0x4e7cec[0x3]+_0x331936|0x0,_0x4e7cec[0x4]=_0x4e7cec[0x4]+_0x12c51c|0x0;},'_doFinalize':function(){var _0xff24f4=_0x177409,_0xcfe8e4=this[_0xff24f4(0x27e)],_0x5352a7=_0xcfe8e4['words'],_0x43f0ad=this['_nDataBytes']*0x8,_0x4ff77f=_0xcfe8e4[_0xff24f4(0x256)]*0x8;return _0x5352a7[_0x4ff77f>>>0x5]|=0x80<<0x18-_0x4ff77f%0x20,_0x5352a7[(_0x4ff77f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x43f0ad/0x100000000),_0x5352a7[(_0x4ff77f+0x40>>>0x9<<0x4)+0xf]=_0x43f0ad,_0xcfe8e4['sigBytes']=_0x5352a7['length']*0x4,this[_0xff24f4(0x3f8)](),this['_hash'];},'clone':function(){var _0x27a394=_0x177409,_0x4d785a=_0x5bb8cb[_0x27a394(0x236)][_0x27a394(0x41d)](this);return _0x4d785a[_0x27a394(0x451)]=this[_0x27a394(0x451)][_0x27a394(0x236)](),_0x4d785a;}});_0x5f04f8[_0x177409(0x425)]=_0x5bb8cb[_0x177409(0x1ff)](_0x2da769),_0x5f04f8[_0x177409(0x2a6)]=_0x5bb8cb[_0x177409(0x337)](_0x2da769);}()),_0x3f7ba5['SHA1'];}));}(qe)),qe[_0x5efd54(0x25a)];}var ze={'exports':{}},dn=ze[_0x3bcbc5(0x25a)],Xt;function fn(){var _0x46e30b=_0x3bcbc5;return Xt||(Xt=0x1,function(_0xfc3322,_0x52458a){(function(_0x5ec180,_0x309f87){_0xfc3322['exports']=_0x309f87(ie());}(dn,function(_0x311a9b){(function(){var _0x33d71f=_0x1928,_0x346093=_0x311a9b,_0x3b1402=_0x346093[_0x33d71f(0x22c)],_0x4173b2=_0x3b1402['Base'],_0x404fae=_0x346093['enc'],_0x5cdb7c=_0x404fae[_0x33d71f(0x424)],_0x20a5c1=_0x346093[_0x33d71f(0x20d)];_0x20a5c1[_0x33d71f(0x438)]=_0x4173b2['extend']({'init':function(_0x221926,_0x3b99b2){var _0x13b700=_0x33d71f;_0x221926=this[_0x13b700(0x262)]=new _0x221926[(_0x13b700(0x38c))](),typeof _0x3b99b2==_0x13b700(0x2bd)&&(_0x3b99b2=_0x5cdb7c['parse'](_0x3b99b2));var _0x12a620=_0x221926[_0x13b700(0x2d2)],_0x4d461d=_0x12a620*0x4;_0x3b99b2['sigBytes']>_0x4d461d&&(_0x3b99b2=_0x221926[_0x13b700(0x475)](_0x3b99b2)),_0x3b99b2[_0x13b700(0x316)]();for(var _0x1f7d1b=this[_0x13b700(0x274)]=_0x3b99b2[_0x13b700(0x236)](),_0x87501e=this[_0x13b700(0x27b)]=_0x3b99b2[_0x13b700(0x236)](),_0x591110=_0x1f7d1b[_0x13b700(0x45a)],_0x1a683f=_0x87501e[_0x13b700(0x45a)],_0x50c335=0x0;_0x50c335<_0x12a620;_0x50c335++)_0x591110[_0x50c335]^=0x5c5c5c5c,_0x1a683f[_0x50c335]^=0x36363636;_0x1f7d1b[_0x13b700(0x256)]=_0x87501e['sigBytes']=_0x4d461d,this[_0x13b700(0x46f)]();},'reset':function(){var _0x5825db=_0x33d71f,_0x1a6d1a=this[_0x5825db(0x262)];_0x1a6d1a[_0x5825db(0x46f)](),_0x1a6d1a[_0x5825db(0x2a0)](this[_0x5825db(0x27b)]);},'update':function(_0x36a9ab){var _0x5c8670=_0x33d71f;return this['_hasher'][_0x5c8670(0x2a0)](_0x36a9ab),this;},'finalize':function(_0x59c3b1){var _0x3d9dd5=_0x33d71f,_0x5d7565=this['_hasher'],_0x53aef2=_0x5d7565['finalize'](_0x59c3b1);_0x5d7565[_0x3d9dd5(0x46f)]();var _0x14f8da=_0x5d7565[_0x3d9dd5(0x475)](this[_0x3d9dd5(0x274)][_0x3d9dd5(0x236)]()[_0x3d9dd5(0x37c)](_0x53aef2));return _0x14f8da;}});}());}));}(ze)),ze[_0x46e30b(0x25a)];}var vn=Ke[_0x3bcbc5(0x25a)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x4dcfef,_0x511c0e){(function(_0x28f742,_0x54cacb,_0x5367c8){var _0xce8a83=_0x1928;_0x4dcfef[_0xce8a83(0x25a)]=_0x54cacb(ie(),un(),fn());}(vn,function(_0x3440ee){var _0x4fa422=_0x1928;return(function(){var _0x5842c3=_0x1928,_0x335a88=_0x3440ee,_0x83c375=_0x335a88[_0x5842c3(0x22c)],_0x2c32ef=_0x83c375[_0x5842c3(0x36d)],_0x2cfc88=_0x83c375[_0x5842c3(0x3e2)],_0x108f23=_0x335a88[_0x5842c3(0x20d)],_0x27c43b=_0x108f23[_0x5842c3(0x2a7)],_0x300b75=_0x108f23[_0x5842c3(0x2e5)]=_0x2c32ef['extend']({'cfg':_0x2c32ef[_0x5842c3(0x375)]({'keySize':0x80/0x20,'hasher':_0x27c43b,'iterations':0x1}),'init':function(_0x3bdf8f){var _0x323b5a=_0x5842c3;this[_0x323b5a(0x345)]=this[_0x323b5a(0x345)][_0x323b5a(0x375)](_0x3bdf8f);},'compute':function(_0xacf47b,_0x41bcdd){var _0x20d48a=_0x5842c3;for(var _0x150614,_0x33d534=this[_0x20d48a(0x345)],_0x22be42=_0x33d534[_0x20d48a(0x34f)][_0x20d48a(0x277)](),_0x52a02d=_0x2cfc88[_0x20d48a(0x277)](),_0x5e3e72=_0x52a02d[_0x20d48a(0x45a)],_0x18a13a=_0x33d534[_0x20d48a(0x2dc)],_0x4cb43a=_0x33d534[_0x20d48a(0x466)];_0x5e3e72[_0x20d48a(0x2be)]<_0x18a13a;){_0x150614&&_0x22be42[_0x20d48a(0x2a0)](_0x150614),_0x150614=_0x22be42[_0x20d48a(0x2a0)](_0xacf47b)[_0x20d48a(0x475)](_0x41bcdd),_0x22be42['reset']();for(var _0x59863c=0x1;_0x59863c<_0x4cb43a;_0x59863c++)_0x150614=_0x22be42[_0x20d48a(0x475)](_0x150614),_0x22be42[_0x20d48a(0x46f)]();_0x52a02d[_0x20d48a(0x37c)](_0x150614);}return _0x52a02d[_0x20d48a(0x256)]=_0x18a13a*0x4,_0x52a02d;}});_0x335a88[_0x5842c3(0x2e5)]=function(_0x459eea,_0xc672f5,_0xf9b85d){var _0x48230c=_0x5842c3;return _0x300b75[_0x48230c(0x277)](_0xf9b85d)['compute'](_0x459eea,_0xc672f5);};}()),_0x3440ee[_0x4fa422(0x2e5)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},pn=Je[_0x3bcbc5(0x25a)],Qt;function Ni(){var _0x1c91b5=_0x3bcbc5;return Qt||(Qt=0x1,function(_0x2c839e,_0x49bd74){(function(_0x28762f,_0x10a56e,_0x5bba2f){var _0x37b3f9=_0x1928;_0x2c839e[_0x37b3f9(0x25a)]=_0x10a56e(ie(),Ci());}(pn,function(_0x35c9e4){var _0x4761d5=_0x1928;_0x35c9e4[_0x4761d5(0x22c)]['Cipher']||function(_0x108ddd){var _0x4fcc1c=_0x4761d5,_0x1340f3=_0x35c9e4,_0x3bcc53=_0x1340f3[_0x4fcc1c(0x22c)],_0x3174a3=_0x3bcc53[_0x4fcc1c(0x36d)],_0x372c00=_0x3bcc53[_0x4fcc1c(0x3e2)],_0x5004b1=_0x3bcc53[_0x4fcc1c(0x1be)],_0x18e136=_0x1340f3[_0x4fcc1c(0x20e)];_0x18e136[_0x4fcc1c(0x424)];var _0x5757be=_0x18e136[_0x4fcc1c(0x27d)],_0x25860e=_0x1340f3[_0x4fcc1c(0x20d)],_0x35c7c9=_0x25860e[_0x4fcc1c(0x2e5)],_0x3caf2d=_0x3bcc53['Cipher']=_0x5004b1[_0x4fcc1c(0x375)]({'cfg':_0x3174a3[_0x4fcc1c(0x375)](),'createEncryptor':function(_0x250be2,_0x419df4){var _0x46bc8d=_0x4fcc1c;return this[_0x46bc8d(0x277)](this[_0x46bc8d(0x1e7)],_0x250be2,_0x419df4);},'createDecryptor':function(_0x217bb8,_0x447c58){var _0x8301b7=_0x4fcc1c;return this[_0x8301b7(0x277)](this[_0x8301b7(0x483)],_0x217bb8,_0x447c58);},'init':function(_0x47ef94,_0x56d628,_0x41ae0a){var _0x1335d9=_0x4fcc1c;this[_0x1335d9(0x345)]=this[_0x1335d9(0x345)][_0x1335d9(0x375)](_0x41ae0a),this[_0x1335d9(0x291)]=_0x47ef94,this[_0x1335d9(0x35a)]=_0x56d628,this[_0x1335d9(0x46f)]();},'reset':function(){var _0x3c9a14=_0x4fcc1c;_0x5004b1[_0x3c9a14(0x46f)]['call'](this),this[_0x3c9a14(0x469)]();},'process':function(_0x1e865f){var _0x313fd8=_0x4fcc1c;return this['_append'](_0x1e865f),this[_0x313fd8(0x3f8)]();},'finalize':function(_0x1aaf34){var _0x30fe1a=_0x4fcc1c;_0x1aaf34&&this[_0x30fe1a(0x22b)](_0x1aaf34);var _0x32967e=this[_0x30fe1a(0x1d8)]();return _0x32967e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x17ecfe(_0x384173){var _0x27fd32=_0x1928;return typeof _0x384173==_0x27fd32(0x2bd)?_0x38783c:_0x17376b;}return function(_0x3a9e77){return{'encrypt':function(_0x2569ed,_0x3b0260,_0x55836f){var _0x2d1004=_0x1928;return _0x17ecfe(_0x3b0260)[_0x2d1004(0x1f0)](_0x3a9e77,_0x2569ed,_0x3b0260,_0x55836f);},'decrypt':function(_0x45f45a,_0xb4b0e3,_0x52e93e){return _0x17ecfe(_0xb4b0e3)['decrypt'](_0x3a9e77,_0x45f45a,_0xb4b0e3,_0x52e93e);}};};}())});_0x3bcc53[_0x4fcc1c(0x2c8)]=_0x3caf2d['extend']({'_doFinalize':function(){var _0x346fa5=_0x4fcc1c,_0x3c1f6b=this[_0x346fa5(0x3f8)](!0x0);return _0x3c1f6b;},'blockSize':0x1});var _0x3e3ab7=_0x1340f3[_0x4fcc1c(0x212)]={},_0x1b3f17=_0x3bcc53[_0x4fcc1c(0x312)]=_0x3174a3[_0x4fcc1c(0x375)]({'createEncryptor':function(_0x288dd0,_0x28b36c){var _0x4c308d=_0x4fcc1c;return this['Encryptor'][_0x4c308d(0x277)](_0x288dd0,_0x28b36c);},'createDecryptor':function(_0x57061a,_0x4304a4){var _0x4146c9=_0x4fcc1c;return this['Decryptor'][_0x4146c9(0x277)](_0x57061a,_0x4304a4);},'init':function(_0x129a2d,_0x55ce68){var _0x1bbb7b=_0x4fcc1c;this[_0x1bbb7b(0x270)]=_0x129a2d,this['_iv']=_0x55ce68;}}),_0x1f983e=_0x3e3ab7[_0x4fcc1c(0x23c)]=(function(){var _0x2a195e=_0x4fcc1c,_0x263cc2=_0x1b3f17['extend']();_0x263cc2['Encryptor']=_0x263cc2['extend']({'processBlock':function(_0x34dcad,_0x58f4c9){var _0x448c61=_0x1928,_0x3602a0=this[_0x448c61(0x270)],_0x46ebe9=_0x3602a0['blockSize'];_0x486af6['call'](this,_0x34dcad,_0x58f4c9,_0x46ebe9),_0x3602a0[_0x448c61(0x308)](_0x34dcad,_0x58f4c9),this[_0x448c61(0x445)]=_0x34dcad[_0x448c61(0x1e9)](_0x58f4c9,_0x58f4c9+_0x46ebe9);}}),_0x263cc2['Decryptor']=_0x263cc2[_0x2a195e(0x375)]({'processBlock':function(_0x380a08,_0x4eda7e){var _0x342892=_0x2a195e,_0x3be0fc=this[_0x342892(0x270)],_0x16e56a=_0x3be0fc[_0x342892(0x2d2)],_0x5aa351=_0x380a08[_0x342892(0x1e9)](_0x4eda7e,_0x4eda7e+_0x16e56a);_0x3be0fc[_0x342892(0x1ca)](_0x380a08,_0x4eda7e),_0x486af6[_0x342892(0x41d)](this,_0x380a08,_0x4eda7e,_0x16e56a),this[_0x342892(0x445)]=_0x5aa351;}});function _0x486af6(_0x1e2d52,_0x273911,_0x4e2904){var _0x35cef4=_0x2a195e,_0x56a28f,_0x43492f=this[_0x35cef4(0x47a)];_0x43492f?(_0x56a28f=_0x43492f,this[_0x35cef4(0x47a)]=_0x108ddd):_0x56a28f=this[_0x35cef4(0x445)];for(var _0x55c5a2=0x0;_0x55c5a2<_0x4e2904;_0x55c5a2++)_0x1e2d52[_0x273911+_0x55c5a2]^=_0x56a28f[_0x55c5a2];}return _0x263cc2;}()),_0x4eeca0=_0x1340f3[_0x4fcc1c(0x3ac)]={},_0xd90324=_0x4eeca0['Pkcs7']={'pad':function(_0x19f264,_0x348394){var _0x4c9372=_0x4fcc1c;for(var _0x236b08=_0x348394*0x4,_0x493159=_0x236b08-_0x19f264[_0x4c9372(0x256)]%_0x236b08,_0x32b776=_0x493159<<0x18|_0x493159<<0x10|_0x493159<<0x8|_0x493159,_0x6508d0=[],_0x4cbc1f=0x0;_0x4cbc1f<_0x493159;_0x4cbc1f+=0x4)_0x6508d0['push'](_0x32b776);var _0x38ec97=_0x372c00[_0x4c9372(0x277)](_0x6508d0,_0x493159);_0x19f264[_0x4c9372(0x37c)](_0x38ec97);},'unpad':function(_0x404476){var _0x45e03d=_0x4fcc1c,_0x3a3f13=_0x404476[_0x45e03d(0x45a)][_0x404476[_0x45e03d(0x256)]-0x1>>>0x2]&0xff;_0x404476[_0x45e03d(0x256)]-=_0x3a3f13;}};_0x3bcc53['BlockCipher']=_0x3caf2d['extend']({'cfg':_0x3caf2d[_0x4fcc1c(0x345)][_0x4fcc1c(0x375)]({'mode':_0x1f983e,'padding':_0xd90324}),'reset':function(){var _0x57e4d7=_0x4fcc1c,_0x57b970;_0x3caf2d[_0x57e4d7(0x46f)][_0x57e4d7(0x41d)](this);var _0x1e3b50=this[_0x57e4d7(0x345)],_0x101f04=_0x1e3b50['iv'],_0x4e8692=_0x1e3b50[_0x57e4d7(0x212)];this['_xformMode']==this[_0x57e4d7(0x1e7)]?_0x57b970=_0x4e8692[_0x57e4d7(0x21b)]:(_0x57b970=_0x4e8692[_0x57e4d7(0x372)],this[_0x57e4d7(0x2bf)]=0x1),this[_0x57e4d7(0x202)]&&this[_0x57e4d7(0x202)][_0x57e4d7(0x3c8)]==_0x57b970?this[_0x57e4d7(0x202)][_0x57e4d7(0x38c)](this,_0x101f04&&_0x101f04[_0x57e4d7(0x45a)]):(this[_0x57e4d7(0x202)]=_0x57b970['call'](_0x4e8692,this,_0x101f04&&_0x101f04[_0x57e4d7(0x45a)]),this[_0x57e4d7(0x202)][_0x57e4d7(0x3c8)]=_0x57b970);},'_doProcessBlock':function(_0x8cba56,_0x169133){var _0x310857=_0x4fcc1c;this[_0x310857(0x202)][_0x310857(0x38d)](_0x8cba56,_0x169133);},'_doFinalize':function(){var _0x5c9fbd=_0x4fcc1c,_0x44fa91,_0x5c1fee=this[_0x5c9fbd(0x345)][_0x5c9fbd(0x2db)];return this[_0x5c9fbd(0x291)]==this[_0x5c9fbd(0x1e7)]?(_0x5c1fee[_0x5c9fbd(0x3ac)](this[_0x5c9fbd(0x27e)],this['blockSize']),_0x44fa91=this[_0x5c9fbd(0x3f8)](!0x0)):(_0x44fa91=this[_0x5c9fbd(0x3f8)](!0x0),_0x5c1fee['unpad'](_0x44fa91)),_0x44fa91;},'blockSize':0x80/0x20});var _0x11478a=_0x3bcc53[_0x4fcc1c(0x22f)]=_0x3174a3[_0x4fcc1c(0x375)]({'init':function(_0x385279){var _0xf497d0=_0x4fcc1c;this[_0xf497d0(0x250)](_0x385279);},'toString':function(_0x355f98){var _0x32f3cf=_0x4fcc1c;return(_0x355f98||this[_0x32f3cf(0x2b2)])['stringify'](this);}}),_0x410ec5=_0x1340f3[_0x4fcc1c(0x2a9)]={},_0x29c31f=_0x410ec5['OpenSSL']={'stringify':function(_0x53fa53){var _0x37b0ab=_0x4fcc1c,_0x4e5a4c,_0x391b6a=_0x53fa53[_0x37b0ab(0x415)],_0x3a3c0d=_0x53fa53[_0x37b0ab(0x2b9)];return _0x3a3c0d?_0x4e5a4c=_0x372c00[_0x37b0ab(0x277)]([0x53616c74,0x65645f5f])['concat'](_0x3a3c0d)[_0x37b0ab(0x37c)](_0x391b6a):_0x4e5a4c=_0x391b6a,_0x4e5a4c[_0x37b0ab(0x28b)](_0x5757be);},'parse':function(_0x2a9893){var _0x1b9cf8=_0x4fcc1c,_0x4f9743,_0x554a80=_0x5757be[_0x1b9cf8(0x1fc)](_0x2a9893),_0x221936=_0x554a80[_0x1b9cf8(0x45a)];return _0x221936[0x0]==0x53616c74&&_0x221936[0x1]==0x65645f5f&&(_0x4f9743=_0x372c00[_0x1b9cf8(0x277)](_0x221936[_0x1b9cf8(0x1e9)](0x2,0x4)),_0x221936[_0x1b9cf8(0x1f8)](0x0,0x4),_0x554a80[_0x1b9cf8(0x256)]-=0x10),_0x11478a[_0x1b9cf8(0x277)]({'ciphertext':_0x554a80,'salt':_0x4f9743});}},_0x17376b=_0x3bcc53['SerializableCipher']=_0x3174a3[_0x4fcc1c(0x375)]({'cfg':_0x3174a3[_0x4fcc1c(0x375)]({'format':_0x29c31f}),'encrypt':function(_0x2229d5,_0x26f6a4,_0x5de45a,_0x1ca5e1){var _0x576e0a=_0x4fcc1c;_0x1ca5e1=this['cfg'][_0x576e0a(0x375)](_0x1ca5e1);var _0x1c8d5f=_0x2229d5[_0x576e0a(0x21b)](_0x5de45a,_0x1ca5e1),_0x4891f0=_0x1c8d5f[_0x576e0a(0x475)](_0x26f6a4),_0x15aebe=_0x1c8d5f[_0x576e0a(0x345)];return _0x11478a[_0x576e0a(0x277)]({'ciphertext':_0x4891f0,'key':_0x5de45a,'iv':_0x15aebe['iv'],'algorithm':_0x2229d5,'mode':_0x15aebe[_0x576e0a(0x212)],'padding':_0x15aebe[_0x576e0a(0x2db)],'blockSize':_0x2229d5[_0x576e0a(0x2d2)],'formatter':_0x1ca5e1[_0x576e0a(0x2a9)]});},'decrypt':function(_0x1cb9f6,_0x4cc9fe,_0x35eb2e,_0x3cb990){var _0x4ffdcd=_0x4fcc1c;_0x3cb990=this[_0x4ffdcd(0x345)][_0x4ffdcd(0x375)](_0x3cb990),_0x4cc9fe=this['_parse'](_0x4cc9fe,_0x3cb990[_0x4ffdcd(0x2a9)]);var _0x211d24=_0x1cb9f6['createDecryptor'](_0x35eb2e,_0x3cb990)[_0x4ffdcd(0x475)](_0x4cc9fe[_0x4ffdcd(0x415)]);return _0x211d24;},'_parse':function(_0xa9fbfe,_0x4e9b01){var _0x3fb653=_0x4fcc1c;return typeof _0xa9fbfe==_0x3fb653(0x2bd)?_0x4e9b01['parse'](_0xa9fbfe,this):_0xa9fbfe;}}),_0x9225b=_0x1340f3[_0x4fcc1c(0x20b)]={},_0x1ae936=_0x9225b['OpenSSL']={'execute':function(_0xc11838,_0xb550ca,_0x3d6893,_0x58aded,_0xf400c7){var _0xff190=_0x4fcc1c;if(_0x58aded||(_0x58aded=_0x372c00[_0xff190(0x4b3)](0x40/0x8)),_0xf400c7)var _0x6f8d3=_0x35c7c9['create']({'keySize':_0xb550ca+_0x3d6893,'hasher':_0xf400c7})['compute'](_0xc11838,_0x58aded);else var _0x6f8d3=_0x35c7c9['create']({'keySize':_0xb550ca+_0x3d6893})[_0xff190(0x399)](_0xc11838,_0x58aded);var _0x25efde=_0x372c00[_0xff190(0x277)](_0x6f8d3[_0xff190(0x45a)][_0xff190(0x1e9)](_0xb550ca),_0x3d6893*0x4);return _0x6f8d3['sigBytes']=_0xb550ca*0x4,_0x11478a[_0xff190(0x277)]({'key':_0x6f8d3,'iv':_0x25efde,'salt':_0x58aded});}},_0x38783c=_0x3bcc53['PasswordBasedCipher']=_0x17376b[_0x4fcc1c(0x375)]({'cfg':_0x17376b[_0x4fcc1c(0x345)]['extend']({'kdf':_0x1ae936}),'encrypt':function(_0x557840,_0x3d6e65,_0x448332,_0x1e5bea){var _0x2dd05c=_0x4fcc1c;_0x1e5bea=this[_0x2dd05c(0x345)][_0x2dd05c(0x375)](_0x1e5bea);var _0x1daee1=_0x1e5bea['kdf'][_0x2dd05c(0x2a8)](_0x448332,_0x557840[_0x2dd05c(0x2dc)],_0x557840[_0x2dd05c(0x360)],_0x1e5bea[_0x2dd05c(0x2b9)],_0x1e5bea[_0x2dd05c(0x34f)]);_0x1e5bea['iv']=_0x1daee1['iv'];var _0x126c8f=_0x17376b[_0x2dd05c(0x1f0)][_0x2dd05c(0x41d)](this,_0x557840,_0x3d6e65,_0x1daee1['key'],_0x1e5bea);return _0x126c8f[_0x2dd05c(0x250)](_0x1daee1),_0x126c8f;},'decrypt':function(_0x5d0476,_0x2d2f3b,_0x11d744,_0x1d268c){var _0x192afa=_0x4fcc1c;_0x1d268c=this[_0x192afa(0x345)][_0x192afa(0x375)](_0x1d268c),_0x2d2f3b=this[_0x192afa(0x1c0)](_0x2d2f3b,_0x1d268c[_0x192afa(0x2a9)]);var _0x43289e=_0x1d268c['kdf']['execute'](_0x11d744,_0x5d0476['keySize'],_0x5d0476['ivSize'],_0x2d2f3b['salt'],_0x1d268c[_0x192afa(0x34f)]);_0x1d268c['iv']=_0x43289e['iv'];var _0x30b7bf=_0x17376b[_0x192afa(0x45c)][_0x192afa(0x41d)](this,_0x5d0476,_0x2d2f3b,_0x43289e['key'],_0x1d268c);return _0x30b7bf;}});}();}));}(Je)),Je[_0x1c91b5(0x25a)];}var En=Ve[_0x3bcbc5(0x25a)],ei;function mn(){var _0xba9b57=_0x3bcbc5;return ei||(ei=0x1,function(_0x3f3773,_0xf3b127){(function(_0x5f2cd0,_0x48581b,_0x3ec90e){var _0x402673=_0x1928;_0x3f3773[_0x402673(0x25a)]=_0x48581b(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x9f51c0){var _0x6518ab=_0x1928;return(function(){var _0x51de77=_0x1928,_0x2c0706=_0x9f51c0,_0x3c56ae=_0x2c0706[_0x51de77(0x22c)],_0x20bba7=_0x3c56ae['BlockCipher'],_0x142a4a=_0x2c0706[_0x51de77(0x20d)],_0x2b7e96=[],_0x1f366d=[],_0x231929=[],_0x6a9123=[],_0x9cddeb=[],_0x338ff0=[],_0x3405ce=[],_0xadc6d5=[],_0x28e5b2=[],_0x1a8e1f=[];(function(){for(var _0x413766=[],_0x48ff33=0x0;_0x48ff33<0x100;_0x48ff33++)_0x48ff33<0x80?_0x413766[_0x48ff33]=_0x48ff33<<0x1:_0x413766[_0x48ff33]=_0x48ff33<<0x1^0x11b;for(var _0x4d53b2=0x0,_0x5a2945=0x0,_0x48ff33=0x0;_0x48ff33<0x100;_0x48ff33++){var _0x917ba7=_0x5a2945^_0x5a2945<<0x1^_0x5a2945<<0x2^_0x5a2945<<0x3^_0x5a2945<<0x4;_0x917ba7=_0x917ba7>>>0x8^_0x917ba7&0xff^0x63,_0x2b7e96[_0x4d53b2]=_0x917ba7,_0x1f366d[_0x917ba7]=_0x4d53b2;var _0x133d91=_0x413766[_0x4d53b2],_0x145651=_0x413766[_0x133d91],_0x55c3fa=_0x413766[_0x145651],_0x37efc8=_0x413766[_0x917ba7]*0x101^_0x917ba7*0x1010100;_0x231929[_0x4d53b2]=_0x37efc8<<0x18|_0x37efc8>>>0x8,_0x6a9123[_0x4d53b2]=_0x37efc8<<0x10|_0x37efc8>>>0x10,_0x9cddeb[_0x4d53b2]=_0x37efc8<<0x8|_0x37efc8>>>0x18,_0x338ff0[_0x4d53b2]=_0x37efc8;var _0x37efc8=_0x55c3fa*0x1010101^_0x145651*0x10001^_0x133d91*0x101^_0x4d53b2*0x1010100;_0x3405ce[_0x917ba7]=_0x37efc8<<0x18|_0x37efc8>>>0x8,_0xadc6d5[_0x917ba7]=_0x37efc8<<0x10|_0x37efc8>>>0x10,_0x28e5b2[_0x917ba7]=_0x37efc8<<0x8|_0x37efc8>>>0x18,_0x1a8e1f[_0x917ba7]=_0x37efc8,_0x4d53b2?(_0x4d53b2=_0x133d91^_0x413766[_0x413766[_0x413766[_0x55c3fa^_0x133d91]]],_0x5a2945^=_0x413766[_0x413766[_0x5a2945]]):_0x4d53b2=_0x5a2945=0x1;}}());var _0x247906=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4137eb=_0x142a4a['AES']=_0x20bba7[_0x51de77(0x375)]({'_doReset':function(){var _0x158790=_0x51de77,_0x7a6c80;if(!(this[_0x158790(0x3bd)]&&this[_0x158790(0x435)]===this[_0x158790(0x35a)])){for(var _0x13c5c5=this[_0x158790(0x435)]=this[_0x158790(0x35a)],_0x27c5fe=_0x13c5c5[_0x158790(0x45a)],_0x1f7754=_0x13c5c5[_0x158790(0x256)]/0x4,_0x51733c=this['_nRounds']=_0x1f7754+0x6,_0x524de3=(_0x51733c+0x1)*0x4,_0x5c5400=this['_keySchedule']=[],_0x3125f6=0x0;_0x3125f6<_0x524de3;_0x3125f6++)_0x3125f6<_0x1f7754?_0x5c5400[_0x3125f6]=_0x27c5fe[_0x3125f6]:(_0x7a6c80=_0x5c5400[_0x3125f6-0x1],_0x3125f6%_0x1f7754?_0x1f7754>0x6&&_0x3125f6%_0x1f7754==0x4&&(_0x7a6c80=_0x2b7e96[_0x7a6c80>>>0x18]<<0x18|_0x2b7e96[_0x7a6c80>>>0x10&0xff]<<0x10|_0x2b7e96[_0x7a6c80>>>0x8&0xff]<<0x8|_0x2b7e96[_0x7a6c80&0xff]):(_0x7a6c80=_0x7a6c80<<0x8|_0x7a6c80>>>0x18,_0x7a6c80=_0x2b7e96[_0x7a6c80>>>0x18]<<0x18|_0x2b7e96[_0x7a6c80>>>0x10&0xff]<<0x10|_0x2b7e96[_0x7a6c80>>>0x8&0xff]<<0x8|_0x2b7e96[_0x7a6c80&0xff],_0x7a6c80^=_0x247906[_0x3125f6/_0x1f7754|0x0]<<0x18),_0x5c5400[_0x3125f6]=_0x5c5400[_0x3125f6-_0x1f7754]^_0x7a6c80);for(var _0x4b8265=this[_0x158790(0x4a6)]=[],_0x1922f7=0x0;_0x1922f7<_0x524de3;_0x1922f7++){var _0x3125f6=_0x524de3-_0x1922f7;if(_0x1922f7%0x4)var _0x7a6c80=_0x5c5400[_0x3125f6];else var _0x7a6c80=_0x5c5400[_0x3125f6-0x4];_0x1922f7<0x4||_0x3125f6<=0x4?_0x4b8265[_0x1922f7]=_0x7a6c80:_0x4b8265[_0x1922f7]=_0x3405ce[_0x2b7e96[_0x7a6c80>>>0x18]]^_0xadc6d5[_0x2b7e96[_0x7a6c80>>>0x10&0xff]]^_0x28e5b2[_0x2b7e96[_0x7a6c80>>>0x8&0xff]]^_0x1a8e1f[_0x2b7e96[_0x7a6c80&0xff]];}}},'encryptBlock':function(_0x2907ac,_0xbb5b26){var _0x5eb286=_0x51de77;this[_0x5eb286(0x32b)](_0x2907ac,_0xbb5b26,this['_keySchedule'],_0x231929,_0x6a9123,_0x9cddeb,_0x338ff0,_0x2b7e96);},'decryptBlock':function(_0x402fbf,_0x262318){var _0x112934=_0x51de77,_0x1a2325=_0x402fbf[_0x262318+0x1];_0x402fbf[_0x262318+0x1]=_0x402fbf[_0x262318+0x3],_0x402fbf[_0x262318+0x3]=_0x1a2325,this[_0x112934(0x32b)](_0x402fbf,_0x262318,this[_0x112934(0x4a6)],_0x3405ce,_0xadc6d5,_0x28e5b2,_0x1a8e1f,_0x1f366d);var _0x1a2325=_0x402fbf[_0x262318+0x1];_0x402fbf[_0x262318+0x1]=_0x402fbf[_0x262318+0x3],_0x402fbf[_0x262318+0x3]=_0x1a2325;},'_doCryptBlock':function(_0x4122be,_0x5066b0,_0x3805a2,_0x97688e,_0x4dfffd,_0x2e6544,_0x1061c7,_0x434d51){for(var _0x3b9484=this['_nRounds'],_0x484ea8=_0x4122be[_0x5066b0]^_0x3805a2[0x0],_0x28f4ab=_0x4122be[_0x5066b0+0x1]^_0x3805a2[0x1],_0x45e4a9=_0x4122be[_0x5066b0+0x2]^_0x3805a2[0x2],_0x32ad59=_0x4122be[_0x5066b0+0x3]^_0x3805a2[0x3],_0x32639f=0x4,_0x255e8c=0x1;_0x255e8c<_0x3b9484;_0x255e8c++){var _0x559f78=_0x97688e[_0x484ea8>>>0x18]^_0x4dfffd[_0x28f4ab>>>0x10&0xff]^_0x2e6544[_0x45e4a9>>>0x8&0xff]^_0x1061c7[_0x32ad59&0xff]^_0x3805a2[_0x32639f++],_0x5be56d=_0x97688e[_0x28f4ab>>>0x18]^_0x4dfffd[_0x45e4a9>>>0x10&0xff]^_0x2e6544[_0x32ad59>>>0x8&0xff]^_0x1061c7[_0x484ea8&0xff]^_0x3805a2[_0x32639f++],_0x1988b2=_0x97688e[_0x45e4a9>>>0x18]^_0x4dfffd[_0x32ad59>>>0x10&0xff]^_0x2e6544[_0x484ea8>>>0x8&0xff]^_0x1061c7[_0x28f4ab&0xff]^_0x3805a2[_0x32639f++],_0x58c45e=_0x97688e[_0x32ad59>>>0x18]^_0x4dfffd[_0x484ea8>>>0x10&0xff]^_0x2e6544[_0x28f4ab>>>0x8&0xff]^_0x1061c7[_0x45e4a9&0xff]^_0x3805a2[_0x32639f++];_0x484ea8=_0x559f78,_0x28f4ab=_0x5be56d,_0x45e4a9=_0x1988b2,_0x32ad59=_0x58c45e;}var _0x559f78=(_0x434d51[_0x484ea8>>>0x18]<<0x18|_0x434d51[_0x28f4ab>>>0x10&0xff]<<0x10|_0x434d51[_0x45e4a9>>>0x8&0xff]<<0x8|_0x434d51[_0x32ad59&0xff])^_0x3805a2[_0x32639f++],_0x5be56d=(_0x434d51[_0x28f4ab>>>0x18]<<0x18|_0x434d51[_0x45e4a9>>>0x10&0xff]<<0x10|_0x434d51[_0x32ad59>>>0x8&0xff]<<0x8|_0x434d51[_0x484ea8&0xff])^_0x3805a2[_0x32639f++],_0x1988b2=(_0x434d51[_0x45e4a9>>>0x18]<<0x18|_0x434d51[_0x32ad59>>>0x10&0xff]<<0x10|_0x434d51[_0x484ea8>>>0x8&0xff]<<0x8|_0x434d51[_0x28f4ab&0xff])^_0x3805a2[_0x32639f++],_0x58c45e=(_0x434d51[_0x32ad59>>>0x18]<<0x18|_0x434d51[_0x484ea8>>>0x10&0xff]<<0x10|_0x434d51[_0x28f4ab>>>0x8&0xff]<<0x8|_0x434d51[_0x45e4a9&0xff])^_0x3805a2[_0x32639f++];_0x4122be[_0x5066b0]=_0x559f78,_0x4122be[_0x5066b0+0x1]=_0x5be56d,_0x4122be[_0x5066b0+0x2]=_0x1988b2,_0x4122be[_0x5066b0+0x3]=_0x58c45e;},'keySize':0x100/0x20});_0x2c0706['AES']=_0x20bba7[_0x51de77(0x1ff)](_0x4137eb);}()),_0x9f51c0[_0x6518ab(0x1f2)];}));}(Ve)),Ve[_0xba9b57(0x25a)];}var In=mn();const Sn=ke(In);var gn=Ri();const ti=ke(gn);var Xe={'exports':{}},Tn=Xe[_0x3bcbc5(0x25a)],ii;function On(){return ii||(ii=0x1,function(_0x30f839,_0x42664b){(function(_0x3949ad,_0x31932c){var _0x5ca385=_0x1928;_0x30f839[_0x5ca385(0x25a)]=_0x31932c(ie());}(Tn,function(_0x26ee29){var _0x4ff1ac=_0x1928;return _0x26ee29[_0x4ff1ac(0x20e)][_0x4ff1ac(0x424)];}));}(Xe)),Xe['exports'];}var Rn=On();const Cn=ke(Rn);var Ze={'exports':{}},Nn=Ze['exports'],si;function bn(){var _0x53fb0a=_0x3bcbc5;return si||(si=0x1,function(_0x2a8c6f,_0x879e0e){(function(_0x4842ea,_0x33c409){var _0x471cdd=_0x1928;_0x2a8c6f[_0x471cdd(0x25a)]=_0x33c409(ie());}(Nn,function(_0x121359){var _0x5159ff=_0x1928;return(function(){var _0x4e8f1=_0x1928;if(typeof ArrayBuffer=='function'){var _0x2469fc=_0x121359,_0x34e634=_0x2469fc['lib'],_0x16aaf7=_0x34e634[_0x4e8f1(0x3e2)],_0x4d875c=_0x16aaf7[_0x4e8f1(0x38c)],_0x46a21a=_0x16aaf7[_0x4e8f1(0x38c)]=function(_0x51bc9d){var _0x77b1ce=_0x4e8f1;if(_0x51bc9d instanceof ArrayBuffer&&(_0x51bc9d=new Uint8Array(_0x51bc9d)),(_0x51bc9d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x51bc9d instanceof Uint8ClampedArray||_0x51bc9d instanceof Int16Array||_0x51bc9d instanceof Uint16Array||_0x51bc9d instanceof Int32Array||_0x51bc9d instanceof Uint32Array||_0x51bc9d instanceof Float32Array||_0x51bc9d instanceof Float64Array)&&(_0x51bc9d=new Uint8Array(_0x51bc9d[_0x77b1ce(0x3d7)],_0x51bc9d[_0x77b1ce(0x294)],_0x51bc9d[_0x77b1ce(0x387)])),_0x51bc9d instanceof Uint8Array){for(var _0x13ff0a=_0x51bc9d[_0x77b1ce(0x387)],_0x236705=[],_0x53512b=0x0;_0x53512b<_0x13ff0a;_0x53512b++)_0x236705[_0x53512b>>>0x2]|=_0x51bc9d[_0x53512b]<<0x18-_0x53512b%0x4*0x8;_0x4d875c[_0x77b1ce(0x41d)](this,_0x236705,_0x13ff0a);}else _0x4d875c[_0x77b1ce(0x3b1)](this,arguments);};_0x46a21a[_0x4e8f1(0x232)]=_0x16aaf7;}}()),_0x121359[_0x5159ff(0x22c)][_0x5159ff(0x3e2)];}));}(Ze)),Ze[_0x53fb0a(0x25a)];}var Dn=bn();function _0x1928(_0x4994ae,_0x93e65f){var _0x536ba1=_0x536b();return _0x1928=function(_0x192823,_0x4fde51){_0x192823=_0x192823-0x1af;var _0x4d7d87=_0x536ba1[_0x192823];return _0x4d7d87;},_0x1928(_0x4994ae,_0x93e65f);}const yn=ke(Dn);var Qe={'exports':{}},Un=Qe['exports'],ni;function An(){return ni||(ni=0x1,function(_0x4bcd9d,_0x5bcfbd){(function(_0x5ea0dd,_0x393db8,_0x4dc0ab){var _0x362da1=_0x1928;_0x4bcd9d[_0x362da1(0x25a)]=_0x393db8(ie(),Ni());}(Un,function(_0x13965a){var _0x4205cf=_0x1928;return _0x13965a[_0x4205cf(0x3ac)][_0x4205cf(0x465)]={'pad':function(){},'unpad':function(){}},_0x13965a[_0x4205cf(0x3ac)][_0x4205cf(0x465)];}));}(Qe)),Qe['exports'];}var Pn=An();const wn=ke(Pn);function Mn(_0x389a8c,_0x3d7640){var _0x4ccc21=_0x3bcbc5;const _0x2d4eba=_0x3d7640-_0x389a8c['length']%_0x3d7640,_0x24506b=String[_0x4ccc21(0x254)](_0x2d4eba)[_0x4ccc21(0x223)](_0x2d4eba);return _0x389a8c+_0x24506b;}function Ln(_0x5d6dfa,_0x1609ee){var _0x3a21c5=_0x3bcbc5;const _0x3c8d39=yn[_0x3a21c5(0x4b3)](0x10),_0x3ee26c=Mn(_0x5d6dfa,0x10),_0x5cd714=Sn[_0x3a21c5(0x1f0)](Cn[_0x3a21c5(0x1fc)](_0x3ee26c),ti[_0x3a21c5(0x1fc)](_0x1609ee),{'iv':_0x3c8d39,'padding':wn});return _0x3c8d39[_0x3a21c5(0x37c)](_0x5cd714['ciphertext'])[_0x3a21c5(0x28b)](ti);}function xn(){var _0x1954ee=_0x3bcbc5;const _0x3cb9f1=_0x597c27()[_0x1954ee(0x43a)];if(_0x3cb9f1){const _0x37a204={'time':Math[_0x1954ee(0x37d)](Date[_0x1954ee(0x3ae)]()/0x3e8),'domain':location[_0x1954ee(0x3cf)]};return Ln(JSON[_0x1954ee(0x2ce)](_0x37a204),_0x3cb9f1);}}var $n=Object[_0x3bcbc5(0x2f1)],kn=(_0x569b41,_0x38314b,_0x30f673,_0x320fad)=>{var _0x336938=_0x3bcbc5;for(var _0x57678a=_0x320fad>0x1?void 0x0:_0x320fad?$n(_0x38314b,_0x30f673):_0x38314b,_0x12bd78=_0x569b41[_0x336938(0x2be)]-0x1,_0x41c5c2;_0x12bd78>=0x0;_0x12bd78--)(_0x41c5c2=_0x569b41[_0x12bd78])&&(_0x57678a=_0x41c5c2(_0x57678a)||_0x57678a);return _0x57678a;},Hn=(_0x33c34a,_0x433542)=>(_0x34e56d,_0x51412d)=>_0x433542(_0x34e56d,_0x51412d,_0x33c34a);let at=class{constructor(_0x30ee51){var _0x27d9f5=_0x3bcbc5;this[_0x27d9f5(0x3ca)]=_0x30ee51,this[_0x27d9f5(0x45b)]();}[_0x3bcbc5(0x45b)](){var _0x2e3682=_0x3bcbc5;this[_0x2e3682(0x3ca)][_0x2e3682(0x2ea)]({'interceptor':(_0x1835ae,_0x352cfc)=>{var _0x1a3fae=_0x2e3682;const _0x4b04ff=_0x1835ae['headers'],_0x2111d8=xn();return _0x2111d8&&_0x4b04ff[_0x1a3fae(0x3cd)]('x-univer-host',_0x2111d8),_0x352cfc(_0x1835ae);}});}};at=kn([Hn(0x0,_0x1b5fe1(_0x4ba195))],at);var Bn=Object[_0x3bcbc5(0x2f1)],Fn=(_0x39a033,_0x2b643f,_0x38330f,_0x3986fd)=>{var _0x37ad6e=_0x3bcbc5;for(var _0x332613=_0x3986fd>0x1?void 0x0:_0x3986fd?Bn(_0x2b643f,_0x38330f):_0x2b643f,_0x204a2d=_0x39a033[_0x37ad6e(0x2be)]-0x1,_0x22fe8e;_0x204a2d>=0x0;_0x204a2d--)(_0x22fe8e=_0x39a033[_0x204a2d])&&(_0x332613=_0x22fe8e(_0x332613)||_0x332613);return _0x332613;},vt=(_0x8c11eb,_0x3811d5)=>(_0x51242d,_0x89a770)=>_0x3811d5(_0x51242d,_0x89a770,_0x8c11eb);let Ot=class extends _0x2e3b72{constructor(_0x221d78,_0x420743,_0x21d300){var _0x228546=_0x3bcbc5;super(),D(this,_0x228546(0x30d),new _0x3dcdfa(null)),D(this,_0x228546(0x1f1),this[_0x228546(0x30d)]['asObservable']()),(this[_0x228546(0x3dc)]=_0x221d78,this[_0x228546(0x265)]=_0x420743,this[_0x228546(0x3c6)]=_0x21d300);}async[_0x3bcbc5(0x1fb)](_0x4769a5,_0x30b47f,_0x283aa3){var _0xedee3e=_0x3bcbc5;this[_0xedee3e(0x30d)][_0xedee3e(0x497)]({'unitId':_0x4769a5,'type':_0x30b47f});let _0x129eb8=null;switch(_0x30b47f){case Q['UNIVER_SHEET']:{_0x129eb8=await this['_snapshotService']['loadSheet'](_0x4769a5,_0x283aa3);break;}case Q[_0xedee3e(0x30a)]:{_0x129eb8=await this[_0xedee3e(0x265)][_0xedee3e(0x29a)](_0x4769a5,_0x283aa3);break;}default:{this[_0xedee3e(0x3dc)]['error']('[DataLoaderService]',_0xedee3e(0x393));break;}}return _0x129eb8;}async['loadUnit'](_0x568fa4,_0x337da4,_0x3050fb){var _0x29b7d6=_0x3bcbc5,_0x1f15eb;this['_unitInfo$']['next']({'unitId':_0x568fa4,'type':_0x337da4,'subUnitId':_0x3050fb});let _0x48117e=0x0;const _0x5a0f04=await((_0x1f15eb=this['_localCacheService'])==null?void 0x0:_0x1f15eb[_0x29b7d6(0x401)](_0x568fa4));return _0x5a0f04&&(_0x5a0f04[_0x29b7d6(0x28d)]||_0x5a0f04[_0x29b7d6(0x226)][_0x29b7d6(0x2be)]!==0x0)&&(_0x48117e=_0x5a0f04['rev']),_0x48117e===0x0&&this[_0x29b7d6(0x3dc)]['debug'](_0x29b7d6(0x2fd),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x29b7d6(0x1fb)](_0x568fa4,_0x337da4,_0x48117e);}};Ot=Fn([vt(0x0,_0xbe786),vt(0x1,_0x1b5fe1(_0x1e673c)),vt(0x2,_0x426e18(J))],Ot);var jn=Object['getOwnPropertyDescriptor'],Vn=(_0x1649be,_0x159e3d,_0x37d15c,_0x4b4208)=>{var _0x38c69b=_0x3bcbc5;for(var _0x1894bd=_0x4b4208>0x1?void 0x0:_0x4b4208?jn(_0x159e3d,_0x37d15c):_0x159e3d,_0x25282c=_0x1649be[_0x38c69b(0x2be)]-0x1,_0x2e9d79;_0x25282c>=0x0;_0x25282c--)(_0x2e9d79=_0x1649be[_0x25282c])&&(_0x1894bd=_0x2e9d79(_0x1894bd)||_0x1894bd);return _0x1894bd;},pt=(_0xd871ac,_0x43a5f5)=>(_0x11f891,_0x5120d8)=>_0x43a5f5(_0x11f891,_0x5120d8,_0xd871ac);const Gn=[_0x3bcbc5(0x3d1),'image/jpeg',_0x3bcbc5(0x2b1),'image/gif','image/bmp'],Wn=0x5*0x400*0x400,Yn=_0x3bcbc5(0x1f6),Kn=_0x3bcbc5(0x36e);let Rt=class{constructor(_0x4d2531,_0x2c0a47,_0x2587b7){var _0x20d988=_0x3bcbc5;D(this,_0x20d988(0x28e),0x0),D(this,_0x20d988(0x41e),new _0x3a544d()),D(this,'change$',this[_0x20d988(0x41e)]),D(this,_0x20d988(0x47f),new Map()),(this[_0x20d988(0x3ca)]=_0x4d2531,this[_0x20d988(0x346)]=_0x2c0a47,this['_univerInstanceService']=_0x2587b7);}[_0x3bcbc5(0x35d)](_0x28ad1f){var _0x20f84b=_0x3bcbc5;this[_0x20f84b(0x28e)]=_0x28ad1f,this[_0x20f84b(0x41e)][_0x20f84b(0x497)](_0x28ad1f);}['getImageSourceCache'](_0x397b67,_0x4dd2d1){var _0x303d76=_0x3bcbc5;if(_0x4dd2d1===_0x2f6ceb[_0x303d76(0x42a)]){const _0x79af8=new Image();return _0x79af8['src']=_0x397b67,_0x79af8;}return this['_imageSourceCache'][_0x303d76(0x448)](_0x397b67);}[_0x3bcbc5(0x1e1)](_0x35d38c,_0x1f4088,_0x13c0b1){var _0x40f46b=_0x3bcbc5;_0x1f4088===_0x2f6ceb['BASE64']||_0x13c0b1==null||this['_imageSourceCache'][_0x40f46b(0x3cd)](_0x35d38c,_0x13c0b1);}async[_0x3bcbc5(0x390)](_0x571ebb){var _0x5ee694=_0x3bcbc5;try{const _0xce28bb=this[_0x5ee694(0x3df)](this[_0x5ee694(0x33d)](),''+_0x571ebb),_0x95bb6c=(await this[_0x5ee694(0x3ca)][_0x5ee694(0x448)](_0xce28bb))[_0x5ee694(0x457)];if(_0x95bb6c[_0x5ee694(0x2dd)]&&_0x95bb6c[_0x5ee694(0x2dd)]['code']===vi['OK']){const _0x3ed8ea=new URL(_0x95bb6c[_0x5ee694(0x23a)],this[_0x5ee694(0x429)]())['toString']();return Promise['resolve'](_0x3ed8ea);}return Promise[_0x5ee694(0x3fe)](_0x95bb6c[_0x5ee694(0x2dd)]);}catch(_0x18f4ad){return Promise[_0x5ee694(0x3fe)](_0x18f4ad);}}async[_0x3bcbc5(0x394)](_0xea4c74){var _0x5c45cd=_0x3bcbc5;let _0x49d4dd='';if(!Gn[_0x5c45cd(0x460)](_0xea4c74[_0x5c45cd(0x2e2)]))return this[_0x5c45cd(0x39c)](),Promise[_0x5c45cd(0x3fe)](new Error(_0x3d7dd9[_0x5c45cd(0x272)]));if(_0xea4c74[_0x5c45cd(0x1c7)]>Wn)return this[_0x5c45cd(0x39c)](),Promise[_0x5c45cd(0x3fe)](new Error(_0x3d7dd9['ERROR_EXCEED_SIZE']));try{const _0x2b2016=new FormData();_0x2b2016[_0x5c45cd(0x426)](_0x5c45cd(0x361),_0xea4c74);const _0x502176=this['_univerInstanceService'][_0x5c45cd(0x2d0)](),_0x314dde=_0x502176==null?void 0x0:_0x502176['getUnitId']();if(!_0x314dde)throw new Error('unitId\x20is\x20not\x20found');const _0x5ef256=this[_0x5c45cd(0x37f)]()+_0x5c45cd(0x205)+_0xea4c74[_0x5c45cd(0x1c7)][_0x5c45cd(0x28b)]()+_0x5c45cd(0x276)+pi[_0x5c45cd(0x2a3)]+'&assign='+encodeURIComponent(_0x314dde),_0x3f75b5={'body':_0x2b2016},_0x40a23b=(await this[_0x5c45cd(0x3ca)][_0x5c45cd(0x218)](_0x5ef256,_0x3f75b5))[_0x5c45cd(0x457)];if(typeof _0x40a23b['FileId']!='string')return this[_0x5c45cd(0x39c)](),Promise[_0x5c45cd(0x3fe)](new Error(_0x3d7dd9[_0x5c45cd(0x2ca)]));_0x49d4dd=_0x40a23b[_0x5c45cd(0x2c4)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3d7dd9[_0x5c45cd(0x2ca)]));}return new Promise((_0x19a268,_0x29297d)=>{var _0x126775=_0x5c45cd;const _0x3e1bae=new FileReader();_0x3e1bae['readAsDataURL'](_0xea4c74),_0x3e1bae[_0x126775(0x32c)]=_0x5abfb7=>{var _0x25055e=_0x126775,_0x5ea451;const _0x220baa=(_0x5ea451=_0x5abfb7[_0x25055e(0x29d)])==null?void 0x0:_0x5ea451[_0x25055e(0x3a0)];if(_0x220baa==null){this[_0x25055e(0x39c)](),_0x29297d(new Error(_0x3d7dd9[_0x25055e(0x2ca)]));return;}const _0x5e47b5=_0x20bbd5(0x6);_0x19a268({'imageId':_0x5e47b5,'imageSourceType':_0x2f6ceb[_0x25055e(0x296)],'source':_0x49d4dd,'base64Cache':_0x220baa,'status':_0x3d7dd9[_0x25055e(0x2bb)]}),this['_decreaseWaiting']();};});}[_0x3bcbc5(0x37f)](){var _0x2bd980=_0x3bcbc5,_0x20c8b2;const _0x3bb37e=this[_0x2bd980(0x346)][_0x2bd980(0x2f6)](K);return(_0x20c8b2=_0x3bb37e==null?void 0x0:_0x3bb37e[_0x2bd980(0x408)])!=null?_0x20c8b2:Yn;}['_getSignURL'](){var _0x42eff5=_0x3bcbc5,_0x1b92f1;const _0x19dde1=this[_0x42eff5(0x346)][_0x42eff5(0x2f6)](K);return(_0x1b92f1=_0x19dde1==null?void 0x0:_0x19dde1[_0x42eff5(0x46d)])!=null?_0x1b92f1:Kn;}[_0x3bcbc5(0x429)](){var _0x486fc8=_0x3bcbc5,_0x5df9b8;const _0x1364ba=this[_0x486fc8(0x346)][_0x486fc8(0x2f6)](K);return(_0x5df9b8=_0x1364ba==null?void 0x0:_0x1364ba['downloadEndpointUrl'])!=null?_0x5df9b8:location[_0x486fc8(0x3b8)];}['_replaceFileID'](_0x532603,_0x4272e8){var _0x62eeb2=_0x3bcbc5;return _0x532603[_0x62eeb2(0x1cb)](_0x62eeb2(0x297),_0x4272e8);}[_0x3bcbc5(0x39c)](){var _0xdd755a=_0x3bcbc5;this[_0xdd755a(0x28e)]-=0x1,this['_change$'][_0xdd755a(0x497)](this[_0xdd755a(0x28e)]);}};Rt=Vn([pt(0x0,_0x1b5fe1(_0x4ba195)),pt(0x1,_0x12469b),pt(0x2,_0x1b5fe1(_0x29bce8))],Rt);var qn=Object[_0x3bcbc5(0x2f1)],zn=(_0x4f5cd8,_0x133bb4,_0x251784,_0x1a5a41)=>{var _0x5274ff=_0x3bcbc5;for(var _0x36a576=_0x1a5a41>0x1?void 0x0:_0x1a5a41?qn(_0x133bb4,_0x251784):_0x133bb4,_0x418d42=_0x4f5cd8[_0x5274ff(0x2be)]-0x1,_0x5a8016;_0x418d42>=0x0;_0x418d42--)(_0x5a8016=_0x4f5cd8[_0x418d42])&&(_0x36a576=_0x5a8016(_0x36a576)||_0x36a576);return _0x36a576;},ri=(_0x4e6b0f,_0x661da2)=>(_0x672095,_0x53b78b)=>_0x661da2(_0x672095,_0x53b78b,_0x4e6b0f);const Jn=_0x3bcbc5(0x3d3);let Ct=class{constructor(_0x276aa4,_0x2f8392){var _0x50cc4e=_0x3bcbc5;this[_0x50cc4e(0x346)]=_0x276aa4,this[_0x50cc4e(0x36a)]=_0x2f8392;}[_0x3bcbc5(0x214)](){var _0x58869d=_0x3bcbc5,_0x35ce91;const _0x9f61d8=this[_0x58869d(0x346)][_0x58869d(0x2f6)](K);return(_0x35ce91=_0x9f61d8==null?void 0x0:_0x9f61d8[_0x58869d(0x480)])!=null?_0x35ce91:Jn;}async['list'](_0x58dba3){var _0x3e417f=_0x3bcbc5;const _0x1de184=this[_0x3e417f(0x214)]()+_0x3e417f(0x2b7);return{'list':[{'title':_0x3e417f(0x283),'mentions':(await this[_0x3e417f(0x36a)][_0x3e417f(0x448)](_0x1de184,{'params':{'objectID':_0x58dba3['unitId'],'unitID':_0x58dba3['unitId']}}))[_0x3e417f(0x457)][_0x3e417f(0x261)]['map'](_0x12816e=>({'objectId':_0x12816e['id'],'name':_0x12816e[_0x3e417f(0x404)][_0x3e417f(0x439)],'metadata':{'icon':_0x12816e[_0x3e417f(0x404)][_0x3e417f(0x219)]},'label':_0x12816e[_0x3e417f(0x404)][_0x3e417f(0x439)],'objectType':_0x56314d[_0x3e417f(0x2b8)]})),'metadata':{},'type':_0x56314d['PERSON']}]};}};Ct=zn([ri(0x0,_0x1b5fe1(_0x12469b)),ri(0x1,_0x1b5fe1(_0x4ba195))],Ct);var Xn=Object[_0x3bcbc5(0x2f1)],Zn=(_0x25be37,_0x29e29c,_0x31a4fd,_0x234066)=>{var _0x56d923=_0x3bcbc5;for(var _0x45ddc3=_0x234066>0x1?void 0x0:_0x234066?Xn(_0x29e29c,_0x31a4fd):_0x29e29c,_0x4f7ab4=_0x25be37[_0x56d923(0x2be)]-0x1,_0x5b81cf;_0x4f7ab4>=0x0;_0x4f7ab4--)(_0x5b81cf=_0x25be37[_0x4f7ab4])&&(_0x45ddc3=_0x5b81cf(_0x45ddc3)||_0x45ddc3);return _0x45ddc3;},Ue=(_0x3841f1,_0x57f212)=>(_0x5238df,_0x7a9d34)=>_0x57f212(_0x5238df,_0x7a9d34,_0x3841f1);let ot=class extends _0x2e3b72{constructor(_0x599cce,_0x4e9b5a,_0x1c7341,_0x3aaf1b,_0x1ebddf){var _0x1ec4da=_0x3bcbc5;super(),this['_injector']=_0x599cce,this[_0x1ec4da(0x31f)]=_0x4e9b5a,this['_permissionService']=_0x1c7341,this[_0x1ec4da(0x40e)]=_0x3aaf1b,this['_collaborationUIEventService']=_0x1ebddf,this[_0x1ec4da(0x40c)](),this[_0x1ec4da(0x49e)]();}[_0x3bcbc5(0x49e)](){var _0x5d674e=_0x3bcbc5;const _0x32795a=async _0x1e3009=>{var _0x5ec27f=_0x1928;(await this['_collaborationSessionService'][_0x5ec27f(0x34c)](_0x1e3009))[_0x5ec27f(0x2b4)][_0x5ec27f(0x29c)](_0x977423(_0x5e78ea=>_0x5e78ea[_0x5ec27f(0x255)]===_0x4c3e36[_0x5ec27f(0x1c4)]),_0x66664e(this[_0x5ec27f(0x443)]))[_0x5ec27f(0x2ff)](_0x3b14a1=>{var _0x499796=_0x5ec27f;const _0x6fe3f5=_0x3b14a1,{reason:_0x1d2845}=_0x6fe3f5[_0x499796(0x31c)];this[_0x499796(0x4ad)]['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x1d2845}),this[_0x499796(0x470)][_0x499796(0x3d0)](new _0x119f04(_0x1e3009)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x1e3009);});};_0x59837f(this['_univerInstanceService'][_0x5d674e(0x1f4)](_0xf6e3e1[_0x5d674e(0x1e2)]),this[_0x5d674e(0x31f)][_0x5d674e(0x1f4)](_0xf6e3e1[_0x5d674e(0x30a)]))[_0x5d674e(0x29c)](_0x2c81e7(_0x264a97=>_0x264a97[_0x5d674e(0x1b3)]()),_0x977423(_0x33ae7f=>!_0x4ed9e1(_0x33ae7f)),_0x66664e(this[_0x5d674e(0x443)]))[_0x5d674e(0x2ff)](_0x516eee=>{_0x32795a(_0x516eee);});}[_0x3bcbc5(0x40c)](){var _0x2c4d92=_0x3bcbc5;const _0xa14c34=async _0x4ef4d6=>{var _0x4ef267=_0x1928;const _0x3a92fe=await this[_0x4ef267(0x40e)]['requireSession'](_0x4ef4d6),_0x3f5d3c=this[_0x4ef267(0x463)][_0x4ef267(0x448)](_0x418697);_0x3a92fe[_0x4ef267(0x2b4)][_0x4ef267(0x29c)](_0x977423(_0x591a87=>_0x591a87[_0x4ef267(0x255)]===_0x4c3e36[_0x4ef267(0x41c)]),_0x66664e(this[_0x4ef267(0x443)]))[_0x4ef267(0x2ff)](_0x298879=>{var _0x397c6b=_0x4ef267;const _0x5e9c5b=_0x298879,{objectId:_0x4a30cb}=_0x5e9c5b[_0x397c6b(0x31c)];_0x4a30cb===_0x4ef4d6?_0x3f5d3c[_0x397c6b(0x1e6)](_0x4ef4d6):_0x3f5d3c[_0x397c6b(0x416)](_0x4ef4d6,_0x4a30cb);});};_0x59837f(this[_0x2c4d92(0x31f)][_0x2c4d92(0x1f4)](_0xf6e3e1['UNIVER_SHEET']))[_0x2c4d92(0x29c)](_0x2c81e7(_0x20b7e8=>_0x20b7e8[_0x2c4d92(0x1b3)]()),_0x977423(_0x349696=>!_0x4ed9e1(_0x349696)),_0x66664e(this[_0x2c4d92(0x443)]))[_0x2c4d92(0x2ff)](_0x551410=>{_0xa14c34(_0x551410);});}};ot=Zn([Ue(0x0,_0x1b5fe1(_0x3f0769)),Ue(0x1,_0x29bce8),Ue(0x2,_0x14e6d6),Ue(0x3,_0x1b5fe1(we)),Ue(0x4,_0x1b5fe1(ve))],ot);var Qn=Object[_0x3bcbc5(0x2f1)],er=(_0x1046a7,_0x11e9ce,_0x426d6f,_0x210fc3)=>{for(var _0x653453=_0x210fc3>0x1?void 0x0:_0x210fc3?Qn(_0x11e9ce,_0x426d6f):_0x11e9ce,_0xbd20a2=_0x1046a7['length']-0x1,_0x581e88;_0xbd20a2>=0x0;_0xbd20a2--)(_0x581e88=_0x1046a7[_0xbd20a2])&&(_0x653453=_0x581e88(_0x653453)||_0x653453);return _0x653453;},ai=(_0x28f370,_0x13302a)=>(_0x405409,_0x1477d5)=>_0x13302a(_0x405409,_0x1477d5,_0x28f370);let Nt=class{constructor(_0x1c2e93,_0x3d15be){var _0x5e1e70=_0x3bcbc5;this[_0x5e1e70(0x346)]=_0x1c2e93,this[_0x5e1e70(0x3ca)]=_0x3d15be;}async[_0x3bcbc5(0x1ba)](_0x2d22fe,_0x4b9f26){var _0x2b19a=_0x3bcbc5,_0x264ad2;const {unitID:_0xccc3f2,type:_0x58ee50,revision:_0x363043=0x0}=_0x4b9f26,_0x50df6a=this[_0x2b19a(0x43c)]()+'/'+_0x58ee50+_0x2b19a(0x1ee)+_0xccc3f2+_0x2b19a(0x1b1)+_0x363043,_0x2da9a5=(await this[_0x2b19a(0x3ca)][_0x2b19a(0x448)](_0x50df6a))[_0x2b19a(0x457)],_0x55f7e7=(_0x264ad2=_0x2da9a5[_0x2b19a(0x2d8)])==null?void 0x0:_0x264ad2[_0x2b19a(0x48e)];if(_0x55f7e7){const _0x1ba10e=_0x55f7e7==null?void 0x0:_0x55f7e7[_0x2b19a(0x1c2)],_0x597a23=_0x4074a6[_0x2b19a(0x418)](_0x3578ee(_0x1ba10e));_0x55f7e7[_0x2b19a(0x1c2)]=_0x597a23,Object['entries'](_0x55f7e7[_0x2b19a(0x278)])[_0x2b19a(0x4a0)](([,_0x1e9f25])=>{var _0x246945=_0x2b19a;const _0x5eeef3=_0x1e9f25[_0x246945(0x1c2)],_0x492a46=_0x4074a6[_0x246945(0x418)](_0x3578ee(_0x5eeef3));_0x1e9f25['originalMeta']=_0x492a46;});}return _0x2da9a5;}async[_0x3bcbc5(0x1f5)](_0xf2f8e7,_0x18416e){var _0x14f87d=_0x3bcbc5;const {unitID:_0x3d0534,type:_0x441352,blockID:_0x6f3454}=_0x18416e,_0x2a3436=this['_getAPIPrefix']()+'/'+_0x441352+_0x14f87d(0x1ee)+_0x3d0534+_0x14f87d(0x245)+_0x6f3454;return(await this[_0x14f87d(0x3ca)][_0x14f87d(0x448)](_0x2a3436))[_0x14f87d(0x457)];}async['getDeserializedSheetBlock'](_0x53f59e,_0x26035a){var _0x2a8dd8=_0x3bcbc5;const {unitID:_0xa0842e,type:_0x3f6066,blockID:_0xf6e520}=_0x26035a,_0x816da8=this[_0x2a8dd8(0x1ef)]()+_0x2a8dd8(0x245)+_0x3f6066+_0x2a8dd8(0x1ee)+_0xa0842e+'/block/'+_0xf6e520;return(await this[_0x2a8dd8(0x3ca)]['get'](_0x816da8))['body'];}async[_0x3bcbc5(0x2ac)](_0x2e649a,_0x192cd4){var _0x5db5e1=_0x3bcbc5;const {unitID:_0x13f184,type:_0x265e11,from:_0x4ba34c,to:_0xe2035d}=_0x192cd4,_0x2f2882=this[_0x5db5e1(0x1ef)]()+'/'+_0x265e11+_0x5db5e1(0x1ee)+_0x13f184+_0x5db5e1(0x305)+_0x4ba34c+'&to='+_0xe2035d;return(await this['_httpService']['get'](_0x2f2882))['body'];}[_0x3bcbc5(0x43c)](){var _0x27820c=_0x3bcbc5,_0x5c5e09;return(_0x5c5e09=this['_configService']['getConfig'](vs))!=null?_0x5c5e09:this[_0x27820c(0x1ef)]();}[_0x3bcbc5(0x1ef)](){var _0x35d943=_0x3bcbc5,_0x38baa7;const _0x453710=this[_0x35d943(0x346)]['getConfig'](K);return(_0x38baa7=_0x453710==null?void 0x0:_0x453710['snapshotServerUrl'])!=null?_0x38baa7:fs;}async[_0x3bcbc5(0x1c8)](_0x3f7cad,_0x286b4c){var _0x3c3dde=_0x3bcbc5;const _0x36b343=_0x3c3dde(0x3da)+_0x286b4c['type']+_0x3c3dde(0x1ee)+_0x286b4c[_0x3c3dde(0x2f2)]+_0x3c3dde(0x498);return(await this['_httpService'][_0x3c3dde(0x448)](_0x36b343,{'params':{'resourceId':JSON['stringify'](_0x286b4c[_0x3c3dde(0x203)])}}))['body'];}[_0x3bcbc5(0x1e3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3bcbc5(0x228)](){var _0x472908=_0x3bcbc5;throw new Error(_0x472908(0x2df));}['saveSheetBlock'](){var _0x5d4601=_0x3bcbc5;throw new Error(_0x5d4601(0x2df));}[_0x3bcbc5(0x2e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3bcbc5(0x235)](){var _0x10bc30=_0x3bcbc5;throw new Error(_0x10bc30(0x2df));}['getLatestCsReqIdBySid'](){var _0x164f46=_0x3bcbc5;throw new Error(_0x164f46(0x2df));}};Nt=er([ai(0x0,_0x12469b),ai(0x1,_0x1b5fe1(_0x4ba195))],Nt);var tr=Object[_0x3bcbc5(0x2f1)],ir=(_0x626dd2,_0x24fe85,_0x4a57db,_0x2e7447)=>{var _0x55ccfc=_0x3bcbc5;for(var _0x46f110=_0x2e7447>0x1?void 0x0:_0x2e7447?tr(_0x24fe85,_0x4a57db):_0x24fe85,_0x4e6d02=_0x626dd2[_0x55ccfc(0x2be)]-0x1,_0x34233b;_0x4e6d02>=0x0;_0x4e6d02--)(_0x34233b=_0x626dd2[_0x4e6d02])&&(_0x46f110=_0x34233b(_0x46f110)||_0x46f110);return _0x46f110;},Ae=(_0x3a7cbc,_0x480929)=>(_0x35f207,_0x118ddc)=>_0x480929(_0x35f207,_0x118ddc,_0x3a7cbc);let bt=class extends _0x471c19{constructor(_0x147b7b,_0x2aa95e,_0x4e5bc1,_0x1cef6c,_0x5b243f){var _0x2857b5=_0x3bcbc5;super(_0x147b7b,_0x2aa95e,_0x4e5bc1),this[_0x2857b5(0x220)]=_0x1cef6c,this[_0x2857b5(0x3dc)]=_0x5b243f;}[_0x3bcbc5(0x3dd)](_0x811a17,_0x91d300){var _0x4a800a=_0x3bcbc5;const _0xd2e332=this[_0x4a800a(0x1f3)](_0x811a17);if(_0xd2e332)try{const _0x174bc1=this[_0x4a800a(0x47e)](_0xd2e332,_0x91d300);this[_0x4a800a(0x20a)](_0x811a17,_0x174bc1);}catch(_0x277070){this[_0x4a800a(0x3dc)]['error'](_0x4a800a(0x3b2),_0x277070),this[_0x4a800a(0x432)](_0x811a17);}const _0x506fff=this[_0x4a800a(0x31e)](_0x811a17);if(_0x506fff)try{const _0x4cade6=this[_0x4a800a(0x47e)](_0x506fff,_0x91d300);this[_0x4a800a(0x3d2)](_0x811a17,_0x4cade6);}catch(_0x5b3ca8){this[_0x4a800a(0x3dc)][_0x4a800a(0x2dd)](_0x5b3ca8),this[_0x4a800a(0x396)](_0x811a17);}}[_0x3bcbc5(0x432)](_0x1058ce){var _0x184f53=_0x3bcbc5;const _0x573db9=this['_getUndoStack'](_0x1058ce);_0x573db9&&(_0x573db9[_0x184f53(0x2be)]=0x0,this[_0x184f53(0x35f)]());}[_0x3bcbc5(0x396)](_0x1b0790){var _0x362553=_0x3bcbc5;const _0x4db284=this[_0x362553(0x31e)](_0x1b0790);_0x4db284&&(_0x4db284[_0x362553(0x2be)]=0x0,this['_updateStatus']());}[_0x3bcbc5(0x20a)](_0x2d24ad,_0x4f3482){var _0x1f394f=_0x3bcbc5;this[_0x1f394f(0x2f7)]['set'](_0x2d24ad,_0x4f3482),this['_updateStatus']();}[_0x3bcbc5(0x3d2)](_0x3c3f69,_0x45696f){var _0x132ece=_0x3bcbc5;this[_0x132ece(0x427)][_0x132ece(0x3cd)](_0x3c3f69,_0x45696f),this[_0x132ece(0x35f)]();}[_0x3bcbc5(0x47e)](_0x1a6168,_0x575abc){var _0x1e6977=_0x3bcbc5;const _0x158b8e=[];let _0x9c804b=_0x575abc,_0x35e883=_0x575abc;for(let _0x5cb00e=_0x1a6168[_0x1e6977(0x2be)]-0x1;_0x5cb00e>=0x0;_0x5cb00e--){const {unitID:_0x340c88,undoMutations:_0x59ae16,redoMutations:_0x1b10e1}=_0x1a6168[_0x5cb00e],_0x3af421=this[_0x1e6977(0x220)][_0x1e6977(0x3b7)](_0x9c804b,_0x59ae16),_0x2f9e70=this['_transformService'][_0x1e6977(0x3b7)](_0x35e883,_0x1b10e1);if(_0x1fa8d4(_0x3af421)||_0x1fa8d4(_0x2f9e70)){this[_0x1e6977(0x3dc)][_0x1e6977(0x2dd)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x3af421,_0x2f9e70);break;}_0x9c804b=_0x3af421[_0x1e6977(0x34d)],_0x35e883=_0x2f9e70[_0x1e6977(0x34d)],_0x158b8e['push']({'unitID':_0x340c88,'undoMutations':_0x3af421[_0x1e6977(0x1d3)],'redoMutations':_0x2f9e70['m2Prime']});}return _0x158b8e[_0x1e6977(0x459)]();}};bt=ir([Ae(0x0,_0x29bce8),Ae(0x1,_0x246ef8),Ae(0x2,_0x14b3c6),Ae(0x3,_0x247322),Ae(0x4,_0xbe786)],bt);var sr=Object['defineProperty'],nr=Object[_0x3bcbc5(0x2f1)],rr=(_0x1b1814,_0x5035a0,_0xf3f475)=>_0x5035a0 in _0x1b1814?sr(_0x1b1814,_0x5035a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf3f475}):_0x1b1814[_0x5035a0]=_0xf3f475,ar=(_0x5d5fc1,_0x385487,_0x900b46,_0x30c9b9)=>{var _0x52450c=_0x3bcbc5;for(var _0x4fd6dd=_0x30c9b9>0x1?void 0x0:_0x30c9b9?nr(_0x385487,_0x900b46):_0x385487,_0x54cf24=_0x5d5fc1[_0x52450c(0x2be)]-0x1,_0x1f710f;_0x54cf24>=0x0;_0x54cf24--)(_0x1f710f=_0x5d5fc1[_0x54cf24])&&(_0x4fd6dd=_0x1f710f(_0x4fd6dd)||_0x4fd6dd);return _0x4fd6dd;},Et=(_0x40d523,_0x3d7689)=>(_0x519d6c,_0x320840)=>_0x3d7689(_0x519d6c,_0x320840,_0x40d523),or=(_0x2f6749,_0x97b31f,_0x406792)=>rr(_0x2f6749,_0x97b31f+'',_0x406792);const cr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x538c4f{constructor(_0x3ba033,_0xe05540,_0x33b6f9,_0x4d8767){var _0x44ead6=_0x3bcbc5;super(),D(this,_0x44ead6(0x2fc)),(this[_0x44ead6(0x3dc)]=_0xe05540,this[_0x44ead6(0x463)]=_0x33b6f9,this[_0x44ead6(0x346)]=_0x4d8767);const {..._0x4586f7}=_0xf449ca({},Ls,_0x3ba033);if(!_0x4586f7[_0x44ead6(0x3c7)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x4586f7,this['_configService'][_0x44ead6(0x40d)](K,_0x4586f7);}['onStarting'](){var _0x5bb352=_0x3bcbc5;this[_0x5bb352(0x4b7)](),this['_initDependencies']();}[_0x3bcbc5(0x4b7)](){var _0x2cbedc=_0x3bcbc5,_0x40d27e,_0x1aa66f;this['_injector']['has'](_0x3b359c)&&this[_0x2cbedc(0x3dc)][_0x2cbedc(0x2dd)](_0x2cbedc(0x290),_0x2cbedc(0x3a5));const _0x2fef01=_0x1fb0b6([[_0x3b359c,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x2cbedc(0x2fc)][_0x2cbedc(0x3c7)]}],[_0x51a19b,{'useClass':Nt}],[_0x5bb3fa,{'useClass':Tt}],[_0x5a959d,{'useClass':Rt}],[_0x243b7c,{'useClass':Ct}],[nt],[gt]],(_0x40d27e=this[_0x2cbedc(0x2fc)])==null?void 0x0:_0x40d27e['override']);if(!((_0x1aa66f=this[_0x2cbedc(0x2fc)])!=null&&_0x1aa66f[_0x2cbedc(0x330)])){const _0x1222ef=_0x2fef01['findIndex'](([_0x2df529])=>_0x2df529===_t);_0x1222ef!==-0x1&&_0x2fef01[_0x2cbedc(0x1f8)](_0x1222ef,0x1);}_0x332554(this[_0x2cbedc(0x463)],_0x2fef01);}['_initDependencies'](){var _0x59b2ea=_0x3bcbc5,_0x3e26c4,_0x38f8d3,_0x48e5cf;this[_0x59b2ea(0x463)][_0x59b2ea(0x448)](_0x4ba195)[_0x59b2ea(0x2ea)]({'priority':0x14,'interceptor':_0xf7f34e({'maxParallel':0x6})}),(_0x3e26c4=this[_0x59b2ea(0x2fc)])!=null&&_0x3e26c4[_0x59b2ea(0x3fa)]||(_0x38f8d3=this[_0x59b2ea(0x463)][_0x59b2ea(0x448)](J,_0x494835[_0x59b2ea(0x1d0)]))==null||_0x38f8d3[_0x59b2ea(0x452)](),(_0x48e5cf=this[_0x59b2ea(0x2fc)])!=null&&_0x48e5cf['enableAuthServer']&&_0x4064de(this[_0x59b2ea(0x463)],[[rt]]),_0x4064de(this[_0x59b2ea(0x463)],[[at],[nt],[ot]]);}};or(Dt,'pluginName',cr),Dt=ar([_0x36679f(_0x40c541,_0x21b429),Et(0x1,_0xbe786),Et(0x2,_0x1b5fe1(_0x3f0769)),Et(0x3,_0x12469b)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};