@univerjs-pro/collaboration-client 0.4.2-nightly.202411071606 → 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 _0xe3a6b9=_0x272d;(function(_0x22186d,_0x371f1b){const _0x33352a=_0x272d,_0xa0c26e=_0x22186d();while(!![]){try{const _0x3c83d0=-parseInt(_0x33352a(0x262))/0x1+parseInt(_0x33352a(0x423))/0x2*(parseInt(_0x33352a(0x3de))/0x3)+-parseInt(_0x33352a(0x2c1))/0x4+-parseInt(_0x33352a(0x40f))/0x5*(parseInt(_0x33352a(0x475))/0x6)+-parseInt(_0x33352a(0x387))/0x7*(parseInt(_0x33352a(0x441))/0x8)+parseInt(_0x33352a(0x3ee))/0x9+parseInt(_0x33352a(0x577))/0xa;if(_0x3c83d0===_0x371f1b)break;else _0xa0c26e['push'](_0xa0c26e['shift']());}catch(_0x424481){_0xa0c26e['push'](_0xa0c26e['shift']());}}}(_0x1b9e,0xb31e3));var Yi=Object[_0xe3a6b9(0x2e1)],Ki=(_0x472691,_0x36cdaf,_0x440a65)=>_0x36cdaf in _0x472691?Yi(_0x472691,_0x36cdaf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x440a65}):_0x472691[_0x36cdaf]=_0x440a65,g=(_0x3e6e44,_0xc582ef,_0x18308)=>Ki(_0x3e6e44,typeof _0xc582ef!=_0xe3a6b9(0x4b4)?_0xc582ef+'':_0xc582ef,_0x18308);import{createIdentifier as _0x205a3e,Inject as _0x432547,Disposable as _0x4f0ec0,DisposableCollection as _0x1161a0,toDisposable as _0x3b9b0c,IConfigService as _0x4b50bc,ILogService as _0xfb205,UserManagerService as _0x2df2a1,UniverInstanceType as _0x3c5a8f,IUniverInstanceService as _0x17aa8b,LocaleService as _0x363878,Optional as _0x175412,RxDisposable as _0x90c284,Injector as _0x521cd6,Tools as _0x1d5b8a,ILocalStorageService as _0x3eb8c6,Rectangle as _0x76407c,ICommandService as _0xc67fcf,DOC_RANGE_TYPE as _0x38924c,JSONX as _0x60f96,CommandType as _0x414065,IPermissionService as _0x4e112d,IUndoRedoService as _0x5786da,sequenceExecute as _0x29e58b,debounce as _0x27e862,COLORS as _0x43d58a,ColorKit as _0x31e659,ThemeService as _0x4d1cc4,fromEventSubject as _0x3b5dd1,useDependency as _0x8c2bb4,connectInjector as _0x52c9bc,Workbook as _0x5548a9,isInternalEditorID as _0x558a05,LocalUndoRedoService as _0x5add56,IContextService as _0x1221df,DependentOn as _0x150c40,Plugin as _0x8b9456,touchDependencies as _0x105235,IAuthzIoService as _0x4784ca,registerDependencies as _0x206216,mergeOverrideWithDependencies as _0x5c3c24}from'@univerjs/core';import{Subject as _0xbd68e4,merge as _0x476f09,takeUntil as _0x4c7076,BehaviorSubject as _0x23c074,distinctUntilChanged as _0x40087c,fromEvent as _0x32e3b9,ReplaySubject as _0x530df0,take as _0x335dc9,map as _0x464b87,shareReplay as _0x186328,of as _0x19d5e8,debounceTime as _0x3aba06,filter as _0x4b4ea5,switchMap as _0x211e4b,combineLatest as _0x4fb160,concatMap as _0x4de8c1,mapTo as _0x52c065}from'rxjs';import{map as _0x40a0c5,take as _0x203bcd,filter as _0x1e3ef3,delay as _0x3b37a3,throttleTime as _0x3818f0,takeUntil as _0x7ee64f,switchMap as _0x16f8b3}from'rxjs/operators';import{MessageType as _0xedbc0c,Tooltip as _0x1208ed}from'@univerjs/design';import{IBeforeCloseService as _0x40985b,IMessageService as _0xc25f4d,INotificationService as _0x25d02a,useObservable as _0x2efd18,BuiltInUIPart as _0x5027da,IUIPartsService as _0x571152}from'@univerjs/ui';import{HTTPService as _0x181521,WebSocketService as _0x2df469,MergeInterceptorFactory as _0xe5a875,HTTPRequest as _0xa584b3,UniverNetworkPlugin as _0x34bf5b,ThresholdInterceptorFactory as _0x2cef5d}from'@univerjs/network';import{CollaborationEvent as _0xd65e90,parseChangesetToProtocol as _0x2de848,ISnapshotServerService as _0x4a311d,isTransformMutationFailure as _0x54625d,isTransformMutationsWithChangesetSuccess as _0x369aae,ITransformService as _0x24b4da,RevisionService as _0x1493a3,mapDocumentTypeToUniverType as _0x2dee8d,isTransformChangesetsSuccess as _0x146057,CompressMutationService as _0x202f36,parseProtocolChangeset as _0x1c3eb2,SnapshotService as _0x50afc6,textEncoder as _0x577d88,b64DecodeUnicode as _0x39d65a,isTransformMutationsWithChangesetFailure as _0x1224cb,UniverCollaborationPlugin as _0x2f93a9}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x469fb7}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x4b63a5,DocStateChangeManagerService as _0x148acc,NodePositionConvertToCursor as _0x3c488e,NodePositionConvertToRectRange as _0x39808e,TEXT_RANGE_LAYER_INDEX as _0x4e8654,SetDocZoomRatioOperation as _0x525bb7}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3e7423,SetSelectionsOperation as _0x5aa13c,InsertSheetMutation as _0x235d24,EmptyMutation as _0x3c7c11,WorkbookEditablePermission as _0x345c5d,RefRangeService as _0x49605c,EffectRefRangId as _0x416659,handleIRemoveRow as _0xea0096,handleIRemoveCol as _0x1365f2,handleMoveRange as _0x2776b2,handleInsertRow as _0x38c8e7,handleInsertRangeMoveRight as _0x101bd3,handleInsertRangeMoveDown as _0x34e8fa,handleInsertCol as _0x3a99f0,handleDeleteRangeMoveUp as _0x52baa3,handleDeleteRangeMoveLeft as _0x432a43,runRefRangeMutations as _0x5b9034,SetWorksheetActivateCommand as _0x2ab4e3}from'@univerjs/sheets';import{IRenderManagerService as _0x49136b,Shape as _0x4d54b9,Rect as _0x572d5b,getColor as _0x52f2b6,RegularPolygon as _0x3d8108,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2a0ac0,Vector2 as _0x1842e2}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5b3cb8,RichTextEditingMutation as _0xe5a7a5,SetTextSelectionsOperation as _0xcb3313,DocSkeletonManagerService as _0x21b828}from'@univerjs/docs';import{ImageSourceType as _0x2f2b24,ImageUploadStatusType as _0x2b9ae9,IImageIoService as _0x1dc416}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x2d4d8f,serializeRangeWithSheet as _0x46c3af}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x57cf81,VIEWPORT_KEY as _0x4f1b67,getCoordByCell as _0x4a6322,getSheetObject as _0x33eeed,SheetPermissionInitController as _0x12614b}from'@univerjs/sheets-ui';import _0x5f3cc8,{forwardRef as _0x287f1e,useRef as _0x29705a,createElement as _0x3f5a91,useCallback as _0x4ea52a}from'react';import{IRemoteInstanceService as _0x39d8c4}from'@univerjs/rpc';const nr=_0xe3a6b9(0x2b2),rr=_0xe3a6b9(0x1df),or=_0xe3a6b9(0x3f1),Bc='SEND_CHANGESET_TIMEOUT',ar=0x7d0,cr=_0xe3a6b9(0x2a8),hr=_0xe3a6b9(0x3e8),lr=_0xe3a6b9(0x473),_r=0x7530,Ei=_0xe3a6b9(0x4d4),bi=0x4e20,ur=0x4e20,dr='RETRY_CONNECTING_MAX_COUNT',fr=0x3,vr=_0xe3a6b9(0x1e5),mr=0x3e8,pr=_0xe3a6b9(0x530),gr=_0xe3a6b9(0x452),Sr='LOGIN_URL_KEY',Ir=_0xe3a6b9(0x575);var Ti=(_0x80f9f8=>(_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x1f2)]=0x0]=_0xe3a6b9(0x1f2),_0x80f9f8[_0x80f9f8['OK']=0x1]='OK',_0x80f9f8[_0x80f9f8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x27a)]=0x3]=_0xe3a6b9(0x27a),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x38c)]=0x4]=_0xe3a6b9(0x38c),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x499)]=0x5]=_0xe3a6b9(0x499),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x492)]=0x6]=_0xe3a6b9(0x492),_0x80f9f8[_0x80f9f8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x43f)]=0x8]=_0xe3a6b9(0x43f),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x306)]=0x9]='COMPLETION_FINISHED',_0x80f9f8[_0x80f9f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xe3a6b9(0x218),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x351)]=0x1771]=_0xe3a6b9(0x351),_0x80f9f8[_0x80f9f8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xe3a6b9(0x3c5),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x380)]=0x1773]=_0xe3a6b9(0x380),_0x80f9f8[_0x80f9f8['APPLY_REJECT']=0x1b59]=_0xe3a6b9(0x357),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x294)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x591)]=0x1b5b]=_0xe3a6b9(0x591),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x271)]=0x1b5c]=_0xe3a6b9(0x271),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x48a)]=0x1b5d]=_0xe3a6b9(0x48a),_0x80f9f8[_0x80f9f8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xe3a6b9(0x341),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x4c9)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x368)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x56f)]=0x232b]=_0xe3a6b9(0x56f),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x290)]=0x232c]=_0xe3a6b9(0x290),_0x80f9f8[_0x80f9f8['LICENSE_DISTRO_REJECTED']=0x232d]=_0xe3a6b9(0x5ae),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x3e3)]=0x2711]=_0xe3a6b9(0x3e3),_0x80f9f8[_0x80f9f8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xe3a6b9(0x390),_0x80f9f8[_0x80f9f8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xe3a6b9(0x273),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x534)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x80f9f8))(Ti||{}),ce=(_0x2e3af5=>(_0x2e3af5[_0x2e3af5[_0xe3a6b9(0x45e)]=0x0]=_0xe3a6b9(0x45e),_0x2e3af5[_0x2e3af5[_0xe3a6b9(0x39b)]=0x1]=_0xe3a6b9(0x39b),_0x2e3af5[_0x2e3af5[_0xe3a6b9(0x4fb)]=0x2]=_0xe3a6b9(0x4fb),_0x2e3af5[_0x2e3af5['UNIVER_SLIDE']=0x3]=_0xe3a6b9(0x56e),_0x2e3af5[_0x2e3af5['UNIVER_PROJECT']=0x4]=_0xe3a6b9(0x344),_0x2e3af5[_0x2e3af5[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x2e3af5))(ce||{}),W=(_0x125cd9=>(_0x125cd9[_0x125cd9[_0xe3a6b9(0x309)]=0x0]=_0xe3a6b9(0x309),_0x125cd9[_0x125cd9[_0xe3a6b9(0x588)]=0x1]=_0xe3a6b9(0x588),_0x125cd9[_0x125cd9[_0xe3a6b9(0x431)]=0x2]='JOIN',_0x125cd9[_0x125cd9[_0xe3a6b9(0x571)]=0x3]='LEAVE',_0x125cd9[_0x125cd9['INGEST']=0x4]=_0xe3a6b9(0x24a),_0x125cd9[_0x125cd9[_0xe3a6b9(0x3ca)]=0x5]='HEARTBEAT',_0x125cd9[_0x125cd9[_0xe3a6b9(0x1f4)]=0x6]=_0xe3a6b9(0x1f4),_0x125cd9[_0x125cd9[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x125cd9))(W||{}),Ss=(_0x31987f=>(_0x31987f[_0x31987f[_0xe3a6b9(0x231)]=0x0]=_0xe3a6b9(0x231),_0x31987f[_0x31987f['OK']=0x1]='OK',_0x31987f[_0x31987f[_0xe3a6b9(0x3e9)]=0x2]=_0xe3a6b9(0x3e9),_0x31987f[_0x31987f[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x31987f))(Ss||{}),Ri=(_0x483773=>(_0x483773[_0x483773[_0xe3a6b9(0x460)]=0x0]=_0xe3a6b9(0x460),_0x483773[_0x483773['HttpImport']=0x1]=_0xe3a6b9(0x362),_0x483773[_0x483773['HttpExport']=0x2]=_0xe3a6b9(0x2a4),_0x483773[_0x483773[_0xe3a6b9(0x333)]=0x3]=_0xe3a6b9(0x333),_0x483773[_0x483773[_0xe3a6b9(0x37a)]=0x4]=_0xe3a6b9(0x37a),_0x483773[_0x483773[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x483773))(Ri||{});const ie=_0xe3a6b9(0x453),Cr={};function Er(_0x50a660){const _0x378f68=_0xe3a6b9;var _0x48bd18,_0xa98c60,_0x497d8d,_0x456bf0,_0x3615ef;const _0x31e7f5=_0x50a660[_0x378f68(0x2be)],_0x235c78=JSON[_0x378f68(0x3e6)](_0x31e7f5);switch(_0x235c78[_0x378f68(0x31c)]){case W[_0x378f68(0x3ca)]:case W[_0x378f68(0x588)]:{const _0x53ed2c=_0x235c78[_0x378f68(0x34b)];return{..._0x235c78,'data':_0x53ed2c,'cmd':_0x235c78[_0x378f68(0x31c)]};}case W[_0x378f68(0x431)]:{const _0x4ae5f5=_0x235c78['joinRsp'];return{..._0x235c78,'data':_0x4ae5f5,'cmd':_0x235c78[_0x378f68(0x31c)]};}case W['RECV']:{const _0x1804cb=_0x235c78[_0x378f68(0x4e0)];switch(_0x1804cb[_0x378f68(0x3f3)]){case _0xd65e90[_0x378f68(0x3d0)]:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0x48bd18=_0x1804cb[_0x378f68(0x4c2)])==null?void 0x0:_0x48bd18['cs']},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x235)]:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0xa98c60=_0x1804cb[_0x378f68(0x28d)])==null?void 0x0:_0xa98c60['cs']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90['NEW_CHANGESETS']:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0x497d8d=_0x1804cb[_0x378f68(0x440)])==null?void 0x0:_0x497d8d['cs']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x3c1)]:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0x456bf0=_0x1804cb['csRejEvent'])==null?void 0x0:_0x456bf0['cs']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x4ef)]:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0x3615ef=_0x1804cb['csShouldRetryEvent'])==null?void 0x0:_0x3615ef['cs']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x5af)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb['updateCursorEvent']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x4b8)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x4fa)]},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x467)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x508)]},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x210)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x576)]},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x5ab)]:case _0xd65e90[_0x378f68(0x32b)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x505)]},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90['LIVESHARE_TERMINATE']:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x576)]},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x1ff)]:return{..._0x235c78,'data':_0x1804cb,'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x514)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x221)]},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x43c)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x59b)]},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x40c)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x5c7)]},'cmd':_0x235c78[_0x378f68(0x31c)]};default:return _0x235c78;}}default:return _0x235c78;}}function br(_0x2b3b64){const _0x1aec81=_0xe3a6b9;switch(_0x2b3b64[_0x1aec81(0x31c)]){case W[_0x1aec81(0x3ca)]:case W[_0x1aec81(0x588)]:return JSON[_0x1aec81(0x4f2)]({'cmd':_0x2b3b64[_0x1aec81(0x31c)],'routeKey':_0x2b3b64[_0x1aec81(0x299)]});case W[_0x1aec81(0x24a)]:{let _0x1b36e3;switch(_0x2b3b64[_0x1aec81(0x2be)]['eventID']){case _0xd65e90[_0x1aec81(0x5af)]:{_0x1b36e3={'eventID':_0xd65e90['UPDATE_CURSOR'],'updateCursorEvent':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x467)]:{_0x1b36e3={'eventID':_0xd65e90[_0x1aec81(0x467)],'leaveEvent':_0x2b3b64['data'][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x4b8)]:{_0x1b36e3={'eventID':_0xd65e90[_0x1aec81(0x4b8)],'joinEvent':_0x2b3b64['data'][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x210)]:{_0x1b36e3={'eventID':_0xd65e90['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x32b)]:{_0x1b36e3={'eventID':_0xd65e90['LIVESHARE_OPERATION'],'liveShareOperation':_0x2b3b64['data']['data']};break;}case _0xd65e90[_0x1aec81(0x3af)]:{_0x1b36e3={'eventID':_0xd65e90[_0x1aec81(0x3af)],'liveShareTerminate':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x24c)]:{_0x1b36e3={'eventID':_0xd65e90[_0x1aec81(0x24c)],'liveShareRequestHost':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x5ab)]:{_0x1b36e3={'eventID':_0xd65e90['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1b36e3={'eventID':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x3f3)]};}return JSON[_0x1aec81(0x4f2)]({'cmd':_0x2b3b64['cmd'],'routeKey':_0x2b3b64[_0x1aec81(0x299)],'collaMsg':_0x1b36e3});}case W[_0x1aec81(0x431)]:return JSON[_0x1aec81(0x4f2)]({'cmd':_0x2b3b64[_0x1aec81(0x31c)],'routeKey':_0x2b3b64[_0x1aec81(0x299)],'joinReq':_0x2b3b64[_0x1aec81(0x2be)]});case W[_0x1aec81(0x571)]:return JSON[_0x1aec81(0x4f2)]({'cmd':_0x2b3b64['cmd'],'routeKey':_0x2b3b64[_0x1aec81(0x299)],'leaveReq':_0x2b3b64[_0x1aec81(0x2be)]});default:throw new Error(_0x1aec81(0x2a7));}}function _0x1b9e(){const _0x4191f3=['image/png','resize','subUnitId','AUTHZ_URL_KEY','getImage','_tryReconnect','RemoveColCommandId','fetchMiss','[CollaborationSessionService]','_createInitialState','_init','JOIN','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','exhaustSavingTask','ivSize','HmacSHA1','memberID','image/gif','_key','_collaborationTimeoutTimer','string','_hover','UPDATE_PERMISSION_OBJ','collabStatus.conflict','close$','TOO_MANY_REQUESTS','newCsEvent','488ptZdKy','RemoveRowCommandId','currentSkeleton$','_localeService','_resendTimer','getMemberID','auth.needGotoLoginAlert','onMouseMove','_telemetryInfo','fetch_missing','_joinRoom','NO_OTHER_CLIENTS_EDITING','__Key__','saveOfflineData','transform','OpenSSL','socket\x20open.','/universer-api/comb','collaboration-client.config','set','MoveRangeCommandId','/rev/','COMPRESS_MUTATION_APPLY','loadOfflineData','target','registerBeforeClose','_context','title','_append','UNIVER_UNKNOWN','_localStorageService','Undefined','HMAC','Decryptor','getCurrent','_getAPIPrefixPath','cfg','_configService','USERS_LEAVE','fetchMissingChangesets','_transformHistoryAndStateStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','attrs','error','unit','uni.network.url-service','collaboratorID','_entities','_saveTaskMap','execute','HEARTBEAT_INTERVAL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','6mdgsho','salt','_nRounds','_disabled','_render','_loadSheet','_changesetSessionId','show','Hasher','MUTATION','[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.','originalMeta','_ensureSubject','getFocusedUnit','_socket','_data','1em','offline','updatePermissionPoint','0\x200\x2017\x2016','_acknowledgedAwaitingChangeset','APPLY_DUPLICATED','clipPath','\x0aAfter:\x20','_isPermissionRej','function','send','_snapshotService','/collaborator','ALREADY_EXISTS','baseRev','Univer','_refRangeService','randomBytes','_colorAssignService','fillStyle','UNAUTHENTICATED','random','EvpKDF','_collaborationPaused','_getCurrentRevision','AWAITING_WITH_PENDING','idSuffix','_unitOnClients','StreamCipher','encryptBlock','_telemetryService','Pkcs7','_queuedRemoteChangesets','Utf8','_color','_onRemoteChangeset','_socketMessageSubscription','getWorkbookSelections','url(#off-line-single_clip0_910_343)','[SyncedState]:\x20received\x20rejection.','_userManagerService','_minBufferSize','collaboration.closeRoom','changesets','getOwnPropertyDescriptor','currentColor','trim','symbol','_keySchedule','setWaitCount','resend','USERS_ENTER','_docStateChangeManagerService','transformChangesets','_onUserJoin','_updateCollabCursors','mixIn','defIds','_startCollaboration','withCredentials','onTransformSelections','permissionRejEvent','init','_injector','_getSaveTimeout','/block/','_initCommandExecutedListener','univer-pro.collaboration-client-socket-service','LICENSE_MAX_UNITS_EXCEEDED','removeParam','apply','socketService','_unitID','with','on-line-single_clip0_910_349','redoState','range','rgba(255,\x20255,\x20255,\x200.01)','_unlockTransition','HEARTBEAT_TIMEOUT','_parse','sheetId','\x20to\x20','POST','_updateSubUnitFromURLParams','reconnect','_sender','_drawAnchor','moveTo','_onRemoteRetry','setStateCache','collaMsg','post','_clearRedo','updateOfflineData','_createSocket','_transformUndoRedoStack','BASE64','roomMembers','_updateStatus','close','_online','updateMember','_oKey','getCurrentSelections','roles','CHANGESET_SHOULD_RETRY','_getScale','_doReset','stringify','_mode','_labelPosition','setTimeout','&assign=','SHA1','/fetchmissing?from=','xlink:href','joinEvent','UNIVER_SHEET','iterations','registerRefRange','textRanges','width','add','_getCtorByUniverType','setItem','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_doCryptBlock','liveShareOperation','event$','getCollabCursors$','leaveEvent','_anchor','SYNCED','hide','sessionStatus','_submitChangeset','_assignedColors','...','univerjs-icon\x20univerjs-icon-','status','gold400','snapshotServerUrl','COMMENT_UPDATE','getTypeOfUnitAdded$','/universer-api/authz','collaboration-session-retry','className','get','lineTo','setShapeProps','appendMutation','[PendingState]:\x20received\x20rejection.','processBlock','max','unit-cache-','contains','_anchorDot','doc.mutation.rich-text-editing','svg','reduce','collab-client.tooltip.reconnect','getCollabEntity','onSendChangeset','_tryEnsureSocket','replaceState','text','refreshPermission','popstate','_undoRedoService','[FetchMissState]','COLLAB_SUBMIT_CHANGESET_URL','pipe','reset','drawWith','YUUMI_SUBSCRIPTION_NOT_FOUND','addEventListener','_awaitingChangeset','failed\x20to\x20apply\x20missed\x20changesets!','rev','onRemoteAck','origin','formatter','_transformStack','setShowComponents','_invKeySchedule','_hovered','_handleHover','kdf','startsWith','save','interceptor','size','map','_clearOtherTimers','putCollaborators','_createHelper','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','href','toRgbString','_checkMissing','$super','_state$','univer-offline','CONFLICT','_changesetReqId','signUrlServerUrl','_xformMode','_syncEditingCollabCursor','_transformIMECache','COMPRESS_MUTATION_SEND','_toggleOffline','_localCacheService','round','readAsDataURL','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','off-line-single','executeCommand','ranges','newValue','some','_clearUndo','_onRecvEvent','UNRECOGNIZED','evenodd','_keyPriorReset','_drawRectRange','saveSnapshot','_getMergeRange','_docTransformIMECacheService','Error\x20on\x20receiving\x20event','put','getRandomValues','UNIVER_SLIDE','LICENSE_IMPORT_SIZE_EXCEEDED','_getLoginPath','LEAVE','state$','createSocket','_onCursorDelete','/universer-api/oidc/authpage','liveShareNewHost','27110720RTWSMu','_type','font','getMergeData','_shapes','DEFAULT_FILE_NAME','setActiveRange','resolve','userID','_createInitialStateImpl','bottom','_onMessage','workbook','awaiting_with_pending','displayName','getParam','byteOffset','HELLO','objects','setAlpha','getTime','_lastPointer','onRemoteRej','isActive','_getAPIPrefix','_startTelemetryCollaborationNewChangeset','APPLY_REVISION_CONFILICT','\x0aCurrent:\x20','roomMembers$','members','m1Prime','authzUrl','_collabCursorController','filter','onTransformRemoteChangesetByIMECache','_getUndoStack','updatePermissionObjEvent','onTransformIME','transformByState','HmacMD5','[CollaborationSession]','DeleteRangeMoveLeftCommandId','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','incrementRevOfUnit','toLowerCase','_roomMembers','_roomMembers$','restore','_handleEvent','_sessionStatus$','transformUndoRedo','conflict','LIVESHARE_FETCH_OPERATIONS','objectID','url(#$1','LICENSE_DISTRO_REJECTED','UPDATE_CURSOR','all','measureText','column','_nDataBytes','getOffsetConfig','_waitCount','AWAITING','/unit/','onlineStatusTitle','Unknown\x20user','univer-online-status','PasswordBasedCipher','registerComponent','NOT_COLLAB','_HTTPService','color','clone','fill','closeSession','transformStateCache','createCollaborator','Latin1','SUBMIT_CHANGESET','shouldCloseConn','reverse','_replayCachedMutations','EXCHANGE_SIGN_URL_SERVER_URL_KEY','none','prototype','session.connection-failed','off-line-single_clip0_910_343','_lockTransition','ciphertext','disposeWithMe','setUndoRedoMutationParamsCache','Warning','_onCursorUpdate','/new_changes','sessionStatus$','_saveCache','unknown','TEXT','_transformRemoteChangesetByStateCache','_transformService','_initDependencies','_selfUnitIDs','getValue','crypto','_collaborationSessionService','loadDoc','_backgroundColor','headers','_cursorShapes','permission.title','_remoteChangesetQueue','/universer-api/snapshot','onTransformRemoteChangesetByStateCache','unsubscribe','[CollaborationEntity]','_decreaseWaiting','finalize','LOCAL_CACHE_INTERVAL','_commandService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','subunit','_clearTimeoutTimer','getUnitId','isEditing','selection','_initUnitPermissionChange','key','body','updateCollaborator','MD5','UNDEFINED','Encryptor','RECV','_iKey','_toggleOnline','onSyncEditingCollabCursor','_updateLocalCursor','replace','_initResize','encodeURIComponent','retryConnectingInterval','univer-online','_registerRenderDependencies','MSG_FOR_ERROR','/-/object/-/batch_allowed','registerRenderModule','collabCursorState$','transformStack\x20failed!','onTransformChange$','save\x20fail\x20reason\x20is\x20','lib','_onJoinRoomEvent','_memberService','result','colorChannel1','onRendered','_eventUnsubscribe','onPointerEnter$','collaboration_new_changeset','sigBytes','LIVESHARE_NEW_HOST','_httpService','awaiting','whenReady','_clearLocalCache','_sheetTransformSelectionsService','initWorkbookPermissionChange','json','CHANGESET_REVISION_CONFILICT','?url=','keySize','onRemoteRetry','current','_onConnectionOpen','fetchThroughInterceptors','file','collabStatus.synced','commentUpdateEvent','_handler','FileId','_initStatusComponent','_exhaustRemoteChangesetQueue','_incrementRevisionNumber','_cachedData','concat','_config','OFFLINE','_updateURLWithCurrentState','_onRefRangeChange','_prevBlock','hidden','&to=','_logService','UNKNOWN_CODE','translate(.97)','find','cursorInfo$','CHANGESET_ACK','editing\x20status\x20changed\x20to','reqId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_cipher','byteLength','div','_ws','patch','_transformStateCache','ERROR_IMAGE','randomUUID','_onFetchMissResult','msCrypto','M0\x200H16V16H0z','charAt','getUnitType','_initStatusListener','join','closePath','top','INGEST','setConfig','LIVESHARE_REQUEST_HOST','unitID','_startDocCollabCursor','_scene','getSheetBySheetId','getAllMembers','status$','_docSkeletonManagerService','_docTransformStateCacheService','CipherParams','_retryCount','algo','getStateCache','BlockCipherMode','ONLINE','_textBubble','debug','_createHandler','toString','assign','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[CollaborationUndoRedoService]','409800TUFUVS','_hash','fromCharCode','_onRemoteACK','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','snapshot','session.will-retry','_scheduleTimestamp','enableAuthServer','_onUserLeave','_resendWithTimeout','_members','submit\x20changeset\x20error!','UUID','transformMutationsWithChangeset','APPLY_PERMISSION_DENIED','change$','YUUMI_RATE_OVER_LIMIT','exports','CBC','delete','FromArray','_cursorInfo$','decrypt','PERMISSION_DENIED','onPointerLeave$','_commentUpdate$','findNodePositionByCharIndex','getUndoRedoMutationParamsCache','name','actions','editingUnit','readInt32LE','_docTransformSelectionsService','clearTimeout','length','action','has','_scheduleSaving','_collabSessionService','_socketService','getDeserializedSheetBlock','_showConflictNotification','csAckEvent','asObservable','sin','LICENSE_EXPORT_SIZE_EXCEEDED','entries','batchAllowed','collab-text-anchor-','APPLY_NON_SEQUENTIAL_REVISION','Base64','online','capture','_singleActiveUnitService','routeKey','getDocRanges','getConfig','getRelativeToViewportCoord','OTHER_CLIENTS_EDITING','_rescheduleHeartbeat','_fetchMissChangesets','_cursors','?size=','\x20-\x20','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpExport','_scheduleCollaborationTimeoutTimer','substr','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','COLLAB_WEB_SOCKET_URL','_candidateSocket','collabSubmitChangesetUrl','collaboration.single-unit.warning','duration','copyFileMeta','_colorIndex','every','_getSheetObject','hasher','SNAPSHOT_SERVER_URL_KEY','isArray','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getActiveRange','/universer-api/snapshot/','_clearScheduledTask','getCurrentRevOfUnit','decryptBlock','_initEventListeners','setParam','_sendHeartbeatTimer','c1Prime','data','onReady','_map','5703144sUtPoM','enableOfflineEditing','onRemoteChangeset','_updateLocalCache','getVpScrollXYInfoByPosToVp','isPermissionRej','_transformPreviousActiveRange','collabStatus.fetchMiss','_hideTimer','fetching\x20missing\x20changesets\x20from\x20','_range','_clearHeartbeatTimer','focused$','purple300','endColumn','endRow','saveSheetBlock','call','collabStatus.offline','reject','unitId','connection\x20error','stopTime','tag','_change$','collab-text-range-','clear','unshift','replaceDocRanges','params','override','currentTheme$','defineProperty','toggleOffline','buffer','_getDownloadEndpointURL','_initCloseConn','undoState','triggerDblclick','_instanceService','message$','_resendTimeout','beginPath','\x20in\x20_schedule.','_heartbeatTimer','hasOwnProperty','complete','synced','searchParams','session.collaboration-timeout','conflict.title','collaborators','collaboration-client.offline-data-not-saved','_applyRemoteChangeset','_session','setInterval','getCurrentUnitForType','_unitStatus','includes','permission.content','mutations','session','createElement','number','OnLineSingle','_iv','_updateState','Error','sid','COMPLETION_FINISHED','_refreshCollabCursors','_hasher','UNKNOWN_CMD','_socketReady','open$','create','format','_getSendChangesetTimeout','encrypt','_id','[CollaborationSessionService]:\x20socket\x20error','_entityInit$','univer-pro.collaboration-client.single-active-unit-service','_onConflict','_sheetSkeletonManagerService','_onCombEvent','clamp','/object','_undoStacks','dispose$','propertyIsEnumerable','cmd','_cursor','code','_snapshotServerService','split','getRoom','extend','getSkeleton','height','getSheetId','_transformRemoteChangesetByIMECache','icon','sheetID','sendChangesetTimeout','next','LIVESHARE_OPERATION','_pendingMutations','getRangePointData','getCurrentUser','_shouldReportTelemetry','_timeoutTimer','_event$','getMember','UnitEmbedded','_removeCollabCursors','transformSelections','/allowed','object','getInterceptPoints','m2Prime','requestParams','loadSheet','update','mode','_handleHeartbeatEvent','history','defs','CONNECTOR_DATA_TOO_LARGE','_univerInstanceService','_onConnectionFailed','UNIVER_PROJECT','JOINING','_setupSubUnitSync','then','ERROR_EXCEED_SIZE','generateRandomId','pending','infoRsp','SerializableCipher','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_transformSelections','_substituteUndoStack','catch','SNAPSHOT_INVALID_SNAPSHOT','getUnit','_revisionService','use','_executeRemoteChangeset','_stopTelemetryCollaborationNewChangeset','APPLY_REJECT','unitId\x20is\x20not\x20found','from','pluginName','_send','_sendingTimer','HEADER_MENU','disposeUnit','rng','_throwTelemetryCollaborationNewChangeset','_listenToOfflineEvent','HttpImport','_handleLeaveEvent','toggleOnline','createInstance','_getSignURL','floor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_registerDependencies','_substituteRedoStack','assignAColorForMemberID','type','image/jpeg','_removeClearOtherTimer','[OfflineState]:\x20received\x20rejection.','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','children','deleteCollaborator','blockSize','fillText','Base','onPointerMove$','[SyncedState]:\x20received\x20acknowledgement.','splice','_socket$','UnitSnapshot','_listenToOnlineEvent','onMissedChangesetFetched','onTransformState','_setupBeforeClosingHandler','values','ENSURE_SNAPSHOT_EXECUTION','awaitingChangeset','socket\x20close','cursorInfo','onCommandExecuted','startColumn','resourceIDs','110978IFmkBx','requireSession','indexOf','_removeRoom','Hex','NOT_FOUND','_getAnchorBounding','univer-online-status-title','location','YUUMI_URL_COL_OUT_OF_RANGE','backgroundColor','url','[UniverCollaborationClientPlugin]','_doFinalize','unpad','transformMutation','bind','slice','createDecryptor','_transitionLocked','UNIVER_DOC','subscribeEvent','_document','getActiveSheet','revision','/-/object/list','_schedule','startRow','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','urlChange$','pad','onMissingChangesets','_clearCollaborationTimeoutTimer','RECT','ERROR_IMAGE_TYPE','session.room-full','padding','_permissionService','unload','_startSheetCollabCursor','LIVESHARE_TERMINATE','_reverseMap','on-line-single','now','selections','dispose','getTypeOfUnitDisposed$','pushState','BlockCipher','encode','forEach','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','min','_state','AES','syncEditingCollabCursor','deepClone','_renderManagerService','CHANGESET_REJ','visibilityState','listRoles','addObject','SNAPSHOT_HAS_BEEN_REMOVED','/resources','_draw','_ENC_XFORM_MODE','_collaborationController','HEARTBEAT','Cipher','hostname','WordArray','removeMember','_docSkeleton','PERMISSION_REJ','transformIMECache','_redoStacks','[DataLoaderController]','subscribe','_beforeCloseService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getItem','_initRequestHeader','_collabCursorState$','_status$','arc','equals','_docSyncEditingCollabCursorService','12vXGusa','onlyLocal','#fff','__esModule','setCurrentUser','YUUMI_UNABLE_LOAD_URL','_retryConnectingTimer','_initMergeInterceptor','parse','image/jpg','ws://127.0.0.1:8000/universer-api/comb/connect','FAIL','getUnhiddenWorksheets','blue400','black','_process','10851246rKLrDI','objectType','_onRemoteRejected','SNAPSHOT_URL_KEY','activeSheet$','eventID','onCommentUpdate','registerHTTPInterceptor','push','_waitForHeartbeatResponse','_urlService','_onOffline','transformRemoteChangeset','_sessions','localeService','getResourcesRequest','FETCH_MISSING','_disableEditing','createEncryptor','_getSnapshotAPIPrefix','compute','_uiPartsService','append','InsertRangeMoveDownCommandId','FETCH_MISS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','words','collab-rect-range-','path','_onLocalMutation','SHOULD_CLOSE_CONN','getOwnPropertySymbols','default','3573795nAHYlG','saveChangeset','ceil','_compressMutationService','image/bmp','_name','OffLineSingle','getCellPositionByOffset','IDLE','_themeService','sheets','commentUpdate$','charCodeAt','getRenderById','enc','_sendHeartbeat','conflict.content','visibilitychange','_messageService','_http','167170qFiNtX','getCollabEntity$','row'];_0x1b9e=function(){return _0x4191f3;};return _0x1b9e();}var Tr=Object[_0xe3a6b9(0x2e1)],Rr=Object[_0xe3a6b9(0x4b1)],yr=(_0x4dd7f3,_0x12e7fa,_0x5f04f3,_0x560674)=>{const _0x42bf52=_0xe3a6b9;for(var _0x3ab2de=_0x560674>0x1?void 0x0:_0x560674?Rr(_0x12e7fa,_0x5f04f3):_0x12e7fa,_0x2bb1ee=_0x4dd7f3[_0x42bf52(0x285)]-0x1,_0x5b7f0e;_0x2bb1ee>=0x0;_0x2bb1ee--)(_0x5b7f0e=_0x4dd7f3[_0x2bb1ee])&&(_0x3ab2de=(_0x560674?_0x5b7f0e(_0x12e7fa,_0x5f04f3,_0x3ab2de):_0x5b7f0e(_0x3ab2de))||_0x3ab2de);return _0x560674&&_0x3ab2de&&Tr(_0x12e7fa,_0x5f04f3,_0x3ab2de),_0x3ab2de;},qe=(_0x21446a,_0x5ece3c)=>(_0xb8eb81,_0x30d5b9)=>_0x5ece3c(_0xb8eb81,_0x30d5b9,_0x21446a);const yi=_0x205a3e(_0xe3a6b9(0x4c8));function Or(_0x1e46a0,_0x407cad,_0x4e2e94){const _0xb86212=_0xe3a6b9;return _0x1e46a0+'/'+_0x407cad+_0xb86212(0x5b7)+_0x4e2e94+_0xb86212(0x5d5);}let Qt=class extends _0x4f0ec0{constructor(_0x56595a,_0x190b5c,_0x4f230b,_0x47512,_0x382563){const _0x55bc92=_0xe3a6b9;super(),this[_0x55bc92(0x422)]=_0x56595a,this[_0x55bc92(0x23c)]=_0x190b5c,this['_configService']=_0x4f230b,this[_0x55bc92(0x230)]=_0x47512,this[_0x55bc92(0x31f)]=_0x382563;}[_0xe3a6b9(0x573)](_0x2457f9){const _0x556723=_0xe3a6b9,_0x4bc1a9=this[_0x556723(0x23c)][_0x556723(0x573)](_0x2457f9);if(!_0x4bc1a9)throw new Error(_0x556723(0x2b4));const _0x1117cd=new _0x1161a0(),_0xc308ae=new _0xbd68e4();_0x1117cd['add'](_0x4bc1a9['close$']['subscribe'](_0xfefa62=>_0xc308ae['next'](_0xfefa62))),_0x1117cd['add'](_0x3b9b0c(()=>_0xc308ae[_0x556723(0x2ef)]()));const _0x115c4f=new _0xbd68e4();_0x1117cd[_0x556723(0x500)](_0x4bc1a9['error$'][_0x556723(0x3d4)](_0x497d79=>_0x115c4f['next'](_0x497d79))),_0x1117cd[_0x556723(0x500)](_0x3b9b0c(()=>_0x115c4f[_0x556723(0x2ef)]()));const _0x44d64f=new _0xbd68e4();_0x1117cd[_0x556723(0x500)](_0x4bc1a9[_0x556723(0x2e9)][_0x556723(0x3d4)](_0x29eab7=>{const _0x5af685=_0x556723,_0x41812a=Er(_0x29eab7);_0x44d64f[_0x5af685(0x32a)](_0x41812a);})),_0x1117cd[_0x556723(0x500)](_0x3b9b0c(()=>_0x44d64f[_0x556723(0x2ef)]()));let _0x912c4f;const _0x3d329f=()=>{const _0x409631=_0x556723;_0x115c4f[_0x409631(0x32a)](new Event('connection\x20error')),_0xc308ae[_0x409631(0x32a)](new CloseEvent(_0x409631(0x2d6))),_0x912c4f['close']();};return _0x912c4f={'memberID':'','close$':_0xc308ae[_0x556723(0x28e)](),'error$':_0x115c4f[_0x556723(0x28e)](),'open$':_0x4bc1a9[_0x556723(0x30b)],'message$':_0x44d64f['asObservable'](),'send':_0x3e3a67=>{const _0x37de0e=_0x556723;if(_0x3e3a67[_0x37de0e(0x31c)]===W[_0x37de0e(0x24a)]){if(_0x3e3a67[_0x37de0e(0x2be)]['eventID']===_0xd65e90[_0x37de0e(0x5c6)]){this[_0x37de0e(0x50d)](_0x912c4f,_0x3e3a67[_0x37de0e(0x2be)])['catch'](_0x311843=>{const _0x29f47a=_0x37de0e;this[_0x29f47a(0x230)][_0x29f47a(0x46c)](_0x311843),_0x3d329f();});return;}if(_0x3e3a67[_0x37de0e(0x2be)][_0x37de0e(0x3f3)]===_0xd65e90[_0x37de0e(0x3fe)]){const _0x2cc174=_0x3e3a67[_0x37de0e(0x2be)];this[_0x37de0e(0x29f)](_0x2cc174)[_0x37de0e(0x347)](_0x3d5fb8=>{const _0x4f90fd=_0x37de0e;_0x44d64f['next']({'cmd':W[_0x4f90fd(0x1f4)],'code':Ss['OK'],'routeKey':_0x2cc174[_0x4f90fd(0x2be)]['unitID'],'routeType':'','data':{'eventID':_0xd65e90['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3d5fb8}}});})[_0x37de0e(0x350)](_0x5f1fb3=>{this['_logService']['error'](_0x5f1fb3),_0x3d329f();});return;}}_0x4bc1a9['send'](br(_0x3e3a67));},'close':()=>{const _0x36866a=_0x556723;_0x4bc1a9[_0x36866a(0x4e9)](),_0x1117cd[_0x36866a(0x3b4)]();}},_0x912c4f;}async['_submitChangeset'](_0x338725,_0x5a9522){const _0x1725a9=_0xe3a6b9;var _0x3d8b11,_0x2ac7af;const {unitType:_0x870b9d,unitID:_0x530b31,changeset:_0x1f2103}=_0x5a9522[_0x1725a9(0x2be)],_0xf6716={'unitID':_0x530b31,'memberID':_0x338725[_0x1725a9(0x436)],'type':_0x870b9d,'changeset':_0x2de848(_0x1f2103)},_0x1b6054=this[_0x1725a9(0x466)][_0x1725a9(0x29b)](pr),_0x2e5f92=this['_configService'][_0x1725a9(0x29b)](ie),_0xaca9b4=Or((_0x2ac7af=(_0x3d8b11=_0x2e5f92==null?void 0x0:_0x2e5f92[_0x1725a9(0x2aa)])!=null?_0x3d8b11:_0x1b6054)!=null?_0x2ac7af:gr,_0x870b9d,_0x530b31);try{await this[_0x1725a9(0x422)][_0x1725a9(0x4e1)](_0xaca9b4,{'body':_0xf6716});}catch(_0x58ac2f){throw this[_0x1725a9(0x230)][_0x1725a9(0x46c)](_0x1725a9(0x59f),_0x1725a9(0x26e)),_0x58ac2f;}}async['_fetchMissChangesets'](_0x1ca54b){const _0x4e2c2f=_0xe3a6b9,{unitID:_0x10dedf,from:_0x42bdf7,to:_0x3e2a44,unitType:_0x5b758d}=_0x1ca54b[_0x4e2c2f(0x2be)];return(await this[_0x4e2c2f(0x31f)][_0x4e2c2f(0x468)]({'metadata':void 0x0},{'unitID':_0x10dedf,'type':_0x5b758d,'from':_0x42bdf7,'to':_0x3e2a44}))[_0x4e2c2f(0x4b0)];}};Qt=yr([qe(0x0,_0x432547(_0x181521)),qe(0x1,_0x432547(_0x2df469)),qe(0x2,_0x4b50bc),qe(0x3,_0xfb205),qe(0x4,_0x4a311d)],Qt);const wr=_0xe3a6b9(0x20e);function Dr(_0xe39255){const _0x329d10=_0xe3a6b9;return JSON['stringify'](_0xe39255)[_0x329d10(0x285)];}class Oi{constructor(){const _0x5b4c9d=_0xe3a6b9;g(this,_0x5b4c9d(0x27c),new _0xbd68e4()),g(this,_0x5b4c9d(0x41a),this[_0x5b4c9d(0x27c)][_0x5b4c9d(0x28e)]());}['onCommentUpdate'](_0x531399){const _0xf580fd=_0xe3a6b9;this['_commentUpdate$'][_0xf580fd(0x32a)](_0x531399);}}var Pr=Object[_0xe3a6b9(0x2e1)],Ur=Object['getOwnPropertyDescriptor'],Nr=(_0x1cc9a0,_0x20c516,_0x5312e9,_0x1036a5)=>{const _0xd60f81=_0xe3a6b9;for(var _0x1158e9=_0x1036a5>0x1?void 0x0:_0x1036a5?Ur(_0x20c516,_0x5312e9):_0x20c516,_0x39b876=_0x1cc9a0[_0xd60f81(0x285)]-0x1,_0x5bcf57;_0x39b876>=0x0;_0x39b876--)(_0x5bcf57=_0x1cc9a0[_0x39b876])&&(_0x1158e9=(_0x1036a5?_0x5bcf57(_0x20c516,_0x5312e9,_0x1158e9):_0x5bcf57(_0x1158e9))||_0x1158e9);return _0x1036a5&&_0x1158e9&&Pr(_0x20c516,_0x5312e9,_0x1158e9),_0x1158e9;},$s=(_0x3e9322,_0x360b95)=>(_0x3bfb87,_0x2bb173)=>_0x360b95(_0x3bfb87,_0x2bb173,_0x3e9322);let Ne=class extends _0x4f0ec0{constructor(_0x4b344a,_0x8f0052){const _0x419328=_0xe3a6b9;super(),g(this,_0x419328(0x5a4),new Map()),(this[_0x419328(0x342)]=_0x4b344a,this[_0x419328(0x4ad)]=_0x8f0052,this[_0x419328(0x5d1)](_0x3b9b0c(_0x476f09(this[_0x419328(0x342)][_0x419328(0x3b5)](_0x3c5a8f[_0x419328(0x4fb)])['pipe'](_0x40a0c5(_0x3dd8fb=>_0x3dd8fb['getUnitId']())),this[_0x419328(0x342)][_0x419328(0x3b5)](_0x3c5a8f[_0x419328(0x39b)])[_0x419328(0x531)](_0x40a0c5(_0x23d86c=>_0x23d86c[_0x419328(0x1ea)]())),this['_univerInstanceService'][_0x419328(0x3b5)](_0x3c5a8f[_0x419328(0x56e)])['pipe'](_0x40a0c5(_0xa77b72=>_0xa77b72['getUnitId']())))[_0x419328(0x3d4)](_0x347678=>this[_0x419328(0x38a)](_0x347678)))));}[_0xe3a6b9(0x3e2)](_0x37d81f){const _0x13878c=_0xe3a6b9;this[_0x13878c(0x4ad)][_0x13878c(0x3e2)](_0x37d81f);}[_0xe3a6b9(0x32e)](){const _0x47067e=_0xe3a6b9;return this['_userManagerService'][_0x47067e(0x32e)]();}[_0xe3a6b9(0x4eb)](_0xf0ca34,_0x15f1c4){const _0x494439=_0xe3a6b9;let _0x33add2=this[_0x494439(0x5a4)][_0x494439(0x519)](_0xf0ca34);_0x33add2||(_0x33add2=new Ar(),this[_0x494439(0x5a4)]['set'](_0xf0ca34,_0x33add2)),_0x33add2[_0x494439(0x4eb)](_0x15f1c4);}[_0xe3a6b9(0x3ce)](_0x8860d9,_0x2c5bc8){const _0x53b555=_0xe3a6b9,_0x1dc897=this[_0x53b555(0x5a4)]['get'](_0x8860d9);_0x1dc897&&_0x1dc897['removeMember'](_0x2c5bc8);}[_0xe3a6b9(0x321)](_0x369fe9){const _0x5a1356=_0xe3a6b9;return this[_0x5a1356(0x5a4)]['get'](_0x369fe9);}[_0xe3a6b9(0x332)](_0x54bb91,_0x2dd7e8){const _0x218248=_0xe3a6b9,_0x50d3aa=this[_0x218248(0x5a4)]['get'](_0x54bb91);if(_0x50d3aa)return _0x50d3aa[_0x218248(0x332)](_0x2dd7e8);}['_removeRoom'](_0x29c6c4){const _0x1e82cb=_0xe3a6b9,_0x2cd897=this[_0x1e82cb(0x5a4)]['get'](_0x29c6c4);_0x2cd897&&(_0x2cd897[_0x1e82cb(0x3b4)](),this['_roomMembers'][_0x1e82cb(0x276)](_0x29c6c4));}[_0xe3a6b9(0x3b4)](){const _0x3bed7a=_0xe3a6b9;this[_0x3bed7a(0x5a4)][_0x3bed7a(0x3b9)](_0x58c307=>_0x58c307[_0x3bed7a(0x3b4)]()),this['_roomMembers'][_0x3bed7a(0x2db)]();}};Ne=Nr([$s(0x0,_0x17aa8b),$s(0x1,_0x432547(_0x2df2a1))],Ne);class Ar extends _0x4f0ec0{constructor(){const _0x3c1c0b=_0xe3a6b9;super(...arguments),g(this,_0x3c1c0b(0x26d),new Map());}[_0xe3a6b9(0x3b4)](){const _0x490e50=_0xe3a6b9;this[_0x490e50(0x26d)]['clear']();}[_0xe3a6b9(0x4eb)](_0x2eab40){const _0x4aadfe=_0xe3a6b9;this[_0x4aadfe(0x26d)][_0x4aadfe(0x454)](_0x2eab40[_0x4aadfe(0x436)],_0x2eab40);}['removeMember'](_0x3c66cd){const _0x3aa148=_0xe3a6b9;this['_members'][_0x3aa148(0x276)](_0x3c66cd);}['getMember'](_0x2eba9a){const _0x25ba8c=_0xe3a6b9;return this[_0x25ba8c(0x26d)][_0x25ba8c(0x519)](_0x2eba9a);}[_0xe3a6b9(0x251)](){const _0x5d98be=_0xe3a6b9;return Array[_0x5d98be(0x359)](this[_0x5d98be(0x26d)][_0x5d98be(0x37f)]());}}var Mr=Object['defineProperty'],xr=Object[_0xe3a6b9(0x4b1)],Lr=(_0x406a5e,_0x52eeb2,_0x461a46,_0x170abc)=>{for(var _0x42863e=_0x170abc>0x1?void 0x0:_0x170abc?xr(_0x52eeb2,_0x461a46):_0x52eeb2,_0x26bb50=_0x406a5e['length']-0x1,_0x2a4565;_0x26bb50>=0x0;_0x26bb50--)(_0x2a4565=_0x406a5e[_0x26bb50])&&(_0x42863e=(_0x170abc?_0x2a4565(_0x52eeb2,_0x461a46,_0x42863e):_0x2a4565(_0x42863e))||_0x42863e);return _0x170abc&&_0x42863e&&Mr(_0x52eeb2,_0x461a46,_0x42863e),_0x42863e;},Ee=(_0x56bf23,_0x92c6c6)=>(_0x451219,_0x4065c0)=>_0x92c6c6(_0x451219,_0x4065c0,_0x56bf23),ve=(_0x19ebb0=>(_0x19ebb0[_0x19ebb0[_0xe3a6b9(0x417)]=0x0]=_0xe3a6b9(0x417),_0x19ebb0[_0x19ebb0[_0xe3a6b9(0x345)]=0x1]=_0xe3a6b9(0x345),_0x19ebb0[_0x19ebb0[_0xe3a6b9(0x22a)]=0x2]=_0xe3a6b9(0x22a),_0x19ebb0[_0x19ebb0[_0xe3a6b9(0x25a)]=0x3]=_0xe3a6b9(0x25a),_0x19ebb0))(ve||{});let es=class extends _0x90c284{constructor(_0x47380d,_0x3308e6,_0x57a01d,_0x1d7766,_0x50541e,_0x5373af,_0x1ccbfc,_0x4e24f8,_0x12af95,_0x4a686f){const _0x3099ef=_0xe3a6b9;super(),g(this,_0x3099ef(0x5a8),new _0x23c074(0x0)),g(this,_0x3099ef(0x5d6),this[_0x3099ef(0x5a8)][_0x3099ef(0x28e)]()),g(this,_0x3099ef(0x331),new _0xbd68e4()),g(this,_0x3099ef(0x506),this[_0x3099ef(0x331)][_0x3099ef(0x28e)]()),g(this,_0x3099ef(0x483)),g(this,_0x3099ef(0x4a9)),g(this,_0x3099ef(0x439)),g(this,_0x3099ef(0x32f),!0x1),g(this,_0x3099ef(0x449),null),(this[_0x3099ef(0x4cd)]=_0x47380d,this[_0x3099ef(0x230)]=_0x57a01d,this[_0x3099ef(0x3d5)]=_0x1d7766,this[_0x3099ef(0x421)]=_0x50541e,this[_0x3099ef(0x466)]=_0x5373af,this[_0x3099ef(0x444)]=_0x1ccbfc,this[_0x3099ef(0x208)]=_0x4e24f8,this['_commentService']=_0x12af95,this[_0x3099ef(0x4a3)]=_0x4a686f,this['_shouldReportTelemetry']=!!this[_0x3099ef(0x4a3)],_0x3308e6[_0x3099ef(0x531)](_0x4c7076(this[_0x3099ef(0x31a)]))[_0x3099ef(0x3d4)](_0x18dcaa=>{const _0x598d5c=_0x3099ef;var _0x48f256;typeof _0x18dcaa>'u'||(this[_0x598d5c(0x483)]=_0x18dcaa,_0x18dcaa?(this[_0x598d5c(0x44b)](_0x18dcaa),this[_0x598d5c(0x4a9)]=_0x18dcaa[_0x598d5c(0x2e9)]['subscribe'](_0x57ea9b=>{const _0x2ed61f=_0x598d5c;_0x57ea9b['routeKey']===this[_0x2ed61f(0x4cd)]&&this[_0x2ed61f(0x316)](_0x57ea9b);})):(this[_0x598d5c(0x360)](),this[_0x598d5c(0x5a8)]['next'](0x2),(_0x48f256=this[_0x598d5c(0x4a9)])==null||_0x48f256['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x3099ef(0x5d1)](this[_0x3099ef(0x3d5)]['registerOnClose'](()=>{const _0x28b9b6=_0x3099ef;var _0x16ab75;(_0x16ab75=this[_0x28b9b6(0x483)])==null||_0x16ab75[_0x28b9b6(0x48f)]({'cmd':W[_0x28b9b6(0x571)],'data':{'roomID':this[_0x28b9b6(0x4cd)]}});})));}get[_0xe3a6b9(0x50c)](){const _0x590897=_0xe3a6b9;return this[_0x590897(0x5a8)]['getValue']();}['getMemberID'](){const _0x5c4c4e=_0xe3a6b9;var _0x25a3c7,_0x3d2752;return(_0x3d2752=(_0x25a3c7=this[_0x5c4c4e(0x483)])==null?void 0x0:_0x25a3c7[_0x5c4c4e(0x436)])!=null?_0x3d2752:null;}[_0xe3a6b9(0x3b4)](){const _0x2ebf33=_0xe3a6b9;super['dispose'](),this[_0x2ebf33(0x31a)][_0x2ebf33(0x32a)](),this[_0x2ebf33(0x31a)][_0x2ebf33(0x2ef)]();}[_0xe3a6b9(0x4e9)](){const _0x13ef28=_0xe3a6b9;var _0x2657b3,_0x3fae59;this[_0x13ef28(0x360)](),(_0x2657b3=this[_0x13ef28(0x483)])==null||_0x2657b3[_0x13ef28(0x48f)]({'cmd':W[_0x13ef28(0x571)],'data':{'roomID':this[_0x13ef28(0x4cd)]}}),(_0x3fae59=this[_0x13ef28(0x483)])==null||_0x3fae59[_0x13ef28(0x4e9)](),this[_0x13ef28(0x331)][_0x13ef28(0x2ef)](),this[_0x13ef28(0x5a8)][_0x13ef28(0x2ef)](),this[_0x13ef28(0x3b4)]();}['_onCombEvent'](_0xfada45){const _0x38dfa5=_0xe3a6b9;_0xfada45['cmd']===W[_0x38dfa5(0x431)]?this[_0x38dfa5(0x207)](_0xfada45):_0xfada45[_0x38dfa5(0x31c)]===W[_0x38dfa5(0x1f4)]&&this['_onRecvEvent'](_0xfada45);}[_0xe3a6b9(0x44b)](_0x5575d4){const _0x38d998=_0xe3a6b9;this[_0x38d998(0x5a8)][_0x38d998(0x32a)](0x1),_0x5575d4[_0x38d998(0x48f)]({'cmd':W[_0x38d998(0x431)],'routeKey':this[_0x38d998(0x4cd)],'routeType':'','data':{'rooms':[{'roomID':this[_0x38d998(0x4cd)]}]}});}[_0xe3a6b9(0x207)](_0x187e73){const _0x11a490=_0xe3a6b9;var _0x29ce51;if(_0x187e73[_0x11a490(0x31e)]===Ss['FAIL']){this[_0x11a490(0x421)][_0x11a490(0x47c)]({'type':_0xedbc0c[_0x11a490(0x5d3)],'content':this[_0x11a490(0x444)]['t'](_0x11a490(0x3aa))}),this[_0x11a490(0x5a8)][_0x11a490(0x32a)](0x2);return;}this[_0x11a490(0x5a8)][_0x11a490(0x32a)](0x3);const _0x4c555e=(_0x29ce51=_0x187e73[_0x11a490(0x2be)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x29ce51[_0x11a490(0x594)];_0x4c555e&&_0x4c555e[_0x11a490(0x3b9)](_0x430a0b=>this[_0x11a490(0x208)][_0x11a490(0x4eb)](this[_0x11a490(0x4cd)],_0x430a0b));}[_0xe3a6b9(0x563)](_0x3cedc1){const _0x2d59b2=_0xe3a6b9;try{const _0x108ce8=_0x3cedc1['data'];switch(_0x108ce8[_0x2d59b2(0x3f3)]){case _0xd65e90[_0x2d59b2(0x4b8)]:this[_0x2d59b2(0x4bb)](_0x108ce8),this[_0x2d59b2(0x331)][_0x2d59b2(0x32a)](_0x108ce8);break;case _0xd65e90[_0x2d59b2(0x467)]:this[_0x2d59b2(0x26b)](_0x108ce8),this[_0x2d59b2(0x331)][_0x2d59b2(0x32a)](_0x108ce8);break;case _0xd65e90['CHANGESET_ACK']:case _0xd65e90['CHANGESET_SHOULD_RETRY']:this[_0x2d59b2(0x356)](),this[_0x2d59b2(0x3a7)](),this[_0x2d59b2(0x331)][_0x2d59b2(0x32a)](_0x108ce8);break;case _0xd65e90[_0x2d59b2(0x1ff)]:this['_logService']['error'](_0x2d59b2(0x205)+JSON[_0x2d59b2(0x4f2)](_0x108ce8)),this[_0x2d59b2(0x331)][_0x2d59b2(0x32a)](_0x108ce8);break;case _0xd65e90['COMMENT_UPDATE']:this['_commentService'][_0x2d59b2(0x3f4)](_0x108ce8[_0x2d59b2(0x2be)]),this[_0x2d59b2(0x331)]['next'](_0x108ce8);break;default:this[_0x2d59b2(0x331)]['next'](_0x108ce8);}}catch(_0xaecc30){this['_logService']['error'](_0xaecc30,_0x3cedc1);}}['_onUserJoin'](_0x3d6cec){const _0x3ae89a=_0xe3a6b9;this[_0x3ae89a(0x208)][_0x3ae89a(0x4eb)](this['_unitID'],_0x3d6cec[_0x3ae89a(0x2be)]);}[_0xe3a6b9(0x26b)](_0x5b41cf){const _0x2c1940=_0xe3a6b9;this[_0x2c1940(0x208)][_0x2c1940(0x3ce)](this[_0x2c1940(0x4cd)],_0x5b41cf[_0x2c1940(0x2be)][_0x2c1940(0x436)]);}async[_0xe3a6b9(0x48f)](_0x24bdfb,_0x5e3ba2){const _0x2075de=_0xe3a6b9;if(this[_0x2075de(0x50c)]!==0x3||!this[_0x2075de(0x483)])throw new Error(_0x2075de(0x238));try{_0x24bdfb['eventID']===_0xd65e90[_0x2075de(0x5c6)]&&(this[_0x2075de(0x2a5)](),this['_startTelemetryCollaborationNewChangeset'](_0x24bdfb)),this[_0x2075de(0x483)][_0x2075de(0x48f)]({'cmd':W['INGEST'],'routeKey':_0x5e3ba2,'routeType':'','data':_0x24bdfb});}catch(_0x40b6f4){this[_0x2075de(0x230)][_0x2075de(0x46c)](_0x40b6f4);}}[_0xe3a6b9(0x2a5)](){const _0x52c757=_0xe3a6b9;var _0x2ab21b;this[_0x52c757(0x439)]=window[_0x52c757(0x4f5)](()=>{const _0x310d72=_0x52c757;this[_0x310d72(0x439)]=null,this[_0x310d72(0x421)][_0x310d72(0x47c)]({'type':_0xedbc0c[_0x310d72(0x304)],'content':this[_0x310d72(0x444)]['t'](_0x310d72(0x2f2))});},(_0x2ab21b=this[_0x52c757(0x466)][_0x52c757(0x29b)](Ei))!=null?_0x2ab21b:bi);}[_0xe3a6b9(0x3a7)](){const _0x373f19=_0xe3a6b9;this[_0x373f19(0x439)]&&(clearTimeout(this[_0x373f19(0x439)]),this[_0x373f19(0x439)]=null);}[_0xe3a6b9(0x590)](_0x2414bc){const _0xe59f1=_0xe3a6b9;if(!this[_0xe59f1(0x32f)])return;const {data:_0xee728e}=_0x2414bc,{unitID:_0x311e6e,changeset:_0x8ba84d}=_0xee728e,{mutations:_0x1ce07f,type:_0x2df642}=_0x8ba84d;this[_0xe59f1(0x449)]={'unitId':_0x311e6e,'type':_0x2df642,'startTime':performance[_0xe59f1(0x3b2)](),'stopTime':0x0,'duration':0x0,'size':Dr(_0x1ce07f)};}[_0xe3a6b9(0x356)](){const _0x2c88e8=_0xe3a6b9;if(this[_0x2c88e8(0x32f)]){if(!this[_0x2c88e8(0x449)]){this[_0x2c88e8(0x230)][_0x2c88e8(0x46c)](_0x2c88e8(0x59f),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x2c88e8(0x2d7)]=performance['now'](),this[_0x2c88e8(0x449)][_0x2c88e8(0x2ac)]=this[_0x2c88e8(0x449)][_0x2c88e8(0x2d7)]-this[_0x2c88e8(0x449)]['startTime'],this['_telemetryService'][_0x2c88e8(0x297)](wr,this[_0x2c88e8(0x449)]),this[_0x2c88e8(0x449)]=null;}}[_0xe3a6b9(0x360)](){this['_telemetryInfo']=null;}};es=Lr([Ee(0x2,_0xfb205),Ee(0x3,_0x40985b),Ee(0x4,_0xc25f4d),Ee(0x5,_0x4b50bc),Ee(0x6,_0x432547(_0x363878)),Ee(0x7,_0x432547(Ne)),Ee(0x8,_0x432547(Oi)),Ee(0x9,_0x175412(_0x469fb7))],es);var $r=Object[_0xe3a6b9(0x2e1)],Hr=Object[_0xe3a6b9(0x4b1)],jr=(_0x1259b0,_0x1ec16c,_0x28392a,_0x520541)=>{const _0x20f323=_0xe3a6b9;for(var _0x950138=_0x520541>0x1?void 0x0:_0x520541?Hr(_0x1ec16c,_0x28392a):_0x1ec16c,_0x431961=_0x1259b0[_0x20f323(0x285)]-0x1,_0x95e3c5;_0x431961>=0x0;_0x431961--)(_0x95e3c5=_0x1259b0[_0x431961])&&(_0x950138=(_0x520541?_0x95e3c5(_0x1ec16c,_0x28392a,_0x950138):_0x95e3c5(_0x950138))||_0x950138);return _0x520541&&_0x950138&&$r(_0x1ec16c,_0x28392a,_0x950138),_0x950138;},je=(_0x5cc726,_0x107702)=>(_0x54a959,_0x210076)=>_0x107702(_0x54a959,_0x210076,_0x5cc726);let Ae=class extends _0x4f0ec0{constructor(_0x5083fe,_0x3260ed,_0x3e1490,_0x4dd927,_0x443d22,_0x5ade87){const _0xf06670=_0xe3a6b9;super(),g(this,_0xf06670(0x379),new _0x23c074(void 0x0)),g(this,'socket$',this[_0xf06670(0x379)][_0xf06670(0x28e)]()),g(this,'_candidateSocket',null),g(this,'_sessions',new Map()),g(this,_0xf06670(0x3da),new _0x23c074(ve[_0xf06670(0x417)])),g(this,'status$',this[_0xf06670(0x3da)][_0xf06670(0x28e)]()),g(this,'_socketReady',!0x1),g(this,_0xf06670(0x3e4)),g(this,_0xf06670(0x256),0x0),g(this,_0xf06670(0x2bc)),g(this,'_timeoutTimer'),(this[_0xf06670(0x4c4)]=_0x5083fe,this[_0xf06670(0x444)]=_0x3260ed,this[_0xf06670(0x421)]=_0x3e1490,this[_0xf06670(0x230)]=_0x4dd927,this[_0xf06670(0x466)]=_0x443d22,this[_0xf06670(0x28a)]=_0x5ade87,this['_initEventListeners']());}get['_socket'](){const _0x9cd38c=_0xe3a6b9;return this[_0x9cd38c(0x379)]['getValue']();}[_0xe3a6b9(0x2ba)](){const _0x32a0e7=_0xe3a6b9;this['_listenToOfflineEvent'](),this[_0x32a0e7(0x37b)]();}[_0xe3a6b9(0x3b4)](){const _0x5ac598=_0xe3a6b9;super[_0x5ac598(0x3b4)](),this[_0x5ac598(0x3fb)][_0x5ac598(0x3b9)](_0x2d0b6d=>_0x2d0b6d[_0x5ac598(0x3b4)]()),this[_0x5ac598(0x3fb)]['clear'](),this[_0x5ac598(0x3da)][_0x5ac598(0x2ef)]();}async[_0xe3a6b9(0x388)](_0x15ed5d){const _0x1fabe8=_0xe3a6b9;if(this[_0x1fabe8(0x3fb)][_0x1fabe8(0x287)](_0x15ed5d))return this[_0x1fabe8(0x3fb)][_0x1fabe8(0x519)](_0x15ed5d);this[_0x1fabe8(0x529)]();const _0x492226=this[_0x1fabe8(0x4c4)]['createInstance'](es,_0x15ed5d,this[_0x1fabe8(0x379)][_0x1fabe8(0x28e)]());return this['_sessions'][_0x1fabe8(0x454)](_0x15ed5d,_0x492226),_0x492226;}[_0xe3a6b9(0x5c2)](_0x54e6ff){const _0x4b5b62=_0xe3a6b9;var _0x23f289;const _0x2b5a31=this[_0x4b5b62(0x3fb)]['get'](_0x54e6ff);_0x2b5a31&&(this[_0x4b5b62(0x3fb)]['delete'](_0x54e6ff),_0x2b5a31[_0x4b5b62(0x4e9)]()),this[_0x4b5b62(0x3fb)][_0x4b5b62(0x545)]||(_0x23f289=this[_0x4b5b62(0x483)])==null||_0x23f289['close']();}[_0xe3a6b9(0x4da)](){const _0x3b5f04=_0xe3a6b9;this[_0x3b5f04(0x256)]=0x0,this[_0x3b5f04(0x3e4)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x3b5f04(0x42b)]();}[_0xe3a6b9(0x4e4)](){const _0x50f710=_0xe3a6b9;var _0x43841c,_0xf8f1f2;const _0x6b89c0=this['_configService']['getConfig'](cr),_0x7340=this[_0x50f710(0x466)]['getConfig'](ie),_0x4e5e6b=(_0xf8f1f2=(_0x43841c=_0x7340==null?void 0x0:_0x7340['collabWebSocketUrl'])!=null?_0x43841c:_0x6b89c0)!=null?_0xf8f1f2:hr,_0x4a622c=this['_socketService'][_0x50f710(0x573)](_0x4e5e6b);return this[_0x50f710(0x2a9)]=_0x4a622c,_0x4a622c;}[_0xe3a6b9(0x529)](){const _0xcebbb0=_0xe3a6b9;var _0x21a490,_0x537f2b;try{const _0x459ec3=(_0x537f2b=(_0x21a490=this['_socket'])!=null?_0x21a490:this[_0xcebbb0(0x2a9)])!=null?_0x537f2b:this[_0xcebbb0(0x4e4)]();if(_0x459ec3){const _0x54b6d7=_0x459ec3[_0xcebbb0(0x48f)];_0x459ec3['send']=_0x5191bc=>(this[_0xcebbb0(0x29e)](),_0x54b6d7[_0xcebbb0(0x4cb)](_0x459ec3,[_0x5191bc])),_0x459ec3[_0xcebbb0(0x2e9)][_0xcebbb0(0x3d4)](_0x2d0712=>this[_0xcebbb0(0x582)](_0x459ec3,_0x2d0712)),_0x459ec3['error$']['pipe'](_0x203bcd(0x1))['subscribe'](_0x5c339b=>this[_0xcebbb0(0x230)][_0xcebbb0(0x46c)](_0xcebbb0(0x311),_0x5c339b)),_0x459ec3[_0xcebbb0(0x30b)]['pipe'](_0x203bcd(0x1))[_0xcebbb0(0x3d4)](()=>{this['_onConnectionOpen'](_0x459ec3);}),_0x459ec3[_0xcebbb0(0x43e)][_0xcebbb0(0x531)](_0x203bcd(0x1))[_0xcebbb0(0x3d4)](_0x146e64=>{const _0x202147=_0xcebbb0;this[_0x202147(0x230)][_0x202147(0x25c)](_0x202147(0x42e),_0x202147(0x382),_0x146e64),this[_0x202147(0x343)]();});}}catch(_0x4f3ed4){this[_0xcebbb0(0x230)]['error'](_0x4f3ed4),this['_onConnectionFailed']();}}[_0xe3a6b9(0x21d)](_0x4af49b){const _0x556db1=_0xe3a6b9;this[_0x556db1(0x230)][_0x556db1(0x25c)](_0x556db1(0x42e),_0x556db1(0x451)),_0x4af49b['send']({'cmd':W[_0x556db1(0x588)]}),this['_rescheduleHeartbeat']();}[_0xe3a6b9(0x361)](){const _0x5d1415=_0xe3a6b9;window[_0x5d1415(0x535)]('offline',()=>this[_0x5d1415(0x3f9)]());}['_onOffline'](){const _0x5d60ae=_0xe3a6b9;this[_0x5d60ae(0x30a)]=!0x1,this[_0x5d60ae(0x2a9)]=null,this[_0x5d60ae(0x3da)][_0x5d60ae(0x32a)](ve[_0x5d60ae(0x22a)]),this[_0x5d60ae(0x379)]['next'](null),this[_0x5d60ae(0x1e9)](),this[_0x5d60ae(0x2cc)]();}['_onConnectionFailed'](){const _0x3e0500=_0xe3a6b9;var _0x172f75;this[_0x3e0500(0x3f9)](),this['_retryCount']<((_0x172f75=this[_0x3e0500(0x466)][_0x3e0500(0x29b)](dr))!=null?_0x172f75:fr)?(this[_0x3e0500(0x421)][_0x3e0500(0x47c)]({'key':_0x3e0500(0x517),'type':_0xedbc0c[_0x3e0500(0x5d3)],'content':this['_localeService']['t'](_0x3e0500(0x268))}),this[_0x3e0500(0x42b)]()):this[_0x3e0500(0x421)][_0x3e0500(0x47c)]({'key':_0x3e0500(0x517),'type':_0xedbc0c['Error'],'content':this[_0x3e0500(0x444)]['t'](_0x3e0500(0x5cd))});}[_0xe3a6b9(0x37b)](){const _0x1bbec4=_0xe3a6b9,_0x453680=()=>{const _0x13a893=_0x272d;this[_0x13a893(0x483)]||this['reconnect']();},_0x4ee52c=()=>{const _0x14bea8=_0x272d;this[_0x14bea8(0x483)]||document[_0x14bea8(0x3c2)]===_0x14bea8(0x22e)||this['reconnect']();};window[_0x1bbec4(0x535)]('online',_0x453680),document[_0x1bbec4(0x535)](_0x1bbec4(0x420),_0x4ee52c);}[_0xe3a6b9(0x42b)](){const _0x495575=_0xe3a6b9;var _0x221b45;const _0x24e3bd=this[_0x495575(0x256)],_0x10c0b4=this[_0x495575(0x466)][_0x495575(0x29b)](ie),_0x31cc5e=_0x24e3bd===0x0?0x0:((_0x221b45=_0x10c0b4==null?void 0x0:_0x10c0b4[_0x495575(0x1fc)])!=null?_0x221b45:ur)*0x2**_0x24e3bd;this[_0x495575(0x3e4)]=window[_0x495575(0x4f5)](()=>{const _0x56a672=_0x495575;clearTimeout(this[_0x56a672(0x3e4)]),this[_0x56a672(0x3e4)]=null,this[_0x56a672(0x529)]();},_0x31cc5e),this[_0x495575(0x256)]+=0x1;}['_onMessage'](_0x5ed601,_0x1489ed){const _0x426d4c=_0xe3a6b9,{cmd:_0x4d26d9}=_0x1489ed;_0x4d26d9===W[_0x426d4c(0x588)]&&!this[_0x426d4c(0x30a)]&&(_0x5ed601[_0x426d4c(0x436)]=_0x1489ed[_0x426d4c(0x2be)]['memberID'],this[_0x426d4c(0x379)][_0x426d4c(0x32a)](_0x5ed601),this[_0x426d4c(0x3da)][_0x426d4c(0x32a)](ve[_0x426d4c(0x25a)]),this[_0x426d4c(0x30a)]=!0x0,this[_0x426d4c(0x2a9)]=null),_0x4d26d9===W['HEARTBEAT']&&this[_0x426d4c(0x1e9)](),this[_0x426d4c(0x29e)]();}['_rescheduleHeartbeat'](){const _0x231546=_0xe3a6b9;var _0x228269;this[_0x231546(0x2cc)](),this[_0x231546(0x2bc)]=window[_0x231546(0x4f5)](()=>this[_0x231546(0x41e)](),(_0x228269=this['_configService'][_0x231546(0x29b)](lr))!=null?_0x228269:_r);}['_sendHeartbeat'](){const _0x417fb9=_0xe3a6b9;this['_socket'][_0x417fb9(0x48f)]({'cmd':W[_0x417fb9(0x3ca)]}),this['_waitForHeartbeatResponse']();}[_0xe3a6b9(0x3f7)](){const _0x4dd8f6=_0xe3a6b9;var _0x57a0d9;this[_0x4dd8f6(0x330)]=window[_0x4dd8f6(0x4f5)](()=>this[_0x4dd8f6(0x343)](),(_0x57a0d9=this[_0x4dd8f6(0x466)][_0x4dd8f6(0x29b)](Ei))!=null?_0x57a0d9:bi);}[_0xe3a6b9(0x2cc)](){const _0xa5c4e8=_0xe3a6b9;this[_0xa5c4e8(0x2bc)]!=null&&(clearTimeout(this[_0xa5c4e8(0x2bc)]),this[_0xa5c4e8(0x2bc)]=null);}[_0xe3a6b9(0x1e9)](){const _0x3481ec=_0xe3a6b9;this[_0x3481ec(0x330)]!=null&&(clearTimeout(this[_0x3481ec(0x330)]),this['_timeoutTimer']=null);}};Ae=jr([je(0x0,_0x432547(_0x521cd6)),je(0x1,_0x432547(_0x363878)),je(0x2,_0xc25f4d),je(0x3,_0xfb205),je(0x4,_0x4b50bc),je(0x5,yi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)['toString'](0x10)['slice'](0x1));function Br(_0x56657f,_0x435054=0x0){const _0x22bb07=_0xe3a6b9;return(Y[_0x56657f[_0x435054+0x0]]+Y[_0x56657f[_0x435054+0x1]]+Y[_0x56657f[_0x435054+0x2]]+Y[_0x56657f[_0x435054+0x3]]+'-'+Y[_0x56657f[_0x435054+0x4]]+Y[_0x56657f[_0x435054+0x5]]+'-'+Y[_0x56657f[_0x435054+0x6]]+Y[_0x56657f[_0x435054+0x7]]+'-'+Y[_0x56657f[_0x435054+0x8]]+Y[_0x56657f[_0x435054+0x9]]+'-'+Y[_0x56657f[_0x435054+0xa]]+Y[_0x56657f[_0x435054+0xb]]+Y[_0x56657f[_0x435054+0xc]]+Y[_0x56657f[_0x435054+0xd]]+Y[_0x56657f[_0x435054+0xe]]+Y[_0x56657f[_0x435054+0xf]])[_0x22bb07(0x5a3)]();}let Ut;const kr=new Uint8Array(0x10);function Wr(){const _0x23da40=_0xe3a6b9;if(!Ut){if(typeof crypto>'u'||!crypto[_0x23da40(0x56d)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ut=crypto['getRandomValues']['bind'](crypto);}return Ut(kr);}const Fr=typeof crypto<'u'&&crypto[_0xe3a6b9(0x240)]&&crypto[_0xe3a6b9(0x240)][_0xe3a6b9(0x397)](crypto),Hs={'randomUUID':Fr};function Vr(_0x305911,_0x3d848c,_0x285d7a){const _0x374147=_0xe3a6b9;if(Hs[_0x374147(0x240)]&&!_0x3d848c&&!_0x305911)return Hs['randomUUID']();_0x305911=_0x305911||{};const _0x2bb532=_0x305911[_0x374147(0x49a)]||(_0x305911[_0x374147(0x35f)]||Wr)();return _0x2bb532[0x6]=_0x2bb532[0x6]&0xf|0x40,_0x2bb532[0x8]=_0x2bb532[0x8]&0x3f|0x80,Br(_0x2bb532);}var Gr=Object[_0xe3a6b9(0x2e1)],Yr=Object[_0xe3a6b9(0x4b1)],Kr=(_0x235b03,_0x46278c,_0x210a4b,_0x37d5c0)=>{const _0x2e489d=_0xe3a6b9;for(var _0x1cc23c=_0x37d5c0>0x1?void 0x0:_0x37d5c0?Yr(_0x46278c,_0x210a4b):_0x46278c,_0x54ddd4=_0x235b03[_0x2e489d(0x285)]-0x1,_0x1847a7;_0x54ddd4>=0x0;_0x54ddd4--)(_0x1847a7=_0x235b03[_0x54ddd4])&&(_0x1cc23c=(_0x37d5c0?_0x1847a7(_0x46278c,_0x210a4b,_0x1cc23c):_0x1847a7(_0x1cc23c))||_0x1cc23c);return _0x37d5c0&&_0x1cc23c&&Gr(_0x46278c,_0x210a4b,_0x1cc23c),_0x1cc23c;},Nt=(_0x587552,_0x3e2886)=>(_0x2356ac,_0x107d30)=>_0x3e2886(_0x2356ac,_0x107d30,_0x587552);let ft=class{constructor(_0x2dd978,_0x361d66,_0x42a2b3){const _0x34cc38=_0xe3a6b9;this[_0x34cc38(0x4c4)]=_0x2dd978,this[_0x34cc38(0x5db)]=_0x361d66,this['_renderManagerService']=_0x42a2b3;}[_0xe3a6b9(0x3d1)](_0x162f02){const _0x30f64a=_0xe3a6b9;this[_0x30f64a(0x4e5)](_0x162f02),this[_0x30f64a(0x2c7)](_0x162f02);}[_0xe3a6b9(0x3fa)](_0x1509bf){const _0x1165f0=_0xe3a6b9,{unitID:_0xff5d7d}=_0x1509bf,_0x24ad6a=this[_0x1165f0(0x3c0)]['getRenderById'](_0xff5d7d)[_0x1165f0(0x4ce)](_0x4b63a5),{redoCache:_0x43e689}=_0x24ad6a[_0x1165f0(0x27e)]();if(_0x43e689[_0x1165f0(0x285)]===0x0)return _0x1509bf;let _0x17bf55=_0x1d5b8a[_0x1165f0(0x3bf)](_0x1509bf[_0x1165f0(0x2fd)][0x0]);for(let _0x2680f8=0x0;_0x2680f8<_0x43e689[_0x1165f0(0x285)];_0x2680f8++){const _0x5a1038={'id':_0x1165f0(0x523),'params':{..._0x43e689[_0x2680f8]}},_0x320a18=this[_0x1165f0(0x5db)][_0x1165f0(0x396)](_0x17bf55,_0x5a1038,!0x1);if(_0x54625d(_0x320a18))throw _0x320a18[_0x1165f0(0x46c)];_0x17bf55=_0x320a18[_0x1165f0(0x595)];}return{..._0x1d5b8a['deepClone'](_0x1509bf),'mutations':[_0x17bf55]};}[_0xe3a6b9(0x4e5)](_0x3c4cca){const _0x260c02=_0xe3a6b9,{unitID:_0x220c85}=_0x3c4cca,_0xaaf09a=this[_0x260c02(0x3c0)]['getRenderById'](_0x220c85)[_0x260c02(0x4ce)](_0x4b63a5),{undoCache:_0x5d263f,redoCache:_0x1f5168}=_0xaaf09a[_0x260c02(0x27e)]();if(_0x5d263f[_0x260c02(0x285)]===0x0||_0x1f5168['length']===0x0)return;const _0x3a63bd=[],_0x26be7c=[];let _0x2fc92a=_0x1d5b8a['deepClone'](_0x3c4cca[_0x260c02(0x2fd)][0x0]),_0x2ca609=_0x1d5b8a[_0x260c02(0x3bf)](_0x3c4cca['mutations'][0x0]);for(let _0x312880=_0x5d263f['length']-0x1;_0x312880>=0x0;_0x312880--){const _0x4a12cd={'id':_0x260c02(0x523),'params':{..._0x5d263f[_0x312880]}},_0x543d44={'id':_0x260c02(0x523),'params':{..._0x1f5168[_0x312880]}},_0x543bc1=this[_0x260c02(0x5db)][_0x260c02(0x396)](_0x2fc92a,_0x4a12cd,!0x1),_0x4e222e=this[_0x260c02(0x5db)][_0x260c02(0x396)](_0x2ca609,_0x543d44,!0x1);if(_0x54625d(_0x543bc1))throw _0x543bc1['error'];if(_0x54625d(_0x4e222e))throw _0x4e222e[_0x260c02(0x46c)];_0x3a63bd[_0x260c02(0x2dc)](_0x543bc1[_0x260c02(0x339)]['params']),_0x26be7c['unshift'](_0x4e222e[_0x260c02(0x339)][_0x260c02(0x2de)]),_0x2fc92a=_0x543bc1['m1Prime'],_0x2ca609=_0x4e222e[_0x260c02(0x595)];}_0xaaf09a[_0x260c02(0x5d2)]({'undoCache':_0x3a63bd,'redoCache':_0x26be7c});}[_0xe3a6b9(0x2c7)](_0x207b0c){const _0x39b1f6=_0xe3a6b9,{unitID:_0x3d9e2f}=_0x207b0c,_0x13d99c=this['_renderManagerService'][_0x39b1f6(0x41c)](_0x3d9e2f)[_0x39b1f6(0x4ce)](_0x4b63a5),_0x4b8cbe=_0x13d99c[_0x39b1f6(0x2b5)]();if(_0x4b8cbe==null)return;const _0x34d878=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x207b0c[_0x39b1f6(0x24d)],'actions':null,'textRanges':[_0x4b8cbe]}}],_0x55cad9=this[_0x39b1f6(0x5db)][_0x39b1f6(0x270)](_0x207b0c,_0x34d878);if(!_0x369aae(_0x55cad9))throw _0x55cad9['error'];const _0x9dda8b=_0x55cad9[_0x39b1f6(0x339)][0x0][_0x39b1f6(0x2de)]['textRanges'];Array[_0x39b1f6(0x2b3)](_0x9dda8b)&&_0x9dda8b['length']&&_0x13d99c[_0x39b1f6(0x57d)](_0x9dda8b[0x0]);}};ft=Kr([Nt(0x0,_0x432547(_0x521cd6)),Nt(0x1,_0x24b4da),Nt(0x2,_0x49136b)],ft);var zr=Object['defineProperty'],qr=Object[_0xe3a6b9(0x4b1)],Xr=(_0x2e040f,_0x433cb4,_0x181a77,_0x1286d0)=>{const _0x3907f7=_0xe3a6b9;for(var _0x341071=_0x1286d0>0x1?void 0x0:_0x1286d0?qr(_0x433cb4,_0x181a77):_0x433cb4,_0x418b42=_0x2e040f[_0x3907f7(0x285)]-0x1,_0x5497bb;_0x418b42>=0x0;_0x418b42--)(_0x5497bb=_0x2e040f[_0x418b42])&&(_0x341071=(_0x1286d0?_0x5497bb(_0x433cb4,_0x181a77,_0x341071):_0x5497bb(_0x341071))||_0x341071);return _0x1286d0&&_0x341071&&zr(_0x433cb4,_0x181a77,_0x341071),_0x341071;},Xe=(_0x561c25,_0x2bf364)=>(_0xc1e7ee,_0x7568d2)=>_0x2bf364(_0xc1e7ee,_0x7568d2,_0x561c25);let q=class extends _0x4f0ec0{constructor(_0x2181a1,_0xff4b02,_0x37a26d,_0x26dd11,_0x1dd7b3){const _0x465139=_0xe3a6b9;super(),g(this,_0x465139(0x227),new Map()),g(this,_0x465139(0x471),new Map()),g(this,_0x465139(0x478),!0x1),(this['_configService']=_0x2181a1,this[_0x465139(0x45f)]=_0xff4b02,this[_0x465139(0x3d5)]=_0x37a26d,this['_localeService']=_0x26dd11,this[_0x465139(0x353)]=_0x1dd7b3,this[_0x465139(0x37e)]());}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x11dddf=_0xe3a6b9;this[_0x11dddf(0x478)]=!0x1;}[_0xe3a6b9(0x3b4)](){const _0x1c317f=_0xe3a6b9;this[_0x1c317f(0x433)]()[_0x1c317f(0x347)](()=>super[_0x1c317f(0x3b4)]());}async[_0xe3a6b9(0x458)](_0x329d4d){const _0x14a534=_0xe3a6b9;return this[_0x14a534(0x478)]?null:this[_0x14a534(0x45f)][_0x14a534(0x3d7)](js(_0x329d4d));}async[_0xe3a6b9(0x44e)](_0x3bea18,_0x81c495){const _0x4172e5=_0xe3a6b9;return!!this[_0x4172e5(0x45f)][_0x4172e5(0x502)](_0x3bea18,_0x81c495);}[_0xe3a6b9(0x4e3)](_0x20db4c,_0x502822,_0x124aee,_0x2451d8){const _0x567f17=_0xe3a6b9,_0xf66abb=this[_0x567f17(0x353)][_0x567f17(0x2b8)](_0x20db4c);this[_0x567f17(0x227)][_0x567f17(0x454)](_0x20db4c,{'unitID':_0x20db4c,'type':_0x502822,'awaitingChangeset':_0x124aee,'mutations':_0x2451d8,'rev':_0xf66abb}),this[_0x567f17(0x471)]['has'](_0x20db4c)||this[_0x567f17(0x288)](_0x20db4c);}[_0xe3a6b9(0x288)](_0x3f91a2){const _0x2b8185=_0xe3a6b9,_0x41c399=this[_0x2b8185(0x4c5)]();_0x41c399===0x0?this[_0x2b8185(0x5d7)](_0x3f91a2):this[_0x2b8185(0x471)][_0x2b8185(0x454)](_0x3f91a2,setTimeout(()=>this[_0x2b8185(0x5d7)](_0x3f91a2),_0x41c399));}[_0xe3a6b9(0x4c5)](){const _0x38216b=_0xe3a6b9;var _0x4f0d26;return(_0x4f0d26=this[_0x38216b(0x466)][_0x38216b(0x29b)](vr))!=null?_0x4f0d26:mr;}[_0xe3a6b9(0x5d7)](_0x21167c){const _0x1955b2=_0xe3a6b9,_0x3faa9a=this[_0x1955b2(0x471)][_0x1955b2(0x519)](_0x21167c);return _0x3faa9a!==void 0x0&&window[_0x1955b2(0x284)](_0x3faa9a),this[_0x1955b2(0x45f)][_0x1955b2(0x502)](js(_0x21167c),this['_cachedData'][_0x1955b2(0x519)](_0x21167c))[_0x1955b2(0x347)](()=>this[_0x1955b2(0x471)][_0x1955b2(0x276)](_0x21167c));}async[_0xe3a6b9(0x433)](){const _0x159445=_0xe3a6b9,_0xc127dc=[];this['_saveTaskMap']['forEach']((_0x9df250,_0xbd9e72)=>{const _0x50cb42=_0x272d;window['clearTimeout'](_0x9df250),_0xc127dc[_0x50cb42(0x3f6)](this[_0x50cb42(0x5d7)](_0xbd9e72)['then'](()=>{const _0x1475a3=_0x50cb42;this[_0x1475a3(0x471)]['delete'](_0xbd9e72);}));}),await Promise[_0x159445(0x5b0)](_0xc127dc);}['_setupBeforeClosingHandler'](){const _0x4b96fc=_0xe3a6b9;this[_0x4b96fc(0x5d1)](this[_0x4b96fc(0x3d5)][_0x4b96fc(0x45a)](()=>{const _0x484e05=_0x4b96fc;if(this[_0x484e05(0x471)]['size'])return this['_localeService']['t'](_0x484e05(0x2f5));}));}};function _0x272d(_0x35625a,_0x55b512){const _0x1b9ef2=_0x1b9e();return _0x272d=function(_0x272daa,_0x3506a7){_0x272daa=_0x272daa-0x1d7;let _0x22c268=_0x1b9ef2[_0x272daa];return _0x22c268;},_0x272d(_0x35625a,_0x55b512);}q=Xr([Xe(0x0,_0x4b50bc),Xe(0x1,_0x3eb8c6),Xe(0x2,_0x40985b),Xe(0x3,_0x432547(_0x363878)),Xe(0x4,_0x432547(_0x1493a3))],q);function js(_0x5bcb91){const _0x551a74=_0xe3a6b9;return _0x551a74(0x520)+_0x5bcb91;}var Jr=Object[_0xe3a6b9(0x2e1)],Zr=Object[_0xe3a6b9(0x4b1)],Qr=(_0x517581,_0x291d78,_0x4dc607,_0x3c9a4e)=>{const _0x3b5ad9=_0xe3a6b9;for(var _0x1943d3=_0x3c9a4e>0x1?void 0x0:_0x3c9a4e?Zr(_0x291d78,_0x4dc607):_0x291d78,_0x1c23fe=_0x517581[_0x3b5ad9(0x285)]-0x1,_0x5b3a9d;_0x1c23fe>=0x0;_0x1c23fe--)(_0x5b3a9d=_0x517581[_0x1c23fe])&&(_0x1943d3=(_0x3c9a4e?_0x5b3a9d(_0x291d78,_0x4dc607,_0x1943d3):_0x5b3a9d(_0x1943d3))||_0x1943d3);return _0x3c9a4e&&_0x1943d3&&Jr(_0x291d78,_0x4dc607,_0x1943d3),_0x1943d3;},At=(_0x242050,_0xb5d5c4)=>(_0x41ecad,_0x507569)=>_0xb5d5c4(_0x41ecad,_0x507569,_0x242050);function eo(_0x7b3fd5){const _0x130d29=_0xe3a6b9,{unitID:_0x2dc12d,mutations:_0x5534b3}=_0x7b3fd5;return{'unitId':_0x2dc12d,'subUnitId':_0x5534b3[0x0]['params'][_0x130d29(0x428)]};}let vt=class{constructor(_0x50629f,_0x16329f,_0x5acc75){const _0x42a40c=_0xe3a6b9;this['_injector']=_0x50629f,this[_0x42a40c(0x5db)]=_0x16329f,this[_0x42a40c(0x2e8)]=_0x5acc75;}[_0xe3a6b9(0x335)](_0x36c784){const _0x424917=_0xe3a6b9;var _0x4437f1,_0x34e0e8,_0x3d674d,_0x1e68e2;const _0x3b0010=this[_0x424917(0x4c4)][_0x424917(0x519)](_0x3e7423),{unitId:_0x44e595,subUnitId:_0x49408b}=eo(_0x36c784),_0x1251ef=_0x3b0010[_0x424917(0x4aa)](_0x44e595)[_0x424917(0x4ed)](),_0x55339a=(_0x34e0e8=(_0x4437f1=this[_0x424917(0x2e8)][_0x424917(0x352)](_0x44e595))==null?void 0x0:_0x4437f1[_0x424917(0x39e)]())==null?void 0x0:_0x34e0e8[_0x424917(0x325)]();if(_0x1251ef[_0x424917(0x285)]===0x0||!_0x44e595||!_0x49408b)return;const _0x40c282=[{'id':_0x5aa13c['id'],'params':{'unitId':_0x44e595,'subUnitId':_0x55339a,'selections':_0x1d5b8a[_0x424917(0x3bf)](_0x1251ef)}}],_0x43c055=this[_0x424917(0x5db)][_0x424917(0x270)](_0x36c784,_0x40c282);if(!_0x369aae(_0x43c055))throw _0x43c055[_0x424917(0x46c)];const _0x308aac=(_0x1e68e2=(_0x3d674d=_0x43c055['m2Prime'][0x0])==null?void 0x0:_0x3d674d[_0x424917(0x2de)])==null?void 0x0:_0x1e68e2[_0x424917(0x3b3)];if(Array[_0x424917(0x2b3)](_0x308aac)&&_0x308aac[_0x424917(0x285)]){if(_0x308aac['length']===_0x40c282[0x0][_0x424917(0x2de)]['selections'][_0x424917(0x285)]&&_0x308aac[_0x424917(0x2af)]((_0x537099,_0x5a3fb8)=>_0x76407c[_0x424917(0x3dc)](_0x537099[_0x424917(0x4d1)],_0x40c282[0x0][_0x424917(0x2de)]['selections'][_0x5a3fb8]['range'])))return;this['_injector'][_0x424917(0x519)](_0xc67fcf)[_0x424917(0x55e)](_0x5aa13c['id'],{'unitId':_0x44e595,'subUnitId':_0x55339a,'selections':_0x308aac});}}};vt=Qr([At(0x0,_0x432547(_0x521cd6)),At(0x1,_0x24b4da),At(0x2,_0x17aa8b)],vt);const Rt=_0x205a3e(_0xe3a6b9(0x313));var wi=(_0x4d7f0d=>(_0x4d7f0d[_0x4d7f0d[_0xe3a6b9(0x44c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4d7f0d[_0x4d7f0d['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x4d7f0d))(wi||{});const Bs=0x7530,ks='ACTIVE_UNIT_EVENT_CHANNEL';class to extends _0x4f0ec0{constructor(){const _0xc7f59e=_0xe3a6b9;super(),g(this,'_id',_0x1d5b8a[_0xc7f59e(0x349)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0xc7f59e(0x4a0),new Map()),g(this,_0xc7f59e(0x2ed),null),g(this,_0xc7f59e(0x547),new Map()),g(this,_0xc7f59e(0x2fa),new Map()),this['_init']();}['dispose'](){const _0x339096=_0xe3a6b9;super[_0x339096(0x3b4)](),this['_clearOtherTimers'][_0x339096(0x3b9)]((_0x55bf52,_0x1c42a6)=>this[_0x339096(0x36e)](_0x1c42a6)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x339096(0x2ed)]);}['getUnitStatus$'](_0x436930){const _0x5a6473=_0xe3a6b9;return this[_0x5a6473(0x481)](_0x436930)['pipe'](_0x40087c());}[_0xe3a6b9(0x281)](_0x44115c){const _0x4701ab=_0xe3a6b9;this[_0x4701ab(0x5dd)][_0x4701ab(0x545)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4701ab(0x5dd)][_0x4701ab(0x500)](_0x44115c),this[_0x4701ab(0x35b)]({'type':0x0,'memberID':this[_0x4701ab(0x310)],'unitIDs':[_0x44115c],'isForwarded':!0x1});}[_0xe3a6b9(0x35e)](_0x56acdd){const _0xd26b05=_0xe3a6b9;this[_0xd26b05(0x5dd)][_0xd26b05(0x276)](_0x56acdd),this[_0xd26b05(0x5dd)][_0xd26b05(0x545)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x42d337=_0xe3a6b9;this[_0x42d337(0x5d1)](_0x3b9b0c(_0x32e3b9(window,'storage')[_0x42d337(0x3d4)](_0x378ad7=>{const _0x579262=_0x42d337;if(_0x378ad7[_0x579262(0x1ee)]!==ks||!_0x378ad7[_0x579262(0x560)])return;const _0x3df14c=JSON[_0x579262(0x3e6)](_0x378ad7[_0x579262(0x560)]);this[_0x579262(0x5a7)](_0x3df14c);}))),window[_0x42d337(0x535)](_0x42d337(0x3ad),()=>this[_0x42d337(0x35b)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x42d337(0x359)](this['_selfUnitIDs'])}));}[_0xe3a6b9(0x5a7)](_0x58f1da){const _0x11918b=_0xe3a6b9;switch(_0x58f1da[_0x11918b(0x36c)]){case 0x0:this['_handleJoinEvent'](_0x58f1da);break;case 0x1:this[_0x11918b(0x363)](_0x58f1da);break;case 0x2:this[_0x11918b(0x33e)](_0x58f1da);break;}}['_handleJoinEvent'](_0x4f4305){const _0x20e2e5=_0xe3a6b9,{unitIDs:_0x6e6620,memberID:_0x4e005d,isForwarded:_0x311ad6}=_0x4f4305;_0x6e6620[_0x20e2e5(0x3b9)](_0x3fc6bc=>{const _0x595085=_0x20e2e5;if(!_0x311ad6&&this[_0x595085(0x4a0)][_0x595085(0x287)](_0x3fc6bc)&&this['_ensureSubject'](_0x3fc6bc)[_0x595085(0x32a)](0x1),!this['_unitOnClients'][_0x595085(0x287)](_0x3fc6bc)||!this[_0x595085(0x4a0)][_0x595085(0x519)](_0x3fc6bc)[_0x595085(0x287)](_0x4e005d)){const _0x246f72=this[_0x595085(0x4a0)][_0x595085(0x519)](_0x3fc6bc)||new Set();_0x246f72['add'](_0x4e005d),this[_0x595085(0x4a0)][_0x595085(0x454)](_0x3fc6bc,_0x246f72),this['_scheduleClearOtherTimer'](_0x4e005d);}}),_0x311ad6||this[_0x20e2e5(0x35b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x20e2e5(0x5dd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x12538f){const _0x55e424=_0xe3a6b9;this[_0x55e424(0x36e)](_0x12538f);const _0x1839dc=window['setTimeout'](()=>{const _0xc3be90=_0x55e424;this['_unitOnClients'][_0xc3be90(0x3b9)](_0x195adf=>{const _0x3c017f=_0xc3be90;_0x195adf[_0x3c017f(0x276)](_0x12538f);});},Bs*0x2);this[_0x55e424(0x547)][_0x55e424(0x454)](_0x12538f,_0x1839dc);}[_0xe3a6b9(0x36e)](_0x34976e){const _0x5b9548=_0xe3a6b9;if(this[_0x5b9548(0x547)][_0x5b9548(0x287)](_0x34976e)){const _0x34faa3=this[_0x5b9548(0x547)]['get'](_0x34976e);_0x34faa3&&window[_0x5b9548(0x284)](_0x34faa3),this['_clearOtherTimers']['set'](_0x34976e,null);}}['_handleLeaveEvent'](_0x253e64){const _0x470686=_0xe3a6b9,{memberID:_0x39f342,unitIDs:_0x456ce9}=_0x253e64;_0x456ce9['forEach'](_0x14a166=>{const _0x1ca1e5=_0x272d;var _0x6c6c9d;const _0x1c1167=this['_unitOnClients'][_0x1ca1e5(0x519)](_0x14a166);_0x1c1167&&(_0x1c1167[_0x1ca1e5(0x276)](_0x39f342),(_0x6c6c9d=this[_0x1ca1e5(0x481)](_0x14a166))==null||_0x6c6c9d[_0x1ca1e5(0x32a)](_0x1c1167['size']===0x0?0x0:0x1));}),this[_0x470686(0x36e)](_0x39f342);}[_0xe3a6b9(0x33e)](_0x2f74ee){this['_scheduleClearOtherTimer'](_0x2f74ee['memberID']);}[_0xe3a6b9(0x35b)](_0x24ce1e){const _0x30fad3=_0xe3a6b9;localStorage[_0x30fad3(0x502)](ks,JSON[_0x30fad3(0x4f2)](_0x24ce1e));}['_scheduleHeartbeat'](){const _0x51bb9c=_0xe3a6b9;this[_0x51bb9c(0x2ed)]=window[_0x51bb9c(0x2f8)](()=>{const _0x4cc6d6=_0x51bb9c;this[_0x4cc6d6(0x35b)]({'type':0x2,'memberID':this['_id']});},Bs);}[_0xe3a6b9(0x481)](_0x9887da){const _0x2ac08f=_0xe3a6b9;return this[_0x2ac08f(0x2fa)][_0x2ac08f(0x287)](_0x9887da)||this[_0x2ac08f(0x2fa)]['set'](_0x9887da,new _0x23c074(0x0)),this[_0x2ac08f(0x2fa)]['get'](_0x9887da);}}var so=Object['defineProperty'],io=Object[_0xe3a6b9(0x4b1)],no=(_0x293382,_0x2f0e7a,_0x2d80c6,_0x332d2b)=>{const _0x50bc98=_0xe3a6b9;for(var _0x4d665b=_0x332d2b>0x1?void 0x0:_0x332d2b?io(_0x2f0e7a,_0x2d80c6):_0x2f0e7a,_0x3de7d4=_0x293382[_0x50bc98(0x285)]-0x1,_0x205835;_0x3de7d4>=0x0;_0x3de7d4--)(_0x205835=_0x293382[_0x3de7d4])&&(_0x4d665b=(_0x332d2b?_0x205835(_0x2f0e7a,_0x2d80c6,_0x4d665b):_0x205835(_0x4d665b))||_0x4d665b);return _0x332d2b&&_0x4d665b&&so(_0x2f0e7a,_0x2d80c6,_0x4d665b),_0x4d665b;},Mt=(_0x5ca47b,_0x3e3109)=>(_0x2191f3,_0x4ca2a0)=>_0x3e3109(_0x2191f3,_0x4ca2a0,_0x5ca47b);let mt=class{constructor(_0x136d60,_0x380baa,_0xdddc40){const _0x509cc4=_0xe3a6b9;this[_0x509cc4(0x4c4)]=_0x136d60,this[_0x509cc4(0x5db)]=_0x380baa,this[_0x509cc4(0x4b9)]=_0xdddc40;}[_0xe3a6b9(0x5c3)](_0x4fe6f2){const _0x353188=_0xe3a6b9;this[_0x353188(0x469)](_0x4fe6f2);}[_0xe3a6b9(0x3fa)](_0x789e0a){const _0x37edc9=_0xe3a6b9,{unitID:_0x502756}=_0x789e0a,{collaboration:_0x3d42a1}=this[_0x37edc9(0x4b9)][_0x37edc9(0x258)](_0x502756);if(_0x3d42a1[_0x37edc9(0x285)]===0x0)return _0x789e0a;let _0x5ecd68=_0x1d5b8a['deepClone'](_0x789e0a[_0x37edc9(0x2fd)][0x0]);for(let _0xa21c1d=0x0;_0xa21c1d<_0x3d42a1[_0x37edc9(0x285)];_0xa21c1d++){const _0x1df4e7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3d42a1[_0xa21c1d]['unitId'],..._0x3d42a1[_0xa21c1d][_0x37edc9(0x4d0)]}},_0x30aaf6=this['_transformService'][_0x37edc9(0x396)](_0x5ecd68,_0x1df4e7,!0x1);if(_0x54625d(_0x30aaf6))throw _0x30aaf6[_0x37edc9(0x46c)];_0x5ecd68=_0x30aaf6[_0x37edc9(0x595)];}return{..._0x1d5b8a[_0x37edc9(0x3bf)](_0x789e0a),'mutations':[_0x5ecd68]};}[_0xe3a6b9(0x469)](_0x30bc46){const _0x4e6af7=_0xe3a6b9,{unitID:_0x2093dc}=_0x30bc46,{history:_0x8e91ab,collaboration:_0x3ad5d0}=this[_0x4e6af7(0x4b9)][_0x4e6af7(0x258)](_0x2093dc);if(_0x8e91ab[_0x4e6af7(0x285)]===0x0&&_0x3ad5d0[_0x4e6af7(0x285)]===0x0)return;const _0x41c0b9=[],_0x48d8fa=[];let _0x3f17dc=_0x1d5b8a[_0x4e6af7(0x3bf)](_0x30bc46[_0x4e6af7(0x2fd)][0x0]),_0x11b350=_0x1d5b8a['deepClone'](_0x30bc46[_0x4e6af7(0x2fd)][0x0]);for(let _0x2753e3=_0x8e91ab[_0x4e6af7(0x285)]-0x1;_0x2753e3>=0x0;_0x2753e3--){const _0x4ec6c9={'id':_0x4e6af7(0x523),'params':{'unitId':_0x8e91ab[_0x2753e3]['unitId'],..._0x8e91ab[_0x2753e3]['undoState']}},_0x1126ab={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e91ab[_0x2753e3][_0x4e6af7(0x2d5)],..._0x8e91ab[_0x2753e3][_0x4e6af7(0x4d0)]}},_0x5c294c=this[_0x4e6af7(0x5db)]['transformMutation'](_0x3f17dc,_0x4ec6c9,!0x1),_0x359a0b=this[_0x4e6af7(0x5db)][_0x4e6af7(0x396)](_0x11b350,_0x1126ab,!0x1);if(_0x54625d(_0x5c294c))throw _0x5c294c[_0x4e6af7(0x46c)];if(_0x54625d(_0x359a0b))throw _0x359a0b['error'];_0x41c0b9[_0x4e6af7(0x2dc)]({..._0x8e91ab[_0x2753e3],'undoState':_0x5c294c[_0x4e6af7(0x339)][_0x4e6af7(0x2de)],'redoState':_0x359a0b[_0x4e6af7(0x339)][_0x4e6af7(0x2de)]}),_0x3f17dc=_0x5c294c['m1Prime'],_0x11b350=_0x359a0b[_0x4e6af7(0x595)];}_0x3f17dc=_0x1d5b8a[_0x4e6af7(0x3bf)](_0x30bc46[_0x4e6af7(0x2fd)][0x0]),_0x11b350=_0x1d5b8a[_0x4e6af7(0x3bf)](_0x30bc46[_0x4e6af7(0x2fd)][0x0]);for(let _0x20b8a9=_0x3ad5d0['length']-0x1;_0x20b8a9>=0x0;_0x20b8a9--){const _0x391dd1={'id':_0x4e6af7(0x523),'params':{'unitId':_0x3ad5d0[_0x20b8a9][_0x4e6af7(0x2d5)],..._0x3ad5d0[_0x20b8a9][_0x4e6af7(0x2e6)]}},_0x50e752={'id':_0x4e6af7(0x523),'params':{'unitId':_0x3ad5d0[_0x20b8a9][_0x4e6af7(0x2d5)],..._0x3ad5d0[_0x20b8a9][_0x4e6af7(0x4d0)]}},_0x3d646c=this['_transformService'][_0x4e6af7(0x396)](_0x3f17dc,_0x391dd1,!0x1),_0x67ca2b=this[_0x4e6af7(0x5db)][_0x4e6af7(0x396)](_0x11b350,_0x50e752,!0x1);if(_0x54625d(_0x3d646c))throw _0x3d646c[_0x4e6af7(0x46c)];if(_0x54625d(_0x67ca2b))throw _0x67ca2b['error'];_0x48d8fa[_0x4e6af7(0x2dc)]({..._0x3ad5d0[_0x20b8a9],'undoState':_0x3d646c['m2Prime'][_0x4e6af7(0x2de)],'redoState':_0x67ca2b[_0x4e6af7(0x339)][_0x4e6af7(0x2de)]}),_0x3f17dc=_0x3d646c['m1Prime'],_0x11b350=_0x67ca2b[_0x4e6af7(0x595)];}this['_docStateChangeManagerService'][_0x4e6af7(0x4df)](_0x2093dc,{'history':_0x41c0b9,'collaboration':_0x48d8fa});}};mt=no([Mt(0x0,_0x432547(_0x521cd6)),Mt(0x1,_0x24b4da),Mt(0x2,_0x432547(_0x148acc))],mt);function Di(_0x3f8ff5){const _0x4e859d=_0xe3a6b9;let _0x41b343='';for(const _0x3cc6c4 of _0x3f8ff5){const {startOffset:_0x552291,endOffset:_0x12dbf2,isActive:_0x5f0ccb,rangeType:_0x246b3d,segmentId:_0x20703d,segmentPage:_0x111ca3}=_0x3cc6c4;_0x41b343[_0x4e859d(0x285)]&&(_0x41b343+=','),_0x41b343+=_0x552291+':'+_0x12dbf2+':'+(_0x5f0ccb?'1':'0')+':'+_0x246b3d+':'+_0x20703d+':'+_0x111ca3;}return _0x41b343;}function ro(_0x469087){const _0x10e280=_0xe3a6b9,_0x48442f=_0x469087[_0x10e280(0x320)](','),_0x1b1ae8=[];for(const _0x32739e of _0x48442f){const [_0x1bd26a,_0x1798d2,_0x18100f,_0x3df0cb,_0x5812b2,_0x16ca0e]=_0x32739e[_0x10e280(0x320)](':');_0x1b1ae8['push']({'startOffset':Number(_0x1bd26a),'endOffset':Number(_0x1798d2),'collapsed':_0x1bd26a===_0x1798d2,'isActive':_0x18100f==='1','rangeType':_0x3df0cb===_0x38924c[_0x10e280(0x5d9)]?_0x38924c[_0x10e280(0x5d9)]:_0x38924c[_0x10e280(0x3a8)],'segmentId':typeof _0x5812b2==_0x10e280(0x43a)?String(_0x5812b2):'','segmentPage':Number(_0x16ca0e!=null?_0x16ca0e:-0x1)});}return _0x1b1ae8[_0x10e280(0x561)](_0x205863=>_0x205863[_0x10e280(0x58e)])||(_0x1b1ae8[0x0][_0x10e280(0x58e)]=!0x0),_0x1b1ae8;}class Is extends _0x90c284{constructor(){const _0x882eb=_0xe3a6b9;super(...arguments),g(this,_0x882eb(0x3d9),new _0x23c074(null)),g(this,_0x882eb(0x202),this['_collabCursorState$'][_0x882eb(0x28e)]());}[_0xe3a6b9(0x3be)](_0x21612d){const _0x3d5228=_0xe3a6b9,{unitID:_0x17054e,memberID:_0x483250,textRanges:_0x3ad662}=_0x21612d,_0x1a87b0=Di(_0x3ad662);if(_0x1a87b0==='')return;const _0x810ef1={'unitID':_0x17054e,'memberID':_0x483250,'selection':_0x1a87b0};this[_0x3d5228(0x3d9)][_0x3d5228(0x32a)](_0x810ef1);}}var oo=Object[_0xe3a6b9(0x2e1)],ao=Object[_0xe3a6b9(0x4b1)],co=(_0x64bcfd,_0x438b50,_0x359ab6,_0x299359)=>{const _0x14ed75=_0xe3a6b9;for(var _0x4094d8=_0x299359>0x1?void 0x0:_0x299359?ao(_0x438b50,_0x359ab6):_0x438b50,_0x58ae49=_0x64bcfd[_0x14ed75(0x285)]-0x1,_0x4a2d69;_0x58ae49>=0x0;_0x58ae49--)(_0x4a2d69=_0x64bcfd[_0x58ae49])&&(_0x4094d8=(_0x299359?_0x4a2d69(_0x438b50,_0x359ab6,_0x4094d8):_0x4a2d69(_0x4094d8))||_0x4094d8);return _0x299359&&_0x4094d8&&oo(_0x438b50,_0x359ab6,_0x4094d8),_0x4094d8;},Ws=(_0x4c1b81,_0x39aa56)=>(_0x182493,_0x3da8ab)=>_0x39aa56(_0x182493,_0x3da8ab,_0x4c1b81);let pt=class{constructor(_0x17f8a9,_0x2a453a){const _0x55f135=_0xe3a6b9;this[_0x55f135(0x4c4)]=_0x17f8a9,this[_0x55f135(0x5db)]=_0x2a453a;}[_0xe3a6b9(0x335)](_0x258ac4){const _0x4302ba=_0xe3a6b9;var _0x132ae5;const _0x2b063a=this[_0x4302ba(0x4c4)][_0x4302ba(0x519)](_0x5b3cb8),_0x25decd=(_0x132ae5=_0x2b063a[_0x4302ba(0x29a)]())!=null?_0x132ae5:[];if(_0x25decd['length']===0x0)return;const _0x1923b2=_0x258ac4[_0x4302ba(0x24d)],_0x2ece29=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1923b2,'actions':null,'textRanges':_0x25decd}}],_0x23a2a8=this[_0x4302ba(0x5db)][_0x4302ba(0x270)](_0x258ac4,_0x2ece29);if(!_0x369aae(_0x23a2a8))throw _0x23a2a8['error'];const _0x14e1d=_0x23a2a8[_0x4302ba(0x339)][0x0][_0x4302ba(0x2de)][_0x4302ba(0x4fe)];Array[_0x4302ba(0x2b3)](_0x14e1d)&&_0x14e1d[_0x4302ba(0x285)]&&_0x2b063a[_0x4302ba(0x2dd)](_0x14e1d,{'unitId':_0x1923b2,'subUnitId':_0x1923b2},!0x1);}};pt=co([Ws(0x0,_0x432547(_0x521cd6)),Ws(0x1,_0x24b4da)],pt);const ho=new Set([_0x235d24['id']]);function Fs(_0xc3ebd6,_0xb231fd,_0xc5fc98,_0x35836b,_0x5ec566){const _0x12e8f0=_0xe3a6b9;var _0x1139fc,_0x58ac43,_0x47a0eb,_0x3ab191;const _0x2f218d=[];for(const _0x1de74e of _0xc3ebd6)if(ho['has'](_0x1de74e['id'])){if(_0x2f218d[_0x12e8f0(0x285)]>0x0)break;_0x2f218d[_0x12e8f0(0x3f6)](_0x1de74e);break;}else _0x2f218d[_0x12e8f0(0x3f6)](_0x1de74e);const _0x1b632e=(_0x58ac43=(_0x1139fc=_0x5ec566[_0x12e8f0(0x32e)]())==null?void 0x0:_0x1139fc[_0x12e8f0(0x57f)])!=null?_0x58ac43:'unknown',_0xae249b=(_0x3ab191=(_0x47a0eb=_0x5ec566[_0x12e8f0(0x32e)]())==null?void 0x0:_0x47a0eb[_0x12e8f0(0x436)])!=null?_0x3ab191:'unknown';return{'changeset':{'unitID':_0xb231fd,'type':_0x2dee8d(_0xc5fc98[_0x12e8f0(0x245)](_0xb231fd)),'baseRev':_0x35836b[_0x12e8f0(0x2b8)](_0xb231fd),'revision':0x0,'userID':_0x1b632e,'memberID':_0xae249b,'mutations':_0x2f218d},'pendingMutations':_0xc3ebd6[_0x12e8f0(0x398)](_0x2f218d[_0x12e8f0(0x285)])};}function lo(_0x1e84c8,_0x1a09bd,_0x1354fb,_0x12384f,_0xf91d52){const _0x3b03a9=_0xe3a6b9;var _0x1f2f16,_0xd73e74,_0x5486e4,_0x2d2799;const _0x4944e8=[_0x1e84c8[_0x3b03a9(0x525)]((_0x4f94ad,_0x56d9d1)=>{const _0x53891e=_0x3b03a9;var _0x106b9e;const {id:_0x5a60ae}=_0x4f94ad,{id:_0x181113,type:_0x107326}=_0x56d9d1,_0x1a0cf2=(_0x106b9e=_0x4f94ad[_0x53891e(0x2de)])!=null?_0x106b9e:{'actions':null},_0x18713b=_0x56d9d1[_0x53891e(0x2de)];if(_0x5a60ae&&_0x5a60ae!==_0x181113)throw new Error(_0x53891e(0x432)+_0x5a60ae+_0x53891e(0x2a2)+_0x181113+'.');return{..._0x4f94ad,'id':_0x181113,'type':_0x107326,'params':{'unitId':_0x18713b[_0x53891e(0x2d5)],'textRanges':_0x18713b[_0x53891e(0x4fe)],'actions':_0x60f96['compose'](_0x1a0cf2[_0x53891e(0x280)],_0x18713b[_0x53891e(0x280)])}};},{})],_0x3409b9=(_0xd73e74=(_0x1f2f16=_0xf91d52[_0x3b03a9(0x32e)]())==null?void 0x0:_0x1f2f16['userID'])!=null?_0xd73e74:'unknown',_0x53fae6=(_0x2d2799=(_0x5486e4=_0xf91d52[_0x3b03a9(0x32e)]())==null?void 0x0:_0x5486e4['memberID'])!=null?_0x2d2799:_0x3b03a9(0x5d8);return{'changeset':{'unitID':_0x1a09bd,'type':_0x2dee8d(_0x1354fb['getUnitType'](_0x1a09bd)),'baseRev':_0x12384f['getCurrentRevOfUnit'](_0x1a09bd),'revision':0x0,'userID':_0x3409b9,'memberID':_0x53fae6,'mutations':_0x4944e8},'pendingMutations':[]};}function Pi(_0x4d3d39,_0x903a5d){const _0x6bc11f=_0xe3a6b9,_0x397484=new _0x530df0(0x1);return setTimeout(()=>_0x397484['next'](_0x903a5d),_0x4d3d39),_0x397484['asObservable']()[_0x6bc11f(0x531)](_0x335dc9(0x1));}const _o={'id':_0x3c7c11['id'],'type':_0x414065['MUTATION'],'params':{}};var uo=Object[_0xe3a6b9(0x2e1)],fo=Object[_0xe3a6b9(0x4b1)],Le=(_0x40ddd5,_0x21768b,_0x4a736b,_0x2b49ee)=>{const _0x5df9e3=_0xe3a6b9;for(var _0x31804d=_0x2b49ee>0x1?void 0x0:_0x2b49ee?fo(_0x21768b,_0x4a736b):_0x21768b,_0x49b3a2=_0x40ddd5[_0x5df9e3(0x285)]-0x1,_0x4a4b18;_0x49b3a2>=0x0;_0x49b3a2--)(_0x4a4b18=_0x40ddd5[_0x49b3a2])&&(_0x31804d=(_0x2b49ee?_0x4a4b18(_0x21768b,_0x4a736b,_0x31804d):_0x4a4b18(_0x31804d))||_0x31804d);return _0x2b49ee&&_0x31804d&&uo(_0x21768b,_0x4a736b,_0x31804d),_0x31804d;},A=(_0x102e1c,_0x10e2e3)=>(_0x40ecb6,_0xe1441d)=>_0x10e2e3(_0x40ecb6,_0xe1441d,_0x102e1c),J=(_0x426a92=>(_0x426a92[_0xe3a6b9(0x5bd)]='not_collab',_0x426a92[_0xe3a6b9(0x50a)]=_0xe3a6b9(0x2f0),_0x426a92['PENDING']=_0xe3a6b9(0x34a),_0x426a92[_0xe3a6b9(0x5b6)]=_0xe3a6b9(0x212),_0x426a92[_0xe3a6b9(0x49e)]=_0xe3a6b9(0x584),_0x426a92[_0xe3a6b9(0x406)]=_0xe3a6b9(0x44a),_0x426a92['CONFLICT']='conflict',_0x426a92[_0xe3a6b9(0x22a)]=_0xe3a6b9(0x486),_0x426a92))(J||{});const Ui=0xea60;class $e{constructor(_0x527025,_0x28ec87,_0x26fc16,_0x5d9543,_0x184d7b,_0x52a26f,_0x29ec53,_0x1a627f,_0x135a7f){const _0x4b3620=_0xe3a6b9;g(this,_0x4b3620(0x536),null),g(this,_0x4b3620(0x32c),[]),(this[_0x4b3620(0x24d)]=_0x527025,this['type']=_0x28ec87,this[_0x4b3620(0x222)]=_0x184d7b,this[_0x4b3620(0x1e6)]=_0x52a26f,this[_0x4b3620(0x52e)]=_0x29ec53,this[_0x4b3620(0x353)]=_0x1a627f,this['_localCacheService']=_0x135a7f,this[_0x4b3620(0x536)]=_0x26fc16,this[_0x4b3620(0x32c)]=_0x5d9543);}[_0xe3a6b9(0x54d)](_0x2c896){const _0x36f5b3=_0xe3a6b9,_0x33896f=this[_0x36f5b3(0x353)][_0x36f5b3(0x2b8)](this[_0x36f5b3(0x24d)]);return _0x2c896[_0x36f5b3(0x39f)]>_0x33896f+0x1?(this['_handler'][_0x36f5b3(0x3a6)]({'from':_0x33896f,'to':_0x2c896[_0x36f5b3(0x39f)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x584039){const _0x9c72f7=_0xe3a6b9;this[_0x9c72f7(0x52e)][_0x9c72f7(0x5a9)](this['unitID'],_0x584039);}[_0xe3a6b9(0x34e)](_0x3c4ee8){const _0x412ea1=_0xe3a6b9;var _0x5490fc,_0x497096;(_0x497096=(_0x5490fc=this['_handler'])[_0x412ea1(0x4c1)])==null||_0x497096[_0x412ea1(0x2d2)](_0x5490fc,_0x3c4ee8);}[_0xe3a6b9(0x556)](_0x1f3657){const _0x3eb413=_0xe3a6b9;var _0x4f04ba,_0x3480c6;return(_0x3480c6=(_0x4f04ba=this[_0x3eb413(0x222)])[_0x3eb413(0x59c)])==null?void 0x0:_0x3480c6[_0x3eb413(0x2d2)](_0x4f04ba,_0x1f3657);}[_0xe3a6b9(0x23e)](_0x70f8b3){const _0x3bfab1=_0xe3a6b9;var _0x36876c,_0x330cf9;return(_0x330cf9=(_0x36876c=this[_0x3bfab1(0x222)])[_0x3bfab1(0x37d)])==null?void 0x0:_0x330cf9['call'](_0x36876c,_0x70f8b3);}[_0xe3a6b9(0x326)](_0x41bf25){const _0x2e7a18=_0xe3a6b9;var _0x5878ef,_0x2a5252,_0x1e2cb2;return(_0x1e2cb2=(_0x2a5252=(_0x5878ef=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2a5252[_0x2e7a18(0x2d2)](_0x5878ef,_0x41bf25))!=null?_0x1e2cb2:_0x41bf25;}[_0xe3a6b9(0x5da)](_0x30960e){const _0x38d04c=_0xe3a6b9;var _0xdc85b5,_0x16a22e,_0xe61b78;return(_0xe61b78=(_0x16a22e=(_0xdc85b5=this[_0x38d04c(0x222)])[_0x38d04c(0x1e0)])==null?void 0x0:_0x16a22e[_0x38d04c(0x2d2)](_0xdc85b5,_0x30960e))!=null?_0xe61b78:_0x30960e;}[_0xe3a6b9(0x555)](_0x503a05){const _0x27ea59=_0xe3a6b9;var _0x30b30a,_0x4edc31;if(this[_0x27ea59(0x36c)]===ce[_0x27ea59(0x39b)]){const {unitID:_0x3454ee,mutations:_0xb91def,memberID:_0x118422}=_0x503a05,_0x18440b=_0xb91def[0x0][_0x27ea59(0x2de)]['textRanges'];Array[_0x27ea59(0x2b3)](_0x18440b)&&_0x18440b[_0x27ea59(0x285)]>0x0&&((_0x4edc31=(_0x30b30a=this[_0x27ea59(0x222)])['onSyncEditingCollabCursor'])==null||_0x4edc31[_0x27ea59(0x2d2)](_0x30b30a,{'unitID':_0x3454ee,'memberID':_0x118422,'textRanges':_0x18440b}));}}[_0xe3a6b9(0x2c4)](){const _0x206241=_0xe3a6b9;this['_localCacheService'][_0x206241(0x4e3)](this[_0x206241(0x24d)],this[_0x206241(0x36c)],this[_0x206241(0x536)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x1ae79c=_0xe3a6b9;return this[_0x1ae79c(0x353)][_0x1ae79c(0x2b8)](this['unitID']);}['_incrementRevisionNumber'](){const _0x1676c7=_0xe3a6b9;this[_0x1676c7(0x353)][_0x1676c7(0x5a2)](this[_0x1676c7(0x24d)]);}[_0xe3a6b9(0x355)](_0xa90354){const _0x32fcb6=_0xe3a6b9;var _0x14cd69;let _0x4d62c0=this['_transformRemoteChangesetByIMECache'](_0xa90354);_0x4d62c0=this[_0x32fcb6(0x5da)](_0x4d62c0);const _0x1638ba=_0x29e58b(_0x4d62c0[_0x32fcb6(0x2fd)],this[_0x32fcb6(0x1e6)],{'fromCollab':!0x0});if(!_0x1638ba[_0x32fcb6(0x209)])throw _0x1638ba['error']instanceof Error?_0x1638ba[_0x32fcb6(0x46c)]:new Error((_0x14cd69=_0x1638ba['error'])!=null?_0x14cd69:'[CollaborationState]:\x20apply\x20error!');this[_0x32fcb6(0x556)](_0x4d62c0),this[_0x32fcb6(0x23e)](_0x4d62c0),this['_transformUndoredo'](_0xa90354),this[_0x32fcb6(0x34e)](_0x4d62c0),this['_syncEditingCollabCursor'](_0x4d62c0),this[_0x32fcb6(0x226)]();}}let Fe=class extends $e{constructor(_0x3a7735,_0x586020,_0x1eaf65,_0x1e6096,_0x49795e,_0x2babd5,_0x3252e2,_0x238873,_0x276246,_0x4de796){const _0x167477=_0xe3a6b9;super(_0x3a7735,_0x586020,null,[],_0x1eaf65,_0x238873,_0x3252e2,_0x1e6096,_0x49795e),g(this,_0x167477(0x511),_0x167477(0x2f0)),(this[_0x167477(0x4c4)]=_0x2babd5,this['_logService']=_0x276246,this[_0x167477(0x5db)]=_0x4de796);}[_0xe3a6b9(0x51c)](_0x83332b){const _0x5c2140=_0xe3a6b9,_0x2fcfe5=this[_0x5c2140(0x4c4)][_0x5c2140(0x365)](pe,this[_0x5c2140(0x24d)],this[_0x5c2140(0x36c)],[_0x83332b],this[_0x5c2140(0x222)]);return _0x2fcfe5[_0x5c2140(0x3a1)](),_0x2fcfe5[_0x5c2140(0x2c4)](),_0x2fcfe5;}[_0xe3a6b9(0x2c3)](_0x1d0a43){const _0x32137a=_0xe3a6b9;if(this[_0x32137a(0x54d)](_0x1d0a43))return this[_0x32137a(0x4c4)][_0x32137a(0x365)](he,this[_0x32137a(0x24d)],this[_0x32137a(0x36c)],null,[],null,[_0x1d0a43],this[_0x32137a(0x222)]);try{const _0x4c8412=this[_0x32137a(0x5db)][_0x32137a(0x270)](_0x1d0a43,[_o]);if(_0x369aae(_0x4c8412)){const {c1Prime:_0x5e085d}=_0x4c8412;return this[_0x32137a(0x355)](_0x5e085d),this;}throw _0x4c8412['error'];}catch(_0x21337e){return this[_0x32137a(0x230)]['error'](_0x21337e),this['_onConflict'](!0x1);}}[_0xe3a6b9(0x314)](_0x7bb4d4){const _0x290b5e=_0xe3a6b9;return this[_0x290b5e(0x4c4)][_0x290b5e(0x365)](Re,this['unitID'],this[_0x290b5e(0x36c)],null,[],this[_0x290b5e(0x222)],_0x7bb4d4);}[_0xe3a6b9(0x539)](){const _0x2bd2e4=_0xe3a6b9;throw new Error(_0x2bd2e4(0x377));}['onRemoteRej'](){const _0x5db8e7=_0xe3a6b9;throw new Error(_0x5db8e7(0x4ac));}[_0xe3a6b9(0x21b)](){return this;}[_0xe3a6b9(0x2e2)](){const _0x5c8f32=_0xe3a6b9;return this[_0x5c8f32(0x4c4)][_0x5c8f32(0x365)](ye,this[_0x5c8f32(0x24d)],this[_0x5c8f32(0x36c)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xe3a6b9(0x4b7)](){const _0x53dbb6=_0xe3a6b9;throw new Error(_0x53dbb6(0x3ba));}['fetchMiss'](){const _0x459e87=_0xe3a6b9,_0x30c954=this[_0x459e87(0x353)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x30c954,'to':0x0}),this['_injector'][_0x459e87(0x365)](he,this['unitID'],this[_0x459e87(0x36c)],null,[],null,[],this[_0x459e87(0x222)]);}};Fe=Le([A(0x3,_0x432547(_0x1493a3)),A(0x4,_0x432547(q)),A(0x5,_0x432547(_0x521cd6)),A(0x6,_0x5786da),A(0x7,_0xc67fcf),A(0x8,_0xfb205),A(0x9,_0x24b4da)],Fe);let pe=class extends $e{constructor(_0x30bd07,_0x30c04,_0x1f25b5,_0x22139d,_0x141ac0,_0x20118a,_0x3f13e6,_0x409747,_0x35af99,_0x8e1339,_0x2afc10,_0x23aa92,_0x44f04a,_0x30ed58){const _0x28c7e3=_0xe3a6b9;super(_0x30bd07,_0x30c04,null,_0x1f25b5,_0x22139d,_0x8e1339,_0x30ed58,_0x20118a,_0x3f13e6),g(this,_0x28c7e3(0x511),'pending'),g(this,_0x28c7e3(0x269),null),g(this,_0x28c7e3(0x35c),null),(this[_0x28c7e3(0x4c4)]=_0x141ac0,this[_0x28c7e3(0x208)]=_0x409747,this[_0x28c7e3(0x230)]=_0x35af99,this[_0x28c7e3(0x466)]=_0x2afc10,this[_0x28c7e3(0x5db)]=_0x23aa92,this[_0x28c7e3(0x342)]=_0x44f04a);}[_0xe3a6b9(0x51c)](_0x4a6189){const _0x4920f4=_0xe3a6b9;return this[_0x4920f4(0x32c)][_0x4920f4(0x3f6)](_0x4a6189),this[_0x4920f4(0x2c4)](),this;}[_0xe3a6b9(0x2c3)](_0x3236e3){const _0x469ad5=_0xe3a6b9;if(this[_0x469ad5(0x54d)](_0x3236e3))return this[_0x469ad5(0x2b7)](),this['_injector'][_0x469ad5(0x365)](he,this[_0x469ad5(0x24d)],this[_0x469ad5(0x36c)],null,this[_0x469ad5(0x32c)],null,[_0x3236e3],this[_0x469ad5(0x222)]);try{const _0x156cb4=this[_0x469ad5(0x5db)][_0x469ad5(0x270)](_0x3236e3,this['_pendingMutations']);if(_0x369aae(_0x156cb4)){const {c1Prime:_0x133f76,m2Prime:_0x5f3454}=_0x156cb4;this[_0x469ad5(0x355)](_0x133f76);const _0x50679e=this[_0x469ad5(0x4c4)]['createInstance'](pe,this['unitID'],this[_0x469ad5(0x36c)],_0x5f3454,this[_0x469ad5(0x222)]);return this[_0x469ad5(0x2b7)](),_0x50679e[_0x469ad5(0x3a1)](this[_0x469ad5(0x269)]?Math[_0x469ad5(0x51f)](0x0,new Date()[_0x469ad5(0x58b)]()-this[_0x469ad5(0x269)]):this[_0x469ad5(0x30e)]()),_0x50679e;}throw _0x156cb4[_0x469ad5(0x46c)];}catch(_0x2636ef){return this['_logService'][_0x469ad5(0x46c)](_0x2636ef),this[_0x469ad5(0x314)](!0x1);}}[_0xe3a6b9(0x539)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xe3a6b9(0x58d)](){const _0x22f1ee=_0xe3a6b9;throw new Error(_0x22f1ee(0x51d));}['onRemoteRetry'](){return this;}[_0xe3a6b9(0x2e2)](){const _0xd08b35=_0xe3a6b9;return this['_clearScheduledTask'](),this['_injector'][_0xd08b35(0x365)](ye,this['unitID'],this[_0xd08b35(0x36c)],null,this[_0xd08b35(0x32c)],this['_handler']);}[_0xe3a6b9(0x364)](){return this;}[_0xe3a6b9(0x3a1)](_0x38896b){const _0x1a9706=_0xe3a6b9,_0x3aa7d9=_0x38896b!=null?_0x38896b:this[_0x1a9706(0x30e)]();this['_scheduleTimestamp']=new Date()[_0x1a9706(0x58b)](),this[_0x1a9706(0x35c)]=window['setTimeout'](()=>{const _0x37fed7=_0x1a9706;this[_0x37fed7(0x2b7)]();let _0x4966e8=null;switch(this[_0x37fed7(0x36c)]){case ce[_0x37fed7(0x4fb)]:{_0x4966e8=Fs(this[_0x37fed7(0x32c)],this['unitID'],this[_0x37fed7(0x342)],this[_0x37fed7(0x353)],this[_0x37fed7(0x208)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x37fed7(0x2af)](_0x1b7715=>_0x1b7715['id']===_0xe5a7a5['id'])?_0x4966e8=lo(this['_pendingMutations'],this[_0x37fed7(0x24d)],this[_0x37fed7(0x342)],this[_0x37fed7(0x353)],this['_memberService']):_0x4966e8=Fs(this['_pendingMutations'],this[_0x37fed7(0x24d)],this['_univerInstanceService'],this['_revisionService'],this[_0x37fed7(0x208)]);break;}default:throw new Error(_0x37fed7(0x503)+this['type']+_0x37fed7(0x2ec));}const {changeset:_0x1e7a4e,pendingMutations:_0x466b9b}=_0x4966e8;this[_0x37fed7(0x222)]['onSendChangeset'](_0x1e7a4e);const _0x5027f2=_0x466b9b[_0x37fed7(0x285)]?this[_0x37fed7(0x4c4)][_0x37fed7(0x365)](ge,this[_0x37fed7(0x24d)],this[_0x37fed7(0x36c)],_0x1e7a4e,_0x466b9b,this[_0x37fed7(0x222)],void 0x0):this[_0x37fed7(0x4c4)][_0x37fed7(0x365)](Te,this[_0x37fed7(0x24d)],this[_0x37fed7(0x36c)],_0x1e7a4e,this[_0x37fed7(0x222)]);_0x5027f2[_0x37fed7(0x2c4)](),this[_0x37fed7(0x222)]['onStateChange'](this,_0x5027f2);},_0x3aa7d9);}[_0xe3a6b9(0x30e)](){const _0x427a4b=_0xe3a6b9;var _0x24924f;const _0xed8abc=this[_0x427a4b(0x466)]['getConfig'](ie);return(_0x24924f=_0xed8abc==null?void 0x0:_0xed8abc[_0x427a4b(0x329)])!=null?_0x24924f:ar;}[_0xe3a6b9(0x4b7)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe3a6b9(0x2b7)](){const _0x2ff622=_0xe3a6b9;this[_0x2ff622(0x35c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2ff622(0x35c)]=null);}[_0xe3a6b9(0x314)](_0xa1bc75){const _0x57f7ad=_0xe3a6b9;return this[_0x57f7ad(0x2b7)](),this[_0x57f7ad(0x4c4)][_0x57f7ad(0x365)](Re,this[_0x57f7ad(0x24d)],this[_0x57f7ad(0x36c)],null,this['_pendingMutations'],this[_0x57f7ad(0x222)],_0xa1bc75);}};pe=Le([A(0x4,_0x432547(_0x521cd6)),A(0x5,_0x432547(_0x1493a3)),A(0x6,_0x432547(q)),A(0x7,_0x432547(Ne)),A(0x8,_0xfb205),A(0x9,_0xc67fcf),A(0xa,_0x4b50bc),A(0xb,_0x24b4da),A(0xc,_0x17aa8b),A(0xd,_0x5786da)],pe);let Te=class extends $e{constructor(_0x3eb3b7,_0x506436,_0x558c03,_0x5db0fc,_0x2f9576,_0x5a18dd,_0x4e027c,_0x53daf2,_0x2bdeaa,_0x207dba,_0x3b7b36){const _0xc58b42=_0xe3a6b9;super(_0x3eb3b7,_0x506436,_0x558c03,[],_0x5db0fc,_0x53daf2,_0x3b7b36,_0x5a18dd,_0x4e027c),g(this,'status',_0xc58b42(0x212)),g(this,_0xc58b42(0x2ea),0x0),g(this,_0xc58b42(0x445)),g(this,'_sender'),(this[_0xc58b42(0x4c4)]=_0x2f9576,this['_logService']=_0x2bdeaa,this['_transformService']=_0x207dba);}[_0xe3a6b9(0x51c)](_0x1e0ed6){const _0x349312=_0xe3a6b9;this['_clearScheduledTask']();const _0x239017=this[_0x349312(0x4c4)][_0x349312(0x365)](ge,this[_0x349312(0x24d)],this[_0x349312(0x36c)],this[_0x349312(0x536)],[_0x1e0ed6],this[_0x349312(0x222)],this['_resendTimer']);return _0x239017['_updateLocalCache'](),_0x239017;}['onRemoteChangeset'](_0xc5fd43){const _0x496e79=_0xe3a6b9;if(this['_checkMissing'](_0xc5fd43))return this[_0x496e79(0x2b7)](),this[_0x496e79(0x4c4)][_0x496e79(0x365)](he,this[_0x496e79(0x24d)],this['type'],this['_awaitingChangeset'],[],null,[_0xc5fd43],this['_handler']);try{const _0xaec5fe=this[_0x496e79(0x5db)][_0x496e79(0x4ba)]([_0xc5fd43],[this[_0x496e79(0x536)]],!0x1);if(_0x146057(_0xaec5fe)){const {c1Prime:_0x3fb1bc,c2Prime:_0x568ae9}=_0xaec5fe;this[_0x496e79(0x355)](_0x3fb1bc[0x0]),_0x568ae9[0x0]['baseRev']=this[_0x496e79(0x49d)](),this[_0x496e79(0x2b7)]();const _0x38368a=this[_0x496e79(0x4c4)][_0x496e79(0x365)](Te,this[_0x496e79(0x24d)],this[_0x496e79(0x36c)],_0x568ae9[0x0],this['_handler']);return _0x38368a[_0x496e79(0x2c4)](),_0x38368a;}return this[_0x496e79(0x314)](!0x1);}catch(_0x44f760){return this[_0x496e79(0x230)][_0x496e79(0x46c)](_0x44f760),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x47d763){const _0x17272b=_0xe3a6b9;this[_0x17272b(0x2b7)]();const _0x3ece90=this['_revisionService'][_0x17272b(0x2b8)](this[_0x17272b(0x24d)]);if(_0x47d763['revision']<_0x3ece90-0x1)return this;if(this['_checkMissing'](_0x47d763))return this[_0x17272b(0x4c4)][_0x17272b(0x365)](he,this['unitID'],this[_0x17272b(0x36c)],null,[],this[_0x17272b(0x536)],[],this[_0x17272b(0x222)]);this['_incrementRevisionNumber']();const _0x2c0bfb=this[_0x17272b(0x4c4)][_0x17272b(0x365)](Fe,this[_0x17272b(0x24d)],this['type'],this[_0x17272b(0x222)]);return _0x2c0bfb[_0x17272b(0x2c4)](),_0x2c0bfb;}[_0xe3a6b9(0x58d)](_0x10e24c){const _0x184830=_0xe3a6b9;return this[_0x184830(0x314)](!!(_0x10e24c!=null&&_0x10e24c[_0x184830(0x2c6)]));}[_0xe3a6b9(0x21b)](_0x5ed520){const _0x44b5cc=_0xe3a6b9;return this[_0x44b5cc(0x2ea)]>Ui?this[_0x44b5cc(0x2e2)]():(this[_0x44b5cc(0x445)]=Pi(this['_resendTimeout'],{'timeout':this[_0x44b5cc(0x2ea)],'reqId':_0x5ed520[_0x44b5cc(0x237)]}),this[_0x44b5cc(0x4db)]=this[_0x44b5cc(0x445)]['subscribe'](({reqId:_0x462b6f,timeout:_0x1a0a22})=>{const _0x552465=_0x44b5cc;this[_0x552465(0x26c)](_0x462b6f,_0x1a0a22);}),this);}[_0xe3a6b9(0x2e2)](){const _0x1f52bb=_0xe3a6b9;return this[_0x1f52bb(0x2b7)](),this[_0x1f52bb(0x4c4)][_0x1f52bb(0x365)](ye,this[_0x1f52bb(0x24d)],this['type'],this['_awaitingChangeset'],[],this[_0x1f52bb(0x222)]);}[_0xe3a6b9(0x364)](){return this;}[_0xe3a6b9(0x4b7)](){const _0x1c098d=_0xe3a6b9;this[_0x1c098d(0x222)][_0x1c098d(0x528)](this[_0x1c098d(0x536)]);}['_onConflict'](_0x548582){const _0x204619=_0xe3a6b9;return this[_0x204619(0x2b7)](),this['_injector'][_0x204619(0x365)](Re,this[_0x204619(0x24d)],this[_0x204619(0x36c)],this[_0x204619(0x536)],[],this[_0x204619(0x222)],_0x548582);}[_0xe3a6b9(0x26c)](_0x2f4293,_0x2055c4){const _0x2b38ea=_0xe3a6b9;var _0x4f2282;_0x2f4293===((_0x4f2282=this[_0x2b38ea(0x536)])==null?void 0x0:_0x4f2282[_0x2b38ea(0x237)])&&(this[_0x2b38ea(0x4b7)](),this[_0x2b38ea(0x2ea)]=_0x2055c4===0x0?0x3e8:_0x2055c4*0x2);}[_0xe3a6b9(0x2b7)](){const _0x111ea9=_0xe3a6b9;var _0x2aa613;(_0x2aa613=this[_0x111ea9(0x4db)])==null||_0x2aa613[_0x111ea9(0x1e1)](),this[_0x111ea9(0x2ea)]=0x0;}};Te=Le([A(0x4,_0x432547(_0x521cd6)),A(0x5,_0x432547(_0x1493a3)),A(0x6,_0x432547(q)),A(0x7,_0xc67fcf),A(0x8,_0xfb205),A(0x9,_0x24b4da),A(0xa,_0x5786da)],Te);let ge=class extends $e{constructor(_0x59e54d,_0x47d06d,_0x401cb9,_0x3a8aee,_0x56c793,_0x1609a9,_0x3da83c,_0x4a3651,_0x1d94c8,_0x825897,_0x42d3eb,_0x5a2190,_0x2d2341){const _0x5a92da=_0xe3a6b9;super(_0x59e54d,_0x47d06d,_0x401cb9,_0x3a8aee,_0x56c793,_0x825897,_0x2d2341,_0x4a3651,_0x1d94c8),g(this,_0x5a92da(0x511),_0x5a92da(0x584)),g(this,_0x5a92da(0x2ea),0x0),g(this,_0x5a92da(0x445)),g(this,_0x5a92da(0x4db)),(this[_0x5a92da(0x4c4)]=_0x3da83c,this[_0x5a92da(0x230)]=_0x42d3eb,this[_0x5a92da(0x5db)]=_0x5a2190,_0x1609a9&&(this[_0x5a92da(0x445)]=_0x1609a9,this['_sender']=this[_0x5a92da(0x445)][_0x5a92da(0x3d4)](({reqId:_0x54e447,timeout:_0xc20816})=>{const _0x3ee18b=_0x5a92da;this[_0x3ee18b(0x26c)](_0x54e447,_0xc20816);})));}[_0xe3a6b9(0x51c)](_0x4a5486){const _0x322bc4=_0xe3a6b9;return this[_0x322bc4(0x32c)]['push'](_0x4a5486),this;}[_0xe3a6b9(0x2c3)](_0x144f3){const _0x5497b8=_0xe3a6b9;if(this[_0x5497b8(0x54d)](_0x144f3))return this['_clearScheduledTask'](),this['_injector'][_0x5497b8(0x365)](he,this['unitID'],this[_0x5497b8(0x36c)],this[_0x5497b8(0x536)],this['_pendingMutations'],null,[_0x144f3],this[_0x5497b8(0x222)]);try{const _0x517813=this[_0x5497b8(0x5db)][_0x5497b8(0x4ba)]([_0x144f3],[this[_0x5497b8(0x536)]],!0x1);if(_0x146057(_0x517813)){const {c1Prime:_0x211347,c2Prime:_0x2f36a3}=_0x517813,_0x4bc1eb=this[_0x5497b8(0x5db)][_0x5497b8(0x270)](_0x211347[0x0],this[_0x5497b8(0x32c)]);if(_0x369aae(_0x4bc1eb)){const {c1Prime:_0x1f0f24,m2Prime:_0x47e6cc}=_0x4bc1eb;return this[_0x5497b8(0x355)](_0x1f0f24),_0x2f36a3[0x0][_0x5497b8(0x493)]=this['_getCurrentRevision'](),this[_0x5497b8(0x2b7)](),this[_0x5497b8(0x4c4)][_0x5497b8(0x365)](ge,this[_0x5497b8(0x24d)],this[_0x5497b8(0x36c)],_0x2f36a3[0x0],_0x47e6cc,this[_0x5497b8(0x222)],void 0x0);}throw _0x4bc1eb[_0x5497b8(0x46c)];}throw _0x517813[_0x5497b8(0x46c)];}catch(_0x271e57){return this[_0x5497b8(0x230)]['error'](_0x271e57),this[_0x5497b8(0x314)](!0x1);}}['onRemoteAck'](_0x12835d){const _0x50f28f=_0xe3a6b9;if(this[_0x50f28f(0x2b7)](),this[_0x50f28f(0x54d)](_0x12835d))return this['_injector'][_0x50f28f(0x365)](he,this[_0x50f28f(0x24d)],this[_0x50f28f(0x36c)],null,this[_0x50f28f(0x32c)],this[_0x50f28f(0x536)],[],this[_0x50f28f(0x222)]);this[_0x50f28f(0x226)]();const _0xaa1e47=this[_0x50f28f(0x4c4)][_0x50f28f(0x365)](pe,this[_0x50f28f(0x24d)],this[_0x50f28f(0x36c)],this[_0x50f28f(0x32c)],this[_0x50f28f(0x222)]);return _0xaa1e47[_0x50f28f(0x3a1)](),_0xaa1e47['_updateLocalCache'](),_0xaa1e47;}[_0xe3a6b9(0x58d)](_0xe88a33){const _0x248752=_0xe3a6b9;return this[_0x248752(0x314)](!!(_0xe88a33!=null&&_0xe88a33[_0x248752(0x2c6)]));}['onRemoteRetry'](_0x4a8942){const _0x46ef6c=_0xe3a6b9;return this['_resendTimeout']>Ui?this[_0x46ef6c(0x2e2)]():(this['_resendTimer']=Pi(this[_0x46ef6c(0x2ea)],{'timeout':this[_0x46ef6c(0x2ea)],'reqId':_0x4a8942[_0x46ef6c(0x237)]}),this[_0x46ef6c(0x4db)]=this[_0x46ef6c(0x445)][_0x46ef6c(0x3d4)](({reqId:_0x39d597,timeout:_0x1bc82e})=>{const _0x2224f9=_0x46ef6c;this[_0x2224f9(0x26c)](_0x39d597,_0x1bc82e);}),this);}[_0xe3a6b9(0x2e2)](){const _0xe0c29e=_0xe3a6b9;return this[_0xe0c29e(0x2b7)](),this[_0xe0c29e(0x4c4)][_0xe0c29e(0x365)](ye,this[_0xe0c29e(0x24d)],this['type'],this['_awaitingChangeset'],this[_0xe0c29e(0x32c)],this[_0xe0c29e(0x222)]);}['toggleOnline'](){return this;}[_0xe3a6b9(0x4b7)](){const _0x1618ca=_0xe3a6b9;this[_0x1618ca(0x222)][_0x1618ca(0x528)](this[_0x1618ca(0x536)]);}[_0xe3a6b9(0x314)](_0x5a8b85){const _0x4851b9=_0xe3a6b9;return this[_0x4851b9(0x2b7)](),this[_0x4851b9(0x4c4)][_0x4851b9(0x365)](Re,this[_0x4851b9(0x24d)],this[_0x4851b9(0x36c)],null,this[_0x4851b9(0x32c)],this[_0x4851b9(0x222)],_0x5a8b85);}['_resendWithTimeout'](_0x2d163f,_0x198203){const _0x13d35c=_0xe3a6b9;var _0x47b9af;_0x2d163f===((_0x47b9af=this[_0x13d35c(0x536)])==null?void 0x0:_0x47b9af['reqId'])&&(this[_0x13d35c(0x4b7)](),this[_0x13d35c(0x2ea)]=_0x198203===0x0?0x3e8:_0x198203*0x2);}[_0xe3a6b9(0x2b7)](){const _0x26ff27=_0xe3a6b9;var _0x43b0d4;(_0x43b0d4=this[_0x26ff27(0x4db)])==null||_0x43b0d4[_0x26ff27(0x1e1)](),this[_0x26ff27(0x2ea)]=0x0;}};ge=Le([A(0x6,_0x432547(_0x521cd6)),A(0x7,_0x432547(_0x1493a3)),A(0x8,_0x432547(q)),A(0x9,_0xc67fcf),A(0xa,_0xfb205),A(0xb,_0x24b4da),A(0xc,_0x5786da)],ge);let Re=class extends $e{constructor(_0x3dae00,_0xd1349f,_0x2c7a8d,_0x20c898,_0xc9be93,_0x3473f8=!0x1,_0x22ba4c,_0x31d098,_0x23c793,_0x1926f0,_0x2ecb63,_0x5ef43e,_0x4683ef){const _0x13e1e6=_0xe3a6b9;super(_0x3dae00,_0xd1349f,_0x2c7a8d,_0x20c898,_0xc9be93,_0x31d098,_0x23c793,_0x2ecb63,_0x1926f0),g(this,_0x13e1e6(0x511),_0x13e1e6(0x5aa)),(this['_isPermissionRej']=_0x3473f8,this[_0x13e1e6(0x3ac)]=_0x22ba4c,this[_0x13e1e6(0x444)]=_0x5ef43e,this['_notificationService']=_0x4683ef,this['_showConflictNotification'](),this[_0x13e1e6(0x214)](),this[_0x13e1e6(0x3ff)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0xe3a6b9(0x58d)](){return this;}['onRemoteRetry'](){return this;}[_0xe3a6b9(0x2e2)](){return this;}[_0xe3a6b9(0x364)](){return this;}[_0xe3a6b9(0x4b7)](){const _0x1860d5=_0xe3a6b9;throw new Error(_0x1860d5(0x474));}[_0xe3a6b9(0x214)](){const _0x3ac2fd=_0xe3a6b9;this[_0x3ac2fd(0x559)][_0x3ac2fd(0x4e3)](this[_0x3ac2fd(0x24d)],this[_0x3ac2fd(0x36c)],null,[]);}[_0xe3a6b9(0x28c)](){const _0x1981f4=_0xe3a6b9;this[_0x1981f4(0x48d)]?this['_notificationService']['show']({'title':this[_0x1981f4(0x444)]['t'](_0x1981f4(0x1dd)),'content':this['_localeService']['t'](_0x1981f4(0x2fc)),'type':_0x1981f4(0x46c),'duration':0x0}):this['_notificationService'][_0x1981f4(0x47c)]({'title':this[_0x1981f4(0x444)]['t'](_0x1981f4(0x2f3)),'content':this[_0x1981f4(0x444)]['t'](_0x1981f4(0x41f)),'type':_0x1981f4(0x46c),'duration':0x0});}['_disableEditing'](){const _0x5b4799=_0xe3a6b9;this[_0x5b4799(0x3ac)]['updatePermissionPoint'](new _0x345c5d(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x432547(_0x4e112d)),A(0x7,_0xc67fcf),A(0x8,_0x5786da),A(0x9,_0x432547(q)),A(0xa,_0x432547(_0x1493a3)),A(0xb,_0x432547(_0x363878)),A(0xc,_0x25d02a)],Re);let ye=class extends $e{constructor(_0x532e55,_0x3a28ff,_0x3fb12d,_0x380d0a,_0x470453,_0x4500eb,_0x41dfaa,_0x37a516,_0x4601b5,_0x3bf08d){const _0x2a8f9b=_0xe3a6b9;super(_0x532e55,_0x3a28ff,_0x3fb12d,_0x380d0a,_0x470453,_0x4601b5,_0x3bf08d,_0x41dfaa,_0x37a516),g(this,'status',_0x2a8f9b(0x486)),this['_injector']=_0x4500eb;}[_0xe3a6b9(0x51c)](_0x145f07){const _0x1e76d9=_0xe3a6b9;return this[_0x1e76d9(0x32c)]['push'](_0x145f07),this[_0x1e76d9(0x2c4)](),this;}['onRemoteChangeset'](_0x3bafa6){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xe3a6b9(0x58d)](){const _0x7b9e9e=_0xe3a6b9;throw new Error(_0x7b9e9e(0x36f));}[_0xe3a6b9(0x21b)](){return this;}[_0xe3a6b9(0x2e2)](){return this;}[_0xe3a6b9(0x364)](){const _0x40b5df=_0xe3a6b9,{_injector:_0x23f8f6,_pendingMutations:_0x39b458,_awaitingChangeset:_0x15d551,unitID:_0x2afb74,_handler:_0x5c11cc,type:_0x49ee4a}=this,_0x2c8500=Ni(_0x23f8f6,_0x2afb74,_0x49ee4a,_0x15d551,_0x39b458,_0x5c11cc);return _0x2c8500 instanceof pe?_0x2c8500[_0x40b5df(0x3a1)]():(_0x2c8500 instanceof ge||_0x2c8500 instanceof Te)&&_0x2c8500[_0x40b5df(0x4b7)](),_0x2c8500;}[_0xe3a6b9(0x4b7)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x432547(_0x521cd6)),A(0x6,_0x432547(_0x1493a3)),A(0x7,_0x432547(q)),A(0x8,_0xc67fcf),A(0x9,_0x5786da)],ye);let he=class extends $e{constructor(_0xf062f7,_0x41927c,_0x2eaf5d,_0x3630f6,_0xe156d1,_0x4201d4,_0x5b2aee,_0x48673d,_0xb4dda3,_0x380eea,_0xca1530,_0x29a42a,_0x1773ac,_0x30d5e8){const _0xbf2f73=_0xe3a6b9;super(_0xf062f7,_0x41927c,_0x2eaf5d,_0x3630f6,_0x5b2aee,_0x29a42a,_0x1773ac,_0xb4dda3,_0x380eea),g(this,_0xbf2f73(0x511),_0xbf2f73(0x44a)),(this[_0xbf2f73(0x489)]=_0xe156d1,this[_0xbf2f73(0x4a5)]=_0x4201d4,this[_0xbf2f73(0x4c4)]=_0x48673d,this['_logService']=_0xca1530,this['_transformService']=_0x30d5e8);}['onMissedChangesetFetched'](_0x5c5aef){const _0x54db86=_0xe3a6b9;try{const _0x96fd30=[..._0x5c5aef,...this[_0x54db86(0x4a5)]],_0x4456e5=[this['_awaitingChangeset']||this[_0x54db86(0x489)]][_0x54db86(0x598)](_0x13bb62=>!!_0x13bb62);let _0x308bd1,_0x50b311;if(_0x4456e5[_0x54db86(0x285)]){const _0x4d7d7b=this[_0x54db86(0x5db)][_0x54db86(0x4ba)](_0x96fd30,_0x4456e5,!0x1);if(!_0x146057(_0x4d7d7b))throw _0x4d7d7b['error'];_0x308bd1=_0x4d7d7b[_0x54db86(0x2bd)],_0x50b311=_0x4d7d7b['c2Prime'];}else _0x308bd1=_0x96fd30,_0x50b311=[];let _0x436478=this['_pendingMutations'];_0x308bd1[_0x54db86(0x3b9)](_0xa05525=>{const _0x8aaa42=_0x54db86;let _0x599002;if(_0x436478['length']){const _0x1929dd=this['_transformService'][_0x8aaa42(0x270)](_0xa05525,_0x436478);if(!_0x369aae(_0x1929dd))throw _0x1929dd[_0x8aaa42(0x46c)];_0x599002=_0x1929dd['c1Prime'],_0x436478=_0x1929dd['m2Prime'];}else _0x599002=_0xa05525;this[_0x8aaa42(0x355)](_0x599002);}),this[_0x54db86(0x489)]&&this[_0x54db86(0x226)](),this[_0x54db86(0x536)]&&_0x50b311[_0x54db86(0x285)]&&(_0x50b311[0x0][_0x54db86(0x493)]=this[_0x54db86(0x49d)]());let _0x1bdf6c;if(this[_0x54db86(0x536)]&&_0x436478[_0x54db86(0x285)]!==0x0)_0x1bdf6c=this['_injector'][_0x54db86(0x365)](ge,this[_0x54db86(0x24d)],this[_0x54db86(0x36c)],_0x50b311[0x0],_0x436478,this['_handler'],void 0x0);else{if(this[_0x54db86(0x536)]&&_0x436478[_0x54db86(0x285)]===0x0)_0x50b311[0x0][_0x54db86(0x493)]=this[_0x54db86(0x49d)](),_0x1bdf6c=this[_0x54db86(0x4c4)][_0x54db86(0x365)](Te,this[_0x54db86(0x24d)],this[_0x54db86(0x36c)],_0x50b311[0x0],this[_0x54db86(0x222)]);else{if(_0x436478[_0x54db86(0x285)]!==0x0){const _0x3cdb55=this['_injector'][_0x54db86(0x365)](pe,this['unitID'],this[_0x54db86(0x36c)],_0x436478,this[_0x54db86(0x222)]);_0x3cdb55['_schedule'](),_0x1bdf6c=_0x3cdb55;}else _0x1bdf6c=this[_0x54db86(0x4c4)][_0x54db86(0x365)](Fe,this[_0x54db86(0x24d)],this[_0x54db86(0x36c)],this['_handler']);}}return _0x1bdf6c[_0x54db86(0x2c4)](),_0x1bdf6c;}catch(_0x104bac){return this[_0x54db86(0x230)]['error'](_0x54db86(0x52f),_0x54db86(0x537),_0x104bac),this[_0x54db86(0x4c4)][_0x54db86(0x365)](Re,this[_0x54db86(0x24d)],this[_0x54db86(0x36c)],this[_0x54db86(0x536)],this['_pendingMutations'],this[_0x54db86(0x222)],!0x1);}}[_0xe3a6b9(0x4b7)](){const _0x152d85=_0xe3a6b9;throw new Error(_0x152d85(0x2a3));}['appendMutation'](_0x4ce5f0){const _0x4f77e9=_0xe3a6b9;return this[_0x4f77e9(0x32c)][_0x4f77e9(0x3f6)](_0x4ce5f0),this;}[_0xe3a6b9(0x2c3)](_0x3afb95){const _0x363169=_0xe3a6b9;return this[_0x363169(0x4a5)][_0x363169(0x3f6)](_0x3afb95),this;}[_0xe3a6b9(0x539)](_0x56b0c9){const _0x182647=_0xe3a6b9;if(this[_0x182647(0x536)])return this[_0x182647(0x489)]=this[_0x182647(0x536)],this[_0x182647(0x536)]=null,this;throw new Error(_0x182647(0x34d));}['onRemoteRej'](_0x14be44){const _0x3805ef=_0xe3a6b9;return this['_onConflict'](!!(_0x14be44!=null&&_0x14be44[_0x3805ef(0x2c6)]));}['onRemoteRetry'](){return this;}[_0xe3a6b9(0x2e2)](){const _0x36af98=_0xe3a6b9;return this[_0x36af98(0x4c4)]['createInstance'](ye,this[_0x36af98(0x24d)],this[_0x36af98(0x36c)],this[_0x36af98(0x536)],this[_0x36af98(0x32c)],this['_handler']);}[_0xe3a6b9(0x364)](){return this;}[_0xe3a6b9(0x314)](_0x5d9113){const _0x5cb58d=_0xe3a6b9;return this['_injector'][_0x5cb58d(0x365)](Re,this[_0x5cb58d(0x24d)],this[_0x5cb58d(0x36c)],this['_awaitingChangeset'],this[_0x5cb58d(0x32c)],this['_handler'],_0x5d9113);}};he=Le([A(0x7,_0x432547(_0x521cd6)),A(0x8,_0x432547(_0x1493a3)),A(0x9,_0x432547(q)),A(0xa,_0xfb205),A(0xb,_0xc67fcf),A(0xc,_0x5786da),A(0xd,_0x24b4da)],he);function Ni(_0x38aca7,_0x2dd8ff,_0x1f663f,_0x172b03,_0x2234a5,_0x40d674){const _0x9c85ec=_0xe3a6b9;return _0x172b03&&_0x2234a5['length']?_0x38aca7[_0x9c85ec(0x365)](ge,_0x2dd8ff,_0x1f663f,_0x172b03,_0x2234a5,_0x40d674,void 0x0):_0x172b03?_0x38aca7[_0x9c85ec(0x365)](Te,_0x2dd8ff,_0x1f663f,_0x172b03,_0x40d674):_0x2234a5[_0x9c85ec(0x285)]?_0x38aca7['createInstance'](pe,_0x2dd8ff,_0x1f663f,_0x2234a5,_0x40d674):_0x38aca7[_0x9c85ec(0x365)](Fe,_0x2dd8ff,_0x1f663f,_0x40d674);}var vo=Object[_0xe3a6b9(0x2e1)],mo=Object[_0xe3a6b9(0x4b1)],Cs=(_0x5a9d1e,_0x450817,_0x4e9698,_0x2a45b0)=>{const _0x5b79f0=_0xe3a6b9;for(var _0x413080=_0x2a45b0>0x1?void 0x0:_0x2a45b0?mo(_0x450817,_0x4e9698):_0x450817,_0x5ad14a=_0x5a9d1e[_0x5b79f0(0x285)]-0x1,_0x4487a9;_0x5ad14a>=0x0;_0x5ad14a--)(_0x4487a9=_0x5a9d1e[_0x5ad14a])&&(_0x413080=(_0x2a45b0?_0x4487a9(_0x450817,_0x4e9698,_0x413080):_0x4487a9(_0x413080))||_0x413080);return _0x2a45b0&&_0x413080&&vo(_0x450817,_0x4e9698,_0x413080),_0x413080;},H=(_0x1b6cfc,_0x2a9062)=>(_0x3b6d1a,_0x5105cf)=>_0x2a9062(_0x3b6d1a,_0x5105cf,_0x1b6cfc);let gt=class extends _0x90c284{constructor(_0x5aa6de,_0x72595,_0x12c92b,_0x45cb41,_0x1bb615,_0x5bf3a2,_0xce2e41,_0x18393c,_0x3b5224,_0x29d440,_0x25ea1c,_0x4686c1,_0xb286a1){const _0x4829c0=_0xe3a6b9;super(),g(this,_0x4829c0(0x54f),new _0x23c074(null)),g(this,_0x4829c0(0x572),this['_state$']['asObservable']()),g(this,_0x4829c0(0x3bc)),g(this,_0x4829c0(0x49c),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x4829c0(0x252),this[_0x4829c0(0x572)][_0x4829c0(0x531)](_0x464b87(_0x2d57da=>_0x2d57da?_0x2d57da[_0x4829c0(0x511)]:J[_0x4829c0(0x22a)]),_0x186328(0x1))),g(this,_0x4829c0(0x39a),!0x1),g(this,_0x4829c0(0x1de),[]),(this['unitID']=_0x5aa6de,this['session']=_0x72595,this[_0x4829c0(0x578)]=_0x12c92b,this['_injector']=_0x45cb41,this['_localCacheService']=_0x1bb615,this[_0x4829c0(0x412)]=_0x5bf3a2,this[_0x4829c0(0x444)]=_0xce2e41,this[_0x4829c0(0x353)]=_0x18393c,this[_0x4829c0(0x230)]=_0x3b5224,this[_0x4829c0(0x1e6)]=_0x29d440,this[_0x4829c0(0x421)]=_0x25ea1c,this[_0x4829c0(0x3ac)]=_0x4686c1,this[_0x4829c0(0x298)]=_0xb286a1);}get['state'](){const _0x53b446=_0xe3a6b9;return this[_0x53b446(0x3bc)];}async[_0xe3a6b9(0x4c3)](){const _0x3439df=_0xe3a6b9;if(this['state'])throw new Error(_0x3439df(0x46a));await this[_0x3439df(0x430)]();}['pauseCollaboration'](){const _0x2fab60=_0xe3a6b9;return this[_0x2fab60(0x49c)]=!0x0,_0x3b9b0c(()=>{const _0xb7cacd=_0x2fab60;this[_0xb7cacd(0x49c)]=!0x1,this[_0xb7cacd(0x225)]();});}['_updateState'](_0x4af957){const _0x2e8226=_0xe3a6b9;this[_0x2e8226(0x3bc)]=_0x4af957,this[_0x2e8226(0x54f)][_0x2e8226(0x32a)](_0x4af957);}async[_0xe3a6b9(0x430)](){const _0x3e6476=_0xe3a6b9;var _0x22710a;this['_updateState'](await this[_0x3e6476(0x42f)]()),this[_0x3e6476(0x298)]&&((_0x22710a=this[_0x3e6476(0x298)])==null||_0x22710a[_0x3e6476(0x281)](this[_0x3e6476(0x24d)]),this[_0x3e6476(0x5d1)](this[_0x3e6476(0x298)]['getUnitStatus$'](this[_0x3e6476(0x24d)])['subscribe'](_0x152268=>{const _0x49155a=_0x3e6476;this['_logService'][_0x49155a(0x25c)](_0x49155a(0x1e2),_0x49155a(0x236),_0x152268),_0x152268===wi[_0x49155a(0x29d)]?(this['_messageService'][_0x49155a(0x47c)]({'content':this['_localeService']['t'](_0x49155a(0x2ab)),'type':_0xedbc0c['Warning']}),this[_0x49155a(0x3ac)][_0x49155a(0x487)](new _0x345c5d(this[_0x49155a(0x24d)])['id'],!0x1),this[_0x49155a(0x3ac)][_0x49155a(0x53d)](!0x1)):(this[_0x49155a(0x3ac)][_0x49155a(0x487)](new _0x345c5d(this['unitID'])['id'],!0x0),this[_0x49155a(0x3ac)][_0x49155a(0x53d)](!0x0));})));let _0x41b9b2=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$'][_0x3e6476(0x3d4)](_0x12eaa2=>{const _0x1d164e=_0x3e6476;_0x12eaa2===ve['ONLINE']?this[_0x1d164e(0x1f6)](_0x41b9b2):_0x12eaa2===ve['OFFLINE']&&(_0x41b9b2=!0x0,this[_0x1d164e(0x558)]());})),this[_0x3e6476(0x5d1)](this['session'][_0x3e6476(0x506)][_0x3e6476(0x3d4)](_0x97eea9=>{const _0x38b654=_0x3e6476;try{switch(_0x97eea9[_0x38b654(0x3f3)]){case _0xd65e90['NEW_CHANGESETS']:{this[_0x38b654(0x4a8)](_0x1c3eb2(_0x97eea9['data']));break;}case _0xd65e90[_0x38b654(0x235)]:{this['_onRemoteACK'](_0x97eea9[_0x38b654(0x2be)]);break;}case _0xd65e90[_0x38b654(0x3c1)]:{this[_0x38b654(0x3f0)]();break;}case _0xd65e90[_0x38b654(0x4ef)]:{this[_0x38b654(0x4de)](_0x97eea9['data']);break;}case _0xd65e90['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x38b654(0x241)](_0x97eea9[_0x38b654(0x2be)][_0x38b654(0x4b0)]['map'](_0x24abff=>_0x1c3eb2(_0x24abff)));break;}case _0xd65e90[_0x38b654(0x3d0)]:this[_0x38b654(0x3f0)]({'isPermissionRej':!0x0});}}catch(_0x5131ea){throw console[_0x38b654(0x46c)](_0x38b654(0x56b),_0x5131ea),_0x5131ea;}})),this[_0x3e6476(0x3bc)];}['_unlockTransition'](){const _0x3a570b=_0xe3a6b9;this[_0x3a570b(0x39a)]=!0x1;}[_0xe3a6b9(0x5cf)](){const _0x220091=_0xe3a6b9;if(this[_0x220091(0x39a)])throw new Error(_0x220091(0x47f));this[_0x220091(0x39a)]=!0x0;}[_0xe3a6b9(0x40b)](_0x3eae54){const _0xa14f8a=_0xe3a6b9;this[_0xa14f8a(0x5cf)](),this[_0xa14f8a(0x303)](this['_state'][_0xa14f8a(0x51c)](_0x3eae54)),this['_unlockTransition']();}[_0xe3a6b9(0x4a8)](_0x202551){const _0x3320e8=_0xe3a6b9;if(!(_0x202551[_0x3320e8(0x39f)]<=this[_0x3320e8(0x353)][_0x3320e8(0x2b8)](this[_0x3320e8(0x24d)]))){if(this['_collaborationPaused']){this[_0x3320e8(0x1de)][_0x3320e8(0x3f6)](_0x202551);return;}this[_0x3320e8(0x2f6)](_0x202551);}}[_0xe3a6b9(0x225)](){const _0x112630=_0xe3a6b9;this[_0x112630(0x1de)][_0x112630(0x3b9)](_0x7fffe5=>this['_applyRemoteChangeset'](_0x7fffe5)),this[_0x112630(0x1de)]=[];}['_applyRemoteChangeset'](_0x2dd246){const _0x547e24=_0xe3a6b9,_0x60d524=this[_0x547e24(0x412)][_0x547e24(0x544)][_0x547e24(0x21e)](this[_0x547e24(0x412)][_0x547e24(0x544)][_0x547e24(0x338)]()[_0x547e24(0x457)])(_0x2dd246[_0x547e24(0x2fd)],null)||_0x2dd246[_0x547e24(0x2fd)],_0x4301f7={..._0x2dd246,'mutations':_0x60d524};this[_0x547e24(0x5cf)](),this['_updateState'](this['_state'][_0x547e24(0x2c3)](_0x4301f7)),this[_0x547e24(0x4d3)]();}[_0xe3a6b9(0x265)](_0xdce67f){const _0x5ceb89=_0xe3a6b9;this[_0x5ceb89(0x5cf)](),this[_0x5ceb89(0x303)](this[_0x5ceb89(0x3bc)][_0x5ceb89(0x539)](_0xdce67f)),this[_0x5ceb89(0x4d3)]();}[_0xe3a6b9(0x3f0)](_0x3f6773){const _0x4ce124=_0xe3a6b9;this[_0x4ce124(0x5cf)](),this[_0x4ce124(0x303)](this[_0x4ce124(0x3bc)][_0x4ce124(0x58d)](_0x3f6773)),this['_unlockTransition']();}[_0xe3a6b9(0x4de)](_0x274ccd){const _0x4a0bfa=_0xe3a6b9;this[_0x4a0bfa(0x5cf)](),this[_0x4a0bfa(0x303)](this['_state'][_0x4a0bfa(0x21b)](_0x274ccd)),this[_0x4a0bfa(0x4d3)]();}[_0xe3a6b9(0x241)](_0xa9e0d4){const _0x52427d=_0xe3a6b9;if(!(this[_0x52427d(0x3bc)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1c7d76=_0xa9e0d4[_0x52427d(0x546)](_0xc998b5=>{const _0x5344ad=_0x52427d,_0xdde675=this[_0x5344ad(0x412)][_0x5344ad(0x544)][_0x5344ad(0x21e)](this[_0x5344ad(0x412)][_0x5344ad(0x544)][_0x5344ad(0x338)]()['COMPRESS_MUTATION_APPLY'])(_0xc998b5[_0x5344ad(0x2fd)],null)||_0xc998b5[_0x5344ad(0x2fd)];return{..._0xc998b5,'mutations':_0xdde675};});this[_0x52427d(0x5cf)](),this[_0x52427d(0x303)](this[_0x52427d(0x3bc)][_0x52427d(0x37c)](_0x1c7d76)),this[_0x52427d(0x4d3)]();}[_0xe3a6b9(0x558)](){const _0x58d1d6=_0xe3a6b9;this['_lockTransition'](),this[_0x58d1d6(0x303)](this[_0x58d1d6(0x3bc)][_0x58d1d6(0x2e2)]()),this[_0x58d1d6(0x4d3)]();}['_toggleOnline'](_0x2d068f=!0x1){const _0x37424f=_0xe3a6b9;this['_lockTransition'](),this[_0x37424f(0x303)](this['_state'][_0x37424f(0x364)]()),this[_0x37424f(0x4d3)]();const _0x28d7af=this[_0x37424f(0x3bc)];_0x2d068f&&_0x28d7af instanceof Fe&&(this[_0x37424f(0x5cf)](),this[_0x37424f(0x303)](_0x28d7af[_0x37424f(0x42d)]()),this[_0x37424f(0x4d3)]());}async[_0xe3a6b9(0x42f)](){return new Promise(_0xdcdcad=>{const _0x319314=_0x272d;this[_0x319314(0x2fe)][_0x319314(0x5d6)]['pipe'](_0x335dc9(0x1))[_0x319314(0x3d4)](async _0x51da62=>{const _0x136979=_0x319314;_0xdcdcad(await this[_0x136979(0x580)](_0x51da62===ve['ONLINE']));});});}[_0xe3a6b9(0x25d)](){const _0x1ec6e2=_0xe3a6b9,_0xcc268f=this[_0x1ec6e2(0x24d)];return{'onStateChange':(_0x42a0c4,_0x1e2087)=>{const _0x15e6c7=_0x1ec6e2;if(_0x42a0c4!==this['_state'])throw new Error(_0x15e6c7(0x1e7)+_0x42a0c4[_0x15e6c7(0x511)]+_0x15e6c7(0x48c)+_0x1e2087[_0x15e6c7(0x511)]+_0x15e6c7(0x592)+this[_0x15e6c7(0x3bc)][_0x15e6c7(0x511)]);this[_0x15e6c7(0x303)](_0x1e2087);},'onSendChangeset':_0x3ac2d1=>{const _0x16c49d=_0x1ec6e2;_0x3ac2d1[_0x16c49d(0x305)]||(_0x3ac2d1[_0x16c49d(0x305)]=this[_0x16c49d(0x47b)],_0x3ac2d1[_0x16c49d(0x237)]=++this['_changesetReqId']);const _0x303b50={'eventID':_0xd65e90[_0x16c49d(0x5c6)],'data':{'unitID':_0x3ac2d1['unitID'],'unitType':this[_0x16c49d(0x578)],'changeset':_0x3ac2d1,'memberID':this[_0x16c49d(0x2fe)]['getMemberID']()}};this[_0x16c49d(0x2fe)][_0x16c49d(0x48f)](_0x303b50,this[_0x16c49d(0x24d)]);},'onMissingChangesets':({from:_0x2747f8,to:_0x568392})=>{const _0x2c0e0d=_0x1ec6e2;this['_logService'][_0x2c0e0d(0x25c)](_0x2c0e0d(0x1e2),_0x2c0e0d(0x2ca)+_0x2747f8+_0x2c0e0d(0x4d7)+_0x568392);const _0x273f0d={'eventID':_0xd65e90['FETCH_MISSING'],'data':{'unitID':_0xcc268f,'unitType':this[_0x2c0e0d(0x578)],'from':_0x2747f8,'to':_0x568392}};this[_0x2c0e0d(0x2fe)][_0x2c0e0d(0x48f)](_0x273f0d,this['unitID']);}};}async[_0xe3a6b9(0x580)](_0x49a6f9){const _0x24a12d=_0xe3a6b9;var _0x7ec163,_0x9885e;const _0x17f414=await this[_0x24a12d(0x559)][_0x24a12d(0x458)](this[_0x24a12d(0x24d)]),_0x382b43=(_0x7ec163=_0x17f414==null?void 0x0:_0x17f414['mutations'])!=null?_0x7ec163:[],_0x36abfc=(_0x9885e=_0x17f414==null?void 0x0:_0x17f414[_0x24a12d(0x381)])!=null?_0x9885e:null,_0x42b8db=!!(_0x36abfc!=null&&_0x36abfc['sid'])&&!!(_0x36abfc!=null&&_0x36abfc[_0x24a12d(0x237)]);this[_0x24a12d(0x47b)]=_0x42b8db?_0x36abfc[_0x24a12d(0x305)]:Vr(),this[_0x24a12d(0x552)]=_0x42b8db?_0x36abfc[_0x24a12d(0x237)]:0x0;const _0x27b480=this[_0x24a12d(0x24d)];try{this[_0x24a12d(0x5c9)](_0x36abfc,_0x382b43);}catch(_0x389978){this[_0x24a12d(0x230)][_0x24a12d(0x46c)](_0x389978);}const _0x4630e2=this['_createHandler']();if(_0x49a6f9){const _0x58feda=Ni(this[_0x24a12d(0x4c4)],_0x27b480,this[_0x24a12d(0x578)],_0x36abfc,_0x382b43,_0x4630e2);return _0x58feda instanceof pe?_0x58feda[_0x24a12d(0x3a1)]():(_0x58feda instanceof ge||_0x58feda instanceof Te)&&_0x58feda['resend'](),_0x58feda;}return this[_0x24a12d(0x4c4)][_0x24a12d(0x365)](ye,_0x27b480,this[_0x24a12d(0x578)],_0x36abfc,_0x382b43,_0x4630e2);}['_replayCachedMutations'](_0x3cffc5,_0x5415a7){const _0x56fe60=_0xe3a6b9;var _0x518a73,_0x2612e0;const _0x1f7494=this[_0x56fe60(0x412)][_0x56fe60(0x544)][_0x56fe60(0x21e)](this[_0x56fe60(0x412)][_0x56fe60(0x544)][_0x56fe60(0x338)]()['COMPRESS_MUTATION_APPLY']);(_0x518a73=_0x1f7494((_0x3cffc5==null?void 0x0:_0x3cffc5['mutations'])||[],null))==null||_0x518a73['forEach'](_0xfa94e3=>this[_0x56fe60(0x1e6)]['executeCommand'](_0xfa94e3['id'],_0xfa94e3[_0x56fe60(0x2de)])),(_0x2612e0=_0x1f7494(_0x5415a7||[],null))==null||_0x2612e0[_0x56fe60(0x3b9)](_0x46be4b=>this[_0x56fe60(0x1e6)][_0x56fe60(0x55e)](_0x46be4b['id'],_0x46be4b[_0x56fe60(0x2de)]));}};gt=Cs([H(0x3,_0x432547(_0x521cd6)),H(0x4,_0x432547(q)),H(0x5,_0x432547(_0x202f36)),H(0x6,_0x432547(_0x363878)),H(0x7,_0x432547(_0x1493a3)),H(0x8,_0xfb205),H(0x9,_0xc67fcf),H(0xa,_0xc25f4d),H(0xb,_0x4e112d),H(0xc,_0x175412(Rt))],gt);let ts=class extends gt{constructor(_0xc2f4d3,_0x150e11,_0x10bfed,_0x23b54f,_0x30081a,_0x1d52f8,_0x50a139,_0x3364de,_0x155fde,_0x217452,_0x34f3e8,_0x3ed52c,_0x5a20d3,_0x4fb31d,_0x487431,_0x57a8d8,_0x14bb67,_0x32513c){const _0x34e745=_0xe3a6b9;super(_0xc2f4d3,_0x10bfed,_0x150e11,_0x23b54f,_0x30081a,_0x1d52f8,_0x50a139,_0x3364de,_0x4fb31d,_0x487431,_0x57a8d8,_0x14bb67,_0x32513c),this[_0x34e745(0x24d)]=_0xc2f4d3,this[_0x34e745(0x36c)]=_0x150e11,this['_docStateChangeManagerService']=_0x155fde,this[_0x34e745(0x56a)]=_0x217452,this[_0x34e745(0x254)]=_0x34f3e8,this[_0x34e745(0x283)]=_0x3ed52c,this[_0x34e745(0x3dd)]=_0x5a20d3;}['_createHandler'](){const _0x2e6e34=_0xe3a6b9,_0x5ecfb0=super[_0x2e6e34(0x25d)]();return _0x5ecfb0['onTransformIME']=_0xd9ea99=>this[_0x2e6e34(0x56a)][_0x2e6e34(0x3d1)](_0xd9ea99),_0x5ecfb0[_0x2e6e34(0x37d)]=_0x4e7f3c=>this[_0x2e6e34(0x254)][_0x2e6e34(0x5c3)](_0x4e7f3c),_0x5ecfb0[_0x2e6e34(0x4c1)]=_0x4fc6bf=>this[_0x2e6e34(0x283)][_0x2e6e34(0x335)](_0x4fc6bf),_0x5ecfb0[_0x2e6e34(0x1f7)]=_0x43fa0c=>this['_docSyncEditingCollabCursorService'][_0x2e6e34(0x3be)](_0x43fa0c),_0x5ecfb0[_0x2e6e34(0x599)]=_0x573e71=>this[_0x2e6e34(0x56a)]['transformRemoteChangeset'](_0x573e71),_0x5ecfb0[_0x2e6e34(0x1e0)]=_0x914b7=>this[_0x2e6e34(0x254)][_0x2e6e34(0x3fa)](_0x914b7),_0x5ecfb0;}async[_0xe3a6b9(0x430)](){const _0x13b047=_0xe3a6b9,_0x4b1efa=await super[_0x13b047(0x430)]();return this[_0x13b047(0x4b9)]['docStateChange$'][_0x13b047(0x531)](_0x4c7076(this[_0x13b047(0x31a)]))['subscribe'](_0x4cb94f=>{const _0x496f08=_0x13b047;if(_0x4cb94f==null)return;const {unitId:_0x517931,redoState:_0x185a76,commandId:_0x3e0200}=_0x4cb94f;if(_0x517931!==this[_0x496f08(0x24d)])return;const _0x5e89ba={'id':_0x3e0200,'type':_0x414065[_0x496f08(0x47e)],'params':{'unitId':_0x517931,'actions':_0x185a76[_0x496f08(0x280)],'textRanges':null}};this[_0x496f08(0x40b)](_0x5e89ba);}),_0x4b1efa;}};ts=Cs([H(0x3,_0x432547(_0x521cd6)),H(0x4,_0x432547(q)),H(0x5,_0x432547(_0x202f36)),H(0x6,_0x432547(_0x363878)),H(0x7,_0x432547(_0x1493a3)),H(0x8,_0x432547(_0x148acc)),H(0x9,_0x432547(ft)),H(0xa,_0x432547(mt)),H(0xb,_0x432547(pt)),H(0xc,_0x432547(Is)),H(0xd,_0xfb205),H(0xe,_0xc67fcf),H(0xf,_0xc25f4d),H(0x10,_0x4e112d),H(0x11,_0x175412(Rt))],ts);let ss=class extends gt{constructor(_0x1ca001,_0x2ef8d6,_0x1ea7da,_0x15a143,_0x56ce62,_0x588fc7,_0x2c559e,_0x371b6e,_0x436fcd,_0x525751,_0x21554c,_0xd66489,_0x2f8c37,_0x510fad){const _0x11d3e4=_0xe3a6b9;super(_0x1ca001,_0x1ea7da,_0x2ef8d6,_0x15a143,_0x56ce62,_0x588fc7,_0x2c559e,_0x371b6e,_0x525751,_0x21554c,_0xd66489,_0x2f8c37,_0x510fad),this['unitID']=_0x1ca001,this['type']=_0x2ef8d6,this[_0x11d3e4(0x215)]=_0x436fcd;}[_0xe3a6b9(0x25d)](){const _0x1c8fb4=_0xe3a6b9,_0x300fda=super[_0x1c8fb4(0x25d)]();return _0x300fda[_0x1c8fb4(0x4c1)]=_0x53343c=>this[_0x1c8fb4(0x215)]['transformSelections'](_0x53343c),_0x300fda;}async[_0xe3a6b9(0x430)](){const _0x259faa=_0xe3a6b9,_0x194c28=await super[_0x259faa(0x430)]();return this[_0x259faa(0x5d1)](this[_0x259faa(0x1e6)][_0x259faa(0x384)]((_0x47e72e,_0x3a1950)=>{const _0x3f7464=_0x259faa;if(_0x47e72e[_0x3f7464(0x36c)]!==_0x414065[_0x3f7464(0x47e)]||_0x3a1950!=null&&_0x3a1950['fromCollab']||_0x3a1950!=null&&_0x3a1950[_0x3f7464(0x3df)])return;const _0x5b15ef=_0x47e72e['params'];if((_0x5b15ef==null?void 0x0:_0x5b15ef['unitId'])!==this[_0x3f7464(0x24d)])return;const _0x3f485c=_0x47e72e,_0x445c9a=this[_0x3f7464(0x412)]['interceptor']['fetchThroughInterceptors'](this[_0x3f7464(0x412)][_0x3f7464(0x544)][_0x3f7464(0x338)]()[_0x3f7464(0x557)])([_0x3f485c],null)||[_0x3f485c];this[_0x3f7464(0x40b)](_0x445c9a[0x0]);})),_0x194c28;}};ss=Cs([H(0x3,_0x432547(_0x521cd6)),H(0x4,_0x432547(q)),H(0x5,_0x432547(_0x202f36)),H(0x6,_0x432547(_0x363878)),H(0x7,_0x432547(_0x1493a3)),H(0x8,_0x432547(vt)),H(0x9,_0xfb205),H(0xa,_0xc67fcf),H(0xb,_0xc25f4d),H(0xc,_0x4e112d),H(0xd,_0x175412(Rt))],ss);var po=Object[_0xe3a6b9(0x2e1)],go=Object[_0xe3a6b9(0x4b1)],So=(_0x37f773,_0x54060a,_0x53c779,_0x1f0b9d)=>{const _0x5e0daf=_0xe3a6b9;for(var _0x57c250=_0x1f0b9d>0x1?void 0x0:_0x1f0b9d?go(_0x54060a,_0x53c779):_0x54060a,_0x652405=_0x37f773[_0x5e0daf(0x285)]-0x1,_0x1b4925;_0x652405>=0x0;_0x652405--)(_0x1b4925=_0x37f773[_0x652405])&&(_0x57c250=(_0x1f0b9d?_0x1b4925(_0x54060a,_0x53c779,_0x57c250):_0x1b4925(_0x57c250))||_0x57c250);return _0x1f0b9d&&_0x57c250&&po(_0x54060a,_0x53c779,_0x57c250),_0x57c250;},xt=(_0x50ba32,_0x115040)=>(_0x53ff84,_0x2eed56)=>_0x115040(_0x53ff84,_0x2eed56,_0x50ba32);let it=class extends _0x90c284{constructor(_0x80996e,_0x2dfa2c,_0x582244){const _0xe17e7a=_0xe3a6b9;super(),g(this,_0xe17e7a(0x470),new Map()),g(this,_0xe17e7a(0x312),new _0xbd68e4()),(this[_0xe17e7a(0x4c4)]=_0x80996e,this[_0xe17e7a(0x289)]=_0x2dfa2c,this['_univerInstanceService']=_0x582244,this[_0xe17e7a(0x430)]());}[_0xe3a6b9(0x3b4)](){const _0x3a0e1d=_0xe3a6b9;super[_0x3a0e1d(0x3b4)](),this[_0x3a0e1d(0x470)]['forEach'](_0x54e372=>_0x54e372['dispose']()),this[_0x3a0e1d(0x470)][_0x3a0e1d(0x2db)]();}[_0xe3a6b9(0x527)](_0x3a4438){var _0x1a5f71;return(_0x1a5f71=this['_entities']['get'](_0x3a4438))!=null?_0x1a5f71:null;}[_0xe3a6b9(0x424)](_0x535d55){const _0x30abb4=_0xe3a6b9,_0x1978e1=this[_0x30abb4(0x527)](_0x535d55);return _0x1978e1?_0x19d5e8(_0x1978e1):this[_0x30abb4(0x312)][_0x30abb4(0x531)](_0x1e3ef3(_0x49ce7e=>_0x49ce7e[_0x30abb4(0x24d)]===_0x535d55));}['_init'](){const _0x4acdfd=_0xe3a6b9;this[_0x4acdfd(0x342)][_0x4acdfd(0x515)](_0x3c5a8f[_0x4acdfd(0x4fb)])[_0x4acdfd(0x531)](_0x4c7076(this[_0x4acdfd(0x31a)]),_0x3b37a3(0x10))['subscribe'](async _0x3a16e9=>{const _0x23608e=_0x4acdfd,_0x52ef6b=_0x3a16e9[_0x23608e(0x1ea)](),_0x373707=await this[_0x23608e(0x4bf)](_0x52ef6b,ce['UNIVER_SHEET']);this['_entities'][_0x23608e(0x454)](_0x52ef6b,_0x373707);}),this[_0x4acdfd(0x342)][_0x4acdfd(0x515)](_0x3c5a8f[_0x4acdfd(0x39b)])[_0x4acdfd(0x531)](_0x4c7076(this[_0x4acdfd(0x31a)]),_0x3b37a3(0x10))[_0x4acdfd(0x531)](_0x1e3ef3(_0x5da2a6=>!_0x5da2a6[_0x4acdfd(0x1ea)]()[_0x4acdfd(0x542)]('__')))[_0x4acdfd(0x3d4)](async _0x39aa30=>{const _0x143c16=_0x4acdfd,_0x57a93d=_0x39aa30[_0x143c16(0x1ea)](),_0x572afa=await this[_0x143c16(0x4bf)](_0x57a93d,ce[_0x143c16(0x39b)]);this[_0x143c16(0x470)][_0x143c16(0x454)](_0x57a93d,_0x572afa);}),_0x476f09(this[_0x4acdfd(0x342)][_0x4acdfd(0x3b5)](_0x3c5a8f[_0x4acdfd(0x4fb)]),this['_univerInstanceService'][_0x4acdfd(0x3b5)](_0x3c5a8f[_0x4acdfd(0x39b)]))[_0x4acdfd(0x531)](_0x4c7076(this[_0x4acdfd(0x31a)]))[_0x4acdfd(0x3d4)](_0x1b04f6=>{const _0x3ddcb9=_0x4acdfd,_0x197e4c=_0x1b04f6[_0x3ddcb9(0x1ea)](),_0xde80b9=this[_0x3ddcb9(0x470)][_0x3ddcb9(0x519)](_0x197e4c);_0xde80b9&&(_0xde80b9['dispose'](),this['_entities'][_0x3ddcb9(0x276)](_0x197e4c));});}async[_0xe3a6b9(0x4bf)](_0xeded43,_0x228ed6){const _0x3ab7bf=_0xe3a6b9,_0x17e3cc=await this[_0x3ab7bf(0x289)]['requireSession'](_0xeded43),_0x4f0c09=this[_0x3ab7bf(0x4c4)][_0x3ab7bf(0x365)](this[_0x3ab7bf(0x501)](_0x228ed6),_0xeded43,_0x228ed6,_0x17e3cc);return await _0x4f0c09['init'](),this[_0x3ab7bf(0x312)][_0x3ab7bf(0x32a)](_0x4f0c09),_0x4f0c09;}[_0xe3a6b9(0x501)](_0x31abe4){const _0xad072a=_0xe3a6b9;switch(_0x31abe4){case ce[_0xad072a(0x39b)]:return ts;case ce[_0xad072a(0x4fb)]:return ss;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x31abe4);}}};it=So([xt(0x0,_0x432547(_0x521cd6)),xt(0x1,_0x432547(Ae)),xt(0x2,_0x17aa8b)],it);const Vs=[_0xe3a6b9(0x2ce),'jiqing500','verdancy600','red300',_0xe3a6b9(0x3eb),_0xe3a6b9(0x512)];class Es extends _0x4f0ec0{constructor(){const _0x3f703f=_0xe3a6b9;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x3f703f(0x2ae),0x0);}[_0xe3a6b9(0x36b)](_0x134e41){const _0x5cf6e3=_0xe3a6b9;if(this[_0x5cf6e3(0x50e)][_0x5cf6e3(0x287)](_0x134e41))return this[_0x5cf6e3(0x50e)][_0x5cf6e3(0x519)](_0x134e41);const _0x3e4409=Vs[this[_0x5cf6e3(0x2ae)]];return this['_colorIndex']=(this[_0x5cf6e3(0x2ae)]+0x1)%Vs['length'],this[_0x5cf6e3(0x50e)][_0x5cf6e3(0x454)](_0x134e41,_0x3e4409),_0x3e4409;}}var Io=Object[_0xe3a6b9(0x2e1)],Co=Object[_0xe3a6b9(0x4b1)],Eo=(_0x21abaa,_0x467354,_0xa74405,_0x576316)=>{const _0x5c04f6=_0xe3a6b9;for(var _0x2068ba=_0x576316>0x1?void 0x0:_0x576316?Co(_0x467354,_0xa74405):_0x467354,_0x2eab36=_0x21abaa[_0x5c04f6(0x285)]-0x1,_0x48770f;_0x2eab36>=0x0;_0x2eab36--)(_0x48770f=_0x21abaa[_0x2eab36])&&(_0x2068ba=(_0x576316?_0x48770f(_0x467354,_0xa74405,_0x2068ba):_0x48770f(_0x2068ba))||_0x2068ba);return _0x576316&&_0x2068ba&&Io(_0x467354,_0xa74405,_0x2068ba),_0x2068ba;},Oe=(_0x4fda0b,_0x205fc3)=>(_0x38aae1,_0x324c7f)=>_0x205fc3(_0x38aae1,_0x324c7f,_0x4fda0b);const bo=0x12c,To=0x64;let is=class extends _0x90c284{constructor(_0x1b78af,_0x4a2a64,_0x1bad83,_0x1abc2c,_0x25deed,_0x5a4653,_0x4c0c2c,_0x5915ef,_0x3c6e80){const _0x17a86b=_0xe3a6b9;super(),g(this,_0x17a86b(0x4ea),!0x1),g(this,_0x17a86b(0x430),!0x1),g(this,_0x17a86b(0x278),new _0x23c074(new Map())),g(this,'cursorInfo$',this[_0x17a86b(0x278)][_0x17a86b(0x28e)]()),g(this,_0x17a86b(0x5a5),new _0x23c074([])),g(this,_0x17a86b(0x593),this['_roomMembers$']['pipe'](_0x3aba06(bo))),g(this,_0x17a86b(0x1f8),_0x27e862(_0x2f02e0=>{const _0x533020=_0x17a86b,_0x354ceb={'eventID':_0xd65e90[_0x533020(0x5af)],'data':{'unitID':this[_0x533020(0x24d)],'memberID':this[_0x533020(0x2f7)]['getMemberID'](),'selection':Di(_0x2f02e0)}};this[_0x533020(0x2f7)][_0x533020(0x48f)](_0x354ceb,this[_0x533020(0x24d)]);},To)),(this['unitID']=_0x1b78af,this['_session']=_0x4a2a64,this[_0x17a86b(0x4c4)]=_0x1bad83,this[_0x17a86b(0x497)]=_0x1abc2c,this['_memberService']=_0x25deed,this['_syncEditingCollabCursorService']=_0x5a4653,this[_0x17a86b(0x5db)]=_0x4c0c2c,this[_0x17a86b(0x342)]=_0x5915ef,this['_commandService']=_0x3c6e80);}get['cursorInfo'](){const _0x1c5a12=_0xe3a6b9;return this[_0x1c5a12(0x278)][_0x1c5a12(0x5de)]();}get[_0xe3a6b9(0x4e7)](){const _0x3126dc=_0xe3a6b9;return this[_0x3126dc(0x5a5)][_0x3126dc(0x5de)]();}['dispose'](){const _0x2dfe29=_0xe3a6b9;super[_0x2dfe29(0x3b4)](),this[_0x2dfe29(0x278)][_0x2dfe29(0x32a)](new Map()),this[_0x2dfe29(0x278)][_0x2dfe29(0x2ef)](),this[_0x2dfe29(0x5a5)][_0x2dfe29(0x32a)]([]),this['_roomMembers$'][_0x2dfe29(0x2ef)]();}[_0xe3a6b9(0x4c3)](){const _0x2e63c6=_0xe3a6b9;this['_init']||(this[_0x2e63c6(0x430)]=!0x0,this[_0x2e63c6(0x2f7)][_0x2e63c6(0x5d6)][_0x2e63c6(0x531)](_0x4c7076(this[_0x2e63c6(0x31a)]))[_0x2e63c6(0x3d4)](_0x3be3ed=>{const _0x2c84d3=_0x2e63c6;_0x3be3ed===ve['ONLINE']?this[_0x2c84d3(0x1f6)]():this[_0x2c84d3(0x558)]();}),this['_session']['event$'][_0x2e63c6(0x531)](_0x4c7076(this[_0x2e63c6(0x31a)]))[_0x2e63c6(0x3d4)](_0x2c83d8=>{const _0x537fb9=_0x2e63c6,_0x45c9cc=_0x2c83d8['eventID'];_0x45c9cc===_0xd65e90['UPDATE_CURSOR']&&this[_0x537fb9(0x5d4)](_0x2c83d8),_0x45c9cc===_0xd65e90['USERS_LEAVE']&&this[_0x537fb9(0x574)](_0x2c83d8);}),this[_0x2e63c6(0x5d1)](this[_0x2e63c6(0x1e6)]['onCommandExecuted'](_0x212866=>{const _0x151946=_0x2e63c6,_0x4f366b=_0x212866[_0x151946(0x2de)];_0x4f366b!=null&&this[_0x151946(0x4ea)]&&_0x212866['id']===_0xcb3313['id']&&_0x4f366b[_0x151946(0x2d5)]===this['unitID']&&_0x4f366b[_0x151946(0x1eb)]===!0x1&&_0x4f366b[_0x151946(0x55f)][_0x151946(0x285)]>0x0&&this[_0x151946(0x1f8)](_0x4f366b[_0x151946(0x55f)]);})),this['_syncEditingCollabCursorService'][_0x2e63c6(0x202)][_0x2e63c6(0x531)](_0x4c7076(this[_0x2e63c6(0x31a)]))[_0x2e63c6(0x3d4)](_0x8147be=>{const _0x2254f8=_0x2e63c6;if((_0x8147be==null?void 0x0:_0x8147be[_0x2254f8(0x24d)])!==this['unitID'])return;const _0x196363={'eventID':_0xd65e90['UPDATE_CURSOR'],'data':_0x8147be};this['_onCursorUpdate'](_0x196363);}),this['disposeWithMe'](this[_0x2e63c6(0x1e6)][_0x2e63c6(0x384)](_0xebccc4=>{const _0x5cad4b=_0x2e63c6;if(_0xebccc4[_0x5cad4b(0x2de)]==null)return;const _0x37b01e=_0xebccc4['params'];if(_0xebccc4['id']!==_0xe5a7a5['id']||_0x37b01e[_0x5cad4b(0x2d5)]!==this['unitID'])return;const _0x3a3302={'id':_0x5cad4b(0x523),'params':_0x37b01e},_0x479297=this['cursorInfo'];for(const [_0x475094,_0x43214d]of _0x479297){const _0x26d52d={'id':_0x5cad4b(0x523),'params':{'unitId':this[_0x5cad4b(0x24d)],'actions':null,'textRanges':_0x43214d['ranges']}},_0x266505=this[_0x5cad4b(0x5db)][_0x5cad4b(0x396)](_0x3a3302,_0x26d52d,!0x1);if(_0x54625d(_0x266505))throw _0x266505[_0x5cad4b(0x46c)];_0x479297[_0x5cad4b(0x454)](_0x475094,{..._0x43214d,'ranges':_0x266505[_0x5cad4b(0x339)][_0x5cad4b(0x2de)][_0x5cad4b(0x4fe)]});}queueMicrotask(()=>{const _0xb1317b=_0x5cad4b;this['_cursorInfo$'][_0xb1317b(0x32a)](_0x479297);});})));}[_0xe3a6b9(0x5d4)](_0x27e956){const _0x475d1f=_0xe3a6b9;var _0x14a1b0,_0x21c479;const {memberID:_0x41c54f,selection:_0x19fcc7}=_0x27e956[_0x475d1f(0x2be)],_0x3a2810=ro(_0x19fcc7),_0x1f8790=(_0x21c479=(_0x14a1b0=this['_memberService'][_0x475d1f(0x332)](this['unitID'],_0x41c54f))==null?void 0x0:_0x14a1b0['name'])!=null?_0x21c479:_0x475d1f(0x5b9),_0x55695a={'color':this[_0x475d1f(0x497)][_0x475d1f(0x36b)](_0x41c54f),'name':_0x1f8790,'ranges':_0x3a2810},_0x14feb7=this[_0x475d1f(0x383)];_0x14feb7[_0x475d1f(0x454)](_0x41c54f,_0x55695a),this['_cursorInfo$'][_0x475d1f(0x32a)](_0x14feb7);}[_0xe3a6b9(0x574)](_0x6aabf6){const _0x5dd206=_0xe3a6b9,{memberID:_0x2531e1}=_0x6aabf6[_0x5dd206(0x2be)],_0x3b6316=this[_0x5dd206(0x383)];_0x3b6316[_0x5dd206(0x276)](_0x2531e1),this['_cursorInfo$']['next'](_0x3b6316);}[_0xe3a6b9(0x1f6)](){const _0x328881=_0xe3a6b9;var _0x420e7d;if(this[_0x328881(0x4ea)]=!0x0,((_0x420e7d=this[_0x328881(0x342)][_0x328881(0x482)]())==null?void 0x0:_0x420e7d['getUnitId']())!==this[_0x328881(0x24d)])return;const _0x4a7524=this['_injector']['get'](_0x5b3cb8)[_0x328881(0x29a)]();Array['isArray'](_0x4a7524)&&_0x4a7524['length']>0x0&&this['_updateLocalCursor'](_0x4a7524);}[_0xe3a6b9(0x558)](){const _0x3b17b7=_0xe3a6b9;this[_0x3b17b7(0x4ea)]=!0x1;}};is=Eo([Oe(0x2,_0x432547(_0x521cd6)),Oe(0x3,_0x432547(Es)),Oe(0x4,_0x432547(Ne)),Oe(0x5,_0x432547(Is)),Oe(0x6,_0x24b4da),Oe(0x7,_0x17aa8b),Oe(0x8,_0xc67fcf)],is);var Ro=Object[_0xe3a6b9(0x2e1)],yo=Object[_0xe3a6b9(0x4b1)],Oo=(_0x1c268b,_0x4a6e9e,_0x2429db,_0x3ed919)=>{const _0x5c9ea4=_0xe3a6b9;for(var _0x2281d3=_0x3ed919>0x1?void 0x0:_0x3ed919?yo(_0x4a6e9e,_0x2429db):_0x4a6e9e,_0x21ebdf=_0x1c268b[_0x5c9ea4(0x285)]-0x1,_0x1efbeb;_0x21ebdf>=0x0;_0x21ebdf--)(_0x1efbeb=_0x1c268b[_0x21ebdf])&&(_0x2281d3=(_0x3ed919?_0x1efbeb(_0x4a6e9e,_0x2429db,_0x2281d3):_0x1efbeb(_0x2281d3))||_0x2281d3);return _0x3ed919&&_0x2281d3&&Ro(_0x4a6e9e,_0x2429db,_0x2281d3),_0x2281d3;},Be=(_0x1e1363,_0x52a306)=>(_0x449aac,_0x5ee1ea)=>_0x52a306(_0x449aac,_0x5ee1ea,_0x1e1363);const wo=0x12c,Do=0x64,Po=()=>{let _0x859c09=[],_0xb9c103=!0x1;return _0x4903d5=>{const _0x2f780e=_0x272d;_0x859c09[_0x2f780e(0x3f6)](_0x4903d5),_0xb9c103||(_0xb9c103=!0x0,setTimeout(()=>{const _0x5a65eb=_0x2f780e;_0x859c09[_0x5a65eb(0x3b9)](_0x38a683=>_0x38a683()),_0x859c09=[],_0xb9c103=!0x1;}));};};let ns=class extends _0x90c284{constructor(_0x457840,_0x5ea4c4,_0x109dbb,_0x46fecd,_0xc61ef8,_0x1e94be,_0x214f59,_0xda2c4f){const _0x36d2ba=_0xe3a6b9;super(),g(this,_0x36d2ba(0x4ea),!0x1),g(this,'_init',!0x1),g(this,_0x36d2ba(0x278),new _0x23c074(new Map())),g(this,_0x36d2ba(0x234),this['_cursorInfo$']['asObservable']()),g(this,_0x36d2ba(0x5a5),new _0x23c074([])),g(this,_0x36d2ba(0x593),this[_0x36d2ba(0x5a5)][_0x36d2ba(0x531)](_0x3aba06(wo))),g(this,'_updateLocalCursor',_0x27e862((_0x4aa152,_0x1e09f1)=>{const _0x33d678=_0x36d2ba,_0x36810b={'eventID':_0xd65e90[_0x33d678(0x5af)],'data':{'unitID':this[_0x33d678(0x24d)],'memberID':this[_0x33d678(0x2f7)][_0x33d678(0x446)](),'selection':_0x46c3af(_0x4aa152,_0x1e09f1[_0x33d678(0x4d1)])}};this[_0x33d678(0x2f7)][_0x33d678(0x48f)](_0x36810b,this['unitID']);},Do)),(this['unitID']=_0x457840,this[_0x36d2ba(0x2f7)]=_0x5ea4c4,this[_0x36d2ba(0x4c4)]=_0x109dbb,this[_0x36d2ba(0x497)]=_0x46fecd,this['_memberService']=_0xc61ef8,this[_0x36d2ba(0x342)]=_0x1e94be,this[_0x36d2ba(0x1e6)]=_0x214f59,this['_refRangeService']=_0xda2c4f);}get['cursorInfo'](){const _0x49bc70=_0xe3a6b9;return this[_0x49bc70(0x278)][_0x49bc70(0x5de)]();}get[_0xe3a6b9(0x4e7)](){const _0x27fdc5=_0xe3a6b9;return this[_0x27fdc5(0x5a5)][_0x27fdc5(0x5de)]();}[_0xe3a6b9(0x3b4)](){const _0x56befb=_0xe3a6b9;super[_0x56befb(0x3b4)](),this['_cursorInfo$']['next'](new Map()),this[_0x56befb(0x278)]['complete'](),this['_roomMembers$'][_0x56befb(0x32a)]([]),this[_0x56befb(0x5a5)][_0x56befb(0x2ef)]();}[_0xe3a6b9(0x4c3)](){const _0x597813=_0xe3a6b9;this[_0x597813(0x430)]||(this[_0x597813(0x430)]=!0x0,this[_0x597813(0x2f7)][_0x597813(0x5d6)]['pipe'](_0x4c7076(this[_0x597813(0x31a)]))[_0x597813(0x3d4)](_0x28be3f=>{const _0x1879b4=_0x597813;_0x28be3f===ve[_0x1879b4(0x25a)]?this[_0x1879b4(0x1f6)]():this['_toggleOffline']();}),this[_0x597813(0x2f7)][_0x597813(0x506)][_0x597813(0x531)](_0x4c7076(this[_0x597813(0x31a)]))[_0x597813(0x3d4)](_0x411924=>{const _0xee11b0=_0x597813,_0x4bbf22=_0x411924['eventID'];_0x4bbf22===_0xd65e90[_0xee11b0(0x5af)]&&this[_0xee11b0(0x5d4)](_0x411924),_0x4bbf22===_0xd65e90[_0xee11b0(0x467)]&&this[_0xee11b0(0x574)](_0x411924);}),this[_0x597813(0x22c)](),this[_0x597813(0x5d1)](this[_0x597813(0x1e6)][_0x597813(0x384)](_0x27f24c=>{const _0xc23a99=_0x597813;if(this[_0xc23a99(0x4ea)]&&_0x27f24c['id']===_0x5aa13c['id']&&_0x27f24c[_0xc23a99(0x2de)][_0xc23a99(0x2d5)]===this[_0xc23a99(0x24d)]){const _0x1b9b2d=_0x27f24c[_0xc23a99(0x2de)];this['_updateLocalCursor'](_0x1b9b2d[_0xc23a99(0x428)],_0x1b9b2d[_0xc23a99(0x3b3)][0x0]);}})));}[_0xe3a6b9(0x5d4)](_0x1f6679){const _0x58e62e=_0xe3a6b9;var _0x3b5d7f,_0x5143d6;const {memberID:_0x238786,selection:_0x4fe397}=_0x1f6679[_0x58e62e(0x2be)],{sheetName:_0x45a58f,range:_0x95ed40}=_0x2d4d8f(_0x4fe397),_0x58d82a={'name':(_0x5143d6=(_0x3b5d7f=this[_0x58e62e(0x208)][_0x58e62e(0x332)](this['unitID'],_0x238786))==null?void 0x0:_0x3b5d7f[_0x58e62e(0x27f)])!=null?_0x5143d6:_0x58e62e(0x5b9),'range':this[_0x58e62e(0x569)](_0x45a58f,_0x95ed40),'sheetID':_0x45a58f,'color':this['_colorAssignService'][_0x58e62e(0x36b)](_0x238786),'selection':_0x4fe397},_0x37b49c=this[_0x58e62e(0x383)];_0x37b49c[_0x58e62e(0x454)](_0x238786,_0x58d82a),this[_0x58e62e(0x278)][_0x58e62e(0x32a)](_0x37b49c);}[_0xe3a6b9(0x574)](_0x28585a){const _0x476b4=_0xe3a6b9,{memberID:_0x17cb40}=_0x28585a['data'],_0x38d694=this['cursorInfo'];_0x38d694['delete'](_0x17cb40),this[_0x476b4(0x278)][_0x476b4(0x32a)](_0x38d694);}[_0xe3a6b9(0x569)](_0x12a141,_0xfafc68){const _0x44ce27=_0xe3a6b9;var _0x3f6dfc,_0xd6cd72;const _0xf6a7fd=(_0xd6cd72=(_0x3f6dfc=this[_0x44ce27(0x342)]['getUniverSheetInstance'](this[_0x44ce27(0x24d)]))==null?void 0x0:_0x3f6dfc[_0x44ce27(0x250)](_0x12a141))==null?void 0x0:_0xd6cd72[_0x44ce27(0x57a)]();return(_0xf6a7fd==null?void 0x0:_0xf6a7fd['find'](_0x667244=>_0x76407c[_0x44ce27(0x521)](_0x667244,_0xfafc68)))||_0xfafc68;}[_0xe3a6b9(0x22c)](){const _0xbabb51=_0xe3a6b9,_0xd478b6=new _0x1161a0(),_0x56b5f4=Po(),_0x359507=()=>{const _0x1e0f78=_0x272d;_0xd478b6[_0x1e0f78(0x3b4)]();const _0xb24a42=(_0x3025f4,_0x3944f4,_0xefa23b,_0x4e396e)=>{const _0x4ac174=_0x1e0f78;let _0x951a7b=[];switch(_0x3025f4['id']){case _0x416659[_0x4ac174(0x5a0)]:{_0x951a7b=_0x432a43(_0x3025f4,_0x4e396e);break;}case _0x416659['DeleteRangeMoveUpCommandId']:{_0x951a7b=_0x52baa3(_0x3025f4,_0x4e396e);break;}case _0x416659['InsertColCommandId']:{_0x951a7b=_0x3a99f0(_0x3025f4,_0x4e396e);break;}case _0x416659[_0x4ac174(0x405)]:{_0x951a7b=_0x34e8fa(_0x3025f4,_0x4e396e);break;}case _0x416659['InsertRangeMoveRightCommandId']:{_0x951a7b=_0x101bd3(_0x3025f4,_0x4e396e);break;}case _0x416659['InsertRowCommandId']:{_0x951a7b=_0x38c8e7(_0x3025f4,_0x4e396e);break;}case _0x416659[_0x4ac174(0x455)]:{_0x951a7b=_0x2776b2(_0x3025f4,_0x4e396e);break;}case _0x416659[_0x4ac174(0x42c)]:{_0x951a7b=_0x1365f2(_0x3025f4,_0x4e396e);break;}case _0x416659[_0x4ac174(0x442)]:{_0x951a7b=_0xea0096(_0x3025f4,_0x4e396e);break;}}const _0x49796c=_0x5b9034(_0x951a7b,_0x4e396e),_0xfb6a10=this[_0x4ac174(0x383)][_0x4ac174(0x519)](_0x3944f4);if(_0xfb6a10&&_0x49796c){const _0x2e5640={..._0xfb6a10,'range':_0x49796c};this[_0x4ac174(0x383)][_0x4ac174(0x454)](_0x3944f4,_0x2e5640),_0x56b5f4(()=>{const _0x1488b1=_0x4ac174,_0x321057=this[_0x1488b1(0x495)]['registerRefRange'](_0x49796c,_0x1a44ce=>(_0x321057[_0x1488b1(0x3b4)](),_0xb24a42(_0x1a44ce,_0x3944f4,_0xefa23b,_0x49796c)));_0xd478b6[_0x1488b1(0x500)](_0x321057);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1e0f78(0x3b9)]((_0x3371a7,_0x1ce356)=>{const _0xea69d6=_0x1e0f78,{range:_0x482d85,sheetID:_0x500c84}=_0x3371a7,_0x37ba63=this['_refRangeService'][_0xea69d6(0x4fd)](_0x482d85,_0x3d6fd1=>(_0x37ba63[_0xea69d6(0x3b4)](),_0xb24a42(_0x3d6fd1,_0x1ce356,_0x500c84,_0x482d85)));_0xd478b6[_0xea69d6(0x500)](_0x37ba63);});};this['disposeWithMe'](_0x3b9b0c(this[_0xbabb51(0x278)][_0xbabb51(0x3d4)](()=>{_0x359507();})));}[_0xe3a6b9(0x1f6)](){const _0xcad891=_0xe3a6b9;var _0x22f9a8,_0x1b7b1c;if(this[_0xcad891(0x4ea)]=!0x0,((_0x22f9a8=this[_0xcad891(0x342)][_0xcad891(0x482)]())==null?void 0x0:_0x22f9a8['getUnitId']())!==this[_0xcad891(0x24d)])return;const _0x25246a=(_0x1b7b1c=this[_0xcad891(0x4c4)]['get'](_0x3e7423)[_0xcad891(0x4ed)]())==null?void 0x0:_0x1b7b1c[0x0],_0x3faaf6=this[_0xcad891(0x342)][_0xcad891(0x2f9)](_0x3c5a8f[_0xcad891(0x4fb)])[_0xcad891(0x39e)]();_0x25246a&&_0x3faaf6&&this[_0xcad891(0x1f8)](_0x3faaf6[_0xcad891(0x325)](),_0x25246a);}[_0xe3a6b9(0x558)](){const _0x49dd42=_0xe3a6b9;this[_0x49dd42(0x4ea)]=!0x1;}};ns=Oo([Be(0x2,_0x432547(_0x521cd6)),Be(0x3,_0x432547(Es)),Be(0x4,_0x432547(Ne)),Be(0x5,_0x17aa8b),Be(0x6,_0xc67fcf),Be(0x7,_0x432547(_0x49605c))],ns);var Uo=Object[_0xe3a6b9(0x2e1)],No=Object[_0xe3a6b9(0x4b1)],Ao=(_0x243280,_0x3d8d72,_0x5bc236,_0x44decf)=>{const _0x593e1b=_0xe3a6b9;for(var _0x22abed=_0x44decf>0x1?void 0x0:_0x44decf?No(_0x3d8d72,_0x5bc236):_0x3d8d72,_0x851913=_0x243280[_0x593e1b(0x285)]-0x1,_0x22be29;_0x851913>=0x0;_0x851913--)(_0x22be29=_0x243280[_0x851913])&&(_0x22abed=(_0x44decf?_0x22be29(_0x3d8d72,_0x5bc236,_0x22abed):_0x22be29(_0x22abed))||_0x22abed);return _0x44decf&&_0x22abed&&Uo(_0x3d8d72,_0x5bc236,_0x22abed),_0x22abed;},Lt=(_0x788ba3,_0x34a8c1)=>(_0x2963f1,_0x4033d7)=>_0x34a8c1(_0x2963f1,_0x4033d7,_0x788ba3);let Ve=class extends _0x90c284{constructor(_0x5f01bb,_0x34fa2d,_0x5a1674){const _0x3e1ada=_0xe3a6b9;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0xbd68e4()),(this[_0x3e1ada(0x342)]=_0x5f01bb,this['_injector']=_0x34fa2d,this['_collabSessionService']=_0x5a1674,this['_init']());}[_0xe3a6b9(0x3b4)](){const _0x2ab6f7=_0xe3a6b9;super[_0x2ab6f7(0x3b4)](),this['_entityInit$'][_0x2ab6f7(0x2ef)](),this[_0x2ab6f7(0x470)][_0x2ab6f7(0x3b9)](_0x2fff39=>_0x2fff39[_0x2ab6f7(0x3b4)]());}[_0xe3a6b9(0x507)](_0x137962){const _0x377e54=_0xe3a6b9;return this[_0x377e54(0x470)]['has'](_0x137962)?this[_0x377e54(0x470)][_0x377e54(0x519)](_0x137962)[_0x377e54(0x234)]:this[_0x377e54(0x312)]['pipe'](_0x4b4ea5(_0x1662c4=>_0x1662c4[_0x377e54(0x24d)]===_0x137962),_0x211e4b(_0x2e09aa=>_0x2e09aa[_0x377e54(0x234)]));}[_0xe3a6b9(0x430)](){const _0x4b26c5=_0xe3a6b9;this[_0x4b26c5(0x342)][_0x4b26c5(0x515)](_0x3c5a8f[_0x4b26c5(0x4fb)])[_0x4b26c5(0x531)](_0x4c7076(this[_0x4b26c5(0x31a)]))[_0x4b26c5(0x3d4)](async _0x228300=>{const _0x27afba=_0x4b26c5,_0x35b6ef=_0x228300[_0x27afba(0x1ea)](),_0x4f997b=await this[_0x27afba(0x3ae)](_0x35b6ef);this[_0x27afba(0x312)]['next'](_0x4f997b),this[_0x27afba(0x470)]['set'](_0x35b6ef,_0x4f997b);}),this[_0x4b26c5(0x342)]['getTypeOfUnitAdded$'](_0x3c5a8f['UNIVER_DOC'])[_0x4b26c5(0x531)](_0x4c7076(this[_0x4b26c5(0x31a)]))[_0x4b26c5(0x531)](_0x4b4ea5(_0x5c864d=>!_0x5c864d[_0x4b26c5(0x1ea)]()[_0x4b26c5(0x542)]('__')))[_0x4b26c5(0x3d4)](async _0x1660f1=>{const _0x475123=_0x4b26c5,_0x4dfc11=_0x1660f1[_0x475123(0x1ea)](),_0x318174=await this[_0x475123(0x24e)](_0x4dfc11);this[_0x475123(0x312)][_0x475123(0x32a)](_0x318174),this['_entities'][_0x475123(0x454)](_0x4dfc11,_0x318174);}),_0x476f09(this[_0x4b26c5(0x342)][_0x4b26c5(0x3b5)](_0x3c5a8f[_0x4b26c5(0x39b)]),this[_0x4b26c5(0x342)][_0x4b26c5(0x3b5)](_0x3c5a8f['UNIVER_SHEET']))[_0x4b26c5(0x531)](_0x4c7076(this[_0x4b26c5(0x31a)]))[_0x4b26c5(0x3d4)](_0x19e688=>{const _0x117aad=_0x4b26c5,_0x2b606e=_0x19e688[_0x117aad(0x1ea)](),_0x33032f=this['_entities'][_0x117aad(0x519)](_0x2b606e);_0x33032f&&(_0x33032f[_0x117aad(0x3b4)](),this[_0x117aad(0x470)][_0x117aad(0x276)](_0x2b606e));});}async[_0xe3a6b9(0x3ae)](_0x42fe46){const _0x2ad4b5=_0xe3a6b9,_0x529211=await this[_0x2ad4b5(0x289)][_0x2ad4b5(0x388)](_0x42fe46),_0x42d760=this['_injector']['createInstance'](ns,_0x42fe46,_0x529211);return _0x42d760[_0x2ad4b5(0x4c3)](),_0x42d760;}async[_0xe3a6b9(0x24e)](_0x84dd2c){const _0x426d4b=_0xe3a6b9,_0x4edc21=await this[_0x426d4b(0x289)][_0x426d4b(0x388)](_0x84dd2c),_0x1191b9=this[_0x426d4b(0x4c4)]['createInstance'](is,_0x84dd2c,_0x4edc21);return _0x1191b9[_0x426d4b(0x4c3)](),_0x1191b9;}};Ve=Ao([Lt(0x0,_0x17aa8b),Lt(0x1,_0x432547(_0x521cd6)),Lt(0x2,_0x432547(Ae))],Ve);const nt=0x14,Gs=0xc8,$t=0x4,Mo=0x5;function xo(_0x164174,_0x2bebd6){const _0x37621f=_0xe3a6b9;let {radius:_0x30e717,width:_0x23c999,height:_0x225094}=_0x2bebd6;_0x30e717=_0x30e717!=null?_0x30e717:0x0,_0x23c999=_0x23c999!=null?_0x23c999:0x1e,_0x225094=_0x225094!=null?_0x225094:0x1e;let _0x27afca=0x0,_0x5c289c=0x0,_0x2cbcc3=0x0;_0x27afca=_0x5c289c=_0x2cbcc3=Math['min'](_0x30e717,_0x23c999/0x2,_0x225094/0x2),_0x164174[_0x37621f(0x2eb)](),_0x164174[_0x37621f(0x4dd)](_0x27afca,0x0),_0x164174[_0x37621f(0x51a)](_0x23c999-_0x5c289c,0x0),_0x164174[_0x37621f(0x3db)](_0x23c999-_0x5c289c,_0x5c289c,_0x5c289c,Math['PI']*0x3/0x2,0x0,!0x1),_0x164174[_0x37621f(0x51a)](_0x23c999,_0x225094-_0x2cbcc3),_0x164174[_0x37621f(0x3db)](_0x23c999-_0x2cbcc3,_0x225094-_0x2cbcc3,_0x2cbcc3,0x0,Math['PI']/0x2,!0x1),_0x164174['lineTo'](0x0,_0x225094),_0x164174[_0x37621f(0x51a)](0x0,_0x27afca),_0x164174[_0x37621f(0x3db)](_0x27afca,_0x27afca,_0x27afca,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x164174[_0x37621f(0x248)](),_0x2bebd6[_0x37621f(0x5c1)]&&(_0x164174[_0x37621f(0x543)](),_0x164174[_0x37621f(0x498)]=_0x2bebd6[_0x37621f(0x5c1)],_0x2bebd6['fillRule']===_0x37621f(0x565)?_0x164174[_0x37621f(0x5c1)](_0x37621f(0x565)):_0x164174[_0x37621f(0x5c1)](),_0x164174[_0x37621f(0x5a6)]());}class yt extends _0x4d54b9{constructor(_0x4b7b78,_0x31918a){const _0x3bbefa=_0xe3a6b9;super(_0x4b7b78,_0x31918a),g(this,'color'),g(this,_0x3bbefa(0x52b)),(this[_0x3bbefa(0x5bf)]=_0x31918a==null?void 0x0:_0x31918a[_0x3bbefa(0x5bf)],this[_0x3bbefa(0x52b)]=_0x31918a==null?void 0x0:_0x31918a[_0x3bbefa(0x52b)]);}static[_0xe3a6b9(0x533)](_0x358a0a,_0x1f560e){const _0x194504=_0xe3a6b9,{text:_0x10faeb,color:_0x23699e}=_0x1f560e;_0x358a0a[_0x194504(0x543)](),_0x358a0a[_0x194504(0x579)]=_0x194504(0x370);const _0x1cfb0c=_0x358a0a[_0x194504(0x5b1)](_0x10faeb)[_0x194504(0x4ff)],_0x1827da=Math[_0x194504(0x3bb)](_0x1cfb0c+0x2*$t,Gs);xo(_0x358a0a,{'height':nt,'radius':0x4,'width':_0x1827da,'fill':_0x23699e,'evented':!0x1}),_0x358a0a['fillStyle']='#FFF';const _0x30096a=$t,_0x25050d=nt-Mo,_0x319a18=Gs-0x2*$t;if(_0x1cfb0c>_0x319a18){let _0x140725='',_0x1502c1=0x0;for(const _0x17462e of _0x10faeb){const _0x437b89=_0x358a0a[_0x194504(0x5b1)](_0x17462e)[_0x194504(0x4ff)];if(_0x1502c1+_0x437b89<=_0x319a18-_0x358a0a[_0x194504(0x5b1)](_0x194504(0x50f))['width'])_0x140725+=_0x17462e,_0x1502c1+=_0x437b89;else{_0x140725+=_0x194504(0x50f);break;}}_0x358a0a['fillText'](_0x140725,_0x30096a,_0x25050d);}else _0x358a0a[_0x194504(0x374)](_0x10faeb,_0x30096a,_0x25050d);_0x358a0a[_0x194504(0x5a6)]();}['_draw'](_0x3e4074){const _0xa2db64=_0xe3a6b9;yt[_0xa2db64(0x533)](_0x3e4074,this);}}const Ht=_0xe3a6b9(0x293),Lo=_0xe3a6b9(0x2da),$o=_0xe3a6b9(0x409),Je=0x6,Ho=1.5,jt=0x4,jo=1.5,Bo=_0xe3a6b9(0x4d2);class Ys{constructor(_0x33a383,_0x3805f2,_0x5d8b78,_0x239d67){const _0x18aa00=_0xe3a6b9;g(this,_0x18aa00(0x57b),[]),g(this,_0x18aa00(0x509),null),g(this,_0x18aa00(0x25b),null),g(this,_0x18aa00(0x522),null),g(this,_0x18aa00(0x2c9),null),g(this,_0x18aa00(0x20c),null),(this[_0x18aa00(0x31d)]=_0x33a383,this[_0x18aa00(0x24f)]=_0x3805f2,this[_0x18aa00(0x3cf)]=_0x5d8b78,this[_0x18aa00(0x39d)]=_0x239d67,this[_0x18aa00(0x479)]());}set[_0xe3a6b9(0x43b)](_0x3e63e3){const _0x580933=_0xe3a6b9;_0x3e63e3?(this[_0x580933(0x522)]&&this[_0x580933(0x522)][_0x580933(0x50b)](),this[_0x580933(0x25b)]&&this[_0x580933(0x25b)]['show']()):(this['_anchorDot']&&this[_0x580933(0x522)]['show'](),this[_0x580933(0x25b)]&&this[_0x580933(0x25b)][_0x580933(0x50b)]());}['dispose'](){const _0x3f444b=_0xe3a6b9;for(const _0x3a0b97 of this[_0x3f444b(0x57b)])_0x3a0b97[_0x3f444b(0x3b4)]();this[_0x3f444b(0x25b)]&&this[_0x3f444b(0x25b)]['dispose'](),this['_anchorDot']&&this[_0x3f444b(0x522)]['dispose'](),this['_anchor']&&this[_0x3f444b(0x509)][_0x3f444b(0x3b4)](),this[_0x3f444b(0x20c)]&&this['_eventUnsubscribe']();}[_0xe3a6b9(0x479)](){const _0x91b876=_0xe3a6b9;var _0x2ab6c4;const {_docSkeleton:_0x5af3c8,_document:_0x1b8f35}=this,{color:_0xdab8df,name:_0x512ac3,ranges:_0x36a217}=this['_cursor'],_0x2bec57=_0x1b8f35[_0x91b876(0x5b4)](),{docsLeft:_0xff2237,docsTop:_0x466a34}=_0x2bec57,_0x3e39b7=new _0x3c488e(_0x2bec57,_0x5af3c8);for(const {startOffset:_0x177df2,endOffset:_0x18ee01,rangeType:_0x2e745f,segmentId:_0x1c7b94,segmentPage:_0x5160c0,collapsed:_0x26f432,isActive:_0x2109c3}of _0x36a217){const _0x36610=_0x5af3c8[_0x91b876(0x27d)](_0x177df2,!0x0,_0x1c7b94,_0x5160c0);let _0x5d03ba=_0x5af3c8[_0x91b876(0x27d)](_0x18ee01,!0x0,_0x1c7b94,_0x5160c0);if(_0x5d03ba==null&&(_0x5d03ba=_0x5af3c8[_0x91b876(0x27d)](_0x18ee01-0x1,!0x1,_0x1c7b94,_0x5160c0)),_0x2109c3){const {contentBoxPointGroup:_0xa214eb}=_0x3e39b7[_0x91b876(0x32d)](_0x5d03ba,_0x5d03ba);if(_0xa214eb[_0x91b876(0x285)]===0x0)continue;this['_drawAnchor'](_0xdab8df,_0xa214eb,_0xff2237,_0x466a34,_0x512ac3),this[_0x91b876(0x20c)]=this[_0x91b876(0x540)]();}if(!_0x26f432&&_0x36610&&_0x5d03ba){if(_0x2e745f===_0x38924c[_0x91b876(0x3a8)]){const _0x356dad=new _0x39808e(_0x2bec57,_0x5af3c8),{pointGroup:_0x4784d7}=(_0x2ab6c4=_0x356dad[_0x91b876(0x32d)](_0x36610,_0x5d03ba))!=null?_0x2ab6c4:{};if(_0x4784d7==null||_0x4784d7[_0x91b876(0x285)]===0x0)continue;this[_0x91b876(0x567)](_0xdab8df,_0x4784d7,_0xff2237,_0x466a34);}else{const {borderBoxPointGroup:_0x3f3409}=_0x3e39b7['getRangePointData'](_0x36610,_0x5d03ba);if(_0x3f3409[_0x91b876(0x285)]===0x0)continue;this['_drawTextRange'](_0xdab8df,_0x3f3409,_0xff2237,_0x466a34);}}}}[_0xe3a6b9(0x4dc)](_0x3cddd0,_0x5240d5,_0x59af12,_0xb8a1bc,_0x233178){const _0x1fd558=_0xe3a6b9,_0x52d6a4=this[_0x1fd558(0x38d)](_0x5240d5),{left:_0x56d5f,top:_0x283357,height:_0xf99e13}=_0x52d6a4,_0x1941db=this[_0x1fd558(0x4f0)](),_0x3191d0=jo/_0x1941db,_0x3c5fae=new _0x572d5b(Ht+_0x1d5b8a[_0x1fd558(0x349)](Je),{'left':_0x56d5f+_0x59af12-_0x3191d0,'top':_0x283357+_0xb8a1bc,'height':_0xf99e13,'width':Ho,'fill':_0x3cddd0||_0x52f2b6(_0x43d58a['black'],0x0),'strokeWidth':_0x3191d0,'stroke':Bo,'evented':!0x0});this[_0x1fd558(0x509)]=_0x3c5fae,this[_0x1fd558(0x24f)][_0x1fd558(0x3c4)](_0x3c5fae,_0x4e8654);const _0x3f7568=new _0x572d5b(Ht+_0x1d5b8a[_0x1fd558(0x349)](Je),{'left':_0x56d5f+_0x59af12-_0x3191d0,'top':_0x283357+_0xb8a1bc-jt/0x2,'height':jt,'width':jt,'fill':_0x3cddd0||_0x52f2b6(_0x43d58a[_0x1fd558(0x3ec)],0x0),'strokeWidth':0x0,'stroke':_0x3cddd0||_0x52f2b6(_0x43d58a[_0x1fd558(0x3ec)],0x0),'evented':!0x1});this[_0x1fd558(0x522)]=_0x3f7568,this[_0x1fd558(0x24f)]['addObject'](_0x3f7568,_0x4e8654);const _0x532d47=new yt(Ht+_0x1d5b8a[_0x1fd558(0x349)](Je),{'left':_0x56d5f+_0x59af12-_0x3191d0,'top':_0x283357+_0xb8a1bc-nt,'text':_0x233178,'color':_0x3cddd0});this[_0x1fd558(0x25b)]=_0x532d47,this['_scene'][_0x1fd558(0x3c4)](_0x532d47,_0x4e8654),this[_0x1fd558(0x43b)]=!0x1;}[_0xe3a6b9(0x540)](){const _0x2cf3d4=_0xe3a6b9,_0x576e81=this[_0x2cf3d4(0x509)][_0x2cf3d4(0x20d)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0xade619=this[_0x2cf3d4(0x509)][_0x2cf3d4(0x27b)][_0x2cf3d4(0x39c)](()=>{const _0x34b320=_0x2cf3d4;this[_0x34b320(0x2c9)]&&clearTimeout(this[_0x34b320(0x2c9)]),this['_hideTimer']=setTimeout(()=>{const _0xe8219b=_0x34b320;this[_0xe8219b(0x43b)]=!0x1;},0x7d0);});return()=>{const _0x5e2308=_0x2cf3d4;_0x576e81['unsubscribe'](),_0xade619[_0x5e2308(0x1e1)]();};}['_drawTextRange'](_0x43f636,_0x3aa7b9,_0x20ee31,_0x24a992){const _0xc601f=_0xe3a6b9,_0x5e9c6e=new _0x31e659(_0x43f636)[_0xc601f(0x58a)](0.2)['toRgbString'](),_0x1325e7=new _0x3d8108(Lo+_0x1d5b8a[_0xc601f(0x349)](Je),{'pointsGroup':_0x3aa7b9,'fill':_0x5e9c6e||_0x52f2b6(_0x43d58a[_0xc601f(0x3ec)],0.2),'left':_0x20ee31,'top':_0x24a992,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc601f(0x57b)][_0xc601f(0x3f6)](_0x1325e7),this[_0xc601f(0x24f)]['addObject'](_0x1325e7,_0x4e8654);}[_0xe3a6b9(0x567)](_0x1ca504,_0xbb46ef,_0x4a4713,_0x30abb7){const _0x94ff94=_0xe3a6b9,_0xa875c9=new _0x31e659(_0x1ca504)[_0x94ff94(0x58a)](0.2)[_0x94ff94(0x54c)](),_0x17a585=new _0x3d8108($o+_0x1d5b8a[_0x94ff94(0x349)](Je),{'pointsGroup':_0xbb46ef,'fill':_0xa875c9||_0x52f2b6(_0x43d58a[_0x94ff94(0x3ec)],0.2),'left':_0x4a4713,'top':_0x30abb7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x94ff94(0x57b)][_0x94ff94(0x3f6)](_0x17a585),this['_scene']['addObject'](_0x17a585,_0x4e8654);}['_getAnchorBounding'](_0x17001c){const _0x13f37f=_0x17001c[0x0],_0x4ba191=_0x13f37f[0x0],_0x54e42d=_0x13f37f[0x2],{x:_0x14727b,y:_0x59e5dc}=_0x4ba191,{x:_0x3c5966,y:_0x33ef55}=_0x54e42d;return{'left':_0x14727b,'top':_0x59e5dc,'width':_0x3c5966-_0x14727b,'height':_0x33ef55-_0x59e5dc};}['_getScale'](){const _0x4ae8e2=_0xe3a6b9,{scaleX:_0x58749c,scaleY:_0x44b6ac}=this[_0x4ae8e2(0x24f)]['getAncestorScale']();return Math[_0x4ae8e2(0x51f)](_0x58749c,_0x44b6ac);}}var ko=Object['defineProperty'],Wo=Object[_0xe3a6b9(0x4b1)],Fo=(_0x4cbf21,_0x25c0a6,_0x597442,_0x8a5e4e)=>{for(var _0x59f27a=_0x8a5e4e>0x1?void 0x0:_0x8a5e4e?Wo(_0x25c0a6,_0x597442):_0x25c0a6,_0x284fa7=_0x4cbf21['length']-0x1,_0xe4062f;_0x284fa7>=0x0;_0x284fa7--)(_0xe4062f=_0x4cbf21[_0x284fa7])&&(_0x59f27a=(_0x8a5e4e?_0xe4062f(_0x25c0a6,_0x597442,_0x59f27a):_0xe4062f(_0x59f27a))||_0x59f27a);return _0x8a5e4e&&_0x59f27a&&ko(_0x25c0a6,_0x597442,_0x59f27a),_0x59f27a;},ct=(_0x45037e,_0x2ef859)=>(_0x1cf780,_0x4cdcc5)=>_0x2ef859(_0x1cf780,_0x4cdcc5,_0x45037e);let rs=class extends _0x90c284{constructor(_0x5a8588,_0x10f584,_0x2af95c,_0x3be58b,_0x5cb90b){const _0x2f2472=_0xe3a6b9;super(),g(this,_0x2f2472(0x1dc),[]),g(this,'_cursors',[]),(this[_0x2f2472(0x45b)]=_0x5a8588,this[_0x2f2472(0x253)]=_0x10f584,this[_0x2f2472(0x597)]=_0x2af95c,this[_0x2f2472(0x1e6)]=_0x3be58b,this[_0x2f2472(0x418)]=_0x5cb90b,this[_0x2f2472(0x430)]());}[_0xe3a6b9(0x430)](){const _0x57d37f=_0xe3a6b9,_0x5f3346=this[_0x57d37f(0x45b)][_0x57d37f(0x2d5)],_0xfaef20=this['_docSkeletonManagerService'];this[_0x57d37f(0x5d1)](_0x4fb160([this['_collabCursorController']['getCollabCursors$'](_0x5f3346),this['_themeService']['currentTheme$']])[_0x57d37f(0x531)](_0x40a0c5(([_0x29f01f,_0x382bf6])=>({'skeleton':_0xfaef20[_0x57d37f(0x323)](),'cursors':[..._0x29f01f[_0x57d37f(0x37f)]()]['flatMap'](_0x1102df=>({..._0x1102df,'color':_0x382bf6[_0x1102df['color']]}))})))['subscribe'](_0x4be848=>{const _0x4db70b=_0x57d37f;if(this['_removeCollabCursors'](),_0x4be848){const {skeleton:_0x317c25,cursors:_0x245d89}=_0x4be848;this[_0x4db70b(0x4bc)](_0x317c25,_0x245d89);}})),this[_0x57d37f(0x1fa)](),this[_0x57d37f(0x4c7)]();}[_0xe3a6b9(0x4bc)](_0x46291c,_0x43a80b){const _0x2565e8=_0xe3a6b9,{scene:_0x2ff388,mainComponent:_0x87f047}=this[_0x2565e8(0x45b)],_0x5297f2=_0x43a80b[_0x2565e8(0x546)](_0x3cb625=>new Ys(_0x3cb625,_0x2ff388,_0x46291c,_0x87f047));this[_0x2565e8(0x1dc)]=_0x5297f2,this['_cursors']=_0x43a80b;}[_0xe3a6b9(0x307)](){const _0x51d365=_0xe3a6b9;this['_removeCollabCursors']();const {scene:_0x242f27,mainComponent:_0x4e813b}=this[_0x51d365(0x45b)],_0x3f47b1=this['_docSkeletonManagerService'][_0x51d365(0x323)](),_0x2e8162=this['_cursors']['map'](_0x379bf8=>new Ys(_0x379bf8,_0x242f27,_0x3f47b1,_0x4e813b));this[_0x51d365(0x1dc)]=_0x2e8162;}[_0xe3a6b9(0x334)](){const _0x1051a4=_0xe3a6b9;this[_0x1051a4(0x1dc)]['forEach'](_0x2932d5=>_0x2932d5['dispose']()),this[_0x1051a4(0x1dc)]=[];}['_initCommandExecutedListener'](){const _0x487e83=_0xe3a6b9,_0x5a41b9=[_0x525bb7['id']];this['disposeWithMe'](this[_0x487e83(0x1e6)]['onCommandExecuted'](_0x4d4200=>{const _0x21fd54=_0x487e83;_0x5a41b9[_0x21fd54(0x2fb)](_0x4d4200['id'])&&_0x4d4200[_0x21fd54(0x2de)][_0x21fd54(0x2d5)]===this[_0x21fd54(0x45b)][_0x21fd54(0x2d5)]&&this[_0x21fd54(0x307)]();}));}[_0xe3a6b9(0x1fa)](){const _0x3dde61=_0xe3a6b9;this['disposeWithMe'](_0x3b5dd1(this['_context']['engine'][_0x3dde61(0x204)])[_0x3dde61(0x531)](_0x1e3ef3(_0x36c51e=>_0x36c51e[_0x3dde61(0x36c)]===_0x2a0ac0[_0x3dde61(0x427)]),_0x3818f0(0x10))['subscribe'](()=>{const _0x40f15d=_0x3dde61;this[_0x40f15d(0x307)]();}));}};rs=Fo([ct(0x1,_0x432547(_0x21b828)),ct(0x2,_0x432547(Ve)),ct(0x3,_0xc67fcf),ct(0x4,_0x432547(_0x4d1cc4))],rs);const Vo=0x1,Go=1.5;class Yo extends _0x4d54b9{constructor(_0x40a293,_0x268ef4){const _0x4035da=_0xe3a6b9;super(_0x40a293,_0x268ef4),g(this,_0x4035da(0x4a7)),g(this,_0x4035da(0x53f),!0x1),g(this,_0x4035da(0x2cb)),g(this,_0x4035da(0x414),''),g(this,_0x4035da(0x4f4),_0x4035da(0x249)),g(this,'_backgroundColor'),(_0x268ef4&&this['setShapeProps'](_0x268ef4),this[_0x4035da(0x20d)]['subscribeEvent'](()=>this[_0x4035da(0x51b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4035da(0x39c)](()=>this[_0x4035da(0x51b)]({'hovered':!0x1})));}[_0xe3a6b9(0x51b)](_0x4a3751){const _0x549069=_0xe3a6b9;var _0x200d10,_0x4bf733,_0x1bfa4a,_0x57d6e0,_0x29cfc9,_0x5d3b9b;this['_color']=(_0x200d10=_0x4a3751[_0x549069(0x5bf)])!=null?_0x200d10:this[_0x549069(0x4a7)],this[_0x549069(0x53f)]=(_0x4bf733=_0x4a3751['hovered'])!=null?_0x4bf733:this['_hovered'],this['_range']=(_0x1bfa4a=_0x4a3751[_0x549069(0x4d1)])!=null?_0x1bfa4a:this[_0x549069(0x2cb)],this[_0x549069(0x414)]=(_0x57d6e0=_0x4a3751[_0x549069(0x27f)])!=null?_0x57d6e0:this[_0x549069(0x414)],this[_0x549069(0x4f4)]=(_0x29cfc9=_0x4a3751['labelPosition'])!=null?_0x29cfc9:this['_labelPosition'],this[_0x549069(0x1da)]=(_0x5d3b9b=_0x4a3751[_0x549069(0x391)])!=null?_0x5d3b9b:this[_0x549069(0x1da)],this[_0x549069(0x59d)]({'width':_0x4a3751['width'],'height':_0x4a3751[_0x549069(0x324)]});}[_0xe3a6b9(0x448)](_0x5a1ed2){const _0x14ab66=_0xe3a6b9,{row:_0x57e36b,column:_0xfa3a57}=_0x5a1ed2;if(_0x57e36b>=this[_0x14ab66(0x2cb)][_0x14ab66(0x3a2)]&&_0x57e36b<=this[_0x14ab66(0x2cb)][_0x14ab66(0x2d0)]&&_0xfa3a57>=this[_0x14ab66(0x2cb)][_0x14ab66(0x385)]&&_0xfa3a57<=this[_0x14ab66(0x2cb)][_0x14ab66(0x2cf)]){this[_0x14ab66(0x51b)]({'hovered':!0x0});return;}this[_0x14ab66(0x51b)]({'hovered':!0x1});}[_0xe3a6b9(0x2e7)](_0x21c718){return!0x1;}[_0xe3a6b9(0x3c7)](_0x595992){const _0x5ae798=_0xe3a6b9;_0x572d5b[_0x5ae798(0x533)](_0x595992,{'width':this[_0x5ae798(0x4ff)],'height':this[_0x5ae798(0x324)],'strokeWidth':Go,'stroke':this[_0x5ae798(0x4a7)],'evented':!0x1,'fill':this[_0x5ae798(0x1da)]}),this[_0x5ae798(0x53f)]&&(_0x595992[_0x5ae798(0x543)](),_0x595992[_0x5ae798(0x44f)](0x1,0x0,0x0,0x1,this[_0x5ae798(0x4ff)],this[_0x5ae798(0x4f4)]===_0x5ae798(0x581)?0x0:-nt),yt[_0x5ae798(0x533)](_0x595992,{'text':this['_name'],'color':this[_0x5ae798(0x4a7)]}),_0x595992[_0x5ae798(0x5a6)]());}}var Ko=Object['defineProperty'],zo=Object[_0xe3a6b9(0x4b1)],qo=(_0x16667e,_0x5c9e8d,_0x2e0d0a,_0x3f79ed)=>{for(var _0x26c2bd=_0x3f79ed>0x1?void 0x0:_0x3f79ed?zo(_0x5c9e8d,_0x2e0d0a):_0x5c9e8d,_0x496e50=_0x16667e['length']-0x1,_0x209a44;_0x496e50>=0x0;_0x496e50--)(_0x209a44=_0x16667e[_0x496e50])&&(_0x26c2bd=(_0x3f79ed?_0x209a44(_0x5c9e8d,_0x2e0d0a,_0x26c2bd):_0x209a44(_0x26c2bd))||_0x26c2bd);return _0x3f79ed&&_0x26c2bd&&Ko(_0x5c9e8d,_0x2e0d0a,_0x26c2bd),_0x26c2bd;},Bt=(_0x26b859,_0x44ff2f)=>(_0x4800eb,_0x4edc09)=>_0x44ff2f(_0x4800eb,_0x4edc09,_0x26b859);const Xo=0x1389;let os=class extends _0x90c284{constructor(_0x3a7f1e,_0x247e75,_0x718a32,_0xa091c7){const _0x386b06=_0xe3a6b9;super(),g(this,_0x386b06(0x2a0),new Set()),g(this,_0x386b06(0x58c),null),(this[_0x386b06(0x45b)]=_0x3a7f1e,this[_0x386b06(0x315)]=_0x247e75,this['_collabCursorController']=_0x718a32,this[_0x386b06(0x418)]=_0xa091c7,this[_0x386b06(0x430)]());}[_0xe3a6b9(0x430)](){const _0x15bca4=_0xe3a6b9;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x15bca4(0x531)](_0x7ee64f(this[_0x15bca4(0x31a)]),_0x16f8b3(_0x531218=>{const _0x43247d=_0x15bca4;if(_0x531218){const _0x826e88=_0x531218[_0x43247d(0x4d6)];return _0x4fb160(this['_collabCursorController'][_0x43247d(0x507)](this[_0x43247d(0x45b)][_0x43247d(0x2d5)]),this[_0x43247d(0x418)][_0x43247d(0x2e0)])[_0x43247d(0x531)](_0x40a0c5(([_0xa85c96,_0x2cadcd])=>{const _0x4cb856=_0x43247d,_0x6ca64c=new Map();return _0xa85c96[_0x4cb856(0x3b9)]((_0x1b27ec,_0x15171d)=>{const _0x353c3a=_0x4cb856;if(_0x1b27ec[_0x353c3a(0x328)]===_0x826e88){const _0x5202d4={..._0x1b27ec};_0x5202d4['color']=_0x2cadcd[_0x1b27ec[_0x353c3a(0x5bf)]],_0x6ca64c[_0x353c3a(0x454)](_0x15171d,_0x5202d4);}}),{'skeleton':_0x531218,'cursors':_0x6ca64c};}));}return _0x19d5e8({'skeleton':null,'cursors':new Map()});}))[_0x15bca4(0x3d4)](({skeleton:_0x19166a,cursors:_0x406247})=>{const _0x29ac89=_0x15bca4;this[_0x29ac89(0x334)](),_0x19166a&&this['_updateCollabCursors'](_0x19166a,_0x406247);}),this[_0x15bca4(0x315)][_0x15bca4(0x443)][_0x15bca4(0x3d4)](_0x21e587=>{const _0xa67499=_0x15bca4;if(_0x21e587==null)return;const {skeleton:_0x2f5ca3}=_0x21e587,{scene:_0xe44afb}=this[_0xa67499(0x45b)];_0xe44afb[_0xa67499(0x376)]['subscribeEvent'](_0x27e862(_0x390d93=>{const _0x575ad3=_0xa67499;var _0x585676,_0x5b976a;const {offsetX:_0x4b2e2e,offsetY:_0x5310f1}=_0x390d93,{x:_0x4ce91a,y:_0xcdd1fa}=_0xe44afb[_0x575ad3(0x29c)](_0x1842e2['FromArray']([_0x4b2e2e,_0x5310f1])),{scaleX:_0x49d9b7,scaleY:_0x64df03}=_0xe44afb['getAncestorScale'](),_0x10b038=_0xe44afb['getViewport'](_0x4f1b67['VIEW_MAIN']),_0x305b70=_0xe44afb[_0x575ad3(0x2c5)](_0x1842e2[_0x575ad3(0x277)]([_0x4ce91a,_0xcdd1fa]),_0x10b038),_0x59712d=_0x2f5ca3[_0x575ad3(0x416)](_0x4b2e2e,_0x5310f1,_0x49d9b7,_0x64df03,_0x305b70);((_0x585676=this[_0x575ad3(0x58c)])==null?void 0x0:_0x585676[_0x575ad3(0x5b2)])===_0x59712d[_0x575ad3(0x5b2)]&&((_0x5b976a=this[_0x575ad3(0x58c)])==null?void 0x0:_0x5b976a[_0x575ad3(0x425)])===_0x59712d[_0x575ad3(0x425)]||this[_0x575ad3(0x2a0)]['forEach'](_0x2bd7e0=>{const _0x312c10=_0x575ad3;_0x2bd7e0[_0x312c10(0x448)](_0x59712d);});},0x64));});}[_0xe3a6b9(0x4bc)](_0x1f24f4,_0x1d2d0b){const _0x258e13=_0xe3a6b9;var _0x478dd1;const _0x7b82a8=(_0x478dd1=this[_0x258e13(0x315)][_0x258e13(0x463)]())==null?void 0x0:_0x478dd1['skeleton'];if(!_0x7b82a8)return;const _0x1a91c6=this[_0x258e13(0x2b0)]();if(!_0x1a91c6)return;this[_0x258e13(0x2a0)][_0x258e13(0x3b9)](_0x4f092f=>{_0x4f092f['makeDirty']();});const {scene:_0x11d34d}=_0x1a91c6,_0x2cb492=Jo(Array['from'](_0x1d2d0b['values']()))[_0x258e13(0x546)](_0x4f5d88=>{const _0x56d66b=_0x258e13,{color:_0x273c84,range:_0x241fcf,name:_0x54feef,selection:_0x35d839,sheetID:_0x57abc1}=_0x4f5d88,{startColumn:_0x34a642,startRow:_0x31a300,endColumn:_0x3c3673,endRow:_0x2f3ffb}=_0x241fcf,_0xb1e636=_0x4a6322(_0x31a300,_0x34a642,_0x11d34d,_0x7b82a8),_0x1607c1=_0x4a6322(_0x2f3ffb,_0x3c3673,_0x11d34d,_0x7b82a8),{columnHeaderHeightAndMarginTop:_0x548536}=_0x7b82a8,{startX:_0x155854,startY:_0x20487d}=_0xb1e636,{endX:_0x23c611,endY:_0x962dfe}=_0x1607c1,_0xaf4601=_0x23c611-_0x155854,_0x43e7a9=_0x962dfe-_0x20487d,_0xf280df={'labelPosition':_0x20487d-_0x548536>=nt?_0x56d66b(0x249):_0x56d66b(0x581),'sheetID':_0x57abc1,'range':_0x241fcf,'color':_0x273c84,'name':_0x54feef,'selection':_0x35d839,'left':_0x155854,'top':_0x20487d,'width':_0xaf4601,'height':_0x43e7a9,'evented':!0x1,'zIndex':Xo};return new Yo(_0x54feef,_0xf280df);});_0x11d34d['addObjects'](_0x2cb492,Vo),this['_cursors']=new Set(_0x2cb492);}['_removeCollabCursors'](){const _0x3177d6=_0xe3a6b9;var _0x4605ad;(_0x4605ad=this['_cursors'])==null||_0x4605ad[_0x3177d6(0x3b9)](_0x118b48=>_0x118b48[_0x3177d6(0x3b4)]());}['_getSheetObject'](){const _0x50ff26=_0xe3a6b9;return _0x33eeed(this[_0x50ff26(0x45b)][_0x50ff26(0x46d)],this[_0x50ff26(0x45b)]);}};os=qo([Bt(0x1,_0x432547(_0x57cf81)),Bt(0x2,_0x432547(Ve)),Bt(0x3,_0x432547(_0x4d1cc4))],os);function Jo(_0x4a2e0f){const _0x274b35=_0xe3a6b9,_0x370ad8=new Map();return _0x4a2e0f[_0x274b35(0x3b9)](_0xc06d83=>{const _0x3bac2b=_0x274b35;if(_0x370ad8[_0x3bac2b(0x287)](_0xc06d83['selection'])){const _0x13cf6a=_0x370ad8['get'](_0xc06d83[_0x3bac2b(0x1ec)]);_0x13cf6a['name']+=',\x20'+_0xc06d83['name'];}else _0x370ad8[_0x3bac2b(0x454)](_0xc06d83['selection'],_0xc06d83);}),Array[_0x274b35(0x359)](_0x370ad8[_0x274b35(0x37f)]());}var ee=function(){const _0x4eed6f=_0xe3a6b9;return ee=Object[_0x4eed6f(0x25f)]||function(_0x5951f0){const _0x2580ae=_0x4eed6f;for(var _0x330d58,_0x40d872=0x1,_0x42d66d=arguments[_0x2580ae(0x285)];_0x40d872<_0x42d66d;_0x40d872++){_0x330d58=arguments[_0x40d872];for(var _0x127ed7 in _0x330d58)Object[_0x2580ae(0x5cc)][_0x2580ae(0x2ee)][_0x2580ae(0x2d2)](_0x330d58,_0x127ed7)&&(_0x5951f0[_0x127ed7]=_0x330d58[_0x127ed7]);}return _0x5951f0;},ee[_0x4eed6f(0x4cb)](this,arguments);},Zo=function(_0x1afeed,_0x5c5915){const _0x17ef9d=_0xe3a6b9;var _0x27ca44={};for(var _0x3aa601 in _0x1afeed)Object['prototype'][_0x17ef9d(0x2ee)][_0x17ef9d(0x2d2)](_0x1afeed,_0x3aa601)&&_0x5c5915[_0x17ef9d(0x389)](_0x3aa601)<0x0&&(_0x27ca44[_0x3aa601]=_0x1afeed[_0x3aa601]);if(_0x1afeed!=null&&typeof Object[_0x17ef9d(0x40d)]==_0x17ef9d(0x48e)){for(var _0x1035a0=0x0,_0x3aa601=Object[_0x17ef9d(0x40d)](_0x1afeed);_0x1035a0<_0x3aa601[_0x17ef9d(0x285)];_0x1035a0++)_0x5c5915['indexOf'](_0x3aa601[_0x1035a0])<0x0&&Object[_0x17ef9d(0x5cc)][_0x17ef9d(0x31b)]['call'](_0x1afeed,_0x3aa601[_0x1035a0])&&(_0x27ca44[_0x3aa601[_0x1035a0]]=_0x1afeed[_0x3aa601[_0x1035a0]]);}return _0x27ca44;},bs=_0x287f1e(function(_0x35c4f7,_0x3b122e){const _0x59dfb8=_0xe3a6b9;var _0x31b56c=_0x35c4f7[_0x59dfb8(0x327)],_0x23e51b=_0x35c4f7['id'],_0x511065=_0x35c4f7['className'],_0x395f01=_0x35c4f7[_0x59dfb8(0x322)],_0x46cda2=Zo(_0x35c4f7,['icon','id',_0x59dfb8(0x518),_0x59dfb8(0x322)]),_0x3958c3=_0x59dfb8(0x510)[_0x59dfb8(0x228)](_0x23e51b,'\x20')[_0x59dfb8(0x228)](_0x511065||'')[_0x59dfb8(0x4b3)](),_0x32d70c=_0x29705a('_'[_0x59dfb8(0x228)](ta()));return Ai(_0x31b56c,''[_0x59dfb8(0x228)](_0x23e51b),{'defIds':_0x31b56c[_0x59dfb8(0x4be)],'idSuffix':_0x32d70c[_0x59dfb8(0x21c)]},ee({'ref':_0x3b122e,'className':_0x3958c3},_0x46cda2),_0x395f01);});function Ai(_0x211593,_0x3f4503,_0x1dd068,_0x136d77,_0x131042){const _0x3b9f7d=_0xe3a6b9;return _0x3f5a91(_0x211593[_0x3b9f7d(0x2d8)],ee(ee({'key':_0x3f4503},Qo(_0x211593,_0x1dd068,_0x131042)),_0x136d77),(ea(_0x211593,_0x1dd068)[_0x3b9f7d(0x371)]||[])[_0x3b9f7d(0x546)](function(_0x3861f4,_0x4b5633){const _0x4219d5=_0x3b9f7d;return Ai(_0x3861f4,''['concat'](_0x3f4503,'-')[_0x4219d5(0x228)](_0x211593[_0x4219d5(0x2d8)],'-')[_0x4219d5(0x228)](_0x4b5633),_0x1dd068,void 0x0,_0x131042);}));}function Qo(_0xee71d4,_0xd8a71,_0x1b352b){const _0x5b6170=_0xe3a6b9;var _0x3295c2=ee({},_0xee71d4['attrs']);_0x1b352b!=null&&_0x1b352b[_0x5b6170(0x20a)]&&_0x3295c2[_0x5b6170(0x5c1)]===_0x5b6170(0x20a)&&(_0x3295c2[_0x5b6170(0x5c1)]=_0x1b352b[_0x5b6170(0x20a)]);var _0x3bf57e=_0xd8a71[_0x5b6170(0x4be)];return!_0x3bf57e||_0x3bf57e['length']===0x0||(_0xee71d4[_0x5b6170(0x2d8)]===_0x5b6170(0x354)&&_0x3295c2[_0x5b6170(0x4f9)]&&(_0x3295c2[_0x5b6170(0x4f9)]=_0x3295c2[_0x5b6170(0x4f9)]+_0xd8a71[_0x5b6170(0x49f)]),Object[_0x5b6170(0x291)](_0x3295c2)[_0x5b6170(0x3b9)](function(_0xb7739f){const _0x47865f=_0x5b6170;var _0x555553=_0xb7739f[0x0],_0x2be4e0=_0xb7739f[0x1];typeof _0x2be4e0=='string'&&(_0x3295c2[_0x555553]=_0x2be4e0[_0x47865f(0x1f9)](/url\(#(.*)\)/,_0x47865f(0x5ad)[_0x47865f(0x228)](_0xd8a71[_0x47865f(0x49f)],')')));})),_0x3295c2;}function ea(_0x4f93bf,_0x6ff9f2){const _0x5b4bc5=_0xe3a6b9;var _0xc2fa65,_0x29678c=_0x6ff9f2[_0x5b4bc5(0x4be)];return!_0x29678c||_0x29678c[_0x5b4bc5(0x285)]===0x0?_0x4f93bf:_0x4f93bf[_0x5b4bc5(0x2d8)]==='defs'&&(!((_0xc2fa65=_0x4f93bf['children'])===null||_0xc2fa65===void 0x0)&&_0xc2fa65[_0x5b4bc5(0x285)])?ee(ee({},_0x4f93bf),{'children':_0x4f93bf[_0x5b4bc5(0x371)][_0x5b4bc5(0x546)](function(_0x3eb101){const _0x24347f=_0x5b4bc5;return typeof _0x3eb101[_0x24347f(0x46b)]['id']==_0x24347f(0x43a)&&_0x29678c&&_0x29678c[_0x24347f(0x389)](_0x3eb101[_0x24347f(0x46b)]['id'])>-0x1?ee(ee({},_0x3eb101),{'attrs':ee(ee({},_0x3eb101[_0x24347f(0x46b)]),{'id':_0x3eb101['attrs']['id']+_0x6ff9f2[_0x24347f(0x49f)]})}):_0x3eb101;})}):_0x4f93bf;}function ta(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}bs['displayName']='UniverIcon';var sa={'tag':_0xe3a6b9(0x524),'attrs':{'fill':_0xe3a6b9(0x5cb),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xe3a6b9(0x4ab)},'children':[{'tag':_0xe3a6b9(0x40a),'attrs':{'stroke':_0xe3a6b9(0x4b2),'d':_0xe3a6b9(0x55c),'strokeLinecap':_0xe3a6b9(0x55a),'strokeLinejoin':_0xe3a6b9(0x55a),'strokeWidth':1.2}}]},{'tag':_0xe3a6b9(0x340),'attrs':{},'children':[{'tag':_0xe3a6b9(0x48b),'attrs':{'id':_0xe3a6b9(0x5ce)},'children':[{'tag':_0xe3a6b9(0x40a),'attrs':{'fill':_0xe3a6b9(0x3e0),'d':_0xe3a6b9(0x243)}}]}]}],'defIds':[_0xe3a6b9(0x5ce)]},Mi=_0x287f1e(function(_0x3d5b3b,_0x45a4c8){const _0x430f0e=_0xe3a6b9;return _0x3f5a91(bs,Object[_0x430f0e(0x25f)]({},_0x3d5b3b,{'id':_0x430f0e(0x55d),'ref':_0x45a4c8,'icon':sa}));});Mi[_0xe3a6b9(0x585)]=_0xe3a6b9(0x415);var ia={'tag':_0xe3a6b9(0x524),'attrs':{'fill':_0xe3a6b9(0x5cb),'viewBox':_0xe3a6b9(0x488),'width':_0xe3a6b9(0x485),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xe3a6b9(0x40a),'attrs':{'stroke':_0xe3a6b9(0x4b2),'d':_0xe3a6b9(0x54a),'strokeLinecap':_0xe3a6b9(0x55a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xe3a6b9(0x340),'attrs':{},'children':[{'tag':_0xe3a6b9(0x48b),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xe3a6b9(0x3e0),'d':'M0\x200H16V16H0z','transform':_0xe3a6b9(0x232)}}]}]}],'defIds':[_0xe3a6b9(0x4cf)]},xi=_0x287f1e(function(_0x5d2ffa,_0x1bc78b){const _0x174cd1=_0xe3a6b9;return _0x3f5a91(bs,Object[_0x174cd1(0x25f)]({},_0x5d2ffa,{'id':_0x174cd1(0x3b1),'ref':_0x1bc78b,'icon':ia}));});xi['displayName']=_0xe3a6b9(0x301);function Li(_0x2f2e39){const _0x262b42=_0xe3a6b9;var _0x47a717,_0x5c2cd7,_0x3019bb='';if(typeof _0x2f2e39==_0x262b42(0x43a)||typeof _0x2f2e39==_0x262b42(0x300))_0x3019bb+=_0x2f2e39;else{if(typeof _0x2f2e39==_0x262b42(0x337)){if(Array['isArray'](_0x2f2e39)){var _0x3d823b=_0x2f2e39[_0x262b42(0x285)];for(_0x47a717=0x0;_0x47a717<_0x3d823b;_0x47a717++)_0x2f2e39[_0x47a717]&&(_0x5c2cd7=Li(_0x2f2e39[_0x47a717]))&&(_0x3019bb&&(_0x3019bb+='\x20'),_0x3019bb+=_0x5c2cd7);}else{for(_0x5c2cd7 in _0x2f2e39)_0x2f2e39[_0x5c2cd7]&&(_0x3019bb&&(_0x3019bb+='\x20'),_0x3019bb+=_0x5c2cd7);}}}return _0x3019bb;}function na(){const _0x4b2d96=_0xe3a6b9;for(var _0x34ab13,_0x560c59,_0x35814f=0x0,_0x122d65='',_0x50958e=arguments[_0x4b2d96(0x285)];_0x35814f<_0x50958e;_0x35814f++)(_0x34ab13=arguments[_0x35814f])&&(_0x560c59=Li(_0x34ab13))&&(_0x122d65&&(_0x122d65+='\x20'),_0x122d65+=_0x560c59);return _0x122d65;}const ra='univer-online-status-icon',oa=_0xe3a6b9(0x38e),aa=_0xe3a6b9(0x5ba),ca=_0xe3a6b9(0x1fd),ha=_0xe3a6b9(0x550),Ze={'onlineStatusIcon':ra,'onlineStatusTitle':oa,'onlineStatus':aa,'online':ca,'offline':ha};function la(_0x5ac212){const _0x140983=_0xe3a6b9;switch(_0x5ac212){case J[_0x140983(0x22a)]:return _0x140983(0x2d3);case J[_0x140983(0x551)]:return _0x140983(0x43d);case J[_0x140983(0x406)]:return _0x140983(0x2c8);case J[_0x140983(0x5bd)]:return'collabStatus.notCollab';case J[_0x140983(0x5b6)]:case J['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case J[_0x140983(0x50a)]:case J['PENDING']:return _0x140983(0x220);}}function _a(_0x48ed67){const _0xab42a3=_0xe3a6b9,{status$:_0xf6ed8}=_0x48ed67,_0x388488=_0x2efd18(_0xf6ed8,J[_0xab42a3(0x5bd)]),_0x577ba6=_0x8c2bb4(_0x363878),_0x4f2f34=_0x8c2bb4(Ae),_0x5a645a=_0x388488!==J['OFFLINE'],_0x50700c=_0x577ba6['t'](la(_0x388488)),_0x4581bc=na(Ze['onlineStatus'],{[Ze[_0xab42a3(0x296)]]:_0x5a645a,[Ze[_0xab42a3(0x486)]]:!_0x5a645a}),_0x56deb8=_0x5a645a?_0x5f3cc8[_0xab42a3(0x2ff)](xi,null):_0x5f3cc8[_0xab42a3(0x2ff)](Mi,null),_0x202f95=_0x4ea52a(()=>{const _0x34b2f9=_0xab42a3;_0x5a645a||_0x4f2f34[_0x34b2f9(0x4da)]();},[_0x5a645a,_0x4f2f34]);function _0x317006(){const _0x4c4fee=_0xab42a3;return _0x5f3cc8['createElement'](_0x4c4fee(0x23b),{'className':_0x4581bc,'onClick':_0x202f95},_0x5f3cc8[_0x4c4fee(0x2ff)](_0x4c4fee(0x23b),{'className':Ze['onlineStatusIcon']},_0x56deb8),_0x5f3cc8[_0x4c4fee(0x2ff)](_0x4c4fee(0x23b),{'className':Ze[_0x4c4fee(0x5b8)]},_0x50700c));}return _0x5a645a?_0x317006():_0x5f3cc8['createElement'](_0x1208ed,{'title':_0x577ba6['t'](_0xab42a3(0x526))},_0x317006());}var ua=Object[_0xe3a6b9(0x2e1)],da=Object[_0xe3a6b9(0x4b1)],fa=(_0x367e5d,_0x36ab3c,_0x339a20,_0x557309)=>{const _0xe0709f=_0xe3a6b9;for(var _0x223190=_0x557309>0x1?void 0x0:_0x557309?da(_0x36ab3c,_0x339a20):_0x36ab3c,_0x521ff7=_0x367e5d[_0xe0709f(0x285)]-0x1,_0x50fe95;_0x521ff7>=0x0;_0x521ff7--)(_0x50fe95=_0x367e5d[_0x521ff7])&&(_0x223190=(_0x557309?_0x50fe95(_0x36ab3c,_0x339a20,_0x223190):_0x50fe95(_0x223190))||_0x223190);return _0x557309&&_0x223190&&ua(_0x36ab3c,_0x339a20,_0x223190),_0x223190;},ht=(_0xd19218,_0x471821)=>(_0x46cc2a,_0x405d10)=>_0x471821(_0x46cc2a,_0x405d10,_0xd19218);let St=class extends _0x4f0ec0{constructor(_0x4c3d0c,_0x5e696d,_0xc14580,_0x40184a){const _0x2f8dfa=_0xe3a6b9;super(),g(this,_0x2f8dfa(0x3da),new _0x23c074(J['NOT_COLLAB'])),(this[_0x2f8dfa(0x342)]=_0x4c3d0c,this[_0x2f8dfa(0x403)]=_0x5e696d,this[_0x2f8dfa(0x4c4)]=_0xc14580,this[_0x2f8dfa(0x3c9)]=_0x40184a,this[_0x2f8dfa(0x224)](),this[_0x2f8dfa(0x246)]());}[_0xe3a6b9(0x246)](){const _0x268f55=_0xe3a6b9;this[_0x268f55(0x5d1)](this[_0x268f55(0x342)][_0x268f55(0x2cd)][_0x268f55(0x531)](_0x211e4b(()=>{const _0x17c42c=_0x268f55,_0x38f840=this[_0x17c42c(0x342)][_0x17c42c(0x482)]();return _0x38f840?this[_0x17c42c(0x3c9)]['getCollabEntity$'](_0x38f840[_0x17c42c(0x1ea)]()):_0x19d5e8(null);}),_0x211e4b(_0x56ed4f=>_0x56ed4f?_0x56ed4f[_0x268f55(0x252)]:_0x19d5e8(J[_0x268f55(0x5bd)])))[_0x268f55(0x3d4)](_0x468296=>{const _0x156558=_0x268f55;this[_0x156558(0x3da)]['next'](_0x468296);}));}[_0xe3a6b9(0x224)](){const _0x3821de=_0xe3a6b9;this['disposeWithMe'](this[_0x3821de(0x403)][_0x3821de(0x5bc)](_0x5027da[_0x3821de(0x35d)],()=>_0x52c9bc(va({'status$':this[_0x3821de(0x3da)][_0x3821de(0x28e)]()}),this[_0x3821de(0x4c4)])));}};St=fa([ht(0x0,_0x17aa8b),ht(0x1,_0x571152),ht(0x2,_0x432547(_0x521cd6)),ht(0x3,_0x432547(it))],St);function va(_0x33ea75){const {status$:_0x4d2968}=_0x33ea75;return function(){const _0x28924d=_0x272d;return _0x5f3cc8[_0x28924d(0x2ff)](_a,{'status$':_0x4d2968});};}const $i=_0x205a3e(_0xe3a6b9(0x46e));var ma=Object[_0xe3a6b9(0x2e1)],pa=Object[_0xe3a6b9(0x4b1)],ga=(_0x124408,_0x2e0958,_0x1a5806,_0xfe79cd)=>{const _0x1bfb01=_0xe3a6b9;for(var _0x22a7f5=_0xfe79cd>0x1?void 0x0:_0xfe79cd?pa(_0x2e0958,_0x1a5806):_0x2e0958,_0x1ffc54=_0x124408[_0x1bfb01(0x285)]-0x1,_0x20600e;_0x1ffc54>=0x0;_0x1ffc54--)(_0x20600e=_0x124408[_0x1ffc54])&&(_0x22a7f5=(_0xfe79cd?_0x20600e(_0x2e0958,_0x1a5806,_0x22a7f5):_0x20600e(_0x22a7f5))||_0x22a7f5);return _0xfe79cd&&_0x22a7f5&&ma(_0x2e0958,_0x1a5806,_0x22a7f5),_0x22a7f5;},ke=(_0x51fa1e,_0x2d9ec8)=>(_0x458576,_0x233f5f)=>_0x2d9ec8(_0x458576,_0x233f5f,_0x51fa1e);let It=class extends _0x90c284{constructor(_0x481904,_0x4292c6,_0x24a1e5,_0x32258b,_0x1283f5,_0x340520){const _0xa1af4a=_0xe3a6b9;super(),this['_urlService']=_0x481904,this[_0xa1af4a(0x230)]=_0x4292c6,this[_0xa1af4a(0x1e6)]=_0x24a1e5,this[_0xa1af4a(0x559)]=_0x32258b,this[_0xa1af4a(0x490)]=_0x1283f5,_0x340520?_0x340520==null||_0x340520[_0xa1af4a(0x213)]()[_0xa1af4a(0x347)](()=>this['_init']()):(this[_0xa1af4a(0x230)][_0xa1af4a(0x25c)](_0xa1af4a(0x3d3),_0xa1af4a(0x3a3)),this[_0xa1af4a(0x430)]());}async[_0xe3a6b9(0x430)](){const _0x1abdcd=_0xe3a6b9,_0x3df513=this['_urlService'][_0x1abdcd(0x586)](_0x1abdcd(0x46d)),_0x157cd8=this[_0x1abdcd(0x3f8)]['getParam'](_0x1abdcd(0x36c));if(!_0x3df513||!_0x157cd8){this[_0x1abdcd(0x230)][_0x1abdcd(0x25c)](_0x1abdcd(0x3d3),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x157cd8)){case ce[_0x1abdcd(0x4fb)]:{const _0x20ed6d=await this[_0x1abdcd(0x47a)](_0x3df513);this[_0x1abdcd(0x346)](_0x20ed6d);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x3df513);break;}default:{this[_0x1abdcd(0x230)][_0x1abdcd(0x46c)](_0x1abdcd(0x3d3),_0x1abdcd(0x5a1));break;}}}async[_0xe3a6b9(0x346)](_0x4fbf81){const _0x36d1a0=_0xe3a6b9;await this[_0x36d1a0(0x4d9)](_0x4fbf81),_0x4fbf81[_0x36d1a0(0x3f2)][_0x36d1a0(0x531)](_0x4c7076(this[_0x36d1a0(0x31a)]))[_0x36d1a0(0x3d4)](_0x5b3610=>{const _0x410f53=_0x36d1a0;_0x5b3610&&this[_0x410f53(0x22b)](_0x5b3610);}),this[_0x36d1a0(0x3f8)][_0x36d1a0(0x3a4)][_0x36d1a0(0x531)](_0x4c7076(this['dispose$']))[_0x36d1a0(0x3d4)](()=>this[_0x36d1a0(0x4d9)](_0x4fbf81));}[_0xe3a6b9(0x22b)](_0x1d9601,_0x41b060=!0x1){const _0xa9b9d5=_0xe3a6b9,_0xab9280=this[_0xa9b9d5(0x3f8)][_0xa9b9d5(0x586)](_0xa9b9d5(0x1e8));_0x1d9601[_0xa9b9d5(0x325)]()!==_0xab9280&&this[_0xa9b9d5(0x3f8)][_0xa9b9d5(0x2bb)](_0xa9b9d5(0x1e8),_0x1d9601['getSheetId'](),_0x41b060);}async['_updateSubUnitFromURLParams'](_0x259aa6){const _0x3c48d3=_0xe3a6b9;var _0x38859d;const _0x1ee692=this[_0x3c48d3(0x3f8)][_0x3c48d3(0x586)]('subunit');if(!_0x1ee692||!_0x259aa6['getSheetBySheetId'](_0x1ee692)){const _0x587ada=_0x259aa6[_0x3c48d3(0x3ea)]()[0x0],_0x91d4c8=_0x259aa6[_0x3c48d3(0x250)](_0x587ada);if(!_0x91d4c8)return;this[_0x3c48d3(0x22b)](_0x91d4c8,!0x0),await this[_0x3c48d3(0x1e6)]['executeCommand'](_0x2ab4e3['id'],{'unitId':_0x259aa6[_0x3c48d3(0x1ea)](),'subUnitId':_0x587ada});return;}((_0x38859d=_0x259aa6[_0x3c48d3(0x39e)]())==null?void 0x0:_0x38859d[_0x3c48d3(0x325)]())!==_0x1ee692&&await this['_commandService']['executeCommand'](_0x2ab4e3['id'],{'unitId':_0x259aa6['getUnitId'](),'subUnitId':_0x1ee692});}async[_0xe3a6b9(0x47a)](_0x55e579){const _0x53bd03=_0xe3a6b9;let _0x4c134e=0x0;const _0x299e76=await this[_0x53bd03(0x559)][_0x53bd03(0x458)](_0x55e579);return _0x299e76&&(_0x299e76[_0x53bd03(0x381)]||_0x299e76[_0x53bd03(0x2fd)][_0x53bd03(0x285)]!==0x0)&&(_0x4c134e=_0x299e76[_0x53bd03(0x538)]),_0x4c134e===0x0&&this['_logService'][_0x53bd03(0x25c)](_0x53bd03(0x3d3),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x53bd03(0x33b)](_0x55e579,_0x4c134e);}async['_loadDoc'](_0x132b96){const _0x2e60a7=_0xe3a6b9;let _0x2fa44f=0x0;const _0x8873db=await this[_0x2e60a7(0x559)][_0x2e60a7(0x458)](_0x132b96);return _0x8873db&&(_0x8873db['awaitingChangeset']||_0x8873db[_0x2e60a7(0x2fd)][_0x2e60a7(0x285)]!==0x0)&&(_0x2fa44f=_0x8873db['rev']),_0x2fa44f===0x0&&this[_0x2e60a7(0x230)][_0x2e60a7(0x25c)]('[DataLoaderController]',_0x2e60a7(0x3d6)),this['_snapshotService'][_0x2e60a7(0x1d9)](_0x132b96,_0x2fa44f);}};It=ga([ke(0x0,$i),ke(0x1,_0xfb205),ke(0x2,_0xc67fcf),ke(0x3,_0x432547(q)),ke(0x4,_0x432547(_0x50afc6)),ke(0x5,_0x175412(_0x39d8c4))],It);var Sa=Object[_0xe3a6b9(0x2e1)],Ia=Object['getOwnPropertyDescriptor'],Ca=(_0x5da81d,_0x2662cc,_0x5f394d,_0x42d480)=>{const _0x450380=_0xe3a6b9;for(var _0x47e849=_0x42d480>0x1?void 0x0:_0x42d480?Ia(_0x2662cc,_0x5f394d):_0x2662cc,_0x5dfb03=_0x5da81d[_0x450380(0x285)]-0x1,_0x5b56f9;_0x5dfb03>=0x0;_0x5dfb03--)(_0x5b56f9=_0x5da81d[_0x5dfb03])&&(_0x47e849=(_0x42d480?_0x5b56f9(_0x2662cc,_0x5f394d,_0x47e849):_0x5b56f9(_0x47e849))||_0x47e849);return _0x42d480&&_0x47e849&&Sa(_0x2662cc,_0x5f394d,_0x47e849),_0x47e849;},Ks=(_0xa2bb5b,_0x2e86ec)=>(_0x3a8fbb,_0x517a8e)=>_0x2e86ec(_0x3a8fbb,_0x517a8e,_0xa2bb5b);const Ea=_0xe3a6b9(0x57c),ba=_0xe3a6b9(0x494);let Ct=class extends _0x4f0ec0{constructor(_0x4e8a40,_0x4d7e54){const _0x4a6a11=_0xe3a6b9;super(),this[_0x4a6a11(0x342)]=_0x4e8a40,this['_configService']=_0x4d7e54,this[_0x4a6a11(0x430)]();}[_0xe3a6b9(0x430)](){const _0x39457f=_0xe3a6b9;this[_0x39457f(0x5d1)](this[_0x39457f(0x342)]['focused$']['subscribe'](()=>{const _0x482094=_0x39457f;var _0x563f27;const _0x5b2d8e=this[_0x482094(0x342)]['getFocusedUnit']();let _0x12354d=(_0x563f27=this[_0x482094(0x466)][_0x482094(0x29b)](Ea))!=null?_0x563f27:ba;_0x5b2d8e instanceof _0x5548a9&&(_0x12354d=_0x5b2d8e[_0x482094(0x27f)]),document[_0x482094(0x45c)]=_0x12354d;}));}};Ct=Ca([Ks(0x0,_0x17aa8b),Ks(0x1,_0x4b50bc)],Ct);var Ta=Object['defineProperty'],Ra=Object[_0xe3a6b9(0x4b1)],ya=(_0x4e4184,_0x192243,_0x49f085,_0x222c09)=>{for(var _0x54870a=_0x222c09>0x1?void 0x0:_0x222c09?Ra(_0x192243,_0x49f085):_0x192243,_0x5deab1=_0x4e4184['length']-0x1,_0x158e28;_0x5deab1>=0x0;_0x5deab1--)(_0x158e28=_0x4e4184[_0x5deab1])&&(_0x54870a=(_0x222c09?_0x158e28(_0x192243,_0x49f085,_0x54870a):_0x158e28(_0x54870a))||_0x54870a);return _0x222c09&&_0x54870a&&Ta(_0x192243,_0x49f085,_0x54870a),_0x54870a;},kt=(_0x15dabc,_0x3104)=>(_0x22dc2f,_0x4d2171)=>_0x3104(_0x22dc2f,_0x4d2171,_0x15dabc);let Et=class{constructor(_0x32b71c,_0x3e6be6,_0x2ea36a){const _0x1d52a7=_0xe3a6b9;this[_0x1d52a7(0x466)]=_0x32b71c,this[_0x1d52a7(0x211)]=_0x3e6be6,this['localeService']=_0x2ea36a,this[_0x1d52a7(0x4c3)]();}['init'](){const _0x17575f=_0xe3a6b9;this[_0x17575f(0x211)][_0x17575f(0x3f5)]({'priority':0x1,'interceptor':(_0x4ac4aa,_0x46343d)=>_0x46343d(_0x4ac4aa)[_0x17575f(0x531)](_0x4de8c1(async _0x2f7ea3=>{const _0x3063e4=_0x17575f,_0x3edccb=_0x2f7ea3;if(_0x3edccb['status']===0x191&&window['confirm'](this[_0x3063e4(0x3fc)]['t'](_0x3063e4(0x447)))){const _0x1bae47=window[_0x3063e4(0x1fb)](window['location'][_0x3063e4(0x54b)]);window[_0x3063e4(0x38f)][_0x3063e4(0x54b)]=this['_getLoginPath']()+_0x3063e4(0x219)+_0x1bae47;}return _0x3edccb;}))});}[_0xe3a6b9(0x570)](){const _0x233c3f=_0xe3a6b9;var _0x326117,_0x4086a6;const _0x588356=this[_0x233c3f(0x466)][_0x233c3f(0x29b)](Sr),_0x4bb60e=this[_0x233c3f(0x466)]['getConfig'](ie);return(_0x4086a6=(_0x326117=_0x4bb60e==null?void 0x0:_0x4bb60e['loginUrlKey'])!=null?_0x326117:_0x588356)!=null?_0x4086a6:Ir;}};Et=ya([kt(0x0,_0x4b50bc),kt(0x1,_0x432547(_0x181521)),kt(0x2,_0x432547(_0x363878))],Et);var Oa=Object[_0xe3a6b9(0x2e1)],wa=Object[_0xe3a6b9(0x4b1)],Da=(_0x545e19,_0x5826d4,_0x51d3a4,_0x26705c)=>{const _0x4babe6=_0xe3a6b9;for(var _0x2aec79=_0x26705c>0x1?void 0x0:_0x26705c?wa(_0x5826d4,_0x51d3a4):_0x5826d4,_0x585ffe=_0x545e19[_0x4babe6(0x285)]-0x1,_0x48cc4d;_0x585ffe>=0x0;_0x585ffe--)(_0x48cc4d=_0x545e19[_0x585ffe])&&(_0x2aec79=(_0x26705c?_0x48cc4d(_0x5826d4,_0x51d3a4,_0x2aec79):_0x48cc4d(_0x2aec79))||_0x2aec79);return _0x26705c&&_0x2aec79&&Oa(_0x5826d4,_0x51d3a4,_0x2aec79),_0x2aec79;},zs=(_0x459dee,_0x48e661)=>(_0xb47af7,_0x4c58bf)=>_0x48e661(_0xb47af7,_0x4c58bf,_0x459dee);const Pa=_0xe3a6b9(0x429),Ua=_0xe3a6b9(0x516);let as=class extends _0x4f0ec0{constructor(_0x2eb04e,_0x403411){const _0xcc5e0=_0xe3a6b9;super(),this[_0xcc5e0(0x5be)]=_0x2eb04e,this[_0xcc5e0(0x466)]=_0x403411,this[_0xcc5e0(0x3e5)]();}[_0xe3a6b9(0x3e5)](){const _0x1046ea=_0xe3a6b9,_0x36bf49=this;this[_0x1046ea(0x5d1)](this['_HTTPService'][_0x1046ea(0x3f5)]({'priority':0x3e7,'interceptor':_0xe5a875({'isMatch'(_0x59e542){const _0x102d2d=_0x1046ea;var _0x21eeae;if(_0x59e542['method']===_0x102d2d(0x4d8)&&((_0x21eeae=_0x59e542[_0x102d2d(0x33a)])!=null&&_0x21eeae[_0x102d2d(0x1ef)])){const {objectID:_0x13ad3e,objectType:_0x3f676b}=_0x59e542[_0x102d2d(0x33a)]['body']||{};if(!_0x13ad3e||_0x3f676b===void 0x0)return!0x1;const _0x21b789=_0x36bf49['_getAPIPrefixPath']()+'/'+_0x3f676b+'/object/'+_0x13ad3e+'/allowed';if(_0x59e542[_0x102d2d(0x392)]===_0x21b789)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36f59c){const _0x182724=_0x1046ea;var _0x448e44;return(_0x448e44=_0x36f59c[_0x182724(0x33a)])==null?void 0x0:_0x448e44[_0x182724(0x1ef)];},'mergeParamsToRequest'(_0x23d163,_0x1740c8){const _0x3224fd=_0x1046ea,_0x5111af=_0x36bf49[_0x3224fd(0x464)]()+_0x3224fd(0x200),_0x3653d8=_0x23d163['reduce']((_0x2935fc,_0x4bf234)=>{const _0xd8ebe9=_0x3224fd,{unitID:_0x1efb95,objectID:_0x3f2e4c,objectType:_0x4100cb,actions:_0x4d9b77}=_0x4bf234;return _0x2935fc[_0x1efb95]||(_0x2935fc[_0x1efb95]={}),_0x2935fc[_0x1efb95][_0x3f2e4c]||(_0x2935fc[_0x1efb95][_0x3f2e4c]={'objectID':_0x3f2e4c,'objectType':_0x4100cb,'actions':[]}),_0x2935fc[_0x1efb95][_0x3f2e4c][_0xd8ebe9(0x280)][_0xd8ebe9(0x3f6)](..._0x4d9b77),_0x2935fc;},{}),_0x58d7f2=[];for(const _0x15da18 in _0x3653d8)for(const _0x9649cf in _0x3653d8[_0x15da18]){const {actions:_0x5d6360,objectType:_0x43e152}=_0x3653d8[_0x15da18][_0x9649cf],_0x1d6dff=[...new Set(_0x5d6360)];_0x58d7f2[_0x3224fd(0x3f6)]({'unitID':_0x15da18,'objectID':_0x9649cf,'objectType':_0x43e152,'actions':_0x1d6dff});}return new _0xa584b3(_0x3224fd(0x4d8),_0x5111af,{'headers':_0x1740c8[_0x3224fd(0x1db)],'withCredentials':_0x1740c8[_0x3224fd(0x4c0)],'responseType':_0x1740c8['responseType'],'body':{'requests':_0x58d7f2}});}},{'distributeResult'(_0x1b8a21,_0x33e03c){const _0x207745=_0x1046ea,{objectActions:_0xda2d7a}=_0x1b8a21;return _0x33e03c[_0x207745(0x546)](_0x42c164=>{const _0x4d2593=_0x207745,{unitID:_0x1bd172,objectID:_0x5b7534,actions:_0x199080}=_0x42c164,_0xea3cf7=_0xda2d7a[_0x4d2593(0x233)](_0x72818b=>_0x72818b[_0x4d2593(0x24d)]===_0x1bd172&&_0x72818b[_0x4d2593(0x5ac)]===_0x5b7534),_0x21e7e3=_0x199080[_0x4d2593(0x546)](_0x26fb18=>_0xea3cf7==null?void 0x0:_0xea3cf7[_0x4d2593(0x280)][_0x4d2593(0x233)](_0x55f582=>_0x55f582[_0x4d2593(0x286)]===_0x26fb18))[_0x4d2593(0x598)](_0x11fa18=>!!_0x11fa18);return{'config':_0x42c164,'result':{'actions':_0x21e7e3,'error':_0x1b8a21['error']}};});}})}));}[_0xe3a6b9(0x464)](){const _0x52076e=_0xe3a6b9;var _0x4eff7d,_0x42e61c;const _0x57c297=this[_0x52076e(0x466)][_0x52076e(0x29b)](Pa),_0x3e604a=this[_0x52076e(0x466)][_0x52076e(0x29b)](ie);return(_0x42e61c=(_0x4eff7d=_0x3e604a==null?void 0x0:_0x3e604a[_0x52076e(0x596)])!=null?_0x4eff7d:_0x57c297)!=null?_0x42e61c:Ua;}async['create'](_0x103e78){const _0x15c0dd=_0xe3a6b9,_0x2963f8=this['_getAPIPrefixPath']()+'/'+_0x103e78[_0x15c0dd(0x3ef)]+_0x15c0dd(0x318);return(await this[_0x15c0dd(0x5be)][_0x15c0dd(0x4e1)](_0x2963f8,{'body':_0x103e78}))[_0x15c0dd(0x1ef)]['objectID']||'';}async['list'](_0x24b563){const _0x589be4=_0xe3a6b9,_0x1fd969=this[_0x589be4(0x464)]()+_0x589be4(0x3a0);return(await this[_0x589be4(0x5be)][_0x589be4(0x4e1)](_0x1fd969,{'body':_0x24b563}))[_0x589be4(0x1ef)][_0x589be4(0x589)];}async[_0xe3a6b9(0x33c)](_0xbb2c67){const _0x5dfc74=_0xe3a6b9,_0x41876e=this['_getAPIPrefixPath']()+'/'+_0xbb2c67[_0x5dfc74(0x3ef)]+'/object/'+_0xbb2c67['objectID'];await this[_0x5dfc74(0x5be)][_0x5dfc74(0x56c)](_0x41876e,{'body':_0xbb2c67});}async['allowed'](_0x21f754){const _0x25f561=_0xe3a6b9,_0x91bcbe=this['_getAPIPrefixPath']()+'/'+_0x21f754[_0x25f561(0x3ef)]+'/object/'+_0x21f754[_0x25f561(0x5ac)]+_0x25f561(0x336);return(await this[_0x25f561(0x5be)][_0x25f561(0x4e1)](_0x91bcbe,{'body':_0x21f754}))[_0x25f561(0x1ef)]['actions'];}async[_0xe3a6b9(0x292)](_0x52e6fc){const _0x262744=_0xe3a6b9,_0x2df241=this[_0x262744(0x464)]()+_0x262744(0x200);return(await this['_HTTPService']['post'](_0x2df241,{'body':{'requests':_0x52e6fc}}))['body']['objectActions'];}async[_0xe3a6b9(0x3c3)](_0x499aa9){const _0x89b698=_0xe3a6b9,_0xb0723f=this[_0x89b698(0x464)]()+'/'+_0x499aa9[_0x89b698(0x3ef)]+'/role',_0x42bcb7=await this[_0x89b698(0x5be)][_0x89b698(0x4e1)](_0xb0723f,{'body':_0x499aa9});return{'roles':_0x42bcb7[_0x89b698(0x1ef)][_0x89b698(0x4ee)],'actions':_0x42bcb7[_0x89b698(0x1ef)][_0x89b698(0x280)]};}async[_0xe3a6b9(0x372)](_0x51f533){const _0x3125fb=_0xe3a6b9,_0x4f7a9f=this[_0x3125fb(0x464)]()+_0x3125fb(0x491);await this['_HTTPService'][_0x3125fb(0x276)](_0x4f7a9f,{'params':{'collaboratorID':_0x51f533[_0x3125fb(0x46f)],'objectID':_0x51f533[_0x3125fb(0x5ac)],'unitID':_0x51f533[_0x3125fb(0x24d)]}});}async[_0xe3a6b9(0x1f0)](_0x152968){const _0x21cab0=_0xe3a6b9,_0x256865=this[_0x21cab0(0x464)]()+_0x21cab0(0x491);await this[_0x21cab0(0x5be)][_0x21cab0(0x23d)](_0x256865,{'body':_0x152968});}async[_0xe3a6b9(0x5c4)](_0x1d904c){const _0x3e63f6=_0xe3a6b9,_0x4eaa6b=this[_0x3e63f6(0x464)]()+_0x3e63f6(0x491);await this[_0x3e63f6(0x5be)][_0x3e63f6(0x4e1)](_0x4eaa6b,{'body':_0x1d904c});}async['listCollaborators'](_0x1d19c0){const _0x5c2fde=_0xe3a6b9,_0x466c4c=this[_0x5c2fde(0x464)]()+'/collaborator';return(await this['_HTTPService'][_0x5c2fde(0x519)](_0x466c4c,{'params':{'objectID':_0x1d19c0[_0x5c2fde(0x5ac)],'unitID':_0x1d19c0[_0x5c2fde(0x24d)]}}))['body'][_0x5c2fde(0x2f4)];}async[_0xe3a6b9(0x548)](_0x16e351){const _0x19251b=_0xe3a6b9,_0x427927=this[_0x19251b(0x464)]()+'/collaborator';await this['_HTTPService'][_0x19251b(0x56c)](_0x427927,{'body':_0x16e351});}};as=Da([zs(0x0,_0x432547(_0x181521)),zs(0x1,_0x432547(_0x4b50bc))],as);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x8364f2){const _0x514a73=_0xe3a6b9;return _0x8364f2&&_0x8364f2[_0x514a73(0x3e1)]&&Object[_0x514a73(0x5cc)]['hasOwnProperty'][_0x514a73(0x2d2)](_0x8364f2,_0x514a73(0x40e))?_0x8364f2[_0x514a73(0x40e)]:_0x8364f2;}var Hi={'exports':{}};function Na(_0x1d63a2){const _0xd6dfc3=_0xe3a6b9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1d63a2+_0xd6dfc3(0x266));}var Wt={'exports':{}},qs;function ue(){return qs||(qs=0x1,function(_0x4a40f6,_0x5c7eab){(function(_0x2c2a07,_0x2f9081){const _0x2fec7b=_0x272d;_0x4a40f6[_0x2fec7b(0x274)]=_0x2f9081();}(Z,function(){var _0x2f2f6d=_0x2f2f6d||function(_0x2281b6,_0x470e2a){const _0x3fa601=_0x272d;var _0x996ebd;if(typeof window<'u'&&window[_0x3fa601(0x1d7)]&&(_0x996ebd=window[_0x3fa601(0x1d7)]),typeof self<'u'&&self['crypto']&&(_0x996ebd=self[_0x3fa601(0x1d7)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x996ebd=globalThis[_0x3fa601(0x1d7)]),!_0x996ebd&&typeof window<'u'&&window[_0x3fa601(0x242)]&&(_0x996ebd=window[_0x3fa601(0x242)]),!_0x996ebd&&typeof Z<'u'&&Z[_0x3fa601(0x1d7)]&&(_0x996ebd=Z['crypto']),!_0x996ebd&&typeof Na==_0x3fa601(0x48e))try{_0x996ebd=require('crypto');}catch{}var _0x1b441f=function(){const _0x215faa=_0x3fa601;if(_0x996ebd){if(typeof _0x996ebd[_0x215faa(0x56d)]==_0x215faa(0x48e))try{return _0x996ebd[_0x215faa(0x56d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x996ebd[_0x215faa(0x496)]==_0x215faa(0x48e))try{return _0x996ebd['randomBytes'](0x4)[_0x215faa(0x282)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1dcae0=Object['create']||(function(){function _0x3bb601(){}return function(_0x3a964c){const _0x526887=_0x272d;var _0x5b0daf;return _0x3bb601['prototype']=_0x3a964c,_0x5b0daf=new _0x3bb601(),_0x3bb601[_0x526887(0x5cc)]=null,_0x5b0daf;};}()),_0x1b3ef4={},_0x199f52=_0x1b3ef4[_0x3fa601(0x206)]={},_0x3cdb31=_0x199f52[_0x3fa601(0x375)]=(function(){return{'extend':function(_0x1e070c){const _0x1d572e=_0x272d;var _0xa88e36=_0x1dcae0(this);return _0x1e070c&&_0xa88e36['mixIn'](_0x1e070c),(!_0xa88e36[_0x1d572e(0x2ee)](_0x1d572e(0x4c3))||this[_0x1d572e(0x4c3)]===_0xa88e36[_0x1d572e(0x4c3)])&&(_0xa88e36[_0x1d572e(0x4c3)]=function(){const _0x448635=_0x1d572e;_0xa88e36['$super']['init'][_0x448635(0x4cb)](this,arguments);}),_0xa88e36['init'][_0x1d572e(0x5cc)]=_0xa88e36,_0xa88e36[_0x1d572e(0x54e)]=this,_0xa88e36;},'create':function(){const _0x101e9c=_0x272d;var _0x2d818d=this[_0x101e9c(0x322)]();return _0x2d818d[_0x101e9c(0x4c3)]['apply'](_0x2d818d,arguments),_0x2d818d;},'init':function(){},'mixIn':function(_0x3a21c1){const _0x4f3636=_0x272d;for(var _0x1eefc9 in _0x3a21c1)_0x3a21c1[_0x4f3636(0x2ee)](_0x1eefc9)&&(this[_0x1eefc9]=_0x3a21c1[_0x1eefc9]);_0x3a21c1[_0x4f3636(0x2ee)](_0x4f3636(0x25e))&&(this[_0x4f3636(0x25e)]=_0x3a21c1[_0x4f3636(0x25e)]);},'clone':function(){const _0xe06e75=_0x272d;return this[_0xe06e75(0x4c3)]['prototype'][_0xe06e75(0x322)](this);}};}()),_0x4bed5a=_0x199f52[_0x3fa601(0x3cd)]=_0x3cdb31['extend']({'init':function(_0x2394d4,_0x418321){const _0x5eda6a=_0x3fa601;_0x2394d4=this[_0x5eda6a(0x408)]=_0x2394d4||[],_0x418321!=_0x470e2a?this[_0x5eda6a(0x20f)]=_0x418321:this[_0x5eda6a(0x20f)]=_0x2394d4[_0x5eda6a(0x285)]*0x4;},'toString':function(_0x10123f){return(_0x10123f||_0x15cde5)['stringify'](this);},'concat':function(_0x2442fd){const _0x2e419b=_0x3fa601;var _0x58565d=this[_0x2e419b(0x408)],_0x14e99e=_0x2442fd[_0x2e419b(0x408)],_0x10b973=this[_0x2e419b(0x20f)],_0x2aad17=_0x2442fd[_0x2e419b(0x20f)];if(this[_0x2e419b(0x317)](),_0x10b973%0x4)for(var _0x1d13be=0x0;_0x1d13be<_0x2aad17;_0x1d13be++){var _0x546d95=_0x14e99e[_0x1d13be>>>0x2]>>>0x18-_0x1d13be%0x4*0x8&0xff;_0x58565d[_0x10b973+_0x1d13be>>>0x2]|=_0x546d95<<0x18-(_0x10b973+_0x1d13be)%0x4*0x8;}else{for(var _0x2fabb0=0x0;_0x2fabb0<_0x2aad17;_0x2fabb0+=0x4)_0x58565d[_0x10b973+_0x2fabb0>>>0x2]=_0x14e99e[_0x2fabb0>>>0x2];}return this[_0x2e419b(0x20f)]+=_0x2aad17,this;},'clamp':function(){const _0x181a85=_0x3fa601;var _0x27cc5a=this['words'],_0x4224de=this[_0x181a85(0x20f)];_0x27cc5a[_0x4224de>>>0x2]&=0xffffffff<<0x20-_0x4224de%0x4*0x8,_0x27cc5a[_0x181a85(0x285)]=_0x2281b6['ceil'](_0x4224de/0x4);},'clone':function(){const _0x3c9c55=_0x3fa601;var _0x20aba6=_0x3cdb31['clone']['call'](this);return _0x20aba6[_0x3c9c55(0x408)]=this[_0x3c9c55(0x408)][_0x3c9c55(0x398)](0x0),_0x20aba6;},'random':function(_0x5bd1ce){const _0x29134b=_0x3fa601;for(var _0x484331=[],_0x5cf577=0x0;_0x5cf577<_0x5bd1ce;_0x5cf577+=0x4)_0x484331[_0x29134b(0x3f6)](_0x1b441f());return new _0x4bed5a[(_0x29134b(0x4c3))](_0x484331,_0x5bd1ce);}}),_0x40bd57=_0x1b3ef4['enc']={},_0x15cde5=_0x40bd57[_0x3fa601(0x38b)]={'stringify':function(_0x2d57fb){const _0x32fb5f=_0x3fa601;for(var _0x28e678=_0x2d57fb['words'],_0x4fc8c6=_0x2d57fb['sigBytes'],_0x2df1de=[],_0x5b1fa2=0x0;_0x5b1fa2<_0x4fc8c6;_0x5b1fa2++){var _0x3a7a37=_0x28e678[_0x5b1fa2>>>0x2]>>>0x18-_0x5b1fa2%0x4*0x8&0xff;_0x2df1de[_0x32fb5f(0x3f6)]((_0x3a7a37>>>0x4)[_0x32fb5f(0x25e)](0x10)),_0x2df1de[_0x32fb5f(0x3f6)]((_0x3a7a37&0xf)[_0x32fb5f(0x25e)](0x10));}return _0x2df1de['join']('');},'parse':function(_0x529a36){const _0x194e22=_0x3fa601;for(var _0x20abc1=_0x529a36[_0x194e22(0x285)],_0x26ca2e=[],_0x45a347=0x0;_0x45a347<_0x20abc1;_0x45a347+=0x2)_0x26ca2e[_0x45a347>>>0x3]|=parseInt(_0x529a36[_0x194e22(0x2a6)](_0x45a347,0x2),0x10)<<0x18-_0x45a347%0x8*0x4;return new _0x4bed5a[(_0x194e22(0x4c3))](_0x26ca2e,_0x20abc1/0x2);}},_0x523843=_0x40bd57[_0x3fa601(0x5c5)]={'stringify':function(_0x50c36d){const _0x2ec68c=_0x3fa601;for(var _0x22ef31=_0x50c36d['words'],_0x544f79=_0x50c36d[_0x2ec68c(0x20f)],_0x325646=[],_0x21fb30=0x0;_0x21fb30<_0x544f79;_0x21fb30++){var _0x1aa35f=_0x22ef31[_0x21fb30>>>0x2]>>>0x18-_0x21fb30%0x4*0x8&0xff;_0x325646['push'](String[_0x2ec68c(0x264)](_0x1aa35f));}return _0x325646['join']('');},'parse':function(_0x41d247){const _0x37e670=_0x3fa601;for(var _0x366852=_0x41d247[_0x37e670(0x285)],_0x3a7047=[],_0x534f90=0x0;_0x534f90<_0x366852;_0x534f90++)_0x3a7047[_0x534f90>>>0x2]|=(_0x41d247[_0x37e670(0x41b)](_0x534f90)&0xff)<<0x18-_0x534f90%0x4*0x8;return new _0x4bed5a[(_0x37e670(0x4c3))](_0x3a7047,_0x366852);}},_0x2f3a69=_0x40bd57[_0x3fa601(0x4a6)]={'stringify':function(_0x15e7e4){const _0x4a5963=_0x3fa601;try{return decodeURIComponent(escape(_0x523843[_0x4a5963(0x4f2)](_0x15e7e4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x16e920){const _0x435392=_0x3fa601;return _0x523843[_0x435392(0x3e6)](unescape(encodeURIComponent(_0x16e920)));}},_0x8c049a=_0x199f52['BufferedBlockAlgorithm']=_0x3cdb31[_0x3fa601(0x322)]({'reset':function(){const _0x40b275=_0x3fa601;this[_0x40b275(0x484)]=new _0x4bed5a[(_0x40b275(0x4c3))](),this['_nDataBytes']=0x0;},'_append':function(_0x5684b8){const _0x4e3ef0=_0x3fa601;typeof _0x5684b8==_0x4e3ef0(0x43a)&&(_0x5684b8=_0x2f3a69[_0x4e3ef0(0x3e6)](_0x5684b8)),this[_0x4e3ef0(0x484)][_0x4e3ef0(0x228)](_0x5684b8),this[_0x4e3ef0(0x5b3)]+=_0x5684b8['sigBytes'];},'_process':function(_0x225505){const _0x96fac9=_0x3fa601;var _0x4ffd79,_0x4b14d3=this['_data'],_0x5e9e1a=_0x4b14d3['words'],_0x171e2d=_0x4b14d3['sigBytes'],_0x426819=this['blockSize'],_0x3ad8ab=_0x426819*0x4,_0x8fdf0=_0x171e2d/_0x3ad8ab;_0x225505?_0x8fdf0=_0x2281b6[_0x96fac9(0x411)](_0x8fdf0):_0x8fdf0=_0x2281b6[_0x96fac9(0x51f)]((_0x8fdf0|0x0)-this[_0x96fac9(0x4ae)],0x0);var _0x4a962b=_0x8fdf0*_0x426819,_0xbe4fab=_0x2281b6[_0x96fac9(0x3bb)](_0x4a962b*0x4,_0x171e2d);if(_0x4a962b){for(var _0x223195=0x0;_0x223195<_0x4a962b;_0x223195+=_0x426819)this['_doProcessBlock'](_0x5e9e1a,_0x223195);_0x4ffd79=_0x5e9e1a[_0x96fac9(0x378)](0x0,_0x4a962b),_0x4b14d3[_0x96fac9(0x20f)]-=_0xbe4fab;}return new _0x4bed5a[(_0x96fac9(0x4c3))](_0x4ffd79,_0xbe4fab);},'clone':function(){const _0x20bf5a=_0x3fa601;var _0x44dc6d=_0x3cdb31[_0x20bf5a(0x5c0)]['call'](this);return _0x44dc6d[_0x20bf5a(0x484)]=this[_0x20bf5a(0x484)][_0x20bf5a(0x5c0)](),_0x44dc6d;},'_minBufferSize':0x0});_0x199f52[_0x3fa601(0x47d)]=_0x8c049a[_0x3fa601(0x322)]({'cfg':_0x3cdb31[_0x3fa601(0x322)](),'init':function(_0x3b7d46){const _0x1b0556=_0x3fa601;this['cfg']=this[_0x1b0556(0x465)][_0x1b0556(0x322)](_0x3b7d46),this[_0x1b0556(0x532)]();},'reset':function(){const _0x53c5b5=_0x3fa601;_0x8c049a[_0x53c5b5(0x532)][_0x53c5b5(0x2d2)](this),this[_0x53c5b5(0x4f1)]();},'update':function(_0x118bcb){const _0x3048e6=_0x3fa601;return this[_0x3048e6(0x45d)](_0x118bcb),this[_0x3048e6(0x3ed)](),this;},'finalize':function(_0x1f05ba){const _0xed78f5=_0x3fa601;_0x1f05ba&&this['_append'](_0x1f05ba);var _0x23e367=this[_0xed78f5(0x394)]();return _0x23e367;},'blockSize':0x10,'_createHelper':function(_0x2a37db){return function(_0x1add68,_0x2ed9b2){const _0x3517c6=_0x272d;return new _0x2a37db[(_0x3517c6(0x4c3))](_0x2ed9b2)['finalize'](_0x1add68);};},'_createHmacHelper':function(_0x5f12fa){return function(_0x114148,_0x461171){const _0x503edc=_0x272d;return new _0x130b6c[(_0x503edc(0x461))]['init'](_0x5f12fa,_0x461171)[_0x503edc(0x1e4)](_0x114148);};}});var _0x130b6c=_0x1b3ef4['algo']={};return _0x1b3ef4;}(Math);return _0x2f2f6d;}));}(Wt)),Wt['exports'];}var Ft={'exports':{}},Xs;function ji(){return Xs||(Xs=0x1,function(_0x323ad4,_0x429f2b){(function(_0x59d904,_0x33d674){const _0x3331f4=_0x272d;_0x323ad4[_0x3331f4(0x274)]=_0x33d674(ue());}(Z,function(_0x40de54){const _0x4fc3eb=_0x272d;return(function(){const _0x37838c=_0x272d;var _0x5ac326=_0x40de54,_0xbf61f4=_0x5ac326[_0x37838c(0x206)],_0x5f5234=_0xbf61f4[_0x37838c(0x3cd)],_0x28f647=_0x5ac326[_0x37838c(0x41d)];_0x28f647['Base64']={'stringify':function(_0x12daa8){const _0x48ef33=_0x37838c;var _0x589607=_0x12daa8['words'],_0x345c81=_0x12daa8['sigBytes'],_0x485e49=this['_map'];_0x12daa8[_0x48ef33(0x317)]();for(var _0x54861d=[],_0x36cf81=0x0;_0x36cf81<_0x345c81;_0x36cf81+=0x3)for(var _0x22046a=_0x589607[_0x36cf81>>>0x2]>>>0x18-_0x36cf81%0x4*0x8&0xff,_0x132132=_0x589607[_0x36cf81+0x1>>>0x2]>>>0x18-(_0x36cf81+0x1)%0x4*0x8&0xff,_0x276f33=_0x589607[_0x36cf81+0x2>>>0x2]>>>0x18-(_0x36cf81+0x2)%0x4*0x8&0xff,_0x436992=_0x22046a<<0x10|_0x132132<<0x8|_0x276f33,_0x19abb9=0x0;_0x19abb9<0x4&&_0x36cf81+_0x19abb9*0.75<_0x345c81;_0x19abb9++)_0x54861d[_0x48ef33(0x3f6)](_0x485e49[_0x48ef33(0x244)](_0x436992>>>0x6*(0x3-_0x19abb9)&0x3f));var _0xa8da8c=_0x485e49[_0x48ef33(0x244)](0x40);if(_0xa8da8c){for(;_0x54861d[_0x48ef33(0x285)]%0x4;)_0x54861d['push'](_0xa8da8c);}return _0x54861d[_0x48ef33(0x247)]('');},'parse':function(_0x2a51d5){const _0x1aea0c=_0x37838c;var _0x834342=_0x2a51d5[_0x1aea0c(0x285)],_0x192e50=this[_0x1aea0c(0x2c0)],_0x1f4555=this[_0x1aea0c(0x3b0)];if(!_0x1f4555){_0x1f4555=this[_0x1aea0c(0x3b0)]=[];for(var _0x4245fb=0x0;_0x4245fb<_0x192e50[_0x1aea0c(0x285)];_0x4245fb++)_0x1f4555[_0x192e50['charCodeAt'](_0x4245fb)]=_0x4245fb;}var _0x4e6233=_0x192e50[_0x1aea0c(0x244)](0x40);if(_0x4e6233){var _0xf3d532=_0x2a51d5[_0x1aea0c(0x389)](_0x4e6233);_0xf3d532!==-0x1&&(_0x834342=_0xf3d532);}return _0x5f48af(_0x2a51d5,_0x834342,_0x1f4555);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5f48af(_0x118e63,_0x48babf,_0x34ac04){const _0x333010=_0x37838c;for(var _0x311946=[],_0x409e99=0x0,_0x3015f1=0x0;_0x3015f1<_0x48babf;_0x3015f1++)if(_0x3015f1%0x4){var _0x27948e=_0x34ac04[_0x118e63[_0x333010(0x41b)](_0x3015f1-0x1)]<<_0x3015f1%0x4*0x2,_0x185e10=_0x34ac04[_0x118e63['charCodeAt'](_0x3015f1)]>>>0x6-_0x3015f1%0x4*0x2,_0x2196f4=_0x27948e|_0x185e10;_0x311946[_0x409e99>>>0x2]|=_0x2196f4<<0x18-_0x409e99%0x4*0x8,_0x409e99++;}return _0x5f5234[_0x333010(0x30c)](_0x311946,_0x409e99);}}()),_0x40de54['enc'][_0x4fc3eb(0x295)];}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Aa(){const _0x10bb3a=_0xe3a6b9;return Js||(Js=0x1,function(_0x21756f,_0x54a424){(function(_0x2d78c3,_0x17567e){const _0x5ea540=_0x272d;_0x21756f[_0x5ea540(0x274)]=_0x17567e(ue());}(Z,function(_0x4d70ed){const _0x299c4a=_0x272d;return function(_0x3eb863){const _0x3b830c=_0x272d;var _0x1cb631=_0x4d70ed,_0x538882=_0x1cb631['lib'],_0x50bd89=_0x538882[_0x3b830c(0x3cd)],_0x53bc23=_0x538882[_0x3b830c(0x47d)],_0x60e65=_0x1cb631[_0x3b830c(0x257)],_0x2ad18f=[];(function(){const _0x21498f=_0x3b830c;for(var _0x1311f1=0x0;_0x1311f1<0x40;_0x1311f1++)_0x2ad18f[_0x1311f1]=_0x3eb863['abs'](_0x3eb863[_0x21498f(0x28f)](_0x1311f1+0x1))*0x100000000|0x0;}());var _0xfb27bf=_0x60e65['MD5']=_0x53bc23[_0x3b830c(0x322)]({'_doReset':function(){const _0x1820d2=_0x3b830c;this[_0x1820d2(0x263)]=new _0x50bd89[(_0x1820d2(0x4c3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x518de8,_0x4f88bd){const _0x3f4841=_0x3b830c;for(var _0x52423c=0x0;_0x52423c<0x10;_0x52423c++){var _0x618773=_0x4f88bd+_0x52423c,_0x538c08=_0x518de8[_0x618773];_0x518de8[_0x618773]=(_0x538c08<<0x8|_0x538c08>>>0x18)&0xff00ff|(_0x538c08<<0x18|_0x538c08>>>0x8)&0xff00ff00;}var _0x512856=this[_0x3f4841(0x263)]['words'],_0x544966=_0x518de8[_0x4f88bd+0x0],_0x49ac3c=_0x518de8[_0x4f88bd+0x1],_0x5ebc50=_0x518de8[_0x4f88bd+0x2],_0x781882=_0x518de8[_0x4f88bd+0x3],_0x102c19=_0x518de8[_0x4f88bd+0x4],_0x12c0b5=_0x518de8[_0x4f88bd+0x5],_0x3ad7a5=_0x518de8[_0x4f88bd+0x6],_0x577ca0=_0x518de8[_0x4f88bd+0x7],_0x19daa7=_0x518de8[_0x4f88bd+0x8],_0x86f6c9=_0x518de8[_0x4f88bd+0x9],_0x253e11=_0x518de8[_0x4f88bd+0xa],_0x40f82a=_0x518de8[_0x4f88bd+0xb],_0x4d35a9=_0x518de8[_0x4f88bd+0xc],_0x29f8a4=_0x518de8[_0x4f88bd+0xd],_0x24f435=_0x518de8[_0x4f88bd+0xe],_0x26d1de=_0x518de8[_0x4f88bd+0xf],_0x2336ba=_0x512856[0x0],_0xccd586=_0x512856[0x1],_0x2318be=_0x512856[0x2],_0x1b2a6f=_0x512856[0x3];_0x2336ba=_0x36fdfe(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x544966,0x7,_0x2ad18f[0x0]),_0x1b2a6f=_0x36fdfe(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x49ac3c,0xc,_0x2ad18f[0x1]),_0x2318be=_0x36fdfe(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x5ebc50,0x11,_0x2ad18f[0x2]),_0xccd586=_0x36fdfe(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x781882,0x16,_0x2ad18f[0x3]),_0x2336ba=_0x36fdfe(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x102c19,0x7,_0x2ad18f[0x4]),_0x1b2a6f=_0x36fdfe(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x12c0b5,0xc,_0x2ad18f[0x5]),_0x2318be=_0x36fdfe(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x3ad7a5,0x11,_0x2ad18f[0x6]),_0xccd586=_0x36fdfe(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x577ca0,0x16,_0x2ad18f[0x7]),_0x2336ba=_0x36fdfe(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x19daa7,0x7,_0x2ad18f[0x8]),_0x1b2a6f=_0x36fdfe(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x86f6c9,0xc,_0x2ad18f[0x9]),_0x2318be=_0x36fdfe(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x253e11,0x11,_0x2ad18f[0xa]),_0xccd586=_0x36fdfe(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x40f82a,0x16,_0x2ad18f[0xb]),_0x2336ba=_0x36fdfe(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x4d35a9,0x7,_0x2ad18f[0xc]),_0x1b2a6f=_0x36fdfe(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x29f8a4,0xc,_0x2ad18f[0xd]),_0x2318be=_0x36fdfe(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x24f435,0x11,_0x2ad18f[0xe]),_0xccd586=_0x36fdfe(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x26d1de,0x16,_0x2ad18f[0xf]),_0x2336ba=_0x50d5b7(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x49ac3c,0x5,_0x2ad18f[0x10]),_0x1b2a6f=_0x50d5b7(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x3ad7a5,0x9,_0x2ad18f[0x11]),_0x2318be=_0x50d5b7(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x40f82a,0xe,_0x2ad18f[0x12]),_0xccd586=_0x50d5b7(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x544966,0x14,_0x2ad18f[0x13]),_0x2336ba=_0x50d5b7(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x12c0b5,0x5,_0x2ad18f[0x14]),_0x1b2a6f=_0x50d5b7(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x253e11,0x9,_0x2ad18f[0x15]),_0x2318be=_0x50d5b7(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x26d1de,0xe,_0x2ad18f[0x16]),_0xccd586=_0x50d5b7(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x102c19,0x14,_0x2ad18f[0x17]),_0x2336ba=_0x50d5b7(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x86f6c9,0x5,_0x2ad18f[0x18]),_0x1b2a6f=_0x50d5b7(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x24f435,0x9,_0x2ad18f[0x19]),_0x2318be=_0x50d5b7(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x781882,0xe,_0x2ad18f[0x1a]),_0xccd586=_0x50d5b7(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x19daa7,0x14,_0x2ad18f[0x1b]),_0x2336ba=_0x50d5b7(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x29f8a4,0x5,_0x2ad18f[0x1c]),_0x1b2a6f=_0x50d5b7(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x5ebc50,0x9,_0x2ad18f[0x1d]),_0x2318be=_0x50d5b7(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x577ca0,0xe,_0x2ad18f[0x1e]),_0xccd586=_0x50d5b7(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x4d35a9,0x14,_0x2ad18f[0x1f]),_0x2336ba=_0x41099a(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x12c0b5,0x4,_0x2ad18f[0x20]),_0x1b2a6f=_0x41099a(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x19daa7,0xb,_0x2ad18f[0x21]),_0x2318be=_0x41099a(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x40f82a,0x10,_0x2ad18f[0x22]),_0xccd586=_0x41099a(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x24f435,0x17,_0x2ad18f[0x23]),_0x2336ba=_0x41099a(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x49ac3c,0x4,_0x2ad18f[0x24]),_0x1b2a6f=_0x41099a(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x102c19,0xb,_0x2ad18f[0x25]),_0x2318be=_0x41099a(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x577ca0,0x10,_0x2ad18f[0x26]),_0xccd586=_0x41099a(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x253e11,0x17,_0x2ad18f[0x27]),_0x2336ba=_0x41099a(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x29f8a4,0x4,_0x2ad18f[0x28]),_0x1b2a6f=_0x41099a(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x544966,0xb,_0x2ad18f[0x29]),_0x2318be=_0x41099a(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x781882,0x10,_0x2ad18f[0x2a]),_0xccd586=_0x41099a(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x3ad7a5,0x17,_0x2ad18f[0x2b]),_0x2336ba=_0x41099a(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x86f6c9,0x4,_0x2ad18f[0x2c]),_0x1b2a6f=_0x41099a(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x4d35a9,0xb,_0x2ad18f[0x2d]),_0x2318be=_0x41099a(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x26d1de,0x10,_0x2ad18f[0x2e]),_0xccd586=_0x41099a(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x5ebc50,0x17,_0x2ad18f[0x2f]),_0x2336ba=_0x321d9c(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x544966,0x6,_0x2ad18f[0x30]),_0x1b2a6f=_0x321d9c(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x577ca0,0xa,_0x2ad18f[0x31]),_0x2318be=_0x321d9c(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x24f435,0xf,_0x2ad18f[0x32]),_0xccd586=_0x321d9c(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x12c0b5,0x15,_0x2ad18f[0x33]),_0x2336ba=_0x321d9c(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x4d35a9,0x6,_0x2ad18f[0x34]),_0x1b2a6f=_0x321d9c(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x781882,0xa,_0x2ad18f[0x35]),_0x2318be=_0x321d9c(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x253e11,0xf,_0x2ad18f[0x36]),_0xccd586=_0x321d9c(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x49ac3c,0x15,_0x2ad18f[0x37]),_0x2336ba=_0x321d9c(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x19daa7,0x6,_0x2ad18f[0x38]),_0x1b2a6f=_0x321d9c(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x26d1de,0xa,_0x2ad18f[0x39]),_0x2318be=_0x321d9c(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x3ad7a5,0xf,_0x2ad18f[0x3a]),_0xccd586=_0x321d9c(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x29f8a4,0x15,_0x2ad18f[0x3b]),_0x2336ba=_0x321d9c(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x102c19,0x6,_0x2ad18f[0x3c]),_0x1b2a6f=_0x321d9c(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x40f82a,0xa,_0x2ad18f[0x3d]),_0x2318be=_0x321d9c(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x5ebc50,0xf,_0x2ad18f[0x3e]),_0xccd586=_0x321d9c(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x86f6c9,0x15,_0x2ad18f[0x3f]),_0x512856[0x0]=_0x512856[0x0]+_0x2336ba|0x0,_0x512856[0x1]=_0x512856[0x1]+_0xccd586|0x0,_0x512856[0x2]=_0x512856[0x2]+_0x2318be|0x0,_0x512856[0x3]=_0x512856[0x3]+_0x1b2a6f|0x0;},'_doFinalize':function(){const _0x4ef5c6=_0x3b830c;var _0x5b4dae=this['_data'],_0x21d86e=_0x5b4dae['words'],_0x4f49a4=this[_0x4ef5c6(0x5b3)]*0x8,_0x5dcb55=_0x5b4dae[_0x4ef5c6(0x20f)]*0x8;_0x21d86e[_0x5dcb55>>>0x5]|=0x80<<0x18-_0x5dcb55%0x20;var _0x4e57b3=_0x3eb863[_0x4ef5c6(0x367)](_0x4f49a4/0x100000000),_0x16d700=_0x4f49a4;_0x21d86e[(_0x5dcb55+0x40>>>0x9<<0x4)+0xf]=(_0x4e57b3<<0x8|_0x4e57b3>>>0x18)&0xff00ff|(_0x4e57b3<<0x18|_0x4e57b3>>>0x8)&0xff00ff00,_0x21d86e[(_0x5dcb55+0x40>>>0x9<<0x4)+0xe]=(_0x16d700<<0x8|_0x16d700>>>0x18)&0xff00ff|(_0x16d700<<0x18|_0x16d700>>>0x8)&0xff00ff00,_0x5b4dae[_0x4ef5c6(0x20f)]=(_0x21d86e[_0x4ef5c6(0x285)]+0x1)*0x4,this[_0x4ef5c6(0x3ed)]();for(var _0x449325=this['_hash'],_0x3cde6d=_0x449325[_0x4ef5c6(0x408)],_0x18308a=0x0;_0x18308a<0x4;_0x18308a++){var _0x3e3954=_0x3cde6d[_0x18308a];_0x3cde6d[_0x18308a]=(_0x3e3954<<0x8|_0x3e3954>>>0x18)&0xff00ff|(_0x3e3954<<0x18|_0x3e3954>>>0x8)&0xff00ff00;}return _0x449325;},'clone':function(){const _0x5e25ef=_0x3b830c;var _0x3f38f9=_0x53bc23[_0x5e25ef(0x5c0)][_0x5e25ef(0x2d2)](this);return _0x3f38f9[_0x5e25ef(0x263)]=this[_0x5e25ef(0x263)][_0x5e25ef(0x5c0)](),_0x3f38f9;}});function _0x36fdfe(_0x4bf72e,_0x44563c,_0x1048a0,_0x316cb5,_0xdfe0a0,_0x57f48c,_0x2d6af5){var _0x1768e8=_0x4bf72e+(_0x44563c&_0x1048a0|~_0x44563c&_0x316cb5)+_0xdfe0a0+_0x2d6af5;return(_0x1768e8<<_0x57f48c|_0x1768e8>>>0x20-_0x57f48c)+_0x44563c;}function _0x50d5b7(_0x46c8ba,_0x2b102b,_0x31d2d7,_0xb0702,_0x119eac,_0x9c966e,_0x13b09c){var _0x1a011b=_0x46c8ba+(_0x2b102b&_0xb0702|_0x31d2d7&~_0xb0702)+_0x119eac+_0x13b09c;return(_0x1a011b<<_0x9c966e|_0x1a011b>>>0x20-_0x9c966e)+_0x2b102b;}function _0x41099a(_0x60cf15,_0x3abf84,_0x249b9a,_0x2f9058,_0x24aa41,_0x2a3337,_0x8ba774){var _0x291f19=_0x60cf15+(_0x3abf84^_0x249b9a^_0x2f9058)+_0x24aa41+_0x8ba774;return(_0x291f19<<_0x2a3337|_0x291f19>>>0x20-_0x2a3337)+_0x3abf84;}function _0x321d9c(_0x4711e4,_0x28d034,_0x1d93c7,_0x4fb360,_0x4efb4f,_0x3082e1,_0x1ed703){var _0x2c9bdd=_0x4711e4+(_0x1d93c7^(_0x28d034|~_0x4fb360))+_0x4efb4f+_0x1ed703;return(_0x2c9bdd<<_0x3082e1|_0x2c9bdd>>>0x20-_0x3082e1)+_0x28d034;}_0x1cb631['MD5']=_0x53bc23[_0x3b830c(0x549)](_0xfb27bf),_0x1cb631[_0x3b830c(0x59e)]=_0x53bc23['_createHmacHelper'](_0xfb27bf);}(Math),_0x4d70ed[_0x299c4a(0x1f1)];}));}(Vt)),Vt[_0x10bb3a(0x274)];}var Gt={'exports':{}},Yt={'exports':{}},Zs;function Ma(){const _0x369f81=_0xe3a6b9;return Zs||(Zs=0x1,function(_0x4d360c,_0x200f5e){(function(_0x3a11ff,_0xf4862e){_0x4d360c['exports']=_0xf4862e(ue());}(Z,function(_0x5de7dd){const _0xc9a050=_0x272d;return(function(){const _0x4ced80=_0x272d;var _0x4429e9=_0x5de7dd,_0x57d6=_0x4429e9['lib'],_0x5e290d=_0x57d6[_0x4ced80(0x3cd)],_0x47d95f=_0x57d6[_0x4ced80(0x47d)],_0x489b9b=_0x4429e9[_0x4ced80(0x257)],_0x43d044=[],_0x47813e=_0x489b9b[_0x4ced80(0x4f7)]=_0x47d95f[_0x4ced80(0x322)]({'_doReset':function(){this['_hash']=new _0x5e290d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27bff5,_0xe49733){const _0x86464d=_0x4ced80;for(var _0x55b6e4=this[_0x86464d(0x263)][_0x86464d(0x408)],_0x1da917=_0x55b6e4[0x0],_0x494ab6=_0x55b6e4[0x1],_0x38edbe=_0x55b6e4[0x2],_0x2e87f9=_0x55b6e4[0x3],_0x32293b=_0x55b6e4[0x4],_0x46547f=0x0;_0x46547f<0x50;_0x46547f++){if(_0x46547f<0x10)_0x43d044[_0x46547f]=_0x27bff5[_0xe49733+_0x46547f]|0x0;else{var _0x38c847=_0x43d044[_0x46547f-0x3]^_0x43d044[_0x46547f-0x8]^_0x43d044[_0x46547f-0xe]^_0x43d044[_0x46547f-0x10];_0x43d044[_0x46547f]=_0x38c847<<0x1|_0x38c847>>>0x1f;}var _0x398a2a=(_0x1da917<<0x5|_0x1da917>>>0x1b)+_0x32293b+_0x43d044[_0x46547f];_0x46547f<0x14?_0x398a2a+=(_0x494ab6&_0x38edbe|~_0x494ab6&_0x2e87f9)+0x5a827999:_0x46547f<0x28?_0x398a2a+=(_0x494ab6^_0x38edbe^_0x2e87f9)+0x6ed9eba1:_0x46547f<0x3c?_0x398a2a+=(_0x494ab6&_0x38edbe|_0x494ab6&_0x2e87f9|_0x38edbe&_0x2e87f9)-0x70e44324:_0x398a2a+=(_0x494ab6^_0x38edbe^_0x2e87f9)-0x359d3e2a,_0x32293b=_0x2e87f9,_0x2e87f9=_0x38edbe,_0x38edbe=_0x494ab6<<0x1e|_0x494ab6>>>0x2,_0x494ab6=_0x1da917,_0x1da917=_0x398a2a;}_0x55b6e4[0x0]=_0x55b6e4[0x0]+_0x1da917|0x0,_0x55b6e4[0x1]=_0x55b6e4[0x1]+_0x494ab6|0x0,_0x55b6e4[0x2]=_0x55b6e4[0x2]+_0x38edbe|0x0,_0x55b6e4[0x3]=_0x55b6e4[0x3]+_0x2e87f9|0x0,_0x55b6e4[0x4]=_0x55b6e4[0x4]+_0x32293b|0x0;},'_doFinalize':function(){const _0x43fb8e=_0x4ced80;var _0x243282=this[_0x43fb8e(0x484)],_0x54f044=_0x243282['words'],_0x21ae8e=this[_0x43fb8e(0x5b3)]*0x8,_0x1153fe=_0x243282[_0x43fb8e(0x20f)]*0x8;return _0x54f044[_0x1153fe>>>0x5]|=0x80<<0x18-_0x1153fe%0x20,_0x54f044[(_0x1153fe+0x40>>>0x9<<0x4)+0xe]=Math[_0x43fb8e(0x367)](_0x21ae8e/0x100000000),_0x54f044[(_0x1153fe+0x40>>>0x9<<0x4)+0xf]=_0x21ae8e,_0x243282['sigBytes']=_0x54f044['length']*0x4,this[_0x43fb8e(0x3ed)](),this['_hash'];},'clone':function(){const _0x5e0b62=_0x4ced80;var _0x2b1e55=_0x47d95f['clone']['call'](this);return _0x2b1e55[_0x5e0b62(0x263)]=this[_0x5e0b62(0x263)][_0x5e0b62(0x5c0)](),_0x2b1e55;}});_0x4429e9['SHA1']=_0x47d95f[_0x4ced80(0x549)](_0x47813e),_0x4429e9[_0x4ced80(0x435)]=_0x47d95f['_createHmacHelper'](_0x47813e);}()),_0x5de7dd[_0xc9a050(0x4f7)];}));}(Yt)),Yt[_0x369f81(0x274)];}var Kt={'exports':{}},Qs;function xa(){const _0xb80b96=_0xe3a6b9;return Qs||(Qs=0x1,function(_0x1164b2,_0x2a1638){(function(_0x22d6a0,_0x485b62){const _0x26ec6a=_0x272d;_0x1164b2[_0x26ec6a(0x274)]=_0x485b62(ue());}(Z,function(_0x55af63){(function(){const _0x4f706f=_0x272d;var _0x4c04ea=_0x55af63,_0x2e8ec5=_0x4c04ea[_0x4f706f(0x206)],_0x1250cf=_0x2e8ec5['Base'],_0x24a82b=_0x4c04ea[_0x4f706f(0x41d)],_0x10d23a=_0x24a82b['Utf8'],_0x298464=_0x4c04ea[_0x4f706f(0x257)];_0x298464[_0x4f706f(0x461)]=_0x1250cf[_0x4f706f(0x322)]({'init':function(_0x4e0b34,_0x3eaa34){const _0x54fa93=_0x4f706f;_0x4e0b34=this[_0x54fa93(0x308)]=new _0x4e0b34['init'](),typeof _0x3eaa34==_0x54fa93(0x43a)&&(_0x3eaa34=_0x10d23a[_0x54fa93(0x3e6)](_0x3eaa34));var _0x5400bd=_0x4e0b34[_0x54fa93(0x373)],_0x51be80=_0x5400bd*0x4;_0x3eaa34[_0x54fa93(0x20f)]>_0x51be80&&(_0x3eaa34=_0x4e0b34['finalize'](_0x3eaa34)),_0x3eaa34[_0x54fa93(0x317)]();for(var _0x4309b7=this[_0x54fa93(0x4ec)]=_0x3eaa34[_0x54fa93(0x5c0)](),_0x26c935=this['_iKey']=_0x3eaa34[_0x54fa93(0x5c0)](),_0x3fcea9=_0x4309b7['words'],_0x1a7947=_0x26c935[_0x54fa93(0x408)],_0x3e9c27=0x0;_0x3e9c27<_0x5400bd;_0x3e9c27++)_0x3fcea9[_0x3e9c27]^=0x5c5c5c5c,_0x1a7947[_0x3e9c27]^=0x36363636;_0x4309b7[_0x54fa93(0x20f)]=_0x26c935[_0x54fa93(0x20f)]=_0x51be80,this['reset']();},'reset':function(){const _0x317895=_0x4f706f;var _0x7274=this[_0x317895(0x308)];_0x7274['reset'](),_0x7274[_0x317895(0x33c)](this[_0x317895(0x1f5)]);},'update':function(_0x5c9e68){const _0x424526=_0x4f706f;return this['_hasher'][_0x424526(0x33c)](_0x5c9e68),this;},'finalize':function(_0x184a97){const _0x50a8bb=_0x4f706f;var _0x1bde91=this[_0x50a8bb(0x308)],_0x27c137=_0x1bde91[_0x50a8bb(0x1e4)](_0x184a97);_0x1bde91[_0x50a8bb(0x532)]();var _0x1903a8=_0x1bde91[_0x50a8bb(0x1e4)](this['_oKey'][_0x50a8bb(0x5c0)]()[_0x50a8bb(0x228)](_0x27c137));return _0x1903a8;}});}());}));}(Kt)),Kt[_0xb80b96(0x274)];}var ei;function Bi(){const _0xa9519b=_0xe3a6b9;return ei||(ei=0x1,function(_0xd3e873,_0x5e4fe4){(function(_0xa4dd52,_0x56d0c3,_0x3d36a3){const _0x3bffd0=_0x272d;_0xd3e873[_0x3bffd0(0x274)]=_0x56d0c3(ue(),Ma(),xa());}(Z,function(_0x440130){const _0x55db59=_0x272d;return(function(){const _0x40892f=_0x272d;var _0x462526=_0x440130,_0x1c4198=_0x462526['lib'],_0x47cbda=_0x1c4198[_0x40892f(0x375)],_0x8d176f=_0x1c4198[_0x40892f(0x3cd)],_0xde7199=_0x462526[_0x40892f(0x257)],_0x31902c=_0xde7199[_0x40892f(0x1f1)],_0x51a78f=_0xde7199[_0x40892f(0x49b)]=_0x47cbda[_0x40892f(0x322)]({'cfg':_0x47cbda[_0x40892f(0x322)]({'keySize':0x80/0x20,'hasher':_0x31902c,'iterations':0x1}),'init':function(_0x1c3e0a){const _0x5773c5=_0x40892f;this['cfg']=this[_0x5773c5(0x465)]['extend'](_0x1c3e0a);},'compute':function(_0x5b9a4a,_0x339335){const _0x56b479=_0x40892f;for(var _0x1c5832,_0x2a7c46=this[_0x56b479(0x465)],_0x588c72=_0x2a7c46['hasher']['create'](),_0x79017a=_0x8d176f['create'](),_0x413ede=_0x79017a['words'],_0x1ae33d=_0x2a7c46[_0x56b479(0x21a)],_0x144a4c=_0x2a7c46[_0x56b479(0x4fc)];_0x413ede[_0x56b479(0x285)]<_0x1ae33d;){_0x1c5832&&_0x588c72[_0x56b479(0x33c)](_0x1c5832),_0x1c5832=_0x588c72['update'](_0x5b9a4a)[_0x56b479(0x1e4)](_0x339335),_0x588c72[_0x56b479(0x532)]();for(var _0x5e4665=0x1;_0x5e4665<_0x144a4c;_0x5e4665++)_0x1c5832=_0x588c72[_0x56b479(0x1e4)](_0x1c5832),_0x588c72['reset']();_0x79017a[_0x56b479(0x228)](_0x1c5832);}return _0x79017a['sigBytes']=_0x1ae33d*0x4,_0x79017a;}});_0x462526[_0x40892f(0x49b)]=function(_0x5d1da4,_0x5c49b3,_0x5275fa){const _0x5c9a8c=_0x40892f;return _0x51a78f[_0x5c9a8c(0x30c)](_0x5275fa)['compute'](_0x5d1da4,_0x5c49b3);};}()),_0x440130[_0x55db59(0x49b)];}));}(Gt)),Gt[_0xa9519b(0x274)];}var zt={'exports':{}},ti;function ki(){const _0x522f50=_0xe3a6b9;return ti||(ti=0x1,function(_0x1b4597,_0x23390e){(function(_0x1e2575,_0x320970,_0x11d0e1){const _0x51e813=_0x272d;_0x1b4597[_0x51e813(0x274)]=_0x320970(ue(),Bi());}(Z,function(_0x59d510){const _0x13b67b=_0x272d;_0x59d510[_0x13b67b(0x206)][_0x13b67b(0x3cb)]||function(_0x2ebf46){const _0x4553ca=_0x13b67b;var _0xb41846=_0x59d510,_0x505c32=_0xb41846[_0x4553ca(0x206)],_0x3d68a0=_0x505c32['Base'],_0x1cfa1c=_0x505c32[_0x4553ca(0x3cd)],_0x38d2a1=_0x505c32['BufferedBlockAlgorithm'],_0x2ef6c6=_0xb41846[_0x4553ca(0x41d)];_0x2ef6c6[_0x4553ca(0x4a6)];var _0x24cf24=_0x2ef6c6['Base64'],_0x38e6b6=_0xb41846['algo'],_0x54c57f=_0x38e6b6[_0x4553ca(0x49b)],_0x1a5534=_0x505c32[_0x4553ca(0x3cb)]=_0x38d2a1[_0x4553ca(0x322)]({'cfg':_0x3d68a0['extend'](),'createEncryptor':function(_0x347d93,_0x30042f){const _0xc1d4a3=_0x4553ca;return this[_0xc1d4a3(0x30c)](this[_0xc1d4a3(0x3c8)],_0x347d93,_0x30042f);},'createDecryptor':function(_0x27e1d6,_0x17ae49){return this['create'](this['_DEC_XFORM_MODE'],_0x27e1d6,_0x17ae49);},'init':function(_0x5b1cfa,_0x4a101b,_0xe7c432){const _0x47d9e5=_0x4553ca;this[_0x47d9e5(0x465)]=this[_0x47d9e5(0x465)][_0x47d9e5(0x322)](_0xe7c432),this[_0x47d9e5(0x554)]=_0x5b1cfa,this[_0x47d9e5(0x438)]=_0x4a101b,this[_0x47d9e5(0x532)]();},'reset':function(){const _0x8b00e9=_0x4553ca;_0x38d2a1[_0x8b00e9(0x532)]['call'](this),this[_0x8b00e9(0x4f1)]();},'process':function(_0x28ae0f){const _0x1afe35=_0x4553ca;return this['_append'](_0x28ae0f),this[_0x1afe35(0x3ed)]();},'finalize':function(_0x22fcdf){const _0x56735d=_0x4553ca;_0x22fcdf&&this['_append'](_0x22fcdf);var _0x16ec6b=this[_0x56735d(0x394)]();return _0x16ec6b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e3202(_0x2edf9c){return typeof _0x2edf9c=='string'?_0x4b7927:_0xea39c5;}return function(_0x26ca85){return{'encrypt':function(_0x5d124c,_0x11086b,_0x1c3d76){const _0x5ed87c=_0x272d;return _0x2e3202(_0x11086b)[_0x5ed87c(0x30f)](_0x26ca85,_0x5d124c,_0x11086b,_0x1c3d76);},'decrypt':function(_0x143fd5,_0x14a20f,_0x12e0a1){const _0x3ff6ab=_0x272d;return _0x2e3202(_0x14a20f)[_0x3ff6ab(0x279)](_0x26ca85,_0x143fd5,_0x14a20f,_0x12e0a1);}};};}())});_0x505c32[_0x4553ca(0x4a1)]=_0x1a5534[_0x4553ca(0x322)]({'_doFinalize':function(){const _0x54f267=_0x4553ca;var _0x3f7c28=this[_0x54f267(0x3ed)](!0x0);return _0x3f7c28;},'blockSize':0x1});var _0xaca934=_0xb41846[_0x4553ca(0x33d)]={},_0x3cd482=_0x505c32[_0x4553ca(0x259)]=_0x3d68a0['extend']({'createEncryptor':function(_0x18df31,_0x437d67){const _0xbde257=_0x4553ca;return this[_0xbde257(0x1f3)][_0xbde257(0x30c)](_0x18df31,_0x437d67);},'createDecryptor':function(_0x56e536,_0x4b8068){const _0x5b2a82=_0x4553ca;return this[_0x5b2a82(0x462)]['create'](_0x56e536,_0x4b8068);},'init':function(_0x18584f,_0x45df82){const _0x396d18=_0x4553ca;this[_0x396d18(0x239)]=_0x18584f,this[_0x396d18(0x302)]=_0x45df82;}}),_0x244c51=_0xaca934[_0x4553ca(0x275)]=(function(){const _0x578837=_0x4553ca;var _0x2bcaa4=_0x3cd482[_0x578837(0x322)]();_0x2bcaa4[_0x578837(0x1f3)]=_0x2bcaa4[_0x578837(0x322)]({'processBlock':function(_0xeed5e,_0x304303){const _0x3b8623=_0x578837;var _0x478a46=this[_0x3b8623(0x239)],_0x64fa5f=_0x478a46[_0x3b8623(0x373)];_0x1a6634['call'](this,_0xeed5e,_0x304303,_0x64fa5f),_0x478a46[_0x3b8623(0x4a2)](_0xeed5e,_0x304303),this[_0x3b8623(0x22d)]=_0xeed5e[_0x3b8623(0x398)](_0x304303,_0x304303+_0x64fa5f);}}),_0x2bcaa4[_0x578837(0x462)]=_0x2bcaa4[_0x578837(0x322)]({'processBlock':function(_0x58542d,_0x80c476){const _0x73ab0d=_0x578837;var _0xe266a7=this[_0x73ab0d(0x239)],_0x4841e2=_0xe266a7[_0x73ab0d(0x373)],_0x515a89=_0x58542d[_0x73ab0d(0x398)](_0x80c476,_0x80c476+_0x4841e2);_0xe266a7[_0x73ab0d(0x2b9)](_0x58542d,_0x80c476),_0x1a6634[_0x73ab0d(0x2d2)](this,_0x58542d,_0x80c476,_0x4841e2),this[_0x73ab0d(0x22d)]=_0x515a89;}});function _0x1a6634(_0x578afc,_0x286b36,_0x37422d){const _0x288f73=_0x578837;var _0x4ff251,_0x3ecd8e=this[_0x288f73(0x302)];_0x3ecd8e?(_0x4ff251=_0x3ecd8e,this[_0x288f73(0x302)]=_0x2ebf46):_0x4ff251=this[_0x288f73(0x22d)];for(var _0x4df7fd=0x0;_0x4df7fd<_0x37422d;_0x4df7fd++)_0x578afc[_0x286b36+_0x4df7fd]^=_0x4ff251[_0x4df7fd];}return _0x2bcaa4;}()),_0x255c18=_0xb41846[_0x4553ca(0x3a5)]={},_0x4959f4=_0x255c18[_0x4553ca(0x4a4)]={'pad':function(_0xb55554,_0x4a8b59){const _0x524c34=_0x4553ca;for(var _0x49ddee=_0x4a8b59*0x4,_0x51632b=_0x49ddee-_0xb55554[_0x524c34(0x20f)]%_0x49ddee,_0x3794fc=_0x51632b<<0x18|_0x51632b<<0x10|_0x51632b<<0x8|_0x51632b,_0x5785e3=[],_0x1613e8=0x0;_0x1613e8<_0x51632b;_0x1613e8+=0x4)_0x5785e3[_0x524c34(0x3f6)](_0x3794fc);var _0x2da7b5=_0x1cfa1c[_0x524c34(0x30c)](_0x5785e3,_0x51632b);_0xb55554[_0x524c34(0x228)](_0x2da7b5);},'unpad':function(_0xc64134){const _0x5c1912=_0x4553ca;var _0x15e022=_0xc64134[_0x5c1912(0x408)][_0xc64134[_0x5c1912(0x20f)]-0x1>>>0x2]&0xff;_0xc64134['sigBytes']-=_0x15e022;}};_0x505c32[_0x4553ca(0x3b7)]=_0x1a5534[_0x4553ca(0x322)]({'cfg':_0x1a5534[_0x4553ca(0x465)][_0x4553ca(0x322)]({'mode':_0x244c51,'padding':_0x4959f4}),'reset':function(){const _0x46122d=_0x4553ca;var _0x1e5512;_0x1a5534[_0x46122d(0x532)]['call'](this);var _0x5ba149=this[_0x46122d(0x465)],_0x595046=_0x5ba149['iv'],_0x1075bf=_0x5ba149[_0x46122d(0x33d)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x1e5512=_0x1075bf[_0x46122d(0x400)]:(_0x1e5512=_0x1075bf[_0x46122d(0x399)],this[_0x46122d(0x4ae)]=0x1),this[_0x46122d(0x4f3)]&&this[_0x46122d(0x4f3)]['__creator']==_0x1e5512?this[_0x46122d(0x4f3)][_0x46122d(0x4c3)](this,_0x595046&&_0x595046[_0x46122d(0x408)]):(this[_0x46122d(0x4f3)]=_0x1e5512[_0x46122d(0x2d2)](_0x1075bf,this,_0x595046&&_0x595046['words']),this[_0x46122d(0x4f3)]['__creator']=_0x1e5512);},'_doProcessBlock':function(_0x5cf42a,_0x5963b){const _0x54170e=_0x4553ca;this[_0x54170e(0x4f3)][_0x54170e(0x51e)](_0x5cf42a,_0x5963b);},'_doFinalize':function(){const _0x27cc3d=_0x4553ca;var _0x221f1b,_0x47cb1c=this['cfg'][_0x27cc3d(0x3ab)];return this[_0x27cc3d(0x554)]==this[_0x27cc3d(0x3c8)]?(_0x47cb1c['pad'](this['_data'],this['blockSize']),_0x221f1b=this[_0x27cc3d(0x3ed)](!0x0)):(_0x221f1b=this[_0x27cc3d(0x3ed)](!0x0),_0x47cb1c[_0x27cc3d(0x395)](_0x221f1b)),_0x221f1b;},'blockSize':0x80/0x20});var _0x3d8200=_0x505c32[_0x4553ca(0x255)]=_0x3d68a0[_0x4553ca(0x322)]({'init':function(_0x52e1b2){const _0x4d841c=_0x4553ca;this[_0x4d841c(0x4bd)](_0x52e1b2);},'toString':function(_0x56b465){const _0x204d3a=_0x4553ca;return(_0x56b465||this[_0x204d3a(0x53b)])[_0x204d3a(0x4f2)](this);}}),_0x2e5259=_0xb41846[_0x4553ca(0x30d)]={},_0x349749=_0x2e5259[_0x4553ca(0x450)]={'stringify':function(_0x395c4c){const _0x3add88=_0x4553ca;var _0x14f04f,_0x4b1dc0=_0x395c4c[_0x3add88(0x5d0)],_0x3fcbf5=_0x395c4c[_0x3add88(0x476)];return _0x3fcbf5?_0x14f04f=_0x1cfa1c['create']([0x53616c74,0x65645f5f])[_0x3add88(0x228)](_0x3fcbf5)[_0x3add88(0x228)](_0x4b1dc0):_0x14f04f=_0x4b1dc0,_0x14f04f['toString'](_0x24cf24);},'parse':function(_0x2c5575){const _0x3aa858=_0x4553ca;var _0x126e28,_0x449c4c=_0x24cf24[_0x3aa858(0x3e6)](_0x2c5575),_0x46e2c9=_0x449c4c['words'];return _0x46e2c9[0x0]==0x53616c74&&_0x46e2c9[0x1]==0x65645f5f&&(_0x126e28=_0x1cfa1c['create'](_0x46e2c9[_0x3aa858(0x398)](0x2,0x4)),_0x46e2c9['splice'](0x0,0x4),_0x449c4c[_0x3aa858(0x20f)]-=0x10),_0x3d8200[_0x3aa858(0x30c)]({'ciphertext':_0x449c4c,'salt':_0x126e28});}},_0xea39c5=_0x505c32[_0x4553ca(0x34c)]=_0x3d68a0['extend']({'cfg':_0x3d68a0[_0x4553ca(0x322)]({'format':_0x349749}),'encrypt':function(_0x35a283,_0x2b770f,_0x2c7001,_0x34162e){const _0x309dc7=_0x4553ca;_0x34162e=this['cfg'][_0x309dc7(0x322)](_0x34162e);var _0x377c58=_0x35a283[_0x309dc7(0x400)](_0x2c7001,_0x34162e),_0x58f2f0=_0x377c58[_0x309dc7(0x1e4)](_0x2b770f),_0x5302fe=_0x377c58['cfg'];return _0x3d8200[_0x309dc7(0x30c)]({'ciphertext':_0x58f2f0,'key':_0x2c7001,'iv':_0x5302fe['iv'],'algorithm':_0x35a283,'mode':_0x5302fe[_0x309dc7(0x33d)],'padding':_0x5302fe[_0x309dc7(0x3ab)],'blockSize':_0x35a283[_0x309dc7(0x373)],'formatter':_0x34162e[_0x309dc7(0x30d)]});},'decrypt':function(_0x5867d2,_0xc4c9ea,_0x29fd83,_0xb27dd7){const _0xe9e02c=_0x4553ca;_0xb27dd7=this[_0xe9e02c(0x465)][_0xe9e02c(0x322)](_0xb27dd7),_0xc4c9ea=this[_0xe9e02c(0x4d5)](_0xc4c9ea,_0xb27dd7[_0xe9e02c(0x30d)]);var _0x5527de=_0x5867d2['createDecryptor'](_0x29fd83,_0xb27dd7)[_0xe9e02c(0x1e4)](_0xc4c9ea[_0xe9e02c(0x5d0)]);return _0x5527de;},'_parse':function(_0x590c61,_0x3fc1b9){const _0x625123=_0x4553ca;return typeof _0x590c61==_0x625123(0x43a)?_0x3fc1b9[_0x625123(0x3e6)](_0x590c61,this):_0x590c61;}}),_0x412b64=_0xb41846[_0x4553ca(0x541)]={},_0x3a47d8=_0x412b64[_0x4553ca(0x450)]={'execute':function(_0x4de89e,_0x75adeb,_0x4dd004,_0x4389ff,_0x5b6ecd){const _0x31ae5a=_0x4553ca;if(_0x4389ff||(_0x4389ff=_0x1cfa1c['random'](0x40/0x8)),_0x5b6ecd)var _0xd55a9f=_0x54c57f['create']({'keySize':_0x75adeb+_0x4dd004,'hasher':_0x5b6ecd})[_0x31ae5a(0x402)](_0x4de89e,_0x4389ff);else var _0xd55a9f=_0x54c57f[_0x31ae5a(0x30c)]({'keySize':_0x75adeb+_0x4dd004})[_0x31ae5a(0x402)](_0x4de89e,_0x4389ff);var _0x3569a5=_0x1cfa1c['create'](_0xd55a9f[_0x31ae5a(0x408)][_0x31ae5a(0x398)](_0x75adeb),_0x4dd004*0x4);return _0xd55a9f[_0x31ae5a(0x20f)]=_0x75adeb*0x4,_0x3d8200[_0x31ae5a(0x30c)]({'key':_0xd55a9f,'iv':_0x3569a5,'salt':_0x4389ff});}},_0x4b7927=_0x505c32[_0x4553ca(0x5bb)]=_0xea39c5[_0x4553ca(0x322)]({'cfg':_0xea39c5[_0x4553ca(0x465)]['extend']({'kdf':_0x3a47d8}),'encrypt':function(_0x59b75a,_0x266ea0,_0x38d945,_0x30168d){const _0x219835=_0x4553ca;_0x30168d=this[_0x219835(0x465)][_0x219835(0x322)](_0x30168d);var _0x16d886=_0x30168d[_0x219835(0x541)][_0x219835(0x472)](_0x38d945,_0x59b75a['keySize'],_0x59b75a[_0x219835(0x434)],_0x30168d['salt'],_0x30168d[_0x219835(0x2b1)]);_0x30168d['iv']=_0x16d886['iv'];var _0x10c7cd=_0xea39c5[_0x219835(0x30f)][_0x219835(0x2d2)](this,_0x59b75a,_0x266ea0,_0x16d886['key'],_0x30168d);return _0x10c7cd[_0x219835(0x4bd)](_0x16d886),_0x10c7cd;},'decrypt':function(_0x15ab14,_0x12812f,_0x542e9e,_0x31780c){const _0x2c839e=_0x4553ca;_0x31780c=this[_0x2c839e(0x465)][_0x2c839e(0x322)](_0x31780c),_0x12812f=this[_0x2c839e(0x4d5)](_0x12812f,_0x31780c[_0x2c839e(0x30d)]);var _0x41b2c6=_0x31780c[_0x2c839e(0x541)]['execute'](_0x542e9e,_0x15ab14[_0x2c839e(0x21a)],_0x15ab14[_0x2c839e(0x434)],_0x12812f[_0x2c839e(0x476)],_0x31780c[_0x2c839e(0x2b1)]);_0x31780c['iv']=_0x41b2c6['iv'];var _0x145f14=_0xea39c5['decrypt'][_0x2c839e(0x2d2)](this,_0x15ab14,_0x12812f,_0x41b2c6[_0x2c839e(0x1ee)],_0x31780c);return _0x145f14;}});}();}));}(zt)),zt[_0x522f50(0x274)];}(function(_0xe85afe,_0x3d6a0c){(function(_0x3051e6,_0x31dff1,_0x31c440){_0xe85afe['exports']=_0x31dff1(ue(),ji(),Aa(),Bi(),ki());}(Z,function(_0x33e385){const _0x1cf8bf=_0x272d;return(function(){const _0x4c5f45=_0x272d;var _0x1a5d66=_0x33e385,_0x335c21=_0x1a5d66[_0x4c5f45(0x206)],_0x26aa8a=_0x335c21[_0x4c5f45(0x3b7)],_0x3014aa=_0x1a5d66['algo'],_0x11c7ee=[],_0x291f25=[],_0x4685ce=[],_0x21ac90=[],_0x5a5e01=[],_0xa06ab3=[],_0x3fd823=[],_0x339acf=[],_0x7a8a79=[],_0x54a042=[];(function(){for(var _0x4fb832=[],_0x481560=0x0;_0x481560<0x100;_0x481560++)_0x481560<0x80?_0x4fb832[_0x481560]=_0x481560<<0x1:_0x4fb832[_0x481560]=_0x481560<<0x1^0x11b;for(var _0x11d367=0x0,_0x661615=0x0,_0x481560=0x0;_0x481560<0x100;_0x481560++){var _0x1da657=_0x661615^_0x661615<<0x1^_0x661615<<0x2^_0x661615<<0x3^_0x661615<<0x4;_0x1da657=_0x1da657>>>0x8^_0x1da657&0xff^0x63,_0x11c7ee[_0x11d367]=_0x1da657,_0x291f25[_0x1da657]=_0x11d367;var _0x10093c=_0x4fb832[_0x11d367],_0x15d665=_0x4fb832[_0x10093c],_0x50b86e=_0x4fb832[_0x15d665],_0x26b336=_0x4fb832[_0x1da657]*0x101^_0x1da657*0x1010100;_0x4685ce[_0x11d367]=_0x26b336<<0x18|_0x26b336>>>0x8,_0x21ac90[_0x11d367]=_0x26b336<<0x10|_0x26b336>>>0x10,_0x5a5e01[_0x11d367]=_0x26b336<<0x8|_0x26b336>>>0x18,_0xa06ab3[_0x11d367]=_0x26b336;var _0x26b336=_0x50b86e*0x1010101^_0x15d665*0x10001^_0x10093c*0x101^_0x11d367*0x1010100;_0x3fd823[_0x1da657]=_0x26b336<<0x18|_0x26b336>>>0x8,_0x339acf[_0x1da657]=_0x26b336<<0x10|_0x26b336>>>0x10,_0x7a8a79[_0x1da657]=_0x26b336<<0x8|_0x26b336>>>0x18,_0x54a042[_0x1da657]=_0x26b336,_0x11d367?(_0x11d367=_0x10093c^_0x4fb832[_0x4fb832[_0x4fb832[_0x50b86e^_0x10093c]]],_0x661615^=_0x4fb832[_0x4fb832[_0x661615]]):_0x11d367=_0x661615=0x1;}}());var _0x576e86=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2aa69a=_0x3014aa[_0x4c5f45(0x3bd)]=_0x26aa8a['extend']({'_doReset':function(){const _0x20dde4=_0x4c5f45;var _0x104d58;if(!(this[_0x20dde4(0x477)]&&this[_0x20dde4(0x566)]===this[_0x20dde4(0x438)])){for(var _0x5343ed=this[_0x20dde4(0x566)]=this[_0x20dde4(0x438)],_0x58a268=_0x5343ed[_0x20dde4(0x408)],_0x14cd1f=_0x5343ed['sigBytes']/0x4,_0x3c7821=this['_nRounds']=_0x14cd1f+0x6,_0x5cab68=(_0x3c7821+0x1)*0x4,_0xe60486=this[_0x20dde4(0x4b5)]=[],_0x3c5bbb=0x0;_0x3c5bbb<_0x5cab68;_0x3c5bbb++)_0x3c5bbb<_0x14cd1f?_0xe60486[_0x3c5bbb]=_0x58a268[_0x3c5bbb]:(_0x104d58=_0xe60486[_0x3c5bbb-0x1],_0x3c5bbb%_0x14cd1f?_0x14cd1f>0x6&&_0x3c5bbb%_0x14cd1f==0x4&&(_0x104d58=_0x11c7ee[_0x104d58>>>0x18]<<0x18|_0x11c7ee[_0x104d58>>>0x10&0xff]<<0x10|_0x11c7ee[_0x104d58>>>0x8&0xff]<<0x8|_0x11c7ee[_0x104d58&0xff]):(_0x104d58=_0x104d58<<0x8|_0x104d58>>>0x18,_0x104d58=_0x11c7ee[_0x104d58>>>0x18]<<0x18|_0x11c7ee[_0x104d58>>>0x10&0xff]<<0x10|_0x11c7ee[_0x104d58>>>0x8&0xff]<<0x8|_0x11c7ee[_0x104d58&0xff],_0x104d58^=_0x576e86[_0x3c5bbb/_0x14cd1f|0x0]<<0x18),_0xe60486[_0x3c5bbb]=_0xe60486[_0x3c5bbb-_0x14cd1f]^_0x104d58);for(var _0x6740cc=this['_invKeySchedule']=[],_0x8ab5b2=0x0;_0x8ab5b2<_0x5cab68;_0x8ab5b2++){var _0x3c5bbb=_0x5cab68-_0x8ab5b2;if(_0x8ab5b2%0x4)var _0x104d58=_0xe60486[_0x3c5bbb];else var _0x104d58=_0xe60486[_0x3c5bbb-0x4];_0x8ab5b2<0x4||_0x3c5bbb<=0x4?_0x6740cc[_0x8ab5b2]=_0x104d58:_0x6740cc[_0x8ab5b2]=_0x3fd823[_0x11c7ee[_0x104d58>>>0x18]]^_0x339acf[_0x11c7ee[_0x104d58>>>0x10&0xff]]^_0x7a8a79[_0x11c7ee[_0x104d58>>>0x8&0xff]]^_0x54a042[_0x11c7ee[_0x104d58&0xff]];}}},'encryptBlock':function(_0x251b0f,_0x554050){const _0x136389=_0x4c5f45;this[_0x136389(0x504)](_0x251b0f,_0x554050,this[_0x136389(0x4b5)],_0x4685ce,_0x21ac90,_0x5a5e01,_0xa06ab3,_0x11c7ee);},'decryptBlock':function(_0x1ce44e,_0x2b70d1){const _0x33aca6=_0x4c5f45;var _0x2fac24=_0x1ce44e[_0x2b70d1+0x1];_0x1ce44e[_0x2b70d1+0x1]=_0x1ce44e[_0x2b70d1+0x3],_0x1ce44e[_0x2b70d1+0x3]=_0x2fac24,this[_0x33aca6(0x504)](_0x1ce44e,_0x2b70d1,this[_0x33aca6(0x53e)],_0x3fd823,_0x339acf,_0x7a8a79,_0x54a042,_0x291f25);var _0x2fac24=_0x1ce44e[_0x2b70d1+0x1];_0x1ce44e[_0x2b70d1+0x1]=_0x1ce44e[_0x2b70d1+0x3],_0x1ce44e[_0x2b70d1+0x3]=_0x2fac24;},'_doCryptBlock':function(_0x4b32ab,_0x148ddc,_0x230cbc,_0x54285d,_0x3ea441,_0xbad0f2,_0x185b4f,_0x325945){for(var _0x52a6d1=this['_nRounds'],_0x4d1cf7=_0x4b32ab[_0x148ddc]^_0x230cbc[0x0],_0x199366=_0x4b32ab[_0x148ddc+0x1]^_0x230cbc[0x1],_0xe53746=_0x4b32ab[_0x148ddc+0x2]^_0x230cbc[0x2],_0x5bd56b=_0x4b32ab[_0x148ddc+0x3]^_0x230cbc[0x3],_0x46761b=0x4,_0x44ac54=0x1;_0x44ac54<_0x52a6d1;_0x44ac54++){var _0x11cf48=_0x54285d[_0x4d1cf7>>>0x18]^_0x3ea441[_0x199366>>>0x10&0xff]^_0xbad0f2[_0xe53746>>>0x8&0xff]^_0x185b4f[_0x5bd56b&0xff]^_0x230cbc[_0x46761b++],_0x191719=_0x54285d[_0x199366>>>0x18]^_0x3ea441[_0xe53746>>>0x10&0xff]^_0xbad0f2[_0x5bd56b>>>0x8&0xff]^_0x185b4f[_0x4d1cf7&0xff]^_0x230cbc[_0x46761b++],_0x539cd5=_0x54285d[_0xe53746>>>0x18]^_0x3ea441[_0x5bd56b>>>0x10&0xff]^_0xbad0f2[_0x4d1cf7>>>0x8&0xff]^_0x185b4f[_0x199366&0xff]^_0x230cbc[_0x46761b++],_0x314c6a=_0x54285d[_0x5bd56b>>>0x18]^_0x3ea441[_0x4d1cf7>>>0x10&0xff]^_0xbad0f2[_0x199366>>>0x8&0xff]^_0x185b4f[_0xe53746&0xff]^_0x230cbc[_0x46761b++];_0x4d1cf7=_0x11cf48,_0x199366=_0x191719,_0xe53746=_0x539cd5,_0x5bd56b=_0x314c6a;}var _0x11cf48=(_0x325945[_0x4d1cf7>>>0x18]<<0x18|_0x325945[_0x199366>>>0x10&0xff]<<0x10|_0x325945[_0xe53746>>>0x8&0xff]<<0x8|_0x325945[_0x5bd56b&0xff])^_0x230cbc[_0x46761b++],_0x191719=(_0x325945[_0x199366>>>0x18]<<0x18|_0x325945[_0xe53746>>>0x10&0xff]<<0x10|_0x325945[_0x5bd56b>>>0x8&0xff]<<0x8|_0x325945[_0x4d1cf7&0xff])^_0x230cbc[_0x46761b++],_0x539cd5=(_0x325945[_0xe53746>>>0x18]<<0x18|_0x325945[_0x5bd56b>>>0x10&0xff]<<0x10|_0x325945[_0x4d1cf7>>>0x8&0xff]<<0x8|_0x325945[_0x199366&0xff])^_0x230cbc[_0x46761b++],_0x314c6a=(_0x325945[_0x5bd56b>>>0x18]<<0x18|_0x325945[_0x4d1cf7>>>0x10&0xff]<<0x10|_0x325945[_0x199366>>>0x8&0xff]<<0x8|_0x325945[_0xe53746&0xff])^_0x230cbc[_0x46761b++];_0x4b32ab[_0x148ddc]=_0x11cf48,_0x4b32ab[_0x148ddc+0x1]=_0x191719,_0x4b32ab[_0x148ddc+0x2]=_0x539cd5,_0x4b32ab[_0x148ddc+0x3]=_0x314c6a;},'keySize':0x100/0x20});_0x1a5d66[_0x4c5f45(0x3bd)]=_0x26aa8a[_0x4c5f45(0x549)](_0x2aa69a);}()),_0x33e385[_0x1cf8bf(0x3bd)];}));}(Hi));var La=Hi[_0xe3a6b9(0x274)];const $a=at(La);var Ha=ji();const si=at(Ha);var Wi={'exports':{}};(function(_0x2afd22,_0x4f7817){(function(_0x582e8c,_0x302c32){const _0x86bdb8=_0x272d;_0x2afd22[_0x86bdb8(0x274)]=_0x302c32(ue());}(Z,function(_0x4afa63){const _0xbbe33b=_0x272d;return _0x4afa63[_0xbbe33b(0x41d)][_0xbbe33b(0x4a6)];}));}(Wi));var ja=Wi[_0xe3a6b9(0x274)];const Ba=at(ja);var Fi={'exports':{}};(function(_0x3e6b1c,_0x58c110){(function(_0x2fac8a,_0x45b7cc){const _0x16fec9=_0x272d;_0x3e6b1c[_0x16fec9(0x274)]=_0x45b7cc(ue());}(Z,function(_0x3c97f8){const _0x2736b5=_0x272d;return(function(){const _0x598e9f=_0x272d;if(typeof ArrayBuffer==_0x598e9f(0x48e)){var _0x55b41c=_0x3c97f8,_0xb53e30=_0x55b41c['lib'],_0x3fc082=_0xb53e30[_0x598e9f(0x3cd)],_0x31d64e=_0x3fc082[_0x598e9f(0x4c3)],_0x2c86d3=_0x3fc082[_0x598e9f(0x4c3)]=function(_0x98afca){const _0x11a123=_0x598e9f;if(_0x98afca instanceof ArrayBuffer&&(_0x98afca=new Uint8Array(_0x98afca)),(_0x98afca instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x98afca instanceof Uint8ClampedArray||_0x98afca instanceof Int16Array||_0x98afca instanceof Uint16Array||_0x98afca instanceof Int32Array||_0x98afca instanceof Uint32Array||_0x98afca instanceof Float32Array||_0x98afca instanceof Float64Array)&&(_0x98afca=new Uint8Array(_0x98afca[_0x11a123(0x2e3)],_0x98afca[_0x11a123(0x587)],_0x98afca[_0x11a123(0x23a)])),_0x98afca instanceof Uint8Array){for(var _0x2eb095=_0x98afca[_0x11a123(0x23a)],_0x2fcb59=[],_0x42ee0b=0x0;_0x42ee0b<_0x2eb095;_0x42ee0b++)_0x2fcb59[_0x42ee0b>>>0x2]|=_0x98afca[_0x42ee0b]<<0x18-_0x42ee0b%0x4*0x8;_0x31d64e[_0x11a123(0x2d2)](this,_0x2fcb59,_0x2eb095);}else _0x31d64e['apply'](this,arguments);};_0x2c86d3[_0x598e9f(0x5cc)]=_0x3fc082;}}()),_0x3c97f8[_0x2736b5(0x206)][_0x2736b5(0x3cd)];}));}(Fi));var ka=Fi[_0xe3a6b9(0x274)];const Wa=at(ka);var Vi={'exports':{}};(function(_0x3aac1f,_0x415cbd){(function(_0x203832,_0x2f6973,_0x54f545){const _0x36f217=_0x272d;_0x3aac1f[_0x36f217(0x274)]=_0x2f6973(ue(),ki());}(Z,function(_0x34a1f8){const _0x2d2f7e=_0x272d;return _0x34a1f8[_0x2d2f7e(0x3a5)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x34a1f8[_0x2d2f7e(0x3a5)]['NoPadding'];}));}(Vi));var Fa=Vi[_0xe3a6b9(0x274)];const Va=at(Fa);function Ga(_0x3de841,_0x5bf4cf){const _0x1106a1=_0x5bf4cf-_0x3de841['length']%_0x5bf4cf,_0x3a5b44=String['fromCharCode'](_0x1106a1)['repeat'](_0x1106a1);return _0x3de841+_0x3a5b44;}function Ya(_0xbdbaf8,_0x38877a){const _0x13b9ff=_0xe3a6b9,_0x26aa97=Wa[_0x13b9ff(0x49a)](0x10),_0x3e41f9=Ga(_0xbdbaf8,0x10),_0x415c17=$a[_0x13b9ff(0x30f)](Ba[_0x13b9ff(0x3e6)](_0x3e41f9),si[_0x13b9ff(0x3e6)](_0x38877a),{'iv':_0x26aa97,'padding':Va});return _0x26aa97[_0x13b9ff(0x228)](_0x415c17[_0x13b9ff(0x5d0)])[_0x13b9ff(0x25e)](si);}function Ka(){const _0x55f01d=_0xe3a6b9,_0x29a35c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x55f01d(0x44d)];if(_0x29a35c){const _0x4988a6={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x55f01d(0x3cc)]};return Ya(JSON[_0x55f01d(0x4f2)](_0x4988a6),_0x29a35c);}}var za=Object[_0xe3a6b9(0x2e1)],qa=Object[_0xe3a6b9(0x4b1)],Xa=(_0x3c89aa,_0x38704f,_0x18a9d5,_0x180453)=>{const _0x32d970=_0xe3a6b9;for(var _0x247dc4=_0x180453>0x1?void 0x0:_0x180453?qa(_0x38704f,_0x18a9d5):_0x38704f,_0x4d49f2=_0x3c89aa[_0x32d970(0x285)]-0x1,_0x5ba278;_0x4d49f2>=0x0;_0x4d49f2--)(_0x5ba278=_0x3c89aa[_0x4d49f2])&&(_0x247dc4=(_0x180453?_0x5ba278(_0x38704f,_0x18a9d5,_0x247dc4):_0x5ba278(_0x247dc4))||_0x247dc4);return _0x180453&&_0x247dc4&&za(_0x38704f,_0x18a9d5,_0x247dc4),_0x247dc4;},Ja=(_0x578eb5,_0x43d9c2)=>(_0x30e120,_0x79564e)=>_0x43d9c2(_0x30e120,_0x79564e,_0x578eb5);let bt=class{constructor(_0x22834d){const _0x12062c=_0xe3a6b9;this[_0x12062c(0x211)]=_0x22834d,this['_initRequestHeader']();}[_0xe3a6b9(0x3d8)](){const _0x182b6f=_0xe3a6b9;this[_0x182b6f(0x211)][_0x182b6f(0x3f5)]({'interceptor':(_0x245972,_0x1eb370)=>{const _0x848b2f=_0x182b6f,_0xc3e02b=_0x245972['headers'],_0x46c8c0=Ka();return _0x46c8c0&&_0xc3e02b[_0x848b2f(0x454)]('x-univer-host',_0x46c8c0),_0x1eb370(_0x245972);}});}};bt=Xa([Ja(0x0,_0x432547(_0x181521))],bt);var Za=Object[_0xe3a6b9(0x2e1)],Qa=Object[_0xe3a6b9(0x4b1)],ec=(_0x5220b5,_0x49ccd2,_0x1077ba,_0x5368d4)=>{const _0x50012a=_0xe3a6b9;for(var _0x12859f=_0x5368d4>0x1?void 0x0:_0x5368d4?Qa(_0x49ccd2,_0x1077ba):_0x49ccd2,_0x18ecd8=_0x5220b5[_0x50012a(0x285)]-0x1,_0x57104b;_0x18ecd8>=0x0;_0x18ecd8--)(_0x57104b=_0x5220b5[_0x18ecd8])&&(_0x12859f=(_0x5368d4?_0x57104b(_0x49ccd2,_0x1077ba,_0x12859f):_0x57104b(_0x12859f))||_0x12859f);return _0x5368d4&&_0x12859f&&Za(_0x49ccd2,_0x1077ba,_0x12859f),_0x12859f;},qt=(_0x1f867b,_0x17e156)=>(_0x1231d0,_0x33c7a5)=>_0x17e156(_0x1231d0,_0x33c7a5,_0x1f867b);const tc=[_0xe3a6b9(0x426),_0xe3a6b9(0x36d),_0xe3a6b9(0x3e7),_0xe3a6b9(0x437),_0xe3a6b9(0x413)],sc=0x5*0x400*0x400,ic=_0xe3a6b9(0x260),nc='/universer-api/stream/file/upload',rc=_0xe3a6b9(0x5ca),oc='/universer-api/file/{fileID}/sign-url';let cs=class{constructor(_0x114a35,_0x98fe4d,_0x36f876){const _0x425623=_0xe3a6b9;g(this,_0x425623(0x5b5),0x0),g(this,_0x425623(0x2d9),new _0xbd68e4()),g(this,_0x425623(0x272),this[_0x425623(0x2d9)]),g(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x114a35,this[_0x425623(0x466)]=_0x98fe4d,this[_0x425623(0x342)]=_0x36f876);}[_0xe3a6b9(0x4b6)](_0x1e2a64){const _0x2e208f=_0xe3a6b9;this['_waitCount']=_0x1e2a64,this[_0x2e208f(0x2d9)][_0x2e208f(0x32a)](_0x1e2a64);}['getImageSourceCache'](_0x1b984c,_0x5b0689){const _0x516c00=_0xe3a6b9;if(_0x5b0689===_0x2f2b24[_0x516c00(0x4e6)]){const _0x309cdf=new Image();return _0x309cdf['src']=_0x1b984c,_0x309cdf;}return this['_imageSourceCache']['get'](_0x1b984c);}['addImageSourceCache'](_0x3c966a,_0x3bc752,_0x2d8e02){const _0x2043dc=_0xe3a6b9;_0x3bc752===_0x2f2b24[_0x2043dc(0x4e6)]||_0x2d8e02==null||this['_imageSourceCache'][_0x2043dc(0x454)](_0x3c966a,_0x2d8e02);}async[_0xe3a6b9(0x42a)](_0x13ca9d){const _0x1795b1=_0xe3a6b9;try{const _0x1f9150=this['_replaceFileID'](this[_0x1795b1(0x366)](),''+_0x13ca9d),_0x4528c8=(await this['_httpService'][_0x1795b1(0x519)](_0x1f9150))[_0x1795b1(0x1ef)];if(_0x4528c8[_0x1795b1(0x46c)]&&_0x4528c8['error'][_0x1795b1(0x31e)]===Ti['OK']){const _0x469d56=new URL(_0x4528c8[_0x1795b1(0x392)],this[_0x1795b1(0x2e4)]())[_0x1795b1(0x25e)]();return Promise[_0x1795b1(0x57e)](_0x469d56);}return Promise['reject'](_0x4528c8['error']);}catch(_0x3ccbb3){return Promise[_0x1795b1(0x2d4)](_0x3ccbb3);}}async['saveImage'](_0x4693f0){const _0xab8d87=_0xe3a6b9;let _0x506444='';if(!tc[_0xab8d87(0x2fb)](_0x4693f0[_0xab8d87(0x36c)]))return this['_decreaseWaiting'](),Promise[_0xab8d87(0x2d4)](new Error(_0x2b9ae9[_0xab8d87(0x3a9)]));if(_0x4693f0['size']>sc)return this[_0xab8d87(0x1e3)](),Promise[_0xab8d87(0x2d4)](new Error(_0x2b9ae9[_0xab8d87(0x348)]));try{const _0x4abd9c=new FormData();_0x4abd9c[_0xab8d87(0x404)](_0xab8d87(0x21f),_0x4693f0);const _0x194435=this['_univerInstanceService'][_0xab8d87(0x482)](),_0x263b1d=_0x194435==null?void 0x0:_0x194435[_0xab8d87(0x1ea)]();if(!_0x263b1d)throw new Error(_0xab8d87(0x358));const _0x1a2c6e=this['_getUploadFileURL']()+_0xab8d87(0x2a1)+_0x4693f0[_0xab8d87(0x545)][_0xab8d87(0x25e)]()+'&source='+Ri[_0xab8d87(0x333)]+_0xab8d87(0x4f6)+encodeURIComponent(_0x263b1d),_0x54a2a=await(await fetch(_0x1a2c6e,{'method':_0xab8d87(0x4d8),'body':_0x4abd9c}))[_0xab8d87(0x217)]();if(typeof _0x54a2a[_0xab8d87(0x223)]!='string')return this[_0xab8d87(0x1e3)](),Promise[_0xab8d87(0x2d4)](new Error(_0x2b9ae9[_0xab8d87(0x23f)]));_0x506444=_0x54a2a[_0xab8d87(0x223)];}catch{return this['_decreaseWaiting'](),Promise[_0xab8d87(0x2d4)](new Error(_0x2b9ae9[_0xab8d87(0x23f)]));}return new Promise((_0x3f6e1b,_0x18bf20)=>{const _0x473cb0=_0xab8d87,_0x2ec73b=new FileReader();_0x2ec73b[_0x473cb0(0x55b)](_0x4693f0),_0x2ec73b['onload']=_0x57ddc7=>{const _0x274f09=_0x473cb0;var _0x134dba;const _0x3e4144=(_0x134dba=_0x57ddc7[_0x274f09(0x459)])==null?void 0x0:_0x134dba[_0x274f09(0x209)];if(_0x3e4144==null){this[_0x274f09(0x1e3)](),_0x18bf20(new Error(_0x2b9ae9[_0x274f09(0x23f)]));return;}const _0x1284d1=_0x1d5b8a['generateRandomId'](0x6);_0x3f6e1b({'imageId':_0x1284d1,'imageSourceType':_0x2f2b24[_0x274f09(0x26f)],'source':_0x506444,'base64Cache':_0x3e4144,'status':_0x2b9ae9['SUCCUSS']}),this[_0x274f09(0x1e3)]();};});}['_getUploadFileURL'](){const _0x1a0a76=_0xe3a6b9;var _0x5bb511,_0xdfbbcf;const _0x502191=this[_0x1a0a76(0x466)]['getConfig'](ic),_0x11884b=this[_0x1a0a76(0x466)][_0x1a0a76(0x29b)](ie);return(_0xdfbbcf=(_0x5bb511=_0x11884b==null?void 0x0:_0x11884b['uploadFileServerUrl'])!=null?_0x5bb511:_0x502191)!=null?_0xdfbbcf:nc;}['_getSignURL'](){const _0x585e23=_0xe3a6b9;var _0x5e957c,_0x426383;const _0x506d6e=this[_0x585e23(0x466)][_0x585e23(0x29b)](rc),_0x425513=this[_0x585e23(0x466)][_0x585e23(0x29b)](ie);return(_0x426383=(_0x5e957c=_0x425513==null?void 0x0:_0x425513[_0x585e23(0x553)])!=null?_0x5e957c:_0x506d6e)!=null?_0x426383:oc;}[_0xe3a6b9(0x2e4)](){const _0x5cc6dd=_0xe3a6b9;var _0x5aec4c;const _0x2b0d0f=this[_0x5cc6dd(0x466)][_0x5cc6dd(0x29b)](ie);return(_0x5aec4c=_0x2b0d0f==null?void 0x0:_0x2b0d0f['downloadEndpointUrl'])!=null?_0x5aec4c:location[_0x5cc6dd(0x53a)];}['_replaceFileID'](_0xfdebac,_0x3e7e31){const _0x46ff34=_0xe3a6b9;return _0xfdebac[_0x46ff34(0x1f9)]('{fileID}',_0x3e7e31);}[_0xe3a6b9(0x1e3)](){const _0xdb45b6=_0xe3a6b9;this[_0xdb45b6(0x5b5)]-=0x1,this[_0xdb45b6(0x2d9)][_0xdb45b6(0x32a)](this['_waitCount']);}};cs=ec([qt(0x0,_0x432547(_0x181521)),qt(0x1,_0x4b50bc),qt(0x2,_0x432547(_0x17aa8b))],cs);var ac=Object[_0xe3a6b9(0x2e1)],cc=Object[_0xe3a6b9(0x4b1)],hc=(_0x5de95b,_0x3c5dc6,_0x879485,_0x146c31)=>{const _0x236c9a=_0xe3a6b9;for(var _0x132706=_0x146c31>0x1?void 0x0:_0x146c31?cc(_0x3c5dc6,_0x879485):_0x3c5dc6,_0x5ce3db=_0x5de95b[_0x236c9a(0x285)]-0x1,_0x504b4c;_0x5ce3db>=0x0;_0x5ce3db--)(_0x504b4c=_0x5de95b[_0x5ce3db])&&(_0x132706=(_0x146c31?_0x504b4c(_0x3c5dc6,_0x879485,_0x132706):_0x504b4c(_0x132706))||_0x132706);return _0x146c31&&_0x132706&&ac(_0x3c5dc6,_0x879485,_0x132706),_0x132706;},Qe=(_0x140307,_0x452ad4)=>(_0x3ff471,_0x42abf6)=>_0x452ad4(_0x3ff471,_0x42abf6,_0x140307);let Tt=class extends _0x90c284{constructor(_0x1ebe16,_0x398427,_0x322f4a,_0x278591,_0x2d346c){const _0x29e755=_0xe3a6b9;super(),this[_0x29e755(0x4c4)]=_0x1ebe16,this[_0x29e755(0x342)]=_0x398427,this[_0x29e755(0x3ac)]=_0x322f4a,this['_collaborationSessionService']=_0x278591,this[_0x29e755(0x444)]=_0x2d346c,this[_0x29e755(0x1ed)](),this[_0x29e755(0x2e5)]();}[_0xe3a6b9(0x2e5)](){const _0x19a373=_0xe3a6b9,_0x44afb5=async _0x40d74a=>{const _0xeb3e8e=_0x272d;(await this[_0xeb3e8e(0x1d8)][_0xeb3e8e(0x388)](_0x40d74a))['event$']['pipe'](_0x1e3ef3(_0x2e5ce4=>_0x2e5ce4[_0xeb3e8e(0x3f3)]===_0xd65e90[_0xeb3e8e(0x40c)]),_0x7ee64f(this[_0xeb3e8e(0x31a)]))[_0xeb3e8e(0x3d4)](_0x290d48=>{const _0x3896b4=_0xeb3e8e,_0x87f068=_0x290d48,{reason:_0x35173e}=_0x87f068[_0x3896b4(0x2be)];this[_0x3896b4(0x4c4)][_0x3896b4(0x519)](_0xc25f4d)[_0x3896b4(0x47c)]({'type':_0xedbc0c['Error'],'content':this[_0x3896b4(0x444)]['t'](_0x3896b4(0x4af))+'('+_0x35173e+')'}),this[_0x3896b4(0x3ac)][_0x3896b4(0x487)](new _0x345c5d(_0x40d74a)['id'],!0x1),this[_0x3896b4(0x1d8)][_0x3896b4(0x5c2)](_0x40d74a);});};_0x476f09(this[_0x19a373(0x342)][_0x19a373(0x515)](_0x3c5a8f[_0x19a373(0x4fb)]),this[_0x19a373(0x342)][_0x19a373(0x515)](_0x3c5a8f[_0x19a373(0x39b)]))[_0x19a373(0x531)](_0x40a0c5(_0x5487aa=>_0x5487aa['getUnitId']()),_0x1e3ef3(_0x3d4a9c=>!_0x558a05(_0x3d4a9c)),_0x7ee64f(this[_0x19a373(0x31a)]))[_0x19a373(0x3d4)](_0x56f435=>{_0x44afb5(_0x56f435);});}[_0xe3a6b9(0x1ed)](){const _0x54d607=_0xe3a6b9,_0x3a7088=async _0x391ec7=>{const _0x5d667f=_0x272d;(await this[_0x5d667f(0x1d8)][_0x5d667f(0x388)](_0x391ec7))[_0x5d667f(0x506)][_0x5d667f(0x531)](_0x1e3ef3(_0x484450=>_0x484450[_0x5d667f(0x3f3)]===_0xd65e90[_0x5d667f(0x43c)]),_0x7ee64f(this['dispose$']))['subscribe'](_0x144be4=>{const _0x3e0bae=_0x5d667f,_0x2cfca8=_0x144be4,{objectId:_0x761bae}=_0x2cfca8[_0x3e0bae(0x2be)],_0x1b75a3=this['_injector']['get'](_0x12614b);_0x761bae===_0x391ec7?_0x1b75a3[_0x3e0bae(0x216)](_0x391ec7):_0x1b75a3[_0x3e0bae(0x52c)](_0x391ec7,_0x761bae);});};_0x476f09(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3c5a8f['UNIVER_SHEET']),this[_0x54d607(0x342)][_0x54d607(0x515)](_0x3c5a8f['UNIVER_DOC']))[_0x54d607(0x531)](_0x40a0c5(_0x1d78a0=>_0x1d78a0[_0x54d607(0x1ea)]()),_0x1e3ef3(_0x222329=>!_0x558a05(_0x222329)),_0x7ee64f(this['dispose$']))[_0x54d607(0x3d4)](_0x149cda=>{_0x3a7088(_0x149cda);});}};Tt=hc([Qe(0x0,_0x432547(_0x521cd6)),Qe(0x1,_0x17aa8b),Qe(0x2,_0x4e112d),Qe(0x3,_0x432547(Ae)),Qe(0x4,_0x432547(_0x363878))],Tt);var lc=Object[_0xe3a6b9(0x2e1)],_c=Object[_0xe3a6b9(0x4b1)],uc=(_0x463a9c,_0x4bb5f4,_0x46be02,_0x514950)=>{const _0x20917a=_0xe3a6b9;for(var _0x17c98f=_0x514950>0x1?void 0x0:_0x514950?_c(_0x4bb5f4,_0x46be02):_0x4bb5f4,_0x3c09f2=_0x463a9c[_0x20917a(0x285)]-0x1,_0xb433c8;_0x3c09f2>=0x0;_0x3c09f2--)(_0xb433c8=_0x463a9c[_0x3c09f2])&&(_0x17c98f=(_0x514950?_0xb433c8(_0x4bb5f4,_0x46be02,_0x17c98f):_0xb433c8(_0x17c98f))||_0x17c98f);return _0x514950&&_0x17c98f&&lc(_0x4bb5f4,_0x46be02,_0x17c98f),_0x17c98f;},ii=(_0x3c9960,_0x5d1575)=>(_0x30d3eb,_0x355511)=>_0x5d1575(_0x30d3eb,_0x355511,_0x3c9960);let hs=class{constructor(_0x3695b6,_0x33d833){this['_configService']=_0x3695b6,this['_httpService']=_0x33d833;}async['getUnitOnRev'](_0x4dca3e,_0x39b6ad){const _0x4929f0=_0xe3a6b9;var _0xfa56b5;const {unitID:_0x42535e,type:_0x1c2e07,revision:_0x485943=0x0}=_0x39b6ad,_0x22629f=this[_0x4929f0(0x401)]()+'/'+_0x1c2e07+_0x4929f0(0x5b7)+_0x42535e+_0x4929f0(0x456)+_0x485943,_0x5ca790=(await this[_0x4929f0(0x211)][_0x4929f0(0x519)](_0x22629f))[_0x4929f0(0x1ef)],_0x5e6936=(_0xfa56b5=_0x5ca790[_0x4929f0(0x267)])==null?void 0x0:_0xfa56b5[_0x4929f0(0x583)];if(_0x5e6936){const _0x868dd9=_0x5e6936==null?void 0x0:_0x5e6936['originalMeta'],_0x3e26cd=_0x577d88[_0x4929f0(0x3b8)](_0x39d65a(_0x868dd9));_0x5e6936[_0x4929f0(0x480)]=_0x3e26cd,Object['entries'](_0x5e6936[_0x4929f0(0x419)])[_0x4929f0(0x3b9)](([,_0x594b69])=>{const _0x384e38=_0x4929f0,_0x307016=_0x594b69[_0x384e38(0x480)],_0x268f77=_0x577d88[_0x384e38(0x3b8)](_0x39d65a(_0x307016));_0x594b69['originalMeta']=_0x268f77;});}return _0x5ca790;}async['getSheetBlock'](_0x2f2b4e,_0xfc3321){const _0xc64295=_0xe3a6b9,{unitID:_0x399170,type:_0x4756ed,blockID:_0xfa4fcb}=_0xfc3321,_0x4c9e52=this['_getAPIPrefix']()+'/'+_0x4756ed+_0xc64295(0x5b7)+_0x399170+_0xc64295(0x4c6)+_0xfa4fcb;return(await this[_0xc64295(0x211)][_0xc64295(0x519)](_0x4c9e52))['body'];}async[_0xe3a6b9(0x28b)](_0x27d068,_0x5b67e4){const _0x4e71c1=_0xe3a6b9,{unitID:_0x1ab566,type:_0x3405e2,blockID:_0x52f3b8}=_0x5b67e4,_0x5ab892=this[_0x4e71c1(0x58f)]()+'/block/'+_0x3405e2+_0x4e71c1(0x5b7)+_0x1ab566+_0x4e71c1(0x4c6)+_0x52f3b8;return(await this[_0x4e71c1(0x211)][_0x4e71c1(0x519)](_0x5ab892))[_0x4e71c1(0x1ef)];}async[_0xe3a6b9(0x468)](_0x214325,_0x4ced03){const _0x8bd16a=_0xe3a6b9,{unitID:_0x3289e1,type:_0xe05ac5,from:_0x556733,to:_0x256a51}=_0x4ced03,_0x27c216=this[_0x8bd16a(0x58f)]()+'/'+_0xe05ac5+_0x8bd16a(0x5b7)+_0x3289e1+_0x8bd16a(0x4f8)+_0x556733+_0x8bd16a(0x22f)+_0x256a51;return(await this[_0x8bd16a(0x211)][_0x8bd16a(0x519)](_0x27c216))[_0x8bd16a(0x1ef)];}[_0xe3a6b9(0x401)](){const _0x5b1338=_0xe3a6b9;var _0xe33faf;return(_0xe33faf=this[_0x5b1338(0x466)]['getConfig'](or))!=null?_0xe33faf:this['_getAPIPrefix']();}[_0xe3a6b9(0x58f)](){const _0x3a24d2=_0xe3a6b9;var _0x92231e,_0x53c737;const _0x27bee5=this[_0x3a24d2(0x466)]['getConfig'](nr),_0x3b1ef6=this[_0x3a24d2(0x466)][_0x3a24d2(0x29b)](ie);return(_0x53c737=(_0x92231e=_0x3b1ef6==null?void 0x0:_0x3b1ef6[_0x3a24d2(0x513)])!=null?_0x92231e:_0x27bee5)!=null?_0x53c737:rr;}async[_0xe3a6b9(0x3fd)](_0x132d83,_0x260778){const _0x275c64=_0xe3a6b9,_0xc251d8=_0x275c64(0x2b6)+_0x260778[_0x275c64(0x36c)]+_0x275c64(0x5b7)+_0x260778[_0x275c64(0x24d)]+_0x275c64(0x3c6);return(await this[_0x275c64(0x211)][_0x275c64(0x519)](_0xc251d8,{'params':{'resourceId':JSON[_0x275c64(0x4f2)](_0x260778[_0x275c64(0x386)])}}))[_0x275c64(0x1ef)];}[_0xe3a6b9(0x568)](){const _0x1caaee=_0xe3a6b9;throw new Error(_0x1caaee(0x407));}[_0xe3a6b9(0x2d1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe3a6b9(0x410)](){const _0x4515c4=_0xe3a6b9;throw new Error(_0x4515c4(0x407));}[_0xe3a6b9(0x2ad)](){const _0x37338b=_0xe3a6b9;throw new Error(_0x37338b(0x407));}['getLatestCsReqIdBySid'](){const _0x1322df=_0xe3a6b9;throw new Error(_0x1322df(0x407));}};hs=uc([ii(0x0,_0x4b50bc),ii(0x1,_0x432547(_0x181521))],hs);var dc=Object[_0xe3a6b9(0x2e1)],fc=Object[_0xe3a6b9(0x4b1)],vc=(_0x163d2b,_0x30ea64,_0x292e8d,_0x3a4178)=>{const _0x181a2e=_0xe3a6b9;for(var _0x21de06=_0x3a4178>0x1?void 0x0:_0x3a4178?fc(_0x30ea64,_0x292e8d):_0x30ea64,_0x2b6d96=_0x163d2b[_0x181a2e(0x285)]-0x1,_0x442273;_0x2b6d96>=0x0;_0x2b6d96--)(_0x442273=_0x163d2b[_0x2b6d96])&&(_0x21de06=(_0x3a4178?_0x442273(_0x30ea64,_0x292e8d,_0x21de06):_0x442273(_0x21de06))||_0x21de06);return _0x3a4178&&_0x21de06&&dc(_0x30ea64,_0x292e8d,_0x21de06),_0x21de06;},et=(_0x3ebf90,_0x3ec588)=>(_0x45841f,_0x37c27f)=>_0x3ec588(_0x45841f,_0x37c27f,_0x3ebf90);let ls=class extends _0x5add56{constructor(_0x15f8f2,_0x18d7e6,_0x1c8b27,_0x389998,_0x43ee50){const _0x190096=_0xe3a6b9;super(_0x15f8f2,_0x18d7e6,_0x1c8b27),this[_0x190096(0x5db)]=_0x389998,this[_0x190096(0x230)]=_0x43ee50;}[_0xe3a6b9(0x5a9)](_0x24ebfa,_0x42193d){const _0x214935=_0xe3a6b9,_0x180ef3=this['_getUndoStack'](_0x24ebfa);if(_0x180ef3)try{const _0x277d41=this['_transformStack'](_0x180ef3,_0x42193d);this[_0x214935(0x34f)](_0x24ebfa,_0x277d41);}catch(_0x5f2014){this[_0x214935(0x230)][_0x214935(0x46c)]('[CollaborationUndoRedoService]',_0x5f2014),this[_0x214935(0x562)](_0x24ebfa);}const _0x12c15d=this['_getRedoStack'](_0x24ebfa);if(_0x12c15d)try{const _0x2a41f2=this[_0x214935(0x53c)](_0x12c15d,_0x42193d);this[_0x214935(0x36a)](_0x24ebfa,_0x2a41f2);}catch(_0x471a4d){this[_0x214935(0x230)][_0x214935(0x46c)](_0x471a4d),this['_clearRedo'](_0x24ebfa);}}[_0xe3a6b9(0x562)](_0x4ca693){const _0x5be1c5=_0xe3a6b9,_0x2eda57=this[_0x5be1c5(0x59a)](_0x4ca693);_0x2eda57&&(_0x2eda57['length']=0x0,this[_0x5be1c5(0x4e8)]());}[_0xe3a6b9(0x4e2)](_0x252af2){const _0x3dd9df=_0xe3a6b9,_0x4c346a=this['_getRedoStack'](_0x252af2);_0x4c346a&&(_0x4c346a[_0x3dd9df(0x285)]=0x0,this[_0x3dd9df(0x4e8)]());}[_0xe3a6b9(0x34f)](_0x564a3e,_0x1315c1){const _0x5d6c84=_0xe3a6b9;this[_0x5d6c84(0x319)]['set'](_0x564a3e,_0x1315c1),this[_0x5d6c84(0x4e8)]();}[_0xe3a6b9(0x36a)](_0x2e3746,_0x4f5be2){const _0x533b7e=_0xe3a6b9;this[_0x533b7e(0x3d2)][_0x533b7e(0x454)](_0x2e3746,_0x4f5be2),this['_updateStatus']();}['_transformStack'](_0x61456b,_0x4f87f5){const _0x1e2925=_0xe3a6b9,_0xeabd0d=[];let _0x46bcb3=_0x4f87f5,_0x282c81=_0x4f87f5;for(let _0x28805f=_0x61456b['length']-0x1;_0x28805f>=0x0;_0x28805f--){const {unitID:_0xa0f43,undoMutations:_0x29e3f8,redoMutations:_0x1ebb0c}=_0x61456b[_0x28805f],_0x46bcff=this['_transformService'][_0x1e2925(0x270)](_0x46bcb3,_0x29e3f8),_0x3428cd=this['_transformService']['transformMutationsWithChangeset'](_0x282c81,_0x1ebb0c);if(_0x1224cb(_0x46bcff)||_0x1224cb(_0x3428cd)){this[_0x1e2925(0x230)][_0x1e2925(0x46c)](_0x1e2925(0x261),_0x1e2925(0x203),_0x46bcff,_0x3428cd);break;}_0x46bcb3=_0x46bcff[_0x1e2925(0x2bd)],_0x282c81=_0x3428cd[_0x1e2925(0x2bd)],_0xeabd0d[_0x1e2925(0x3f6)]({'unitID':_0xa0f43,'undoMutations':_0x46bcff[_0x1e2925(0x339)],'redoMutations':_0x3428cd[_0x1e2925(0x339)]});}return _0xeabd0d[_0x1e2925(0x5c8)]();}};ls=vc([et(0x0,_0x17aa8b),et(0x1,_0xc67fcf),et(0x2,_0x1221df),et(0x3,_0x24b4da),et(0x4,_0xfb205)],ls);class mc extends _0x90c284{constructor(){const _0x29628f=_0xe3a6b9;super(),g(this,_0x29628f(0x3a4)),this[_0x29628f(0x3a4)]=_0x32e3b9(window,_0x29628f(0x52d))[_0x29628f(0x531)](_0x4c7076(this['dispose$']),_0x186328(0x1),_0x52c065(void 0x0));}[_0xe3a6b9(0x2bb)](_0x2cd1cc,_0x16ab55,_0x57231d=!0x1){const _0x12d9ef=_0xe3a6b9,_0x1e4c67=new URL(window[_0x12d9ef(0x38f)][_0x12d9ef(0x54b)]);_0x1e4c67['searchParams'][_0x12d9ef(0x454)](_0x2cd1cc,_0x16ab55),_0x57231d?window[_0x12d9ef(0x33f)][_0x12d9ef(0x52a)]('','',_0x1e4c67['toString']()):window[_0x12d9ef(0x33f)][_0x12d9ef(0x3b6)]('','',_0x1e4c67['toString']());}[_0xe3a6b9(0x4ca)](_0x55398c,_0x3c362f=!0x1){const _0x2e0703=_0xe3a6b9,_0x1bc89b=new URL(window['location'][_0x2e0703(0x54b)]);_0x1bc89b[_0x2e0703(0x2f1)]['delete'](_0x55398c),_0x3c362f?window[_0x2e0703(0x33f)][_0x2e0703(0x52a)]('','',_0x1bc89b[_0x2e0703(0x25e)]()):window[_0x2e0703(0x33f)]['pushState']('','',_0x1bc89b[_0x2e0703(0x25e)]());}[_0xe3a6b9(0x586)](_0x22f93c){const _0x3be034=_0xe3a6b9;var _0x2bae98;return(_0x2bae98=new URL(window[_0x3be034(0x38f)][_0x3be034(0x54b)])['searchParams'][_0x3be034(0x519)](_0x22f93c))!=null?_0x2bae98:void 0x0;}}var Gi=Object['defineProperty'],pc=Object[_0xe3a6b9(0x4b1)],gc=(_0x41191f,_0x31e8a5,_0x5b97f8)=>_0x31e8a5 in _0x41191f?Gi(_0x41191f,_0x31e8a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b97f8}):_0x41191f[_0x31e8a5]=_0x5b97f8,Sc=(_0xcbcbcc,_0x4764b9,_0x3627a3,_0x2bdd6a)=>{const _0x1917ad=_0xe3a6b9;for(var _0x5959d3=_0x2bdd6a>0x1?void 0x0:_0x2bdd6a?pc(_0x4764b9,_0x3627a3):_0x4764b9,_0x26f695=_0xcbcbcc[_0x1917ad(0x285)]-0x1,_0x2089ab;_0x26f695>=0x0;_0x26f695--)(_0x2089ab=_0xcbcbcc[_0x26f695])&&(_0x5959d3=(_0x2bdd6a?_0x2089ab(_0x4764b9,_0x3627a3,_0x5959d3):_0x2089ab(_0x5959d3))||_0x5959d3);return _0x2bdd6a&&_0x5959d3&&Gi(_0x4764b9,_0x3627a3,_0x5959d3),_0x5959d3;},lt=(_0x4ff7c6,_0xc2a744)=>(_0x3fa16c,_0x3c3333)=>_0xc2a744(_0x3fa16c,_0x3c3333,_0x4ff7c6),Ic=(_0x1106d9,_0x3c906f,_0x34d337)=>gc(_0x1106d9,_0x3c906f+'',_0x34d337);const Cc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let _s=class extends _0x8b9456{constructor(_0x275014=Cr,_0x57ca4c,_0x3032b7,_0x18d134,_0x10517b){const _0x29e6c6=_0xe3a6b9;super(),this[_0x29e6c6(0x229)]=_0x275014,this[_0x29e6c6(0x230)]=_0x57ca4c,this[_0x29e6c6(0x3c0)]=_0x3032b7,this['_injector']=_0x18d134,this[_0x29e6c6(0x466)]=_0x10517b;const {..._0x2bb5ca}=this[_0x29e6c6(0x229)];this['_configService'][_0x29e6c6(0x24b)](ie,_0x2bb5ca);}['onStarting'](){const _0x40c20c=_0xe3a6b9;this[_0x40c20c(0x369)](),this[_0x40c20c(0x5dc)]();}[_0xe3a6b9(0x2bf)](){const _0x5d14c6=_0xe3a6b9;_0x105235(this[_0x5d14c6(0x4c4)],[[Ct]]);}[_0xe3a6b9(0x20b)](){const _0x4f2349=_0xe3a6b9;this[_0x4f2349(0x1fe)]();}[_0xe3a6b9(0x369)](){const _0x1d57fd=_0xe3a6b9;var _0x47fcf1,_0x50577,_0x3e66b5,_0x1e71f0;this['_injector'][_0x1d57fd(0x287)](_0x5786da)&&this[_0x1d57fd(0x230)][_0x1d57fd(0x46c)](_0x1d57fd(0x393),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4e11c9=[[_0x5786da,{'useClass':ls}],[Ae],[Es],[$i,{'useClass':mc}],[Ne],[q],[_0x2df469],[vt],[pt],[ft],[mt],[Is],[Et],[bt],[Oi],[Tt],[yi,{'useClass':(_0x50577=(_0x47fcf1=this['_config'])==null?void 0x0:_0x47fcf1[_0x1d57fd(0x4cc)])!=null?_0x50577:Qt}],[_0x4a311d,{'useClass':hs}],[_0x4784ca,{'useClass':as}],[_0x1dc416,{'useClass':cs}],[it],[It],[St],[Ct],[Ve]];(_0x3e66b5=this[_0x1d57fd(0x229)])!=null&&_0x3e66b5['enableSingleActiveInstanceLock']&&_0x4e11c9[_0x1d57fd(0x3f6)]([Rt,{'useClass':to}]),_0x206216(this[_0x1d57fd(0x4c4)],_0x5c3c24(_0x4e11c9,(_0x1e71f0=this[_0x1d57fd(0x229)])==null?void 0x0:_0x1e71f0[_0x1d57fd(0x2df)]));}[_0xe3a6b9(0x1fe)](){const _0x8c4bf5=_0xe3a6b9;this[_0x8c4bf5(0x5d1)](this['_renderManagerService']['registerRenderModule'](_0x3c5a8f[_0x8c4bf5(0x39b)],[rs])),this[_0x8c4bf5(0x5d1)](this[_0x8c4bf5(0x3c0)][_0x8c4bf5(0x201)](_0x3c5a8f[_0x8c4bf5(0x4fb)],[os]));}[_0xe3a6b9(0x5dc)](){const _0x56b7a0=_0xe3a6b9;var _0x2debc2,_0x23117f;this[_0x56b7a0(0x4c4)][_0x56b7a0(0x519)](_0x181521)[_0x56b7a0(0x3f5)]({'priority':0x14,'interceptor':_0x2cef5d({'maxParallel':0x6})}),(_0x2debc2=this['_config'])!=null&&_0x2debc2[_0x56b7a0(0x2c2)]||this['_injector'][_0x56b7a0(0x519)](q)['disableLocalCache'](),(_0x23117f=this['_config'])!=null&&_0x23117f[_0x56b7a0(0x26a)]&&_0x105235(this['_injector'],[[Et]]),_0x105235(this[_0x56b7a0(0x4c4)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Ic(_s,_0xe3a6b9(0x35a),Cc),_s=Sc([_0x150c40(_0x2f93a9,_0x34bf5b),lt(0x1,_0xfb205),lt(0x2,_0x49136b),lt(0x3,_0x432547(_0x521cd6)),lt(0x4,_0x4b50bc)],_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};