@univerjs-pro/collaboration-client 0.10.12-nightly.202510221114 → 0.10.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +9 -9
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1494d6=_0x842d;(function(_0x1efeda,_0x2cab80){var _0x4630af=_0x842d,_0x1e2978=_0x1efeda();while(!![]){try{var _0x146ce9=parseInt(_0x4630af(0x399))/0x1+-parseInt(_0x4630af(0x3eb))/0x2*(-parseInt(_0x4630af(0x338))/0x3)+-parseInt(_0x4630af(0x24e))/0x4*(-parseInt(_0x4630af(0x2f7))/0x5)+-parseInt(_0x4630af(0x186))/0x6+-parseInt(_0x4630af(0x360))/0x7+-parseInt(_0x4630af(0x45f))/0x8*(parseInt(_0x4630af(0x32d))/0x9)+-parseInt(_0x4630af(0x310))/0xa*(-parseInt(_0x4630af(0x460))/0xb);if(_0x146ce9===_0x2cab80)break;else _0x1e2978['push'](_0x1e2978['shift']());}catch(_0x3ec17a){_0x1e2978['push'](_0x1e2978['shift']());}}}(_0x1d67,0xbdead));var bi=Object['defineProperty'],Di=(_0xe8c7a4,_0x822489,_0x282853)=>_0x822489 in _0xe8c7a4?bi(_0xe8c7a4,_0x822489,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x282853}):_0xe8c7a4[_0x822489]=_0x282853,D=(_0x570967,_0x1fd5bd,_0x53e3d2)=>Di(_0x570967,typeof _0x1fd5bd!='symbol'?_0x1fd5bd+'':_0x1fd5bd,_0x53e3d2);import{CollaborationEvent as _0x3719ba,ITransformService as _0x2bd043,isTransformMutationsWithChangesetSuccess as _0x336147,mapDocumentTypeToUniverType as _0x51d561,RevisionService as _0x65d3e9,isTransformChangesetsSuccess as _0x19caf4,CompressMutationService as _0x318cb1,parseProtocolChangeset as _0x5acf7f,uuidv4 as _0x1c092a,ISnapshotServerService as _0x23a044,parseChangesetToProtocol as _0x48039d,SnapshotService as _0x296a90,textEncoder as _0x34c8a9,b64DecodeUnicode as _0x2e7445,isTransformMutationsWithChangesetFailure as _0x9cf1b2,UniverCollaborationPlugin as _0x1a80f6}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3aa953,Inject as _0x40a927,UserManagerService as _0x318364,Disposable as _0x1d2b58,UniverInstanceType as _0x2a0d2a,ILogService as _0x1c7d35,IConfigService as _0x5c8b82,Optional as _0x207d04,RxDisposable as _0x2e5652,createIdentifier as _0x200585,Injector as _0x10bc24,Tools as _0x5a702b,Rectangle as _0x2b66fb,ICommandService as _0x40a596,JSONX as _0x4de356,CommandType as _0x2950ef,IUndoRedoService as _0x5154ce,IPermissionService as _0x2fea40,LocaleService as _0x504914,sequenceExecute as _0x390d53,toDisposable as _0x4a0717,DisposableCollection as _0x153b55,Workbook as _0xf72f57,generateRandomId as _0x3a562c,MentionType as _0x3a7593,isInternalEditorID as _0xa2efb9,LocalUndoRedoService as _0x19047e,IContextService as _0x26392a,DependentOn as _0x17d11c,Plugin as _0x695746,merge as _0x10f4d2,mergeOverrideWithDependencies as _0x349fb5,IAuthzIoService as _0x550f2e,IMentionIOService as _0x4a57b1,registerDependencies as _0x291633,Quantity as _0x18dc41,touchDependencies as _0x27ce6e}from'@univerjs/core';import{RichTextEditingMutation as _0x3c3e36}from'@univerjs/docs';import{SheetsSelectionsService as _0x866edf,SetSelectionsOperation as _0x3d1ff1,InsertSheetMutation as _0x1f250d,EmptyMutation as _0x1286d6,WorkbookEditablePermission as _0x2034a7,SheetPermissionInitController as _0x5a12cb}from'@univerjs/sheets';import{Subject as _0x6f301c,merge as _0x285c6f,of as _0x511935,BehaviorSubject as _0x9f1b26,takeUntil as _0x1b5caf,ReplaySubject as _0x5da10e,take as _0x4e8e35,map as _0x43487e,shareReplay as _0x4a16e1,firstValueFrom as _0x31a2c6,concatMap as _0x30775d}from'rxjs';import{ITelemetryService as _0x4d310e}from'@univerjs/telemetry';import{map as _0xf67729,take as _0x2d565f,filter as _0x54e0eb,delay as _0xebd4b2,takeUntil as _0x897a52}from'rxjs/operators';import{HTTPService as _0x21f421,ISocketService as _0x3cd2eb,MergeInterceptorFactory as _0x1915e7,HTTPRequest as _0x29d66c,UniverNetworkPlugin as _0x326f79,ThresholdInterceptorFactory as _0x5410e1}from'@univerjs/network';import{ImageSourceType as _0x308a33,ImageUploadStatusType as _0x3a1106,IImageIoService as _0x44bb90}from'@univerjs/drawing';import{getGlobalObject as _0x2c067a}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x1494d6(0x279),ps=0x7d0,Es=_0x1494d6(0x371),gr=_0x1494d6(0x247),ms='HEARTBEAT_INTERVAL',Is=0x7530,di=_0x1494d6(0x2cf),fi=0x4e20,Ss=0x4e20,gs=_0x1494d6(0x236),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Or=0x3e8,Os=_0x1494d6(0x414),Rs=_0x1494d6(0x28f),Rr=_0x1494d6(0x3b5),Cr=_0x1494d6(0x2a6);var vi=(_0x51bdbf=>(_0x51bdbf[_0x51bdbf[_0x1494d6(0x37c)]=0x0]='UNDEFINED',_0x51bdbf[_0x51bdbf['OK']=0x1]='OK',_0x51bdbf[_0x51bdbf[_0x1494d6(0x47d)]=0x2]='INTERNAL_ERROR',_0x51bdbf[_0x51bdbf[_0x1494d6(0x31e)]=0x3]='PERMISSION_DENIED',_0x51bdbf[_0x51bdbf['NOT_FOUND']=0x4]='NOT_FOUND',_0x51bdbf[_0x51bdbf[_0x1494d6(0x200)]=0x5]=_0x1494d6(0x200),_0x51bdbf[_0x51bdbf['ALREADY_EXISTS']=0x6]=_0x1494d6(0x2e9),_0x51bdbf[_0x51bdbf[_0x1494d6(0x25d)]=0x7]=_0x1494d6(0x25d),_0x51bdbf[_0x51bdbf[_0x1494d6(0x448)]=0x8]=_0x1494d6(0x448),_0x51bdbf[_0x51bdbf['COMPLETION_FINISHED']=0x9]=_0x1494d6(0x20b),_0x51bdbf[_0x51bdbf[_0x1494d6(0x262)]=0xa]=_0x1494d6(0x262),_0x51bdbf[_0x51bdbf['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x51bdbf[_0x51bdbf[_0x1494d6(0x426)]=0xc]=_0x1494d6(0x426),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3cc)]=0xd]=_0x1494d6(0x3cc),_0x51bdbf[_0x51bdbf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x20f)]=0xf]=_0x1494d6(0x20f),_0x51bdbf[_0x51bdbf[_0x1494d6(0x350)]=0x10]=_0x1494d6(0x350),_0x51bdbf[_0x51bdbf['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1494d6(0x30b),_0x51bdbf[_0x51bdbf['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x51bdbf[_0x51bdbf[_0x1494d6(0x227)]=0xc9]=_0x1494d6(0x227),_0x51bdbf[_0x51bdbf[_0x1494d6(0x397)]=0xca]='USER_IS_ANONYMOUS',_0x51bdbf[_0x51bdbf['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1494d6(0x31b),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1e6)]=0x1771]=_0x1494d6(0x1e6),_0x51bdbf[_0x51bdbf['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x400)]=0x1773]=_0x1494d6(0x400),_0x51bdbf[_0x51bdbf[_0x1494d6(0x2fd)]=0x1b59]='APPLY_REJECT',_0x51bdbf[_0x51bdbf[_0x1494d6(0x470)]=0x1b5a]=_0x1494d6(0x470),_0x51bdbf[_0x51bdbf['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1494d6(0x18a),_0x51bdbf[_0x51bdbf[_0x1494d6(0x234)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x51bdbf[_0x51bdbf['APPLY_DUPLICATED']=0x1b5d]=_0x1494d6(0x46f),_0x51bdbf[_0x51bdbf['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1494d6(0x3e5),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1cd)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x381)]=0x232a]=_0x1494d6(0x381),_0x51bdbf[_0x51bdbf['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1494d6(0x45d),_0x51bdbf[_0x51bdbf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1494d6(0x43c),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1ea)]=0x232d]=_0x1494d6(0x1ea),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1bc)]=0x2711]=_0x1494d6(0x1bc),_0x51bdbf[_0x51bdbf['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1494d6(0x44b),_0x51bdbf[_0x51bdbf[_0x1494d6(0x415)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x51bdbf[_0x51bdbf[_0x1494d6(0x1b2)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x51bdbf[_0x51bdbf[_0x1494d6(0x23d)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x51bdbf[_0x51bdbf[_0x1494d6(0x2b9)]=0x271b]=_0x1494d6(0x2b9),_0x51bdbf[_0x51bdbf[_0x1494d6(0x35c)]=0x271c]=_0x1494d6(0x35c),_0x51bdbf[_0x51bdbf[_0x1494d6(0x2a1)]=0x271d]=_0x1494d6(0x2a1),_0x51bdbf[_0x51bdbf[_0x1494d6(0x229)]=0x271e]=_0x1494d6(0x229),_0x51bdbf[_0x51bdbf[_0x1494d6(0x463)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x22e)]=0x2720]=_0x1494d6(0x22e),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3c2)]=0x2af9]=_0x1494d6(0x3c2),_0x51bdbf[_0x51bdbf[_0x1494d6(0x265)]=0x2ee1]=_0x1494d6(0x265),_0x51bdbf[_0x51bdbf[_0x1494d6(0x172)]=0x2ee2]=_0x1494d6(0x172),_0x51bdbf[_0x51bdbf[_0x1494d6(0x38f)]=0x2ee3]=_0x1494d6(0x38f),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1ae)]=0x2ee4]=_0x1494d6(0x1ae),_0x51bdbf[_0x51bdbf['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1494d6(0x42d),_0x51bdbf[_0x51bdbf[_0x1494d6(0x212)]=0x32c9]=_0x1494d6(0x212),_0x51bdbf[_0x51bdbf[_0x1494d6(0x286)]=0x32ca]=_0x1494d6(0x286),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3c9)]=0x32cb]=_0x1494d6(0x3c9),_0x51bdbf[_0x51bdbf[_0x1494d6(0x23e)]=0x36b1]=_0x1494d6(0x23e),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1d0)]=0x36b2]=_0x1494d6(0x1d0),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3b7)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x51bdbf[_0x51bdbf[_0x1494d6(0x1ec)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x51bdbf[_0x51bdbf[_0x1494d6(0x43e)]=0x3715]=_0x1494d6(0x43e),_0x51bdbf[_0x51bdbf[_0x1494d6(0x24c)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x51bdbf[_0x51bdbf['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x51bdbf[_0x51bdbf[_0x1494d6(0x1c5)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x51bdbf[_0x51bdbf[_0x1494d6(0x393)]=0x3a9a]=_0x1494d6(0x393),_0x51bdbf[_0x51bdbf[_0x1494d6(0x41d)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x51bdbf[_0x51bdbf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1494d6(0x364),_0x51bdbf[_0x51bdbf[_0x1494d6(0x2ac)]=0x3a9d]=_0x1494d6(0x2ac),_0x51bdbf[_0x51bdbf['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1494d6(0x46e),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3b4)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x37f)]=-0x1]=_0x1494d6(0x37f),_0x51bdbf))(vi||{}),Q=(_0x586781=>(_0x586781[_0x586781['UNIVER_UNKNOWN']=0x0]=_0x1494d6(0x1fc),_0x586781[_0x586781['UNIVER_DOC']=0x1]=_0x1494d6(0x32a),_0x586781[_0x586781[_0x1494d6(0x334)]=0x2]=_0x1494d6(0x334),_0x586781[_0x586781['UNIVER_SLIDE']=0x3]=_0x1494d6(0x3b0),_0x586781[_0x586781[_0x1494d6(0x2fc)]=0x4]=_0x1494d6(0x2fc),_0x586781[_0x586781['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x586781))(Q||{}),F=(_0x516175=>(_0x516175[_0x516175['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x516175[_0x516175[_0x1494d6(0x22a)]=0x1]=_0x1494d6(0x22a),_0x516175[_0x516175[_0x1494d6(0x204)]=0x2]='JOIN',_0x516175[_0x516175[_0x1494d6(0x34a)]=0x3]=_0x1494d6(0x34a),_0x516175[_0x516175[_0x1494d6(0x417)]=0x4]='INGEST',_0x516175[_0x516175['HEARTBEAT']=0x5]='HEARTBEAT',_0x516175[_0x516175[_0x1494d6(0x34d)]=0x6]=_0x1494d6(0x34d),_0x516175[_0x516175['UNRECOGNIZED']=-0x1]=_0x1494d6(0x37f),_0x516175))(F||{}),pe=(_0x1fbfc1=>(_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x377)]=0x0]=_0x1494d6(0x377),_0x1fbfc1[_0x1fbfc1['OK']=0x1]='OK',_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x369)]=0x2]=_0x1494d6(0x369),_0x1fbfc1[_0x1fbfc1['JOIN_ROOM_FULL']=0x3e9]=_0x1494d6(0x18c),_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x384)]=0x3ea]=_0x1494d6(0x384),_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x276)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1fbfc1[_0x1fbfc1['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x1494d6(0x451),_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x37f)]=-0x1]=_0x1494d6(0x37f),_0x1fbfc1))(pe||{}),pi=(_0x348938=>(_0x348938[_0x348938[_0x1494d6(0x3f3)]=0x0]=_0x1494d6(0x3f3),_0x348938[_0x348938[_0x1494d6(0x349)]=0x1]='HttpImport',_0x348938[_0x348938['HttpExport']=0x2]=_0x1494d6(0x268),_0x348938[_0x348938[_0x1494d6(0x3e3)]=0x3]=_0x1494d6(0x3e3),_0x348938[_0x348938['UnitSnapshot']=0x4]=_0x1494d6(0x1f7),_0x348938[_0x348938[_0x1494d6(0x38b)]=0x5]=_0x1494d6(0x38b),_0x348938[_0x348938[_0x1494d6(0x29a)]=0x6]='ClipsheetFragments',_0x348938[_0x348938['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x348938))(pi||{});const Cs='collaboration_new_changeset';function Ns(_0x573d69){var _0x2c81db=_0x1494d6;return JSON[_0x2c81db(0x25a)](_0x573d69)[_0x2c81db(0x1c0)];}var re=(_0x1d89e3=>(_0x1d89e3[_0x1494d6(0x220)]='OTHER_CLIENT_EDITING',_0x1d89e3[_0x1494d6(0x31e)]=_0x1494d6(0x31e),_0x1d89e3[_0x1494d6(0x216)]=_0x1494d6(0x216),_0x1d89e3[_0x1494d6(0x1d3)]=_0x1494d6(0x1d3),_0x1d89e3[_0x1494d6(0x429)]='JOIN_ROOM_FAILED',_0x1d89e3[_0x1494d6(0x255)]=_0x1494d6(0x255),_0x1d89e3[_0x1494d6(0x22b)]=_0x1494d6(0x22b),_0x1d89e3['SUBMIT_CHANGESET_TIMEOUT']=_0x1494d6(0x257),_0x1d89e3))(re||{});class ve{constructor(){var _0x3568b8=_0x1494d6;D(this,_0x3568b8(0x266),new _0x6f301c()),D(this,_0x3568b8(0x1c8),this[_0x3568b8(0x266)]['asObservable']());}[_0x1494d6(0x21b)](_0x582656){var _0x4de79f=_0x1494d6;this[_0x4de79f(0x266)][_0x4de79f(0x1a6)](_0x582656);}}class Ei{constructor(){var _0x710223=_0x1494d6;D(this,'_commentUpdate$',new _0x6f301c()),D(this,_0x710223(0x244),this[_0x710223(0x28c)]['asObservable']());}[_0x1494d6(0x330)](_0x3af069){var _0x4a7986=_0x1494d6;this['_commentUpdate$'][_0x4a7986(0x1a6)](_0x3af069);}}var bs=Object[_0x1494d6(0x3e7)],Ds=(_0x1160e6,_0x229af7,_0xf8d124,_0x3c123d)=>{for(var _0x11453f=_0x3c123d>0x1?void 0x0:_0x3c123d?bs(_0x229af7,_0xf8d124):_0x229af7,_0x6d441f=_0x1160e6['length']-0x1,_0x1c7ca8;_0x6d441f>=0x0;_0x6d441f--)(_0x1c7ca8=_0x1160e6[_0x6d441f])&&(_0x11453f=_0x1c7ca8(_0x11453f)||_0x11453f);return _0x11453f;},Ft=(_0x35db2e,_0x49032f)=>(_0x362035,_0x3b774f)=>_0x49032f(_0x362035,_0x3b774f,_0x35db2e);let Pe=class extends _0x1d2b58{constructor(_0x2f0e55,_0x1ef9c4){var _0x36bca4=_0x1494d6;super(),D(this,_0x36bca4(0x1af),new Map()),D(this,_0x36bca4(0x258),new _0x6f301c()),(this[_0x36bca4(0x45e)]=_0x2f0e55,this[_0x36bca4(0x24a)]=_0x1ef9c4,this[_0x36bca4(0x32e)](_0x285c6f(this[_0x36bca4(0x45e)][_0x36bca4(0x223)](_0x2a0d2a[_0x36bca4(0x334)])[_0x36bca4(0x354)](_0xf67729(_0x4220b0=>_0x4220b0['getUnitId']())),this[_0x36bca4(0x45e)][_0x36bca4(0x223)](_0x2a0d2a[_0x36bca4(0x32a)])['pipe'](_0xf67729(_0x8ef8bf=>_0x8ef8bf[_0x36bca4(0x47e)]())),this['_univerInstanceService'][_0x36bca4(0x223)](_0x2a0d2a[_0x36bca4(0x3b0)])[_0x36bca4(0x354)](_0xf67729(_0x3b68ba=>_0x3b68ba[_0x36bca4(0x47e)]())))['subscribe'](_0xd2c0b4=>this[_0x36bca4(0x3fb)](_0xd2c0b4))));}[_0x1494d6(0x466)](_0x45cd3f){var _0x2c670e=_0x1494d6;return this[_0x2c670e(0x1af)][_0x2c670e(0x283)](_0x45cd3f)?_0x511935(this[_0x2c670e(0x1af)]['get'](_0x45cd3f)):this[_0x2c670e(0x258)]['pipe'](_0xf67729(_0x5b706a=>{var _0x4b8893=_0x2c670e;if(_0x5b706a===_0x45cd3f)return this[_0x4b8893(0x1af)][_0x4b8893(0x292)](_0x5b706a);}));}[_0x1494d6(0x314)](_0x1a04dd){var _0x439d66=_0x1494d6;this[_0x439d66(0x24a)][_0x439d66(0x314)](_0x1a04dd);}['getCurrentUser'](){var _0x527b39=_0x1494d6;return this[_0x527b39(0x24a)][_0x527b39(0x253)]();}[_0x1494d6(0x382)](_0x23f8fa,_0x812e08){var _0x4dd616=_0x1494d6;let _0x1db215=this[_0x4dd616(0x1af)]['get'](_0x23f8fa);_0x1db215||(_0x1db215=new ys(),this['_roomMembers']['set'](_0x23f8fa,_0x1db215),this['_roomCreated$']['next'](_0x23f8fa)),_0x1db215[_0x4dd616(0x382)](_0x812e08);}[_0x1494d6(0x321)](_0x143ac6,_0x4503f0){var _0x3519df=_0x1494d6;const _0x540c72=this[_0x3519df(0x1af)][_0x3519df(0x292)](_0x143ac6);_0x540c72&&_0x540c72[_0x3519df(0x321)](_0x4503f0);}[_0x1494d6(0x3e0)](_0x3e2fa8){var _0x58ccfb=_0x1494d6;return this[_0x58ccfb(0x1af)][_0x58ccfb(0x292)](_0x3e2fa8);}[_0x1494d6(0x192)](_0x4bc4a7,_0x3f2f47){var _0x5a97cc=_0x1494d6;const _0x4d31f1=this['_roomMembers'][_0x5a97cc(0x292)](_0x4bc4a7);if(_0x4d31f1)return _0x4d31f1[_0x5a97cc(0x192)](_0x3f2f47);}[_0x1494d6(0x3fb)](_0x1c8d55){var _0x2093e2=_0x1494d6;const _0x3be8a1=this[_0x2093e2(0x1af)][_0x2093e2(0x292)](_0x1c8d55);_0x3be8a1&&(_0x3be8a1[_0x2093e2(0x462)](),this[_0x2093e2(0x1af)]['delete'](_0x1c8d55));}[_0x1494d6(0x462)](){var _0xd1138f=_0x1494d6;this['_roomMembers'][_0xd1138f(0x2f5)](_0x33a851=>_0x33a851['dispose']()),this[_0xd1138f(0x1af)]['clear'](),this[_0xd1138f(0x258)][_0xd1138f(0x416)]();}};Pe=Ds([Ft(0x0,_0x3aa953),Ft(0x1,_0x40a927(_0x318364))],Pe);class ys extends _0x1d2b58{constructor(){var _0xf8d5b3=_0x1494d6;super(...arguments),D(this,_0xf8d5b3(0x3e4),new Map()),D(this,'_members$',new _0x9f1b26(this[_0xf8d5b3(0x3e4)])),D(this,_0xf8d5b3(0x1cc),this[_0xf8d5b3(0x394)][_0xf8d5b3(0x311)]());}['dispose'](){var _0x157c9b=_0x1494d6;this[_0x157c9b(0x3e4)][_0x157c9b(0x373)]();}[_0x1494d6(0x382)](_0xc98d98){var _0x31b231=_0x1494d6;this[_0x31b231(0x3e4)][_0x31b231(0x2d7)](_0xc98d98[_0x31b231(0x1ff)],_0xc98d98),this[_0x31b231(0x32c)]();}['removeMember'](_0x590bf7){var _0x331fb8=_0x1494d6;this[_0x331fb8(0x3e4)][_0x331fb8(0x452)](_0x590bf7);}['getMember'](_0x31924f){var _0x40079b=_0x1494d6;return this[_0x40079b(0x3e4)][_0x40079b(0x292)](_0x31924f);}[_0x1494d6(0x241)](){var _0x4ac1d5=_0x1494d6;return Array['from'](this[_0x4ac1d5(0x3e4)]['values']());}[_0x1494d6(0x32c)](){var _0x4dde47=_0x1494d6;this[_0x4dde47(0x394)][_0x4dde47(0x1a6)](this[_0x4dde47(0x3e4)]);}}var Us=Object[_0x1494d6(0x3e7)],As=(_0x18e91d,_0x1d5f1b,_0x358d5b,_0x5df6bf)=>{var _0x5a56c9=_0x1494d6;for(var _0x41e5de=_0x5df6bf>0x1?void 0x0:_0x5df6bf?Us(_0x1d5f1b,_0x358d5b):_0x1d5f1b,_0x3def26=_0x18e91d[_0x5a56c9(0x1c0)]-0x1,_0x1b8cf6;_0x3def26>=0x0;_0x3def26--)(_0x1b8cf6=_0x18e91d[_0x3def26])&&(_0x41e5de=_0x1b8cf6(_0x41e5de)||_0x41e5de);return _0x41e5de;},Oe=(_0x3527d1,_0x145584)=>(_0x2ecf1f,_0x427583)=>_0x145584(_0x2ecf1f,_0x427583,_0x3527d1),me=(_0x204e5e=>(_0x204e5e[_0x204e5e[_0x1494d6(0x361)]=0x0]=_0x1494d6(0x361),_0x204e5e[_0x204e5e[_0x1494d6(0x17d)]=0x1]=_0x1494d6(0x17d),_0x204e5e[_0x204e5e[_0x1494d6(0x368)]=0x2]=_0x1494d6(0x368),_0x204e5e[_0x204e5e['ONLINE']=0x3]=_0x1494d6(0x18d),_0x204e5e))(me||{});const Vt={[pe[_0x1494d6(0x369)]]:_0x1494d6(0x383),[pe[_0x1494d6(0x18c)]]:_0x1494d6(0x31c),[pe['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x1494d6(0x461),[pe[_0x1494d6(0x451)]]:'session.room-cnt-exceeds'};let mt=class extends _0x2e5652{constructor(_0x14bcdb,_0x1faa9f,_0x361f1a,_0x1d8581,_0x1b17a4,_0x1cb928,_0x5258b1,_0x14580f){var _0x58235c=_0x1494d6;super(),D(this,_0x58235c(0x386),new _0x9f1b26(0x0)),D(this,_0x58235c(0x35a),this['_sessionStatus$'][_0x58235c(0x311)]()),D(this,_0x58235c(0x266),new _0x6f301c()),D(this,_0x58235c(0x1c8),this['_event$'][_0x58235c(0x311)]()),D(this,'_socket'),D(this,_0x58235c(0x2fe)),D(this,_0x58235c(0x339)),D(this,_0x58235c(0x398),!0x1),D(this,_0x58235c(0x312),null),(this[_0x58235c(0x433)]=_0x14bcdb,this[_0x58235c(0x29c)]=_0x361f1a,this[_0x58235c(0x2c3)]=_0x1d8581,this[_0x58235c(0x3c3)]=_0x1b17a4,this[_0x58235c(0x388)]=_0x1cb928,this[_0x58235c(0x177)]=_0x5258b1,this[_0x58235c(0x347)]=_0x14580f,this[_0x58235c(0x398)]=!!this[_0x58235c(0x347)],_0x1faa9f['pipe'](_0x1b5caf(this[_0x58235c(0x2f3)]))[_0x58235c(0x3c6)](_0x1d8e00=>{var _0x25ea51=_0x58235c,_0x5c9054;typeof _0x1d8e00>'u'||(this[_0x25ea51(0x439)]=_0x1d8e00,_0x1d8e00?(this['_joinRoom'](_0x1d8e00),this[_0x25ea51(0x2fe)]=_0x1d8e00[_0x25ea51(0x2fa)][_0x25ea51(0x3c6)](_0x34724d=>{var _0x3dcdd8=_0x25ea51;_0x34724d[_0x3dcdd8(0x323)]===this['_unitID']&&this['_onCombEvent'](_0x34724d);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x25ea51(0x386)][_0x25ea51(0x1a6)](0x2),(_0x5c9054=this['_socketMessageSubscription'])==null||_0x5c9054[_0x25ea51(0x3db)](),this[_0x25ea51(0x2fe)]=null));}));}get[_0x1494d6(0x475)](){var _0x32839d=_0x1494d6;return this['_sessionStatus$'][_0x32839d(0x478)]();}[_0x1494d6(0x26c)](){var _0x59dc28=_0x1494d6,_0x554ae5,_0x2fa7b0;return(_0x2fa7b0=(_0x554ae5=this[_0x59dc28(0x439)])==null?void 0x0:_0x554ae5[_0x59dc28(0x1ff)])!=null?_0x2fa7b0:null;}[_0x1494d6(0x462)](){var _0x51f8f3=_0x1494d6;super[_0x51f8f3(0x462)](),this[_0x51f8f3(0x2f3)][_0x51f8f3(0x1a6)](),this[_0x51f8f3(0x2f3)][_0x51f8f3(0x416)]();}[_0x1494d6(0x1aa)](){var _0x46b76a=_0x1494d6,_0x4e272b,_0x5ae500;this[_0x46b76a(0x180)](),(_0x4e272b=this['_socket'])==null||_0x4e272b[_0x46b76a(0x3d4)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5ae500=this['_socket'])==null||_0x5ae500['close'](),this['_event$'][_0x46b76a(0x416)](),this['_sessionStatus$'][_0x46b76a(0x416)](),this[_0x46b76a(0x462)]();}[_0x1494d6(0x2be)](_0x317e4e){var _0x3668f8=_0x1494d6;_0x317e4e[_0x3668f8(0x19b)]===F[_0x3668f8(0x204)]?this[_0x3668f8(0x21e)](_0x317e4e):_0x317e4e[_0x3668f8(0x19b)]===F[_0x3668f8(0x34d)]&&this[_0x3668f8(0x2de)](_0x317e4e);}[_0x1494d6(0x3e9)](_0x17bf66){var _0x198812=_0x1494d6;this[_0x198812(0x386)][_0x198812(0x1a6)](0x1),_0x17bf66[_0x198812(0x3d4)]({'cmd':F[_0x198812(0x204)],'routeKey':this[_0x198812(0x433)],'routeType':'','data':{'rooms':[{'roomID':this[_0x198812(0x433)]}]}});}[_0x1494d6(0x21e)](_0x51920e){var _0x32f8e0=_0x1494d6,_0x415191;if(_0x51920e[_0x32f8e0(0x35d)]in Vt){this[_0x32f8e0(0x177)]['emitEvent']({'id':re[_0x32f8e0(0x429)],'data':Vt[_0x51920e[_0x32f8e0(0x35d)]]}),this[_0x32f8e0(0x386)][_0x32f8e0(0x1a6)](0x2);return;}this[_0x32f8e0(0x386)]['next'](0x3);const _0x45810c=(_0x415191=_0x51920e[_0x32f8e0(0x40d)][_0x32f8e0(0x1f8)][this['_unitID']])==null?void 0x0:_0x415191['members'];_0x45810c&&_0x45810c[_0x32f8e0(0x2f5)](_0x3fa642=>this[_0x32f8e0(0x3c3)][_0x32f8e0(0x382)](this[_0x32f8e0(0x433)],_0x3fa642));}[_0x1494d6(0x2de)](_0x363bc5){var _0x5a360d=_0x1494d6;try{const _0x80da9c=_0x363bc5[_0x5a360d(0x40d)];switch(_0x80da9c[_0x5a360d(0x440)]){case _0x3719ba['USERS_ENTER']:this['_onUserJoin'](_0x80da9c),this['_event$']['next'](_0x80da9c);break;case _0x3719ba[_0x5a360d(0x32b)]:this[_0x5a360d(0x455)](_0x80da9c),this[_0x5a360d(0x266)][_0x5a360d(0x1a6)](_0x80da9c);break;case _0x3719ba[_0x5a360d(0x2c4)]:case _0x3719ba['CHANGESET_SHOULD_RETRY']:this[_0x5a360d(0x374)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5a360d(0x266)]['next'](_0x80da9c);break;case _0x3719ba[_0x5a360d(0x19f)]:this[_0x5a360d(0x29c)][_0x5a360d(0x2ce)](_0x5a360d(0x3b2)+JSON[_0x5a360d(0x25a)](_0x80da9c)),this['_event$'][_0x5a360d(0x1a6)](_0x80da9c);break;case _0x3719ba[_0x5a360d(0x2a4)]:this['_commentService'][_0x5a360d(0x330)](_0x80da9c[_0x5a360d(0x40d)]),this[_0x5a360d(0x266)][_0x5a360d(0x1a6)](_0x80da9c);break;default:this[_0x5a360d(0x266)][_0x5a360d(0x1a6)](_0x80da9c);}}catch(_0x126b99){this[_0x5a360d(0x29c)][_0x5a360d(0x2ce)](_0x126b99,_0x363bc5);}}[_0x1494d6(0x2ff)](_0x4b03c5){var _0x272e74=_0x1494d6;this[_0x272e74(0x3c3)][_0x272e74(0x382)](this[_0x272e74(0x433)],_0x4b03c5['data']);}[_0x1494d6(0x455)](_0x160fb0){var _0x1740d6=_0x1494d6;this[_0x1740d6(0x3c3)]['removeMember'](this['_unitID'],_0x160fb0['data'][_0x1740d6(0x1ff)]);}async['send'](_0x2f0750,_0x57e27a){var _0x1c8cd9=_0x1494d6;if(this[_0x1c8cd9(0x475)]!==0x3||!this[_0x1c8cd9(0x439)])throw new Error(_0x1c8cd9(0x41c));try{_0x2f0750[_0x1c8cd9(0x440)]===_0x3719ba['SUBMIT_CHANGESET']&&(this[_0x1c8cd9(0x3d6)](),this[_0x1c8cd9(0x173)](_0x2f0750)),this['_socket']['send']({'cmd':F[_0x1c8cd9(0x417)],'routeKey':_0x57e27a,'routeType':'','data':_0x2f0750});}catch(_0x4441d9){this[_0x1c8cd9(0x29c)][_0x1c8cd9(0x2ce)](_0x4441d9);}}[_0x1494d6(0x3d6)](){var _0x30b586=_0x1494d6,_0x3af2f0;this[_0x30b586(0x339)]=setTimeout(()=>{var _0x5c6e23=_0x30b586;this['_collaborationTimeoutTimer']=null,this[_0x5c6e23(0x177)][_0x5c6e23(0x21b)]({'id':re[_0x5c6e23(0x257)]});},(_0x3af2f0=this[_0x30b586(0x2c3)][_0x30b586(0x1f3)](di))!=null?_0x3af2f0:fi);}[_0x1494d6(0x20a)](){var _0x44ac66=_0x1494d6;this[_0x44ac66(0x339)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x44ac66(0x339)]=null);}[_0x1494d6(0x173)](_0x59980b){var _0x5bbf6b=_0x1494d6;if(!this[_0x5bbf6b(0x398)])return;const {data:_0x2f6aae}=_0x59980b,{unitID:_0x3c20b8,changeset:_0x49f167}=_0x2f6aae,{mutations:_0x574962,type:_0x1dc62a}=_0x49f167;this[_0x5bbf6b(0x312)]={'unitId':_0x3c20b8,'type':_0x1dc62a,'startTime':performance[_0x5bbf6b(0x1ab)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x574962)};}[_0x1494d6(0x374)](){var _0x1efbb6=_0x1494d6;if(this[_0x1efbb6(0x398)]){if(!this[_0x1efbb6(0x312)]){this[_0x1efbb6(0x29c)][_0x1efbb6(0x2ce)](_0x1efbb6(0x467),_0x1efbb6(0x1ba));return;}this['_telemetryInfo'][_0x1efbb6(0x264)]=performance[_0x1efbb6(0x1ab)](),this[_0x1efbb6(0x312)][_0x1efbb6(0x1fd)]=this[_0x1efbb6(0x312)][_0x1efbb6(0x264)]-this[_0x1efbb6(0x312)][_0x1efbb6(0x434)],this['_telemetryService'][_0x1efbb6(0x27b)](Cs,this[_0x1efbb6(0x312)]),this[_0x1efbb6(0x312)]=null;}}[_0x1494d6(0x180)](){var _0x2b456d=_0x1494d6;this[_0x2b456d(0x312)]=null;}};mt=As([Oe(0x2,_0x1c7d35),Oe(0x3,_0x5c8b82),Oe(0x4,_0x40a927(Pe)),Oe(0x5,_0x40a927(Ei)),Oe(0x6,_0x40a927(ve)),Oe(0x7,_0x207d04(_0x4d310e))],mt);const J=_0x200585(_0x1494d6(0x1de));function Nr(_0x34850e){return'unit-cache-'+_0x34850e;}var Ps=Object[_0x1494d6(0x3e7)],ws=(_0x1445b0,_0x205ab9,_0x5e2cff,_0x23cf28)=>{var _0x41e809=_0x1494d6;for(var _0x14da26=_0x23cf28>0x1?void 0x0:_0x23cf28?Ps(_0x205ab9,_0x5e2cff):_0x205ab9,_0x387660=_0x1445b0[_0x41e809(0x1c0)]-0x1,_0x779a51;_0x387660>=0x0;_0x387660--)(_0x779a51=_0x1445b0[_0x387660])&&(_0x14da26=_0x779a51(_0x14da26)||_0x14da26);return _0x14da26;},ut=(_0x20f419,_0x5a3389)=>(_0x3373fd,_0x26fb65)=>_0x5a3389(_0x3373fd,_0x26fb65,_0x20f419);function Ms(_0x5448f1){var _0x4fb56e=_0x1494d6;const {unitID:_0x54469c,mutations:_0x190b1d}=_0x5448f1;return{'unitId':_0x54469c,'subUnitId':_0x190b1d[0x0][_0x4fb56e(0x344)]['subUnitId']};}let it=class{constructor(_0x7afedc,_0x5b1788,_0x674b36){var _0x261127=_0x1494d6;this[_0x261127(0x380)]=_0x7afedc,this[_0x261127(0x3bb)]=_0x5b1788,this[_0x261127(0x3f5)]=_0x674b36;}[_0x1494d6(0x2b4)](_0x11d749){var _0x5c15ae=_0x1494d6,_0x57edc6,_0x465a93,_0xf7dd79,_0x3eb16b;const _0xe4f830=this[_0x5c15ae(0x380)][_0x5c15ae(0x292)](_0x866edf),{unitId:_0xc66837,subUnitId:_0x116ba4}=Ms(_0x11d749),_0x25f954=_0xe4f830==null?void 0x0:_0xe4f830['getWorkbookSelections'](_0xc66837)[_0x5c15ae(0x411)](),_0x47e8a6=(_0x465a93=(_0x57edc6=this[_0x5c15ae(0x3f5)][_0x5c15ae(0x454)](_0xc66837))==null?void 0x0:_0x57edc6[_0x5c15ae(0x246)]())==null?void 0x0:_0x465a93['getSheetId']();if(_0x25f954['length']===0x0||!_0xc66837||!_0x116ba4)return;const _0x3973e3=[{'id':_0x3d1ff1['id'],'params':{'unitId':_0xc66837,'subUnitId':_0x47e8a6,'selections':_0x5a702b[_0x5c15ae(0x3a7)](_0x25f954)}}],_0x4c99d1=this[_0x5c15ae(0x3bb)]['transformMutationsWithChangeset'](_0x11d749,_0x3973e3);if(!_0x336147(_0x4c99d1))throw _0x4c99d1[_0x5c15ae(0x2ce)];const _0x40265d=(_0x3eb16b=(_0xf7dd79=_0x4c99d1[_0x5c15ae(0x3de)][0x0])==null?void 0x0:_0xf7dd79['params'])==null?void 0x0:_0x3eb16b[_0x5c15ae(0x352)];if(Array['isArray'](_0x40265d)&&_0x40265d['length']){if(_0x40265d['length']===_0x3973e3[0x0]['params']['selections'][_0x5c15ae(0x1c0)]&&_0x40265d[_0x5c15ae(0x36b)]((_0x1d1c6d,_0x1902a8)=>_0x2b66fb['equals'](_0x1d1c6d[_0x5c15ae(0x318)],_0x3973e3[0x0]['params'][_0x5c15ae(0x352)][_0x1902a8][_0x5c15ae(0x318)])))return;this[_0x5c15ae(0x380)][_0x5c15ae(0x292)](_0x40a596)['executeCommand'](_0x3d1ff1['id'],{'unitId':_0xc66837,'subUnitId':_0x47e8a6,'selections':_0x40265d});}}};it=ws([ut(0x0,_0x40a927(_0x10bc24)),ut(0x1,_0x2bd043),ut(0x2,_0x3aa953)],it);const _t=_0x200585(_0x1494d6(0x1ad));var mi=(_0x36f119=>(_0x36f119[_0x36f119[_0x1494d6(0x410)]=0x0]=_0x1494d6(0x410),_0x36f119[_0x36f119['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x36f119))(mi||{});const K=_0x1494d6(0x2b5),Ls={},xs=new Set([_0x1f250d['id']]);function Gt(_0x5e70f6,_0x203559,_0x5c2ab4,_0x32d933,_0x5352a0){var _0xf19f23=_0x1494d6,_0x2638be,_0x47a8fd,_0x8fe3c4,_0x5f53c6;const _0x1965a9=[];for(const _0x2adb76 of _0x5e70f6)if(xs[_0xf19f23(0x283)](_0x2adb76['id'])){if(_0x1965a9[_0xf19f23(0x1c0)]>0x0)break;_0x1965a9[_0xf19f23(0x359)](_0x2adb76);break;}else _0x1965a9[_0xf19f23(0x359)](_0x2adb76);const _0x1c8894=(_0x47a8fd=(_0x2638be=_0x5352a0['getCurrentUser']())==null?void 0x0:_0x2638be['userID'])!=null?_0x47a8fd:_0xf19f23(0x1dd),_0x5924ab=(_0x5f53c6=(_0x8fe3c4=_0x5352a0['getCurrentUser']())==null?void 0x0:_0x8fe3c4[_0xf19f23(0x1ff)])!=null?_0x5f53c6:_0xf19f23(0x1dd);return{'changeset':{'unitID':_0x203559,'type':_0x51d561(_0x5c2ab4[_0xf19f23(0x351)](_0x203559)),'baseRev':_0x32d933[_0xf19f23(0x436)](_0x203559),'revision':0x0,'userID':_0x1c8894,'memberID':_0x5924ab,'mutations':_0x1965a9},'pendingMutations':_0x5e70f6['slice'](_0x1965a9['length'])};}function ks(_0x311d3b,_0x464169,_0xe89595,_0x5a2b59,_0x11171b){var _0x3e403f=_0x1494d6,_0x4080de,_0x2ce7bf,_0xd3ae6d,_0x16548e;const _0x15c22d=[_0x311d3b[_0x3e403f(0x3f8)]((_0x32b557,_0x4fda2)=>{var _0x2caa70=_0x3e403f,_0x5bed0d;const {id:_0x1c9055}=_0x32b557,{id:_0x231fd1,type:_0x497ac5}=_0x4fda2,_0x4e914e=(_0x5bed0d=_0x32b557[_0x2caa70(0x344)])!=null?_0x5bed0d:{'actions':null},_0xcda60f=_0x4fda2[_0x2caa70(0x344)];if(_0x1c9055&&_0x1c9055!==_0x231fd1)throw new Error(_0x2caa70(0x29b)+_0x1c9055+_0x2caa70(0x181)+_0x231fd1+'.');return{..._0x32b557,'id':_0x231fd1,'type':_0x497ac5,'params':{'unitId':_0xcda60f['unitId'],'textRanges':_0xcda60f['textRanges'],'actions':_0x4de356[_0x2caa70(0x23b)](_0x4e914e['actions'],_0xcda60f[_0x2caa70(0x21a)])}};},{})],_0x3cf8aa=(_0x2ce7bf=(_0x4080de=_0x11171b[_0x3e403f(0x253)]())==null?void 0x0:_0x4080de[_0x3e403f(0x260)])!=null?_0x2ce7bf:'unknown',_0x312e62=(_0x16548e=(_0xd3ae6d=_0x11171b[_0x3e403f(0x253)]())==null?void 0x0:_0xd3ae6d[_0x3e403f(0x1ff)])!=null?_0x16548e:_0x3e403f(0x1dd);return{'changeset':{'unitID':_0x464169,'type':_0x51d561(_0xe89595[_0x3e403f(0x351)](_0x464169)),'baseRev':_0x5a2b59['getCurrentRevOfUnit'](_0x464169),'revision':0x0,'userID':_0x3cf8aa,'memberID':_0x312e62,'mutations':_0x15c22d},'pendingMutations':[]};}function Ii(_0x5b8dd4,_0x331a0f){var _0x3d8570=_0x1494d6;const _0x2e302f=new _0x5da10e(0x1);return setTimeout(()=>_0x2e302f[_0x3d8570(0x1a6)](_0x331a0f),_0x5b8dd4),_0x2e302f[_0x3d8570(0x311)]()['pipe'](_0x4e8e35(0x1));}const $s={'id':_0x1286d6['id'],'type':_0x2950ef['MUTATION'],'params':{}};var Hs=Object[_0x1494d6(0x3e7)],Se=(_0x4c66a6,_0x1ed616,_0x177c3a,_0x4973f7)=>{for(var _0x5c924b=_0x4973f7>0x1?void 0x0:_0x4973f7?Hs(_0x1ed616,_0x177c3a):_0x1ed616,_0x4e446d=_0x4c66a6['length']-0x1,_0x41f2db;_0x4e446d>=0x0;_0x4e446d--)(_0x41f2db=_0x4c66a6[_0x4e446d])&&(_0x5c924b=_0x41f2db(_0x5c924b)||_0x5c924b);return _0x5c924b;},w=(_0x3617ca,_0x2109c5)=>(_0x24a37f,_0x1914da)=>_0x2109c5(_0x24a37f,_0x1914da,_0x3617ca),Si=(_0x56bf3e=>(_0x56bf3e[_0x1494d6(0x2fb)]=_0x1494d6(0x1f9),_0x56bf3e[_0x1494d6(0x3b9)]=_0x1494d6(0x20d),_0x56bf3e[_0x1494d6(0x477)]='pending',_0x56bf3e[_0x1494d6(0x182)]=_0x1494d6(0x206),_0x56bf3e['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x56bf3e[_0x1494d6(0x469)]=_0x1494d6(0x31a),_0x56bf3e[_0x1494d6(0x216)]=_0x1494d6(0x379),_0x56bf3e['OFFLINE']=_0x1494d6(0x22d),_0x56bf3e))(Si||{});const gi=0xea60;class ge{constructor(_0x1346b5,_0xa23ef6,_0x69b358,_0x18bbf0,_0x47c0c7,_0x5f56d4,_0x37a9dc,_0x129bae,_0x34a607){var _0x29478d=_0x1494d6;D(this,_0x29478d(0x1df),null),D(this,'_pendingMutations',[]),(this['unitID']=_0x1346b5,this['type']=_0xa23ef6,this[_0x29478d(0x3e1)]=_0x47c0c7,this[_0x29478d(0x443)]=_0x5f56d4,this['_undoRedoService']=_0x37a9dc,this['_revisionService']=_0x129bae,this['_localCacheService']=_0x34a607,this['_awaitingChangeset']=_0x69b358,this[_0x29478d(0x3ae)]=_0x18bbf0);}[_0x1494d6(0x446)](_0x5788a5){var _0x46bd1d=_0x1494d6;const _0x3972e2=this[_0x46bd1d(0x2db)][_0x46bd1d(0x436)](this[_0x46bd1d(0x430)]);return _0x5788a5[_0x46bd1d(0x3c5)]>_0x3972e2+0x1?(this[_0x46bd1d(0x3e1)][_0x46bd1d(0x30a)]({'from':_0x3972e2,'to':_0x5788a5['revision']-0x1}),!0x0):!0x1;}[_0x1494d6(0x1f1)](_0x715836){var _0x551b26=_0x1494d6;this[_0x551b26(0x3f7)][_0x551b26(0x468)](this[_0x551b26(0x430)],_0x715836);}['_transformSelections'](_0x573838){var _0x4866ad=_0x1494d6,_0x5cd05d,_0x517a61;(_0x517a61=(_0x5cd05d=this['_handler'])[_0x4866ad(0x203)])==null||_0x517a61[_0x4866ad(0x40b)](_0x5cd05d,_0x573838);}[_0x1494d6(0x29d)](_0x5ec126){var _0xc46362=_0x1494d6,_0x1f5ed9,_0x2cbca8;return(_0x2cbca8=(_0x1f5ed9=this[_0xc46362(0x3e1)])['onTransformIME'])==null?void 0x0:_0x2cbca8[_0xc46362(0x40b)](_0x1f5ed9,_0x5ec126);}[_0x1494d6(0x3a3)](_0x5a2ee3){var _0x543414=_0x1494d6,_0x5d967e,_0x1bd170;return(_0x1bd170=(_0x5d967e=this['_handler'])[_0x543414(0x275)])==null?void 0x0:_0x1bd170[_0x543414(0x40b)](_0x5d967e,_0x5a2ee3);}[_0x1494d6(0x3ca)](_0x91f5b){var _0x28cfc5=_0x1494d6,_0x2e29aa,_0x409e0c,_0x3ca37e;return(_0x3ca37e=(_0x409e0c=(_0x2e29aa=this[_0x28cfc5(0x3e1)])[_0x28cfc5(0x27c)])==null?void 0x0:_0x409e0c[_0x28cfc5(0x40b)](_0x2e29aa,_0x91f5b))!=null?_0x3ca37e:_0x91f5b;}[_0x1494d6(0x2dd)](_0x448a15){var _0x16bd84=_0x1494d6,_0x39e294,_0x16b48a,_0x27161b;return(_0x27161b=(_0x16b48a=(_0x39e294=this['_handler'])[_0x16bd84(0x1d8)])==null?void 0x0:_0x16b48a[_0x16bd84(0x40b)](_0x39e294,_0x448a15))!=null?_0x27161b:_0x448a15;}[_0x1494d6(0x402)](_0x21e5a9){var _0x497a6a=_0x1494d6,_0xdfebba,_0x357a3b;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x16975e,mutations:_0x50fcfa,memberID:_0x309b04}=_0x21e5a9,_0x7c3028=_0x50fcfa[0x0][_0x497a6a(0x344)][_0x497a6a(0x33d)];Array[_0x497a6a(0x225)](_0x7c3028)&&_0x7c3028[_0x497a6a(0x1c0)]>0x0&&((_0x357a3b=(_0xdfebba=this[_0x497a6a(0x3e1)])[_0x497a6a(0x37a)])==null||_0x357a3b[_0x497a6a(0x40b)](_0xdfebba,{'unitID':_0x16975e,'memberID':_0x309b04,'textRanges':_0x7c3028}));}}[_0x1494d6(0x18b)](){var _0x313752=_0x1494d6,_0x409ee7;(_0x409ee7=this[_0x313752(0x26e)])==null||_0x409ee7[_0x313752(0x441)](this[_0x313752(0x430)],this[_0x313752(0x33a)],this[_0x313752(0x1df)],this[_0x313752(0x3ae)]);}[_0x1494d6(0x46d)](){var _0x510a71=_0x1494d6;return this[_0x510a71(0x2db)][_0x510a71(0x436)](this[_0x510a71(0x430)]);}[_0x1494d6(0x450)](){var _0x24f0cd=_0x1494d6;this[_0x24f0cd(0x2db)][_0x24f0cd(0x28b)](this[_0x24f0cd(0x430)]);}[_0x1494d6(0x3cb)](_0x5b6d39){var _0x21cacd=_0x1494d6,_0x378e07;let _0x474b04=this['_transformRemoteChangesetByIMECache'](_0x5b6d39);_0x474b04=this['_transformRemoteChangesetByStateCache'](_0x474b04);const _0x1f765e=_0x390d53(_0x474b04['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1f765e[_0x21cacd(0x36c)])throw _0x1f765e[_0x21cacd(0x2ce)]instanceof Error?_0x1f765e[_0x21cacd(0x2ce)]:new Error((_0x378e07=_0x1f765e[_0x21cacd(0x2ce)])!=null?_0x378e07:'[CollaborationState]:\x20apply\x20error!');this[_0x21cacd(0x29d)](_0x474b04),this[_0x21cacd(0x3a3)](_0x474b04),this[_0x21cacd(0x1f1)](_0x5b6d39),this['_transformSelections'](_0x474b04),this[_0x21cacd(0x402)](_0x474b04),this[_0x21cacd(0x450)]();}}let be=class extends ge{constructor(_0x22a95a,_0x227478,_0x3d3e4b,_0x5cb63c,_0x1234e8,_0x101ca6,_0x59e30d,_0x455c0f,_0xca1e4f,_0x1c4f88){var _0x4680d3=_0x1494d6;super(_0x22a95a,_0x227478,null,[],_0x3d3e4b,_0x59e30d,_0x101ca6,_0x5cb63c,_0x1c4f88),D(this,_0x4680d3(0x3df),_0x4680d3(0x20d)),(this[_0x4680d3(0x380)]=_0x1234e8,this[_0x4680d3(0x29c)]=_0x455c0f,this[_0x4680d3(0x3bb)]=_0xca1e4f,this[_0x4680d3(0x27e)]=_0x1c4f88);}[_0x1494d6(0x396)](_0x168bf0){var _0x20f680=_0x1494d6;const _0x184fcc=this[_0x20f680(0x380)][_0x20f680(0x390)](ae,this[_0x20f680(0x430)],this['type'],[_0x168bf0],this['_handler']);return _0x184fcc[_0x20f680(0x2df)](),_0x184fcc['_updateLocalCache'](),_0x184fcc;}[_0x1494d6(0x23a)](_0x3a4cec){var _0x36b374=_0x1494d6;if(this[_0x36b374(0x446)](_0x3a4cec))return this[_0x36b374(0x380)][_0x36b374(0x390)](ee,this[_0x36b374(0x430)],this[_0x36b374(0x33a)],null,[],null,[_0x3a4cec],this[_0x36b374(0x3e1)]);try{const _0x511cd0=this[_0x36b374(0x3bb)][_0x36b374(0x2e5)](_0x3a4cec,[$s]);if(_0x336147(_0x511cd0)){const {c1Prime:_0x4f7ed4}=_0x511cd0;return this[_0x36b374(0x3cb)](_0x4f7ed4),this;}throw _0x511cd0['error'];}catch(_0x5b413e){return this[_0x36b374(0x29c)]['error'](_0x5b413e),this[_0x36b374(0x362)](!0x1);}}['_onConflict'](_0x50be6c){var _0x2a10fe=_0x1494d6;return this['_injector'][_0x2a10fe(0x390)](ue,this['unitID'],this[_0x2a10fe(0x33a)],null,[],this[_0x2a10fe(0x3e1)],_0x50be6c);}['onRemoteAck'](){var _0x7f9f43=_0x1494d6;throw new Error(_0x7f9f43(0x1dc));}[_0x1494d6(0x47f)](){var _0x5bf38a=_0x1494d6;throw new Error(_0x5bf38a(0x1b3));}[_0x1494d6(0x188)](){return this;}['toggleOffline'](){var _0x5d02c2=_0x1494d6;return this['_injector'][_0x5d02c2(0x390)](de,this[_0x5d02c2(0x430)],this[_0x5d02c2(0x33a)],null,[],this[_0x5d02c2(0x3e1)]);}[_0x1494d6(0x1d1)](){return this;}[_0x1494d6(0x211)](){var _0xfa1d32=_0x1494d6;throw new Error(_0xfa1d32(0x2b3));}['fetchMiss'](){var _0x3668ee=_0x1494d6;const _0x397853=this[_0x3668ee(0x2db)][_0x3668ee(0x436)](this[_0x3668ee(0x430)]);return this[_0x3668ee(0x3e1)][_0x3668ee(0x30a)]({'from':_0x397853,'to':0x0}),this[_0x3668ee(0x380)][_0x3668ee(0x390)](ee,this[_0x3668ee(0x430)],this[_0x3668ee(0x33a)],null,[],null,[],this[_0x3668ee(0x3e1)]);}};be=Se([w(0x3,_0x40a927(_0x65d3e9)),w(0x4,_0x40a927(_0x10bc24)),w(0x5,_0x5154ce),w(0x6,_0x40a596),w(0x7,_0x1c7d35),w(0x8,_0x2bd043),w(0x9,_0x207d04(J))],be);let ae=class extends ge{constructor(_0x3dc1cd,_0x59a0bb,_0x3f9bdb,_0x2f2b30,_0x4ee4c7,_0x3b77df,_0x50f25c,_0x51dac0,_0x301317,_0x2a568a,_0x492d6e,_0x4bf1de,_0x7b06b5,_0x2204eb){var _0x41cfbf=_0x1494d6;super(_0x3dc1cd,_0x59a0bb,null,_0x3f9bdb,_0x2f2b30,_0x301317,_0x7b06b5,_0x3b77df,_0x2204eb),D(this,_0x41cfbf(0x3df),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x41cfbf(0x47b),null),(this[_0x41cfbf(0x380)]=_0x4ee4c7,this['_memberService']=_0x50f25c,this[_0x41cfbf(0x29c)]=_0x51dac0,this[_0x41cfbf(0x2c3)]=_0x2a568a,this[_0x41cfbf(0x3bb)]=_0x492d6e,this[_0x41cfbf(0x45e)]=_0x4bf1de);}[_0x1494d6(0x396)](_0x323332){var _0x27288b=_0x1494d6;return this['_pendingMutations'][_0x27288b(0x359)](_0x323332),this[_0x27288b(0x18b)](),this;}[_0x1494d6(0x23a)](_0x2f01ca){var _0x2ca6b4=_0x1494d6;if(this[_0x2ca6b4(0x446)](_0x2f01ca))return this[_0x2ca6b4(0x2d6)](),this[_0x2ca6b4(0x380)][_0x2ca6b4(0x390)](ee,this[_0x2ca6b4(0x430)],this['type'],null,this[_0x2ca6b4(0x3ae)],null,[_0x2f01ca],this['_handler']);try{const _0x28ceac=this[_0x2ca6b4(0x3bb)][_0x2ca6b4(0x2e5)](_0x2f01ca,this['_pendingMutations']);if(_0x336147(_0x28ceac)){const {c1Prime:_0x3fb48b,m2Prime:_0x4f0b8d}=_0x28ceac;this['_executeRemoteChangeset'](_0x3fb48b);const _0x289852=this[_0x2ca6b4(0x380)][_0x2ca6b4(0x390)](ae,this[_0x2ca6b4(0x430)],this[_0x2ca6b4(0x33a)],_0x4f0b8d,this[_0x2ca6b4(0x3e1)]);this[_0x2ca6b4(0x2d6)]();const _0x47ede1=new Date()['getTime'](),_0x32efbd=this[_0x2ca6b4(0x261)]?Math[_0x2ca6b4(0x2a8)](this['_scheduleCompleteTimestamp']-_0x47ede1,0x0):this[_0x2ca6b4(0x335)]();return _0x289852[_0x2ca6b4(0x2df)](_0x32efbd),_0x289852;}throw _0x28ceac[_0x2ca6b4(0x2ce)];}catch(_0x526e64){return this[_0x2ca6b4(0x29c)][_0x2ca6b4(0x2ce)](_0x526e64),this['_onConflict'](!0x1);}}[_0x1494d6(0x1ef)](){var _0x181301=_0x1494d6;throw new Error(_0x181301(0x19e));}[_0x1494d6(0x47f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1494d6(0x188)](){return this;}[_0x1494d6(0x39f)](){var _0x347402=_0x1494d6;return this[_0x347402(0x2d6)](),this[_0x347402(0x380)][_0x347402(0x390)](de,this['unitID'],this[_0x347402(0x33a)],null,this['_pendingMutations'],this[_0x347402(0x3e1)]);}['toggleOnline'](){return this;}[_0x1494d6(0x2df)](_0x534604){var _0x24b21c=_0x1494d6;const _0x483fd8=_0x534604!=null?_0x534604:this[_0x24b21c(0x335)]();this[_0x24b21c(0x261)]=new Date()[_0x24b21c(0x199)]()+_0x483fd8,this[_0x24b21c(0x47b)]=setTimeout(()=>{var _0x32474e=_0x24b21c;this['_clearScheduledTask']();let _0x13a98d=null;switch(this['type']){case Q[_0x32474e(0x334)]:{_0x13a98d=Gt(this[_0x32474e(0x3ae)],this[_0x32474e(0x430)],this[_0x32474e(0x45e)],this[_0x32474e(0x2db)],this[_0x32474e(0x3c3)]);break;}case Q[_0x32474e(0x32a)]:{this['_pendingMutations'][_0x32474e(0x36b)](_0x381aaa=>_0x381aaa['id']===_0x3c3e36['id'])?_0x13a98d=ks(this[_0x32474e(0x3ae)],this['unitID'],this[_0x32474e(0x45e)],this[_0x32474e(0x2db)],this[_0x32474e(0x3c3)]):_0x13a98d=Gt(this[_0x32474e(0x3ae)],this[_0x32474e(0x430)],this['_univerInstanceService'],this['_revisionService'],this[_0x32474e(0x3c3)]);break;}default:throw new Error(_0x32474e(0x174)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x1df32a,pendingMutations:_0x1a9c9b}=_0x13a98d;this[_0x32474e(0x3e1)][_0x32474e(0x222)](_0x1df32a);const _0x1e0162=_0x1a9c9b[_0x32474e(0x1c0)]?this[_0x32474e(0x380)]['createInstance'](oe,this[_0x32474e(0x430)],this[_0x32474e(0x33a)],_0x1df32a,_0x1a9c9b,this['_handler'],void 0x0):this[_0x32474e(0x380)][_0x32474e(0x390)](le,this[_0x32474e(0x430)],this[_0x32474e(0x33a)],_0x1df32a,this[_0x32474e(0x3e1)]);_0x1e0162[_0x32474e(0x18b)](),this['_handler'][_0x32474e(0x23f)](this,_0x1e0162);},_0x483fd8);}[_0x1494d6(0x335)](){var _0x1f8ecf=_0x1494d6,_0x261d43;const _0x230acb=this[_0x1f8ecf(0x2c3)][_0x1f8ecf(0x1f3)](K);return(_0x261d43=_0x230acb==null?void 0x0:_0x230acb[_0x1f8ecf(0x35b)])!=null?_0x261d43:ps;}[_0x1494d6(0x211)](){var _0x5167b9=_0x1494d6;throw new Error(_0x5167b9(0x3ee));}['_clearScheduledTask'](){var _0x266907=_0x1494d6;this['_sendingTimer']!=null&&(clearTimeout(this[_0x266907(0x47b)]),this[_0x266907(0x47b)]=null);}['_onConflict'](_0x259d21){var _0x3398a1=_0x1494d6;return this['_clearScheduledTask'](),this[_0x3398a1(0x380)]['createInstance'](ue,this[_0x3398a1(0x430)],this[_0x3398a1(0x33a)],null,this[_0x3398a1(0x3ae)],this[_0x3398a1(0x3e1)],_0x259d21);}};ae=Se([w(0x4,_0x40a927(_0x10bc24)),w(0x5,_0x40a927(_0x65d3e9)),w(0x6,_0x40a927(Pe)),w(0x7,_0x1c7d35),w(0x8,_0x40a596),w(0x9,_0x5c8b82),w(0xa,_0x2bd043),w(0xb,_0x3aa953),w(0xc,_0x5154ce),w(0xd,_0x207d04(J))],ae);let le=class extends ge{constructor(_0x459500,_0x474913,_0x2f7925,_0x44e3db,_0x4e8b4b,_0x1c07e8,_0xa062f7,_0x5904cb,_0x116325,_0x3f9bb8,_0x120791){var _0x1ffb4c=_0x1494d6;super(_0x459500,_0x474913,_0x2f7925,[],_0x44e3db,_0xa062f7,_0x3f9bb8,_0x1c07e8,_0x120791),D(this,'status',_0x1ffb4c(0x206)),D(this,'_resendTimeout',0x0),D(this,_0x1ffb4c(0x372)),D(this,_0x1ffb4c(0x290)),(this['_injector']=_0x4e8b4b,this['_logService']=_0x5904cb,this[_0x1ffb4c(0x3bb)]=_0x116325);}[_0x1494d6(0x396)](_0xba1998){var _0x46cff4=_0x1494d6;this['_clearScheduledTask']();const _0x480de4=this['_injector'][_0x46cff4(0x390)](oe,this['unitID'],this[_0x46cff4(0x33a)],this[_0x46cff4(0x1df)],[_0xba1998],this[_0x46cff4(0x3e1)],this[_0x46cff4(0x372)]);return _0x480de4[_0x46cff4(0x18b)](),_0x480de4;}['onRemoteChangeset'](_0x15d135){var _0x3ff17b=_0x1494d6;if(this[_0x3ff17b(0x446)](_0x15d135))return this[_0x3ff17b(0x2d6)](),this['_injector'][_0x3ff17b(0x390)](ee,this[_0x3ff17b(0x430)],this[_0x3ff17b(0x33a)],this[_0x3ff17b(0x1df)],[],null,[_0x15d135],this[_0x3ff17b(0x3e1)]);try{const _0x278976=this[_0x3ff17b(0x3bb)][_0x3ff17b(0x1ce)]([_0x15d135],[this[_0x3ff17b(0x1df)]],!0x1);if(_0x19caf4(_0x278976)){const {c1Prime:_0x510c00,c2Prime:_0x25a733}=_0x278976;this[_0x3ff17b(0x3cb)](_0x510c00[0x0]),_0x25a733[0x0]['baseRev']=this[_0x3ff17b(0x46d)](),this[_0x3ff17b(0x2d6)]();const _0x7898e=this[_0x3ff17b(0x380)][_0x3ff17b(0x390)](le,this[_0x3ff17b(0x430)],this[_0x3ff17b(0x33a)],_0x25a733[0x0],this[_0x3ff17b(0x3e1)]);return _0x7898e[_0x3ff17b(0x18b)](),_0x7898e;}return this[_0x3ff17b(0x362)](!0x1);}catch(_0x19f7ac){return this['_logService']['error'](_0x19f7ac),this['_onConflict'](!0x1);}}[_0x1494d6(0x1ef)](_0x543ae8){var _0x313db3=_0x1494d6;this['_clearScheduledTask']();const _0x2fc3aa=this[_0x313db3(0x2db)]['getCurrentRevOfUnit'](this[_0x313db3(0x430)]);if(_0x543ae8[_0x313db3(0x3c5)]<_0x2fc3aa-0x1)return this;if(this[_0x313db3(0x446)](_0x543ae8))return this['_injector'][_0x313db3(0x390)](ee,this[_0x313db3(0x430)],this[_0x313db3(0x33a)],null,[],this[_0x313db3(0x1df)],[],this[_0x313db3(0x3e1)]);this['_incrementRevisionNumber']();const _0xedb88a=this[_0x313db3(0x380)][_0x313db3(0x390)](be,this[_0x313db3(0x430)],this[_0x313db3(0x33a)],this['_handler']);return _0xedb88a[_0x313db3(0x18b)](),_0xedb88a;}[_0x1494d6(0x47f)](_0x5dafed){var _0x29ab1f=_0x1494d6;return this['_onConflict'](!!(_0x5dafed!=null&&_0x5dafed[_0x29ab1f(0x407)]));}['onRemoteRetry'](_0x3c61fb){var _0x2a23d0=_0x1494d6;return this[_0x2a23d0(0x308)]>gi?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x2a23d0(0x308)],{'timeout':this[_0x2a23d0(0x308)],'reqId':_0x3c61fb[_0x2a23d0(0x1fe)]}),this[_0x2a23d0(0x290)]=this[_0x2a23d0(0x372)][_0x2a23d0(0x3c6)](({reqId:_0x47ceae,timeout:_0x1bccbe})=>{var _0x3bace9=_0x2a23d0;this[_0x3bace9(0x2a2)](_0x47ceae,_0x1bccbe);}),this);}[_0x1494d6(0x39f)](){var _0x5bf3aa=_0x1494d6;return this[_0x5bf3aa(0x2d6)](),this['_injector'][_0x5bf3aa(0x390)](de,this[_0x5bf3aa(0x430)],this['type'],this[_0x5bf3aa(0x1df)],[],this[_0x5bf3aa(0x3e1)]);}['toggleOnline'](){return this;}[_0x1494d6(0x211)](){var _0x562ee6=_0x1494d6;this[_0x562ee6(0x3e1)][_0x562ee6(0x222)](this[_0x562ee6(0x1df)]);}[_0x1494d6(0x362)](_0x481e9c){var _0x315aaf=_0x1494d6;return this[_0x315aaf(0x2d6)](),this[_0x315aaf(0x380)][_0x315aaf(0x390)](ue,this[_0x315aaf(0x430)],this[_0x315aaf(0x33a)],this[_0x315aaf(0x1df)],[],this['_handler'],_0x481e9c);}[_0x1494d6(0x2a2)](_0x58a323,_0x479971){var _0x2be549=_0x1494d6,_0x2eb03e;_0x58a323===((_0x2eb03e=this['_awaitingChangeset'])==null?void 0x0:_0x2eb03e['reqId'])&&(this[_0x2be549(0x211)](),this[_0x2be549(0x308)]=_0x479971===0x0?0x3e8:_0x479971*0x2);}['_clearScheduledTask'](){var _0x252967=_0x1494d6,_0x3f93ca;(_0x3f93ca=this[_0x252967(0x290)])==null||_0x3f93ca[_0x252967(0x3db)](),this[_0x252967(0x308)]=0x0;}};function _0x842d(_0x3f4417,_0x2f545a){var _0x1d6768=_0x1d67();return _0x842d=function(_0x842d3,_0x6c49df){_0x842d3=_0x842d3-0x172;var _0x4add97=_0x1d6768[_0x842d3];return _0x4add97;},_0x842d(_0x3f4417,_0x2f545a);}le=Se([w(0x4,_0x40a927(_0x10bc24)),w(0x5,_0x40a927(_0x65d3e9)),w(0x6,_0x40a596),w(0x7,_0x1c7d35),w(0x8,_0x2bd043),w(0x9,_0x5154ce),w(0xa,_0x207d04(J))],le);let oe=class extends ge{constructor(_0x2907fc,_0x4fa701,_0x176c1c,_0x573739,_0x4bde48,_0x5c416f,_0x2d02c7,_0x276011,_0xeecb3d,_0x592ece,_0xe787cd,_0x2f2f9d,_0x5150d1){var _0x2f2f0f=_0x1494d6;super(_0x2907fc,_0x4fa701,_0x176c1c,_0x573739,_0x4bde48,_0xeecb3d,_0x2f2f9d,_0x276011,_0x5150d1),D(this,'status',_0x2f2f0f(0x348)),D(this,_0x2f2f0f(0x308),0x0),D(this,_0x2f2f0f(0x372)),D(this,_0x2f2f0f(0x290)),(this[_0x2f2f0f(0x380)]=_0x2d02c7,this[_0x2f2f0f(0x29c)]=_0x592ece,this[_0x2f2f0f(0x3bb)]=_0xe787cd,this[_0x2f2f0f(0x27e)]=_0x5150d1,_0x5c416f&&(this[_0x2f2f0f(0x372)]=_0x5c416f,this['_sender']=this[_0x2f2f0f(0x372)]['subscribe'](({reqId:_0x349795,timeout:_0x2f53cd})=>{var _0xc57b3b=_0x2f2f0f;this[_0xc57b3b(0x2a2)](_0x349795,_0x2f53cd);})));}['appendMutation'](_0x8b9a3){var _0x56d24c=_0x1494d6;return this[_0x56d24c(0x3ae)][_0x56d24c(0x359)](_0x8b9a3),this;}['onRemoteChangeset'](_0x1fd463){var _0x3261ab=_0x1494d6;if(this['_checkMissing'](_0x1fd463))return this[_0x3261ab(0x2d6)](),this[_0x3261ab(0x380)]['createInstance'](ee,this[_0x3261ab(0x430)],this[_0x3261ab(0x33a)],this[_0x3261ab(0x1df)],this[_0x3261ab(0x3ae)],null,[_0x1fd463],this[_0x3261ab(0x3e1)]);try{const _0x25114f=this[_0x3261ab(0x3bb)]['transformChangesets']([_0x1fd463],[this['_awaitingChangeset']],!0x1);if(_0x19caf4(_0x25114f)){const {c1Prime:_0x41bee5,c2Prime:_0x4f3166}=_0x25114f,_0x35ed5c=this[_0x3261ab(0x3bb)][_0x3261ab(0x2e5)](_0x41bee5[0x0],this[_0x3261ab(0x3ae)]);if(_0x336147(_0x35ed5c)){const {c1Prime:_0x20191a,m2Prime:_0x73b1ca}=_0x35ed5c;return this[_0x3261ab(0x3cb)](_0x20191a),_0x4f3166[0x0][_0x3261ab(0x278)]=this[_0x3261ab(0x46d)](),this['_clearScheduledTask'](),this['_injector'][_0x3261ab(0x390)](oe,this['unitID'],this[_0x3261ab(0x33a)],_0x4f3166[0x0],_0x73b1ca,this[_0x3261ab(0x3e1)],void 0x0);}throw _0x35ed5c[_0x3261ab(0x2ce)];}throw _0x25114f['error'];}catch(_0x12b685){return this[_0x3261ab(0x29c)][_0x3261ab(0x2ce)](_0x12b685),this[_0x3261ab(0x362)](!0x1);}}[_0x1494d6(0x1ef)](_0x29a8fa){var _0xcb593=_0x1494d6;if(this[_0xcb593(0x2d6)](),this[_0xcb593(0x446)](_0x29a8fa))return this[_0xcb593(0x380)][_0xcb593(0x390)](ee,this[_0xcb593(0x430)],this[_0xcb593(0x33a)],null,this[_0xcb593(0x3ae)],this[_0xcb593(0x1df)],[],this[_0xcb593(0x3e1)]);this[_0xcb593(0x450)]();const _0x34c1dd=this['_injector'][_0xcb593(0x390)](ae,this['unitID'],this['type'],this[_0xcb593(0x3ae)],this['_handler']);return _0x34c1dd['_schedule'](),_0x34c1dd[_0xcb593(0x18b)](),_0x34c1dd;}[_0x1494d6(0x47f)](_0x123090){return this['_onConflict'](!!(_0x123090!=null&&_0x123090['isPermissionRej']));}[_0x1494d6(0x188)](_0x5b9d18){var _0x22d04c=_0x1494d6;return this[_0x22d04c(0x308)]>gi?this[_0x22d04c(0x39f)]():(this[_0x22d04c(0x372)]=Ii(this[_0x22d04c(0x308)],{'timeout':this[_0x22d04c(0x308)],'reqId':_0x5b9d18['reqId']}),this[_0x22d04c(0x290)]=this[_0x22d04c(0x372)]['subscribe'](({reqId:_0x4ad150,timeout:_0x420b2d})=>{var _0x30430c=_0x22d04c;this[_0x30430c(0x2a2)](_0x4ad150,_0x420b2d);}),this);}[_0x1494d6(0x39f)](){var _0x34276e=_0x1494d6;return this['_clearScheduledTask'](),this[_0x34276e(0x380)][_0x34276e(0x390)](de,this[_0x34276e(0x430)],this[_0x34276e(0x33a)],this[_0x34276e(0x1df)],this[_0x34276e(0x3ae)],this[_0x34276e(0x3e1)]);}[_0x1494d6(0x1d1)](){return this;}['resend'](){var _0x1cb094=_0x1494d6;this['_handler'][_0x1cb094(0x222)](this[_0x1cb094(0x1df)]);}[_0x1494d6(0x362)](_0x543713){var _0x14f5d8=_0x1494d6;return this[_0x14f5d8(0x2d6)](),this[_0x14f5d8(0x380)][_0x14f5d8(0x390)](ue,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x14f5d8(0x3e1)],_0x543713);}[_0x1494d6(0x2a2)](_0x52e149,_0x260d43){var _0x3fb1e3=_0x1494d6,_0x2865c3;_0x52e149===((_0x2865c3=this[_0x3fb1e3(0x1df)])==null?void 0x0:_0x2865c3[_0x3fb1e3(0x1fe)])&&(this[_0x3fb1e3(0x211)](),this[_0x3fb1e3(0x308)]=_0x260d43===0x0?0x3e8:_0x260d43*0x2);}[_0x1494d6(0x2d6)](){var _0x32ca54=_0x1494d6,_0x32e286;(_0x32e286=this[_0x32ca54(0x290)])==null||_0x32e286[_0x32ca54(0x3db)](),this[_0x32ca54(0x308)]=0x0;}};oe=Se([w(0x6,_0x40a927(_0x10bc24)),w(0x7,_0x40a927(_0x65d3e9)),w(0x8,_0x40a596),w(0x9,_0x1c7d35),w(0xa,_0x2bd043),w(0xb,_0x5154ce),w(0xc,_0x207d04(J))],oe);let ue=class extends ge{constructor(_0x23c4d1,_0x1147fa,_0x2f425e,_0x29b55e,_0xe99fb2,_0x42f80d=!0x1,_0x46a444,_0x487e92,_0x2779a0,_0x17975e,_0x1c17a3,_0x11a814,_0x461125){var _0x10017b=_0x1494d6;super(_0x23c4d1,_0x1147fa,_0x2f425e,_0x29b55e,_0xe99fb2,_0x487e92,_0x2779a0,_0x17975e,_0x461125),D(this,'status','conflict'),(this['_isPermissionRej']=_0x42f80d,this[_0x10017b(0x196)]=_0x46a444,this['_localeService']=_0x1c17a3,this[_0x10017b(0x177)]=_0x11a814,this['localCacheService']=_0x461125,this['_showConflictNotification'](),this[_0x10017b(0x1d5)](),this[_0x10017b(0x40f)]());}[_0x1494d6(0x396)](){return this;}[_0x1494d6(0x23a)](){return this;}[_0x1494d6(0x1ef)](){return this;}[_0x1494d6(0x47f)](){return this;}['onRemoteRetry'](){return this;}[_0x1494d6(0x39f)](){return this;}[_0x1494d6(0x1d1)](){return this;}[_0x1494d6(0x211)](){var _0x3da954=_0x1494d6;throw new Error(_0x3da954(0x43a));}[_0x1494d6(0x1d5)](){var _0x3bd7b9=_0x1494d6,_0x5682a5;(_0x5682a5=this[_0x3bd7b9(0x26e)])==null||_0x5682a5['updateOfflineData'](this[_0x3bd7b9(0x430)],this['type'],null,[]);}[_0x1494d6(0x193)](){var _0x54536e=_0x1494d6;this['_isPermissionRej']?this[_0x54536e(0x177)][_0x54536e(0x21b)]({'id':re['PERMISSION_DENIED']}):this[_0x54536e(0x177)][_0x54536e(0x21b)]({'id':re[_0x54536e(0x216)]});}[_0x1494d6(0x40f)](){this['_permissionService']['updatePermissionPoint'](new _0x2034a7(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x40a927(_0x2fea40)),w(0x7,_0x40a596),w(0x8,_0x5154ce),w(0x9,_0x40a927(_0x65d3e9)),w(0xa,_0x40a927(_0x504914)),w(0xb,_0x40a927(ve)),w(0xc,_0x207d04(J))],ue);let de=class extends ge{constructor(_0x2a932e,_0x7856c5,_0x1a6abe,_0x15f846,_0x2ed1c8,_0x2687da,_0x2ef07e,_0x2fda3a,_0x357a4f,_0x4c5232){var _0x2c6450=_0x1494d6;super(_0x2a932e,_0x7856c5,_0x1a6abe,_0x15f846,_0x2ed1c8,_0x2fda3a,_0x357a4f,_0x2ef07e,_0x4c5232),D(this,_0x2c6450(0x3df),_0x2c6450(0x22d)),this[_0x2c6450(0x380)]=_0x2687da;}[_0x1494d6(0x396)](_0xf4961b){var _0x43a116=_0x1494d6;return this[_0x43a116(0x3ae)][_0x43a116(0x359)](_0xf4961b),this[_0x43a116(0x18b)](),this;}[_0x1494d6(0x23a)](_0x2f6f47){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1494d6(0x1ef)](){var _0x1ba9e7=_0x1494d6;throw new Error(_0x1ba9e7(0x2cd));}[_0x1494d6(0x47f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1494d6(0x188)](){return this;}[_0x1494d6(0x39f)](){return this;}[_0x1494d6(0x1d1)](){var _0x5d29fe=_0x1494d6;const {_injector:_0x46d2ad,_pendingMutations:_0x527c19,_awaitingChangeset:_0x177715,unitID:_0x1d194c,_handler:_0x17e1cf,type:_0x23fd93}=this,_0x280ffa=Ti(_0x46d2ad,_0x1d194c,_0x23fd93,_0x177715,_0x527c19,_0x17e1cf);return _0x280ffa instanceof ae?_0x280ffa[_0x5d29fe(0x2df)]():(_0x280ffa instanceof oe||_0x280ffa instanceof le)&&_0x280ffa[_0x5d29fe(0x211)](),_0x280ffa;}[_0x1494d6(0x211)](){var _0x35a017=_0x1494d6;throw new Error(_0x35a017(0x189));}};de=Se([w(0x5,_0x40a927(_0x10bc24)),w(0x6,_0x40a927(_0x65d3e9)),w(0x7,_0x40a596),w(0x8,_0x5154ce),w(0x9,_0x207d04(J))],de);let ee=class extends ge{constructor(_0x34bd0b,_0x4b4494,_0x43e548,_0x319ddc,_0x5639b8,_0x373e42,_0x4153d1,_0x3109d0,_0xe54b27,_0x3e3e0b,_0x116021,_0x4918d3,_0x47d277,_0x58f48c){var _0x58b3e2=_0x1494d6;super(_0x34bd0b,_0x4b4494,_0x43e548,_0x319ddc,_0x4153d1,_0x116021,_0x4918d3,_0xe54b27,_0x58f48c),D(this,_0x58b3e2(0x3df),_0x58b3e2(0x31a)),(this[_0x58b3e2(0x438)]=_0x5639b8,this[_0x58b3e2(0x248)]=_0x373e42,this[_0x58b3e2(0x380)]=_0x3109d0,this[_0x58b3e2(0x29c)]=_0x3e3e0b,this[_0x58b3e2(0x3bb)]=_0x47d277,this[_0x58b3e2(0x27e)]=_0x58f48c);}[_0x1494d6(0x457)](_0x31dfd7){var _0x44143b=_0x1494d6;try{const _0x167c38=[..._0x31dfd7,...this[_0x44143b(0x248)]],_0x2eeb3d=[this[_0x44143b(0x1df)]||this[_0x44143b(0x438)]][_0x44143b(0x1ee)](_0x56dac7=>!!_0x56dac7);let _0x430ace,_0x4b4b6c;if(_0x2eeb3d['length']){const _0x5bf397=this[_0x44143b(0x3bb)][_0x44143b(0x1ce)](_0x167c38,_0x2eeb3d,!0x1);if(!_0x19caf4(_0x5bf397))throw _0x5bf397[_0x44143b(0x2ce)];_0x430ace=_0x5bf397['c1Prime'],_0x4b4b6c=_0x5bf397['c2Prime'];}else _0x430ace=_0x167c38,_0x4b4b6c=[];let _0x2eb9cf=this['_pendingMutations'];_0x430ace[_0x44143b(0x2f5)](_0x172fdb=>{var _0x4936c3=_0x44143b;let _0x27971f;if(_0x2eb9cf[_0x4936c3(0x1c0)]){const _0x3d0142=this[_0x4936c3(0x3bb)][_0x4936c3(0x2e5)](_0x172fdb,_0x2eb9cf);if(!_0x336147(_0x3d0142))throw _0x3d0142[_0x4936c3(0x2ce)];_0x27971f=_0x3d0142['c1Prime'],_0x2eb9cf=_0x3d0142[_0x4936c3(0x3de)];}else _0x27971f=_0x172fdb;this['_executeRemoteChangeset'](_0x27971f);}),this[_0x44143b(0x438)]&&this['_incrementRevisionNumber'](),this[_0x44143b(0x1df)]&&_0x4b4b6c[_0x44143b(0x1c0)]&&(_0x4b4b6c[0x0]['baseRev']=this[_0x44143b(0x46d)]());let _0x5bc04f;if(this[_0x44143b(0x1df)]&&_0x2eb9cf['length']!==0x0)_0x5bc04f=this[_0x44143b(0x380)][_0x44143b(0x390)](oe,this[_0x44143b(0x430)],this[_0x44143b(0x33a)],_0x4b4b6c[0x0],_0x2eb9cf,this['_handler'],void 0x0);else{if(this[_0x44143b(0x1df)]&&_0x2eb9cf['length']===0x0)_0x4b4b6c[0x0][_0x44143b(0x278)]=this[_0x44143b(0x46d)](),_0x5bc04f=this[_0x44143b(0x380)][_0x44143b(0x390)](le,this[_0x44143b(0x430)],this[_0x44143b(0x33a)],_0x4b4b6c[0x0],this['_handler']);else{if(_0x2eb9cf[_0x44143b(0x1c0)]!==0x0){const _0x2bece4=this[_0x44143b(0x380)][_0x44143b(0x390)](ae,this['unitID'],this[_0x44143b(0x33a)],_0x2eb9cf,this[_0x44143b(0x3e1)]);_0x2bece4[_0x44143b(0x2df)](),_0x5bc04f=_0x2bece4;}else _0x5bc04f=this['_injector'][_0x44143b(0x390)](be,this[_0x44143b(0x430)],this['type'],this['_handler']);}}return _0x5bc04f[_0x44143b(0x18b)](),_0x5bc04f;}catch(_0x23e568){return this[_0x44143b(0x29c)][_0x44143b(0x2ce)]('[FetchMissState]',_0x44143b(0x215),_0x23e568),this['_injector']['createInstance'](ue,this[_0x44143b(0x430)],this[_0x44143b(0x33a)],this[_0x44143b(0x1df)],this[_0x44143b(0x3ae)],this['_handler'],!0x1);}}['resend'](){var _0x10bc51=_0x1494d6;throw new Error(_0x10bc51(0x2d8));}[_0x1494d6(0x396)](_0x4eddfc){return this['_pendingMutations']['push'](_0x4eddfc),this;}[_0x1494d6(0x23a)](_0x31f785){var _0xa66943=_0x1494d6;return this[_0xa66943(0x248)]['push'](_0x31f785),this;}[_0x1494d6(0x1ef)](_0x2f3ac2){var _0x11836a=_0x1494d6;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x11836a(0x1df)],this[_0x11836a(0x1df)]=null,this;throw new Error(_0x11836a(0x2c7));}[_0x1494d6(0x47f)](_0x5bbbb3){var _0x5ec656=_0x1494d6;return this[_0x5ec656(0x362)](!!(_0x5bbbb3!=null&&_0x5bbbb3[_0x5ec656(0x407)]));}['onRemoteRetry'](){return this;}[_0x1494d6(0x39f)](){var _0x23044b=_0x1494d6;return this[_0x23044b(0x380)][_0x23044b(0x390)](de,this['unitID'],this[_0x23044b(0x33a)],this[_0x23044b(0x1df)],this[_0x23044b(0x3ae)],this[_0x23044b(0x3e1)]);}[_0x1494d6(0x1d1)](){return this;}[_0x1494d6(0x362)](_0x4f74a){var _0x1ecdf7=_0x1494d6;return this['_injector']['createInstance'](ue,this[_0x1ecdf7(0x430)],this[_0x1ecdf7(0x33a)],this[_0x1ecdf7(0x1df)],this[_0x1ecdf7(0x3ae)],this[_0x1ecdf7(0x3e1)],_0x4f74a);}};ee=Se([w(0x7,_0x40a927(_0x10bc24)),w(0x8,_0x40a927(_0x65d3e9)),w(0x9,_0x1c7d35),w(0xa,_0x40a596),w(0xb,_0x5154ce),w(0xc,_0x2bd043),w(0xd,_0x207d04(J))],ee);function Ti(_0x4f0852,_0x57cc8b,_0x5f406e,_0x2e4875,_0x7565d,_0x3791bb){var _0x1dcc39=_0x1494d6;return _0x2e4875&&_0x7565d[_0x1dcc39(0x1c0)]?_0x4f0852['createInstance'](oe,_0x57cc8b,_0x5f406e,_0x2e4875,_0x7565d,_0x3791bb,void 0x0):_0x2e4875?_0x4f0852[_0x1dcc39(0x390)](le,_0x57cc8b,_0x5f406e,_0x2e4875,_0x3791bb):_0x7565d[_0x1dcc39(0x1c0)]?_0x4f0852[_0x1dcc39(0x390)](ae,_0x57cc8b,_0x5f406e,_0x7565d,_0x3791bb):_0x4f0852['createInstance'](be,_0x57cc8b,_0x5f406e,_0x3791bb);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0x6b9454,_0x3291f8,_0xca83d1,_0x2dddf1)=>{var _0x5c0e2d=_0x1494d6;for(var _0x36c501=_0x2dddf1>0x1?void 0x0:_0x2dddf1?Bs(_0x3291f8,_0xca83d1):_0x3291f8,_0x4b752f=_0x6b9454[_0x5c0e2d(0x1c0)]-0x1,_0x48c7a7;_0x4b752f>=0x0;_0x4b752f--)(_0x48c7a7=_0x6b9454[_0x4b752f])&&(_0x36c501=_0x48c7a7(_0x36c501)||_0x36c501);return _0x36c501;},$=(_0x9e67da,_0x35b8b6)=>(_0x300d7f,_0x14ee7f)=>_0x35b8b6(_0x300d7f,_0x14ee7f,_0x9e67da);let st=class extends _0x2e5652{constructor(_0x81d581,_0x5e7bf1,_0x1621c1,_0x5533b3,_0x16f556,_0x483d56,_0x59ed52,_0x2153c3,_0x4ff260,_0x138e00,_0x5e0d19,_0x544d4b,_0xf0602e,_0x19a821){var _0x223bd3=_0x1494d6;super(),D(this,_0x223bd3(0x3dd),new _0x9f1b26(null)),D(this,'state$',this['_state$'][_0x223bd3(0x311)]()),D(this,_0x223bd3(0x408)),D(this,'_collaborationPaused',!0x1),D(this,_0x223bd3(0x428),''),D(this,_0x223bd3(0x2ad),0x0),D(this,_0x223bd3(0x333),this[_0x223bd3(0x34f)]['pipe'](_0x43487e(_0x453f0c=>_0x453f0c?_0x453f0c[_0x223bd3(0x3df)]:Si[_0x223bd3(0x368)]),_0x4a16e1(0x1))),D(this,_0x223bd3(0x3d0),!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x81d581,this[_0x223bd3(0x320)]=_0x5e7bf1,this[_0x223bd3(0x3da)]=_0x1621c1,this[_0x223bd3(0x380)]=_0x5533b3,this[_0x223bd3(0x2d2)]=_0x16f556,this[_0x223bd3(0x45a)]=_0x483d56,this[_0x223bd3(0x2db)]=_0x59ed52,this[_0x223bd3(0x1c3)]=_0x2153c3,this['_univerInstanceService']=_0x4ff260,this[_0x223bd3(0x29c)]=_0x138e00,this[_0x223bd3(0x443)]=_0x5e0d19,this['_permissionService']=_0x544d4b,this[_0x223bd3(0x3b3)]=_0xf0602e,this[_0x223bd3(0x26e)]=_0x19a821);}get['state'](){var _0x428aa0=_0x1494d6;return this[_0x428aa0(0x408)];}async[_0x1494d6(0x287)](){var _0x461a7a=_0x1494d6;if(this['state'])throw new Error(_0x461a7a(0x42a));await this[_0x461a7a(0x39a)]();}['pauseCollaboration'](){var _0x11ee01=_0x1494d6;return this[_0x11ee01(0x1d9)]=!0x0,_0x4a0717(()=>{var _0x15ee2f=_0x11ee01;this[_0x15ee2f(0x1d9)]=!0x1,this[_0x15ee2f(0x3a9)]();});}['onLocalMutation'](_0x26b6ac){this['_onLocalMutation'](_0x26b6ac);}['_updateState'](_0x397099){var _0x2f1256=_0x1494d6;this[_0x2f1256(0x408)]=_0x397099,this[_0x2f1256(0x3dd)][_0x2f1256(0x1a6)](_0x397099);}async[_0x1494d6(0x39a)](){var _0x5bd858=_0x1494d6,_0x21c21a;this[_0x5bd858(0x25c)](await this['_createInitialState']()),this[_0x5bd858(0x3b3)]&&((_0x21c21a=this[_0x5bd858(0x3b3)])==null||_0x21c21a['editingUnit'](this[_0x5bd858(0x430)]),this[_0x5bd858(0x32e)](this[_0x5bd858(0x3b3)][_0x5bd858(0x1a3)](this[_0x5bd858(0x430)])[_0x5bd858(0x3c6)](_0x53716d=>{var _0x3c704c=_0x5bd858;this[_0x3c704c(0x29c)][_0x3c704c(0x1cf)]('[CollaborationEntity]',_0x3c704c(0x219),_0x53716d),_0x53716d===mi['OTHER_CLIENTS_EDITING']?(this[_0x3c704c(0x1c3)]['emitEvent']({'id':re[_0x3c704c(0x220)]}),this[_0x3c704c(0x196)][_0x3c704c(0x47a)](new _0x2034a7(this[_0x3c704c(0x430)])['id'],!0x1),this[_0x3c704c(0x196)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x3c704c(0x47a)](new _0x2034a7(this['unitID'])['id'],!0x0),this[_0x3c704c(0x196)][_0x3c704c(0x22c)](!0x0));})));let _0x1ed264=!0x1;return this[_0x5bd858(0x32e)](this['session'][_0x5bd858(0x35a)][_0x5bd858(0x3c6)](_0x4acfad=>{var _0x109876=_0x5bd858;_0x4acfad===me[_0x109876(0x18d)]?this['_toggleOnline'](_0x1ed264):_0x4acfad===me[_0x109876(0x368)]&&(_0x1ed264=!0x0,this[_0x109876(0x1b8)]());})),this[_0x5bd858(0x32e)](this['session'][_0x5bd858(0x1c8)][_0x5bd858(0x3c6)](_0x6187c3=>{var _0x9135a7=_0x5bd858;try{switch(_0x6187c3['eventID']){case _0x3719ba[_0x9135a7(0x3e8)]:{this[_0x9135a7(0x42b)](_0x5acf7f(_0x6187c3[_0x9135a7(0x40d)]));break;}case _0x3719ba[_0x9135a7(0x2c4)]:{this['_onRemoteACK'](_0x6187c3[_0x9135a7(0x40d)]);break;}case _0x3719ba['CHANGESET_REJ']:{this[_0x9135a7(0x40c)]();break;}case _0x3719ba[_0x9135a7(0x1bd)]:{this[_0x9135a7(0x2b2)](_0x6187c3[_0x9135a7(0x40d)]);break;}case _0x3719ba[_0x9135a7(0x259)]:{this[_0x9135a7(0x2c5)](_0x6187c3[_0x9135a7(0x40d)][_0x9135a7(0x39e)][_0x9135a7(0x31d)](_0x4713cc=>_0x5acf7f(_0x4713cc)));break;}case _0x3719ba[_0x9135a7(0x41a)]:{this[_0x9135a7(0x40c)]({'isPermissionRej':!0x0});break;}case _0x3719ba[_0x9135a7(0x2bc)]:break;}}catch(_0xa921f){throw console[_0x9135a7(0x2ce)]('Error\x20on\x20receiving\x20event',_0xa921f),_0xa921f;}})),this[_0x5bd858(0x408)];}[_0x1494d6(0x3f9)](){var _0x4d47ab=_0x1494d6;this[_0x4d47ab(0x3d0)]=!0x1;}[_0x1494d6(0x3ac)](){var _0x5732cf=_0x1494d6;if(this[_0x5732cf(0x3d0)])throw new Error(_0x5732cf(0x235));this[_0x5732cf(0x3d0)]=!0x0;}['_onLocalMutation'](_0x86ff06){var _0x10e5b6=_0x1494d6;this[_0x10e5b6(0x3ac)](),this[_0x10e5b6(0x25c)](this['_state'][_0x10e5b6(0x396)](_0x86ff06)),this[_0x10e5b6(0x3f9)]();}[_0x1494d6(0x42b)](_0x546af5){var _0x168ca1=_0x1494d6;if(!(_0x546af5[_0x168ca1(0x3c5)]<=this[_0x168ca1(0x2db)][_0x168ca1(0x436)](this[_0x168ca1(0x430)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x168ca1(0x359)](_0x546af5);return;}this[_0x168ca1(0x178)](_0x546af5);}}[_0x1494d6(0x3a9)](){var _0xd5eeec=_0x1494d6;this[_0xd5eeec(0x465)][_0xd5eeec(0x2f5)](_0x48fb1e=>this[_0xd5eeec(0x178)](_0x48fb1e)),this[_0xd5eeec(0x465)]=[];}['_applyRemoteChangeset'](_0x4b9eaa){var _0x527d47=_0x1494d6;const _0x2c28e7=this['_compressMutationService'][_0x527d47(0x218)][_0x527d47(0x3c7)](this[_0x527d47(0x2d2)][_0x527d47(0x218)][_0x527d47(0x37b)]()[_0x527d47(0x1a8)])(_0x4b9eaa['mutations'],null)||_0x4b9eaa[_0x527d47(0x2f2)],_0x16e8f0={..._0x4b9eaa,'mutations':_0x2c28e7};this[_0x527d47(0x3ac)](),this['_updateState'](this['_state'][_0x527d47(0x23a)](_0x16e8f0)),this[_0x527d47(0x3f9)]();}['_onRemoteACK'](_0x5e2644){var _0x376258=_0x1494d6;this[_0x376258(0x3ac)](),this[_0x376258(0x25c)](this['_state']['onRemoteAck'](_0x5e2644)),this[_0x376258(0x3f9)]();}[_0x1494d6(0x40c)](_0x439994){var _0x503f59=_0x1494d6;this['_lockTransition'](),this[_0x503f59(0x25c)](this['_state'][_0x503f59(0x47f)](_0x439994)),this[_0x503f59(0x3f9)]();}[_0x1494d6(0x2b2)](_0x1a2e23){var _0x56b9bf=_0x1494d6;this['_lockTransition'](),this[_0x56b9bf(0x25c)](this['_state'][_0x56b9bf(0x188)](_0x1a2e23)),this['_unlockTransition']();}[_0x1494d6(0x2c5)](_0x3d499d){var _0x2b6e28=_0x1494d6;if(!(this[_0x2b6e28(0x408)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x137cb4=_0x3d499d[_0x2b6e28(0x31d)](_0x32017f=>{var _0x2c0af8=_0x2b6e28;const _0x24e37a=this[_0x2c0af8(0x2d2)]['interceptor']['fetchThroughInterceptors'](this[_0x2c0af8(0x2d2)][_0x2c0af8(0x218)][_0x2c0af8(0x37b)]()[_0x2c0af8(0x1a8)])(_0x32017f[_0x2c0af8(0x2f2)],null)||_0x32017f[_0x2c0af8(0x2f2)];return{..._0x32017f,'mutations':_0x24e37a};});this[_0x2b6e28(0x3ac)](),this[_0x2b6e28(0x25c)](this[_0x2b6e28(0x408)][_0x2b6e28(0x457)](_0x137cb4)),this['_unlockTransition']();}['_toggleOffline'](){var _0x243279=_0x1494d6;this[_0x243279(0x3ac)](),this[_0x243279(0x25c)](this['_state'][_0x243279(0x39f)]()),this['_unlockTransition']();}[_0x1494d6(0x3a1)](_0x1fe716=!0x1){var _0x1443e9=_0x1494d6;this[_0x1443e9(0x3ac)](),this[_0x1443e9(0x25c)](this[_0x1443e9(0x408)][_0x1443e9(0x1d1)]()),this[_0x1443e9(0x3f9)]();const _0x4d211e=this[_0x1443e9(0x408)];_0x1fe716&&_0x4d211e instanceof be&&(this['_lockTransition'](),this[_0x1443e9(0x25c)](_0x4d211e[_0x1443e9(0x453)]()),this[_0x1443e9(0x3f9)]());}async[_0x1494d6(0x42e)](){return new Promise(_0x4a9d66=>{var _0x34683b=_0x842d;this[_0x34683b(0x320)][_0x34683b(0x35a)][_0x34683b(0x354)](_0x4e8e35(0x1))['subscribe'](async _0x5dfa69=>{var _0xebd092=_0x34683b;_0x4a9d66(await this[_0xebd092(0x18e)](_0x5dfa69===me['ONLINE']));});});}[_0x1494d6(0x2e0)](){const _0x8bdb71=this['unitID'];return{'onStateChange':(_0x474748,_0x133414)=>{var _0x16555e=_0x842d;if(_0x474748!==this[_0x16555e(0x408)])throw new Error(_0x16555e(0x185)+_0x474748[_0x16555e(0x3df)]+_0x16555e(0x1ed)+_0x133414['status']+'\x0aCurrent:\x20'+this[_0x16555e(0x408)][_0x16555e(0x3df)]);this['_updateState'](_0x133414);},'onSendChangeset':_0x44d2ae=>{var _0x32a81a=_0x842d;_0x44d2ae[_0x32a81a(0x37e)]||(_0x44d2ae[_0x32a81a(0x37e)]=this[_0x32a81a(0x428)],_0x44d2ae[_0x32a81a(0x1fe)]=++this[_0x32a81a(0x2ad)]);const _0x209c20={'eventID':_0x3719ba[_0x32a81a(0x420)],'data':{'unitID':_0x44d2ae[_0x32a81a(0x430)],'unitType':this[_0x32a81a(0x3da)],'changeset':_0x44d2ae,'memberID':this['session'][_0x32a81a(0x26c)]()}};this[_0x32a81a(0x320)]['send'](_0x209c20,this[_0x32a81a(0x430)]);},'onMissingChangesets':({from:_0x3462ca,to:_0x536f88})=>{var _0x45037d=_0x842d;this['_logService']['debug']('[CollaborationEntity]',_0x45037d(0x2cc)+_0x3462ca+_0x45037d(0x479)+_0x536f88);const _0x4ca1da={'eventID':_0x3719ba[_0x45037d(0x2ec)],'data':{'unitID':_0x8bdb71,'unitType':this[_0x45037d(0x3da)],'from':_0x3462ca,'to':_0x536f88}};this['session']['send'](_0x4ca1da,this[_0x45037d(0x430)]);}};}async[_0x1494d6(0x18e)](_0x3439ec){var _0x5644ba=_0x1494d6,_0x169d69,_0x386471,_0x329994;const _0x585fff=await((_0x169d69=this[_0x5644ba(0x26e)])==null?void 0x0:_0x169d69['loadOfflineData'](this['unitID'])),_0xbe996e=(_0x386471=_0x585fff==null?void 0x0:_0x585fff[_0x5644ba(0x2f2)])!=null?_0x386471:[],_0x1f6bcb=(_0x329994=_0x585fff==null?void 0x0:_0x585fff[_0x5644ba(0x319)])!=null?_0x329994:null,_0x189ea3=!!(_0x1f6bcb!=null&&_0x1f6bcb[_0x5644ba(0x37e)])&&!!(_0x1f6bcb!=null&&_0x1f6bcb[_0x5644ba(0x1fe)]);this['_changesetSessionId']=_0x189ea3?_0x1f6bcb[_0x5644ba(0x37e)]:_0x1c092a(),this[_0x5644ba(0x2ad)]=_0x189ea3?_0x1f6bcb[_0x5644ba(0x1fe)]:0x0;const _0x3f854c=this[_0x5644ba(0x430)];try{this['_replayCachedMutations'](_0x1f6bcb,_0xbe996e);}catch(_0x52074e){this[_0x5644ba(0x29c)]['error'](_0x52074e);}const _0x54f7c9=this[_0x5644ba(0x2e0)]();if(_0x3439ec){const _0x126f99=Ti(this[_0x5644ba(0x380)],_0x3f854c,this[_0x5644ba(0x3da)],_0x1f6bcb,_0xbe996e,_0x54f7c9);return _0x126f99 instanceof ae?_0x126f99[_0x5644ba(0x2df)]():(_0x126f99 instanceof oe||_0x126f99 instanceof le)&&_0x126f99[_0x5644ba(0x211)](),_0x126f99;}return this[_0x5644ba(0x380)][_0x5644ba(0x390)](de,_0x3f854c,this['_type'],_0x1f6bcb,_0xbe996e,_0x54f7c9);}[_0x1494d6(0x240)](_0x1caa12,_0x7242de){var _0x51046f=_0x1494d6,_0x10485a,_0x4519fc;const _0x4b3e81=this['_compressMutationService']['interceptor'][_0x51046f(0x3c7)](this[_0x51046f(0x2d2)][_0x51046f(0x218)]['getInterceptPoints']()[_0x51046f(0x1a8)]);(_0x10485a=_0x4b3e81((_0x1caa12==null?void 0x0:_0x1caa12['mutations'])||[],null))==null||_0x10485a[_0x51046f(0x2f5)](_0x24a207=>this[_0x51046f(0x443)][_0x51046f(0x270)](_0x24a207['id'],_0x24a207[_0x51046f(0x344)])),(_0x4519fc=_0x4b3e81(_0x7242de||[],null))==null||_0x4519fc[_0x51046f(0x2f5)](_0x40eb8a=>this[_0x51046f(0x443)][_0x51046f(0x270)](_0x40eb8a['id'],_0x40eb8a['params']));}};st=Pt([$(0x3,_0x40a927(_0x10bc24)),$(0x4,_0x40a927(_0x318cb1)),$(0x5,_0x40a927(_0x504914)),$(0x6,_0x40a927(_0x65d3e9)),$(0x7,_0x40a927(ve)),$(0x8,_0x3aa953),$(0x9,_0x1c7d35),$(0xa,_0x40a596),$(0xb,_0x2fea40),$(0xc,_0x207d04(_t)),$(0xd,_0x207d04(J))],st);let It=class extends st{constructor(_0x4d4665,_0xbf74f8,_0x252f0b,_0x2ef7a5,_0x128b88,_0x36c8f8,_0x3cd566,_0x5e12fa,_0x259507,_0x51b730,_0x39b8dc,_0x5d240e,_0x365e45,_0x548564){var _0x7ada96=_0x1494d6;super(_0x4d4665,_0x252f0b,_0xbf74f8,_0x2ef7a5,_0x128b88,_0x36c8f8,_0x3cd566,_0x5e12fa,_0x259507,_0x51b730,_0x39b8dc,_0x5d240e,_0x365e45,_0x548564),D(this,_0x7ada96(0x27a),null),(this[_0x7ada96(0x430)]=_0x4d4665,this['type']=_0xbf74f8);}[_0x1494d6(0x237)](_0x3be562){this['_handlerCallback']=_0x3be562;}['dispose'](){var _0x56ac1f=_0x1494d6;this[_0x56ac1f(0x27a)]=null,super[_0x56ac1f(0x462)]();}[_0x1494d6(0x2e0)](){var _0x5e7ba6=_0x1494d6;const _0x196297=super['_createHandler']();return _0x196297[_0x5e7ba6(0x1db)]=_0x3193f4=>{var _0x298e3d=_0x5e7ba6,_0x57a655,_0x4d22a2;return(_0x4d22a2=(_0x57a655=this[_0x298e3d(0x27a)])==null?void 0x0:_0x57a655[_0x298e3d(0x1db)])==null?void 0x0:_0x4d22a2['call'](_0x57a655,_0x3193f4);},_0x196297[_0x5e7ba6(0x275)]=_0x35f13b=>{var _0x2cec02=_0x5e7ba6,_0x1ba91e,_0x2a4552;return(_0x2a4552=(_0x1ba91e=this[_0x2cec02(0x27a)])==null?void 0x0:_0x1ba91e[_0x2cec02(0x275)])==null?void 0x0:_0x2a4552['call'](_0x1ba91e,_0x35f13b);},_0x196297['onTransformSelections']=_0x426962=>{var _0x4f534a=_0x5e7ba6,_0x6d56a5,_0x48b651;return(_0x48b651=(_0x6d56a5=this[_0x4f534a(0x27a)])==null?void 0x0:_0x6d56a5['onTransformSelections'])==null?void 0x0:_0x48b651[_0x4f534a(0x40b)](_0x6d56a5,_0x426962);},_0x196297[_0x5e7ba6(0x37a)]=_0x18d8c2=>{var _0x5f3a71=_0x5e7ba6,_0x50d44f,_0x5732e7;return(_0x5732e7=(_0x50d44f=this[_0x5f3a71(0x27a)])==null?void 0x0:_0x50d44f[_0x5f3a71(0x37a)])==null?void 0x0:_0x5732e7['call'](_0x50d44f,_0x18d8c2);},_0x196297[_0x5e7ba6(0x27c)]=_0x124f0c=>{var _0x405c83=_0x5e7ba6,_0x22f783,_0x244283,_0x4b74ae;if(!((_0x22f783=this[_0x405c83(0x27a)])!=null&&_0x22f783['onTransformRemoteChangesetByIMECache']))throw new Error(_0x405c83(0x3d9));return(_0x4b74ae=(_0x244283=this[_0x405c83(0x27a)])==null?void 0x0:_0x244283[_0x405c83(0x27c)])==null?void 0x0:_0x4b74ae['call'](_0x244283,_0x124f0c);},_0x196297['onTransformRemoteChangesetByStateCache']=_0xb29e48=>{var _0xdb8fd2=_0x5e7ba6,_0xbc2744,_0x4354c5,_0x43e9a3;if(!((_0xbc2744=this['_handlerCallback'])!=null&&_0xbc2744[_0xdb8fd2(0x1d8)]))throw new Error(_0xdb8fd2(0x2f9));return(_0x43e9a3=(_0x4354c5=this[_0xdb8fd2(0x27a)])==null?void 0x0:_0x4354c5[_0xdb8fd2(0x1d8)])==null?void 0x0:_0x43e9a3[_0xdb8fd2(0x40b)](_0x4354c5,_0xb29e48);},_0x196297;}async[_0x1494d6(0x39a)](){var _0x3a543a=_0x1494d6;const _0x122a36=await super['_init']();return this[_0x3a543a(0x32e)](this[_0x3a543a(0x443)][_0x3a543a(0x208)]((_0x2f354b,_0x2da2f7)=>{var _0x154482=_0x3a543a;if(_0x2f354b[_0x154482(0x33a)]!==_0x2950ef[_0x154482(0x3a2)]||_0x2da2f7!=null&&_0x2da2f7[_0x154482(0x3d1)]||_0x2da2f7!=null&&_0x2da2f7[_0x154482(0x458)]||_0x2f354b['id']===_0x3c3e36['id'])return;const _0x15321d=_0x2f354b[_0x154482(0x344)];if((_0x15321d==null?void 0x0:_0x15321d['unitId'])!==this[_0x154482(0x430)])return;const _0x4405a8=_0x2f354b,_0x3b5dfd=this[_0x154482(0x2d2)][_0x154482(0x218)][_0x154482(0x3c7)](this[_0x154482(0x2d2)][_0x154482(0x218)][_0x154482(0x37b)]()[_0x154482(0x263)])([_0x4405a8],this[_0x154482(0x45e)])||[_0x4405a8];this[_0x154482(0x282)](_0x3b5dfd[0x0]);})),_0x122a36;}};It=Pt([$(0x3,_0x40a927(_0x10bc24)),$(0x4,_0x40a927(_0x318cb1)),$(0x5,_0x40a927(_0x504914)),$(0x6,_0x40a927(_0x65d3e9)),$(0x7,_0x40a927(ve)),$(0x8,_0x3aa953),$(0x9,_0x1c7d35),$(0xa,_0x40a596),$(0xb,_0x2fea40),$(0xc,_0x207d04(_t)),$(0xd,_0x207d04(J))],It);let St=class extends st{constructor(_0xb07e2e,_0x151eb9,_0x333c6e,_0x109c01,_0x50cc61,_0xdab82,_0x2ef0fb,_0x440f8d,_0x1dc611,_0x473219,_0x266354,_0xbfb6bf,_0x5883d5,_0x4441dc,_0xa6ee2a){var _0x2fbb15=_0x1494d6;super(_0xb07e2e,_0x333c6e,_0x151eb9,_0x109c01,_0x50cc61,_0xdab82,_0x2ef0fb,_0x1dc611,_0x473219,_0x266354,_0xbfb6bf,_0x5883d5,_0x4441dc,_0xa6ee2a),this[_0x2fbb15(0x430)]=_0xb07e2e,this[_0x2fbb15(0x33a)]=_0x151eb9,this[_0x2fbb15(0x1d7)]=_0x440f8d;}[_0x1494d6(0x2e0)](){var _0x4bf1f4=_0x1494d6;const _0x1b23f2=super[_0x4bf1f4(0x2e0)]();return _0x1b23f2[_0x4bf1f4(0x203)]=_0x47ffba=>this[_0x4bf1f4(0x1d7)][_0x4bf1f4(0x2b4)](_0x47ffba),_0x1b23f2;}async['_init'](){var _0x3e9938=_0x1494d6;const _0x1ac837=await super[_0x3e9938(0x39a)]();return this[_0x3e9938(0x32e)](this[_0x3e9938(0x443)][_0x3e9938(0x208)]((_0x46879f,_0x449f55)=>{var _0xc4437f=_0x3e9938;if(_0x46879f[_0xc4437f(0x33a)]!==_0x2950ef[_0xc4437f(0x3a2)]||_0x449f55!=null&&_0x449f55['fromCollab']||_0x449f55!=null&&_0x449f55[_0xc4437f(0x458)])return;const _0x4dc7b4=_0x46879f[_0xc4437f(0x344)];if((_0x4dc7b4==null?void 0x0:_0x4dc7b4['unitId'])!==this[_0xc4437f(0x430)])return;const _0x1e9443=_0x46879f,_0x5f54c0=this[_0xc4437f(0x2d2)][_0xc4437f(0x218)][_0xc4437f(0x3c7)](this[_0xc4437f(0x2d2)]['interceptor'][_0xc4437f(0x37b)]()[_0xc4437f(0x263)])([_0x1e9443],this[_0xc4437f(0x45e)])||[_0x1e9443];this[_0xc4437f(0x282)](_0x5f54c0[0x0]);})),_0x1ac837;}};St=Pt([$(0x3,_0x40a927(_0x10bc24)),$(0x4,_0x40a927(_0x318cb1)),$(0x5,_0x40a927(_0x504914)),$(0x6,_0x40a927(_0x65d3e9)),$(0x7,_0x40a927(it)),$(0x8,_0x40a927(ve)),$(0x9,_0x3aa953),$(0xa,_0x1c7d35),$(0xb,_0x40a596),$(0xc,_0x2fea40),$(0xd,_0x207d04(_t)),$(0xe,_0x207d04(J))],St);const js=_0x200585('univer-pro.collaboration-client.network-condition.service');function Fs(_0x59a18b){var _0x1929c0=_0x1494d6,_0x2a9586,_0x2fec67,_0x2e0319,_0xebbf41,_0x3b0653;const _0x308b89=_0x59a18b['data'],_0x36da0e=JSON[_0x1929c0(0x2ed)](_0x308b89);switch(_0x36da0e[_0x1929c0(0x19b)]){case F['HEARTBEAT']:case F[_0x1929c0(0x22a)]:{const _0x59e070=_0x36da0e[_0x1929c0(0x2ba)];return{..._0x36da0e,'data':_0x59e070,'cmd':_0x36da0e[_0x1929c0(0x19b)]};}case F[_0x1929c0(0x204)]:{const _0x2e92ea=_0x36da0e[_0x1929c0(0x357)];return{..._0x36da0e,'data':_0x2e92ea,'cmd':_0x36da0e[_0x1929c0(0x19b)]};}case F['RECV']:{const _0x5b233d=_0x36da0e[_0x1929c0(0x44f)];switch(_0x5b233d[_0x1929c0(0x440)]){case _0x3719ba['PERMISSION_REJ']:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0x2a9586=_0x5b233d['permissionRejEvent'])==null?void 0x0:_0x2a9586['cs']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba['CHANGESET_ACK']:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0x2fec67=_0x5b233d[_0x1929c0(0x315)])==null?void 0x0:_0x2fec67['cs']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x3e8)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0x2e0319=_0x5b233d['newCsEvent'])==null?void 0x0:_0x2e0319['cs']},'cmd':_0x36da0e['cmd']};case _0x3719ba['CHANGESET_REJ']:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0xebbf41=_0x5b233d['csRejEvent'])==null?void 0x0:_0xebbf41['cs']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x1bd)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0x3b0653=_0x5b233d['csShouldRetryEvent'])==null?void 0x0:_0x3b0653['cs']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x24f)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x27d)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x296)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x36e)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x32b)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d['leaveEvent']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x39c)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x41e)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x37d)]:case _0x3719ba['LIVESHARE_OPERATION']:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d['liveShareOperation']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x205)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x41e)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x19f)]:return{..._0x36da0e,'data':_0x5b233d,'cmd':_0x36da0e['cmd']};case _0x3719ba[_0x1929c0(0x2a4)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x214)]},'cmd':_0x36da0e['cmd']};case _0x3719ba[_0x1929c0(0x190)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x2ee)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba['SHOULD_CLOSE_CONN']:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d['shouldCloseConn']},'cmd':_0x36da0e['cmd']};case _0x3719ba[_0x1929c0(0x2bc)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d['uniscriptRunEvent']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};default:return _0x36da0e;}}default:return _0x36da0e;}}function Vs(_0x12f169){var _0x2abedf=_0x1494d6;switch(_0x12f169[_0x2abedf(0x19b)]){case F[_0x2abedf(0x326)]:case F[_0x2abedf(0x22a)]:return JSON[_0x2abedf(0x25a)]({'cmd':_0x12f169[_0x2abedf(0x19b)],'routeKey':_0x12f169['routeKey']});case F[_0x2abedf(0x417)]:{let _0x55cf9b;switch(_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x440)]){case _0x3719ba[_0x2abedf(0x24f)]:{_0x55cf9b={'eventID':_0x3719ba['UPDATE_CURSOR'],'updateCursorEvent':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba[_0x2abedf(0x32b)]:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x32b)],'leaveEvent':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba[_0x2abedf(0x296)]:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x296)],'joinEvent':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba[_0x2abedf(0x39c)]:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x39c)],'liveShareNewHost':_0x12f169['data'][_0x2abedf(0x40d)]};break;}case _0x3719ba['LIVESHARE_OPERATION']:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x3ad)],'liveShareOperation':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba['LIVESHARE_TERMINATE']:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x205)],'liveShareTerminate':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba[_0x2abedf(0x3e6)]:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x3e6)],'liveShareRequestHost':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba['LIVESHARE_FETCH_OPERATIONS']:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x37d)]};break;}default:_0x55cf9b={'eventID':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x440)]};}return JSON[_0x2abedf(0x25a)]({'cmd':_0x12f169[_0x2abedf(0x19b)],'routeKey':_0x12f169[_0x2abedf(0x323)],'collaMsg':_0x55cf9b});}case F[_0x2abedf(0x204)]:return JSON[_0x2abedf(0x25a)]({'cmd':_0x12f169[_0x2abedf(0x19b)],'routeKey':_0x12f169[_0x2abedf(0x323)],'joinReq':_0x12f169[_0x2abedf(0x40d)]});case F[_0x2abedf(0x34a)]:return JSON['stringify']({'cmd':_0x12f169[_0x2abedf(0x19b)],'routeKey':_0x12f169[_0x2abedf(0x323)],'leaveReq':_0x12f169[_0x2abedf(0x40d)]});default:throw new Error(_0x2abedf(0x2b0));}}var Gs=Object[_0x1494d6(0x3e7)],Ws=(_0x58face,_0x2e6d6a,_0x4f3373,_0x3b0626)=>{for(var _0x51bb4c=_0x3b0626>0x1?void 0x0:_0x3b0626?Gs(_0x2e6d6a,_0x4f3373):_0x2e6d6a,_0x3c0e9a=_0x58face['length']-0x1,_0x5d1b0c;_0x3c0e9a>=0x0;_0x3c0e9a--)(_0x5d1b0c=_0x58face[_0x3c0e9a])&&(_0x51bb4c=_0x5d1b0c(_0x51bb4c)||_0x51bb4c);return _0x51bb4c;},ye=(_0xaf63a1,_0x43e78f)=>(_0x246a9a,_0x9b1ab6)=>_0x43e78f(_0x246a9a,_0x9b1ab6,_0xaf63a1);const Oi=_0x200585(_0x1494d6(0x43f));function Ys(_0x2d154b,_0x4b09d0,_0x1dba2e){var _0x3afced=_0x1494d6;return _0x2d154b+'/'+_0x4b09d0+_0x3afced(0x210)+_0x1dba2e+_0x3afced(0x1fb);}let Wt=class extends _0x1d2b58{constructor(_0x31dbe0,_0x175ef5,_0x2e0ae3,_0xb67420,_0x17743c){var _0x48bdbd=_0x1494d6;super(),this[_0x48bdbd(0x380)]=_0x31dbe0,this['_httpService']=_0x175ef5,this[_0x48bdbd(0x2c3)]=_0x2e0ae3,this[_0x48bdbd(0x29c)]=_0xb67420,this['_snapshotServerService']=_0x17743c;}['_doCreateSocket'](_0x2de29b){var _0x5dadca=_0x1494d6;const _0x3be8e5=this[_0x5dadca(0x380)][_0x5dadca(0x292)](_0x3cd2eb);if(!_0x3be8e5)throw new Error(_0x5dadca(0x285));const _0x101f8b=_0x3be8e5[_0x5dadca(0x1da)](_0x2de29b);if(!_0x101f8b)throw new Error(_0x5dadca(0x3bf));const _0x5e9c9d=new _0x153b55(),_0x1dcd24=new _0x6f301c();_0x5e9c9d[_0x5dadca(0x43b)](_0x101f8b['close$']['subscribe'](_0x3fea41=>_0x1dcd24[_0x5dadca(0x1a6)](_0x3fea41))),_0x5e9c9d[_0x5dadca(0x43b)](_0x4a0717(()=>_0x1dcd24[_0x5dadca(0x416)]()));const _0x5b069a=new _0x6f301c();_0x5e9c9d['add'](_0x101f8b[_0x5dadca(0x474)][_0x5dadca(0x3c6)](_0x4a8a92=>_0x5b069a[_0x5dadca(0x1a6)](_0x4a8a92))),_0x5e9c9d['add'](_0x4a0717(()=>_0x5b069a[_0x5dadca(0x416)]()));const _0x13c05d=new _0x6f301c();_0x5e9c9d[_0x5dadca(0x43b)](_0x101f8b[_0x5dadca(0x2fa)][_0x5dadca(0x3c6)](_0x3ae2bc=>{const _0x1bbb4b=Fs(_0x3ae2bc);_0x13c05d['next'](_0x1bbb4b);})),_0x5e9c9d['add'](_0x4a0717(()=>_0x13c05d[_0x5dadca(0x416)]()));let _0x19b661;const _0x5e09cf=()=>{var _0x48b11c=_0x5dadca;_0x5b069a[_0x48b11c(0x1a6)](new Event('connection\x20error')),_0x1dcd24[_0x48b11c(0x1a6)](new Event(_0x48b11c(0x2dc))),_0x19b661[_0x48b11c(0x1aa)]();};return _0x19b661={'memberID':'','close$':_0x1dcd24[_0x5dadca(0x311)](),'error$':_0x5b069a[_0x5dadca(0x311)](),'open$':_0x101f8b[_0x5dadca(0x1fa)],'message$':_0x13c05d[_0x5dadca(0x311)](),'send':_0x38a84c=>{var _0x3789ce=_0x5dadca;if(_0x38a84c[_0x3789ce(0x19b)]===F[_0x3789ce(0x417)]){if(_0x38a84c['data'][_0x3789ce(0x440)]===_0x3719ba[_0x3789ce(0x420)]){this['_submitChangeset'](_0x19b661,_0x38a84c[_0x3789ce(0x40d)])[_0x3789ce(0x293)](_0x429174=>{this['_logService']['error'](_0x429174),_0x5e09cf();});return;}if(_0x38a84c[_0x3789ce(0x40d)]['eventID']===_0x3719ba[_0x3789ce(0x2ec)]){const _0x25ee18=_0x38a84c[_0x3789ce(0x40d)];this[_0x3789ce(0x375)](_0x25ee18)[_0x3789ce(0x353)](_0xb1ca16=>{var _0x1cdc92=_0x3789ce;_0x13c05d[_0x1cdc92(0x1a6)]({'cmd':F[_0x1cdc92(0x34d)],'code':pe['OK'],'routeKey':_0x25ee18[_0x1cdc92(0x40d)][_0x1cdc92(0x430)],'routeType':'','data':{'eventID':_0x3719ba[_0x1cdc92(0x259)],'data':{'changesets':_0xb1ca16}}});})[_0x3789ce(0x293)](_0x4c9f2f=>{var _0x48faa4=_0x3789ce;this[_0x48faa4(0x29c)]['error'](_0x4c9f2f),_0x5e09cf();});return;}}_0x101f8b[_0x3789ce(0x3d4)](Vs(_0x38a84c));},'close':()=>{var _0x1324a=_0x5dadca;_0x101f8b[_0x1324a(0x1aa)](),_0x5e9c9d[_0x1324a(0x462)]();}},_0x19b661;}async[_0x1494d6(0x224)](_0x278f60,_0x12f929){var _0x21fc11=_0x1494d6,_0x3c88fc;const {unitType:_0x106a3d,unitID:_0x3b7b75,changeset:_0x244dd2}=_0x12f929[_0x21fc11(0x40d)],_0x39c188={'unitID':_0x3b7b75,'memberID':_0x278f60[_0x21fc11(0x1ff)],'type':_0x106a3d,'changeset':_0x48039d(_0x244dd2)},_0x374f42=this[_0x21fc11(0x2c3)][_0x21fc11(0x1f3)](K),_0x854194=Ys((_0x3c88fc=_0x374f42==null?void 0x0:_0x374f42[_0x21fc11(0x3fe)])!=null?_0x3c88fc:Os,_0x106a3d,_0x3b7b75);try{await this[_0x21fc11(0x175)][_0x21fc11(0x3ce)](_0x854194,{'body':_0x39c188});}catch(_0x120533){throw this[_0x21fc11(0x29c)][_0x21fc11(0x2ce)](_0x21fc11(0x467),'submit\x20changeset\x20error!'),_0x120533;}}async['_fetchMissChangesets'](_0x56648b){var _0x302770=_0x1494d6;const {unitID:_0x5dfb92,from:_0x2b66e8,to:_0x4ade69,unitType:_0x61315c}=_0x56648b['data'];return(await this[_0x302770(0x345)][_0x302770(0x39d)]({'metadata':void 0x0},{'unitID':_0x5dfb92,'type':_0x61315c,'from':_0x2b66e8,'to':_0x4ade69}))[_0x302770(0x39e)];}};Wt=Ws([ye(0x0,_0x40a927(_0x10bc24)),ye(0x1,_0x40a927(_0x21f421)),ye(0x2,_0x5c8b82),ye(0x3,_0x1c7d35),ye(0x4,_0x23a044)],Wt);var Ks=Object[_0x1494d6(0x3e7)],qs=(_0x428ffe,_0x6833f9,_0x150cc4,_0x436058)=>{var _0x1e9bd0=_0x1494d6;for(var _0xcdc5d6=_0x436058>0x1?void 0x0:_0x436058?Ks(_0x6833f9,_0x150cc4):_0x6833f9,_0x3dd6d8=_0x428ffe[_0x1e9bd0(0x1c0)]-0x1,_0x14a556;_0x3dd6d8>=0x0;_0x3dd6d8--)(_0x14a556=_0x428ffe[_0x3dd6d8])&&(_0xcdc5d6=_0x14a556(_0xcdc5d6)||_0xcdc5d6);return _0xcdc5d6;},Re=(_0x4d294e,_0x5a8222)=>(_0x2c7dd5,_0x513de3)=>_0x5a8222(_0x2c7dd5,_0x513de3,_0x4d294e);let we=class extends _0x1d2b58{constructor(_0xed2599,_0x5bd0ad,_0x1f53b0,_0x38e136,_0x5c5e45,_0x4fcf87){var _0x286ca2=_0x1494d6;super(),D(this,_0x286ca2(0x31f),new _0x9f1b26(void 0x0)),D(this,_0x286ca2(0x1e2),this[_0x286ca2(0x31f)][_0x286ca2(0x311)]()),D(this,_0x286ca2(0x3ef),null),D(this,_0x286ca2(0x3d2),new Map()),D(this,_0x286ca2(0x3f6),new _0x9f1b26(me['IDLE'])),D(this,_0x286ca2(0x333),this['_status$'][_0x286ca2(0x311)]()),D(this,_0x286ca2(0x34b),!0x1),D(this,_0x286ca2(0x403)),D(this,_0x286ca2(0x2bb),0x0),D(this,'_sendHeartbeatTimer'),D(this,'_timeoutTimer'),(this[_0x286ca2(0x380)]=_0xed2599,this[_0x286ca2(0x29c)]=_0x5bd0ad,this[_0x286ca2(0x2c3)]=_0x1f53b0,this['_socketService']=_0x38e136,this[_0x286ca2(0x177)]=_0x5c5e45,this[_0x286ca2(0x17c)]=_0x4fcf87,this[_0x286ca2(0x3e2)]());}get[_0x1494d6(0x439)](){var _0x49bcc7=_0x1494d6;return this[_0x49bcc7(0x31f)][_0x49bcc7(0x478)]();}[_0x1494d6(0x3e2)](){var _0x6a6b82=_0x1494d6;this[_0x6a6b82(0x17c)]&&this[_0x6a6b82(0x32e)](this[_0x6a6b82(0x17c)][_0x6a6b82(0x3ab)][_0x6a6b82(0x3c6)](_0x20390c=>{var _0x4b222a=_0x6a6b82;_0x20390c&&!this['_socket']&&this[_0x4b222a(0x1e1)](),_0x20390c||this[_0x4b222a(0x17e)]();}));}[_0x1494d6(0x462)](){var _0xe029af=_0x1494d6;super['dispose'](),this[_0xe029af(0x342)](),this[_0xe029af(0x271)](),this['_clearHeartbeatTimer'](),this[_0xe029af(0x3d2)][_0xe029af(0x2f5)](_0x640f1d=>_0x640f1d[_0xe029af(0x462)]()),this[_0xe029af(0x3d2)][_0xe029af(0x373)](),this[_0xe029af(0x3f6)]['complete']();}async['requireSession'](_0x57a23b){var _0x507a2e=_0x1494d6;if(this[_0x507a2e(0x3d2)][_0x507a2e(0x283)](_0x57a23b))return this['_sessions'][_0x507a2e(0x292)](_0x57a23b);this[_0x507a2e(0x30c)]();const _0x251fc0=this[_0x507a2e(0x380)][_0x507a2e(0x390)](mt,_0x57a23b,this['_socket$'][_0x507a2e(0x311)]());return this['_sessions'][_0x507a2e(0x2d7)](_0x57a23b,_0x251fc0),_0x251fc0;}[_0x1494d6(0x277)](_0x41c1b7){var _0x4dc416=_0x1494d6,_0x54a595;const _0x6307c2=this[_0x4dc416(0x3d2)][_0x4dc416(0x292)](_0x41c1b7);_0x6307c2&&(this[_0x4dc416(0x3d2)]['delete'](_0x41c1b7),_0x6307c2[_0x4dc416(0x1aa)]()),this['_sessions'][_0x4dc416(0x471)]||(_0x54a595=this['_socket'])==null||_0x54a595[_0x4dc416(0x1aa)]();}[_0x1494d6(0x1e1)](){var _0x6eb3f2=_0x1494d6;this['_retryCount']=0x0,this[_0x6eb3f2(0x342)](),this['_tryReconnect']();}[_0x1494d6(0x342)](){var _0x4810df=_0x1494d6;this[_0x4810df(0x403)]!=null&&(clearTimeout(this[_0x4810df(0x403)]),this[_0x4810df(0x403)]=null);}async[_0x1494d6(0x294)](){var _0x3b265f=_0x1494d6,_0x40f0a8;const _0x46d134=this[_0x3b265f(0x2c3)]['getConfig'](K),_0x41d0d9=(_0x40f0a8=_0x46d134==null?void 0x0:_0x46d134[_0x3b265f(0x44a)])!=null?_0x40f0a8:Es,_0xb9143a=await this[_0x3b265f(0x3d3)][_0x3b265f(0x1da)](_0x41d0d9);return this[_0x3b265f(0x3ef)]=_0xb9143a,_0xb9143a;}async[_0x1494d6(0x30c)](){var _0x2f3aa5=_0x1494d6,_0x754d99,_0x35ab1f;try{const _0x53f510=(_0x35ab1f=(_0x754d99=this[_0x2f3aa5(0x439)])!=null?_0x754d99:this['_candidateSocket'])!=null?_0x35ab1f:await this[_0x2f3aa5(0x294)]();if(_0x53f510){const _0x2510b6=_0x53f510[_0x2f3aa5(0x3d4)];_0x53f510[_0x2f3aa5(0x3d4)]=_0x1ab755=>(this['_rescheduleHeartbeat'](),_0x2510b6[_0x2f3aa5(0x1e7)](_0x53f510,[_0x1ab755])),_0x53f510['message$'][_0x2f3aa5(0x3c6)](_0x30793b=>this['_onMessage'](_0x53f510,_0x30793b)),_0x53f510[_0x2f3aa5(0x474)][_0x2f3aa5(0x354)](_0x2d565f(0x1))['subscribe'](_0x28fcfa=>this[_0x2f3aa5(0x29c)][_0x2f3aa5(0x2ce)]('[CollaborationSessionService]:\x20socket\x20error',_0x28fcfa)),_0x53f510[_0x2f3aa5(0x1fa)][_0x2f3aa5(0x354)](_0x2d565f(0x1))[_0x2f3aa5(0x3c6)](()=>{var _0xbe1d07=_0x2f3aa5;this[_0xbe1d07(0x2d3)](_0x53f510);}),_0x53f510[_0x2f3aa5(0x1f2)][_0x2f3aa5(0x354)](_0x2d565f(0x1))[_0x2f3aa5(0x3c6)](_0x3fc757=>{var _0x16cac2=_0x2f3aa5;this[_0x16cac2(0x29c)][_0x16cac2(0x1cf)]('[CollaborationSessionService]','socket\x20close',_0x3fc757),this[_0x16cac2(0x395)]();});}}catch(_0x5b5616){this[_0x2f3aa5(0x29c)][_0x2f3aa5(0x2ce)](_0x5b5616),this[_0x2f3aa5(0x395)]();}}[_0x1494d6(0x2d3)](_0x37e734){var _0x27530a=_0x1494d6;this[_0x27530a(0x29c)]['debug']('[CollaborationSessionService]',_0x27530a(0x17f)),_0x37e734['send']({'cmd':F['HELLO']}),this[_0x27530a(0x358)]();}[_0x1494d6(0x17e)](){var _0x3458d1=_0x1494d6;this[_0x3458d1(0x34b)]=!0x1,this[_0x3458d1(0x3ef)]=null,this[_0x3458d1(0x3f6)][_0x3458d1(0x1a6)](me['OFFLINE']),this[_0x3458d1(0x31f)][_0x3458d1(0x1a6)](null),this[_0x3458d1(0x271)](),this['_clearHeartbeatTimer']();}[_0x1494d6(0x395)](){var _0x6da49e=_0x1494d6,_0x179221;this[_0x6da49e(0x17e)](),this[_0x6da49e(0x2bb)]<((_0x179221=this[_0x6da49e(0x2c3)][_0x6da49e(0x1f3)](gs))!=null?_0x179221:Ts)?(this[_0x6da49e(0x177)][_0x6da49e(0x21b)]({'id':re[_0x6da49e(0x255)]}),this['_tryReconnect']()):this[_0x6da49e(0x177)][_0x6da49e(0x21b)]({'id':re[_0x6da49e(0x22b)]});}[_0x1494d6(0x33f)](){var _0x5d4ff0=_0x1494d6,_0x17a677;const _0x2d8023=this[_0x5d4ff0(0x2bb)],_0x1647f7=this[_0x5d4ff0(0x2c3)][_0x5d4ff0(0x1f3)](K),_0x1e9597=_0x2d8023===0x0?0x0:((_0x17a677=_0x1647f7==null?void 0x0:_0x1647f7['retryConnectingInterval'])!=null?_0x17a677:Ss)*0x2**_0x2d8023;this['_retryConnectingTimer']=setTimeout(()=>{var _0x27ab1e=_0x5d4ff0;clearTimeout(this[_0x27ab1e(0x403)]),this[_0x27ab1e(0x403)]=null,this[_0x27ab1e(0x30c)]();},_0x1e9597),this[_0x5d4ff0(0x2bb)]+=0x1;}[_0x1494d6(0x29f)](_0x4499fc,_0x48911a){var _0xc9a56c=_0x1494d6;const {cmd:_0x1ed2a3}=_0x48911a;_0x1ed2a3===F['HELLO']&&!this[_0xc9a56c(0x34b)]&&(_0x4499fc[_0xc9a56c(0x1ff)]=_0x48911a[_0xc9a56c(0x40d)][_0xc9a56c(0x1ff)],this[_0xc9a56c(0x31f)]['next'](_0x4499fc),this[_0xc9a56c(0x3f6)][_0xc9a56c(0x1a6)](me[_0xc9a56c(0x18d)]),this[_0xc9a56c(0x34b)]=!0x0,this[_0xc9a56c(0x3ef)]=null),_0x1ed2a3===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0xc9a56c(0x358)]();}[_0x1494d6(0x358)](){var _0x2ec044=_0x1494d6,_0x8db5ee;this[_0x2ec044(0x419)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x2ec044(0x2d5)](),(_0x8db5ee=this[_0x2ec044(0x2c3)]['getConfig'](ms))!=null?_0x8db5ee:Is);}[_0x1494d6(0x2d5)](){var _0x2ba870=_0x1494d6;this[_0x2ba870(0x439)][_0x2ba870(0x3d4)]({'cmd':F[_0x2ba870(0x326)]}),this[_0x2ba870(0x221)]();}[_0x1494d6(0x221)](){var _0x5d8705=_0x1494d6,_0x5ebef1;this[_0x5d8705(0x21f)]=setTimeout(()=>this[_0x5d8705(0x395)](),(_0x5ebef1=this[_0x5d8705(0x2c3)][_0x5d8705(0x1f3)](di))!=null?_0x5ebef1:fi);}[_0x1494d6(0x419)](){var _0x51a61c=_0x1494d6;this[_0x51a61c(0x36d)]!=null&&(clearTimeout(this[_0x51a61c(0x36d)]),this['_sendHeartbeatTimer']=null);}[_0x1494d6(0x271)](){var _0x1ab4e8=_0x1494d6;this[_0x1ab4e8(0x21f)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1ab4e8(0x21f)]=null);}};we=qs([Re(0x0,_0x40a927(_0x10bc24)),Re(0x1,_0x1c7d35),Re(0x2,_0x5c8b82),Re(0x3,Oi),Re(0x4,_0x40a927(ve)),Re(0x5,_0x207d04(js))],we);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x187dd0,_0x346c89,_0x54b113,_0x406386)=>{for(var _0x1510cc=_0x406386>0x1?void 0x0:_0x406386?zs(_0x346c89,_0x54b113):_0x346c89,_0x5ac2e7=_0x187dd0['length']-0x1,_0x57d201;_0x5ac2e7>=0x0;_0x5ac2e7--)(_0x57d201=_0x187dd0[_0x5ac2e7])&&(_0x1510cc=_0x57d201(_0x1510cc)||_0x1510cc);return _0x1510cc;},Be=(_0x1b9283,_0x543f60)=>(_0x3a7a30,_0x2d5f52)=>_0x543f60(_0x3a7a30,_0x2d5f52,_0x1b9283);let nt=class extends _0x2e5652{constructor(_0x564a76,_0x23573c,_0xb1684b,_0x2706e4){var _0xabcdd=_0x1494d6,_0x508394;super(),D(this,_0xabcdd(0x184),new Map()),D(this,'_entityInit$',new _0x6f301c()),D(this,_0xabcdd(0x298),this[_0xabcdd(0x32f)]['asObservable']()),(this['_injector']=_0x564a76,this[_0xabcdd(0x2da)]=_0x23573c,this[_0xabcdd(0x2c3)]=_0xb1684b,this['_univerInstanceService']=_0x2706e4,((_0x508394=this[_0xabcdd(0x2c3)][_0xabcdd(0x1f3)](K))==null?void 0x0:_0x508394['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x55301b=_0x1494d6;super['dispose'](),this[_0x55301b(0x184)]['forEach'](_0x2f50a5=>_0x2f50a5['dispose']()),this[_0x55301b(0x184)][_0x55301b(0x373)]();}[_0x1494d6(0x2ea)](_0x142543){var _0x4b46ce=_0x1494d6,_0x197e32;return(_0x197e32=this[_0x4b46ce(0x184)][_0x4b46ce(0x292)](_0x142543))!=null?_0x197e32:null;}[_0x1494d6(0x297)](_0x59d0f9){var _0x32b6d5=_0x1494d6;const _0x13a14a=this[_0x32b6d5(0x2ea)](_0x59d0f9);return _0x13a14a?_0x511935(_0x13a14a):this[_0x32b6d5(0x32f)]['pipe'](_0x54e0eb(_0x1fbffc=>_0x1fbffc[_0x32b6d5(0x430)]===_0x59d0f9));}[_0x1494d6(0x249)](_0x2f8527){var _0x52e9c1=_0x1494d6;return _0x31a2c6(this[_0x52e9c1(0x297)](_0x2f8527)[_0x52e9c1(0x354)](_0xf67729(()=>{})));}[_0x1494d6(0x39a)](){var _0x47f819=_0x1494d6;this[_0x47f819(0x45e)]['getTypeOfUnitAdded$'](_0x2a0d2a[_0x47f819(0x334)])[_0x47f819(0x354)](_0x1b5caf(this[_0x47f819(0x2f3)]),_0xebd4b2(0x10))[_0x47f819(0x3c6)](async _0x227284=>{var _0x398e11=_0x47f819;const _0x45b4c5=_0x227284[_0x398e11(0x47e)](),_0xab53ed=await this['_startCollaboration'](_0x45b4c5,Q[_0x398e11(0x334)]);this['_entities'][_0x398e11(0x2d7)](_0x45b4c5,_0xab53ed);}),this[_0x47f819(0x45e)][_0x47f819(0x40e)](_0x2a0d2a[_0x47f819(0x32a)])[_0x47f819(0x354)](_0x1b5caf(this[_0x47f819(0x2f3)]),_0xebd4b2(0x10))['pipe'](_0x54e0eb(_0x29d0be=>!_0x29d0be[_0x47f819(0x47e)]()['startsWith']('__')))[_0x47f819(0x3c6)](async _0x4c068f=>{var _0x27b89b=_0x47f819;const _0x3c75eb=_0x4c068f[_0x27b89b(0x47e)](),_0x30afb7=await this['_startCollaboration'](_0x3c75eb,Q[_0x27b89b(0x32a)]);this['_entities'][_0x27b89b(0x2d7)](_0x3c75eb,_0x30afb7);}),_0x285c6f(this[_0x47f819(0x45e)][_0x47f819(0x223)](_0x2a0d2a[_0x47f819(0x334)]),this['_univerInstanceService'][_0x47f819(0x223)](_0x2a0d2a[_0x47f819(0x32a)]))[_0x47f819(0x354)](_0x1b5caf(this[_0x47f819(0x2f3)]))[_0x47f819(0x3c6)](_0x481443=>{var _0x297012=_0x47f819;const _0x5e8dbe=_0x481443[_0x297012(0x47e)](),_0x2c8bdf=this['_entities'][_0x297012(0x292)](_0x5e8dbe);_0x2c8bdf&&(_0x2c8bdf[_0x297012(0x462)](),this[_0x297012(0x184)][_0x297012(0x452)](_0x5e8dbe));});}async['_startCollaboration'](_0x5304e4,_0x45a1c0){var _0x4d33d4=_0x1494d6;const _0x293d6d=await this[_0x4d33d4(0x2da)][_0x4d33d4(0x46a)](_0x5304e4),_0x558f1c=this[_0x4d33d4(0x380)][_0x4d33d4(0x390)](this[_0x4d33d4(0x33e)](_0x45a1c0),_0x5304e4,_0x45a1c0,_0x293d6d);return await _0x558f1c[_0x4d33d4(0x287)](),this[_0x4d33d4(0x32f)][_0x4d33d4(0x1a6)](_0x558f1c),_0x558f1c;}[_0x1494d6(0x33e)](_0x5a63fc){var _0x29e5cf=_0x1494d6;switch(_0x5a63fc){case Q[_0x29e5cf(0x32a)]:return It;case Q[_0x29e5cf(0x334)]:return St;default:throw new Error(_0x29e5cf(0x1f5)+_0x5a63fc);}}};nt=Js([Be(0x0,_0x40a927(_0x10bc24)),Be(0x1,_0x40a927(we)),Be(0x2,_0x5c8b82),Be(0x3,_0x3aa953)],nt);var Xs=Object[_0x1494d6(0x3e7)],Zs=(_0x39dff0,_0x35f443,_0x5ae946,_0x2ced13)=>{var _0x3f7384=_0x1494d6;for(var _0x2de342=_0x2ced13>0x1?void 0x0:_0x2ced13?Xs(_0x35f443,_0x5ae946):_0x35f443,_0x7a7ae5=_0x39dff0[_0x3f7384(0x1c0)]-0x1,_0x1b013d;_0x7a7ae5>=0x0;_0x7a7ae5--)(_0x1b013d=_0x39dff0[_0x7a7ae5])&&(_0x2de342=_0x1b013d(_0x2de342)||_0x2de342);return _0x2de342;},Yt=(_0x55798f,_0x27fbaa)=>(_0xcbd053,_0x4abd50)=>_0x27fbaa(_0xcbd053,_0x4abd50,_0x55798f);const Qs=_0x1494d6(0x232),en='Univer';let gt=class extends _0x1d2b58{constructor(_0x311d08,_0x3a4b0e){var _0x4bd346=_0x1494d6;super(),this[_0x4bd346(0x45e)]=_0x311d08,this[_0x4bd346(0x2c3)]=_0x3a4b0e,this[_0x4bd346(0x39a)]();}['_init'](){var _0x25d51c=_0x1494d6;this['disposeWithMe'](this['_univerInstanceService'][_0x25d51c(0x2c1)]['subscribe'](()=>{var _0x30f106=_0x25d51c,_0x461104;const _0x35f21e=this['_univerInstanceService'][_0x30f106(0x3f4)]();let _0x2689c9=(_0x461104=this[_0x30f106(0x2c3)][_0x30f106(0x1f3)](Qs))!=null?_0x461104:en;_0x35f21e instanceof _0xf72f57&&(_0x2689c9=_0x35f21e[_0x30f106(0x431)]),document[_0x30f106(0x3b6)]=_0x2689c9;}));}};gt=Zs([Yt(0x0,_0x3aa953),Yt(0x1,_0x5c8b82)],gt);var tn=Object[_0x1494d6(0x3e7)],sn=(_0x57cc57,_0x165856,_0x59a620,_0x4f5117)=>{var _0x5e2034=_0x1494d6;for(var _0x390420=_0x4f5117>0x1?void 0x0:_0x4f5117?tn(_0x165856,_0x59a620):_0x165856,_0x2f29c8=_0x57cc57[_0x5e2034(0x1c0)]-0x1,_0x3d6fb3;_0x2f29c8>=0x0;_0x2f29c8--)(_0x3d6fb3=_0x57cc57[_0x2f29c8])&&(_0x390420=_0x3d6fb3(_0x390420)||_0x390420);return _0x390420;},dt=(_0x5509a8,_0x304b39)=>(_0x321506,_0x5666ee)=>_0x304b39(_0x321506,_0x5666ee,_0x5509a8);let rt=class{constructor(_0x98b273,_0x34d82b,_0x2bf779){var _0x555f67=_0x1494d6;this[_0x555f67(0x2c3)]=_0x98b273,this[_0x555f67(0x175)]=_0x34d82b,this[_0x555f67(0x346)]=_0x2bf779,this[_0x555f67(0x287)]();}[_0x1494d6(0x287)](){var _0x26cf75=_0x1494d6;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4bb5b8,_0xca7d4d)=>_0xca7d4d(_0x4bb5b8)[_0x26cf75(0x354)](_0x30775d(async _0x183373=>{var _0x32b778=_0x26cf75;const _0x11da6b=_0x183373;if(_0x11da6b['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x32b778(0x2a0)](this[_0x32b778(0x346)]['t'](_0x32b778(0x427)))){const _0x4ebef7=window[_0x32b778(0x273)](window[_0x32b778(0x45b)]['href']);window['location']['href']=this[_0x32b778(0x1ca)]()+_0x32b778(0x284)+_0x4ebef7;}}return _0x11da6b;}))});}[_0x1494d6(0x1ca)](){var _0x4e50df=_0x1494d6,_0x164a8b;const _0x202edf=this[_0x4e50df(0x2c3)]['getConfig'](K);return(_0x164a8b=_0x202edf==null?void 0x0:_0x202edf['loginUrlKey'])!=null?_0x164a8b:Rs;}};rt=sn([dt(0x0,_0x5c8b82),dt(0x1,_0x40a927(_0x21f421)),dt(0x2,_0x40a927(_0x504914))],rt);function _0x1d67(){var _0x4255dc=['_sendHeartbeat','_clearScheduledTask','set','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','join','_collabSessionService','_revisionService','connection\x20error','_transformRemoteChangesetByStateCache','_onRecvEvent','_schedule','_createHandler','ERROR_IMAGE_TYPE','BASE64','_initMergeInterceptor','_minBufferSize','transformMutationsWithChangeset','AES','_imageSourceCache','Failed\x20to\x20update\x20permission\x20point','ALREADY_EXISTS','getCollabEntity','avatar','FETCH_MISSING','parse','updatePermissionObjEvent','_doProcessBlock','create','words','mutations','dispose$','_doCryptBlock','forEach','Cipher','5Vczdyh','_initRequestHeader','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','message$','NOT_COLLAB','UNIVER_PROJECT','APPLY_REJECT','_socketMessageSubscription','_onUserJoin','/universer-api/file/{fileID}/sign-url','MD5','/-/object/list','_substituteUndoStack','objects','fromCharCode','_transformStack','salt','_resendTimeout','sigBytes','onMissingChangesets','CURRENT_STATUS_CANNOT_OPERATE','_tryEnsureSocket','append','downloadEndpointUrl','_createHmacHelper','3238730IFozNv','asObservable','_telemetryInfo','BlockCipher','setCurrentUser','csAckEvent','slice','_clearRedo','range','awaitingChangeset','fetch_missing','CHANGESET_REVISION_CONFILICT','session.room-full','map','PERMISSION_DENIED','_socket$','session','removeMember','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','routeKey','snapshotServerUrl','_ENC_XFORM_MODE','HEARTBEAT','NoPadding','_getAPIPrefix','reject','UNIVER_DOC','USERS_LEAVE','_emitMembers','117MtnptV','disposeWithMe','_entityInit$','onCommentUpdate','saveSheetBlock','decrypt','status$','UNIVER_SHEET','_getSendChangesetTimeout','/fetchmissing?from=','change$','6tFtNud','_collaborationTimeoutTimer','type','getResourcesRequest','refreshPermission','textRanges','_getCtorByUniverType','_tryReconnect','objectActions','__creator','_clearRetryConnectingTimer','createEncryptor','params','_snapshotServerService','localeService','_telemetryService','awaiting_with_pending','HttpImport','LEAVE','_socketReady','blockSize','RECV','finalize','state$','LOGIN_TOKEN_PROCESSING_FAILED','getUnitType','selections','then','pipe','[UniverCollaborationClientPlugin]','_cipher','joinRsp','_rescheduleHeartbeat','push','sessionStatus$','sendChangesetTimeout','YUUMI_TABLE_NOT_FOUND_IN_UNIT','code','_nRounds','WordArray','3729523DlAxvr','IDLE','_onConflict','_initCloseConn','REDEMPTION_CODE_NOT_STARTED','_hasher','splice','/collaborator','OFFLINE','FAIL','_initDependencies','every','result','_sendHeartbeatTimer','joinEvent','_iv','POST','ws://127.0.0.1:8000/universer-api/comb/connect','_resendTimer','clear','_stopTelemetryCollaborationNewChangeset','_fetchMissChangesets','PERSON','UNKNOWN_CODE','saveSnapshot','conflict','onSyncEditingCollabCursor','getInterceptPoints','UNDEFINED','LIVESHARE_FETCH_OPERATIONS','sid','UNRECOGNIZED','_injector','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','updateMember','session.join-failed','JOIN_ROOM_NOT_EXISTS','resourceIDs','_sessionStatus$','Base','_commentService','prototype','crypto','UserProfileImg','_clearUndo','c1Prime','objectID','INVITE_CODE_REQUIRED','createInstance','clone','_iKey','REDEMPTION_CODE_INACTIVE','_members$','_onConnectionFailed','appendMutation','USER_IS_ANONYMOUS','_shouldReportTelemetry','349535LiJnFR','_init','&assign=','LIVESHARE_NEW_HOST','fetchMissingChangesets','changesets','toggleOffline','algo','_toggleOnline','MUTATION','_transformStateCache','_decreaseWaiting','onload','_getAPIPrefixPath','deepClone','getLatestCsReqIdBySid','_exhaustRemoteChangesetQueue','readAsDataURL','online$','_lockTransition','LIVESHARE_OPERATION','_pendingMutations','headers','UNIVER_SLIDE','_HTTPService','save\x20fail\x20reason\x20is\x20','_singleActiveUnitService','REDEMPTION_CODE_HAS_BEEN_CREATED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','title','ENTITLE_DUP_SUBSCRIPTION','{fileID}','SYNCED','sin','_transformService','roles','OPTIONAL','createDecryptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_keySchedule','cfg','PY_RUNTIME_SCRIPT_ERROR','_memberService','updateCollaborator','revision','subscribe','fetchThroughInterceptors','byteLength','EMAIL_HAS_BEEN_BOUND','_transformRemoteChangesetByIMECache','_executeRemoteChangeset','EMAIL_VERIFY_CODE_MISMATCH','defineProperty','post','reverse','_transitionLocked','fromCollab','_sessions','_socketService','send','getUnitOnRev','_scheduleCollaborationTimeoutTimer','charAt','_registerDependencies','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_type','unsubscribe','byteOffset','_state$','m2Prime','status','getRoom','_handler','_listenToNetworkCondition','UnitEmbedded','_members','CONNECTOR_DATA_TOO_LARGE','LIVESHARE_REQUEST_HOST','getOwnPropertyDescriptor','NEW_CHANGESETS','_joinRoom','Could\x20not\x20dynamically\x20require\x20\x22','987980yNaiMH','_createHelper','hostname','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_candidateSocket','ciphertext','updateSnapshot','_change$','Undefined','getFocusedUnit','_instanceService','_status$','_undoRedoService','reduce','_unlockTransition','patch','_removeRoom','disableLocalCache','collaborators','collabSubmitChangesetUrl','update','ENSURE_SNAPSHOT_EXECUTION','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_syncEditingCollabCursor','_retryConnectingTimer','[CollaborationUndoRedoService]','_DEC_XFORM_MODE','src','isPermissionRej','_state','_invKeySchedule','enc','call','_onRemoteRejected','data','getTypeOfUnitAdded$','_disableEditing','NO_OTHER_CLIENTS_EDITING','getCurrentSelections','random','_hash','/universer-api/comb','YUUMI_RATE_OVER_LIMIT','complete','INGEST','listRoles','_clearHeartbeatTimer','PERMISSION_REJ','_undoStacks','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','REDEMPTION_CODE_FULLY_REDEEMED','liveShareNewHost','target','SUBMIT_CHANGESET','_substituteRedoStack','compute','$super','override','ERROR_EXCEED_SIZE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','auth.needGotoLoginAlert','_changesetSessionId','JOIN_ROOM_FAILED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onRemoteChangeset','Malformed\x20UTF-8\x20data','INVITE_CODE_ALREADY_BOUND','_createInitialState','extend','unitID','name','PasswordBasedCipher','_unitID','startTime','getSheetBlock','getCurrentRevOfUnit','Latin1','_acknowledgedAwaitingChangeset','_socket','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','add','LICENSE_EXPORT_SIZE_EXCEEDED','putCollaborators','ENTITLE_CHAT_LIMIT_EXCEED','univer-pro.collaboration-client-socket-service','eventID','updateOfflineData','ERROR_IMAGE','_commandService','exports','_getRedoStack','_checkMissing','UUID','TOO_MANY_REQUESTS','_key','collabWebSocketUrl','YUUMI_URL_COL_OUT_OF_RANGE','FileId','_nDataBytes','[DataLoaderService]','collaMsg','_incrementRevisionNumber','GLOBAL_ROOMS_CNT_EXCEEDS','delete','fetchMiss','getUnit','_onUserLeave','resolve','onMissedChangesetFetched','onlyLocal','subject','_localeService','location','_collaborationSessionService','LICENSE_IMPORT_SIZE_EXCEEDED','_univerInstanceService','872008sZJfpS','66BWJbhx','session.room-permission-denied','dispose','YUUMI_AI_RUN_FAILED','replace','_remoteChangesetQueue','waitForRoom$','[CollaborationSession]','transformUndoRedo','FETCH_MISS','requireSession','findIndex','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_getCurrentRevision','REDEMPTION_USER_REDEEM_TIMES_EXCEED','APPLY_DUPLICATED','APPLY_NON_SEQUENTIAL_REVISION','size','image/gif','SUCCUSS','error$','sessionStatus','reset','PENDING','getValue','\x20to\x20','updatePermissionPoint','_sendingTimer','deleteCollaborator','INTERNAL_ERROR','getUnitId','onRemoteRej','INVALID_INVITE_CODE','_startTelemetryCollaborationNewChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_httpService','_reverseMap','_collaborationUIEventService','_applyRemoteChangeset','sheets','HMAC','decryptBlock','_networkConditionService','JOINING','_onOffline','socket\x20open.','_throwTelemetryCollaborationNewChangeset','\x20-\x20','AWAITING','_data','_entities','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','4016766vMQkUX','getDeserializedSheetBlock','onRemoteRetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_REVISION_CONFILICT','_updateLocalCache','JOIN_ROOM_FULL','ONLINE','_createInitialStateImpl','enableSingleActiveInstanceLock','UPDATE_PERMISSION_OBJ','mode','getMember','_showConflictNotification','/role','method','_permissionService','_mode','body','getTime','People','cmd','_doReset','loadUnitOfRevision','[PendingState]:\x20received\x20acknowledgement.','MSG_FOR_ERROR','pluginName','lib','concat','getUnitStatus$','repeat','SHA1','next','/resources','COMPRESS_MUTATION_APPLY','__esModule','close','now','_parse','univer-pro.collaboration-client.single-active-unit-service','USER_NOT_INVITED_CODE','_roomMembers','/allowed','buffer','YUUMI_SUBSCRIPTION_NOT_FOUND','[SyncedState]:\x20received\x20rejection.','OpenSSL','origin','HmacMD5','objectType','_toggleOffline','UNIVER_COLLABORATION_CLIENT_PLUGIN','telemetry\x20info\x20is\x20not\x20initialized','Hex','YUUMI_UNABLE_LOAD_URL','CHANGESET_SHOULD_RETRY','Utf8','getSnapshotAPIPath','length','requestParams','charCodeAt','_eventService','pad','REDEMPTION_INVALID_CODE','ivSize','workbook','event$','entries','_getLoginPath','_getUploadFileURL','members$','LICENSE_MAX_UNITS_EXCEEDED','transformChangesets','debug','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','toggleOnline','enableAuthServer','CLOSE_ROOM','ceil','_clearLocalCache','/-/object/-/batch_allowed','_sheetTransformSelectionsService','onTransformRemoteChangesetByStateCache','_collaborationPaused','createSocket','onTransformIME','[SyncedState]:\x20received\x20acknowledgement.','unknown','collaboration-client.local-cache-service','_awaitingChangeset','_xformMode','reconnect','socket$','transformStack\x20failed!','loadDoc','image/jpeg','SNAPSHOT_INVALID_SNAPSHOT','apply','keySize','HmacSHA1','LICENSE_DISTRO_REJECTED','collaboratorID','PAYMENT_CHANNEL_NOT_SUPPORT','\x0aAfter:\x20','filter','onRemoteAck','_updateStatus','_transformUndoredo','close$','getConfig','_doFinalize','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','hasOwnProperty','UnitSnapshot','roomInfos','not_collab','open$','/new_changes','UNIVER_UNKNOWN','duration','reqId','memberID','UNAUTHENTICATED','/universer-api/authz','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onTransformSelections','JOIN','LIVESHARE_TERMINATE','awaiting','default','onCommandExecuted','kdf','_clearCollaborationTimeoutTimer','COMPLETION_FINISHED','iterations','synced','_getUndoStack','AUTHORIZE_CODE_ILLEGAL','/unit/','resend','WECHAT_HAS_BEEN_BOUND','function','commentUpdateEvent','failed\x20to\x20apply\x20missed\x20changesets!','CONFLICT','socketService','interceptor','editing\x20status\x20changed\x20to','actions','emitEvent','listCollaborators','mixIn','_onJoinRoomEvent','_timeoutTimer','OTHER_CLIENT_EDITING','_waitForHeartbeatResponse','onSendChangeset','getTypeOfUnitDisposed$','_submitChangeset','isArray','format','USER_NOT_FOUND','getImage','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','HELLO','SOCKET_FAILED','setShowComponents','offline','YUUMI_CONNECTOR_URL_NOT_FOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','unitInfo$','string','DEFAULT_FILE_NAME','Decryptor','APPLY_PERMISSION_DENIED','[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.','RETRY_CONNECTING_MAX_COUNT','addHandlerCallback','list','floor','onRemoteChangeset','compose','x-univer-host','YUUMI_NO_CUBOID_FOR_QUESTION','ENTITLE_CAN_NOT_BUY_LOWER_OTP','onStateChange','_replayCachedMutations','getAllMembers','encrypt','copyFileMeta','commentUpdate$','_prevBlock','getActiveSheet','/universer-api/user/session-ticket','_queuedRemoteChangesets','readyForCollab','_userManagerService','_redoStacks','ENTITLE_REPORT_LIMIT_EXCEED','/block/','465644FzthSG','UPDATE_CURSOR','_unitInfo$','clamp','rev','getCurrentUser','_getSignURL','SOCKET_FAILED_RETRY','toString','SUBMIT_CHANGESET_TIMEOUT','_roomCreated$','PSEUDO_FETCH_MISSING_RESULT','stringify','/rev/','_updateState','INVALID_ARGUMENT','_config','_process','userID','_scheduleCompleteTimestamp','LOGIN_FAILED','COMPRESS_MUTATION_SEND','stopTime','INVITE_CODE_HAS_BEEN_UES','_event$','action','HttpExport','/object/','/universer-api/stream/file/upload','registerHTTPInterceptor','getMemberID','image/jpg','_localCacheService','SHOULD_CLOSE_CONN','executeCommand','_clearTimeoutTimer','execute','encodeURIComponent','find','onTransformState','JOIN_ROOM_PERMISSION_DENIED','closeSession','baseRev','SNAPSHOT_URL_KEY','_handlerCallback','capture','onTransformRemoteChangesetByIMECache','updateCursorEvent','localCacheService','getRandomValues','setWaitCount','_waitCount','_onLocalMutation','has','?url=','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','MOBILE_HAS_BEEN_BOUND','init','min','Base64','_getDownloadEndpointURL','incrementRevOfUnit','_commentUpdate$','originalMeta','loadSheet','/universer-api/oidc/authpage','_sender','_initUnitPermissionChange','get','catch','_createSocket','_map','USERS_ENTER','getCollabEntity$','entityInit$','put','ClipsheetFragments','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_logService','_transformIMECache','unitId','_onMessage','confirm','YUUMI_ALL_TABLES_IS_INVALID','_resendWithTimeout','BufferedBlockAlgorithm','COMMENT_UPDATE','onStarting','/universer-api/uniscript','encode','max','image/png','getImageSourceCache','_oKey','REDEMPTION_USER_NOT_ELIGIBLE','_changesetReqId','msCrypto','_keyPriorReset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','allowed','_onRemoteRetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','transformSelections','collaboration-client.config','_snapshotService','file','/universer-api/snapshot/','YUUMI_ASYNCIO_CANCELLED','infoRsp','_retryCount','UNISCRIPT_RUN','image/bmp','_onCombEvent','__Key__','Hasher','focused$','abs','_configService','CHANGESET_ACK','_onFetchMissResult','hasher','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','key','url','_append','_replaceFileID','fetching\x20missing\x20changesets\x20from\x20','[OfflineState]:\x20received\x20acknowledgement.','error','HEARTBEAT_TIMEOUT','EvpKDF','Encryptor','_compressMutationService','_onConnectionOpen','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!'];_0x1d67=function(){return _0x4255dc;};return _0x1d67();}var nn=Object[_0x1494d6(0x3e7)],rn=(_0x3c4e44,_0x453014,_0x46b0d4,_0x614b95)=>{var _0x4d47dd=_0x1494d6;for(var _0x28c252=_0x614b95>0x1?void 0x0:_0x614b95?nn(_0x453014,_0x46b0d4):_0x453014,_0x39d6ea=_0x3c4e44[_0x4d47dd(0x1c0)]-0x1,_0x7563de;_0x39d6ea>=0x0;_0x39d6ea--)(_0x7563de=_0x3c4e44[_0x39d6ea])&&(_0x28c252=_0x7563de(_0x28c252)||_0x28c252);return _0x28c252;},Kt=(_0x1351b2,_0x110b22)=>(_0x84efdb,_0x1db5f0)=>_0x110b22(_0x84efdb,_0x1db5f0,_0x1351b2);const an=_0x1494d6(0x201);let Tt=class extends _0x1d2b58{constructor(_0x28e726,_0x4018c8){var _0x50ed6e=_0x1494d6;super(),this[_0x50ed6e(0x3b1)]=_0x28e726,this[_0x50ed6e(0x2c3)]=_0x4018c8,this[_0x50ed6e(0x2e3)]();}['_initMergeInterceptor'](){var _0x43d3e2=_0x1494d6;const _0x53e7f0=this;this['disposeWithMe'](this['_HTTPService'][_0x43d3e2(0x26b)]({'priority':0x3e7,'interceptor':_0x1915e7({'isMatch'(_0x3d3394){var _0x317145=_0x43d3e2,_0x43fd35;if(_0x3d3394[_0x317145(0x195)]===_0x317145(0x370)&&((_0x43fd35=_0x3d3394[_0x317145(0x1c1)])!=null&&_0x43fd35[_0x317145(0x198)])){const {objectID:_0x17aaa8,objectType:_0x77f9b5}=_0x3d3394[_0x317145(0x1c1)][_0x317145(0x198)]||{};if(!_0x17aaa8||_0x77f9b5===void 0x0)return!0x1;const _0x62e637=_0x53e7f0['_getAPIPrefixPath']()+'/'+_0x77f9b5+'/object/'+_0x17aaa8+_0x317145(0x1b0);if(_0x3d3394[_0x317145(0x2c9)]===_0x62e637)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x25404e){var _0x3cecfd=_0x43d3e2,_0xa7c68c;return(_0xa7c68c=_0x25404e['requestParams'])==null?void 0x0:_0xa7c68c[_0x3cecfd(0x198)];},'mergeParamsToRequest'(_0x51b06a,_0x28fa24){var _0x123465=_0x43d3e2;const _0x508273=_0x53e7f0[_0x123465(0x3a6)]()+'/-/object/-/batch_allowed',_0x550d04=_0x51b06a['reduce']((_0x3fe7e5,_0x198d8a)=>{var _0x1e044d=_0x123465;const {unitID:_0x180ed4,objectID:_0x30c147,objectType:_0x220e07,actions:_0x247b49}=_0x198d8a;return _0x3fe7e5[_0x180ed4]||(_0x3fe7e5[_0x180ed4]={}),_0x3fe7e5[_0x180ed4][_0x30c147]||(_0x3fe7e5[_0x180ed4][_0x30c147]={'objectID':_0x30c147,'objectType':_0x220e07,'actions':[]}),_0x3fe7e5[_0x180ed4][_0x30c147][_0x1e044d(0x21a)][_0x1e044d(0x359)](..._0x247b49),_0x3fe7e5;},{}),_0x35abad=[];for(const _0x4961d7 in _0x550d04)for(const _0x243c0b in _0x550d04[_0x4961d7]){const {actions:_0x2fae42,objectType:_0x51b5fa}=_0x550d04[_0x4961d7][_0x243c0b],_0x2f43f3=[...new Set(_0x2fae42)];_0x35abad[_0x123465(0x359)]({'unitID':_0x4961d7,'objectID':_0x243c0b,'objectType':_0x51b5fa,'actions':_0x2f43f3});}return new _0x29d66c(_0x123465(0x370),_0x508273,{'headers':_0x28fa24['headers'],'withCredentials':_0x28fa24['withCredentials'],'responseType':_0x28fa24['responseType'],'body':{'requests':_0x35abad}});}},{'distributeResult'(_0x42537a,_0x46c75e){const {objectActions:_0x485be1}=_0x42537a;return _0x46c75e['map'](_0x45bc0d=>{var _0x37e762=_0x842d;const {unitID:_0x48d223,objectID:_0x5d1209,actions:_0x59a7fc}=_0x45bc0d,_0x50018c=_0x485be1[_0x37e762(0x274)](_0xd5804e=>_0xd5804e['unitID']===_0x48d223&&_0xd5804e[_0x37e762(0x38e)]===_0x5d1209),_0x29a04a=_0x59a7fc[_0x37e762(0x31d)](_0x157588=>_0x50018c==null?void 0x0:_0x50018c[_0x37e762(0x21a)][_0x37e762(0x274)](_0x28b0aa=>_0x28b0aa[_0x37e762(0x267)]===_0x157588))[_0x37e762(0x1ee)](_0x28bf66=>!!_0x28bf66);return{'config':_0x45bc0d,'result':{'actions':_0x29a04a,'error':_0x42537a[_0x37e762(0x2ce)]}};});}})}));}[_0x1494d6(0x3a6)](){var _0x199729=_0x1494d6,_0x36ce48;const _0x53086c=this['_configService'][_0x199729(0x1f3)](K);return(_0x36ce48=_0x53086c==null?void 0x0:_0x53086c['authzUrl'])!=null?_0x36ce48:an;}async[_0x1494d6(0x2f0)](_0x302eaa){var _0x4c7392=_0x1494d6;const _0x1a65ce=this[_0x4c7392(0x3a6)]()+'/'+_0x302eaa[_0x4c7392(0x1b7)]+'/object';return(await this[_0x4c7392(0x3b1)][_0x4c7392(0x3ce)](_0x1a65ce,{'body':_0x302eaa}))[_0x4c7392(0x198)][_0x4c7392(0x38e)]||'';}async[_0x1494d6(0x238)](_0x104587){var _0x562d4f=_0x1494d6;const _0x53f6be=this['_getAPIPrefixPath']()+_0x562d4f(0x302);return(await this[_0x562d4f(0x3b1)][_0x562d4f(0x3ce)](_0x53f6be,{'body':_0x104587}))[_0x562d4f(0x198)][_0x562d4f(0x304)];}async[_0x1494d6(0x3ff)](_0x4512fb){var _0x511261=_0x1494d6,_0x2e29b6,_0x588cc6;const _0x4b9e04=this[_0x511261(0x3a6)]()+'/'+_0x4512fb[_0x511261(0x1b7)]+_0x511261(0x269)+_0x4512fb['objectID'],_0xe2f271=await this[_0x511261(0x3b1)][_0x511261(0x299)](_0x4b9e04,{'body':_0x4512fb});if(((_0x588cc6=(_0x2e29b6=_0xe2f271==null?void 0x0:_0xe2f271['body'])==null?void 0x0:_0x2e29b6['error'])==null?void 0x0:_0x588cc6[_0x511261(0x35d)])!==0x1)throw new Error(_0x511261(0x2e8));}async[_0x1494d6(0x2b1)](_0xe71a57){var _0x2d985a=_0x1494d6;const _0x202426=this['_getAPIPrefixPath']()+'/'+_0xe71a57[_0x2d985a(0x1b7)]+_0x2d985a(0x269)+_0xe71a57[_0x2d985a(0x38e)]+_0x2d985a(0x1b0);return(await this[_0x2d985a(0x3b1)]['post'](_0x202426,{'body':_0xe71a57}))[_0x2d985a(0x198)]['actions'];}async['batchAllowed'](_0x479935){var _0x64c43a=_0x1494d6;const _0x31ec2f=this[_0x64c43a(0x3a6)]()+_0x64c43a(0x1d6);return(await this[_0x64c43a(0x3b1)][_0x64c43a(0x3ce)](_0x31ec2f,{'body':{'requests':_0x479935}}))[_0x64c43a(0x198)][_0x64c43a(0x340)];}async[_0x1494d6(0x418)](_0x58589f){var _0x18515d=_0x1494d6;const _0x4e61d8=this['_getAPIPrefixPath']()+'/'+_0x58589f[_0x18515d(0x1b7)]+_0x18515d(0x194),_0x281c83=await this[_0x18515d(0x3b1)][_0x18515d(0x3ce)](_0x4e61d8,{'body':_0x58589f});return{'roles':_0x281c83['body'][_0x18515d(0x3bc)],'actions':_0x281c83[_0x18515d(0x198)][_0x18515d(0x21a)]};}async[_0x1494d6(0x47c)](_0x357806){var _0x1561d3=_0x1494d6;const _0x43cdcb=this['_getAPIPrefixPath']()+_0x1561d3(0x367);await this['_HTTPService']['delete'](_0x43cdcb,{'params':{'collaboratorID':_0x357806[_0x1561d3(0x1eb)],'objectID':_0x357806[_0x1561d3(0x38e)],'unitID':_0x357806[_0x1561d3(0x430)]}});}async[_0x1494d6(0x3c4)](_0x6a0055){var _0x39882e=_0x1494d6;const _0x5c576f=this[_0x39882e(0x3a6)]()+'/collaborator';await this[_0x39882e(0x3b1)][_0x39882e(0x3fa)](_0x5c576f,{'body':_0x6a0055});}async['createCollaborator'](_0x3cb760){var _0x336325=_0x1494d6;const _0x247ac9=this[_0x336325(0x3a6)]()+_0x336325(0x367);await this[_0x336325(0x3b1)][_0x336325(0x3ce)](_0x247ac9,{'body':_0x3cb760});}async[_0x1494d6(0x21c)](_0x1543f6){var _0x2a2d2b=_0x1494d6;const _0x151858=this[_0x2a2d2b(0x3a6)]()+_0x2a2d2b(0x367);return(await this[_0x2a2d2b(0x3b1)]['get'](_0x151858,{'params':{'objectID':_0x1543f6[_0x2a2d2b(0x38e)],'unitID':_0x1543f6[_0x2a2d2b(0x430)]}}))[_0x2a2d2b(0x198)][_0x2a2d2b(0x3fd)];}async[_0x1494d6(0x43d)](_0x172781){var _0xffe1c1=_0x1494d6;const _0x259de2=this[_0xffe1c1(0x3a6)]()+_0xffe1c1(0x367);await this[_0xffe1c1(0x3b1)][_0xffe1c1(0x299)](_0x259de2,{'body':_0x172781});}};Tt=rn([Kt(0x0,_0x40a927(_0x21f421)),Kt(0x1,_0x40a927(_0x5c8b82))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4d4acb){var _0xd77f73=_0x1494d6;return _0x4d4acb&&_0x4d4acb[_0xd77f73(0x1a9)]&&Object['prototype'][_0xd77f73(0x1f6)][_0xd77f73(0x40b)](_0x4d4acb,'default')?_0x4d4acb[_0xd77f73(0x207)]:_0x4d4acb;}var Ve={'exports':{}};function on(_0x36c595){var _0x1aa269=_0x1494d6;throw new Error(_0x1aa269(0x3ea)+_0x36c595+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x1494d6(0x444)],qt;function ie(){var _0x4dc5a0=_0x1494d6;return qt||(qt=0x1,function(_0xc94e22,_0x186d61){(function(_0x235e4e,_0x447f0b){var _0x1ff992=_0x842d;_0xc94e22[_0x1ff992(0x444)]=_0x447f0b();}(cn,function(){var _0x438df6=_0x438df6||function(_0x267f90,_0xbdeb4a){var _0x43f95b=_0x842d,_0x47412e;if(typeof window<'u'&&window['crypto']&&(_0x47412e=window['crypto']),typeof self<'u'&&self[_0x43f95b(0x38a)]&&(_0x47412e=self['crypto']),typeof globalThis<'u'&&globalThis[_0x43f95b(0x38a)]&&(_0x47412e=globalThis[_0x43f95b(0x38a)]),!_0x47412e&&typeof window<'u'&&window['msCrypto']&&(_0x47412e=window[_0x43f95b(0x2ae)]),!_0x47412e&&typeof ft<'u'&&ft[_0x43f95b(0x38a)]&&(_0x47412e=ft['crypto']),!_0x47412e&&typeof on=='function')try{_0x47412e=require('crypto');}catch{}var _0x4d9ded=function(){var _0x31f443=_0x43f95b;if(_0x47412e){if(typeof _0x47412e[_0x31f443(0x27f)]==_0x31f443(0x213))try{return _0x47412e[_0x31f443(0x27f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x47412e['randomBytes']==_0x31f443(0x213))try{return _0x47412e['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x31f443(0x46c));},_0x3c1e5e=Object[_0x43f95b(0x2f0)]||(function(){function _0x26af8b(){}return function(_0xe14658){var _0x3663bb=_0x842d,_0x3d9593;return _0x26af8b['prototype']=_0xe14658,_0x3d9593=new _0x26af8b(),_0x26af8b[_0x3663bb(0x389)]=null,_0x3d9593;};}()),_0x18fba7={},_0x4f418c=_0x18fba7[_0x43f95b(0x1a1)]={},_0x360f01=_0x4f418c['Base']=(function(){return{'extend':function(_0x546247){var _0x5581fb=_0x842d,_0xf6c237=_0x3c1e5e(this);return _0x546247&&_0xf6c237['mixIn'](_0x546247),(!_0xf6c237['hasOwnProperty'](_0x5581fb(0x287))||this[_0x5581fb(0x287)]===_0xf6c237[_0x5581fb(0x287)])&&(_0xf6c237[_0x5581fb(0x287)]=function(){var _0x179db1=_0x5581fb;_0xf6c237['$super']['init'][_0x179db1(0x1e7)](this,arguments);}),_0xf6c237[_0x5581fb(0x287)][_0x5581fb(0x389)]=_0xf6c237,_0xf6c237[_0x5581fb(0x423)]=this,_0xf6c237;},'create':function(){var _0xe4aa3e=_0x842d,_0x1c4e78=this[_0xe4aa3e(0x42f)]();return _0x1c4e78[_0xe4aa3e(0x287)][_0xe4aa3e(0x1e7)](_0x1c4e78,arguments),_0x1c4e78;},'init':function(){},'mixIn':function(_0x445e37){var _0x1e46b6=_0x842d;for(var _0x293f6b in _0x445e37)_0x445e37[_0x1e46b6(0x1f6)](_0x293f6b)&&(this[_0x293f6b]=_0x445e37[_0x293f6b]);_0x445e37[_0x1e46b6(0x1f6)](_0x1e46b6(0x256))&&(this[_0x1e46b6(0x256)]=_0x445e37['toString']);},'clone':function(){var _0x1b81db=_0x842d;return this['init'][_0x1b81db(0x389)][_0x1b81db(0x42f)](this);}};}()),_0x4ad5da=_0x4f418c[_0x43f95b(0x35f)]=_0x360f01['extend']({'init':function(_0x3db2a3,_0x2908e3){var _0x46f5f0=_0x43f95b;_0x3db2a3=this[_0x46f5f0(0x2f1)]=_0x3db2a3||[],_0x2908e3!=_0xbdeb4a?this[_0x46f5f0(0x309)]=_0x2908e3:this[_0x46f5f0(0x309)]=_0x3db2a3[_0x46f5f0(0x1c0)]*0x4;},'toString':function(_0x2ab685){var _0xf2c059=_0x43f95b;return(_0x2ab685||_0x34fb9d)[_0xf2c059(0x25a)](this);},'concat':function(_0x32fb01){var _0x6ae461=_0x43f95b,_0x3cd3f6=this[_0x6ae461(0x2f1)],_0x594bac=_0x32fb01[_0x6ae461(0x2f1)],_0x3bcbf7=this[_0x6ae461(0x309)],_0x42d07b=_0x32fb01[_0x6ae461(0x309)];if(this['clamp'](),_0x3bcbf7%0x4)for(var _0x5a5751=0x0;_0x5a5751<_0x42d07b;_0x5a5751++){var _0x2f0ec9=_0x594bac[_0x5a5751>>>0x2]>>>0x18-_0x5a5751%0x4*0x8&0xff;_0x3cd3f6[_0x3bcbf7+_0x5a5751>>>0x2]|=_0x2f0ec9<<0x18-(_0x3bcbf7+_0x5a5751)%0x4*0x8;}else{for(var _0x41cddd=0x0;_0x41cddd<_0x42d07b;_0x41cddd+=0x4)_0x3cd3f6[_0x3bcbf7+_0x41cddd>>>0x2]=_0x594bac[_0x41cddd>>>0x2];}return this[_0x6ae461(0x309)]+=_0x42d07b,this;},'clamp':function(){var _0x3e413a=_0x43f95b,_0x2a93ea=this[_0x3e413a(0x2f1)],_0x5b7c14=this[_0x3e413a(0x309)];_0x2a93ea[_0x5b7c14>>>0x2]&=0xffffffff<<0x20-_0x5b7c14%0x4*0x8,_0x2a93ea[_0x3e413a(0x1c0)]=_0x267f90[_0x3e413a(0x1d4)](_0x5b7c14/0x4);},'clone':function(){var _0x2d476b=_0x43f95b,_0xd0eb1=_0x360f01[_0x2d476b(0x391)]['call'](this);return _0xd0eb1[_0x2d476b(0x2f1)]=this[_0x2d476b(0x2f1)]['slice'](0x0),_0xd0eb1;},'random':function(_0x35690d){var _0x2831c5=_0x43f95b;for(var _0x1d61c7=[],_0x3c4fa9=0x0;_0x3c4fa9<_0x35690d;_0x3c4fa9+=0x4)_0x1d61c7['push'](_0x4d9ded());return new _0x4ad5da[(_0x2831c5(0x287))](_0x1d61c7,_0x35690d);}}),_0x205261=_0x18fba7['enc']={},_0x34fb9d=_0x205261[_0x43f95b(0x1bb)]={'stringify':function(_0x21f551){var _0x1a17cf=_0x43f95b;for(var _0x277dfe=_0x21f551[_0x1a17cf(0x2f1)],_0x1f48f4=_0x21f551[_0x1a17cf(0x309)],_0x2c6b68=[],_0x17d6a4=0x0;_0x17d6a4<_0x1f48f4;_0x17d6a4++){var _0x522287=_0x277dfe[_0x17d6a4>>>0x2]>>>0x18-_0x17d6a4%0x4*0x8&0xff;_0x2c6b68[_0x1a17cf(0x359)]((_0x522287>>>0x4)[_0x1a17cf(0x256)](0x10)),_0x2c6b68[_0x1a17cf(0x359)]((_0x522287&0xf)['toString'](0x10));}return _0x2c6b68[_0x1a17cf(0x2d9)]('');},'parse':function(_0x7e12a0){var _0x3441c8=_0x43f95b;for(var _0x464a0d=_0x7e12a0['length'],_0x1e67a1=[],_0x177292=0x0;_0x177292<_0x464a0d;_0x177292+=0x2)_0x1e67a1[_0x177292>>>0x3]|=parseInt(_0x7e12a0['substr'](_0x177292,0x2),0x10)<<0x18-_0x177292%0x8*0x4;return new _0x4ad5da[(_0x3441c8(0x287))](_0x1e67a1,_0x464a0d/0x2);}},_0x3604be=_0x205261[_0x43f95b(0x437)]={'stringify':function(_0x40dafe){var _0x2b1384=_0x43f95b;for(var _0x1c70f4=_0x40dafe[_0x2b1384(0x2f1)],_0x5b4de7=_0x40dafe[_0x2b1384(0x309)],_0x770b18=[],_0x2afe3e=0x0;_0x2afe3e<_0x5b4de7;_0x2afe3e++){var _0x5d94b6=_0x1c70f4[_0x2afe3e>>>0x2]>>>0x18-_0x2afe3e%0x4*0x8&0xff;_0x770b18[_0x2b1384(0x359)](String['fromCharCode'](_0x5d94b6));}return _0x770b18[_0x2b1384(0x2d9)]('');},'parse':function(_0x4b117a){var _0x5e496d=_0x43f95b;for(var _0x1f8e98=_0x4b117a[_0x5e496d(0x1c0)],_0x405a0d=[],_0x3811af=0x0;_0x3811af<_0x1f8e98;_0x3811af++)_0x405a0d[_0x3811af>>>0x2]|=(_0x4b117a[_0x5e496d(0x1c2)](_0x3811af)&0xff)<<0x18-_0x3811af%0x4*0x8;return new _0x4ad5da[(_0x5e496d(0x287))](_0x405a0d,_0x1f8e98);}},_0x5f007f=_0x205261[_0x43f95b(0x1be)]={'stringify':function(_0x58dbcc){var _0x2167d6=_0x43f95b;try{return decodeURIComponent(escape(_0x3604be['stringify'](_0x58dbcc)));}catch{throw new Error(_0x2167d6(0x42c));}},'parse':function(_0x116ead){return _0x3604be['parse'](unescape(encodeURIComponent(_0x116ead)));}},_0x321255=_0x4f418c[_0x43f95b(0x2a3)]=_0x360f01['extend']({'reset':function(){var _0x5bf4d0=_0x43f95b;this[_0x5bf4d0(0x183)]=new _0x4ad5da[(_0x5bf4d0(0x287))](),this[_0x5bf4d0(0x44d)]=0x0;},'_append':function(_0x1ae896){var _0x500af3=_0x43f95b;typeof _0x1ae896=='string'&&(_0x1ae896=_0x5f007f['parse'](_0x1ae896)),this[_0x500af3(0x183)][_0x500af3(0x1a2)](_0x1ae896),this['_nDataBytes']+=_0x1ae896['sigBytes'];},'_process':function(_0x5bd5f0){var _0x42bc18=_0x43f95b,_0x64b228,_0x180d8a=this['_data'],_0x2440a8=_0x180d8a[_0x42bc18(0x2f1)],_0xace4b9=_0x180d8a[_0x42bc18(0x309)],_0x130905=this[_0x42bc18(0x34c)],_0x4676b6=_0x130905*0x4,_0x4b0ef2=_0xace4b9/_0x4676b6;_0x5bd5f0?_0x4b0ef2=_0x267f90['ceil'](_0x4b0ef2):_0x4b0ef2=_0x267f90['max']((_0x4b0ef2|0x0)-this[_0x42bc18(0x2e4)],0x0);var _0x31cf78=_0x4b0ef2*_0x130905,_0x3cc6e9=_0x267f90[_0x42bc18(0x288)](_0x31cf78*0x4,_0xace4b9);if(_0x31cf78){for(var _0x4d18af=0x0;_0x4d18af<_0x31cf78;_0x4d18af+=_0x130905)this[_0x42bc18(0x2ef)](_0x2440a8,_0x4d18af);_0x64b228=_0x2440a8[_0x42bc18(0x366)](0x0,_0x31cf78),_0x180d8a[_0x42bc18(0x309)]-=_0x3cc6e9;}return new _0x4ad5da[(_0x42bc18(0x287))](_0x64b228,_0x3cc6e9);},'clone':function(){var _0x48a408=_0x43f95b,_0x5883f=_0x360f01[_0x48a408(0x391)][_0x48a408(0x40b)](this);return _0x5883f[_0x48a408(0x183)]=this[_0x48a408(0x183)][_0x48a408(0x391)](),_0x5883f;},'_minBufferSize':0x0});_0x4f418c['Hasher']=_0x321255[_0x43f95b(0x42f)]({'cfg':_0x360f01[_0x43f95b(0x42f)](),'init':function(_0x3e5cd7){var _0x5b63d0=_0x43f95b;this[_0x5b63d0(0x3c1)]=this[_0x5b63d0(0x3c1)][_0x5b63d0(0x42f)](_0x3e5cd7),this[_0x5b63d0(0x476)]();},'reset':function(){_0x321255['reset']['call'](this),this['_doReset']();},'update':function(_0x5b4259){var _0x21e3ec=_0x43f95b;return this['_append'](_0x5b4259),this[_0x21e3ec(0x25f)](),this;},'finalize':function(_0x34f399){var _0x2722ec=_0x43f95b;_0x34f399&&this[_0x2722ec(0x2ca)](_0x34f399);var _0x559e28=this[_0x2722ec(0x1f4)]();return _0x559e28;},'blockSize':0x10,'_createHelper':function(_0x7b099f){return function(_0x218e5d,_0x56be72){var _0xfce39e=_0x842d;return new _0x7b099f[(_0xfce39e(0x287))](_0x56be72)[_0xfce39e(0x34e)](_0x218e5d);};},'_createHmacHelper':function(_0x5db8a3){return function(_0x315a4c,_0x4642fe){var _0x5db3a1=_0x842d;return new _0x3f180b[(_0x5db3a1(0x17a))][(_0x5db3a1(0x287))](_0x5db8a3,_0x4642fe)[_0x5db3a1(0x34e)](_0x315a4c);};}});var _0x3f180b=_0x18fba7['algo']={};return _0x18fba7;}(Math);return _0x438df6;}));}(Ge)),Ge[_0x4dc5a0(0x444)];}var We={'exports':{}},_n=We[_0x1494d6(0x444)],zt;function Ri(){var _0x12555a=_0x1494d6;return zt||(zt=0x1,function(_0x35911a,_0x12422d){(function(_0x4dbd26,_0x35bba0){var _0x4b728e=_0x842d;_0x35911a[_0x4b728e(0x444)]=_0x35bba0(ie());}(_n,function(_0x467188){var _0x46d3a7=_0x842d;return(function(){var _0x8dbff0=_0x842d,_0x5b9f67=_0x467188,_0x37d769=_0x5b9f67[_0x8dbff0(0x1a1)],_0x1b1b80=_0x37d769[_0x8dbff0(0x35f)],_0x4666f2=_0x5b9f67[_0x8dbff0(0x40a)];_0x4666f2[_0x8dbff0(0x289)]={'stringify':function(_0x20b226){var _0x496111=_0x8dbff0,_0x680069=_0x20b226[_0x496111(0x2f1)],_0x4a7dd8=_0x20b226[_0x496111(0x309)],_0x266a81=this[_0x496111(0x295)];_0x20b226['clamp']();for(var _0x5cb9a0=[],_0x1ff235=0x0;_0x1ff235<_0x4a7dd8;_0x1ff235+=0x3)for(var _0x374dda=_0x680069[_0x1ff235>>>0x2]>>>0x18-_0x1ff235%0x4*0x8&0xff,_0x36f143=_0x680069[_0x1ff235+0x1>>>0x2]>>>0x18-(_0x1ff235+0x1)%0x4*0x8&0xff,_0x2055d4=_0x680069[_0x1ff235+0x2>>>0x2]>>>0x18-(_0x1ff235+0x2)%0x4*0x8&0xff,_0x35e29c=_0x374dda<<0x10|_0x36f143<<0x8|_0x2055d4,_0x13ff23=0x0;_0x13ff23<0x4&&_0x1ff235+_0x13ff23*0.75<_0x4a7dd8;_0x13ff23++)_0x5cb9a0[_0x496111(0x359)](_0x266a81['charAt'](_0x35e29c>>>0x6*(0x3-_0x13ff23)&0x3f));var _0x9dd8e9=_0x266a81[_0x496111(0x3d7)](0x40);if(_0x9dd8e9){for(;_0x5cb9a0[_0x496111(0x1c0)]%0x4;)_0x5cb9a0[_0x496111(0x359)](_0x9dd8e9);}return _0x5cb9a0[_0x496111(0x2d9)]('');},'parse':function(_0x427e9c){var _0x3b8fae=_0x8dbff0,_0xeb60b5=_0x427e9c[_0x3b8fae(0x1c0)],_0xe7a24a=this['_map'],_0x1f0e1b=this[_0x3b8fae(0x176)];if(!_0x1f0e1b){_0x1f0e1b=this[_0x3b8fae(0x176)]=[];for(var _0x1a1e8a=0x0;_0x1a1e8a<_0xe7a24a[_0x3b8fae(0x1c0)];_0x1a1e8a++)_0x1f0e1b[_0xe7a24a[_0x3b8fae(0x1c2)](_0x1a1e8a)]=_0x1a1e8a;}var _0x5bbddc=_0xe7a24a[_0x3b8fae(0x3d7)](0x40);if(_0x5bbddc){var _0x5dfc7f=_0x427e9c['indexOf'](_0x5bbddc);_0x5dfc7f!==-0x1&&(_0xeb60b5=_0x5dfc7f);}return _0x5634a3(_0x427e9c,_0xeb60b5,_0x1f0e1b);},'_map':_0x8dbff0(0x202)};function _0x5634a3(_0x1050c5,_0x106e8b,_0x846ae2){var _0x4573d7=_0x8dbff0;for(var _0x4fcee0=[],_0x7ca921=0x0,_0x56fc6c=0x0;_0x56fc6c<_0x106e8b;_0x56fc6c++)if(_0x56fc6c%0x4){var _0x84510e=_0x846ae2[_0x1050c5[_0x4573d7(0x1c2)](_0x56fc6c-0x1)]<<_0x56fc6c%0x4*0x2,_0x425f7c=_0x846ae2[_0x1050c5[_0x4573d7(0x1c2)](_0x56fc6c)]>>>0x6-_0x56fc6c%0x4*0x2,_0x41d115=_0x84510e|_0x425f7c;_0x4fcee0[_0x7ca921>>>0x2]|=_0x41d115<<0x18-_0x7ca921%0x4*0x8,_0x7ca921++;}return _0x1b1b80['create'](_0x4fcee0,_0x7ca921);}}()),_0x467188[_0x46d3a7(0x40a)][_0x46d3a7(0x289)];}));}(We)),We[_0x12555a(0x444)];}var Ye={'exports':{}},hn=Ye[_0x1494d6(0x444)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x2c022e,_0x264549){(function(_0xbc3cca,_0x1f62eb){var _0x3af50f=_0x842d;_0x2c022e[_0x3af50f(0x444)]=_0x1f62eb(ie());}(hn,function(_0xc526eb){var _0x117569=_0x842d;return function(_0x476d1c){var _0x99808b=_0x842d,_0x55175f=_0xc526eb,_0x1d4222=_0x55175f[_0x99808b(0x1a1)],_0x3a81e6=_0x1d4222['WordArray'],_0x15824e=_0x1d4222['Hasher'],_0x53688f=_0x55175f[_0x99808b(0x3a0)],_0x350158=[];(function(){var _0x26aa5b=_0x99808b;for(var _0x11b9e7=0x0;_0x11b9e7<0x40;_0x11b9e7++)_0x350158[_0x11b9e7]=_0x476d1c[_0x26aa5b(0x2c2)](_0x476d1c[_0x26aa5b(0x3ba)](_0x11b9e7+0x1))*0x100000000|0x0;}());var _0x4fbd58=_0x53688f['MD5']=_0x15824e[_0x99808b(0x42f)]({'_doReset':function(){var _0x3c3faf=_0x99808b;this[_0x3c3faf(0x413)]=new _0x3a81e6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4250c1,_0x1049c5){var _0x546c91=_0x99808b;for(var _0xaba755=0x0;_0xaba755<0x10;_0xaba755++){var _0x44c1ae=_0x1049c5+_0xaba755,_0x163d4e=_0x4250c1[_0x44c1ae];_0x4250c1[_0x44c1ae]=(_0x163d4e<<0x8|_0x163d4e>>>0x18)&0xff00ff|(_0x163d4e<<0x18|_0x163d4e>>>0x8)&0xff00ff00;}var _0x251d17=this[_0x546c91(0x413)][_0x546c91(0x2f1)],_0x47f239=_0x4250c1[_0x1049c5+0x0],_0x3f7944=_0x4250c1[_0x1049c5+0x1],_0x5169e7=_0x4250c1[_0x1049c5+0x2],_0x207c7e=_0x4250c1[_0x1049c5+0x3],_0x1e50a6=_0x4250c1[_0x1049c5+0x4],_0x344e3b=_0x4250c1[_0x1049c5+0x5],_0xfe5911=_0x4250c1[_0x1049c5+0x6],_0x4e13d7=_0x4250c1[_0x1049c5+0x7],_0x34429c=_0x4250c1[_0x1049c5+0x8],_0x54fb67=_0x4250c1[_0x1049c5+0x9],_0x286ff6=_0x4250c1[_0x1049c5+0xa],_0x3671b7=_0x4250c1[_0x1049c5+0xb],_0xbdf1fc=_0x4250c1[_0x1049c5+0xc],_0x290c60=_0x4250c1[_0x1049c5+0xd],_0x433908=_0x4250c1[_0x1049c5+0xe],_0x5f1d6d=_0x4250c1[_0x1049c5+0xf],_0xe54862=_0x251d17[0x0],_0xe7f597=_0x251d17[0x1],_0x2bfa98=_0x251d17[0x2],_0x4387de=_0x251d17[0x3];_0xe54862=_0x2c780a(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x47f239,0x7,_0x350158[0x0]),_0x4387de=_0x2c780a(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x3f7944,0xc,_0x350158[0x1]),_0x2bfa98=_0x2c780a(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x5169e7,0x11,_0x350158[0x2]),_0xe7f597=_0x2c780a(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x207c7e,0x16,_0x350158[0x3]),_0xe54862=_0x2c780a(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x1e50a6,0x7,_0x350158[0x4]),_0x4387de=_0x2c780a(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x344e3b,0xc,_0x350158[0x5]),_0x2bfa98=_0x2c780a(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0xfe5911,0x11,_0x350158[0x6]),_0xe7f597=_0x2c780a(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x4e13d7,0x16,_0x350158[0x7]),_0xe54862=_0x2c780a(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x34429c,0x7,_0x350158[0x8]),_0x4387de=_0x2c780a(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x54fb67,0xc,_0x350158[0x9]),_0x2bfa98=_0x2c780a(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x286ff6,0x11,_0x350158[0xa]),_0xe7f597=_0x2c780a(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x3671b7,0x16,_0x350158[0xb]),_0xe54862=_0x2c780a(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0xbdf1fc,0x7,_0x350158[0xc]),_0x4387de=_0x2c780a(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x290c60,0xc,_0x350158[0xd]),_0x2bfa98=_0x2c780a(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x433908,0x11,_0x350158[0xe]),_0xe7f597=_0x2c780a(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x5f1d6d,0x16,_0x350158[0xf]),_0xe54862=_0x140245(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x3f7944,0x5,_0x350158[0x10]),_0x4387de=_0x140245(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0xfe5911,0x9,_0x350158[0x11]),_0x2bfa98=_0x140245(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x3671b7,0xe,_0x350158[0x12]),_0xe7f597=_0x140245(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x47f239,0x14,_0x350158[0x13]),_0xe54862=_0x140245(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x344e3b,0x5,_0x350158[0x14]),_0x4387de=_0x140245(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x286ff6,0x9,_0x350158[0x15]),_0x2bfa98=_0x140245(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x5f1d6d,0xe,_0x350158[0x16]),_0xe7f597=_0x140245(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x1e50a6,0x14,_0x350158[0x17]),_0xe54862=_0x140245(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x54fb67,0x5,_0x350158[0x18]),_0x4387de=_0x140245(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x433908,0x9,_0x350158[0x19]),_0x2bfa98=_0x140245(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x207c7e,0xe,_0x350158[0x1a]),_0xe7f597=_0x140245(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x34429c,0x14,_0x350158[0x1b]),_0xe54862=_0x140245(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x290c60,0x5,_0x350158[0x1c]),_0x4387de=_0x140245(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x5169e7,0x9,_0x350158[0x1d]),_0x2bfa98=_0x140245(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x4e13d7,0xe,_0x350158[0x1e]),_0xe7f597=_0x140245(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0xbdf1fc,0x14,_0x350158[0x1f]),_0xe54862=_0x1759ca(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x344e3b,0x4,_0x350158[0x20]),_0x4387de=_0x1759ca(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x34429c,0xb,_0x350158[0x21]),_0x2bfa98=_0x1759ca(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x3671b7,0x10,_0x350158[0x22]),_0xe7f597=_0x1759ca(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x433908,0x17,_0x350158[0x23]),_0xe54862=_0x1759ca(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x3f7944,0x4,_0x350158[0x24]),_0x4387de=_0x1759ca(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x1e50a6,0xb,_0x350158[0x25]),_0x2bfa98=_0x1759ca(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x4e13d7,0x10,_0x350158[0x26]),_0xe7f597=_0x1759ca(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x286ff6,0x17,_0x350158[0x27]),_0xe54862=_0x1759ca(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x290c60,0x4,_0x350158[0x28]),_0x4387de=_0x1759ca(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x47f239,0xb,_0x350158[0x29]),_0x2bfa98=_0x1759ca(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x207c7e,0x10,_0x350158[0x2a]),_0xe7f597=_0x1759ca(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0xfe5911,0x17,_0x350158[0x2b]),_0xe54862=_0x1759ca(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x54fb67,0x4,_0x350158[0x2c]),_0x4387de=_0x1759ca(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0xbdf1fc,0xb,_0x350158[0x2d]),_0x2bfa98=_0x1759ca(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x5f1d6d,0x10,_0x350158[0x2e]),_0xe7f597=_0x1759ca(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x5169e7,0x17,_0x350158[0x2f]),_0xe54862=_0x30c10f(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x47f239,0x6,_0x350158[0x30]),_0x4387de=_0x30c10f(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x4e13d7,0xa,_0x350158[0x31]),_0x2bfa98=_0x30c10f(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x433908,0xf,_0x350158[0x32]),_0xe7f597=_0x30c10f(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x344e3b,0x15,_0x350158[0x33]),_0xe54862=_0x30c10f(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0xbdf1fc,0x6,_0x350158[0x34]),_0x4387de=_0x30c10f(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x207c7e,0xa,_0x350158[0x35]),_0x2bfa98=_0x30c10f(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x286ff6,0xf,_0x350158[0x36]),_0xe7f597=_0x30c10f(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x3f7944,0x15,_0x350158[0x37]),_0xe54862=_0x30c10f(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x34429c,0x6,_0x350158[0x38]),_0x4387de=_0x30c10f(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x5f1d6d,0xa,_0x350158[0x39]),_0x2bfa98=_0x30c10f(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0xfe5911,0xf,_0x350158[0x3a]),_0xe7f597=_0x30c10f(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x290c60,0x15,_0x350158[0x3b]),_0xe54862=_0x30c10f(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x1e50a6,0x6,_0x350158[0x3c]),_0x4387de=_0x30c10f(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x3671b7,0xa,_0x350158[0x3d]),_0x2bfa98=_0x30c10f(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x5169e7,0xf,_0x350158[0x3e]),_0xe7f597=_0x30c10f(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x54fb67,0x15,_0x350158[0x3f]),_0x251d17[0x0]=_0x251d17[0x0]+_0xe54862|0x0,_0x251d17[0x1]=_0x251d17[0x1]+_0xe7f597|0x0,_0x251d17[0x2]=_0x251d17[0x2]+_0x2bfa98|0x0,_0x251d17[0x3]=_0x251d17[0x3]+_0x4387de|0x0;},'_doFinalize':function(){var _0x105952=_0x99808b,_0x47983f=this[_0x105952(0x183)],_0x25564a=_0x47983f[_0x105952(0x2f1)],_0x4130a7=this[_0x105952(0x44d)]*0x8,_0x2ba8fc=_0x47983f[_0x105952(0x309)]*0x8;_0x25564a[_0x2ba8fc>>>0x5]|=0x80<<0x18-_0x2ba8fc%0x20;var _0x379c8d=_0x476d1c['floor'](_0x4130a7/0x100000000),_0x35e0b2=_0x4130a7;_0x25564a[(_0x2ba8fc+0x40>>>0x9<<0x4)+0xf]=(_0x379c8d<<0x8|_0x379c8d>>>0x18)&0xff00ff|(_0x379c8d<<0x18|_0x379c8d>>>0x8)&0xff00ff00,_0x25564a[(_0x2ba8fc+0x40>>>0x9<<0x4)+0xe]=(_0x35e0b2<<0x8|_0x35e0b2>>>0x18)&0xff00ff|(_0x35e0b2<<0x18|_0x35e0b2>>>0x8)&0xff00ff00,_0x47983f[_0x105952(0x309)]=(_0x25564a[_0x105952(0x1c0)]+0x1)*0x4,this[_0x105952(0x25f)]();for(var _0x2f9e41=this['_hash'],_0x52bc87=_0x2f9e41[_0x105952(0x2f1)],_0x54204d=0x0;_0x54204d<0x4;_0x54204d++){var _0x4c6dd1=_0x52bc87[_0x54204d];_0x52bc87[_0x54204d]=(_0x4c6dd1<<0x8|_0x4c6dd1>>>0x18)&0xff00ff|(_0x4c6dd1<<0x18|_0x4c6dd1>>>0x8)&0xff00ff00;}return _0x2f9e41;},'clone':function(){var _0x245721=_0x99808b,_0x31d91b=_0x15824e['clone'][_0x245721(0x40b)](this);return _0x31d91b[_0x245721(0x413)]=this[_0x245721(0x413)][_0x245721(0x391)](),_0x31d91b;}});function _0x2c780a(_0xf2a8a6,_0xaf53a5,_0x326b77,_0x263ce7,_0x159c24,_0x304241,_0x3e7acf){var _0x139eb1=_0xf2a8a6+(_0xaf53a5&_0x326b77|~_0xaf53a5&_0x263ce7)+_0x159c24+_0x3e7acf;return(_0x139eb1<<_0x304241|_0x139eb1>>>0x20-_0x304241)+_0xaf53a5;}function _0x140245(_0x362220,_0x3d6b1b,_0x412ee7,_0x2b8680,_0x11b568,_0x23fe72,_0x49babf){var _0x845407=_0x362220+(_0x3d6b1b&_0x2b8680|_0x412ee7&~_0x2b8680)+_0x11b568+_0x49babf;return(_0x845407<<_0x23fe72|_0x845407>>>0x20-_0x23fe72)+_0x3d6b1b;}function _0x1759ca(_0x1aa4d1,_0x4c489b,_0x577166,_0x481827,_0x854bed,_0xdaca75,_0x519122){var _0x5a614a=_0x1aa4d1+(_0x4c489b^_0x577166^_0x481827)+_0x854bed+_0x519122;return(_0x5a614a<<_0xdaca75|_0x5a614a>>>0x20-_0xdaca75)+_0x4c489b;}function _0x30c10f(_0x50dd81,_0x4d6a14,_0xdc5e72,_0x3fbe35,_0x1f1934,_0x3dcb62,_0x4d45d8){var _0x35059f=_0x50dd81+(_0xdc5e72^(_0x4d6a14|~_0x3fbe35))+_0x1f1934+_0x4d45d8;return(_0x35059f<<_0x3dcb62|_0x35059f>>>0x20-_0x3dcb62)+_0x4d6a14;}_0x55175f[_0x99808b(0x301)]=_0x15824e[_0x99808b(0x3ec)](_0x4fbd58),_0x55175f[_0x99808b(0x1b6)]=_0x15824e[_0x99808b(0x30f)](_0x4fbd58);}(Math),_0xc526eb[_0x117569(0x301)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){var _0x2d2cc7=_0x1494d6;return Xt||(Xt=0x1,function(_0x300f88,_0x51eba8){(function(_0x43a86a,_0x1bee87){var _0x7dac81=_0x842d;_0x300f88[_0x7dac81(0x444)]=_0x1bee87(ie());}(un,function(_0x46b0a8){var _0x4d2d5d=_0x842d;return(function(){var _0x5bc5c4=_0x842d,_0x51cf35=_0x46b0a8,_0x43191e=_0x51cf35[_0x5bc5c4(0x1a1)],_0x1a6716=_0x43191e['WordArray'],_0x2b1421=_0x43191e[_0x5bc5c4(0x2c0)],_0x3f890d=_0x51cf35[_0x5bc5c4(0x3a0)],_0x55d903=[],_0x396fe3=_0x3f890d[_0x5bc5c4(0x1a5)]=_0x2b1421['extend']({'_doReset':function(){var _0x55b898=_0x5bc5c4;this['_hash']=new _0x1a6716[(_0x55b898(0x287))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x44d4a5,_0x3b6bce){var _0x5dc555=_0x5bc5c4;for(var _0x129a19=this[_0x5dc555(0x413)][_0x5dc555(0x2f1)],_0x30b6ac=_0x129a19[0x0],_0x2a7fc1=_0x129a19[0x1],_0x46281f=_0x129a19[0x2],_0x4b49f5=_0x129a19[0x3],_0x62f045=_0x129a19[0x4],_0x173db8=0x0;_0x173db8<0x50;_0x173db8++){if(_0x173db8<0x10)_0x55d903[_0x173db8]=_0x44d4a5[_0x3b6bce+_0x173db8]|0x0;else{var _0x3956e9=_0x55d903[_0x173db8-0x3]^_0x55d903[_0x173db8-0x8]^_0x55d903[_0x173db8-0xe]^_0x55d903[_0x173db8-0x10];_0x55d903[_0x173db8]=_0x3956e9<<0x1|_0x3956e9>>>0x1f;}var _0x7d1c14=(_0x30b6ac<<0x5|_0x30b6ac>>>0x1b)+_0x62f045+_0x55d903[_0x173db8];_0x173db8<0x14?_0x7d1c14+=(_0x2a7fc1&_0x46281f|~_0x2a7fc1&_0x4b49f5)+0x5a827999:_0x173db8<0x28?_0x7d1c14+=(_0x2a7fc1^_0x46281f^_0x4b49f5)+0x6ed9eba1:_0x173db8<0x3c?_0x7d1c14+=(_0x2a7fc1&_0x46281f|_0x2a7fc1&_0x4b49f5|_0x46281f&_0x4b49f5)-0x70e44324:_0x7d1c14+=(_0x2a7fc1^_0x46281f^_0x4b49f5)-0x359d3e2a,_0x62f045=_0x4b49f5,_0x4b49f5=_0x46281f,_0x46281f=_0x2a7fc1<<0x1e|_0x2a7fc1>>>0x2,_0x2a7fc1=_0x30b6ac,_0x30b6ac=_0x7d1c14;}_0x129a19[0x0]=_0x129a19[0x0]+_0x30b6ac|0x0,_0x129a19[0x1]=_0x129a19[0x1]+_0x2a7fc1|0x0,_0x129a19[0x2]=_0x129a19[0x2]+_0x46281f|0x0,_0x129a19[0x3]=_0x129a19[0x3]+_0x4b49f5|0x0,_0x129a19[0x4]=_0x129a19[0x4]+_0x62f045|0x0;},'_doFinalize':function(){var _0x2c0a80=_0x5bc5c4,_0x35952a=this[_0x2c0a80(0x183)],_0x1e63f7=_0x35952a['words'],_0x41c36e=this[_0x2c0a80(0x44d)]*0x8,_0x23b14e=_0x35952a[_0x2c0a80(0x309)]*0x8;return _0x1e63f7[_0x23b14e>>>0x5]|=0x80<<0x18-_0x23b14e%0x20,_0x1e63f7[(_0x23b14e+0x40>>>0x9<<0x4)+0xe]=Math[_0x2c0a80(0x239)](_0x41c36e/0x100000000),_0x1e63f7[(_0x23b14e+0x40>>>0x9<<0x4)+0xf]=_0x41c36e,_0x35952a[_0x2c0a80(0x309)]=_0x1e63f7[_0x2c0a80(0x1c0)]*0x4,this[_0x2c0a80(0x25f)](),this[_0x2c0a80(0x413)];},'clone':function(){var _0x32eaf3=_0x5bc5c4,_0x2cdb45=_0x2b1421[_0x32eaf3(0x391)][_0x32eaf3(0x40b)](this);return _0x2cdb45[_0x32eaf3(0x413)]=this[_0x32eaf3(0x413)][_0x32eaf3(0x391)](),_0x2cdb45;}});_0x51cf35['SHA1']=_0x2b1421['_createHelper'](_0x396fe3),_0x51cf35[_0x5bc5c4(0x1e9)]=_0x2b1421['_createHmacHelper'](_0x396fe3);}()),_0x46b0a8[_0x4d2d5d(0x1a5)];}));}(qe)),qe[_0x2d2cc7(0x444)];}var ze={'exports':{}},fn=ze[_0x1494d6(0x444)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x5be001,_0x57c807){(function(_0x201de8,_0x3244dc){var _0x1a403e=_0x842d;_0x5be001[_0x1a403e(0x444)]=_0x3244dc(ie());}(fn,function(_0x5bf448){(function(){var _0x3efc76=_0x842d,_0x484943=_0x5bf448,_0x343120=_0x484943[_0x3efc76(0x1a1)],_0x5a8fd8=_0x343120['Base'],_0x123e9e=_0x484943[_0x3efc76(0x40a)],_0x56872d=_0x123e9e['Utf8'],_0xb355cd=_0x484943['algo'];_0xb355cd[_0x3efc76(0x17a)]=_0x5a8fd8[_0x3efc76(0x42f)]({'init':function(_0x2a1594,_0x15d865){var _0x194f83=_0x3efc76;_0x2a1594=this[_0x194f83(0x365)]=new _0x2a1594[(_0x194f83(0x287))](),typeof _0x15d865==_0x194f83(0x231)&&(_0x15d865=_0x56872d[_0x194f83(0x2ed)](_0x15d865));var _0x4784f4=_0x2a1594[_0x194f83(0x34c)],_0x1b9a16=_0x4784f4*0x4;_0x15d865[_0x194f83(0x309)]>_0x1b9a16&&(_0x15d865=_0x2a1594[_0x194f83(0x34e)](_0x15d865)),_0x15d865[_0x194f83(0x251)]();for(var _0x28b900=this[_0x194f83(0x2ab)]=_0x15d865[_0x194f83(0x391)](),_0x5374ad=this[_0x194f83(0x392)]=_0x15d865[_0x194f83(0x391)](),_0x56d716=_0x28b900['words'],_0xf0c057=_0x5374ad[_0x194f83(0x2f1)],_0xdb2c7e=0x0;_0xdb2c7e<_0x4784f4;_0xdb2c7e++)_0x56d716[_0xdb2c7e]^=0x5c5c5c5c,_0xf0c057[_0xdb2c7e]^=0x36363636;_0x28b900[_0x194f83(0x309)]=_0x5374ad[_0x194f83(0x309)]=_0x1b9a16,this[_0x194f83(0x476)]();},'reset':function(){var _0x331e68=_0x3efc76,_0x18623f=this[_0x331e68(0x365)];_0x18623f[_0x331e68(0x476)](),_0x18623f[_0x331e68(0x3ff)](this['_iKey']);},'update':function(_0x49a386){var _0x412c80=_0x3efc76;return this['_hasher'][_0x412c80(0x3ff)](_0x49a386),this;},'finalize':function(_0x23a9b3){var _0x2dd2a7=_0x3efc76,_0x2c314f=this[_0x2dd2a7(0x365)],_0x22b195=_0x2c314f['finalize'](_0x23a9b3);_0x2c314f[_0x2dd2a7(0x476)]();var _0xcadbf4=_0x2c314f[_0x2dd2a7(0x34e)](this[_0x2dd2a7(0x2ab)]['clone']()[_0x2dd2a7(0x1a2)](_0x22b195));return _0xcadbf4;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x1494d6(0x444)],Qt;function Ci(){return Qt||(Qt=0x1,function(_0x397c94,_0x45a017){(function(_0x20a306,_0x4c8168,_0x2def07){var _0x26c5b7=_0x842d;_0x397c94[_0x26c5b7(0x444)]=_0x4c8168(ie(),dn(),vn());}(pn,function(_0x235849){var _0x53299e=_0x842d;return(function(){var _0x2ea9f4=_0x842d,_0x5edb5b=_0x235849,_0x4ae53a=_0x5edb5b[_0x2ea9f4(0x1a1)],_0x18ed6c=_0x4ae53a[_0x2ea9f4(0x387)],_0x49fc24=_0x4ae53a[_0x2ea9f4(0x35f)],_0x3b2586=_0x5edb5b['algo'],_0x561a2e=_0x3b2586[_0x2ea9f4(0x301)],_0x5c70de=_0x3b2586[_0x2ea9f4(0x2d0)]=_0x18ed6c[_0x2ea9f4(0x42f)]({'cfg':_0x18ed6c[_0x2ea9f4(0x42f)]({'keySize':0x80/0x20,'hasher':_0x561a2e,'iterations':0x1}),'init':function(_0x49129e){var _0x42d8d3=_0x2ea9f4;this[_0x42d8d3(0x3c1)]=this[_0x42d8d3(0x3c1)][_0x42d8d3(0x42f)](_0x49129e);},'compute':function(_0x3a5a00,_0x38f6ff){var _0x2cfda2=_0x2ea9f4;for(var _0x516733,_0x246c18=this['cfg'],_0x594d1f=_0x246c18[_0x2cfda2(0x2c6)][_0x2cfda2(0x2f0)](),_0x162319=_0x49fc24[_0x2cfda2(0x2f0)](),_0x181b79=_0x162319[_0x2cfda2(0x2f1)],_0x506131=_0x246c18[_0x2cfda2(0x1e8)],_0x38ef49=_0x246c18[_0x2cfda2(0x20c)];_0x181b79[_0x2cfda2(0x1c0)]<_0x506131;){_0x516733&&_0x594d1f[_0x2cfda2(0x3ff)](_0x516733),_0x516733=_0x594d1f[_0x2cfda2(0x3ff)](_0x3a5a00)['finalize'](_0x38f6ff),_0x594d1f[_0x2cfda2(0x476)]();for(var _0x68b62b=0x1;_0x68b62b<_0x38ef49;_0x68b62b++)_0x516733=_0x594d1f['finalize'](_0x516733),_0x594d1f[_0x2cfda2(0x476)]();_0x162319[_0x2cfda2(0x1a2)](_0x516733);}return _0x162319[_0x2cfda2(0x309)]=_0x506131*0x4,_0x162319;}});_0x5edb5b[_0x2ea9f4(0x2d0)]=function(_0x1039ff,_0x48fce3,_0x1e8392){var _0x38cb71=_0x2ea9f4;return _0x5c70de['create'](_0x1e8392)[_0x38cb71(0x422)](_0x1039ff,_0x48fce3);};}()),_0x235849[_0x53299e(0x2d0)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},En=Je[_0x1494d6(0x444)],ei;function Ni(){var _0x29834f=_0x1494d6;return ei||(ei=0x1,function(_0x5dffb9,_0x147395){(function(_0x18b3dc,_0x4ff9c8,_0xc8c5de){var _0x335dc5=_0x842d;_0x5dffb9[_0x335dc5(0x444)]=_0x4ff9c8(ie(),Ci());}(En,function(_0x41e5ea){var _0x2ce52c=_0x842d;_0x41e5ea[_0x2ce52c(0x1a1)]['Cipher']||function(_0x272b17){var _0x585191=_0x2ce52c,_0x3d36fa=_0x41e5ea,_0x3b87c6=_0x3d36fa[_0x585191(0x1a1)],_0x25e7bc=_0x3b87c6[_0x585191(0x387)],_0x4badce=_0x3b87c6[_0x585191(0x35f)],_0x55b2b5=_0x3b87c6[_0x585191(0x2a3)],_0x366092=_0x3d36fa['enc'];_0x366092[_0x585191(0x1be)];var _0x3a8da4=_0x366092[_0x585191(0x289)],_0x4eb42a=_0x3d36fa[_0x585191(0x3a0)],_0x21cfcb=_0x4eb42a[_0x585191(0x2d0)],_0xad4613=_0x3b87c6[_0x585191(0x2f6)]=_0x55b2b5[_0x585191(0x42f)]({'cfg':_0x25e7bc['extend'](),'createEncryptor':function(_0x53d551,_0x9f1efa){var _0x1cca40=_0x585191;return this[_0x1cca40(0x2f0)](this[_0x1cca40(0x325)],_0x53d551,_0x9f1efa);},'createDecryptor':function(_0x14f681,_0x511d62){var _0x589ada=_0x585191;return this[_0x589ada(0x2f0)](this[_0x589ada(0x405)],_0x14f681,_0x511d62);},'init':function(_0x1bd2db,_0x3f3072,_0x28f2e6){var _0x13238b=_0x585191;this[_0x13238b(0x3c1)]=this['cfg']['extend'](_0x28f2e6),this[_0x13238b(0x1e0)]=_0x1bd2db,this[_0x13238b(0x449)]=_0x3f3072,this[_0x13238b(0x476)]();},'reset':function(){var _0x32cdb4=_0x585191;_0x55b2b5[_0x32cdb4(0x476)]['call'](this),this[_0x32cdb4(0x19c)]();},'process':function(_0x1472c4){var _0x12812c=_0x585191;return this[_0x12812c(0x2ca)](_0x1472c4),this['_process']();},'finalize':function(_0xbf28d1){var _0x455d94=_0x585191;_0xbf28d1&&this[_0x455d94(0x2ca)](_0xbf28d1);var _0x2d4a36=this[_0x455d94(0x1f4)]();return _0x2d4a36;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1e4455(_0x4480f3){var _0x585504=_0x842d;return typeof _0x4480f3==_0x585504(0x231)?_0x4092d1:_0x1d42bc;}return function(_0x1b8a20){return{'encrypt':function(_0x4ae61d,_0x564397,_0x1ac234){var _0x2eb190=_0x842d;return _0x1e4455(_0x564397)[_0x2eb190(0x242)](_0x1b8a20,_0x4ae61d,_0x564397,_0x1ac234);},'decrypt':function(_0x40e2e3,_0x594093,_0x227ca0){var _0x5b3dff=_0x842d;return _0x1e4455(_0x594093)[_0x5b3dff(0x332)](_0x1b8a20,_0x40e2e3,_0x594093,_0x227ca0);}};};}())});_0x3b87c6['StreamCipher']=_0xad4613[_0x585191(0x42f)]({'_doFinalize':function(){var _0xa7210e=this['_process'](!0x0);return _0xa7210e;},'blockSize':0x1});var _0x81a30c=_0x3d36fa[_0x585191(0x191)]={},_0x437989=_0x3b87c6['BlockCipherMode']=_0x25e7bc[_0x585191(0x42f)]({'createEncryptor':function(_0x52b8cf,_0x20a008){var _0x1e65b4=_0x585191;return this[_0x1e65b4(0x2d1)][_0x1e65b4(0x2f0)](_0x52b8cf,_0x20a008);},'createDecryptor':function(_0x3533c8,_0x198607){var _0x34546d=_0x585191;return this[_0x34546d(0x233)][_0x34546d(0x2f0)](_0x3533c8,_0x198607);},'init':function(_0x5e4fc5,_0x3d4e6a){var _0x4f8943=_0x585191;this['_cipher']=_0x5e4fc5,this[_0x4f8943(0x36f)]=_0x3d4e6a;}}),_0x14b7fe=_0x81a30c['CBC']=(function(){var _0x3f05b3=_0x585191,_0x3bcca2=_0x437989[_0x3f05b3(0x42f)]();_0x3bcca2[_0x3f05b3(0x2d1)]=_0x3bcca2[_0x3f05b3(0x42f)]({'processBlock':function(_0x33a39e,_0x3c42db){var _0x43d11d=_0x3f05b3,_0x43e5f1=this[_0x43d11d(0x356)],_0x224c2d=_0x43e5f1[_0x43d11d(0x34c)];_0x4bc3d4[_0x43d11d(0x40b)](this,_0x33a39e,_0x3c42db,_0x224c2d),_0x43e5f1['encryptBlock'](_0x33a39e,_0x3c42db),this[_0x43d11d(0x245)]=_0x33a39e[_0x43d11d(0x316)](_0x3c42db,_0x3c42db+_0x224c2d);}}),_0x3bcca2[_0x3f05b3(0x233)]=_0x3bcca2[_0x3f05b3(0x42f)]({'processBlock':function(_0x366051,_0x8eb1a){var _0x324bf7=_0x3f05b3,_0x185470=this['_cipher'],_0x318bc4=_0x185470[_0x324bf7(0x34c)],_0x112dc8=_0x366051[_0x324bf7(0x316)](_0x8eb1a,_0x8eb1a+_0x318bc4);_0x185470[_0x324bf7(0x17b)](_0x366051,_0x8eb1a),_0x4bc3d4[_0x324bf7(0x40b)](this,_0x366051,_0x8eb1a,_0x318bc4),this['_prevBlock']=_0x112dc8;}});function _0x4bc3d4(_0x5f1f1a,_0x3494fe,_0x3ca3ee){var _0x68d3f0=_0x3f05b3,_0x591201,_0x7e8ce=this['_iv'];_0x7e8ce?(_0x591201=_0x7e8ce,this[_0x68d3f0(0x36f)]=_0x272b17):_0x591201=this[_0x68d3f0(0x245)];for(var _0x2aee6a=0x0;_0x2aee6a<_0x3ca3ee;_0x2aee6a++)_0x5f1f1a[_0x3494fe+_0x2aee6a]^=_0x591201[_0x2aee6a];}return _0x3bcca2;}()),_0x364733=_0x3d36fa[_0x585191(0x1c4)]={},_0x410fc8=_0x364733['Pkcs7']={'pad':function(_0x220de3,_0x284ab2){var _0x2ed559=_0x585191;for(var _0x5a1a24=_0x284ab2*0x4,_0x38e420=_0x5a1a24-_0x220de3[_0x2ed559(0x309)]%_0x5a1a24,_0x3ca2e1=_0x38e420<<0x18|_0x38e420<<0x10|_0x38e420<<0x8|_0x38e420,_0x5c9223=[],_0x6f5c73=0x0;_0x6f5c73<_0x38e420;_0x6f5c73+=0x4)_0x5c9223['push'](_0x3ca2e1);var _0x174508=_0x4badce[_0x2ed559(0x2f0)](_0x5c9223,_0x38e420);_0x220de3[_0x2ed559(0x1a2)](_0x174508);},'unpad':function(_0x30d528){var _0x5dcd3c=_0x585191,_0x282b77=_0x30d528[_0x5dcd3c(0x2f1)][_0x30d528['sigBytes']-0x1>>>0x2]&0xff;_0x30d528['sigBytes']-=_0x282b77;}};_0x3b87c6[_0x585191(0x313)]=_0xad4613[_0x585191(0x42f)]({'cfg':_0xad4613[_0x585191(0x3c1)]['extend']({'mode':_0x14b7fe,'padding':_0x410fc8}),'reset':function(){var _0x8c4a25=_0x585191,_0x493f03;_0xad4613[_0x8c4a25(0x476)][_0x8c4a25(0x40b)](this);var _0x37f58=this[_0x8c4a25(0x3c1)],_0x48de86=_0x37f58['iv'],_0x554c64=_0x37f58[_0x8c4a25(0x191)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x493f03=_0x554c64['createEncryptor']:(_0x493f03=_0x554c64[_0x8c4a25(0x3be)],this[_0x8c4a25(0x2e4)]=0x1),this['_mode']&&this[_0x8c4a25(0x197)][_0x8c4a25(0x341)]==_0x493f03?this['_mode'][_0x8c4a25(0x287)](this,_0x48de86&&_0x48de86['words']):(this[_0x8c4a25(0x197)]=_0x493f03[_0x8c4a25(0x40b)](_0x554c64,this,_0x48de86&&_0x48de86[_0x8c4a25(0x2f1)]),this['_mode'][_0x8c4a25(0x341)]=_0x493f03);},'_doProcessBlock':function(_0x4b4fec,_0x4d1b0c){var _0xa6a517=_0x585191;this[_0xa6a517(0x197)]['processBlock'](_0x4b4fec,_0x4d1b0c);},'_doFinalize':function(){var _0x1dd5e0=_0x585191,_0x3f80db,_0x3d2034=this[_0x1dd5e0(0x3c1)]['padding'];return this[_0x1dd5e0(0x1e0)]==this[_0x1dd5e0(0x325)]?(_0x3d2034[_0x1dd5e0(0x1c4)](this[_0x1dd5e0(0x183)],this['blockSize']),_0x3f80db=this[_0x1dd5e0(0x25f)](!0x0)):(_0x3f80db=this[_0x1dd5e0(0x25f)](!0x0),_0x3d2034['unpad'](_0x3f80db)),_0x3f80db;},'blockSize':0x80/0x20});var _0x687a2a=_0x3b87c6['CipherParams']=_0x25e7bc[_0x585191(0x42f)]({'init':function(_0x1002de){var _0x1caa48=_0x585191;this[_0x1caa48(0x21d)](_0x1002de);},'toString':function(_0x3886c4){var _0x16ce58=_0x585191;return(_0x3886c4||this['formatter'])[_0x16ce58(0x25a)](this);}}),_0x1ab13a=_0x3d36fa[_0x585191(0x226)]={},_0x505e55=_0x1ab13a[_0x585191(0x1b4)]={'stringify':function(_0x5d92a2){var _0x58e1d8=_0x585191,_0xd1d8e2,_0x52cc42=_0x5d92a2[_0x58e1d8(0x3f0)],_0x54e72f=_0x5d92a2[_0x58e1d8(0x307)];return _0x54e72f?_0xd1d8e2=_0x4badce[_0x58e1d8(0x2f0)]([0x53616c74,0x65645f5f])[_0x58e1d8(0x1a2)](_0x54e72f)[_0x58e1d8(0x1a2)](_0x52cc42):_0xd1d8e2=_0x52cc42,_0xd1d8e2[_0x58e1d8(0x256)](_0x3a8da4);},'parse':function(_0x38d141){var _0x7f341b=_0x585191,_0x44b869,_0xb3080f=_0x3a8da4[_0x7f341b(0x2ed)](_0x38d141),_0x22f5df=_0xb3080f[_0x7f341b(0x2f1)];return _0x22f5df[0x0]==0x53616c74&&_0x22f5df[0x1]==0x65645f5f&&(_0x44b869=_0x4badce[_0x7f341b(0x2f0)](_0x22f5df[_0x7f341b(0x316)](0x2,0x4)),_0x22f5df[_0x7f341b(0x366)](0x0,0x4),_0xb3080f[_0x7f341b(0x309)]-=0x10),_0x687a2a[_0x7f341b(0x2f0)]({'ciphertext':_0xb3080f,'salt':_0x44b869});}},_0x1d42bc=_0x3b87c6['SerializableCipher']=_0x25e7bc[_0x585191(0x42f)]({'cfg':_0x25e7bc['extend']({'format':_0x505e55}),'encrypt':function(_0x466f34,_0x55a8ff,_0x258ce8,_0x716b7e){var _0x1df77a=_0x585191;_0x716b7e=this[_0x1df77a(0x3c1)][_0x1df77a(0x42f)](_0x716b7e);var _0x4ef5de=_0x466f34[_0x1df77a(0x343)](_0x258ce8,_0x716b7e),_0x426a1d=_0x4ef5de[_0x1df77a(0x34e)](_0x55a8ff),_0xada6a0=_0x4ef5de['cfg'];return _0x687a2a[_0x1df77a(0x2f0)]({'ciphertext':_0x426a1d,'key':_0x258ce8,'iv':_0xada6a0['iv'],'algorithm':_0x466f34,'mode':_0xada6a0['mode'],'padding':_0xada6a0['padding'],'blockSize':_0x466f34['blockSize'],'formatter':_0x716b7e[_0x1df77a(0x226)]});},'decrypt':function(_0x13813f,_0x371f5c,_0x433631,_0x408e82){var _0x3a3e1e=_0x585191;_0x408e82=this[_0x3a3e1e(0x3c1)][_0x3a3e1e(0x42f)](_0x408e82),_0x371f5c=this[_0x3a3e1e(0x1ac)](_0x371f5c,_0x408e82[_0x3a3e1e(0x226)]);var _0x2aab80=_0x13813f[_0x3a3e1e(0x3be)](_0x433631,_0x408e82)[_0x3a3e1e(0x34e)](_0x371f5c[_0x3a3e1e(0x3f0)]);return _0x2aab80;},'_parse':function(_0x157db8,_0x35ffc1){var _0x392d56=_0x585191;return typeof _0x157db8==_0x392d56(0x231)?_0x35ffc1['parse'](_0x157db8,this):_0x157db8;}}),_0x1687b3=_0x3d36fa[_0x585191(0x209)]={},_0x2788e9=_0x1687b3['OpenSSL']={'execute':function(_0x116d33,_0x221ca1,_0x56a50f,_0x507cd9,_0x1ca440){var _0x539ec4=_0x585191;if(_0x507cd9||(_0x507cd9=_0x4badce[_0x539ec4(0x412)](0x40/0x8)),_0x1ca440)var _0x2c258d=_0x21cfcb[_0x539ec4(0x2f0)]({'keySize':_0x221ca1+_0x56a50f,'hasher':_0x1ca440})[_0x539ec4(0x422)](_0x116d33,_0x507cd9);else var _0x2c258d=_0x21cfcb[_0x539ec4(0x2f0)]({'keySize':_0x221ca1+_0x56a50f})[_0x539ec4(0x422)](_0x116d33,_0x507cd9);var _0xc2a495=_0x4badce[_0x539ec4(0x2f0)](_0x2c258d[_0x539ec4(0x2f1)]['slice'](_0x221ca1),_0x56a50f*0x4);return _0x2c258d[_0x539ec4(0x309)]=_0x221ca1*0x4,_0x687a2a[_0x539ec4(0x2f0)]({'key':_0x2c258d,'iv':_0xc2a495,'salt':_0x507cd9});}},_0x4092d1=_0x3b87c6[_0x585191(0x432)]=_0x1d42bc['extend']({'cfg':_0x1d42bc[_0x585191(0x3c1)]['extend']({'kdf':_0x2788e9}),'encrypt':function(_0x34d19a,_0x3a285c,_0x2d89ef,_0x446de1){var _0xf64608=_0x585191;_0x446de1=this['cfg'][_0xf64608(0x42f)](_0x446de1);var _0x1f7a03=_0x446de1[_0xf64608(0x209)][_0xf64608(0x272)](_0x2d89ef,_0x34d19a['keySize'],_0x34d19a[_0xf64608(0x1c6)],_0x446de1[_0xf64608(0x307)],_0x446de1[_0xf64608(0x2c6)]);_0x446de1['iv']=_0x1f7a03['iv'];var _0x1712bc=_0x1d42bc[_0xf64608(0x242)][_0xf64608(0x40b)](this,_0x34d19a,_0x3a285c,_0x1f7a03[_0xf64608(0x2c8)],_0x446de1);return _0x1712bc['mixIn'](_0x1f7a03),_0x1712bc;},'decrypt':function(_0x458be8,_0x12a8a6,_0x101a96,_0x34186b){var _0x1fa98f=_0x585191;_0x34186b=this['cfg'][_0x1fa98f(0x42f)](_0x34186b),_0x12a8a6=this[_0x1fa98f(0x1ac)](_0x12a8a6,_0x34186b[_0x1fa98f(0x226)]);var _0x367118=_0x34186b[_0x1fa98f(0x209)][_0x1fa98f(0x272)](_0x101a96,_0x458be8[_0x1fa98f(0x1e8)],_0x458be8[_0x1fa98f(0x1c6)],_0x12a8a6[_0x1fa98f(0x307)],_0x34186b[_0x1fa98f(0x2c6)]);_0x34186b['iv']=_0x367118['iv'];var _0x3d7c62=_0x1d42bc[_0x1fa98f(0x332)][_0x1fa98f(0x40b)](this,_0x458be8,_0x12a8a6,_0x367118[_0x1fa98f(0x2c8)],_0x34186b);return _0x3d7c62;}});}();}));}(Je)),Je[_0x29834f(0x444)];}var mn=Ve['exports'],ti;function In(){return ti||(ti=0x1,function(_0x160fc5,_0x181b1f){(function(_0x2d759a,_0x433ec1,_0x2ce01b){var _0x54e87d=_0x842d;_0x160fc5[_0x54e87d(0x444)]=_0x433ec1(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x1b07fa){return(function(){var _0x4133fa=_0x842d,_0x1e3dc4=_0x1b07fa,_0x48e31a=_0x1e3dc4[_0x4133fa(0x1a1)],_0x477e06=_0x48e31a[_0x4133fa(0x313)],_0x1db429=_0x1e3dc4[_0x4133fa(0x3a0)],_0x2578b4=[],_0xc1a11f=[],_0x4f697f=[],_0x2a893d=[],_0x48020f=[],_0x1e53fb=[],_0x4f538a=[],_0xc84a20=[],_0x5add10=[],_0x5c4dcb=[];(function(){for(var _0x2b6a55=[],_0x2f3630=0x0;_0x2f3630<0x100;_0x2f3630++)_0x2f3630<0x80?_0x2b6a55[_0x2f3630]=_0x2f3630<<0x1:_0x2b6a55[_0x2f3630]=_0x2f3630<<0x1^0x11b;for(var _0x10851a=0x0,_0x2d3171=0x0,_0x2f3630=0x0;_0x2f3630<0x100;_0x2f3630++){var _0x30c087=_0x2d3171^_0x2d3171<<0x1^_0x2d3171<<0x2^_0x2d3171<<0x3^_0x2d3171<<0x4;_0x30c087=_0x30c087>>>0x8^_0x30c087&0xff^0x63,_0x2578b4[_0x10851a]=_0x30c087,_0xc1a11f[_0x30c087]=_0x10851a;var _0x1005a2=_0x2b6a55[_0x10851a],_0x74a32b=_0x2b6a55[_0x1005a2],_0x47d40b=_0x2b6a55[_0x74a32b],_0x50001a=_0x2b6a55[_0x30c087]*0x101^_0x30c087*0x1010100;_0x4f697f[_0x10851a]=_0x50001a<<0x18|_0x50001a>>>0x8,_0x2a893d[_0x10851a]=_0x50001a<<0x10|_0x50001a>>>0x10,_0x48020f[_0x10851a]=_0x50001a<<0x8|_0x50001a>>>0x18,_0x1e53fb[_0x10851a]=_0x50001a;var _0x50001a=_0x47d40b*0x1010101^_0x74a32b*0x10001^_0x1005a2*0x101^_0x10851a*0x1010100;_0x4f538a[_0x30c087]=_0x50001a<<0x18|_0x50001a>>>0x8,_0xc84a20[_0x30c087]=_0x50001a<<0x10|_0x50001a>>>0x10,_0x5add10[_0x30c087]=_0x50001a<<0x8|_0x50001a>>>0x18,_0x5c4dcb[_0x30c087]=_0x50001a,_0x10851a?(_0x10851a=_0x1005a2^_0x2b6a55[_0x2b6a55[_0x2b6a55[_0x47d40b^_0x1005a2]]],_0x2d3171^=_0x2b6a55[_0x2b6a55[_0x2d3171]]):_0x10851a=_0x2d3171=0x1;}}());var _0x218928=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5021d3=_0x1db429['AES']=_0x477e06[_0x4133fa(0x42f)]({'_doReset':function(){var _0x5c1d5f=_0x4133fa,_0x3a7158;if(!(this['_nRounds']&&this[_0x5c1d5f(0x2af)]===this[_0x5c1d5f(0x449)])){for(var _0x491ee1=this[_0x5c1d5f(0x2af)]=this['_key'],_0x4971de=_0x491ee1[_0x5c1d5f(0x2f1)],_0x574e3c=_0x491ee1[_0x5c1d5f(0x309)]/0x4,_0x7ba179=this['_nRounds']=_0x574e3c+0x6,_0x1a0920=(_0x7ba179+0x1)*0x4,_0x5ef229=this[_0x5c1d5f(0x3c0)]=[],_0x55c0e6=0x0;_0x55c0e6<_0x1a0920;_0x55c0e6++)_0x55c0e6<_0x574e3c?_0x5ef229[_0x55c0e6]=_0x4971de[_0x55c0e6]:(_0x3a7158=_0x5ef229[_0x55c0e6-0x1],_0x55c0e6%_0x574e3c?_0x574e3c>0x6&&_0x55c0e6%_0x574e3c==0x4&&(_0x3a7158=_0x2578b4[_0x3a7158>>>0x18]<<0x18|_0x2578b4[_0x3a7158>>>0x10&0xff]<<0x10|_0x2578b4[_0x3a7158>>>0x8&0xff]<<0x8|_0x2578b4[_0x3a7158&0xff]):(_0x3a7158=_0x3a7158<<0x8|_0x3a7158>>>0x18,_0x3a7158=_0x2578b4[_0x3a7158>>>0x18]<<0x18|_0x2578b4[_0x3a7158>>>0x10&0xff]<<0x10|_0x2578b4[_0x3a7158>>>0x8&0xff]<<0x8|_0x2578b4[_0x3a7158&0xff],_0x3a7158^=_0x218928[_0x55c0e6/_0x574e3c|0x0]<<0x18),_0x5ef229[_0x55c0e6]=_0x5ef229[_0x55c0e6-_0x574e3c]^_0x3a7158);for(var _0x46ef59=this[_0x5c1d5f(0x409)]=[],_0x42873a=0x0;_0x42873a<_0x1a0920;_0x42873a++){var _0x55c0e6=_0x1a0920-_0x42873a;if(_0x42873a%0x4)var _0x3a7158=_0x5ef229[_0x55c0e6];else var _0x3a7158=_0x5ef229[_0x55c0e6-0x4];_0x42873a<0x4||_0x55c0e6<=0x4?_0x46ef59[_0x42873a]=_0x3a7158:_0x46ef59[_0x42873a]=_0x4f538a[_0x2578b4[_0x3a7158>>>0x18]]^_0xc84a20[_0x2578b4[_0x3a7158>>>0x10&0xff]]^_0x5add10[_0x2578b4[_0x3a7158>>>0x8&0xff]]^_0x5c4dcb[_0x2578b4[_0x3a7158&0xff]];}}},'encryptBlock':function(_0x5d3d3a,_0x49c8f1){var _0x47b999=_0x4133fa;this['_doCryptBlock'](_0x5d3d3a,_0x49c8f1,this[_0x47b999(0x3c0)],_0x4f697f,_0x2a893d,_0x48020f,_0x1e53fb,_0x2578b4);},'decryptBlock':function(_0x5ead3b,_0x526819){var _0x137b70=_0x4133fa,_0x31cea5=_0x5ead3b[_0x526819+0x1];_0x5ead3b[_0x526819+0x1]=_0x5ead3b[_0x526819+0x3],_0x5ead3b[_0x526819+0x3]=_0x31cea5,this[_0x137b70(0x2f4)](_0x5ead3b,_0x526819,this['_invKeySchedule'],_0x4f538a,_0xc84a20,_0x5add10,_0x5c4dcb,_0xc1a11f);var _0x31cea5=_0x5ead3b[_0x526819+0x1];_0x5ead3b[_0x526819+0x1]=_0x5ead3b[_0x526819+0x3],_0x5ead3b[_0x526819+0x3]=_0x31cea5;},'_doCryptBlock':function(_0x52de5f,_0x4a79e4,_0x14edf3,_0x331f1a,_0x3f1a98,_0x8d4578,_0x13a374,_0x3dfa45){var _0x3d7a06=_0x4133fa;for(var _0xff280=this[_0x3d7a06(0x35e)],_0x49b5e2=_0x52de5f[_0x4a79e4]^_0x14edf3[0x0],_0x54f14c=_0x52de5f[_0x4a79e4+0x1]^_0x14edf3[0x1],_0x4f953e=_0x52de5f[_0x4a79e4+0x2]^_0x14edf3[0x2],_0x140dbb=_0x52de5f[_0x4a79e4+0x3]^_0x14edf3[0x3],_0x1219b1=0x4,_0x592310=0x1;_0x592310<_0xff280;_0x592310++){var _0x10abe9=_0x331f1a[_0x49b5e2>>>0x18]^_0x3f1a98[_0x54f14c>>>0x10&0xff]^_0x8d4578[_0x4f953e>>>0x8&0xff]^_0x13a374[_0x140dbb&0xff]^_0x14edf3[_0x1219b1++],_0x123dbb=_0x331f1a[_0x54f14c>>>0x18]^_0x3f1a98[_0x4f953e>>>0x10&0xff]^_0x8d4578[_0x140dbb>>>0x8&0xff]^_0x13a374[_0x49b5e2&0xff]^_0x14edf3[_0x1219b1++],_0x299ad8=_0x331f1a[_0x4f953e>>>0x18]^_0x3f1a98[_0x140dbb>>>0x10&0xff]^_0x8d4578[_0x49b5e2>>>0x8&0xff]^_0x13a374[_0x54f14c&0xff]^_0x14edf3[_0x1219b1++],_0x7129f2=_0x331f1a[_0x140dbb>>>0x18]^_0x3f1a98[_0x49b5e2>>>0x10&0xff]^_0x8d4578[_0x54f14c>>>0x8&0xff]^_0x13a374[_0x4f953e&0xff]^_0x14edf3[_0x1219b1++];_0x49b5e2=_0x10abe9,_0x54f14c=_0x123dbb,_0x4f953e=_0x299ad8,_0x140dbb=_0x7129f2;}var _0x10abe9=(_0x3dfa45[_0x49b5e2>>>0x18]<<0x18|_0x3dfa45[_0x54f14c>>>0x10&0xff]<<0x10|_0x3dfa45[_0x4f953e>>>0x8&0xff]<<0x8|_0x3dfa45[_0x140dbb&0xff])^_0x14edf3[_0x1219b1++],_0x123dbb=(_0x3dfa45[_0x54f14c>>>0x18]<<0x18|_0x3dfa45[_0x4f953e>>>0x10&0xff]<<0x10|_0x3dfa45[_0x140dbb>>>0x8&0xff]<<0x8|_0x3dfa45[_0x49b5e2&0xff])^_0x14edf3[_0x1219b1++],_0x299ad8=(_0x3dfa45[_0x4f953e>>>0x18]<<0x18|_0x3dfa45[_0x140dbb>>>0x10&0xff]<<0x10|_0x3dfa45[_0x49b5e2>>>0x8&0xff]<<0x8|_0x3dfa45[_0x54f14c&0xff])^_0x14edf3[_0x1219b1++],_0x7129f2=(_0x3dfa45[_0x140dbb>>>0x18]<<0x18|_0x3dfa45[_0x49b5e2>>>0x10&0xff]<<0x10|_0x3dfa45[_0x54f14c>>>0x8&0xff]<<0x8|_0x3dfa45[_0x4f953e&0xff])^_0x14edf3[_0x1219b1++];_0x52de5f[_0x4a79e4]=_0x10abe9,_0x52de5f[_0x4a79e4+0x1]=_0x123dbb,_0x52de5f[_0x4a79e4+0x2]=_0x299ad8,_0x52de5f[_0x4a79e4+0x3]=_0x7129f2;},'keySize':0x100/0x20});_0x1e3dc4[_0x4133fa(0x2e6)]=_0x477e06[_0x4133fa(0x3ec)](_0x5021d3);}()),_0x1b07fa['AES'];}));}(Ve)),Ve['exports'];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe['exports'],si;function Rn(){return si||(si=0x1,function(_0x5c30a5,_0x5ef5bc){(function(_0x164bce,_0x229d69){_0x5c30a5['exports']=_0x229d69(ie());}(On,function(_0x4b4243){var _0x47b93d=_0x842d;return _0x4b4243[_0x47b93d(0x40a)][_0x47b93d(0x1be)];}));}(Xe)),Xe['exports'];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze['exports'],ni;function Dn(){var _0x500496=_0x1494d6;return ni||(ni=0x1,function(_0x34bada,_0x5aa998){(function(_0x30a932,_0xf2dd5c){var _0x383d66=_0x842d;_0x34bada[_0x383d66(0x444)]=_0xf2dd5c(ie());}(bn,function(_0x372c02){var _0x234c04=_0x842d;return(function(){var _0x32fe60=_0x842d;if(typeof ArrayBuffer=='function'){var _0x2b585d=_0x372c02,_0x19d62e=_0x2b585d['lib'],_0x18395d=_0x19d62e['WordArray'],_0x5e296b=_0x18395d[_0x32fe60(0x287)],_0x3bf68e=_0x18395d['init']=function(_0x129c93){var _0x282b9c=_0x32fe60;if(_0x129c93 instanceof ArrayBuffer&&(_0x129c93=new Uint8Array(_0x129c93)),(_0x129c93 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x129c93 instanceof Uint8ClampedArray||_0x129c93 instanceof Int16Array||_0x129c93 instanceof Uint16Array||_0x129c93 instanceof Int32Array||_0x129c93 instanceof Uint32Array||_0x129c93 instanceof Float32Array||_0x129c93 instanceof Float64Array)&&(_0x129c93=new Uint8Array(_0x129c93[_0x282b9c(0x1b1)],_0x129c93[_0x282b9c(0x3dc)],_0x129c93['byteLength'])),_0x129c93 instanceof Uint8Array){for(var _0x55f66d=_0x129c93[_0x282b9c(0x3c8)],_0x2f96cc=[],_0x1168ca=0x0;_0x1168ca<_0x55f66d;_0x1168ca++)_0x2f96cc[_0x1168ca>>>0x2]|=_0x129c93[_0x1168ca]<<0x18-_0x1168ca%0x4*0x8;_0x5e296b[_0x282b9c(0x40b)](this,_0x2f96cc,_0x55f66d);}else _0x5e296b[_0x282b9c(0x1e7)](this,arguments);};_0x3bf68e[_0x32fe60(0x389)]=_0x18395d;}}()),_0x372c02['lib'][_0x234c04(0x35f)];}));}(Ze)),Ze[_0x500496(0x444)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe['exports'],ri;function Pn(){return ri||(ri=0x1,function(_0x391ba1,_0x208ae9){(function(_0x5a47f3,_0x385ccd,_0x13bc2f){var _0x2b269d=_0x842d;_0x391ba1[_0x2b269d(0x444)]=_0x385ccd(ie(),Ni());}(An,function(_0x2a9dd7){var _0x3f7684=_0x842d;return _0x2a9dd7['pad'][_0x3f7684(0x327)]={'pad':function(){},'unpad':function(){}},_0x2a9dd7[_0x3f7684(0x1c4)][_0x3f7684(0x327)];}));}(Qe)),Qe['exports'];}var wn=Pn();const Mn=$e(wn);function Ln(_0x17cccc,_0x1146bb){var _0x9eb099=_0x1494d6;const _0x2ee474=_0x1146bb-_0x17cccc[_0x9eb099(0x1c0)]%_0x1146bb,_0x571fa3=String[_0x9eb099(0x305)](_0x2ee474)[_0x9eb099(0x1a4)](_0x2ee474);return _0x17cccc+_0x571fa3;}function xn(_0x5cbfeb,_0x3b4f75){var _0x24d917=_0x1494d6;const _0x30b3f2=Un[_0x24d917(0x412)](0x10),_0x25e60a=Ln(_0x5cbfeb,0x10),_0x4716b0=gn[_0x24d917(0x242)](Nn['parse'](_0x25e60a),ii[_0x24d917(0x2ed)](_0x3b4f75),{'iv':_0x30b3f2,'padding':Mn});return _0x30b3f2['concat'](_0x4716b0[_0x24d917(0x3f0)])[_0x24d917(0x256)](ii);}function kn(){var _0x4c7a4a=_0x1494d6;const _0x3f9d8a=_0x2c067a()[_0x4c7a4a(0x2bf)];if(_0x3f9d8a){const _0x1cd3a5={'time':Math['floor'](Date[_0x4c7a4a(0x1ab)]()/0x3e8),'domain':location[_0x4c7a4a(0x3ed)]};return xn(JSON['stringify'](_0x1cd3a5),_0x3f9d8a);}}var $n=Object[_0x1494d6(0x3e7)],Hn=(_0x4f7c9c,_0x1d1d63,_0xf8d7aa,_0x1fab10)=>{var _0x201195=_0x1494d6;for(var _0xe78224=_0x1fab10>0x1?void 0x0:_0x1fab10?$n(_0x1d1d63,_0xf8d7aa):_0x1d1d63,_0x5969c5=_0x4f7c9c[_0x201195(0x1c0)]-0x1,_0x552c8c;_0x5969c5>=0x0;_0x5969c5--)(_0x552c8c=_0x4f7c9c[_0x5969c5])&&(_0xe78224=_0x552c8c(_0xe78224)||_0xe78224);return _0xe78224;},Bn=(_0x57a49f,_0x35bfa9)=>(_0x3d0942,_0xb82c84)=>_0x35bfa9(_0x3d0942,_0xb82c84,_0x57a49f);let at=class{constructor(_0x3630f4){var _0x307b8d=_0x1494d6;this[_0x307b8d(0x175)]=_0x3630f4,this['_initRequestHeader']();}[_0x1494d6(0x2f8)](){var _0x6e6644=_0x1494d6;this[_0x6e6644(0x175)][_0x6e6644(0x26b)]({'interceptor':(_0x3d6ccd,_0x50a3ed)=>{var _0x38fee9=_0x6e6644;const _0x9c0f07=_0x3d6ccd[_0x38fee9(0x3af)],_0x2ef16d=kn();return _0x2ef16d&&_0x9c0f07[_0x38fee9(0x2d7)](_0x38fee9(0x23c),_0x2ef16d),_0x50a3ed(_0x3d6ccd);}});}};at=Hn([Bn(0x0,_0x40a927(_0x21f421))],at);var jn=Object[_0x1494d6(0x3e7)],Fn=(_0x28266a,_0x50ec82,_0x42f6f0,_0x56553f)=>{for(var _0x4fb925=_0x56553f>0x1?void 0x0:_0x56553f?jn(_0x50ec82,_0x42f6f0):_0x50ec82,_0x35ab55=_0x28266a['length']-0x1,_0x52d914;_0x35ab55>=0x0;_0x35ab55--)(_0x52d914=_0x28266a[_0x35ab55])&&(_0x4fb925=_0x52d914(_0x4fb925)||_0x4fb925);return _0x4fb925;},vt=(_0x29e163,_0x1568a7)=>(_0x586930,_0x2a7cc6)=>_0x1568a7(_0x586930,_0x2a7cc6,_0x29e163);let Ot=class extends _0x2e5652{constructor(_0x77fb5e,_0xfb1d5e,_0x208117){var _0x129a4d=_0x1494d6;super(),D(this,'_unitInfo$',new _0x9f1b26(null)),D(this,_0x129a4d(0x230),this['_unitInfo$']['asObservable']()),(this[_0x129a4d(0x29c)]=_0x77fb5e,this[_0x129a4d(0x2b6)]=_0xfb1d5e,this[_0x129a4d(0x26e)]=_0x208117);}async[_0x1494d6(0x19d)](_0x593b9e,_0x4bd5c3,_0x35757b){var _0x149247=_0x1494d6;this[_0x149247(0x250)]['next']({'unitId':_0x593b9e,'type':_0x4bd5c3});let _0x2c1a13=null;switch(_0x4bd5c3){case Q[_0x149247(0x334)]:{_0x2c1a13=await this[_0x149247(0x2b6)][_0x149247(0x28e)](_0x593b9e,_0x35757b);break;}case Q[_0x149247(0x32a)]:{_0x2c1a13=await this[_0x149247(0x2b6)][_0x149247(0x1e4)](_0x593b9e,_0x35757b);break;}default:{this['_logService']['error'](_0x149247(0x44e),_0x149247(0x401));break;}}return _0x2c1a13;}async['loadUnit'](_0x2db12d,_0x582d26,_0x34ddaa){var _0x4e105e=_0x1494d6,_0x4bf809;this[_0x4e105e(0x250)]['next']({'unitId':_0x2db12d,'type':_0x582d26,'subUnitId':_0x34ddaa});let _0x32598d=0x0;const _0x36d7b7=await((_0x4bf809=this['_localCacheService'])==null?void 0x0:_0x4bf809['loadOfflineData'](_0x2db12d));return _0x36d7b7&&(_0x36d7b7['awaitingChangeset']||_0x36d7b7[_0x4e105e(0x2f2)]['length']!==0x0)&&(_0x32598d=_0x36d7b7[_0x4e105e(0x252)]),_0x32598d===0x0&&this[_0x4e105e(0x29c)]['debug'](_0x4e105e(0x44e),_0x4e105e(0x322)),this[_0x4e105e(0x19d)](_0x2db12d,_0x582d26,_0x32598d);}};Ot=Fn([vt(0x0,_0x1c7d35),vt(0x1,_0x40a927(_0x296a90)),vt(0x2,_0x207d04(J))],Ot);var Vn=Object[_0x1494d6(0x3e7)],Gn=(_0x452a8f,_0x355421,_0x35fa85,_0x2c87d7)=>{var _0x247072=_0x1494d6;for(var _0x4dc126=_0x2c87d7>0x1?void 0x0:_0x2c87d7?Vn(_0x355421,_0x35fa85):_0x355421,_0x52d5d6=_0x452a8f[_0x247072(0x1c0)]-0x1,_0x2484d3;_0x52d5d6>=0x0;_0x52d5d6--)(_0x2484d3=_0x452a8f[_0x52d5d6])&&(_0x4dc126=_0x2484d3(_0x4dc126)||_0x4dc126);return _0x4dc126;},pt=(_0x4cade9,_0x352479)=>(_0x4ac2bc,_0x4752dd)=>_0x352479(_0x4ac2bc,_0x4752dd,_0x4cade9);const Wn=[_0x1494d6(0x2a9),_0x1494d6(0x1e5),_0x1494d6(0x26d),_0x1494d6(0x472),_0x1494d6(0x2bd)],Yn=0x5*0x400*0x400,Kn=_0x1494d6(0x26a),qn=_0x1494d6(0x300);let Rt=class{constructor(_0x534cc2,_0x163dd1,_0x2a33f6){var _0xc513cf=_0x1494d6;D(this,_0xc513cf(0x281),0x0),D(this,_0xc513cf(0x3f2),new _0x6f301c()),D(this,_0xc513cf(0x337),this[_0xc513cf(0x3f2)]),D(this,_0xc513cf(0x2e7),new Map()),(this[_0xc513cf(0x175)]=_0x534cc2,this[_0xc513cf(0x2c3)]=_0x163dd1,this['_univerInstanceService']=_0x2a33f6);}[_0x1494d6(0x280)](_0x4508be){var _0x798455=_0x1494d6;this[_0x798455(0x281)]=_0x4508be,this['_change$'][_0x798455(0x1a6)](_0x4508be);}[_0x1494d6(0x2aa)](_0x176294,_0x3a0d37){var _0x2f7fb7=_0x1494d6;if(_0x3a0d37===_0x308a33[_0x2f7fb7(0x2e2)]){const _0x5d96a0=new Image();return _0x5d96a0[_0x2f7fb7(0x406)]=_0x176294,_0x5d96a0;}return this[_0x2f7fb7(0x2e7)][_0x2f7fb7(0x292)](_0x176294);}['addImageSourceCache'](_0x780f95,_0x493654,_0xecf4c0){var _0x539a4a=_0x1494d6;_0x493654===_0x308a33[_0x539a4a(0x2e2)]||_0xecf4c0==null||this[_0x539a4a(0x2e7)][_0x539a4a(0x2d7)](_0x780f95,_0xecf4c0);}async[_0x1494d6(0x228)](_0x185057){var _0x2b30be=_0x1494d6;try{const _0x1b1503=this[_0x2b30be(0x2cb)](this[_0x2b30be(0x254)](),''+_0x185057),_0x4bae78=(await this[_0x2b30be(0x175)][_0x2b30be(0x292)](_0x1b1503))[_0x2b30be(0x198)];if(_0x4bae78['error']&&_0x4bae78[_0x2b30be(0x2ce)][_0x2b30be(0x35d)]===vi['OK']){const _0x2a76e0=new URL(_0x4bae78[_0x2b30be(0x2c9)],this['_getDownloadEndpointURL']())[_0x2b30be(0x256)]();return Promise[_0x2b30be(0x456)](_0x2a76e0);}return Promise[_0x2b30be(0x329)](_0x4bae78[_0x2b30be(0x2ce)]);}catch(_0x2cafc1){return Promise['reject'](_0x2cafc1);}}async['saveImage'](_0x9f60af){var _0x219383=_0x1494d6;let _0x3278aa='';if(!Wn['includes'](_0x9f60af[_0x219383(0x33a)]))return this[_0x219383(0x3a4)](),Promise[_0x219383(0x329)](new Error(_0x3a1106[_0x219383(0x2e1)]));if(_0x9f60af[_0x219383(0x471)]>Yn)return this['_decreaseWaiting'](),Promise[_0x219383(0x329)](new Error(_0x3a1106[_0x219383(0x425)]));try{const _0xf7ff6d=new FormData();_0xf7ff6d[_0x219383(0x30d)](_0x219383(0x2b7),_0x9f60af);const _0x58afb4=this[_0x219383(0x45e)][_0x219383(0x3f4)](),_0x5f28b0=_0x58afb4==null?void 0x0:_0x58afb4['getUnitId']();if(!_0x5f28b0)throw new Error('unitId\x20is\x20not\x20found');const _0x10b47a=this[_0x219383(0x1cb)]()+'?size='+_0x9f60af[_0x219383(0x471)][_0x219383(0x256)]()+'&source='+pi[_0x219383(0x3e3)]+_0x219383(0x39b)+encodeURIComponent(_0x5f28b0),_0x500a8e={'body':_0xf7ff6d},_0x1b7767=(await this[_0x219383(0x175)][_0x219383(0x3ce)](_0x10b47a,_0x500a8e))[_0x219383(0x198)];if(typeof _0x1b7767[_0x219383(0x44c)]!=_0x219383(0x231))return this[_0x219383(0x3a4)](),Promise[_0x219383(0x329)](new Error(_0x3a1106[_0x219383(0x442)]));_0x3278aa=_0x1b7767[_0x219383(0x44c)];}catch{return this[_0x219383(0x3a4)](),Promise['reject'](new Error(_0x3a1106[_0x219383(0x442)]));}return new Promise((_0x26a0f8,_0x48dfa7)=>{var _0x5ed2f0=_0x219383;const _0x962f44=new FileReader();_0x962f44[_0x5ed2f0(0x3aa)](_0x9f60af),_0x962f44[_0x5ed2f0(0x3a5)]=_0x17e249=>{var _0x5425ea=_0x5ed2f0,_0x589f8b;const _0x16a230=(_0x589f8b=_0x17e249[_0x5425ea(0x41f)])==null?void 0x0:_0x589f8b[_0x5425ea(0x36c)];if(_0x16a230==null){this[_0x5425ea(0x3a4)](),_0x48dfa7(new Error(_0x3a1106[_0x5425ea(0x442)]));return;}const _0x16742f=_0x3a562c(0x6);_0x26a0f8({'imageId':_0x16742f,'imageSourceType':_0x308a33[_0x5425ea(0x447)],'source':_0x3278aa,'base64Cache':_0x16a230,'status':_0x3a1106[_0x5425ea(0x473)]}),this[_0x5425ea(0x3a4)]();};});}[_0x1494d6(0x1cb)](){var _0x53bbc2=_0x1494d6,_0xbd125e;const _0x50c205=this[_0x53bbc2(0x2c3)][_0x53bbc2(0x1f3)](K);return(_0xbd125e=_0x50c205==null?void 0x0:_0x50c205['uploadFileServerUrl'])!=null?_0xbd125e:Kn;}[_0x1494d6(0x254)](){var _0x5eb7f7=_0x1494d6,_0x40e943;const _0x5902bf=this[_0x5eb7f7(0x2c3)][_0x5eb7f7(0x1f3)](K);return(_0x40e943=_0x5902bf==null?void 0x0:_0x5902bf['signUrlServerUrl'])!=null?_0x40e943:qn;}[_0x1494d6(0x28a)](){var _0x38c813=_0x1494d6,_0x576998;const _0x3af46c=this[_0x38c813(0x2c3)][_0x38c813(0x1f3)](K);return(_0x576998=_0x3af46c==null?void 0x0:_0x3af46c[_0x38c813(0x30e)])!=null?_0x576998:location[_0x38c813(0x1b5)];}[_0x1494d6(0x2cb)](_0x1f78c2,_0x1a83ad){var _0x291724=_0x1494d6;return _0x1f78c2[_0x291724(0x464)](_0x291724(0x3b8),_0x1a83ad);}['_decreaseWaiting'](){var _0x957227=_0x1494d6;this['_waitCount']-=0x1,this[_0x957227(0x3f2)]['next'](this[_0x957227(0x281)]);}};Rt=Gn([pt(0x0,_0x40a927(_0x21f421)),pt(0x1,_0x5c8b82),pt(0x2,_0x40a927(_0x3aa953))],Rt);var zn=Object[_0x1494d6(0x3e7)],Jn=(_0xe59d63,_0x4441a8,_0x587acf,_0x5984b9)=>{for(var _0x54538b=_0x5984b9>0x1?void 0x0:_0x5984b9?zn(_0x4441a8,_0x587acf):_0x4441a8,_0x112356=_0xe59d63['length']-0x1,_0x5c2013;_0x112356>=0x0;_0x112356--)(_0x5c2013=_0xe59d63[_0x112356])&&(_0x54538b=_0x5c2013(_0x54538b)||_0x54538b);return _0x54538b;},ai=(_0x414b58,_0x2f5a8a)=>(_0x414ed1,_0x49914e)=>_0x2f5a8a(_0x414ed1,_0x49914e,_0x414b58);const Xn=_0x1494d6(0x201);let Ct=class{constructor(_0xf1faa7,_0x68a41b){var _0x1f618c=_0x1494d6;this['_configService']=_0xf1faa7,this[_0x1f618c(0x3b1)]=_0x68a41b;}['_getAPIPrefixPath'](){var _0x1daa86=_0x1494d6,_0x37e7f1;const _0xc808d0=this[_0x1daa86(0x2c3)][_0x1daa86(0x1f3)](K);return(_0x37e7f1=_0xc808d0==null?void 0x0:_0xc808d0['authzUrl'])!=null?_0x37e7f1:Xn;}async[_0x1494d6(0x238)](_0x73672){var _0x1bf487=_0x1494d6;const _0x502cd5=this[_0x1bf487(0x3a6)]()+'/collaborator';return{'list':[{'title':_0x1bf487(0x19a),'mentions':(await this[_0x1bf487(0x3b1)][_0x1bf487(0x292)](_0x502cd5,{'params':{'objectID':_0x73672[_0x1bf487(0x29e)],'unitID':_0x73672['unitId']}}))[_0x1bf487(0x198)][_0x1bf487(0x3fd)][_0x1bf487(0x31d)](_0x1dbbad=>({'objectId':_0x1dbbad['id'],'name':_0x1dbbad[_0x1bf487(0x459)][_0x1bf487(0x431)],'metadata':{'icon':_0x1dbbad[_0x1bf487(0x459)][_0x1bf487(0x2eb)]},'label':_0x1dbbad[_0x1bf487(0x459)][_0x1bf487(0x431)],'objectType':_0x3a7593[_0x1bf487(0x376)]})),'metadata':{},'type':_0x3a7593[_0x1bf487(0x376)]}]};}};Ct=Jn([ai(0x0,_0x40a927(_0x5c8b82)),ai(0x1,_0x40a927(_0x21f421))],Ct);var Zn=Object[_0x1494d6(0x3e7)],Qn=(_0x544a95,_0x48ebdb,_0x59d22b,_0x570034)=>{for(var _0x4d0af4=_0x570034>0x1?void 0x0:_0x570034?Zn(_0x48ebdb,_0x59d22b):_0x48ebdb,_0x203dcf=_0x544a95['length']-0x1,_0xace511;_0x203dcf>=0x0;_0x203dcf--)(_0xace511=_0x544a95[_0x203dcf])&&(_0x4d0af4=_0xace511(_0x4d0af4)||_0x4d0af4);return _0x4d0af4;},Ue=(_0x46a3b3,_0x51a8d3)=>(_0x517752,_0x47ee71)=>_0x51a8d3(_0x517752,_0x47ee71,_0x46a3b3);let ot=class extends _0x2e5652{constructor(_0xcfc079,_0x461d69,_0x1a47c5,_0x2653b3,_0x1bc4b0){var _0x37d696=_0x1494d6;super(),this['_injector']=_0xcfc079,this[_0x37d696(0x45e)]=_0x461d69,this['_permissionService']=_0x1a47c5,this[_0x37d696(0x45c)]=_0x2653b3,this[_0x37d696(0x177)]=_0x1bc4b0,this[_0x37d696(0x291)](),this[_0x37d696(0x363)]();}[_0x1494d6(0x363)](){var _0x131187=_0x1494d6;const _0x4dfb35=async _0x14cc9d=>{var _0x24748b=_0x842d;(await this[_0x24748b(0x45c)][_0x24748b(0x46a)](_0x14cc9d))[_0x24748b(0x1c8)][_0x24748b(0x354)](_0x54e0eb(_0x27dddd=>_0x27dddd[_0x24748b(0x440)]===_0x3719ba[_0x24748b(0x26f)]),_0x897a52(this['dispose$']))[_0x24748b(0x3c6)](_0x4ff657=>{var _0x20d12d=_0x24748b;const _0x3eb089=_0x4ff657,{reason:_0x5dba66}=_0x3eb089[_0x20d12d(0x40d)];this[_0x20d12d(0x177)][_0x20d12d(0x21b)]({'id':re['CLOSE_ROOM'],'data':_0x5dba66}),this[_0x20d12d(0x196)][_0x20d12d(0x47a)](new _0x2034a7(_0x14cc9d)['id'],!0x1),this[_0x20d12d(0x45c)][_0x20d12d(0x277)](_0x14cc9d);});};_0x285c6f(this['_univerInstanceService'][_0x131187(0x40e)](_0x2a0d2a['UNIVER_SHEET']),this[_0x131187(0x45e)]['getTypeOfUnitAdded$'](_0x2a0d2a['UNIVER_DOC']))[_0x131187(0x354)](_0xf67729(_0x52df67=>_0x52df67[_0x131187(0x47e)]()),_0x54e0eb(_0x258e6f=>!_0xa2efb9(_0x258e6f)),_0x897a52(this[_0x131187(0x2f3)]))[_0x131187(0x3c6)](_0x1f439d=>{_0x4dfb35(_0x1f439d);});}[_0x1494d6(0x291)](){var _0x1ed216=_0x1494d6;const _0x322485=async _0x419f62=>{var _0x6c20d9=_0x842d;const _0x19e45c=await this[_0x6c20d9(0x45c)][_0x6c20d9(0x46a)](_0x419f62),_0x5f12af=this[_0x6c20d9(0x380)]['get'](_0x5a12cb);_0x19e45c[_0x6c20d9(0x1c8)][_0x6c20d9(0x354)](_0x54e0eb(_0x30957e=>_0x30957e[_0x6c20d9(0x440)]===_0x3719ba[_0x6c20d9(0x190)]),_0x897a52(this[_0x6c20d9(0x2f3)]))['subscribe'](_0x31d1f3=>{var _0x23bf52=_0x6c20d9;const _0x1e0d5f=_0x31d1f3,{objectId:_0x485859}=_0x1e0d5f[_0x23bf52(0x40d)];_0x485859===_0x419f62?_0x5f12af['initWorkbookPermissionChange'](_0x419f62):_0x5f12af[_0x23bf52(0x33c)](_0x419f62,_0x485859);});};_0x285c6f(this[_0x1ed216(0x45e)][_0x1ed216(0x40e)](_0x2a0d2a[_0x1ed216(0x334)]))['pipe'](_0xf67729(_0x288878=>_0x288878[_0x1ed216(0x47e)]()),_0x54e0eb(_0x1ed07d=>!_0xa2efb9(_0x1ed07d)),_0x897a52(this[_0x1ed216(0x2f3)]))[_0x1ed216(0x3c6)](_0x3cf1a5=>{_0x322485(_0x3cf1a5);});}};ot=Qn([Ue(0x0,_0x40a927(_0x10bc24)),Ue(0x1,_0x3aa953),Ue(0x2,_0x2fea40),Ue(0x3,_0x40a927(we)),Ue(0x4,_0x40a927(ve))],ot);var er=Object[_0x1494d6(0x3e7)],tr=(_0x5ca34c,_0x1f20f2,_0x11c563,_0x3c4c77)=>{var _0x43fa1d=_0x1494d6;for(var _0xf8803b=_0x3c4c77>0x1?void 0x0:_0x3c4c77?er(_0x1f20f2,_0x11c563):_0x1f20f2,_0x47feda=_0x5ca34c[_0x43fa1d(0x1c0)]-0x1,_0x274e8f;_0x47feda>=0x0;_0x47feda--)(_0x274e8f=_0x5ca34c[_0x47feda])&&(_0xf8803b=_0x274e8f(_0xf8803b)||_0xf8803b);return _0xf8803b;},oi=(_0x2544f3,_0x256d8d)=>(_0xbcdc09,_0x596808)=>_0x256d8d(_0xbcdc09,_0x596808,_0x2544f3);let Nt=class{constructor(_0x3c8237,_0x8a9b4b){var _0x2d0622=_0x1494d6;this[_0x2d0622(0x2c3)]=_0x3c8237,this[_0x2d0622(0x175)]=_0x8a9b4b;}async[_0x1494d6(0x3d5)](_0x291a0e,_0x43fd4f){var _0x5e82ce=_0x1494d6,_0x52f671;const {unitID:_0x167e60,type:_0x358546,revision:_0x187cd6=0x0}=_0x43fd4f,_0x214c82=this[_0x5e82ce(0x1bf)]()+'/'+_0x358546+_0x5e82ce(0x210)+_0x167e60+_0x5e82ce(0x25b)+_0x187cd6,_0x488909=(await this[_0x5e82ce(0x175)][_0x5e82ce(0x292)](_0x214c82))['body'],_0xb5a32a=(_0x52f671=_0x488909['snapshot'])==null?void 0x0:_0x52f671[_0x5e82ce(0x1c7)];if(_0xb5a32a){const _0x9d24f1=_0xb5a32a==null?void 0x0:_0xb5a32a['originalMeta'],_0x213b79=_0x34c8a9['encode'](_0x2e7445(_0x9d24f1));_0xb5a32a[_0x5e82ce(0x28d)]=_0x213b79,Object[_0x5e82ce(0x1c9)](_0xb5a32a[_0x5e82ce(0x179)])[_0x5e82ce(0x2f5)](([,_0x1d3167])=>{var _0x4ffdde=_0x5e82ce;const _0x464e79=_0x1d3167[_0x4ffdde(0x28d)],_0x3d64a9=_0x34c8a9[_0x4ffdde(0x2a7)](_0x2e7445(_0x464e79));_0x1d3167[_0x4ffdde(0x28d)]=_0x3d64a9;});}return _0x488909;}async[_0x1494d6(0x435)](_0x24846f,_0xce301a){var _0x549caa=_0x1494d6;const {unitID:_0x44e789,type:_0x2f27bb,blockID:_0x8a16a3}=_0xce301a,_0x266302=this[_0x549caa(0x328)]()+'/'+_0x2f27bb+_0x549caa(0x210)+_0x44e789+_0x549caa(0x24d)+_0x8a16a3;return(await this[_0x549caa(0x175)][_0x549caa(0x292)](_0x266302))[_0x549caa(0x198)];}async[_0x1494d6(0x187)](_0x3b40d0,_0x9f5324){var _0x14d642=_0x1494d6;const {unitID:_0x41bede,type:_0x2d2503,blockID:_0x1f5355}=_0x9f5324,_0x194f3a=this[_0x14d642(0x328)]()+_0x14d642(0x24d)+_0x2d2503+_0x14d642(0x210)+_0x41bede+'/block/'+_0x1f5355;return(await this[_0x14d642(0x175)][_0x14d642(0x292)](_0x194f3a))['body'];}async[_0x1494d6(0x39d)](_0x59b043,_0xa84eb0){var _0x614bd4=_0x1494d6;const {unitID:_0x3a6048,type:_0x2981c2,from:_0x22e44e,to:_0xdb1e12}=_0xa84eb0,_0x3a20a7=this[_0x614bd4(0x328)]()+'/'+_0x2981c2+_0x614bd4(0x210)+_0x3a6048+_0x614bd4(0x336)+_0x22e44e+'&to='+_0xdb1e12;return(await this[_0x614bd4(0x175)][_0x614bd4(0x292)](_0x3a20a7))[_0x614bd4(0x198)];}['getSnapshotAPIPath'](){var _0x114d0c=_0x1494d6,_0xe90668;return(_0xe90668=this[_0x114d0c(0x2c3)]['getConfig'](vs))!=null?_0xe90668:this[_0x114d0c(0x328)]();}['_getAPIPrefix'](){var _0x209f48=_0x1494d6,_0x4d659e;const _0xf174c1=this[_0x209f48(0x2c3)][_0x209f48(0x1f3)](K);return(_0x4d659e=_0xf174c1==null?void 0x0:_0xf174c1[_0x209f48(0x324)])!=null?_0x4d659e:fs;}async[_0x1494d6(0x33b)](_0x57b810,_0x309304){var _0x41657d=_0x1494d6;const _0x2c3a3b=_0x41657d(0x2b8)+_0x309304['type']+_0x41657d(0x210)+_0x309304[_0x41657d(0x430)]+_0x41657d(0x1a7);return(await this['_httpService'][_0x41657d(0x292)](_0x2c3a3b,{'params':{'resourceId':JSON['stringify'](_0x309304[_0x41657d(0x385)])}}))[_0x41657d(0x198)];}[_0x1494d6(0x378)](){var _0x1ccfc9=_0x1494d6;throw new Error(_0x1ccfc9(0x22f));}[_0x1494d6(0x3f1)](){var _0x893e78=_0x1494d6;throw new Error(_0x893e78(0x22f));}[_0x1494d6(0x331)](){var _0x5469f3=_0x1494d6;throw new Error(_0x5469f3(0x22f));}['saveChangeset'](){var _0x3a057b=_0x1494d6;throw new Error(_0x3a057b(0x22f));}[_0x1494d6(0x243)](){var _0x3737ca=_0x1494d6;throw new Error(_0x3737ca(0x22f));}[_0x1494d6(0x3a8)](){var _0x3c2577=_0x1494d6;throw new Error(_0x3c2577(0x22f));}};Nt=tr([oi(0x0,_0x5c8b82),oi(0x1,_0x40a927(_0x21f421))],Nt);var ir=Object[_0x1494d6(0x3e7)],sr=(_0x30f7e4,_0x33fb7e,_0x3394e6,_0xe20905)=>{var _0x56513d=_0x1494d6;for(var _0x4da367=_0xe20905>0x1?void 0x0:_0xe20905?ir(_0x33fb7e,_0x3394e6):_0x33fb7e,_0x24aa63=_0x30f7e4[_0x56513d(0x1c0)]-0x1,_0x5b2ec2;_0x24aa63>=0x0;_0x24aa63--)(_0x5b2ec2=_0x30f7e4[_0x24aa63])&&(_0x4da367=_0x5b2ec2(_0x4da367)||_0x4da367);return _0x4da367;},Ae=(_0x20d14a,_0xc95016)=>(_0x5622f9,_0x3ef4a4)=>_0xc95016(_0x5622f9,_0x3ef4a4,_0x20d14a);let bt=class extends _0x19047e{constructor(_0x179e7b,_0x32fa86,_0x197f31,_0x1e3758,_0x376da2){var _0x1410df=_0x1494d6;super(_0x179e7b,_0x32fa86,_0x197f31),this[_0x1410df(0x3bb)]=_0x1e3758,this[_0x1410df(0x29c)]=_0x376da2;}[_0x1494d6(0x468)](_0x3e01f2,_0x1ef65b){var _0x3e8610=_0x1494d6;const _0x5a3c1d=this[_0x3e8610(0x20e)](_0x3e01f2);if(_0x5a3c1d)try{const _0x143687=this[_0x3e8610(0x306)](_0x5a3c1d,_0x1ef65b);this[_0x3e8610(0x303)](_0x3e01f2,_0x143687);}catch(_0x5b6910){this[_0x3e8610(0x29c)][_0x3e8610(0x2ce)](_0x3e8610(0x404),_0x5b6910),this[_0x3e8610(0x38c)](_0x3e01f2);}const _0x2700ec=this[_0x3e8610(0x445)](_0x3e01f2);if(_0x2700ec)try{const _0x2adfd5=this[_0x3e8610(0x306)](_0x2700ec,_0x1ef65b);this[_0x3e8610(0x421)](_0x3e01f2,_0x2adfd5);}catch(_0x38127c){this[_0x3e8610(0x29c)]['error'](_0x38127c),this['_clearRedo'](_0x3e01f2);}}['_clearUndo'](_0x27dfda){var _0x5e18a0=_0x1494d6;const _0x526dda=this[_0x5e18a0(0x20e)](_0x27dfda);_0x526dda&&(_0x526dda[_0x5e18a0(0x1c0)]=0x0,this[_0x5e18a0(0x1f0)]());}[_0x1494d6(0x317)](_0x1897dc){var _0x1b119c=_0x1494d6;const _0x53f957=this[_0x1b119c(0x445)](_0x1897dc);_0x53f957&&(_0x53f957[_0x1b119c(0x1c0)]=0x0,this['_updateStatus']());}[_0x1494d6(0x303)](_0x5a610f,_0x19bcb9){var _0x421692=_0x1494d6;this[_0x421692(0x41b)][_0x421692(0x2d7)](_0x5a610f,_0x19bcb9),this['_updateStatus']();}['_substituteRedoStack'](_0x3b8023,_0x2dd2aa){var _0x4e9521=_0x1494d6;this[_0x4e9521(0x24b)][_0x4e9521(0x2d7)](_0x3b8023,_0x2dd2aa),this[_0x4e9521(0x1f0)]();}[_0x1494d6(0x306)](_0x267061,_0x8d7e){var _0x4c2df9=_0x1494d6;const _0x307b63=[];let _0x50c77f=_0x8d7e,_0x461fd7=_0x8d7e;for(let _0x358676=_0x267061[_0x4c2df9(0x1c0)]-0x1;_0x358676>=0x0;_0x358676--){const {unitID:_0x8bb60d,undoMutations:_0x58a23b,redoMutations:_0x1ef7a6}=_0x267061[_0x358676],_0x547a95=this[_0x4c2df9(0x3bb)]['transformMutationsWithChangeset'](_0x50c77f,_0x58a23b),_0x87e97f=this['_transformService'][_0x4c2df9(0x2e5)](_0x461fd7,_0x1ef7a6);if(_0x9cf1b2(_0x547a95)||_0x9cf1b2(_0x87e97f)){this[_0x4c2df9(0x29c)][_0x4c2df9(0x2ce)](_0x4c2df9(0x404),_0x4c2df9(0x1e3),_0x547a95,_0x87e97f);break;}_0x50c77f=_0x547a95['c1Prime'],_0x461fd7=_0x87e97f[_0x4c2df9(0x38d)],_0x307b63[_0x4c2df9(0x359)]({'unitID':_0x8bb60d,'undoMutations':_0x547a95[_0x4c2df9(0x3de)],'redoMutations':_0x87e97f[_0x4c2df9(0x3de)]});}return _0x307b63[_0x4c2df9(0x3cf)]();}};bt=sr([Ae(0x0,_0x3aa953),Ae(0x1,_0x40a596),Ae(0x2,_0x26392a),Ae(0x3,_0x2bd043),Ae(0x4,_0x1c7d35)],bt);var nr=Object[_0x1494d6(0x3cd)],rr=Object[_0x1494d6(0x3e7)],ar=(_0x437a71,_0x7ea6e5,_0x3d662d)=>_0x7ea6e5 in _0x437a71?nr(_0x437a71,_0x7ea6e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d662d}):_0x437a71[_0x7ea6e5]=_0x3d662d,or=(_0x15d3f1,_0x1671fa,_0x4f014a,_0x5b00ed)=>{for(var _0x9df1fa=_0x5b00ed>0x1?void 0x0:_0x5b00ed?rr(_0x1671fa,_0x4f014a):_0x1671fa,_0x369bbc=_0x15d3f1['length']-0x1,_0x358d79;_0x369bbc>=0x0;_0x369bbc--)(_0x358d79=_0x15d3f1[_0x369bbc])&&(_0x9df1fa=_0x358d79(_0x9df1fa)||_0x9df1fa);return _0x9df1fa;},Et=(_0x47da9b,_0xc34ebe)=>(_0x348497,_0x4e5b05)=>_0xc34ebe(_0x348497,_0x4e5b05,_0x47da9b),cr=(_0x5944f1,_0x208a8b,_0x32a47a)=>ar(_0x5944f1,_0x208a8b+'',_0x32a47a);const _r=_0x1494d6(0x1b9);let Dt=class extends _0x695746{constructor(_0x27bfa9,_0x2934eb,_0x2a3988,_0x10b767){var _0x322790=_0x1494d6;super(),D(this,_0x322790(0x25e)),(this['_logService']=_0x2934eb,this[_0x322790(0x380)]=_0x2a3988,this['_configService']=_0x10b767);const {..._0x5cf2da}=_0x10f4d2({},Ls,_0x27bfa9);if(!_0x5cf2da[_0x322790(0x217)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x322790(0x25e)]=_0x5cf2da,this['_configService']['setConfig'](K,_0x5cf2da);}[_0x1494d6(0x2a5)](){var _0x3498cb=_0x1494d6;this[_0x3498cb(0x3d8)](),this[_0x3498cb(0x36a)]();}[_0x1494d6(0x3d8)](){var _0x436235=_0x1494d6,_0x2b3435,_0x28704a;this['_injector'][_0x436235(0x283)](_0x5154ce)&&this['_logService']['error'](_0x436235(0x355),_0x436235(0x2d4));const _0x5e1e36=_0x349fb5([[_0x5154ce,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this['_config'][_0x436235(0x217)]}],[_0x23a044,{'useClass':Nt}],[_0x550f2e,{'useClass':Tt}],[_0x44bb90,{'useClass':Rt}],[_0x4a57b1,{'useClass':Ct}],[nt],[gt]],(_0x2b3435=this[_0x436235(0x25e)])==null?void 0x0:_0x2b3435[_0x436235(0x424)]);if(!((_0x28704a=this[_0x436235(0x25e)])!=null&&_0x28704a[_0x436235(0x18f)])){const _0x256d9a=_0x5e1e36[_0x436235(0x46b)](([_0x2f9b98])=>_0x2f9b98===_t);_0x256d9a!==-0x1&&_0x5e1e36[_0x436235(0x366)](_0x256d9a,0x1);}_0x291633(this[_0x436235(0x380)],_0x5e1e36);}['_initDependencies'](){var _0x2358d9=_0x1494d6,_0x3c9488,_0x51dc21,_0x5e8e34;this[_0x2358d9(0x380)][_0x2358d9(0x292)](_0x21f421)[_0x2358d9(0x26b)]({'priority':0x14,'interceptor':_0x5410e1({'maxParallel':0x6})}),(_0x3c9488=this[_0x2358d9(0x25e)])!=null&&_0x3c9488['enableOfflineEditing']||(_0x51dc21=this['_injector'][_0x2358d9(0x292)](J,_0x18dc41[_0x2358d9(0x3bd)]))==null||_0x51dc21[_0x2358d9(0x3fc)](),(_0x5e8e34=this[_0x2358d9(0x25e)])!=null&&_0x5e8e34[_0x2358d9(0x1d2)]&&_0x27ce6e(this[_0x2358d9(0x380)],[[rt]]),_0x27ce6e(this[_0x2358d9(0x380)],[[at],[nt],[ot]]);}};cr(Dt,_0x1494d6(0x1a0),_r),Dt=or([_0x17d11c(_0x1a80f6,_0x326f79),Et(0x1,_0x1c7d35),Et(0x2,_0x40a927(_0x10bc24)),Et(0x3,_0x5c8b82)],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,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};
1
+ var _0x4ba233=_0x2b55;(function(_0x42c3e4,_0x2f9233){var _0x1253ef=_0x2b55,_0x261579=_0x42c3e4();while(!![]){try{var _0x3247c0=parseInt(_0x1253ef(0x2b8))/0x1*(parseInt(_0x1253ef(0x26e))/0x2)+parseInt(_0x1253ef(0x2e8))/0x3*(-parseInt(_0x1253ef(0x393))/0x4)+-parseInt(_0x1253ef(0xea))/0x5*(parseInt(_0x1253ef(0x2f8))/0x6)+-parseInt(_0x1253ef(0x36a))/0x7*(-parseInt(_0x1253ef(0xf1))/0x8)+parseInt(_0x1253ef(0x30f))/0x9*(parseInt(_0x1253ef(0x304))/0xa)+-parseInt(_0x1253ef(0x127))/0xb*(-parseInt(_0x1253ef(0x37b))/0xc)+-parseInt(_0x1253ef(0x1b3))/0xd;if(_0x3247c0===_0x2f9233)break;else _0x261579['push'](_0x261579['shift']());}catch(_0x32e0f4){_0x261579['push'](_0x261579['shift']());}}}(_0xc5f8,0x98532));var bi=Object[_0x4ba233(0x2a6)],Di=(_0x1845b2,_0x3c2ed2,_0x552faa)=>_0x3c2ed2 in _0x1845b2?bi(_0x1845b2,_0x3c2ed2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x552faa}):_0x1845b2[_0x3c2ed2]=_0x552faa,D=(_0x1fb84b,_0x1609dd,_0x5a02fe)=>Di(_0x1fb84b,typeof _0x1609dd!=_0x4ba233(0x254)?_0x1609dd+'':_0x1609dd,_0x5a02fe);import{CollaborationEvent as _0x38a5e2,ITransformService as _0x4ff1ba,isTransformMutationsWithChangesetSuccess as _0x2210df,mapDocumentTypeToUniverType as _0x893e03,RevisionService as _0x2ef779,isTransformChangesetsSuccess as _0x3c8cc7,CompressMutationService as _0x523527,parseProtocolChangeset as _0xe498a5,uuidv4 as _0x261a07,ISnapshotServerService as _0x5d5385,parseChangesetToProtocol as _0x47d12f,SnapshotService as _0x18f719,textEncoder as _0x146341,b64DecodeUnicode as _0x47e8fe,isTransformMutationsWithChangesetFailure as _0x20d07d,UniverCollaborationPlugin as _0x657b75}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x5af922,Inject as _0x51a12c,UserManagerService as _0x5cc82d,Disposable as _0x29bf33,UniverInstanceType as _0x75a23c,ILogService as _0x4d666b,IConfigService as _0x427ac7,Optional as _0x22c1ae,RxDisposable as _0x4ac35d,createIdentifier as _0x1753cf,Injector as _0x15f0b3,Tools as _0x48f070,Rectangle as _0x49aeca,ICommandService as _0x3cf5e9,JSONX as _0x1906d2,CommandType as _0x1f7adc,IUndoRedoService as _0x13e287,IPermissionService as _0xfeab62,LocaleService as _0x3abb4d,sequenceExecute as _0x376eba,toDisposable as _0x535469,DisposableCollection as _0x545484,Workbook as _0x324d82,generateRandomId as _0x301128,MentionType as _0x512a87,isInternalEditorID as _0x547764,LocalUndoRedoService as _0x302e2c,IContextService as _0x3a005d,DependentOn as _0x3f23dd,Plugin as _0x545b68,merge as _0x2f2db9,mergeOverrideWithDependencies as _0xccc447,IAuthzIoService as _0x51f9e6,IMentionIOService as _0x413c8c,registerDependencies as _0x98c7c1,Quantity as _0x436735,touchDependencies as _0x4d6808}from'@univerjs/core';import{RichTextEditingMutation as _0x41d62b}from'@univerjs/docs';import{SheetsSelectionsService as _0x444f25,SetSelectionsOperation as _0x453667,InsertSheetMutation as _0x489148,EmptyMutation as _0x52f0cf,WorkbookEditablePermission as _0x46fb09,SheetPermissionInitController as _0x3fd948}from'@univerjs/sheets';import{Subject as _0x2271e1,merge as _0x4154d5,of as _0x4b387d,BehaviorSubject as _0x265545,takeUntil as _0x36e684,ReplaySubject as _0x3922ea,take as _0x476526,map as _0x515b64,shareReplay as _0x1ce3ec,firstValueFrom as _0xcb028b,concatMap as _0x18a613}from'rxjs';import{ITelemetryService as _0x8c4a48}from'@univerjs/telemetry';import{map as _0x574d61,take as _0xec16fd,filter as _0x3ef4b8,delay as _0x491a76,takeUntil as _0x376baa}from'rxjs/operators';import{HTTPService as _0x3caecd,ISocketService as _0x32ae2c,MergeInterceptorFactory as _0x7935df,HTTPRequest as _0x1aa68a,UniverNetworkPlugin as _0x1897f9,ThresholdInterceptorFactory as _0x3cd14d}from'@univerjs/network';import{ImageSourceType as _0x33a233,ImageUploadStatusType as _0x31ef94,IImageIoService as _0x3df4ff}from'@univerjs/drawing';import{getGlobalObject as _0x526b3b}from'@univerjs-pro/license';const fs=_0x4ba233(0x371),vs='SNAPSHOT_URL_KEY',ps=0x7d0,Es=_0x4ba233(0x20c),gr=_0x4ba233(0x227),ms='HEARTBEAT_INTERVAL',Is=0x7530,di=_0x4ba233(0xff),fi=0x4e20,Ss=0x4e20,gs=_0x4ba233(0x37a),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Or=0x3e8,Os='/universer-api/comb',Rs=_0x4ba233(0x26d),Rr=_0x4ba233(0x2d6),Cr=_0x4ba233(0x1c0);var vi=(_0x4f0491=>(_0x4f0491[_0x4f0491[_0x4ba233(0x1a5)]=0x0]=_0x4ba233(0x1a5),_0x4f0491[_0x4f0491['OK']=0x1]='OK',_0x4f0491[_0x4f0491[_0x4ba233(0x1e1)]=0x2]=_0x4ba233(0x1e1),_0x4f0491[_0x4f0491[_0x4ba233(0x110)]=0x3]='PERMISSION_DENIED',_0x4f0491[_0x4f0491[_0x4ba233(0x1e5)]=0x4]=_0x4ba233(0x1e5),_0x4f0491[_0x4f0491[_0x4ba233(0x10e)]=0x5]=_0x4ba233(0x10e),_0x4f0491[_0x4f0491[_0x4ba233(0x2f4)]=0x6]=_0x4ba233(0x2f4),_0x4f0491[_0x4f0491[_0x4ba233(0x2dd)]=0x7]=_0x4ba233(0x2dd),_0x4f0491[_0x4f0491[_0x4ba233(0x2b5)]=0x8]='TOO_MANY_REQUESTS',_0x4f0491[_0x4f0491[_0x4ba233(0x2e4)]=0x9]=_0x4ba233(0x2e4),_0x4f0491[_0x4f0491[_0x4ba233(0x150)]=0xa]=_0x4ba233(0x150),_0x4f0491[_0x4f0491[_0x4ba233(0x13e)]=0xb]=_0x4ba233(0x13e),_0x4f0491[_0x4f0491[_0x4ba233(0x2b2)]=0xc]=_0x4ba233(0x2b2),_0x4f0491[_0x4f0491[_0x4ba233(0x2f7)]=0xd]=_0x4ba233(0x2f7),_0x4f0491[_0x4f0491[_0x4ba233(0x13b)]=0xe]=_0x4ba233(0x13b),_0x4f0491[_0x4f0491[_0x4ba233(0x238)]=0xf]=_0x4ba233(0x238),_0x4f0491[_0x4f0491[_0x4ba233(0x2cd)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x4f0491[_0x4f0491['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4f0491[_0x4f0491[_0x4ba233(0x2fb)]=0x65]='ERROR_AGAIN',_0x4f0491[_0x4f0491[_0x4ba233(0x321)]=0xc9]='USER_NOT_FOUND',_0x4f0491[_0x4f0491[_0x4ba233(0x2ce)]=0xca]=_0x4ba233(0x2ce),_0x4f0491[_0x4f0491['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4f0491[_0x4f0491[_0x4ba233(0x1b9)]=0x1771]=_0x4ba233(0x1b9),_0x4f0491[_0x4f0491[_0x4ba233(0x97)]=0x1772]=_0x4ba233(0x97),_0x4f0491[_0x4f0491['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4f0491[_0x4f0491['APPLY_REJECT']=0x1b59]=_0x4ba233(0xd4),_0x4f0491[_0x4f0491[_0x4ba233(0x208)]=0x1b5a]=_0x4ba233(0x208),_0x4f0491[_0x4f0491['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4ba233(0x392),_0x4f0491[_0x4f0491['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4ba233(0x1ef),_0x4f0491[_0x4f0491[_0x4ba233(0x3a9)]=0x1b5d]=_0x4ba233(0x3a9),_0x4f0491[_0x4f0491[_0x4ba233(0x15a)]=0x1f41]=_0x4ba233(0x15a),_0x4f0491[_0x4f0491[_0x4ba233(0x12d)]=0x2329]=_0x4ba233(0x12d),_0x4f0491[_0x4f0491[_0x4ba233(0x17f)]=0x232a]=_0x4ba233(0x17f),_0x4f0491[_0x4f0491[_0x4ba233(0x182)]=0x232b]=_0x4ba233(0x182),_0x4f0491[_0x4f0491[_0x4ba233(0x101)]=0x232c]=_0x4ba233(0x101),_0x4f0491[_0x4f0491[_0x4ba233(0x214)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4f0491[_0x4f0491[_0x4ba233(0x194)]=0x2711]=_0x4ba233(0x194),_0x4f0491[_0x4f0491[_0x4ba233(0x102)]=0x2712]=_0x4ba233(0x102),_0x4f0491[_0x4f0491[_0x4ba233(0x3aa)]=0x2713]=_0x4ba233(0x3aa),_0x4f0491[_0x4f0491['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4f0491[_0x4f0491[_0x4ba233(0x1df)]=0x271a]=_0x4ba233(0x1df),_0x4f0491[_0x4f0491[_0x4ba233(0xd1)]=0x271b]=_0x4ba233(0xd1),_0x4f0491[_0x4f0491[_0x4ba233(0xd0)]=0x271c]=_0x4ba233(0xd0),_0x4f0491[_0x4f0491[_0x4ba233(0x2df)]=0x271d]=_0x4ba233(0x2df),_0x4f0491[_0x4f0491[_0x4ba233(0x2c9)]=0x271e]=_0x4ba233(0x2c9),_0x4f0491[_0x4f0491['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4ba233(0x21a),_0x4f0491[_0x4f0491[_0x4ba233(0x14d)]=0x2720]=_0x4ba233(0x14d),_0x4f0491[_0x4f0491['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4ba233(0x24a),_0x4f0491[_0x4f0491[_0x4ba233(0x2d0)]=0x2ee1]=_0x4ba233(0x2d0),_0x4f0491[_0x4f0491[_0x4ba233(0x217)]=0x2ee2]='INVALID_INVITE_CODE',_0x4f0491[_0x4f0491[_0x4ba233(0x2c7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4f0491[_0x4f0491[_0x4ba233(0x202)]=0x2ee4]=_0x4ba233(0x202),_0x4f0491[_0x4f0491['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4f0491[_0x4f0491['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4ba233(0x25a),_0x4f0491[_0x4f0491[_0x4ba233(0x2f3)]=0x32ca]=_0x4ba233(0x2f3),_0x4f0491[_0x4f0491[_0x4ba233(0xbb)]=0x32cb]=_0x4ba233(0xbb),_0x4f0491[_0x4f0491[_0x4ba233(0x29b)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4f0491[_0x4f0491[_0x4ba233(0x11f)]=0x36b2]=_0x4ba233(0x11f),_0x4f0491[_0x4f0491[_0x4ba233(0x15e)]=0x36b3]=_0x4ba233(0x15e),_0x4f0491[_0x4f0491[_0x4ba233(0x24f)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x4f0491[_0x4f0491[_0x4ba233(0x2fc)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4f0491[_0x4f0491['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x4ba233(0x21c),_0x4f0491[_0x4f0491[_0x4ba233(0x2c4)]=0x37dd]=_0x4ba233(0x2c4),_0x4f0491[_0x4f0491['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4ba233(0x32d),_0x4f0491[_0x4f0491[_0x4ba233(0x1bb)]=0x3a9a]=_0x4ba233(0x1bb),_0x4f0491[_0x4f0491['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4ba233(0x191),_0x4f0491[_0x4f0491[_0x4ba233(0x1a3)]=0x3a9c]=_0x4ba233(0x1a3),_0x4f0491[_0x4f0491[_0x4ba233(0x1f8)]=0x3a9d]=_0x4ba233(0x1f8),_0x4f0491[_0x4f0491[_0x4ba233(0x1de)]=0x3a9e]=_0x4ba233(0x1de),_0x4f0491[_0x4f0491[_0x4ba233(0x212)]=0x3a9f]=_0x4ba233(0x212),_0x4f0491[_0x4f0491['UNRECOGNIZED']=-0x1]=_0x4ba233(0x36f),_0x4f0491))(vi||{}),Q=(_0x1a891c=>(_0x1a891c[_0x1a891c[_0x4ba233(0x322)]=0x0]='UNIVER_UNKNOWN',_0x1a891c[_0x1a891c[_0x4ba233(0x266)]=0x1]='UNIVER_DOC',_0x1a891c[_0x1a891c[_0x4ba233(0x147)]=0x2]=_0x4ba233(0x147),_0x1a891c[_0x1a891c[_0x4ba233(0x248)]=0x3]=_0x4ba233(0x248),_0x1a891c[_0x1a891c[_0x4ba233(0x380)]=0x4]=_0x4ba233(0x380),_0x1a891c[_0x1a891c[_0x4ba233(0x36f)]=-0x1]=_0x4ba233(0x36f),_0x1a891c))(Q||{}),F=(_0x2d91d8=>(_0x2d91d8[_0x2d91d8[_0x4ba233(0x323)]=0x0]='UNKNOWN_CMD',_0x2d91d8[_0x2d91d8[_0x4ba233(0x104)]=0x1]=_0x4ba233(0x104),_0x2d91d8[_0x2d91d8[_0x4ba233(0x1aa)]=0x2]='JOIN',_0x2d91d8[_0x2d91d8[_0x4ba233(0x338)]=0x3]='LEAVE',_0x2d91d8[_0x2d91d8[_0x4ba233(0x1f7)]=0x4]=_0x4ba233(0x1f7),_0x2d91d8[_0x2d91d8['HEARTBEAT']=0x5]=_0x4ba233(0xe8),_0x2d91d8[_0x2d91d8[_0x4ba233(0x233)]=0x6]='RECV',_0x2d91d8[_0x2d91d8[_0x4ba233(0x36f)]=-0x1]=_0x4ba233(0x36f),_0x2d91d8))(F||{}),pe=(_0x3a3c0b=>(_0x3a3c0b[_0x3a3c0b[_0x4ba233(0x273)]=0x0]=_0x4ba233(0x273),_0x3a3c0b[_0x3a3c0b['OK']=0x1]='OK',_0x3a3c0b[_0x3a3c0b[_0x4ba233(0x2bc)]=0x2]=_0x4ba233(0x2bc),_0x3a3c0b[_0x3a3c0b['JOIN_ROOM_FULL']=0x3e9]=_0x4ba233(0xce),_0x3a3c0b[_0x3a3c0b[_0x4ba233(0x189)]=0x3ea]=_0x4ba233(0x189),_0x3a3c0b[_0x3a3c0b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3a3c0b[_0x3a3c0b[_0x4ba233(0x152)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3a3c0b[_0x3a3c0b['UNRECOGNIZED']=-0x1]=_0x4ba233(0x36f),_0x3a3c0b))(pe||{}),pi=(_0x2c7faa=>(_0x2c7faa[_0x2c7faa[_0x4ba233(0x100)]=0x0]=_0x4ba233(0x100),_0x2c7faa[_0x2c7faa['HttpImport']=0x1]='HttpImport',_0x2c7faa[_0x2c7faa[_0x4ba233(0x1d1)]=0x2]=_0x4ba233(0x1d1),_0x2c7faa[_0x2c7faa[_0x4ba233(0xe5)]=0x3]=_0x4ba233(0xe5),_0x2c7faa[_0x2c7faa['UnitSnapshot']=0x4]=_0x4ba233(0x198),_0x2c7faa[_0x2c7faa[_0x4ba233(0x2cc)]=0x5]=_0x4ba233(0x2cc),_0x2c7faa[_0x2c7faa['ClipsheetFragments']=0x6]=_0x4ba233(0x2a4),_0x2c7faa[_0x2c7faa[_0x4ba233(0x36f)]=-0x1]='UNRECOGNIZED',_0x2c7faa))(pi||{});const Cs=_0x4ba233(0x1d9);function Ns(_0x251c10){var _0x170114=_0x4ba233;return JSON[_0x170114(0x330)](_0x251c10)[_0x170114(0x333)];}var re=(_0x5ce489=>(_0x5ce489[_0x4ba233(0x36d)]=_0x4ba233(0x36d),_0x5ce489[_0x4ba233(0x110)]=_0x4ba233(0x110),_0x5ce489[_0x4ba233(0xaa)]=_0x4ba233(0xaa),_0x5ce489[_0x4ba233(0x276)]=_0x4ba233(0x276),_0x5ce489[_0x4ba233(0x13a)]=_0x4ba233(0x13a),_0x5ce489['SOCKET_FAILED_RETRY']=_0x4ba233(0x1b0),_0x5ce489['SOCKET_FAILED']='SOCKET_FAILED',_0x5ce489[_0x4ba233(0x17c)]=_0x4ba233(0x17c),_0x5ce489))(re||{});class ve{constructor(){var _0x1af46f=_0x4ba233;D(this,'_event$',new _0x2271e1()),D(this,_0x1af46f(0x2b7),this[_0x1af46f(0x396)][_0x1af46f(0x1fe)]());}[_0x4ba233(0x1d0)](_0x1e40ec){var _0x22c8a2=_0x4ba233;this[_0x22c8a2(0x396)]['next'](_0x1e40ec);}}class Ei{constructor(){var _0x321602=_0x4ba233;D(this,'_commentUpdate$',new _0x2271e1()),D(this,_0x321602(0x386),this[_0x321602(0x37f)][_0x321602(0x1fe)]());}[_0x4ba233(0x2c0)](_0x446f0d){var _0x20e4d2=_0x4ba233;this[_0x20e4d2(0x37f)][_0x20e4d2(0x8d)](_0x446f0d);}}var bs=Object[_0x4ba233(0x347)],Ds=(_0x1bfeff,_0x49433f,_0x30ab0c,_0x43fd77)=>{var _0x226449=_0x4ba233;for(var _0x563eb8=_0x43fd77>0x1?void 0x0:_0x43fd77?bs(_0x49433f,_0x30ab0c):_0x49433f,_0x324615=_0x1bfeff[_0x226449(0x333)]-0x1,_0x32fcc4;_0x324615>=0x0;_0x324615--)(_0x32fcc4=_0x1bfeff[_0x324615])&&(_0x563eb8=_0x32fcc4(_0x563eb8)||_0x563eb8);return _0x563eb8;},Ft=(_0x191f97,_0x31f91f)=>(_0x23c204,_0x263187)=>_0x31f91f(_0x23c204,_0x263187,_0x191f97);let Pe=class extends _0x29bf33{constructor(_0x4621eb,_0x11312e){var _0x3e5db8=_0x4ba233;super(),D(this,'_roomMembers',new Map()),D(this,_0x3e5db8(0x1ec),new _0x2271e1()),(this[_0x3e5db8(0x9e)]=_0x4621eb,this[_0x3e5db8(0xaf)]=_0x11312e,this['disposeWithMe'](_0x4154d5(this[_0x3e5db8(0x9e)][_0x3e5db8(0x19f)](_0x75a23c[_0x3e5db8(0x147)])[_0x3e5db8(0x1f5)](_0x574d61(_0x33d45f=>_0x33d45f[_0x3e5db8(0x19a)]())),this[_0x3e5db8(0x9e)][_0x3e5db8(0x19f)](_0x75a23c['UNIVER_DOC'])[_0x3e5db8(0x1f5)](_0x574d61(_0x4f8efd=>_0x4f8efd[_0x3e5db8(0x19a)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x75a23c[_0x3e5db8(0x248)])['pipe'](_0x574d61(_0x5ac55b=>_0x5ac55b[_0x3e5db8(0x19a)]())))[_0x3e5db8(0x242)](_0x251f5c=>this[_0x3e5db8(0x1d6)](_0x251f5c))));}[_0x4ba233(0x1ea)](_0x43fe77){var _0x333345=_0x4ba233;return this[_0x333345(0x12b)]['has'](_0x43fe77)?_0x4b387d(this[_0x333345(0x12b)][_0x333345(0xb0)](_0x43fe77)):this['_roomCreated$'][_0x333345(0x1f5)](_0x574d61(_0x40877d=>{var _0x5c32cd=_0x333345;if(_0x40877d===_0x43fe77)return this[_0x5c32cd(0x12b)][_0x5c32cd(0xb0)](_0x40877d);}));}[_0x4ba233(0x119)](_0x528723){var _0x4184c5=_0x4ba233;this[_0x4184c5(0xaf)][_0x4184c5(0x119)](_0x528723);}[_0x4ba233(0x246)](){var _0x4ecc80=_0x4ba233;return this[_0x4ecc80(0xaf)][_0x4ecc80(0x246)]();}[_0x4ba233(0x1d3)](_0x2ff637,_0x17e1f9){var _0x566e53=_0x4ba233;let _0x555d34=this[_0x566e53(0x12b)][_0x566e53(0xb0)](_0x2ff637);_0x555d34||(_0x555d34=new ys(),this['_roomMembers'][_0x566e53(0xd5)](_0x2ff637,_0x555d34),this[_0x566e53(0x1ec)][_0x566e53(0x8d)](_0x2ff637)),_0x555d34[_0x566e53(0x1d3)](_0x17e1f9);}[_0x4ba233(0x1a1)](_0x36faab,_0x32f7b7){var _0x24fc15=_0x4ba233;const _0x1bedc6=this['_roomMembers'][_0x24fc15(0xb0)](_0x36faab);_0x1bedc6&&_0x1bedc6[_0x24fc15(0x1a1)](_0x32f7b7);}[_0x4ba233(0x312)](_0xea4b70){var _0x4b3b68=_0x4ba233;return this[_0x4b3b68(0x12b)][_0x4b3b68(0xb0)](_0xea4b70);}[_0x4ba233(0x35c)](_0x35de02,_0x1e84a2){var _0x2940b9=_0x4ba233;const _0x2c3957=this[_0x2940b9(0x12b)]['get'](_0x35de02);if(_0x2c3957)return _0x2c3957[_0x2940b9(0x35c)](_0x1e84a2);}[_0x4ba233(0x1d6)](_0x5c691f){var _0x2a79fb=_0x4ba233;const _0x39a2c3=this[_0x2a79fb(0x12b)]['get'](_0x5c691f);_0x39a2c3&&(_0x39a2c3['dispose'](),this[_0x2a79fb(0x12b)][_0x2a79fb(0x116)](_0x5c691f));}[_0x4ba233(0x16a)](){var _0x7584f7=_0x4ba233;this[_0x7584f7(0x12b)][_0x7584f7(0x1ae)](_0x42a363=>_0x42a363[_0x7584f7(0x16a)]()),this[_0x7584f7(0x12b)][_0x7584f7(0x154)](),this['_roomCreated$'][_0x7584f7(0x16b)]();}};function _0x2b55(_0x5b8d3f,_0x38e04f){var _0xc5f8f6=_0xc5f8();return _0x2b55=function(_0x2b5584,_0xe4b22a){_0x2b5584=_0x2b5584-0x8c;var _0x1b4209=_0xc5f8f6[_0x2b5584];return _0x1b4209;},_0x2b55(_0x5b8d3f,_0x38e04f);}Pe=Ds([Ft(0x0,_0x5af922),Ft(0x1,_0x51a12c(_0x5cc82d))],Pe);class ys extends _0x29bf33{constructor(){var _0x783d0=_0x4ba233;super(...arguments),D(this,'_members',new Map()),D(this,_0x783d0(0x213),new _0x265545(this[_0x783d0(0x1e8)])),D(this,_0x783d0(0x357),this[_0x783d0(0x213)]['asObservable']());}[_0x4ba233(0x16a)](){var _0x4b2d04=_0x4ba233;this[_0x4b2d04(0x1e8)][_0x4b2d04(0x154)]();}[_0x4ba233(0x1d3)](_0x4d78e4){var _0x3df546=_0x4ba233;this['_members'][_0x3df546(0xd5)](_0x4d78e4[_0x3df546(0x339)],_0x4d78e4),this[_0x3df546(0x263)]();}[_0x4ba233(0x1a1)](_0x4bcbd9){var _0x54ead4=_0x4ba233;this['_members'][_0x54ead4(0x116)](_0x4bcbd9);}[_0x4ba233(0x35c)](_0x428a09){var _0x1b7036=_0x4ba233;return this[_0x1b7036(0x1e8)][_0x1b7036(0xb0)](_0x428a09);}[_0x4ba233(0x179)](){var _0x225f5d=_0x4ba233;return Array[_0x225f5d(0x36e)](this[_0x225f5d(0x1e8)][_0x225f5d(0x1be)]());}[_0x4ba233(0x263)](){var _0x261953=_0x4ba233;this[_0x261953(0x213)][_0x261953(0x8d)](this[_0x261953(0x1e8)]);}}var Us=Object[_0x4ba233(0x347)],As=(_0x145b0e,_0x1d5d4e,_0xd900cb,_0x357d3d)=>{var _0x52bf03=_0x4ba233;for(var _0x43c858=_0x357d3d>0x1?void 0x0:_0x357d3d?Us(_0x1d5d4e,_0xd900cb):_0x1d5d4e,_0x54f048=_0x145b0e[_0x52bf03(0x333)]-0x1,_0x1ae8c5;_0x54f048>=0x0;_0x54f048--)(_0x1ae8c5=_0x145b0e[_0x54f048])&&(_0x43c858=_0x1ae8c5(_0x43c858)||_0x43c858);return _0x43c858;},Oe=(_0x47f381,_0x4d0b04)=>(_0x3b9cae,_0x67af21)=>_0x4d0b04(_0x3b9cae,_0x67af21,_0x47f381),me=(_0x2ba134=>(_0x2ba134[_0x2ba134[_0x4ba233(0x156)]=0x0]=_0x4ba233(0x156),_0x2ba134[_0x2ba134[_0x4ba233(0x3ba)]=0x1]=_0x4ba233(0x3ba),_0x2ba134[_0x2ba134['OFFLINE']=0x2]=_0x4ba233(0x231),_0x2ba134[_0x2ba134[_0x4ba233(0x19d)]=0x3]='ONLINE',_0x2ba134))(me||{});const Vt={[pe[_0x4ba233(0x2bc)]]:_0x4ba233(0x24d),[pe[_0x4ba233(0xce)]]:_0x4ba233(0x1ce),[pe['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[pe[_0x4ba233(0x2cb)]]:_0x4ba233(0x253),[pe[_0x4ba233(0x152)]]:_0x4ba233(0xcf)};let mt=class extends _0x4ac35d{constructor(_0x2a165b,_0x2be8f1,_0x32833d,_0x5a8c9d,_0x3ef239,_0x355450,_0x12c9db,_0x2225c6){var _0x3ec60a=_0x4ba233;super(),D(this,_0x3ec60a(0x18a),new _0x265545(0x0)),D(this,'sessionStatus$',this[_0x3ec60a(0x18a)][_0x3ec60a(0x1fe)]()),D(this,_0x3ec60a(0x396),new _0x2271e1()),D(this,_0x3ec60a(0x2b7),this['_event$'][_0x3ec60a(0x1fe)]()),D(this,'_socket'),D(this,_0x3ec60a(0x2c1)),D(this,_0x3ec60a(0x2bd)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x3ec60a(0x2a8),null),(this[_0x3ec60a(0xa9)]=_0x2a165b,this[_0x3ec60a(0x28f)]=_0x32833d,this[_0x3ec60a(0x1c5)]=_0x5a8c9d,this['_memberService']=_0x3ef239,this['_commentService']=_0x355450,this[_0x3ec60a(0x216)]=_0x12c9db,this[_0x3ec60a(0x38a)]=_0x2225c6,this[_0x3ec60a(0xb6)]=!!this[_0x3ec60a(0x38a)],_0x2be8f1[_0x3ec60a(0x1f5)](_0x36e684(this['dispose$']))[_0x3ec60a(0x242)](_0x28d03e=>{var _0x332ab9=_0x3ec60a,_0x254e8e;typeof _0x28d03e>'u'||(this[_0x332ab9(0x325)]=_0x28d03e,_0x28d03e?(this[_0x332ab9(0x324)](_0x28d03e),this[_0x332ab9(0x2c1)]=_0x28d03e['message$'][_0x332ab9(0x242)](_0x2f5a86=>{_0x2f5a86['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x2f5a86);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x332ab9(0x8d)](0x2),(_0x254e8e=this[_0x332ab9(0x2c1)])==null||_0x254e8e[_0x332ab9(0x181)](),this[_0x332ab9(0x2c1)]=null));}));}get['sessionStatus'](){var _0x15ead8=_0x4ba233;return this[_0x15ead8(0x18a)][_0x15ead8(0x264)]();}['getMemberID'](){var _0x2fd321=_0x4ba233,_0x6b47e6,_0x393e94;return(_0x393e94=(_0x6b47e6=this[_0x2fd321(0x325)])==null?void 0x0:_0x6b47e6[_0x2fd321(0x339)])!=null?_0x393e94:null;}[_0x4ba233(0x16a)](){var _0x25892a=_0x4ba233;super[_0x25892a(0x16a)](),this[_0x25892a(0x314)][_0x25892a(0x8d)](),this[_0x25892a(0x314)][_0x25892a(0x16b)]();}[_0x4ba233(0x205)](){var _0x271549=_0x4ba233,_0x3ccf40,_0x158343;this[_0x271549(0x184)](),(_0x3ccf40=this['_socket'])==null||_0x3ccf40[_0x271549(0x343)]({'cmd':F[_0x271549(0x338)],'data':{'roomID':this[_0x271549(0xa9)]}}),(_0x158343=this['_socket'])==null||_0x158343[_0x271549(0x205)](),this['_event$']['complete'](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x4ba233(0x1f3)](_0x58892c){var _0x5d4509=_0x4ba233;_0x58892c[_0x5d4509(0x2b3)]===F[_0x5d4509(0x1aa)]?this[_0x5d4509(0x135)](_0x58892c):_0x58892c[_0x5d4509(0x2b3)]===F['RECV']&&this[_0x5d4509(0xcd)](_0x58892c);}[_0x4ba233(0x324)](_0x3bdd47){var _0x5383c7=_0x4ba233;this['_sessionStatus$'][_0x5383c7(0x8d)](0x1),_0x3bdd47[_0x5383c7(0x343)]({'cmd':F['JOIN'],'routeKey':this[_0x5383c7(0xa9)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4ba233(0x135)](_0x5bb1b8){var _0x30e118=_0x4ba233,_0x440817;if(_0x5bb1b8['code']in Vt){this['_collaborationUIEventService'][_0x30e118(0x1d0)]({'id':re[_0x30e118(0x13a)],'data':Vt[_0x5bb1b8['code']]}),this[_0x30e118(0x18a)]['next'](0x2);return;}this[_0x30e118(0x18a)][_0x30e118(0x8d)](0x3);const _0x518ca3=(_0x440817=_0x5bb1b8[_0x30e118(0x3b8)][_0x30e118(0xca)][this[_0x30e118(0xa9)]])==null?void 0x0:_0x440817[_0x30e118(0xae)];_0x518ca3&&_0x518ca3['forEach'](_0x3f039d=>this[_0x30e118(0x340)][_0x30e118(0x1d3)](this[_0x30e118(0xa9)],_0x3f039d));}[_0x4ba233(0xcd)](_0x1c57ee){var _0x1a384b=_0x4ba233;try{const _0x4eaaef=_0x1c57ee[_0x1a384b(0x3b8)];switch(_0x4eaaef[_0x1a384b(0x335)]){case _0x38a5e2[_0x1a384b(0x8f)]:this['_onUserJoin'](_0x4eaaef),this[_0x1a384b(0x396)][_0x1a384b(0x8d)](_0x4eaaef);break;case _0x38a5e2[_0x1a384b(0x1c1)]:this['_onUserLeave'](_0x4eaaef),this['_event$'][_0x1a384b(0x8d)](_0x4eaaef);break;case _0x38a5e2['CHANGESET_ACK']:case _0x38a5e2[_0x1a384b(0x383)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x1a384b(0x396)][_0x1a384b(0x8d)](_0x4eaaef);break;case _0x38a5e2[_0x1a384b(0x223)]:this[_0x1a384b(0x28f)]['error'](_0x1a384b(0x10f)+JSON[_0x1a384b(0x330)](_0x4eaaef)),this[_0x1a384b(0x396)]['next'](_0x4eaaef);break;case _0x38a5e2[_0x1a384b(0xe0)]:this['_commentService'][_0x1a384b(0x2c0)](_0x4eaaef[_0x1a384b(0x3b8)]),this[_0x1a384b(0x396)][_0x1a384b(0x8d)](_0x4eaaef);break;default:this['_event$'][_0x1a384b(0x8d)](_0x4eaaef);}}catch(_0x49ee6b){this[_0x1a384b(0x28f)][_0x1a384b(0x28b)](_0x49ee6b,_0x1c57ee);}}[_0x4ba233(0x3b4)](_0x280d8a){var _0x5f29d3=_0x4ba233;this[_0x5f29d3(0x340)][_0x5f29d3(0x1d3)](this[_0x5f29d3(0xa9)],_0x280d8a[_0x5f29d3(0x3b8)]);}[_0x4ba233(0xc0)](_0x539de8){var _0x3b7b4a=_0x4ba233;this[_0x3b7b4a(0x340)]['removeMember'](this[_0x3b7b4a(0xa9)],_0x539de8[_0x3b7b4a(0x3b8)]['memberID']);}async[_0x4ba233(0x343)](_0x8c4321,_0x4039d3){var _0x21f121=_0x4ba233;if(this[_0x21f121(0x201)]!==0x3||!this[_0x21f121(0x325)])throw new Error(_0x21f121(0x32e));try{_0x8c4321['eventID']===_0x38a5e2['SUBMIT_CHANGESET']&&(this[_0x21f121(0x141)](),this[_0x21f121(0x112)](_0x8c4321)),this[_0x21f121(0x325)]['send']({'cmd':F['INGEST'],'routeKey':_0x4039d3,'routeType':'','data':_0x8c4321});}catch(_0x107321){this[_0x21f121(0x28f)]['error'](_0x107321);}}[_0x4ba233(0x141)](){var _0x1708a2=_0x4ba233,_0x14282e;this[_0x1708a2(0x2bd)]=setTimeout(()=>{var _0x24a5b6=_0x1708a2;this[_0x24a5b6(0x2bd)]=null,this['_collaborationUIEventService'][_0x24a5b6(0x1d0)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x14282e=this[_0x1708a2(0x1c5)][_0x1708a2(0x3c3)](di))!=null?_0x14282e:fi);}[_0x4ba233(0x2e2)](){var _0x1b98fc=_0x4ba233;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1b98fc(0x2bd)]),this[_0x1b98fc(0x2bd)]=null);}[_0x4ba233(0x112)](_0x430038){var _0x438d76=_0x4ba233;if(!this['_shouldReportTelemetry'])return;const {data:_0x2592b8}=_0x430038,{unitID:_0x12db3a,changeset:_0x2f5b6b}=_0x2592b8,{mutations:_0x417c2c,type:_0x18a42a}=_0x2f5b6b;this['_telemetryInfo']={'unitId':_0x12db3a,'type':_0x18a42a,'startTime':performance[_0x438d76(0x38f)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x417c2c)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x171617=_0x4ba233;if(this[_0x171617(0xb6)]){if(!this[_0x171617(0x2a8)]){this[_0x171617(0x28f)][_0x171617(0x28b)](_0x171617(0x113),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x171617(0x1da)]=performance[_0x171617(0x38f)](),this[_0x171617(0x2a8)][_0x171617(0xf6)]=this[_0x171617(0x2a8)][_0x171617(0x1da)]-this[_0x171617(0x2a8)][_0x171617(0x2dc)],this[_0x171617(0x38a)][_0x171617(0x2a3)](Cs,this[_0x171617(0x2a8)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2c53e2=_0x4ba233;this[_0x2c53e2(0x2a8)]=null;}};mt=As([Oe(0x2,_0x4d666b),Oe(0x3,_0x427ac7),Oe(0x4,_0x51a12c(Pe)),Oe(0x5,_0x51a12c(Ei)),Oe(0x6,_0x51a12c(ve)),Oe(0x7,_0x22c1ae(_0x8c4a48))],mt);const J=_0x1753cf(_0x4ba233(0x295));function Nr(_0x16a591){return'unit-cache-'+_0x16a591;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x75db4e,_0x5a75f1,_0x345e5c,_0x31bde6)=>{var _0x240b8a=_0x4ba233;for(var _0x3116c7=_0x31bde6>0x1?void 0x0:_0x31bde6?Ps(_0x5a75f1,_0x345e5c):_0x5a75f1,_0x296ab3=_0x75db4e[_0x240b8a(0x333)]-0x1,_0x418cc2;_0x296ab3>=0x0;_0x296ab3--)(_0x418cc2=_0x75db4e[_0x296ab3])&&(_0x3116c7=_0x418cc2(_0x3116c7)||_0x3116c7);return _0x3116c7;},ut=(_0x1df44c,_0x10db0e)=>(_0x3e8b4d,_0x5925b8)=>_0x10db0e(_0x3e8b4d,_0x5925b8,_0x1df44c);function Ms(_0x1bd07c){var _0x2c3865=_0x4ba233;const {unitID:_0xef4731,mutations:_0x9d69c4}=_0x1bd07c;return{'unitId':_0xef4731,'subUnitId':_0x9d69c4[0x0][_0x2c3865(0x2f1)][_0x2c3865(0x35d)]};}let it=class{constructor(_0x7ef0cb,_0x526884,_0x391334){var _0x5bb472=_0x4ba233;this['_injector']=_0x7ef0cb,this['_transformService']=_0x526884,this[_0x5bb472(0x346)]=_0x391334;}[_0x4ba233(0x1d5)](_0x5db6ae){var _0x45e536=_0x4ba233,_0x1cf7e1,_0xa09c94,_0x3b88c0,_0x261e31;const _0x5b3e93=this[_0x45e536(0x36b)][_0x45e536(0xb0)](_0x444f25),{unitId:_0x5e270c,subUnitId:_0x168551}=Ms(_0x5db6ae),_0x1afd3f=_0x5b3e93==null?void 0x0:_0x5b3e93[_0x45e536(0x106)](_0x5e270c)[_0x45e536(0x12e)](),_0x33550e=(_0xa09c94=(_0x1cf7e1=this['_instanceService'][_0x45e536(0x1a7)](_0x5e270c))==null?void 0x0:_0x1cf7e1[_0x45e536(0x387)]())==null?void 0x0:_0xa09c94[_0x45e536(0x1fc)]();if(_0x1afd3f[_0x45e536(0x333)]===0x0||!_0x5e270c||!_0x168551)return;const _0x539a23=[{'id':_0x453667['id'],'params':{'unitId':_0x5e270c,'subUnitId':_0x33550e,'selections':_0x48f070[_0x45e536(0x2d4)](_0x1afd3f)}}],_0x601a0c=this[_0x45e536(0xdb)][_0x45e536(0xb7)](_0x5db6ae,_0x539a23);if(!_0x2210df(_0x601a0c))throw _0x601a0c[_0x45e536(0x28b)];const _0x16cbb5=(_0x261e31=(_0x3b88c0=_0x601a0c[_0x45e536(0xed)][0x0])==null?void 0x0:_0x3b88c0[_0x45e536(0x2f1)])==null?void 0x0:_0x261e31['selections'];if(Array[_0x45e536(0x28d)](_0x16cbb5)&&_0x16cbb5[_0x45e536(0x333)]){if(_0x16cbb5['length']===_0x539a23[0x0][_0x45e536(0x2f1)]['selections']['length']&&_0x16cbb5[_0x45e536(0x129)]((_0x4b1f5b,_0x31ff54)=>_0x49aeca[_0x45e536(0x1e3)](_0x4b1f5b['range'],_0x539a23[0x0][_0x45e536(0x2f1)]['selections'][_0x31ff54][_0x45e536(0x344)])))return;this[_0x45e536(0x36b)][_0x45e536(0xb0)](_0x3cf5e9)[_0x45e536(0x352)](_0x453667['id'],{'unitId':_0x5e270c,'subUnitId':_0x33550e,'selections':_0x16cbb5});}}};it=ws([ut(0x0,_0x51a12c(_0x15f0b3)),ut(0x1,_0x4ff1ba),ut(0x2,_0x5af922)],it);const _t=_0x1753cf(_0x4ba233(0x228));var mi=(_0x78a83c=>(_0x78a83c[_0x78a83c['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4ba233(0x331),_0x78a83c[_0x78a83c[_0x4ba233(0x278)]=0x1]=_0x4ba233(0x278),_0x78a83c))(mi||{});const K=_0x4ba233(0x1ed),Ls={},xs=new Set([_0x489148['id']]);function Gt(_0x4aac8a,_0x55cd73,_0x1e0459,_0x2fc89d,_0x2e96ec){var _0x18914b=_0x4ba233,_0x5707bf,_0x376a0d,_0x5695da,_0xb7effa;const _0x4dcd6b=[];for(const _0x466326 of _0x4aac8a)if(xs['has'](_0x466326['id'])){if(_0x4dcd6b['length']>0x0)break;_0x4dcd6b[_0x18914b(0x3be)](_0x466326);break;}else _0x4dcd6b[_0x18914b(0x3be)](_0x466326);const _0x4709bd=(_0x376a0d=(_0x5707bf=_0x2e96ec[_0x18914b(0x246)]())==null?void 0x0:_0x5707bf[_0x18914b(0x219)])!=null?_0x376a0d:_0x18914b(0xc1),_0x215e19=(_0xb7effa=(_0x5695da=_0x2e96ec[_0x18914b(0x246)]())==null?void 0x0:_0x5695da[_0x18914b(0x339)])!=null?_0xb7effa:_0x18914b(0xc1);return{'changeset':{'unitID':_0x55cd73,'type':_0x893e03(_0x1e0459[_0x18914b(0x12f)](_0x55cd73)),'baseRev':_0x2fc89d[_0x18914b(0x27a)](_0x55cd73),'revision':0x0,'userID':_0x4709bd,'memberID':_0x215e19,'mutations':_0x4dcd6b},'pendingMutations':_0x4aac8a[_0x18914b(0x131)](_0x4dcd6b[_0x18914b(0x333)])};}function ks(_0x301950,_0x58a991,_0x5ceb6c,_0x54c318,_0x48c7d8){var _0x510a94=_0x4ba233,_0x5cb5df,_0x2ec561,_0x176968,_0x37efd3;const _0x13bcae=[_0x301950[_0x510a94(0x2e6)]((_0x55db1f,_0x23de50)=>{var _0x283150=_0x510a94,_0x69fc0d;const {id:_0x3dfeaf}=_0x55db1f,{id:_0x8b85d,type:_0x157868}=_0x23de50,_0x26a8c5=(_0x69fc0d=_0x55db1f[_0x283150(0x2f1)])!=null?_0x69fc0d:{'actions':null},_0x3d9d65=_0x23de50['params'];if(_0x3dfeaf&&_0x3dfeaf!==_0x8b85d)throw new Error(_0x283150(0x30e)+_0x3dfeaf+'\x20-\x20'+_0x8b85d+'.');return{..._0x55db1f,'id':_0x8b85d,'type':_0x157868,'params':{'unitId':_0x3d9d65[_0x283150(0x3b0)],'textRanges':_0x3d9d65[_0x283150(0x229)],'actions':_0x1906d2[_0x283150(0x398)](_0x26a8c5[_0x283150(0x1ba)],_0x3d9d65['actions'])}};},{})],_0x1c69e3=(_0x2ec561=(_0x5cb5df=_0x48c7d8[_0x510a94(0x246)]())==null?void 0x0:_0x5cb5df['userID'])!=null?_0x2ec561:'unknown',_0x378e68=(_0x37efd3=(_0x176968=_0x48c7d8[_0x510a94(0x246)]())==null?void 0x0:_0x176968[_0x510a94(0x339)])!=null?_0x37efd3:_0x510a94(0xc1);return{'changeset':{'unitID':_0x58a991,'type':_0x893e03(_0x5ceb6c[_0x510a94(0x12f)](_0x58a991)),'baseRev':_0x54c318[_0x510a94(0x27a)](_0x58a991),'revision':0x0,'userID':_0x1c69e3,'memberID':_0x378e68,'mutations':_0x13bcae},'pendingMutations':[]};}function Ii(_0x57ab6c,_0x339a4f){var _0x7dbb86=_0x4ba233;const _0x1043af=new _0x3922ea(0x1);return setTimeout(()=>_0x1043af[_0x7dbb86(0x8d)](_0x339a4f),_0x57ab6c),_0x1043af[_0x7dbb86(0x1fe)]()[_0x7dbb86(0x1f5)](_0x476526(0x1));}const $s={'id':_0x52f0cf['id'],'type':_0x1f7adc[_0x4ba233(0x1db)],'params':{}};var Hs=Object[_0x4ba233(0x347)],Se=(_0x2fb725,_0x10d6fc,_0x371a99,_0x432573)=>{var _0x24839f=_0x4ba233;for(var _0x3ff4aa=_0x432573>0x1?void 0x0:_0x432573?Hs(_0x10d6fc,_0x371a99):_0x10d6fc,_0x26ae16=_0x2fb725[_0x24839f(0x333)]-0x1,_0xa45d08;_0x26ae16>=0x0;_0x26ae16--)(_0xa45d08=_0x2fb725[_0x26ae16])&&(_0x3ff4aa=_0xa45d08(_0x3ff4aa)||_0x3ff4aa);return _0x3ff4aa;},w=(_0x4bdc10,_0x5911f6)=>(_0x2bdf88,_0xb5a9f6)=>_0x5911f6(_0x2bdf88,_0xb5a9f6,_0x4bdc10),Si=(_0x1f56bd=>(_0x1f56bd[_0x4ba233(0xec)]=_0x4ba233(0xf4),_0x1f56bd[_0x4ba233(0x281)]=_0x4ba233(0xe9),_0x1f56bd[_0x4ba233(0x378)]=_0x4ba233(0x2b1),_0x1f56bd['AWAITING']='awaiting',_0x1f56bd[_0x4ba233(0xfe)]=_0x4ba233(0x3bd),_0x1f56bd[_0x4ba233(0x1cf)]=_0x4ba233(0x349),_0x1f56bd[_0x4ba233(0xaa)]=_0x4ba233(0x1e6),_0x1f56bd[_0x4ba233(0x231)]='offline',_0x1f56bd))(Si||{});function _0xc5f8(){var _0x20dd90=['RECV','onTransformRemoteChangesetByStateCache','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','extend','getTypeOfUnitAdded$','AUTHORIZE_CODE_ILLEGAL','_transformUndoredo','_ENC_XFORM_MODE','_getRedoStack','cfg','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','subject','_compressMutationService','charAt','OPTIONAL','subscribe','UPDATE_PERMISSION_OBJ','batchAllowed','/allowed','getCurrentUser','incrementRevOfUnit','UNIVER_SLIDE','saveImage','PY_RUNTIME_SCRIPT_ERROR','findIndex','CHANGESET_REJ','session.join-failed','href','PAYMENT_CHANNEL_NOT_SUPPORT','/universer-api/snapshot/','image/jpeg','resourceIDs','session.room-permission-denied','symbol','_executeRemoteChangeset','_transitionLocked','_keyPriorReset','[CollaborationUndoRedoService]','target','WECHAT_HAS_BEEN_BOUND','_singleActiveUnitService','toggleOffline','hostname','LIVESHARE_REQUEST_HOST','?size=','UPDATE_CURSOR','[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.','getResourcesRequest','_emitMembers','getValue','getRandomValues','UNIVER_DOC','_retryConnectingTimer','FETCH_MISSING','Could\x20not\x20dynamically\x20require\x20\x22','includes','floor','Base64','/universer-api/oidc/authpage','22vZmSmM','iterations','leaveEvent','csRejEvent','getSheetBlock','UNKNOWN_CODE','salt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CLOSE_ROOM','_mode','OTHER_CLIENTS_EDITING','_showConflictNotification','getCurrentRevOfUnit','_socketService','WordArray','words','[DataLoaderService]','_toggleOffline','max','SYNCED','PERSON','_cipher','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_HTTPService','_state','getImage','/rev/','_scheduleCompleteTimestamp','session','error','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','isArray','random','_logService','[OfflineState]:\x20received\x20changeset.','title','ceil','key','_onRemoteRejected','collaboration-client.local-cache-service','PERMISSION_REJ','init','_onRemoteChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_sender','ENTITLE_CAN_NOT_BUY_LOWER_OTP','image/png','DEFAULT_FILE_NAME','_permissionService','filter','updateCollaborator','csShouldRetryEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','capture','ClipsheetFragments','_unitInfo$','defineProperty','[PendingState]:\x20received\x20acknowledgement.','_telemetryInfo','_collaborationPaused','_startCollaboration','StreamCipher','CBC','resolve','_updateStatus','_queuedRemoteChangesets','image/jpg','pending','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','cmd','exports','TOO_MANY_REQUESTS','list','event$','81366wKKmax','readInt32LE','padding','/resources','FAIL','_collaborationTimeoutTimer','LIVESHARE_NEW_HOST','_entities','onCommentUpdate','_socketMessageSubscription','_doCryptBlock','__creator','ENTITLE_NEED_BILLING_ADDRESS','crypto','Malformed\x20UTF-8\x20data','INVITE_CODE_REQUIRED','_state$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','BlockCipher','JOIN_ROOM_PERMISSION_DENIED','UserProfileImg','LOGIN_TOKEN_PROCESSING_FAILED','USER_IS_ANONYMOUS','fetchThroughInterceptors','INVITE_CODE_HAS_BEEN_UES','fetchMiss','type','setConfig','deepClone','socket\x20close','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onTransformSelections','result','_timeoutTimer','_clearLocalCache','_eventService','startTime','INVALID_ARGUMENT','_transformSelections','YUUMI_ALL_TABLES_IS_INVALID','enableOfflineEditing','reconnect','_clearCollaborationTimeoutTimer','_map','COMPLETION_FINISHED','NEW_CHANGESETS','reduce','Pkcs7','1977EzFEAE','_clearRetryConnectingTimer','_entityInit$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getImageSourceCache','call','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','action','open$','params','collaMsg','MOBILE_HAS_BEEN_BOUND','ALREADY_EXISTS','getCollabEntity','Cipher','EMAIL_VERIFY_CODE_MISMATCH','7860UPICch','mode','enableCollaboration','ERROR_AGAIN','ENTITLE_CHAT_LIMIT_EXCEED','socketService','Failed\x20to\x20update\x20permission\x20point','[SyncedState]:\x20received\x20acknowledgement.','avatar','[CollaborationSessionService]:\x20socket\x20error','reset','fromCollab','10ALpORO','_resendTimer','onStarting','UUID','_DEC_XFORM_MODE','repeat','_sendingTimer','createSocket','encrypt','_awaitingChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','2407689zjKzVT','/fetchmissing?from=','find','getRoom','patch','dispose$','headers','_remoteChangesetQueue','_xformMode','csAckEvent','CipherParams','shouldCloseConn','update','CHANGESET_ACK','has','_updateLocalCache','body','PSEUDO_FETCH_MISSING_RESULT','USER_NOT_FOUND','UNIVER_UNKNOWN','UNKNOWN_CMD','_joinRoom','_socket','SHA1','_transformRemoteChangesetByStateCache','/universer-api/file/{fileID}/sign-url','_transformStack','requestParams','pad','_snapshotService','REDEMPTION_INVALID_CODE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[FetchMissState]','stringify','NO_OTHER_CLIENTS_EDITING','hasher','length','randomBytes','eventID','buffer','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LEAVE','memberID','map','offline','localeService','_syncEditingCollabCursor','_init','post','_memberService','encodeURIComponent','BlockCipherMode','send','range','_sheetTransformSelectionsService','_instanceService','getOwnPropertyDescriptor','onTransformRemoteChangesetByIMECache','fetch_missing','objects','apply','reqId','replace','onRemoteChangeset','uniscriptRunEvent','updatePermissionPoint','infoRsp','executeCommand','sessionStatus$','transformChangesets','_parse','setWaitCount','members$','HMAC','pluginName','_createHmacHelper','UNISCRIPT_RUN','getMember','subUnitId','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_undoRedoService','_rescheduleHeartbeat','transformUndoRedo','[CollaborationState]:\x20apply\x20error!','_config','[OfflineState]:\x20received\x20rejection.','LIVESHARE_TERMINATE','origin','SUBMIT_CHANGESET','_httpService','_commandService','70HdOBcP','_injector','getTime','OTHER_CLIENT_EDITING','from','UNRECOGNIZED','_submitChangeset','/universer-api/snapshot','_clearScheduledTask','disposeWithMe','_replayCachedMutations','blockSize','_createInitialState','getCollabEntity$','PENDING','getInterceptPoints','RETRY_CONNECTING_MAX_COUNT','263244izaoXV','_exhaustRemoteChangesetQueue','_process','min','_commentUpdate$','UNIVER_PROJECT','newCsEvent','closeSession','CHANGESET_SHOULD_RETRY','function','toggleOnline','commentUpdate$','getActiveSheet','abs','onSendChangeset','_telemetryService','_collabSessionService','COMPRESS_MUTATION_APPLY','/new_changes','/object/','now','sid','Hex','APPLY_REVISION_CONFILICT','180jciAlK','loginUrlKey','_changesetReqId','_event$','_clearUndo','compose','_oKey','Decryptor','_invKeySchedule','_initCloseConn','uploadFileServerUrl','retryConnectingInterval','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_type','ivSize','\x20to\x20','sin','\x0aAfter:\x20','_changesetSessionId','objectType','_localeService','updateCursorEvent','APPLY_DUPLICATED','YUUMI_RATE_OVER_LIMIT','_unlockTransition','then','_doReset','originalMeta','concat','unitId','method','entries','string','_onUserJoin','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_replaceFileID','&assign=','data','objectID','JOINING','create','_change$','awaiting_with_pending','push','_clearRedo','_schedule','file','[PendingState]:\x20received\x20rejection.','getConfig','enableSingleActiveInstanceLock','changesets','toString','unpad','fetchMissingChangesets','next','_tryEnsureSocket','USERS_ENTER','_isPermissionRej','liveShareOperation','_transformIMECache','_status$','_transformRemoteChangesetByIMECache','clamp','saveSheetBlock','SNAPSHOT_HAS_BEEN_REMOVED','createCollaborator','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_decreaseWaiting','copyFileMeta','workbook','resend','_univerInstanceService','_toggleOnline','_clearHeartbeatTimer','onMissingChangesets','_registerDependencies','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','socket\x20open.','fromCharCode','_getUndoStack','collaborators','createEncryptor','_unitID','CONFLICT','__esModule','getUnitOnRev','_key','members','_userManagerService','get','_initMergeInterceptor','_getUploadFileURL','compute','encryptBlock','awaitingChangeset','_shouldReportTelemetry','transformMutationsWithChangeset','_networkConditionService','addHandlerCallback','signUrlServerUrl','EMAIL_HAS_BEEN_BOUND','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_resendWithTimeout','enc','_handler','_onUserLeave','unknown','c2Prime','commentUpdateEvent','_getAPIPrefix','sigBytes','rev','error$','sheets','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','roomInfos','_initRequestHeader','[SyncedState]:\x20received\x20rejection.','_onRecvEvent','JOIN_ROOM_FULL','session.room-cnt-exceeds','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_ASYNCIO_CANCELLED','onSyncEditingCollabCursor','_hash','APPLY_REJECT','set','join','MD5','byteOffset','code','collaboratorID','_transformService','deleteCollaborator','c1Prime','kdf','_applyRemoteChangeset','COMMENT_UPDATE','location','_redoStacks','onTransformIME','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitEmbedded','putCollaborators','_imageSourceCache','HEARTBEAT','synced','1835ynNhkA','unitID','NOT_COLLAB','m2Prime','onTransformState','pauseCollaboration','SOCKET_FAILED','997336YazMwl','&to=','onCommandExecuted','not_collab','override','duration','close$','_clearTimeoutTimer','NoPadding','size','/collaborator','clone','awaiting','AWAITING_WITH_PENDING','HEARTBEAT_TIMEOUT','Undefined','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','_onMessage','HELLO','charCodeAt','getWorkbookSelections','_socket$','_nDataBytes','Encryptor','mixIn','LIVESHARE_FETCH_OPERATIONS','reject','_collaborationSessionService','UNAUTHENTICATED','save\x20fail\x20reason\x20is\x20','PERMISSION_DENIED','_initUnitPermissionChange','_startTelemetryCollaborationNewChangeset','[CollaborationSession]','msCrypto','interceptor','delete','ciphertext','image/bmp','setCurrentUser','status','allowed','_initDependencies','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','POST','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_disableEditing','decrypt','_lockTransition','_onRemoteACK','put','failed\x20to\x20apply\x20missed\x20changesets!','HmacSHA1','583HMzDwx','getFocusedUnit','every','listCollaborators','_roomMembers','_keySchedule','LICENSE_MAX_UNITS_EXCEEDED','getCurrentSelections','getUnitType','EvpKDF','slice','_onRemoteRetry','format','snapshotServerUrl','_onJoinRoomEvent','loadSheet','_nRounds','editingUnit','saveSnapshot','JOIN_ROOM_FAILED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','encode','_getSendChangesetTimeout','MOBILE_VERIFY_CODE_MISMATCH','_tryReconnect','x-univer-host','_scheduleCollaborationTimeoutTimer','_onFetchMissResult','_createInitialStateImpl','reverse','_sendHeartbeatTimer','_createHandler','UNIVER_SHEET','_createHelper','parse','loadUnit','updatePermissionObjEvent','localCacheService','YUUMI_CONNECTOR_URL_NOT_FOUND','_pendingMutations','$super','LOGIN_FAILED','joinEvent','GLOBAL_ROOMS_CNT_EXCEEDS','Base','clear','_substituteUndoStack','IDLE','responseType','getUnitStatus$','hasOwnProperty','CONNECTOR_DATA_TOO_LARGE','execute','SUCCUSS','&source=','ENTITLE_DUP_SUBSCRIPTION','People','_retryCount','_getAPIPrefixPath','_onConnectionOpen','_iKey','HmacMD5','auth.needGotoLoginAlert','_hasher','_sessions','focused$','_localCacheService','dispose','complete','univer-pro.collaboration-client-socket-service','onRemoteRej','/role','requireSession','ERROR_EXCEED_SIZE','_socketReady','fetching\x20missing\x20changesets\x20from\x20','onStateChange','Utf8','permissionRejEvent','url','_reverseMap','finalize','getAllMembers','_minBufferSize','_getCurrentRevision','SUBMIT_CHANGESET_TIMEOUT','collabSubmitChangesetUrl','_substituteRedoStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Error\x20on\x20receiving\x20event','unsubscribe','LICENSE_IMPORT_SIZE_EXCEEDED','COMPRESS_MUTATION_SEND','_throwTelemetryCollaborationNewChangeset','/block/','connection\x20error','message$','_append','JOIN_ROOM_NOT_EXISTS','_sessionStatus$','_getDownloadEndpointURL','LIVESHARE_OPERATION','setShowComponents','PasswordBasedCipher','_incrementRevisionNumber','_getLoginPath','REDEMPTION_CODE_FULLY_REDEEMED','_revisionService','onload','YUUMI_UNABLE_LOAD_URL','updateOfflineData','catch','_createSocket','UnitSnapshot','/unit/','getUnitId','addImageSourceCache','algo','ONLINE','Latin1','getTypeOfUnitDisposed$','_resendTimeout','removeMember','_onConnectionFailed','REDEMPTION_CODE_NOT_STARTED','add','UNDEFINED','_acknowledgedAwaitingChangeset','getUnit','appendMutation','prototype','JOIN','_candidateSocket','_transformStateCache','getLatestCsReqIdBySid','forEach','_undoStacks','SOCKET_FAILED_RETRY','roles','mutations','31687903nzNGyp','_onConflict','_data','/-/object/list','_listenToNetworkCondition','state','SNAPSHOT_INVALID_SNAPSHOT','actions','REDEMPTION_CODE_INACTIVE','[CollaborationEntity]','decryptBlock','values','createDecryptor','/universer-api/uniscript','USERS_LEAVE','default','keySize','byteLength','_configService','downloadEndpointUrl','AES','_getSignURL','getDeserializedSheetBlock','confirm','createInstance','onRemoteAck','OpenSSL','session.room-full','FETCH_MISS','emitEvent','HttpExport','indexOf','updateMember','_sendHeartbeat','transformSelections','_removeRoom','_waitForHeartbeatResponse','baseRev','collaboration_new_changeset','stopTime','MUTATION','authzUrl','liveShareNewHost','REDEMPTION_USER_REDEEM_TIMES_EXCEED','YUUMI_NO_CUBOID_FOR_QUESTION','__Key__','INTERNAL_ERROR','entityInit$','equals','_updateState','NOT_FOUND','conflict','substr','_members','saveChangeset','waitForRoom$','updateSnapshot','_roomCreated$','collaboration-client.config','_handlerCallback','APPLY_PERMISSION_DENIED','submit\x20changeset\x20error!','unitId\x20is\x20not\x20found','status$','_onCombEvent','listRoles','pipe','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','INGEST','REDEMPTION_USER_NOT_ELIGIBLE','registerHTTPInterceptor','snapshot','readAsDataURL','getSheetId','enableAuthServer','asObservable','routeKey','_waitCount','sessionStatus','USER_NOT_INVITED_CODE','_fetchMissChangesets','Hasher','close','getSnapshotAPIPath','splice','APPLY_NON_SEQUENTIAL_REVISION','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/universer-api/authz','unitInfo$','ws://127.0.0.1:8000/universer-api/comb/connect','_doFinalize','state$','BASE64','startsWith','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','REDEMPTION_CODE_HAS_BEEN_CREATED','_members$','LICENSE_DISTRO_REJECTED','_checkMissing','_collaborationUIEventService','INVALID_INVITE_CODE','onRemoteRetry','userID','YUUMI_AI_RUN_FAILED','loadOfflineData','ENTITLE_REPORT_LIMIT_EXCEED','loadUnitOfRevision','isPermissionRej','initWorkbookPermissionChange','lib','debug','BufferedBlockAlgorithm','MSG_FOR_ERROR','FileId','revision','_onLocalMutation','/universer-api/user/session-ticket','univer-pro.collaboration-client.single-active-unit-service','textRanges','name','SHOULD_CLOSE_CONN','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_prevBlock','_onOffline','ERROR_IMAGE','_iv','OFFLINE','_doProcessBlock'];_0xc5f8=function(){return _0x20dd90;};return _0xc5f8();}const gi=0xea60;class ge{constructor(_0x104c7f,_0x252958,_0x43e78b,_0x5db1e0,_0x746606,_0x816588,_0x534bc5,_0x46d547,_0x36d457){var _0x33493c=_0x4ba233;D(this,'_awaitingChangeset',null),D(this,_0x33493c(0x14e),[]),(this[_0x33493c(0xeb)]=_0x104c7f,this[_0x33493c(0x2d2)]=_0x252958,this['_handler']=_0x746606,this[_0x33493c(0x369)]=_0x816588,this['_undoRedoService']=_0x534bc5,this[_0x33493c(0x192)]=_0x46d547,this['_localCacheService']=_0x36d457,this[_0x33493c(0x30d)]=_0x43e78b,this['_pendingMutations']=_0x5db1e0);}[_0x4ba233(0x215)](_0x210b77){var _0x56ee4f=_0x4ba233;const _0x47e9df=this[_0x56ee4f(0x192)]['getCurrentRevOfUnit'](this[_0x56ee4f(0xeb)]);return _0x210b77['revision']>_0x47e9df+0x1?(this[_0x56ee4f(0xbf)][_0x56ee4f(0xa1)]({'from':_0x47e9df,'to':_0x210b77[_0x56ee4f(0x225)]-0x1}),!0x0):!0x1;}[_0x4ba233(0x239)](_0xe4767){var _0x26953d=_0x4ba233;this[_0x26953d(0x35f)]['transformUndoRedo'](this['unitID'],_0xe4767);}[_0x4ba233(0x2de)](_0xc6a6f6){var _0x1b51c8=_0x4ba233,_0x495ef4,_0x1c467c;(_0x1c467c=(_0x495ef4=this[_0x1b51c8(0xbf)])[_0x1b51c8(0x2d7)])==null||_0x1c467c['call'](_0x495ef4,_0xc6a6f6);}[_0x4ba233(0x92)](_0x451d49){var _0x586f74=_0x4ba233,_0x48880b,_0x37a49e;return(_0x37a49e=(_0x48880b=this[_0x586f74(0xbf)])[_0x586f74(0xe3)])==null?void 0x0:_0x37a49e[_0x586f74(0x2ed)](_0x48880b,_0x451d49);}[_0x4ba233(0x1ac)](_0x2d5c5a){var _0x5bc795=_0x4ba233,_0x7fd566,_0x2efcda;return(_0x2efcda=(_0x7fd566=this[_0x5bc795(0xbf)])[_0x5bc795(0xee)])==null?void 0x0:_0x2efcda[_0x5bc795(0x2ed)](_0x7fd566,_0x2d5c5a);}[_0x4ba233(0x94)](_0x17f623){var _0x447335=_0x4ba233,_0x57cae8,_0x3cbec2,_0x21f097;return(_0x21f097=(_0x3cbec2=(_0x57cae8=this['_handler'])[_0x447335(0x348)])==null?void 0x0:_0x3cbec2['call'](_0x57cae8,_0x17f623))!=null?_0x21f097:_0x17f623;}[_0x4ba233(0x327)](_0x71ec52){var _0x3b06ba=_0x4ba233,_0x33513b,_0xcacdae,_0x1380c0;return(_0x1380c0=(_0xcacdae=(_0x33513b=this[_0x3b06ba(0xbf)])[_0x3b06ba(0x234)])==null?void 0x0:_0xcacdae[_0x3b06ba(0x2ed)](_0x33513b,_0x71ec52))!=null?_0x1380c0:_0x71ec52;}[_0x4ba233(0x33d)](_0x1bb971){var _0x44d264=_0x4ba233,_0x26067b,_0x436f19;if(this[_0x44d264(0x2d2)]===Q[_0x44d264(0x266)]){const {unitID:_0xc9586d,mutations:_0x4d9388,memberID:_0x231199}=_0x1bb971,_0x618c3b=_0x4d9388[0x0][_0x44d264(0x2f1)][_0x44d264(0x229)];Array['isArray'](_0x618c3b)&&_0x618c3b[_0x44d264(0x333)]>0x0&&((_0x436f19=(_0x26067b=this[_0x44d264(0xbf)])['onSyncEditingCollabCursor'])==null||_0x436f19['call'](_0x26067b,{'unitID':_0xc9586d,'memberID':_0x231199,'textRanges':_0x618c3b}));}}[_0x4ba233(0x31e)](){var _0x2063bb=_0x4ba233,_0x183656;(_0x183656=this['_localCacheService'])==null||_0x183656['updateOfflineData'](this[_0x2063bb(0xeb)],this[_0x2063bb(0x2d2)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x4ba233(0x17b)](){var _0xc26e71=_0x4ba233;return this[_0xc26e71(0x192)][_0xc26e71(0x27a)](this[_0xc26e71(0xeb)]);}[_0x4ba233(0x18f)](){var _0x261980=_0x4ba233;this[_0x261980(0x192)][_0x261980(0x247)](this[_0x261980(0xeb)]);}[_0x4ba233(0x255)](_0x3ac796){var _0x2b253d=_0x4ba233,_0x277258;let _0x3cba3a=this[_0x2b253d(0x94)](_0x3ac796);_0x3cba3a=this[_0x2b253d(0x327)](_0x3cba3a);const _0x515618=_0x376eba(_0x3cba3a['mutations'],this[_0x2b253d(0x369)],{'fromCollab':!0x0});if(!_0x515618[_0x2b253d(0x2d8)])throw _0x515618[_0x2b253d(0x28b)]instanceof Error?_0x515618[_0x2b253d(0x28b)]:new Error((_0x277258=_0x515618[_0x2b253d(0x28b)])!=null?_0x277258:_0x2b253d(0x362));this[_0x2b253d(0x92)](_0x3cba3a),this[_0x2b253d(0x1ac)](_0x3cba3a),this[_0x2b253d(0x239)](_0x3ac796),this[_0x2b253d(0x2de)](_0x3cba3a),this[_0x2b253d(0x33d)](_0x3cba3a),this[_0x2b253d(0x18f)]();}}let be=class extends ge{constructor(_0x566f22,_0x194dc9,_0x513e3c,_0x471cb7,_0x3c1966,_0x1429f5,_0xef518c,_0x32c74d,_0x1ab87f,_0x33f28c){var _0x1e23e6=_0x4ba233;super(_0x566f22,_0x194dc9,null,[],_0x513e3c,_0xef518c,_0x1429f5,_0x471cb7,_0x33f28c),D(this,_0x1e23e6(0x11a),'synced'),(this['_injector']=_0x3c1966,this[_0x1e23e6(0x28f)]=_0x32c74d,this[_0x1e23e6(0xdb)]=_0x1ab87f,this[_0x1e23e6(0x14c)]=_0x33f28c);}[_0x4ba233(0x1a8)](_0x2628b4){var _0x5bccd8=_0x4ba233;const _0x1077e2=this[_0x5bccd8(0x36b)][_0x5bccd8(0x1cb)](ae,this['unitID'],this[_0x5bccd8(0x2d2)],[_0x2628b4],this[_0x5bccd8(0xbf)]);return _0x1077e2[_0x5bccd8(0x3c0)](),_0x1077e2[_0x5bccd8(0x31e)](),_0x1077e2;}[_0x4ba233(0x34e)](_0xc8c79){var _0x20e748=_0x4ba233;if(this[_0x20e748(0x215)](_0xc8c79))return this[_0x20e748(0x36b)][_0x20e748(0x1cb)](ee,this['unitID'],this[_0x20e748(0x2d2)],null,[],null,[_0xc8c79],this[_0x20e748(0xbf)]);try{const _0x57764c=this['_transformService'][_0x20e748(0xb7)](_0xc8c79,[$s]);if(_0x2210df(_0x57764c)){const {c1Prime:_0x599b24}=_0x57764c;return this[_0x20e748(0x255)](_0x599b24),this;}throw _0x57764c[_0x20e748(0x28b)];}catch(_0x213abb){return this[_0x20e748(0x28f)][_0x20e748(0x28b)](_0x213abb),this[_0x20e748(0x1b4)](!0x1);}}['_onConflict'](_0x316aa0){var _0x1bb4f7=_0x4ba233;return this[_0x1bb4f7(0x36b)]['createInstance'](ue,this[_0x1bb4f7(0xeb)],this[_0x1bb4f7(0x2d2)],null,[],this[_0x1bb4f7(0xbf)],_0x316aa0);}[_0x4ba233(0x1cc)](){var _0x3ede6c=_0x4ba233;throw new Error(_0x3ede6c(0x2ff));}['onRemoteRej'](){var _0x472013=_0x4ba233;throw new Error(_0x472013(0xcc));}['onRemoteRetry'](){return this;}[_0x4ba233(0x25c)](){var _0x5709f5=_0x4ba233;return this[_0x5709f5(0x36b)][_0x5709f5(0x1cb)](de,this[_0x5709f5(0xeb)],this[_0x5709f5(0x2d2)],null,[],this[_0x5709f5(0xbf)]);}[_0x4ba233(0x385)](){return this;}[_0x4ba233(0x9d)](){var _0xc03b9f=_0x4ba233;throw new Error(_0xc03b9f(0x2ee));}[_0x4ba233(0x2d1)](){var _0x34ee70=_0x4ba233;const _0x10ccc=this['_revisionService'][_0x34ee70(0x27a)](this[_0x34ee70(0xeb)]);return this[_0x34ee70(0xbf)][_0x34ee70(0xa1)]({'from':_0x10ccc,'to':0x0}),this[_0x34ee70(0x36b)]['createInstance'](ee,this[_0x34ee70(0xeb)],this[_0x34ee70(0x2d2)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x51a12c(_0x2ef779)),w(0x4,_0x51a12c(_0x15f0b3)),w(0x5,_0x13e287),w(0x6,_0x3cf5e9),w(0x7,_0x4d666b),w(0x8,_0x4ff1ba),w(0x9,_0x22c1ae(J))],be);let ae=class extends ge{constructor(_0x1d649f,_0xddd3d7,_0x6657f6,_0xd59dd5,_0x2f586d,_0x5a0dd4,_0x4f77eb,_0x1cd9fa,_0x315177,_0x13d3d5,_0x1146c2,_0x1f5e35,_0x11225e,_0x49f8d6){var _0x14243a=_0x4ba233;super(_0x1d649f,_0xddd3d7,null,_0x6657f6,_0xd59dd5,_0x315177,_0x11225e,_0x5a0dd4,_0x49f8d6),D(this,_0x14243a(0x11a),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x14243a(0x30a),null),(this['_injector']=_0x2f586d,this[_0x14243a(0x340)]=_0x4f77eb,this[_0x14243a(0x28f)]=_0x1cd9fa,this[_0x14243a(0x1c5)]=_0x13d3d5,this[_0x14243a(0xdb)]=_0x1146c2,this[_0x14243a(0x9e)]=_0x1f5e35);}[_0x4ba233(0x1a8)](_0x5dbcb9){var _0x5f0dc4=_0x4ba233;return this['_pendingMutations'][_0x5f0dc4(0x3be)](_0x5dbcb9),this['_updateLocalCache'](),this;}[_0x4ba233(0x34e)](_0x34bbc7){var _0x104f51=_0x4ba233;if(this[_0x104f51(0x215)](_0x34bbc7))return this[_0x104f51(0x372)](),this['_injector'][_0x104f51(0x1cb)](ee,this[_0x104f51(0xeb)],this[_0x104f51(0x2d2)],null,this[_0x104f51(0x14e)],null,[_0x34bbc7],this[_0x104f51(0xbf)]);try{const _0x51a06f=this[_0x104f51(0xdb)][_0x104f51(0xb7)](_0x34bbc7,this['_pendingMutations']);if(_0x2210df(_0x51a06f)){const {c1Prime:_0x32e745,m2Prime:_0x37e637}=_0x51a06f;this[_0x104f51(0x255)](_0x32e745);const _0x5089e7=this['_injector'][_0x104f51(0x1cb)](ae,this[_0x104f51(0xeb)],this[_0x104f51(0x2d2)],_0x37e637,this[_0x104f51(0xbf)]);this[_0x104f51(0x372)]();const _0x2a9e2e=new Date()[_0x104f51(0x36c)](),_0x11381c=this[_0x104f51(0x289)]?Math['max'](this[_0x104f51(0x289)]-_0x2a9e2e,0x0):this[_0x104f51(0x13d)]();return _0x5089e7[_0x104f51(0x3c0)](_0x11381c),_0x5089e7;}throw _0x51a06f[_0x104f51(0x28b)];}catch(_0x38a2c7){return this[_0x104f51(0x28f)][_0x104f51(0x28b)](_0x38a2c7),this[_0x104f51(0x1b4)](!0x1);}}[_0x4ba233(0x1cc)](){var _0x4b02ab=_0x4ba233;throw new Error(_0x4b02ab(0x2a7));}['onRemoteRej'](){var _0x50bf3c=_0x4ba233;throw new Error(_0x50bf3c(0x3c2));}[_0x4ba233(0x218)](){return this;}[_0x4ba233(0x25c)](){var _0x18aedc=_0x4ba233;return this[_0x18aedc(0x372)](),this[_0x18aedc(0x36b)]['createInstance'](de,this[_0x18aedc(0xeb)],this[_0x18aedc(0x2d2)],null,this['_pendingMutations'],this[_0x18aedc(0xbf)]);}[_0x4ba233(0x385)](){return this;}[_0x4ba233(0x3c0)](_0x35aded){var _0x4f3b59=_0x4ba233;const _0x5e06f0=_0x35aded!=null?_0x35aded:this[_0x4f3b59(0x13d)]();this[_0x4f3b59(0x289)]=new Date()['getTime']()+_0x5e06f0,this[_0x4f3b59(0x30a)]=setTimeout(()=>{var _0x283ac6=_0x4f3b59;this[_0x283ac6(0x372)]();let _0x534649=null;switch(this[_0x283ac6(0x2d2)]){case Q['UNIVER_SHEET']:{_0x534649=Gt(this[_0x283ac6(0x14e)],this[_0x283ac6(0xeb)],this[_0x283ac6(0x9e)],this[_0x283ac6(0x192)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x283ac6(0x129)](_0x5ad817=>_0x5ad817['id']===_0x41d62b['id'])?_0x534649=ks(this[_0x283ac6(0x14e)],this['unitID'],this[_0x283ac6(0x9e)],this[_0x283ac6(0x192)],this[_0x283ac6(0x340)]):_0x534649=Gt(this['_pendingMutations'],this[_0x283ac6(0xeb)],this[_0x283ac6(0x9e)],this[_0x283ac6(0x192)],this[_0x283ac6(0x340)]);break;}default:throw new Error(_0x283ac6(0x2eb)+this[_0x283ac6(0x2d2)]+'\x20in\x20_schedule.');}const {changeset:_0x477102,pendingMutations:_0x5085dd}=_0x534649;this[_0x283ac6(0xbf)]['onSendChangeset'](_0x477102);const _0x2b9205=_0x5085dd[_0x283ac6(0x333)]?this[_0x283ac6(0x36b)][_0x283ac6(0x1cb)](oe,this[_0x283ac6(0xeb)],this[_0x283ac6(0x2d2)],_0x477102,_0x5085dd,this['_handler'],void 0x0):this[_0x283ac6(0x36b)][_0x283ac6(0x1cb)](le,this[_0x283ac6(0xeb)],this['type'],_0x477102,this[_0x283ac6(0xbf)]);_0x2b9205[_0x283ac6(0x31e)](),this['_handler'][_0x283ac6(0x173)](this,_0x2b9205);},_0x5e06f0);}['_getSendChangesetTimeout'](){var _0x58132e=_0x4ba233,_0x3878d2;const _0xc9307e=this[_0x58132e(0x1c5)][_0x58132e(0x3c3)](K);return(_0x3878d2=_0xc9307e==null?void 0x0:_0xc9307e['sendChangesetTimeout'])!=null?_0x3878d2:ps;}[_0x4ba233(0x9d)](){var _0x216fcd=_0x4ba233;throw new Error(_0x216fcd(0x235));}['_clearScheduledTask'](){var _0x33b34f=_0x4ba233;this[_0x33b34f(0x30a)]!=null&&(clearTimeout(this[_0x33b34f(0x30a)]),this[_0x33b34f(0x30a)]=null);}[_0x4ba233(0x1b4)](_0x3d6a54){var _0x2a70bf=_0x4ba233;return this[_0x2a70bf(0x372)](),this[_0x2a70bf(0x36b)][_0x2a70bf(0x1cb)](ue,this['unitID'],this[_0x2a70bf(0x2d2)],null,this[_0x2a70bf(0x14e)],this[_0x2a70bf(0xbf)],_0x3d6a54);}};ae=Se([w(0x4,_0x51a12c(_0x15f0b3)),w(0x5,_0x51a12c(_0x2ef779)),w(0x6,_0x51a12c(Pe)),w(0x7,_0x4d666b),w(0x8,_0x3cf5e9),w(0x9,_0x427ac7),w(0xa,_0x4ff1ba),w(0xb,_0x5af922),w(0xc,_0x13e287),w(0xd,_0x22c1ae(J))],ae);let le=class extends ge{constructor(_0x3100da,_0x593236,_0x341703,_0x81dcc6,_0x4d8f61,_0x8541b,_0xed560d,_0x3001a9,_0x30eef8,_0x5b37d0,_0x35bc17){var _0xb7ea0c=_0x4ba233;super(_0x3100da,_0x593236,_0x341703,[],_0x81dcc6,_0xed560d,_0x5b37d0,_0x8541b,_0x35bc17),D(this,_0xb7ea0c(0x11a),_0xb7ea0c(0xfd)),D(this,_0xb7ea0c(0x1a0),0x0),D(this,_0xb7ea0c(0x305)),D(this,'_sender'),(this[_0xb7ea0c(0x36b)]=_0x4d8f61,this[_0xb7ea0c(0x28f)]=_0x3001a9,this[_0xb7ea0c(0xdb)]=_0x30eef8);}[_0x4ba233(0x1a8)](_0x1f541f){var _0x1cce25=_0x4ba233;this['_clearScheduledTask']();const _0x299109=this[_0x1cce25(0x36b)][_0x1cce25(0x1cb)](oe,this[_0x1cce25(0xeb)],this['type'],this[_0x1cce25(0x30d)],[_0x1f541f],this[_0x1cce25(0xbf)],this[_0x1cce25(0x305)]);return _0x299109[_0x1cce25(0x31e)](),_0x299109;}[_0x4ba233(0x34e)](_0x5363f5){var _0x53e98c=_0x4ba233;if(this[_0x53e98c(0x215)](_0x5363f5))return this[_0x53e98c(0x372)](),this['_injector'][_0x53e98c(0x1cb)](ee,this[_0x53e98c(0xeb)],this[_0x53e98c(0x2d2)],this[_0x53e98c(0x30d)],[],null,[_0x5363f5],this['_handler']);try{const _0x52ba85=this[_0x53e98c(0xdb)]['transformChangesets']([_0x5363f5],[this[_0x53e98c(0x30d)]],!0x1);if(_0x3c8cc7(_0x52ba85)){const {c1Prime:_0x29cfdc,c2Prime:_0xdd08a5}=_0x52ba85;this[_0x53e98c(0x255)](_0x29cfdc[0x0]),_0xdd08a5[0x0][_0x53e98c(0x1d8)]=this['_getCurrentRevision'](),this[_0x53e98c(0x372)]();const _0x53e212=this[_0x53e98c(0x36b)][_0x53e98c(0x1cb)](le,this[_0x53e98c(0xeb)],this['type'],_0xdd08a5[0x0],this['_handler']);return _0x53e212[_0x53e98c(0x31e)](),_0x53e212;}return this[_0x53e98c(0x1b4)](!0x1);}catch(_0x5417d2){return this[_0x53e98c(0x28f)][_0x53e98c(0x28b)](_0x5417d2),this[_0x53e98c(0x1b4)](!0x1);}}['onRemoteAck'](_0x55a40b){var _0x3cc7b3=_0x4ba233;this[_0x3cc7b3(0x372)]();const _0x37672e=this[_0x3cc7b3(0x192)][_0x3cc7b3(0x27a)](this[_0x3cc7b3(0xeb)]);if(_0x55a40b[_0x3cc7b3(0x225)]<_0x37672e-0x1)return this;if(this[_0x3cc7b3(0x215)](_0x55a40b))return this[_0x3cc7b3(0x36b)][_0x3cc7b3(0x1cb)](ee,this['unitID'],this[_0x3cc7b3(0x2d2)],null,[],this[_0x3cc7b3(0x30d)],[],this['_handler']);this[_0x3cc7b3(0x18f)]();const _0x3cbd57=this[_0x3cc7b3(0x36b)][_0x3cc7b3(0x1cb)](be,this['unitID'],this[_0x3cc7b3(0x2d2)],this['_handler']);return _0x3cbd57[_0x3cc7b3(0x31e)](),_0x3cbd57;}[_0x4ba233(0x16d)](_0x3e57e8){var _0x50b397=_0x4ba233;return this[_0x50b397(0x1b4)](!!(_0x3e57e8!=null&&_0x3e57e8[_0x50b397(0x21e)]));}[_0x4ba233(0x218)](_0x565dfe){var _0x223f1c=_0x4ba233;return this['_resendTimeout']>gi?this[_0x223f1c(0x25c)]():(this['_resendTimer']=Ii(this[_0x223f1c(0x1a0)],{'timeout':this[_0x223f1c(0x1a0)],'reqId':_0x565dfe[_0x223f1c(0x34c)]}),this[_0x223f1c(0x29a)]=this['_resendTimer'][_0x223f1c(0x242)](({reqId:_0x931f74,timeout:_0x1dddc2})=>{var _0x1f4156=_0x223f1c;this[_0x1f4156(0xbd)](_0x931f74,_0x1dddc2);}),this);}['toggleOffline'](){var _0x32df12=_0x4ba233;return this[_0x32df12(0x372)](),this[_0x32df12(0x36b)][_0x32df12(0x1cb)](de,this['unitID'],this[_0x32df12(0x2d2)],this[_0x32df12(0x30d)],[],this[_0x32df12(0xbf)]);}[_0x4ba233(0x385)](){return this;}[_0x4ba233(0x9d)](){var _0x119a5d=_0x4ba233;this[_0x119a5d(0xbf)]['onSendChangeset'](this[_0x119a5d(0x30d)]);}[_0x4ba233(0x1b4)](_0x5633d5){var _0x493e3=_0x4ba233;return this[_0x493e3(0x372)](),this['_injector'][_0x493e3(0x1cb)](ue,this[_0x493e3(0xeb)],this[_0x493e3(0x2d2)],this[_0x493e3(0x30d)],[],this[_0x493e3(0xbf)],_0x5633d5);}[_0x4ba233(0xbd)](_0xdd67e9,_0x524df6){var _0x184c00=_0x4ba233,_0x5aadd8;_0xdd67e9===((_0x5aadd8=this[_0x184c00(0x30d)])==null?void 0x0:_0x5aadd8[_0x184c00(0x34c)])&&(this['resend'](),this[_0x184c00(0x1a0)]=_0x524df6===0x0?0x3e8:_0x524df6*0x2);}[_0x4ba233(0x372)](){var _0x55a632=_0x4ba233,_0x382df8;(_0x382df8=this[_0x55a632(0x29a)])==null||_0x382df8[_0x55a632(0x181)](),this[_0x55a632(0x1a0)]=0x0;}};le=Se([w(0x4,_0x51a12c(_0x15f0b3)),w(0x5,_0x51a12c(_0x2ef779)),w(0x6,_0x3cf5e9),w(0x7,_0x4d666b),w(0x8,_0x4ff1ba),w(0x9,_0x13e287),w(0xa,_0x22c1ae(J))],le);let oe=class extends ge{constructor(_0x3db10e,_0x3e11df,_0x3bec81,_0x2a1a5b,_0xbf8cbb,_0x43b09c,_0x40970a,_0x25f3dc,_0x423355,_0x385540,_0x5ab096,_0x48d2d3,_0x55c268){var _0x5d8542=_0x4ba233;super(_0x3db10e,_0x3e11df,_0x3bec81,_0x2a1a5b,_0xbf8cbb,_0x423355,_0x48d2d3,_0x25f3dc,_0x55c268),D(this,_0x5d8542(0x11a),'awaiting_with_pending'),D(this,_0x5d8542(0x1a0),0x0),D(this,_0x5d8542(0x305)),D(this,_0x5d8542(0x29a)),(this[_0x5d8542(0x36b)]=_0x40970a,this[_0x5d8542(0x28f)]=_0x385540,this['_transformService']=_0x5ab096,this['localCacheService']=_0x55c268,_0x43b09c&&(this[_0x5d8542(0x305)]=_0x43b09c,this[_0x5d8542(0x29a)]=this[_0x5d8542(0x305)]['subscribe'](({reqId:_0x2269a1,timeout:_0x3e5bae})=>{var _0x29659b=_0x5d8542;this[_0x29659b(0xbd)](_0x2269a1,_0x3e5bae);})));}[_0x4ba233(0x1a8)](_0x37d354){var _0x442e3a=_0x4ba233;return this[_0x442e3a(0x14e)][_0x442e3a(0x3be)](_0x37d354),this;}[_0x4ba233(0x34e)](_0x438320){var _0x48c496=_0x4ba233;if(this[_0x48c496(0x215)](_0x438320))return this[_0x48c496(0x372)](),this[_0x48c496(0x36b)]['createInstance'](ee,this['unitID'],this[_0x48c496(0x2d2)],this[_0x48c496(0x30d)],this[_0x48c496(0x14e)],null,[_0x438320],this[_0x48c496(0xbf)]);try{const _0x65a6d1=this[_0x48c496(0xdb)][_0x48c496(0x354)]([_0x438320],[this[_0x48c496(0x30d)]],!0x1);if(_0x3c8cc7(_0x65a6d1)){const {c1Prime:_0x4a5846,c2Prime:_0x3348b2}=_0x65a6d1,_0x1dac98=this['_transformService'][_0x48c496(0xb7)](_0x4a5846[0x0],this['_pendingMutations']);if(_0x2210df(_0x1dac98)){const {c1Prime:_0x8ece2a,m2Prime:_0x4873cc}=_0x1dac98;return this[_0x48c496(0x255)](_0x8ece2a),_0x3348b2[0x0][_0x48c496(0x1d8)]=this[_0x48c496(0x17b)](),this[_0x48c496(0x372)](),this[_0x48c496(0x36b)]['createInstance'](oe,this[_0x48c496(0xeb)],this[_0x48c496(0x2d2)],_0x3348b2[0x0],_0x4873cc,this[_0x48c496(0xbf)],void 0x0);}throw _0x1dac98[_0x48c496(0x28b)];}throw _0x65a6d1[_0x48c496(0x28b)];}catch(_0x2f7682){return this[_0x48c496(0x28f)]['error'](_0x2f7682),this[_0x48c496(0x1b4)](!0x1);}}['onRemoteAck'](_0x13aaf8){var _0x2978a1=_0x4ba233;if(this[_0x2978a1(0x372)](),this[_0x2978a1(0x215)](_0x13aaf8))return this[_0x2978a1(0x36b)][_0x2978a1(0x1cb)](ee,this[_0x2978a1(0xeb)],this[_0x2978a1(0x2d2)],null,this[_0x2978a1(0x14e)],this[_0x2978a1(0x30d)],[],this['_handler']);this[_0x2978a1(0x18f)]();const _0x4d97c4=this[_0x2978a1(0x36b)][_0x2978a1(0x1cb)](ae,this['unitID'],this[_0x2978a1(0x2d2)],this['_pendingMutations'],this[_0x2978a1(0xbf)]);return _0x4d97c4[_0x2978a1(0x3c0)](),_0x4d97c4[_0x2978a1(0x31e)](),_0x4d97c4;}[_0x4ba233(0x16d)](_0x470d2b){var _0x156b35=_0x4ba233;return this['_onConflict'](!!(_0x470d2b!=null&&_0x470d2b[_0x156b35(0x21e)]));}[_0x4ba233(0x218)](_0x279ec5){var _0x41cc89=_0x4ba233;return this['_resendTimeout']>gi?this[_0x41cc89(0x25c)]():(this[_0x41cc89(0x305)]=Ii(this[_0x41cc89(0x1a0)],{'timeout':this[_0x41cc89(0x1a0)],'reqId':_0x279ec5[_0x41cc89(0x34c)]}),this['_sender']=this['_resendTimer'][_0x41cc89(0x242)](({reqId:_0x595e43,timeout:_0xfe6f57})=>{var _0x24f01c=_0x41cc89;this[_0x24f01c(0xbd)](_0x595e43,_0xfe6f57);}),this);}[_0x4ba233(0x25c)](){var _0xe2984=_0x4ba233;return this[_0xe2984(0x372)](),this[_0xe2984(0x36b)][_0xe2984(0x1cb)](de,this[_0xe2984(0xeb)],this[_0xe2984(0x2d2)],this[_0xe2984(0x30d)],this[_0xe2984(0x14e)],this[_0xe2984(0xbf)]);}[_0x4ba233(0x385)](){return this;}[_0x4ba233(0x9d)](){var _0x513d64=_0x4ba233;this[_0x513d64(0xbf)][_0x513d64(0x389)](this[_0x513d64(0x30d)]);}[_0x4ba233(0x1b4)](_0x5e1086){var _0x28834d=_0x4ba233;return this[_0x28834d(0x372)](),this['_injector'][_0x28834d(0x1cb)](ue,this[_0x28834d(0xeb)],this[_0x28834d(0x2d2)],null,this['_pendingMutations'],this[_0x28834d(0xbf)],_0x5e1086);}[_0x4ba233(0xbd)](_0x16366f,_0x12322b){var _0x20dc2a=_0x4ba233,_0x50b140;_0x16366f===((_0x50b140=this[_0x20dc2a(0x30d)])==null?void 0x0:_0x50b140['reqId'])&&(this[_0x20dc2a(0x9d)](),this[_0x20dc2a(0x1a0)]=_0x12322b===0x0?0x3e8:_0x12322b*0x2);}['_clearScheduledTask'](){var _0x1faa76=_0x4ba233,_0x51bd30;(_0x51bd30=this[_0x1faa76(0x29a)])==null||_0x51bd30[_0x1faa76(0x181)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x51a12c(_0x15f0b3)),w(0x7,_0x51a12c(_0x2ef779)),w(0x8,_0x3cf5e9),w(0x9,_0x4d666b),w(0xa,_0x4ff1ba),w(0xb,_0x13e287),w(0xc,_0x22c1ae(J))],oe);let ue=class extends ge{constructor(_0x1f0941,_0x49bfb5,_0x21f342,_0x2d49e2,_0x789049,_0x1f5e78=!0x1,_0x398eff,_0x4321de,_0x2e9943,_0x1c95c8,_0x598861,_0x4c678c,_0x3399ca){var _0x21651=_0x4ba233;super(_0x1f0941,_0x49bfb5,_0x21f342,_0x2d49e2,_0x789049,_0x4321de,_0x2e9943,_0x1c95c8,_0x3399ca),D(this,_0x21651(0x11a),_0x21651(0x1e6)),(this[_0x21651(0x90)]=_0x1f5e78,this[_0x21651(0x29e)]=_0x398eff,this[_0x21651(0x3a7)]=_0x598861,this[_0x21651(0x216)]=_0x4c678c,this['localCacheService']=_0x3399ca,this[_0x21651(0x279)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x4ba233(0x34e)](){return this;}['onRemoteAck'](){return this;}[_0x4ba233(0x16d)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x4ba233(0x385)](){return this;}[_0x4ba233(0x9d)](){var _0x3cf826=_0x4ba233;throw new Error(_0x3cf826(0x3b5));}[_0x4ba233(0x2da)](){var _0x1cae84=_0x4ba233,_0x3540ff;(_0x3540ff=this[_0x1cae84(0x169)])==null||_0x3540ff[_0x1cae84(0x195)](this['unitID'],this['type'],null,[]);}[_0x4ba233(0x279)](){var _0x4847e5=_0x4ba233;this[_0x4847e5(0x90)]?this['_collaborationUIEventService'][_0x4847e5(0x1d0)]({'id':re[_0x4847e5(0x110)]}):this[_0x4847e5(0x216)][_0x4847e5(0x1d0)]({'id':re[_0x4847e5(0xaa)]});}[_0x4ba233(0x120)](){var _0x586c2c=_0x4ba233;this[_0x586c2c(0x29e)]['updatePermissionPoint'](new _0x46fb09(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x51a12c(_0xfeab62)),w(0x7,_0x3cf5e9),w(0x8,_0x13e287),w(0x9,_0x51a12c(_0x2ef779)),w(0xa,_0x51a12c(_0x3abb4d)),w(0xb,_0x51a12c(ve)),w(0xc,_0x22c1ae(J))],ue);let de=class extends ge{constructor(_0x3ee802,_0x1f8871,_0x2614de,_0xa8bdaf,_0x5095bb,_0x5aca46,_0x83a0fb,_0x7dac94,_0x3ae856,_0x7958d){var _0x1eb7a7=_0x4ba233;super(_0x3ee802,_0x1f8871,_0x2614de,_0xa8bdaf,_0x5095bb,_0x7dac94,_0x3ae856,_0x83a0fb,_0x7958d),D(this,_0x1eb7a7(0x11a),_0x1eb7a7(0x33b)),this[_0x1eb7a7(0x36b)]=_0x5aca46;}['appendMutation'](_0x91f4ae){var _0x16c688=_0x4ba233;return this[_0x16c688(0x14e)]['push'](_0x91f4ae),this[_0x16c688(0x31e)](),this;}[_0x4ba233(0x34e)](_0xcc3ece){var _0x49efef=_0x4ba233;throw new Error(_0x49efef(0x290));}[_0x4ba233(0x1cc)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4ba233(0x16d)](){var _0x2b7c44=_0x4ba233;throw new Error(_0x2b7c44(0x364));}[_0x4ba233(0x218)](){return this;}['toggleOffline'](){return this;}[_0x4ba233(0x385)](){var _0x59a164=_0x4ba233;const {_injector:_0x7cb449,_pendingMutations:_0x342ce8,_awaitingChangeset:_0x446a21,unitID:_0x4b2770,_handler:_0x3a892c,type:_0x37d1b5}=this,_0xfb397a=Ti(_0x7cb449,_0x4b2770,_0x37d1b5,_0x446a21,_0x342ce8,_0x3a892c);return _0xfb397a instanceof ae?_0xfb397a[_0x59a164(0x3c0)]():(_0xfb397a instanceof oe||_0xfb397a instanceof le)&&_0xfb397a[_0x59a164(0x9d)](),_0xfb397a;}[_0x4ba233(0x9d)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x51a12c(_0x15f0b3)),w(0x6,_0x51a12c(_0x2ef779)),w(0x7,_0x3cf5e9),w(0x8,_0x13e287),w(0x9,_0x22c1ae(J))],de);let ee=class extends ge{constructor(_0x4aa95b,_0xb3ce55,_0x6f50cc,_0x5cca8a,_0x452816,_0x391abb,_0x59cce3,_0x16b4e3,_0x47cf15,_0x585145,_0x192002,_0x47d74f,_0x28889f,_0x59e96d){var _0x5159eb=_0x4ba233;super(_0x4aa95b,_0xb3ce55,_0x6f50cc,_0x5cca8a,_0x59cce3,_0x192002,_0x47d74f,_0x47cf15,_0x59e96d),D(this,'status','fetch_missing'),(this[_0x5159eb(0x1a6)]=_0x452816,this[_0x5159eb(0x2af)]=_0x391abb,this[_0x5159eb(0x36b)]=_0x16b4e3,this[_0x5159eb(0x28f)]=_0x585145,this[_0x5159eb(0xdb)]=_0x28889f,this[_0x5159eb(0x14c)]=_0x59e96d);}['onMissedChangesetFetched'](_0x5ad387){var _0x3a4f46=_0x4ba233;try{const _0x1f719f=[..._0x5ad387,...this['_queuedRemoteChangesets']],_0x131e5a=[this['_awaitingChangeset']||this[_0x3a4f46(0x1a6)]][_0x3a4f46(0x29f)](_0x516dd0=>!!_0x516dd0);let _0x2d7340,_0x204dea;if(_0x131e5a['length']){const _0x1dec29=this[_0x3a4f46(0xdb)][_0x3a4f46(0x354)](_0x1f719f,_0x131e5a,!0x1);if(!_0x3c8cc7(_0x1dec29))throw _0x1dec29['error'];_0x2d7340=_0x1dec29[_0x3a4f46(0xdd)],_0x204dea=_0x1dec29[_0x3a4f46(0xc2)];}else _0x2d7340=_0x1f719f,_0x204dea=[];let _0x33227b=this['_pendingMutations'];_0x2d7340['forEach'](_0x310e0f=>{var _0x3f7544=_0x3a4f46;let _0x74c810;if(_0x33227b[_0x3f7544(0x333)]){const _0x3a0006=this[_0x3f7544(0xdb)][_0x3f7544(0xb7)](_0x310e0f,_0x33227b);if(!_0x2210df(_0x3a0006))throw _0x3a0006[_0x3f7544(0x28b)];_0x74c810=_0x3a0006[_0x3f7544(0xdd)],_0x33227b=_0x3a0006[_0x3f7544(0xed)];}else _0x74c810=_0x310e0f;this[_0x3f7544(0x255)](_0x74c810);}),this[_0x3a4f46(0x1a6)]&&this[_0x3a4f46(0x18f)](),this[_0x3a4f46(0x30d)]&&_0x204dea[_0x3a4f46(0x333)]&&(_0x204dea[0x0][_0x3a4f46(0x1d8)]=this[_0x3a4f46(0x17b)]());let _0x4cdc12;if(this[_0x3a4f46(0x30d)]&&_0x33227b[_0x3a4f46(0x333)]!==0x0)_0x4cdc12=this[_0x3a4f46(0x36b)]['createInstance'](oe,this[_0x3a4f46(0xeb)],this[_0x3a4f46(0x2d2)],_0x204dea[0x0],_0x33227b,this[_0x3a4f46(0xbf)],void 0x0);else{if(this[_0x3a4f46(0x30d)]&&_0x33227b[_0x3a4f46(0x333)]===0x0)_0x204dea[0x0][_0x3a4f46(0x1d8)]=this[_0x3a4f46(0x17b)](),_0x4cdc12=this[_0x3a4f46(0x36b)]['createInstance'](le,this[_0x3a4f46(0xeb)],this[_0x3a4f46(0x2d2)],_0x204dea[0x0],this['_handler']);else{if(_0x33227b[_0x3a4f46(0x333)]!==0x0){const _0x27ea15=this['_injector']['createInstance'](ae,this[_0x3a4f46(0xeb)],this[_0x3a4f46(0x2d2)],_0x33227b,this[_0x3a4f46(0xbf)]);_0x27ea15[_0x3a4f46(0x3c0)](),_0x4cdc12=_0x27ea15;}else _0x4cdc12=this[_0x3a4f46(0x36b)]['createInstance'](be,this[_0x3a4f46(0xeb)],this['type'],this[_0x3a4f46(0xbf)]);}}return _0x4cdc12['_updateLocalCache'](),_0x4cdc12;}catch(_0xe10309){return this['_logService'][_0x3a4f46(0x28b)](_0x3a4f46(0x32f),_0x3a4f46(0x125),_0xe10309),this[_0x3a4f46(0x36b)][_0x3a4f46(0x1cb)](ue,this[_0x3a4f46(0xeb)],this[_0x3a4f46(0x2d2)],this[_0x3a4f46(0x30d)],this['_pendingMutations'],this[_0x3a4f46(0xbf)],!0x1);}}[_0x4ba233(0x9d)](){var _0x45ec65=_0x4ba233;throw new Error(_0x45ec65(0x11d));}[_0x4ba233(0x1a8)](_0x1b7e80){var _0x160686=_0x4ba233;return this[_0x160686(0x14e)][_0x160686(0x3be)](_0x1b7e80),this;}['onRemoteChangeset'](_0x3b8d39){return this['_queuedRemoteChangesets']['push'](_0x3b8d39),this;}[_0x4ba233(0x1cc)](_0x1226c8){var _0x5dcbe7=_0x4ba233;if(this['_awaitingChangeset'])return this[_0x5dcbe7(0x1a6)]=this[_0x5dcbe7(0x30d)],this[_0x5dcbe7(0x30d)]=null,this;throw new Error(_0x5dcbe7(0x35e));}['onRemoteRej'](_0x3e1f8f){var _0x4d93b2=_0x4ba233;return this[_0x4d93b2(0x1b4)](!!(_0x3e1f8f!=null&&_0x3e1f8f[_0x4d93b2(0x21e)]));}[_0x4ba233(0x218)](){return this;}['toggleOffline'](){var _0x398f16=_0x4ba233;return this[_0x398f16(0x36b)][_0x398f16(0x1cb)](de,this[_0x398f16(0xeb)],this['type'],this[_0x398f16(0x30d)],this[_0x398f16(0x14e)],this[_0x398f16(0xbf)]);}[_0x4ba233(0x385)](){return this;}[_0x4ba233(0x1b4)](_0x2e2e02){var _0x556442=_0x4ba233;return this[_0x556442(0x36b)][_0x556442(0x1cb)](ue,this[_0x556442(0xeb)],this[_0x556442(0x2d2)],this[_0x556442(0x30d)],this[_0x556442(0x14e)],this[_0x556442(0xbf)],_0x2e2e02);}};ee=Se([w(0x7,_0x51a12c(_0x15f0b3)),w(0x8,_0x51a12c(_0x2ef779)),w(0x9,_0x4d666b),w(0xa,_0x3cf5e9),w(0xb,_0x13e287),w(0xc,_0x4ff1ba),w(0xd,_0x22c1ae(J))],ee);function Ti(_0xd32d23,_0x5d91c7,_0x42422a,_0x251dad,_0x2c0bc9,_0x10a4e9){var _0x261cf5=_0x4ba233;return _0x251dad&&_0x2c0bc9[_0x261cf5(0x333)]?_0xd32d23[_0x261cf5(0x1cb)](oe,_0x5d91c7,_0x42422a,_0x251dad,_0x2c0bc9,_0x10a4e9,void 0x0):_0x251dad?_0xd32d23[_0x261cf5(0x1cb)](le,_0x5d91c7,_0x42422a,_0x251dad,_0x10a4e9):_0x2c0bc9[_0x261cf5(0x333)]?_0xd32d23[_0x261cf5(0x1cb)](ae,_0x5d91c7,_0x42422a,_0x2c0bc9,_0x10a4e9):_0xd32d23[_0x261cf5(0x1cb)](be,_0x5d91c7,_0x42422a,_0x10a4e9);}var Bs=Object[_0x4ba233(0x347)],Pt=(_0x5cac99,_0x33838c,_0x40e08f,_0x39f577)=>{var _0x9a8200=_0x4ba233;for(var _0xc18390=_0x39f577>0x1?void 0x0:_0x39f577?Bs(_0x33838c,_0x40e08f):_0x33838c,_0x314bd1=_0x5cac99[_0x9a8200(0x333)]-0x1,_0xc5d6ec;_0x314bd1>=0x0;_0x314bd1--)(_0xc5d6ec=_0x5cac99[_0x314bd1])&&(_0xc18390=_0xc5d6ec(_0xc18390)||_0xc18390);return _0xc18390;},$=(_0x719968,_0xfe67ee)=>(_0x12130b,_0x35e6f6)=>_0xfe67ee(_0x12130b,_0x35e6f6,_0x719968);let st=class extends _0x4ac35d{constructor(_0x292c05,_0xd5396d,_0x2a1675,_0x5aa680,_0x22eeb4,_0x3451be,_0x407c2a,_0x3d6f23,_0x4f4dea,_0x52822c,_0x114d51,_0x916c6,_0xd4e513,_0x4415f5){var _0xc2ef96=_0x4ba233;super(),D(this,_0xc2ef96(0x2c8),new _0x265545(null)),D(this,_0xc2ef96(0x20e),this[_0xc2ef96(0x2c8)][_0xc2ef96(0x1fe)]()),D(this,_0xc2ef96(0x286)),D(this,_0xc2ef96(0x2a9),!0x1),D(this,'_changesetSessionId',''),D(this,_0xc2ef96(0x395),0x0),D(this,_0xc2ef96(0x1f2),this[_0xc2ef96(0x20e)][_0xc2ef96(0x1f5)](_0x515b64(_0x48f2b7=>_0x48f2b7?_0x48f2b7[_0xc2ef96(0x11a)]:Si[_0xc2ef96(0x231)]),_0x1ce3ec(0x1))),D(this,_0xc2ef96(0x256),!0x1),D(this,_0xc2ef96(0x316),[]),(this[_0xc2ef96(0xeb)]=_0x292c05,this['session']=_0xd5396d,this[_0xc2ef96(0x3a0)]=_0x2a1675,this[_0xc2ef96(0x36b)]=_0x5aa680,this[_0xc2ef96(0x23f)]=_0x22eeb4,this[_0xc2ef96(0x3a7)]=_0x3451be,this[_0xc2ef96(0x192)]=_0x407c2a,this['_eventService']=_0x3d6f23,this['_univerInstanceService']=_0x4f4dea,this[_0xc2ef96(0x28f)]=_0x52822c,this['_commandService']=_0x114d51,this['_permissionService']=_0x916c6,this[_0xc2ef96(0x25b)]=_0xd4e513,this['_localCacheService']=_0x4415f5);}get[_0x4ba233(0x1b8)](){var _0x289e10=_0x4ba233;return this[_0x289e10(0x286)];}async[_0x4ba233(0x297)](){var _0x505a83=_0x4ba233;if(this[_0x505a83(0x1b8)])throw new Error(_0x505a83(0x299));await this[_0x505a83(0x33e)]();}[_0x4ba233(0xef)](){var _0x1cb465=_0x4ba233;return this[_0x1cb465(0x2a9)]=!0x0,_0x535469(()=>{var _0x274d4e=_0x1cb465;this[_0x274d4e(0x2a9)]=!0x1,this[_0x274d4e(0x37c)]();});}['onLocalMutation'](_0xcfdc4b){var _0x474ec2=_0x4ba233;this[_0x474ec2(0x226)](_0xcfdc4b);}[_0x4ba233(0x1e4)](_0x5339fd){var _0x4ea391=_0x4ba233;this['_state']=_0x5339fd,this[_0x4ea391(0x2c8)][_0x4ea391(0x8d)](_0x5339fd);}async[_0x4ba233(0x33e)](){var _0xf59b44=_0x4ba233,_0x4decfa;this['_updateState'](await this[_0xf59b44(0x376)]()),this[_0xf59b44(0x25b)]&&((_0x4decfa=this[_0xf59b44(0x25b)])==null||_0x4decfa[_0xf59b44(0x138)](this[_0xf59b44(0xeb)]),this[_0xf59b44(0x373)](this['_singleActiveUnitService'][_0xf59b44(0x158)](this['unitID'])[_0xf59b44(0x242)](_0x2a8ad1=>{var _0x28a3e4=_0xf59b44;this[_0x28a3e4(0x28f)][_0x28a3e4(0x221)](_0x28a3e4(0x1bc),'editing\x20status\x20changed\x20to',_0x2a8ad1),_0x2a8ad1===mi[_0x28a3e4(0x278)]?(this[_0x28a3e4(0x2db)][_0x28a3e4(0x1d0)]({'id':re[_0x28a3e4(0x36d)]}),this[_0x28a3e4(0x29e)][_0x28a3e4(0x350)](new _0x46fb09(this[_0x28a3e4(0xeb)])['id'],!0x1),this['_permissionService'][_0x28a3e4(0x18d)](!0x1)):(this[_0x28a3e4(0x29e)][_0x28a3e4(0x350)](new _0x46fb09(this[_0x28a3e4(0xeb)])['id'],!0x0),this[_0x28a3e4(0x29e)][_0x28a3e4(0x18d)](!0x0));})));let _0x4b0110=!0x1;return this[_0xf59b44(0x373)](this[_0xf59b44(0x28a)]['sessionStatus$']['subscribe'](_0x36fdbc=>{var _0x18b1e7=_0xf59b44;_0x36fdbc===me['ONLINE']?this['_toggleOnline'](_0x4b0110):_0x36fdbc===me[_0x18b1e7(0x231)]&&(_0x4b0110=!0x0,this[_0x18b1e7(0x27f)]());})),this[_0xf59b44(0x373)](this[_0xf59b44(0x28a)][_0xf59b44(0x2b7)]['subscribe'](_0x3e0079=>{var _0x5e72df=_0xf59b44;try{switch(_0x3e0079[_0x5e72df(0x335)]){case _0x38a5e2[_0x5e72df(0x2e5)]:{this[_0x5e72df(0x298)](_0xe498a5(_0x3e0079[_0x5e72df(0x3b8)]));break;}case _0x38a5e2[_0x5e72df(0x31c)]:{this['_onRemoteACK'](_0x3e0079[_0x5e72df(0x3b8)]);break;}case _0x38a5e2[_0x5e72df(0x24c)]:{this[_0x5e72df(0x294)]();break;}case _0x38a5e2['CHANGESET_SHOULD_RETRY']:{this[_0x5e72df(0x132)](_0x3e0079['data']);break;}case _0x38a5e2[_0x5e72df(0x320)]:{this[_0x5e72df(0x142)](_0x3e0079[_0x5e72df(0x3b8)][_0x5e72df(0x3c5)]['map'](_0x2b68dc=>_0xe498a5(_0x2b68dc)));break;}case _0x38a5e2[_0x5e72df(0x296)]:{this[_0x5e72df(0x294)]({'isPermissionRej':!0x0});break;}case _0x38a5e2[_0x5e72df(0x35b)]:break;}}catch(_0x57f5e4){throw console[_0x5e72df(0x28b)](_0x5e72df(0x180),_0x57f5e4),_0x57f5e4;}})),this[_0xf59b44(0x286)];}[_0x4ba233(0x3ab)](){this['_transitionLocked']=!0x1;}[_0x4ba233(0x122)](){var _0x2e3bda=_0x4ba233;if(this['_transitionLocked'])throw new Error(_0x2e3bda(0x261));this[_0x2e3bda(0x256)]=!0x0;}['_onLocalMutation'](_0xd70855){var _0xfbe9bf=_0x4ba233;this['_lockTransition'](),this[_0xfbe9bf(0x1e4)](this[_0xfbe9bf(0x286)][_0xfbe9bf(0x1a8)](_0xd70855)),this['_unlockTransition']();}[_0x4ba233(0x298)](_0x2e062f){var _0x10f650=_0x4ba233;if(!(_0x2e062f[_0x10f650(0x225)]<=this['_revisionService'][_0x10f650(0x27a)](this[_0x10f650(0xeb)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x10f650(0x3be)](_0x2e062f);return;}this['_applyRemoteChangeset'](_0x2e062f);}}[_0x4ba233(0x37c)](){var _0x397cac=_0x4ba233;this[_0x397cac(0x316)][_0x397cac(0x1ae)](_0x510dba=>this[_0x397cac(0xdf)](_0x510dba)),this[_0x397cac(0x316)]=[];}[_0x4ba233(0xdf)](_0x3e8725){var _0x221757=_0x4ba233;const _0xc5d55e=this['_compressMutationService'][_0x221757(0x115)][_0x221757(0x2cf)](this[_0x221757(0x23f)][_0x221757(0x115)][_0x221757(0x379)]()[_0x221757(0x38c)])(_0x3e8725[_0x221757(0x1b2)],null)||_0x3e8725[_0x221757(0x1b2)],_0x10642e={..._0x3e8725,'mutations':_0xc5d55e};this[_0x221757(0x122)](),this[_0x221757(0x1e4)](this[_0x221757(0x286)][_0x221757(0x34e)](_0x10642e)),this[_0x221757(0x3ab)]();}[_0x4ba233(0x123)](_0x5af5d5){var _0x415189=_0x4ba233;this[_0x415189(0x122)](),this[_0x415189(0x1e4)](this[_0x415189(0x286)][_0x415189(0x1cc)](_0x5af5d5)),this[_0x415189(0x3ab)]();}[_0x4ba233(0x294)](_0xe37536){var _0x477761=_0x4ba233;this[_0x477761(0x122)](),this[_0x477761(0x1e4)](this[_0x477761(0x286)][_0x477761(0x16d)](_0xe37536)),this['_unlockTransition']();}[_0x4ba233(0x132)](_0x20c497){var _0x4c190e=_0x4ba233;this[_0x4c190e(0x122)](),this[_0x4c190e(0x1e4)](this[_0x4c190e(0x286)]['onRemoteRetry'](_0x20c497)),this[_0x4c190e(0x3ab)]();}[_0x4ba233(0x142)](_0x980728){var _0x381dfd=_0x4ba233;if(!(this[_0x381dfd(0x286)]instanceof ee))throw new TypeError(_0x381dfd(0x22c));const _0x58d381=_0x980728['map'](_0x207c18=>{var _0x575b2e=_0x381dfd;const _0x5b6c9c=this[_0x575b2e(0x23f)]['interceptor'][_0x575b2e(0x2cf)](this[_0x575b2e(0x23f)][_0x575b2e(0x115)][_0x575b2e(0x379)]()[_0x575b2e(0x38c)])(_0x207c18['mutations'],null)||_0x207c18[_0x575b2e(0x1b2)];return{..._0x207c18,'mutations':_0x5b6c9c};});this[_0x381dfd(0x122)](),this[_0x381dfd(0x1e4)](this[_0x381dfd(0x286)]['onMissedChangesetFetched'](_0x58d381)),this[_0x381dfd(0x3ab)]();}[_0x4ba233(0x27f)](){var _0xc965a7=_0x4ba233;this['_lockTransition'](),this['_updateState'](this['_state'][_0xc965a7(0x25c)]()),this[_0xc965a7(0x3ab)]();}[_0x4ba233(0x9f)](_0x531b22=!0x1){var _0x52a4dd=_0x4ba233;this[_0x52a4dd(0x122)](),this[_0x52a4dd(0x1e4)](this[_0x52a4dd(0x286)]['toggleOnline']()),this[_0x52a4dd(0x3ab)]();const _0x52b91b=this[_0x52a4dd(0x286)];_0x531b22&&_0x52b91b instanceof be&&(this['_lockTransition'](),this[_0x52a4dd(0x1e4)](_0x52b91b[_0x52a4dd(0x2d1)]()),this[_0x52a4dd(0x3ab)]());}async[_0x4ba233(0x376)](){return new Promise(_0x4e3290=>{var _0x1c336b=_0x2b55;this[_0x1c336b(0x28a)][_0x1c336b(0x353)][_0x1c336b(0x1f5)](_0x476526(0x1))[_0x1c336b(0x242)](async _0x37cb07=>{var _0xc8c48f=_0x1c336b;_0x4e3290(await this[_0xc8c48f(0x143)](_0x37cb07===me['ONLINE']));});});}['_createHandler'](){var _0x72d739=_0x4ba233;const _0x408d85=this[_0x72d739(0xeb)];return{'onStateChange':(_0x4a3ba7,_0x52babc)=>{var _0x4f2b6a=_0x72d739;if(_0x4a3ba7!==this[_0x4f2b6a(0x286)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4a3ba7[_0x4f2b6a(0x11a)]+_0x4f2b6a(0x3a4)+_0x52babc[_0x4f2b6a(0x11a)]+'\x0aCurrent:\x20'+this[_0x4f2b6a(0x286)][_0x4f2b6a(0x11a)]);this[_0x4f2b6a(0x1e4)](_0x52babc);},'onSendChangeset':_0x4a6ea8=>{var _0x56d347=_0x72d739;_0x4a6ea8[_0x56d347(0x390)]||(_0x4a6ea8[_0x56d347(0x390)]=this['_changesetSessionId'],_0x4a6ea8[_0x56d347(0x34c)]=++this['_changesetReqId']);const _0xc7efd8={'eventID':_0x38a5e2['SUBMIT_CHANGESET'],'data':{'unitID':_0x4a6ea8[_0x56d347(0xeb)],'unitType':this['_type'],'changeset':_0x4a6ea8,'memberID':this[_0x56d347(0x28a)]['getMemberID']()}};this['session'][_0x56d347(0x343)](_0xc7efd8,this[_0x56d347(0xeb)]);},'onMissingChangesets':({from:_0x5872c0,to:_0x583cd2})=>{var _0x540d8c=_0x72d739;this['_logService'][_0x540d8c(0x221)]('[CollaborationEntity]',_0x540d8c(0x172)+_0x5872c0+_0x540d8c(0x3a2)+_0x583cd2);const _0x118fe2={'eventID':_0x38a5e2[_0x540d8c(0x268)],'data':{'unitID':_0x408d85,'unitType':this[_0x540d8c(0x3a0)],'from':_0x5872c0,'to':_0x583cd2}};this[_0x540d8c(0x28a)][_0x540d8c(0x343)](_0x118fe2,this[_0x540d8c(0xeb)]);}};}async[_0x4ba233(0x143)](_0x3663a1){var _0x2111cf=_0x4ba233,_0x6e61a2,_0x3e216e,_0x5f15fa;const _0x389952=await((_0x6e61a2=this[_0x2111cf(0x169)])==null?void 0x0:_0x6e61a2[_0x2111cf(0x21b)](this['unitID'])),_0x153e55=(_0x3e216e=_0x389952==null?void 0x0:_0x389952['mutations'])!=null?_0x3e216e:[],_0x38748b=(_0x5f15fa=_0x389952==null?void 0x0:_0x389952[_0x2111cf(0xb5)])!=null?_0x5f15fa:null,_0x172a0a=!!(_0x38748b!=null&&_0x38748b[_0x2111cf(0x390)])&&!!(_0x38748b!=null&&_0x38748b[_0x2111cf(0x34c)]);this[_0x2111cf(0x3a5)]=_0x172a0a?_0x38748b[_0x2111cf(0x390)]:_0x261a07(),this[_0x2111cf(0x395)]=_0x172a0a?_0x38748b[_0x2111cf(0x34c)]:0x0;const _0x360aa6=this[_0x2111cf(0xeb)];try{this[_0x2111cf(0x374)](_0x38748b,_0x153e55);}catch(_0x4daa31){this['_logService'][_0x2111cf(0x28b)](_0x4daa31);}const _0x5a810a=this[_0x2111cf(0x146)]();if(_0x3663a1){const _0x5ac0b7=Ti(this[_0x2111cf(0x36b)],_0x360aa6,this[_0x2111cf(0x3a0)],_0x38748b,_0x153e55,_0x5a810a);return _0x5ac0b7 instanceof ae?_0x5ac0b7[_0x2111cf(0x3c0)]():(_0x5ac0b7 instanceof oe||_0x5ac0b7 instanceof le)&&_0x5ac0b7[_0x2111cf(0x9d)](),_0x5ac0b7;}return this[_0x2111cf(0x36b)][_0x2111cf(0x1cb)](de,_0x360aa6,this[_0x2111cf(0x3a0)],_0x38748b,_0x153e55,_0x5a810a);}[_0x4ba233(0x374)](_0x19444c,_0x3f8283){var _0x53ef2d=_0x4ba233,_0x34be7c,_0x5851cf;const _0x46437f=this['_compressMutationService'][_0x53ef2d(0x115)][_0x53ef2d(0x2cf)](this[_0x53ef2d(0x23f)][_0x53ef2d(0x115)][_0x53ef2d(0x379)]()[_0x53ef2d(0x38c)]);(_0x34be7c=_0x46437f((_0x19444c==null?void 0x0:_0x19444c['mutations'])||[],null))==null||_0x34be7c[_0x53ef2d(0x1ae)](_0x4d612a=>this[_0x53ef2d(0x369)][_0x53ef2d(0x352)](_0x4d612a['id'],_0x4d612a[_0x53ef2d(0x2f1)])),(_0x5851cf=_0x46437f(_0x3f8283||[],null))==null||_0x5851cf[_0x53ef2d(0x1ae)](_0x512654=>this[_0x53ef2d(0x369)][_0x53ef2d(0x352)](_0x512654['id'],_0x512654[_0x53ef2d(0x2f1)]));}};st=Pt([$(0x3,_0x51a12c(_0x15f0b3)),$(0x4,_0x51a12c(_0x523527)),$(0x5,_0x51a12c(_0x3abb4d)),$(0x6,_0x51a12c(_0x2ef779)),$(0x7,_0x51a12c(ve)),$(0x8,_0x5af922),$(0x9,_0x4d666b),$(0xa,_0x3cf5e9),$(0xb,_0xfeab62),$(0xc,_0x22c1ae(_t)),$(0xd,_0x22c1ae(J))],st);let It=class extends st{constructor(_0x511700,_0x3211b6,_0xb8c1af,_0x2901bd,_0x34a53e,_0x53d73f,_0x41757a,_0x555f5a,_0x4490d9,_0xa7600e,_0x4feea0,_0x3b6c94,_0x3afc1f,_0x24abb3){var _0x56a68f=_0x4ba233;super(_0x511700,_0xb8c1af,_0x3211b6,_0x2901bd,_0x34a53e,_0x53d73f,_0x41757a,_0x555f5a,_0x4490d9,_0xa7600e,_0x4feea0,_0x3b6c94,_0x3afc1f,_0x24abb3),D(this,_0x56a68f(0x1ee),null),(this[_0x56a68f(0xeb)]=_0x511700,this[_0x56a68f(0x2d2)]=_0x3211b6);}[_0x4ba233(0xb9)](_0x234c03){var _0x490dac=_0x4ba233;this[_0x490dac(0x1ee)]=_0x234c03;}[_0x4ba233(0x16a)](){var _0x33f5d8=_0x4ba233;this[_0x33f5d8(0x1ee)]=null,super[_0x33f5d8(0x16a)]();}[_0x4ba233(0x146)](){var _0x5cac0a=_0x4ba233;const _0x48702b=super[_0x5cac0a(0x146)]();return _0x48702b[_0x5cac0a(0xe3)]=_0x4d71a9=>{var _0x35f826=_0x5cac0a,_0x58cda0,_0x50b07d;return(_0x50b07d=(_0x58cda0=this[_0x35f826(0x1ee)])==null?void 0x0:_0x58cda0['onTransformIME'])==null?void 0x0:_0x50b07d[_0x35f826(0x2ed)](_0x58cda0,_0x4d71a9);},_0x48702b['onTransformState']=_0x321f43=>{var _0x42ffee=_0x5cac0a,_0x1ac7bc,_0x21bbe0;return(_0x21bbe0=(_0x1ac7bc=this[_0x42ffee(0x1ee)])==null?void 0x0:_0x1ac7bc['onTransformState'])==null?void 0x0:_0x21bbe0['call'](_0x1ac7bc,_0x321f43);},_0x48702b['onTransformSelections']=_0x7776c3=>{var _0x291605=_0x5cac0a,_0x418a3d,_0x46cf8b;return(_0x46cf8b=(_0x418a3d=this[_0x291605(0x1ee)])==null?void 0x0:_0x418a3d[_0x291605(0x2d7)])==null?void 0x0:_0x46cf8b[_0x291605(0x2ed)](_0x418a3d,_0x7776c3);},_0x48702b[_0x5cac0a(0xd2)]=_0xfc6892=>{var _0x17206b=_0x5cac0a,_0x4782d0,_0x492f27;return(_0x492f27=(_0x4782d0=this[_0x17206b(0x1ee)])==null?void 0x0:_0x4782d0[_0x17206b(0xd2)])==null?void 0x0:_0x492f27[_0x17206b(0x2ed)](_0x4782d0,_0xfc6892);},_0x48702b[_0x5cac0a(0x348)]=_0x5bc277=>{var _0x4da220=_0x5cac0a,_0x446e67,_0x3abcb3,_0x2a5bf3;if(!((_0x446e67=this[_0x4da220(0x1ee)])!=null&&_0x446e67['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4da220(0x28c));return(_0x2a5bf3=(_0x3abcb3=this[_0x4da220(0x1ee)])==null?void 0x0:_0x3abcb3[_0x4da220(0x348)])==null?void 0x0:_0x2a5bf3[_0x4da220(0x2ed)](_0x3abcb3,_0x5bc277);},_0x48702b['onTransformRemoteChangesetByStateCache']=_0x56cf7f=>{var _0x4660ba=_0x5cac0a,_0x4dcb93,_0x25507f,_0x20b96c;if(!((_0x4dcb93=this[_0x4660ba(0x1ee)])!=null&&_0x4dcb93[_0x4660ba(0x234)]))throw new Error(_0x4660ba(0x39f));return(_0x20b96c=(_0x25507f=this[_0x4660ba(0x1ee)])==null?void 0x0:_0x25507f[_0x4660ba(0x234)])==null?void 0x0:_0x20b96c[_0x4660ba(0x2ed)](_0x25507f,_0x56cf7f);},_0x48702b;}async[_0x4ba233(0x33e)](){var _0x4860a4=_0x4ba233;const _0x257f50=await super[_0x4860a4(0x33e)]();return this[_0x4860a4(0x373)](this[_0x4860a4(0x369)][_0x4860a4(0xf3)]((_0x288173,_0x39dbee)=>{var _0xaec358=_0x4860a4;if(_0x288173['type']!==_0x1f7adc[_0xaec358(0x1db)]||_0x39dbee!=null&&_0x39dbee[_0xaec358(0x303)]||_0x39dbee!=null&&_0x39dbee['onlyLocal']||_0x288173['id']===_0x41d62b['id'])return;const _0x50f3c8=_0x288173['params'];if((_0x50f3c8==null?void 0x0:_0x50f3c8[_0xaec358(0x3b0)])!==this[_0xaec358(0xeb)])return;const _0x4c6ae9=_0x288173,_0xf993b3=this[_0xaec358(0x23f)]['interceptor'][_0xaec358(0x2cf)](this[_0xaec358(0x23f)]['interceptor'][_0xaec358(0x379)]()[_0xaec358(0x183)])([_0x4c6ae9],this['_univerInstanceService'])||[_0x4c6ae9];this['_onLocalMutation'](_0xf993b3[0x0]);})),_0x257f50;}};It=Pt([$(0x3,_0x51a12c(_0x15f0b3)),$(0x4,_0x51a12c(_0x523527)),$(0x5,_0x51a12c(_0x3abb4d)),$(0x6,_0x51a12c(_0x2ef779)),$(0x7,_0x51a12c(ve)),$(0x8,_0x5af922),$(0x9,_0x4d666b),$(0xa,_0x3cf5e9),$(0xb,_0xfeab62),$(0xc,_0x22c1ae(_t)),$(0xd,_0x22c1ae(J))],It);let St=class extends st{constructor(_0x14717c,_0x15579f,_0x353cc7,_0x23a139,_0x3b543d,_0x56b38e,_0xebfbc6,_0x35e264,_0x11629b,_0x35edca,_0x354218,_0x4007c5,_0x3b6d90,_0x1b72e1,_0x23b6f0){var _0xdf056d=_0x4ba233;super(_0x14717c,_0x353cc7,_0x15579f,_0x23a139,_0x3b543d,_0x56b38e,_0xebfbc6,_0x11629b,_0x35edca,_0x354218,_0x4007c5,_0x3b6d90,_0x1b72e1,_0x23b6f0),this[_0xdf056d(0xeb)]=_0x14717c,this['type']=_0x15579f,this[_0xdf056d(0x345)]=_0x35e264;}[_0x4ba233(0x146)](){var _0x53bb88=_0x4ba233;const _0x46eae0=super[_0x53bb88(0x146)]();return _0x46eae0['onTransformSelections']=_0x31d47f=>this[_0x53bb88(0x345)][_0x53bb88(0x1d5)](_0x31d47f),_0x46eae0;}async[_0x4ba233(0x33e)](){var _0x57c9ce=_0x4ba233;const _0x514bdc=await super['_init']();return this['disposeWithMe'](this[_0x57c9ce(0x369)][_0x57c9ce(0xf3)]((_0x476cb1,_0x374b49)=>{var _0x380ec1=_0x57c9ce;if(_0x476cb1[_0x380ec1(0x2d2)]!==_0x1f7adc[_0x380ec1(0x1db)]||_0x374b49!=null&&_0x374b49[_0x380ec1(0x303)]||_0x374b49!=null&&_0x374b49['onlyLocal'])return;const _0x1dec8c=_0x476cb1[_0x380ec1(0x2f1)];if((_0x1dec8c==null?void 0x0:_0x1dec8c[_0x380ec1(0x3b0)])!==this[_0x380ec1(0xeb)])return;const _0x594cbf=_0x476cb1,_0x23d9b2=this['_compressMutationService']['interceptor'][_0x380ec1(0x2cf)](this[_0x380ec1(0x23f)][_0x380ec1(0x115)][_0x380ec1(0x379)]()[_0x380ec1(0x183)])([_0x594cbf],this[_0x380ec1(0x9e)])||[_0x594cbf];this[_0x380ec1(0x226)](_0x23d9b2[0x0]);})),_0x514bdc;}};St=Pt([$(0x3,_0x51a12c(_0x15f0b3)),$(0x4,_0x51a12c(_0x523527)),$(0x5,_0x51a12c(_0x3abb4d)),$(0x6,_0x51a12c(_0x2ef779)),$(0x7,_0x51a12c(it)),$(0x8,_0x51a12c(ve)),$(0x9,_0x5af922),$(0xa,_0x4d666b),$(0xb,_0x3cf5e9),$(0xc,_0xfeab62),$(0xd,_0x22c1ae(_t)),$(0xe,_0x22c1ae(J))],St);const js=_0x1753cf('univer-pro.collaboration-client.network-condition.service');function Fs(_0x39f1db){var _0x26acc5=_0x4ba233,_0x3edaaf,_0x313099,_0x141bf8,_0x3f53df,_0x559103;const _0x38dbc8=_0x39f1db[_0x26acc5(0x3b8)],_0xed7b9d=JSON[_0x26acc5(0x149)](_0x38dbc8);switch(_0xed7b9d[_0x26acc5(0x2b3)]){case F['HEARTBEAT']:case F[_0x26acc5(0x104)]:{const _0x103afa=_0xed7b9d[_0x26acc5(0x351)];return{..._0xed7b9d,'data':_0x103afa,'cmd':_0xed7b9d['cmd']};}case F[_0x26acc5(0x1aa)]:{const _0x319de5=_0xed7b9d['joinRsp'];return{..._0xed7b9d,'data':_0x319de5,'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};}case F[_0x26acc5(0x233)]:{const _0x4b8f06=_0xed7b9d[_0x26acc5(0x2f2)];switch(_0x4b8f06['eventID']){case _0x38a5e2[_0x26acc5(0x296)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':(_0x3edaaf=_0x4b8f06[_0x26acc5(0x175)])==null?void 0x0:_0x3edaaf['cs']},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x31c)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':(_0x313099=_0x4b8f06[_0x26acc5(0x318)])==null?void 0x0:_0x313099['cs']},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x2e5)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':(_0x141bf8=_0x4b8f06[_0x26acc5(0x381)])==null?void 0x0:_0x141bf8['cs']},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x24c)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':(_0x3f53df=_0x4b8f06[_0x26acc5(0x271)])==null?void 0x0:_0x3f53df['cs']},'cmd':_0xed7b9d['cmd']};case _0x38a5e2['CHANGESET_SHOULD_RETRY']:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':(_0x559103=_0x4b8f06[_0x26acc5(0x2a1)])==null?void 0x0:_0x559103['cs']},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x260)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x3a8)]},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x8f)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x151)]},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2['USERS_LEAVE']:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x270)]},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x2be)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x1dd)]},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x10b)]:case _0x38a5e2[_0x26acc5(0x18c)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x91)]},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x365)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x1dd)]},'cmd':_0xed7b9d['cmd']};case _0x38a5e2[_0x26acc5(0x223)]:return{..._0xed7b9d,'data':_0x4b8f06,'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0xe0)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0xc3)]},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x243)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x14b)]},'cmd':_0xed7b9d['cmd']};case _0x38a5e2[_0x26acc5(0x22b)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x31a)]},'cmd':_0xed7b9d[_0x26acc5(0x2b3)]};case _0x38a5e2[_0x26acc5(0x35b)]:return{..._0xed7b9d,'data':{..._0x4b8f06,'data':_0x4b8f06[_0x26acc5(0x34f)]},'cmd':_0xed7b9d['cmd']};default:return _0xed7b9d;}}default:return _0xed7b9d;}}function Vs(_0xebf618){var _0x30ae0a=_0x4ba233;switch(_0xebf618[_0x30ae0a(0x2b3)]){case F[_0x30ae0a(0xe8)]:case F[_0x30ae0a(0x104)]:return JSON['stringify']({'cmd':_0xebf618[_0x30ae0a(0x2b3)],'routeKey':_0xebf618['routeKey']});case F['INGEST']:{let _0x218c97;switch(_0xebf618[_0x30ae0a(0x3b8)][_0x30ae0a(0x335)]){case _0x38a5e2[_0x30ae0a(0x260)]:{_0x218c97={'eventID':_0x38a5e2[_0x30ae0a(0x260)],'updateCursorEvent':_0xebf618[_0x30ae0a(0x3b8)][_0x30ae0a(0x3b8)]};break;}case _0x38a5e2[_0x30ae0a(0x1c1)]:{_0x218c97={'eventID':_0x38a5e2['USERS_LEAVE'],'leaveEvent':_0xebf618[_0x30ae0a(0x3b8)]['data']};break;}case _0x38a5e2[_0x30ae0a(0x8f)]:{_0x218c97={'eventID':_0x38a5e2['USERS_ENTER'],'joinEvent':_0xebf618[_0x30ae0a(0x3b8)][_0x30ae0a(0x3b8)]};break;}case _0x38a5e2[_0x30ae0a(0x2be)]:{_0x218c97={'eventID':_0x38a5e2[_0x30ae0a(0x2be)],'liveShareNewHost':_0xebf618[_0x30ae0a(0x3b8)]['data']};break;}case _0x38a5e2['LIVESHARE_OPERATION']:{_0x218c97={'eventID':_0x38a5e2['LIVESHARE_OPERATION'],'liveShareOperation':_0xebf618['data'][_0x30ae0a(0x3b8)]};break;}case _0x38a5e2[_0x30ae0a(0x365)]:{_0x218c97={'eventID':_0x38a5e2[_0x30ae0a(0x365)],'liveShareTerminate':_0xebf618[_0x30ae0a(0x3b8)][_0x30ae0a(0x3b8)]};break;}case _0x38a5e2[_0x30ae0a(0x25e)]:{_0x218c97={'eventID':_0x38a5e2['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xebf618[_0x30ae0a(0x3b8)][_0x30ae0a(0x3b8)]};break;}case _0x38a5e2[_0x30ae0a(0x10b)]:{_0x218c97={'eventID':_0x38a5e2[_0x30ae0a(0x10b)]};break;}default:_0x218c97={'eventID':_0xebf618[_0x30ae0a(0x3b8)][_0x30ae0a(0x335)]};}return JSON[_0x30ae0a(0x330)]({'cmd':_0xebf618['cmd'],'routeKey':_0xebf618[_0x30ae0a(0x1ff)],'collaMsg':_0x218c97});}case F[_0x30ae0a(0x1aa)]:return JSON['stringify']({'cmd':_0xebf618[_0x30ae0a(0x2b3)],'routeKey':_0xebf618['routeKey'],'joinReq':_0xebf618[_0x30ae0a(0x3b8)]});case F[_0x30ae0a(0x338)]:return JSON['stringify']({'cmd':_0xebf618[_0x30ae0a(0x2b3)],'routeKey':_0xebf618[_0x30ae0a(0x1ff)],'leaveReq':_0xebf618[_0x30ae0a(0x3b8)]});default:throw new Error(_0x30ae0a(0x209));}}var Gs=Object[_0x4ba233(0x347)],Ws=(_0x1e83e4,_0x7e14fb,_0x5488ae,_0x36e036)=>{var _0x9698ae=_0x4ba233;for(var _0xb18000=_0x36e036>0x1?void 0x0:_0x36e036?Gs(_0x7e14fb,_0x5488ae):_0x7e14fb,_0x37ddaa=_0x1e83e4[_0x9698ae(0x333)]-0x1,_0x24b036;_0x37ddaa>=0x0;_0x37ddaa--)(_0x24b036=_0x1e83e4[_0x37ddaa])&&(_0xb18000=_0x24b036(_0xb18000)||_0xb18000);return _0xb18000;},ye=(_0x1a4dd8,_0x1f0bab)=>(_0xf1b61d,_0x1deb7b)=>_0x1f0bab(_0xf1b61d,_0x1deb7b,_0x1a4dd8);const Oi=_0x1753cf(_0x4ba233(0x16c));function Ys(_0x47ae7d,_0x28774a,_0x6bfef){var _0x192624=_0x4ba233;return _0x47ae7d+'/'+_0x28774a+'/unit/'+_0x6bfef+_0x192624(0x38d);}let Wt=class extends _0x29bf33{constructor(_0x10f04c,_0x13e9fc,_0x533a1a,_0x4b180c,_0x3d8e73){var _0x4d10c6=_0x4ba233;super(),this[_0x4d10c6(0x36b)]=_0x10f04c,this[_0x4d10c6(0x368)]=_0x13e9fc,this['_configService']=_0x533a1a,this[_0x4d10c6(0x28f)]=_0x4b180c,this['_snapshotServerService']=_0x3d8e73;}['_doCreateSocket'](_0x2946ef){var _0x4e6739=_0x4ba233;const _0x515a78=this[_0x4e6739(0x36b)][_0x4e6739(0xb0)](_0x32ae2c);if(!_0x515a78)throw new Error(_0x4e6739(0x211));const _0x3f02ff=_0x515a78[_0x4e6739(0x30b)](_0x2946ef);if(!_0x3f02ff)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xbfbd89=new _0x545484(),_0x57cb8a=new _0x2271e1();_0xbfbd89[_0x4e6739(0x1a4)](_0x3f02ff[_0x4e6739(0xf7)]['subscribe'](_0x451764=>_0x57cb8a[_0x4e6739(0x8d)](_0x451764))),_0xbfbd89['add'](_0x535469(()=>_0x57cb8a[_0x4e6739(0x16b)]()));const _0x8d30a0=new _0x2271e1();_0xbfbd89[_0x4e6739(0x1a4)](_0x3f02ff[_0x4e6739(0xc7)][_0x4e6739(0x242)](_0x57fa8f=>_0x8d30a0[_0x4e6739(0x8d)](_0x57fa8f))),_0xbfbd89[_0x4e6739(0x1a4)](_0x535469(()=>_0x8d30a0[_0x4e6739(0x16b)]()));const _0x4cfea7=new _0x2271e1();_0xbfbd89[_0x4e6739(0x1a4)](_0x3f02ff[_0x4e6739(0x187)][_0x4e6739(0x242)](_0x643f77=>{const _0x1bfe02=Fs(_0x643f77);_0x4cfea7['next'](_0x1bfe02);})),_0xbfbd89[_0x4e6739(0x1a4)](_0x535469(()=>_0x4cfea7[_0x4e6739(0x16b)]()));let _0x30f2c4;const _0x3b6591=()=>{var _0xf2d6ca=_0x4e6739;_0x8d30a0[_0xf2d6ca(0x8d)](new Event(_0xf2d6ca(0x186))),_0x57cb8a[_0xf2d6ca(0x8d)](new Event('connection\x20error')),_0x30f2c4['close']();};return _0x30f2c4={'memberID':'','close$':_0x57cb8a[_0x4e6739(0x1fe)](),'error$':_0x8d30a0[_0x4e6739(0x1fe)](),'open$':_0x3f02ff[_0x4e6739(0x2f0)],'message$':_0x4cfea7[_0x4e6739(0x1fe)](),'send':_0xa63ba=>{var _0x452540=_0x4e6739;if(_0xa63ba[_0x452540(0x2b3)]===F[_0x452540(0x1f7)]){if(_0xa63ba['data'][_0x452540(0x335)]===_0x38a5e2[_0x452540(0x367)]){this[_0x452540(0x370)](_0x30f2c4,_0xa63ba[_0x452540(0x3b8)])[_0x452540(0x196)](_0x213ea6=>{var _0x1286bf=_0x452540;this[_0x1286bf(0x28f)][_0x1286bf(0x28b)](_0x213ea6),_0x3b6591();});return;}if(_0xa63ba[_0x452540(0x3b8)]['eventID']===_0x38a5e2[_0x452540(0x268)]){const _0x5667e3=_0xa63ba[_0x452540(0x3b8)];this['_fetchMissChangesets'](_0x5667e3)[_0x452540(0x3ac)](_0x59a39a=>{var _0x380d9f=_0x452540;_0x4cfea7[_0x380d9f(0x8d)]({'cmd':F[_0x380d9f(0x233)],'code':pe['OK'],'routeKey':_0x5667e3[_0x380d9f(0x3b8)][_0x380d9f(0xeb)],'routeType':'','data':{'eventID':_0x38a5e2[_0x380d9f(0x320)],'data':{'changesets':_0x59a39a}}});})[_0x452540(0x196)](_0x3844a7=>{var _0x30d511=_0x452540;this[_0x30d511(0x28f)][_0x30d511(0x28b)](_0x3844a7),_0x3b6591();});return;}}_0x3f02ff['send'](Vs(_0xa63ba));},'close':()=>{var _0x3b166c=_0x4e6739;_0x3f02ff[_0x3b166c(0x205)](),_0xbfbd89[_0x3b166c(0x16a)]();}},_0x30f2c4;}async[_0x4ba233(0x370)](_0x1f6e33,_0x13919f){var _0xc506f9=_0x4ba233,_0x3307bb;const {unitType:_0x16d55d,unitID:_0x53f771,changeset:_0x40cf5f}=_0x13919f['data'],_0x3d8811={'unitID':_0x53f771,'memberID':_0x1f6e33[_0xc506f9(0x339)],'type':_0x16d55d,'changeset':_0x47d12f(_0x40cf5f)},_0x3608c4=this[_0xc506f9(0x1c5)][_0xc506f9(0x3c3)](K),_0x5afffc=Ys((_0x3307bb=_0x3608c4==null?void 0x0:_0x3608c4[_0xc506f9(0x17d)])!=null?_0x3307bb:Os,_0x16d55d,_0x53f771);try{await this['_httpService'][_0xc506f9(0x33f)](_0x5afffc,{'body':_0x3d8811});}catch(_0x1332ff){throw this[_0xc506f9(0x28f)][_0xc506f9(0x28b)](_0xc506f9(0x113),_0xc506f9(0x1f0)),_0x1332ff;}}async[_0x4ba233(0x203)](_0x510e62){var _0x5526ac=_0x4ba233;const {unitID:_0x54985f,from:_0x3c22ae,to:_0x1a5e43,unitType:_0x310c80}=_0x510e62[_0x5526ac(0x3b8)];return(await this['_snapshotServerService'][_0x5526ac(0x8c)]({'metadata':void 0x0},{'unitID':_0x54985f,'type':_0x310c80,'from':_0x3c22ae,'to':_0x1a5e43}))[_0x5526ac(0x3c5)];}};Wt=Ws([ye(0x0,_0x51a12c(_0x15f0b3)),ye(0x1,_0x51a12c(_0x3caecd)),ye(0x2,_0x427ac7),ye(0x3,_0x4d666b),ye(0x4,_0x5d5385)],Wt);var Ks=Object[_0x4ba233(0x347)],qs=(_0xb65f09,_0x5c4fc9,_0x9a9ed,_0x502f81)=>{for(var _0x207920=_0x502f81>0x1?void 0x0:_0x502f81?Ks(_0x5c4fc9,_0x9a9ed):_0x5c4fc9,_0x5317a3=_0xb65f09['length']-0x1,_0x24235d;_0x5317a3>=0x0;_0x5317a3--)(_0x24235d=_0xb65f09[_0x5317a3])&&(_0x207920=_0x24235d(_0x207920)||_0x207920);return _0x207920;},Re=(_0x1289a6,_0x339b51)=>(_0x18b11c,_0x37b2da)=>_0x339b51(_0x18b11c,_0x37b2da,_0x1289a6);let we=class extends _0x29bf33{constructor(_0x394764,_0x2bae6b,_0x11d123,_0x4a5677,_0x5182f3,_0x550942){var _0x12ee56=_0x4ba233;super(),D(this,_0x12ee56(0x107),new _0x265545(void 0x0)),D(this,'socket$',this[_0x12ee56(0x107)]['asObservable']()),D(this,_0x12ee56(0x1ab),null),D(this,_0x12ee56(0x167),new Map()),D(this,_0x12ee56(0x93),new _0x265545(me['IDLE'])),D(this,_0x12ee56(0x1f2),this[_0x12ee56(0x93)][_0x12ee56(0x1fe)]()),D(this,_0x12ee56(0x171),!0x1),D(this,_0x12ee56(0x267)),D(this,'_retryCount',0x0),D(this,_0x12ee56(0x145)),D(this,_0x12ee56(0x2d9)),(this[_0x12ee56(0x36b)]=_0x394764,this[_0x12ee56(0x28f)]=_0x2bae6b,this[_0x12ee56(0x1c5)]=_0x11d123,this[_0x12ee56(0x27b)]=_0x4a5677,this[_0x12ee56(0x216)]=_0x5182f3,this[_0x12ee56(0xb8)]=_0x550942,this[_0x12ee56(0x1b7)]());}get[_0x4ba233(0x325)](){var _0x32f58b=_0x4ba233;return this['_socket$'][_0x32f58b(0x264)]();}[_0x4ba233(0x1b7)](){var _0x255427=_0x4ba233;this[_0x255427(0xb8)]&&this['disposeWithMe'](this[_0x255427(0xb8)]['online$']['subscribe'](_0x286e4f=>{var _0x2e41a4=_0x255427;_0x286e4f&&!this[_0x2e41a4(0x325)]&&this[_0x2e41a4(0x2e1)](),_0x286e4f||this[_0x2e41a4(0x22e)]();}));}[_0x4ba233(0x16a)](){var _0x3adc2d=_0x4ba233;super[_0x3adc2d(0x16a)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x3adc2d(0x167)][_0x3adc2d(0x1ae)](_0x239b80=>_0x239b80[_0x3adc2d(0x16a)]()),this[_0x3adc2d(0x167)][_0x3adc2d(0x154)](),this['_status$'][_0x3adc2d(0x16b)]();}async[_0x4ba233(0x16f)](_0x4cc5bd){var _0x5a7abc=_0x4ba233;if(this[_0x5a7abc(0x167)][_0x5a7abc(0x31d)](_0x4cc5bd))return this['_sessions'][_0x5a7abc(0xb0)](_0x4cc5bd);this[_0x5a7abc(0x8e)]();const _0x349072=this[_0x5a7abc(0x36b)][_0x5a7abc(0x1cb)](mt,_0x4cc5bd,this[_0x5a7abc(0x107)][_0x5a7abc(0x1fe)]());return this[_0x5a7abc(0x167)]['set'](_0x4cc5bd,_0x349072),_0x349072;}['closeSession'](_0x17064d){var _0x2a829a=_0x4ba233,_0x36813c;const _0x21aff3=this[_0x2a829a(0x167)]['get'](_0x17064d);_0x21aff3&&(this[_0x2a829a(0x167)][_0x2a829a(0x116)](_0x17064d),_0x21aff3[_0x2a829a(0x205)]()),this['_sessions'][_0x2a829a(0xfa)]||(_0x36813c=this[_0x2a829a(0x325)])==null||_0x36813c['close']();}[_0x4ba233(0x2e1)](){var _0x2bac02=_0x4ba233;this['_retryCount']=0x0,this[_0x2bac02(0x2e9)](),this[_0x2bac02(0x13f)]();}[_0x4ba233(0x2e9)](){var _0x300f61=_0x4ba233;this[_0x300f61(0x267)]!=null&&(clearTimeout(this[_0x300f61(0x267)]),this[_0x300f61(0x267)]=null);}async[_0x4ba233(0x197)](){var _0x2168f3=_0x4ba233,_0x57d192;const _0x5ca202=this['_configService'][_0x2168f3(0x3c3)](K),_0x2566c4=(_0x57d192=_0x5ca202==null?void 0x0:_0x5ca202['collabWebSocketUrl'])!=null?_0x57d192:Es,_0x39534c=await this[_0x2168f3(0x27b)][_0x2168f3(0x30b)](_0x2566c4);return this[_0x2168f3(0x1ab)]=_0x39534c,_0x39534c;}async['_tryEnsureSocket'](){var _0x6de9ce=_0x4ba233,_0x42e151,_0x1f8481;try{const _0x8859e8=(_0x1f8481=(_0x42e151=this[_0x6de9ce(0x325)])!=null?_0x42e151:this[_0x6de9ce(0x1ab)])!=null?_0x1f8481:await this[_0x6de9ce(0x197)]();if(_0x8859e8){const _0x1488ff=_0x8859e8['send'];_0x8859e8['send']=_0x41ef05=>(this[_0x6de9ce(0x360)](),_0x1488ff[_0x6de9ce(0x34b)](_0x8859e8,[_0x41ef05])),_0x8859e8[_0x6de9ce(0x187)][_0x6de9ce(0x242)](_0x238c2e=>this[_0x6de9ce(0x103)](_0x8859e8,_0x238c2e)),_0x8859e8['error$'][_0x6de9ce(0x1f5)](_0xec16fd(0x1))['subscribe'](_0x485871=>this[_0x6de9ce(0x28f)][_0x6de9ce(0x28b)](_0x6de9ce(0x301),_0x485871)),_0x8859e8['open$']['pipe'](_0xec16fd(0x1))['subscribe'](()=>{var _0x2af4b1=_0x6de9ce;this[_0x2af4b1(0x162)](_0x8859e8);}),_0x8859e8[_0x6de9ce(0xf7)][_0x6de9ce(0x1f5)](_0xec16fd(0x1))[_0x6de9ce(0x242)](_0x17e305=>{var _0x14cf15=_0x6de9ce;this[_0x14cf15(0x28f)]['debug']('[CollaborationSessionService]',_0x14cf15(0x2d5),_0x17e305),this[_0x14cf15(0x1a2)]();});}}catch(_0x47818f){this['_logService']['error'](_0x47818f),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x1f6540){var _0x532c92=_0x4ba233;this[_0x532c92(0x28f)][_0x532c92(0x221)]('[CollaborationSessionService]',_0x532c92(0xa4)),_0x1f6540[_0x532c92(0x343)]({'cmd':F['HELLO']}),this[_0x532c92(0x360)]();}[_0x4ba233(0x22e)](){var _0x3948d4=_0x4ba233;this[_0x3948d4(0x171)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x3948d4(0x8d)](me[_0x3948d4(0x231)]),this[_0x3948d4(0x107)]['next'](null),this[_0x3948d4(0xf8)](),this[_0x3948d4(0xa0)]();}[_0x4ba233(0x1a2)](){var _0xb2e232=_0x4ba233,_0x1e8049;this[_0xb2e232(0x22e)](),this['_retryCount']<((_0x1e8049=this[_0xb2e232(0x1c5)][_0xb2e232(0x3c3)](gs))!=null?_0x1e8049:Ts)?(this[_0xb2e232(0x216)][_0xb2e232(0x1d0)]({'id':re[_0xb2e232(0x1b0)]}),this[_0xb2e232(0x13f)]()):this[_0xb2e232(0x216)][_0xb2e232(0x1d0)]({'id':re[_0xb2e232(0xf0)]});}['_tryReconnect'](){var _0x284822=_0x4ba233,_0x5008bb;const _0x17b72e=this[_0x284822(0x160)],_0x47b6e0=this['_configService'][_0x284822(0x3c3)](K),_0x2f149b=_0x17b72e===0x0?0x0:((_0x5008bb=_0x47b6e0==null?void 0x0:_0x47b6e0[_0x284822(0x39e)])!=null?_0x5008bb:Ss)*0x2**_0x17b72e;this[_0x284822(0x267)]=setTimeout(()=>{var _0xe6aa6c=_0x284822;clearTimeout(this[_0xe6aa6c(0x267)]),this[_0xe6aa6c(0x267)]=null,this['_tryEnsureSocket']();},_0x2f149b),this[_0x284822(0x160)]+=0x1;}[_0x4ba233(0x103)](_0x5a4674,_0x5921b7){var _0xd12a2e=_0x4ba233;const {cmd:_0x3db617}=_0x5921b7;_0x3db617===F[_0xd12a2e(0x104)]&&!this[_0xd12a2e(0x171)]&&(_0x5a4674[_0xd12a2e(0x339)]=_0x5921b7['data'][_0xd12a2e(0x339)],this[_0xd12a2e(0x107)][_0xd12a2e(0x8d)](_0x5a4674),this[_0xd12a2e(0x93)][_0xd12a2e(0x8d)](me['ONLINE']),this['_socketReady']=!0x0,this[_0xd12a2e(0x1ab)]=null),_0x3db617===F[_0xd12a2e(0xe8)]&&this[_0xd12a2e(0xf8)](),this[_0xd12a2e(0x360)]();}[_0x4ba233(0x360)](){var _0x31c751=_0x4ba233,_0x4d45c3;this['_clearHeartbeatTimer'](),this[_0x31c751(0x145)]=setTimeout(()=>this[_0x31c751(0x1d4)](),(_0x4d45c3=this[_0x31c751(0x1c5)]['getConfig'](ms))!=null?_0x4d45c3:Is);}[_0x4ba233(0x1d4)](){var _0x29d89f=_0x4ba233;this[_0x29d89f(0x325)][_0x29d89f(0x343)]({'cmd':F[_0x29d89f(0xe8)]}),this[_0x29d89f(0x1d7)]();}[_0x4ba233(0x1d7)](){var _0x563965=_0x4ba233,_0x3c799f;this[_0x563965(0x2d9)]=setTimeout(()=>this[_0x563965(0x1a2)](),(_0x3c799f=this['_configService'][_0x563965(0x3c3)](di))!=null?_0x3c799f:fi);}[_0x4ba233(0xa0)](){var _0x37a490=_0x4ba233;this[_0x37a490(0x145)]!=null&&(clearTimeout(this[_0x37a490(0x145)]),this[_0x37a490(0x145)]=null);}[_0x4ba233(0xf8)](){var _0x14f2e9=_0x4ba233;this[_0x14f2e9(0x2d9)]!=null&&(clearTimeout(this[_0x14f2e9(0x2d9)]),this[_0x14f2e9(0x2d9)]=null);}};we=qs([Re(0x0,_0x51a12c(_0x15f0b3)),Re(0x1,_0x4d666b),Re(0x2,_0x427ac7),Re(0x3,Oi),Re(0x4,_0x51a12c(ve)),Re(0x5,_0x22c1ae(js))],we);var zs=Object[_0x4ba233(0x347)],Js=(_0x291a67,_0x2a8934,_0x4f06c0,_0x537867)=>{var _0x262463=_0x4ba233;for(var _0x5a3b38=_0x537867>0x1?void 0x0:_0x537867?zs(_0x2a8934,_0x4f06c0):_0x2a8934,_0x36caf6=_0x291a67[_0x262463(0x333)]-0x1,_0x8a3b00;_0x36caf6>=0x0;_0x36caf6--)(_0x8a3b00=_0x291a67[_0x36caf6])&&(_0x5a3b38=_0x8a3b00(_0x5a3b38)||_0x5a3b38);return _0x5a3b38;},Be=(_0x54ac30,_0x55b267)=>(_0x48243b,_0xecc025)=>_0x55b267(_0x48243b,_0xecc025,_0x54ac30);let nt=class extends _0x4ac35d{constructor(_0x496cfc,_0x48ff07,_0x31a130,_0x3b2b1f){var _0x5c705e=_0x4ba233,_0x125a9f;super(),D(this,_0x5c705e(0x2bf),new Map()),D(this,'_entityInit$',new _0x2271e1()),D(this,_0x5c705e(0x1e2),this[_0x5c705e(0x2ea)]['asObservable']()),(this[_0x5c705e(0x36b)]=_0x496cfc,this[_0x5c705e(0x38b)]=_0x48ff07,this[_0x5c705e(0x1c5)]=_0x31a130,this[_0x5c705e(0x9e)]=_0x3b2b1f,((_0x125a9f=this['_configService']['getConfig'](K))==null?void 0x0:_0x125a9f[_0x5c705e(0x2fa)])!==!0x1&&this[_0x5c705e(0x33e)]());}[_0x4ba233(0x16a)](){var _0x3b92d8=_0x4ba233;super[_0x3b92d8(0x16a)](),this[_0x3b92d8(0x2bf)][_0x3b92d8(0x1ae)](_0x526999=>_0x526999[_0x3b92d8(0x16a)]()),this['_entities'][_0x3b92d8(0x154)]();}[_0x4ba233(0x2f5)](_0xa44760){var _0x12fa5b=_0x4ba233,_0x173fc4;return(_0x173fc4=this['_entities'][_0x12fa5b(0xb0)](_0xa44760))!=null?_0x173fc4:null;}[_0x4ba233(0x377)](_0x552732){var _0x14c916=_0x4ba233;const _0x10873b=this[_0x14c916(0x2f5)](_0x552732);return _0x10873b?_0x4b387d(_0x10873b):this[_0x14c916(0x2ea)][_0x14c916(0x1f5)](_0x3ef4b8(_0x4f5a6a=>_0x4f5a6a[_0x14c916(0xeb)]===_0x552732));}['readyForCollab'](_0x5a5575){var _0x19f589=_0x4ba233;return _0xcb028b(this[_0x19f589(0x377)](_0x5a5575)[_0x19f589(0x1f5)](_0x574d61(()=>{})));}[_0x4ba233(0x33e)](){var _0x53ad78=_0x4ba233;this[_0x53ad78(0x9e)][_0x53ad78(0x237)](_0x75a23c[_0x53ad78(0x147)])[_0x53ad78(0x1f5)](_0x36e684(this[_0x53ad78(0x314)]),_0x491a76(0x10))['subscribe'](async _0x43aeb7=>{var _0x201759=_0x53ad78;const _0x3c483=_0x43aeb7['getUnitId'](),_0x1b876d=await this[_0x201759(0x2aa)](_0x3c483,Q[_0x201759(0x147)]);this[_0x201759(0x2bf)][_0x201759(0xd5)](_0x3c483,_0x1b876d);}),this[_0x53ad78(0x9e)][_0x53ad78(0x237)](_0x75a23c[_0x53ad78(0x266)])['pipe'](_0x36e684(this[_0x53ad78(0x314)]),_0x491a76(0x10))[_0x53ad78(0x1f5)](_0x3ef4b8(_0x117f52=>!_0x117f52[_0x53ad78(0x19a)]()[_0x53ad78(0x210)]('__')))[_0x53ad78(0x242)](async _0x5a5be6=>{var _0x3cfc19=_0x53ad78;const _0x58de7d=_0x5a5be6[_0x3cfc19(0x19a)](),_0x4d86fa=await this['_startCollaboration'](_0x58de7d,Q[_0x3cfc19(0x266)]);this[_0x3cfc19(0x2bf)][_0x3cfc19(0xd5)](_0x58de7d,_0x4d86fa);}),_0x4154d5(this[_0x53ad78(0x9e)]['getTypeOfUnitDisposed$'](_0x75a23c['UNIVER_SHEET']),this[_0x53ad78(0x9e)][_0x53ad78(0x19f)](_0x75a23c[_0x53ad78(0x266)]))[_0x53ad78(0x1f5)](_0x36e684(this[_0x53ad78(0x314)]))[_0x53ad78(0x242)](_0x2be8d9=>{var _0x11de8a=_0x53ad78;const _0x44ae8f=_0x2be8d9[_0x11de8a(0x19a)](),_0x3f7a2a=this[_0x11de8a(0x2bf)]['get'](_0x44ae8f);_0x3f7a2a&&(_0x3f7a2a['dispose'](),this['_entities']['delete'](_0x44ae8f));});}async[_0x4ba233(0x2aa)](_0x2e0345,_0x2c46a0){var _0x106ddb=_0x4ba233;const _0x57cd76=await this[_0x106ddb(0x38b)][_0x106ddb(0x16f)](_0x2e0345),_0x9f85d9=this['_injector'][_0x106ddb(0x1cb)](this['_getCtorByUniverType'](_0x2c46a0),_0x2e0345,_0x2c46a0,_0x57cd76);return await _0x9f85d9[_0x106ddb(0x297)](),this['_entityInit$'][_0x106ddb(0x8d)](_0x9f85d9),_0x9f85d9;}['_getCtorByUniverType'](_0x41ac0){var _0x4fea37=_0x4ba233;switch(_0x41ac0){case Q[_0x4fea37(0x266)]:return It;case Q['UNIVER_SHEET']:return St;default:throw new Error(_0x4fea37(0x99)+_0x41ac0);}}};nt=Js([Be(0x0,_0x51a12c(_0x15f0b3)),Be(0x1,_0x51a12c(we)),Be(0x2,_0x427ac7),Be(0x3,_0x5af922)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x1d781e,_0xdfc6f3,_0x13ec52,_0x101fd6)=>{var _0x33466c=_0x4ba233;for(var _0xe81826=_0x101fd6>0x1?void 0x0:_0x101fd6?Xs(_0xdfc6f3,_0x13ec52):_0xdfc6f3,_0x5534d1=_0x1d781e[_0x33466c(0x333)]-0x1,_0x3e982f;_0x5534d1>=0x0;_0x5534d1--)(_0x3e982f=_0x1d781e[_0x5534d1])&&(_0xe81826=_0x3e982f(_0xe81826)||_0xe81826);return _0xe81826;},Yt=(_0x16949b,_0x4d845)=>(_0x2d1de6,_0x17c077)=>_0x4d845(_0x2d1de6,_0x17c077,_0x16949b);const Qs=_0x4ba233(0x29d),en='Univer';let gt=class extends _0x29bf33{constructor(_0x5ed231,_0x1ef03a){var _0x423507=_0x4ba233;super(),this[_0x423507(0x9e)]=_0x5ed231,this[_0x423507(0x1c5)]=_0x1ef03a,this['_init']();}[_0x4ba233(0x33e)](){var _0x45687d=_0x4ba233;this[_0x45687d(0x373)](this[_0x45687d(0x9e)][_0x45687d(0x168)][_0x45687d(0x242)](()=>{var _0x280d50=_0x45687d,_0x72d0d1;const _0x37860b=this[_0x280d50(0x9e)]['getFocusedUnit']();let _0x39458c=(_0x72d0d1=this[_0x280d50(0x1c5)]['getConfig'](Qs))!=null?_0x72d0d1:en;_0x37860b instanceof _0x324d82&&(_0x39458c=_0x37860b[_0x280d50(0x22a)]),document[_0x280d50(0x291)]=_0x39458c;}));}};gt=Zs([Yt(0x0,_0x5af922),Yt(0x1,_0x427ac7)],gt);var tn=Object[_0x4ba233(0x347)],sn=(_0x3c628b,_0x1a548a,_0x39b3bd,_0x5c91c5)=>{var _0x2168b3=_0x4ba233;for(var _0x49c432=_0x5c91c5>0x1?void 0x0:_0x5c91c5?tn(_0x1a548a,_0x39b3bd):_0x1a548a,_0x2bf6a1=_0x3c628b[_0x2168b3(0x333)]-0x1,_0x1ac2ae;_0x2bf6a1>=0x0;_0x2bf6a1--)(_0x1ac2ae=_0x3c628b[_0x2bf6a1])&&(_0x49c432=_0x1ac2ae(_0x49c432)||_0x49c432);return _0x49c432;},dt=(_0x59e60a,_0x259929)=>(_0x43df1d,_0x278717)=>_0x259929(_0x43df1d,_0x278717,_0x59e60a);let rt=class{constructor(_0x25e6d3,_0x3121ff,_0x154b21){var _0x1e4142=_0x4ba233;this[_0x1e4142(0x1c5)]=_0x25e6d3,this[_0x1e4142(0x368)]=_0x3121ff,this[_0x1e4142(0x33c)]=_0x154b21,this[_0x1e4142(0x297)]();}[_0x4ba233(0x297)](){var _0x43ebcf=_0x4ba233;this[_0x43ebcf(0x368)][_0x43ebcf(0x1f9)]({'priority':0x1,'interceptor':(_0x33c8f5,_0x5d088c)=>_0x5d088c(_0x33c8f5)[_0x43ebcf(0x1f5)](_0x18a613(async _0x1835f5=>{var _0x2f5f2a=_0x43ebcf;const _0x40e675=_0x1835f5;if(_0x40e675[_0x2f5f2a(0x11a)]===0x191){if(typeof window>'u')throw new Error(_0x2f5f2a(0x23d));if(window[_0x2f5f2a(0x1ca)](this[_0x2f5f2a(0x33c)]['t'](_0x2f5f2a(0x165)))){const _0x158a50=window[_0x2f5f2a(0x341)](window[_0x2f5f2a(0xe1)][_0x2f5f2a(0x24e)]);window['location'][_0x2f5f2a(0x24e)]=this[_0x2f5f2a(0x190)]()+'?url='+_0x158a50;}}return _0x40e675;}))});}[_0x4ba233(0x190)](){var _0x376356=_0x4ba233,_0x62b06a;const _0x28cb15=this[_0x376356(0x1c5)][_0x376356(0x3c3)](K);return(_0x62b06a=_0x28cb15==null?void 0x0:_0x28cb15[_0x376356(0x394)])!=null?_0x62b06a:Rs;}};rt=sn([dt(0x0,_0x427ac7),dt(0x1,_0x51a12c(_0x3caecd)),dt(0x2,_0x51a12c(_0x3abb4d))],rt);var nn=Object[_0x4ba233(0x347)],rn=(_0x1a5c4a,_0x38f227,_0x3b02e6,_0x60b198)=>{var _0x1bd112=_0x4ba233;for(var _0xeb65f3=_0x60b198>0x1?void 0x0:_0x60b198?nn(_0x38f227,_0x3b02e6):_0x38f227,_0x56873a=_0x1a5c4a[_0x1bd112(0x333)]-0x1,_0x273066;_0x56873a>=0x0;_0x56873a--)(_0x273066=_0x1a5c4a[_0x56873a])&&(_0xeb65f3=_0x273066(_0xeb65f3)||_0xeb65f3);return _0xeb65f3;},Kt=(_0x417861,_0x14587e)=>(_0x1d13f3,_0x1cbfaf)=>_0x14587e(_0x1d13f3,_0x1cbfaf,_0x417861);const an=_0x4ba233(0x20a);let Tt=class extends _0x29bf33{constructor(_0x1426cf,_0x5baf8b){var _0x2e645d=_0x4ba233;super(),this[_0x2e645d(0x285)]=_0x1426cf,this[_0x2e645d(0x1c5)]=_0x5baf8b,this[_0x2e645d(0xb1)]();}[_0x4ba233(0xb1)](){var _0x378b55=_0x4ba233;const _0x5e4eaf=this;this['disposeWithMe'](this[_0x378b55(0x285)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x7935df({'isMatch'(_0xe285a9){var _0x2ce7b3=_0x378b55,_0x1d6d6f;if(_0xe285a9[_0x2ce7b3(0x3b1)]===_0x2ce7b3(0x11e)&&((_0x1d6d6f=_0xe285a9[_0x2ce7b3(0x32a)])!=null&&_0x1d6d6f['body'])){const {objectID:_0x23285c,objectType:_0x548701}=_0xe285a9[_0x2ce7b3(0x32a)][_0x2ce7b3(0x31f)]||{};if(!_0x23285c||_0x548701===void 0x0)return!0x1;const _0x30a309=_0x5e4eaf[_0x2ce7b3(0x161)]()+'/'+_0x548701+_0x2ce7b3(0x38e)+_0x23285c+_0x2ce7b3(0x245);if(_0xe285a9[_0x2ce7b3(0x176)]===_0x30a309)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1a364d){var _0x322c50=_0x378b55,_0x167dd0;return(_0x167dd0=_0x1a364d[_0x322c50(0x32a)])==null?void 0x0:_0x167dd0[_0x322c50(0x31f)];},'mergeParamsToRequest'(_0x3d7887,_0x3224f6){var _0x5e592f=_0x378b55;const _0x3cb09c=_0x5e4eaf['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x36e799=_0x3d7887['reduce']((_0x1ff590,_0x1ad9f6)=>{var _0x34025f=_0x2b55;const {unitID:_0x2c83da,objectID:_0x264187,objectType:_0x244beb,actions:_0x3322e3}=_0x1ad9f6;return _0x1ff590[_0x2c83da]||(_0x1ff590[_0x2c83da]={}),_0x1ff590[_0x2c83da][_0x264187]||(_0x1ff590[_0x2c83da][_0x264187]={'objectID':_0x264187,'objectType':_0x244beb,'actions':[]}),_0x1ff590[_0x2c83da][_0x264187]['actions'][_0x34025f(0x3be)](..._0x3322e3),_0x1ff590;},{}),_0x5b8b4b=[];for(const _0x5706e8 in _0x36e799)for(const _0x56e3ed in _0x36e799[_0x5706e8]){const {actions:_0xd5a778,objectType:_0x3342e1}=_0x36e799[_0x5706e8][_0x56e3ed],_0x23ef76=[...new Set(_0xd5a778)];_0x5b8b4b[_0x5e592f(0x3be)]({'unitID':_0x5706e8,'objectID':_0x56e3ed,'objectType':_0x3342e1,'actions':_0x23ef76});}return new _0x1aa68a(_0x5e592f(0x11e),_0x3cb09c,{'headers':_0x3224f6['headers'],'withCredentials':_0x3224f6['withCredentials'],'responseType':_0x3224f6[_0x5e592f(0x157)],'body':{'requests':_0x5b8b4b}});}},{'distributeResult'(_0x8db448,_0x30f817){var _0x37ca04=_0x378b55;const {objectActions:_0x44bf25}=_0x8db448;return _0x30f817[_0x37ca04(0x33a)](_0x4c2b88=>{var _0x4b43d7=_0x37ca04;const {unitID:_0x2c6700,objectID:_0x2c6a21,actions:_0x2ce48b}=_0x4c2b88,_0x1448f9=_0x44bf25[_0x4b43d7(0x311)](_0x2609d6=>_0x2609d6[_0x4b43d7(0xeb)]===_0x2c6700&&_0x2609d6[_0x4b43d7(0x3b9)]===_0x2c6a21),_0x184a48=_0x2ce48b[_0x4b43d7(0x33a)](_0x25f881=>_0x1448f9==null?void 0x0:_0x1448f9['actions'][_0x4b43d7(0x311)](_0x406488=>_0x406488[_0x4b43d7(0x2ef)]===_0x25f881))['filter'](_0x4ef7a6=>!!_0x4ef7a6);return{'config':_0x4c2b88,'result':{'actions':_0x184a48,'error':_0x8db448[_0x4b43d7(0x28b)]}};});}})}));}['_getAPIPrefixPath'](){var _0xf0627=_0x4ba233,_0x3f95f4;const _0x5e513b=this[_0xf0627(0x1c5)][_0xf0627(0x3c3)](K);return(_0x3f95f4=_0x5e513b==null?void 0x0:_0x5e513b['authzUrl'])!=null?_0x3f95f4:an;}async[_0x4ba233(0x3bb)](_0x49392d){var _0x17504f=_0x4ba233;const _0x357fc7=this[_0x17504f(0x161)]()+'/'+_0x49392d[_0x17504f(0x3a6)]+'/object';return(await this[_0x17504f(0x285)]['post'](_0x357fc7,{'body':_0x49392d}))['body']['objectID']||'';}async[_0x4ba233(0x2b6)](_0x1c9894){var _0x3f3ee1=_0x4ba233;const _0x333430=this['_getAPIPrefixPath']()+_0x3f3ee1(0x1b6);return(await this[_0x3f3ee1(0x285)][_0x3f3ee1(0x33f)](_0x333430,{'body':_0x1c9894}))['body'][_0x3f3ee1(0x34a)];}async[_0x4ba233(0x31b)](_0x244dfb){var _0x1f4499=_0x4ba233,_0xc87305,_0x4bc6af;const _0x36b6a7=this[_0x1f4499(0x161)]()+'/'+_0x244dfb['objectType']+_0x1f4499(0x38e)+_0x244dfb['objectID'],_0x89301f=await this[_0x1f4499(0x285)]['put'](_0x36b6a7,{'body':_0x244dfb});if(((_0x4bc6af=(_0xc87305=_0x89301f==null?void 0x0:_0x89301f['body'])==null?void 0x0:_0xc87305[_0x1f4499(0x28b)])==null?void 0x0:_0x4bc6af[_0x1f4499(0xd9)])!==0x1)throw new Error(_0x1f4499(0x2fe));}async[_0x4ba233(0x11b)](_0xfe38f7){var _0x33bb6a=_0x4ba233;const _0x470456=this[_0x33bb6a(0x161)]()+'/'+_0xfe38f7[_0x33bb6a(0x3a6)]+_0x33bb6a(0x38e)+_0xfe38f7['objectID']+_0x33bb6a(0x245);return(await this[_0x33bb6a(0x285)][_0x33bb6a(0x33f)](_0x470456,{'body':_0xfe38f7}))[_0x33bb6a(0x31f)][_0x33bb6a(0x1ba)];}async[_0x4ba233(0x244)](_0x1dd114){var _0xa12e6f=_0x4ba233;const _0x1302c8=this[_0xa12e6f(0x161)]()+'/-/object/-/batch_allowed';return(await this[_0xa12e6f(0x285)]['post'](_0x1302c8,{'body':{'requests':_0x1dd114}}))[_0xa12e6f(0x31f)]['objectActions'];}async[_0x4ba233(0x1f4)](_0x13b993){var _0x149c73=_0x4ba233;const _0x36fa08=this[_0x149c73(0x161)]()+'/'+_0x13b993[_0x149c73(0x3a6)]+_0x149c73(0x16e),_0x5b4d58=await this[_0x149c73(0x285)][_0x149c73(0x33f)](_0x36fa08,{'body':_0x13b993});return{'roles':_0x5b4d58[_0x149c73(0x31f)][_0x149c73(0x1b1)],'actions':_0x5b4d58[_0x149c73(0x31f)][_0x149c73(0x1ba)]};}async[_0x4ba233(0xdc)](_0x188716){var _0x221dff=_0x4ba233;const _0xae6088=this[_0x221dff(0x161)]()+'/collaborator';await this['_HTTPService'][_0x221dff(0x116)](_0xae6088,{'params':{'collaboratorID':_0x188716[_0x221dff(0xda)],'objectID':_0x188716[_0x221dff(0x3b9)],'unitID':_0x188716[_0x221dff(0xeb)]}});}async[_0x4ba233(0x2a0)](_0x44b4d7){var _0x10e72a=_0x4ba233;const _0x13f29e=this[_0x10e72a(0x161)]()+_0x10e72a(0xfb);await this['_HTTPService'][_0x10e72a(0x313)](_0x13f29e,{'body':_0x44b4d7});}async[_0x4ba233(0x98)](_0x358168){var _0x22d26f=_0x4ba233;const _0x256a8c=this['_getAPIPrefixPath']()+_0x22d26f(0xfb);await this['_HTTPService']['post'](_0x256a8c,{'body':_0x358168});}async[_0x4ba233(0x12a)](_0x1f6f57){var _0x20254a=_0x4ba233;const _0x2a2e08=this[_0x20254a(0x161)]()+_0x20254a(0xfb);return(await this['_HTTPService']['get'](_0x2a2e08,{'params':{'objectID':_0x1f6f57['objectID'],'unitID':_0x1f6f57[_0x20254a(0xeb)]}}))[_0x20254a(0x31f)][_0x20254a(0xa7)];}async[_0x4ba233(0xe6)](_0x539a15){var _0x206467=_0x4ba233;const _0x105621=this[_0x206467(0x161)]()+_0x206467(0xfb);await this['_HTTPService'][_0x206467(0x124)](_0x105621,{'body':_0x539a15});}};Tt=rn([Kt(0x0,_0x51a12c(_0x3caecd)),Kt(0x1,_0x51a12c(_0x427ac7))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x245515){var _0x25cfb1=_0x4ba233;return _0x245515&&_0x245515[_0x25cfb1(0xab)]&&Object[_0x25cfb1(0x1a9)][_0x25cfb1(0x159)][_0x25cfb1(0x2ed)](_0x245515,_0x25cfb1(0x1c2))?_0x245515[_0x25cfb1(0x1c2)]:_0x245515;}var Ve={'exports':{}};function on(_0x4a81f8){var _0x18880f=_0x4ba233;throw new Error(_0x18880f(0x269)+_0x4a81f8+_0x18880f(0x1f6));}var Ge={'exports':{}},cn=Ge[_0x4ba233(0x2b4)],qt;function ie(){return qt||(qt=0x1,function(_0x40cc8d,_0x308892){(function(_0x21f2e5,_0x155d46){_0x40cc8d['exports']=_0x155d46();}(cn,function(){var _0x4d6603=_0x4d6603||function(_0x2bccb4,_0xb19fbb){var _0x5a48ba=_0x2b55,_0xec0507;if(typeof window<'u'&&window['crypto']&&(_0xec0507=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xec0507=self[_0x5a48ba(0x2c5)]),typeof globalThis<'u'&&globalThis[_0x5a48ba(0x2c5)]&&(_0xec0507=globalThis[_0x5a48ba(0x2c5)]),!_0xec0507&&typeof window<'u'&&window[_0x5a48ba(0x114)]&&(_0xec0507=window[_0x5a48ba(0x114)]),!_0xec0507&&typeof ft<'u'&&ft[_0x5a48ba(0x2c5)]&&(_0xec0507=ft[_0x5a48ba(0x2c5)]),!_0xec0507&&typeof on==_0x5a48ba(0x384))try{_0xec0507=require('crypto');}catch{}var _0x44252d=function(){var _0x3a3760=_0x5a48ba;if(_0xec0507){if(typeof _0xec0507[_0x3a3760(0x265)]=='function')try{return _0xec0507[_0x3a3760(0x265)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xec0507[_0x3a3760(0x334)]==_0x3a3760(0x384))try{return _0xec0507[_0x3a3760(0x334)](0x4)[_0x3a3760(0x2b9)]();}catch{}}throw new Error(_0x3a3760(0x275));},_0x5d6bb2=Object[_0x5a48ba(0x3bb)]||(function(){function _0x24410b(){}return function(_0x63bd60){var _0x1d2c35=_0x2b55,_0x296be6;return _0x24410b[_0x1d2c35(0x1a9)]=_0x63bd60,_0x296be6=new _0x24410b(),_0x24410b[_0x1d2c35(0x1a9)]=null,_0x296be6;};}()),_0x43fec1={},_0x2a2b5d=_0x43fec1[_0x5a48ba(0x220)]={},_0x2c16cc=_0x2a2b5d[_0x5a48ba(0x153)]=(function(){return{'extend':function(_0x4ecd60){var _0xacad54=_0x2b55,_0x2a8cf5=_0x5d6bb2(this);return _0x4ecd60&&_0x2a8cf5[_0xacad54(0x10a)](_0x4ecd60),(!_0x2a8cf5[_0xacad54(0x159)](_0xacad54(0x297))||this[_0xacad54(0x297)]===_0x2a8cf5[_0xacad54(0x297)])&&(_0x2a8cf5['init']=function(){var _0x29701c=_0xacad54;_0x2a8cf5[_0x29701c(0x14f)][_0x29701c(0x297)]['apply'](this,arguments);}),_0x2a8cf5[_0xacad54(0x297)][_0xacad54(0x1a9)]=_0x2a8cf5,_0x2a8cf5[_0xacad54(0x14f)]=this,_0x2a8cf5;},'create':function(){var _0x517b27=_0x2b55,_0xa6d599=this['extend']();return _0xa6d599[_0x517b27(0x297)][_0x517b27(0x34b)](_0xa6d599,arguments),_0xa6d599;},'init':function(){},'mixIn':function(_0x388e19){var _0x3be4e3=_0x2b55;for(var _0x22844e in _0x388e19)_0x388e19[_0x3be4e3(0x159)](_0x22844e)&&(this[_0x22844e]=_0x388e19[_0x22844e]);_0x388e19['hasOwnProperty'](_0x3be4e3(0x3c6))&&(this['toString']=_0x388e19[_0x3be4e3(0x3c6)]);},'clone':function(){var _0x12bb63=_0x2b55;return this['init'][_0x12bb63(0x1a9)][_0x12bb63(0x236)](this);}};}()),_0x110427=_0x2a2b5d[_0x5a48ba(0x27c)]=_0x2c16cc[_0x5a48ba(0x236)]({'init':function(_0x507af4,_0x1bc601){var _0x3e691f=_0x5a48ba;_0x507af4=this['words']=_0x507af4||[],_0x1bc601!=_0xb19fbb?this[_0x3e691f(0xc5)]=_0x1bc601:this[_0x3e691f(0xc5)]=_0x507af4[_0x3e691f(0x333)]*0x4;},'toString':function(_0x21578c){var _0x47ab0a=_0x5a48ba;return(_0x21578c||_0x56e5f6)[_0x47ab0a(0x330)](this);},'concat':function(_0x1b0887){var _0x4a00ee=_0x5a48ba,_0x54aaa8=this[_0x4a00ee(0x27d)],_0x1401cd=_0x1b0887[_0x4a00ee(0x27d)],_0x43d735=this[_0x4a00ee(0xc5)],_0x44ee5f=_0x1b0887[_0x4a00ee(0xc5)];if(this[_0x4a00ee(0x95)](),_0x43d735%0x4)for(var _0x3a9176=0x0;_0x3a9176<_0x44ee5f;_0x3a9176++){var _0x40a7b0=_0x1401cd[_0x3a9176>>>0x2]>>>0x18-_0x3a9176%0x4*0x8&0xff;_0x54aaa8[_0x43d735+_0x3a9176>>>0x2]|=_0x40a7b0<<0x18-(_0x43d735+_0x3a9176)%0x4*0x8;}else{for(var _0x1c416c=0x0;_0x1c416c<_0x44ee5f;_0x1c416c+=0x4)_0x54aaa8[_0x43d735+_0x1c416c>>>0x2]=_0x1401cd[_0x1c416c>>>0x2];}return this[_0x4a00ee(0xc5)]+=_0x44ee5f,this;},'clamp':function(){var _0x1300f1=_0x5a48ba,_0xaf3f53=this[_0x1300f1(0x27d)],_0x3687b8=this['sigBytes'];_0xaf3f53[_0x3687b8>>>0x2]&=0xffffffff<<0x20-_0x3687b8%0x4*0x8,_0xaf3f53[_0x1300f1(0x333)]=_0x2bccb4[_0x1300f1(0x292)](_0x3687b8/0x4);},'clone':function(){var _0x3589de=_0x5a48ba,_0x4e8097=_0x2c16cc[_0x3589de(0xfc)]['call'](this);return _0x4e8097['words']=this['words'][_0x3589de(0x131)](0x0),_0x4e8097;},'random':function(_0x53a88c){var _0x3acce9=_0x5a48ba;for(var _0x3c9646=[],_0x2ac8e3=0x0;_0x2ac8e3<_0x53a88c;_0x2ac8e3+=0x4)_0x3c9646[_0x3acce9(0x3be)](_0x44252d());return new _0x110427[(_0x3acce9(0x297))](_0x3c9646,_0x53a88c);}}),_0x29b262=_0x43fec1[_0x5a48ba(0xbe)]={},_0x56e5f6=_0x29b262[_0x5a48ba(0x391)]={'stringify':function(_0x54fd2a){var _0x3d0fbb=_0x5a48ba;for(var _0x1a5912=_0x54fd2a[_0x3d0fbb(0x27d)],_0x16a6d4=_0x54fd2a[_0x3d0fbb(0xc5)],_0x227e02=[],_0x1698b4=0x0;_0x1698b4<_0x16a6d4;_0x1698b4++){var _0x3adb8a=_0x1a5912[_0x1698b4>>>0x2]>>>0x18-_0x1698b4%0x4*0x8&0xff;_0x227e02['push']((_0x3adb8a>>>0x4)[_0x3d0fbb(0x3c6)](0x10)),_0x227e02[_0x3d0fbb(0x3be)]((_0x3adb8a&0xf)[_0x3d0fbb(0x3c6)](0x10));}return _0x227e02[_0x3d0fbb(0xd6)]('');},'parse':function(_0x54ac27){var _0xaf474f=_0x5a48ba;for(var _0x372e94=_0x54ac27[_0xaf474f(0x333)],_0x215001=[],_0x593231=0x0;_0x593231<_0x372e94;_0x593231+=0x2)_0x215001[_0x593231>>>0x3]|=parseInt(_0x54ac27[_0xaf474f(0x1e7)](_0x593231,0x2),0x10)<<0x18-_0x593231%0x8*0x4;return new _0x110427['init'](_0x215001,_0x372e94/0x2);}},_0x9b1bd4=_0x29b262[_0x5a48ba(0x19e)]={'stringify':function(_0x3a0b48){var _0x1e5a4e=_0x5a48ba;for(var _0x5a8d21=_0x3a0b48[_0x1e5a4e(0x27d)],_0x11ba73=_0x3a0b48[_0x1e5a4e(0xc5)],_0x40354b=[],_0x89e08f=0x0;_0x89e08f<_0x11ba73;_0x89e08f++){var _0x42f273=_0x5a8d21[_0x89e08f>>>0x2]>>>0x18-_0x89e08f%0x4*0x8&0xff;_0x40354b[_0x1e5a4e(0x3be)](String['fromCharCode'](_0x42f273));}return _0x40354b[_0x1e5a4e(0xd6)]('');},'parse':function(_0x46f5b0){var _0x304735=_0x5a48ba;for(var _0x16e7dd=_0x46f5b0[_0x304735(0x333)],_0x2263ff=[],_0x8d7562=0x0;_0x8d7562<_0x16e7dd;_0x8d7562++)_0x2263ff[_0x8d7562>>>0x2]|=(_0x46f5b0[_0x304735(0x105)](_0x8d7562)&0xff)<<0x18-_0x8d7562%0x4*0x8;return new _0x110427[(_0x304735(0x297))](_0x2263ff,_0x16e7dd);}},_0x390eee=_0x29b262[_0x5a48ba(0x174)]={'stringify':function(_0x21d5e2){var _0x4e8dbc=_0x5a48ba;try{return decodeURIComponent(escape(_0x9b1bd4[_0x4e8dbc(0x330)](_0x21d5e2)));}catch{throw new Error(_0x4e8dbc(0x2c6));}},'parse':function(_0xbf376c){return _0x9b1bd4['parse'](unescape(encodeURIComponent(_0xbf376c)));}},_0xf0ee0=_0x2a2b5d[_0x5a48ba(0x222)]=_0x2c16cc[_0x5a48ba(0x236)]({'reset':function(){var _0x5f2350=_0x5a48ba;this[_0x5f2350(0x1b5)]=new _0x110427[(_0x5f2350(0x297))](),this[_0x5f2350(0x108)]=0x0;},'_append':function(_0x29864a){var _0x27d614=_0x5a48ba;typeof _0x29864a=='string'&&(_0x29864a=_0x390eee[_0x27d614(0x149)](_0x29864a)),this[_0x27d614(0x1b5)][_0x27d614(0x3af)](_0x29864a),this[_0x27d614(0x108)]+=_0x29864a[_0x27d614(0xc5)];},'_process':function(_0x220b3c){var _0x31ed49=_0x5a48ba,_0x99d3fb,_0x4ad308=this[_0x31ed49(0x1b5)],_0x30c662=_0x4ad308[_0x31ed49(0x27d)],_0x3158b9=_0x4ad308[_0x31ed49(0xc5)],_0x36b987=this['blockSize'],_0x52e0c1=_0x36b987*0x4,_0x274ca2=_0x3158b9/_0x52e0c1;_0x220b3c?_0x274ca2=_0x2bccb4[_0x31ed49(0x292)](_0x274ca2):_0x274ca2=_0x2bccb4[_0x31ed49(0x280)]((_0x274ca2|0x0)-this[_0x31ed49(0x17a)],0x0);var _0x3deb91=_0x274ca2*_0x36b987,_0x3f5530=_0x2bccb4[_0x31ed49(0x37e)](_0x3deb91*0x4,_0x3158b9);if(_0x3deb91){for(var _0x3f53a0=0x0;_0x3f53a0<_0x3deb91;_0x3f53a0+=_0x36b987)this[_0x31ed49(0x232)](_0x30c662,_0x3f53a0);_0x99d3fb=_0x30c662[_0x31ed49(0x207)](0x0,_0x3deb91),_0x4ad308[_0x31ed49(0xc5)]-=_0x3f5530;}return new _0x110427['init'](_0x99d3fb,_0x3f5530);},'clone':function(){var _0x2d149e=_0x5a48ba,_0x42b3fe=_0x2c16cc[_0x2d149e(0xfc)][_0x2d149e(0x2ed)](this);return _0x42b3fe[_0x2d149e(0x1b5)]=this[_0x2d149e(0x1b5)][_0x2d149e(0xfc)](),_0x42b3fe;},'_minBufferSize':0x0});_0x2a2b5d[_0x5a48ba(0x204)]=_0xf0ee0[_0x5a48ba(0x236)]({'cfg':_0x2c16cc[_0x5a48ba(0x236)](),'init':function(_0x8c6526){var _0x376012=_0x5a48ba;this[_0x376012(0x23c)]=this[_0x376012(0x23c)][_0x376012(0x236)](_0x8c6526),this['reset']();},'reset':function(){var _0x2aa973=_0x5a48ba;_0xf0ee0['reset']['call'](this),this[_0x2aa973(0x3ad)]();},'update':function(_0x48e298){var _0x2ef6fc=_0x5a48ba;return this['_append'](_0x48e298),this[_0x2ef6fc(0x37d)](),this;},'finalize':function(_0x51be92){var _0x304d5=_0x5a48ba;_0x51be92&&this[_0x304d5(0x188)](_0x51be92);var _0x976a49=this['_doFinalize']();return _0x976a49;},'blockSize':0x10,'_createHelper':function(_0x2f921e){return function(_0x270400,_0x54ea88){var _0x3be5c9=_0x2b55;return new _0x2f921e[(_0x3be5c9(0x297))](_0x54ea88)[_0x3be5c9(0x178)](_0x270400);};},'_createHmacHelper':function(_0x1b72dc){return function(_0xbc83bc,_0x495d4f){var _0x487e9b=_0x2b55;return new _0xcb8396['HMAC'][(_0x487e9b(0x297))](_0x1b72dc,_0x495d4f)[_0x487e9b(0x178)](_0xbc83bc);};}});var _0xcb8396=_0x43fec1[_0x5a48ba(0x19c)]={};return _0x43fec1;}(Math);return _0x4d6603;}));}(Ge)),Ge['exports'];}var We={'exports':{}},_n=We[_0x4ba233(0x2b4)],zt;function Ri(){var _0x27e948=_0x4ba233;return zt||(zt=0x1,function(_0x2cbc2b,_0x361b2f){(function(_0x507f42,_0x1cbf9e){_0x2cbc2b['exports']=_0x1cbf9e(ie());}(_n,function(_0x12230a){var _0x1d81c0=_0x2b55;return(function(){var _0x53a774=_0x2b55,_0x170732=_0x12230a,_0x541db4=_0x170732[_0x53a774(0x220)],_0x194b58=_0x541db4[_0x53a774(0x27c)],_0x2d4e8f=_0x170732[_0x53a774(0xbe)];_0x2d4e8f[_0x53a774(0x26c)]={'stringify':function(_0x5d089e){var _0x44e266=_0x53a774,_0x4070d7=_0x5d089e[_0x44e266(0x27d)],_0x1a51ad=_0x5d089e['sigBytes'],_0x3d8fd1=this[_0x44e266(0x2e3)];_0x5d089e['clamp']();for(var _0x5b7ef6=[],_0x54e849=0x0;_0x54e849<_0x1a51ad;_0x54e849+=0x3)for(var _0x464296=_0x4070d7[_0x54e849>>>0x2]>>>0x18-_0x54e849%0x4*0x8&0xff,_0x141a6f=_0x4070d7[_0x54e849+0x1>>>0x2]>>>0x18-(_0x54e849+0x1)%0x4*0x8&0xff,_0x383bf4=_0x4070d7[_0x54e849+0x2>>>0x2]>>>0x18-(_0x54e849+0x2)%0x4*0x8&0xff,_0x14c1e6=_0x464296<<0x10|_0x141a6f<<0x8|_0x383bf4,_0x2755a8=0x0;_0x2755a8<0x4&&_0x54e849+_0x2755a8*0.75<_0x1a51ad;_0x2755a8++)_0x5b7ef6['push'](_0x3d8fd1[_0x44e266(0x240)](_0x14c1e6>>>0x6*(0x3-_0x2755a8)&0x3f));var _0x2eea24=_0x3d8fd1[_0x44e266(0x240)](0x40);if(_0x2eea24){for(;_0x5b7ef6[_0x44e266(0x333)]%0x4;)_0x5b7ef6[_0x44e266(0x3be)](_0x2eea24);}return _0x5b7ef6['join']('');},'parse':function(_0x4db29e){var _0x5c1479=_0x53a774,_0x4182c0=_0x4db29e[_0x5c1479(0x333)],_0xe2327f=this[_0x5c1479(0x2e3)],_0x4af111=this[_0x5c1479(0x177)];if(!_0x4af111){_0x4af111=this[_0x5c1479(0x177)]=[];for(var _0x4a1229=0x0;_0x4a1229<_0xe2327f[_0x5c1479(0x333)];_0x4a1229++)_0x4af111[_0xe2327f[_0x5c1479(0x105)](_0x4a1229)]=_0x4a1229;}var _0x278e9d=_0xe2327f[_0x5c1479(0x240)](0x40);if(_0x278e9d){var _0x250e1e=_0x4db29e[_0x5c1479(0x1d2)](_0x278e9d);_0x250e1e!==-0x1&&(_0x4182c0=_0x250e1e);}return _0x5dc25d(_0x4db29e,_0x4182c0,_0x4af111);},'_map':_0x53a774(0x337)};function _0x5dc25d(_0xf185e,_0x36e4a0,_0x5ec90e){var _0x302d4d=_0x53a774;for(var _0x4dd485=[],_0x12da60=0x0,_0x1baf3c=0x0;_0x1baf3c<_0x36e4a0;_0x1baf3c++)if(_0x1baf3c%0x4){var _0x441b3e=_0x5ec90e[_0xf185e[_0x302d4d(0x105)](_0x1baf3c-0x1)]<<_0x1baf3c%0x4*0x2,_0x1ff3d4=_0x5ec90e[_0xf185e[_0x302d4d(0x105)](_0x1baf3c)]>>>0x6-_0x1baf3c%0x4*0x2,_0x2cccdb=_0x441b3e|_0x1ff3d4;_0x4dd485[_0x12da60>>>0x2]|=_0x2cccdb<<0x18-_0x12da60%0x4*0x8,_0x12da60++;}return _0x194b58[_0x302d4d(0x3bb)](_0x4dd485,_0x12da60);}}()),_0x12230a['enc'][_0x1d81c0(0x26c)];}));}(We)),We[_0x27e948(0x2b4)];}var Ye={'exports':{}},hn=Ye[_0x4ba233(0x2b4)],Jt;function ln(){var _0x199b87=_0x4ba233;return Jt||(Jt=0x1,function(_0x458155,_0x28014c){(function(_0x20dac3,_0x245759){var _0x4e3257=_0x2b55;_0x458155[_0x4e3257(0x2b4)]=_0x245759(ie());}(hn,function(_0x3f0ce8){var _0xb4822=_0x2b55;return function(_0x15cc72){var _0x5ee701=_0x2b55,_0xf53375=_0x3f0ce8,_0x239a71=_0xf53375['lib'],_0x2d17dd=_0x239a71['WordArray'],_0x3bc5cc=_0x239a71[_0x5ee701(0x204)],_0x283a7a=_0xf53375[_0x5ee701(0x19c)],_0x59179c=[];(function(){var _0x6f95cd=_0x5ee701;for(var _0x56ced2=0x0;_0x56ced2<0x40;_0x56ced2++)_0x59179c[_0x56ced2]=_0x15cc72[_0x6f95cd(0x388)](_0x15cc72[_0x6f95cd(0x3a3)](_0x56ced2+0x1))*0x100000000|0x0;}());var _0x505b12=_0x283a7a['MD5']=_0x3bc5cc['extend']({'_doReset':function(){this['_hash']=new _0x2d17dd['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x45cd86,_0x30a24c){var _0x4d8d28=_0x5ee701;for(var _0x1eac10=0x0;_0x1eac10<0x10;_0x1eac10++){var _0x1adc17=_0x30a24c+_0x1eac10,_0x2a919a=_0x45cd86[_0x1adc17];_0x45cd86[_0x1adc17]=(_0x2a919a<<0x8|_0x2a919a>>>0x18)&0xff00ff|(_0x2a919a<<0x18|_0x2a919a>>>0x8)&0xff00ff00;}var _0x2cb793=this[_0x4d8d28(0xd3)]['words'],_0x58e709=_0x45cd86[_0x30a24c+0x0],_0x2b82ce=_0x45cd86[_0x30a24c+0x1],_0x473444=_0x45cd86[_0x30a24c+0x2],_0x6e52cb=_0x45cd86[_0x30a24c+0x3],_0x131ed6=_0x45cd86[_0x30a24c+0x4],_0x43a4ec=_0x45cd86[_0x30a24c+0x5],_0xcf13bc=_0x45cd86[_0x30a24c+0x6],_0x2a5bd6=_0x45cd86[_0x30a24c+0x7],_0x20235f=_0x45cd86[_0x30a24c+0x8],_0x271cb1=_0x45cd86[_0x30a24c+0x9],_0x6513e=_0x45cd86[_0x30a24c+0xa],_0x215244=_0x45cd86[_0x30a24c+0xb],_0xe73c85=_0x45cd86[_0x30a24c+0xc],_0x1a397e=_0x45cd86[_0x30a24c+0xd],_0x5c560f=_0x45cd86[_0x30a24c+0xe],_0x572640=_0x45cd86[_0x30a24c+0xf],_0x48dd7e=_0x2cb793[0x0],_0x34586a=_0x2cb793[0x1],_0x41a5fe=_0x2cb793[0x2],_0x1c804c=_0x2cb793[0x3];_0x48dd7e=_0x5191b7(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x58e709,0x7,_0x59179c[0x0]),_0x1c804c=_0x5191b7(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x2b82ce,0xc,_0x59179c[0x1]),_0x41a5fe=_0x5191b7(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x473444,0x11,_0x59179c[0x2]),_0x34586a=_0x5191b7(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x6e52cb,0x16,_0x59179c[0x3]),_0x48dd7e=_0x5191b7(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x131ed6,0x7,_0x59179c[0x4]),_0x1c804c=_0x5191b7(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x43a4ec,0xc,_0x59179c[0x5]),_0x41a5fe=_0x5191b7(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0xcf13bc,0x11,_0x59179c[0x6]),_0x34586a=_0x5191b7(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x2a5bd6,0x16,_0x59179c[0x7]),_0x48dd7e=_0x5191b7(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x20235f,0x7,_0x59179c[0x8]),_0x1c804c=_0x5191b7(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x271cb1,0xc,_0x59179c[0x9]),_0x41a5fe=_0x5191b7(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x6513e,0x11,_0x59179c[0xa]),_0x34586a=_0x5191b7(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x215244,0x16,_0x59179c[0xb]),_0x48dd7e=_0x5191b7(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0xe73c85,0x7,_0x59179c[0xc]),_0x1c804c=_0x5191b7(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x1a397e,0xc,_0x59179c[0xd]),_0x41a5fe=_0x5191b7(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x5c560f,0x11,_0x59179c[0xe]),_0x34586a=_0x5191b7(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x572640,0x16,_0x59179c[0xf]),_0x48dd7e=_0x1399a2(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x2b82ce,0x5,_0x59179c[0x10]),_0x1c804c=_0x1399a2(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0xcf13bc,0x9,_0x59179c[0x11]),_0x41a5fe=_0x1399a2(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x215244,0xe,_0x59179c[0x12]),_0x34586a=_0x1399a2(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x58e709,0x14,_0x59179c[0x13]),_0x48dd7e=_0x1399a2(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x43a4ec,0x5,_0x59179c[0x14]),_0x1c804c=_0x1399a2(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x6513e,0x9,_0x59179c[0x15]),_0x41a5fe=_0x1399a2(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x572640,0xe,_0x59179c[0x16]),_0x34586a=_0x1399a2(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x131ed6,0x14,_0x59179c[0x17]),_0x48dd7e=_0x1399a2(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x271cb1,0x5,_0x59179c[0x18]),_0x1c804c=_0x1399a2(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x5c560f,0x9,_0x59179c[0x19]),_0x41a5fe=_0x1399a2(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x6e52cb,0xe,_0x59179c[0x1a]),_0x34586a=_0x1399a2(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x20235f,0x14,_0x59179c[0x1b]),_0x48dd7e=_0x1399a2(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x1a397e,0x5,_0x59179c[0x1c]),_0x1c804c=_0x1399a2(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x473444,0x9,_0x59179c[0x1d]),_0x41a5fe=_0x1399a2(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x2a5bd6,0xe,_0x59179c[0x1e]),_0x34586a=_0x1399a2(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0xe73c85,0x14,_0x59179c[0x1f]),_0x48dd7e=_0x5d9b5d(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x43a4ec,0x4,_0x59179c[0x20]),_0x1c804c=_0x5d9b5d(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x20235f,0xb,_0x59179c[0x21]),_0x41a5fe=_0x5d9b5d(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x215244,0x10,_0x59179c[0x22]),_0x34586a=_0x5d9b5d(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x5c560f,0x17,_0x59179c[0x23]),_0x48dd7e=_0x5d9b5d(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x2b82ce,0x4,_0x59179c[0x24]),_0x1c804c=_0x5d9b5d(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x131ed6,0xb,_0x59179c[0x25]),_0x41a5fe=_0x5d9b5d(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x2a5bd6,0x10,_0x59179c[0x26]),_0x34586a=_0x5d9b5d(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x6513e,0x17,_0x59179c[0x27]),_0x48dd7e=_0x5d9b5d(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x1a397e,0x4,_0x59179c[0x28]),_0x1c804c=_0x5d9b5d(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x58e709,0xb,_0x59179c[0x29]),_0x41a5fe=_0x5d9b5d(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x6e52cb,0x10,_0x59179c[0x2a]),_0x34586a=_0x5d9b5d(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0xcf13bc,0x17,_0x59179c[0x2b]),_0x48dd7e=_0x5d9b5d(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x271cb1,0x4,_0x59179c[0x2c]),_0x1c804c=_0x5d9b5d(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0xe73c85,0xb,_0x59179c[0x2d]),_0x41a5fe=_0x5d9b5d(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x572640,0x10,_0x59179c[0x2e]),_0x34586a=_0x5d9b5d(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x473444,0x17,_0x59179c[0x2f]),_0x48dd7e=_0x2ca03e(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x58e709,0x6,_0x59179c[0x30]),_0x1c804c=_0x2ca03e(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x2a5bd6,0xa,_0x59179c[0x31]),_0x41a5fe=_0x2ca03e(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x5c560f,0xf,_0x59179c[0x32]),_0x34586a=_0x2ca03e(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x43a4ec,0x15,_0x59179c[0x33]),_0x48dd7e=_0x2ca03e(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0xe73c85,0x6,_0x59179c[0x34]),_0x1c804c=_0x2ca03e(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x6e52cb,0xa,_0x59179c[0x35]),_0x41a5fe=_0x2ca03e(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x6513e,0xf,_0x59179c[0x36]),_0x34586a=_0x2ca03e(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x2b82ce,0x15,_0x59179c[0x37]),_0x48dd7e=_0x2ca03e(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x20235f,0x6,_0x59179c[0x38]),_0x1c804c=_0x2ca03e(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x572640,0xa,_0x59179c[0x39]),_0x41a5fe=_0x2ca03e(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0xcf13bc,0xf,_0x59179c[0x3a]),_0x34586a=_0x2ca03e(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x1a397e,0x15,_0x59179c[0x3b]),_0x48dd7e=_0x2ca03e(_0x48dd7e,_0x34586a,_0x41a5fe,_0x1c804c,_0x131ed6,0x6,_0x59179c[0x3c]),_0x1c804c=_0x2ca03e(_0x1c804c,_0x48dd7e,_0x34586a,_0x41a5fe,_0x215244,0xa,_0x59179c[0x3d]),_0x41a5fe=_0x2ca03e(_0x41a5fe,_0x1c804c,_0x48dd7e,_0x34586a,_0x473444,0xf,_0x59179c[0x3e]),_0x34586a=_0x2ca03e(_0x34586a,_0x41a5fe,_0x1c804c,_0x48dd7e,_0x271cb1,0x15,_0x59179c[0x3f]),_0x2cb793[0x0]=_0x2cb793[0x0]+_0x48dd7e|0x0,_0x2cb793[0x1]=_0x2cb793[0x1]+_0x34586a|0x0,_0x2cb793[0x2]=_0x2cb793[0x2]+_0x41a5fe|0x0,_0x2cb793[0x3]=_0x2cb793[0x3]+_0x1c804c|0x0;},'_doFinalize':function(){var _0x2de75e=_0x5ee701,_0x2b5d57=this['_data'],_0x431c72=_0x2b5d57[_0x2de75e(0x27d)],_0x51e9ae=this['_nDataBytes']*0x8,_0x1e78b6=_0x2b5d57['sigBytes']*0x8;_0x431c72[_0x1e78b6>>>0x5]|=0x80<<0x18-_0x1e78b6%0x20;var _0x5dccbe=_0x15cc72[_0x2de75e(0x26b)](_0x51e9ae/0x100000000),_0x55012f=_0x51e9ae;_0x431c72[(_0x1e78b6+0x40>>>0x9<<0x4)+0xf]=(_0x5dccbe<<0x8|_0x5dccbe>>>0x18)&0xff00ff|(_0x5dccbe<<0x18|_0x5dccbe>>>0x8)&0xff00ff00,_0x431c72[(_0x1e78b6+0x40>>>0x9<<0x4)+0xe]=(_0x55012f<<0x8|_0x55012f>>>0x18)&0xff00ff|(_0x55012f<<0x18|_0x55012f>>>0x8)&0xff00ff00,_0x2b5d57[_0x2de75e(0xc5)]=(_0x431c72[_0x2de75e(0x333)]+0x1)*0x4,this['_process']();for(var _0x45f500=this[_0x2de75e(0xd3)],_0x2b3b20=_0x45f500[_0x2de75e(0x27d)],_0x3a3c4a=0x0;_0x3a3c4a<0x4;_0x3a3c4a++){var _0x34e1f5=_0x2b3b20[_0x3a3c4a];_0x2b3b20[_0x3a3c4a]=(_0x34e1f5<<0x8|_0x34e1f5>>>0x18)&0xff00ff|(_0x34e1f5<<0x18|_0x34e1f5>>>0x8)&0xff00ff00;}return _0x45f500;},'clone':function(){var _0x5e78e0=_0x5ee701,_0x504af7=_0x3bc5cc[_0x5e78e0(0xfc)]['call'](this);return _0x504af7[_0x5e78e0(0xd3)]=this[_0x5e78e0(0xd3)]['clone'](),_0x504af7;}});function _0x5191b7(_0x7ff4e7,_0x407ead,_0x5de7e0,_0x28b088,_0x337ed2,_0x1b3da2,_0x117168){var _0x142724=_0x7ff4e7+(_0x407ead&_0x5de7e0|~_0x407ead&_0x28b088)+_0x337ed2+_0x117168;return(_0x142724<<_0x1b3da2|_0x142724>>>0x20-_0x1b3da2)+_0x407ead;}function _0x1399a2(_0x5961e7,_0x1e5eca,_0x20e7a4,_0x269273,_0x24d37d,_0x3af603,_0x2c2e83){var _0x293031=_0x5961e7+(_0x1e5eca&_0x269273|_0x20e7a4&~_0x269273)+_0x24d37d+_0x2c2e83;return(_0x293031<<_0x3af603|_0x293031>>>0x20-_0x3af603)+_0x1e5eca;}function _0x5d9b5d(_0x235f99,_0x514b33,_0xad25fb,_0x729e58,_0xd4093a,_0x597a21,_0x20a5ae){var _0x2b41a9=_0x235f99+(_0x514b33^_0xad25fb^_0x729e58)+_0xd4093a+_0x20a5ae;return(_0x2b41a9<<_0x597a21|_0x2b41a9>>>0x20-_0x597a21)+_0x514b33;}function _0x2ca03e(_0xa4fb86,_0x37f4f8,_0x1c1cc3,_0x4006d7,_0x631e62,_0x29a5bc,_0x3bce0d){var _0x4e10af=_0xa4fb86+(_0x1c1cc3^(_0x37f4f8|~_0x4006d7))+_0x631e62+_0x3bce0d;return(_0x4e10af<<_0x29a5bc|_0x4e10af>>>0x20-_0x29a5bc)+_0x37f4f8;}_0xf53375[_0x5ee701(0xd7)]=_0x3bc5cc[_0x5ee701(0x148)](_0x505b12),_0xf53375[_0x5ee701(0x164)]=_0x3bc5cc['_createHmacHelper'](_0x505b12);}(Math),_0x3f0ce8[_0xb4822(0xd7)];}));}(Ye)),Ye[_0x199b87(0x2b4)];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){return Xt||(Xt=0x1,function(_0x56fd30,_0x4b009e){(function(_0x407d29,_0x4831de){var _0x23749c=_0x2b55;_0x56fd30[_0x23749c(0x2b4)]=_0x4831de(ie());}(un,function(_0x554eb9){var _0x1b6f52=_0x2b55;return(function(){var _0x1878b4=_0x2b55,_0x5cf3fe=_0x554eb9,_0x3883fb=_0x5cf3fe['lib'],_0x43340a=_0x3883fb['WordArray'],_0x1d8d88=_0x3883fb[_0x1878b4(0x204)],_0x483179=_0x5cf3fe[_0x1878b4(0x19c)],_0x350921=[],_0x5ba176=_0x483179['SHA1']=_0x1d8d88[_0x1878b4(0x236)]({'_doReset':function(){var _0x46cd77=_0x1878b4;this['_hash']=new _0x43340a[(_0x46cd77(0x297))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3eb70f,_0x574edd){var _0x29f883=_0x1878b4;for(var _0xa77dee=this[_0x29f883(0xd3)]['words'],_0x55568d=_0xa77dee[0x0],_0x3cf29f=_0xa77dee[0x1],_0x2022f5=_0xa77dee[0x2],_0x3e38c4=_0xa77dee[0x3],_0x510c01=_0xa77dee[0x4],_0x57a435=0x0;_0x57a435<0x50;_0x57a435++){if(_0x57a435<0x10)_0x350921[_0x57a435]=_0x3eb70f[_0x574edd+_0x57a435]|0x0;else{var _0x677f5e=_0x350921[_0x57a435-0x3]^_0x350921[_0x57a435-0x8]^_0x350921[_0x57a435-0xe]^_0x350921[_0x57a435-0x10];_0x350921[_0x57a435]=_0x677f5e<<0x1|_0x677f5e>>>0x1f;}var _0x5875f4=(_0x55568d<<0x5|_0x55568d>>>0x1b)+_0x510c01+_0x350921[_0x57a435];_0x57a435<0x14?_0x5875f4+=(_0x3cf29f&_0x2022f5|~_0x3cf29f&_0x3e38c4)+0x5a827999:_0x57a435<0x28?_0x5875f4+=(_0x3cf29f^_0x2022f5^_0x3e38c4)+0x6ed9eba1:_0x57a435<0x3c?_0x5875f4+=(_0x3cf29f&_0x2022f5|_0x3cf29f&_0x3e38c4|_0x2022f5&_0x3e38c4)-0x70e44324:_0x5875f4+=(_0x3cf29f^_0x2022f5^_0x3e38c4)-0x359d3e2a,_0x510c01=_0x3e38c4,_0x3e38c4=_0x2022f5,_0x2022f5=_0x3cf29f<<0x1e|_0x3cf29f>>>0x2,_0x3cf29f=_0x55568d,_0x55568d=_0x5875f4;}_0xa77dee[0x0]=_0xa77dee[0x0]+_0x55568d|0x0,_0xa77dee[0x1]=_0xa77dee[0x1]+_0x3cf29f|0x0,_0xa77dee[0x2]=_0xa77dee[0x2]+_0x2022f5|0x0,_0xa77dee[0x3]=_0xa77dee[0x3]+_0x3e38c4|0x0,_0xa77dee[0x4]=_0xa77dee[0x4]+_0x510c01|0x0;},'_doFinalize':function(){var _0x4876ef=_0x1878b4,_0x1050d0=this[_0x4876ef(0x1b5)],_0xb01e4e=_0x1050d0[_0x4876ef(0x27d)],_0x4e7f1a=this[_0x4876ef(0x108)]*0x8,_0x4b9df3=_0x1050d0[_0x4876ef(0xc5)]*0x8;return _0xb01e4e[_0x4b9df3>>>0x5]|=0x80<<0x18-_0x4b9df3%0x20,_0xb01e4e[(_0x4b9df3+0x40>>>0x9<<0x4)+0xe]=Math[_0x4876ef(0x26b)](_0x4e7f1a/0x100000000),_0xb01e4e[(_0x4b9df3+0x40>>>0x9<<0x4)+0xf]=_0x4e7f1a,_0x1050d0[_0x4876ef(0xc5)]=_0xb01e4e[_0x4876ef(0x333)]*0x4,this['_process'](),this[_0x4876ef(0xd3)];},'clone':function(){var _0x38f79d=_0x1878b4,_0x5f03c2=_0x1d8d88[_0x38f79d(0xfc)][_0x38f79d(0x2ed)](this);return _0x5f03c2[_0x38f79d(0xd3)]=this[_0x38f79d(0xd3)][_0x38f79d(0xfc)](),_0x5f03c2;}});_0x5cf3fe[_0x1878b4(0x326)]=_0x1d8d88[_0x1878b4(0x148)](_0x5ba176),_0x5cf3fe[_0x1878b4(0x126)]=_0x1d8d88[_0x1878b4(0x35a)](_0x5ba176);}()),_0x554eb9[_0x1b6f52(0x326)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x4ba233(0x2b4)],Zt;function vn(){var _0x19ef09=_0x4ba233;return Zt||(Zt=0x1,function(_0xa620d3,_0x3e7f76){(function(_0x4bf180,_0x525e6d){var _0xb084ec=_0x2b55;_0xa620d3[_0xb084ec(0x2b4)]=_0x525e6d(ie());}(fn,function(_0x3ed581){(function(){var _0x34740f=_0x2b55,_0x2b4f25=_0x3ed581,_0x4487d4=_0x2b4f25[_0x34740f(0x220)],_0x37381a=_0x4487d4[_0x34740f(0x153)],_0x2b120c=_0x2b4f25['enc'],_0x2b7f01=_0x2b120c[_0x34740f(0x174)],_0x1a442d=_0x2b4f25[_0x34740f(0x19c)];_0x1a442d[_0x34740f(0x358)]=_0x37381a[_0x34740f(0x236)]({'init':function(_0x365ddf,_0x2b6d80){var _0x1d16b9=_0x34740f;_0x365ddf=this[_0x1d16b9(0x166)]=new _0x365ddf[(_0x1d16b9(0x297))](),typeof _0x2b6d80=='string'&&(_0x2b6d80=_0x2b7f01['parse'](_0x2b6d80));var _0x58f3ce=_0x365ddf['blockSize'],_0x2c4670=_0x58f3ce*0x4;_0x2b6d80[_0x1d16b9(0xc5)]>_0x2c4670&&(_0x2b6d80=_0x365ddf['finalize'](_0x2b6d80)),_0x2b6d80['clamp']();for(var _0x266b6d=this['_oKey']=_0x2b6d80[_0x1d16b9(0xfc)](),_0xcfbbe7=this[_0x1d16b9(0x163)]=_0x2b6d80['clone'](),_0x11b7ac=_0x266b6d['words'],_0x30872e=_0xcfbbe7[_0x1d16b9(0x27d)],_0x3a4abb=0x0;_0x3a4abb<_0x58f3ce;_0x3a4abb++)_0x11b7ac[_0x3a4abb]^=0x5c5c5c5c,_0x30872e[_0x3a4abb]^=0x36363636;_0x266b6d[_0x1d16b9(0xc5)]=_0xcfbbe7['sigBytes']=_0x2c4670,this[_0x1d16b9(0x302)]();},'reset':function(){var _0x2f9feb=_0x34740f,_0x408025=this['_hasher'];_0x408025['reset'](),_0x408025[_0x2f9feb(0x31b)](this[_0x2f9feb(0x163)]);},'update':function(_0x2c8e3c){var _0x306988=_0x34740f;return this[_0x306988(0x166)][_0x306988(0x31b)](_0x2c8e3c),this;},'finalize':function(_0x27f25d){var _0x136746=_0x34740f,_0x5badab=this[_0x136746(0x166)],_0x548aa0=_0x5badab[_0x136746(0x178)](_0x27f25d);_0x5badab[_0x136746(0x302)]();var _0x584c45=_0x5badab['finalize'](this[_0x136746(0x399)]['clone']()[_0x136746(0x3af)](_0x548aa0));return _0x584c45;}});}());}));}(ze)),ze[_0x19ef09(0x2b4)];}var pn=Ke['exports'],Qt;function Ci(){var _0x49ed71=_0x4ba233;return Qt||(Qt=0x1,function(_0x28a124,_0x36a7e0){(function(_0x5b08e5,_0x416ea4,_0xa41bcd){_0x28a124['exports']=_0x416ea4(ie(),dn(),vn());}(pn,function(_0x5604e6){var _0x63bc3f=_0x2b55;return(function(){var _0xdf2dbb=_0x2b55,_0x605db8=_0x5604e6,_0x982ece=_0x605db8[_0xdf2dbb(0x220)],_0x4c667a=_0x982ece[_0xdf2dbb(0x153)],_0x625adc=_0x982ece[_0xdf2dbb(0x27c)],_0x5c7486=_0x605db8[_0xdf2dbb(0x19c)],_0x2ac928=_0x5c7486[_0xdf2dbb(0xd7)],_0x378e44=_0x5c7486[_0xdf2dbb(0x130)]=_0x4c667a['extend']({'cfg':_0x4c667a[_0xdf2dbb(0x236)]({'keySize':0x80/0x20,'hasher':_0x2ac928,'iterations':0x1}),'init':function(_0x37a399){var _0x97ae9d=_0xdf2dbb;this[_0x97ae9d(0x23c)]=this[_0x97ae9d(0x23c)][_0x97ae9d(0x236)](_0x37a399);},'compute':function(_0x40d12e,_0x4dbd8a){var _0x1300a4=_0xdf2dbb;for(var _0x570024,_0x1e423b=this['cfg'],_0x4e1f9b=_0x1e423b[_0x1300a4(0x332)][_0x1300a4(0x3bb)](),_0x133265=_0x625adc['create'](),_0x225432=_0x133265['words'],_0x5804fb=_0x1e423b[_0x1300a4(0x1c3)],_0x4937d8=_0x1e423b[_0x1300a4(0x26f)];_0x225432['length']<_0x5804fb;){_0x570024&&_0x4e1f9b[_0x1300a4(0x31b)](_0x570024),_0x570024=_0x4e1f9b[_0x1300a4(0x31b)](_0x40d12e)[_0x1300a4(0x178)](_0x4dbd8a),_0x4e1f9b[_0x1300a4(0x302)]();for(var _0x2e934c=0x1;_0x2e934c<_0x4937d8;_0x2e934c++)_0x570024=_0x4e1f9b[_0x1300a4(0x178)](_0x570024),_0x4e1f9b['reset']();_0x133265[_0x1300a4(0x3af)](_0x570024);}return _0x133265['sigBytes']=_0x5804fb*0x4,_0x133265;}});_0x605db8[_0xdf2dbb(0x130)]=function(_0x2de6d3,_0x3f83bd,_0x131723){var _0x55f74b=_0xdf2dbb;return _0x378e44[_0x55f74b(0x3bb)](_0x131723)['compute'](_0x2de6d3,_0x3f83bd);};}()),_0x5604e6[_0x63bc3f(0x130)];}));}(Ke)),Ke[_0x49ed71(0x2b4)];}var Je={'exports':{}},En=Je[_0x4ba233(0x2b4)],ei;function Ni(){return ei||(ei=0x1,function(_0x526b76,_0x2d5ee7){(function(_0x55d4de,_0x59b01b,_0x4995e){var _0x392f7c=_0x2b55;_0x526b76[_0x392f7c(0x2b4)]=_0x59b01b(ie(),Ci());}(En,function(_0x4c2f67){var _0x26b31d=_0x2b55;_0x4c2f67[_0x26b31d(0x220)][_0x26b31d(0x2f6)]||function(_0x54a11c){var _0x12e786=_0x26b31d,_0x1a4ef0=_0x4c2f67,_0x164b25=_0x1a4ef0[_0x12e786(0x220)],_0x501cd4=_0x164b25[_0x12e786(0x153)],_0x45e395=_0x164b25[_0x12e786(0x27c)],_0x9c2477=_0x164b25['BufferedBlockAlgorithm'],_0x190c20=_0x1a4ef0['enc'];_0x190c20['Utf8'];var _0x5a2648=_0x190c20[_0x12e786(0x26c)],_0x5aca18=_0x1a4ef0[_0x12e786(0x19c)],_0x3b4bc0=_0x5aca18[_0x12e786(0x130)],_0x18b459=_0x164b25[_0x12e786(0x2f6)]=_0x9c2477[_0x12e786(0x236)]({'cfg':_0x501cd4[_0x12e786(0x236)](),'createEncryptor':function(_0x169dbd,_0x1c76b4){var _0x3dd6fe=_0x12e786;return this[_0x3dd6fe(0x3bb)](this['_ENC_XFORM_MODE'],_0x169dbd,_0x1c76b4);},'createDecryptor':function(_0x4dee76,_0x794bb7){var _0x39bc18=_0x12e786;return this[_0x39bc18(0x3bb)](this[_0x39bc18(0x308)],_0x4dee76,_0x794bb7);},'init':function(_0x58becb,_0x4ab3c9,_0x3fb65e){var _0x4ac63b=_0x12e786;this[_0x4ac63b(0x23c)]=this[_0x4ac63b(0x23c)][_0x4ac63b(0x236)](_0x3fb65e),this[_0x4ac63b(0x317)]=_0x58becb,this[_0x4ac63b(0xad)]=_0x4ab3c9,this['reset']();},'reset':function(){var _0x30af28=_0x12e786;_0x9c2477[_0x30af28(0x302)][_0x30af28(0x2ed)](this),this['_doReset']();},'process':function(_0x495655){var _0x3e190f=_0x12e786;return this[_0x3e190f(0x188)](_0x495655),this['_process']();},'finalize':function(_0x2aa7d5){var _0x68ac9d=_0x12e786;_0x2aa7d5&&this['_append'](_0x2aa7d5);var _0x1bf9fc=this[_0x68ac9d(0x20d)]();return _0x1bf9fc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1e8709(_0xbeecfa){var _0x1eb4ef=_0x2b55;return typeof _0xbeecfa==_0x1eb4ef(0x3b3)?_0xbca535:_0x209bdc;}return function(_0x5f4ec3){return{'encrypt':function(_0x33fff9,_0x1c8555,_0x499ca4){var _0xe83b8d=_0x2b55;return _0x1e8709(_0x1c8555)[_0xe83b8d(0x30c)](_0x5f4ec3,_0x33fff9,_0x1c8555,_0x499ca4);},'decrypt':function(_0xcb2b20,_0x40ed2f,_0x54aa01){var _0x54a6bd=_0x2b55;return _0x1e8709(_0x40ed2f)[_0x54a6bd(0x121)](_0x5f4ec3,_0xcb2b20,_0x40ed2f,_0x54aa01);}};};}())});_0x164b25[_0x12e786(0x2ab)]=_0x18b459[_0x12e786(0x236)]({'_doFinalize':function(){var _0x1d2af4=this['_process'](!0x0);return _0x1d2af4;},'blockSize':0x1});var _0x3152fb=_0x1a4ef0['mode']={},_0x5a548b=_0x164b25[_0x12e786(0x342)]=_0x501cd4[_0x12e786(0x236)]({'createEncryptor':function(_0x3b2a74,_0x519d6c){var _0x2520c7=_0x12e786;return this[_0x2520c7(0x109)][_0x2520c7(0x3bb)](_0x3b2a74,_0x519d6c);},'createDecryptor':function(_0x1fafc5,_0x266532){var _0x3857fc=_0x12e786;return this[_0x3857fc(0x39a)][_0x3857fc(0x3bb)](_0x1fafc5,_0x266532);},'init':function(_0x1443ab,_0x39a890){var _0x3c0423=_0x12e786;this[_0x3c0423(0x283)]=_0x1443ab,this[_0x3c0423(0x230)]=_0x39a890;}}),_0x558063=_0x3152fb[_0x12e786(0x2ac)]=(function(){var _0x3cf101=_0x12e786,_0x335c4c=_0x5a548b[_0x3cf101(0x236)]();_0x335c4c[_0x3cf101(0x109)]=_0x335c4c[_0x3cf101(0x236)]({'processBlock':function(_0x320bfc,_0x3ebcb9){var _0x37c5bb=_0x3cf101,_0x280630=this[_0x37c5bb(0x283)],_0x22bcaf=_0x280630[_0x37c5bb(0x375)];_0x21074b['call'](this,_0x320bfc,_0x3ebcb9,_0x22bcaf),_0x280630[_0x37c5bb(0xb4)](_0x320bfc,_0x3ebcb9),this[_0x37c5bb(0x22d)]=_0x320bfc['slice'](_0x3ebcb9,_0x3ebcb9+_0x22bcaf);}}),_0x335c4c[_0x3cf101(0x39a)]=_0x335c4c['extend']({'processBlock':function(_0x172582,_0x3f0bbf){var _0x481eb0=_0x3cf101,_0x413ec5=this[_0x481eb0(0x283)],_0x860c13=_0x413ec5['blockSize'],_0x4be82c=_0x172582[_0x481eb0(0x131)](_0x3f0bbf,_0x3f0bbf+_0x860c13);_0x413ec5[_0x481eb0(0x1bd)](_0x172582,_0x3f0bbf),_0x21074b[_0x481eb0(0x2ed)](this,_0x172582,_0x3f0bbf,_0x860c13),this[_0x481eb0(0x22d)]=_0x4be82c;}});function _0x21074b(_0x36b423,_0x30555e,_0x3ae990){var _0x77fdc4=_0x3cf101,_0x2b34fe,_0x83df4d=this[_0x77fdc4(0x230)];_0x83df4d?(_0x2b34fe=_0x83df4d,this['_iv']=_0x54a11c):_0x2b34fe=this[_0x77fdc4(0x22d)];for(var _0x4d6b3f=0x0;_0x4d6b3f<_0x3ae990;_0x4d6b3f++)_0x36b423[_0x30555e+_0x4d6b3f]^=_0x2b34fe[_0x4d6b3f];}return _0x335c4c;}()),_0x878bf0=_0x1a4ef0[_0x12e786(0x32b)]={},_0x388252=_0x878bf0[_0x12e786(0x2e7)]={'pad':function(_0x34b9a8,_0x1cc5e5){var _0x56e715=_0x12e786;for(var _0x559ca8=_0x1cc5e5*0x4,_0x3fc46d=_0x559ca8-_0x34b9a8[_0x56e715(0xc5)]%_0x559ca8,_0x48f1e6=_0x3fc46d<<0x18|_0x3fc46d<<0x10|_0x3fc46d<<0x8|_0x3fc46d,_0x151922=[],_0x49f2ba=0x0;_0x49f2ba<_0x3fc46d;_0x49f2ba+=0x4)_0x151922[_0x56e715(0x3be)](_0x48f1e6);var _0x2d92d5=_0x45e395[_0x56e715(0x3bb)](_0x151922,_0x3fc46d);_0x34b9a8[_0x56e715(0x3af)](_0x2d92d5);},'unpad':function(_0x321b67){var _0x28c91a=_0x12e786,_0x11be35=_0x321b67[_0x28c91a(0x27d)][_0x321b67[_0x28c91a(0xc5)]-0x1>>>0x2]&0xff;_0x321b67[_0x28c91a(0xc5)]-=_0x11be35;}};_0x164b25[_0x12e786(0x2ca)]=_0x18b459[_0x12e786(0x236)]({'cfg':_0x18b459[_0x12e786(0x23c)][_0x12e786(0x236)]({'mode':_0x558063,'padding':_0x388252}),'reset':function(){var _0x5ec663=_0x12e786,_0x33a58c;_0x18b459[_0x5ec663(0x302)][_0x5ec663(0x2ed)](this);var _0x5232ef=this[_0x5ec663(0x23c)],_0x305ca4=_0x5232ef['iv'],_0xb34ff3=_0x5232ef[_0x5ec663(0x2f9)];this['_xformMode']==this[_0x5ec663(0x23a)]?_0x33a58c=_0xb34ff3[_0x5ec663(0xa8)]:(_0x33a58c=_0xb34ff3[_0x5ec663(0x1bf)],this[_0x5ec663(0x17a)]=0x1),this[_0x5ec663(0x277)]&&this[_0x5ec663(0x277)][_0x5ec663(0x2c3)]==_0x33a58c?this[_0x5ec663(0x277)][_0x5ec663(0x297)](this,_0x305ca4&&_0x305ca4['words']):(this[_0x5ec663(0x277)]=_0x33a58c[_0x5ec663(0x2ed)](_0xb34ff3,this,_0x305ca4&&_0x305ca4[_0x5ec663(0x27d)]),this[_0x5ec663(0x277)]['__creator']=_0x33a58c);},'_doProcessBlock':function(_0x1bc0ca,_0x47f60f){var _0x2d14a4=_0x12e786;this[_0x2d14a4(0x277)]['processBlock'](_0x1bc0ca,_0x47f60f);},'_doFinalize':function(){var _0x460db7=_0x12e786,_0x3d7f11,_0x42d43c=this[_0x460db7(0x23c)][_0x460db7(0x2ba)];return this[_0x460db7(0x317)]==this[_0x460db7(0x23a)]?(_0x42d43c[_0x460db7(0x32b)](this[_0x460db7(0x1b5)],this['blockSize']),_0x3d7f11=this['_process'](!0x0)):(_0x3d7f11=this[_0x460db7(0x37d)](!0x0),_0x42d43c[_0x460db7(0x3c7)](_0x3d7f11)),_0x3d7f11;},'blockSize':0x80/0x20});var _0x56088b=_0x164b25[_0x12e786(0x319)]=_0x501cd4[_0x12e786(0x236)]({'init':function(_0xa7e7ad){this['mixIn'](_0xa7e7ad);},'toString':function(_0x5aa61c){var _0x331a65=_0x12e786;return(_0x5aa61c||this['formatter'])[_0x331a65(0x330)](this);}}),_0x4822f8=_0x1a4ef0[_0x12e786(0x133)]={},_0x565b93=_0x4822f8[_0x12e786(0x1cd)]={'stringify':function(_0xfb6e85){var _0x22d6bc=_0x12e786,_0x94a24a,_0x18b8ff=_0xfb6e85[_0x22d6bc(0x117)],_0x517f90=_0xfb6e85[_0x22d6bc(0x274)];return _0x517f90?_0x94a24a=_0x45e395['create']([0x53616c74,0x65645f5f])[_0x22d6bc(0x3af)](_0x517f90)[_0x22d6bc(0x3af)](_0x18b8ff):_0x94a24a=_0x18b8ff,_0x94a24a[_0x22d6bc(0x3c6)](_0x5a2648);},'parse':function(_0x547d71){var _0x361b41=_0x12e786,_0xc4ac8c,_0x4ccebe=_0x5a2648[_0x361b41(0x149)](_0x547d71),_0x1647e1=_0x4ccebe[_0x361b41(0x27d)];return _0x1647e1[0x0]==0x53616c74&&_0x1647e1[0x1]==0x65645f5f&&(_0xc4ac8c=_0x45e395[_0x361b41(0x3bb)](_0x1647e1[_0x361b41(0x131)](0x2,0x4)),_0x1647e1[_0x361b41(0x207)](0x0,0x4),_0x4ccebe[_0x361b41(0xc5)]-=0x10),_0x56088b[_0x361b41(0x3bb)]({'ciphertext':_0x4ccebe,'salt':_0xc4ac8c});}},_0x209bdc=_0x164b25['SerializableCipher']=_0x501cd4['extend']({'cfg':_0x501cd4['extend']({'format':_0x565b93}),'encrypt':function(_0x31d057,_0x2895e2,_0x19a65a,_0x87041f){var _0x357287=_0x12e786;_0x87041f=this[_0x357287(0x23c)][_0x357287(0x236)](_0x87041f);var _0x5981de=_0x31d057[_0x357287(0xa8)](_0x19a65a,_0x87041f),_0x48b75e=_0x5981de[_0x357287(0x178)](_0x2895e2),_0x365da9=_0x5981de[_0x357287(0x23c)];return _0x56088b[_0x357287(0x3bb)]({'ciphertext':_0x48b75e,'key':_0x19a65a,'iv':_0x365da9['iv'],'algorithm':_0x31d057,'mode':_0x365da9[_0x357287(0x2f9)],'padding':_0x365da9[_0x357287(0x2ba)],'blockSize':_0x31d057[_0x357287(0x375)],'formatter':_0x87041f[_0x357287(0x133)]});},'decrypt':function(_0x5b0b86,_0x3d3eba,_0x5aba0c,_0x3dd9bb){var _0x99dafd=_0x12e786;_0x3dd9bb=this[_0x99dafd(0x23c)][_0x99dafd(0x236)](_0x3dd9bb),_0x3d3eba=this[_0x99dafd(0x355)](_0x3d3eba,_0x3dd9bb[_0x99dafd(0x133)]);var _0x4d0509=_0x5b0b86[_0x99dafd(0x1bf)](_0x5aba0c,_0x3dd9bb)[_0x99dafd(0x178)](_0x3d3eba[_0x99dafd(0x117)]);return _0x4d0509;},'_parse':function(_0x2a31cc,_0x50904f){var _0x19094d=_0x12e786;return typeof _0x2a31cc==_0x19094d(0x3b3)?_0x50904f[_0x19094d(0x149)](_0x2a31cc,this):_0x2a31cc;}}),_0x3fff3b=_0x1a4ef0[_0x12e786(0xde)]={},_0x16885e=_0x3fff3b[_0x12e786(0x1cd)]={'execute':function(_0xd345e9,_0xa260f8,_0x2fb814,_0x30c4a0,_0xe2a4c3){var _0x242d23=_0x12e786;if(_0x30c4a0||(_0x30c4a0=_0x45e395[_0x242d23(0x28e)](0x40/0x8)),_0xe2a4c3)var _0x39d177=_0x3b4bc0['create']({'keySize':_0xa260f8+_0x2fb814,'hasher':_0xe2a4c3})[_0x242d23(0xb3)](_0xd345e9,_0x30c4a0);else var _0x39d177=_0x3b4bc0[_0x242d23(0x3bb)]({'keySize':_0xa260f8+_0x2fb814})[_0x242d23(0xb3)](_0xd345e9,_0x30c4a0);var _0x1a72da=_0x45e395[_0x242d23(0x3bb)](_0x39d177[_0x242d23(0x27d)][_0x242d23(0x131)](_0xa260f8),_0x2fb814*0x4);return _0x39d177[_0x242d23(0xc5)]=_0xa260f8*0x4,_0x56088b[_0x242d23(0x3bb)]({'key':_0x39d177,'iv':_0x1a72da,'salt':_0x30c4a0});}},_0xbca535=_0x164b25[_0x12e786(0x18e)]=_0x209bdc[_0x12e786(0x236)]({'cfg':_0x209bdc['cfg'][_0x12e786(0x236)]({'kdf':_0x16885e}),'encrypt':function(_0x135549,_0x506b54,_0x38b55d,_0x285716){var _0x5730ea=_0x12e786;_0x285716=this['cfg'][_0x5730ea(0x236)](_0x285716);var _0x362f22=_0x285716[_0x5730ea(0xde)][_0x5730ea(0x15b)](_0x38b55d,_0x135549[_0x5730ea(0x1c3)],_0x135549[_0x5730ea(0x3a1)],_0x285716[_0x5730ea(0x274)],_0x285716[_0x5730ea(0x332)]);_0x285716['iv']=_0x362f22['iv'];var _0x2ad096=_0x209bdc['encrypt'][_0x5730ea(0x2ed)](this,_0x135549,_0x506b54,_0x362f22[_0x5730ea(0x293)],_0x285716);return _0x2ad096[_0x5730ea(0x10a)](_0x362f22),_0x2ad096;},'decrypt':function(_0x4e5e6d,_0x17b126,_0x454991,_0x1e0325){var _0x431f74=_0x12e786;_0x1e0325=this[_0x431f74(0x23c)]['extend'](_0x1e0325),_0x17b126=this[_0x431f74(0x355)](_0x17b126,_0x1e0325[_0x431f74(0x133)]);var _0xb4cf2a=_0x1e0325[_0x431f74(0xde)][_0x431f74(0x15b)](_0x454991,_0x4e5e6d['keySize'],_0x4e5e6d[_0x431f74(0x3a1)],_0x17b126['salt'],_0x1e0325[_0x431f74(0x332)]);_0x1e0325['iv']=_0xb4cf2a['iv'];var _0x4c321f=_0x209bdc[_0x431f74(0x121)]['call'](this,_0x4e5e6d,_0x17b126,_0xb4cf2a[_0x431f74(0x293)],_0x1e0325);return _0x4c321f;}});}();}));}(Je)),Je['exports'];}var mn=Ve[_0x4ba233(0x2b4)],ti;function In(){var _0x15bada=_0x4ba233;return ti||(ti=0x1,function(_0x309c3e,_0x19bea3){(function(_0x20aa4,_0x19a54e,_0xd9e91e){var _0x40076d=_0x2b55;_0x309c3e[_0x40076d(0x2b4)]=_0x19a54e(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x56e103){var _0x51c7af=_0x2b55;return(function(){var _0x259d40=_0x2b55,_0x4b31ca=_0x56e103,_0x105e3e=_0x4b31ca['lib'],_0x113df9=_0x105e3e[_0x259d40(0x2ca)],_0x46e77b=_0x4b31ca[_0x259d40(0x19c)],_0x15b0ef=[],_0x536bf4=[],_0x1ca487=[],_0x2f7c27=[],_0x21a8cb=[],_0x2cb2f6=[],_0x519530=[],_0x4f47a2=[],_0x540187=[],_0x54d517=[];(function(){for(var _0x4b188a=[],_0x56852e=0x0;_0x56852e<0x100;_0x56852e++)_0x56852e<0x80?_0x4b188a[_0x56852e]=_0x56852e<<0x1:_0x4b188a[_0x56852e]=_0x56852e<<0x1^0x11b;for(var _0x2959af=0x0,_0x598ddc=0x0,_0x56852e=0x0;_0x56852e<0x100;_0x56852e++){var _0x1832d9=_0x598ddc^_0x598ddc<<0x1^_0x598ddc<<0x2^_0x598ddc<<0x3^_0x598ddc<<0x4;_0x1832d9=_0x1832d9>>>0x8^_0x1832d9&0xff^0x63,_0x15b0ef[_0x2959af]=_0x1832d9,_0x536bf4[_0x1832d9]=_0x2959af;var _0x1cfe56=_0x4b188a[_0x2959af],_0xfea3f6=_0x4b188a[_0x1cfe56],_0x432e03=_0x4b188a[_0xfea3f6],_0x59655a=_0x4b188a[_0x1832d9]*0x101^_0x1832d9*0x1010100;_0x1ca487[_0x2959af]=_0x59655a<<0x18|_0x59655a>>>0x8,_0x2f7c27[_0x2959af]=_0x59655a<<0x10|_0x59655a>>>0x10,_0x21a8cb[_0x2959af]=_0x59655a<<0x8|_0x59655a>>>0x18,_0x2cb2f6[_0x2959af]=_0x59655a;var _0x59655a=_0x432e03*0x1010101^_0xfea3f6*0x10001^_0x1cfe56*0x101^_0x2959af*0x1010100;_0x519530[_0x1832d9]=_0x59655a<<0x18|_0x59655a>>>0x8,_0x4f47a2[_0x1832d9]=_0x59655a<<0x10|_0x59655a>>>0x10,_0x540187[_0x1832d9]=_0x59655a<<0x8|_0x59655a>>>0x18,_0x54d517[_0x1832d9]=_0x59655a,_0x2959af?(_0x2959af=_0x1cfe56^_0x4b188a[_0x4b188a[_0x4b188a[_0x432e03^_0x1cfe56]]],_0x598ddc^=_0x4b188a[_0x4b188a[_0x598ddc]]):_0x2959af=_0x598ddc=0x1;}}());var _0x3e3e53=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xd2fb70=_0x46e77b['AES']=_0x113df9['extend']({'_doReset':function(){var _0x1b3c32=_0x259d40,_0x177705;if(!(this['_nRounds']&&this[_0x1b3c32(0x257)]===this[_0x1b3c32(0xad)])){for(var _0x822ec0=this[_0x1b3c32(0x257)]=this['_key'],_0x4e646e=_0x822ec0[_0x1b3c32(0x27d)],_0x4e388d=_0x822ec0[_0x1b3c32(0xc5)]/0x4,_0x196dad=this['_nRounds']=_0x4e388d+0x6,_0x43f456=(_0x196dad+0x1)*0x4,_0x44cc47=this[_0x1b3c32(0x12c)]=[],_0x2a1ae3=0x0;_0x2a1ae3<_0x43f456;_0x2a1ae3++)_0x2a1ae3<_0x4e388d?_0x44cc47[_0x2a1ae3]=_0x4e646e[_0x2a1ae3]:(_0x177705=_0x44cc47[_0x2a1ae3-0x1],_0x2a1ae3%_0x4e388d?_0x4e388d>0x6&&_0x2a1ae3%_0x4e388d==0x4&&(_0x177705=_0x15b0ef[_0x177705>>>0x18]<<0x18|_0x15b0ef[_0x177705>>>0x10&0xff]<<0x10|_0x15b0ef[_0x177705>>>0x8&0xff]<<0x8|_0x15b0ef[_0x177705&0xff]):(_0x177705=_0x177705<<0x8|_0x177705>>>0x18,_0x177705=_0x15b0ef[_0x177705>>>0x18]<<0x18|_0x15b0ef[_0x177705>>>0x10&0xff]<<0x10|_0x15b0ef[_0x177705>>>0x8&0xff]<<0x8|_0x15b0ef[_0x177705&0xff],_0x177705^=_0x3e3e53[_0x2a1ae3/_0x4e388d|0x0]<<0x18),_0x44cc47[_0x2a1ae3]=_0x44cc47[_0x2a1ae3-_0x4e388d]^_0x177705);for(var _0x160e75=this[_0x1b3c32(0x39b)]=[],_0x4b11c6=0x0;_0x4b11c6<_0x43f456;_0x4b11c6++){var _0x2a1ae3=_0x43f456-_0x4b11c6;if(_0x4b11c6%0x4)var _0x177705=_0x44cc47[_0x2a1ae3];else var _0x177705=_0x44cc47[_0x2a1ae3-0x4];_0x4b11c6<0x4||_0x2a1ae3<=0x4?_0x160e75[_0x4b11c6]=_0x177705:_0x160e75[_0x4b11c6]=_0x519530[_0x15b0ef[_0x177705>>>0x18]]^_0x4f47a2[_0x15b0ef[_0x177705>>>0x10&0xff]]^_0x540187[_0x15b0ef[_0x177705>>>0x8&0xff]]^_0x54d517[_0x15b0ef[_0x177705&0xff]];}}},'encryptBlock':function(_0x329e49,_0x38902e){this['_doCryptBlock'](_0x329e49,_0x38902e,this['_keySchedule'],_0x1ca487,_0x2f7c27,_0x21a8cb,_0x2cb2f6,_0x15b0ef);},'decryptBlock':function(_0x2192a8,_0x4a1975){var _0x2030fb=_0x259d40,_0x2f869c=_0x2192a8[_0x4a1975+0x1];_0x2192a8[_0x4a1975+0x1]=_0x2192a8[_0x4a1975+0x3],_0x2192a8[_0x4a1975+0x3]=_0x2f869c,this[_0x2030fb(0x2c2)](_0x2192a8,_0x4a1975,this['_invKeySchedule'],_0x519530,_0x4f47a2,_0x540187,_0x54d517,_0x536bf4);var _0x2f869c=_0x2192a8[_0x4a1975+0x1];_0x2192a8[_0x4a1975+0x1]=_0x2192a8[_0x4a1975+0x3],_0x2192a8[_0x4a1975+0x3]=_0x2f869c;},'_doCryptBlock':function(_0x13b172,_0x188c74,_0x31d71f,_0xc726c9,_0x4a9246,_0x527f6b,_0x4378c3,_0x2e63cb){var _0x5d2401=_0x259d40;for(var _0x4cbd7d=this[_0x5d2401(0x137)],_0x5dcfae=_0x13b172[_0x188c74]^_0x31d71f[0x0],_0x1b0f33=_0x13b172[_0x188c74+0x1]^_0x31d71f[0x1],_0x86af4a=_0x13b172[_0x188c74+0x2]^_0x31d71f[0x2],_0x35044a=_0x13b172[_0x188c74+0x3]^_0x31d71f[0x3],_0x39940f=0x4,_0x5c360e=0x1;_0x5c360e<_0x4cbd7d;_0x5c360e++){var _0x1aaf29=_0xc726c9[_0x5dcfae>>>0x18]^_0x4a9246[_0x1b0f33>>>0x10&0xff]^_0x527f6b[_0x86af4a>>>0x8&0xff]^_0x4378c3[_0x35044a&0xff]^_0x31d71f[_0x39940f++],_0x3662c8=_0xc726c9[_0x1b0f33>>>0x18]^_0x4a9246[_0x86af4a>>>0x10&0xff]^_0x527f6b[_0x35044a>>>0x8&0xff]^_0x4378c3[_0x5dcfae&0xff]^_0x31d71f[_0x39940f++],_0x2cba03=_0xc726c9[_0x86af4a>>>0x18]^_0x4a9246[_0x35044a>>>0x10&0xff]^_0x527f6b[_0x5dcfae>>>0x8&0xff]^_0x4378c3[_0x1b0f33&0xff]^_0x31d71f[_0x39940f++],_0x435f70=_0xc726c9[_0x35044a>>>0x18]^_0x4a9246[_0x5dcfae>>>0x10&0xff]^_0x527f6b[_0x1b0f33>>>0x8&0xff]^_0x4378c3[_0x86af4a&0xff]^_0x31d71f[_0x39940f++];_0x5dcfae=_0x1aaf29,_0x1b0f33=_0x3662c8,_0x86af4a=_0x2cba03,_0x35044a=_0x435f70;}var _0x1aaf29=(_0x2e63cb[_0x5dcfae>>>0x18]<<0x18|_0x2e63cb[_0x1b0f33>>>0x10&0xff]<<0x10|_0x2e63cb[_0x86af4a>>>0x8&0xff]<<0x8|_0x2e63cb[_0x35044a&0xff])^_0x31d71f[_0x39940f++],_0x3662c8=(_0x2e63cb[_0x1b0f33>>>0x18]<<0x18|_0x2e63cb[_0x86af4a>>>0x10&0xff]<<0x10|_0x2e63cb[_0x35044a>>>0x8&0xff]<<0x8|_0x2e63cb[_0x5dcfae&0xff])^_0x31d71f[_0x39940f++],_0x2cba03=(_0x2e63cb[_0x86af4a>>>0x18]<<0x18|_0x2e63cb[_0x35044a>>>0x10&0xff]<<0x10|_0x2e63cb[_0x5dcfae>>>0x8&0xff]<<0x8|_0x2e63cb[_0x1b0f33&0xff])^_0x31d71f[_0x39940f++],_0x435f70=(_0x2e63cb[_0x35044a>>>0x18]<<0x18|_0x2e63cb[_0x5dcfae>>>0x10&0xff]<<0x10|_0x2e63cb[_0x1b0f33>>>0x8&0xff]<<0x8|_0x2e63cb[_0x86af4a&0xff])^_0x31d71f[_0x39940f++];_0x13b172[_0x188c74]=_0x1aaf29,_0x13b172[_0x188c74+0x1]=_0x3662c8,_0x13b172[_0x188c74+0x2]=_0x2cba03,_0x13b172[_0x188c74+0x3]=_0x435f70;},'keySize':0x100/0x20});_0x4b31ca[_0x259d40(0x1c7)]=_0x113df9[_0x259d40(0x148)](_0xd2fb70);}()),_0x56e103[_0x51c7af(0x1c7)];}));}(Ve)),Ve[_0x15bada(0x2b4)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe[_0x4ba233(0x2b4)],si;function Rn(){var _0x547117=_0x4ba233;return si||(si=0x1,function(_0x5b75f6,_0x30f2b9){(function(_0x125e33,_0x598310){var _0x2fbac7=_0x2b55;_0x5b75f6[_0x2fbac7(0x2b4)]=_0x598310(ie());}(On,function(_0x3aa653){var _0x4ca452=_0x2b55;return _0x3aa653[_0x4ca452(0xbe)]['Utf8'];}));}(Xe)),Xe[_0x547117(0x2b4)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x4ba233(0x2b4)],ni;function Dn(){return ni||(ni=0x1,function(_0x240ba5,_0x2118ca){(function(_0x10ffed,_0xa2d323){var _0x18335a=_0x2b55;_0x240ba5[_0x18335a(0x2b4)]=_0xa2d323(ie());}(bn,function(_0x45d780){var _0x1969e0=_0x2b55;return(function(){var _0x2a0352=_0x2b55;if(typeof ArrayBuffer==_0x2a0352(0x384)){var _0x114c7b=_0x45d780,_0x4775af=_0x114c7b[_0x2a0352(0x220)],_0x1b23b1=_0x4775af['WordArray'],_0x2c774b=_0x1b23b1[_0x2a0352(0x297)],_0x5e266a=_0x1b23b1['init']=function(_0x183f9f){var _0x26aed4=_0x2a0352;if(_0x183f9f instanceof ArrayBuffer&&(_0x183f9f=new Uint8Array(_0x183f9f)),(_0x183f9f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x183f9f instanceof Uint8ClampedArray||_0x183f9f instanceof Int16Array||_0x183f9f instanceof Uint16Array||_0x183f9f instanceof Int32Array||_0x183f9f instanceof Uint32Array||_0x183f9f instanceof Float32Array||_0x183f9f instanceof Float64Array)&&(_0x183f9f=new Uint8Array(_0x183f9f[_0x26aed4(0x336)],_0x183f9f[_0x26aed4(0xd8)],_0x183f9f[_0x26aed4(0x1c4)])),_0x183f9f instanceof Uint8Array){for(var _0x46f25a=_0x183f9f[_0x26aed4(0x1c4)],_0x4d41ae=[],_0xf3030=0x0;_0xf3030<_0x46f25a;_0xf3030++)_0x4d41ae[_0xf3030>>>0x2]|=_0x183f9f[_0xf3030]<<0x18-_0xf3030%0x4*0x8;_0x2c774b['call'](this,_0x4d41ae,_0x46f25a);}else _0x2c774b[_0x26aed4(0x34b)](this,arguments);};_0x5e266a[_0x2a0352(0x1a9)]=_0x1b23b1;}}()),_0x45d780[_0x1969e0(0x220)][_0x1969e0(0x27c)];}));}(Ze)),Ze['exports'];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x4ba233(0x2b4)],ri;function Pn(){var _0x52460c=_0x4ba233;return ri||(ri=0x1,function(_0x5b85e2,_0x3b1542){(function(_0x4f54e0,_0x1b2d25,_0x2d87e0){_0x5b85e2['exports']=_0x1b2d25(ie(),Ni());}(An,function(_0x16c1ca){var _0x179675=_0x2b55;return _0x16c1ca[_0x179675(0x32b)][_0x179675(0xf9)]={'pad':function(){},'unpad':function(){}},_0x16c1ca['pad'][_0x179675(0xf9)];}));}(Qe)),Qe[_0x52460c(0x2b4)];}var wn=Pn();const Mn=$e(wn);function Ln(_0x5027ce,_0x1e979b){var _0x3b1ada=_0x4ba233;const _0x406482=_0x1e979b-_0x5027ce[_0x3b1ada(0x333)]%_0x1e979b,_0x224a10=String[_0x3b1ada(0xa5)](_0x406482)[_0x3b1ada(0x309)](_0x406482);return _0x5027ce+_0x224a10;}function xn(_0x4a4e0c,_0x2d9198){var _0x505ac6=_0x4ba233;const _0x51ce98=Un[_0x505ac6(0x28e)](0x10),_0x4399be=Ln(_0x4a4e0c,0x10),_0x464f16=gn[_0x505ac6(0x30c)](Nn[_0x505ac6(0x149)](_0x4399be),ii[_0x505ac6(0x149)](_0x2d9198),{'iv':_0x51ce98,'padding':Mn});return _0x51ce98[_0x505ac6(0x3af)](_0x464f16[_0x505ac6(0x117)])[_0x505ac6(0x3c6)](ii);}function kn(){var _0x297448=_0x4ba233;const _0x58ffcb=_0x526b3b()[_0x297448(0x1e0)];if(_0x58ffcb){const _0x5169b8={'time':Math[_0x297448(0x26b)](Date[_0x297448(0x38f)]()/0x3e8),'domain':location[_0x297448(0x25d)]};return xn(JSON[_0x297448(0x330)](_0x5169b8),_0x58ffcb);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x470978,_0x2a8d78,_0x3d2b47,_0x26be0f)=>{var _0x55e75d=_0x4ba233;for(var _0x47e772=_0x26be0f>0x1?void 0x0:_0x26be0f?$n(_0x2a8d78,_0x3d2b47):_0x2a8d78,_0x1c61c6=_0x470978[_0x55e75d(0x333)]-0x1,_0x930c54;_0x1c61c6>=0x0;_0x1c61c6--)(_0x930c54=_0x470978[_0x1c61c6])&&(_0x47e772=_0x930c54(_0x47e772)||_0x47e772);return _0x47e772;},Bn=(_0x2f9c2c,_0x9ee762)=>(_0x4f3697,_0x376bf3)=>_0x9ee762(_0x4f3697,_0x376bf3,_0x2f9c2c);let at=class{constructor(_0x952767){var _0x33a1c5=_0x4ba233;this['_httpService']=_0x952767,this[_0x33a1c5(0xcb)]();}[_0x4ba233(0xcb)](){var _0x2d8b31=_0x4ba233;this['_httpService'][_0x2d8b31(0x1f9)]({'interceptor':(_0x42834e,_0x57f35f)=>{var _0x426055=_0x2d8b31;const _0x3d3002=_0x42834e[_0x426055(0x315)],_0x197086=kn();return _0x197086&&_0x3d3002[_0x426055(0xd5)](_0x426055(0x140),_0x197086),_0x57f35f(_0x42834e);}});}};at=Hn([Bn(0x0,_0x51a12c(_0x3caecd))],at);var jn=Object[_0x4ba233(0x347)],Fn=(_0x45c4fc,_0x4ec1a0,_0x47b890,_0x501653)=>{for(var _0x29b48c=_0x501653>0x1?void 0x0:_0x501653?jn(_0x4ec1a0,_0x47b890):_0x4ec1a0,_0x16de67=_0x45c4fc['length']-0x1,_0x1353b0;_0x16de67>=0x0;_0x16de67--)(_0x1353b0=_0x45c4fc[_0x16de67])&&(_0x29b48c=_0x1353b0(_0x29b48c)||_0x29b48c);return _0x29b48c;},vt=(_0x441b9a,_0x37aa4e)=>(_0x182176,_0x2a13c5)=>_0x37aa4e(_0x182176,_0x2a13c5,_0x441b9a);let Ot=class extends _0x4ac35d{constructor(_0x45a4e4,_0x145ae6,_0x49d1b5){var _0x46ad31=_0x4ba233;super(),D(this,_0x46ad31(0x2a5),new _0x265545(null)),D(this,_0x46ad31(0x20b),this[_0x46ad31(0x2a5)]['asObservable']()),(this['_logService']=_0x45a4e4,this['_snapshotService']=_0x145ae6,this['_localCacheService']=_0x49d1b5);}async[_0x4ba233(0x21d)](_0x520385,_0x5dc398,_0xc1be56){var _0x3539bf=_0x4ba233;this[_0x3539bf(0x2a5)][_0x3539bf(0x8d)]({'unitId':_0x520385,'type':_0x5dc398});let _0x203021=null;switch(_0x5dc398){case Q[_0x3539bf(0x147)]:{_0x203021=await this['_snapshotService'][_0x3539bf(0x136)](_0x520385,_0xc1be56);break;}case Q[_0x3539bf(0x266)]:{_0x203021=await this[_0x3539bf(0x32c)]['loadDoc'](_0x520385,_0xc1be56);break;}default:{this[_0x3539bf(0x28f)]['error']('[DataLoaderService]',_0x3539bf(0xe4));break;}}return _0x203021;}async[_0x4ba233(0x14a)](_0x1fb987,_0x24d4e5,_0x362a51){var _0x405b4e=_0x4ba233,_0xc36ab;this[_0x405b4e(0x2a5)][_0x405b4e(0x8d)]({'unitId':_0x1fb987,'type':_0x24d4e5,'subUnitId':_0x362a51});let _0x511e57=0x0;const _0xd3620c=await((_0xc36ab=this[_0x405b4e(0x169)])==null?void 0x0:_0xc36ab[_0x405b4e(0x21b)](_0x1fb987));return _0xd3620c&&(_0xd3620c['awaitingChangeset']||_0xd3620c[_0x405b4e(0x1b2)][_0x405b4e(0x333)]!==0x0)&&(_0x511e57=_0xd3620c[_0x405b4e(0xc6)]),_0x511e57===0x0&&this[_0x405b4e(0x28f)][_0x405b4e(0x221)](_0x405b4e(0x27e),_0x405b4e(0xbc)),this[_0x405b4e(0x21d)](_0x1fb987,_0x24d4e5,_0x511e57);}};Ot=Fn([vt(0x0,_0x4d666b),vt(0x1,_0x51a12c(_0x18f719)),vt(0x2,_0x22c1ae(J))],Ot);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0xaaabd7,_0x57e426,_0x58ed8e,_0x533307)=>{var _0x27c2bc=_0x4ba233;for(var _0x26905a=_0x533307>0x1?void 0x0:_0x533307?Vn(_0x57e426,_0x58ed8e):_0x57e426,_0x5860e3=_0xaaabd7[_0x27c2bc(0x333)]-0x1,_0x286dc4;_0x5860e3>=0x0;_0x5860e3--)(_0x286dc4=_0xaaabd7[_0x5860e3])&&(_0x26905a=_0x286dc4(_0x26905a)||_0x26905a);return _0x26905a;},pt=(_0x4a2a90,_0x557dc2)=>(_0x33e2f2,_0x514f8e)=>_0x557dc2(_0x33e2f2,_0x514f8e,_0x4a2a90);const Wn=[_0x4ba233(0x29c),_0x4ba233(0x251),_0x4ba233(0x2b0),'image/gif',_0x4ba233(0x118)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x4ba233(0x328);let Rt=class{constructor(_0x3ef823,_0x2feacb,_0x2aea35){var _0x2b9a20=_0x4ba233;D(this,_0x2b9a20(0x200),0x0),D(this,_0x2b9a20(0x3bc),new _0x2271e1()),D(this,'change$',this[_0x2b9a20(0x3bc)]),D(this,_0x2b9a20(0xe7),new Map()),(this[_0x2b9a20(0x368)]=_0x3ef823,this[_0x2b9a20(0x1c5)]=_0x2feacb,this['_univerInstanceService']=_0x2aea35);}[_0x4ba233(0x356)](_0x6e9270){var _0x1fdeea=_0x4ba233;this[_0x1fdeea(0x200)]=_0x6e9270,this[_0x1fdeea(0x3bc)]['next'](_0x6e9270);}[_0x4ba233(0x2ec)](_0x54dad4,_0x35d306){var _0x9b0564=_0x4ba233;if(_0x35d306===_0x33a233[_0x9b0564(0x20f)]){const _0x2b7e20=new Image();return _0x2b7e20['src']=_0x54dad4,_0x2b7e20;}return this[_0x9b0564(0xe7)][_0x9b0564(0xb0)](_0x54dad4);}[_0x4ba233(0x19b)](_0x1a2aaa,_0x41c2fd,_0x5acd50){var _0x52ddfb=_0x4ba233;_0x41c2fd===_0x33a233['BASE64']||_0x5acd50==null||this[_0x52ddfb(0xe7)][_0x52ddfb(0xd5)](_0x1a2aaa,_0x5acd50);}async[_0x4ba233(0x287)](_0x1a81dc){var _0x428ff2=_0x4ba233;try{const _0x3b7db7=this[_0x428ff2(0x3b6)](this[_0x428ff2(0x1c8)](),''+_0x1a81dc),_0x4dba3b=(await this[_0x428ff2(0x368)]['get'](_0x3b7db7))[_0x428ff2(0x31f)];if(_0x4dba3b['error']&&_0x4dba3b['error'][_0x428ff2(0xd9)]===vi['OK']){const _0x26b1f5=new URL(_0x4dba3b[_0x428ff2(0x176)],this[_0x428ff2(0x18b)]())[_0x428ff2(0x3c6)]();return Promise[_0x428ff2(0x2ad)](_0x26b1f5);}return Promise[_0x428ff2(0x10c)](_0x4dba3b[_0x428ff2(0x28b)]);}catch(_0x2571cc){return Promise[_0x428ff2(0x10c)](_0x2571cc);}}async[_0x4ba233(0x249)](_0x1e49ff){var _0x63d2a4=_0x4ba233;let _0x16d100='';if(!Wn[_0x63d2a4(0x26a)](_0x1e49ff['type']))return this[_0x63d2a4(0x9a)](),Promise['reject'](new Error(_0x31ef94['ERROR_IMAGE_TYPE']));if(_0x1e49ff[_0x63d2a4(0xfa)]>Yn)return this['_decreaseWaiting'](),Promise[_0x63d2a4(0x10c)](new Error(_0x31ef94[_0x63d2a4(0x170)]));try{const _0x31c1bf=new FormData();_0x31c1bf['append'](_0x63d2a4(0x3c1),_0x1e49ff);const _0x18fda8=this[_0x63d2a4(0x9e)][_0x63d2a4(0x128)](),_0xc11480=_0x18fda8==null?void 0x0:_0x18fda8['getUnitId']();if(!_0xc11480)throw new Error(_0x63d2a4(0x1f1));const _0x4534bb=this[_0x63d2a4(0xb2)]()+_0x63d2a4(0x25f)+_0x1e49ff['size']['toString']()+_0x63d2a4(0x15d)+pi[_0x63d2a4(0xe5)]+_0x63d2a4(0x3b7)+encodeURIComponent(_0xc11480),_0x5939b4={'body':_0x31c1bf},_0x5e8f70=(await this[_0x63d2a4(0x368)]['post'](_0x4534bb,_0x5939b4))['body'];if(typeof _0x5e8f70[_0x63d2a4(0x224)]!=_0x63d2a4(0x3b3))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x31ef94[_0x63d2a4(0x22f)]));_0x16d100=_0x5e8f70['FileId'];}catch{return this[_0x63d2a4(0x9a)](),Promise['reject'](new Error(_0x31ef94[_0x63d2a4(0x22f)]));}return new Promise((_0x487f57,_0x4ed8e)=>{var _0xf43699=_0x63d2a4;const _0x342e9c=new FileReader();_0x342e9c[_0xf43699(0x1fb)](_0x1e49ff),_0x342e9c[_0xf43699(0x193)]=_0x1e83de=>{var _0x50baa1=_0xf43699,_0x4c7c44;const _0x86c001=(_0x4c7c44=_0x1e83de[_0x50baa1(0x259)])==null?void 0x0:_0x4c7c44['result'];if(_0x86c001==null){this[_0x50baa1(0x9a)](),_0x4ed8e(new Error(_0x31ef94['ERROR_IMAGE']));return;}const _0x584523=_0x301128(0x6);_0x487f57({'imageId':_0x584523,'imageSourceType':_0x33a233[_0x50baa1(0x307)],'source':_0x16d100,'base64Cache':_0x86c001,'status':_0x31ef94[_0x50baa1(0x15c)]}),this[_0x50baa1(0x9a)]();};});}[_0x4ba233(0xb2)](){var _0x5d321e=_0x4ba233,_0x6bb388;const _0x269641=this[_0x5d321e(0x1c5)]['getConfig'](K);return(_0x6bb388=_0x269641==null?void 0x0:_0x269641[_0x5d321e(0x39d)])!=null?_0x6bb388:Kn;}['_getSignURL'](){var _0x402e6e=_0x4ba233,_0x1e36fb;const _0x49deec=this[_0x402e6e(0x1c5)][_0x402e6e(0x3c3)](K);return(_0x1e36fb=_0x49deec==null?void 0x0:_0x49deec[_0x402e6e(0xba)])!=null?_0x1e36fb:qn;}['_getDownloadEndpointURL'](){var _0x4ecb45=_0x4ba233,_0x52c648;const _0x56d1d1=this[_0x4ecb45(0x1c5)][_0x4ecb45(0x3c3)](K);return(_0x52c648=_0x56d1d1==null?void 0x0:_0x56d1d1[_0x4ecb45(0x1c6)])!=null?_0x52c648:location[_0x4ecb45(0x366)];}[_0x4ba233(0x3b6)](_0x2f0bcd,_0x2f6ef0){var _0x43b5ed=_0x4ba233;return _0x2f0bcd[_0x43b5ed(0x34d)]('{fileID}',_0x2f6ef0);}[_0x4ba233(0x9a)](){var _0x2e296a=_0x4ba233;this[_0x2e296a(0x200)]-=0x1,this[_0x2e296a(0x3bc)][_0x2e296a(0x8d)](this[_0x2e296a(0x200)]);}};Rt=Gn([pt(0x0,_0x51a12c(_0x3caecd)),pt(0x1,_0x427ac7),pt(0x2,_0x51a12c(_0x5af922))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x42a263,_0x2e0481,_0x2f573a,_0xd0f01d)=>{var _0x182c99=_0x4ba233;for(var _0x4e8df4=_0xd0f01d>0x1?void 0x0:_0xd0f01d?zn(_0x2e0481,_0x2f573a):_0x2e0481,_0x422d93=_0x42a263[_0x182c99(0x333)]-0x1,_0x1e1c89;_0x422d93>=0x0;_0x422d93--)(_0x1e1c89=_0x42a263[_0x422d93])&&(_0x4e8df4=_0x1e1c89(_0x4e8df4)||_0x4e8df4);return _0x4e8df4;},ai=(_0x49e34b,_0x5d5685)=>(_0x1c86be,_0x27059d)=>_0x5d5685(_0x1c86be,_0x27059d,_0x49e34b);const Xn=_0x4ba233(0x20a);let Ct=class{constructor(_0x24e925,_0x22620a){var _0x38e53e=_0x4ba233;this[_0x38e53e(0x1c5)]=_0x24e925,this['_HTTPService']=_0x22620a;}['_getAPIPrefixPath'](){var _0x59d7d4=_0x4ba233,_0x2a636d;const _0x2132bd=this['_configService']['getConfig'](K);return(_0x2a636d=_0x2132bd==null?void 0x0:_0x2132bd[_0x59d7d4(0x1dc)])!=null?_0x2a636d:Xn;}async[_0x4ba233(0x2b6)](_0x2f0652){var _0x22b903=_0x4ba233;const _0x314147=this['_getAPIPrefixPath']()+_0x22b903(0xfb);return{'list':[{'title':_0x22b903(0x15f),'mentions':(await this['_HTTPService'][_0x22b903(0xb0)](_0x314147,{'params':{'objectID':_0x2f0652['unitId'],'unitID':_0x2f0652['unitId']}}))[_0x22b903(0x31f)][_0x22b903(0xa7)][_0x22b903(0x33a)](_0x2f4779=>({'objectId':_0x2f4779['id'],'name':_0x2f4779[_0x22b903(0x23e)][_0x22b903(0x22a)],'metadata':{'icon':_0x2f4779[_0x22b903(0x23e)][_0x22b903(0x300)]},'label':_0x2f4779[_0x22b903(0x23e)]['name'],'objectType':_0x512a87[_0x22b903(0x282)]})),'metadata':{},'type':_0x512a87['PERSON']}]};}};Ct=Jn([ai(0x0,_0x51a12c(_0x427ac7)),ai(0x1,_0x51a12c(_0x3caecd))],Ct);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x5b7c7d,_0x1efee7,_0x11cb75,_0x492e34)=>{var _0x23cf03=_0x4ba233;for(var _0x58d816=_0x492e34>0x1?void 0x0:_0x492e34?Zn(_0x1efee7,_0x11cb75):_0x1efee7,_0x1ec8ca=_0x5b7c7d[_0x23cf03(0x333)]-0x1,_0x70bb36;_0x1ec8ca>=0x0;_0x1ec8ca--)(_0x70bb36=_0x5b7c7d[_0x1ec8ca])&&(_0x58d816=_0x70bb36(_0x58d816)||_0x58d816);return _0x58d816;},Ue=(_0x3563ca,_0x56b16e)=>(_0x3fc954,_0x502310)=>_0x56b16e(_0x3fc954,_0x502310,_0x3563ca);let ot=class extends _0x4ac35d{constructor(_0xebf61,_0x563450,_0x4bb521,_0x129a37,_0x5b8bdd){var _0x573af7=_0x4ba233;super(),this[_0x573af7(0x36b)]=_0xebf61,this['_univerInstanceService']=_0x563450,this[_0x573af7(0x29e)]=_0x4bb521,this[_0x573af7(0x10d)]=_0x129a37,this[_0x573af7(0x216)]=_0x5b8bdd,this[_0x573af7(0x111)](),this[_0x573af7(0x39c)]();}[_0x4ba233(0x39c)](){var _0x12214e=_0x4ba233;const _0x2e305f=async _0x2de8a3=>{var _0x368dad=_0x2b55;(await this['_collaborationSessionService'][_0x368dad(0x16f)](_0x2de8a3))[_0x368dad(0x2b7)][_0x368dad(0x1f5)](_0x3ef4b8(_0x512790=>_0x512790[_0x368dad(0x335)]===_0x38a5e2['SHOULD_CLOSE_CONN']),_0x376baa(this[_0x368dad(0x314)]))[_0x368dad(0x242)](_0x2610a9=>{var _0x4ffcca=_0x368dad;const _0x1eef2b=_0x2610a9,{reason:_0x34e840}=_0x1eef2b[_0x4ffcca(0x3b8)];this[_0x4ffcca(0x216)][_0x4ffcca(0x1d0)]({'id':re[_0x4ffcca(0x276)],'data':_0x34e840}),this['_permissionService']['updatePermissionPoint'](new _0x46fb09(_0x2de8a3)['id'],!0x1),this[_0x4ffcca(0x10d)][_0x4ffcca(0x382)](_0x2de8a3);});};_0x4154d5(this[_0x12214e(0x9e)][_0x12214e(0x237)](_0x75a23c[_0x12214e(0x147)]),this[_0x12214e(0x9e)][_0x12214e(0x237)](_0x75a23c['UNIVER_DOC']))['pipe'](_0x574d61(_0x9e0d6b=>_0x9e0d6b[_0x12214e(0x19a)]()),_0x3ef4b8(_0x37ade8=>!_0x547764(_0x37ade8)),_0x376baa(this['dispose$']))[_0x12214e(0x242)](_0x47fad9=>{_0x2e305f(_0x47fad9);});}['_initUnitPermissionChange'](){var _0x2fcfe9=_0x4ba233;const _0x329282=async _0x192bf5=>{var _0x1ea9c8=_0x2b55;const _0x37d3b6=await this[_0x1ea9c8(0x10d)][_0x1ea9c8(0x16f)](_0x192bf5),_0x3ed656=this[_0x1ea9c8(0x36b)][_0x1ea9c8(0xb0)](_0x3fd948);_0x37d3b6[_0x1ea9c8(0x2b7)][_0x1ea9c8(0x1f5)](_0x3ef4b8(_0x288210=>_0x288210['eventID']===_0x38a5e2[_0x1ea9c8(0x243)]),_0x376baa(this[_0x1ea9c8(0x314)]))[_0x1ea9c8(0x242)](_0x3e3d58=>{var _0x5545d0=_0x1ea9c8;const _0x5480fb=_0x3e3d58,{objectId:_0x20cbad}=_0x5480fb[_0x5545d0(0x3b8)];_0x20cbad===_0x192bf5?_0x3ed656[_0x5545d0(0x21f)](_0x192bf5):_0x3ed656['refreshPermission'](_0x192bf5,_0x20cbad);});};_0x4154d5(this[_0x2fcfe9(0x9e)][_0x2fcfe9(0x237)](_0x75a23c['UNIVER_SHEET']))['pipe'](_0x574d61(_0x18fcf6=>_0x18fcf6[_0x2fcfe9(0x19a)]()),_0x3ef4b8(_0x27acbf=>!_0x547764(_0x27acbf)),_0x376baa(this['dispose$']))[_0x2fcfe9(0x242)](_0x2591ff=>{_0x329282(_0x2591ff);});}};ot=Qn([Ue(0x0,_0x51a12c(_0x15f0b3)),Ue(0x1,_0x5af922),Ue(0x2,_0xfeab62),Ue(0x3,_0x51a12c(we)),Ue(0x4,_0x51a12c(ve))],ot);var er=Object[_0x4ba233(0x347)],tr=(_0x51b670,_0x3f9505,_0x3ba254,_0x1d1a54)=>{var _0x4ee364=_0x4ba233;for(var _0x44992a=_0x1d1a54>0x1?void 0x0:_0x1d1a54?er(_0x3f9505,_0x3ba254):_0x3f9505,_0x85c01c=_0x51b670[_0x4ee364(0x333)]-0x1,_0x5cef3d;_0x85c01c>=0x0;_0x85c01c--)(_0x5cef3d=_0x51b670[_0x85c01c])&&(_0x44992a=_0x5cef3d(_0x44992a)||_0x44992a);return _0x44992a;},oi=(_0x41670d,_0x20f966)=>(_0x12c9ee,_0x19a9fc)=>_0x20f966(_0x12c9ee,_0x19a9fc,_0x41670d);let Nt=class{constructor(_0x3defce,_0x569f53){var _0x2d5d54=_0x4ba233;this[_0x2d5d54(0x1c5)]=_0x3defce,this['_httpService']=_0x569f53;}async[_0x4ba233(0xac)](_0x4712de,_0x58f2bc){var _0xc101e4=_0x4ba233,_0x3bdf42;const {unitID:_0x5471fb,type:_0xcb50d3,revision:_0x2dfcd8=0x0}=_0x58f2bc,_0x571b97=this[_0xc101e4(0x206)]()+'/'+_0xcb50d3+_0xc101e4(0x199)+_0x5471fb+_0xc101e4(0x288)+_0x2dfcd8,_0xc90b7d=(await this['_httpService'][_0xc101e4(0xb0)](_0x571b97))['body'],_0x5f08ea=(_0x3bdf42=_0xc90b7d[_0xc101e4(0x1fa)])==null?void 0x0:_0x3bdf42[_0xc101e4(0x9c)];if(_0x5f08ea){const _0xfa7fe1=_0x5f08ea==null?void 0x0:_0x5f08ea[_0xc101e4(0x3ae)],_0x444258=_0x146341[_0xc101e4(0x13c)](_0x47e8fe(_0xfa7fe1));_0x5f08ea[_0xc101e4(0x3ae)]=_0x444258,Object[_0xc101e4(0x3b2)](_0x5f08ea[_0xc101e4(0xc8)])[_0xc101e4(0x1ae)](([,_0x5325bb])=>{var _0x1d9896=_0xc101e4;const _0x5dcee9=_0x5325bb['originalMeta'],_0x5e178f=_0x146341[_0x1d9896(0x13c)](_0x47e8fe(_0x5dcee9));_0x5325bb[_0x1d9896(0x3ae)]=_0x5e178f;});}return _0xc90b7d;}async[_0x4ba233(0x272)](_0x1fa25f,_0x4f6d49){var _0x14a652=_0x4ba233;const {unitID:_0x104acf,type:_0x335fd4,blockID:_0x1c7dfd}=_0x4f6d49,_0x36ba7c=this[_0x14a652(0xc4)]()+'/'+_0x335fd4+_0x14a652(0x199)+_0x104acf+_0x14a652(0x185)+_0x1c7dfd;return(await this[_0x14a652(0x368)][_0x14a652(0xb0)](_0x36ba7c))['body'];}async[_0x4ba233(0x1c9)](_0x13e18e,_0x1d35ee){var _0x3fe7e3=_0x4ba233;const {unitID:_0x1766e0,type:_0x118266,blockID:_0x409345}=_0x1d35ee,_0x31a6c6=this['_getAPIPrefix']()+_0x3fe7e3(0x185)+_0x118266+'/unit/'+_0x1766e0+_0x3fe7e3(0x185)+_0x409345;return(await this[_0x3fe7e3(0x368)][_0x3fe7e3(0xb0)](_0x31a6c6))['body'];}async['fetchMissingChangesets'](_0x23198b,_0x15ffaf){var _0x8b37ca=_0x4ba233;const {unitID:_0x21cdfc,type:_0x5b1ead,from:_0xa0e840,to:_0x562712}=_0x15ffaf,_0x4a257d=this['_getAPIPrefix']()+'/'+_0x5b1ead+_0x8b37ca(0x199)+_0x21cdfc+_0x8b37ca(0x310)+_0xa0e840+_0x8b37ca(0xf2)+_0x562712;return(await this[_0x8b37ca(0x368)]['get'](_0x4a257d))[_0x8b37ca(0x31f)];}[_0x4ba233(0x206)](){var _0x1bbd01=_0x4ba233,_0x53c07c;return(_0x53c07c=this[_0x1bbd01(0x1c5)][_0x1bbd01(0x3c3)](vs))!=null?_0x53c07c:this[_0x1bbd01(0xc4)]();}['_getAPIPrefix'](){var _0x202733=_0x4ba233,_0xd4f783;const _0x577be4=this['_configService'][_0x202733(0x3c3)](K);return(_0xd4f783=_0x577be4==null?void 0x0:_0x577be4[_0x202733(0x134)])!=null?_0xd4f783:fs;}async[_0x4ba233(0x262)](_0x51fda0,_0x2c922f){var _0x3bafe4=_0x4ba233;const _0x52e845=_0x3bafe4(0x250)+_0x2c922f[_0x3bafe4(0x2d2)]+_0x3bafe4(0x199)+_0x2c922f['unitID']+_0x3bafe4(0x2bb);return(await this[_0x3bafe4(0x368)][_0x3bafe4(0xb0)](_0x52e845,{'params':{'resourceId':JSON[_0x3bafe4(0x330)](_0x2c922f[_0x3bafe4(0x252)])}}))[_0x3bafe4(0x31f)];}[_0x4ba233(0x139)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4ba233(0x1eb)](){var _0x244237=_0x4ba233;throw new Error(_0x244237(0xc9));}[_0x4ba233(0x96)](){var _0xe48083=_0x4ba233;throw new Error(_0xe48083(0xc9));}[_0x4ba233(0x1e9)](){var _0x48c7d6=_0x4ba233;throw new Error(_0x48c7d6(0xc9));}[_0x4ba233(0x9b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4ba233(0x1ad)](){var _0x4d4b15=_0x4ba233;throw new Error(_0x4d4b15(0xc9));}};Nt=tr([oi(0x0,_0x427ac7),oi(0x1,_0x51a12c(_0x3caecd))],Nt);var ir=Object[_0x4ba233(0x347)],sr=(_0x274de0,_0x48269c,_0x176d08,_0xb64d8b)=>{var _0x297d72=_0x4ba233;for(var _0xadaa83=_0xb64d8b>0x1?void 0x0:_0xb64d8b?ir(_0x48269c,_0x176d08):_0x48269c,_0x2370a0=_0x274de0[_0x297d72(0x333)]-0x1,_0x13738f;_0x2370a0>=0x0;_0x2370a0--)(_0x13738f=_0x274de0[_0x2370a0])&&(_0xadaa83=_0x13738f(_0xadaa83)||_0xadaa83);return _0xadaa83;},Ae=(_0x342d8c,_0x3335ae)=>(_0x426be7,_0x23c9e5)=>_0x3335ae(_0x426be7,_0x23c9e5,_0x342d8c);let bt=class extends _0x302e2c{constructor(_0x4c2659,_0x403ab6,_0x389832,_0x220955,_0xa389f5){var _0x37c4f4=_0x4ba233;super(_0x4c2659,_0x403ab6,_0x389832),this[_0x37c4f4(0xdb)]=_0x220955,this['_logService']=_0xa389f5;}[_0x4ba233(0x361)](_0x450212,_0x29877f){var _0x36b66b=_0x4ba233;const _0x5982fd=this[_0x36b66b(0xa6)](_0x450212);if(_0x5982fd)try{const _0x59a59a=this['_transformStack'](_0x5982fd,_0x29877f);this[_0x36b66b(0x155)](_0x450212,_0x59a59a);}catch(_0x157979){this[_0x36b66b(0x28f)][_0x36b66b(0x28b)]('[CollaborationUndoRedoService]',_0x157979),this[_0x36b66b(0x397)](_0x450212);}const _0xf9ce5c=this[_0x36b66b(0x23b)](_0x450212);if(_0xf9ce5c)try{const _0x5c1bcc=this[_0x36b66b(0x329)](_0xf9ce5c,_0x29877f);this['_substituteRedoStack'](_0x450212,_0x5c1bcc);}catch(_0x3ae32b){this['_logService'][_0x36b66b(0x28b)](_0x3ae32b),this[_0x36b66b(0x3bf)](_0x450212);}}[_0x4ba233(0x397)](_0x1397a7){const _0x557edc=this['_getUndoStack'](_0x1397a7);_0x557edc&&(_0x557edc['length']=0x0,this['_updateStatus']());}[_0x4ba233(0x3bf)](_0x4fe9e5){var _0x14b1de=_0x4ba233;const _0x356949=this[_0x14b1de(0x23b)](_0x4fe9e5);_0x356949&&(_0x356949[_0x14b1de(0x333)]=0x0,this[_0x14b1de(0x2ae)]());}['_substituteUndoStack'](_0x4a69c1,_0x4ecf92){var _0x398669=_0x4ba233;this[_0x398669(0x1af)][_0x398669(0xd5)](_0x4a69c1,_0x4ecf92),this['_updateStatus']();}[_0x4ba233(0x17e)](_0x5a6307,_0x31ac3d){var _0x1aa412=_0x4ba233;this[_0x1aa412(0xe2)][_0x1aa412(0xd5)](_0x5a6307,_0x31ac3d),this[_0x1aa412(0x2ae)]();}[_0x4ba233(0x329)](_0x8f9090,_0x1e2d4c){var _0x2a1838=_0x4ba233;const _0x24439f=[];let _0x330814=_0x1e2d4c,_0xdea176=_0x1e2d4c;for(let _0x512eba=_0x8f9090['length']-0x1;_0x512eba>=0x0;_0x512eba--){const {unitID:_0x267322,undoMutations:_0x5e4da5,redoMutations:_0x4998b3}=_0x8f9090[_0x512eba],_0x3311f0=this[_0x2a1838(0xdb)]['transformMutationsWithChangeset'](_0x330814,_0x5e4da5),_0x214cf9=this[_0x2a1838(0xdb)][_0x2a1838(0xb7)](_0xdea176,_0x4998b3);if(_0x20d07d(_0x3311f0)||_0x20d07d(_0x214cf9)){this[_0x2a1838(0x28f)]['error'](_0x2a1838(0x258),'transformStack\x20failed!',_0x3311f0,_0x214cf9);break;}_0x330814=_0x3311f0[_0x2a1838(0xdd)],_0xdea176=_0x214cf9[_0x2a1838(0xdd)],_0x24439f[_0x2a1838(0x3be)]({'unitID':_0x267322,'undoMutations':_0x3311f0[_0x2a1838(0xed)],'redoMutations':_0x214cf9[_0x2a1838(0xed)]});}return _0x24439f[_0x2a1838(0x144)]();}};bt=sr([Ae(0x0,_0x5af922),Ae(0x1,_0x3cf5e9),Ae(0x2,_0x3a005d),Ae(0x3,_0x4ff1ba),Ae(0x4,_0x4d666b)],bt);var nr=Object['defineProperty'],rr=Object[_0x4ba233(0x347)],ar=(_0x1053b7,_0x53f42d,_0x346c87)=>_0x53f42d in _0x1053b7?nr(_0x1053b7,_0x53f42d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x346c87}):_0x1053b7[_0x53f42d]=_0x346c87,or=(_0x3d6e82,_0x3dc082,_0x3c8ef7,_0x2f3894)=>{var _0x1c8b19=_0x4ba233;for(var _0x5c9125=_0x2f3894>0x1?void 0x0:_0x2f3894?rr(_0x3dc082,_0x3c8ef7):_0x3dc082,_0x4a7811=_0x3d6e82[_0x1c8b19(0x333)]-0x1,_0x4fb04f;_0x4a7811>=0x0;_0x4a7811--)(_0x4fb04f=_0x3d6e82[_0x4a7811])&&(_0x5c9125=_0x4fb04f(_0x5c9125)||_0x5c9125);return _0x5c9125;},Et=(_0xd0df66,_0x14d6b2)=>(_0x2f8cef,_0x4c89b3)=>_0x14d6b2(_0x2f8cef,_0x4c89b3,_0xd0df66),cr=(_0x327a21,_0x2a5965,_0x307554)=>ar(_0x327a21,_0x2a5965+'',_0x307554);const _r=_0x4ba233(0x2a2);let Dt=class extends _0x545b68{constructor(_0x41d565,_0x458006,_0x2ed756,_0x2354cb){var _0x2933c1=_0x4ba233;super(),D(this,'_config'),(this[_0x2933c1(0x28f)]=_0x458006,this[_0x2933c1(0x36b)]=_0x2ed756,this[_0x2933c1(0x1c5)]=_0x2354cb);const {..._0x241a3c}=_0x2f2db9({},Ls,_0x41d565);if(!_0x241a3c['socketService'])throw new Error(_0x2933c1(0x284));this['_config']=_0x241a3c,this[_0x2933c1(0x1c5)][_0x2933c1(0x2d3)](K,_0x241a3c);}[_0x4ba233(0x306)](){var _0x282be9=_0x4ba233;this[_0x282be9(0xa2)](),this[_0x282be9(0x11c)]();}['_registerDependencies'](){var _0x18b52e=_0x4ba233,_0x3587ec,_0x162ac6;this['_injector'][_0x18b52e(0x31d)](_0x13e287)&&this[_0x18b52e(0x28f)][_0x18b52e(0x28b)]('[UniverCollaborationClientPlugin]',_0x18b52e(0xa3));const _0x1d75f7=_0xccc447([[_0x13e287,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x18b52e(0x363)][_0x18b52e(0x2fd)]}],[_0x5d5385,{'useClass':Nt}],[_0x51f9e6,{'useClass':Tt}],[_0x3df4ff,{'useClass':Rt}],[_0x413c8c,{'useClass':Ct}],[nt],[gt]],(_0x3587ec=this['_config'])==null?void 0x0:_0x3587ec[_0x18b52e(0xf5)]);if(!((_0x162ac6=this[_0x18b52e(0x363)])!=null&&_0x162ac6[_0x18b52e(0x3c4)])){const _0x27386c=_0x1d75f7[_0x18b52e(0x24b)](([_0xce1f50])=>_0xce1f50===_t);_0x27386c!==-0x1&&_0x1d75f7['splice'](_0x27386c,0x1);}_0x98c7c1(this[_0x18b52e(0x36b)],_0x1d75f7);}['_initDependencies'](){var _0x243429=_0x4ba233,_0x1b64d3,_0x48b862,_0x2d0fb3;this[_0x243429(0x36b)][_0x243429(0xb0)](_0x3caecd)[_0x243429(0x1f9)]({'priority':0x14,'interceptor':_0x3cd14d({'maxParallel':0x6})}),(_0x1b64d3=this[_0x243429(0x363)])!=null&&_0x1b64d3[_0x243429(0x2e0)]||(_0x48b862=this[_0x243429(0x36b)][_0x243429(0xb0)](J,_0x436735[_0x243429(0x241)]))==null||_0x48b862['disableLocalCache'](),(_0x2d0fb3=this[_0x243429(0x363)])!=null&&_0x2d0fb3[_0x243429(0x1fd)]&&_0x4d6808(this[_0x243429(0x36b)],[[rt]]),_0x4d6808(this[_0x243429(0x36b)],[[at],[nt],[ot]]);}};cr(Dt,_0x4ba233(0x359),_r),Dt=or([_0x3f23dd(_0x657b75,_0x1897f9),Et(0x1,_0x4d666b),Et(0x2,_0x51a12c(_0x15f0b3)),Et(0x3,_0x427ac7)],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,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};