@univerjs-pro/collaboration-client 0.15.1-insiders.20260117-8ce4a01 → 0.15.2-insiders.20260119-edc718c

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 +10 -10
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x2441f9=_0x3471;(function(_0x39dbd0,_0x5f2448){var _0x1620dc=_0x3471,_0x2ffdca=_0x39dbd0();while(!![]){try{var _0x280088=-parseInt(_0x1620dc(0x193))/0x1*(-parseInt(_0x1620dc(0xdc))/0x2)+-parseInt(_0x1620dc(0x2d7))/0x3*(-parseInt(_0x1620dc(0x287))/0x4)+parseInt(_0x1620dc(0x130))/0x5+parseInt(_0x1620dc(0x17e))/0x6*(parseInt(_0x1620dc(0x162))/0x7)+-parseInt(_0x1620dc(0x208))/0x8*(-parseInt(_0x1620dc(0x209))/0x9)+parseInt(_0x1620dc(0x2bf))/0xa+-parseInt(_0x1620dc(0x121))/0xb;if(_0x280088===_0x5f2448)break;else _0x2ffdca['push'](_0x2ffdca['shift']());}catch(_0x1d5f9c){_0x2ffdca['push'](_0x2ffdca['shift']());}}}(_0x4168,0x7e852));var Di=Object[_0x2441f9(0x39d)],yi=(_0x119916,_0x65af47,_0x4f3d4b)=>_0x65af47 in _0x119916?Di(_0x119916,_0x65af47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f3d4b}):_0x119916[_0x65af47]=_0x4f3d4b,D=(_0x5313aa,_0x2c6b25,_0x4d6813)=>yi(_0x5313aa,typeof _0x2c6b25!=_0x2441f9(0x32d)?_0x2c6b25+'':_0x2c6b25,_0x4d6813);import{CollaborationEvent as _0x12397d,ITransformService as _0x32916a,isTransformMutationsWithChangesetSuccess as _0x2633c8,mapDocumentTypeToUniverType as _0x3ac6c3,RevisionService as _0x468892,isTransformChangesetsSuccess as _0x13a7a8,EmptyMutationInfo as _0x3dc826,CompressMutationService as _0x4b2aeb,parseProtocolChangeset as _0x37c359,uuidv4 as _0xe8315c,ISnapshotServerService as _0x2dc9c3,parseChangesetToProtocol as _0x40c88e,SnapshotService as _0x246c29,textEncoder as _0x46f027,b64DecodeUnicode as _0x3c0f58,isTransformMutationsWithChangesetFailure as _0x6d8ad2,UniverCollaborationPlugin as _0x21fdb5}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1dfd8a,Inject as _0x52cfb7,UserManagerService as _0x5f213b,Disposable as _0x1c8a31,UniverInstanceType as _0x2ddda7,ILogService as _0x5a9074,IConfigService as _0x328306,Optional as _0x273dbc,RxDisposable as _0x12f467,createIdentifier as _0x1444ff,Injector as _0x395e58,Tools as _0x46346e,Rectangle as _0x5f2389,ICommandService as _0x56439f,JSONX as _0x3a6f99,IUndoRedoService as _0x2e0c07,IPermissionService as _0x9ee13b,LocaleService as _0x4150d5,sequenceExecute as _0x5c4f7a,toDisposable as _0x1e1ebb,CommandType as _0x3a3511,DisposableCollection as _0x57f208,Workbook as _0x1ed90b,resolveWithBasePath as _0x21c242,generateRandomId as _0x4b4c01,MentionType as _0x54465f,isInternalEditorID as _0x2bc118,LocalUndoRedoService as _0x8e8f90,IContextService as _0x3645ae,DependentOn as _0x5643a,Plugin as _0x101eb7,merge as _0x46c0e3,mergeOverrideWithDependencies as _0x2df2e6,IAuthzIoService as _0x29b7be,IMentionIOService as _0x346bf2,registerDependencies as _0x30ffe6,Quantity as _0x3af328,touchDependencies as _0x2d25d0}from'@univerjs/core';import{RichTextEditingMutation as _0x203027}from'@univerjs/docs';import{SheetsSelectionsService as _0x3549df,SetSelectionsOperation as _0x1d901d,InsertSheetMutation as _0x4fefa1,WorkbookEditablePermission as _0x3c8993,SheetPermissionInitController as _0x1b0814}from'@univerjs/sheets';import{Subject as _0x12b55a,merge as _0x5a45a0,of as _0x256d3d,BehaviorSubject as _0x52b67b,takeUntil as _0x1066d7,ReplaySubject as _0xece793,take as _0xcec3bf,map as _0x1facbe,shareReplay as _0x576323,firstValueFrom as _0x553f5e,concatMap as _0x454066}from'rxjs';import{ITelemetryService as _0x620821}from'@univerjs/telemetry';import{map as _0xe994cc,take as _0x28efbf,filter as _0x12d299,delay as _0x1024bb,takeUntil as _0x5d9e65}from'rxjs/operators';import{HTTPService as _0xacb381,ISocketService as _0x4fc133,MergeInterceptorFactory as _0x2e57ce,HTTPRequest as _0x53915c,UniverNetworkPlugin as _0xa5f97f,ThresholdInterceptorFactory as _0x2994c2}from'@univerjs/network';import{ImageSourceType as _0x550656,ImageUploadStatusType as _0x22d6fe,IImageIoService as _0x18f5bc}from'@univerjs/drawing';import{getGlobalObject as _0x2d4eef}from'@univerjs-pro/license';const Es=_0x2441f9(0xad),ps='SNAPSHOT_URL_KEY',ms=0x7d0,Is=_0x2441f9(0xd4),Or=_0x2441f9(0x148),Ss=_0x2441f9(0x2ce),gs=0x7530,di=_0x2441f9(0x24f),fi=0x4e20,Ts=0x4e20,Os=_0x2441f9(0xe5),Rs=0x3,Rr=_0x2441f9(0x183),Nr=0x3e8,Ns=_0x2441f9(0x2bb),Cs=_0x2441f9(0x377),Cr=_0x2441f9(0x335),br='/universer-api/uniscript';var vi=(_0x34b003=>(_0x34b003[_0x34b003[_0x2441f9(0x1fa)]=0x0]=_0x2441f9(0x1fa),_0x34b003[_0x34b003['OK']=0x1]='OK',_0x34b003[_0x34b003[_0x2441f9(0x1b3)]=0x2]='INTERNAL_ERROR',_0x34b003[_0x34b003['PERMISSION_DENIED']=0x3]=_0x2441f9(0x112),_0x34b003[_0x34b003[_0x2441f9(0x262)]=0x4]='NOT_FOUND',_0x34b003[_0x34b003[_0x2441f9(0x13c)]=0x5]=_0x2441f9(0x13c),_0x34b003[_0x34b003[_0x2441f9(0x3c1)]=0x6]=_0x2441f9(0x3c1),_0x34b003[_0x34b003[_0x2441f9(0x342)]=0x7]=_0x2441f9(0x342),_0x34b003[_0x34b003[_0x2441f9(0xa8)]=0x8]='TOO_MANY_REQUESTS',_0x34b003[_0x34b003[_0x2441f9(0x242)]=0x9]=_0x2441f9(0x242),_0x34b003[_0x34b003[_0x2441f9(0x122)]=0xa]='LOGIN_FAILED',_0x34b003[_0x34b003[_0x2441f9(0x12e)]=0xb]=_0x2441f9(0x12e),_0x34b003[_0x34b003[_0x2441f9(0x23c)]=0xc]=_0x2441f9(0x23c),_0x34b003[_0x34b003[_0x2441f9(0x194)]=0xd]=_0x2441f9(0x194),_0x34b003[_0x34b003['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x2441f9(0x21b),_0x34b003[_0x34b003['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x2441f9(0x3b9),_0x34b003[_0x34b003[_0x2441f9(0x19a)]=0x10]=_0x2441f9(0x19a),_0x34b003[_0x34b003['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x34b003[_0x34b003[_0x2441f9(0x21f)]=0x65]=_0x2441f9(0x21f),_0x34b003[_0x34b003['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x34b003[_0x34b003['USER_IS_ANONYMOUS']=0xca]=_0x2441f9(0x107),_0x34b003[_0x34b003['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x34b003[_0x34b003[_0x2441f9(0x1ef)]=0x1771]=_0x2441f9(0x1ef),_0x34b003[_0x34b003['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x34b003[_0x34b003[_0x2441f9(0x357)]=0x1773]=_0x2441f9(0x357),_0x34b003[_0x34b003['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x34b003[_0x34b003[_0x2441f9(0x33c)]=0x1b5a]=_0x2441f9(0x33c),_0x34b003[_0x34b003[_0x2441f9(0xfa)]=0x1b5b]=_0x2441f9(0xfa),_0x34b003[_0x34b003['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2441f9(0xf7),_0x34b003[_0x34b003[_0x2441f9(0x2a4)]=0x1b5d]=_0x2441f9(0x2a4),_0x34b003[_0x34b003['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2441f9(0x11b),_0x34b003[_0x34b003[_0x2441f9(0x1d3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x34b003[_0x34b003[_0x2441f9(0x96)]=0x232a]=_0x2441f9(0x96),_0x34b003[_0x34b003[_0x2441f9(0x333)]=0x232b]=_0x2441f9(0x333),_0x34b003[_0x34b003['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x34b003[_0x34b003[_0x2441f9(0x10d)]=0x232d]=_0x2441f9(0x10d),_0x34b003[_0x34b003[_0x2441f9(0xea)]=0x2711]=_0x2441f9(0xea),_0x34b003[_0x34b003[_0x2441f9(0x2a9)]=0x2712]=_0x2441f9(0x2a9),_0x34b003[_0x34b003[_0x2441f9(0xf3)]=0x2713]=_0x2441f9(0xf3),_0x34b003[_0x34b003['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2441f9(0x3b6),_0x34b003[_0x34b003[_0x2441f9(0x154)]=0x271a]=_0x2441f9(0x154),_0x34b003[_0x34b003[_0x2441f9(0x1b8)]=0x271b]=_0x2441f9(0x1b8),_0x34b003[_0x34b003[_0x2441f9(0x11a)]=0x271c]=_0x2441f9(0x11a),_0x34b003[_0x34b003[_0x2441f9(0x25f)]=0x271d]=_0x2441f9(0x25f),_0x34b003[_0x34b003[_0x2441f9(0x22d)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x34b003[_0x34b003[_0x2441f9(0x249)]=0x271f]=_0x2441f9(0x249),_0x34b003[_0x34b003['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2441f9(0x25c),_0x34b003[_0x34b003[_0x2441f9(0x364)]=0x2af9]=_0x2441f9(0x364),_0x34b003[_0x34b003[_0x2441f9(0x24e)]=0x2ee1]=_0x2441f9(0x24e),_0x34b003[_0x34b003[_0x2441f9(0x2f9)]=0x2ee2]=_0x2441f9(0x2f9),_0x34b003[_0x34b003[_0x2441f9(0x20f)]=0x2ee3]=_0x2441f9(0x20f),_0x34b003[_0x34b003['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x34b003[_0x34b003[_0x2441f9(0xcc)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x34b003[_0x34b003[_0x2441f9(0x2a1)]=0x32c9]=_0x2441f9(0x2a1),_0x34b003[_0x34b003[_0x2441f9(0x30d)]=0x32ca]=_0x2441f9(0x30d),_0x34b003[_0x34b003[_0x2441f9(0x11d)]=0x32cb]=_0x2441f9(0x11d),_0x34b003[_0x34b003[_0x2441f9(0x1f4)]=0x36b1]=_0x2441f9(0x1f4),_0x34b003[_0x34b003[_0x2441f9(0x3c2)]=0x36b2]=_0x2441f9(0x3c2),_0x34b003[_0x34b003[_0x2441f9(0xc2)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x34b003[_0x34b003[_0x2441f9(0x3b5)]=0x36b4]=_0x2441f9(0x3b5),_0x34b003[_0x34b003['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2441f9(0x25b),_0x34b003[_0x34b003['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x34b003[_0x34b003[_0x2441f9(0x13b)]=0x36b7]=_0x2441f9(0x13b),_0x34b003[_0x34b003[_0x2441f9(0x35a)]=0x36b8]=_0x2441f9(0x35a),_0x34b003[_0x34b003[_0x2441f9(0x15c)]=0x3715]=_0x2441f9(0x15c),_0x34b003[_0x34b003['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x34b003[_0x34b003[_0x2441f9(0x12c)]=0x3717]=_0x2441f9(0x12c),_0x34b003[_0x34b003[_0x2441f9(0x15d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x34b003[_0x34b003[_0x2441f9(0x223)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x34b003[_0x34b003['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x2441f9(0x23b),_0x34b003[_0x34b003[_0x2441f9(0x2c9)]=0x3a9b]=_0x2441f9(0x2c9),_0x34b003[_0x34b003['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x2441f9(0x200),_0x34b003[_0x34b003[_0x2441f9(0x383)]=0x3a9d]=_0x2441f9(0x383),_0x34b003[_0x34b003['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2441f9(0x2dd),_0x34b003[_0x34b003[_0x2441f9(0x2e2)]=0x3a9f]=_0x2441f9(0x2e2),_0x34b003[_0x34b003['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x2441f9(0x273),_0x34b003[_0x34b003[_0x2441f9(0x34e)]=-0x1]=_0x2441f9(0x34e),_0x34b003))(vi||{}),Q=(_0x11ca1e=>(_0x11ca1e[_0x11ca1e['UNIVER_UNKNOWN']=0x0]=_0x2441f9(0x1ba),_0x11ca1e[_0x11ca1e['UNIVER_DOC']=0x1]=_0x2441f9(0x1e5),_0x11ca1e[_0x11ca1e[_0x2441f9(0x110)]=0x2]='UNIVER_SHEET',_0x11ca1e[_0x11ca1e['UNIVER_SLIDE']=0x3]=_0x2441f9(0x1a8),_0x11ca1e[_0x11ca1e['UNIVER_PROJECT']=0x4]=_0x2441f9(0x360),_0x11ca1e[_0x11ca1e[_0x2441f9(0x34e)]=-0x1]='UNRECOGNIZED',_0x11ca1e))(Q||{}),j=(_0x513f17=>(_0x513f17[_0x513f17['UNKNOWN_CMD']=0x0]=_0x2441f9(0x393),_0x513f17[_0x513f17['HELLO']=0x1]='HELLO',_0x513f17[_0x513f17[_0x2441f9(0x1a5)]=0x2]=_0x2441f9(0x1a5),_0x513f17[_0x513f17[_0x2441f9(0x3a9)]=0x3]='LEAVE',_0x513f17[_0x513f17[_0x2441f9(0x221)]=0x4]=_0x2441f9(0x221),_0x513f17[_0x513f17[_0x2441f9(0xf1)]=0x5]=_0x2441f9(0xf1),_0x513f17[_0x513f17[_0x2441f9(0x185)]=0x6]='RECV',_0x513f17[_0x513f17[_0x2441f9(0x34e)]=-0x1]=_0x2441f9(0x34e),_0x513f17))(j||{}),Ee=(_0x44e65d=>(_0x44e65d[_0x44e65d[_0x2441f9(0xf6)]=0x0]='UNKNOWN_CODE',_0x44e65d[_0x44e65d['OK']=0x1]='OK',_0x44e65d[_0x44e65d[_0x2441f9(0x371)]=0x2]=_0x2441f9(0x371),_0x44e65d[_0x44e65d[_0x2441f9(0x1cb)]=0x3e9]=_0x2441f9(0x1cb),_0x44e65d[_0x44e65d[_0x2441f9(0x1de)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x44e65d[_0x44e65d['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2441f9(0x359),_0x44e65d[_0x44e65d[_0x2441f9(0x387)]=0x3ec]=_0x2441f9(0x387),_0x44e65d[_0x44e65d[_0x2441f9(0x34e)]=-0x1]=_0x2441f9(0x34e),_0x44e65d))(Ee||{}),Ei=(_0x3b3a0b=>(_0x3b3a0b[_0x3b3a0b['Undefined']=0x0]=_0x2441f9(0x36d),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x31a)]=0x1]=_0x2441f9(0x31a),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x116)]=0x2]=_0x2441f9(0x116),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x1d2)]=0x3]=_0x2441f9(0x1d2),_0x3b3a0b[_0x3b3a0b['UnitSnapshot']=0x4]=_0x2441f9(0x19d),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x226)]=0x5]=_0x2441f9(0x226),_0x3b3a0b[_0x3b3a0b['ClipsheetFragments']=0x6]=_0x2441f9(0x213),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x34e)]=-0x1]=_0x2441f9(0x34e),_0x3b3a0b))(Ei||{});const bs='collaboration_new_changeset';function Ds(_0x55e331){var _0x534246=_0x2441f9;return JSON[_0x534246(0x35b)](_0x55e331)[_0x534246(0x158)];}var re=(_0x1457f3=>(_0x1457f3[_0x2441f9(0x381)]=_0x2441f9(0x381),_0x1457f3[_0x2441f9(0x112)]=_0x2441f9(0x112),_0x1457f3['CONFLICT']=_0x2441f9(0x2e9),_0x1457f3[_0x2441f9(0x1e1)]='CLOSE_ROOM',_0x1457f3[_0x2441f9(0x129)]=_0x2441f9(0x129),_0x1457f3[_0x2441f9(0x32f)]='SOCKET_FAILED_RETRY',_0x1457f3[_0x2441f9(0x300)]=_0x2441f9(0x300),_0x1457f3[_0x2441f9(0xa0)]=_0x2441f9(0xa0),_0x1457f3))(re||{});class ve{constructor(){var _0x2a4ba1=_0x2441f9;D(this,_0x2a4ba1(0x1d4),new _0x12b55a()),D(this,_0x2a4ba1(0x18f),this[_0x2a4ba1(0x1d4)]['asObservable']());}['emitEvent'](_0x4e0dcd){var _0x387c21=_0x2441f9;this[_0x387c21(0x1d4)][_0x387c21(0x270)](_0x4e0dcd);}}class pi{constructor(){var _0x17aa97=_0x2441f9;D(this,'_commentUpdate$',new _0x12b55a()),D(this,_0x17aa97(0x1ea),this[_0x17aa97(0x160)][_0x17aa97(0xee)]());}['onCommentUpdate'](_0x57668a){var _0x31c0a3=_0x2441f9;this[_0x31c0a3(0x160)][_0x31c0a3(0x270)](_0x57668a);}}var ys=Object[_0x2441f9(0x2bc)],Us=(_0x134d9b,_0xc34205,_0x5c65e0,_0x5de7cd)=>{var _0xe9a260=_0x2441f9;for(var _0x126af5=_0x5de7cd>0x1?void 0x0:_0x5de7cd?ys(_0xc34205,_0x5c65e0):_0xc34205,_0x7a7837=_0x134d9b[_0xe9a260(0x158)]-0x1,_0x303d97;_0x7a7837>=0x0;_0x7a7837--)(_0x303d97=_0x134d9b[_0x7a7837])&&(_0x126af5=_0x303d97(_0x126af5)||_0x126af5);return _0x126af5;},Ft=(_0x588661,_0x116f26)=>(_0x54cb2e,_0x130129)=>_0x116f26(_0x54cb2e,_0x130129,_0x588661);let Pe=class extends _0x1c8a31{constructor(_0x5481ba,_0x18d3e7){var _0xfd09fb=_0x2441f9;super(),D(this,_0xfd09fb(0x192),new Map()),D(this,_0xfd09fb(0x146),new _0x12b55a()),(this['_univerInstanceService']=_0x5481ba,this[_0xfd09fb(0x1cd)]=_0x18d3e7,this[_0xfd09fb(0x1d9)](_0x5a45a0(this[_0xfd09fb(0x189)][_0xfd09fb(0xe2)](_0x2ddda7[_0xfd09fb(0x110)])['pipe'](_0xe994cc(_0x182916=>_0x182916['getUnitId']())),this[_0xfd09fb(0x189)]['getTypeOfUnitDisposed$'](_0x2ddda7[_0xfd09fb(0x1e5)])[_0xfd09fb(0x3b2)](_0xe994cc(_0x26ae71=>_0x26ae71[_0xfd09fb(0x310)]())),this[_0xfd09fb(0x189)][_0xfd09fb(0xe2)](_0x2ddda7[_0xfd09fb(0x1a8)])[_0xfd09fb(0x3b2)](_0xe994cc(_0xbb8106=>_0xbb8106['getUnitId']())))[_0xfd09fb(0x34f)](_0x566c31=>this[_0xfd09fb(0x1da)](_0x566c31))));}[_0x2441f9(0x184)](_0x16fbaa){var _0x4deb76=_0x2441f9;return this[_0x4deb76(0x192)][_0x4deb76(0x135)](_0x16fbaa)?_0x256d3d(this[_0x4deb76(0x192)][_0x4deb76(0x222)](_0x16fbaa)):this[_0x4deb76(0x146)][_0x4deb76(0x3b2)](_0xe994cc(_0x4fa7d7=>{if(_0x4fa7d7===_0x16fbaa)return this['_roomMembers']['get'](_0x4fa7d7);}));}[_0x2441f9(0x2b4)](_0x11547e){var _0x300740=_0x2441f9;this[_0x300740(0x1cd)][_0x300740(0x2b4)](_0x11547e);}[_0x2441f9(0x2c1)](){var _0x490efa=_0x2441f9;return this[_0x490efa(0x1cd)]['getCurrentUser']();}[_0x2441f9(0xf4)](_0x35cee0,_0x2d764b){var _0x1424fe=_0x2441f9;let _0x5b8560=this[_0x1424fe(0x192)][_0x1424fe(0x222)](_0x35cee0);_0x5b8560||(_0x5b8560=new As(),this[_0x1424fe(0x192)][_0x1424fe(0xfe)](_0x35cee0,_0x5b8560),this[_0x1424fe(0x146)]['next'](_0x35cee0)),_0x5b8560[_0x1424fe(0xf4)](_0x2d764b);}['removeMember'](_0x206409,_0x7ac761){var _0x32970f=_0x2441f9;const _0xc30b79=this[_0x32970f(0x192)][_0x32970f(0x222)](_0x206409);_0xc30b79&&_0xc30b79[_0x32970f(0x187)](_0x7ac761);}[_0x2441f9(0x29f)](_0x400026){var _0x38a6e3=_0x2441f9;return this[_0x38a6e3(0x192)][_0x38a6e3(0x222)](_0x400026);}[_0x2441f9(0x1a7)](_0xf79cff,_0xb619ef){var _0x1878f4=_0x2441f9;const _0x5ef33a=this[_0x1878f4(0x192)][_0x1878f4(0x222)](_0xf79cff);if(_0x5ef33a)return _0x5ef33a[_0x1878f4(0x1a7)](_0xb619ef);}[_0x2441f9(0x1da)](_0x53723e){var _0x32a718=_0x2441f9;const _0x2c2412=this[_0x32a718(0x192)][_0x32a718(0x222)](_0x53723e);_0x2c2412&&(_0x2c2412['dispose'](),this[_0x32a718(0x192)][_0x32a718(0x307)](_0x53723e));}[_0x2441f9(0x108)](){var _0x1d969d=_0x2441f9;this[_0x1d969d(0x192)]['forEach'](_0x371a48=>_0x371a48[_0x1d969d(0x108)]()),this[_0x1d969d(0x192)][_0x1d969d(0x228)](),this[_0x1d969d(0x146)]['complete']();}};Pe=Us([Ft(0x0,_0x1dfd8a),Ft(0x1,_0x52cfb7(_0x5f213b))],Pe);class As extends _0x1c8a31{constructor(){var _0xb0a596=_0x2441f9;super(...arguments),D(this,_0xb0a596(0x115),new Map()),D(this,_0xb0a596(0x9d),new _0x52b67b(this[_0xb0a596(0x115)])),D(this,_0xb0a596(0x225),this[_0xb0a596(0x9d)][_0xb0a596(0xee)]());}['dispose'](){var _0x194632=_0x2441f9;this['_members'][_0x194632(0x228)]();}[_0x2441f9(0xf4)](_0x15f94f){var _0x3aa3ad=_0x2441f9;this[_0x3aa3ad(0x115)][_0x3aa3ad(0xfe)](_0x15f94f[_0x3aa3ad(0xdf)],_0x15f94f),this[_0x3aa3ad(0x2e6)]();}[_0x2441f9(0x187)](_0x4baf60){var _0x50ed4e=_0x2441f9;this[_0x50ed4e(0x115)][_0x50ed4e(0x307)](_0x4baf60);}[_0x2441f9(0x1a7)](_0x57dcb5){var _0x49e9c7=_0x2441f9;return this[_0x49e9c7(0x115)][_0x49e9c7(0x222)](_0x57dcb5);}[_0x2441f9(0x2fd)](){var _0x8a7257=_0x2441f9;return Array[_0x8a7257(0x3a7)](this['_members'][_0x8a7257(0x278)]());}[_0x2441f9(0x2e6)](){var _0x10da76=_0x2441f9;this[_0x10da76(0x9d)][_0x10da76(0x270)](this[_0x10da76(0x115)]);}}var Ps=Object[_0x2441f9(0x2bc)],ws=(_0x2abf47,_0x43f2a9,_0x4c6212,_0x215074)=>{var _0x5b6e88=_0x2441f9;for(var _0xb6e496=_0x215074>0x1?void 0x0:_0x215074?Ps(_0x43f2a9,_0x4c6212):_0x43f2a9,_0x805e53=_0x2abf47[_0x5b6e88(0x158)]-0x1,_0x58781b;_0x805e53>=0x0;_0x805e53--)(_0x58781b=_0x2abf47[_0x805e53])&&(_0xb6e496=_0x58781b(_0xb6e496)||_0xb6e496);return _0xb6e496;},Oe=(_0x7701e7,_0x582c56)=>(_0x471fcd,_0x3c36c9)=>_0x582c56(_0x471fcd,_0x3c36c9,_0x7701e7),me=(_0x3bb72a=>(_0x3bb72a[_0x3bb72a[_0x2441f9(0x1eb)]=0x0]=_0x2441f9(0x1eb),_0x3bb72a[_0x3bb72a[_0x2441f9(0x1a4)]=0x1]='JOINING',_0x3bb72a[_0x3bb72a[_0x2441f9(0xbe)]=0x2]=_0x2441f9(0xbe),_0x3bb72a[_0x3bb72a[_0x2441f9(0x20d)]=0x3]=_0x2441f9(0x20d),_0x3bb72a))(me||{});const jt={[Ee[_0x2441f9(0x371)]]:_0x2441f9(0x315),[Ee[_0x2441f9(0x1cb)]]:'session.room-full',[Ee[_0x2441f9(0x1de)]]:_0x2441f9(0x19c),[Ee[_0x2441f9(0x359)]]:_0x2441f9(0x36c),[Ee[_0x2441f9(0x387)]]:_0x2441f9(0x327)};let mt=class extends _0x12f467{constructor(_0x36b716,_0x5bd29f,_0x33a592,_0x493349,_0x325538,_0x11f0d3,_0x1a3b2b,_0x5b78f0){var _0x3427cf=_0x2441f9;super(),D(this,_0x3427cf(0x234),new _0x52b67b(0x0)),D(this,_0x3427cf(0x2d1),this[_0x3427cf(0x234)][_0x3427cf(0xee)]()),D(this,'_event$',new _0x12b55a()),D(this,_0x3427cf(0x18f),this['_event$'][_0x3427cf(0xee)]()),D(this,'_socket'),D(this,'_socketMessageSubscription'),D(this,_0x3427cf(0x23f)),D(this,_0x3427cf(0x32c),!0x1),D(this,_0x3427cf(0x238),null),(this['_unitID']=_0x36b716,this[_0x3427cf(0x1f3)]=_0x33a592,this[_0x3427cf(0x137)]=_0x493349,this[_0x3427cf(0x188)]=_0x325538,this[_0x3427cf(0x276)]=_0x11f0d3,this['_collaborationUIEventService']=_0x1a3b2b,this[_0x3427cf(0x31e)]=_0x5b78f0,this[_0x3427cf(0x32c)]=!!this[_0x3427cf(0x31e)],_0x5bd29f[_0x3427cf(0x3b2)](_0x1066d7(this['dispose$']))[_0x3427cf(0x34f)](_0x52231a=>{var _0x405de3=_0x3427cf,_0x31baa6;typeof _0x52231a>'u'||(this['_socket']=_0x52231a,_0x52231a?(this['_joinRoom'](_0x52231a),this[_0x405de3(0x2b8)]=_0x52231a[_0x405de3(0x18b)][_0x405de3(0x34f)](_0x5dc080=>{var _0x249c6c=_0x405de3;_0x5dc080[_0x249c6c(0x37a)]===this[_0x249c6c(0x1b6)]&&this[_0x249c6c(0xb3)](_0x5dc080);})):(this[_0x405de3(0x104)](),this[_0x405de3(0x234)][_0x405de3(0x270)](0x2),(_0x31baa6=this[_0x405de3(0x2b8)])==null||_0x31baa6[_0x405de3(0x290)](),this['_socketMessageSubscription']=null));}));}get[_0x2441f9(0x197)](){var _0x23971e=_0x2441f9;return this[_0x23971e(0x234)]['getValue']();}[_0x2441f9(0x156)](){var _0x5dc76d=_0x2441f9,_0x2ae507,_0x4b87ec;return(_0x4b87ec=(_0x2ae507=this[_0x5dc76d(0x1df)])==null?void 0x0:_0x2ae507[_0x5dc76d(0xdf)])!=null?_0x4b87ec:null;}[_0x2441f9(0x108)](){var _0x63a681=_0x2441f9;super['dispose'](),this[_0x63a681(0x25a)][_0x63a681(0x270)](),this[_0x63a681(0x25a)][_0x63a681(0x2d3)]();}[_0x2441f9(0x19e)](){var _0x13db3d=_0x2441f9,_0x5487aa,_0x27af86;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5487aa=this[_0x13db3d(0x1df)])==null||_0x5487aa[_0x13db3d(0x114)]({'cmd':j[_0x13db3d(0x3a9)],'data':{'roomID':this[_0x13db3d(0x1b6)]}}),(_0x27af86=this[_0x13db3d(0x1df)])==null||_0x27af86[_0x13db3d(0x19e)](),this['_event$'][_0x13db3d(0x2d3)](),this['_sessionStatus$']['complete'](),this[_0x13db3d(0x108)]();}['_onCombEvent'](_0x1c1c8e){var _0x5584df=_0x2441f9;_0x1c1c8e['cmd']===j[_0x5584df(0x1a5)]?this[_0x5584df(0x24a)](_0x1c1c8e):_0x1c1c8e['cmd']===j['RECV']&&this['_onRecvEvent'](_0x1c1c8e);}[_0x2441f9(0x253)](_0x1639e3){var _0x2fb5e0=_0x2441f9;this['_sessionStatus$'][_0x2fb5e0(0x270)](0x1),_0x1639e3['send']({'cmd':j[_0x2fb5e0(0x1a5)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2fb5e0(0x1b6)]}]}});}[_0x2441f9(0x24a)](_0x518b25){var _0x2243cc=_0x2441f9,_0x3ca026;if(_0x518b25['code']in jt){this[_0x2243cc(0x3cd)][_0x2243cc(0x31f)]({'id':re['JOIN_ROOM_FAILED'],'data':jt[_0x518b25[_0x2243cc(0x22a)]]}),this[_0x2243cc(0x234)][_0x2243cc(0x270)](0x2);return;}this['_sessionStatus$'][_0x2243cc(0x270)](0x3);const _0x17c3d0=(_0x3ca026=_0x518b25[_0x2243cc(0xf0)][_0x2243cc(0x206)][this['_unitID']])==null?void 0x0:_0x3ca026[_0x2243cc(0x2cb)];_0x17c3d0&&_0x17c3d0[_0x2243cc(0x22e)](_0x4a03a2=>this[_0x2243cc(0x188)][_0x2243cc(0xf4)](this[_0x2243cc(0x1b6)],_0x4a03a2));}[_0x2441f9(0x301)](_0x4feca1){var _0xd8757f=_0x2441f9;try{const _0x2b55da=_0x4feca1[_0xd8757f(0xf0)];switch(_0x2b55da[_0xd8757f(0x297)]){case _0x12397d[_0xd8757f(0x2f7)]:this['_onUserJoin'](_0x2b55da),this[_0xd8757f(0x1d4)][_0xd8757f(0x270)](_0x2b55da);break;case _0x12397d['USERS_LEAVE']:this[_0xd8757f(0x1b1)](_0x2b55da),this[_0xd8757f(0x1d4)][_0xd8757f(0x270)](_0x2b55da);break;case _0x12397d[_0xd8757f(0x2d4)]:case _0x12397d[_0xd8757f(0x10b)]:this[_0xd8757f(0x38c)](),this[_0xd8757f(0xef)](),this['_event$']['next'](_0x2b55da);break;case _0x12397d[_0xd8757f(0x20c)]:this[_0xd8757f(0x1f3)]['error'](_0xd8757f(0xd7)+JSON[_0xd8757f(0x35b)](_0x2b55da)),this[_0xd8757f(0x1d4)][_0xd8757f(0x270)](_0x2b55da);break;case _0x12397d[_0xd8757f(0x1c2)]:this[_0xd8757f(0x276)][_0xd8757f(0x1ac)](_0x2b55da[_0xd8757f(0xf0)]),this['_event$'][_0xd8757f(0x270)](_0x2b55da);break;default:this[_0xd8757f(0x1d4)]['next'](_0x2b55da);}}catch(_0x16e1b3){this['_logService'][_0xd8757f(0x3a5)](_0x16e1b3,_0x4feca1);}}[_0x2441f9(0x186)](_0x13e265){var _0x2c5433=_0x2441f9;this[_0x2c5433(0x188)][_0x2c5433(0xf4)](this['_unitID'],_0x13e265[_0x2c5433(0xf0)]);}[_0x2441f9(0x1b1)](_0x1399d3){var _0x1ed895=_0x2441f9;this[_0x1ed895(0x188)][_0x1ed895(0x187)](this[_0x1ed895(0x1b6)],_0x1399d3[_0x1ed895(0xf0)]['memberID']);}async[_0x2441f9(0x114)](_0x4583a4,_0x13e53c){var _0x24f950=_0x2441f9;if(this[_0x24f950(0x197)]!==0x3||!this[_0x24f950(0x1df)])throw new Error(_0x24f950(0x281));try{_0x4583a4[_0x24f950(0x297)]===_0x12397d[_0x24f950(0x258)]&&(this[_0x24f950(0x172)](),this[_0x24f950(0x3ce)](_0x4583a4)),this[_0x24f950(0x1df)][_0x24f950(0x114)]({'cmd':j[_0x24f950(0x221)],'routeKey':_0x13e53c,'routeType':'','data':_0x4583a4});}catch(_0x179ecd){this[_0x24f950(0x1f3)]['error'](_0x179ecd);}}[_0x2441f9(0x172)](){var _0x504127=_0x2441f9,_0x21cf59;this[_0x504127(0x23f)]=setTimeout(()=>{var _0x24abb6=_0x504127;this[_0x24abb6(0x23f)]=null,this[_0x24abb6(0x3cd)][_0x24abb6(0x31f)]({'id':re[_0x24abb6(0xa0)]});},(_0x21cf59=this[_0x504127(0x137)][_0x504127(0xb4)](di))!=null?_0x21cf59:fi);}[_0x2441f9(0xef)](){var _0x54ab06=_0x2441f9;this[_0x54ab06(0x23f)]&&(clearTimeout(this[_0x54ab06(0x23f)]),this['_collaborationTimeoutTimer']=null);}[_0x2441f9(0x3ce)](_0x142023){var _0x1895dd=_0x2441f9;if(!this[_0x1895dd(0x32c)])return;const {data:_0x15ee1f}=_0x142023,{unitID:_0x42320a,changeset:_0x1a44ae}=_0x15ee1f,{mutations:_0x9c0a3b,type:_0x33d3b2}=_0x1a44ae;this[_0x1895dd(0x238)]={'unitId':_0x42320a,'type':_0x33d3b2,'startTime':performance[_0x1895dd(0x3c0)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x9c0a3b)};}[_0x2441f9(0x38c)](){var _0x38b245=_0x2441f9;if(this[_0x38b245(0x32c)]){if(!this[_0x38b245(0x238)]){this['_logService'][_0x38b245(0x3a5)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x38b245(0x238)]['stopTime']=performance[_0x38b245(0x3c0)](),this[_0x38b245(0x238)][_0x38b245(0x224)]=this[_0x38b245(0x238)][_0x38b245(0x254)]-this[_0x38b245(0x238)][_0x38b245(0x2f6)],this[_0x38b245(0x31e)]['capture'](bs,this['_telemetryInfo']),this[_0x38b245(0x238)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x45f21b=_0x2441f9;this[_0x45f21b(0x238)]=null;}};mt=ws([Oe(0x2,_0x5a9074),Oe(0x3,_0x328306),Oe(0x4,_0x52cfb7(Pe)),Oe(0x5,_0x52cfb7(pi)),Oe(0x6,_0x52cfb7(ve)),Oe(0x7,_0x273dbc(_0x620821))],mt);const X=_0x1444ff(_0x2441f9(0x256));function Dr(_0x11f846){var _0x286b1a=_0x2441f9;return _0x286b1a(0x3b8)+_0x11f846;}var Ls=Object[_0x2441f9(0x2bc)],Ms=(_0x384c93,_0x3326c1,_0x4470f4,_0x20c6c8)=>{var _0x3ec8ec=_0x2441f9;for(var _0x3bf566=_0x20c6c8>0x1?void 0x0:_0x20c6c8?Ls(_0x3326c1,_0x4470f4):_0x3326c1,_0x5608d5=_0x384c93[_0x3ec8ec(0x158)]-0x1,_0x127c7c;_0x5608d5>=0x0;_0x5608d5--)(_0x127c7c=_0x384c93[_0x5608d5])&&(_0x3bf566=_0x127c7c(_0x3bf566)||_0x3bf566);return _0x3bf566;},ut=(_0x5db47a,_0x3c05df)=>(_0x318870,_0x435c66)=>_0x3c05df(_0x318870,_0x435c66,_0x5db47a);function xs(_0x896834){var _0x768811=_0x2441f9;const {unitID:_0x305b4a,mutations:_0x53f344}=_0x896834;return{'unitId':_0x305b4a,'subUnitId':_0x53f344[_0x768811(0x158)]>0x0?_0x53f344[0x0][_0x768811(0x311)][_0x768811(0x30f)]:null};}let it=class{constructor(_0x1b80de,_0x4e8a73,_0x27c954){var _0x38f541=_0x2441f9;this['_injector']=_0x1b80de,this[_0x38f541(0x2fc)]=_0x4e8a73,this['_instanceService']=_0x27c954;}['transformSelections'](_0x22febf){var _0x5286c5=_0x2441f9,_0x4f813a,_0x188578,_0x54eade,_0x10332a;const _0x479912=this[_0x5286c5(0x120)][_0x5286c5(0x222)](_0x3549df),{unitId:_0x1dd1a2,subUnitId:_0x2c25ae}=xs(_0x22febf),_0x34fdea=_0x479912==null?void 0x0:_0x479912[_0x5286c5(0x271)](_0x1dd1a2)['getCurrentSelections'](),_0x4a5ddc=(_0x188578=(_0x4f813a=this[_0x5286c5(0x1f7)][_0x5286c5(0x150)](_0x1dd1a2))==null?void 0x0:_0x4f813a['getActiveSheet']())==null?void 0x0:_0x188578[_0x5286c5(0x27e)]();if(_0x34fdea[_0x5286c5(0x158)]===0x0||!_0x1dd1a2||!_0x2c25ae)return;const _0x27604c=[{'id':_0x1d901d['id'],'params':{'unitId':_0x1dd1a2,'subUnitId':_0x4a5ddc,'selections':_0x46346e[_0x5286c5(0x1dd)](_0x34fdea)}}],_0x19da65=this[_0x5286c5(0x2fc)][_0x5286c5(0x163)](_0x22febf,_0x27604c);if(!_0x2633c8(_0x19da65))throw _0x19da65[_0x5286c5(0x3a5)];const _0x4b546b=(_0x10332a=(_0x54eade=_0x19da65[_0x5286c5(0x159)][0x0])==null?void 0x0:_0x54eade['params'])==null?void 0x0:_0x10332a[_0x5286c5(0x9c)];if(Array[_0x5286c5(0x394)](_0x4b546b)&&_0x4b546b[_0x5286c5(0x158)]){if(_0x4b546b[_0x5286c5(0x158)]===_0x27604c[0x0][_0x5286c5(0x311)][_0x5286c5(0x9c)][_0x5286c5(0x158)]&&_0x4b546b[_0x5286c5(0x215)]((_0x2fc8e3,_0x3720f2)=>_0x5f2389[_0x5286c5(0x247)](_0x2fc8e3[_0x5286c5(0xae)],_0x27604c[0x0][_0x5286c5(0x311)][_0x5286c5(0x9c)][_0x3720f2][_0x5286c5(0xae)])))return;this['_injector']['get'](_0x56439f)[_0x5286c5(0xab)](_0x1d901d['id'],{'unitId':_0x1dd1a2,'subUnitId':_0x4a5ddc,'selections':_0x4b546b});}}};it=Ms([ut(0x0,_0x52cfb7(_0x395e58)),ut(0x1,_0x32916a),ut(0x2,_0x1dfd8a)],it);const _t=_0x1444ff(_0x2441f9(0x1ee));var mi=(_0x42e89a=>(_0x42e89a[_0x42e89a[_0x2441f9(0x288)]=0x0]=_0x2441f9(0x288),_0x42e89a[_0x42e89a[_0x2441f9(0xc8)]=0x1]=_0x2441f9(0xc8),_0x42e89a))(mi||{});const K=_0x2441f9(0x103),ks={};function $s(_0x17a0f1){var _0x30591e=_0x2441f9,_0x1520e2;return!!((_0x1520e2=_0x17a0f1[_0x30591e(0x311)])!=null&&_0x1520e2['__splitChunk__']);}const Hs=new Set([_0x4fefa1['id']]);function Vt(_0x4284b0,_0x2bf180,_0x9a3115,_0x31e8dd,_0x25fedd){var _0x2a7cfa=_0x2441f9,_0x5894eb,_0x1015e1,_0x3fe264,_0x98ba0f;const _0x1dbf55=[];for(const _0x20fccc of _0x4284b0){if(Hs[_0x2a7cfa(0x135)](_0x20fccc['id'])){if(_0x1dbf55['length']>0x0)break;_0x1dbf55['push'](_0x20fccc);break;}if($s(_0x20fccc)){if(_0x1dbf55[_0x2a7cfa(0x158)]>0x0)break;_0x1dbf55['push'](_0x20fccc);break;}_0x1dbf55['push'](_0x20fccc);}const _0x35f456=(_0x1015e1=(_0x5894eb=_0x25fedd[_0x2a7cfa(0x2c1)]())==null?void 0x0:_0x5894eb[_0x2a7cfa(0x210)])!=null?_0x1015e1:_0x2a7cfa(0x36f),_0xf90caf=(_0x98ba0f=(_0x3fe264=_0x25fedd['getCurrentUser']())==null?void 0x0:_0x3fe264[_0x2a7cfa(0xdf)])!=null?_0x98ba0f:_0x2a7cfa(0x36f);return{'changeset':{'unitID':_0x2bf180,'type':_0x3ac6c3(_0x9a3115[_0x2a7cfa(0x1d5)](_0x2bf180)),'baseRev':_0x31e8dd[_0x2a7cfa(0x320)](_0x2bf180),'revision':0x0,'userID':_0x35f456,'memberID':_0xf90caf,'mutations':_0x1dbf55},'pendingMutations':_0x4284b0[_0x2a7cfa(0x1c0)](_0x1dbf55['length'])};}function Bs(_0x2e1922,_0x5b06f0,_0x4bcfd2,_0x213c60,_0x26770d){var _0x1b99cd=_0x2441f9,_0x302494,_0x14979f,_0x4e8a28,_0x458f69;const _0x5c2e5c=[_0x2e1922[_0x1b99cd(0x251)]((_0x163d2a,_0x494858)=>{var _0x39d6d3=_0x1b99cd,_0x52e104;const {id:_0x8da7f7}=_0x163d2a,{id:_0x5f4bd2,type:_0x259340}=_0x494858,_0x14d155=(_0x52e104=_0x163d2a['params'])!=null?_0x52e104:{'actions':null},_0x300b36=_0x494858[_0x39d6d3(0x311)];if(_0x8da7f7&&_0x8da7f7!==_0x5f4bd2)throw new Error(_0x39d6d3(0x279)+_0x8da7f7+_0x39d6d3(0x2f1)+_0x5f4bd2+'.');return{..._0x163d2a,'id':_0x5f4bd2,'type':_0x259340,'params':{'unitId':_0x300b36[_0x39d6d3(0x27d)],'textRanges':_0x300b36[_0x39d6d3(0xba)],'actions':_0x3a6f99[_0x39d6d3(0x263)](_0x14d155[_0x39d6d3(0x2a8)],_0x300b36[_0x39d6d3(0x2a8)])}};},{})],_0x8ebbf9=(_0x14979f=(_0x302494=_0x26770d[_0x1b99cd(0x2c1)]())==null?void 0x0:_0x302494[_0x1b99cd(0x210)])!=null?_0x14979f:_0x1b99cd(0x36f),_0x1eeac6=(_0x458f69=(_0x4e8a28=_0x26770d[_0x1b99cd(0x2c1)]())==null?void 0x0:_0x4e8a28[_0x1b99cd(0xdf)])!=null?_0x458f69:'unknown';return{'changeset':{'unitID':_0x5b06f0,'type':_0x3ac6c3(_0x4bcfd2[_0x1b99cd(0x1d5)](_0x5b06f0)),'baseRev':_0x213c60[_0x1b99cd(0x320)](_0x5b06f0),'revision':0x0,'userID':_0x8ebbf9,'memberID':_0x1eeac6,'mutations':_0x5c2e5c},'pendingMutations':[]};}function Ii(_0x379a71,_0x11518e){var _0x51d395=_0x2441f9;const _0x3b2f74=new _0xece793(0x1);return setTimeout(()=>_0x3b2f74['next'](_0x11518e),_0x379a71),_0x3b2f74[_0x51d395(0xee)]()[_0x51d395(0x3b2)](_0xcec3bf(0x1));}var Fs=Object[_0x2441f9(0x2bc)],Se=(_0x5bbe7b,_0x49f445,_0x31f728,_0x9a01f6)=>{var _0x164fdf=_0x2441f9;for(var _0x438f94=_0x9a01f6>0x1?void 0x0:_0x9a01f6?Fs(_0x49f445,_0x31f728):_0x49f445,_0x5d6da8=_0x5bbe7b[_0x164fdf(0x158)]-0x1,_0x2def99;_0x5d6da8>=0x0;_0x5d6da8--)(_0x2def99=_0x5bbe7b[_0x5d6da8])&&(_0x438f94=_0x2def99(_0x438f94)||_0x438f94);return _0x438f94;},w=(_0x2b445d,_0x15e67c)=>(_0x4d4826,_0x1220c3)=>_0x15e67c(_0x4d4826,_0x1220c3,_0x2b445d),Si=(_0x1df4bc=>(_0x1df4bc[_0x2441f9(0x236)]=_0x2441f9(0x2ff),_0x1df4bc[_0x2441f9(0x218)]=_0x2441f9(0x105),_0x1df4bc[_0x2441f9(0x18d)]=_0x2441f9(0x337),_0x1df4bc[_0x2441f9(0x282)]=_0x2441f9(0x106),_0x1df4bc['AWAITING_WITH_PENDING']=_0x2441f9(0xcb),_0x1df4bc['FETCH_MISS']=_0x2441f9(0x3ae),_0x1df4bc[_0x2441f9(0x2e9)]=_0x2441f9(0x171),_0x1df4bc[_0x2441f9(0xbe)]='offline',_0x1df4bc))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x38015f,_0x2817a4,_0x5cccbb,_0x3a20eb,_0x3bd30c,_0xcfffd9,_0x5c2252,_0x3cc153,_0x2e411a){var _0x4a6dd2=_0x2441f9;D(this,'_awaitingChangeset',null),D(this,_0x4a6dd2(0x33d),[]),(this[_0x4a6dd2(0x39c)]=_0x38015f,this[_0x4a6dd2(0x34a)]=_0x2817a4,this[_0x4a6dd2(0x302)]=_0x3bd30c,this[_0x4a6dd2(0xfd)]=_0xcfffd9,this[_0x4a6dd2(0x32a)]=_0x5c2252,this[_0x4a6dd2(0x1cc)]=_0x3cc153,this[_0x4a6dd2(0x97)]=_0x2e411a,this[_0x4a6dd2(0x293)]=_0x5cccbb,this[_0x4a6dd2(0x33d)]=_0x3a20eb);}['_checkMissing'](_0x2faa93){var _0x4bcd71=_0x2441f9;const _0x4b0a88=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4bcd71(0x39c)]);return _0x2faa93[_0x4bcd71(0x191)]>_0x4b0a88+0x1?(this['_handler'][_0x4bcd71(0x199)]({'from':_0x4b0a88,'to':_0x2faa93[_0x4bcd71(0x191)]-0x1}),!0x0):!0x1;}[_0x2441f9(0x275)](_0x591d28){var _0x3b63da=_0x2441f9;this[_0x3b63da(0x32a)]['transformUndoRedo'](this['unitID'],_0x591d28);}[_0x2441f9(0x204)](_0x9552df){var _0x28b641=_0x2441f9,_0x4f505c,_0x5beb3a;(_0x5beb3a=(_0x4f505c=this[_0x28b641(0x302)])[_0x28b641(0x136)])==null||_0x5beb3a[_0x28b641(0x2db)](_0x4f505c,_0x9552df);}['_transformIMECache'](_0x4b1d96){var _0x1d00a1=_0x2441f9,_0x18532d,_0x2ce504;return(_0x2ce504=(_0x18532d=this[_0x1d00a1(0x302)])['onTransformIME'])==null?void 0x0:_0x2ce504[_0x1d00a1(0x2db)](_0x18532d,_0x4b1d96);}['_transformStateCache'](_0x9d0aaa){var _0x17db28=_0x2441f9,_0xa84096,_0x5c8a6f;return(_0x5c8a6f=(_0xa84096=this[_0x17db28(0x302)])['onTransformState'])==null?void 0x0:_0x5c8a6f['call'](_0xa84096,_0x9d0aaa);}[_0x2441f9(0x1d1)](_0x493fc7){var _0x3eaf12=_0x2441f9,_0x21f222,_0x1b89cb,_0x28a48e;return(_0x28a48e=(_0x1b89cb=(_0x21f222=this[_0x3eaf12(0x302)])[_0x3eaf12(0x27f)])==null?void 0x0:_0x1b89cb[_0x3eaf12(0x2db)](_0x21f222,_0x493fc7))!=null?_0x28a48e:_0x493fc7;}[_0x2441f9(0xbc)](_0x205b97){var _0x41f3d9=_0x2441f9,_0x424460,_0x3a32a0,_0x2d3f33;return(_0x2d3f33=(_0x3a32a0=(_0x424460=this[_0x41f3d9(0x302)])[_0x41f3d9(0x299)])==null?void 0x0:_0x3a32a0[_0x41f3d9(0x2db)](_0x424460,_0x205b97))!=null?_0x2d3f33:_0x205b97;}[_0x2441f9(0x386)](_0x442c3b){var _0x4d8eb6=_0x2441f9,_0x20605d,_0x2a5506;if(this[_0x4d8eb6(0x34a)]===Q['UNIVER_DOC']){const {unitID:_0x6fce4f,mutations:_0x3fcf0b,memberID:_0x32c045}=_0x442c3b,_0x2e68ff=_0x3fcf0b[_0x4d8eb6(0x158)]>0x0?_0x3fcf0b[0x0][_0x4d8eb6(0x311)][_0x4d8eb6(0xba)]:[];Array[_0x4d8eb6(0x394)](_0x2e68ff)&&_0x2e68ff[_0x4d8eb6(0x158)]>0x0&&((_0x2a5506=(_0x20605d=this[_0x4d8eb6(0x302)])[_0x4d8eb6(0x151)])==null||_0x2a5506[_0x4d8eb6(0x2db)](_0x20605d,{'unitID':_0x6fce4f,'memberID':_0x32c045,'textRanges':_0x2e68ff}));}}[_0x2441f9(0xd3)](){var _0xb83a50=_0x2441f9,_0x54e165;(_0x54e165=this[_0xb83a50(0x97)])==null||_0x54e165[_0xb83a50(0x2b1)](this[_0xb83a50(0x39c)],this[_0xb83a50(0x34a)],this[_0xb83a50(0x293)],this['_pendingMutations']);}[_0x2441f9(0x95)](){var _0x46274e=_0x2441f9;return this[_0x46274e(0x1cc)]['getCurrentRevOfUnit'](this[_0x46274e(0x39c)]);}['_incrementRevisionNumber'](){var _0x3d5d4e=_0x2441f9;this[_0x3d5d4e(0x1cc)][_0x3d5d4e(0x180)](this[_0x3d5d4e(0x39c)]);}[_0x2441f9(0xb9)](_0x346713){var _0x3da9a6=_0x2441f9,_0x43a3f9;let _0x35e250=this['_transformRemoteChangesetByIMECache'](_0x346713);_0x35e250=this['_transformRemoteChangesetByStateCache'](_0x35e250);const _0x49e03c=_0x5c4f7a(_0x35e250['mutations'],this[_0x3da9a6(0xfd)],{'fromCollab':!0x0});if(!_0x49e03c[_0x3da9a6(0x181)])throw _0x49e03c[_0x3da9a6(0x3a5)]instanceof Error?_0x49e03c['error']:new Error((_0x43a3f9=_0x49e03c['error'])!=null?_0x43a3f9:_0x3da9a6(0x2f4));this[_0x3da9a6(0x11c)](_0x35e250),this[_0x3da9a6(0x17a)](_0x35e250),this[_0x3da9a6(0x275)](_0x346713),this[_0x3da9a6(0x204)](_0x35e250),this['_syncEditingCollabCursor'](_0x35e250),this[_0x3da9a6(0x21d)]();}}let be=class extends ge{constructor(_0x51e1e4,_0xa9b38c,_0x34b7f1,_0x5a1d78,_0x516a0c,_0x9ce278,_0x20e5e1,_0x456413,_0x480883,_0x3f8504){var _0x1f690a=_0x2441f9;super(_0x51e1e4,_0xa9b38c,null,[],_0x34b7f1,_0x20e5e1,_0x9ce278,_0x5a1d78,_0x3f8504),D(this,_0x1f690a(0xe7),'synced'),(this[_0x1f690a(0x120)]=_0x516a0c,this[_0x1f690a(0x1f3)]=_0x456413,this['_transformService']=_0x480883,this['localCacheService']=_0x3f8504);}[_0x2441f9(0x9a)](_0x74849b){var _0x145bc1=_0x2441f9;const _0x2e42ca=this['_injector']['createInstance'](ae,this[_0x145bc1(0x39c)],this[_0x145bc1(0x34a)],[_0x74849b],this[_0x145bc1(0x302)]);return _0x2e42ca[_0x145bc1(0x2a7)](),_0x2e42ca['_updateLocalCache'](),_0x2e42ca;}[_0x2441f9(0xe8)](_0x345d60){var _0x4ad51c=_0x2441f9;if(this[_0x4ad51c(0xc5)](_0x345d60))return this[_0x4ad51c(0x120)][_0x4ad51c(0x29e)](ee,this[_0x4ad51c(0x39c)],this[_0x4ad51c(0x34a)],null,[],null,[_0x345d60],this[_0x4ad51c(0x302)]);try{const _0x526f91=this[_0x4ad51c(0x2fc)]['transformMutationsWithChangeset'](_0x345d60,[_0x3dc826]);if(_0x2633c8(_0x526f91)){const {c1Prime:_0xd65a11}=_0x526f91;return this['_executeRemoteChangeset'](_0xd65a11),this;}throw _0x526f91['error'];}catch(_0x4a4086){return this[_0x4ad51c(0x1f3)][_0x4ad51c(0x3a5)](_0x4a4086),this[_0x4ad51c(0x39b)](!0x1);}}[_0x2441f9(0x39b)](_0x5db22a){var _0x2e4d4a=_0x2441f9;return this[_0x2e4d4a(0x120)][_0x2e4d4a(0x29e)](ue,this[_0x2e4d4a(0x39c)],this[_0x2e4d4a(0x34a)],null,[],this[_0x2e4d4a(0x302)],_0x5db22a);}[_0x2441f9(0x14f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2441f9(0x2a2)](){var _0xf2a02e=_0x2441f9;throw new Error(_0xf2a02e(0x355));}[_0x2441f9(0x2fa)](){return this;}[_0x2441f9(0x347)](){var _0x80ae9a=_0x2441f9;return this[_0x80ae9a(0x120)]['createInstance'](de,this[_0x80ae9a(0x39c)],this[_0x80ae9a(0x34a)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x2441f9(0x284)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x6951c4=_0x2441f9;const _0x2d271a=this[_0x6951c4(0x1cc)]['getCurrentRevOfUnit'](this[_0x6951c4(0x39c)]);return this[_0x6951c4(0x302)][_0x6951c4(0x199)]({'from':_0x2d271a,'to':0x0}),this[_0x6951c4(0x120)][_0x6951c4(0x29e)](ee,this[_0x6951c4(0x39c)],this[_0x6951c4(0x34a)],null,[],null,[],this[_0x6951c4(0x302)]);}};be=Se([w(0x3,_0x52cfb7(_0x468892)),w(0x4,_0x52cfb7(_0x395e58)),w(0x5,_0x2e0c07),w(0x6,_0x56439f),w(0x7,_0x5a9074),w(0x8,_0x32916a),w(0x9,_0x273dbc(X))],be);let ae=class extends ge{constructor(_0x5cdf7f,_0x5beb03,_0x18c045,_0x7ac745,_0x2ecd9d,_0x552767,_0xaa3bcb,_0x1713b5,_0x37131f,_0x3393fd,_0x25207a,_0x344ec6,_0x473a8c,_0x25ebda){var _0x113fa4=_0x2441f9;super(_0x5cdf7f,_0x5beb03,null,_0x18c045,_0x7ac745,_0x37131f,_0x473a8c,_0x552767,_0x25ebda),D(this,'status',_0x113fa4(0x337)),D(this,_0x113fa4(0x2e7),null),D(this,'_sendingTimer',null),(this[_0x113fa4(0x120)]=_0x2ecd9d,this[_0x113fa4(0x188)]=_0xaa3bcb,this[_0x113fa4(0x1f3)]=_0x1713b5,this[_0x113fa4(0x137)]=_0x3393fd,this[_0x113fa4(0x2fc)]=_0x25207a,this['_univerInstanceService']=_0x344ec6);}['appendMutation'](_0x2a9493){var _0x23aa0a=_0x2441f9;return this['_pendingMutations'][_0x23aa0a(0x2d9)](_0x2a9493),this[_0x23aa0a(0xd3)](),this;}[_0x2441f9(0xe8)](_0x104385){var _0x15a427=_0x2441f9;if(this['_checkMissing'](_0x104385))return this[_0x15a427(0x166)](),this[_0x15a427(0x120)][_0x15a427(0x29e)](ee,this[_0x15a427(0x39c)],this[_0x15a427(0x34a)],null,this[_0x15a427(0x33d)],null,[_0x104385],this[_0x15a427(0x302)]);try{const _0x211f68=this[_0x15a427(0x2fc)]['transformMutationsWithChangeset'](_0x104385,this[_0x15a427(0x33d)]);if(_0x2633c8(_0x211f68)){const {c1Prime:_0x632781,m2Prime:_0x22f0a5}=_0x211f68;this[_0x15a427(0xb9)](_0x632781);const _0x3e87e9=this[_0x15a427(0x120)][_0x15a427(0x29e)](ae,this[_0x15a427(0x39c)],this['type'],_0x22f0a5,this[_0x15a427(0x302)]);this[_0x15a427(0x166)]();const _0x3c1c39=new Date()['getTime'](),_0x35d501=this[_0x15a427(0x2e7)]?Math['max'](this[_0x15a427(0x2e7)]-_0x3c1c39,0x0):this[_0x15a427(0xc0)]();return _0x3e87e9[_0x15a427(0x2a7)](_0x35d501),_0x3e87e9;}throw _0x211f68[_0x15a427(0x3a5)];}catch(_0xdc254d){return this[_0x15a427(0x1f3)][_0x15a427(0x3a5)](_0xdc254d),this[_0x15a427(0x39b)](!0x1);}}[_0x2441f9(0x14f)](){var _0x48e606=_0x2441f9;throw new Error(_0x48e606(0x2ae));}[_0x2441f9(0x2a2)](){var _0x5ba419=_0x2441f9;throw new Error(_0x5ba419(0x37e));}[_0x2441f9(0x2fa)](){return this;}[_0x2441f9(0x347)](){var _0x5d81c0=_0x2441f9;return this['_clearScheduledTask'](),this[_0x5d81c0(0x120)][_0x5d81c0(0x29e)](de,this['unitID'],this[_0x5d81c0(0x34a)],null,this[_0x5d81c0(0x33d)],this[_0x5d81c0(0x302)]);}[_0x2441f9(0x2b5)](){return this;}['_schedule'](_0x5e2b23){var _0x512220=_0x2441f9;const _0x347f09=_0x5e2b23!=null?_0x5e2b23:this[_0x512220(0xc0)]();this['_scheduleCompleteTimestamp']=new Date()[_0x512220(0x16f)]()+_0x347f09,this['_sendingTimer']=setTimeout(()=>{var _0x562214=_0x512220;this[_0x562214(0x166)]();let _0x2ed1dd=null;switch(this[_0x562214(0x34a)]){case Q['UNIVER_SHEET']:{_0x2ed1dd=Vt(this['_pendingMutations'],this[_0x562214(0x39c)],this[_0x562214(0x189)],this[_0x562214(0x1cc)],this['_memberService']);break;}case Q[_0x562214(0x1e5)]:{this[_0x562214(0x33d)][_0x562214(0x215)](_0xafd148=>_0xafd148['id']===_0x203027['id'])?_0x2ed1dd=Bs(this[_0x562214(0x33d)],this[_0x562214(0x39c)],this[_0x562214(0x189)],this['_revisionService'],this[_0x562214(0x188)]):_0x2ed1dd=Vt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x562214(0x1cc)],this[_0x562214(0x188)]);break;}default:throw new Error(_0x562214(0x1f5)+this[_0x562214(0x34a)]+'\x20in\x20_schedule.');}const {changeset:_0x364bbb,pendingMutations:_0x3e94a9}=_0x2ed1dd;this['_handler'][_0x562214(0xb7)](_0x364bbb);const _0x31f707=_0x3e94a9[_0x562214(0x158)]?this[_0x562214(0x120)][_0x562214(0x29e)](oe,this[_0x562214(0x39c)],this[_0x562214(0x34a)],_0x364bbb,_0x3e94a9,this['_handler'],void 0x0):this[_0x562214(0x120)][_0x562214(0x29e)](le,this[_0x562214(0x39c)],this[_0x562214(0x34a)],_0x364bbb,this['_handler']);_0x31f707[_0x562214(0xd3)](),this['_handler']['onStateChange'](this,_0x31f707);},_0x347f09);}[_0x2441f9(0xc0)](){var _0x45f96a=_0x2441f9,_0x3e9fe1;const _0x1a4146=this['_configService'][_0x45f96a(0xb4)](K);return(_0x3e9fe1=_0x1a4146==null?void 0x0:_0x1a4146['sendChangesetTimeout'])!=null?_0x3e9fe1:ms;}[_0x2441f9(0x284)](){var _0x49f8aa=_0x2441f9;throw new Error(_0x49f8aa(0x36e));}[_0x2441f9(0x166)](){var _0x41488c=_0x2441f9;this[_0x41488c(0x14d)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x41488c(0x14d)]=null);}[_0x2441f9(0x39b)](_0x36ffa0){var _0x478015=_0x2441f9;return this['_clearScheduledTask'](),this[_0x478015(0x120)][_0x478015(0x29e)](ue,this[_0x478015(0x39c)],this[_0x478015(0x34a)],null,this[_0x478015(0x33d)],this['_handler'],_0x36ffa0);}};ae=Se([w(0x4,_0x52cfb7(_0x395e58)),w(0x5,_0x52cfb7(_0x468892)),w(0x6,_0x52cfb7(Pe)),w(0x7,_0x5a9074),w(0x8,_0x56439f),w(0x9,_0x328306),w(0xa,_0x32916a),w(0xb,_0x1dfd8a),w(0xc,_0x2e0c07),w(0xd,_0x273dbc(X))],ae);let le=class extends ge{constructor(_0x466f54,_0x30bb93,_0x475a1e,_0xcf6b78,_0x7d9747,_0x22616c,_0x1fd6a7,_0x1f2dbb,_0x401866,_0x444f04,_0x4a7f9c){var _0x36c1c3=_0x2441f9;super(_0x466f54,_0x30bb93,_0x475a1e,[],_0xcf6b78,_0x1fd6a7,_0x444f04,_0x22616c,_0x4a7f9c),D(this,_0x36c1c3(0xe7),_0x36c1c3(0x106)),D(this,_0x36c1c3(0x35f),0x0),D(this,_0x36c1c3(0x362),0x0),D(this,'_resendTimer'),D(this,_0x36c1c3(0x30c)),(this['_injector']=_0x7d9747,this[_0x36c1c3(0x1f3)]=_0x1f2dbb,this[_0x36c1c3(0x2fc)]=_0x401866);}[_0x2441f9(0x9a)](_0x4e8825){var _0x59370f=_0x2441f9;this['_clearScheduledTask']();const _0x57f841=this[_0x59370f(0x120)][_0x59370f(0x29e)](oe,this[_0x59370f(0x39c)],this[_0x59370f(0x34a)],this[_0x59370f(0x293)],[_0x4e8825],this['_handler'],this[_0x59370f(0x306)]);return _0x57f841['_updateLocalCache'](),_0x57f841;}[_0x2441f9(0xe8)](_0x543549){var _0x315f68=_0x2441f9;if(this['_checkMissing'](_0x543549))return this[_0x315f68(0x166)](),this['_injector'][_0x315f68(0x29e)](ee,this[_0x315f68(0x39c)],this[_0x315f68(0x34a)],this[_0x315f68(0x293)],[],null,[_0x543549],this[_0x315f68(0x302)]);try{const _0x34a975=this[_0x315f68(0x2fc)][_0x315f68(0x3be)]([_0x543549],[this[_0x315f68(0x293)]],!0x1);if(_0x13a7a8(_0x34a975)){const {c1Prime:_0x5d3f8e,c2Prime:_0x623b5f}=_0x34a975;this[_0x315f68(0xb9)](_0x5d3f8e[0x0]),_0x623b5f[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x315f68(0x166)]();const _0x1592ce=this['_injector'][_0x315f68(0x29e)](le,this[_0x315f68(0x39c)],this[_0x315f68(0x34a)],_0x623b5f[0x0],this[_0x315f68(0x302)]);return _0x1592ce[_0x315f68(0xd3)](),_0x1592ce;}return this['_onConflict'](!0x1);}catch(_0x2055b9){return this['_logService'][_0x315f68(0x3a5)](_0x2055b9),this['_onConflict'](!0x1);}}[_0x2441f9(0x14f)](_0xc28d77){var _0x4733c2=_0x2441f9;this[_0x4733c2(0x166)]();const _0x39d21d=this[_0x4733c2(0x1cc)]['getCurrentRevOfUnit'](this[_0x4733c2(0x39c)]);if(_0xc28d77['revision']<_0x39d21d-0x1)return this;if(this[_0x4733c2(0xc5)](_0xc28d77))return this['_injector'][_0x4733c2(0x29e)](ee,this[_0x4733c2(0x39c)],this['type'],null,[],this[_0x4733c2(0x293)],[],this[_0x4733c2(0x302)]);this[_0x4733c2(0x21d)]();const _0x276829=this['_injector'][_0x4733c2(0x29e)](be,this['unitID'],this[_0x4733c2(0x34a)],this[_0x4733c2(0x302)]);return _0x276829[_0x4733c2(0xd3)](),_0x276829;}[_0x2441f9(0x2a2)](_0x27f817){var _0x397353=_0x2441f9;return this[_0x397353(0x39b)](!!(_0x27f817!=null&&_0x27f817[_0x397353(0x324)]));}[_0x2441f9(0x2fa)](_0x2e4408){var _0x173645=_0x2441f9;return this[_0x173645(0x362)]>Ti?this['toggleOffline']():(this[_0x173645(0x306)]=Ii(this[_0x173645(0x35f)],{'timeout':this[_0x173645(0x35f)],'reqId':_0x2e4408[_0x173645(0xed)]}),this['_sender']=this[_0x173645(0x306)][_0x173645(0x34f)](({reqId:_0x4404c3,timeout:_0x20e516})=>{var _0x2f5e95=_0x173645;this[_0x2f5e95(0x243)](_0x4404c3,_0x20e516);}),this);}['toggleOffline'](){var _0x445548=_0x2441f9;return this['_clearScheduledTask'](),this[_0x445548(0x120)]['createInstance'](de,this[_0x445548(0x39c)],this[_0x445548(0x34a)],this[_0x445548(0x293)],[],this[_0x445548(0x302)]);}[_0x2441f9(0x2b5)](){return this;}[_0x2441f9(0x284)](){var _0x1d7027=_0x2441f9;this[_0x1d7027(0x302)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x2441f9(0x39b)](_0x1d07be){var _0x119eab=_0x2441f9;return this[_0x119eab(0x166)](),this[_0x119eab(0x120)]['createInstance'](ue,this['unitID'],this[_0x119eab(0x34a)],this[_0x119eab(0x293)],[],this[_0x119eab(0x302)],_0x1d07be);}[_0x2441f9(0x243)](_0x519fc1,_0xa772ee){var _0x37fe3e=_0x2441f9,_0x44ae72;_0x519fc1===((_0x44ae72=this[_0x37fe3e(0x293)])==null?void 0x0:_0x44ae72['reqId'])&&(this[_0x37fe3e(0x284)](),this[_0x37fe3e(0x35f)]=_0xa772ee===0x0?0x3e8:Math[_0x37fe3e(0x164)](_0xa772ee*0x2,gi),this[_0x37fe3e(0x362)]+=this['_resendTimeout']);}[_0x2441f9(0x166)](){var _0x3ff05c=_0x2441f9,_0x34d63f;(_0x34d63f=this['_sender'])==null||_0x34d63f[_0x3ff05c(0x290)](),this['_resendTimeout']=0x0,this[_0x3ff05c(0x362)]=0x0;}};le=Se([w(0x4,_0x52cfb7(_0x395e58)),w(0x5,_0x52cfb7(_0x468892)),w(0x6,_0x56439f),w(0x7,_0x5a9074),w(0x8,_0x32916a),w(0x9,_0x2e0c07),w(0xa,_0x273dbc(X))],le);let oe=class extends ge{constructor(_0x263516,_0x20b845,_0x132dc8,_0x3c16d0,_0x174535,_0x405ccf,_0x1fdd60,_0x5921f7,_0x5ad588,_0x5304c2,_0xfb5fc4,_0xb93827,_0x69456c){var _0x435d38=_0x2441f9;super(_0x263516,_0x20b845,_0x132dc8,_0x3c16d0,_0x174535,_0x5ad588,_0xb93827,_0x5921f7,_0x69456c),D(this,'status','awaiting_with_pending'),D(this,'_resendTimeout',0x0),D(this,'_maxTotalRetryTimeout',0x0),D(this,_0x435d38(0x306)),D(this,'_sender'),(this[_0x435d38(0x120)]=_0x1fdd60,this[_0x435d38(0x1f3)]=_0x5304c2,this[_0x435d38(0x2fc)]=_0xfb5fc4,this[_0x435d38(0x12b)]=_0x69456c,_0x405ccf&&(this[_0x435d38(0x306)]=_0x405ccf,this[_0x435d38(0x30c)]=this['_resendTimer'][_0x435d38(0x34f)](({reqId:_0x1381e7,timeout:_0x76b124})=>{this['_resendWithTimeout'](_0x1381e7,_0x76b124);})));}['appendMutation'](_0x58c2ef){var _0x3b2fa=_0x2441f9;return this[_0x3b2fa(0x33d)]['push'](_0x58c2ef),this;}[_0x2441f9(0xe8)](_0x38b14d){var _0xfd7d62=_0x2441f9;if(this[_0xfd7d62(0xc5)](_0x38b14d))return this[_0xfd7d62(0x166)](),this[_0xfd7d62(0x120)]['createInstance'](ee,this[_0xfd7d62(0x39c)],this['type'],this[_0xfd7d62(0x293)],this[_0xfd7d62(0x33d)],null,[_0x38b14d],this[_0xfd7d62(0x302)]);try{const _0x3d8569=this[_0xfd7d62(0x2fc)]['transformChangesets']([_0x38b14d],[this[_0xfd7d62(0x293)]],!0x1);if(_0x13a7a8(_0x3d8569)){const {c1Prime:_0x570a5d,c2Prime:_0x57d972}=_0x3d8569,_0x460bb8=this[_0xfd7d62(0x2fc)][_0xfd7d62(0x163)](_0x570a5d[0x0],this[_0xfd7d62(0x33d)]);if(_0x2633c8(_0x460bb8)){const {c1Prime:_0x1acb1e,m2Prime:_0x1a340c}=_0x460bb8;return this[_0xfd7d62(0xb9)](_0x1acb1e),_0x57d972[0x0][_0xfd7d62(0x3b4)]=this[_0xfd7d62(0x95)](),this[_0xfd7d62(0x166)](),this[_0xfd7d62(0x120)][_0xfd7d62(0x29e)](oe,this[_0xfd7d62(0x39c)],this[_0xfd7d62(0x34a)],_0x57d972[0x0],_0x1a340c,this[_0xfd7d62(0x302)],void 0x0);}throw _0x460bb8[_0xfd7d62(0x3a5)];}throw _0x3d8569['error'];}catch(_0x30e57c){return this[_0xfd7d62(0x1f3)][_0xfd7d62(0x3a5)](_0x30e57c),this[_0xfd7d62(0x39b)](!0x1);}}[_0x2441f9(0x14f)](_0x11b9b8){var _0x47c541=_0x2441f9;if(this[_0x47c541(0x166)](),this[_0x47c541(0xc5)](_0x11b9b8))return this['_injector'][_0x47c541(0x29e)](ee,this[_0x47c541(0x39c)],this[_0x47c541(0x34a)],null,this[_0x47c541(0x33d)],this['_awaitingChangeset'],[],this[_0x47c541(0x302)]);this['_incrementRevisionNumber']();const _0xa54ce9=this[_0x47c541(0x120)]['createInstance'](ae,this[_0x47c541(0x39c)],this[_0x47c541(0x34a)],this[_0x47c541(0x33d)],this[_0x47c541(0x302)]);return _0xa54ce9[_0x47c541(0x2a7)](),_0xa54ce9[_0x47c541(0xd3)](),_0xa54ce9;}[_0x2441f9(0x2a2)](_0x415547){var _0x415321=_0x2441f9;return this[_0x415321(0x39b)](!!(_0x415547!=null&&_0x415547[_0x415321(0x324)]));}[_0x2441f9(0x2fa)](_0xac52e1){var _0x5db781=_0x2441f9;return this[_0x5db781(0x362)]>Ti?this[_0x5db781(0x347)]():(this['_resendTimer']=Ii(this['_resendTimeout'],{'timeout':this[_0x5db781(0x35f)],'reqId':_0xac52e1[_0x5db781(0xed)]}),this['_sender']=this[_0x5db781(0x306)][_0x5db781(0x34f)](({reqId:_0x499e20,timeout:_0x4f379d})=>{var _0x5e36f2=_0x5db781;this[_0x5e36f2(0x243)](_0x499e20,_0x4f379d);}),this);}['toggleOffline'](){var _0x4c234c=_0x2441f9;return this['_clearScheduledTask'](),this[_0x4c234c(0x120)][_0x4c234c(0x29e)](de,this['unitID'],this[_0x4c234c(0x34a)],this[_0x4c234c(0x293)],this[_0x4c234c(0x33d)],this[_0x4c234c(0x302)]);}[_0x2441f9(0x2b5)](){return this;}[_0x2441f9(0x284)](){var _0x41f0da=_0x2441f9;this['_handler']['onSendChangeset'](this[_0x41f0da(0x293)]);}[_0x2441f9(0x39b)](_0x311d15){var _0x336dfe=_0x2441f9;return this['_clearScheduledTask'](),this[_0x336dfe(0x120)][_0x336dfe(0x29e)](ue,this[_0x336dfe(0x39c)],this['type'],null,this['_pendingMutations'],this[_0x336dfe(0x302)],_0x311d15);}[_0x2441f9(0x243)](_0x3e9290,_0x3a4a3c){var _0x3fc514=_0x2441f9,_0xfa9fa6;_0x3e9290===((_0xfa9fa6=this[_0x3fc514(0x293)])==null?void 0x0:_0xfa9fa6[_0x3fc514(0xed)])&&(this['resend'](),this[_0x3fc514(0x35f)]=_0x3a4a3c===0x0?0x3e8:Math[_0x3fc514(0x164)](_0x3a4a3c*0x2,gi),this[_0x3fc514(0x362)]+=this[_0x3fc514(0x35f)]);}[_0x2441f9(0x166)](){var _0x129b01=_0x2441f9,_0x272fda;(_0x272fda=this[_0x129b01(0x30c)])==null||_0x272fda['unsubscribe'](),this[_0x129b01(0x35f)]=0x0,this[_0x129b01(0x362)]=0x0;}};oe=Se([w(0x6,_0x52cfb7(_0x395e58)),w(0x7,_0x52cfb7(_0x468892)),w(0x8,_0x56439f),w(0x9,_0x5a9074),w(0xa,_0x32916a),w(0xb,_0x2e0c07),w(0xc,_0x273dbc(X))],oe);let ue=class extends ge{constructor(_0x30cd5e,_0x1fe3d9,_0x40cf46,_0x52d317,_0x54f220,_0x2d884c=!0x1,_0x4d2506,_0x41d74b,_0x1c5575,_0x4db67d,_0x47e9e1,_0x42c190,_0x49802d){var _0x5845f=_0x2441f9;super(_0x30cd5e,_0x1fe3d9,_0x40cf46,_0x52d317,_0x54f220,_0x41d74b,_0x1c5575,_0x4db67d,_0x49802d),D(this,_0x5845f(0xe7),_0x5845f(0x171)),(this[_0x5845f(0x21c)]=_0x2d884c,this['_permissionService']=_0x4d2506,this[_0x5845f(0x9e)]=_0x47e9e1,this[_0x5845f(0x3cd)]=_0x42c190,this[_0x5845f(0x12b)]=_0x49802d,this[_0x5845f(0x376)](),this[_0x5845f(0xa3)](),this[_0x5845f(0x16b)]());}['appendMutation'](){return this;}[_0x2441f9(0xe8)](){return this;}[_0x2441f9(0x14f)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2441f9(0x2b5)](){return this;}[_0x2441f9(0x284)](){var _0x4798ee=_0x2441f9;throw new Error(_0x4798ee(0x217));}[_0x2441f9(0xa3)](){var _0x172d32=_0x2441f9,_0x1420af;(_0x1420af=this[_0x172d32(0x97)])==null||_0x1420af[_0x172d32(0x2b1)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x4f7b51=_0x2441f9;this[_0x4f7b51(0x21c)]?this[_0x4f7b51(0x3cd)]['emitEvent']({'id':re[_0x4f7b51(0x112)]}):this[_0x4f7b51(0x3cd)][_0x4f7b51(0x31f)]({'id':re[_0x4f7b51(0x2e9)]});}[_0x2441f9(0x16b)](){var _0x3fbf9c=_0x2441f9;this['_permissionService']['updatePermissionPoint'](new _0x3c8993(this[_0x3fbf9c(0x39c)])['id'],!0x1);}};ue=Se([w(0x6,_0x52cfb7(_0x9ee13b)),w(0x7,_0x56439f),w(0x8,_0x2e0c07),w(0x9,_0x52cfb7(_0x468892)),w(0xa,_0x52cfb7(_0x4150d5)),w(0xb,_0x52cfb7(ve)),w(0xc,_0x273dbc(X))],ue);let de=class extends ge{constructor(_0x3dc4d0,_0x295d56,_0x48728e,_0x5095ce,_0x41a6ea,_0x5e7625,_0x37f5c9,_0xa30f4,_0x4c1e84,_0x3e2f00){var _0x1d623d=_0x2441f9;super(_0x3dc4d0,_0x295d56,_0x48728e,_0x5095ce,_0x41a6ea,_0xa30f4,_0x4c1e84,_0x37f5c9,_0x3e2f00),D(this,_0x1d623d(0xe7),_0x1d623d(0x2cf)),this[_0x1d623d(0x120)]=_0x5e7625;}[_0x2441f9(0x9a)](_0x5bdf1f){return this['_pendingMutations']['push'](_0x5bdf1f),this['_updateLocalCache'](),this;}[_0x2441f9(0xe8)](_0x311110){var _0x1408c9=_0x2441f9;throw new Error(_0x1408c9(0x1e4));}[_0x2441f9(0x14f)](){var _0x4afdfc=_0x2441f9;throw new Error(_0x4afdfc(0x24d));}[_0x2441f9(0x2a2)](){var _0x1ed335=_0x2441f9;throw new Error(_0x1ed335(0x17c));}[_0x2441f9(0x2fa)](){return this;}['toggleOffline'](){return this;}[_0x2441f9(0x2b5)](){var _0x35bf16=_0x2441f9;const {_injector:_0x28b0c1,_pendingMutations:_0x2a338c,_awaitingChangeset:_0x54acbc,unitID:_0x24009f,_handler:_0x2a8375,type:_0x15f6ef}=this,_0x8a7dad=Oi(_0x28b0c1,_0x24009f,_0x15f6ef,_0x54acbc,_0x2a338c,_0x2a8375);return _0x8a7dad instanceof ae?_0x8a7dad[_0x35bf16(0x2a7)]():(_0x8a7dad instanceof oe||_0x8a7dad instanceof le)&&_0x8a7dad[_0x35bf16(0x284)](),_0x8a7dad;}[_0x2441f9(0x284)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x52cfb7(_0x395e58)),w(0x6,_0x52cfb7(_0x468892)),w(0x7,_0x56439f),w(0x8,_0x2e0c07),w(0x9,_0x273dbc(X))],de);let ee=class extends ge{constructor(_0x5918e8,_0x4ae3d,_0x5d482a,_0x4cca56,_0x896523,_0x5ad85a,_0x485122,_0x477e8a,_0x466b42,_0x2d87c8,_0x5416e9,_0x1f0332,_0x3c9c37,_0x7c505c){var _0x617281=_0x2441f9;super(_0x5918e8,_0x4ae3d,_0x5d482a,_0x4cca56,_0x485122,_0x5416e9,_0x1f0332,_0x466b42,_0x7c505c),D(this,_0x617281(0xe7),_0x617281(0x3ae)),(this['_acknowledgedAwaitingChangeset']=_0x896523,this['_queuedRemoteChangesets']=_0x5ad85a,this[_0x617281(0x120)]=_0x477e8a,this[_0x617281(0x1f3)]=_0x2d87c8,this[_0x617281(0x2fc)]=_0x3c9c37,this['localCacheService']=_0x7c505c);}[_0x2441f9(0x268)](_0x3bdd13){var _0x1f3f3f=_0x2441f9;try{const _0x189668=[..._0x3bdd13,...this['_queuedRemoteChangesets']],_0x661de2=[this[_0x1f3f3f(0x293)]||this[_0x1f3f3f(0x398)]][_0x1f3f3f(0x28b)](_0x4e54c2=>!!_0x4e54c2);let _0x5cbe67,_0x5298d4;if(_0x661de2[_0x1f3f3f(0x158)]){const _0xad3bb3=this[_0x1f3f3f(0x2fc)][_0x1f3f3f(0x3be)](_0x189668,_0x661de2,!0x1);if(!_0x13a7a8(_0xad3bb3))throw _0xad3bb3[_0x1f3f3f(0x3a5)];_0x5cbe67=_0xad3bb3[_0x1f3f3f(0x1a2)],_0x5298d4=_0xad3bb3[_0x1f3f3f(0x346)];}else _0x5cbe67=_0x189668,_0x5298d4=[];let _0x2c7b8d=this[_0x1f3f3f(0x33d)];_0x5cbe67[_0x1f3f3f(0x22e)](_0x1b8ddf=>{var _0x40f977=_0x1f3f3f;let _0x38ad6c;if(_0x2c7b8d[_0x40f977(0x158)]){const _0x5004f0=this['_transformService'][_0x40f977(0x163)](_0x1b8ddf,_0x2c7b8d);if(!_0x2633c8(_0x5004f0))throw _0x5004f0['error'];_0x38ad6c=_0x5004f0[_0x40f977(0x1a2)],_0x2c7b8d=_0x5004f0[_0x40f977(0x159)];}else _0x38ad6c=_0x1b8ddf;this['_executeRemoteChangeset'](_0x38ad6c);}),this[_0x1f3f3f(0x398)]&&this[_0x1f3f3f(0x21d)](),this[_0x1f3f3f(0x293)]&&_0x5298d4[_0x1f3f3f(0x158)]&&(_0x5298d4[0x0][_0x1f3f3f(0x3b4)]=this[_0x1f3f3f(0x95)]());let _0x4f3e1b;if(this[_0x1f3f3f(0x293)]&&_0x2c7b8d[_0x1f3f3f(0x158)]!==0x0)_0x4f3e1b=this[_0x1f3f3f(0x120)][_0x1f3f3f(0x29e)](oe,this['unitID'],this[_0x1f3f3f(0x34a)],_0x5298d4[0x0],_0x2c7b8d,this[_0x1f3f3f(0x302)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2c7b8d[_0x1f3f3f(0x158)]===0x0)_0x5298d4[0x0][_0x1f3f3f(0x3b4)]=this[_0x1f3f3f(0x95)](),_0x4f3e1b=this['_injector'][_0x1f3f3f(0x29e)](le,this[_0x1f3f3f(0x39c)],this[_0x1f3f3f(0x34a)],_0x5298d4[0x0],this[_0x1f3f3f(0x302)]);else{if(_0x2c7b8d['length']!==0x0){const _0x31495e=this[_0x1f3f3f(0x120)][_0x1f3f3f(0x29e)](ae,this[_0x1f3f3f(0x39c)],this[_0x1f3f3f(0x34a)],_0x2c7b8d,this['_handler']);_0x31495e[_0x1f3f3f(0x2a7)](),_0x4f3e1b=_0x31495e;}else _0x4f3e1b=this['_injector']['createInstance'](be,this[_0x1f3f3f(0x39c)],this[_0x1f3f3f(0x34a)],this['_handler']);}}return _0x4f3e1b['_updateLocalCache'](),_0x4f3e1b;}catch(_0x2c6536){return this['_logService']['error'](_0x1f3f3f(0x1fd),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2c6536),this[_0x1f3f3f(0x120)][_0x1f3f3f(0x29e)](ue,this[_0x1f3f3f(0x39c)],this[_0x1f3f3f(0x34a)],this['_awaitingChangeset'],this[_0x1f3f3f(0x33d)],this[_0x1f3f3f(0x302)],!0x1);}}['resend'](){var _0x387dd1=_0x2441f9;throw new Error(_0x387dd1(0xb0));}[_0x2441f9(0x9a)](_0x426022){var _0x37177d=_0x2441f9;return this['_pendingMutations'][_0x37177d(0x2d9)](_0x426022),this;}[_0x2441f9(0xe8)](_0x1290a9){var _0x5bef2f=_0x2441f9;return this[_0x5bef2f(0x13f)][_0x5bef2f(0x2d9)](_0x1290a9),this;}[_0x2441f9(0x14f)](_0xce86fb){var _0x29bcdb=_0x2441f9;if(this[_0x29bcdb(0x293)])return this[_0x29bcdb(0x398)]=this['_awaitingChangeset'],this[_0x29bcdb(0x293)]=null,this;throw new Error(_0x29bcdb(0x16d));}['onRemoteRej'](_0x21792c){var _0x3de4c0=_0x2441f9;return this[_0x3de4c0(0x39b)](!!(_0x21792c!=null&&_0x21792c[_0x3de4c0(0x324)]));}[_0x2441f9(0x2fa)](){return this;}[_0x2441f9(0x347)](){var _0x1f7fd1=_0x2441f9;return this['_injector'][_0x1f7fd1(0x29e)](de,this[_0x1f7fd1(0x39c)],this[_0x1f7fd1(0x34a)],this[_0x1f7fd1(0x293)],this['_pendingMutations'],this[_0x1f7fd1(0x302)]);}[_0x2441f9(0x2b5)](){return this;}['_onConflict'](_0x14b699){var _0x3dc244=_0x2441f9;return this[_0x3dc244(0x120)][_0x3dc244(0x29e)](ue,this[_0x3dc244(0x39c)],this['type'],this[_0x3dc244(0x293)],this[_0x3dc244(0x33d)],this[_0x3dc244(0x302)],_0x14b699);}};ee=Se([w(0x7,_0x52cfb7(_0x395e58)),w(0x8,_0x52cfb7(_0x468892)),w(0x9,_0x5a9074),w(0xa,_0x56439f),w(0xb,_0x2e0c07),w(0xc,_0x32916a),w(0xd,_0x273dbc(X))],ee);function Oi(_0x3f5d35,_0xf7339c,_0x52f26e,_0x453fa3,_0x19d3e1,_0x5643af){var _0x691c2=_0x2441f9;return _0x453fa3&&_0x19d3e1['length']?_0x3f5d35['createInstance'](oe,_0xf7339c,_0x52f26e,_0x453fa3,_0x19d3e1,_0x5643af,void 0x0):_0x453fa3?_0x3f5d35[_0x691c2(0x29e)](le,_0xf7339c,_0x52f26e,_0x453fa3,_0x5643af):_0x19d3e1[_0x691c2(0x158)]?_0x3f5d35[_0x691c2(0x29e)](ae,_0xf7339c,_0x52f26e,_0x19d3e1,_0x5643af):_0x3f5d35['createInstance'](be,_0xf7339c,_0x52f26e,_0x5643af);}var js=Object[_0x2441f9(0x2bc)],At=(_0x18d6f4,_0x5cf731,_0x3298f1,_0x322708)=>{var _0xc5c424=_0x2441f9;for(var _0x4df0ca=_0x322708>0x1?void 0x0:_0x322708?js(_0x5cf731,_0x3298f1):_0x5cf731,_0x53280b=_0x18d6f4[_0xc5c424(0x158)]-0x1,_0x89ceb8;_0x53280b>=0x0;_0x53280b--)(_0x89ceb8=_0x18d6f4[_0x53280b])&&(_0x4df0ca=_0x89ceb8(_0x4df0ca)||_0x4df0ca);return _0x4df0ca;},$=(_0x598476,_0x51718d)=>(_0x139bed,_0x24ae22)=>_0x51718d(_0x139bed,_0x24ae22,_0x598476);let st=class extends _0x12f467{constructor(_0x4beb34,_0x4cca12,_0xb7eb60,_0x522d1a,_0x2e938f,_0x5d8170,_0x34c93a,_0xd39107,_0x1f06d4,_0x421154,_0x303d14,_0x57e25c,_0x32cf39,_0x388e4d){var _0x49ead4=_0x2441f9;super(),D(this,_0x49ead4(0x18e),new _0x52b67b(null)),D(this,'state$',this['_state$']['asObservable']()),D(this,_0x49ead4(0xbf)),D(this,_0x49ead4(0x1f8),!0x1),D(this,_0x49ead4(0x2df),''),D(this,_0x49ead4(0x269),0x0),D(this,_0x49ead4(0xd5),this[_0x49ead4(0x373)]['pipe'](_0x1facbe(_0x2e2d49=>_0x2e2d49?_0x2e2d49['status']:Si[_0x49ead4(0xbe)]),_0x576323(0x1))),D(this,_0x49ead4(0x396),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x49ead4(0x39c)]=_0x4beb34,this['session']=_0x4cca12,this[_0x49ead4(0x101)]=_0xb7eb60,this[_0x49ead4(0x120)]=_0x522d1a,this['_compressMutationService']=_0x2e938f,this[_0x49ead4(0x9e)]=_0x5d8170,this[_0x49ead4(0x1cc)]=_0x34c93a,this[_0x49ead4(0x2ca)]=_0xd39107,this['_univerInstanceService']=_0x1f06d4,this['_logService']=_0x421154,this['_commandService']=_0x303d14,this['_permissionService']=_0x57e25c,this[_0x49ead4(0x100)]=_0x32cf39,this[_0x49ead4(0x97)]=_0x388e4d);}get[_0x2441f9(0x368)](){var _0x2bb733=_0x2441f9;return this[_0x2bb733(0xbf)];}async[_0x2441f9(0x260)](){var _0x4c7380=_0x2441f9;if(this[_0x4c7380(0x368)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x4c7380(0x375)]();}[_0x2441f9(0xc3)](){return this['_collaborationPaused']=!0x0,_0x1e1ebb(()=>{var _0x4fc67a=_0x3471;this['_collaborationPaused']=!0x1,this[_0x4fc67a(0x147)]();});}[_0x2441f9(0xb6)](_0x1d6369){var _0x3f9c8a=_0x2441f9;this[_0x3f9c8a(0x16e)](_0x1d6369);}[_0x2441f9(0x392)](_0x472dd7){var _0x28fc3f=_0x2441f9;this[_0x28fc3f(0xbf)]=_0x472dd7,this[_0x28fc3f(0x18e)][_0x28fc3f(0x270)](_0x472dd7);}async['_init'](){var _0x4ad04b=_0x2441f9,_0x5c0a0d;this['_updateState'](await this[_0x4ad04b(0x1bc)]()),this[_0x4ad04b(0x100)]&&((_0x5c0a0d=this[_0x4ad04b(0x100)])==null||_0x5c0a0d[_0x4ad04b(0x227)](this['unitID']),this[_0x4ad04b(0x1d9)](this[_0x4ad04b(0x100)][_0x4ad04b(0x229)](this[_0x4ad04b(0x39c)])['subscribe'](_0x3d672c=>{var _0x37cc8e=_0x4ad04b;this[_0x37cc8e(0x1f3)]['debug'](_0x37cc8e(0x2d2),'editing\x20status\x20changed\x20to',_0x3d672c),_0x3d672c===mi[_0x37cc8e(0xc8)]?(this[_0x37cc8e(0x2ca)][_0x37cc8e(0x31f)]({'id':re[_0x37cc8e(0x381)]}),this[_0x37cc8e(0x384)][_0x37cc8e(0x1d8)](new _0x3c8993(this['unitID'])['id'],!0x1),this[_0x37cc8e(0x384)][_0x37cc8e(0x178)](!0x1)):(this[_0x37cc8e(0x384)][_0x37cc8e(0x1d8)](new _0x3c8993(this[_0x37cc8e(0x39c)])['id'],!0x0),this['_permissionService'][_0x37cc8e(0x178)](!0x0));})));let _0x205bdf=!0x1;return this[_0x4ad04b(0x1d9)](this[_0x4ad04b(0x2ab)][_0x4ad04b(0x2d1)]['subscribe'](_0x3434a6=>{var _0x28059d=_0x4ad04b;_0x3434a6===me['ONLINE']?this['_toggleOnline'](_0x205bdf):_0x3434a6===me[_0x28059d(0xbe)]&&(_0x205bdf=!0x0,this[_0x28059d(0x277)]());})),this['disposeWithMe'](this['session'][_0x4ad04b(0x18f)][_0x4ad04b(0x34f)](_0x5668e3=>{var _0x4addd8=_0x4ad04b;try{switch(_0x5668e3[_0x4addd8(0x297)]){case _0x12397d[_0x4addd8(0x2b2)]:{this[_0x4addd8(0x231)](_0x37c359(_0x5668e3[_0x4addd8(0xf0)]));break;}case _0x12397d[_0x4addd8(0x2d4)]:{this[_0x4addd8(0x2aa)](_0x5668e3[_0x4addd8(0xf0)]);break;}case _0x12397d[_0x4addd8(0x334)]:{this[_0x4addd8(0x28f)]();break;}case _0x12397d['CHANGESET_SHOULD_RETRY']:{this[_0x4addd8(0x38e)](_0x5668e3[_0x4addd8(0xf0)]);break;}case _0x12397d['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x5668e3[_0x4addd8(0xf0)][_0x4addd8(0x1b7)][_0x4addd8(0x26a)](_0x43561f=>_0x37c359(_0x43561f)));break;}case _0x12397d[_0x4addd8(0x361)]:{this[_0x4addd8(0x28f)]({'isPermissionRej':!0x0});break;}case _0x12397d[_0x4addd8(0x2ed)]:break;}}catch(_0x573ebf){throw console['error'](_0x4addd8(0x22c),_0x573ebf),_0x573ebf;}})),this['_state'];}[_0x2441f9(0x33f)](){var _0x37a0a4=_0x2441f9;this[_0x37a0a4(0x396)]=!0x1;}[_0x2441f9(0x216)](){var _0xfb865c=_0x2441f9;if(this[_0xfb865c(0x396)])throw new Error(_0xfb865c(0x169));this['_transitionLocked']=!0x0;}[_0x2441f9(0x16e)](_0x29a73b){var _0x3e00b0=_0x2441f9;this['_lockTransition'](),this[_0x3e00b0(0x392)](this[_0x3e00b0(0xbf)][_0x3e00b0(0x9a)](_0x29a73b)),this['_unlockTransition']();}[_0x2441f9(0x231)](_0x25c1c3){var _0x5c4110=_0x2441f9;if(!(_0x25c1c3[_0x5c4110(0x191)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5c4110(0x39c)]))){if(this[_0x5c4110(0x1f8)]){this['_remoteChangesetQueue'][_0x5c4110(0x2d9)](_0x25c1c3);return;}this[_0x5c4110(0x294)](_0x25c1c3);}}[_0x2441f9(0x147)](){var _0x1d9c8a=_0x2441f9;this[_0x1d9c8a(0x354)]['forEach'](_0x2ee027=>this[_0x1d9c8a(0x294)](_0x2ee027)),this[_0x1d9c8a(0x354)]=[];}[_0x2441f9(0x294)](_0x2a4192){var _0xec2f3d=_0x2441f9;const _0x553c00=this[_0xec2f3d(0x391)][_0xec2f3d(0x2af)][_0xec2f3d(0x139)](this[_0xec2f3d(0x391)][_0xec2f3d(0x2af)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2a4192['mutations'],null)||_0x2a4192[_0xec2f3d(0x29b)],_0x5b3521={..._0x2a4192,'mutations':_0x553c00};this['_lockTransition'](),this[_0xec2f3d(0x392)](this[_0xec2f3d(0xbf)]['onRemoteChangeset'](_0x5b3521)),this[_0xec2f3d(0x33f)]();}[_0x2441f9(0x2aa)](_0x1ec10e){var _0x38b6c9=_0x2441f9;this[_0x38b6c9(0x216)](),this[_0x38b6c9(0x392)](this['_state'][_0x38b6c9(0x14f)](_0x1ec10e)),this[_0x38b6c9(0x33f)]();}[_0x2441f9(0x28f)](_0x3687f6){var _0x28872d=_0x2441f9;this[_0x28872d(0x216)](),this[_0x28872d(0x392)](this[_0x28872d(0xbf)][_0x28872d(0x2a2)](_0x3687f6)),this[_0x28872d(0x33f)]();}[_0x2441f9(0x38e)](_0x43cd02){var _0x416b6c=_0x2441f9;this[_0x416b6c(0x216)](),this['_updateState'](this['_state'][_0x416b6c(0x2fa)](_0x43cd02)),this[_0x416b6c(0x33f)]();}[_0x2441f9(0x12d)](_0x3ac05){var _0x278f38=_0x2441f9;if(!(this[_0x278f38(0xbf)]instanceof ee))throw new TypeError(_0x278f38(0x2f2));const _0x2d2807=_0x3ac05[_0x278f38(0x26a)](_0x2f587a=>{var _0x1595d8=_0x278f38;const _0x2583ec=this[_0x1595d8(0x391)][_0x1595d8(0x2af)][_0x1595d8(0x139)](this[_0x1595d8(0x391)][_0x1595d8(0x2af)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2f587a[_0x1595d8(0x29b)],null)||_0x2f587a[_0x1595d8(0x29b)];return{..._0x2f587a,'mutations':_0x2583ec};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x278f38(0x268)](_0x2d2807)),this[_0x278f38(0x33f)]();}[_0x2441f9(0x277)](){var _0x42d4dc=_0x2441f9;this[_0x42d4dc(0x216)](),this[_0x42d4dc(0x392)](this['_state'][_0x42d4dc(0x347)]()),this[_0x42d4dc(0x33f)]();}[_0x2441f9(0x17b)](_0x47ec10=!0x1){var _0x1f81cb=_0x2441f9;this['_lockTransition'](),this[_0x1f81cb(0x392)](this[_0x1f81cb(0xbf)][_0x1f81cb(0x2b5)]()),this[_0x1f81cb(0x33f)]();const _0x39ce63=this[_0x1f81cb(0xbf)];_0x47ec10&&_0x39ce63 instanceof be&&(this['_lockTransition'](),this[_0x1f81cb(0x392)](_0x39ce63[_0x1f81cb(0x111)]()),this[_0x1f81cb(0x33f)]());}async['_createInitialState'](){return new Promise(_0x317944=>{var _0x1bb05d=_0x3471;this[_0x1bb05d(0x2ab)][_0x1bb05d(0x2d1)][_0x1bb05d(0x3b2)](_0xcec3bf(0x1))[_0x1bb05d(0x34f)](async _0x2619e3=>{_0x317944(await this['_createInitialStateImpl'](_0x2619e3===me['ONLINE']));});});}[_0x2441f9(0x1c8)](){var _0x195e48=_0x2441f9;const _0x4152b4=this[_0x195e48(0x39c)];return{'onStateChange':(_0xe6f916,_0x2d0716)=>{var _0x5c48c0=_0x195e48;if(_0xe6f916!==this[_0x5c48c0(0xbf)])throw new Error(_0x5c48c0(0x379)+_0xe6f916[_0x5c48c0(0xe7)]+_0x5c48c0(0x1e2)+_0x2d0716[_0x5c48c0(0xe7)]+'\x0aCurrent:\x20'+this['_state'][_0x5c48c0(0xe7)]);this[_0x5c48c0(0x392)](_0x2d0716);},'onSendChangeset':_0x1f5d46=>{var _0x339da6=_0x195e48;_0x1f5d46[_0x339da6(0x34c)]||(_0x1f5d46[_0x339da6(0x34c)]=this[_0x339da6(0x2df)],_0x1f5d46[_0x339da6(0xed)]=++this[_0x339da6(0x269)]);const _0x466924={'eventID':_0x12397d[_0x339da6(0x258)],'data':{'unitID':_0x1f5d46[_0x339da6(0x39c)],'unitType':this[_0x339da6(0x101)],'changeset':_0x1f5d46,'memberID':this[_0x339da6(0x2ab)][_0x339da6(0x156)]()}};this[_0x339da6(0x2ab)][_0x339da6(0x114)](_0x466924,this[_0x339da6(0x39c)]);},'onMissingChangesets':({from:_0xfde13b,to:_0x3fe729})=>{var _0x174c53=_0x195e48;this[_0x174c53(0x1f3)][_0x174c53(0x39f)](_0x174c53(0x2d2),_0x174c53(0x2a6)+_0xfde13b+'\x20to\x20'+_0x3fe729);const _0x5034d0={'eventID':_0x12397d[_0x174c53(0x374)],'data':{'unitID':_0x4152b4,'unitType':this[_0x174c53(0x101)],'from':_0xfde13b,'to':_0x3fe729}};this[_0x174c53(0x2ab)]['send'](_0x5034d0,this[_0x174c53(0x39c)]);}};}async[_0x2441f9(0x38d)](_0x4dc5d8){var _0x4aefce=_0x2441f9,_0xb9a983,_0x19aa3f,_0x87c867;const _0x467f8f=await((_0xb9a983=this[_0x4aefce(0x97)])==null?void 0x0:_0xb9a983[_0x4aefce(0x15a)](this[_0x4aefce(0x39c)])),_0x28534b=(_0x19aa3f=_0x467f8f==null?void 0x0:_0x467f8f[_0x4aefce(0x29b)])!=null?_0x19aa3f:[],_0x5c7be5=(_0x87c867=_0x467f8f==null?void 0x0:_0x467f8f['awaitingChangeset'])!=null?_0x87c867:null,_0x136bc5=!!(_0x5c7be5!=null&&_0x5c7be5[_0x4aefce(0x34c)])&&!!(_0x5c7be5!=null&&_0x5c7be5[_0x4aefce(0xed)]);this[_0x4aefce(0x2df)]=_0x136bc5?_0x5c7be5[_0x4aefce(0x34c)]:_0xe8315c(),this['_changesetReqId']=_0x136bc5?_0x5c7be5[_0x4aefce(0xed)]:0x0;const _0x1066c2=this[_0x4aefce(0x39c)];try{this[_0x4aefce(0xdb)](_0x5c7be5,_0x28534b);}catch(_0x5cb27a){this[_0x4aefce(0x1f3)][_0x4aefce(0x3a5)](_0x5cb27a);}const _0x316ad6=this[_0x4aefce(0x1c8)]();if(_0x4dc5d8){const _0x3ffd2b=Oi(this[_0x4aefce(0x120)],_0x1066c2,this['_type'],_0x5c7be5,_0x28534b,_0x316ad6);return _0x3ffd2b instanceof ae?_0x3ffd2b[_0x4aefce(0x2a7)]():(_0x3ffd2b instanceof oe||_0x3ffd2b instanceof le)&&_0x3ffd2b['resend'](),_0x3ffd2b;}return this[_0x4aefce(0x120)][_0x4aefce(0x29e)](de,_0x1066c2,this[_0x4aefce(0x101)],_0x5c7be5,_0x28534b,_0x316ad6);}['_replayCachedMutations'](_0x4be4fe,_0x2c3b6e){var _0x3e1353=_0x2441f9,_0x54d9fa,_0x171a02;const _0x56fe4d=this[_0x3e1353(0x391)]['interceptor'][_0x3e1353(0x139)](this[_0x3e1353(0x391)][_0x3e1353(0x2af)][_0x3e1353(0x1e9)]()['COMPRESS_MUTATION_APPLY']);(_0x54d9fa=_0x56fe4d((_0x4be4fe==null?void 0x0:_0x4be4fe[_0x3e1353(0x29b)])||[],null))==null||_0x54d9fa['forEach'](_0xcd1e3a=>this[_0x3e1353(0xfd)]['executeCommand'](_0xcd1e3a['id'],_0xcd1e3a[_0x3e1353(0x311)])),(_0x171a02=_0x56fe4d(_0x2c3b6e||[],null))==null||_0x171a02['forEach'](_0x3f1490=>this[_0x3e1353(0xfd)][_0x3e1353(0xab)](_0x3f1490['id'],_0x3f1490[_0x3e1353(0x311)]));}};st=At([$(0x3,_0x52cfb7(_0x395e58)),$(0x4,_0x52cfb7(_0x4b2aeb)),$(0x5,_0x52cfb7(_0x4150d5)),$(0x6,_0x52cfb7(_0x468892)),$(0x7,_0x52cfb7(ve)),$(0x8,_0x1dfd8a),$(0x9,_0x5a9074),$(0xa,_0x56439f),$(0xb,_0x9ee13b),$(0xc,_0x273dbc(_t)),$(0xd,_0x273dbc(X))],st);let It=class extends st{constructor(_0x1b5736,_0x150021,_0x2bbe7b,_0x1d057d,_0xcff06d,_0x20149a,_0x489674,_0x478288,_0x1d4c11,_0x4ee0af,_0x2ce673,_0x137628,_0x564003,_0x2f70c3){var _0x5a2d4e=_0x2441f9;super(_0x1b5736,_0x2bbe7b,_0x150021,_0x1d057d,_0xcff06d,_0x20149a,_0x489674,_0x478288,_0x1d4c11,_0x4ee0af,_0x2ce673,_0x137628,_0x564003,_0x2f70c3),D(this,'_handlerCallback',null),(this[_0x5a2d4e(0x39c)]=_0x1b5736,this[_0x5a2d4e(0x34a)]=_0x150021);}[_0x2441f9(0x149)](_0x511245){var _0x526a7c=_0x2441f9;this[_0x526a7c(0x2c4)]=_0x511245;}[_0x2441f9(0x108)](){var _0x506e07=_0x2441f9;this[_0x506e07(0x2c4)]=null,super[_0x506e07(0x108)]();}[_0x2441f9(0x1c8)](){var _0x4107b2=_0x2441f9;const _0x10ad71=super[_0x4107b2(0x1c8)]();return _0x10ad71[_0x4107b2(0x34b)]=_0x328073=>{var _0x1dc172=_0x4107b2,_0x245d9c,_0x3381e6;return(_0x3381e6=(_0x245d9c=this[_0x1dc172(0x2c4)])==null?void 0x0:_0x245d9c[_0x1dc172(0x34b)])==null?void 0x0:_0x3381e6[_0x1dc172(0x2db)](_0x245d9c,_0x328073);},_0x10ad71[_0x4107b2(0x2c8)]=_0xdbb766=>{var _0x3cb587=_0x4107b2,_0x19de2f,_0x4e93f2;return(_0x4e93f2=(_0x19de2f=this[_0x3cb587(0x2c4)])==null?void 0x0:_0x19de2f[_0x3cb587(0x2c8)])==null?void 0x0:_0x4e93f2[_0x3cb587(0x2db)](_0x19de2f,_0xdbb766);},_0x10ad71[_0x4107b2(0x136)]=_0x4c4ce1=>{var _0x2d1fb7=_0x4107b2,_0x1e28b4,_0x4a826e;return(_0x4a826e=(_0x1e28b4=this[_0x2d1fb7(0x2c4)])==null?void 0x0:_0x1e28b4[_0x2d1fb7(0x136)])==null?void 0x0:_0x4a826e['call'](_0x1e28b4,_0x4c4ce1);},_0x10ad71['onSyncEditingCollabCursor']=_0x2e436e=>{var _0x32ad74=_0x4107b2,_0x3e0d66,_0x3d603f;return(_0x3d603f=(_0x3e0d66=this['_handlerCallback'])==null?void 0x0:_0x3e0d66[_0x32ad74(0x151)])==null?void 0x0:_0x3d603f[_0x32ad74(0x2db)](_0x3e0d66,_0x2e436e);},_0x10ad71[_0x4107b2(0x27f)]=_0x13724d=>{var _0x572c0e=_0x4107b2,_0xf77079,_0xa4d5a0,_0x4750fd;if(!((_0xf77079=this[_0x572c0e(0x2c4)])!=null&&_0xf77079['onTransformRemoteChangesetByIMECache']))throw new Error(_0x572c0e(0x265));return(_0x4750fd=(_0xa4d5a0=this['_handlerCallback'])==null?void 0x0:_0xa4d5a0[_0x572c0e(0x27f)])==null?void 0x0:_0x4750fd[_0x572c0e(0x2db)](_0xa4d5a0,_0x13724d);},_0x10ad71[_0x4107b2(0x299)]=_0x33f81a=>{var _0x16b7d2=_0x4107b2,_0xd62687,_0x2f5950,_0x476724;if(!((_0xd62687=this[_0x16b7d2(0x2c4)])!=null&&_0xd62687[_0x16b7d2(0x299)]))throw new Error(_0x16b7d2(0xfb));return(_0x476724=(_0x2f5950=this[_0x16b7d2(0x2c4)])==null?void 0x0:_0x2f5950['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x476724[_0x16b7d2(0x2db)](_0x2f5950,_0x33f81a);},_0x10ad71;}async[_0x2441f9(0x375)](){var _0x51c330=_0x2441f9;const _0x2c9b2f=await super[_0x51c330(0x375)]();return this[_0x51c330(0x1d9)](this['_commandService']['onMutationExecutedForCollab']((_0x3f5f76,_0x4f53c7)=>{var _0x27d799=_0x51c330;if(_0x3f5f76[_0x27d799(0x34a)]!==_0x3a3511[_0x27d799(0x3b3)]||_0x4f53c7!=null&&_0x4f53c7['fromCollab']||_0x4f53c7!=null&&_0x4f53c7[_0x27d799(0x9b)]||_0x3f5f76['id']===_0x203027['id'])return;const _0x1d0cb2=_0x3f5f76[_0x27d799(0x311)];if((_0x1d0cb2==null?void 0x0:_0x1d0cb2[_0x27d799(0x27d)])!==this[_0x27d799(0x39c)])return;const _0x50d38c=_0x3f5f76,_0x47b8ed=this[_0x27d799(0x391)][_0x27d799(0x2af)][_0x27d799(0x139)](this[_0x27d799(0x391)][_0x27d799(0x2af)][_0x27d799(0x1e9)]()[_0x27d799(0x2a0)])([_0x50d38c],this[_0x27d799(0x189)])||[_0x50d38c];this['_onLocalMutation'](_0x47b8ed[0x0]);})),_0x2c9b2f;}};It=At([$(0x3,_0x52cfb7(_0x395e58)),$(0x4,_0x52cfb7(_0x4b2aeb)),$(0x5,_0x52cfb7(_0x4150d5)),$(0x6,_0x52cfb7(_0x468892)),$(0x7,_0x52cfb7(ve)),$(0x8,_0x1dfd8a),$(0x9,_0x5a9074),$(0xa,_0x56439f),$(0xb,_0x9ee13b),$(0xc,_0x273dbc(_t)),$(0xd,_0x273dbc(X))],It);let St=class extends st{constructor(_0x41137c,_0x3394a9,_0x80112a,_0x313188,_0x3adee8,_0x5e992b,_0x433abd,_0x33c7cf,_0x185060,_0x223bdb,_0x559c58,_0x4735a3,_0x3c01b8,_0xb6222d,_0x1b27ee){var _0x27b938=_0x2441f9;super(_0x41137c,_0x80112a,_0x3394a9,_0x313188,_0x3adee8,_0x5e992b,_0x433abd,_0x185060,_0x223bdb,_0x559c58,_0x4735a3,_0x3c01b8,_0xb6222d,_0x1b27ee),this[_0x27b938(0x39c)]=_0x41137c,this[_0x27b938(0x34a)]=_0x3394a9,this['_sheetTransformSelectionsService']=_0x33c7cf;}[_0x2441f9(0x1c8)](){var _0x38417d=_0x2441f9;const _0x4207ab=super[_0x38417d(0x1c8)]();return _0x4207ab[_0x38417d(0x136)]=_0x33edb6=>this[_0x38417d(0x3bb)][_0x38417d(0xdd)](_0x33edb6),_0x4207ab;}async[_0x2441f9(0x375)](){var _0x262c9f=_0x2441f9;const _0x20328e=await super[_0x262c9f(0x375)]();return this[_0x262c9f(0x1d9)](this[_0x262c9f(0xfd)][_0x262c9f(0x1f9)]((_0x9d9940,_0x5ae1d5)=>{var _0x43c54c=_0x262c9f;if(_0x9d9940['type']!==_0x3a3511[_0x43c54c(0x3b3)]||_0x5ae1d5!=null&&_0x5ae1d5[_0x43c54c(0x264)]||_0x5ae1d5!=null&&_0x5ae1d5[_0x43c54c(0x9b)])return;const _0x32d455=_0x9d9940[_0x43c54c(0x311)];if((_0x32d455==null?void 0x0:_0x32d455[_0x43c54c(0x27d)])!==this[_0x43c54c(0x39c)])return;const _0x165e42=_0x9d9940,_0x47ad6f=this[_0x43c54c(0x391)][_0x43c54c(0x2af)][_0x43c54c(0x139)](this[_0x43c54c(0x391)][_0x43c54c(0x2af)][_0x43c54c(0x1e9)]()['COMPRESS_MUTATION_SEND'])([_0x165e42],this[_0x43c54c(0x189)])||[_0x165e42];this[_0x43c54c(0x16e)](_0x47ad6f[0x0]);})),_0x20328e;}};St=At([$(0x3,_0x52cfb7(_0x395e58)),$(0x4,_0x52cfb7(_0x4b2aeb)),$(0x5,_0x52cfb7(_0x4150d5)),$(0x6,_0x52cfb7(_0x468892)),$(0x7,_0x52cfb7(it)),$(0x8,_0x52cfb7(ve)),$(0x9,_0x1dfd8a),$(0xa,_0x5a9074),$(0xb,_0x56439f),$(0xc,_0x9ee13b),$(0xd,_0x273dbc(_t)),$(0xe,_0x273dbc(X))],St);const Vs=_0x1444ff(_0x2441f9(0x390));function Gs(_0x1efcf6){var _0x278348=_0x2441f9,_0x37c533,_0x174b35,_0x13901d,_0x559cf0,_0x5ab480;const _0x2ec2f5=_0x1efcf6[_0x278348(0xf0)],_0x154e86=JSON['parse'](_0x2ec2f5);switch(_0x154e86[_0x278348(0x1b2)]){case j[_0x278348(0xf1)]:case j[_0x278348(0x1d0)]:{const _0x32e837=_0x154e86[_0x278348(0x13a)];return{..._0x154e86,'data':_0x32e837,'cmd':_0x154e86['cmd']};}case j[_0x278348(0x1a5)]:{const _0x4e4989=_0x154e86[_0x278348(0x1be)];return{..._0x154e86,'data':_0x4e4989,'cmd':_0x154e86[_0x278348(0x1b2)]};}case j[_0x278348(0x185)]:{const _0x31f847=_0x154e86[_0x278348(0x165)];switch(_0x31f847[_0x278348(0x297)]){case _0x12397d[_0x278348(0x361)]:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x37c533=_0x31f847[_0x278348(0x1c6)])==null?void 0x0:_0x37c533['cs']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d['CHANGESET_ACK']:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x174b35=_0x31f847[_0x278348(0x23e)])==null?void 0x0:_0x174b35['cs']},'cmd':_0x154e86['cmd']};case _0x12397d[_0x278348(0x2b2)]:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x13901d=_0x31f847[_0x278348(0x370)])==null?void 0x0:_0x13901d['cs']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x334)]:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x559cf0=_0x31f847[_0x278348(0x33a)])==null?void 0x0:_0x559cf0['cs']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d['CHANGESET_SHOULD_RETRY']:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x5ab480=_0x31f847['csShouldRetryEvent'])==null?void 0x0:_0x5ab480['cs']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x369)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0xd9)]},'cmd':_0x154e86['cmd']};case _0x12397d[_0x278348(0x2f7)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x372)]},'cmd':_0x154e86['cmd']};case _0x12397d[_0x278348(0x30a)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x1b4)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x2de)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847['liveShareNewHost']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x214)]:case _0x12397d['LIVESHARE_OPERATION']:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x144)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d['LIVESHARE_TERMINATE']:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x1f0)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x20c)]:return{..._0x154e86,'data':_0x31f847,'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x1c2)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0xa4)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x39e)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x32b)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x1ed)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x289)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d['UNISCRIPT_RUN']:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x19f)]},'cmd':_0x154e86[_0x278348(0x1b2)]};default:return _0x154e86;}}default:return _0x154e86;}}function Ws(_0x28e4fc){var _0x423ae2=_0x2441f9;switch(_0x28e4fc[_0x423ae2(0x1b2)]){case j['HEARTBEAT']:case j['HELLO']:return JSON[_0x423ae2(0x35b)]({'cmd':_0x28e4fc['cmd'],'routeKey':_0x28e4fc[_0x423ae2(0x37a)]});case j[_0x423ae2(0x221)]:{let _0x291239;switch(_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0x297)]){case _0x12397d[_0x423ae2(0x369)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x369)],'updateCursorEvent':_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0xf0)]};break;}case _0x12397d['USERS_LEAVE']:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x30a)],'leaveEvent':_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0xf0)]};break;}case _0x12397d['USERS_ENTER']:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x2f7)],'joinEvent':_0x28e4fc[_0x423ae2(0xf0)]['data']};break;}case _0x12397d[_0x423ae2(0x2de)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x2de)],'liveShareNewHost':_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0xf0)]};break;}case _0x12397d['LIVESHARE_OPERATION']:{_0x291239={'eventID':_0x12397d[_0x423ae2(0xcd)],'liveShareOperation':_0x28e4fc[_0x423ae2(0xf0)]['data']};break;}case _0x12397d[_0x423ae2(0x2ad)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x2ad)],'liveShareTerminate':_0x28e4fc[_0x423ae2(0xf0)]['data']};break;}case _0x12397d[_0x423ae2(0x2ef)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x2ef)],'liveShareRequestHost':_0x28e4fc['data'][_0x423ae2(0xf0)]};break;}case _0x12397d[_0x423ae2(0x214)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x214)]};break;}default:_0x291239={'eventID':_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0x297)]};}return JSON[_0x423ae2(0x35b)]({'cmd':_0x28e4fc[_0x423ae2(0x1b2)],'routeKey':_0x28e4fc[_0x423ae2(0x37a)],'collaMsg':_0x291239});}case j[_0x423ae2(0x1a5)]:return JSON[_0x423ae2(0x35b)]({'cmd':_0x28e4fc[_0x423ae2(0x1b2)],'routeKey':_0x28e4fc['routeKey'],'joinReq':_0x28e4fc['data']});case j[_0x423ae2(0x3a9)]:return JSON[_0x423ae2(0x35b)]({'cmd':_0x28e4fc[_0x423ae2(0x1b2)],'routeKey':_0x28e4fc[_0x423ae2(0x37a)],'leaveReq':_0x28e4fc['data']});default:throw new Error(_0x423ae2(0x351));}}var Ys=Object[_0x2441f9(0x2bc)],Ks=(_0x1a4906,_0x3c0906,_0x3b66ec,_0x13d1b6)=>{for(var _0x5e07bf=_0x13d1b6>0x1?void 0x0:_0x13d1b6?Ys(_0x3c0906,_0x3b66ec):_0x3c0906,_0x1ae1f1=_0x1a4906['length']-0x1,_0x155d61;_0x1ae1f1>=0x0;_0x1ae1f1--)(_0x155d61=_0x1a4906[_0x1ae1f1])&&(_0x5e07bf=_0x155d61(_0x5e07bf)||_0x5e07bf);return _0x5e07bf;},ye=(_0x3198ad,_0x24797e)=>(_0xb9889c,_0x51bb75)=>_0x24797e(_0xb9889c,_0x51bb75,_0x3198ad);const Ri=_0x1444ff(_0x2441f9(0x12f));function qs(_0x26ee33,_0x345b9c,_0x2aabbf){var _0x205caa=_0x2441f9;return _0x26ee33+'/'+_0x345b9c+_0x205caa(0x2cd)+_0x2aabbf+'/new_changes';}let Gt=class extends _0x1c8a31{constructor(_0x335eda,_0x3f5477,_0x17ce5b,_0x5ad27b,_0x33a9e6){var _0xe5bb66=_0x2441f9;super(),this[_0xe5bb66(0x120)]=_0x335eda,this[_0xe5bb66(0x2d5)]=_0x3f5477,this[_0xe5bb66(0x137)]=_0x17ce5b,this['_logService']=_0x5ad27b,this['_snapshotServerService']=_0x33a9e6;}[_0x2441f9(0xaf)](_0x152c15){var _0x1f6b46=_0x2441f9;const _0x571fd7=this[_0x1f6b46(0x120)]['get'](_0x4fc133);if(!_0x571fd7)throw new Error(_0x1f6b46(0x118));const _0x3bdf35=_0x571fd7[_0x1f6b46(0x1a3)](_0x152c15);if(!_0x3bdf35)throw new Error(_0x1f6b46(0x2ec));const _0x52e816=new _0x57f208(),_0x59a13c=new _0x12b55a();_0x52e816['add'](_0x3bdf35[_0x1f6b46(0x152)][_0x1f6b46(0x34f)](_0x52a2bd=>_0x59a13c[_0x1f6b46(0x270)](_0x52a2bd))),_0x52e816[_0x1f6b46(0x219)](_0x1e1ebb(()=>_0x59a13c['complete']()));const _0x3e7382=new _0x12b55a();_0x52e816[_0x1f6b46(0x219)](_0x3bdf35[_0x1f6b46(0x31b)][_0x1f6b46(0x34f)](_0x449b2f=>_0x3e7382[_0x1f6b46(0x270)](_0x449b2f))),_0x52e816[_0x1f6b46(0x219)](_0x1e1ebb(()=>_0x3e7382[_0x1f6b46(0x2d3)]()));const _0xe005c3=new _0x12b55a();_0x52e816[_0x1f6b46(0x219)](_0x3bdf35[_0x1f6b46(0x18b)][_0x1f6b46(0x34f)](_0x3be1c8=>{var _0x5d2ef2=_0x1f6b46;const _0x39f4f3=Gs(_0x3be1c8);_0xe005c3[_0x5d2ef2(0x270)](_0x39f4f3);})),_0x52e816['add'](_0x1e1ebb(()=>_0xe005c3[_0x1f6b46(0x2d3)]()));let _0x8106d3;const _0x46ed45=()=>{var _0x4d6749=_0x1f6b46;_0x3e7382[_0x4d6749(0x270)](new Event(_0x4d6749(0x3ab))),_0x59a13c[_0x4d6749(0x270)](new Event(_0x4d6749(0x3ab))),_0x8106d3['close']();};return _0x8106d3={'memberID':'','close$':_0x59a13c[_0x1f6b46(0xee)](),'error$':_0x3e7382[_0x1f6b46(0xee)](),'open$':_0x3bdf35[_0x1f6b46(0x344)],'message$':_0xe005c3[_0x1f6b46(0xee)](),'send':_0x190598=>{var _0x3e10bc=_0x1f6b46;if(_0x190598[_0x3e10bc(0x1b2)]===j[_0x3e10bc(0x221)]){if(_0x190598['data'][_0x3e10bc(0x297)]===_0x12397d['SUBMIT_CHANGESET']){this[_0x3e10bc(0xac)](_0x8106d3,_0x190598['data'])[_0x3e10bc(0x286)](_0x4b72a6=>{var _0x3ea6bf=_0x3e10bc;this[_0x3ea6bf(0x1f3)]['error'](_0x4b72a6),_0x46ed45();});return;}if(_0x190598[_0x3e10bc(0xf0)][_0x3e10bc(0x297)]===_0x12397d[_0x3e10bc(0x374)]){const _0xb5c7b0=_0x190598[_0x3e10bc(0xf0)];this['_fetchMissChangesets'](_0xb5c7b0)[_0x3e10bc(0x2cc)](_0x2ede29=>{var _0x3fc723=_0x3e10bc;_0xe005c3[_0x3fc723(0x270)]({'cmd':j['RECV'],'code':Ee['OK'],'routeKey':_0xb5c7b0['data'][_0x3fc723(0x39c)],'routeType':'','data':{'eventID':_0x12397d[_0x3fc723(0x22f)],'data':{'changesets':_0x2ede29}}});})[_0x3e10bc(0x286)](_0x2f7727=>{var _0x322793=_0x3e10bc;this[_0x322793(0x1f3)][_0x322793(0x3a5)](_0x2f7727),_0x46ed45();});return;}}_0x3bdf35[_0x3e10bc(0x114)](Ws(_0x190598));},'close':()=>{var _0x188565=_0x1f6b46;_0x3bdf35[_0x188565(0x19e)](),_0x52e816[_0x188565(0x108)]();}},_0x8106d3;}async[_0x2441f9(0xac)](_0x51b8e0,_0xe7b1db){var _0x42e1a4=_0x2441f9,_0xf7493e;const {unitType:_0x47b551,unitID:_0x3b78a1,changeset:_0x3477d8}=_0xe7b1db[_0x42e1a4(0xf0)],_0x2ef419={'unitID':_0x3b78a1,'memberID':_0x51b8e0[_0x42e1a4(0xdf)],'type':_0x47b551,'changeset':_0x40c88e(_0x3477d8)},_0xbc707d=this[_0x42e1a4(0x137)][_0x42e1a4(0xb4)](K),_0x501727=qs((_0xf7493e=_0xbc707d==null?void 0x0:_0xbc707d[_0x42e1a4(0xa5)])!=null?_0xf7493e:Ns,_0x47b551,_0x3b78a1);try{await this[_0x42e1a4(0x2d5)][_0x42e1a4(0x28a)](_0x501727,{'body':_0x2ef419});}catch(_0x48920d){throw this['_logService'][_0x42e1a4(0x3a5)](_0x42e1a4(0x2f8),_0x42e1a4(0x332)),_0x48920d;}}async['_fetchMissChangesets'](_0x498094){var _0x227be3=_0x2441f9;const {unitID:_0x5a0e03,from:_0x66069b,to:_0x5a964d,unitType:_0x48735c}=_0x498094[_0x227be3(0xf0)];return(await this[_0x227be3(0x2b3)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5a0e03,'type':_0x48735c,'from':_0x66069b,'to':_0x5a964d}))[_0x227be3(0x1b7)][_0x227be3(0x26a)](_0x4f3ed7=>((_0x4f3ed7['mutations']===null||_0x4f3ed7[_0x227be3(0x29b)]===void 0x0)&&(_0x4f3ed7[_0x227be3(0x29b)]=[]),_0x4f3ed7));}};Gt=Ks([ye(0x0,_0x52cfb7(_0x395e58)),ye(0x1,_0x52cfb7(_0xacb381)),ye(0x2,_0x328306),ye(0x3,_0x5a9074),ye(0x4,_0x2dc9c3)],Gt);var zs=Object[_0x2441f9(0x2bc)],Xs=(_0x59d3fb,_0x3c32a6,_0x30759c,_0x4a4660)=>{var _0x1d0a1a=_0x2441f9;for(var _0x32a536=_0x4a4660>0x1?void 0x0:_0x4a4660?zs(_0x3c32a6,_0x30759c):_0x3c32a6,_0x551ee=_0x59d3fb[_0x1d0a1a(0x158)]-0x1,_0x4f5522;_0x551ee>=0x0;_0x551ee--)(_0x4f5522=_0x59d3fb[_0x551ee])&&(_0x32a536=_0x4f5522(_0x32a536)||_0x32a536);return _0x32a536;},Re=(_0x3d04,_0xe408a8)=>(_0x33d58d,_0x32ff08)=>_0xe408a8(_0x33d58d,_0x32ff08,_0x3d04);let we=class extends _0x1c8a31{constructor(_0x8f2839,_0x5fe8a9,_0x3cc576,_0x890c05,_0x5e1e66,_0x4291ea){var _0x29c47c=_0x2441f9;super(),D(this,_0x29c47c(0x27c),new _0x52b67b(void 0x0)),D(this,_0x29c47c(0x15e),this[_0x29c47c(0x27c)][_0x29c47c(0xee)]()),D(this,'_candidateSocket',null),D(this,_0x29c47c(0x296),new Map()),D(this,_0x29c47c(0x1c9),new _0x52b67b(me['IDLE'])),D(this,_0x29c47c(0xd5),this[_0x29c47c(0x1c9)][_0x29c47c(0xee)]()),D(this,_0x29c47c(0x1bf),!0x1),D(this,_0x29c47c(0x26d)),D(this,_0x29c47c(0x303),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x29c47c(0x2da)),(this[_0x29c47c(0x120)]=_0x8f2839,this['_logService']=_0x5fe8a9,this[_0x29c47c(0x137)]=_0x3cc576,this['_socketService']=_0x890c05,this[_0x29c47c(0x3cd)]=_0x5e1e66,this[_0x29c47c(0x1c4)]=_0x4291ea,this[_0x29c47c(0x3ac)]());}get[_0x2441f9(0x1df)](){return this['_socket$']['getValue']();}[_0x2441f9(0x3ac)](){var _0x368a65=_0x2441f9;this[_0x368a65(0x1c4)]&&this['disposeWithMe'](this[_0x368a65(0x1c4)]['online$']['subscribe'](_0x54be39=>{var _0x40a37b=_0x368a65;_0x54be39&&!this['_socket']&&this[_0x40a37b(0xa1)](),_0x54be39||this[_0x40a37b(0x2eb)]();}));}[_0x2441f9(0x108)](){var _0x145d7a=_0x2441f9;super[_0x145d7a(0x108)](),this[_0x145d7a(0x2ba)](),this[_0x145d7a(0x3cc)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x145d7a(0x22e)](_0x43d185=>_0x43d185[_0x145d7a(0x108)]()),this[_0x145d7a(0x296)][_0x145d7a(0x228)](),this['_status$'][_0x145d7a(0x2d3)]();}async[_0x2441f9(0xd0)](_0x34ae58){var _0x20cf7a=_0x2441f9;if(this['_sessions']['has'](_0x34ae58))return this['_sessions'][_0x20cf7a(0x222)](_0x34ae58);this['_tryEnsureSocket']();const _0xb09287=this['_injector'][_0x20cf7a(0x29e)](mt,_0x34ae58,this[_0x20cf7a(0x27c)][_0x20cf7a(0xee)]());return this['_sessions'][_0x20cf7a(0xfe)](_0x34ae58,_0xb09287),_0xb09287;}['closeSession'](_0x1ca72b){var _0x8a2ab0=_0x2441f9,_0x2ad2d2;const _0x56a91c=this[_0x8a2ab0(0x296)]['get'](_0x1ca72b);_0x56a91c&&(this[_0x8a2ab0(0x296)][_0x8a2ab0(0x307)](_0x1ca72b),_0x56a91c['close']()),this[_0x8a2ab0(0x296)]['size']||(_0x2ad2d2=this[_0x8a2ab0(0x1df)])==null||_0x2ad2d2[_0x8a2ab0(0x19e)]();}[_0x2441f9(0xa1)](){var _0x269b55=_0x2441f9;this[_0x269b55(0x303)]=0x0,this[_0x269b55(0x2ba)](),this[_0x269b55(0x298)]();}['_clearRetryConnectingTimer'](){var _0x3caab7=_0x2441f9;this[_0x3caab7(0x26d)]!=null&&(clearTimeout(this[_0x3caab7(0x26d)]),this[_0x3caab7(0x26d)]=null);}async[_0x2441f9(0x233)](){var _0x389dcb=_0x2441f9,_0x12ae1;const _0xc73d5f=this[_0x389dcb(0x137)][_0x389dcb(0xb4)](K),_0x1ede0f=(_0x12ae1=_0xc73d5f==null?void 0x0:_0xc73d5f[_0x389dcb(0x2fb)])!=null?_0x12ae1:Is,_0x51bf35=await this[_0x389dcb(0x109)][_0x389dcb(0x1a3)](_0x1ede0f);return this[_0x389dcb(0x389)]=_0x51bf35,_0x51bf35;}async[_0x2441f9(0x138)](){var _0x590048=_0x2441f9,_0x2ff1f7,_0x4fd27c;try{const _0x3397e9=(_0x4fd27c=(_0x2ff1f7=this[_0x590048(0x1df)])!=null?_0x2ff1f7:this[_0x590048(0x389)])!=null?_0x4fd27c:await this[_0x590048(0x233)]();if(_0x3397e9){const _0x298144=_0x3397e9[_0x590048(0x114)];_0x3397e9[_0x590048(0x114)]=_0x55826d=>(this[_0x590048(0x350)](),_0x298144[_0x590048(0x155)](_0x3397e9,[_0x55826d])),_0x3397e9[_0x590048(0x18b)]['subscribe'](_0x1257f0=>this[_0x590048(0x176)](_0x3397e9,_0x1257f0)),_0x3397e9[_0x590048(0x31b)][_0x590048(0x3b2)](_0x28efbf(0x1))[_0x590048(0x34f)](_0x4170c8=>this[_0x590048(0x1f3)][_0x590048(0x3a5)](_0x590048(0x1ae),_0x4170c8)),_0x3397e9['open$'][_0x590048(0x3b2)](_0x28efbf(0x1))[_0x590048(0x34f)](()=>{var _0x3b5591=_0x590048;this[_0x3b5591(0x2c5)](_0x3397e9);}),_0x3397e9[_0x590048(0x152)]['pipe'](_0x28efbf(0x1))[_0x590048(0x34f)](_0xfd667d=>{var _0x21d783=_0x590048;this['_logService'][_0x21d783(0x39f)](_0x21d783(0x26e),'socket\x20close',_0xfd667d),this[_0x21d783(0xd1)]();});}}catch(_0x1c94cd){this['_logService']['error'](_0x1c94cd),this[_0x590048(0xd1)]();}}[_0x2441f9(0x2c5)](_0x25329e){var _0x2536eb=_0x2441f9;this[_0x2536eb(0x1f3)][_0x2536eb(0x39f)](_0x2536eb(0x26e),_0x2536eb(0x1a9)),_0x25329e[_0x2536eb(0x114)]({'cmd':j[_0x2536eb(0x1d0)]}),this[_0x2536eb(0x350)]();}[_0x2441f9(0x2eb)](){var _0x98b235=_0x2441f9;this[_0x98b235(0x1bf)]=!0x1,this['_candidateSocket']=null,this[_0x98b235(0x1c9)]['next'](me['OFFLINE']),this[_0x98b235(0x27c)]['next'](null),this[_0x98b235(0x3cc)](),this[_0x98b235(0x203)]();}['_onConnectionFailed'](){var _0x2c76f3=_0x2441f9,_0x152961;this[_0x2c76f3(0x2eb)](),this[_0x2c76f3(0x303)]<((_0x152961=this[_0x2c76f3(0x137)]['getConfig'](Os))!=null?_0x152961:Rs)?(this[_0x2c76f3(0x3cd)]['emitEvent']({'id':re[_0x2c76f3(0x32f)]}),this[_0x2c76f3(0x298)]()):this['_collaborationUIEventService'][_0x2c76f3(0x31f)]({'id':re[_0x2c76f3(0x300)]});}[_0x2441f9(0x298)](){var _0x1324fc=_0x2441f9,_0x5668b1;const _0x496972=this[_0x1324fc(0x303)],_0x39cbf3=this[_0x1324fc(0x137)][_0x1324fc(0xb4)](K),_0x15e1f5=_0x496972===0x0?0x0:((_0x5668b1=_0x39cbf3==null?void 0x0:_0x39cbf3[_0x1324fc(0xf8)])!=null?_0x5668b1:Ts)*0x2**_0x496972;this[_0x1324fc(0x26d)]=setTimeout(()=>{var _0x41b0cc=_0x1324fc;clearTimeout(this[_0x41b0cc(0x26d)]),this[_0x41b0cc(0x26d)]=null,this[_0x41b0cc(0x138)]();},_0x15e1f5),this[_0x1324fc(0x303)]+=0x1;}['_onMessage'](_0x4967e8,_0x2eb557){var _0x1007fe=_0x2441f9;const {cmd:_0x13a383}=_0x2eb557;_0x13a383===j[_0x1007fe(0x1d0)]&&!this[_0x1007fe(0x1bf)]&&(_0x4967e8[_0x1007fe(0xdf)]=_0x2eb557['data'][_0x1007fe(0xdf)],this[_0x1007fe(0x27c)][_0x1007fe(0x270)](_0x4967e8),this[_0x1007fe(0x1c9)]['next'](me[_0x1007fe(0x20d)]),this[_0x1007fe(0x1bf)]=!0x0,this[_0x1007fe(0x389)]=null),_0x13a383===j[_0x1007fe(0xf1)]&&this[_0x1007fe(0x3cc)](),this[_0x1007fe(0x350)]();}['_rescheduleHeartbeat'](){var _0x39233a=_0x2441f9,_0x29047d;this[_0x39233a(0x203)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x39233a(0x35e)](),(_0x29047d=this[_0x39233a(0x137)][_0x39233a(0xb4)](Ss))!=null?_0x29047d:gs);}[_0x2441f9(0x35e)](){var _0x2bded3=_0x2441f9;this[_0x2bded3(0x1df)]['send']({'cmd':j[_0x2bded3(0xf1)]}),this['_waitForHeartbeatResponse']();}[_0x2441f9(0x1af)](){var _0x23a4be=_0x2441f9,_0xf9ec4a;this[_0x23a4be(0x2da)]=setTimeout(()=>this[_0x23a4be(0xd1)](),(_0xf9ec4a=this[_0x23a4be(0x137)][_0x23a4be(0xb4)](di))!=null?_0xf9ec4a:fi);}[_0x2441f9(0x203)](){var _0x64141=_0x2441f9;this[_0x64141(0x363)]!=null&&(clearTimeout(this[_0x64141(0x363)]),this[_0x64141(0x363)]=null);}[_0x2441f9(0x3cc)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};we=Xs([Re(0x0,_0x52cfb7(_0x395e58)),Re(0x1,_0x5a9074),Re(0x2,_0x328306),Re(0x3,Ri),Re(0x4,_0x52cfb7(ve)),Re(0x5,_0x273dbc(Vs))],we);var Js=Object[_0x2441f9(0x2bc)],Zs=(_0x24904e,_0x1e90fa,_0x4e8b6d,_0x44b06b)=>{var _0x49d072=_0x2441f9;for(var _0x36a4b7=_0x44b06b>0x1?void 0x0:_0x44b06b?Js(_0x1e90fa,_0x4e8b6d):_0x1e90fa,_0x135bda=_0x24904e[_0x49d072(0x158)]-0x1,_0x26f82a;_0x135bda>=0x0;_0x135bda--)(_0x26f82a=_0x24904e[_0x135bda])&&(_0x36a4b7=_0x26f82a(_0x36a4b7)||_0x36a4b7);return _0x36a4b7;},Be=(_0x4c6505,_0x479500)=>(_0x13e563,_0x3d7e06)=>_0x479500(_0x13e563,_0x3d7e06,_0x4c6505);let nt=class extends _0x12f467{constructor(_0x1343f4,_0x234e8d,_0x4846be,_0x569421){var _0x54065b=_0x2441f9,_0xd25fa1;super(),D(this,_0x54065b(0x13d),new Map()),D(this,_0x54065b(0x3a2),new _0x12b55a()),D(this,_0x54065b(0x125),this[_0x54065b(0x3a2)][_0x54065b(0xee)]()),(this[_0x54065b(0x120)]=_0x1343f4,this[_0x54065b(0x336)]=_0x234e8d,this[_0x54065b(0x137)]=_0x4846be,this[_0x54065b(0x189)]=_0x569421,((_0xd25fa1=this[_0x54065b(0x137)]['getConfig'](K))==null?void 0x0:_0xd25fa1[_0x54065b(0x1f2)])!==!0x1&&this[_0x54065b(0x375)]());}[_0x2441f9(0x108)](){var _0x2d83de=_0x2441f9;super[_0x2d83de(0x108)](),this['_entities'][_0x2d83de(0x22e)](_0x50927f=>_0x50927f[_0x2d83de(0x108)]()),this[_0x2d83de(0x13d)][_0x2d83de(0x228)]();}[_0x2441f9(0x23d)](_0x1a4f31){var _0x2ba778=_0x2441f9,_0x2fe44f;return(_0x2fe44f=this[_0x2ba778(0x13d)]['get'](_0x1a4f31))!=null?_0x2fe44f:null;}[_0x2441f9(0xb1)](_0x5071cd){var _0x530986=_0x2441f9;const _0x19d6f4=this[_0x530986(0x23d)](_0x5071cd);return _0x19d6f4?_0x256d3d(_0x19d6f4):this[_0x530986(0x3a2)][_0x530986(0x3b2)](_0x12d299(_0x24150a=>_0x24150a[_0x530986(0x39c)]===_0x5071cd));}[_0x2441f9(0x36a)](_0x1d0fb7){var _0x2a8ab1=_0x2441f9;return _0x553f5e(this[_0x2a8ab1(0xb1)](_0x1d0fb7)[_0x2a8ab1(0x3b2)](_0xe994cc(()=>{})));}[_0x2441f9(0x375)](){var _0x1f5c43=_0x2441f9;this[_0x1f5c43(0x189)][_0x1f5c43(0xbd)](_0x2ddda7[_0x1f5c43(0x110)])[_0x1f5c43(0x3b2)](_0x1066d7(this[_0x1f5c43(0x25a)]),_0x1024bb(0x10))[_0x1f5c43(0x34f)](async _0x5972e9=>{var _0xa1d307=_0x1f5c43;const _0x393b0b=_0x5972e9[_0xa1d307(0x310)](),_0xd09abe=await this['_startCollaboration'](_0x393b0b,Q[_0xa1d307(0x110)]);this[_0xa1d307(0x13d)]['set'](_0x393b0b,_0xd09abe);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2ddda7[_0x1f5c43(0x1e5)])['pipe'](_0x1066d7(this[_0x1f5c43(0x25a)]),_0x1024bb(0x10))[_0x1f5c43(0x3b2)](_0x12d299(_0xcb1fcf=>!_0xcb1fcf[_0x1f5c43(0x310)]()[_0x1f5c43(0xe3)]('__')))[_0x1f5c43(0x34f)](async _0x382998=>{var _0xd09b2a=_0x1f5c43;const _0x520440=_0x382998[_0xd09b2a(0x310)](),_0x261dc1=await this[_0xd09b2a(0x3ad)](_0x520440,Q[_0xd09b2a(0x1e5)]);this[_0xd09b2a(0x13d)][_0xd09b2a(0xfe)](_0x520440,_0x261dc1);}),_0x5a45a0(this[_0x1f5c43(0x189)][_0x1f5c43(0xe2)](_0x2ddda7[_0x1f5c43(0x110)]),this[_0x1f5c43(0x189)][_0x1f5c43(0xe2)](_0x2ddda7[_0x1f5c43(0x1e5)]))['pipe'](_0x1066d7(this[_0x1f5c43(0x25a)]))[_0x1f5c43(0x34f)](_0x5d3e43=>{var _0x30a10a=_0x1f5c43;const _0x7aa523=_0x5d3e43[_0x30a10a(0x310)](),_0x38700f=this[_0x30a10a(0x13d)][_0x30a10a(0x222)](_0x7aa523);_0x38700f&&(_0x38700f['dispose'](),this[_0x30a10a(0x13d)][_0x30a10a(0x307)](_0x7aa523));});}async[_0x2441f9(0x3ad)](_0x48eb64,_0x1c1023){var _0x4b0534=_0x2441f9;const _0x1c7c8f=await this[_0x4b0534(0x336)]['requireSession'](_0x48eb64),_0xbbdbf6=this[_0x4b0534(0x120)][_0x4b0534(0x29e)](this['_getCtorByUniverType'](_0x1c1023),_0x48eb64,_0x1c1023,_0x1c7c8f);return await _0xbbdbf6[_0x4b0534(0x260)](),this[_0x4b0534(0x3a2)]['next'](_0xbbdbf6),_0xbbdbf6;}['_getCtorByUniverType'](_0x3f73f3){var _0x5436f5=_0x2441f9;switch(_0x3f73f3){case Q['UNIVER_DOC']:return It;case Q[_0x5436f5(0x110)]:return St;default:throw new Error(_0x5436f5(0x18c)+_0x3f73f3);}}};nt=Zs([Be(0x0,_0x52cfb7(_0x395e58)),Be(0x1,_0x52cfb7(we)),Be(0x2,_0x328306),Be(0x3,_0x1dfd8a)],nt);var Qs=Object[_0x2441f9(0x2bc)],en=(_0x5b855f,_0x3f6155,_0x3ca823,_0xdcd14f)=>{for(var _0x4cdaf1=_0xdcd14f>0x1?void 0x0:_0xdcd14f?Qs(_0x3f6155,_0x3ca823):_0x3f6155,_0x40f98e=_0x5b855f['length']-0x1,_0xf46d1f;_0x40f98e>=0x0;_0x40f98e--)(_0xf46d1f=_0x5b855f[_0x40f98e])&&(_0x4cdaf1=_0xf46d1f(_0x4cdaf1)||_0x4cdaf1);return _0x4cdaf1;},Wt=(_0x5ac156,_0x2508d8)=>(_0x35cb51,_0x28a101)=>_0x2508d8(_0x35cb51,_0x28a101,_0x5ac156);const tn=_0x2441f9(0x20e),sn=_0x2441f9(0x331);let gt=class extends _0x1c8a31{constructor(_0x3add51,_0x3dceaa){var _0x4bbe03=_0x2441f9;super(),this[_0x4bbe03(0x189)]=_0x3add51,this['_configService']=_0x3dceaa,this[_0x4bbe03(0x375)]();}[_0x2441f9(0x375)](){var _0x2529e3=_0x2441f9;this[_0x2529e3(0x1d9)](this[_0x2529e3(0x189)][_0x2529e3(0x1ec)][_0x2529e3(0x34f)](()=>{var _0xded99e=_0x2529e3,_0x5e92b6;const _0x16f6f1=this[_0xded99e(0x189)][_0xded99e(0x397)]();let _0x22264b=(_0x5e92b6=this[_0xded99e(0x137)][_0xded99e(0xb4)](tn))!=null?_0x5e92b6:sn;_0x16f6f1 instanceof _0x1ed90b&&(_0x22264b=_0x16f6f1[_0xded99e(0x3a4)]),document[_0xded99e(0x15f)]=_0x22264b;}));}};gt=en([Wt(0x0,_0x1dfd8a),Wt(0x1,_0x328306)],gt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0xf28228,_0xf82581,_0x4f265a,_0x4d8b93)=>{var _0x18f0b5=_0x2441f9;for(var _0x38fdf7=_0x4d8b93>0x1?void 0x0:_0x4d8b93?nn(_0xf82581,_0x4f265a):_0xf82581,_0x4722f3=_0xf28228[_0x18f0b5(0x158)]-0x1,_0x288f32;_0x4722f3>=0x0;_0x4722f3--)(_0x288f32=_0xf28228[_0x4722f3])&&(_0x38fdf7=_0x288f32(_0x38fdf7)||_0x38fdf7);return _0x38fdf7;},dt=(_0x1a2494,_0x47e56a)=>(_0x3ca4d3,_0x5db34d)=>_0x47e56a(_0x3ca4d3,_0x5db34d,_0x1a2494);let rt=class{constructor(_0x218f60,_0x4c90d8,_0x20179f){var _0x4e6eb9=_0x2441f9;this[_0x4e6eb9(0x137)]=_0x218f60,this['_httpService']=_0x4c90d8,this[_0x4e6eb9(0x1a0)]=_0x20179f,this[_0x4e6eb9(0x260)]();}[_0x2441f9(0x260)](){var _0x301acc=_0x2441f9;this[_0x301acc(0x2d5)][_0x301acc(0x1e0)]({'priority':0x1,'interceptor':(_0x83a069,_0x3dfeb4)=>_0x3dfeb4(_0x83a069)[_0x301acc(0x3b2)](_0x454066(async _0x56fd86=>{var _0x378e32=_0x301acc;const _0x1bb9c9=_0x56fd86;if(_0x1bb9c9[_0x378e32(0xe7)]===0x191){if(typeof window>'u')throw new Error(_0x378e32(0x348));if(window[_0x378e32(0x34d)](this[_0x378e32(0x1a0)]['t'](_0x378e32(0x356)))){const _0x323fc7=window[_0x378e32(0x175)](window[_0x378e32(0x3b0)]['href']);window[_0x378e32(0x3b0)][_0x378e32(0x117)]=this[_0x378e32(0x24c)]()+_0x378e32(0xaa)+_0x323fc7;}}return _0x1bb9c9;}))});}[_0x2441f9(0x24c)](){var _0xd5c0f0=_0x2441f9,_0x111041;const _0x507644=this[_0xd5c0f0(0x137)][_0xd5c0f0(0xb4)](K);return(_0x111041=_0x507644==null?void 0x0:_0x507644['loginUrlKey'])!=null?_0x111041:Cs;}};rt=rn([dt(0x0,_0x328306),dt(0x1,_0x52cfb7(_0xacb381)),dt(0x2,_0x52cfb7(_0x4150d5))],rt);var an=Object[_0x2441f9(0x2bc)],on=(_0x5b1014,_0x37686e,_0x4a570a,_0x15be29)=>{var _0x1e1c89=_0x2441f9;for(var _0x4e9920=_0x15be29>0x1?void 0x0:_0x15be29?an(_0x37686e,_0x4a570a):_0x37686e,_0x43a381=_0x5b1014[_0x1e1c89(0x158)]-0x1,_0x3e9700;_0x43a381>=0x0;_0x43a381--)(_0x3e9700=_0x5b1014[_0x43a381])&&(_0x4e9920=_0x3e9700(_0x4e9920)||_0x4e9920);return _0x4e9920;},Yt=(_0x2079d0,_0x12c678)=>(_0x5ede56,_0x19f4fd)=>_0x12c678(_0x5ede56,_0x19f4fd,_0x2079d0);const cn=_0x2441f9(0x37f);let Tt=class extends _0x1c8a31{constructor(_0x3bc658,_0x554a52){var _0xe6ab71=_0x2441f9;super(),this[_0xe6ab71(0x1d7)]=_0x3bc658,this[_0xe6ab71(0x137)]=_0x554a52,this[_0xe6ab71(0x126)]();}['_initMergeInterceptor'](){var _0x50b969=_0x2441f9;const _0x4e7e61=this;this[_0x50b969(0x1d9)](this[_0x50b969(0x1d7)][_0x50b969(0x1e0)]({'priority':0x3e7,'interceptor':_0x2e57ce({'isMatch'(_0xed4e7c){var _0x13539e=_0x50b969,_0x532346;if(_0xed4e7c[_0x13539e(0x99)]===_0x13539e(0x1b0)&&((_0x532346=_0xed4e7c['requestParams'])!=null&&_0x532346[_0x13539e(0x38b)])){const {objectID:_0x34daa1,objectType:_0x4f9808}=_0xed4e7c['requestParams'][_0x13539e(0x38b)]||{};if(!_0x34daa1||_0x4f9808===void 0x0)return!0x1;const _0x4f666e=_0x4e7e61['_getAPIPrefixPath']()+'/'+_0x4f9808+_0x13539e(0x345)+_0x34daa1+'/allowed';if(_0xed4e7c[_0x13539e(0x319)]===_0x4f666e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4f7ac0){var _0x2a1ee5=_0x50b969,_0x3c5965;return(_0x3c5965=_0x4f7ac0[_0x2a1ee5(0x212)])==null?void 0x0:_0x3c5965[_0x2a1ee5(0x38b)];},'mergeParamsToRequest'(_0x32099c,_0x220a76){var _0x4f2dde=_0x50b969;const _0x5f36b1=_0x4e7e61['_getAPIPrefixPath']()+_0x4f2dde(0x3ba),_0x30b2ca=_0x32099c[_0x4f2dde(0x251)]((_0x32b385,_0x1acdf2)=>{var _0x4732a4=_0x4f2dde;const {unitID:_0x416568,objectID:_0x41d9d6,objectType:_0x201397,actions:_0x4fde50}=_0x1acdf2;return _0x32b385[_0x416568]||(_0x32b385[_0x416568]={}),_0x32b385[_0x416568][_0x41d9d6]||(_0x32b385[_0x416568][_0x41d9d6]={'objectID':_0x41d9d6,'objectType':_0x201397,'actions':[]}),_0x32b385[_0x416568][_0x41d9d6]['actions'][_0x4732a4(0x2d9)](..._0x4fde50),_0x32b385;},{}),_0x3888b2=[];for(const _0x252cc2 in _0x30b2ca)for(const _0x4d13ff in _0x30b2ca[_0x252cc2]){const {actions:_0x27cc86,objectType:_0x58ea33}=_0x30b2ca[_0x252cc2][_0x4d13ff],_0x395363=[...new Set(_0x27cc86)];_0x3888b2[_0x4f2dde(0x2d9)]({'unitID':_0x252cc2,'objectID':_0x4d13ff,'objectType':_0x58ea33,'actions':_0x395363});}return new _0x53915c(_0x4f2dde(0x1b0),_0x5f36b1,{'headers':_0x220a76[_0x4f2dde(0xa7)],'withCredentials':_0x220a76[_0x4f2dde(0xf2)],'responseType':_0x220a76[_0x4f2dde(0x2e8)],'body':{'requests':_0x3888b2}});}},{'distributeResult'(_0x3325a5,_0x5683ec){var _0x52b2d1=_0x50b969;const {objectActions:_0x6822fc}=_0x3325a5;return _0x5683ec[_0x52b2d1(0x26a)](_0x4e7b79=>{var _0x3dfbfd=_0x52b2d1;const {unitID:_0xc3cb36,objectID:_0x4bb6d9,actions:_0x1f5c37}=_0x4e7b79,_0x500df4=_0x6822fc[_0x3dfbfd(0x2dc)](_0x2887a9=>_0x2887a9['unitID']===_0xc3cb36&&_0x2887a9[_0x3dfbfd(0x10c)]===_0x4bb6d9),_0x3d5dc0=_0x1f5c37[_0x3dfbfd(0x26a)](_0x5c846d=>_0x500df4==null?void 0x0:_0x500df4[_0x3dfbfd(0x2a8)]['find'](_0x2c614c=>_0x2c614c[_0x3dfbfd(0x330)]===_0x5c846d))[_0x3dfbfd(0x28b)](_0x2e4f29=>!!_0x2e4f29);return{'config':_0x4e7b79,'result':{'actions':_0x3d5dc0,'error':_0x3325a5[_0x3dfbfd(0x3a5)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4c836e=_0x2441f9,_0x102dac;const _0x48b0f3=this['_configService'][_0x4c836e(0xb4)](K);return(_0x102dac=_0x48b0f3==null?void 0x0:_0x48b0f3[_0x4c836e(0x2c3)])!=null?_0x102dac:cn;}async[_0x2441f9(0x32e)](_0x26f418){var _0x9dc578=_0x2441f9;const _0x3f9a52=this['_getAPIPrefixPath']()+'/'+_0x26f418[_0x9dc578(0x29c)]+_0x9dc578(0x1e3);return(await this[_0x9dc578(0x1d7)][_0x9dc578(0x28a)](_0x3f9a52,{'body':_0x26f418}))['body'][_0x9dc578(0x10c)]||'';}async[_0x2441f9(0x142)](_0xe99322){var _0x214291=_0x2441f9;const _0x420fa1=this[_0x214291(0x28d)]()+_0x214291(0x1ab);return(await this[_0x214291(0x1d7)][_0x214291(0x28a)](_0x420fa1,{'body':_0xe99322}))[_0x214291(0x38b)][_0x214291(0x3c9)];}async[_0x2441f9(0x312)](_0xcb81b4){var _0x293b4b=_0x2441f9,_0x14e9d3,_0x259c48;const _0x441f55=this['_getAPIPrefixPath']()+'/'+_0xcb81b4['objectType']+'/object/'+_0xcb81b4['objectID'],_0x2412be=await this[_0x293b4b(0x1d7)][_0x293b4b(0x358)](_0x441f55,{'body':_0xcb81b4});if(((_0x259c48=(_0x14e9d3=_0x2412be==null?void 0x0:_0x2412be[_0x293b4b(0x38b)])==null?void 0x0:_0x14e9d3[_0x293b4b(0x3a5)])==null?void 0x0:_0x259c48[_0x293b4b(0x22a)])!==0x1)throw new Error(_0x293b4b(0x21e));}async[_0x2441f9(0x14e)](_0x5d1c34){var _0x3d4618=_0x2441f9;const _0x3cd9cb=this[_0x3d4618(0x28d)]()+'/'+_0x5d1c34['objectType']+_0x3d4618(0x345)+_0x5d1c34[_0x3d4618(0x10c)]+_0x3d4618(0x1fb);return(await this[_0x3d4618(0x1d7)][_0x3d4618(0x28a)](_0x3cd9cb,{'body':_0x5d1c34}))[_0x3d4618(0x38b)][_0x3d4618(0x2a8)];}async['batchAllowed'](_0x41e170){var _0xa81606=_0x2441f9;const _0x2656d3=this[_0xa81606(0x28d)]()+_0xa81606(0x3ba);return(await this[_0xa81606(0x1d7)][_0xa81606(0x28a)](_0x2656d3,{'body':{'requests':_0x41e170}}))[_0xa81606(0x38b)][_0xa81606(0xcf)];}async[_0x2441f9(0x314)](_0x4e03cc){var _0x26bf82=_0x2441f9;const _0x34171c=this[_0x26bf82(0x28d)]()+'/'+_0x4e03cc[_0x26bf82(0x29c)]+_0x26bf82(0x280),_0x5d0cf3=await this[_0x26bf82(0x1d7)][_0x26bf82(0x28a)](_0x34171c,{'body':_0x4e03cc});return{'roles':_0x5d0cf3['body'][_0x26bf82(0x119)],'actions':_0x5d0cf3['body'][_0x26bf82(0x2a8)]};}async[_0x2441f9(0xd8)](_0x2b451e){var _0x2516d8=_0x2441f9;const _0x45cc29=this[_0x2516d8(0x28d)]()+_0x2516d8(0x94);await this['_HTTPService'][_0x2516d8(0x307)](_0x45cc29,{'params':{'collaboratorID':_0x2b451e[_0x2516d8(0xc4)],'objectID':_0x2b451e[_0x2516d8(0x10c)],'unitID':_0x2b451e[_0x2516d8(0x39c)]}});}async[_0x2441f9(0x395)](_0x408c61){var _0x2ee508=_0x2441f9;const _0x18e8d3=this[_0x2ee508(0x28d)]()+'/collaborator';await this[_0x2ee508(0x1d7)][_0x2ee508(0x30b)](_0x18e8d3,{'body':_0x408c61});}async[_0x2441f9(0x2d6)](_0x5c06fe){var _0x53e3a5=_0x2441f9;const _0x3fa707=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x53e3a5(0x1d7)]['post'](_0x3fa707,{'body':_0x5c06fe});}async['listCollaborators'](_0x2cedf7){var _0x4c6197=_0x2441f9;const _0x4e44af=this[_0x4c6197(0x28d)]()+_0x4c6197(0x94);return(await this[_0x4c6197(0x1d7)][_0x4c6197(0x222)](_0x4e44af,{'params':{'objectID':_0x2cedf7[_0x4c6197(0x10c)],'unitID':_0x2cedf7['unitID']}}))[_0x4c6197(0x38b)][_0x4c6197(0x230)];}async[_0x2441f9(0x2ea)](_0x46b32c){var _0x48c5af=_0x2441f9;const _0x5aca56=this[_0x48c5af(0x28d)]()+'/collaborator';await this['_HTTPService']['put'](_0x5aca56,{'body':_0x46b32c});}};Tt=on([Yt(0x0,_0x52cfb7(_0xacb381)),Yt(0x1,_0x52cfb7(_0x328306))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xc23dbe){var _0x32d541=_0x2441f9;return _0xc23dbe&&_0xc23dbe['__esModule']&&Object[_0x32d541(0x14b)][_0x32d541(0xa2)][_0x32d541(0x2db)](_0xc23dbe,_0x32d541(0x211))?_0xc23dbe[_0x32d541(0x211)]:_0xc23dbe;}var Ve={'exports':{}};function _n(_0x33a9da){var _0xccaec6=_0x2441f9;throw new Error(_0xccaec6(0x133)+_0x33a9da+_0xccaec6(0x2d0));}var Ge={'exports':{}},hn=Ge['exports'],Kt;function ie(){var _0x367b6d=_0x2441f9;return Kt||(Kt=0x1,function(_0x165cbc,_0x91bc7c){(function(_0x3121f0,_0x25f336){_0x165cbc['exports']=_0x25f336();}(hn,function(){var _0x52d544=_0x52d544||function(_0x538a62,_0x4e2a4d){var _0x3c6518=_0x3471,_0x2a0f0f;if(typeof window<'u'&&window[_0x3c6518(0x2c7)]&&(_0x2a0f0f=window[_0x3c6518(0x2c7)]),typeof self<'u'&&self[_0x3c6518(0x2c7)]&&(_0x2a0f0f=self[_0x3c6518(0x2c7)]),typeof globalThis<'u'&&globalThis[_0x3c6518(0x2c7)]&&(_0x2a0f0f=globalThis[_0x3c6518(0x2c7)]),!_0x2a0f0f&&typeof window<'u'&&window[_0x3c6518(0x170)]&&(_0x2a0f0f=window[_0x3c6518(0x170)]),!_0x2a0f0f&&typeof ft<'u'&&ft['crypto']&&(_0x2a0f0f=ft[_0x3c6518(0x2c7)]),!_0x2a0f0f&&typeof _n==_0x3c6518(0x22b))try{_0x2a0f0f=require('crypto');}catch{}var _0x3f0a4b=function(){var _0x1bb09f=_0x3c6518;if(_0x2a0f0f){if(typeof _0x2a0f0f[_0x1bb09f(0x2ee)]==_0x1bb09f(0x22b))try{return _0x2a0f0f[_0x1bb09f(0x2ee)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a0f0f[_0x1bb09f(0x131)]=='function')try{return _0x2a0f0f[_0x1bb09f(0x131)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1bb09f(0x349));},_0x3a221f=Object[_0x3c6518(0x32e)]||(function(){function _0x23ed93(){}return function(_0x5afbef){var _0x43ea73=_0x3471,_0x42e4c;return _0x23ed93['prototype']=_0x5afbef,_0x42e4c=new _0x23ed93(),_0x23ed93[_0x43ea73(0x14b)]=null,_0x42e4c;};}()),_0x46591c={},_0x3ac972=_0x46591c[_0x3c6518(0x28e)]={},_0x3e3cf7=_0x3ac972[_0x3c6518(0x240)]=(function(){return{'extend':function(_0x599a4d){var _0x6f32d7=_0x3471,_0x4ef492=_0x3a221f(this);return _0x599a4d&&_0x4ef492['mixIn'](_0x599a4d),(!_0x4ef492[_0x6f32d7(0xa2)](_0x6f32d7(0x260))||this[_0x6f32d7(0x260)]===_0x4ef492[_0x6f32d7(0x260)])&&(_0x4ef492[_0x6f32d7(0x260)]=function(){var _0x422084=_0x6f32d7;_0x4ef492[_0x422084(0xa9)][_0x422084(0x260)][_0x422084(0x155)](this,arguments);}),_0x4ef492[_0x6f32d7(0x260)][_0x6f32d7(0x14b)]=_0x4ef492,_0x4ef492['$super']=this,_0x4ef492;},'create':function(){var _0x53d36d=_0x3471,_0x20663c=this['extend']();return _0x20663c[_0x53d36d(0x260)][_0x53d36d(0x155)](_0x20663c,arguments),_0x20663c;},'init':function(){},'mixIn':function(_0x13b6de){var _0x47520a=_0x3471;for(var _0x248fb5 in _0x13b6de)_0x13b6de[_0x47520a(0xa2)](_0x248fb5)&&(this[_0x248fb5]=_0x13b6de[_0x248fb5]);_0x13b6de['hasOwnProperty']('toString')&&(this[_0x47520a(0x25e)]=_0x13b6de[_0x47520a(0x25e)]);},'clone':function(){var _0x4f6b71=_0x3471;return this[_0x4f6b71(0x260)]['prototype'][_0x4f6b71(0x16c)](this);}};}()),_0x335bda=_0x3ac972[_0x3c6518(0x1ff)]=_0x3e3cf7['extend']({'init':function(_0x34e625,_0x447511){var _0x44062a=_0x3c6518;_0x34e625=this[_0x44062a(0x14a)]=_0x34e625||[],_0x447511!=_0x4e2a4d?this[_0x44062a(0x1fc)]=_0x447511:this[_0x44062a(0x1fc)]=_0x34e625[_0x44062a(0x158)]*0x4;},'toString':function(_0x24955b){var _0x58d0e5=_0x3c6518;return(_0x24955b||_0x20ffa8)[_0x58d0e5(0x35b)](this);},'concat':function(_0x345fdc){var _0x2a9505=_0x3c6518,_0x3d08ce=this[_0x2a9505(0x14a)],_0x452242=_0x345fdc[_0x2a9505(0x14a)],_0x3c5f87=this[_0x2a9505(0x1fc)],_0x5bd340=_0x345fdc[_0x2a9505(0x1fc)];if(this[_0x2a9505(0x2b7)](),_0x3c5f87%0x4)for(var _0xe11757=0x0;_0xe11757<_0x5bd340;_0xe11757++){var _0x1bd5c8=_0x452242[_0xe11757>>>0x2]>>>0x18-_0xe11757%0x4*0x8&0xff;_0x3d08ce[_0x3c5f87+_0xe11757>>>0x2]|=_0x1bd5c8<<0x18-(_0x3c5f87+_0xe11757)%0x4*0x8;}else{for(var _0x183c21=0x0;_0x183c21<_0x5bd340;_0x183c21+=0x4)_0x3d08ce[_0x3c5f87+_0x183c21>>>0x2]=_0x452242[_0x183c21>>>0x2];}return this[_0x2a9505(0x1fc)]+=_0x5bd340,this;},'clamp':function(){var _0x55c80c=_0x3c6518,_0x54ca31=this[_0x55c80c(0x14a)],_0x47508f=this[_0x55c80c(0x1fc)];_0x54ca31[_0x47508f>>>0x2]&=0xffffffff<<0x20-_0x47508f%0x4*0x8,_0x54ca31['length']=_0x538a62[_0x55c80c(0x1bb)](_0x47508f/0x4);},'clone':function(){var _0x599ea7=_0x3c6518,_0x1bc9c6=_0x3e3cf7[_0x599ea7(0x339)][_0x599ea7(0x2db)](this);return _0x1bc9c6[_0x599ea7(0x14a)]=this[_0x599ea7(0x14a)][_0x599ea7(0x1c0)](0x0),_0x1bc9c6;},'random':function(_0xce43e5){var _0x4b9afa=_0x3c6518;for(var _0x4e2711=[],_0x1786b2=0x0;_0x1786b2<_0xce43e5;_0x1786b2+=0x4)_0x4e2711[_0x4b9afa(0x2d9)](_0x3f0a4b());return new _0x335bda[(_0x4b9afa(0x260))](_0x4e2711,_0xce43e5);}}),_0x52c73a=_0x46591c[_0x3c6518(0x2d8)]={},_0x20ffa8=_0x52c73a[_0x3c6518(0x343)]={'stringify':function(_0x392960){var _0x349654=_0x3c6518;for(var _0x5d635a=_0x392960[_0x349654(0x14a)],_0x2c0017=_0x392960['sigBytes'],_0x42eae9=[],_0x1c654b=0x0;_0x1c654b<_0x2c0017;_0x1c654b++){var _0x1a5b60=_0x5d635a[_0x1c654b>>>0x2]>>>0x18-_0x1c654b%0x4*0x8&0xff;_0x42eae9[_0x349654(0x2d9)]((_0x1a5b60>>>0x4)['toString'](0x10)),_0x42eae9[_0x349654(0x2d9)]((_0x1a5b60&0xf)['toString'](0x10));}return _0x42eae9[_0x349654(0x353)]('');},'parse':function(_0x98a7d9){var _0x517338=_0x3c6518;for(var _0x21ef4f=_0x98a7d9[_0x517338(0x158)],_0x4e13e9=[],_0x53d199=0x0;_0x53d199<_0x21ef4f;_0x53d199+=0x2)_0x4e13e9[_0x53d199>>>0x3]|=parseInt(_0x98a7d9[_0x517338(0x124)](_0x53d199,0x2),0x10)<<0x18-_0x53d199%0x8*0x4;return new _0x335bda[(_0x517338(0x260))](_0x4e13e9,_0x21ef4f/0x2);}},_0x363bd8=_0x52c73a[_0x3c6518(0xd2)]={'stringify':function(_0x3b64ac){var _0x33895c=_0x3c6518;for(var _0x5a4785=_0x3b64ac['words'],_0x35e663=_0x3b64ac[_0x33895c(0x1fc)],_0x24d1e7=[],_0x181f2c=0x0;_0x181f2c<_0x35e663;_0x181f2c++){var _0x8c44aa=_0x5a4785[_0x181f2c>>>0x2]>>>0x18-_0x181f2c%0x4*0x8&0xff;_0x24d1e7[_0x33895c(0x2d9)](String[_0x33895c(0x12a)](_0x8c44aa));}return _0x24d1e7['join']('');},'parse':function(_0x259d38){var _0x2b2548=_0x3c6518;for(var _0xf4c705=_0x259d38[_0x2b2548(0x158)],_0x4bcba1=[],_0x414898=0x0;_0x414898<_0xf4c705;_0x414898++)_0x4bcba1[_0x414898>>>0x2]|=(_0x259d38['charCodeAt'](_0x414898)&0xff)<<0x18-_0x414898%0x4*0x8;return new _0x335bda[(_0x2b2548(0x260))](_0x4bcba1,_0xf4c705);}},_0x3e72c4=_0x52c73a[_0x3c6518(0x316)]={'stringify':function(_0x5f00da){var _0x46507e=_0x3c6518;try{return decodeURIComponent(escape(_0x363bd8['stringify'](_0x5f00da)));}catch{throw new Error(_0x46507e(0x168));}},'parse':function(_0x5c1523){var _0x4c59ee=_0x3c6518;return _0x363bd8[_0x4c59ee(0x2f3)](unescape(encodeURIComponent(_0x5c1523)));}},_0x4793cc=_0x3ac972['BufferedBlockAlgorithm']=_0x3e3cf7[_0x3c6518(0x16c)]({'reset':function(){var _0x1e7e91=_0x3c6518;this['_data']=new _0x335bda[(_0x1e7e91(0x260))](),this[_0x1e7e91(0x14c)]=0x0;},'_append':function(_0x24245f){var _0x17bfa5=_0x3c6518;typeof _0x24245f=='string'&&(_0x24245f=_0x3e72c4[_0x17bfa5(0x2f3)](_0x24245f)),this['_data'][_0x17bfa5(0x1ca)](_0x24245f),this[_0x17bfa5(0x14c)]+=_0x24245f['sigBytes'];},'_process':function(_0x112537){var _0x58d77e=_0x3c6518,_0x334b80,_0x5c2eeb=this[_0x58d77e(0x127)],_0x4980ef=_0x5c2eeb[_0x58d77e(0x14a)],_0xd847d6=_0x5c2eeb[_0x58d77e(0x1fc)],_0x19f674=this[_0x58d77e(0x326)],_0x45d0eb=_0x19f674*0x4,_0x1907e0=_0xd847d6/_0x45d0eb;_0x112537?_0x1907e0=_0x538a62[_0x58d77e(0x1bb)](_0x1907e0):_0x1907e0=_0x538a62[_0x58d77e(0x1e6)]((_0x1907e0|0x0)-this[_0x58d77e(0xd6)],0x0);var _0xa8aeb6=_0x1907e0*_0x19f674,_0x31c21c=_0x538a62[_0x58d77e(0x164)](_0xa8aeb6*0x4,_0xd847d6);if(_0xa8aeb6){for(var _0x1f6ec8=0x0;_0x1f6ec8<_0xa8aeb6;_0x1f6ec8+=_0x19f674)this[_0x58d77e(0x3b7)](_0x4980ef,_0x1f6ec8);_0x334b80=_0x4980ef[_0x58d77e(0x3a6)](0x0,_0xa8aeb6),_0x5c2eeb[_0x58d77e(0x1fc)]-=_0x31c21c;}return new _0x335bda[(_0x58d77e(0x260))](_0x334b80,_0x31c21c);},'clone':function(){var _0x3d40a1=_0x3c6518,_0x12b7cd=_0x3e3cf7[_0x3d40a1(0x339)]['call'](this);return _0x12b7cd[_0x3d40a1(0x127)]=this[_0x3d40a1(0x127)][_0x3d40a1(0x339)](),_0x12b7cd;},'_minBufferSize':0x0});_0x3ac972['Hasher']=_0x4793cc[_0x3c6518(0x16c)]({'cfg':_0x3e3cf7[_0x3c6518(0x16c)](),'init':function(_0x1cbef9){var _0xe942a6=_0x3c6518;this[_0xe942a6(0xc1)]=this['cfg'][_0xe942a6(0x16c)](_0x1cbef9),this[_0xe942a6(0x325)]();},'reset':function(){var _0x14e9e7=_0x3c6518;_0x4793cc[_0x14e9e7(0x325)][_0x14e9e7(0x2db)](this),this[_0x14e9e7(0x2e3)]();},'update':function(_0x56f7a3){var _0x563fa1=_0x3c6518;return this[_0x563fa1(0x13e)](_0x56f7a3),this[_0x563fa1(0x37c)](),this;},'finalize':function(_0x49ee9b){var _0x5e85fb=_0x3c6518;_0x49ee9b&&this[_0x5e85fb(0x13e)](_0x49ee9b);var _0x4aab60=this[_0x5e85fb(0x3c8)]();return _0x4aab60;},'blockSize':0x10,'_createHelper':function(_0x15214b){return function(_0x26e2af,_0x5ee99a){var _0x508008=_0x3471;return new _0x15214b[(_0x508008(0x260))](_0x5ee99a)[_0x508008(0x37b)](_0x26e2af);};},'_createHmacHelper':function(_0x36f1d3){return function(_0x6f323f,_0x21e9eb){var _0x5a40af=_0x3471;return new _0x1c35b3[(_0x5a40af(0x3af))][(_0x5a40af(0x260))](_0x36f1d3,_0x21e9eb)['finalize'](_0x6f323f);};}});var _0x1c35b3=_0x46591c[_0x3c6518(0x305)]={};return _0x46591c;}(Math);return _0x52d544;}));}(Ge)),Ge[_0x367b6d(0x382)];}var We={'exports':{}},ln=We[_0x2441f9(0x382)],qt;function Ni(){var _0x2ffd2c=_0x2441f9;return qt||(qt=0x1,function(_0x281957,_0x50e914){(function(_0x77f40a,_0x552ce7){_0x281957['exports']=_0x552ce7(ie());}(ln,function(_0x1b9cb0){var _0x246907=_0x3471;return(function(){var _0x4d0dc5=_0x3471,_0x1b896d=_0x1b9cb0,_0x1e6755=_0x1b896d[_0x4d0dc5(0x28e)],_0x5d07a1=_0x1e6755[_0x4d0dc5(0x1ff)],_0x349cdb=_0x1b896d['enc'];_0x349cdb[_0x4d0dc5(0x19b)]={'stringify':function(_0x5a83bb){var _0x52a4ae=_0x4d0dc5,_0x115612=_0x5a83bb[_0x52a4ae(0x14a)],_0x2362c4=_0x5a83bb['sigBytes'],_0x1b7a60=this[_0x52a4ae(0x255)];_0x5a83bb[_0x52a4ae(0x2b7)]();for(var _0x5906de=[],_0x4a21f4=0x0;_0x4a21f4<_0x2362c4;_0x4a21f4+=0x3)for(var _0x2a927a=_0x115612[_0x4a21f4>>>0x2]>>>0x18-_0x4a21f4%0x4*0x8&0xff,_0x33bf5e=_0x115612[_0x4a21f4+0x1>>>0x2]>>>0x18-(_0x4a21f4+0x1)%0x4*0x8&0xff,_0x19c985=_0x115612[_0x4a21f4+0x2>>>0x2]>>>0x18-(_0x4a21f4+0x2)%0x4*0x8&0xff,_0x1c7d8f=_0x2a927a<<0x10|_0x33bf5e<<0x8|_0x19c985,_0x34e9a8=0x0;_0x34e9a8<0x4&&_0x4a21f4+_0x34e9a8*0.75<_0x2362c4;_0x34e9a8++)_0x5906de[_0x52a4ae(0x2d9)](_0x1b7a60[_0x52a4ae(0x3bd)](_0x1c7d8f>>>0x6*(0x3-_0x34e9a8)&0x3f));var _0x27a278=_0x1b7a60[_0x52a4ae(0x3bd)](0x40);if(_0x27a278){for(;_0x5906de[_0x52a4ae(0x158)]%0x4;)_0x5906de[_0x52a4ae(0x2d9)](_0x27a278);}return _0x5906de[_0x52a4ae(0x353)]('');},'parse':function(_0x5e2189){var _0x1d07e5=_0x4d0dc5,_0x495dd4=_0x5e2189[_0x1d07e5(0x158)],_0x42a8d7=this[_0x1d07e5(0x255)],_0x55c953=this[_0x1d07e5(0x341)];if(!_0x55c953){_0x55c953=this[_0x1d07e5(0x341)]=[];for(var _0x5bf8d4=0x0;_0x5bf8d4<_0x42a8d7[_0x1d07e5(0x158)];_0x5bf8d4++)_0x55c953[_0x42a8d7[_0x1d07e5(0x237)](_0x5bf8d4)]=_0x5bf8d4;}var _0x3d90f6=_0x42a8d7[_0x1d07e5(0x3bd)](0x40);if(_0x3d90f6){var _0x1ba8ca=_0x5e2189[_0x1d07e5(0x2c6)](_0x3d90f6);_0x1ba8ca!==-0x1&&(_0x495dd4=_0x1ba8ca);}return _0x9e4337(_0x5e2189,_0x495dd4,_0x55c953);},'_map':_0x4d0dc5(0x3bf)};function _0x9e4337(_0x6f21b4,_0x2150de,_0x96eef2){var _0x2796d7=_0x4d0dc5;for(var _0x542bbc=[],_0xcbd07a=0x0,_0x33afec=0x0;_0x33afec<_0x2150de;_0x33afec++)if(_0x33afec%0x4){var _0xe7094=_0x96eef2[_0x6f21b4[_0x2796d7(0x237)](_0x33afec-0x1)]<<_0x33afec%0x4*0x2,_0x26dda5=_0x96eef2[_0x6f21b4['charCodeAt'](_0x33afec)]>>>0x6-_0x33afec%0x4*0x2,_0x45e4e9=_0xe7094|_0x26dda5;_0x542bbc[_0xcbd07a>>>0x2]|=_0x45e4e9<<0x18-_0xcbd07a%0x4*0x8,_0xcbd07a++;}return _0x5d07a1['create'](_0x542bbc,_0xcbd07a);}}()),_0x1b9cb0[_0x246907(0x2d8)]['Base64'];}));}(We)),We[_0x2ffd2c(0x382)];}var Ye={'exports':{}},un=Ye[_0x2441f9(0x382)],zt;function dn(){var _0x465466=_0x2441f9;return zt||(zt=0x1,function(_0x2b6e3c,_0x3c5b9e){(function(_0x35baf9,_0x41da39){var _0x1be58d=_0x3471;_0x2b6e3c[_0x1be58d(0x382)]=_0x41da39(ie());}(un,function(_0x59d59b){var _0x52dad5=_0x3471;return function(_0x6d7400){var _0x272da0=_0x3471,_0x1ed418=_0x59d59b,_0x4da261=_0x1ed418[_0x272da0(0x28e)],_0x39250e=_0x4da261[_0x272da0(0x1ff)],_0x568b22=_0x4da261[_0x272da0(0x98)],_0x231db3=_0x1ed418['algo'],_0x486cfc=[];(function(){var _0x216eec=_0x272da0;for(var _0x5cf04d=0x0;_0x5cf04d<0x40;_0x5cf04d++)_0x486cfc[_0x5cf04d]=_0x6d7400[_0x216eec(0x27b)](_0x6d7400['sin'](_0x5cf04d+0x1))*0x100000000|0x0;}());var _0x4d6dcb=_0x231db3[_0x272da0(0x304)]=_0x568b22[_0x272da0(0x16c)]({'_doReset':function(){var _0x30d447=_0x272da0;this[_0x30d447(0x2ac)]=new _0x39250e[(_0x30d447(0x260))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x404f37,_0x577e3b){var _0x3465fa=_0x272da0;for(var _0x10023c=0x0;_0x10023c<0x10;_0x10023c++){var _0x5704da=_0x577e3b+_0x10023c,_0x4b3d0d=_0x404f37[_0x5704da];_0x404f37[_0x5704da]=(_0x4b3d0d<<0x8|_0x4b3d0d>>>0x18)&0xff00ff|(_0x4b3d0d<<0x18|_0x4b3d0d>>>0x8)&0xff00ff00;}var _0x5481ab=this[_0x3465fa(0x2ac)][_0x3465fa(0x14a)],_0xaefaa7=_0x404f37[_0x577e3b+0x0],_0x2f94e9=_0x404f37[_0x577e3b+0x1],_0x46d027=_0x404f37[_0x577e3b+0x2],_0xfb1118=_0x404f37[_0x577e3b+0x3],_0x5d33b8=_0x404f37[_0x577e3b+0x4],_0x3d399f=_0x404f37[_0x577e3b+0x5],_0x5e944d=_0x404f37[_0x577e3b+0x6],_0x2c2c59=_0x404f37[_0x577e3b+0x7],_0x2763de=_0x404f37[_0x577e3b+0x8],_0x18d0b5=_0x404f37[_0x577e3b+0x9],_0x4b42d8=_0x404f37[_0x577e3b+0xa],_0x53dab3=_0x404f37[_0x577e3b+0xb],_0x3c32cc=_0x404f37[_0x577e3b+0xc],_0x15ced8=_0x404f37[_0x577e3b+0xd],_0x2d31b2=_0x404f37[_0x577e3b+0xe],_0xcf6d2c=_0x404f37[_0x577e3b+0xf],_0x2b381b=_0x5481ab[0x0],_0x551cd2=_0x5481ab[0x1],_0x5a04eb=_0x5481ab[0x2],_0x538afc=_0x5481ab[0x3];_0x2b381b=_0x2b2f82(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0xaefaa7,0x7,_0x486cfc[0x0]),_0x538afc=_0x2b2f82(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x2f94e9,0xc,_0x486cfc[0x1]),_0x5a04eb=_0x2b2f82(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x46d027,0x11,_0x486cfc[0x2]),_0x551cd2=_0x2b2f82(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0xfb1118,0x16,_0x486cfc[0x3]),_0x2b381b=_0x2b2f82(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x5d33b8,0x7,_0x486cfc[0x4]),_0x538afc=_0x2b2f82(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x3d399f,0xc,_0x486cfc[0x5]),_0x5a04eb=_0x2b2f82(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x5e944d,0x11,_0x486cfc[0x6]),_0x551cd2=_0x2b2f82(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x2c2c59,0x16,_0x486cfc[0x7]),_0x2b381b=_0x2b2f82(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x2763de,0x7,_0x486cfc[0x8]),_0x538afc=_0x2b2f82(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x18d0b5,0xc,_0x486cfc[0x9]),_0x5a04eb=_0x2b2f82(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x4b42d8,0x11,_0x486cfc[0xa]),_0x551cd2=_0x2b2f82(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x53dab3,0x16,_0x486cfc[0xb]),_0x2b381b=_0x2b2f82(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x3c32cc,0x7,_0x486cfc[0xc]),_0x538afc=_0x2b2f82(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x15ced8,0xc,_0x486cfc[0xd]),_0x5a04eb=_0x2b2f82(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x2d31b2,0x11,_0x486cfc[0xe]),_0x551cd2=_0x2b2f82(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0xcf6d2c,0x16,_0x486cfc[0xf]),_0x2b381b=_0x59ca9d(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x2f94e9,0x5,_0x486cfc[0x10]),_0x538afc=_0x59ca9d(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x5e944d,0x9,_0x486cfc[0x11]),_0x5a04eb=_0x59ca9d(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x53dab3,0xe,_0x486cfc[0x12]),_0x551cd2=_0x59ca9d(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0xaefaa7,0x14,_0x486cfc[0x13]),_0x2b381b=_0x59ca9d(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x3d399f,0x5,_0x486cfc[0x14]),_0x538afc=_0x59ca9d(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x4b42d8,0x9,_0x486cfc[0x15]),_0x5a04eb=_0x59ca9d(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0xcf6d2c,0xe,_0x486cfc[0x16]),_0x551cd2=_0x59ca9d(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x5d33b8,0x14,_0x486cfc[0x17]),_0x2b381b=_0x59ca9d(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x18d0b5,0x5,_0x486cfc[0x18]),_0x538afc=_0x59ca9d(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x2d31b2,0x9,_0x486cfc[0x19]),_0x5a04eb=_0x59ca9d(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0xfb1118,0xe,_0x486cfc[0x1a]),_0x551cd2=_0x59ca9d(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x2763de,0x14,_0x486cfc[0x1b]),_0x2b381b=_0x59ca9d(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x15ced8,0x5,_0x486cfc[0x1c]),_0x538afc=_0x59ca9d(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x46d027,0x9,_0x486cfc[0x1d]),_0x5a04eb=_0x59ca9d(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x2c2c59,0xe,_0x486cfc[0x1e]),_0x551cd2=_0x59ca9d(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x3c32cc,0x14,_0x486cfc[0x1f]),_0x2b381b=_0x3b03ef(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x3d399f,0x4,_0x486cfc[0x20]),_0x538afc=_0x3b03ef(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x2763de,0xb,_0x486cfc[0x21]),_0x5a04eb=_0x3b03ef(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x53dab3,0x10,_0x486cfc[0x22]),_0x551cd2=_0x3b03ef(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x2d31b2,0x17,_0x486cfc[0x23]),_0x2b381b=_0x3b03ef(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x2f94e9,0x4,_0x486cfc[0x24]),_0x538afc=_0x3b03ef(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x5d33b8,0xb,_0x486cfc[0x25]),_0x5a04eb=_0x3b03ef(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x2c2c59,0x10,_0x486cfc[0x26]),_0x551cd2=_0x3b03ef(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x4b42d8,0x17,_0x486cfc[0x27]),_0x2b381b=_0x3b03ef(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x15ced8,0x4,_0x486cfc[0x28]),_0x538afc=_0x3b03ef(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0xaefaa7,0xb,_0x486cfc[0x29]),_0x5a04eb=_0x3b03ef(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0xfb1118,0x10,_0x486cfc[0x2a]),_0x551cd2=_0x3b03ef(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x5e944d,0x17,_0x486cfc[0x2b]),_0x2b381b=_0x3b03ef(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x18d0b5,0x4,_0x486cfc[0x2c]),_0x538afc=_0x3b03ef(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x3c32cc,0xb,_0x486cfc[0x2d]),_0x5a04eb=_0x3b03ef(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0xcf6d2c,0x10,_0x486cfc[0x2e]),_0x551cd2=_0x3b03ef(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x46d027,0x17,_0x486cfc[0x2f]),_0x2b381b=_0x1e19c9(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0xaefaa7,0x6,_0x486cfc[0x30]),_0x538afc=_0x1e19c9(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x2c2c59,0xa,_0x486cfc[0x31]),_0x5a04eb=_0x1e19c9(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x2d31b2,0xf,_0x486cfc[0x32]),_0x551cd2=_0x1e19c9(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x3d399f,0x15,_0x486cfc[0x33]),_0x2b381b=_0x1e19c9(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x3c32cc,0x6,_0x486cfc[0x34]),_0x538afc=_0x1e19c9(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0xfb1118,0xa,_0x486cfc[0x35]),_0x5a04eb=_0x1e19c9(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x4b42d8,0xf,_0x486cfc[0x36]),_0x551cd2=_0x1e19c9(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x2f94e9,0x15,_0x486cfc[0x37]),_0x2b381b=_0x1e19c9(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x2763de,0x6,_0x486cfc[0x38]),_0x538afc=_0x1e19c9(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0xcf6d2c,0xa,_0x486cfc[0x39]),_0x5a04eb=_0x1e19c9(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x5e944d,0xf,_0x486cfc[0x3a]),_0x551cd2=_0x1e19c9(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x15ced8,0x15,_0x486cfc[0x3b]),_0x2b381b=_0x1e19c9(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x5d33b8,0x6,_0x486cfc[0x3c]),_0x538afc=_0x1e19c9(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x53dab3,0xa,_0x486cfc[0x3d]),_0x5a04eb=_0x1e19c9(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x46d027,0xf,_0x486cfc[0x3e]),_0x551cd2=_0x1e19c9(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x18d0b5,0x15,_0x486cfc[0x3f]),_0x5481ab[0x0]=_0x5481ab[0x0]+_0x2b381b|0x0,_0x5481ab[0x1]=_0x5481ab[0x1]+_0x551cd2|0x0,_0x5481ab[0x2]=_0x5481ab[0x2]+_0x5a04eb|0x0,_0x5481ab[0x3]=_0x5481ab[0x3]+_0x538afc|0x0;},'_doFinalize':function(){var _0x1e70e6=_0x272da0,_0x338753=this['_data'],_0x320a51=_0x338753['words'],_0x120f61=this[_0x1e70e6(0x14c)]*0x8,_0x53c3f4=_0x338753[_0x1e70e6(0x1fc)]*0x8;_0x320a51[_0x53c3f4>>>0x5]|=0x80<<0x18-_0x53c3f4%0x20;var _0x1f3084=_0x6d7400[_0x1e70e6(0x17f)](_0x120f61/0x100000000),_0xc21da6=_0x120f61;_0x320a51[(_0x53c3f4+0x40>>>0x9<<0x4)+0xf]=(_0x1f3084<<0x8|_0x1f3084>>>0x18)&0xff00ff|(_0x1f3084<<0x18|_0x1f3084>>>0x8)&0xff00ff00,_0x320a51[(_0x53c3f4+0x40>>>0x9<<0x4)+0xe]=(_0xc21da6<<0x8|_0xc21da6>>>0x18)&0xff00ff|(_0xc21da6<<0x18|_0xc21da6>>>0x8)&0xff00ff00,_0x338753['sigBytes']=(_0x320a51[_0x1e70e6(0x158)]+0x1)*0x4,this[_0x1e70e6(0x37c)]();for(var _0x3fcec7=this[_0x1e70e6(0x2ac)],_0x1a13a2=_0x3fcec7['words'],_0xc4f15f=0x0;_0xc4f15f<0x4;_0xc4f15f++){var _0x39faa7=_0x1a13a2[_0xc4f15f];_0x1a13a2[_0xc4f15f]=(_0x39faa7<<0x8|_0x39faa7>>>0x18)&0xff00ff|(_0x39faa7<<0x18|_0x39faa7>>>0x8)&0xff00ff00;}return _0x3fcec7;},'clone':function(){var _0x258496=_0x272da0,_0x47c876=_0x568b22[_0x258496(0x339)][_0x258496(0x2db)](this);return _0x47c876['_hash']=this[_0x258496(0x2ac)][_0x258496(0x339)](),_0x47c876;}});function _0x2b2f82(_0x4bc289,_0x575105,_0x4fcabf,_0x2f2145,_0x23d997,_0x375c09,_0x14f118){var _0x2d63d1=_0x4bc289+(_0x575105&_0x4fcabf|~_0x575105&_0x2f2145)+_0x23d997+_0x14f118;return(_0x2d63d1<<_0x375c09|_0x2d63d1>>>0x20-_0x375c09)+_0x575105;}function _0x59ca9d(_0xf70b89,_0xe02ee5,_0x57212a,_0x3fe6a7,_0x2ccab5,_0x3978cd,_0x171888){var _0x449ee3=_0xf70b89+(_0xe02ee5&_0x3fe6a7|_0x57212a&~_0x3fe6a7)+_0x2ccab5+_0x171888;return(_0x449ee3<<_0x3978cd|_0x449ee3>>>0x20-_0x3978cd)+_0xe02ee5;}function _0x3b03ef(_0x3d3788,_0x5d0bf1,_0x49591c,_0x8af14,_0x32a330,_0x34cd33,_0x5f1db9){var _0x51eac5=_0x3d3788+(_0x5d0bf1^_0x49591c^_0x8af14)+_0x32a330+_0x5f1db9;return(_0x51eac5<<_0x34cd33|_0x51eac5>>>0x20-_0x34cd33)+_0x5d0bf1;}function _0x1e19c9(_0x358a5a,_0x2c83be,_0x717f2c,_0x13da27,_0x5af360,_0x32c032,_0x5877c8){var _0x110157=_0x358a5a+(_0x717f2c^(_0x2c83be|~_0x13da27))+_0x5af360+_0x5877c8;return(_0x110157<<_0x32c032|_0x110157>>>0x20-_0x32c032)+_0x2c83be;}_0x1ed418[_0x272da0(0x304)]=_0x568b22[_0x272da0(0x195)](_0x4d6dcb),_0x1ed418['HmacMD5']=_0x568b22[_0x272da0(0x207)](_0x4d6dcb);}(Math),_0x59d59b[_0x52dad5(0x304)];}));}(Ye)),Ye[_0x465466(0x382)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0x2441f9(0x382)],Xt;function vn(){return Xt||(Xt=0x1,function(_0x4b6ad3,_0x28802e){(function(_0x15e63e,_0x16c3a9){_0x4b6ad3['exports']=_0x16c3a9(ie());}(fn,function(_0x393603){return(function(){var _0x9c2d1f=_0x3471,_0x175953=_0x393603,_0x6597bc=_0x175953[_0x9c2d1f(0x28e)],_0x27a331=_0x6597bc[_0x9c2d1f(0x1ff)],_0x2c1394=_0x6597bc['Hasher'],_0x1d5b71=_0x175953['algo'],_0x197a1f=[],_0x2d73c2=_0x1d5b71['SHA1']=_0x2c1394[_0x9c2d1f(0x16c)]({'_doReset':function(){var _0x2efab5=_0x9c2d1f;this[_0x2efab5(0x2ac)]=new _0x27a331[(_0x2efab5(0x260))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x514ee9,_0x893f52){var _0x508d58=_0x9c2d1f;for(var _0x2f7446=this['_hash'][_0x508d58(0x14a)],_0x1ad1a1=_0x2f7446[0x0],_0x3d9f7d=_0x2f7446[0x1],_0x4fda2c=_0x2f7446[0x2],_0x2dc36d=_0x2f7446[0x3],_0x2bf206=_0x2f7446[0x4],_0x5da876=0x0;_0x5da876<0x50;_0x5da876++){if(_0x5da876<0x10)_0x197a1f[_0x5da876]=_0x514ee9[_0x893f52+_0x5da876]|0x0;else{var _0x26e178=_0x197a1f[_0x5da876-0x3]^_0x197a1f[_0x5da876-0x8]^_0x197a1f[_0x5da876-0xe]^_0x197a1f[_0x5da876-0x10];_0x197a1f[_0x5da876]=_0x26e178<<0x1|_0x26e178>>>0x1f;}var _0x3ea9f1=(_0x1ad1a1<<0x5|_0x1ad1a1>>>0x1b)+_0x2bf206+_0x197a1f[_0x5da876];_0x5da876<0x14?_0x3ea9f1+=(_0x3d9f7d&_0x4fda2c|~_0x3d9f7d&_0x2dc36d)+0x5a827999:_0x5da876<0x28?_0x3ea9f1+=(_0x3d9f7d^_0x4fda2c^_0x2dc36d)+0x6ed9eba1:_0x5da876<0x3c?_0x3ea9f1+=(_0x3d9f7d&_0x4fda2c|_0x3d9f7d&_0x2dc36d|_0x4fda2c&_0x2dc36d)-0x70e44324:_0x3ea9f1+=(_0x3d9f7d^_0x4fda2c^_0x2dc36d)-0x359d3e2a,_0x2bf206=_0x2dc36d,_0x2dc36d=_0x4fda2c,_0x4fda2c=_0x3d9f7d<<0x1e|_0x3d9f7d>>>0x2,_0x3d9f7d=_0x1ad1a1,_0x1ad1a1=_0x3ea9f1;}_0x2f7446[0x0]=_0x2f7446[0x0]+_0x1ad1a1|0x0,_0x2f7446[0x1]=_0x2f7446[0x1]+_0x3d9f7d|0x0,_0x2f7446[0x2]=_0x2f7446[0x2]+_0x4fda2c|0x0,_0x2f7446[0x3]=_0x2f7446[0x3]+_0x2dc36d|0x0,_0x2f7446[0x4]=_0x2f7446[0x4]+_0x2bf206|0x0;},'_doFinalize':function(){var _0xd2cebb=_0x9c2d1f,_0xd21581=this[_0xd2cebb(0x127)],_0x5bb2fa=_0xd21581['words'],_0x28b549=this[_0xd2cebb(0x14c)]*0x8,_0x578068=_0xd21581[_0xd2cebb(0x1fc)]*0x8;return _0x5bb2fa[_0x578068>>>0x5]|=0x80<<0x18-_0x578068%0x20,_0x5bb2fa[(_0x578068+0x40>>>0x9<<0x4)+0xe]=Math[_0xd2cebb(0x17f)](_0x28b549/0x100000000),_0x5bb2fa[(_0x578068+0x40>>>0x9<<0x4)+0xf]=_0x28b549,_0xd21581[_0xd2cebb(0x1fc)]=_0x5bb2fa[_0xd2cebb(0x158)]*0x4,this['_process'](),this[_0xd2cebb(0x2ac)];},'clone':function(){var _0x4c26ce=_0x9c2d1f,_0x59aedb=_0x2c1394['clone'][_0x4c26ce(0x2db)](this);return _0x59aedb[_0x4c26ce(0x2ac)]=this[_0x4c26ce(0x2ac)]['clone'](),_0x59aedb;}});_0x175953[_0x9c2d1f(0x33b)]=_0x2c1394[_0x9c2d1f(0x195)](_0x2d73c2),_0x175953[_0x9c2d1f(0x173)]=_0x2c1394[_0x9c2d1f(0x207)](_0x2d73c2);}()),_0x393603['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},En=ze['exports'],Jt;function pn(){var _0x5bfe2c=_0x2441f9;return Jt||(Jt=0x1,function(_0x585a5e,_0x5c6f28){(function(_0x3c0c8b,_0x196379){var _0x57c140=_0x3471;_0x585a5e[_0x57c140(0x382)]=_0x196379(ie());}(En,function(_0x268606){(function(){var _0x54482a=_0x3471,_0x36642a=_0x268606,_0x5a318b=_0x36642a[_0x54482a(0x28e)],_0x367e1e=_0x5a318b[_0x54482a(0x240)],_0xdfc4f6=_0x36642a[_0x54482a(0x2d8)],_0x20df5e=_0xdfc4f6[_0x54482a(0x316)],_0x5d5c82=_0x36642a[_0x54482a(0x305)];_0x5d5c82['HMAC']=_0x367e1e[_0x54482a(0x16c)]({'init':function(_0xe90300,_0x43c652){var _0x8644fa=_0x54482a;_0xe90300=this['_hasher']=new _0xe90300['init'](),typeof _0x43c652==_0x8644fa(0xb5)&&(_0x43c652=_0x20df5e[_0x8644fa(0x2f3)](_0x43c652));var _0x2cc3a6=_0xe90300[_0x8644fa(0x326)],_0x2dbb0c=_0x2cc3a6*0x4;_0x43c652[_0x8644fa(0x1fc)]>_0x2dbb0c&&(_0x43c652=_0xe90300['finalize'](_0x43c652)),_0x43c652[_0x8644fa(0x2b7)]();for(var _0x22ffe7=this[_0x8644fa(0x2e5)]=_0x43c652['clone'](),_0x5e6497=this['_iKey']=_0x43c652['clone'](),_0xb631ff=_0x22ffe7[_0x8644fa(0x14a)],_0x3cdb6c=_0x5e6497['words'],_0x1aa31a=0x0;_0x1aa31a<_0x2cc3a6;_0x1aa31a++)_0xb631ff[_0x1aa31a]^=0x5c5c5c5c,_0x3cdb6c[_0x1aa31a]^=0x36363636;_0x22ffe7[_0x8644fa(0x1fc)]=_0x5e6497['sigBytes']=_0x2dbb0c,this[_0x8644fa(0x325)]();},'reset':function(){var _0x566d59=_0x54482a,_0xe39ac7=this[_0x566d59(0xe1)];_0xe39ac7[_0x566d59(0x325)](),_0xe39ac7[_0x566d59(0x312)](this[_0x566d59(0x3c5)]);},'update':function(_0x5551d1){var _0x55918a=_0x54482a;return this[_0x55918a(0xe1)][_0x55918a(0x312)](_0x5551d1),this;},'finalize':function(_0x14a3f3){var _0x140555=_0x54482a,_0x5ab892=this[_0x140555(0xe1)],_0x26481d=_0x5ab892[_0x140555(0x37b)](_0x14a3f3);_0x5ab892[_0x140555(0x325)]();var _0x1cfd37=_0x5ab892[_0x140555(0x37b)](this['_oKey'][_0x140555(0x339)]()[_0x140555(0x1ca)](_0x26481d));return _0x1cfd37;}});}());}));}(ze)),ze[_0x5bfe2c(0x382)];}var mn=Ke[_0x2441f9(0x382)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x5b84fd,_0xba5f34){(function(_0xb0311e,_0x435d47,_0x23ee63){var _0x1029df=_0x3471;_0x5b84fd[_0x1029df(0x382)]=_0x435d47(ie(),vn(),pn());}(mn,function(_0xa278b){var _0x4f20e1=_0x3471;return(function(){var _0x15f97e=_0x3471,_0x147ae8=_0xa278b,_0x10e6a0=_0x147ae8[_0x15f97e(0x28e)],_0x9c7558=_0x10e6a0[_0x15f97e(0x240)],_0x2a5579=_0x10e6a0[_0x15f97e(0x1ff)],_0xdabddc=_0x147ae8[_0x15f97e(0x305)],_0x22d22b=_0xdabddc[_0x15f97e(0x304)],_0x6e43a=_0xdabddc['EvpKDF']=_0x9c7558[_0x15f97e(0x16c)]({'cfg':_0x9c7558[_0x15f97e(0x16c)]({'keySize':0x80/0x20,'hasher':_0x22d22b,'iterations':0x1}),'init':function(_0x51c29c){var _0x3d1da0=_0x15f97e;this[_0x3d1da0(0xc1)]=this['cfg']['extend'](_0x51c29c);},'compute':function(_0x1191df,_0x5655d5){var _0x5cee20=_0x15f97e;for(var _0x186b43,_0x1793ea=this[_0x5cee20(0xc1)],_0x45bf07=_0x1793ea['hasher'][_0x5cee20(0x32e)](),_0x40236e=_0x2a5579[_0x5cee20(0x32e)](),_0x3ecc68=_0x40236e[_0x5cee20(0x14a)],_0x39b3ca=_0x1793ea[_0x5cee20(0x244)],_0x50fa2e=_0x1793ea['iterations'];_0x3ecc68[_0x5cee20(0x158)]<_0x39b3ca;){_0x186b43&&_0x45bf07[_0x5cee20(0x312)](_0x186b43),_0x186b43=_0x45bf07[_0x5cee20(0x312)](_0x1191df)[_0x5cee20(0x37b)](_0x5655d5),_0x45bf07[_0x5cee20(0x325)]();for(var _0x45c9d2=0x1;_0x45c9d2<_0x50fa2e;_0x45c9d2++)_0x186b43=_0x45bf07[_0x5cee20(0x37b)](_0x186b43),_0x45bf07[_0x5cee20(0x325)]();_0x40236e[_0x5cee20(0x1ca)](_0x186b43);}return _0x40236e[_0x5cee20(0x1fc)]=_0x39b3ca*0x4,_0x40236e;}});_0x147ae8[_0x15f97e(0x1c1)]=function(_0x3f318b,_0x28aba1,_0x53d0af){var _0x28926d=_0x15f97e;return _0x6e43a[_0x28926d(0x32e)](_0x53d0af)['compute'](_0x3f318b,_0x28aba1);};}()),_0xa278b[_0x4f20e1(0x1c1)];}));}(Ke)),Ke['exports'];}function _0x4168(){var _0x4c3ecd=['_changesetReqId','map','ERROR_IMAGE_TYPE','initWorkbookPermissionChange','_retryConnectingTimer','[CollaborationSessionService]','ERROR_IMAGE','next','getWorkbookSelections','random','DATA_SOURCE_TOO_LARGE','getResourcesRequest','_transformUndoredo','_commentService','_toggleOffline','values','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_updateStatus','abs','_socket$','unitId','getSheetId','onTransformRemoteChangesetByIMECache','/role','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','AWAITING','_getSignURL','resend','_config','catch','4TYVyFG','NO_OTHER_CLIENTS_EDITING','shouldCloseConn','post','filter','subject','_getAPIPrefixPath','lib','_onRemoteRejected','unsubscribe','SerializableCipher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_awaitingChangeset','_applyRemoteChangeset','_keySchedule','_sessions','eventID','_tryReconnect','onTransformRemoteChangesetByStateCache','_undoStacks','mutations','objectType','People','createInstance','getRoom','COMPRESS_MUTATION_SEND','WECHAT_HAS_BEEN_BOUND','onRemoteRej','transformUndoRedo','APPLY_DUPLICATED','downloadEndpointUrl','fetching\x20missing\x20changesets\x20from\x20','_schedule','actions','YUUMI_URL_COL_OUT_OF_RANGE','_onRemoteACK','session','_hash','LIVESHARE_TERMINATE','[PendingState]:\x20received\x20acknowledgement.','interceptor','disableLocalCache','updateOfflineData','NEW_CHANGESETS','_snapshotServerService','setCurrentUser','toggleOnline','loadSheet','clamp','_socketMessageSubscription','key','_clearRetryConnectingTimer','/universer-api/comb','getOwnPropertyDescriptor','_clearRedo','mixIn','9297490tJQuVP','_parse','getCurrentUser','_substituteRedoStack','authzUrl','_handlerCallback','_onConnectionOpen','indexOf','crypto','onTransformState','REDEMPTION_CODE_FULLY_REDEEMED','_eventService','members','then','/unit/','HEARTBEAT_INTERVAL','offline','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','sessionStatus$','[CollaborationEntity]','complete','CHANGESET_ACK','_httpService','createCollaborator','1623399TNklIi','enc','push','_timeoutTimer','call','find','REDEMPTION_USER_REDEEM_TIMES_EXCEED','LIVESHARE_NEW_HOST','_changesetSessionId','saveChangeset','__creator','REDEMPTION_CODE_HAS_BEEN_CREATED','_doReset','_initCloseConn','_oKey','_emitMembers','_scheduleCompleteTimestamp','responseType','CONFLICT','putCollaborators','_onOffline','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNISCRIPT_RUN','getRandomValues','LIVESHARE_REQUEST_HOST','[UniverCollaborationClientPlugin]','\x20-\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','parse','[CollaborationState]:\x20apply\x20error!','loadDoc','startTime','USERS_ENTER','[CollaborationSession]','INVALID_INVITE_CODE','onRemoteRetry','collabWebSocketUrl','_transformService','getAllMembers','_getUndoStack','not_collab','SOCKET_FAILED','_onRecvEvent','_handler','_retryCount','MD5','algo','_resendTimer','delete','_ENC_XFORM_MODE','_cipher','USERS_LEAVE','patch','_sender','MOBILE_HAS_BEEN_BOUND','_snapshotService','subUnitId','getUnitId','params','update','BASE64','listRoles','session.join-failed','Utf8','unpad','Cipher','url','HttpImport','error$','PERSON','/block/','_telemetryService','emitEvent','getCurrentRevOfUnit','_replaceFileID','size','mode','isPermissionRej','reset','blockSize','session.room-cnt-exceeds','closeSession','rev','_undoRedoService','updatePermissionObjEvent','_shouldReportTelemetry','symbol','create','SOCKET_FAILED_RETRY','action','Univer','submit\x20changeset\x20error!','LICENSE_IMPORT_SIZE_EXCEEDED','CHANGESET_REJ','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collabSessionService','pending','_initDependencies','clone','csRejEvent','SHA1','APPLY_NON_SEQUENTIAL_REVISION','_pendingMutations','[DataLoaderService]','_unlockTransition','_getDownloadEndpointURL','_reverseMap','INVALID_ARGUMENT','Hex','open$','/object/','c2Prime','toggleOffline','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','type','onTransformIME','sid','confirm','UNRECOGNIZED','subscribe','_rescheduleHeartbeat','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','setConfig','join','_remoteChangesetQueue','[SyncedState]:\x20received\x20rejection.','auth.needGotoLoginAlert','ENSURE_SNAPSHOT_EXECUTION','put','JOIN_ROOM_PERMISSION_DENIED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','stringify','[CollaborationUndoRedoService]','hostname','_sendHeartbeat','_resendTimeout','UNIVER_PROJECT','PERMISSION_REJ','_maxTotalRetryTimeout','_sendHeartbeatTimer','PY_RUNTIME_SCRIPT_ERROR','src','image/png','addImageSourceCache','state','UPDATE_CURSOR','readyForCollab','_doCryptBlock','session.room-permission-denied','Undefined','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','unknown','newCsEvent','FAIL','joinEvent','state$','FETCH_MISSING','_init','_showConflictNotification','/universer-api/oidc/authpage','append','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','routeKey','finalize','_process','_substituteUndoStack','[PendingState]:\x20received\x20rejection.','/universer-api/authz','avatar','OTHER_CLIENT_EDITING','exports','REDEMPTION_USER_NOT_ELIGIBLE','_permissionService','_collaborationSessionService','_syncEditingCollabCursor','GLOBAL_ROOMS_CNT_EXCEEDS','CipherParams','_candidateSocket','byteLength','body','_stopTelemetryCollaborationNewChangeset','_createInitialStateImpl','_onRemoteRetry','getDeserializedSheetBlock','univer-pro.collaboration-client.network-condition.service','_compressMutationService','_updateState','UNKNOWN_CMD','isArray','updateCollaborator','_transitionLocked','getFocusedUnit','_acknowledgedAwaitingChangeset','_registerDependencies','compute','_onConflict','unitID','defineProperty','UPDATE_PERMISSION_OBJ','debug','hasher','replace','_entityInit$','?size=','name','error','splice','from','transformStack\x20failed!','LEAVE','createEncryptor','connection\x20error','_listenToNetworkCondition','_startCollaboration','fetch_missing','HMAC','location','includes','pipe','MUTATION','baseRev','PAYMENT_CHANNEL_NOT_SUPPORT','YUUMI_SUBSCRIPTION_NOT_FOUND','_doProcessBlock','unit-cache-','AUTHORIZE_CODE_ILLEGAL','/-/object/-/batch_allowed','_sheetTransformSelectionsService','encode','charAt','transformChangesets','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','now','ALREADY_EXISTS','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','createDecryptor','resolve','_iKey','BlockCipherMode','enableOfflineEditing','_doFinalize','objects','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Encryptor','_clearTimeoutTimer','_collaborationUIEventService','_startTelemetryCollaborationNewChangeset','/collaborator','_getCurrentRevision','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localCacheService','Hasher','method','appendMutation','onlyLocal','selections','_members$','_localeService','reverse','SUBMIT_CHANGESET_TIMEOUT','reconnect','hasOwnProperty','_clearLocalCache','commentUpdateEvent','collabSubmitChangesetUrl','salt','headers','TOO_MANY_REQUESTS','$super','?url=','executeCommand','_submitChangeset','/universer-api/snapshot','range','_doCreateSocket','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity$','_xformMode','_onCombEvent','getConfig','string','onLocalMutation','onSendChangeset','_mode','_executeRemoteChangeset','textRanges','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_transformRemoteChangesetByStateCache','getTypeOfUnitAdded$','OFFLINE','_state','_getSendChangesetTimeout','cfg','ENTITLE_DUP_SUBSCRIPTION','pauseCollaboration','collaboratorID','_checkMissing','SUCCUSS','__Key__','OTHER_CLIENTS_EDITING','getSheetBlock','loadUnit','awaiting_with_pending','INVITE_CODE_ALREADY_BOUND','LIVESHARE_OPERATION','decrypt','objectActions','requireSession','_onConnectionFailed','Latin1','_updateLocalCache','ws://127.0.0.1:8000/universer-api/comb/connect','status$','_minBufferSize','save\x20fail\x20reason\x20is\x20','deleteCollaborator','updateCursorEvent','/rev/','_replayCachedMutations','370USXdKo','transformSelections','_imageSourceCache','memberID','workbook','_hasher','getTypeOfUnitDisposed$','startsWith','override','RETRY_CONNECTING_MAX_COUNT','snapshot','status','onRemoteChangeset','socketService','YUUMI_UNABLE_LOAD_URL','_unitInfo$','_waitCount','reqId','asObservable','_clearCollaborationTimeoutTimer','data','HEARTBEAT','withCredentials','YUUMI_RATE_OVER_LIMIT','updateMember','CBC','UNKNOWN_CODE','APPLY_PERMISSION_DENIED','retryConnectingInterval','encrypt','APPLY_REVISION_CONFILICT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','x-univer-host','_commandService','set','_redoStacks','_singleActiveUnitService','_type','ciphertext','collaboration-client.config','_throwTelemetryCollaborationNewChangeset','synced','awaiting','USER_IS_ANONYMOUS','dispose','_socketService','/universer-api/stream/file/upload','CHANGESET_SHOULD_RETRY','objectID','LICENSE_DISTRO_REJECTED','loadUnitOfRevision','_change$','UNIVER_SHEET','fetchMiss','PERMISSION_DENIED','_transformStack','send','_members','HttpExport','href','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','roles','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CONNECTOR_DATA_TOO_LARGE','_transformIMECache','EMAIL_HAS_BEEN_BOUND','_nRounds','sheets','_injector','37914855reentR','LOGIN_FAILED','fetchMissingChangesets','substr','entityInit$','_initMergeInterceptor','_data','getSnapshotAPIPath','JOIN_ROOM_FAILED','fromCharCode','localCacheService','ENTITLE_INSUFFICIENT_QUOTA','_onFetchMissResult','MOBILE_VERIFY_CODE_MISMATCH','univer-pro.collaboration-client-socket-service','3081865nijwrL','randomBytes','image/bmp','Could\x20not\x20dynamically\x20require\x20\x22','getLatestCsReqIdBySid','has','onTransformSelections','_configService','_tryEnsureSocket','fetchThroughInterceptors','infoRsp','ENTITLE_COUPON_USED_UP','UNAUTHENTICATED','_entities','_append','_queuedRemoteChangesets','setWaitCount','padding','list','image/gif','liveShareOperation','uploadFileServerUrl','_roomCreated$','_exhaustRemoteChangesetQueue','/universer-api/user/session-ticket','addHandlerCallback','words','prototype','_nDataBytes','_sendingTimer','allowed','onRemoteAck','getUnit','onSyncEditingCollabCursor','close$','_initRequestHeader','YUUMI_NO_CUBOID_FOR_QUESTION','apply','getMemberID','NoPadding','length','m2Prime','loadOfflineData','_invKeySchedule','ENTITLE_CHAT_LIMIT_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','socket$','title','_commentUpdate$','enableAuthServer','1814603HyxbCf','transformMutationsWithChangeset','min','collaMsg','_clearScheduledTask','change$','Malformed\x20UTF-8\x20data','[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.','UNIVER_COLLABORATION_CLIENT_PLUGIN','_disableEditing','extend','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onLocalMutation','getTime','msCrypto','conflict','_scheduleCollaborationTimeoutTimer','HmacSHA1','originalMeta','encodeURIComponent','_onMessage','UUID','setShowComponents','_keyPriorReset','_transformStateCache','_toggleOnline','[OfflineState]:\x20received\x20rejection.','_initUnitPermissionChange','6HEzTOF','floor','incrementRevOfUnit','result','/universer-api/snapshot/','LOCAL_CACHE_INTERVAL','waitForRoom$','RECV','_onUserJoin','removeMember','_memberService','_univerInstanceService','repeat','message$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','PENDING','_state$','event$','getImage','revision','_roomMembers','3844zWWGyj','EMAIL_VERIFY_CODE_MISMATCH','_createHelper','unitId\x20is\x20not\x20found','sessionStatus','updateSnapshot','onMissingChangesets','LOGIN_TOKEN_PROCESSING_FAILED','Base64','session.room-not-exists','UnitSnapshot','close','uniscriptRunEvent','localeService','byteOffset','c1Prime','createSocket','JOINING','JOIN','/fetchmissing?from=','getMember','UNIVER_SLIDE','socket\x20open.','_getRedoStack','/-/object/list','onCommentUpdate','execute','[CollaborationSessionService]:\x20socket\x20error','_waitForHeartbeatResponse','POST','_onUserLeave','cmd','INTERNAL_ERROR','leaveEvent','&source=','_unitID','changesets','YUUMI_ASYNCIO_CANCELLED','BlockCipher','UNIVER_UNKNOWN','ceil','_createInitialState','processBlock','joinRsp','_socketReady','slice','EvpKDF','COMMENT_UPDATE','FileId','_networkConditionService','OPTIONAL','permissionRejEvent','_getAPIPrefix','_createHandler','_status$','concat','JOIN_ROOM_FULL','_revisionService','_userManagerService','_clearUndo','_iv','HELLO','_transformRemoteChangesetByIMECache','UnitEmbedded','LICENSE_MAX_UNITS_EXCEEDED','_event$','getUnitType','reject','_HTTPService','updatePermissionPoint','disposeWithMe','_removeRoom','kdf','image/jpeg','deepClone','JOIN_ROOM_NOT_EXISTS','_socket','registerHTTPInterceptor','CLOSE_ROOM','\x0aAfter:\x20','/object','[OfflineState]:\x20received\x20changeset.','UNIVER_DOC','max','_prevBlock','refreshPermission','getInterceptPoints','commentUpdate$','IDLE','focused$','SHOULD_CLOSE_CONN','univer-pro.collaboration-client.single-active-unit-service','SNAPSHOT_INVALID_SNAPSHOT','liveShareNewHost','resourceIDs','enableCollaboration','_logService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ERROR_EXCEED_SIZE','_instanceService','_collaborationPaused','onMutationExecutedForCollab','UNDEFINED','/allowed','sigBytes','[FetchMissState]','ivSize','WordArray','REDEMPTION_CODE_NOT_STARTED','_getUploadFileURL','file','_clearHeartbeatTimer','_transformSelections','encryptBlock','roomInfos','_createHmacHelper','72KdgyKb','907407DqMuYH','findIndex','origin','MSG_FOR_ERROR','ONLINE','DEFAULT_FILE_NAME','INVITE_CODE_REQUIRED','userID','default','requestParams','ClipsheetFragments','LIVESHARE_FETCH_OPERATIONS','every','_lockTransition','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SYNCED','add','pad','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_isPermissionRej','_incrementRevisionNumber','Failed\x20to\x20update\x20permission\x20point','ERROR_AGAIN','saveSnapshot','INGEST','get','REDEMPTION_INVALID_CODE','duration','members$','UserProfileImg','editingUnit','clear','getUnitStatus$','code','function','Error\x20on\x20receiving\x20event','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','forEach','PSEUDO_FETCH_MISSING_RESULT','collaborators','_onRemoteChangeset','Decryptor','_createSocket','_sessionStatus$','awaitingChangeset','NOT_COLLAB','charCodeAt','_telemetryInfo','onStarting','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','REDEMPTION_CODE_INACTIVE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabEntity','csAckEvent','_collaborationTimeoutTimer','Base','unitInfo$','COMPLETION_FINISHED','_resendWithTimeout','keySize','Pkcs7','&to=','equals','onload','YUUMI_AI_RUN_FAILED','_onJoinRoomEvent','pluginName','_getLoginPath','[OfflineState]:\x20received\x20acknowledgement.','INVITE_CODE_HAS_BEEN_UES','HEARTBEAT_TIMEOUT','_key','reduce','signUrlServerUrl','_joinRoom','stopTime','_map','collaboration-client.local-cache-service','OpenSSL','SUBMIT_CHANGESET','format','dispose$','ENTITLE_INVALID_COUPON_CODE','YUUMI_CONNECTOR_URL_NOT_FOUND','_decreaseWaiting','toString','YUUMI_ALL_TABLES_IS_INVALID','init','formatter','NOT_FOUND','compose','fromCollab','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','BufferedBlockAlgorithm','AES','onMissedChangesetFetched'];_0x4168=function(){return _0x4c3ecd;};return _0x4168();}var Xe={'exports':{}},In=Xe[_0x2441f9(0x382)],Qt;function bi(){var _0x4d0324=_0x2441f9;return Qt||(Qt=0x1,function(_0x451c06,_0x54f5ca){(function(_0x1a2cd5,_0x50b0c8,_0x9fa34c){_0x451c06['exports']=_0x50b0c8(ie(),Ci());}(In,function(_0x2051df){_0x2051df['lib']['Cipher']||function(_0x2c19d0){var _0x635e30=_0x3471,_0x2d70f3=_0x2051df,_0x42cd88=_0x2d70f3['lib'],_0x24a1b4=_0x42cd88['Base'],_0x3e8951=_0x42cd88['WordArray'],_0x5eb836=_0x42cd88[_0x635e30(0x266)],_0x22e106=_0x2d70f3[_0x635e30(0x2d8)];_0x22e106[_0x635e30(0x316)];var _0x2d14f6=_0x22e106[_0x635e30(0x19b)],_0x3c6375=_0x2d70f3[_0x635e30(0x305)],_0x4116fe=_0x3c6375[_0x635e30(0x1c1)],_0x20b45c=_0x42cd88[_0x635e30(0x318)]=_0x5eb836[_0x635e30(0x16c)]({'cfg':_0x24a1b4[_0x635e30(0x16c)](),'createEncryptor':function(_0x276616,_0x48c582){var _0x1ac565=_0x635e30;return this[_0x1ac565(0x32e)](this[_0x1ac565(0x308)],_0x276616,_0x48c582);},'createDecryptor':function(_0x3820fd,_0x3beb80){var _0x48806d=_0x635e30;return this[_0x48806d(0x32e)](this['_DEC_XFORM_MODE'],_0x3820fd,_0x3beb80);},'init':function(_0x1a1866,_0x2c11eb,_0x2c4d79){var _0x4bc218=_0x635e30;this[_0x4bc218(0xc1)]=this[_0x4bc218(0xc1)][_0x4bc218(0x16c)](_0x2c4d79),this['_xformMode']=_0x1a1866,this['_key']=_0x2c11eb,this[_0x4bc218(0x325)]();},'reset':function(){var _0x384d92=_0x635e30;_0x5eb836[_0x384d92(0x325)]['call'](this),this[_0x384d92(0x2e3)]();},'process':function(_0x5bc70c){var _0x563861=_0x635e30;return this[_0x563861(0x13e)](_0x5bc70c),this[_0x563861(0x37c)]();},'finalize':function(_0x129d7b){var _0x5c45a0=_0x635e30;_0x129d7b&&this['_append'](_0x129d7b);var _0x35b394=this[_0x5c45a0(0x3c8)]();return _0x35b394;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x38bcc4(_0x17c1cb){return typeof _0x17c1cb=='string'?_0x222ab1:_0x13f869;}return function(_0x515226){return{'encrypt':function(_0x52b013,_0x26bdce,_0x4cb808){var _0x39acb1=_0x3471;return _0x38bcc4(_0x26bdce)[_0x39acb1(0xf9)](_0x515226,_0x52b013,_0x26bdce,_0x4cb808);},'decrypt':function(_0x28ec8d,_0x395340,_0x10af36){return _0x38bcc4(_0x395340)['decrypt'](_0x515226,_0x28ec8d,_0x395340,_0x10af36);}};};}())});_0x42cd88['StreamCipher']=_0x20b45c['extend']({'_doFinalize':function(){var _0x4337aa=_0x635e30,_0x279394=this[_0x4337aa(0x37c)](!0x0);return _0x279394;},'blockSize':0x1});var _0x178646=_0x2d70f3[_0x635e30(0x323)]={},_0x79f8e6=_0x42cd88[_0x635e30(0x3c6)]=_0x24a1b4['extend']({'createEncryptor':function(_0x4a4645,_0x4fa1dd){var _0x3a4622=_0x635e30;return this[_0x3a4622(0x3cb)][_0x3a4622(0x32e)](_0x4a4645,_0x4fa1dd);},'createDecryptor':function(_0x2c78aa,_0x3f0f4d){var _0x106956=_0x635e30;return this[_0x106956(0x232)][_0x106956(0x32e)](_0x2c78aa,_0x3f0f4d);},'init':function(_0x5c2156,_0x5076b0){var _0xf8dbd6=_0x635e30;this[_0xf8dbd6(0x309)]=_0x5c2156,this[_0xf8dbd6(0x1cf)]=_0x5076b0;}}),_0x1d44e1=_0x178646[_0x635e30(0xf5)]=(function(){var _0x5aff31=_0x635e30,_0x43b1d1=_0x79f8e6[_0x5aff31(0x16c)]();_0x43b1d1['Encryptor']=_0x43b1d1[_0x5aff31(0x16c)]({'processBlock':function(_0x312a80,_0x1fe8b6){var _0x266b31=_0x5aff31,_0x1ef0cc=this['_cipher'],_0x1b4863=_0x1ef0cc[_0x266b31(0x326)];_0x584859['call'](this,_0x312a80,_0x1fe8b6,_0x1b4863),_0x1ef0cc[_0x266b31(0x205)](_0x312a80,_0x1fe8b6),this['_prevBlock']=_0x312a80[_0x266b31(0x1c0)](_0x1fe8b6,_0x1fe8b6+_0x1b4863);}}),_0x43b1d1[_0x5aff31(0x232)]=_0x43b1d1[_0x5aff31(0x16c)]({'processBlock':function(_0x584180,_0x47dd07){var _0x51b6eb=_0x5aff31,_0x529541=this[_0x51b6eb(0x309)],_0x4029b5=_0x529541['blockSize'],_0x1bc8c0=_0x584180[_0x51b6eb(0x1c0)](_0x47dd07,_0x47dd07+_0x4029b5);_0x529541['decryptBlock'](_0x584180,_0x47dd07),_0x584859[_0x51b6eb(0x2db)](this,_0x584180,_0x47dd07,_0x4029b5),this[_0x51b6eb(0x1e7)]=_0x1bc8c0;}});function _0x584859(_0x46d2f6,_0x5e63b7,_0x38cef9){var _0x128e4f=_0x5aff31,_0x518582,_0x5c5f2b=this[_0x128e4f(0x1cf)];_0x5c5f2b?(_0x518582=_0x5c5f2b,this[_0x128e4f(0x1cf)]=_0x2c19d0):_0x518582=this[_0x128e4f(0x1e7)];for(var _0x58b4a3=0x0;_0x58b4a3<_0x38cef9;_0x58b4a3++)_0x46d2f6[_0x5e63b7+_0x58b4a3]^=_0x518582[_0x58b4a3];}return _0x43b1d1;}()),_0x66bd9d=_0x2d70f3[_0x635e30(0x21a)]={},_0x407883=_0x66bd9d[_0x635e30(0x245)]={'pad':function(_0x187993,_0x570f84){var _0x6f5171=_0x635e30;for(var _0x19b298=_0x570f84*0x4,_0xc3494a=_0x19b298-_0x187993[_0x6f5171(0x1fc)]%_0x19b298,_0x11109e=_0xc3494a<<0x18|_0xc3494a<<0x10|_0xc3494a<<0x8|_0xc3494a,_0x5b4a53=[],_0x523854=0x0;_0x523854<_0xc3494a;_0x523854+=0x4)_0x5b4a53[_0x6f5171(0x2d9)](_0x11109e);var _0x13ecd5=_0x3e8951[_0x6f5171(0x32e)](_0x5b4a53,_0xc3494a);_0x187993[_0x6f5171(0x1ca)](_0x13ecd5);},'unpad':function(_0x14a8b4){var _0x5b8bc1=_0x635e30,_0x155f56=_0x14a8b4[_0x5b8bc1(0x14a)][_0x14a8b4[_0x5b8bc1(0x1fc)]-0x1>>>0x2]&0xff;_0x14a8b4[_0x5b8bc1(0x1fc)]-=_0x155f56;}};_0x42cd88[_0x635e30(0x1b9)]=_0x20b45c[_0x635e30(0x16c)]({'cfg':_0x20b45c[_0x635e30(0xc1)]['extend']({'mode':_0x1d44e1,'padding':_0x407883}),'reset':function(){var _0x9af90d=_0x635e30,_0x54db99;_0x20b45c['reset'][_0x9af90d(0x2db)](this);var _0x411369=this['cfg'],_0x4739d3=_0x411369['iv'],_0x115576=_0x411369['mode'];this[_0x9af90d(0xb2)]==this['_ENC_XFORM_MODE']?_0x54db99=_0x115576['createEncryptor']:(_0x54db99=_0x115576[_0x9af90d(0x3c3)],this['_minBufferSize']=0x1),this[_0x9af90d(0xb8)]&&this[_0x9af90d(0xb8)][_0x9af90d(0x2e1)]==_0x54db99?this[_0x9af90d(0xb8)]['init'](this,_0x4739d3&&_0x4739d3['words']):(this[_0x9af90d(0xb8)]=_0x54db99[_0x9af90d(0x2db)](_0x115576,this,_0x4739d3&&_0x4739d3[_0x9af90d(0x14a)]),this[_0x9af90d(0xb8)][_0x9af90d(0x2e1)]=_0x54db99);},'_doProcessBlock':function(_0x5dc7ff,_0x3f2601){var _0x5767d6=_0x635e30;this[_0x5767d6(0xb8)][_0x5767d6(0x1bd)](_0x5dc7ff,_0x3f2601);},'_doFinalize':function(){var _0x44034e=_0x635e30,_0x30cffa,_0x2f1364=this[_0x44034e(0xc1)][_0x44034e(0x141)];return this[_0x44034e(0xb2)]==this[_0x44034e(0x308)]?(_0x2f1364['pad'](this['_data'],this[_0x44034e(0x326)]),_0x30cffa=this[_0x44034e(0x37c)](!0x0)):(_0x30cffa=this['_process'](!0x0),_0x2f1364[_0x44034e(0x317)](_0x30cffa)),_0x30cffa;},'blockSize':0x80/0x20});var _0x332d21=_0x42cd88[_0x635e30(0x388)]=_0x24a1b4[_0x635e30(0x16c)]({'init':function(_0x1dd566){this['mixIn'](_0x1dd566);},'toString':function(_0x5d18c9){var _0xeaf7c4=_0x635e30;return(_0x5d18c9||this[_0xeaf7c4(0x261)])[_0xeaf7c4(0x35b)](this);}}),_0x4c84a7=_0x2d70f3[_0x635e30(0x259)]={},_0x17605a=_0x4c84a7[_0x635e30(0x257)]={'stringify':function(_0x4d95cd){var _0x547f8e=_0x635e30,_0x46271f,_0x3362bd=_0x4d95cd[_0x547f8e(0x102)],_0x22aff5=_0x4d95cd[_0x547f8e(0xa6)];return _0x22aff5?_0x46271f=_0x3e8951['create']([0x53616c74,0x65645f5f])[_0x547f8e(0x1ca)](_0x22aff5)['concat'](_0x3362bd):_0x46271f=_0x3362bd,_0x46271f[_0x547f8e(0x25e)](_0x2d14f6);},'parse':function(_0x1ba258){var _0x79b919=_0x635e30,_0x3c21e9,_0x47a1ea=_0x2d14f6[_0x79b919(0x2f3)](_0x1ba258),_0x3de83f=_0x47a1ea[_0x79b919(0x14a)];return _0x3de83f[0x0]==0x53616c74&&_0x3de83f[0x1]==0x65645f5f&&(_0x3c21e9=_0x3e8951[_0x79b919(0x32e)](_0x3de83f[_0x79b919(0x1c0)](0x2,0x4)),_0x3de83f[_0x79b919(0x3a6)](0x0,0x4),_0x47a1ea[_0x79b919(0x1fc)]-=0x10),_0x332d21['create']({'ciphertext':_0x47a1ea,'salt':_0x3c21e9});}},_0x13f869=_0x42cd88[_0x635e30(0x291)]=_0x24a1b4['extend']({'cfg':_0x24a1b4[_0x635e30(0x16c)]({'format':_0x17605a}),'encrypt':function(_0x12f41a,_0x2e9ed3,_0x4f2e6d,_0x39b61f){var _0x169796=_0x635e30;_0x39b61f=this['cfg'][_0x169796(0x16c)](_0x39b61f);var _0x448dbc=_0x12f41a[_0x169796(0x3aa)](_0x4f2e6d,_0x39b61f),_0x3c4aeb=_0x448dbc[_0x169796(0x37b)](_0x2e9ed3),_0x58b57f=_0x448dbc[_0x169796(0xc1)];return _0x332d21[_0x169796(0x32e)]({'ciphertext':_0x3c4aeb,'key':_0x4f2e6d,'iv':_0x58b57f['iv'],'algorithm':_0x12f41a,'mode':_0x58b57f['mode'],'padding':_0x58b57f[_0x169796(0x141)],'blockSize':_0x12f41a['blockSize'],'formatter':_0x39b61f[_0x169796(0x259)]});},'decrypt':function(_0x3595d5,_0x1f5232,_0x2fb870,_0xb51af0){var _0x483266=_0x635e30;_0xb51af0=this['cfg']['extend'](_0xb51af0),_0x1f5232=this[_0x483266(0x2c0)](_0x1f5232,_0xb51af0[_0x483266(0x259)]);var _0x3c8ea8=_0x3595d5[_0x483266(0x3c3)](_0x2fb870,_0xb51af0)[_0x483266(0x37b)](_0x1f5232['ciphertext']);return _0x3c8ea8;},'_parse':function(_0x5cbc05,_0x41f413){var _0x3a8235=_0x635e30;return typeof _0x5cbc05==_0x3a8235(0xb5)?_0x41f413[_0x3a8235(0x2f3)](_0x5cbc05,this):_0x5cbc05;}}),_0x1b873a=_0x2d70f3[_0x635e30(0x1db)]={},_0x1ad3f1=_0x1b873a[_0x635e30(0x257)]={'execute':function(_0xe9782f,_0x905dd5,_0xdeabcb,_0x50c00c,_0x406cdd){var _0xbcf35a=_0x635e30;if(_0x50c00c||(_0x50c00c=_0x3e8951['random'](0x40/0x8)),_0x406cdd)var _0x471af7=_0x4116fe[_0xbcf35a(0x32e)]({'keySize':_0x905dd5+_0xdeabcb,'hasher':_0x406cdd})[_0xbcf35a(0x39a)](_0xe9782f,_0x50c00c);else var _0x471af7=_0x4116fe[_0xbcf35a(0x32e)]({'keySize':_0x905dd5+_0xdeabcb})['compute'](_0xe9782f,_0x50c00c);var _0x4fa4fa=_0x3e8951[_0xbcf35a(0x32e)](_0x471af7[_0xbcf35a(0x14a)]['slice'](_0x905dd5),_0xdeabcb*0x4);return _0x471af7['sigBytes']=_0x905dd5*0x4,_0x332d21[_0xbcf35a(0x32e)]({'key':_0x471af7,'iv':_0x4fa4fa,'salt':_0x50c00c});}},_0x222ab1=_0x42cd88['PasswordBasedCipher']=_0x13f869[_0x635e30(0x16c)]({'cfg':_0x13f869[_0x635e30(0xc1)][_0x635e30(0x16c)]({'kdf':_0x1ad3f1}),'encrypt':function(_0x4a0ff8,_0x55f0f5,_0x387a64,_0x21d56f){var _0x24b22f=_0x635e30;_0x21d56f=this[_0x24b22f(0xc1)][_0x24b22f(0x16c)](_0x21d56f);var _0x5c7884=_0x21d56f[_0x24b22f(0x1db)][_0x24b22f(0x1ad)](_0x387a64,_0x4a0ff8[_0x24b22f(0x244)],_0x4a0ff8[_0x24b22f(0x1fe)],_0x21d56f[_0x24b22f(0xa6)],_0x21d56f[_0x24b22f(0x3a0)]);_0x21d56f['iv']=_0x5c7884['iv'];var _0x3819cf=_0x13f869[_0x24b22f(0xf9)][_0x24b22f(0x2db)](this,_0x4a0ff8,_0x55f0f5,_0x5c7884[_0x24b22f(0x2b9)],_0x21d56f);return _0x3819cf[_0x24b22f(0x2be)](_0x5c7884),_0x3819cf;},'decrypt':function(_0x36a58b,_0x3d66de,_0x39012a,_0x4260db){var _0x1ad10d=_0x635e30;_0x4260db=this[_0x1ad10d(0xc1)][_0x1ad10d(0x16c)](_0x4260db),_0x3d66de=this[_0x1ad10d(0x2c0)](_0x3d66de,_0x4260db[_0x1ad10d(0x259)]);var _0x2820d5=_0x4260db[_0x1ad10d(0x1db)][_0x1ad10d(0x1ad)](_0x39012a,_0x36a58b[_0x1ad10d(0x244)],_0x36a58b['ivSize'],_0x3d66de[_0x1ad10d(0xa6)],_0x4260db['hasher']);_0x4260db['iv']=_0x2820d5['iv'];var _0xc19e4a=_0x13f869[_0x1ad10d(0xce)][_0x1ad10d(0x2db)](this,_0x36a58b,_0x3d66de,_0x2820d5['key'],_0x4260db);return _0xc19e4a;}});}();}));}(Xe)),Xe[_0x4d0324(0x382)];}var Sn=Ve[_0x2441f9(0x382)],ei;function _0x3471(_0x16da53,_0x37a0fa){_0x16da53=_0x16da53-0x94;var _0x416888=_0x4168();var _0x3471bd=_0x416888[_0x16da53];return _0x3471bd;}function gn(){var _0x31cb52=_0x2441f9;return ei||(ei=0x1,function(_0x5d2ff6,_0x4ceb56){(function(_0x34b8a8,_0xef7fa4,_0x45310a){var _0x4529a9=_0x3471;_0x5d2ff6[_0x4529a9(0x382)]=_0xef7fa4(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x102bea){var _0x1576b9=_0x3471;return(function(){var _0x5603ff=_0x3471,_0x330ce6=_0x102bea,_0x5a7c0b=_0x330ce6['lib'],_0x464513=_0x5a7c0b['BlockCipher'],_0x4078a1=_0x330ce6[_0x5603ff(0x305)],_0x1d8e33=[],_0x43c3c7=[],_0x453afe=[],_0x4c638c=[],_0x4e74a3=[],_0x56744a=[],_0x3d4ca5=[],_0x35cddd=[],_0x470379=[],_0x2315c5=[];(function(){for(var _0x4bdb63=[],_0x28c0f6=0x0;_0x28c0f6<0x100;_0x28c0f6++)_0x28c0f6<0x80?_0x4bdb63[_0x28c0f6]=_0x28c0f6<<0x1:_0x4bdb63[_0x28c0f6]=_0x28c0f6<<0x1^0x11b;for(var _0x3b6bc4=0x0,_0x3ae92a=0x0,_0x28c0f6=0x0;_0x28c0f6<0x100;_0x28c0f6++){var _0x1a0212=_0x3ae92a^_0x3ae92a<<0x1^_0x3ae92a<<0x2^_0x3ae92a<<0x3^_0x3ae92a<<0x4;_0x1a0212=_0x1a0212>>>0x8^_0x1a0212&0xff^0x63,_0x1d8e33[_0x3b6bc4]=_0x1a0212,_0x43c3c7[_0x1a0212]=_0x3b6bc4;var _0x4a75fd=_0x4bdb63[_0x3b6bc4],_0x1e8cca=_0x4bdb63[_0x4a75fd],_0x4e276f=_0x4bdb63[_0x1e8cca],_0x1bb3c2=_0x4bdb63[_0x1a0212]*0x101^_0x1a0212*0x1010100;_0x453afe[_0x3b6bc4]=_0x1bb3c2<<0x18|_0x1bb3c2>>>0x8,_0x4c638c[_0x3b6bc4]=_0x1bb3c2<<0x10|_0x1bb3c2>>>0x10,_0x4e74a3[_0x3b6bc4]=_0x1bb3c2<<0x8|_0x1bb3c2>>>0x18,_0x56744a[_0x3b6bc4]=_0x1bb3c2;var _0x1bb3c2=_0x4e276f*0x1010101^_0x1e8cca*0x10001^_0x4a75fd*0x101^_0x3b6bc4*0x1010100;_0x3d4ca5[_0x1a0212]=_0x1bb3c2<<0x18|_0x1bb3c2>>>0x8,_0x35cddd[_0x1a0212]=_0x1bb3c2<<0x10|_0x1bb3c2>>>0x10,_0x470379[_0x1a0212]=_0x1bb3c2<<0x8|_0x1bb3c2>>>0x18,_0x2315c5[_0x1a0212]=_0x1bb3c2,_0x3b6bc4?(_0x3b6bc4=_0x4a75fd^_0x4bdb63[_0x4bdb63[_0x4bdb63[_0x4e276f^_0x4a75fd]]],_0x3ae92a^=_0x4bdb63[_0x4bdb63[_0x3ae92a]]):_0x3b6bc4=_0x3ae92a=0x1;}}());var _0x1b87da=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x39422b=_0x4078a1[_0x5603ff(0x267)]=_0x464513[_0x5603ff(0x16c)]({'_doReset':function(){var _0x193ec7=_0x5603ff,_0x24c082;if(!(this[_0x193ec7(0x11e)]&&this[_0x193ec7(0x179)]===this[_0x193ec7(0x250)])){for(var _0x2d8fd3=this[_0x193ec7(0x179)]=this[_0x193ec7(0x250)],_0x42e103=_0x2d8fd3[_0x193ec7(0x14a)],_0x485d98=_0x2d8fd3[_0x193ec7(0x1fc)]/0x4,_0x1f2e9b=this['_nRounds']=_0x485d98+0x6,_0x1b8edb=(_0x1f2e9b+0x1)*0x4,_0x5e00ef=this[_0x193ec7(0x295)]=[],_0x245336=0x0;_0x245336<_0x1b8edb;_0x245336++)_0x245336<_0x485d98?_0x5e00ef[_0x245336]=_0x42e103[_0x245336]:(_0x24c082=_0x5e00ef[_0x245336-0x1],_0x245336%_0x485d98?_0x485d98>0x6&&_0x245336%_0x485d98==0x4&&(_0x24c082=_0x1d8e33[_0x24c082>>>0x18]<<0x18|_0x1d8e33[_0x24c082>>>0x10&0xff]<<0x10|_0x1d8e33[_0x24c082>>>0x8&0xff]<<0x8|_0x1d8e33[_0x24c082&0xff]):(_0x24c082=_0x24c082<<0x8|_0x24c082>>>0x18,_0x24c082=_0x1d8e33[_0x24c082>>>0x18]<<0x18|_0x1d8e33[_0x24c082>>>0x10&0xff]<<0x10|_0x1d8e33[_0x24c082>>>0x8&0xff]<<0x8|_0x1d8e33[_0x24c082&0xff],_0x24c082^=_0x1b87da[_0x245336/_0x485d98|0x0]<<0x18),_0x5e00ef[_0x245336]=_0x5e00ef[_0x245336-_0x485d98]^_0x24c082);for(var _0x158520=this[_0x193ec7(0x15b)]=[],_0x3ba49f=0x0;_0x3ba49f<_0x1b8edb;_0x3ba49f++){var _0x245336=_0x1b8edb-_0x3ba49f;if(_0x3ba49f%0x4)var _0x24c082=_0x5e00ef[_0x245336];else var _0x24c082=_0x5e00ef[_0x245336-0x4];_0x3ba49f<0x4||_0x245336<=0x4?_0x158520[_0x3ba49f]=_0x24c082:_0x158520[_0x3ba49f]=_0x3d4ca5[_0x1d8e33[_0x24c082>>>0x18]]^_0x35cddd[_0x1d8e33[_0x24c082>>>0x10&0xff]]^_0x470379[_0x1d8e33[_0x24c082>>>0x8&0xff]]^_0x2315c5[_0x1d8e33[_0x24c082&0xff]];}}},'encryptBlock':function(_0x268825,_0x21de31){var _0x2f295a=_0x5603ff;this[_0x2f295a(0x36b)](_0x268825,_0x21de31,this[_0x2f295a(0x295)],_0x453afe,_0x4c638c,_0x4e74a3,_0x56744a,_0x1d8e33);},'decryptBlock':function(_0x5bf8e4,_0x4f08dc){var _0x5f1242=_0x5603ff,_0x361620=_0x5bf8e4[_0x4f08dc+0x1];_0x5bf8e4[_0x4f08dc+0x1]=_0x5bf8e4[_0x4f08dc+0x3],_0x5bf8e4[_0x4f08dc+0x3]=_0x361620,this[_0x5f1242(0x36b)](_0x5bf8e4,_0x4f08dc,this['_invKeySchedule'],_0x3d4ca5,_0x35cddd,_0x470379,_0x2315c5,_0x43c3c7);var _0x361620=_0x5bf8e4[_0x4f08dc+0x1];_0x5bf8e4[_0x4f08dc+0x1]=_0x5bf8e4[_0x4f08dc+0x3],_0x5bf8e4[_0x4f08dc+0x3]=_0x361620;},'_doCryptBlock':function(_0xbc0cac,_0x53c3f9,_0x25674d,_0x11e1da,_0x5bc873,_0x3e5a59,_0x4d7521,_0x4e7d17){var _0x2ef5c2=_0x5603ff;for(var _0x369e57=this[_0x2ef5c2(0x11e)],_0x4cdda8=_0xbc0cac[_0x53c3f9]^_0x25674d[0x0],_0x361999=_0xbc0cac[_0x53c3f9+0x1]^_0x25674d[0x1],_0x37e03c=_0xbc0cac[_0x53c3f9+0x2]^_0x25674d[0x2],_0x71c496=_0xbc0cac[_0x53c3f9+0x3]^_0x25674d[0x3],_0x32d7c6=0x4,_0x5d13f9=0x1;_0x5d13f9<_0x369e57;_0x5d13f9++){var _0x580301=_0x11e1da[_0x4cdda8>>>0x18]^_0x5bc873[_0x361999>>>0x10&0xff]^_0x3e5a59[_0x37e03c>>>0x8&0xff]^_0x4d7521[_0x71c496&0xff]^_0x25674d[_0x32d7c6++],_0x4f2aa9=_0x11e1da[_0x361999>>>0x18]^_0x5bc873[_0x37e03c>>>0x10&0xff]^_0x3e5a59[_0x71c496>>>0x8&0xff]^_0x4d7521[_0x4cdda8&0xff]^_0x25674d[_0x32d7c6++],_0x1b65f4=_0x11e1da[_0x37e03c>>>0x18]^_0x5bc873[_0x71c496>>>0x10&0xff]^_0x3e5a59[_0x4cdda8>>>0x8&0xff]^_0x4d7521[_0x361999&0xff]^_0x25674d[_0x32d7c6++],_0x442f88=_0x11e1da[_0x71c496>>>0x18]^_0x5bc873[_0x4cdda8>>>0x10&0xff]^_0x3e5a59[_0x361999>>>0x8&0xff]^_0x4d7521[_0x37e03c&0xff]^_0x25674d[_0x32d7c6++];_0x4cdda8=_0x580301,_0x361999=_0x4f2aa9,_0x37e03c=_0x1b65f4,_0x71c496=_0x442f88;}var _0x580301=(_0x4e7d17[_0x4cdda8>>>0x18]<<0x18|_0x4e7d17[_0x361999>>>0x10&0xff]<<0x10|_0x4e7d17[_0x37e03c>>>0x8&0xff]<<0x8|_0x4e7d17[_0x71c496&0xff])^_0x25674d[_0x32d7c6++],_0x4f2aa9=(_0x4e7d17[_0x361999>>>0x18]<<0x18|_0x4e7d17[_0x37e03c>>>0x10&0xff]<<0x10|_0x4e7d17[_0x71c496>>>0x8&0xff]<<0x8|_0x4e7d17[_0x4cdda8&0xff])^_0x25674d[_0x32d7c6++],_0x1b65f4=(_0x4e7d17[_0x37e03c>>>0x18]<<0x18|_0x4e7d17[_0x71c496>>>0x10&0xff]<<0x10|_0x4e7d17[_0x4cdda8>>>0x8&0xff]<<0x8|_0x4e7d17[_0x361999&0xff])^_0x25674d[_0x32d7c6++],_0x442f88=(_0x4e7d17[_0x71c496>>>0x18]<<0x18|_0x4e7d17[_0x4cdda8>>>0x10&0xff]<<0x10|_0x4e7d17[_0x361999>>>0x8&0xff]<<0x8|_0x4e7d17[_0x37e03c&0xff])^_0x25674d[_0x32d7c6++];_0xbc0cac[_0x53c3f9]=_0x580301,_0xbc0cac[_0x53c3f9+0x1]=_0x4f2aa9,_0xbc0cac[_0x53c3f9+0x2]=_0x1b65f4,_0xbc0cac[_0x53c3f9+0x3]=_0x442f88;},'keySize':0x100/0x20});_0x330ce6[_0x5603ff(0x267)]=_0x464513[_0x5603ff(0x195)](_0x39422b);}()),_0x102bea[_0x1576b9(0x267)];}));}(Ve)),Ve[_0x31cb52(0x382)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0x2441f9(0x382)],ii;function Cn(){return ii||(ii=0x1,function(_0x29c5b4,_0xe8944b){(function(_0x1c7bb9,_0xa9a949){var _0xf2a487=_0x3471;_0x29c5b4[_0xf2a487(0x382)]=_0xa9a949(ie());}(Nn,function(_0x4722c6){var _0xb201ec=_0x3471;return _0x4722c6[_0xb201ec(0x2d8)][_0xb201ec(0x316)];}));}(Je)),Je['exports'];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x2441f9(0x382)],si;function Un(){return si||(si=0x1,function(_0x9c9d65,_0x1d2ed3){(function(_0x1ada79,_0x4d5eb6){var _0x5e642a=_0x3471;_0x9c9d65[_0x5e642a(0x382)]=_0x4d5eb6(ie());}(yn,function(_0x5a9ed3){var _0x106ff0=_0x3471;return(function(){var _0x551324=_0x3471;if(typeof ArrayBuffer==_0x551324(0x22b)){var _0x1fa231=_0x5a9ed3,_0x6d0cb2=_0x1fa231[_0x551324(0x28e)],_0x2d69e7=_0x6d0cb2[_0x551324(0x1ff)],_0x19fe2a=_0x2d69e7[_0x551324(0x260)],_0x244c2a=_0x2d69e7[_0x551324(0x260)]=function(_0x1cf577){var _0x17bc50=_0x551324;if(_0x1cf577 instanceof ArrayBuffer&&(_0x1cf577=new Uint8Array(_0x1cf577)),(_0x1cf577 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1cf577 instanceof Uint8ClampedArray||_0x1cf577 instanceof Int16Array||_0x1cf577 instanceof Uint16Array||_0x1cf577 instanceof Int32Array||_0x1cf577 instanceof Uint32Array||_0x1cf577 instanceof Float32Array||_0x1cf577 instanceof Float64Array)&&(_0x1cf577=new Uint8Array(_0x1cf577['buffer'],_0x1cf577[_0x17bc50(0x1a1)],_0x1cf577[_0x17bc50(0x38a)])),_0x1cf577 instanceof Uint8Array){for(var _0x483a26=_0x1cf577['byteLength'],_0x37e6b6=[],_0x179c4b=0x0;_0x179c4b<_0x483a26;_0x179c4b++)_0x37e6b6[_0x179c4b>>>0x2]|=_0x1cf577[_0x179c4b]<<0x18-_0x179c4b%0x4*0x8;_0x19fe2a['call'](this,_0x37e6b6,_0x483a26);}else _0x19fe2a[_0x17bc50(0x155)](this,arguments);};_0x244c2a[_0x551324(0x14b)]=_0x2d69e7;}}()),_0x5a9ed3['lib'][_0x106ff0(0x1ff)];}));}(Ze)),Ze['exports'];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0x2441f9(0x382)],ni;function Ln(){var _0xefc9f6=_0x2441f9;return ni||(ni=0x1,function(_0x3b5341,_0x3e3d52){(function(_0x3c946f,_0x55c4a9,_0x44aed3){var _0x5bb9da=_0x3471;_0x3b5341[_0x5bb9da(0x382)]=_0x55c4a9(ie(),bi());}(wn,function(_0x3ebda8){var _0x5c1973=_0x3471;return _0x3ebda8[_0x5c1973(0x21a)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3ebda8['pad'][_0x5c1973(0x157)];}));}(Qe)),Qe[_0xefc9f6(0x382)];}var Mn=Ln();const xn=$e(Mn);function kn(_0x59de17,_0x240229){var _0x59e53a=_0x2441f9;const _0x69b4c8=_0x240229-_0x59de17[_0x59e53a(0x158)]%_0x240229,_0x2468bf=String[_0x59e53a(0x12a)](_0x69b4c8)[_0x59e53a(0x18a)](_0x69b4c8);return _0x59de17+_0x2468bf;}function $n(_0x56b152,_0x23709b){var _0x2d5e9c=_0x2441f9;const _0x219014=Pn[_0x2d5e9c(0x272)](0x10),_0x662564=kn(_0x56b152,0x10),_0x36fcc8=On[_0x2d5e9c(0xf9)](Dn['parse'](_0x662564),ti['parse'](_0x23709b),{'iv':_0x219014,'padding':xn});return _0x219014[_0x2d5e9c(0x1ca)](_0x36fcc8['ciphertext'])['toString'](ti);}function Hn(){var _0x3b89dc=_0x2441f9;const _0x435164=_0x2d4eef()[_0x3b89dc(0xc7)];if(typeof window<'u'&&typeof window[_0x3b89dc(0x3b0)]<'u'&&_0x435164){const _0x45dfdd={'time':Math[_0x3b89dc(0x17f)](Date['now']()/0x3e8),'domain':location[_0x3b89dc(0x35d)]};return $n(JSON[_0x3b89dc(0x35b)](_0x45dfdd),_0x435164);}}var Bn=Object[_0x2441f9(0x2bc)],Fn=(_0x585b88,_0x1d771d,_0x121691,_0x5e89a3)=>{var _0x4daa66=_0x2441f9;for(var _0x52498f=_0x5e89a3>0x1?void 0x0:_0x5e89a3?Bn(_0x1d771d,_0x121691):_0x1d771d,_0x4c4cbb=_0x585b88[_0x4daa66(0x158)]-0x1,_0x493c98;_0x4c4cbb>=0x0;_0x4c4cbb--)(_0x493c98=_0x585b88[_0x4c4cbb])&&(_0x52498f=_0x493c98(_0x52498f)||_0x52498f);return _0x52498f;},jn=(_0x220db3,_0x33ec11)=>(_0x47d58b,_0x24119a)=>_0x33ec11(_0x47d58b,_0x24119a,_0x220db3);let at=class{constructor(_0x419acb){var _0x31a9cc=_0x2441f9;this[_0x31a9cc(0x2d5)]=_0x419acb,this[_0x31a9cc(0x153)]();}[_0x2441f9(0x153)](){var _0x818c9b=_0x2441f9;this[_0x818c9b(0x2d5)][_0x818c9b(0x1e0)]({'interceptor':(_0x11694d,_0x49595c)=>{var _0x67322f=_0x818c9b;const _0x366d4c=_0x11694d[_0x67322f(0xa7)],_0x428a9=Hn();return _0x428a9&&_0x366d4c[_0x67322f(0xfe)](_0x67322f(0xfc),_0x428a9),_0x49595c(_0x11694d);}});}};at=Fn([jn(0x0,_0x52cfb7(_0xacb381))],at);var Vn=Object[_0x2441f9(0x2bc)],Gn=(_0x3c7ff8,_0x457aad,_0x4781ec,_0x930245)=>{var _0x14f097=_0x2441f9;for(var _0x311f7e=_0x930245>0x1?void 0x0:_0x930245?Vn(_0x457aad,_0x4781ec):_0x457aad,_0x46613c=_0x3c7ff8[_0x14f097(0x158)]-0x1,_0x4c8462;_0x46613c>=0x0;_0x46613c--)(_0x4c8462=_0x3c7ff8[_0x46613c])&&(_0x311f7e=_0x4c8462(_0x311f7e)||_0x311f7e);return _0x311f7e;},vt=(_0x1b1a81,_0x1144d4)=>(_0x495898,_0x1b9eb8)=>_0x1144d4(_0x495898,_0x1b9eb8,_0x1b1a81);let Ot=class extends _0x12f467{constructor(_0x378689,_0x4f0467,_0x2b76ad){var _0x4c5346=_0x2441f9;super(),D(this,_0x4c5346(0xeb),new _0x52b67b(null)),D(this,_0x4c5346(0x241),this[_0x4c5346(0xeb)][_0x4c5346(0xee)]()),(this[_0x4c5346(0x1f3)]=_0x378689,this[_0x4c5346(0x30e)]=_0x4f0467,this[_0x4c5346(0x97)]=_0x2b76ad);}async['loadUnitOfRevision'](_0x5748bf,_0x5bfc06,_0x43a415){var _0x316e8b=_0x2441f9;this[_0x316e8b(0xeb)][_0x316e8b(0x270)]({'unitId':_0x5748bf,'type':_0x5bfc06});let _0x48190e=null;switch(_0x5bfc06){case Q[_0x316e8b(0x110)]:{_0x48190e=await this[_0x316e8b(0x30e)][_0x316e8b(0x2b6)](_0x5748bf,_0x43a415);break;}case Q[_0x316e8b(0x1e5)]:{_0x48190e=await this[_0x316e8b(0x30e)][_0x316e8b(0x2f5)](_0x5748bf,_0x43a415);break;}default:{this['_logService']['error'](_0x316e8b(0x33e),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x48190e;}async[_0x2441f9(0xca)](_0x7b8078,_0x123859,_0xfc4d55){var _0x9c2059=_0x2441f9,_0x47f8fb;this['_unitInfo$']['next']({'unitId':_0x7b8078,'type':_0x123859,'subUnitId':_0xfc4d55});let _0x1a6884=0x0;const _0x55edee=await((_0x47f8fb=this[_0x9c2059(0x97)])==null?void 0x0:_0x47f8fb[_0x9c2059(0x15a)](_0x7b8078));return _0x55edee&&(_0x55edee[_0x9c2059(0x235)]||_0x55edee[_0x9c2059(0x29b)][_0x9c2059(0x158)]!==0x0)&&(_0x1a6884=_0x55edee[_0x9c2059(0x329)]),_0x1a6884===0x0&&this[_0x9c2059(0x1f3)][_0x9c2059(0x39f)](_0x9c2059(0x33e),_0x9c2059(0x3ca)),this[_0x9c2059(0x10e)](_0x7b8078,_0x123859,_0x1a6884);}};Ot=Gn([vt(0x0,_0x5a9074),vt(0x1,_0x52cfb7(_0x246c29)),vt(0x2,_0x273dbc(X))],Ot);var Wn=Object[_0x2441f9(0x2bc)],Yn=(_0x31b0df,_0x23a847,_0x23d4f6,_0x18308a)=>{for(var _0x2f6d77=_0x18308a>0x1?void 0x0:_0x18308a?Wn(_0x23a847,_0x23d4f6):_0x23a847,_0x1d4fe5=_0x31b0df['length']-0x1,_0x47afff;_0x1d4fe5>=0x0;_0x1d4fe5--)(_0x47afff=_0x31b0df[_0x1d4fe5])&&(_0x2f6d77=_0x47afff(_0x2f6d77)||_0x2f6d77);return _0x2f6d77;},Et=(_0x1c346d,_0x2def7a)=>(_0x141bcf,_0x57e992)=>_0x2def7a(_0x141bcf,_0x57e992,_0x1c346d);const Kn=[_0x2441f9(0x366),_0x2441f9(0x1dc),'image/jpg',_0x2441f9(0x143),_0x2441f9(0x132)],qn=0x5*0x400*0x400,zn=_0x2441f9(0x10a),Xn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0xb73021,_0x3f6d6d,_0x16bfa8){var _0x4d94a5=_0x2441f9;D(this,_0x4d94a5(0xec),0x0),D(this,_0x4d94a5(0x10f),new _0x12b55a()),D(this,_0x4d94a5(0x167),this[_0x4d94a5(0x10f)]),D(this,_0x4d94a5(0xde),new Map()),(this[_0x4d94a5(0x2d5)]=_0xb73021,this['_configService']=_0x3f6d6d,this[_0x4d94a5(0x189)]=_0x16bfa8);}[_0x2441f9(0x140)](_0x1438ef){var _0x33da59=_0x2441f9;this[_0x33da59(0xec)]=_0x1438ef,this[_0x33da59(0x10f)][_0x33da59(0x270)](_0x1438ef);}['getImageSourceCache'](_0x71e3b3,_0x2a26cd){var _0x42ff58=_0x2441f9;if(_0x2a26cd===_0x550656[_0x42ff58(0x313)]){const _0x5ad49f=new Image();return _0x5ad49f[_0x42ff58(0x365)]=_0x71e3b3,_0x5ad49f;}return this['_imageSourceCache']['get'](_0x71e3b3);}[_0x2441f9(0x367)](_0x20df2d,_0x387580,_0x22f8ab){var _0x2caa31=_0x2441f9;_0x387580===_0x550656[_0x2caa31(0x313)]||_0x22f8ab==null||this[_0x2caa31(0xde)]['set'](_0x20df2d,_0x22f8ab);}async[_0x2441f9(0x190)](_0x3e34c6){var _0x212c79=_0x2441f9;try{const _0x3c10dd=this[_0x212c79(0x321)](this['_getSignURL'](),''+_0x3e34c6),_0x43d993=(await this[_0x212c79(0x2d5)]['get'](_0x3c10dd))['body'];if(_0x43d993[_0x212c79(0x3a5)]&&_0x43d993[_0x212c79(0x3a5)][_0x212c79(0x22a)]===vi['OK']){const _0x33faee=_0x21c242(_0x43d993[_0x212c79(0x319)],this['_getDownloadEndpointURL']());return Promise[_0x212c79(0x3c4)](_0x33faee);}return Promise[_0x212c79(0x1d6)](_0x43d993[_0x212c79(0x3a5)]);}catch(_0x4bc41c){return Promise[_0x212c79(0x1d6)](_0x4bc41c);}}async['saveImage'](_0x1b6610){var _0x405a41=_0x2441f9;let _0x2fa452='';if(!Kn[_0x405a41(0x3b1)](_0x1b6610[_0x405a41(0x34a)]))return this[_0x405a41(0x25d)](),Promise['reject'](new Error(_0x22d6fe[_0x405a41(0x26b)]));if(_0x1b6610[_0x405a41(0x322)]>qn)return this[_0x405a41(0x25d)](),Promise[_0x405a41(0x1d6)](new Error(_0x22d6fe[_0x405a41(0x1f6)]));try{const _0x1e4efd=new FormData();_0x1e4efd[_0x405a41(0x378)](_0x405a41(0x202),_0x1b6610);const _0x507ea9=this[_0x405a41(0x189)][_0x405a41(0x397)](),_0x15e4ff=_0x507ea9==null?void 0x0:_0x507ea9[_0x405a41(0x310)]();if(!_0x15e4ff)throw new Error(_0x405a41(0x196));const _0x297963=this[_0x405a41(0x201)]()+_0x405a41(0x3a3)+_0x1b6610['size'][_0x405a41(0x25e)]()+_0x405a41(0x1b5)+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x15e4ff),_0x45ed03={'body':_0x1e4efd},_0x4647e7=(await this[_0x405a41(0x2d5)]['post'](_0x297963,_0x45ed03))['body'];if(typeof _0x4647e7['FileId']!='string')return this[_0x405a41(0x25d)](),Promise[_0x405a41(0x1d6)](new Error(_0x22d6fe[_0x405a41(0x26f)]));_0x2fa452=_0x4647e7[_0x405a41(0x1c3)];}catch{return this[_0x405a41(0x25d)](),Promise[_0x405a41(0x1d6)](new Error(_0x22d6fe[_0x405a41(0x26f)]));}return new Promise((_0x1e42a2,_0x3deee8)=>{var _0x513235=_0x405a41;const _0x2de248=new FileReader();_0x2de248['readAsDataURL'](_0x1b6610),_0x2de248[_0x513235(0x248)]=_0x31063e=>{var _0xa08447=_0x513235,_0x151fbb;const _0x2a3e1f=(_0x151fbb=_0x31063e['target'])==null?void 0x0:_0x151fbb[_0xa08447(0x181)];if(_0x2a3e1f==null){this[_0xa08447(0x25d)](),_0x3deee8(new Error(_0x22d6fe[_0xa08447(0x26f)]));return;}const _0x14d5cf=_0x4b4c01(0x6);_0x1e42a2({'imageId':_0x14d5cf,'imageSourceType':_0x550656[_0xa08447(0x177)],'source':_0x2fa452,'base64Cache':_0x2a3e1f,'status':_0x22d6fe[_0xa08447(0xc6)]}),this[_0xa08447(0x25d)]();};});}[_0x2441f9(0x201)](){var _0x1873ac=_0x2441f9,_0x1153a3;const _0x292e8c=this[_0x1873ac(0x137)][_0x1873ac(0xb4)](K);return(_0x1153a3=_0x292e8c==null?void 0x0:_0x292e8c[_0x1873ac(0x145)])!=null?_0x1153a3:zn;}[_0x2441f9(0x283)](){var _0x3c8075=_0x2441f9,_0x136ed6;const _0x5be0fd=this['_configService'][_0x3c8075(0xb4)](K);return(_0x136ed6=_0x5be0fd==null?void 0x0:_0x5be0fd[_0x3c8075(0x252)])!=null?_0x136ed6:Xn;}[_0x2441f9(0x340)](){var _0x43ed16=_0x2441f9,_0x52c0f0;const _0x4d72e1=this[_0x43ed16(0x137)][_0x43ed16(0xb4)](K);return(_0x52c0f0=_0x4d72e1==null?void 0x0:_0x4d72e1[_0x43ed16(0x2a5)])!=null?_0x52c0f0:location[_0x43ed16(0x20b)];}[_0x2441f9(0x321)](_0x4d3b79,_0x45c95f){var _0x440688=_0x2441f9;return _0x4d3b79[_0x440688(0x3a1)]('{fileID}',_0x45c95f);}[_0x2441f9(0x25d)](){var _0x26c44b=_0x2441f9;this[_0x26c44b(0xec)]-=0x1,this[_0x26c44b(0x10f)][_0x26c44b(0x270)](this[_0x26c44b(0xec)]);}};Rt=Yn([Et(0x0,_0x52cfb7(_0xacb381)),Et(0x1,_0x328306),Et(0x2,_0x52cfb7(_0x1dfd8a))],Rt);var Jn=Object[_0x2441f9(0x2bc)],Zn=(_0x421a42,_0x44e04e,_0x423222,_0x52c56c)=>{var _0x4f1f72=_0x2441f9;for(var _0x22ccb5=_0x52c56c>0x1?void 0x0:_0x52c56c?Jn(_0x44e04e,_0x423222):_0x44e04e,_0x1b5ff3=_0x421a42[_0x4f1f72(0x158)]-0x1,_0x5e5342;_0x1b5ff3>=0x0;_0x1b5ff3--)(_0x5e5342=_0x421a42[_0x1b5ff3])&&(_0x22ccb5=_0x5e5342(_0x22ccb5)||_0x22ccb5);return _0x22ccb5;},ri=(_0x396149,_0x362fe1)=>(_0x245404,_0x27d618)=>_0x362fe1(_0x245404,_0x27d618,_0x396149);const Qn=_0x2441f9(0x37f);let Nt=class{constructor(_0x51588e,_0x4ef72b){var _0x5ac503=_0x2441f9;this[_0x5ac503(0x137)]=_0x51588e,this[_0x5ac503(0x1d7)]=_0x4ef72b;}[_0x2441f9(0x28d)](){var _0x46c90c=_0x2441f9,_0x452cee;const _0x59f80e=this[_0x46c90c(0x137)][_0x46c90c(0xb4)](K);return(_0x452cee=_0x59f80e==null?void 0x0:_0x59f80e['authzUrl'])!=null?_0x452cee:Qn;}async[_0x2441f9(0x142)](_0x2c276c){var _0x257259=_0x2441f9;const _0x5a8afb=this['_getAPIPrefixPath']()+_0x257259(0x94);return{'list':[{'title':_0x257259(0x29d),'mentions':(await this[_0x257259(0x1d7)][_0x257259(0x222)](_0x5a8afb,{'params':{'objectID':_0x2c276c[_0x257259(0x27d)],'unitID':_0x2c276c[_0x257259(0x27d)]}}))[_0x257259(0x38b)][_0x257259(0x230)][_0x257259(0x26a)](_0x38aa4c=>({'objectId':_0x38aa4c['id'],'name':_0x38aa4c[_0x257259(0x28c)][_0x257259(0x3a4)],'metadata':{'icon':_0x38aa4c['subject'][_0x257259(0x380)]},'label':_0x38aa4c[_0x257259(0x28c)]['name'],'objectType':_0x54465f[_0x257259(0x31c)]})),'metadata':{},'type':_0x54465f['PERSON']}]};}};Nt=Zn([ri(0x0,_0x52cfb7(_0x328306)),ri(0x1,_0x52cfb7(_0xacb381))],Nt);var er=Object[_0x2441f9(0x2bc)],tr=(_0x2a4446,_0x431f75,_0x139fd9,_0x1c7586)=>{for(var _0x1ad4ea=_0x1c7586>0x1?void 0x0:_0x1c7586?er(_0x431f75,_0x139fd9):_0x431f75,_0x4d06fb=_0x2a4446['length']-0x1,_0x4560a2;_0x4d06fb>=0x0;_0x4d06fb--)(_0x4560a2=_0x2a4446[_0x4d06fb])&&(_0x1ad4ea=_0x4560a2(_0x1ad4ea)||_0x1ad4ea);return _0x1ad4ea;},Ue=(_0x53b045,_0xeeae41)=>(_0x240f0c,_0x4dfb3f)=>_0xeeae41(_0x240f0c,_0x4dfb3f,_0x53b045);let ot=class extends _0x12f467{constructor(_0x424249,_0xaee2a3,_0x25d9fe,_0x582fad,_0x396e69){var _0x14ae44=_0x2441f9;super(),this[_0x14ae44(0x120)]=_0x424249,this['_univerInstanceService']=_0xaee2a3,this[_0x14ae44(0x384)]=_0x25d9fe,this[_0x14ae44(0x385)]=_0x582fad,this[_0x14ae44(0x3cd)]=_0x396e69,this['_initUnitPermissionChange'](),this[_0x14ae44(0x2e4)]();}[_0x2441f9(0x2e4)](){var _0x45f1d1=_0x2441f9;const _0x2c8db1=async _0x36685f=>{var _0x18bca2=_0x3471;(await this[_0x18bca2(0x385)][_0x18bca2(0xd0)](_0x36685f))[_0x18bca2(0x18f)]['pipe'](_0x12d299(_0x1523e1=>_0x1523e1[_0x18bca2(0x297)]===_0x12397d['SHOULD_CLOSE_CONN']),_0x5d9e65(this['dispose$']))[_0x18bca2(0x34f)](_0x445109=>{var _0x12896a=_0x18bca2;const _0x17141a=_0x445109,{reason:_0x309f1e}=_0x17141a[_0x12896a(0xf0)];this[_0x12896a(0x3cd)][_0x12896a(0x31f)]({'id':re[_0x12896a(0x1e1)],'data':_0x309f1e}),this['_permissionService'][_0x12896a(0x1d8)](new _0x3c8993(_0x36685f)['id'],!0x1),this['_collaborationSessionService'][_0x12896a(0x328)](_0x36685f);});};_0x5a45a0(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2ddda7[_0x45f1d1(0x110)]),this[_0x45f1d1(0x189)][_0x45f1d1(0xbd)](_0x2ddda7[_0x45f1d1(0x1e5)]))[_0x45f1d1(0x3b2)](_0xe994cc(_0x5ce9f2=>_0x5ce9f2[_0x45f1d1(0x310)]()),_0x12d299(_0x2508bf=>!_0x2bc118(_0x2508bf)),_0x5d9e65(this[_0x45f1d1(0x25a)]))['subscribe'](_0xa5cbb4=>{_0x2c8db1(_0xa5cbb4);});}[_0x2441f9(0x17d)](){var _0x1cc994=_0x2441f9;const _0x55676f=async _0x23b60c=>{var _0x5705ba=_0x3471;const _0x8461c9=await this[_0x5705ba(0x385)][_0x5705ba(0xd0)](_0x23b60c),_0x3e3270=this[_0x5705ba(0x120)]['get'](_0x1b0814);_0x8461c9[_0x5705ba(0x18f)][_0x5705ba(0x3b2)](_0x12d299(_0x5a2337=>_0x5a2337[_0x5705ba(0x297)]===_0x12397d[_0x5705ba(0x39e)]),_0x5d9e65(this[_0x5705ba(0x25a)]))[_0x5705ba(0x34f)](_0x592c00=>{var _0xc0ac88=_0x5705ba;const _0x18e03d=_0x592c00,{objectId:_0x3e44b0}=_0x18e03d[_0xc0ac88(0xf0)];_0x3e44b0===_0x23b60c?_0x3e3270[_0xc0ac88(0x26c)](_0x23b60c):_0x3e3270[_0xc0ac88(0x1e8)](_0x23b60c,_0x3e44b0);});};_0x5a45a0(this[_0x1cc994(0x189)][_0x1cc994(0xbd)](_0x2ddda7[_0x1cc994(0x110)]))['pipe'](_0xe994cc(_0x419e89=>_0x419e89[_0x1cc994(0x310)]()),_0x12d299(_0x29cb32=>!_0x2bc118(_0x29cb32)),_0x5d9e65(this['dispose$']))[_0x1cc994(0x34f)](_0x2ca9fa=>{_0x55676f(_0x2ca9fa);});}};ot=tr([Ue(0x0,_0x52cfb7(_0x395e58)),Ue(0x1,_0x1dfd8a),Ue(0x2,_0x9ee13b),Ue(0x3,_0x52cfb7(we)),Ue(0x4,_0x52cfb7(ve))],ot);var ir=Object[_0x2441f9(0x2bc)],sr=(_0x3a06ad,_0x373d1b,_0x2ec312,_0x26816b)=>{for(var _0x59a99b=_0x26816b>0x1?void 0x0:_0x26816b?ir(_0x373d1b,_0x2ec312):_0x373d1b,_0x10aecd=_0x3a06ad['length']-0x1,_0xdb928d;_0x10aecd>=0x0;_0x10aecd--)(_0xdb928d=_0x3a06ad[_0x10aecd])&&(_0x59a99b=_0xdb928d(_0x59a99b)||_0x59a99b);return _0x59a99b;},ai=(_0x51461c,_0x1e711a)=>(_0x70eff2,_0x29e4ab)=>_0x1e711a(_0x70eff2,_0x29e4ab,_0x51461c);let Ct=class{constructor(_0x3fe2d1,_0x2b6b9f){var _0xfd28b0=_0x2441f9;this[_0xfd28b0(0x137)]=_0x3fe2d1,this[_0xfd28b0(0x2d5)]=_0x2b6b9f;}async['getUnitOnRev'](_0x2a7196,_0x95b247){var _0x24793c=_0x2441f9,_0x3779ae;const {unitID:_0x4f27e0,type:_0x62b715,revision:_0x3b1171=0x0}=_0x95b247,_0xf78eb6=this[_0x24793c(0x128)]()+'/'+_0x62b715+_0x24793c(0x2cd)+_0x4f27e0+_0x24793c(0xda)+_0x3b1171,_0x2a0efa=(await this[_0x24793c(0x2d5)][_0x24793c(0x222)](_0xf78eb6))[_0x24793c(0x38b)],_0xa55084=(_0x3779ae=_0x2a0efa[_0x24793c(0xe6)])==null?void 0x0:_0x3779ae[_0x24793c(0xe0)];if(_0xa55084){const _0x29ae9d=_0xa55084==null?void 0x0:_0xa55084[_0x24793c(0x174)],_0x348640=_0x46f027[_0x24793c(0x3bc)](_0x3c0f58(_0x29ae9d));_0xa55084['originalMeta']=_0x348640,Object['entries'](_0xa55084[_0x24793c(0x11f)])[_0x24793c(0x22e)](([,_0x33f2ee])=>{var _0x19d37f=_0x24793c;const _0x2b3af3=_0x33f2ee[_0x19d37f(0x174)],_0x56c950=_0x46f027['encode'](_0x3c0f58(_0x2b3af3));_0x33f2ee[_0x19d37f(0x174)]=_0x56c950;});}return _0x2a0efa;}async[_0x2441f9(0xc9)](_0x262a0f,_0x5c9113){var _0x4aaddc=_0x2441f9;const {unitID:_0xf6589b,type:_0x49e7ad,blockID:_0x3edb7d}=_0x5c9113,_0x7a6866=this[_0x4aaddc(0x1c7)]()+'/'+_0x49e7ad+_0x4aaddc(0x2cd)+_0xf6589b+_0x4aaddc(0x31d)+_0x3edb7d;return(await this[_0x4aaddc(0x2d5)][_0x4aaddc(0x222)](_0x7a6866))[_0x4aaddc(0x38b)];}async[_0x2441f9(0x38f)](_0x230657,_0xd5f52f){var _0x97bf77=_0x2441f9;const {unitID:_0x3546f8,type:_0x353f08,blockID:_0x3a0bd9}=_0xd5f52f,_0x42ffce=this[_0x97bf77(0x1c7)]()+_0x97bf77(0x31d)+_0x353f08+_0x97bf77(0x2cd)+_0x3546f8+_0x97bf77(0x31d)+_0x3a0bd9;return(await this[_0x97bf77(0x2d5)][_0x97bf77(0x222)](_0x42ffce))['body'];}async[_0x2441f9(0x123)](_0x1a2b87,_0x1ba807){var _0x8524cf=_0x2441f9;const {unitID:_0x2ad785,type:_0x34d656,from:_0x2631a7,to:_0x21e934}=_0x1ba807,_0x1096cd=this[_0x8524cf(0x1c7)]()+'/'+_0x34d656+_0x8524cf(0x2cd)+_0x2ad785+_0x8524cf(0x1a6)+_0x2631a7+_0x8524cf(0x246)+_0x21e934;return(await this[_0x8524cf(0x2d5)][_0x8524cf(0x222)](_0x1096cd))[_0x8524cf(0x38b)];}[_0x2441f9(0x128)](){var _0x1f8536=_0x2441f9,_0x366823;return(_0x366823=this[_0x1f8536(0x137)]['getConfig'](ps))!=null?_0x366823:this[_0x1f8536(0x1c7)]();}['_getAPIPrefix'](){var _0xba02f4=_0x2441f9,_0x1b56ed;const _0xe83e4e=this['_configService'][_0xba02f4(0xb4)](K);return(_0x1b56ed=_0xe83e4e==null?void 0x0:_0xe83e4e['snapshotServerUrl'])!=null?_0x1b56ed:Es;}async[_0x2441f9(0x274)](_0x350239,_0x35f865){var _0x2024f4=_0x2441f9;const _0x556b0b=_0x2024f4(0x182)+_0x35f865[_0x2024f4(0x34a)]+_0x2024f4(0x2cd)+_0x35f865[_0x2024f4(0x39c)]+'/resources';return(await this[_0x2024f4(0x2d5)][_0x2024f4(0x222)](_0x556b0b,{'params':{'resourceId':JSON[_0x2024f4(0x35b)](_0x35f865[_0x2024f4(0x1f1)])}}))[_0x2024f4(0x38b)];}[_0x2441f9(0x220)](){var _0x453126=_0x2441f9;throw new Error(_0x453126(0x292));}[_0x2441f9(0x198)](){var _0x1a564b=_0x2441f9;throw new Error(_0x1a564b(0x292));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2441f9(0x2e0)](){var _0x495da5=_0x2441f9;throw new Error(_0x495da5(0x292));}['copyFileMeta'](){var _0x519a4f=_0x2441f9;throw new Error(_0x519a4f(0x292));}[_0x2441f9(0x134)](){var _0x3202a4=_0x2441f9;throw new Error(_0x3202a4(0x292));}};Ct=sr([ai(0x0,_0x328306),ai(0x1,_0x52cfb7(_0xacb381))],Ct);var nr=Object[_0x2441f9(0x2bc)],rr=(_0x493554,_0x25323a,_0x5564c0,_0x1149ef)=>{for(var _0x5dbb22=_0x1149ef>0x1?void 0x0:_0x1149ef?nr(_0x25323a,_0x5564c0):_0x25323a,_0x4f48cd=_0x493554['length']-0x1,_0x3d1078;_0x4f48cd>=0x0;_0x4f48cd--)(_0x3d1078=_0x493554[_0x4f48cd])&&(_0x5dbb22=_0x3d1078(_0x5dbb22)||_0x5dbb22);return _0x5dbb22;},Ae=(_0x3ac148,_0x2263ff)=>(_0x31cafa,_0x78940a)=>_0x2263ff(_0x31cafa,_0x78940a,_0x3ac148);let bt=class extends _0x8e8f90{constructor(_0x17a429,_0x4de0c9,_0x17e319,_0x1af6b1,_0x5df3ab){var _0x497ab4=_0x2441f9;super(_0x17a429,_0x4de0c9,_0x17e319),this[_0x497ab4(0x2fc)]=_0x1af6b1,this[_0x497ab4(0x1f3)]=_0x5df3ab;}[_0x2441f9(0x2a3)](_0x37107a,_0x221338){var _0x36f23c=_0x2441f9;const _0x2f6ad6=this[_0x36f23c(0x2fe)](_0x37107a);if(_0x2f6ad6)try{const _0x20ac5b=this[_0x36f23c(0x113)](_0x2f6ad6,_0x221338);this[_0x36f23c(0x37d)](_0x37107a,_0x20ac5b);}catch(_0xfbe425){this[_0x36f23c(0x1f3)]['error'](_0x36f23c(0x35c),_0xfbe425),this['_clearUndo'](_0x37107a);}const _0x501bce=this[_0x36f23c(0x1aa)](_0x37107a);if(_0x501bce)try{const _0x11adf6=this[_0x36f23c(0x113)](_0x501bce,_0x221338);this[_0x36f23c(0x2c2)](_0x37107a,_0x11adf6);}catch(_0x19b566){this[_0x36f23c(0x1f3)][_0x36f23c(0x3a5)](_0x19b566),this[_0x36f23c(0x2bd)](_0x37107a);}}[_0x2441f9(0x1ce)](_0x3af159){var _0x13de60=_0x2441f9;const _0x28a2a3=this[_0x13de60(0x2fe)](_0x3af159);_0x28a2a3&&(_0x28a2a3['length']=0x0,this[_0x13de60(0x27a)]());}[_0x2441f9(0x2bd)](_0x22e487){const _0x8f77ae=this['_getRedoStack'](_0x22e487);_0x8f77ae&&(_0x8f77ae['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x4dc49a,_0x1a04d3){var _0x52940c=_0x2441f9;this[_0x52940c(0x29a)][_0x52940c(0xfe)](_0x4dc49a,_0x1a04d3),this[_0x52940c(0x27a)]();}[_0x2441f9(0x2c2)](_0x3230c3,_0xb8836e){var _0x180c8e=_0x2441f9;this[_0x180c8e(0xff)][_0x180c8e(0xfe)](_0x3230c3,_0xb8836e),this['_updateStatus']();}[_0x2441f9(0x113)](_0x3eb132,_0x453178){var _0x38cc13=_0x2441f9;const _0x33b034=[];let _0x275131=_0x453178,_0x917551=_0x453178;for(let _0x50cda4=_0x3eb132[_0x38cc13(0x158)]-0x1;_0x50cda4>=0x0;_0x50cda4--){const {unitID:_0x5d0ca6,undoMutations:_0x3d03cb,redoMutations:_0x16efe4}=_0x3eb132[_0x50cda4],_0x263e22=this[_0x38cc13(0x2fc)][_0x38cc13(0x163)](_0x275131,_0x3d03cb),_0xfa2a4d=this[_0x38cc13(0x2fc)][_0x38cc13(0x163)](_0x917551,_0x16efe4);if(_0x6d8ad2(_0x263e22)||_0x6d8ad2(_0xfa2a4d)){this[_0x38cc13(0x1f3)][_0x38cc13(0x3a5)](_0x38cc13(0x35c),_0x38cc13(0x3a8),_0x263e22,_0xfa2a4d);break;}_0x275131=_0x263e22['c1Prime'],_0x917551=_0xfa2a4d[_0x38cc13(0x1a2)],_0x33b034[_0x38cc13(0x2d9)]({'unitID':_0x5d0ca6,'undoMutations':_0x263e22['m2Prime'],'redoMutations':_0xfa2a4d[_0x38cc13(0x159)]});}return _0x33b034[_0x38cc13(0x9f)]();}};bt=rr([Ae(0x0,_0x1dfd8a),Ae(0x1,_0x56439f),Ae(0x2,_0x3645ae),Ae(0x3,_0x32916a),Ae(0x4,_0x5a9074)],bt);var ar=Object[_0x2441f9(0x39d)],or=Object['getOwnPropertyDescriptor'],cr=(_0x23532e,_0x276060,_0x26a62d)=>_0x276060 in _0x23532e?ar(_0x23532e,_0x276060,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26a62d}):_0x23532e[_0x276060]=_0x26a62d,_r=(_0x527fdd,_0x2461a2,_0x2eb098,_0x244601)=>{var _0x21dfca=_0x2441f9;for(var _0x29905f=_0x244601>0x1?void 0x0:_0x244601?or(_0x2461a2,_0x2eb098):_0x2461a2,_0x491b86=_0x527fdd[_0x21dfca(0x158)]-0x1,_0x3a7542;_0x491b86>=0x0;_0x491b86--)(_0x3a7542=_0x527fdd[_0x491b86])&&(_0x29905f=_0x3a7542(_0x29905f)||_0x29905f);return _0x29905f;},pt=(_0x195c56,_0x4001d5)=>(_0x66cd8c,_0x2c7e99)=>_0x4001d5(_0x66cd8c,_0x2c7e99,_0x195c56),hr=(_0x5270a1,_0x10b9fb,_0x5c7f29)=>cr(_0x5270a1,_0x10b9fb+'',_0x5c7f29);const lr=_0x2441f9(0x16a);let Dt=class extends _0x101eb7{constructor(_0x42be00,_0x5ca25e,_0x28b435,_0x35b021){var _0x2c2f74=_0x2441f9;super(),D(this,_0x2c2f74(0x285)),(this['_logService']=_0x5ca25e,this[_0x2c2f74(0x120)]=_0x28b435,this[_0x2c2f74(0x137)]=_0x35b021);const {..._0x5ac594}=_0x46c0e3({},ks,_0x42be00);if(!_0x5ac594[_0x2c2f74(0xe9)])throw new Error(_0x2c2f74(0xbb));this[_0x2c2f74(0x285)]=_0x5ac594,this[_0x2c2f74(0x137)][_0x2c2f74(0x352)](K,_0x5ac594);}[_0x2441f9(0x239)](){var _0x277d3c=_0x2441f9;this[_0x277d3c(0x399)](),this[_0x277d3c(0x338)]();}[_0x2441f9(0x399)](){var _0x506814=_0x2441f9,_0x40646c,_0x41848e;this[_0x506814(0x120)][_0x506814(0x135)](_0x2e0c07)&&this[_0x506814(0x1f3)][_0x506814(0x3a5)](_0x506814(0x2f0),_0x506814(0x23a));const _0x1a788d=_0x2df2e6([[_0x2e0c07,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x506814(0xe9)]}],[_0x2dc9c3,{'useClass':Ct}],[_0x29b7be,{'useClass':Tt}],[_0x18f5bc,{'useClass':Rt}],[_0x346bf2,{'useClass':Nt}],[nt],[gt]],(_0x40646c=this[_0x506814(0x285)])==null?void 0x0:_0x40646c[_0x506814(0xe4)]);if(!((_0x41848e=this['_config'])!=null&&_0x41848e['enableSingleActiveInstanceLock'])){const _0x327c1e=_0x1a788d[_0x506814(0x20a)](([_0x17d2a])=>_0x17d2a===_t);_0x327c1e!==-0x1&&_0x1a788d['splice'](_0x327c1e,0x1);}_0x30ffe6(this[_0x506814(0x120)],_0x1a788d);}['_initDependencies'](){var _0x34a96c=_0x2441f9,_0x5ab5bc,_0x434aab,_0x2c5d0c;this[_0x34a96c(0x120)]['get'](_0xacb381)[_0x34a96c(0x1e0)]({'priority':0x14,'interceptor':_0x2994c2({'maxParallel':0x6})}),(_0x5ab5bc=this[_0x34a96c(0x285)])!=null&&_0x5ab5bc[_0x34a96c(0x3c7)]||(_0x434aab=this[_0x34a96c(0x120)][_0x34a96c(0x222)](X,_0x3af328[_0x34a96c(0x1c5)]))==null||_0x434aab[_0x34a96c(0x2b0)](),(_0x2c5d0c=this[_0x34a96c(0x285)])!=null&&_0x2c5d0c[_0x34a96c(0x161)]&&_0x2d25d0(this[_0x34a96c(0x120)],[[rt]]),_0x2d25d0(this['_injector'],[[at],[nt],[ot]]);}};hr(Dt,_0x2441f9(0x24b),lr),Dt=_r([_0x5643a(_0x21fdb5,_0xa5f97f),pt(0x1,_0x5a9074),pt(0x2,_0x52cfb7(_0x395e58)),pt(0x3,_0x328306)],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,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
1
+ var _0xbde005=_0x3d7d;(function(_0x19d379,_0x2a3f20){var _0x21708e=_0x3d7d,_0x1bb927=_0x19d379();while(!![]){try{var _0x281a31=-parseInt(_0x21708e(0x1b0))/0x1*(parseInt(_0x21708e(0x1bc))/0x2)+-parseInt(_0x21708e(0x32d))/0x3*(-parseInt(_0x21708e(0x3bc))/0x4)+-parseInt(_0x21708e(0x200))/0x5+-parseInt(_0x21708e(0x385))/0x6*(parseInt(_0x21708e(0x3ed))/0x7)+-parseInt(_0x21708e(0x330))/0x8+parseInt(_0x21708e(0x17a))/0x9*(-parseInt(_0x21708e(0x31b))/0xa)+-parseInt(_0x21708e(0x13c))/0xb*(-parseInt(_0x21708e(0x30a))/0xc);if(_0x281a31===_0x2a3f20)break;else _0x1bb927['push'](_0x1bb927['shift']());}catch(_0x48868d){_0x1bb927['push'](_0x1bb927['shift']());}}}(_0x189b,0xa658d));var Di=Object[_0xbde005(0x39b)],yi=(_0x29d892,_0x5856bb,_0x3ba277)=>_0x5856bb in _0x29d892?Di(_0x29d892,_0x5856bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ba277}):_0x29d892[_0x5856bb]=_0x3ba277,D=(_0x245af4,_0x31f86c,_0x9f6641)=>yi(_0x245af4,typeof _0x31f86c!=_0xbde005(0x35e)?_0x31f86c+'':_0x31f86c,_0x9f6641);import{CollaborationEvent as _0xad0318,ITransformService as _0x54f44a,isTransformMutationsWithChangesetSuccess as _0x30de82,mapDocumentTypeToUniverType as _0x3496fc,RevisionService as _0x38ef90,isTransformChangesetsSuccess as _0x269a06,EmptyMutationInfo as _0x2d9413,CompressMutationService as _0x218caf,parseProtocolChangeset as _0x9d5605,uuidv4 as _0x26f97b,ISnapshotServerService as _0x553f45,parseChangesetToProtocol as _0x362080,SnapshotService as _0x45c55f,textEncoder as _0x5d4858,b64DecodeUnicode as _0x210299,isTransformMutationsWithChangesetFailure as _0x1d8c0f,UniverCollaborationPlugin as _0x19be12}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xecbae0,Inject as _0x51e0dc,UserManagerService as _0x19ef74,Disposable as _0x20bf78,UniverInstanceType as _0x119145,ILogService as _0x9e9972,IConfigService as _0x50f0f7,Optional as _0x581e15,RxDisposable as _0x1e895e,createIdentifier as _0x1814eb,Injector as _0x20c230,Tools as _0x2de3b9,Rectangle as _0x26c7ad,ICommandService as _0x2d6439,JSONX as _0x5b82f1,IUndoRedoService as _0x15b98e,IPermissionService as _0x5dd3e7,LocaleService as _0x4a91ba,sequenceExecute as _0x163ab7,toDisposable as _0x3fe0b1,CommandType as _0x348d77,DisposableCollection as _0x4cc873,Workbook as _0x35b9e4,resolveWithBasePath as _0x3456d4,generateRandomId as _0x2ddb78,MentionType as _0x499fdb,isInternalEditorID as _0x91f8fa,LocalUndoRedoService as _0x24fd11,IContextService as _0x5e9c48,DependentOn as _0x15725f,Plugin as _0x3a2476,merge as _0x511468,mergeOverrideWithDependencies as _0x4afa70,IAuthzIoService as _0x4b9a68,IMentionIOService as _0xf9d46f,registerDependencies as _0x2a394a,Quantity as _0x51f8b8,touchDependencies as _0x11baec}from'@univerjs/core';import{RichTextEditingMutation as _0x15e2ec}from'@univerjs/docs';import{SheetsSelectionsService as _0xcb52c8,SetSelectionsOperation as _0x22c69e,InsertSheetMutation as _0x206e7b,WorkbookEditablePermission as _0x5d55bb,SheetPermissionInitController as _0x203c1f}from'@univerjs/sheets';import{Subject as _0x5a35f4,merge as _0x521ca9,of as _0x27da9c,BehaviorSubject as _0x28d880,takeUntil as _0x436a76,ReplaySubject as _0x2c0fbe,take as _0x2a23c8,map as _0x16b2bc,shareReplay as _0x46d5eb,firstValueFrom as _0x414fe2,concatMap as _0x5462e2}from'rxjs';import{ITelemetryService as _0x243bad}from'@univerjs/telemetry';import{map as _0x465af3,take as _0x4a374d,filter as _0x576d7f,delay as _0x410d7f,takeUntil as _0x138cad}from'rxjs/operators';import{HTTPService as _0x4583bc,ISocketService as _0x2bbf30,MergeInterceptorFactory as _0x496499,HTTPRequest as _0x52d765,UniverNetworkPlugin as _0x373f1e,ThresholdInterceptorFactory as _0x3f72de}from'@univerjs/network';import{ImageSourceType as _0x32b18a,ImageUploadStatusType as _0x337b7f,IImageIoService as _0x601141}from'@univerjs/drawing';import{getGlobalObject as _0x59a00f}from'@univerjs-pro/license';const Es=_0xbde005(0x411),ps=_0xbde005(0x265),ms=0x7d0,Is='ws://127.0.0.1:8000/universer-api/comb/connect',Or=_0xbde005(0x179),Ss='HEARTBEAT_INTERVAL',gs=0x7530,di=_0xbde005(0x237),fi=0x4e20,Ts=0x4e20,Os=_0xbde005(0x363),Rs=0x3,Rr='LOCAL_CACHE_INTERVAL',Nr=0x3e8,Ns='/universer-api/comb',Cs=_0xbde005(0x1c5),Cr=_0xbde005(0x1ab),br=_0xbde005(0x36f);var vi=(_0x1df1ef=>(_0x1df1ef[_0x1df1ef[_0xbde005(0x125)]=0x0]='UNDEFINED',_0x1df1ef[_0x1df1ef['OK']=0x1]='OK',_0x1df1ef[_0x1df1ef[_0xbde005(0x33b)]=0x2]=_0xbde005(0x33b),_0x1df1ef[_0x1df1ef[_0xbde005(0x210)]=0x3]=_0xbde005(0x210),_0x1df1ef[_0x1df1ef[_0xbde005(0x1f6)]=0x4]=_0xbde005(0x1f6),_0x1df1ef[_0x1df1ef[_0xbde005(0x14b)]=0x5]=_0xbde005(0x14b),_0x1df1ef[_0x1df1ef[_0xbde005(0x40e)]=0x6]=_0xbde005(0x40e),_0x1df1ef[_0x1df1ef[_0xbde005(0x3b2)]=0x7]=_0xbde005(0x3b2),_0x1df1ef[_0x1df1ef[_0xbde005(0x399)]=0x8]='TOO_MANY_REQUESTS',_0x1df1ef[_0x1df1ef[_0xbde005(0x11f)]=0x9]=_0xbde005(0x11f),_0x1df1ef[_0x1df1ef[_0xbde005(0x27c)]=0xa]='LOGIN_FAILED',_0x1df1ef[_0x1df1ef[_0xbde005(0x277)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1df1ef[_0x1df1ef[_0xbde005(0x3fe)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1df1ef[_0x1df1ef[_0xbde005(0x171)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1df1ef[_0x1df1ef['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xbde005(0x39c),_0x1df1ef[_0x1df1ef['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0xbde005(0x39e),_0x1df1ef[_0x1df1ef[_0xbde005(0x38a)]=0x10]=_0xbde005(0x38a),_0x1df1ef[_0x1df1ef[_0xbde005(0x3c7)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1df1ef[_0x1df1ef[_0xbde005(0x170)]=0x65]='ERROR_AGAIN',_0x1df1ef[_0x1df1ef[_0xbde005(0x3c0)]=0xc9]=_0xbde005(0x3c0),_0x1df1ef[_0x1df1ef[_0xbde005(0x309)]=0xca]='USER_IS_ANONYMOUS',_0x1df1ef[_0x1df1ef['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xbde005(0x24d),_0x1df1ef[_0x1df1ef[_0xbde005(0x258)]=0x1771]=_0xbde005(0x258),_0x1df1ef[_0x1df1ef[_0xbde005(0x34b)]=0x1772]=_0xbde005(0x34b),_0x1df1ef[_0x1df1ef[_0xbde005(0x370)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1df1ef[_0x1df1ef[_0xbde005(0x10b)]=0x1b59]=_0xbde005(0x10b),_0x1df1ef[_0x1df1ef[_0xbde005(0x1a2)]=0x1b5a]=_0xbde005(0x1a2),_0x1df1ef[_0x1df1ef[_0xbde005(0x156)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1df1ef[_0x1df1ef[_0xbde005(0x1d1)]=0x1b5c]=_0xbde005(0x1d1),_0x1df1ef[_0x1df1ef[_0xbde005(0x400)]=0x1b5d]=_0xbde005(0x400),_0x1df1ef[_0x1df1ef[_0xbde005(0x3f2)]=0x1f41]=_0xbde005(0x3f2),_0x1df1ef[_0x1df1ef[_0xbde005(0x256)]=0x2329]=_0xbde005(0x256),_0x1df1ef[_0x1df1ef['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xbde005(0x21f),_0x1df1ef[_0x1df1ef['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xbde005(0x2d4),_0x1df1ef[_0x1df1ef[_0xbde005(0x229)]=0x232c]=_0xbde005(0x229),_0x1df1ef[_0x1df1ef['LICENSE_DISTRO_REJECTED']=0x232d]=_0xbde005(0x113),_0x1df1ef[_0x1df1ef['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1df1ef[_0x1df1ef['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1df1ef[_0x1df1ef['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xbde005(0x183),_0x1df1ef[_0x1df1ef['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xbde005(0x321),_0x1df1ef[_0x1df1ef[_0xbde005(0x1b8)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1df1ef[_0x1df1ef[_0xbde005(0x32e)]=0x271b]=_0xbde005(0x32e),_0x1df1ef[_0x1df1ef[_0xbde005(0x160)]=0x271c]=_0xbde005(0x160),_0x1df1ef[_0x1df1ef['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1df1ef[_0x1df1ef[_0xbde005(0xf0)]=0x271e]=_0xbde005(0xf0),_0x1df1ef[_0x1df1ef[_0xbde005(0x397)]=0x271f]=_0xbde005(0x397),_0x1df1ef[_0x1df1ef[_0xbde005(0x2bb)]=0x2720]=_0xbde005(0x2bb),_0x1df1ef[_0x1df1ef[_0xbde005(0x2f5)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1df1ef[_0x1df1ef[_0xbde005(0x2fe)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1df1ef[_0x1df1ef['INVALID_INVITE_CODE']=0x2ee2]=_0xbde005(0x130),_0x1df1ef[_0x1df1ef[_0xbde005(0x14a)]=0x2ee3]=_0xbde005(0x14a),_0x1df1ef[_0x1df1ef[_0xbde005(0x219)]=0x2ee4]=_0xbde005(0x219),_0x1df1ef[_0x1df1ef[_0xbde005(0x1f7)]=0x2ee5]=_0xbde005(0x1f7),_0x1df1ef[_0x1df1ef[_0xbde005(0x184)]=0x32c9]=_0xbde005(0x184),_0x1df1ef[_0x1df1ef[_0xbde005(0xfd)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1df1ef[_0x1df1ef[_0xbde005(0x131)]=0x32cb]=_0xbde005(0x131),_0x1df1ef[_0x1df1ef[_0xbde005(0x16d)]=0x36b1]=_0xbde005(0x16d),_0x1df1ef[_0x1df1ef[_0xbde005(0x335)]=0x36b2]=_0xbde005(0x335),_0x1df1ef[_0x1df1ef[_0xbde005(0x127)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x1df1ef[_0x1df1ef[_0xbde005(0x33e)]=0x36b4]=_0xbde005(0x33e),_0x1df1ef[_0x1df1ef[_0xbde005(0x2a4)]=0x36b5]=_0xbde005(0x2a4),_0x1df1ef[_0x1df1ef[_0xbde005(0x31d)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x1df1ef[_0x1df1ef[_0xbde005(0x101)]=0x36b7]=_0xbde005(0x101),_0x1df1ef[_0x1df1ef[_0xbde005(0x3ac)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x1df1ef[_0x1df1ef['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1df1ef[_0x1df1ef[_0xbde005(0x271)]=0x3716]=_0xbde005(0x271),_0x1df1ef[_0x1df1ef[_0xbde005(0x1aa)]=0x3717]=_0xbde005(0x1aa),_0x1df1ef[_0x1df1ef[_0xbde005(0x115)]=0x37dd]=_0xbde005(0x115),_0x1df1ef[_0x1df1ef[_0xbde005(0x15f)]=0x3a99]=_0xbde005(0x15f),_0x1df1ef[_0x1df1ef[_0xbde005(0x135)]=0x3a9a]=_0xbde005(0x135),_0x1df1ef[_0x1df1ef[_0xbde005(0x1a4)]=0x3a9b]=_0xbde005(0x1a4),_0x1df1ef[_0x1df1ef['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0xbde005(0x1ba),_0x1df1ef[_0x1df1ef['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0xbde005(0x15e),_0x1df1ef[_0x1df1ef[_0xbde005(0xff)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1df1ef[_0x1df1ef[_0xbde005(0x2e5)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1df1ef[_0x1df1ef[_0xbde005(0x196)]=0x3e81]=_0xbde005(0x196),_0x1df1ef[_0x1df1ef['UNRECOGNIZED']=-0x1]=_0xbde005(0x3b4),_0x1df1ef))(vi||{}),Q=(_0x3d7910=>(_0x3d7910[_0x3d7910[_0xbde005(0x18c)]=0x0]=_0xbde005(0x18c),_0x3d7910[_0x3d7910[_0xbde005(0x16c)]=0x1]=_0xbde005(0x16c),_0x3d7910[_0x3d7910[_0xbde005(0x388)]=0x2]=_0xbde005(0x388),_0x3d7910[_0x3d7910['UNIVER_SLIDE']=0x3]=_0xbde005(0x1e9),_0x3d7910[_0x3d7910[_0xbde005(0x31f)]=0x4]=_0xbde005(0x31f),_0x3d7910[_0x3d7910[_0xbde005(0x3b4)]=-0x1]=_0xbde005(0x3b4),_0x3d7910))(Q||{}),j=(_0x437dc6=>(_0x437dc6[_0x437dc6['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x437dc6[_0x437dc6[_0xbde005(0x224)]=0x1]='HELLO',_0x437dc6[_0x437dc6['JOIN']=0x2]=_0xbde005(0x3bd),_0x437dc6[_0x437dc6[_0xbde005(0x35a)]=0x3]=_0xbde005(0x35a),_0x437dc6[_0x437dc6[_0xbde005(0x30b)]=0x4]=_0xbde005(0x30b),_0x437dc6[_0x437dc6[_0xbde005(0x146)]=0x5]=_0xbde005(0x146),_0x437dc6[_0x437dc6['RECV']=0x6]=_0xbde005(0x114),_0x437dc6[_0x437dc6['UNRECOGNIZED']=-0x1]=_0xbde005(0x3b4),_0x437dc6))(j||{}),Ee=(_0x5e028c=>(_0x5e028c[_0x5e028c[_0xbde005(0x13d)]=0x0]=_0xbde005(0x13d),_0x5e028c[_0x5e028c['OK']=0x1]='OK',_0x5e028c[_0x5e028c[_0xbde005(0x169)]=0x2]=_0xbde005(0x169),_0x5e028c[_0x5e028c[_0xbde005(0x13e)]=0x3e9]='JOIN_ROOM_FULL',_0x5e028c[_0x5e028c[_0xbde005(0x25d)]=0x3ea]=_0xbde005(0x25d),_0x5e028c[_0x5e028c[_0xbde005(0x2ff)]=0x3eb]=_0xbde005(0x2ff),_0x5e028c[_0x5e028c['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xbde005(0x34d),_0x5e028c[_0x5e028c[_0xbde005(0x3b4)]=-0x1]=_0xbde005(0x3b4),_0x5e028c))(Ee||{}),Ei=(_0x2acf21=>(_0x2acf21[_0x2acf21['Undefined']=0x0]=_0xbde005(0x192),_0x2acf21[_0x2acf21[_0xbde005(0x373)]=0x1]=_0xbde005(0x373),_0x2acf21[_0x2acf21[_0xbde005(0x33f)]=0x2]=_0xbde005(0x33f),_0x2acf21[_0x2acf21[_0xbde005(0x11e)]=0x3]=_0xbde005(0x11e),_0x2acf21[_0x2acf21[_0xbde005(0x23b)]=0x4]=_0xbde005(0x23b),_0x2acf21[_0x2acf21[_0xbde005(0x2a0)]=0x5]=_0xbde005(0x2a0),_0x2acf21[_0x2acf21[_0xbde005(0x27e)]=0x6]=_0xbde005(0x27e),_0x2acf21[_0x2acf21['UNRECOGNIZED']=-0x1]=_0xbde005(0x3b4),_0x2acf21))(Ei||{});function _0x189b(){var _0x22cf4d=['roomInfos','session','roles','NEW_CHANGESETS','format','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_clearCollaborationTimeoutTimer','finalize','put','SUBMIT_CHANGESET','commentUpdateEvent','readyForCollab','_compressMutationService','_emitMembers','1582506gMQaNL','_getAPIPrefixPath','state','UNIVER_SHEET','append','LOGIN_TOKEN_PROCESSING_FAILED','push','[FetchMissState]','_candidateSocket','[PendingState]:\x20received\x20acknowledgement.','slice','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','href','name','getDeserializedSheetBlock','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','subscribe','enableSingleActiveInstanceLock','YUUMI_AI_RUN_FAILED','_toggleOnline','TOO_MANY_REQUESTS','PERMISSION_REJ','defineProperty','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRemoteACK','AUTHORIZE_CODE_ILLEGAL','getUnit','readAsDataURL','getTypeOfUnitDisposed$','_schedule','charCodeAt','Error\x20on\x20receiving\x20event','localCacheService','_transformRemoteChangesetByStateCache','_revisionService','dispose$','_handlerCallback','apply','hasOwnProperty','ENTITLE_USE_COUPON_NOT_1ST_TRADE','SUCCUSS','list','People','_collaborationUIEventService','hostname','INVALID_ARGUMENT','HmacSHA1','UNRECOGNIZED','_sessions','next','_snapshotService','_localeService','session.room-not-exists','subject','collaboration-client.config','3676AakQLa','JOIN','createSocket','_event$','USER_NOT_FOUND','_roomCreated$','telemetry\x20info\x20is\x20not\x20initialized','_transformRemoteChangesetByIMECache','setCurrentUser','map','_replaceFileID','CURRENT_STATUS_CANNOT_OPERATE','update','enableCollaboration','_removeRoom','_undoRedoService','_hash','_keyPriorReset','closeSession','set','COMMENT_UPDATE','COMPRESS_MUTATION_APPLY','unitInfo$','keySize','_prevBlock','_DEC_XFORM_MODE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','setShowComponents','_stopTelemetryCollaborationNewChangeset','ERROR_IMAGE_TYPE','_handler','_telemetryService','_transformStack','csAckEvent','byteLength','AES','NO_OTHER_CLIENTS_EDITING','objectActions','[CollaborationSessionService]','_config','getRoom','min','onTransformState','join','_memberService','resend','decrypt','_hasher','_getCurrentRevision','7GJIrvE','event$','_reverseMap','sid','_telemetryInfo','CONNECTOR_DATA_TOO_LARGE','src','memberID','Failed\x20to\x20update\x20permission\x20point','socketService','close$','_disableEditing','_clearScheduledTask','getFocusedUnit','__splitChunk__','getConfig','/allowed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SOCKET_FAILED_RETRY','APPLY_DUPLICATED','interceptor','transformUndoRedo','cfg','updateSnapshot','close','encryptBlock','_socketMessageSubscription','url','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','connection\x20error','_collaborationSessionService','stringify','_createHandler','ALREADY_EXISTS','fromCharCode','responseType','/universer-api/snapshot','_doFinalize','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','COMPRESS_MUTATION_SEND','_clearRedo','/collaborator','stopTime','/universer-api/stream/file/upload','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','selections','_snapshotServerService','collaborators','filter','LIVESHARE_OPERATION','salt','MOBILE_HAS_BEEN_BOUND','init','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_listenToNetworkCondition','ENTITLE_COUPON_USED_UP','__esModule','Base','pending','objectType','createEncryptor','updatePermissionPoint','clone','getCollabEntity','getCurrentRevOfUnit','APPLY_REJECT','awaitingChangeset','toString','[OfflineState]:\x20received\x20changeset.','Encryptor','listCollaborators','error$','_showConflictNotification','LICENSE_DISTRO_REJECTED','RECV','ENTITLE_NEED_BILLING_ADDRESS','algo','_resendWithTimeout','objectID','_parse','entityInit$','catch','fetch_missing','_logService','UnitEmbedded','COMPLETION_FINISHED','auth.needGotoLoginAlert','_entityInit$','call','sheets','_getSignURL','UNDEFINED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','ENTITLE_DUP_SUBSCRIPTION','_createInitialState','\x0aAfter:\x20','_instanceService','getUnitType','FETCH_MISSING','?url=','reverse','_iv','INVALID_INVITE_CODE','EMAIL_HAS_BEEN_BOUND','_commentUpdate$','_substituteRedoStack','body','REDEMPTION_CODE_INACTIVE','?size=','exports','session.join-failed','PSEUDO_FETCH_MISSING_RESULT','textRanges','onTransformIME','41085319ItKguR','UNKNOWN_CODE','JOIN_ROOM_FULL','_toggleOffline','_onCombEvent','_queuedRemoteChangesets','SHA1','leaveEvent','_getAPIPrefix','loadUnitOfRevision','HEARTBEAT','uniscriptRunEvent','has','_data','INVITE_CODE_REQUIRED','UNAUTHENTICATED','CLOSE_ROOM','_members','collaMsg','replace','onCommentUpdate','_xformMode','FileId','online$','onRemoteAck','padding','APPLY_REVISION_CONFILICT','Malformed\x20UTF-8\x20data','_joinRoom','_tryReconnect','substr','HMAC','saveSnapshot','_clearHeartbeatTimer','REDEMPTION_USER_NOT_ELIGIBLE','REDEMPTION_INVALID_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onLocalMutation','floor','_httpService','get','_process','clamp','_configService','_onRemoteRetry','FAIL','requireSession','_unlockTransition','UNIVER_DOC','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_changesetSessionId','SHOULD_CLOSE_CONN','ERROR_AGAIN','EMAIL_VERIFY_CODE_MISMATCH','_submitChangeset','csRejEvent','isArray','_awaitingChangeset','appendMutation','onMissingChangesets','collaboration-client.local-cache-service','/universer-api/user/session-ticket','11995569JXAVxp','onRemoteChangeset','SerializableCipher','_collabSessionService','getAllMembers','_cipher','location','repeat','reduce','YUUMI_RATE_OVER_LIMIT','WECHAT_HAS_BEEN_BOUND','target','complete','debug','size','_startTelemetryCollaborationNewChangeset','_getUploadFileURL','executeCommand','UNIVER_UNKNOWN','_tryEnsureSocket','getSheetId','_redoStacks','routeKey','_initRequestHeader','Undefined','_updateState','copyFileMeta','_waitForHeartbeatResponse','DATA_SOURCE_TOO_LARGE','Base64','socket\x20open.','_state$','saveSheetBlock','_transformSelections','members','_onUserJoin','encrypt','_onConflict','onSyncEditingCollabCursor','_exhaustRemoteChangesetQueue','APPLY_NON_SEQUENTIAL_REVISION','snapshotServerUrl','REDEMPTION_CODE_FULLY_REDEEMED','[OfflineState]:\x20received\x20acknowledgement.','fetchMiss','&source=','_scheduleCompleteTimestamp','onlyLocal','ENTITLE_INSUFFICIENT_QUOTA','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','create','_state','_transformStateCache','IDLE','2749vZXOdX','byteOffset','collabWebSocketUrl','ivSize','[CollaborationUndoRedoService]','getUnitOnRev','_HTTPService','_members$','YUUMI_NO_CUBOID_FOR_QUESTION','_syncEditingCollabCursor','REDEMPTION_CODE_NOT_STARTED','getCurrentUser','734vTGbPm','[CollaborationState]:\x20apply\x20error!','getLatestCsReqIdBySid','BlockCipherMode','actions','JOIN_ROOM_FAILED','UNIVER_COLLABORATION_CLIENT_PLUGIN','range','function','/universer-api/oidc/authpage','image/png','baseRev','result','snapshot','compute','requestParams','image/jpeg','_roomMembers','loginUrlKey','batchAllowed','enableOfflineEditing','APPLY_PERMISSION_DENIED','removeMember','localeService','startTime','post','_resendTimeout','workbook','clear','_lockTransition','startsWith','StreamCipher','Hasher','saveImage','_onUserLeave','deepClone','createCollaborator','setWaitCount','collaboratorID','_getUndoStack','_onMessage','liveShareNewHost','fetching\x20missing\x20changesets\x20from\x20','message$','addHandlerCallback','UNIVER_SLIDE','LIVESHARE_NEW_HOST','originalMeta','WordArray','_nRounds','POST','signUrlServerUrl','rev','enableAuthServer','OFFLINE','userID','/object/','allowed','NOT_FOUND','INVITE_CODE_ALREADY_BOUND','cmd','BASE64','words','emitEvent','hasher','lib','mutations','OTHER_CLIENTS_EDITING','1597080ZQFEYM','sessionStatus$','_waitCount','delete','BufferedBlockAlgorithm','Decryptor','_updateStatus','/object','reject','_userManagerService','awaiting_with_pending','_socket','UNISCRIPT_RUN','status$','confirm','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','PERMISSION_DENIED','_unitID','_type','UPDATE_CURSOR','buffer','focused$','LIVESHARE_FETCH_OPERATIONS','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','\x20-\x20','USER_NOT_INVITED_CODE','disableLocalCache','_sender','joinRsp','mixIn','_localCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/snapshot/','_acknowledgedAwaitingChangeset','CBC','_clearUndo','HELLO','_getLoginPath','_applyRemoteChangeset','onMutationExecutedForCollab','_permissionService','LICENSE_EXPORT_SIZE_EXCEEDED','toggleOffline','Pkcs7','_initDependencies','/universer-api/authz','updateMember','sendChangesetTimeout','onTransformRemoteChangesetByIMECache','forEach','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','params','session.room-cnt-exceeds','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getRandomValues','HEARTBEAT_TIMEOUT','_change$','OpenSSL','dispose','UnitSnapshot','_key','getActiveSheet','conflict','getImageSourceCache','offline','getUnitId','transformChangesets','MD5','file','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','setConfig','every','reqId','unpad','action','_commandService','onTransformSelections','CHANGESET_REVISION_CONFILICT','_entities','resolve','addImageSourceCache','state$','newCsEvent','initWorkbookPermissionChange','_transitionLocked','randomBytes','LICENSE_MAX_UNITS_EXCEEDED','NoPadding','SNAPSHOT_INVALID_SNAPSHOT','headers','_clearRetryConnectingTimer','USERS_LEAVE','random','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_shouldReportTelemetry','collabSubmitChangesetUrl','findIndex','LIVESHARE_REQUEST_HOST','joinEvent','_updateLocalCache','SNAPSHOT_URL_KEY','session.room-full','asObservable','now','ceil','ONLINE','disposeWithMe','updatePermissionObjEvent','LIVESHARE_TERMINATE','_networkConditionService','splice','values','ENTITLE_REPORT_LIMIT_EXCEED','_commentService','UUID','univer-pro.collaboration-client.single-active-unit-service','OTHER_CLIENT_EDITING','charAt','MOBILE_VERIFY_CODE_MISMATCH','eventID','pad','reconnect','csShouldRetryEvent','LOGIN_FAILED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ClipsheetFragments','BlockCipher','transformMutationsWithChangeset','_getDownloadEndpointURL','_onConnectionFailed','_keySchedule','JOINING','Hex','_socket$','_createInitialStateImpl','transformSelections','onMissedChangesetFetched','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdate$','unitId','MUTATION','CHANGESET_ACK','Cipher','blockSize','_univerInstanceService','PERSON','deleteCollaborator','extend','max','encode','_onOffline','_clearTimeoutTimer','_iKey','onTransformRemoteChangesetByStateCache','_maxTotalRetryTimeout','_createHmacHelper','send','enc','_onRemoteChangeset','UserProfileImg','/unit/','_invKeySchedule','isPermissionRej','ENTITLE_INVALID_COUPON_CODE','putCollaborators','getResourcesRequest','reset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','concat','_sessionStatus$','NOT_COLLAB','univer-pro.collaboration-client.network-condition.service','msCrypto','default','onRemoteRetry','_collaborationPaused','getMemberID','_remoteChangesetQueue','EvpKDF','save\x20fail\x20reason\x20is\x20','CHANGESET_SHOULD_RETRY','_transformService','unknown','execute','_doCreateSocket','status','YUUMI_CONNECTOR_URL_NOT_FOUND','$super','SYNCED','[CollaborationSessionService]:\x20socket\x20error','getSheetBlock','unitID','onStarting','_substituteUndoStack','_initCloseConn','_incrementRevisionNumber','_checkMissing','_clearLocalCache','encodeURIComponent','_nDataBytes','unitId\x20is\x20not\x20found','_doCryptBlock','pipe','{fileID}','_initMergeInterceptor','CHANGESET_REJ','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initUnitPermissionChange','/block/','_undoStacks','authzUrl','LICENSE_IMPORT_SIZE_EXCEEDED','registerHTTPInterceptor','duration','indexOf','c2Prime','_socketService','_oKey','_executeRemoteChangeset','changesets','_unitInfo$','/new_changes','type','_decreaseWaiting','failed\x20to\x20apply\x20missed\x20changesets!','_mode','loadSheet','error','REDEMPTION_CODE_HAS_BEEN_CREATED','_getSendChangesetTimeout','not_collab','_init','find','_startCollaboration','getOwnPropertyDescriptor','getValue','_getRedoStack','revision','fetchMissingChangesets','processBlock','ERROR_IMAGE','getInterceptPoints','session.room-permission-denied','_resendTimer','PY_RUNTIME_SCRIPT_ERROR','retryConnectingInterval','image/bmp','getCollabEntity$','_timeoutTimer','loadDoc','_doProcessBlock','[UniverCollaborationClientPlugin]','_getCtorByUniverType','INVITE_CODE_HAS_BEEN_UES','JOIN_ROOM_PERMISSION_DENIED','_singleActiveUnitService','_minBufferSize','infoRsp','m2Prime','_sendingTimer','onRemoteRej','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_status$','synced','USER_IS_ANONYMOUS','12ElHknY','INGEST','_doReset','_changesetReqId','getUnitStatus$','_rescheduleHeartbeat','_sheetTransformSelectionsService','_onRemoteRejected','_map','_sendHeartbeatTimer','/-/object/list','crypto','updateCursorEvent','ciphertext','_retryCount','/rev/','abs','10PzTtFc','SOCKET_FAILED','ENTITLE_COUPON_EXPIRED','_transformUndoredo','UNIVER_PROJECT','[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.','YUUMI_SUBSCRIPTION_NOT_FOUND','[DataLoaderService]','string','compose','add','image/gif','toggleOnline','_onLocalMutation','c1Prime','UPDATE_PERMISSION_OBJ','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Could\x20not\x20dynamically\x20require\x20\x22','2565xKSbcr','YUUMI_ASYNCIO_CANCELLED','includes','7316208PcZVlm','Utf8','/resources','univer-pro.collaboration-client-socket-service','[CollaborationSession]','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','data','/-/object/-/batch_allowed','getTime','createDecryptor','_socketReady','INTERNAL_ERROR','fromCollab','SUBMIT_CHANGESET_TIMEOUT','PAYMENT_CHANNEL_NOT_SUPPORT','HttpExport','createInstance','_eventService','_injector','onStateChange','liveShareOperation','&to=','_retryConnectingTimer','USERS_ENTER','_replayCachedMutations','_onFetchMissResult','CONFLICT','SNAPSHOT_HAS_BEEN_REMOVED','unit-cache-','GLOBAL_ROOMS_CNT_EXCEEDS','[OfflineState]:\x20received\x20rejection.','origin','fetchThroughInterceptors','/role','_ENC_XFORM_MODE','_collaborationTimeoutTimer','open$','avatar','kdf','getMember','HmacMD5','mode','LEAVE','updateCollaborator','_onConnectionOpen','unsubscribe','symbol','updateOfflineData','_append','getCurrentSelections','__creator','RETRY_CONNECTING_MAX_COUNT','_scheduleCollaborationTimeoutTimer','_createHelper','_throwTelemetryCollaborationNewChangeset','[CollaborationEntity]','_pendingMutations','_transformIMECache','Univer','prototype','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','__Key__','getTypeOfUnitAdded$','/universer-api/uniscript','ENSURE_SNAPSHOT_EXECUTION','parse','length','HttpImport','_isPermissionRej','code','sigBytes'];_0x189b=function(){return _0x22cf4d;};return _0x189b();}const bs='collaboration_new_changeset';function Ds(_0x554d89){var _0x1a2ca0=_0xbde005;return JSON[_0x1a2ca0(0x40c)](_0x554d89)[_0x1a2ca0(0x372)];}var re=(_0x159e63=>(_0x159e63[_0xbde005(0x275)]=_0xbde005(0x275),_0x159e63['PERMISSION_DENIED']=_0xbde005(0x210),_0x159e63[_0xbde005(0x34a)]=_0xbde005(0x34a),_0x159e63[_0xbde005(0x14c)]=_0xbde005(0x14c),_0x159e63[_0xbde005(0x1c1)]='JOIN_ROOM_FAILED',_0x159e63[_0xbde005(0x3ff)]='SOCKET_FAILED_RETRY',_0x159e63['SOCKET_FAILED']='SOCKET_FAILED',_0x159e63[_0xbde005(0x33d)]=_0xbde005(0x33d),_0x159e63))(re||{});class ve{constructor(){var _0x5ef6b5=_0xbde005;D(this,_0x5ef6b5(0x3bf),new _0x5a35f4()),D(this,_0x5ef6b5(0x3ee),this[_0x5ef6b5(0x3bf)]['asObservable']());}[_0xbde005(0x1fb)](_0xe0003f){var _0x23fbe1=_0xbde005;this[_0x23fbe1(0x3bf)]['next'](_0xe0003f);}}class pi{constructor(){var _0x2fcb8a=_0xbde005;D(this,_0x2fcb8a(0x132),new _0x5a35f4()),D(this,_0x2fcb8a(0x28b),this[_0x2fcb8a(0x132)][_0x2fcb8a(0x267)]());}[_0xbde005(0x150)](_0x403896){this['_commentUpdate$']['next'](_0x403896);}}var ys=Object[_0xbde005(0x2eb)],Us=(_0xa49d31,_0x5ebc0a,_0x5c7bff,_0x16c513)=>{for(var _0x419de2=_0x16c513>0x1?void 0x0:_0x16c513?ys(_0x5ebc0a,_0x5c7bff):_0x5ebc0a,_0x45da22=_0xa49d31['length']-0x1,_0x5063db;_0x45da22>=0x0;_0x45da22--)(_0x5063db=_0xa49d31[_0x45da22])&&(_0x419de2=_0x5063db(_0x419de2)||_0x419de2);return _0x419de2;},Ft=(_0x11191a,_0x28cff2)=>(_0x48c45b,_0x388323)=>_0x28cff2(_0x48c45b,_0x388323,_0x11191a);let Pe=class extends _0x20bf78{constructor(_0x366d89,_0x40b26f){var _0x5f2654=_0xbde005;super(),D(this,_0x5f2654(0x1cd),new Map()),D(this,_0x5f2654(0x3c1),new _0x5a35f4()),(this[_0x5f2654(0x291)]=_0x366d89,this[_0x5f2654(0x209)]=_0x40b26f,this['disposeWithMe'](_0x521ca9(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x119145[_0x5f2654(0x388)])[_0x5f2654(0x2cb)](_0x465af3(_0x1db1c9=>_0x1db1c9[_0x5f2654(0x241)]())),this[_0x5f2654(0x291)][_0x5f2654(0x3a1)](_0x119145[_0x5f2654(0x16c)])[_0x5f2654(0x2cb)](_0x465af3(_0x5dfb36=>_0x5dfb36[_0x5f2654(0x241)]())),this[_0x5f2654(0x291)][_0x5f2654(0x3a1)](_0x119145[_0x5f2654(0x1e9)])[_0x5f2654(0x2cb)](_0x465af3(_0x388281=>_0x388281['getUnitId']())))[_0x5f2654(0x395)](_0x251459=>this[_0x5f2654(0x3ca)](_0x251459))));}['waitForRoom$'](_0x1e0ce0){var _0x410484=_0xbde005;return this[_0x410484(0x1cd)]['has'](_0x1e0ce0)?_0x27da9c(this['_roomMembers'][_0x410484(0x164)](_0x1e0ce0)):this[_0x410484(0x3c1)][_0x410484(0x2cb)](_0x465af3(_0x52afcf=>{var _0x33c902=_0x410484;if(_0x52afcf===_0x1e0ce0)return this[_0x33c902(0x1cd)][_0x33c902(0x164)](_0x52afcf);}));}[_0xbde005(0x3c4)](_0x1fd99e){var _0x1e866d=_0xbde005;this[_0x1e866d(0x209)][_0x1e866d(0x3c4)](_0x1fd99e);}[_0xbde005(0x1bb)](){var _0x124f9c=_0xbde005;return this['_userManagerService'][_0x124f9c(0x1bb)]();}[_0xbde005(0x22e)](_0x541b07,_0x59ad6a){var _0x5a11bf=_0xbde005;let _0x34707f=this['_roomMembers'][_0x5a11bf(0x164)](_0x541b07);_0x34707f||(_0x34707f=new As(),this[_0x5a11bf(0x1cd)][_0x5a11bf(0x3cf)](_0x541b07,_0x34707f),this[_0x5a11bf(0x3c1)][_0x5a11bf(0x3b6)](_0x541b07)),_0x34707f[_0x5a11bf(0x22e)](_0x59ad6a);}[_0xbde005(0x1d2)](_0x3fbfec,_0x555a8a){var _0x532672=_0xbde005;const _0x552239=this[_0x532672(0x1cd)][_0x532672(0x164)](_0x3fbfec);_0x552239&&_0x552239[_0x532672(0x1d2)](_0x555a8a);}[_0xbde005(0x3e4)](_0x178795){var _0x1b1499=_0xbde005;return this[_0x1b1499(0x1cd)][_0x1b1499(0x164)](_0x178795);}[_0xbde005(0x357)](_0x12ad84,_0x325f5e){var _0x7cff29=_0xbde005;const _0x19cee8=this[_0x7cff29(0x1cd)][_0x7cff29(0x164)](_0x12ad84);if(_0x19cee8)return _0x19cee8[_0x7cff29(0x357)](_0x325f5e);}['_removeRoom'](_0x99843c){var _0x277737=_0xbde005;const _0x23625b=this[_0x277737(0x1cd)][_0x277737(0x164)](_0x99843c);_0x23625b&&(_0x23625b[_0x277737(0x23a)](),this[_0x277737(0x1cd)]['delete'](_0x99843c));}[_0xbde005(0x23a)](){var _0x7b36cd=_0xbde005;this[_0x7b36cd(0x1cd)]['forEach'](_0x5d4646=>_0x5d4646[_0x7b36cd(0x23a)]()),this['_roomMembers'][_0x7b36cd(0x1d8)](),this[_0x7b36cd(0x3c1)]['complete']();}};Pe=Us([Ft(0x0,_0xecbae0),Ft(0x1,_0x51e0dc(_0x19ef74))],Pe);class As extends _0x20bf78{constructor(){var _0x43ec59=_0xbde005;super(...arguments),D(this,_0x43ec59(0x14d),new Map()),D(this,_0x43ec59(0x1b7),new _0x28d880(this[_0x43ec59(0x14d)])),D(this,'members$',this[_0x43ec59(0x1b7)][_0x43ec59(0x267)]());}['dispose'](){var _0x364fab=_0xbde005;this[_0x364fab(0x14d)][_0x364fab(0x1d8)]();}[_0xbde005(0x22e)](_0xfacc88){var _0x10e34d=_0xbde005;this[_0x10e34d(0x14d)][_0x10e34d(0x3cf)](_0xfacc88[_0x10e34d(0x3f4)],_0xfacc88),this[_0x10e34d(0x384)]();}[_0xbde005(0x1d2)](_0x91a616){var _0x3bf4bc=_0xbde005;this[_0x3bf4bc(0x14d)][_0x3bf4bc(0x203)](_0x91a616);}[_0xbde005(0x357)](_0x36f8b1){var _0x2b4b97=_0xbde005;return this[_0x2b4b97(0x14d)][_0x2b4b97(0x164)](_0x36f8b1);}[_0xbde005(0x17e)](){var _0x5a6fe0=_0xbde005;return Array['from'](this[_0x5a6fe0(0x14d)][_0x5a6fe0(0x270)]());}[_0xbde005(0x384)](){var _0x590aed=_0xbde005;this['_members$'][_0x590aed(0x3b6)](this[_0x590aed(0x14d)]);}}function _0x3d7d(_0x4a50d1,_0x24666c){_0x4a50d1=_0x4a50d1-0xf0;var _0x189b09=_0x189b();var _0x3d7dda=_0x189b09[_0x4a50d1];return _0x3d7dda;}var Ps=Object[_0xbde005(0x2eb)],ws=(_0x4a8606,_0x5bdf18,_0x19817c,_0x3c6e70)=>{var _0x179a74=_0xbde005;for(var _0x53dd74=_0x3c6e70>0x1?void 0x0:_0x3c6e70?Ps(_0x5bdf18,_0x19817c):_0x5bdf18,_0x5146bd=_0x4a8606[_0x179a74(0x372)]-0x1,_0x544d94;_0x5146bd>=0x0;_0x5146bd--)(_0x544d94=_0x4a8606[_0x5146bd])&&(_0x53dd74=_0x544d94(_0x53dd74)||_0x53dd74);return _0x53dd74;},Oe=(_0xe8ec53,_0x4ec665)=>(_0x33c6ad,_0x37fe8c)=>_0x4ec665(_0x33c6ad,_0x37fe8c,_0xe8ec53),me=(_0x35acfe=>(_0x35acfe[_0x35acfe[_0xbde005(0x1af)]=0x0]=_0xbde005(0x1af),_0x35acfe[_0x35acfe[_0xbde005(0x284)]=0x1]='JOINING',_0x35acfe[_0x35acfe[_0xbde005(0x1f2)]=0x2]=_0xbde005(0x1f2),_0x35acfe[_0x35acfe[_0xbde005(0x26a)]=0x3]=_0xbde005(0x26a),_0x35acfe))(me||{});const jt={[Ee[_0xbde005(0x169)]]:_0xbde005(0x138),[Ee[_0xbde005(0x13e)]]:_0xbde005(0x266),[Ee[_0xbde005(0x25d)]]:_0xbde005(0x3b9),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0xbde005(0x2f3),[Ee[_0xbde005(0x34d)]]:_0xbde005(0x234)};let mt=class extends _0x1e895e{constructor(_0x58266b,_0x5d1ab2,_0x10e98a,_0x2d0070,_0x3fe877,_0x1b4dc8,_0x1a1e84,_0x3d2db2){var _0x1d0c4a=_0xbde005;super(),D(this,_0x1d0c4a(0x2aa),new _0x28d880(0x0)),D(this,_0x1d0c4a(0x201),this[_0x1d0c4a(0x2aa)][_0x1d0c4a(0x267)]()),D(this,'_event$',new _0x5a35f4()),D(this,_0x1d0c4a(0x3ee),this[_0x1d0c4a(0x3bf)][_0x1d0c4a(0x267)]()),D(this,_0x1d0c4a(0x20b)),D(this,_0x1d0c4a(0x407)),D(this,'_collaborationTimeoutTimer'),D(this,_0x1d0c4a(0x25f),!0x1),D(this,'_telemetryInfo',null),(this[_0x1d0c4a(0x211)]=_0x58266b,this[_0x1d0c4a(0x11d)]=_0x10e98a,this[_0x1d0c4a(0x167)]=_0x2d0070,this['_memberService']=_0x3fe877,this['_commentService']=_0x1b4dc8,this[_0x1d0c4a(0x3b0)]=_0x1a1e84,this[_0x1d0c4a(0x3db)]=_0x3d2db2,this['_shouldReportTelemetry']=!!this[_0x1d0c4a(0x3db)],_0x5d1ab2['pipe'](_0x436a76(this[_0x1d0c4a(0x3a8)]))[_0x1d0c4a(0x395)](_0x5a4e94=>{var _0x421c58=_0x1d0c4a,_0x2f3ecc;typeof _0x5a4e94>'u'||(this[_0x421c58(0x20b)]=_0x5a4e94,_0x5a4e94?(this[_0x421c58(0x158)](_0x5a4e94),this[_0x421c58(0x407)]=_0x5a4e94['message$'][_0x421c58(0x395)](_0x2d82f7=>{var _0x24f3b2=_0x421c58;_0x2d82f7[_0x24f3b2(0x190)]===this[_0x24f3b2(0x211)]&&this[_0x24f3b2(0x140)](_0x2d82f7);})):(this[_0x421c58(0x366)](),this[_0x421c58(0x2aa)][_0x421c58(0x3b6)](0x2),(_0x2f3ecc=this[_0x421c58(0x407)])==null||_0x2f3ecc[_0x421c58(0x35d)](),this[_0x421c58(0x407)]=null));}));}get['sessionStatus'](){var _0x108a67=_0xbde005;return this[_0x108a67(0x2aa)]['getValue']();}['getMemberID'](){var _0x4e700a=_0xbde005,_0x4ed989,_0x49bd4c;return(_0x49bd4c=(_0x4ed989=this[_0x4e700a(0x20b)])==null?void 0x0:_0x4ed989[_0x4e700a(0x3f4)])!=null?_0x49bd4c:null;}[_0xbde005(0x23a)](){var _0x2b3e9b=_0xbde005;super[_0x2b3e9b(0x23a)](),this[_0x2b3e9b(0x3a8)][_0x2b3e9b(0x3b6)](),this['dispose$'][_0x2b3e9b(0x186)]();}[_0xbde005(0x405)](){var _0x5b0905=_0xbde005,_0x2a76cc,_0x2031e0;this[_0x5b0905(0x366)](),(_0x2a76cc=this[_0x5b0905(0x20b)])==null||_0x2a76cc['send']({'cmd':j[_0x5b0905(0x35a)],'data':{'roomID':this['_unitID']}}),(_0x2031e0=this['_socket'])==null||_0x2031e0[_0x5b0905(0x405)](),this[_0x5b0905(0x3bf)][_0x5b0905(0x186)](),this[_0x5b0905(0x2aa)][_0x5b0905(0x186)](),this[_0x5b0905(0x23a)]();}[_0xbde005(0x140)](_0x5b349a){var _0x27fdc0=_0xbde005;_0x5b349a['cmd']===j[_0x27fdc0(0x3bd)]?this['_onJoinRoomEvent'](_0x5b349a):_0x5b349a[_0x27fdc0(0x1f8)]===j['RECV']&&this['_onRecvEvent'](_0x5b349a);}[_0xbde005(0x158)](_0x376bb6){var _0x31ea8a=_0xbde005;this['_sessionStatus$'][_0x31ea8a(0x3b6)](0x1),_0x376bb6[_0x31ea8a(0x29d)]({'cmd':j[_0x31ea8a(0x3bd)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x31ea8a(0x211)]}]}});}['_onJoinRoomEvent'](_0x3afffb){var _0x57f632=_0xbde005,_0x2460b9;if(_0x3afffb[_0x57f632(0x375)]in jt){this[_0x57f632(0x3b0)]['emitEvent']({'id':re[_0x57f632(0x1c1)],'data':jt[_0x3afffb[_0x57f632(0x375)]]}),this[_0x57f632(0x2aa)][_0x57f632(0x3b6)](0x2);return;}this[_0x57f632(0x2aa)]['next'](0x3);const _0x3deaf6=(_0x2460b9=_0x3afffb[_0x57f632(0x336)][_0x57f632(0x377)][this['_unitID']])==null?void 0x0:_0x2460b9[_0x57f632(0x19c)];_0x3deaf6&&_0x3deaf6[_0x57f632(0x231)](_0x40cc7a=>this[_0x57f632(0x3e8)][_0x57f632(0x22e)](this['_unitID'],_0x40cc7a));}['_onRecvEvent'](_0x20acf2){var _0x7c098c=_0xbde005;try{const _0x59cff3=_0x20acf2[_0x7c098c(0x336)];switch(_0x59cff3[_0x7c098c(0x278)]){case _0xad0318[_0x7c098c(0x347)]:this[_0x7c098c(0x19d)](_0x59cff3),this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);break;case _0xad0318[_0x7c098c(0x25b)]:this[_0x7c098c(0x1de)](_0x59cff3),this[_0x7c098c(0x3bf)][_0x7c098c(0x3b6)](_0x59cff3);break;case _0xad0318['CHANGESET_ACK']:case _0xad0318[_0x7c098c(0x2b5)]:this[_0x7c098c(0x3d8)](),this[_0x7c098c(0x37d)](),this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);break;case _0xad0318['MSG_FOR_ERROR']:this[_0x7c098c(0x11d)][_0x7c098c(0x2e4)](_0x7c098c(0x2b4)+JSON[_0x7c098c(0x40c)](_0x59cff3)),this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);break;case _0xad0318[_0x7c098c(0x3d0)]:this[_0x7c098c(0x272)][_0x7c098c(0x150)](_0x59cff3['data']),this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);break;default:this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);}}catch(_0x2bc81e){this[_0x7c098c(0x11d)][_0x7c098c(0x2e4)](_0x2bc81e,_0x20acf2);}}[_0xbde005(0x19d)](_0xcce1a){var _0x25e1e1=_0xbde005;this[_0x25e1e1(0x3e8)][_0x25e1e1(0x22e)](this[_0x25e1e1(0x211)],_0xcce1a[_0x25e1e1(0x336)]);}[_0xbde005(0x1de)](_0x36b4f0){var _0x2cbaf5=_0xbde005;this[_0x2cbaf5(0x3e8)]['removeMember'](this[_0x2cbaf5(0x211)],_0x36b4f0['data'][_0x2cbaf5(0x3f4)]);}async[_0xbde005(0x29d)](_0x2b65ce,_0xf6ea03){var _0x52e995=_0xbde005;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x52e995(0x306));try{_0x2b65ce[_0x52e995(0x278)]===_0xad0318[_0x52e995(0x380)]&&(this[_0x52e995(0x364)](),this[_0x52e995(0x189)](_0x2b65ce)),this[_0x52e995(0x20b)][_0x52e995(0x29d)]({'cmd':j[_0x52e995(0x30b)],'routeKey':_0xf6ea03,'routeType':'','data':_0x2b65ce});}catch(_0x4230d0){this['_logService']['error'](_0x4230d0);}}[_0xbde005(0x364)](){var _0x560ec9=_0xbde005,_0x26dbb3;this[_0x560ec9(0x353)]=setTimeout(()=>{var _0x4a6cc0=_0x560ec9;this[_0x4a6cc0(0x353)]=null,this[_0x4a6cc0(0x3b0)]['emitEvent']({'id':re[_0x4a6cc0(0x33d)]});},(_0x26dbb3=this['_configService'][_0x560ec9(0x3fc)](di))!=null?_0x26dbb3:fi);}[_0xbde005(0x37d)](){var _0x4295a4=_0xbde005;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4295a4(0x353)]),this[_0x4295a4(0x353)]=null);}[_0xbde005(0x189)](_0x5a655e){var _0x109ba8=_0xbde005;if(!this['_shouldReportTelemetry'])return;const {data:_0x1bf03b}=_0x5a655e,{unitID:_0x3c6fa7,changeset:_0x82bd2e}=_0x1bf03b,{mutations:_0x54a447,type:_0x3b8a7c}=_0x82bd2e;this[_0x109ba8(0x3f1)]={'unitId':_0x3c6fa7,'type':_0x3b8a7c,'startTime':performance[_0x109ba8(0x268)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x54a447)};}[_0xbde005(0x3d8)](){var _0xd1e973=_0xbde005;if(this[_0xd1e973(0x25f)]){if(!this[_0xd1e973(0x3f1)]){this[_0xd1e973(0x11d)][_0xd1e973(0x2e4)](_0xd1e973(0x334),_0xd1e973(0x3c2));return;}this['_telemetryInfo'][_0xd1e973(0xf4)]=performance[_0xd1e973(0x268)](),this[_0xd1e973(0x3f1)][_0xd1e973(0x2d6)]=this['_telemetryInfo']['stopTime']-this[_0xd1e973(0x3f1)][_0xd1e973(0x1d4)],this[_0xd1e973(0x3db)]['capture'](bs,this[_0xd1e973(0x3f1)]),this[_0xd1e973(0x3f1)]=null;}}[_0xbde005(0x366)](){var _0x333645=_0xbde005;this[_0x333645(0x3f1)]=null;}};mt=ws([Oe(0x2,_0x9e9972),Oe(0x3,_0x50f0f7),Oe(0x4,_0x51e0dc(Pe)),Oe(0x5,_0x51e0dc(pi)),Oe(0x6,_0x51e0dc(ve)),Oe(0x7,_0x581e15(_0x243bad))],mt);const X=_0x1814eb(_0xbde005(0x178));function Dr(_0x34cce2){var _0x3e17e9=_0xbde005;return _0x3e17e9(0x34c)+_0x34cce2;}var Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x55f63a,_0x4be439,_0x5f64b1,_0x2d1c07)=>{var _0x2fe007=_0xbde005;for(var _0x5705e0=_0x2d1c07>0x1?void 0x0:_0x2d1c07?Ls(_0x4be439,_0x5f64b1):_0x4be439,_0x306e5e=_0x55f63a[_0x2fe007(0x372)]-0x1,_0x5a2f60;_0x306e5e>=0x0;_0x306e5e--)(_0x5a2f60=_0x55f63a[_0x306e5e])&&(_0x5705e0=_0x5a2f60(_0x5705e0)||_0x5705e0);return _0x5705e0;},ut=(_0xd30a32,_0x238256)=>(_0x59367f,_0x5616b7)=>_0x238256(_0x59367f,_0x5616b7,_0xd30a32);function xs(_0x5f4939){var _0x4a747f=_0xbde005;const {unitID:_0x5922f3,mutations:_0x3e783a}=_0x5f4939;return{'unitId':_0x5922f3,'subUnitId':_0x3e783a['length']>0x0?_0x3e783a[0x0][_0x4a747f(0x233)]['subUnitId']:null};}let it=class{constructor(_0x420025,_0x5076eb,_0x3a33bd){var _0x266e9c=_0xbde005;this[_0x266e9c(0x342)]=_0x420025,this['_transformService']=_0x5076eb,this[_0x266e9c(0x12a)]=_0x3a33bd;}[_0xbde005(0x288)](_0x785715){var _0x49ac6f=_0xbde005,_0xf6607b,_0x3e0990,_0x3560e3,_0x7f9700;const _0x45c1e6=this['_injector'][_0x49ac6f(0x164)](_0xcb52c8),{unitId:_0x5c7f07,subUnitId:_0xeacbc8}=xs(_0x785715),_0x2fce02=_0x45c1e6==null?void 0x0:_0x45c1e6['getWorkbookSelections'](_0x5c7f07)[_0x49ac6f(0x361)](),_0x16a11b=(_0x3e0990=(_0xf6607b=this[_0x49ac6f(0x12a)][_0x49ac6f(0x39f)](_0x5c7f07))==null?void 0x0:_0xf6607b[_0x49ac6f(0x23d)]())==null?void 0x0:_0x3e0990[_0x49ac6f(0x18e)]();if(_0x2fce02[_0x49ac6f(0x372)]===0x0||!_0x5c7f07||!_0xeacbc8)return;const _0x21d666=[{'id':_0x22c69e['id'],'params':{'unitId':_0x5c7f07,'subUnitId':_0x16a11b,'selections':_0x2de3b9[_0x49ac6f(0x1df)](_0x2fce02)}}],_0x2b4275=this[_0x49ac6f(0x2b6)]['transformMutationsWithChangeset'](_0x785715,_0x21d666);if(!_0x30de82(_0x2b4275))throw _0x2b4275[_0x49ac6f(0x2e4)];const _0x163acb=(_0x7f9700=(_0x3560e3=_0x2b4275['m2Prime'][0x0])==null?void 0x0:_0x3560e3[_0x49ac6f(0x233)])==null?void 0x0:_0x7f9700['selections'];if(Array[_0x49ac6f(0x174)](_0x163acb)&&_0x163acb[_0x49ac6f(0x372)]){if(_0x163acb[_0x49ac6f(0x372)]===_0x21d666[0x0]['params'][_0x49ac6f(0xf7)][_0x49ac6f(0x372)]&&_0x163acb[_0x49ac6f(0x247)]((_0x3d85d3,_0x5ae967)=>_0x26c7ad['equals'](_0x3d85d3[_0x49ac6f(0x1c3)],_0x21d666[0x0][_0x49ac6f(0x233)][_0x49ac6f(0xf7)][_0x5ae967]['range'])))return;this[_0x49ac6f(0x342)][_0x49ac6f(0x164)](_0x2d6439)[_0x49ac6f(0x18b)](_0x22c69e['id'],{'unitId':_0x5c7f07,'subUnitId':_0x16a11b,'selections':_0x163acb});}}};it=Ms([ut(0x0,_0x51e0dc(_0x20c230)),ut(0x1,_0x54f44a),ut(0x2,_0xecbae0)],it);const _t=_0x1814eb(_0xbde005(0x274));var mi=(_0x4b988c=>(_0x4b988c[_0x4b988c['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xbde005(0x3e0),_0x4b988c[_0x4b988c[_0xbde005(0x1ff)]=0x1]=_0xbde005(0x1ff),_0x4b988c))(mi||{});const K=_0xbde005(0x3bb),ks={};function $s(_0x2d7e79){var _0x3000b0=_0xbde005,_0x419f91;return!!((_0x419f91=_0x2d7e79[_0x3000b0(0x233)])!=null&&_0x419f91[_0x3000b0(0x3fb)]);}const Hs=new Set([_0x206e7b['id']]);function Vt(_0x249860,_0x213b56,_0x140329,_0x1da979,_0x5600d3){var _0x318be7=_0xbde005,_0x3cd383,_0x5ca2d9,_0x3d7735,_0x52b377;const _0x20244b=[];for(const _0xa40e9f of _0x249860){if(Hs[_0x318be7(0x148)](_0xa40e9f['id'])){if(_0x20244b[_0x318be7(0x372)]>0x0)break;_0x20244b['push'](_0xa40e9f);break;}if($s(_0xa40e9f)){if(_0x20244b[_0x318be7(0x372)]>0x0)break;_0x20244b[_0x318be7(0x38b)](_0xa40e9f);break;}_0x20244b[_0x318be7(0x38b)](_0xa40e9f);}const _0x23a4b4=(_0x5ca2d9=(_0x3cd383=_0x5600d3[_0x318be7(0x1bb)]())==null?void 0x0:_0x3cd383[_0x318be7(0x1f3)])!=null?_0x5ca2d9:_0x318be7(0x2b7),_0x2968a5=(_0x52b377=(_0x3d7735=_0x5600d3[_0x318be7(0x1bb)]())==null?void 0x0:_0x3d7735['memberID'])!=null?_0x52b377:_0x318be7(0x2b7);return{'changeset':{'unitID':_0x213b56,'type':_0x3496fc(_0x140329[_0x318be7(0x12b)](_0x213b56)),'baseRev':_0x1da979[_0x318be7(0x10a)](_0x213b56),'revision':0x0,'userID':_0x23a4b4,'memberID':_0x2968a5,'mutations':_0x20244b},'pendingMutations':_0x249860[_0x318be7(0x38f)](_0x20244b[_0x318be7(0x372)])};}function Bs(_0x41d0bd,_0x5ddcaa,_0x4a53d8,_0x5237cc,_0x58dad2){var _0x3132c4=_0xbde005,_0x173396,_0x414972,_0x517a27,_0x2522ab;const _0x4fc509=[_0x41d0bd[_0x3132c4(0x182)]((_0x4ad68d,_0xa35ebe)=>{var _0x20ea2a=_0x3132c4,_0x5a5971;const {id:_0x252ced}=_0x4ad68d,{id:_0x5ea599,type:_0x4853f4}=_0xa35ebe,_0x48bc84=(_0x5a5971=_0x4ad68d[_0x20ea2a(0x233)])!=null?_0x5a5971:{'actions':null},_0x36cc8c=_0xa35ebe['params'];if(_0x252ced&&_0x252ced!==_0x5ea599)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x252ced+_0x20ea2a(0x218)+_0x5ea599+'.');return{..._0x4ad68d,'id':_0x5ea599,'type':_0x4853f4,'params':{'unitId':_0x36cc8c[_0x20ea2a(0x28c)],'textRanges':_0x36cc8c[_0x20ea2a(0x13a)],'actions':_0x5b82f1[_0x20ea2a(0x324)](_0x48bc84['actions'],_0x36cc8c[_0x20ea2a(0x1c0)])}};},{})],_0x28c12d=(_0x414972=(_0x173396=_0x58dad2[_0x3132c4(0x1bb)]())==null?void 0x0:_0x173396[_0x3132c4(0x1f3)])!=null?_0x414972:'unknown',_0x221177=(_0x2522ab=(_0x517a27=_0x58dad2['getCurrentUser']())==null?void 0x0:_0x517a27[_0x3132c4(0x3f4)])!=null?_0x2522ab:'unknown';return{'changeset':{'unitID':_0x5ddcaa,'type':_0x3496fc(_0x4a53d8['getUnitType'](_0x5ddcaa)),'baseRev':_0x5237cc[_0x3132c4(0x10a)](_0x5ddcaa),'revision':0x0,'userID':_0x28c12d,'memberID':_0x221177,'mutations':_0x4fc509},'pendingMutations':[]};}function Ii(_0x3bce57,_0x450353){var _0x57fb75=_0xbde005;const _0x2bfbac=new _0x2c0fbe(0x1);return setTimeout(()=>_0x2bfbac[_0x57fb75(0x3b6)](_0x450353),_0x3bce57),_0x2bfbac[_0x57fb75(0x267)]()[_0x57fb75(0x2cb)](_0x2a23c8(0x1));}var Fs=Object['getOwnPropertyDescriptor'],Se=(_0x21c653,_0x1d4711,_0x5c8534,_0xe8036c)=>{var _0x4d1106=_0xbde005;for(var _0x5b7084=_0xe8036c>0x1?void 0x0:_0xe8036c?Fs(_0x1d4711,_0x5c8534):_0x1d4711,_0x122dc6=_0x21c653[_0x4d1106(0x372)]-0x1,_0x43a7f8;_0x122dc6>=0x0;_0x122dc6--)(_0x43a7f8=_0x21c653[_0x122dc6])&&(_0x5b7084=_0x43a7f8(_0x5b7084)||_0x5b7084);return _0x5b7084;},w=(_0xcce46b,_0x38e1e4)=>(_0x2b7136,_0x24b892)=>_0x38e1e4(_0x2b7136,_0x24b892,_0xcce46b),Si=(_0x46b350=>(_0x46b350[_0xbde005(0x2ab)]=_0xbde005(0x2e7),_0x46b350[_0xbde005(0x2bd)]='synced',_0x46b350['PENDING']=_0xbde005(0x104),_0x46b350['AWAITING']='awaiting',_0x46b350['AWAITING_WITH_PENDING']=_0xbde005(0x20a),_0x46b350['FETCH_MISS']=_0xbde005(0x11c),_0x46b350[_0xbde005(0x34a)]=_0xbde005(0x23e),_0x46b350[_0xbde005(0x1f2)]=_0xbde005(0x240),_0x46b350))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x5a7556,_0x2baba9,_0x1ce4a5,_0x58e725,_0x1d2b39,_0x34f13f,_0x5b048c,_0x5f19e0,_0xd6ab23){var _0x301f9b=_0xbde005;D(this,_0x301f9b(0x175),null),D(this,_0x301f9b(0x368),[]),(this[_0x301f9b(0x2c0)]=_0x5a7556,this[_0x301f9b(0x2df)]=_0x2baba9,this[_0x301f9b(0x3da)]=_0x1d2b39,this['_commandService']=_0x34f13f,this[_0x301f9b(0x3cb)]=_0x5b048c,this['_revisionService']=_0x5f19e0,this[_0x301f9b(0x21e)]=_0xd6ab23,this[_0x301f9b(0x175)]=_0x1ce4a5,this[_0x301f9b(0x368)]=_0x58e725);}[_0xbde005(0x2c5)](_0x10d61c){var _0x3d5a14=_0xbde005;const _0x495526=this[_0x3d5a14(0x3a7)]['getCurrentRevOfUnit'](this[_0x3d5a14(0x2c0)]);return _0x10d61c['revision']>_0x495526+0x1?(this[_0x3d5a14(0x3da)][_0x3d5a14(0x177)]({'from':_0x495526,'to':_0x10d61c[_0x3d5a14(0x2ee)]-0x1}),!0x0):!0x1;}[_0xbde005(0x31e)](_0x49ed76){var _0x41e032=_0xbde005;this[_0x41e032(0x3cb)][_0x41e032(0x402)](this[_0x41e032(0x2c0)],_0x49ed76);}['_transformSelections'](_0x141198){var _0x771ad3=_0xbde005,_0x24c69b,_0x113016;(_0x113016=(_0x24c69b=this[_0x771ad3(0x3da)])[_0x771ad3(0x24c)])==null||_0x113016[_0x771ad3(0x122)](_0x24c69b,_0x141198);}[_0xbde005(0x369)](_0x1b1a37){var _0x4fde1b=_0xbde005,_0x23e0f7,_0x1cd598;return(_0x1cd598=(_0x23e0f7=this[_0x4fde1b(0x3da)])['onTransformIME'])==null?void 0x0:_0x1cd598[_0x4fde1b(0x122)](_0x23e0f7,_0x1b1a37);}[_0xbde005(0x1ae)](_0x585001){var _0x57d06e=_0xbde005,_0x5a59d7,_0x4b4312;return(_0x4b4312=(_0x5a59d7=this[_0x57d06e(0x3da)])[_0x57d06e(0x3e6)])==null?void 0x0:_0x4b4312[_0x57d06e(0x122)](_0x5a59d7,_0x585001);}[_0xbde005(0x3c3)](_0x54456f){var _0x577290=_0xbde005,_0x395485,_0x4fb5ee,_0x4b4225;return(_0x4b4225=(_0x4fb5ee=(_0x395485=this[_0x577290(0x3da)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4fb5ee[_0x577290(0x122)](_0x395485,_0x54456f))!=null?_0x4b4225:_0x54456f;}[_0xbde005(0x3a6)](_0x15fa60){var _0x4e594c=_0xbde005,_0x1cde2f,_0xb63cc2,_0x1d4535;return(_0x1d4535=(_0xb63cc2=(_0x1cde2f=this[_0x4e594c(0x3da)])[_0x4e594c(0x29a)])==null?void 0x0:_0xb63cc2[_0x4e594c(0x122)](_0x1cde2f,_0x15fa60))!=null?_0x1d4535:_0x15fa60;}['_syncEditingCollabCursor'](_0x44486c){var _0x4ccb17=_0xbde005,_0xb03a7,_0x8f0818;if(this['type']===Q[_0x4ccb17(0x16c)]){const {unitID:_0x383bad,mutations:_0x364663,memberID:_0x59b7e9}=_0x44486c,_0xe39445=_0x364663['length']>0x0?_0x364663[0x0][_0x4ccb17(0x233)][_0x4ccb17(0x13a)]:[];Array[_0x4ccb17(0x174)](_0xe39445)&&_0xe39445['length']>0x0&&((_0x8f0818=(_0xb03a7=this[_0x4ccb17(0x3da)])[_0x4ccb17(0x1a0)])==null||_0x8f0818[_0x4ccb17(0x122)](_0xb03a7,{'unitID':_0x383bad,'memberID':_0x59b7e9,'textRanges':_0xe39445}));}}[_0xbde005(0x264)](){var _0x5e1c2a=_0xbde005,_0x5bc7f2;(_0x5bc7f2=this[_0x5e1c2a(0x21e)])==null||_0x5bc7f2['updateOfflineData'](this['unitID'],this[_0x5e1c2a(0x2df)],this[_0x5e1c2a(0x175)],this[_0x5e1c2a(0x368)]);}['_getCurrentRevision'](){var _0x7225c2=_0xbde005;return this['_revisionService'][_0x7225c2(0x10a)](this[_0x7225c2(0x2c0)]);}['_incrementRevisionNumber'](){var _0x1d86f9=_0xbde005;this[_0x1d86f9(0x3a7)]['incrementRevOfUnit'](this[_0x1d86f9(0x2c0)]);}[_0xbde005(0x2db)](_0x467049){var _0x3f1919=_0xbde005,_0x59bfbd;let _0x2af2e9=this[_0x3f1919(0x3c3)](_0x467049);_0x2af2e9=this[_0x3f1919(0x3a6)](_0x2af2e9);const _0x48ac5a=_0x163ab7(_0x2af2e9['mutations'],this[_0x3f1919(0x24b)],{'fromCollab':!0x0});if(!_0x48ac5a['result'])throw _0x48ac5a[_0x3f1919(0x2e4)]instanceof Error?_0x48ac5a['error']:new Error((_0x59bfbd=_0x48ac5a['error'])!=null?_0x59bfbd:_0x3f1919(0x1bd));this[_0x3f1919(0x369)](_0x2af2e9),this[_0x3f1919(0x1ae)](_0x2af2e9),this[_0x3f1919(0x31e)](_0x467049),this[_0x3f1919(0x19b)](_0x2af2e9),this[_0x3f1919(0x1b9)](_0x2af2e9),this[_0x3f1919(0x2c4)]();}}let be=class extends ge{constructor(_0x31fdd5,_0x2bcad8,_0x2a5807,_0x3a910a,_0x4b6c21,_0x1571d1,_0x2bcf20,_0x2b175f,_0x3d60a0,_0x38c5fb){var _0x416d41=_0xbde005;super(_0x31fdd5,_0x2bcad8,null,[],_0x2a5807,_0x2bcf20,_0x1571d1,_0x3a910a,_0x38c5fb),D(this,_0x416d41(0x2ba),_0x416d41(0x308)),(this[_0x416d41(0x342)]=_0x4b6c21,this[_0x416d41(0x11d)]=_0x2b175f,this['_transformService']=_0x3d60a0,this[_0x416d41(0x3a5)]=_0x38c5fb);}[_0xbde005(0x176)](_0x57a46c){var _0xbed337=_0xbde005;const _0x36f349=this[_0xbed337(0x342)]['createInstance'](ae,this[_0xbed337(0x2c0)],this[_0xbed337(0x2df)],[_0x57a46c],this[_0xbed337(0x3da)]);return _0x36f349[_0xbed337(0x3a2)](),_0x36f349[_0xbed337(0x264)](),_0x36f349;}[_0xbde005(0x17b)](_0x5a5fb4){var _0x1a9523=_0xbde005;if(this['_checkMissing'](_0x5a5fb4))return this[_0x1a9523(0x342)]['createInstance'](ee,this[_0x1a9523(0x2c0)],this[_0x1a9523(0x2df)],null,[],null,[_0x5a5fb4],this[_0x1a9523(0x3da)]);try{const _0x1edc41=this[_0x1a9523(0x2b6)][_0x1a9523(0x280)](_0x5a5fb4,[_0x2d9413]);if(_0x30de82(_0x1edc41)){const {c1Prime:_0x15e2f7}=_0x1edc41;return this[_0x1a9523(0x2db)](_0x15e2f7),this;}throw _0x1edc41[_0x1a9523(0x2e4)];}catch(_0x3e1f8b){return this[_0x1a9523(0x11d)][_0x1a9523(0x2e4)](_0x3e1f8b),this[_0x1a9523(0x19f)](!0x1);}}[_0xbde005(0x19f)](_0x4ffdfc){var _0x396a53=_0xbde005;return this[_0x396a53(0x342)][_0x396a53(0x340)](ue,this[_0x396a53(0x2c0)],this[_0x396a53(0x2df)],null,[],this[_0x396a53(0x3da)],_0x4ffdfc);}[_0xbde005(0x154)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xbde005(0x305)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xbde005(0x22a)](){var _0x538633=_0xbde005;return this[_0x538633(0x342)]['createInstance'](de,this[_0x538633(0x2c0)],this['type'],null,[],this[_0x538633(0x3da)]);}[_0xbde005(0x327)](){return this;}['resend'](){var _0x368753=_0xbde005;throw new Error(_0x368753(0x245));}[_0xbde005(0x1a6)](){var _0x2d9e81=_0xbde005;const _0x5e1bb6=this[_0x2d9e81(0x3a7)][_0x2d9e81(0x10a)](this[_0x2d9e81(0x2c0)]);return this['_handler']['onMissingChangesets']({'from':_0x5e1bb6,'to':0x0}),this[_0x2d9e81(0x342)]['createInstance'](ee,this[_0x2d9e81(0x2c0)],this[_0x2d9e81(0x2df)],null,[],null,[],this[_0x2d9e81(0x3da)]);}};be=Se([w(0x3,_0x51e0dc(_0x38ef90)),w(0x4,_0x51e0dc(_0x20c230)),w(0x5,_0x15b98e),w(0x6,_0x2d6439),w(0x7,_0x9e9972),w(0x8,_0x54f44a),w(0x9,_0x581e15(X))],be);let ae=class extends ge{constructor(_0x5a7f27,_0x23e099,_0x3bee7c,_0x486a44,_0x14342e,_0x352dd2,_0x3de315,_0x4dcfdf,_0x5d2413,_0x1af4cc,_0x28636a,_0x10fc29,_0x1e91a5,_0xc0f29d){var _0x5424ae=_0xbde005;super(_0x5a7f27,_0x23e099,null,_0x3bee7c,_0x486a44,_0x5d2413,_0x1e91a5,_0x352dd2,_0xc0f29d),D(this,_0x5424ae(0x2ba),'pending'),D(this,_0x5424ae(0x1a8),null),D(this,'_sendingTimer',null),(this[_0x5424ae(0x342)]=_0x14342e,this[_0x5424ae(0x3e8)]=_0x3de315,this[_0x5424ae(0x11d)]=_0x4dcfdf,this[_0x5424ae(0x167)]=_0x1af4cc,this[_0x5424ae(0x2b6)]=_0x28636a,this[_0x5424ae(0x291)]=_0x10fc29);}[_0xbde005(0x176)](_0x30e500){var _0x17058e=_0xbde005;return this[_0x17058e(0x368)]['push'](_0x30e500),this[_0x17058e(0x264)](),this;}[_0xbde005(0x17b)](_0x4ddd7c){var _0x534328=_0xbde005;if(this[_0x534328(0x2c5)](_0x4ddd7c))return this['_clearScheduledTask'](),this['_injector'][_0x534328(0x340)](ee,this[_0x534328(0x2c0)],this['type'],null,this[_0x534328(0x368)],null,[_0x4ddd7c],this[_0x534328(0x3da)]);try{const _0x8ac460=this[_0x534328(0x2b6)]['transformMutationsWithChangeset'](_0x4ddd7c,this[_0x534328(0x368)]);if(_0x30de82(_0x8ac460)){const {c1Prime:_0x579bd4,m2Prime:_0x2fabad}=_0x8ac460;this[_0x534328(0x2db)](_0x579bd4);const _0x2bae2e=this[_0x534328(0x342)][_0x534328(0x340)](ae,this['unitID'],this[_0x534328(0x2df)],_0x2fabad,this[_0x534328(0x3da)]);this[_0x534328(0x3f9)]();const _0x2ca4a1=new Date()[_0x534328(0x338)](),_0x193686=this['_scheduleCompleteTimestamp']?Math[_0x534328(0x295)](this[_0x534328(0x1a8)]-_0x2ca4a1,0x0):this['_getSendChangesetTimeout']();return _0x2bae2e[_0x534328(0x3a2)](_0x193686),_0x2bae2e;}throw _0x8ac460[_0x534328(0x2e4)];}catch(_0x2f3175){return this[_0x534328(0x11d)][_0x534328(0x2e4)](_0x2f3175),this[_0x534328(0x19f)](!0x1);}}[_0xbde005(0x154)](){var _0x3289ef=_0xbde005;throw new Error(_0x3289ef(0x38e));}[_0xbde005(0x305)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xbde005(0x2af)](){return this;}[_0xbde005(0x22a)](){var _0x3b5b27=_0xbde005;return this['_clearScheduledTask'](),this[_0x3b5b27(0x342)][_0x3b5b27(0x340)](de,this[_0x3b5b27(0x2c0)],this['type'],null,this[_0x3b5b27(0x368)],this['_handler']);}[_0xbde005(0x327)](){return this;}['_schedule'](_0x4e1327){var _0x19649d=_0xbde005;const _0x547b57=_0x4e1327!=null?_0x4e1327:this[_0x19649d(0x2e6)]();this['_scheduleCompleteTimestamp']=new Date()[_0x19649d(0x338)]()+_0x547b57,this['_sendingTimer']=setTimeout(()=>{var _0x508389=_0x19649d;this['_clearScheduledTask']();let _0x552897=null;switch(this[_0x508389(0x2df)]){case Q[_0x508389(0x388)]:{_0x552897=Vt(this[_0x508389(0x368)],this['unitID'],this['_univerInstanceService'],this[_0x508389(0x3a7)],this[_0x508389(0x3e8)]);break;}case Q[_0x508389(0x16c)]:{this[_0x508389(0x368)][_0x508389(0x247)](_0x41acf9=>_0x41acf9['id']===_0x15e2ec['id'])?_0x552897=Bs(this[_0x508389(0x368)],this[_0x508389(0x2c0)],this[_0x508389(0x291)],this[_0x508389(0x3a7)],this[_0x508389(0x3e8)]):_0x552897=Vt(this[_0x508389(0x368)],this[_0x508389(0x2c0)],this[_0x508389(0x291)],this[_0x508389(0x3a7)],this[_0x508389(0x3e8)]);break;}default:throw new Error(_0x508389(0x37c)+this[_0x508389(0x2df)]+'\x20in\x20_schedule.');}const {changeset:_0x47c07b,pendingMutations:_0x569198}=_0x552897;this[_0x508389(0x3da)]['onSendChangeset'](_0x47c07b);const _0x5aa521=_0x569198[_0x508389(0x372)]?this[_0x508389(0x342)][_0x508389(0x340)](oe,this[_0x508389(0x2c0)],this[_0x508389(0x2df)],_0x47c07b,_0x569198,this[_0x508389(0x3da)],void 0x0):this['_injector'][_0x508389(0x340)](le,this[_0x508389(0x2c0)],this['type'],_0x47c07b,this[_0x508389(0x3da)]);_0x5aa521[_0x508389(0x264)](),this['_handler'][_0x508389(0x343)](this,_0x5aa521);},_0x547b57);}['_getSendChangesetTimeout'](){var _0x3795cd=_0xbde005,_0x486f89;const _0x15e616=this[_0x3795cd(0x167)][_0x3795cd(0x3fc)](K);return(_0x486f89=_0x15e616==null?void 0x0:_0x15e616[_0x3795cd(0x22f)])!=null?_0x486f89:ms;}[_0xbde005(0x3e9)](){var _0x388832=_0xbde005;throw new Error(_0x388832(0x28a));}[_0xbde005(0x3f9)](){var _0x5c65db=_0xbde005;this[_0x5c65db(0x304)]!=null&&(clearTimeout(this[_0x5c65db(0x304)]),this[_0x5c65db(0x304)]=null);}[_0xbde005(0x19f)](_0x415ded){var _0x52fe61=_0xbde005;return this['_clearScheduledTask'](),this['_injector']['createInstance'](ue,this[_0x52fe61(0x2c0)],this[_0x52fe61(0x2df)],null,this[_0x52fe61(0x368)],this[_0x52fe61(0x3da)],_0x415ded);}};ae=Se([w(0x4,_0x51e0dc(_0x20c230)),w(0x5,_0x51e0dc(_0x38ef90)),w(0x6,_0x51e0dc(Pe)),w(0x7,_0x9e9972),w(0x8,_0x2d6439),w(0x9,_0x50f0f7),w(0xa,_0x54f44a),w(0xb,_0xecbae0),w(0xc,_0x15b98e),w(0xd,_0x581e15(X))],ae);let le=class extends ge{constructor(_0x4df9e9,_0x1c0482,_0x335599,_0x52592f,_0x40af7f,_0x3adf25,_0x779e5f,_0x177795,_0x45e3e7,_0xf0a097,_0x25fc55){var _0x51e293=_0xbde005;super(_0x4df9e9,_0x1c0482,_0x335599,[],_0x52592f,_0x779e5f,_0xf0a097,_0x3adf25,_0x25fc55),D(this,'status','awaiting'),D(this,'_resendTimeout',0x0),D(this,_0x51e293(0x29b),0x0),D(this,'_resendTimer'),D(this,_0x51e293(0x21b)),(this[_0x51e293(0x342)]=_0x40af7f,this[_0x51e293(0x11d)]=_0x177795,this[_0x51e293(0x2b6)]=_0x45e3e7);}[_0xbde005(0x176)](_0x4053db){var _0x273056=_0xbde005;this['_clearScheduledTask']();const _0x349229=this['_injector']['createInstance'](oe,this[_0x273056(0x2c0)],this[_0x273056(0x2df)],this['_awaitingChangeset'],[_0x4053db],this[_0x273056(0x3da)],this[_0x273056(0x2f4)]);return _0x349229[_0x273056(0x264)](),_0x349229;}[_0xbde005(0x17b)](_0x42e512){var _0x222f25=_0xbde005;if(this[_0x222f25(0x2c5)](_0x42e512))return this['_clearScheduledTask'](),this['_injector'][_0x222f25(0x340)](ee,this[_0x222f25(0x2c0)],this[_0x222f25(0x2df)],this[_0x222f25(0x175)],[],null,[_0x42e512],this['_handler']);try{const _0xba9497=this[_0x222f25(0x2b6)][_0x222f25(0x242)]([_0x42e512],[this['_awaitingChangeset']],!0x1);if(_0x269a06(_0xba9497)){const {c1Prime:_0x54a58,c2Prime:_0x3a416b}=_0xba9497;this[_0x222f25(0x2db)](_0x54a58[0x0]),_0x3a416b[0x0]['baseRev']=this[_0x222f25(0x3ec)](),this[_0x222f25(0x3f9)]();const _0x563807=this[_0x222f25(0x342)][_0x222f25(0x340)](le,this[_0x222f25(0x2c0)],this[_0x222f25(0x2df)],_0x3a416b[0x0],this[_0x222f25(0x3da)]);return _0x563807['_updateLocalCache'](),_0x563807;}return this[_0x222f25(0x19f)](!0x1);}catch(_0x40162c){return this['_logService'][_0x222f25(0x2e4)](_0x40162c),this['_onConflict'](!0x1);}}[_0xbde005(0x154)](_0x15a2ed){var _0x217539=_0xbde005;this['_clearScheduledTask']();const _0x96b5ff=this[_0x217539(0x3a7)][_0x217539(0x10a)](this[_0x217539(0x2c0)]);if(_0x15a2ed['revision']<_0x96b5ff-0x1)return this;if(this['_checkMissing'](_0x15a2ed))return this[_0x217539(0x342)][_0x217539(0x340)](ee,this['unitID'],this[_0x217539(0x2df)],null,[],this['_awaitingChangeset'],[],this[_0x217539(0x3da)]);this['_incrementRevisionNumber']();const _0x2ce460=this[_0x217539(0x342)][_0x217539(0x340)](be,this['unitID'],this[_0x217539(0x2df)],this[_0x217539(0x3da)]);return _0x2ce460['_updateLocalCache'](),_0x2ce460;}[_0xbde005(0x305)](_0x29c916){var _0x116562=_0xbde005;return this['_onConflict'](!!(_0x29c916!=null&&_0x29c916[_0x116562(0x2a3)]));}['onRemoteRetry'](_0x122eb2){var _0x4cb550=_0xbde005;return this[_0x4cb550(0x29b)]>Ti?this[_0x4cb550(0x22a)]():(this['_resendTimer']=Ii(this[_0x4cb550(0x1d6)],{'timeout':this[_0x4cb550(0x1d6)],'reqId':_0x122eb2[_0x4cb550(0x248)]}),this[_0x4cb550(0x21b)]=this[_0x4cb550(0x2f4)][_0x4cb550(0x395)](({reqId:_0x36eaa8,timeout:_0x3c9e96})=>{var _0x2ff499=_0x4cb550;this[_0x2ff499(0x117)](_0x36eaa8,_0x3c9e96);}),this);}['toggleOffline'](){var _0x1e791a=_0xbde005;return this[_0x1e791a(0x3f9)](),this[_0x1e791a(0x342)][_0x1e791a(0x340)](de,this[_0x1e791a(0x2c0)],this[_0x1e791a(0x2df)],this[_0x1e791a(0x175)],[],this[_0x1e791a(0x3da)]);}[_0xbde005(0x327)](){return this;}[_0xbde005(0x3e9)](){var _0x11df07=_0xbde005;this['_handler']['onSendChangeset'](this[_0x11df07(0x175)]);}[_0xbde005(0x19f)](_0x292a0e){var _0x415504=_0xbde005;return this[_0x415504(0x3f9)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x415504(0x2df)],this[_0x415504(0x175)],[],this['_handler'],_0x292a0e);}['_resendWithTimeout'](_0x42ae96,_0x2411c8){var _0x513c54=_0xbde005,_0x146dce;_0x42ae96===((_0x146dce=this[_0x513c54(0x175)])==null?void 0x0:_0x146dce[_0x513c54(0x248)])&&(this['resend'](),this[_0x513c54(0x1d6)]=_0x2411c8===0x0?0x3e8:Math[_0x513c54(0x3e5)](_0x2411c8*0x2,gi),this['_maxTotalRetryTimeout']+=this[_0x513c54(0x1d6)]);}[_0xbde005(0x3f9)](){var _0x3d7071=_0xbde005,_0x5c0c8c;(_0x5c0c8c=this[_0x3d7071(0x21b)])==null||_0x5c0c8c[_0x3d7071(0x35d)](),this[_0x3d7071(0x1d6)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};le=Se([w(0x4,_0x51e0dc(_0x20c230)),w(0x5,_0x51e0dc(_0x38ef90)),w(0x6,_0x2d6439),w(0x7,_0x9e9972),w(0x8,_0x54f44a),w(0x9,_0x15b98e),w(0xa,_0x581e15(X))],le);let oe=class extends ge{constructor(_0x4762e5,_0x28a524,_0x431ede,_0x47e7e4,_0x2f8ee3,_0x54578a,_0x22349b,_0x4748ee,_0x474aff,_0x38a9cf,_0x515e91,_0x176a87,_0x255bef){var _0x26e7d2=_0xbde005;super(_0x4762e5,_0x28a524,_0x431ede,_0x47e7e4,_0x2f8ee3,_0x474aff,_0x176a87,_0x4748ee,_0x255bef),D(this,_0x26e7d2(0x2ba),'awaiting_with_pending'),D(this,_0x26e7d2(0x1d6),0x0),D(this,_0x26e7d2(0x29b),0x0),D(this,'_resendTimer'),D(this,_0x26e7d2(0x21b)),(this[_0x26e7d2(0x342)]=_0x22349b,this[_0x26e7d2(0x11d)]=_0x38a9cf,this['_transformService']=_0x515e91,this[_0x26e7d2(0x3a5)]=_0x255bef,_0x54578a&&(this[_0x26e7d2(0x2f4)]=_0x54578a,this[_0x26e7d2(0x21b)]=this[_0x26e7d2(0x2f4)][_0x26e7d2(0x395)](({reqId:_0x3a1aea,timeout:_0x1cba96})=>{var _0x32eda6=_0x26e7d2;this[_0x32eda6(0x117)](_0x3a1aea,_0x1cba96);})));}[_0xbde005(0x176)](_0x30a817){var _0x50f68b=_0xbde005;return this[_0x50f68b(0x368)][_0x50f68b(0x38b)](_0x30a817),this;}[_0xbde005(0x17b)](_0x23f63d){var _0x4273f6=_0xbde005;if(this[_0x4273f6(0x2c5)](_0x23f63d))return this[_0x4273f6(0x3f9)](),this[_0x4273f6(0x342)][_0x4273f6(0x340)](ee,this['unitID'],this[_0x4273f6(0x2df)],this['_awaitingChangeset'],this[_0x4273f6(0x368)],null,[_0x23f63d],this['_handler']);try{const _0x20e12f=this['_transformService'][_0x4273f6(0x242)]([_0x23f63d],[this[_0x4273f6(0x175)]],!0x1);if(_0x269a06(_0x20e12f)){const {c1Prime:_0x298df4,c2Prime:_0x1f8112}=_0x20e12f,_0x5cbb6b=this[_0x4273f6(0x2b6)][_0x4273f6(0x280)](_0x298df4[0x0],this['_pendingMutations']);if(_0x30de82(_0x5cbb6b)){const {c1Prime:_0x190369,m2Prime:_0x4e2b45}=_0x5cbb6b;return this[_0x4273f6(0x2db)](_0x190369),_0x1f8112[0x0][_0x4273f6(0x1c7)]=this['_getCurrentRevision'](),this[_0x4273f6(0x3f9)](),this[_0x4273f6(0x342)][_0x4273f6(0x340)](oe,this['unitID'],this['type'],_0x1f8112[0x0],_0x4e2b45,this[_0x4273f6(0x3da)],void 0x0);}throw _0x5cbb6b[_0x4273f6(0x2e4)];}throw _0x20e12f[_0x4273f6(0x2e4)];}catch(_0x16cb01){return this[_0x4273f6(0x11d)][_0x4273f6(0x2e4)](_0x16cb01),this[_0x4273f6(0x19f)](!0x1);}}[_0xbde005(0x154)](_0x1aa196){var _0x1e79eb=_0xbde005;if(this[_0x1e79eb(0x3f9)](),this[_0x1e79eb(0x2c5)](_0x1aa196))return this['_injector'][_0x1e79eb(0x340)](ee,this['unitID'],this[_0x1e79eb(0x2df)],null,this[_0x1e79eb(0x368)],this[_0x1e79eb(0x175)],[],this[_0x1e79eb(0x3da)]);this[_0x1e79eb(0x2c4)]();const _0x53b51c=this[_0x1e79eb(0x342)][_0x1e79eb(0x340)](ae,this['unitID'],this[_0x1e79eb(0x2df)],this[_0x1e79eb(0x368)],this[_0x1e79eb(0x3da)]);return _0x53b51c['_schedule'](),_0x53b51c[_0x1e79eb(0x264)](),_0x53b51c;}[_0xbde005(0x305)](_0x4c051b){var _0x3aed7e=_0xbde005;return this[_0x3aed7e(0x19f)](!!(_0x4c051b!=null&&_0x4c051b['isPermissionRej']));}[_0xbde005(0x2af)](_0x1042cb){var _0x26454a=_0xbde005;return this[_0x26454a(0x29b)]>Ti?this[_0x26454a(0x22a)]():(this[_0x26454a(0x2f4)]=Ii(this[_0x26454a(0x1d6)],{'timeout':this[_0x26454a(0x1d6)],'reqId':_0x1042cb[_0x26454a(0x248)]}),this[_0x26454a(0x21b)]=this[_0x26454a(0x2f4)][_0x26454a(0x395)](({reqId:_0x57c088,timeout:_0x35b6c7})=>{this['_resendWithTimeout'](_0x57c088,_0x35b6c7);}),this);}[_0xbde005(0x22a)](){var _0x4f19ba=_0xbde005;return this[_0x4f19ba(0x3f9)](),this[_0x4f19ba(0x342)][_0x4f19ba(0x340)](de,this[_0x4f19ba(0x2c0)],this[_0x4f19ba(0x2df)],this[_0x4f19ba(0x175)],this[_0x4f19ba(0x368)],this[_0x4f19ba(0x3da)]);}['toggleOnline'](){return this;}[_0xbde005(0x3e9)](){var _0x3268fd=_0xbde005;this[_0x3268fd(0x3da)]['onSendChangeset'](this['_awaitingChangeset']);}[_0xbde005(0x19f)](_0x38160a){var _0x5dbbfc=_0xbde005;return this[_0x5dbbfc(0x3f9)](),this[_0x5dbbfc(0x342)][_0x5dbbfc(0x340)](ue,this[_0x5dbbfc(0x2c0)],this['type'],null,this[_0x5dbbfc(0x368)],this[_0x5dbbfc(0x3da)],_0x38160a);}[_0xbde005(0x117)](_0x5a7381,_0x3963e9){var _0x46142b=_0xbde005,_0x45522f;_0x5a7381===((_0x45522f=this[_0x46142b(0x175)])==null?void 0x0:_0x45522f['reqId'])&&(this[_0x46142b(0x3e9)](),this[_0x46142b(0x1d6)]=_0x3963e9===0x0?0x3e8:Math[_0x46142b(0x3e5)](_0x3963e9*0x2,gi),this[_0x46142b(0x29b)]+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x49ad3f=_0xbde005,_0x2bd7b9;(_0x2bd7b9=this[_0x49ad3f(0x21b)])==null||_0x2bd7b9['unsubscribe'](),this[_0x49ad3f(0x1d6)]=0x0,this[_0x49ad3f(0x29b)]=0x0;}};oe=Se([w(0x6,_0x51e0dc(_0x20c230)),w(0x7,_0x51e0dc(_0x38ef90)),w(0x8,_0x2d6439),w(0x9,_0x9e9972),w(0xa,_0x54f44a),w(0xb,_0x15b98e),w(0xc,_0x581e15(X))],oe);let ue=class extends ge{constructor(_0x21dfb5,_0x238c86,_0x37b394,_0x29512d,_0x2f681c,_0x2eca4f=!0x1,_0x42faa8,_0x3881fa,_0x16a91a,_0x54b2a6,_0xb636f4,_0x28cd7f,_0x402760){var _0x546e13=_0xbde005;super(_0x21dfb5,_0x238c86,_0x37b394,_0x29512d,_0x2f681c,_0x3881fa,_0x16a91a,_0x54b2a6,_0x402760),D(this,_0x546e13(0x2ba),_0x546e13(0x23e)),(this['_isPermissionRej']=_0x2eca4f,this[_0x546e13(0x228)]=_0x42faa8,this[_0x546e13(0x3b8)]=_0xb636f4,this[_0x546e13(0x3b0)]=_0x28cd7f,this['localCacheService']=_0x402760,this[_0x546e13(0x112)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0xbde005(0x17b)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0xbde005(0x2af)](){return this;}[_0xbde005(0x22a)](){return this;}[_0xbde005(0x327)](){return this;}[_0xbde005(0x3e9)](){var _0x27963a=_0xbde005;throw new Error(_0x27963a(0x390));}[_0xbde005(0x2c6)](){var _0x1ab01e=_0xbde005,_0x5d8b48;(_0x5d8b48=this['_localCacheService'])==null||_0x5d8b48[_0x1ab01e(0x35f)](this['unitID'],this['type'],null,[]);}[_0xbde005(0x112)](){var _0x4ed6ca=_0xbde005;this[_0x4ed6ca(0x374)]?this['_collaborationUIEventService'][_0x4ed6ca(0x1fb)]({'id':re['PERMISSION_DENIED']}):this[_0x4ed6ca(0x3b0)][_0x4ed6ca(0x1fb)]({'id':re[_0x4ed6ca(0x34a)]});}[_0xbde005(0x3f8)](){var _0x36740c=_0xbde005;this[_0x36740c(0x228)]['updatePermissionPoint'](new _0x5d55bb(this[_0x36740c(0x2c0)])['id'],!0x1);}};ue=Se([w(0x6,_0x51e0dc(_0x5dd3e7)),w(0x7,_0x2d6439),w(0x8,_0x15b98e),w(0x9,_0x51e0dc(_0x38ef90)),w(0xa,_0x51e0dc(_0x4a91ba)),w(0xb,_0x51e0dc(ve)),w(0xc,_0x581e15(X))],ue);let de=class extends ge{constructor(_0xa01310,_0x2a304b,_0x4fbf89,_0x1eb4c2,_0x5cfb31,_0x760417,_0x371722,_0x55302a,_0x245dbc,_0x2e88fe){var _0x37cf32=_0xbde005;super(_0xa01310,_0x2a304b,_0x4fbf89,_0x1eb4c2,_0x5cfb31,_0x55302a,_0x245dbc,_0x371722,_0x2e88fe),D(this,'status',_0x37cf32(0x240)),this[_0x37cf32(0x342)]=_0x760417;}['appendMutation'](_0x19ecb9){var _0x23b06d=_0xbde005;return this[_0x23b06d(0x368)][_0x23b06d(0x38b)](_0x19ecb9),this[_0x23b06d(0x264)](),this;}['onRemoteChangeset'](_0x5effae){var _0x50fb47=_0xbde005;throw new Error(_0x50fb47(0x10e));}['onRemoteAck'](){var _0x24a6d5=_0xbde005;throw new Error(_0x24a6d5(0x1a5));}[_0xbde005(0x305)](){var _0x2b0a67=_0xbde005;throw new Error(_0x2b0a67(0x34e));}[_0xbde005(0x2af)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x6498e5=_0xbde005;const {_injector:_0x241f85,_pendingMutations:_0x20e9b4,_awaitingChangeset:_0x5861ec,unitID:_0x4e271d,_handler:_0x42df05,type:_0x6ab4df}=this,_0x40a120=Oi(_0x241f85,_0x4e271d,_0x6ab4df,_0x5861ec,_0x20e9b4,_0x42df05);return _0x40a120 instanceof ae?_0x40a120[_0x6498e5(0x3a2)]():(_0x40a120 instanceof oe||_0x40a120 instanceof le)&&_0x40a120[_0x6498e5(0x3e9)](),_0x40a120;}['resend'](){var _0x221f7f=_0xbde005;throw new Error(_0x221f7f(0x394));}};de=Se([w(0x5,_0x51e0dc(_0x20c230)),w(0x6,_0x51e0dc(_0x38ef90)),w(0x7,_0x2d6439),w(0x8,_0x15b98e),w(0x9,_0x581e15(X))],de);let ee=class extends ge{constructor(_0x546851,_0x2af72c,_0x21c5cc,_0x280886,_0x2f2858,_0x4490e7,_0x2323ea,_0x190e00,_0x19963f,_0x2a8d74,_0x5e8650,_0xe4cb67,_0xd4d7cf,_0x14fea7){var _0x11a3c5=_0xbde005;super(_0x546851,_0x2af72c,_0x21c5cc,_0x280886,_0x2323ea,_0x5e8650,_0xe4cb67,_0x19963f,_0x14fea7),D(this,_0x11a3c5(0x2ba),_0x11a3c5(0x11c)),(this[_0x11a3c5(0x221)]=_0x2f2858,this['_queuedRemoteChangesets']=_0x4490e7,this['_injector']=_0x190e00,this['_logService']=_0x2a8d74,this['_transformService']=_0xd4d7cf,this[_0x11a3c5(0x3a5)]=_0x14fea7);}[_0xbde005(0x289)](_0x3ac518){var _0x2a78da=_0xbde005;try{const _0x553031=[..._0x3ac518,...this[_0x2a78da(0x141)]],_0x47cba0=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2a78da(0xfa)](_0x2fa7ef=>!!_0x2fa7ef);let _0x556a90,_0x49b731;if(_0x47cba0[_0x2a78da(0x372)]){const _0x5c9040=this[_0x2a78da(0x2b6)]['transformChangesets'](_0x553031,_0x47cba0,!0x1);if(!_0x269a06(_0x5c9040))throw _0x5c9040[_0x2a78da(0x2e4)];_0x556a90=_0x5c9040[_0x2a78da(0x329)],_0x49b731=_0x5c9040[_0x2a78da(0x2d8)];}else _0x556a90=_0x553031,_0x49b731=[];let _0x43949a=this[_0x2a78da(0x368)];_0x556a90['forEach'](_0x194877=>{var _0x35cc10=_0x2a78da;let _0x1d88ab;if(_0x43949a[_0x35cc10(0x372)]){const _0x52d59e=this['_transformService'][_0x35cc10(0x280)](_0x194877,_0x43949a);if(!_0x30de82(_0x52d59e))throw _0x52d59e['error'];_0x1d88ab=_0x52d59e[_0x35cc10(0x329)],_0x43949a=_0x52d59e[_0x35cc10(0x303)];}else _0x1d88ab=_0x194877;this['_executeRemoteChangeset'](_0x1d88ab);}),this[_0x2a78da(0x221)]&&this[_0x2a78da(0x2c4)](),this[_0x2a78da(0x175)]&&_0x49b731[_0x2a78da(0x372)]&&(_0x49b731[0x0]['baseRev']=this['_getCurrentRevision']());let _0x8905cc;if(this[_0x2a78da(0x175)]&&_0x43949a[_0x2a78da(0x372)]!==0x0)_0x8905cc=this[_0x2a78da(0x342)]['createInstance'](oe,this[_0x2a78da(0x2c0)],this[_0x2a78da(0x2df)],_0x49b731[0x0],_0x43949a,this[_0x2a78da(0x3da)],void 0x0);else{if(this[_0x2a78da(0x175)]&&_0x43949a[_0x2a78da(0x372)]===0x0)_0x49b731[0x0]['baseRev']=this['_getCurrentRevision'](),_0x8905cc=this[_0x2a78da(0x342)][_0x2a78da(0x340)](le,this['unitID'],this[_0x2a78da(0x2df)],_0x49b731[0x0],this[_0x2a78da(0x3da)]);else{if(_0x43949a[_0x2a78da(0x372)]!==0x0){const _0x82cdf7=this['_injector']['createInstance'](ae,this[_0x2a78da(0x2c0)],this['type'],_0x43949a,this[_0x2a78da(0x3da)]);_0x82cdf7[_0x2a78da(0x3a2)](),_0x8905cc=_0x82cdf7;}else _0x8905cc=this[_0x2a78da(0x342)]['createInstance'](be,this['unitID'],this[_0x2a78da(0x2df)],this[_0x2a78da(0x3da)]);}}return _0x8905cc['_updateLocalCache'](),_0x8905cc;}catch(_0x553275){return this[_0x2a78da(0x11d)][_0x2a78da(0x2e4)](_0x2a78da(0x38c),_0x2a78da(0x2e1),_0x553275),this[_0x2a78da(0x342)]['createInstance'](ue,this[_0x2a78da(0x2c0)],this['type'],this[_0x2a78da(0x175)],this[_0x2a78da(0x368)],this['_handler'],!0x1);}}[_0xbde005(0x3e9)](){var _0x4464ce=_0xbde005;throw new Error(_0x4464ce(0x235));}[_0xbde005(0x176)](_0x65efa9){var _0x41ab53=_0xbde005;return this[_0x41ab53(0x368)][_0x41ab53(0x38b)](_0x65efa9),this;}[_0xbde005(0x17b)](_0x5e77c6){return this['_queuedRemoteChangesets']['push'](_0x5e77c6),this;}[_0xbde005(0x154)](_0x55f2da){var _0x4e2fb2=_0xbde005;if(this['_awaitingChangeset'])return this[_0x4e2fb2(0x221)]=this['_awaitingChangeset'],this[_0x4e2fb2(0x175)]=null,this;throw new Error(_0x4e2fb2(0x20f));}[_0xbde005(0x305)](_0x255035){var _0x14cda7=_0xbde005;return this[_0x14cda7(0x19f)](!!(_0x255035!=null&&_0x255035[_0x14cda7(0x2a3)]));}[_0xbde005(0x2af)](){return this;}[_0xbde005(0x22a)](){var _0x5eb1ad=_0xbde005;return this['_injector'][_0x5eb1ad(0x340)](de,this[_0x5eb1ad(0x2c0)],this[_0x5eb1ad(0x2df)],this[_0x5eb1ad(0x175)],this[_0x5eb1ad(0x368)],this['_handler']);}[_0xbde005(0x327)](){return this;}[_0xbde005(0x19f)](_0x28939a){var _0x5220fc=_0xbde005;return this[_0x5220fc(0x342)][_0x5220fc(0x340)](ue,this['unitID'],this[_0x5220fc(0x2df)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x5220fc(0x3da)],_0x28939a);}};ee=Se([w(0x7,_0x51e0dc(_0x20c230)),w(0x8,_0x51e0dc(_0x38ef90)),w(0x9,_0x9e9972),w(0xa,_0x2d6439),w(0xb,_0x15b98e),w(0xc,_0x54f44a),w(0xd,_0x581e15(X))],ee);function Oi(_0x3e9811,_0x42c413,_0x31dfbe,_0x2e557a,_0x24c40a,_0x5625a1){var _0x5e3674=_0xbde005;return _0x2e557a&&_0x24c40a[_0x5e3674(0x372)]?_0x3e9811[_0x5e3674(0x340)](oe,_0x42c413,_0x31dfbe,_0x2e557a,_0x24c40a,_0x5625a1,void 0x0):_0x2e557a?_0x3e9811[_0x5e3674(0x340)](le,_0x42c413,_0x31dfbe,_0x2e557a,_0x5625a1):_0x24c40a[_0x5e3674(0x372)]?_0x3e9811[_0x5e3674(0x340)](ae,_0x42c413,_0x31dfbe,_0x24c40a,_0x5625a1):_0x3e9811[_0x5e3674(0x340)](be,_0x42c413,_0x31dfbe,_0x5625a1);}var js=Object[_0xbde005(0x2eb)],At=(_0x21e4de,_0x33de23,_0x16a0bd,_0xac3b24)=>{var _0x5af38d=_0xbde005;for(var _0x22d848=_0xac3b24>0x1?void 0x0:_0xac3b24?js(_0x33de23,_0x16a0bd):_0x33de23,_0x3691a3=_0x21e4de[_0x5af38d(0x372)]-0x1,_0x58ffb0;_0x3691a3>=0x0;_0x3691a3--)(_0x58ffb0=_0x21e4de[_0x3691a3])&&(_0x22d848=_0x58ffb0(_0x22d848)||_0x22d848);return _0x22d848;},$=(_0x47cff7,_0x20eb8c)=>(_0x501f2c,_0x4b1031)=>_0x20eb8c(_0x501f2c,_0x4b1031,_0x47cff7);let st=class extends _0x1e895e{constructor(_0x2fa77d,_0x110da7,_0x539948,_0x55ccd9,_0x41b52e,_0x5133cb,_0x372640,_0x1fd13b,_0x1d5b0d,_0x5e23a7,_0x498b50,_0x8fa452,_0xe097df,_0x52ce10){var _0x4a7c8d=_0xbde005;super(),D(this,_0x4a7c8d(0x199),new _0x28d880(null)),D(this,_0x4a7c8d(0x251),this[_0x4a7c8d(0x199)]['asObservable']()),D(this,'_state'),D(this,_0x4a7c8d(0x2b0),!0x1),D(this,'_changesetSessionId',''),D(this,'_changesetReqId',0x0),D(this,_0x4a7c8d(0x20d),this['state$'][_0x4a7c8d(0x2cb)](_0x16b2bc(_0x2ee953=>_0x2ee953?_0x2ee953[_0x4a7c8d(0x2ba)]:Si['OFFLINE']),_0x46d5eb(0x1))),D(this,_0x4a7c8d(0x254),!0x1),D(this,_0x4a7c8d(0x2b2),[]),(this['unitID']=_0x2fa77d,this['session']=_0x110da7,this['_type']=_0x539948,this[_0x4a7c8d(0x342)]=_0x55ccd9,this[_0x4a7c8d(0x383)]=_0x41b52e,this[_0x4a7c8d(0x3b8)]=_0x5133cb,this['_revisionService']=_0x372640,this[_0x4a7c8d(0x341)]=_0x1fd13b,this[_0x4a7c8d(0x291)]=_0x1d5b0d,this['_logService']=_0x5e23a7,this[_0x4a7c8d(0x24b)]=_0x498b50,this[_0x4a7c8d(0x228)]=_0x8fa452,this['_singleActiveUnitService']=_0xe097df,this[_0x4a7c8d(0x21e)]=_0x52ce10);}get[_0xbde005(0x387)](){return this['_state'];}async[_0xbde005(0xfe)](){var _0x397a64=_0xbde005;if(this[_0x397a64(0x387)])throw new Error(_0x397a64(0x217));await this[_0x397a64(0x2e8)]();}['pauseCollaboration'](){var _0x11273e=_0xbde005;return this[_0x11273e(0x2b0)]=!0x0,_0x3fe0b1(()=>{var _0x53b549=_0x11273e;this[_0x53b549(0x2b0)]=!0x1,this[_0x53b549(0x1a1)]();});}[_0xbde005(0x161)](_0xb42079){var _0x1c52a8=_0xbde005;this[_0x1c52a8(0x328)](_0xb42079);}['_updateState'](_0x240899){var _0x117c00=_0xbde005;this['_state']=_0x240899,this['_state$'][_0x117c00(0x3b6)](_0x240899);}async[_0xbde005(0x2e8)](){var _0x2e709e=_0xbde005,_0xab0fcb;this[_0x2e709e(0x193)](await this[_0x2e709e(0x128)]()),this[_0x2e709e(0x300)]&&((_0xab0fcb=this['_singleActiveUnitService'])==null||_0xab0fcb['editingUnit'](this[_0x2e709e(0x2c0)]),this[_0x2e709e(0x26b)](this[_0x2e709e(0x300)][_0x2e709e(0x30e)](this[_0x2e709e(0x2c0)])['subscribe'](_0x3015d1=>{var _0x46c86e=_0x2e709e;this['_logService'][_0x46c86e(0x187)](_0x46c86e(0x367),'editing\x20status\x20changed\x20to',_0x3015d1),_0x3015d1===mi[_0x46c86e(0x1ff)]?(this[_0x46c86e(0x341)][_0x46c86e(0x1fb)]({'id':re[_0x46c86e(0x275)]}),this[_0x46c86e(0x228)][_0x46c86e(0x107)](new _0x5d55bb(this[_0x46c86e(0x2c0)])['id'],!0x1),this['_permissionService'][_0x46c86e(0x3d7)](!0x1)):(this[_0x46c86e(0x228)]['updatePermissionPoint'](new _0x5d55bb(this[_0x46c86e(0x2c0)])['id'],!0x0),this[_0x46c86e(0x228)][_0x46c86e(0x3d7)](!0x0));})));let _0x415f47=!0x1;return this['disposeWithMe'](this[_0x2e709e(0x378)][_0x2e709e(0x201)]['subscribe'](_0x5d8458=>{var _0x934c22=_0x2e709e;_0x5d8458===me[_0x934c22(0x26a)]?this[_0x934c22(0x398)](_0x415f47):_0x5d8458===me[_0x934c22(0x1f2)]&&(_0x415f47=!0x0,this[_0x934c22(0x13f)]());})),this[_0x2e709e(0x26b)](this[_0x2e709e(0x378)]['event$']['subscribe'](_0x160f76=>{var _0x231741=_0x2e709e;try{switch(_0x160f76[_0x231741(0x278)]){case _0xad0318[_0x231741(0x37a)]:{this[_0x231741(0x29f)](_0x9d5605(_0x160f76['data']));break;}case _0xad0318[_0x231741(0x28e)]:{this[_0x231741(0x39d)](_0x160f76['data']);break;}case _0xad0318[_0x231741(0x2ce)]:{this[_0x231741(0x311)]();break;}case _0xad0318[_0x231741(0x2b5)]:{this['_onRemoteRetry'](_0x160f76['data']);break;}case _0xad0318[_0x231741(0x139)]:{this[_0x231741(0x349)](_0x160f76[_0x231741(0x336)]['changesets'][_0x231741(0x3c5)](_0x124c36=>_0x9d5605(_0x124c36)));break;}case _0xad0318[_0x231741(0x39a)]:{this[_0x231741(0x311)]({'isPermissionRej':!0x0});break;}case _0xad0318[_0x231741(0x20c)]:break;}}catch(_0x4b8fed){throw console['error'](_0x231741(0x3a4),_0x4b8fed),_0x4b8fed;}})),this[_0x2e709e(0x1ad)];}[_0xbde005(0x16b)](){var _0x39cc65=_0xbde005;this[_0x39cc65(0x254)]=!0x1;}[_0xbde005(0x1d9)](){var _0x551f7b=_0xbde005;if(this[_0x551f7b(0x254)])throw new Error(_0x551f7b(0x320));this[_0x551f7b(0x254)]=!0x0;}['_onLocalMutation'](_0x4f4da6){var _0x4ef81f=_0xbde005;this[_0x4ef81f(0x1d9)](),this[_0x4ef81f(0x193)](this[_0x4ef81f(0x1ad)][_0x4ef81f(0x176)](_0x4f4da6)),this[_0x4ef81f(0x16b)]();}[_0xbde005(0x29f)](_0x15cf16){var _0xbf1269=_0xbde005;if(!(_0x15cf16[_0xbf1269(0x2ee)]<=this[_0xbf1269(0x3a7)][_0xbf1269(0x10a)](this[_0xbf1269(0x2c0)]))){if(this['_collaborationPaused']){this[_0xbf1269(0x2b2)][_0xbf1269(0x38b)](_0x15cf16);return;}this[_0xbf1269(0x226)](_0x15cf16);}}['_exhaustRemoteChangesetQueue'](){var _0x10737f=_0xbde005;this[_0x10737f(0x2b2)][_0x10737f(0x231)](_0x9a9895=>this[_0x10737f(0x226)](_0x9a9895)),this[_0x10737f(0x2b2)]=[];}[_0xbde005(0x226)](_0x147e91){var _0x359b90=_0xbde005;const _0x552a4f=this['_compressMutationService']['interceptor'][_0x359b90(0x350)](this[_0x359b90(0x383)][_0x359b90(0x401)][_0x359b90(0x2f2)]()[_0x359b90(0x3d1)])(_0x147e91[_0x359b90(0x1fe)],null)||_0x147e91['mutations'],_0x162f1e={..._0x147e91,'mutations':_0x552a4f};this[_0x359b90(0x1d9)](),this[_0x359b90(0x193)](this[_0x359b90(0x1ad)][_0x359b90(0x17b)](_0x162f1e)),this['_unlockTransition']();}[_0xbde005(0x39d)](_0x2a711b){var _0x3ca7bb=_0xbde005;this[_0x3ca7bb(0x1d9)](),this['_updateState'](this[_0x3ca7bb(0x1ad)][_0x3ca7bb(0x154)](_0x2a711b)),this[_0x3ca7bb(0x16b)]();}[_0xbde005(0x311)](_0x387f9a){var _0x370db3=_0xbde005;this[_0x370db3(0x1d9)](),this[_0x370db3(0x193)](this[_0x370db3(0x1ad)][_0x370db3(0x305)](_0x387f9a)),this['_unlockTransition']();}[_0xbde005(0x168)](_0x47e4ab){var _0x5eb322=_0xbde005;this[_0x5eb322(0x1d9)](),this[_0x5eb322(0x193)](this['_state']['onRemoteRetry'](_0x47e4ab)),this['_unlockTransition']();}[_0xbde005(0x349)](_0x22516a){var _0x3bc445=_0xbde005;if(!(this[_0x3bc445(0x1ad)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1f06c2=_0x22516a[_0x3bc445(0x3c5)](_0x406398=>{var _0xda6a91=_0x3bc445;const _0x52beab=this[_0xda6a91(0x383)][_0xda6a91(0x401)][_0xda6a91(0x350)](this[_0xda6a91(0x383)][_0xda6a91(0x401)][_0xda6a91(0x2f2)]()['COMPRESS_MUTATION_APPLY'])(_0x406398[_0xda6a91(0x1fe)],null)||_0x406398[_0xda6a91(0x1fe)];return{..._0x406398,'mutations':_0x52beab};});this[_0x3bc445(0x1d9)](),this['_updateState'](this[_0x3bc445(0x1ad)][_0x3bc445(0x289)](_0x1f06c2)),this[_0x3bc445(0x16b)]();}[_0xbde005(0x13f)](){var _0x943f2d=_0xbde005;this[_0x943f2d(0x1d9)](),this[_0x943f2d(0x193)](this['_state'][_0x943f2d(0x22a)]()),this[_0x943f2d(0x16b)]();}[_0xbde005(0x398)](_0x2656fa=!0x1){var _0xc6d14b=_0xbde005;this[_0xc6d14b(0x1d9)](),this[_0xc6d14b(0x193)](this[_0xc6d14b(0x1ad)][_0xc6d14b(0x327)]()),this[_0xc6d14b(0x16b)]();const _0x2d1024=this[_0xc6d14b(0x1ad)];_0x2656fa&&_0x2d1024 instanceof be&&(this[_0xc6d14b(0x1d9)](),this[_0xc6d14b(0x193)](_0x2d1024[_0xc6d14b(0x1a6)]()),this[_0xc6d14b(0x16b)]());}async['_createInitialState'](){return new Promise(_0x2277d3=>{var _0x1d666b=_0x3d7d;this[_0x1d666b(0x378)]['sessionStatus$'][_0x1d666b(0x2cb)](_0x2a23c8(0x1))[_0x1d666b(0x395)](async _0x90ab41=>{var _0x45024f=_0x1d666b;_0x2277d3(await this[_0x45024f(0x287)](_0x90ab41===me['ONLINE']));});});}[_0xbde005(0x40d)](){var _0x323030=_0xbde005;const _0x92cd01=this[_0x323030(0x2c0)];return{'onStateChange':(_0x3714ea,_0x25aace)=>{var _0x1be765=_0x323030;if(_0x3714ea!==this['_state'])throw new Error(_0x1be765(0x25e)+_0x3714ea[_0x1be765(0x2ba)]+_0x1be765(0x129)+_0x25aace['status']+'\x0aCurrent:\x20'+this[_0x1be765(0x1ad)][_0x1be765(0x2ba)]);this['_updateState'](_0x25aace);},'onSendChangeset':_0x548a35=>{var _0x53fbaf=_0x323030;_0x548a35['sid']||(_0x548a35[_0x53fbaf(0x3f0)]=this[_0x53fbaf(0x16e)],_0x548a35['reqId']=++this['_changesetReqId']);const _0x2299ba={'eventID':_0xad0318[_0x53fbaf(0x380)],'data':{'unitID':_0x548a35['unitID'],'unitType':this[_0x53fbaf(0x212)],'changeset':_0x548a35,'memberID':this[_0x53fbaf(0x378)][_0x53fbaf(0x2b1)]()}};this[_0x53fbaf(0x378)][_0x53fbaf(0x29d)](_0x2299ba,this[_0x53fbaf(0x2c0)]);},'onMissingChangesets':({from:_0x1ca44c,to:_0x490783})=>{var _0x260921=_0x323030;this['_logService'][_0x260921(0x187)](_0x260921(0x367),_0x260921(0x1e6)+_0x1ca44c+'\x20to\x20'+_0x490783);const _0x377340={'eventID':_0xad0318[_0x260921(0x12c)],'data':{'unitID':_0x92cd01,'unitType':this[_0x260921(0x212)],'from':_0x1ca44c,'to':_0x490783}};this[_0x260921(0x378)]['send'](_0x377340,this[_0x260921(0x2c0)]);}};}async[_0xbde005(0x287)](_0x31c5df){var _0x9a9646=_0xbde005,_0x53ddc6,_0x2c10da,_0x1fe7fc;const _0x58f03c=await((_0x53ddc6=this['_localCacheService'])==null?void 0x0:_0x53ddc6['loadOfflineData'](this[_0x9a9646(0x2c0)])),_0x336fcd=(_0x2c10da=_0x58f03c==null?void 0x0:_0x58f03c[_0x9a9646(0x1fe)])!=null?_0x2c10da:[],_0x5e0d03=(_0x1fe7fc=_0x58f03c==null?void 0x0:_0x58f03c[_0x9a9646(0x10c)])!=null?_0x1fe7fc:null,_0x3e10e5=!!(_0x5e0d03!=null&&_0x5e0d03[_0x9a9646(0x3f0)])&&!!(_0x5e0d03!=null&&_0x5e0d03['reqId']);this[_0x9a9646(0x16e)]=_0x3e10e5?_0x5e0d03['sid']:_0x26f97b(),this[_0x9a9646(0x30d)]=_0x3e10e5?_0x5e0d03[_0x9a9646(0x248)]:0x0;const _0x5dfff5=this[_0x9a9646(0x2c0)];try{this['_replayCachedMutations'](_0x5e0d03,_0x336fcd);}catch(_0x4dca29){this['_logService']['error'](_0x4dca29);}const _0x540ca2=this[_0x9a9646(0x40d)]();if(_0x31c5df){const _0x3c181d=Oi(this[_0x9a9646(0x342)],_0x5dfff5,this[_0x9a9646(0x212)],_0x5e0d03,_0x336fcd,_0x540ca2);return _0x3c181d instanceof ae?_0x3c181d[_0x9a9646(0x3a2)]():(_0x3c181d instanceof oe||_0x3c181d instanceof le)&&_0x3c181d[_0x9a9646(0x3e9)](),_0x3c181d;}return this[_0x9a9646(0x342)]['createInstance'](de,_0x5dfff5,this['_type'],_0x5e0d03,_0x336fcd,_0x540ca2);}[_0xbde005(0x348)](_0x1057c2,_0x5e2db7){var _0x2e7b0b=_0xbde005,_0x459f82,_0x13e43e;const _0x1b5ba0=this[_0x2e7b0b(0x383)][_0x2e7b0b(0x401)]['fetchThroughInterceptors'](this[_0x2e7b0b(0x383)][_0x2e7b0b(0x401)][_0x2e7b0b(0x2f2)]()[_0x2e7b0b(0x3d1)]);(_0x459f82=_0x1b5ba0((_0x1057c2==null?void 0x0:_0x1057c2[_0x2e7b0b(0x1fe)])||[],null))==null||_0x459f82[_0x2e7b0b(0x231)](_0x28ce7b=>this['_commandService'][_0x2e7b0b(0x18b)](_0x28ce7b['id'],_0x28ce7b[_0x2e7b0b(0x233)])),(_0x13e43e=_0x1b5ba0(_0x5e2db7||[],null))==null||_0x13e43e[_0x2e7b0b(0x231)](_0x1bd927=>this[_0x2e7b0b(0x24b)][_0x2e7b0b(0x18b)](_0x1bd927['id'],_0x1bd927[_0x2e7b0b(0x233)]));}};st=At([$(0x3,_0x51e0dc(_0x20c230)),$(0x4,_0x51e0dc(_0x218caf)),$(0x5,_0x51e0dc(_0x4a91ba)),$(0x6,_0x51e0dc(_0x38ef90)),$(0x7,_0x51e0dc(ve)),$(0x8,_0xecbae0),$(0x9,_0x9e9972),$(0xa,_0x2d6439),$(0xb,_0x5dd3e7),$(0xc,_0x581e15(_t)),$(0xd,_0x581e15(X))],st);let It=class extends st{constructor(_0x1db2f1,_0x5adbf2,_0x5802d4,_0x225217,_0x5ecc81,_0x77e3d4,_0x2f91e8,_0x5ed885,_0x275516,_0x2f0c74,_0x5523f1,_0x436d9d,_0x3bb48a,_0x1bf309){var _0x22b93e=_0xbde005;super(_0x1db2f1,_0x5802d4,_0x5adbf2,_0x225217,_0x5ecc81,_0x77e3d4,_0x2f91e8,_0x5ed885,_0x275516,_0x2f0c74,_0x5523f1,_0x436d9d,_0x3bb48a,_0x1bf309),D(this,_0x22b93e(0x3a9),null),(this[_0x22b93e(0x2c0)]=_0x1db2f1,this[_0x22b93e(0x2df)]=_0x5adbf2);}[_0xbde005(0x1e8)](_0xef0e70){var _0x4822f1=_0xbde005;this[_0x4822f1(0x3a9)]=_0xef0e70;}[_0xbde005(0x23a)](){var _0x4eda62=_0xbde005;this[_0x4eda62(0x3a9)]=null,super[_0x4eda62(0x23a)]();}[_0xbde005(0x40d)](){var _0x5315a7=_0xbde005;const _0x3439cc=super['_createHandler']();return _0x3439cc[_0x5315a7(0x13b)]=_0x4a718c=>{var _0x21e103=_0x5315a7,_0x1ea61e,_0x13841e;return(_0x13841e=(_0x1ea61e=this[_0x21e103(0x3a9)])==null?void 0x0:_0x1ea61e['onTransformIME'])==null?void 0x0:_0x13841e['call'](_0x1ea61e,_0x4a718c);},_0x3439cc[_0x5315a7(0x3e6)]=_0x427257=>{var _0xf3c7ec=_0x5315a7,_0x1ecbe1,_0xd426cb;return(_0xd426cb=(_0x1ecbe1=this[_0xf3c7ec(0x3a9)])==null?void 0x0:_0x1ecbe1[_0xf3c7ec(0x3e6)])==null?void 0x0:_0xd426cb[_0xf3c7ec(0x122)](_0x1ecbe1,_0x427257);},_0x3439cc['onTransformSelections']=_0x2f5726=>{var _0x4711c8=_0x5315a7,_0xbc0859,_0x7c9dec;return(_0x7c9dec=(_0xbc0859=this[_0x4711c8(0x3a9)])==null?void 0x0:_0xbc0859[_0x4711c8(0x24c)])==null?void 0x0:_0x7c9dec[_0x4711c8(0x122)](_0xbc0859,_0x2f5726);},_0x3439cc[_0x5315a7(0x1a0)]=_0xc358c6=>{var _0x3e4630=_0x5315a7,_0x47eca8,_0x12ea90;return(_0x12ea90=(_0x47eca8=this['_handlerCallback'])==null?void 0x0:_0x47eca8[_0x3e4630(0x1a0)])==null?void 0x0:_0x12ea90[_0x3e4630(0x122)](_0x47eca8,_0xc358c6);},_0x3439cc[_0x5315a7(0x230)]=_0x3452a3=>{var _0x45204a=_0x5315a7,_0x185300,_0x2b8d81,_0x496e3c;if(!((_0x185300=this['_handlerCallback'])!=null&&_0x185300[_0x45204a(0x230)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x496e3c=(_0x2b8d81=this[_0x45204a(0x3a9)])==null?void 0x0:_0x2b8d81[_0x45204a(0x230)])==null?void 0x0:_0x496e3c[_0x45204a(0x122)](_0x2b8d81,_0x3452a3);},_0x3439cc[_0x5315a7(0x29a)]=_0x2a199a=>{var _0x28e8ff=_0x5315a7,_0x30134c,_0xffb5ee,_0x172375;if(!((_0x30134c=this[_0x28e8ff(0x3a9)])!=null&&_0x30134c[_0x28e8ff(0x29a)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x172375=(_0xffb5ee=this[_0x28e8ff(0x3a9)])==null?void 0x0:_0xffb5ee[_0x28e8ff(0x29a)])==null?void 0x0:_0x172375[_0x28e8ff(0x122)](_0xffb5ee,_0x2a199a);},_0x3439cc;}async['_init'](){var _0x2a628c=_0xbde005;const _0x4b5731=await super[_0x2a628c(0x2e8)]();return this['disposeWithMe'](this['_commandService'][_0x2a628c(0x227)]((_0x53ccc5,_0x59c9a4)=>{var _0xa418da=_0x2a628c;if(_0x53ccc5[_0xa418da(0x2df)]!==_0x348d77['MUTATION']||_0x59c9a4!=null&&_0x59c9a4['fromCollab']||_0x59c9a4!=null&&_0x59c9a4[_0xa418da(0x1a9)]||_0x53ccc5['id']===_0x15e2ec['id'])return;const _0x3884f5=_0x53ccc5[_0xa418da(0x233)];if((_0x3884f5==null?void 0x0:_0x3884f5[_0xa418da(0x28c)])!==this[_0xa418da(0x2c0)])return;const _0x479e2a=_0x53ccc5,_0x2ee4f4=this[_0xa418da(0x383)][_0xa418da(0x401)][_0xa418da(0x350)](this['_compressMutationService'][_0xa418da(0x401)][_0xa418da(0x2f2)]()[_0xa418da(0xf1)])([_0x479e2a],this['_univerInstanceService'])||[_0x479e2a];this[_0xa418da(0x328)](_0x2ee4f4[0x0]);})),_0x4b5731;}};It=At([$(0x3,_0x51e0dc(_0x20c230)),$(0x4,_0x51e0dc(_0x218caf)),$(0x5,_0x51e0dc(_0x4a91ba)),$(0x6,_0x51e0dc(_0x38ef90)),$(0x7,_0x51e0dc(ve)),$(0x8,_0xecbae0),$(0x9,_0x9e9972),$(0xa,_0x2d6439),$(0xb,_0x5dd3e7),$(0xc,_0x581e15(_t)),$(0xd,_0x581e15(X))],It);let St=class extends st{constructor(_0x2026f7,_0x535480,_0x53ff4e,_0x54e833,_0x4c4d99,_0x5d0fa5,_0x5ea1db,_0x2ec1fe,_0x53c695,_0x15eb1b,_0x57e55d,_0x421979,_0x2d2164,_0x24f99f,_0x2766da){var _0x28f290=_0xbde005;super(_0x2026f7,_0x53ff4e,_0x535480,_0x54e833,_0x4c4d99,_0x5d0fa5,_0x5ea1db,_0x53c695,_0x15eb1b,_0x57e55d,_0x421979,_0x2d2164,_0x24f99f,_0x2766da),this[_0x28f290(0x2c0)]=_0x2026f7,this[_0x28f290(0x2df)]=_0x535480,this[_0x28f290(0x310)]=_0x2ec1fe;}[_0xbde005(0x40d)](){var _0x52d13b=_0xbde005;const _0x2b1b33=super[_0x52d13b(0x40d)]();return _0x2b1b33['onTransformSelections']=_0x45c077=>this[_0x52d13b(0x310)][_0x52d13b(0x288)](_0x45c077),_0x2b1b33;}async[_0xbde005(0x2e8)](){var _0x42c6aa=_0xbde005;const _0x4f5cfa=await super[_0x42c6aa(0x2e8)]();return this[_0x42c6aa(0x26b)](this[_0x42c6aa(0x24b)][_0x42c6aa(0x227)]((_0x534971,_0x4426d9)=>{var _0x377b05=_0x42c6aa;if(_0x534971[_0x377b05(0x2df)]!==_0x348d77[_0x377b05(0x28d)]||_0x4426d9!=null&&_0x4426d9[_0x377b05(0x33c)]||_0x4426d9!=null&&_0x4426d9[_0x377b05(0x1a9)])return;const _0xc0c98b=_0x534971[_0x377b05(0x233)];if((_0xc0c98b==null?void 0x0:_0xc0c98b[_0x377b05(0x28c)])!==this[_0x377b05(0x2c0)])return;const _0x1492f7=_0x534971,_0x2de4f6=this['_compressMutationService'][_0x377b05(0x401)][_0x377b05(0x350)](this[_0x377b05(0x383)][_0x377b05(0x401)][_0x377b05(0x2f2)]()[_0x377b05(0xf1)])([_0x1492f7],this[_0x377b05(0x291)])||[_0x1492f7];this[_0x377b05(0x328)](_0x2de4f6[0x0]);})),_0x4f5cfa;}};St=At([$(0x3,_0x51e0dc(_0x20c230)),$(0x4,_0x51e0dc(_0x218caf)),$(0x5,_0x51e0dc(_0x4a91ba)),$(0x6,_0x51e0dc(_0x38ef90)),$(0x7,_0x51e0dc(it)),$(0x8,_0x51e0dc(ve)),$(0x9,_0xecbae0),$(0xa,_0x9e9972),$(0xb,_0x2d6439),$(0xc,_0x5dd3e7),$(0xd,_0x581e15(_t)),$(0xe,_0x581e15(X))],St);const Vs=_0x1814eb(_0xbde005(0x2ac));function Gs(_0x35ebc1){var _0xc890ed=_0xbde005,_0x43434e,_0x26570d,_0xd9feff,_0x51c5ec,_0x5abb56;const _0x3a30a2=_0x35ebc1['data'],_0x1768bf=JSON[_0xc890ed(0x371)](_0x3a30a2);switch(_0x1768bf[_0xc890ed(0x1f8)]){case j[_0xc890ed(0x146)]:case j[_0xc890ed(0x224)]:{const _0x259077=_0x1768bf[_0xc890ed(0x302)];return{..._0x1768bf,'data':_0x259077,'cmd':_0x1768bf[_0xc890ed(0x1f8)]};}case j[_0xc890ed(0x3bd)]:{const _0x171e1d=_0x1768bf[_0xc890ed(0x21c)];return{..._0x1768bf,'data':_0x171e1d,'cmd':_0x1768bf[_0xc890ed(0x1f8)]};}case j[_0xc890ed(0x114)]:{const _0x2d83dc=_0x1768bf[_0xc890ed(0x14e)];switch(_0x2d83dc['eventID']){case _0xad0318[_0xc890ed(0x39a)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0x43434e=_0x2d83dc['permissionRejEvent'])==null?void 0x0:_0x43434e['cs']},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x28e)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0x26570d=_0x2d83dc[_0xc890ed(0x3dd)])==null?void 0x0:_0x26570d['cs']},'cmd':_0x1768bf['cmd']};case _0xad0318[_0xc890ed(0x37a)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0xd9feff=_0x2d83dc[_0xc890ed(0x252)])==null?void 0x0:_0xd9feff['cs']},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x2ce)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0x51c5ec=_0x2d83dc[_0xc890ed(0x173)])==null?void 0x0:_0x51c5ec['cs']},'cmd':_0x1768bf['cmd']};case _0xad0318[_0xc890ed(0x2b5)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0x5abb56=_0x2d83dc[_0xc890ed(0x27b)])==null?void 0x0:_0x5abb56['cs']},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318['UPDATE_CURSOR']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x316)]},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x347)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x263)]},'cmd':_0x1768bf['cmd']};case _0xad0318['USERS_LEAVE']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x143)]},'cmd':_0x1768bf['cmd']};case _0xad0318['LIVESHARE_NEW_HOST']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc['liveShareNewHost']},'cmd':_0x1768bf['cmd']};case _0xad0318['LIVESHARE_FETCH_OPERATIONS']:case _0xad0318['LIVESHARE_OPERATION']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x344)]},'cmd':_0x1768bf['cmd']};case _0xad0318['LIVESHARE_TERMINATE']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x1e5)]},'cmd':_0x1768bf['cmd']};case _0xad0318['MSG_FOR_ERROR']:return{..._0x1768bf,'data':_0x2d83dc,'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x3d0)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x381)]},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318['UPDATE_PERMISSION_OBJ']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x26c)]},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x16f)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc['shouldCloseConn']},'cmd':_0x1768bf['cmd']};case _0xad0318[_0xc890ed(0x20c)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x147)]},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};default:return _0x1768bf;}}default:return _0x1768bf;}}function Ws(_0x5dc5b9){var _0xd03f13=_0xbde005;switch(_0x5dc5b9[_0xd03f13(0x1f8)]){case j['HEARTBEAT']:case j[_0xd03f13(0x224)]:return JSON[_0xd03f13(0x40c)]({'cmd':_0x5dc5b9['cmd'],'routeKey':_0x5dc5b9['routeKey']});case j[_0xd03f13(0x30b)]:{let _0x3ee10c;switch(_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x278)]){case _0xad0318[_0xd03f13(0x213)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x213)],'updateCursorEvent':_0x5dc5b9['data'][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x25b)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x25b)],'leaveEvent':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x347)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x347)],'joinEvent':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318['LIVESHARE_NEW_HOST']:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x1ea)],'liveShareNewHost':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0xfb)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0xfb)],'liveShareOperation':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x26d)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x26d)],'liveShareTerminate':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x262)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x262)],'liveShareRequestHost':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x216)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x216)]};break;}default:_0x3ee10c={'eventID':_0x5dc5b9[_0xd03f13(0x336)]['eventID']};}return JSON[_0xd03f13(0x40c)]({'cmd':_0x5dc5b9[_0xd03f13(0x1f8)],'routeKey':_0x5dc5b9[_0xd03f13(0x190)],'collaMsg':_0x3ee10c});}case j[_0xd03f13(0x3bd)]:return JSON[_0xd03f13(0x40c)]({'cmd':_0x5dc5b9['cmd'],'routeKey':_0x5dc5b9[_0xd03f13(0x190)],'joinReq':_0x5dc5b9[_0xd03f13(0x336)]});case j[_0xd03f13(0x35a)]:return JSON[_0xd03f13(0x40c)]({'cmd':_0x5dc5b9[_0xd03f13(0x1f8)],'routeKey':_0x5dc5b9[_0xd03f13(0x190)],'leaveReq':_0x5dc5b9[_0xd03f13(0x336)]});default:throw new Error(_0xd03f13(0x2a8));}}var Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x1ef660,_0x6dc19c,_0x2f803e,_0x24391b)=>{var _0x3cb3b0=_0xbde005;for(var _0x31d740=_0x24391b>0x1?void 0x0:_0x24391b?Ys(_0x6dc19c,_0x2f803e):_0x6dc19c,_0x3bb01d=_0x1ef660[_0x3cb3b0(0x372)]-0x1,_0x2873a4;_0x3bb01d>=0x0;_0x3bb01d--)(_0x2873a4=_0x1ef660[_0x3bb01d])&&(_0x31d740=_0x2873a4(_0x31d740)||_0x31d740);return _0x31d740;},ye=(_0x5b4170,_0x15f00f)=>(_0x3b9a1d,_0x1a3579)=>_0x15f00f(_0x3b9a1d,_0x1a3579,_0x5b4170);const Ri=_0x1814eb(_0xbde005(0x333));function qs(_0x5456e2,_0x44a8f8,_0x22da49){var _0x57f32b=_0xbde005;return _0x5456e2+'/'+_0x44a8f8+'/unit/'+_0x22da49+_0x57f32b(0x2de);}let Gt=class extends _0x20bf78{constructor(_0x484c1c,_0x49f2de,_0xf3feb3,_0x17ee26,_0x30564c){var _0x166c8a=_0xbde005;super(),this[_0x166c8a(0x342)]=_0x484c1c,this[_0x166c8a(0x163)]=_0x49f2de,this[_0x166c8a(0x167)]=_0xf3feb3,this[_0x166c8a(0x11d)]=_0x17ee26,this[_0x166c8a(0xf8)]=_0x30564c;}[_0xbde005(0x2b9)](_0x26a0d8){var _0x3fc3d9=_0xbde005;const _0x5fddf9=this[_0x3fc3d9(0x342)][_0x3fc3d9(0x164)](_0x2bbf30);if(!_0x5fddf9)throw new Error(_0x3fc3d9(0x2cf));const _0xf83878=_0x5fddf9[_0x3fc3d9(0x3be)](_0x26a0d8);if(!_0xf83878)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x27aa72=new _0x4cc873(),_0x457b9a=new _0x5a35f4();_0x27aa72[_0x3fc3d9(0x325)](_0xf83878[_0x3fc3d9(0x3f7)]['subscribe'](_0x2c9226=>_0x457b9a[_0x3fc3d9(0x3b6)](_0x2c9226))),_0x27aa72['add'](_0x3fe0b1(()=>_0x457b9a[_0x3fc3d9(0x186)]()));const _0xa634f7=new _0x5a35f4();_0x27aa72[_0x3fc3d9(0x325)](_0xf83878[_0x3fc3d9(0x111)][_0x3fc3d9(0x395)](_0x4304b9=>_0xa634f7[_0x3fc3d9(0x3b6)](_0x4304b9))),_0x27aa72['add'](_0x3fe0b1(()=>_0xa634f7['complete']()));const _0x5503ba=new _0x5a35f4();_0x27aa72[_0x3fc3d9(0x325)](_0xf83878[_0x3fc3d9(0x1e7)][_0x3fc3d9(0x395)](_0x3acfff=>{const _0x5e1989=Gs(_0x3acfff);_0x5503ba['next'](_0x5e1989);})),_0x27aa72[_0x3fc3d9(0x325)](_0x3fe0b1(()=>_0x5503ba['complete']()));let _0x300f47;const _0x5d530c=()=>{var _0x10364a=_0x3fc3d9;_0xa634f7['next'](new Event(_0x10364a(0x40a))),_0x457b9a[_0x10364a(0x3b6)](new Event('connection\x20error')),_0x300f47[_0x10364a(0x405)]();};return _0x300f47={'memberID':'','close$':_0x457b9a[_0x3fc3d9(0x267)](),'error$':_0xa634f7['asObservable'](),'open$':_0xf83878[_0x3fc3d9(0x354)],'message$':_0x5503ba['asObservable'](),'send':_0x5b862c=>{var _0x449def=_0x3fc3d9;if(_0x5b862c[_0x449def(0x1f8)]===j[_0x449def(0x30b)]){if(_0x5b862c[_0x449def(0x336)][_0x449def(0x278)]===_0xad0318[_0x449def(0x380)]){this[_0x449def(0x172)](_0x300f47,_0x5b862c['data'])[_0x449def(0x11b)](_0x2d0573=>{var _0x1c3b5f=_0x449def;this[_0x1c3b5f(0x11d)][_0x1c3b5f(0x2e4)](_0x2d0573),_0x5d530c();});return;}if(_0x5b862c[_0x449def(0x336)][_0x449def(0x278)]===_0xad0318[_0x449def(0x12c)]){const _0x2bcd18=_0x5b862c[_0x449def(0x336)];this['_fetchMissChangesets'](_0x2bcd18)['then'](_0x56ac9c=>{var _0x4e8836=_0x449def;_0x5503ba[_0x4e8836(0x3b6)]({'cmd':j[_0x4e8836(0x114)],'code':Ee['OK'],'routeKey':_0x2bcd18['data']['unitID'],'routeType':'','data':{'eventID':_0xad0318[_0x4e8836(0x139)],'data':{'changesets':_0x56ac9c}}});})[_0x449def(0x11b)](_0x1215a0=>{var _0x58a0a1=_0x449def;this[_0x58a0a1(0x11d)][_0x58a0a1(0x2e4)](_0x1215a0),_0x5d530c();});return;}}_0xf83878[_0x449def(0x29d)](Ws(_0x5b862c));},'close':()=>{var _0x2ad0fa=_0x3fc3d9;_0xf83878[_0x2ad0fa(0x405)](),_0x27aa72[_0x2ad0fa(0x23a)]();}},_0x300f47;}async['_submitChangeset'](_0x60d65d,_0x3f8d76){var _0x517fd8=_0xbde005,_0x9b0218;const {unitType:_0x5b23da,unitID:_0x12d323,changeset:_0x156004}=_0x3f8d76[_0x517fd8(0x336)],_0x222e79={'unitID':_0x12d323,'memberID':_0x60d65d[_0x517fd8(0x3f4)],'type':_0x5b23da,'changeset':_0x362080(_0x156004)},_0x36b433=this['_configService'][_0x517fd8(0x3fc)](K),_0x254482=qs((_0x9b0218=_0x36b433==null?void 0x0:_0x36b433[_0x517fd8(0x260)])!=null?_0x9b0218:Ns,_0x5b23da,_0x12d323);try{await this['_httpService'][_0x517fd8(0x1d5)](_0x254482,{'body':_0x222e79});}catch(_0x8456f){throw this[_0x517fd8(0x11d)][_0x517fd8(0x2e4)](_0x517fd8(0x334),'submit\x20changeset\x20error!'),_0x8456f;}}async['_fetchMissChangesets'](_0x46182b){var _0x269d78=_0xbde005;const {unitID:_0x4ce7b2,from:_0x5dd671,to:_0x3e7d13,unitType:_0x4a4310}=_0x46182b[_0x269d78(0x336)];return(await this['_snapshotServerService'][_0x269d78(0x2ef)]({'metadata':void 0x0},{'unitID':_0x4ce7b2,'type':_0x4a4310,'from':_0x5dd671,'to':_0x3e7d13}))[_0x269d78(0x2dc)][_0x269d78(0x3c5)](_0x2bb253=>((_0x2bb253[_0x269d78(0x1fe)]===null||_0x2bb253[_0x269d78(0x1fe)]===void 0x0)&&(_0x2bb253[_0x269d78(0x1fe)]=[]),_0x2bb253));}};Gt=Ks([ye(0x0,_0x51e0dc(_0x20c230)),ye(0x1,_0x51e0dc(_0x4583bc)),ye(0x2,_0x50f0f7),ye(0x3,_0x9e9972),ye(0x4,_0x553f45)],Gt);var zs=Object[_0xbde005(0x2eb)],Xs=(_0x21b988,_0x5d9622,_0xd52991,_0x3c5811)=>{var _0x49eef4=_0xbde005;for(var _0xe86287=_0x3c5811>0x1?void 0x0:_0x3c5811?zs(_0x5d9622,_0xd52991):_0x5d9622,_0x5f53be=_0x21b988[_0x49eef4(0x372)]-0x1,_0x44fd74;_0x5f53be>=0x0;_0x5f53be--)(_0x44fd74=_0x21b988[_0x5f53be])&&(_0xe86287=_0x44fd74(_0xe86287)||_0xe86287);return _0xe86287;},Re=(_0x5753bd,_0x39ab82)=>(_0x1b82f4,_0xbb1587)=>_0x39ab82(_0x1b82f4,_0xbb1587,_0x5753bd);let we=class extends _0x20bf78{constructor(_0x144eec,_0xd04c38,_0x573665,_0x14ff1a,_0x6e0bdd,_0x3f4da3){var _0x2202d1=_0xbde005;super(),D(this,_0x2202d1(0x286),new _0x28d880(void 0x0)),D(this,'socket$',this[_0x2202d1(0x286)][_0x2202d1(0x267)]()),D(this,_0x2202d1(0x38d),null),D(this,_0x2202d1(0x3b5),new Map()),D(this,_0x2202d1(0x307),new _0x28d880(me['IDLE'])),D(this,_0x2202d1(0x20d),this[_0x2202d1(0x307)][_0x2202d1(0x267)]()),D(this,'_socketReady',!0x1),D(this,_0x2202d1(0x346)),D(this,_0x2202d1(0x318),0x0),D(this,_0x2202d1(0x313)),D(this,_0x2202d1(0x2f9)),(this[_0x2202d1(0x342)]=_0x144eec,this[_0x2202d1(0x11d)]=_0xd04c38,this[_0x2202d1(0x167)]=_0x573665,this[_0x2202d1(0x2d9)]=_0x14ff1a,this[_0x2202d1(0x3b0)]=_0x6e0bdd,this[_0x2202d1(0x26e)]=_0x3f4da3,this['_listenToNetworkCondition']());}get['_socket'](){var _0xe3a662=_0xbde005;return this[_0xe3a662(0x286)][_0xe3a662(0x2ec)]();}[_0xbde005(0x100)](){var _0x5e1806=_0xbde005;this[_0x5e1806(0x26e)]&&this[_0x5e1806(0x26b)](this[_0x5e1806(0x26e)][_0x5e1806(0x153)][_0x5e1806(0x395)](_0x1c29ac=>{var _0x15bd47=_0x5e1806;_0x1c29ac&&!this[_0x15bd47(0x20b)]&&this['reconnect'](),_0x1c29ac||this[_0x15bd47(0x297)]();}));}[_0xbde005(0x23a)](){var _0xc2c91b=_0xbde005;super[_0xc2c91b(0x23a)](),this[_0xc2c91b(0x25a)](),this[_0xc2c91b(0x298)](),this[_0xc2c91b(0x15d)](),this[_0xc2c91b(0x3b5)][_0xc2c91b(0x231)](_0x265524=>_0x265524[_0xc2c91b(0x23a)]()),this['_sessions'][_0xc2c91b(0x1d8)](),this[_0xc2c91b(0x307)][_0xc2c91b(0x186)]();}async[_0xbde005(0x16a)](_0x1c5fa9){var _0x34434b=_0xbde005;if(this['_sessions'][_0x34434b(0x148)](_0x1c5fa9))return this[_0x34434b(0x3b5)]['get'](_0x1c5fa9);this['_tryEnsureSocket']();const _0x4fd422=this[_0x34434b(0x342)][_0x34434b(0x340)](mt,_0x1c5fa9,this[_0x34434b(0x286)][_0x34434b(0x267)]());return this[_0x34434b(0x3b5)][_0x34434b(0x3cf)](_0x1c5fa9,_0x4fd422),_0x4fd422;}[_0xbde005(0x3ce)](_0x46695e){var _0x5e128b=_0xbde005,_0x5c2ed8;const _0x3901f0=this[_0x5e128b(0x3b5)][_0x5e128b(0x164)](_0x46695e);_0x3901f0&&(this['_sessions'][_0x5e128b(0x203)](_0x46695e),_0x3901f0[_0x5e128b(0x405)]()),this['_sessions']['size']||(_0x5c2ed8=this[_0x5e128b(0x20b)])==null||_0x5c2ed8[_0x5e128b(0x405)]();}[_0xbde005(0x27a)](){var _0x4dfbcd=_0xbde005;this['_retryCount']=0x0,this[_0x4dfbcd(0x25a)](),this[_0x4dfbcd(0x159)]();}['_clearRetryConnectingTimer'](){var _0x4e8a3f=_0xbde005;this[_0x4e8a3f(0x346)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x4e8a3f(0x346)]=null);}async['_createSocket'](){var _0x14b216=_0xbde005,_0x16241f;const _0x7981fb=this[_0x14b216(0x167)][_0x14b216(0x3fc)](K),_0x20c993=(_0x16241f=_0x7981fb==null?void 0x0:_0x7981fb[_0x14b216(0x1b2)])!=null?_0x16241f:Is,_0x64152=await this[_0x14b216(0x2d9)][_0x14b216(0x3be)](_0x20c993);return this[_0x14b216(0x38d)]=_0x64152,_0x64152;}async['_tryEnsureSocket'](){var _0xee78e=_0xbde005,_0x2c3b38,_0x4944db;try{const _0x25383a=(_0x4944db=(_0x2c3b38=this['_socket'])!=null?_0x2c3b38:this[_0xee78e(0x38d)])!=null?_0x4944db:await this['_createSocket']();if(_0x25383a){const _0x5abfb2=_0x25383a[_0xee78e(0x29d)];_0x25383a[_0xee78e(0x29d)]=_0xb34cfb=>(this[_0xee78e(0x30f)](),_0x5abfb2[_0xee78e(0x3aa)](_0x25383a,[_0xb34cfb])),_0x25383a[_0xee78e(0x1e7)][_0xee78e(0x395)](_0x47c721=>this[_0xee78e(0x1e4)](_0x25383a,_0x47c721)),_0x25383a['error$'][_0xee78e(0x2cb)](_0x4a374d(0x1))['subscribe'](_0x5ac86f=>this[_0xee78e(0x11d)][_0xee78e(0x2e4)](_0xee78e(0x2be),_0x5ac86f)),_0x25383a[_0xee78e(0x354)]['pipe'](_0x4a374d(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x25383a);}),_0x25383a[_0xee78e(0x3f7)][_0xee78e(0x2cb)](_0x4a374d(0x1))[_0xee78e(0x395)](_0xc2b767=>{var _0x11f8a3=_0xee78e;this['_logService'][_0x11f8a3(0x187)]('[CollaborationSessionService]','socket\x20close',_0xc2b767),this[_0x11f8a3(0x282)]();});}}catch(_0x217092){this[_0xee78e(0x11d)][_0xee78e(0x2e4)](_0x217092),this[_0xee78e(0x282)]();}}[_0xbde005(0x35c)](_0x5d847d){var _0x1fb92f=_0xbde005;this[_0x1fb92f(0x11d)]['debug'](_0x1fb92f(0x3e2),_0x1fb92f(0x198)),_0x5d847d['send']({'cmd':j[_0x1fb92f(0x224)]}),this['_rescheduleHeartbeat']();}[_0xbde005(0x297)](){var _0xaf608=_0xbde005;this[_0xaf608(0x33a)]=!0x1,this[_0xaf608(0x38d)]=null,this['_status$'][_0xaf608(0x3b6)](me[_0xaf608(0x1f2)]),this[_0xaf608(0x286)][_0xaf608(0x3b6)](null),this[_0xaf608(0x298)](),this['_clearHeartbeatTimer']();}[_0xbde005(0x282)](){var _0x54319a=_0xbde005,_0x18c322;this['_onOffline'](),this[_0x54319a(0x318)]<((_0x18c322=this[_0x54319a(0x167)]['getConfig'](Os))!=null?_0x18c322:Rs)?(this['_collaborationUIEventService'][_0x54319a(0x1fb)]({'id':re[_0x54319a(0x3ff)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x54319a(0x1fb)]({'id':re[_0x54319a(0x31c)]});}[_0xbde005(0x159)](){var _0x19d539=_0xbde005,_0x2070a7;const _0x47bbc6=this[_0x19d539(0x318)],_0x275ed6=this['_configService'][_0x19d539(0x3fc)](K),_0x3a40cd=_0x47bbc6===0x0?0x0:((_0x2070a7=_0x275ed6==null?void 0x0:_0x275ed6[_0x19d539(0x2f6)])!=null?_0x2070a7:Ts)*0x2**_0x47bbc6;this[_0x19d539(0x346)]=setTimeout(()=>{var _0x6dec=_0x19d539;clearTimeout(this[_0x6dec(0x346)]),this[_0x6dec(0x346)]=null,this[_0x6dec(0x18d)]();},_0x3a40cd),this['_retryCount']+=0x1;}[_0xbde005(0x1e4)](_0x58b429,_0xf54397){var _0x3a5776=_0xbde005;const {cmd:_0x4e5bef}=_0xf54397;_0x4e5bef===j[_0x3a5776(0x224)]&&!this[_0x3a5776(0x33a)]&&(_0x58b429[_0x3a5776(0x3f4)]=_0xf54397[_0x3a5776(0x336)][_0x3a5776(0x3f4)],this[_0x3a5776(0x286)][_0x3a5776(0x3b6)](_0x58b429),this[_0x3a5776(0x307)]['next'](me['ONLINE']),this[_0x3a5776(0x33a)]=!0x0,this[_0x3a5776(0x38d)]=null),_0x4e5bef===j[_0x3a5776(0x146)]&&this[_0x3a5776(0x298)](),this[_0x3a5776(0x30f)]();}[_0xbde005(0x30f)](){var _0x193b59=_0xbde005,_0x27494b;this[_0x193b59(0x15d)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x27494b=this[_0x193b59(0x167)][_0x193b59(0x3fc)](Ss))!=null?_0x27494b:gs);}['_sendHeartbeat'](){var _0x2ddd7f=_0xbde005;this['_socket'][_0x2ddd7f(0x29d)]({'cmd':j['HEARTBEAT']}),this[_0x2ddd7f(0x195)]();}[_0xbde005(0x195)](){var _0x2f2d55=_0xbde005,_0xfef2a;this[_0x2f2d55(0x2f9)]=setTimeout(()=>this[_0x2f2d55(0x282)](),(_0xfef2a=this['_configService']['getConfig'](di))!=null?_0xfef2a:fi);}['_clearHeartbeatTimer'](){var _0x3a3b0e=_0xbde005;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3a3b0e(0x313)]),this[_0x3a3b0e(0x313)]=null);}['_clearTimeoutTimer'](){var _0x12959d=_0xbde005;this[_0x12959d(0x2f9)]!=null&&(clearTimeout(this[_0x12959d(0x2f9)]),this[_0x12959d(0x2f9)]=null);}};we=Xs([Re(0x0,_0x51e0dc(_0x20c230)),Re(0x1,_0x9e9972),Re(0x2,_0x50f0f7),Re(0x3,Ri),Re(0x4,_0x51e0dc(ve)),Re(0x5,_0x581e15(Vs))],we);var Js=Object[_0xbde005(0x2eb)],Zs=(_0x534674,_0x232823,_0xc75ca9,_0x390dd8)=>{var _0x2c01c8=_0xbde005;for(var _0x189d92=_0x390dd8>0x1?void 0x0:_0x390dd8?Js(_0x232823,_0xc75ca9):_0x232823,_0x5cf4fa=_0x534674[_0x2c01c8(0x372)]-0x1,_0x852b18;_0x5cf4fa>=0x0;_0x5cf4fa--)(_0x852b18=_0x534674[_0x5cf4fa])&&(_0x189d92=_0x852b18(_0x189d92)||_0x189d92);return _0x189d92;},Be=(_0xdc78a1,_0x3591e5)=>(_0x23956b,_0x7965b8)=>_0x3591e5(_0x23956b,_0x7965b8,_0xdc78a1);let nt=class extends _0x1e895e{constructor(_0x303dbb,_0x1869bf,_0x336103,_0x285ebb){var _0x4eb86d=_0xbde005,_0x1b4771;super(),D(this,_0x4eb86d(0x24e),new Map()),D(this,_0x4eb86d(0x121),new _0x5a35f4()),D(this,_0x4eb86d(0x11a),this[_0x4eb86d(0x121)]['asObservable']()),(this[_0x4eb86d(0x342)]=_0x303dbb,this[_0x4eb86d(0x17d)]=_0x1869bf,this['_configService']=_0x336103,this[_0x4eb86d(0x291)]=_0x285ebb,((_0x1b4771=this['_configService'][_0x4eb86d(0x3fc)](K))==null?void 0x0:_0x1b4771[_0x4eb86d(0x3c9)])!==!0x1&&this[_0x4eb86d(0x2e8)]());}['dispose'](){var _0x2711fe=_0xbde005;super[_0x2711fe(0x23a)](),this[_0x2711fe(0x24e)]['forEach'](_0x6c9437=>_0x6c9437[_0x2711fe(0x23a)]()),this[_0x2711fe(0x24e)]['clear']();}[_0xbde005(0x109)](_0x4b0bc1){var _0x1c2a3e;return(_0x1c2a3e=this['_entities']['get'](_0x4b0bc1))!=null?_0x1c2a3e:null;}['getCollabEntity$'](_0x497b1b){var _0x1735f4=_0xbde005;const _0x1e3807=this[_0x1735f4(0x109)](_0x497b1b);return _0x1e3807?_0x27da9c(_0x1e3807):this[_0x1735f4(0x121)][_0x1735f4(0x2cb)](_0x576d7f(_0x26643d=>_0x26643d[_0x1735f4(0x2c0)]===_0x497b1b));}[_0xbde005(0x382)](_0x28a2bc){var _0x148b0c=_0xbde005;return _0x414fe2(this[_0x148b0c(0x2f8)](_0x28a2bc)[_0x148b0c(0x2cb)](_0x465af3(()=>{})));}['_init'](){var _0x32e2f6=_0xbde005;this[_0x32e2f6(0x291)]['getTypeOfUnitAdded$'](_0x119145[_0x32e2f6(0x388)])['pipe'](_0x436a76(this[_0x32e2f6(0x3a8)]),_0x410d7f(0x10))[_0x32e2f6(0x395)](async _0x33d18f=>{var _0x8d4ea5=_0x32e2f6;const _0xdee9cd=_0x33d18f[_0x8d4ea5(0x241)](),_0x5e7f16=await this[_0x8d4ea5(0x2ea)](_0xdee9cd,Q[_0x8d4ea5(0x388)]);this[_0x8d4ea5(0x24e)]['set'](_0xdee9cd,_0x5e7f16);}),this['_univerInstanceService'][_0x32e2f6(0x36e)](_0x119145[_0x32e2f6(0x16c)])['pipe'](_0x436a76(this[_0x32e2f6(0x3a8)]),_0x410d7f(0x10))[_0x32e2f6(0x2cb)](_0x576d7f(_0x33e7e5=>!_0x33e7e5[_0x32e2f6(0x241)]()[_0x32e2f6(0x1da)]('__')))[_0x32e2f6(0x395)](async _0x4983bc=>{var _0x4d5153=_0x32e2f6;const _0x21e2dc=_0x4983bc['getUnitId'](),_0xa843c9=await this[_0x4d5153(0x2ea)](_0x21e2dc,Q[_0x4d5153(0x16c)]);this['_entities'][_0x4d5153(0x3cf)](_0x21e2dc,_0xa843c9);}),_0x521ca9(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x119145[_0x32e2f6(0x388)]),this['_univerInstanceService'][_0x32e2f6(0x3a1)](_0x119145[_0x32e2f6(0x16c)]))['pipe'](_0x436a76(this['dispose$']))['subscribe'](_0x1c23f3=>{var _0x53b2f9=_0x32e2f6;const _0x4ab192=_0x1c23f3['getUnitId'](),_0x1e0f08=this[_0x53b2f9(0x24e)]['get'](_0x4ab192);_0x1e0f08&&(_0x1e0f08[_0x53b2f9(0x23a)](),this['_entities'][_0x53b2f9(0x203)](_0x4ab192));});}async[_0xbde005(0x2ea)](_0x440251,_0x1bf076){var _0xa6f87d=_0xbde005;const _0x28605b=await this[_0xa6f87d(0x17d)][_0xa6f87d(0x16a)](_0x440251),_0x33dcce=this[_0xa6f87d(0x342)][_0xa6f87d(0x340)](this[_0xa6f87d(0x2fd)](_0x1bf076),_0x440251,_0x1bf076,_0x28605b);return await _0x33dcce[_0xa6f87d(0xfe)](),this[_0xa6f87d(0x121)]['next'](_0x33dcce),_0x33dcce;}[_0xbde005(0x2fd)](_0x4dac37){var _0x7ab461=_0xbde005;switch(_0x4dac37){case Q[_0x7ab461(0x16c)]:return It;case Q[_0x7ab461(0x388)]:return St;default:throw new Error(_0x7ab461(0x32b)+_0x4dac37);}}};nt=Zs([Be(0x0,_0x51e0dc(_0x20c230)),Be(0x1,_0x51e0dc(we)),Be(0x2,_0x50f0f7),Be(0x3,_0xecbae0)],nt);var Qs=Object[_0xbde005(0x2eb)],en=(_0x2daa94,_0x864826,_0x9659cb,_0x2eacd4)=>{var _0x8011d0=_0xbde005;for(var _0x2d5426=_0x2eacd4>0x1?void 0x0:_0x2eacd4?Qs(_0x864826,_0x9659cb):_0x864826,_0x863925=_0x2daa94[_0x8011d0(0x372)]-0x1,_0x2f0fe3;_0x863925>=0x0;_0x863925--)(_0x2f0fe3=_0x2daa94[_0x863925])&&(_0x2d5426=_0x2f0fe3(_0x2d5426)||_0x2d5426);return _0x2d5426;},Wt=(_0x3a8c7d,_0x222628)=>(_0x47d867,_0x495453)=>_0x222628(_0x47d867,_0x495453,_0x3a8c7d);const tn='DEFAULT_FILE_NAME',sn=_0xbde005(0x36a);let gt=class extends _0x20bf78{constructor(_0x4a2a11,_0x41e712){var _0x26f1bc=_0xbde005;super(),this[_0x26f1bc(0x291)]=_0x4a2a11,this[_0x26f1bc(0x167)]=_0x41e712,this[_0x26f1bc(0x2e8)]();}[_0xbde005(0x2e8)](){var _0x72af1b=_0xbde005;this['disposeWithMe'](this[_0x72af1b(0x291)][_0x72af1b(0x215)][_0x72af1b(0x395)](()=>{var _0x578c14=_0x72af1b,_0x51bc7d;const _0x74ff7a=this[_0x578c14(0x291)][_0x578c14(0x3fa)]();let _0x33f2f4=(_0x51bc7d=this['_configService'][_0x578c14(0x3fc)](tn))!=null?_0x51bc7d:sn;_0x74ff7a instanceof _0x35b9e4&&(_0x33f2f4=_0x74ff7a[_0x578c14(0x392)]),document['title']=_0x33f2f4;}));}};gt=en([Wt(0x0,_0xecbae0),Wt(0x1,_0x50f0f7)],gt);var nn=Object[_0xbde005(0x2eb)],rn=(_0x4c740f,_0x4ca3f7,_0x54069e,_0x4eaf26)=>{var _0x47fdfb=_0xbde005;for(var _0x4c8024=_0x4eaf26>0x1?void 0x0:_0x4eaf26?nn(_0x4ca3f7,_0x54069e):_0x4ca3f7,_0x34d5c9=_0x4c740f[_0x47fdfb(0x372)]-0x1,_0x19fb34;_0x34d5c9>=0x0;_0x34d5c9--)(_0x19fb34=_0x4c740f[_0x34d5c9])&&(_0x4c8024=_0x19fb34(_0x4c8024)||_0x4c8024);return _0x4c8024;},dt=(_0x204fbe,_0x3a72cf)=>(_0x416bf3,_0x4cdaa4)=>_0x3a72cf(_0x416bf3,_0x4cdaa4,_0x204fbe);let rt=class{constructor(_0x29713d,_0x28877b,_0x1f7af1){var _0x56d0c5=_0xbde005;this[_0x56d0c5(0x167)]=_0x29713d,this[_0x56d0c5(0x163)]=_0x28877b,this[_0x56d0c5(0x1d3)]=_0x1f7af1,this['init']();}[_0xbde005(0xfe)](){var _0xa28a5=_0xbde005;this[_0xa28a5(0x163)][_0xa28a5(0x2d5)]({'priority':0x1,'interceptor':(_0x488cc0,_0x236bc8)=>_0x236bc8(_0x488cc0)['pipe'](_0x5462e2(async _0x5bb8b7=>{var _0x4632c6=_0xa28a5;const _0x443961=_0x5bb8b7;if(_0x443961[_0x4632c6(0x2ba)]===0x191){if(typeof window>'u')throw new Error(_0x4632c6(0x126));if(window[_0x4632c6(0x20e)](this[_0x4632c6(0x1d3)]['t'](_0x4632c6(0x120)))){const _0x56ed74=window[_0x4632c6(0x2c7)](window[_0x4632c6(0x180)]['href']);window[_0x4632c6(0x180)][_0x4632c6(0x391)]=this['_getLoginPath']()+_0x4632c6(0x12d)+_0x56ed74;}}return _0x443961;}))});}[_0xbde005(0x225)](){var _0x3600b3=_0xbde005,_0x45d0f2;const _0x19869c=this[_0x3600b3(0x167)][_0x3600b3(0x3fc)](K);return(_0x45d0f2=_0x19869c==null?void 0x0:_0x19869c[_0x3600b3(0x1ce)])!=null?_0x45d0f2:Cs;}};rt=rn([dt(0x0,_0x50f0f7),dt(0x1,_0x51e0dc(_0x4583bc)),dt(0x2,_0x51e0dc(_0x4a91ba))],rt);var an=Object[_0xbde005(0x2eb)],on=(_0x5ae9c6,_0x3a32dd,_0x1bc315,_0x1e0708)=>{for(var _0x40ad3a=_0x1e0708>0x1?void 0x0:_0x1e0708?an(_0x3a32dd,_0x1bc315):_0x3a32dd,_0x1bcf69=_0x5ae9c6['length']-0x1,_0x15afe8;_0x1bcf69>=0x0;_0x1bcf69--)(_0x15afe8=_0x5ae9c6[_0x1bcf69])&&(_0x40ad3a=_0x15afe8(_0x40ad3a)||_0x40ad3a);return _0x40ad3a;},Yt=(_0x22f9e4,_0x231c98)=>(_0x5aea54,_0x5b6fae)=>_0x231c98(_0x5aea54,_0x5b6fae,_0x22f9e4);const cn=_0xbde005(0x22d);let Tt=class extends _0x20bf78{constructor(_0xee6b54,_0x430238){var _0x5d48b7=_0xbde005;super(),this[_0x5d48b7(0x1b6)]=_0xee6b54,this[_0x5d48b7(0x167)]=_0x430238,this['_initMergeInterceptor']();}[_0xbde005(0x2cd)](){var _0x751b9b=_0xbde005;const _0x5c3ba3=this;this[_0x751b9b(0x26b)](this['_HTTPService'][_0x751b9b(0x2d5)]({'priority':0x3e7,'interceptor':_0x496499({'isMatch'(_0x2af8df){var _0x306c5a=_0x751b9b,_0x14d486;if(_0x2af8df['method']===_0x306c5a(0x1ee)&&((_0x14d486=_0x2af8df['requestParams'])!=null&&_0x14d486[_0x306c5a(0x134)])){const {objectID:_0x3343f6,objectType:_0x19a462}=_0x2af8df[_0x306c5a(0x1cb)][_0x306c5a(0x134)]||{};if(!_0x3343f6||_0x19a462===void 0x0)return!0x1;const _0x1b298b=_0x5c3ba3[_0x306c5a(0x386)]()+'/'+_0x19a462+_0x306c5a(0x1f4)+_0x3343f6+_0x306c5a(0x3fd);if(_0x2af8df[_0x306c5a(0x408)]===_0x1b298b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x585c9e){var _0x15677d=_0x751b9b,_0x17bcdf;return(_0x17bcdf=_0x585c9e['requestParams'])==null?void 0x0:_0x17bcdf[_0x15677d(0x134)];},'mergeParamsToRequest'(_0x55f733,_0x51f9d8){var _0x544b20=_0x751b9b;const _0x110759=_0x5c3ba3[_0x544b20(0x386)]()+_0x544b20(0x337),_0x1c752e=_0x55f733[_0x544b20(0x182)]((_0xa18a2f,_0x5aefd7)=>{var _0x30439a=_0x544b20;const {unitID:_0x9fe940,objectID:_0x261f82,objectType:_0x24d511,actions:_0x26783a}=_0x5aefd7;return _0xa18a2f[_0x9fe940]||(_0xa18a2f[_0x9fe940]={}),_0xa18a2f[_0x9fe940][_0x261f82]||(_0xa18a2f[_0x9fe940][_0x261f82]={'objectID':_0x261f82,'objectType':_0x24d511,'actions':[]}),_0xa18a2f[_0x9fe940][_0x261f82]['actions'][_0x30439a(0x38b)](..._0x26783a),_0xa18a2f;},{}),_0x266ddf=[];for(const _0x11c2b2 in _0x1c752e)for(const _0x4ee84e in _0x1c752e[_0x11c2b2]){const {actions:_0x206fd0,objectType:_0x840aa4}=_0x1c752e[_0x11c2b2][_0x4ee84e],_0xce603a=[...new Set(_0x206fd0)];_0x266ddf['push']({'unitID':_0x11c2b2,'objectID':_0x4ee84e,'objectType':_0x840aa4,'actions':_0xce603a});}return new _0x52d765(_0x544b20(0x1ee),_0x110759,{'headers':_0x51f9d8['headers'],'withCredentials':_0x51f9d8['withCredentials'],'responseType':_0x51f9d8[_0x544b20(0x410)],'body':{'requests':_0x266ddf}});}},{'distributeResult'(_0x36c26b,_0x52495c){var _0x125166=_0x751b9b;const {objectActions:_0x56a299}=_0x36c26b;return _0x52495c[_0x125166(0x3c5)](_0x37e4b8=>{var _0x5359c6=_0x125166;const {unitID:_0x447ef2,objectID:_0x296206,actions:_0xce5a93}=_0x37e4b8,_0x45f295=_0x56a299['find'](_0x1a37da=>_0x1a37da[_0x5359c6(0x2c0)]===_0x447ef2&&_0x1a37da[_0x5359c6(0x118)]===_0x296206),_0x5cfdbf=_0xce5a93['map'](_0x291b2a=>_0x45f295==null?void 0x0:_0x45f295[_0x5359c6(0x1c0)][_0x5359c6(0x2e9)](_0x95a07c=>_0x95a07c[_0x5359c6(0x24a)]===_0x291b2a))['filter'](_0x3e531a=>!!_0x3e531a);return{'config':_0x37e4b8,'result':{'actions':_0x5cfdbf,'error':_0x36c26b['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x23a893=_0xbde005,_0x412659;const _0x26212d=this[_0x23a893(0x167)][_0x23a893(0x3fc)](K);return(_0x412659=_0x26212d==null?void 0x0:_0x26212d[_0x23a893(0x2d3)])!=null?_0x412659:cn;}async[_0xbde005(0x1ac)](_0x4e43be){var _0x24bcf1=_0xbde005;const _0xb419dd=this[_0x24bcf1(0x386)]()+'/'+_0x4e43be[_0x24bcf1(0x105)]+_0x24bcf1(0x207);return(await this['_HTTPService']['post'](_0xb419dd,{'body':_0x4e43be}))[_0x24bcf1(0x134)][_0x24bcf1(0x118)]||'';}async[_0xbde005(0x3ae)](_0x260e94){var _0x573041=_0xbde005;const _0x5cec68=this[_0x573041(0x386)]()+_0x573041(0x314);return(await this[_0x573041(0x1b6)][_0x573041(0x1d5)](_0x5cec68,{'body':_0x260e94}))[_0x573041(0x134)]['objects'];}async[_0xbde005(0x3c8)](_0x561088){var _0x2f9fc8=_0xbde005,_0x3e083c,_0x5e060a;const _0x226fad=this[_0x2f9fc8(0x386)]()+'/'+_0x561088['objectType']+'/object/'+_0x561088['objectID'],_0xddc727=await this[_0x2f9fc8(0x1b6)]['put'](_0x226fad,{'body':_0x561088});if(((_0x5e060a=(_0x3e083c=_0xddc727==null?void 0x0:_0xddc727[_0x2f9fc8(0x134)])==null?void 0x0:_0x3e083c[_0x2f9fc8(0x2e4)])==null?void 0x0:_0x5e060a[_0x2f9fc8(0x375)])!==0x1)throw new Error(_0x2f9fc8(0x3f5));}async[_0xbde005(0x1f5)](_0x34ef5f){var _0x3705f9=_0xbde005;const _0x576d87=this[_0x3705f9(0x386)]()+'/'+_0x34ef5f['objectType']+'/object/'+_0x34ef5f[_0x3705f9(0x118)]+_0x3705f9(0x3fd);return(await this[_0x3705f9(0x1b6)][_0x3705f9(0x1d5)](_0x576d87,{'body':_0x34ef5f}))['body'][_0x3705f9(0x1c0)];}async[_0xbde005(0x1cf)](_0x4be36d){var _0x4fa9f7=_0xbde005;const _0x2e0bd2=this[_0x4fa9f7(0x386)]()+'/-/object/-/batch_allowed';return(await this[_0x4fa9f7(0x1b6)][_0x4fa9f7(0x1d5)](_0x2e0bd2,{'body':{'requests':_0x4be36d}}))[_0x4fa9f7(0x134)][_0x4fa9f7(0x3e1)];}async['listRoles'](_0x51f04b){var _0x46f44e=_0xbde005;const _0x3569a7=this[_0x46f44e(0x386)]()+'/'+_0x51f04b[_0x46f44e(0x105)]+_0x46f44e(0x351),_0x3edcb4=await this[_0x46f44e(0x1b6)][_0x46f44e(0x1d5)](_0x3569a7,{'body':_0x51f04b});return{'roles':_0x3edcb4[_0x46f44e(0x134)][_0x46f44e(0x379)],'actions':_0x3edcb4['body'][_0x46f44e(0x1c0)]};}async[_0xbde005(0x293)](_0x3cc8ea){var _0x528add=_0xbde005;const _0x364f9=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x528add(0x1b6)][_0x528add(0x203)](_0x364f9,{'params':{'collaboratorID':_0x3cc8ea[_0x528add(0x1e2)],'objectID':_0x3cc8ea['objectID'],'unitID':_0x3cc8ea['unitID']}});}async[_0xbde005(0x35b)](_0xa7b8f1){var _0x5d0eb1=_0xbde005;const _0x5c8457=this[_0x5d0eb1(0x386)]()+'/collaborator';await this[_0x5d0eb1(0x1b6)]['patch'](_0x5c8457,{'body':_0xa7b8f1});}async[_0xbde005(0x1e0)](_0x450878){var _0x5b5b5f=_0xbde005;const _0x1ff776=this[_0x5b5b5f(0x386)]()+_0x5b5b5f(0xf3);await this['_HTTPService'][_0x5b5b5f(0x1d5)](_0x1ff776,{'body':_0x450878});}async[_0xbde005(0x110)](_0x5388d8){var _0x295bd3=_0xbde005;const _0xe3c05f=this[_0x295bd3(0x386)]()+_0x295bd3(0xf3);return(await this[_0x295bd3(0x1b6)][_0x295bd3(0x164)](_0xe3c05f,{'params':{'objectID':_0x5388d8[_0x295bd3(0x118)],'unitID':_0x5388d8[_0x295bd3(0x2c0)]}}))[_0x295bd3(0x134)][_0x295bd3(0xf9)];}async[_0xbde005(0x2a5)](_0x45b785){var _0x56db94=_0xbde005;const _0x4253c5=this[_0x56db94(0x386)]()+_0x56db94(0xf3);await this[_0x56db94(0x1b6)][_0x56db94(0x37f)](_0x4253c5,{'body':_0x45b785});}};Tt=on([Yt(0x0,_0x51e0dc(_0x4583bc)),Yt(0x1,_0x51e0dc(_0x50f0f7))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4508f7){var _0x273376=_0xbde005;return _0x4508f7&&_0x4508f7[_0x273376(0x102)]&&Object[_0x273376(0x36b)][_0x273376(0x3ab)]['call'](_0x4508f7,_0x273376(0x2ae))?_0x4508f7['default']:_0x4508f7;}var Ve={'exports':{}};function _n(_0x5faf86){var _0xb776eb=_0xbde005;throw new Error(_0xb776eb(0x32c)+_0x5faf86+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},hn=Ge[_0xbde005(0x137)],Kt;function ie(){var _0x43eb14=_0xbde005;return Kt||(Kt=0x1,function(_0x40ac03,_0x1eab98){(function(_0x404455,_0x2ebc81){var _0xbe3817=_0x3d7d;_0x40ac03[_0xbe3817(0x137)]=_0x2ebc81();}(hn,function(){var _0x230173=_0x230173||function(_0x1ec28a,_0x1c317b){var _0x4841dc=_0x3d7d,_0x1b4aaf;if(typeof window<'u'&&window['crypto']&&(_0x1b4aaf=window[_0x4841dc(0x315)]),typeof self<'u'&&self['crypto']&&(_0x1b4aaf=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4841dc(0x315)]&&(_0x1b4aaf=globalThis[_0x4841dc(0x315)]),!_0x1b4aaf&&typeof window<'u'&&window[_0x4841dc(0x2ad)]&&(_0x1b4aaf=window[_0x4841dc(0x2ad)]),!_0x1b4aaf&&typeof ft<'u'&&ft[_0x4841dc(0x315)]&&(_0x1b4aaf=ft[_0x4841dc(0x315)]),!_0x1b4aaf&&typeof _n==_0x4841dc(0x1c4))try{_0x1b4aaf=require('crypto');}catch{}var _0x3d0f4d=function(){var _0x210dc7=_0x4841dc;if(_0x1b4aaf){if(typeof _0x1b4aaf[_0x210dc7(0x236)]==_0x210dc7(0x1c4))try{return _0x1b4aaf[_0x210dc7(0x236)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1b4aaf[_0x210dc7(0x255)]==_0x210dc7(0x1c4))try{return _0x1b4aaf[_0x210dc7(0x255)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4c2d03=Object[_0x4841dc(0x1ac)]||(function(){function _0x325171(){}return function(_0x370310){var _0xff7364=_0x3d7d,_0x5378e8;return _0x325171['prototype']=_0x370310,_0x5378e8=new _0x325171(),_0x325171[_0xff7364(0x36b)]=null,_0x5378e8;};}()),_0xf89e93={},_0x43caa2=_0xf89e93['lib']={},_0x41aa46=_0x43caa2[_0x4841dc(0x103)]=(function(){return{'extend':function(_0x44dde5){var _0x12266a=_0x3d7d,_0x344e8f=_0x4c2d03(this);return _0x44dde5&&_0x344e8f[_0x12266a(0x21d)](_0x44dde5),(!_0x344e8f[_0x12266a(0x3ab)](_0x12266a(0xfe))||this['init']===_0x344e8f['init'])&&(_0x344e8f[_0x12266a(0xfe)]=function(){var _0x2f7138=_0x12266a;_0x344e8f['$super'][_0x2f7138(0xfe)][_0x2f7138(0x3aa)](this,arguments);}),_0x344e8f[_0x12266a(0xfe)][_0x12266a(0x36b)]=_0x344e8f,_0x344e8f[_0x12266a(0x2bc)]=this,_0x344e8f;},'create':function(){var _0x39bf6a=_0x3d7d,_0x3104e9=this[_0x39bf6a(0x294)]();return _0x3104e9[_0x39bf6a(0xfe)][_0x39bf6a(0x3aa)](_0x3104e9,arguments),_0x3104e9;},'init':function(){},'mixIn':function(_0x5608b3){var _0x13ee9a=_0x3d7d;for(var _0x34e6b0 in _0x5608b3)_0x5608b3[_0x13ee9a(0x3ab)](_0x34e6b0)&&(this[_0x34e6b0]=_0x5608b3[_0x34e6b0]);_0x5608b3['hasOwnProperty'](_0x13ee9a(0x10d))&&(this[_0x13ee9a(0x10d)]=_0x5608b3['toString']);},'clone':function(){var _0x456853=_0x3d7d;return this[_0x456853(0xfe)][_0x456853(0x36b)][_0x456853(0x294)](this);}};}()),_0x361359=_0x43caa2[_0x4841dc(0x1ec)]=_0x41aa46['extend']({'init':function(_0x575961,_0x3ae172){var _0x326409=_0x4841dc;_0x575961=this[_0x326409(0x1fa)]=_0x575961||[],_0x3ae172!=_0x1c317b?this[_0x326409(0x376)]=_0x3ae172:this[_0x326409(0x376)]=_0x575961['length']*0x4;},'toString':function(_0xbefa23){var _0x3c9a01=_0x4841dc;return(_0xbefa23||_0x25d0d0)[_0x3c9a01(0x40c)](this);},'concat':function(_0x433d10){var _0x47da5f=_0x4841dc,_0x140adf=this[_0x47da5f(0x1fa)],_0x152de2=_0x433d10['words'],_0xc1721f=this[_0x47da5f(0x376)],_0xb72082=_0x433d10[_0x47da5f(0x376)];if(this[_0x47da5f(0x166)](),_0xc1721f%0x4)for(var _0x41c967=0x0;_0x41c967<_0xb72082;_0x41c967++){var _0x452692=_0x152de2[_0x41c967>>>0x2]>>>0x18-_0x41c967%0x4*0x8&0xff;_0x140adf[_0xc1721f+_0x41c967>>>0x2]|=_0x452692<<0x18-(_0xc1721f+_0x41c967)%0x4*0x8;}else{for(var _0xc6be01=0x0;_0xc6be01<_0xb72082;_0xc6be01+=0x4)_0x140adf[_0xc1721f+_0xc6be01>>>0x2]=_0x152de2[_0xc6be01>>>0x2];}return this[_0x47da5f(0x376)]+=_0xb72082,this;},'clamp':function(){var _0x2dbfb8=_0x4841dc,_0x18b068=this[_0x2dbfb8(0x1fa)],_0x4c2748=this['sigBytes'];_0x18b068[_0x4c2748>>>0x2]&=0xffffffff<<0x20-_0x4c2748%0x4*0x8,_0x18b068[_0x2dbfb8(0x372)]=_0x1ec28a[_0x2dbfb8(0x269)](_0x4c2748/0x4);},'clone':function(){var _0x2dfe93=_0x4841dc,_0x32ffe2=_0x41aa46[_0x2dfe93(0x108)][_0x2dfe93(0x122)](this);return _0x32ffe2[_0x2dfe93(0x1fa)]=this[_0x2dfe93(0x1fa)][_0x2dfe93(0x38f)](0x0),_0x32ffe2;},'random':function(_0x4d4355){var _0x6a4816=_0x4841dc;for(var _0x571a33=[],_0x931b8=0x0;_0x931b8<_0x4d4355;_0x931b8+=0x4)_0x571a33[_0x6a4816(0x38b)](_0x3d0f4d());return new _0x361359[(_0x6a4816(0xfe))](_0x571a33,_0x4d4355);}}),_0x5e9e8c=_0xf89e93[_0x4841dc(0x29e)]={},_0x25d0d0=_0x5e9e8c[_0x4841dc(0x285)]={'stringify':function(_0x2a364b){var _0x325972=_0x4841dc;for(var _0x1d8883=_0x2a364b[_0x325972(0x1fa)],_0x5927fe=_0x2a364b[_0x325972(0x376)],_0xfee8e1=[],_0x19ec00=0x0;_0x19ec00<_0x5927fe;_0x19ec00++){var _0x208a32=_0x1d8883[_0x19ec00>>>0x2]>>>0x18-_0x19ec00%0x4*0x8&0xff;_0xfee8e1[_0x325972(0x38b)]((_0x208a32>>>0x4)['toString'](0x10)),_0xfee8e1[_0x325972(0x38b)]((_0x208a32&0xf)['toString'](0x10));}return _0xfee8e1['join']('');},'parse':function(_0x49bc53){var _0x3fceef=_0x4841dc;for(var _0x1844b9=_0x49bc53[_0x3fceef(0x372)],_0x327d6d=[],_0x581229=0x0;_0x581229<_0x1844b9;_0x581229+=0x2)_0x327d6d[_0x581229>>>0x3]|=parseInt(_0x49bc53[_0x3fceef(0x15a)](_0x581229,0x2),0x10)<<0x18-_0x581229%0x8*0x4;return new _0x361359[(_0x3fceef(0xfe))](_0x327d6d,_0x1844b9/0x2);}},_0x201f98=_0x5e9e8c['Latin1']={'stringify':function(_0x2c2ee8){var _0x2ab28f=_0x4841dc;for(var _0x46ca3d=_0x2c2ee8[_0x2ab28f(0x1fa)],_0x2c623b=_0x2c2ee8[_0x2ab28f(0x376)],_0x2f1707=[],_0x5d9d9e=0x0;_0x5d9d9e<_0x2c623b;_0x5d9d9e++){var _0x30a443=_0x46ca3d[_0x5d9d9e>>>0x2]>>>0x18-_0x5d9d9e%0x4*0x8&0xff;_0x2f1707['push'](String[_0x2ab28f(0x40f)](_0x30a443));}return _0x2f1707[_0x2ab28f(0x3e7)]('');},'parse':function(_0x116af1){var _0x152bf1=_0x4841dc;for(var _0x51e5e1=_0x116af1[_0x152bf1(0x372)],_0x335107=[],_0x5939d8=0x0;_0x5939d8<_0x51e5e1;_0x5939d8++)_0x335107[_0x5939d8>>>0x2]|=(_0x116af1['charCodeAt'](_0x5939d8)&0xff)<<0x18-_0x5939d8%0x4*0x8;return new _0x361359[(_0x152bf1(0xfe))](_0x335107,_0x51e5e1);}},_0x4da93d=_0x5e9e8c['Utf8']={'stringify':function(_0x12cf2b){var _0x140fcd=_0x4841dc;try{return decodeURIComponent(escape(_0x201f98[_0x140fcd(0x40c)](_0x12cf2b)));}catch{throw new Error(_0x140fcd(0x157));}},'parse':function(_0x43f1af){return _0x201f98['parse'](unescape(encodeURIComponent(_0x43f1af)));}},_0x3be6c6=_0x43caa2['BufferedBlockAlgorithm']=_0x41aa46[_0x4841dc(0x294)]({'reset':function(){var _0x1b5146=_0x4841dc;this['_data']=new _0x361359[(_0x1b5146(0xfe))](),this[_0x1b5146(0x2c8)]=0x0;},'_append':function(_0x14f246){var _0x4b8ea7=_0x4841dc;typeof _0x14f246==_0x4b8ea7(0x323)&&(_0x14f246=_0x4da93d['parse'](_0x14f246)),this['_data']['concat'](_0x14f246),this[_0x4b8ea7(0x2c8)]+=_0x14f246[_0x4b8ea7(0x376)];},'_process':function(_0x45d4f7){var _0x22bd77=_0x4841dc,_0x224d72,_0x5b30e8=this[_0x22bd77(0x149)],_0x3c2490=_0x5b30e8['words'],_0x32d2ba=_0x5b30e8[_0x22bd77(0x376)],_0x39a4c9=this[_0x22bd77(0x290)],_0x25eeb4=_0x39a4c9*0x4,_0x2cde69=_0x32d2ba/_0x25eeb4;_0x45d4f7?_0x2cde69=_0x1ec28a[_0x22bd77(0x269)](_0x2cde69):_0x2cde69=_0x1ec28a[_0x22bd77(0x295)]((_0x2cde69|0x0)-this['_minBufferSize'],0x0);var _0x3cd11a=_0x2cde69*_0x39a4c9,_0x4a7788=_0x1ec28a[_0x22bd77(0x3e5)](_0x3cd11a*0x4,_0x32d2ba);if(_0x3cd11a){for(var _0x27cb30=0x0;_0x27cb30<_0x3cd11a;_0x27cb30+=_0x39a4c9)this[_0x22bd77(0x2fb)](_0x3c2490,_0x27cb30);_0x224d72=_0x3c2490['splice'](0x0,_0x3cd11a),_0x5b30e8[_0x22bd77(0x376)]-=_0x4a7788;}return new _0x361359[(_0x22bd77(0xfe))](_0x224d72,_0x4a7788);},'clone':function(){var _0x5db155=_0x4841dc,_0x26668d=_0x41aa46[_0x5db155(0x108)][_0x5db155(0x122)](this);return _0x26668d[_0x5db155(0x149)]=this[_0x5db155(0x149)][_0x5db155(0x108)](),_0x26668d;},'_minBufferSize':0x0});_0x43caa2[_0x4841dc(0x1dc)]=_0x3be6c6[_0x4841dc(0x294)]({'cfg':_0x41aa46[_0x4841dc(0x294)](),'init':function(_0x3f2a8e){var _0x26f156=_0x4841dc;this[_0x26f156(0x403)]=this['cfg'][_0x26f156(0x294)](_0x3f2a8e),this[_0x26f156(0x2a7)]();},'reset':function(){var _0x70c690=_0x4841dc;_0x3be6c6[_0x70c690(0x2a7)]['call'](this),this['_doReset']();},'update':function(_0x29f2d8){var _0x463ccd=_0x4841dc;return this[_0x463ccd(0x360)](_0x29f2d8),this[_0x463ccd(0x165)](),this;},'finalize':function(_0x5a9086){var _0x22a5fc=_0x4841dc;_0x5a9086&&this[_0x22a5fc(0x360)](_0x5a9086);var _0x3974b2=this[_0x22a5fc(0x412)]();return _0x3974b2;},'blockSize':0x10,'_createHelper':function(_0x242e75){return function(_0x53ff26,_0x2f8bd2){var _0x61d7e5=_0x3d7d;return new _0x242e75[(_0x61d7e5(0xfe))](_0x2f8bd2)[_0x61d7e5(0x37e)](_0x53ff26);};},'_createHmacHelper':function(_0x45f236){return function(_0x21b1e9,_0x283d19){var _0x341c91=_0x3d7d;return new _0x1b0796[(_0x341c91(0x15b))][(_0x341c91(0xfe))](_0x45f236,_0x283d19)[_0x341c91(0x37e)](_0x21b1e9);};}});var _0x1b0796=_0xf89e93[_0x4841dc(0x116)]={};return _0xf89e93;}(Math);return _0x230173;}));}(Ge)),Ge[_0x43eb14(0x137)];}var We={'exports':{}},ln=We[_0xbde005(0x137)],qt;function Ni(){var _0x373217=_0xbde005;return qt||(qt=0x1,function(_0x2046c7,_0x45bdde){(function(_0x454491,_0x1fbf4a){var _0x29a516=_0x3d7d;_0x2046c7[_0x29a516(0x137)]=_0x1fbf4a(ie());}(ln,function(_0x2c07b5){var _0x107dbe=_0x3d7d;return(function(){var _0x3be669=_0x3d7d,_0x560554=_0x2c07b5,_0x51a74d=_0x560554[_0x3be669(0x1fd)],_0x3c44f7=_0x51a74d[_0x3be669(0x1ec)],_0x8ea466=_0x560554[_0x3be669(0x29e)];_0x8ea466[_0x3be669(0x197)]={'stringify':function(_0x2538e9){var _0x5d0ee2=_0x3be669,_0x5f5b65=_0x2538e9[_0x5d0ee2(0x1fa)],_0x40420e=_0x2538e9[_0x5d0ee2(0x376)],_0x14ff75=this[_0x5d0ee2(0x312)];_0x2538e9[_0x5d0ee2(0x166)]();for(var _0x27ee51=[],_0xca372a=0x0;_0xca372a<_0x40420e;_0xca372a+=0x3)for(var _0x25cbd4=_0x5f5b65[_0xca372a>>>0x2]>>>0x18-_0xca372a%0x4*0x8&0xff,_0x26bf71=_0x5f5b65[_0xca372a+0x1>>>0x2]>>>0x18-(_0xca372a+0x1)%0x4*0x8&0xff,_0x4525ab=_0x5f5b65[_0xca372a+0x2>>>0x2]>>>0x18-(_0xca372a+0x2)%0x4*0x8&0xff,_0x34c420=_0x25cbd4<<0x10|_0x26bf71<<0x8|_0x4525ab,_0x507131=0x0;_0x507131<0x4&&_0xca372a+_0x507131*0.75<_0x40420e;_0x507131++)_0x27ee51['push'](_0x14ff75[_0x5d0ee2(0x276)](_0x34c420>>>0x6*(0x3-_0x507131)&0x3f));var _0x5c713d=_0x14ff75[_0x5d0ee2(0x276)](0x40);if(_0x5c713d){for(;_0x27ee51[_0x5d0ee2(0x372)]%0x4;)_0x27ee51[_0x5d0ee2(0x38b)](_0x5c713d);}return _0x27ee51[_0x5d0ee2(0x3e7)]('');},'parse':function(_0x111f76){var _0x367894=_0x3be669,_0x136865=_0x111f76['length'],_0x1e1983=this[_0x367894(0x312)],_0x196c62=this[_0x367894(0x3ef)];if(!_0x196c62){_0x196c62=this[_0x367894(0x3ef)]=[];for(var _0x26d30b=0x0;_0x26d30b<_0x1e1983['length'];_0x26d30b++)_0x196c62[_0x1e1983[_0x367894(0x3a3)](_0x26d30b)]=_0x26d30b;}var _0xac170d=_0x1e1983[_0x367894(0x276)](0x40);if(_0xac170d){var _0x613e5b=_0x111f76[_0x367894(0x2d7)](_0xac170d);_0x613e5b!==-0x1&&(_0x136865=_0x613e5b);}return _0x15b319(_0x111f76,_0x136865,_0x196c62);},'_map':_0x3be669(0x36c)};function _0x15b319(_0x5a6bb9,_0x3d71e0,_0x2626ac){var _0x403364=_0x3be669;for(var _0x471cad=[],_0x2d1a31=0x0,_0x16d492=0x0;_0x16d492<_0x3d71e0;_0x16d492++)if(_0x16d492%0x4){var _0x56ebf1=_0x2626ac[_0x5a6bb9['charCodeAt'](_0x16d492-0x1)]<<_0x16d492%0x4*0x2,_0x2c5a1e=_0x2626ac[_0x5a6bb9[_0x403364(0x3a3)](_0x16d492)]>>>0x6-_0x16d492%0x4*0x2,_0x35e4a8=_0x56ebf1|_0x2c5a1e;_0x471cad[_0x2d1a31>>>0x2]|=_0x35e4a8<<0x18-_0x2d1a31%0x4*0x8,_0x2d1a31++;}return _0x3c44f7['create'](_0x471cad,_0x2d1a31);}}()),_0x2c07b5[_0x107dbe(0x29e)]['Base64'];}));}(We)),We[_0x373217(0x137)];}var Ye={'exports':{}},un=Ye[_0xbde005(0x137)],zt;function dn(){var _0x580a16=_0xbde005;return zt||(zt=0x1,function(_0x1ab591,_0x505a4d){(function(_0x1632b8,_0x60108e){var _0x47a19c=_0x3d7d;_0x1ab591[_0x47a19c(0x137)]=_0x60108e(ie());}(un,function(_0x1108d1){var _0x151b1d=_0x3d7d;return function(_0x45ae28){var _0x5f0666=_0x3d7d,_0x5df578=_0x1108d1,_0x2a77d3=_0x5df578[_0x5f0666(0x1fd)],_0x21e195=_0x2a77d3[_0x5f0666(0x1ec)],_0x262d2f=_0x2a77d3[_0x5f0666(0x1dc)],_0x4885be=_0x5df578[_0x5f0666(0x116)],_0x186758=[];(function(){var _0x5ae1b3=_0x5f0666;for(var _0x9adcfe=0x0;_0x9adcfe<0x40;_0x9adcfe++)_0x186758[_0x9adcfe]=_0x45ae28[_0x5ae1b3(0x31a)](_0x45ae28['sin'](_0x9adcfe+0x1))*0x100000000|0x0;}());var _0x642f44=_0x4885be[_0x5f0666(0x243)]=_0x262d2f[_0x5f0666(0x294)]({'_doReset':function(){var _0x1c5290=_0x5f0666;this[_0x1c5290(0x3cc)]=new _0x21e195[(_0x1c5290(0xfe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11ba59,_0x18481a){var _0x3db065=_0x5f0666;for(var _0x1d86f3=0x0;_0x1d86f3<0x10;_0x1d86f3++){var _0x214269=_0x18481a+_0x1d86f3,_0x14db3a=_0x11ba59[_0x214269];_0x11ba59[_0x214269]=(_0x14db3a<<0x8|_0x14db3a>>>0x18)&0xff00ff|(_0x14db3a<<0x18|_0x14db3a>>>0x8)&0xff00ff00;}var _0x26571b=this[_0x3db065(0x3cc)][_0x3db065(0x1fa)],_0x20e307=_0x11ba59[_0x18481a+0x0],_0x480850=_0x11ba59[_0x18481a+0x1],_0x59e659=_0x11ba59[_0x18481a+0x2],_0x1decad=_0x11ba59[_0x18481a+0x3],_0xe2c7bd=_0x11ba59[_0x18481a+0x4],_0x1195b0=_0x11ba59[_0x18481a+0x5],_0x1d6665=_0x11ba59[_0x18481a+0x6],_0x4b6e01=_0x11ba59[_0x18481a+0x7],_0x36c479=_0x11ba59[_0x18481a+0x8],_0x19b273=_0x11ba59[_0x18481a+0x9],_0x2898df=_0x11ba59[_0x18481a+0xa],_0x533348=_0x11ba59[_0x18481a+0xb],_0x467fa7=_0x11ba59[_0x18481a+0xc],_0x1fca87=_0x11ba59[_0x18481a+0xd],_0x551b9e=_0x11ba59[_0x18481a+0xe],_0x2e036f=_0x11ba59[_0x18481a+0xf],_0x996d77=_0x26571b[0x0],_0x20b321=_0x26571b[0x1],_0x98663=_0x26571b[0x2],_0x229f91=_0x26571b[0x3];_0x996d77=_0x254c8f(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x20e307,0x7,_0x186758[0x0]),_0x229f91=_0x254c8f(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x480850,0xc,_0x186758[0x1]),_0x98663=_0x254c8f(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x59e659,0x11,_0x186758[0x2]),_0x20b321=_0x254c8f(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x1decad,0x16,_0x186758[0x3]),_0x996d77=_0x254c8f(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0xe2c7bd,0x7,_0x186758[0x4]),_0x229f91=_0x254c8f(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x1195b0,0xc,_0x186758[0x5]),_0x98663=_0x254c8f(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x1d6665,0x11,_0x186758[0x6]),_0x20b321=_0x254c8f(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x4b6e01,0x16,_0x186758[0x7]),_0x996d77=_0x254c8f(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x36c479,0x7,_0x186758[0x8]),_0x229f91=_0x254c8f(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x19b273,0xc,_0x186758[0x9]),_0x98663=_0x254c8f(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x2898df,0x11,_0x186758[0xa]),_0x20b321=_0x254c8f(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x533348,0x16,_0x186758[0xb]),_0x996d77=_0x254c8f(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x467fa7,0x7,_0x186758[0xc]),_0x229f91=_0x254c8f(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x1fca87,0xc,_0x186758[0xd]),_0x98663=_0x254c8f(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x551b9e,0x11,_0x186758[0xe]),_0x20b321=_0x254c8f(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x2e036f,0x16,_0x186758[0xf]),_0x996d77=_0x41dc38(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x480850,0x5,_0x186758[0x10]),_0x229f91=_0x41dc38(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x1d6665,0x9,_0x186758[0x11]),_0x98663=_0x41dc38(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x533348,0xe,_0x186758[0x12]),_0x20b321=_0x41dc38(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x20e307,0x14,_0x186758[0x13]),_0x996d77=_0x41dc38(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x1195b0,0x5,_0x186758[0x14]),_0x229f91=_0x41dc38(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x2898df,0x9,_0x186758[0x15]),_0x98663=_0x41dc38(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x2e036f,0xe,_0x186758[0x16]),_0x20b321=_0x41dc38(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0xe2c7bd,0x14,_0x186758[0x17]),_0x996d77=_0x41dc38(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x19b273,0x5,_0x186758[0x18]),_0x229f91=_0x41dc38(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x551b9e,0x9,_0x186758[0x19]),_0x98663=_0x41dc38(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x1decad,0xe,_0x186758[0x1a]),_0x20b321=_0x41dc38(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x36c479,0x14,_0x186758[0x1b]),_0x996d77=_0x41dc38(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x1fca87,0x5,_0x186758[0x1c]),_0x229f91=_0x41dc38(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x59e659,0x9,_0x186758[0x1d]),_0x98663=_0x41dc38(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x4b6e01,0xe,_0x186758[0x1e]),_0x20b321=_0x41dc38(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x467fa7,0x14,_0x186758[0x1f]),_0x996d77=_0x223b49(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x1195b0,0x4,_0x186758[0x20]),_0x229f91=_0x223b49(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x36c479,0xb,_0x186758[0x21]),_0x98663=_0x223b49(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x533348,0x10,_0x186758[0x22]),_0x20b321=_0x223b49(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x551b9e,0x17,_0x186758[0x23]),_0x996d77=_0x223b49(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x480850,0x4,_0x186758[0x24]),_0x229f91=_0x223b49(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0xe2c7bd,0xb,_0x186758[0x25]),_0x98663=_0x223b49(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x4b6e01,0x10,_0x186758[0x26]),_0x20b321=_0x223b49(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x2898df,0x17,_0x186758[0x27]),_0x996d77=_0x223b49(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x1fca87,0x4,_0x186758[0x28]),_0x229f91=_0x223b49(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x20e307,0xb,_0x186758[0x29]),_0x98663=_0x223b49(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x1decad,0x10,_0x186758[0x2a]),_0x20b321=_0x223b49(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x1d6665,0x17,_0x186758[0x2b]),_0x996d77=_0x223b49(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x19b273,0x4,_0x186758[0x2c]),_0x229f91=_0x223b49(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x467fa7,0xb,_0x186758[0x2d]),_0x98663=_0x223b49(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x2e036f,0x10,_0x186758[0x2e]),_0x20b321=_0x223b49(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x59e659,0x17,_0x186758[0x2f]),_0x996d77=_0x308c96(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x20e307,0x6,_0x186758[0x30]),_0x229f91=_0x308c96(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x4b6e01,0xa,_0x186758[0x31]),_0x98663=_0x308c96(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x551b9e,0xf,_0x186758[0x32]),_0x20b321=_0x308c96(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x1195b0,0x15,_0x186758[0x33]),_0x996d77=_0x308c96(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x467fa7,0x6,_0x186758[0x34]),_0x229f91=_0x308c96(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x1decad,0xa,_0x186758[0x35]),_0x98663=_0x308c96(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x2898df,0xf,_0x186758[0x36]),_0x20b321=_0x308c96(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x480850,0x15,_0x186758[0x37]),_0x996d77=_0x308c96(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x36c479,0x6,_0x186758[0x38]),_0x229f91=_0x308c96(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x2e036f,0xa,_0x186758[0x39]),_0x98663=_0x308c96(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x1d6665,0xf,_0x186758[0x3a]),_0x20b321=_0x308c96(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x1fca87,0x15,_0x186758[0x3b]),_0x996d77=_0x308c96(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0xe2c7bd,0x6,_0x186758[0x3c]),_0x229f91=_0x308c96(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x533348,0xa,_0x186758[0x3d]),_0x98663=_0x308c96(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x59e659,0xf,_0x186758[0x3e]),_0x20b321=_0x308c96(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x19b273,0x15,_0x186758[0x3f]),_0x26571b[0x0]=_0x26571b[0x0]+_0x996d77|0x0,_0x26571b[0x1]=_0x26571b[0x1]+_0x20b321|0x0,_0x26571b[0x2]=_0x26571b[0x2]+_0x98663|0x0,_0x26571b[0x3]=_0x26571b[0x3]+_0x229f91|0x0;},'_doFinalize':function(){var _0x51fe73=_0x5f0666,_0x59ec3b=this[_0x51fe73(0x149)],_0x31def0=_0x59ec3b[_0x51fe73(0x1fa)],_0x252a44=this[_0x51fe73(0x2c8)]*0x8,_0x5f5010=_0x59ec3b[_0x51fe73(0x376)]*0x8;_0x31def0[_0x5f5010>>>0x5]|=0x80<<0x18-_0x5f5010%0x20;var _0x386736=_0x45ae28[_0x51fe73(0x162)](_0x252a44/0x100000000),_0x4a0ee0=_0x252a44;_0x31def0[(_0x5f5010+0x40>>>0x9<<0x4)+0xf]=(_0x386736<<0x8|_0x386736>>>0x18)&0xff00ff|(_0x386736<<0x18|_0x386736>>>0x8)&0xff00ff00,_0x31def0[(_0x5f5010+0x40>>>0x9<<0x4)+0xe]=(_0x4a0ee0<<0x8|_0x4a0ee0>>>0x18)&0xff00ff|(_0x4a0ee0<<0x18|_0x4a0ee0>>>0x8)&0xff00ff00,_0x59ec3b['sigBytes']=(_0x31def0[_0x51fe73(0x372)]+0x1)*0x4,this[_0x51fe73(0x165)]();for(var _0x5ecdc6=this[_0x51fe73(0x3cc)],_0x5e87a6=_0x5ecdc6[_0x51fe73(0x1fa)],_0x20074d=0x0;_0x20074d<0x4;_0x20074d++){var _0x30412c=_0x5e87a6[_0x20074d];_0x5e87a6[_0x20074d]=(_0x30412c<<0x8|_0x30412c>>>0x18)&0xff00ff|(_0x30412c<<0x18|_0x30412c>>>0x8)&0xff00ff00;}return _0x5ecdc6;},'clone':function(){var _0x277d6d=_0x5f0666,_0x651348=_0x262d2f[_0x277d6d(0x108)]['call'](this);return _0x651348[_0x277d6d(0x3cc)]=this[_0x277d6d(0x3cc)][_0x277d6d(0x108)](),_0x651348;}});function _0x254c8f(_0x468ed1,_0x3e40cd,_0xa92d61,_0x29e99a,_0x40149,_0x2c0427,_0x404362){var _0x250594=_0x468ed1+(_0x3e40cd&_0xa92d61|~_0x3e40cd&_0x29e99a)+_0x40149+_0x404362;return(_0x250594<<_0x2c0427|_0x250594>>>0x20-_0x2c0427)+_0x3e40cd;}function _0x41dc38(_0x1a3fa6,_0x17d6aa,_0x1cdd5c,_0x3123f4,_0x34cfd9,_0x412ff7,_0x1b683d){var _0x26d20a=_0x1a3fa6+(_0x17d6aa&_0x3123f4|_0x1cdd5c&~_0x3123f4)+_0x34cfd9+_0x1b683d;return(_0x26d20a<<_0x412ff7|_0x26d20a>>>0x20-_0x412ff7)+_0x17d6aa;}function _0x223b49(_0xb06eb0,_0x4b3e73,_0x452d7a,_0xe85d89,_0xb1c633,_0x441b06,_0x378cb9){var _0x20e16f=_0xb06eb0+(_0x4b3e73^_0x452d7a^_0xe85d89)+_0xb1c633+_0x378cb9;return(_0x20e16f<<_0x441b06|_0x20e16f>>>0x20-_0x441b06)+_0x4b3e73;}function _0x308c96(_0x15eec4,_0x2638db,_0xdb5b33,_0x320f95,_0x4c6b1c,_0x17884d,_0x39ada2){var _0x888a81=_0x15eec4+(_0xdb5b33^(_0x2638db|~_0x320f95))+_0x4c6b1c+_0x39ada2;return(_0x888a81<<_0x17884d|_0x888a81>>>0x20-_0x17884d)+_0x2638db;}_0x5df578[_0x5f0666(0x243)]=_0x262d2f[_0x5f0666(0x365)](_0x642f44),_0x5df578[_0x5f0666(0x358)]=_0x262d2f['_createHmacHelper'](_0x642f44);}(Math),_0x1108d1[_0x151b1d(0x243)];}));}(Ye)),Ye[_0x580a16(0x137)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0xbde005(0x137)],Xt;function vn(){return Xt||(Xt=0x1,function(_0x1398b7,_0xad9bad){(function(_0x3214e2,_0x2f446f){_0x1398b7['exports']=_0x2f446f(ie());}(fn,function(_0x791a22){var _0x5cb4d9=_0x3d7d;return(function(){var _0x171fd9=_0x3d7d,_0x161690=_0x791a22,_0x4a2221=_0x161690['lib'],_0x459982=_0x4a2221[_0x171fd9(0x1ec)],_0x30c665=_0x4a2221['Hasher'],_0x5794da=_0x161690[_0x171fd9(0x116)],_0x6f400c=[],_0xd71d37=_0x5794da[_0x171fd9(0x142)]=_0x30c665[_0x171fd9(0x294)]({'_doReset':function(){var _0x38827b=_0x171fd9;this['_hash']=new _0x459982[(_0x38827b(0xfe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x179a5a,_0xad08c9){var _0x59f0b1=_0x171fd9;for(var _0x5146ec=this[_0x59f0b1(0x3cc)][_0x59f0b1(0x1fa)],_0x155115=_0x5146ec[0x0],_0x54dc98=_0x5146ec[0x1],_0x57466f=_0x5146ec[0x2],_0x5b0722=_0x5146ec[0x3],_0x311c8c=_0x5146ec[0x4],_0x26db3c=0x0;_0x26db3c<0x50;_0x26db3c++){if(_0x26db3c<0x10)_0x6f400c[_0x26db3c]=_0x179a5a[_0xad08c9+_0x26db3c]|0x0;else{var _0x1320f4=_0x6f400c[_0x26db3c-0x3]^_0x6f400c[_0x26db3c-0x8]^_0x6f400c[_0x26db3c-0xe]^_0x6f400c[_0x26db3c-0x10];_0x6f400c[_0x26db3c]=_0x1320f4<<0x1|_0x1320f4>>>0x1f;}var _0x1491b2=(_0x155115<<0x5|_0x155115>>>0x1b)+_0x311c8c+_0x6f400c[_0x26db3c];_0x26db3c<0x14?_0x1491b2+=(_0x54dc98&_0x57466f|~_0x54dc98&_0x5b0722)+0x5a827999:_0x26db3c<0x28?_0x1491b2+=(_0x54dc98^_0x57466f^_0x5b0722)+0x6ed9eba1:_0x26db3c<0x3c?_0x1491b2+=(_0x54dc98&_0x57466f|_0x54dc98&_0x5b0722|_0x57466f&_0x5b0722)-0x70e44324:_0x1491b2+=(_0x54dc98^_0x57466f^_0x5b0722)-0x359d3e2a,_0x311c8c=_0x5b0722,_0x5b0722=_0x57466f,_0x57466f=_0x54dc98<<0x1e|_0x54dc98>>>0x2,_0x54dc98=_0x155115,_0x155115=_0x1491b2;}_0x5146ec[0x0]=_0x5146ec[0x0]+_0x155115|0x0,_0x5146ec[0x1]=_0x5146ec[0x1]+_0x54dc98|0x0,_0x5146ec[0x2]=_0x5146ec[0x2]+_0x57466f|0x0,_0x5146ec[0x3]=_0x5146ec[0x3]+_0x5b0722|0x0,_0x5146ec[0x4]=_0x5146ec[0x4]+_0x311c8c|0x0;},'_doFinalize':function(){var _0x569dd5=_0x171fd9,_0x5cb360=this['_data'],_0x34e6ad=_0x5cb360[_0x569dd5(0x1fa)],_0x158173=this[_0x569dd5(0x2c8)]*0x8,_0x2b1fc6=_0x5cb360[_0x569dd5(0x376)]*0x8;return _0x34e6ad[_0x2b1fc6>>>0x5]|=0x80<<0x18-_0x2b1fc6%0x20,_0x34e6ad[(_0x2b1fc6+0x40>>>0x9<<0x4)+0xe]=Math[_0x569dd5(0x162)](_0x158173/0x100000000),_0x34e6ad[(_0x2b1fc6+0x40>>>0x9<<0x4)+0xf]=_0x158173,_0x5cb360[_0x569dd5(0x376)]=_0x34e6ad[_0x569dd5(0x372)]*0x4,this[_0x569dd5(0x165)](),this[_0x569dd5(0x3cc)];},'clone':function(){var _0x2cc580=_0x171fd9,_0x125213=_0x30c665['clone'][_0x2cc580(0x122)](this);return _0x125213['_hash']=this[_0x2cc580(0x3cc)][_0x2cc580(0x108)](),_0x125213;}});_0x161690[_0x171fd9(0x142)]=_0x30c665[_0x171fd9(0x365)](_0xd71d37),_0x161690[_0x171fd9(0x3b3)]=_0x30c665[_0x171fd9(0x29c)](_0xd71d37);}()),_0x791a22[_0x5cb4d9(0x142)];}));}(qe)),qe['exports'];}var ze={'exports':{}},En=ze['exports'],Jt;function pn(){var _0x1cbaaa=_0xbde005;return Jt||(Jt=0x1,function(_0x1875b5,_0x1889c4){(function(_0x33fb72,_0x2c6cb6){var _0x3380e3=_0x3d7d;_0x1875b5[_0x3380e3(0x137)]=_0x2c6cb6(ie());}(En,function(_0x470ce6){(function(){var _0x65ee41=_0x3d7d,_0x47921a=_0x470ce6,_0x4a2590=_0x47921a[_0x65ee41(0x1fd)],_0x477a09=_0x4a2590['Base'],_0x2ede68=_0x47921a['enc'],_0xbeb331=_0x2ede68[_0x65ee41(0x331)],_0x5c9ed0=_0x47921a[_0x65ee41(0x116)];_0x5c9ed0[_0x65ee41(0x15b)]=_0x477a09[_0x65ee41(0x294)]({'init':function(_0x2b35f6,_0x3cd969){var _0x1bfd84=_0x65ee41;_0x2b35f6=this[_0x1bfd84(0x3eb)]=new _0x2b35f6[(_0x1bfd84(0xfe))](),typeof _0x3cd969=='string'&&(_0x3cd969=_0xbeb331['parse'](_0x3cd969));var _0x4dc26f=_0x2b35f6[_0x1bfd84(0x290)],_0x53ba41=_0x4dc26f*0x4;_0x3cd969['sigBytes']>_0x53ba41&&(_0x3cd969=_0x2b35f6['finalize'](_0x3cd969)),_0x3cd969[_0x1bfd84(0x166)]();for(var _0x588be3=this[_0x1bfd84(0x2da)]=_0x3cd969['clone'](),_0x1fee5c=this[_0x1bfd84(0x299)]=_0x3cd969[_0x1bfd84(0x108)](),_0x545b29=_0x588be3[_0x1bfd84(0x1fa)],_0x5d8668=_0x1fee5c[_0x1bfd84(0x1fa)],_0x27ff09=0x0;_0x27ff09<_0x4dc26f;_0x27ff09++)_0x545b29[_0x27ff09]^=0x5c5c5c5c,_0x5d8668[_0x27ff09]^=0x36363636;_0x588be3[_0x1bfd84(0x376)]=_0x1fee5c[_0x1bfd84(0x376)]=_0x53ba41,this[_0x1bfd84(0x2a7)]();},'reset':function(){var _0x3ed896=_0x65ee41,_0xfdbc8a=this[_0x3ed896(0x3eb)];_0xfdbc8a[_0x3ed896(0x2a7)](),_0xfdbc8a[_0x3ed896(0x3c8)](this[_0x3ed896(0x299)]);},'update':function(_0x2c6b43){return this['_hasher']['update'](_0x2c6b43),this;},'finalize':function(_0x1419d6){var _0x2e1e95=_0x65ee41,_0x3a75d8=this['_hasher'],_0x3cedbe=_0x3a75d8[_0x2e1e95(0x37e)](_0x1419d6);_0x3a75d8[_0x2e1e95(0x2a7)]();var _0x2bd7b4=_0x3a75d8[_0x2e1e95(0x37e)](this[_0x2e1e95(0x2da)][_0x2e1e95(0x108)]()[_0x2e1e95(0x2a9)](_0x3cedbe));return _0x2bd7b4;}});}());}));}(ze)),ze[_0x1cbaaa(0x137)];}var mn=Ke[_0xbde005(0x137)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x26307a,_0x1dec52){(function(_0x3951d6,_0x46250f,_0xc0d102){var _0x57bfde=_0x3d7d;_0x26307a[_0x57bfde(0x137)]=_0x46250f(ie(),vn(),pn());}(mn,function(_0x4b824c){return(function(){var _0x2afb0e=_0x3d7d,_0x19bbc0=_0x4b824c,_0x8ae9fb=_0x19bbc0[_0x2afb0e(0x1fd)],_0x2a4a2d=_0x8ae9fb[_0x2afb0e(0x103)],_0x4b6c22=_0x8ae9fb[_0x2afb0e(0x1ec)],_0x266b36=_0x19bbc0['algo'],_0x2c7079=_0x266b36[_0x2afb0e(0x243)],_0x30bc0b=_0x266b36[_0x2afb0e(0x2b3)]=_0x2a4a2d[_0x2afb0e(0x294)]({'cfg':_0x2a4a2d[_0x2afb0e(0x294)]({'keySize':0x80/0x20,'hasher':_0x2c7079,'iterations':0x1}),'init':function(_0xfcbb9f){var _0x3d8a53=_0x2afb0e;this[_0x3d8a53(0x403)]=this[_0x3d8a53(0x403)][_0x3d8a53(0x294)](_0xfcbb9f);},'compute':function(_0x44e6d9,_0x17b158){var _0x1b2910=_0x2afb0e;for(var _0x43390b,_0x2848e7=this['cfg'],_0x38a604=_0x2848e7[_0x1b2910(0x1fc)][_0x1b2910(0x1ac)](),_0x25353f=_0x4b6c22[_0x1b2910(0x1ac)](),_0x441c91=_0x25353f[_0x1b2910(0x1fa)],_0xc82340=_0x2848e7[_0x1b2910(0x3d3)],_0x106c6d=_0x2848e7['iterations'];_0x441c91[_0x1b2910(0x372)]<_0xc82340;){_0x43390b&&_0x38a604['update'](_0x43390b),_0x43390b=_0x38a604[_0x1b2910(0x3c8)](_0x44e6d9)[_0x1b2910(0x37e)](_0x17b158),_0x38a604['reset']();for(var _0x4db677=0x1;_0x4db677<_0x106c6d;_0x4db677++)_0x43390b=_0x38a604[_0x1b2910(0x37e)](_0x43390b),_0x38a604[_0x1b2910(0x2a7)]();_0x25353f[_0x1b2910(0x2a9)](_0x43390b);}return _0x25353f[_0x1b2910(0x376)]=_0xc82340*0x4,_0x25353f;}});_0x19bbc0[_0x2afb0e(0x2b3)]=function(_0x466979,_0x39dec0,_0x20b664){var _0x467895=_0x2afb0e;return _0x30bc0b['create'](_0x20b664)[_0x467895(0x1ca)](_0x466979,_0x39dec0);};}()),_0x4b824c['EvpKDF'];}));}(Ke)),Ke['exports'];}var Xe={'exports':{}},In=Xe[_0xbde005(0x137)],Qt;function bi(){return Qt||(Qt=0x1,function(_0xbe61a6,_0x201e4e){(function(_0x3c27ce,_0x37915a,_0x12bead){var _0x3803d5=_0x3d7d;_0xbe61a6[_0x3803d5(0x137)]=_0x37915a(ie(),Ci());}(In,function(_0x3c9f50){var _0x3ec4b4=_0x3d7d;_0x3c9f50[_0x3ec4b4(0x1fd)][_0x3ec4b4(0x28f)]||function(_0x19d04c){var _0x12372d=_0x3ec4b4,_0x257eea=_0x3c9f50,_0x319ebd=_0x257eea[_0x12372d(0x1fd)],_0x28cd25=_0x319ebd[_0x12372d(0x103)],_0x35c8c7=_0x319ebd[_0x12372d(0x1ec)],_0x249474=_0x319ebd[_0x12372d(0x204)],_0x510522=_0x257eea[_0x12372d(0x29e)];_0x510522[_0x12372d(0x331)];var _0x536a34=_0x510522[_0x12372d(0x197)],_0xf34cfd=_0x257eea[_0x12372d(0x116)],_0x13a982=_0xf34cfd['EvpKDF'],_0x44371a=_0x319ebd['Cipher']=_0x249474['extend']({'cfg':_0x28cd25['extend'](),'createEncryptor':function(_0x4ce171,_0x26074c){return this['create'](this['_ENC_XFORM_MODE'],_0x4ce171,_0x26074c);},'createDecryptor':function(_0xa1cdd,_0x347398){var _0x16731a=_0x12372d;return this[_0x16731a(0x1ac)](this[_0x16731a(0x3d5)],_0xa1cdd,_0x347398);},'init':function(_0x5e1849,_0x5e4cf1,_0x468a04){var _0x9d5fc2=_0x12372d;this[_0x9d5fc2(0x403)]=this[_0x9d5fc2(0x403)][_0x9d5fc2(0x294)](_0x468a04),this[_0x9d5fc2(0x151)]=_0x5e1849,this[_0x9d5fc2(0x23c)]=_0x5e4cf1,this[_0x9d5fc2(0x2a7)]();},'reset':function(){var _0x36d47c=_0x12372d;_0x249474[_0x36d47c(0x2a7)][_0x36d47c(0x122)](this),this[_0x36d47c(0x30c)]();},'process':function(_0x17dc7b){var _0x371f4a=_0x12372d;return this[_0x371f4a(0x360)](_0x17dc7b),this[_0x371f4a(0x165)]();},'finalize':function(_0x279ad2){var _0x40a4d8=_0x12372d;_0x279ad2&&this['_append'](_0x279ad2);var _0x3eacd8=this[_0x40a4d8(0x412)]();return _0x3eacd8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4db117(_0x2fea8c){var _0x24085c=_0x3d7d;return typeof _0x2fea8c==_0x24085c(0x323)?_0x1f01f7:_0x3822a5;}return function(_0x4076c9){return{'encrypt':function(_0x502405,_0x554705,_0x308ebd){var _0xf57f29=_0x3d7d;return _0x4db117(_0x554705)[_0xf57f29(0x19e)](_0x4076c9,_0x502405,_0x554705,_0x308ebd);},'decrypt':function(_0xb22ca6,_0x2d7056,_0x12f71e){var _0x5783f5=_0x3d7d;return _0x4db117(_0x2d7056)[_0x5783f5(0x3ea)](_0x4076c9,_0xb22ca6,_0x2d7056,_0x12f71e);}};};}())});_0x319ebd[_0x12372d(0x1db)]=_0x44371a[_0x12372d(0x294)]({'_doFinalize':function(){var _0x7f8327=_0x12372d,_0x217797=this[_0x7f8327(0x165)](!0x0);return _0x217797;},'blockSize':0x1});var _0x4600af=_0x257eea[_0x12372d(0x359)]={},_0x54a9bd=_0x319ebd[_0x12372d(0x1bf)]=_0x28cd25[_0x12372d(0x294)]({'createEncryptor':function(_0x4446e9,_0x309234){var _0xd6eb90=_0x12372d;return this[_0xd6eb90(0x10f)][_0xd6eb90(0x1ac)](_0x4446e9,_0x309234);},'createDecryptor':function(_0x5614dc,_0x35d585){var _0x4be34c=_0x12372d;return this[_0x4be34c(0x205)][_0x4be34c(0x1ac)](_0x5614dc,_0x35d585);},'init':function(_0x210b2b,_0x50c29f){var _0x450ab6=_0x12372d;this[_0x450ab6(0x17f)]=_0x210b2b,this[_0x450ab6(0x12f)]=_0x50c29f;}}),_0x31f025=_0x4600af[_0x12372d(0x222)]=(function(){var _0x4ef9b4=_0x12372d,_0x355ee5=_0x54a9bd[_0x4ef9b4(0x294)]();_0x355ee5[_0x4ef9b4(0x10f)]=_0x355ee5[_0x4ef9b4(0x294)]({'processBlock':function(_0x1aef40,_0x1e8443){var _0x34d463=_0x4ef9b4,_0x9cfb2a=this[_0x34d463(0x17f)],_0x2e184a=_0x9cfb2a[_0x34d463(0x290)];_0x1e23c6[_0x34d463(0x122)](this,_0x1aef40,_0x1e8443,_0x2e184a),_0x9cfb2a[_0x34d463(0x406)](_0x1aef40,_0x1e8443),this['_prevBlock']=_0x1aef40['slice'](_0x1e8443,_0x1e8443+_0x2e184a);}}),_0x355ee5[_0x4ef9b4(0x205)]=_0x355ee5[_0x4ef9b4(0x294)]({'processBlock':function(_0x167e48,_0x2d4e9c){var _0x5f172f=_0x4ef9b4,_0x5d0170=this[_0x5f172f(0x17f)],_0x97cc8c=_0x5d0170[_0x5f172f(0x290)],_0x4b4046=_0x167e48[_0x5f172f(0x38f)](_0x2d4e9c,_0x2d4e9c+_0x97cc8c);_0x5d0170['decryptBlock'](_0x167e48,_0x2d4e9c),_0x1e23c6[_0x5f172f(0x122)](this,_0x167e48,_0x2d4e9c,_0x97cc8c),this['_prevBlock']=_0x4b4046;}});function _0x1e23c6(_0x166ccf,_0x476ef4,_0x361760){var _0xf7c4c9=_0x4ef9b4,_0x338733,_0x573db3=this[_0xf7c4c9(0x12f)];_0x573db3?(_0x338733=_0x573db3,this[_0xf7c4c9(0x12f)]=_0x19d04c):_0x338733=this[_0xf7c4c9(0x3d4)];for(var _0x293299=0x0;_0x293299<_0x361760;_0x293299++)_0x166ccf[_0x476ef4+_0x293299]^=_0x338733[_0x293299];}return _0x355ee5;}()),_0x59690b=_0x257eea['pad']={},_0x10aa5e=_0x59690b[_0x12372d(0x22b)]={'pad':function(_0x147b2a,_0x4a912c){var _0x567684=_0x12372d;for(var _0x2207f1=_0x4a912c*0x4,_0xc099ad=_0x2207f1-_0x147b2a['sigBytes']%_0x2207f1,_0x3db16f=_0xc099ad<<0x18|_0xc099ad<<0x10|_0xc099ad<<0x8|_0xc099ad,_0xe95187=[],_0x2b6bdd=0x0;_0x2b6bdd<_0xc099ad;_0x2b6bdd+=0x4)_0xe95187[_0x567684(0x38b)](_0x3db16f);var _0x2ff13e=_0x35c8c7['create'](_0xe95187,_0xc099ad);_0x147b2a[_0x567684(0x2a9)](_0x2ff13e);},'unpad':function(_0x4719cb){var _0x5a8184=_0x12372d,_0x501d4d=_0x4719cb[_0x5a8184(0x1fa)][_0x4719cb[_0x5a8184(0x376)]-0x1>>>0x2]&0xff;_0x4719cb[_0x5a8184(0x376)]-=_0x501d4d;}};_0x319ebd['BlockCipher']=_0x44371a[_0x12372d(0x294)]({'cfg':_0x44371a['cfg'][_0x12372d(0x294)]({'mode':_0x31f025,'padding':_0x10aa5e}),'reset':function(){var _0x1dc4c=_0x12372d,_0x105298;_0x44371a[_0x1dc4c(0x2a7)][_0x1dc4c(0x122)](this);var _0xf648eb=this[_0x1dc4c(0x403)],_0x131a19=_0xf648eb['iv'],_0x556bda=_0xf648eb[_0x1dc4c(0x359)];this['_xformMode']==this[_0x1dc4c(0x352)]?_0x105298=_0x556bda[_0x1dc4c(0x106)]:(_0x105298=_0x556bda[_0x1dc4c(0x339)],this[_0x1dc4c(0x301)]=0x1),this[_0x1dc4c(0x2e2)]&&this['_mode']['__creator']==_0x105298?this[_0x1dc4c(0x2e2)]['init'](this,_0x131a19&&_0x131a19[_0x1dc4c(0x1fa)]):(this[_0x1dc4c(0x2e2)]=_0x105298[_0x1dc4c(0x122)](_0x556bda,this,_0x131a19&&_0x131a19[_0x1dc4c(0x1fa)]),this[_0x1dc4c(0x2e2)][_0x1dc4c(0x362)]=_0x105298);},'_doProcessBlock':function(_0x38959f,_0xdb985c){var _0x34a208=_0x12372d;this[_0x34a208(0x2e2)][_0x34a208(0x2f0)](_0x38959f,_0xdb985c);},'_doFinalize':function(){var _0x12c0ad=_0x12372d,_0x2b05a2,_0x502b2f=this[_0x12c0ad(0x403)]['padding'];return this[_0x12c0ad(0x151)]==this[_0x12c0ad(0x352)]?(_0x502b2f[_0x12c0ad(0x279)](this[_0x12c0ad(0x149)],this['blockSize']),_0x2b05a2=this[_0x12c0ad(0x165)](!0x0)):(_0x2b05a2=this[_0x12c0ad(0x165)](!0x0),_0x502b2f[_0x12c0ad(0x249)](_0x2b05a2)),_0x2b05a2;},'blockSize':0x80/0x20});var _0x4af343=_0x319ebd['CipherParams']=_0x28cd25[_0x12372d(0x294)]({'init':function(_0x12c707){var _0x442052=_0x12372d;this[_0x442052(0x21d)](_0x12c707);},'toString':function(_0x269bdd){var _0x30423f=_0x12372d;return(_0x269bdd||this['formatter'])[_0x30423f(0x40c)](this);}}),_0x36a545=_0x257eea[_0x12372d(0x37b)]={},_0x241799=_0x36a545[_0x12372d(0x239)]={'stringify':function(_0x13875f){var _0x5ee28f=_0x12372d,_0x2c5916,_0x156c7c=_0x13875f[_0x5ee28f(0x317)],_0x1ec342=_0x13875f['salt'];return _0x1ec342?_0x2c5916=_0x35c8c7[_0x5ee28f(0x1ac)]([0x53616c74,0x65645f5f])[_0x5ee28f(0x2a9)](_0x1ec342)[_0x5ee28f(0x2a9)](_0x156c7c):_0x2c5916=_0x156c7c,_0x2c5916[_0x5ee28f(0x10d)](_0x536a34);},'parse':function(_0xb4389){var _0x341100=_0x12372d,_0x52c120,_0x33cf87=_0x536a34[_0x341100(0x371)](_0xb4389),_0x45089e=_0x33cf87['words'];return _0x45089e[0x0]==0x53616c74&&_0x45089e[0x1]==0x65645f5f&&(_0x52c120=_0x35c8c7[_0x341100(0x1ac)](_0x45089e[_0x341100(0x38f)](0x2,0x4)),_0x45089e[_0x341100(0x26f)](0x0,0x4),_0x33cf87[_0x341100(0x376)]-=0x10),_0x4af343[_0x341100(0x1ac)]({'ciphertext':_0x33cf87,'salt':_0x52c120});}},_0x3822a5=_0x319ebd[_0x12372d(0x17c)]=_0x28cd25[_0x12372d(0x294)]({'cfg':_0x28cd25[_0x12372d(0x294)]({'format':_0x241799}),'encrypt':function(_0x2d083c,_0x148e8f,_0x295e3b,_0x408f58){var _0x4adc5d=_0x12372d;_0x408f58=this['cfg'][_0x4adc5d(0x294)](_0x408f58);var _0x5112d0=_0x2d083c[_0x4adc5d(0x106)](_0x295e3b,_0x408f58),_0x16c196=_0x5112d0[_0x4adc5d(0x37e)](_0x148e8f),_0x579269=_0x5112d0[_0x4adc5d(0x403)];return _0x4af343['create']({'ciphertext':_0x16c196,'key':_0x295e3b,'iv':_0x579269['iv'],'algorithm':_0x2d083c,'mode':_0x579269[_0x4adc5d(0x359)],'padding':_0x579269[_0x4adc5d(0x155)],'blockSize':_0x2d083c[_0x4adc5d(0x290)],'formatter':_0x408f58['format']});},'decrypt':function(_0x5d9b9c,_0x1603d1,_0x4a431d,_0x6fc788){var _0x3974f2=_0x12372d;_0x6fc788=this[_0x3974f2(0x403)][_0x3974f2(0x294)](_0x6fc788),_0x1603d1=this[_0x3974f2(0x119)](_0x1603d1,_0x6fc788['format']);var _0x583e99=_0x5d9b9c[_0x3974f2(0x339)](_0x4a431d,_0x6fc788)['finalize'](_0x1603d1[_0x3974f2(0x317)]);return _0x583e99;},'_parse':function(_0x259339,_0x1a510c){var _0x5b244f=_0x12372d;return typeof _0x259339==_0x5b244f(0x323)?_0x1a510c[_0x5b244f(0x371)](_0x259339,this):_0x259339;}}),_0x6aff8c=_0x257eea[_0x12372d(0x356)]={},_0xac985=_0x6aff8c['OpenSSL']={'execute':function(_0x5307a8,_0x232630,_0x3d0b27,_0x84684d,_0x5449f5){var _0x7035fb=_0x12372d;if(_0x84684d||(_0x84684d=_0x35c8c7[_0x7035fb(0x25c)](0x40/0x8)),_0x5449f5)var _0xc2b45b=_0x13a982[_0x7035fb(0x1ac)]({'keySize':_0x232630+_0x3d0b27,'hasher':_0x5449f5})[_0x7035fb(0x1ca)](_0x5307a8,_0x84684d);else var _0xc2b45b=_0x13a982[_0x7035fb(0x1ac)]({'keySize':_0x232630+_0x3d0b27})[_0x7035fb(0x1ca)](_0x5307a8,_0x84684d);var _0x4a3f41=_0x35c8c7[_0x7035fb(0x1ac)](_0xc2b45b[_0x7035fb(0x1fa)][_0x7035fb(0x38f)](_0x232630),_0x3d0b27*0x4);return _0xc2b45b[_0x7035fb(0x376)]=_0x232630*0x4,_0x4af343[_0x7035fb(0x1ac)]({'key':_0xc2b45b,'iv':_0x4a3f41,'salt':_0x84684d});}},_0x1f01f7=_0x319ebd['PasswordBasedCipher']=_0x3822a5['extend']({'cfg':_0x3822a5[_0x12372d(0x403)]['extend']({'kdf':_0xac985}),'encrypt':function(_0x15accf,_0x4aed61,_0x312b16,_0x4d0d09){var _0x5d124f=_0x12372d;_0x4d0d09=this[_0x5d124f(0x403)][_0x5d124f(0x294)](_0x4d0d09);var _0x2d399d=_0x4d0d09[_0x5d124f(0x356)]['execute'](_0x312b16,_0x15accf[_0x5d124f(0x3d3)],_0x15accf[_0x5d124f(0x1b3)],_0x4d0d09[_0x5d124f(0xfc)],_0x4d0d09[_0x5d124f(0x1fc)]);_0x4d0d09['iv']=_0x2d399d['iv'];var _0x4339f9=_0x3822a5[_0x5d124f(0x19e)][_0x5d124f(0x122)](this,_0x15accf,_0x4aed61,_0x2d399d['key'],_0x4d0d09);return _0x4339f9[_0x5d124f(0x21d)](_0x2d399d),_0x4339f9;},'decrypt':function(_0x400083,_0x242b81,_0x406b9f,_0x82ebec){var _0x56f8a6=_0x12372d;_0x82ebec=this[_0x56f8a6(0x403)][_0x56f8a6(0x294)](_0x82ebec),_0x242b81=this[_0x56f8a6(0x119)](_0x242b81,_0x82ebec[_0x56f8a6(0x37b)]);var _0x189e35=_0x82ebec['kdf'][_0x56f8a6(0x2b8)](_0x406b9f,_0x400083[_0x56f8a6(0x3d3)],_0x400083[_0x56f8a6(0x1b3)],_0x242b81['salt'],_0x82ebec[_0x56f8a6(0x1fc)]);_0x82ebec['iv']=_0x189e35['iv'];var _0x178a2a=_0x3822a5[_0x56f8a6(0x3ea)][_0x56f8a6(0x122)](this,_0x400083,_0x242b81,_0x189e35['key'],_0x82ebec);return _0x178a2a;}});}();}));}(Xe)),Xe['exports'];}var Sn=Ve[_0xbde005(0x137)],ei;function gn(){var _0x743dcb=_0xbde005;return ei||(ei=0x1,function(_0x40befa,_0x5ab669){(function(_0x1660a3,_0x404dc8,_0x238902){var _0x4531e9=_0x3d7d;_0x40befa[_0x4531e9(0x137)]=_0x404dc8(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0xd82e02){return(function(){var _0x5fbd38=_0x3d7d,_0x4db0e0=_0xd82e02,_0x355bd4=_0x4db0e0['lib'],_0x404984=_0x355bd4[_0x5fbd38(0x27f)],_0x3a5e83=_0x4db0e0['algo'],_0x87b808=[],_0x37dd1e=[],_0x245957=[],_0x4e4526=[],_0x4c0d08=[],_0x29c8a9=[],_0x176035=[],_0x3081db=[],_0xff106e=[],_0x5a58c4=[];(function(){for(var _0x145756=[],_0x302f15=0x0;_0x302f15<0x100;_0x302f15++)_0x302f15<0x80?_0x145756[_0x302f15]=_0x302f15<<0x1:_0x145756[_0x302f15]=_0x302f15<<0x1^0x11b;for(var _0x11c9d7=0x0,_0x3bb7e2=0x0,_0x302f15=0x0;_0x302f15<0x100;_0x302f15++){var _0x3bc33f=_0x3bb7e2^_0x3bb7e2<<0x1^_0x3bb7e2<<0x2^_0x3bb7e2<<0x3^_0x3bb7e2<<0x4;_0x3bc33f=_0x3bc33f>>>0x8^_0x3bc33f&0xff^0x63,_0x87b808[_0x11c9d7]=_0x3bc33f,_0x37dd1e[_0x3bc33f]=_0x11c9d7;var _0x2dd148=_0x145756[_0x11c9d7],_0x4f9720=_0x145756[_0x2dd148],_0x573d7d=_0x145756[_0x4f9720],_0x1d15e7=_0x145756[_0x3bc33f]*0x101^_0x3bc33f*0x1010100;_0x245957[_0x11c9d7]=_0x1d15e7<<0x18|_0x1d15e7>>>0x8,_0x4e4526[_0x11c9d7]=_0x1d15e7<<0x10|_0x1d15e7>>>0x10,_0x4c0d08[_0x11c9d7]=_0x1d15e7<<0x8|_0x1d15e7>>>0x18,_0x29c8a9[_0x11c9d7]=_0x1d15e7;var _0x1d15e7=_0x573d7d*0x1010101^_0x4f9720*0x10001^_0x2dd148*0x101^_0x11c9d7*0x1010100;_0x176035[_0x3bc33f]=_0x1d15e7<<0x18|_0x1d15e7>>>0x8,_0x3081db[_0x3bc33f]=_0x1d15e7<<0x10|_0x1d15e7>>>0x10,_0xff106e[_0x3bc33f]=_0x1d15e7<<0x8|_0x1d15e7>>>0x18,_0x5a58c4[_0x3bc33f]=_0x1d15e7,_0x11c9d7?(_0x11c9d7=_0x2dd148^_0x145756[_0x145756[_0x145756[_0x573d7d^_0x2dd148]]],_0x3bb7e2^=_0x145756[_0x145756[_0x3bb7e2]]):_0x11c9d7=_0x3bb7e2=0x1;}}());var _0x232759=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x562cb7=_0x3a5e83[_0x5fbd38(0x3df)]=_0x404984[_0x5fbd38(0x294)]({'_doReset':function(){var _0x30ac7a=_0x5fbd38,_0x4a3bb1;if(!(this[_0x30ac7a(0x1ed)]&&this[_0x30ac7a(0x3cd)]===this[_0x30ac7a(0x23c)])){for(var _0x16becd=this['_keyPriorReset']=this[_0x30ac7a(0x23c)],_0x2b9dce=_0x16becd[_0x30ac7a(0x1fa)],_0x4e8feb=_0x16becd[_0x30ac7a(0x376)]/0x4,_0x2383bc=this[_0x30ac7a(0x1ed)]=_0x4e8feb+0x6,_0x5d2cc3=(_0x2383bc+0x1)*0x4,_0x3717e8=this['_keySchedule']=[],_0x1804c2=0x0;_0x1804c2<_0x5d2cc3;_0x1804c2++)_0x1804c2<_0x4e8feb?_0x3717e8[_0x1804c2]=_0x2b9dce[_0x1804c2]:(_0x4a3bb1=_0x3717e8[_0x1804c2-0x1],_0x1804c2%_0x4e8feb?_0x4e8feb>0x6&&_0x1804c2%_0x4e8feb==0x4&&(_0x4a3bb1=_0x87b808[_0x4a3bb1>>>0x18]<<0x18|_0x87b808[_0x4a3bb1>>>0x10&0xff]<<0x10|_0x87b808[_0x4a3bb1>>>0x8&0xff]<<0x8|_0x87b808[_0x4a3bb1&0xff]):(_0x4a3bb1=_0x4a3bb1<<0x8|_0x4a3bb1>>>0x18,_0x4a3bb1=_0x87b808[_0x4a3bb1>>>0x18]<<0x18|_0x87b808[_0x4a3bb1>>>0x10&0xff]<<0x10|_0x87b808[_0x4a3bb1>>>0x8&0xff]<<0x8|_0x87b808[_0x4a3bb1&0xff],_0x4a3bb1^=_0x232759[_0x1804c2/_0x4e8feb|0x0]<<0x18),_0x3717e8[_0x1804c2]=_0x3717e8[_0x1804c2-_0x4e8feb]^_0x4a3bb1);for(var _0x460b25=this['_invKeySchedule']=[],_0xe6ce24=0x0;_0xe6ce24<_0x5d2cc3;_0xe6ce24++){var _0x1804c2=_0x5d2cc3-_0xe6ce24;if(_0xe6ce24%0x4)var _0x4a3bb1=_0x3717e8[_0x1804c2];else var _0x4a3bb1=_0x3717e8[_0x1804c2-0x4];_0xe6ce24<0x4||_0x1804c2<=0x4?_0x460b25[_0xe6ce24]=_0x4a3bb1:_0x460b25[_0xe6ce24]=_0x176035[_0x87b808[_0x4a3bb1>>>0x18]]^_0x3081db[_0x87b808[_0x4a3bb1>>>0x10&0xff]]^_0xff106e[_0x87b808[_0x4a3bb1>>>0x8&0xff]]^_0x5a58c4[_0x87b808[_0x4a3bb1&0xff]];}}},'encryptBlock':function(_0x2f17e6,_0x5270d6){var _0x27c037=_0x5fbd38;this[_0x27c037(0x2ca)](_0x2f17e6,_0x5270d6,this[_0x27c037(0x283)],_0x245957,_0x4e4526,_0x4c0d08,_0x29c8a9,_0x87b808);},'decryptBlock':function(_0x4b7fcd,_0x22b67a){var _0x5a6018=_0x5fbd38,_0x8ab70a=_0x4b7fcd[_0x22b67a+0x1];_0x4b7fcd[_0x22b67a+0x1]=_0x4b7fcd[_0x22b67a+0x3],_0x4b7fcd[_0x22b67a+0x3]=_0x8ab70a,this[_0x5a6018(0x2ca)](_0x4b7fcd,_0x22b67a,this[_0x5a6018(0x2a2)],_0x176035,_0x3081db,_0xff106e,_0x5a58c4,_0x37dd1e);var _0x8ab70a=_0x4b7fcd[_0x22b67a+0x1];_0x4b7fcd[_0x22b67a+0x1]=_0x4b7fcd[_0x22b67a+0x3],_0x4b7fcd[_0x22b67a+0x3]=_0x8ab70a;},'_doCryptBlock':function(_0x3975a,_0x48a72,_0x2c385b,_0x5aa390,_0x464758,_0x31ea7e,_0x82bde6,_0x282ce4){var _0x3c6059=_0x5fbd38;for(var _0x1a458a=this[_0x3c6059(0x1ed)],_0x5d26d2=_0x3975a[_0x48a72]^_0x2c385b[0x0],_0x43e901=_0x3975a[_0x48a72+0x1]^_0x2c385b[0x1],_0x3f26ed=_0x3975a[_0x48a72+0x2]^_0x2c385b[0x2],_0x493baa=_0x3975a[_0x48a72+0x3]^_0x2c385b[0x3],_0x1bfb1c=0x4,_0x20f4c3=0x1;_0x20f4c3<_0x1a458a;_0x20f4c3++){var _0x418212=_0x5aa390[_0x5d26d2>>>0x18]^_0x464758[_0x43e901>>>0x10&0xff]^_0x31ea7e[_0x3f26ed>>>0x8&0xff]^_0x82bde6[_0x493baa&0xff]^_0x2c385b[_0x1bfb1c++],_0x1248fb=_0x5aa390[_0x43e901>>>0x18]^_0x464758[_0x3f26ed>>>0x10&0xff]^_0x31ea7e[_0x493baa>>>0x8&0xff]^_0x82bde6[_0x5d26d2&0xff]^_0x2c385b[_0x1bfb1c++],_0x52e2f3=_0x5aa390[_0x3f26ed>>>0x18]^_0x464758[_0x493baa>>>0x10&0xff]^_0x31ea7e[_0x5d26d2>>>0x8&0xff]^_0x82bde6[_0x43e901&0xff]^_0x2c385b[_0x1bfb1c++],_0x5cf966=_0x5aa390[_0x493baa>>>0x18]^_0x464758[_0x5d26d2>>>0x10&0xff]^_0x31ea7e[_0x43e901>>>0x8&0xff]^_0x82bde6[_0x3f26ed&0xff]^_0x2c385b[_0x1bfb1c++];_0x5d26d2=_0x418212,_0x43e901=_0x1248fb,_0x3f26ed=_0x52e2f3,_0x493baa=_0x5cf966;}var _0x418212=(_0x282ce4[_0x5d26d2>>>0x18]<<0x18|_0x282ce4[_0x43e901>>>0x10&0xff]<<0x10|_0x282ce4[_0x3f26ed>>>0x8&0xff]<<0x8|_0x282ce4[_0x493baa&0xff])^_0x2c385b[_0x1bfb1c++],_0x1248fb=(_0x282ce4[_0x43e901>>>0x18]<<0x18|_0x282ce4[_0x3f26ed>>>0x10&0xff]<<0x10|_0x282ce4[_0x493baa>>>0x8&0xff]<<0x8|_0x282ce4[_0x5d26d2&0xff])^_0x2c385b[_0x1bfb1c++],_0x52e2f3=(_0x282ce4[_0x3f26ed>>>0x18]<<0x18|_0x282ce4[_0x493baa>>>0x10&0xff]<<0x10|_0x282ce4[_0x5d26d2>>>0x8&0xff]<<0x8|_0x282ce4[_0x43e901&0xff])^_0x2c385b[_0x1bfb1c++],_0x5cf966=(_0x282ce4[_0x493baa>>>0x18]<<0x18|_0x282ce4[_0x5d26d2>>>0x10&0xff]<<0x10|_0x282ce4[_0x43e901>>>0x8&0xff]<<0x8|_0x282ce4[_0x3f26ed&0xff])^_0x2c385b[_0x1bfb1c++];_0x3975a[_0x48a72]=_0x418212,_0x3975a[_0x48a72+0x1]=_0x1248fb,_0x3975a[_0x48a72+0x2]=_0x52e2f3,_0x3975a[_0x48a72+0x3]=_0x5cf966;},'keySize':0x100/0x20});_0x4db0e0[_0x5fbd38(0x3df)]=_0x404984[_0x5fbd38(0x365)](_0x562cb7);}()),_0xd82e02['AES'];}));}(Ve)),Ve[_0x743dcb(0x137)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0xbde005(0x137)],ii;function Cn(){var _0x306637=_0xbde005;return ii||(ii=0x1,function(_0xc94365,_0x9b47a7){(function(_0x36f75c,_0x2d790a){var _0x430855=_0x3d7d;_0xc94365[_0x430855(0x137)]=_0x2d790a(ie());}(Nn,function(_0x2d20ec){var _0x326c2d=_0x3d7d;return _0x2d20ec[_0x326c2d(0x29e)][_0x326c2d(0x331)];}));}(Je)),Je[_0x306637(0x137)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze['exports'],si;function Un(){return si||(si=0x1,function(_0x937c5d,_0x1b8b45){(function(_0x986d58,_0x34da93){var _0x9a38a8=_0x3d7d;_0x937c5d[_0x9a38a8(0x137)]=_0x34da93(ie());}(yn,function(_0x3312a0){var _0x987c7d=_0x3d7d;return(function(){var _0x4bd5dd=_0x3d7d;if(typeof ArrayBuffer==_0x4bd5dd(0x1c4)){var _0x40cc7d=_0x3312a0,_0x5c2fa0=_0x40cc7d[_0x4bd5dd(0x1fd)],_0x21f52b=_0x5c2fa0[_0x4bd5dd(0x1ec)],_0x299d18=_0x21f52b[_0x4bd5dd(0xfe)],_0x1b4dda=_0x21f52b[_0x4bd5dd(0xfe)]=function(_0xad83fb){var _0x52cc2d=_0x4bd5dd;if(_0xad83fb instanceof ArrayBuffer&&(_0xad83fb=new Uint8Array(_0xad83fb)),(_0xad83fb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xad83fb instanceof Uint8ClampedArray||_0xad83fb instanceof Int16Array||_0xad83fb instanceof Uint16Array||_0xad83fb instanceof Int32Array||_0xad83fb instanceof Uint32Array||_0xad83fb instanceof Float32Array||_0xad83fb instanceof Float64Array)&&(_0xad83fb=new Uint8Array(_0xad83fb[_0x52cc2d(0x214)],_0xad83fb[_0x52cc2d(0x1b1)],_0xad83fb[_0x52cc2d(0x3de)])),_0xad83fb instanceof Uint8Array){for(var _0xf69fa5=_0xad83fb[_0x52cc2d(0x3de)],_0x2afa17=[],_0x4b2829=0x0;_0x4b2829<_0xf69fa5;_0x4b2829++)_0x2afa17[_0x4b2829>>>0x2]|=_0xad83fb[_0x4b2829]<<0x18-_0x4b2829%0x4*0x8;_0x299d18[_0x52cc2d(0x122)](this,_0x2afa17,_0xf69fa5);}else _0x299d18['apply'](this,arguments);};_0x1b4dda[_0x4bd5dd(0x36b)]=_0x21f52b;}}()),_0x3312a0['lib'][_0x987c7d(0x1ec)];}));}(Ze)),Ze['exports'];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0xbde005(0x137)],ni;function Ln(){var _0x59e633=_0xbde005;return ni||(ni=0x1,function(_0x4ae133,_0x319e75){(function(_0x12db47,_0x28edf0,_0x4872b1){var _0x2eb589=_0x3d7d;_0x4ae133[_0x2eb589(0x137)]=_0x28edf0(ie(),bi());}(wn,function(_0x4161fa){var _0xddd42=_0x3d7d;return _0x4161fa[_0xddd42(0x279)][_0xddd42(0x257)]={'pad':function(){},'unpad':function(){}},_0x4161fa[_0xddd42(0x279)][_0xddd42(0x257)];}));}(Qe)),Qe[_0x59e633(0x137)];}var Mn=Ln();const xn=$e(Mn);function kn(_0x3189c6,_0x107482){var _0x23858d=_0xbde005;const _0x2d2aea=_0x107482-_0x3189c6[_0x23858d(0x372)]%_0x107482,_0x2c4e09=String['fromCharCode'](_0x2d2aea)[_0x23858d(0x181)](_0x2d2aea);return _0x3189c6+_0x2c4e09;}function $n(_0x4b6928,_0x5e20f1){var _0x4dc544=_0xbde005;const _0x423014=Pn[_0x4dc544(0x25c)](0x10),_0x289b96=kn(_0x4b6928,0x10),_0x2280b5=On[_0x4dc544(0x19e)](Dn[_0x4dc544(0x371)](_0x289b96),ti[_0x4dc544(0x371)](_0x5e20f1),{'iv':_0x423014,'padding':xn});return _0x423014['concat'](_0x2280b5['ciphertext'])['toString'](ti);}function Hn(){var _0x8b4528=_0xbde005;const _0x3d1246=_0x59a00f()[_0x8b4528(0x36d)];if(typeof window<'u'&&typeof window['location']<'u'&&_0x3d1246){const _0x5030fb={'time':Math[_0x8b4528(0x162)](Date[_0x8b4528(0x268)]()/0x3e8),'domain':location[_0x8b4528(0x3b1)]};return $n(JSON[_0x8b4528(0x40c)](_0x5030fb),_0x3d1246);}}var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x2f5839,_0x3b294a,_0x261e77,_0xe17325)=>{for(var _0x199481=_0xe17325>0x1?void 0x0:_0xe17325?Bn(_0x3b294a,_0x261e77):_0x3b294a,_0x4c9188=_0x2f5839['length']-0x1,_0x5b8c33;_0x4c9188>=0x0;_0x4c9188--)(_0x5b8c33=_0x2f5839[_0x4c9188])&&(_0x199481=_0x5b8c33(_0x199481)||_0x199481);return _0x199481;},jn=(_0x5bee6a,_0x589f9a)=>(_0x100cee,_0x37008c)=>_0x589f9a(_0x100cee,_0x37008c,_0x5bee6a);let at=class{constructor(_0x1e5940){var _0x35a6cc=_0xbde005;this[_0x35a6cc(0x163)]=_0x1e5940,this[_0x35a6cc(0x191)]();}[_0xbde005(0x191)](){var _0x45c9f3=_0xbde005;this[_0x45c9f3(0x163)][_0x45c9f3(0x2d5)]({'interceptor':(_0x1aa776,_0xc76006)=>{var _0x3b82e3=_0x45c9f3;const _0xa644c1=_0x1aa776[_0x3b82e3(0x259)],_0xb1d6c0=Hn();return _0xb1d6c0&&_0xa644c1[_0x3b82e3(0x3cf)]('x-univer-host',_0xb1d6c0),_0xc76006(_0x1aa776);}});}};at=Fn([jn(0x0,_0x51e0dc(_0x4583bc))],at);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x163527,_0x52561b,_0x1b595d,_0xacb4c5)=>{for(var _0x51c6b5=_0xacb4c5>0x1?void 0x0:_0xacb4c5?Vn(_0x52561b,_0x1b595d):_0x52561b,_0x14c370=_0x163527['length']-0x1,_0x27a8ac;_0x14c370>=0x0;_0x14c370--)(_0x27a8ac=_0x163527[_0x14c370])&&(_0x51c6b5=_0x27a8ac(_0x51c6b5)||_0x51c6b5);return _0x51c6b5;},vt=(_0x50af0f,_0x4db698)=>(_0x264825,_0xa52814)=>_0x4db698(_0x264825,_0xa52814,_0x50af0f);let Ot=class extends _0x1e895e{constructor(_0xc2b1bc,_0x426648,_0x36aa47){var _0xfb50a8=_0xbde005;super(),D(this,'_unitInfo$',new _0x28d880(null)),D(this,_0xfb50a8(0x3d2),this[_0xfb50a8(0x2dd)]['asObservable']()),(this[_0xfb50a8(0x11d)]=_0xc2b1bc,this[_0xfb50a8(0x3b7)]=_0x426648,this[_0xfb50a8(0x21e)]=_0x36aa47);}async[_0xbde005(0x145)](_0x1d9bd8,_0x3da8d0,_0x40a6cf){var _0x267930=_0xbde005;this[_0x267930(0x2dd)][_0x267930(0x3b6)]({'unitId':_0x1d9bd8,'type':_0x3da8d0});let _0x151d1f=null;switch(_0x3da8d0){case Q['UNIVER_SHEET']:{_0x151d1f=await this[_0x267930(0x3b7)][_0x267930(0x2e3)](_0x1d9bd8,_0x40a6cf);break;}case Q[_0x267930(0x16c)]:{_0x151d1f=await this[_0x267930(0x3b7)][_0x267930(0x2fa)](_0x1d9bd8,_0x40a6cf);break;}default:{this[_0x267930(0x11d)][_0x267930(0x2e4)](_0x267930(0x322),_0x267930(0xf6));break;}}return _0x151d1f;}async['loadUnit'](_0x448265,_0x566be6,_0x4c728b){var _0x548f1b=_0xbde005,_0x3327ef;this[_0x548f1b(0x2dd)][_0x548f1b(0x3b6)]({'unitId':_0x448265,'type':_0x566be6,'subUnitId':_0x4c728b});let _0xda63d9=0x0;const _0x597794=await((_0x3327ef=this[_0x548f1b(0x21e)])==null?void 0x0:_0x3327ef['loadOfflineData'](_0x448265));return _0x597794&&(_0x597794['awaitingChangeset']||_0x597794[_0x548f1b(0x1fe)][_0x548f1b(0x372)]!==0x0)&&(_0xda63d9=_0x597794[_0x548f1b(0x1f0)]),_0xda63d9===0x0&&this[_0x548f1b(0x11d)][_0x548f1b(0x187)](_0x548f1b(0x322),_0x548f1b(0x232)),this['loadUnitOfRevision'](_0x448265,_0x566be6,_0xda63d9);}};Ot=Gn([vt(0x0,_0x9e9972),vt(0x1,_0x51e0dc(_0x45c55f)),vt(0x2,_0x581e15(X))],Ot);var Wn=Object[_0xbde005(0x2eb)],Yn=(_0xc75388,_0x3a3a98,_0x247672,_0x3bfc4e)=>{var _0x3cb615=_0xbde005;for(var _0x38c82b=_0x3bfc4e>0x1?void 0x0:_0x3bfc4e?Wn(_0x3a3a98,_0x247672):_0x3a3a98,_0x310e50=_0xc75388[_0x3cb615(0x372)]-0x1,_0x1691d5;_0x310e50>=0x0;_0x310e50--)(_0x1691d5=_0xc75388[_0x310e50])&&(_0x38c82b=_0x1691d5(_0x38c82b)||_0x38c82b);return _0x38c82b;},Et=(_0x7c396d,_0x4c1efa)=>(_0x385eaa,_0x271eaa)=>_0x4c1efa(_0x385eaa,_0x271eaa,_0x7c396d);const Kn=[_0xbde005(0x1c6),_0xbde005(0x1cc),'image/jpg',_0xbde005(0x326),_0xbde005(0x2f7)],qn=0x5*0x400*0x400,zn=_0xbde005(0xf5),Xn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x35b430,_0x52c5a1,_0xdcf0a1){var _0x196dc0=_0xbde005;D(this,_0x196dc0(0x202),0x0),D(this,'_change$',new _0x5a35f4()),D(this,'change$',this['_change$']),D(this,'_imageSourceCache',new Map()),(this[_0x196dc0(0x163)]=_0x35b430,this[_0x196dc0(0x167)]=_0x52c5a1,this[_0x196dc0(0x291)]=_0xdcf0a1);}[_0xbde005(0x1e1)](_0x351021){var _0x516ac8=_0xbde005;this[_0x516ac8(0x202)]=_0x351021,this[_0x516ac8(0x238)][_0x516ac8(0x3b6)](_0x351021);}[_0xbde005(0x23f)](_0x4c571f,_0x8c4eda){var _0x46f891=_0xbde005;if(_0x8c4eda===_0x32b18a['BASE64']){const _0x2c854f=new Image();return _0x2c854f[_0x46f891(0x3f3)]=_0x4c571f,_0x2c854f;}return this['_imageSourceCache'][_0x46f891(0x164)](_0x4c571f);}[_0xbde005(0x250)](_0x448a48,_0x3d1c2d,_0x220fc3){var _0x17f942=_0xbde005;_0x3d1c2d===_0x32b18a[_0x17f942(0x1f9)]||_0x220fc3==null||this['_imageSourceCache'][_0x17f942(0x3cf)](_0x448a48,_0x220fc3);}async['getImage'](_0x1e5b61){var _0x1125cc=_0xbde005;try{const _0x324309=this[_0x1125cc(0x3c6)](this[_0x1125cc(0x124)](),''+_0x1e5b61),_0x591fd0=(await this['_httpService'][_0x1125cc(0x164)](_0x324309))['body'];if(_0x591fd0[_0x1125cc(0x2e4)]&&_0x591fd0[_0x1125cc(0x2e4)][_0x1125cc(0x375)]===vi['OK']){const _0x4c575a=_0x3456d4(_0x591fd0[_0x1125cc(0x408)],this['_getDownloadEndpointURL']());return Promise[_0x1125cc(0x24f)](_0x4c575a);}return Promise[_0x1125cc(0x208)](_0x591fd0[_0x1125cc(0x2e4)]);}catch(_0x24afa6){return Promise[_0x1125cc(0x208)](_0x24afa6);}}async[_0xbde005(0x1dd)](_0x405ab0){var _0x374ab8=_0xbde005;let _0x52a9ec='';if(!Kn[_0x374ab8(0x32f)](_0x405ab0[_0x374ab8(0x2df)]))return this[_0x374ab8(0x2e0)](),Promise[_0x374ab8(0x208)](new Error(_0x337b7f[_0x374ab8(0x3d9)]));if(_0x405ab0[_0x374ab8(0x188)]>qn)return this[_0x374ab8(0x2e0)](),Promise['reject'](new Error(_0x337b7f['ERROR_EXCEED_SIZE']));try{const _0x5b2b0e=new FormData();_0x5b2b0e[_0x374ab8(0x389)](_0x374ab8(0x244),_0x405ab0);const _0x14d66c=this[_0x374ab8(0x291)]['getFocusedUnit'](),_0x20c951=_0x14d66c==null?void 0x0:_0x14d66c[_0x374ab8(0x241)]();if(!_0x20c951)throw new Error(_0x374ab8(0x2c9));const _0x56197a=this[_0x374ab8(0x18a)]()+_0x374ab8(0x136)+_0x405ab0['size'][_0x374ab8(0x10d)]()+_0x374ab8(0x1a7)+Ei[_0x374ab8(0x11e)]+'&assign='+encodeURIComponent(_0x20c951),_0xccdbbf={'body':_0x5b2b0e},_0x1caf80=(await this[_0x374ab8(0x163)][_0x374ab8(0x1d5)](_0x56197a,_0xccdbbf))[_0x374ab8(0x134)];if(typeof _0x1caf80['FileId']!='string')return this[_0x374ab8(0x2e0)](),Promise['reject'](new Error(_0x337b7f[_0x374ab8(0x2f1)]));_0x52a9ec=_0x1caf80[_0x374ab8(0x152)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x337b7f[_0x374ab8(0x2f1)]));}return new Promise((_0x2192ab,_0x4a1973)=>{var _0x388969=_0x374ab8;const _0x59e1c4=new FileReader();_0x59e1c4[_0x388969(0x3a0)](_0x405ab0),_0x59e1c4['onload']=_0x5421a4=>{var _0x388084=_0x388969,_0x556eda;const _0x476884=(_0x556eda=_0x5421a4[_0x388084(0x185)])==null?void 0x0:_0x556eda[_0x388084(0x1c8)];if(_0x476884==null){this['_decreaseWaiting'](),_0x4a1973(new Error(_0x337b7f[_0x388084(0x2f1)]));return;}const _0x3d8ef1=_0x2ddb78(0x6);_0x2192ab({'imageId':_0x3d8ef1,'imageSourceType':_0x32b18a[_0x388084(0x273)],'source':_0x52a9ec,'base64Cache':_0x476884,'status':_0x337b7f[_0x388084(0x3ad)]}),this['_decreaseWaiting']();};});}[_0xbde005(0x18a)](){var _0x23ace4;const _0x511be0=this['_configService']['getConfig'](K);return(_0x23ace4=_0x511be0==null?void 0x0:_0x511be0['uploadFileServerUrl'])!=null?_0x23ace4:zn;}[_0xbde005(0x124)](){var _0x3ba306=_0xbde005,_0x122d5e;const _0x5dab84=this[_0x3ba306(0x167)][_0x3ba306(0x3fc)](K);return(_0x122d5e=_0x5dab84==null?void 0x0:_0x5dab84[_0x3ba306(0x1ef)])!=null?_0x122d5e:Xn;}[_0xbde005(0x281)](){var _0x5414e0=_0xbde005,_0x260e6a;const _0x5f19ef=this[_0x5414e0(0x167)][_0x5414e0(0x3fc)](K);return(_0x260e6a=_0x5f19ef==null?void 0x0:_0x5f19ef['downloadEndpointUrl'])!=null?_0x260e6a:location[_0x5414e0(0x34f)];}[_0xbde005(0x3c6)](_0x317394,_0x28e329){var _0x56d74f=_0xbde005;return _0x317394[_0x56d74f(0x14f)](_0x56d74f(0x2cc),_0x28e329);}[_0xbde005(0x2e0)](){var _0x5d3462=_0xbde005;this['_waitCount']-=0x1,this['_change$'][_0x5d3462(0x3b6)](this[_0x5d3462(0x202)]);}};Rt=Yn([Et(0x0,_0x51e0dc(_0x4583bc)),Et(0x1,_0x50f0f7),Et(0x2,_0x51e0dc(_0xecbae0))],Rt);var Jn=Object[_0xbde005(0x2eb)],Zn=(_0x4605d1,_0xfe51f0,_0x5b1400,_0x33189d)=>{var _0x23534e=_0xbde005;for(var _0x1b2dcd=_0x33189d>0x1?void 0x0:_0x33189d?Jn(_0xfe51f0,_0x5b1400):_0xfe51f0,_0x211887=_0x4605d1[_0x23534e(0x372)]-0x1,_0x1d5ae6;_0x211887>=0x0;_0x211887--)(_0x1d5ae6=_0x4605d1[_0x211887])&&(_0x1b2dcd=_0x1d5ae6(_0x1b2dcd)||_0x1b2dcd);return _0x1b2dcd;},ri=(_0x5e9f5e,_0x4abfd9)=>(_0xbb179,_0x1613c6)=>_0x4abfd9(_0xbb179,_0x1613c6,_0x5e9f5e);const Qn=_0xbde005(0x22d);let Nt=class{constructor(_0x589d17,_0x4c677b){var _0x1f43b6=_0xbde005;this[_0x1f43b6(0x167)]=_0x589d17,this['_HTTPService']=_0x4c677b;}['_getAPIPrefixPath'](){var _0xd17d5d=_0xbde005,_0x1ced7d;const _0xea90ba=this['_configService'][_0xd17d5d(0x3fc)](K);return(_0x1ced7d=_0xea90ba==null?void 0x0:_0xea90ba[_0xd17d5d(0x2d3)])!=null?_0x1ced7d:Qn;}async['list'](_0x5395a4){var _0x499799=_0xbde005;const _0x150c05=this['_getAPIPrefixPath']()+_0x499799(0xf3);return{'list':[{'title':_0x499799(0x3af),'mentions':(await this['_HTTPService'][_0x499799(0x164)](_0x150c05,{'params':{'objectID':_0x5395a4[_0x499799(0x28c)],'unitID':_0x5395a4[_0x499799(0x28c)]}}))[_0x499799(0x134)][_0x499799(0xf9)][_0x499799(0x3c5)](_0x470d4a=>({'objectId':_0x470d4a['id'],'name':_0x470d4a[_0x499799(0x3ba)][_0x499799(0x392)],'metadata':{'icon':_0x470d4a[_0x499799(0x3ba)][_0x499799(0x355)]},'label':_0x470d4a[_0x499799(0x3ba)][_0x499799(0x392)],'objectType':_0x499fdb[_0x499799(0x292)]})),'metadata':{},'type':_0x499fdb[_0x499799(0x292)]}]};}};Nt=Zn([ri(0x0,_0x51e0dc(_0x50f0f7)),ri(0x1,_0x51e0dc(_0x4583bc))],Nt);var er=Object[_0xbde005(0x2eb)],tr=(_0x3fe109,_0x3c5179,_0x321d04,_0x4d703a)=>{for(var _0x42a247=_0x4d703a>0x1?void 0x0:_0x4d703a?er(_0x3c5179,_0x321d04):_0x3c5179,_0x3a0a40=_0x3fe109['length']-0x1,_0x1c675f;_0x3a0a40>=0x0;_0x3a0a40--)(_0x1c675f=_0x3fe109[_0x3a0a40])&&(_0x42a247=_0x1c675f(_0x42a247)||_0x42a247);return _0x42a247;},Ue=(_0x23ba00,_0x355111)=>(_0x8018e2,_0x2c64d6)=>_0x355111(_0x8018e2,_0x2c64d6,_0x23ba00);let ot=class extends _0x1e895e{constructor(_0x103417,_0x29644a,_0xd09932,_0x1ccecc,_0x42d2d3){var _0x49c7bd=_0xbde005;super(),this[_0x49c7bd(0x342)]=_0x103417,this[_0x49c7bd(0x291)]=_0x29644a,this['_permissionService']=_0xd09932,this[_0x49c7bd(0x40b)]=_0x1ccecc,this[_0x49c7bd(0x3b0)]=_0x42d2d3,this[_0x49c7bd(0x2d0)](),this[_0x49c7bd(0x2c3)]();}['_initCloseConn'](){var _0x39c444=_0xbde005;const _0x2e30fa=async _0x257861=>{var _0x12ff48=_0x3d7d;(await this[_0x12ff48(0x40b)][_0x12ff48(0x16a)](_0x257861))['event$']['pipe'](_0x576d7f(_0x1d01fa=>_0x1d01fa[_0x12ff48(0x278)]===_0xad0318[_0x12ff48(0x16f)]),_0x138cad(this[_0x12ff48(0x3a8)]))[_0x12ff48(0x395)](_0x34a80f=>{var _0x2a24ce=_0x12ff48;const _0x302523=_0x34a80f,{reason:_0x53881d}=_0x302523['data'];this['_collaborationUIEventService'][_0x2a24ce(0x1fb)]({'id':re[_0x2a24ce(0x14c)],'data':_0x53881d}),this[_0x2a24ce(0x228)][_0x2a24ce(0x107)](new _0x5d55bb(_0x257861)['id'],!0x1),this['_collaborationSessionService'][_0x2a24ce(0x3ce)](_0x257861);});};_0x521ca9(this['_univerInstanceService'][_0x39c444(0x36e)](_0x119145['UNIVER_SHEET']),this['_univerInstanceService'][_0x39c444(0x36e)](_0x119145['UNIVER_DOC']))[_0x39c444(0x2cb)](_0x465af3(_0x31108b=>_0x31108b[_0x39c444(0x241)]()),_0x576d7f(_0x45f8dd=>!_0x91f8fa(_0x45f8dd)),_0x138cad(this[_0x39c444(0x3a8)]))[_0x39c444(0x395)](_0x4e14d1=>{_0x2e30fa(_0x4e14d1);});}[_0xbde005(0x2d0)](){var _0x492ce0=_0xbde005;const _0x2bd948=async _0x4cdf79=>{var _0x369f1c=_0x3d7d;const _0x8e8d34=await this[_0x369f1c(0x40b)][_0x369f1c(0x16a)](_0x4cdf79),_0x5821ff=this[_0x369f1c(0x342)]['get'](_0x203c1f);_0x8e8d34[_0x369f1c(0x3ee)]['pipe'](_0x576d7f(_0x3f8c62=>_0x3f8c62[_0x369f1c(0x278)]===_0xad0318[_0x369f1c(0x32a)]),_0x138cad(this[_0x369f1c(0x3a8)]))['subscribe'](_0x456d3a=>{var _0xed3362=_0x369f1c;const _0x445af3=_0x456d3a,{objectId:_0x22f3de}=_0x445af3[_0xed3362(0x336)];_0x22f3de===_0x4cdf79?_0x5821ff[_0xed3362(0x253)](_0x4cdf79):_0x5821ff['refreshPermission'](_0x4cdf79,_0x22f3de);});};_0x521ca9(this[_0x492ce0(0x291)][_0x492ce0(0x36e)](_0x119145[_0x492ce0(0x388)]))[_0x492ce0(0x2cb)](_0x465af3(_0x256d0b=>_0x256d0b[_0x492ce0(0x241)]()),_0x576d7f(_0x5283a0=>!_0x91f8fa(_0x5283a0)),_0x138cad(this[_0x492ce0(0x3a8)]))[_0x492ce0(0x395)](_0x4aa7df=>{_0x2bd948(_0x4aa7df);});}};ot=tr([Ue(0x0,_0x51e0dc(_0x20c230)),Ue(0x1,_0xecbae0),Ue(0x2,_0x5dd3e7),Ue(0x3,_0x51e0dc(we)),Ue(0x4,_0x51e0dc(ve))],ot);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x132fa7,_0x4294bb,_0x32a51f,_0x48ef4e)=>{for(var _0x334d32=_0x48ef4e>0x1?void 0x0:_0x48ef4e?ir(_0x4294bb,_0x32a51f):_0x4294bb,_0x11629a=_0x132fa7['length']-0x1,_0x4de5d6;_0x11629a>=0x0;_0x11629a--)(_0x4de5d6=_0x132fa7[_0x11629a])&&(_0x334d32=_0x4de5d6(_0x334d32)||_0x334d32);return _0x334d32;},ai=(_0x19bad4,_0x64630c)=>(_0x51780f,_0x371743)=>_0x64630c(_0x51780f,_0x371743,_0x19bad4);let Ct=class{constructor(_0x401651,_0x4041ef){var _0x20ccfa=_0xbde005;this['_configService']=_0x401651,this[_0x20ccfa(0x163)]=_0x4041ef;}async[_0xbde005(0x1b5)](_0x1578c6,_0x4066c3){var _0x9db322=_0xbde005,_0x571ec4;const {unitID:_0xea5c44,type:_0x1fcfc3,revision:_0x30a00c=0x0}=_0x4066c3,_0x43440e=this['getSnapshotAPIPath']()+'/'+_0x1fcfc3+'/unit/'+_0xea5c44+_0x9db322(0x319)+_0x30a00c,_0x54bb48=(await this[_0x9db322(0x163)][_0x9db322(0x164)](_0x43440e))[_0x9db322(0x134)],_0x44e4dd=(_0x571ec4=_0x54bb48[_0x9db322(0x1c9)])==null?void 0x0:_0x571ec4[_0x9db322(0x1d7)];if(_0x44e4dd){const _0x26cf7c=_0x44e4dd==null?void 0x0:_0x44e4dd[_0x9db322(0x1eb)],_0x538e79=_0x5d4858['encode'](_0x210299(_0x26cf7c));_0x44e4dd[_0x9db322(0x1eb)]=_0x538e79,Object['entries'](_0x44e4dd[_0x9db322(0x123)])[_0x9db322(0x231)](([,_0xce5d7])=>{var _0x39c7bf=_0x9db322;const _0x269a5d=_0xce5d7[_0x39c7bf(0x1eb)],_0x2272cc=_0x5d4858[_0x39c7bf(0x296)](_0x210299(_0x269a5d));_0xce5d7[_0x39c7bf(0x1eb)]=_0x2272cc;});}return _0x54bb48;}async[_0xbde005(0x2bf)](_0x4d5b82,_0x34e3cc){var _0xd4269d=_0xbde005;const {unitID:_0x46872b,type:_0x1da28e,blockID:_0x44f050}=_0x34e3cc,_0x591109=this[_0xd4269d(0x144)]()+'/'+_0x1da28e+_0xd4269d(0x2a1)+_0x46872b+_0xd4269d(0x2d1)+_0x44f050;return(await this[_0xd4269d(0x163)]['get'](_0x591109))[_0xd4269d(0x134)];}async[_0xbde005(0x393)](_0x3fc36f,_0xc4b684){var _0x4ea464=_0xbde005;const {unitID:_0x31d2c2,type:_0x275fd0,blockID:_0x4e96dc}=_0xc4b684,_0x498560=this[_0x4ea464(0x144)]()+'/block/'+_0x275fd0+'/unit/'+_0x31d2c2+_0x4ea464(0x2d1)+_0x4e96dc;return(await this[_0x4ea464(0x163)][_0x4ea464(0x164)](_0x498560))[_0x4ea464(0x134)];}async[_0xbde005(0x2ef)](_0x5bb7cd,_0x38f25d){var _0x25b347=_0xbde005;const {unitID:_0x1b8de3,type:_0x53aefa,from:_0x485c41,to:_0x49b058}=_0x38f25d,_0x54042c=this[_0x25b347(0x144)]()+'/'+_0x53aefa+'/unit/'+_0x1b8de3+'/fetchmissing?from='+_0x485c41+_0x25b347(0x345)+_0x49b058;return(await this[_0x25b347(0x163)][_0x25b347(0x164)](_0x54042c))[_0x25b347(0x134)];}['getSnapshotAPIPath'](){var _0x2de1bf=_0xbde005,_0x5def2a;return(_0x5def2a=this[_0x2de1bf(0x167)][_0x2de1bf(0x3fc)](ps))!=null?_0x5def2a:this[_0x2de1bf(0x144)]();}[_0xbde005(0x144)](){var _0x98ebef=_0xbde005,_0x5d947b;const _0x4f28ca=this[_0x98ebef(0x167)]['getConfig'](K);return(_0x5d947b=_0x4f28ca==null?void 0x0:_0x4f28ca[_0x98ebef(0x1a3)])!=null?_0x5d947b:Es;}async[_0xbde005(0x2a6)](_0x417a6e,_0x3a3f0f){var _0x3f6bfb=_0xbde005;const _0x1117dd=_0x3f6bfb(0x220)+_0x3a3f0f[_0x3f6bfb(0x2df)]+_0x3f6bfb(0x2a1)+_0x3a3f0f[_0x3f6bfb(0x2c0)]+_0x3f6bfb(0x332);return(await this[_0x3f6bfb(0x163)][_0x3f6bfb(0x164)](_0x1117dd,{'params':{'resourceId':JSON[_0x3f6bfb(0x40c)](_0x3a3f0f['resourceIDs'])}}))[_0x3f6bfb(0x134)];}[_0xbde005(0x15c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbde005(0x404)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbde005(0x19a)](){var _0x1d87a6=_0xbde005;throw new Error(_0x1d87a6(0x3d6));}['saveChangeset'](){var _0x593a16=_0xbde005;throw new Error(_0x593a16(0x3d6));}[_0xbde005(0x194)](){var _0x267a91=_0xbde005;throw new Error(_0x267a91(0x3d6));}[_0xbde005(0x1be)](){var _0x409088=_0xbde005;throw new Error(_0x409088(0x3d6));}};Ct=sr([ai(0x0,_0x50f0f7),ai(0x1,_0x51e0dc(_0x4583bc))],Ct);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x4ea2d8,_0x3b5f20,_0x147378,_0x225637)=>{var _0x21c48f=_0xbde005;for(var _0x26b4d9=_0x225637>0x1?void 0x0:_0x225637?nr(_0x3b5f20,_0x147378):_0x3b5f20,_0x4cd9d1=_0x4ea2d8[_0x21c48f(0x372)]-0x1,_0x5c7d57;_0x4cd9d1>=0x0;_0x4cd9d1--)(_0x5c7d57=_0x4ea2d8[_0x4cd9d1])&&(_0x26b4d9=_0x5c7d57(_0x26b4d9)||_0x26b4d9);return _0x26b4d9;},Ae=(_0xb67722,_0x2a394c)=>(_0x5a3b79,_0x563352)=>_0x2a394c(_0x5a3b79,_0x563352,_0xb67722);let bt=class extends _0x24fd11{constructor(_0x3b03aa,_0x402339,_0x4de48e,_0x5e3d94,_0x2d35d8){var _0x4895f2=_0xbde005;super(_0x3b03aa,_0x402339,_0x4de48e),this['_transformService']=_0x5e3d94,this[_0x4895f2(0x11d)]=_0x2d35d8;}['transformUndoRedo'](_0x4aedd8,_0x534136){var _0x3219cb=_0xbde005;const _0x3168f8=this['_getUndoStack'](_0x4aedd8);if(_0x3168f8)try{const _0x395cb8=this[_0x3219cb(0x3dc)](_0x3168f8,_0x534136);this[_0x3219cb(0x2c2)](_0x4aedd8,_0x395cb8);}catch(_0x106058){this[_0x3219cb(0x11d)][_0x3219cb(0x2e4)](_0x3219cb(0x1b4),_0x106058),this[_0x3219cb(0x223)](_0x4aedd8);}const _0xf0d9f6=this[_0x3219cb(0x2ed)](_0x4aedd8);if(_0xf0d9f6)try{const _0x4ae56d=this[_0x3219cb(0x3dc)](_0xf0d9f6,_0x534136);this[_0x3219cb(0x133)](_0x4aedd8,_0x4ae56d);}catch(_0x39e92c){this[_0x3219cb(0x11d)][_0x3219cb(0x2e4)](_0x39e92c),this[_0x3219cb(0xf2)](_0x4aedd8);}}['_clearUndo'](_0x4cdc7e){var _0x4645e6=_0xbde005;const _0x332707=this[_0x4645e6(0x1e3)](_0x4cdc7e);_0x332707&&(_0x332707['length']=0x0,this[_0x4645e6(0x206)]());}[_0xbde005(0xf2)](_0x24b603){var _0x5ee548=_0xbde005;const _0x918e46=this[_0x5ee548(0x2ed)](_0x24b603);_0x918e46&&(_0x918e46[_0x5ee548(0x372)]=0x0,this[_0x5ee548(0x206)]());}[_0xbde005(0x2c2)](_0x23001a,_0x487f82){var _0x293b62=_0xbde005;this[_0x293b62(0x2d2)][_0x293b62(0x3cf)](_0x23001a,_0x487f82),this[_0x293b62(0x206)]();}[_0xbde005(0x133)](_0x892357,_0x4fc799){var _0xb3cadf=_0xbde005;this[_0xb3cadf(0x18f)]['set'](_0x892357,_0x4fc799),this['_updateStatus']();}[_0xbde005(0x3dc)](_0x948dc7,_0x2b4c08){var _0xcba405=_0xbde005;const _0xf5e719=[];let _0x541c67=_0x2b4c08,_0x4b877b=_0x2b4c08;for(let _0x75ddc3=_0x948dc7['length']-0x1;_0x75ddc3>=0x0;_0x75ddc3--){const {unitID:_0x134605,undoMutations:_0x3e8050,redoMutations:_0x5ed34a}=_0x948dc7[_0x75ddc3],_0x53fa31=this['_transformService'][_0xcba405(0x280)](_0x541c67,_0x3e8050),_0x5eaa11=this[_0xcba405(0x2b6)][_0xcba405(0x280)](_0x4b877b,_0x5ed34a);if(_0x1d8c0f(_0x53fa31)||_0x1d8c0f(_0x5eaa11)){this['_logService']['error'](_0xcba405(0x1b4),'transformStack\x20failed!',_0x53fa31,_0x5eaa11);break;}_0x541c67=_0x53fa31['c1Prime'],_0x4b877b=_0x5eaa11['c1Prime'],_0xf5e719[_0xcba405(0x38b)]({'unitID':_0x134605,'undoMutations':_0x53fa31['m2Prime'],'redoMutations':_0x5eaa11[_0xcba405(0x303)]});}return _0xf5e719[_0xcba405(0x12e)]();}};bt=rr([Ae(0x0,_0xecbae0),Ae(0x1,_0x2d6439),Ae(0x2,_0x5e9c48),Ae(0x3,_0x54f44a),Ae(0x4,_0x9e9972)],bt);var ar=Object[_0xbde005(0x39b)],or=Object['getOwnPropertyDescriptor'],cr=(_0x526899,_0xcd9bc3,_0x1dfced)=>_0xcd9bc3 in _0x526899?ar(_0x526899,_0xcd9bc3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dfced}):_0x526899[_0xcd9bc3]=_0x1dfced,_r=(_0x51559f,_0x2f0b00,_0xd2e9a3,_0x5c7817)=>{var _0x2e395d=_0xbde005;for(var _0x2dd1e3=_0x5c7817>0x1?void 0x0:_0x5c7817?or(_0x2f0b00,_0xd2e9a3):_0x2f0b00,_0x8f2867=_0x51559f[_0x2e395d(0x372)]-0x1,_0xd49d22;_0x8f2867>=0x0;_0x8f2867--)(_0xd49d22=_0x51559f[_0x8f2867])&&(_0x2dd1e3=_0xd49d22(_0x2dd1e3)||_0x2dd1e3);return _0x2dd1e3;},pt=(_0x46246c,_0x23a0dc)=>(_0x3323bb,_0x32d5de)=>_0x23a0dc(_0x3323bb,_0x32d5de,_0x46246c),hr=(_0x2ed692,_0x23c901,_0x21cea9)=>cr(_0x2ed692,_0x23c901+'',_0x21cea9);const lr=_0xbde005(0x1c2);let Dt=class extends _0x3a2476{constructor(_0x3ee7cf,_0x5206d7,_0x81fe19,_0x4f8192){var _0x2118b8=_0xbde005;super(),D(this,_0x2118b8(0x3e3)),(this[_0x2118b8(0x11d)]=_0x5206d7,this[_0x2118b8(0x342)]=_0x81fe19,this['_configService']=_0x4f8192);const {..._0x53dc3a}=_0x511468({},ks,_0x3ee7cf);if(!_0x53dc3a[_0x2118b8(0x3f6)])throw new Error(_0x2118b8(0x409));this[_0x2118b8(0x3e3)]=_0x53dc3a,this['_configService'][_0x2118b8(0x246)](K,_0x53dc3a);}[_0xbde005(0x2c1)](){var _0xd0a929=_0xbde005;this['_registerDependencies'](),this[_0xd0a929(0x22c)]();}['_registerDependencies'](){var _0x646669=_0xbde005,_0x8dac83,_0x3103e5;this[_0x646669(0x342)][_0x646669(0x148)](_0x15b98e)&&this[_0x646669(0x11d)]['error'](_0x646669(0x2fc),_0x646669(0x27d));const _0x5eaec=_0x4afa70([[_0x15b98e,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x646669(0x3f6)]}],[_0x553f45,{'useClass':Ct}],[_0x4b9a68,{'useClass':Tt}],[_0x601141,{'useClass':Rt}],[_0xf9d46f,{'useClass':Nt}],[nt],[gt]],(_0x8dac83=this['_config'])==null?void 0x0:_0x8dac83['override']);if(!((_0x3103e5=this[_0x646669(0x3e3)])!=null&&_0x3103e5[_0x646669(0x396)])){const _0x57edc5=_0x5eaec[_0x646669(0x261)](([_0x842e2b])=>_0x842e2b===_t);_0x57edc5!==-0x1&&_0x5eaec[_0x646669(0x26f)](_0x57edc5,0x1);}_0x2a394a(this['_injector'],_0x5eaec);}[_0xbde005(0x22c)](){var _0x20d483=_0xbde005,_0x12b96a,_0x45627a,_0x31c3cc;this['_injector'][_0x20d483(0x164)](_0x4583bc)[_0x20d483(0x2d5)]({'priority':0x14,'interceptor':_0x3f72de({'maxParallel':0x6})}),(_0x12b96a=this[_0x20d483(0x3e3)])!=null&&_0x12b96a[_0x20d483(0x1d0)]||(_0x45627a=this[_0x20d483(0x342)][_0x20d483(0x164)](X,_0x51f8b8['OPTIONAL']))==null||_0x45627a[_0x20d483(0x21a)](),(_0x31c3cc=this[_0x20d483(0x3e3)])!=null&&_0x31c3cc[_0x20d483(0x1f1)]&&_0x11baec(this['_injector'],[[rt]]),_0x11baec(this['_injector'],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0x15725f(_0x19be12,_0x373f1e),pt(0x1,_0x9e9972),pt(0x2,_0x51e0dc(_0x20c230)),pt(0x3,_0x50f0f7)],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,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};