@univerjs-pro/collaboration-client 0.4.2-nightly.202411061606 → 0.4.2-nightly.202411081606

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 (90) hide show
  1. package/lib/cjs/index.js +1 -0
  2. package/lib/cjs/locale/en-US.js +1 -0
  3. package/lib/cjs/locale/fa-IR.js +1 -0
  4. package/lib/cjs/locale/ru-RU.js +1 -0
  5. package/lib/cjs/locale/vi-VN.js +1 -0
  6. package/lib/cjs/locale/zh-CN.js +1 -0
  7. package/lib/cjs/locale/zh-TW.js +1 -0
  8. package/lib/es/index.js +1 -1
  9. package/lib/es/locale/en-US.js +1 -0
  10. package/lib/es/locale/fa-IR.js +1 -0
  11. package/lib/es/locale/ru-RU.js +1 -0
  12. package/lib/es/locale/vi-VN.js +1 -0
  13. package/lib/es/locale/zh-CN.js +1 -0
  14. package/lib/es/locale/zh-TW.js +1 -0
  15. package/lib/types/index.d.ts +890 -35
  16. package/lib/umd/index.js +1 -1
  17. package/lib/umd/locale/en-US.js +1 -1
  18. package/lib/umd/locale/fa-IR.js +1 -1
  19. package/lib/umd/locale/ru-RU.js +1 -1
  20. package/lib/umd/locale/vi-VN.js +1 -1
  21. package/lib/umd/locale/zh-CN.js +1 -1
  22. package/lib/umd/locale/zh-TW.js +1 -1
  23. package/package.json +31 -25
  24. package/lib/locale/en-US.js +0 -1
  25. package/lib/locale/fa-IR.js +0 -1
  26. package/lib/locale/ru-RU.js +0 -1
  27. package/lib/locale/vi-VN.js +0 -1
  28. package/lib/locale/zh-CN.js +0 -1
  29. package/lib/locale/zh-TW.js +0 -1
  30. package/lib/types/config/config.d.ts +0 -48
  31. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
  32. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
  33. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
  34. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
  35. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
  36. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
  37. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
  38. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
  39. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
  40. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
  41. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
  42. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  43. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -54
  44. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +0 -91
  45. package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -303
  46. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +0 -24
  47. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +0 -18
  48. package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
  49. package/lib/types/controllers/config.schema.d.ts +0 -29
  50. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
  51. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
  52. package/lib/types/controllers/file-name/file-name.controller.d.ts +0 -12
  53. package/lib/types/controllers/telemetry.d.ts +0 -11
  54. package/lib/types/locale/en-US.d.ts +0 -3
  55. package/lib/types/locale/fa-IR.d.ts +0 -3
  56. package/lib/types/locale/ru-RU.d.ts +0 -3
  57. package/lib/types/locale/vi-VN.d.ts +0 -3
  58. package/lib/types/locale/zh-CN.d.ts +0 -39
  59. package/lib/types/locale/zh-TW.d.ts +0 -3
  60. package/lib/types/models/cursor.d.ts +0 -30
  61. package/lib/types/plugin.d.ts +0 -18
  62. package/lib/types/services/auth-server/auth-server.service.d.ts +0 -10
  63. package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -30
  64. package/lib/types/services/auth-server/domain-request.service.d.ts +0 -6
  65. package/lib/types/services/auth-server/util.d.ts +0 -1
  66. package/lib/types/services/collaboration-session/collaboration-session.d.ts +0 -59
  67. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +0 -61
  68. package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
  69. package/lib/types/services/comment/comment.service.d.ts +0 -6
  70. package/lib/types/services/image-remote/image-io.service.d.ts +0 -34
  71. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
  72. package/lib/types/services/local-cache/local-cache.service.d.ts +0 -37
  73. package/lib/types/services/member/member.service.d.ts +0 -77
  74. package/lib/types/services/permission/permission.service.d.ts +0 -12
  75. package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +0 -13
  76. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -39
  77. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +0 -21
  78. package/lib/types/services/socket/collaboration-socket.service.d.ts +0 -34
  79. package/lib/types/services/socket/serialize.d.ts +0 -3
  80. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
  81. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
  82. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
  83. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +0 -19
  84. package/lib/types/services/url/url.service.d.ts +0 -12
  85. package/lib/types/services/url/web-url.service.d.ts +0 -10
  86. package/lib/types/views/components/CollabStatus.d.ts +0 -10
  87. package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
  88. package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
  89. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
  90. package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x241173=_0x10c7;(function(_0x1da4a2,_0x168c78){const _0x492fd8=_0x10c7,_0x444258=_0x1da4a2();while(!![]){try{const _0x241920=-parseInt(_0x492fd8(0x47e))/0x1*(parseInt(_0x492fd8(0x2a0))/0x2)+parseInt(_0x492fd8(0x4b7))/0x3+parseInt(_0x492fd8(0x2a1))/0x4+-parseInt(_0x492fd8(0x5ba))/0x5*(parseInt(_0x492fd8(0x5b4))/0x6)+parseInt(_0x492fd8(0x222))/0x7*(-parseInt(_0x492fd8(0x55c))/0x8)+parseInt(_0x492fd8(0x1d9))/0x9+parseInt(_0x492fd8(0x2f6))/0xa*(parseInt(_0x492fd8(0x304))/0xb);if(_0x241920===_0x168c78)break;else _0x444258['push'](_0x444258['shift']());}catch(_0x4d40cb){_0x444258['push'](_0x444258['shift']());}}}(_0x411e,0x3e666));var Yi=Object[_0x241173(0x387)],Ki=(_0x54aaf7,_0x290f31,_0x3468a9)=>_0x290f31 in _0x54aaf7?Yi(_0x54aaf7,_0x290f31,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3468a9}):_0x54aaf7[_0x290f31]=_0x3468a9,g=(_0x402fed,_0x3766b7,_0x593602)=>Ki(_0x402fed,typeof _0x3766b7!=_0x241173(0x20d)?_0x3766b7+'':_0x3766b7,_0x593602);import{createIdentifier as _0x917e2b,Inject as _0x1596c5,Disposable as _0x59a5e6,DisposableCollection as _0x3c5213,toDisposable as _0x5252a1,IConfigService as _0x13e361,ILogService as _0x265e7a,UserManagerService as _0x98656f,UniverInstanceType as _0x1d0ba8,IUniverInstanceService as _0xb0f939,LocaleService as _0x48c62d,Optional as _0x164486,RxDisposable as _0x388f6d,Injector as _0x59d577,Tools as _0x55a7da,ILocalStorageService as _0xeb8e97,Rectangle as _0x34664d,ICommandService as _0x289e6f,DOC_RANGE_TYPE as _0x3aef73,JSONX as _0x4013bd,CommandType as _0xb9bad3,IPermissionService as _0x118be4,IUndoRedoService as _0x4007f7,sequenceExecute as _0x357bfc,debounce as _0x46098b,COLORS as _0x5a2aa5,ColorKit as _0x3f96b3,ThemeService as _0x1d15ec,fromEventSubject as _0x733a2f,useDependency as _0x1a7a89,connectInjector as _0x4f87b6,Workbook as _0x24ceab,isInternalEditorID as _0x53c751,LocalUndoRedoService as _0x321970,IContextService as _0x2b51a9,DependentOn as _0x5adef1,Plugin as _0x5f090e,touchDependencies as _0x2f0b1e,IAuthzIoService as _0x1c3331,registerDependencies as _0x34cc1d,mergeOverrideWithDependencies as _0x1476c6}from'@univerjs/core';import{Subject as _0x49f7d1,merge as _0x2434f6,takeUntil as _0x52fe01,BehaviorSubject as _0x76ce31,distinctUntilChanged as _0x541ef5,fromEvent as _0x521190,ReplaySubject as _0x53134c,take as _0x3dc28c,map as _0x4d4651,shareReplay as _0x5477e0,of as _0x11cc12,debounceTime as _0x12bae1,filter as _0x439b24,switchMap as _0x1916ca,combineLatest as _0x4bc3f4,concatMap as _0x3a017f,mapTo as _0x152544}from'rxjs';import{map as _0x47bd8a,take as _0x33b7ed,filter as _0x18ffd4,delay as _0x381eaa,throttleTime as _0x41bf60,takeUntil as _0x2d9b28,switchMap as _0x3d5fa1}from'rxjs/operators';import{MessageType as _0x2b3cbc,Tooltip as _0x2b53c5}from'@univerjs/design';import{IBeforeCloseService as _0x13e741,IMessageService as _0x3ed87c,INotificationService as _0x323c57,useObservable as _0xc736db,BuiltInUIPart as _0x1365ef,IUIPartsService as _0x1bec75}from'@univerjs/ui';import{HTTPService as _0x1eb63d,WebSocketService as _0x30b9d6,MergeInterceptorFactory as _0xdc4057,HTTPRequest as _0x47f7b2,UniverNetworkPlugin as _0x58b47c,ThresholdInterceptorFactory as _0x4274cb}from'@univerjs/network';import{CollaborationEvent as _0x4ac452,parseChangesetToProtocol as _0x30a3b8,ISnapshotServerService as _0x52861,isTransformMutationFailure as _0x3ab926,isTransformMutationsWithChangesetSuccess as _0x18198c,ITransformService as _0x399263,RevisionService as _0x3fbb34,mapDocumentTypeToUniverType as _0x55ef20,isTransformChangesetsSuccess as _0x1ed796,CompressMutationService as _0x2afa86,parseProtocolChangeset as _0x2f0b94,SnapshotService as _0x2abf3b,textEncoder as _0x14de71,b64DecodeUnicode as _0xd5b710,isTransformMutationsWithChangesetFailure as _0x14fd20,UniverCollaborationPlugin as _0x2fe31f}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x21de45}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x510b38,DocStateChangeManagerService as _0xeca7f6,NodePositionConvertToCursor as _0x3c1f90,NodePositionConvertToRectRange as _0x357f75,TEXT_RANGE_LAYER_INDEX as _0x2f37ba,SetDocZoomRatioOperation as _0x5077f1}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x1d5e06,SetSelectionsOperation as _0x28fc2c,InsertSheetMutation as _0x179056,EmptyMutation as _0x157c6e,WorkbookEditablePermission as _0x5e1b31,RefRangeService as _0x902ae,EffectRefRangId as _0x434fab,handleIRemoveRow as _0x521c0b,handleIRemoveCol as _0x464faa,handleMoveRange as _0x14656c,handleInsertRow as _0x2ee68b,handleInsertRangeMoveRight as _0x20aa8f,handleInsertRangeMoveDown as _0x32e319,handleInsertCol as _0x1a98c1,handleDeleteRangeMoveUp as _0x6f08ae,handleDeleteRangeMoveLeft as _0x3610af,runRefRangeMutations as _0x50c0fc,SetWorksheetActivateCommand as _0x14423d}from'@univerjs/sheets';import{IRenderManagerService as _0x3c7872,Shape as _0x59e4ae,Rect as _0x18878f,getColor as _0x593c52,RegularPolygon as _0x45347e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5220cb,Vector2 as _0x26bac9}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x43529d,RichTextEditingMutation as _0x4f4f55,SetTextSelectionsOperation as _0x48e2de,DocSkeletonManagerService as _0x587a0c}from'@univerjs/docs';import{ImageSourceType as _0x2674b5,ImageUploadStatusType as _0x362f80,IImageIoService as _0x2269c7}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x1b8bdd,serializeRangeWithSheet as _0x37ef09}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x24463f,VIEWPORT_KEY as _0x525f3e,getCoordByCell as _0x574c01,getSheetObject as _0x3f7cf8,SheetPermissionInitController as _0x1639dd}from'@univerjs/sheets-ui';import _0xe0d2c9,{forwardRef as _0x173554,useRef as _0x1a1023,createElement as _0x12f758,useCallback as _0x1c4996}from'react';import{IRemoteInstanceService as _0x115e00}from'@univerjs/rpc';const nr=_0x241173(0x3c4),rr=_0x241173(0x23e),or=_0x241173(0x1f3),Bc='SEND_CHANGESET_TIMEOUT',ar=0x7d0,cr='COLLAB_WEB_SOCKET_URL',hr=_0x241173(0x4a8),lr='HEARTBEAT_INTERVAL',_r=0x7530,Ei=_0x241173(0x220),bi=0x4e20,ur=0x4e20,dr=_0x241173(0x3ef),fr=0x3,vr='LOCAL_CACHE_INTERVAL',mr=0x3e8,pr=_0x241173(0x458),gr=_0x241173(0x3ea),Sr=_0x241173(0x446),Ir=_0x241173(0x250);var Ti=(_0x1c3e8d=>(_0x1c3e8d[_0x1c3e8d['UNDEFINED']=0x0]=_0x241173(0x28a),_0x1c3e8d[_0x1c3e8d['OK']=0x1]='OK',_0x1c3e8d[_0x1c3e8d['INTERNAL_ERROR']=0x2]=_0x241173(0x2f7),_0x1c3e8d[_0x1c3e8d['PERMISSION_DENIED']=0x3]=_0x241173(0x4ec),_0x1c3e8d[_0x1c3e8d['NOT_FOUND']=0x4]='NOT_FOUND',_0x1c3e8d[_0x1c3e8d[_0x241173(0x42c)]=0x5]=_0x241173(0x42c),_0x1c3e8d[_0x1c3e8d[_0x241173(0x3e5)]=0x6]='ALREADY_EXISTS',_0x1c3e8d[_0x1c3e8d[_0x241173(0x20b)]=0x7]=_0x241173(0x20b),_0x1c3e8d[_0x1c3e8d[_0x241173(0x361)]=0x8]='TOO_MANY_REQUESTS',_0x1c3e8d[_0x1c3e8d[_0x241173(0x47b)]=0x9]=_0x241173(0x47b),_0x1c3e8d[_0x1c3e8d['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1c3e8d[_0x1c3e8d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1c3e8d[_0x1c3e8d[_0x241173(0x473)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1c3e8d[_0x1c3e8d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x241173(0x327),_0x1c3e8d[_0x1c3e8d[_0x241173(0x597)]=0x1b59]=_0x241173(0x597),_0x1c3e8d[_0x1c3e8d[_0x241173(0x4c1)]=0x1b5a]=_0x241173(0x4c1),_0x1c3e8d[_0x1c3e8d[_0x241173(0x2a9)]=0x1b5b]=_0x241173(0x2a9),_0x1c3e8d[_0x1c3e8d[_0x241173(0x532)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1c3e8d[_0x1c3e8d[_0x241173(0x256)]=0x1b5d]=_0x241173(0x256),_0x1c3e8d[_0x1c3e8d[_0x241173(0x25e)]=0x1f41]=_0x241173(0x25e),_0x1c3e8d[_0x1c3e8d[_0x241173(0x3bc)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1c3e8d[_0x1c3e8d[_0x241173(0x1da)]=0x232a]=_0x241173(0x1da),_0x1c3e8d[_0x1c3e8d[_0x241173(0x428)]=0x232b]=_0x241173(0x428),_0x1c3e8d[_0x1c3e8d[_0x241173(0x4ce)]=0x232c]=_0x241173(0x4ce),_0x1c3e8d[_0x1c3e8d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x241173(0x58b),_0x1c3e8d[_0x1c3e8d[_0x241173(0x4ea)]=0x2711]=_0x241173(0x4ea),_0x1c3e8d[_0x1c3e8d[_0x241173(0x57d)]=0x2712]=_0x241173(0x57d),_0x1c3e8d[_0x1c3e8d[_0x241173(0x1e3)]=0x2713]=_0x241173(0x1e3),_0x1c3e8d[_0x1c3e8d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x241173(0x301),_0x1c3e8d[_0x1c3e8d[_0x241173(0x5b5)]=-0x1]=_0x241173(0x5b5),_0x1c3e8d))(Ti||{}),ce=(_0x524e40=>(_0x524e40[_0x524e40[_0x241173(0x24b)]=0x0]=_0x241173(0x24b),_0x524e40[_0x524e40[_0x241173(0x209)]=0x1]=_0x241173(0x209),_0x524e40[_0x524e40[_0x241173(0x372)]=0x2]=_0x241173(0x372),_0x524e40[_0x524e40[_0x241173(0x435)]=0x3]=_0x241173(0x435),_0x524e40[_0x524e40[_0x241173(0x399)]=0x4]=_0x241173(0x399),_0x524e40[_0x524e40[_0x241173(0x5b5)]=-0x1]='UNRECOGNIZED',_0x524e40))(ce||{}),W=(_0x221069=>(_0x221069[_0x221069['UNKNOWN_CMD']=0x0]=_0x241173(0x34e),_0x221069[_0x221069[_0x241173(0x251)]=0x1]=_0x241173(0x251),_0x221069[_0x221069[_0x241173(0x1e5)]=0x2]=_0x241173(0x1e5),_0x221069[_0x221069[_0x241173(0x234)]=0x3]=_0x241173(0x234),_0x221069[_0x221069[_0x241173(0x1e6)]=0x4]=_0x241173(0x1e6),_0x221069[_0x221069[_0x241173(0x36d)]=0x5]='HEARTBEAT',_0x221069[_0x221069['RECV']=0x6]='RECV',_0x221069[_0x221069[_0x241173(0x5b5)]=-0x1]=_0x241173(0x5b5),_0x221069))(W||{}),Ss=(_0x57d822=>(_0x57d822[_0x57d822[_0x241173(0x465)]=0x0]=_0x241173(0x465),_0x57d822[_0x57d822['OK']=0x1]='OK',_0x57d822[_0x57d822['FAIL']=0x2]=_0x241173(0x4dc),_0x57d822[_0x57d822[_0x241173(0x5b5)]=-0x1]=_0x241173(0x5b5),_0x57d822))(Ss||{}),Ri=(_0x7a153=>(_0x7a153[_0x7a153[_0x241173(0x2cd)]=0x0]=_0x241173(0x2cd),_0x7a153[_0x7a153[_0x241173(0x59c)]=0x1]=_0x241173(0x59c),_0x7a153[_0x7a153[_0x241173(0x1ee)]=0x2]=_0x241173(0x1ee),_0x7a153[_0x7a153['UnitEmbedded']=0x3]='UnitEmbedded',_0x7a153[_0x7a153[_0x241173(0x22e)]=0x4]='UnitSnapshot',_0x7a153[_0x7a153[_0x241173(0x5b5)]=-0x1]=_0x241173(0x5b5),_0x7a153))(Ri||{});const ie=_0x241173(0x224),Cr={};function Er(_0x54fdd4){const _0x11f084=_0x241173;var _0x58e32,_0x35acfe,_0x248b25,_0x44e960,_0x187c83;const _0xdf16ac=_0x54fdd4[_0x11f084(0x498)],_0x4a9d8f=JSON[_0x11f084(0x527)](_0xdf16ac);switch(_0x4a9d8f[_0x11f084(0x364)]){case W['HEARTBEAT']:case W[_0x11f084(0x251)]:{const _0x2fad5b=_0x4a9d8f[_0x11f084(0x42d)];return{..._0x4a9d8f,'data':_0x2fad5b,'cmd':_0x4a9d8f[_0x11f084(0x364)]};}case W[_0x11f084(0x1e5)]:{const _0x5343d6=_0x4a9d8f[_0x11f084(0x423)];return{..._0x4a9d8f,'data':_0x5343d6,'cmd':_0x4a9d8f[_0x11f084(0x364)]};}case W['RECV']:{const _0x603367=_0x4a9d8f[_0x11f084(0x289)];switch(_0x603367[_0x11f084(0x4df)]){case _0x4ac452[_0x11f084(0x3d6)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x58e32=_0x603367['permissionRejEvent'])==null?void 0x0:_0x58e32['cs']},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452['CHANGESET_ACK']:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x35acfe=_0x603367[_0x11f084(0x408)])==null?void 0x0:_0x35acfe['cs']},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x1eb)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x248b25=_0x603367[_0x11f084(0x41d)])==null?void 0x0:_0x248b25['cs']},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x247)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x44e960=_0x603367[_0x11f084(0x3ad)])==null?void 0x0:_0x44e960['cs']},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x3ab)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x187c83=_0x603367[_0x11f084(0x54f)])==null?void 0x0:_0x187c83['cs']},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x589)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367['updateCursorEvent']},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x50e)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367['joinEvent']},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x436)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x575)]},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x46d)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x467)]},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x5a4)]:case _0x4ac452[_0x11f084(0x29b)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x488)]},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x4c8)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x467)]},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x480)]:return{..._0x4a9d8f,'data':_0x603367,'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x475)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367['commentUpdateEvent']},'cmd':_0x4a9d8f['cmd']};case _0x4ac452['UPDATE_PERMISSION_OBJ']:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x5b7)]},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x24e)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x200)]},'cmd':_0x4a9d8f[_0x11f084(0x364)]};default:return _0x4a9d8f;}}default:return _0x4a9d8f;}}function br(_0x1a1db7){const _0x5ebb98=_0x241173;switch(_0x1a1db7[_0x5ebb98(0x364)]){case W[_0x5ebb98(0x36d)]:case W[_0x5ebb98(0x251)]:return JSON[_0x5ebb98(0x4aa)]({'cmd':_0x1a1db7['cmd'],'routeKey':_0x1a1db7[_0x5ebb98(0x3ee)]});case W[_0x5ebb98(0x1e6)]:{let _0x3add3f;switch(_0x1a1db7['data']['eventID']){case _0x4ac452[_0x5ebb98(0x589)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x589)],'updateCursorEvent':_0x1a1db7[_0x5ebb98(0x498)][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x436)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x436)],'leaveEvent':_0x1a1db7[_0x5ebb98(0x498)][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x50e)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x50e)],'joinEvent':_0x1a1db7[_0x5ebb98(0x498)]['data']};break;}case _0x4ac452[_0x5ebb98(0x46d)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x46d)],'liveShareNewHost':_0x1a1db7['data']['data']};break;}case _0x4ac452[_0x5ebb98(0x29b)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x29b)],'liveShareOperation':_0x1a1db7[_0x5ebb98(0x498)][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x4c8)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x4c8)],'liveShareTerminate':_0x1a1db7['data'][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x1d3)]:{_0x3add3f={'eventID':_0x4ac452['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1a1db7['data'][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x5a4)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x5a4)]};break;}default:_0x3add3f={'eventID':_0x1a1db7[_0x5ebb98(0x498)]['eventID']};}return JSON[_0x5ebb98(0x4aa)]({'cmd':_0x1a1db7['cmd'],'routeKey':_0x1a1db7['routeKey'],'collaMsg':_0x3add3f});}case W[_0x5ebb98(0x1e5)]:return JSON[_0x5ebb98(0x4aa)]({'cmd':_0x1a1db7[_0x5ebb98(0x364)],'routeKey':_0x1a1db7[_0x5ebb98(0x3ee)],'joinReq':_0x1a1db7[_0x5ebb98(0x498)]});case W['LEAVE']:return JSON[_0x5ebb98(0x4aa)]({'cmd':_0x1a1db7[_0x5ebb98(0x364)],'routeKey':_0x1a1db7[_0x5ebb98(0x3ee)],'leaveReq':_0x1a1db7[_0x5ebb98(0x498)]});default:throw new Error(_0x5ebb98(0x4f7));}}var Tr=Object[_0x241173(0x387)],Rr=Object[_0x241173(0x2fb)],yr=(_0x32a06c,_0x12f78b,_0x1eb3a3,_0x57ba1c)=>{const _0x4c9f9f=_0x241173;for(var _0xed871a=_0x57ba1c>0x1?void 0x0:_0x57ba1c?Rr(_0x12f78b,_0x1eb3a3):_0x12f78b,_0x123f51=_0x32a06c[_0x4c9f9f(0x32c)]-0x1,_0x191865;_0x123f51>=0x0;_0x123f51--)(_0x191865=_0x32a06c[_0x123f51])&&(_0xed871a=(_0x57ba1c?_0x191865(_0x12f78b,_0x1eb3a3,_0xed871a):_0x191865(_0xed871a))||_0xed871a);return _0x57ba1c&&_0xed871a&&Tr(_0x12f78b,_0x1eb3a3,_0xed871a),_0xed871a;},qe=(_0x1b9e88,_0x463d7d)=>(_0x1da2f8,_0x36582a)=>_0x463d7d(_0x1da2f8,_0x36582a,_0x1b9e88);const yi=_0x917e2b(_0x241173(0x2de));function Or(_0x440576,_0x5e65a9,_0x315601){const _0x454d8d=_0x241173;return _0x440576+'/'+_0x5e65a9+_0x454d8d(0x337)+_0x315601+_0x454d8d(0x2fc);}let Qt=class extends _0x59a5e6{constructor(_0x5633bb,_0x536bb6,_0x2f3cad,_0x8e408,_0x172217){const _0x348272=_0x241173;super(),this[_0x348272(0x35b)]=_0x5633bb,this[_0x348272(0x5a5)]=_0x536bb6,this[_0x348272(0x3aa)]=_0x2f3cad,this[_0x348272(0x318)]=_0x8e408,this[_0x348272(0x510)]=_0x172217;}['createSocket'](_0xe1c837){const _0x1b0048=_0x241173,_0x10b465=this[_0x1b0048(0x5a5)][_0x1b0048(0x562)](_0xe1c837);if(!_0x10b465)throw new Error(_0x1b0048(0x5b1));const _0x205566=new _0x3c5213(),_0x1ec158=new _0x49f7d1();_0x205566[_0x1b0048(0x569)](_0x10b465[_0x1b0048(0x2c6)][_0x1b0048(0x31f)](_0x502f45=>_0x1ec158[_0x1b0048(0x5b0)](_0x502f45))),_0x205566[_0x1b0048(0x569)](_0x5252a1(()=>_0x1ec158[_0x1b0048(0x54a)]()));const _0x31bab4=new _0x49f7d1();_0x205566['add'](_0x10b465[_0x1b0048(0x285)][_0x1b0048(0x31f)](_0xfc3f7d=>_0x31bab4[_0x1b0048(0x5b0)](_0xfc3f7d))),_0x205566[_0x1b0048(0x569)](_0x5252a1(()=>_0x31bab4[_0x1b0048(0x54a)]()));const _0x2f99db=new _0x49f7d1();_0x205566[_0x1b0048(0x569)](_0x10b465[_0x1b0048(0x5a7)][_0x1b0048(0x31f)](_0x32c9e4=>{const _0x28674a=_0x1b0048,_0x1fc1c=Er(_0x32c9e4);_0x2f99db[_0x28674a(0x5b0)](_0x1fc1c);})),_0x205566[_0x1b0048(0x569)](_0x5252a1(()=>_0x2f99db[_0x1b0048(0x54a)]()));let _0x1f577c;const _0xabc88e=()=>{const _0x434fbe=_0x1b0048;_0x31bab4['next'](new Event(_0x434fbe(0x439))),_0x1ec158[_0x434fbe(0x5b0)](new CloseEvent(_0x434fbe(0x439))),_0x1f577c['close']();};return _0x1f577c={'memberID':'','close$':_0x1ec158['asObservable'](),'error$':_0x31bab4[_0x1b0048(0x1d7)](),'open$':_0x10b465[_0x1b0048(0x3a6)],'message$':_0x2f99db[_0x1b0048(0x1d7)](),'send':_0x486e08=>{const _0x17aeaf=_0x1b0048;if(_0x486e08[_0x17aeaf(0x364)]===W['INGEST']){if(_0x486e08[_0x17aeaf(0x498)]['eventID']===_0x4ac452[_0x17aeaf(0x530)]){this[_0x17aeaf(0x2c5)](_0x1f577c,_0x486e08['data'])[_0x17aeaf(0x29e)](_0x440994=>{const _0x5c1459=_0x17aeaf;this['_logService'][_0x5c1459(0x4e3)](_0x440994),_0xabc88e();});return;}if(_0x486e08[_0x17aeaf(0x498)][_0x17aeaf(0x4df)]===_0x4ac452[_0x17aeaf(0x411)]){const _0x411753=_0x486e08[_0x17aeaf(0x498)];this[_0x17aeaf(0x486)](_0x411753)[_0x17aeaf(0x27c)](_0x511f97=>{const _0xe1865c=_0x17aeaf;_0x2f99db[_0xe1865c(0x5b0)]({'cmd':W['RECV'],'code':Ss['OK'],'routeKey':_0x411753['data'][_0xe1865c(0x4a0)],'routeType':'','data':{'eventID':_0x4ac452[_0xe1865c(0x379)],'data':{'changesets':_0x511f97}}});})['catch'](_0x927709=>{const _0x332045=_0x17aeaf;this['_logService'][_0x332045(0x4e3)](_0x927709),_0xabc88e();});return;}}_0x10b465[_0x17aeaf(0x36e)](br(_0x486e08));},'close':()=>{const _0x4f356f=_0x1b0048;_0x10b465['close'](),_0x205566[_0x4f356f(0x58a)]();}},_0x1f577c;}async[_0x241173(0x2c5)](_0x323824,_0x5c3706){const _0x34eb6f=_0x241173;var _0x494a33,_0xab433f;const {unitType:_0x37950b,unitID:_0x4cadad,changeset:_0x3f07e0}=_0x5c3706[_0x34eb6f(0x498)],_0xdf9804={'unitID':_0x4cadad,'memberID':_0x323824[_0x34eb6f(0x2b4)],'type':_0x37950b,'changeset':_0x30a3b8(_0x3f07e0)},_0x2acfa7=this[_0x34eb6f(0x3aa)][_0x34eb6f(0x561)](pr),_0x165fb0=this[_0x34eb6f(0x3aa)][_0x34eb6f(0x561)](ie),_0x160b5b=Or((_0xab433f=(_0x494a33=_0x165fb0==null?void 0x0:_0x165fb0[_0x34eb6f(0x2ee)])!=null?_0x494a33:_0x2acfa7)!=null?_0xab433f:gr,_0x37950b,_0x4cadad);try{await this['_http'][_0x34eb6f(0x320)](_0x160b5b,{'body':_0xdf9804});}catch(_0x36c522){throw this[_0x34eb6f(0x318)]['error'](_0x34eb6f(0x4a5),_0x34eb6f(0x32f)),_0x36c522;}}async[_0x241173(0x486)](_0x2f3baf){const _0x572cd5=_0x241173,{unitID:_0x1ceef1,from:_0x569ce8,to:_0x1eb8b3,unitType:_0xffc44e}=_0x2f3baf[_0x572cd5(0x498)];return(await this[_0x572cd5(0x510)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1ceef1,'type':_0xffc44e,'from':_0x569ce8,'to':_0x1eb8b3}))[_0x572cd5(0x5a3)];}};Qt=yr([qe(0x0,_0x1596c5(_0x1eb63d)),qe(0x1,_0x1596c5(_0x30b9d6)),qe(0x2,_0x13e361),qe(0x3,_0x265e7a),qe(0x4,_0x52861)],Qt);const wr=_0x241173(0x430);function Dr(_0x50ade5){return JSON['stringify'](_0x50ade5)['length'];}class Oi{constructor(){const _0x15d844=_0x241173;g(this,_0x15d844(0x3b8),new _0x49f7d1()),g(this,_0x15d844(0x2db),this['_commentUpdate$']['asObservable']());}[_0x241173(0x45b)](_0x190d99){const _0x53dad8=_0x241173;this[_0x53dad8(0x3b8)][_0x53dad8(0x5b0)](_0x190d99);}}var Pr=Object[_0x241173(0x387)],Ur=Object['getOwnPropertyDescriptor'],Nr=(_0x5d52a3,_0x187967,_0x4432c8,_0x35bb55)=>{const _0x12f211=_0x241173;for(var _0x4afc83=_0x35bb55>0x1?void 0x0:_0x35bb55?Ur(_0x187967,_0x4432c8):_0x187967,_0x15b6c5=_0x5d52a3[_0x12f211(0x32c)]-0x1,_0x2ceb26;_0x15b6c5>=0x0;_0x15b6c5--)(_0x2ceb26=_0x5d52a3[_0x15b6c5])&&(_0x4afc83=(_0x35bb55?_0x2ceb26(_0x187967,_0x4432c8,_0x4afc83):_0x2ceb26(_0x4afc83))||_0x4afc83);return _0x35bb55&&_0x4afc83&&Pr(_0x187967,_0x4432c8,_0x4afc83),_0x4afc83;},$s=(_0x2726be,_0x1371e7)=>(_0x44cd9f,_0x35bea1)=>_0x1371e7(_0x44cd9f,_0x35bea1,_0x2726be);let Ne=class extends _0x59a5e6{constructor(_0x1f3040,_0x172e40){const _0x419d1b=_0x241173;super(),g(this,_0x419d1b(0x236),new Map()),(this['_univerInstanceService']=_0x1f3040,this[_0x419d1b(0x515)]=_0x172e40,this[_0x419d1b(0x210)](_0x5252a1(_0x2434f6(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1d0ba8['UNIVER_SHEET'])[_0x419d1b(0x391)](_0x47bd8a(_0x31c2fd=>_0x31c2fd[_0x419d1b(0x2d3)]())),this[_0x419d1b(0x518)][_0x419d1b(0x524)](_0x1d0ba8['UNIVER_DOC'])[_0x419d1b(0x391)](_0x47bd8a(_0x1c9394=>_0x1c9394['getUnitId']())),this['_univerInstanceService'][_0x419d1b(0x524)](_0x1d0ba8[_0x419d1b(0x435)])[_0x419d1b(0x391)](_0x47bd8a(_0x34fc66=>_0x34fc66[_0x419d1b(0x2d3)]())))['subscribe'](_0x29dbb2=>this['_removeRoom'](_0x29dbb2)))));}[_0x241173(0x3b9)](_0x28c370){this['_userManagerService']['setCurrentUser'](_0x28c370);}['getCurrentUser'](){const _0x34a45d=_0x241173;return this[_0x34a45d(0x515)][_0x34a45d(0x1f1)]();}['updateMember'](_0xab9a44,_0x2752cb){const _0xa11f15=_0x241173;let _0x3c97a1=this['_roomMembers'][_0xa11f15(0x241)](_0xab9a44);_0x3c97a1||(_0x3c97a1=new Ar(),this[_0xa11f15(0x236)][_0xa11f15(0x4e4)](_0xab9a44,_0x3c97a1)),_0x3c97a1[_0xa11f15(0x1d0)](_0x2752cb);}[_0x241173(0x3f0)](_0x1ccb4e,_0x135078){const _0x366533=_0x241173,_0x10a682=this[_0x366533(0x236)]['get'](_0x1ccb4e);_0x10a682&&_0x10a682[_0x366533(0x3f0)](_0x135078);}[_0x241173(0x520)](_0x15542a){const _0x1744cf=_0x241173;return this[_0x1744cf(0x236)][_0x1744cf(0x241)](_0x15542a);}['getMember'](_0x160cf6,_0x13750a){const _0x1d104c=_0x241173,_0x1e41b4=this[_0x1d104c(0x236)]['get'](_0x160cf6);if(_0x1e41b4)return _0x1e41b4[_0x1d104c(0x3b1)](_0x13750a);}['_removeRoom'](_0xa8cc8f){const _0x1b0c8e=_0x241173,_0x55d9dc=this[_0x1b0c8e(0x236)][_0x1b0c8e(0x241)](_0xa8cc8f);_0x55d9dc&&(_0x55d9dc['dispose'](),this[_0x1b0c8e(0x236)][_0x1b0c8e(0x2d7)](_0xa8cc8f));}['dispose'](){const _0x2df598=_0x241173;this[_0x2df598(0x236)][_0x2df598(0x2e5)](_0xf69c1d=>_0xf69c1d[_0x2df598(0x58a)]()),this['_roomMembers'][_0x2df598(0x4a9)]();}};Ne=Nr([$s(0x0,_0xb0f939),$s(0x1,_0x1596c5(_0x98656f))],Ne);class Ar extends _0x59a5e6{constructor(){const _0x56f5ee=_0x241173;super(...arguments),g(this,_0x56f5ee(0x536),new Map());}[_0x241173(0x58a)](){const _0x732487=_0x241173;this[_0x732487(0x536)][_0x732487(0x4a9)]();}['updateMember'](_0x316328){const _0x458811=_0x241173;this[_0x458811(0x536)][_0x458811(0x4e4)](_0x316328[_0x458811(0x2b4)],_0x316328);}[_0x241173(0x3f0)](_0x1e5d88){const _0x65407c=_0x241173;this[_0x65407c(0x536)][_0x65407c(0x2d7)](_0x1e5d88);}[_0x241173(0x3b1)](_0x1aa886){const _0x28c56c=_0x241173;return this[_0x28c56c(0x536)][_0x28c56c(0x241)](_0x1aa886);}['getAllMembers'](){const _0x46fdf7=_0x241173;return Array[_0x46fdf7(0x3f8)](this[_0x46fdf7(0x536)][_0x46fdf7(0x571)]());}}var Mr=Object['defineProperty'],xr=Object[_0x241173(0x2fb)],Lr=(_0x2cda23,_0x4cccf3,_0x121e91,_0x4d9a2d)=>{const _0x37f4b2=_0x241173;for(var _0x4e74cc=_0x4d9a2d>0x1?void 0x0:_0x4d9a2d?xr(_0x4cccf3,_0x121e91):_0x4cccf3,_0x3872d0=_0x2cda23[_0x37f4b2(0x32c)]-0x1,_0x5291cf;_0x3872d0>=0x0;_0x3872d0--)(_0x5291cf=_0x2cda23[_0x3872d0])&&(_0x4e74cc=(_0x4d9a2d?_0x5291cf(_0x4cccf3,_0x121e91,_0x4e74cc):_0x5291cf(_0x4e74cc))||_0x4e74cc);return _0x4d9a2d&&_0x4e74cc&&Mr(_0x4cccf3,_0x121e91,_0x4e74cc),_0x4e74cc;},Ee=(_0x42bcab,_0x11d1ad)=>(_0x5bb1ee,_0x7910f9)=>_0x11d1ad(_0x5bb1ee,_0x7910f9,_0x42bcab),ve=(_0x1363f6=>(_0x1363f6[_0x1363f6[_0x241173(0x202)]=0x0]='IDLE',_0x1363f6[_0x1363f6['JOINING']=0x1]=_0x241173(0x5a8),_0x1363f6[_0x1363f6[_0x241173(0x1d6)]=0x2]='OFFLINE',_0x1363f6[_0x1363f6[_0x241173(0x521)]=0x3]=_0x241173(0x521),_0x1363f6))(ve||{});let es=class extends _0x388f6d{constructor(_0x3ee4be,_0x487535,_0x255f82,_0x3c6691,_0x8704af,_0x426542,_0x3f45e8,_0x42cfbc,_0x190ff7,_0x52e0ad){const _0x1b5f17=_0x241173;super(),g(this,'_sessionStatus$',new _0x76ce31(0x0)),g(this,'sessionStatus$',this[_0x1b5f17(0x434)]['asObservable']()),g(this,_0x1b5f17(0x2da),new _0x49f7d1()),g(this,_0x1b5f17(0x2cb),this[_0x1b5f17(0x2da)]['asObservable']()),g(this,_0x1b5f17(0x388)),g(this,'_socketMessageSubscription'),g(this,_0x1b5f17(0x1f8)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0x1b5f17(0x26e)]=_0x3ee4be,this[_0x1b5f17(0x318)]=_0x255f82,this['_beforeCloseService']=_0x3c6691,this[_0x1b5f17(0x53a)]=_0x8704af,this[_0x1b5f17(0x3aa)]=_0x426542,this['_localeService']=_0x3f45e8,this[_0x1b5f17(0x281)]=_0x42cfbc,this[_0x1b5f17(0x45e)]=_0x190ff7,this[_0x1b5f17(0x36b)]=_0x52e0ad,this[_0x1b5f17(0x2e9)]=!!this[_0x1b5f17(0x36b)],_0x487535[_0x1b5f17(0x391)](_0x52fe01(this[_0x1b5f17(0x448)]))['subscribe'](_0x20f2be=>{const _0x5b52fb=_0x1b5f17;var _0xb05a45;typeof _0x20f2be>'u'||(this[_0x5b52fb(0x388)]=_0x20f2be,_0x20f2be?(this['_joinRoom'](_0x20f2be),this[_0x5b52fb(0x1c5)]=_0x20f2be['message$'][_0x5b52fb(0x31f)](_0x402aab=>{const _0x712d9a=_0x5b52fb;_0x402aab['routeKey']===this[_0x712d9a(0x26e)]&&this[_0x712d9a(0x1d2)](_0x402aab);})):(this[_0x5b52fb(0x5b6)](),this[_0x5b52fb(0x434)]['next'](0x2),(_0xb05a45=this[_0x5b52fb(0x1c5)])==null||_0xb05a45[_0x5b52fb(0x4e0)](),this[_0x5b52fb(0x1c5)]=null));}),this[_0x1b5f17(0x210)](this['_beforeCloseService'][_0x1b5f17(0x239)](()=>{const _0x331427=_0x1b5f17;var _0x46727;(_0x46727=this[_0x331427(0x388)])==null||_0x46727[_0x331427(0x36e)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x331427(0x26e)]}});})));}get[_0x241173(0x5c8)](){const _0x47257b=_0x241173;return this[_0x47257b(0x434)][_0x47257b(0x28f)]();}[_0x241173(0x425)](){const _0x552bca=_0x241173;var _0x15ba32,_0x4d8fe8;return(_0x4d8fe8=(_0x15ba32=this[_0x552bca(0x388)])==null?void 0x0:_0x15ba32[_0x552bca(0x2b4)])!=null?_0x4d8fe8:null;}[_0x241173(0x58a)](){const _0x27b240=_0x241173;super['dispose'](),this[_0x27b240(0x448)][_0x27b240(0x5b0)](),this['dispose$']['complete']();}[_0x241173(0x386)](){const _0x6a01f1=_0x241173;var _0x48b003,_0x34f49c;this[_0x6a01f1(0x5b6)](),(_0x48b003=this[_0x6a01f1(0x388)])==null||_0x48b003[_0x6a01f1(0x36e)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x6a01f1(0x26e)]}}),(_0x34f49c=this[_0x6a01f1(0x388)])==null||_0x34f49c[_0x6a01f1(0x386)](),this['_event$'][_0x6a01f1(0x54a)](),this['_sessionStatus$'][_0x6a01f1(0x54a)](),this[_0x6a01f1(0x58a)]();}['_onCombEvent'](_0x56c2bf){const _0x18db4f=_0x241173;_0x56c2bf[_0x18db4f(0x364)]===W['JOIN']?this[_0x18db4f(0x4f1)](_0x56c2bf):_0x56c2bf[_0x18db4f(0x364)]===W[_0x18db4f(0x4e2)]&&this[_0x18db4f(0x235)](_0x56c2bf);}['_joinRoom'](_0x1085f4){const _0x10f69b=_0x241173;this['_sessionStatus$'][_0x10f69b(0x5b0)](0x1),_0x1085f4['send']({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0xe59dc8){const _0x173d0a=_0x241173;var _0x432128;if(_0xe59dc8[_0x173d0a(0x464)]===Ss[_0x173d0a(0x4dc)]){this[_0x173d0a(0x53a)][_0x173d0a(0x348)]({'type':_0x2b3cbc['Warning'],'content':this[_0x173d0a(0x30a)]['t'](_0x173d0a(0x56c))}),this[_0x173d0a(0x434)][_0x173d0a(0x5b0)](0x2);return;}this[_0x173d0a(0x434)][_0x173d0a(0x5b0)](0x3);const _0x7ea4ce=(_0x432128=_0xe59dc8[_0x173d0a(0x498)][_0x173d0a(0x4b6)][this[_0x173d0a(0x26e)]])==null?void 0x0:_0x432128[_0x173d0a(0x25c)];_0x7ea4ce&&_0x7ea4ce['forEach'](_0x3b261f=>this['_memberService'][_0x173d0a(0x1d0)](this[_0x173d0a(0x26e)],_0x3b261f));}['_onRecvEvent'](_0x2a241b){const _0x5ab060=_0x241173;try{const _0x1558a5=_0x2a241b['data'];switch(_0x1558a5['eventID']){case _0x4ac452[_0x5ab060(0x50e)]:this[_0x5ab060(0x457)](_0x1558a5),this['_event$'][_0x5ab060(0x5b0)](_0x1558a5);break;case _0x4ac452[_0x5ab060(0x436)]:this[_0x5ab060(0x4fd)](_0x1558a5),this[_0x5ab060(0x2da)][_0x5ab060(0x5b0)](_0x1558a5);break;case _0x4ac452['CHANGESET_ACK']:case _0x4ac452[_0x5ab060(0x3ab)]:this[_0x5ab060(0x2c9)](),this[_0x5ab060(0x36a)](),this[_0x5ab060(0x2da)][_0x5ab060(0x5b0)](_0x1558a5);break;case _0x4ac452[_0x5ab060(0x480)]:this['_logService'][_0x5ab060(0x4e3)](_0x5ab060(0x538)+JSON[_0x5ab060(0x4aa)](_0x1558a5)),this['_event$']['next'](_0x1558a5);break;case _0x4ac452[_0x5ab060(0x475)]:this['_commentService'][_0x5ab060(0x45b)](_0x1558a5[_0x5ab060(0x498)]),this['_event$'][_0x5ab060(0x5b0)](_0x1558a5);break;default:this[_0x5ab060(0x2da)][_0x5ab060(0x5b0)](_0x1558a5);}}catch(_0x54dfbf){this[_0x5ab060(0x318)][_0x5ab060(0x4e3)](_0x54dfbf,_0x2a241b);}}[_0x241173(0x457)](_0x4e85e0){const _0x58f4a8=_0x241173;this[_0x58f4a8(0x281)][_0x58f4a8(0x1d0)](this[_0x58f4a8(0x26e)],_0x4e85e0['data']);}['_onUserLeave'](_0x38aab6){const _0x58dfa8=_0x241173;this[_0x58dfa8(0x281)]['removeMember'](this[_0x58dfa8(0x26e)],_0x38aab6[_0x58dfa8(0x498)][_0x58dfa8(0x2b4)]);}async[_0x241173(0x36e)](_0x30b66f,_0x53703f){const _0x2d5573=_0x241173;if(this[_0x2d5573(0x5c8)]!==0x3||!this[_0x2d5573(0x388)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x30b66f[_0x2d5573(0x4df)]===_0x4ac452[_0x2d5573(0x530)]&&(this[_0x2d5573(0x4fa)](),this['_startTelemetryCollaborationNewChangeset'](_0x30b66f)),this[_0x2d5573(0x388)][_0x2d5573(0x36e)]({'cmd':W['INGEST'],'routeKey':_0x53703f,'routeType':'','data':_0x30b66f});}catch(_0x5c08b3){this['_logService'][_0x2d5573(0x4e3)](_0x5c08b3);}}['_scheduleCollaborationTimeoutTimer'](){const _0x1e8ce2=_0x241173;var _0x2b62f4;this[_0x1e8ce2(0x1f8)]=window['setTimeout'](()=>{const _0x440193=_0x1e8ce2;this['_collaborationTimeoutTimer']=null,this[_0x440193(0x53a)][_0x440193(0x348)]({'type':_0x2b3cbc['Error'],'content':this[_0x440193(0x30a)]['t'](_0x440193(0x59d))});},(_0x2b62f4=this[_0x1e8ce2(0x3aa)][_0x1e8ce2(0x561)](Ei))!=null?_0x2b62f4:bi);}['_clearCollaborationTimeoutTimer'](){const _0x535ef9=_0x241173;this[_0x535ef9(0x1f8)]&&(clearTimeout(this[_0x535ef9(0x1f8)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x31d56c){const _0x3f3e2d=_0x241173;if(!this['_shouldReportTelemetry'])return;const {data:_0x3018ee}=_0x31d56c,{unitID:_0x1dd10c,changeset:_0x152309}=_0x3018ee,{mutations:_0x252274,type:_0x28f672}=_0x152309;this['_telemetryInfo']={'unitId':_0x1dd10c,'type':_0x28f672,'startTime':performance[_0x3f3e2d(0x208)](),'stopTime':0x0,'duration':0x0,'size':Dr(_0x252274)};}[_0x241173(0x2c9)](){const _0x4a50c5=_0x241173;if(this[_0x4a50c5(0x2e9)]){if(!this[_0x4a50c5(0x3de)]){this[_0x4a50c5(0x318)][_0x4a50c5(0x4e3)](_0x4a50c5(0x4a5),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x4a50c5(0x2ad)]=performance[_0x4a50c5(0x208)](),this[_0x4a50c5(0x3de)][_0x4a50c5(0x397)]=this['_telemetryInfo']['stopTime']-this[_0x4a50c5(0x3de)]['startTime'],this['_telemetryService'][_0x4a50c5(0x4ab)](wr,this[_0x4a50c5(0x3de)]),this['_telemetryInfo']=null;}}[_0x241173(0x5b6)](){const _0x43805e=_0x241173;this[_0x43805e(0x3de)]=null;}};es=Lr([Ee(0x2,_0x265e7a),Ee(0x3,_0x13e741),Ee(0x4,_0x3ed87c),Ee(0x5,_0x13e361),Ee(0x6,_0x1596c5(_0x48c62d)),Ee(0x7,_0x1596c5(Ne)),Ee(0x8,_0x1596c5(Oi)),Ee(0x9,_0x164486(_0x21de45))],es);var $r=Object[_0x241173(0x387)],Hr=Object[_0x241173(0x2fb)],jr=(_0xeaa9f,_0x3a6e54,_0x67c979,_0x3ca9fb)=>{const _0x16d3bc=_0x241173;for(var _0x2dba09=_0x3ca9fb>0x1?void 0x0:_0x3ca9fb?Hr(_0x3a6e54,_0x67c979):_0x3a6e54,_0xb3a38a=_0xeaa9f[_0x16d3bc(0x32c)]-0x1,_0x5dc598;_0xb3a38a>=0x0;_0xb3a38a--)(_0x5dc598=_0xeaa9f[_0xb3a38a])&&(_0x2dba09=(_0x3ca9fb?_0x5dc598(_0x3a6e54,_0x67c979,_0x2dba09):_0x5dc598(_0x2dba09))||_0x2dba09);return _0x3ca9fb&&_0x2dba09&&$r(_0x3a6e54,_0x67c979,_0x2dba09),_0x2dba09;},je=(_0x90b0a0,_0x37f00d)=>(_0x13c812,_0x352ceb)=>_0x37f00d(_0x13c812,_0x352ceb,_0x90b0a0);let Ae=class extends _0x59a5e6{constructor(_0x230969,_0x2f0761,_0x3eb247,_0x474b77,_0x5b8490,_0x172355){const _0x117684=_0x241173;super(),g(this,_0x117684(0x509),new _0x76ce31(void 0x0)),g(this,'socket$',this[_0x117684(0x509)][_0x117684(0x1d7)]()),g(this,'_candidateSocket',null),g(this,'_sessions',new Map()),g(this,_0x117684(0x3da),new _0x76ce31(ve[_0x117684(0x202)])),g(this,_0x117684(0x4d3),this[_0x117684(0x3da)][_0x117684(0x1d7)]()),g(this,_0x117684(0x440),!0x1),g(this,'_retryConnectingTimer'),g(this,'_retryCount',0x0),g(this,_0x117684(0x5c9)),g(this,_0x117684(0x417)),(this['_injector']=_0x230969,this[_0x117684(0x30a)]=_0x2f0761,this['_messageService']=_0x3eb247,this['_logService']=_0x474b77,this[_0x117684(0x3aa)]=_0x5b8490,this[_0x117684(0x59a)]=_0x172355,this['_initEventListeners']());}get['_socket'](){return this['_socket$']['getValue']();}[_0x241173(0x52b)](){const _0x11ac2d=_0x241173;this[_0x11ac2d(0x4da)](),this['_listenToOnlineEvent']();}[_0x241173(0x58a)](){const _0x875d66=_0x241173;super[_0x875d66(0x58a)](),this[_0x875d66(0x334)][_0x875d66(0x2e5)](_0x41d4ac=>_0x41d4ac[_0x875d66(0x58a)]()),this[_0x875d66(0x334)][_0x875d66(0x4a9)](),this[_0x875d66(0x3da)][_0x875d66(0x54a)]();}async[_0x241173(0x34b)](_0x19f62b){const _0x1908fe=_0x241173;if(this['_sessions'][_0x1908fe(0x5be)](_0x19f62b))return this[_0x1908fe(0x334)][_0x1908fe(0x241)](_0x19f62b);this[_0x1908fe(0x4ca)]();const _0x4aaef3=this[_0x1908fe(0x414)]['createInstance'](es,_0x19f62b,this[_0x1908fe(0x509)][_0x1908fe(0x1d7)]());return this[_0x1908fe(0x334)]['set'](_0x19f62b,_0x4aaef3),_0x4aaef3;}[_0x241173(0x1fb)](_0x1d9b46){const _0x14eccc=_0x241173;var _0x511484;const _0x2c56a3=this[_0x14eccc(0x334)][_0x14eccc(0x241)](_0x1d9b46);_0x2c56a3&&(this[_0x14eccc(0x334)][_0x14eccc(0x2d7)](_0x1d9b46),_0x2c56a3[_0x14eccc(0x386)]()),this[_0x14eccc(0x334)][_0x14eccc(0x599)]||(_0x511484=this[_0x14eccc(0x388)])==null||_0x511484[_0x14eccc(0x386)]();}[_0x241173(0x259)](){const _0xb42c31=_0x241173;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xb42c31(0x409)]),this[_0xb42c31(0x409)]=null),this[_0xb42c31(0x52d)]();}[_0x241173(0x3bd)](){const _0x1df32e=_0x241173;var _0x27b69b,_0x5c11e3;const _0x6245e3=this[_0x1df32e(0x3aa)]['getConfig'](cr),_0x37a1a8=this[_0x1df32e(0x3aa)][_0x1df32e(0x561)](ie),_0x11eea2=(_0x5c11e3=(_0x27b69b=_0x37a1a8==null?void 0x0:_0x37a1a8[_0x1df32e(0x22b)])!=null?_0x27b69b:_0x6245e3)!=null?_0x5c11e3:hr,_0x61b1d3=this[_0x1df32e(0x59a)][_0x1df32e(0x562)](_0x11eea2);return this[_0x1df32e(0x525)]=_0x61b1d3,_0x61b1d3;}[_0x241173(0x4ca)](){const _0x301eb4=_0x241173;var _0xe03a72,_0x2bb3d5;try{const _0x1221eb=(_0x2bb3d5=(_0xe03a72=this[_0x301eb4(0x388)])!=null?_0xe03a72:this[_0x301eb4(0x525)])!=null?_0x2bb3d5:this[_0x301eb4(0x3bd)]();if(_0x1221eb){const _0xe91294=_0x1221eb[_0x301eb4(0x36e)];_0x1221eb['send']=_0xa9f912=>(this['_rescheduleHeartbeat'](),_0xe91294[_0x301eb4(0x34a)](_0x1221eb,[_0xa9f912])),_0x1221eb[_0x301eb4(0x5a7)][_0x301eb4(0x31f)](_0x37b5ca=>this[_0x301eb4(0x500)](_0x1221eb,_0x37b5ca)),_0x1221eb[_0x301eb4(0x285)][_0x301eb4(0x391)](_0x33b7ed(0x1))['subscribe'](_0x449390=>this[_0x301eb4(0x318)][_0x301eb4(0x4e3)](_0x301eb4(0x4f8),_0x449390)),_0x1221eb['open$'][_0x301eb4(0x391)](_0x33b7ed(0x1))['subscribe'](()=>{const _0x518e8d=_0x301eb4;this[_0x518e8d(0x3ed)](_0x1221eb);}),_0x1221eb[_0x301eb4(0x2c6)]['pipe'](_0x33b7ed(0x1))[_0x301eb4(0x31f)](_0x4cea13=>{const _0x58811e=_0x301eb4;this[_0x58811e(0x318)]['debug']('[CollaborationSessionService]',_0x58811e(0x3a5),_0x4cea13),this['_onConnectionFailed']();});}}catch(_0x47e17f){this[_0x301eb4(0x318)][_0x301eb4(0x4e3)](_0x47e17f),this[_0x301eb4(0x39a)]();}}[_0x241173(0x3ed)](_0x1b9595){const _0xd2dc6d=_0x241173;this['_logService']['debug']('[CollaborationSessionService]',_0xd2dc6d(0x355)),_0x1b9595[_0xd2dc6d(0x36e)]({'cmd':W[_0xd2dc6d(0x251)]}),this[_0xd2dc6d(0x3a0)]();}[_0x241173(0x4da)](){const _0x461230=_0x241173;window['addEventListener'](_0x461230(0x1ed),()=>this[_0x461230(0x37d)]());}['_onOffline'](){const _0x48cba0=_0x241173;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x48cba0(0x3da)]['next'](ve[_0x48cba0(0x1d6)]),this[_0x48cba0(0x509)][_0x48cba0(0x5b0)](null),this['_clearTimeoutTimer'](),this[_0x48cba0(0x3df)]();}['_onConnectionFailed'](){const _0x4cfd36=_0x241173;var _0x1294cb;this[_0x4cfd36(0x37d)](),this[_0x4cfd36(0x373)]<((_0x1294cb=this[_0x4cfd36(0x3aa)][_0x4cfd36(0x561)](dr))!=null?_0x1294cb:fr)?(this[_0x4cfd36(0x53a)][_0x4cfd36(0x348)]({'key':_0x4cfd36(0x3fe),'type':_0x2b3cbc[_0x4cfd36(0x469)],'content':this[_0x4cfd36(0x30a)]['t'](_0x4cfd36(0x1f9))}),this[_0x4cfd36(0x52d)]()):this[_0x4cfd36(0x53a)][_0x4cfd36(0x348)]({'key':_0x4cfd36(0x3fe),'type':_0x2b3cbc['Error'],'content':this['_localeService']['t'](_0x4cfd36(0x230))});}[_0x241173(0x21d)](){const _0x2faf6a=_0x241173,_0x446116=()=>{const _0x144ce3=_0x10c7;this[_0x144ce3(0x388)]||this['reconnect']();},_0x55b7f6=()=>{const _0x4701cf=_0x10c7;this['_socket']||document[_0x4701cf(0x5cf)]===_0x4701cf(0x40e)||this[_0x4701cf(0x259)]();};window[_0x2faf6a(0x471)](_0x2faf6a(0x5c2),_0x446116),document[_0x2faf6a(0x471)](_0x2faf6a(0x1c8),_0x55b7f6);}['_tryReconnect'](){const _0x27226c=_0x241173;var _0x329c21;const _0x3e7620=this[_0x27226c(0x373)],_0xfa2098=this[_0x27226c(0x3aa)]['getConfig'](ie),_0x4de5a4=_0x3e7620===0x0?0x0:((_0x329c21=_0xfa2098==null?void 0x0:_0xfa2098[_0x27226c(0x357)])!=null?_0x329c21:ur)*0x2**_0x3e7620;this['_retryConnectingTimer']=window[_0x27226c(0x2ea)](()=>{const _0x22bd3a=_0x27226c;clearTimeout(this[_0x22bd3a(0x409)]),this[_0x22bd3a(0x409)]=null,this[_0x22bd3a(0x4ca)]();},_0x4de5a4),this[_0x27226c(0x373)]+=0x1;}[_0x241173(0x500)](_0x2921eb,_0x591fd0){const _0x424d54=_0x241173,{cmd:_0x207d30}=_0x591fd0;_0x207d30===W[_0x424d54(0x251)]&&!this[_0x424d54(0x440)]&&(_0x2921eb[_0x424d54(0x2b4)]=_0x591fd0[_0x424d54(0x498)][_0x424d54(0x2b4)],this[_0x424d54(0x509)][_0x424d54(0x5b0)](_0x2921eb),this[_0x424d54(0x3da)][_0x424d54(0x5b0)](ve['ONLINE']),this['_socketReady']=!0x0,this[_0x424d54(0x525)]=null),_0x207d30===W[_0x424d54(0x36d)]&&this[_0x424d54(0x413)](),this[_0x424d54(0x3a0)]();}[_0x241173(0x3a0)](){const _0x1713d9=_0x241173;var _0x59719b;this['_clearHeartbeatTimer'](),this[_0x1713d9(0x5c9)]=window[_0x1713d9(0x2ea)](()=>this['_sendHeartbeat'](),(_0x59719b=this['_configService']['getConfig'](lr))!=null?_0x59719b:_r);}[_0x241173(0x2b3)](){const _0x1beb02=_0x241173;this[_0x1beb02(0x388)][_0x1beb02(0x36e)]({'cmd':W[_0x1beb02(0x36d)]}),this[_0x1beb02(0x2ef)]();}[_0x241173(0x2ef)](){const _0x3f8639=_0x241173;var _0x70ab97;this['_timeoutTimer']=window[_0x3f8639(0x2ea)](()=>this[_0x3f8639(0x39a)](),(_0x70ab97=this[_0x3f8639(0x3aa)][_0x3f8639(0x561)](Ei))!=null?_0x70ab97:bi);}[_0x241173(0x3df)](){const _0x44dccc=_0x241173;this[_0x44dccc(0x5c9)]!=null&&(clearTimeout(this[_0x44dccc(0x5c9)]),this[_0x44dccc(0x5c9)]=null);}[_0x241173(0x413)](){const _0x46fe64=_0x241173;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x46fe64(0x417)]),this[_0x46fe64(0x417)]=null);}};Ae=jr([je(0x0,_0x1596c5(_0x59d577)),je(0x1,_0x1596c5(_0x48c62d)),je(0x2,_0x3ed87c),je(0x3,_0x265e7a),je(0x4,_0x13e361),je(0x5,yi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x241173(0x42a)]((i+0x100)[_0x241173(0x447)](0x10)['slice'](0x1));function Br(_0x27e96e,_0x2f9fae=0x0){return(Y[_0x27e96e[_0x2f9fae+0x0]]+Y[_0x27e96e[_0x2f9fae+0x1]]+Y[_0x27e96e[_0x2f9fae+0x2]]+Y[_0x27e96e[_0x2f9fae+0x3]]+'-'+Y[_0x27e96e[_0x2f9fae+0x4]]+Y[_0x27e96e[_0x2f9fae+0x5]]+'-'+Y[_0x27e96e[_0x2f9fae+0x6]]+Y[_0x27e96e[_0x2f9fae+0x7]]+'-'+Y[_0x27e96e[_0x2f9fae+0x8]]+Y[_0x27e96e[_0x2f9fae+0x9]]+'-'+Y[_0x27e96e[_0x2f9fae+0xa]]+Y[_0x27e96e[_0x2f9fae+0xb]]+Y[_0x27e96e[_0x2f9fae+0xc]]+Y[_0x27e96e[_0x2f9fae+0xd]]+Y[_0x27e96e[_0x2f9fae+0xe]]+Y[_0x27e96e[_0x2f9fae+0xf]])['toLowerCase']();}let Ut;const kr=new Uint8Array(0x10);function Wr(){const _0x362fa9=_0x241173;if(!Ut){if(typeof crypto>'u'||!crypto[_0x362fa9(0x2a7)])throw new Error(_0x362fa9(0x456));Ut=crypto['getRandomValues'][_0x362fa9(0x4bd)](crypto);}return Ut(kr);}const Fr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x241173(0x4c9)]['bind'](crypto),Hs={'randomUUID':Fr};function Vr(_0x153cae,_0x1248e0,_0x4622da){const _0xdc578c=_0x241173;if(Hs['randomUUID']&&!_0x1248e0&&!_0x153cae)return Hs[_0xdc578c(0x4c9)]();_0x153cae=_0x153cae||{};const _0x40899b=_0x153cae[_0xdc578c(0x57a)]||(_0x153cae['rng']||Wr)();return _0x40899b[0x6]=_0x40899b[0x6]&0xf|0x40,_0x40899b[0x8]=_0x40899b[0x8]&0x3f|0x80,Br(_0x40899b);}var Gr=Object[_0x241173(0x387)],Yr=Object[_0x241173(0x2fb)],Kr=(_0x172235,_0x4bc4d1,_0x1a4489,_0x2fb960)=>{const _0x413750=_0x241173;for(var _0x396ffe=_0x2fb960>0x1?void 0x0:_0x2fb960?Yr(_0x4bc4d1,_0x1a4489):_0x4bc4d1,_0x30c3cb=_0x172235[_0x413750(0x32c)]-0x1,_0xc8447a;_0x30c3cb>=0x0;_0x30c3cb--)(_0xc8447a=_0x172235[_0x30c3cb])&&(_0x396ffe=(_0x2fb960?_0xc8447a(_0x4bc4d1,_0x1a4489,_0x396ffe):_0xc8447a(_0x396ffe))||_0x396ffe);return _0x2fb960&&_0x396ffe&&Gr(_0x4bc4d1,_0x1a4489,_0x396ffe),_0x396ffe;},Nt=(_0x1389ed,_0x29e1fd)=>(_0x8691ca,_0x3f909d)=>_0x29e1fd(_0x8691ca,_0x3f909d,_0x1389ed);let ft=class{constructor(_0x2f598c,_0x23b3ff,_0x195dcc){const _0x248eb1=_0x241173;this[_0x248eb1(0x414)]=_0x2f598c,this[_0x248eb1(0x39d)]=_0x23b3ff,this[_0x248eb1(0x41a)]=_0x195dcc;}['transformIMECache'](_0x324b7d){const _0x3937a3=_0x241173;this[_0x3937a3(0x4f4)](_0x324b7d),this[_0x3937a3(0x392)](_0x324b7d);}[_0x241173(0x31d)](_0x419c21){const _0x2e242a=_0x241173,{unitID:_0x4bb446}=_0x419c21,_0x25502f=this[_0x2e242a(0x41a)][_0x2e242a(0x4ac)](_0x4bb446)['with'](_0x510b38),{redoCache:_0x81050e}=_0x25502f['getUndoRedoMutationParamsCache']();if(_0x81050e[_0x2e242a(0x32c)]===0x0)return _0x419c21;let _0x2772c2=_0x55a7da[_0x2e242a(0x53f)](_0x419c21[_0x2e242a(0x3d0)][0x0]);for(let _0x429e22=0x0;_0x429e22<_0x81050e[_0x2e242a(0x32c)];_0x429e22++){const _0x3cf066={'id':_0x2e242a(0x5c7),'params':{..._0x81050e[_0x429e22]}},_0x496f40=this[_0x2e242a(0x39d)][_0x2e242a(0x3ca)](_0x2772c2,_0x3cf066,!0x1);if(_0x3ab926(_0x496f40))throw _0x496f40['error'];_0x2772c2=_0x496f40['m1Prime'];}return{..._0x55a7da['deepClone'](_0x419c21),'mutations':[_0x2772c2]};}[_0x241173(0x4f4)](_0x4754b3){const _0xd5ba9f=_0x241173,{unitID:_0x14f1ad}=_0x4754b3,_0xb2e590=this[_0xd5ba9f(0x41a)]['getRenderById'](_0x14f1ad)['with'](_0x510b38),{undoCache:_0x15fcb4,redoCache:_0x4ca3ae}=_0xb2e590[_0xd5ba9f(0x24d)]();if(_0x15fcb4['length']===0x0||_0x4ca3ae[_0xd5ba9f(0x32c)]===0x0)return;const _0x833069=[],_0x4b6293=[];let _0x129b52=_0x55a7da['deepClone'](_0x4754b3[_0xd5ba9f(0x3d0)][0x0]),_0x34fa0c=_0x55a7da[_0xd5ba9f(0x53f)](_0x4754b3[_0xd5ba9f(0x3d0)][0x0]);for(let _0x4cccf6=_0x15fcb4[_0xd5ba9f(0x32c)]-0x1;_0x4cccf6>=0x0;_0x4cccf6--){const _0x44bb5c={'id':'doc.mutation.rich-text-editing','params':{..._0x15fcb4[_0x4cccf6]}},_0x528b59={'id':'doc.mutation.rich-text-editing','params':{..._0x4ca3ae[_0x4cccf6]}},_0x351989=this[_0xd5ba9f(0x39d)][_0xd5ba9f(0x3ca)](_0x129b52,_0x44bb5c,!0x1),_0x3f26c2=this[_0xd5ba9f(0x39d)][_0xd5ba9f(0x3ca)](_0x34fa0c,_0x528b59,!0x1);if(_0x3ab926(_0x351989))throw _0x351989['error'];if(_0x3ab926(_0x3f26c2))throw _0x3f26c2[_0xd5ba9f(0x4e3)];_0x833069[_0xd5ba9f(0x1c3)](_0x351989[_0xd5ba9f(0x598)]['params']),_0x4b6293[_0xd5ba9f(0x1c3)](_0x3f26c2[_0xd5ba9f(0x598)]['params']),_0x129b52=_0x351989['m1Prime'],_0x34fa0c=_0x3f26c2[_0xd5ba9f(0x41c)];}_0xb2e590[_0xd5ba9f(0x4de)]({'undoCache':_0x833069,'redoCache':_0x4b6293});}[_0x241173(0x392)](_0x13c060){const _0x30159d=_0x241173,{unitID:_0xa86711}=_0x13c060,_0x2cd733=this[_0x30159d(0x41a)][_0x30159d(0x4ac)](_0xa86711)[_0x30159d(0x1d4)](_0x510b38),_0x2ea24a=_0x2cd733[_0x30159d(0x1ff)]();if(_0x2ea24a==null)return;const _0x2161ee=[{'id':_0x30159d(0x5c7),'params':{'unitId':_0x13c060['unitID'],'actions':null,'textRanges':[_0x2ea24a]}}],_0x2cb08b=this['_transformService']['transformMutationsWithChangeset'](_0x13c060,_0x2161ee);if(!_0x18198c(_0x2cb08b))throw _0x2cb08b[_0x30159d(0x4e3)];const _0x4c6fbb=_0x2cb08b[_0x30159d(0x598)][0x0][_0x30159d(0x2d5)]['textRanges'];Array['isArray'](_0x4c6fbb)&&_0x4c6fbb['length']&&_0x2cd733[_0x30159d(0x4e7)](_0x4c6fbb[0x0]);}};ft=Kr([Nt(0x0,_0x1596c5(_0x59d577)),Nt(0x1,_0x399263),Nt(0x2,_0x3c7872)],ft);var zr=Object[_0x241173(0x387)],qr=Object[_0x241173(0x2fb)],Xr=(_0x259881,_0x52b6bd,_0x4d45ec,_0x2b7428)=>{const _0x47d177=_0x241173;for(var _0x16fba1=_0x2b7428>0x1?void 0x0:_0x2b7428?qr(_0x52b6bd,_0x4d45ec):_0x52b6bd,_0x104c01=_0x259881[_0x47d177(0x32c)]-0x1,_0x4df978;_0x104c01>=0x0;_0x104c01--)(_0x4df978=_0x259881[_0x104c01])&&(_0x16fba1=(_0x2b7428?_0x4df978(_0x52b6bd,_0x4d45ec,_0x16fba1):_0x4df978(_0x16fba1))||_0x16fba1);return _0x2b7428&&_0x16fba1&&zr(_0x52b6bd,_0x4d45ec,_0x16fba1),_0x16fba1;},Xe=(_0x2f87ac,_0x2dbd61)=>(_0x435ed8,_0x3287f4)=>_0x2dbd61(_0x435ed8,_0x3287f4,_0x2f87ac);let q=class extends _0x59a5e6{constructor(_0x35a7ea,_0x19a94d,_0x168efe,_0x329b7b,_0x530e58){const _0x4ca562=_0x241173;super(),g(this,_0x4ca562(0x2f1),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x4ca562(0x263),!0x1),(this[_0x4ca562(0x3aa)]=_0x35a7ea,this[_0x4ca562(0x461)]=_0x19a94d,this[_0x4ca562(0x1c2)]=_0x168efe,this['_localeService']=_0x329b7b,this[_0x4ca562(0x44d)]=_0x530e58,this[_0x4ca562(0x581)]());}[_0x241173(0x5ad)](){const _0xcc42ea=_0x241173;this[_0xcc42ea(0x263)]=!0x0;}[_0x241173(0x449)](){const _0x2f6564=_0x241173;this[_0x2f6564(0x263)]=!0x1;}[_0x241173(0x58a)](){const _0x4deefe=_0x241173;this[_0x4deefe(0x2ac)]()['then'](()=>super[_0x4deefe(0x58a)]());}async[_0x241173(0x555)](_0x5bb5cd){const _0x1028d0=_0x241173;return this[_0x1028d0(0x263)]?null:this['_localStorageService'][_0x1028d0(0x1e7)](js(_0x5bb5cd));}async['saveOfflineData'](_0xf3be69,_0x59b0b1){const _0x3868bd=_0x241173;return!!this[_0x3868bd(0x461)][_0x3868bd(0x559)](_0xf3be69,_0x59b0b1);}[_0x241173(0x382)](_0x18e4b5,_0x2702c8,_0x145bd8,_0x4e7263){const _0x252eb9=_0x241173,_0x247763=this[_0x252eb9(0x44d)][_0x252eb9(0x4fe)](_0x18e4b5);this[_0x252eb9(0x2f1)][_0x252eb9(0x4e4)](_0x18e4b5,{'unitID':_0x18e4b5,'type':_0x2702c8,'awaitingChangeset':_0x145bd8,'mutations':_0x4e7263,'rev':_0x247763}),this[_0x252eb9(0x568)]['has'](_0x18e4b5)||this[_0x252eb9(0x279)](_0x18e4b5);}[_0x241173(0x279)](_0x5e7e7f){const _0x1280ae=_0x241173,_0x4c63c4=this[_0x1280ae(0x27d)]();_0x4c63c4===0x0?this[_0x1280ae(0x557)](_0x5e7e7f):this[_0x1280ae(0x568)][_0x1280ae(0x4e4)](_0x5e7e7f,setTimeout(()=>this['_saveCache'](_0x5e7e7f),_0x4c63c4));}[_0x241173(0x27d)](){const _0x352802=_0x241173;var _0x2c39a9;return(_0x2c39a9=this['_configService'][_0x352802(0x561)](vr))!=null?_0x2c39a9:mr;}[_0x241173(0x557)](_0xd9961c){const _0x3c68fe=_0x241173,_0x4d9056=this['_saveTaskMap'][_0x3c68fe(0x241)](_0xd9961c);return _0x4d9056!==void 0x0&&window[_0x3c68fe(0x240)](_0x4d9056),this['_localStorageService'][_0x3c68fe(0x559)](js(_0xd9961c),this['_cachedData'][_0x3c68fe(0x241)](_0xd9961c))['then'](()=>this[_0x3c68fe(0x568)][_0x3c68fe(0x2d7)](_0xd9961c));}async['exhaustSavingTask'](){const _0x12d2f8=_0x241173,_0x539b00=[];this[_0x12d2f8(0x568)][_0x12d2f8(0x2e5)]((_0x45addd,_0x1aef15)=>{const _0x397a25=_0x12d2f8;window[_0x397a25(0x240)](_0x45addd),_0x539b00[_0x397a25(0x42a)](this[_0x397a25(0x557)](_0x1aef15)['then'](()=>{const _0x4ed1f1=_0x397a25;this[_0x4ed1f1(0x568)][_0x4ed1f1(0x2d7)](_0x1aef15);}));}),await Promise[_0x12d2f8(0x3d5)](_0x539b00);}['_setupBeforeClosingHandler'](){const _0x10a82a=_0x241173;this['disposeWithMe'](this[_0x10a82a(0x1c2)][_0x10a82a(0x4c4)](()=>{const _0x11a176=_0x10a82a;if(this['_saveTaskMap'][_0x11a176(0x599)])return this[_0x11a176(0x30a)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Xr([Xe(0x0,_0x13e361),Xe(0x1,_0xeb8e97),Xe(0x2,_0x13e741),Xe(0x3,_0x1596c5(_0x48c62d)),Xe(0x4,_0x1596c5(_0x3fbb34))],q);function js(_0x11b1ff){const _0x58b725=_0x241173;return _0x58b725(0x565)+_0x11b1ff;}var Jr=Object[_0x241173(0x387)],Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x269cde,_0x3bd1a1,_0x365604,_0x454ecf)=>{const _0x1b6b39=_0x241173;for(var _0x35df4a=_0x454ecf>0x1?void 0x0:_0x454ecf?Zr(_0x3bd1a1,_0x365604):_0x3bd1a1,_0x5aabb5=_0x269cde[_0x1b6b39(0x32c)]-0x1,_0xe3ff16;_0x5aabb5>=0x0;_0x5aabb5--)(_0xe3ff16=_0x269cde[_0x5aabb5])&&(_0x35df4a=(_0x454ecf?_0xe3ff16(_0x3bd1a1,_0x365604,_0x35df4a):_0xe3ff16(_0x35df4a))||_0x35df4a);return _0x454ecf&&_0x35df4a&&Jr(_0x3bd1a1,_0x365604,_0x35df4a),_0x35df4a;},At=(_0x102bf2,_0x1228d1)=>(_0x54dac2,_0x47e4b6)=>_0x1228d1(_0x54dac2,_0x47e4b6,_0x102bf2);function eo(_0x23c49b){const {unitID:_0x5c2b96,mutations:_0x1b9d77}=_0x23c49b;return{'unitId':_0x5c2b96,'subUnitId':_0x1b9d77[0x0]['params']['subUnitId']};}let vt=class{constructor(_0x36c6aa,_0x4c0959,_0x2ae795){const _0x825f02=_0x241173;this[_0x825f02(0x414)]=_0x36c6aa,this[_0x825f02(0x39d)]=_0x4c0959,this[_0x825f02(0x533)]=_0x2ae795;}[_0x241173(0x554)](_0x4d0444){const _0x36444b=_0x241173;var _0x5c3b9e,_0x3821a8,_0x112754,_0x494ceb;const _0x230af8=this['_injector'][_0x36444b(0x241)](_0x1d5e06),{unitId:_0x28bc39,subUnitId:_0x1aa20d}=eo(_0x4d0444),_0x82a7d9=_0x230af8[_0x36444b(0x5c6)](_0x28bc39)[_0x36444b(0x52f)](),_0x56c39e=(_0x3821a8=(_0x5c3b9e=this[_0x36444b(0x533)][_0x36444b(0x1c7)](_0x28bc39))==null?void 0x0:_0x5c3b9e[_0x36444b(0x594)]())==null?void 0x0:_0x3821a8['getSheetId']();if(_0x82a7d9[_0x36444b(0x32c)]===0x0||!_0x28bc39||!_0x1aa20d)return;const _0x3c7d7d=[{'id':_0x28fc2c['id'],'params':{'unitId':_0x28bc39,'subUnitId':_0x56c39e,'selections':_0x55a7da['deepClone'](_0x82a7d9)}}],_0x402a08=this[_0x36444b(0x39d)]['transformMutationsWithChangeset'](_0x4d0444,_0x3c7d7d);if(!_0x18198c(_0x402a08))throw _0x402a08[_0x36444b(0x4e3)];const _0x544c82=(_0x494ceb=(_0x112754=_0x402a08['m2Prime'][0x0])==null?void 0x0:_0x112754[_0x36444b(0x2d5)])==null?void 0x0:_0x494ceb['selections'];if(Array[_0x36444b(0x4b3)](_0x544c82)&&_0x544c82['length']){if(_0x544c82[_0x36444b(0x32c)]===_0x3c7d7d[0x0][_0x36444b(0x2d5)]['selections'][_0x36444b(0x32c)]&&_0x544c82[_0x36444b(0x3a4)]((_0x196c75,_0xbc7543)=>_0x34664d['equals'](_0x196c75['range'],_0x3c7d7d[0x0][_0x36444b(0x2d5)][_0x36444b(0x2bc)][_0xbc7543][_0x36444b(0x218)])))return;this[_0x36444b(0x414)][_0x36444b(0x241)](_0x289e6f)['executeCommand'](_0x28fc2c['id'],{'unitId':_0x28bc39,'subUnitId':_0x56c39e,'selections':_0x544c82});}}};vt=Qr([At(0x0,_0x1596c5(_0x59d577)),At(0x1,_0x399263),At(0x2,_0xb0f939)],vt);const Rt=_0x917e2b(_0x241173(0x248));var wi=(_0x19bd9d=>(_0x19bd9d[_0x19bd9d[_0x241173(0x2aa)]=0x0]=_0x241173(0x2aa),_0x19bd9d[_0x19bd9d['OTHER_CLIENTS_EDITING']=0x1]=_0x241173(0x596),_0x19bd9d))(wi||{});const Bs=0x7530,ks=_0x241173(0x421);class to extends _0x59a5e6{constructor(){const _0x48138b=_0x241173;super(),g(this,_0x48138b(0x342),_0x55a7da['generateRandomId']()),g(this,_0x48138b(0x1ec),new Set()),g(this,_0x48138b(0x5cd),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x48138b(0x2cf),new Map()),g(this,_0x48138b(0x370),new Map()),this[_0x48138b(0x354)]();}[_0x241173(0x58a)](){const _0x1c1aed=_0x241173;super['dispose'](),this[_0x1c1aed(0x2cf)][_0x1c1aed(0x2e5)]((_0x422f41,_0x3874a2)=>this[_0x1c1aed(0x484)](_0x3874a2)),this[_0x1c1aed(0x3b6)]&&window['clearInterval'](this[_0x1c1aed(0x3b6)]);}[_0x241173(0x2e6)](_0x5c0641){const _0x48b0e6=_0x241173;return this[_0x48b0e6(0x44e)](_0x5c0641)[_0x48b0e6(0x391)](_0x541ef5());}['editingUnit'](_0x52e803){const _0x30a1f2=_0x241173;this[_0x30a1f2(0x1ec)][_0x30a1f2(0x599)]===0x0&&this[_0x30a1f2(0x572)](),this[_0x30a1f2(0x1ec)]['add'](_0x52e803),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x52e803],'isForwarded':!0x1});}[_0x241173(0x566)](_0x6d5dcc){const _0x21fd67=_0x241173;this[_0x21fd67(0x1ec)][_0x21fd67(0x2d7)](_0x6d5dcc),this[_0x21fd67(0x1ec)]['size']===0x0&&this[_0x21fd67(0x3b6)]&&window[_0x21fd67(0x508)](this['_heartbeatTimer']);}[_0x241173(0x354)](){const _0x3019c1=_0x241173;this[_0x3019c1(0x210)](_0x5252a1(_0x521190(window,_0x3019c1(0x33a))[_0x3019c1(0x31f)](_0x3141b3=>{const _0xefbcb7=_0x3019c1;if(_0x3141b3['key']!==ks||!_0x3141b3[_0xefbcb7(0x58c)])return;const _0x2a14f3=JSON[_0xefbcb7(0x527)](_0x3141b3[_0xefbcb7(0x58c)]);this['_handleEvent'](_0x2a14f3);}))),window[_0x3019c1(0x471)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x3019c1(0x3f8)](this[_0x3019c1(0x1ec)])}));}[_0x241173(0x4c7)](_0x53f210){const _0x5a6570=_0x241173;switch(_0x53f210[_0x5a6570(0x40a)]){case 0x0:this[_0x5a6570(0x3f3)](_0x53f210);break;case 0x1:this[_0x5a6570(0x58e)](_0x53f210);break;case 0x2:this['_handleHeartbeatEvent'](_0x53f210);break;}}[_0x241173(0x3f3)](_0x29a065){const _0x265882=_0x241173,{unitIDs:_0x464b76,memberID:_0x539644,isForwarded:_0x18c1e5}=_0x29a065;_0x464b76['forEach'](_0x5d4f3a=>{const _0x509751=_0x10c7;if(!_0x18c1e5&&this['_unitOnClients']['has'](_0x5d4f3a)&&this[_0x509751(0x44e)](_0x5d4f3a)[_0x509751(0x5b0)](0x1),!this[_0x509751(0x5cd)][_0x509751(0x5be)](_0x5d4f3a)||!this['_unitOnClients'][_0x509751(0x241)](_0x5d4f3a)[_0x509751(0x5be)](_0x539644)){const _0x1b8833=this[_0x509751(0x5cd)][_0x509751(0x241)](_0x5d4f3a)||new Set();_0x1b8833['add'](_0x539644),this[_0x509751(0x5cd)][_0x509751(0x4e4)](_0x5d4f3a,_0x1b8833),this[_0x509751(0x3c1)](_0x539644);}}),_0x18c1e5||this[_0x265882(0x28e)]({'type':0x0,'memberID':this[_0x265882(0x342)],'unitIDs':[...this[_0x265882(0x1ec)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x133c00){const _0x3da259=_0x241173;this['_removeClearOtherTimer'](_0x133c00);const _0x2f6e8b=window[_0x3da259(0x2ea)](()=>{const _0x1e1af8=_0x3da259;this[_0x1e1af8(0x5cd)][_0x1e1af8(0x2e5)](_0x296a02=>{const _0x1f9937=_0x1e1af8;_0x296a02[_0x1f9937(0x2d7)](_0x133c00);});},Bs*0x2);this[_0x3da259(0x2cf)][_0x3da259(0x4e4)](_0x133c00,_0x2f6e8b);}[_0x241173(0x484)](_0x2b76c0){const _0x5c717b=_0x241173;if(this[_0x5c717b(0x2cf)][_0x5c717b(0x5be)](_0x2b76c0)){const _0x296fce=this[_0x5c717b(0x2cf)][_0x5c717b(0x241)](_0x2b76c0);_0x296fce&&window[_0x5c717b(0x240)](_0x296fce),this[_0x5c717b(0x2cf)][_0x5c717b(0x4e4)](_0x2b76c0,null);}}[_0x241173(0x58e)](_0x202f16){const _0x36d136=_0x241173,{memberID:_0x54eedf,unitIDs:_0x431ef8}=_0x202f16;_0x431ef8[_0x36d136(0x2e5)](_0x5a4426=>{const _0x581c9c=_0x36d136;var _0x39fac7;const _0x8fdd3b=this[_0x581c9c(0x5cd)][_0x581c9c(0x241)](_0x5a4426);_0x8fdd3b&&(_0x8fdd3b[_0x581c9c(0x2d7)](_0x54eedf),(_0x39fac7=this[_0x581c9c(0x44e)](_0x5a4426))==null||_0x39fac7[_0x581c9c(0x5b0)](_0x8fdd3b[_0x581c9c(0x599)]===0x0?0x0:0x1));}),this[_0x36d136(0x484)](_0x54eedf);}[_0x241173(0x1c1)](_0x2efb85){const _0x5bcced=_0x241173;this[_0x5bcced(0x3c1)](_0x2efb85[_0x5bcced(0x2b4)]);}['_send'](_0x4d421d){const _0x127985=_0x241173;localStorage[_0x127985(0x559)](ks,JSON[_0x127985(0x4aa)](_0x4d421d));}['_scheduleHeartbeat'](){const _0x429d9b=_0x241173;this[_0x429d9b(0x3b6)]=window['setInterval'](()=>{const _0x31767b=_0x429d9b;this[_0x31767b(0x28e)]({'type':0x2,'memberID':this['_id']});},Bs);}[_0x241173(0x44e)](_0x994e67){const _0x415064=_0x241173;return this[_0x415064(0x370)][_0x415064(0x5be)](_0x994e67)||this[_0x415064(0x370)][_0x415064(0x4e4)](_0x994e67,new _0x76ce31(0x0)),this[_0x415064(0x370)][_0x415064(0x241)](_0x994e67);}}var so=Object[_0x241173(0x387)],io=Object[_0x241173(0x2fb)],no=(_0x1733bb,_0x1ac4f6,_0x2f8819,_0x32a6a3)=>{const _0x43785c=_0x241173;for(var _0x13b696=_0x32a6a3>0x1?void 0x0:_0x32a6a3?io(_0x1ac4f6,_0x2f8819):_0x1ac4f6,_0x3a9c68=_0x1733bb[_0x43785c(0x32c)]-0x1,_0x53ae95;_0x3a9c68>=0x0;_0x3a9c68--)(_0x53ae95=_0x1733bb[_0x3a9c68])&&(_0x13b696=(_0x32a6a3?_0x53ae95(_0x1ac4f6,_0x2f8819,_0x13b696):_0x53ae95(_0x13b696))||_0x13b696);return _0x32a6a3&&_0x13b696&&so(_0x1ac4f6,_0x2f8819,_0x13b696),_0x13b696;},Mt=(_0x4f3665,_0x247fbf)=>(_0xc68f5e,_0x207253)=>_0x247fbf(_0xc68f5e,_0x207253,_0x4f3665);let mt=class{constructor(_0xea7075,_0x1bf8c7,_0x43ad94){const _0x5909a5=_0x241173;this[_0x5909a5(0x414)]=_0xea7075,this[_0x5909a5(0x39d)]=_0x1bf8c7,this['_docStateChangeManagerService']=_0x43ad94;}[_0x241173(0x52e)](_0x50668e){this['_transformHistoryAndStateStack'](_0x50668e);}[_0x241173(0x31d)](_0x309401){const _0xe62489=_0x241173,{unitID:_0x212168}=_0x309401,{collaboration:_0xed52e4}=this['_docStateChangeManagerService'][_0xe62489(0x33b)](_0x212168);if(_0xed52e4['length']===0x0)return _0x309401;let _0x21e09d=_0x55a7da[_0xe62489(0x53f)](_0x309401[_0xe62489(0x3d0)][0x0]);for(let _0x491e03=0x0;_0x491e03<_0xed52e4[_0xe62489(0x32c)];_0x491e03++){const _0x1d8d37={'id':_0xe62489(0x5c7),'params':{'unitId':_0xed52e4[_0x491e03][_0xe62489(0x410)],..._0xed52e4[_0x491e03][_0xe62489(0x444)]}},_0x42ab35=this['_transformService'][_0xe62489(0x3ca)](_0x21e09d,_0x1d8d37,!0x1);if(_0x3ab926(_0x42ab35))throw _0x42ab35[_0xe62489(0x4e3)];_0x21e09d=_0x42ab35[_0xe62489(0x41c)];}return{..._0x55a7da['deepClone'](_0x309401),'mutations':[_0x21e09d]};}['_transformHistoryAndStateStack'](_0x5dca0e){const _0x19dd7e=_0x241173,{unitID:_0x1b3dff}=_0x5dca0e,{history:_0x4fe8fa,collaboration:_0x4c1df0}=this[_0x19dd7e(0x50a)][_0x19dd7e(0x33b)](_0x1b3dff);if(_0x4fe8fa[_0x19dd7e(0x32c)]===0x0&&_0x4c1df0[_0x19dd7e(0x32c)]===0x0)return;const _0x2e3bd2=[],_0x373804=[];let _0x14a0e9=_0x55a7da['deepClone'](_0x5dca0e[_0x19dd7e(0x3d0)][0x0]),_0x372664=_0x55a7da['deepClone'](_0x5dca0e[_0x19dd7e(0x3d0)][0x0]);for(let _0x9ff8f0=_0x4fe8fa[_0x19dd7e(0x32c)]-0x1;_0x9ff8f0>=0x0;_0x9ff8f0--){const _0x35cfb3={'id':_0x19dd7e(0x5c7),'params':{'unitId':_0x4fe8fa[_0x9ff8f0][_0x19dd7e(0x410)],..._0x4fe8fa[_0x9ff8f0][_0x19dd7e(0x57f)]}},_0x426892={'id':_0x19dd7e(0x5c7),'params':{'unitId':_0x4fe8fa[_0x9ff8f0][_0x19dd7e(0x410)],..._0x4fe8fa[_0x9ff8f0][_0x19dd7e(0x444)]}},_0x5bcea5=this[_0x19dd7e(0x39d)][_0x19dd7e(0x3ca)](_0x14a0e9,_0x35cfb3,!0x1),_0x48d002=this[_0x19dd7e(0x39d)][_0x19dd7e(0x3ca)](_0x372664,_0x426892,!0x1);if(_0x3ab926(_0x5bcea5))throw _0x5bcea5[_0x19dd7e(0x4e3)];if(_0x3ab926(_0x48d002))throw _0x48d002[_0x19dd7e(0x4e3)];_0x2e3bd2[_0x19dd7e(0x1c3)]({..._0x4fe8fa[_0x9ff8f0],'undoState':_0x5bcea5[_0x19dd7e(0x598)][_0x19dd7e(0x2d5)],'redoState':_0x48d002[_0x19dd7e(0x598)][_0x19dd7e(0x2d5)]}),_0x14a0e9=_0x5bcea5['m1Prime'],_0x372664=_0x48d002[_0x19dd7e(0x41c)];}_0x14a0e9=_0x55a7da[_0x19dd7e(0x53f)](_0x5dca0e['mutations'][0x0]),_0x372664=_0x55a7da['deepClone'](_0x5dca0e[_0x19dd7e(0x3d0)][0x0]);for(let _0x54d1bd=_0x4c1df0['length']-0x1;_0x54d1bd>=0x0;_0x54d1bd--){const _0xf63130={'id':_0x19dd7e(0x5c7),'params':{'unitId':_0x4c1df0[_0x54d1bd][_0x19dd7e(0x410)],..._0x4c1df0[_0x54d1bd][_0x19dd7e(0x57f)]}},_0x2d4ac4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c1df0[_0x54d1bd]['unitId'],..._0x4c1df0[_0x54d1bd][_0x19dd7e(0x444)]}},_0x3438cf=this[_0x19dd7e(0x39d)][_0x19dd7e(0x3ca)](_0x14a0e9,_0xf63130,!0x1),_0x6bbf5f=this['_transformService'][_0x19dd7e(0x3ca)](_0x372664,_0x2d4ac4,!0x1);if(_0x3ab926(_0x3438cf))throw _0x3438cf[_0x19dd7e(0x4e3)];if(_0x3ab926(_0x6bbf5f))throw _0x6bbf5f[_0x19dd7e(0x4e3)];_0x373804[_0x19dd7e(0x1c3)]({..._0x4c1df0[_0x54d1bd],'undoState':_0x3438cf[_0x19dd7e(0x598)]['params'],'redoState':_0x6bbf5f[_0x19dd7e(0x598)][_0x19dd7e(0x2d5)]}),_0x14a0e9=_0x3438cf[_0x19dd7e(0x41c)],_0x372664=_0x6bbf5f['m1Prime'];}this[_0x19dd7e(0x50a)][_0x19dd7e(0x265)](_0x1b3dff,{'history':_0x2e3bd2,'collaboration':_0x373804});}};mt=no([Mt(0x0,_0x1596c5(_0x59d577)),Mt(0x1,_0x399263),Mt(0x2,_0x1596c5(_0xeca7f6))],mt);function Di(_0x5d7c54){const _0x29138b=_0x241173;let _0x5cb913='';for(const _0x1c898e of _0x5d7c54){const {startOffset:_0x57e6a7,endOffset:_0x277494,isActive:_0x22b626,rangeType:_0x48f414,segmentId:_0x58c620,segmentPage:_0x38a8a3}=_0x1c898e;_0x5cb913[_0x29138b(0x32c)]&&(_0x5cb913+=','),_0x5cb913+=_0x57e6a7+':'+_0x277494+':'+(_0x22b626?'1':'0')+':'+_0x48f414+':'+_0x58c620+':'+_0x38a8a3;}return _0x5cb913;}function ro(_0x4181c5){const _0xa53d7d=_0x241173,_0x5a24cf=_0x4181c5[_0xa53d7d(0x547)](','),_0x4301e3=[];for(const _0x170265 of _0x5a24cf){const [_0x28e485,_0x303f3c,_0x22105e,_0x1e9a08,_0x256a2e,_0x3d97b5]=_0x170265[_0xa53d7d(0x547)](':');_0x4301e3[_0xa53d7d(0x42a)]({'startOffset':Number(_0x28e485),'endOffset':Number(_0x303f3c),'collapsed':_0x28e485===_0x303f3c,'isActive':_0x22105e==='1','rangeType':_0x1e9a08===_0x3aef73['TEXT']?_0x3aef73[_0xa53d7d(0x300)]:_0x3aef73[_0xa53d7d(0x4a6)],'segmentId':typeof _0x256a2e==_0xa53d7d(0x412)?String(_0x256a2e):'','segmentPage':Number(_0x3d97b5!=null?_0x3d97b5:-0x1)});}return _0x4301e3[_0xa53d7d(0x51e)](_0x58d001=>_0x58d001[_0xa53d7d(0x2eb)])||(_0x4301e3[0x0][_0xa53d7d(0x2eb)]=!0x0),_0x4301e3;}class Is extends _0x388f6d{constructor(){const _0x514887=_0x241173;super(...arguments),g(this,_0x514887(0x1e1),new _0x76ce31(null)),g(this,'collabCursorState$',this[_0x514887(0x1e1)]['asObservable']());}['syncEditingCollabCursor'](_0x28c735){const _0x39dfca=_0x241173,{unitID:_0x5b5347,memberID:_0x32c488,textRanges:_0x472732}=_0x28c735,_0x4d9e64=Di(_0x472732);if(_0x4d9e64==='')return;const _0x54ff1e={'unitID':_0x5b5347,'memberID':_0x32c488,'selection':_0x4d9e64};this[_0x39dfca(0x1e1)]['next'](_0x54ff1e);}}var oo=Object[_0x241173(0x387)],ao=Object[_0x241173(0x2fb)],co=(_0x5463c1,_0x3ea8e2,_0x318e8a,_0x2b1023)=>{const _0x3a3943=_0x241173;for(var _0x118334=_0x2b1023>0x1?void 0x0:_0x2b1023?ao(_0x3ea8e2,_0x318e8a):_0x3ea8e2,_0x2c5bbf=_0x5463c1[_0x3a3943(0x32c)]-0x1,_0x1bf6cf;_0x2c5bbf>=0x0;_0x2c5bbf--)(_0x1bf6cf=_0x5463c1[_0x2c5bbf])&&(_0x118334=(_0x2b1023?_0x1bf6cf(_0x3ea8e2,_0x318e8a,_0x118334):_0x1bf6cf(_0x118334))||_0x118334);return _0x2b1023&&_0x118334&&oo(_0x3ea8e2,_0x318e8a,_0x118334),_0x118334;},Ws=(_0x273897,_0xa1f852)=>(_0x10c8d0,_0x376af5)=>_0xa1f852(_0x10c8d0,_0x376af5,_0x273897);let pt=class{constructor(_0x4a9493,_0x1a6061){const _0x44abe8=_0x241173;this[_0x44abe8(0x414)]=_0x4a9493,this[_0x44abe8(0x39d)]=_0x1a6061;}[_0x241173(0x554)](_0x355ea6){const _0x35eb01=_0x241173;var _0x5b0958;const _0x46174c=this['_injector'][_0x35eb01(0x241)](_0x43529d),_0x3608c6=(_0x5b0958=_0x46174c['getDocRanges']())!=null?_0x5b0958:[];if(_0x3608c6[_0x35eb01(0x32c)]===0x0)return;const _0x8f3499=_0x355ea6[_0x35eb01(0x4a0)],_0x273aa6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8f3499,'actions':null,'textRanges':_0x3608c6}}],_0x5d5e4f=this[_0x35eb01(0x39d)][_0x35eb01(0x4c3)](_0x355ea6,_0x273aa6);if(!_0x18198c(_0x5d5e4f))throw _0x5d5e4f[_0x35eb01(0x4e3)];const _0x1e7bdf=_0x5d5e4f[_0x35eb01(0x598)][0x0][_0x35eb01(0x2d5)]['textRanges'];Array[_0x35eb01(0x4b3)](_0x1e7bdf)&&_0x1e7bdf['length']&&_0x46174c[_0x35eb01(0x286)](_0x1e7bdf,{'unitId':_0x8f3499,'subUnitId':_0x8f3499},!0x1);}};pt=co([Ws(0x0,_0x1596c5(_0x59d577)),Ws(0x1,_0x399263)],pt);const ho=new Set([_0x179056['id']]);function Fs(_0x2226ef,_0x932a66,_0x3c5d57,_0x36e093,_0x52386c){const _0x1f0ea4=_0x241173;var _0x39cb52,_0x2a1056,_0xd710de,_0x3d70f1;const _0x4115bc=[];for(const _0x1b9789 of _0x2226ef)if(ho[_0x1f0ea4(0x5be)](_0x1b9789['id'])){if(_0x4115bc[_0x1f0ea4(0x32c)]>0x0)break;_0x4115bc[_0x1f0ea4(0x42a)](_0x1b9789);break;}else _0x4115bc[_0x1f0ea4(0x42a)](_0x1b9789);const _0x406355=(_0x2a1056=(_0x39cb52=_0x52386c[_0x1f0ea4(0x1f1)]())==null?void 0x0:_0x39cb52['userID'])!=null?_0x2a1056:'unknown',_0x7b61a6=(_0x3d70f1=(_0xd710de=_0x52386c['getCurrentUser']())==null?void 0x0:_0xd710de[_0x1f0ea4(0x2b4)])!=null?_0x3d70f1:_0x1f0ea4(0x1dc);return{'changeset':{'unitID':_0x932a66,'type':_0x55ef20(_0x3c5d57[_0x1f0ea4(0x2ed)](_0x932a66)),'baseRev':_0x36e093[_0x1f0ea4(0x4fe)](_0x932a66),'revision':0x0,'userID':_0x406355,'memberID':_0x7b61a6,'mutations':_0x4115bc},'pendingMutations':_0x2226ef['slice'](_0x4115bc['length'])};}function lo(_0x184718,_0x50c5a6,_0x1f33a7,_0x5149a3,_0x135e4d){const _0x56c048=_0x241173;var _0x4baf2a,_0x14a65b,_0x46cc16,_0x51dab8;const _0x3d90ef=[_0x184718['reduce']((_0x5c40a6,_0x3b442c)=>{const _0x52cc2f=_0x10c7;var _0x1f8cce;const {id:_0x1cad33}=_0x5c40a6,{id:_0x3ce918,type:_0x5b1502}=_0x3b442c,_0x54fad3=(_0x1f8cce=_0x5c40a6[_0x52cc2f(0x2d5)])!=null?_0x1f8cce:{'actions':null},_0x115fb6=_0x3b442c[_0x52cc2f(0x2d5)];if(_0x1cad33&&_0x1cad33!==_0x3ce918)throw new Error(_0x52cc2f(0x203)+_0x1cad33+_0x52cc2f(0x374)+_0x3ce918+'.');return{..._0x5c40a6,'id':_0x3ce918,'type':_0x5b1502,'params':{'unitId':_0x115fb6['unitId'],'textRanges':_0x115fb6['textRanges'],'actions':_0x4013bd[_0x52cc2f(0x46f)](_0x54fad3[_0x52cc2f(0x406)],_0x115fb6['actions'])}};},{})],_0x5404d7=(_0x14a65b=(_0x4baf2a=_0x135e4d[_0x56c048(0x1f1)]())==null?void 0x0:_0x4baf2a[_0x56c048(0x438)])!=null?_0x14a65b:_0x56c048(0x1dc),_0x2e4059=(_0x51dab8=(_0x46cc16=_0x135e4d[_0x56c048(0x1f1)]())==null?void 0x0:_0x46cc16[_0x56c048(0x2b4)])!=null?_0x51dab8:_0x56c048(0x1dc);return{'changeset':{'unitID':_0x50c5a6,'type':_0x55ef20(_0x1f33a7[_0x56c048(0x2ed)](_0x50c5a6)),'baseRev':_0x5149a3[_0x56c048(0x4fe)](_0x50c5a6),'revision':0x0,'userID':_0x5404d7,'memberID':_0x2e4059,'mutations':_0x3d90ef},'pendingMutations':[]};}function Pi(_0x53b534,_0x5972c9){const _0x1a2d8f=_0x241173,_0x3c52df=new _0x53134c(0x1);return setTimeout(()=>_0x3c52df[_0x1a2d8f(0x5b0)](_0x5972c9),_0x53b534),_0x3c52df[_0x1a2d8f(0x1d7)]()[_0x1a2d8f(0x391)](_0x3dc28c(0x1));}const _o={'id':_0x157c6e['id'],'type':_0xb9bad3[_0x241173(0x5c0)],'params':{}};var uo=Object[_0x241173(0x387)],fo=Object['getOwnPropertyDescriptor'],Le=(_0x147218,_0x4fce3a,_0x94bead,_0x481485)=>{const _0x6599e0=_0x241173;for(var _0x11e04a=_0x481485>0x1?void 0x0:_0x481485?fo(_0x4fce3a,_0x94bead):_0x4fce3a,_0xcd8ee1=_0x147218[_0x6599e0(0x32c)]-0x1,_0x4e9f13;_0xcd8ee1>=0x0;_0xcd8ee1--)(_0x4e9f13=_0x147218[_0xcd8ee1])&&(_0x11e04a=(_0x481485?_0x4e9f13(_0x4fce3a,_0x94bead,_0x11e04a):_0x4e9f13(_0x11e04a))||_0x11e04a);return _0x481485&&_0x11e04a&&uo(_0x4fce3a,_0x94bead,_0x11e04a),_0x11e04a;},A=(_0x1837c7,_0x394c2d)=>(_0x4aaa16,_0x4f25c0)=>_0x394c2d(_0x4aaa16,_0x4f25c0,_0x1837c7),J=(_0x5e15f4=>(_0x5e15f4['NOT_COLLAB']=_0x241173(0x460),_0x5e15f4['SYNCED']=_0x241173(0x3c9),_0x5e15f4[_0x241173(0x344)]='pending',_0x5e15f4[_0x241173(0x2fa)]=_0x241173(0x2e7),_0x5e15f4[_0x241173(0x53d)]='awaiting_with_pending',_0x5e15f4[_0x241173(0x309)]=_0x241173(0x466),_0x5e15f4[_0x241173(0x396)]=_0x241173(0x26f),_0x5e15f4[_0x241173(0x1d6)]=_0x241173(0x1ed),_0x5e15f4))(J||{});const Ui=0xea60;class $e{constructor(_0x2cf584,_0x513163,_0x2ea0fc,_0x472a4c,_0xf263c,_0x593bd4,_0x1ab7fa,_0xb6e04,_0x43d7aa){const _0x239d1a=_0x241173;g(this,_0x239d1a(0x40c),null),g(this,'_pendingMutations',[]),(this[_0x239d1a(0x4a0)]=_0x2cf584,this[_0x239d1a(0x40a)]=_0x513163,this['_handler']=_0xf263c,this[_0x239d1a(0x553)]=_0x593bd4,this[_0x239d1a(0x593)]=_0x1ab7fa,this['_revisionService']=_0xb6e04,this[_0x239d1a(0x4c6)]=_0x43d7aa,this['_awaitingChangeset']=_0x2ea0fc,this[_0x239d1a(0x51c)]=_0x472a4c);}['_checkMissing'](_0x4c44c3){const _0xf6e84b=_0x241173,_0x650ca7=this[_0xf6e84b(0x44d)]['getCurrentRevOfUnit'](this['unitID']);return _0x4c44c3['revision']>_0x650ca7+0x1?(this['_handler']['onMissingChangesets']({'from':_0x650ca7,'to':_0x4c44c3[_0xf6e84b(0x269)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x228cde){const _0x182b93=_0x241173;this[_0x182b93(0x593)][_0x182b93(0x216)](this[_0x182b93(0x4a0)],_0x228cde);}[_0x241173(0x4b5)](_0x3f1088){const _0x4c4e41=_0x241173;var _0x445faf,_0xcd8402;(_0xcd8402=(_0x445faf=this[_0x4c4e41(0x335)])[_0x4c4e41(0x2b9)])==null||_0xcd8402[_0x4c4e41(0x502)](_0x445faf,_0x3f1088);}[_0x241173(0x50f)](_0x1d3e09){const _0x22f3a7=_0x241173;var _0x24712c,_0x100aa2;return(_0x100aa2=(_0x24712c=this[_0x22f3a7(0x335)])[_0x22f3a7(0x2bd)])==null?void 0x0:_0x100aa2[_0x22f3a7(0x502)](_0x24712c,_0x1d3e09);}[_0x241173(0x45c)](_0x585bca){const _0x14f434=_0x241173;var _0x4b1ca4,_0xa6bc0d;return(_0xa6bc0d=(_0x4b1ca4=this['_handler'])[_0x14f434(0x30b)])==null?void 0x0:_0xa6bc0d[_0x14f434(0x502)](_0x4b1ca4,_0x585bca);}[_0x241173(0x2be)](_0x1945db){const _0x27cb81=_0x241173;var _0x25b78b,_0x387538,_0x204968;return(_0x204968=(_0x387538=(_0x25b78b=this[_0x27cb81(0x335)])[_0x27cb81(0x49a)])==null?void 0x0:_0x387538['call'](_0x25b78b,_0x1945db))!=null?_0x204968:_0x1945db;}[_0x241173(0x537)](_0x26dfb9){const _0x5e751d=_0x241173;var _0x3a5231,_0x4a6697,_0x54e992;return(_0x54e992=(_0x4a6697=(_0x3a5231=this[_0x5e751d(0x335)])[_0x5e751d(0x58d)])==null?void 0x0:_0x4a6697[_0x5e751d(0x502)](_0x3a5231,_0x26dfb9))!=null?_0x54e992:_0x26dfb9;}[_0x241173(0x49c)](_0x1cd5d4){const _0x5aeaf5=_0x241173;var _0x5bdae0,_0x29520c;if(this['type']===ce[_0x5aeaf5(0x209)]){const {unitID:_0x581832,mutations:_0x24667a,memberID:_0x326d21}=_0x1cd5d4,_0x43ed37=_0x24667a[0x0][_0x5aeaf5(0x2d5)][_0x5aeaf5(0x35a)];Array[_0x5aeaf5(0x4b3)](_0x43ed37)&&_0x43ed37[_0x5aeaf5(0x32c)]>0x0&&((_0x29520c=(_0x5bdae0=this[_0x5aeaf5(0x335)])['onSyncEditingCollabCursor'])==null||_0x29520c[_0x5aeaf5(0x502)](_0x5bdae0,{'unitID':_0x581832,'memberID':_0x326d21,'textRanges':_0x43ed37}));}}[_0x241173(0x261)](){const _0x2ec97d=_0x241173;this[_0x2ec97d(0x4c6)][_0x2ec97d(0x382)](this[_0x2ec97d(0x4a0)],this[_0x2ec97d(0x40a)],this[_0x2ec97d(0x40c)],this[_0x2ec97d(0x51c)]);}['_getCurrentRevision'](){const _0x6329ae=_0x241173;return this['_revisionService'][_0x6329ae(0x4fe)](this[_0x6329ae(0x4a0)]);}[_0x241173(0x231)](){const _0x4a53c5=_0x241173;this[_0x4a53c5(0x44d)][_0x4a53c5(0x2a2)](this[_0x4a53c5(0x4a0)]);}['_executeRemoteChangeset'](_0x2d4c68){const _0x4d6b0b=_0x241173;var _0x26a8cc;let _0x44c982=this['_transformRemoteChangesetByIMECache'](_0x2d4c68);_0x44c982=this[_0x4d6b0b(0x537)](_0x44c982);const _0x19cd18=_0x357bfc(_0x44c982[_0x4d6b0b(0x3d0)],this[_0x4d6b0b(0x553)],{'fromCollab':!0x0});if(!_0x19cd18[_0x4d6b0b(0x262)])throw _0x19cd18[_0x4d6b0b(0x4e3)]instanceof Error?_0x19cd18[_0x4d6b0b(0x4e3)]:new Error((_0x26a8cc=_0x19cd18['error'])!=null?_0x26a8cc:_0x4d6b0b(0x587));this[_0x4d6b0b(0x50f)](_0x44c982),this['_transformStateCache'](_0x44c982),this['_transformUndoredo'](_0x2d4c68),this['_transformSelections'](_0x44c982),this['_syncEditingCollabCursor'](_0x44c982),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x376c92,_0xbcd72c,_0x362342,_0x5de498,_0x3d63e5,_0x52a425,_0x4cb400,_0x4dd1c5,_0x3e24eb,_0x3a2199){const _0x4650aa=_0x241173;super(_0x376c92,_0xbcd72c,null,[],_0x362342,_0x4dd1c5,_0x4cb400,_0x5de498,_0x3d63e5),g(this,'status',_0x4650aa(0x3c9)),(this[_0x4650aa(0x414)]=_0x52a425,this['_logService']=_0x3e24eb,this['_transformService']=_0x3a2199);}[_0x241173(0x3d1)](_0x2a27bd){const _0x5622f3=_0x241173,_0x3db593=this[_0x5622f3(0x414)]['createInstance'](pe,this['unitID'],this[_0x5622f3(0x40a)],[_0x2a27bd],this[_0x5622f3(0x335)]);return _0x3db593[_0x5622f3(0x325)](),_0x3db593[_0x5622f3(0x261)](),_0x3db593;}[_0x241173(0x204)](_0x31a1bc){const _0x3bd59c=_0x241173;if(this[_0x3bd59c(0x317)](_0x31a1bc))return this[_0x3bd59c(0x414)][_0x3bd59c(0x25b)](he,this[_0x3bd59c(0x4a0)],this[_0x3bd59c(0x40a)],null,[],null,[_0x31a1bc],this['_handler']);try{const _0x34807e=this[_0x3bd59c(0x39d)][_0x3bd59c(0x4c3)](_0x31a1bc,[_o]);if(_0x18198c(_0x34807e)){const {c1Prime:_0x187084}=_0x34807e;return this[_0x3bd59c(0x2f0)](_0x187084),this;}throw _0x34807e[_0x3bd59c(0x4e3)];}catch(_0x22d5d7){return this[_0x3bd59c(0x318)][_0x3bd59c(0x4e3)](_0x22d5d7),this[_0x3bd59c(0x38e)](!0x1);}}[_0x241173(0x38e)](_0x42364b){const _0x35500e=_0x241173;return this['_injector'][_0x35500e(0x25b)](Re,this[_0x35500e(0x4a0)],this[_0x35500e(0x40a)],null,[],this[_0x35500e(0x335)],_0x42364b);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x241173(0x577)](){const _0x217124=_0x241173;throw new Error(_0x217124(0x4b0));}[_0x241173(0x579)](){return this;}['toggleOffline'](){const _0x299433=_0x241173;return this['_injector'][_0x299433(0x25b)](ye,this[_0x299433(0x4a0)],this[_0x299433(0x40a)],null,[],this[_0x299433(0x335)]);}[_0x241173(0x316)](){return this;}[_0x241173(0x44f)](){const _0x81c646=_0x241173;throw new Error(_0x81c646(0x221));}[_0x241173(0x1ca)](){const _0x2e1d31=_0x241173,_0x3b9d59=this[_0x2e1d31(0x44d)][_0x2e1d31(0x4fe)](this[_0x2e1d31(0x4a0)]);return this[_0x2e1d31(0x335)][_0x2e1d31(0x1df)]({'from':_0x3b9d59,'to':0x0}),this[_0x2e1d31(0x414)][_0x2e1d31(0x25b)](he,this['unitID'],this[_0x2e1d31(0x40a)],null,[],null,[],this[_0x2e1d31(0x335)]);}};Fe=Le([A(0x3,_0x1596c5(_0x3fbb34)),A(0x4,_0x1596c5(q)),A(0x5,_0x1596c5(_0x59d577)),A(0x6,_0x4007f7),A(0x7,_0x289e6f),A(0x8,_0x265e7a),A(0x9,_0x399263)],Fe);let pe=class extends $e{constructor(_0x2a2cad,_0x1c34ab,_0x3f87d9,_0x3a7f57,_0x4b88dc,_0x5ef447,_0x7910a5,_0x23dd90,_0x23b79b,_0x2105c5,_0x5ab34a,_0x1a11b6,_0x3e5a69,_0xbd5db0){const _0x275254=_0x241173;super(_0x2a2cad,_0x1c34ab,null,_0x3f87d9,_0x3a7f57,_0x2105c5,_0xbd5db0,_0x5ef447,_0x7910a5),g(this,_0x275254(0x452),'pending'),g(this,_0x275254(0x5b2),null),g(this,_0x275254(0x274),null),(this['_injector']=_0x4b88dc,this[_0x275254(0x281)]=_0x23dd90,this['_logService']=_0x23b79b,this['_configService']=_0x5ab34a,this['_transformService']=_0x1a11b6,this[_0x275254(0x518)]=_0x3e5a69);}[_0x241173(0x3d1)](_0x4f2a8a){const _0x1ebf3c=_0x241173;return this[_0x1ebf3c(0x51c)][_0x1ebf3c(0x42a)](_0x4f2a8a),this[_0x1ebf3c(0x261)](),this;}[_0x241173(0x204)](_0x22b9da){const _0xd7b92e=_0x241173;if(this[_0xd7b92e(0x317)](_0x22b9da))return this[_0xd7b92e(0x552)](),this[_0xd7b92e(0x414)]['createInstance'](he,this[_0xd7b92e(0x4a0)],this[_0xd7b92e(0x40a)],null,this[_0xd7b92e(0x51c)],null,[_0x22b9da],this['_handler']);try{const _0xd830a8=this[_0xd7b92e(0x39d)]['transformMutationsWithChangeset'](_0x22b9da,this[_0xd7b92e(0x51c)]);if(_0x18198c(_0xd830a8)){const {c1Prime:_0x3bfbaf,m2Prime:_0x374352}=_0xd830a8;this[_0xd7b92e(0x2f0)](_0x3bfbaf);const _0xa97a72=this[_0xd7b92e(0x414)][_0xd7b92e(0x25b)](pe,this[_0xd7b92e(0x4a0)],this[_0xd7b92e(0x40a)],_0x374352,this['_handler']);return this['_clearScheduledTask'](),_0xa97a72['_schedule'](this[_0xd7b92e(0x5b2)]?Math[_0xd7b92e(0x2d0)](0x0,new Date()[_0xd7b92e(0x336)]()-this[_0xd7b92e(0x5b2)]):this[_0xd7b92e(0x5a6)]()),_0xa97a72;}throw _0xd830a8[_0xd7b92e(0x4e3)];}catch(_0x4eedca){return this['_logService'][_0xd7b92e(0x4e3)](_0x4eedca),this[_0xd7b92e(0x38e)](!0x1);}}['onRemoteAck'](){const _0x3875c8=_0x241173;throw new Error(_0x3875c8(0x3f7));}[_0x241173(0x577)](){const _0x4f9630=_0x241173;throw new Error(_0x4f9630(0x395));}[_0x241173(0x579)](){return this;}[_0x241173(0x385)](){const _0x532608=_0x241173;return this[_0x532608(0x552)](),this[_0x532608(0x414)]['createInstance'](ye,this[_0x532608(0x4a0)],this[_0x532608(0x40a)],null,this['_pendingMutations'],this['_handler']);}[_0x241173(0x316)](){return this;}[_0x241173(0x325)](_0x5c9160){const _0x4e5526=_0x241173,_0x7737d5=_0x5c9160!=null?_0x5c9160:this[_0x4e5526(0x5a6)]();this[_0x4e5526(0x5b2)]=new Date()[_0x4e5526(0x336)](),this[_0x4e5526(0x274)]=window[_0x4e5526(0x2ea)](()=>{const _0x493f3f=_0x4e5526;this[_0x493f3f(0x552)]();let _0x3fdd9b=null;switch(this['type']){case ce[_0x493f3f(0x372)]:{_0x3fdd9b=Fs(this[_0x493f3f(0x51c)],this[_0x493f3f(0x4a0)],this[_0x493f3f(0x518)],this[_0x493f3f(0x44d)],this[_0x493f3f(0x281)]);break;}case ce['UNIVER_DOC']:{this[_0x493f3f(0x51c)][_0x493f3f(0x3a4)](_0x85d2c7=>_0x85d2c7['id']===_0x4f4f55['id'])?_0x3fdd9b=lo(this[_0x493f3f(0x51c)],this[_0x493f3f(0x4a0)],this[_0x493f3f(0x518)],this[_0x493f3f(0x44d)],this[_0x493f3f(0x281)]):_0x3fdd9b=Fs(this[_0x493f3f(0x51c)],this[_0x493f3f(0x4a0)],this['_univerInstanceService'],this[_0x493f3f(0x44d)],this[_0x493f3f(0x281)]);break;}default:throw new Error(_0x493f3f(0x56a)+this[_0x493f3f(0x40a)]+_0x493f3f(0x4f2));}const {changeset:_0x4b9365,pendingMutations:_0x3cddf6}=_0x3fdd9b;this[_0x493f3f(0x335)][_0x493f3f(0x462)](_0x4b9365);const _0x454dbc=_0x3cddf6[_0x493f3f(0x32c)]?this[_0x493f3f(0x414)][_0x493f3f(0x25b)](ge,this[_0x493f3f(0x4a0)],this[_0x493f3f(0x40a)],_0x4b9365,_0x3cddf6,this['_handler'],void 0x0):this[_0x493f3f(0x414)][_0x493f3f(0x25b)](Te,this[_0x493f3f(0x4a0)],this[_0x493f3f(0x40a)],_0x4b9365,this[_0x493f3f(0x335)]);_0x454dbc[_0x493f3f(0x261)](),this[_0x493f3f(0x335)][_0x493f3f(0x43f)](this,_0x454dbc);},_0x7737d5);}[_0x241173(0x5a6)](){const _0x5e98ee=_0x241173;var _0x219707;const _0x29355b=this[_0x5e98ee(0x3aa)][_0x5e98ee(0x561)](ie);return(_0x219707=_0x29355b==null?void 0x0:_0x29355b['sendChangesetTimeout'])!=null?_0x219707:ar;}[_0x241173(0x44f)](){const _0x39ee87=_0x241173;throw new Error(_0x39ee87(0x4bc));}[_0x241173(0x552)](){const _0x18965d=_0x241173;this[_0x18965d(0x274)]!=null&&(clearTimeout(this[_0x18965d(0x274)]),this[_0x18965d(0x274)]=null);}[_0x241173(0x38e)](_0x4d642b){const _0x3a9af3=_0x241173;return this[_0x3a9af3(0x552)](),this[_0x3a9af3(0x414)]['createInstance'](Re,this[_0x3a9af3(0x4a0)],this['type'],null,this[_0x3a9af3(0x51c)],this['_handler'],_0x4d642b);}};pe=Le([A(0x4,_0x1596c5(_0x59d577)),A(0x5,_0x1596c5(_0x3fbb34)),A(0x6,_0x1596c5(q)),A(0x7,_0x1596c5(Ne)),A(0x8,_0x265e7a),A(0x9,_0x289e6f),A(0xa,_0x13e361),A(0xb,_0x399263),A(0xc,_0xb0f939),A(0xd,_0x4007f7)],pe);let Te=class extends $e{constructor(_0x10d78c,_0x1f721d,_0xc2ca1,_0x4e1e1f,_0x456d90,_0x4692c9,_0xd76544,_0x407c67,_0xf1deaf,_0x1cda07,_0x276b05){const _0x1e2aa0=_0x241173;super(_0x10d78c,_0x1f721d,_0xc2ca1,[],_0x4e1e1f,_0x407c67,_0x276b05,_0x4692c9,_0xd76544),g(this,_0x1e2aa0(0x452),_0x1e2aa0(0x2e7)),g(this,_0x1e2aa0(0x451),0x0),g(this,_0x1e2aa0(0x3d2)),g(this,_0x1e2aa0(0x383)),(this[_0x1e2aa0(0x414)]=_0x456d90,this[_0x1e2aa0(0x318)]=_0xf1deaf,this[_0x1e2aa0(0x39d)]=_0x1cda07);}[_0x241173(0x3d1)](_0x617180){const _0x55e761=_0x241173;this[_0x55e761(0x552)]();const _0x37bb55=this[_0x55e761(0x414)][_0x55e761(0x25b)](ge,this[_0x55e761(0x4a0)],this[_0x55e761(0x40a)],this[_0x55e761(0x40c)],[_0x617180],this[_0x55e761(0x335)],this[_0x55e761(0x3d2)]);return _0x37bb55['_updateLocalCache'](),_0x37bb55;}['onRemoteChangeset'](_0x5dbe2c){const _0x1b8b24=_0x241173;if(this['_checkMissing'](_0x5dbe2c))return this[_0x1b8b24(0x552)](),this[_0x1b8b24(0x414)]['createInstance'](he,this[_0x1b8b24(0x4a0)],this[_0x1b8b24(0x40a)],this[_0x1b8b24(0x40c)],[],null,[_0x5dbe2c],this[_0x1b8b24(0x335)]);try{const _0x47ed2e=this[_0x1b8b24(0x39d)]['transformChangesets']([_0x5dbe2c],[this['_awaitingChangeset']],!0x1);if(_0x1ed796(_0x47ed2e)){const {c1Prime:_0x2f0b71,c2Prime:_0x337609}=_0x47ed2e;this['_executeRemoteChangeset'](_0x2f0b71[0x0]),_0x337609[0x0][_0x1b8b24(0x2a5)]=this['_getCurrentRevision'](),this[_0x1b8b24(0x552)]();const _0x19955e=this['_injector'][_0x1b8b24(0x25b)](Te,this[_0x1b8b24(0x4a0)],this[_0x1b8b24(0x40a)],_0x337609[0x0],this[_0x1b8b24(0x335)]);return _0x19955e['_updateLocalCache'](),_0x19955e;}return this[_0x1b8b24(0x38e)](!0x1);}catch(_0x8fbc8f){return this['_logService']['error'](_0x8fbc8f),this['_onConflict'](!0x1);}}[_0x241173(0x56d)](_0x5089c1){const _0x3757c7=_0x241173;this['_clearScheduledTask']();const _0x56cacb=this[_0x3757c7(0x44d)][_0x3757c7(0x4fe)](this[_0x3757c7(0x4a0)]);if(_0x5089c1['revision']<_0x56cacb-0x1)return this;if(this[_0x3757c7(0x317)](_0x5089c1))return this[_0x3757c7(0x414)][_0x3757c7(0x25b)](he,this[_0x3757c7(0x4a0)],this[_0x3757c7(0x40a)],null,[],this[_0x3757c7(0x40c)],[],this[_0x3757c7(0x335)]);this[_0x3757c7(0x231)]();const _0x364bda=this['_injector'][_0x3757c7(0x25b)](Fe,this[_0x3757c7(0x4a0)],this[_0x3757c7(0x40a)],this[_0x3757c7(0x335)]);return _0x364bda[_0x3757c7(0x261)](),_0x364bda;}['onRemoteRej'](_0x53d126){const _0x5515aa=_0x241173;return this['_onConflict'](!!(_0x53d126!=null&&_0x53d126[_0x5515aa(0x405)]));}[_0x241173(0x579)](_0x1b22ef){const _0x29ad0b=_0x241173;return this['_resendTimeout']>Ui?this[_0x29ad0b(0x385)]():(this[_0x29ad0b(0x3d2)]=Pi(this[_0x29ad0b(0x451)],{'timeout':this[_0x29ad0b(0x451)],'reqId':_0x1b22ef[_0x29ad0b(0x219)]}),this[_0x29ad0b(0x383)]=this[_0x29ad0b(0x3d2)][_0x29ad0b(0x31f)](({reqId:_0x746557,timeout:_0x4161e5})=>{this['_resendWithTimeout'](_0x746557,_0x4161e5);}),this);}[_0x241173(0x385)](){const _0x4cfe03=_0x241173;return this[_0x4cfe03(0x552)](),this[_0x4cfe03(0x414)][_0x4cfe03(0x25b)](ye,this[_0x4cfe03(0x4a0)],this[_0x4cfe03(0x40a)],this[_0x4cfe03(0x40c)],[],this[_0x4cfe03(0x335)]);}[_0x241173(0x316)](){return this;}[_0x241173(0x44f)](){const _0x30ae2e=_0x241173;this['_handler'][_0x30ae2e(0x462)](this[_0x30ae2e(0x40c)]);}[_0x241173(0x38e)](_0x758915){const _0x582c3b=_0x241173;return this[_0x582c3b(0x552)](),this[_0x582c3b(0x414)][_0x582c3b(0x25b)](Re,this[_0x582c3b(0x4a0)],this['type'],this[_0x582c3b(0x40c)],[],this[_0x582c3b(0x335)],_0x758915);}[_0x241173(0x2c4)](_0x5335ab,_0x161312){const _0x114396=_0x241173;var _0x5a48ca;_0x5335ab===((_0x5a48ca=this[_0x114396(0x40c)])==null?void 0x0:_0x5a48ca[_0x114396(0x219)])&&(this['resend'](),this[_0x114396(0x451)]=_0x161312===0x0?0x3e8:_0x161312*0x2);}[_0x241173(0x552)](){const _0x2d35de=_0x241173;var _0x2ae7c3;(_0x2ae7c3=this[_0x2d35de(0x383)])==null||_0x2ae7c3[_0x2d35de(0x4e0)](),this[_0x2d35de(0x451)]=0x0;}};Te=Le([A(0x4,_0x1596c5(_0x59d577)),A(0x5,_0x1596c5(_0x3fbb34)),A(0x6,_0x1596c5(q)),A(0x7,_0x289e6f),A(0x8,_0x265e7a),A(0x9,_0x399263),A(0xa,_0x4007f7)],Te);let ge=class extends $e{constructor(_0x29c577,_0xbb6637,_0x54d6aa,_0x4635c3,_0x8e2451,_0xb6049a,_0x4d5e22,_0x22acc4,_0x265d1b,_0x25c1e4,_0x5271ac,_0x4e5413,_0x10944b){const _0x4c5924=_0x241173;super(_0x29c577,_0xbb6637,_0x54d6aa,_0x4635c3,_0x8e2451,_0x25c1e4,_0x10944b,_0x22acc4,_0x265d1b),g(this,_0x4c5924(0x452),_0x4c5924(0x454)),g(this,_0x4c5924(0x451),0x0),g(this,'_resendTimer'),g(this,_0x4c5924(0x383)),(this[_0x4c5924(0x414)]=_0x4d5e22,this[_0x4c5924(0x318)]=_0x5271ac,this[_0x4c5924(0x39d)]=_0x4e5413,_0xb6049a&&(this[_0x4c5924(0x3d2)]=_0xb6049a,this[_0x4c5924(0x383)]=this['_resendTimer'][_0x4c5924(0x31f)](({reqId:_0x4bfb91,timeout:_0xf6a1c7})=>{const _0x45bf92=_0x4c5924;this[_0x45bf92(0x2c4)](_0x4bfb91,_0xf6a1c7);})));}[_0x241173(0x3d1)](_0x3b2092){const _0x171349=_0x241173;return this[_0x171349(0x51c)][_0x171349(0x42a)](_0x3b2092),this;}['onRemoteChangeset'](_0x1e4636){const _0x1f2aba=_0x241173;if(this[_0x1f2aba(0x317)](_0x1e4636))return this[_0x1f2aba(0x552)](),this[_0x1f2aba(0x414)][_0x1f2aba(0x25b)](he,this['unitID'],this[_0x1f2aba(0x40a)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1e4636],this[_0x1f2aba(0x335)]);try{const _0x4d1d31=this[_0x1f2aba(0x39d)][_0x1f2aba(0x295)]([_0x1e4636],[this[_0x1f2aba(0x40c)]],!0x1);if(_0x1ed796(_0x4d1d31)){const {c1Prime:_0x33a9c6,c2Prime:_0x4edfaa}=_0x4d1d31,_0x2bc489=this['_transformService'][_0x1f2aba(0x4c3)](_0x33a9c6[0x0],this[_0x1f2aba(0x51c)]);if(_0x18198c(_0x2bc489)){const {c1Prime:_0x545c58,m2Prime:_0x2de126}=_0x2bc489;return this['_executeRemoteChangeset'](_0x545c58),_0x4edfaa[0x0][_0x1f2aba(0x2a5)]=this[_0x1f2aba(0x529)](),this[_0x1f2aba(0x552)](),this[_0x1f2aba(0x414)]['createInstance'](ge,this[_0x1f2aba(0x4a0)],this[_0x1f2aba(0x40a)],_0x4edfaa[0x0],_0x2de126,this[_0x1f2aba(0x335)],void 0x0);}throw _0x2bc489[_0x1f2aba(0x4e3)];}throw _0x4d1d31[_0x1f2aba(0x4e3)];}catch(_0x30d1ec){return this[_0x1f2aba(0x318)][_0x1f2aba(0x4e3)](_0x30d1ec),this[_0x1f2aba(0x38e)](!0x1);}}[_0x241173(0x56d)](_0x3543cc){const _0x99da8b=_0x241173;if(this[_0x99da8b(0x552)](),this[_0x99da8b(0x317)](_0x3543cc))return this[_0x99da8b(0x414)][_0x99da8b(0x25b)](he,this[_0x99da8b(0x4a0)],this[_0x99da8b(0x40a)],null,this[_0x99da8b(0x51c)],this['_awaitingChangeset'],[],this['_handler']);this[_0x99da8b(0x231)]();const _0x3038e7=this[_0x99da8b(0x414)][_0x99da8b(0x25b)](pe,this[_0x99da8b(0x4a0)],this[_0x99da8b(0x40a)],this[_0x99da8b(0x51c)],this[_0x99da8b(0x335)]);return _0x3038e7['_schedule'](),_0x3038e7[_0x99da8b(0x261)](),_0x3038e7;}[_0x241173(0x577)](_0x5f209f){return this['_onConflict'](!!(_0x5f209f!=null&&_0x5f209f['isPermissionRej']));}[_0x241173(0x579)](_0x478fa4){const _0x3807ea=_0x241173;return this[_0x3807ea(0x451)]>Ui?this[_0x3807ea(0x385)]():(this[_0x3807ea(0x3d2)]=Pi(this[_0x3807ea(0x451)],{'timeout':this[_0x3807ea(0x451)],'reqId':_0x478fa4[_0x3807ea(0x219)]}),this[_0x3807ea(0x383)]=this['_resendTimer'][_0x3807ea(0x31f)](({reqId:_0x19736d,timeout:_0x598f87})=>{const _0x8bb726=_0x3807ea;this[_0x8bb726(0x2c4)](_0x19736d,_0x598f87);}),this);}['toggleOffline'](){const _0x578e54=_0x241173;return this['_clearScheduledTask'](),this[_0x578e54(0x414)][_0x578e54(0x25b)](ye,this['unitID'],this[_0x578e54(0x40a)],this[_0x578e54(0x40c)],this[_0x578e54(0x51c)],this['_handler']);}['toggleOnline'](){return this;}[_0x241173(0x44f)](){const _0x3141ec=_0x241173;this['_handler'][_0x3141ec(0x462)](this[_0x3141ec(0x40c)]);}['_onConflict'](_0x2dddfa){const _0x44dab1=_0x241173;return this[_0x44dab1(0x552)](),this[_0x44dab1(0x414)]['createInstance'](Re,this[_0x44dab1(0x4a0)],this[_0x44dab1(0x40a)],null,this[_0x44dab1(0x51c)],this['_handler'],_0x2dddfa);}[_0x241173(0x2c4)](_0x1a2e49,_0x346f0d){const _0xe4d67e=_0x241173;var _0x3d60fe;_0x1a2e49===((_0x3d60fe=this[_0xe4d67e(0x40c)])==null?void 0x0:_0x3d60fe['reqId'])&&(this[_0xe4d67e(0x44f)](),this['_resendTimeout']=_0x346f0d===0x0?0x3e8:_0x346f0d*0x2);}[_0x241173(0x552)](){const _0x50ef40=_0x241173;var _0x3cdd91;(_0x3cdd91=this[_0x50ef40(0x383)])==null||_0x3cdd91[_0x50ef40(0x4e0)](),this[_0x50ef40(0x451)]=0x0;}};ge=Le([A(0x6,_0x1596c5(_0x59d577)),A(0x7,_0x1596c5(_0x3fbb34)),A(0x8,_0x1596c5(q)),A(0x9,_0x289e6f),A(0xa,_0x265e7a),A(0xb,_0x399263),A(0xc,_0x4007f7)],ge);let Re=class extends $e{constructor(_0x52e96a,_0x43c644,_0x4d9d9e,_0xcea15,_0x53a2ac,_0x372a9a=!0x1,_0x27e968,_0x20fb46,_0x34e30c,_0x575e26,_0x28a850,_0xe6f0f6,_0x3dbffe){const _0x37a68f=_0x241173;super(_0x52e96a,_0x43c644,_0x4d9d9e,_0xcea15,_0x53a2ac,_0x20fb46,_0x34e30c,_0x28a850,_0x575e26),g(this,'status','conflict'),(this[_0x37a68f(0x1ce)]=_0x372a9a,this[_0x37a68f(0x47a)]=_0x27e968,this[_0x37a68f(0x30a)]=_0xe6f0f6,this[_0x37a68f(0x541)]=_0x3dbffe,this['_showConflictNotification'](),this[_0x37a68f(0x22f)](),this[_0x37a68f(0x3fb)]());}[_0x241173(0x3d1)](){return this;}[_0x241173(0x204)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x241173(0x579)](){return this;}[_0x241173(0x385)](){return this;}[_0x241173(0x316)](){return this;}[_0x241173(0x44f)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x241173(0x22f)](){const _0x4b492b=_0x241173;this[_0x4b492b(0x4c6)][_0x4b492b(0x382)](this['unitID'],this['type'],null,[]);}[_0x241173(0x3e6)](){const _0x3ea77e=_0x241173;this[_0x3ea77e(0x1ce)]?this[_0x3ea77e(0x541)][_0x3ea77e(0x348)]({'title':this['_localeService']['t'](_0x3ea77e(0x513)),'content':this[_0x3ea77e(0x30a)]['t'](_0x3ea77e(0x504)),'type':_0x3ea77e(0x4e3),'duration':0x0}):this['_notificationService']['show']({'title':this[_0x3ea77e(0x30a)]['t'](_0x3ea77e(0x212)),'content':this[_0x3ea77e(0x30a)]['t'](_0x3ea77e(0x3ce)),'type':'error','duration':0x0});}[_0x241173(0x3fb)](){const _0x577484=_0x241173;this[_0x577484(0x47a)][_0x577484(0x443)](new _0x5e1b31(this[_0x577484(0x4a0)])['id'],!0x1);}};Re=Le([A(0x6,_0x1596c5(_0x118be4)),A(0x7,_0x289e6f),A(0x8,_0x4007f7),A(0x9,_0x1596c5(q)),A(0xa,_0x1596c5(_0x3fbb34)),A(0xb,_0x1596c5(_0x48c62d)),A(0xc,_0x323c57)],Re);let ye=class extends $e{constructor(_0x3b2560,_0x14821e,_0xa47b26,_0x4ca95b,_0x31b49d,_0x1c0545,_0x81925,_0x422dba,_0x51d498,_0x195185){const _0x1b6ec8=_0x241173;super(_0x3b2560,_0x14821e,_0xa47b26,_0x4ca95b,_0x31b49d,_0x51d498,_0x195185,_0x81925,_0x422dba),g(this,_0x1b6ec8(0x452),_0x1b6ec8(0x1ed)),this[_0x1b6ec8(0x414)]=_0x1c0545;}[_0x241173(0x3d1)](_0x3abed7){const _0x2c43c2=_0x241173;return this[_0x2c43c2(0x51c)][_0x2c43c2(0x42a)](_0x3abed7),this[_0x2c43c2(0x261)](),this;}[_0x241173(0x204)](_0x22852d){const _0x1a3329=_0x241173;throw new Error(_0x1a3329(0x36c));}[_0x241173(0x56d)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x241173(0x577)](){const _0x1f3648=_0x241173;throw new Error(_0x1f3648(0x584));}[_0x241173(0x579)](){return this;}[_0x241173(0x385)](){return this;}[_0x241173(0x316)](){const _0xfe0f8=_0x241173,{_injector:_0x2cd8e1,_pendingMutations:_0x53391b,_awaitingChangeset:_0x95011b,unitID:_0x3f7d09,_handler:_0x44ea62,type:_0xcc5b9c}=this,_0x71abad=Ni(_0x2cd8e1,_0x3f7d09,_0xcc5b9c,_0x95011b,_0x53391b,_0x44ea62);return _0x71abad instanceof pe?_0x71abad[_0xfe0f8(0x325)]():(_0x71abad instanceof ge||_0x71abad instanceof Te)&&_0x71abad['resend'](),_0x71abad;}[_0x241173(0x44f)](){const _0x3b468f=_0x241173;throw new Error(_0x3b468f(0x42e));}};function _0x411e(){const _0x4cbc2b=['/-/object/-/batch_allowed','_transformSelections','roomInfos','454824ZTRRyR','setConfig','HEADER_MENU','_change$','?size=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','bind','_remoteChangesetQueue','executeCommand','min','APPLY_NON_SEQUENTIAL_REVISION','_queuedRemoteChangesets','transformMutationsWithChangeset','registerBeforeClose','fillText','_localCacheService','_handleEvent','LIVESHARE_TERMINATE','randomUUID','_tryEnsureSocket','ERROR_IMAGE','put','UUID','LICENSE_EXPORT_SIZE_EXCEEDED','makeDirty','getFocusedUnit','failed\x20to\x20apply\x20missed\x20changesets!','BufferedBlockAlgorithm','status$','currentTheme$','find','_nDataBytes','_color','SHA1','path','_listenToOfflineEvent','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','FAIL','_getSheetObject','setUndoRedoMutationParamsCache','eventID','unsubscribe','onCommandExecuted','RECV','error','set','UPDATE_PERMISSION_OBJ','Latin1','setActiveRange','AUTHZ_URL_KEY','createDecryptor','YUUMI_UNABLE_LOAD_URL','_online','PERMISSION_DENIED','children','PasswordBasedCipher','roomMembers$','contains','_onJoinRoomEvent','\x20in\x20_schedule.','_singleActiveUnitService','_transformUndoRedoStack','moveTo','setShowComponents','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[CollaborationSessionService]:\x20socket\x20error','_docTransformIMECacheService','_scheduleCollaborationTimeoutTimer','_initUnitPermissionChange','replace','_onUserLeave','getCurrentRevOfUnit','reverse','_onMessage','_imageSourceCache','call','__esModule','permission.content','_anchorDot','objectID','isEditing','clearInterval','_socket$','_docStateChangeManagerService','editing\x20status\x20changed\x20to','setShapeProps','Utf8','USERS_ENTER','_transformIMECache','_snapshotServerService','interceptor','Could\x20not\x20dynamically\x20require\x20\x22','permission.title','addObject','_userManagerService','filter','hasher','_univerInstanceService','clamp','collab-text-range-','row','_pendingMutations','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','some','_compressMutationService','getRoom','ONLINE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Error\x20on\x20receiving\x20event','getTypeOfUnitDisposed$','_candidateSocket','auth.needGotoLoginAlert','parse','cfg','_getCurrentRevision','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initEventListeners','_getCtorByUniverType','_tryReconnect','transformStateCache','getCurrentSelections','SUBMIT_CHANGESET','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_PERMISSION_DENIED','_instanceService','DeleteRangeMoveLeftCommandId','saveChangeset','_members','_transformRemoteChangesetByStateCache','save\x20fail\x20reason\x20is\x20','update','_messageService','EvpKDF','_initDependencies','AWAITING_WITH_PENDING','unitId\x20is\x20not\x20found','deepClone','onTransformChange$','_notificationService','docStateChange$','src','exports','fill','getInterceptPoints','split','loginUrlKey','red300','complete','pauseCollaboration','entries','SerializableCipher','_docTransformSelectionsService','csShouldRetryEvent','_onLocalMutation','_invKeySchedule','_clearScheduledTask','_commandService','transformSelections','loadOfflineData','_textBubble','_saveCache','focused$','setItem','/block/','slice','16sczmle','_getScale','_eventUnsubscribe','_hover','loadSheet','getConfig','createSocket','byteLength','keySize','unit-cache-','disposeUnit','_httpService','_saveTaskMap','add','[PendingState]:\x20unhandled\x20univer\x20type:\x20','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','session.room-full','onRemoteAck','drawWith','/collaborator','labelPosition','values','_scheduleHeartbeat','_initStatusComponent','/universer-api/authz','leaveEvent','WordArray','onRemoteRej','_sheetTransformSelectionsService','onRemoteRetry','random','on-line-single','findNodePositionByCharIndex','YUUMI_URL_COL_OUT_OF_RANGE','onMouseMove','undoState','iterations','_setupBeforeClosingHandler','change$','univer-online-status-icon','[OfflineState]:\x20received\x20rejection.','BASE64','_onRemoteRetry','[CollaborationState]:\x20apply\x20error!','hovered','UPDATE_CURSOR','dispose','LICENSE_DISTRO_REJECTED','newValue','onTransformRemoteChangesetByStateCache','_handleLeaveEvent','collabStatus.offline','collaboration.single-unit.warning','_getMergeRange','searchParams','_undoRedoService','getActiveSheet','substr','OTHER_CLIENTS_EDITING','APPLY_REJECT','m2Prime','size','_socketService','Univer','HttpImport','session.collaboration-timeout','Base','_collaborationPaused','getUnhiddenWorksheets','getUnitOnRev','lineTo','changesets','LIVESHARE_FETCH_OPERATIONS','_ws','_getSendChangesetTimeout','message$','JOINING','subUnitId','setParam','words','_drawRectRange','disableLocalCache','_scene','xlink:href','next','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_scheduleTimestamp','_draw','78zfCUKO','UNRECOGNIZED','_throwTelemetryCollaborationNewChangeset','updatePermissionObjEvent','collab-text-anchor-','UnitEmbedded','123555YNSpNS','algo','msCrypto','evenodd','has','OffLineSingle','MUTATION','_decreaseWaiting','online','body','attrs','defs','getWorkbookSelections','doc.mutation.rich-text-editing','sessionStatus','_sendHeartbeatTimer','subscribeEvent','readInt32LE','snapshot','_unitOnClients','COMPRESS_MUTATION_APPLY','visibilityState','_redoStacks','getParam','uploadFileServerUrl','_HTTPService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_lockTransition','getCellPositionByOffset','getSheetBlock','listRoles','SYNCED','floor','charCodeAt','_handleHeartbeatEvent','_beforeCloseService','unshift','_sheetSkeletonManagerService','_socketMessageSubscription','NOT_COLLAB','getUnit','visibilitychange','cursorInfo$','fetchMiss','getResourcesRequest','/allowed','listCollaborators','_isPermissionRej','getDocRanges','updateMember','FromArray','_onCombEvent','LIVESHARE_REQUEST_HOST','with','processBlock','OFFLINE','asObservable','_refreshCollabCursors','2899836NPiRgC','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getMergeData','unknown','state$','_collaborationSessionService','onMissingChangesets','_oKey','_collabCursorState$','__creator','YUUMI_RATE_OVER_LIMIT','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','JOIN','INGEST','getItem','_colorAssignService','registerRenderModule','POST','NEW_CHANGESETS','_selfUnitIDs','offline','HttpExport','HmacSHA1','pushState','getCurrentUser','measureText','SNAPSHOT_URL_KEY','allowed','SUCCUSS','Hex','_doCryptBlock','_collaborationTimeoutTimer','session.will-retry','urlChange$','closeSession','_snapshotService','Encryptor','cursorInfo','getActiveRange','shouldCloseConn','location','IDLE','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onRemoteChangeset','skeleton','addObjects','blockSize','now','UNIVER_DOC','COMPRESS_MUTATION_SEND','INVALID_ARGUMENT','__Key__','symbol','/rev/','deleteCollaborator','disposeWithMe','_drawTextRange','conflict.title','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','abs','authzUrl','transformUndoRedo','AES','range','reqId','_minBufferSize','univer-offline','on-line-single_clip0_910_349','_listenToOnlineEvent','_iKey','_themeService','HEARTBEAT_TIMEOUT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','1720054uDadFK','join','collaboration-client.config','_drawAnchor','_labelPosition','_iv','batchAllowed','_toggleOnline','purple300','collabWebSocketUrl','color','sheetID','UnitSnapshot','_clearLocalCache','session.connection-failed','_incrementRevisionNumber','snapshotServerUrl','_startCollaboration','LEAVE','_onRecvEvent','_roomMembers','rgba(255,\x20255,\x20255,\x200.01)','subunit','registerOnClose','_getSnapshotAPIPrefix','pad','NoPadding','getSkeleton','/universer-api/snapshot','collabCursorState$','clearTimeout','get','_replayCachedMutations','Base64','state','collabStatus.notCollab','$super','CHANGESET_REJ','univer-pro.collaboration-client.single-active-unit-service','_DEC_XFORM_MODE','execute','UNIVER_UNKNOWN','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getUndoRedoMutationParamsCache','SHOULD_CLOSE_CONN','_onRemoteChangeset','/universer-api/oidc/authpage','HELLO','font','#fff','[DataLoaderController]','_initCloseConn','APPLY_DUPLICATED','sid','_append','reconnect','url','createInstance','members','collab-rect-range-','CONNECTOR_DATA_TOO_LARGE','_entities','originalMeta','_updateLocalCache','result','_disabled','createElement','setStateCache','createEncryptor','restore','startRow','revision','_updateLocalCursor','_cursorShapes','collabStatus.synced','/object/','_unitID','conflict','colorChannel1','[UniverCollaborationClientPlugin]','enableSingleActiveInstanceLock','getSheetBySheetId','_sendingTimer','endColumn','uni.network.url-service','DEFAULT_FILE_NAME','decrypt','_scheduleSaving','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','byteOffset','then','_getSaveTimeout','_data','startColumn','objectType','_memberService','transform','href','fillRule','error$','replaceDocRanges','fetching\x20missing\x20changesets\x20from\x20','getTypeOfUnitAdded$','collaMsg','UNDEFINED','_getDownloadEndpointURL','image/jpeg','width','_send','getValue','univer-online-status','none','_clearUndo','_undoStacks','round','transformChangesets','pluginName','_state','_changesetReqId','_keyPriorReset','collabStatus.conflict','LIVESHARE_OPERATION','reset','className','catch','rev','246GMuASv','376228WdRXep','incrementRevOfUnit','confirm','_keySchedule','baseRev','setAlpha','getRandomValues','_substituteUndoStack','APPLY_REVISION_CONFILICT','NO_OTHER_CLIENTS_EDITING','_hovered','exhaustSavingTask','stopTime','getOffsetConfig','_collabCursorController','_loadDoc','&assign=','translate(.97)','_sendHeartbeat','memberID','startsWith','default','encrypt','createCollaborator','onTransformSelections','target','univer-online','selections','onTransformIME','_transformRemoteChangesetByIMECache','_docTransformStateCacheService','syncEditingCollabCursor','_session','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UniverIcon','_resendWithTimeout','_submitChangeset','close$','Cipher','awaitingChangeset','_stopTelemetryCollaborationNewChangeset','_initMergeInterceptor','event$','getCollabEntity$','Undefined','/universer-api/stream/file/upload','_clearOtherTimers','max','indexOf','_clearRedo','getUnitId','encryptBlock','params','ERROR_EXCEED_SIZE','delete','save','&source=','_event$','commentUpdate$','closePath','localeService','univer-pro.collaboration-client-socket-service','_initResize','hasOwnProperty','_startSheetCollabCursor','_updateCollabCursors','[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.','_cipher','forEach','getUnitStatus$','awaiting','history','_shouldReportTelemetry','setTimeout','isActive','/fetchmissing?from=','getUnitType','collabSubmitChangesetUrl','_waitForHeartbeatResponse','_executeRemoteChangeset','_cachedData','override','_assignedColors','_createInitialStateImpl','\x0aCurrent:\x20','5326340TdxpoZ','INTERNAL_ERROR','finalize','unit','AWAITING','getOwnPropertyDescriptor','/new_changes','_reverseMap','black','refreshPermission','TEXT','YUUMI_SUBSCRIPTION_NOT_FOUND','_createHelper','hostname','11UfminK','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','reject','repeat','_registerRenderDependencies','FETCH_MISS','_localeService','onTransformState','InsertRowCommandId','getCollabEntity','mixIn','_onRemoteRejected','EXCHANGE_SIGN_URL_SERVER_URL_KEY','image/bmp','socketService','_type','signUrlServerUrl','_getAPIPrefixPath','toggleOnline','_checkMissing','_logService','_updateState','_docSyncEditingCollabCursorService','InsertColCommandId','getAncestorScale','transformRemoteChangeset','getDeserializedSheetBlock','subscribe','post','session','OpenSSL','objectActions','_registerDependencies','_schedule','sheetId','ENSURE_SNAPSHOT_EXECUTION','kdf','crypto','_replaceFileID','collabStatus.fetchMiss','length','\x20to\x20','fromCollab','submit\x20changeset\x20error!','debug','univerjs-icon\x20univerjs-icon-','/-/object/list','_mode','_sessions','_handler','getTime','/unit/','getImageSourceCache','...','storage','getStateCache','extend','_getUploadFileURL','randomBytes','onPointerEnter$','_hasher','sigBytes','_id','_nRounds','PENDING','VIEW_MAIN','patch','_createHmacHelper','show','_roomMembers$','apply','requireSession','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getRangePointData','UNKNOWN_CMD','/universer-api/file/{fileID}/sign-url','_hideTimer','append','_handleHover','list','_init','socket\x20open.','formatter','retryConnectingInterval','BlockCipherMode','[CollaborationUndoRedoService]','textRanges','_http','method','_toggleOffline','onPointerLeave$','action','activeSheet$','TOO_MANY_REQUESTS','getUniverSheetInstance','ciphertext','cmd','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getSignURL','text','c1Prime','_doFinalize','_clearCollaborationTimeoutTimer','_telemetryService','[OfflineState]:\x20received\x20changeset.','HEARTBEAT','send','endRow','_unitStatus','_hash','UNIVER_SHEET','_retryCount','\x20-\x20','BlockCipher','icon','headers','_transitionLocked','PSEUDO_FETCH_MISSING_RESULT','selection','tag','StreamCipher','_onOffline','key','height','reduce','sheets','updateOfflineData','_sender','HmacMD5','toggleOffline','close','defineProperty','_socket','resourceIDs','getCurrentUnitForType','top','Unknown\x20user','_config','_onConflict','readAsDataURL','CipherParams','pipe','_transformPreviousActiveRange','HMAC','padding','[PendingState]:\x20received\x20rejection.','CONFLICT','duration','_getAPIPrefix','UNIVER_PROJECT','_onConnectionFailed','clipPath','1em','_transformService','off-line-single_clip0_910_343','#FFF','_rescheduleHeartbeat','responseType','_getAnchorBounding','beginPath','every','socket\x20close','open$','backgroundColor','ranges','InsertRangeMoveDownCommandId','_configService','CHANGESET_SHOULD_RETRY','_loadSheet','csRejEvent','_render','compute','_docSkeletonManagerService','getMember','collabStatus.syncing','_unlockTransition','_onCursorDelete','hide','_heartbeatTimer','_cursor','_commentUpdate$','setCurrentUser','_onRefRangeChange','InsertRangeMoveRightCommandId','LICENSE_MAX_UNITS_EXCEEDED','_createSocket','_setupSubUnitSync','_cursors','charAt','_scheduleClearOtherTimer','RemoveColCommandId','_getLoginPath','SNAPSHOT_SERVER_URL_KEY','workbook','_prevBlock','_acknowledgedAwaitingChangeset','M0\x200H16V16H0z','synced','transformMutation','requestParams','_updateURLWithCurrentState','includes','conflict.content','_parse','mutations','appendMutation','_resendTimer','registerHTTPInterceptor','RemoveRowCommandId','all','PERMISSION_REJ','MD5','_collabSessionService','0\x200\x2016\x2016','_status$','univer-online-status-title','MoveRangeCommandId','_createInitialState','_telemetryInfo','_clearHeartbeatTimer','url(#on-line-single_clip0_910_349)','number','onMissedChangesetFetched','mode','displayName','ALREADY_EXISTS','_showConflictNotification','x-univer-host','fillStyle','roomMembers','/universer-api/comb','enc','_backgroundColor','_onConnectionOpen','routeKey','RETRY_CONNECTING_MAX_COUNT','removeMember','Decryptor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_handleJoinEvent','defIds','idSuffix','_context','[PendingState]:\x20received\x20acknowledgement.','from','transformByState','_urlService','_disableEditing','getViewport','_onFetchMissResult','collaboration-session-retry','/role','prototype','_entityInit$','saveImage','_exhaustRemoteChangesetQueue','_initRequestHeader','isPermissionRej','actions','popstate','csAckEvent','_retryConnectingTimer','type','_refRangeService','_awaitingChangeset','_waitCount','hidden','_ENC_XFORM_MODE','unitId','FETCH_MISSING','string','_clearTimeoutTimer','_injector','generateRandomId','onload','_timeoutTimer','_createHandler','/universer-api/snapshot/','_renderManagerService','clone','m1Prime','newCsEvent','registerComponent','setWaitCount','_name','ACTIVE_UNIT_EVENT_CHANNEL','name','joinRsp','sin','getMemberID','objects','_syncEditingCollabCursorService','LICENSE_IMPORT_SIZE_EXCEEDED','function','push','url(#off-line-single_clip0_910_343)','UNAUTHENTICATED','infoRsp','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','arc','collaboration_new_changeset','lib','_removeCollabCursors','_process','_sessionStatus$','UNIVER_SLIDE','USERS_LEAVE','_cursorInfo$','userID','connection\x20error','_xformMode','_updateSubUnitFromURLParams','map','fetchThroughInterceptors','_onRemoteACK','onStateChange','_socketReady','getOwnPropertySymbols','onlineStatus','updatePermissionPoint','redoState','fromCharCode','LOGIN_URL_KEY','toString','dispose$','enableLocalCache','_getUndoStack','whenReady','DeleteRangeMoveUpCommandId','_revisionService','_ensureSubject','resend','_uiPartsService','_resendTimeout','status','c2Prime','awaiting_with_pending','OnLineSingle','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_onUserJoin','COLLAB_SUBMIT_CHANGESET_URL','init','/resources','onCommentUpdate','_transformStateCache','roles','_commentService','enableOfflineEditing','not_collab','_localStorageService','onSendChangeset','_substituteRedoStack','code','UNKNOWN_CODE','fetch_missing','liveShareNewHost','current','Warning','triggerDblclick','origin','_initStatusListener','LIVESHARE_NEW_HOST','Malformed\x20UTF-8\x20data','compose','format','addEventListener','Hasher','SNAPSHOT_HAS_BEEN_REMOVED','collaborators','COMMENT_UPDATE','_shapes','resolve','_onCursorUpdate','_startDocCollabCursor','_permissionService','COMPLETION_FINISHED','getRelativeToViewportCoord','assign','262HFRmSd','concat','MSG_FOR_ERROR','getCurrent','onReady','enableAuthServer','_removeClearOtherTimer','registerRefRange','_fetchMissChangesets','create','liveShareOperation','_applyRemoteChangeset','encodeURIComponent','Pkcs7','loadDoc','_colorIndex','splice','encode','onSyncEditingCollabCursor','image/jpg','_updateStatus','svg','onlineStatusTitle','sessionStatus$','salt','ivSize','data','_state$','onTransformRemoteChangesetByIMECache','_getRedoStack','_syncEditingCollabCursor','_range','copyFileMeta','div','unitID','getCollabCursors$','onRendered','_map','_key','[CollaborationSession]','RECT','_collaborationController','ws://127.0.0.1:8000/universer-api/comb/connect','clear','stringify','capture','getRenderById','_changesetSessionId','column','_anchor','[SyncedState]:\x20received\x20rejection.','getSheetId','toRgbString','isArray'];_0x411e=function(){return _0x4cbc2b;};return _0x411e();}ye=Le([A(0x5,_0x1596c5(_0x59d577)),A(0x6,_0x1596c5(_0x3fbb34)),A(0x7,_0x1596c5(q)),A(0x8,_0x289e6f),A(0x9,_0x4007f7)],ye);let he=class extends $e{constructor(_0x49aecc,_0x41ec90,_0x143f8a,_0x3d156f,_0x2b38f7,_0x140586,_0x32dd0a,_0x4ac928,_0x3cdd70,_0x1df751,_0x345fab,_0x2608b4,_0xf7f781,_0x32d18f){const _0x44a4f7=_0x241173;super(_0x49aecc,_0x41ec90,_0x143f8a,_0x3d156f,_0x32dd0a,_0x2608b4,_0xf7f781,_0x3cdd70,_0x1df751),g(this,_0x44a4f7(0x452),_0x44a4f7(0x466)),(this[_0x44a4f7(0x3c7)]=_0x2b38f7,this['_queuedRemoteChangesets']=_0x140586,this[_0x44a4f7(0x414)]=_0x4ac928,this[_0x44a4f7(0x318)]=_0x345fab,this[_0x44a4f7(0x39d)]=_0x32d18f);}[_0x241173(0x3e2)](_0x10429b){const _0x2d8231=_0x241173;try{const _0x21a020=[..._0x10429b,...this[_0x2d8231(0x4c2)]],_0x3d109a=[this[_0x2d8231(0x40c)]||this[_0x2d8231(0x3c7)]][_0x2d8231(0x516)](_0x2a3551=>!!_0x2a3551);let _0x2a4b21,_0x588ba9;if(_0x3d109a[_0x2d8231(0x32c)]){const _0x5341c0=this[_0x2d8231(0x39d)]['transformChangesets'](_0x21a020,_0x3d109a,!0x1);if(!_0x1ed796(_0x5341c0))throw _0x5341c0[_0x2d8231(0x4e3)];_0x2a4b21=_0x5341c0[_0x2d8231(0x368)],_0x588ba9=_0x5341c0[_0x2d8231(0x453)];}else _0x2a4b21=_0x21a020,_0x588ba9=[];let _0xf8a126=this['_pendingMutations'];_0x2a4b21[_0x2d8231(0x2e5)](_0xe7ed2f=>{const _0x5b1382=_0x2d8231;let _0x102798;if(_0xf8a126[_0x5b1382(0x32c)]){const _0x5adab1=this[_0x5b1382(0x39d)][_0x5b1382(0x4c3)](_0xe7ed2f,_0xf8a126);if(!_0x18198c(_0x5adab1))throw _0x5adab1['error'];_0x102798=_0x5adab1[_0x5b1382(0x368)],_0xf8a126=_0x5adab1[_0x5b1382(0x598)];}else _0x102798=_0xe7ed2f;this[_0x5b1382(0x2f0)](_0x102798);}),this[_0x2d8231(0x3c7)]&&this[_0x2d8231(0x231)](),this['_awaitingChangeset']&&_0x588ba9[_0x2d8231(0x32c)]&&(_0x588ba9[0x0][_0x2d8231(0x2a5)]=this[_0x2d8231(0x529)]());let _0x136d26;if(this[_0x2d8231(0x40c)]&&_0xf8a126[_0x2d8231(0x32c)]!==0x0)_0x136d26=this[_0x2d8231(0x414)][_0x2d8231(0x25b)](ge,this['unitID'],this['type'],_0x588ba9[0x0],_0xf8a126,this[_0x2d8231(0x335)],void 0x0);else{if(this[_0x2d8231(0x40c)]&&_0xf8a126[_0x2d8231(0x32c)]===0x0)_0x588ba9[0x0][_0x2d8231(0x2a5)]=this[_0x2d8231(0x529)](),_0x136d26=this[_0x2d8231(0x414)][_0x2d8231(0x25b)](Te,this['unitID'],this[_0x2d8231(0x40a)],_0x588ba9[0x0],this[_0x2d8231(0x335)]);else{if(_0xf8a126[_0x2d8231(0x32c)]!==0x0){const _0x1b9d0c=this[_0x2d8231(0x414)]['createInstance'](pe,this[_0x2d8231(0x4a0)],this['type'],_0xf8a126,this[_0x2d8231(0x335)]);_0x1b9d0c[_0x2d8231(0x325)](),_0x136d26=_0x1b9d0c;}else _0x136d26=this[_0x2d8231(0x414)][_0x2d8231(0x25b)](Fe,this['unitID'],this[_0x2d8231(0x40a)],this[_0x2d8231(0x335)]);}}return _0x136d26[_0x2d8231(0x261)](),_0x136d26;}catch(_0x52c0f3){return this[_0x2d8231(0x318)][_0x2d8231(0x4e3)]('[FetchMissState]',_0x2d8231(0x4d1),_0x52c0f3),this[_0x2d8231(0x414)][_0x2d8231(0x25b)](Re,this[_0x2d8231(0x4a0)],this[_0x2d8231(0x40a)],this[_0x2d8231(0x40c)],this[_0x2d8231(0x51c)],this[_0x2d8231(0x335)],!0x1);}}[_0x241173(0x44f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x241173(0x3d1)](_0x3746f2){const _0xbdc0ff=_0x241173;return this['_pendingMutations'][_0xbdc0ff(0x42a)](_0x3746f2),this;}[_0x241173(0x204)](_0x2db4cc){const _0x4c9954=_0x241173;return this[_0x4c9954(0x4c2)][_0x4c9954(0x42a)](_0x2db4cc),this;}[_0x241173(0x56d)](_0x1435e7){const _0x439262=_0x241173;if(this['_awaitingChangeset'])return this[_0x439262(0x3c7)]=this[_0x439262(0x40c)],this[_0x439262(0x40c)]=null,this;throw new Error(_0x439262(0x24c));}[_0x241173(0x577)](_0x3e7c69){const _0x4be57f=_0x241173;return this['_onConflict'](!!(_0x3e7c69!=null&&_0x3e7c69[_0x4be57f(0x405)]));}[_0x241173(0x579)](){return this;}[_0x241173(0x385)](){const _0x16d29e=_0x241173;return this[_0x16d29e(0x414)][_0x16d29e(0x25b)](ye,this[_0x16d29e(0x4a0)],this[_0x16d29e(0x40a)],this[_0x16d29e(0x40c)],this[_0x16d29e(0x51c)],this[_0x16d29e(0x335)]);}['toggleOnline'](){return this;}[_0x241173(0x38e)](_0x2b3990){const _0x374fec=_0x241173;return this[_0x374fec(0x414)][_0x374fec(0x25b)](Re,this['unitID'],this[_0x374fec(0x40a)],this[_0x374fec(0x40c)],this[_0x374fec(0x51c)],this[_0x374fec(0x335)],_0x2b3990);}};he=Le([A(0x7,_0x1596c5(_0x59d577)),A(0x8,_0x1596c5(_0x3fbb34)),A(0x9,_0x1596c5(q)),A(0xa,_0x265e7a),A(0xb,_0x289e6f),A(0xc,_0x4007f7),A(0xd,_0x399263)],he);function Ni(_0x4ab4c3,_0x3d157d,_0x18b15b,_0x175817,_0x3de07f,_0x5dc4a6){const _0x1c80be=_0x241173;return _0x175817&&_0x3de07f[_0x1c80be(0x32c)]?_0x4ab4c3[_0x1c80be(0x25b)](ge,_0x3d157d,_0x18b15b,_0x175817,_0x3de07f,_0x5dc4a6,void 0x0):_0x175817?_0x4ab4c3[_0x1c80be(0x25b)](Te,_0x3d157d,_0x18b15b,_0x175817,_0x5dc4a6):_0x3de07f[_0x1c80be(0x32c)]?_0x4ab4c3[_0x1c80be(0x25b)](pe,_0x3d157d,_0x18b15b,_0x3de07f,_0x5dc4a6):_0x4ab4c3[_0x1c80be(0x25b)](Fe,_0x3d157d,_0x18b15b,_0x5dc4a6);}var vo=Object['defineProperty'],mo=Object[_0x241173(0x2fb)],Cs=(_0x1f078d,_0x348399,_0x15db11,_0x140330)=>{for(var _0xfb7237=_0x140330>0x1?void 0x0:_0x140330?mo(_0x348399,_0x15db11):_0x348399,_0x465086=_0x1f078d['length']-0x1,_0x24e452;_0x465086>=0x0;_0x465086--)(_0x24e452=_0x1f078d[_0x465086])&&(_0xfb7237=(_0x140330?_0x24e452(_0x348399,_0x15db11,_0xfb7237):_0x24e452(_0xfb7237))||_0xfb7237);return _0x140330&&_0xfb7237&&vo(_0x348399,_0x15db11,_0xfb7237),_0xfb7237;},H=(_0x188f51,_0x48a331)=>(_0x41bec0,_0x64aea0)=>_0x48a331(_0x41bec0,_0x64aea0,_0x188f51);let gt=class extends _0x388f6d{constructor(_0xcae1c2,_0x557769,_0x455e70,_0x4bf338,_0x336196,_0x37552b,_0x1c5e64,_0x2a2b34,_0x5be679,_0x5a6eec,_0x27d097,_0x55df47,_0x27af7e){const _0x534b71=_0x241173;super(),g(this,_0x534b71(0x499),new _0x76ce31(null)),g(this,'state$',this['_state$']['asObservable']()),g(this,_0x534b71(0x297)),g(this,_0x534b71(0x59f),!0x1),g(this,_0x534b71(0x4ad),''),g(this,_0x534b71(0x298),0x0),g(this,_0x534b71(0x4d3),this[_0x534b71(0x1dd)][_0x534b71(0x391)](_0x4d4651(_0x2876fb=>_0x2876fb?_0x2876fb[_0x534b71(0x452)]:J[_0x534b71(0x1d6)]),_0x5477e0(0x1))),g(this,_0x534b71(0x378),!0x1),g(this,_0x534b71(0x4be),[]),(this['unitID']=_0xcae1c2,this[_0x534b71(0x321)]=_0x557769,this[_0x534b71(0x313)]=_0x455e70,this[_0x534b71(0x414)]=_0x4bf338,this['_localCacheService']=_0x336196,this[_0x534b71(0x51f)]=_0x37552b,this[_0x534b71(0x30a)]=_0x1c5e64,this[_0x534b71(0x44d)]=_0x2a2b34,this['_logService']=_0x5be679,this[_0x534b71(0x553)]=_0x5a6eec,this[_0x534b71(0x53a)]=_0x27d097,this[_0x534b71(0x47a)]=_0x55df47,this[_0x534b71(0x4f3)]=_0x27af7e);}get['state'](){const _0x375ec6=_0x241173;return this[_0x375ec6(0x297)];}async['init'](){const _0x1f0269=_0x241173;if(this[_0x1f0269(0x244)])throw new Error(_0x1f0269(0x213));await this[_0x1f0269(0x354)]();}[_0x241173(0x54b)](){const _0x4006d0=_0x241173;return this[_0x4006d0(0x59f)]=!0x0,_0x5252a1(()=>{const _0x3f6bf8=_0x4006d0;this[_0x3f6bf8(0x59f)]=!0x1,this[_0x3f6bf8(0x403)]();});}[_0x241173(0x319)](_0x253c9e){const _0x554502=_0x241173;this[_0x554502(0x297)]=_0x253c9e,this[_0x554502(0x499)][_0x554502(0x5b0)](_0x253c9e);}async['_init'](){const _0x51021b=_0x241173;var _0x5c2678;this[_0x51021b(0x319)](await this[_0x51021b(0x3dd)]()),this['_singleActiveUnitService']&&((_0x5c2678=this[_0x51021b(0x4f3)])==null||_0x5c2678['editingUnit'](this[_0x51021b(0x4a0)]),this['disposeWithMe'](this[_0x51021b(0x4f3)][_0x51021b(0x2e6)](this[_0x51021b(0x4a0)])[_0x51021b(0x31f)](_0x384891=>{const _0x35eed4=_0x51021b;this[_0x35eed4(0x318)][_0x35eed4(0x330)]('[CollaborationEntity]',_0x35eed4(0x50b),_0x384891),_0x384891===wi[_0x35eed4(0x596)]?(this['_messageService'][_0x35eed4(0x348)]({'content':this['_localeService']['t'](_0x35eed4(0x590)),'type':_0x2b3cbc[_0x35eed4(0x469)]}),this[_0x35eed4(0x47a)][_0x35eed4(0x443)](new _0x5e1b31(this[_0x35eed4(0x4a0)])['id'],!0x1),this[_0x35eed4(0x47a)][_0x35eed4(0x4f6)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x5e1b31(this[_0x35eed4(0x4a0)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x669399=!0x1;return this['disposeWithMe'](this['session'][_0x51021b(0x495)][_0x51021b(0x31f)](_0xba84d1=>{const _0x396671=_0x51021b;_0xba84d1===ve[_0x396671(0x521)]?this[_0x396671(0x229)](_0x669399):_0xba84d1===ve[_0x396671(0x1d6)]&&(_0x669399=!0x0,this[_0x396671(0x35d)]());})),this[_0x51021b(0x210)](this[_0x51021b(0x321)][_0x51021b(0x2cb)][_0x51021b(0x31f)](_0x574b2e=>{const _0x1acc1f=_0x51021b;try{switch(_0x574b2e[_0x1acc1f(0x4df)]){case _0x4ac452[_0x1acc1f(0x1eb)]:{this[_0x1acc1f(0x24f)](_0x2f0b94(_0x574b2e[_0x1acc1f(0x498)]));break;}case _0x4ac452['CHANGESET_ACK']:{this[_0x1acc1f(0x43e)](_0x574b2e[_0x1acc1f(0x498)]);break;}case _0x4ac452[_0x1acc1f(0x247)]:{this[_0x1acc1f(0x30f)]();break;}case _0x4ac452[_0x1acc1f(0x3ab)]:{this[_0x1acc1f(0x586)](_0x574b2e['data']);break;}case _0x4ac452[_0x1acc1f(0x379)]:{this[_0x1acc1f(0x3fd)](_0x574b2e[_0x1acc1f(0x498)][_0x1acc1f(0x5a3)][_0x1acc1f(0x43c)](_0x15e6d2=>_0x2f0b94(_0x15e6d2)));break;}case _0x4ac452[_0x1acc1f(0x3d6)]:this[_0x1acc1f(0x30f)]({'isPermissionRej':!0x0});}}catch(_0x25ac43){throw console['error'](_0x1acc1f(0x523),_0x25ac43),_0x25ac43;}})),this['_state'];}[_0x241173(0x3b3)](){const _0x6169e5=_0x241173;this[_0x6169e5(0x378)]=!0x1;}[_0x241173(0x5d5)](){const _0x514257=_0x241173;if(this[_0x514257(0x378)])throw new Error(_0x514257(0x2e3));this[_0x514257(0x378)]=!0x0;}['_onLocalMutation'](_0x12027a){const _0x1a5f74=_0x241173;this['_lockTransition'](),this[_0x1a5f74(0x319)](this['_state']['appendMutation'](_0x12027a)),this[_0x1a5f74(0x3b3)]();}[_0x241173(0x24f)](_0x204378){const _0x2ee211=_0x241173;if(!(_0x204378[_0x2ee211(0x269)]<=this['_revisionService'][_0x2ee211(0x4fe)](this[_0x2ee211(0x4a0)]))){if(this[_0x2ee211(0x59f)]){this[_0x2ee211(0x4be)][_0x2ee211(0x42a)](_0x204378);return;}this[_0x2ee211(0x489)](_0x204378);}}[_0x241173(0x403)](){const _0x5b29e4=_0x241173;this[_0x5b29e4(0x4be)]['forEach'](_0x27406d=>this['_applyRemoteChangeset'](_0x27406d)),this['_remoteChangesetQueue']=[];}[_0x241173(0x489)](_0x1f01e5){const _0x10fe2d=_0x241173,_0x39ff1a=this[_0x10fe2d(0x51f)][_0x10fe2d(0x511)][_0x10fe2d(0x43d)](this[_0x10fe2d(0x51f)][_0x10fe2d(0x511)][_0x10fe2d(0x546)]()[_0x10fe2d(0x5ce)])(_0x1f01e5[_0x10fe2d(0x3d0)],null)||_0x1f01e5[_0x10fe2d(0x3d0)],_0x63325b={..._0x1f01e5,'mutations':_0x39ff1a};this[_0x10fe2d(0x5d5)](),this[_0x10fe2d(0x319)](this[_0x10fe2d(0x297)][_0x10fe2d(0x204)](_0x63325b)),this[_0x10fe2d(0x3b3)]();}[_0x241173(0x43e)](_0x40896f){const _0x584a5e=_0x241173;this['_lockTransition'](),this[_0x584a5e(0x319)](this[_0x584a5e(0x297)][_0x584a5e(0x56d)](_0x40896f)),this['_unlockTransition']();}[_0x241173(0x30f)](_0x690504){const _0x2ce5cd=_0x241173;this[_0x2ce5cd(0x5d5)](),this[_0x2ce5cd(0x319)](this[_0x2ce5cd(0x297)][_0x2ce5cd(0x577)](_0x690504)),this[_0x2ce5cd(0x3b3)]();}[_0x241173(0x586)](_0x112c1a){const _0x43c282=_0x241173;this[_0x43c282(0x5d5)](),this['_updateState'](this[_0x43c282(0x297)][_0x43c282(0x579)](_0x112c1a)),this[_0x43c282(0x3b3)]();}[_0x241173(0x3fd)](_0x2e4200){const _0xdc18dc=_0x241173;if(!(this['_state']instanceof he))throw new TypeError(_0xdc18dc(0x305));const _0x2f1a23=_0x2e4200[_0xdc18dc(0x43c)](_0xb0c8e6=>{const _0x21737d=_0xdc18dc,_0xd86b36=this[_0x21737d(0x51f)]['interceptor'][_0x21737d(0x43d)](this['_compressMutationService']['interceptor'][_0x21737d(0x546)]()[_0x21737d(0x5ce)])(_0xb0c8e6['mutations'],null)||_0xb0c8e6[_0x21737d(0x3d0)];return{..._0xb0c8e6,'mutations':_0xd86b36};});this[_0xdc18dc(0x5d5)](),this[_0xdc18dc(0x319)](this[_0xdc18dc(0x297)]['onMissedChangesetFetched'](_0x2f1a23)),this[_0xdc18dc(0x3b3)]();}['_toggleOffline'](){const _0x3d48cf=_0x241173;this[_0x3d48cf(0x5d5)](),this[_0x3d48cf(0x319)](this[_0x3d48cf(0x297)]['toggleOffline']()),this[_0x3d48cf(0x3b3)]();}[_0x241173(0x229)](_0x45aa78=!0x1){const _0x197fb8=_0x241173;this[_0x197fb8(0x5d5)](),this[_0x197fb8(0x319)](this[_0x197fb8(0x297)]['toggleOnline']()),this[_0x197fb8(0x3b3)]();const _0x491e1f=this[_0x197fb8(0x297)];_0x45aa78&&_0x491e1f instanceof Fe&&(this[_0x197fb8(0x5d5)](),this[_0x197fb8(0x319)](_0x491e1f[_0x197fb8(0x1ca)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x4248f7=>{const _0x55ba7a=_0x10c7;this[_0x55ba7a(0x321)][_0x55ba7a(0x495)]['pipe'](_0x3dc28c(0x1))['subscribe'](async _0x21fa8a=>{const _0x248cfc=_0x55ba7a;_0x4248f7(await this[_0x248cfc(0x2f4)](_0x21fa8a===ve[_0x248cfc(0x521)]));});});}[_0x241173(0x418)](){const _0x4c7d32=_0x241173,_0x95a92c=this[_0x4c7d32(0x4a0)];return{'onStateChange':(_0x5ae6e5,_0x191239)=>{const _0x1819a0=_0x4c7d32;if(_0x5ae6e5!==this[_0x1819a0(0x297)])throw new Error(_0x1819a0(0x51d)+_0x5ae6e5[_0x1819a0(0x452)]+'\x0aAfter:\x20'+_0x191239[_0x1819a0(0x452)]+_0x1819a0(0x2f5)+this[_0x1819a0(0x297)]['status']);this['_updateState'](_0x191239);},'onSendChangeset':_0x15a9e8=>{const _0x274fd6=_0x4c7d32;_0x15a9e8['sid']||(_0x15a9e8[_0x274fd6(0x257)]=this[_0x274fd6(0x4ad)],_0x15a9e8[_0x274fd6(0x219)]=++this[_0x274fd6(0x298)]);const _0xe53c55={'eventID':_0x4ac452[_0x274fd6(0x530)],'data':{'unitID':_0x15a9e8[_0x274fd6(0x4a0)],'unitType':this[_0x274fd6(0x313)],'changeset':_0x15a9e8,'memberID':this['session'][_0x274fd6(0x425)]()}};this[_0x274fd6(0x321)]['send'](_0xe53c55,this['unitID']);},'onMissingChangesets':({from:_0x104fc4,to:_0x3dc974})=>{const _0x4d42ac=_0x4c7d32;this[_0x4d42ac(0x318)][_0x4d42ac(0x330)]('[CollaborationEntity]',_0x4d42ac(0x287)+_0x104fc4+_0x4d42ac(0x32d)+_0x3dc974);const _0x195972={'eventID':_0x4ac452[_0x4d42ac(0x411)],'data':{'unitID':_0x95a92c,'unitType':this[_0x4d42ac(0x313)],'from':_0x104fc4,'to':_0x3dc974}};this[_0x4d42ac(0x321)][_0x4d42ac(0x36e)](_0x195972,this[_0x4d42ac(0x4a0)]);}};}async[_0x241173(0x2f4)](_0x3ab440){const _0x1722a2=_0x241173;var _0x2b4c15,_0x8e7369;const _0x4b8222=await this['_localCacheService'][_0x1722a2(0x555)](this[_0x1722a2(0x4a0)]),_0x1e92d8=(_0x2b4c15=_0x4b8222==null?void 0x0:_0x4b8222[_0x1722a2(0x3d0)])!=null?_0x2b4c15:[],_0x385055=(_0x8e7369=_0x4b8222==null?void 0x0:_0x4b8222['awaitingChangeset'])!=null?_0x8e7369:null,_0x44069c=!!(_0x385055!=null&&_0x385055[_0x1722a2(0x257)])&&!!(_0x385055!=null&&_0x385055[_0x1722a2(0x219)]);this[_0x1722a2(0x4ad)]=_0x44069c?_0x385055[_0x1722a2(0x257)]:Vr(),this[_0x1722a2(0x298)]=_0x44069c?_0x385055[_0x1722a2(0x219)]:0x0;const _0x5cd0a8=this[_0x1722a2(0x4a0)];try{this['_replayCachedMutations'](_0x385055,_0x1e92d8);}catch(_0x46a329){this[_0x1722a2(0x318)][_0x1722a2(0x4e3)](_0x46a329);}const _0x34d0cf=this[_0x1722a2(0x418)]();if(_0x3ab440){const _0x2f1e76=Ni(this[_0x1722a2(0x414)],_0x5cd0a8,this[_0x1722a2(0x313)],_0x385055,_0x1e92d8,_0x34d0cf);return _0x2f1e76 instanceof pe?_0x2f1e76[_0x1722a2(0x325)]():(_0x2f1e76 instanceof ge||_0x2f1e76 instanceof Te)&&_0x2f1e76[_0x1722a2(0x44f)](),_0x2f1e76;}return this[_0x1722a2(0x414)][_0x1722a2(0x25b)](ye,_0x5cd0a8,this['_type'],_0x385055,_0x1e92d8,_0x34d0cf);}[_0x241173(0x242)](_0x1f3407,_0x6a2d17){const _0x583384=_0x241173;var _0x49720f,_0x193ab8;const _0x564f35=this['_compressMutationService'][_0x583384(0x511)][_0x583384(0x43d)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x583384(0x5ce)]);(_0x49720f=_0x564f35((_0x1f3407==null?void 0x0:_0x1f3407['mutations'])||[],null))==null||_0x49720f['forEach'](_0x23fc92=>this['_commandService'][_0x583384(0x4bf)](_0x23fc92['id'],_0x23fc92[_0x583384(0x2d5)])),(_0x193ab8=_0x564f35(_0x6a2d17||[],null))==null||_0x193ab8[_0x583384(0x2e5)](_0x4c8021=>this[_0x583384(0x553)]['executeCommand'](_0x4c8021['id'],_0x4c8021[_0x583384(0x2d5)]));}};gt=Cs([H(0x3,_0x1596c5(_0x59d577)),H(0x4,_0x1596c5(q)),H(0x5,_0x1596c5(_0x2afa86)),H(0x6,_0x1596c5(_0x48c62d)),H(0x7,_0x1596c5(_0x3fbb34)),H(0x8,_0x265e7a),H(0x9,_0x289e6f),H(0xa,_0x3ed87c),H(0xb,_0x118be4),H(0xc,_0x164486(Rt))],gt);let ts=class extends gt{constructor(_0x4428c6,_0xc46498,_0x3dd919,_0x997fed,_0xe6100,_0x933bed,_0x2632de,_0x57d01d,_0x229ec0,_0x349a5e,_0x2bda76,_0x3d274,_0x4e4d25,_0x4e4130,_0x13a5b0,_0xe960c,_0x170c42,_0x28a8ed){const _0x25b40c=_0x241173;super(_0x4428c6,_0x3dd919,_0xc46498,_0x997fed,_0xe6100,_0x933bed,_0x2632de,_0x57d01d,_0x4e4130,_0x13a5b0,_0xe960c,_0x170c42,_0x28a8ed),this[_0x25b40c(0x4a0)]=_0x4428c6,this[_0x25b40c(0x40a)]=_0xc46498,this[_0x25b40c(0x50a)]=_0x229ec0,this[_0x25b40c(0x4f9)]=_0x349a5e,this['_docTransformStateCacheService']=_0x2bda76,this[_0x25b40c(0x54e)]=_0x3d274,this[_0x25b40c(0x31a)]=_0x4e4d25;}['_createHandler'](){const _0x13bef7=_0x241173,_0x17feb6=super[_0x13bef7(0x418)]();return _0x17feb6['onTransformIME']=_0xdc1a21=>this[_0x13bef7(0x4f9)]['transformIMECache'](_0xdc1a21),_0x17feb6['onTransformState']=_0x550f73=>this[_0x13bef7(0x2bf)]['transformStateCache'](_0x550f73),_0x17feb6[_0x13bef7(0x2b9)]=_0x168ece=>this[_0x13bef7(0x54e)][_0x13bef7(0x554)](_0x168ece),_0x17feb6[_0x13bef7(0x490)]=_0x2d8e6d=>this[_0x13bef7(0x31a)][_0x13bef7(0x2c0)](_0x2d8e6d),_0x17feb6[_0x13bef7(0x49a)]=_0x2d09a2=>this[_0x13bef7(0x4f9)][_0x13bef7(0x31d)](_0x2d09a2),_0x17feb6[_0x13bef7(0x58d)]=_0x551f67=>this[_0x13bef7(0x2bf)][_0x13bef7(0x31d)](_0x551f67),_0x17feb6;}async[_0x241173(0x354)](){const _0x31bcd6=_0x241173,_0x5f4bc8=await super[_0x31bcd6(0x354)]();return this['_docStateChangeManagerService'][_0x31bcd6(0x542)]['pipe'](_0x52fe01(this[_0x31bcd6(0x448)]))[_0x31bcd6(0x31f)](_0x210685=>{const _0x15bb62=_0x31bcd6;if(_0x210685==null)return;const {unitId:_0x19a94e,redoState:_0x496764,commandId:_0x27fc75}=_0x210685;if(_0x19a94e!==this[_0x15bb62(0x4a0)])return;const _0x50f2ae={'id':_0x27fc75,'type':_0xb9bad3[_0x15bb62(0x5c0)],'params':{'unitId':_0x19a94e,'actions':_0x496764['actions'],'textRanges':null}};this[_0x15bb62(0x550)](_0x50f2ae);}),_0x5f4bc8;}};ts=Cs([H(0x3,_0x1596c5(_0x59d577)),H(0x4,_0x1596c5(q)),H(0x5,_0x1596c5(_0x2afa86)),H(0x6,_0x1596c5(_0x48c62d)),H(0x7,_0x1596c5(_0x3fbb34)),H(0x8,_0x1596c5(_0xeca7f6)),H(0x9,_0x1596c5(ft)),H(0xa,_0x1596c5(mt)),H(0xb,_0x1596c5(pt)),H(0xc,_0x1596c5(Is)),H(0xd,_0x265e7a),H(0xe,_0x289e6f),H(0xf,_0x3ed87c),H(0x10,_0x118be4),H(0x11,_0x164486(Rt))],ts);let ss=class extends gt{constructor(_0x483c4b,_0x288758,_0x11c71c,_0x5bdc1d,_0x19baf0,_0x3212ec,_0x5da9ae,_0x1a6982,_0x1ed90f,_0x51c25b,_0x43b3f5,_0x271e4c,_0x53e8b6,_0x3ffe81){const _0x4df590=_0x241173;super(_0x483c4b,_0x11c71c,_0x288758,_0x5bdc1d,_0x19baf0,_0x3212ec,_0x5da9ae,_0x1a6982,_0x51c25b,_0x43b3f5,_0x271e4c,_0x53e8b6,_0x3ffe81),this[_0x4df590(0x4a0)]=_0x483c4b,this[_0x4df590(0x40a)]=_0x288758,this[_0x4df590(0x578)]=_0x1ed90f;}[_0x241173(0x418)](){const _0x553dd8=_0x241173,_0x2f891d=super[_0x553dd8(0x418)]();return _0x2f891d[_0x553dd8(0x2b9)]=_0x26f9cf=>this[_0x553dd8(0x578)][_0x553dd8(0x554)](_0x26f9cf),_0x2f891d;}async[_0x241173(0x354)](){const _0x11aa18=_0x241173,_0x1c5e07=await super['_init']();return this[_0x11aa18(0x210)](this[_0x11aa18(0x553)][_0x11aa18(0x4e1)]((_0x10789e,_0x546488)=>{const _0x52e6aa=_0x11aa18;if(_0x10789e[_0x52e6aa(0x40a)]!==_0xb9bad3[_0x52e6aa(0x5c0)]||_0x546488!=null&&_0x546488[_0x52e6aa(0x32e)]||_0x546488!=null&&_0x546488['onlyLocal'])return;const _0x17dbdb=_0x10789e['params'];if((_0x17dbdb==null?void 0x0:_0x17dbdb['unitId'])!==this[_0x52e6aa(0x4a0)])return;const _0x581e65=_0x10789e,_0x438f24=this[_0x52e6aa(0x51f)][_0x52e6aa(0x511)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x52e6aa(0x511)]['getInterceptPoints']()[_0x52e6aa(0x20a)])([_0x581e65],null)||[_0x581e65];this[_0x52e6aa(0x550)](_0x438f24[0x0]);})),_0x1c5e07;}};ss=Cs([H(0x3,_0x1596c5(_0x59d577)),H(0x4,_0x1596c5(q)),H(0x5,_0x1596c5(_0x2afa86)),H(0x6,_0x1596c5(_0x48c62d)),H(0x7,_0x1596c5(_0x3fbb34)),H(0x8,_0x1596c5(vt)),H(0x9,_0x265e7a),H(0xa,_0x289e6f),H(0xb,_0x3ed87c),H(0xc,_0x118be4),H(0xd,_0x164486(Rt))],ss);var po=Object[_0x241173(0x387)],go=Object[_0x241173(0x2fb)],So=(_0x3a6b88,_0x3efe9f,_0x2a11b6,_0x19b8cc)=>{for(var _0x5bcc62=_0x19b8cc>0x1?void 0x0:_0x19b8cc?go(_0x3efe9f,_0x2a11b6):_0x3efe9f,_0x1de988=_0x3a6b88['length']-0x1,_0x5ca584;_0x1de988>=0x0;_0x1de988--)(_0x5ca584=_0x3a6b88[_0x1de988])&&(_0x5bcc62=(_0x19b8cc?_0x5ca584(_0x3efe9f,_0x2a11b6,_0x5bcc62):_0x5ca584(_0x5bcc62))||_0x5bcc62);return _0x19b8cc&&_0x5bcc62&&po(_0x3efe9f,_0x2a11b6,_0x5bcc62),_0x5bcc62;},xt=(_0x317ccd,_0x51b92c)=>(_0x5a5654,_0x24605b)=>_0x51b92c(_0x5a5654,_0x24605b,_0x317ccd);let it=class extends _0x388f6d{constructor(_0x4f6222,_0x527bf4,_0x13d535){const _0x1f2258=_0x241173;super(),g(this,_0x1f2258(0x25f),new Map()),g(this,_0x1f2258(0x401),new _0x49f7d1()),(this['_injector']=_0x4f6222,this['_collabSessionService']=_0x527bf4,this[_0x1f2258(0x518)]=_0x13d535,this[_0x1f2258(0x354)]());}['dispose'](){const _0x2a3de1=_0x241173;super[_0x2a3de1(0x58a)](),this[_0x2a3de1(0x25f)][_0x2a3de1(0x2e5)](_0x371354=>_0x371354['dispose']()),this[_0x2a3de1(0x25f)][_0x2a3de1(0x4a9)]();}[_0x241173(0x30d)](_0x1325f2){const _0x29b6a7=_0x241173;var _0x3b560b;return(_0x3b560b=this[_0x29b6a7(0x25f)][_0x29b6a7(0x241)](_0x1325f2))!=null?_0x3b560b:null;}[_0x241173(0x2cc)](_0x4d8cbb){const _0x52f81c=_0x241173,_0x3c2c4a=this[_0x52f81c(0x30d)](_0x4d8cbb);return _0x3c2c4a?_0x11cc12(_0x3c2c4a):this['_entityInit$'][_0x52f81c(0x391)](_0x18ffd4(_0x153b59=>_0x153b59[_0x52f81c(0x4a0)]===_0x4d8cbb));}['_init'](){const _0x38bed3=_0x241173;this[_0x38bed3(0x518)][_0x38bed3(0x288)](_0x1d0ba8[_0x38bed3(0x372)])[_0x38bed3(0x391)](_0x52fe01(this[_0x38bed3(0x448)]),_0x381eaa(0x10))[_0x38bed3(0x31f)](async _0x397978=>{const _0x251d14=_0x38bed3,_0x422eb1=_0x397978[_0x251d14(0x2d3)](),_0x86d6d8=await this['_startCollaboration'](_0x422eb1,ce[_0x251d14(0x372)]);this[_0x251d14(0x25f)][_0x251d14(0x4e4)](_0x422eb1,_0x86d6d8);}),this[_0x38bed3(0x518)][_0x38bed3(0x288)](_0x1d0ba8[_0x38bed3(0x209)])[_0x38bed3(0x391)](_0x52fe01(this[_0x38bed3(0x448)]),_0x381eaa(0x10))[_0x38bed3(0x391)](_0x18ffd4(_0x1d0ecc=>!_0x1d0ecc['getUnitId']()[_0x38bed3(0x2b5)]('__')))[_0x38bed3(0x31f)](async _0x8b453=>{const _0x50750e=_0x38bed3,_0x3c44cb=_0x8b453[_0x50750e(0x2d3)](),_0x5a8432=await this[_0x50750e(0x233)](_0x3c44cb,ce[_0x50750e(0x209)]);this[_0x50750e(0x25f)][_0x50750e(0x4e4)](_0x3c44cb,_0x5a8432);}),_0x2434f6(this['_univerInstanceService'][_0x38bed3(0x524)](_0x1d0ba8['UNIVER_SHEET']),this[_0x38bed3(0x518)][_0x38bed3(0x524)](_0x1d0ba8['UNIVER_DOC']))['pipe'](_0x52fe01(this[_0x38bed3(0x448)]))[_0x38bed3(0x31f)](_0x1c6da1=>{const _0x39c59f=_0x38bed3,_0x592931=_0x1c6da1[_0x39c59f(0x2d3)](),_0x4ee019=this[_0x39c59f(0x25f)][_0x39c59f(0x241)](_0x592931);_0x4ee019&&(_0x4ee019['dispose'](),this['_entities']['delete'](_0x592931));});}async[_0x241173(0x233)](_0x478cbe,_0x21daf4){const _0x57680c=_0x241173,_0xfd95ad=await this['_collabSessionService'][_0x57680c(0x34b)](_0x478cbe),_0x29f72f=this[_0x57680c(0x414)][_0x57680c(0x25b)](this[_0x57680c(0x52c)](_0x21daf4),_0x478cbe,_0x21daf4,_0xfd95ad);return await _0x29f72f['init'](),this['_entityInit$'][_0x57680c(0x5b0)](_0x29f72f),_0x29f72f;}['_getCtorByUniverType'](_0x21c9ae){const _0x4873ea=_0x241173;switch(_0x21c9ae){case ce[_0x4873ea(0x209)]:return ts;case ce[_0x4873ea(0x372)]:return ss;default:throw new Error(_0x4873ea(0x27a)+_0x21c9ae);}}};it=So([xt(0x0,_0x1596c5(_0x59d577)),xt(0x1,_0x1596c5(Ae)),xt(0x2,_0xb0f939)],it);const Vs=[_0x241173(0x22a),'jiqing500','verdancy600',_0x241173(0x549),'blue400','gold400'];class Es extends _0x59a5e6{constructor(){const _0x170bb8=_0x241173;super(...arguments),g(this,_0x170bb8(0x2f3),new Map()),g(this,_0x170bb8(0x48d),0x0);}['assignAColorForMemberID'](_0x4d1e2d){const _0x3933b4=_0x241173;if(this['_assignedColors']['has'](_0x4d1e2d))return this[_0x3933b4(0x2f3)]['get'](_0x4d1e2d);const _0x3c92e4=Vs[this[_0x3933b4(0x48d)]];return this[_0x3933b4(0x48d)]=(this[_0x3933b4(0x48d)]+0x1)%Vs[_0x3933b4(0x32c)],this[_0x3933b4(0x2f3)]['set'](_0x4d1e2d,_0x3c92e4),_0x3c92e4;}}var Io=Object[_0x241173(0x387)],Co=Object['getOwnPropertyDescriptor'],Eo=(_0x3a769e,_0x85cd33,_0x83f34e,_0x33ce51)=>{for(var _0x308732=_0x33ce51>0x1?void 0x0:_0x33ce51?Co(_0x85cd33,_0x83f34e):_0x85cd33,_0x4053dc=_0x3a769e['length']-0x1,_0x573abe;_0x4053dc>=0x0;_0x4053dc--)(_0x573abe=_0x3a769e[_0x4053dc])&&(_0x308732=(_0x33ce51?_0x573abe(_0x85cd33,_0x83f34e,_0x308732):_0x573abe(_0x308732))||_0x308732);return _0x33ce51&&_0x308732&&Io(_0x85cd33,_0x83f34e,_0x308732),_0x308732;},Oe=(_0x17c220,_0x4f83fa)=>(_0x2f707e,_0x19a610)=>_0x4f83fa(_0x2f707e,_0x19a610,_0x17c220);const bo=0x12c,To=0x64;let is=class extends _0x388f6d{constructor(_0x5defc2,_0x329086,_0x5271a9,_0x463054,_0x37a720,_0x3c3e9a,_0x51c836,_0x1c4a73,_0x24d66c){const _0x197356=_0x241173;super(),g(this,_0x197356(0x4eb),!0x1),g(this,_0x197356(0x354),!0x1),g(this,_0x197356(0x437),new _0x76ce31(new Map())),g(this,_0x197356(0x1c9),this[_0x197356(0x437)]['asObservable']()),g(this,'_roomMembers$',new _0x76ce31([])),g(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x12bae1(bo))),g(this,_0x197356(0x26a),_0x46098b(_0x220350=>{const _0x3a7d52=_0x197356,_0x3034bc={'eventID':_0x4ac452[_0x3a7d52(0x589)],'data':{'unitID':this['unitID'],'memberID':this[_0x3a7d52(0x2c1)]['getMemberID'](),'selection':Di(_0x220350)}};this[_0x3a7d52(0x2c1)][_0x3a7d52(0x36e)](_0x3034bc,this['unitID']);},To)),(this[_0x197356(0x4a0)]=_0x5defc2,this[_0x197356(0x2c1)]=_0x329086,this['_injector']=_0x5271a9,this[_0x197356(0x1e8)]=_0x463054,this['_memberService']=_0x37a720,this['_syncEditingCollabCursorService']=_0x3c3e9a,this['_transformService']=_0x51c836,this[_0x197356(0x518)]=_0x1c4a73,this[_0x197356(0x553)]=_0x24d66c);}get[_0x241173(0x1fe)](){const _0xafac98=_0x241173;return this[_0xafac98(0x437)][_0xafac98(0x28f)]();}get[_0x241173(0x3e9)](){const _0x2b9181=_0x241173;return this[_0x2b9181(0x349)][_0x2b9181(0x28f)]();}[_0x241173(0x58a)](){const _0x10f4a6=_0x241173;super[_0x10f4a6(0x58a)](),this[_0x10f4a6(0x437)]['next'](new Map()),this['_cursorInfo$'][_0x10f4a6(0x54a)](),this['_roomMembers$']['next']([]),this[_0x10f4a6(0x349)][_0x10f4a6(0x54a)]();}[_0x241173(0x459)](){const _0x1d5bf=_0x241173;this[_0x1d5bf(0x354)]||(this[_0x1d5bf(0x354)]=!0x0,this[_0x1d5bf(0x2c1)][_0x1d5bf(0x495)][_0x1d5bf(0x391)](_0x52fe01(this[_0x1d5bf(0x448)]))[_0x1d5bf(0x31f)](_0x583ea3=>{const _0x3cf133=_0x1d5bf;_0x583ea3===ve[_0x3cf133(0x521)]?this[_0x3cf133(0x229)]():this['_toggleOffline']();}),this[_0x1d5bf(0x2c1)][_0x1d5bf(0x2cb)]['pipe'](_0x52fe01(this[_0x1d5bf(0x448)]))[_0x1d5bf(0x31f)](_0x13bde4=>{const _0x4e8dd5=_0x1d5bf,_0xf0bd2a=_0x13bde4[_0x4e8dd5(0x4df)];_0xf0bd2a===_0x4ac452[_0x4e8dd5(0x589)]&&this[_0x4e8dd5(0x478)](_0x13bde4),_0xf0bd2a===_0x4ac452[_0x4e8dd5(0x436)]&&this[_0x4e8dd5(0x3b4)](_0x13bde4);}),this[_0x1d5bf(0x210)](this[_0x1d5bf(0x553)]['onCommandExecuted'](_0x1d2a25=>{const _0x1f29c6=_0x1d5bf,_0x418b4d=_0x1d2a25[_0x1f29c6(0x2d5)];_0x418b4d!=null&&this[_0x1f29c6(0x4eb)]&&_0x1d2a25['id']===_0x48e2de['id']&&_0x418b4d['unitId']===this[_0x1f29c6(0x4a0)]&&_0x418b4d[_0x1f29c6(0x507)]===!0x1&&_0x418b4d[_0x1f29c6(0x3a8)][_0x1f29c6(0x32c)]>0x0&&this[_0x1f29c6(0x26a)](_0x418b4d[_0x1f29c6(0x3a8)]);})),this[_0x1d5bf(0x427)][_0x1d5bf(0x23f)][_0x1d5bf(0x391)](_0x52fe01(this[_0x1d5bf(0x448)]))[_0x1d5bf(0x31f)](_0x349bb9=>{const _0x49497c=_0x1d5bf;if((_0x349bb9==null?void 0x0:_0x349bb9['unitID'])!==this[_0x49497c(0x4a0)])return;const _0x1197ff={'eventID':_0x4ac452['UPDATE_CURSOR'],'data':_0x349bb9};this[_0x49497c(0x478)](_0x1197ff);}),this[_0x1d5bf(0x210)](this[_0x1d5bf(0x553)][_0x1d5bf(0x4e1)](_0x177b94=>{const _0x442c82=_0x1d5bf;if(_0x177b94[_0x442c82(0x2d5)]==null)return;const _0xc3169d=_0x177b94[_0x442c82(0x2d5)];if(_0x177b94['id']!==_0x4f4f55['id']||_0xc3169d[_0x442c82(0x410)]!==this[_0x442c82(0x4a0)])return;const _0x2dbc95={'id':_0x442c82(0x5c7),'params':_0xc3169d},_0x465882=this[_0x442c82(0x1fe)];for(const [_0x2de2fd,_0x50e546]of _0x465882){const _0x36b97f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x442c82(0x4a0)],'actions':null,'textRanges':_0x50e546[_0x442c82(0x3a8)]}},_0x142057=this[_0x442c82(0x39d)][_0x442c82(0x3ca)](_0x2dbc95,_0x36b97f,!0x1);if(_0x3ab926(_0x142057))throw _0x142057[_0x442c82(0x4e3)];_0x465882[_0x442c82(0x4e4)](_0x2de2fd,{..._0x50e546,'ranges':_0x142057['m2Prime'][_0x442c82(0x2d5)]['textRanges']});}queueMicrotask(()=>{const _0xb89a99=_0x442c82;this[_0xb89a99(0x437)][_0xb89a99(0x5b0)](_0x465882);});})));}[_0x241173(0x478)](_0x1d7843){const _0x3a1e62=_0x241173;var _0x16b19e,_0x504963;const {memberID:_0x25a039,selection:_0x2377c1}=_0x1d7843['data'],_0x60718=ro(_0x2377c1),_0x5d7494=(_0x504963=(_0x16b19e=this[_0x3a1e62(0x281)]['getMember'](this['unitID'],_0x25a039))==null?void 0x0:_0x16b19e[_0x3a1e62(0x422)])!=null?_0x504963:'Unknown\x20user',_0x76a66={'color':this[_0x3a1e62(0x1e8)]['assignAColorForMemberID'](_0x25a039),'name':_0x5d7494,'ranges':_0x60718},_0x442bf5=this['cursorInfo'];_0x442bf5[_0x3a1e62(0x4e4)](_0x25a039,_0x76a66),this[_0x3a1e62(0x437)][_0x3a1e62(0x5b0)](_0x442bf5);}[_0x241173(0x3b4)](_0x529576){const _0x140b68=_0x241173,{memberID:_0x3f6845}=_0x529576[_0x140b68(0x498)],_0x4fc159=this[_0x140b68(0x1fe)];_0x4fc159[_0x140b68(0x2d7)](_0x3f6845),this[_0x140b68(0x437)][_0x140b68(0x5b0)](_0x4fc159);}[_0x241173(0x229)](){const _0x350a22=_0x241173;var _0x32ae48;if(this[_0x350a22(0x4eb)]=!0x0,((_0x32ae48=this[_0x350a22(0x518)][_0x350a22(0x4d0)]())==null?void 0x0:_0x32ae48[_0x350a22(0x2d3)]())!==this[_0x350a22(0x4a0)])return;const _0x5a3095=this['_injector'][_0x350a22(0x241)](_0x43529d)[_0x350a22(0x1cf)]();Array['isArray'](_0x5a3095)&&_0x5a3095['length']>0x0&&this[_0x350a22(0x26a)](_0x5a3095);}[_0x241173(0x35d)](){const _0x7d7246=_0x241173;this[_0x7d7246(0x4eb)]=!0x1;}};is=Eo([Oe(0x2,_0x1596c5(_0x59d577)),Oe(0x3,_0x1596c5(Es)),Oe(0x4,_0x1596c5(Ne)),Oe(0x5,_0x1596c5(Is)),Oe(0x6,_0x399263),Oe(0x7,_0xb0f939),Oe(0x8,_0x289e6f)],is);var Ro=Object[_0x241173(0x387)],yo=Object['getOwnPropertyDescriptor'],Oo=(_0x4b6da9,_0x2428b3,_0x34d89d,_0x35e274)=>{for(var _0x84a5b4=_0x35e274>0x1?void 0x0:_0x35e274?yo(_0x2428b3,_0x34d89d):_0x2428b3,_0x359866=_0x4b6da9['length']-0x1,_0x1f83e3;_0x359866>=0x0;_0x359866--)(_0x1f83e3=_0x4b6da9[_0x359866])&&(_0x84a5b4=(_0x35e274?_0x1f83e3(_0x2428b3,_0x34d89d,_0x84a5b4):_0x1f83e3(_0x84a5b4))||_0x84a5b4);return _0x35e274&&_0x84a5b4&&Ro(_0x2428b3,_0x34d89d,_0x84a5b4),_0x84a5b4;},Be=(_0xe07f8f,_0x151650)=>(_0x4c8f8b,_0x5ceb19)=>_0x151650(_0x4c8f8b,_0x5ceb19,_0xe07f8f);const wo=0x12c,Do=0x64,Po=()=>{let _0x413b19=[],_0x232020=!0x1;return _0x969007=>{const _0x23902d=_0x10c7;_0x413b19[_0x23902d(0x42a)](_0x969007),_0x232020||(_0x232020=!0x0,setTimeout(()=>{_0x413b19['forEach'](_0x15d40e=>_0x15d40e()),_0x413b19=[],_0x232020=!0x1;}));};};let ns=class extends _0x388f6d{constructor(_0x54fea1,_0x21e14b,_0x285a57,_0x4621ba,_0x14b1ea,_0x2069d7,_0x129bdc,_0x154c9f){const _0xbf8d8b=_0x241173;super(),g(this,_0xbf8d8b(0x4eb),!0x1),g(this,_0xbf8d8b(0x354),!0x1),g(this,'_cursorInfo$',new _0x76ce31(new Map())),g(this,_0xbf8d8b(0x1c9),this[_0xbf8d8b(0x437)][_0xbf8d8b(0x1d7)]()),g(this,_0xbf8d8b(0x349),new _0x76ce31([])),g(this,_0xbf8d8b(0x4ef),this[_0xbf8d8b(0x349)][_0xbf8d8b(0x391)](_0x12bae1(wo))),g(this,_0xbf8d8b(0x26a),_0x46098b((_0x4e09a9,_0x4ecf9e)=>{const _0x21758a=_0xbf8d8b,_0xd5858d={'eventID':_0x4ac452['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x21758a(0x2c1)][_0x21758a(0x425)](),'selection':_0x37ef09(_0x4e09a9,_0x4ecf9e[_0x21758a(0x218)])}};this[_0x21758a(0x2c1)][_0x21758a(0x36e)](_0xd5858d,this['unitID']);},Do)),(this['unitID']=_0x54fea1,this[_0xbf8d8b(0x2c1)]=_0x21e14b,this['_injector']=_0x285a57,this['_colorAssignService']=_0x4621ba,this[_0xbf8d8b(0x281)]=_0x14b1ea,this[_0xbf8d8b(0x518)]=_0x2069d7,this[_0xbf8d8b(0x553)]=_0x129bdc,this['_refRangeService']=_0x154c9f);}get[_0x241173(0x1fe)](){const _0x5e8ec4=_0x241173;return this[_0x5e8ec4(0x437)][_0x5e8ec4(0x28f)]();}get[_0x241173(0x3e9)](){const _0xdcb0dc=_0x241173;return this['_roomMembers$'][_0xdcb0dc(0x28f)]();}[_0x241173(0x58a)](){const _0x185249=_0x241173;super[_0x185249(0x58a)](),this[_0x185249(0x437)]['next'](new Map()),this[_0x185249(0x437)]['complete'](),this[_0x185249(0x349)][_0x185249(0x5b0)]([]),this['_roomMembers$'][_0x185249(0x54a)]();}[_0x241173(0x459)](){const _0x100d66=_0x241173;this['_init']||(this[_0x100d66(0x354)]=!0x0,this['_session'][_0x100d66(0x495)][_0x100d66(0x391)](_0x52fe01(this[_0x100d66(0x448)]))[_0x100d66(0x31f)](_0x1f2066=>{const _0x2508c4=_0x100d66;_0x1f2066===ve[_0x2508c4(0x521)]?this['_toggleOnline']():this[_0x2508c4(0x35d)]();}),this[_0x100d66(0x2c1)]['event$'][_0x100d66(0x391)](_0x52fe01(this[_0x100d66(0x448)]))[_0x100d66(0x31f)](_0x27655e=>{const _0x1703c2=_0x100d66,_0x38468b=_0x27655e[_0x1703c2(0x4df)];_0x38468b===_0x4ac452['UPDATE_CURSOR']&&this[_0x1703c2(0x478)](_0x27655e),_0x38468b===_0x4ac452[_0x1703c2(0x436)]&&this['_onCursorDelete'](_0x27655e);}),this[_0x100d66(0x3ba)](),this['disposeWithMe'](this['_commandService'][_0x100d66(0x4e1)](_0x28c222=>{const _0x23fa2b=_0x100d66;if(this[_0x23fa2b(0x4eb)]&&_0x28c222['id']===_0x28fc2c['id']&&_0x28c222['params']['unitId']===this[_0x23fa2b(0x4a0)]){const _0x12308c=_0x28c222['params'];this['_updateLocalCursor'](_0x12308c[_0x23fa2b(0x5a9)],_0x12308c[_0x23fa2b(0x2bc)][0x0]);}})));}[_0x241173(0x478)](_0x36b298){const _0xf06f8b=_0x241173;var _0x454567,_0x39399e;const {memberID:_0x5a2f87,selection:_0x3c41e9}=_0x36b298['data'],{sheetName:_0x84c220,range:_0x32ccac}=_0x1b8bdd(_0x3c41e9),_0x505fb5={'name':(_0x39399e=(_0x454567=this[_0xf06f8b(0x281)][_0xf06f8b(0x3b1)](this['unitID'],_0x5a2f87))==null?void 0x0:_0x454567[_0xf06f8b(0x422)])!=null?_0x39399e:_0xf06f8b(0x38c),'range':this[_0xf06f8b(0x591)](_0x84c220,_0x32ccac),'sheetID':_0x84c220,'color':this[_0xf06f8b(0x1e8)]['assignAColorForMemberID'](_0x5a2f87),'selection':_0x3c41e9},_0x3e6197=this[_0xf06f8b(0x1fe)];_0x3e6197['set'](_0x5a2f87,_0x505fb5),this[_0xf06f8b(0x437)][_0xf06f8b(0x5b0)](_0x3e6197);}[_0x241173(0x3b4)](_0x11a150){const _0x167019=_0x241173,{memberID:_0x7e603c}=_0x11a150[_0x167019(0x498)],_0x58fec8=this[_0x167019(0x1fe)];_0x58fec8['delete'](_0x7e603c),this[_0x167019(0x437)][_0x167019(0x5b0)](_0x58fec8);}[_0x241173(0x591)](_0x3e4365,_0x351218){const _0x358c31=_0x241173;var _0x2165c6,_0x110227;const _0x49b5ba=(_0x110227=(_0x2165c6=this[_0x358c31(0x518)][_0x358c31(0x362)](this['unitID']))==null?void 0x0:_0x2165c6[_0x358c31(0x273)](_0x3e4365))==null?void 0x0:_0x110227[_0x358c31(0x1db)]();return(_0x49b5ba==null?void 0x0:_0x49b5ba[_0x358c31(0x4d5)](_0x126df4=>_0x34664d[_0x358c31(0x4f0)](_0x126df4,_0x351218)))||_0x351218;}[_0x241173(0x3ba)](){const _0xb1b975=_0x241173,_0x4fb818=new _0x3c5213(),_0x119972=Po(),_0x2186e2=()=>{const _0x52791c=_0x10c7;_0x4fb818[_0x52791c(0x58a)]();const _0x3b2ad6=(_0x35b54d,_0x1dd7d4,_0x1f4582,_0x9f3732)=>{const _0x5f34d6=_0x52791c;let _0x5f25b3=[];switch(_0x35b54d['id']){case _0x434fab[_0x5f34d6(0x534)]:{_0x5f25b3=_0x3610af(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x44c)]:{_0x5f25b3=_0x6f08ae(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x31b)]:{_0x5f25b3=_0x1a98c1(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3a9)]:{_0x5f25b3=_0x32e319(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3bb)]:{_0x5f25b3=_0x20aa8f(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x30c)]:{_0x5f25b3=_0x2ee68b(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3dc)]:{_0x5f25b3=_0x14656c(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3c2)]:{_0x5f25b3=_0x464faa(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3d4)]:{_0x5f25b3=_0x521c0b(_0x35b54d,_0x9f3732);break;}}const _0x29b7bd=_0x50c0fc(_0x5f25b3,_0x9f3732),_0xb0e0e9=this['cursorInfo'][_0x5f34d6(0x241)](_0x1dd7d4);if(_0xb0e0e9&&_0x29b7bd){const _0x2a5e14={..._0xb0e0e9,'range':_0x29b7bd};this[_0x5f34d6(0x1fe)]['set'](_0x1dd7d4,_0x2a5e14),_0x119972(()=>{const _0x2567ae=_0x5f34d6,_0x3defab=this['_refRangeService'][_0x2567ae(0x485)](_0x29b7bd,_0x2332e2=>(_0x3defab['dispose'](),_0x3b2ad6(_0x2332e2,_0x1dd7d4,_0x1f4582,_0x29b7bd)));_0x4fb818[_0x2567ae(0x569)](_0x3defab);});}return{'redos':[],'undos':[]};};this[_0x52791c(0x1fe)][_0x52791c(0x2e5)]((_0x3bf339,_0x12316d)=>{const _0x585fca=_0x52791c,{range:_0x781777,sheetID:_0x24b32e}=_0x3bf339,_0x4dabcf=this[_0x585fca(0x40b)][_0x585fca(0x485)](_0x781777,_0x473c96=>(_0x4dabcf[_0x585fca(0x58a)](),_0x3b2ad6(_0x473c96,_0x12316d,_0x24b32e,_0x781777)));_0x4fb818[_0x585fca(0x569)](_0x4dabcf);});};this[_0xb1b975(0x210)](_0x5252a1(this[_0xb1b975(0x437)]['subscribe'](()=>{_0x2186e2();})));}['_toggleOnline'](){const _0x49e8c1=_0x241173;var _0x5bbe35,_0x90da80;if(this[_0x49e8c1(0x4eb)]=!0x0,((_0x5bbe35=this[_0x49e8c1(0x518)][_0x49e8c1(0x4d0)]())==null?void 0x0:_0x5bbe35[_0x49e8c1(0x2d3)]())!==this[_0x49e8c1(0x4a0)])return;const _0x307f83=(_0x90da80=this[_0x49e8c1(0x414)]['get'](_0x1d5e06)[_0x49e8c1(0x52f)]())==null?void 0x0:_0x90da80[0x0],_0x2983b5=this[_0x49e8c1(0x518)][_0x49e8c1(0x38a)](_0x1d0ba8['UNIVER_SHEET'])[_0x49e8c1(0x594)]();_0x307f83&&_0x2983b5&&this['_updateLocalCursor'](_0x2983b5[_0x49e8c1(0x4b1)](),_0x307f83);}[_0x241173(0x35d)](){const _0x43ec49=_0x241173;this[_0x43ec49(0x4eb)]=!0x1;}};ns=Oo([Be(0x2,_0x1596c5(_0x59d577)),Be(0x3,_0x1596c5(Es)),Be(0x4,_0x1596c5(Ne)),Be(0x5,_0xb0f939),Be(0x6,_0x289e6f),Be(0x7,_0x1596c5(_0x902ae))],ns);var Uo=Object[_0x241173(0x387)],No=Object['getOwnPropertyDescriptor'],Ao=(_0x3e38fe,_0x30b518,_0x356b75,_0x104fcf)=>{for(var _0x1746da=_0x104fcf>0x1?void 0x0:_0x104fcf?No(_0x30b518,_0x356b75):_0x30b518,_0x2284b6=_0x3e38fe['length']-0x1,_0x3743cd;_0x2284b6>=0x0;_0x2284b6--)(_0x3743cd=_0x3e38fe[_0x2284b6])&&(_0x1746da=(_0x104fcf?_0x3743cd(_0x30b518,_0x356b75,_0x1746da):_0x3743cd(_0x1746da))||_0x1746da);return _0x104fcf&&_0x1746da&&Uo(_0x30b518,_0x356b75,_0x1746da),_0x1746da;},Lt=(_0x35cd47,_0x284314)=>(_0x59b06f,_0x4b43e6)=>_0x284314(_0x59b06f,_0x4b43e6,_0x35cd47);let Ve=class extends _0x388f6d{constructor(_0x3cc490,_0x3aa504,_0xdad676){const _0x4fb440=_0x241173;super(),g(this,_0x4fb440(0x25f),new Map()),g(this,'_entityInit$',new _0x49f7d1()),(this[_0x4fb440(0x518)]=_0x3cc490,this['_injector']=_0x3aa504,this[_0x4fb440(0x3d8)]=_0xdad676,this[_0x4fb440(0x354)]());}['dispose'](){const _0x25ed17=_0x241173;super[_0x25ed17(0x58a)](),this['_entityInit$'][_0x25ed17(0x54a)](),this['_entities']['forEach'](_0x2fc596=>_0x2fc596[_0x25ed17(0x58a)]());}['getCollabCursors$'](_0x5c732f){const _0x39dd07=_0x241173;return this[_0x39dd07(0x25f)]['has'](_0x5c732f)?this[_0x39dd07(0x25f)][_0x39dd07(0x241)](_0x5c732f)[_0x39dd07(0x1c9)]:this[_0x39dd07(0x401)][_0x39dd07(0x391)](_0x439b24(_0xc9d282=>_0xc9d282[_0x39dd07(0x4a0)]===_0x5c732f),_0x1916ca(_0x364a94=>_0x364a94[_0x39dd07(0x1c9)]));}[_0x241173(0x354)](){const _0x9795d4=_0x241173;this[_0x9795d4(0x518)][_0x9795d4(0x288)](_0x1d0ba8[_0x9795d4(0x372)])[_0x9795d4(0x391)](_0x52fe01(this[_0x9795d4(0x448)]))[_0x9795d4(0x31f)](async _0x26627d=>{const _0x5679b3=_0x9795d4,_0x513a23=_0x26627d[_0x5679b3(0x2d3)](),_0x6cd1ec=await this[_0x5679b3(0x2e1)](_0x513a23);this['_entityInit$']['next'](_0x6cd1ec),this[_0x5679b3(0x25f)][_0x5679b3(0x4e4)](_0x513a23,_0x6cd1ec);}),this[_0x9795d4(0x518)][_0x9795d4(0x288)](_0x1d0ba8['UNIVER_DOC'])['pipe'](_0x52fe01(this[_0x9795d4(0x448)]))[_0x9795d4(0x391)](_0x439b24(_0x28b221=>!_0x28b221[_0x9795d4(0x2d3)]()[_0x9795d4(0x2b5)]('__')))[_0x9795d4(0x31f)](async _0x54d9cc=>{const _0x4ed95a=_0x9795d4,_0x596cbf=_0x54d9cc['getUnitId'](),_0x22db28=await this[_0x4ed95a(0x479)](_0x596cbf);this[_0x4ed95a(0x401)][_0x4ed95a(0x5b0)](_0x22db28),this[_0x4ed95a(0x25f)][_0x4ed95a(0x4e4)](_0x596cbf,_0x22db28);}),_0x2434f6(this[_0x9795d4(0x518)]['getTypeOfUnitDisposed$'](_0x1d0ba8[_0x9795d4(0x209)]),this[_0x9795d4(0x518)]['getTypeOfUnitDisposed$'](_0x1d0ba8[_0x9795d4(0x372)]))['pipe'](_0x52fe01(this[_0x9795d4(0x448)]))['subscribe'](_0x5c589e=>{const _0x5dbcfa=_0x9795d4,_0x3a174b=_0x5c589e[_0x5dbcfa(0x2d3)](),_0x43cbf8=this[_0x5dbcfa(0x25f)][_0x5dbcfa(0x241)](_0x3a174b);_0x43cbf8&&(_0x43cbf8[_0x5dbcfa(0x58a)](),this[_0x5dbcfa(0x25f)][_0x5dbcfa(0x2d7)](_0x3a174b));});}async['_startSheetCollabCursor'](_0xac4729){const _0x411efd=_0x241173,_0x3d455e=await this[_0x411efd(0x3d8)][_0x411efd(0x34b)](_0xac4729),_0x4e6c89=this[_0x411efd(0x414)][_0x411efd(0x25b)](ns,_0xac4729,_0x3d455e);return _0x4e6c89['init'](),_0x4e6c89;}async[_0x241173(0x479)](_0x5a2919){const _0x551cf1=_0x241173,_0x3c6c61=await this[_0x551cf1(0x3d8)]['requireSession'](_0x5a2919),_0x649f7f=this[_0x551cf1(0x414)][_0x551cf1(0x25b)](is,_0x5a2919,_0x3c6c61);return _0x649f7f[_0x551cf1(0x459)](),_0x649f7f;}};Ve=Ao([Lt(0x0,_0xb0f939),Lt(0x1,_0x1596c5(_0x59d577)),Lt(0x2,_0x1596c5(Ae))],Ve);const nt=0x14,Gs=0xc8,$t=0x4,Mo=0x5;function xo(_0x473782,_0x87fdc7){const _0x1a45bf=_0x241173;let {radius:_0x210822,width:_0xecc4e3,height:_0x32f7cc}=_0x87fdc7;_0x210822=_0x210822!=null?_0x210822:0x0,_0xecc4e3=_0xecc4e3!=null?_0xecc4e3:0x1e,_0x32f7cc=_0x32f7cc!=null?_0x32f7cc:0x1e;let _0x3df77c=0x0,_0x50ed5b=0x0,_0x275eae=0x0;_0x3df77c=_0x50ed5b=_0x275eae=Math[_0x1a45bf(0x4c0)](_0x210822,_0xecc4e3/0x2,_0x32f7cc/0x2),_0x473782[_0x1a45bf(0x3a3)](),_0x473782[_0x1a45bf(0x4f5)](_0x3df77c,0x0),_0x473782[_0x1a45bf(0x5a2)](_0xecc4e3-_0x50ed5b,0x0),_0x473782[_0x1a45bf(0x42f)](_0xecc4e3-_0x50ed5b,_0x50ed5b,_0x50ed5b,Math['PI']*0x3/0x2,0x0,!0x1),_0x473782[_0x1a45bf(0x5a2)](_0xecc4e3,_0x32f7cc-_0x275eae),_0x473782[_0x1a45bf(0x42f)](_0xecc4e3-_0x275eae,_0x32f7cc-_0x275eae,_0x275eae,0x0,Math['PI']/0x2,!0x1),_0x473782['lineTo'](0x0,_0x32f7cc),_0x473782['lineTo'](0x0,_0x3df77c),_0x473782[_0x1a45bf(0x42f)](_0x3df77c,_0x3df77c,_0x3df77c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x473782[_0x1a45bf(0x2dc)](),_0x87fdc7['fill']&&(_0x473782['save'](),_0x473782[_0x1a45bf(0x3e8)]=_0x87fdc7[_0x1a45bf(0x545)],_0x87fdc7[_0x1a45bf(0x284)]===_0x1a45bf(0x5bd)?_0x473782[_0x1a45bf(0x545)](_0x1a45bf(0x5bd)):_0x473782[_0x1a45bf(0x545)](),_0x473782[_0x1a45bf(0x267)]());}class yt extends _0x59e4ae{constructor(_0x3dfe5e,_0x4ea2bc){const _0x2e1537=_0x241173;super(_0x3dfe5e,_0x4ea2bc),g(this,'color'),g(this,_0x2e1537(0x367)),(this[_0x2e1537(0x22c)]=_0x4ea2bc==null?void 0x0:_0x4ea2bc[_0x2e1537(0x22c)],this[_0x2e1537(0x367)]=_0x4ea2bc==null?void 0x0:_0x4ea2bc[_0x2e1537(0x367)]);}static[_0x241173(0x56e)](_0x31731d,_0xb013dd){const _0x4774e8=_0x241173,{text:_0x5c599a,color:_0x1d3265}=_0xb013dd;_0x31731d[_0x4774e8(0x2d8)](),_0x31731d[_0x4774e8(0x252)]=_0x4774e8(0x365);const _0x102659=_0x31731d[_0x4774e8(0x1f2)](_0x5c599a)[_0x4774e8(0x28d)],_0x108def=Math[_0x4774e8(0x4c0)](_0x102659+0x2*$t,Gs);xo(_0x31731d,{'height':nt,'radius':0x4,'width':_0x108def,'fill':_0x1d3265,'evented':!0x1}),_0x31731d[_0x4774e8(0x3e8)]=_0x4774e8(0x39f);const _0x5dcc30=$t,_0x41ef4a=nt-Mo,_0x2c4c20=Gs-0x2*$t;if(_0x102659>_0x2c4c20){let _0x314d96='',_0x529e72=0x0;for(const _0xb52109 of _0x5c599a){const _0xa99131=_0x31731d[_0x4774e8(0x1f2)](_0xb52109)[_0x4774e8(0x28d)];if(_0x529e72+_0xa99131<=_0x2c4c20-_0x31731d[_0x4774e8(0x1f2)](_0x4774e8(0x339))['width'])_0x314d96+=_0xb52109,_0x529e72+=_0xa99131;else{_0x314d96+='...';break;}}_0x31731d[_0x4774e8(0x4c5)](_0x314d96,_0x5dcc30,_0x41ef4a);}else _0x31731d[_0x4774e8(0x4c5)](_0x5c599a,_0x5dcc30,_0x41ef4a);_0x31731d[_0x4774e8(0x267)]();}[_0x241173(0x5b3)](_0x1e8651){const _0x454960=_0x241173;yt[_0x454960(0x56e)](_0x1e8651,this);}}const Ht=_0x241173(0x5b8),Lo=_0x241173(0x51a),$o=_0x241173(0x25d),Je=0x6,Ho=1.5,jt=0x4,jo=1.5,Bo=_0x241173(0x237);class Ys{constructor(_0x2018ba,_0x33a73c,_0x5a5f73,_0x1d9094){const _0xd51065=_0x241173;g(this,_0xd51065(0x476),[]),g(this,'_anchor',null),g(this,_0xd51065(0x556),null),g(this,_0xd51065(0x505),null),g(this,_0xd51065(0x350),null),g(this,_0xd51065(0x55e),null),(this['_cursor']=_0x2018ba,this[_0xd51065(0x5ae)]=_0x33a73c,this['_docSkeleton']=_0x5a5f73,this['_document']=_0x1d9094,this['_render']());}set[_0x241173(0x55f)](_0x523bef){const _0x43a381=_0x241173;_0x523bef?(this[_0x43a381(0x505)]&&this[_0x43a381(0x505)][_0x43a381(0x3b5)](),this[_0x43a381(0x556)]&&this[_0x43a381(0x556)][_0x43a381(0x348)]()):(this[_0x43a381(0x505)]&&this[_0x43a381(0x505)][_0x43a381(0x348)](),this[_0x43a381(0x556)]&&this['_textBubble'][_0x43a381(0x3b5)]());}[_0x241173(0x58a)](){const _0x1c8a95=_0x241173;for(const _0x31217a of this[_0x1c8a95(0x476)])_0x31217a['dispose']();this[_0x1c8a95(0x556)]&&this[_0x1c8a95(0x556)][_0x1c8a95(0x58a)](),this[_0x1c8a95(0x505)]&&this['_anchorDot'][_0x1c8a95(0x58a)](),this[_0x1c8a95(0x4af)]&&this[_0x1c8a95(0x4af)]['dispose'](),this[_0x1c8a95(0x55e)]&&this[_0x1c8a95(0x55e)]();}[_0x241173(0x3ae)](){const _0x15aa45=_0x241173;var _0x3760a8;const {_docSkeleton:_0x4ed290,_document:_0x292b92}=this,{color:_0x42f26c,name:_0x47f83f,ranges:_0x5a4241}=this[_0x15aa45(0x3b7)],_0x1ca899=_0x292b92[_0x15aa45(0x2ae)](),{docsLeft:_0x30786a,docsTop:_0x392fff}=_0x1ca899,_0x5c5911=new _0x3c1f90(_0x1ca899,_0x4ed290);for(const {startOffset:_0x1ee25a,endOffset:_0x7f910,rangeType:_0x696e1e,segmentId:_0x3e60fc,segmentPage:_0x35ff27,collapsed:_0x339b5e,isActive:_0x17bf59}of _0x5a4241){const _0x128947=_0x4ed290[_0x15aa45(0x57c)](_0x1ee25a,!0x0,_0x3e60fc,_0x35ff27);let _0x24379f=_0x4ed290[_0x15aa45(0x57c)](_0x7f910,!0x0,_0x3e60fc,_0x35ff27);if(_0x24379f==null&&(_0x24379f=_0x4ed290[_0x15aa45(0x57c)](_0x7f910-0x1,!0x1,_0x3e60fc,_0x35ff27)),_0x17bf59){const {contentBoxPointGroup:_0xe33f5e}=_0x5c5911[_0x15aa45(0x34d)](_0x24379f,_0x24379f);if(_0xe33f5e[_0x15aa45(0x32c)]===0x0)continue;this['_drawAnchor'](_0x42f26c,_0xe33f5e,_0x30786a,_0x392fff,_0x47f83f),this[_0x15aa45(0x55e)]=this[_0x15aa45(0x352)]();}if(!_0x339b5e&&_0x128947&&_0x24379f){if(_0x696e1e===_0x3aef73[_0x15aa45(0x4a6)]){const _0x10b691=new _0x357f75(_0x1ca899,_0x4ed290),{pointGroup:_0x23e57c}=(_0x3760a8=_0x10b691[_0x15aa45(0x34d)](_0x128947,_0x24379f))!=null?_0x3760a8:{};if(_0x23e57c==null||_0x23e57c[_0x15aa45(0x32c)]===0x0)continue;this['_drawRectRange'](_0x42f26c,_0x23e57c,_0x30786a,_0x392fff);}else{const {borderBoxPointGroup:_0x4a6142}=_0x5c5911[_0x15aa45(0x34d)](_0x128947,_0x24379f);if(_0x4a6142['length']===0x0)continue;this['_drawTextRange'](_0x42f26c,_0x4a6142,_0x30786a,_0x392fff);}}}}[_0x241173(0x225)](_0x3380b4,_0x1543ce,_0x2a1a06,_0x173f84,_0x4b98d3){const _0x1b9710=_0x241173,_0x37ebfb=this[_0x1b9710(0x3a2)](_0x1543ce),{left:_0x4ed2c6,top:_0x49e6fb,height:_0x57aeea}=_0x37ebfb,_0x12cb93=this[_0x1b9710(0x55d)](),_0x17b4a6=jo/_0x12cb93,_0x51004e=new _0x18878f(Ht+_0x55a7da['generateRandomId'](Je),{'left':_0x4ed2c6+_0x2a1a06-_0x17b4a6,'top':_0x49e6fb+_0x173f84,'height':_0x57aeea,'width':Ho,'fill':_0x3380b4||_0x593c52(_0x5a2aa5[_0x1b9710(0x2fe)],0x0),'strokeWidth':_0x17b4a6,'stroke':Bo,'evented':!0x0});this[_0x1b9710(0x4af)]=_0x51004e,this['_scene'][_0x1b9710(0x514)](_0x51004e,_0x2f37ba);const _0x1911b8=new _0x18878f(Ht+_0x55a7da['generateRandomId'](Je),{'left':_0x4ed2c6+_0x2a1a06-_0x17b4a6,'top':_0x49e6fb+_0x173f84-jt/0x2,'height':jt,'width':jt,'fill':_0x3380b4||_0x593c52(_0x5a2aa5[_0x1b9710(0x2fe)],0x0),'strokeWidth':0x0,'stroke':_0x3380b4||_0x593c52(_0x5a2aa5['black'],0x0),'evented':!0x1});this[_0x1b9710(0x505)]=_0x1911b8,this[_0x1b9710(0x5ae)][_0x1b9710(0x514)](_0x1911b8,_0x2f37ba);const _0x52379b=new yt(Ht+_0x55a7da[_0x1b9710(0x415)](Je),{'left':_0x4ed2c6+_0x2a1a06-_0x17b4a6,'top':_0x49e6fb+_0x173f84-nt,'text':_0x4b98d3,'color':_0x3380b4});this[_0x1b9710(0x556)]=_0x52379b,this[_0x1b9710(0x5ae)][_0x1b9710(0x514)](_0x52379b,_0x2f37ba),this['_hover']=!0x1;}[_0x241173(0x352)](){const _0x3805e2=_0x241173,_0x308dc0=this['_anchor']['onPointerEnter$'][_0x3805e2(0x5ca)](()=>{const _0x3ba503=_0x3805e2;this[_0x3ba503(0x55f)]=!0x0;}),_0x2d4acd=this[_0x3805e2(0x4af)][_0x3805e2(0x35e)][_0x3805e2(0x5ca)](()=>{const _0x3d0679=_0x3805e2;this['_hideTimer']&&clearTimeout(this[_0x3d0679(0x350)]),this['_hideTimer']=setTimeout(()=>{const _0xd035f9=_0x3d0679;this[_0xd035f9(0x55f)]=!0x1;},0x7d0);});return()=>{const _0x7331b6=_0x3805e2;_0x308dc0[_0x7331b6(0x4e0)](),_0x2d4acd['unsubscribe']();};}[_0x241173(0x211)](_0x10fc94,_0x415492,_0x574420,_0x48275a){const _0x17e2eb=_0x241173,_0x17811e=new _0x3f96b3(_0x10fc94)[_0x17e2eb(0x2a6)](0.2)[_0x17e2eb(0x4b2)](),_0x5be9d5=new _0x45347e(Lo+_0x55a7da[_0x17e2eb(0x415)](Je),{'pointsGroup':_0x415492,'fill':_0x17811e||_0x593c52(_0x5a2aa5[_0x17e2eb(0x2fe)],0.2),'left':_0x574420,'top':_0x48275a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17e2eb(0x476)][_0x17e2eb(0x42a)](_0x5be9d5),this['_scene'][_0x17e2eb(0x514)](_0x5be9d5,_0x2f37ba);}[_0x241173(0x5ac)](_0x19b22d,_0x31e70c,_0x2d9a04,_0x4c7a14){const _0x324d80=_0x241173,_0x32c754=new _0x3f96b3(_0x19b22d)[_0x324d80(0x2a6)](0.2)[_0x324d80(0x4b2)](),_0x5bd8e1=new _0x45347e($o+_0x55a7da[_0x324d80(0x415)](Je),{'pointsGroup':_0x31e70c,'fill':_0x32c754||_0x593c52(_0x5a2aa5[_0x324d80(0x2fe)],0.2),'left':_0x2d9a04,'top':_0x4c7a14,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x324d80(0x476)][_0x324d80(0x42a)](_0x5bd8e1),this['_scene']['addObject'](_0x5bd8e1,_0x2f37ba);}['_getAnchorBounding'](_0xcc9c28){const _0x3776a9=_0xcc9c28[0x0],_0x589f85=_0x3776a9[0x0],_0x52e1c6=_0x3776a9[0x2],{x:_0x3d9aed,y:_0x39e502}=_0x589f85,{x:_0x18c8e0,y:_0x416ac5}=_0x52e1c6;return{'left':_0x3d9aed,'top':_0x39e502,'width':_0x18c8e0-_0x3d9aed,'height':_0x416ac5-_0x39e502};}['_getScale'](){const _0x29dbcb=_0x241173,{scaleX:_0x2bae1c,scaleY:_0x12b328}=this['_scene']['getAncestorScale']();return Math[_0x29dbcb(0x2d0)](_0x2bae1c,_0x12b328);}}var ko=Object['defineProperty'],Wo=Object['getOwnPropertyDescriptor'],Fo=(_0x31e034,_0x2be0e,_0x12a1a4,_0x26b1da)=>{for(var _0x2934b2=_0x26b1da>0x1?void 0x0:_0x26b1da?Wo(_0x2be0e,_0x12a1a4):_0x2be0e,_0x1c7a6b=_0x31e034['length']-0x1,_0x5149e0;_0x1c7a6b>=0x0;_0x1c7a6b--)(_0x5149e0=_0x31e034[_0x1c7a6b])&&(_0x2934b2=(_0x26b1da?_0x5149e0(_0x2be0e,_0x12a1a4,_0x2934b2):_0x5149e0(_0x2934b2))||_0x2934b2);return _0x26b1da&&_0x2934b2&&ko(_0x2be0e,_0x12a1a4,_0x2934b2),_0x2934b2;},ct=(_0x31545c,_0x22cf95)=>(_0x5ce374,_0x160918)=>_0x22cf95(_0x5ce374,_0x160918,_0x31545c);let rs=class extends _0x388f6d{constructor(_0x3aa5d6,_0x1dfe57,_0xd65b49,_0xdc021c,_0x4159d8){const _0x9cf2ef=_0x241173;super(),g(this,_0x9cf2ef(0x26b),[]),g(this,_0x9cf2ef(0x3bf),[]),(this[_0x9cf2ef(0x3f6)]=_0x3aa5d6,this['_docSkeletonManagerService']=_0x1dfe57,this[_0x9cf2ef(0x2af)]=_0xd65b49,this[_0x9cf2ef(0x553)]=_0xdc021c,this[_0x9cf2ef(0x21f)]=_0x4159d8,this['_init']());}[_0x241173(0x354)](){const _0x137591=_0x241173,_0x40f6d8=this[_0x137591(0x3f6)][_0x137591(0x410)],_0x284e9d=this[_0x137591(0x3b0)];this[_0x137591(0x210)](_0x4bc3f4([this['_collabCursorController'][_0x137591(0x4a1)](_0x40f6d8),this[_0x137591(0x21f)][_0x137591(0x4d4)]])['pipe'](_0x47bd8a(([_0x367a4e,_0xea4b51])=>({'skeleton':_0x284e9d[_0x137591(0x23d)](),'cursors':[..._0x367a4e[_0x137591(0x571)]()]['flatMap'](_0x1335dc=>({..._0x1335dc,'color':_0xea4b51[_0x1335dc[_0x137591(0x22c)]]}))})))['subscribe'](_0x158a31=>{const _0x3e257b=_0x137591;if(this[_0x3e257b(0x432)](),_0x158a31){const {skeleton:_0x4477d3,cursors:_0x1c97a2}=_0x158a31;this[_0x3e257b(0x2e2)](_0x4477d3,_0x1c97a2);}})),this[_0x137591(0x2df)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x4ef333,_0x598d1c){const _0x3070d0=_0x241173,{scene:_0x4d84bd,mainComponent:_0xe8d6cb}=this['_context'],_0x3f48e5=_0x598d1c[_0x3070d0(0x43c)](_0x138754=>new Ys(_0x138754,_0x4d84bd,_0x4ef333,_0xe8d6cb));this[_0x3070d0(0x26b)]=_0x3f48e5,this[_0x3070d0(0x3bf)]=_0x598d1c;}[_0x241173(0x1d8)](){const _0x47ac79=_0x241173;this[_0x47ac79(0x432)]();const {scene:_0x27c00c,mainComponent:_0x46d168}=this[_0x47ac79(0x3f6)],_0x57d687=this['_docSkeletonManagerService'][_0x47ac79(0x23d)](),_0x2a18d9=this[_0x47ac79(0x3bf)][_0x47ac79(0x43c)](_0x20347f=>new Ys(_0x20347f,_0x27c00c,_0x57d687,_0x46d168));this[_0x47ac79(0x26b)]=_0x2a18d9;}[_0x241173(0x432)](){const _0x1c2231=_0x241173;this[_0x1c2231(0x26b)]['forEach'](_0x10a580=>_0x10a580[_0x1c2231(0x58a)]()),this[_0x1c2231(0x26b)]=[];}['_initCommandExecutedListener'](){const _0x3683cd=_0x241173,_0x13682e=[_0x5077f1['id']];this['disposeWithMe'](this[_0x3683cd(0x553)][_0x3683cd(0x4e1)](_0x18045c=>{const _0x37be8d=_0x3683cd;_0x13682e['includes'](_0x18045c['id'])&&_0x18045c['params']['unitId']===this[_0x37be8d(0x3f6)][_0x37be8d(0x410)]&&this[_0x37be8d(0x1d8)]();}));}[_0x241173(0x2df)](){const _0x53f5b0=_0x241173;this[_0x53f5b0(0x210)](_0x733a2f(this[_0x53f5b0(0x3f6)]['engine'][_0x53f5b0(0x540)])[_0x53f5b0(0x391)](_0x18ffd4(_0x23029a=>_0x23029a[_0x53f5b0(0x40a)]===_0x5220cb['resize']),_0x41bf60(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};rs=Fo([ct(0x1,_0x1596c5(_0x587a0c)),ct(0x2,_0x1596c5(Ve)),ct(0x3,_0x289e6f),ct(0x4,_0x1596c5(_0x1d15ec))],rs);const Vo=0x1,Go=1.5;class Yo extends _0x59e4ae{constructor(_0x3cffef,_0xbf21cf){const _0x2f780d=_0x241173;super(_0x3cffef,_0xbf21cf),g(this,_0x2f780d(0x4d7)),g(this,'_hovered',!0x1),g(this,_0x2f780d(0x49d)),g(this,_0x2f780d(0x420),''),g(this,_0x2f780d(0x226),'top'),g(this,_0x2f780d(0x3ec)),(_0xbf21cf&&this[_0x2f780d(0x50c)](_0xbf21cf),this[_0x2f780d(0x33f)][_0x2f780d(0x5ca)](()=>this[_0x2f780d(0x50c)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x241173(0x50c)](_0x4e5652){const _0x13401d=_0x241173;var _0x3a491a,_0x33ca6e,_0x11e108,_0x100f88,_0x47bc3e,_0x5b5166;this[_0x13401d(0x4d7)]=(_0x3a491a=_0x4e5652[_0x13401d(0x22c)])!=null?_0x3a491a:this[_0x13401d(0x4d7)],this[_0x13401d(0x2ab)]=(_0x33ca6e=_0x4e5652[_0x13401d(0x588)])!=null?_0x33ca6e:this['_hovered'],this[_0x13401d(0x49d)]=(_0x11e108=_0x4e5652[_0x13401d(0x218)])!=null?_0x11e108:this[_0x13401d(0x49d)],this[_0x13401d(0x420)]=(_0x100f88=_0x4e5652['name'])!=null?_0x100f88:this['_name'],this[_0x13401d(0x226)]=(_0x47bc3e=_0x4e5652[_0x13401d(0x570)])!=null?_0x47bc3e:this[_0x13401d(0x226)],this[_0x13401d(0x3ec)]=(_0x5b5166=_0x4e5652[_0x13401d(0x3a7)])!=null?_0x5b5166:this[_0x13401d(0x3ec)],this[_0x13401d(0x3f9)]({'width':_0x4e5652[_0x13401d(0x28d)],'height':_0x4e5652[_0x13401d(0x37f)]});}[_0x241173(0x57e)](_0xee66e8){const _0x4dd442=_0x241173,{row:_0x1a6b90,column:_0x259dac}=_0xee66e8;if(_0x1a6b90>=this[_0x4dd442(0x49d)][_0x4dd442(0x268)]&&_0x1a6b90<=this['_range'][_0x4dd442(0x36f)]&&_0x259dac>=this[_0x4dd442(0x49d)][_0x4dd442(0x27f)]&&_0x259dac<=this[_0x4dd442(0x49d)][_0x4dd442(0x275)]){this[_0x4dd442(0x50c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x241173(0x46a)](_0x1e8611){return!0x1;}[_0x241173(0x5b3)](_0x4e6715){const _0x591fe8=_0x241173;_0x18878f[_0x591fe8(0x56e)](_0x4e6715,{'width':this[_0x591fe8(0x28d)],'height':this[_0x591fe8(0x37f)],'strokeWidth':Go,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x591fe8(0x3ec)]}),this[_0x591fe8(0x2ab)]&&(_0x4e6715[_0x591fe8(0x2d8)](),_0x4e6715[_0x591fe8(0x282)](0x1,0x0,0x0,0x1,this[_0x591fe8(0x28d)],this[_0x591fe8(0x226)]==='bottom'?0x0:-nt),yt['drawWith'](_0x4e6715,{'text':this[_0x591fe8(0x420)],'color':this[_0x591fe8(0x4d7)]}),_0x4e6715[_0x591fe8(0x267)]());}}var Ko=Object[_0x241173(0x387)],zo=Object[_0x241173(0x2fb)],qo=(_0x3f6134,_0x5c5148,_0x6f9509,_0x5b3cc3)=>{const _0x1a9d11=_0x241173;for(var _0x356164=_0x5b3cc3>0x1?void 0x0:_0x5b3cc3?zo(_0x5c5148,_0x6f9509):_0x5c5148,_0x5c73e5=_0x3f6134[_0x1a9d11(0x32c)]-0x1,_0x12c9e9;_0x5c73e5>=0x0;_0x5c73e5--)(_0x12c9e9=_0x3f6134[_0x5c73e5])&&(_0x356164=(_0x5b3cc3?_0x12c9e9(_0x5c5148,_0x6f9509,_0x356164):_0x12c9e9(_0x356164))||_0x356164);return _0x5b3cc3&&_0x356164&&Ko(_0x5c5148,_0x6f9509,_0x356164),_0x356164;},Bt=(_0x59414e,_0x6b47fb)=>(_0x2b9aa8,_0x3c0b58)=>_0x6b47fb(_0x2b9aa8,_0x3c0b58,_0x59414e);const Xo=0x1389;let os=class extends _0x388f6d{constructor(_0x3e9b75,_0x16ee5d,_0x1779f3,_0x21b621){const _0x1c4bfa=_0x241173;super(),g(this,_0x1c4bfa(0x3bf),new Set()),g(this,'_lastPointer',null),(this[_0x1c4bfa(0x3f6)]=_0x3e9b75,this['_sheetSkeletonManagerService']=_0x16ee5d,this[_0x1c4bfa(0x2af)]=_0x1779f3,this[_0x1c4bfa(0x21f)]=_0x21b621,this['_init']());}['_init'](){const _0x16aaa1=_0x241173;this[_0x16aaa1(0x1c4)]['currentSkeleton$'][_0x16aaa1(0x391)](_0x2d9b28(this[_0x16aaa1(0x448)]),_0x3d5fa1(_0x4b1c37=>{const _0x39fa47=_0x16aaa1;if(_0x4b1c37){const _0x310747=_0x4b1c37[_0x39fa47(0x326)];return _0x4bc3f4(this[_0x39fa47(0x2af)][_0x39fa47(0x4a1)](this[_0x39fa47(0x3f6)][_0x39fa47(0x410)]),this[_0x39fa47(0x21f)][_0x39fa47(0x4d4)])[_0x39fa47(0x391)](_0x47bd8a(([_0x41a32f,_0x182bd9])=>{const _0x526317=_0x39fa47,_0x418110=new Map();return _0x41a32f[_0x526317(0x2e5)]((_0x4c9ea6,_0x2bac33)=>{const _0x5242b9=_0x526317;if(_0x4c9ea6[_0x5242b9(0x22d)]===_0x310747){const _0x16de13={..._0x4c9ea6};_0x16de13[_0x5242b9(0x22c)]=_0x182bd9[_0x4c9ea6[_0x5242b9(0x22c)]],_0x418110[_0x5242b9(0x4e4)](_0x2bac33,_0x16de13);}}),{'skeleton':_0x4b1c37,'cursors':_0x418110};}));}return _0x11cc12({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x508a47,cursors:_0x2a6b82})=>{const _0x6fe225=_0x16aaa1;this[_0x6fe225(0x432)](),_0x508a47&&this['_updateCollabCursors'](_0x508a47,_0x2a6b82);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x34d176=>{const _0x5b9f60=_0x16aaa1;if(_0x34d176==null)return;const {skeleton:_0xbdb439}=_0x34d176,{scene:_0x11740a}=this[_0x5b9f60(0x3f6)];_0x11740a['onPointerMove$'][_0x5b9f60(0x5ca)](_0x46098b(_0x9e64c5=>{const _0x334f9c=_0x5b9f60;var _0x46ea7a,_0x58c1f4;const {offsetX:_0x3b78a7,offsetY:_0x362c71}=_0x9e64c5,{x:_0x3b75b0,y:_0xece466}=_0x11740a[_0x334f9c(0x47c)](_0x26bac9[_0x334f9c(0x1d1)]([_0x3b78a7,_0x362c71])),{scaleX:_0x12854c,scaleY:_0x1daaa3}=_0x11740a[_0x334f9c(0x31c)](),_0x16d71f=_0x11740a[_0x334f9c(0x3fc)](_0x525f3e[_0x334f9c(0x345)]),_0x4ab414=_0x11740a['getVpScrollXYInfoByPosToVp'](_0x26bac9[_0x334f9c(0x1d1)]([_0x3b75b0,_0xece466]),_0x16d71f),_0x4d754b=_0xbdb439[_0x334f9c(0x5d6)](_0x3b78a7,_0x362c71,_0x12854c,_0x1daaa3,_0x4ab414);((_0x46ea7a=this['_lastPointer'])==null?void 0x0:_0x46ea7a[_0x334f9c(0x4ae)])===_0x4d754b[_0x334f9c(0x4ae)]&&((_0x58c1f4=this['_lastPointer'])==null?void 0x0:_0x58c1f4['row'])===_0x4d754b[_0x334f9c(0x51b)]||this['_cursors'][_0x334f9c(0x2e5)](_0x1d392a=>{const _0x2d3b10=_0x334f9c;_0x1d392a[_0x2d3b10(0x57e)](_0x4d754b);});},0x64));});}['_updateCollabCursors'](_0x4370d0,_0x128aa2){const _0x3b2097=_0x241173;var _0x1c6881;const _0x5341ad=(_0x1c6881=this[_0x3b2097(0x1c4)][_0x3b2097(0x481)]())==null?void 0x0:_0x1c6881[_0x3b2097(0x205)];if(!_0x5341ad)return;const _0x520ec9=this['_getSheetObject']();if(!_0x520ec9)return;this[_0x3b2097(0x3bf)][_0x3b2097(0x2e5)](_0x59fb68=>{const _0x4a7968=_0x3b2097;_0x59fb68[_0x4a7968(0x4cf)]();});const {scene:_0x3ab897}=_0x520ec9,_0x48f98e=Jo(Array[_0x3b2097(0x3f8)](_0x128aa2[_0x3b2097(0x571)]()))['map'](_0x3986c6=>{const _0x10aae4=_0x3b2097,{color:_0x98a442,range:_0x3d59ef,name:_0x186db0,selection:_0x46fd27,sheetID:_0x588e48}=_0x3986c6,{startColumn:_0x9d07f5,startRow:_0x4bb512,endColumn:_0x177274,endRow:_0x464537}=_0x3d59ef,_0x3e2e2e=_0x574c01(_0x4bb512,_0x9d07f5,_0x3ab897,_0x5341ad),_0xf572e7=_0x574c01(_0x464537,_0x177274,_0x3ab897,_0x5341ad),{columnHeaderHeightAndMarginTop:_0x472b79}=_0x5341ad,{startX:_0x8aaf8a,startY:_0x4efb69}=_0x3e2e2e,{endX:_0x2c656d,endY:_0x10ce88}=_0xf572e7,_0x2fb3aa=_0x2c656d-_0x8aaf8a,_0x2b90f3=_0x10ce88-_0x4efb69,_0x483147={'labelPosition':_0x4efb69-_0x472b79>=nt?_0x10aae4(0x38b):'bottom','sheetID':_0x588e48,'range':_0x3d59ef,'color':_0x98a442,'name':_0x186db0,'selection':_0x46fd27,'left':_0x8aaf8a,'top':_0x4efb69,'width':_0x2fb3aa,'height':_0x2b90f3,'evented':!0x1,'zIndex':Xo};return new Yo(_0x186db0,_0x483147);});_0x3ab897[_0x3b2097(0x206)](_0x48f98e,Vo),this[_0x3b2097(0x3bf)]=new Set(_0x48f98e);}[_0x241173(0x432)](){const _0x28e187=_0x241173;var _0x1d0ce4;(_0x1d0ce4=this['_cursors'])==null||_0x1d0ce4[_0x28e187(0x2e5)](_0x3f6f20=>_0x3f6f20['dispose']());}[_0x241173(0x4dd)](){const _0x3c72a8=_0x241173;return _0x3f7cf8(this['_context']['unit'],this[_0x3c72a8(0x3f6)]);}};os=qo([Bt(0x1,_0x1596c5(_0x24463f)),Bt(0x2,_0x1596c5(Ve)),Bt(0x3,_0x1596c5(_0x1d15ec))],os);function Jo(_0x1cafb6){const _0xab3bfa=_0x241173,_0x5d6386=new Map();return _0x1cafb6[_0xab3bfa(0x2e5)](_0x4dbe03=>{const _0x474f2=_0xab3bfa;if(_0x5d6386[_0x474f2(0x5be)](_0x4dbe03['selection'])){const _0x5c05d6=_0x5d6386[_0x474f2(0x241)](_0x4dbe03[_0x474f2(0x37a)]);_0x5c05d6[_0x474f2(0x422)]+=',\x20'+_0x4dbe03[_0x474f2(0x422)];}else _0x5d6386['set'](_0x4dbe03[_0x474f2(0x37a)],_0x4dbe03);}),Array['from'](_0x5d6386[_0xab3bfa(0x571)]());}var ee=function(){const _0x577390=_0x241173;return ee=Object[_0x577390(0x47d)]||function(_0x42dd21){const _0x1515b9=_0x577390;for(var _0x3a89d8,_0xf5ce18=0x1,_0x1d171e=arguments[_0x1515b9(0x32c)];_0xf5ce18<_0x1d171e;_0xf5ce18++){_0x3a89d8=arguments[_0xf5ce18];for(var _0x2736f4 in _0x3a89d8)Object['prototype'][_0x1515b9(0x2e0)][_0x1515b9(0x502)](_0x3a89d8,_0x2736f4)&&(_0x42dd21[_0x2736f4]=_0x3a89d8[_0x2736f4]);}return _0x42dd21;},ee['apply'](this,arguments);},Zo=function(_0x337e37,_0x1754c2){const _0x3032dd=_0x241173;var _0x3682a0={};for(var _0xa4bb28 in _0x337e37)Object[_0x3032dd(0x400)][_0x3032dd(0x2e0)][_0x3032dd(0x502)](_0x337e37,_0xa4bb28)&&_0x1754c2[_0x3032dd(0x2d1)](_0xa4bb28)<0x0&&(_0x3682a0[_0xa4bb28]=_0x337e37[_0xa4bb28]);if(_0x337e37!=null&&typeof Object[_0x3032dd(0x441)]==_0x3032dd(0x429)){for(var _0x47cc0d=0x0,_0xa4bb28=Object[_0x3032dd(0x441)](_0x337e37);_0x47cc0d<_0xa4bb28[_0x3032dd(0x32c)];_0x47cc0d++)_0x1754c2[_0x3032dd(0x2d1)](_0xa4bb28[_0x47cc0d])<0x0&&Object[_0x3032dd(0x400)]['propertyIsEnumerable'][_0x3032dd(0x502)](_0x337e37,_0xa4bb28[_0x47cc0d])&&(_0x3682a0[_0xa4bb28[_0x47cc0d]]=_0x337e37[_0xa4bb28[_0x47cc0d]]);}return _0x3682a0;},bs=_0x173554(function(_0x1eda53,_0x22c79d){const _0x2e52c7=_0x241173;var _0xebca0c=_0x1eda53['icon'],_0x438c16=_0x1eda53['id'],_0x121dd4=_0x1eda53[_0x2e52c7(0x29d)],_0x213580=_0x1eda53[_0x2e52c7(0x33c)],_0x15b398=Zo(_0x1eda53,[_0x2e52c7(0x376),'id',_0x2e52c7(0x29d),_0x2e52c7(0x33c)]),_0x14f735=_0x2e52c7(0x331)[_0x2e52c7(0x47f)](_0x438c16,'\x20')[_0x2e52c7(0x47f)](_0x121dd4||'')['trim'](),_0x54a415=_0x1a1023('_'[_0x2e52c7(0x47f)](ta()));return Ai(_0xebca0c,''[_0x2e52c7(0x47f)](_0x438c16),{'defIds':_0xebca0c['defIds'],'idSuffix':_0x54a415[_0x2e52c7(0x468)]},ee({'ref':_0x22c79d,'className':_0x14f735},_0x15b398),_0x213580);});function Ai(_0x3f462b,_0x2d14c2,_0x7b194f,_0x16e62a,_0x38e0d1){const _0xfcc9c=_0x241173;return _0x12f758(_0x3f462b[_0xfcc9c(0x37b)],ee(ee({'key':_0x2d14c2},Qo(_0x3f462b,_0x7b194f,_0x38e0d1)),_0x16e62a),(ea(_0x3f462b,_0x7b194f)[_0xfcc9c(0x4ed)]||[])[_0xfcc9c(0x43c)](function(_0x4a70f6,_0x392560){const _0x502c22=_0xfcc9c;return Ai(_0x4a70f6,''[_0x502c22(0x47f)](_0x2d14c2,'-')['concat'](_0x3f462b[_0x502c22(0x37b)],'-')[_0x502c22(0x47f)](_0x392560),_0x7b194f,void 0x0,_0x38e0d1);}));}function Qo(_0x14daec,_0x4d37d8,_0x80e0d4){const _0x21d121=_0x241173;var _0x25d239=ee({},_0x14daec[_0x21d121(0x5c4)]);_0x80e0d4!=null&&_0x80e0d4[_0x21d121(0x270)]&&_0x25d239[_0x21d121(0x545)]===_0x21d121(0x270)&&(_0x25d239[_0x21d121(0x545)]=_0x80e0d4[_0x21d121(0x270)]);var _0x20b816=_0x4d37d8[_0x21d121(0x3f4)];return!_0x20b816||_0x20b816[_0x21d121(0x32c)]===0x0||(_0x14daec[_0x21d121(0x37b)]==='use'&&_0x25d239[_0x21d121(0x5af)]&&(_0x25d239[_0x21d121(0x5af)]=_0x25d239[_0x21d121(0x5af)]+_0x4d37d8[_0x21d121(0x3f5)]),Object[_0x21d121(0x54c)](_0x25d239)[_0x21d121(0x2e5)](function(_0xac2bbf){const _0x15c5fd=_0x21d121;var _0x5ab124=_0xac2bbf[0x0],_0x1a0ee5=_0xac2bbf[0x1];typeof _0x1a0ee5=='string'&&(_0x25d239[_0x5ab124]=_0x1a0ee5[_0x15c5fd(0x4fc)](/url\(#(.*)\)/,'url(#$1'[_0x15c5fd(0x47f)](_0x4d37d8[_0x15c5fd(0x3f5)],')')));})),_0x25d239;}function ea(_0x4c91fb,_0x43a129){const _0x5d484f=_0x241173;var _0x7320c7,_0x582e39=_0x43a129[_0x5d484f(0x3f4)];return!_0x582e39||_0x582e39[_0x5d484f(0x32c)]===0x0?_0x4c91fb:_0x4c91fb[_0x5d484f(0x37b)]===_0x5d484f(0x5c5)&&(!((_0x7320c7=_0x4c91fb['children'])===null||_0x7320c7===void 0x0)&&_0x7320c7['length'])?ee(ee({},_0x4c91fb),{'children':_0x4c91fb[_0x5d484f(0x4ed)]['map'](function(_0x53087d){const _0x22bac5=_0x5d484f;return typeof _0x53087d[_0x22bac5(0x5c4)]['id']==_0x22bac5(0x412)&&_0x582e39&&_0x582e39[_0x22bac5(0x2d1)](_0x53087d[_0x22bac5(0x5c4)]['id'])>-0x1?ee(ee({},_0x53087d),{'attrs':ee(ee({},_0x53087d[_0x22bac5(0x5c4)]),{'id':_0x53087d['attrs']['id']+_0x43a129[_0x22bac5(0x3f5)]})}):_0x53087d;})}):_0x4c91fb;}function ta(){const _0xdda5e7=_0x241173;return Math[_0xdda5e7(0x57a)]()[_0xdda5e7(0x447)](0x24)['substring'](0x2,0x8);}bs['displayName']=_0x241173(0x2c3);var sa={'tag':_0x241173(0x493),'attrs':{'fill':'none','viewBox':_0x241173(0x3d9),'width':_0x241173(0x39c),'height':_0x241173(0x39c)},'children':[{'tag':'g','attrs':{'clipPath':_0x241173(0x42b)},'children':[{'tag':_0x241173(0x4d9),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x241173(0x294),'strokeLinejoin':_0x241173(0x294),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x241173(0x39b),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x241173(0x4d9),'attrs':{'fill':_0x241173(0x253),'d':_0x241173(0x3c8)}}]}]}],'defIds':[_0x241173(0x39e)]},Mi=_0x173554(function(_0x340198,_0x58b41a){const _0x31d3b9=_0x241173;return _0x12f758(bs,Object[_0x31d3b9(0x47d)]({},_0x340198,{'id':'off-line-single','ref':_0x58b41a,'icon':sa}));});Mi['displayName']=_0x241173(0x5bf);var ia={'tag':_0x241173(0x493),'attrs':{'fill':_0x241173(0x291),'viewBox':'0\x200\x2017\x2016','width':_0x241173(0x39c),'height':_0x241173(0x39c)},'children':[{'tag':'g','attrs':{'clipPath':_0x241173(0x3e0)},'children':[{'tag':_0x241173(0x4d9),'attrs':{'stroke':'currentColor','d':_0x241173(0x4db),'strokeLinecap':_0x241173(0x294),'strokeLinejoin':_0x241173(0x294),'strokeWidth':1.2}}]},{'tag':_0x241173(0x5c5),'attrs':{},'children':[{'tag':_0x241173(0x39b),'attrs':{'id':_0x241173(0x21c)},'children':[{'tag':'path','attrs':{'fill':_0x241173(0x253),'d':_0x241173(0x3c8),'transform':_0x241173(0x2b2)}}]}]}],'defIds':[_0x241173(0x21c)]},xi=_0x173554(function(_0x5d95a1,_0x257612){const _0x464ddd=_0x241173;return _0x12f758(bs,Object['assign']({},_0x5d95a1,{'id':_0x464ddd(0x57b),'ref':_0x257612,'icon':ia}));});xi[_0x241173(0x3e4)]=_0x241173(0x455);function Li(_0x420991){const _0x35ec70=_0x241173;var _0x5b4403,_0x53f7d1,_0x35370b='';if(typeof _0x420991==_0x35ec70(0x412)||typeof _0x420991==_0x35ec70(0x3e1))_0x35370b+=_0x420991;else{if(typeof _0x420991=='object'){if(Array[_0x35ec70(0x4b3)](_0x420991)){var _0x289223=_0x420991[_0x35ec70(0x32c)];for(_0x5b4403=0x0;_0x5b4403<_0x289223;_0x5b4403++)_0x420991[_0x5b4403]&&(_0x53f7d1=Li(_0x420991[_0x5b4403]))&&(_0x35370b&&(_0x35370b+='\x20'),_0x35370b+=_0x53f7d1);}else{for(_0x53f7d1 in _0x420991)_0x420991[_0x53f7d1]&&(_0x35370b&&(_0x35370b+='\x20'),_0x35370b+=_0x53f7d1);}}}return _0x35370b;}function na(){const _0x3b6f4d=_0x241173;for(var _0x3ef03f,_0x4e1f56,_0x3098fa=0x0,_0x16e9a1='',_0x4d8c18=arguments[_0x3b6f4d(0x32c)];_0x3098fa<_0x4d8c18;_0x3098fa++)(_0x3ef03f=arguments[_0x3098fa])&&(_0x4e1f56=Li(_0x3ef03f))&&(_0x16e9a1&&(_0x16e9a1+='\x20'),_0x16e9a1+=_0x4e1f56);return _0x16e9a1;}const ra=_0x241173(0x583),oa=_0x241173(0x3db),aa=_0x241173(0x290),ca=_0x241173(0x2bb),ha=_0x241173(0x21b),Ze={'onlineStatusIcon':ra,'onlineStatusTitle':oa,'onlineStatus':aa,'online':ca,'offline':ha};function la(_0x428169){const _0x1625a1=_0x241173;switch(_0x428169){case J[_0x1625a1(0x1d6)]:return _0x1625a1(0x58f);case J[_0x1625a1(0x396)]:return _0x1625a1(0x29a);case J[_0x1625a1(0x309)]:return _0x1625a1(0x32b);case J['NOT_COLLAB']:return _0x1625a1(0x245);case J['AWAITING']:case J['AWAITING_WITH_PENDING']:return _0x1625a1(0x3b2);case J[_0x1625a1(0x1be)]:case J[_0x1625a1(0x344)]:return _0x1625a1(0x26c);}}function _a(_0x551293){const _0x327a4d=_0x241173,{status$:_0x2fb98e}=_0x551293,_0x10ddd8=_0xc736db(_0x2fb98e,J['NOT_COLLAB']),_0x449158=_0x1a7a89(_0x48c62d),_0x240cb6=_0x1a7a89(Ae),_0x486767=_0x10ddd8!==J[_0x327a4d(0x1d6)],_0x36b0b5=_0x449158['t'](la(_0x10ddd8)),_0xa79f0d=na(Ze[_0x327a4d(0x442)],{[Ze['online']]:_0x486767,[Ze[_0x327a4d(0x1ed)]]:!_0x486767}),_0x387171=_0x486767?_0xe0d2c9['createElement'](xi,null):_0xe0d2c9[_0x327a4d(0x264)](Mi,null),_0x5e914d=_0x1c4996(()=>{_0x486767||_0x240cb6['reconnect']();},[_0x486767,_0x240cb6]);function _0x3462ff(){const _0x33909b=_0x327a4d;return _0xe0d2c9['createElement'](_0x33909b(0x49f),{'className':_0xa79f0d,'onClick':_0x5e914d},_0xe0d2c9[_0x33909b(0x264)](_0x33909b(0x49f),{'className':Ze['onlineStatusIcon']},_0x387171),_0xe0d2c9[_0x33909b(0x264)](_0x33909b(0x49f),{'className':Ze[_0x33909b(0x494)]},_0x36b0b5));}return _0x486767?_0x3462ff():_0xe0d2c9[_0x327a4d(0x264)](_0x2b53c5,{'title':_0x449158['t']('collab-client.tooltip.reconnect')},_0x3462ff());}var ua=Object['defineProperty'],da=Object['getOwnPropertyDescriptor'],fa=(_0x32d5a3,_0x56453e,_0x2d522c,_0x448af4)=>{for(var _0x4cb843=_0x448af4>0x1?void 0x0:_0x448af4?da(_0x56453e,_0x2d522c):_0x56453e,_0x506877=_0x32d5a3['length']-0x1,_0x1e15e6;_0x506877>=0x0;_0x506877--)(_0x1e15e6=_0x32d5a3[_0x506877])&&(_0x4cb843=(_0x448af4?_0x1e15e6(_0x56453e,_0x2d522c,_0x4cb843):_0x1e15e6(_0x4cb843))||_0x4cb843);return _0x448af4&&_0x4cb843&&ua(_0x56453e,_0x2d522c,_0x4cb843),_0x4cb843;},ht=(_0x47ca4e,_0x2b49a7)=>(_0x461190,_0x2e9665)=>_0x2b49a7(_0x461190,_0x2e9665,_0x47ca4e);let St=class extends _0x59a5e6{constructor(_0xfb75c7,_0x1a8016,_0x2f3c6c,_0x291c88){const _0x29dea1=_0x241173;super(),g(this,'_status$',new _0x76ce31(J['NOT_COLLAB'])),(this[_0x29dea1(0x518)]=_0xfb75c7,this[_0x29dea1(0x450)]=_0x1a8016,this[_0x29dea1(0x414)]=_0x2f3c6c,this[_0x29dea1(0x4a7)]=_0x291c88,this[_0x29dea1(0x573)](),this['_initStatusListener']());}[_0x241173(0x46c)](){const _0x325fea=_0x241173;this['disposeWithMe'](this[_0x325fea(0x518)][_0x325fea(0x558)]['pipe'](_0x1916ca(()=>{const _0x1e5807=_0x325fea,_0x21165f=this['_univerInstanceService'][_0x1e5807(0x4d0)]();return _0x21165f?this[_0x1e5807(0x4a7)][_0x1e5807(0x2cc)](_0x21165f['getUnitId']()):_0x11cc12(null);}),_0x1916ca(_0x4171a4=>_0x4171a4?_0x4171a4[_0x325fea(0x4d3)]:_0x11cc12(J[_0x325fea(0x1c6)])))['subscribe'](_0xc5b0d6=>{const _0x511d52=_0x325fea;this[_0x511d52(0x3da)][_0x511d52(0x5b0)](_0xc5b0d6);}));}[_0x241173(0x573)](){const _0x1fb7cb=_0x241173;this[_0x1fb7cb(0x210)](this[_0x1fb7cb(0x450)][_0x1fb7cb(0x41e)](_0x1365ef[_0x1fb7cb(0x4b9)],()=>_0x4f87b6(va({'status$':this['_status$']['asObservable']()}),this[_0x1fb7cb(0x414)])));}};St=fa([ht(0x0,_0xb0f939),ht(0x1,_0x1bec75),ht(0x2,_0x1596c5(_0x59d577)),ht(0x3,_0x1596c5(it))],St);function va(_0x15e784){const {status$:_0x14534f}=_0x15e784;return function(){return _0xe0d2c9['createElement'](_a,{'status$':_0x14534f});};}const $i=_0x917e2b(_0x241173(0x276));var ma=Object[_0x241173(0x387)],pa=Object[_0x241173(0x2fb)],ga=(_0x13e804,_0xb86095,_0x23c6cc,_0x2a7f26)=>{const _0x2ec162=_0x241173;for(var _0x283195=_0x2a7f26>0x1?void 0x0:_0x2a7f26?pa(_0xb86095,_0x23c6cc):_0xb86095,_0x405fe2=_0x13e804[_0x2ec162(0x32c)]-0x1,_0x3976a9;_0x405fe2>=0x0;_0x405fe2--)(_0x3976a9=_0x13e804[_0x405fe2])&&(_0x283195=(_0x2a7f26?_0x3976a9(_0xb86095,_0x23c6cc,_0x283195):_0x3976a9(_0x283195))||_0x283195);return _0x2a7f26&&_0x283195&&ma(_0xb86095,_0x23c6cc,_0x283195),_0x283195;},ke=(_0x5e2a08,_0x59309b)=>(_0x4c6024,_0x1511e6)=>_0x59309b(_0x4c6024,_0x1511e6,_0x5e2a08);let It=class extends _0x388f6d{constructor(_0x526aeb,_0x32772a,_0x3cd96d,_0x279ad2,_0x35bc65,_0xffa41e){const _0x595a83=_0x241173;super(),this[_0x595a83(0x3fa)]=_0x526aeb,this[_0x595a83(0x318)]=_0x32772a,this[_0x595a83(0x553)]=_0x3cd96d,this[_0x595a83(0x4c6)]=_0x279ad2,this[_0x595a83(0x1fc)]=_0x35bc65,_0xffa41e?_0xffa41e==null||_0xffa41e[_0x595a83(0x44b)]()[_0x595a83(0x27c)](()=>this[_0x595a83(0x354)]()):(this[_0x595a83(0x318)]['debug']('[DataLoaderController]',_0x595a83(0x3f2)),this[_0x595a83(0x354)]());}async[_0x241173(0x354)](){const _0x4a020a=_0x241173,_0xc91731=this[_0x4a020a(0x3fa)][_0x4a020a(0x5d1)](_0x4a020a(0x2f9)),_0x559cb5=this[_0x4a020a(0x3fa)][_0x4a020a(0x5d1)](_0x4a020a(0x40a));if(!_0xc91731||!_0x559cb5){this[_0x4a020a(0x318)][_0x4a020a(0x330)](_0x4a020a(0x254),_0x4a020a(0x52a));return;}switch(Number(_0x559cb5)){case ce['UNIVER_SHEET']:{const _0x555ab0=await this[_0x4a020a(0x3ac)](_0xc91731);this[_0x4a020a(0x3be)](_0x555ab0);break;}case ce[_0x4a020a(0x209)]:{await this['_loadDoc'](_0xc91731);break;}default:{this[_0x4a020a(0x318)][_0x4a020a(0x4e3)]('[DataLoaderController]','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x241173(0x3be)](_0x1b729b){const _0x8c2c3=_0x241173;await this[_0x8c2c3(0x43b)](_0x1b729b),_0x1b729b[_0x8c2c3(0x360)][_0x8c2c3(0x391)](_0x52fe01(this[_0x8c2c3(0x448)]))[_0x8c2c3(0x31f)](_0xe9d35a=>{_0xe9d35a&&this['_updateURLWithCurrentState'](_0xe9d35a);}),this[_0x8c2c3(0x3fa)][_0x8c2c3(0x1fa)][_0x8c2c3(0x391)](_0x52fe01(this[_0x8c2c3(0x448)]))[_0x8c2c3(0x31f)](()=>this['_updateSubUnitFromURLParams'](_0x1b729b));}[_0x241173(0x3cc)](_0x3a251b,_0x190b0c=!0x1){const _0x595712=_0x241173,_0x48b67d=this['_urlService'][_0x595712(0x5d1)](_0x595712(0x238));_0x3a251b[_0x595712(0x4b1)]()!==_0x48b67d&&this[_0x595712(0x3fa)]['setParam'](_0x595712(0x238),_0x3a251b[_0x595712(0x4b1)](),_0x190b0c);}async[_0x241173(0x43b)](_0x177524){const _0x547c2e=_0x241173;var _0x62a350;const _0x71432=this['_urlService'][_0x547c2e(0x5d1)]('subunit');if(!_0x71432||!_0x177524[_0x547c2e(0x273)](_0x71432)){const _0xe26dbc=_0x177524[_0x547c2e(0x5a0)]()[0x0],_0x40197c=_0x177524[_0x547c2e(0x273)](_0xe26dbc);if(!_0x40197c)return;this[_0x547c2e(0x3cc)](_0x40197c,!0x0),await this[_0x547c2e(0x553)][_0x547c2e(0x4bf)](_0x14423d['id'],{'unitId':_0x177524[_0x547c2e(0x2d3)](),'subUnitId':_0xe26dbc});return;}((_0x62a350=_0x177524[_0x547c2e(0x594)]())==null?void 0x0:_0x62a350['getSheetId']())!==_0x71432&&await this[_0x547c2e(0x553)][_0x547c2e(0x4bf)](_0x14423d['id'],{'unitId':_0x177524[_0x547c2e(0x2d3)](),'subUnitId':_0x71432});}async['_loadSheet'](_0x3b1307){const _0x530cbd=_0x241173;let _0x5e527f=0x0;const _0x42e9c9=await this['_localCacheService'][_0x530cbd(0x555)](_0x3b1307);return _0x42e9c9&&(_0x42e9c9[_0x530cbd(0x2c8)]||_0x42e9c9['mutations'][_0x530cbd(0x32c)]!==0x0)&&(_0x5e527f=_0x42e9c9['rev']),_0x5e527f===0x0&&this[_0x530cbd(0x318)][_0x530cbd(0x330)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x530cbd(0x560)](_0x3b1307,_0x5e527f);}async[_0x241173(0x2b0)](_0x5a3d18){const _0x2682e0=_0x241173;let _0x512fa3=0x0;const _0x1f2690=await this['_localCacheService'][_0x2682e0(0x555)](_0x5a3d18);return _0x1f2690&&(_0x1f2690['awaitingChangeset']||_0x1f2690[_0x2682e0(0x3d0)][_0x2682e0(0x32c)]!==0x0)&&(_0x512fa3=_0x1f2690[_0x2682e0(0x29f)]),_0x512fa3===0x0&&this[_0x2682e0(0x318)]['debug'](_0x2682e0(0x254),_0x2682e0(0x56b)),this[_0x2682e0(0x1fc)][_0x2682e0(0x48c)](_0x5a3d18,_0x512fa3);}};It=ga([ke(0x0,$i),ke(0x1,_0x265e7a),ke(0x2,_0x289e6f),ke(0x3,_0x1596c5(q)),ke(0x4,_0x1596c5(_0x2abf3b)),ke(0x5,_0x164486(_0x115e00))],It);var Sa=Object[_0x241173(0x387)],Ia=Object[_0x241173(0x2fb)],Ca=(_0xb831e6,_0xc7641a,_0x75adc1,_0x53d1f8)=>{const _0x300c8e=_0x241173;for(var _0x371e42=_0x53d1f8>0x1?void 0x0:_0x53d1f8?Ia(_0xc7641a,_0x75adc1):_0xc7641a,_0x37d67b=_0xb831e6[_0x300c8e(0x32c)]-0x1,_0x2d26af;_0x37d67b>=0x0;_0x37d67b--)(_0x2d26af=_0xb831e6[_0x37d67b])&&(_0x371e42=(_0x53d1f8?_0x2d26af(_0xc7641a,_0x75adc1,_0x371e42):_0x2d26af(_0x371e42))||_0x371e42);return _0x53d1f8&&_0x371e42&&Sa(_0xc7641a,_0x75adc1,_0x371e42),_0x371e42;},Ks=(_0x169822,_0x3cda1f)=>(_0x1749ac,_0x1d4aa2)=>_0x3cda1f(_0x1749ac,_0x1d4aa2,_0x169822);const Ea=_0x241173(0x277),ba=_0x241173(0x59b);let Ct=class extends _0x59a5e6{constructor(_0x27d1ae,_0x205a1f){const _0x472961=_0x241173;super(),this['_univerInstanceService']=_0x27d1ae,this[_0x472961(0x3aa)]=_0x205a1f,this[_0x472961(0x354)]();}[_0x241173(0x354)](){const _0x1dd031=_0x241173;this['disposeWithMe'](this[_0x1dd031(0x518)]['focused$']['subscribe'](()=>{const _0x5b92d5=_0x1dd031;var _0x2e2fcd;const _0x1d53cb=this[_0x5b92d5(0x518)][_0x5b92d5(0x4d0)]();let _0x342eae=(_0x2e2fcd=this['_configService'][_0x5b92d5(0x561)](Ea))!=null?_0x2e2fcd:ba;_0x1d53cb instanceof _0x24ceab&&(_0x342eae=_0x1d53cb[_0x5b92d5(0x422)]),document['title']=_0x342eae;}));}};Ct=Ca([Ks(0x0,_0xb0f939),Ks(0x1,_0x13e361)],Ct);var Ta=Object['defineProperty'],Ra=Object[_0x241173(0x2fb)],ya=(_0x2f76e5,_0x1969b9,_0x56888b,_0x2383b2)=>{const _0x4b4cdd=_0x241173;for(var _0x29df4a=_0x2383b2>0x1?void 0x0:_0x2383b2?Ra(_0x1969b9,_0x56888b):_0x1969b9,_0x135765=_0x2f76e5[_0x4b4cdd(0x32c)]-0x1,_0x193638;_0x135765>=0x0;_0x135765--)(_0x193638=_0x2f76e5[_0x135765])&&(_0x29df4a=(_0x2383b2?_0x193638(_0x1969b9,_0x56888b,_0x29df4a):_0x193638(_0x29df4a))||_0x29df4a);return _0x2383b2&&_0x29df4a&&Ta(_0x1969b9,_0x56888b,_0x29df4a),_0x29df4a;},kt=(_0x1bcd7e,_0x38f033)=>(_0x50303b,_0x2af162)=>_0x38f033(_0x50303b,_0x2af162,_0x1bcd7e);let Et=class{constructor(_0x5ed0af,_0x4e78cc,_0x4c2e5a){const _0x3b41ae=_0x241173;this[_0x3b41ae(0x3aa)]=_0x5ed0af,this[_0x3b41ae(0x567)]=_0x4e78cc,this[_0x3b41ae(0x2dd)]=_0x4c2e5a,this[_0x3b41ae(0x459)]();}[_0x241173(0x459)](){const _0x125b5e=_0x241173;this[_0x125b5e(0x567)][_0x125b5e(0x3d3)]({'priority':0x1,'interceptor':(_0x38e38a,_0x6ab743)=>_0x6ab743(_0x38e38a)[_0x125b5e(0x391)](_0x3a017f(async _0x1a65c5=>{const _0x503b19=_0x125b5e,_0x5ca85f=_0x1a65c5;if(_0x5ca85f[_0x503b19(0x452)]===0x191&&window[_0x503b19(0x2a3)](this[_0x503b19(0x2dd)]['t'](_0x503b19(0x526)))){const _0x36466a=window[_0x503b19(0x48a)](window['location'][_0x503b19(0x283)]);window['location'][_0x503b19(0x283)]=this[_0x503b19(0x3c3)]()+'?url='+_0x36466a;}return _0x5ca85f;}))});}[_0x241173(0x3c3)](){const _0x2f18a1=_0x241173;var _0x4b1594,_0x185bc7;const _0x5f04b1=this[_0x2f18a1(0x3aa)]['getConfig'](Sr),_0x19df5f=this[_0x2f18a1(0x3aa)]['getConfig'](ie);return(_0x185bc7=(_0x4b1594=_0x19df5f==null?void 0x0:_0x19df5f[_0x2f18a1(0x548)])!=null?_0x4b1594:_0x5f04b1)!=null?_0x185bc7:Ir;}};Et=ya([kt(0x0,_0x13e361),kt(0x1,_0x1596c5(_0x1eb63d)),kt(0x2,_0x1596c5(_0x48c62d))],Et);var Oa=Object[_0x241173(0x387)],wa=Object[_0x241173(0x2fb)],Da=(_0x500ad6,_0x339fc4,_0x582671,_0x2c79f)=>{for(var _0x1f723e=_0x2c79f>0x1?void 0x0:_0x2c79f?wa(_0x339fc4,_0x582671):_0x339fc4,_0x328041=_0x500ad6['length']-0x1,_0x3e2033;_0x328041>=0x0;_0x328041--)(_0x3e2033=_0x500ad6[_0x328041])&&(_0x1f723e=(_0x2c79f?_0x3e2033(_0x339fc4,_0x582671,_0x1f723e):_0x3e2033(_0x1f723e))||_0x1f723e);return _0x2c79f&&_0x1f723e&&Oa(_0x339fc4,_0x582671,_0x1f723e),_0x1f723e;},zs=(_0x55684f,_0x3cb667)=>(_0x345215,_0x377992)=>_0x3cb667(_0x345215,_0x377992,_0x55684f);const Pa=_0x241173(0x4e8),Ua=_0x241173(0x574);let as=class extends _0x59a5e6{constructor(_0x193c0a,_0x304146){const _0x3bc9d8=_0x241173;super(),this[_0x3bc9d8(0x5d3)]=_0x193c0a,this[_0x3bc9d8(0x3aa)]=_0x304146,this[_0x3bc9d8(0x2ca)]();}['_initMergeInterceptor'](){const _0x2478f5=_0x241173,_0x27653f=this;this['disposeWithMe'](this[_0x2478f5(0x5d3)][_0x2478f5(0x3d3)]({'priority':0x3e7,'interceptor':_0xdc4057({'isMatch'(_0x55ef0f){const _0x2ced40=_0x2478f5;var _0x1bbaf9;if(_0x55ef0f[_0x2ced40(0x35c)]===_0x2ced40(0x1ea)&&((_0x1bbaf9=_0x55ef0f['requestParams'])!=null&&_0x1bbaf9[_0x2ced40(0x5c3)])){const {objectID:_0x3cd669,objectType:_0xa6bab2}=_0x55ef0f[_0x2ced40(0x3cb)]['body']||{};if(!_0x3cd669||_0xa6bab2===void 0x0)return!0x1;const _0x57b6a8=_0x27653f[_0x2ced40(0x315)]()+'/'+_0xa6bab2+'/object/'+_0x3cd669+_0x2ced40(0x1cc);if(_0x55ef0f[_0x2ced40(0x25a)]===_0x57b6a8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31c834){const _0x26c5b5=_0x2478f5;var _0x3080ac;return(_0x3080ac=_0x31c834[_0x26c5b5(0x3cb)])==null?void 0x0:_0x3080ac[_0x26c5b5(0x5c3)];},'mergeParamsToRequest'(_0x33d233,_0x3ce23b){const _0x5f1133=_0x2478f5,_0x14ca07=_0x27653f[_0x5f1133(0x315)]()+_0x5f1133(0x4b4),_0x514dd0=_0x33d233[_0x5f1133(0x380)]((_0x199cc4,_0x1f07e9)=>{const _0x43cb35=_0x5f1133,{unitID:_0x251ee7,objectID:_0x11fc01,objectType:_0x54e16b,actions:_0x360325}=_0x1f07e9;return _0x199cc4[_0x251ee7]||(_0x199cc4[_0x251ee7]={}),_0x199cc4[_0x251ee7][_0x11fc01]||(_0x199cc4[_0x251ee7][_0x11fc01]={'objectID':_0x11fc01,'objectType':_0x54e16b,'actions':[]}),_0x199cc4[_0x251ee7][_0x11fc01]['actions'][_0x43cb35(0x42a)](..._0x360325),_0x199cc4;},{}),_0x5d9b67=[];for(const _0x2166d1 in _0x514dd0)for(const _0x44db86 in _0x514dd0[_0x2166d1]){const {actions:_0x9941be,objectType:_0x1bf4ca}=_0x514dd0[_0x2166d1][_0x44db86],_0x194873=[...new Set(_0x9941be)];_0x5d9b67['push']({'unitID':_0x2166d1,'objectID':_0x44db86,'objectType':_0x1bf4ca,'actions':_0x194873});}return new _0x47f7b2(_0x5f1133(0x1ea),_0x14ca07,{'headers':_0x3ce23b[_0x5f1133(0x377)],'withCredentials':_0x3ce23b['withCredentials'],'responseType':_0x3ce23b[_0x5f1133(0x3a1)],'body':{'requests':_0x5d9b67}});}},{'distributeResult'(_0x594bf2,_0x4761d2){const {objectActions:_0x4f3115}=_0x594bf2;return _0x4761d2['map'](_0x20b43b=>{const _0x441110=_0x10c7,{unitID:_0x5330ac,objectID:_0x1137c8,actions:_0x53a727}=_0x20b43b,_0xe4f299=_0x4f3115[_0x441110(0x4d5)](_0x3b88d0=>_0x3b88d0['unitID']===_0x5330ac&&_0x3b88d0[_0x441110(0x506)]===_0x1137c8),_0xfeafd9=_0x53a727[_0x441110(0x43c)](_0x41d57f=>_0xe4f299==null?void 0x0:_0xe4f299[_0x441110(0x406)][_0x441110(0x4d5)](_0xd240bb=>_0xd240bb[_0x441110(0x35f)]===_0x41d57f))['filter'](_0x1c68ca=>!!_0x1c68ca);return{'config':_0x20b43b,'result':{'actions':_0xfeafd9,'error':_0x594bf2[_0x441110(0x4e3)]}};});}})}));}[_0x241173(0x315)](){const _0x1fd3cc=_0x241173;var _0x4969cd,_0x4e0c64;const _0x207084=this[_0x1fd3cc(0x3aa)][_0x1fd3cc(0x561)](Pa),_0xc96a8a=this['_configService'][_0x1fd3cc(0x561)](ie);return(_0x4e0c64=(_0x4969cd=_0xc96a8a==null?void 0x0:_0xc96a8a[_0x1fd3cc(0x215)])!=null?_0x4969cd:_0x207084)!=null?_0x4e0c64:Ua;}async[_0x241173(0x487)](_0x4d2fb5){const _0x13f7e8=_0x241173,_0x355d58=this['_getAPIPrefixPath']()+'/'+_0x4d2fb5[_0x13f7e8(0x280)]+'/object';return(await this[_0x13f7e8(0x5d3)][_0x13f7e8(0x320)](_0x355d58,{'body':_0x4d2fb5}))[_0x13f7e8(0x5c3)][_0x13f7e8(0x506)]||'';}async[_0x241173(0x353)](_0x3e6309){const _0x12cb31=_0x241173,_0x31a23c=this['_getAPIPrefixPath']()+_0x12cb31(0x332);return(await this[_0x12cb31(0x5d3)][_0x12cb31(0x320)](_0x31a23c,{'body':_0x3e6309}))[_0x12cb31(0x5c3)][_0x12cb31(0x426)];}async['update'](_0x768fa4){const _0x2dedf1=_0x241173,_0x479a16=this[_0x2dedf1(0x315)]()+'/'+_0x768fa4[_0x2dedf1(0x280)]+_0x2dedf1(0x26d)+_0x768fa4[_0x2dedf1(0x506)];await this[_0x2dedf1(0x5d3)][_0x2dedf1(0x4cc)](_0x479a16,{'body':_0x768fa4});}async[_0x241173(0x1f4)](_0x3aa2e3){const _0x50a27d=_0x241173,_0x8088b2=this[_0x50a27d(0x315)]()+'/'+_0x3aa2e3['objectType']+'/object/'+_0x3aa2e3[_0x50a27d(0x506)]+_0x50a27d(0x1cc);return(await this[_0x50a27d(0x5d3)][_0x50a27d(0x320)](_0x8088b2,{'body':_0x3aa2e3}))[_0x50a27d(0x5c3)][_0x50a27d(0x406)];}async[_0x241173(0x228)](_0x519412){const _0x5cb147=_0x241173,_0xea1170=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x5cb147(0x5d3)][_0x5cb147(0x320)](_0xea1170,{'body':{'requests':_0x519412}}))['body'][_0x5cb147(0x323)];}async[_0x241173(0x1bd)](_0x2a8f16){const _0x445fa6=_0x241173,_0x5312ca=this[_0x445fa6(0x315)]()+'/'+_0x2a8f16['objectType']+_0x445fa6(0x3ff),_0x4d7d13=await this['_HTTPService'][_0x445fa6(0x320)](_0x5312ca,{'body':_0x2a8f16});return{'roles':_0x4d7d13[_0x445fa6(0x5c3)][_0x445fa6(0x45d)],'actions':_0x4d7d13['body'][_0x445fa6(0x406)]};}async[_0x241173(0x20f)](_0x54a93e){const _0x326411=_0x241173,_0x24c3d7=this[_0x326411(0x315)]()+_0x326411(0x56f);await this['_HTTPService']['delete'](_0x24c3d7,{'params':{'collaboratorID':_0x54a93e['collaboratorID'],'objectID':_0x54a93e[_0x326411(0x506)],'unitID':_0x54a93e[_0x326411(0x4a0)]}});}async['updateCollaborator'](_0x63f0b2){const _0x26ce59=_0x241173,_0x4d4991=this['_getAPIPrefixPath']()+_0x26ce59(0x56f);await this[_0x26ce59(0x5d3)][_0x26ce59(0x346)](_0x4d4991,{'body':_0x63f0b2});}async[_0x241173(0x2b8)](_0x101d86){const _0x2700ca=_0x241173,_0x37622f=this['_getAPIPrefixPath']()+_0x2700ca(0x56f);await this[_0x2700ca(0x5d3)][_0x2700ca(0x320)](_0x37622f,{'body':_0x101d86});}async[_0x241173(0x1cd)](_0x4727cf){const _0x34eee2=_0x241173,_0x3e1fb9=this[_0x34eee2(0x315)]()+_0x34eee2(0x56f);return(await this['_HTTPService'][_0x34eee2(0x241)](_0x3e1fb9,{'params':{'objectID':_0x4727cf[_0x34eee2(0x506)],'unitID':_0x4727cf['unitID']}}))[_0x34eee2(0x5c3)][_0x34eee2(0x474)];}async['putCollaborators'](_0x317512){const _0x1c62bf=_0x241173,_0x5a3f07=this[_0x1c62bf(0x315)]()+_0x1c62bf(0x56f);await this['_HTTPService']['put'](_0x5a3f07,{'body':_0x317512});}};as=Da([zs(0x0,_0x1596c5(_0x1eb63d)),zs(0x1,_0x1596c5(_0x13e361))],as);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x328cf3){const _0x1f2352=_0x241173;return _0x328cf3&&_0x328cf3[_0x1f2352(0x503)]&&Object[_0x1f2352(0x400)][_0x1f2352(0x2e0)][_0x1f2352(0x502)](_0x328cf3,_0x1f2352(0x2b6))?_0x328cf3[_0x1f2352(0x2b6)]:_0x328cf3;}var Hi={'exports':{}};function Na(_0x5b62f8){const _0x228772=_0x241173;throw new Error(_0x228772(0x512)+_0x5b62f8+_0x228772(0x1e4));}var Wt={'exports':{}},qs;function ue(){const _0x5ce33d=_0x241173;return qs||(qs=0x1,function(_0x5f2495,_0x7200eb){(function(_0x115a70,_0x5d6b25){const _0x598d54=_0x10c7;_0x5f2495[_0x598d54(0x544)]=_0x5d6b25();}(Z,function(){var _0x139480=_0x139480||function(_0x5d5ba0,_0x248b16){const _0x1ff3c1=_0x10c7;var _0x4682e7;if(typeof window<'u'&&window[_0x1ff3c1(0x329)]&&(_0x4682e7=window['crypto']),typeof self<'u'&&self[_0x1ff3c1(0x329)]&&(_0x4682e7=self[_0x1ff3c1(0x329)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4682e7=globalThis['crypto']),!_0x4682e7&&typeof window<'u'&&window[_0x1ff3c1(0x5bc)]&&(_0x4682e7=window[_0x1ff3c1(0x5bc)]),!_0x4682e7&&typeof Z<'u'&&Z[_0x1ff3c1(0x329)]&&(_0x4682e7=Z[_0x1ff3c1(0x329)]),!_0x4682e7&&typeof Na=='function')try{_0x4682e7=require(_0x1ff3c1(0x329));}catch{}var _0x5159ec=function(){const _0x395d84=_0x1ff3c1;if(_0x4682e7){if(typeof _0x4682e7['getRandomValues']==_0x395d84(0x429))try{return _0x4682e7[_0x395d84(0x2a7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4682e7[_0x395d84(0x33e)]==_0x395d84(0x429))try{return _0x4682e7[_0x395d84(0x33e)](0x4)[_0x395d84(0x5cb)]();}catch{}}throw new Error(_0x395d84(0x5d4));},_0x2c74b0=Object['create']||(function(){function _0x644f0d(){}return function(_0x255a05){const _0x3c7fa5=_0x10c7;var _0x1c09f9;return _0x644f0d[_0x3c7fa5(0x400)]=_0x255a05,_0x1c09f9=new _0x644f0d(),_0x644f0d[_0x3c7fa5(0x400)]=null,_0x1c09f9;};}()),_0x4f5bea={},_0x1192a0=_0x4f5bea[_0x1ff3c1(0x431)]={},_0x31ee1f=_0x1192a0[_0x1ff3c1(0x59e)]=(function(){return{'extend':function(_0x5c6c3e){const _0x2f9530=_0x10c7;var _0x4fc924=_0x2c74b0(this);return _0x5c6c3e&&_0x4fc924['mixIn'](_0x5c6c3e),(!_0x4fc924[_0x2f9530(0x2e0)](_0x2f9530(0x459))||this[_0x2f9530(0x459)]===_0x4fc924[_0x2f9530(0x459)])&&(_0x4fc924[_0x2f9530(0x459)]=function(){const _0x39b9d7=_0x2f9530;_0x4fc924[_0x39b9d7(0x246)]['init'][_0x39b9d7(0x34a)](this,arguments);}),_0x4fc924[_0x2f9530(0x459)][_0x2f9530(0x400)]=_0x4fc924,_0x4fc924['$super']=this,_0x4fc924;},'create':function(){const _0x3806e2=_0x10c7;var _0x5188f6=this[_0x3806e2(0x33c)]();return _0x5188f6[_0x3806e2(0x459)][_0x3806e2(0x34a)](_0x5188f6,arguments),_0x5188f6;},'init':function(){},'mixIn':function(_0x1dab89){const _0x1279d1=_0x10c7;for(var _0x3ee1f9 in _0x1dab89)_0x1dab89[_0x1279d1(0x2e0)](_0x3ee1f9)&&(this[_0x3ee1f9]=_0x1dab89[_0x3ee1f9]);_0x1dab89[_0x1279d1(0x2e0)](_0x1279d1(0x447))&&(this[_0x1279d1(0x447)]=_0x1dab89[_0x1279d1(0x447)]);},'clone':function(){const _0x516fc4=_0x10c7;return this[_0x516fc4(0x459)][_0x516fc4(0x400)][_0x516fc4(0x33c)](this);}};}()),_0x67d69d=_0x1192a0[_0x1ff3c1(0x576)]=_0x31ee1f[_0x1ff3c1(0x33c)]({'init':function(_0x384707,_0x468ce0){const _0x460eea=_0x1ff3c1;_0x384707=this[_0x460eea(0x5ab)]=_0x384707||[],_0x468ce0!=_0x248b16?this[_0x460eea(0x341)]=_0x468ce0:this['sigBytes']=_0x384707[_0x460eea(0x32c)]*0x4;},'toString':function(_0x63835d){const _0x3d5494=_0x1ff3c1;return(_0x63835d||_0xbb3fba)[_0x3d5494(0x4aa)](this);},'concat':function(_0x23bf7a){const _0x20f7e8=_0x1ff3c1;var _0x18a7c0=this[_0x20f7e8(0x5ab)],_0x1bea2b=_0x23bf7a[_0x20f7e8(0x5ab)],_0x56c5a6=this[_0x20f7e8(0x341)],_0x3c87c8=_0x23bf7a[_0x20f7e8(0x341)];if(this['clamp'](),_0x56c5a6%0x4)for(var _0x483abb=0x0;_0x483abb<_0x3c87c8;_0x483abb++){var _0x4f708d=_0x1bea2b[_0x483abb>>>0x2]>>>0x18-_0x483abb%0x4*0x8&0xff;_0x18a7c0[_0x56c5a6+_0x483abb>>>0x2]|=_0x4f708d<<0x18-(_0x56c5a6+_0x483abb)%0x4*0x8;}else{for(var _0x57ffd6=0x0;_0x57ffd6<_0x3c87c8;_0x57ffd6+=0x4)_0x18a7c0[_0x56c5a6+_0x57ffd6>>>0x2]=_0x1bea2b[_0x57ffd6>>>0x2];}return this[_0x20f7e8(0x341)]+=_0x3c87c8,this;},'clamp':function(){const _0x117df=_0x1ff3c1;var _0x9b8be2=this[_0x117df(0x5ab)],_0x12ca17=this['sigBytes'];_0x9b8be2[_0x12ca17>>>0x2]&=0xffffffff<<0x20-_0x12ca17%0x4*0x8,_0x9b8be2[_0x117df(0x32c)]=_0x5d5ba0['ceil'](_0x12ca17/0x4);},'clone':function(){const _0x4c12ee=_0x1ff3c1;var _0x57e460=_0x31ee1f[_0x4c12ee(0x41b)][_0x4c12ee(0x502)](this);return _0x57e460[_0x4c12ee(0x5ab)]=this[_0x4c12ee(0x5ab)][_0x4c12ee(0x55b)](0x0),_0x57e460;},'random':function(_0x33e88e){const _0x2b28aa=_0x1ff3c1;for(var _0x2045b1=[],_0x52376c=0x0;_0x52376c<_0x33e88e;_0x52376c+=0x4)_0x2045b1[_0x2b28aa(0x42a)](_0x5159ec());return new _0x67d69d[(_0x2b28aa(0x459))](_0x2045b1,_0x33e88e);}}),_0x10229b=_0x4f5bea[_0x1ff3c1(0x3eb)]={},_0xbb3fba=_0x10229b[_0x1ff3c1(0x1f6)]={'stringify':function(_0x3eda8c){const _0x1087b4=_0x1ff3c1;for(var _0x16895f=_0x3eda8c[_0x1087b4(0x5ab)],_0x5f0428=_0x3eda8c[_0x1087b4(0x341)],_0x253d48=[],_0x1c22e0=0x0;_0x1c22e0<_0x5f0428;_0x1c22e0++){var _0x4136a0=_0x16895f[_0x1c22e0>>>0x2]>>>0x18-_0x1c22e0%0x4*0x8&0xff;_0x253d48['push']((_0x4136a0>>>0x4)[_0x1087b4(0x447)](0x10)),_0x253d48[_0x1087b4(0x42a)]((_0x4136a0&0xf)[_0x1087b4(0x447)](0x10));}return _0x253d48[_0x1087b4(0x223)]('');},'parse':function(_0x31dc66){const _0x2701f0=_0x1ff3c1;for(var _0x44d583=_0x31dc66[_0x2701f0(0x32c)],_0x4c2a36=[],_0x5074e1=0x0;_0x5074e1<_0x44d583;_0x5074e1+=0x2)_0x4c2a36[_0x5074e1>>>0x3]|=parseInt(_0x31dc66[_0x2701f0(0x595)](_0x5074e1,0x2),0x10)<<0x18-_0x5074e1%0x8*0x4;return new _0x67d69d[(_0x2701f0(0x459))](_0x4c2a36,_0x44d583/0x2);}},_0x41da53=_0x10229b[_0x1ff3c1(0x4e6)]={'stringify':function(_0x1dfd42){const _0x2c015f=_0x1ff3c1;for(var _0x5bf062=_0x1dfd42['words'],_0x40fa9b=_0x1dfd42[_0x2c015f(0x341)],_0x55f6da=[],_0x4adf07=0x0;_0x4adf07<_0x40fa9b;_0x4adf07++){var _0x4aa0aa=_0x5bf062[_0x4adf07>>>0x2]>>>0x18-_0x4adf07%0x4*0x8&0xff;_0x55f6da['push'](String[_0x2c015f(0x445)](_0x4aa0aa));}return _0x55f6da[_0x2c015f(0x223)]('');},'parse':function(_0x2fa3c6){const _0x35968b=_0x1ff3c1;for(var _0x5990ce=_0x2fa3c6['length'],_0x376ece=[],_0x5841ca=0x0;_0x5841ca<_0x5990ce;_0x5841ca++)_0x376ece[_0x5841ca>>>0x2]|=(_0x2fa3c6[_0x35968b(0x1c0)](_0x5841ca)&0xff)<<0x18-_0x5841ca%0x4*0x8;return new _0x67d69d[(_0x35968b(0x459))](_0x376ece,_0x5990ce);}},_0x5564b8=_0x10229b[_0x1ff3c1(0x50d)]={'stringify':function(_0x89779f){const _0x3b47bd=_0x1ff3c1;try{return decodeURIComponent(escape(_0x41da53['stringify'](_0x89779f)));}catch{throw new Error(_0x3b47bd(0x46e));}},'parse':function(_0x4cfd32){const _0x39041d=_0x1ff3c1;return _0x41da53[_0x39041d(0x527)](unescape(encodeURIComponent(_0x4cfd32)));}},_0xfc92ad=_0x1192a0[_0x1ff3c1(0x4d2)]=_0x31ee1f[_0x1ff3c1(0x33c)]({'reset':function(){const _0xc5c8ee=_0x1ff3c1;this[_0xc5c8ee(0x27e)]=new _0x67d69d[(_0xc5c8ee(0x459))](),this[_0xc5c8ee(0x4d6)]=0x0;},'_append':function(_0x588b5e){const _0x4f6854=_0x1ff3c1;typeof _0x588b5e==_0x4f6854(0x412)&&(_0x588b5e=_0x5564b8[_0x4f6854(0x527)](_0x588b5e)),this[_0x4f6854(0x27e)]['concat'](_0x588b5e),this[_0x4f6854(0x4d6)]+=_0x588b5e[_0x4f6854(0x341)];},'_process':function(_0x275f88){const _0x4410f2=_0x1ff3c1;var _0x2d0ff0,_0x576e99=this[_0x4410f2(0x27e)],_0x5c99f8=_0x576e99[_0x4410f2(0x5ab)],_0x4f49fe=_0x576e99['sigBytes'],_0x38fe78=this[_0x4410f2(0x207)],_0x3d85d2=_0x38fe78*0x4,_0x3b0b2a=_0x4f49fe/_0x3d85d2;_0x275f88?_0x3b0b2a=_0x5d5ba0['ceil'](_0x3b0b2a):_0x3b0b2a=_0x5d5ba0[_0x4410f2(0x2d0)]((_0x3b0b2a|0x0)-this[_0x4410f2(0x21a)],0x0);var _0x77288e=_0x3b0b2a*_0x38fe78,_0x44b1d7=_0x5d5ba0[_0x4410f2(0x4c0)](_0x77288e*0x4,_0x4f49fe);if(_0x77288e){for(var _0x3d0cbf=0x0;_0x3d0cbf<_0x77288e;_0x3d0cbf+=_0x38fe78)this['_doProcessBlock'](_0x5c99f8,_0x3d0cbf);_0x2d0ff0=_0x5c99f8[_0x4410f2(0x48e)](0x0,_0x77288e),_0x576e99[_0x4410f2(0x341)]-=_0x44b1d7;}return new _0x67d69d['init'](_0x2d0ff0,_0x44b1d7);},'clone':function(){const _0x18e481=_0x1ff3c1;var _0xa01b62=_0x31ee1f[_0x18e481(0x41b)][_0x18e481(0x502)](this);return _0xa01b62[_0x18e481(0x27e)]=this[_0x18e481(0x27e)][_0x18e481(0x41b)](),_0xa01b62;},'_minBufferSize':0x0});_0x1192a0[_0x1ff3c1(0x472)]=_0xfc92ad[_0x1ff3c1(0x33c)]({'cfg':_0x31ee1f['extend'](),'init':function(_0x461c17){const _0x303fb1=_0x1ff3c1;this[_0x303fb1(0x528)]=this[_0x303fb1(0x528)]['extend'](_0x461c17),this[_0x303fb1(0x29c)]();},'reset':function(){const _0x4ed812=_0x1ff3c1;_0xfc92ad[_0x4ed812(0x29c)][_0x4ed812(0x502)](this),this['_doReset']();},'update':function(_0x4f8d32){const _0x3a4068=_0x1ff3c1;return this[_0x3a4068(0x258)](_0x4f8d32),this[_0x3a4068(0x433)](),this;},'finalize':function(_0x1c970b){const _0xa479d5=_0x1ff3c1;_0x1c970b&&this['_append'](_0x1c970b);var _0x5886f0=this[_0xa479d5(0x369)]();return _0x5886f0;},'blockSize':0x10,'_createHelper':function(_0x3969eb){return function(_0x2bc17c,_0x79c63){const _0x2ba868=_0x10c7;return new _0x3969eb[(_0x2ba868(0x459))](_0x79c63)[_0x2ba868(0x2f8)](_0x2bc17c);};},'_createHmacHelper':function(_0x5a9673){return function(_0x76c390,_0x16f1f9){const _0x4a9c41=_0x10c7;return new _0x4ae04e[(_0x4a9c41(0x393))]['init'](_0x5a9673,_0x16f1f9)['finalize'](_0x76c390);};}});var _0x4ae04e=_0x4f5bea[_0x1ff3c1(0x5bb)]={};return _0x4f5bea;}(Math);return _0x139480;}));}(Wt)),Wt[_0x5ce33d(0x544)];}var Ft={'exports':{}},Xs;function ji(){const _0x48ebc8=_0x241173;return Xs||(Xs=0x1,function(_0x4e79fa,_0x44ff64){(function(_0x4c25a7,_0x214018){_0x4e79fa['exports']=_0x214018(ue());}(Z,function(_0x2ebeb5){const _0x8c7c67=_0x10c7;return(function(){const _0x3528ed=_0x10c7;var _0x2b0daf=_0x2ebeb5,_0x5aa98d=_0x2b0daf[_0x3528ed(0x431)],_0x9263d8=_0x5aa98d[_0x3528ed(0x576)],_0x30e2ac=_0x2b0daf[_0x3528ed(0x3eb)];_0x30e2ac['Base64']={'stringify':function(_0x5d2e15){const _0x5e88c5=_0x3528ed;var _0x21a319=_0x5d2e15[_0x5e88c5(0x5ab)],_0x2670e2=_0x5d2e15[_0x5e88c5(0x341)],_0x53b8c9=this[_0x5e88c5(0x4a3)];_0x5d2e15[_0x5e88c5(0x519)]();for(var _0x4a944e=[],_0x3066f9=0x0;_0x3066f9<_0x2670e2;_0x3066f9+=0x3)for(var _0x52b8df=_0x21a319[_0x3066f9>>>0x2]>>>0x18-_0x3066f9%0x4*0x8&0xff,_0x2c0dc7=_0x21a319[_0x3066f9+0x1>>>0x2]>>>0x18-(_0x3066f9+0x1)%0x4*0x8&0xff,_0x4a460e=_0x21a319[_0x3066f9+0x2>>>0x2]>>>0x18-(_0x3066f9+0x2)%0x4*0x8&0xff,_0x3b9841=_0x52b8df<<0x10|_0x2c0dc7<<0x8|_0x4a460e,_0x417e5e=0x0;_0x417e5e<0x4&&_0x3066f9+_0x417e5e*0.75<_0x2670e2;_0x417e5e++)_0x4a944e[_0x5e88c5(0x42a)](_0x53b8c9[_0x5e88c5(0x3c0)](_0x3b9841>>>0x6*(0x3-_0x417e5e)&0x3f));var _0x455763=_0x53b8c9['charAt'](0x40);if(_0x455763){for(;_0x4a944e[_0x5e88c5(0x32c)]%0x4;)_0x4a944e['push'](_0x455763);}return _0x4a944e[_0x5e88c5(0x223)]('');},'parse':function(_0x5806bd){const _0x568591=_0x3528ed;var _0x17c6b4=_0x5806bd[_0x568591(0x32c)],_0x5380a3=this['_map'],_0x8c9cdc=this[_0x568591(0x2fd)];if(!_0x8c9cdc){_0x8c9cdc=this[_0x568591(0x2fd)]=[];for(var _0x23dead=0x0;_0x23dead<_0x5380a3[_0x568591(0x32c)];_0x23dead++)_0x8c9cdc[_0x5380a3[_0x568591(0x1c0)](_0x23dead)]=_0x23dead;}var _0x20d27a=_0x5380a3['charAt'](0x40);if(_0x20d27a){var _0xa651ec=_0x5806bd['indexOf'](_0x20d27a);_0xa651ec!==-0x1&&(_0x17c6b4=_0xa651ec);}return _0x2208fa(_0x5806bd,_0x17c6b4,_0x8c9cdc);},'_map':_0x3528ed(0x34c)};function _0x2208fa(_0x54284b,_0x4010d0,_0x33ca66){const _0x44a9c7=_0x3528ed;for(var _0x2cb334=[],_0x139fde=0x0,_0x59ebd4=0x0;_0x59ebd4<_0x4010d0;_0x59ebd4++)if(_0x59ebd4%0x4){var _0x2c918e=_0x33ca66[_0x54284b['charCodeAt'](_0x59ebd4-0x1)]<<_0x59ebd4%0x4*0x2,_0x305818=_0x33ca66[_0x54284b[_0x44a9c7(0x1c0)](_0x59ebd4)]>>>0x6-_0x59ebd4%0x4*0x2,_0x43cecc=_0x2c918e|_0x305818;_0x2cb334[_0x139fde>>>0x2]|=_0x43cecc<<0x18-_0x139fde%0x4*0x8,_0x139fde++;}return _0x9263d8[_0x44a9c7(0x487)](_0x2cb334,_0x139fde);}}()),_0x2ebeb5[_0x8c7c67(0x3eb)][_0x8c7c67(0x243)];}));}(Ft)),Ft[_0x48ebc8(0x544)];}var Vt={'exports':{}},Js;function Aa(){return Js||(Js=0x1,function(_0x2fe966,_0x2d8e43){(function(_0x3c19cb,_0x3482c1){const _0x3cecae=_0x10c7;_0x2fe966[_0x3cecae(0x544)]=_0x3482c1(ue());}(Z,function(_0x2a2b38){const _0x8e963=_0x10c7;return function(_0x5ceb63){const _0x5766ae=_0x10c7;var _0x41c63d=_0x2a2b38,_0x405e4a=_0x41c63d['lib'],_0x20fa2e=_0x405e4a[_0x5766ae(0x576)],_0x6e40b4=_0x405e4a[_0x5766ae(0x472)],_0x1e19b5=_0x41c63d[_0x5766ae(0x5bb)],_0x497357=[];(function(){const _0x29936c=_0x5766ae;for(var _0x532c79=0x0;_0x532c79<0x40;_0x532c79++)_0x497357[_0x532c79]=_0x5ceb63[_0x29936c(0x214)](_0x5ceb63[_0x29936c(0x424)](_0x532c79+0x1))*0x100000000|0x0;}());var _0x1d326f=_0x1e19b5[_0x5766ae(0x3d7)]=_0x6e40b4[_0x5766ae(0x33c)]({'_doReset':function(){const _0x234874=_0x5766ae;this['_hash']=new _0x20fa2e[(_0x234874(0x459))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1b41e0,_0x134374){const _0x441501=_0x5766ae;for(var _0xf68e6e=0x0;_0xf68e6e<0x10;_0xf68e6e++){var _0x710b82=_0x134374+_0xf68e6e,_0x47293b=_0x1b41e0[_0x710b82];_0x1b41e0[_0x710b82]=(_0x47293b<<0x8|_0x47293b>>>0x18)&0xff00ff|(_0x47293b<<0x18|_0x47293b>>>0x8)&0xff00ff00;}var _0x1474fd=this['_hash'][_0x441501(0x5ab)],_0x173f6b=_0x1b41e0[_0x134374+0x0],_0x5a8559=_0x1b41e0[_0x134374+0x1],_0x5c4614=_0x1b41e0[_0x134374+0x2],_0x1f37af=_0x1b41e0[_0x134374+0x3],_0x276e25=_0x1b41e0[_0x134374+0x4],_0x5ae498=_0x1b41e0[_0x134374+0x5],_0x25077b=_0x1b41e0[_0x134374+0x6],_0x14493e=_0x1b41e0[_0x134374+0x7],_0x13ba57=_0x1b41e0[_0x134374+0x8],_0x240bbf=_0x1b41e0[_0x134374+0x9],_0x3077c9=_0x1b41e0[_0x134374+0xa],_0x4e0534=_0x1b41e0[_0x134374+0xb],_0x1b4b98=_0x1b41e0[_0x134374+0xc],_0x3eb955=_0x1b41e0[_0x134374+0xd],_0xc4157b=_0x1b41e0[_0x134374+0xe],_0x1185e1=_0x1b41e0[_0x134374+0xf],_0x52279b=_0x1474fd[0x0],_0x4bbd5f=_0x1474fd[0x1],_0x385666=_0x1474fd[0x2],_0x20c758=_0x1474fd[0x3];_0x52279b=_0xe1a946(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x173f6b,0x7,_0x497357[0x0]),_0x20c758=_0xe1a946(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x5a8559,0xc,_0x497357[0x1]),_0x385666=_0xe1a946(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x5c4614,0x11,_0x497357[0x2]),_0x4bbd5f=_0xe1a946(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x1f37af,0x16,_0x497357[0x3]),_0x52279b=_0xe1a946(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x276e25,0x7,_0x497357[0x4]),_0x20c758=_0xe1a946(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x5ae498,0xc,_0x497357[0x5]),_0x385666=_0xe1a946(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x25077b,0x11,_0x497357[0x6]),_0x4bbd5f=_0xe1a946(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x14493e,0x16,_0x497357[0x7]),_0x52279b=_0xe1a946(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x13ba57,0x7,_0x497357[0x8]),_0x20c758=_0xe1a946(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x240bbf,0xc,_0x497357[0x9]),_0x385666=_0xe1a946(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x3077c9,0x11,_0x497357[0xa]),_0x4bbd5f=_0xe1a946(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x4e0534,0x16,_0x497357[0xb]),_0x52279b=_0xe1a946(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x1b4b98,0x7,_0x497357[0xc]),_0x20c758=_0xe1a946(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x3eb955,0xc,_0x497357[0xd]),_0x385666=_0xe1a946(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0xc4157b,0x11,_0x497357[0xe]),_0x4bbd5f=_0xe1a946(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x1185e1,0x16,_0x497357[0xf]),_0x52279b=_0x337a17(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x5a8559,0x5,_0x497357[0x10]),_0x20c758=_0x337a17(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x25077b,0x9,_0x497357[0x11]),_0x385666=_0x337a17(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x4e0534,0xe,_0x497357[0x12]),_0x4bbd5f=_0x337a17(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x173f6b,0x14,_0x497357[0x13]),_0x52279b=_0x337a17(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x5ae498,0x5,_0x497357[0x14]),_0x20c758=_0x337a17(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x3077c9,0x9,_0x497357[0x15]),_0x385666=_0x337a17(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x1185e1,0xe,_0x497357[0x16]),_0x4bbd5f=_0x337a17(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x276e25,0x14,_0x497357[0x17]),_0x52279b=_0x337a17(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x240bbf,0x5,_0x497357[0x18]),_0x20c758=_0x337a17(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0xc4157b,0x9,_0x497357[0x19]),_0x385666=_0x337a17(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x1f37af,0xe,_0x497357[0x1a]),_0x4bbd5f=_0x337a17(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x13ba57,0x14,_0x497357[0x1b]),_0x52279b=_0x337a17(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x3eb955,0x5,_0x497357[0x1c]),_0x20c758=_0x337a17(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x5c4614,0x9,_0x497357[0x1d]),_0x385666=_0x337a17(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x14493e,0xe,_0x497357[0x1e]),_0x4bbd5f=_0x337a17(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x1b4b98,0x14,_0x497357[0x1f]),_0x52279b=_0x2e3bea(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x5ae498,0x4,_0x497357[0x20]),_0x20c758=_0x2e3bea(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x13ba57,0xb,_0x497357[0x21]),_0x385666=_0x2e3bea(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x4e0534,0x10,_0x497357[0x22]),_0x4bbd5f=_0x2e3bea(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0xc4157b,0x17,_0x497357[0x23]),_0x52279b=_0x2e3bea(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x5a8559,0x4,_0x497357[0x24]),_0x20c758=_0x2e3bea(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x276e25,0xb,_0x497357[0x25]),_0x385666=_0x2e3bea(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x14493e,0x10,_0x497357[0x26]),_0x4bbd5f=_0x2e3bea(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x3077c9,0x17,_0x497357[0x27]),_0x52279b=_0x2e3bea(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x3eb955,0x4,_0x497357[0x28]),_0x20c758=_0x2e3bea(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x173f6b,0xb,_0x497357[0x29]),_0x385666=_0x2e3bea(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x1f37af,0x10,_0x497357[0x2a]),_0x4bbd5f=_0x2e3bea(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x25077b,0x17,_0x497357[0x2b]),_0x52279b=_0x2e3bea(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x240bbf,0x4,_0x497357[0x2c]),_0x20c758=_0x2e3bea(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x1b4b98,0xb,_0x497357[0x2d]),_0x385666=_0x2e3bea(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x1185e1,0x10,_0x497357[0x2e]),_0x4bbd5f=_0x2e3bea(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x5c4614,0x17,_0x497357[0x2f]),_0x52279b=_0x18ce21(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x173f6b,0x6,_0x497357[0x30]),_0x20c758=_0x18ce21(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x14493e,0xa,_0x497357[0x31]),_0x385666=_0x18ce21(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0xc4157b,0xf,_0x497357[0x32]),_0x4bbd5f=_0x18ce21(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x5ae498,0x15,_0x497357[0x33]),_0x52279b=_0x18ce21(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x1b4b98,0x6,_0x497357[0x34]),_0x20c758=_0x18ce21(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x1f37af,0xa,_0x497357[0x35]),_0x385666=_0x18ce21(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x3077c9,0xf,_0x497357[0x36]),_0x4bbd5f=_0x18ce21(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x5a8559,0x15,_0x497357[0x37]),_0x52279b=_0x18ce21(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x13ba57,0x6,_0x497357[0x38]),_0x20c758=_0x18ce21(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x1185e1,0xa,_0x497357[0x39]),_0x385666=_0x18ce21(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x25077b,0xf,_0x497357[0x3a]),_0x4bbd5f=_0x18ce21(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x3eb955,0x15,_0x497357[0x3b]),_0x52279b=_0x18ce21(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x276e25,0x6,_0x497357[0x3c]),_0x20c758=_0x18ce21(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x4e0534,0xa,_0x497357[0x3d]),_0x385666=_0x18ce21(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x5c4614,0xf,_0x497357[0x3e]),_0x4bbd5f=_0x18ce21(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x240bbf,0x15,_0x497357[0x3f]),_0x1474fd[0x0]=_0x1474fd[0x0]+_0x52279b|0x0,_0x1474fd[0x1]=_0x1474fd[0x1]+_0x4bbd5f|0x0,_0x1474fd[0x2]=_0x1474fd[0x2]+_0x385666|0x0,_0x1474fd[0x3]=_0x1474fd[0x3]+_0x20c758|0x0;},'_doFinalize':function(){const _0x2cf003=_0x5766ae;var _0x526218=this[_0x2cf003(0x27e)],_0x41e71c=_0x526218[_0x2cf003(0x5ab)],_0x593e72=this[_0x2cf003(0x4d6)]*0x8,_0x266b3c=_0x526218[_0x2cf003(0x341)]*0x8;_0x41e71c[_0x266b3c>>>0x5]|=0x80<<0x18-_0x266b3c%0x20;var _0x58a140=_0x5ceb63['floor'](_0x593e72/0x100000000),_0x1c1c2c=_0x593e72;_0x41e71c[(_0x266b3c+0x40>>>0x9<<0x4)+0xf]=(_0x58a140<<0x8|_0x58a140>>>0x18)&0xff00ff|(_0x58a140<<0x18|_0x58a140>>>0x8)&0xff00ff00,_0x41e71c[(_0x266b3c+0x40>>>0x9<<0x4)+0xe]=(_0x1c1c2c<<0x8|_0x1c1c2c>>>0x18)&0xff00ff|(_0x1c1c2c<<0x18|_0x1c1c2c>>>0x8)&0xff00ff00,_0x526218['sigBytes']=(_0x41e71c[_0x2cf003(0x32c)]+0x1)*0x4,this[_0x2cf003(0x433)]();for(var _0x295389=this[_0x2cf003(0x371)],_0x127be5=_0x295389[_0x2cf003(0x5ab)],_0x30c545=0x0;_0x30c545<0x4;_0x30c545++){var _0x319c26=_0x127be5[_0x30c545];_0x127be5[_0x30c545]=(_0x319c26<<0x8|_0x319c26>>>0x18)&0xff00ff|(_0x319c26<<0x18|_0x319c26>>>0x8)&0xff00ff00;}return _0x295389;},'clone':function(){const _0x289116=_0x5766ae;var _0x14d204=_0x6e40b4[_0x289116(0x41b)][_0x289116(0x502)](this);return _0x14d204['_hash']=this['_hash'][_0x289116(0x41b)](),_0x14d204;}});function _0xe1a946(_0x463293,_0x1d5a6a,_0x3fe07b,_0x1a5a41,_0x298109,_0x50c18f,_0x29125){var _0xf2d76b=_0x463293+(_0x1d5a6a&_0x3fe07b|~_0x1d5a6a&_0x1a5a41)+_0x298109+_0x29125;return(_0xf2d76b<<_0x50c18f|_0xf2d76b>>>0x20-_0x50c18f)+_0x1d5a6a;}function _0x337a17(_0x2e4411,_0x5996b0,_0x29e088,_0x4f8bf2,_0x38ed39,_0x110c2a,_0x35499d){var _0x201622=_0x2e4411+(_0x5996b0&_0x4f8bf2|_0x29e088&~_0x4f8bf2)+_0x38ed39+_0x35499d;return(_0x201622<<_0x110c2a|_0x201622>>>0x20-_0x110c2a)+_0x5996b0;}function _0x2e3bea(_0x269fe9,_0x2a2e86,_0x1fe3a4,_0x29d84e,_0x319e13,_0x5e0d50,_0x3688fd){var _0x21a66f=_0x269fe9+(_0x2a2e86^_0x1fe3a4^_0x29d84e)+_0x319e13+_0x3688fd;return(_0x21a66f<<_0x5e0d50|_0x21a66f>>>0x20-_0x5e0d50)+_0x2a2e86;}function _0x18ce21(_0x59fc5c,_0x589178,_0x351e0f,_0x485850,_0x5760a1,_0x16490e,_0x537d6e){var _0x376db8=_0x59fc5c+(_0x351e0f^(_0x589178|~_0x485850))+_0x5760a1+_0x537d6e;return(_0x376db8<<_0x16490e|_0x376db8>>>0x20-_0x16490e)+_0x589178;}_0x41c63d[_0x5766ae(0x3d7)]=_0x6e40b4[_0x5766ae(0x302)](_0x1d326f),_0x41c63d[_0x5766ae(0x384)]=_0x6e40b4[_0x5766ae(0x347)](_0x1d326f);}(Math),_0x2a2b38[_0x8e963(0x3d7)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Yt={'exports':{}},Zs;function Ma(){const _0x197e20=_0x241173;return Zs||(Zs=0x1,function(_0x43be81,_0x32f288){(function(_0x554575,_0x547a50){const _0x28bc16=_0x10c7;_0x43be81[_0x28bc16(0x544)]=_0x547a50(ue());}(Z,function(_0x2ae87a){const _0x318405=_0x10c7;return(function(){const _0x215d25=_0x10c7;var _0x251c82=_0x2ae87a,_0x35b330=_0x251c82[_0x215d25(0x431)],_0x5d8fc0=_0x35b330['WordArray'],_0x570a3c=_0x35b330[_0x215d25(0x472)],_0x5e94b0=_0x251c82['algo'],_0x3f94db=[],_0xa1b393=_0x5e94b0[_0x215d25(0x4d8)]=_0x570a3c[_0x215d25(0x33c)]({'_doReset':function(){const _0x1c805a=_0x215d25;this['_hash']=new _0x5d8fc0[(_0x1c805a(0x459))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f2473,_0xd5183e){const _0x5e87ed=_0x215d25;for(var _0x1f05d7=this[_0x5e87ed(0x371)][_0x5e87ed(0x5ab)],_0x2d2601=_0x1f05d7[0x0],_0x3c95f8=_0x1f05d7[0x1],_0x14b971=_0x1f05d7[0x2],_0x1846d8=_0x1f05d7[0x3],_0x1d509c=_0x1f05d7[0x4],_0x5513cf=0x0;_0x5513cf<0x50;_0x5513cf++){if(_0x5513cf<0x10)_0x3f94db[_0x5513cf]=_0x2f2473[_0xd5183e+_0x5513cf]|0x0;else{var _0x3788dd=_0x3f94db[_0x5513cf-0x3]^_0x3f94db[_0x5513cf-0x8]^_0x3f94db[_0x5513cf-0xe]^_0x3f94db[_0x5513cf-0x10];_0x3f94db[_0x5513cf]=_0x3788dd<<0x1|_0x3788dd>>>0x1f;}var _0x1cb77d=(_0x2d2601<<0x5|_0x2d2601>>>0x1b)+_0x1d509c+_0x3f94db[_0x5513cf];_0x5513cf<0x14?_0x1cb77d+=(_0x3c95f8&_0x14b971|~_0x3c95f8&_0x1846d8)+0x5a827999:_0x5513cf<0x28?_0x1cb77d+=(_0x3c95f8^_0x14b971^_0x1846d8)+0x6ed9eba1:_0x5513cf<0x3c?_0x1cb77d+=(_0x3c95f8&_0x14b971|_0x3c95f8&_0x1846d8|_0x14b971&_0x1846d8)-0x70e44324:_0x1cb77d+=(_0x3c95f8^_0x14b971^_0x1846d8)-0x359d3e2a,_0x1d509c=_0x1846d8,_0x1846d8=_0x14b971,_0x14b971=_0x3c95f8<<0x1e|_0x3c95f8>>>0x2,_0x3c95f8=_0x2d2601,_0x2d2601=_0x1cb77d;}_0x1f05d7[0x0]=_0x1f05d7[0x0]+_0x2d2601|0x0,_0x1f05d7[0x1]=_0x1f05d7[0x1]+_0x3c95f8|0x0,_0x1f05d7[0x2]=_0x1f05d7[0x2]+_0x14b971|0x0,_0x1f05d7[0x3]=_0x1f05d7[0x3]+_0x1846d8|0x0,_0x1f05d7[0x4]=_0x1f05d7[0x4]+_0x1d509c|0x0;},'_doFinalize':function(){const _0x171c9c=_0x215d25;var _0x767024=this[_0x171c9c(0x27e)],_0x596bc1=_0x767024[_0x171c9c(0x5ab)],_0xcb15ea=this[_0x171c9c(0x4d6)]*0x8,_0x374260=_0x767024[_0x171c9c(0x341)]*0x8;return _0x596bc1[_0x374260>>>0x5]|=0x80<<0x18-_0x374260%0x20,_0x596bc1[(_0x374260+0x40>>>0x9<<0x4)+0xe]=Math[_0x171c9c(0x1bf)](_0xcb15ea/0x100000000),_0x596bc1[(_0x374260+0x40>>>0x9<<0x4)+0xf]=_0xcb15ea,_0x767024[_0x171c9c(0x341)]=_0x596bc1[_0x171c9c(0x32c)]*0x4,this[_0x171c9c(0x433)](),this['_hash'];},'clone':function(){const _0x18b1f1=_0x215d25;var _0x4029b6=_0x570a3c[_0x18b1f1(0x41b)][_0x18b1f1(0x502)](this);return _0x4029b6['_hash']=this[_0x18b1f1(0x371)][_0x18b1f1(0x41b)](),_0x4029b6;}});_0x251c82['SHA1']=_0x570a3c[_0x215d25(0x302)](_0xa1b393),_0x251c82[_0x215d25(0x1ef)]=_0x570a3c[_0x215d25(0x347)](_0xa1b393);}()),_0x2ae87a[_0x318405(0x4d8)];}));}(Yt)),Yt[_0x197e20(0x544)];}var Kt={'exports':{}},Qs;function xa(){const _0x2551a5=_0x241173;return Qs||(Qs=0x1,function(_0x33411f,_0x43a9ce){(function(_0x4be898,_0x3e7dc2){const _0x42f994=_0x10c7;_0x33411f[_0x42f994(0x544)]=_0x3e7dc2(ue());}(Z,function(_0x16a011){(function(){const _0x3a17c2=_0x10c7;var _0x1bf65a=_0x16a011,_0x526165=_0x1bf65a[_0x3a17c2(0x431)],_0x14ac14=_0x526165['Base'],_0x467613=_0x1bf65a[_0x3a17c2(0x3eb)],_0x2b2aa5=_0x467613['Utf8'],_0xf7154b=_0x1bf65a[_0x3a17c2(0x5bb)];_0xf7154b['HMAC']=_0x14ac14[_0x3a17c2(0x33c)]({'init':function(_0x4fc222,_0x47fb4b){const _0x1a29b9=_0x3a17c2;_0x4fc222=this[_0x1a29b9(0x340)]=new _0x4fc222[(_0x1a29b9(0x459))](),typeof _0x47fb4b==_0x1a29b9(0x412)&&(_0x47fb4b=_0x2b2aa5[_0x1a29b9(0x527)](_0x47fb4b));var _0x4123c4=_0x4fc222[_0x1a29b9(0x207)],_0x510fa8=_0x4123c4*0x4;_0x47fb4b[_0x1a29b9(0x341)]>_0x510fa8&&(_0x47fb4b=_0x4fc222[_0x1a29b9(0x2f8)](_0x47fb4b)),_0x47fb4b[_0x1a29b9(0x519)]();for(var _0x1fe2e9=this[_0x1a29b9(0x1e0)]=_0x47fb4b[_0x1a29b9(0x41b)](),_0x5d3c21=this['_iKey']=_0x47fb4b[_0x1a29b9(0x41b)](),_0xcec04=_0x1fe2e9[_0x1a29b9(0x5ab)],_0xa5d5cb=_0x5d3c21[_0x1a29b9(0x5ab)],_0x4054da=0x0;_0x4054da<_0x4123c4;_0x4054da++)_0xcec04[_0x4054da]^=0x5c5c5c5c,_0xa5d5cb[_0x4054da]^=0x36363636;_0x1fe2e9[_0x1a29b9(0x341)]=_0x5d3c21['sigBytes']=_0x510fa8,this[_0x1a29b9(0x29c)]();},'reset':function(){const _0x31ccae=_0x3a17c2;var _0x3614e1=this[_0x31ccae(0x340)];_0x3614e1[_0x31ccae(0x29c)](),_0x3614e1[_0x31ccae(0x539)](this[_0x31ccae(0x21e)]);},'update':function(_0x5dc0b0){return this['_hasher']['update'](_0x5dc0b0),this;},'finalize':function(_0x53ac1f){const _0x29d642=_0x3a17c2;var _0xdf1295=this[_0x29d642(0x340)],_0x2697b2=_0xdf1295['finalize'](_0x53ac1f);_0xdf1295[_0x29d642(0x29c)]();var _0x16f424=_0xdf1295['finalize'](this[_0x29d642(0x1e0)][_0x29d642(0x41b)]()['concat'](_0x2697b2));return _0x16f424;}});}());}));}(Kt)),Kt[_0x2551a5(0x544)];}var ei;function Bi(){return ei||(ei=0x1,function(_0x378a01,_0x57400b){(function(_0x50ff09,_0x52d7ae,_0x2909d7){const _0x4af507=_0x10c7;_0x378a01[_0x4af507(0x544)]=_0x52d7ae(ue(),Ma(),xa());}(Z,function(_0x299965){const _0x1528bb=_0x10c7;return(function(){const _0x481f0c=_0x10c7;var _0x23ccdd=_0x299965,_0x2d1eb1=_0x23ccdd[_0x481f0c(0x431)],_0x223757=_0x2d1eb1['Base'],_0x156da3=_0x2d1eb1[_0x481f0c(0x576)],_0x52f8fb=_0x23ccdd[_0x481f0c(0x5bb)],_0x5b70ba=_0x52f8fb[_0x481f0c(0x3d7)],_0x391e13=_0x52f8fb[_0x481f0c(0x53b)]=_0x223757['extend']({'cfg':_0x223757[_0x481f0c(0x33c)]({'keySize':0x80/0x20,'hasher':_0x5b70ba,'iterations':0x1}),'init':function(_0x399fa9){const _0x2fda24=_0x481f0c;this[_0x2fda24(0x528)]=this['cfg'][_0x2fda24(0x33c)](_0x399fa9);},'compute':function(_0x469391,_0x2d9128){const _0x3d9408=_0x481f0c;for(var _0x48d586,_0x2ef31f=this[_0x3d9408(0x528)],_0x1dd9ea=_0x2ef31f[_0x3d9408(0x517)][_0x3d9408(0x487)](),_0x3e030a=_0x156da3['create'](),_0x5353fd=_0x3e030a[_0x3d9408(0x5ab)],_0x2faa42=_0x2ef31f[_0x3d9408(0x564)],_0x19624f=_0x2ef31f[_0x3d9408(0x580)];_0x5353fd[_0x3d9408(0x32c)]<_0x2faa42;){_0x48d586&&_0x1dd9ea[_0x3d9408(0x539)](_0x48d586),_0x48d586=_0x1dd9ea[_0x3d9408(0x539)](_0x469391)[_0x3d9408(0x2f8)](_0x2d9128),_0x1dd9ea[_0x3d9408(0x29c)]();for(var _0x333c57=0x1;_0x333c57<_0x19624f;_0x333c57++)_0x48d586=_0x1dd9ea[_0x3d9408(0x2f8)](_0x48d586),_0x1dd9ea[_0x3d9408(0x29c)]();_0x3e030a['concat'](_0x48d586);}return _0x3e030a[_0x3d9408(0x341)]=_0x2faa42*0x4,_0x3e030a;}});_0x23ccdd[_0x481f0c(0x53b)]=function(_0x172f1,_0x241035,_0xc81cc3){const _0x23766c=_0x481f0c;return _0x391e13[_0x23766c(0x487)](_0xc81cc3)[_0x23766c(0x3af)](_0x172f1,_0x241035);};}()),_0x299965[_0x1528bb(0x53b)];}));}(Gt)),Gt['exports'];}var zt={'exports':{}},ti;function ki(){return ti||(ti=0x1,function(_0x4bce40,_0x40c342){(function(_0x21536a,_0x40f3e2,_0x2771dc){const _0x1d3ebd=_0x10c7;_0x4bce40[_0x1d3ebd(0x544)]=_0x40f3e2(ue(),Bi());}(Z,function(_0x24b867){const _0x53ab44=_0x10c7;_0x24b867[_0x53ab44(0x431)][_0x53ab44(0x2c7)]||function(_0x1e78c7){const _0x4debe9=_0x53ab44;var _0x20bff2=_0x24b867,_0x224c34=_0x20bff2[_0x4debe9(0x431)],_0x3ea564=_0x224c34['Base'],_0x2e3482=_0x224c34[_0x4debe9(0x576)],_0x1a3e2a=_0x224c34[_0x4debe9(0x4d2)],_0x4b5287=_0x20bff2[_0x4debe9(0x3eb)];_0x4b5287['Utf8'];var _0x4aeef0=_0x4b5287[_0x4debe9(0x243)],_0x35b4b9=_0x20bff2[_0x4debe9(0x5bb)],_0xb38b0a=_0x35b4b9[_0x4debe9(0x53b)],_0x4502e1=_0x224c34['Cipher']=_0x1a3e2a[_0x4debe9(0x33c)]({'cfg':_0x3ea564[_0x4debe9(0x33c)](),'createEncryptor':function(_0x1a3166,_0x21be38){const _0xcbc4a0=_0x4debe9;return this[_0xcbc4a0(0x487)](this[_0xcbc4a0(0x40f)],_0x1a3166,_0x21be38);},'createDecryptor':function(_0x1887c9,_0x465332){const _0x1813f5=_0x4debe9;return this[_0x1813f5(0x487)](this[_0x1813f5(0x249)],_0x1887c9,_0x465332);},'init':function(_0x23ea89,_0x141a52,_0x5d1fc9){const _0x4f4996=_0x4debe9;this[_0x4f4996(0x528)]=this[_0x4f4996(0x528)][_0x4f4996(0x33c)](_0x5d1fc9),this[_0x4f4996(0x43a)]=_0x23ea89,this[_0x4f4996(0x4a4)]=_0x141a52,this[_0x4f4996(0x29c)]();},'reset':function(){const _0x4f459d=_0x4debe9;_0x1a3e2a['reset'][_0x4f459d(0x502)](this),this['_doReset']();},'process':function(_0x4763cb){const _0x213360=_0x4debe9;return this[_0x213360(0x258)](_0x4763cb),this[_0x213360(0x433)]();},'finalize':function(_0x383dbd){const _0x29fb18=_0x4debe9;_0x383dbd&&this[_0x29fb18(0x258)](_0x383dbd);var _0x1498eb=this[_0x29fb18(0x369)]();return _0x1498eb;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x474fcf(_0x832d9d){return typeof _0x832d9d=='string'?_0x602f9c:_0x6a5d27;}return function(_0x3e7914){return{'encrypt':function(_0x47a47b,_0x14218a,_0x2a5589){const _0x15da5a=_0x10c7;return _0x474fcf(_0x14218a)[_0x15da5a(0x2b7)](_0x3e7914,_0x47a47b,_0x14218a,_0x2a5589);},'decrypt':function(_0xe48de4,_0x901941,_0x544648){const _0x2dd180=_0x10c7;return _0x474fcf(_0x901941)[_0x2dd180(0x278)](_0x3e7914,_0xe48de4,_0x901941,_0x544648);}};};}())});_0x224c34[_0x4debe9(0x37c)]=_0x4502e1[_0x4debe9(0x33c)]({'_doFinalize':function(){var _0x1ba9e7=this['_process'](!0x0);return _0x1ba9e7;},'blockSize':0x1});var _0x1e72f4=_0x20bff2[_0x4debe9(0x3e3)]={},_0x459afd=_0x224c34[_0x4debe9(0x358)]=_0x3ea564[_0x4debe9(0x33c)]({'createEncryptor':function(_0x2e26c2,_0x1a3570){const _0x13c2ab=_0x4debe9;return this[_0x13c2ab(0x1fd)][_0x13c2ab(0x487)](_0x2e26c2,_0x1a3570);},'createDecryptor':function(_0x20c4d9,_0x2a5cee){const _0x294f1e=_0x4debe9;return this[_0x294f1e(0x3f1)][_0x294f1e(0x487)](_0x20c4d9,_0x2a5cee);},'init':function(_0x5d4f55,_0x7d8fd9){const _0x268b40=_0x4debe9;this['_cipher']=_0x5d4f55,this[_0x268b40(0x227)]=_0x7d8fd9;}}),_0x10ad1e=_0x1e72f4['CBC']=(function(){const _0x4e420d=_0x4debe9;var _0x5ae5ed=_0x459afd[_0x4e420d(0x33c)]();_0x5ae5ed[_0x4e420d(0x1fd)]=_0x5ae5ed[_0x4e420d(0x33c)]({'processBlock':function(_0x3444f1,_0x402e30){const _0x168687=_0x4e420d;var _0x16a56f=this[_0x168687(0x2e4)],_0x3fb987=_0x16a56f[_0x168687(0x207)];_0x1a59b3[_0x168687(0x502)](this,_0x3444f1,_0x402e30,_0x3fb987),_0x16a56f[_0x168687(0x2d4)](_0x3444f1,_0x402e30),this[_0x168687(0x3c6)]=_0x3444f1['slice'](_0x402e30,_0x402e30+_0x3fb987);}}),_0x5ae5ed[_0x4e420d(0x3f1)]=_0x5ae5ed[_0x4e420d(0x33c)]({'processBlock':function(_0x1265a8,_0x50c724){const _0x1f81cc=_0x4e420d;var _0x172649=this[_0x1f81cc(0x2e4)],_0x3c3d7e=_0x172649['blockSize'],_0x2d05df=_0x1265a8[_0x1f81cc(0x55b)](_0x50c724,_0x50c724+_0x3c3d7e);_0x172649['decryptBlock'](_0x1265a8,_0x50c724),_0x1a59b3[_0x1f81cc(0x502)](this,_0x1265a8,_0x50c724,_0x3c3d7e),this[_0x1f81cc(0x3c6)]=_0x2d05df;}});function _0x1a59b3(_0x55410a,_0x81ca46,_0x5d11fa){const _0x2bfa93=_0x4e420d;var _0x33e1f9,_0x3e3fe7=this[_0x2bfa93(0x227)];_0x3e3fe7?(_0x33e1f9=_0x3e3fe7,this[_0x2bfa93(0x227)]=_0x1e78c7):_0x33e1f9=this[_0x2bfa93(0x3c6)];for(var _0x5c5440=0x0;_0x5c5440<_0x5d11fa;_0x5c5440++)_0x55410a[_0x81ca46+_0x5c5440]^=_0x33e1f9[_0x5c5440];}return _0x5ae5ed;}()),_0x5b3135=_0x20bff2['pad']={},_0x56a79c=_0x5b3135[_0x4debe9(0x48b)]={'pad':function(_0x5c11b7,_0x5a21e0){const _0x251355=_0x4debe9;for(var _0x434574=_0x5a21e0*0x4,_0x59da2=_0x434574-_0x5c11b7[_0x251355(0x341)]%_0x434574,_0x162aa3=_0x59da2<<0x18|_0x59da2<<0x10|_0x59da2<<0x8|_0x59da2,_0x341735=[],_0x4b66b4=0x0;_0x4b66b4<_0x59da2;_0x4b66b4+=0x4)_0x341735[_0x251355(0x42a)](_0x162aa3);var _0xa8d599=_0x2e3482[_0x251355(0x487)](_0x341735,_0x59da2);_0x5c11b7[_0x251355(0x47f)](_0xa8d599);},'unpad':function(_0xc827a2){const _0x17c075=_0x4debe9;var _0x3c9ad5=_0xc827a2[_0x17c075(0x5ab)][_0xc827a2[_0x17c075(0x341)]-0x1>>>0x2]&0xff;_0xc827a2[_0x17c075(0x341)]-=_0x3c9ad5;}};_0x224c34[_0x4debe9(0x375)]=_0x4502e1['extend']({'cfg':_0x4502e1['cfg'][_0x4debe9(0x33c)]({'mode':_0x10ad1e,'padding':_0x56a79c}),'reset':function(){const _0x36b4b7=_0x4debe9;var _0x32619d;_0x4502e1[_0x36b4b7(0x29c)][_0x36b4b7(0x502)](this);var _0x2ee7b5=this['cfg'],_0x4807ef=_0x2ee7b5['iv'],_0x178178=_0x2ee7b5[_0x36b4b7(0x3e3)];this[_0x36b4b7(0x43a)]==this['_ENC_XFORM_MODE']?_0x32619d=_0x178178[_0x36b4b7(0x266)]:(_0x32619d=_0x178178[_0x36b4b7(0x4e9)],this[_0x36b4b7(0x21a)]=0x1),this[_0x36b4b7(0x333)]&&this[_0x36b4b7(0x333)]['__creator']==_0x32619d?this[_0x36b4b7(0x333)][_0x36b4b7(0x459)](this,_0x4807ef&&_0x4807ef[_0x36b4b7(0x5ab)]):(this[_0x36b4b7(0x333)]=_0x32619d[_0x36b4b7(0x502)](_0x178178,this,_0x4807ef&&_0x4807ef[_0x36b4b7(0x5ab)]),this[_0x36b4b7(0x333)][_0x36b4b7(0x1e2)]=_0x32619d);},'_doProcessBlock':function(_0x3def89,_0x5e5be7){const _0x4de7c6=_0x4debe9;this[_0x4de7c6(0x333)][_0x4de7c6(0x1d5)](_0x3def89,_0x5e5be7);},'_doFinalize':function(){const _0xb2592f=_0x4debe9;var _0x181809,_0x17fbc=this['cfg'][_0xb2592f(0x394)];return this['_xformMode']==this[_0xb2592f(0x40f)]?(_0x17fbc[_0xb2592f(0x23b)](this[_0xb2592f(0x27e)],this[_0xb2592f(0x207)]),_0x181809=this[_0xb2592f(0x433)](!0x0)):(_0x181809=this[_0xb2592f(0x433)](!0x0),_0x17fbc['unpad'](_0x181809)),_0x181809;},'blockSize':0x80/0x20});var _0x4be6d5=_0x224c34[_0x4debe9(0x390)]=_0x3ea564[_0x4debe9(0x33c)]({'init':function(_0x3552d2){this['mixIn'](_0x3552d2);},'toString':function(_0x2f87d3){const _0x4f3405=_0x4debe9;return(_0x2f87d3||this[_0x4f3405(0x356)])[_0x4f3405(0x4aa)](this);}}),_0xccbaa5=_0x20bff2[_0x4debe9(0x470)]={},_0x4d4645=_0xccbaa5[_0x4debe9(0x322)]={'stringify':function(_0x277d83){const _0x34c520=_0x4debe9;var _0x30fcc5,_0x440f95=_0x277d83[_0x34c520(0x363)],_0x3f6e25=_0x277d83[_0x34c520(0x496)];return _0x3f6e25?_0x30fcc5=_0x2e3482[_0x34c520(0x487)]([0x53616c74,0x65645f5f])['concat'](_0x3f6e25)['concat'](_0x440f95):_0x30fcc5=_0x440f95,_0x30fcc5[_0x34c520(0x447)](_0x4aeef0);},'parse':function(_0x2ee298){const _0x1c02a5=_0x4debe9;var _0x222e50,_0x33c413=_0x4aeef0[_0x1c02a5(0x527)](_0x2ee298),_0x175d0f=_0x33c413['words'];return _0x175d0f[0x0]==0x53616c74&&_0x175d0f[0x1]==0x65645f5f&&(_0x222e50=_0x2e3482['create'](_0x175d0f[_0x1c02a5(0x55b)](0x2,0x4)),_0x175d0f['splice'](0x0,0x4),_0x33c413[_0x1c02a5(0x341)]-=0x10),_0x4be6d5[_0x1c02a5(0x487)]({'ciphertext':_0x33c413,'salt':_0x222e50});}},_0x6a5d27=_0x224c34[_0x4debe9(0x54d)]=_0x3ea564[_0x4debe9(0x33c)]({'cfg':_0x3ea564[_0x4debe9(0x33c)]({'format':_0x4d4645}),'encrypt':function(_0x47a976,_0x71b344,_0x4eec6e,_0x587ded){const _0xd9bc09=_0x4debe9;_0x587ded=this[_0xd9bc09(0x528)][_0xd9bc09(0x33c)](_0x587ded);var _0x6e0bc9=_0x47a976['createEncryptor'](_0x4eec6e,_0x587ded),_0x420a18=_0x6e0bc9[_0xd9bc09(0x2f8)](_0x71b344),_0x30d721=_0x6e0bc9[_0xd9bc09(0x528)];return _0x4be6d5['create']({'ciphertext':_0x420a18,'key':_0x4eec6e,'iv':_0x30d721['iv'],'algorithm':_0x47a976,'mode':_0x30d721['mode'],'padding':_0x30d721[_0xd9bc09(0x394)],'blockSize':_0x47a976[_0xd9bc09(0x207)],'formatter':_0x587ded[_0xd9bc09(0x470)]});},'decrypt':function(_0x371667,_0x2517cd,_0x1810f3,_0x3b472a){const _0x568f2e=_0x4debe9;_0x3b472a=this[_0x568f2e(0x528)][_0x568f2e(0x33c)](_0x3b472a),_0x2517cd=this[_0x568f2e(0x3cf)](_0x2517cd,_0x3b472a[_0x568f2e(0x470)]);var _0xa01cda=_0x371667['createDecryptor'](_0x1810f3,_0x3b472a)[_0x568f2e(0x2f8)](_0x2517cd['ciphertext']);return _0xa01cda;},'_parse':function(_0x49abc2,_0x1fe591){const _0x48baf5=_0x4debe9;return typeof _0x49abc2==_0x48baf5(0x412)?_0x1fe591[_0x48baf5(0x527)](_0x49abc2,this):_0x49abc2;}}),_0x1f6efd=_0x20bff2[_0x4debe9(0x328)]={},_0x1e19c9=_0x1f6efd['OpenSSL']={'execute':function(_0xbe4bb3,_0xa77597,_0x399eb0,_0x4045fb,_0xc45cd6){const _0x3a60ab=_0x4debe9;if(_0x4045fb||(_0x4045fb=_0x2e3482[_0x3a60ab(0x57a)](0x40/0x8)),_0xc45cd6)var _0x902803=_0xb38b0a[_0x3a60ab(0x487)]({'keySize':_0xa77597+_0x399eb0,'hasher':_0xc45cd6})['compute'](_0xbe4bb3,_0x4045fb);else var _0x902803=_0xb38b0a[_0x3a60ab(0x487)]({'keySize':_0xa77597+_0x399eb0})['compute'](_0xbe4bb3,_0x4045fb);var _0xdd07cf=_0x2e3482[_0x3a60ab(0x487)](_0x902803[_0x3a60ab(0x5ab)][_0x3a60ab(0x55b)](_0xa77597),_0x399eb0*0x4);return _0x902803[_0x3a60ab(0x341)]=_0xa77597*0x4,_0x4be6d5[_0x3a60ab(0x487)]({'key':_0x902803,'iv':_0xdd07cf,'salt':_0x4045fb});}},_0x602f9c=_0x224c34[_0x4debe9(0x4ee)]=_0x6a5d27[_0x4debe9(0x33c)]({'cfg':_0x6a5d27[_0x4debe9(0x528)][_0x4debe9(0x33c)]({'kdf':_0x1e19c9}),'encrypt':function(_0x4c40bf,_0x14b0b5,_0xc14b8a,_0x52cac8){const _0x240f1c=_0x4debe9;_0x52cac8=this[_0x240f1c(0x528)][_0x240f1c(0x33c)](_0x52cac8);var _0x577c94=_0x52cac8['kdf'][_0x240f1c(0x24a)](_0xc14b8a,_0x4c40bf[_0x240f1c(0x564)],_0x4c40bf['ivSize'],_0x52cac8[_0x240f1c(0x496)],_0x52cac8[_0x240f1c(0x517)]);_0x52cac8['iv']=_0x577c94['iv'];var _0x17cdc2=_0x6a5d27[_0x240f1c(0x2b7)][_0x240f1c(0x502)](this,_0x4c40bf,_0x14b0b5,_0x577c94[_0x240f1c(0x37e)],_0x52cac8);return _0x17cdc2[_0x240f1c(0x30e)](_0x577c94),_0x17cdc2;},'decrypt':function(_0x5a7acf,_0x45f7cc,_0x30a9b7,_0x521a26){const _0x58979b=_0x4debe9;_0x521a26=this[_0x58979b(0x528)]['extend'](_0x521a26),_0x45f7cc=this[_0x58979b(0x3cf)](_0x45f7cc,_0x521a26[_0x58979b(0x470)]);var _0x351b95=_0x521a26[_0x58979b(0x328)][_0x58979b(0x24a)](_0x30a9b7,_0x5a7acf[_0x58979b(0x564)],_0x5a7acf[_0x58979b(0x497)],_0x45f7cc[_0x58979b(0x496)],_0x521a26['hasher']);_0x521a26['iv']=_0x351b95['iv'];var _0x2c97cc=_0x6a5d27['decrypt'][_0x58979b(0x502)](this,_0x5a7acf,_0x45f7cc,_0x351b95[_0x58979b(0x37e)],_0x521a26);return _0x2c97cc;}});}();}));}(zt)),zt['exports'];}(function(_0x226e7f,_0x84f7e2){(function(_0x202c59,_0x39a16a,_0x33fcfa){_0x226e7f['exports']=_0x39a16a(ue(),ji(),Aa(),Bi(),ki());}(Z,function(_0x17d2f4){const _0x5cb808=_0x10c7;return(function(){const _0x54330a=_0x10c7;var _0x132ba4=_0x17d2f4,_0x538533=_0x132ba4[_0x54330a(0x431)],_0x86fa54=_0x538533[_0x54330a(0x375)],_0x5b9988=_0x132ba4[_0x54330a(0x5bb)],_0x2e4567=[],_0x1e17cc=[],_0x27afde=[],_0x414275=[],_0x67d8ec=[],_0x2005d8=[],_0x4f4b4e=[],_0x1ed6d5=[],_0x2cfaf5=[],_0x133827=[];(function(){for(var _0x49dee3=[],_0x27c605=0x0;_0x27c605<0x100;_0x27c605++)_0x27c605<0x80?_0x49dee3[_0x27c605]=_0x27c605<<0x1:_0x49dee3[_0x27c605]=_0x27c605<<0x1^0x11b;for(var _0x5b3dfe=0x0,_0x1c4445=0x0,_0x27c605=0x0;_0x27c605<0x100;_0x27c605++){var _0x1ca42f=_0x1c4445^_0x1c4445<<0x1^_0x1c4445<<0x2^_0x1c4445<<0x3^_0x1c4445<<0x4;_0x1ca42f=_0x1ca42f>>>0x8^_0x1ca42f&0xff^0x63,_0x2e4567[_0x5b3dfe]=_0x1ca42f,_0x1e17cc[_0x1ca42f]=_0x5b3dfe;var _0x59f9d5=_0x49dee3[_0x5b3dfe],_0x3be76b=_0x49dee3[_0x59f9d5],_0x59e681=_0x49dee3[_0x3be76b],_0x853207=_0x49dee3[_0x1ca42f]*0x101^_0x1ca42f*0x1010100;_0x27afde[_0x5b3dfe]=_0x853207<<0x18|_0x853207>>>0x8,_0x414275[_0x5b3dfe]=_0x853207<<0x10|_0x853207>>>0x10,_0x67d8ec[_0x5b3dfe]=_0x853207<<0x8|_0x853207>>>0x18,_0x2005d8[_0x5b3dfe]=_0x853207;var _0x853207=_0x59e681*0x1010101^_0x3be76b*0x10001^_0x59f9d5*0x101^_0x5b3dfe*0x1010100;_0x4f4b4e[_0x1ca42f]=_0x853207<<0x18|_0x853207>>>0x8,_0x1ed6d5[_0x1ca42f]=_0x853207<<0x10|_0x853207>>>0x10,_0x2cfaf5[_0x1ca42f]=_0x853207<<0x8|_0x853207>>>0x18,_0x133827[_0x1ca42f]=_0x853207,_0x5b3dfe?(_0x5b3dfe=_0x59f9d5^_0x49dee3[_0x49dee3[_0x49dee3[_0x59e681^_0x59f9d5]]],_0x1c4445^=_0x49dee3[_0x49dee3[_0x1c4445]]):_0x5b3dfe=_0x1c4445=0x1;}}());var _0x4497a1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3db90a=_0x5b9988[_0x54330a(0x217)]=_0x86fa54[_0x54330a(0x33c)]({'_doReset':function(){const _0x3c1209=_0x54330a;var _0x5f085a;if(!(this[_0x3c1209(0x343)]&&this[_0x3c1209(0x299)]===this[_0x3c1209(0x4a4)])){for(var _0x5b2810=this['_keyPriorReset']=this[_0x3c1209(0x4a4)],_0x10cc5a=_0x5b2810[_0x3c1209(0x5ab)],_0x53e1f8=_0x5b2810[_0x3c1209(0x341)]/0x4,_0x152b85=this[_0x3c1209(0x343)]=_0x53e1f8+0x6,_0x3aa3c4=(_0x152b85+0x1)*0x4,_0x4a85c1=this[_0x3c1209(0x2a4)]=[],_0x8725c3=0x0;_0x8725c3<_0x3aa3c4;_0x8725c3++)_0x8725c3<_0x53e1f8?_0x4a85c1[_0x8725c3]=_0x10cc5a[_0x8725c3]:(_0x5f085a=_0x4a85c1[_0x8725c3-0x1],_0x8725c3%_0x53e1f8?_0x53e1f8>0x6&&_0x8725c3%_0x53e1f8==0x4&&(_0x5f085a=_0x2e4567[_0x5f085a>>>0x18]<<0x18|_0x2e4567[_0x5f085a>>>0x10&0xff]<<0x10|_0x2e4567[_0x5f085a>>>0x8&0xff]<<0x8|_0x2e4567[_0x5f085a&0xff]):(_0x5f085a=_0x5f085a<<0x8|_0x5f085a>>>0x18,_0x5f085a=_0x2e4567[_0x5f085a>>>0x18]<<0x18|_0x2e4567[_0x5f085a>>>0x10&0xff]<<0x10|_0x2e4567[_0x5f085a>>>0x8&0xff]<<0x8|_0x2e4567[_0x5f085a&0xff],_0x5f085a^=_0x4497a1[_0x8725c3/_0x53e1f8|0x0]<<0x18),_0x4a85c1[_0x8725c3]=_0x4a85c1[_0x8725c3-_0x53e1f8]^_0x5f085a);for(var _0x4c37f4=this['_invKeySchedule']=[],_0x20cd2b=0x0;_0x20cd2b<_0x3aa3c4;_0x20cd2b++){var _0x8725c3=_0x3aa3c4-_0x20cd2b;if(_0x20cd2b%0x4)var _0x5f085a=_0x4a85c1[_0x8725c3];else var _0x5f085a=_0x4a85c1[_0x8725c3-0x4];_0x20cd2b<0x4||_0x8725c3<=0x4?_0x4c37f4[_0x20cd2b]=_0x5f085a:_0x4c37f4[_0x20cd2b]=_0x4f4b4e[_0x2e4567[_0x5f085a>>>0x18]]^_0x1ed6d5[_0x2e4567[_0x5f085a>>>0x10&0xff]]^_0x2cfaf5[_0x2e4567[_0x5f085a>>>0x8&0xff]]^_0x133827[_0x2e4567[_0x5f085a&0xff]];}}},'encryptBlock':function(_0xf942d2,_0x597fb9){const _0x2d5f98=_0x54330a;this[_0x2d5f98(0x1f7)](_0xf942d2,_0x597fb9,this[_0x2d5f98(0x2a4)],_0x27afde,_0x414275,_0x67d8ec,_0x2005d8,_0x2e4567);},'decryptBlock':function(_0x20cad5,_0x55f779){const _0x4749a6=_0x54330a;var _0x1de7c6=_0x20cad5[_0x55f779+0x1];_0x20cad5[_0x55f779+0x1]=_0x20cad5[_0x55f779+0x3],_0x20cad5[_0x55f779+0x3]=_0x1de7c6,this[_0x4749a6(0x1f7)](_0x20cad5,_0x55f779,this[_0x4749a6(0x551)],_0x4f4b4e,_0x1ed6d5,_0x2cfaf5,_0x133827,_0x1e17cc);var _0x1de7c6=_0x20cad5[_0x55f779+0x1];_0x20cad5[_0x55f779+0x1]=_0x20cad5[_0x55f779+0x3],_0x20cad5[_0x55f779+0x3]=_0x1de7c6;},'_doCryptBlock':function(_0x432eb5,_0x1571b1,_0x5443bb,_0x37d727,_0x33fc8a,_0x5b4e34,_0x4f99c5,_0x4a9b0b){const _0x5ba437=_0x54330a;for(var _0x3ac2e3=this[_0x5ba437(0x343)],_0x3a8eb9=_0x432eb5[_0x1571b1]^_0x5443bb[0x0],_0x25b48d=_0x432eb5[_0x1571b1+0x1]^_0x5443bb[0x1],_0x5b639c=_0x432eb5[_0x1571b1+0x2]^_0x5443bb[0x2],_0x5d63c7=_0x432eb5[_0x1571b1+0x3]^_0x5443bb[0x3],_0x82c178=0x4,_0x27c589=0x1;_0x27c589<_0x3ac2e3;_0x27c589++){var _0x2a62d6=_0x37d727[_0x3a8eb9>>>0x18]^_0x33fc8a[_0x25b48d>>>0x10&0xff]^_0x5b4e34[_0x5b639c>>>0x8&0xff]^_0x4f99c5[_0x5d63c7&0xff]^_0x5443bb[_0x82c178++],_0x424ea0=_0x37d727[_0x25b48d>>>0x18]^_0x33fc8a[_0x5b639c>>>0x10&0xff]^_0x5b4e34[_0x5d63c7>>>0x8&0xff]^_0x4f99c5[_0x3a8eb9&0xff]^_0x5443bb[_0x82c178++],_0x112f2a=_0x37d727[_0x5b639c>>>0x18]^_0x33fc8a[_0x5d63c7>>>0x10&0xff]^_0x5b4e34[_0x3a8eb9>>>0x8&0xff]^_0x4f99c5[_0x25b48d&0xff]^_0x5443bb[_0x82c178++],_0x4287f9=_0x37d727[_0x5d63c7>>>0x18]^_0x33fc8a[_0x3a8eb9>>>0x10&0xff]^_0x5b4e34[_0x25b48d>>>0x8&0xff]^_0x4f99c5[_0x5b639c&0xff]^_0x5443bb[_0x82c178++];_0x3a8eb9=_0x2a62d6,_0x25b48d=_0x424ea0,_0x5b639c=_0x112f2a,_0x5d63c7=_0x4287f9;}var _0x2a62d6=(_0x4a9b0b[_0x3a8eb9>>>0x18]<<0x18|_0x4a9b0b[_0x25b48d>>>0x10&0xff]<<0x10|_0x4a9b0b[_0x5b639c>>>0x8&0xff]<<0x8|_0x4a9b0b[_0x5d63c7&0xff])^_0x5443bb[_0x82c178++],_0x424ea0=(_0x4a9b0b[_0x25b48d>>>0x18]<<0x18|_0x4a9b0b[_0x5b639c>>>0x10&0xff]<<0x10|_0x4a9b0b[_0x5d63c7>>>0x8&0xff]<<0x8|_0x4a9b0b[_0x3a8eb9&0xff])^_0x5443bb[_0x82c178++],_0x112f2a=(_0x4a9b0b[_0x5b639c>>>0x18]<<0x18|_0x4a9b0b[_0x5d63c7>>>0x10&0xff]<<0x10|_0x4a9b0b[_0x3a8eb9>>>0x8&0xff]<<0x8|_0x4a9b0b[_0x25b48d&0xff])^_0x5443bb[_0x82c178++],_0x4287f9=(_0x4a9b0b[_0x5d63c7>>>0x18]<<0x18|_0x4a9b0b[_0x3a8eb9>>>0x10&0xff]<<0x10|_0x4a9b0b[_0x25b48d>>>0x8&0xff]<<0x8|_0x4a9b0b[_0x5b639c&0xff])^_0x5443bb[_0x82c178++];_0x432eb5[_0x1571b1]=_0x2a62d6,_0x432eb5[_0x1571b1+0x1]=_0x424ea0,_0x432eb5[_0x1571b1+0x2]=_0x112f2a,_0x432eb5[_0x1571b1+0x3]=_0x4287f9;},'keySize':0x100/0x20});_0x132ba4['AES']=_0x86fa54[_0x54330a(0x302)](_0x3db90a);}()),_0x17d2f4[_0x5cb808(0x217)];}));}(Hi));var La=Hi[_0x241173(0x544)];function _0x10c7(_0x1d7026,_0x2c0b9a){const _0x411efa=_0x411e();return _0x10c7=function(_0x10c7e3,_0x5ac171){_0x10c7e3=_0x10c7e3-0x1bc;let _0x29b695=_0x411efa[_0x10c7e3];return _0x29b695;},_0x10c7(_0x1d7026,_0x2c0b9a);}const $a=at(La);var Ha=ji();const si=at(Ha);var Wi={'exports':{}};(function(_0x47b8cc,_0x3865a8){(function(_0x2a986a,_0x24c5e9){_0x47b8cc['exports']=_0x24c5e9(ue());}(Z,function(_0x33cd2e){const _0x410cf9=_0x10c7;return _0x33cd2e[_0x410cf9(0x3eb)][_0x410cf9(0x50d)];}));}(Wi));var ja=Wi['exports'];const Ba=at(ja);var Fi={'exports':{}};(function(_0x76f166,_0x8411e2){(function(_0x387a28,_0x336deb){const _0x12341d=_0x10c7;_0x76f166[_0x12341d(0x544)]=_0x336deb(ue());}(Z,function(_0x2d2e88){const _0x6149b7=_0x10c7;return(function(){const _0x30b953=_0x10c7;if(typeof ArrayBuffer==_0x30b953(0x429)){var _0x4b77a7=_0x2d2e88,_0x56a4c1=_0x4b77a7[_0x30b953(0x431)],_0xb3b9b2=_0x56a4c1[_0x30b953(0x576)],_0x384f7d=_0xb3b9b2[_0x30b953(0x459)],_0xcdfa0d=_0xb3b9b2['init']=function(_0x2cbe0a){const _0x5f956e=_0x30b953;if(_0x2cbe0a instanceof ArrayBuffer&&(_0x2cbe0a=new Uint8Array(_0x2cbe0a)),(_0x2cbe0a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2cbe0a instanceof Uint8ClampedArray||_0x2cbe0a instanceof Int16Array||_0x2cbe0a instanceof Uint16Array||_0x2cbe0a instanceof Int32Array||_0x2cbe0a instanceof Uint32Array||_0x2cbe0a instanceof Float32Array||_0x2cbe0a instanceof Float64Array)&&(_0x2cbe0a=new Uint8Array(_0x2cbe0a['buffer'],_0x2cbe0a[_0x5f956e(0x27b)],_0x2cbe0a[_0x5f956e(0x563)])),_0x2cbe0a instanceof Uint8Array){for(var _0x1eb4c2=_0x2cbe0a[_0x5f956e(0x563)],_0x412490=[],_0xf51cda=0x0;_0xf51cda<_0x1eb4c2;_0xf51cda++)_0x412490[_0xf51cda>>>0x2]|=_0x2cbe0a[_0xf51cda]<<0x18-_0xf51cda%0x4*0x8;_0x384f7d[_0x5f956e(0x502)](this,_0x412490,_0x1eb4c2);}else _0x384f7d[_0x5f956e(0x34a)](this,arguments);};_0xcdfa0d[_0x30b953(0x400)]=_0xb3b9b2;}}()),_0x2d2e88[_0x6149b7(0x431)][_0x6149b7(0x576)];}));}(Fi));var ka=Fi[_0x241173(0x544)];const Wa=at(ka);var Vi={'exports':{}};(function(_0x272854,_0x9c1ee8){(function(_0x2c6b39,_0x1b71b8,_0xb77742){_0x272854['exports']=_0x1b71b8(ue(),ki());}(Z,function(_0x5dc805){const _0x5e3521=_0x10c7;return _0x5dc805[_0x5e3521(0x23b)][_0x5e3521(0x23c)]={'pad':function(){},'unpad':function(){}},_0x5dc805[_0x5e3521(0x23b)]['NoPadding'];}));}(Vi));var Fa=Vi[_0x241173(0x544)];const Va=at(Fa);function Ga(_0x80b516,_0x3b6e0b){const _0x20ced7=_0x241173,_0x484565=_0x3b6e0b-_0x80b516['length']%_0x3b6e0b,_0x347978=String[_0x20ced7(0x445)](_0x484565)[_0x20ced7(0x307)](_0x484565);return _0x80b516+_0x347978;}function Ya(_0x928af4,_0x9e3c7){const _0x3e0d6a=_0x241173,_0xbe7d3d=Wa[_0x3e0d6a(0x57a)](0x10),_0xea7d93=Ga(_0x928af4,0x10),_0x75755f=$a['encrypt'](Ba['parse'](_0xea7d93),si[_0x3e0d6a(0x527)](_0x9e3c7),{'iv':_0xbe7d3d,'padding':Va});return _0xbe7d3d[_0x3e0d6a(0x47f)](_0x75755f[_0x3e0d6a(0x363)])[_0x3e0d6a(0x447)](si);}function Ka(){const _0x3a5657=_0x241173,_0x32804f=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3a5657(0x20c)];if(_0x32804f){const _0x5933aa={'time':Math[_0x3a5657(0x1bf)](Date[_0x3a5657(0x208)]()/0x3e8),'domain':location[_0x3a5657(0x303)]};return Ya(JSON[_0x3a5657(0x4aa)](_0x5933aa),_0x32804f);}}var za=Object[_0x241173(0x387)],qa=Object['getOwnPropertyDescriptor'],Xa=(_0x365a1e,_0x2c569a,_0x496003,_0x491282)=>{const _0x41c496=_0x241173;for(var _0x231a3a=_0x491282>0x1?void 0x0:_0x491282?qa(_0x2c569a,_0x496003):_0x2c569a,_0x3fc6c1=_0x365a1e[_0x41c496(0x32c)]-0x1,_0x323b49;_0x3fc6c1>=0x0;_0x3fc6c1--)(_0x323b49=_0x365a1e[_0x3fc6c1])&&(_0x231a3a=(_0x491282?_0x323b49(_0x2c569a,_0x496003,_0x231a3a):_0x323b49(_0x231a3a))||_0x231a3a);return _0x491282&&_0x231a3a&&za(_0x2c569a,_0x496003,_0x231a3a),_0x231a3a;},Ja=(_0x55a5c3,_0x37f397)=>(_0x58be59,_0x1980ea)=>_0x37f397(_0x58be59,_0x1980ea,_0x55a5c3);let bt=class{constructor(_0x260b8a){const _0x283f07=_0x241173;this[_0x283f07(0x567)]=_0x260b8a,this[_0x283f07(0x404)]();}['_initRequestHeader'](){const _0x276e42=_0x241173;this[_0x276e42(0x567)][_0x276e42(0x3d3)]({'interceptor':(_0x58172a,_0x473bfb)=>{const _0x408fde=_0x276e42,_0x4345f0=_0x58172a[_0x408fde(0x377)],_0x13186f=Ka();return _0x13186f&&_0x4345f0[_0x408fde(0x4e4)](_0x408fde(0x3e7),_0x13186f),_0x473bfb(_0x58172a);}});}};bt=Xa([Ja(0x0,_0x1596c5(_0x1eb63d))],bt);var Za=Object['defineProperty'],Qa=Object[_0x241173(0x2fb)],ec=(_0x18ad91,_0x11e5b4,_0x50107c,_0xec2f62)=>{const _0x292cd1=_0x241173;for(var _0x133e80=_0xec2f62>0x1?void 0x0:_0xec2f62?Qa(_0x11e5b4,_0x50107c):_0x11e5b4,_0x1f9138=_0x18ad91[_0x292cd1(0x32c)]-0x1,_0x38d56a;_0x1f9138>=0x0;_0x1f9138--)(_0x38d56a=_0x18ad91[_0x1f9138])&&(_0x133e80=(_0xec2f62?_0x38d56a(_0x11e5b4,_0x50107c,_0x133e80):_0x38d56a(_0x133e80))||_0x133e80);return _0xec2f62&&_0x133e80&&Za(_0x11e5b4,_0x50107c,_0x133e80),_0x133e80;},qt=(_0x5c3278,_0x19b624)=>(_0x3b7521,_0x100ac9)=>_0x19b624(_0x3b7521,_0x100ac9,_0x5c3278);const tc=['image/png',_0x241173(0x28c),_0x241173(0x491),'image/gif',_0x241173(0x311)],sc=0x5*0x400*0x400,ic=_0x241173(0x531),nc=_0x241173(0x2ce),rc=_0x241173(0x310),oc=_0x241173(0x34f);let cs=class{constructor(_0x4a12b7,_0x4a376a,_0x45ad13){const _0x30454e=_0x241173;g(this,_0x30454e(0x40d),0x0),g(this,_0x30454e(0x4ba),new _0x49f7d1()),g(this,_0x30454e(0x582),this['_change$']),g(this,_0x30454e(0x501),new Map()),(this[_0x30454e(0x567)]=_0x4a12b7,this[_0x30454e(0x3aa)]=_0x4a376a,this['_univerInstanceService']=_0x45ad13);}[_0x241173(0x41f)](_0x1d841e){const _0x1695a4=_0x241173;this['_waitCount']=_0x1d841e,this['_change$'][_0x1695a4(0x5b0)](_0x1d841e);}[_0x241173(0x338)](_0x3cca74,_0x2ebc5c){const _0x2629ba=_0x241173;if(_0x2ebc5c===_0x2674b5[_0x2629ba(0x585)]){const _0x4d2bac=new Image();return _0x4d2bac[_0x2629ba(0x543)]=_0x3cca74,_0x4d2bac;}return this[_0x2629ba(0x501)]['get'](_0x3cca74);}['addImageSourceCache'](_0x2187f1,_0x270be4,_0x5ebbf8){const _0x28d7dd=_0x241173;_0x270be4===_0x2674b5[_0x28d7dd(0x585)]||_0x5ebbf8==null||this[_0x28d7dd(0x501)][_0x28d7dd(0x4e4)](_0x2187f1,_0x5ebbf8);}async['getImage'](_0x2b41b6){const _0x2ecf0d=_0x241173;try{const _0x25e9dd=this[_0x2ecf0d(0x32a)](this[_0x2ecf0d(0x366)](),''+_0x2b41b6),_0x454d03=(await this['_httpService']['get'](_0x25e9dd))[_0x2ecf0d(0x5c3)];if(_0x454d03[_0x2ecf0d(0x4e3)]&&_0x454d03[_0x2ecf0d(0x4e3)][_0x2ecf0d(0x464)]===Ti['OK']){const _0x1f29f2=new URL(_0x454d03[_0x2ecf0d(0x25a)],this[_0x2ecf0d(0x28b)]())[_0x2ecf0d(0x447)]();return Promise[_0x2ecf0d(0x477)](_0x1f29f2);}return Promise[_0x2ecf0d(0x306)](_0x454d03['error']);}catch(_0x4d0922){return Promise['reject'](_0x4d0922);}}async[_0x241173(0x402)](_0x5162d5){const _0x24e6a4=_0x241173;let _0x57e1d1='';if(!tc[_0x24e6a4(0x3cd)](_0x5162d5[_0x24e6a4(0x40a)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x362f80['ERROR_IMAGE_TYPE']));if(_0x5162d5[_0x24e6a4(0x599)]>sc)return this[_0x24e6a4(0x5c1)](),Promise['reject'](new Error(_0x362f80[_0x24e6a4(0x2d6)]));try{const _0x9a16c5=new FormData();_0x9a16c5[_0x24e6a4(0x351)]('file',_0x5162d5);const _0x60a486=this[_0x24e6a4(0x518)][_0x24e6a4(0x4d0)](),_0x5c999c=_0x60a486==null?void 0x0:_0x60a486[_0x24e6a4(0x2d3)]();if(!_0x5c999c)throw new Error(_0x24e6a4(0x53e));const _0x271054=this[_0x24e6a4(0x33d)]()+_0x24e6a4(0x4bb)+_0x5162d5[_0x24e6a4(0x599)][_0x24e6a4(0x447)]()+_0x24e6a4(0x2d9)+Ri[_0x24e6a4(0x5b9)]+_0x24e6a4(0x2b1)+encodeURIComponent(_0x5c999c),_0x320bb7=await(await fetch(_0x271054,{'method':_0x24e6a4(0x1ea),'body':_0x9a16c5}))['json']();if(typeof _0x320bb7['FileId']!='string')return this[_0x24e6a4(0x5c1)](),Promise[_0x24e6a4(0x306)](new Error(_0x362f80[_0x24e6a4(0x4cb)]));_0x57e1d1=_0x320bb7['FileId'];}catch{return this[_0x24e6a4(0x5c1)](),Promise[_0x24e6a4(0x306)](new Error(_0x362f80[_0x24e6a4(0x4cb)]));}return new Promise((_0x4e755d,_0x5810d2)=>{const _0x43fdcc=_0x24e6a4,_0x3f7ac2=new FileReader();_0x3f7ac2[_0x43fdcc(0x38f)](_0x5162d5),_0x3f7ac2[_0x43fdcc(0x416)]=_0x28d697=>{const _0x4a0edb=_0x43fdcc;var _0x4e2768;const _0x51b0c1=(_0x4e2768=_0x28d697[_0x4a0edb(0x2ba)])==null?void 0x0:_0x4e2768[_0x4a0edb(0x262)];if(_0x51b0c1==null){this[_0x4a0edb(0x5c1)](),_0x5810d2(new Error(_0x362f80['ERROR_IMAGE']));return;}const _0x1673cb=_0x55a7da[_0x4a0edb(0x415)](0x6);_0x4e755d({'imageId':_0x1673cb,'imageSourceType':_0x2674b5[_0x4a0edb(0x4cd)],'source':_0x57e1d1,'base64Cache':_0x51b0c1,'status':_0x362f80[_0x4a0edb(0x1f5)]}),this[_0x4a0edb(0x5c1)]();};});}[_0x241173(0x33d)](){const _0x13449f=_0x241173;var _0x17312f,_0x3b7a52;const _0xa1fc8e=this['_configService'][_0x13449f(0x561)](ic),_0x20cbb3=this[_0x13449f(0x3aa)][_0x13449f(0x561)](ie);return(_0x3b7a52=(_0x17312f=_0x20cbb3==null?void 0x0:_0x20cbb3[_0x13449f(0x5d2)])!=null?_0x17312f:_0xa1fc8e)!=null?_0x3b7a52:nc;}[_0x241173(0x366)](){const _0x1fdbbd=_0x241173;var _0x3b8302,_0x27b93a;const _0x408669=this[_0x1fdbbd(0x3aa)][_0x1fdbbd(0x561)](rc),_0x205283=this[_0x1fdbbd(0x3aa)][_0x1fdbbd(0x561)](ie);return(_0x27b93a=(_0x3b8302=_0x205283==null?void 0x0:_0x205283[_0x1fdbbd(0x314)])!=null?_0x3b8302:_0x408669)!=null?_0x27b93a:oc;}['_getDownloadEndpointURL'](){const _0x3bc26b=_0x241173;var _0x1e2e68;const _0x3e9115=this[_0x3bc26b(0x3aa)][_0x3bc26b(0x561)](ie);return(_0x1e2e68=_0x3e9115==null?void 0x0:_0x3e9115['downloadEndpointUrl'])!=null?_0x1e2e68:location[_0x3bc26b(0x46b)];}[_0x241173(0x32a)](_0x2ed59b,_0x570757){const _0x1928bc=_0x241173;return _0x2ed59b[_0x1928bc(0x4fc)]('{fileID}',_0x570757);}['_decreaseWaiting'](){const _0x519938=_0x241173;this[_0x519938(0x40d)]-=0x1,this[_0x519938(0x4ba)]['next'](this[_0x519938(0x40d)]);}};cs=ec([qt(0x0,_0x1596c5(_0x1eb63d)),qt(0x1,_0x13e361),qt(0x2,_0x1596c5(_0xb0f939))],cs);var ac=Object['defineProperty'],cc=Object[_0x241173(0x2fb)],hc=(_0x391f88,_0x1a3901,_0x473cc9,_0x30597c)=>{for(var _0x1dad6f=_0x30597c>0x1?void 0x0:_0x30597c?cc(_0x1a3901,_0x473cc9):_0x1a3901,_0x34eadb=_0x391f88['length']-0x1,_0x5939c4;_0x34eadb>=0x0;_0x34eadb--)(_0x5939c4=_0x391f88[_0x34eadb])&&(_0x1dad6f=(_0x30597c?_0x5939c4(_0x1a3901,_0x473cc9,_0x1dad6f):_0x5939c4(_0x1dad6f))||_0x1dad6f);return _0x30597c&&_0x1dad6f&&ac(_0x1a3901,_0x473cc9,_0x1dad6f),_0x1dad6f;},Qe=(_0x6f89e7,_0x235f76)=>(_0x5ea6f6,_0x182cad)=>_0x235f76(_0x5ea6f6,_0x182cad,_0x6f89e7);let Tt=class extends _0x388f6d{constructor(_0x100f4a,_0x1cd863,_0x1ff6e2,_0x1094c8,_0x4a5d90){const _0x489c94=_0x241173;super(),this[_0x489c94(0x414)]=_0x100f4a,this[_0x489c94(0x518)]=_0x1cd863,this[_0x489c94(0x47a)]=_0x1ff6e2,this['_collaborationSessionService']=_0x1094c8,this[_0x489c94(0x30a)]=_0x4a5d90,this[_0x489c94(0x4fb)](),this['_initCloseConn']();}[_0x241173(0x255)](){const _0x545162=_0x241173,_0x106432=async _0x2d2f52=>{const _0x3f759b=_0x10c7;(await this[_0x3f759b(0x1de)][_0x3f759b(0x34b)](_0x2d2f52))['event$'][_0x3f759b(0x391)](_0x18ffd4(_0x322960=>_0x322960['eventID']===_0x4ac452[_0x3f759b(0x24e)]),_0x2d9b28(this['dispose$']))[_0x3f759b(0x31f)](_0x5db34d=>{const _0x223c67=_0x3f759b,_0x4b62fe=_0x5db34d,{reason:_0x10c095}=_0x4b62fe[_0x223c67(0x498)];this[_0x223c67(0x414)]['get'](_0x3ed87c)[_0x223c67(0x348)]({'type':_0x2b3cbc['Error'],'content':this[_0x223c67(0x30a)]['t']('collaboration.closeRoom')+'('+_0x10c095+')'}),this['_permissionService'][_0x223c67(0x443)](new _0x5e1b31(_0x2d2f52)['id'],!0x1),this[_0x223c67(0x1de)][_0x223c67(0x1fb)](_0x2d2f52);});};_0x2434f6(this['_univerInstanceService'][_0x545162(0x288)](_0x1d0ba8[_0x545162(0x372)]),this[_0x545162(0x518)]['getTypeOfUnitAdded$'](_0x1d0ba8['UNIVER_DOC']))['pipe'](_0x47bd8a(_0x5313e6=>_0x5313e6[_0x545162(0x2d3)]()),_0x18ffd4(_0x1a0b3e=>!_0x53c751(_0x1a0b3e)),_0x2d9b28(this[_0x545162(0x448)]))['subscribe'](_0x4fce16=>{_0x106432(_0x4fce16);});}[_0x241173(0x4fb)](){const _0x4fa75c=_0x241173,_0x2ad7c8=async _0x361621=>{const _0x4d49ba=_0x10c7;(await this[_0x4d49ba(0x1de)][_0x4d49ba(0x34b)](_0x361621))[_0x4d49ba(0x2cb)][_0x4d49ba(0x391)](_0x18ffd4(_0x7bf40f=>_0x7bf40f[_0x4d49ba(0x4df)]===_0x4ac452[_0x4d49ba(0x4e5)]),_0x2d9b28(this[_0x4d49ba(0x448)]))[_0x4d49ba(0x31f)](_0x1f46ca=>{const _0x59b5a7=_0x4d49ba,_0x417653=_0x1f46ca,{objectId:_0x2a1dd4}=_0x417653[_0x59b5a7(0x498)],_0x2dd89c=this[_0x59b5a7(0x414)][_0x59b5a7(0x241)](_0x1639dd);_0x2a1dd4===_0x361621?_0x2dd89c['initWorkbookPermissionChange'](_0x361621):_0x2dd89c[_0x59b5a7(0x2ff)](_0x361621,_0x2a1dd4);});};_0x2434f6(this[_0x4fa75c(0x518)][_0x4fa75c(0x288)](_0x1d0ba8['UNIVER_SHEET']),this[_0x4fa75c(0x518)][_0x4fa75c(0x288)](_0x1d0ba8['UNIVER_DOC']))['pipe'](_0x47bd8a(_0x45507e=>_0x45507e[_0x4fa75c(0x2d3)]()),_0x18ffd4(_0x6fd68=>!_0x53c751(_0x6fd68)),_0x2d9b28(this['dispose$']))[_0x4fa75c(0x31f)](_0x3c846c=>{_0x2ad7c8(_0x3c846c);});}};Tt=hc([Qe(0x0,_0x1596c5(_0x59d577)),Qe(0x1,_0xb0f939),Qe(0x2,_0x118be4),Qe(0x3,_0x1596c5(Ae)),Qe(0x4,_0x1596c5(_0x48c62d))],Tt);var lc=Object[_0x241173(0x387)],_c=Object[_0x241173(0x2fb)],uc=(_0x52113d,_0xd386d6,_0x458866,_0x215f93)=>{const _0x25a748=_0x241173;for(var _0x17b6b2=_0x215f93>0x1?void 0x0:_0x215f93?_c(_0xd386d6,_0x458866):_0xd386d6,_0x17b4ce=_0x52113d[_0x25a748(0x32c)]-0x1,_0x4650a2;_0x17b4ce>=0x0;_0x17b4ce--)(_0x4650a2=_0x52113d[_0x17b4ce])&&(_0x17b6b2=(_0x215f93?_0x4650a2(_0xd386d6,_0x458866,_0x17b6b2):_0x4650a2(_0x17b6b2))||_0x17b6b2);return _0x215f93&&_0x17b6b2&&lc(_0xd386d6,_0x458866,_0x17b6b2),_0x17b6b2;},ii=(_0x3249df,_0x40ef95)=>(_0x587da1,_0x5e4eca)=>_0x40ef95(_0x587da1,_0x5e4eca,_0x3249df);let hs=class{constructor(_0x264b4b,_0x24d831){const _0x5a95f8=_0x241173;this[_0x5a95f8(0x3aa)]=_0x264b4b,this[_0x5a95f8(0x567)]=_0x24d831;}async[_0x241173(0x5a1)](_0xff249c,_0x8b037e){const _0x3cb563=_0x241173;var _0x18eb2e;const {unitID:_0x5549ec,type:_0x5be59b,revision:_0x1d5298=0x0}=_0x8b037e,_0x432826=this[_0x3cb563(0x23a)]()+'/'+_0x5be59b+'/unit/'+_0x5549ec+_0x3cb563(0x20e)+_0x1d5298,_0x5bc50d=(await this[_0x3cb563(0x567)][_0x3cb563(0x241)](_0x432826))['body'],_0x952bc8=(_0x18eb2e=_0x5bc50d[_0x3cb563(0x5cc)])==null?void 0x0:_0x18eb2e[_0x3cb563(0x3c5)];if(_0x952bc8){const _0x225d40=_0x952bc8==null?void 0x0:_0x952bc8[_0x3cb563(0x260)],_0x26d348=_0x14de71[_0x3cb563(0x48f)](_0xd5b710(_0x225d40));_0x952bc8[_0x3cb563(0x260)]=_0x26d348,Object['entries'](_0x952bc8[_0x3cb563(0x381)])['forEach'](([,_0x15f528])=>{const _0x4628ea=_0x3cb563,_0x2c8393=_0x15f528[_0x4628ea(0x260)],_0x2a6031=_0x14de71[_0x4628ea(0x48f)](_0xd5b710(_0x2c8393));_0x15f528[_0x4628ea(0x260)]=_0x2a6031;});}return _0x5bc50d;}async[_0x241173(0x1bc)](_0x1b6950,_0x221807){const _0x2ee4db=_0x241173,{unitID:_0x309c0c,type:_0x35a0b6,blockID:_0x4284d3}=_0x221807,_0x52ca94=this[_0x2ee4db(0x398)]()+'/'+_0x35a0b6+_0x2ee4db(0x337)+_0x309c0c+_0x2ee4db(0x55a)+_0x4284d3;return(await this[_0x2ee4db(0x567)]['get'](_0x52ca94))[_0x2ee4db(0x5c3)];}async[_0x241173(0x31e)](_0x4a451f,_0x22803f){const _0x4d9f11=_0x241173,{unitID:_0x1f7097,type:_0x8ecf4c,blockID:_0x158d7f}=_0x22803f,_0x47f6f3=this['_getAPIPrefix']()+'/block/'+_0x8ecf4c+_0x4d9f11(0x337)+_0x1f7097+_0x4d9f11(0x55a)+_0x158d7f;return(await this[_0x4d9f11(0x567)][_0x4d9f11(0x241)](_0x47f6f3))['body'];}async['fetchMissingChangesets'](_0x22fd9a,_0x30879e){const _0x485473=_0x241173,{unitID:_0xaaad93,type:_0x341b37,from:_0x3f152e,to:_0x4bdd7d}=_0x30879e,_0x390575=this['_getAPIPrefix']()+'/'+_0x341b37+'/unit/'+_0xaaad93+_0x485473(0x2ec)+_0x3f152e+'&to='+_0x4bdd7d;return(await this['_httpService'][_0x485473(0x241)](_0x390575))[_0x485473(0x5c3)];}['_getSnapshotAPIPrefix'](){const _0x27edc5=_0x241173;var _0x51b66e;return(_0x51b66e=this[_0x27edc5(0x3aa)][_0x27edc5(0x561)](or))!=null?_0x51b66e:this[_0x27edc5(0x398)]();}['_getAPIPrefix'](){const _0x3a6c2d=_0x241173;var _0x420aa3,_0xc1df1c;const _0x478e19=this[_0x3a6c2d(0x3aa)][_0x3a6c2d(0x561)](nr),_0x121365=this[_0x3a6c2d(0x3aa)][_0x3a6c2d(0x561)](ie);return(_0xc1df1c=(_0x420aa3=_0x121365==null?void 0x0:_0x121365[_0x3a6c2d(0x232)])!=null?_0x420aa3:_0x478e19)!=null?_0xc1df1c:rr;}async[_0x241173(0x1cb)](_0x3262fd,_0x44ef9d){const _0xbe36b6=_0x241173,_0x4b5065=_0xbe36b6(0x419)+_0x44ef9d[_0xbe36b6(0x40a)]+_0xbe36b6(0x337)+_0x44ef9d['unitID']+_0xbe36b6(0x45a);return(await this['_httpService']['get'](_0x4b5065,{'params':{'resourceId':JSON[_0xbe36b6(0x4aa)](_0x44ef9d[_0xbe36b6(0x389)])}}))[_0xbe36b6(0x5c3)];}['saveSnapshot'](){const _0x531b41=_0x241173;throw new Error(_0x531b41(0x522));}['saveSheetBlock'](){const _0x5b9047=_0x241173;throw new Error(_0x5b9047(0x522));}[_0x241173(0x535)](){const _0x4e1880=_0x241173;throw new Error(_0x4e1880(0x522));}[_0x241173(0x49e)](){const _0x13706d=_0x241173;throw new Error(_0x13706d(0x522));}['getLatestCsReqIdBySid'](){const _0x586fd7=_0x241173;throw new Error(_0x586fd7(0x522));}};hs=uc([ii(0x0,_0x13e361),ii(0x1,_0x1596c5(_0x1eb63d))],hs);var dc=Object[_0x241173(0x387)],fc=Object[_0x241173(0x2fb)],vc=(_0x51ddc3,_0x353976,_0x2cbea4,_0x1f7ed4)=>{const _0x1ce958=_0x241173;for(var _0x53ed74=_0x1f7ed4>0x1?void 0x0:_0x1f7ed4?fc(_0x353976,_0x2cbea4):_0x353976,_0x5e8a68=_0x51ddc3[_0x1ce958(0x32c)]-0x1,_0x1f4fd6;_0x5e8a68>=0x0;_0x5e8a68--)(_0x1f4fd6=_0x51ddc3[_0x5e8a68])&&(_0x53ed74=(_0x1f7ed4?_0x1f4fd6(_0x353976,_0x2cbea4,_0x53ed74):_0x1f4fd6(_0x53ed74))||_0x53ed74);return _0x1f7ed4&&_0x53ed74&&dc(_0x353976,_0x2cbea4,_0x53ed74),_0x53ed74;},et=(_0x551c55,_0x3ba7f6)=>(_0x59c911,_0x52023b)=>_0x3ba7f6(_0x59c911,_0x52023b,_0x551c55);let ls=class extends _0x321970{constructor(_0x84c284,_0x334147,_0x548e3a,_0x388765,_0x3f2d24){const _0xd01c61=_0x241173;super(_0x84c284,_0x334147,_0x548e3a),this[_0xd01c61(0x39d)]=_0x388765,this[_0xd01c61(0x318)]=_0x3f2d24;}[_0x241173(0x216)](_0x287e7f,_0x270b72){const _0x5aad0e=_0x241173,_0x19671a=this[_0x5aad0e(0x44a)](_0x287e7f);if(_0x19671a)try{const _0x483a1c=this['_transformStack'](_0x19671a,_0x270b72);this['_substituteUndoStack'](_0x287e7f,_0x483a1c);}catch(_0x6a8aec){this[_0x5aad0e(0x318)][_0x5aad0e(0x4e3)](_0x5aad0e(0x359),_0x6a8aec),this[_0x5aad0e(0x292)](_0x287e7f);}const _0x4f9060=this[_0x5aad0e(0x49b)](_0x287e7f);if(_0x4f9060)try{const _0x38d008=this['_transformStack'](_0x4f9060,_0x270b72);this[_0x5aad0e(0x463)](_0x287e7f,_0x38d008);}catch(_0x22d220){this[_0x5aad0e(0x318)]['error'](_0x22d220),this[_0x5aad0e(0x2d2)](_0x287e7f);}}['_clearUndo'](_0x39fc8c){const _0x1054d4=_0x241173,_0x29707c=this['_getUndoStack'](_0x39fc8c);_0x29707c&&(_0x29707c[_0x1054d4(0x32c)]=0x0,this[_0x1054d4(0x492)]());}[_0x241173(0x2d2)](_0x48f712){const _0x17d6c6=_0x241173,_0x6c13bf=this[_0x17d6c6(0x49b)](_0x48f712);_0x6c13bf&&(_0x6c13bf['length']=0x0,this[_0x17d6c6(0x492)]());}[_0x241173(0x2a8)](_0x43c4a8,_0x48a326){const _0x2ca345=_0x241173;this[_0x2ca345(0x293)][_0x2ca345(0x4e4)](_0x43c4a8,_0x48a326),this[_0x2ca345(0x492)]();}[_0x241173(0x463)](_0x562884,_0x2faa49){const _0x28d48d=_0x241173;this[_0x28d48d(0x5d0)][_0x28d48d(0x4e4)](_0x562884,_0x2faa49),this['_updateStatus']();}['_transformStack'](_0xc35326,_0x1fb3ec){const _0x3bfdaf=_0x241173,_0x8bf7a5=[];let _0x500873=_0x1fb3ec,_0x4ef198=_0x1fb3ec;for(let _0x5c1de0=_0xc35326[_0x3bfdaf(0x32c)]-0x1;_0x5c1de0>=0x0;_0x5c1de0--){const {unitID:_0xa8cd14,undoMutations:_0x4c4e02,redoMutations:_0x36db67}=_0xc35326[_0x5c1de0],_0xcdee7f=this[_0x3bfdaf(0x39d)]['transformMutationsWithChangeset'](_0x500873,_0x4c4e02),_0xa06eb7=this[_0x3bfdaf(0x39d)][_0x3bfdaf(0x4c3)](_0x4ef198,_0x36db67);if(_0x14fd20(_0xcdee7f)||_0x14fd20(_0xa06eb7)){this['_logService'][_0x3bfdaf(0x4e3)](_0x3bfdaf(0x359),'transformStack\x20failed!',_0xcdee7f,_0xa06eb7);break;}_0x500873=_0xcdee7f[_0x3bfdaf(0x368)],_0x4ef198=_0xa06eb7[_0x3bfdaf(0x368)],_0x8bf7a5['push']({'unitID':_0xa8cd14,'undoMutations':_0xcdee7f[_0x3bfdaf(0x598)],'redoMutations':_0xa06eb7[_0x3bfdaf(0x598)]});}return _0x8bf7a5[_0x3bfdaf(0x4ff)]();}};ls=vc([et(0x0,_0xb0f939),et(0x1,_0x289e6f),et(0x2,_0x2b51a9),et(0x3,_0x399263),et(0x4,_0x265e7a)],ls);class mc extends _0x388f6d{constructor(){const _0x52157a=_0x241173;super(),g(this,'urlChange$'),this[_0x52157a(0x1fa)]=_0x521190(window,_0x52157a(0x407))[_0x52157a(0x391)](_0x52fe01(this['dispose$']),_0x5477e0(0x1),_0x152544(void 0x0));}[_0x241173(0x5aa)](_0x59c29c,_0x20a96c,_0x40d882=!0x1){const _0x24bce1=_0x241173,_0x20dfbf=new URL(window[_0x24bce1(0x201)][_0x24bce1(0x283)]);_0x20dfbf[_0x24bce1(0x592)][_0x24bce1(0x4e4)](_0x59c29c,_0x20a96c),_0x40d882?window['history']['replaceState']('','',_0x20dfbf['toString']()):window[_0x24bce1(0x2e8)][_0x24bce1(0x1f0)]('','',_0x20dfbf[_0x24bce1(0x447)]());}['removeParam'](_0x134624,_0x3371e7=!0x1){const _0x156103=_0x241173,_0x34ad32=new URL(window['location'][_0x156103(0x283)]);_0x34ad32[_0x156103(0x592)][_0x156103(0x2d7)](_0x134624),_0x3371e7?window['history']['replaceState']('','',_0x34ad32['toString']()):window[_0x156103(0x2e8)][_0x156103(0x1f0)]('','',_0x34ad32[_0x156103(0x447)]());}[_0x241173(0x5d1)](_0x1a2e87){const _0x176202=_0x241173;var _0x145e8f;return(_0x145e8f=new URL(window[_0x176202(0x201)][_0x176202(0x283)])[_0x176202(0x592)][_0x176202(0x241)](_0x1a2e87))!=null?_0x145e8f:void 0x0;}}var Gi=Object[_0x241173(0x387)],pc=Object[_0x241173(0x2fb)],gc=(_0x4dae1c,_0x2cd880,_0x300d39)=>_0x2cd880 in _0x4dae1c?Gi(_0x4dae1c,_0x2cd880,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x300d39}):_0x4dae1c[_0x2cd880]=_0x300d39,Sc=(_0x1f6ecb,_0x2078a4,_0x1d3bf6,_0x474bf2)=>{const _0x1fadf4=_0x241173;for(var _0x5793f6=_0x474bf2>0x1?void 0x0:_0x474bf2?pc(_0x2078a4,_0x1d3bf6):_0x2078a4,_0x529dd1=_0x1f6ecb[_0x1fadf4(0x32c)]-0x1,_0x44a596;_0x529dd1>=0x0;_0x529dd1--)(_0x44a596=_0x1f6ecb[_0x529dd1])&&(_0x5793f6=(_0x474bf2?_0x44a596(_0x2078a4,_0x1d3bf6,_0x5793f6):_0x44a596(_0x5793f6))||_0x5793f6);return _0x474bf2&&_0x5793f6&&Gi(_0x2078a4,_0x1d3bf6,_0x5793f6),_0x5793f6;},lt=(_0x4262c0,_0x506a6d)=>(_0x3ba862,_0xec1bb9)=>_0x506a6d(_0x3ba862,_0xec1bb9,_0x4262c0),Ic=(_0x3cfffb,_0x4b2544,_0x1d822c)=>gc(_0x3cfffb,_0x4b2544+'',_0x1d822c);const Cc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let _s=class extends _0x5f090e{constructor(_0x13909c=Cr,_0x1fb995,_0x4da7af,_0x41eb75,_0x3bb009){const _0x399949=_0x241173;super(),this['_config']=_0x13909c,this['_logService']=_0x1fb995,this[_0x399949(0x41a)]=_0x4da7af,this[_0x399949(0x414)]=_0x41eb75,this[_0x399949(0x3aa)]=_0x3bb009;const {..._0x2d17c9}=this[_0x399949(0x38d)];this['_configService'][_0x399949(0x4b8)](ie,_0x2d17c9);}['onStarting'](){const _0x2b7cf1=_0x241173;this['_registerDependencies'](),this[_0x2b7cf1(0x53c)]();}[_0x241173(0x482)](){const _0x59de45=_0x241173;_0x2f0b1e(this[_0x59de45(0x414)],[[Ct]]);}[_0x241173(0x4a2)](){this['_registerRenderDependencies']();}[_0x241173(0x324)](){const _0x19d619=_0x241173;var _0x5d2bf7,_0xb930b0,_0x3aecb8,_0x41760b;this['_injector'][_0x19d619(0x5be)](_0x4007f7)&&this[_0x19d619(0x318)][_0x19d619(0x4e3)](_0x19d619(0x271),_0x19d619(0x2c2));const _0x212aab=[[_0x4007f7,{'useClass':ls}],[Ae],[Es],[$i,{'useClass':mc}],[Ne],[q],[_0x30b9d6],[vt],[pt],[ft],[mt],[Is],[Et],[bt],[Oi],[Tt],[yi,{'useClass':(_0xb930b0=(_0x5d2bf7=this[_0x19d619(0x38d)])==null?void 0x0:_0x5d2bf7[_0x19d619(0x312)])!=null?_0xb930b0:Qt}],[_0x52861,{'useClass':hs}],[_0x1c3331,{'useClass':as}],[_0x2269c7,{'useClass':cs}],[it],[It],[St],[Ct],[Ve]];(_0x3aecb8=this[_0x19d619(0x38d)])!=null&&_0x3aecb8[_0x19d619(0x272)]&&_0x212aab[_0x19d619(0x42a)]([Rt,{'useClass':to}]),_0x34cc1d(this['_injector'],_0x1476c6(_0x212aab,(_0x41760b=this['_config'])==null?void 0x0:_0x41760b[_0x19d619(0x2f2)]));}[_0x241173(0x308)](){const _0x198cfc=_0x241173;this[_0x198cfc(0x210)](this['_renderManagerService'][_0x198cfc(0x1e9)](_0x1d0ba8[_0x198cfc(0x209)],[rs])),this[_0x198cfc(0x210)](this[_0x198cfc(0x41a)][_0x198cfc(0x1e9)](_0x1d0ba8[_0x198cfc(0x372)],[os]));}[_0x241173(0x53c)](){const _0x5a4580=_0x241173;var _0x16d59d,_0x56fedd;this[_0x5a4580(0x414)][_0x5a4580(0x241)](_0x1eb63d)[_0x5a4580(0x3d3)]({'priority':0x14,'interceptor':_0x4274cb({'maxParallel':0x6})}),(_0x16d59d=this[_0x5a4580(0x38d)])!=null&&_0x16d59d[_0x5a4580(0x45f)]||this[_0x5a4580(0x414)][_0x5a4580(0x241)](q)[_0x5a4580(0x5ad)](),(_0x56fedd=this[_0x5a4580(0x38d)])!=null&&_0x56fedd[_0x5a4580(0x483)]&&_0x2f0b1e(this['_injector'],[[Et]]),_0x2f0b1e(this[_0x5a4580(0x414)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Ic(_s,_0x241173(0x296),Cc),_s=Sc([_0x5adef1(_0x2fe31f,_0x58b47c),lt(0x1,_0x265e7a),lt(0x2,_0x3c7872),lt(0x3,_0x1596c5(_0x59d577)),lt(0x4,_0x13e361)],_s);export{Pa as AUTHZ_URL_KEY,as as AuthzIoHttpService,pr as COLLAB_SUBMIT_CHANGESET_URL_KEY,cr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,es as CollaborationSession,Ae as CollaborationSessionService,Qt as CollaborationSocketService,J as CollaborationStatus,_a as CollaborationStatusDisplay,Oi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ts as DocCollaborationEntity,lr as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,yi as ICollaborationSocketService,$i as IURLService,cs as ImageIoService,vr as LOCAL_CACHE_INTERVAL_KEY,Sr as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,dr as RETRY_CONNECTING_MAX_COUNT_KEY,Bc as SEND_CHANGESET_TIMEOUT_KEY,nr as SNAPSHOT_SERVER_URL_KEY,or as SNAPSHOT_URL_KEY,ve as SessionStatus,Yo as SheetCollabCursorShape,ss as SheetCollaborationEntity,hs as SnapshotServerOverHTTPService,_s as UniverCollaborationClientPlugin,mc as WebURLService,Er as deserializeToCombResponse,br as serializeCombRequest};
1
+ const _0x29d74e=_0x2ea9;(function(_0x90dcca,_0xf433f1){const _0x308bff=_0x2ea9,_0x8fa752=_0x90dcca();while(!![]){try{const _0x81e180=-parseInt(_0x308bff(0x1b5))/0x1+parseInt(_0x308bff(0x283))/0x2+parseInt(_0x308bff(0x316))/0x3+-parseInt(_0x308bff(0xfe))/0x4*(parseInt(_0x308bff(0x10e))/0x5)+-parseInt(_0x308bff(0x227))/0x6+parseInt(_0x308bff(0xea))/0x7+parseInt(_0x308bff(0x36c))/0x8;if(_0x81e180===_0xf433f1)break;else _0x8fa752['push'](_0x8fa752['shift']());}catch(_0x5b6c10){_0x8fa752['push'](_0x8fa752['shift']());}}}(_0x2db9,0xbfee4));var Gi=Object[_0x29d74e(0x229)],Yi=(_0x24bcb0,_0x462ab,_0xa935e4)=>_0x462ab in _0x24bcb0?Gi(_0x24bcb0,_0x462ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa935e4}):_0x24bcb0[_0x462ab]=_0xa935e4,g=(_0x27d0c6,_0x500e81,_0x3bee05)=>Yi(_0x27d0c6,typeof _0x500e81!=_0x29d74e(0x41e)?_0x500e81+'':_0x500e81,_0x3bee05);import{createIdentifier as _0x1f1029,Inject as _0x37efa2,Disposable as _0x3755da,DisposableCollection as _0x427570,toDisposable as _0x3dbac0,IConfigService as _0x167231,ILogService as _0x2b335c,UserManagerService as _0x3a6e4c,UniverInstanceType as _0xcdbbdb,IUniverInstanceService as _0x4c5fa7,LocaleService as _0x10be55,Optional as _0x4e2ed1,RxDisposable as _0x44a670,Injector as _0x1e339b,Tools as _0x56f740,ILocalStorageService as _0x35bdfa,Rectangle as _0x13dc9c,ICommandService as _0xc41305,DOC_RANGE_TYPE as _0x420eb0,JSONX as _0x41e917,CommandType as _0x46699b,IPermissionService as _0x1776e5,IUndoRedoService as _0x17339c,sequenceExecute as _0x7c6ca0,debounce as _0x496240,COLORS as _0x4c04a5,ColorKit as _0x3bbabd,ThemeService as _0x5c683b,fromEventSubject as _0xffdf95,useDependency as _0x15e79c,connectInjector as _0x49e990,Workbook as _0x43f26f,isInternalEditorID as _0x592dc5,LocalUndoRedoService as _0x564f91,IContextService as _0x1845f3,DependentOn as _0x285417,Plugin as _0x5b55da,touchDependencies as _0x3f5f15,IAuthzIoService as _0x385e9a,registerDependencies as _0x220436,mergeOverrideWithDependencies as _0x479814}from'@univerjs/core';import{Subject as _0x2c142e,merge as _0xef46fa,takeUntil as _0xb0a601,BehaviorSubject as _0x260ce9,distinctUntilChanged as _0x33fdae,fromEvent as _0x83dc15,ReplaySubject as _0x6f5e56,take as _0x5d9d63,map as _0x1a4470,shareReplay as _0x304e5f,of as _0x4931a8,debounceTime as _0x3e8a9b,filter as _0x343ab0,switchMap as _0xb89769,combineLatest as _0x4892e4,concatMap as _0x21939c,mapTo as _0x5047b1}from'rxjs';import{map as _0x1c1ea1,take as _0x2fc2e4,filter as _0x2746a5,delay as _0x436265,throttleTime as _0xd6772,takeUntil as _0x41e8bd,switchMap as _0x47c098}from'rxjs/operators';import{MessageType as _0x5b9771,Tooltip as _0x267fce}from'@univerjs/design';import{IBeforeCloseService as _0x1d600a,IMessageService as _0xcca842,INotificationService as _0x4a1a82,useObservable as _0x1dd784,BuiltInUIPart as _0x11ebc1,IUIPartsService as _0x30f7bf}from'@univerjs/ui';import{HTTPService as _0x28ac76,WebSocketService as _0xad4ad5,MergeInterceptorFactory as _0x9684c3,HTTPRequest as _0x10d3ff,UniverNetworkPlugin as _0x1da47c,ThresholdInterceptorFactory as _0x2ad2e3}from'@univerjs/network';import{CollaborationEvent as _0x1030bd,parseChangesetToProtocol as _0x158b53,ISnapshotServerService as _0x2b7ebf,isTransformMutationFailure as _0x390965,isTransformMutationsWithChangesetSuccess as _0x45440f,ITransformService as _0x4938c5,RevisionService as _0x405d92,mapDocumentTypeToUniverType as _0x4feb37,isTransformChangesetsSuccess as _0x41dbbd,CompressMutationService as _0x1a17bf,parseProtocolChangeset as _0x47af05,SnapshotService as _0x7ad995,textEncoder as _0x5a6397,b64DecodeUnicode as _0x2b9359,isTransformMutationsWithChangesetFailure as _0x3547b2,UniverCollaborationPlugin as _0x150e21}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1188ed}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x3b14b4,DocStateChangeManagerService as _0x138bd8,NodePositionConvertToCursor as _0x47fb66,NodePositionConvertToRectRange as _0x23a8f9,TEXT_RANGE_LAYER_INDEX as _0xdfde1a,SetDocZoomRatioOperation as _0x3a4b83}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x28f4ca,SetSelectionsOperation as _0x371c24,InsertSheetMutation as _0xd0e140,EmptyMutation as _0x1b5a78,WorkbookEditablePermission as _0x3399e3,RefRangeService as _0x43c2c4,EffectRefRangId as _0x4b9ff9,handleIRemoveRow as _0x2f0508,handleIRemoveCol as _0x342e0f,handleMoveRange as _0x5f24f5,handleInsertRow as _0x419297,handleInsertRangeMoveRight as _0x3f3f4d,handleInsertRangeMoveDown as _0x9bc488,handleInsertCol as _0x3be363,handleDeleteRangeMoveUp as _0x5d4d4c,handleDeleteRangeMoveLeft as _0x19d976,runRefRangeMutations as _0x419ccc,SetWorksheetActivateCommand as _0x3a907a}from'@univerjs/sheets';import{IRenderManagerService as _0x4b3f95,Shape as _0x95b801,Rect as _0x2fbc00,getColor as _0x3a2782,RegularPolygon as _0x19ae98,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1b9c52,Vector2 as _0x25775b}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5973e7,RichTextEditingMutation as _0x10d0b7,SetTextSelectionsOperation as _0xe6a35a,DocSkeletonManagerService as _0x55707a}from'@univerjs/docs';import{ImageSourceType as _0xb2e9,ImageUploadStatusType as _0x537a24,IImageIoService as _0x5ba3bd}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x586bff,serializeRangeWithSheet as _0x4f7853}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x534a87,VIEWPORT_KEY as _0x53f43f,getCoordByCell as _0x2857ae,getSheetObject as _0x18bb66,SheetPermissionInitController as _0x506687}from'@univerjs/sheets-ui';import{jsx as _0x17a3c7,jsxs as _0x140b2e}from'react/jsx-runtime';import{forwardRef as _0x519233,useRef as _0x4f1e77,createElement as _0x462747,useCallback as _0x1fd2a1}from'react';import{IRemoteInstanceService as _0x1a02c6}from'@univerjs/rpc';const nr='SNAPSHOT_SERVER_URL_KEY',rr=_0x29d74e(0x2ba),or=_0x29d74e(0x32b),Bc=_0x29d74e(0x401),ar=0x7d0,cr='COLLAB_WEB_SOCKET_URL',hr=_0x29d74e(0x3f2),lr=_0x29d74e(0x40d),_r=0x7530,Ii=_0x29d74e(0x131),Ci=0x4e20,ur=0x4e20,dr='RETRY_CONNECTING_MAX_COUNT',fr=0x3,vr=_0x29d74e(0x23e),mr=0x3e8,pr='COLLAB_SUBMIT_CHANGESET_URL',gr=_0x29d74e(0x158),Sr='LOGIN_URL_KEY',Ir=_0x29d74e(0x275);var Ei=(_0x25efec=>(_0x25efec[_0x25efec[_0x29d74e(0x200)]=0x0]='UNDEFINED',_0x25efec[_0x25efec['OK']=0x1]='OK',_0x25efec[_0x25efec[_0x29d74e(0x3b3)]=0x2]=_0x29d74e(0x3b3),_0x25efec[_0x25efec['PERMISSION_DENIED']=0x3]=_0x29d74e(0x295),_0x25efec[_0x25efec[_0x29d74e(0x12e)]=0x4]='NOT_FOUND',_0x25efec[_0x25efec[_0x29d74e(0x4be)]=0x5]=_0x29d74e(0x4be),_0x25efec[_0x25efec[_0x29d74e(0x1a5)]=0x6]=_0x29d74e(0x1a5),_0x25efec[_0x25efec[_0x29d74e(0x42f)]=0x7]='INVALID_ARGUMENT',_0x25efec[_0x25efec[_0x29d74e(0x1b6)]=0x8]=_0x29d74e(0x1b6),_0x25efec[_0x25efec[_0x29d74e(0x41a)]=0x9]=_0x29d74e(0x41a),_0x25efec[_0x25efec[_0x29d74e(0x33b)]=0x1389]=_0x29d74e(0x33b),_0x25efec[_0x25efec[_0x29d74e(0x21e)]=0x1771]=_0x29d74e(0x21e),_0x25efec[_0x25efec[_0x29d74e(0x25e)]=0x1772]=_0x29d74e(0x25e),_0x25efec[_0x25efec['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x29d74e(0x2da),_0x25efec[_0x25efec[_0x29d74e(0x1f4)]=0x1b59]=_0x29d74e(0x1f4),_0x25efec[_0x25efec[_0x29d74e(0x1fa)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x25efec[_0x25efec['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29d74e(0x320),_0x25efec[_0x25efec[_0x29d74e(0x2c6)]=0x1b5c]=_0x29d74e(0x2c6),_0x25efec[_0x25efec['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x25efec[_0x25efec[_0x29d74e(0x2f3)]=0x1f41]=_0x29d74e(0x2f3),_0x25efec[_0x25efec[_0x29d74e(0x151)]=0x2329]=_0x29d74e(0x151),_0x25efec[_0x25efec[_0x29d74e(0x23a)]=0x232a]=_0x29d74e(0x23a),_0x25efec[_0x25efec[_0x29d74e(0x2ea)]=0x232b]=_0x29d74e(0x2ea),_0x25efec[_0x25efec[_0x29d74e(0x2ed)]=0x232c]=_0x29d74e(0x2ed),_0x25efec[_0x25efec[_0x29d74e(0x152)]=0x232d]=_0x29d74e(0x152),_0x25efec[_0x25efec[_0x29d74e(0x49c)]=0x2711]=_0x29d74e(0x49c),_0x25efec[_0x25efec[_0x29d74e(0x43b)]=0x2712]=_0x29d74e(0x43b),_0x25efec[_0x25efec[_0x29d74e(0x48e)]=0x2713]=_0x29d74e(0x48e),_0x25efec[_0x25efec['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x29d74e(0x4f3),_0x25efec[_0x25efec[_0x29d74e(0x192)]=-0x1]='UNRECOGNIZED',_0x25efec))(Ei||{}),ce=(_0x2d637c=>(_0x2d637c[_0x2d637c[_0x29d74e(0x215)]=0x0]=_0x29d74e(0x215),_0x2d637c[_0x2d637c[_0x29d74e(0x2f6)]=0x1]=_0x29d74e(0x2f6),_0x2d637c[_0x2d637c[_0x29d74e(0x142)]=0x2]=_0x29d74e(0x142),_0x2d637c[_0x2d637c[_0x29d74e(0x32e)]=0x3]=_0x29d74e(0x32e),_0x2d637c[_0x2d637c[_0x29d74e(0x16e)]=0x4]='UNIVER_PROJECT',_0x2d637c[_0x2d637c[_0x29d74e(0x192)]=-0x1]='UNRECOGNIZED',_0x2d637c))(ce||{}),W=(_0x11174b=>(_0x11174b[_0x11174b[_0x29d74e(0x223)]=0x0]=_0x29d74e(0x223),_0x11174b[_0x11174b[_0x29d74e(0x350)]=0x1]=_0x29d74e(0x350),_0x11174b[_0x11174b[_0x29d74e(0x3be)]=0x2]=_0x29d74e(0x3be),_0x11174b[_0x11174b[_0x29d74e(0x33e)]=0x3]='LEAVE',_0x11174b[_0x11174b[_0x29d74e(0x417)]=0x4]='INGEST',_0x11174b[_0x11174b[_0x29d74e(0x261)]=0x5]=_0x29d74e(0x261),_0x11174b[_0x11174b[_0x29d74e(0x479)]=0x6]=_0x29d74e(0x479),_0x11174b[_0x11174b['UNRECOGNIZED']=-0x1]=_0x29d74e(0x192),_0x11174b))(W||{}),gs=(_0x37a641=>(_0x37a641[_0x37a641[_0x29d74e(0x365)]=0x0]='UNKNOWN_CODE',_0x37a641[_0x37a641['OK']=0x1]='OK',_0x37a641[_0x37a641[_0x29d74e(0x457)]=0x2]=_0x29d74e(0x457),_0x37a641[_0x37a641[_0x29d74e(0x192)]=-0x1]=_0x29d74e(0x192),_0x37a641))(gs||{}),bi=(_0x24193c=>(_0x24193c[_0x24193c[_0x29d74e(0x4ee)]=0x0]=_0x29d74e(0x4ee),_0x24193c[_0x24193c[_0x29d74e(0x2fd)]=0x1]='HttpImport',_0x24193c[_0x24193c[_0x29d74e(0x4f1)]=0x2]=_0x29d74e(0x4f1),_0x24193c[_0x24193c[_0x29d74e(0x442)]=0x3]=_0x29d74e(0x442),_0x24193c[_0x24193c[_0x29d74e(0x245)]=0x4]='UnitSnapshot',_0x24193c[_0x24193c[_0x29d74e(0x192)]=-0x1]=_0x29d74e(0x192),_0x24193c))(bi||{});const ie=_0x29d74e(0x4e8),Cr={};function Er(_0x1b14a4){const _0x2d8ba3=_0x29d74e;var _0x14415c,_0x47d1a6,_0x553620,_0x1902a8,_0xcf1c54;const _0xf1fba0=_0x1b14a4[_0x2d8ba3(0x1da)],_0x476e01=JSON[_0x2d8ba3(0x169)](_0xf1fba0);switch(_0x476e01[_0x2d8ba3(0x21d)]){case W[_0x2d8ba3(0x261)]:case W['HELLO']:{const _0x75f940=_0x476e01[_0x2d8ba3(0x339)];return{..._0x476e01,'data':_0x75f940,'cmd':_0x476e01[_0x2d8ba3(0x21d)]};}case W[_0x2d8ba3(0x3be)]:{const _0x201440=_0x476e01[_0x2d8ba3(0x242)];return{..._0x476e01,'data':_0x201440,'cmd':_0x476e01['cmd']};}case W[_0x2d8ba3(0x479)]:{const _0x18ac25=_0x476e01[_0x2d8ba3(0x1fe)];switch(_0x18ac25[_0x2d8ba3(0x167)]){case _0x1030bd[_0x2d8ba3(0x11b)]:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0x14415c=_0x18ac25[_0x2d8ba3(0x335)])==null?void 0x0:_0x14415c['cs']},'cmd':_0x476e01['cmd']};case _0x1030bd[_0x2d8ba3(0x3f3)]:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0x47d1a6=_0x18ac25['csAckEvent'])==null?void 0x0:_0x47d1a6['cs']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x4d5)]:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0x553620=_0x18ac25[_0x2d8ba3(0x216)])==null?void 0x0:_0x553620['cs']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x180)]:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0x1902a8=_0x18ac25[_0x2d8ba3(0x4c3)])==null?void 0x0:_0x1902a8['cs']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd['CHANGESET_SHOULD_RETRY']:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0xcf1c54=_0x18ac25[_0x2d8ba3(0x112)])==null?void 0x0:_0xcf1c54['cs']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x2fe)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x338)]},'cmd':_0x476e01['cmd']};case _0x1030bd[_0x2d8ba3(0x11c)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x1c7)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x286)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25['leaveEvent']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x2b4)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x481)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd['LIVESHARE_FETCH_OPERATIONS']:case _0x1030bd[_0x2d8ba3(0x10a)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x2a6)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd['LIVESHARE_TERMINATE']:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25['liveShareNewHost']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x4ef)]:return{..._0x476e01,'data':_0x18ac25,'cmd':_0x476e01['cmd']};case _0x1030bd[_0x2d8ba3(0x1ea)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x362)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x269)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x20c)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd['SHOULD_CLOSE_CONN']:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x22a)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};default:return _0x476e01;}}default:return _0x476e01;}}function br(_0x28bb1e){const _0x5cbfd6=_0x29d74e;switch(_0x28bb1e[_0x5cbfd6(0x21d)]){case W['HEARTBEAT']:case W[_0x5cbfd6(0x350)]:return JSON[_0x5cbfd6(0x11f)]({'cmd':_0x28bb1e[_0x5cbfd6(0x21d)],'routeKey':_0x28bb1e[_0x5cbfd6(0x263)]});case W[_0x5cbfd6(0x417)]:{let _0x1e095c;switch(_0x28bb1e[_0x5cbfd6(0x1da)][_0x5cbfd6(0x167)]){case _0x1030bd['UPDATE_CURSOR']:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x2fe)],'updateCursorEvent':_0x28bb1e[_0x5cbfd6(0x1da)]['data']};break;}case _0x1030bd[_0x5cbfd6(0x286)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x286)],'leaveEvent':_0x28bb1e[_0x5cbfd6(0x1da)][_0x5cbfd6(0x1da)]};break;}case _0x1030bd[_0x5cbfd6(0x11c)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x11c)],'joinEvent':_0x28bb1e['data']['data']};break;}case _0x1030bd[_0x5cbfd6(0x2b4)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x2b4)],'liveShareNewHost':_0x28bb1e['data'][_0x5cbfd6(0x1da)]};break;}case _0x1030bd[_0x5cbfd6(0x10a)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x10a)],'liveShareOperation':_0x28bb1e['data']['data']};break;}case _0x1030bd[_0x5cbfd6(0x1ed)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x1ed)],'liveShareTerminate':_0x28bb1e[_0x5cbfd6(0x1da)][_0x5cbfd6(0x1da)]};break;}case _0x1030bd[_0x5cbfd6(0x465)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x465)],'liveShareRequestHost':_0x28bb1e[_0x5cbfd6(0x1da)][_0x5cbfd6(0x1da)]};break;}case _0x1030bd[_0x5cbfd6(0x414)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x414)]};break;}default:_0x1e095c={'eventID':_0x28bb1e['data'][_0x5cbfd6(0x167)]};}return JSON[_0x5cbfd6(0x11f)]({'cmd':_0x28bb1e[_0x5cbfd6(0x21d)],'routeKey':_0x28bb1e[_0x5cbfd6(0x263)],'collaMsg':_0x1e095c});}case W[_0x5cbfd6(0x3be)]:return JSON[_0x5cbfd6(0x11f)]({'cmd':_0x28bb1e[_0x5cbfd6(0x21d)],'routeKey':_0x28bb1e[_0x5cbfd6(0x263)],'joinReq':_0x28bb1e[_0x5cbfd6(0x1da)]});case W[_0x5cbfd6(0x33e)]:return JSON[_0x5cbfd6(0x11f)]({'cmd':_0x28bb1e['cmd'],'routeKey':_0x28bb1e['routeKey'],'leaveReq':_0x28bb1e['data']});default:throw new Error(_0x5cbfd6(0x412));}}var Tr=Object[_0x29d74e(0x229)],Rr=Object[_0x29d74e(0x494)],yr=(_0x40ad03,_0x2f8b9c,_0xb663e1,_0x17af93)=>{for(var _0x34bbb6=_0x17af93>0x1?void 0x0:_0x17af93?Rr(_0x2f8b9c,_0xb663e1):_0x2f8b9c,_0x36b31d=_0x40ad03['length']-0x1,_0x23af76;_0x36b31d>=0x0;_0x36b31d--)(_0x23af76=_0x40ad03[_0x36b31d])&&(_0x34bbb6=(_0x17af93?_0x23af76(_0x2f8b9c,_0xb663e1,_0x34bbb6):_0x23af76(_0x34bbb6))||_0x34bbb6);return _0x17af93&&_0x34bbb6&&Tr(_0x2f8b9c,_0xb663e1,_0x34bbb6),_0x34bbb6;},qe=(_0x142ae4,_0x3be851)=>(_0x1ae921,_0x269e70)=>_0x3be851(_0x1ae921,_0x269e70,_0x142ae4);const Ti=_0x1f1029(_0x29d74e(0x471));function Or(_0xb27808,_0x3a0016,_0x2538b6){const _0x3899f2=_0x29d74e;return _0xb27808+'/'+_0x3a0016+_0x3899f2(0x164)+_0x2538b6+_0x3899f2(0x4f9);}let Zt=class extends _0x3755da{constructor(_0x1439fb,_0x397774,_0x4a764a,_0x57a0f6,_0x509820){const _0x408019=_0x29d74e;super(),this[_0x408019(0x36f)]=_0x1439fb,this[_0x408019(0x111)]=_0x397774,this[_0x408019(0x3e5)]=_0x4a764a,this['_logService']=_0x57a0f6,this[_0x408019(0x2ac)]=_0x509820;}[_0x29d74e(0x1dd)](_0x28d6d0){const _0x370286=_0x29d74e,_0x212e92=this['_ws'][_0x370286(0x1dd)](_0x28d6d0);if(!_0x212e92)throw new Error(_0x370286(0x1b1));const _0x5ee16f=new _0x427570(),_0x5cf4a0=new _0x2c142e();_0x5ee16f[_0x370286(0x3d3)](_0x212e92[_0x370286(0x11a)][_0x370286(0x3c2)](_0x1cc0c6=>_0x5cf4a0[_0x370286(0x175)](_0x1cc0c6))),_0x5ee16f['add'](_0x3dbac0(()=>_0x5cf4a0[_0x370286(0x476)]()));const _0x648656=new _0x2c142e();_0x5ee16f[_0x370286(0x3d3)](_0x212e92[_0x370286(0x1ef)][_0x370286(0x3c2)](_0x258a29=>_0x648656['next'](_0x258a29))),_0x5ee16f['add'](_0x3dbac0(()=>_0x648656[_0x370286(0x476)]()));const _0x115a8b=new _0x2c142e();_0x5ee16f['add'](_0x212e92[_0x370286(0x49f)][_0x370286(0x3c2)](_0x16dfa1=>{const _0x558040=Er(_0x16dfa1);_0x115a8b['next'](_0x558040);})),_0x5ee16f[_0x370286(0x3d3)](_0x3dbac0(()=>_0x115a8b['complete']()));let _0x4dfb2f;const _0x3e9b48=()=>{const _0x43c5cb=_0x370286;_0x648656['next'](new Event(_0x43c5cb(0x43d))),_0x5cf4a0[_0x43c5cb(0x175)](new CloseEvent(_0x43c5cb(0x43d))),_0x4dfb2f['close']();};return _0x4dfb2f={'memberID':'','close$':_0x5cf4a0[_0x370286(0x10f)](),'error$':_0x648656[_0x370286(0x10f)](),'open$':_0x212e92[_0x370286(0x318)],'message$':_0x115a8b[_0x370286(0x10f)](),'send':_0x17dc88=>{const _0xcfdf3b=_0x370286;if(_0x17dc88[_0xcfdf3b(0x21d)]===W[_0xcfdf3b(0x417)]){if(_0x17dc88[_0xcfdf3b(0x1da)][_0xcfdf3b(0x167)]===_0x1030bd[_0xcfdf3b(0x1ce)]){this[_0xcfdf3b(0x4c4)](_0x4dfb2f,_0x17dc88[_0xcfdf3b(0x1da)])[_0xcfdf3b(0x346)](_0x8407f4=>{const _0x4f7557=_0xcfdf3b;this[_0x4f7557(0x468)][_0x4f7557(0x444)](_0x8407f4),_0x3e9b48();});return;}if(_0x17dc88['data'][_0xcfdf3b(0x167)]===_0x1030bd[_0xcfdf3b(0x30c)]){const _0x2fdb69=_0x17dc88[_0xcfdf3b(0x1da)];this['_fetchMissChangesets'](_0x2fdb69)[_0xcfdf3b(0x204)](_0x4912a2=>{const _0xf2b7d6=_0xcfdf3b;_0x115a8b[_0xf2b7d6(0x175)]({'cmd':W[_0xf2b7d6(0x479)],'code':gs['OK'],'routeKey':_0x2fdb69[_0xf2b7d6(0x1da)][_0xf2b7d6(0x46f)],'routeType':'','data':{'eventID':_0x1030bd['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4912a2}}});})['catch'](_0x132a29=>{const _0x131ab1=_0xcfdf3b;this[_0x131ab1(0x468)][_0x131ab1(0x444)](_0x132a29),_0x3e9b48();});return;}}_0x212e92[_0xcfdf3b(0x3e2)](br(_0x17dc88));},'close':()=>{const _0x5d8301=_0x370286;_0x212e92[_0x5d8301(0x32a)](),_0x5ee16f['dispose']();}},_0x4dfb2f;}async[_0x29d74e(0x4c4)](_0x17ce74,_0x30a980){const _0x3a9a71=_0x29d74e;var _0xc27345,_0x334b14;const {unitType:_0x6356b9,unitID:_0x36c771,changeset:_0x4b82e3}=_0x30a980[_0x3a9a71(0x1da)],_0x199bfd={'unitID':_0x36c771,'memberID':_0x17ce74['memberID'],'type':_0x6356b9,'changeset':_0x158b53(_0x4b82e3)},_0x6574d3=this['_configService'][_0x3a9a71(0x3df)](pr),_0x2a4c52=this['_configService'][_0x3a9a71(0x3df)](ie),_0x149eb9=Or((_0x334b14=(_0xc27345=_0x2a4c52==null?void 0x0:_0x2a4c52['collabSubmitChangesetUrl'])!=null?_0xc27345:_0x6574d3)!=null?_0x334b14:gr,_0x6356b9,_0x36c771);try{await this[_0x3a9a71(0x36f)][_0x3a9a71(0x243)](_0x149eb9,{'body':_0x199bfd});}catch(_0x3b9ad3){throw this[_0x3a9a71(0x468)][_0x3a9a71(0x444)](_0x3a9a71(0x30a),_0x3a9a71(0x10d)),_0x3b9ad3;}}async[_0x29d74e(0x27b)](_0x14738e){const _0x2d8707=_0x29d74e,{unitID:_0x33764d,from:_0x56abb3,to:_0x2f351d,unitType:_0x1fd601}=_0x14738e[_0x2d8707(0x1da)];return(await this[_0x2d8707(0x2ac)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x33764d,'type':_0x1fd601,'from':_0x56abb3,'to':_0x2f351d}))['changesets'];}};Zt=yr([qe(0x0,_0x37efa2(_0x28ac76)),qe(0x1,_0x37efa2(_0xad4ad5)),qe(0x2,_0x167231),qe(0x3,_0x2b335c),qe(0x4,_0x2b7ebf)],Zt);const wr=_0x29d74e(0x287);function Dr(_0x58dfdf){const _0x221cce=_0x29d74e;return JSON[_0x221cce(0x11f)](_0x58dfdf)[_0x221cce(0x400)];}class Ri{constructor(){const _0x2b7177=_0x29d74e;g(this,_0x2b7177(0x28a),new _0x2c142e()),g(this,_0x2b7177(0x1c2),this[_0x2b7177(0x28a)]['asObservable']());}['onCommentUpdate'](_0x384694){const _0x5aca33=_0x29d74e;this[_0x5aca33(0x28a)][_0x5aca33(0x175)](_0x384694);}}var Pr=Object[_0x29d74e(0x229)],Ur=Object[_0x29d74e(0x494)],Nr=(_0x4ab61d,_0x330ac6,_0x10f963,_0x225df9)=>{const _0x27edd2=_0x29d74e;for(var _0x54a932=_0x225df9>0x1?void 0x0:_0x225df9?Ur(_0x330ac6,_0x10f963):_0x330ac6,_0x4ab32f=_0x4ab61d[_0x27edd2(0x400)]-0x1,_0x457533;_0x4ab32f>=0x0;_0x4ab32f--)(_0x457533=_0x4ab61d[_0x4ab32f])&&(_0x54a932=(_0x225df9?_0x457533(_0x330ac6,_0x10f963,_0x54a932):_0x457533(_0x54a932))||_0x54a932);return _0x225df9&&_0x54a932&&Pr(_0x330ac6,_0x10f963,_0x54a932),_0x54a932;},Ls=(_0x52bf3e,_0x4612e2)=>(_0x263d2b,_0x1d60f1)=>_0x4612e2(_0x263d2b,_0x1d60f1,_0x52bf3e);let Ue=class extends _0x3755da{constructor(_0x5b654d,_0xe081c5){const _0x1ea616=_0x29d74e;super(),g(this,_0x1ea616(0x382),new Map()),(this['_univerInstanceService']=_0x5b654d,this[_0x1ea616(0x48b)]=_0xe081c5,this[_0x1ea616(0x3d0)](_0x3dbac0(_0xef46fa(this[_0x1ea616(0x387)][_0x1ea616(0x2eb)](_0xcdbbdb[_0x1ea616(0x142)])['pipe'](_0x1c1ea1(_0x40a75e=>_0x40a75e[_0x1ea616(0x4af)]())),this[_0x1ea616(0x387)][_0x1ea616(0x2eb)](_0xcdbbdb['UNIVER_DOC'])['pipe'](_0x1c1ea1(_0x3e946c=>_0x3e946c[_0x1ea616(0x4af)]())),this[_0x1ea616(0x387)][_0x1ea616(0x2eb)](_0xcdbbdb[_0x1ea616(0x32e)])['pipe'](_0x1c1ea1(_0x52c859=>_0x52c859[_0x1ea616(0x4af)]())))[_0x1ea616(0x3c2)](_0x4afa14=>this[_0x1ea616(0x145)](_0x4afa14)))));}[_0x29d74e(0x43e)](_0x37a223){const _0x3dd2ad=_0x29d74e;this[_0x3dd2ad(0x48b)][_0x3dd2ad(0x43e)](_0x37a223);}[_0x29d74e(0x363)](){const _0x5c5261=_0x29d74e;return this[_0x5c5261(0x48b)][_0x5c5261(0x363)]();}[_0x29d74e(0x413)](_0x8801dc,_0x37e161){const _0x225522=_0x29d74e;let _0x3f29fb=this[_0x225522(0x382)][_0x225522(0x177)](_0x8801dc);_0x3f29fb||(_0x3f29fb=new Ar(),this[_0x225522(0x382)][_0x225522(0x36d)](_0x8801dc,_0x3f29fb)),_0x3f29fb[_0x225522(0x413)](_0x37e161);}[_0x29d74e(0x17c)](_0x30187c,_0x1a7750){const _0x4de974=_0x29d74e,_0x2274d7=this['_roomMembers'][_0x4de974(0x177)](_0x30187c);_0x2274d7&&_0x2274d7[_0x4de974(0x17c)](_0x1a7750);}['getRoom'](_0x59d89a){return this['_roomMembers']['get'](_0x59d89a);}[_0x29d74e(0x1dc)](_0x52d15d,_0x2d8d4e){const _0x4e83b9=_0x29d74e,_0x2ca454=this[_0x4e83b9(0x382)][_0x4e83b9(0x177)](_0x52d15d);if(_0x2ca454)return _0x2ca454[_0x4e83b9(0x1dc)](_0x2d8d4e);}[_0x29d74e(0x145)](_0x11f015){const _0x236429=_0x29d74e,_0x1982eb=this[_0x236429(0x382)][_0x236429(0x177)](_0x11f015);_0x1982eb&&(_0x1982eb[_0x236429(0x4ae)](),this[_0x236429(0x382)]['delete'](_0x11f015));}[_0x29d74e(0x4ae)](){const _0x1effaf=_0x29d74e;this[_0x1effaf(0x382)][_0x1effaf(0x2d5)](_0x3f632a=>_0x3f632a[_0x1effaf(0x4ae)]()),this[_0x1effaf(0x382)][_0x1effaf(0x4fc)]();}};Ue=Nr([Ls(0x0,_0x4c5fa7),Ls(0x1,_0x37efa2(_0x3a6e4c))],Ue);class Ar extends _0x3755da{constructor(){const _0x78f70f=_0x29d74e;super(...arguments),g(this,_0x78f70f(0x28e),new Map());}['dispose'](){const _0xbae8d8=_0x29d74e;this['_members'][_0xbae8d8(0x4fc)]();}['updateMember'](_0x1a2f0b){const _0x2bf7f3=_0x29d74e;this[_0x2bf7f3(0x28e)]['set'](_0x1a2f0b[_0x2bf7f3(0x435)],_0x1a2f0b);}[_0x29d74e(0x17c)](_0x86ecba){const _0x56bc5c=_0x29d74e;this[_0x56bc5c(0x28e)][_0x56bc5c(0x4f6)](_0x86ecba);}[_0x29d74e(0x1dc)](_0x123723){const _0x573147=_0x29d74e;return this['_members'][_0x573147(0x177)](_0x123723);}['getAllMembers'](){const _0x46f449=_0x29d74e;return Array[_0x46f449(0x29c)](this[_0x46f449(0x28e)][_0x46f449(0x326)]());}}var Mr=Object[_0x29d74e(0x229)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x578a54,_0x507719,_0x565e09,_0x3639f0)=>{for(var _0x353b89=_0x3639f0>0x1?void 0x0:_0x3639f0?xr(_0x507719,_0x565e09):_0x507719,_0x2e4ed1=_0x578a54['length']-0x1,_0xb111b1;_0x2e4ed1>=0x0;_0x2e4ed1--)(_0xb111b1=_0x578a54[_0x2e4ed1])&&(_0x353b89=(_0x3639f0?_0xb111b1(_0x507719,_0x565e09,_0x353b89):_0xb111b1(_0x353b89))||_0x353b89);return _0x3639f0&&_0x353b89&&Mr(_0x507719,_0x565e09,_0x353b89),_0x353b89;},Ee=(_0x36282f,_0x3954bf)=>(_0x257d54,_0x4b7b9f)=>_0x3954bf(_0x257d54,_0x4b7b9f,_0x36282f),ve=(_0x5815fe=>(_0x5815fe[_0x5815fe[_0x29d74e(0x176)]=0x0]='IDLE',_0x5815fe[_0x5815fe[_0x29d74e(0x2b5)]=0x1]=_0x29d74e(0x2b5),_0x5815fe[_0x5815fe[_0x29d74e(0x4ea)]=0x2]=_0x29d74e(0x4ea),_0x5815fe[_0x5815fe[_0x29d74e(0x20b)]=0x3]=_0x29d74e(0x20b),_0x5815fe))(ve||{});let Qt=class extends _0x44a670{constructor(_0x2ffe88,_0x3586e3,_0x285a48,_0x7ded9c,_0xd55e6c,_0x289798,_0x1dbf70,_0x15aa06,_0x1a8ea2,_0x233aff){const _0x1a12f0=_0x29d74e;super(),g(this,_0x1a12f0(0x2f1),new _0x260ce9(0x0)),g(this,'sessionStatus$',this[_0x1a12f0(0x2f1)]['asObservable']()),g(this,'_event$',new _0x2c142e()),g(this,_0x1a12f0(0x2a1),this[_0x1a12f0(0x1d0)][_0x1a12f0(0x10f)]()),g(this,_0x1a12f0(0x2c0)),g(this,_0x1a12f0(0x2d4)),g(this,_0x1a12f0(0x218)),g(this,_0x1a12f0(0x49e),!0x1),g(this,_0x1a12f0(0x125),null),(this[_0x1a12f0(0x4e3)]=_0x2ffe88,this['_logService']=_0x285a48,this[_0x1a12f0(0x4d9)]=_0x7ded9c,this[_0x1a12f0(0x3fc)]=_0xd55e6c,this[_0x1a12f0(0x3e5)]=_0x289798,this['_localeService']=_0x1dbf70,this['_memberService']=_0x15aa06,this[_0x1a12f0(0x397)]=_0x1a8ea2,this[_0x1a12f0(0x4b1)]=_0x233aff,this['_shouldReportTelemetry']=!!this[_0x1a12f0(0x4b1)],_0x3586e3['pipe'](_0xb0a601(this[_0x1a12f0(0x201)]))[_0x1a12f0(0x3c2)](_0x2247e8=>{const _0x5b4c1f=_0x1a12f0;var _0x5d0b84;typeof _0x2247e8>'u'||(this[_0x5b4c1f(0x2c0)]=_0x2247e8,_0x2247e8?(this[_0x5b4c1f(0x16d)](_0x2247e8),this[_0x5b4c1f(0x2d4)]=_0x2247e8['message$'][_0x5b4c1f(0x3c2)](_0x5c7286=>{const _0x392c3d=_0x5b4c1f;_0x5c7286[_0x392c3d(0x263)]===this[_0x392c3d(0x4e3)]&&this[_0x392c3d(0x438)](_0x5c7286);})):(this[_0x5b4c1f(0x4a9)](),this['_sessionStatus$'][_0x5b4c1f(0x175)](0x2),(_0x5d0b84=this['_socketMessageSubscription'])==null||_0x5d0b84[_0x5b4c1f(0x392)](),this[_0x5b4c1f(0x2d4)]=null));}),this[_0x1a12f0(0x3d0)](this['_beforeCloseService'][_0x1a12f0(0x259)](()=>{const _0x34ede9=_0x1a12f0;var _0x588f8f;(_0x588f8f=this[_0x34ede9(0x2c0)])==null||_0x588f8f['send']({'cmd':W[_0x34ede9(0x33e)],'data':{'roomID':this[_0x34ede9(0x4e3)]}});})));}get[_0x29d74e(0x4b4)](){const _0x26d7b9=_0x29d74e;return this[_0x26d7b9(0x2f1)][_0x26d7b9(0x47e)]();}[_0x29d74e(0x2fc)](){const _0x3edf96=_0x29d74e;var _0x33ebe7,_0x5902eb;return(_0x5902eb=(_0x33ebe7=this[_0x3edf96(0x2c0)])==null?void 0x0:_0x33ebe7[_0x3edf96(0x435)])!=null?_0x5902eb:null;}[_0x29d74e(0x4ae)](){const _0x1e40a7=_0x29d74e;super[_0x1e40a7(0x4ae)](),this['dispose$']['next'](),this[_0x1e40a7(0x201)][_0x1e40a7(0x476)]();}[_0x29d74e(0x32a)](){const _0x16ed78=_0x29d74e;var _0x23f231,_0x15998e;this[_0x16ed78(0x4a9)](),(_0x23f231=this[_0x16ed78(0x2c0)])==null||_0x23f231['send']({'cmd':W[_0x16ed78(0x33e)],'data':{'roomID':this[_0x16ed78(0x4e3)]}}),(_0x15998e=this[_0x16ed78(0x2c0)])==null||_0x15998e[_0x16ed78(0x32a)](),this['_event$'][_0x16ed78(0x476)](),this[_0x16ed78(0x2f1)][_0x16ed78(0x476)](),this['dispose']();}[_0x29d74e(0x438)](_0x4ae585){const _0x5199a9=_0x29d74e;_0x4ae585[_0x5199a9(0x21d)]===W[_0x5199a9(0x3be)]?this[_0x5199a9(0x225)](_0x4ae585):_0x4ae585[_0x5199a9(0x21d)]===W[_0x5199a9(0x479)]&&this['_onRecvEvent'](_0x4ae585);}['_joinRoom'](_0x1d6ee9){const _0x1e0bfd=_0x29d74e;this[_0x1e0bfd(0x2f1)][_0x1e0bfd(0x175)](0x1),_0x1d6ee9['send']({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1e0bfd(0x4e3)]}]}});}[_0x29d74e(0x225)](_0x2f0081){const _0x35ef41=_0x29d74e;var _0x5acb77;if(_0x2f0081[_0x35ef41(0x19d)]===gs[_0x35ef41(0x457)]){this['_messageService'][_0x35ef41(0x116)]({'type':_0x5b9771[_0x35ef41(0x22d)],'content':this[_0x35ef41(0xef)]['t'](_0x35ef41(0x325))}),this[_0x35ef41(0x2f1)][_0x35ef41(0x175)](0x2);return;}this[_0x35ef41(0x2f1)][_0x35ef41(0x175)](0x3);const _0x70f47c=(_0x5acb77=_0x2f0081[_0x35ef41(0x1da)][_0x35ef41(0x236)][this[_0x35ef41(0x4e3)]])==null?void 0x0:_0x5acb77['members'];_0x70f47c&&_0x70f47c[_0x35ef41(0x2d5)](_0x48d2bb=>this[_0x35ef41(0x127)][_0x35ef41(0x413)](this[_0x35ef41(0x4e3)],_0x48d2bb));}['_onRecvEvent'](_0x6fa018){const _0x16a781=_0x29d74e;try{const _0x322cdb=_0x6fa018['data'];switch(_0x322cdb[_0x16a781(0x167)]){case _0x1030bd[_0x16a781(0x11c)]:this[_0x16a781(0x1e2)](_0x322cdb),this['_event$'][_0x16a781(0x175)](_0x322cdb);break;case _0x1030bd['USERS_LEAVE']:this['_onUserLeave'](_0x322cdb),this[_0x16a781(0x1d0)][_0x16a781(0x175)](_0x322cdb);break;case _0x1030bd[_0x16a781(0x3f3)]:case _0x1030bd[_0x16a781(0x21a)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x16a781(0x175)](_0x322cdb);break;case _0x1030bd[_0x16a781(0x4ef)]:this[_0x16a781(0x468)][_0x16a781(0x444)](_0x16a781(0x42d)+JSON[_0x16a781(0x11f)](_0x322cdb)),this['_event$'][_0x16a781(0x175)](_0x322cdb);break;case _0x1030bd['COMMENT_UPDATE']:this[_0x16a781(0x397)]['onCommentUpdate'](_0x322cdb[_0x16a781(0x1da)]),this[_0x16a781(0x1d0)][_0x16a781(0x175)](_0x322cdb);break;default:this[_0x16a781(0x1d0)][_0x16a781(0x175)](_0x322cdb);}}catch(_0x3db9d5){this[_0x16a781(0x468)][_0x16a781(0x444)](_0x3db9d5,_0x6fa018);}}['_onUserJoin'](_0x331091){const _0x83283a=_0x29d74e;this['_memberService'][_0x83283a(0x413)](this[_0x83283a(0x4e3)],_0x331091[_0x83283a(0x1da)]);}['_onUserLeave'](_0xc9fff1){const _0x320f74=_0x29d74e;this['_memberService'][_0x320f74(0x17c)](this[_0x320f74(0x4e3)],_0xc9fff1[_0x320f74(0x1da)]['memberID']);}async[_0x29d74e(0x3e2)](_0x228728,_0xed8ce1){const _0xd069e4=_0x29d74e;if(this[_0xd069e4(0x4b4)]!==0x3||!this[_0xd069e4(0x2c0)])throw new Error(_0xd069e4(0xee));try{_0x228728[_0xd069e4(0x167)]===_0x1030bd[_0xd069e4(0x1ce)]&&(this[_0xd069e4(0x33c)](),this[_0xd069e4(0x3a8)](_0x228728)),this[_0xd069e4(0x2c0)][_0xd069e4(0x3e2)]({'cmd':W[_0xd069e4(0x417)],'routeKey':_0xed8ce1,'routeType':'','data':_0x228728});}catch(_0x2cf50d){this[_0xd069e4(0x468)][_0xd069e4(0x444)](_0x2cf50d);}}[_0x29d74e(0x33c)](){const _0x31709f=_0x29d74e;var _0x3632df;this['_collaborationTimeoutTimer']=window[_0x31709f(0x2df)](()=>{const _0x3f499f=_0x31709f;this[_0x3f499f(0x218)]=null,this[_0x3f499f(0x3fc)][_0x3f499f(0x116)]({'type':_0x5b9771[_0x3f499f(0x364)],'content':this[_0x3f499f(0xef)]['t'](_0x3f499f(0x13f))});},(_0x3632df=this[_0x31709f(0x3e5)][_0x31709f(0x3df)](Ii))!=null?_0x3632df:Ci);}['_clearCollaborationTimeoutTimer'](){const _0x379a10=_0x29d74e;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x379a10(0x218)]),this[_0x379a10(0x218)]=null);}[_0x29d74e(0x3a8)](_0x2ef473){const _0x45d079=_0x29d74e;if(!this[_0x45d079(0x49e)])return;const {data:_0xfd0f70}=_0x2ef473,{unitID:_0x5b9577,changeset:_0x58d750}=_0xfd0f70,{mutations:_0xc17a20,type:_0x14245c}=_0x58d750;this['_telemetryInfo']={'unitId':_0x5b9577,'type':_0x14245c,'startTime':performance[_0x45d079(0x4dc)](),'stopTime':0x0,'duration':0x0,'size':Dr(_0xc17a20)};}[_0x29d74e(0x440)](){const _0x5bfc28=_0x29d74e;if(this[_0x5bfc28(0x49e)]){if(!this[_0x5bfc28(0x125)]){this[_0x5bfc28(0x468)]['error'](_0x5bfc28(0x30a),_0x5bfc28(0x3a5));return;}this[_0x5bfc28(0x125)][_0x5bfc28(0x443)]=performance[_0x5bfc28(0x4dc)](),this[_0x5bfc28(0x125)][_0x5bfc28(0x128)]=this['_telemetryInfo'][_0x5bfc28(0x443)]-this[_0x5bfc28(0x125)][_0x5bfc28(0x1c8)],this[_0x5bfc28(0x4b1)][_0x5bfc28(0x24a)](wr,this['_telemetryInfo']),this[_0x5bfc28(0x125)]=null;}}[_0x29d74e(0x4a9)](){const _0x27a33a=_0x29d74e;this[_0x27a33a(0x125)]=null;}};Qt=Lr([Ee(0x2,_0x2b335c),Ee(0x3,_0x1d600a),Ee(0x4,_0xcca842),Ee(0x5,_0x167231),Ee(0x6,_0x37efa2(_0x10be55)),Ee(0x7,_0x37efa2(Ue)),Ee(0x8,_0x37efa2(Ri)),Ee(0x9,_0x4e2ed1(_0x1188ed))],Qt);var $r=Object[_0x29d74e(0x229)],Hr=Object[_0x29d74e(0x494)],jr=(_0x30f7f0,_0x39ba02,_0x16ed6f,_0x2a78ca)=>{for(var _0x28de8a=_0x2a78ca>0x1?void 0x0:_0x2a78ca?Hr(_0x39ba02,_0x16ed6f):_0x39ba02,_0x564795=_0x30f7f0['length']-0x1,_0x33dd93;_0x564795>=0x0;_0x564795--)(_0x33dd93=_0x30f7f0[_0x564795])&&(_0x28de8a=(_0x2a78ca?_0x33dd93(_0x39ba02,_0x16ed6f,_0x28de8a):_0x33dd93(_0x28de8a))||_0x28de8a);return _0x2a78ca&&_0x28de8a&&$r(_0x39ba02,_0x16ed6f,_0x28de8a),_0x28de8a;},He=(_0x528803,_0x524ff5)=>(_0x4dc856,_0x4e21cb)=>_0x524ff5(_0x4dc856,_0x4e21cb,_0x528803);let Ne=class extends _0x3755da{constructor(_0x3ba772,_0x5cf6d3,_0x5742df,_0x37306b,_0x25d8cb,_0x25fa84){const _0x186234=_0x29d74e;super(),g(this,_0x186234(0x25c),new _0x260ce9(void 0x0)),g(this,_0x186234(0x4f5),this[_0x186234(0x25c)][_0x186234(0x10f)]()),g(this,_0x186234(0x179),null),g(this,_0x186234(0x300),new Map()),g(this,_0x186234(0x18a),new _0x260ce9(ve[_0x186234(0x176)])),g(this,_0x186234(0x14e),this[_0x186234(0x18a)]['asObservable']()),g(this,_0x186234(0x12a),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x186234(0x277),0x0),g(this,'_sendHeartbeatTimer'),g(this,_0x186234(0x4b6)),(this[_0x186234(0x1b2)]=_0x3ba772,this[_0x186234(0xef)]=_0x5cf6d3,this[_0x186234(0x3fc)]=_0x5742df,this[_0x186234(0x468)]=_0x37306b,this[_0x186234(0x3e5)]=_0x25d8cb,this['_socketService']=_0x25fa84,this[_0x186234(0x18c)]());}get[_0x29d74e(0x2c0)](){const _0x5d13c8=_0x29d74e;return this['_socket$'][_0x5d13c8(0x47e)]();}[_0x29d74e(0x18c)](){const _0x1290de=_0x29d74e;this[_0x1290de(0x266)](),this['_listenToOnlineEvent']();}[_0x29d74e(0x4ae)](){const _0x24defc=_0x29d74e;super[_0x24defc(0x4ae)](),this[_0x24defc(0x300)][_0x24defc(0x2d5)](_0x1f4138=>_0x1f4138['dispose']()),this[_0x24defc(0x300)][_0x24defc(0x4fc)](),this[_0x24defc(0x18a)][_0x24defc(0x476)]();}async[_0x29d74e(0x224)](_0x5b07c1){const _0x5a1b9f=_0x29d74e;if(this['_sessions']['has'](_0x5b07c1))return this['_sessions'][_0x5a1b9f(0x177)](_0x5b07c1);this[_0x5a1b9f(0x1b8)]();const _0x30bdc8=this[_0x5a1b9f(0x1b2)][_0x5a1b9f(0x4a8)](Qt,_0x5b07c1,this[_0x5a1b9f(0x25c)]['asObservable']());return this[_0x5a1b9f(0x300)]['set'](_0x5b07c1,_0x30bdc8),_0x30bdc8;}[_0x29d74e(0x119)](_0x55d84b){const _0x104a6d=_0x29d74e;var _0x5bc14f;const _0x320bcc=this['_sessions'][_0x104a6d(0x177)](_0x55d84b);_0x320bcc&&(this['_sessions']['delete'](_0x55d84b),_0x320bcc[_0x104a6d(0x32a)]()),this[_0x104a6d(0x300)]['size']||(_0x5bc14f=this[_0x104a6d(0x2c0)])==null||_0x5bc14f[_0x104a6d(0x32a)]();}[_0x29d74e(0x22f)](){const _0x5a2e0b=_0x29d74e;this['_retryCount']=0x0,this[_0x5a2e0b(0x3b1)]!=null&&(clearTimeout(this[_0x5a2e0b(0x3b1)]),this[_0x5a2e0b(0x3b1)]=null),this['_tryReconnect']();}[_0x29d74e(0x285)](){const _0x2e06e1=_0x29d74e;var _0x1e0195,_0x52e369;const _0x5c30af=this['_configService'][_0x2e06e1(0x3df)](cr),_0x5624f8=this[_0x2e06e1(0x3e5)][_0x2e06e1(0x3df)](ie),_0x21473b=(_0x52e369=(_0x1e0195=_0x5624f8==null?void 0x0:_0x5624f8['collabWebSocketUrl'])!=null?_0x1e0195:_0x5c30af)!=null?_0x52e369:hr,_0x4f4ba5=this[_0x2e06e1(0x393)][_0x2e06e1(0x1dd)](_0x21473b);return this[_0x2e06e1(0x179)]=_0x4f4ba5,_0x4f4ba5;}['_tryEnsureSocket'](){const _0x318015=_0x29d74e;var _0x1f8040,_0x37f4c0;try{const _0x34420d=(_0x37f4c0=(_0x1f8040=this[_0x318015(0x2c0)])!=null?_0x1f8040:this['_candidateSocket'])!=null?_0x37f4c0:this['_createSocket']();if(_0x34420d){const _0x38772b=_0x34420d[_0x318015(0x3e2)];_0x34420d[_0x318015(0x3e2)]=_0x1510e3=>(this[_0x318015(0x3f8)](),_0x38772b[_0x318015(0x493)](_0x34420d,[_0x1510e3])),_0x34420d['message$'][_0x318015(0x3c2)](_0x288d72=>this[_0x318015(0x4ab)](_0x34420d,_0x288d72)),_0x34420d[_0x318015(0x1ef)][_0x318015(0x472)](_0x2fc2e4(0x1))[_0x318015(0x3c2)](_0x5b643a=>this[_0x318015(0x468)][_0x318015(0x444)](_0x318015(0x188),_0x5b643a)),_0x34420d[_0x318015(0x318)]['pipe'](_0x2fc2e4(0x1))[_0x318015(0x3c2)](()=>{const _0x107024=_0x318015;this[_0x107024(0x4f4)](_0x34420d);}),_0x34420d[_0x318015(0x11a)][_0x318015(0x472)](_0x2fc2e4(0x1))['subscribe'](_0x42fc63=>{const _0x9f2dd2=_0x318015;this[_0x9f2dd2(0x468)][_0x9f2dd2(0x3a2)]('[CollaborationSessionService]',_0x9f2dd2(0x297),_0x42fc63),this[_0x9f2dd2(0x4da)]();});}}catch(_0x17be49){this[_0x318015(0x468)][_0x318015(0x444)](_0x17be49),this[_0x318015(0x4da)]();}}[_0x29d74e(0x4f4)](_0x4e649e){const _0x981122=_0x29d74e;this['_logService'][_0x981122(0x3a2)](_0x981122(0x2c4),_0x981122(0x2a4)),_0x4e649e[_0x981122(0x3e2)]({'cmd':W[_0x981122(0x350)]}),this[_0x981122(0x3f8)]();}[_0x29d74e(0x266)](){const _0x4fd845=_0x29d74e;window['addEventListener'](_0x4fd845(0x237),()=>this['_onOffline']());}[_0x29d74e(0x121)](){const _0x2fc68d=_0x29d74e;this[_0x2fc68d(0x12a)]=!0x1,this[_0x2fc68d(0x179)]=null,this['_status$'][_0x2fc68d(0x175)](ve[_0x2fc68d(0x4ea)]),this[_0x2fc68d(0x25c)][_0x2fc68d(0x175)](null),this['_clearTimeoutTimer'](),this[_0x2fc68d(0x16a)]();}['_onConnectionFailed'](){const _0x277bbd=_0x29d74e;var _0x1f3570;this[_0x277bbd(0x121)](),this[_0x277bbd(0x277)]<((_0x1f3570=this[_0x277bbd(0x3e5)][_0x277bbd(0x3df)](dr))!=null?_0x1f3570:fr)?(this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x5b9771['Warning'],'content':this[_0x277bbd(0xef)]['t']('session.will-retry')}),this[_0x277bbd(0x402)]()):this[_0x277bbd(0x3fc)][_0x277bbd(0x116)]({'key':_0x277bbd(0x2b9),'type':_0x5b9771[_0x277bbd(0x364)],'content':this[_0x277bbd(0xef)]['t'](_0x277bbd(0x1cc))});}[_0x29d74e(0x1a8)](){const _0x17a49a=_0x29d74e,_0x2c10fa=()=>{const _0x3db0c3=_0x2ea9;this[_0x3db0c3(0x2c0)]||this['reconnect']();},_0x55bcbe=()=>{const _0x347e0a=_0x2ea9;this[_0x347e0a(0x2c0)]||document[_0x347e0a(0x35d)]===_0x347e0a(0x109)||this['reconnect']();};window[_0x17a49a(0x2c8)](_0x17a49a(0x46b),_0x2c10fa),document[_0x17a49a(0x2c8)](_0x17a49a(0x1a6),_0x55bcbe);}[_0x29d74e(0x402)](){const _0x10613f=_0x29d74e;var _0x12a045;const _0x27ebe9=this['_retryCount'],_0x176166=this[_0x10613f(0x3e5)][_0x10613f(0x3df)](ie),_0x4425b3=_0x27ebe9===0x0?0x0:((_0x12a045=_0x176166==null?void 0x0:_0x176166[_0x10613f(0x1ad)])!=null?_0x12a045:ur)*0x2**_0x27ebe9;this['_retryConnectingTimer']=window[_0x10613f(0x2df)](()=>{const _0x3d074e=_0x10613f;clearTimeout(this[_0x3d074e(0x3b1)]),this[_0x3d074e(0x3b1)]=null,this[_0x3d074e(0x1b8)]();},_0x4425b3),this['_retryCount']+=0x1;}[_0x29d74e(0x4ab)](_0x2db10a,_0x588322){const _0x120716=_0x29d74e,{cmd:_0x3749d5}=_0x588322;_0x3749d5===W['HELLO']&&!this[_0x120716(0x12a)]&&(_0x2db10a['memberID']=_0x588322[_0x120716(0x1da)][_0x120716(0x435)],this[_0x120716(0x25c)][_0x120716(0x175)](_0x2db10a),this[_0x120716(0x18a)][_0x120716(0x175)](ve['ONLINE']),this[_0x120716(0x12a)]=!0x0,this['_candidateSocket']=null),_0x3749d5===W[_0x120716(0x261)]&&this[_0x120716(0x3a0)](),this[_0x120716(0x3f8)]();}[_0x29d74e(0x3f8)](){const _0x12978a=_0x29d74e;var _0x1732c3;this[_0x12978a(0x16a)](),this[_0x12978a(0x48a)]=window['setTimeout'](()=>this[_0x12978a(0x423)](),(_0x1732c3=this[_0x12978a(0x3e5)][_0x12978a(0x3df)](lr))!=null?_0x1732c3:_r);}[_0x29d74e(0x423)](){const _0x465711=_0x29d74e;this['_socket'][_0x465711(0x3e2)]({'cmd':W[_0x465711(0x261)]}),this[_0x465711(0x4c5)]();}['_waitForHeartbeatResponse'](){const _0xd06d93=_0x29d74e;var _0x508fdf;this[_0xd06d93(0x4b6)]=window[_0xd06d93(0x2df)](()=>this[_0xd06d93(0x4da)](),(_0x508fdf=this['_configService']['getConfig'](Ii))!=null?_0x508fdf:Ci);}['_clearHeartbeatTimer'](){const _0x571d3d=_0x29d74e;this[_0x571d3d(0x48a)]!=null&&(clearTimeout(this[_0x571d3d(0x48a)]),this[_0x571d3d(0x48a)]=null);}[_0x29d74e(0x3a0)](){const _0x4801d4=_0x29d74e;this[_0x4801d4(0x4b6)]!=null&&(clearTimeout(this[_0x4801d4(0x4b6)]),this[_0x4801d4(0x4b6)]=null);}};Ne=jr([He(0x0,_0x37efa2(_0x1e339b)),He(0x1,_0x37efa2(_0x10be55)),He(0x2,_0xcca842),He(0x3,_0x2b335c),He(0x4,_0x167231),He(0x5,Ti)],Ne);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x29d74e(0x183)]((i+0x100)[_0x29d74e(0x394)](0x10)[_0x29d74e(0x21b)](0x1));function Br(_0x1e289d,_0x166d77=0x0){const _0x4bd9fe=_0x29d74e;return(Y[_0x1e289d[_0x166d77+0x0]]+Y[_0x1e289d[_0x166d77+0x1]]+Y[_0x1e289d[_0x166d77+0x2]]+Y[_0x1e289d[_0x166d77+0x3]]+'-'+Y[_0x1e289d[_0x166d77+0x4]]+Y[_0x1e289d[_0x166d77+0x5]]+'-'+Y[_0x1e289d[_0x166d77+0x6]]+Y[_0x1e289d[_0x166d77+0x7]]+'-'+Y[_0x1e289d[_0x166d77+0x8]]+Y[_0x1e289d[_0x166d77+0x9]]+'-'+Y[_0x1e289d[_0x166d77+0xa]]+Y[_0x1e289d[_0x166d77+0xb]]+Y[_0x1e289d[_0x166d77+0xc]]+Y[_0x1e289d[_0x166d77+0xd]]+Y[_0x1e289d[_0x166d77+0xe]]+Y[_0x1e289d[_0x166d77+0xf]])[_0x4bd9fe(0x3ce)]();}let Ut;const kr=new Uint8Array(0x10);function Wr(){const _0x2d87e1=_0x29d74e;if(!Ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x2d87e1(0x138));Ut=crypto[_0x2d87e1(0x10b)][_0x2d87e1(0x231)](crypto);}return Ut(kr);}const Fr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x29d74e(0x2cd)]['bind'](crypto),$s={'randomUUID':Fr};function Vr(_0x52deda,_0x522577,_0x3e9131){const _0x15a315=_0x29d74e;if($s['randomUUID']&&!_0x522577&&!_0x52deda)return $s[_0x15a315(0x2cd)]();_0x52deda=_0x52deda||{};const _0xbebb32=_0x52deda[_0x15a315(0x424)]||(_0x52deda['rng']||Wr)();return _0xbebb32[0x6]=_0xbebb32[0x6]&0xf|0x40,_0xbebb32[0x8]=_0xbebb32[0x8]&0x3f|0x80,Br(_0xbebb32);}var Gr=Object[_0x29d74e(0x229)],Yr=Object[_0x29d74e(0x494)],Kr=(_0x545e12,_0x3f9f68,_0x425b52,_0xf2dc76)=>{const _0x1bab05=_0x29d74e;for(var _0x8f3cb7=_0xf2dc76>0x1?void 0x0:_0xf2dc76?Yr(_0x3f9f68,_0x425b52):_0x3f9f68,_0x504521=_0x545e12[_0x1bab05(0x400)]-0x1,_0x51e9f9;_0x504521>=0x0;_0x504521--)(_0x51e9f9=_0x545e12[_0x504521])&&(_0x8f3cb7=(_0xf2dc76?_0x51e9f9(_0x3f9f68,_0x425b52,_0x8f3cb7):_0x51e9f9(_0x8f3cb7))||_0x8f3cb7);return _0xf2dc76&&_0x8f3cb7&&Gr(_0x3f9f68,_0x425b52,_0x8f3cb7),_0x8f3cb7;},Nt=(_0x538704,_0x438beb)=>(_0x2d1d99,_0xcf9cd0)=>_0x438beb(_0x2d1d99,_0xcf9cd0,_0x538704);let ft=class{constructor(_0x69bf94,_0x56758d,_0x2364cd){const _0x215158=_0x29d74e;this[_0x215158(0x1b2)]=_0x69bf94,this[_0x215158(0x2f4)]=_0x56758d,this[_0x215158(0x26c)]=_0x2364cd;}[_0x29d74e(0x1b3)](_0x4f6b78){const _0x1b8ec6=_0x29d74e;this[_0x1b8ec6(0x19c)](_0x4f6b78),this[_0x1b8ec6(0x4e6)](_0x4f6b78);}[_0x29d74e(0x154)](_0x1befe5){const _0x2a2266=_0x29d74e,{unitID:_0x4c8433}=_0x1befe5,_0x2b20a9=this['_renderManagerService'][_0x2a2266(0x467)](_0x4c8433)['with'](_0x3b14b4),{redoCache:_0xb30a7a}=_0x2b20a9[_0x2a2266(0x35c)]();if(_0xb30a7a[_0x2a2266(0x400)]===0x0)return _0x1befe5;let _0xb6fc9=_0x56f740[_0x2a2266(0x451)](_0x1befe5[_0x2a2266(0x3cd)][0x0]);for(let _0x4d5021=0x0;_0x4d5021<_0xb30a7a[_0x2a2266(0x400)];_0x4d5021++){const _0x1fbcc9={'id':_0x2a2266(0x2b6),'params':{..._0xb30a7a[_0x4d5021]}},_0x29124e=this[_0x2a2266(0x2f4)][_0x2a2266(0x4bd)](_0xb6fc9,_0x1fbcc9,!0x1);if(_0x390965(_0x29124e))throw _0x29124e['error'];_0xb6fc9=_0x29124e[_0x2a2266(0x4f7)];}return{..._0x56f740[_0x2a2266(0x451)](_0x1befe5),'mutations':[_0xb6fc9]};}[_0x29d74e(0x19c)](_0x495245){const _0x318bd1=_0x29d74e,{unitID:_0x42fdbe}=_0x495245,_0x549e61=this[_0x318bd1(0x26c)][_0x318bd1(0x467)](_0x42fdbe)['with'](_0x3b14b4),{undoCache:_0x4ae381,redoCache:_0x544122}=_0x549e61[_0x318bd1(0x35c)]();if(_0x4ae381[_0x318bd1(0x400)]===0x0||_0x544122[_0x318bd1(0x400)]===0x0)return;const _0x1a274b=[],_0x5cc321=[];let _0x26eba8=_0x56f740['deepClone'](_0x495245[_0x318bd1(0x3cd)][0x0]),_0x8bd472=_0x56f740[_0x318bd1(0x451)](_0x495245[_0x318bd1(0x3cd)][0x0]);for(let _0x2dbb88=_0x4ae381['length']-0x1;_0x2dbb88>=0x0;_0x2dbb88--){const _0x440e71={'id':_0x318bd1(0x2b6),'params':{..._0x4ae381[_0x2dbb88]}},_0xa23224={'id':_0x318bd1(0x2b6),'params':{..._0x544122[_0x2dbb88]}},_0x1f1a44=this['_transformService'][_0x318bd1(0x4bd)](_0x26eba8,_0x440e71,!0x1),_0x594509=this[_0x318bd1(0x2f4)]['transformMutation'](_0x8bd472,_0xa23224,!0x1);if(_0x390965(_0x1f1a44))throw _0x1f1a44['error'];if(_0x390965(_0x594509))throw _0x594509['error'];_0x1a274b['unshift'](_0x1f1a44[_0x318bd1(0x36b)][_0x318bd1(0x38f)]),_0x5cc321[_0x318bd1(0x353)](_0x594509[_0x318bd1(0x36b)]['params']),_0x26eba8=_0x1f1a44['m1Prime'],_0x8bd472=_0x594509[_0x318bd1(0x4f7)];}_0x549e61['setUndoRedoMutationParamsCache']({'undoCache':_0x1a274b,'redoCache':_0x5cc321});}[_0x29d74e(0x4e6)](_0x536bba){const _0x5b2aab=_0x29d74e,{unitID:_0x2137e4}=_0x536bba,_0x1045c4=this[_0x5b2aab(0x26c)][_0x5b2aab(0x467)](_0x2137e4)['with'](_0x3b14b4),_0x481de8=_0x1045c4[_0x5b2aab(0x323)]();if(_0x481de8==null)return;const _0x284bdc=[{'id':_0x5b2aab(0x2b6),'params':{'unitId':_0x536bba[_0x5b2aab(0x46f)],'actions':null,'textRanges':[_0x481de8]}}],_0x535bda=this[_0x5b2aab(0x2f4)]['transformMutationsWithChangeset'](_0x536bba,_0x284bdc);if(!_0x45440f(_0x535bda))throw _0x535bda[_0x5b2aab(0x444)];const _0xcc4033=_0x535bda[_0x5b2aab(0x36b)][0x0][_0x5b2aab(0x38f)]['textRanges'];Array[_0x5b2aab(0x386)](_0xcc4033)&&_0xcc4033[_0x5b2aab(0x400)]&&_0x1045c4['setActiveRange'](_0xcc4033[0x0]);}};ft=Kr([Nt(0x0,_0x37efa2(_0x1e339b)),Nt(0x1,_0x4938c5),Nt(0x2,_0x4b3f95)],ft);var zr=Object[_0x29d74e(0x229)],qr=Object[_0x29d74e(0x494)],Xr=(_0x31880f,_0x2405ad,_0x2784d9,_0x406a8c)=>{const _0x3de545=_0x29d74e;for(var _0x321bfc=_0x406a8c>0x1?void 0x0:_0x406a8c?qr(_0x2405ad,_0x2784d9):_0x2405ad,_0x28243a=_0x31880f[_0x3de545(0x400)]-0x1,_0xbea3b2;_0x28243a>=0x0;_0x28243a--)(_0xbea3b2=_0x31880f[_0x28243a])&&(_0x321bfc=(_0x406a8c?_0xbea3b2(_0x2405ad,_0x2784d9,_0x321bfc):_0xbea3b2(_0x321bfc))||_0x321bfc);return _0x406a8c&&_0x321bfc&&zr(_0x2405ad,_0x2784d9,_0x321bfc),_0x321bfc;},Xe=(_0x3f404a,_0x4f6322)=>(_0x4cf958,_0x1da701)=>_0x4f6322(_0x4cf958,_0x1da701,_0x3f404a);let q=class extends _0x3755da{constructor(_0x43af42,_0x21bc64,_0x33e52e,_0x53563e,_0x5d6fc7){const _0x20d519=_0x29d74e;super(),g(this,'_cachedData',new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x20d519(0x2e1),!0x1),(this[_0x20d519(0x3e5)]=_0x43af42,this[_0x20d519(0x1e5)]=_0x21bc64,this[_0x20d519(0x4d9)]=_0x33e52e,this['_localeService']=_0x53563e,this['_revisionService']=_0x5d6fc7,this['_setupBeforeClosingHandler']());}[_0x29d74e(0x1a1)](){const _0xe2a7e0=_0x29d74e;this[_0xe2a7e0(0x2e1)]=!0x0;}[_0x29d74e(0x29d)](){const _0x327330=_0x29d74e;this[_0x327330(0x2e1)]=!0x1;}[_0x29d74e(0x4ae)](){const _0x3b2734=_0x29d74e;this[_0x3b2734(0x33a)]()[_0x3b2734(0x204)](()=>super[_0x3b2734(0x4ae)]());}async[_0x29d74e(0x336)](_0x740a8a){const _0x62aea1=_0x29d74e;return this[_0x62aea1(0x2e1)]?null:this[_0x62aea1(0x1e5)][_0x62aea1(0x153)](Hs(_0x740a8a));}async[_0x29d74e(0x3e6)](_0x39f48b,_0x257d34){const _0x3e94d2=_0x29d74e;return!!this[_0x3e94d2(0x1e5)][_0x3e94d2(0x203)](_0x39f48b,_0x257d34);}['updateOfflineData'](_0x515c3a,_0x5c8390,_0x1b135f,_0x2b81be){const _0x143f08=_0x29d74e,_0x3fd24f=this[_0x143f08(0x136)][_0x143f08(0x3dd)](_0x515c3a);this[_0x143f08(0x102)][_0x143f08(0x36d)](_0x515c3a,{'unitID':_0x515c3a,'type':_0x5c8390,'awaitingChangeset':_0x1b135f,'mutations':_0x2b81be,'rev':_0x3fd24f}),this[_0x143f08(0x3cf)][_0x143f08(0x44d)](_0x515c3a)||this[_0x143f08(0x4cb)](_0x515c3a);}['_scheduleSaving'](_0x4233ae){const _0x2b83f3=_0x29d74e,_0x317cbd=this[_0x2b83f3(0x23f)]();_0x317cbd===0x0?this['_saveCache'](_0x4233ae):this['_saveTaskMap'][_0x2b83f3(0x36d)](_0x4233ae,setTimeout(()=>this['_saveCache'](_0x4233ae),_0x317cbd));}[_0x29d74e(0x23f)](){const _0x549676=_0x29d74e;var _0x2fa8da;return(_0x2fa8da=this[_0x549676(0x3e5)][_0x549676(0x3df)](vr))!=null?_0x2fa8da:mr;}[_0x29d74e(0x4cd)](_0x5e8479){const _0x1b8c7d=_0x29d74e,_0x2de4e5=this[_0x1b8c7d(0x3cf)][_0x1b8c7d(0x177)](_0x5e8479);return _0x2de4e5!==void 0x0&&window[_0x1b8c7d(0x1e3)](_0x2de4e5),this[_0x1b8c7d(0x1e5)][_0x1b8c7d(0x203)](Hs(_0x5e8479),this['_cachedData']['get'](_0x5e8479))[_0x1b8c7d(0x204)](()=>this[_0x1b8c7d(0x3cf)][_0x1b8c7d(0x4f6)](_0x5e8479));}async[_0x29d74e(0x33a)](){const _0x474e6a=_0x29d74e,_0x246bda=[];this[_0x474e6a(0x3cf)][_0x474e6a(0x2d5)]((_0x5a247a,_0x559735)=>{const _0xa699c6=_0x474e6a;window[_0xa699c6(0x1e3)](_0x5a247a),_0x246bda[_0xa699c6(0x183)](this[_0xa699c6(0x4cd)](_0x559735)['then'](()=>{const _0x35c644=_0xa699c6;this[_0x35c644(0x3cf)][_0x35c644(0x4f6)](_0x559735);}));}),await Promise[_0x474e6a(0x3ee)](_0x246bda);}[_0x29d74e(0x209)](){const _0x10c56b=_0x29d74e;this['disposeWithMe'](this[_0x10c56b(0x4d9)][_0x10c56b(0x2c3)](()=>{const _0x24cc99=_0x10c56b;if(this[_0x24cc99(0x3cf)][_0x24cc99(0x27a)])return this[_0x24cc99(0xef)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Xr([Xe(0x0,_0x167231),Xe(0x1,_0x35bdfa),Xe(0x2,_0x1d600a),Xe(0x3,_0x37efa2(_0x10be55)),Xe(0x4,_0x37efa2(_0x405d92))],q);function Hs(_0x39b97){const _0x4fffc3=_0x29d74e;return _0x4fffc3(0x226)+_0x39b97;}var Jr=Object[_0x29d74e(0x229)],Zr=Object[_0x29d74e(0x494)],Qr=(_0x3e4633,_0x1bdba9,_0x2a3fdf,_0x43f68c)=>{const _0x503cdd=_0x29d74e;for(var _0xb9a6b3=_0x43f68c>0x1?void 0x0:_0x43f68c?Zr(_0x1bdba9,_0x2a3fdf):_0x1bdba9,_0xa2b311=_0x3e4633[_0x503cdd(0x400)]-0x1,_0x4a5ffb;_0xa2b311>=0x0;_0xa2b311--)(_0x4a5ffb=_0x3e4633[_0xa2b311])&&(_0xb9a6b3=(_0x43f68c?_0x4a5ffb(_0x1bdba9,_0x2a3fdf,_0xb9a6b3):_0x4a5ffb(_0xb9a6b3))||_0xb9a6b3);return _0x43f68c&&_0xb9a6b3&&Jr(_0x1bdba9,_0x2a3fdf,_0xb9a6b3),_0xb9a6b3;},At=(_0x12d197,_0x5eb049)=>(_0x1fca06,_0x5220ea)=>_0x5eb049(_0x1fca06,_0x5220ea,_0x12d197);function eo(_0x451101){const _0x398fac=_0x29d74e,{unitID:_0x3e354b,mutations:_0x184b1b}=_0x451101;return{'unitId':_0x3e354b,'subUnitId':_0x184b1b[0x0][_0x398fac(0x38f)]['subUnitId']};}let vt=class{constructor(_0x6729ed,_0x5ac54b,_0x141f5c){const _0x160c35=_0x29d74e;this['_injector']=_0x6729ed,this[_0x160c35(0x2f4)]=_0x5ac54b,this[_0x160c35(0x199)]=_0x141f5c;}[_0x29d74e(0x3b7)](_0x57c971){const _0x7bc815=_0x29d74e;var _0x40e929,_0x3605b6,_0x345fd0,_0x5ee44a;const _0x36ec05=this[_0x7bc815(0x1b2)][_0x7bc815(0x177)](_0x28f4ca),{unitId:_0x4261b5,subUnitId:_0x4747a6}=eo(_0x57c971),_0x44c37b=_0x36ec05['getWorkbookSelections'](_0x4261b5)[_0x7bc815(0x418)](),_0x1c372d=(_0x3605b6=(_0x40e929=this['_instanceService'][_0x7bc815(0x39b)](_0x4261b5))==null?void 0x0:_0x40e929[_0x7bc815(0x390)]())==null?void 0x0:_0x3605b6[_0x7bc815(0x371)]();if(_0x44c37b[_0x7bc815(0x400)]===0x0||!_0x4261b5||!_0x4747a6)return;const _0x313cd4=[{'id':_0x371c24['id'],'params':{'unitId':_0x4261b5,'subUnitId':_0x1c372d,'selections':_0x56f740['deepClone'](_0x44c37b)}}],_0x5b6882=this['_transformService'][_0x7bc815(0x4ca)](_0x57c971,_0x313cd4);if(!_0x45440f(_0x5b6882))throw _0x5b6882[_0x7bc815(0x444)];const _0x2bd75e=(_0x5ee44a=(_0x345fd0=_0x5b6882[_0x7bc815(0x36b)][0x0])==null?void 0x0:_0x345fd0['params'])==null?void 0x0:_0x5ee44a[_0x7bc815(0x36a)];if(Array['isArray'](_0x2bd75e)&&_0x2bd75e[_0x7bc815(0x400)]){if(_0x2bd75e[_0x7bc815(0x400)]===_0x313cd4[0x0][_0x7bc815(0x38f)][_0x7bc815(0x36a)][_0x7bc815(0x400)]&&_0x2bd75e[_0x7bc815(0x2dd)]((_0x2cc372,_0x195fdf)=>_0x13dc9c['equals'](_0x2cc372[_0x7bc815(0x40c)],_0x313cd4[0x0][_0x7bc815(0x38f)][_0x7bc815(0x36a)][_0x195fdf][_0x7bc815(0x40c)])))return;this[_0x7bc815(0x1b2)]['get'](_0xc41305)[_0x7bc815(0x33d)](_0x371c24['id'],{'unitId':_0x4261b5,'subUnitId':_0x1c372d,'selections':_0x2bd75e});}}};vt=Qr([At(0x0,_0x37efa2(_0x1e339b)),At(0x1,_0x4938c5),At(0x2,_0x4c5fa7)],vt);const Rt=_0x1f1029(_0x29d74e(0x240));var yi=(_0x4b230d=>(_0x4b230d[_0x4b230d[_0x29d74e(0x115)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4b230d[_0x4b230d[_0x29d74e(0x307)]=0x1]='OTHER_CLIENTS_EDITING',_0x4b230d))(yi||{});const js=0x7530,Bs='ACTIVE_UNIT_EVENT_CHANNEL';class to extends _0x3755da{constructor(){const _0x37edb3=_0x29d74e;super(),g(this,_0x37edb3(0x1ac),_0x56f740[_0x37edb3(0x207)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x37edb3(0x352),new Map()),g(this,_0x37edb3(0xf5),null),g(this,_0x37edb3(0x2e2),new Map()),g(this,_0x37edb3(0x3de),new Map()),this[_0x37edb3(0x27d)]();}[_0x29d74e(0x4ae)](){const _0x3e43ca=_0x29d74e;super[_0x3e43ca(0x4ae)](),this[_0x3e43ca(0x2e2)]['forEach']((_0x398551,_0x525814)=>this['_removeClearOtherTimer'](_0x525814)),this[_0x3e43ca(0xf5)]&&window['clearInterval'](this[_0x3e43ca(0xf5)]);}['getUnitStatus$'](_0x199f3b){const _0x373079=_0x29d74e;return this[_0x373079(0x3c1)](_0x199f3b)[_0x373079(0x472)](_0x33fdae());}[_0x29d74e(0x1c0)](_0x3f918e){const _0x496142=_0x29d74e;this[_0x496142(0x28d)][_0x496142(0x27a)]===0x0&&this[_0x496142(0x294)](),this[_0x496142(0x28d)]['add'](_0x3f918e),this[_0x496142(0xeb)]({'type':0x0,'memberID':this[_0x496142(0x1ac)],'unitIDs':[_0x3f918e],'isForwarded':!0x1});}[_0x29d74e(0x248)](_0x36de49){const _0x48d13a=_0x29d74e;this['_selfUnitIDs'][_0x48d13a(0x4f6)](_0x36de49),this[_0x48d13a(0x28d)][_0x48d13a(0x27a)]===0x0&&this[_0x48d13a(0xf5)]&&window[_0x48d13a(0x20a)](this[_0x48d13a(0xf5)]);}[_0x29d74e(0x27d)](){const _0x3986d1=_0x29d74e;this['disposeWithMe'](_0x3dbac0(_0x83dc15(window,_0x3986d1(0x3c5))[_0x3986d1(0x3c2)](_0x412895=>{const _0x2ba2b2=_0x3986d1;if(_0x412895[_0x2ba2b2(0x38a)]!==Bs||!_0x412895[_0x2ba2b2(0x1ab)])return;const _0x31f691=JSON['parse'](_0x412895[_0x2ba2b2(0x1ab)]);this['_handleEvent'](_0x31f691);}))),window['addEventListener']('unload',()=>this[_0x3986d1(0xeb)]({'type':0x1,'memberID':this[_0x3986d1(0x1ac)],'unitIDs':Array['from'](this[_0x3986d1(0x28d)])}));}[_0x29d74e(0x3db)](_0x38b9ae){const _0x186c8c=_0x29d74e;switch(_0x38b9ae[_0x186c8c(0x379)]){case 0x0:this[_0x186c8c(0x270)](_0x38b9ae);break;case 0x1:this['_handleLeaveEvent'](_0x38b9ae);break;case 0x2:this[_0x186c8c(0x1d4)](_0x38b9ae);break;}}['_handleJoinEvent'](_0x283130){const _0x116e85=_0x29d74e,{unitIDs:_0x35400e,memberID:_0x2e16b0,isForwarded:_0x22a1a5}=_0x283130;_0x35400e[_0x116e85(0x2d5)](_0x4c103c=>{const _0x1e3095=_0x116e85;if(!_0x22a1a5&&this[_0x1e3095(0x352)][_0x1e3095(0x44d)](_0x4c103c)&&this[_0x1e3095(0x3c1)](_0x4c103c)[_0x1e3095(0x175)](0x1),!this[_0x1e3095(0x352)][_0x1e3095(0x44d)](_0x4c103c)||!this['_unitOnClients'][_0x1e3095(0x177)](_0x4c103c)[_0x1e3095(0x44d)](_0x2e16b0)){const _0xc6367f=this[_0x1e3095(0x352)]['get'](_0x4c103c)||new Set();_0xc6367f[_0x1e3095(0x3d3)](_0x2e16b0),this[_0x1e3095(0x352)][_0x1e3095(0x36d)](_0x4c103c,_0xc6367f),this[_0x1e3095(0x1fc)](_0x2e16b0);}}),_0x22a1a5||this[_0x116e85(0xeb)]({'type':0x0,'memberID':this[_0x116e85(0x1ac)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x122ff4){const _0x3eec78=_0x29d74e;this[_0x3eec78(0x498)](_0x122ff4);const _0x5025a5=window['setTimeout'](()=>{const _0x5b3a62=_0x3eec78;this[_0x5b3a62(0x352)][_0x5b3a62(0x2d5)](_0x3eedbf=>{const _0x433514=_0x5b3a62;_0x3eedbf[_0x433514(0x4f6)](_0x122ff4);});},js*0x2);this['_clearOtherTimers']['set'](_0x122ff4,_0x5025a5);}[_0x29d74e(0x498)](_0x23d116){const _0xbaee1e=_0x29d74e;if(this[_0xbaee1e(0x2e2)][_0xbaee1e(0x44d)](_0x23d116)){const _0x337490=this[_0xbaee1e(0x2e2)]['get'](_0x23d116);_0x337490&&window[_0xbaee1e(0x1e3)](_0x337490),this[_0xbaee1e(0x2e2)][_0xbaee1e(0x36d)](_0x23d116,null);}}[_0x29d74e(0x1e9)](_0x3dc43b){const _0x2fcb84=_0x29d74e,{memberID:_0x2bccf7,unitIDs:_0x4160e9}=_0x3dc43b;_0x4160e9[_0x2fcb84(0x2d5)](_0x3fdd7e=>{const _0x3ba535=_0x2fcb84;var _0x5443b4;const _0x1374a7=this['_unitOnClients'][_0x3ba535(0x177)](_0x3fdd7e);_0x1374a7&&(_0x1374a7[_0x3ba535(0x4f6)](_0x2bccf7),(_0x5443b4=this[_0x3ba535(0x3c1)](_0x3fdd7e))==null||_0x5443b4[_0x3ba535(0x175)](_0x1374a7[_0x3ba535(0x27a)]===0x0?0x0:0x1));}),this[_0x2fcb84(0x498)](_0x2bccf7);}[_0x29d74e(0x1d4)](_0x30057a){const _0x14f2b2=_0x29d74e;this[_0x14f2b2(0x1fc)](_0x30057a[_0x14f2b2(0x435)]);}[_0x29d74e(0xeb)](_0x292238){const _0x1eec8d=_0x29d74e;localStorage[_0x1eec8d(0x203)](Bs,JSON[_0x1eec8d(0x11f)](_0x292238));}[_0x29d74e(0x294)](){const _0x19ea0c=_0x29d74e;this[_0x19ea0c(0xf5)]=window[_0x19ea0c(0x219)](()=>{const _0x4ee774=_0x19ea0c;this[_0x4ee774(0xeb)]({'type':0x2,'memberID':this[_0x4ee774(0x1ac)]});},js);}[_0x29d74e(0x3c1)](_0x16ab7a){const _0x28b9f3=_0x29d74e;return this[_0x28b9f3(0x3de)][_0x28b9f3(0x44d)](_0x16ab7a)||this['_unitStatus'][_0x28b9f3(0x36d)](_0x16ab7a,new _0x260ce9(0x0)),this[_0x28b9f3(0x3de)]['get'](_0x16ab7a);}}var so=Object[_0x29d74e(0x229)],io=Object[_0x29d74e(0x494)],no=(_0x2e8321,_0x22c6de,_0x1ef4a2,_0xdad885)=>{const _0x5b29f4=_0x29d74e;for(var _0x4b506e=_0xdad885>0x1?void 0x0:_0xdad885?io(_0x22c6de,_0x1ef4a2):_0x22c6de,_0xb91be9=_0x2e8321[_0x5b29f4(0x400)]-0x1,_0x3cdea9;_0xb91be9>=0x0;_0xb91be9--)(_0x3cdea9=_0x2e8321[_0xb91be9])&&(_0x4b506e=(_0xdad885?_0x3cdea9(_0x22c6de,_0x1ef4a2,_0x4b506e):_0x3cdea9(_0x4b506e))||_0x4b506e);return _0xdad885&&_0x4b506e&&so(_0x22c6de,_0x1ef4a2,_0x4b506e),_0x4b506e;},Mt=(_0x1ba82e,_0x497d05)=>(_0x9667db,_0x2e7b7a)=>_0x497d05(_0x9667db,_0x2e7b7a,_0x1ba82e);let mt=class{constructor(_0x297c32,_0x5e3db8,_0x290e9f){const _0x137925=_0x29d74e;this[_0x137925(0x1b2)]=_0x297c32,this[_0x137925(0x2f4)]=_0x5e3db8,this[_0x137925(0x4d6)]=_0x290e9f;}[_0x29d74e(0x497)](_0x47ad82){const _0x42b022=_0x29d74e;this[_0x42b022(0x234)](_0x47ad82);}[_0x29d74e(0x154)](_0x101dfd){const _0x2906cb=_0x29d74e,{unitID:_0x19d80c}=_0x101dfd,{collaboration:_0x18cbce}=this[_0x2906cb(0x4d6)][_0x2906cb(0x1e0)](_0x19d80c);if(_0x18cbce[_0x2906cb(0x400)]===0x0)return _0x101dfd;let _0x131f3f=_0x56f740[_0x2906cb(0x451)](_0x101dfd[_0x2906cb(0x3cd)][0x0]);for(let _0x5c0dad=0x0;_0x5c0dad<_0x18cbce[_0x2906cb(0x400)];_0x5c0dad++){const _0xf40ba9={'id':_0x2906cb(0x2b6),'params':{'unitId':_0x18cbce[_0x5c0dad][_0x2906cb(0x146)],..._0x18cbce[_0x5c0dad][_0x2906cb(0x3a3)]}},_0x25a10b=this[_0x2906cb(0x2f4)][_0x2906cb(0x4bd)](_0x131f3f,_0xf40ba9,!0x1);if(_0x390965(_0x25a10b))throw _0x25a10b[_0x2906cb(0x444)];_0x131f3f=_0x25a10b[_0x2906cb(0x4f7)];}return{..._0x56f740[_0x2906cb(0x451)](_0x101dfd),'mutations':[_0x131f3f]};}[_0x29d74e(0x234)](_0x31961f){const _0x167f31=_0x29d74e,{unitID:_0x58d60e}=_0x31961f,{history:_0x15e667,collaboration:_0x453770}=this[_0x167f31(0x4d6)][_0x167f31(0x1e0)](_0x58d60e);if(_0x15e667['length']===0x0&&_0x453770[_0x167f31(0x400)]===0x0)return;const _0x16a130=[],_0x5e824e=[];let _0x1175aa=_0x56f740[_0x167f31(0x451)](_0x31961f['mutations'][0x0]),_0x40f143=_0x56f740[_0x167f31(0x451)](_0x31961f[_0x167f31(0x3cd)][0x0]);for(let _0x51066f=_0x15e667['length']-0x1;_0x51066f>=0x0;_0x51066f--){const _0x27be52={'id':_0x167f31(0x2b6),'params':{'unitId':_0x15e667[_0x51066f][_0x167f31(0x146)],..._0x15e667[_0x51066f][_0x167f31(0x255)]}},_0x3b6352={'id':_0x167f31(0x2b6),'params':{'unitId':_0x15e667[_0x51066f]['unitId'],..._0x15e667[_0x51066f]['redoState']}},_0x4a09eb=this[_0x167f31(0x2f4)]['transformMutation'](_0x1175aa,_0x27be52,!0x1),_0x5df350=this[_0x167f31(0x2f4)][_0x167f31(0x4bd)](_0x40f143,_0x3b6352,!0x1);if(_0x390965(_0x4a09eb))throw _0x4a09eb['error'];if(_0x390965(_0x5df350))throw _0x5df350[_0x167f31(0x444)];_0x16a130[_0x167f31(0x353)]({..._0x15e667[_0x51066f],'undoState':_0x4a09eb[_0x167f31(0x36b)]['params'],'redoState':_0x5df350[_0x167f31(0x36b)][_0x167f31(0x38f)]}),_0x1175aa=_0x4a09eb[_0x167f31(0x4f7)],_0x40f143=_0x5df350[_0x167f31(0x4f7)];}_0x1175aa=_0x56f740[_0x167f31(0x451)](_0x31961f['mutations'][0x0]),_0x40f143=_0x56f740[_0x167f31(0x451)](_0x31961f[_0x167f31(0x3cd)][0x0]);for(let _0x44d299=_0x453770['length']-0x1;_0x44d299>=0x0;_0x44d299--){const _0x5e40a8={'id':_0x167f31(0x2b6),'params':{'unitId':_0x453770[_0x44d299][_0x167f31(0x146)],..._0x453770[_0x44d299][_0x167f31(0x255)]}},_0x3fe86c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x453770[_0x44d299][_0x167f31(0x146)],..._0x453770[_0x44d299]['redoState']}},_0x444855=this[_0x167f31(0x2f4)][_0x167f31(0x4bd)](_0x1175aa,_0x5e40a8,!0x1),_0x19092e=this[_0x167f31(0x2f4)][_0x167f31(0x4bd)](_0x40f143,_0x3fe86c,!0x1);if(_0x390965(_0x444855))throw _0x444855[_0x167f31(0x444)];if(_0x390965(_0x19092e))throw _0x19092e[_0x167f31(0x444)];_0x5e824e['unshift']({..._0x453770[_0x44d299],'undoState':_0x444855['m2Prime'][_0x167f31(0x38f)],'redoState':_0x19092e['m2Prime']['params']}),_0x1175aa=_0x444855[_0x167f31(0x4f7)],_0x40f143=_0x19092e['m1Prime'];}this[_0x167f31(0x4d6)][_0x167f31(0x31c)](_0x58d60e,{'history':_0x16a130,'collaboration':_0x5e824e});}};mt=no([Mt(0x0,_0x37efa2(_0x1e339b)),Mt(0x1,_0x4938c5),Mt(0x2,_0x37efa2(_0x138bd8))],mt);function Oi(_0x1e5907){const _0x511dd2=_0x29d74e;let _0x196da0='';for(const _0x552636 of _0x1e5907){const {startOffset:_0x245825,endOffset:_0x3ca168,isActive:_0x17e79c,rangeType:_0x80f39f,segmentId:_0x9b75eb,segmentPage:_0x2af0ef}=_0x552636;_0x196da0[_0x511dd2(0x400)]&&(_0x196da0+=','),_0x196da0+=_0x245825+':'+_0x3ca168+':'+(_0x17e79c?'1':'0')+':'+_0x80f39f+':'+_0x9b75eb+':'+_0x2af0ef;}return _0x196da0;}function ro(_0x4ec8e8){const _0x3719ca=_0x29d74e,_0x25fd7c=_0x4ec8e8[_0x3719ca(0x29f)](','),_0x28efed=[];for(const _0x53a913 of _0x25fd7c){const [_0x58c753,_0x5cc91a,_0x189764,_0x2d6082,_0x1718ad,_0x17d52f]=_0x53a913[_0x3719ca(0x29f)](':');_0x28efed[_0x3719ca(0x183)]({'startOffset':Number(_0x58c753),'endOffset':Number(_0x5cc91a),'collapsed':_0x58c753===_0x5cc91a,'isActive':_0x189764==='1','rangeType':_0x2d6082===_0x420eb0['TEXT']?_0x420eb0[_0x3719ca(0x163)]:_0x420eb0['RECT'],'segmentId':typeof _0x1718ad==_0x3719ca(0x1d3)?String(_0x1718ad):'','segmentPage':Number(_0x17d52f!=null?_0x17d52f:-0x1)});}return _0x28efed[_0x3719ca(0x239)](_0x3fbd47=>_0x3fbd47[_0x3719ca(0x389)])||(_0x28efed[0x0][_0x3719ca(0x389)]=!0x0),_0x28efed;}class Ss extends _0x44a670{constructor(){const _0x51f297=_0x29d74e;super(...arguments),g(this,_0x51f297(0xec),new _0x260ce9(null)),g(this,_0x51f297(0x26f),this['_collabCursorState$'][_0x51f297(0x10f)]());}['syncEditingCollabCursor'](_0x2bba8e){const _0xd15b54=_0x29d74e,{unitID:_0x2fb8a7,memberID:_0x5e6b01,textRanges:_0x21437b}=_0x2bba8e,_0x4ccce2=Oi(_0x21437b);if(_0x4ccce2==='')return;const _0x44ad38={'unitID':_0x2fb8a7,'memberID':_0x5e6b01,'selection':_0x4ccce2};this['_collabCursorState$'][_0xd15b54(0x175)](_0x44ad38);}}var oo=Object[_0x29d74e(0x229)],ao=Object[_0x29d74e(0x494)],co=(_0xbf1628,_0x2a9629,_0x12e6bf,_0x41ef29)=>{const _0x1bb022=_0x29d74e;for(var _0x34b217=_0x41ef29>0x1?void 0x0:_0x41ef29?ao(_0x2a9629,_0x12e6bf):_0x2a9629,_0x4fa965=_0xbf1628[_0x1bb022(0x400)]-0x1,_0x951df6;_0x4fa965>=0x0;_0x4fa965--)(_0x951df6=_0xbf1628[_0x4fa965])&&(_0x34b217=(_0x41ef29?_0x951df6(_0x2a9629,_0x12e6bf,_0x34b217):_0x951df6(_0x34b217))||_0x34b217);return _0x41ef29&&_0x34b217&&oo(_0x2a9629,_0x12e6bf,_0x34b217),_0x34b217;},ks=(_0x537750,_0x496711)=>(_0x3e25dd,_0xacce77)=>_0x496711(_0x3e25dd,_0xacce77,_0x537750);let pt=class{constructor(_0x1a8df3,_0xff992){const _0x1a69de=_0x29d74e;this[_0x1a69de(0x1b2)]=_0x1a8df3,this[_0x1a69de(0x2f4)]=_0xff992;}['transformSelections'](_0x142e71){const _0x3dbb55=_0x29d74e;var _0x2b44da;const _0x304160=this[_0x3dbb55(0x1b2)][_0x3dbb55(0x177)](_0x5973e7),_0x26f3ec=(_0x2b44da=_0x304160[_0x3dbb55(0x4a3)]())!=null?_0x2b44da:[];if(_0x26f3ec[_0x3dbb55(0x400)]===0x0)return;const _0x1b07f2=_0x142e71['unitID'],_0x59a48e=[{'id':_0x3dbb55(0x2b6),'params':{'unitId':_0x1b07f2,'actions':null,'textRanges':_0x26f3ec}}],_0x335239=this[_0x3dbb55(0x2f4)][_0x3dbb55(0x4ca)](_0x142e71,_0x59a48e);if(!_0x45440f(_0x335239))throw _0x335239[_0x3dbb55(0x444)];const _0x3da1bf=_0x335239['m2Prime'][0x0][_0x3dbb55(0x38f)][_0x3dbb55(0x141)];Array[_0x3dbb55(0x386)](_0x3da1bf)&&_0x3da1bf[_0x3dbb55(0x400)]&&_0x304160['replaceDocRanges'](_0x3da1bf,{'unitId':_0x1b07f2,'subUnitId':_0x1b07f2},!0x1);}};pt=co([ks(0x0,_0x37efa2(_0x1e339b)),ks(0x1,_0x4938c5)],pt);const ho=new Set([_0xd0e140['id']]);function Ws(_0x3aacb9,_0x49fa30,_0x14b44a,_0x4d3ec4,_0x43a8a8){const _0x14c30b=_0x29d74e;var _0x2122d0,_0x55d79e,_0x64c1ef,_0x28337c;const _0x3fcf64=[];for(const _0x30bca4 of _0x3aacb9)if(ho['has'](_0x30bca4['id'])){if(_0x3fcf64[_0x14c30b(0x400)]>0x0)break;_0x3fcf64[_0x14c30b(0x183)](_0x30bca4);break;}else _0x3fcf64[_0x14c30b(0x183)](_0x30bca4);const _0x23d9f5=(_0x55d79e=(_0x2122d0=_0x43a8a8[_0x14c30b(0x363)]())==null?void 0x0:_0x2122d0[_0x14c30b(0x18f)])!=null?_0x55d79e:_0x14c30b(0x328),_0x2555e4=(_0x28337c=(_0x64c1ef=_0x43a8a8[_0x14c30b(0x363)]())==null?void 0x0:_0x64c1ef[_0x14c30b(0x435)])!=null?_0x28337c:_0x14c30b(0x328);return{'changeset':{'unitID':_0x49fa30,'type':_0x4feb37(_0x14b44a[_0x14c30b(0x459)](_0x49fa30)),'baseRev':_0x4d3ec4[_0x14c30b(0x3dd)](_0x49fa30),'revision':0x0,'userID':_0x23d9f5,'memberID':_0x2555e4,'mutations':_0x3fcf64},'pendingMutations':_0x3aacb9[_0x14c30b(0x21b)](_0x3fcf64[_0x14c30b(0x400)])};}function lo(_0xc5b38,_0x508da2,_0x5d685c,_0x1cea53,_0x564041){const _0x37d806=_0x29d74e;var _0x2d084d,_0x2b8fdb,_0x3f0436,_0x56f9ad;const _0x5d5b02=[_0xc5b38[_0x37d806(0x2fb)]((_0x22fd2f,_0xc6bb42)=>{const _0x2569f0=_0x37d806;var _0x202cee;const {id:_0x509420}=_0x22fd2f,{id:_0x5358e5,type:_0x1b6190}=_0xc6bb42,_0x1da111=(_0x202cee=_0x22fd2f['params'])!=null?_0x202cee:{'actions':null},_0x22410=_0xc6bb42['params'];if(_0x509420&&_0x509420!==_0x5358e5)throw new Error(_0x2569f0(0x4c6)+_0x509420+_0x2569f0(0x3e0)+_0x5358e5+'.');return{..._0x22fd2f,'id':_0x5358e5,'type':_0x1b6190,'params':{'unitId':_0x22410['unitId'],'textRanges':_0x22410[_0x2569f0(0x141)],'actions':_0x41e917[_0x2569f0(0x347)](_0x1da111[_0x2569f0(0x35e)],_0x22410['actions'])}};},{})],_0x1a028b=(_0x2b8fdb=(_0x2d084d=_0x564041[_0x37d806(0x363)]())==null?void 0x0:_0x2d084d[_0x37d806(0x18f)])!=null?_0x2b8fdb:_0x37d806(0x328),_0x3ed528=(_0x56f9ad=(_0x3f0436=_0x564041[_0x37d806(0x363)]())==null?void 0x0:_0x3f0436[_0x37d806(0x435)])!=null?_0x56f9ad:'unknown';return{'changeset':{'unitID':_0x508da2,'type':_0x4feb37(_0x5d685c['getUnitType'](_0x508da2)),'baseRev':_0x1cea53[_0x37d806(0x3dd)](_0x508da2),'revision':0x0,'userID':_0x1a028b,'memberID':_0x3ed528,'mutations':_0x5d5b02},'pendingMutations':[]};}function wi(_0x4d17b0,_0x61bbcf){const _0x113d0a=_0x29d74e,_0x323678=new _0x6f5e56(0x1);return setTimeout(()=>_0x323678[_0x113d0a(0x175)](_0x61bbcf),_0x4d17b0),_0x323678['asObservable']()[_0x113d0a(0x472)](_0x5d9d63(0x1));}const _o={'id':_0x1b5a78['id'],'type':_0x46699b[_0x29d74e(0x369)],'params':{}};var uo=Object['defineProperty'],fo=Object[_0x29d74e(0x494)],xe=(_0x45eeaa,_0x2a115d,_0x111687,_0x5726d6)=>{const _0x5482d8=_0x29d74e;for(var _0x268ce=_0x5726d6>0x1?void 0x0:_0x5726d6?fo(_0x2a115d,_0x111687):_0x2a115d,_0x3cbd10=_0x45eeaa[_0x5482d8(0x400)]-0x1,_0x4d1659;_0x3cbd10>=0x0;_0x3cbd10--)(_0x4d1659=_0x45eeaa[_0x3cbd10])&&(_0x268ce=(_0x5726d6?_0x4d1659(_0x2a115d,_0x111687,_0x268ce):_0x4d1659(_0x268ce))||_0x268ce);return _0x5726d6&&_0x268ce&&uo(_0x2a115d,_0x111687,_0x268ce),_0x268ce;},A=(_0x1907cf,_0x5d1c2f)=>(_0x6b381d,_0x27a231)=>_0x5d1c2f(_0x6b381d,_0x27a231,_0x1907cf),J=(_0xb642d6=>(_0xb642d6['NOT_COLLAB']=_0x29d74e(0x34e),_0xb642d6[_0x29d74e(0x42a)]=_0x29d74e(0x32c),_0xb642d6[_0x29d74e(0x108)]=_0x29d74e(0x4cc),_0xb642d6[_0x29d74e(0x437)]=_0x29d74e(0x425),_0xb642d6[_0x29d74e(0x4ac)]=_0x29d74e(0x477),_0xb642d6[_0x29d74e(0x4bb)]=_0x29d74e(0x1ba),_0xb642d6['CONFLICT']=_0x29d74e(0x149),_0xb642d6[_0x29d74e(0x4ea)]=_0x29d74e(0x237),_0xb642d6))(J||{});const Di=0xea60;class Le{constructor(_0x54465e,_0x1f50d9,_0xadd6a9,_0xba9a6,_0xedad81,_0x122588,_0x5019ca,_0x2e7eb2,_0x46606a){const _0x29d6f7=_0x29d74e;g(this,'_awaitingChangeset',null),g(this,_0x29d6f7(0x233),[]),(this['unitID']=_0x54465e,this['type']=_0x1f50d9,this[_0x29d6f7(0x4b9)]=_0xedad81,this['_commandService']=_0x122588,this[_0x29d6f7(0x2a3)]=_0x5019ca,this['_revisionService']=_0x2e7eb2,this[_0x29d6f7(0x2c9)]=_0x46606a,this[_0x29d6f7(0x1c9)]=_0xadd6a9,this[_0x29d6f7(0x233)]=_0xba9a6);}[_0x29d74e(0xf6)](_0x41c27c){const _0x33e657=_0x29d74e,_0x4d5f4d=this['_revisionService'][_0x33e657(0x3dd)](this[_0x33e657(0x46f)]);return _0x41c27c[_0x33e657(0x41b)]>_0x4d5f4d+0x1?(this[_0x33e657(0x4b9)]['onMissingChangesets']({'from':_0x4d5f4d,'to':_0x41c27c[_0x33e657(0x41b)]-0x1}),!0x0):!0x1;}[_0x29d74e(0x1ca)](_0x54e912){const _0x452d07=_0x29d74e;this['_undoRedoService'][_0x452d07(0x2cb)](this[_0x452d07(0x46f)],_0x54e912);}[_0x29d74e(0x456)](_0x3e8ef3){const _0xe5b3d7=_0x29d74e;var _0x438e11,_0x39253a;(_0x39253a=(_0x438e11=this[_0xe5b3d7(0x4b9)])[_0xe5b3d7(0x1e8)])==null||_0x39253a[_0xe5b3d7(0x46d)](_0x438e11,_0x3e8ef3);}[_0x29d74e(0x2e4)](_0x7bc780){const _0x5b8fc4=_0x29d74e;var _0x3094fa,_0x2ec48e;return(_0x2ec48e=(_0x3094fa=this['_handler'])[_0x5b8fc4(0x2f5)])==null?void 0x0:_0x2ec48e['call'](_0x3094fa,_0x7bc780);}['_transformStateCache'](_0x4e6f3a){const _0x2d7177=_0x29d74e;var _0x3c4da5,_0x310802;return(_0x310802=(_0x3c4da5=this[_0x2d7177(0x4b9)])[_0x2d7177(0x407)])==null?void 0x0:_0x310802[_0x2d7177(0x46d)](_0x3c4da5,_0x4e6f3a);}[_0x29d74e(0x4c0)](_0x81b9e1){const _0x11ab57=_0x29d74e;var _0x2509bc,_0x5026bb,_0x4773d9;return(_0x4773d9=(_0x5026bb=(_0x2509bc=this[_0x11ab57(0x4b9)])[_0x11ab57(0x439)])==null?void 0x0:_0x5026bb[_0x11ab57(0x46d)](_0x2509bc,_0x81b9e1))!=null?_0x4773d9:_0x81b9e1;}[_0x29d74e(0x162)](_0x388a71){const _0x22ef71=_0x29d74e;var _0x7d996a,_0x13af34,_0x288d09;return(_0x288d09=(_0x13af34=(_0x7d996a=this[_0x22ef71(0x4b9)])[_0x22ef71(0x1ff)])==null?void 0x0:_0x13af34['call'](_0x7d996a,_0x388a71))!=null?_0x288d09:_0x388a71;}[_0x29d74e(0x1f6)](_0x6b84c3){const _0x342055=_0x29d74e;var _0x4117f1,_0x2c9ccf;if(this['type']===ce[_0x342055(0x2f6)]){const {unitID:_0x30fe7d,mutations:_0x3dc0c8,memberID:_0x9f490d}=_0x6b84c3,_0xeaf063=_0x3dc0c8[0x0][_0x342055(0x38f)][_0x342055(0x141)];Array['isArray'](_0xeaf063)&&_0xeaf063[_0x342055(0x400)]>0x0&&((_0x2c9ccf=(_0x4117f1=this[_0x342055(0x4b9)])['onSyncEditingCollabCursor'])==null||_0x2c9ccf[_0x342055(0x46d)](_0x4117f1,{'unitID':_0x30fe7d,'memberID':_0x9f490d,'textRanges':_0xeaf063}));}}[_0x29d74e(0x4ad)](){const _0x1fdea1=_0x29d74e;this['_localCacheService'][_0x1fdea1(0x256)](this[_0x1fdea1(0x46f)],this[_0x1fdea1(0x379)],this[_0x1fdea1(0x1c9)],this[_0x1fdea1(0x233)]);}[_0x29d74e(0x150)](){const _0x168f55=_0x29d74e;return this['_revisionService'][_0x168f55(0x3dd)](this['unitID']);}[_0x29d74e(0x411)](){const _0x211e5e=_0x29d74e;this[_0x211e5e(0x136)]['incrementRevOfUnit'](this[_0x211e5e(0x46f)]);}[_0x29d74e(0x372)](_0x5c89e3){const _0x245e5d=_0x29d74e;var _0x16d58c;let _0x441fac=this[_0x245e5d(0x4c0)](_0x5c89e3);_0x441fac=this[_0x245e5d(0x162)](_0x441fac);const _0x47c9ef=_0x7c6ca0(_0x441fac[_0x245e5d(0x3cd)],this[_0x245e5d(0x4eb)],{'fromCollab':!0x0});if(!_0x47c9ef[_0x245e5d(0x264)])throw _0x47c9ef['error']instanceof Error?_0x47c9ef[_0x245e5d(0x444)]:new Error((_0x16d58c=_0x47c9ef[_0x245e5d(0x444)])!=null?_0x16d58c:'[CollaborationState]:\x20apply\x20error!');this[_0x245e5d(0x2e4)](_0x441fac),this['_transformStateCache'](_0x441fac),this['_transformUndoredo'](_0x5c89e3),this[_0x245e5d(0x456)](_0x441fac),this[_0x245e5d(0x1f6)](_0x441fac),this[_0x245e5d(0x411)]();}}let Fe=class extends Le{constructor(_0x500af6,_0x2220d6,_0x3816d9,_0x423da7,_0x49cb0f,_0x56c180,_0x595228,_0xba1f1a,_0x29f30b,_0x531b1e){const _0x4201a7=_0x29d74e;super(_0x500af6,_0x2220d6,null,[],_0x3816d9,_0xba1f1a,_0x595228,_0x423da7,_0x49cb0f),g(this,_0x4201a7(0x4c7),_0x4201a7(0x32c)),(this['_injector']=_0x56c180,this[_0x4201a7(0x468)]=_0x29f30b,this[_0x4201a7(0x2f4)]=_0x531b1e);}[_0x29d74e(0x232)](_0x32cb21){const _0x5de400=_0x29d74e,_0x450564=this[_0x5de400(0x1b2)][_0x5de400(0x4a8)](pe,this['unitID'],this[_0x5de400(0x379)],[_0x32cb21],this['_handler']);return _0x450564[_0x5de400(0x446)](),_0x450564[_0x5de400(0x4ad)](),_0x450564;}[_0x29d74e(0x45c)](_0x15d2c8){const _0x28bc5c=_0x29d74e;if(this[_0x28bc5c(0xf6)](_0x15d2c8))return this[_0x28bc5c(0x1b2)]['createInstance'](he,this[_0x28bc5c(0x46f)],this[_0x28bc5c(0x379)],null,[],null,[_0x15d2c8],this[_0x28bc5c(0x4b9)]);try{const _0x3c1622=this[_0x28bc5c(0x2f4)]['transformMutationsWithChangeset'](_0x15d2c8,[_o]);if(_0x45440f(_0x3c1622)){const {c1Prime:_0x1757f1}=_0x3c1622;return this[_0x28bc5c(0x372)](_0x1757f1),this;}throw _0x3c1622[_0x28bc5c(0x444)];}catch(_0x51bc19){return this[_0x28bc5c(0x468)][_0x28bc5c(0x444)](_0x51bc19),this[_0x28bc5c(0x4a7)](!0x1);}}['_onConflict'](_0x427b53){const _0x509198=_0x29d74e;return this[_0x509198(0x1b2)][_0x509198(0x4a8)](Re,this[_0x509198(0x46f)],this['type'],null,[],this[_0x509198(0x4b9)],_0x427b53);}[_0x29d74e(0x2ae)](){const _0x21be40=_0x29d74e;throw new Error(_0x21be40(0x123));}[_0x29d74e(0x3b8)](){const _0x2ed30c=_0x29d74e;throw new Error(_0x2ed30c(0x450));}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){const _0x2046bb=_0x29d74e;return this[_0x2046bb(0x1b2)][_0x2046bb(0x4a8)](ye,this['unitID'],this[_0x2046bb(0x379)],null,[],this[_0x2046bb(0x4b9)]);}['toggleOnline'](){return this;}[_0x29d74e(0x460)](){const _0xf7756b=_0x29d74e;throw new Error(_0xf7756b(0x191));}[_0x29d74e(0x4b5)](){const _0x31849a=_0x29d74e,_0x3335b3=this['_revisionService']['getCurrentRevOfUnit'](this[_0x31849a(0x46f)]);return this[_0x31849a(0x4b9)][_0x31849a(0x2b8)]({'from':_0x3335b3,'to':0x0}),this[_0x31849a(0x1b2)][_0x31849a(0x4a8)](he,this[_0x31849a(0x46f)],this[_0x31849a(0x379)],null,[],null,[],this['_handler']);}};Fe=xe([A(0x3,_0x37efa2(_0x405d92)),A(0x4,_0x37efa2(q)),A(0x5,_0x37efa2(_0x1e339b)),A(0x6,_0x17339c),A(0x7,_0xc41305),A(0x8,_0x2b335c),A(0x9,_0x4938c5)],Fe);let pe=class extends Le{constructor(_0x5b50a7,_0x2c79c1,_0x300c66,_0x247bf3,_0x57cc77,_0x138905,_0x23db8b,_0x582625,_0x5794ca,_0x13d5f2,_0x29df74,_0x2df72c,_0x5be8a4,_0x4b5667){const _0x8ae14f=_0x29d74e;super(_0x5b50a7,_0x2c79c1,null,_0x300c66,_0x247bf3,_0x13d5f2,_0x4b5667,_0x138905,_0x23db8b),g(this,_0x8ae14f(0x4c7),_0x8ae14f(0x4cc)),g(this,_0x8ae14f(0x40b),null),g(this,_0x8ae14f(0x309),null),(this[_0x8ae14f(0x1b2)]=_0x57cc77,this[_0x8ae14f(0x127)]=_0x582625,this[_0x8ae14f(0x468)]=_0x5794ca,this[_0x8ae14f(0x3e5)]=_0x29df74,this[_0x8ae14f(0x2f4)]=_0x2df72c,this[_0x8ae14f(0x387)]=_0x5be8a4);}[_0x29d74e(0x232)](_0x3b901d){const _0x55c0aa=_0x29d74e;return this['_pendingMutations'][_0x55c0aa(0x183)](_0x3b901d),this[_0x55c0aa(0x4ad)](),this;}[_0x29d74e(0x45c)](_0x4d2797){const _0x30f8a0=_0x29d74e;if(this['_checkMissing'](_0x4d2797))return this[_0x30f8a0(0x45f)](),this['_injector'][_0x30f8a0(0x4a8)](he,this['unitID'],this[_0x30f8a0(0x379)],null,this[_0x30f8a0(0x233)],null,[_0x4d2797],this['_handler']);try{const _0x21df31=this[_0x30f8a0(0x2f4)][_0x30f8a0(0x4ca)](_0x4d2797,this[_0x30f8a0(0x233)]);if(_0x45440f(_0x21df31)){const {c1Prime:_0x2803a4,m2Prime:_0x48ae1f}=_0x21df31;this[_0x30f8a0(0x372)](_0x2803a4);const _0x1107e0=this['_injector'][_0x30f8a0(0x4a8)](pe,this['unitID'],this[_0x30f8a0(0x379)],_0x48ae1f,this[_0x30f8a0(0x4b9)]);return this[_0x30f8a0(0x45f)](),_0x1107e0[_0x30f8a0(0x446)](this[_0x30f8a0(0x40b)]?Math[_0x30f8a0(0x358)](0x0,new Date()[_0x30f8a0(0x1d8)]()-this[_0x30f8a0(0x40b)]):this[_0x30f8a0(0x185)]()),_0x1107e0;}throw _0x21df31[_0x30f8a0(0x444)];}catch(_0x1ab419){return this[_0x30f8a0(0x468)][_0x30f8a0(0x444)](_0x1ab419),this[_0x30f8a0(0x4a7)](!0x1);}}[_0x29d74e(0x2ae)](){const _0x1a928d=_0x29d74e;throw new Error(_0x1a928d(0x3eb));}[_0x29d74e(0x3b8)](){const _0x2c5a7c=_0x29d74e;throw new Error(_0x2c5a7c(0x124));}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){const _0x30633a=_0x29d74e;return this['_clearScheduledTask'](),this[_0x30633a(0x1b2)][_0x30633a(0x4a8)](ye,this[_0x30633a(0x46f)],this[_0x30633a(0x379)],null,this[_0x30633a(0x233)],this['_handler']);}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x446)](_0x245f48){const _0x3c42a2=_0x29d74e,_0x5dd0c1=_0x245f48!=null?_0x245f48:this[_0x3c42a2(0x185)]();this[_0x3c42a2(0x40b)]=new Date()['getTime'](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x10ca2e=_0x3c42a2;this[_0x10ca2e(0x45f)]();let _0x4daf34=null;switch(this[_0x10ca2e(0x379)]){case ce[_0x10ca2e(0x142)]:{_0x4daf34=Ws(this['_pendingMutations'],this[_0x10ca2e(0x46f)],this[_0x10ca2e(0x387)],this[_0x10ca2e(0x136)],this['_memberService']);break;}case ce[_0x10ca2e(0x2f6)]:{this['_pendingMutations'][_0x10ca2e(0x2dd)](_0xafbacd=>_0xafbacd['id']===_0x10d0b7['id'])?_0x4daf34=lo(this[_0x10ca2e(0x233)],this[_0x10ca2e(0x46f)],this[_0x10ca2e(0x387)],this['_revisionService'],this['_memberService']):_0x4daf34=Ws(this[_0x10ca2e(0x233)],this[_0x10ca2e(0x46f)],this['_univerInstanceService'],this[_0x10ca2e(0x136)],this[_0x10ca2e(0x127)]);break;}default:throw new Error(_0x10ca2e(0x4df)+this[_0x10ca2e(0x379)]+'\x20in\x20_schedule.');}const {changeset:_0x36420c,pendingMutations:_0x2d14f7}=_0x4daf34;this[_0x10ca2e(0x4b9)][_0x10ca2e(0x462)](_0x36420c);const _0x56cd61=_0x2d14f7[_0x10ca2e(0x400)]?this[_0x10ca2e(0x1b2)][_0x10ca2e(0x4a8)](ge,this[_0x10ca2e(0x46f)],this[_0x10ca2e(0x379)],_0x36420c,_0x2d14f7,this['_handler'],void 0x0):this[_0x10ca2e(0x1b2)]['createInstance'](Te,this[_0x10ca2e(0x46f)],this['type'],_0x36420c,this['_handler']);_0x56cd61[_0x10ca2e(0x4ad)](),this['_handler'][_0x10ca2e(0xed)](this,_0x56cd61);},_0x5dd0c1);}['_getSendChangesetTimeout'](){const _0x556b8f=_0x29d74e;var _0x4991c5;const _0x21a711=this[_0x556b8f(0x3e5)][_0x556b8f(0x3df)](ie);return(_0x4991c5=_0x21a711==null?void 0x0:_0x21a711['sendChangesetTimeout'])!=null?_0x4991c5:ar;}[_0x29d74e(0x460)](){const _0x3e7193=_0x29d74e;throw new Error(_0x3e7193(0xf1));}[_0x29d74e(0x45f)](){const _0x35ceb2=_0x29d74e;this[_0x35ceb2(0x309)]!=null&&(clearTimeout(this[_0x35ceb2(0x309)]),this[_0x35ceb2(0x309)]=null);}[_0x29d74e(0x4a7)](_0xb2fc6a){const _0xdd2fb6=_0x29d74e;return this[_0xdd2fb6(0x45f)](),this[_0xdd2fb6(0x1b2)][_0xdd2fb6(0x4a8)](Re,this[_0xdd2fb6(0x46f)],this['type'],null,this[_0xdd2fb6(0x233)],this[_0xdd2fb6(0x4b9)],_0xb2fc6a);}};pe=xe([A(0x4,_0x37efa2(_0x1e339b)),A(0x5,_0x37efa2(_0x405d92)),A(0x6,_0x37efa2(q)),A(0x7,_0x37efa2(Ue)),A(0x8,_0x2b335c),A(0x9,_0xc41305),A(0xa,_0x167231),A(0xb,_0x4938c5),A(0xc,_0x4c5fa7),A(0xd,_0x17339c)],pe);let Te=class extends Le{constructor(_0x2cdf8b,_0x45c3d1,_0x2110c3,_0x666f0c,_0x38496e,_0x546ac6,_0x45cbf6,_0x508bb1,_0x52675d,_0x36a972,_0x28b940){const _0x492c04=_0x29d74e;super(_0x2cdf8b,_0x45c3d1,_0x2110c3,[],_0x666f0c,_0x508bb1,_0x28b940,_0x546ac6,_0x45cbf6),g(this,_0x492c04(0x4c7),'awaiting'),g(this,'_resendTimeout',0x0),g(this,'_resendTimer'),g(this,_0x492c04(0x198)),(this['_injector']=_0x38496e,this[_0x492c04(0x468)]=_0x52675d,this[_0x492c04(0x2f4)]=_0x36a972);}[_0x29d74e(0x232)](_0x1c8970){const _0x4841f0=_0x29d74e;this[_0x4841f0(0x45f)]();const _0x4313c4=this[_0x4841f0(0x1b2)]['createInstance'](ge,this[_0x4841f0(0x46f)],this[_0x4841f0(0x379)],this[_0x4841f0(0x1c9)],[_0x1c8970],this[_0x4841f0(0x4b9)],this['_resendTimer']);return _0x4313c4[_0x4841f0(0x4ad)](),_0x4313c4;}[_0x29d74e(0x45c)](_0x566c3a){const _0x12c600=_0x29d74e;if(this[_0x12c600(0xf6)](_0x566c3a))return this[_0x12c600(0x45f)](),this[_0x12c600(0x1b2)][_0x12c600(0x4a8)](he,this[_0x12c600(0x46f)],this[_0x12c600(0x379)],this['_awaitingChangeset'],[],null,[_0x566c3a],this['_handler']);try{const _0x14693f=this['_transformService']['transformChangesets']([_0x566c3a],[this['_awaitingChangeset']],!0x1);if(_0x41dbbd(_0x14693f)){const {c1Prime:_0x50f863,c2Prime:_0x36ecf4}=_0x14693f;this['_executeRemoteChangeset'](_0x50f863[0x0]),_0x36ecf4[0x0]['baseRev']=this[_0x12c600(0x150)](),this[_0x12c600(0x45f)]();const _0x31a249=this[_0x12c600(0x1b2)]['createInstance'](Te,this[_0x12c600(0x46f)],this[_0x12c600(0x379)],_0x36ecf4[0x0],this[_0x12c600(0x4b9)]);return _0x31a249[_0x12c600(0x4ad)](),_0x31a249;}return this[_0x12c600(0x4a7)](!0x1);}catch(_0x407867){return this[_0x12c600(0x468)][_0x12c600(0x444)](_0x407867),this[_0x12c600(0x4a7)](!0x1);}}[_0x29d74e(0x2ae)](_0x1cbb36){const _0x4ee55a=_0x29d74e;this[_0x4ee55a(0x45f)]();const _0x115217=this[_0x4ee55a(0x136)][_0x4ee55a(0x3dd)](this[_0x4ee55a(0x46f)]);if(_0x1cbb36[_0x4ee55a(0x41b)]<_0x115217-0x1)return this;if(this['_checkMissing'](_0x1cbb36))return this[_0x4ee55a(0x1b2)][_0x4ee55a(0x4a8)](he,this[_0x4ee55a(0x46f)],this[_0x4ee55a(0x379)],null,[],this['_awaitingChangeset'],[],this[_0x4ee55a(0x4b9)]);this[_0x4ee55a(0x411)]();const _0x3e9dbc=this[_0x4ee55a(0x1b2)][_0x4ee55a(0x4a8)](Fe,this[_0x4ee55a(0x46f)],this[_0x4ee55a(0x379)],this[_0x4ee55a(0x4b9)]);return _0x3e9dbc[_0x4ee55a(0x4ad)](),_0x3e9dbc;}[_0x29d74e(0x3b8)](_0x4b8f6a){const _0x23e2a7=_0x29d74e;return this[_0x23e2a7(0x4a7)](!!(_0x4b8f6a!=null&&_0x4b8f6a['isPermissionRej']));}[_0x29d74e(0x140)](_0x3619cf){const _0x4e3d0d=_0x29d74e;return this[_0x4e3d0d(0x1df)]>Di?this[_0x4e3d0d(0x2aa)]():(this[_0x4e3d0d(0x1a3)]=wi(this[_0x4e3d0d(0x1df)],{'timeout':this[_0x4e3d0d(0x1df)],'reqId':_0x3619cf[_0x4e3d0d(0x293)]}),this[_0x4e3d0d(0x198)]=this[_0x4e3d0d(0x1a3)][_0x4e3d0d(0x3c2)](({reqId:_0x24d445,timeout:_0x237d50})=>{const _0x323902=_0x4e3d0d;this[_0x323902(0x3c7)](_0x24d445,_0x237d50);}),this);}[_0x29d74e(0x2aa)](){const _0x1e30d6=_0x29d74e;return this[_0x1e30d6(0x45f)](),this[_0x1e30d6(0x1b2)][_0x1e30d6(0x4a8)](ye,this[_0x1e30d6(0x46f)],this[_0x1e30d6(0x379)],this[_0x1e30d6(0x1c9)],[],this[_0x1e30d6(0x4b9)]);}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x460)](){const _0x4ae43a=_0x29d74e;this['_handler'][_0x4ae43a(0x462)](this['_awaitingChangeset']);}[_0x29d74e(0x4a7)](_0x2012c2){const _0x1a6d20=_0x29d74e;return this['_clearScheduledTask'](),this[_0x1a6d20(0x1b2)][_0x1a6d20(0x4a8)](Re,this[_0x1a6d20(0x46f)],this[_0x1a6d20(0x379)],this[_0x1a6d20(0x1c9)],[],this[_0x1a6d20(0x4b9)],_0x2012c2);}['_resendWithTimeout'](_0x29716a,_0x23e602){const _0x48ad69=_0x29d74e;var _0x37fc87;_0x29716a===((_0x37fc87=this['_awaitingChangeset'])==null?void 0x0:_0x37fc87[_0x48ad69(0x293)])&&(this['resend'](),this[_0x48ad69(0x1df)]=_0x23e602===0x0?0x3e8:_0x23e602*0x2);}['_clearScheduledTask'](){const _0x2a73db=_0x29d74e;var _0x1eb75c;(_0x1eb75c=this['_sender'])==null||_0x1eb75c[_0x2a73db(0x392)](),this['_resendTimeout']=0x0;}};Te=xe([A(0x4,_0x37efa2(_0x1e339b)),A(0x5,_0x37efa2(_0x405d92)),A(0x6,_0x37efa2(q)),A(0x7,_0xc41305),A(0x8,_0x2b335c),A(0x9,_0x4938c5),A(0xa,_0x17339c)],Te);let ge=class extends Le{constructor(_0x3815f7,_0x2bdb60,_0x5b3240,_0x262f0c,_0x35198c,_0x91b8c6,_0x145e3d,_0x45fa3c,_0x103710,_0xb4b83,_0x5a87b3,_0x3b4e67,_0x436bb7){const _0x1d8cc3=_0x29d74e;super(_0x3815f7,_0x2bdb60,_0x5b3240,_0x262f0c,_0x35198c,_0xb4b83,_0x436bb7,_0x45fa3c,_0x103710),g(this,_0x1d8cc3(0x4c7),'awaiting_with_pending'),g(this,_0x1d8cc3(0x1df),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x1d8cc3(0x1b2)]=_0x145e3d,this[_0x1d8cc3(0x468)]=_0x5a87b3,this[_0x1d8cc3(0x2f4)]=_0x3b4e67,_0x91b8c6&&(this[_0x1d8cc3(0x1a3)]=_0x91b8c6,this['_sender']=this[_0x1d8cc3(0x1a3)][_0x1d8cc3(0x3c2)](({reqId:_0x15ca99,timeout:_0x2fb685})=>{this['_resendWithTimeout'](_0x15ca99,_0x2fb685);})));}[_0x29d74e(0x232)](_0x55781f){const _0x29b77d=_0x29d74e;return this[_0x29b77d(0x233)]['push'](_0x55781f),this;}[_0x29d74e(0x45c)](_0x24037e){const _0x66c80=_0x29d74e;if(this[_0x66c80(0xf6)](_0x24037e))return this[_0x66c80(0x45f)](),this[_0x66c80(0x1b2)][_0x66c80(0x4a8)](he,this[_0x66c80(0x46f)],this[_0x66c80(0x379)],this[_0x66c80(0x1c9)],this[_0x66c80(0x233)],null,[_0x24037e],this['_handler']);try{const _0x13231d=this[_0x66c80(0x2f4)][_0x66c80(0x118)]([_0x24037e],[this['_awaitingChangeset']],!0x1);if(_0x41dbbd(_0x13231d)){const {c1Prime:_0x3ac213,c2Prime:_0x2d9b25}=_0x13231d,_0x7f3228=this['_transformService'][_0x66c80(0x4ca)](_0x3ac213[0x0],this['_pendingMutations']);if(_0x45440f(_0x7f3228)){const {c1Prime:_0x12c036,m2Prime:_0x26a9f5}=_0x7f3228;return this[_0x66c80(0x372)](_0x12c036),_0x2d9b25[0x0]['baseRev']=this[_0x66c80(0x150)](),this['_clearScheduledTask'](),this[_0x66c80(0x1b2)][_0x66c80(0x4a8)](ge,this['unitID'],this['type'],_0x2d9b25[0x0],_0x26a9f5,this[_0x66c80(0x4b9)],void 0x0);}throw _0x7f3228[_0x66c80(0x444)];}throw _0x13231d[_0x66c80(0x444)];}catch(_0x4e3426){return this['_logService'][_0x66c80(0x444)](_0x4e3426),this[_0x66c80(0x4a7)](!0x1);}}['onRemoteAck'](_0x1247c0){const _0xa77b59=_0x29d74e;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x1247c0))return this[_0xa77b59(0x1b2)][_0xa77b59(0x4a8)](he,this[_0xa77b59(0x46f)],this['type'],null,this[_0xa77b59(0x233)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x406db3=this[_0xa77b59(0x1b2)]['createInstance'](pe,this[_0xa77b59(0x46f)],this['type'],this[_0xa77b59(0x233)],this[_0xa77b59(0x4b9)]);return _0x406db3[_0xa77b59(0x446)](),_0x406db3[_0xa77b59(0x4ad)](),_0x406db3;}[_0x29d74e(0x3b8)](_0x3c5149){const _0x382350=_0x29d74e;return this[_0x382350(0x4a7)](!!(_0x3c5149!=null&&_0x3c5149[_0x382350(0x11d)]));}[_0x29d74e(0x140)](_0x8f9001){const _0x230693=_0x29d74e;return this[_0x230693(0x1df)]>Di?this[_0x230693(0x2aa)]():(this['_resendTimer']=wi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x8f9001[_0x230693(0x293)]}),this[_0x230693(0x198)]=this['_resendTimer'][_0x230693(0x3c2)](({reqId:_0x269448,timeout:_0x169c9e})=>{const _0x2867e1=_0x230693;this[_0x2867e1(0x3c7)](_0x269448,_0x169c9e);}),this);}[_0x29d74e(0x2aa)](){const _0x10bfee=_0x29d74e;return this['_clearScheduledTask'](),this[_0x10bfee(0x1b2)][_0x10bfee(0x4a8)](ye,this[_0x10bfee(0x46f)],this[_0x10bfee(0x379)],this[_0x10bfee(0x1c9)],this[_0x10bfee(0x233)],this[_0x10bfee(0x4b9)]);}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x460)](){const _0x5b3e27=_0x29d74e;this[_0x5b3e27(0x4b9)][_0x5b3e27(0x462)](this[_0x5b3e27(0x1c9)]);}[_0x29d74e(0x4a7)](_0x541b78){const _0x4da848=_0x29d74e;return this['_clearScheduledTask'](),this[_0x4da848(0x1b2)][_0x4da848(0x4a8)](Re,this[_0x4da848(0x46f)],this[_0x4da848(0x379)],null,this['_pendingMutations'],this[_0x4da848(0x4b9)],_0x541b78);}['_resendWithTimeout'](_0x961bdf,_0x3e35d7){const _0x400126=_0x29d74e;var _0x3bc1f1;_0x961bdf===((_0x3bc1f1=this['_awaitingChangeset'])==null?void 0x0:_0x3bc1f1['reqId'])&&(this['resend'](),this[_0x400126(0x1df)]=_0x3e35d7===0x0?0x3e8:_0x3e35d7*0x2);}[_0x29d74e(0x45f)](){const _0x1c5e44=_0x29d74e;var _0x3357cc;(_0x3357cc=this[_0x1c5e44(0x198)])==null||_0x3357cc['unsubscribe'](),this[_0x1c5e44(0x1df)]=0x0;}};ge=xe([A(0x6,_0x37efa2(_0x1e339b)),A(0x7,_0x37efa2(_0x405d92)),A(0x8,_0x37efa2(q)),A(0x9,_0xc41305),A(0xa,_0x2b335c),A(0xb,_0x4938c5),A(0xc,_0x17339c)],ge);let Re=class extends Le{constructor(_0x433c19,_0x20dc53,_0x456dff,_0x2dc412,_0x4e0fd1,_0x3c7531=!0x1,_0x10b2bb,_0x831995,_0x4d0bbc,_0x2b6e,_0x10be39,_0x37b554,_0x54cdba){const _0x5af259=_0x29d74e;super(_0x433c19,_0x20dc53,_0x456dff,_0x2dc412,_0x4e0fd1,_0x831995,_0x4d0bbc,_0x10be39,_0x2b6e),g(this,_0x5af259(0x4c7),_0x5af259(0x149)),(this['_isPermissionRej']=_0x3c7531,this['_permissionService']=_0x10b2bb,this[_0x5af259(0xef)]=_0x37b554,this[_0x5af259(0x1f3)]=_0x54cdba,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x5af259(0x43f)]());}[_0x29d74e(0x232)](){return this;}[_0x29d74e(0x45c)](){return this;}[_0x29d74e(0x2ae)](){return this;}['onRemoteRej'](){return this;}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){return this;}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x460)](){const _0x1df77f=_0x29d74e;throw new Error(_0x1df77f(0x17e));}[_0x29d74e(0x24d)](){const _0x397a85=_0x29d74e;this[_0x397a85(0x2c9)][_0x397a85(0x256)](this['unitID'],this[_0x397a85(0x379)],null,[]);}['_showConflictNotification'](){const _0x1e62ee=_0x29d74e;this['_isPermissionRej']?this[_0x1e62ee(0x1f3)][_0x1e62ee(0x116)]({'title':this['_localeService']['t'](_0x1e62ee(0x2ff)),'content':this[_0x1e62ee(0xef)]['t'](_0x1e62ee(0x20f)),'type':_0x1e62ee(0x444),'duration':0x0}):this['_notificationService'][_0x1e62ee(0x116)]({'title':this[_0x1e62ee(0xef)]['t']('conflict.title'),'content':this[_0x1e62ee(0xef)]['t'](_0x1e62ee(0x31b)),'type':'error','duration':0x0});}['_disableEditing'](){const _0x193b1d=_0x29d74e;this['_permissionService'][_0x193b1d(0x273)](new _0x3399e3(this[_0x193b1d(0x46f)])['id'],!0x1);}};Re=xe([A(0x6,_0x37efa2(_0x1776e5)),A(0x7,_0xc41305),A(0x8,_0x17339c),A(0x9,_0x37efa2(q)),A(0xa,_0x37efa2(_0x405d92)),A(0xb,_0x37efa2(_0x10be55)),A(0xc,_0x4a1a82)],Re);let ye=class extends Le{constructor(_0x313df3,_0x51a3e8,_0x4e3e00,_0x14fff8,_0x1c5ed6,_0x26fa55,_0x536703,_0x2bb7de,_0x4196b2,_0x18759c){const _0x23e900=_0x29d74e;super(_0x313df3,_0x51a3e8,_0x4e3e00,_0x14fff8,_0x1c5ed6,_0x4196b2,_0x18759c,_0x536703,_0x2bb7de),g(this,_0x23e900(0x4c7),_0x23e900(0x237)),this[_0x23e900(0x1b2)]=_0x26fa55;}[_0x29d74e(0x232)](_0x6b146f){const _0x3454e5=_0x29d74e;return this[_0x3454e5(0x233)]['push'](_0x6b146f),this[_0x3454e5(0x4ad)](),this;}['onRemoteChangeset'](_0x5100e6){const _0x5ca7de=_0x29d74e;throw new Error(_0x5ca7de(0x1a7));}[_0x29d74e(0x2ae)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x29d74e(0x3b8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){return this;}['toggleOnline'](){const _0x5a30ce=_0x29d74e,{_injector:_0x5b1770,_pendingMutations:_0xa78253,_awaitingChangeset:_0x5c0292,unitID:_0xf91f46,_handler:_0x4fa759,type:_0x9204ae}=this,_0xd032bd=Pi(_0x5b1770,_0xf91f46,_0x9204ae,_0x5c0292,_0xa78253,_0x4fa759);return _0xd032bd instanceof pe?_0xd032bd[_0x5a30ce(0x446)]():(_0xd032bd instanceof ge||_0xd032bd instanceof Te)&&_0xd032bd[_0x5a30ce(0x460)](),_0xd032bd;}[_0x29d74e(0x460)](){const _0x19589b=_0x29d74e;throw new Error(_0x19589b(0x196));}};ye=xe([A(0x5,_0x37efa2(_0x1e339b)),A(0x6,_0x37efa2(_0x405d92)),A(0x7,_0x37efa2(q)),A(0x8,_0xc41305),A(0x9,_0x17339c)],ye);let he=class extends Le{constructor(_0x505d39,_0x5437bf,_0x26809a,_0x1cc408,_0x242def,_0x566482,_0x558928,_0x4b39d5,_0x1f23aa,_0x9f6738,_0x45b83c,_0xcfb56e,_0x4a527a,_0x5a8ccc){const _0x2f7527=_0x29d74e;super(_0x505d39,_0x5437bf,_0x26809a,_0x1cc408,_0x558928,_0xcfb56e,_0x4a527a,_0x1f23aa,_0x9f6738),g(this,_0x2f7527(0x4c7),_0x2f7527(0x1ba)),(this[_0x2f7527(0x3ea)]=_0x242def,this[_0x2f7527(0x1d1)]=_0x566482,this['_injector']=_0x4b39d5,this['_logService']=_0x45b83c,this[_0x2f7527(0x2f4)]=_0x5a8ccc);}['onMissedChangesetFetched'](_0x563dce){const _0x4904bc=_0x29d74e;try{const _0x1cb9fa=[..._0x563dce,...this[_0x4904bc(0x1d1)]],_0x3775d0=[this[_0x4904bc(0x1c9)]||this[_0x4904bc(0x3ea)]][_0x4904bc(0x135)](_0x3bde3d=>!!_0x3bde3d);let _0x500f03,_0x1c2994;if(_0x3775d0[_0x4904bc(0x400)]){const _0x394cfb=this['_transformService']['transformChangesets'](_0x1cb9fa,_0x3775d0,!0x1);if(!_0x41dbbd(_0x394cfb))throw _0x394cfb[_0x4904bc(0x444)];_0x500f03=_0x394cfb[_0x4904bc(0x147)],_0x1c2994=_0x394cfb[_0x4904bc(0x1cd)];}else _0x500f03=_0x1cb9fa,_0x1c2994=[];let _0x3d84eb=this[_0x4904bc(0x233)];_0x500f03[_0x4904bc(0x2d5)](_0x1aeec9=>{const _0x2f9c9e=_0x4904bc;let _0x123748;if(_0x3d84eb[_0x2f9c9e(0x400)]){const _0x121be9=this[_0x2f9c9e(0x2f4)][_0x2f9c9e(0x4ca)](_0x1aeec9,_0x3d84eb);if(!_0x45440f(_0x121be9))throw _0x121be9[_0x2f9c9e(0x444)];_0x123748=_0x121be9[_0x2f9c9e(0x147)],_0x3d84eb=_0x121be9[_0x2f9c9e(0x36b)];}else _0x123748=_0x1aeec9;this[_0x2f9c9e(0x372)](_0x123748);}),this[_0x4904bc(0x3ea)]&&this[_0x4904bc(0x411)](),this['_awaitingChangeset']&&_0x1c2994[_0x4904bc(0x400)]&&(_0x1c2994[0x0][_0x4904bc(0x3f6)]=this[_0x4904bc(0x150)]());let _0x180a4c;if(this[_0x4904bc(0x1c9)]&&_0x3d84eb[_0x4904bc(0x400)]!==0x0)_0x180a4c=this['_injector'][_0x4904bc(0x4a8)](ge,this['unitID'],this[_0x4904bc(0x379)],_0x1c2994[0x0],_0x3d84eb,this['_handler'],void 0x0);else{if(this[_0x4904bc(0x1c9)]&&_0x3d84eb[_0x4904bc(0x400)]===0x0)_0x1c2994[0x0][_0x4904bc(0x3f6)]=this[_0x4904bc(0x150)](),_0x180a4c=this[_0x4904bc(0x1b2)][_0x4904bc(0x4a8)](Te,this['unitID'],this['type'],_0x1c2994[0x0],this[_0x4904bc(0x4b9)]);else{if(_0x3d84eb[_0x4904bc(0x400)]!==0x0){const _0x392fa9=this[_0x4904bc(0x1b2)][_0x4904bc(0x4a8)](pe,this[_0x4904bc(0x46f)],this['type'],_0x3d84eb,this[_0x4904bc(0x4b9)]);_0x392fa9[_0x4904bc(0x446)](),_0x180a4c=_0x392fa9;}else _0x180a4c=this[_0x4904bc(0x1b2)][_0x4904bc(0x4a8)](Fe,this['unitID'],this[_0x4904bc(0x379)],this['_handler']);}}return _0x180a4c[_0x4904bc(0x4ad)](),_0x180a4c;}catch(_0x12bb2d){return this['_logService'][_0x4904bc(0x444)]('[FetchMissState]',_0x4904bc(0x22e),_0x12bb2d),this['_injector']['createInstance'](Re,this[_0x4904bc(0x46f)],this[_0x4904bc(0x379)],this[_0x4904bc(0x1c9)],this[_0x4904bc(0x233)],this[_0x4904bc(0x4b9)],!0x1);}}[_0x29d74e(0x460)](){const _0x25d10f=_0x29d74e;throw new Error(_0x25d10f(0x2bd));}[_0x29d74e(0x232)](_0x2a5b52){const _0x102ad8=_0x29d74e;return this[_0x102ad8(0x233)][_0x102ad8(0x183)](_0x2a5b52),this;}['onRemoteChangeset'](_0x30232d){const _0x5e3e9e=_0x29d74e;return this[_0x5e3e9e(0x1d1)][_0x5e3e9e(0x183)](_0x30232d),this;}[_0x29d74e(0x2ae)](_0x218cc8){const _0x260920=_0x29d74e;if(this['_awaitingChangeset'])return this[_0x260920(0x3ea)]=this[_0x260920(0x1c9)],this[_0x260920(0x1c9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x29d74e(0x3b8)](_0x45969a){const _0x5fad58=_0x29d74e;return this['_onConflict'](!!(_0x45969a!=null&&_0x45969a[_0x5fad58(0x11d)]));}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){const _0x5b32e8=_0x29d74e;return this[_0x5b32e8(0x1b2)][_0x5b32e8(0x4a8)](ye,this[_0x5b32e8(0x46f)],this[_0x5b32e8(0x379)],this[_0x5b32e8(0x1c9)],this[_0x5b32e8(0x233)],this[_0x5b32e8(0x4b9)]);}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x4a7)](_0x3e858c){const _0x467f1a=_0x29d74e;return this[_0x467f1a(0x1b2)][_0x467f1a(0x4a8)](Re,this[_0x467f1a(0x46f)],this[_0x467f1a(0x379)],this['_awaitingChangeset'],this[_0x467f1a(0x233)],this['_handler'],_0x3e858c);}};he=xe([A(0x7,_0x37efa2(_0x1e339b)),A(0x8,_0x37efa2(_0x405d92)),A(0x9,_0x37efa2(q)),A(0xa,_0x2b335c),A(0xb,_0xc41305),A(0xc,_0x17339c),A(0xd,_0x4938c5)],he);function Pi(_0x62948d,_0x2c23ee,_0x1f59dd,_0x52942e,_0x3544fc,_0xcbf36){const _0x5f4a7b=_0x29d74e;return _0x52942e&&_0x3544fc[_0x5f4a7b(0x400)]?_0x62948d['createInstance'](ge,_0x2c23ee,_0x1f59dd,_0x52942e,_0x3544fc,_0xcbf36,void 0x0):_0x52942e?_0x62948d[_0x5f4a7b(0x4a8)](Te,_0x2c23ee,_0x1f59dd,_0x52942e,_0xcbf36):_0x3544fc['length']?_0x62948d[_0x5f4a7b(0x4a8)](pe,_0x2c23ee,_0x1f59dd,_0x3544fc,_0xcbf36):_0x62948d[_0x5f4a7b(0x4a8)](Fe,_0x2c23ee,_0x1f59dd,_0xcbf36);}var vo=Object[_0x29d74e(0x229)],mo=Object[_0x29d74e(0x494)],Is=(_0x16f38b,_0x12dd17,_0x545821,_0x452188)=>{const _0x5d2b67=_0x29d74e;for(var _0x472602=_0x452188>0x1?void 0x0:_0x452188?mo(_0x12dd17,_0x545821):_0x12dd17,_0x132f75=_0x16f38b[_0x5d2b67(0x400)]-0x1,_0x12c628;_0x132f75>=0x0;_0x132f75--)(_0x12c628=_0x16f38b[_0x132f75])&&(_0x472602=(_0x452188?_0x12c628(_0x12dd17,_0x545821,_0x472602):_0x12c628(_0x472602))||_0x472602);return _0x452188&&_0x472602&&vo(_0x12dd17,_0x545821,_0x472602),_0x472602;},H=(_0x3eaec6,_0x3d29ea)=>(_0x4618b9,_0x2276a0)=>_0x3d29ea(_0x4618b9,_0x2276a0,_0x3eaec6);let gt=class extends _0x44a670{constructor(_0x22de51,_0x5c8e38,_0x240c1b,_0x4a5c13,_0xb74d17,_0x495293,_0x28bdb1,_0xde9e0c,_0x5acee1,_0x20cd9c,_0x40445d,_0x27d8fe,_0x474244){const _0x23bc5b=_0x29d74e;super(),g(this,_0x23bc5b(0x464),new _0x260ce9(null)),g(this,_0x23bc5b(0x20d),this[_0x23bc5b(0x464)][_0x23bc5b(0x10f)]()),g(this,_0x23bc5b(0x491)),g(this,_0x23bc5b(0x15b),!0x1),g(this,'_changesetSessionId',''),g(this,_0x23bc5b(0x3c4),0x0),g(this,_0x23bc5b(0x14e),this['state$'][_0x23bc5b(0x472)](_0x1a4470(_0x24e316=>_0x24e316?_0x24e316[_0x23bc5b(0x4c7)]:J['OFFLINE']),_0x304e5f(0x1))),g(this,_0x23bc5b(0x45b),!0x1),g(this,_0x23bc5b(0x422),[]),(this[_0x23bc5b(0x46f)]=_0x22de51,this[_0x23bc5b(0x2b3)]=_0x5c8e38,this[_0x23bc5b(0x478)]=_0x240c1b,this[_0x23bc5b(0x1b2)]=_0x4a5c13,this[_0x23bc5b(0x2c9)]=_0xb74d17,this['_compressMutationService']=_0x495293,this[_0x23bc5b(0xef)]=_0x28bdb1,this[_0x23bc5b(0x136)]=_0xde9e0c,this[_0x23bc5b(0x468)]=_0x5acee1,this['_commandService']=_0x20cd9c,this[_0x23bc5b(0x3fc)]=_0x40445d,this[_0x23bc5b(0x281)]=_0x27d8fe,this[_0x23bc5b(0x1f2)]=_0x474244);}get['state'](){const _0x1eb3ec=_0x29d74e;return this[_0x1eb3ec(0x491)];}async[_0x29d74e(0x3b9)](){const _0x2f100a=_0x29d74e;if(this[_0x2f100a(0x374)])throw new Error(_0x2f100a(0x489));await this[_0x2f100a(0x27d)]();}[_0x29d74e(0x23b)](){const _0x537cea=_0x29d74e;return this[_0x537cea(0x15b)]=!0x0,_0x3dbac0(()=>{const _0x5874e7=_0x537cea;this[_0x5874e7(0x15b)]=!0x1,this[_0x5874e7(0x31a)]();});}['_updateState'](_0x385eb8){const _0x1b07e3=_0x29d74e;this[_0x1b07e3(0x491)]=_0x385eb8,this[_0x1b07e3(0x464)][_0x1b07e3(0x175)](_0x385eb8);}async[_0x29d74e(0x27d)](){const _0x1097d6=_0x29d74e;var _0x358623;this[_0x1097d6(0x39a)](await this[_0x1097d6(0x35a)]()),this['_singleActiveUnitService']&&((_0x358623=this[_0x1097d6(0x1f2)])==null||_0x358623[_0x1097d6(0x1c0)](this[_0x1097d6(0x46f)]),this['disposeWithMe'](this[_0x1097d6(0x1f2)][_0x1097d6(0x2d9)](this[_0x1097d6(0x46f)])['subscribe'](_0x5e1d82=>{const _0x33b56f=_0x1097d6;this[_0x33b56f(0x468)][_0x33b56f(0x3a2)](_0x33b56f(0x289),_0x33b56f(0x2e6),_0x5e1d82),_0x5e1d82===yi['OTHER_CLIENTS_EDITING']?(this[_0x33b56f(0x3fc)][_0x33b56f(0x116)]({'content':this[_0x33b56f(0xef)]['t'](_0x33b56f(0x120)),'type':_0x5b9771[_0x33b56f(0x22d)]}),this['_permissionService'][_0x33b56f(0x273)](new _0x3399e3(this[_0x33b56f(0x46f)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x33b56f(0x281)][_0x33b56f(0x273)](new _0x3399e3(this[_0x33b56f(0x46f)])['id'],!0x0),this['_permissionService'][_0x33b56f(0x161)](!0x0));})));let _0x36ea28=!0x1;return this['disposeWithMe'](this[_0x1097d6(0x2b3)][_0x1097d6(0x1db)][_0x1097d6(0x3c2)](_0xadb9e0=>{const _0x2d6868=_0x1097d6;_0xadb9e0===ve['ONLINE']?this[_0x2d6868(0x431)](_0x36ea28):_0xadb9e0===ve['OFFLINE']&&(_0x36ea28=!0x0,this[_0x2d6868(0x3ac)]());})),this['disposeWithMe'](this['session'][_0x1097d6(0x2a1)]['subscribe'](_0x73c4b5=>{const _0x587639=_0x1097d6;try{switch(_0x73c4b5[_0x587639(0x167)]){case _0x1030bd[_0x587639(0x4d5)]:{this[_0x587639(0x2e0)](_0x47af05(_0x73c4b5[_0x587639(0x1da)]));break;}case _0x1030bd[_0x587639(0x3f3)]:{this[_0x587639(0x3e3)](_0x73c4b5[_0x587639(0x1da)]);break;}case _0x1030bd[_0x587639(0x180)]:{this[_0x587639(0x26a)]();break;}case _0x1030bd[_0x587639(0x21a)]:{this[_0x587639(0x45e)](_0x73c4b5['data']);break;}case _0x1030bd[_0x587639(0x288)]:{this['_onFetchMissResult'](_0x73c4b5[_0x587639(0x1da)][_0x587639(0x445)][_0x587639(0x319)](_0x5584e8=>_0x47af05(_0x5584e8)));break;}case _0x1030bd[_0x587639(0x11b)]:this[_0x587639(0x26a)]({'isPermissionRej':!0x0});}}catch(_0x5a2184){throw console['error'](_0x587639(0x30b),_0x5a2184),_0x5a2184;}})),this[_0x1097d6(0x491)];}['_unlockTransition'](){const _0x13960b=_0x29d74e;this[_0x13960b(0x45b)]=!0x1;}[_0x29d74e(0x133)](){const _0x3effd1=_0x29d74e;if(this[_0x3effd1(0x45b)])throw new Error(_0x3effd1(0x174));this[_0x3effd1(0x45b)]=!0x0;}[_0x29d74e(0x4c8)](_0x1c8502){const _0x4b0c74=_0x29d74e;this['_lockTransition'](),this['_updateState'](this[_0x4b0c74(0x491)][_0x4b0c74(0x232)](_0x1c8502)),this[_0x4b0c74(0x132)]();}[_0x29d74e(0x2e0)](_0xa1448d){const _0x33b46f=_0x29d74e;if(!(_0xa1448d[_0x33b46f(0x41b)]<=this[_0x33b46f(0x136)][_0x33b46f(0x3dd)](this[_0x33b46f(0x46f)]))){if(this[_0x33b46f(0x15b)]){this[_0x33b46f(0x422)][_0x33b46f(0x183)](_0xa1448d);return;}this[_0x33b46f(0x35b)](_0xa1448d);}}[_0x29d74e(0x31a)](){const _0x3c1ac3=_0x29d74e;this['_remoteChangesetQueue'][_0x3c1ac3(0x2d5)](_0x23a728=>this[_0x3c1ac3(0x35b)](_0x23a728)),this[_0x3c1ac3(0x422)]=[];}[_0x29d74e(0x35b)](_0x45158d){const _0x3511c3=_0x29d74e,_0x19e4df=this[_0x3511c3(0x3fb)][_0x3511c3(0x4a1)]['fetchThroughInterceptors'](this[_0x3511c3(0x3fb)][_0x3511c3(0x4a1)][_0x3511c3(0x391)]()[_0x3511c3(0x253)])(_0x45158d[_0x3511c3(0x3cd)],null)||_0x45158d['mutations'],_0x54af59={..._0x45158d,'mutations':_0x19e4df};this[_0x3511c3(0x133)](),this[_0x3511c3(0x39a)](this[_0x3511c3(0x491)][_0x3511c3(0x45c)](_0x54af59)),this[_0x3511c3(0x132)]();}[_0x29d74e(0x3e3)](_0x285043){const _0x1ed4b5=_0x29d74e;this[_0x1ed4b5(0x133)](),this['_updateState'](this['_state'][_0x1ed4b5(0x2ae)](_0x285043)),this['_unlockTransition']();}[_0x29d74e(0x26a)](_0x3cd15a){const _0x2667c8=_0x29d74e;this[_0x2667c8(0x133)](),this['_updateState'](this['_state'][_0x2667c8(0x3b8)](_0x3cd15a)),this[_0x2667c8(0x132)]();}[_0x29d74e(0x45e)](_0x92fea3){const _0x5b8e94=_0x29d74e;this[_0x5b8e94(0x133)](),this[_0x5b8e94(0x39a)](this[_0x5b8e94(0x491)]['onRemoteRetry'](_0x92fea3)),this['_unlockTransition']();}['_onFetchMissResult'](_0x395862){const _0xe553f9=_0x29d74e;if(!(this['_state']instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xbe4195=_0x395862[_0xe553f9(0x319)](_0x3a0644=>{const _0x115c66=_0xe553f9,_0x31d86e=this[_0x115c66(0x3fb)]['interceptor'][_0x115c66(0x241)](this[_0x115c66(0x3fb)][_0x115c66(0x4a1)][_0x115c66(0x391)]()['COMPRESS_MUTATION_APPLY'])(_0x3a0644[_0x115c66(0x3cd)],null)||_0x3a0644['mutations'];return{..._0x3a0644,'mutations':_0x31d86e};});this['_lockTransition'](),this[_0xe553f9(0x39a)](this['_state'][_0xe553f9(0x1f7)](_0xbe4195)),this[_0xe553f9(0x132)]();}['_toggleOffline'](){const _0x5e1e30=_0x29d74e;this[_0x5e1e30(0x133)](),this[_0x5e1e30(0x39a)](this[_0x5e1e30(0x491)]['toggleOffline']()),this['_unlockTransition']();}[_0x29d74e(0x431)](_0x31af86=!0x1){const _0x4743cc=_0x29d74e;this[_0x4743cc(0x133)](),this[_0x4743cc(0x39a)](this[_0x4743cc(0x491)][_0x4743cc(0x3cc)]()),this[_0x4743cc(0x132)]();const _0x38a84f=this['_state'];_0x31af86&&_0x38a84f instanceof Fe&&(this[_0x4743cc(0x133)](),this[_0x4743cc(0x39a)](_0x38a84f[_0x4743cc(0x4b5)]()),this[_0x4743cc(0x132)]());}async[_0x29d74e(0x35a)](){return new Promise(_0x5f4265=>{const _0x5c0a58=_0x2ea9;this[_0x5c0a58(0x2b3)][_0x5c0a58(0x1db)]['pipe'](_0x5d9d63(0x1))[_0x5c0a58(0x3c2)](async _0x57b445=>{const _0xac497e=_0x5c0a58;_0x5f4265(await this['_createInitialStateImpl'](_0x57b445===ve[_0xac497e(0x20b)]));});});}[_0x29d74e(0x2d6)](){const _0x32aa62=this['unitID'];return{'onStateChange':(_0x1771af,_0x2a9ad5)=>{const _0x5caa8a=_0x2ea9;if(_0x1771af!==this[_0x5caa8a(0x491)])throw new Error(_0x5caa8a(0x317)+_0x1771af['status']+'\x0aAfter:\x20'+_0x2a9ad5[_0x5caa8a(0x4c7)]+_0x5caa8a(0x249)+this[_0x5caa8a(0x491)]['status']);this['_updateState'](_0x2a9ad5);},'onSendChangeset':_0x307115=>{const _0x30e096=_0x2ea9;_0x307115[_0x30e096(0x4a2)]||(_0x307115[_0x30e096(0x4a2)]=this[_0x30e096(0x26e)],_0x307115[_0x30e096(0x293)]=++this['_changesetReqId']);const _0xd4c9a9={'eventID':_0x1030bd[_0x30e096(0x1ce)],'data':{'unitID':_0x307115[_0x30e096(0x46f)],'unitType':this[_0x30e096(0x478)],'changeset':_0x307115,'memberID':this[_0x30e096(0x2b3)][_0x30e096(0x2fc)]()}};this['session'][_0x30e096(0x3e2)](_0xd4c9a9,this[_0x30e096(0x46f)]);},'onMissingChangesets':({from:_0x39dc54,to:_0x425410})=>{const _0x2eff99=_0x2ea9;this[_0x2eff99(0x468)][_0x2eff99(0x3a2)](_0x2eff99(0x289),_0x2eff99(0x47d)+_0x39dc54+'\x20to\x20'+_0x425410);const _0x17300f={'eventID':_0x1030bd[_0x2eff99(0x30c)],'data':{'unitID':_0x32aa62,'unitType':this[_0x2eff99(0x478)],'from':_0x39dc54,'to':_0x425410}};this[_0x2eff99(0x2b3)][_0x2eff99(0x3e2)](_0x17300f,this[_0x2eff99(0x46f)]);}};}async['_createInitialStateImpl'](_0x3ecbcf){const _0x4bc01e=_0x29d74e;var _0x5ae42f,_0x13da75;const _0x24c6a1=await this['_localCacheService'][_0x4bc01e(0x336)](this[_0x4bc01e(0x46f)]),_0x405f14=(_0x5ae42f=_0x24c6a1==null?void 0x0:_0x24c6a1[_0x4bc01e(0x3cd)])!=null?_0x5ae42f:[],_0x567747=(_0x13da75=_0x24c6a1==null?void 0x0:_0x24c6a1[_0x4bc01e(0x355)])!=null?_0x13da75:null,_0xb491c7=!!(_0x567747!=null&&_0x567747[_0x4bc01e(0x4a2)])&&!!(_0x567747!=null&&_0x567747[_0x4bc01e(0x293)]);this[_0x4bc01e(0x26e)]=_0xb491c7?_0x567747[_0x4bc01e(0x4a2)]:Vr(),this[_0x4bc01e(0x3c4)]=_0xb491c7?_0x567747[_0x4bc01e(0x293)]:0x0;const _0x8a737f=this[_0x4bc01e(0x46f)];try{this[_0x4bc01e(0x16b)](_0x567747,_0x405f14);}catch(_0x5afe00){this[_0x4bc01e(0x468)][_0x4bc01e(0x444)](_0x5afe00);}const _0x4296f6=this['_createHandler']();if(_0x3ecbcf){const _0xc1dc4a=Pi(this['_injector'],_0x8a737f,this[_0x4bc01e(0x478)],_0x567747,_0x405f14,_0x4296f6);return _0xc1dc4a instanceof pe?_0xc1dc4a[_0x4bc01e(0x446)]():(_0xc1dc4a instanceof ge||_0xc1dc4a instanceof Te)&&_0xc1dc4a['resend'](),_0xc1dc4a;}return this[_0x4bc01e(0x1b2)][_0x4bc01e(0x4a8)](ye,_0x8a737f,this[_0x4bc01e(0x478)],_0x567747,_0x405f14,_0x4296f6);}['_replayCachedMutations'](_0x42c060,_0x5168c0){const _0x1556af=_0x29d74e;var _0x497a0e,_0x511366;const _0x336c81=this['_compressMutationService'][_0x1556af(0x4a1)][_0x1556af(0x241)](this['_compressMutationService'][_0x1556af(0x4a1)][_0x1556af(0x391)]()[_0x1556af(0x253)]);(_0x497a0e=_0x336c81((_0x42c060==null?void 0x0:_0x42c060[_0x1556af(0x3cd)])||[],null))==null||_0x497a0e[_0x1556af(0x2d5)](_0x23e6c2=>this['_commandService'][_0x1556af(0x33d)](_0x23e6c2['id'],_0x23e6c2[_0x1556af(0x38f)])),(_0x511366=_0x336c81(_0x5168c0||[],null))==null||_0x511366[_0x1556af(0x2d5)](_0x1b1c91=>this[_0x1556af(0x4eb)][_0x1556af(0x33d)](_0x1b1c91['id'],_0x1b1c91[_0x1556af(0x38f)]));}};gt=Is([H(0x3,_0x37efa2(_0x1e339b)),H(0x4,_0x37efa2(q)),H(0x5,_0x37efa2(_0x1a17bf)),H(0x6,_0x37efa2(_0x10be55)),H(0x7,_0x37efa2(_0x405d92)),H(0x8,_0x2b335c),H(0x9,_0xc41305),H(0xa,_0xcca842),H(0xb,_0x1776e5),H(0xc,_0x4e2ed1(Rt))],gt);let es=class extends gt{constructor(_0x5ddb5d,_0x456d83,_0x58f14a,_0x2bd6d1,_0xa7f7e9,_0x2c591f,_0x262460,_0xd7c7c4,_0x4fb1b7,_0x97ff73,_0x1af1fb,_0x54ac08,_0x4f5eaa,_0x5cfdf0,_0x182d12,_0x157ad9,_0x25e5f4,_0x4764e2){const _0x785200=_0x29d74e;super(_0x5ddb5d,_0x58f14a,_0x456d83,_0x2bd6d1,_0xa7f7e9,_0x2c591f,_0x262460,_0xd7c7c4,_0x5cfdf0,_0x182d12,_0x157ad9,_0x25e5f4,_0x4764e2),this[_0x785200(0x46f)]=_0x5ddb5d,this[_0x785200(0x379)]=_0x456d83,this[_0x785200(0x4d6)]=_0x4fb1b7,this[_0x785200(0x205)]=_0x97ff73,this[_0x785200(0x360)]=_0x1af1fb,this[_0x785200(0x2dc)]=_0x54ac08,this[_0x785200(0x20e)]=_0x4f5eaa;}[_0x29d74e(0x2d6)](){const _0x2f968b=_0x29d74e,_0x14c2b4=super['_createHandler']();return _0x14c2b4[_0x2f968b(0x2f5)]=_0x48bc60=>this['_docTransformIMECacheService'][_0x2f968b(0x1b3)](_0x48bc60),_0x14c2b4[_0x2f968b(0x407)]=_0x5914bd=>this[_0x2f968b(0x360)][_0x2f968b(0x497)](_0x5914bd),_0x14c2b4[_0x2f968b(0x1e8)]=_0x504815=>this[_0x2f968b(0x2dc)][_0x2f968b(0x3b7)](_0x504815),_0x14c2b4[_0x2f968b(0x14a)]=_0xcdccf7=>this[_0x2f968b(0x20e)][_0x2f968b(0x3f0)](_0xcdccf7),_0x14c2b4[_0x2f968b(0x439)]=_0x2f83b3=>this[_0x2f968b(0x205)]['transformRemoteChangeset'](_0x2f83b3),_0x14c2b4['onTransformRemoteChangesetByStateCache']=_0x4b4f46=>this['_docTransformStateCacheService'][_0x2f968b(0x154)](_0x4b4f46),_0x14c2b4;}async[_0x29d74e(0x27d)](){const _0x43d2e9=_0x29d74e,_0xca923b=await super[_0x43d2e9(0x27d)]();return this[_0x43d2e9(0x4d6)][_0x43d2e9(0x3ca)][_0x43d2e9(0x472)](_0xb0a601(this[_0x43d2e9(0x201)]))[_0x43d2e9(0x3c2)](_0x1f8a1f=>{const _0x578c8c=_0x43d2e9;if(_0x1f8a1f==null)return;const {unitId:_0xdcfe62,redoState:_0x3efa8b,commandId:_0x15c6db}=_0x1f8a1f;if(_0xdcfe62!==this[_0x578c8c(0x46f)])return;const _0x448020={'id':_0x15c6db,'type':_0x46699b[_0x578c8c(0x369)],'params':{'unitId':_0xdcfe62,'actions':_0x3efa8b[_0x578c8c(0x35e)],'textRanges':null}};this[_0x578c8c(0x4c8)](_0x448020);}),_0xca923b;}};es=Is([H(0x3,_0x37efa2(_0x1e339b)),H(0x4,_0x37efa2(q)),H(0x5,_0x37efa2(_0x1a17bf)),H(0x6,_0x37efa2(_0x10be55)),H(0x7,_0x37efa2(_0x405d92)),H(0x8,_0x37efa2(_0x138bd8)),H(0x9,_0x37efa2(ft)),H(0xa,_0x37efa2(mt)),H(0xb,_0x37efa2(pt)),H(0xc,_0x37efa2(Ss)),H(0xd,_0x2b335c),H(0xe,_0xc41305),H(0xf,_0xcca842),H(0x10,_0x1776e5),H(0x11,_0x4e2ed1(Rt))],es);let ts=class extends gt{constructor(_0xdcce6d,_0x50ea3a,_0x106314,_0x75ffea,_0x1dd1a3,_0x361f51,_0x18c751,_0x508e5d,_0x1f35af,_0x506bca,_0xdbdaa4,_0xef4daa,_0x4a7049,_0x405f5e){const _0x135504=_0x29d74e;super(_0xdcce6d,_0x106314,_0x50ea3a,_0x75ffea,_0x1dd1a3,_0x361f51,_0x18c751,_0x508e5d,_0x506bca,_0xdbdaa4,_0xef4daa,_0x4a7049,_0x405f5e),this[_0x135504(0x46f)]=_0xdcce6d,this[_0x135504(0x379)]=_0x50ea3a,this['_sheetTransformSelectionsService']=_0x1f35af;}['_createHandler'](){const _0x5bcb77=_0x29d74e,_0x26f540=super['_createHandler']();return _0x26f540['onTransformSelections']=_0x596079=>this[_0x5bcb77(0x1f5)][_0x5bcb77(0x3b7)](_0x596079),_0x26f540;}async['_init'](){const _0x54287b=_0x29d74e,_0x4dabb0=await super[_0x54287b(0x27d)]();return this[_0x54287b(0x3d0)](this[_0x54287b(0x4eb)]['onCommandExecuted']((_0x304c73,_0x1f4ddd)=>{const _0x1c38f6=_0x54287b;if(_0x304c73[_0x1c38f6(0x379)]!==_0x46699b['MUTATION']||_0x1f4ddd!=null&&_0x1f4ddd[_0x1c38f6(0x15f)]||_0x1f4ddd!=null&&_0x1f4ddd['onlyLocal'])return;const _0x166e90=_0x304c73[_0x1c38f6(0x38f)];if((_0x166e90==null?void 0x0:_0x166e90[_0x1c38f6(0x146)])!==this['unitID'])return;const _0x33170f=_0x304c73,_0x573836=this[_0x1c38f6(0x3fb)][_0x1c38f6(0x4a1)][_0x1c38f6(0x241)](this['_compressMutationService'][_0x1c38f6(0x4a1)][_0x1c38f6(0x391)]()[_0x1c38f6(0x398)])([_0x33170f],null)||[_0x33170f];this[_0x1c38f6(0x4c8)](_0x573836[0x0]);})),_0x4dabb0;}};ts=Is([H(0x3,_0x37efa2(_0x1e339b)),H(0x4,_0x37efa2(q)),H(0x5,_0x37efa2(_0x1a17bf)),H(0x6,_0x37efa2(_0x10be55)),H(0x7,_0x37efa2(_0x405d92)),H(0x8,_0x37efa2(vt)),H(0x9,_0x2b335c),H(0xa,_0xc41305),H(0xb,_0xcca842),H(0xc,_0x1776e5),H(0xd,_0x4e2ed1(Rt))],ts);var po=Object[_0x29d74e(0x229)],go=Object[_0x29d74e(0x494)],So=(_0x9ca903,_0x92cfae,_0x15da74,_0x5a12b6)=>{const _0x586a6c=_0x29d74e;for(var _0x1893d4=_0x5a12b6>0x1?void 0x0:_0x5a12b6?go(_0x92cfae,_0x15da74):_0x92cfae,_0x2bcad4=_0x9ca903[_0x586a6c(0x400)]-0x1,_0x401fb8;_0x2bcad4>=0x0;_0x2bcad4--)(_0x401fb8=_0x9ca903[_0x2bcad4])&&(_0x1893d4=(_0x5a12b6?_0x401fb8(_0x92cfae,_0x15da74,_0x1893d4):_0x401fb8(_0x1893d4))||_0x1893d4);return _0x5a12b6&&_0x1893d4&&po(_0x92cfae,_0x15da74,_0x1893d4),_0x1893d4;},xt=(_0x38a07a,_0x50aefb)=>(_0x335377,_0x5b38e5)=>_0x50aefb(_0x335377,_0x5b38e5,_0x38a07a);let it=class extends _0x44a670{constructor(_0x21d6e5,_0x2a66db,_0x307c9f){const _0x2c3158=_0x29d74e;super(),g(this,_0x2c3158(0x268),new Map()),g(this,_0x2c3158(0x1b0),new _0x2c142e()),(this[_0x2c3158(0x1b2)]=_0x21d6e5,this[_0x2c3158(0x298)]=_0x2a66db,this[_0x2c3158(0x387)]=_0x307c9f,this['_init']());}[_0x29d74e(0x4ae)](){const _0x369e97=_0x29d74e;super['dispose'](),this[_0x369e97(0x268)][_0x369e97(0x2d5)](_0x4ac5c2=>_0x4ac5c2['dispose']()),this[_0x369e97(0x268)][_0x369e97(0x4fc)]();}[_0x29d74e(0x368)](_0x130336){const _0x7c1887=_0x29d74e;var _0x36c8df;return(_0x36c8df=this[_0x7c1887(0x268)][_0x7c1887(0x177)](_0x130336))!=null?_0x36c8df:null;}[_0x29d74e(0x44e)](_0x35cda4){const _0x41321a=_0x29d74e,_0x35fb5e=this['getCollabEntity'](_0x35cda4);return _0x35fb5e?_0x4931a8(_0x35fb5e):this[_0x41321a(0x1b0)]['pipe'](_0x2746a5(_0xd864d2=>_0xd864d2['unitID']===_0x35cda4));}[_0x29d74e(0x27d)](){const _0x30d4e3=_0x29d74e;this[_0x30d4e3(0x387)][_0x30d4e3(0x13d)](_0xcdbbdb[_0x30d4e3(0x142)])[_0x30d4e3(0x472)](_0xb0a601(this[_0x30d4e3(0x201)]),_0x436265(0x10))[_0x30d4e3(0x3c2)](async _0x30fd9f=>{const _0x517064=_0x30d4e3,_0x19c5f3=_0x30fd9f[_0x517064(0x4af)](),_0x3e7d7c=await this[_0x517064(0x415)](_0x19c5f3,ce['UNIVER_SHEET']);this['_entities'][_0x517064(0x36d)](_0x19c5f3,_0x3e7d7c);}),this[_0x30d4e3(0x387)][_0x30d4e3(0x13d)](_0xcdbbdb['UNIVER_DOC'])[_0x30d4e3(0x472)](_0xb0a601(this[_0x30d4e3(0x201)]),_0x436265(0x10))[_0x30d4e3(0x472)](_0x2746a5(_0x4a833f=>!_0x4a833f['getUnitId']()['startsWith']('__')))['subscribe'](async _0x32c094=>{const _0x2164f5=_0x30d4e3,_0x34691c=_0x32c094[_0x2164f5(0x4af)](),_0x284118=await this[_0x2164f5(0x415)](_0x34691c,ce[_0x2164f5(0x2f6)]);this[_0x2164f5(0x268)][_0x2164f5(0x36d)](_0x34691c,_0x284118);}),_0xef46fa(this[_0x30d4e3(0x387)][_0x30d4e3(0x2eb)](_0xcdbbdb[_0x30d4e3(0x142)]),this[_0x30d4e3(0x387)][_0x30d4e3(0x2eb)](_0xcdbbdb[_0x30d4e3(0x2f6)]))['pipe'](_0xb0a601(this[_0x30d4e3(0x201)]))['subscribe'](_0x494e2d=>{const _0x365a45=_0x30d4e3,_0x5c3cdd=_0x494e2d['getUnitId'](),_0x677f34=this[_0x365a45(0x268)]['get'](_0x5c3cdd);_0x677f34&&(_0x677f34[_0x365a45(0x4ae)](),this['_entities'][_0x365a45(0x4f6)](_0x5c3cdd));});}async[_0x29d74e(0x415)](_0x33b5dd,_0x24ee5c){const _0x2b42b5=_0x29d74e,_0x2dfd24=await this[_0x2b42b5(0x298)][_0x2b42b5(0x224)](_0x33b5dd),_0x4429cb=this['_injector']['createInstance'](this[_0x2b42b5(0x3d1)](_0x24ee5c),_0x33b5dd,_0x24ee5c,_0x2dfd24);return await _0x4429cb[_0x2b42b5(0x3b9)](),this['_entityInit$']['next'](_0x4429cb),_0x4429cb;}['_getCtorByUniverType'](_0x5f0188){const _0x9e9c31=_0x29d74e;switch(_0x5f0188){case ce[_0x9e9c31(0x2f6)]:return es;case ce[_0x9e9c31(0x142)]:return ts;default:throw new Error(_0x9e9c31(0x222)+_0x5f0188);}}};it=So([xt(0x0,_0x37efa2(_0x1e339b)),xt(0x1,_0x37efa2(Ne)),xt(0x2,_0x4c5fa7)],it);const Fs=['purple300',_0x29d74e(0x484),_0x29d74e(0x3af),_0x29d74e(0x357),_0x29d74e(0x3fa),'gold400'];class Cs extends _0x3755da{constructor(){const _0x47d74e=_0x29d74e;super(...arguments),g(this,_0x47d74e(0x238),new Map()),g(this,'_colorIndex',0x0);}[_0x29d74e(0x341)](_0x38aaf2){const _0x492ec0=_0x29d74e;if(this[_0x492ec0(0x238)][_0x492ec0(0x44d)](_0x38aaf2))return this[_0x492ec0(0x238)]['get'](_0x38aaf2);const _0x5ea360=Fs[this[_0x492ec0(0x454)]];return this[_0x492ec0(0x454)]=(this['_colorIndex']+0x1)%Fs[_0x492ec0(0x400)],this[_0x492ec0(0x238)]['set'](_0x38aaf2,_0x5ea360),_0x5ea360;}}var Io=Object[_0x29d74e(0x229)],Co=Object[_0x29d74e(0x494)],Eo=(_0x1edf0a,_0x5cd573,_0x5b0ad6,_0x4964a1)=>{const _0x377862=_0x29d74e;for(var _0x3e7bb2=_0x4964a1>0x1?void 0x0:_0x4964a1?Co(_0x5cd573,_0x5b0ad6):_0x5cd573,_0x3a649c=_0x1edf0a[_0x377862(0x400)]-0x1,_0x13d104;_0x3a649c>=0x0;_0x3a649c--)(_0x13d104=_0x1edf0a[_0x3a649c])&&(_0x3e7bb2=(_0x4964a1?_0x13d104(_0x5cd573,_0x5b0ad6,_0x3e7bb2):_0x13d104(_0x3e7bb2))||_0x3e7bb2);return _0x4964a1&&_0x3e7bb2&&Io(_0x5cd573,_0x5b0ad6,_0x3e7bb2),_0x3e7bb2;},Oe=(_0x383bb8,_0x4e7a83)=>(_0x10ae3d,_0x292000)=>_0x4e7a83(_0x10ae3d,_0x292000,_0x383bb8);const bo=0x12c,To=0x64;let ss=class extends _0x44a670{constructor(_0x4b8035,_0x489d26,_0x2a930f,_0x4aa722,_0x1396f9,_0x3fe50d,_0x47ea72,_0x45dde2,_0x459885){const _0x26db2f=_0x29d74e;super(),g(this,_0x26db2f(0x466),!0x1),g(this,'_init',!0x1),g(this,_0x26db2f(0x134),new _0x260ce9(new Map())),g(this,_0x26db2f(0x428),this['_cursorInfo$']['asObservable']()),g(this,_0x26db2f(0x22c),new _0x260ce9([])),g(this,_0x26db2f(0x2a0),this[_0x26db2f(0x22c)][_0x26db2f(0x472)](_0x3e8a9b(bo))),g(this,_0x26db2f(0x312),_0x496240(_0x49da80=>{const _0x556ef5=_0x26db2f,_0x3d6970={'eventID':_0x1030bd[_0x556ef5(0x2fe)],'data':{'unitID':this[_0x556ef5(0x46f)],'memberID':this[_0x556ef5(0x420)][_0x556ef5(0x2fc)](),'selection':Oi(_0x49da80)}};this[_0x556ef5(0x420)][_0x556ef5(0x3e2)](_0x3d6970,this[_0x556ef5(0x46f)]);},To)),(this[_0x26db2f(0x46f)]=_0x4b8035,this['_session']=_0x489d26,this[_0x26db2f(0x1b2)]=_0x2a930f,this[_0x26db2f(0x495)]=_0x4aa722,this[_0x26db2f(0x127)]=_0x1396f9,this[_0x26db2f(0x272)]=_0x3fe50d,this[_0x26db2f(0x2f4)]=_0x47ea72,this['_univerInstanceService']=_0x45dde2,this[_0x26db2f(0x4eb)]=_0x459885);}get[_0x29d74e(0x426)](){const _0x5426f4=_0x29d74e;return this['_cursorInfo$'][_0x5426f4(0x47e)]();}get[_0x29d74e(0x254)](){const _0x281660=_0x29d74e;return this['_roomMembers$'][_0x281660(0x47e)]();}['dispose'](){const _0x4624b0=_0x29d74e;super[_0x4624b0(0x4ae)](),this[_0x4624b0(0x134)][_0x4624b0(0x175)](new Map()),this['_cursorInfo$']['complete'](),this[_0x4624b0(0x22c)][_0x4624b0(0x175)]([]),this[_0x4624b0(0x22c)][_0x4624b0(0x476)]();}[_0x29d74e(0x3b9)](){const _0x53944b=_0x29d74e;this[_0x53944b(0x27d)]||(this['_init']=!0x0,this['_session'][_0x53944b(0x1db)][_0x53944b(0x472)](_0xb0a601(this['dispose$']))[_0x53944b(0x3c2)](_0x4eb504=>{const _0x594d3c=_0x53944b;_0x4eb504===ve[_0x594d3c(0x20b)]?this[_0x594d3c(0x431)]():this[_0x594d3c(0x3ac)]();}),this[_0x53944b(0x420)][_0x53944b(0x2a1)][_0x53944b(0x472)](_0xb0a601(this[_0x53944b(0x201)]))[_0x53944b(0x3c2)](_0x571873=>{const _0x15eb16=_0x53944b,_0x2f1e5b=_0x571873['eventID'];_0x2f1e5b===_0x1030bd[_0x15eb16(0x2fe)]&&this[_0x15eb16(0x329)](_0x571873),_0x2f1e5b===_0x1030bd[_0x15eb16(0x286)]&&this[_0x15eb16(0x38e)](_0x571873);}),this[_0x53944b(0x3d0)](this[_0x53944b(0x4eb)][_0x53944b(0x4e2)](_0x2cb157=>{const _0x459b6b=_0x53944b,_0x162986=_0x2cb157[_0x459b6b(0x38f)];_0x162986!=null&&this[_0x459b6b(0x466)]&&_0x2cb157['id']===_0xe6a35a['id']&&_0x162986['unitId']===this[_0x459b6b(0x46f)]&&_0x162986[_0x459b6b(0x252)]===!0x1&&_0x162986[_0x459b6b(0x16f)][_0x459b6b(0x400)]>0x0&&this[_0x459b6b(0x312)](_0x162986['ranges']);})),this[_0x53944b(0x272)][_0x53944b(0x26f)][_0x53944b(0x472)](_0xb0a601(this[_0x53944b(0x201)]))[_0x53944b(0x3c2)](_0x594a83=>{const _0x2e508c=_0x53944b;if((_0x594a83==null?void 0x0:_0x594a83[_0x2e508c(0x46f)])!==this[_0x2e508c(0x46f)])return;const _0x87374d={'eventID':_0x1030bd['UPDATE_CURSOR'],'data':_0x594a83};this['_onCursorUpdate'](_0x87374d);}),this[_0x53944b(0x3d0)](this[_0x53944b(0x4eb)][_0x53944b(0x4e2)](_0x2ed220=>{const _0x249343=_0x53944b;if(_0x2ed220[_0x249343(0x38f)]==null)return;const _0x1cc5ce=_0x2ed220[_0x249343(0x38f)];if(_0x2ed220['id']!==_0x10d0b7['id']||_0x1cc5ce['unitId']!==this[_0x249343(0x46f)])return;const _0xc94513={'id':_0x249343(0x2b6),'params':_0x1cc5ce},_0xa9a3cc=this['cursorInfo'];for(const [_0x45ca8d,_0x59287d]of _0xa9a3cc){const _0x3da89f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x249343(0x46f)],'actions':null,'textRanges':_0x59287d[_0x249343(0x16f)]}},_0x29204d=this[_0x249343(0x2f4)]['transformMutation'](_0xc94513,_0x3da89f,!0x1);if(_0x390965(_0x29204d))throw _0x29204d[_0x249343(0x444)];_0xa9a3cc[_0x249343(0x36d)](_0x45ca8d,{..._0x59287d,'ranges':_0x29204d[_0x249343(0x36b)][_0x249343(0x38f)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xa9a3cc);});})));}[_0x29d74e(0x329)](_0xe5f7b9){const _0x341ad0=_0x29d74e;var _0x51398a,_0x2b1eb8;const {memberID:_0x1fa611,selection:_0x33fdc5}=_0xe5f7b9[_0x341ad0(0x1da)],_0x7750f4=ro(_0x33fdc5),_0x3cdd13=(_0x2b1eb8=(_0x51398a=this[_0x341ad0(0x127)][_0x341ad0(0x1dc)](this[_0x341ad0(0x46f)],_0x1fa611))==null?void 0x0:_0x51398a[_0x341ad0(0x3f5)])!=null?_0x2b1eb8:_0x341ad0(0x3d2),_0xf938c={'color':this[_0x341ad0(0x495)]['assignAColorForMemberID'](_0x1fa611),'name':_0x3cdd13,'ranges':_0x7750f4},_0x4507e6=this[_0x341ad0(0x426)];_0x4507e6[_0x341ad0(0x36d)](_0x1fa611,_0xf938c),this[_0x341ad0(0x134)][_0x341ad0(0x175)](_0x4507e6);}[_0x29d74e(0x38e)](_0x784d4b){const _0x2808bd=_0x29d74e,{memberID:_0x367172}=_0x784d4b[_0x2808bd(0x1da)],_0x31f272=this[_0x2808bd(0x426)];_0x31f272[_0x2808bd(0x4f6)](_0x367172),this[_0x2808bd(0x134)][_0x2808bd(0x175)](_0x31f272);}[_0x29d74e(0x431)](){const _0x285392=_0x29d74e;var _0x4934d7;if(this['_online']=!0x0,((_0x4934d7=this[_0x285392(0x387)][_0x285392(0x48d)]())==null?void 0x0:_0x4934d7[_0x285392(0x4af)]())!==this[_0x285392(0x46f)])return;const _0x115bb4=this[_0x285392(0x1b2)][_0x285392(0x177)](_0x5973e7)[_0x285392(0x4a3)]();Array['isArray'](_0x115bb4)&&_0x115bb4[_0x285392(0x400)]>0x0&&this[_0x285392(0x312)](_0x115bb4);}[_0x29d74e(0x3ac)](){const _0x39aed4=_0x29d74e;this[_0x39aed4(0x466)]=!0x1;}};ss=Eo([Oe(0x2,_0x37efa2(_0x1e339b)),Oe(0x3,_0x37efa2(Cs)),Oe(0x4,_0x37efa2(Ue)),Oe(0x5,_0x37efa2(Ss)),Oe(0x6,_0x4938c5),Oe(0x7,_0x4c5fa7),Oe(0x8,_0xc41305)],ss);var Ro=Object[_0x29d74e(0x229)],yo=Object[_0x29d74e(0x494)],Oo=(_0x2daaf2,_0x1c11b5,_0x4960da,_0x440af)=>{const _0x267fa6=_0x29d74e;for(var _0x26980e=_0x440af>0x1?void 0x0:_0x440af?yo(_0x1c11b5,_0x4960da):_0x1c11b5,_0x3d9011=_0x2daaf2[_0x267fa6(0x400)]-0x1,_0x4a56c4;_0x3d9011>=0x0;_0x3d9011--)(_0x4a56c4=_0x2daaf2[_0x3d9011])&&(_0x26980e=(_0x440af?_0x4a56c4(_0x1c11b5,_0x4960da,_0x26980e):_0x4a56c4(_0x26980e))||_0x26980e);return _0x440af&&_0x26980e&&Ro(_0x1c11b5,_0x4960da,_0x26980e),_0x26980e;},je=(_0x33f135,_0x383c40)=>(_0x3dc901,_0x51d992)=>_0x383c40(_0x3dc901,_0x51d992,_0x33f135);const wo=0x12c,Do=0x64,Po=()=>{let _0x4b32c1=[],_0x3b4da4=!0x1;return _0x547ca3=>{const _0x4dff0a=_0x2ea9;_0x4b32c1[_0x4dff0a(0x183)](_0x547ca3),_0x3b4da4||(_0x3b4da4=!0x0,setTimeout(()=>{const _0x47e842=_0x4dff0a;_0x4b32c1[_0x47e842(0x2d5)](_0x298e0b=>_0x298e0b()),_0x4b32c1=[],_0x3b4da4=!0x1;}));};};let is=class extends _0x44a670{constructor(_0x3c3356,_0x5867fd,_0x264dfb,_0x2689aa,_0x3a0dee,_0x186161,_0x21058b,_0x2b066){const _0x26826f=_0x29d74e;super(),g(this,_0x26826f(0x466),!0x1),g(this,_0x26826f(0x27d),!0x1),g(this,_0x26826f(0x134),new _0x260ce9(new Map())),g(this,_0x26826f(0x428),this[_0x26826f(0x134)][_0x26826f(0x10f)]()),g(this,_0x26826f(0x22c),new _0x260ce9([])),g(this,_0x26826f(0x2a0),this[_0x26826f(0x22c)][_0x26826f(0x472)](_0x3e8a9b(wo))),g(this,_0x26826f(0x312),_0x496240((_0x45172e,_0x5ca733)=>{const _0x4ab07d=_0x26826f,_0x59c655={'eventID':_0x1030bd[_0x4ab07d(0x2fe)],'data':{'unitID':this[_0x4ab07d(0x46f)],'memberID':this['_session'][_0x4ab07d(0x2fc)](),'selection':_0x4f7853(_0x45172e,_0x5ca733[_0x4ab07d(0x40c)])}};this['_session'][_0x4ab07d(0x3e2)](_0x59c655,this[_0x4ab07d(0x46f)]);},Do)),(this[_0x26826f(0x46f)]=_0x3c3356,this[_0x26826f(0x420)]=_0x5867fd,this[_0x26826f(0x1b2)]=_0x264dfb,this[_0x26826f(0x495)]=_0x2689aa,this['_memberService']=_0x3a0dee,this['_univerInstanceService']=_0x186161,this[_0x26826f(0x4eb)]=_0x21058b,this['_refRangeService']=_0x2b066);}get['cursorInfo'](){const _0x339d85=_0x29d74e;return this[_0x339d85(0x134)][_0x339d85(0x47e)]();}get['roomMembers'](){const _0x1a0411=_0x29d74e;return this[_0x1a0411(0x22c)][_0x1a0411(0x47e)]();}[_0x29d74e(0x4ae)](){const _0x4ae599=_0x29d74e;super[_0x4ae599(0x4ae)](),this[_0x4ae599(0x134)][_0x4ae599(0x175)](new Map()),this[_0x4ae599(0x134)][_0x4ae599(0x476)](),this[_0x4ae599(0x22c)][_0x4ae599(0x175)]([]),this['_roomMembers$'][_0x4ae599(0x476)]();}[_0x29d74e(0x3b9)](){const _0x3b8a01=_0x29d74e;this['_init']||(this[_0x3b8a01(0x27d)]=!0x0,this[_0x3b8a01(0x420)][_0x3b8a01(0x1db)][_0x3b8a01(0x472)](_0xb0a601(this['dispose$']))[_0x3b8a01(0x3c2)](_0xf47b6=>{const _0x5a3734=_0x3b8a01;_0xf47b6===ve[_0x5a3734(0x20b)]?this[_0x5a3734(0x431)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0xb0a601(this[_0x3b8a01(0x201)]))[_0x3b8a01(0x3c2)](_0x2bfd5a=>{const _0x1e7b2f=_0x3b8a01,_0xb7d3ec=_0x2bfd5a['eventID'];_0xb7d3ec===_0x1030bd[_0x1e7b2f(0x2fe)]&&this[_0x1e7b2f(0x329)](_0x2bfd5a),_0xb7d3ec===_0x1030bd['USERS_LEAVE']&&this[_0x1e7b2f(0x38e)](_0x2bfd5a);}),this[_0x3b8a01(0x2de)](),this[_0x3b8a01(0x3d0)](this[_0x3b8a01(0x4eb)][_0x3b8a01(0x4e2)](_0x3e6360=>{const _0x3992aa=_0x3b8a01;if(this[_0x3992aa(0x466)]&&_0x3e6360['id']===_0x371c24['id']&&_0x3e6360[_0x3992aa(0x38f)][_0x3992aa(0x146)]===this[_0x3992aa(0x46f)]){const _0xd332b4=_0x3e6360['params'];this[_0x3992aa(0x312)](_0xd332b4[_0x3992aa(0x24e)],_0xd332b4['selections'][0x0]);}})));}[_0x29d74e(0x329)](_0x44aa7){const _0x11e1d0=_0x29d74e;var _0x595374,_0x47f734;const {memberID:_0x532b61,selection:_0x5c2694}=_0x44aa7[_0x11e1d0(0x1da)],{sheetName:_0x2ccbbb,range:_0x5f2330}=_0x586bff(_0x5c2694),_0x4ba53f={'name':(_0x47f734=(_0x595374=this[_0x11e1d0(0x127)][_0x11e1d0(0x1dc)](this[_0x11e1d0(0x46f)],_0x532b61))==null?void 0x0:_0x595374['name'])!=null?_0x47f734:'Unknown\x20user','range':this[_0x11e1d0(0x113)](_0x2ccbbb,_0x5f2330),'sheetID':_0x2ccbbb,'color':this[_0x11e1d0(0x495)][_0x11e1d0(0x341)](_0x532b61),'selection':_0x5c2694},_0x2b4faa=this[_0x11e1d0(0x426)];_0x2b4faa[_0x11e1d0(0x36d)](_0x532b61,_0x4ba53f),this['_cursorInfo$']['next'](_0x2b4faa);}[_0x29d74e(0x38e)](_0x547417){const _0x33810f=_0x29d74e,{memberID:_0x1921f5}=_0x547417['data'],_0x33fed4=this[_0x33810f(0x426)];_0x33fed4[_0x33810f(0x4f6)](_0x1921f5),this[_0x33810f(0x134)][_0x33810f(0x175)](_0x33fed4);}[_0x29d74e(0x113)](_0x4b2c11,_0x1d8037){const _0xb2b289=_0x29d74e;var _0x5d5f3b,_0x192cfb;const _0x1d68ab=(_0x192cfb=(_0x5d5f3b=this[_0xb2b289(0x387)][_0xb2b289(0x160)](this[_0xb2b289(0x46f)]))==null?void 0x0:_0x5d5f3b[_0xb2b289(0x314)](_0x4b2c11))==null?void 0x0:_0x192cfb[_0xb2b289(0x2ec)]();return(_0x1d68ab==null?void 0x0:_0x1d68ab[_0xb2b289(0x3ec)](_0x58088a=>_0x13dc9c[_0xb2b289(0x305)](_0x58088a,_0x1d8037)))||_0x1d8037;}['_onRefRangeChange'](){const _0x342131=_0x29d74e,_0x3e37da=new _0x427570(),_0x1d7e9a=Po(),_0xa71915=()=>{const _0x181824=_0x2ea9;_0x3e37da[_0x181824(0x4ae)]();const _0x23aed8=(_0x55c79e,_0x5bb9cc,_0x1df137,_0x206e5f)=>{const _0xfd28b9=_0x181824;let _0x4cd813=[];switch(_0x55c79e['id']){case _0x4b9ff9['DeleteRangeMoveLeftCommandId']:{_0x4cd813=_0x19d976(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0x2f9)]:{_0x4cd813=_0x5d4d4c(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9['InsertColCommandId']:{_0x4cd813=_0x3be363(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0x12d)]:{_0x4cd813=_0x9bc488(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9['InsertRangeMoveRightCommandId']:{_0x4cd813=_0x3f3f4d(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9['InsertRowCommandId']:{_0x4cd813=_0x419297(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0x3f1)]:{_0x4cd813=_0x5f24f5(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0xfb)]:{_0x4cd813=_0x342e0f(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0x34c)]:{_0x4cd813=_0x2f0508(_0x55c79e,_0x206e5f);break;}}const _0x565432=_0x419ccc(_0x4cd813,_0x206e5f),_0x1637ed=this[_0xfd28b9(0x426)]['get'](_0x5bb9cc);if(_0x1637ed&&_0x565432){const _0xc5a92a={..._0x1637ed,'range':_0x565432};this['cursorInfo'][_0xfd28b9(0x36d)](_0x5bb9cc,_0xc5a92a),_0x1d7e9a(()=>{const _0x1b44ad=_0xfd28b9,_0x9b1f71=this[_0x1b44ad(0x35f)]['registerRefRange'](_0x565432,_0x534d7d=>(_0x9b1f71[_0x1b44ad(0x4ae)](),_0x23aed8(_0x534d7d,_0x5bb9cc,_0x1df137,_0x565432)));_0x3e37da[_0x1b44ad(0x3d3)](_0x9b1f71);});}return{'redos':[],'undos':[]};};this[_0x181824(0x426)][_0x181824(0x2d5)]((_0x55ab60,_0x2c4957)=>{const _0x891596=_0x181824,{range:_0x221a64,sheetID:_0x5c8c31}=_0x55ab60,_0x188e54=this[_0x891596(0x35f)]['registerRefRange'](_0x221a64,_0x10cb85=>(_0x188e54['dispose'](),_0x23aed8(_0x10cb85,_0x2c4957,_0x5c8c31,_0x221a64)));_0x3e37da[_0x891596(0x3d3)](_0x188e54);});};this[_0x342131(0x3d0)](_0x3dbac0(this['_cursorInfo$']['subscribe'](()=>{_0xa71915();})));}[_0x29d74e(0x431)](){const _0x4c974b=_0x29d74e;var _0x442dd8,_0x17d595;if(this[_0x4c974b(0x466)]=!0x0,((_0x442dd8=this[_0x4c974b(0x387)][_0x4c974b(0x48d)]())==null?void 0x0:_0x442dd8[_0x4c974b(0x4af)]())!==this['unitID'])return;const _0x28b294=(_0x17d595=this[_0x4c974b(0x1b2)][_0x4c974b(0x177)](_0x28f4ca)[_0x4c974b(0x418)]())==null?void 0x0:_0x17d595[0x0],_0x168856=this['_univerInstanceService'][_0x4c974b(0x3e7)](_0xcdbbdb['UNIVER_SHEET'])[_0x4c974b(0x390)]();_0x28b294&&_0x168856&&this[_0x4c974b(0x312)](_0x168856[_0x4c974b(0x371)](),_0x28b294);}[_0x29d74e(0x3ac)](){const _0x126476=_0x29d74e;this[_0x126476(0x466)]=!0x1;}};is=Oo([je(0x2,_0x37efa2(_0x1e339b)),je(0x3,_0x37efa2(Cs)),je(0x4,_0x37efa2(Ue)),je(0x5,_0x4c5fa7),je(0x6,_0xc41305),je(0x7,_0x37efa2(_0x43c2c4))],is);var Uo=Object[_0x29d74e(0x229)],No=Object[_0x29d74e(0x494)],Ao=(_0x424a08,_0xb2f450,_0x2f4285,_0xf85367)=>{for(var _0x108c8c=_0xf85367>0x1?void 0x0:_0xf85367?No(_0xb2f450,_0x2f4285):_0xb2f450,_0x43c858=_0x424a08['length']-0x1,_0x7a23d5;_0x43c858>=0x0;_0x43c858--)(_0x7a23d5=_0x424a08[_0x43c858])&&(_0x108c8c=(_0xf85367?_0x7a23d5(_0xb2f450,_0x2f4285,_0x108c8c):_0x7a23d5(_0x108c8c))||_0x108c8c);return _0xf85367&&_0x108c8c&&Uo(_0xb2f450,_0x2f4285,_0x108c8c),_0x108c8c;},Lt=(_0x5d36ad,_0x2247ea)=>(_0x3df519,_0x4b1c86)=>_0x2247ea(_0x3df519,_0x4b1c86,_0x5d36ad);let Ve=class extends _0x44a670{constructor(_0x2fc4bc,_0xb40819,_0x563095){const _0x5d72a8=_0x29d74e;super(),g(this,'_entities',new Map()),g(this,_0x5d72a8(0x1b0),new _0x2c142e()),(this[_0x5d72a8(0x387)]=_0x2fc4bc,this['_injector']=_0xb40819,this['_collabSessionService']=_0x563095,this[_0x5d72a8(0x27d)]());}['dispose'](){const _0x423df5=_0x29d74e;super['dispose'](),this['_entityInit$']['complete'](),this[_0x423df5(0x268)][_0x423df5(0x2d5)](_0x1eeeaf=>_0x1eeeaf['dispose']());}[_0x29d74e(0x449)](_0x3b8357){const _0xa48cab=_0x29d74e;return this['_entities'][_0xa48cab(0x44d)](_0x3b8357)?this[_0xa48cab(0x268)][_0xa48cab(0x177)](_0x3b8357)['cursorInfo$']:this[_0xa48cab(0x1b0)]['pipe'](_0x343ab0(_0x34e9ab=>_0x34e9ab[_0xa48cab(0x46f)]===_0x3b8357),_0xb89769(_0x27a03e=>_0x27a03e[_0xa48cab(0x428)]));}['_init'](){const _0x1ea093=_0x29d74e;this[_0x1ea093(0x387)]['getTypeOfUnitAdded$'](_0xcdbbdb[_0x1ea093(0x142)])[_0x1ea093(0x472)](_0xb0a601(this[_0x1ea093(0x201)]))['subscribe'](async _0x1b5925=>{const _0x47339a=_0x1ea093,_0x71b343=_0x1b5925['getUnitId'](),_0x40cd12=await this[_0x47339a(0x2f7)](_0x71b343);this[_0x47339a(0x1b0)]['next'](_0x40cd12),this['_entities']['set'](_0x71b343,_0x40cd12);}),this[_0x1ea093(0x387)][_0x1ea093(0x13d)](_0xcdbbdb['UNIVER_DOC'])[_0x1ea093(0x472)](_0xb0a601(this[_0x1ea093(0x201)]))[_0x1ea093(0x472)](_0x343ab0(_0x226e2d=>!_0x226e2d[_0x1ea093(0x4af)]()[_0x1ea093(0x3b0)]('__')))['subscribe'](async _0x160c9b=>{const _0x3a17ba=_0x1ea093,_0x277858=_0x160c9b[_0x3a17ba(0x4af)](),_0x3b4e8f=await this[_0x3a17ba(0x3f7)](_0x277858);this[_0x3a17ba(0x1b0)]['next'](_0x3b4e8f),this[_0x3a17ba(0x268)][_0x3a17ba(0x36d)](_0x277858,_0x3b4e8f);}),_0xef46fa(this[_0x1ea093(0x387)][_0x1ea093(0x2eb)](_0xcdbbdb['UNIVER_DOC']),this[_0x1ea093(0x387)][_0x1ea093(0x2eb)](_0xcdbbdb[_0x1ea093(0x142)]))['pipe'](_0xb0a601(this['dispose$']))[_0x1ea093(0x3c2)](_0x3ef443=>{const _0xa73b8a=_0x1ea093,_0x20c3a0=_0x3ef443[_0xa73b8a(0x4af)](),_0x439288=this['_entities'][_0xa73b8a(0x177)](_0x20c3a0);_0x439288&&(_0x439288[_0xa73b8a(0x4ae)](),this['_entities']['delete'](_0x20c3a0));});}async[_0x29d74e(0x2f7)](_0x4ef8f3){const _0x51f021=_0x29d74e,_0x51efd3=await this['_collabSessionService'][_0x51f021(0x224)](_0x4ef8f3),_0x2bb201=this[_0x51f021(0x1b2)][_0x51f021(0x4a8)](is,_0x4ef8f3,_0x51efd3);return _0x2bb201['init'](),_0x2bb201;}async[_0x29d74e(0x3f7)](_0x52e8a7){const _0x4240a4=_0x29d74e,_0x440a44=await this[_0x4240a4(0x298)][_0x4240a4(0x224)](_0x52e8a7),_0x119f9b=this[_0x4240a4(0x1b2)][_0x4240a4(0x4a8)](ss,_0x52e8a7,_0x440a44);return _0x119f9b[_0x4240a4(0x3b9)](),_0x119f9b;}};Ve=Ao([Lt(0x0,_0x4c5fa7),Lt(0x1,_0x37efa2(_0x1e339b)),Lt(0x2,_0x37efa2(Ne))],Ve);const nt=0x14,Vs=0xc8,$t=0x4,Mo=0x5;function xo(_0x5343b3,_0x283788){const _0x4c9ba5=_0x29d74e;let {radius:_0x369be2,width:_0x339578,height:_0x48fb14}=_0x283788;_0x369be2=_0x369be2!=null?_0x369be2:0x0,_0x339578=_0x339578!=null?_0x339578:0x1e,_0x48fb14=_0x48fb14!=null?_0x48fb14:0x1e;let _0x1c763f=0x0,_0x25089b=0x0,_0x3da415=0x0;_0x1c763f=_0x25089b=_0x3da415=Math['min'](_0x369be2,_0x339578/0x2,_0x48fb14/0x2),_0x5343b3['beginPath'](),_0x5343b3['moveTo'](_0x1c763f,0x0),_0x5343b3[_0x4c9ba5(0x29e)](_0x339578-_0x25089b,0x0),_0x5343b3['arc'](_0x339578-_0x25089b,_0x25089b,_0x25089b,Math['PI']*0x3/0x2,0x0,!0x1),_0x5343b3[_0x4c9ba5(0x29e)](_0x339578,_0x48fb14-_0x3da415),_0x5343b3[_0x4c9ba5(0x28c)](_0x339578-_0x3da415,_0x48fb14-_0x3da415,_0x3da415,0x0,Math['PI']/0x2,!0x1),_0x5343b3[_0x4c9ba5(0x29e)](0x0,_0x48fb14),_0x5343b3[_0x4c9ba5(0x29e)](0x0,_0x1c763f),_0x5343b3[_0x4c9ba5(0x28c)](_0x1c763f,_0x1c763f,_0x1c763f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5343b3['closePath'](),_0x283788['fill']&&(_0x5343b3[_0x4c9ba5(0x340)](),_0x5343b3['fillStyle']=_0x283788[_0x4c9ba5(0x3d5)],_0x283788[_0x4c9ba5(0x403)]===_0x4c9ba5(0x429)?_0x5343b3[_0x4c9ba5(0x3d5)](_0x4c9ba5(0x429)):_0x5343b3[_0x4c9ba5(0x3d5)](),_0x5343b3[_0x4c9ba5(0x4d8)]());}class yt extends _0x95b801{constructor(_0x21d743,_0x2fcafd){const _0x2d3b7f=_0x29d74e;super(_0x21d743,_0x2fcafd),g(this,_0x2d3b7f(0x2e8)),g(this,_0x2d3b7f(0x1a9)),(this['color']=_0x2fcafd==null?void 0x0:_0x2fcafd['color'],this[_0x2d3b7f(0x1a9)]=_0x2fcafd==null?void 0x0:_0x2fcafd[_0x2d3b7f(0x1a9)]);}static[_0x29d74e(0x1f1)](_0x387a66,_0x316b77){const _0x2a4b89=_0x29d74e,{text:_0xa37aaf,color:_0x1f960b}=_0x316b77;_0x387a66[_0x2a4b89(0x340)](),_0x387a66['font']=_0x2a4b89(0x4f0);const _0x120a3f=_0x387a66[_0x2a4b89(0x182)](_0xa37aaf)['width'],_0x3fa9d1=Math['min'](_0x120a3f+0x2*$t,Vs);xo(_0x387a66,{'height':nt,'radius':0x4,'width':_0x3fa9d1,'fill':_0x1f960b,'evented':!0x1}),_0x387a66['fillStyle']=_0x2a4b89(0x27f);const _0x276b7e=$t,_0x17b5b7=nt-Mo,_0x257000=Vs-0x2*$t;if(_0x120a3f>_0x257000){let _0x128dcd='',_0x2e9570=0x0;for(const _0x3052b7 of _0xa37aaf){const _0x155afc=_0x387a66[_0x2a4b89(0x182)](_0x3052b7)[_0x2a4b89(0x37b)];if(_0x2e9570+_0x155afc<=_0x257000-_0x387a66[_0x2a4b89(0x182)](_0x2a4b89(0x23c))[_0x2a4b89(0x37b)])_0x128dcd+=_0x3052b7,_0x2e9570+=_0x155afc;else{_0x128dcd+=_0x2a4b89(0x23c);break;}}_0x387a66[_0x2a4b89(0x4a4)](_0x128dcd,_0x276b7e,_0x17b5b7);}else _0x387a66['fillText'](_0xa37aaf,_0x276b7e,_0x17b5b7);_0x387a66[_0x2a4b89(0x4d8)]();}[_0x29d74e(0x2f8)](_0x5d7e7c){yt['drawWith'](_0x5d7e7c,this);}}const Ht='collab-text-anchor-',Lo=_0x29d74e(0x4db),$o=_0x29d74e(0x34f),Je=0x6,Ho=1.5,jt=0x4,jo=1.5,Bo=_0x29d74e(0x3ba);class Gs{constructor(_0x4a0468,_0x698f98,_0x543a74,_0x56ce46){const _0x16cd9c=_0x29d74e;g(this,'_shapes',[]),g(this,_0x16cd9c(0x27c),null),g(this,_0x16cd9c(0x46e),null),g(this,_0x16cd9c(0x107),null),g(this,'_hideTimer',null),g(this,_0x16cd9c(0x41f),null),(this[_0x16cd9c(0x2b1)]=_0x4a0468,this[_0x16cd9c(0x1cf)]=_0x698f98,this[_0x16cd9c(0x2ce)]=_0x543a74,this[_0x16cd9c(0x34d)]=_0x56ce46,this[_0x16cd9c(0xfa)]());}set[_0x29d74e(0x331)](_0x12c770){const _0x26786e=_0x29d74e;_0x12c770?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x26786e(0x46e)]&&this[_0x26786e(0x46e)][_0x26786e(0x116)]()):(this[_0x26786e(0x107)]&&this['_anchorDot'][_0x26786e(0x116)](),this[_0x26786e(0x46e)]&&this[_0x26786e(0x46e)][_0x26786e(0x3c3)]());}['dispose'](){const _0xc224af=_0x29d74e;for(const _0x2b4c08 of this[_0xc224af(0x4b7)])_0x2b4c08[_0xc224af(0x4ae)]();this[_0xc224af(0x46e)]&&this['_textBubble'][_0xc224af(0x4ae)](),this[_0xc224af(0x107)]&&this[_0xc224af(0x107)][_0xc224af(0x4ae)](),this[_0xc224af(0x27c)]&&this[_0xc224af(0x27c)][_0xc224af(0x4ae)](),this[_0xc224af(0x41f)]&&this[_0xc224af(0x41f)]();}[_0x29d74e(0xfa)](){const _0x408e05=_0x29d74e;var _0x10f1ea;const {_docSkeleton:_0x1581c5,_document:_0x3c6445}=this,{color:_0x3c234d,name:_0x181d12,ranges:_0x15934c}=this[_0x408e05(0x2b1)],_0x2ec666=_0x3c6445[_0x408e05(0x315)](),{docsLeft:_0xd4116e,docsTop:_0x768101}=_0x2ec666,_0x25e853=new _0x47fb66(_0x2ec666,_0x1581c5);for(const {startOffset:_0x4232b6,endOffset:_0x181b97,rangeType:_0xe82c93,segmentId:_0x52f60e,segmentPage:_0x445f05,collapsed:_0x3abc49,isActive:_0x2eb6b2}of _0x15934c){const _0x109b87=_0x1581c5[_0x408e05(0x24b)](_0x4232b6,!0x0,_0x52f60e,_0x445f05);let _0x246b74=_0x1581c5['findNodePositionByCharIndex'](_0x181b97,!0x0,_0x52f60e,_0x445f05);if(_0x246b74==null&&(_0x246b74=_0x1581c5['findNodePositionByCharIndex'](_0x181b97-0x1,!0x1,_0x52f60e,_0x445f05)),_0x2eb6b2){const {contentBoxPointGroup:_0x18ab28}=_0x25e853['getRangePointData'](_0x246b74,_0x246b74);if(_0x18ab28[_0x408e05(0x400)]===0x0)continue;this[_0x408e05(0x3e9)](_0x3c234d,_0x18ab28,_0xd4116e,_0x768101,_0x181d12),this[_0x408e05(0x41f)]=this[_0x408e05(0x29b)]();}if(_0x109b87&&_0x246b74){if(_0xe82c93===_0x420eb0[_0x408e05(0x3ed)]){const _0x5b14cb=new _0x23a8f9(_0x2ec666,_0x1581c5),{pointGroup:_0x5b809e}=(_0x10f1ea=_0x5b14cb['getRangePointData'](_0x109b87,_0x246b74))!=null?_0x10f1ea:{};if(_0x5b809e==null||_0x5b809e['length']===0x0)continue;this[_0x408e05(0x144)](_0x3c234d,_0x5b809e,_0xd4116e,_0x768101);}else{if(!_0x3abc49){const {borderBoxPointGroup:_0x5e975c}=_0x25e853[_0x408e05(0x342)](_0x109b87,_0x246b74);if(_0x5e975c[_0x408e05(0x400)]===0x0)continue;this[_0x408e05(0x41c)](_0x3c234d,_0x5e975c,_0xd4116e,_0x768101);}}}}}[_0x29d74e(0x3e9)](_0x2d27e2,_0x49c367,_0x2e1171,_0xe5feae,_0x34ec01){const _0x41636c=_0x29d74e,_0x1c3fcb=this[_0x41636c(0x310)](_0x49c367),{left:_0x44b67b,top:_0xac9c11,height:_0x3a28e8}=_0x1c3fcb,_0x313718=this[_0x41636c(0x408)](),_0x2f4ec1=jo/_0x313718,_0x1317dd=new _0x2fbc00(Ht+_0x56f740['generateRandomId'](Je),{'left':_0x44b67b+_0x2e1171-_0x2f4ec1,'top':_0xac9c11+_0xe5feae,'height':_0x3a28e8,'width':Ho,'fill':_0x2d27e2||_0x3a2782(_0x4c04a5['black'],0x0),'strokeWidth':_0x2f4ec1,'stroke':Bo,'evented':!0x0});this[_0x41636c(0x27c)]=_0x1317dd,this[_0x41636c(0x1cf)][_0x41636c(0x378)](_0x1317dd,_0xdfde1a);const _0x350fee=new _0x2fbc00(Ht+_0x56f740[_0x41636c(0x207)](Je),{'left':_0x44b67b+_0x2e1171-_0x2f4ec1,'top':_0xac9c11+_0xe5feae-jt/0x2,'height':jt,'width':jt,'fill':_0x2d27e2||_0x3a2782(_0x4c04a5[_0x41636c(0x482)],0x0),'strokeWidth':0x0,'stroke':_0x2d27e2||_0x3a2782(_0x4c04a5[_0x41636c(0x482)],0x0),'evented':!0x1});this[_0x41636c(0x107)]=_0x350fee,this[_0x41636c(0x1cf)][_0x41636c(0x378)](_0x350fee,_0xdfde1a);const _0x371c2c=new yt(Ht+_0x56f740['generateRandomId'](Je),{'left':_0x44b67b+_0x2e1171-_0x2f4ec1,'top':_0xac9c11+_0xe5feae-nt,'text':_0x34ec01,'color':_0x2d27e2});this[_0x41636c(0x46e)]=_0x371c2c,this[_0x41636c(0x1cf)][_0x41636c(0x378)](_0x371c2c,_0xdfde1a),this[_0x41636c(0x331)]=!0x1;}[_0x29d74e(0x29b)](){const _0x21e3a=_0x29d74e,_0x687d94=this[_0x21e3a(0x27c)]['onPointerEnter$'][_0x21e3a(0x356)](()=>{const _0x1e7689=_0x21e3a;this[_0x1e7689(0x331)]=!0x0;}),_0x4fb40d=this['_anchor'][_0x21e3a(0x19b)][_0x21e3a(0x356)](()=>{const _0x113ce5=_0x21e3a;this[_0x113ce5(0x48f)]&&clearTimeout(this['_hideTimer']),this[_0x113ce5(0x48f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x22f355=_0x21e3a;_0x687d94[_0x22f355(0x392)](),_0x4fb40d[_0x22f355(0x392)]();};}[_0x29d74e(0x41c)](_0x1f6b16,_0x1ffe38,_0x43187b,_0xd64231){const _0x31ff04=_0x29d74e,_0x233176=new _0x3bbabd(_0x1f6b16)[_0x31ff04(0x15c)](0.2)[_0x31ff04(0x2e9)](),_0x472d74=new _0x19ae98(Lo+_0x56f740[_0x31ff04(0x207)](Je),{'pointsGroup':_0x1ffe38,'fill':_0x233176||_0x3a2782(_0x4c04a5[_0x31ff04(0x482)],0.2),'left':_0x43187b,'top':_0xd64231,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31ff04(0x4b7)][_0x31ff04(0x183)](_0x472d74),this[_0x31ff04(0x1cf)][_0x31ff04(0x378)](_0x472d74,_0xdfde1a);}[_0x29d74e(0x144)](_0x8cc1fb,_0x5665f9,_0x53ddfe,_0x43483e){const _0x46bb90=_0x29d74e,_0x4f7c48=new _0x3bbabd(_0x8cc1fb)[_0x46bb90(0x15c)](0.2)['toRgbString'](),_0x5f1a27=new _0x19ae98($o+_0x56f740['generateRandomId'](Je),{'pointsGroup':_0x5665f9,'fill':_0x4f7c48||_0x3a2782(_0x4c04a5[_0x46bb90(0x482)],0.2),'left':_0x53ddfe,'top':_0x43483e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5f1a27),this[_0x46bb90(0x1cf)]['addObject'](_0x5f1a27,_0xdfde1a);}['_getAnchorBounding'](_0x784bfe){const _0x452593=_0x784bfe[0x0],_0x4a4e47=_0x452593[0x0],_0x4193ba=_0x452593[0x2],{x:_0x56e875,y:_0x596a75}=_0x4a4e47,{x:_0x133d96,y:_0x31b098}=_0x4193ba;return{'left':_0x56e875,'top':_0x596a75,'width':_0x133d96-_0x56e875,'height':_0x31b098-_0x596a75};}['_getScale'](){const _0x122f3f=_0x29d74e,{scaleX:_0x21d175,scaleY:_0x78b68e}=this[_0x122f3f(0x1cf)][_0x122f3f(0x21f)]();return Math[_0x122f3f(0x358)](_0x21d175,_0x78b68e);}}var ko=Object[_0x29d74e(0x229)],Wo=Object[_0x29d74e(0x494)],Fo=(_0x57c6ff,_0x15c6e5,_0x72ada7,_0x257506)=>{const _0x31a2cc=_0x29d74e;for(var _0x4caf21=_0x257506>0x1?void 0x0:_0x257506?Wo(_0x15c6e5,_0x72ada7):_0x15c6e5,_0x26503b=_0x57c6ff[_0x31a2cc(0x400)]-0x1,_0x132571;_0x26503b>=0x0;_0x26503b--)(_0x132571=_0x57c6ff[_0x26503b])&&(_0x4caf21=(_0x257506?_0x132571(_0x15c6e5,_0x72ada7,_0x4caf21):_0x132571(_0x4caf21))||_0x4caf21);return _0x257506&&_0x4caf21&&ko(_0x15c6e5,_0x72ada7,_0x4caf21),_0x4caf21;},ct=(_0x23ef99,_0x3745c7)=>(_0x1a5f06,_0x3ad4dc)=>_0x3745c7(_0x1a5f06,_0x3ad4dc,_0x23ef99);let ns=class extends _0x44a670{constructor(_0x4cba0a,_0x22e94d,_0x50fd5a,_0x30dd7d,_0x4d73f8){const _0x1fa4e0=_0x29d74e;super(),g(this,_0x1fa4e0(0xf0),[]),g(this,_0x1fa4e0(0x4e0),[]),(this[_0x1fa4e0(0x345)]=_0x4cba0a,this[_0x1fa4e0(0x2b7)]=_0x22e94d,this[_0x1fa4e0(0x38b)]=_0x50fd5a,this[_0x1fa4e0(0x4eb)]=_0x30dd7d,this[_0x1fa4e0(0x13b)]=_0x4d73f8,this[_0x1fa4e0(0x27d)]());}[_0x29d74e(0x27d)](){const _0x3d2510=_0x29d74e,_0x56967b=this['_context'][_0x3d2510(0x146)],_0x2bec06=this[_0x3d2510(0x2b7)];this[_0x3d2510(0x3d0)](_0x4892e4([this[_0x3d2510(0x38b)]['getCollabCursors$'](_0x56967b),this[_0x3d2510(0x13b)][_0x3d2510(0xff)]])[_0x3d2510(0x472)](_0x1c1ea1(([_0x7cc224,_0x26f976])=>({'skeleton':_0x2bec06[_0x3d2510(0x114)](),'cursors':[..._0x7cc224[_0x3d2510(0x326)]()][_0x3d2510(0x302)](_0xe6cd7=>({..._0xe6cd7,'color':_0x26f976[_0xe6cd7[_0x3d2510(0x2e8)]]}))})))[_0x3d2510(0x3c2)](_0x25bfa6=>{const _0x3356eb=_0x3d2510;if(this[_0x3356eb(0x4ba)](),_0x25bfa6){const {skeleton:_0x496db1,cursors:_0xb8d9ec}=_0x25bfa6;this[_0x3356eb(0x406)](_0x496db1,_0xb8d9ec);}})),this[_0x3d2510(0x47c)](),this[_0x3d2510(0x1e1)]();}[_0x29d74e(0x406)](_0x1f2a28,_0x5d2e59){const _0x4cceb2=_0x29d74e,{scene:_0x528655,mainComponent:_0x170294}=this['_context'],_0x59005e=_0x5d2e59[_0x4cceb2(0x319)](_0x2a5c17=>new Gs(_0x2a5c17,_0x528655,_0x1f2a28,_0x170294));this[_0x4cceb2(0xf0)]=_0x59005e,this[_0x4cceb2(0x4e0)]=_0x5d2e59;}[_0x29d74e(0x322)](){const _0x32fbe6=_0x29d74e;this[_0x32fbe6(0x4ba)]();const {scene:_0x53feb1,mainComponent:_0x873974}=this[_0x32fbe6(0x345)],_0x30903e=this[_0x32fbe6(0x2b7)][_0x32fbe6(0x114)](),_0x47d256=this[_0x32fbe6(0x4e0)][_0x32fbe6(0x319)](_0x149c41=>new Gs(_0x149c41,_0x53feb1,_0x30903e,_0x873974));this[_0x32fbe6(0xf0)]=_0x47d256;}['_removeCollabCursors'](){const _0x5542ad=_0x29d74e;this[_0x5542ad(0xf0)][_0x5542ad(0x2d5)](_0x40b80b=>_0x40b80b[_0x5542ad(0x4ae)]()),this[_0x5542ad(0xf0)]=[];}['_initCommandExecutedListener'](){const _0x4ed573=_0x29d74e,_0x39c550=[_0x3a4b83['id']];this['disposeWithMe'](this[_0x4ed573(0x4eb)][_0x4ed573(0x4e2)](_0xd90a46=>{const _0x3fb66c=_0x4ed573;_0x39c550['includes'](_0xd90a46['id'])&&_0xd90a46[_0x3fb66c(0x38f)]['unitId']===this[_0x3fb66c(0x345)]['unitId']&&this[_0x3fb66c(0x322)]();}));}[_0x29d74e(0x47c)](){const _0x52c063=_0x29d74e;this[_0x52c063(0x3d0)](_0xffdf95(this[_0x52c063(0x345)][_0x52c063(0x2d8)][_0x52c063(0x3fd)])['pipe'](_0x2746a5(_0x51f9e9=>_0x51f9e9[_0x52c063(0x379)]===_0x1b9c52[_0x52c063(0x18e)]),_0xd6772(0x10))[_0x52c063(0x3c2)](()=>{const _0x50d01a=_0x52c063;this[_0x50d01a(0x322)]();}));}};ns=Fo([ct(0x1,_0x37efa2(_0x55707a)),ct(0x2,_0x37efa2(Ve)),ct(0x3,_0xc41305),ct(0x4,_0x37efa2(_0x5c683b))],ns);const Vo=0x1,Go=1.5;class Yo extends _0x95b801{constructor(_0x51dfab,_0x2a686c){const _0x42bc77=_0x29d74e;super(_0x51dfab,_0x2a686c),g(this,'_color'),g(this,_0x42bc77(0x189),!0x1),g(this,_0x42bc77(0x3a6)),g(this,_0x42bc77(0x395),''),g(this,_0x42bc77(0x3ff),'top'),g(this,_0x42bc77(0x3a4)),(_0x2a686c&&this[_0x42bc77(0x3cb)](_0x2a686c),this[_0x42bc77(0x31d)][_0x42bc77(0x356)](()=>this[_0x42bc77(0x3cb)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x42bc77(0x3cb)]({'hovered':!0x1})));}[_0x29d74e(0x3cb)](_0x550635){const _0x3a220e=_0x29d74e;var _0x5c0322,_0x1aab58,_0x4b8fc7,_0x5f1ebc,_0x4ca385,_0x2b9a14;this[_0x3a220e(0x396)]=(_0x5c0322=_0x550635[_0x3a220e(0x2e8)])!=null?_0x5c0322:this[_0x3a220e(0x396)],this[_0x3a220e(0x189)]=(_0x1aab58=_0x550635[_0x3a220e(0x3b5)])!=null?_0x1aab58:this[_0x3a220e(0x189)],this[_0x3a220e(0x3a6)]=(_0x4b8fc7=_0x550635[_0x3a220e(0x40c)])!=null?_0x4b8fc7:this[_0x3a220e(0x3a6)],this[_0x3a220e(0x395)]=(_0x5f1ebc=_0x550635[_0x3a220e(0x3f5)])!=null?_0x5f1ebc:this[_0x3a220e(0x395)],this[_0x3a220e(0x3ff)]=(_0x4ca385=_0x550635[_0x3a220e(0x34b)])!=null?_0x4ca385:this[_0x3a220e(0x3ff)],this['_backgroundColor']=(_0x2b9a14=_0x550635[_0x3a220e(0x220)])!=null?_0x2b9a14:this['_backgroundColor'],this[_0x3a220e(0x1ae)]({'width':_0x550635[_0x3a220e(0x37b)],'height':_0x550635[_0x3a220e(0x1cb)]});}[_0x29d74e(0x447)](_0x3bddf4){const _0x5ba191=_0x29d74e,{row:_0x357553,column:_0x5bff64}=_0x3bddf4;if(_0x357553>=this[_0x5ba191(0x3a6)][_0x5ba191(0x211)]&&_0x357553<=this[_0x5ba191(0x3a6)][_0x5ba191(0x178)]&&_0x5bff64>=this[_0x5ba191(0x3a6)][_0x5ba191(0x1be)]&&_0x5bff64<=this[_0x5ba191(0x3a6)][_0x5ba191(0x195)]){this[_0x5ba191(0x3cb)]({'hovered':!0x0});return;}this[_0x5ba191(0x3cb)]({'hovered':!0x1});}[_0x29d74e(0x4e9)](_0x2bcc0f){return!0x1;}[_0x29d74e(0x2f8)](_0x486529){const _0x400fba=_0x29d74e;_0x2fbc00[_0x400fba(0x1f1)](_0x486529,{'width':this['width'],'height':this[_0x400fba(0x1cb)],'strokeWidth':Go,'stroke':this[_0x400fba(0x396)],'evented':!0x1,'fill':this[_0x400fba(0x3a4)]}),this[_0x400fba(0x189)]&&(_0x486529[_0x400fba(0x340)](),_0x486529[_0x400fba(0x458)](0x1,0x0,0x0,0x1,this[_0x400fba(0x37b)],this[_0x400fba(0x3ff)]===_0x400fba(0x30f)?0x0:-nt),yt[_0x400fba(0x1f1)](_0x486529,{'text':this[_0x400fba(0x395)],'color':this['_color']}),_0x486529['restore']());}}var Ko=Object['defineProperty'],zo=Object[_0x29d74e(0x494)],qo=(_0x84adef,_0x5d5714,_0x260e5a,_0x3cf812)=>{const _0x59f762=_0x29d74e;for(var _0x45e5f3=_0x3cf812>0x1?void 0x0:_0x3cf812?zo(_0x5d5714,_0x260e5a):_0x5d5714,_0x20a3e4=_0x84adef[_0x59f762(0x400)]-0x1,_0x45f215;_0x20a3e4>=0x0;_0x20a3e4--)(_0x45f215=_0x84adef[_0x20a3e4])&&(_0x45e5f3=(_0x3cf812?_0x45f215(_0x5d5714,_0x260e5a,_0x45e5f3):_0x45f215(_0x45e5f3))||_0x45e5f3);return _0x3cf812&&_0x45e5f3&&Ko(_0x5d5714,_0x260e5a,_0x45e5f3),_0x45e5f3;},Bt=(_0x426aa6,_0x377bf3)=>(_0x4ec89f,_0xa7fec6)=>_0x377bf3(_0x4ec89f,_0xa7fec6,_0x426aa6);const Xo=0x1389;let rs=class extends _0x44a670{constructor(_0x4f4ff9,_0x4bda08,_0x292af7,_0x1b2e0b){const _0x1df9f1=_0x29d74e;super(),g(this,_0x1df9f1(0x4e0),new Set()),g(this,_0x1df9f1(0x448),null),(this[_0x1df9f1(0x345)]=_0x4f4ff9,this[_0x1df9f1(0x18d)]=_0x4bda08,this[_0x1df9f1(0x38b)]=_0x292af7,this['_themeService']=_0x1b2e0b,this[_0x1df9f1(0x27d)]());}[_0x29d74e(0x27d)](){const _0x1e6be4=_0x29d74e;this[_0x1e6be4(0x18d)][_0x1e6be4(0x139)]['pipe'](_0x41e8bd(this['dispose$']),_0x47c098(_0x23b7a9=>{const _0x2c187f=_0x1e6be4;if(_0x23b7a9){const _0x50fa9c=_0x23b7a9[_0x2c187f(0x267)];return _0x4892e4(this[_0x2c187f(0x38b)]['getCollabCursors$'](this[_0x2c187f(0x345)]['unitId']),this[_0x2c187f(0x13b)][_0x2c187f(0xff)])[_0x2c187f(0x472)](_0x1c1ea1(([_0x39329a,_0x2c6d91])=>{const _0x58ddc5=_0x2c187f,_0xfa4432=new Map();return _0x39329a[_0x58ddc5(0x2d5)]((_0x13303e,_0xc5aaaf)=>{const _0x2033c4=_0x58ddc5;if(_0x13303e[_0x2033c4(0x455)]===_0x50fa9c){const _0x31c71a={..._0x13303e};_0x31c71a['color']=_0x2c6d91[_0x13303e[_0x2033c4(0x2e8)]],_0xfa4432['set'](_0xc5aaaf,_0x31c71a);}}),{'skeleton':_0x23b7a9,'cursors':_0xfa4432};}));}return _0x4931a8({'skeleton':null,'cursors':new Map()});}))[_0x1e6be4(0x3c2)](({skeleton:_0x12ae48,cursors:_0x46c905})=>{const _0x2b032a=_0x1e6be4;this[_0x2b032a(0x4ba)](),_0x12ae48&&this[_0x2b032a(0x406)](_0x12ae48,_0x46c905);}),this[_0x1e6be4(0x18d)]['currentSkeleton$'][_0x1e6be4(0x3c2)](_0x417db3=>{const _0x43c5a7=_0x1e6be4;if(_0x417db3==null)return;const {skeleton:_0x4cf74e}=_0x417db3,{scene:_0x205bb1}=this['_context'];_0x205bb1[_0x43c5a7(0x441)][_0x43c5a7(0x356)](_0x496240(_0x232614=>{const _0x1698f2=_0x43c5a7;var _0x40af2d,_0x9d26f4;const {offsetX:_0x9a0103,offsetY:_0x184b8e}=_0x232614,{x:_0x3ed8ec,y:_0x4a4bab}=_0x205bb1[_0x1698f2(0x1ee)](_0x25775b[_0x1698f2(0x14d)]([_0x9a0103,_0x184b8e])),{scaleX:_0x43b0a8,scaleY:_0xe0ac08}=_0x205bb1[_0x1698f2(0x21f)](),_0x247959=_0x205bb1['getViewport'](_0x53f43f[_0x1698f2(0x40a)]),_0xd85cc0=_0x205bb1[_0x1698f2(0x31e)](_0x25775b[_0x1698f2(0x14d)]([_0x3ed8ec,_0x4a4bab]),_0x247959),_0x5e4324=_0x4cf74e[_0x1698f2(0x3e4)](_0x9a0103,_0x184b8e,_0x43b0a8,_0xe0ac08,_0xd85cc0);((_0x40af2d=this[_0x1698f2(0x448)])==null?void 0x0:_0x40af2d[_0x1698f2(0x39d)])===_0x5e4324[_0x1698f2(0x39d)]&&((_0x9d26f4=this[_0x1698f2(0x448)])==null?void 0x0:_0x9d26f4['row'])===_0x5e4324[_0x1698f2(0x486)]||this['_cursors'][_0x1698f2(0x2d5)](_0x19cbe2=>{const _0x501009=_0x1698f2;_0x19cbe2[_0x501009(0x447)](_0x5e4324);});},0x64));});}[_0x29d74e(0x406)](_0x4f7bad,_0x1d8161){const _0x186830=_0x29d74e;var _0x3d4392;const _0x49079c=(_0x3d4392=this['_sheetSkeletonManagerService'][_0x186830(0x290)]())==null?void 0x0:_0x3d4392['skeleton'];if(!_0x49079c)return;const _0x129f86=this[_0x186830(0x1a2)]();if(!_0x129f86)return;this[_0x186830(0x4e0)][_0x186830(0x2d5)](_0x4e4c04=>{const _0x4c0f64=_0x186830;_0x4e4c04[_0x4c0f64(0x105)]();});const {scene:_0x195cb3}=_0x129f86,_0x27c063=Jo(Array[_0x186830(0x29c)](_0x1d8161[_0x186830(0x326)]()))['map'](_0x1cd3bc=>{const _0x153004=_0x186830,{color:_0x3ded96,range:_0x3df4f1,name:_0x12ee5a,selection:_0x2be3d8,sheetID:_0x5a1433}=_0x1cd3bc,{startColumn:_0x24d1e7,startRow:_0x4a20ef,endColumn:_0x5ad5a0,endRow:_0x4683d8}=_0x3df4f1,_0x5cbaee=_0x2857ae(_0x4a20ef,_0x24d1e7,_0x195cb3,_0x49079c),_0x991a7f=_0x2857ae(_0x4683d8,_0x5ad5a0,_0x195cb3,_0x49079c),{columnHeaderHeightAndMarginTop:_0x43a0da}=_0x49079c,{startX:_0x3a1a05,startY:_0x2d928c}=_0x5cbaee,{endX:_0x32b6d8,endY:_0x205a17}=_0x991a7f,_0x2d179c=_0x32b6d8-_0x3a1a05,_0x131f41=_0x205a17-_0x2d928c,_0x104ae4={'labelPosition':_0x2d928c-_0x43a0da>=nt?'top':_0x153004(0x30f),'sheetID':_0x5a1433,'range':_0x3df4f1,'color':_0x3ded96,'name':_0x12ee5a,'selection':_0x2be3d8,'left':_0x3a1a05,'top':_0x2d928c,'width':_0x2d179c,'height':_0x131f41,'evented':!0x1,'zIndex':Xo};return new Yo(_0x12ee5a,_0x104ae4);});_0x195cb3[_0x186830(0x488)](_0x27c063,Vo),this[_0x186830(0x4e0)]=new Set(_0x27c063);}['_removeCollabCursors'](){const _0xe84988=_0x29d74e;var _0xc82e30;(_0xc82e30=this[_0xe84988(0x4e0)])==null||_0xc82e30['forEach'](_0x5088a5=>_0x5088a5[_0xe84988(0x4ae)]());}['_getSheetObject'](){const _0x1b4769=_0x29d74e;return _0x18bb66(this[_0x1b4769(0x345)][_0x1b4769(0x2c5)],this[_0x1b4769(0x345)]);}};rs=qo([Bt(0x1,_0x37efa2(_0x534a87)),Bt(0x2,_0x37efa2(Ve)),Bt(0x3,_0x37efa2(_0x5c683b))],rs);function Jo(_0x34bfb7){const _0x43d06f=_0x29d74e,_0x3e6005=new Map();return _0x34bfb7['forEach'](_0x4f6a24=>{const _0xc1d028=_0x2ea9;if(_0x3e6005[_0xc1d028(0x44d)](_0x4f6a24[_0xc1d028(0x1f9)])){const _0x29a725=_0x3e6005[_0xc1d028(0x177)](_0x4f6a24[_0xc1d028(0x1f9)]);_0x29a725[_0xc1d028(0x3f5)]+=',\x20'+_0x4f6a24[_0xc1d028(0x3f5)];}else _0x3e6005['set'](_0x4f6a24[_0xc1d028(0x1f9)],_0x4f6a24);}),Array[_0x43d06f(0x29c)](_0x3e6005[_0x43d06f(0x326)]());}var ee=function(){const _0x309553=_0x29d74e;return ee=Object['assign']||function(_0x431790){const _0x48d3b8=_0x2ea9;for(var _0x3fb9ab,_0x3c4a9c=0x1,_0x302770=arguments['length'];_0x3c4a9c<_0x302770;_0x3c4a9c++){_0x3fb9ab=arguments[_0x3c4a9c];for(var _0x2a6a11 in _0x3fb9ab)Object['prototype']['hasOwnProperty'][_0x48d3b8(0x46d)](_0x3fb9ab,_0x2a6a11)&&(_0x431790[_0x2a6a11]=_0x3fb9ab[_0x2a6a11]);}return _0x431790;},ee[_0x309553(0x493)](this,arguments);},Zo=function(_0x2183b2,_0x1ae31c){const _0x39dc07=_0x29d74e;var _0x5716ac={};for(var _0x4d06da in _0x2183b2)Object['prototype'][_0x39dc07(0x359)][_0x39dc07(0x46d)](_0x2183b2,_0x4d06da)&&_0x1ae31c[_0x39dc07(0x1b4)](_0x4d06da)<0x0&&(_0x5716ac[_0x4d06da]=_0x2183b2[_0x4d06da]);if(_0x2183b2!=null&&typeof Object[_0x39dc07(0x4d4)]=='function'){for(var _0x44b7f5=0x0,_0x4d06da=Object[_0x39dc07(0x4d4)](_0x2183b2);_0x44b7f5<_0x4d06da[_0x39dc07(0x400)];_0x44b7f5++)_0x1ae31c[_0x39dc07(0x1b4)](_0x4d06da[_0x44b7f5])<0x0&&Object[_0x39dc07(0x1b7)][_0x39dc07(0x117)]['call'](_0x2183b2,_0x4d06da[_0x44b7f5])&&(_0x5716ac[_0x4d06da[_0x44b7f5]]=_0x2183b2[_0x4d06da[_0x44b7f5]]);}return _0x5716ac;},Es=_0x519233(function(_0x488ff7,_0x54d245){const _0xba1c75=_0x29d74e;var _0x286376=_0x488ff7[_0xba1c75(0x104)],_0x17508f=_0x488ff7['id'],_0x4d2b0e=_0x488ff7[_0xba1c75(0x40e)],_0x160564=_0x488ff7[_0xba1c75(0x38d)],_0x127934=Zo(_0x488ff7,[_0xba1c75(0x104),'id',_0xba1c75(0x40e),_0xba1c75(0x38d)]),_0x5abbd8=_0xba1c75(0x210)[_0xba1c75(0x332)](_0x17508f,'\x20')[_0xba1c75(0x332)](_0x4d2b0e||'')[_0xba1c75(0x130)](),_0x1debd7=_0x4f1e77('_'[_0xba1c75(0x332)](ta()));return Ui(_0x286376,''[_0xba1c75(0x332)](_0x17508f),{'defIds':_0x286376[_0xba1c75(0x46a)],'idSuffix':_0x1debd7[_0xba1c75(0x32d)]},ee({'ref':_0x54d245,'className':_0x5abbd8},_0x127934),_0x160564);});function Ui(_0x4f422e,_0xcd8fd3,_0x1a6709,_0x2cb1c6,_0x24553f){const _0x51c730=_0x29d74e;return _0x462747(_0x4f422e[_0x51c730(0x19a)],ee(ee({'key':_0xcd8fd3},Qo(_0x4f422e,_0x1a6709,_0x24553f)),_0x2cb1c6),(ea(_0x4f422e,_0x1a6709)[_0x51c730(0x1c5)]||[])[_0x51c730(0x319)](function(_0x395cec,_0x529012){const _0xa3a285=_0x51c730;return Ui(_0x395cec,''[_0xa3a285(0x332)](_0xcd8fd3,'-')[_0xa3a285(0x332)](_0x4f422e[_0xa3a285(0x19a)],'-')[_0xa3a285(0x332)](_0x529012),_0x1a6709,void 0x0,_0x24553f);}));}function Qo(_0x34b137,_0xade1,_0x1aae7){const _0x10ad56=_0x29d74e;var _0x5c3532=ee({},_0x34b137[_0x10ad56(0x2bf)]);_0x1aae7!=null&&_0x1aae7['colorChannel1']&&_0x5c3532[_0x10ad56(0x3d5)]===_0x10ad56(0x4bc)&&(_0x5c3532['fill']=_0x1aae7[_0x10ad56(0x4bc)]);var _0x3e1326=_0xade1[_0x10ad56(0x46a)];return!_0x3e1326||_0x3e1326[_0x10ad56(0x400)]===0x0||(_0x34b137['tag']==='use'&&_0x5c3532[_0x10ad56(0x30e)]&&(_0x5c3532[_0x10ad56(0x30e)]=_0x5c3532[_0x10ad56(0x30e)]+_0xade1[_0x10ad56(0x405)]),Object[_0x10ad56(0x2e3)](_0x5c3532)[_0x10ad56(0x2d5)](function(_0x5d80b7){const _0x3e6f8c=_0x10ad56;var _0x4e3616=_0x5d80b7[0x0],_0x1aca54=_0x5d80b7[0x1];typeof _0x1aca54==_0x3e6f8c(0x1d3)&&(_0x5c3532[_0x4e3616]=_0x1aca54[_0x3e6f8c(0x2d1)](/url\(#(.*)\)/,_0x3e6f8c(0x186)[_0x3e6f8c(0x332)](_0xade1[_0x3e6f8c(0x405)],')')));})),_0x5c3532;}function ea(_0x16c98f,_0x151cbd){const _0x5bb631=_0x29d74e;var _0x2fb7a8,_0x220131=_0x151cbd[_0x5bb631(0x46a)];return!_0x220131||_0x220131[_0x5bb631(0x400)]===0x0?_0x16c98f:_0x16c98f[_0x5bb631(0x19a)]===_0x5bb631(0x3ef)&&(!((_0x2fb7a8=_0x16c98f[_0x5bb631(0x1c5)])===null||_0x2fb7a8===void 0x0)&&_0x2fb7a8['length'])?ee(ee({},_0x16c98f),{'children':_0x16c98f[_0x5bb631(0x1c5)][_0x5bb631(0x319)](function(_0x44ed60){const _0x39052d=_0x5bb631;return typeof _0x44ed60[_0x39052d(0x2bf)]['id']==_0x39052d(0x1d3)&&_0x220131&&_0x220131[_0x39052d(0x1b4)](_0x44ed60[_0x39052d(0x2bf)]['id'])>-0x1?ee(ee({},_0x44ed60),{'attrs':ee(ee({},_0x44ed60[_0x39052d(0x2bf)]),{'id':_0x44ed60[_0x39052d(0x2bf)]['id']+_0x151cbd[_0x39052d(0x405)]})}):_0x44ed60;})}):_0x16c98f;}function _0x2db9(){const _0x1c50d3=['getUnitOnRev','column','enableOfflineEditing','ERROR_IMAGE','_clearTimeoutTimer','BASE64','debug','redoState','_backgroundColor','telemetry\x20info\x20is\x20not\x20initialized','_range','origin','_startTelemetryCollaborationNewChangeset','exports','Base64','onStarting','_toggleOffline','BlockCipher','_map','verdancy600','startsWith','_retryConnectingTimer','_getAPIPrefix','INTERNAL_ERROR','_prevBlock','hovered','floor','transformSelections','onRemoteRej','init','rgba(255,\x20255,\x20255,\x200.01)','href','mode','_hash','JOIN','file','setConfig','_ensureSubject','subscribe','hide','_changesetReqId','storage','_getLoginPath','_resendWithTimeout','_ENC_XFORM_MODE','objects','docStateChange$','setShapeProps','toggleOnline','mutations','toLowerCase','_saveTaskMap','disposeWithMe','_getCtorByUniverType','Unknown\x20user','add','Hex','fill','withCredentials','_initMergeInterceptor','execute','/-/object/-/batch_allowed','buffer','_handleEvent','_collaborationController','getCurrentRevOfUnit','_unitStatus','getConfig','\x20-\x20','method','send','_onRemoteACK','getCellPositionByOffset','_configService','saveOfflineData','getCurrentUnitForType','Univer','_drawAnchor','_acknowledgedAwaitingChangeset','[PendingState]:\x20received\x20acknowledgement.','find','RECT','all','defs','syncEditingCollabCursor','MoveRangeCommandId','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_ACK','NOT_COLLAB','name','baseRev','_startDocCollabCursor','_rescheduleHeartbeat','path','blue400','_compressMutationService','_messageService','onTransformChange$','_getAPIPrefixPath','_labelPosition','length','SEND_CHANGESET_TIMEOUT','_tryReconnect','fillRule','onlineStatusIcon','idSuffix','_updateCollabCursors','onTransformState','_getScale','registerHTTPInterceptor','VIEW_MAIN','_scheduleTimestamp','range','HEARTBEAT_INTERVAL','className','?size=','/universer-api/snapshot/','_incrementRevisionNumber','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','updateMember','LIVESHARE_FETCH_OPERATIONS','_startCollaboration','/role','INGEST','getCurrentSelections','&assign=','COMPLETION_FINISHED','revision','_drawTextRange','location','symbol','_eventUnsubscribe','_session','fetchMissingChangesets','_remoteChangesetQueue','_sendHeartbeat','random','awaiting','cursorInfo','$super','cursorInfo$','evenodd','SYNCED','univer-online-status','json','save\x20fail\x20reason\x20is\x20','msCrypto','INVALID_ARGUMENT','lib','_toggleOnline','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','object','createEncryptor','memberID','DEFAULT_FILE_NAME','AWAITING','_onCombEvent','onTransformRemoteChangesetByIMECache','_substituteUndoStack','YUUMI_URL_COL_OUT_OF_RANGE','url','connection\x20error','setCurrentUser','_disableEditing','_stopTelemetryCollaborationNewChangeset','onPointerMove$','UnitEmbedded','stopTime','error','changesets','_schedule','onMouseMove','_lastPointer','getCollabCursors$','hasher','_clearUndo','onRendered','has','getCollabEntity$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[SyncedState]:\x20received\x20rejection.','deepClone','_initStatusComponent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_colorIndex','sheetID','_transformSelections','FAIL','transform','getUnitType','_urlService','_transitionLocked','onRemoteChangeset','saveSnapshot','_onRemoteRetry','_clearScheduledTask','resend','padding','onSendChangeset','round','_state$','LIVESHARE_REQUEST_HOST','_online','getRenderById','_logService','refreshPermission','defIds','online','enableAuthServer','call','_textBubble','unitID','off-line-single_clip0_910_343','univer-pro.collaboration-client-socket-service','pipe','addImageSourceCache','deleteCollaborator','__Key__','complete','awaiting_with_pending','_type','RECV','format','_getUndoStack','_initResize','fetching\x20missing\x20changesets\x20from\x20','getValue','mixIn','readAsDataURL','liveShareNewHost','black','EvpKDF','jiqing500','responseType','row','_nDataBytes','addObjects','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_sendHeartbeatTimer','_userManagerService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getFocusedUnit','YUUMI_RATE_OVER_LIMIT','_hideTimer','__creator','_state','/resources','apply','getOwnPropertyDescriptor','_colorAssignService','_reverseMap','transformStateCache','_removeClearOtherTimer','HMAC','initWorkbookPermissionChange','_nRounds','YUUMI_UNABLE_LOAD_URL','ivSize','_shouldReportTelemetry','message$','MD5','interceptor','sid','getDocRanges','fillText','_decreaseWaiting','allowed','_onConflict','createInstance','_throwTelemetryCollaborationNewChangeset','unpad','_onMessage','AWAITING_WITH_PENDING','_updateLocalCache','dispose','getUnitId','salt','_telemetryService','/allowed','_createHelper','sessionStatus','fetchMiss','_timeoutTimer','_shapes','setWaitCount','_handler','_removeCollabCursors','FETCH_MISS','colorChannel1','transformMutation','UNAUTHENTICATED','enableSingleActiveInstanceLock','_transformRemoteChangesetByIMECache','number','&to=','csRejEvent','_submitChangeset','_waitForHeartbeatResponse','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','status','_onLocalMutation','Hasher','transformMutationsWithChangeset','_scheduleSaving','pending','_saveCache','requestParams','kdf','_process','image/jpeg','_append','encode','getOwnPropertySymbols','NEW_CHANGESETS','_docStateChangeManagerService','pushState','restore','_beforeCloseService','_onConnectionFailed','collab-text-range-','now','charCodeAt','history','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_cursors','confirm','onCommandExecuted','_unitID','_iv','default','_transformPreviousActiveRange','_getSignURL','collaboration-client.config','triggerDblclick','OFFLINE','_commandService','_setupSubUnitSync','Cipher','Undefined','MSG_FOR_ERROR','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HttpExport','create','YUUMI_SUBSCRIPTION_NOT_FOUND','_onConnectionOpen','socket$','delete','m1Prime','BufferedBlockAlgorithm','/new_changes','_initStatusListener','_transformStack','clear','484540CVeXFo','_send','_collabCursorState$','onStateChange','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_localeService','_cursorShapes','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','readInt32LE','_DEC_XFORM_MODE','_parse','_heartbeatTimer','_checkMissing','onload','unitId\x20is\x20not\x20found','cfg','_render','RemoveColCommandId','_minBufferSize','M0\x200H16V16H0z','8XhiTMp','currentTheme$','onlineStatusTitle','_hasher','_cachedData','headers','icon','makeDirty','snapshotServerUrl','_anchorDot','PENDING','hidden','LIVESHARE_OPERATION','getRandomValues','getImageSourceCache','submit\x20changeset\x20error!','2433955EbaJtM','asObservable','objectID','_ws','csShouldRetryEvent','_getMergeRange','getSkeleton','NO_OTHER_CLIENTS_EDITING','show','propertyIsEnumerable','transformChangesets','closeSession','close$','PERMISSION_REJ','USERS_ENTER','isPermissionRej','image/gif','stringify','collaboration.single-unit.warning','_onOffline','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[SyncedState]:\x20received\x20acknowledgement.','[PendingState]:\x20received\x20rejection.','_telemetryInfo','_snapshotService','_memberService','duration','_doCryptBlock','_socketReady','image/jpg','getParam','InsertRangeMoveDownCommandId','NOT_FOUND','displayName','trim','HEARTBEAT_TIMEOUT','_unlockTransition','_lockTransition','_cursorInfo$','filter','_revisionService','activeSheet$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','currentSkeleton$','downloadEndpointUrl','_themeService','fromCharCode','getTypeOfUnitAdded$','_invKeySchedule','session.collaboration-timeout','onRemoteRetry','textRanges','UNIVER_SHEET','registerComponent','_drawRectRange','_removeRoom','unitId','c1Prime','HmacSHA1','conflict','onSyncEditingCollabCursor','Base','&source=','FromArray','status$','copyFileMeta','_getCurrentRevision','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_DISTRO_REJECTED','getItem','transformRemoteChangeset','roles','_loadSheet','update','/universer-api/comb','WordArray','getImage','_collaborationPaused','setAlpha','_initUnitPermissionChange','collab-client.tooltip.reconnect','fromCollab','getUniverSheetInstance','setShowComponents','_transformRemoteChangesetByStateCache','TEXT','/unit/','_registerDependencies','OpenSSL','eventID','none','parse','_clearHeartbeatTimer','_replayCachedMutations','_config','_joinRoom','UNIVER_PROJECT','ranges','uni.network.url-service','UUID','_redoStacks','Decryptor','[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.','next','IDLE','get','endRow','_candidateSocket','listRoles','replaceState','removeMember','decrypt','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','POST','CHANGESET_REJ','loginUrlKey','measureText','push','onlineStatus','_getSendChangesetTimeout','url(#$1','StreamCipher','[CollaborationSessionService]:\x20socket\x20error','_hovered','_status$','patch','_initEventListeners','_sheetSkeletonManagerService','resize','userID','NoPadding','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UNRECOGNIZED','_initDependencies','blockSize','endColumn','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_keySchedule','_sender','_instanceService','tag','onPointerLeave$','_transformUndoRedoStack','code','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadSheet','CBC','disableLocalCache','_getSheetObject','_resendTimer','focused$','ALREADY_EXISTS','visibilitychange','[OfflineState]:\x20received\x20changeset.','_listenToOnlineEvent','text','searchParams','newValue','_id','retryConnectingInterval','transformByState','[CollaborationUndoRedoService]','_entityInit$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_injector','transformIMECache','indexOf','114144nwpjqI','TOO_MANY_REQUESTS','prototype','_tryEnsureSocket','sheets','fetch_missing','?url=','_cipher','_undoStacks','startColumn','_oKey','editingUnit','createCollaborator','commentUpdate$','_httpService','target','children','AES','joinEvent','startTime','_awaitingChangeset','_transformUndoredo','height','session.connection-failed','c2Prime','SUBMIT_CHANGESET','_scene','_event$','_queuedRemoteChangesets','SUCCUSS','string','_handleHeartbeatEvent','encodeURIComponent','includes','Latin1','getTime','_getDownloadEndpointURL','data','sessionStatus$','getMember','createSocket','ciphertext','_resendTimeout','getStateCache','_initCommandExecutedListener','_onUserJoin','clearTimeout','_substituteRedoStack','_localStorageService','_HTTPService','transformStack\x20failed!','onTransformSelections','_handleLeaveEvent','COMMENT_UPDATE','_updateSubUnitFromURLParams','onReady','LIVESHARE_TERMINATE','getRelativeToViewportCoord','error$','reverse','drawWith','_singleActiveUnitService','_notificationService','APPLY_REJECT','_sheetTransformSelectionsService','_syncEditingCollabCursor','onMissedChangesetFetched','charAt','selection','APPLY_NON_SEQUENTIAL_REVISION','iterations','_scheduleClearOtherTimer','uploadFileServerUrl','collaMsg','onTransformRemoteChangesetByStateCache','UNDEFINED','dispose$','formatter','setItem','then','_docTransformIMECacheService','_doFinalize','generateRandomId','processBlock','_setupBeforeClosingHandler','clearInterval','ONLINE','updatePermissionObjEvent','state$','_docSyncEditingCollabCursorService','permission.content','univerjs-icon\x20univerjs-icon-','startRow','AUTHZ_URL_KEY','batchAllowed','ERROR_EXCEED_SIZE','UNIVER_UNKNOWN','newCsEvent','SHOULD_CLOSE_CONN','_collaborationTimeoutTimer','setInterval','CHANGESET_SHOULD_RETRY','slice','rev','cmd','SNAPSHOT_INVALID_SNAPSHOT','getAncestorScale','backgroundColor','getResourcesRequest','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UNKNOWN_CMD','requireSession','_onJoinRoomEvent','unit-cache-','9036918AUOLON','list','defineProperty','shouldCloseConn','_key','_roomMembers$','Warning','failed\x20to\x20apply\x20missed\x20changesets!','reconnect','reset','bind','appendMutation','_pendingMutations','_transformHistoryAndStateStack','univer-online-status-title','roomInfos','offline','_assignedColors','some','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','pauseCollaboration','...','clipPath','LOCAL_CACHE_INTERVAL','_getSaveTimeout','univer-pro.collaboration-client.single-active-unit-service','fetchThroughInterceptors','joinRsp','post','SerializableCipher','UnitSnapshot','sin','x-univer-host','disposeUnit','\x0aCurrent:\x20','capture','findNodePositionByCharIndex','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearLocalCache','subUnitId','_xformMode','_imageSourceCache','1em','isEditing','COMPRESS_MUTATION_APPLY','roomMembers','undoState','updateOfflineData','body','_replaceFileID','registerOnClose','pad','_doProcessBlock','_socket$','Utf8','SNAPSHOT_HAS_BEEN_REMOVED','enc','collabStatus.offline','HEARTBEAT','algo','routeKey','result','getLatestCsReqIdBySid','_listenToOfflineEvent','sheetId','_entities','UPDATE_PERMISSION_OBJ','_onRemoteRejected','words','_renderManagerService','assign','_changesetSessionId','collabCursorState$','_handleJoinEvent','_getSnapshotAPIPrefix','_syncEditingCollabCursorService','updatePermissionPoint','whenReady','/universer-api/oidc/authpage','collabStatus.notCollab','_retryCount','SHA1','_initCloseConn','size','_fetchMissChangesets','_anchor','_init','substring','#FFF','min','_permissionService','collaboratorID','1010456cSMPsL','originalMeta','_createSocket','USERS_LEAVE','collaboration_new_changeset','PSEUDO_FETCH_MISSING_RESULT','[CollaborationEntity]','_commentUpdate$','override','arc','_selfUnitIDs','_members','saveChangeset','getCurrent','signUrlServerUrl','_clearRedo','reqId','_scheduleHeartbeat','PERMISSION_DENIED','saveSheetBlock','socket\x20close','_collabSessionService','popstate','objectType','_handleHover','from','enableLocalCache','lineTo','split','roomMembers$','event$','reject','_undoRedoService','socket\x20open.','_mode','liveShareOperation','createDecryptor','FileId','/fetchmissing?from=','toggleOffline','univer-online-status-icon','_snapshotServerService','/collaborator','onRemoteAck','OffLineSingle','url(#off-line-single_clip0_910_343)','_cursor','/block/','session','LIVESHARE_NEW_HOST','JOINING','doc.mutation.rich-text-editing','_docSkeletonManagerService','onMissingChangesets','collaboration-session-retry','/universer-api/snapshot','subunit','repeat','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','collaborators','attrs','_socket','UNIVER_COLLABORATION_CLIENT_PLUGIN','substr','registerBeforeClose','[CollaborationSessionService]','unit','APPLY_PERMISSION_DENIED','Could\x20not\x20dynamically\x20require\x20\x22','addEventListener','_localCacheService','_getUploadFileURL','transformUndoRedo','HmacMD5','randomUUID','_docSkeleton','on-line-single_clip0_910_349','[DataLoaderController]','replace','sigBytes','action','_socketMessageSubscription','forEach','_createHandler','registerRenderModule','engine','getUnitStatus$','ENSURE_SNAPSHOT_EXECUTION','univer-offline','_docTransformSelectionsService','every','_onRefRangeChange','setTimeout','_onRemoteChangeset','_disabled','_clearOtherTimers','entries','_transformIMECache','byteLength','editing\x20status\x20changed\x20to','clone','color','toRgbString','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','getMergeData','LICENSE_EXPORT_SIZE_EXCEEDED','BlockCipherMode','_createHmacHelper','/object/','_sessionStatus$','put','CONNECTOR_DATA_TOO_LARGE','_transformService','onTransformIME','UNIVER_DOC','_startSheetCollabCursor','_draw','DeleteRangeMoveUpCommandId','_uiPartsService','reduce','getMemberID','HttpImport','UPDATE_CURSOR','permission.title','_sessions','_initRequestHeader','flatMap','collabStatus.synced','workbook','contains','UniverIcon','OTHER_CLIENTS_EDITING','decryptBlock','_sendingTimer','[CollaborationSession]','Error\x20on\x20receiving\x20event','FETCH_MISSING','authzUrl','xlink:href','bottom','_getAnchorBounding','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_updateLocalCursor','putCollaborators','getSheetBySheetId','getOffsetConfig','2899635RkFvgu','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','open$','map','_exhaustRemoteChangesetQueue','conflict.content','setStateCache','onPointerEnter$','getVpScrollXYInfoByPosToVp','function','APPLY_REVISION_CONFILICT','_doReset','_refreshCollabCursors','getActiveRange','/object','session.room-full','values','crypto','unknown','_onCursorUpdate','close','SNAPSHOT_URL_KEY','synced','current','UNIVER_SLIDE','Malformed\x20UTF-8\x20data','_collaborationSessionService','_hover','concat','_keyPriorReset','keySize','permissionRejEvent','loadOfflineData','collabStatus.syncing','updateCursorEvent','infoRsp','exhaustSavingTask','CHANGESET_REVISION_CONFILICT','_scheduleCollaborationTimeoutTimer','executeCommand','LEAVE','getSheetBlock','save','assignAColorForMemberID','getRangePointData','[UniverCollaborationClientPlugin]','join','_context','catch','compose','CONFLICT','#fff','encrypt','labelPosition','RemoveRowCommandId','_document','not_collab','collab-rect-range-','HELLO','hostname','_unitOnClients','unshift','title','awaitingChangeset','subscribeEvent','red300','max','hasOwnProperty','_createInitialState','_applyRemoteChangeset','getUndoRedoMutationParamsCache','visibilityState','actions','_refRangeService','_docTransformStateCacheService','_iKey','commentUpdateEvent','getCurrentUser','Error','UNKNOWN_CODE','_updateStatus','div','getCollabEntity','MUTATION','selections','m2Prime','14712272mwFrxZ','set','removeParam','_http','off-line-single','getSheetId','_executeRemoteChangeset','clamp','state','_change$','/universer-api/authz','_getRedoStack','addObject','type','HEADER_MENU','width','_updateURLWithCurrentState','CipherParams','localeService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','loadDoc','collaboration.closeRoom','_roomMembers','_data','finalize','Pkcs7','isArray','_univerInstanceService','_waitCount','isActive','key','_collabCursorController','saveImage','extend','_onCursorDelete','params','getActiveSheet','getInterceptPoints','unsubscribe','_socketService','toString','_name','_color','_commentService','COMPRESS_MUTATION_SEND','_registerRenderDependencies','_updateState','getUnit'];_0x2db9=function(){return _0x1c50d3;};return _0x2db9();}function ta(){const _0x8f99d5=_0x29d74e;return Math[_0x8f99d5(0x424)]()[_0x8f99d5(0x394)](0x24)[_0x8f99d5(0x27e)](0x2,0x8);}Es[_0x29d74e(0x12f)]=_0x29d74e(0x306);var sa={'tag':'svg','attrs':{'fill':_0x29d74e(0x168),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x29d74e(0x251)},'children':[{'tag':'g','attrs':{'clipPath':_0x29d74e(0x2b0)},'children':[{'tag':_0x29d74e(0x3f9),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x29d74e(0x463),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29d74e(0x3ef),'attrs':{},'children':[{'tag':_0x29d74e(0x23d),'attrs':{'id':_0x29d74e(0x470)},'children':[{'tag':_0x29d74e(0x3f9),'attrs':{'fill':_0x29d74e(0x349),'d':_0x29d74e(0xfd)}}]}]}],'defIds':[_0x29d74e(0x470)]},Ni=_0x519233(function(_0x18a179,_0x54faf2){const _0x496784=_0x29d74e;return _0x462747(Es,Object[_0x496784(0x26d)]({},_0x18a179,{'id':_0x496784(0x370),'ref':_0x54faf2,'icon':sa}));});Ni[_0x29d74e(0x12f)]=_0x29d74e(0x2af);var ia={'tag':'svg','attrs':{'fill':_0x29d74e(0x168),'viewBox':'0\x200\x2017\x2016','width':_0x29d74e(0x251),'height':_0x29d74e(0x251)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x29d74e(0x3f9),'attrs':{'stroke':'currentColor','d':_0x29d74e(0x311),'strokeLinecap':'round','strokeLinejoin':_0x29d74e(0x463),'strokeWidth':1.2}}]},{'tag':_0x29d74e(0x3ef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x29d74e(0x2cf)},'children':[{'tag':_0x29d74e(0x3f9),'attrs':{'fill':_0x29d74e(0x349),'d':_0x29d74e(0xfd),'transform':'translate(.97)'}}]}]}],'defIds':[_0x29d74e(0x2cf)]},Ai=_0x519233(function(_0xfecd11,_0x831b90){const _0x5b97ba=_0x29d74e;return _0x462747(Es,Object[_0x5b97ba(0x26d)]({},_0xfecd11,{'id':'on-line-single','ref':_0x831b90,'icon':ia}));});Ai[_0x29d74e(0x12f)]='OnLineSingle';function Mi(_0xa501fd){const _0x5be026=_0x29d74e;var _0x15651f,_0x591a9f,_0x4a3116='';if(typeof _0xa501fd==_0x5be026(0x1d3)||typeof _0xa501fd==_0x5be026(0x4c1))_0x4a3116+=_0xa501fd;else{if(typeof _0xa501fd==_0x5be026(0x433)){if(Array[_0x5be026(0x386)](_0xa501fd)){var _0x69abe4=_0xa501fd['length'];for(_0x15651f=0x0;_0x15651f<_0x69abe4;_0x15651f++)_0xa501fd[_0x15651f]&&(_0x591a9f=Mi(_0xa501fd[_0x15651f]))&&(_0x4a3116&&(_0x4a3116+='\x20'),_0x4a3116+=_0x591a9f);}else{for(_0x591a9f in _0xa501fd)_0xa501fd[_0x591a9f]&&(_0x4a3116&&(_0x4a3116+='\x20'),_0x4a3116+=_0x591a9f);}}}return _0x4a3116;}function na(){const _0x5503c2=_0x29d74e;for(var _0x194243,_0x73c42,_0xa8d248=0x0,_0x3042e0='',_0x42a711=arguments[_0x5503c2(0x400)];_0xa8d248<_0x42a711;_0xa8d248++)(_0x194243=arguments[_0xa8d248])&&(_0x73c42=Mi(_0x194243))&&(_0x3042e0&&(_0x3042e0+='\x20'),_0x3042e0+=_0x73c42);return _0x3042e0;}const ra=_0x29d74e(0x2ab),oa=_0x29d74e(0x235),aa=_0x29d74e(0x42b),ca='univer-online',ha=_0x29d74e(0x2db),Ze={'onlineStatusIcon':ra,'onlineStatusTitle':oa,'onlineStatus':aa,'online':ca,'offline':ha};function la(_0x60262b){const _0x173c03=_0x29d74e;switch(_0x60262b){case J['OFFLINE']:return _0x173c03(0x260);case J[_0x173c03(0x348)]:return'collabStatus.conflict';case J[_0x173c03(0x4bb)]:return'collabStatus.fetchMiss';case J[_0x173c03(0x3f4)]:return _0x173c03(0x276);case J['AWAITING']:case J[_0x173c03(0x4ac)]:return _0x173c03(0x337);case J[_0x173c03(0x42a)]:case J['PENDING']:return _0x173c03(0x303);}}function _a(_0x5439ad){const _0x297bca=_0x29d74e,{status$:_0x5c80bd}=_0x5439ad,_0x5397e8=_0x1dd784(_0x5c80bd,J[_0x297bca(0x3f4)]),_0x3ccffd=_0x15e79c(_0x10be55),_0x5832e2=_0x15e79c(Ne),_0x202f3f=_0x5397e8!==J[_0x297bca(0x4ea)],_0x1bf296=_0x3ccffd['t'](la(_0x5397e8)),_0x1d1a82=na(Ze[_0x297bca(0x184)],{[Ze[_0x297bca(0x46b)]]:_0x202f3f,[Ze['offline']]:!_0x202f3f}),_0x4ffdf2=_0x202f3f?_0x17a3c7(Ai,{}):_0x17a3c7(Ni,{}),_0x31c739=_0x1fd2a1(()=>{const _0x3ab32f=_0x297bca;_0x202f3f||_0x5832e2[_0x3ab32f(0x22f)]();},[_0x202f3f,_0x5832e2]);function _0x9341e4(){const _0x413fb0=_0x297bca;return _0x140b2e(_0x413fb0(0x367),{'className':_0x1d1a82,'onClick':_0x31c739,'children':[_0x17a3c7(_0x413fb0(0x367),{'className':Ze[_0x413fb0(0x404)],'children':_0x4ffdf2}),_0x17a3c7(_0x413fb0(0x367),{'className':Ze[_0x413fb0(0x100)],'children':_0x1bf296})]});}return _0x202f3f?_0x9341e4():_0x17a3c7(_0x267fce,{'title':_0x3ccffd['t'](_0x297bca(0x15e)),'children':_0x9341e4()});}var ua=Object[_0x29d74e(0x229)],da=Object['getOwnPropertyDescriptor'],fa=(_0x3ab010,_0x3fc802,_0xd98b01,_0x399a27)=>{const _0x3c6dab=_0x29d74e;for(var _0x478011=_0x399a27>0x1?void 0x0:_0x399a27?da(_0x3fc802,_0xd98b01):_0x3fc802,_0xba2e99=_0x3ab010[_0x3c6dab(0x400)]-0x1,_0x5e1ac3;_0xba2e99>=0x0;_0xba2e99--)(_0x5e1ac3=_0x3ab010[_0xba2e99])&&(_0x478011=(_0x399a27?_0x5e1ac3(_0x3fc802,_0xd98b01,_0x478011):_0x5e1ac3(_0x478011))||_0x478011);return _0x399a27&&_0x478011&&ua(_0x3fc802,_0xd98b01,_0x478011),_0x478011;},ht=(_0x3b8411,_0x422dd4)=>(_0x12155b,_0x2266fc)=>_0x422dd4(_0x12155b,_0x2266fc,_0x3b8411);let St=class extends _0x3755da{constructor(_0x30079d,_0xab186f,_0x3d1d19,_0x5d2819){const _0x3659a2=_0x29d74e;super(),g(this,_0x3659a2(0x18a),new _0x260ce9(J[_0x3659a2(0x3f4)])),(this[_0x3659a2(0x387)]=_0x30079d,this[_0x3659a2(0x2fa)]=_0xab186f,this['_injector']=_0x3d1d19,this[_0x3659a2(0x3dc)]=_0x5d2819,this[_0x3659a2(0x452)](),this[_0x3659a2(0x4fa)]());}[_0x29d74e(0x4fa)](){const _0x50ee50=_0x29d74e;this[_0x50ee50(0x3d0)](this[_0x50ee50(0x387)][_0x50ee50(0x1a4)]['pipe'](_0xb89769(()=>{const _0x36bc12=_0x50ee50,_0x5c879e=this[_0x36bc12(0x387)][_0x36bc12(0x48d)]();return _0x5c879e?this[_0x36bc12(0x3dc)][_0x36bc12(0x44e)](_0x5c879e[_0x36bc12(0x4af)]()):_0x4931a8(null);}),_0xb89769(_0x1c1cef=>_0x1c1cef?_0x1c1cef[_0x50ee50(0x14e)]:_0x4931a8(J[_0x50ee50(0x3f4)])))['subscribe'](_0x3cb190=>{const _0x1fea5c=_0x50ee50;this[_0x1fea5c(0x18a)]['next'](_0x3cb190);}));}[_0x29d74e(0x452)](){const _0x5d3190=_0x29d74e;this[_0x5d3190(0x3d0)](this[_0x5d3190(0x2fa)][_0x5d3190(0x143)](_0x11ebc1[_0x5d3190(0x37a)],()=>_0x49e990(va({'status$':this[_0x5d3190(0x18a)][_0x5d3190(0x10f)]()}),this[_0x5d3190(0x1b2)])));}};St=fa([ht(0x0,_0x4c5fa7),ht(0x1,_0x30f7bf),ht(0x2,_0x37efa2(_0x1e339b)),ht(0x3,_0x37efa2(it))],St);function va(_0x1a3b75){const {status$:_0x554de2}=_0x1a3b75;return function(){return _0x17a3c7(_a,{'status$':_0x554de2});};}const xi=_0x1f1029(_0x29d74e(0x170));var ma=Object[_0x29d74e(0x229)],pa=Object[_0x29d74e(0x494)],ga=(_0x233e3f,_0x237039,_0x5a5f67,_0x57cecf)=>{const _0x3abf8e=_0x29d74e;for(var _0x444338=_0x57cecf>0x1?void 0x0:_0x57cecf?pa(_0x237039,_0x5a5f67):_0x237039,_0x38f15e=_0x233e3f[_0x3abf8e(0x400)]-0x1,_0x1d1147;_0x38f15e>=0x0;_0x38f15e--)(_0x1d1147=_0x233e3f[_0x38f15e])&&(_0x444338=(_0x57cecf?_0x1d1147(_0x237039,_0x5a5f67,_0x444338):_0x1d1147(_0x444338))||_0x444338);return _0x57cecf&&_0x444338&&ma(_0x237039,_0x5a5f67,_0x444338),_0x444338;},Be=(_0x1db41c,_0x14a1eb)=>(_0x610951,_0x445564)=>_0x14a1eb(_0x610951,_0x445564,_0x1db41c);let It=class extends _0x44a670{constructor(_0x569f8f,_0x5abe05,_0x6e73cc,_0x1fb18d,_0x1d87ff,_0x77ec59){const _0x1c8d6b=_0x29d74e;super(),this[_0x1c8d6b(0x45a)]=_0x569f8f,this[_0x1c8d6b(0x468)]=_0x5abe05,this[_0x1c8d6b(0x4eb)]=_0x6e73cc,this[_0x1c8d6b(0x2c9)]=_0x1fb18d,this[_0x1c8d6b(0x126)]=_0x1d87ff,_0x77ec59?_0x77ec59==null||_0x77ec59[_0x1c8d6b(0x274)]()[_0x1c8d6b(0x204)](()=>this[_0x1c8d6b(0x27d)]()):(this[_0x1c8d6b(0x468)]['debug'](_0x1c8d6b(0x2d0),_0x1c8d6b(0x453)),this[_0x1c8d6b(0x27d)]());}async[_0x29d74e(0x27d)](){const _0x427b35=_0x29d74e,_0x572d7e=this['_urlService'][_0x427b35(0x12c)]('unit'),_0x3e54a0=this[_0x427b35(0x45a)][_0x427b35(0x12c)](_0x427b35(0x379));if(!_0x572d7e||!_0x3e54a0){this[_0x427b35(0x468)][_0x427b35(0x3a2)](_0x427b35(0x2d0),_0x427b35(0x19e));return;}switch(Number(_0x3e54a0)){case ce[_0x427b35(0x142)]:{const _0x3a47d7=await this[_0x427b35(0x156)](_0x572d7e);this[_0x427b35(0x4ec)](_0x3a47d7);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x572d7e);break;}default:{this[_0x427b35(0x468)][_0x427b35(0x444)](_0x427b35(0x2d0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0x233a4b){const _0x4e64c6=_0x29d74e;await this['_updateSubUnitFromURLParams'](_0x233a4b),_0x233a4b[_0x4e64c6(0x137)]['pipe'](_0xb0a601(this['dispose$']))['subscribe'](_0x4110d3=>{const _0x325cf3=_0x4e64c6;_0x4110d3&&this[_0x325cf3(0x37c)](_0x4110d3);}),this[_0x4e64c6(0x45a)]['urlChange$'][_0x4e64c6(0x472)](_0xb0a601(this[_0x4e64c6(0x201)]))[_0x4e64c6(0x3c2)](()=>this['_updateSubUnitFromURLParams'](_0x233a4b));}[_0x29d74e(0x37c)](_0x46979,_0x1278b6=!0x1){const _0x210a92=_0x29d74e,_0x5c8ed4=this[_0x210a92(0x45a)][_0x210a92(0x12c)](_0x210a92(0x2bb));_0x46979['getSheetId']()!==_0x5c8ed4&&this[_0x210a92(0x45a)]['setParam'](_0x210a92(0x2bb),_0x46979[_0x210a92(0x371)](),_0x1278b6);}async[_0x29d74e(0x1eb)](_0x4abf7a){const _0x5e5df7=_0x29d74e;var _0x546661;const _0x322ffe=this[_0x5e5df7(0x45a)][_0x5e5df7(0x12c)]('subunit');if(!_0x322ffe||!_0x4abf7a['getSheetBySheetId'](_0x322ffe)){const _0x31b49a=_0x4abf7a['getUnhiddenWorksheets']()[0x0],_0x34e19e=_0x4abf7a[_0x5e5df7(0x314)](_0x31b49a);if(!_0x34e19e)return;this[_0x5e5df7(0x37c)](_0x34e19e,!0x0),await this[_0x5e5df7(0x4eb)][_0x5e5df7(0x33d)](_0x3a907a['id'],{'unitId':_0x4abf7a[_0x5e5df7(0x4af)](),'subUnitId':_0x31b49a});return;}((_0x546661=_0x4abf7a[_0x5e5df7(0x390)]())==null?void 0x0:_0x546661[_0x5e5df7(0x371)]())!==_0x322ffe&&await this['_commandService']['executeCommand'](_0x3a907a['id'],{'unitId':_0x4abf7a[_0x5e5df7(0x4af)](),'subUnitId':_0x322ffe});}async['_loadSheet'](_0x45fc6d){const _0x4a01eb=_0x29d74e;let _0x2524be=0x0;const _0x2cd08f=await this[_0x4a01eb(0x2c9)][_0x4a01eb(0x336)](_0x45fc6d);return _0x2cd08f&&(_0x2cd08f[_0x4a01eb(0x355)]||_0x2cd08f[_0x4a01eb(0x3cd)]['length']!==0x0)&&(_0x2524be=_0x2cd08f[_0x4a01eb(0x21c)]),_0x2524be===0x0&&this[_0x4a01eb(0x468)][_0x4a01eb(0x3a2)](_0x4a01eb(0x2d0),_0x4a01eb(0x432)),this[_0x4a01eb(0x126)][_0x4a01eb(0x19f)](_0x45fc6d,_0x2524be);}async['_loadDoc'](_0x587a77){const _0x5cb94d=_0x29d74e;let _0x568ea6=0x0;const _0x572ae5=await this['_localCacheService'][_0x5cb94d(0x336)](_0x587a77);return _0x572ae5&&(_0x572ae5[_0x5cb94d(0x355)]||_0x572ae5[_0x5cb94d(0x3cd)]['length']!==0x0)&&(_0x568ea6=_0x572ae5[_0x5cb94d(0x21c)]),_0x568ea6===0x0&&this[_0x5cb94d(0x468)][_0x5cb94d(0x3a2)](_0x5cb94d(0x2d0),_0x5cb94d(0x432)),this['_snapshotService'][_0x5cb94d(0x380)](_0x587a77,_0x568ea6);}};It=ga([Be(0x0,xi),Be(0x1,_0x2b335c),Be(0x2,_0xc41305),Be(0x3,_0x37efa2(q)),Be(0x4,_0x37efa2(_0x7ad995)),Be(0x5,_0x4e2ed1(_0x1a02c6))],It);var Sa=Object[_0x29d74e(0x229)],Ia=Object[_0x29d74e(0x494)],Ca=(_0x1e82ef,_0x5f3e0c,_0x372dfe,_0x46829b)=>{const _0x1ba94b=_0x29d74e;for(var _0x294582=_0x46829b>0x1?void 0x0:_0x46829b?Ia(_0x5f3e0c,_0x372dfe):_0x5f3e0c,_0x4f3871=_0x1e82ef[_0x1ba94b(0x400)]-0x1,_0x1693c0;_0x4f3871>=0x0;_0x4f3871--)(_0x1693c0=_0x1e82ef[_0x4f3871])&&(_0x294582=(_0x46829b?_0x1693c0(_0x5f3e0c,_0x372dfe,_0x294582):_0x1693c0(_0x294582))||_0x294582);return _0x46829b&&_0x294582&&Sa(_0x5f3e0c,_0x372dfe,_0x294582),_0x294582;},Ys=(_0x3f6de2,_0x2644ad)=>(_0x20b0e7,_0x26fd38)=>_0x2644ad(_0x20b0e7,_0x26fd38,_0x3f6de2);const Ea=_0x29d74e(0x436),ba=_0x29d74e(0x3e8);let Ct=class extends _0x3755da{constructor(_0x1e2b25,_0x363cdd){const _0x4952ef=_0x29d74e;super(),this['_univerInstanceService']=_0x1e2b25,this[_0x4952ef(0x3e5)]=_0x363cdd,this['_init']();}[_0x29d74e(0x27d)](){const _0x37e559=_0x29d74e;this[_0x37e559(0x3d0)](this[_0x37e559(0x387)][_0x37e559(0x1a4)][_0x37e559(0x3c2)](()=>{const _0xafd91d=_0x37e559;var _0x546c3a;const _0x5a8d2f=this[_0xafd91d(0x387)][_0xafd91d(0x48d)]();let _0x1d5490=(_0x546c3a=this['_configService'][_0xafd91d(0x3df)](Ea))!=null?_0x546c3a:ba;_0x5a8d2f instanceof _0x43f26f&&(_0x1d5490=_0x5a8d2f[_0xafd91d(0x3f5)]),document[_0xafd91d(0x354)]=_0x1d5490;}));}};Ct=Ca([Ys(0x0,_0x4c5fa7),Ys(0x1,_0x167231)],Ct);var Ta=Object['defineProperty'],Ra=Object[_0x29d74e(0x494)],ya=(_0x22fa72,_0x2621da,_0x4a1427,_0x49efe5)=>{const _0x4a2140=_0x29d74e;for(var _0x281e55=_0x49efe5>0x1?void 0x0:_0x49efe5?Ra(_0x2621da,_0x4a1427):_0x2621da,_0x464ef7=_0x22fa72[_0x4a2140(0x400)]-0x1,_0x5db0ab;_0x464ef7>=0x0;_0x464ef7--)(_0x5db0ab=_0x22fa72[_0x464ef7])&&(_0x281e55=(_0x49efe5?_0x5db0ab(_0x2621da,_0x4a1427,_0x281e55):_0x5db0ab(_0x281e55))||_0x281e55);return _0x49efe5&&_0x281e55&&Ta(_0x2621da,_0x4a1427,_0x281e55),_0x281e55;},kt=(_0x4ce099,_0x2cc629)=>(_0xd21df8,_0x18bfe6)=>_0x2cc629(_0xd21df8,_0x18bfe6,_0x4ce099);let Et=class{constructor(_0xc7f1b5,_0x51846c,_0x2d15fd){const _0x542d8e=_0x29d74e;this[_0x542d8e(0x3e5)]=_0xc7f1b5,this[_0x542d8e(0x1c3)]=_0x51846c,this[_0x542d8e(0x37e)]=_0x2d15fd,this[_0x542d8e(0x3b9)]();}['init'](){const _0x35c478=_0x29d74e;this[_0x35c478(0x1c3)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x7554fa,_0x1c4bd2)=>_0x1c4bd2(_0x7554fa)[_0x35c478(0x472)](_0x21939c(async _0x2bf5c0=>{const _0x5e2cb2=_0x35c478,_0xb8b508=_0x2bf5c0;if(_0xb8b508[_0x5e2cb2(0x4c7)]===0x191&&window[_0x5e2cb2(0x4e1)](this[_0x5e2cb2(0x37e)]['t']('auth.needGotoLoginAlert'))){const _0x3a8db4=window[_0x5e2cb2(0x1d5)](window['location'][_0x5e2cb2(0x3bb)]);window[_0x5e2cb2(0x41d)][_0x5e2cb2(0x3bb)]=this['_getLoginPath']()+_0x5e2cb2(0x1bb)+_0x3a8db4;}return _0xb8b508;}))});}[_0x29d74e(0x3c6)](){const _0x2d2b91=_0x29d74e;var _0x2ac5f0,_0x3e2a22;const _0x403196=this['_configService'][_0x2d2b91(0x3df)](Sr),_0x4819cc=this[_0x2d2b91(0x3e5)][_0x2d2b91(0x3df)](ie);return(_0x3e2a22=(_0x2ac5f0=_0x4819cc==null?void 0x0:_0x4819cc[_0x2d2b91(0x181)])!=null?_0x2ac5f0:_0x403196)!=null?_0x3e2a22:Ir;}};Et=ya([kt(0x0,_0x167231),kt(0x1,_0x37efa2(_0x28ac76)),kt(0x2,_0x37efa2(_0x10be55))],Et);var Oa=Object[_0x29d74e(0x229)],wa=Object[_0x29d74e(0x494)],Da=(_0x1ccf38,_0xbb167a,_0x1167a4,_0x5a63d7)=>{const _0x20c7ec=_0x29d74e;for(var _0x507d64=_0x5a63d7>0x1?void 0x0:_0x5a63d7?wa(_0xbb167a,_0x1167a4):_0xbb167a,_0x45221e=_0x1ccf38[_0x20c7ec(0x400)]-0x1,_0x153fa7;_0x45221e>=0x0;_0x45221e--)(_0x153fa7=_0x1ccf38[_0x45221e])&&(_0x507d64=(_0x5a63d7?_0x153fa7(_0xbb167a,_0x1167a4,_0x507d64):_0x153fa7(_0x507d64))||_0x507d64);return _0x5a63d7&&_0x507d64&&Oa(_0xbb167a,_0x1167a4,_0x507d64),_0x507d64;},Ks=(_0x3462a0,_0x1feaa6)=>(_0x19d520,_0x134c66)=>_0x1feaa6(_0x19d520,_0x134c66,_0x3462a0);const Pa=_0x29d74e(0x212),Ua=_0x29d74e(0x376);let os=class extends _0x3755da{constructor(_0x26378c,_0x3945d0){const _0xf47e8b=_0x29d74e;super(),this[_0xf47e8b(0x1e6)]=_0x26378c,this[_0xf47e8b(0x3e5)]=_0x3945d0,this[_0xf47e8b(0x3d7)]();}[_0x29d74e(0x3d7)](){const _0x13cda8=_0x29d74e,_0x197237=this;this['disposeWithMe'](this[_0x13cda8(0x1e6)][_0x13cda8(0x409)]({'priority':0x3e7,'interceptor':_0x9684c3({'isMatch'(_0x2e2545){const _0x1643f1=_0x13cda8;var _0x498707;if(_0x2e2545[_0x1643f1(0x3e1)]===_0x1643f1(0x17f)&&((_0x498707=_0x2e2545[_0x1643f1(0x4ce)])!=null&&_0x498707[_0x1643f1(0x257)])){const {objectID:_0x437740,objectType:_0x37a7f6}=_0x2e2545[_0x1643f1(0x4ce)][_0x1643f1(0x257)]||{};if(!_0x437740||_0x37a7f6===void 0x0)return!0x1;const _0x517fc2=_0x197237[_0x1643f1(0x3fe)]()+'/'+_0x37a7f6+_0x1643f1(0x2f0)+_0x437740+'/allowed';if(_0x2e2545[_0x1643f1(0x43c)]===_0x517fc2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x19489c){const _0x303731=_0x13cda8;var _0x5aaf02;return(_0x5aaf02=_0x19489c[_0x303731(0x4ce)])==null?void 0x0:_0x5aaf02[_0x303731(0x257)];},'mergeParamsToRequest'(_0x1d743e,_0x20b2ba){const _0x514536=_0x13cda8,_0x422e90=_0x197237['_getAPIPrefixPath']()+_0x514536(0x3d9),_0x3ba63e=_0x1d743e['reduce']((_0x474149,_0x54c6c3)=>{const _0x3ee032=_0x514536,{unitID:_0x1b6383,objectID:_0x3eb8d5,objectType:_0x1a6873,actions:_0x5a0426}=_0x54c6c3;return _0x474149[_0x1b6383]||(_0x474149[_0x1b6383]={}),_0x474149[_0x1b6383][_0x3eb8d5]||(_0x474149[_0x1b6383][_0x3eb8d5]={'objectID':_0x3eb8d5,'objectType':_0x1a6873,'actions':[]}),_0x474149[_0x1b6383][_0x3eb8d5][_0x3ee032(0x35e)][_0x3ee032(0x183)](..._0x5a0426),_0x474149;},{}),_0xcccfa8=[];for(const _0x22d48d in _0x3ba63e)for(const _0x2c9315 in _0x3ba63e[_0x22d48d]){const {actions:_0x1e196b,objectType:_0x459d11}=_0x3ba63e[_0x22d48d][_0x2c9315],_0x4b59eb=[...new Set(_0x1e196b)];_0xcccfa8[_0x514536(0x183)]({'unitID':_0x22d48d,'objectID':_0x2c9315,'objectType':_0x459d11,'actions':_0x4b59eb});}return new _0x10d3ff(_0x514536(0x17f),_0x422e90,{'headers':_0x20b2ba[_0x514536(0x103)],'withCredentials':_0x20b2ba[_0x514536(0x3d6)],'responseType':_0x20b2ba[_0x514536(0x485)],'body':{'requests':_0xcccfa8}});}},{'distributeResult'(_0x5978d4,_0x9f6ee){const _0x2e2ead=_0x13cda8,{objectActions:_0x484d55}=_0x5978d4;return _0x9f6ee[_0x2e2ead(0x319)](_0x2028e0=>{const _0x5d1b97=_0x2e2ead,{unitID:_0x2a40a6,objectID:_0x3eb8fc,actions:_0x27284f}=_0x2028e0,_0x1a229f=_0x484d55[_0x5d1b97(0x3ec)](_0x238ed8=>_0x238ed8[_0x5d1b97(0x46f)]===_0x2a40a6&&_0x238ed8[_0x5d1b97(0x110)]===_0x3eb8fc),_0x20936e=_0x27284f[_0x5d1b97(0x319)](_0x87cafb=>_0x1a229f==null?void 0x0:_0x1a229f[_0x5d1b97(0x35e)]['find'](_0x6675df=>_0x6675df[_0x5d1b97(0x2d3)]===_0x87cafb))['filter'](_0x5ac107=>!!_0x5ac107);return{'config':_0x2028e0,'result':{'actions':_0x20936e,'error':_0x5978d4['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x4cfd6b=_0x29d74e;var _0x326fdf,_0x1f5709;const _0x225bee=this[_0x4cfd6b(0x3e5)][_0x4cfd6b(0x3df)](Pa),_0x242603=this[_0x4cfd6b(0x3e5)][_0x4cfd6b(0x3df)](ie);return(_0x1f5709=(_0x326fdf=_0x242603==null?void 0x0:_0x242603[_0x4cfd6b(0x30d)])!=null?_0x326fdf:_0x225bee)!=null?_0x1f5709:Ua;}async[_0x29d74e(0x4f2)](_0x425563){const _0x42377b=_0x29d74e,_0x346ee9=this[_0x42377b(0x3fe)]()+'/'+_0x425563['objectType']+_0x42377b(0x324);return(await this['_HTTPService'][_0x42377b(0x243)](_0x346ee9,{'body':_0x425563}))['body'][_0x42377b(0x110)]||'';}async[_0x29d74e(0x228)](_0x5a029d){const _0x4a5b92=_0x29d74e,_0x6b2056=this[_0x4a5b92(0x3fe)]()+'/-/object/list';return(await this[_0x4a5b92(0x1e6)][_0x4a5b92(0x243)](_0x6b2056,{'body':_0x5a029d}))[_0x4a5b92(0x257)][_0x4a5b92(0x3c9)];}async['update'](_0x874391){const _0x174962=_0x29d74e,_0x18e784=this[_0x174962(0x3fe)]()+'/'+_0x874391[_0x174962(0x29a)]+'/object/'+_0x874391[_0x174962(0x110)];await this[_0x174962(0x1e6)][_0x174962(0x2f2)](_0x18e784,{'body':_0x874391});}async[_0x29d74e(0x4a6)](_0x57643e){const _0x38f696=_0x29d74e,_0x5ef848=this[_0x38f696(0x3fe)]()+'/'+_0x57643e[_0x38f696(0x29a)]+'/object/'+_0x57643e[_0x38f696(0x110)]+_0x38f696(0x4b2);return(await this['_HTTPService'][_0x38f696(0x243)](_0x5ef848,{'body':_0x57643e}))[_0x38f696(0x257)]['actions'];}async[_0x29d74e(0x213)](_0xb27a6){const _0x198489=_0x29d74e,_0x5036e5=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x198489(0x1e6)][_0x198489(0x243)](_0x5036e5,{'body':{'requests':_0xb27a6}}))[_0x198489(0x257)]['objectActions'];}async[_0x29d74e(0x17a)](_0x1ce255){const _0xac6287=_0x29d74e,_0x22067e=this[_0xac6287(0x3fe)]()+'/'+_0x1ce255[_0xac6287(0x29a)]+_0xac6287(0x416),_0x1771fa=await this['_HTTPService'][_0xac6287(0x243)](_0x22067e,{'body':_0x1ce255});return{'roles':_0x1771fa[_0xac6287(0x257)][_0xac6287(0x155)],'actions':_0x1771fa['body']['actions']};}async[_0x29d74e(0x474)](_0x4e54c6){const _0x4f1592=_0x29d74e,_0x178786=this[_0x4f1592(0x3fe)]()+_0x4f1592(0x2ad);await this['_HTTPService'][_0x4f1592(0x4f6)](_0x178786,{'params':{'collaboratorID':_0x4e54c6[_0x4f1592(0x282)],'objectID':_0x4e54c6[_0x4f1592(0x110)],'unitID':_0x4e54c6[_0x4f1592(0x46f)]}});}async['updateCollaborator'](_0x177631){const _0x4de2d3=_0x29d74e,_0x291b17=this[_0x4de2d3(0x3fe)]()+'/collaborator';await this[_0x4de2d3(0x1e6)][_0x4de2d3(0x18b)](_0x291b17,{'body':_0x177631});}async[_0x29d74e(0x1c1)](_0x2db3b2){const _0x35b31b=_0x29d74e,_0x2bfe8f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x35b31b(0x1e6)][_0x35b31b(0x243)](_0x2bfe8f,{'body':_0x2db3b2});}async['listCollaborators'](_0x100835){const _0x5c3d96=_0x29d74e,_0x17c7ff=this[_0x5c3d96(0x3fe)]()+_0x5c3d96(0x2ad);return(await this[_0x5c3d96(0x1e6)][_0x5c3d96(0x177)](_0x17c7ff,{'params':{'objectID':_0x100835['objectID'],'unitID':_0x100835['unitID']}}))[_0x5c3d96(0x257)][_0x5c3d96(0x2be)];}async[_0x29d74e(0x313)](_0x5b0eea){const _0x3ec13d=_0x29d74e,_0x16f7b5=this[_0x3ec13d(0x3fe)]()+_0x3ec13d(0x2ad);await this[_0x3ec13d(0x1e6)][_0x3ec13d(0x2f2)](_0x16f7b5,{'body':_0x5b0eea});}};os=Da([Ks(0x0,_0x37efa2(_0x28ac76)),Ks(0x1,_0x37efa2(_0x167231))],os);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x346110){const _0x3e2f12=_0x29d74e;return _0x346110&&_0x346110['__esModule']&&Object[_0x3e2f12(0x1b7)][_0x3e2f12(0x359)][_0x3e2f12(0x46d)](_0x346110,_0x3e2f12(0x4e5))?_0x346110[_0x3e2f12(0x4e5)]:_0x346110;}var Li={'exports':{}};function Na(_0x337527){const _0x5a2eb9=_0x29d74e;throw new Error(_0x5a2eb9(0x2c7)+_0x337527+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Wt={'exports':{}},zs;function ue(){const _0x15383c=_0x29d74e;return zs||(zs=0x1,function(_0x525185,_0x2e74b3){(function(_0x2a4d61,_0x281c1f){const _0x5ad1c8=_0x2ea9;_0x525185[_0x5ad1c8(0x3a9)]=_0x281c1f();}(Z,function(){var _0x3d3a1e=_0x3d3a1e||function(_0x4327cc,_0xbfa7fd){const _0x185917=_0x2ea9;var _0x34eeca;if(typeof window<'u'&&window[_0x185917(0x327)]&&(_0x34eeca=window[_0x185917(0x327)]),typeof self<'u'&&self[_0x185917(0x327)]&&(_0x34eeca=self[_0x185917(0x327)]),typeof globalThis<'u'&&globalThis[_0x185917(0x327)]&&(_0x34eeca=globalThis['crypto']),!_0x34eeca&&typeof window<'u'&&window[_0x185917(0x42e)]&&(_0x34eeca=window['msCrypto']),!_0x34eeca&&typeof Z<'u'&&Z[_0x185917(0x327)]&&(_0x34eeca=Z[_0x185917(0x327)]),!_0x34eeca&&typeof Na==_0x185917(0x31f))try{_0x34eeca=require(_0x185917(0x327));}catch{}var _0x1e33c9=function(){const _0x201af0=_0x185917;if(_0x34eeca){if(typeof _0x34eeca[_0x201af0(0x10b)]==_0x201af0(0x31f))try{return _0x34eeca[_0x201af0(0x10b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x34eeca['randomBytes']==_0x201af0(0x31f))try{return _0x34eeca['randomBytes'](0x4)[_0x201af0(0xf2)]();}catch{}}throw new Error(_0x201af0(0x122));},_0x30677d=Object[_0x185917(0x4f2)]||(function(){function _0x5a70f3(){}return function(_0x598e3c){const _0xe49ce5=_0x2ea9;var _0x45878a;return _0x5a70f3[_0xe49ce5(0x1b7)]=_0x598e3c,_0x45878a=new _0x5a70f3(),_0x5a70f3[_0xe49ce5(0x1b7)]=null,_0x45878a;};}()),_0x257fcd={},_0x3087e7=_0x257fcd[_0x185917(0x430)]={},_0x33f773=_0x3087e7['Base']=(function(){return{'extend':function(_0x2f5498){const _0x3a044c=_0x2ea9;var _0x15956a=_0x30677d(this);return _0x2f5498&&_0x15956a[_0x3a044c(0x47f)](_0x2f5498),(!_0x15956a['hasOwnProperty'](_0x3a044c(0x3b9))||this[_0x3a044c(0x3b9)]===_0x15956a[_0x3a044c(0x3b9)])&&(_0x15956a['init']=function(){const _0x165f8e=_0x3a044c;_0x15956a[_0x165f8e(0x427)][_0x165f8e(0x3b9)][_0x165f8e(0x493)](this,arguments);}),_0x15956a[_0x3a044c(0x3b9)][_0x3a044c(0x1b7)]=_0x15956a,_0x15956a[_0x3a044c(0x427)]=this,_0x15956a;},'create':function(){const _0x4d42a6=_0x2ea9;var _0x2471c3=this[_0x4d42a6(0x38d)]();return _0x2471c3[_0x4d42a6(0x3b9)][_0x4d42a6(0x493)](_0x2471c3,arguments),_0x2471c3;},'init':function(){},'mixIn':function(_0x4fedad){const _0x510dae=_0x2ea9;for(var _0x4cfae9 in _0x4fedad)_0x4fedad[_0x510dae(0x359)](_0x4cfae9)&&(this[_0x4cfae9]=_0x4fedad[_0x4cfae9]);_0x4fedad['hasOwnProperty'](_0x510dae(0x394))&&(this[_0x510dae(0x394)]=_0x4fedad[_0x510dae(0x394)]);},'clone':function(){const _0x1e932c=_0x2ea9;return this[_0x1e932c(0x3b9)][_0x1e932c(0x1b7)][_0x1e932c(0x38d)](this);}};}()),_0x18e71b=_0x3087e7[_0x185917(0x159)]=_0x33f773[_0x185917(0x38d)]({'init':function(_0x503b8f,_0xfc7fb){const _0x18daea=_0x185917;_0x503b8f=this[_0x18daea(0x26b)]=_0x503b8f||[],_0xfc7fb!=_0xbfa7fd?this['sigBytes']=_0xfc7fb:this['sigBytes']=_0x503b8f[_0x18daea(0x400)]*0x4;},'toString':function(_0x319618){const _0x256e13=_0x185917;return(_0x319618||_0x2d6430)[_0x256e13(0x11f)](this);},'concat':function(_0x327449){const _0x18a1d1=_0x185917;var _0x2a1d39=this['words'],_0x1ccda5=_0x327449[_0x18a1d1(0x26b)],_0x3bfa3a=this[_0x18a1d1(0x2d2)],_0x2c9de8=_0x327449['sigBytes'];if(this[_0x18a1d1(0x373)](),_0x3bfa3a%0x4)for(var _0x4605a7=0x0;_0x4605a7<_0x2c9de8;_0x4605a7++){var _0x29bdd9=_0x1ccda5[_0x4605a7>>>0x2]>>>0x18-_0x4605a7%0x4*0x8&0xff;_0x2a1d39[_0x3bfa3a+_0x4605a7>>>0x2]|=_0x29bdd9<<0x18-(_0x3bfa3a+_0x4605a7)%0x4*0x8;}else{for(var _0x2f8238=0x0;_0x2f8238<_0x2c9de8;_0x2f8238+=0x4)_0x2a1d39[_0x3bfa3a+_0x2f8238>>>0x2]=_0x1ccda5[_0x2f8238>>>0x2];}return this[_0x18a1d1(0x2d2)]+=_0x2c9de8,this;},'clamp':function(){const _0x14e536=_0x185917;var _0x17580b=this[_0x14e536(0x26b)],_0x275411=this[_0x14e536(0x2d2)];_0x17580b[_0x275411>>>0x2]&=0xffffffff<<0x20-_0x275411%0x4*0x8,_0x17580b[_0x14e536(0x400)]=_0x4327cc['ceil'](_0x275411/0x4);},'clone':function(){const _0x44fb3a=_0x185917;var _0x10be20=_0x33f773[_0x44fb3a(0x2e7)][_0x44fb3a(0x46d)](this);return _0x10be20[_0x44fb3a(0x26b)]=this[_0x44fb3a(0x26b)][_0x44fb3a(0x21b)](0x0),_0x10be20;},'random':function(_0x5b56cb){const _0x3e6d42=_0x185917;for(var _0x20394e=[],_0x387d06=0x0;_0x387d06<_0x5b56cb;_0x387d06+=0x4)_0x20394e[_0x3e6d42(0x183)](_0x1e33c9());return new _0x18e71b['init'](_0x20394e,_0x5b56cb);}}),_0xd27e13=_0x257fcd['enc']={},_0x2d6430=_0xd27e13[_0x185917(0x3d4)]={'stringify':function(_0x3e5375){const _0x2e54a3=_0x185917;for(var _0x55f1be=_0x3e5375['words'],_0x317f11=_0x3e5375[_0x2e54a3(0x2d2)],_0x89b3ab=[],_0x56f65b=0x0;_0x56f65b<_0x317f11;_0x56f65b++){var _0x27e03a=_0x55f1be[_0x56f65b>>>0x2]>>>0x18-_0x56f65b%0x4*0x8&0xff;_0x89b3ab['push']((_0x27e03a>>>0x4)[_0x2e54a3(0x394)](0x10)),_0x89b3ab[_0x2e54a3(0x183)]((_0x27e03a&0xf)['toString'](0x10));}return _0x89b3ab[_0x2e54a3(0x344)]('');},'parse':function(_0x13829b){const _0x243285=_0x185917;for(var _0x4fcc52=_0x13829b[_0x243285(0x400)],_0x7998dd=[],_0x7aeddd=0x0;_0x7aeddd<_0x4fcc52;_0x7aeddd+=0x2)_0x7998dd[_0x7aeddd>>>0x3]|=parseInt(_0x13829b[_0x243285(0x2c2)](_0x7aeddd,0x2),0x10)<<0x18-_0x7aeddd%0x8*0x4;return new _0x18e71b['init'](_0x7998dd,_0x4fcc52/0x2);}},_0x328cfc=_0xd27e13[_0x185917(0x1d7)]={'stringify':function(_0x563647){const _0xf4eb12=_0x185917;for(var _0x29a3a5=_0x563647['words'],_0x5d3b63=_0x563647[_0xf4eb12(0x2d2)],_0x33d452=[],_0xbb5aa2=0x0;_0xbb5aa2<_0x5d3b63;_0xbb5aa2++){var _0x55c77f=_0x29a3a5[_0xbb5aa2>>>0x2]>>>0x18-_0xbb5aa2%0x4*0x8&0xff;_0x33d452[_0xf4eb12(0x183)](String[_0xf4eb12(0x13c)](_0x55c77f));}return _0x33d452[_0xf4eb12(0x344)]('');},'parse':function(_0x50b818){const _0x30e854=_0x185917;for(var _0x20bebd=_0x50b818[_0x30e854(0x400)],_0x4fceaa=[],_0x6f1bf7=0x0;_0x6f1bf7<_0x20bebd;_0x6f1bf7++)_0x4fceaa[_0x6f1bf7>>>0x2]|=(_0x50b818['charCodeAt'](_0x6f1bf7)&0xff)<<0x18-_0x6f1bf7%0x4*0x8;return new _0x18e71b['init'](_0x4fceaa,_0x20bebd);}},_0x176fab=_0xd27e13['Utf8']={'stringify':function(_0x22bab0){const _0x428254=_0x185917;try{return decodeURIComponent(escape(_0x328cfc[_0x428254(0x11f)](_0x22bab0)));}catch{throw new Error(_0x428254(0x32f));}},'parse':function(_0x219b51){const _0x399f86=_0x185917;return _0x328cfc[_0x399f86(0x169)](unescape(encodeURIComponent(_0x219b51)));}},_0x88f6d3=_0x3087e7[_0x185917(0x4f8)]=_0x33f773[_0x185917(0x38d)]({'reset':function(){const _0x388687=_0x185917;this[_0x388687(0x383)]=new _0x18e71b[(_0x388687(0x3b9))](),this[_0x388687(0x487)]=0x0;},'_append':function(_0x588140){const _0x5f0816=_0x185917;typeof _0x588140=='string'&&(_0x588140=_0x176fab['parse'](_0x588140)),this[_0x5f0816(0x383)]['concat'](_0x588140),this[_0x5f0816(0x487)]+=_0x588140[_0x5f0816(0x2d2)];},'_process':function(_0x464441){const _0x54b104=_0x185917;var _0x285db4,_0x4a0f23=this[_0x54b104(0x383)],_0x8eb195=_0x4a0f23[_0x54b104(0x26b)],_0xb0c2e2=_0x4a0f23[_0x54b104(0x2d2)],_0x53bae9=this['blockSize'],_0x24ecff=_0x53bae9*0x4,_0xd0b87a=_0xb0c2e2/_0x24ecff;_0x464441?_0xd0b87a=_0x4327cc['ceil'](_0xd0b87a):_0xd0b87a=_0x4327cc[_0x54b104(0x358)]((_0xd0b87a|0x0)-this[_0x54b104(0xfc)],0x0);var _0x360d63=_0xd0b87a*_0x53bae9,_0x47b8f9=_0x4327cc[_0x54b104(0x280)](_0x360d63*0x4,_0xb0c2e2);if(_0x360d63){for(var _0x2f9b22=0x0;_0x2f9b22<_0x360d63;_0x2f9b22+=_0x53bae9)this[_0x54b104(0x25b)](_0x8eb195,_0x2f9b22);_0x285db4=_0x8eb195['splice'](0x0,_0x360d63),_0x4a0f23['sigBytes']-=_0x47b8f9;}return new _0x18e71b[(_0x54b104(0x3b9))](_0x285db4,_0x47b8f9);},'clone':function(){const _0x3e3120=_0x185917;var _0x1f788a=_0x33f773[_0x3e3120(0x2e7)][_0x3e3120(0x46d)](this);return _0x1f788a[_0x3e3120(0x383)]=this[_0x3e3120(0x383)][_0x3e3120(0x2e7)](),_0x1f788a;},'_minBufferSize':0x0});_0x3087e7[_0x185917(0x4c9)]=_0x88f6d3[_0x185917(0x38d)]({'cfg':_0x33f773[_0x185917(0x38d)](),'init':function(_0x31adfa){const _0x29fe0e=_0x185917;this['cfg']=this[_0x29fe0e(0xf9)][_0x29fe0e(0x38d)](_0x31adfa),this[_0x29fe0e(0x230)]();},'reset':function(){const _0x3cb107=_0x185917;_0x88f6d3[_0x3cb107(0x230)][_0x3cb107(0x46d)](this),this[_0x3cb107(0x321)]();},'update':function(_0x4bac61){const _0x140fea=_0x185917;return this[_0x140fea(0x4d2)](_0x4bac61),this[_0x140fea(0x4d0)](),this;},'finalize':function(_0x44ff22){const _0x5666e1=_0x185917;_0x44ff22&&this[_0x5666e1(0x4d2)](_0x44ff22);var _0x429e23=this[_0x5666e1(0x206)]();return _0x429e23;},'blockSize':0x10,'_createHelper':function(_0xb28064){return function(_0x56a604,_0x4f63fc){const _0x2957f3=_0x2ea9;return new _0xb28064['init'](_0x4f63fc)[_0x2957f3(0x384)](_0x56a604);};},'_createHmacHelper':function(_0x5e83b7){return function(_0x1efa3b,_0x4b2997){const _0x6518e0=_0x2ea9;return new _0x38e7a4[(_0x6518e0(0x499))][(_0x6518e0(0x3b9))](_0x5e83b7,_0x4b2997)['finalize'](_0x1efa3b);};}});var _0x38e7a4=_0x257fcd[_0x185917(0x262)]={};return _0x257fcd;}(Math);return _0x3d3a1e;}));}(Wt)),Wt[_0x15383c(0x3a9)];}var $i={'exports':{}};(function(_0x40bb94,_0x552a1f){(function(_0x5c823c,_0x3bb2b1){_0x40bb94['exports']=_0x3bb2b1(ue());}(Z,function(_0x18b0a5){const _0x561dc0=_0x2ea9;return(function(){const _0x326b7f=_0x2ea9;var _0x354219=_0x18b0a5,_0x33f950=_0x354219['lib'],_0x2cf8b5=_0x33f950[_0x326b7f(0x159)],_0x26075f=_0x354219[_0x326b7f(0x25f)];_0x26075f[_0x326b7f(0x3aa)]={'stringify':function(_0x14c390){const _0x5c26e5=_0x326b7f;var _0x321663=_0x14c390['words'],_0x3e8d0a=_0x14c390[_0x5c26e5(0x2d2)],_0x36eb69=this['_map'];_0x14c390['clamp']();for(var _0x2ec173=[],_0x200d8d=0x0;_0x200d8d<_0x3e8d0a;_0x200d8d+=0x3)for(var _0x2a087e=_0x321663[_0x200d8d>>>0x2]>>>0x18-_0x200d8d%0x4*0x8&0xff,_0x392345=_0x321663[_0x200d8d+0x1>>>0x2]>>>0x18-(_0x200d8d+0x1)%0x4*0x8&0xff,_0x178b58=_0x321663[_0x200d8d+0x2>>>0x2]>>>0x18-(_0x200d8d+0x2)%0x4*0x8&0xff,_0x2d308a=_0x2a087e<<0x10|_0x392345<<0x8|_0x178b58,_0x3d5549=0x0;_0x3d5549<0x4&&_0x200d8d+_0x3d5549*0.75<_0x3e8d0a;_0x3d5549++)_0x2ec173[_0x5c26e5(0x183)](_0x36eb69[_0x5c26e5(0x1f8)](_0x2d308a>>>0x6*(0x3-_0x3d5549)&0x3f));var _0x4ae3f3=_0x36eb69['charAt'](0x40);if(_0x4ae3f3){for(;_0x2ec173['length']%0x4;)_0x2ec173['push'](_0x4ae3f3);}return _0x2ec173['join']('');},'parse':function(_0x386b35){const _0x1cbf90=_0x326b7f;var _0xcd2b6e=_0x386b35[_0x1cbf90(0x400)],_0x2651b8=this[_0x1cbf90(0x3ae)],_0x58e3da=this['_reverseMap'];if(!_0x58e3da){_0x58e3da=this[_0x1cbf90(0x496)]=[];for(var _0x35f32a=0x0;_0x35f32a<_0x2651b8[_0x1cbf90(0x400)];_0x35f32a++)_0x58e3da[_0x2651b8['charCodeAt'](_0x35f32a)]=_0x35f32a;}var _0x43beda=_0x2651b8[_0x1cbf90(0x1f8)](0x40);if(_0x43beda){var _0x5d545f=_0x386b35['indexOf'](_0x43beda);_0x5d545f!==-0x1&&(_0xcd2b6e=_0x5d545f);}return _0x1555e3(_0x386b35,_0xcd2b6e,_0x58e3da);},'_map':_0x326b7f(0x44f)};function _0x1555e3(_0x4a112c,_0x94d1e8,_0x3473cb){const _0xe1e185=_0x326b7f;for(var _0x365503=[],_0xfff1bb=0x0,_0x31e788=0x0;_0x31e788<_0x94d1e8;_0x31e788++)if(_0x31e788%0x4){var _0x2bc1d1=_0x3473cb[_0x4a112c[_0xe1e185(0x4dd)](_0x31e788-0x1)]<<_0x31e788%0x4*0x2,_0x332c98=_0x3473cb[_0x4a112c['charCodeAt'](_0x31e788)]>>>0x6-_0x31e788%0x4*0x2,_0x48d290=_0x2bc1d1|_0x332c98;_0x365503[_0xfff1bb>>>0x2]|=_0x48d290<<0x18-_0xfff1bb%0x4*0x8,_0xfff1bb++;}return _0x2cf8b5[_0xe1e185(0x4f2)](_0x365503,_0xfff1bb);}}()),_0x18b0a5[_0x561dc0(0x25f)]['Base64'];}));}($i));var Hi=$i[_0x29d74e(0x3a9)];const qs=at(Hi);var Ft={'exports':{}},Xs;function Aa(){const _0x407f86=_0x29d74e;return Xs||(Xs=0x1,function(_0x2d70d7,_0x467fe3){(function(_0x5e9007,_0x39cd00){_0x2d70d7['exports']=_0x39cd00(ue());}(Z,function(_0x98554f){const _0x2752b5=_0x2ea9;return function(_0x47e9bb){const _0xa481c3=_0x2ea9;var _0x31fe53=_0x98554f,_0x3ccceb=_0x31fe53[_0xa481c3(0x430)],_0x45d9df=_0x3ccceb[_0xa481c3(0x159)],_0x480b97=_0x3ccceb['Hasher'],_0x485176=_0x31fe53['algo'],_0x3491ab=[];(function(){const _0x577e9e=_0xa481c3;for(var _0x578a17=0x0;_0x578a17<0x40;_0x578a17++)_0x3491ab[_0x578a17]=_0x47e9bb['abs'](_0x47e9bb[_0x577e9e(0x246)](_0x578a17+0x1))*0x100000000|0x0;}());var _0x404aeb=_0x485176[_0xa481c3(0x4a0)]=_0x480b97[_0xa481c3(0x38d)]({'_doReset':function(){const _0x379357=_0xa481c3;this['_hash']=new _0x45d9df[(_0x379357(0x3b9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x30feb8,_0x2a9b18){const _0x4575eb=_0xa481c3;for(var _0x16882e=0x0;_0x16882e<0x10;_0x16882e++){var _0x572dc6=_0x2a9b18+_0x16882e,_0x5f0c5a=_0x30feb8[_0x572dc6];_0x30feb8[_0x572dc6]=(_0x5f0c5a<<0x8|_0x5f0c5a>>>0x18)&0xff00ff|(_0x5f0c5a<<0x18|_0x5f0c5a>>>0x8)&0xff00ff00;}var _0x24f89c=this[_0x4575eb(0x3bd)][_0x4575eb(0x26b)],_0x5ce2e0=_0x30feb8[_0x2a9b18+0x0],_0x311f7a=_0x30feb8[_0x2a9b18+0x1],_0x80e33f=_0x30feb8[_0x2a9b18+0x2],_0x5a9dd4=_0x30feb8[_0x2a9b18+0x3],_0x27140c=_0x30feb8[_0x2a9b18+0x4],_0xb55ed=_0x30feb8[_0x2a9b18+0x5],_0x552b77=_0x30feb8[_0x2a9b18+0x6],_0x512e4d=_0x30feb8[_0x2a9b18+0x7],_0x351f65=_0x30feb8[_0x2a9b18+0x8],_0x2738de=_0x30feb8[_0x2a9b18+0x9],_0x4bf22e=_0x30feb8[_0x2a9b18+0xa],_0xe26622=_0x30feb8[_0x2a9b18+0xb],_0x2bd1a1=_0x30feb8[_0x2a9b18+0xc],_0x1176bf=_0x30feb8[_0x2a9b18+0xd],_0xc9682=_0x30feb8[_0x2a9b18+0xe],_0x1af943=_0x30feb8[_0x2a9b18+0xf],_0x56e882=_0x24f89c[0x0],_0x434b67=_0x24f89c[0x1],_0x1862a3=_0x24f89c[0x2],_0x2a4d16=_0x24f89c[0x3];_0x56e882=_0x58bc46(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x5ce2e0,0x7,_0x3491ab[0x0]),_0x2a4d16=_0x58bc46(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x311f7a,0xc,_0x3491ab[0x1]),_0x1862a3=_0x58bc46(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x80e33f,0x11,_0x3491ab[0x2]),_0x434b67=_0x58bc46(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x5a9dd4,0x16,_0x3491ab[0x3]),_0x56e882=_0x58bc46(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x27140c,0x7,_0x3491ab[0x4]),_0x2a4d16=_0x58bc46(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0xb55ed,0xc,_0x3491ab[0x5]),_0x1862a3=_0x58bc46(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x552b77,0x11,_0x3491ab[0x6]),_0x434b67=_0x58bc46(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x512e4d,0x16,_0x3491ab[0x7]),_0x56e882=_0x58bc46(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x351f65,0x7,_0x3491ab[0x8]),_0x2a4d16=_0x58bc46(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x2738de,0xc,_0x3491ab[0x9]),_0x1862a3=_0x58bc46(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x4bf22e,0x11,_0x3491ab[0xa]),_0x434b67=_0x58bc46(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0xe26622,0x16,_0x3491ab[0xb]),_0x56e882=_0x58bc46(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x2bd1a1,0x7,_0x3491ab[0xc]),_0x2a4d16=_0x58bc46(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x1176bf,0xc,_0x3491ab[0xd]),_0x1862a3=_0x58bc46(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0xc9682,0x11,_0x3491ab[0xe]),_0x434b67=_0x58bc46(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x1af943,0x16,_0x3491ab[0xf]),_0x56e882=_0xcb1eb3(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x311f7a,0x5,_0x3491ab[0x10]),_0x2a4d16=_0xcb1eb3(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x552b77,0x9,_0x3491ab[0x11]),_0x1862a3=_0xcb1eb3(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0xe26622,0xe,_0x3491ab[0x12]),_0x434b67=_0xcb1eb3(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x5ce2e0,0x14,_0x3491ab[0x13]),_0x56e882=_0xcb1eb3(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0xb55ed,0x5,_0x3491ab[0x14]),_0x2a4d16=_0xcb1eb3(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x4bf22e,0x9,_0x3491ab[0x15]),_0x1862a3=_0xcb1eb3(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x1af943,0xe,_0x3491ab[0x16]),_0x434b67=_0xcb1eb3(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x27140c,0x14,_0x3491ab[0x17]),_0x56e882=_0xcb1eb3(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x2738de,0x5,_0x3491ab[0x18]),_0x2a4d16=_0xcb1eb3(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0xc9682,0x9,_0x3491ab[0x19]),_0x1862a3=_0xcb1eb3(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x5a9dd4,0xe,_0x3491ab[0x1a]),_0x434b67=_0xcb1eb3(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x351f65,0x14,_0x3491ab[0x1b]),_0x56e882=_0xcb1eb3(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x1176bf,0x5,_0x3491ab[0x1c]),_0x2a4d16=_0xcb1eb3(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x80e33f,0x9,_0x3491ab[0x1d]),_0x1862a3=_0xcb1eb3(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x512e4d,0xe,_0x3491ab[0x1e]),_0x434b67=_0xcb1eb3(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x2bd1a1,0x14,_0x3491ab[0x1f]),_0x56e882=_0x465a42(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0xb55ed,0x4,_0x3491ab[0x20]),_0x2a4d16=_0x465a42(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x351f65,0xb,_0x3491ab[0x21]),_0x1862a3=_0x465a42(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0xe26622,0x10,_0x3491ab[0x22]),_0x434b67=_0x465a42(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0xc9682,0x17,_0x3491ab[0x23]),_0x56e882=_0x465a42(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x311f7a,0x4,_0x3491ab[0x24]),_0x2a4d16=_0x465a42(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x27140c,0xb,_0x3491ab[0x25]),_0x1862a3=_0x465a42(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x512e4d,0x10,_0x3491ab[0x26]),_0x434b67=_0x465a42(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x4bf22e,0x17,_0x3491ab[0x27]),_0x56e882=_0x465a42(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x1176bf,0x4,_0x3491ab[0x28]),_0x2a4d16=_0x465a42(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x5ce2e0,0xb,_0x3491ab[0x29]),_0x1862a3=_0x465a42(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x5a9dd4,0x10,_0x3491ab[0x2a]),_0x434b67=_0x465a42(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x552b77,0x17,_0x3491ab[0x2b]),_0x56e882=_0x465a42(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x2738de,0x4,_0x3491ab[0x2c]),_0x2a4d16=_0x465a42(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x2bd1a1,0xb,_0x3491ab[0x2d]),_0x1862a3=_0x465a42(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x1af943,0x10,_0x3491ab[0x2e]),_0x434b67=_0x465a42(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x80e33f,0x17,_0x3491ab[0x2f]),_0x56e882=_0x515a1b(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x5ce2e0,0x6,_0x3491ab[0x30]),_0x2a4d16=_0x515a1b(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x512e4d,0xa,_0x3491ab[0x31]),_0x1862a3=_0x515a1b(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0xc9682,0xf,_0x3491ab[0x32]),_0x434b67=_0x515a1b(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0xb55ed,0x15,_0x3491ab[0x33]),_0x56e882=_0x515a1b(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x2bd1a1,0x6,_0x3491ab[0x34]),_0x2a4d16=_0x515a1b(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x5a9dd4,0xa,_0x3491ab[0x35]),_0x1862a3=_0x515a1b(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x4bf22e,0xf,_0x3491ab[0x36]),_0x434b67=_0x515a1b(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x311f7a,0x15,_0x3491ab[0x37]),_0x56e882=_0x515a1b(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x351f65,0x6,_0x3491ab[0x38]),_0x2a4d16=_0x515a1b(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x1af943,0xa,_0x3491ab[0x39]),_0x1862a3=_0x515a1b(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x552b77,0xf,_0x3491ab[0x3a]),_0x434b67=_0x515a1b(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x1176bf,0x15,_0x3491ab[0x3b]),_0x56e882=_0x515a1b(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x27140c,0x6,_0x3491ab[0x3c]),_0x2a4d16=_0x515a1b(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0xe26622,0xa,_0x3491ab[0x3d]),_0x1862a3=_0x515a1b(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x80e33f,0xf,_0x3491ab[0x3e]),_0x434b67=_0x515a1b(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x2738de,0x15,_0x3491ab[0x3f]),_0x24f89c[0x0]=_0x24f89c[0x0]+_0x56e882|0x0,_0x24f89c[0x1]=_0x24f89c[0x1]+_0x434b67|0x0,_0x24f89c[0x2]=_0x24f89c[0x2]+_0x1862a3|0x0,_0x24f89c[0x3]=_0x24f89c[0x3]+_0x2a4d16|0x0;},'_doFinalize':function(){const _0x2d205a=_0xa481c3;var _0xdbf1a9=this[_0x2d205a(0x383)],_0x40fdcd=_0xdbf1a9[_0x2d205a(0x26b)],_0x3b7248=this[_0x2d205a(0x487)]*0x8,_0x2b0510=_0xdbf1a9[_0x2d205a(0x2d2)]*0x8;_0x40fdcd[_0x2b0510>>>0x5]|=0x80<<0x18-_0x2b0510%0x20;var _0x31c747=_0x47e9bb[_0x2d205a(0x3b6)](_0x3b7248/0x100000000),_0x1c07b2=_0x3b7248;_0x40fdcd[(_0x2b0510+0x40>>>0x9<<0x4)+0xf]=(_0x31c747<<0x8|_0x31c747>>>0x18)&0xff00ff|(_0x31c747<<0x18|_0x31c747>>>0x8)&0xff00ff00,_0x40fdcd[(_0x2b0510+0x40>>>0x9<<0x4)+0xe]=(_0x1c07b2<<0x8|_0x1c07b2>>>0x18)&0xff00ff|(_0x1c07b2<<0x18|_0x1c07b2>>>0x8)&0xff00ff00,_0xdbf1a9[_0x2d205a(0x2d2)]=(_0x40fdcd[_0x2d205a(0x400)]+0x1)*0x4,this[_0x2d205a(0x4d0)]();for(var _0x4771fb=this['_hash'],_0x2ac6bf=_0x4771fb[_0x2d205a(0x26b)],_0x74d844=0x0;_0x74d844<0x4;_0x74d844++){var _0x3a8d00=_0x2ac6bf[_0x74d844];_0x2ac6bf[_0x74d844]=(_0x3a8d00<<0x8|_0x3a8d00>>>0x18)&0xff00ff|(_0x3a8d00<<0x18|_0x3a8d00>>>0x8)&0xff00ff00;}return _0x4771fb;},'clone':function(){const _0x1a85e3=_0xa481c3;var _0x5c4216=_0x480b97[_0x1a85e3(0x2e7)][_0x1a85e3(0x46d)](this);return _0x5c4216[_0x1a85e3(0x3bd)]=this['_hash'][_0x1a85e3(0x2e7)](),_0x5c4216;}});function _0x58bc46(_0x3f5418,_0x20799b,_0x4824be,_0x23d11a,_0x5918c7,_0x2d93b4,_0x1653ca){var _0x50a513=_0x3f5418+(_0x20799b&_0x4824be|~_0x20799b&_0x23d11a)+_0x5918c7+_0x1653ca;return(_0x50a513<<_0x2d93b4|_0x50a513>>>0x20-_0x2d93b4)+_0x20799b;}function _0xcb1eb3(_0x2cbf53,_0x52e5f2,_0x266d3e,_0x487204,_0x323ca8,_0xd64c22,_0x4486a9){var _0x1bc08a=_0x2cbf53+(_0x52e5f2&_0x487204|_0x266d3e&~_0x487204)+_0x323ca8+_0x4486a9;return(_0x1bc08a<<_0xd64c22|_0x1bc08a>>>0x20-_0xd64c22)+_0x52e5f2;}function _0x465a42(_0x2dcd8a,_0x1524dc,_0x355870,_0x7ced75,_0x2672ec,_0x1fe02c,_0x270ec5){var _0x1ce092=_0x2dcd8a+(_0x1524dc^_0x355870^_0x7ced75)+_0x2672ec+_0x270ec5;return(_0x1ce092<<_0x1fe02c|_0x1ce092>>>0x20-_0x1fe02c)+_0x1524dc;}function _0x515a1b(_0x256d22,_0x427f9a,_0x72e1de,_0x3d12e8,_0x451cef,_0x20b004,_0x52965d){var _0x6344bd=_0x256d22+(_0x72e1de^(_0x427f9a|~_0x3d12e8))+_0x451cef+_0x52965d;return(_0x6344bd<<_0x20b004|_0x6344bd>>>0x20-_0x20b004)+_0x427f9a;}_0x31fe53[_0xa481c3(0x4a0)]=_0x480b97[_0xa481c3(0x4b3)](_0x404aeb),_0x31fe53[_0xa481c3(0x2cc)]=_0x480b97['_createHmacHelper'](_0x404aeb);}(Math),_0x98554f[_0x2752b5(0x4a0)];}));}(Ft)),Ft[_0x407f86(0x3a9)];}var Vt={'exports':{}},Gt={'exports':{}},Js;function Ma(){const _0x544b5b=_0x29d74e;return Js||(Js=0x1,function(_0x48a87e,_0x2cca9d){(function(_0x1dedfe,_0x4ae1dd){const _0x2f76ca=_0x2ea9;_0x48a87e[_0x2f76ca(0x3a9)]=_0x4ae1dd(ue());}(Z,function(_0x1f6169){const _0x1ae0a7=_0x2ea9;return(function(){const _0x451d6f=_0x2ea9;var _0x1e4658=_0x1f6169,_0x5498da=_0x1e4658[_0x451d6f(0x430)],_0x5368b7=_0x5498da[_0x451d6f(0x159)],_0x244e79=_0x5498da[_0x451d6f(0x4c9)],_0x38228d=_0x1e4658['algo'],_0x226854=[],_0x70614=_0x38228d[_0x451d6f(0x278)]=_0x244e79['extend']({'_doReset':function(){const _0x72366c=_0x451d6f;this[_0x72366c(0x3bd)]=new _0x5368b7[(_0x72366c(0x3b9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x313101,_0x1294f0){const _0x38f93c=_0x451d6f;for(var _0x463b38=this[_0x38f93c(0x3bd)]['words'],_0x213e92=_0x463b38[0x0],_0x44a143=_0x463b38[0x1],_0x275637=_0x463b38[0x2],_0xa29fe=_0x463b38[0x3],_0x121a48=_0x463b38[0x4],_0x359e94=0x0;_0x359e94<0x50;_0x359e94++){if(_0x359e94<0x10)_0x226854[_0x359e94]=_0x313101[_0x1294f0+_0x359e94]|0x0;else{var _0x17fe77=_0x226854[_0x359e94-0x3]^_0x226854[_0x359e94-0x8]^_0x226854[_0x359e94-0xe]^_0x226854[_0x359e94-0x10];_0x226854[_0x359e94]=_0x17fe77<<0x1|_0x17fe77>>>0x1f;}var _0x1a277a=(_0x213e92<<0x5|_0x213e92>>>0x1b)+_0x121a48+_0x226854[_0x359e94];_0x359e94<0x14?_0x1a277a+=(_0x44a143&_0x275637|~_0x44a143&_0xa29fe)+0x5a827999:_0x359e94<0x28?_0x1a277a+=(_0x44a143^_0x275637^_0xa29fe)+0x6ed9eba1:_0x359e94<0x3c?_0x1a277a+=(_0x44a143&_0x275637|_0x44a143&_0xa29fe|_0x275637&_0xa29fe)-0x70e44324:_0x1a277a+=(_0x44a143^_0x275637^_0xa29fe)-0x359d3e2a,_0x121a48=_0xa29fe,_0xa29fe=_0x275637,_0x275637=_0x44a143<<0x1e|_0x44a143>>>0x2,_0x44a143=_0x213e92,_0x213e92=_0x1a277a;}_0x463b38[0x0]=_0x463b38[0x0]+_0x213e92|0x0,_0x463b38[0x1]=_0x463b38[0x1]+_0x44a143|0x0,_0x463b38[0x2]=_0x463b38[0x2]+_0x275637|0x0,_0x463b38[0x3]=_0x463b38[0x3]+_0xa29fe|0x0,_0x463b38[0x4]=_0x463b38[0x4]+_0x121a48|0x0;},'_doFinalize':function(){const _0x5c33ac=_0x451d6f;var _0x4f1d3a=this[_0x5c33ac(0x383)],_0x3ab522=_0x4f1d3a[_0x5c33ac(0x26b)],_0x552d62=this[_0x5c33ac(0x487)]*0x8,_0x147af2=_0x4f1d3a['sigBytes']*0x8;return _0x3ab522[_0x147af2>>>0x5]|=0x80<<0x18-_0x147af2%0x20,_0x3ab522[(_0x147af2+0x40>>>0x9<<0x4)+0xe]=Math[_0x5c33ac(0x3b6)](_0x552d62/0x100000000),_0x3ab522[(_0x147af2+0x40>>>0x9<<0x4)+0xf]=_0x552d62,_0x4f1d3a[_0x5c33ac(0x2d2)]=_0x3ab522[_0x5c33ac(0x400)]*0x4,this[_0x5c33ac(0x4d0)](),this[_0x5c33ac(0x3bd)];},'clone':function(){const _0x230a61=_0x451d6f;var _0x509725=_0x244e79[_0x230a61(0x2e7)][_0x230a61(0x46d)](this);return _0x509725[_0x230a61(0x3bd)]=this[_0x230a61(0x3bd)]['clone'](),_0x509725;}});_0x1e4658[_0x451d6f(0x278)]=_0x244e79[_0x451d6f(0x4b3)](_0x70614),_0x1e4658[_0x451d6f(0x148)]=_0x244e79[_0x451d6f(0x2ef)](_0x70614);}()),_0x1f6169[_0x1ae0a7(0x278)];}));}(Gt)),Gt[_0x544b5b(0x3a9)];}var Yt={'exports':{}},Zs;function xa(){return Zs||(Zs=0x1,function(_0x20d828,_0x27637b){(function(_0x2e839f,_0x429f32){_0x20d828['exports']=_0x429f32(ue());}(Z,function(_0x1d3f27){(function(){const _0x3efa6d=_0x2ea9;var _0x51da6c=_0x1d3f27,_0x49ae3f=_0x51da6c[_0x3efa6d(0x430)],_0x2a4729=_0x49ae3f['Base'],_0x1b0dee=_0x51da6c[_0x3efa6d(0x25f)],_0x3649de=_0x1b0dee[_0x3efa6d(0x25d)],_0x52d0ba=_0x51da6c[_0x3efa6d(0x262)];_0x52d0ba[_0x3efa6d(0x499)]=_0x2a4729[_0x3efa6d(0x38d)]({'init':function(_0x355ed2,_0x1b0ec1){const _0x1587cf=_0x3efa6d;_0x355ed2=this['_hasher']=new _0x355ed2[(_0x1587cf(0x3b9))](),typeof _0x1b0ec1==_0x1587cf(0x1d3)&&(_0x1b0ec1=_0x3649de['parse'](_0x1b0ec1));var _0x3929fb=_0x355ed2['blockSize'],_0x473eff=_0x3929fb*0x4;_0x1b0ec1[_0x1587cf(0x2d2)]>_0x473eff&&(_0x1b0ec1=_0x355ed2[_0x1587cf(0x384)](_0x1b0ec1)),_0x1b0ec1['clamp']();for(var _0x160c38=this[_0x1587cf(0x1bf)]=_0x1b0ec1['clone'](),_0x4d87aa=this[_0x1587cf(0x361)]=_0x1b0ec1[_0x1587cf(0x2e7)](),_0x2e183f=_0x160c38[_0x1587cf(0x26b)],_0x1b0fab=_0x4d87aa[_0x1587cf(0x26b)],_0x88a28e=0x0;_0x88a28e<_0x3929fb;_0x88a28e++)_0x2e183f[_0x88a28e]^=0x5c5c5c5c,_0x1b0fab[_0x88a28e]^=0x36363636;_0x160c38[_0x1587cf(0x2d2)]=_0x4d87aa[_0x1587cf(0x2d2)]=_0x473eff,this[_0x1587cf(0x230)]();},'reset':function(){const _0x76fbfe=_0x3efa6d;var _0x15c09e=this[_0x76fbfe(0x101)];_0x15c09e[_0x76fbfe(0x230)](),_0x15c09e['update'](this[_0x76fbfe(0x361)]);},'update':function(_0x16cb45){const _0x168f12=_0x3efa6d;return this[_0x168f12(0x101)][_0x168f12(0x157)](_0x16cb45),this;},'finalize':function(_0x3259b3){const _0x365882=_0x3efa6d;var _0xc2799d=this[_0x365882(0x101)],_0x85d4b4=_0xc2799d[_0x365882(0x384)](_0x3259b3);_0xc2799d['reset']();var _0x19051f=_0xc2799d[_0x365882(0x384)](this[_0x365882(0x1bf)]['clone']()[_0x365882(0x332)](_0x85d4b4));return _0x19051f;}});}());}));}(Yt)),Yt['exports'];}var Qs;function ji(){const _0x4fcad3=_0x29d74e;return Qs||(Qs=0x1,function(_0x4146bb,_0x56c1db){(function(_0x23f2ea,_0x398ff4,_0x29ded9){_0x4146bb['exports']=_0x398ff4(ue(),Ma(),xa());}(Z,function(_0x294fff){const _0x8f40a5=_0x2ea9;return(function(){const _0x4fdc3e=_0x2ea9;var _0x4a128b=_0x294fff,_0x235f25=_0x4a128b['lib'],_0x4bd4ed=_0x235f25[_0x4fdc3e(0x14b)],_0x1d1dd8=_0x235f25[_0x4fdc3e(0x159)],_0x4c576e=_0x4a128b[_0x4fdc3e(0x262)],_0x136787=_0x4c576e[_0x4fdc3e(0x4a0)],_0x3a2a8e=_0x4c576e[_0x4fdc3e(0x483)]=_0x4bd4ed[_0x4fdc3e(0x38d)]({'cfg':_0x4bd4ed[_0x4fdc3e(0x38d)]({'keySize':0x80/0x20,'hasher':_0x136787,'iterations':0x1}),'init':function(_0x4b74ee){const _0x43f8f8=_0x4fdc3e;this[_0x43f8f8(0xf9)]=this['cfg'][_0x43f8f8(0x38d)](_0x4b74ee);},'compute':function(_0x3b40cc,_0x3cb189){const _0x36757b=_0x4fdc3e;for(var _0x49e87f,_0x133879=this[_0x36757b(0xf9)],_0x37be1a=_0x133879[_0x36757b(0x44a)]['create'](),_0x37ced7=_0x1d1dd8[_0x36757b(0x4f2)](),_0x2f6e83=_0x37ced7[_0x36757b(0x26b)],_0x17762f=_0x133879[_0x36757b(0x334)],_0xae98e2=_0x133879[_0x36757b(0x1fb)];_0x2f6e83[_0x36757b(0x400)]<_0x17762f;){_0x49e87f&&_0x37be1a[_0x36757b(0x157)](_0x49e87f),_0x49e87f=_0x37be1a[_0x36757b(0x157)](_0x3b40cc)[_0x36757b(0x384)](_0x3cb189),_0x37be1a[_0x36757b(0x230)]();for(var _0x5c078c=0x1;_0x5c078c<_0xae98e2;_0x5c078c++)_0x49e87f=_0x37be1a[_0x36757b(0x384)](_0x49e87f),_0x37be1a[_0x36757b(0x230)]();_0x37ced7['concat'](_0x49e87f);}return _0x37ced7[_0x36757b(0x2d2)]=_0x17762f*0x4,_0x37ced7;}});_0x4a128b[_0x4fdc3e(0x483)]=function(_0x5f0646,_0x561546,_0x409dc3){return _0x3a2a8e['create'](_0x409dc3)['compute'](_0x5f0646,_0x561546);};}()),_0x294fff[_0x8f40a5(0x483)];}));}(Vt)),Vt[_0x4fcad3(0x3a9)];}var Kt={'exports':{}},ei;function Bi(){const _0x57048c=_0x29d74e;return ei||(ei=0x1,function(_0x5d08ff,_0xbdb88e){(function(_0x371d2e,_0x437ff1,_0x69d91e){const _0x495664=_0x2ea9;_0x5d08ff[_0x495664(0x3a9)]=_0x437ff1(ue(),ji());}(Z,function(_0x48e77c){const _0x12c6cb=_0x2ea9;_0x48e77c[_0x12c6cb(0x430)][_0x12c6cb(0x4ed)]||function(_0x2d88dc){const _0x30d558=_0x12c6cb;var _0x1da199=_0x48e77c,_0x4deb22=_0x1da199[_0x30d558(0x430)],_0x1c4c7a=_0x4deb22[_0x30d558(0x14b)],_0x5e8283=_0x4deb22[_0x30d558(0x159)],_0x32de73=_0x4deb22[_0x30d558(0x4f8)],_0x22a546=_0x1da199[_0x30d558(0x25f)];_0x22a546[_0x30d558(0x25d)];var _0x45c89c=_0x22a546['Base64'],_0x52bb0f=_0x1da199[_0x30d558(0x262)],_0x530d47=_0x52bb0f['EvpKDF'],_0x156db1=_0x4deb22[_0x30d558(0x4ed)]=_0x32de73[_0x30d558(0x38d)]({'cfg':_0x1c4c7a[_0x30d558(0x38d)](),'createEncryptor':function(_0x193039,_0x241aba){const _0x4df97b=_0x30d558;return this[_0x4df97b(0x4f2)](this['_ENC_XFORM_MODE'],_0x193039,_0x241aba);},'createDecryptor':function(_0x22f6d1,_0x30beef){const _0x41297e=_0x30d558;return this[_0x41297e(0x4f2)](this[_0x41297e(0xf3)],_0x22f6d1,_0x30beef);},'init':function(_0x257593,_0x2ff086,_0x356140){const _0x13871d=_0x30d558;this[_0x13871d(0xf9)]=this[_0x13871d(0xf9)]['extend'](_0x356140),this[_0x13871d(0x24f)]=_0x257593,this[_0x13871d(0x22b)]=_0x2ff086,this['reset']();},'reset':function(){const _0x5ca1ce=_0x30d558;_0x32de73[_0x5ca1ce(0x230)][_0x5ca1ce(0x46d)](this),this[_0x5ca1ce(0x321)]();},'process':function(_0x5bb0cd){const _0x246d58=_0x30d558;return this[_0x246d58(0x4d2)](_0x5bb0cd),this['_process']();},'finalize':function(_0x477765){const _0x36c878=_0x30d558;_0x477765&&this[_0x36c878(0x4d2)](_0x477765);var _0x288171=this[_0x36c878(0x206)]();return _0x288171;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x475ea4(_0x21c986){const _0x3ec4e7=_0x2ea9;return typeof _0x21c986==_0x3ec4e7(0x1d3)?_0x27125c:_0x3b2354;}return function(_0x67d339){return{'encrypt':function(_0x3d8d75,_0x583c51,_0x406598){return _0x475ea4(_0x583c51)['encrypt'](_0x67d339,_0x3d8d75,_0x583c51,_0x406598);},'decrypt':function(_0x246731,_0x39a14d,_0x3c949a){const _0x44bff4=_0x2ea9;return _0x475ea4(_0x39a14d)[_0x44bff4(0x17d)](_0x67d339,_0x246731,_0x39a14d,_0x3c949a);}};};}())});_0x4deb22[_0x30d558(0x187)]=_0x156db1[_0x30d558(0x38d)]({'_doFinalize':function(){const _0x1cfe6a=_0x30d558;var _0x266aab=this[_0x1cfe6a(0x4d0)](!0x0);return _0x266aab;},'blockSize':0x1});var _0x49bf25=_0x1da199[_0x30d558(0x3bc)]={},_0x2f0544=_0x4deb22[_0x30d558(0x2ee)]=_0x1c4c7a['extend']({'createEncryptor':function(_0x195794,_0x25c142){const _0x54a984=_0x30d558;return this['Encryptor'][_0x54a984(0x4f2)](_0x195794,_0x25c142);},'createDecryptor':function(_0x5237c5,_0x5e4d6a){const _0x992f97=_0x30d558;return this[_0x992f97(0x173)][_0x992f97(0x4f2)](_0x5237c5,_0x5e4d6a);},'init':function(_0x5b6730,_0x527157){const _0x5a2c73=_0x30d558;this[_0x5a2c73(0x1bc)]=_0x5b6730,this[_0x5a2c73(0x4e4)]=_0x527157;}}),_0x59bf27=_0x49bf25[_0x30d558(0x1a0)]=(function(){const _0x4e95ec=_0x30d558;var _0x2d31c3=_0x2f0544[_0x4e95ec(0x38d)]();_0x2d31c3['Encryptor']=_0x2d31c3[_0x4e95ec(0x38d)]({'processBlock':function(_0x1023bc,_0x57342e){const _0x4e9333=_0x4e95ec;var _0x3d93f4=this[_0x4e9333(0x1bc)],_0x36a6ad=_0x3d93f4[_0x4e9333(0x194)];_0x57988e['call'](this,_0x1023bc,_0x57342e,_0x36a6ad),_0x3d93f4['encryptBlock'](_0x1023bc,_0x57342e),this[_0x4e9333(0x3b4)]=_0x1023bc['slice'](_0x57342e,_0x57342e+_0x36a6ad);}}),_0x2d31c3['Decryptor']=_0x2d31c3['extend']({'processBlock':function(_0x243d2e,_0x13493c){const _0x3e4ad9=_0x4e95ec;var _0x428002=this[_0x3e4ad9(0x1bc)],_0x4d3ec0=_0x428002[_0x3e4ad9(0x194)],_0x1cf6ec=_0x243d2e[_0x3e4ad9(0x21b)](_0x13493c,_0x13493c+_0x4d3ec0);_0x428002[_0x3e4ad9(0x308)](_0x243d2e,_0x13493c),_0x57988e[_0x3e4ad9(0x46d)](this,_0x243d2e,_0x13493c,_0x4d3ec0),this[_0x3e4ad9(0x3b4)]=_0x1cf6ec;}});function _0x57988e(_0x3e75a2,_0x3036e9,_0x4a0532){const _0x32631e=_0x4e95ec;var _0x15ec64,_0x8f5d7c=this[_0x32631e(0x4e4)];_0x8f5d7c?(_0x15ec64=_0x8f5d7c,this[_0x32631e(0x4e4)]=_0x2d88dc):_0x15ec64=this[_0x32631e(0x3b4)];for(var _0x4229ae=0x0;_0x4229ae<_0x4a0532;_0x4229ae++)_0x3e75a2[_0x3036e9+_0x4229ae]^=_0x15ec64[_0x4229ae];}return _0x2d31c3;}()),_0x542303=_0x1da199[_0x30d558(0x25a)]={},_0x4010ce=_0x542303[_0x30d558(0x385)]={'pad':function(_0x113de4,_0x21e736){const _0xa191c=_0x30d558;for(var _0x4208ce=_0x21e736*0x4,_0x59eac8=_0x4208ce-_0x113de4[_0xa191c(0x2d2)]%_0x4208ce,_0x285725=_0x59eac8<<0x18|_0x59eac8<<0x10|_0x59eac8<<0x8|_0x59eac8,_0x2a9476=[],_0x2c7545=0x0;_0x2c7545<_0x59eac8;_0x2c7545+=0x4)_0x2a9476[_0xa191c(0x183)](_0x285725);var _0x3f89f9=_0x5e8283[_0xa191c(0x4f2)](_0x2a9476,_0x59eac8);_0x113de4['concat'](_0x3f89f9);},'unpad':function(_0x1209fa){const _0x2302d9=_0x30d558;var _0x4e0a54=_0x1209fa[_0x2302d9(0x26b)][_0x1209fa[_0x2302d9(0x2d2)]-0x1>>>0x2]&0xff;_0x1209fa['sigBytes']-=_0x4e0a54;}};_0x4deb22['BlockCipher']=_0x156db1[_0x30d558(0x38d)]({'cfg':_0x156db1[_0x30d558(0xf9)][_0x30d558(0x38d)]({'mode':_0x59bf27,'padding':_0x4010ce}),'reset':function(){const _0x65c869=_0x30d558;var _0x145390;_0x156db1[_0x65c869(0x230)]['call'](this);var _0x1326a5=this[_0x65c869(0xf9)],_0x5dca97=_0x1326a5['iv'],_0x34a5bd=_0x1326a5[_0x65c869(0x3bc)];this[_0x65c869(0x24f)]==this[_0x65c869(0x3c8)]?_0x145390=_0x34a5bd[_0x65c869(0x434)]:(_0x145390=_0x34a5bd[_0x65c869(0x2a7)],this[_0x65c869(0xfc)]=0x1),this[_0x65c869(0x2a5)]&&this[_0x65c869(0x2a5)][_0x65c869(0x490)]==_0x145390?this['_mode'][_0x65c869(0x3b9)](this,_0x5dca97&&_0x5dca97[_0x65c869(0x26b)]):(this['_mode']=_0x145390[_0x65c869(0x46d)](_0x34a5bd,this,_0x5dca97&&_0x5dca97[_0x65c869(0x26b)]),this['_mode'][_0x65c869(0x490)]=_0x145390);},'_doProcessBlock':function(_0x32f763,_0x165f87){const _0xe5f31d=_0x30d558;this[_0xe5f31d(0x2a5)][_0xe5f31d(0x208)](_0x32f763,_0x165f87);},'_doFinalize':function(){const _0x7ae19a=_0x30d558;var _0x101cb1,_0x314611=this[_0x7ae19a(0xf9)][_0x7ae19a(0x461)];return this[_0x7ae19a(0x24f)]==this[_0x7ae19a(0x3c8)]?(_0x314611[_0x7ae19a(0x25a)](this[_0x7ae19a(0x383)],this[_0x7ae19a(0x194)]),_0x101cb1=this[_0x7ae19a(0x4d0)](!0x0)):(_0x101cb1=this[_0x7ae19a(0x4d0)](!0x0),_0x314611[_0x7ae19a(0x4aa)](_0x101cb1)),_0x101cb1;},'blockSize':0x80/0x20});var _0x3fad3f=_0x4deb22[_0x30d558(0x37d)]=_0x1c4c7a[_0x30d558(0x38d)]({'init':function(_0x3b13db){this['mixIn'](_0x3b13db);},'toString':function(_0x3962db){const _0x68f506=_0x30d558;return(_0x3962db||this[_0x68f506(0x202)])[_0x68f506(0x11f)](this);}}),_0x58aa8d=_0x1da199[_0x30d558(0x47a)]={},_0xb4addb=_0x58aa8d[_0x30d558(0x166)]={'stringify':function(_0x18dc01){const _0xed7c60=_0x30d558;var _0x2f7d14,_0x53ed84=_0x18dc01['ciphertext'],_0x2ffd32=_0x18dc01[_0xed7c60(0x4b0)];return _0x2ffd32?_0x2f7d14=_0x5e8283['create']([0x53616c74,0x65645f5f])[_0xed7c60(0x332)](_0x2ffd32)[_0xed7c60(0x332)](_0x53ed84):_0x2f7d14=_0x53ed84,_0x2f7d14[_0xed7c60(0x394)](_0x45c89c);},'parse':function(_0x29ec0f){const _0x3a7e47=_0x30d558;var _0x165a32,_0x3cdb28=_0x45c89c[_0x3a7e47(0x169)](_0x29ec0f),_0x50e888=_0x3cdb28['words'];return _0x50e888[0x0]==0x53616c74&&_0x50e888[0x1]==0x65645f5f&&(_0x165a32=_0x5e8283[_0x3a7e47(0x4f2)](_0x50e888[_0x3a7e47(0x21b)](0x2,0x4)),_0x50e888['splice'](0x0,0x4),_0x3cdb28[_0x3a7e47(0x2d2)]-=0x10),_0x3fad3f[_0x3a7e47(0x4f2)]({'ciphertext':_0x3cdb28,'salt':_0x165a32});}},_0x3b2354=_0x4deb22[_0x30d558(0x244)]=_0x1c4c7a[_0x30d558(0x38d)]({'cfg':_0x1c4c7a[_0x30d558(0x38d)]({'format':_0xb4addb}),'encrypt':function(_0x3d2ed5,_0x40ea19,_0x306c6e,_0x106efe){const _0xdaff5d=_0x30d558;_0x106efe=this[_0xdaff5d(0xf9)][_0xdaff5d(0x38d)](_0x106efe);var _0x301406=_0x3d2ed5[_0xdaff5d(0x434)](_0x306c6e,_0x106efe),_0x433e1f=_0x301406[_0xdaff5d(0x384)](_0x40ea19),_0x435f5c=_0x301406[_0xdaff5d(0xf9)];return _0x3fad3f[_0xdaff5d(0x4f2)]({'ciphertext':_0x433e1f,'key':_0x306c6e,'iv':_0x435f5c['iv'],'algorithm':_0x3d2ed5,'mode':_0x435f5c[_0xdaff5d(0x3bc)],'padding':_0x435f5c[_0xdaff5d(0x461)],'blockSize':_0x3d2ed5[_0xdaff5d(0x194)],'formatter':_0x106efe[_0xdaff5d(0x47a)]});},'decrypt':function(_0xc12476,_0x37c1a8,_0x5d1cf8,_0x265a11){const _0xca1305=_0x30d558;_0x265a11=this[_0xca1305(0xf9)][_0xca1305(0x38d)](_0x265a11),_0x37c1a8=this['_parse'](_0x37c1a8,_0x265a11[_0xca1305(0x47a)]);var _0x31b4ff=_0xc12476[_0xca1305(0x2a7)](_0x5d1cf8,_0x265a11)['finalize'](_0x37c1a8['ciphertext']);return _0x31b4ff;},'_parse':function(_0x296b4,_0x503be3){const _0x1d253f=_0x30d558;return typeof _0x296b4=='string'?_0x503be3[_0x1d253f(0x169)](_0x296b4,this):_0x296b4;}}),_0x5dc511=_0x1da199[_0x30d558(0x4cf)]={},_0x25cd41=_0x5dc511[_0x30d558(0x166)]={'execute':function(_0x463435,_0x55d0e6,_0x5f3a44,_0x205c3b,_0x359570){const _0x271c71=_0x30d558;if(_0x205c3b||(_0x205c3b=_0x5e8283[_0x271c71(0x424)](0x40/0x8)),_0x359570)var _0x5b30fd=_0x530d47[_0x271c71(0x4f2)]({'keySize':_0x55d0e6+_0x5f3a44,'hasher':_0x359570})['compute'](_0x463435,_0x205c3b);else var _0x5b30fd=_0x530d47['create']({'keySize':_0x55d0e6+_0x5f3a44})['compute'](_0x463435,_0x205c3b);var _0x4f43b7=_0x5e8283[_0x271c71(0x4f2)](_0x5b30fd[_0x271c71(0x26b)][_0x271c71(0x21b)](_0x55d0e6),_0x5f3a44*0x4);return _0x5b30fd[_0x271c71(0x2d2)]=_0x55d0e6*0x4,_0x3fad3f[_0x271c71(0x4f2)]({'key':_0x5b30fd,'iv':_0x4f43b7,'salt':_0x205c3b});}},_0x27125c=_0x4deb22['PasswordBasedCipher']=_0x3b2354[_0x30d558(0x38d)]({'cfg':_0x3b2354['cfg'][_0x30d558(0x38d)]({'kdf':_0x25cd41}),'encrypt':function(_0x24dad7,_0x5a695f,_0x49ff65,_0x506a09){const _0x1fffaf=_0x30d558;_0x506a09=this['cfg'][_0x1fffaf(0x38d)](_0x506a09);var _0x5c782c=_0x506a09[_0x1fffaf(0x4cf)][_0x1fffaf(0x3d8)](_0x49ff65,_0x24dad7[_0x1fffaf(0x334)],_0x24dad7[_0x1fffaf(0x49d)],_0x506a09[_0x1fffaf(0x4b0)],_0x506a09[_0x1fffaf(0x44a)]);_0x506a09['iv']=_0x5c782c['iv'];var _0x164c69=_0x3b2354[_0x1fffaf(0x34a)][_0x1fffaf(0x46d)](this,_0x24dad7,_0x5a695f,_0x5c782c[_0x1fffaf(0x38a)],_0x506a09);return _0x164c69[_0x1fffaf(0x47f)](_0x5c782c),_0x164c69;},'decrypt':function(_0x2faea5,_0x1c218e,_0x2aba7a,_0x662f4){const _0x4fcde4=_0x30d558;_0x662f4=this[_0x4fcde4(0xf9)][_0x4fcde4(0x38d)](_0x662f4),_0x1c218e=this[_0x4fcde4(0xf4)](_0x1c218e,_0x662f4['format']);var _0x2d9a39=_0x662f4[_0x4fcde4(0x4cf)][_0x4fcde4(0x3d8)](_0x2aba7a,_0x2faea5[_0x4fcde4(0x334)],_0x2faea5[_0x4fcde4(0x49d)],_0x1c218e[_0x4fcde4(0x4b0)],_0x662f4[_0x4fcde4(0x44a)]);_0x662f4['iv']=_0x2d9a39['iv'];var _0x173d5b=_0x3b2354[_0x4fcde4(0x17d)][_0x4fcde4(0x46d)](this,_0x2faea5,_0x1c218e,_0x2d9a39['key'],_0x662f4);return _0x173d5b;}});}();}));}(Kt)),Kt[_0x57048c(0x3a9)];}function _0x2ea9(_0x429955,_0x187ed4){const _0x2db900=_0x2db9();return _0x2ea9=function(_0x2ea9b6,_0x41e168){_0x2ea9b6=_0x2ea9b6-0xea;let _0x17b294=_0x2db900[_0x2ea9b6];return _0x17b294;},_0x2ea9(_0x429955,_0x187ed4);}(function(_0x4767e1,_0x633173){(function(_0x318fcd,_0x3f948b,_0x4b846c){const _0x2cd12d=_0x2ea9;_0x4767e1[_0x2cd12d(0x3a9)]=_0x3f948b(ue(),Hi,Aa(),ji(),Bi());}(Z,function(_0xba9074){const _0x89a3cd=_0x2ea9;return(function(){const _0x1a7c82=_0x2ea9;var _0x265ccc=_0xba9074,_0x5119ca=_0x265ccc[_0x1a7c82(0x430)],_0x5eaef0=_0x5119ca[_0x1a7c82(0x3ad)],_0x2f33bc=_0x265ccc[_0x1a7c82(0x262)],_0x1bb3f3=[],_0x1a0bb9=[],_0x38bd8d=[],_0x284776=[],_0x345a2a=[],_0x409a56=[],_0x568f1b=[],_0x1e1a74=[],_0x2d5f06=[],_0xc31363=[];(function(){for(var _0x93fd25=[],_0x1868c1=0x0;_0x1868c1<0x100;_0x1868c1++)_0x1868c1<0x80?_0x93fd25[_0x1868c1]=_0x1868c1<<0x1:_0x93fd25[_0x1868c1]=_0x1868c1<<0x1^0x11b;for(var _0x566014=0x0,_0x2faad3=0x0,_0x1868c1=0x0;_0x1868c1<0x100;_0x1868c1++){var _0x31fc51=_0x2faad3^_0x2faad3<<0x1^_0x2faad3<<0x2^_0x2faad3<<0x3^_0x2faad3<<0x4;_0x31fc51=_0x31fc51>>>0x8^_0x31fc51&0xff^0x63,_0x1bb3f3[_0x566014]=_0x31fc51,_0x1a0bb9[_0x31fc51]=_0x566014;var _0x4b5a06=_0x93fd25[_0x566014],_0x445d28=_0x93fd25[_0x4b5a06],_0x21953e=_0x93fd25[_0x445d28],_0x677b6e=_0x93fd25[_0x31fc51]*0x101^_0x31fc51*0x1010100;_0x38bd8d[_0x566014]=_0x677b6e<<0x18|_0x677b6e>>>0x8,_0x284776[_0x566014]=_0x677b6e<<0x10|_0x677b6e>>>0x10,_0x345a2a[_0x566014]=_0x677b6e<<0x8|_0x677b6e>>>0x18,_0x409a56[_0x566014]=_0x677b6e;var _0x677b6e=_0x21953e*0x1010101^_0x445d28*0x10001^_0x4b5a06*0x101^_0x566014*0x1010100;_0x568f1b[_0x31fc51]=_0x677b6e<<0x18|_0x677b6e>>>0x8,_0x1e1a74[_0x31fc51]=_0x677b6e<<0x10|_0x677b6e>>>0x10,_0x2d5f06[_0x31fc51]=_0x677b6e<<0x8|_0x677b6e>>>0x18,_0xc31363[_0x31fc51]=_0x677b6e,_0x566014?(_0x566014=_0x4b5a06^_0x93fd25[_0x93fd25[_0x93fd25[_0x21953e^_0x4b5a06]]],_0x2faad3^=_0x93fd25[_0x93fd25[_0x2faad3]]):_0x566014=_0x2faad3=0x1;}}());var _0x2a2bcc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5bdb38=_0x2f33bc[_0x1a7c82(0x1c6)]=_0x5eaef0[_0x1a7c82(0x38d)]({'_doReset':function(){const _0x47ffc2=_0x1a7c82;var _0x40b93e;if(!(this[_0x47ffc2(0x49b)]&&this[_0x47ffc2(0x333)]===this[_0x47ffc2(0x22b)])){for(var _0x2f8b24=this[_0x47ffc2(0x333)]=this[_0x47ffc2(0x22b)],_0x2d13dc=_0x2f8b24[_0x47ffc2(0x26b)],_0x196414=_0x2f8b24['sigBytes']/0x4,_0x954d3b=this[_0x47ffc2(0x49b)]=_0x196414+0x6,_0x576042=(_0x954d3b+0x1)*0x4,_0x30612c=this[_0x47ffc2(0x197)]=[],_0x4f0a49=0x0;_0x4f0a49<_0x576042;_0x4f0a49++)_0x4f0a49<_0x196414?_0x30612c[_0x4f0a49]=_0x2d13dc[_0x4f0a49]:(_0x40b93e=_0x30612c[_0x4f0a49-0x1],_0x4f0a49%_0x196414?_0x196414>0x6&&_0x4f0a49%_0x196414==0x4&&(_0x40b93e=_0x1bb3f3[_0x40b93e>>>0x18]<<0x18|_0x1bb3f3[_0x40b93e>>>0x10&0xff]<<0x10|_0x1bb3f3[_0x40b93e>>>0x8&0xff]<<0x8|_0x1bb3f3[_0x40b93e&0xff]):(_0x40b93e=_0x40b93e<<0x8|_0x40b93e>>>0x18,_0x40b93e=_0x1bb3f3[_0x40b93e>>>0x18]<<0x18|_0x1bb3f3[_0x40b93e>>>0x10&0xff]<<0x10|_0x1bb3f3[_0x40b93e>>>0x8&0xff]<<0x8|_0x1bb3f3[_0x40b93e&0xff],_0x40b93e^=_0x2a2bcc[_0x4f0a49/_0x196414|0x0]<<0x18),_0x30612c[_0x4f0a49]=_0x30612c[_0x4f0a49-_0x196414]^_0x40b93e);for(var _0x5e3349=this[_0x47ffc2(0x13e)]=[],_0x5e4dff=0x0;_0x5e4dff<_0x576042;_0x5e4dff++){var _0x4f0a49=_0x576042-_0x5e4dff;if(_0x5e4dff%0x4)var _0x40b93e=_0x30612c[_0x4f0a49];else var _0x40b93e=_0x30612c[_0x4f0a49-0x4];_0x5e4dff<0x4||_0x4f0a49<=0x4?_0x5e3349[_0x5e4dff]=_0x40b93e:_0x5e3349[_0x5e4dff]=_0x568f1b[_0x1bb3f3[_0x40b93e>>>0x18]]^_0x1e1a74[_0x1bb3f3[_0x40b93e>>>0x10&0xff]]^_0x2d5f06[_0x1bb3f3[_0x40b93e>>>0x8&0xff]]^_0xc31363[_0x1bb3f3[_0x40b93e&0xff]];}}},'encryptBlock':function(_0x372db2,_0x201037){const _0x463f24=_0x1a7c82;this['_doCryptBlock'](_0x372db2,_0x201037,this[_0x463f24(0x197)],_0x38bd8d,_0x284776,_0x345a2a,_0x409a56,_0x1bb3f3);},'decryptBlock':function(_0x2130f3,_0x2cd05b){const _0x50a6e7=_0x1a7c82;var _0x37f8da=_0x2130f3[_0x2cd05b+0x1];_0x2130f3[_0x2cd05b+0x1]=_0x2130f3[_0x2cd05b+0x3],_0x2130f3[_0x2cd05b+0x3]=_0x37f8da,this[_0x50a6e7(0x129)](_0x2130f3,_0x2cd05b,this[_0x50a6e7(0x13e)],_0x568f1b,_0x1e1a74,_0x2d5f06,_0xc31363,_0x1a0bb9);var _0x37f8da=_0x2130f3[_0x2cd05b+0x1];_0x2130f3[_0x2cd05b+0x1]=_0x2130f3[_0x2cd05b+0x3],_0x2130f3[_0x2cd05b+0x3]=_0x37f8da;},'_doCryptBlock':function(_0x5218b6,_0x2b807c,_0x2986fc,_0x9b54,_0x862c1c,_0x7f75e,_0x39c87a,_0x5e3cd9){const _0x50cb55=_0x1a7c82;for(var _0x97951e=this[_0x50cb55(0x49b)],_0x99085b=_0x5218b6[_0x2b807c]^_0x2986fc[0x0],_0x8daa36=_0x5218b6[_0x2b807c+0x1]^_0x2986fc[0x1],_0x3360a2=_0x5218b6[_0x2b807c+0x2]^_0x2986fc[0x2],_0x211d3f=_0x5218b6[_0x2b807c+0x3]^_0x2986fc[0x3],_0x4e8fbf=0x4,_0x28c800=0x1;_0x28c800<_0x97951e;_0x28c800++){var _0x29c6d8=_0x9b54[_0x99085b>>>0x18]^_0x862c1c[_0x8daa36>>>0x10&0xff]^_0x7f75e[_0x3360a2>>>0x8&0xff]^_0x39c87a[_0x211d3f&0xff]^_0x2986fc[_0x4e8fbf++],_0x2a9543=_0x9b54[_0x8daa36>>>0x18]^_0x862c1c[_0x3360a2>>>0x10&0xff]^_0x7f75e[_0x211d3f>>>0x8&0xff]^_0x39c87a[_0x99085b&0xff]^_0x2986fc[_0x4e8fbf++],_0x55676e=_0x9b54[_0x3360a2>>>0x18]^_0x862c1c[_0x211d3f>>>0x10&0xff]^_0x7f75e[_0x99085b>>>0x8&0xff]^_0x39c87a[_0x8daa36&0xff]^_0x2986fc[_0x4e8fbf++],_0x2ea329=_0x9b54[_0x211d3f>>>0x18]^_0x862c1c[_0x99085b>>>0x10&0xff]^_0x7f75e[_0x8daa36>>>0x8&0xff]^_0x39c87a[_0x3360a2&0xff]^_0x2986fc[_0x4e8fbf++];_0x99085b=_0x29c6d8,_0x8daa36=_0x2a9543,_0x3360a2=_0x55676e,_0x211d3f=_0x2ea329;}var _0x29c6d8=(_0x5e3cd9[_0x99085b>>>0x18]<<0x18|_0x5e3cd9[_0x8daa36>>>0x10&0xff]<<0x10|_0x5e3cd9[_0x3360a2>>>0x8&0xff]<<0x8|_0x5e3cd9[_0x211d3f&0xff])^_0x2986fc[_0x4e8fbf++],_0x2a9543=(_0x5e3cd9[_0x8daa36>>>0x18]<<0x18|_0x5e3cd9[_0x3360a2>>>0x10&0xff]<<0x10|_0x5e3cd9[_0x211d3f>>>0x8&0xff]<<0x8|_0x5e3cd9[_0x99085b&0xff])^_0x2986fc[_0x4e8fbf++],_0x55676e=(_0x5e3cd9[_0x3360a2>>>0x18]<<0x18|_0x5e3cd9[_0x211d3f>>>0x10&0xff]<<0x10|_0x5e3cd9[_0x99085b>>>0x8&0xff]<<0x8|_0x5e3cd9[_0x8daa36&0xff])^_0x2986fc[_0x4e8fbf++],_0x2ea329=(_0x5e3cd9[_0x211d3f>>>0x18]<<0x18|_0x5e3cd9[_0x99085b>>>0x10&0xff]<<0x10|_0x5e3cd9[_0x8daa36>>>0x8&0xff]<<0x8|_0x5e3cd9[_0x3360a2&0xff])^_0x2986fc[_0x4e8fbf++];_0x5218b6[_0x2b807c]=_0x29c6d8,_0x5218b6[_0x2b807c+0x1]=_0x2a9543,_0x5218b6[_0x2b807c+0x2]=_0x55676e,_0x5218b6[_0x2b807c+0x3]=_0x2ea329;},'keySize':0x100/0x20});_0x265ccc['AES']=_0x5eaef0[_0x1a7c82(0x4b3)](_0x5bdb38);}()),_0xba9074[_0x89a3cd(0x1c6)];}));}(Li));var La=Li[_0x29d74e(0x3a9)];const $a=at(La);var ki={'exports':{}};(function(_0x2b29c7,_0x1c3955){(function(_0x5b7c10,_0x5cb08f){_0x2b29c7['exports']=_0x5cb08f(ue());}(Z,function(_0x55d057){const _0x558f57=_0x2ea9;return _0x55d057[_0x558f57(0x25f)][_0x558f57(0x25d)];}));}(ki));var Ha=ki[_0x29d74e(0x3a9)];const ja=at(Ha);var Wi={'exports':{}};(function(_0x491497,_0x397485){(function(_0x18b97,_0x26b693){const _0x378557=_0x2ea9;_0x491497[_0x378557(0x3a9)]=_0x26b693(ue());}(Z,function(_0x75e724){return(function(){const _0x2ef227=_0x2ea9;if(typeof ArrayBuffer==_0x2ef227(0x31f)){var _0x4a7695=_0x75e724,_0x5a7a42=_0x4a7695['lib'],_0x3c9dbe=_0x5a7a42[_0x2ef227(0x159)],_0xae1c0b=_0x3c9dbe[_0x2ef227(0x3b9)],_0x4cf294=_0x3c9dbe[_0x2ef227(0x3b9)]=function(_0x1ab46b){const _0x4c05a4=_0x2ef227;if(_0x1ab46b instanceof ArrayBuffer&&(_0x1ab46b=new Uint8Array(_0x1ab46b)),(_0x1ab46b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ab46b instanceof Uint8ClampedArray||_0x1ab46b instanceof Int16Array||_0x1ab46b instanceof Uint16Array||_0x1ab46b instanceof Int32Array||_0x1ab46b instanceof Uint32Array||_0x1ab46b instanceof Float32Array||_0x1ab46b instanceof Float64Array)&&(_0x1ab46b=new Uint8Array(_0x1ab46b[_0x4c05a4(0x3da)],_0x1ab46b['byteOffset'],_0x1ab46b[_0x4c05a4(0x2e5)])),_0x1ab46b instanceof Uint8Array){for(var _0x3630ad=_0x1ab46b[_0x4c05a4(0x2e5)],_0x333f23=[],_0x2614c8=0x0;_0x2614c8<_0x3630ad;_0x2614c8++)_0x333f23[_0x2614c8>>>0x2]|=_0x1ab46b[_0x2614c8]<<0x18-_0x2614c8%0x4*0x8;_0xae1c0b['call'](this,_0x333f23,_0x3630ad);}else _0xae1c0b[_0x4c05a4(0x493)](this,arguments);};_0x4cf294['prototype']=_0x3c9dbe;}}()),_0x75e724['lib']['WordArray'];}));}(Wi));var Ba=Wi['exports'];const ka=at(Ba);var Fi={'exports':{}};(function(_0x1e84c2,_0x6ae442){(function(_0x10ce29,_0x84b29,_0x138d79){const _0x5af9ea=_0x2ea9;_0x1e84c2[_0x5af9ea(0x3a9)]=_0x84b29(ue(),Bi());}(Z,function(_0x58fbf2){const _0x1bbcef=_0x2ea9;return _0x58fbf2[_0x1bbcef(0x25a)][_0x1bbcef(0x190)]={'pad':function(){},'unpad':function(){}},_0x58fbf2[_0x1bbcef(0x25a)][_0x1bbcef(0x190)];}));}(Fi));var Wa=Fi[_0x29d74e(0x3a9)];const Fa=at(Wa);function Va(_0x32b6f6,_0x498298){const _0x53c2e3=_0x29d74e,_0xb6efc9=_0x498298-_0x32b6f6[_0x53c2e3(0x400)]%_0x498298,_0x1bc441=String[_0x53c2e3(0x13c)](_0xb6efc9)[_0x53c2e3(0x2bc)](_0xb6efc9);return _0x32b6f6+_0x1bc441;}function Ga(_0x188ba6,_0x32b007){const _0x44ae65=_0x29d74e,_0x51affa=ka[_0x44ae65(0x424)](0x10),_0x3a9cf2=Va(_0x188ba6,0x10),_0x80d92b=$a['encrypt'](ja[_0x44ae65(0x169)](_0x3a9cf2),qs[_0x44ae65(0x169)](_0x32b007),{'iv':_0x51affa,'padding':Fa});return _0x51affa[_0x44ae65(0x332)](_0x80d92b[_0x44ae65(0x1de)])[_0x44ae65(0x394)](qs);}function Ya(){const _0x1a1a27=_0x29d74e,_0x34752b=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1a1a27(0x475)];if(_0x34752b){const _0x411d33={'time':Math['floor'](Date[_0x1a1a27(0x4dc)]()/0x3e8),'domain':location[_0x1a1a27(0x351)]};return Ga(JSON['stringify'](_0x411d33),_0x34752b);}}var Ka=Object[_0x29d74e(0x229)],za=Object[_0x29d74e(0x494)],qa=(_0x2b021d,_0x774086,_0x28be96,_0x29df61)=>{for(var _0x23b9b6=_0x29df61>0x1?void 0x0:_0x29df61?za(_0x774086,_0x28be96):_0x774086,_0x7bc64b=_0x2b021d['length']-0x1,_0xbebdff;_0x7bc64b>=0x0;_0x7bc64b--)(_0xbebdff=_0x2b021d[_0x7bc64b])&&(_0x23b9b6=(_0x29df61?_0xbebdff(_0x774086,_0x28be96,_0x23b9b6):_0xbebdff(_0x23b9b6))||_0x23b9b6);return _0x29df61&&_0x23b9b6&&Ka(_0x774086,_0x28be96,_0x23b9b6),_0x23b9b6;},Xa=(_0x10a752,_0x26a989)=>(_0x57cf49,_0x19dafb)=>_0x26a989(_0x57cf49,_0x19dafb,_0x10a752);let bt=class{constructor(_0x45c74d){this['_httpService']=_0x45c74d,this['_initRequestHeader']();}[_0x29d74e(0x301)](){const _0x5822de=_0x29d74e;this['_httpService'][_0x5822de(0x409)]({'interceptor':(_0x527dcf,_0x7b1e9c)=>{const _0x19e4d6=_0x5822de,_0x59e256=_0x527dcf[_0x19e4d6(0x103)],_0x56d161=Ya();return _0x56d161&&_0x59e256[_0x19e4d6(0x36d)](_0x19e4d6(0x247),_0x56d161),_0x7b1e9c(_0x527dcf);}});}};bt=qa([Xa(0x0,_0x37efa2(_0x28ac76))],bt);var Ja=Object[_0x29d74e(0x229)],Za=Object[_0x29d74e(0x494)],Qa=(_0x18f3e1,_0x5c051c,_0x5ebda0,_0x2883f5)=>{const _0x5a900d=_0x29d74e;for(var _0x33316b=_0x2883f5>0x1?void 0x0:_0x2883f5?Za(_0x5c051c,_0x5ebda0):_0x5c051c,_0xc30b60=_0x18f3e1[_0x5a900d(0x400)]-0x1,_0x2990a7;_0xc30b60>=0x0;_0xc30b60--)(_0x2990a7=_0x18f3e1[_0xc30b60])&&(_0x33316b=(_0x2883f5?_0x2990a7(_0x5c051c,_0x5ebda0,_0x33316b):_0x2990a7(_0x33316b))||_0x33316b);return _0x2883f5&&_0x33316b&&Ja(_0x5c051c,_0x5ebda0,_0x33316b),_0x33316b;},zt=(_0x1c3617,_0x52495a)=>(_0x5aabf1,_0x288131)=>_0x52495a(_0x5aabf1,_0x288131,_0x1c3617);const ec=['image/png',_0x29d74e(0x4d1),_0x29d74e(0x12b),_0x29d74e(0x11e),'image/bmp'],tc=0x5*0x400*0x400,sc=_0x29d74e(0x48c),ic='/universer-api/stream/file/upload',nc=_0x29d74e(0x37f),rc='/universer-api/file/{fileID}/sign-url';let as=class{constructor(_0x3a85d2,_0x49cbca,_0x205412){const _0x342c98=_0x29d74e;g(this,'_waitCount',0x0),g(this,_0x342c98(0x375),new _0x2c142e()),g(this,'change$',this[_0x342c98(0x375)]),g(this,_0x342c98(0x250),new Map()),(this['_httpService']=_0x3a85d2,this[_0x342c98(0x3e5)]=_0x49cbca,this[_0x342c98(0x387)]=_0x205412);}[_0x29d74e(0x4b8)](_0x21d706){const _0x17b7ef=_0x29d74e;this[_0x17b7ef(0x388)]=_0x21d706,this[_0x17b7ef(0x375)][_0x17b7ef(0x175)](_0x21d706);}[_0x29d74e(0x10c)](_0x212924,_0x1bf14d){const _0x533ea3=_0x29d74e;if(_0x1bf14d===_0xb2e9[_0x533ea3(0x3a1)]){const _0x42fa87=new Image();return _0x42fa87['src']=_0x212924,_0x42fa87;}return this[_0x533ea3(0x250)][_0x533ea3(0x177)](_0x212924);}[_0x29d74e(0x473)](_0x1142ff,_0x5244fe,_0x52256d){const _0x476cd0=_0x29d74e;_0x5244fe===_0xb2e9['BASE64']||_0x52256d==null||this[_0x476cd0(0x250)]['set'](_0x1142ff,_0x52256d);}async[_0x29d74e(0x15a)](_0x444f8c){const _0x1e4f86=_0x29d74e;try{const _0x494370=this['_replaceFileID'](this[_0x1e4f86(0x4e7)](),''+_0x444f8c),_0x573cd8=(await this[_0x1e4f86(0x1c3)][_0x1e4f86(0x177)](_0x494370))['body'];if(_0x573cd8[_0x1e4f86(0x444)]&&_0x573cd8['error'][_0x1e4f86(0x19d)]===Ei['OK']){const _0x42c70a=new URL(_0x573cd8[_0x1e4f86(0x43c)],this['_getDownloadEndpointURL']())[_0x1e4f86(0x394)]();return Promise['resolve'](_0x42c70a);}return Promise['reject'](_0x573cd8[_0x1e4f86(0x444)]);}catch(_0x2ce430){return Promise['reject'](_0x2ce430);}}async[_0x29d74e(0x38c)](_0x50fb1f){const _0x256fb6=_0x29d74e;let _0x5f5658='';if(!ec[_0x256fb6(0x1d6)](_0x50fb1f['type']))return this[_0x256fb6(0x4a5)](),Promise['reject'](new Error(_0x537a24['ERROR_IMAGE_TYPE']));if(_0x50fb1f['size']>tc)return this[_0x256fb6(0x4a5)](),Promise[_0x256fb6(0x2a2)](new Error(_0x537a24[_0x256fb6(0x214)]));try{const _0x3d65e2=new FormData();_0x3d65e2['append'](_0x256fb6(0x3bf),_0x50fb1f);const _0x1b2a83=this[_0x256fb6(0x387)][_0x256fb6(0x48d)](),_0x3276e8=_0x1b2a83==null?void 0x0:_0x1b2a83[_0x256fb6(0x4af)]();if(!_0x3276e8)throw new Error(_0x256fb6(0xf8));const _0x12d064=this[_0x256fb6(0x2ca)]()+_0x256fb6(0x40f)+_0x50fb1f[_0x256fb6(0x27a)][_0x256fb6(0x394)]()+_0x256fb6(0x14c)+bi[_0x256fb6(0x442)]+_0x256fb6(0x419)+encodeURIComponent(_0x3276e8),_0x29f34f=await(await fetch(_0x12d064,{'method':'POST','body':_0x3d65e2}))[_0x256fb6(0x42c)]();if(typeof _0x29f34f[_0x256fb6(0x2a8)]!=_0x256fb6(0x1d3))return this[_0x256fb6(0x4a5)](),Promise['reject'](new Error(_0x537a24[_0x256fb6(0x39f)]));_0x5f5658=_0x29f34f[_0x256fb6(0x2a8)];}catch{return this[_0x256fb6(0x4a5)](),Promise[_0x256fb6(0x2a2)](new Error(_0x537a24[_0x256fb6(0x39f)]));}return new Promise((_0x21dd49,_0xd6026c)=>{const _0x7ca2b1=_0x256fb6,_0x85ca72=new FileReader();_0x85ca72[_0x7ca2b1(0x480)](_0x50fb1f),_0x85ca72[_0x7ca2b1(0xf7)]=_0x105cf1=>{const _0xd9b952=_0x7ca2b1;var _0x36c522;const _0x39cce2=(_0x36c522=_0x105cf1[_0xd9b952(0x1c4)])==null?void 0x0:_0x36c522[_0xd9b952(0x264)];if(_0x39cce2==null){this[_0xd9b952(0x4a5)](),_0xd6026c(new Error(_0x537a24['ERROR_IMAGE']));return;}const _0x215545=_0x56f740[_0xd9b952(0x207)](0x6);_0x21dd49({'imageId':_0x215545,'imageSourceType':_0xb2e9[_0xd9b952(0x171)],'source':_0x5f5658,'base64Cache':_0x39cce2,'status':_0x537a24[_0xd9b952(0x1d2)]}),this['_decreaseWaiting']();};});}[_0x29d74e(0x2ca)](){const _0x2b2ed3=_0x29d74e;var _0x350250,_0xbb8b21;const _0x183f81=this['_configService'][_0x2b2ed3(0x3df)](sc),_0x260c95=this[_0x2b2ed3(0x3e5)]['getConfig'](ie);return(_0xbb8b21=(_0x350250=_0x260c95==null?void 0x0:_0x260c95[_0x2b2ed3(0x1fd)])!=null?_0x350250:_0x183f81)!=null?_0xbb8b21:ic;}['_getSignURL'](){const _0x495fde=_0x29d74e;var _0x1dee80,_0xa259e;const _0x3dffd5=this[_0x495fde(0x3e5)][_0x495fde(0x3df)](nc),_0x5d11e6=this[_0x495fde(0x3e5)][_0x495fde(0x3df)](ie);return(_0xa259e=(_0x1dee80=_0x5d11e6==null?void 0x0:_0x5d11e6[_0x495fde(0x291)])!=null?_0x1dee80:_0x3dffd5)!=null?_0xa259e:rc;}[_0x29d74e(0x1d9)](){const _0x3afc39=_0x29d74e;var _0x1ee561;const _0xeb5275=this[_0x3afc39(0x3e5)]['getConfig'](ie);return(_0x1ee561=_0xeb5275==null?void 0x0:_0xeb5275[_0x3afc39(0x13a)])!=null?_0x1ee561:location[_0x3afc39(0x3a7)];}[_0x29d74e(0x258)](_0x21ad8a,_0x10b4f1){const _0xf40826=_0x29d74e;return _0x21ad8a[_0xf40826(0x2d1)]('{fileID}',_0x10b4f1);}[_0x29d74e(0x4a5)](){const _0x5e0299=_0x29d74e;this[_0x5e0299(0x388)]-=0x1,this['_change$'][_0x5e0299(0x175)](this['_waitCount']);}};as=Qa([zt(0x0,_0x37efa2(_0x28ac76)),zt(0x1,_0x167231),zt(0x2,_0x37efa2(_0x4c5fa7))],as);var oc=Object['defineProperty'],ac=Object[_0x29d74e(0x494)],cc=(_0x290b4b,_0xb76d89,_0x437c8b,_0x4cee56)=>{const _0xc0044=_0x29d74e;for(var _0x530e8a=_0x4cee56>0x1?void 0x0:_0x4cee56?ac(_0xb76d89,_0x437c8b):_0xb76d89,_0x4dfccb=_0x290b4b[_0xc0044(0x400)]-0x1,_0x1b44cc;_0x4dfccb>=0x0;_0x4dfccb--)(_0x1b44cc=_0x290b4b[_0x4dfccb])&&(_0x530e8a=(_0x4cee56?_0x1b44cc(_0xb76d89,_0x437c8b,_0x530e8a):_0x1b44cc(_0x530e8a))||_0x530e8a);return _0x4cee56&&_0x530e8a&&oc(_0xb76d89,_0x437c8b,_0x530e8a),_0x530e8a;},Qe=(_0x419f9c,_0x38daa0)=>(_0x32ad74,_0x1a2a9d)=>_0x38daa0(_0x32ad74,_0x1a2a9d,_0x419f9c);let Tt=class extends _0x44a670{constructor(_0x40b054,_0x2a2e00,_0x53bc6b,_0x52d5b5,_0x43535f){const _0x197e3f=_0x29d74e;super(),this[_0x197e3f(0x1b2)]=_0x40b054,this[_0x197e3f(0x387)]=_0x2a2e00,this['_permissionService']=_0x53bc6b,this['_collaborationSessionService']=_0x52d5b5,this[_0x197e3f(0xef)]=_0x43535f,this['_initUnitPermissionChange'](),this[_0x197e3f(0x279)]();}['_initCloseConn'](){const _0xb75b81=_0x29d74e,_0x36e1d2=async _0x12fa72=>{const _0x3bac7c=_0x2ea9;(await this[_0x3bac7c(0x330)][_0x3bac7c(0x224)](_0x12fa72))[_0x3bac7c(0x2a1)]['pipe'](_0x2746a5(_0x54cdbe=>_0x54cdbe[_0x3bac7c(0x167)]===_0x1030bd[_0x3bac7c(0x217)]),_0x41e8bd(this[_0x3bac7c(0x201)]))[_0x3bac7c(0x3c2)](_0x2409ec=>{const _0x5d69cd=_0x3bac7c,_0x9d950d=_0x2409ec,{reason:_0x177eaa}=_0x9d950d['data'];this[_0x5d69cd(0x1b2)][_0x5d69cd(0x177)](_0xcca842)['show']({'type':_0x5b9771[_0x5d69cd(0x364)],'content':this['_localeService']['t'](_0x5d69cd(0x381))+'('+_0x177eaa+')'}),this[_0x5d69cd(0x281)][_0x5d69cd(0x273)](new _0x3399e3(_0x12fa72)['id'],!0x1),this[_0x5d69cd(0x330)][_0x5d69cd(0x119)](_0x12fa72);});};_0xef46fa(this[_0xb75b81(0x387)][_0xb75b81(0x13d)](_0xcdbbdb[_0xb75b81(0x142)]),this[_0xb75b81(0x387)][_0xb75b81(0x13d)](_0xcdbbdb['UNIVER_DOC']))[_0xb75b81(0x472)](_0x1c1ea1(_0x4594e1=>_0x4594e1[_0xb75b81(0x4af)]()),_0x2746a5(_0x308825=>!_0x592dc5(_0x308825)),_0x41e8bd(this[_0xb75b81(0x201)]))[_0xb75b81(0x3c2)](_0x3c6121=>{_0x36e1d2(_0x3c6121);});}[_0x29d74e(0x15d)](){const _0x571619=_0x29d74e,_0x467fe8=async _0x2e0310=>{const _0x265aff=_0x2ea9;(await this['_collaborationSessionService'][_0x265aff(0x224)](_0x2e0310))[_0x265aff(0x2a1)][_0x265aff(0x472)](_0x2746a5(_0xb2c520=>_0xb2c520[_0x265aff(0x167)]===_0x1030bd['UPDATE_PERMISSION_OBJ']),_0x41e8bd(this[_0x265aff(0x201)]))[_0x265aff(0x3c2)](_0x37ae11=>{const _0x5a9190=_0x265aff,_0x42dc09=_0x37ae11,{objectId:_0x247ad1}=_0x42dc09['data'],_0x88a3f2=this[_0x5a9190(0x1b2)]['get'](_0x506687);_0x247ad1===_0x2e0310?_0x88a3f2[_0x5a9190(0x49a)](_0x2e0310):_0x88a3f2[_0x5a9190(0x469)](_0x2e0310,_0x247ad1);});};_0xef46fa(this['_univerInstanceService'][_0x571619(0x13d)](_0xcdbbdb[_0x571619(0x142)]),this[_0x571619(0x387)]['getTypeOfUnitAdded$'](_0xcdbbdb['UNIVER_DOC']))['pipe'](_0x1c1ea1(_0x5e2948=>_0x5e2948[_0x571619(0x4af)]()),_0x2746a5(_0x252877=>!_0x592dc5(_0x252877)),_0x41e8bd(this[_0x571619(0x201)]))['subscribe'](_0xf23021=>{_0x467fe8(_0xf23021);});}};Tt=cc([Qe(0x0,_0x37efa2(_0x1e339b)),Qe(0x1,_0x4c5fa7),Qe(0x2,_0x1776e5),Qe(0x3,_0x37efa2(Ne)),Qe(0x4,_0x37efa2(_0x10be55))],Tt);var hc=Object[_0x29d74e(0x229)],lc=Object[_0x29d74e(0x494)],_c=(_0x51e0a2,_0x11f034,_0xb64a84,_0x331675)=>{for(var _0x23c26a=_0x331675>0x1?void 0x0:_0x331675?lc(_0x11f034,_0xb64a84):_0x11f034,_0x494cf4=_0x51e0a2['length']-0x1,_0x311579;_0x494cf4>=0x0;_0x494cf4--)(_0x311579=_0x51e0a2[_0x494cf4])&&(_0x23c26a=(_0x331675?_0x311579(_0x11f034,_0xb64a84,_0x23c26a):_0x311579(_0x23c26a))||_0x23c26a);return _0x331675&&_0x23c26a&&hc(_0x11f034,_0xb64a84,_0x23c26a),_0x23c26a;},ti=(_0x5e4daa,_0x5745f6)=>(_0x33f564,_0x3c66a9)=>_0x5745f6(_0x33f564,_0x3c66a9,_0x5e4daa);let cs=class{constructor(_0x46a6e3,_0x11f8f3){const _0x4ce6d4=_0x29d74e;this[_0x4ce6d4(0x3e5)]=_0x46a6e3,this[_0x4ce6d4(0x1c3)]=_0x11f8f3;}async[_0x29d74e(0x39c)](_0x128efd,_0x403fbd){const _0x25ded0=_0x29d74e;var _0x52b104;const {unitID:_0x376251,type:_0x2bfb25,revision:_0x59999b=0x0}=_0x403fbd,_0xe12998=this[_0x25ded0(0x271)]()+'/'+_0x2bfb25+_0x25ded0(0x164)+_0x376251+'/rev/'+_0x59999b,_0x5d0f2b=(await this[_0x25ded0(0x1c3)][_0x25ded0(0x177)](_0xe12998))[_0x25ded0(0x257)],_0x45a113=(_0x52b104=_0x5d0f2b['snapshot'])==null?void 0x0:_0x52b104[_0x25ded0(0x304)];if(_0x45a113){const _0x1802a9=_0x45a113==null?void 0x0:_0x45a113['originalMeta'],_0x371296=_0x5a6397[_0x25ded0(0x4d3)](_0x2b9359(_0x1802a9));_0x45a113[_0x25ded0(0x284)]=_0x371296,Object[_0x25ded0(0x2e3)](_0x45a113[_0x25ded0(0x1b9)])[_0x25ded0(0x2d5)](([,_0x3b7f62])=>{const _0x3cc801=_0x25ded0,_0x5d3944=_0x3b7f62['originalMeta'],_0x1354b4=_0x5a6397[_0x3cc801(0x4d3)](_0x2b9359(_0x5d3944));_0x3b7f62['originalMeta']=_0x1354b4;});}return _0x5d0f2b;}async[_0x29d74e(0x33f)](_0x42516c,_0x3917a3){const _0x43ad56=_0x29d74e,{unitID:_0x56e898,type:_0x3ee005,blockID:_0x6b50d2}=_0x3917a3,_0x507f65=this[_0x43ad56(0x3b2)]()+'/'+_0x3ee005+'/unit/'+_0x56e898+_0x43ad56(0x2b2)+_0x6b50d2;return(await this[_0x43ad56(0x1c3)]['get'](_0x507f65))['body'];}async['getDeserializedSheetBlock'](_0x18fa96,_0x453359){const _0x1499a7=_0x29d74e,{unitID:_0xa4865a,type:_0x2bbe02,blockID:_0x56e28b}=_0x453359,_0x294861=this[_0x1499a7(0x3b2)]()+_0x1499a7(0x2b2)+_0x2bbe02+'/unit/'+_0xa4865a+_0x1499a7(0x2b2)+_0x56e28b;return(await this[_0x1499a7(0x1c3)][_0x1499a7(0x177)](_0x294861))[_0x1499a7(0x257)];}async[_0x29d74e(0x421)](_0x5f4a5e,_0x3c5a42){const _0x5d291d=_0x29d74e,{unitID:_0x2a0670,type:_0x701da,from:_0x191d3c,to:_0x96d1f7}=_0x3c5a42,_0x37c19a=this[_0x5d291d(0x3b2)]()+'/'+_0x701da+'/unit/'+_0x2a0670+_0x5d291d(0x2a9)+_0x191d3c+_0x5d291d(0x4c2)+_0x96d1f7;return(await this[_0x5d291d(0x1c3)]['get'](_0x37c19a))['body'];}['_getSnapshotAPIPrefix'](){const _0x5aebd9=_0x29d74e;var _0x23404a;return(_0x23404a=this[_0x5aebd9(0x3e5)][_0x5aebd9(0x3df)](or))!=null?_0x23404a:this['_getAPIPrefix']();}[_0x29d74e(0x3b2)](){const _0x125742=_0x29d74e;var _0x4ccc85,_0x15c540;const _0x1edbab=this[_0x125742(0x3e5)][_0x125742(0x3df)](nr),_0x5cc720=this[_0x125742(0x3e5)][_0x125742(0x3df)](ie);return(_0x15c540=(_0x4ccc85=_0x5cc720==null?void 0x0:_0x5cc720[_0x125742(0x106)])!=null?_0x4ccc85:_0x1edbab)!=null?_0x15c540:rr;}async[_0x29d74e(0x221)](_0x398b1b,_0x891314){const _0x2b3249=_0x29d74e,_0x10a48c=_0x2b3249(0x410)+_0x891314[_0x2b3249(0x379)]+_0x2b3249(0x164)+_0x891314[_0x2b3249(0x46f)]+_0x2b3249(0x492);return(await this['_httpService']['get'](_0x10a48c,{'params':{'resourceId':JSON[_0x2b3249(0x11f)](_0x891314['resourceIDs'])}}))[_0x2b3249(0x257)];}[_0x29d74e(0x45d)](){const _0x2824a3=_0x29d74e;throw new Error(_0x2824a3(0x24c));}[_0x29d74e(0x296)](){const _0x49754c=_0x29d74e;throw new Error(_0x49754c(0x24c));}[_0x29d74e(0x28f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x29d74e(0x14f)](){const _0x165814=_0x29d74e;throw new Error(_0x165814(0x24c));}[_0x29d74e(0x265)](){const _0x32624d=_0x29d74e;throw new Error(_0x32624d(0x24c));}};cs=_c([ti(0x0,_0x167231),ti(0x1,_0x37efa2(_0x28ac76))],cs);var uc=Object[_0x29d74e(0x229)],dc=Object[_0x29d74e(0x494)],fc=(_0x397da8,_0x2528ad,_0xe2ea9,_0x15b5f5)=>{for(var _0x5a54a2=_0x15b5f5>0x1?void 0x0:_0x15b5f5?dc(_0x2528ad,_0xe2ea9):_0x2528ad,_0x19b60a=_0x397da8['length']-0x1,_0x3ce2ca;_0x19b60a>=0x0;_0x19b60a--)(_0x3ce2ca=_0x397da8[_0x19b60a])&&(_0x5a54a2=(_0x15b5f5?_0x3ce2ca(_0x2528ad,_0xe2ea9,_0x5a54a2):_0x3ce2ca(_0x5a54a2))||_0x5a54a2);return _0x15b5f5&&_0x5a54a2&&uc(_0x2528ad,_0xe2ea9,_0x5a54a2),_0x5a54a2;},et=(_0xac56ae,_0x5b004e)=>(_0x13177a,_0xbc4756)=>_0x5b004e(_0x13177a,_0xbc4756,_0xac56ae);let hs=class extends _0x564f91{constructor(_0x1d95fc,_0x2d0d5e,_0x1ea397,_0x4ba71a,_0x2ff127){const _0x3bb94e=_0x29d74e;super(_0x1d95fc,_0x2d0d5e,_0x1ea397),this[_0x3bb94e(0x2f4)]=_0x4ba71a,this[_0x3bb94e(0x468)]=_0x2ff127;}[_0x29d74e(0x2cb)](_0x47a27c,_0x429bf7){const _0x3098ed=_0x29d74e,_0x499171=this['_getUndoStack'](_0x47a27c);if(_0x499171)try{const _0x3fd8c7=this[_0x3098ed(0x4fb)](_0x499171,_0x429bf7);this[_0x3098ed(0x43a)](_0x47a27c,_0x3fd8c7);}catch(_0x24cdcc){this[_0x3098ed(0x468)][_0x3098ed(0x444)](_0x3098ed(0x1af),_0x24cdcc),this[_0x3098ed(0x44b)](_0x47a27c);}const _0x3867ef=this[_0x3098ed(0x377)](_0x47a27c);if(_0x3867ef)try{const _0x1fe021=this[_0x3098ed(0x4fb)](_0x3867ef,_0x429bf7);this[_0x3098ed(0x1e4)](_0x47a27c,_0x1fe021);}catch(_0x4e67c7){this[_0x3098ed(0x468)][_0x3098ed(0x444)](_0x4e67c7),this['_clearRedo'](_0x47a27c);}}[_0x29d74e(0x44b)](_0x35c8d3){const _0x3bb59a=_0x29d74e,_0x220f2e=this[_0x3bb59a(0x47b)](_0x35c8d3);_0x220f2e&&(_0x220f2e[_0x3bb59a(0x400)]=0x0,this[_0x3bb59a(0x366)]());}[_0x29d74e(0x292)](_0x1af271){const _0x3fd59c=_0x29d74e,_0x48aae6=this[_0x3fd59c(0x377)](_0x1af271);_0x48aae6&&(_0x48aae6[_0x3fd59c(0x400)]=0x0,this[_0x3fd59c(0x366)]());}[_0x29d74e(0x43a)](_0x21db29,_0x545c7){const _0x5f2543=_0x29d74e;this[_0x5f2543(0x1bd)][_0x5f2543(0x36d)](_0x21db29,_0x545c7),this[_0x5f2543(0x366)]();}[_0x29d74e(0x1e4)](_0x189f7d,_0x21b636){const _0x5cb7d3=_0x29d74e;this[_0x5cb7d3(0x172)][_0x5cb7d3(0x36d)](_0x189f7d,_0x21b636),this[_0x5cb7d3(0x366)]();}[_0x29d74e(0x4fb)](_0x18cc5d,_0x569117){const _0x3eda79=_0x29d74e,_0x5b5923=[];let _0x5b01f7=_0x569117,_0x3066c4=_0x569117;for(let _0x42f5df=_0x18cc5d[_0x3eda79(0x400)]-0x1;_0x42f5df>=0x0;_0x42f5df--){const {unitID:_0x5cd304,undoMutations:_0x57b652,redoMutations:_0x4b4d36}=_0x18cc5d[_0x42f5df],_0x38193e=this[_0x3eda79(0x2f4)][_0x3eda79(0x4ca)](_0x5b01f7,_0x57b652),_0x3b2adc=this['_transformService'][_0x3eda79(0x4ca)](_0x3066c4,_0x4b4d36);if(_0x3547b2(_0x38193e)||_0x3547b2(_0x3b2adc)){this[_0x3eda79(0x468)][_0x3eda79(0x444)](_0x3eda79(0x1af),_0x3eda79(0x1e7),_0x38193e,_0x3b2adc);break;}_0x5b01f7=_0x38193e[_0x3eda79(0x147)],_0x3066c4=_0x3b2adc[_0x3eda79(0x147)],_0x5b5923[_0x3eda79(0x183)]({'unitID':_0x5cd304,'undoMutations':_0x38193e[_0x3eda79(0x36b)],'redoMutations':_0x3b2adc[_0x3eda79(0x36b)]});}return _0x5b5923[_0x3eda79(0x1f0)]();}};hs=fc([et(0x0,_0x4c5fa7),et(0x1,_0xc41305),et(0x2,_0x1845f3),et(0x3,_0x4938c5),et(0x4,_0x2b335c)],hs);class vc extends _0x44a670{constructor(){const _0x2bce4b=_0x29d74e;super(),g(this,'urlChange$'),this['urlChange$']=_0x83dc15(window,_0x2bce4b(0x299))[_0x2bce4b(0x472)](_0xb0a601(this[_0x2bce4b(0x201)]),_0x304e5f(0x1),_0x5047b1(void 0x0));}['setParam'](_0x43353d,_0x3bbeb1,_0x295e73=!0x1){const _0x2a5f1d=_0x29d74e,_0x2a460a=new URL(window[_0x2a5f1d(0x41d)][_0x2a5f1d(0x3bb)]);_0x2a460a[_0x2a5f1d(0x1aa)][_0x2a5f1d(0x36d)](_0x43353d,_0x3bbeb1),_0x295e73?window[_0x2a5f1d(0x4de)]['replaceState']('','',_0x2a460a['toString']()):window[_0x2a5f1d(0x4de)][_0x2a5f1d(0x4d7)]('','',_0x2a460a['toString']());}[_0x29d74e(0x36e)](_0x4debf0,_0x127381=!0x1){const _0x170aea=_0x29d74e,_0x1ac7ec=new URL(window[_0x170aea(0x41d)]['href']);_0x1ac7ec[_0x170aea(0x1aa)][_0x170aea(0x4f6)](_0x4debf0),_0x127381?window[_0x170aea(0x4de)][_0x170aea(0x17b)]('','',_0x1ac7ec[_0x170aea(0x394)]()):window[_0x170aea(0x4de)]['pushState']('','',_0x1ac7ec[_0x170aea(0x394)]());}[_0x29d74e(0x12c)](_0x29199c){const _0xc155c6=_0x29d74e;var _0x3ccb9a;return(_0x3ccb9a=new URL(window[_0xc155c6(0x41d)][_0xc155c6(0x3bb)])[_0xc155c6(0x1aa)][_0xc155c6(0x177)](_0x29199c))!=null?_0x3ccb9a:void 0x0;}}var Vi=Object['defineProperty'],mc=Object[_0x29d74e(0x494)],pc=(_0x5ad76f,_0x469f8e,_0x12263f)=>_0x469f8e in _0x5ad76f?Vi(_0x5ad76f,_0x469f8e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12263f}):_0x5ad76f[_0x469f8e]=_0x12263f,gc=(_0x4bb529,_0x195d9d,_0x948c89,_0x3635ce)=>{const _0x5ae96b=_0x29d74e;for(var _0x99706f=_0x3635ce>0x1?void 0x0:_0x3635ce?mc(_0x195d9d,_0x948c89):_0x195d9d,_0x189318=_0x4bb529[_0x5ae96b(0x400)]-0x1,_0x47720c;_0x189318>=0x0;_0x189318--)(_0x47720c=_0x4bb529[_0x189318])&&(_0x99706f=(_0x3635ce?_0x47720c(_0x195d9d,_0x948c89,_0x99706f):_0x47720c(_0x99706f))||_0x99706f);return _0x3635ce&&_0x99706f&&Vi(_0x195d9d,_0x948c89,_0x99706f),_0x99706f;},lt=(_0x39a988,_0x2c50c6)=>(_0x37628a,_0x2a2df8)=>_0x2c50c6(_0x37628a,_0x2a2df8,_0x39a988),Sc=(_0x2e2090,_0x5764d6,_0x43834c)=>pc(_0x2e2090,_0x5764d6+'',_0x43834c);const Ic=_0x29d74e(0x2c1);let ls=class extends _0x5b55da{constructor(_0x2fa7d5=Cr,_0x102a06,_0xa8ae65,_0x9c87c0,_0x5767c0){const _0x1ebd8c=_0x29d74e;super(),this[_0x1ebd8c(0x16c)]=_0x2fa7d5,this[_0x1ebd8c(0x468)]=_0x102a06,this['_renderManagerService']=_0xa8ae65,this['_injector']=_0x9c87c0,this['_configService']=_0x5767c0;const {..._0xae43b6}=this['_config'];this['_configService'][_0x1ebd8c(0x3c0)](ie,_0xae43b6);}[_0x29d74e(0x3ab)](){const _0xd2a72b=_0x29d74e;this[_0xd2a72b(0x165)](),this[_0xd2a72b(0x193)]();}[_0x29d74e(0x1ec)](){_0x3f5f15(this['_injector'],[[Ct]]);}[_0x29d74e(0x44c)](){const _0x4c7211=_0x29d74e;this[_0x4c7211(0x399)]();}[_0x29d74e(0x165)](){const _0x2d1620=_0x29d74e;var _0x3ac006,_0x3cffb8,_0x49c6fa,_0x20ff5d;this['_injector'][_0x2d1620(0x44d)](_0x17339c)&&this['_logService'][_0x2d1620(0x444)](_0x2d1620(0x343),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0xc7a6d2=[[_0x17339c,{'useClass':hs}],[Ne],[Cs],[xi,{'useClass':vc}],[Ue],[q],[_0xad4ad5],[vt],[pt],[ft],[mt],[Ss],[Et],[bt],[Ri],[Tt],[Ti,{'useClass':(_0x3cffb8=(_0x3ac006=this[_0x2d1620(0x16c)])==null?void 0x0:_0x3ac006['socketService'])!=null?_0x3cffb8:Zt}],[_0x2b7ebf,{'useClass':cs}],[_0x385e9a,{'useClass':os}],[_0x5ba3bd,{'useClass':as}],[it],[It],[St],[Ct],[Ve]];(_0x49c6fa=this[_0x2d1620(0x16c)])!=null&&_0x49c6fa[_0x2d1620(0x4bf)]&&_0xc7a6d2[_0x2d1620(0x183)]([Rt,{'useClass':to}]),_0x220436(this[_0x2d1620(0x1b2)],_0x479814(_0xc7a6d2,(_0x20ff5d=this[_0x2d1620(0x16c)])==null?void 0x0:_0x20ff5d[_0x2d1620(0x28b)]));}[_0x29d74e(0x399)](){const _0x2b7dcd=_0x29d74e;this[_0x2b7dcd(0x3d0)](this[_0x2b7dcd(0x26c)][_0x2b7dcd(0x2d7)](_0xcdbbdb[_0x2b7dcd(0x2f6)],[ns])),this['disposeWithMe'](this[_0x2b7dcd(0x26c)][_0x2b7dcd(0x2d7)](_0xcdbbdb[_0x2b7dcd(0x142)],[rs]));}[_0x29d74e(0x193)](){const _0x2e8c99=_0x29d74e;var _0x16fcdc,_0x38f0f2;this['_injector'][_0x2e8c99(0x177)](_0x28ac76)[_0x2e8c99(0x409)]({'priority':0x14,'interceptor':_0x2ad2e3({'maxParallel':0x6})}),(_0x16fcdc=this[_0x2e8c99(0x16c)])!=null&&_0x16fcdc[_0x2e8c99(0x39e)]||this[_0x2e8c99(0x1b2)][_0x2e8c99(0x177)](q)[_0x2e8c99(0x1a1)](),(_0x38f0f2=this[_0x2e8c99(0x16c)])!=null&&_0x38f0f2[_0x2e8c99(0x46c)]&&_0x3f5f15(this[_0x2e8c99(0x1b2)],[[Et]]),_0x3f5f15(this[_0x2e8c99(0x1b2)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Sc(ls,'pluginName',Ic),ls=gc([_0x285417(_0x150e21,_0x1da47c),lt(0x1,_0x2b335c),lt(0x2,_0x4b3f95),lt(0x3,_0x37efa2(_0x1e339b)),lt(0x4,_0x167231)],ls);export{Pa as AUTHZ_URL_KEY,os as AuthzIoHttpService,pr as COLLAB_SUBMIT_CHANGESET_URL_KEY,cr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,Qt as CollaborationSession,Ne as CollaborationSessionService,Zt as CollaborationSocketService,J as CollaborationStatus,_a as CollaborationStatusDisplay,Ri as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,es as DocCollaborationEntity,lr as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ti as ICollaborationSocketService,xi as IURLService,as as ImageIoService,vr as LOCAL_CACHE_INTERVAL_KEY,Sr as LOGIN_URL_KEY,q as LocalCacheService,Ue as MemberService,dr as RETRY_CONNECTING_MAX_COUNT_KEY,Bc as SEND_CHANGESET_TIMEOUT_KEY,nr as SNAPSHOT_SERVER_URL_KEY,or as SNAPSHOT_URL_KEY,ve as SessionStatus,Yo as SheetCollabCursorShape,ts as SheetCollaborationEntity,cs as SnapshotServerOverHTTPService,ls as UniverCollaborationClientPlugin,vc as WebURLService,Er as deserializeToCombResponse,br as serializeCombRequest};