@univerjs-pro/collaboration-client 0.5.0-nightly.202411121606 → 0.5.0-nightly.202411141606

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 (84) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/fa-IR.js +1 -1
  4. package/lib/cjs/locale/ru-RU.js +1 -1
  5. package/lib/cjs/locale/vi-VN.js +1 -1
  6. package/lib/cjs/locale/zh-CN.js +1 -1
  7. package/lib/cjs/locale/zh-TW.js +1 -1
  8. package/lib/es/index.js +1 -1
  9. package/lib/es/locale/en-US.js +1 -1
  10. package/lib/es/locale/fa-IR.js +1 -1
  11. package/lib/es/locale/ru-RU.js +1 -1
  12. package/lib/es/locale/vi-VN.js +1 -1
  13. package/lib/es/locale/zh-CN.js +1 -1
  14. package/lib/es/locale/zh-TW.js +1 -1
  15. package/lib/types/config/config.d.ts +48 -0
  16. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
  17. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
  18. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
  19. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
  20. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +38 -0
  21. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
  22. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
  23. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +39 -0
  24. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
  25. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +18 -0
  26. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
  27. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  28. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +54 -0
  29. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +91 -0
  30. package/lib/types/controllers/collaboration/collaboration-state.d.ts +303 -0
  31. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +24 -0
  32. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +18 -0
  33. package/lib/types/controllers/collaboration/utils/empty.d.ts +2 -0
  34. package/lib/types/controllers/config.schema.d.ts +29 -0
  35. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +1 -0
  36. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +22 -0
  37. package/lib/types/controllers/file-name/file-name.controller.d.ts +12 -0
  38. package/lib/types/controllers/telemetry.d.ts +11 -0
  39. package/lib/types/index.d.ts +35 -890
  40. package/lib/types/locale/en-US.d.ts +3 -0
  41. package/lib/types/locale/fa-IR.d.ts +3 -0
  42. package/lib/types/locale/ru-RU.d.ts +3 -0
  43. package/lib/types/locale/vi-VN.d.ts +3 -0
  44. package/lib/types/locale/zh-CN.d.ts +39 -0
  45. package/lib/types/locale/zh-TW.d.ts +3 -0
  46. package/lib/types/models/cursor.d.ts +30 -0
  47. package/lib/types/plugin.d.ts +18 -0
  48. package/lib/types/services/auth-server/auth-server.service.d.ts +10 -0
  49. package/lib/types/services/auth-server/authz-io-http.service.d.ts +30 -0
  50. package/lib/types/services/auth-server/domain-request.service.d.ts +6 -0
  51. package/lib/types/services/auth-server/util.d.ts +1 -0
  52. package/lib/types/services/collaboration-session/collaboration-session.d.ts +59 -0
  53. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +61 -0
  54. package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
  55. package/lib/types/services/comment/comment.service.d.ts +6 -0
  56. package/lib/types/services/image-remote/image-io.service.d.ts +34 -0
  57. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
  58. package/lib/types/services/local-cache/local-cache.service.d.ts +37 -0
  59. package/lib/types/services/member/member.service.d.ts +77 -0
  60. package/lib/types/services/permission/permission.service.d.ts +12 -0
  61. package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +13 -0
  62. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +39 -0
  63. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +21 -0
  64. package/lib/types/services/socket/collaboration-socket.service.d.ts +34 -0
  65. package/lib/types/services/socket/serialize.d.ts +3 -0
  66. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
  67. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
  68. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
  69. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +19 -0
  70. package/lib/types/services/url/url.service.d.ts +12 -0
  71. package/lib/types/services/url/web-url.service.d.ts +10 -0
  72. package/lib/types/views/components/CollabStatus.d.ts +10 -0
  73. package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
  74. package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
  75. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
  76. package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -0
  77. package/lib/umd/index.js +1 -1
  78. package/lib/umd/locale/en-US.js +1 -1
  79. package/lib/umd/locale/fa-IR.js +1 -1
  80. package/lib/umd/locale/ru-RU.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-TW.js +1 -1
  84. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x586f(_0x5eafd6,_0x172096){const _0x2967ea=_0x2967();return _0x586f=function(_0x586fad,_0x301ba4){_0x586fad=_0x586fad-0xef;let _0x337950=_0x2967ea[_0x586fad];return _0x337950;},_0x586f(_0x5eafd6,_0x172096);}function _0x2967(){const _0x4ac44e=['_colorIndex','reqId','[CollaborationUndoRedoService]','visibilitychange','LICENSE_MAX_UNITS_EXCEEDED','onTransformRemoteChangesetByStateCache','LIVESHARE_TERMINATE','getWorkbookSelections','mapTo','COMPRESS_MUTATION_SEND','UNKNOWN_CMD','COLLAB_SUBMIT_CHANGESET_URL','rev','handleInsertCol','_sheetTransformSelectionsService','UniverTelemetry','_onJoinRoomEvent','saveOfflineData','_entityInit$','SEND_CHANGESET_TIMEOUT','/object','transformUndoRedo','univer-offline','currentTheme$','_pendingMutations','IDLE','_listenToOnlineEvent','lineTo','collabSubmitChangesetUrl','_docSkeletonManagerService','__creator','RichTextEditingMutation','cursorInfo','encode','registerComponent','isTransformChangesetsSuccess','RECV','closeSession','_onLocalMutation','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','focused$','SUCCUSS','_substituteRedoStack','localeService','_clearUndo','_commandService','_sessionStatus$','unitID','InsertRangeMoveRightCommandId','HttpExport','beginPath','getCollabEntity','_telemetryInfo','_handleHeartbeatEvent','toRgbString','_syncEditingCollabCursor','apply','subunit','sessionStatus$','1260458antIYw','SnapshotServerOverHTTPService','onCommentUpdate','selection','PENDING','_transitionLocked','awaiting','_resendTimer','SYNCED','1em','routeKey','_localCacheService','status$','Disposable','_color','change$','_minBufferSize','getDocRanges','complete','Workbook','urlChange$','#fff','UniverRpc','_waitCount','type','_nDataBytes','createCollaborator','skeleton','_getAPIPrefix','UNIVER_UNKNOWN','_anchor','src','take','LICENSE_IMPORT_SIZE_EXCEEDED','amd','[OfflineState]:\x20received\x20rejection.','dispose','saveSheetBlock','useDependency','c1Prime','jiqing500','_startTelemetryCollaborationNewChangeset','_getRedoStack','DisposableCollection','handleIRemoveRow','_hideTimer','subUnitId','_transformStack','WorkbookEditablePermission','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','...','clear','SHA1','onRemoteAck','APPLY_NON_SEQUENTIAL_REVISION','getCellPositionByOffset','makeDirty','forwardRef','_snapshotServerService','pipe','_disableEditing','_oKey','[CollaborationEntity]','transformSelections','NOT_FOUND','IBeforeCloseService','parse','HmacSHA1','UniverDocsUi','_userManagerService','CollaborationSession','_ensureSubject','_initCloseConn','subscribeEvent','getImageSourceCache','charAt','getUnitType','@univerjs/telemetry','_colorAssignService','onStateChange','put','_setupBeforeClosingHandler','_onOffline','APPLY_REJECT','enc','$super','_drawTextRange','Vector2','setCurrentUser','SNAPSHOT_SERVER_URL_KEY','image/bmp','SerializableCipher','_permissionService','_collaborationSessionService','joinEvent','_socketService','div','_getUndoStack','endColumn','COMPRESS_MUTATION_APPLY','_executeRemoteChangeset','compute','default','snapshot','_updateURLWithCurrentState','_removeCollabCursors','getUnitId','create','infoRsp','_localeService','arc','updateCursorEvent','defs','univerjs-icon\x20univerjs-icon-','INVALID_ARGUMENT','_iKey','_initRequestHeader','some','IConfigService','debounce','StreamCipher','text','rxjs/operators','InsertColCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setShowComponents','_docTransformStateCacheService','shareReplay','collaboration_new_changeset','setAlpha','UniverUi','UniverDocs','CHANGESET_REVISION_CONFILICT','_joinRoom','M0\x200H16V16H0z','exports','setTimeout','body','every','addObjects','removeMember','baseRev','_doCryptBlock','collab-text-range-','range','setActiveRange','_logService','newCsEvent','NodePositionConvertToRectRange','_commentUpdate$','@univerjs/docs-ui','SetSelectionsOperation','substring','serializeRangeWithSheet','_sendHeartbeat','_initStatusComponent','fetch_missing','state','onCommandExecuted','SnapshotService','socket$','/universer-api/authz','asObservable','measureText','_onCombEvent','POST','&assign=','[OfflineState]:\x20received\x20changeset.','translate(.97)','enableAuthServer','parseChangesetToProtocol','fetchThroughInterceptors','objectID','getRenderById','getCurrentRevOfUnit','parseProtocolChangeset','csAckEvent','syncEditingCollabCursor','_registerDependencies','status','Inject','_stopTelemetryCollaborationNewChangeset','_state$','2714346benqkt','Warning','RevisionService','splice','file','filter','IUndoRedoService','HEARTBEAT','signUrlServerUrl','react.fragment','clearTimeout','roomMembers','clamp','_docSkeleton','Hex','_transformService','symbol','encryptBlock','_nRounds','deserializeRangeWithSheet','ALREADY_EXISTS','evenodd','collaboration.closeRoom','InsertSheetMutation','ws://127.0.0.1:8000/universer-api/comb/connect','2592204BAONno','@univerjs/drawing','colorChannel1','getRangePointData','_id','_fetchMissChangesets','SNAPSHOT_HAS_BEEN_REMOVED','LIVESHARE_REQUEST_HOST','_transformUndoRedoStack','HttpImport','_clearHeartbeatTimer','round','_getSendChangesetTimeout','message$','transformIMECache','Injector','EvpKDF','executeCommand','UniverCollaborationPlugin','then','DOC_RANGE_TYPE','@univerjs/sheets-ui','getItem','transformMutation','COLORS','initWorkbookPermissionChange','allowed','DocSelectionManagerService','on-line-single_clip0_910_349','onReady','UNAUTHENTICATED','blue400','removeParam','_updateState','setWaitCount','_socket$','FileId','_registerRenderDependencies','SheetCollaborationEntity','_clearCollaborationTimeoutTimer','@univerjs/core','isTransformMutationsWithChangesetFailure','/allowed','getOwnPropertyDescriptor','/universer-api/snapshot/','none','CollaborationEntity','sequenceExecute','React','MemberService','socketService','_schedule','target','_map','_change$','padding','awaitingChangeset','UnitSnapshot','IContextService','setShapeProps','onTransformSelections','_clearOtherTimers','deepClone','icon','changesets','RETRY_CONNECTING_MAX_COUNT','cmd','DocIMEInputManagerService','0\x200\x2016\x2016','_append','startRow','TRANSFORM_CHANGE_OBSERVABLE_TYPE','lib','randomBytes','_state','textRanges','cfg','onMouseMove','revision','WordArray','defIds','idSuffix','_onConflict','HELLO','_collabCursorState$','ThemeService','onlyLocal','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','requireSession','_unitID','[PendingState]:\x20received\x20rejection.','AWAITING_WITH_PENDING','/object/','SetTextSelectionsOperation','Error','prototype','saveImage','_createInitialState','onlineStatusTitle','_snapshotService','_lockTransition','loginUrlKey','workbook','getUniverSheetInstance','online','Utf8','univer-pro.collaboration-client-socket-service','UNIVER_SLIDE','_unitOnClients','toggleOffline','moveTo','newValue','_eventUnsubscribe','ILogService','getConfig','APPLY_PERMISSION_DENIED','_onRemoteRetry','addEventListener','SheetPermissionInitController','_invKeySchedule','_renderManagerService','_refreshCollabCursors','CHANGESET_SHOULD_RETRY','OFFLINE','@univerjs/engine-render','_getCtorByUniverType','readAsDataURL','_imageSourceCache','delay','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_throwTelemetryCollaborationNewChangeset','IImageIoService','touchDependencies','_revisionService','_clearTimeoutTimer','actions','FAIL','_scheduleSaving','Plugin','merge','_docSyncEditingCollabCursorService','registerHTTPInterceptor','LocalUndoRedoService','_decreaseWaiting','getParam','UNKNOWN_CODE','setStateCache','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/universer-api/snapshot','_compressMutationService','createSocket','restore','deleteCollaborator','getTypeOfUnitAdded$','_doFinalize','RegularPolygon','_anchorDot','combineLatest','_transformStateCache','COLLAB_WEB_SOCKET_URL_KEY','[DataLoaderController]','className','_scheduleTimestamp','currentColor','PERMISSION_REJ','_applyRemoteChangeset','registerRenderModule','execute','_clearScheduledTask','CONNECTOR_DATA_TOO_LARGE','_onConnectionFailed','IMessageService','_notificationService','drawWith','_instanceService','_drawAnchor','BlockCipher','_lastPointer','EmptyMutation','b64DecodeUnicode','_mode','data','undoState','_HTTPService','height','addObject','_setupSubUnitSync','cursorInfo$','href','_getAPIPrefixPath','_collaborationTimeoutTimer','disposeWithMe','loadSheet','Unknown\x20user','confirm','_themeService','_onRecvEvent','max','unitId','sid','LIVESHARE_NEW_HOST','_memberService','telemetry\x20info\x20is\x20not\x20initialized','@univerjs/docs','JOINING','_remoteChangesetQueue','getUnitStatus$','ImageUploadStatusType','_initCommandExecutedListener','collabWebSocketUrl','byteOffset','getRoom','interceptor','UniverDrawing','Could\x20not\x20dynamically\x20require\x20\x22','defineProperty','getVpScrollXYInfoByPosToVp','authzUrl','registerRefRange','all','useObservable','getCurrent','getRelativeToViewportCoord','LOGIN_URL_KEY','getSheetBlock','_transformUndoredo','whenReady','_textBubble','resend','_initUnitPermissionChange','getUnitOnRev','_onCursorUpdate','ONLINE','editingUnit','_socketReady','_toggleOffline','getSheetBySheetId','collabStatus.synced','liveShareNewHost','_online','stopTime','handleInsertRangeMoveDown','userID','1463021ZjUtaJ','updateOfflineData','objectActions','_initResize','transform','[OfflineState]:\x20received\x20acknowledgement.','commentUpdate$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','HTTPRequest','collab-client.tooltip.reconnect','LICENSE_EXPORT_SIZE_EXCEEDED','_getCurrentRevision','#FFF','/universer-api/stream/file/upload','_createHelper','closePath','string','rxjs','getCollabCursors$','MergeInterceptorFactory','hide','IURLService','Decryptor','_onUserLeave','code','event$','_data','onSendChangeset','collabStatus.conflict','row','getSkeleton','_members','fill','blockSize','updatePermissionPoint','_removeRoom','_updateLocalCache','onTransformIME','close','[SyncedState]:\x20received\x20rejection.','IUIPartsService','bottom','BuiltInUIPart','_prevBlock','InsertRangeMoveDownCommandId','registerDependencies','Base64','@univerjs/ui','replaceState','clipPath','_retryConnectingTimer','sigBytes','HEADER_MENU','transformMutationsWithChangeset','collaboration-client.config','getSheetObject','_sendHeartbeatTimer','onPointerEnter$','conflict.content','886982yAOzdB','decrypt','rng','32dDmItS','ITransformService','jsx','_unitStatus','_xformMode','Optional','floor','capture','_updateStatus','_candidateSocket','bind','isInternalEditorID','_session','_range','WebSocketService','add','reconnect','onlineStatus','mutations','from','_status$','_onRemoteRejected','_resendTimeout','SNAPSHOT_INVALID_SNAPSHOT','unitId\x20is\x20not\x20found','DocCollaborationEntity','_send','unshift','connection\x20error','close$','ILocalStorageService','IUniverInstanceService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','next','setParam','error','USERS_ENTER','replace','repeat','pauseCollaboration','getAllMembers','getViewport','YUUMI_SUBSCRIPTION_NOT_FOUND','history','_entities','getAncestorScale','popstate','sendChangesetTimeout','_initStatusListener','_backgroundColor','reset','collaMsg','AWAITING','_onUserJoin','/collaborator','values','LocaleService','onSyncEditingCollabCursor','EffectRefRangId','doc.mutation.rich-text-editing','failed\x20to\x20apply\x20missed\x20changesets!','originalMeta','concatMap','off-line-single_clip0_910_343','COMPLETION_FINISHED','BehaviorSubject','url(#on-line-single_clip0_910_349)','SheetsSelectionsService','msCrypto','APPLY_REVISION_CONFILICT','_initEventListeners','push','verdancy600','_transformPreviousActiveRange','COLLAB_SUBMIT_CHANGESET_URL_KEY','fillRule','HEARTBEAT_INTERVAL','_reverseMap','ThresholdInterceptorFactory','pushState','_beforeCloseService','Rect','children','top','_transformRemoteChangesetByIMECache','_getSheetObject','_hover','uni.network.url-service','USERS_LEAVE','_scheduleHeartbeat','setInterval','attrs','HEARTBEAT_TIMEOUT_KEY','location','transformStateCache','UniverDesign','SHOULD_CLOSE_CONN','DeleteRangeMoveLeftCommandId','Undefined','offline','isTransformMutationFailure','_getSaveTimeout','indexOf','getCurrentUser','HmacMD5','hasher','sessionStatus','session.will-retry','RxDisposable','byteLength','debug','_getAnchorBounding','RemoveRowCommandId','conflict.title','saveChangeset','collabCursorState$','NodePositionConvertToCursor','RETRY_CONNECTING_MAX_COUNT_KEY','getResourcesRequest','_getSnapshotAPIPrefix','handleIRemoveCol','getRandomValues','forEach','searchParams','params','_document','getActiveSheet','CompressMutationService','downloadEndpointUrl','image/jpeg','LOCAL_CACHE_INTERVAL','_httpService','ISnapshotServerService','get','@univerjs/design','updatePermissionObjEvent','memberID','c2Prime','transformRemoteChangeset','/block/','_getSignURL','{fileID}','socket\x20close','Malformed\x20UTF-8\x20data','ACTIVE_UNIT_EVENT_CHANNEL','LIVESHARE_OPERATION','_uiPartsService','/resources','enableSingleActiveInstanceLock','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','copyFileMeta','_startSheetCollabCursor','_clearRedo','updateCollaborator','words','uploadFileServerUrl','isEditing','_handleHover','kdf','encrypt','_resendWithTimeout','_handler','UniverCollaborationClientPlugin','onPointerMove$','CollaborationSocketService','width','_unlockTransition','requestParams','_injector','_incrementRevisionNumber','UniverCore','SheetSkeletonManagerService','OTHER_CLIENTS_EDITING','currentSkeleton$','_scheduleClearOtherTimer','ImageSourceType','Cipher','_onRemoteACK','Hasher','_config','_keyPriorReset','patch','length','sheets','font','processBlock','duration','transformStack\x20failed!','_syncEditingCollabCursorService','extend','charCodeAt','createIdentifier','liveShareOperation','[CollaborationSessionService]:\x20socket\x20error','clone','DocSkeletonManagerService','fromCollab','batchAllowed','startsWith','AuthzIoHttpService','_hash','TEXT_RANGE_LAYER_INDEX','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdateEvent','@univerjs/network','CHANGESET_ACK','OffLineSingle','VIEWPORT_KEY','createInstance','_submitChangeset','_collaborationController','assign','_urlService','getMemberID','YUUMI_RATE_OVER_LIMIT','generateRandomId','getUndoRedoMutationParamsCache','has','DataLoaderController','unknown','[CollaborationSession]','init','split','reverse','COMMENT_UPDATE','_sendingTimer','AES','fillText','path','LocalCacheService','svg','find','loadDoc','_createSocket','snapshotServerUrl','MUTATION','ICollaborationSocketService','MessageType','CHANGESET_REJ','registerOnClose','CollaborationStatus','serializeCombRequest','UniverCollaborationClient','keySize','_retryCount','\x20-\x20','getCurrentSelections','UniverEngineFormula','fetchMissingChangesets','displayName','ImageIoService','black','univer-online-status-title','headers','send','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','findNodePositionByCharIndex','hidden','ERROR_IMAGE_TYPE','random','hasOwnProperty','_sender','_context','decryptBlock','_onRemoteChangeset','_acknowledgedAwaitingChangeset','UPDATE_PERMISSION_OBJ','_handleLeaveEvent','_transformSelections','xlink:href','map','format','MD5','getUnit','_process','CBC','@univerjs-pro/collaboration','submit\x20changeset\x20error!','randomUUID','_localStorageService','_collabCursorController','substr','UniverSheets','mapDocumentTypeToUniverType','onRemoteChangeset','3680336YMgemy','reject','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MSG_FOR_ERROR','_replayCachedMutations','unit-cache-','ciphertext','getActiveRange','isArray','_onRefRangeChange','\x20in\x20_schedule.','origin','_cursorShapes','onTransformState','getOwnPropertySymbols','&to=','_sessions','MoveRangeCommandId','delete','_iv','_drawRectRange','abs','tag','INGEST','onRemoteRetry','univer-online-status','getValue','_onCursorDelete','_draw','compose','_getDownloadEndpointURL','isTransformMutationsWithChangesetSuccess','crypto','_cachedData','NO_OTHER_CLIENTS_EDITING','LEAVE','createDecryptor','mode','fetching\x20missing\x20changesets\x20from\x20','_name','redoState','assignAColorForMemberID','_collaborationPaused','_createInitialStateImpl','_docStateChangeManagerService','algo','registerBeforeClose','ranges','/-/object/list','_singleActiveUnitService','addImageSourceCache','RECT','_transformIMECache','setUndoRedoMutationParamsCache','_cursorInfo$','SUBMIT_CHANGESET','INTERNAL_ERROR','TOO_MANY_REQUESTS','_undoRedoService','save','csShouldRetryEvent','_docTransformIMECacheService','reduce','_createHandler','JSONX','getUnhiddenWorksheets','getLatestCsReqIdBySid','toStringTag','roomMembers$','Subject','_configService','session','getStateCache','distinctUntilChanged','unit','exhaustSavingTask','_hasher','use','UNIVER_DOC','getFocusedUnit','hovered','_updateCollabCursors','_removeClearOtherTimer','[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.','PERMISSION_DENIED','UNIVER_SHEET','_cursors','getMergeData','_roomMembers','_handleEvent','resourceIDs','_assignedColors','0\x200\x2017\x2016','_exhaustRemoteChangesetQueue','appendMutation','stringify','UPDATE_CURSOR','_updateLocalCursor','PSEUDO_FETCH_MISSING_RESULT','/rev/','_scheduleCollaborationTimeoutTimer','/unit/','_labelPosition','_initMergeInterceptor','collabStatus.fetchMiss','connectInjector','_changesetReqId','getInterceptPoints','createEncryptor','_toggleOnline','fromCharCode','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','runRefRangeMutations','onRendered','_socketMessageSubscription','DeleteRangeMoveUpCommandId','CollaborationStatusDisplay','debounceTime','LICENSE_DISTRO_REJECTED','ICommandService','YUUMI_URL_COL_OUT_OF_RANGE','_hovered','Tooltip','show','ref','listCollaborators','_type','_changesetSessionId','HTTPService','UnitEmbedded','red300','_initDependencies','InsertRowCommandId','/universer-api/oidc/authpage','backgroundColor','m1Prime','synced','fromEvent','[CollaborationSessionService]','off-line-single','TEXT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_TIMEOUT','_doReset','purple300','_init','result','image/png','_heartbeatTimer','_DEC_XFORM_MODE','FETCH_MISSING','DependentOn','_transformHistoryAndStateStack','ReactCurrentOwner','getMember','onRemoteRej','_shouldReportTelemetry','AUTHZ_URL_KEY','fetchMiss','save\x20fail\x20reason\x20is\x20','UniverEngineRender','_timeoutTimer','startTime','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SessionStatus','_onFetchMissResult','CollaborationSessionService','_commentService','fillStyle','join','Shape','color','_disabled','_getLoginPath','_getMergeRange','objectType','[PendingState]:\x20received\x20acknowledgement.','csRejEvent','_messageService','_refRangeService','slice','onPointerLeave$','collab-text-anchor-','_queuedRemoteChangesets','_ENC_XFORM_MODE','HMAC','\x0aCurrent:\x20','pad','IPermissionService','8971659BIHWQy','x-univer-host','incrementRevOfUnit','fromEventSubject','endRow','\x0aAfter:\x20','CommandType','_cipher','univer-pro.collaboration-client.single-active-unit-service','sin','pending','CipherParams','key','CONFLICT','toString','textEncoder','_loadSheet','@univerjs/engine-formula','_ws','session.connection-failed','createElement','min','UNIVER_PROJECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','_replaceFileID','handleDeleteRangeMoveUp','onMissedChangesetFetched','roomInfos','finalize','call','LIVESHARE_FETCH_OPERATIONS','_telemetryService','_showConflictNotification','Base','[PendingState]:\x20unhandled\x20univer\x20type:\x20','mixIn','IRenderManagerService','on-line-single','SetWorksheetActivateCommand','name','current','UniverSheetsUi','_loadDoc','with','_doProcessBlock','retryConnectingInterval','@univerjs/rpc','propertyIsEnumerable','gold400','RemoveColCommandId','[UniverCollaborationClientPlugin]','object','_keySchedule','_saveTaskMap','_updateSubUnitFromURLParams','DesktopCollaborationStatusDisplayController','_onMessage','getTime','UNRECOGNIZED','_rescheduleHeartbeat','_cursor','startColumn','BASE64','_saveCache','getTypeOfUnitDisposed$','entries','takeUntil','salt','_clearLocalCache','isActive','eventID','toggleOnline','editing\x20status\x20changed\x20to','5JfKxcv','engine','/new_changes','_transformRemoteChangesetByStateCache','updateMember','CollaborationEvent','UniverInstanceType','_univerInstanceService','switchMap','react','handleInsertRow','_isPermissionRej','_key','_event$','for','_scene','_onConnectionOpen','NOT_COLLAB','_sheetSkeletonManagerService','size','FETCH_MISS','getCollabEntity$','number','selections','_redoStacks','onTransformRemoteChangesetByIMECache','_startCollaboration','getSheetId','setItem','responseType','Encryptor','FromArray','transformChangesets','replaceDocRanges','collaboratorID','ENSURE_SNAPSHOT_EXECUTION','[CollaborationState]:\x20apply\x20error!','jsxs','catch','visibilityState','/-/object/-/batch_allowed','_roomMembers$','PasswordBasedCipher','concat','_socket','update','_selfUnitIDs','buffer','now','roles','univer-online','column','JOIN','url(#$1','conflict','ERROR_IMAGE','post','OpenSSL','includes','univer-online-status-icon','_awaitingChangeset','clearInterval','_collabSessionService','set','getColor','ivSize','formatter','image/gif','putCollaborators','DocStateChangeManagerService','SNAPSHOT_URL_KEY','flatMap','ceil','isPermissionRej','unsubscribe','/fetchmissing?from=','subscribe','dispose$','_checkMissing','disableLocalCache','onStarting','image/jpg','_render','CollaborationController','YUUMI_UNABLE_LOAD_URL','Tools','deserializeToCombResponse','open$','toDisposable','_tryEnsureSocket','append','EXCHANGE_SIGN_URL_SERVER_URL_KEY','APPLY_DUPLICATED','session.collaboration-timeout','m2Prime','handleMoveRange','collaboration.single-unit.warning','ReplaySubject','_waitForHeartbeatResponse','UNDEFINED','_shapes','function','_tryReconnect','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!'];_0x2967=function(){return _0x4ac44e;};return _0x2967();}(function(_0x4179c6,_0x5dc0ea){const _0xebd6ab=_0x586f,_0x2a8296=_0x4179c6();while(!![]){try{const _0x5bdccb=parseInt(_0xebd6ab(0x1b9))/0x1+-parseInt(_0xebd6ab(0x483))/0x2+-parseInt(_0xebd6ab(0x53a))/0x3+parseInt(_0xebd6ab(0x2d9))/0x4+parseInt(_0xebd6ab(0x3e0))/0x5*(parseInt(_0xebd6ab(0x553))/0x6)+parseInt(_0xebd6ab(0x17e))/0x7*(parseInt(_0xebd6ab(0x1bc))/0x8)+-parseInt(_0xebd6ab(0x396))/0x9;if(_0x5bdccb===_0x5dc0ea)break;else _0x2a8296['push'](_0x2a8296['shift']());}catch(_0x1e24a4){_0x2a8296['push'](_0x2a8296['shift']());}}}(_0x2967,0x84a12),function(_0x5ffb50,_0xc0c5d8){const _0x2f6e30=_0x586f;typeof exports=='object'&&typeof module<'u'?_0xc0c5d8(exports,require(_0x2f6e30(0x57b)),require('rxjs'),require(_0x2f6e30(0x4fd)),require('@univerjs/design'),require('@univerjs/ui'),require(_0x2f6e30(0x288)),require('@univerjs-pro/collaboration'),require('@univerjs/telemetry'),require(_0x2f6e30(0x519)),require('@univerjs/sheets'),require(_0x2f6e30(0x107)),require('@univerjs/docs'),require(_0x2f6e30(0x554)),require(_0x2f6e30(0x3a7)),require(_0x2f6e30(0x568)),require(_0x2f6e30(0x3e9)),require(_0x2f6e30(0x3c5))):typeof define==_0x2f6e30(0x445)&&define[_0x2f6e30(0x4a5)]?define([_0x2f6e30(0x50a),_0x2f6e30(0x57b),_0x2f6e30(0x18f),_0x2f6e30(0x4fd),_0x2f6e30(0x242),_0x2f6e30(0x1ad),'@univerjs/network',_0x2f6e30(0x2d0),_0x2f6e30(0x4d0),'@univerjs/docs-ui','@univerjs/sheets','@univerjs/engine-render',_0x2f6e30(0x156),_0x2f6e30(0x554),_0x2f6e30(0x3a7),_0x2f6e30(0x568),_0x2f6e30(0x3e9),'@univerjs/rpc'],_0xc0c5d8):(_0x5ffb50=typeof globalThis<'u'?globalThis:_0x5ffb50||self,_0xc0c5d8(_0x5ffb50[_0x2f6e30(0x2ae)]={},_0x5ffb50[_0x2f6e30(0x266)],_0x5ffb50[_0x2f6e30(0x18f)],_0x5ffb50[_0x2f6e30(0x18f)]['operators'],_0x5ffb50[_0x2f6e30(0x21b)],_0x5ffb50[_0x2f6e30(0x505)],_0x5ffb50['UniverNetwork'],_0x5ffb50['UniverCollaboration'],_0x5ffb50[_0x2f6e30(0x457)],_0x5ffb50[_0x2f6e30(0x4c7)],_0x5ffb50[_0x2f6e30(0x2d6)],_0x5ffb50[_0x2f6e30(0x379)],_0x5ffb50[_0x2f6e30(0x506)],_0x5ffb50[_0x2f6e30(0x160)],_0x5ffb50[_0x2f6e30(0x2b3)],_0x5ffb50[_0x2f6e30(0x3c0)],_0x5ffb50[_0x2f6e30(0x583)],_0x5ffb50[_0x2f6e30(0x499)]));}(this,function(_0x2728bd,_0x8a1a57,_0x933215,_0x478e49,_0x731a74,_0x4b60ff,_0x547ebe,_0x27cfd8,_0x2d346b,_0x473dea,_0x46f63a,_0x20e8c2,_0x1d9e38,_0x1444d,_0x2f3a98,_0x3ba744,_0x5e80f5,_0x6cb789){'use strict';const _0x16631f=_0x586f;var _0x5412be=Object[_0x16631f(0x162)],_0x358f5f=(_0x53f7af,_0xf1df9d,_0x5a448e)=>_0xf1df9d in _0x53f7af?_0x5412be(_0x53f7af,_0xf1df9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a448e}):_0x53f7af[_0xf1df9d]=_0x5a448e,_0x2a606e=(_0x426f38,_0x1d9b95,_0x3401c4)=>_0x358f5f(_0x426f38,typeof _0x1d9b95!=_0x16631f(0x54a)?_0x1d9b95+'':_0x1d9b95,_0x3401c4);const _0x105ab0=_0x16631f(0x4dc),_0x302226=_0x16631f(0x11f),_0x17ae05=_0x16631f(0x426),_0xe2af66=_0x16631f(0x45b),_0xa043d2='COLLAB_WEB_SOCKET_URL',_0x2e90bf=_0x16631f(0x552),_0x5308f2=_0x16631f(0x208),_0x24c7e0=_0x16631f(0x367),_0x3f4302=_0x16631f(0x594),_0x3c4516=_0x16631f(0x23e),_0x5f392d=_0x16631f(0x453),_0x2866e4='/universer-api/comb',_0x1da8a5=_0x16631f(0x16a),_0x4638d3=_0x16631f(0x35e);var _0x40c994=(_0x384af3=>(_0x384af3[_0x384af3[_0x16631f(0x443)]=0x0]=_0x16631f(0x443),_0x384af3[_0x384af3['OK']=0x1]='OK',_0x384af3[_0x384af3[_0x16631f(0x311)]=0x2]=_0x16631f(0x311),_0x384af3[_0x384af3[_0x16631f(0x32d)]=0x3]=_0x16631f(0x32d),_0x384af3[_0x384af3['NOT_FOUND']=0x4]=_0x16631f(0x4c3),_0x384af3[_0x384af3[_0x16631f(0x571)]=0x5]='UNAUTHENTICATED',_0x384af3[_0x384af3[_0x16631f(0x54e)]=0x6]=_0x16631f(0x54e),_0x384af3[_0x384af3[_0x16631f(0x4f5)]=0x7]=_0x16631f(0x4f5),_0x384af3[_0x384af3['TOO_MANY_REQUESTS']=0x8]=_0x16631f(0x312),_0x384af3[_0x384af3['COMPLETION_FINISHED']=0x9]=_0x16631f(0x1fc),_0x384af3[_0x384af3[_0x16631f(0x507)]=0x1389]=_0x16631f(0x507),_0x384af3[_0x384af3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x16631f(0x1d3),_0x384af3[_0x384af3[_0x16631f(0x559)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x384af3[_0x384af3[_0x16631f(0x403)]=0x1773]=_0x16631f(0x403),_0x384af3[_0x384af3[_0x16631f(0x4d6)]=0x1b59]=_0x16631f(0x4d6),_0x384af3[_0x384af3[_0x16631f(0x4b9)]=0x1b5a]=_0x16631f(0x4b9),_0x384af3[_0x384af3[_0x16631f(0x201)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x384af3[_0x384af3[_0x16631f(0xfe)]=0x1b5c]=_0x16631f(0xfe),_0x384af3[_0x384af3[_0x16631f(0x43c)]=0x1b5d]=_0x16631f(0x43c),_0x384af3[_0x384af3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x16631f(0x134),_0x384af3[_0x384af3[_0x16631f(0x44c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x384af3[_0x384af3[_0x16631f(0x4ff)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x384af3[_0x384af3[_0x16631f(0x4a4)]=0x232b]=_0x16631f(0x4a4),_0x384af3[_0x384af3[_0x16631f(0x188)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x384af3[_0x384af3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x16631f(0x34f),_0x384af3[_0x384af3[_0x16631f(0x434)]=0x2711]=_0x16631f(0x434),_0x384af3[_0x384af3[_0x16631f(0x351)]=0x2712]=_0x16631f(0x351),_0x384af3[_0x384af3[_0x16631f(0x292)]=0x2713]=_0x16631f(0x292),_0x384af3[_0x384af3[_0x16631f(0x1e6)]=0x2714]=_0x16631f(0x1e6),_0x384af3[_0x384af3[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0x384af3))(_0x40c994||{}),_0x4a6b81=(_0x415daa=>(_0x415daa[_0x415daa[_0x16631f(0x4a0)]=0x0]=_0x16631f(0x4a0),_0x415daa[_0x415daa['UNIVER_DOC']=0x1]=_0x16631f(0x327),_0x415daa[_0x415daa[_0x16631f(0x32e)]=0x2]=_0x16631f(0x32e),_0x415daa[_0x415daa[_0x16631f(0xf6)]=0x3]=_0x16631f(0xf6),_0x415daa[_0x415daa['UNIVER_PROJECT']=0x4]=_0x16631f(0x3ac),_0x415daa[_0x415daa[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0x415daa))(_0x4a6b81||{}),_0x4421b5=(_0xab8deb=>(_0xab8deb[_0xab8deb[_0x16631f(0x452)]=0x0]=_0x16631f(0x452),_0xab8deb[_0xab8deb[_0x16631f(0x5a6)]=0x1]='HELLO',_0xab8deb[_0xab8deb[_0x16631f(0x414)]=0x2]='JOIN',_0xab8deb[_0xab8deb['LEAVE']=0x3]='LEAVE',_0xab8deb[_0xab8deb[_0x16631f(0x2f0)]=0x4]=_0x16631f(0x2f0),_0xab8deb[_0xab8deb[_0x16631f(0x541)]=0x5]=_0x16631f(0x541),_0xab8deb[_0xab8deb[_0x16631f(0x46c)]=0x6]=_0x16631f(0x46c),_0xab8deb[_0xab8deb[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0xab8deb))(_0x4421b5||{}),_0x2737e6=(_0x208bcc=>(_0x208bcc[_0x208bcc['UNKNOWN_CODE']=0x0]=_0x16631f(0x11c),_0x208bcc[_0x208bcc['OK']=0x1]='OK',_0x208bcc[_0x208bcc['FAIL']=0x2]=_0x16631f(0x113),_0x208bcc[_0x208bcc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x208bcc))(_0x2737e6||{}),_0x4e4d17=(_0x341960=>(_0x341960[_0x341960[_0x16631f(0x21e)]=0x0]=_0x16631f(0x21e),_0x341960[_0x341960[_0x16631f(0x55c)]=0x1]=_0x16631f(0x55c),_0x341960[_0x341960[_0x16631f(0x479)]=0x2]=_0x16631f(0x479),_0x341960[_0x341960[_0x16631f(0x35a)]=0x3]='UnitEmbedded',_0x341960[_0x341960[_0x16631f(0x58c)]=0x4]=_0x16631f(0x58c),_0x341960[_0x341960[_0x16631f(0x3d1)]=-0x1]='UNRECOGNIZED',_0x341960))(_0x4e4d17||{});const _0x132856=_0x16631f(0x1b4),_0x361e6c={};function _0x44af3e(_0x1ae501){const _0x19f62d=_0x16631f;var _0x5acb4a,_0x596703,_0x3c7aa5,_0x8a4828,_0x34e785;const _0x1c19a5=_0x1ae501[_0x19f62d(0x140)],_0x27a9ab=JSON[_0x19f62d(0x4c5)](_0x1c19a5);switch(_0x27a9ab['cmd']){case _0x4421b5[_0x19f62d(0x541)]:case _0x4421b5[_0x19f62d(0x5a6)]:{const _0x4a1d17=_0x27a9ab[_0x19f62d(0x4ef)];return{..._0x27a9ab,'data':_0x4a1d17,'cmd':_0x27a9ab[_0x19f62d(0x595)]};}case _0x4421b5['JOIN']:{const _0x81909b=_0x27a9ab['joinRsp'];return{..._0x27a9ab,'data':_0x81909b,'cmd':_0x27a9ab[_0x19f62d(0x595)]};}case _0x4421b5['RECV']:{const _0x4f5ff7=_0x27a9ab[_0x19f62d(0x1ef)];switch(_0x4f5ff7[_0x19f62d(0x3dd)]){case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x12f)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x5acb4a=_0x4f5ff7['permissionRejEvent'])==null?void 0x0:_0x5acb4a['cs']},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)]['CHANGESET_ACK']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x596703=_0x4f5ff7[_0x19f62d(0x533)])==null?void 0x0:_0x596703['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x3c7aa5=_0x4f5ff7[_0x19f62d(0x516)])==null?void 0x0:_0x3c7aa5['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2aa)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x8a4828=_0x4f5ff7[_0x19f62d(0x38a)])==null?void 0x0:_0x8a4828['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['CHANGESET_SHOULD_RETRY']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x34e785=_0x4f5ff7[_0x19f62d(0x315)])==null?void 0x0:_0x34e785['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x4f2)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x1e0)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x4e1)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x214)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['leaveEvent']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['LIVESHARE_NEW_HOST']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['liveShareNewHost']},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x3b5)]:case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x24d)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x27c)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['LIVESHARE_TERMINATE']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x179)]},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2dc)]:return{..._0x27a9ab,'data':_0x4f5ff7,'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x29c)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x287)]},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2c6)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x243)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['SHOULD_CLOSE_CONN']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['shouldCloseConn']},'cmd':_0x27a9ab['cmd']};default:return _0x27a9ab;}}default:return _0x27a9ab;}}function _0x5e3630(_0x42197b){const _0x2c0c97=_0x16631f;switch(_0x42197b[_0x2c0c97(0x595)]){case _0x4421b5['HEARTBEAT']:case _0x4421b5[_0x2c0c97(0x5a6)]:return JSON[_0x2c0c97(0x338)]({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)]});case _0x4421b5[_0x2c0c97(0x2f0)]:{let _0x98c844;switch(_0x42197b[_0x2c0c97(0x140)]['eventID']){case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x339)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x339)],'updateCursorEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x214)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x214)],'leaveEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)]['USERS_ENTER']:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x1e0)],'joinEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x153)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x153)],'liveShareNewHost':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x24d)],'liveShareOperation':_0x42197b[_0x2c0c97(0x140)]['data']};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x44e)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x44e)],'liveShareTerminate':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x55a)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8['CollaborationEvent'][_0x2c0c97(0x3b5)]:{_0x98c844={'eventID':_0x27cfd8['CollaborationEvent'][_0x2c0c97(0x3b5)]};break;}default:_0x98c844={'eventID':_0x42197b[_0x2c0c97(0x140)]['eventID']};}return JSON['stringify']({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'collaMsg':_0x98c844});}case _0x4421b5['JOIN']:return JSON[_0x2c0c97(0x338)]({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'joinReq':_0x42197b[_0x2c0c97(0x140)]});case _0x4421b5[_0x2c0c97(0x2fc)]:return JSON['stringify']({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'leaveReq':_0x42197b[_0x2c0c97(0x140)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x379e0e=Object[_0x16631f(0x162)],_0x1ca809=Object[_0x16631f(0x57e)],_0x5a838e=(_0x5688a9,_0x10a463,_0x11d9c8,_0xebadb8)=>{const _0x321d23=_0x16631f;for(var _0xe3ac9b=_0xebadb8>0x1?void 0x0:_0xebadb8?_0x1ca809(_0x10a463,_0x11d9c8):_0x10a463,_0x1ba81b=_0x5688a9[_0x321d23(0x272)]-0x1,_0x47033a;_0x1ba81b>=0x0;_0x1ba81b--)(_0x47033a=_0x5688a9[_0x1ba81b])&&(_0xe3ac9b=(_0xebadb8?_0x47033a(_0x10a463,_0x11d9c8,_0xe3ac9b):_0x47033a(_0xe3ac9b))||_0xe3ac9b);return _0xebadb8&&_0xe3ac9b&&_0x379e0e(_0x10a463,_0x11d9c8,_0xe3ac9b),_0xe3ac9b;},_0x51ec2c=(_0x1aa654,_0x56c9a1)=>(_0x2aa2f6,_0xb2d24e)=>_0x56c9a1(_0x2aa2f6,_0xb2d24e,_0x1aa654);const _0x55ce8e=_0x8a1a57['createIdentifier'](_0x16631f(0xf5));function _0x5eaccb(_0x1f6842,_0x2d369b,_0xcff014){const _0x372b5f=_0x16631f;return _0x1f6842+'/'+_0x2d369b+'/unit/'+_0xcff014+_0x372b5f(0x3e2);}_0x2728bd[_0x16631f(0x260)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x55c53f,_0x34024c,_0x25eb02,_0x4c5c68,_0x426073){const _0x297063=_0x16631f;super(),this['_http']=_0x55c53f,this['_ws']=_0x34024c,this[_0x297063(0x31f)]=_0x25eb02,this[_0x297063(0x515)]=_0x4c5c68,this['_snapshotServerService']=_0x426073;}[_0x16631f(0x121)](_0x1d4068){const _0x323248=_0x16631f,_0x505c58=this[_0x323248(0x3a8)]['createSocket'](_0x1d4068);if(!_0x505c58)throw new Error(_0x323248(0x348));const _0x538a39=new _0x8a1a57[(_0x323248(0x4ae))](),_0x2c2d1d=new _0x933215[(_0x323248(0x31e))]();_0x538a39[_0x323248(0x1cb)](_0x505c58['close$']['subscribe'](_0x5d5ee2=>_0x2c2d1d[_0x323248(0x1dd)](_0x5d5ee2))),_0x538a39[_0x323248(0x1cb)](_0x8a1a57[_0x323248(0x438)](()=>_0x2c2d1d[_0x323248(0x495)]()));const _0x5d32f6=new _0x933215[(_0x323248(0x31e))]();_0x538a39[_0x323248(0x1cb)](_0x505c58['error$'][_0x323248(0x42c)](_0x187d69=>_0x5d32f6[_0x323248(0x1dd)](_0x187d69))),_0x538a39[_0x323248(0x1cb)](_0x8a1a57[_0x323248(0x438)](()=>_0x5d32f6['complete']()));const _0x43be3e=new _0x933215['Subject']();_0x538a39[_0x323248(0x1cb)](_0x505c58[_0x323248(0x560)]['subscribe'](_0xdfaef8=>{const _0x39e3df=_0x323248,_0x533cab=_0x44af3e(_0xdfaef8);_0x43be3e[_0x39e3df(0x1dd)](_0x533cab);})),_0x538a39['add'](_0x8a1a57[_0x323248(0x438)](()=>_0x43be3e[_0x323248(0x495)]()));let _0x2b4493;const _0x252db6=()=>{const _0x2f097b=_0x323248;_0x5d32f6[_0x2f097b(0x1dd)](new Event(_0x2f097b(0x1d8))),_0x2c2d1d[_0x2f097b(0x1dd)](new CloseEvent(_0x2f097b(0x1d8))),_0x2b4493[_0x2f097b(0x1a4)]();};return _0x2b4493={'memberID':'','close$':_0x2c2d1d['asObservable'](),'error$':_0x5d32f6[_0x323248(0x525)](),'open$':_0x505c58[_0x323248(0x437)],'message$':_0x43be3e[_0x323248(0x525)](),'send':_0x5a022c=>{const _0x4b7a3f=_0x323248;if(_0x5a022c['cmd']===_0x4421b5[_0x4b7a3f(0x2f0)]){if(_0x5a022c[_0x4b7a3f(0x140)][_0x4b7a3f(0x3dd)]===_0x27cfd8[_0x4b7a3f(0x3e5)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x2b4493,_0x5a022c[_0x4b7a3f(0x140)])['catch'](_0x319caf=>{const _0x477e00=_0x4b7a3f;this['_logService'][_0x477e00(0x1df)](_0x319caf),_0x252db6();});return;}if(_0x5a022c[_0x4b7a3f(0x140)][_0x4b7a3f(0x3dd)]===_0x27cfd8[_0x4b7a3f(0x3e5)][_0x4b7a3f(0x36f)]){const _0x2b2f16=_0x5a022c[_0x4b7a3f(0x140)];this[_0x4b7a3f(0x558)](_0x2b2f16)[_0x4b7a3f(0x566)](_0x2e1198=>{const _0x1c6b26=_0x4b7a3f;_0x43be3e[_0x1c6b26(0x1dd)]({'cmd':_0x4421b5[_0x1c6b26(0x46c)],'code':_0x2737e6['OK'],'routeKey':_0x2b2f16[_0x1c6b26(0x140)][_0x1c6b26(0x477)],'routeType':'','data':{'eventID':_0x27cfd8[_0x1c6b26(0x3e5)][_0x1c6b26(0x33b)],'data':{'changesets':_0x2e1198}}});})[_0x4b7a3f(0x406)](_0x531603=>{const _0x11c206=_0x4b7a3f;this[_0x11c206(0x515)]['error'](_0x531603),_0x252db6();});return;}}_0x505c58['send'](_0x5e3630(_0x5a022c));},'close':()=>{const _0x5a9d47=_0x323248;_0x505c58[_0x5a9d47(0x1a4)](),_0x538a39[_0x5a9d47(0x4a7)]();}},_0x2b4493;}async[_0x16631f(0x28d)](_0x3debf8,_0x253be6){const _0x56d43a=_0x16631f;var _0x7230e0,_0x185c2c;const {unitType:_0x4567c2,unitID:_0x539e5c,changeset:_0x8681d5}=_0x253be6['data'],_0x2c380d={'unitID':_0x539e5c,'memberID':_0x3debf8[_0x56d43a(0x244)],'type':_0x4567c2,'changeset':_0x27cfd8[_0x56d43a(0x52d)](_0x8681d5)},_0x5bdf43=this[_0x56d43a(0x31f)][_0x56d43a(0xfd)](_0x5f392d),_0x146600=this[_0x56d43a(0x31f)][_0x56d43a(0xfd)](_0x132856),_0x240b49=_0x5eaccb((_0x185c2c=(_0x7230e0=_0x146600==null?void 0x0:_0x146600[_0x56d43a(0x464)])!=null?_0x7230e0:_0x5bdf43)!=null?_0x185c2c:_0x2866e4,_0x4567c2,_0x539e5c);try{await this['_http']['post'](_0x240b49,{'body':_0x2c380d});}catch(_0x5f0ed4){throw this[_0x56d43a(0x515)][_0x56d43a(0x1df)](_0x56d43a(0x298),_0x56d43a(0x2d1)),_0x5f0ed4;}}async[_0x16631f(0x558)](_0x51f29e){const _0x2e9fc4=_0x16631f,{unitID:_0x5dfdd7,from:_0x3c4a18,to:_0x456348,unitType:_0x17d158}=_0x51f29e[_0x2e9fc4(0x140)];return(await this[_0x2e9fc4(0x4bd)][_0x2e9fc4(0x2b4)]({'metadata':void 0x0},{'unitID':_0x5dfdd7,'type':_0x17d158,'from':_0x3c4a18,'to':_0x456348}))[_0x2e9fc4(0x593)];}},_0x2728bd['CollaborationSocketService']=_0x5a838e([_0x51ec2c(0x0,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)])),_0x51ec2c(0x1,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x1ca)])),_0x51ec2c(0x2,_0x8a1a57[_0x16631f(0x4f9)]),_0x51ec2c(0x3,_0x8a1a57[_0x16631f(0xfc)]),_0x51ec2c(0x4,_0x27cfd8['ISnapshotServerService'])],_0x2728bd[_0x16631f(0x260)]);const _0x191ac8=_0x16631f(0x503);function _0x47bcb8(_0x542a8e){const _0xf7791a=_0x16631f;return JSON[_0xf7791a(0x338)](_0x542a8e)[_0xf7791a(0x272)];}class _0xe71ff7{constructor(){const _0xc1de3e=_0x16631f;_0x2a606e(this,_0xc1de3e(0x518),new _0x933215[(_0xc1de3e(0x31e))]()),_0x2a606e(this,_0xc1de3e(0x184),this[_0xc1de3e(0x518)][_0xc1de3e(0x525)]());}['onCommentUpdate'](_0x426124){const _0x2f13e7=_0x16631f;this['_commentUpdate$'][_0x2f13e7(0x1dd)](_0x426124);}}var _0x414fe2=Object[_0x16631f(0x162)],_0x16bd0e=Object['getOwnPropertyDescriptor'],_0x522c3c=(_0xf4e0c9,_0x22e4c6,_0x26d33a,_0x54f6fa)=>{const _0x258c46=_0x16631f;for(var _0x5a1739=_0x54f6fa>0x1?void 0x0:_0x54f6fa?_0x16bd0e(_0x22e4c6,_0x26d33a):_0x22e4c6,_0x1cdf63=_0xf4e0c9[_0x258c46(0x272)]-0x1,_0x3396b4;_0x1cdf63>=0x0;_0x1cdf63--)(_0x3396b4=_0xf4e0c9[_0x1cdf63])&&(_0x5a1739=(_0x54f6fa?_0x3396b4(_0x22e4c6,_0x26d33a,_0x5a1739):_0x3396b4(_0x5a1739))||_0x5a1739);return _0x54f6fa&&_0x5a1739&&_0x414fe2(_0x22e4c6,_0x26d33a,_0x5a1739),_0x5a1739;},_0xc2f820=(_0x3f53b4,_0x4f64a1)=>(_0x356d5b,_0x3dbe53)=>_0x4f64a1(_0x356d5b,_0x3dbe53,_0x3f53b4);_0x2728bd[_0x16631f(0x584)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x20f640,_0x9f56a){const _0x45e02a=_0x16631f;super(),_0x2a606e(this,_0x45e02a(0x331),new Map()),(this[_0x45e02a(0x3e7)]=_0x20f640,this[_0x45e02a(0x4c8)]=_0x9f56a,this[_0x45e02a(0x14a)](_0x8a1a57[_0x45e02a(0x438)](_0x933215[_0x45e02a(0x116)](this[_0x45e02a(0x3e7)]['getTypeOfUnitDisposed$'](_0x8a1a57[_0x45e02a(0x3e6)][_0x45e02a(0x32e)])[_0x45e02a(0x4be)](_0x478e49[_0x45e02a(0x2ca)](_0x511cbb=>_0x511cbb['getUnitId']())),this['_univerInstanceService'][_0x45e02a(0x3d7)](_0x8a1a57[_0x45e02a(0x3e6)][_0x45e02a(0x327)])['pipe'](_0x478e49['map'](_0x270d35=>_0x270d35['getUnitId']())),this[_0x45e02a(0x3e7)][_0x45e02a(0x3d7)](_0x8a1a57['UniverInstanceType']['UNIVER_SLIDE'])[_0x45e02a(0x4be)](_0x478e49[_0x45e02a(0x2ca)](_0x1ca0ef=>_0x1ca0ef['getUnitId']())))[_0x45e02a(0x42c)](_0x1e313d=>this[_0x45e02a(0x1a1)](_0x1e313d)))));}['setCurrentUser'](_0x303936){const _0x2ebddd=_0x16631f;this[_0x2ebddd(0x4c8)][_0x2ebddd(0x4db)](_0x303936);}[_0x16631f(0x223)](){const _0x179fcd=_0x16631f;return this[_0x179fcd(0x4c8)]['getCurrentUser']();}[_0x16631f(0x3e4)](_0x48f02c,_0x16be2a){const _0x5dc80b=_0x16631f;let _0x76533a=this[_0x5dc80b(0x331)][_0x5dc80b(0x241)](_0x48f02c);_0x76533a||(_0x76533a=new _0x23ee47(),this[_0x5dc80b(0x331)]['set'](_0x48f02c,_0x76533a)),_0x76533a[_0x5dc80b(0x3e4)](_0x16be2a);}[_0x16631f(0x50f)](_0xe50c58,_0x3dca8e){const _0x9cf65c=_0x16631f,_0x4678ae=this[_0x9cf65c(0x331)][_0x9cf65c(0x241)](_0xe50c58);_0x4678ae&&_0x4678ae[_0x9cf65c(0x50f)](_0x3dca8e);}[_0x16631f(0x15e)](_0x511df2){const _0xef13e=_0x16631f;return this[_0xef13e(0x331)][_0xef13e(0x241)](_0x511df2);}['getMember'](_0xd449bb,_0xbf115f){const _0x21d635=_0x16631f,_0x3ce39e=this[_0x21d635(0x331)]['get'](_0xd449bb);if(_0x3ce39e)return _0x3ce39e[_0x21d635(0x373)](_0xbf115f);}['_removeRoom'](_0x64fc4d){const _0x5d07fa=_0x16631f,_0x323b3c=this[_0x5d07fa(0x331)][_0x5d07fa(0x241)](_0x64fc4d);_0x323b3c&&(_0x323b3c[_0x5d07fa(0x4a7)](),this[_0x5d07fa(0x331)][_0x5d07fa(0x2eb)](_0x64fc4d));}['dispose'](){const _0x5b75b5=_0x16631f;this[_0x5b75b5(0x331)][_0x5b75b5(0x236)](_0x38b483=>_0x38b483[_0x5b75b5(0x4a7)]()),this['_roomMembers'][_0x5b75b5(0x4b6)]();}},_0x2728bd[_0x16631f(0x584)]=_0x522c3c([_0xc2f820(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0xc2f820(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['UserManagerService']))],_0x2728bd[_0x16631f(0x584)]);class _0x23ee47 extends _0x8a1a57[_0x16631f(0x490)]{constructor(){const _0x296087=_0x16631f;super(...arguments),_0x2a606e(this,_0x296087(0x19d),new Map());}[_0x16631f(0x4a7)](){const _0x4d1d17=_0x16631f;this[_0x4d1d17(0x19d)][_0x4d1d17(0x4b6)]();}[_0x16631f(0x3e4)](_0x3f4d44){const _0x20b32e=_0x16631f;this[_0x20b32e(0x19d)][_0x20b32e(0x41f)](_0x3f4d44[_0x20b32e(0x244)],_0x3f4d44);}[_0x16631f(0x50f)](_0x3254e4){const _0x39571e=_0x16631f;this[_0x39571e(0x19d)]['delete'](_0x3254e4);}[_0x16631f(0x373)](_0x3ad73e){const _0x47946a=_0x16631f;return this[_0x47946a(0x19d)][_0x47946a(0x241)](_0x3ad73e);}[_0x16631f(0x1e4)](){const _0x3c714d=_0x16631f;return Array[_0x3c714d(0x1cf)](this[_0x3c714d(0x19d)]['values']());}}var _0x41cb9d=Object['defineProperty'],_0x5ad160=Object[_0x16631f(0x57e)],_0x53c022=(_0x47e6a1,_0x5e983e,_0x33f30b,_0x77d64a)=>{for(var _0x506584=_0x77d64a>0x1?void 0x0:_0x77d64a?_0x5ad160(_0x5e983e,_0x33f30b):_0x5e983e,_0x6cdcc6=_0x47e6a1['length']-0x1,_0xe8b0f5;_0x6cdcc6>=0x0;_0x6cdcc6--)(_0xe8b0f5=_0x47e6a1[_0x6cdcc6])&&(_0x506584=(_0x77d64a?_0xe8b0f5(_0x5e983e,_0x33f30b,_0x506584):_0xe8b0f5(_0x506584))||_0x506584);return _0x77d64a&&_0x506584&&_0x41cb9d(_0x5e983e,_0x33f30b,_0x506584),_0x506584;},_0x1ec151=(_0x34c632,_0x514db9)=>(_0x220293,_0x5bf8e2)=>_0x514db9(_0x220293,_0x5bf8e2,_0x34c632),_0x53eb3f=(_0x67ba81=>(_0x67ba81[_0x67ba81[_0x16631f(0x461)]=0x0]='IDLE',_0x67ba81[_0x67ba81['JOINING']=0x1]=_0x16631f(0x157),_0x67ba81[_0x67ba81[_0x16631f(0x106)]=0x2]=_0x16631f(0x106),_0x67ba81[_0x67ba81[_0x16631f(0x173)]=0x3]='ONLINE',_0x67ba81))(_0x53eb3f||{});_0x2728bd['CollaborationSession']=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x158c69,_0x4602b3,_0x20ac43,_0x336023,_0x46dcfa,_0x36ff5e,_0x5a21a2,_0x4b00fd,_0x8cde2f,_0x58cba4){const _0x740a4f=_0x16631f;super(),_0x2a606e(this,_0x740a4f(0x476),new _0x933215[(_0x740a4f(0x1fd))](0x0)),_0x2a606e(this,'sessionStatus$',this['_sessionStatus$'][_0x740a4f(0x525)]()),_0x2a606e(this,'_event$',new _0x933215[(_0x740a4f(0x31e))]()),_0x2a606e(this,_0x740a4f(0x197),this[_0x740a4f(0x3ed)][_0x740a4f(0x525)]()),_0x2a606e(this,_0x740a4f(0x40c)),_0x2a606e(this,_0x740a4f(0x34b)),_0x2a606e(this,_0x740a4f(0x149)),_0x2a606e(this,'_shouldReportTelemetry',!0x1),_0x2a606e(this,_0x740a4f(0x47c),null),(this[_0x740a4f(0x5ac)]=_0x158c69,this[_0x740a4f(0x515)]=_0x20ac43,this['_beforeCloseService']=_0x336023,this[_0x740a4f(0x38b)]=_0x46dcfa,this[_0x740a4f(0x31f)]=_0x36ff5e,this[_0x740a4f(0x4f0)]=_0x5a21a2,this['_memberService']=_0x4b00fd,this[_0x740a4f(0x380)]=_0x8cde2f,this['_telemetryService']=_0x58cba4,this[_0x740a4f(0x375)]=!!this[_0x740a4f(0x3b6)],_0x4602b3[_0x740a4f(0x4be)](_0x933215[_0x740a4f(0x3d9)](this[_0x740a4f(0x42d)]))[_0x740a4f(0x42c)](_0x3de438=>{const _0xb2f192=_0x740a4f;var _0x1dd9a7;typeof _0x3de438>'u'||(this[_0xb2f192(0x40c)]=_0x3de438,_0x3de438?(this[_0xb2f192(0x508)](_0x3de438),this['_socketMessageSubscription']=_0x3de438[_0xb2f192(0x560)]['subscribe'](_0x276a69=>{const _0x526b60=_0xb2f192;_0x276a69[_0x526b60(0x48d)]===this[_0x526b60(0x5ac)]&&this[_0x526b60(0x527)](_0x276a69);})):(this[_0xb2f192(0x10d)](),this[_0xb2f192(0x476)][_0xb2f192(0x1dd)](0x2),(_0x1dd9a7=this[_0xb2f192(0x34b)])==null||_0x1dd9a7[_0xb2f192(0x42a)](),this[_0xb2f192(0x34b)]=null));}),this[_0x740a4f(0x14a)](this[_0x740a4f(0x20c)][_0x740a4f(0x2ab)](()=>{const _0x3e031d=_0x740a4f;var _0x4414a5;(_0x4414a5=this[_0x3e031d(0x40c)])==null||_0x4414a5['send']({'cmd':_0x4421b5[_0x3e031d(0x2fc)],'data':{'roomID':this[_0x3e031d(0x5ac)]}});})));}get[_0x16631f(0x226)](){const _0x3f4ee4=_0x16631f;return this[_0x3f4ee4(0x476)][_0x3f4ee4(0x2f3)]();}[_0x16631f(0x291)](){const _0x396df9=_0x16631f;var _0x257765,_0x42cb47;return(_0x42cb47=(_0x257765=this['_socket'])==null?void 0x0:_0x257765[_0x396df9(0x244)])!=null?_0x42cb47:null;}[_0x16631f(0x4a7)](){const _0x4b7e3a=_0x16631f;super[_0x4b7e3a(0x4a7)](),this['dispose$'][_0x4b7e3a(0x1dd)](),this['dispose$'][_0x4b7e3a(0x495)]();}[_0x16631f(0x1a4)](){const _0x50eb97=_0x16631f;var _0x3a3dfa,_0x59e8de;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3a3dfa=this['_socket'])==null||_0x3a3dfa[_0x50eb97(0x2ba)]({'cmd':_0x4421b5[_0x50eb97(0x2fc)],'data':{'roomID':this['_unitID']}}),(_0x59e8de=this[_0x50eb97(0x40c)])==null||_0x59e8de[_0x50eb97(0x1a4)](),this[_0x50eb97(0x3ed)][_0x50eb97(0x495)](),this['_sessionStatus$'][_0x50eb97(0x495)](),this[_0x50eb97(0x4a7)]();}[_0x16631f(0x527)](_0x3f2c55){const _0x491aad=_0x16631f;_0x3f2c55[_0x491aad(0x595)]===_0x4421b5['JOIN']?this[_0x491aad(0x458)](_0x3f2c55):_0x3f2c55[_0x491aad(0x595)]===_0x4421b5[_0x491aad(0x46c)]&&this[_0x491aad(0x14f)](_0x3f2c55);}[_0x16631f(0x508)](_0x2ae19c){const _0x497c20=_0x16631f;this[_0x497c20(0x476)][_0x497c20(0x1dd)](0x1),_0x2ae19c['send']({'cmd':_0x4421b5[_0x497c20(0x414)],'routeKey':this[_0x497c20(0x5ac)],'routeType':'','data':{'rooms':[{'roomID':this[_0x497c20(0x5ac)]}]}});}[_0x16631f(0x458)](_0x1edaa1){const _0xf6bfdb=_0x16631f;var _0xc0ec94;if(_0x1edaa1[_0xf6bfdb(0x196)]===_0x2737e6[_0xf6bfdb(0x113)]){this[_0xf6bfdb(0x38b)][_0xf6bfdb(0x354)]({'type':_0x731a74[_0xf6bfdb(0x2a9)][_0xf6bfdb(0x53b)],'content':this[_0xf6bfdb(0x4f0)]['t']('session.room-full')}),this[_0xf6bfdb(0x476)][_0xf6bfdb(0x1dd)](0x2);return;}this[_0xf6bfdb(0x476)]['next'](0x3);const _0x20c807=(_0xc0ec94=_0x1edaa1[_0xf6bfdb(0x140)][_0xf6bfdb(0x3b2)][this[_0xf6bfdb(0x5ac)]])==null?void 0x0:_0xc0ec94['members'];_0x20c807&&_0x20c807[_0xf6bfdb(0x236)](_0x15ba1b=>this['_memberService'][_0xf6bfdb(0x3e4)](this['_unitID'],_0x15ba1b));}['_onRecvEvent'](_0x315aee){const _0x3abc75=_0x16631f;try{const _0x50af67=_0x315aee['data'];switch(_0x50af67['eventID']){case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x1e0)]:this[_0x3abc75(0x1f1)](_0x50af67),this[_0x3abc75(0x3ed)]['next'](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x214)]:this[_0x3abc75(0x195)](_0x50af67),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x289)]:case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x105)]:this[_0x3abc75(0x538)](),this[_0x3abc75(0x57a)](),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x2dc)]:this['_logService'][_0x3abc75(0x1df)](_0x3abc75(0x378)+JSON['stringify'](_0x50af67)),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8['CollaborationEvent'][_0x3abc75(0x29c)]:this[_0x3abc75(0x380)][_0x3abc75(0x485)](_0x50af67[_0x3abc75(0x140)]),this['_event$'][_0x3abc75(0x1dd)](_0x50af67);break;default:this['_event$'][_0x3abc75(0x1dd)](_0x50af67);}}catch(_0xaa093a){this[_0x3abc75(0x515)][_0x3abc75(0x1df)](_0xaa093a,_0x315aee);}}[_0x16631f(0x1f1)](_0x2fe59e){const _0x38e1c6=_0x16631f;this['_memberService']['updateMember'](this[_0x38e1c6(0x5ac)],_0x2fe59e[_0x38e1c6(0x140)]);}['_onUserLeave'](_0x297483){const _0x4fff40=_0x16631f;this[_0x4fff40(0x154)][_0x4fff40(0x50f)](this[_0x4fff40(0x5ac)],_0x297483[_0x4fff40(0x140)][_0x4fff40(0x244)]);}async[_0x16631f(0x2ba)](_0x537555,_0x38f606){const _0x46586b=_0x16631f;if(this[_0x46586b(0x226)]!==0x3||!this[_0x46586b(0x40c)])throw new Error(_0x46586b(0x37c));try{_0x537555[_0x46586b(0x3dd)]===_0x27cfd8[_0x46586b(0x3e5)][_0x46586b(0x310)]&&(this[_0x46586b(0x33d)](),this[_0x46586b(0x4ac)](_0x537555)),this[_0x46586b(0x40c)][_0x46586b(0x2ba)]({'cmd':_0x4421b5[_0x46586b(0x2f0)],'routeKey':_0x38f606,'routeType':'','data':_0x537555});}catch(_0x5259e5){this[_0x46586b(0x515)]['error'](_0x5259e5);}}[_0x16631f(0x33d)](){const _0x33b47d=_0x16631f;var _0x321ecb;this[_0x33b47d(0x149)]=window[_0x33b47d(0x50b)](()=>{const _0x2b92b2=_0x33b47d;this[_0x2b92b2(0x149)]=null,this['_messageService'][_0x2b92b2(0x354)]({'type':_0x731a74['MessageType'][_0x2b92b2(0x5b1)],'content':this[_0x2b92b2(0x4f0)]['t'](_0x2b92b2(0x43d))});},(_0x321ecb=this['_configService']['getConfig'](_0x24c7e0))!=null?_0x321ecb:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0xf12932=_0x16631f;this[_0xf12932(0x149)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xf12932(0x149)]=null);}[_0x16631f(0x4ac)](_0x141ddb){const _0x1c328f=_0x16631f;if(!this[_0x1c328f(0x375)])return;const {data:_0x36981b}=_0x141ddb,{unitID:_0x1a484d,changeset:_0x407c98}=_0x36981b,{mutations:_0x5b02ea,type:_0x22c468}=_0x407c98;this['_telemetryInfo']={'unitId':_0x1a484d,'type':_0x22c468,'startTime':performance[_0x1c328f(0x410)](),'stopTime':0x0,'duration':0x0,'size':_0x47bcb8(_0x5b02ea)};}[_0x16631f(0x538)](){const _0x34bb9a=_0x16631f;if(this[_0x34bb9a(0x375)]){if(!this['_telemetryInfo']){this[_0x34bb9a(0x515)]['error'](_0x34bb9a(0x298),_0x34bb9a(0x155));return;}this['_telemetryInfo'][_0x34bb9a(0x17b)]=performance[_0x34bb9a(0x410)](),this[_0x34bb9a(0x47c)][_0x34bb9a(0x276)]=this[_0x34bb9a(0x47c)]['stopTime']-this[_0x34bb9a(0x47c)][_0x34bb9a(0x37b)],this[_0x34bb9a(0x3b6)][_0x34bb9a(0x1c3)](_0x191ac8,this[_0x34bb9a(0x47c)]),this[_0x34bb9a(0x47c)]=null;}}[_0x16631f(0x10d)](){const _0x3c000a=_0x16631f;this[_0x3c000a(0x47c)]=null;}},_0x2728bd[_0x16631f(0x4c9)]=_0x53c022([_0x1ec151(0x2,_0x8a1a57[_0x16631f(0xfc)]),_0x1ec151(0x3,_0x4b60ff[_0x16631f(0x4c4)]),_0x1ec151(0x4,_0x4b60ff[_0x16631f(0x136)]),_0x1ec151(0x5,_0x8a1a57['IConfigService']),_0x1ec151(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x1ec151(0x7,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x584)])),_0x1ec151(0x8,_0x8a1a57[_0x16631f(0x537)](_0xe71ff7)),_0x1ec151(0x9,_0x8a1a57[_0x16631f(0x1c1)](_0x2d346b['ITelemetryService']))],_0x2728bd[_0x16631f(0x4c9)]);var _0x4a420b=Object['defineProperty'],_0x13c799=Object[_0x16631f(0x57e)],_0x379a6c=(_0x4a6cac,_0x21f822,_0x518ce1,_0x5d80fd)=>{const _0x8f8d80=_0x16631f;for(var _0x1e9d20=_0x5d80fd>0x1?void 0x0:_0x5d80fd?_0x13c799(_0x21f822,_0x518ce1):_0x21f822,_0xa8840b=_0x4a6cac[_0x8f8d80(0x272)]-0x1,_0x1d7d47;_0xa8840b>=0x0;_0xa8840b--)(_0x1d7d47=_0x4a6cac[_0xa8840b])&&(_0x1e9d20=(_0x5d80fd?_0x1d7d47(_0x21f822,_0x518ce1,_0x1e9d20):_0x1d7d47(_0x1e9d20))||_0x1e9d20);return _0x5d80fd&&_0x1e9d20&&_0x4a420b(_0x21f822,_0x518ce1,_0x1e9d20),_0x1e9d20;},_0x142a48=(_0xa25bf0,_0x16950f)=>(_0x5dd1f0,_0x2f2753)=>_0x16950f(_0x5dd1f0,_0x2f2753,_0xa25bf0);_0x2728bd[_0x16631f(0x37f)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0xa6e7af,_0x18ce71,_0x7b659,_0x17661f,_0x305ba0,_0x552de8){const _0xfb2e9f=_0x16631f;super(),_0x2a606e(this,'_socket$',new _0x933215[(_0xfb2e9f(0x1fd))](void 0x0)),_0x2a606e(this,_0xfb2e9f(0x523),this[_0xfb2e9f(0x576)]['asObservable']()),_0x2a606e(this,'_candidateSocket',null),_0x2a606e(this,_0xfb2e9f(0x2e9),new Map()),_0x2a606e(this,_0xfb2e9f(0x1d0),new _0x933215[(_0xfb2e9f(0x1fd))](_0x53eb3f[_0xfb2e9f(0x461)])),_0x2a606e(this,_0xfb2e9f(0x48f),this['_status$'][_0xfb2e9f(0x525)]()),_0x2a606e(this,_0xfb2e9f(0x175),!0x1),_0x2a606e(this,_0xfb2e9f(0x1b0)),_0x2a606e(this,_0xfb2e9f(0x2b0),0x0),_0x2a606e(this,_0xfb2e9f(0x1b6)),_0x2a606e(this,_0xfb2e9f(0x37a)),(this[_0xfb2e9f(0x264)]=_0xa6e7af,this['_localeService']=_0x18ce71,this[_0xfb2e9f(0x38b)]=_0x7b659,this[_0xfb2e9f(0x515)]=_0x17661f,this[_0xfb2e9f(0x31f)]=_0x305ba0,this[_0xfb2e9f(0x4e2)]=_0x552de8,this[_0xfb2e9f(0x202)]());}get[_0x16631f(0x40c)](){return this['_socket$']['getValue']();}['_initEventListeners'](){const _0x1cb638=_0x16631f;this['_listenToOfflineEvent'](),this[_0x1cb638(0x462)]();}[_0x16631f(0x4a7)](){const _0x3e5de2=_0x16631f;super[_0x3e5de2(0x4a7)](),this['_sessions'][_0x3e5de2(0x236)](_0x414c97=>_0x414c97[_0x3e5de2(0x4a7)]()),this[_0x3e5de2(0x2e9)]['clear'](),this['_status$'][_0x3e5de2(0x495)]();}async['requireSession'](_0x469ff6){const _0x40868e=_0x16631f;if(this[_0x40868e(0x2e9)][_0x40868e(0x295)](_0x469ff6))return this['_sessions'][_0x40868e(0x241)](_0x469ff6);this[_0x40868e(0x439)]();const _0x55af45=this['_injector']['createInstance'](_0x2728bd[_0x40868e(0x4c9)],_0x469ff6,this[_0x40868e(0x576)][_0x40868e(0x525)]());return this[_0x40868e(0x2e9)][_0x40868e(0x41f)](_0x469ff6,_0x55af45),_0x55af45;}[_0x16631f(0x46d)](_0x488644){const _0x4c0d15=_0x16631f;var _0xcfe850;const _0x28f101=this[_0x4c0d15(0x2e9)][_0x4c0d15(0x241)](_0x488644);_0x28f101&&(this['_sessions'][_0x4c0d15(0x2eb)](_0x488644),_0x28f101[_0x4c0d15(0x1a4)]()),this[_0x4c0d15(0x2e9)][_0x4c0d15(0x3f3)]||(_0xcfe850=this['_socket'])==null||_0xcfe850[_0x4c0d15(0x1a4)]();}[_0x16631f(0x1cc)](){const _0x2d63fd=_0x16631f;this[_0x2d63fd(0x2b0)]=0x0,this[_0x2d63fd(0x1b0)]!=null&&(clearTimeout(this[_0x2d63fd(0x1b0)]),this[_0x2d63fd(0x1b0)]=null),this['_tryReconnect']();}[_0x16631f(0x2a5)](){const _0x1024b5=_0x16631f;var _0x6cad9,_0x5271cc;const _0x276866=this[_0x1024b5(0x31f)]['getConfig'](_0xa043d2),_0x3a359b=this[_0x1024b5(0x31f)][_0x1024b5(0xfd)](_0x132856),_0x5186fe=(_0x5271cc=(_0x6cad9=_0x3a359b==null?void 0x0:_0x3a359b[_0x1024b5(0x15c)])!=null?_0x6cad9:_0x276866)!=null?_0x5271cc:_0x2e90bf,_0x311887=this[_0x1024b5(0x4e2)]['createSocket'](_0x5186fe);return this[_0x1024b5(0x1c5)]=_0x311887,_0x311887;}[_0x16631f(0x439)](){const _0xa5c4eb=_0x16631f;var _0x2b288f,_0x5012bc;try{const _0x38bdf2=(_0x5012bc=(_0x2b288f=this[_0xa5c4eb(0x40c)])!=null?_0x2b288f:this[_0xa5c4eb(0x1c5)])!=null?_0x5012bc:this[_0xa5c4eb(0x2a5)]();if(_0x38bdf2){const _0x255253=_0x38bdf2['send'];_0x38bdf2[_0xa5c4eb(0x2ba)]=_0x13f9c0=>(this[_0xa5c4eb(0x3d2)](),_0x255253['apply'](_0x38bdf2,[_0x13f9c0])),_0x38bdf2[_0xa5c4eb(0x560)][_0xa5c4eb(0x42c)](_0xc7fac2=>this[_0xa5c4eb(0x3cf)](_0x38bdf2,_0xc7fac2)),_0x38bdf2['error$'][_0xa5c4eb(0x4be)](_0x478e49[_0xa5c4eb(0x4a3)](0x1))[_0xa5c4eb(0x42c)](_0x576b71=>this[_0xa5c4eb(0x515)][_0xa5c4eb(0x1df)](_0xa5c4eb(0x27d),_0x576b71)),_0x38bdf2['open$'][_0xa5c4eb(0x4be)](_0x478e49['take'](0x1))['subscribe'](()=>{const _0x45293f=_0xa5c4eb;this[_0x45293f(0x3f0)](_0x38bdf2);}),_0x38bdf2[_0xa5c4eb(0x1d9)][_0xa5c4eb(0x4be)](_0x478e49[_0xa5c4eb(0x4a3)](0x1))[_0xa5c4eb(0x42c)](_0x5aed1c=>{const _0x4a528a=_0xa5c4eb;this[_0x4a528a(0x515)][_0x4a528a(0x22a)]('[CollaborationSessionService]',_0x4a528a(0x24a),_0x5aed1c),this[_0x4a528a(0x135)]();});}}catch(_0x1b07c0){this[_0xa5c4eb(0x515)][_0xa5c4eb(0x1df)](_0x1b07c0),this[_0xa5c4eb(0x135)]();}}[_0x16631f(0x3f0)](_0x227999){const _0x34dcef=_0x16631f;this[_0x34dcef(0x515)][_0x34dcef(0x22a)](_0x34dcef(0x363),'socket\x20open.'),_0x227999['send']({'cmd':_0x4421b5[_0x34dcef(0x5a6)]}),this[_0x34dcef(0x3d2)]();}['_listenToOfflineEvent'](){const _0x38f1e5=_0x16631f;window[_0x38f1e5(0x100)](_0x38f1e5(0x21f),()=>this[_0x38f1e5(0x4d5)]());}['_onOffline'](){const _0x1ecae9=_0x16631f;this['_socketReady']=!0x1,this[_0x1ecae9(0x1c5)]=null,this[_0x1ecae9(0x1d0)][_0x1ecae9(0x1dd)](_0x53eb3f[_0x1ecae9(0x106)]),this[_0x1ecae9(0x576)][_0x1ecae9(0x1dd)](null),this[_0x1ecae9(0x111)](),this['_clearHeartbeatTimer']();}[_0x16631f(0x135)](){const _0xdf0e70=_0x16631f;var _0x2f8559;this['_onOffline'](),this[_0xdf0e70(0x2b0)]<((_0x2f8559=this[_0xdf0e70(0x31f)][_0xdf0e70(0xfd)](_0x3f4302))!=null?_0x2f8559:0x3)?(this[_0xdf0e70(0x38b)][_0xdf0e70(0x354)]({'key':'collaboration-session-retry','type':_0x731a74[_0xdf0e70(0x2a9)][_0xdf0e70(0x53b)],'content':this[_0xdf0e70(0x4f0)]['t'](_0xdf0e70(0x227))}),this[_0xdf0e70(0x446)]()):this['_messageService'][_0xdf0e70(0x354)]({'key':'collaboration-session-retry','type':_0x731a74['MessageType']['Error'],'content':this[_0xdf0e70(0x4f0)]['t'](_0xdf0e70(0x3a9))});}[_0x16631f(0x462)](){const _0x238014=_0x16631f,_0x3fde18=()=>{const _0x1cc42a=_0x586f;this[_0x1cc42a(0x40c)]||this[_0x1cc42a(0x1cc)]();},_0x1e3d24=()=>{const _0x45913b=_0x586f;this[_0x45913b(0x40c)]||document[_0x45913b(0x407)]===_0x45913b(0x2bd)||this[_0x45913b(0x1cc)]();};window[_0x238014(0x100)](_0x238014(0xf3),_0x3fde18),document[_0x238014(0x100)](_0x238014(0x44b),_0x1e3d24);}[_0x16631f(0x446)](){const _0x4cceba=_0x16631f;var _0x4d65cf;const _0x1c3079=this['_retryCount'],_0x4a1c68=this['_configService'][_0x4cceba(0xfd)](_0x132856),_0x392e7d=_0x1c3079===0x0?0x0:((_0x4d65cf=_0x4a1c68==null?void 0x0:_0x4a1c68[_0x4cceba(0x3c4)])!=null?_0x4d65cf:0x4e20)*0x2**_0x1c3079;this['_retryConnectingTimer']=window[_0x4cceba(0x50b)](()=>{const _0x188acd=_0x4cceba;clearTimeout(this['_retryConnectingTimer']),this[_0x188acd(0x1b0)]=null,this[_0x188acd(0x439)]();},_0x392e7d),this[_0x4cceba(0x2b0)]+=0x1;}[_0x16631f(0x3cf)](_0x3447c2,_0x394356){const _0xbe2876=_0x16631f,{cmd:_0x5a091e}=_0x394356;_0x5a091e===_0x4421b5[_0xbe2876(0x5a6)]&&!this[_0xbe2876(0x175)]&&(_0x3447c2[_0xbe2876(0x244)]=_0x394356[_0xbe2876(0x140)][_0xbe2876(0x244)],this[_0xbe2876(0x576)]['next'](_0x3447c2),this['_status$'][_0xbe2876(0x1dd)](_0x53eb3f[_0xbe2876(0x173)]),this[_0xbe2876(0x175)]=!0x0,this['_candidateSocket']=null),_0x5a091e===_0x4421b5[_0xbe2876(0x541)]&&this[_0xbe2876(0x111)](),this[_0xbe2876(0x3d2)]();}['_rescheduleHeartbeat'](){const _0x182f6e=_0x16631f;var _0x2bb6d1;this[_0x182f6e(0x55d)](),this['_sendHeartbeatTimer']=window[_0x182f6e(0x50b)](()=>this[_0x182f6e(0x51d)](),(_0x2bb6d1=this[_0x182f6e(0x31f)][_0x182f6e(0xfd)](_0x5308f2))!=null?_0x2bb6d1:0x7530);}['_sendHeartbeat'](){const _0x43ec99=_0x16631f;this[_0x43ec99(0x40c)][_0x43ec99(0x2ba)]({'cmd':_0x4421b5[_0x43ec99(0x541)]}),this[_0x43ec99(0x442)]();}['_waitForHeartbeatResponse'](){const _0x5ab157=_0x16631f;var _0x51cd86;this['_timeoutTimer']=window[_0x5ab157(0x50b)](()=>this[_0x5ab157(0x135)](),(_0x51cd86=this[_0x5ab157(0x31f)][_0x5ab157(0xfd)](_0x24c7e0))!=null?_0x51cd86:0x4e20);}['_clearHeartbeatTimer'](){const _0x47e0cd=_0x16631f;this[_0x47e0cd(0x1b6)]!=null&&(clearTimeout(this[_0x47e0cd(0x1b6)]),this[_0x47e0cd(0x1b6)]=null);}[_0x16631f(0x111)](){const _0x23dd82=_0x16631f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x23dd82(0x37a)]),this[_0x23dd82(0x37a)]=null);}},_0x2728bd[_0x16631f(0x37f)]=_0x379a6c([_0x142a48(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x142a48(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x142a48(0x2,_0x4b60ff[_0x16631f(0x136)]),_0x142a48(0x3,_0x8a1a57[_0x16631f(0xfc)]),_0x142a48(0x4,_0x8a1a57[_0x16631f(0x4f9)]),_0x142a48(0x5,_0x55ce8e)],_0x2728bd[_0x16631f(0x37f)]);const _0x25095a=[];for(let _0x361971=0x0;_0x361971<0x100;++_0x361971)_0x25095a['push']((_0x361971+0x100)[_0x16631f(0x3a4)](0x10)['slice'](0x1));function _0x4d5a6d(_0x5df828,_0x339c01=0x0){return(_0x25095a[_0x5df828[_0x339c01+0x0]]+_0x25095a[_0x5df828[_0x339c01+0x1]]+_0x25095a[_0x5df828[_0x339c01+0x2]]+_0x25095a[_0x5df828[_0x339c01+0x3]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x4]]+_0x25095a[_0x5df828[_0x339c01+0x5]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x6]]+_0x25095a[_0x5df828[_0x339c01+0x7]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x8]]+_0x25095a[_0x5df828[_0x339c01+0x9]]+'-'+_0x25095a[_0x5df828[_0x339c01+0xa]]+_0x25095a[_0x5df828[_0x339c01+0xb]]+_0x25095a[_0x5df828[_0x339c01+0xc]]+_0x25095a[_0x5df828[_0x339c01+0xd]]+_0x25095a[_0x5df828[_0x339c01+0xe]]+_0x25095a[_0x5df828[_0x339c01+0xf]])['toLowerCase']();}let _0x157452;const _0x561594=new Uint8Array(0x10);function _0x3062dd(){const _0x211538=_0x16631f;if(!_0x157452){if(typeof crypto>'u'||!crypto[_0x211538(0x235)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x157452=crypto[_0x211538(0x235)][_0x211538(0x1c6)](crypto);}return _0x157452(_0x561594);}const _0x41f130={'randomUUID':typeof crypto<'u'&&crypto[_0x16631f(0x2d2)]&&crypto[_0x16631f(0x2d2)]['bind'](crypto)};function _0x384178(_0x3e01d2,_0x1fc22c,_0x45cb80){const _0x12c2c8=_0x16631f;if(_0x41f130[_0x12c2c8(0x2d2)]&&!_0x1fc22c&&!_0x3e01d2)return _0x41f130[_0x12c2c8(0x2d2)]();_0x3e01d2=_0x3e01d2||{};const _0x53a584=_0x3e01d2[_0x12c2c8(0x2bf)]||(_0x3e01d2[_0x12c2c8(0x1bb)]||_0x3062dd)();return _0x53a584[0x6]=_0x53a584[0x6]&0xf|0x40,_0x53a584[0x8]=_0x53a584[0x8]&0x3f|0x80,_0x4d5a6d(_0x53a584);}var _0x3caa41=Object[_0x16631f(0x162)],_0x1329fe=Object[_0x16631f(0x57e)],_0x49dd23=(_0x498a70,_0x5b5d2b,_0x2663a5,_0x111e7a)=>{const _0x593ea1=_0x16631f;for(var _0x5cbeda=_0x111e7a>0x1?void 0x0:_0x111e7a?_0x1329fe(_0x5b5d2b,_0x2663a5):_0x5b5d2b,_0x11ae82=_0x498a70[_0x593ea1(0x272)]-0x1,_0x316570;_0x11ae82>=0x0;_0x11ae82--)(_0x316570=_0x498a70[_0x11ae82])&&(_0x5cbeda=(_0x111e7a?_0x316570(_0x5b5d2b,_0x2663a5,_0x5cbeda):_0x316570(_0x5cbeda))||_0x5cbeda);return _0x111e7a&&_0x5cbeda&&_0x3caa41(_0x5b5d2b,_0x2663a5,_0x5cbeda),_0x5cbeda;},_0xbc714d=(_0x4c1977,_0x3f3e39)=>(_0x20aa32,_0x53df81)=>_0x3f3e39(_0x20aa32,_0x53df81,_0x4c1977);let _0xe93339=class{constructor(_0x37b384,_0x3aacae,_0x4db5fe){const _0x22a738=_0x16631f;this[_0x22a738(0x264)]=_0x37b384,this[_0x22a738(0x549)]=_0x3aacae,this['_renderManagerService']=_0x4db5fe;}[_0x16631f(0x561)](_0xcf3781){const _0xaec5b8=_0x16631f;this[_0xaec5b8(0x55b)](_0xcf3781),this['_transformPreviousActiveRange'](_0xcf3781);}[_0x16631f(0x246)](_0x13ab9a){const _0x60bea1=_0x16631f,{unitID:_0x2c03cf}=_0x13ab9a,_0x2ae9f2=this[_0x60bea1(0x103)]['getRenderById'](_0x2c03cf)[_0x60bea1(0x3c2)](_0x473dea[_0x60bea1(0x596)]),{redoCache:_0x3eea26}=_0x2ae9f2['getUndoRedoMutationParamsCache']();if(_0x3eea26[_0x60bea1(0x272)]===0x0)return _0x13ab9a;let _0x170f22=_0x8a1a57[_0x60bea1(0x435)]['deepClone'](_0x13ab9a[_0x60bea1(0x1ce)][0x0]);for(let _0x4113bf=0x0;_0x4113bf<_0x3eea26[_0x60bea1(0x272)];_0x4113bf++){const _0x33ff6f={'id':_0x60bea1(0x1f7),'params':{..._0x3eea26[_0x4113bf]}},_0x2a0934=this[_0x60bea1(0x549)][_0x60bea1(0x56a)](_0x170f22,_0x33ff6f,!0x1);if(_0x27cfd8[_0x60bea1(0x220)](_0x2a0934))throw _0x2a0934[_0x60bea1(0x1df)];_0x170f22=_0x2a0934[_0x60bea1(0x360)];}return{..._0x8a1a57[_0x60bea1(0x435)][_0x60bea1(0x591)](_0x13ab9a),'mutations':[_0x170f22]};}[_0x16631f(0x55b)](_0x5b191c){const _0x17ddf4=_0x16631f,{unitID:_0x12ecd8}=_0x5b191c,_0x2fb15d=this[_0x17ddf4(0x103)][_0x17ddf4(0x530)](_0x12ecd8)['with'](_0x473dea['DocIMEInputManagerService']),{undoCache:_0x595be9,redoCache:_0xb689f9}=_0x2fb15d[_0x17ddf4(0x294)]();if(_0x595be9['length']===0x0||_0xb689f9['length']===0x0)return;const _0x57de5c=[],_0x50d126=[];let _0x12eb9b=_0x8a1a57[_0x17ddf4(0x435)][_0x17ddf4(0x591)](_0x5b191c[_0x17ddf4(0x1ce)][0x0]),_0x214cd5=_0x8a1a57[_0x17ddf4(0x435)][_0x17ddf4(0x591)](_0x5b191c[_0x17ddf4(0x1ce)][0x0]);for(let _0x3b039b=_0x595be9[_0x17ddf4(0x272)]-0x1;_0x3b039b>=0x0;_0x3b039b--){const _0x13d7b5={'id':_0x17ddf4(0x1f7),'params':{..._0x595be9[_0x3b039b]}},_0x3f230a={'id':_0x17ddf4(0x1f7),'params':{..._0xb689f9[_0x3b039b]}},_0xd15d4e=this[_0x17ddf4(0x549)][_0x17ddf4(0x56a)](_0x12eb9b,_0x13d7b5,!0x1),_0x56eb43=this[_0x17ddf4(0x549)][_0x17ddf4(0x56a)](_0x214cd5,_0x3f230a,!0x1);if(_0x27cfd8[_0x17ddf4(0x220)](_0xd15d4e))throw _0xd15d4e[_0x17ddf4(0x1df)];if(_0x27cfd8[_0x17ddf4(0x220)](_0x56eb43))throw _0x56eb43[_0x17ddf4(0x1df)];_0x57de5c[_0x17ddf4(0x1d7)](_0xd15d4e['m2Prime'][_0x17ddf4(0x238)]),_0x50d126[_0x17ddf4(0x1d7)](_0x56eb43[_0x17ddf4(0x43e)][_0x17ddf4(0x238)]),_0x12eb9b=_0xd15d4e[_0x17ddf4(0x360)],_0x214cd5=_0x56eb43[_0x17ddf4(0x360)];}_0x2fb15d[_0x17ddf4(0x30e)]({'undoCache':_0x57de5c,'redoCache':_0x50d126});}[_0x16631f(0x205)](_0x4885fa){const _0x5b6a2c=_0x16631f,{unitID:_0x334703}=_0x4885fa,_0x1a587=this[_0x5b6a2c(0x103)][_0x5b6a2c(0x530)](_0x334703)[_0x5b6a2c(0x3c2)](_0x473dea[_0x5b6a2c(0x596)]),_0x16e160=_0x1a587[_0x5b6a2c(0x2e0)]();if(_0x16e160==null)return;const _0x21a268=[{'id':_0x5b6a2c(0x1f7),'params':{'unitId':_0x4885fa[_0x5b6a2c(0x477)],'actions':null,'textRanges':[_0x16e160]}}],_0x441b52=this[_0x5b6a2c(0x549)]['transformMutationsWithChangeset'](_0x4885fa,_0x21a268);if(!_0x27cfd8[_0x5b6a2c(0x2f8)](_0x441b52))throw _0x441b52[_0x5b6a2c(0x1df)];const _0x263bac=_0x441b52[_0x5b6a2c(0x43e)][0x0][_0x5b6a2c(0x238)]['textRanges'];Array['isArray'](_0x263bac)&&_0x263bac[_0x5b6a2c(0x272)]&&_0x1a587[_0x5b6a2c(0x514)](_0x263bac[0x0]);}};_0xe93339=_0x49dd23([_0xbc714d(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0xbc714d(0x1,_0x27cfd8[_0x16631f(0x1bd)]),_0xbc714d(0x2,_0x20e8c2[_0x16631f(0x3bb)])],_0xe93339);var _0x7df84=Object[_0x16631f(0x162)],_0x66002b=Object[_0x16631f(0x57e)],_0x54f330=(_0x21a0a0,_0x28aca9,_0x381e0a,_0x2c13d2)=>{const _0xee374d=_0x16631f;for(var _0x20a07d=_0x2c13d2>0x1?void 0x0:_0x2c13d2?_0x66002b(_0x28aca9,_0x381e0a):_0x28aca9,_0x10ab09=_0x21a0a0[_0xee374d(0x272)]-0x1,_0x2e16ea;_0x10ab09>=0x0;_0x10ab09--)(_0x2e16ea=_0x21a0a0[_0x10ab09])&&(_0x20a07d=(_0x2c13d2?_0x2e16ea(_0x28aca9,_0x381e0a,_0x20a07d):_0x2e16ea(_0x20a07d))||_0x20a07d);return _0x2c13d2&&_0x20a07d&&_0x7df84(_0x28aca9,_0x381e0a,_0x20a07d),_0x20a07d;},_0x132835=(_0x4a0075,_0x3e1f6e)=>(_0x5c7645,_0x545309)=>_0x3e1f6e(_0x5c7645,_0x545309,_0x4a0075);_0x2728bd[_0x16631f(0x2a1)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x549bf1,_0xcb135b,_0x9e433c,_0xf06632,_0x59cc03){const _0x236a6a=_0x16631f;super(),_0x2a606e(this,'_cachedData',new Map()),_0x2a606e(this,_0x236a6a(0x3cc),new Map()),_0x2a606e(this,_0x236a6a(0x385),!0x1),(this[_0x236a6a(0x31f)]=_0x549bf1,this[_0x236a6a(0x2d3)]=_0xcb135b,this[_0x236a6a(0x20c)]=_0x9e433c,this[_0x236a6a(0x4f0)]=_0xf06632,this[_0x236a6a(0x110)]=_0x59cc03,this[_0x236a6a(0x4d4)]());}[_0x16631f(0x42f)](){const _0x4d79ec=_0x16631f;this[_0x4d79ec(0x385)]=!0x0;}['enableLocalCache'](){const _0x2cd15c=_0x16631f;this[_0x2cd15c(0x385)]=!0x1;}['dispose'](){const _0x246bd8=_0x16631f;this[_0x246bd8(0x324)]()[_0x246bd8(0x566)](()=>super['dispose']());}async['loadOfflineData'](_0x453f3d){const _0x37147e=_0x16631f;return this[_0x37147e(0x385)]?null:this[_0x37147e(0x2d3)][_0x37147e(0x569)](_0x37287b(_0x453f3d));}async[_0x16631f(0x459)](_0x2044b6,_0x54a83a){return!!this['_localStorageService']['setItem'](_0x2044b6,_0x54a83a);}[_0x16631f(0x17f)](_0x4ca546,_0x453aa6,_0x312366,_0xd18109){const _0x2b19dd=_0x16631f,_0x5aee=this['_revisionService'][_0x2b19dd(0x531)](_0x4ca546);this[_0x2b19dd(0x2fa)][_0x2b19dd(0x41f)](_0x4ca546,{'unitID':_0x4ca546,'type':_0x453aa6,'awaitingChangeset':_0x312366,'mutations':_0xd18109,'rev':_0x5aee}),this[_0x2b19dd(0x3cc)]['has'](_0x4ca546)||this[_0x2b19dd(0x114)](_0x4ca546);}[_0x16631f(0x114)](_0x2c73fc){const _0x540358=_0x16631f,_0x4af64e=this['_getSaveTimeout']();_0x4af64e===0x0?this['_saveCache'](_0x2c73fc):this[_0x540358(0x3cc)][_0x540358(0x41f)](_0x2c73fc,setTimeout(()=>this['_saveCache'](_0x2c73fc),_0x4af64e));}[_0x16631f(0x221)](){var _0x34b8a1;return(_0x34b8a1=this['_configService']['getConfig'](_0x3c4516))!=null?_0x34b8a1:0x3e8;}[_0x16631f(0x3d6)](_0xbafabb){const _0x1a342a=_0x16631f,_0x29dfbe=this[_0x1a342a(0x3cc)][_0x1a342a(0x241)](_0xbafabb);return _0x29dfbe!==void 0x0&&window['clearTimeout'](_0x29dfbe),this[_0x1a342a(0x2d3)][_0x1a342a(0x3fc)](_0x37287b(_0xbafabb),this[_0x1a342a(0x2fa)][_0x1a342a(0x241)](_0xbafabb))['then'](()=>this['_saveTaskMap']['delete'](_0xbafabb));}async[_0x16631f(0x324)](){const _0x1ae99d=_0x16631f,_0x55a5f8=[];this[_0x1ae99d(0x3cc)][_0x1ae99d(0x236)]((_0xcb1092,_0x18e639)=>{const _0xdbe03=_0x1ae99d;window[_0xdbe03(0x544)](_0xcb1092),_0x55a5f8[_0xdbe03(0x203)](this[_0xdbe03(0x3d6)](_0x18e639)[_0xdbe03(0x566)](()=>{const _0x46c69a=_0xdbe03;this[_0x46c69a(0x3cc)][_0x46c69a(0x2eb)](_0x18e639);}));}),await Promise[_0x1ae99d(0x166)](_0x55a5f8);}[_0x16631f(0x4d4)](){const _0x12a68f=_0x16631f;this[_0x12a68f(0x14a)](this['_beforeCloseService'][_0x12a68f(0x307)](()=>{const _0x567bd5=_0x12a68f;if(this[_0x567bd5(0x3cc)]['size'])return this[_0x567bd5(0x4f0)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x2728bd[_0x16631f(0x2a1)]=_0x54f330([_0x132835(0x0,_0x8a1a57[_0x16631f(0x4f9)]),_0x132835(0x1,_0x8a1a57[_0x16631f(0x1da)]),_0x132835(0x2,_0x4b60ff[_0x16631f(0x4c4)]),_0x132835(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x1f4)])),_0x132835(0x4,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)]))],_0x2728bd['LocalCacheService']);function _0x37287b(_0x2d37a4){const _0x1831a8=_0x16631f;return _0x1831a8(0x2de)+_0x2d37a4;}var _0x269e96=Object[_0x16631f(0x162)],_0x155e0a=Object[_0x16631f(0x57e)],_0x29b5fa=(_0x406bcf,_0x353f7b,_0x4ff935,_0x1106e2)=>{const _0x5da535=_0x16631f;for(var _0xdc5751=_0x1106e2>0x1?void 0x0:_0x1106e2?_0x155e0a(_0x353f7b,_0x4ff935):_0x353f7b,_0x16d26f=_0x406bcf[_0x5da535(0x272)]-0x1,_0xb5cfd4;_0x16d26f>=0x0;_0x16d26f--)(_0xb5cfd4=_0x406bcf[_0x16d26f])&&(_0xdc5751=(_0x1106e2?_0xb5cfd4(_0x353f7b,_0x4ff935,_0xdc5751):_0xb5cfd4(_0xdc5751))||_0xdc5751);return _0x1106e2&&_0xdc5751&&_0x269e96(_0x353f7b,_0x4ff935,_0xdc5751),_0xdc5751;},_0x149573=(_0x4923e3,_0x1d4b22)=>(_0x1dd7ce,_0x2589e5)=>_0x1d4b22(_0x1dd7ce,_0x2589e5,_0x4923e3);function _0x38b597(_0x3db30d){const _0xbce428=_0x16631f,{unitID:_0x1ac6ba,mutations:_0x293238}=_0x3db30d;return{'unitId':_0x1ac6ba,'subUnitId':_0x293238[0x0][_0xbce428(0x238)][_0xbce428(0x4b1)]};}let _0x1a79c5=class{constructor(_0x47515f,_0x34d703,_0x11bfb7){const _0x121c6f=_0x16631f;this[_0x121c6f(0x264)]=_0x47515f,this[_0x121c6f(0x549)]=_0x34d703,this[_0x121c6f(0x139)]=_0x11bfb7;}[_0x16631f(0x4c2)](_0x1b1c43){const _0x1fc6cb=_0x16631f;var _0x53fe9b,_0x5c33ac,_0x7b94a2,_0x8fece;const _0x108ecc=this[_0x1fc6cb(0x264)][_0x1fc6cb(0x241)](_0x46f63a[_0x1fc6cb(0x1ff)]),{unitId:_0x4f3ea1,subUnitId:_0x37b9ad}=_0x38b597(_0x1b1c43),_0x55123e=_0x108ecc[_0x1fc6cb(0x44f)](_0x4f3ea1)[_0x1fc6cb(0x2b2)](),_0x3ae9d8=(_0x5c33ac=(_0x53fe9b=this[_0x1fc6cb(0x139)][_0x1fc6cb(0x2cd)](_0x4f3ea1))==null?void 0x0:_0x53fe9b[_0x1fc6cb(0x23a)]())==null?void 0x0:_0x5c33ac[_0x1fc6cb(0x3fb)]();if(_0x55123e[_0x1fc6cb(0x272)]===0x0||!_0x4f3ea1||!_0x37b9ad)return;const _0xd2e867=[{'id':_0x46f63a[_0x1fc6cb(0x51a)]['id'],'params':{'unitId':_0x4f3ea1,'subUnitId':_0x3ae9d8,'selections':_0x8a1a57[_0x1fc6cb(0x435)][_0x1fc6cb(0x591)](_0x55123e)}}],_0x46a326=this['_transformService'][_0x1fc6cb(0x1b3)](_0x1b1c43,_0xd2e867);if(!_0x27cfd8[_0x1fc6cb(0x2f8)](_0x46a326))throw _0x46a326[_0x1fc6cb(0x1df)];const _0x11f59e=(_0x8fece=(_0x7b94a2=_0x46a326[_0x1fc6cb(0x43e)][0x0])==null?void 0x0:_0x7b94a2['params'])==null?void 0x0:_0x8fece[_0x1fc6cb(0x3f7)];if(Array[_0x1fc6cb(0x2e1)](_0x11f59e)&&_0x11f59e[_0x1fc6cb(0x272)]){if(_0x11f59e[_0x1fc6cb(0x272)]===_0xd2e867[0x0][_0x1fc6cb(0x238)]['selections'][_0x1fc6cb(0x272)]&&_0x11f59e[_0x1fc6cb(0x50d)]((_0x4c2453,_0x39f7cc)=>_0x8a1a57['Rectangle']['equals'](_0x4c2453['range'],_0xd2e867[0x0][_0x1fc6cb(0x238)][_0x1fc6cb(0x3f7)][_0x39f7cc]['range'])))return;this[_0x1fc6cb(0x264)][_0x1fc6cb(0x241)](_0x8a1a57['ICommandService'])[_0x1fc6cb(0x564)](_0x46f63a[_0x1fc6cb(0x51a)]['id'],{'unitId':_0x4f3ea1,'subUnitId':_0x3ae9d8,'selections':_0x11f59e});}}};_0x1a79c5=_0x29b5fa([_0x149573(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x149573(0x1,_0x27cfd8['ITransformService']),_0x149573(0x2,_0x8a1a57['IUniverInstanceService'])],_0x1a79c5);const _0x50fb0f=_0x8a1a57['createIdentifier'](_0x16631f(0x39e));var _0x25ae3c=(_0x4e69f6=>(_0x4e69f6[_0x4e69f6[_0x16631f(0x2fb)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4e69f6[_0x4e69f6[_0x16631f(0x268)]=0x1]=_0x16631f(0x268),_0x4e69f6))(_0x25ae3c||{});const _0x2aacb6=0x7530,_0x496d62=_0x16631f(0x24c);class _0x4874df extends _0x8a1a57['Disposable']{constructor(){const _0xf1487a=_0x16631f;super(),_0x2a606e(this,'_id',_0x8a1a57[_0xf1487a(0x435)][_0xf1487a(0x293)]()),_0x2a606e(this,_0xf1487a(0x40e),new Set()),_0x2a606e(this,_0xf1487a(0xf7),new Map()),_0x2a606e(this,_0xf1487a(0x36d),null),_0x2a606e(this,'_clearOtherTimers',new Map()),_0x2a606e(this,_0xf1487a(0x1bf),new Map()),this[_0xf1487a(0x36a)]();}[_0x16631f(0x4a7)](){const _0xc457a7=_0x16631f;super['dispose'](),this['_clearOtherTimers'][_0xc457a7(0x236)]((_0x6525a9,_0x4875d8)=>this['_removeClearOtherTimer'](_0x4875d8)),this[_0xc457a7(0x36d)]&&window[_0xc457a7(0x41d)](this['_heartbeatTimer']);}[_0x16631f(0x159)](_0x5d06a9){const _0x264a23=_0x16631f;return this[_0x264a23(0x4ca)](_0x5d06a9)['pipe'](_0x933215[_0x264a23(0x322)]());}[_0x16631f(0x174)](_0x5ecf01){const _0x4d29b5=_0x16631f;this['_selfUnitIDs'][_0x4d29b5(0x3f3)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x4d29b5(0x1cb)](_0x5ecf01),this['_send']({'type':0x0,'memberID':this[_0x4d29b5(0x557)],'unitIDs':[_0x5ecf01],'isForwarded':!0x1});}['disposeUnit'](_0x206ed9){const _0x178d5c=_0x16631f;this[_0x178d5c(0x40e)][_0x178d5c(0x2eb)](_0x206ed9),this[_0x178d5c(0x40e)]['size']===0x0&&this[_0x178d5c(0x36d)]&&window[_0x178d5c(0x41d)](this[_0x178d5c(0x36d)]);}[_0x16631f(0x36a)](){const _0x2170eb=_0x16631f;this[_0x2170eb(0x14a)](_0x8a1a57['toDisposable'](_0x933215[_0x2170eb(0x362)](window,'storage')[_0x2170eb(0x42c)](_0x315299=>{const _0x3ccccf=_0x2170eb;if(_0x315299[_0x3ccccf(0x3a2)]!==_0x496d62||!_0x315299[_0x3ccccf(0xfa)])return;const _0x762cbe=JSON[_0x3ccccf(0x4c5)](_0x315299['newValue']);this[_0x3ccccf(0x332)](_0x762cbe);}))),window[_0x2170eb(0x100)]('unload',()=>this[_0x2170eb(0x1d6)]({'type':0x1,'memberID':this[_0x2170eb(0x557)],'unitIDs':Array[_0x2170eb(0x1cf)](this[_0x2170eb(0x40e)])}));}[_0x16631f(0x332)](_0x97e2e5){const _0x4a62f7=_0x16631f;switch(_0x97e2e5[_0x4a62f7(0x49b)]){case 0x0:this['_handleJoinEvent'](_0x97e2e5);break;case 0x1:this[_0x4a62f7(0x2c7)](_0x97e2e5);break;case 0x2:this[_0x4a62f7(0x47d)](_0x97e2e5);break;}}['_handleJoinEvent'](_0x3535e8){const _0x5070da=_0x16631f,{unitIDs:_0x51205b,memberID:_0x3cc1d5,isForwarded:_0x570444}=_0x3535e8;_0x51205b[_0x5070da(0x236)](_0x16b8fa=>{const _0x57ec56=_0x5070da;if(!_0x570444&&this[_0x57ec56(0xf7)]['has'](_0x16b8fa)&&this['_ensureSubject'](_0x16b8fa)[_0x57ec56(0x1dd)](0x1),!this['_unitOnClients']['has'](_0x16b8fa)||!this[_0x57ec56(0xf7)][_0x57ec56(0x241)](_0x16b8fa)['has'](_0x3cc1d5)){const _0x4a10bd=this[_0x57ec56(0xf7)][_0x57ec56(0x241)](_0x16b8fa)||new Set();_0x4a10bd[_0x57ec56(0x1cb)](_0x3cc1d5),this[_0x57ec56(0xf7)][_0x57ec56(0x41f)](_0x16b8fa,_0x4a10bd),this['_scheduleClearOtherTimer'](_0x3cc1d5);}}),_0x570444||this[_0x5070da(0x1d6)]({'type':0x0,'memberID':this[_0x5070da(0x557)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x16631f(0x26a)](_0x42624f){const _0x1062f0=_0x16631f;this['_removeClearOtherTimer'](_0x42624f);const _0x112652=window[_0x1062f0(0x50b)](()=>{const _0x23f39d=_0x1062f0;this[_0x23f39d(0xf7)][_0x23f39d(0x236)](_0x3ceb35=>{const _0x3d088d=_0x23f39d;_0x3ceb35[_0x3d088d(0x2eb)](_0x42624f);});},_0x2aacb6*0x2);this[_0x1062f0(0x590)][_0x1062f0(0x41f)](_0x42624f,_0x112652);}[_0x16631f(0x32b)](_0xf1afbf){const _0x165877=_0x16631f;if(this[_0x165877(0x590)][_0x165877(0x295)](_0xf1afbf)){const _0x479d17=this[_0x165877(0x590)][_0x165877(0x241)](_0xf1afbf);_0x479d17&&window['clearTimeout'](_0x479d17),this[_0x165877(0x590)][_0x165877(0x41f)](_0xf1afbf,null);}}[_0x16631f(0x2c7)](_0x394855){const _0x2a1f0f=_0x16631f,{memberID:_0x28ac19,unitIDs:_0x448b35}=_0x394855;_0x448b35['forEach'](_0x2e6e1c=>{const _0x43e73b=_0x586f;var _0x114f98;const _0x436dce=this[_0x43e73b(0xf7)]['get'](_0x2e6e1c);_0x436dce&&(_0x436dce[_0x43e73b(0x2eb)](_0x28ac19),(_0x114f98=this['_ensureSubject'](_0x2e6e1c))==null||_0x114f98[_0x43e73b(0x1dd)](_0x436dce['size']===0x0?0x0:0x1));}),this[_0x2a1f0f(0x32b)](_0x28ac19);}['_handleHeartbeatEvent'](_0x27146d){const _0x2de306=_0x16631f;this[_0x2de306(0x26a)](_0x27146d[_0x2de306(0x244)]);}['_send'](_0x5ecd85){const _0x492e25=_0x16631f;localStorage[_0x492e25(0x3fc)](_0x496d62,JSON[_0x492e25(0x338)](_0x5ecd85));}[_0x16631f(0x215)](){const _0x4cc87c=_0x16631f;this[_0x4cc87c(0x36d)]=window[_0x4cc87c(0x216)](()=>{const _0x69b5d2=_0x4cc87c;this[_0x69b5d2(0x1d6)]({'type':0x2,'memberID':this[_0x69b5d2(0x557)]});},_0x2aacb6);}[_0x16631f(0x4ca)](_0x416c91){const _0x5ddff4=_0x16631f;return this[_0x5ddff4(0x1bf)][_0x5ddff4(0x295)](_0x416c91)||this[_0x5ddff4(0x1bf)][_0x5ddff4(0x41f)](_0x416c91,new _0x933215[(_0x5ddff4(0x1fd))](0x0)),this[_0x5ddff4(0x1bf)]['get'](_0x416c91);}}var _0x225482=Object[_0x16631f(0x162)],_0x12ba65=Object['getOwnPropertyDescriptor'],_0x29a0ae=(_0x426c0d,_0x96e5a9,_0x3ea010,_0x62f863)=>{const _0x51d4a6=_0x16631f;for(var _0x34ff5c=_0x62f863>0x1?void 0x0:_0x62f863?_0x12ba65(_0x96e5a9,_0x3ea010):_0x96e5a9,_0x1e6663=_0x426c0d[_0x51d4a6(0x272)]-0x1,_0x32fed1;_0x1e6663>=0x0;_0x1e6663--)(_0x32fed1=_0x426c0d[_0x1e6663])&&(_0x34ff5c=(_0x62f863?_0x32fed1(_0x96e5a9,_0x3ea010,_0x34ff5c):_0x32fed1(_0x34ff5c))||_0x34ff5c);return _0x62f863&&_0x34ff5c&&_0x225482(_0x96e5a9,_0x3ea010,_0x34ff5c),_0x34ff5c;},_0x394f1a=(_0xf39daa,_0x4360a5)=>(_0x208058,_0x264aab)=>_0x4360a5(_0x208058,_0x264aab,_0xf39daa);let _0x21b12b=class{constructor(_0x3733a2,_0x52fe89,_0x4456da){const _0x39ec99=_0x16631f;this[_0x39ec99(0x264)]=_0x3733a2,this['_transformService']=_0x52fe89,this[_0x39ec99(0x305)]=_0x4456da;}['transformStateCache'](_0x3813bf){const _0xd18ce=_0x16631f;this[_0xd18ce(0x371)](_0x3813bf);}[_0x16631f(0x246)](_0x250fc2){const _0x318527=_0x16631f,{unitID:_0x3f703b}=_0x250fc2,{collaboration:_0x18eec7}=this['_docStateChangeManagerService'][_0x318527(0x321)](_0x3f703b);if(_0x18eec7[_0x318527(0x272)]===0x0)return _0x250fc2;let _0x24c97e=_0x8a1a57[_0x318527(0x435)][_0x318527(0x591)](_0x250fc2[_0x318527(0x1ce)][0x0]);for(let _0x338c20=0x0;_0x338c20<_0x18eec7[_0x318527(0x272)];_0x338c20++){const _0x2678cf={'id':_0x318527(0x1f7),'params':{'unitId':_0x18eec7[_0x338c20][_0x318527(0x151)],..._0x18eec7[_0x338c20][_0x318527(0x301)]}},_0x451de4=this[_0x318527(0x549)]['transformMutation'](_0x24c97e,_0x2678cf,!0x1);if(_0x27cfd8[_0x318527(0x220)](_0x451de4))throw _0x451de4['error'];_0x24c97e=_0x451de4['m1Prime'];}return{..._0x8a1a57[_0x318527(0x435)][_0x318527(0x591)](_0x250fc2),'mutations':[_0x24c97e]};}[_0x16631f(0x371)](_0x539461){const _0x386359=_0x16631f,{unitID:_0xcd85bc}=_0x539461,{history:_0x155a18,collaboration:_0x4c2222}=this['_docStateChangeManagerService'][_0x386359(0x321)](_0xcd85bc);if(_0x155a18[_0x386359(0x272)]===0x0&&_0x4c2222[_0x386359(0x272)]===0x0)return;const _0x171a72=[],_0x5a4f02=[];let _0x6ebd42=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]),_0x3893e3=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]);for(let _0x332399=_0x155a18[_0x386359(0x272)]-0x1;_0x332399>=0x0;_0x332399--){const _0x317c37={'id':_0x386359(0x1f7),'params':{'unitId':_0x155a18[_0x332399][_0x386359(0x151)],..._0x155a18[_0x332399][_0x386359(0x141)]}},_0x383a47={'id':_0x386359(0x1f7),'params':{'unitId':_0x155a18[_0x332399][_0x386359(0x151)],..._0x155a18[_0x332399][_0x386359(0x301)]}},_0x3ec20d=this[_0x386359(0x549)]['transformMutation'](_0x6ebd42,_0x317c37,!0x1),_0x46e383=this[_0x386359(0x549)]['transformMutation'](_0x3893e3,_0x383a47,!0x1);if(_0x27cfd8[_0x386359(0x220)](_0x3ec20d))throw _0x3ec20d['error'];if(_0x27cfd8[_0x386359(0x220)](_0x46e383))throw _0x46e383[_0x386359(0x1df)];_0x171a72['unshift']({..._0x155a18[_0x332399],'undoState':_0x3ec20d['m2Prime']['params'],'redoState':_0x46e383[_0x386359(0x43e)][_0x386359(0x238)]}),_0x6ebd42=_0x3ec20d[_0x386359(0x360)],_0x3893e3=_0x46e383[_0x386359(0x360)];}_0x6ebd42=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]),_0x3893e3=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]);for(let _0xfe6220=_0x4c2222['length']-0x1;_0xfe6220>=0x0;_0xfe6220--){const _0x3aeb0a={'id':_0x386359(0x1f7),'params':{'unitId':_0x4c2222[_0xfe6220][_0x386359(0x151)],..._0x4c2222[_0xfe6220]['undoState']}},_0x3e1b5e={'id':_0x386359(0x1f7),'params':{'unitId':_0x4c2222[_0xfe6220][_0x386359(0x151)],..._0x4c2222[_0xfe6220][_0x386359(0x301)]}},_0x10e561=this[_0x386359(0x549)][_0x386359(0x56a)](_0x6ebd42,_0x3aeb0a,!0x1),_0x4c62d2=this[_0x386359(0x549)][_0x386359(0x56a)](_0x3893e3,_0x3e1b5e,!0x1);if(_0x27cfd8['isTransformMutationFailure'](_0x10e561))throw _0x10e561['error'];if(_0x27cfd8[_0x386359(0x220)](_0x4c62d2))throw _0x4c62d2[_0x386359(0x1df)];_0x5a4f02[_0x386359(0x1d7)]({..._0x4c2222[_0xfe6220],'undoState':_0x10e561['m2Prime'][_0x386359(0x238)],'redoState':_0x4c62d2[_0x386359(0x43e)][_0x386359(0x238)]}),_0x6ebd42=_0x10e561[_0x386359(0x360)],_0x3893e3=_0x4c62d2[_0x386359(0x360)];}this['_docStateChangeManagerService'][_0x386359(0x11d)](_0xcd85bc,{'history':_0x171a72,'collaboration':_0x5a4f02});}};_0x21b12b=_0x29a0ae([_0x394f1a(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x394f1a(0x1,_0x27cfd8['ITransformService']),_0x394f1a(0x2,_0x8a1a57[_0x16631f(0x537)](_0x473dea[_0x16631f(0x425)]))],_0x21b12b);function _0x35203a(_0xc0b538){const _0x3a5c6f=_0x16631f;let _0x524475='';for(const _0x5c9f17 of _0xc0b538){const {startOffset:_0x43d52d,endOffset:_0x29b907,isActive:_0x43ea32,rangeType:_0x350f68,segmentId:_0x49ca6d,segmentPage:_0x452c0d}=_0x5c9f17;_0x524475[_0x3a5c6f(0x272)]&&(_0x524475+=','),_0x524475+=_0x43d52d+':'+_0x29b907+':'+(_0x43ea32?'1':'0')+':'+_0x350f68+':'+_0x49ca6d+':'+_0x452c0d;}return _0x524475;}function _0x40a456(_0x2a1293){const _0x443c68=_0x16631f,_0x2dc8f9=_0x2a1293[_0x443c68(0x29a)](','),_0x347509=[];for(const _0x29e425 of _0x2dc8f9){const [_0x5cd7ea,_0x2904af,_0x158c73,_0x393649,_0x55bff3,_0x5f201b]=_0x29e425[_0x443c68(0x29a)](':');_0x347509[_0x443c68(0x203)]({'startOffset':Number(_0x5cd7ea),'endOffset':Number(_0x2904af),'collapsed':_0x5cd7ea===_0x2904af,'isActive':_0x158c73==='1','rangeType':_0x393649===_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x365)]?_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x365)]:_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x30c)],'segmentId':typeof _0x55bff3=='string'?String(_0x55bff3):'','segmentPage':Number(_0x5f201b!=null?_0x5f201b:-0x1)});}return _0x347509[_0x443c68(0x4f8)](_0x2fed5a=>_0x2fed5a['isActive'])||(_0x347509[0x0][_0x443c68(0x3dc)]=!0x0),_0x347509;}class _0xc8790a extends _0x8a1a57[_0x16631f(0x228)]{constructor(){const _0x27de8d=_0x16631f;super(...arguments),_0x2a606e(this,_0x27de8d(0x5a7),new _0x933215[(_0x27de8d(0x1fd))](null)),_0x2a606e(this,_0x27de8d(0x22f),this[_0x27de8d(0x5a7)]['asObservable']());}[_0x16631f(0x534)](_0x4ce328){const _0x163ed3=_0x16631f,{unitID:_0x43f95c,memberID:_0x4533b9,textRanges:_0x22da24}=_0x4ce328,_0x40159b=_0x35203a(_0x22da24);if(_0x40159b==='')return;const _0xac8c13={'unitID':_0x43f95c,'memberID':_0x4533b9,'selection':_0x40159b};this[_0x163ed3(0x5a7)]['next'](_0xac8c13);}}var _0xc96faf=Object['defineProperty'],_0x462715=Object[_0x16631f(0x57e)],_0x46ba26=(_0x2a7ce0,_0x1951a4,_0x52e3ec,_0x584dc4)=>{for(var _0x2f59b0=_0x584dc4>0x1?void 0x0:_0x584dc4?_0x462715(_0x1951a4,_0x52e3ec):_0x1951a4,_0xbc6a30=_0x2a7ce0['length']-0x1,_0x8c35bc;_0xbc6a30>=0x0;_0xbc6a30--)(_0x8c35bc=_0x2a7ce0[_0xbc6a30])&&(_0x2f59b0=(_0x584dc4?_0x8c35bc(_0x1951a4,_0x52e3ec,_0x2f59b0):_0x8c35bc(_0x2f59b0))||_0x2f59b0);return _0x584dc4&&_0x2f59b0&&_0xc96faf(_0x1951a4,_0x52e3ec,_0x2f59b0),_0x2f59b0;},_0x5b9340=(_0x5b641c,_0x2b2740)=>(_0x3a1bf3,_0xf1a4c1)=>_0x2b2740(_0x3a1bf3,_0xf1a4c1,_0x5b641c);let _0x3110cc=class{constructor(_0x1b975e,_0x1df503){this['_injector']=_0x1b975e,this['_transformService']=_0x1df503;}['transformSelections'](_0xd4c0cb){const _0x4f9019=_0x16631f;var _0x46bba4;const _0x5d74e5=this[_0x4f9019(0x264)][_0x4f9019(0x241)](_0x1d9e38[_0x4f9019(0x56e)]),_0x415597=(_0x46bba4=_0x5d74e5[_0x4f9019(0x494)]())!=null?_0x46bba4:[];if(_0x415597[_0x4f9019(0x272)]===0x0)return;const _0x3d88f2=_0xd4c0cb[_0x4f9019(0x477)],_0x37235e=[{'id':_0x4f9019(0x1f7),'params':{'unitId':_0x3d88f2,'actions':null,'textRanges':_0x415597}}],_0x1cd293=this[_0x4f9019(0x549)][_0x4f9019(0x1b3)](_0xd4c0cb,_0x37235e);if(!_0x27cfd8['isTransformMutationsWithChangesetSuccess'](_0x1cd293))throw _0x1cd293[_0x4f9019(0x1df)];const _0x28e1f0=_0x1cd293[_0x4f9019(0x43e)][0x0][_0x4f9019(0x238)][_0x4f9019(0x59e)];Array['isArray'](_0x28e1f0)&&_0x28e1f0[_0x4f9019(0x272)]&&_0x5d74e5[_0x4f9019(0x401)](_0x28e1f0,{'unitId':_0x3d88f2,'subUnitId':_0x3d88f2},!0x1);}};_0x3110cc=_0x46ba26([_0x5b9340(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x5b9340(0x1,_0x27cfd8[_0x16631f(0x1bd)])],_0x3110cc);const _0x512666=new Set([_0x46f63a[_0x16631f(0x551)]['id']]);function _0x3db108(_0x3eedab,_0x2d51dc,_0x11a247,_0x373b2f,_0x312392){const _0x2c2ece=_0x16631f;var _0x408448,_0x11edf6,_0x2cc1bb,_0x52d0ba;const _0x35ded9=[];for(const _0x436923 of _0x3eedab)if(_0x512666[_0x2c2ece(0x295)](_0x436923['id'])){if(_0x35ded9[_0x2c2ece(0x272)]>0x0)break;_0x35ded9[_0x2c2ece(0x203)](_0x436923);break;}else _0x35ded9[_0x2c2ece(0x203)](_0x436923);const _0x458301=(_0x11edf6=(_0x408448=_0x312392[_0x2c2ece(0x223)]())==null?void 0x0:_0x408448[_0x2c2ece(0x17d)])!=null?_0x11edf6:_0x2c2ece(0x297),_0x110bdf=(_0x52d0ba=(_0x2cc1bb=_0x312392[_0x2c2ece(0x223)]())==null?void 0x0:_0x2cc1bb[_0x2c2ece(0x244)])!=null?_0x52d0ba:'unknown';return{'changeset':{'unitID':_0x2d51dc,'type':_0x27cfd8[_0x2c2ece(0x2d7)](_0x11a247[_0x2c2ece(0x4cf)](_0x2d51dc)),'baseRev':_0x373b2f[_0x2c2ece(0x531)](_0x2d51dc),'revision':0x0,'userID':_0x458301,'memberID':_0x110bdf,'mutations':_0x35ded9},'pendingMutations':_0x3eedab[_0x2c2ece(0x38d)](_0x35ded9['length'])};}function _0x583b8f(_0x2435d2,_0x419870,_0x4d1197,_0x4be11e,_0x2abd0a){const _0x58824f=_0x16631f;var _0x1b6272,_0x577a1d,_0x2a55e8,_0x34d0e1;const _0x1620f2=[_0x2435d2['reduce']((_0x16251b,_0x21f287)=>{const _0x166dda=_0x586f;var _0x336701;const {id:_0x464bf2}=_0x16251b,{id:_0x25d33d,type:_0x168bd9}=_0x21f287,_0x5ba114=(_0x336701=_0x16251b[_0x166dda(0x238)])!=null?_0x336701:{'actions':null},_0xff854f=_0x21f287[_0x166dda(0x238)];if(_0x464bf2&&_0x464bf2!==_0x25d33d)throw new Error(_0x166dda(0x2bb)+_0x464bf2+_0x166dda(0x2b1)+_0x25d33d+'.');return{..._0x16251b,'id':_0x25d33d,'type':_0x168bd9,'params':{'unitId':_0xff854f[_0x166dda(0x151)],'textRanges':_0xff854f[_0x166dda(0x59e)],'actions':_0x8a1a57[_0x166dda(0x319)][_0x166dda(0x2f6)](_0x5ba114[_0x166dda(0x112)],_0xff854f[_0x166dda(0x112)])}};},{})],_0x207e73=(_0x577a1d=(_0x1b6272=_0x2abd0a[_0x58824f(0x223)]())==null?void 0x0:_0x1b6272['userID'])!=null?_0x577a1d:_0x58824f(0x297),_0x5dfb11=(_0x34d0e1=(_0x2a55e8=_0x2abd0a[_0x58824f(0x223)]())==null?void 0x0:_0x2a55e8[_0x58824f(0x244)])!=null?_0x34d0e1:_0x58824f(0x297);return{'changeset':{'unitID':_0x419870,'type':_0x27cfd8[_0x58824f(0x2d7)](_0x4d1197[_0x58824f(0x4cf)](_0x419870)),'baseRev':_0x4be11e[_0x58824f(0x531)](_0x419870),'revision':0x0,'userID':_0x207e73,'memberID':_0x5dfb11,'mutations':_0x1620f2},'pendingMutations':[]};}function _0x53ed26(_0x3e70ae,_0x511af6){const _0x4b0632=_0x16631f,_0x248063=new _0x933215[(_0x4b0632(0x441))](0x1);return setTimeout(()=>_0x248063[_0x4b0632(0x1dd)](_0x511af6),_0x3e70ae),_0x248063['asObservable']()[_0x4b0632(0x4be)](_0x933215[_0x4b0632(0x4a3)](0x1));}const _0x25922c={'id':_0x46f63a[_0x16631f(0x13d)]['id'],'type':_0x8a1a57[_0x16631f(0x39c)][_0x16631f(0x2a7)],'params':{}};var _0x242bfb=Object['defineProperty'],_0x4af605=Object['getOwnPropertyDescriptor'],_0x129d6d=(_0x2888e2,_0x1c2a35,_0xd738d7,_0x48c210)=>{for(var _0x3c180d=_0x48c210>0x1?void 0x0:_0x48c210?_0x4af605(_0x1c2a35,_0xd738d7):_0x1c2a35,_0xc03a26=_0x2888e2['length']-0x1,_0x23fcaf;_0xc03a26>=0x0;_0xc03a26--)(_0x23fcaf=_0x2888e2[_0xc03a26])&&(_0x3c180d=(_0x48c210?_0x23fcaf(_0x1c2a35,_0xd738d7,_0x3c180d):_0x23fcaf(_0x3c180d))||_0x3c180d);return _0x48c210&&_0x3c180d&&_0x242bfb(_0x1c2a35,_0xd738d7,_0x3c180d),_0x3c180d;},_0x39a9b3=(_0x1cbe05,_0x4378b9)=>(_0x4a0eef,_0x404174)=>_0x4378b9(_0x4a0eef,_0x404174,_0x1cbe05),_0x5d61dc=(_0xe39048=>(_0xe39048[_0x16631f(0x3f1)]='not_collab',_0xe39048[_0x16631f(0x48b)]=_0x16631f(0x361),_0xe39048[_0x16631f(0x487)]=_0x16631f(0x3a0),_0xe39048[_0x16631f(0x1f0)]=_0x16631f(0x489),_0xe39048[_0x16631f(0x5ae)]='awaiting_with_pending',_0xe39048[_0x16631f(0x3f4)]=_0x16631f(0x51f),_0xe39048[_0x16631f(0x3a3)]='conflict',_0xe39048[_0x16631f(0x106)]=_0x16631f(0x21f),_0xe39048))(_0x5d61dc||{});const _0x584d78=0xea60;class _0x2c451e{constructor(_0x920a10,_0x4c94da,_0x45faa5,_0x251b10,_0x234ade,_0x1479bd,_0x3fcb07,_0x971951,_0x730532){const _0x1abc39=_0x16631f;_0x2a606e(this,'_awaitingChangeset',null),_0x2a606e(this,_0x1abc39(0x460),[]),(this[_0x1abc39(0x477)]=_0x920a10,this[_0x1abc39(0x49b)]=_0x4c94da,this['_handler']=_0x234ade,this[_0x1abc39(0x475)]=_0x1479bd,this[_0x1abc39(0x313)]=_0x3fcb07,this['_revisionService']=_0x971951,this[_0x1abc39(0x48e)]=_0x730532,this['_awaitingChangeset']=_0x45faa5,this[_0x1abc39(0x460)]=_0x251b10);}['_checkMissing'](_0x748d4b){const _0x4cc004=_0x16631f,_0x1d322f=this['_revisionService'][_0x4cc004(0x531)](this[_0x4cc004(0x477)]);return _0x748d4b[_0x4cc004(0x5a1)]>_0x1d322f+0x1?(this['_handler']['onMissingChangesets']({'from':_0x1d322f,'to':_0x748d4b[_0x4cc004(0x5a1)]-0x1}),!0x0):!0x1;}[_0x16631f(0x16c)](_0x551e40){const _0x2fbddf=_0x16631f;this[_0x2fbddf(0x313)][_0x2fbddf(0x45d)](this[_0x2fbddf(0x477)],_0x551e40);}[_0x16631f(0x2c8)](_0x3ef039){const _0x14d8bc=_0x16631f;var _0x2c91ae,_0x9ef1d8;(_0x9ef1d8=(_0x2c91ae=this[_0x14d8bc(0x25d)])[_0x14d8bc(0x58f)])==null||_0x9ef1d8['call'](_0x2c91ae,_0x3ef039);}[_0x16631f(0x30d)](_0x1f554b){var _0x494226,_0x19d9ba;return(_0x19d9ba=(_0x494226=this['_handler'])['onTransformIME'])==null?void 0x0:_0x19d9ba['call'](_0x494226,_0x1f554b);}['_transformStateCache'](_0x423ed2){const _0x20d709=_0x16631f;var _0x45e0ef,_0x5d0102;return(_0x5d0102=(_0x45e0ef=this[_0x20d709(0x25d)])[_0x20d709(0x2e6)])==null?void 0x0:_0x5d0102[_0x20d709(0x3b4)](_0x45e0ef,_0x423ed2);}[_0x16631f(0x210)](_0x48aaae){const _0x2baa7f=_0x16631f;var _0x10a3d1,_0x201a51,_0x20690d;return(_0x20690d=(_0x201a51=(_0x10a3d1=this[_0x2baa7f(0x25d)])[_0x2baa7f(0x3f9)])==null?void 0x0:_0x201a51[_0x2baa7f(0x3b4)](_0x10a3d1,_0x48aaae))!=null?_0x20690d:_0x48aaae;}[_0x16631f(0x3e3)](_0x10e02e){const _0x50e03d=_0x16631f;var _0x251222,_0x4ee8cc,_0xa1884b;return(_0xa1884b=(_0x4ee8cc=(_0x251222=this['_handler'])[_0x50e03d(0x44d)])==null?void 0x0:_0x4ee8cc['call'](_0x251222,_0x10e02e))!=null?_0xa1884b:_0x10e02e;}[_0x16631f(0x47f)](_0x42e4e5){const _0x288d57=_0x16631f;var _0x499b7a,_0x2a6829;if(this[_0x288d57(0x49b)]===_0x4a6b81[_0x288d57(0x327)]){const {unitID:_0x45c57f,mutations:_0x4c0559,memberID:_0x303ec6}=_0x42e4e5,_0x1509a0=_0x4c0559[0x0][_0x288d57(0x238)]['textRanges'];Array['isArray'](_0x1509a0)&&_0x1509a0[_0x288d57(0x272)]>0x0&&((_0x2a6829=(_0x499b7a=this[_0x288d57(0x25d)])[_0x288d57(0x1f5)])==null||_0x2a6829[_0x288d57(0x3b4)](_0x499b7a,{'unitID':_0x45c57f,'memberID':_0x303ec6,'textRanges':_0x1509a0}));}}[_0x16631f(0x1a2)](){const _0x4de7c3=_0x16631f;this['_localCacheService']['updateOfflineData'](this[_0x4de7c3(0x477)],this['type'],this[_0x4de7c3(0x41c)],this['_pendingMutations']);}[_0x16631f(0x189)](){const _0x957b5e=_0x16631f;return this[_0x957b5e(0x110)]['getCurrentRevOfUnit'](this[_0x957b5e(0x477)]);}[_0x16631f(0x265)](){const _0x41db97=_0x16631f;this['_revisionService'][_0x41db97(0x398)](this['unitID']);}['_executeRemoteChangeset'](_0x4736cd){const _0x214a8b=_0x16631f;var _0xbb8ed9;let _0x5f36bc=this[_0x214a8b(0x210)](_0x4736cd);_0x5f36bc=this['_transformRemoteChangesetByStateCache'](_0x5f36bc);const _0x35a11d=_0x8a1a57[_0x214a8b(0x582)](_0x5f36bc[_0x214a8b(0x1ce)],this[_0x214a8b(0x475)],{'fromCollab':!0x0});if(!_0x35a11d[_0x214a8b(0x36b)])throw _0x35a11d[_0x214a8b(0x1df)]instanceof Error?_0x35a11d[_0x214a8b(0x1df)]:new Error((_0xbb8ed9=_0x35a11d[_0x214a8b(0x1df)])!=null?_0xbb8ed9:_0x214a8b(0x404));this[_0x214a8b(0x30d)](_0x5f36bc),this[_0x214a8b(0x129)](_0x5f36bc),this['_transformUndoredo'](_0x4736cd),this[_0x214a8b(0x2c8)](_0x5f36bc),this['_syncEditingCollabCursor'](_0x5f36bc),this['_incrementRevisionNumber']();}}let _0x3bff71=class extends _0x2c451e{constructor(_0x5ebe11,_0x2918ea,_0x509906,_0x5337be,_0x3b97ab,_0xf0b76d,_0x15beb7,_0x512141,_0x36533c,_0x9fd36){const _0x9d2789=_0x16631f;super(_0x5ebe11,_0x2918ea,null,[],_0x509906,_0x512141,_0x15beb7,_0x5337be,_0x3b97ab),_0x2a606e(this,_0x9d2789(0x536),_0x9d2789(0x361)),(this[_0x9d2789(0x264)]=_0xf0b76d,this['_logService']=_0x36533c,this[_0x9d2789(0x549)]=_0x9fd36);}[_0x16631f(0x337)](_0x3aad4b){const _0x281c44=_0x16631f,_0x313a55=this['_injector'][_0x281c44(0x28c)](_0x47565d,this[_0x281c44(0x477)],this[_0x281c44(0x49b)],[_0x3aad4b],this[_0x281c44(0x25d)]);return _0x313a55[_0x281c44(0x586)](),_0x313a55[_0x281c44(0x1a2)](),_0x313a55;}['onRemoteChangeset'](_0x488044){const _0x312c4e=_0x16631f;if(this['_checkMissing'](_0x488044))return this[_0x312c4e(0x264)][_0x312c4e(0x28c)](_0x1dc8e0,this[_0x312c4e(0x477)],this['type'],null,[],null,[_0x488044],this['_handler']);try{const _0x4f356f=this['_transformService'][_0x312c4e(0x1b3)](_0x488044,[_0x25922c]);if(_0x27cfd8[_0x312c4e(0x2f8)](_0x4f356f)){const {c1Prime:_0x23e411}=_0x4f356f;return this[_0x312c4e(0x4e7)](_0x23e411),this;}throw _0x4f356f[_0x312c4e(0x1df)];}catch(_0x42bdfc){return this[_0x312c4e(0x515)][_0x312c4e(0x1df)](_0x42bdfc),this['_onConflict'](!0x1);}}['_onConflict'](_0x217404){const _0x28c5ef=_0x16631f;return this[_0x28c5ef(0x264)][_0x28c5ef(0x28c)](_0x4bd0b3,this[_0x28c5ef(0x477)],this[_0x28c5ef(0x49b)],null,[],this[_0x28c5ef(0x25d)],_0x217404);}[_0x16631f(0x4b8)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x47630c=_0x16631f;throw new Error(_0x47630c(0x1a5));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){const _0x2a6475=_0x16631f;return this[_0x2a6475(0x264)][_0x2a6475(0x28c)](_0x3055ba,this[_0x2a6475(0x477)],this[_0x2a6475(0x49b)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x16631f(0x377)](){const _0x4bd467=_0x16631f,_0x205da9=this['_revisionService'][_0x4bd467(0x531)](this[_0x4bd467(0x477)]);return this['_handler']['onMissingChangesets']({'from':_0x205da9,'to':0x0}),this['_injector']['createInstance'](_0x1dc8e0,this[_0x4bd467(0x477)],this[_0x4bd467(0x49b)],null,[],null,[],this[_0x4bd467(0x25d)]);}};_0x3bff71=_0x129d6d([_0x39a9b3(0x3,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['LocalCacheService'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x540)]),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0x9,_0x27cfd8[_0x16631f(0x1bd)])],_0x3bff71);let _0x47565d=class extends _0x2c451e{constructor(_0x4c7dfc,_0x2577ef,_0x2bc635,_0x13ed48,_0x40518b,_0x22b6d5,_0x19a305,_0x1a6481,_0x245f0c,_0x445d2e,_0x185fd8,_0x46a3a6,_0x203354,_0x489886){const _0x4cddf5=_0x16631f;super(_0x4c7dfc,_0x2577ef,null,_0x2bc635,_0x13ed48,_0x445d2e,_0x489886,_0x22b6d5,_0x19a305),_0x2a606e(this,_0x4cddf5(0x536),_0x4cddf5(0x3a0)),_0x2a606e(this,_0x4cddf5(0x12d),null),_0x2a606e(this,_0x4cddf5(0x29d),null),(this[_0x4cddf5(0x264)]=_0x40518b,this[_0x4cddf5(0x154)]=_0x1a6481,this['_logService']=_0x245f0c,this[_0x4cddf5(0x31f)]=_0x185fd8,this[_0x4cddf5(0x549)]=_0x46a3a6,this[_0x4cddf5(0x3e7)]=_0x203354);}['appendMutation'](_0x527880){const _0x179591=_0x16631f;return this['_pendingMutations'][_0x179591(0x203)](_0x527880),this[_0x179591(0x1a2)](),this;}[_0x16631f(0x2d8)](_0x314c19){const _0x5685ae=_0x16631f;if(this['_checkMissing'](_0x314c19))return this[_0x5685ae(0x133)](),this[_0x5685ae(0x264)][_0x5685ae(0x28c)](_0x1dc8e0,this['unitID'],this['type'],null,this[_0x5685ae(0x460)],null,[_0x314c19],this[_0x5685ae(0x25d)]);try{const _0xda1421=this['_transformService'][_0x5685ae(0x1b3)](_0x314c19,this[_0x5685ae(0x460)]);if(_0x27cfd8[_0x5685ae(0x2f8)](_0xda1421)){const {c1Prime:_0x5390a8,m2Prime:_0x3696d6}=_0xda1421;this[_0x5685ae(0x4e7)](_0x5390a8);const _0xb23922=this[_0x5685ae(0x264)][_0x5685ae(0x28c)](_0x47565d,this[_0x5685ae(0x477)],this[_0x5685ae(0x49b)],_0x3696d6,this[_0x5685ae(0x25d)]);return this[_0x5685ae(0x133)](),_0xb23922[_0x5685ae(0x586)](this[_0x5685ae(0x12d)]?Math[_0x5685ae(0x150)](0x0,new Date()[_0x5685ae(0x3d0)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0xb23922;}throw _0xda1421[_0x5685ae(0x1df)];}catch(_0x5ae23c){return this['_logService']['error'](_0x5ae23c),this[_0x5685ae(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](){const _0x3dec84=_0x16631f;throw new Error(_0x3dec84(0x389));}[_0x16631f(0x374)](){const _0x3a8c9f=_0x16631f;throw new Error(_0x3a8c9f(0x5ad));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x2731c2=_0x16631f;return this[_0x2731c2(0x133)](),this[_0x2731c2(0x264)][_0x2731c2(0x28c)](_0x3055ba,this[_0x2731c2(0x477)],this[_0x2731c2(0x49b)],null,this[_0x2731c2(0x460)],this[_0x2731c2(0x25d)]);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x586)](_0x33dbc2){const _0x3ba377=_0x16631f,_0x1155de=_0x33dbc2!=null?_0x33dbc2:this[_0x3ba377(0x55f)]();this[_0x3ba377(0x12d)]=new Date()[_0x3ba377(0x3d0)](),this[_0x3ba377(0x29d)]=window[_0x3ba377(0x50b)](()=>{const _0x271330=_0x3ba377;this[_0x271330(0x133)]();let _0x4c4e5c=null;switch(this[_0x271330(0x49b)]){case _0x4a6b81[_0x271330(0x32e)]:{_0x4c4e5c=_0x3db108(this[_0x271330(0x460)],this[_0x271330(0x477)],this['_univerInstanceService'],this[_0x271330(0x110)],this['_memberService']);break;}case _0x4a6b81[_0x271330(0x327)]:{this['_pendingMutations'][_0x271330(0x50d)](_0x2089c9=>_0x2089c9['id']===_0x1d9e38[_0x271330(0x467)]['id'])?_0x4c4e5c=_0x583b8f(this[_0x271330(0x460)],this['unitID'],this['_univerInstanceService'],this[_0x271330(0x110)],this[_0x271330(0x154)]):_0x4c4e5c=_0x3db108(this[_0x271330(0x460)],this['unitID'],this[_0x271330(0x3e7)],this[_0x271330(0x110)],this[_0x271330(0x154)]);break;}default:throw new Error(_0x271330(0x3b9)+this['type']+_0x271330(0x2e3));}const {changeset:_0x4c0280,pendingMutations:_0xf5d679}=_0x4c4e5c;this[_0x271330(0x25d)][_0x271330(0x199)](_0x4c0280);const _0x19660a=_0xf5d679[_0x271330(0x272)]?this['_injector'][_0x271330(0x28c)](_0x27a14f,this[_0x271330(0x477)],this[_0x271330(0x49b)],_0x4c0280,_0xf5d679,this[_0x271330(0x25d)],void 0x0):this[_0x271330(0x264)][_0x271330(0x28c)](_0x1a3a9c,this[_0x271330(0x477)],this[_0x271330(0x49b)],_0x4c0280,this['_handler']);_0x19660a[_0x271330(0x1a2)](),this[_0x271330(0x25d)][_0x271330(0x4d2)](this,_0x19660a);},_0x1155de);}[_0x16631f(0x55f)](){const _0x1c4e6f=_0x16631f;var _0x9865e1;const _0x501f33=this['_configService']['getConfig'](_0x132856);return(_0x9865e1=_0x501f33==null?void 0x0:_0x501f33[_0x1c4e6f(0x1eb)])!=null?_0x9865e1:0x7d0;}['resend'](){const _0x357df2=_0x16631f;throw new Error(_0x357df2(0x10c));}[_0x16631f(0x133)](){const _0x32eada=_0x16631f;this[_0x32eada(0x29d)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x32eada(0x29d)]=null);}['_onConflict'](_0x52ff9d){const _0x304c13=_0x16631f;return this['_clearScheduledTask'](),this[_0x304c13(0x264)][_0x304c13(0x28c)](_0x4bd0b3,this['unitID'],this[_0x304c13(0x49b)],null,this[_0x304c13(0x460)],this[_0x304c13(0x25d)],_0x52ff9d);}};_0x47565d=_0x129d6d([_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['RevisionService'])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x7,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x584)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0x9,_0x8a1a57['ICommandService']),_0x39a9b3(0xa,_0x8a1a57['IConfigService']),_0x39a9b3(0xb,_0x27cfd8['ITransformService']),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x1db)]),_0x39a9b3(0xd,_0x8a1a57[_0x16631f(0x540)])],_0x47565d);let _0x1a3a9c=class extends _0x2c451e{constructor(_0x1c0c2e,_0x1e1012,_0x32bcbd,_0x45b219,_0x1691f6,_0x3317c7,_0x42c093,_0x43a5ec,_0x2cef3c,_0xc12ebd,_0x39c608){const _0x1c8af0=_0x16631f;super(_0x1c0c2e,_0x1e1012,_0x32bcbd,[],_0x45b219,_0x43a5ec,_0x39c608,_0x3317c7,_0x42c093),_0x2a606e(this,_0x1c8af0(0x536),'awaiting'),_0x2a606e(this,_0x1c8af0(0x1d2),0x0),_0x2a606e(this,'_resendTimer'),_0x2a606e(this,_0x1c8af0(0x2c1)),(this[_0x1c8af0(0x264)]=_0x1691f6,this[_0x1c8af0(0x515)]=_0x2cef3c,this[_0x1c8af0(0x549)]=_0xc12ebd);}['appendMutation'](_0xb235f1){const _0x535f21=_0x16631f;this[_0x535f21(0x133)]();const _0x49c53c=this[_0x535f21(0x264)][_0x535f21(0x28c)](_0x27a14f,this[_0x535f21(0x477)],this[_0x535f21(0x49b)],this[_0x535f21(0x41c)],[_0xb235f1],this[_0x535f21(0x25d)],this[_0x535f21(0x48a)]);return _0x49c53c['_updateLocalCache'](),_0x49c53c;}['onRemoteChangeset'](_0x4647a5){const _0x234382=_0x16631f;if(this[_0x234382(0x42e)](_0x4647a5))return this[_0x234382(0x133)](),this['_injector'][_0x234382(0x28c)](_0x1dc8e0,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x4647a5],this[_0x234382(0x25d)]);try{const _0x579ced=this[_0x234382(0x549)][_0x234382(0x400)]([_0x4647a5],[this[_0x234382(0x41c)]],!0x1);if(_0x27cfd8[_0x234382(0x46b)](_0x579ced)){const {c1Prime:_0xbae77c,c2Prime:_0x344c71}=_0x579ced;this[_0x234382(0x4e7)](_0xbae77c[0x0]),_0x344c71[0x0][_0x234382(0x510)]=this[_0x234382(0x189)](),this['_clearScheduledTask']();const _0x23e704=this[_0x234382(0x264)][_0x234382(0x28c)](_0x1a3a9c,this[_0x234382(0x477)],this[_0x234382(0x49b)],_0x344c71[0x0],this[_0x234382(0x25d)]);return _0x23e704['_updateLocalCache'](),_0x23e704;}return this['_onConflict'](!0x1);}catch(_0x162b64){return this[_0x234382(0x515)]['error'](_0x162b64),this[_0x234382(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](_0x2376fd){const _0x45f22d=_0x16631f;this[_0x45f22d(0x133)]();const _0x2bc249=this[_0x45f22d(0x110)][_0x45f22d(0x531)](this[_0x45f22d(0x477)]);if(_0x2376fd[_0x45f22d(0x5a1)]<_0x2bc249-0x1)return this;if(this['_checkMissing'](_0x2376fd))return this[_0x45f22d(0x264)][_0x45f22d(0x28c)](_0x1dc8e0,this[_0x45f22d(0x477)],this[_0x45f22d(0x49b)],null,[],this[_0x45f22d(0x41c)],[],this[_0x45f22d(0x25d)]);this['_incrementRevisionNumber']();const _0x53e619=this[_0x45f22d(0x264)][_0x45f22d(0x28c)](_0x3bff71,this['unitID'],this['type'],this[_0x45f22d(0x25d)]);return _0x53e619[_0x45f22d(0x1a2)](),_0x53e619;}['onRemoteRej'](_0x3c6b4b){return this['_onConflict'](!!(_0x3c6b4b!=null&&_0x3c6b4b['isPermissionRej']));}['onRemoteRetry'](_0x9adc41){const _0x2aed91=_0x16631f;return this[_0x2aed91(0x1d2)]>_0x584d78?this[_0x2aed91(0xf8)]():(this[_0x2aed91(0x48a)]=_0x53ed26(this[_0x2aed91(0x1d2)],{'timeout':this[_0x2aed91(0x1d2)],'reqId':_0x9adc41['reqId']}),this[_0x2aed91(0x2c1)]=this[_0x2aed91(0x48a)][_0x2aed91(0x42c)](({reqId:_0x2959da,timeout:_0x340bba})=>{const _0x47305f=_0x2aed91;this[_0x47305f(0x25c)](_0x2959da,_0x340bba);}),this);}[_0x16631f(0xf8)](){const _0x3ae278=_0x16631f;return this['_clearScheduledTask'](),this[_0x3ae278(0x264)][_0x3ae278(0x28c)](_0x3055ba,this[_0x3ae278(0x477)],this[_0x3ae278(0x49b)],this[_0x3ae278(0x41c)],[],this['_handler']);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x16f)](){const _0xb5f666=_0x16631f;this[_0xb5f666(0x25d)][_0xb5f666(0x199)](this[_0xb5f666(0x41c)]);}['_onConflict'](_0x141911){const _0x180e0e=_0x16631f;return this['_clearScheduledTask'](),this[_0x180e0e(0x264)][_0x180e0e(0x28c)](_0x4bd0b3,this['unitID'],this['type'],this[_0x180e0e(0x41c)],[],this['_handler'],_0x141911);}['_resendWithTimeout'](_0x13a08c,_0x213158){const _0x5e460c=_0x16631f;var _0x30504d;_0x13a08c===((_0x30504d=this[_0x5e460c(0x41c)])==null?void 0x0:_0x30504d[_0x5e460c(0x449)])&&(this[_0x5e460c(0x16f)](),this['_resendTimeout']=_0x213158===0x0?0x3e8:_0x213158*0x2);}[_0x16631f(0x133)](){const _0x5d7d03=_0x16631f;var _0x46e9da;(_0x46e9da=this['_sender'])==null||_0x46e9da[_0x5d7d03(0x42a)](),this[_0x5d7d03(0x1d2)]=0x0;}};_0x1a3a9c=_0x129d6d([_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57['ILogService']),_0x39a9b3(0x9,_0x27cfd8[_0x16631f(0x1bd)]),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0x540)])],_0x1a3a9c);let _0x27a14f=class extends _0x2c451e{constructor(_0x8985ee,_0xb3d886,_0x75cf9f,_0x1ff421,_0x17d81a,_0x3ab3ad,_0x51a918,_0x707ffc,_0x25d159,_0x4ba0fb,_0x555aff,_0x592d5f,_0x372eaf){const _0x524d6c=_0x16631f;super(_0x8985ee,_0xb3d886,_0x75cf9f,_0x1ff421,_0x17d81a,_0x4ba0fb,_0x372eaf,_0x707ffc,_0x25d159),_0x2a606e(this,_0x524d6c(0x536),'awaiting_with_pending'),_0x2a606e(this,_0x524d6c(0x1d2),0x0),_0x2a606e(this,_0x524d6c(0x48a)),_0x2a606e(this,'_sender'),(this['_injector']=_0x51a918,this['_logService']=_0x555aff,this[_0x524d6c(0x549)]=_0x592d5f,_0x3ab3ad&&(this[_0x524d6c(0x48a)]=_0x3ab3ad,this['_sender']=this[_0x524d6c(0x48a)][_0x524d6c(0x42c)](({reqId:_0x1b156c,timeout:_0x393f06})=>{const _0x3dd37b=_0x524d6c;this[_0x3dd37b(0x25c)](_0x1b156c,_0x393f06);})));}[_0x16631f(0x337)](_0x140121){const _0x47b2e1=_0x16631f;return this[_0x47b2e1(0x460)][_0x47b2e1(0x203)](_0x140121),this;}[_0x16631f(0x2d8)](_0x117fec){const _0x1457ba=_0x16631f;if(this[_0x1457ba(0x42e)](_0x117fec))return this['_clearScheduledTask'](),this['_injector'][_0x1457ba(0x28c)](_0x1dc8e0,this[_0x1457ba(0x477)],this[_0x1457ba(0x49b)],this['_awaitingChangeset'],this[_0x1457ba(0x460)],null,[_0x117fec],this[_0x1457ba(0x25d)]);try{const _0x5a4b6e=this[_0x1457ba(0x549)]['transformChangesets']([_0x117fec],[this[_0x1457ba(0x41c)]],!0x1);if(_0x27cfd8[_0x1457ba(0x46b)](_0x5a4b6e)){const {c1Prime:_0x2736ef,c2Prime:_0x2ae518}=_0x5a4b6e,_0x327f38=this[_0x1457ba(0x549)]['transformMutationsWithChangeset'](_0x2736ef[0x0],this[_0x1457ba(0x460)]);if(_0x27cfd8[_0x1457ba(0x2f8)](_0x327f38)){const {c1Prime:_0x22cf71,m2Prime:_0x39893d}=_0x327f38;return this[_0x1457ba(0x4e7)](_0x22cf71),_0x2ae518[0x0][_0x1457ba(0x510)]=this[_0x1457ba(0x189)](),this['_clearScheduledTask'](),this[_0x1457ba(0x264)][_0x1457ba(0x28c)](_0x27a14f,this['unitID'],this['type'],_0x2ae518[0x0],_0x39893d,this[_0x1457ba(0x25d)],void 0x0);}throw _0x327f38['error'];}throw _0x5a4b6e['error'];}catch(_0xecdf99){return this['_logService'][_0x1457ba(0x1df)](_0xecdf99),this[_0x1457ba(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](_0x49f7e5){const _0x767d91=_0x16631f;if(this[_0x767d91(0x133)](),this[_0x767d91(0x42e)](_0x49f7e5))return this[_0x767d91(0x264)][_0x767d91(0x28c)](_0x1dc8e0,this[_0x767d91(0x477)],this['type'],null,this[_0x767d91(0x460)],this[_0x767d91(0x41c)],[],this[_0x767d91(0x25d)]);this['_incrementRevisionNumber']();const _0x3ddb62=this['_injector'][_0x767d91(0x28c)](_0x47565d,this[_0x767d91(0x477)],this[_0x767d91(0x49b)],this[_0x767d91(0x460)],this['_handler']);return _0x3ddb62[_0x767d91(0x586)](),_0x3ddb62['_updateLocalCache'](),_0x3ddb62;}[_0x16631f(0x374)](_0x13a7de){const _0x3c601a=_0x16631f;return this[_0x3c601a(0x5a5)](!!(_0x13a7de!=null&&_0x13a7de[_0x3c601a(0x429)]));}['onRemoteRetry'](_0xec9c7b){const _0x4a5ac6=_0x16631f;return this[_0x4a5ac6(0x1d2)]>_0x584d78?this[_0x4a5ac6(0xf8)]():(this[_0x4a5ac6(0x48a)]=_0x53ed26(this[_0x4a5ac6(0x1d2)],{'timeout':this[_0x4a5ac6(0x1d2)],'reqId':_0xec9c7b['reqId']}),this['_sender']=this[_0x4a5ac6(0x48a)]['subscribe'](({reqId:_0x56f941,timeout:_0x2e4841})=>{const _0x4d8651=_0x4a5ac6;this[_0x4d8651(0x25c)](_0x56f941,_0x2e4841);}),this);}[_0x16631f(0xf8)](){const _0x533620=_0x16631f;return this[_0x533620(0x133)](),this[_0x533620(0x264)][_0x533620(0x28c)](_0x3055ba,this[_0x533620(0x477)],this[_0x533620(0x49b)],this[_0x533620(0x41c)],this[_0x533620(0x460)],this[_0x533620(0x25d)]);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x16f)](){const _0x534437=_0x16631f;this[_0x534437(0x25d)][_0x534437(0x199)](this['_awaitingChangeset']);}[_0x16631f(0x5a5)](_0x207f5b){const _0xe18171=_0x16631f;return this['_clearScheduledTask'](),this[_0xe18171(0x264)][_0xe18171(0x28c)](_0x4bd0b3,this[_0xe18171(0x477)],this['type'],null,this[_0xe18171(0x460)],this[_0xe18171(0x25d)],_0x207f5b);}[_0x16631f(0x25c)](_0xc1997f,_0x5b780f){const _0x34da9b=_0x16631f;var _0x1bfb45;_0xc1997f===((_0x1bfb45=this[_0x34da9b(0x41c)])==null?void 0x0:_0x1bfb45['reqId'])&&(this[_0x34da9b(0x16f)](),this[_0x34da9b(0x1d2)]=_0x5b780f===0x0?0x3e8:_0x5b780f*0x2);}[_0x16631f(0x133)](){const _0x2dd4d4=_0x16631f;var _0x10fd81;(_0x10fd81=this[_0x2dd4d4(0x2c1)])==null||_0x10fd81[_0x2dd4d4(0x42a)](),this[_0x2dd4d4(0x1d2)]=0x0;}};_0x27a14f=_0x129d6d([_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0xb,_0x27cfd8[_0x16631f(0x1bd)]),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x540)])],_0x27a14f);let _0x4bd0b3=class extends _0x2c451e{constructor(_0x175c74,_0x310806,_0x5506ad,_0x529e94,_0x4eefbd,_0x197a98=!0x1,_0x280b36,_0x354bbc,_0x47a1cd,_0x39bfd9,_0x446596,_0x977d34,_0x1ecf50){const _0x4763a4=_0x16631f;super(_0x175c74,_0x310806,_0x5506ad,_0x529e94,_0x4eefbd,_0x354bbc,_0x47a1cd,_0x446596,_0x39bfd9),_0x2a606e(this,_0x4763a4(0x536),_0x4763a4(0x416)),(this[_0x4763a4(0x3eb)]=_0x197a98,this[_0x4763a4(0x4df)]=_0x280b36,this[_0x4763a4(0x4f0)]=_0x977d34,this['_notificationService']=_0x1ecf50,this[_0x4763a4(0x3b7)](),this[_0x4763a4(0x3db)](),this[_0x4763a4(0x4bf)]());}[_0x16631f(0x337)](){return this;}[_0x16631f(0x2d8)](){return this;}[_0x16631f(0x4b8)](){return this;}[_0x16631f(0x374)](){return this;}[_0x16631f(0x2f1)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x19d350=_0x16631f;throw new Error(_0x19d350(0x366));}[_0x16631f(0x3db)](){const _0x9e9965=_0x16631f;this[_0x9e9965(0x48e)][_0x9e9965(0x17f)](this[_0x9e9965(0x477)],this[_0x9e9965(0x49b)],null,[]);}['_showConflictNotification'](){const _0x1fc1c5=_0x16631f;this[_0x1fc1c5(0x3eb)]?this[_0x1fc1c5(0x137)]['show']({'title':this[_0x1fc1c5(0x4f0)]['t']('permission.title'),'content':this[_0x1fc1c5(0x4f0)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x1fc1c5(0x137)][_0x1fc1c5(0x354)]({'title':this[_0x1fc1c5(0x4f0)]['t'](_0x1fc1c5(0x22d)),'content':this[_0x1fc1c5(0x4f0)]['t'](_0x1fc1c5(0x1b8)),'type':_0x1fc1c5(0x1df),'duration':0x0});}[_0x16631f(0x4bf)](){const _0x1657ad=_0x16631f;this[_0x1657ad(0x4df)][_0x1657ad(0x1a0)](new _0x46f63a['WorkbookEditablePermission'](this[_0x1657ad(0x477)])['id'],!0x1);}};_0x4bd0b3=_0x129d6d([_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['IPermissionService'])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57['IUndoRedoService']),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0xb,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x39a9b3(0xc,_0x4b60ff['INotificationService'])],_0x4bd0b3);let _0x3055ba=class extends _0x2c451e{constructor(_0x4ab9d2,_0xed7d44,_0x28ba9c,_0x3aa689,_0x57314c,_0x27468f,_0x4a42aa,_0x2d0a0f,_0x49e00d,_0x2d0e8b){const _0x200966=_0x16631f;super(_0x4ab9d2,_0xed7d44,_0x28ba9c,_0x3aa689,_0x57314c,_0x49e00d,_0x2d0e8b,_0x4a42aa,_0x2d0a0f),_0x2a606e(this,_0x200966(0x536),_0x200966(0x21f)),this['_injector']=_0x27468f;}['appendMutation'](_0x4f8f6d){const _0x460573=_0x16631f;return this['_pendingMutations'][_0x460573(0x203)](_0x4f8f6d),this[_0x460573(0x1a2)](),this;}[_0x16631f(0x2d8)](_0x546987){const _0x440b92=_0x16631f;throw new Error(_0x440b92(0x52a));}['onRemoteAck'](){const _0x2813a3=_0x16631f;throw new Error(_0x2813a3(0x183));}[_0x16631f(0x374)](){const _0x2cb96a=_0x16631f;throw new Error(_0x2cb96a(0x4a6));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){return this;}[_0x16631f(0x3de)](){const _0x3ec789=_0x16631f,{_injector:_0x5b6f45,_pendingMutations:_0x20af24,_awaitingChangeset:_0x1f9c7d,unitID:_0x57d018,_handler:_0x2d0727,type:_0x550130}=this,_0x4c8f2d=_0x3e84aa(_0x5b6f45,_0x57d018,_0x550130,_0x1f9c7d,_0x20af24,_0x2d0727);return _0x4c8f2d instanceof _0x47565d?_0x4c8f2d[_0x3ec789(0x586)]():(_0x4c8f2d instanceof _0x27a14f||_0x4c8f2d instanceof _0x1a3a9c)&&_0x4c8f2d['resend'](),_0x4c8f2d;}['resend'](){const _0x1e6d14=_0x16631f;throw new Error(_0x1e6d14(0x286));}};_0x3055ba=_0x129d6d([_0x39a9b3(0x5,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x540)])],_0x3055ba);let _0x1dc8e0=class extends _0x2c451e{constructor(_0x20d794,_0x43823f,_0x3c4563,_0xa7c08c,_0x4a66eb,_0x1e695c,_0x1114c6,_0x4c0405,_0x5de185,_0x590cc1,_0x506db9,_0x3d3296,_0x501134,_0x233776){const _0x502bb4=_0x16631f;super(_0x20d794,_0x43823f,_0x3c4563,_0xa7c08c,_0x1114c6,_0x3d3296,_0x501134,_0x5de185,_0x590cc1),_0x2a606e(this,_0x502bb4(0x536),_0x502bb4(0x51f)),(this['_acknowledgedAwaitingChangeset']=_0x4a66eb,this['_queuedRemoteChangesets']=_0x1e695c,this[_0x502bb4(0x264)]=_0x4c0405,this[_0x502bb4(0x515)]=_0x506db9,this[_0x502bb4(0x549)]=_0x233776);}['onMissedChangesetFetched'](_0x44cdc6){const _0x3c611e=_0x16631f;try{const _0x5027a5=[..._0x44cdc6,...this['_queuedRemoteChangesets']],_0x4bab4a=[this[_0x3c611e(0x41c)]||this[_0x3c611e(0x2c5)]][_0x3c611e(0x53f)](_0x3441de=>!!_0x3441de);let _0x326da4,_0x1cc82a;if(_0x4bab4a[_0x3c611e(0x272)]){const _0x2f86d4=this[_0x3c611e(0x549)][_0x3c611e(0x400)](_0x5027a5,_0x4bab4a,!0x1);if(!_0x27cfd8['isTransformChangesetsSuccess'](_0x2f86d4))throw _0x2f86d4['error'];_0x326da4=_0x2f86d4['c1Prime'],_0x1cc82a=_0x2f86d4[_0x3c611e(0x245)];}else _0x326da4=_0x5027a5,_0x1cc82a=[];let _0x41c589=this[_0x3c611e(0x460)];_0x326da4[_0x3c611e(0x236)](_0x2dab58=>{const _0x16f47c=_0x3c611e;let _0x22f69e;if(_0x41c589['length']){const _0x29508e=this[_0x16f47c(0x549)][_0x16f47c(0x1b3)](_0x2dab58,_0x41c589);if(!_0x27cfd8[_0x16f47c(0x2f8)](_0x29508e))throw _0x29508e['error'];_0x22f69e=_0x29508e[_0x16f47c(0x4aa)],_0x41c589=_0x29508e[_0x16f47c(0x43e)];}else _0x22f69e=_0x2dab58;this[_0x16f47c(0x4e7)](_0x22f69e);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3c611e(0x265)](),this[_0x3c611e(0x41c)]&&_0x1cc82a[_0x3c611e(0x272)]&&(_0x1cc82a[0x0][_0x3c611e(0x510)]=this['_getCurrentRevision']());let _0x41d943;if(this[_0x3c611e(0x41c)]&&_0x41c589[_0x3c611e(0x272)]!==0x0)_0x41d943=this[_0x3c611e(0x264)][_0x3c611e(0x28c)](_0x27a14f,this['unitID'],this[_0x3c611e(0x49b)],_0x1cc82a[0x0],_0x41c589,this[_0x3c611e(0x25d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x41c589[_0x3c611e(0x272)]===0x0)_0x1cc82a[0x0][_0x3c611e(0x510)]=this[_0x3c611e(0x189)](),_0x41d943=this['_injector'][_0x3c611e(0x28c)](_0x1a3a9c,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],_0x1cc82a[0x0],this[_0x3c611e(0x25d)]);else{if(_0x41c589[_0x3c611e(0x272)]!==0x0){const _0x3f36e7=this[_0x3c611e(0x264)][_0x3c611e(0x28c)](_0x47565d,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],_0x41c589,this[_0x3c611e(0x25d)]);_0x3f36e7[_0x3c611e(0x586)](),_0x41d943=_0x3f36e7;}else _0x41d943=this['_injector'][_0x3c611e(0x28c)](_0x3bff71,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],this[_0x3c611e(0x25d)]);}}return _0x41d943[_0x3c611e(0x1a2)](),_0x41d943;}catch(_0x3baea3){return this[_0x3c611e(0x515)][_0x3c611e(0x1df)]('[FetchMissState]',_0x3c611e(0x1f8),_0x3baea3),this[_0x3c611e(0x264)]['createInstance'](_0x4bd0b3,this[_0x3c611e(0x477)],this['type'],this[_0x3c611e(0x41c)],this[_0x3c611e(0x460)],this[_0x3c611e(0x25d)],!0x1);}}[_0x16631f(0x16f)](){const _0x162a02=_0x16631f;throw new Error(_0x162a02(0x5aa));}['appendMutation'](_0x5b82ab){const _0x332f5b=_0x16631f;return this[_0x332f5b(0x460)][_0x332f5b(0x203)](_0x5b82ab),this;}[_0x16631f(0x2d8)](_0x4e2baa){const _0x5d30aa=_0x16631f;return this[_0x5d30aa(0x390)][_0x5d30aa(0x203)](_0x4e2baa),this;}['onRemoteAck'](_0x7458ba){const _0x57e0f5=_0x16631f;if(this[_0x57e0f5(0x41c)])return this[_0x57e0f5(0x2c5)]=this[_0x57e0f5(0x41c)],this[_0x57e0f5(0x41c)]=null,this;throw new Error(_0x57e0f5(0x1dc));}[_0x16631f(0x374)](_0x585ba5){const _0x3dc740=_0x16631f;return this[_0x3dc740(0x5a5)](!!(_0x585ba5!=null&&_0x585ba5['isPermissionRej']));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){const _0x42340d=_0x16631f;return this[_0x42340d(0x264)][_0x42340d(0x28c)](_0x3055ba,this['unitID'],this[_0x42340d(0x49b)],this['_awaitingChangeset'],this[_0x42340d(0x460)],this['_handler']);}[_0x16631f(0x3de)](){return this;}['_onConflict'](_0x286782){const _0x5366c2=_0x16631f;return this['_injector']['createInstance'](_0x4bd0b3,this[_0x5366c2(0x477)],this['type'],this[_0x5366c2(0x41c)],this[_0x5366c2(0x460)],this[_0x5366c2(0x25d)],_0x286782);}};_0x1dc8e0=_0x129d6d([_0x39a9b3(0x7,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x8,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x9,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0xb,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x540)]),_0x39a9b3(0xd,_0x27cfd8[_0x16631f(0x1bd)])],_0x1dc8e0);function _0x3e84aa(_0x214bec,_0x1c4b64,_0x1828d6,_0x172877,_0x1789af,_0x3528b4){const _0x33136f=_0x16631f;return _0x172877&&_0x1789af[_0x33136f(0x272)]?_0x214bec[_0x33136f(0x28c)](_0x27a14f,_0x1c4b64,_0x1828d6,_0x172877,_0x1789af,_0x3528b4,void 0x0):_0x172877?_0x214bec[_0x33136f(0x28c)](_0x1a3a9c,_0x1c4b64,_0x1828d6,_0x172877,_0x3528b4):_0x1789af[_0x33136f(0x272)]?_0x214bec[_0x33136f(0x28c)](_0x47565d,_0x1c4b64,_0x1828d6,_0x1789af,_0x3528b4):_0x214bec[_0x33136f(0x28c)](_0x3bff71,_0x1c4b64,_0x1828d6,_0x3528b4);}var _0x1482a1=Object[_0x16631f(0x162)],_0x34b655=Object[_0x16631f(0x57e)],_0x2a18df=(_0x533bf8,_0x58e96d,_0x5078ce,_0x2a746b)=>{const _0x5c2efd=_0x16631f;for(var _0x13812b=_0x2a746b>0x1?void 0x0:_0x2a746b?_0x34b655(_0x58e96d,_0x5078ce):_0x58e96d,_0x2ef9d2=_0x533bf8[_0x5c2efd(0x272)]-0x1,_0x1fec43;_0x2ef9d2>=0x0;_0x2ef9d2--)(_0x1fec43=_0x533bf8[_0x2ef9d2])&&(_0x13812b=(_0x2a746b?_0x1fec43(_0x58e96d,_0x5078ce,_0x13812b):_0x1fec43(_0x13812b))||_0x13812b);return _0x2a746b&&_0x13812b&&_0x1482a1(_0x58e96d,_0x5078ce,_0x13812b),_0x13812b;},_0x27489b=(_0x4a1247,_0x11f662)=>(_0x20dca1,_0x586be7)=>_0x11f662(_0x20dca1,_0x586be7,_0x4a1247);_0x2728bd[_0x16631f(0x581)]=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x1dd621,_0x332da7,_0xf51c09,_0x530845,_0x2dd9c7,_0x3918cd,_0x574837,_0x4560e2,_0x4ec70b,_0x48d722,_0x5061e4,_0x4fa644,_0x39ceb7){const _0x13b44d=_0x16631f;super(),_0x2a606e(this,_0x13b44d(0x539),new _0x933215[(_0x13b44d(0x1fd))](null)),_0x2a606e(this,'state$',this['_state$'][_0x13b44d(0x525)]()),_0x2a606e(this,_0x13b44d(0x59d)),_0x2a606e(this,_0x13b44d(0x303),!0x1),_0x2a606e(this,_0x13b44d(0x358),''),_0x2a606e(this,_0x13b44d(0x343),0x0),_0x2a606e(this,_0x13b44d(0x48f),this['state$'][_0x13b44d(0x4be)](_0x933215[_0x13b44d(0x2ca)](_0x5ede81=>_0x5ede81?_0x5ede81[_0x13b44d(0x536)]:_0x5d61dc[_0x13b44d(0x106)]),_0x933215[_0x13b44d(0x502)](0x1))),_0x2a606e(this,_0x13b44d(0x488),!0x1),_0x2a606e(this,_0x13b44d(0x158),[]),(this['unitID']=_0x1dd621,this[_0x13b44d(0x320)]=_0x332da7,this[_0x13b44d(0x357)]=_0xf51c09,this[_0x13b44d(0x264)]=_0x530845,this[_0x13b44d(0x48e)]=_0x2dd9c7,this[_0x13b44d(0x120)]=_0x3918cd,this[_0x13b44d(0x4f0)]=_0x574837,this[_0x13b44d(0x110)]=_0x4560e2,this[_0x13b44d(0x515)]=_0x4ec70b,this[_0x13b44d(0x475)]=_0x48d722,this[_0x13b44d(0x38b)]=_0x5061e4,this[_0x13b44d(0x4df)]=_0x4fa644,this['_singleActiveUnitService']=_0x39ceb7);}get[_0x16631f(0x520)](){const _0x3205a1=_0x16631f;return this[_0x3205a1(0x59d)];}async[_0x16631f(0x299)](){const _0x51f82e=_0x16631f;if(this[_0x51f82e(0x520)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x51f82e(0x36a)]();}[_0x16631f(0x1e3)](){const _0x16205f=_0x16631f;return this[_0x16205f(0x303)]=!0x0,_0x8a1a57[_0x16205f(0x438)](()=>{const _0xc33d57=_0x16205f;this[_0xc33d57(0x303)]=!0x1,this[_0xc33d57(0x336)]();});}['_updateState'](_0x5688da){this['_state']=_0x5688da,this['_state$']['next'](_0x5688da);}async[_0x16631f(0x36a)](){const _0x4c04b3=_0x16631f;var _0x1f2add;this[_0x4c04b3(0x574)](await this[_0x4c04b3(0x5b4)]()),this[_0x4c04b3(0x30a)]&&((_0x1f2add=this['_singleActiveUnitService'])==null||_0x1f2add[_0x4c04b3(0x174)](this[_0x4c04b3(0x477)]),this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x30a)][_0x4c04b3(0x159)](this[_0x4c04b3(0x477)])['subscribe'](_0x95e676=>{const _0x194abe=_0x4c04b3;this[_0x194abe(0x515)]['debug'](_0x194abe(0x4c1),_0x194abe(0x3df),_0x95e676),_0x95e676===_0x25ae3c[_0x194abe(0x268)]?(this[_0x194abe(0x38b)][_0x194abe(0x354)]({'content':this[_0x194abe(0x4f0)]['t'](_0x194abe(0x440)),'type':_0x731a74[_0x194abe(0x2a9)][_0x194abe(0x53b)]}),this[_0x194abe(0x4df)][_0x194abe(0x1a0)](new _0x46f63a[(_0x194abe(0x4b3))](this[_0x194abe(0x477)])['id'],!0x1),this[_0x194abe(0x4df)][_0x194abe(0x500)](!0x1)):(this[_0x194abe(0x4df)][_0x194abe(0x1a0)](new _0x46f63a['WorkbookEditablePermission'](this[_0x194abe(0x477)])['id'],!0x0),this[_0x194abe(0x4df)][_0x194abe(0x500)](!0x0));})));let _0x203a85=!0x1;return this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x320)]['sessionStatus$'][_0x4c04b3(0x42c)](_0x470e75=>{const _0x1f15e8=_0x4c04b3;_0x470e75===_0x53eb3f['ONLINE']?this['_toggleOnline'](_0x203a85):_0x470e75===_0x53eb3f[_0x1f15e8(0x106)]&&(_0x203a85=!0x0,this[_0x1f15e8(0x176)]());})),this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x320)][_0x4c04b3(0x197)]['subscribe'](_0x2b5536=>{const _0x48542c=_0x4c04b3;try{switch(_0x2b5536['eventID']){case _0x27cfd8[_0x48542c(0x3e5)]['NEW_CHANGESETS']:{this[_0x48542c(0x2c4)](_0x27cfd8['parseProtocolChangeset'](_0x2b5536[_0x48542c(0x140)]));break;}case _0x27cfd8[_0x48542c(0x3e5)][_0x48542c(0x289)]:{this['_onRemoteACK'](_0x2b5536['data']);break;}case _0x27cfd8[_0x48542c(0x3e5)]['CHANGESET_REJ']:{this[_0x48542c(0x1d1)]();break;}case _0x27cfd8[_0x48542c(0x3e5)][_0x48542c(0x105)]:{this[_0x48542c(0xff)](_0x2b5536['data']);break;}case _0x27cfd8[_0x48542c(0x3e5)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x48542c(0x37e)](_0x2b5536[_0x48542c(0x140)][_0x48542c(0x593)][_0x48542c(0x2ca)](_0x53adef=>_0x27cfd8[_0x48542c(0x532)](_0x53adef)));break;}case _0x27cfd8['CollaborationEvent'][_0x48542c(0x12f)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x4a3c20){throw console[_0x48542c(0x1df)]('Error\x20on\x20receiving\x20event',_0x4a3c20),_0x4a3c20;}})),this[_0x4c04b3(0x59d)];}[_0x16631f(0x262)](){const _0x455265=_0x16631f;this[_0x455265(0x488)]=!0x1;}[_0x16631f(0xef)](){const _0x3df44c=_0x16631f;if(this[_0x3df44c(0x488)])throw new Error(_0x3df44c(0x32c));this[_0x3df44c(0x488)]=!0x0;}['_onLocalMutation'](_0x423afd){const _0x3d3d50=_0x16631f;this['_lockTransition'](),this['_updateState'](this[_0x3d3d50(0x59d)]['appendMutation'](_0x423afd)),this[_0x3d3d50(0x262)]();}[_0x16631f(0x2c4)](_0x453f29){const _0x4ca195=_0x16631f;if(!(_0x453f29[_0x4ca195(0x5a1)]<=this[_0x4ca195(0x110)][_0x4ca195(0x531)](this[_0x4ca195(0x477)]))){if(this[_0x4ca195(0x303)]){this[_0x4ca195(0x158)][_0x4ca195(0x203)](_0x453f29);return;}this[_0x4ca195(0x130)](_0x453f29);}}[_0x16631f(0x336)](){const _0x3f15b6=_0x16631f;this['_remoteChangesetQueue'][_0x3f15b6(0x236)](_0x3c4e0e=>this[_0x3f15b6(0x130)](_0x3c4e0e)),this[_0x3f15b6(0x158)]=[];}['_applyRemoteChangeset'](_0x2c5a57){const _0x544424=_0x16631f,_0x4bb17f=this[_0x544424(0x120)]['interceptor'][_0x544424(0x52e)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2c5a57[_0x544424(0x1ce)],null)||_0x2c5a57['mutations'],_0xfd5fb9={..._0x2c5a57,'mutations':_0x4bb17f};this[_0x544424(0xef)](),this['_updateState'](this[_0x544424(0x59d)][_0x544424(0x2d8)](_0xfd5fb9)),this[_0x544424(0x262)]();}[_0x16631f(0x26d)](_0x117bb8){const _0x173e29=_0x16631f;this['_lockTransition'](),this['_updateState'](this[_0x173e29(0x59d)][_0x173e29(0x4b8)](_0x117bb8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x51c43a){const _0xd1ab14=_0x16631f;this[_0xd1ab14(0xef)](),this[_0xd1ab14(0x574)](this[_0xd1ab14(0x59d)][_0xd1ab14(0x374)](_0x51c43a)),this[_0xd1ab14(0x262)]();}[_0x16631f(0xff)](_0x3d97fe){const _0x4fe04b=_0x16631f;this[_0x4fe04b(0xef)](),this[_0x4fe04b(0x574)](this[_0x4fe04b(0x59d)][_0x4fe04b(0x2f1)](_0x3d97fe)),this['_unlockTransition']();}[_0x16631f(0x37e)](_0x1631bc){const _0x20143b=_0x16631f;if(!(this['_state']instanceof _0x1dc8e0))throw new TypeError(_0x20143b(0x2db));const _0x3f8c21=_0x1631bc['map'](_0x14cc54=>{const _0x50d4a5=_0x20143b,_0x27b72e=this[_0x50d4a5(0x120)]['interceptor'][_0x50d4a5(0x52e)](this[_0x50d4a5(0x120)]['interceptor'][_0x50d4a5(0x344)]()[_0x50d4a5(0x4e6)])(_0x14cc54[_0x50d4a5(0x1ce)],null)||_0x14cc54[_0x50d4a5(0x1ce)];return{..._0x14cc54,'mutations':_0x27b72e};});this[_0x20143b(0xef)](),this[_0x20143b(0x574)](this['_state'][_0x20143b(0x3b1)](_0x3f8c21)),this[_0x20143b(0x262)]();}[_0x16631f(0x176)](){const _0x443207=_0x16631f;this[_0x443207(0xef)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x443207(0x262)]();}[_0x16631f(0x346)](_0x1807e0=!0x1){const _0x59efc0=_0x16631f;this['_lockTransition'](),this[_0x59efc0(0x574)](this['_state'][_0x59efc0(0x3de)]()),this['_unlockTransition']();const _0x1c8166=this[_0x59efc0(0x59d)];_0x1807e0&&_0x1c8166 instanceof _0x3bff71&&(this[_0x59efc0(0xef)](),this['_updateState'](_0x1c8166['fetchMiss']()),this[_0x59efc0(0x262)]());}async[_0x16631f(0x5b4)](){return new Promise(_0x17636c=>{const _0x1955e0=_0x586f;this[_0x1955e0(0x320)][_0x1955e0(0x482)]['pipe'](_0x933215['take'](0x1))[_0x1955e0(0x42c)](async _0xd492ea=>{const _0xb80755=_0x1955e0;_0x17636c(await this[_0xb80755(0x304)](_0xd492ea===_0x53eb3f['ONLINE']));});});}[_0x16631f(0x318)](){const _0x2fa8be=_0x16631f,_0x1bd981=this[_0x2fa8be(0x477)];return{'onStateChange':(_0x34b519,_0x2e606d)=>{const _0x58e385=_0x2fa8be;if(_0x34b519!==this[_0x58e385(0x59d)])throw new Error(_0x58e385(0x46f)+_0x34b519[_0x58e385(0x536)]+_0x58e385(0x39b)+_0x2e606d['status']+_0x58e385(0x393)+this[_0x58e385(0x59d)]['status']);this[_0x58e385(0x574)](_0x2e606d);},'onSendChangeset':_0x481bf3=>{const _0x2890a8=_0x2fa8be;_0x481bf3[_0x2890a8(0x152)]||(_0x481bf3[_0x2890a8(0x152)]=this[_0x2890a8(0x358)],_0x481bf3[_0x2890a8(0x449)]=++this[_0x2890a8(0x343)]);const _0x3b64fc={'eventID':_0x27cfd8[_0x2890a8(0x3e5)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x481bf3[_0x2890a8(0x477)],'unitType':this[_0x2890a8(0x357)],'changeset':_0x481bf3,'memberID':this[_0x2890a8(0x320)][_0x2890a8(0x291)]()}};this[_0x2890a8(0x320)][_0x2890a8(0x2ba)](_0x3b64fc,this[_0x2890a8(0x477)]);},'onMissingChangesets':({from:_0x429846,to:_0x19818f})=>{const _0x53def7=_0x2fa8be;this['_logService'][_0x53def7(0x22a)](_0x53def7(0x4c1),_0x53def7(0x2ff)+_0x429846+'\x20to\x20'+_0x19818f);const _0x20ac72={'eventID':_0x27cfd8[_0x53def7(0x3e5)]['FETCH_MISSING'],'data':{'unitID':_0x1bd981,'unitType':this['_type'],'from':_0x429846,'to':_0x19818f}};this[_0x53def7(0x320)][_0x53def7(0x2ba)](_0x20ac72,this[_0x53def7(0x477)]);}};}async[_0x16631f(0x304)](_0xf6832){const _0x4d7a45=_0x16631f;var _0x2cef3e,_0x42ae32;const _0x177463=await this[_0x4d7a45(0x48e)][_0x4d7a45(0x3ae)](this[_0x4d7a45(0x477)]),_0x2e4ab2=(_0x2cef3e=_0x177463==null?void 0x0:_0x177463[_0x4d7a45(0x1ce)])!=null?_0x2cef3e:[],_0x3c5887=(_0x42ae32=_0x177463==null?void 0x0:_0x177463[_0x4d7a45(0x58b)])!=null?_0x42ae32:null,_0x360bf5=!!(_0x3c5887!=null&&_0x3c5887[_0x4d7a45(0x152)])&&!!(_0x3c5887!=null&&_0x3c5887[_0x4d7a45(0x449)]);this[_0x4d7a45(0x358)]=_0x360bf5?_0x3c5887['sid']:_0x384178(),this['_changesetReqId']=_0x360bf5?_0x3c5887[_0x4d7a45(0x449)]:0x0;const _0x8e2453=this[_0x4d7a45(0x477)];try{this[_0x4d7a45(0x2dd)](_0x3c5887,_0x2e4ab2);}catch(_0x258bf8){this['_logService']['error'](_0x258bf8);}const _0x2fb376=this[_0x4d7a45(0x318)]();if(_0xf6832){const _0x59e292=_0x3e84aa(this[_0x4d7a45(0x264)],_0x8e2453,this[_0x4d7a45(0x357)],_0x3c5887,_0x2e4ab2,_0x2fb376);return _0x59e292 instanceof _0x47565d?_0x59e292['_schedule']():(_0x59e292 instanceof _0x27a14f||_0x59e292 instanceof _0x1a3a9c)&&_0x59e292[_0x4d7a45(0x16f)](),_0x59e292;}return this[_0x4d7a45(0x264)]['createInstance'](_0x3055ba,_0x8e2453,this[_0x4d7a45(0x357)],_0x3c5887,_0x2e4ab2,_0x2fb376);}[_0x16631f(0x2dd)](_0x33f075,_0x16e6f6){const _0x2e642c=_0x16631f;var _0x4f1b76,_0x25ed59;const _0x66267b=this['_compressMutationService']['interceptor'][_0x2e642c(0x52e)](this[_0x2e642c(0x120)][_0x2e642c(0x15f)]['getInterceptPoints']()[_0x2e642c(0x4e6)]);(_0x4f1b76=_0x66267b((_0x33f075==null?void 0x0:_0x33f075[_0x2e642c(0x1ce)])||[],null))==null||_0x4f1b76[_0x2e642c(0x236)](_0x554b1a=>this[_0x2e642c(0x475)]['executeCommand'](_0x554b1a['id'],_0x554b1a[_0x2e642c(0x238)])),(_0x25ed59=_0x66267b(_0x16e6f6||[],null))==null||_0x25ed59[_0x2e642c(0x236)](_0x529fda=>this[_0x2e642c(0x475)][_0x2e642c(0x564)](_0x529fda['id'],_0x529fda[_0x2e642c(0x238)]));}},_0x2728bd[_0x16631f(0x581)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['LocalCacheService'])),_0x27489b(0x5,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x23b)])),_0x27489b(0x6,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57['Inject'](_0x27cfd8['RevisionService'])),_0x27489b(0x8,_0x8a1a57['ILogService']),_0x27489b(0x9,_0x8a1a57['ICommandService']),_0x27489b(0xa,_0x4b60ff['IMessageService']),_0x27489b(0xb,_0x8a1a57[_0x16631f(0x395)]),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x1c1)](_0x50fb0f))],_0x2728bd[_0x16631f(0x581)]),_0x2728bd[_0x16631f(0x1d5)]=class extends _0x2728bd[_0x16631f(0x581)]{constructor(_0x3e50d4,_0x390beb,_0x1f2e16,_0xcd94af,_0x478964,_0x4f6d21,_0x2d407e,_0x563411,_0x3bd461,_0x54d88f,_0x4c98b6,_0x3997c6,_0x2b21cd,_0x30e6ab,_0x52d8ba,_0x17b9d7,_0x2413ea,_0x538344){const _0x339c4a=_0x16631f;super(_0x3e50d4,_0x1f2e16,_0x390beb,_0xcd94af,_0x478964,_0x4f6d21,_0x2d407e,_0x563411,_0x30e6ab,_0x52d8ba,_0x17b9d7,_0x2413ea,_0x538344),this[_0x339c4a(0x477)]=_0x3e50d4,this[_0x339c4a(0x49b)]=_0x390beb,this[_0x339c4a(0x305)]=_0x3bd461,this['_docTransformIMECacheService']=_0x54d88f,this[_0x339c4a(0x501)]=_0x4c98b6,this['_docTransformSelectionsService']=_0x3997c6,this[_0x339c4a(0x117)]=_0x2b21cd;}[_0x16631f(0x318)](){const _0x4fec6b=_0x16631f,_0x3d1122=super['_createHandler']();return _0x3d1122[_0x4fec6b(0x1a3)]=_0xef9fd=>this[_0x4fec6b(0x316)][_0x4fec6b(0x561)](_0xef9fd),_0x3d1122['onTransformState']=_0x49247a=>this[_0x4fec6b(0x501)][_0x4fec6b(0x21a)](_0x49247a),_0x3d1122[_0x4fec6b(0x58f)]=_0x4140d5=>this['_docTransformSelectionsService']['transformSelections'](_0x4140d5),_0x3d1122[_0x4fec6b(0x1f5)]=_0xd410ca=>this[_0x4fec6b(0x117)]['syncEditingCollabCursor'](_0xd410ca),_0x3d1122[_0x4fec6b(0x3f9)]=_0x546311=>this['_docTransformIMECacheService'][_0x4fec6b(0x246)](_0x546311),_0x3d1122[_0x4fec6b(0x44d)]=_0x4f1564=>this[_0x4fec6b(0x501)][_0x4fec6b(0x246)](_0x4f1564),_0x3d1122;}async['_init'](){const _0x22e3ae=_0x16631f,_0x4dee3c=await super[_0x22e3ae(0x36a)]();return this[_0x22e3ae(0x305)]['docStateChange$'][_0x22e3ae(0x4be)](_0x933215[_0x22e3ae(0x3d9)](this[_0x22e3ae(0x42d)]))[_0x22e3ae(0x42c)](_0x14514a=>{const _0x1b9f72=_0x22e3ae;if(_0x14514a==null)return;const {unitId:_0x670dcc,redoState:_0x1f02bd,commandId:_0x4bcd9f}=_0x14514a;if(_0x670dcc!==this[_0x1b9f72(0x477)])return;const _0x13df32={'id':_0x4bcd9f,'type':_0x8a1a57['CommandType'][_0x1b9f72(0x2a7)],'params':{'unitId':_0x670dcc,'actions':_0x1f02bd[_0x1b9f72(0x112)],'textRanges':null}};this[_0x1b9f72(0x46e)](_0x13df32);}),_0x4dee3c;}},_0x2728bd[_0x16631f(0x1d5)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x2a1)])),_0x27489b(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['CompressMutationService'])),_0x27489b(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x27489b(0x8,_0x8a1a57[_0x16631f(0x537)](_0x473dea[_0x16631f(0x425)])),_0x27489b(0x9,_0x8a1a57[_0x16631f(0x537)](_0xe93339)),_0x27489b(0xa,_0x8a1a57[_0x16631f(0x537)](_0x21b12b)),_0x27489b(0xb,_0x8a1a57[_0x16631f(0x537)](_0x3110cc)),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x537)](_0xc8790a)),_0x27489b(0xd,_0x8a1a57[_0x16631f(0xfc)]),_0x27489b(0xe,_0x8a1a57['ICommandService']),_0x27489b(0xf,_0x4b60ff['IMessageService']),_0x27489b(0x10,_0x8a1a57['IPermissionService']),_0x27489b(0x11,_0x8a1a57[_0x16631f(0x1c1)](_0x50fb0f))],_0x2728bd['DocCollaborationEntity']),_0x2728bd[_0x16631f(0x579)]=class extends _0x2728bd[_0x16631f(0x581)]{constructor(_0x4ef325,_0x2af06c,_0x1d4a84,_0x22ee6d,_0x460f35,_0x37129a,_0x33d0bf,_0x5c3b52,_0x669437,_0x2c16f5,_0x5f4dba,_0x4c3ad3,_0x45ba47,_0x310ee4){const _0x111f28=_0x16631f;super(_0x4ef325,_0x1d4a84,_0x2af06c,_0x22ee6d,_0x460f35,_0x37129a,_0x33d0bf,_0x5c3b52,_0x2c16f5,_0x5f4dba,_0x4c3ad3,_0x45ba47,_0x310ee4),this[_0x111f28(0x477)]=_0x4ef325,this[_0x111f28(0x49b)]=_0x2af06c,this[_0x111f28(0x456)]=_0x669437;}[_0x16631f(0x318)](){const _0xa8a1c=_0x16631f,_0x5679df=super[_0xa8a1c(0x318)]();return _0x5679df['onTransformSelections']=_0x1c9565=>this[_0xa8a1c(0x456)][_0xa8a1c(0x4c2)](_0x1c9565),_0x5679df;}async[_0x16631f(0x36a)](){const _0x40337e=_0x16631f,_0x5623ca=await super['_init']();return this[_0x40337e(0x14a)](this[_0x40337e(0x475)][_0x40337e(0x521)]((_0x454844,_0x27008b)=>{const _0x422b10=_0x40337e;if(_0x454844[_0x422b10(0x49b)]!==_0x8a1a57[_0x422b10(0x39c)][_0x422b10(0x2a7)]||_0x27008b!=null&&_0x27008b[_0x422b10(0x280)]||_0x27008b!=null&&_0x27008b[_0x422b10(0x5a9)])return;const _0x261c42=_0x454844[_0x422b10(0x238)];if((_0x261c42==null?void 0x0:_0x261c42['unitId'])!==this[_0x422b10(0x477)])return;const _0x13ef3f=_0x454844,_0x50430b=this[_0x422b10(0x120)][_0x422b10(0x15f)][_0x422b10(0x52e)](this['_compressMutationService'][_0x422b10(0x15f)][_0x422b10(0x344)]()[_0x422b10(0x451)])([_0x13ef3f],null)||[_0x13ef3f];this[_0x422b10(0x46e)](_0x50430b[0x0]);})),_0x5623ca;}},_0x2728bd[_0x16631f(0x579)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x27489b(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['CompressMutationService'])),_0x27489b(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x27489b(0x8,_0x8a1a57[_0x16631f(0x537)](_0x1a79c5)),_0x27489b(0x9,_0x8a1a57[_0x16631f(0xfc)]),_0x27489b(0xa,_0x8a1a57[_0x16631f(0x350)]),_0x27489b(0xb,_0x4b60ff[_0x16631f(0x136)]),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x395)]),_0x27489b(0xd,_0x8a1a57['Optional'](_0x50fb0f))],_0x2728bd[_0x16631f(0x579)]);var _0x2006c5=Object[_0x16631f(0x162)],_0x1ea5c9=Object['getOwnPropertyDescriptor'],_0x2e35bf=(_0x4500bb,_0x35fd26,_0x6fe856,_0x25f871)=>{const _0x934f6d=_0x16631f;for(var _0x5b4524=_0x25f871>0x1?void 0x0:_0x25f871?_0x1ea5c9(_0x35fd26,_0x6fe856):_0x35fd26,_0x37d8cc=_0x4500bb[_0x934f6d(0x272)]-0x1,_0x22ad86;_0x37d8cc>=0x0;_0x37d8cc--)(_0x22ad86=_0x4500bb[_0x37d8cc])&&(_0x5b4524=(_0x25f871?_0x22ad86(_0x35fd26,_0x6fe856,_0x5b4524):_0x22ad86(_0x5b4524))||_0x5b4524);return _0x25f871&&_0x5b4524&&_0x2006c5(_0x35fd26,_0x6fe856,_0x5b4524),_0x5b4524;},_0x18ee26=(_0x4d64f0,_0x289d2f)=>(_0x261990,_0x258e6f)=>_0x289d2f(_0x261990,_0x258e6f,_0x4d64f0);_0x2728bd[_0x16631f(0x433)]=class extends _0x8a1a57['RxDisposable']{constructor(_0x737463,_0x1534ab,_0x3547d7){const _0x539ec2=_0x16631f;super(),_0x2a606e(this,'_entities',new Map()),_0x2a606e(this,_0x539ec2(0x45a),new _0x933215[(_0x539ec2(0x31e))]()),(this[_0x539ec2(0x264)]=_0x737463,this[_0x539ec2(0x41e)]=_0x1534ab,this[_0x539ec2(0x3e7)]=_0x3547d7,this[_0x539ec2(0x36a)]());}[_0x16631f(0x4a7)](){const _0x5212f3=_0x16631f;super[_0x5212f3(0x4a7)](),this[_0x5212f3(0x1e8)][_0x5212f3(0x236)](_0x1f8420=>_0x1f8420[_0x5212f3(0x4a7)]()),this[_0x5212f3(0x1e8)][_0x5212f3(0x4b6)]();}['getCollabEntity'](_0x161efb){const _0xed0ac2=_0x16631f;var _0x44c5c2;return(_0x44c5c2=this[_0xed0ac2(0x1e8)][_0xed0ac2(0x241)](_0x161efb))!=null?_0x44c5c2:null;}['getCollabEntity$'](_0xee6650){const _0x50c480=_0x16631f,_0x3542e0=this[_0x50c480(0x47b)](_0xee6650);return _0x3542e0?_0x933215['of'](_0x3542e0):this[_0x50c480(0x45a)]['pipe'](_0x478e49[_0x50c480(0x53f)](_0x1a4681=>_0x1a4681[_0x50c480(0x477)]===_0xee6650));}['_init'](){const _0x54fc5c=_0x16631f;this[_0x54fc5c(0x3e7)][_0x54fc5c(0x124)](_0x8a1a57['UniverInstanceType'][_0x54fc5c(0x32e)])[_0x54fc5c(0x4be)](_0x933215[_0x54fc5c(0x3d9)](this[_0x54fc5c(0x42d)]),_0x478e49['delay'](0x10))[_0x54fc5c(0x42c)](async _0x439d64=>{const _0x230184=_0x54fc5c,_0x24225d=_0x439d64[_0x230184(0x4ed)](),_0x22a4c6=await this[_0x230184(0x3fa)](_0x24225d,_0x4a6b81['UNIVER_SHEET']);this[_0x230184(0x1e8)][_0x230184(0x41f)](_0x24225d,_0x22a4c6);}),this[_0x54fc5c(0x3e7)]['getTypeOfUnitAdded$'](_0x8a1a57[_0x54fc5c(0x3e6)]['UNIVER_DOC'])[_0x54fc5c(0x4be)](_0x933215[_0x54fc5c(0x3d9)](this[_0x54fc5c(0x42d)]),_0x478e49[_0x54fc5c(0x10b)](0x10))[_0x54fc5c(0x4be)](_0x478e49[_0x54fc5c(0x53f)](_0x1ba080=>!_0x1ba080['getUnitId']()[_0x54fc5c(0x282)]('__')))[_0x54fc5c(0x42c)](async _0x4d398c=>{const _0x1e0224=_0x54fc5c,_0x29b8e4=_0x4d398c[_0x1e0224(0x4ed)](),_0x30db60=await this['_startCollaboration'](_0x29b8e4,_0x4a6b81[_0x1e0224(0x327)]);this['_entities']['set'](_0x29b8e4,_0x30db60);}),_0x933215[_0x54fc5c(0x116)](this[_0x54fc5c(0x3e7)][_0x54fc5c(0x3d7)](_0x8a1a57[_0x54fc5c(0x3e6)][_0x54fc5c(0x32e)]),this[_0x54fc5c(0x3e7)][_0x54fc5c(0x3d7)](_0x8a1a57[_0x54fc5c(0x3e6)][_0x54fc5c(0x327)]))[_0x54fc5c(0x4be)](_0x933215['takeUntil'](this[_0x54fc5c(0x42d)]))['subscribe'](_0xe29fcb=>{const _0x352fe2=_0x54fc5c,_0x706a8=_0xe29fcb['getUnitId'](),_0x550357=this[_0x352fe2(0x1e8)][_0x352fe2(0x241)](_0x706a8);_0x550357&&(_0x550357[_0x352fe2(0x4a7)](),this[_0x352fe2(0x1e8)][_0x352fe2(0x2eb)](_0x706a8));});}async[_0x16631f(0x3fa)](_0x3617b3,_0x18ee53){const _0x22b902=_0x16631f,_0x5a7b71=await this[_0x22b902(0x41e)][_0x22b902(0x5ab)](_0x3617b3),_0x256329=this[_0x22b902(0x264)][_0x22b902(0x28c)](this['_getCtorByUniverType'](_0x18ee53),_0x3617b3,_0x18ee53,_0x5a7b71);return await _0x256329['init'](),this[_0x22b902(0x45a)][_0x22b902(0x1dd)](_0x256329),_0x256329;}[_0x16631f(0x108)](_0x3c5313){const _0x4a6507=_0x16631f;switch(_0x3c5313){case _0x4a6b81[_0x4a6507(0x327)]:return _0x2728bd[_0x4a6507(0x1d5)];case _0x4a6b81['UNIVER_SHEET']:return _0x2728bd[_0x4a6507(0x579)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3c5313);}}},_0x2728bd[_0x16631f(0x433)]=_0x2e35bf([_0x18ee26(0x0,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x18ee26(0x1,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['CollaborationSessionService'])),_0x18ee26(0x2,_0x8a1a57[_0x16631f(0x1db)])],_0x2728bd[_0x16631f(0x433)]);const _0x396dba=[_0x16631f(0x369),_0x16631f(0x4ab),_0x16631f(0x204),_0x16631f(0x35b),_0x16631f(0x572),_0x16631f(0x3c7)];class _0x4216fe extends _0x8a1a57[_0x16631f(0x490)]{constructor(){const _0x478aa6=_0x16631f;super(...arguments),_0x2a606e(this,_0x478aa6(0x334),new Map()),_0x2a606e(this,'_colorIndex',0x0);}[_0x16631f(0x302)](_0x333260){const _0x1db27d=_0x16631f;if(this['_assignedColors']['has'](_0x333260))return this[_0x1db27d(0x334)][_0x1db27d(0x241)](_0x333260);const _0x14fc4e=_0x396dba[this[_0x1db27d(0x448)]];return this[_0x1db27d(0x448)]=(this[_0x1db27d(0x448)]+0x1)%_0x396dba[_0x1db27d(0x272)],this['_assignedColors'][_0x1db27d(0x41f)](_0x333260,_0x14fc4e),_0x14fc4e;}}var _0x16ed30=Object['defineProperty'],_0x2232ac=Object[_0x16631f(0x57e)],_0x3d0dfc=(_0x5ca77,_0x18b10a,_0x398ee8,_0xb159c9)=>{for(var _0x4d4f55=_0xb159c9>0x1?void 0x0:_0xb159c9?_0x2232ac(_0x18b10a,_0x398ee8):_0x18b10a,_0x4bd4f6=_0x5ca77['length']-0x1,_0x1e816b;_0x4bd4f6>=0x0;_0x4bd4f6--)(_0x1e816b=_0x5ca77[_0x4bd4f6])&&(_0x4d4f55=(_0xb159c9?_0x1e816b(_0x18b10a,_0x398ee8,_0x4d4f55):_0x1e816b(_0x4d4f55))||_0x4d4f55);return _0xb159c9&&_0x4d4f55&&_0x16ed30(_0x18b10a,_0x398ee8,_0x4d4f55),_0x4d4f55;},_0xfda198=(_0x4ee329,_0x4b75e7)=>(_0x267ff0,_0x39fe8d)=>_0x4b75e7(_0x267ff0,_0x39fe8d,_0x4ee329);const _0x10c5cd=0x12c,_0x5adead=0x64;let _0x3e5c16=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x3c76c7,_0x35f34b,_0x1f48d9,_0x949b35,_0x196f1e,_0x261e43,_0x3b06f4,_0x341872,_0x37acbf){const _0x17505=_0x16631f;super(),_0x2a606e(this,_0x17505(0x17a),!0x1),_0x2a606e(this,'_init',!0x1),_0x2a606e(this,_0x17505(0x30f),new _0x933215['BehaviorSubject'](new Map())),_0x2a606e(this,_0x17505(0x146),this['_cursorInfo$']['asObservable']()),_0x2a606e(this,'_roomMembers$',new _0x933215[(_0x17505(0x1fd))]([])),_0x2a606e(this,'roomMembers$',this[_0x17505(0x409)][_0x17505(0x4be)](_0x933215[_0x17505(0x34e)](_0x10c5cd))),_0x2a606e(this,_0x17505(0x33a),_0x8a1a57[_0x17505(0x4fa)](_0x39f315=>{const _0x29d973=_0x17505,_0xae0991={'eventID':_0x27cfd8[_0x29d973(0x3e5)][_0x29d973(0x339)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x29d973(0x291)](),'selection':_0x35203a(_0x39f315)}};this[_0x29d973(0x1c8)][_0x29d973(0x2ba)](_0xae0991,this[_0x29d973(0x477)]);},_0x5adead)),(this['unitID']=_0x3c76c7,this[_0x17505(0x1c8)]=_0x35f34b,this['_injector']=_0x1f48d9,this[_0x17505(0x4d1)]=_0x949b35,this[_0x17505(0x154)]=_0x196f1e,this[_0x17505(0x278)]=_0x261e43,this[_0x17505(0x549)]=_0x3b06f4,this[_0x17505(0x3e7)]=_0x341872,this[_0x17505(0x475)]=_0x37acbf);}get[_0x16631f(0x468)](){const _0x514d21=_0x16631f;return this[_0x514d21(0x30f)]['getValue']();}get[_0x16631f(0x545)](){const _0x425467=_0x16631f;return this[_0x425467(0x409)][_0x425467(0x2f3)]();}[_0x16631f(0x4a7)](){const _0x1a9877=_0x16631f;super[_0x1a9877(0x4a7)](),this['_cursorInfo$'][_0x1a9877(0x1dd)](new Map()),this[_0x1a9877(0x30f)][_0x1a9877(0x495)](),this[_0x1a9877(0x409)][_0x1a9877(0x1dd)]([]),this['_roomMembers$'][_0x1a9877(0x495)]();}[_0x16631f(0x299)](){const _0x474f5a=_0x16631f;this[_0x474f5a(0x36a)]||(this[_0x474f5a(0x36a)]=!0x0,this[_0x474f5a(0x1c8)][_0x474f5a(0x482)][_0x474f5a(0x4be)](_0x933215['takeUntil'](this[_0x474f5a(0x42d)]))['subscribe'](_0x443e8c=>{const _0x8d9a16=_0x474f5a;_0x443e8c===_0x53eb3f['ONLINE']?this[_0x8d9a16(0x346)]():this[_0x8d9a16(0x176)]();}),this['_session'][_0x474f5a(0x197)][_0x474f5a(0x4be)](_0x933215[_0x474f5a(0x3d9)](this[_0x474f5a(0x42d)]))[_0x474f5a(0x42c)](_0x1ed82d=>{const _0x5c8a54=_0x474f5a,_0x42e22e=_0x1ed82d[_0x5c8a54(0x3dd)];_0x42e22e===_0x27cfd8['CollaborationEvent'][_0x5c8a54(0x339)]&&this[_0x5c8a54(0x172)](_0x1ed82d),_0x42e22e===_0x27cfd8[_0x5c8a54(0x3e5)][_0x5c8a54(0x214)]&&this[_0x5c8a54(0x2f4)](_0x1ed82d);}),this[_0x474f5a(0x14a)](this[_0x474f5a(0x475)][_0x474f5a(0x521)](_0x692576=>{const _0xb68e12=_0x474f5a,_0x62e334=_0x692576[_0xb68e12(0x238)];_0x62e334!=null&&this['_online']&&_0x692576['id']===_0x1d9e38[_0xb68e12(0x5b0)]['id']&&_0x62e334['unitId']===this[_0xb68e12(0x477)]&&_0x62e334[_0xb68e12(0x258)]===!0x1&&_0x62e334[_0xb68e12(0x308)][_0xb68e12(0x272)]>0x0&&this['_updateLocalCursor'](_0x62e334[_0xb68e12(0x308)]);})),this[_0x474f5a(0x278)]['collabCursorState$'][_0x474f5a(0x4be)](_0x933215[_0x474f5a(0x3d9)](this['dispose$']))[_0x474f5a(0x42c)](_0x12fe95=>{const _0x2f3117=_0x474f5a;if((_0x12fe95==null?void 0x0:_0x12fe95[_0x2f3117(0x477)])!==this[_0x2f3117(0x477)])return;const _0x5da0b3={'eventID':_0x27cfd8[_0x2f3117(0x3e5)][_0x2f3117(0x339)],'data':_0x12fe95};this[_0x2f3117(0x172)](_0x5da0b3);}),this[_0x474f5a(0x14a)](this[_0x474f5a(0x475)]['onCommandExecuted'](_0x4d4426=>{const _0x3b19aa=_0x474f5a;if(_0x4d4426[_0x3b19aa(0x238)]==null)return;const _0x51b6ff=_0x4d4426[_0x3b19aa(0x238)];if(_0x4d4426['id']!==_0x1d9e38['RichTextEditingMutation']['id']||_0x51b6ff[_0x3b19aa(0x151)]!==this[_0x3b19aa(0x477)])return;const _0x2a5fa8={'id':_0x3b19aa(0x1f7),'params':_0x51b6ff},_0x437223=this[_0x3b19aa(0x468)];for(const [_0x44bce0,_0x38d9b3]of _0x437223){const _0x52785c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x38d9b3['ranges']}},_0x1ae9f0=this[_0x3b19aa(0x549)][_0x3b19aa(0x56a)](_0x2a5fa8,_0x52785c,!0x1);if(_0x27cfd8['isTransformMutationFailure'](_0x1ae9f0))throw _0x1ae9f0['error'];_0x437223['set'](_0x44bce0,{..._0x38d9b3,'ranges':_0x1ae9f0[_0x3b19aa(0x43e)][_0x3b19aa(0x238)]['textRanges']});}queueMicrotask(()=>{const _0x348c36=_0x3b19aa;this[_0x348c36(0x30f)][_0x348c36(0x1dd)](_0x437223);});})));}[_0x16631f(0x172)](_0x71e46d){const _0x22f921=_0x16631f;var _0x3b8c0e,_0x143a5a;const {memberID:_0x3e14e6,selection:_0x128138}=_0x71e46d['data'],_0x5e7a98=_0x40a456(_0x128138),_0x2319e4=(_0x143a5a=(_0x3b8c0e=this['_memberService'][_0x22f921(0x373)](this[_0x22f921(0x477)],_0x3e14e6))==null?void 0x0:_0x3b8c0e[_0x22f921(0x3be)])!=null?_0x143a5a:_0x22f921(0x14c),_0x402ef7={'color':this[_0x22f921(0x4d1)]['assignAColorForMemberID'](_0x3e14e6),'name':_0x2319e4,'ranges':_0x5e7a98},_0x104cb7=this[_0x22f921(0x468)];_0x104cb7[_0x22f921(0x41f)](_0x3e14e6,_0x402ef7),this[_0x22f921(0x30f)][_0x22f921(0x1dd)](_0x104cb7);}[_0x16631f(0x2f4)](_0x2e1cec){const _0x478776=_0x16631f,{memberID:_0x536253}=_0x2e1cec[_0x478776(0x140)],_0x54ecf4=this[_0x478776(0x468)];_0x54ecf4[_0x478776(0x2eb)](_0x536253),this[_0x478776(0x30f)][_0x478776(0x1dd)](_0x54ecf4);}[_0x16631f(0x346)](){const _0x964d47=_0x16631f;var _0x334483;if(this['_online']=!0x0,((_0x334483=this[_0x964d47(0x3e7)]['getFocusedUnit']())==null?void 0x0:_0x334483[_0x964d47(0x4ed)]())!==this['unitID'])return;const _0x176e56=this['_injector'][_0x964d47(0x241)](_0x1d9e38['DocSelectionManagerService'])[_0x964d47(0x494)]();Array['isArray'](_0x176e56)&&_0x176e56[_0x964d47(0x272)]>0x0&&this[_0x964d47(0x33a)](_0x176e56);}['_toggleOffline'](){const _0x5f3756=_0x16631f;this[_0x5f3756(0x17a)]=!0x1;}};_0x3e5c16=_0x3d0dfc([_0xfda198(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0xfda198(0x3,_0x8a1a57[_0x16631f(0x537)](_0x4216fe)),_0xfda198(0x4,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x584)])),_0xfda198(0x5,_0x8a1a57[_0x16631f(0x537)](_0xc8790a)),_0xfda198(0x6,_0x27cfd8['ITransformService']),_0xfda198(0x7,_0x8a1a57[_0x16631f(0x1db)]),_0xfda198(0x8,_0x8a1a57['ICommandService'])],_0x3e5c16);var _0x32bf55=Object[_0x16631f(0x162)],_0x417f38=Object[_0x16631f(0x57e)],_0x4d089b=(_0x5ed7d4,_0x2a223d,_0x3676b9,_0x985c88)=>{const _0xba570e=_0x16631f;for(var _0x19f70d=_0x985c88>0x1?void 0x0:_0x985c88?_0x417f38(_0x2a223d,_0x3676b9):_0x2a223d,_0x539550=_0x5ed7d4[_0xba570e(0x272)]-0x1,_0x1370bd;_0x539550>=0x0;_0x539550--)(_0x1370bd=_0x5ed7d4[_0x539550])&&(_0x19f70d=(_0x985c88?_0x1370bd(_0x2a223d,_0x3676b9,_0x19f70d):_0x1370bd(_0x19f70d))||_0x19f70d);return _0x985c88&&_0x19f70d&&_0x32bf55(_0x2a223d,_0x3676b9,_0x19f70d),_0x19f70d;},_0x596c18=(_0x221bfc,_0x58b8b8)=>(_0x45b88a,_0x291aa6)=>_0x58b8b8(_0x45b88a,_0x291aa6,_0x221bfc);const _0x4a0010=0x12c,_0x54564a=0x64,_0x66474c=()=>{let _0x3d9a70=[],_0x407852=!0x1;return _0x72f2b2=>{const _0xeef5fc=_0x586f;_0x3d9a70[_0xeef5fc(0x203)](_0x72f2b2),_0x407852||(_0x407852=!0x0,setTimeout(()=>{const _0x1d0346=_0xeef5fc;_0x3d9a70[_0x1d0346(0x236)](_0x1dc9a0=>_0x1dc9a0()),_0x3d9a70=[],_0x407852=!0x1;}));};};let _0x2addec=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x41806a,_0x1dcef4,_0x259d97,_0x2bd2db,_0x286636,_0x1ecfa4,_0x179bf1,_0x2e6cd5){const _0x3d9c22=_0x16631f;super(),_0x2a606e(this,_0x3d9c22(0x17a),!0x1),_0x2a606e(this,_0x3d9c22(0x36a),!0x1),_0x2a606e(this,_0x3d9c22(0x30f),new _0x933215['BehaviorSubject'](new Map())),_0x2a606e(this,_0x3d9c22(0x146),this[_0x3d9c22(0x30f)][_0x3d9c22(0x525)]()),_0x2a606e(this,_0x3d9c22(0x409),new _0x933215['BehaviorSubject']([])),_0x2a606e(this,_0x3d9c22(0x31d),this['_roomMembers$'][_0x3d9c22(0x4be)](_0x933215[_0x3d9c22(0x34e)](_0x4a0010))),_0x2a606e(this,_0x3d9c22(0x33a),_0x8a1a57[_0x3d9c22(0x4fa)]((_0x1682dd,_0x3608df)=>{const _0x5ee9c4=_0x3d9c22,_0x59edfb={'eventID':_0x27cfd8[_0x5ee9c4(0x3e5)][_0x5ee9c4(0x339)],'data':{'unitID':this[_0x5ee9c4(0x477)],'memberID':this['_session'][_0x5ee9c4(0x291)](),'selection':_0x2f3a98[_0x5ee9c4(0x51c)](_0x1682dd,_0x3608df[_0x5ee9c4(0x513)])}};this['_session'][_0x5ee9c4(0x2ba)](_0x59edfb,this['unitID']);},_0x54564a)),(this['unitID']=_0x41806a,this[_0x3d9c22(0x1c8)]=_0x1dcef4,this[_0x3d9c22(0x264)]=_0x259d97,this['_colorAssignService']=_0x2bd2db,this[_0x3d9c22(0x154)]=_0x286636,this['_univerInstanceService']=_0x1ecfa4,this[_0x3d9c22(0x475)]=_0x179bf1,this[_0x3d9c22(0x38c)]=_0x2e6cd5);}get[_0x16631f(0x468)](){const _0x662ad3=_0x16631f;return this[_0x662ad3(0x30f)][_0x662ad3(0x2f3)]();}get[_0x16631f(0x545)](){const _0xaa6b2=_0x16631f;return this[_0xaa6b2(0x409)][_0xaa6b2(0x2f3)]();}[_0x16631f(0x4a7)](){const _0x12ae6e=_0x16631f;super[_0x12ae6e(0x4a7)](),this[_0x12ae6e(0x30f)][_0x12ae6e(0x1dd)](new Map()),this[_0x12ae6e(0x30f)]['complete'](),this[_0x12ae6e(0x409)][_0x12ae6e(0x1dd)]([]),this[_0x12ae6e(0x409)][_0x12ae6e(0x495)]();}[_0x16631f(0x299)](){const _0x48fef4=_0x16631f;this[_0x48fef4(0x36a)]||(this['_init']=!0x0,this['_session'][_0x48fef4(0x482)][_0x48fef4(0x4be)](_0x933215[_0x48fef4(0x3d9)](this['dispose$']))[_0x48fef4(0x42c)](_0x15c0f1=>{const _0x551f09=_0x48fef4;_0x15c0f1===_0x53eb3f[_0x551f09(0x173)]?this[_0x551f09(0x346)]():this['_toggleOffline']();}),this['_session'][_0x48fef4(0x197)]['pipe'](_0x933215[_0x48fef4(0x3d9)](this[_0x48fef4(0x42d)]))[_0x48fef4(0x42c)](_0x35fd0a=>{const _0x1701e3=_0x48fef4,_0x1d7aad=_0x35fd0a[_0x1701e3(0x3dd)];_0x1d7aad===_0x27cfd8[_0x1701e3(0x3e5)][_0x1701e3(0x339)]&&this[_0x1701e3(0x172)](_0x35fd0a),_0x1d7aad===_0x27cfd8[_0x1701e3(0x3e5)]['USERS_LEAVE']&&this[_0x1701e3(0x2f4)](_0x35fd0a);}),this[_0x48fef4(0x2e2)](),this[_0x48fef4(0x14a)](this['_commandService'][_0x48fef4(0x521)](_0x6c06d3=>{const _0x1b3233=_0x48fef4;if(this[_0x1b3233(0x17a)]&&_0x6c06d3['id']===_0x46f63a[_0x1b3233(0x51a)]['id']&&_0x6c06d3[_0x1b3233(0x238)]['unitId']===this[_0x1b3233(0x477)]){const _0x2277c1=_0x6c06d3['params'];this[_0x1b3233(0x33a)](_0x2277c1[_0x1b3233(0x4b1)],_0x2277c1[_0x1b3233(0x3f7)][0x0]);}})));}[_0x16631f(0x172)](_0x588126){const _0x3a4d72=_0x16631f;var _0x5d73c1,_0x25b71e;const {memberID:_0x110fcd,selection:_0x44cb81}=_0x588126[_0x3a4d72(0x140)],{sheetName:_0xb389b4,range:_0x577dde}=_0x2f3a98[_0x3a4d72(0x54d)](_0x44cb81),_0x5bba20={'name':(_0x25b71e=(_0x5d73c1=this[_0x3a4d72(0x154)][_0x3a4d72(0x373)](this['unitID'],_0x110fcd))==null?void 0x0:_0x5d73c1[_0x3a4d72(0x3be)])!=null?_0x25b71e:_0x3a4d72(0x14c),'range':this[_0x3a4d72(0x387)](_0xb389b4,_0x577dde),'sheetID':_0xb389b4,'color':this['_colorAssignService'][_0x3a4d72(0x302)](_0x110fcd),'selection':_0x44cb81},_0x2383bb=this[_0x3a4d72(0x468)];_0x2383bb['set'](_0x110fcd,_0x5bba20),this[_0x3a4d72(0x30f)][_0x3a4d72(0x1dd)](_0x2383bb);}[_0x16631f(0x2f4)](_0x46fcea){const _0x24c408=_0x16631f,{memberID:_0x3dcfb3}=_0x46fcea[_0x24c408(0x140)],_0x4f9a77=this['cursorInfo'];_0x4f9a77[_0x24c408(0x2eb)](_0x3dcfb3),this[_0x24c408(0x30f)][_0x24c408(0x1dd)](_0x4f9a77);}['_getMergeRange'](_0x3eec53,_0x4a10e2){const _0x4f2237=_0x16631f;var _0x2eb455,_0x14d8bd;const _0x173dca=(_0x14d8bd=(_0x2eb455=this[_0x4f2237(0x3e7)][_0x4f2237(0xf2)](this[_0x4f2237(0x477)]))==null?void 0x0:_0x2eb455[_0x4f2237(0x177)](_0x3eec53))==null?void 0x0:_0x14d8bd[_0x4f2237(0x330)]();return(_0x173dca==null?void 0x0:_0x173dca[_0x4f2237(0x2a3)](_0x359fc9=>_0x8a1a57['Rectangle']['contains'](_0x359fc9,_0x4a10e2)))||_0x4a10e2;}[_0x16631f(0x2e2)](){const _0xf53376=_0x16631f,_0x421929=new _0x8a1a57[(_0xf53376(0x4ae))](),_0x98775c=_0x66474c(),_0x5aae4e=()=>{const _0x334473=_0xf53376;_0x421929['dispose']();const _0x362e9e=(_0x3813bc,_0x511556,_0x183599,_0x191174)=>{const _0x140122=_0x586f;let _0x5cd251=[];switch(_0x3813bc['id']){case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x21d)]:{_0x5cd251=_0x46f63a['handleDeleteRangeMoveLeft'](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x34c)]:{_0x5cd251=_0x46f63a[_0x140122(0x3b0)](_0x3813bc,_0x191174);break;}case _0x46f63a['EffectRefRangId'][_0x140122(0x4fe)]:{_0x5cd251=_0x46f63a[_0x140122(0x455)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x1aa)]:{_0x5cd251=_0x46f63a[_0x140122(0x17c)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x478)]:{_0x5cd251=_0x46f63a['handleInsertRangeMoveRight'](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x35d)]:{_0x5cd251=_0x46f63a[_0x140122(0x3ea)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x2ea)]:{_0x5cd251=_0x46f63a[_0x140122(0x43f)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x3c8)]:{_0x5cd251=_0x46f63a[_0x140122(0x234)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x22c)]:{_0x5cd251=_0x46f63a[_0x140122(0x4af)](_0x3813bc,_0x191174);break;}}const _0x634780=_0x46f63a[_0x140122(0x349)](_0x5cd251,_0x191174),_0x766f1e=this['cursorInfo'][_0x140122(0x241)](_0x511556);if(_0x766f1e&&_0x634780){const _0x3517a6={..._0x766f1e,'range':_0x634780};this[_0x140122(0x468)][_0x140122(0x41f)](_0x511556,_0x3517a6),_0x98775c(()=>{const _0xfd9298=_0x140122,_0x186d37=this[_0xfd9298(0x38c)][_0xfd9298(0x165)](_0x634780,_0x1a0438=>(_0x186d37['dispose'](),_0x362e9e(_0x1a0438,_0x511556,_0x183599,_0x634780)));_0x421929[_0xfd9298(0x1cb)](_0x186d37);});}return{'redos':[],'undos':[]};};this[_0x334473(0x468)][_0x334473(0x236)]((_0x2507a5,_0x49840d)=>{const _0xdaa186=_0x334473,{range:_0x4a9cfe,sheetID:_0x443fed}=_0x2507a5,_0x330b2b=this[_0xdaa186(0x38c)][_0xdaa186(0x165)](_0x4a9cfe,_0x3f7987=>(_0x330b2b['dispose'](),_0x362e9e(_0x3f7987,_0x49840d,_0x443fed,_0x4a9cfe)));_0x421929[_0xdaa186(0x1cb)](_0x330b2b);});};this['disposeWithMe'](_0x8a1a57[_0xf53376(0x438)](this[_0xf53376(0x30f)][_0xf53376(0x42c)](()=>{_0x5aae4e();})));}['_toggleOnline'](){const _0x4441d3=_0x16631f;var _0x49538c,_0x33350d;if(this[_0x4441d3(0x17a)]=!0x0,((_0x49538c=this[_0x4441d3(0x3e7)]['getFocusedUnit']())==null?void 0x0:_0x49538c[_0x4441d3(0x4ed)]())!==this['unitID'])return;const _0x1ba33f=(_0x33350d=this[_0x4441d3(0x264)][_0x4441d3(0x241)](_0x46f63a[_0x4441d3(0x1ff)])[_0x4441d3(0x2b2)]())==null?void 0x0:_0x33350d[0x0],_0x47dd0d=this[_0x4441d3(0x3e7)]['getCurrentUnitForType'](_0x8a1a57['UniverInstanceType'][_0x4441d3(0x32e)])[_0x4441d3(0x23a)]();_0x1ba33f&&_0x47dd0d&&this['_updateLocalCursor'](_0x47dd0d[_0x4441d3(0x3fb)](),_0x1ba33f);}[_0x16631f(0x176)](){const _0x4e30df=_0x16631f;this[_0x4e30df(0x17a)]=!0x1;}};_0x2addec=_0x4d089b([_0x596c18(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x596c18(0x3,_0x8a1a57[_0x16631f(0x537)](_0x4216fe)),_0x596c18(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x584)])),_0x596c18(0x5,_0x8a1a57['IUniverInstanceService']),_0x596c18(0x6,_0x8a1a57[_0x16631f(0x350)]),_0x596c18(0x7,_0x8a1a57[_0x16631f(0x537)](_0x46f63a['RefRangeService']))],_0x2addec);var _0x7b1e38=Object[_0x16631f(0x162)],_0x179714=Object['getOwnPropertyDescriptor'],_0x348225=(_0x3b5edb,_0x2cccb5,_0x42f580,_0x280547)=>{for(var _0x23fc23=_0x280547>0x1?void 0x0:_0x280547?_0x179714(_0x2cccb5,_0x42f580):_0x2cccb5,_0xd406f8=_0x3b5edb['length']-0x1,_0x54bc04;_0xd406f8>=0x0;_0xd406f8--)(_0x54bc04=_0x3b5edb[_0xd406f8])&&(_0x23fc23=(_0x280547?_0x54bc04(_0x2cccb5,_0x42f580,_0x23fc23):_0x54bc04(_0x23fc23))||_0x23fc23);return _0x280547&&_0x23fc23&&_0x7b1e38(_0x2cccb5,_0x42f580,_0x23fc23),_0x23fc23;},_0x13bb34=(_0x5b427a,_0xb44787)=>(_0x5b4e99,_0x496596)=>_0xb44787(_0x5b4e99,_0x496596,_0x5b427a);let _0xafbc5d=class extends _0x8a1a57['RxDisposable']{constructor(_0x577227,_0x689280,_0x3a8ef7){const _0x42140d=_0x16631f;super(),_0x2a606e(this,_0x42140d(0x1e8),new Map()),_0x2a606e(this,'_entityInit$',new _0x933215[(_0x42140d(0x31e))]()),(this[_0x42140d(0x3e7)]=_0x577227,this[_0x42140d(0x264)]=_0x689280,this['_collabSessionService']=_0x3a8ef7,this['_init']());}['dispose'](){const _0x4be08e=_0x16631f;super[_0x4be08e(0x4a7)](),this[_0x4be08e(0x45a)][_0x4be08e(0x495)](),this[_0x4be08e(0x1e8)][_0x4be08e(0x236)](_0x46a1f0=>_0x46a1f0[_0x4be08e(0x4a7)]());}[_0x16631f(0x190)](_0xfb57f2){const _0x2ec30e=_0x16631f;return this[_0x2ec30e(0x1e8)][_0x2ec30e(0x295)](_0xfb57f2)?this['_entities'][_0x2ec30e(0x241)](_0xfb57f2)[_0x2ec30e(0x146)]:this[_0x2ec30e(0x45a)]['pipe'](_0x933215[_0x2ec30e(0x53f)](_0x25bdb0=>_0x25bdb0[_0x2ec30e(0x477)]===_0xfb57f2),_0x933215['switchMap'](_0x132338=>_0x132338[_0x2ec30e(0x146)]));}[_0x16631f(0x36a)](){const _0x1d2bf5=_0x16631f;this['_univerInstanceService'][_0x1d2bf5(0x124)](_0x8a1a57[_0x1d2bf5(0x3e6)]['UNIVER_SHEET'])['pipe'](_0x933215['takeUntil'](this['dispose$']))[_0x1d2bf5(0x42c)](async _0x54c0a2=>{const _0x28be3b=_0x1d2bf5,_0x3e79f6=_0x54c0a2[_0x28be3b(0x4ed)](),_0x5ea96a=await this[_0x28be3b(0x253)](_0x3e79f6);this['_entityInit$'][_0x28be3b(0x1dd)](_0x5ea96a),this[_0x28be3b(0x1e8)][_0x28be3b(0x41f)](_0x3e79f6,_0x5ea96a);}),this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x124)](_0x8a1a57[_0x1d2bf5(0x3e6)][_0x1d2bf5(0x327)])['pipe'](_0x933215['takeUntil'](this[_0x1d2bf5(0x42d)]))['pipe'](_0x933215[_0x1d2bf5(0x53f)](_0x5c0fbb=>!_0x5c0fbb[_0x1d2bf5(0x4ed)]()[_0x1d2bf5(0x282)]('__')))[_0x1d2bf5(0x42c)](async _0x5b01d1=>{const _0x5836ae=_0x1d2bf5,_0x394d96=_0x5b01d1[_0x5836ae(0x4ed)](),_0xaee2c4=await this['_startDocCollabCursor'](_0x394d96);this[_0x5836ae(0x45a)][_0x5836ae(0x1dd)](_0xaee2c4),this['_entities']['set'](_0x394d96,_0xaee2c4);}),_0x933215[_0x1d2bf5(0x116)](this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x3d7)](_0x8a1a57['UniverInstanceType'][_0x1d2bf5(0x327)]),this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x3d7)](_0x8a1a57['UniverInstanceType'][_0x1d2bf5(0x32e)]))['pipe'](_0x933215['takeUntil'](this[_0x1d2bf5(0x42d)]))['subscribe'](_0x155f7b=>{const _0x259c33=_0x1d2bf5,_0x1fae6a=_0x155f7b['getUnitId'](),_0x28b221=this[_0x259c33(0x1e8)]['get'](_0x1fae6a);_0x28b221&&(_0x28b221[_0x259c33(0x4a7)](),this[_0x259c33(0x1e8)]['delete'](_0x1fae6a));});}async[_0x16631f(0x253)](_0x3b5724){const _0x483753=_0x16631f,_0xcfe14e=await this[_0x483753(0x41e)][_0x483753(0x5ab)](_0x3b5724),_0x3cc599=this[_0x483753(0x264)][_0x483753(0x28c)](_0x2addec,_0x3b5724,_0xcfe14e);return _0x3cc599['init'](),_0x3cc599;}async['_startDocCollabCursor'](_0x36b1c0){const _0x235240=_0x16631f,_0x28c7eb=await this['_collabSessionService'][_0x235240(0x5ab)](_0x36b1c0),_0x4f11ed=this['_injector']['createInstance'](_0x3e5c16,_0x36b1c0,_0x28c7eb);return _0x4f11ed[_0x235240(0x299)](),_0x4f11ed;}};_0xafbc5d=_0x348225([_0x13bb34(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x13bb34(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x13bb34(0x2,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x37f)]))],_0xafbc5d);const _0x25bf11=0x14,_0x29dac1=0xc8,_0x3373c8=0x4,_0x35e041=0x5;function _0x30e00c(_0x48f9f5,_0x3d5092){const _0x94991a=_0x16631f;let {radius:_0x34d193,width:_0x113b5a,height:_0x5679f0}=_0x3d5092;_0x34d193=_0x34d193!=null?_0x34d193:0x0,_0x113b5a=_0x113b5a!=null?_0x113b5a:0x1e,_0x5679f0=_0x5679f0!=null?_0x5679f0:0x1e;let _0x42a5a5=0x0,_0x22f2ba=0x0,_0x5294ab=0x0;_0x42a5a5=_0x22f2ba=_0x5294ab=Math[_0x94991a(0x3ab)](_0x34d193,_0x113b5a/0x2,_0x5679f0/0x2),_0x48f9f5[_0x94991a(0x47a)](),_0x48f9f5[_0x94991a(0xf9)](_0x42a5a5,0x0),_0x48f9f5[_0x94991a(0x463)](_0x113b5a-_0x22f2ba,0x0),_0x48f9f5[_0x94991a(0x4f1)](_0x113b5a-_0x22f2ba,_0x22f2ba,_0x22f2ba,Math['PI']*0x3/0x2,0x0,!0x1),_0x48f9f5[_0x94991a(0x463)](_0x113b5a,_0x5679f0-_0x5294ab),_0x48f9f5[_0x94991a(0x4f1)](_0x113b5a-_0x5294ab,_0x5679f0-_0x5294ab,_0x5294ab,0x0,Math['PI']/0x2,!0x1),_0x48f9f5[_0x94991a(0x463)](0x0,_0x5679f0),_0x48f9f5[_0x94991a(0x463)](0x0,_0x42a5a5),_0x48f9f5['arc'](_0x42a5a5,_0x42a5a5,_0x42a5a5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48f9f5[_0x94991a(0x18d)](),_0x3d5092['fill']&&(_0x48f9f5[_0x94991a(0x314)](),_0x48f9f5[_0x94991a(0x381)]=_0x3d5092[_0x94991a(0x19e)],_0x3d5092[_0x94991a(0x207)]===_0x94991a(0x54f)?_0x48f9f5[_0x94991a(0x19e)](_0x94991a(0x54f)):_0x48f9f5['fill'](),_0x48f9f5[_0x94991a(0x122)]());}class _0xa8fdce extends _0x20e8c2[_0x16631f(0x383)]{constructor(_0x5b67c2,_0x1a6d73){const _0x27edf2=_0x16631f;super(_0x5b67c2,_0x1a6d73),_0x2a606e(this,_0x27edf2(0x384)),_0x2a606e(this,_0x27edf2(0x4fc)),(this[_0x27edf2(0x384)]=_0x1a6d73==null?void 0x0:_0x1a6d73['color'],this[_0x27edf2(0x4fc)]=_0x1a6d73==null?void 0x0:_0x1a6d73[_0x27edf2(0x4fc)]);}static[_0x16631f(0x138)](_0x297341,_0x15d967){const _0x571929=_0x16631f,{text:_0x5b4aef,color:_0x34c77a}=_0x15d967;_0x297341[_0x571929(0x314)](),_0x297341[_0x571929(0x274)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1f0245=_0x297341[_0x571929(0x526)](_0x5b4aef)[_0x571929(0x261)],_0x53e3ed=Math[_0x571929(0x3ab)](_0x1f0245+0x2*_0x3373c8,_0x29dac1);_0x30e00c(_0x297341,{'height':_0x25bf11,'radius':0x4,'width':_0x53e3ed,'fill':_0x34c77a,'evented':!0x1}),_0x297341['fillStyle']=_0x571929(0x18a);const _0x407b74=_0x3373c8,_0x546ee8=_0x25bf11-_0x35e041,_0x237dfa=_0x29dac1-0x2*_0x3373c8;if(_0x1f0245>_0x237dfa){let _0x38977d='',_0x5b9c44=0x0;for(const _0x3abf23 of _0x5b4aef){const _0x306ed1=_0x297341[_0x571929(0x526)](_0x3abf23)[_0x571929(0x261)];if(_0x5b9c44+_0x306ed1<=_0x237dfa-_0x297341['measureText'](_0x571929(0x4b5))[_0x571929(0x261)])_0x38977d+=_0x3abf23,_0x5b9c44+=_0x306ed1;else{_0x38977d+=_0x571929(0x4b5);break;}}_0x297341[_0x571929(0x29f)](_0x38977d,_0x407b74,_0x546ee8);}else _0x297341['fillText'](_0x5b4aef,_0x407b74,_0x546ee8);_0x297341[_0x571929(0x122)]();}[_0x16631f(0x2f5)](_0x45e6be){const _0x152255=_0x16631f;_0xa8fdce[_0x152255(0x138)](_0x45e6be,this);}}const _0x33dd88=_0x16631f(0x38f),_0x304c5f=_0x16631f(0x512),_0x55dc1a='collab-rect-range-',_0x50eb5c=0x6,_0x47433d=1.5,_0x29705f=0x4,_0x3a5ef5=1.5,_0x48e5e3='rgba(255,\x20255,\x20255,\x200.01)';class _0x1e3e29{constructor(_0x320322,_0x4bdb63,_0x7baf4d,_0x20393f){const _0x497c22=_0x16631f;_0x2a606e(this,_0x497c22(0x444),[]),_0x2a606e(this,_0x497c22(0x4a1),null),_0x2a606e(this,_0x497c22(0x16e),null),_0x2a606e(this,_0x497c22(0x127),null),_0x2a606e(this,_0x497c22(0x4b0),null),_0x2a606e(this,_0x497c22(0xfb),null),(this[_0x497c22(0x3d3)]=_0x320322,this[_0x497c22(0x3ef)]=_0x4bdb63,this[_0x497c22(0x547)]=_0x7baf4d,this[_0x497c22(0x239)]=_0x20393f,this[_0x497c22(0x432)]());}set[_0x16631f(0x212)](_0x2ae8c2){const _0x52f4a1=_0x16631f;_0x2ae8c2?(this['_anchorDot']&&this[_0x52f4a1(0x127)][_0x52f4a1(0x192)](),this[_0x52f4a1(0x16e)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x52f4a1(0x127)][_0x52f4a1(0x354)](),this['_textBubble']&&this[_0x52f4a1(0x16e)][_0x52f4a1(0x192)]());}['dispose'](){const _0x204ccf=_0x16631f;for(const _0x4b1482 of this[_0x204ccf(0x444)])_0x4b1482[_0x204ccf(0x4a7)]();this[_0x204ccf(0x16e)]&&this[_0x204ccf(0x16e)][_0x204ccf(0x4a7)](),this[_0x204ccf(0x127)]&&this['_anchorDot'][_0x204ccf(0x4a7)](),this['_anchor']&&this[_0x204ccf(0x4a1)]['dispose'](),this[_0x204ccf(0xfb)]&&this[_0x204ccf(0xfb)]();}['_render'](){const _0x14056e=_0x16631f;var _0x1deb4b;const {_docSkeleton:_0x3490d3,_document:_0x22c8a7}=this,{color:_0x3581ce,name:_0x3d0b77,ranges:_0x2d14ce}=this[_0x14056e(0x3d3)],_0xf19473=_0x22c8a7['getOffsetConfig'](),{docsLeft:_0xef00ff,docsTop:_0xe9d7c3}=_0xf19473,_0x52fee7=new _0x473dea[(_0x14056e(0x230))](_0xf19473,_0x3490d3);for(const {startOffset:_0xf61212,endOffset:_0x48e9d3,rangeType:_0x28c569,segmentId:_0x534145,segmentPage:_0xde6a9b,collapsed:_0xa3a2a7,isActive:_0x566f1a}of _0x2d14ce){const _0x495af3=_0x3490d3['findNodePositionByCharIndex'](_0xf61212,!0x0,_0x534145,_0xde6a9b);let _0x3b9a46=_0x3490d3[_0x14056e(0x2bc)](_0x48e9d3,!0x0,_0x534145,_0xde6a9b);if(_0x3b9a46==null&&(_0x3b9a46=_0x3490d3[_0x14056e(0x2bc)](_0x48e9d3-0x1,!0x1,_0x534145,_0xde6a9b)),_0x566f1a){const {contentBoxPointGroup:_0x13d350}=_0x52fee7[_0x14056e(0x556)](_0x3b9a46,_0x3b9a46);if(_0x13d350[_0x14056e(0x272)]===0x0)continue;this[_0x14056e(0x13a)](_0x3581ce,_0x13d350,_0xef00ff,_0xe9d7c3,_0x3d0b77),this['_eventUnsubscribe']=this[_0x14056e(0x259)]();}if(_0x495af3&&_0x3b9a46){if(_0x28c569===_0x8a1a57[_0x14056e(0x567)][_0x14056e(0x30c)]){const _0x14af58=new _0x473dea[(_0x14056e(0x517))](_0xf19473,_0x3490d3),{pointGroup:_0x305d56}=(_0x1deb4b=_0x14af58['getRangePointData'](_0x495af3,_0x3b9a46))!=null?_0x1deb4b:{};if(_0x305d56==null||_0x305d56['length']===0x0)continue;this[_0x14056e(0x2ed)](_0x3581ce,_0x305d56,_0xef00ff,_0xe9d7c3);}else{if(!_0xa3a2a7){const {borderBoxPointGroup:_0xeefdeb}=_0x52fee7[_0x14056e(0x556)](_0x495af3,_0x3b9a46);if(_0xeefdeb[_0x14056e(0x272)]===0x0)continue;this[_0x14056e(0x4d9)](_0x3581ce,_0xeefdeb,_0xef00ff,_0xe9d7c3);}}}}}[_0x16631f(0x13a)](_0x431144,_0x1a0f00,_0x28b285,_0x3596ef,_0x11989d){const _0x5743a8=_0x16631f,_0x485a11=this['_getAnchorBounding'](_0x1a0f00),{left:_0x2c2d54,top:_0x4b3dcc,height:_0x4fa9db}=_0x485a11,_0x5595cb=this['_getScale'](),_0x13d35d=_0x3a5ef5/_0x5595cb,_0x9bb713=new _0x20e8c2[(_0x5743a8(0x20d))](_0x33dd88+_0x8a1a57[_0x5743a8(0x435)][_0x5743a8(0x293)](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef,'height':_0x4fa9db,'width':_0x47433d,'fill':_0x431144||_0x20e8c2[_0x5743a8(0x420)](_0x8a1a57['COLORS'][_0x5743a8(0x2b7)],0x0),'strokeWidth':_0x13d35d,'stroke':_0x48e5e3,'evented':!0x0});this[_0x5743a8(0x4a1)]=_0x9bb713,this[_0x5743a8(0x3ef)]['addObject'](_0x9bb713,_0x473dea[_0x5743a8(0x285)]);const _0x16c801=new _0x20e8c2[(_0x5743a8(0x20d))](_0x33dd88+_0x8a1a57['Tools']['generateRandomId'](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef-_0x29705f/0x2,'height':_0x29705f,'width':_0x29705f,'fill':_0x431144||_0x20e8c2['getColor'](_0x8a1a57[_0x5743a8(0x56b)][_0x5743a8(0x2b7)],0x0),'strokeWidth':0x0,'stroke':_0x431144||_0x20e8c2[_0x5743a8(0x420)](_0x8a1a57[_0x5743a8(0x56b)]['black'],0x0),'evented':!0x1});this[_0x5743a8(0x127)]=_0x16c801,this[_0x5743a8(0x3ef)][_0x5743a8(0x144)](_0x16c801,_0x473dea['TEXT_RANGE_LAYER_INDEX']);const _0x4aedba=new _0xa8fdce(_0x33dd88+_0x8a1a57[_0x5743a8(0x435)][_0x5743a8(0x293)](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef-_0x25bf11,'text':_0x11989d,'color':_0x431144});this['_textBubble']=_0x4aedba,this[_0x5743a8(0x3ef)]['addObject'](_0x4aedba,_0x473dea[_0x5743a8(0x285)]),this[_0x5743a8(0x212)]=!0x1;}['_handleHover'](){const _0x1da900=_0x16631f,_0xe901d=this['_anchor'][_0x1da900(0x1b7)]['subscribeEvent'](()=>{const _0x4e602e=_0x1da900;this[_0x4e602e(0x212)]=!0x0;}),_0x10357a=this[_0x1da900(0x4a1)][_0x1da900(0x38e)][_0x1da900(0x4cc)](()=>{const _0x9e638f=_0x1da900;this[_0x9e638f(0x4b0)]&&clearTimeout(this['_hideTimer']),this[_0x9e638f(0x4b0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1b8dd4=_0x1da900;_0xe901d[_0x1b8dd4(0x42a)](),_0x10357a['unsubscribe']();};}[_0x16631f(0x4d9)](_0x32c540,_0xe5d5d,_0x233197,_0x9c68ac){const _0x18f495=_0x16631f,_0x4be7ac=new _0x8a1a57['ColorKit'](_0x32c540)['setAlpha'](0.2)[_0x18f495(0x47e)](),_0x5b0e29=new _0x20e8c2[(_0x18f495(0x126))](_0x304c5f+_0x8a1a57[_0x18f495(0x435)][_0x18f495(0x293)](_0x50eb5c),{'pointsGroup':_0xe5d5d,'fill':_0x4be7ac||_0x20e8c2[_0x18f495(0x420)](_0x8a1a57[_0x18f495(0x56b)]['black'],0.2),'left':_0x233197,'top':_0x9c68ac,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18f495(0x444)]['push'](_0x5b0e29),this[_0x18f495(0x3ef)][_0x18f495(0x144)](_0x5b0e29,_0x473dea[_0x18f495(0x285)]);}[_0x16631f(0x2ed)](_0x52a2d1,_0x4a7140,_0x3067b8,_0x5c687e){const _0x5909cb=_0x16631f,_0x568463=new _0x8a1a57['ColorKit'](_0x52a2d1)[_0x5909cb(0x504)](0.2)[_0x5909cb(0x47e)](),_0x46cb00=new _0x20e8c2['RegularPolygon'](_0x55dc1a+_0x8a1a57[_0x5909cb(0x435)][_0x5909cb(0x293)](_0x50eb5c),{'pointsGroup':_0x4a7140,'fill':_0x568463||_0x20e8c2[_0x5909cb(0x420)](_0x8a1a57[_0x5909cb(0x56b)]['black'],0.2),'left':_0x3067b8,'top':_0x5c687e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5909cb(0x444)][_0x5909cb(0x203)](_0x46cb00),this['_scene'][_0x5909cb(0x144)](_0x46cb00,_0x473dea[_0x5909cb(0x285)]);}[_0x16631f(0x22b)](_0x36fb6d){const _0xcd2b1f=_0x36fb6d[0x0],_0x429894=_0xcd2b1f[0x0],_0x3c2186=_0xcd2b1f[0x2],{x:_0x4ac937,y:_0x59da05}=_0x429894,{x:_0x43eff2,y:_0x38ae28}=_0x3c2186;return{'left':_0x4ac937,'top':_0x59da05,'width':_0x43eff2-_0x4ac937,'height':_0x38ae28-_0x59da05};}['_getScale'](){const _0x505206=_0x16631f,{scaleX:_0x2cd04b,scaleY:_0x200fe4}=this[_0x505206(0x3ef)][_0x505206(0x1e9)]();return Math['max'](_0x2cd04b,_0x200fe4);}}var _0x41b970=Object['defineProperty'],_0x2d4a8f=Object[_0x16631f(0x57e)],_0x49b450=(_0xf19861,_0x3f1772,_0x51c014,_0x29d85b)=>{const _0x3a43b3=_0x16631f;for(var _0xc8df9e=_0x29d85b>0x1?void 0x0:_0x29d85b?_0x2d4a8f(_0x3f1772,_0x51c014):_0x3f1772,_0x22339e=_0xf19861[_0x3a43b3(0x272)]-0x1,_0x1f633d;_0x22339e>=0x0;_0x22339e--)(_0x1f633d=_0xf19861[_0x22339e])&&(_0xc8df9e=(_0x29d85b?_0x1f633d(_0x3f1772,_0x51c014,_0xc8df9e):_0x1f633d(_0xc8df9e))||_0xc8df9e);return _0x29d85b&&_0xc8df9e&&_0x41b970(_0x3f1772,_0x51c014,_0xc8df9e),_0xc8df9e;},_0xbe7f47=(_0x358eca,_0x1d0d43)=>(_0x477363,_0x3a41b6)=>_0x1d0d43(_0x477363,_0x3a41b6,_0x358eca);let _0x155007=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x297700,_0x3848bb,_0x4b8653,_0xbcf0db,_0x3f94da){const _0x358a20=_0x16631f;super(),_0x2a606e(this,_0x358a20(0x2e5),[]),_0x2a606e(this,_0x358a20(0x32f),[]),(this[_0x358a20(0x2c2)]=_0x297700,this[_0x358a20(0x465)]=_0x3848bb,this[_0x358a20(0x2d4)]=_0x4b8653,this[_0x358a20(0x475)]=_0xbcf0db,this[_0x358a20(0x14e)]=_0x3f94da,this['_init']());}[_0x16631f(0x36a)](){const _0x3248fe=_0x16631f,_0x503273=this[_0x3248fe(0x2c2)][_0x3248fe(0x151)],_0x2cf5b1=this[_0x3248fe(0x465)];this[_0x3248fe(0x14a)](_0x933215['combineLatest']([this[_0x3248fe(0x2d4)][_0x3248fe(0x190)](_0x503273),this['_themeService'][_0x3248fe(0x45f)]])['pipe'](_0x478e49[_0x3248fe(0x2ca)](([_0x29a9f0,_0x2aa9cd])=>({'skeleton':_0x2cf5b1[_0x3248fe(0x19c)](),'cursors':[..._0x29a9f0[_0x3248fe(0x1f3)]()][_0x3248fe(0x427)](_0xa1f421=>({..._0xa1f421,'color':_0x2aa9cd[_0xa1f421[_0x3248fe(0x384)]]}))})))['subscribe'](_0x11c0d3=>{const _0x3f42db=_0x3248fe;if(this[_0x3f42db(0x4ec)](),_0x11c0d3){const {skeleton:_0x114e85,cursors:_0x221db5}=_0x11c0d3;this[_0x3f42db(0x32a)](_0x114e85,_0x221db5);}})),this[_0x3248fe(0x181)](),this[_0x3248fe(0x15b)]();}['_updateCollabCursors'](_0x284d35,_0x3a7479){const _0x211917=_0x16631f,{scene:_0x485671,mainComponent:_0x523e58}=this[_0x211917(0x2c2)],_0x578d05=_0x3a7479[_0x211917(0x2ca)](_0x500387=>new _0x1e3e29(_0x500387,_0x485671,_0x284d35,_0x523e58));this[_0x211917(0x2e5)]=_0x578d05,this[_0x211917(0x32f)]=_0x3a7479;}[_0x16631f(0x104)](){const _0x5e38b5=_0x16631f;this['_removeCollabCursors']();const {scene:_0x5a5ad1,mainComponent:_0x139ff6}=this[_0x5e38b5(0x2c2)],_0x512856=this[_0x5e38b5(0x465)]['getSkeleton'](),_0x3f491a=this[_0x5e38b5(0x32f)][_0x5e38b5(0x2ca)](_0x380a1a=>new _0x1e3e29(_0x380a1a,_0x5a5ad1,_0x512856,_0x139ff6));this['_cursorShapes']=_0x3f491a;}[_0x16631f(0x4ec)](){const _0x1d2a36=_0x16631f;this['_cursorShapes']['forEach'](_0x3bd1fb=>_0x3bd1fb[_0x1d2a36(0x4a7)]()),this[_0x1d2a36(0x2e5)]=[];}['_initCommandExecutedListener'](){const _0x2d98d4=_0x16631f,_0x5c7530=[_0x473dea['SetDocZoomRatioOperation']['id']];this[_0x2d98d4(0x14a)](this[_0x2d98d4(0x475)]['onCommandExecuted'](_0x305674=>{const _0xca3711=_0x2d98d4;_0x5c7530[_0xca3711(0x41a)](_0x305674['id'])&&_0x305674['params'][_0xca3711(0x151)]===this[_0xca3711(0x2c2)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x16631f(0x181)](){const _0x351ba7=_0x16631f;this['disposeWithMe'](_0x8a1a57[_0x351ba7(0x399)](this[_0x351ba7(0x2c2)][_0x351ba7(0x3e1)]['onTransformChange$'])[_0x351ba7(0x4be)](_0x478e49[_0x351ba7(0x53f)](_0x17c490=>_0x17c490[_0x351ba7(0x49b)]===_0x20e8c2[_0x351ba7(0x59a)]['resize']),_0x478e49['throttleTime'](0x10))[_0x351ba7(0x42c)](()=>{const _0x295624=_0x351ba7;this[_0x295624(0x104)]();}));}};_0x155007=_0x49b450([_0xbe7f47(0x1,_0x8a1a57[_0x16631f(0x537)](_0x1d9e38[_0x16631f(0x27f)])),_0xbe7f47(0x2,_0x8a1a57[_0x16631f(0x537)](_0xafbc5d)),_0xbe7f47(0x3,_0x8a1a57[_0x16631f(0x350)]),_0xbe7f47(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x5a8)]))],_0x155007);const _0x1375a3=0x1,_0x2a9aa8=1.5;class _0x2a2a49 extends _0x20e8c2[_0x16631f(0x383)]{constructor(_0x337609,_0x587d5a){const _0x5075f0=_0x16631f;super(_0x337609,_0x587d5a),_0x2a606e(this,_0x5075f0(0x491)),_0x2a606e(this,_0x5075f0(0x352),!0x1),_0x2a606e(this,_0x5075f0(0x1c9)),_0x2a606e(this,_0x5075f0(0x300),''),_0x2a606e(this,_0x5075f0(0x33f),_0x5075f0(0x20f)),_0x2a606e(this,_0x5075f0(0x1ed)),(_0x587d5a&&this['setShapeProps'](_0x587d5a),this[_0x5075f0(0x1b7)][_0x5075f0(0x4cc)](()=>this[_0x5075f0(0x58e)]({'hovered':!0x0})),this[_0x5075f0(0x38e)]['subscribeEvent'](()=>this[_0x5075f0(0x58e)]({'hovered':!0x1})));}[_0x16631f(0x58e)](_0x425029){const _0x33931f=_0x16631f;var _0x2c5647,_0x4a8bc7,_0x344431,_0x288387,_0x19440d,_0x1fbfca;this[_0x33931f(0x491)]=(_0x2c5647=_0x425029[_0x33931f(0x384)])!=null?_0x2c5647:this['_color'],this[_0x33931f(0x352)]=(_0x4a8bc7=_0x425029[_0x33931f(0x329)])!=null?_0x4a8bc7:this[_0x33931f(0x352)],this[_0x33931f(0x1c9)]=(_0x344431=_0x425029['range'])!=null?_0x344431:this[_0x33931f(0x1c9)],this['_name']=(_0x288387=_0x425029[_0x33931f(0x3be)])!=null?_0x288387:this['_name'],this[_0x33931f(0x33f)]=(_0x19440d=_0x425029['labelPosition'])!=null?_0x19440d:this[_0x33931f(0x33f)],this['_backgroundColor']=(_0x1fbfca=_0x425029[_0x33931f(0x35f)])!=null?_0x1fbfca:this[_0x33931f(0x1ed)],this['transformByState']({'width':_0x425029['width'],'height':_0x425029[_0x33931f(0x143)]});}[_0x16631f(0x5a0)](_0xf600ae){const _0x6fd1f=_0x16631f,{row:_0x1277cb,column:_0x22ba8f}=_0xf600ae;if(_0x1277cb>=this['_range'][_0x6fd1f(0x599)]&&_0x1277cb<=this[_0x6fd1f(0x1c9)][_0x6fd1f(0x39a)]&&_0x22ba8f>=this['_range'][_0x6fd1f(0x3d4)]&&_0x22ba8f<=this[_0x6fd1f(0x1c9)][_0x6fd1f(0x4e5)]){this[_0x6fd1f(0x58e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x421ae2){return!0x1;}[_0x16631f(0x2f5)](_0x4e15c9){const _0x5a0e18=_0x16631f;_0x20e8c2[_0x5a0e18(0x20d)]['drawWith'](_0x4e15c9,{'width':this[_0x5a0e18(0x261)],'height':this[_0x5a0e18(0x143)],'strokeWidth':_0x2a9aa8,'stroke':this[_0x5a0e18(0x491)],'evented':!0x1,'fill':this[_0x5a0e18(0x1ed)]}),this[_0x5a0e18(0x352)]&&(_0x4e15c9['save'](),_0x4e15c9[_0x5a0e18(0x182)](0x1,0x0,0x0,0x1,this[_0x5a0e18(0x261)],this[_0x5a0e18(0x33f)]==='bottom'?0x0:-_0x25bf11),_0xa8fdce[_0x5a0e18(0x138)](_0x4e15c9,{'text':this[_0x5a0e18(0x300)],'color':this[_0x5a0e18(0x491)]}),_0x4e15c9[_0x5a0e18(0x122)]());}}var _0x2378ae=Object['defineProperty'],_0x402823=Object[_0x16631f(0x57e)],_0x367ec0=(_0x5f528d,_0x4bc02c,_0x3a5022,_0x29cd2a)=>{const _0x2d33e8=_0x16631f;for(var _0x4fdcf5=_0x29cd2a>0x1?void 0x0:_0x29cd2a?_0x402823(_0x4bc02c,_0x3a5022):_0x4bc02c,_0x22ac0d=_0x5f528d[_0x2d33e8(0x272)]-0x1,_0xf72894;_0x22ac0d>=0x0;_0x22ac0d--)(_0xf72894=_0x5f528d[_0x22ac0d])&&(_0x4fdcf5=(_0x29cd2a?_0xf72894(_0x4bc02c,_0x3a5022,_0x4fdcf5):_0xf72894(_0x4fdcf5))||_0x4fdcf5);return _0x29cd2a&&_0x4fdcf5&&_0x2378ae(_0x4bc02c,_0x3a5022,_0x4fdcf5),_0x4fdcf5;},_0x26020b=(_0x51f9e6,_0x23a567)=>(_0x4f0cc5,_0x4ce40d)=>_0x23a567(_0x4f0cc5,_0x4ce40d,_0x51f9e6);const _0x3a7d47=0x1389;let _0x49e258=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x28ac40,_0x26b6b7,_0x55f6c8,_0x18ecc5){const _0x15093f=_0x16631f;super(),_0x2a606e(this,_0x15093f(0x32f),new Set()),_0x2a606e(this,'_lastPointer',null),(this['_context']=_0x28ac40,this[_0x15093f(0x3f2)]=_0x26b6b7,this[_0x15093f(0x2d4)]=_0x55f6c8,this[_0x15093f(0x14e)]=_0x18ecc5,this[_0x15093f(0x36a)]());}[_0x16631f(0x36a)](){const _0x1272c8=_0x16631f;this['_sheetSkeletonManagerService'][_0x1272c8(0x269)][_0x1272c8(0x4be)](_0x478e49[_0x1272c8(0x3d9)](this['dispose$']),_0x478e49[_0x1272c8(0x3e8)](_0x44b2fb=>{const _0x13380a=_0x1272c8;if(_0x44b2fb){const _0x4aa70e=_0x44b2fb['sheetId'];return _0x933215[_0x13380a(0x128)](this[_0x13380a(0x2d4)]['getCollabCursors$'](this[_0x13380a(0x2c2)][_0x13380a(0x151)]),this['_themeService']['currentTheme$'])[_0x13380a(0x4be)](_0x478e49['map'](([_0x1648a9,_0x1b612a])=>{const _0x392640=_0x13380a,_0x4ba819=new Map();return _0x1648a9[_0x392640(0x236)]((_0x1905e0,_0x2e8dab)=>{const _0x9850d1=_0x392640;if(_0x1905e0['sheetID']===_0x4aa70e){const _0x15785b={..._0x1905e0};_0x15785b[_0x9850d1(0x384)]=_0x1b612a[_0x1905e0[_0x9850d1(0x384)]],_0x4ba819['set'](_0x2e8dab,_0x15785b);}}),{'skeleton':_0x44b2fb,'cursors':_0x4ba819};}));}return _0x933215['of']({'skeleton':null,'cursors':new Map()});}))[_0x1272c8(0x42c)](({skeleton:_0x443f75,cursors:_0x2aeee2})=>{const _0x316fbe=_0x1272c8;this[_0x316fbe(0x4ec)](),_0x443f75&&this[_0x316fbe(0x32a)](_0x443f75,_0x2aeee2);}),this[_0x1272c8(0x3f2)][_0x1272c8(0x269)][_0x1272c8(0x42c)](_0x948fd0=>{const _0x45a30d=_0x1272c8;if(_0x948fd0==null)return;const {skeleton:_0xc7c56e}=_0x948fd0,{scene:_0x3aef1f}=this['_context'];_0x3aef1f[_0x45a30d(0x25f)][_0x45a30d(0x4cc)](_0x8a1a57['debounce'](_0x42c46e=>{const _0x152ec5=_0x45a30d;var _0x46b2d6,_0x1adfe1;const {offsetX:_0xcede42,offsetY:_0x5e3308}=_0x42c46e,{x:_0xe6b7ce,y:_0x2916b1}=_0x3aef1f[_0x152ec5(0x169)](_0x20e8c2[_0x152ec5(0x4da)][_0x152ec5(0x3ff)]([_0xcede42,_0x5e3308])),{scaleX:_0x3364df,scaleY:_0x3874c2}=_0x3aef1f[_0x152ec5(0x1e9)](),_0x1d5848=_0x3aef1f[_0x152ec5(0x1e5)](_0x3ba744[_0x152ec5(0x28b)]['VIEW_MAIN']),_0x1ae18a=_0x3aef1f[_0x152ec5(0x163)](_0x20e8c2[_0x152ec5(0x4da)]['FromArray']([_0xe6b7ce,_0x2916b1]),_0x1d5848),_0x528b5c=_0xc7c56e[_0x152ec5(0x4ba)](_0xcede42,_0x5e3308,_0x3364df,_0x3874c2,_0x1ae18a);((_0x46b2d6=this[_0x152ec5(0x13c)])==null?void 0x0:_0x46b2d6[_0x152ec5(0x413)])===_0x528b5c[_0x152ec5(0x413)]&&((_0x1adfe1=this['_lastPointer'])==null?void 0x0:_0x1adfe1[_0x152ec5(0x19b)])===_0x528b5c['row']||this[_0x152ec5(0x32f)][_0x152ec5(0x236)](_0x133b8b=>{const _0x48ce4=_0x152ec5;_0x133b8b[_0x48ce4(0x5a0)](_0x528b5c);});},0x64));});}[_0x16631f(0x32a)](_0x4b40b8,_0x5b7f4a){const _0x419f53=_0x16631f;var _0x4bccfd;const _0x55b4d7=(_0x4bccfd=this[_0x419f53(0x3f2)][_0x419f53(0x168)]())==null?void 0x0:_0x4bccfd[_0x419f53(0x49e)];if(!_0x55b4d7)return;const _0x483cad=this[_0x419f53(0x211)]();if(!_0x483cad)return;this[_0x419f53(0x32f)][_0x419f53(0x236)](_0x4f20a5=>{const _0x376d1d=_0x419f53;_0x4f20a5[_0x376d1d(0x4bb)]();});const {scene:_0x2ae405}=_0x483cad,_0x212b7d=_0x599b82(Array['from'](_0x5b7f4a[_0x419f53(0x1f3)]()))[_0x419f53(0x2ca)](_0x264b00=>{const _0xbe63a6=_0x419f53,{color:_0x28f869,range:_0x4235bb,name:_0x38fbee,selection:_0x2881bf,sheetID:_0x441ce0}=_0x264b00,{startColumn:_0x2c25e5,startRow:_0x40fd68,endColumn:_0x55a87d,endRow:_0x3b7019}=_0x4235bb,_0x109f3b=_0x3ba744['getCoordByCell'](_0x40fd68,_0x2c25e5,_0x2ae405,_0x55b4d7),_0x2a7adf=_0x3ba744['getCoordByCell'](_0x3b7019,_0x55a87d,_0x2ae405,_0x55b4d7),{columnHeaderHeightAndMarginTop:_0x47e3c2}=_0x55b4d7,{startX:_0x5e6344,startY:_0xbe0879}=_0x109f3b,{endX:_0x2a833c,endY:_0x478d82}=_0x2a7adf,_0x55be59=_0x2a833c-_0x5e6344,_0x22ac23=_0x478d82-_0xbe0879,_0xaaf372={'labelPosition':_0xbe0879-_0x47e3c2>=_0x25bf11?_0xbe63a6(0x20f):_0xbe63a6(0x1a7),'sheetID':_0x441ce0,'range':_0x4235bb,'color':_0x28f869,'name':_0x38fbee,'selection':_0x2881bf,'left':_0x5e6344,'top':_0xbe0879,'width':_0x55be59,'height':_0x22ac23,'evented':!0x1,'zIndex':_0x3a7d47};return new _0x2a2a49(_0x38fbee,_0xaaf372);});_0x2ae405[_0x419f53(0x50e)](_0x212b7d,_0x1375a3),this[_0x419f53(0x32f)]=new Set(_0x212b7d);}[_0x16631f(0x4ec)](){const _0xcfed43=_0x16631f;var _0x1b67ad;(_0x1b67ad=this['_cursors'])==null||_0x1b67ad[_0xcfed43(0x236)](_0x2ab83a=>_0x2ab83a[_0xcfed43(0x4a7)]());}[_0x16631f(0x211)](){const _0xc50510=_0x16631f;return _0x3ba744[_0xc50510(0x1b5)](this[_0xc50510(0x2c2)][_0xc50510(0x323)],this[_0xc50510(0x2c2)]);}};_0x49e258=_0x367ec0([_0x26020b(0x1,_0x8a1a57['Inject'](_0x3ba744[_0x16631f(0x267)])),_0x26020b(0x2,_0x8a1a57[_0x16631f(0x537)](_0xafbc5d)),_0x26020b(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['ThemeService']))],_0x49e258);function _0x599b82(_0x19b0e7){const _0x15ba69=_0x16631f,_0x2daba6=new Map();return _0x19b0e7[_0x15ba69(0x236)](_0x28b266=>{const _0x37b5d2=_0x15ba69;if(_0x2daba6[_0x37b5d2(0x295)](_0x28b266[_0x37b5d2(0x486)])){const _0x11e68f=_0x2daba6[_0x37b5d2(0x241)](_0x28b266[_0x37b5d2(0x486)]);_0x11e68f[_0x37b5d2(0x3be)]+=',\x20'+_0x28b266[_0x37b5d2(0x3be)];}else _0x2daba6[_0x37b5d2(0x41f)](_0x28b266[_0x37b5d2(0x486)],_0x28b266);}),Array['from'](_0x2daba6[_0x15ba69(0x1f3)]());}var _0x4b3743=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3c7ed0(_0x44afb3){const _0x59dba7=_0x16631f;return _0x44afb3&&_0x44afb3['__esModule']&&Object[_0x59dba7(0x5b2)][_0x59dba7(0x2c0)][_0x59dba7(0x3b4)](_0x44afb3,_0x59dba7(0x4e9))?_0x44afb3[_0x59dba7(0x4e9)]:_0x44afb3;}var _0x319b01={'exports':{}},_0x2003bc={},_0x344504=_0x5e80f5,_0x1dc1e7=Symbol[_0x16631f(0x3ee)]('react.element'),_0x46ab57=Symbol['for'](_0x16631f(0x543)),_0x26ad67=Object['prototype'][_0x16631f(0x2c0)],_0x5e4779=_0x344504['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x16631f(0x372)],_0x4b3131={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x58faa8(_0x159d7b,_0x21651f,_0x4b69aa){const _0x15f569=_0x16631f;var _0x21b03a,_0x3cae9c={},_0x21407c=null,_0x29342f=null;_0x4b69aa!==void 0x0&&(_0x21407c=''+_0x4b69aa),_0x21651f[_0x15f569(0x3a2)]!==void 0x0&&(_0x21407c=''+_0x21651f['key']),_0x21651f[_0x15f569(0x355)]!==void 0x0&&(_0x29342f=_0x21651f[_0x15f569(0x355)]);for(_0x21b03a in _0x21651f)_0x26ad67[_0x15f569(0x3b4)](_0x21651f,_0x21b03a)&&!_0x4b3131['hasOwnProperty'](_0x21b03a)&&(_0x3cae9c[_0x21b03a]=_0x21651f[_0x21b03a]);if(_0x159d7b&&_0x159d7b['defaultProps']){for(_0x21b03a in(_0x21651f=_0x159d7b['defaultProps'],_0x21651f))_0x3cae9c[_0x21b03a]===void 0x0&&(_0x3cae9c[_0x21b03a]=_0x21651f[_0x21b03a]);}return{'$$typeof':_0x1dc1e7,'type':_0x159d7b,'key':_0x21407c,'ref':_0x29342f,'props':_0x3cae9c,'_owner':_0x5e4779['current']};}_0x2003bc['Fragment']=_0x46ab57,_0x2003bc[_0x16631f(0x1be)]=_0x58faa8,_0x2003bc[_0x16631f(0x405)]=_0x58faa8,_0x319b01['exports']=_0x2003bc;var _0x2e11ad=_0x319b01[_0x16631f(0x50a)],_0x513090=function(){const _0x4f46fe=_0x16631f;return _0x513090=Object['assign']||function(_0x266ebb){const _0x2b79b2=_0x586f;for(var _0x5f24ed,_0x134392=0x1,_0x4a798f=arguments[_0x2b79b2(0x272)];_0x134392<_0x4a798f;_0x134392++){_0x5f24ed=arguments[_0x134392];for(var _0x3fa689 in _0x5f24ed)Object['prototype']['hasOwnProperty'][_0x2b79b2(0x3b4)](_0x5f24ed,_0x3fa689)&&(_0x266ebb[_0x3fa689]=_0x5f24ed[_0x3fa689]);}return _0x266ebb;},_0x513090[_0x4f46fe(0x480)](this,arguments);},_0x4590bf=function(_0x174906,_0x3a130f){const _0x27c49b=_0x16631f;var _0x1c1246={};for(var _0x50541f in _0x174906)Object[_0x27c49b(0x5b2)][_0x27c49b(0x2c0)][_0x27c49b(0x3b4)](_0x174906,_0x50541f)&&_0x3a130f['indexOf'](_0x50541f)<0x0&&(_0x1c1246[_0x50541f]=_0x174906[_0x50541f]);if(_0x174906!=null&&typeof Object['getOwnPropertySymbols']==_0x27c49b(0x445)){for(var _0x4b1fad=0x0,_0x50541f=Object[_0x27c49b(0x2e7)](_0x174906);_0x4b1fad<_0x50541f[_0x27c49b(0x272)];_0x4b1fad++)_0x3a130f[_0x27c49b(0x222)](_0x50541f[_0x4b1fad])<0x0&&Object['prototype'][_0x27c49b(0x3c6)][_0x27c49b(0x3b4)](_0x174906,_0x50541f[_0x4b1fad])&&(_0x1c1246[_0x50541f[_0x4b1fad]]=_0x174906[_0x50541f[_0x4b1fad]]);}return _0x1c1246;},_0x584bc7=_0x5e80f5[_0x16631f(0x4bc)](function(_0x109b31,_0x50d19f){const _0x460667=_0x16631f;var _0x5e7d70=_0x109b31[_0x460667(0x592)],_0x499e46=_0x109b31['id'],_0x5f36e9=_0x109b31[_0x460667(0x12c)],_0x39c070=_0x109b31[_0x460667(0x279)],_0x447b07=_0x4590bf(_0x109b31,['icon','id','className',_0x460667(0x279)]),_0xcdaaee=_0x460667(0x4f4)['concat'](_0x499e46,'\x20')[_0x460667(0x40b)](_0x5f36e9||'')['trim'](),_0x71a5b3=_0x5e80f5['useRef']('_'[_0x460667(0x40b)](_0x558e0d()));return _0x5f0f57(_0x5e7d70,''[_0x460667(0x40b)](_0x499e46),{'defIds':_0x5e7d70[_0x460667(0x5a3)],'idSuffix':_0x71a5b3[_0x460667(0x3bf)]},_0x513090({'ref':_0x50d19f,'className':_0xcdaaee},_0x447b07),_0x39c070);});function _0x5f0f57(_0xfcaaa1,_0xa075f8,_0x160f52,_0x5ef271,_0x13af68){const _0x419af3=_0x16631f;return _0x5e80f5['createElement'](_0xfcaaa1[_0x419af3(0x2ef)],_0x513090(_0x513090({'key':_0xa075f8},_0x164cc8(_0xfcaaa1,_0x160f52,_0x13af68)),_0x5ef271),(_0x4d8c11(_0xfcaaa1,_0x160f52)[_0x419af3(0x20e)]||[])[_0x419af3(0x2ca)](function(_0xaccba,_0x2c768f){const _0xaacc38=_0x419af3;return _0x5f0f57(_0xaccba,''[_0xaacc38(0x40b)](_0xa075f8,'-')['concat'](_0xfcaaa1[_0xaacc38(0x2ef)],'-')[_0xaacc38(0x40b)](_0x2c768f),_0x160f52,void 0x0,_0x13af68);}));}function _0x164cc8(_0x46544a,_0x9b3cb2,_0x1ae14e){const _0x382830=_0x16631f;var _0x3d2b20=_0x513090({},_0x46544a[_0x382830(0x217)]);_0x1ae14e!=null&&_0x1ae14e['colorChannel1']&&_0x3d2b20[_0x382830(0x19e)]===_0x382830(0x555)&&(_0x3d2b20['fill']=_0x1ae14e[_0x382830(0x555)]);var _0x3b11af=_0x9b3cb2[_0x382830(0x5a3)];return!_0x3b11af||_0x3b11af[_0x382830(0x272)]===0x0||(_0x46544a[_0x382830(0x2ef)]===_0x382830(0x326)&&_0x3d2b20[_0x382830(0x2c9)]&&(_0x3d2b20['xlink:href']=_0x3d2b20[_0x382830(0x2c9)]+_0x9b3cb2[_0x382830(0x5a4)]),Object[_0x382830(0x3d8)](_0x3d2b20)[_0x382830(0x236)](function(_0x8bcb20){const _0x3143cf=_0x382830;var _0x2b2b35=_0x8bcb20[0x0],_0xa6bf88=_0x8bcb20[0x1];typeof _0xa6bf88==_0x3143cf(0x18e)&&(_0x3d2b20[_0x2b2b35]=_0xa6bf88[_0x3143cf(0x1e1)](/url\(#(.*)\)/,_0x3143cf(0x415)[_0x3143cf(0x40b)](_0x9b3cb2[_0x3143cf(0x5a4)],')')));})),_0x3d2b20;}function _0x4d8c11(_0x399eab,_0x18e71a){const _0x527368=_0x16631f;var _0x54d1a1,_0x27712d=_0x18e71a[_0x527368(0x5a3)];return!_0x27712d||_0x27712d['length']===0x0?_0x399eab:_0x399eab[_0x527368(0x2ef)]===_0x527368(0x4f3)&&(!((_0x54d1a1=_0x399eab['children'])===null||_0x54d1a1===void 0x0)&&_0x54d1a1[_0x527368(0x272)])?_0x513090(_0x513090({},_0x399eab),{'children':_0x399eab['children'][_0x527368(0x2ca)](function(_0x54e3e){const _0x6224f2=_0x527368;return typeof _0x54e3e['attrs']['id']==_0x6224f2(0x18e)&&_0x27712d&&_0x27712d[_0x6224f2(0x222)](_0x54e3e[_0x6224f2(0x217)]['id'])>-0x1?_0x513090(_0x513090({},_0x54e3e),{'attrs':_0x513090(_0x513090({},_0x54e3e[_0x6224f2(0x217)]),{'id':_0x54e3e['attrs']['id']+_0x18e71a['idSuffix']})}):_0x54e3e;})}):_0x399eab;}function _0x558e0d(){const _0x1b7f7d=_0x16631f;return Math[_0x1b7f7d(0x2bf)]()[_0x1b7f7d(0x3a4)](0x24)[_0x1b7f7d(0x51b)](0x2,0x8);}_0x584bc7['displayName']='UniverIcon';var _0x27ca20={'tag':_0x16631f(0x2a2),'attrs':{'fill':_0x16631f(0x580),'viewBox':_0x16631f(0x597),'width':_0x16631f(0x48c),'height':_0x16631f(0x48c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x16631f(0x12e),'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':_0x16631f(0x55e),'strokeLinejoin':_0x16631f(0x55e),'strokeWidth':1.2}}]},{'tag':_0x16631f(0x4f3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x16631f(0x1fb)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'fill':_0x16631f(0x498),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x16631f(0x1fb)]},_0x130350=_0x5e80f5['forwardRef'](function(_0x290c4f,_0x4aba7e){const _0x430c62=_0x16631f;return _0x5e80f5[_0x430c62(0x3aa)](_0x584bc7,Object[_0x430c62(0x28f)]({},_0x290c4f,{'id':_0x430c62(0x364),'ref':_0x4aba7e,'icon':_0x27ca20}));});_0x130350[_0x16631f(0x2b5)]=_0x16631f(0x28a);var _0x5ca375={'tag':'svg','attrs':{'fill':_0x16631f(0x580),'viewBox':_0x16631f(0x335),'width':_0x16631f(0x48c),'height':_0x16631f(0x48c)},'children':[{'tag':'g','attrs':{'clipPath':_0x16631f(0x1fe)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x16631f(0x55e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x16631f(0x4f3),'attrs':{},'children':[{'tag':_0x16631f(0x1af),'attrs':{'id':_0x16631f(0x56f)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'fill':_0x16631f(0x498),'d':_0x16631f(0x509),'transform':_0x16631f(0x52b)}}]}]}],'defIds':[_0x16631f(0x56f)]},_0x75be14=_0x5e80f5['forwardRef'](function(_0x31ae6b,_0xbe5af){const _0x182e3d=_0x16631f;return _0x5e80f5['createElement'](_0x584bc7,Object[_0x182e3d(0x28f)]({},_0x31ae6b,{'id':_0x182e3d(0x3bc),'ref':_0xbe5af,'icon':_0x5ca375}));});_0x75be14[_0x16631f(0x2b5)]='OnLineSingle';function _0x44272a(_0x186136){const _0x2cfa68=_0x16631f;var _0x4c06a8,_0x12222f,_0x122937='';if(typeof _0x186136==_0x2cfa68(0x18e)||typeof _0x186136==_0x2cfa68(0x3f6))_0x122937+=_0x186136;else{if(typeof _0x186136==_0x2cfa68(0x3ca)){if(Array[_0x2cfa68(0x2e1)](_0x186136)){var _0x4128af=_0x186136[_0x2cfa68(0x272)];for(_0x4c06a8=0x0;_0x4c06a8<_0x4128af;_0x4c06a8++)_0x186136[_0x4c06a8]&&(_0x12222f=_0x44272a(_0x186136[_0x4c06a8]))&&(_0x122937&&(_0x122937+='\x20'),_0x122937+=_0x12222f);}else{for(_0x12222f in _0x186136)_0x186136[_0x12222f]&&(_0x122937&&(_0x122937+='\x20'),_0x122937+=_0x12222f);}}}return _0x122937;}function _0xa465d3(){const _0x5d763c=_0x16631f;for(var _0x46dc51,_0x175855,_0x299a35=0x0,_0x2dfc0f='',_0x14f43f=arguments[_0x5d763c(0x272)];_0x299a35<_0x14f43f;_0x299a35++)(_0x46dc51=arguments[_0x299a35])&&(_0x175855=_0x44272a(_0x46dc51))&&(_0x2dfc0f&&(_0x2dfc0f+='\x20'),_0x2dfc0f+=_0x175855);return _0x2dfc0f;}const _0xd3f094={'onlineStatusIcon':_0x16631f(0x41b),'onlineStatusTitle':_0x16631f(0x2b8),'onlineStatus':_0x16631f(0x2f2),'online':_0x16631f(0x412),'offline':_0x16631f(0x45e)};function _0x3a6f3b(_0xc2eecf){const _0x4ddea8=_0x16631f;switch(_0xc2eecf){case _0x5d61dc[_0x4ddea8(0x106)]:return'collabStatus.offline';case _0x5d61dc[_0x4ddea8(0x3a3)]:return _0x4ddea8(0x19a);case _0x5d61dc[_0x4ddea8(0x3f4)]:return _0x4ddea8(0x341);case _0x5d61dc[_0x4ddea8(0x3f1)]:return'collabStatus.notCollab';case _0x5d61dc['AWAITING']:case _0x5d61dc[_0x4ddea8(0x5ae)]:return'collabStatus.syncing';case _0x5d61dc[_0x4ddea8(0x48b)]:case _0x5d61dc[_0x4ddea8(0x487)]:return _0x4ddea8(0x178);}}function _0x39447f(_0x674d19){const _0x1385de=_0x16631f,{status$:_0x249510}=_0x674d19,_0x18015a=_0x4b60ff[_0x1385de(0x167)](_0x249510,_0x5d61dc['NOT_COLLAB']),_0x4ad5d6=_0x8a1a57[_0x1385de(0x4a9)](_0x8a1a57[_0x1385de(0x1f4)]),_0xc449ad=_0x8a1a57[_0x1385de(0x4a9)](_0x2728bd['CollaborationSessionService']),_0x574476=_0x18015a!==_0x5d61dc[_0x1385de(0x106)],_0x522a0d=_0x4ad5d6['t'](_0x3a6f3b(_0x18015a)),_0x2df7ed=_0xa465d3(_0xd3f094[_0x1385de(0x1cd)],{[_0xd3f094[_0x1385de(0xf3)]]:_0x574476,[_0xd3f094[_0x1385de(0x21f)]]:!_0x574476}),_0x3dc74f=_0x574476?_0x2e11ad[_0x1385de(0x1be)](_0x75be14,{}):_0x2e11ad[_0x1385de(0x1be)](_0x130350,{}),_0x537e08=_0x5e80f5['useCallback'](()=>{const _0x32489d=_0x1385de;_0x574476||_0xc449ad[_0x32489d(0x1cc)]();},[_0x574476,_0xc449ad]);function _0xd1f25(){const _0x421fc8=_0x1385de;return _0x2e11ad[_0x421fc8(0x405)](_0x421fc8(0x4e3),{'className':_0x2df7ed,'onClick':_0x537e08,'children':[_0x2e11ad[_0x421fc8(0x1be)](_0x421fc8(0x4e3),{'className':_0xd3f094['onlineStatusIcon'],'children':_0x3dc74f}),_0x2e11ad[_0x421fc8(0x1be)](_0x421fc8(0x4e3),{'className':_0xd3f094[_0x421fc8(0x5b5)],'children':_0x522a0d})]});}return _0x574476?_0xd1f25():_0x2e11ad[_0x1385de(0x1be)](_0x731a74[_0x1385de(0x353)],{'title':_0x4ad5d6['t'](_0x1385de(0x187)),'children':_0xd1f25()});}var _0x254e5a=Object[_0x16631f(0x162)],_0x3a2e51=Object[_0x16631f(0x57e)],_0x2853c7=(_0x2ae2e9,_0x5364fc,_0x3f2d63,_0x1adb27)=>{for(var _0x403c29=_0x1adb27>0x1?void 0x0:_0x1adb27?_0x3a2e51(_0x5364fc,_0x3f2d63):_0x5364fc,_0x42fcd0=_0x2ae2e9['length']-0x1,_0x24196e;_0x42fcd0>=0x0;_0x42fcd0--)(_0x24196e=_0x2ae2e9[_0x42fcd0])&&(_0x403c29=(_0x1adb27?_0x24196e(_0x5364fc,_0x3f2d63,_0x403c29):_0x24196e(_0x403c29))||_0x403c29);return _0x1adb27&&_0x403c29&&_0x254e5a(_0x5364fc,_0x3f2d63,_0x403c29),_0x403c29;},_0x50ef1a=(_0x3cfa03,_0x2ddfa0)=>(_0xd926ec,_0x3eacf9)=>_0x2ddfa0(_0xd926ec,_0x3eacf9,_0x3cfa03);_0x2728bd[_0x16631f(0x3ce)]=class extends _0x8a1a57['Disposable']{constructor(_0x51d2b3,_0x35255f,_0x4a615b,_0x19bbd0){const _0x3a20d4=_0x16631f;super(),_0x2a606e(this,'_status$',new _0x933215[(_0x3a20d4(0x1fd))](_0x5d61dc[_0x3a20d4(0x3f1)])),(this[_0x3a20d4(0x3e7)]=_0x51d2b3,this[_0x3a20d4(0x24e)]=_0x35255f,this[_0x3a20d4(0x264)]=_0x4a615b,this[_0x3a20d4(0x28e)]=_0x19bbd0,this[_0x3a20d4(0x51e)](),this[_0x3a20d4(0x1ec)]());}[_0x16631f(0x1ec)](){const _0x514f13=_0x16631f;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x514f13(0x4be)](_0x933215[_0x514f13(0x3e8)](()=>{const _0x4f06c7=_0x514f13,_0x554a2b=this[_0x4f06c7(0x3e7)][_0x4f06c7(0x328)]();return _0x554a2b?this['_collaborationController'][_0x4f06c7(0x3f5)](_0x554a2b[_0x4f06c7(0x4ed)]()):_0x933215['of'](null);}),_0x933215[_0x514f13(0x3e8)](_0xcf7f04=>_0xcf7f04?_0xcf7f04[_0x514f13(0x48f)]:_0x933215['of'](_0x5d61dc[_0x514f13(0x3f1)])))['subscribe'](_0x130ac5=>{const _0x5dccc5=_0x514f13;this[_0x5dccc5(0x1d0)]['next'](_0x130ac5);}));}[_0x16631f(0x51e)](){const _0x1a0538=_0x16631f;this[_0x1a0538(0x14a)](this['_uiPartsService'][_0x1a0538(0x46a)](_0x4b60ff[_0x1a0538(0x1a8)][_0x1a0538(0x1b2)],()=>_0x8a1a57[_0x1a0538(0x342)](_0x375bfe({'status$':this[_0x1a0538(0x1d0)][_0x1a0538(0x525)]()}),this[_0x1a0538(0x264)])));}},_0x2728bd['DesktopCollaborationStatusDisplayController']=_0x2853c7([_0x50ef1a(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x50ef1a(0x1,_0x4b60ff[_0x16631f(0x1a6)]),_0x50ef1a(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x50ef1a(0x3,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x433)]))],_0x2728bd[_0x16631f(0x3ce)]);function _0x375bfe(_0x32000a){const {status$:_0x2b27cb}=_0x32000a;return function(){const _0x5b594f=_0x586f;return _0x2e11ad[_0x5b594f(0x1be)](_0x39447f,{'status$':_0x2b27cb});};}const _0x38da0e=_0x8a1a57[_0x16631f(0x27b)](_0x16631f(0x213));var _0x2529cc=Object[_0x16631f(0x162)],_0x82d09a=Object[_0x16631f(0x57e)],_0x1bd685=(_0x4f437d,_0x276580,_0x4b5a5d,_0x489e8b)=>{for(var _0x5460bf=_0x489e8b>0x1?void 0x0:_0x489e8b?_0x82d09a(_0x276580,_0x4b5a5d):_0x276580,_0x3c1e76=_0x4f437d['length']-0x1,_0x607363;_0x3c1e76>=0x0;_0x3c1e76--)(_0x607363=_0x4f437d[_0x3c1e76])&&(_0x5460bf=(_0x489e8b?_0x607363(_0x276580,_0x4b5a5d,_0x5460bf):_0x607363(_0x5460bf))||_0x5460bf);return _0x489e8b&&_0x5460bf&&_0x2529cc(_0x276580,_0x4b5a5d,_0x5460bf),_0x5460bf;},_0x4274c4=(_0x236159,_0x43fbe0)=>(_0x1b09d7,_0x30009b)=>_0x43fbe0(_0x1b09d7,_0x30009b,_0x236159);_0x2728bd['DataLoaderController']=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x2b8822,_0x299ed3,_0x124cb7,_0x437a1a,_0x2655ff,_0x2568ac){const _0x375301=_0x16631f;super(),this['_urlService']=_0x2b8822,this[_0x375301(0x515)]=_0x299ed3,this[_0x375301(0x475)]=_0x124cb7,this[_0x375301(0x48e)]=_0x437a1a,this[_0x375301(0x5b6)]=_0x2655ff,_0x2568ac?_0x2568ac==null||_0x2568ac[_0x375301(0x16d)]()[_0x375301(0x566)](()=>this[_0x375301(0x36a)]()):(this[_0x375301(0x515)][_0x375301(0x22a)](_0x375301(0x12b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x375301(0x36a)]());}async['_init'](){const _0x20bc92=_0x16631f,_0x2a82e4=this['_urlService']['getParam'](_0x20bc92(0x323)),_0x37b9cc=this[_0x20bc92(0x290)][_0x20bc92(0x11b)]('type');if(!_0x2a82e4||!_0x37b9cc){this[_0x20bc92(0x515)][_0x20bc92(0x22a)]('[DataLoaderController]',_0x20bc92(0x3ad));return;}switch(Number(_0x37b9cc)){case _0x4a6b81['UNIVER_SHEET']:{const _0x3c3ef1=await this[_0x20bc92(0x3a6)](_0x2a82e4);this[_0x20bc92(0x145)](_0x3c3ef1);break;}case _0x4a6b81[_0x20bc92(0x327)]:{await this['_loadDoc'](_0x2a82e4);break;}default:{this[_0x20bc92(0x515)][_0x20bc92(0x1df)]('[DataLoaderController]','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x16631f(0x145)](_0x10c9c0){const _0x74b70e=_0x16631f;await this['_updateSubUnitFromURLParams'](_0x10c9c0),_0x10c9c0['activeSheet$'][_0x74b70e(0x4be)](_0x933215[_0x74b70e(0x3d9)](this[_0x74b70e(0x42d)]))[_0x74b70e(0x42c)](_0x1e7e50=>{const _0x412742=_0x74b70e;_0x1e7e50&&this[_0x412742(0x4eb)](_0x1e7e50);}),this['_urlService'][_0x74b70e(0x497)]['pipe'](_0x933215[_0x74b70e(0x3d9)](this[_0x74b70e(0x42d)]))[_0x74b70e(0x42c)](()=>this['_updateSubUnitFromURLParams'](_0x10c9c0));}[_0x16631f(0x4eb)](_0x48e3d8,_0x10f806=!0x1){const _0x42536f=_0x16631f,_0x3d5bfb=this[_0x42536f(0x290)][_0x42536f(0x11b)](_0x42536f(0x481));_0x48e3d8[_0x42536f(0x3fb)]()!==_0x3d5bfb&&this[_0x42536f(0x290)][_0x42536f(0x1de)](_0x42536f(0x481),_0x48e3d8[_0x42536f(0x3fb)](),_0x10f806);}async[_0x16631f(0x3cd)](_0x46c46f){const _0x32080f=_0x16631f;var _0x5dd7b4;const _0x5e737c=this[_0x32080f(0x290)]['getParam'](_0x32080f(0x481));if(!_0x5e737c||!_0x46c46f[_0x32080f(0x177)](_0x5e737c)){const _0x5d6d74=_0x46c46f[_0x32080f(0x31a)]()[0x0],_0x6521ac=_0x46c46f[_0x32080f(0x177)](_0x5d6d74);if(!_0x6521ac)return;this[_0x32080f(0x4eb)](_0x6521ac,!0x0),await this[_0x32080f(0x475)][_0x32080f(0x564)](_0x46f63a[_0x32080f(0x3bd)]['id'],{'unitId':_0x46c46f['getUnitId'](),'subUnitId':_0x5d6d74});return;}((_0x5dd7b4=_0x46c46f[_0x32080f(0x23a)]())==null?void 0x0:_0x5dd7b4['getSheetId']())!==_0x5e737c&&await this[_0x32080f(0x475)][_0x32080f(0x564)](_0x46f63a[_0x32080f(0x3bd)]['id'],{'unitId':_0x46c46f['getUnitId'](),'subUnitId':_0x5e737c});}async[_0x16631f(0x3a6)](_0x46e4de){const _0x299cf8=_0x16631f;let _0x505e5a=0x0;const _0x2d710c=await this['_localCacheService'][_0x299cf8(0x3ae)](_0x46e4de);return _0x2d710c&&(_0x2d710c['awaitingChangeset']||_0x2d710c[_0x299cf8(0x1ce)][_0x299cf8(0x272)]!==0x0)&&(_0x505e5a=_0x2d710c[_0x299cf8(0x454)]),_0x505e5a===0x0&&this[_0x299cf8(0x515)][_0x299cf8(0x22a)](_0x299cf8(0x12b),_0x299cf8(0x251)),this[_0x299cf8(0x5b6)][_0x299cf8(0x14b)](_0x46e4de,_0x505e5a);}async[_0x16631f(0x3c1)](_0x17253f){const _0x124b6b=_0x16631f;let _0x303085=0x0;const _0x15da08=await this[_0x124b6b(0x48e)]['loadOfflineData'](_0x17253f);return _0x15da08&&(_0x15da08[_0x124b6b(0x58b)]||_0x15da08['mutations'][_0x124b6b(0x272)]!==0x0)&&(_0x303085=_0x15da08[_0x124b6b(0x454)]),_0x303085===0x0&&this[_0x124b6b(0x515)][_0x124b6b(0x22a)](_0x124b6b(0x12b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x124b6b(0x5b6)][_0x124b6b(0x2a4)](_0x17253f,_0x303085);}},_0x2728bd[_0x16631f(0x296)]=_0x1bd685([_0x4274c4(0x0,_0x38da0e),_0x4274c4(0x1,_0x8a1a57[_0x16631f(0xfc)]),_0x4274c4(0x2,_0x8a1a57[_0x16631f(0x350)]),_0x4274c4(0x3,_0x8a1a57['Inject'](_0x2728bd['LocalCacheService'])),_0x4274c4(0x4,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x522)])),_0x4274c4(0x5,_0x8a1a57[_0x16631f(0x1c1)](_0x6cb789['IRemoteInstanceService']))],_0x2728bd[_0x16631f(0x296)]);var _0x4c21f4=Object['defineProperty'],_0x1fbe04=Object['getOwnPropertyDescriptor'],_0x4d421d=(_0xcc45de,_0xa5f209,_0x396e4a,_0x2f7f78)=>{for(var _0x720e5e=_0x2f7f78>0x1?void 0x0:_0x2f7f78?_0x1fbe04(_0xa5f209,_0x396e4a):_0xa5f209,_0x4b104d=_0xcc45de['length']-0x1,_0x35442b;_0x4b104d>=0x0;_0x4b104d--)(_0x35442b=_0xcc45de[_0x4b104d])&&(_0x720e5e=(_0x2f7f78?_0x35442b(_0xa5f209,_0x396e4a,_0x720e5e):_0x35442b(_0x720e5e))||_0x720e5e);return _0x2f7f78&&_0x720e5e&&_0x4c21f4(_0xa5f209,_0x396e4a,_0x720e5e),_0x720e5e;},_0x978750=(_0x16c4be,_0x5cc421)=>(_0x142e57,_0x52dd21)=>_0x5cc421(_0x142e57,_0x52dd21,_0x16c4be);const _0x375672='DEFAULT_FILE_NAME',_0x101f72='Univer';let _0x21377e=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x2a77f4,_0x328bd5){const _0x2000b4=_0x16631f;super(),this['_univerInstanceService']=_0x2a77f4,this[_0x2000b4(0x31f)]=_0x328bd5,this['_init']();}[_0x16631f(0x36a)](){const _0x152988=_0x16631f;this[_0x152988(0x14a)](this[_0x152988(0x3e7)][_0x152988(0x470)][_0x152988(0x42c)](()=>{const _0xf435a4=_0x152988;var _0x4ec161;const _0x137ff9=this[_0xf435a4(0x3e7)][_0xf435a4(0x328)]();let _0x39d6fc=(_0x4ec161=this['_configService'][_0xf435a4(0xfd)](_0x375672))!=null?_0x4ec161:_0x101f72;_0x137ff9 instanceof _0x8a1a57[_0xf435a4(0x496)]&&(_0x39d6fc=_0x137ff9['name']),document['title']=_0x39d6fc;}));}};_0x21377e=_0x4d421d([_0x978750(0x0,_0x8a1a57['IUniverInstanceService']),_0x978750(0x1,_0x8a1a57[_0x16631f(0x4f9)])],_0x21377e);var _0x4a730e=Object[_0x16631f(0x162)],_0x570ec1=Object['getOwnPropertyDescriptor'],_0x3461a4=(_0x2e2bb6,_0x36e4da,_0x5cc016,_0x25e3d5)=>{for(var _0x6e28b3=_0x25e3d5>0x1?void 0x0:_0x25e3d5?_0x570ec1(_0x36e4da,_0x5cc016):_0x36e4da,_0xc814d8=_0x2e2bb6['length']-0x1,_0x16907c;_0xc814d8>=0x0;_0xc814d8--)(_0x16907c=_0x2e2bb6[_0xc814d8])&&(_0x6e28b3=(_0x25e3d5?_0x16907c(_0x36e4da,_0x5cc016,_0x6e28b3):_0x16907c(_0x6e28b3))||_0x6e28b3);return _0x25e3d5&&_0x6e28b3&&_0x4a730e(_0x36e4da,_0x5cc016,_0x6e28b3),_0x6e28b3;},_0x28af1b=(_0x1118e5,_0x2267db)=>(_0xe362a,_0x1d755f)=>_0x2267db(_0xe362a,_0x1d755f,_0x1118e5);let _0x503962=class{constructor(_0x74dcca,_0x3796d4,_0x149669){const _0x17e114=_0x16631f;this[_0x17e114(0x31f)]=_0x74dcca,this[_0x17e114(0x23f)]=_0x3796d4,this[_0x17e114(0x473)]=_0x149669,this[_0x17e114(0x299)]();}['init'](){const _0x30805a=_0x16631f;this[_0x30805a(0x23f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x41f342,_0x237513)=>_0x237513(_0x41f342)[_0x30805a(0x4be)](_0x933215[_0x30805a(0x1fa)](async _0x42f1ab=>{const _0x4b493e=_0x30805a,_0x4f8ca=_0x42f1ab;if(_0x4f8ca[_0x4b493e(0x536)]===0x191&&window[_0x4b493e(0x14d)](this[_0x4b493e(0x473)]['t']('auth.needGotoLoginAlert'))){const _0x4db97f=window['encodeURIComponent'](window[_0x4b493e(0x219)][_0x4b493e(0x147)]);window[_0x4b493e(0x219)][_0x4b493e(0x147)]=this[_0x4b493e(0x386)]()+'?url='+_0x4db97f;}return _0x4f8ca;}))});}[_0x16631f(0x386)](){const _0x4a89c6=_0x16631f;var _0x6c5c9,_0x4e37b7;const _0x1ff1b7=this[_0x4a89c6(0x31f)]['getConfig'](_0x1da8a5),_0x4c9404=this[_0x4a89c6(0x31f)][_0x4a89c6(0xfd)](_0x132856);return(_0x4e37b7=(_0x6c5c9=_0x4c9404==null?void 0x0:_0x4c9404[_0x4a89c6(0xf0)])!=null?_0x6c5c9:_0x1ff1b7)!=null?_0x4e37b7:_0x4638d3;}};_0x503962=_0x3461a4([_0x28af1b(0x0,_0x8a1a57[_0x16631f(0x4f9)]),_0x28af1b(0x1,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)])),_0x28af1b(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)]))],_0x503962);var _0x2aef65=Object[_0x16631f(0x162)],_0x1699f3=Object['getOwnPropertyDescriptor'],_0x1253f6=(_0x387392,_0x4221c6,_0x869603,_0x592877)=>{const _0x46a529=_0x16631f;for(var _0x2a80ad=_0x592877>0x1?void 0x0:_0x592877?_0x1699f3(_0x4221c6,_0x869603):_0x4221c6,_0x18247e=_0x387392[_0x46a529(0x272)]-0x1,_0x595ecd;_0x18247e>=0x0;_0x18247e--)(_0x595ecd=_0x387392[_0x18247e])&&(_0x2a80ad=(_0x592877?_0x595ecd(_0x4221c6,_0x869603,_0x2a80ad):_0x595ecd(_0x2a80ad))||_0x2a80ad);return _0x592877&&_0x2a80ad&&_0x2aef65(_0x4221c6,_0x869603,_0x2a80ad),_0x2a80ad;},_0x248375=(_0x22c340,_0x54809b)=>(_0x180225,_0x2b8c06)=>_0x54809b(_0x180225,_0x2b8c06,_0x22c340);const _0x360662=_0x16631f(0x376),_0x52797d=_0x16631f(0x524);_0x2728bd[_0x16631f(0x283)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x242184,_0x56f3fc){const _0x4230ea=_0x16631f;super(),this['_HTTPService']=_0x242184,this[_0x4230ea(0x31f)]=_0x56f3fc,this[_0x4230ea(0x340)]();}[_0x16631f(0x340)](){const _0x433539=_0x16631f,_0x305622=this;this[_0x433539(0x14a)](this[_0x433539(0x142)][_0x433539(0x118)]({'priority':0x3e7,'interceptor':_0x547ebe[_0x433539(0x191)]({'isMatch'(_0x44c1c4){const _0x318a57=_0x433539;var _0x1e4fa4;if(_0x44c1c4['method']===_0x318a57(0x528)&&((_0x1e4fa4=_0x44c1c4[_0x318a57(0x263)])!=null&&_0x1e4fa4[_0x318a57(0x50c)])){const {objectID:_0x5e5dff,objectType:_0x508dce}=_0x44c1c4['requestParams'][_0x318a57(0x50c)]||{};if(!_0x5e5dff||_0x508dce===void 0x0)return!0x1;const _0x16e16a=_0x305622[_0x318a57(0x148)]()+'/'+_0x508dce+_0x318a57(0x5af)+_0x5e5dff+_0x318a57(0x57d);if(_0x44c1c4['url']===_0x16e16a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d7638){const _0x10b8f0=_0x433539;var _0xd5e6a0;return(_0xd5e6a0=_0x5d7638[_0x10b8f0(0x263)])==null?void 0x0:_0xd5e6a0[_0x10b8f0(0x50c)];},'mergeParamsToRequest'(_0x52d32d,_0x32c3e9){const _0x319339=_0x433539,_0x517d8b=_0x305622[_0x319339(0x148)]()+_0x319339(0x408),_0x25ab22=_0x52d32d[_0x319339(0x317)]((_0x15ef0c,_0x3c9e6c)=>{const _0x14f618=_0x319339,{unitID:_0x4cf384,objectID:_0x467a5a,objectType:_0x55e91f,actions:_0x102bfa}=_0x3c9e6c;return _0x15ef0c[_0x4cf384]||(_0x15ef0c[_0x4cf384]={}),_0x15ef0c[_0x4cf384][_0x467a5a]||(_0x15ef0c[_0x4cf384][_0x467a5a]={'objectID':_0x467a5a,'objectType':_0x55e91f,'actions':[]}),_0x15ef0c[_0x4cf384][_0x467a5a][_0x14f618(0x112)][_0x14f618(0x203)](..._0x102bfa),_0x15ef0c;},{}),_0x433996=[];for(const _0x4f0380 in _0x25ab22)for(const _0xe765f in _0x25ab22[_0x4f0380]){const {actions:_0x5a9c54,objectType:_0x40c5f6}=_0x25ab22[_0x4f0380][_0xe765f],_0x57f0af=[...new Set(_0x5a9c54)];_0x433996['push']({'unitID':_0x4f0380,'objectID':_0xe765f,'objectType':_0x40c5f6,'actions':_0x57f0af});}return new _0x547ebe[(_0x319339(0x186))](_0x319339(0x528),_0x517d8b,{'headers':_0x32c3e9[_0x319339(0x2b9)],'withCredentials':_0x32c3e9['withCredentials'],'responseType':_0x32c3e9[_0x319339(0x3fd)],'body':{'requests':_0x433996}});}},{'distributeResult'(_0x483a40,_0x46b33c){const {objectActions:_0x3381a7}=_0x483a40;return _0x46b33c['map'](_0x5d364e=>{const _0x2b9715=_0x586f,{unitID:_0x25f14b,objectID:_0x4491ba,actions:_0x43e075}=_0x5d364e,_0x5eb854=_0x3381a7[_0x2b9715(0x2a3)](_0x4816fb=>_0x4816fb[_0x2b9715(0x477)]===_0x25f14b&&_0x4816fb[_0x2b9715(0x52f)]===_0x4491ba),_0x56c98e=_0x43e075['map'](_0x36b9bf=>_0x5eb854==null?void 0x0:_0x5eb854[_0x2b9715(0x112)][_0x2b9715(0x2a3)](_0x3bbbd9=>_0x3bbbd9['action']===_0x36b9bf))['filter'](_0x4e1081=>!!_0x4e1081);return{'config':_0x5d364e,'result':{'actions':_0x56c98e,'error':_0x483a40[_0x2b9715(0x1df)]}};});}})}));}['_getAPIPrefixPath'](){const _0x39beca=_0x16631f;var _0x716594,_0x11365b;const _0xe73bec=this['_configService'][_0x39beca(0xfd)](_0x360662),_0xeec7fa=this[_0x39beca(0x31f)][_0x39beca(0xfd)](_0x132856);return(_0x11365b=(_0x716594=_0xeec7fa==null?void 0x0:_0xeec7fa[_0x39beca(0x164)])!=null?_0x716594:_0xe73bec)!=null?_0x11365b:_0x52797d;}async['create'](_0x3973d7){const _0x11f1e9=_0x16631f,_0x153e2b=this[_0x11f1e9(0x148)]()+'/'+_0x3973d7[_0x11f1e9(0x388)]+_0x11f1e9(0x45c);return(await this[_0x11f1e9(0x142)][_0x11f1e9(0x418)](_0x153e2b,{'body':_0x3973d7}))[_0x11f1e9(0x50c)]['objectID']||'';}async['list'](_0x1b00a6){const _0x185bb5=_0x16631f,_0x5d5a80=this[_0x185bb5(0x148)]()+_0x185bb5(0x309);return(await this[_0x185bb5(0x142)][_0x185bb5(0x418)](_0x5d5a80,{'body':_0x1b00a6}))['body']['objects'];}async[_0x16631f(0x40d)](_0x4d723a){const _0x2b494b=_0x16631f,_0x2201f9=this[_0x2b494b(0x148)]()+'/'+_0x4d723a[_0x2b494b(0x388)]+_0x2b494b(0x5af)+_0x4d723a[_0x2b494b(0x52f)];await this['_HTTPService']['put'](_0x2201f9,{'body':_0x4d723a});}async[_0x16631f(0x56d)](_0x33322a){const _0x1b3c06=_0x16631f,_0x5c0c13=this['_getAPIPrefixPath']()+'/'+_0x33322a['objectType']+'/object/'+_0x33322a[_0x1b3c06(0x52f)]+_0x1b3c06(0x57d);return(await this['_HTTPService']['post'](_0x5c0c13,{'body':_0x33322a}))['body']['actions'];}async[_0x16631f(0x281)](_0x32e372){const _0x5dd50c=_0x16631f,_0x147a50=this[_0x5dd50c(0x148)]()+_0x5dd50c(0x408);return(await this['_HTTPService'][_0x5dd50c(0x418)](_0x147a50,{'body':{'requests':_0x32e372}}))[_0x5dd50c(0x50c)][_0x5dd50c(0x180)];}async['listRoles'](_0x5f55a3){const _0x441146=_0x16631f,_0xb0b21d=this['_getAPIPrefixPath']()+'/'+_0x5f55a3[_0x441146(0x388)]+'/role',_0x2d1044=await this[_0x441146(0x142)][_0x441146(0x418)](_0xb0b21d,{'body':_0x5f55a3});return{'roles':_0x2d1044[_0x441146(0x50c)][_0x441146(0x411)],'actions':_0x2d1044[_0x441146(0x50c)][_0x441146(0x112)]};}async[_0x16631f(0x123)](_0x4a0edd){const _0x30da2b=_0x16631f,_0x24748a=this[_0x30da2b(0x148)]()+_0x30da2b(0x1f2);await this[_0x30da2b(0x142)][_0x30da2b(0x2eb)](_0x24748a,{'params':{'collaboratorID':_0x4a0edd[_0x30da2b(0x402)],'objectID':_0x4a0edd[_0x30da2b(0x52f)],'unitID':_0x4a0edd[_0x30da2b(0x477)]}});}async[_0x16631f(0x255)](_0x2cd49e){const _0x38a527=_0x16631f,_0x44b346=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x38a527(0x271)](_0x44b346,{'body':_0x2cd49e});}async[_0x16631f(0x49d)](_0xac52fc){const _0x32ad18=_0x16631f,_0x502df5=this[_0x32ad18(0x148)]()+'/collaborator';await this[_0x32ad18(0x142)][_0x32ad18(0x418)](_0x502df5,{'body':_0xac52fc});}async[_0x16631f(0x356)](_0xffd8c6){const _0x14dfba=_0x16631f,_0x53f48e=this[_0x14dfba(0x148)]()+'/collaborator';return(await this[_0x14dfba(0x142)][_0x14dfba(0x241)](_0x53f48e,{'params':{'objectID':_0xffd8c6[_0x14dfba(0x52f)],'unitID':_0xffd8c6['unitID']}}))['body']['collaborators'];}async[_0x16631f(0x424)](_0x565469){const _0x83e7c=_0x16631f,_0x2b0adb=this[_0x83e7c(0x148)]()+_0x83e7c(0x1f2);await this['_HTTPService'][_0x83e7c(0x4d3)](_0x2b0adb,{'body':_0x565469});}},_0x2728bd[_0x16631f(0x283)]=_0x1253f6([_0x248375(0x0,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)])),_0x248375(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['IConfigService']))],_0x2728bd[_0x16631f(0x283)]);var _0x3f01d8={'exports':{}};function _0x51f848(_0x3927e8){const _0x3911dc=_0x16631f;throw new Error(_0x3911dc(0x161)+_0x3927e8+_0x3911dc(0x11e));}var _0x5a6cd8={'exports':{}},_0x96fa8;function _0x50a408(){const _0x117ee3=_0x16631f;return _0x96fa8||(_0x96fa8=0x1,function(_0x21b7e5,_0x15c68e){(function(_0xa44b3a,_0x4e9390){const _0x2e1484=_0x586f;_0x21b7e5[_0x2e1484(0x50a)]=_0x4e9390();}(_0x4b3743,function(){var _0x15973c=_0x15973c||function(_0x29d85e,_0x301c99){const _0x55caba=_0x586f;var _0x3b537e;if(typeof window<'u'&&window[_0x55caba(0x2f9)]&&(_0x3b537e=window[_0x55caba(0x2f9)]),typeof self<'u'&&self[_0x55caba(0x2f9)]&&(_0x3b537e=self[_0x55caba(0x2f9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3b537e=globalThis[_0x55caba(0x2f9)]),!_0x3b537e&&typeof window<'u'&&window[_0x55caba(0x200)]&&(_0x3b537e=window[_0x55caba(0x200)]),!_0x3b537e&&typeof _0x4b3743<'u'&&_0x4b3743[_0x55caba(0x2f9)]&&(_0x3b537e=_0x4b3743[_0x55caba(0x2f9)]),!_0x3b537e&&typeof _0x51f848=='function')try{_0x3b537e=require(_0x55caba(0x2f9));}catch{}var _0x582ac3=function(){const _0x4c1fbd=_0x55caba;if(_0x3b537e){if(typeof _0x3b537e['getRandomValues']==_0x4c1fbd(0x445))try{return _0x3b537e[_0x4c1fbd(0x235)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3b537e[_0x4c1fbd(0x59c)]==_0x4c1fbd(0x445))try{return _0x3b537e[_0x4c1fbd(0x59c)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4c1fbd(0x185));},_0x35e32e=Object[_0x55caba(0x4ee)]||(function(){function _0x2a199a(){}return function(_0x2f389c){const _0x42fe02=_0x586f;var _0x2a15c9;return _0x2a199a[_0x42fe02(0x5b2)]=_0x2f389c,_0x2a15c9=new _0x2a199a(),_0x2a199a[_0x42fe02(0x5b2)]=null,_0x2a15c9;};}()),_0x3b2a77={},_0x58822c=_0x3b2a77['lib']={},_0x53b37f=_0x58822c[_0x55caba(0x3b8)]=(function(){return{'extend':function(_0x360f4e){const _0x3b640e=_0x586f;var _0x5d2cd9=_0x35e32e(this);return _0x360f4e&&_0x5d2cd9[_0x3b640e(0x3ba)](_0x360f4e),(!_0x5d2cd9['hasOwnProperty'](_0x3b640e(0x299))||this[_0x3b640e(0x299)]===_0x5d2cd9['init'])&&(_0x5d2cd9[_0x3b640e(0x299)]=function(){const _0x742c9c=_0x3b640e;_0x5d2cd9[_0x742c9c(0x4d8)][_0x742c9c(0x299)]['apply'](this,arguments);}),_0x5d2cd9[_0x3b640e(0x299)][_0x3b640e(0x5b2)]=_0x5d2cd9,_0x5d2cd9[_0x3b640e(0x4d8)]=this,_0x5d2cd9;},'create':function(){var _0x48217c=this['extend']();return _0x48217c['init']['apply'](_0x48217c,arguments),_0x48217c;},'init':function(){},'mixIn':function(_0x1d38e8){const _0x1e0392=_0x586f;for(var _0x58e96a in _0x1d38e8)_0x1d38e8[_0x1e0392(0x2c0)](_0x58e96a)&&(this[_0x58e96a]=_0x1d38e8[_0x58e96a]);_0x1d38e8['hasOwnProperty'](_0x1e0392(0x3a4))&&(this[_0x1e0392(0x3a4)]=_0x1d38e8[_0x1e0392(0x3a4)]);},'clone':function(){const _0x5ea5db=_0x586f;return this[_0x5ea5db(0x299)]['prototype'][_0x5ea5db(0x279)](this);}};}()),_0x47d0f2=_0x58822c['WordArray']=_0x53b37f[_0x55caba(0x279)]({'init':function(_0x220f57,_0x1f3f7b){const _0x3de5ed=_0x55caba;_0x220f57=this['words']=_0x220f57||[],_0x1f3f7b!=_0x301c99?this[_0x3de5ed(0x1b1)]=_0x1f3f7b:this[_0x3de5ed(0x1b1)]=_0x220f57[_0x3de5ed(0x272)]*0x4;},'toString':function(_0x44a577){const _0x57066f=_0x55caba;return(_0x44a577||_0x29f382)[_0x57066f(0x338)](this);},'concat':function(_0x32a49d){const _0x42ce5c=_0x55caba;var _0x1347d5=this[_0x42ce5c(0x256)],_0x23ebcc=_0x32a49d[_0x42ce5c(0x256)],_0x2c625a=this[_0x42ce5c(0x1b1)],_0xc369d2=_0x32a49d[_0x42ce5c(0x1b1)];if(this[_0x42ce5c(0x546)](),_0x2c625a%0x4)for(var _0x125159=0x0;_0x125159<_0xc369d2;_0x125159++){var _0x225c59=_0x23ebcc[_0x125159>>>0x2]>>>0x18-_0x125159%0x4*0x8&0xff;_0x1347d5[_0x2c625a+_0x125159>>>0x2]|=_0x225c59<<0x18-(_0x2c625a+_0x125159)%0x4*0x8;}else{for(var _0x51ee07=0x0;_0x51ee07<_0xc369d2;_0x51ee07+=0x4)_0x1347d5[_0x2c625a+_0x51ee07>>>0x2]=_0x23ebcc[_0x51ee07>>>0x2];}return this['sigBytes']+=_0xc369d2,this;},'clamp':function(){const _0x1dafa1=_0x55caba;var _0x5dd6a3=this[_0x1dafa1(0x256)],_0x5418c3=this[_0x1dafa1(0x1b1)];_0x5dd6a3[_0x5418c3>>>0x2]&=0xffffffff<<0x20-_0x5418c3%0x4*0x8,_0x5dd6a3[_0x1dafa1(0x272)]=_0x29d85e[_0x1dafa1(0x428)](_0x5418c3/0x4);},'clone':function(){const _0x24cb1d=_0x55caba;var _0x28d240=_0x53b37f[_0x24cb1d(0x27e)][_0x24cb1d(0x3b4)](this);return _0x28d240[_0x24cb1d(0x256)]=this[_0x24cb1d(0x256)]['slice'](0x0),_0x28d240;},'random':function(_0x5c0998){const _0xfd8d36=_0x55caba;for(var _0xeb9b54=[],_0x4c9763=0x0;_0x4c9763<_0x5c0998;_0x4c9763+=0x4)_0xeb9b54['push'](_0x582ac3());return new _0x47d0f2[(_0xfd8d36(0x299))](_0xeb9b54,_0x5c0998);}}),_0x5d91be=_0x3b2a77[_0x55caba(0x4d7)]={},_0x29f382=_0x5d91be[_0x55caba(0x548)]={'stringify':function(_0x2229f6){const _0x388f1f=_0x55caba;for(var _0x3fb655=_0x2229f6['words'],_0x2bac69=_0x2229f6[_0x388f1f(0x1b1)],_0xbde6e2=[],_0x5c337a=0x0;_0x5c337a<_0x2bac69;_0x5c337a++){var _0x59f5b2=_0x3fb655[_0x5c337a>>>0x2]>>>0x18-_0x5c337a%0x4*0x8&0xff;_0xbde6e2[_0x388f1f(0x203)]((_0x59f5b2>>>0x4)['toString'](0x10)),_0xbde6e2[_0x388f1f(0x203)]((_0x59f5b2&0xf)['toString'](0x10));}return _0xbde6e2['join']('');},'parse':function(_0x364d24){const _0x5afc5e=_0x55caba;for(var _0x45b69a=_0x364d24[_0x5afc5e(0x272)],_0x3aa34b=[],_0x94212a=0x0;_0x94212a<_0x45b69a;_0x94212a+=0x2)_0x3aa34b[_0x94212a>>>0x3]|=parseInt(_0x364d24[_0x5afc5e(0x2d5)](_0x94212a,0x2),0x10)<<0x18-_0x94212a%0x8*0x4;return new _0x47d0f2[(_0x5afc5e(0x299))](_0x3aa34b,_0x45b69a/0x2);}},_0x1a697d=_0x5d91be['Latin1']={'stringify':function(_0x5b43c5){const _0x3ada49=_0x55caba;for(var _0x124f1f=_0x5b43c5[_0x3ada49(0x256)],_0x4ba4e2=_0x5b43c5[_0x3ada49(0x1b1)],_0x48659a=[],_0x57ce0d=0x0;_0x57ce0d<_0x4ba4e2;_0x57ce0d++){var _0x28b424=_0x124f1f[_0x57ce0d>>>0x2]>>>0x18-_0x57ce0d%0x4*0x8&0xff;_0x48659a[_0x3ada49(0x203)](String[_0x3ada49(0x347)](_0x28b424));}return _0x48659a['join']('');},'parse':function(_0x441b01){const _0x8fa704=_0x55caba;for(var _0x77afa0=_0x441b01['length'],_0x2f9d0d=[],_0x163bcf=0x0;_0x163bcf<_0x77afa0;_0x163bcf++)_0x2f9d0d[_0x163bcf>>>0x2]|=(_0x441b01['charCodeAt'](_0x163bcf)&0xff)<<0x18-_0x163bcf%0x4*0x8;return new _0x47d0f2[(_0x8fa704(0x299))](_0x2f9d0d,_0x77afa0);}},_0x59f467=_0x5d91be[_0x55caba(0xf4)]={'stringify':function(_0x177a53){const _0x315cfd=_0x55caba;try{return decodeURIComponent(escape(_0x1a697d['stringify'](_0x177a53)));}catch{throw new Error(_0x315cfd(0x24b));}},'parse':function(_0x407e06){return _0x1a697d['parse'](unescape(encodeURIComponent(_0x407e06)));}},_0x492255=_0x58822c['BufferedBlockAlgorithm']=_0x53b37f['extend']({'reset':function(){const _0x4389fe=_0x55caba;this[_0x4389fe(0x198)]=new _0x47d0f2[(_0x4389fe(0x299))](),this[_0x4389fe(0x49c)]=0x0;},'_append':function(_0x4812a7){const _0x400d6b=_0x55caba;typeof _0x4812a7=='string'&&(_0x4812a7=_0x59f467['parse'](_0x4812a7)),this[_0x400d6b(0x198)][_0x400d6b(0x40b)](_0x4812a7),this[_0x400d6b(0x49c)]+=_0x4812a7[_0x400d6b(0x1b1)];},'_process':function(_0x35b425){const _0x2863f0=_0x55caba;var _0x1c3b00,_0x4a186d=this[_0x2863f0(0x198)],_0x12484e=_0x4a186d[_0x2863f0(0x256)],_0x3972a3=_0x4a186d[_0x2863f0(0x1b1)],_0x4783ff=this[_0x2863f0(0x19f)],_0x2da024=_0x4783ff*0x4,_0x47ef08=_0x3972a3/_0x2da024;_0x35b425?_0x47ef08=_0x29d85e[_0x2863f0(0x428)](_0x47ef08):_0x47ef08=_0x29d85e[_0x2863f0(0x150)]((_0x47ef08|0x0)-this[_0x2863f0(0x493)],0x0);var _0x3b2784=_0x47ef08*_0x4783ff,_0x42e883=_0x29d85e[_0x2863f0(0x3ab)](_0x3b2784*0x4,_0x3972a3);if(_0x3b2784){for(var _0x12d324=0x0;_0x12d324<_0x3b2784;_0x12d324+=_0x4783ff)this[_0x2863f0(0x3c3)](_0x12484e,_0x12d324);_0x1c3b00=_0x12484e[_0x2863f0(0x53d)](0x0,_0x3b2784),_0x4a186d['sigBytes']-=_0x42e883;}return new _0x47d0f2[(_0x2863f0(0x299))](_0x1c3b00,_0x42e883);},'clone':function(){const _0x2e4728=_0x55caba;var _0x5596da=_0x53b37f[_0x2e4728(0x27e)]['call'](this);return _0x5596da[_0x2e4728(0x198)]=this[_0x2e4728(0x198)][_0x2e4728(0x27e)](),_0x5596da;},'_minBufferSize':0x0});_0x58822c[_0x55caba(0x26e)]=_0x492255[_0x55caba(0x279)]({'cfg':_0x53b37f['extend'](),'init':function(_0x53338c){const _0x1dee62=_0x55caba;this[_0x1dee62(0x59f)]=this['cfg'][_0x1dee62(0x279)](_0x53338c),this['reset']();},'reset':function(){const _0x407deb=_0x55caba;_0x492255[_0x407deb(0x1ee)][_0x407deb(0x3b4)](this),this['_doReset']();},'update':function(_0x41e828){const _0x56388b=_0x55caba;return this['_append'](_0x41e828),this[_0x56388b(0x2ce)](),this;},'finalize':function(_0x465203){const _0x91190c=_0x55caba;_0x465203&&this[_0x91190c(0x598)](_0x465203);var _0x485fb1=this[_0x91190c(0x125)]();return _0x485fb1;},'blockSize':0x10,'_createHelper':function(_0xddf5a5){return function(_0x2da073,_0x3cc317){const _0x5bd64a=_0x586f;return new _0xddf5a5['init'](_0x3cc317)[_0x5bd64a(0x3b3)](_0x2da073);};},'_createHmacHelper':function(_0x20438f){return function(_0x5900dd,_0x17905b){const _0x468dbc=_0x586f;return new _0x316bc7[(_0x468dbc(0x392))]['init'](_0x20438f,_0x17905b)[_0x468dbc(0x3b3)](_0x5900dd);};}});var _0x316bc7=_0x3b2a77[_0x55caba(0x306)]={};return _0x3b2a77;}(Math);return _0x15973c;}));}(_0x5a6cd8)),_0x5a6cd8[_0x117ee3(0x50a)];}var _0x2e66a0={'exports':{}},_0x209e46;function _0x25dbd1(){return _0x209e46||(_0x209e46=0x1,function(_0x508fad,_0x113dbc){(function(_0x5b8935,_0x2e5259){const _0x56153f=_0x586f;_0x508fad[_0x56153f(0x50a)]=_0x2e5259(_0x50a408());}(_0x4b3743,function(_0x5aab40){const _0x57a710=_0x586f;return(function(){const _0x1a61c7=_0x586f;var _0xaf0435=_0x5aab40,_0x5e7297=_0xaf0435[_0x1a61c7(0x59b)],_0x5cf641=_0x5e7297['WordArray'],_0x15ba6e=_0xaf0435[_0x1a61c7(0x4d7)];_0x15ba6e[_0x1a61c7(0x1ac)]={'stringify':function(_0x10c889){const _0x570dc8=_0x1a61c7;var _0xbe5d60=_0x10c889[_0x570dc8(0x256)],_0x2150b0=_0x10c889['sigBytes'],_0x3ea455=this[_0x570dc8(0x588)];_0x10c889[_0x570dc8(0x546)]();for(var _0x1faeb7=[],_0x1fa664=0x0;_0x1fa664<_0x2150b0;_0x1fa664+=0x3)for(var _0xb863b6=_0xbe5d60[_0x1fa664>>>0x2]>>>0x18-_0x1fa664%0x4*0x8&0xff,_0x5b71f3=_0xbe5d60[_0x1fa664+0x1>>>0x2]>>>0x18-(_0x1fa664+0x1)%0x4*0x8&0xff,_0x59f610=_0xbe5d60[_0x1fa664+0x2>>>0x2]>>>0x18-(_0x1fa664+0x2)%0x4*0x8&0xff,_0x36baa1=_0xb863b6<<0x10|_0x5b71f3<<0x8|_0x59f610,_0x15df56=0x0;_0x15df56<0x4&&_0x1fa664+_0x15df56*0.75<_0x2150b0;_0x15df56++)_0x1faeb7[_0x570dc8(0x203)](_0x3ea455['charAt'](_0x36baa1>>>0x6*(0x3-_0x15df56)&0x3f));var _0x3b2641=_0x3ea455[_0x570dc8(0x4ce)](0x40);if(_0x3b2641){for(;_0x1faeb7[_0x570dc8(0x272)]%0x4;)_0x1faeb7[_0x570dc8(0x203)](_0x3b2641);}return _0x1faeb7[_0x570dc8(0x382)]('');},'parse':function(_0x1c22f9){const _0x584ac7=_0x1a61c7;var _0xc8df23=_0x1c22f9[_0x584ac7(0x272)],_0x2050e2=this[_0x584ac7(0x588)],_0x1556c1=this[_0x584ac7(0x209)];if(!_0x1556c1){_0x1556c1=this['_reverseMap']=[];for(var _0x44ec5d=0x0;_0x44ec5d<_0x2050e2[_0x584ac7(0x272)];_0x44ec5d++)_0x1556c1[_0x2050e2[_0x584ac7(0x27a)](_0x44ec5d)]=_0x44ec5d;}var _0x4b4046=_0x2050e2[_0x584ac7(0x4ce)](0x40);if(_0x4b4046){var _0x19964e=_0x1c22f9[_0x584ac7(0x222)](_0x4b4046);_0x19964e!==-0x1&&(_0xc8df23=_0x19964e);}return _0x249bcc(_0x1c22f9,_0xc8df23,_0x1556c1);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x249bcc(_0x4e11f9,_0x5875bc,_0x1b7816){const _0x23471f=_0x1a61c7;for(var _0x36a4b8=[],_0x320f43=0x0,_0x2d9179=0x0;_0x2d9179<_0x5875bc;_0x2d9179++)if(_0x2d9179%0x4){var _0x4c6832=_0x1b7816[_0x4e11f9[_0x23471f(0x27a)](_0x2d9179-0x1)]<<_0x2d9179%0x4*0x2,_0x21b1fb=_0x1b7816[_0x4e11f9['charCodeAt'](_0x2d9179)]>>>0x6-_0x2d9179%0x4*0x2,_0x4e4e07=_0x4c6832|_0x21b1fb;_0x36a4b8[_0x320f43>>>0x2]|=_0x4e4e07<<0x18-_0x320f43%0x4*0x8,_0x320f43++;}return _0x5cf641[_0x23471f(0x4ee)](_0x36a4b8,_0x320f43);}}()),_0x5aab40[_0x57a710(0x4d7)][_0x57a710(0x1ac)];}));}(_0x2e66a0)),_0x2e66a0['exports'];}var _0x259c34={'exports':{}},_0x546f53;function _0xce1d1b(){return _0x546f53||(_0x546f53=0x1,function(_0x48342d,_0x3c0eeb){(function(_0xc403f1,_0x660e0){const _0x5602f7=_0x586f;_0x48342d[_0x5602f7(0x50a)]=_0x660e0(_0x50a408());}(_0x4b3743,function(_0x3a4526){const _0x29fe04=_0x586f;return function(_0x1df895){const _0x15a2f7=_0x586f;var _0x5331e9=_0x3a4526,_0x4cdb91=_0x5331e9[_0x15a2f7(0x59b)],_0x288efb=_0x4cdb91[_0x15a2f7(0x5a2)],_0x5e6219=_0x4cdb91[_0x15a2f7(0x26e)],_0x53967c=_0x5331e9[_0x15a2f7(0x306)],_0xcae48=[];(function(){const _0x5d160a=_0x15a2f7;for(var _0x4f3972=0x0;_0x4f3972<0x40;_0x4f3972++)_0xcae48[_0x4f3972]=_0x1df895[_0x5d160a(0x2ee)](_0x1df895[_0x5d160a(0x39f)](_0x4f3972+0x1))*0x100000000|0x0;}());var _0x1418aa=_0x53967c[_0x15a2f7(0x2cc)]=_0x5e6219[_0x15a2f7(0x279)]({'_doReset':function(){const _0x60121d=_0x15a2f7;this[_0x60121d(0x284)]=new _0x288efb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5532f8,_0x103190){const _0x398bcb=_0x15a2f7;for(var _0x5683df=0x0;_0x5683df<0x10;_0x5683df++){var _0xb45180=_0x103190+_0x5683df,_0x1ec361=_0x5532f8[_0xb45180];_0x5532f8[_0xb45180]=(_0x1ec361<<0x8|_0x1ec361>>>0x18)&0xff00ff|(_0x1ec361<<0x18|_0x1ec361>>>0x8)&0xff00ff00;}var _0x5f013e=this[_0x398bcb(0x284)][_0x398bcb(0x256)],_0x35eed8=_0x5532f8[_0x103190+0x0],_0x174b44=_0x5532f8[_0x103190+0x1],_0xfcece5=_0x5532f8[_0x103190+0x2],_0x596b5d=_0x5532f8[_0x103190+0x3],_0x121c8f=_0x5532f8[_0x103190+0x4],_0x404cd2=_0x5532f8[_0x103190+0x5],_0x272564=_0x5532f8[_0x103190+0x6],_0x570bb4=_0x5532f8[_0x103190+0x7],_0x999ca=_0x5532f8[_0x103190+0x8],_0x18cf1b=_0x5532f8[_0x103190+0x9],_0x43cf63=_0x5532f8[_0x103190+0xa],_0x540f9b=_0x5532f8[_0x103190+0xb],_0x213bb8=_0x5532f8[_0x103190+0xc],_0x2b2838=_0x5532f8[_0x103190+0xd],_0x2b8a65=_0x5532f8[_0x103190+0xe],_0x278341=_0x5532f8[_0x103190+0xf],_0x178fb3=_0x5f013e[0x0],_0x503ad7=_0x5f013e[0x1],_0x44f62c=_0x5f013e[0x2],_0x2e6f98=_0x5f013e[0x3];_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x35eed8,0x7,_0xcae48[0x0]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x174b44,0xc,_0xcae48[0x1]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0xfcece5,0x11,_0xcae48[0x2]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x596b5d,0x16,_0xcae48[0x3]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x121c8f,0x7,_0xcae48[0x4]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x404cd2,0xc,_0xcae48[0x5]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x272564,0x11,_0xcae48[0x6]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x570bb4,0x16,_0xcae48[0x7]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x999ca,0x7,_0xcae48[0x8]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x18cf1b,0xc,_0xcae48[0x9]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x43cf63,0x11,_0xcae48[0xa]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x540f9b,0x16,_0xcae48[0xb]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x213bb8,0x7,_0xcae48[0xc]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x2b2838,0xc,_0xcae48[0xd]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x2b8a65,0x11,_0xcae48[0xe]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x278341,0x16,_0xcae48[0xf]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x174b44,0x5,_0xcae48[0x10]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x272564,0x9,_0xcae48[0x11]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x540f9b,0xe,_0xcae48[0x12]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x35eed8,0x14,_0xcae48[0x13]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x404cd2,0x5,_0xcae48[0x14]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x43cf63,0x9,_0xcae48[0x15]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x278341,0xe,_0xcae48[0x16]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x121c8f,0x14,_0xcae48[0x17]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x18cf1b,0x5,_0xcae48[0x18]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x2b8a65,0x9,_0xcae48[0x19]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x596b5d,0xe,_0xcae48[0x1a]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x999ca,0x14,_0xcae48[0x1b]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x2b2838,0x5,_0xcae48[0x1c]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0xfcece5,0x9,_0xcae48[0x1d]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x570bb4,0xe,_0xcae48[0x1e]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x213bb8,0x14,_0xcae48[0x1f]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x404cd2,0x4,_0xcae48[0x20]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x999ca,0xb,_0xcae48[0x21]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x540f9b,0x10,_0xcae48[0x22]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x2b8a65,0x17,_0xcae48[0x23]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x174b44,0x4,_0xcae48[0x24]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x121c8f,0xb,_0xcae48[0x25]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x570bb4,0x10,_0xcae48[0x26]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x43cf63,0x17,_0xcae48[0x27]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x2b2838,0x4,_0xcae48[0x28]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x35eed8,0xb,_0xcae48[0x29]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x596b5d,0x10,_0xcae48[0x2a]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x272564,0x17,_0xcae48[0x2b]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x18cf1b,0x4,_0xcae48[0x2c]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x213bb8,0xb,_0xcae48[0x2d]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x278341,0x10,_0xcae48[0x2e]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0xfcece5,0x17,_0xcae48[0x2f]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x35eed8,0x6,_0xcae48[0x30]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x570bb4,0xa,_0xcae48[0x31]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x2b8a65,0xf,_0xcae48[0x32]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x404cd2,0x15,_0xcae48[0x33]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x213bb8,0x6,_0xcae48[0x34]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x596b5d,0xa,_0xcae48[0x35]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x43cf63,0xf,_0xcae48[0x36]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x174b44,0x15,_0xcae48[0x37]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x999ca,0x6,_0xcae48[0x38]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x278341,0xa,_0xcae48[0x39]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x272564,0xf,_0xcae48[0x3a]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x2b2838,0x15,_0xcae48[0x3b]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x121c8f,0x6,_0xcae48[0x3c]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x540f9b,0xa,_0xcae48[0x3d]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0xfcece5,0xf,_0xcae48[0x3e]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x18cf1b,0x15,_0xcae48[0x3f]),_0x5f013e[0x0]=_0x5f013e[0x0]+_0x178fb3|0x0,_0x5f013e[0x1]=_0x5f013e[0x1]+_0x503ad7|0x0,_0x5f013e[0x2]=_0x5f013e[0x2]+_0x44f62c|0x0,_0x5f013e[0x3]=_0x5f013e[0x3]+_0x2e6f98|0x0;},'_doFinalize':function(){const _0x5ca0b2=_0x15a2f7;var _0x507c21=this[_0x5ca0b2(0x198)],_0x137614=_0x507c21[_0x5ca0b2(0x256)],_0x2ddc07=this['_nDataBytes']*0x8,_0x37316f=_0x507c21[_0x5ca0b2(0x1b1)]*0x8;_0x137614[_0x37316f>>>0x5]|=0x80<<0x18-_0x37316f%0x20;var _0x6f91c6=_0x1df895[_0x5ca0b2(0x1c2)](_0x2ddc07/0x100000000),_0x45f07c=_0x2ddc07;_0x137614[(_0x37316f+0x40>>>0x9<<0x4)+0xf]=(_0x6f91c6<<0x8|_0x6f91c6>>>0x18)&0xff00ff|(_0x6f91c6<<0x18|_0x6f91c6>>>0x8)&0xff00ff00,_0x137614[(_0x37316f+0x40>>>0x9<<0x4)+0xe]=(_0x45f07c<<0x8|_0x45f07c>>>0x18)&0xff00ff|(_0x45f07c<<0x18|_0x45f07c>>>0x8)&0xff00ff00,_0x507c21[_0x5ca0b2(0x1b1)]=(_0x137614[_0x5ca0b2(0x272)]+0x1)*0x4,this[_0x5ca0b2(0x2ce)]();for(var _0x12b54a=this['_hash'],_0x214cd7=_0x12b54a['words'],_0x358b6b=0x0;_0x358b6b<0x4;_0x358b6b++){var _0x57d09c=_0x214cd7[_0x358b6b];_0x214cd7[_0x358b6b]=(_0x57d09c<<0x8|_0x57d09c>>>0x18)&0xff00ff|(_0x57d09c<<0x18|_0x57d09c>>>0x8)&0xff00ff00;}return _0x12b54a;},'clone':function(){const _0x5e9971=_0x15a2f7;var _0x10f771=_0x5e6219['clone'][_0x5e9971(0x3b4)](this);return _0x10f771[_0x5e9971(0x284)]=this[_0x5e9971(0x284)]['clone'](),_0x10f771;}});function _0x2fe30e(_0x4632ca,_0x2210dd,_0xeaa06f,_0x905e5e,_0x2b7120,_0x45fa46,_0x516ba2){var _0x40a78e=_0x4632ca+(_0x2210dd&_0xeaa06f|~_0x2210dd&_0x905e5e)+_0x2b7120+_0x516ba2;return(_0x40a78e<<_0x45fa46|_0x40a78e>>>0x20-_0x45fa46)+_0x2210dd;}function _0x5a9d08(_0x2175ab,_0x10e779,_0x5e34eb,_0x172097,_0x4757ef,_0x57b06b,_0x5ccdf2){var _0x3a2345=_0x2175ab+(_0x10e779&_0x172097|_0x5e34eb&~_0x172097)+_0x4757ef+_0x5ccdf2;return(_0x3a2345<<_0x57b06b|_0x3a2345>>>0x20-_0x57b06b)+_0x10e779;}function _0x5120b0(_0x1d187a,_0x2bb157,_0xd4fdcc,_0x4026d1,_0xf4c3c0,_0x282a80,_0x1f83a0){var _0x7536a2=_0x1d187a+(_0x2bb157^_0xd4fdcc^_0x4026d1)+_0xf4c3c0+_0x1f83a0;return(_0x7536a2<<_0x282a80|_0x7536a2>>>0x20-_0x282a80)+_0x2bb157;}function _0x385d3b(_0x312bea,_0x5c6fd3,_0x240b07,_0x360e6c,_0x3edd44,_0x1adb9c,_0x435642){var _0x43ca0f=_0x312bea+(_0x240b07^(_0x5c6fd3|~_0x360e6c))+_0x3edd44+_0x435642;return(_0x43ca0f<<_0x1adb9c|_0x43ca0f>>>0x20-_0x1adb9c)+_0x5c6fd3;}_0x5331e9['MD5']=_0x5e6219[_0x15a2f7(0x18c)](_0x1418aa),_0x5331e9[_0x15a2f7(0x224)]=_0x5e6219['_createHmacHelper'](_0x1418aa);}(Math),_0x3a4526[_0x29fe04(0x2cc)];}));}(_0x259c34)),_0x259c34['exports'];}var _0x8d2d57={'exports':{}},_0x4d5964={'exports':{}},_0x228cce;function _0x2bd429(){const _0x41d9bb=_0x16631f;return _0x228cce||(_0x228cce=0x1,function(_0x548326,_0x227b95){(function(_0x30cd37,_0x3b26b5){const _0xfe90b3=_0x586f;_0x548326[_0xfe90b3(0x50a)]=_0x3b26b5(_0x50a408());}(_0x4b3743,function(_0x5d7782){const _0x9ed26f=_0x586f;return(function(){const _0x31fbf5=_0x586f;var _0x3c2239=_0x5d7782,_0x52b4e1=_0x3c2239['lib'],_0x51f7f4=_0x52b4e1[_0x31fbf5(0x5a2)],_0x44c8cc=_0x52b4e1[_0x31fbf5(0x26e)],_0x8b2a76=_0x3c2239['algo'],_0x146712=[],_0x46da41=_0x8b2a76['SHA1']=_0x44c8cc[_0x31fbf5(0x279)]({'_doReset':function(){const _0x40668f=_0x31fbf5;this[_0x40668f(0x284)]=new _0x51f7f4[(_0x40668f(0x299))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f8f28,_0x365538){const _0x19a70a=_0x31fbf5;for(var _0x4e3f58=this[_0x19a70a(0x284)][_0x19a70a(0x256)],_0x3a529b=_0x4e3f58[0x0],_0x414a82=_0x4e3f58[0x1],_0x182c9b=_0x4e3f58[0x2],_0x22ed27=_0x4e3f58[0x3],_0x59db84=_0x4e3f58[0x4],_0x3f73e7=0x0;_0x3f73e7<0x50;_0x3f73e7++){if(_0x3f73e7<0x10)_0x146712[_0x3f73e7]=_0x2f8f28[_0x365538+_0x3f73e7]|0x0;else{var _0x447286=_0x146712[_0x3f73e7-0x3]^_0x146712[_0x3f73e7-0x8]^_0x146712[_0x3f73e7-0xe]^_0x146712[_0x3f73e7-0x10];_0x146712[_0x3f73e7]=_0x447286<<0x1|_0x447286>>>0x1f;}var _0x22d7a9=(_0x3a529b<<0x5|_0x3a529b>>>0x1b)+_0x59db84+_0x146712[_0x3f73e7];_0x3f73e7<0x14?_0x22d7a9+=(_0x414a82&_0x182c9b|~_0x414a82&_0x22ed27)+0x5a827999:_0x3f73e7<0x28?_0x22d7a9+=(_0x414a82^_0x182c9b^_0x22ed27)+0x6ed9eba1:_0x3f73e7<0x3c?_0x22d7a9+=(_0x414a82&_0x182c9b|_0x414a82&_0x22ed27|_0x182c9b&_0x22ed27)-0x70e44324:_0x22d7a9+=(_0x414a82^_0x182c9b^_0x22ed27)-0x359d3e2a,_0x59db84=_0x22ed27,_0x22ed27=_0x182c9b,_0x182c9b=_0x414a82<<0x1e|_0x414a82>>>0x2,_0x414a82=_0x3a529b,_0x3a529b=_0x22d7a9;}_0x4e3f58[0x0]=_0x4e3f58[0x0]+_0x3a529b|0x0,_0x4e3f58[0x1]=_0x4e3f58[0x1]+_0x414a82|0x0,_0x4e3f58[0x2]=_0x4e3f58[0x2]+_0x182c9b|0x0,_0x4e3f58[0x3]=_0x4e3f58[0x3]+_0x22ed27|0x0,_0x4e3f58[0x4]=_0x4e3f58[0x4]+_0x59db84|0x0;},'_doFinalize':function(){const _0x27cb41=_0x31fbf5;var _0x44d133=this[_0x27cb41(0x198)],_0x4dca99=_0x44d133[_0x27cb41(0x256)],_0x2b18a6=this['_nDataBytes']*0x8,_0x1723bd=_0x44d133[_0x27cb41(0x1b1)]*0x8;return _0x4dca99[_0x1723bd>>>0x5]|=0x80<<0x18-_0x1723bd%0x20,_0x4dca99[(_0x1723bd+0x40>>>0x9<<0x4)+0xe]=Math[_0x27cb41(0x1c2)](_0x2b18a6/0x100000000),_0x4dca99[(_0x1723bd+0x40>>>0x9<<0x4)+0xf]=_0x2b18a6,_0x44d133[_0x27cb41(0x1b1)]=_0x4dca99[_0x27cb41(0x272)]*0x4,this[_0x27cb41(0x2ce)](),this['_hash'];},'clone':function(){const _0x3b7cfa=_0x31fbf5;var _0x5cb135=_0x44c8cc[_0x3b7cfa(0x27e)][_0x3b7cfa(0x3b4)](this);return _0x5cb135[_0x3b7cfa(0x284)]=this[_0x3b7cfa(0x284)]['clone'](),_0x5cb135;}});_0x3c2239['SHA1']=_0x44c8cc[_0x31fbf5(0x18c)](_0x46da41),_0x3c2239[_0x31fbf5(0x4c6)]=_0x44c8cc['_createHmacHelper'](_0x46da41);}()),_0x5d7782[_0x9ed26f(0x4b7)];}));}(_0x4d5964)),_0x4d5964[_0x41d9bb(0x50a)];}var _0x1c2409={'exports':{}},_0x4005c6;function _0x65f4f1(){return _0x4005c6||(_0x4005c6=0x1,function(_0x10b726,_0x100d54){(function(_0x41a451,_0x57a4e2){const _0x577469=_0x586f;_0x10b726[_0x577469(0x50a)]=_0x57a4e2(_0x50a408());}(_0x4b3743,function(_0x1acdab){(function(){const _0x12b27b=_0x586f;var _0x45f4c7=_0x1acdab,_0x4c233d=_0x45f4c7[_0x12b27b(0x59b)],_0x5b63a9=_0x4c233d[_0x12b27b(0x3b8)],_0x14385c=_0x45f4c7[_0x12b27b(0x4d7)],_0x2f642b=_0x14385c['Utf8'],_0x200840=_0x45f4c7[_0x12b27b(0x306)];_0x200840[_0x12b27b(0x392)]=_0x5b63a9['extend']({'init':function(_0x25aa7d,_0x4e6617){const _0x29a861=_0x12b27b;_0x25aa7d=this['_hasher']=new _0x25aa7d[(_0x29a861(0x299))](),typeof _0x4e6617==_0x29a861(0x18e)&&(_0x4e6617=_0x2f642b[_0x29a861(0x4c5)](_0x4e6617));var _0x26d177=_0x25aa7d[_0x29a861(0x19f)],_0x668065=_0x26d177*0x4;_0x4e6617[_0x29a861(0x1b1)]>_0x668065&&(_0x4e6617=_0x25aa7d[_0x29a861(0x3b3)](_0x4e6617)),_0x4e6617[_0x29a861(0x546)]();for(var _0x4c831d=this[_0x29a861(0x4c0)]=_0x4e6617[_0x29a861(0x27e)](),_0x12c90e=this[_0x29a861(0x4f6)]=_0x4e6617['clone'](),_0x286103=_0x4c831d[_0x29a861(0x256)],_0x44f3ad=_0x12c90e[_0x29a861(0x256)],_0x118e8a=0x0;_0x118e8a<_0x26d177;_0x118e8a++)_0x286103[_0x118e8a]^=0x5c5c5c5c,_0x44f3ad[_0x118e8a]^=0x36363636;_0x4c831d['sigBytes']=_0x12c90e['sigBytes']=_0x668065,this['reset']();},'reset':function(){const _0x79f24d=_0x12b27b;var _0x524ebd=this['_hasher'];_0x524ebd[_0x79f24d(0x1ee)](),_0x524ebd[_0x79f24d(0x40d)](this[_0x79f24d(0x4f6)]);},'update':function(_0x1299e7){const _0xc0ba53=_0x12b27b;return this[_0xc0ba53(0x325)][_0xc0ba53(0x40d)](_0x1299e7),this;},'finalize':function(_0x517b3d){const _0x2adcfa=_0x12b27b;var _0x20884a=this['_hasher'],_0x4b2443=_0x20884a[_0x2adcfa(0x3b3)](_0x517b3d);_0x20884a[_0x2adcfa(0x1ee)]();var _0x49c671=_0x20884a[_0x2adcfa(0x3b3)](this['_oKey'][_0x2adcfa(0x27e)]()[_0x2adcfa(0x40b)](_0x4b2443));return _0x49c671;}});}());}));}(_0x1c2409)),_0x1c2409['exports'];}var _0x152977;function _0x4f0e2d(){const _0x32095e=_0x16631f;return _0x152977||(_0x152977=0x1,function(_0x4e2c49,_0x54ddbf){(function(_0x1edc9c,_0x3a2b13,_0x7d4a99){const _0x5ba682=_0x586f;_0x4e2c49[_0x5ba682(0x50a)]=_0x3a2b13(_0x50a408(),_0x2bd429(),_0x65f4f1());}(_0x4b3743,function(_0x5283c4){return(function(){const _0x1985ed=_0x586f;var _0x280345=_0x5283c4,_0x123b87=_0x280345[_0x1985ed(0x59b)],_0x4c3692=_0x123b87['Base'],_0xe321d=_0x123b87['WordArray'],_0x2ca729=_0x280345[_0x1985ed(0x306)],_0xfd3794=_0x2ca729[_0x1985ed(0x2cc)],_0x57ca96=_0x2ca729['EvpKDF']=_0x4c3692['extend']({'cfg':_0x4c3692['extend']({'keySize':0x80/0x20,'hasher':_0xfd3794,'iterations':0x1}),'init':function(_0xfdfb40){const _0x8d6c00=_0x1985ed;this['cfg']=this['cfg'][_0x8d6c00(0x279)](_0xfdfb40);},'compute':function(_0x51ac15,_0x4cd306){const _0x3b1b35=_0x1985ed;for(var _0x50b052,_0x2cc26e=this[_0x3b1b35(0x59f)],_0x228db1=_0x2cc26e[_0x3b1b35(0x225)]['create'](),_0x44ac96=_0xe321d[_0x3b1b35(0x4ee)](),_0x1afaf6=_0x44ac96[_0x3b1b35(0x256)],_0x3b1a7d=_0x2cc26e[_0x3b1b35(0x2af)],_0x9fbf0e=_0x2cc26e['iterations'];_0x1afaf6[_0x3b1b35(0x272)]<_0x3b1a7d;){_0x50b052&&_0x228db1[_0x3b1b35(0x40d)](_0x50b052),_0x50b052=_0x228db1[_0x3b1b35(0x40d)](_0x51ac15)[_0x3b1b35(0x3b3)](_0x4cd306),_0x228db1[_0x3b1b35(0x1ee)]();for(var _0x37d70a=0x1;_0x37d70a<_0x9fbf0e;_0x37d70a++)_0x50b052=_0x228db1['finalize'](_0x50b052),_0x228db1[_0x3b1b35(0x1ee)]();_0x44ac96[_0x3b1b35(0x40b)](_0x50b052);}return _0x44ac96[_0x3b1b35(0x1b1)]=_0x3b1a7d*0x4,_0x44ac96;}});_0x280345[_0x1985ed(0x563)]=function(_0x28ee3e,_0x1d92fb,_0x56b262){const _0x1b9d0e=_0x1985ed;return _0x57ca96[_0x1b9d0e(0x4ee)](_0x56b262)[_0x1b9d0e(0x4e8)](_0x28ee3e,_0x1d92fb);};}()),_0x5283c4['EvpKDF'];}));}(_0x8d2d57)),_0x8d2d57[_0x32095e(0x50a)];}var _0x210bb4={'exports':{}},_0x491f76;function _0x1e9ef0(){return _0x491f76||(_0x491f76=0x1,function(_0x49b610,_0x5b1ca3){(function(_0x2e18a6,_0x138061,_0xd3ff1b){const _0xb8c435=_0x586f;_0x49b610[_0xb8c435(0x50a)]=_0x138061(_0x50a408(),_0x4f0e2d());}(_0x4b3743,function(_0x4f531b){const _0x56929f=_0x586f;_0x4f531b['lib'][_0x56929f(0x26c)]||function(_0x1bd89b){const _0xc39ffe=_0x56929f;var _0x5dd2ea=_0x4f531b,_0x469414=_0x5dd2ea[_0xc39ffe(0x59b)],_0x39d1fa=_0x469414[_0xc39ffe(0x3b8)],_0x23d299=_0x469414[_0xc39ffe(0x5a2)],_0x27429b=_0x469414['BufferedBlockAlgorithm'],_0x1f2971=_0x5dd2ea[_0xc39ffe(0x4d7)];_0x1f2971['Utf8'];var _0x34190b=_0x1f2971[_0xc39ffe(0x1ac)],_0x90ee39=_0x5dd2ea[_0xc39ffe(0x306)],_0x5dae4d=_0x90ee39[_0xc39ffe(0x563)],_0x5b2086=_0x469414['Cipher']=_0x27429b[_0xc39ffe(0x279)]({'cfg':_0x39d1fa[_0xc39ffe(0x279)](),'createEncryptor':function(_0x2c911f,_0x24f916){const _0x4e7512=_0xc39ffe;return this[_0x4e7512(0x4ee)](this['_ENC_XFORM_MODE'],_0x2c911f,_0x24f916);},'createDecryptor':function(_0x1b0df7,_0x309d15){const _0x14337c=_0xc39ffe;return this[_0x14337c(0x4ee)](this[_0x14337c(0x36e)],_0x1b0df7,_0x309d15);},'init':function(_0xcd4752,_0x25b8d3,_0x333bc4){const _0x3fe9ab=_0xc39ffe;this[_0x3fe9ab(0x59f)]=this[_0x3fe9ab(0x59f)][_0x3fe9ab(0x279)](_0x333bc4),this[_0x3fe9ab(0x1c0)]=_0xcd4752,this[_0x3fe9ab(0x3ec)]=_0x25b8d3,this[_0x3fe9ab(0x1ee)]();},'reset':function(){const _0x276a77=_0xc39ffe;_0x27429b[_0x276a77(0x1ee)][_0x276a77(0x3b4)](this),this[_0x276a77(0x368)]();},'process':function(_0x3f1c9a){return this['_append'](_0x3f1c9a),this['_process']();},'finalize':function(_0x1a7456){const _0x505abd=_0xc39ffe;_0x1a7456&&this[_0x505abd(0x598)](_0x1a7456);var _0xfe136b=this['_doFinalize']();return _0xfe136b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x48d1b9(_0x4fab20){const _0x5af6ae=_0x586f;return typeof _0x4fab20==_0x5af6ae(0x18e)?_0x203d52:_0x509bd0;}return function(_0x4ca214){return{'encrypt':function(_0x23121f,_0x1a8714,_0x4410de){const _0x26bca7=_0x586f;return _0x48d1b9(_0x1a8714)[_0x26bca7(0x25b)](_0x4ca214,_0x23121f,_0x1a8714,_0x4410de);},'decrypt':function(_0x124893,_0x243a41,_0x274e74){return _0x48d1b9(_0x243a41)['decrypt'](_0x4ca214,_0x124893,_0x243a41,_0x274e74);}};};}())});_0x469414[_0xc39ffe(0x4fb)]=_0x5b2086[_0xc39ffe(0x279)]({'_doFinalize':function(){const _0x23f975=_0xc39ffe;var _0x923230=this[_0x23f975(0x2ce)](!0x0);return _0x923230;},'blockSize':0x1});var _0x41cb73=_0x5dd2ea['mode']={},_0x2f37a3=_0x469414['BlockCipherMode']=_0x39d1fa[_0xc39ffe(0x279)]({'createEncryptor':function(_0x526346,_0x248d1f){const _0x396c35=_0xc39ffe;return this[_0x396c35(0x3fe)][_0x396c35(0x4ee)](_0x526346,_0x248d1f);},'createDecryptor':function(_0x23b33a,_0x1a1e33){return this['Decryptor']['create'](_0x23b33a,_0x1a1e33);},'init':function(_0x1521aa,_0xf90bac){const _0x20d4e4=_0xc39ffe;this['_cipher']=_0x1521aa,this[_0x20d4e4(0x2ec)]=_0xf90bac;}}),_0x588aff=_0x41cb73[_0xc39ffe(0x2cf)]=(function(){const _0x214a2e=_0xc39ffe;var _0x3f0094=_0x2f37a3[_0x214a2e(0x279)]();_0x3f0094['Encryptor']=_0x3f0094[_0x214a2e(0x279)]({'processBlock':function(_0x56cef5,_0x216941){const _0x326624=_0x214a2e;var _0x1ee6d8=this['_cipher'],_0x54ca44=_0x1ee6d8[_0x326624(0x19f)];_0x1827c5['call'](this,_0x56cef5,_0x216941,_0x54ca44),_0x1ee6d8[_0x326624(0x54b)](_0x56cef5,_0x216941),this['_prevBlock']=_0x56cef5[_0x326624(0x38d)](_0x216941,_0x216941+_0x54ca44);}}),_0x3f0094[_0x214a2e(0x194)]=_0x3f0094[_0x214a2e(0x279)]({'processBlock':function(_0x7b9acb,_0x47bc23){const _0x4f5e36=_0x214a2e;var _0x2b8b92=this[_0x4f5e36(0x39d)],_0x128e8b=_0x2b8b92[_0x4f5e36(0x19f)],_0x4e99a9=_0x7b9acb[_0x4f5e36(0x38d)](_0x47bc23,_0x47bc23+_0x128e8b);_0x2b8b92[_0x4f5e36(0x2c3)](_0x7b9acb,_0x47bc23),_0x1827c5[_0x4f5e36(0x3b4)](this,_0x7b9acb,_0x47bc23,_0x128e8b),this['_prevBlock']=_0x4e99a9;}});function _0x1827c5(_0x18b432,_0x4b5dd4,_0x366c10){const _0x11b28e=_0x214a2e;var _0x238ba6,_0x1169f8=this[_0x11b28e(0x2ec)];_0x1169f8?(_0x238ba6=_0x1169f8,this[_0x11b28e(0x2ec)]=_0x1bd89b):_0x238ba6=this[_0x11b28e(0x1a9)];for(var _0xf9842=0x0;_0xf9842<_0x366c10;_0xf9842++)_0x18b432[_0x4b5dd4+_0xf9842]^=_0x238ba6[_0xf9842];}return _0x3f0094;}()),_0x453a2c=_0x5dd2ea['pad']={},_0x1b0e3d=_0x453a2c['Pkcs7']={'pad':function(_0x33cd73,_0x4a759d){const _0x3cb151=_0xc39ffe;for(var _0x3f7bbf=_0x4a759d*0x4,_0x21e6a5=_0x3f7bbf-_0x33cd73[_0x3cb151(0x1b1)]%_0x3f7bbf,_0x7c6486=_0x21e6a5<<0x18|_0x21e6a5<<0x10|_0x21e6a5<<0x8|_0x21e6a5,_0x3566dc=[],_0x59637c=0x0;_0x59637c<_0x21e6a5;_0x59637c+=0x4)_0x3566dc[_0x3cb151(0x203)](_0x7c6486);var _0x48064d=_0x23d299[_0x3cb151(0x4ee)](_0x3566dc,_0x21e6a5);_0x33cd73['concat'](_0x48064d);},'unpad':function(_0xc48888){const _0x48869e=_0xc39ffe;var _0x424231=_0xc48888[_0x48869e(0x256)][_0xc48888[_0x48869e(0x1b1)]-0x1>>>0x2]&0xff;_0xc48888[_0x48869e(0x1b1)]-=_0x424231;}};_0x469414[_0xc39ffe(0x13b)]=_0x5b2086['extend']({'cfg':_0x5b2086[_0xc39ffe(0x59f)][_0xc39ffe(0x279)]({'mode':_0x588aff,'padding':_0x1b0e3d}),'reset':function(){const _0x2049d2=_0xc39ffe;var _0x1bec0e;_0x5b2086[_0x2049d2(0x1ee)][_0x2049d2(0x3b4)](this);var _0x52fc88=this[_0x2049d2(0x59f)],_0x4bfb20=_0x52fc88['iv'],_0x3a7ae6=_0x52fc88[_0x2049d2(0x2fe)];this['_xformMode']==this[_0x2049d2(0x391)]?_0x1bec0e=_0x3a7ae6[_0x2049d2(0x345)]:(_0x1bec0e=_0x3a7ae6[_0x2049d2(0x2fd)],this['_minBufferSize']=0x1),this[_0x2049d2(0x13f)]&&this[_0x2049d2(0x13f)][_0x2049d2(0x466)]==_0x1bec0e?this['_mode'][_0x2049d2(0x299)](this,_0x4bfb20&&_0x4bfb20['words']):(this[_0x2049d2(0x13f)]=_0x1bec0e[_0x2049d2(0x3b4)](_0x3a7ae6,this,_0x4bfb20&&_0x4bfb20[_0x2049d2(0x256)]),this['_mode'][_0x2049d2(0x466)]=_0x1bec0e);},'_doProcessBlock':function(_0x5e3dd5,_0x2d5c22){const _0x517e8b=_0xc39ffe;this[_0x517e8b(0x13f)][_0x517e8b(0x275)](_0x5e3dd5,_0x2d5c22);},'_doFinalize':function(){const _0xf94fe9=_0xc39ffe;var _0x496e62,_0xa980d3=this['cfg']['padding'];return this[_0xf94fe9(0x1c0)]==this[_0xf94fe9(0x391)]?(_0xa980d3[_0xf94fe9(0x394)](this['_data'],this[_0xf94fe9(0x19f)]),_0x496e62=this[_0xf94fe9(0x2ce)](!0x0)):(_0x496e62=this['_process'](!0x0),_0xa980d3['unpad'](_0x496e62)),_0x496e62;},'blockSize':0x80/0x20});var _0x2f6146=_0x469414[_0xc39ffe(0x3a1)]=_0x39d1fa['extend']({'init':function(_0x434182){const _0x239cfe=_0xc39ffe;this[_0x239cfe(0x3ba)](_0x434182);},'toString':function(_0x12fff1){const _0x4d1bd0=_0xc39ffe;return(_0x12fff1||this[_0x4d1bd0(0x422)])['stringify'](this);}}),_0x2d8468=_0x5dd2ea[_0xc39ffe(0x2cb)]={},_0x240985=_0x2d8468[_0xc39ffe(0x419)]={'stringify':function(_0x13a3ab){const _0xb66d1=_0xc39ffe;var _0x5c63c0,_0x5d3292=_0x13a3ab['ciphertext'],_0x5d01cf=_0x13a3ab[_0xb66d1(0x3da)];return _0x5d01cf?_0x5c63c0=_0x23d299[_0xb66d1(0x4ee)]([0x53616c74,0x65645f5f])['concat'](_0x5d01cf)['concat'](_0x5d3292):_0x5c63c0=_0x5d3292,_0x5c63c0[_0xb66d1(0x3a4)](_0x34190b);},'parse':function(_0x4e9a09){const _0x14ac53=_0xc39ffe;var _0x483a9f,_0x3584e2=_0x34190b[_0x14ac53(0x4c5)](_0x4e9a09),_0x579b8b=_0x3584e2[_0x14ac53(0x256)];return _0x579b8b[0x0]==0x53616c74&&_0x579b8b[0x1]==0x65645f5f&&(_0x483a9f=_0x23d299[_0x14ac53(0x4ee)](_0x579b8b[_0x14ac53(0x38d)](0x2,0x4)),_0x579b8b[_0x14ac53(0x53d)](0x0,0x4),_0x3584e2[_0x14ac53(0x1b1)]-=0x10),_0x2f6146[_0x14ac53(0x4ee)]({'ciphertext':_0x3584e2,'salt':_0x483a9f});}},_0x509bd0=_0x469414[_0xc39ffe(0x4de)]=_0x39d1fa[_0xc39ffe(0x279)]({'cfg':_0x39d1fa[_0xc39ffe(0x279)]({'format':_0x240985}),'encrypt':function(_0x5e762b,_0x4c4faa,_0x94a7f7,_0x558c8d){const _0xcf2be8=_0xc39ffe;_0x558c8d=this[_0xcf2be8(0x59f)][_0xcf2be8(0x279)](_0x558c8d);var _0x39de7b=_0x5e762b[_0xcf2be8(0x345)](_0x94a7f7,_0x558c8d),_0x2f279d=_0x39de7b[_0xcf2be8(0x3b3)](_0x4c4faa),_0x535734=_0x39de7b[_0xcf2be8(0x59f)];return _0x2f6146[_0xcf2be8(0x4ee)]({'ciphertext':_0x2f279d,'key':_0x94a7f7,'iv':_0x535734['iv'],'algorithm':_0x5e762b,'mode':_0x535734['mode'],'padding':_0x535734[_0xcf2be8(0x58a)],'blockSize':_0x5e762b[_0xcf2be8(0x19f)],'formatter':_0x558c8d[_0xcf2be8(0x2cb)]});},'decrypt':function(_0x171ad1,_0x34ab79,_0x1fbef6,_0x18481f){const _0x22695e=_0xc39ffe;_0x18481f=this[_0x22695e(0x59f)][_0x22695e(0x279)](_0x18481f),_0x34ab79=this['_parse'](_0x34ab79,_0x18481f[_0x22695e(0x2cb)]);var _0x371471=_0x171ad1['createDecryptor'](_0x1fbef6,_0x18481f)[_0x22695e(0x3b3)](_0x34ab79[_0x22695e(0x2df)]);return _0x371471;},'_parse':function(_0x4ec597,_0xcbd291){const _0x3b2d1c=_0xc39ffe;return typeof _0x4ec597==_0x3b2d1c(0x18e)?_0xcbd291[_0x3b2d1c(0x4c5)](_0x4ec597,this):_0x4ec597;}}),_0x262f51=_0x5dd2ea['kdf']={},_0x179f5f=_0x262f51['OpenSSL']={'execute':function(_0xbc8a53,_0x499bda,_0x329ce0,_0x23aa1d,_0xa9d0d9){const _0x28f250=_0xc39ffe;if(_0x23aa1d||(_0x23aa1d=_0x23d299[_0x28f250(0x2bf)](0x40/0x8)),_0xa9d0d9)var _0x351a99=_0x5dae4d[_0x28f250(0x4ee)]({'keySize':_0x499bda+_0x329ce0,'hasher':_0xa9d0d9})[_0x28f250(0x4e8)](_0xbc8a53,_0x23aa1d);else var _0x351a99=_0x5dae4d[_0x28f250(0x4ee)]({'keySize':_0x499bda+_0x329ce0})['compute'](_0xbc8a53,_0x23aa1d);var _0x114277=_0x23d299[_0x28f250(0x4ee)](_0x351a99['words']['slice'](_0x499bda),_0x329ce0*0x4);return _0x351a99[_0x28f250(0x1b1)]=_0x499bda*0x4,_0x2f6146[_0x28f250(0x4ee)]({'key':_0x351a99,'iv':_0x114277,'salt':_0x23aa1d});}},_0x203d52=_0x469414[_0xc39ffe(0x40a)]=_0x509bd0[_0xc39ffe(0x279)]({'cfg':_0x509bd0[_0xc39ffe(0x59f)][_0xc39ffe(0x279)]({'kdf':_0x179f5f}),'encrypt':function(_0x245f0b,_0xe6c2fe,_0x4ef296,_0x476cc7){const _0x434f4d=_0xc39ffe;_0x476cc7=this['cfg'][_0x434f4d(0x279)](_0x476cc7);var _0x595b4b=_0x476cc7[_0x434f4d(0x25a)][_0x434f4d(0x132)](_0x4ef296,_0x245f0b[_0x434f4d(0x2af)],_0x245f0b[_0x434f4d(0x421)],_0x476cc7[_0x434f4d(0x3da)],_0x476cc7['hasher']);_0x476cc7['iv']=_0x595b4b['iv'];var _0x1031c0=_0x509bd0[_0x434f4d(0x25b)][_0x434f4d(0x3b4)](this,_0x245f0b,_0xe6c2fe,_0x595b4b['key'],_0x476cc7);return _0x1031c0[_0x434f4d(0x3ba)](_0x595b4b),_0x1031c0;},'decrypt':function(_0x585592,_0x38c1df,_0xf2378e,_0x246991){const _0x4c01b8=_0xc39ffe;_0x246991=this['cfg'][_0x4c01b8(0x279)](_0x246991),_0x38c1df=this['_parse'](_0x38c1df,_0x246991[_0x4c01b8(0x2cb)]);var _0x301b99=_0x246991[_0x4c01b8(0x25a)][_0x4c01b8(0x132)](_0xf2378e,_0x585592[_0x4c01b8(0x2af)],_0x585592[_0x4c01b8(0x421)],_0x38c1df[_0x4c01b8(0x3da)],_0x246991[_0x4c01b8(0x225)]);_0x246991['iv']=_0x301b99['iv'];var _0x309326=_0x509bd0[_0x4c01b8(0x1ba)][_0x4c01b8(0x3b4)](this,_0x585592,_0x38c1df,_0x301b99[_0x4c01b8(0x3a2)],_0x246991);return _0x309326;}});}();}));}(_0x210bb4)),_0x210bb4['exports'];}(function(_0x414506,_0x3eb8f6){(function(_0x43792d,_0x590944,_0x1e8fb9){const _0x3d437e=_0x586f;_0x414506[_0x3d437e(0x50a)]=_0x590944(_0x50a408(),_0x25dbd1(),_0xce1d1b(),_0x4f0e2d(),_0x1e9ef0());}(_0x4b3743,function(_0x817790){const _0x5db548=_0x586f;return(function(){const _0x12fe38=_0x586f;var _0x4ed59c=_0x817790,_0x4bdbc9=_0x4ed59c[_0x12fe38(0x59b)],_0x3db3c1=_0x4bdbc9[_0x12fe38(0x13b)],_0x5d7f14=_0x4ed59c['algo'],_0x11d17e=[],_0x5c97d9=[],_0x263b0d=[],_0x583e1b=[],_0x35c9b5=[],_0x2b9072=[],_0x2b0f6d=[],_0x24ea6a=[],_0x110f18=[],_0x533abd=[];(function(){for(var _0x532e5a=[],_0x2084b4=0x0;_0x2084b4<0x100;_0x2084b4++)_0x2084b4<0x80?_0x532e5a[_0x2084b4]=_0x2084b4<<0x1:_0x532e5a[_0x2084b4]=_0x2084b4<<0x1^0x11b;for(var _0x4c3d7a=0x0,_0xf6f8d7=0x0,_0x2084b4=0x0;_0x2084b4<0x100;_0x2084b4++){var _0x326645=_0xf6f8d7^_0xf6f8d7<<0x1^_0xf6f8d7<<0x2^_0xf6f8d7<<0x3^_0xf6f8d7<<0x4;_0x326645=_0x326645>>>0x8^_0x326645&0xff^0x63,_0x11d17e[_0x4c3d7a]=_0x326645,_0x5c97d9[_0x326645]=_0x4c3d7a;var _0x4fa05f=_0x532e5a[_0x4c3d7a],_0x456c3c=_0x532e5a[_0x4fa05f],_0xbe9c43=_0x532e5a[_0x456c3c],_0x51bb91=_0x532e5a[_0x326645]*0x101^_0x326645*0x1010100;_0x263b0d[_0x4c3d7a]=_0x51bb91<<0x18|_0x51bb91>>>0x8,_0x583e1b[_0x4c3d7a]=_0x51bb91<<0x10|_0x51bb91>>>0x10,_0x35c9b5[_0x4c3d7a]=_0x51bb91<<0x8|_0x51bb91>>>0x18,_0x2b9072[_0x4c3d7a]=_0x51bb91;var _0x51bb91=_0xbe9c43*0x1010101^_0x456c3c*0x10001^_0x4fa05f*0x101^_0x4c3d7a*0x1010100;_0x2b0f6d[_0x326645]=_0x51bb91<<0x18|_0x51bb91>>>0x8,_0x24ea6a[_0x326645]=_0x51bb91<<0x10|_0x51bb91>>>0x10,_0x110f18[_0x326645]=_0x51bb91<<0x8|_0x51bb91>>>0x18,_0x533abd[_0x326645]=_0x51bb91,_0x4c3d7a?(_0x4c3d7a=_0x4fa05f^_0x532e5a[_0x532e5a[_0x532e5a[_0xbe9c43^_0x4fa05f]]],_0xf6f8d7^=_0x532e5a[_0x532e5a[_0xf6f8d7]]):_0x4c3d7a=_0xf6f8d7=0x1;}}());var _0x4184c5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x49f5d9=_0x5d7f14[_0x12fe38(0x29e)]=_0x3db3c1[_0x12fe38(0x279)]({'_doReset':function(){const _0x3ed27e=_0x12fe38;var _0x1eb9f1;if(!(this[_0x3ed27e(0x54c)]&&this[_0x3ed27e(0x270)]===this['_key'])){for(var _0xf0e9b9=this[_0x3ed27e(0x270)]=this[_0x3ed27e(0x3ec)],_0x1242fe=_0xf0e9b9[_0x3ed27e(0x256)],_0x161b4e=_0xf0e9b9[_0x3ed27e(0x1b1)]/0x4,_0x54a618=this[_0x3ed27e(0x54c)]=_0x161b4e+0x6,_0x435d8e=(_0x54a618+0x1)*0x4,_0x246217=this[_0x3ed27e(0x3cb)]=[],_0x30548c=0x0;_0x30548c<_0x435d8e;_0x30548c++)_0x30548c<_0x161b4e?_0x246217[_0x30548c]=_0x1242fe[_0x30548c]:(_0x1eb9f1=_0x246217[_0x30548c-0x1],_0x30548c%_0x161b4e?_0x161b4e>0x6&&_0x30548c%_0x161b4e==0x4&&(_0x1eb9f1=_0x11d17e[_0x1eb9f1>>>0x18]<<0x18|_0x11d17e[_0x1eb9f1>>>0x10&0xff]<<0x10|_0x11d17e[_0x1eb9f1>>>0x8&0xff]<<0x8|_0x11d17e[_0x1eb9f1&0xff]):(_0x1eb9f1=_0x1eb9f1<<0x8|_0x1eb9f1>>>0x18,_0x1eb9f1=_0x11d17e[_0x1eb9f1>>>0x18]<<0x18|_0x11d17e[_0x1eb9f1>>>0x10&0xff]<<0x10|_0x11d17e[_0x1eb9f1>>>0x8&0xff]<<0x8|_0x11d17e[_0x1eb9f1&0xff],_0x1eb9f1^=_0x4184c5[_0x30548c/_0x161b4e|0x0]<<0x18),_0x246217[_0x30548c]=_0x246217[_0x30548c-_0x161b4e]^_0x1eb9f1);for(var _0x29f286=this['_invKeySchedule']=[],_0x58957f=0x0;_0x58957f<_0x435d8e;_0x58957f++){var _0x30548c=_0x435d8e-_0x58957f;if(_0x58957f%0x4)var _0x1eb9f1=_0x246217[_0x30548c];else var _0x1eb9f1=_0x246217[_0x30548c-0x4];_0x58957f<0x4||_0x30548c<=0x4?_0x29f286[_0x58957f]=_0x1eb9f1:_0x29f286[_0x58957f]=_0x2b0f6d[_0x11d17e[_0x1eb9f1>>>0x18]]^_0x24ea6a[_0x11d17e[_0x1eb9f1>>>0x10&0xff]]^_0x110f18[_0x11d17e[_0x1eb9f1>>>0x8&0xff]]^_0x533abd[_0x11d17e[_0x1eb9f1&0xff]];}}},'encryptBlock':function(_0x4e2c78,_0x1896e5){const _0x424715=_0x12fe38;this['_doCryptBlock'](_0x4e2c78,_0x1896e5,this[_0x424715(0x3cb)],_0x263b0d,_0x583e1b,_0x35c9b5,_0x2b9072,_0x11d17e);},'decryptBlock':function(_0x257b0c,_0x370fea){const _0x415567=_0x12fe38;var _0x9355e4=_0x257b0c[_0x370fea+0x1];_0x257b0c[_0x370fea+0x1]=_0x257b0c[_0x370fea+0x3],_0x257b0c[_0x370fea+0x3]=_0x9355e4,this[_0x415567(0x511)](_0x257b0c,_0x370fea,this[_0x415567(0x102)],_0x2b0f6d,_0x24ea6a,_0x110f18,_0x533abd,_0x5c97d9);var _0x9355e4=_0x257b0c[_0x370fea+0x1];_0x257b0c[_0x370fea+0x1]=_0x257b0c[_0x370fea+0x3],_0x257b0c[_0x370fea+0x3]=_0x9355e4;},'_doCryptBlock':function(_0x1264dc,_0x46d4e6,_0x259166,_0x3f8ed9,_0x2755e0,_0x1e34b0,_0x54e434,_0x52074b){const _0x2633b6=_0x12fe38;for(var _0x297879=this[_0x2633b6(0x54c)],_0x15b851=_0x1264dc[_0x46d4e6]^_0x259166[0x0],_0x55bb28=_0x1264dc[_0x46d4e6+0x1]^_0x259166[0x1],_0x2e0ce6=_0x1264dc[_0x46d4e6+0x2]^_0x259166[0x2],_0x443f8c=_0x1264dc[_0x46d4e6+0x3]^_0x259166[0x3],_0x566ec0=0x4,_0x45c964=0x1;_0x45c964<_0x297879;_0x45c964++){var _0x46e596=_0x3f8ed9[_0x15b851>>>0x18]^_0x2755e0[_0x55bb28>>>0x10&0xff]^_0x1e34b0[_0x2e0ce6>>>0x8&0xff]^_0x54e434[_0x443f8c&0xff]^_0x259166[_0x566ec0++],_0x41894f=_0x3f8ed9[_0x55bb28>>>0x18]^_0x2755e0[_0x2e0ce6>>>0x10&0xff]^_0x1e34b0[_0x443f8c>>>0x8&0xff]^_0x54e434[_0x15b851&0xff]^_0x259166[_0x566ec0++],_0x3877a3=_0x3f8ed9[_0x2e0ce6>>>0x18]^_0x2755e0[_0x443f8c>>>0x10&0xff]^_0x1e34b0[_0x15b851>>>0x8&0xff]^_0x54e434[_0x55bb28&0xff]^_0x259166[_0x566ec0++],_0x6bb865=_0x3f8ed9[_0x443f8c>>>0x18]^_0x2755e0[_0x15b851>>>0x10&0xff]^_0x1e34b0[_0x55bb28>>>0x8&0xff]^_0x54e434[_0x2e0ce6&0xff]^_0x259166[_0x566ec0++];_0x15b851=_0x46e596,_0x55bb28=_0x41894f,_0x2e0ce6=_0x3877a3,_0x443f8c=_0x6bb865;}var _0x46e596=(_0x52074b[_0x15b851>>>0x18]<<0x18|_0x52074b[_0x55bb28>>>0x10&0xff]<<0x10|_0x52074b[_0x2e0ce6>>>0x8&0xff]<<0x8|_0x52074b[_0x443f8c&0xff])^_0x259166[_0x566ec0++],_0x41894f=(_0x52074b[_0x55bb28>>>0x18]<<0x18|_0x52074b[_0x2e0ce6>>>0x10&0xff]<<0x10|_0x52074b[_0x443f8c>>>0x8&0xff]<<0x8|_0x52074b[_0x15b851&0xff])^_0x259166[_0x566ec0++],_0x3877a3=(_0x52074b[_0x2e0ce6>>>0x18]<<0x18|_0x52074b[_0x443f8c>>>0x10&0xff]<<0x10|_0x52074b[_0x15b851>>>0x8&0xff]<<0x8|_0x52074b[_0x55bb28&0xff])^_0x259166[_0x566ec0++],_0x6bb865=(_0x52074b[_0x443f8c>>>0x18]<<0x18|_0x52074b[_0x15b851>>>0x10&0xff]<<0x10|_0x52074b[_0x55bb28>>>0x8&0xff]<<0x8|_0x52074b[_0x2e0ce6&0xff])^_0x259166[_0x566ec0++];_0x1264dc[_0x46d4e6]=_0x46e596,_0x1264dc[_0x46d4e6+0x1]=_0x41894f,_0x1264dc[_0x46d4e6+0x2]=_0x3877a3,_0x1264dc[_0x46d4e6+0x3]=_0x6bb865;},'keySize':0x100/0x20});_0x4ed59c[_0x12fe38(0x29e)]=_0x3db3c1[_0x12fe38(0x18c)](_0x49f5d9);}()),_0x817790[_0x5db548(0x29e)];}));}(_0x3f01d8));var _0x4b37df=_0x3f01d8[_0x16631f(0x50a)];const _0x50a5df=_0x3c7ed0(_0x4b37df);var _0x4e9352=_0x25dbd1();const _0x4447f7=_0x3c7ed0(_0x4e9352);var _0x472d4f={'exports':{}};(function(_0x405e77,_0x27f8f2){(function(_0x52a214,_0x18ecef){const _0x103693=_0x586f;_0x405e77[_0x103693(0x50a)]=_0x18ecef(_0x50a408());}(_0x4b3743,function(_0x505166){const _0x2a0420=_0x586f;return _0x505166[_0x2a0420(0x4d7)][_0x2a0420(0xf4)];}));}(_0x472d4f));var _0xb27a86=_0x472d4f[_0x16631f(0x50a)];const _0x1e2e34=_0x3c7ed0(_0xb27a86);var _0x482c47={'exports':{}};(function(_0x372c48,_0x137b16){(function(_0x4d47b1,_0x547506){_0x372c48['exports']=_0x547506(_0x50a408());}(_0x4b3743,function(_0x68dc54){const _0x1a8296=_0x586f;return(function(){const _0x2c4ee4=_0x586f;if(typeof ArrayBuffer==_0x2c4ee4(0x445)){var _0x32df0a=_0x68dc54,_0xaae2e0=_0x32df0a[_0x2c4ee4(0x59b)],_0x599a73=_0xaae2e0[_0x2c4ee4(0x5a2)],_0x2a01f3=_0x599a73[_0x2c4ee4(0x299)],_0x2bbec8=_0x599a73[_0x2c4ee4(0x299)]=function(_0x3fa413){const _0xe4261e=_0x2c4ee4;if(_0x3fa413 instanceof ArrayBuffer&&(_0x3fa413=new Uint8Array(_0x3fa413)),(_0x3fa413 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3fa413 instanceof Uint8ClampedArray||_0x3fa413 instanceof Int16Array||_0x3fa413 instanceof Uint16Array||_0x3fa413 instanceof Int32Array||_0x3fa413 instanceof Uint32Array||_0x3fa413 instanceof Float32Array||_0x3fa413 instanceof Float64Array)&&(_0x3fa413=new Uint8Array(_0x3fa413[_0xe4261e(0x40f)],_0x3fa413[_0xe4261e(0x15d)],_0x3fa413[_0xe4261e(0x229)])),_0x3fa413 instanceof Uint8Array){for(var _0x14afdf=_0x3fa413['byteLength'],_0x5050bd=[],_0x16a08b=0x0;_0x16a08b<_0x14afdf;_0x16a08b++)_0x5050bd[_0x16a08b>>>0x2]|=_0x3fa413[_0x16a08b]<<0x18-_0x16a08b%0x4*0x8;_0x2a01f3[_0xe4261e(0x3b4)](this,_0x5050bd,_0x14afdf);}else _0x2a01f3[_0xe4261e(0x480)](this,arguments);};_0x2bbec8['prototype']=_0x599a73;}}()),_0x68dc54['lib'][_0x1a8296(0x5a2)];}));}(_0x482c47));var _0x3e79d7=_0x482c47[_0x16631f(0x50a)];const _0xbf49d1=_0x3c7ed0(_0x3e79d7);var _0x59600c={'exports':{}};(function(_0x587411,_0x171533){(function(_0x5517ec,_0x11704c,_0x3e8af6){const _0x37c365=_0x586f;_0x587411[_0x37c365(0x50a)]=_0x11704c(_0x50a408(),_0x1e9ef0());}(_0x4b3743,function(_0x3f0c60){const _0x1bdfa4=_0x586f;return _0x3f0c60[_0x1bdfa4(0x394)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3f0c60[_0x1bdfa4(0x394)]['NoPadding'];}));}(_0x59600c));var _0x4543e7=_0x59600c[_0x16631f(0x50a)];const _0x46255d=_0x3c7ed0(_0x4543e7);function _0x527a64(_0x4f98f2,_0x3bd425){const _0x203d95=_0x16631f,_0xd06a80=_0x3bd425-_0x4f98f2[_0x203d95(0x272)]%_0x3bd425,_0x3264d6=String[_0x203d95(0x347)](_0xd06a80)[_0x203d95(0x1e2)](_0xd06a80);return _0x4f98f2+_0x3264d6;}function _0x180677(_0xc56f88,_0x133368){const _0x16e2fc=_0x16631f,_0x4c32be=_0xbf49d1[_0x16e2fc(0x2bf)](0x10),_0x335c97=_0x527a64(_0xc56f88,0x10),_0x52b5f6=_0x50a5df[_0x16e2fc(0x25b)](_0x1e2e34[_0x16e2fc(0x4c5)](_0x335c97),_0x4447f7[_0x16e2fc(0x4c5)](_0x133368),{'iv':_0x4c32be,'padding':_0x46255d});return _0x4c32be[_0x16e2fc(0x40b)](_0x52b5f6[_0x16e2fc(0x2df)])[_0x16e2fc(0x3a4)](_0x4447f7);}function _0x3228cb(){const _0x488cd8=_0x16631f,_0x1b2ead=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x1b2ead){const _0x4f4ec9={'time':Math['floor'](Date[_0x488cd8(0x410)]()/0x3e8),'domain':location['hostname']};return _0x180677(JSON[_0x488cd8(0x338)](_0x4f4ec9),_0x1b2ead);}}var _0x149ca6=Object[_0x16631f(0x162)],_0x122b4f=Object['getOwnPropertyDescriptor'],_0x18c837=(_0x7748f4,_0x23d71e,_0x4a6343,_0x269fdb)=>{const _0x26dec6=_0x16631f;for(var _0x12f823=_0x269fdb>0x1?void 0x0:_0x269fdb?_0x122b4f(_0x23d71e,_0x4a6343):_0x23d71e,_0x492afd=_0x7748f4[_0x26dec6(0x272)]-0x1,_0x1f6909;_0x492afd>=0x0;_0x492afd--)(_0x1f6909=_0x7748f4[_0x492afd])&&(_0x12f823=(_0x269fdb?_0x1f6909(_0x23d71e,_0x4a6343,_0x12f823):_0x1f6909(_0x12f823))||_0x12f823);return _0x269fdb&&_0x12f823&&_0x149ca6(_0x23d71e,_0x4a6343,_0x12f823),_0x12f823;},_0x3237b8=(_0x2276a6,_0x36c36d)=>(_0x436468,_0x44b954)=>_0x36c36d(_0x436468,_0x44b954,_0x2276a6);let _0x3d44e4=class{constructor(_0x458df0){const _0x5d56ef=_0x16631f;this[_0x5d56ef(0x23f)]=_0x458df0,this[_0x5d56ef(0x4f7)]();}['_initRequestHeader'](){const _0x38318c=_0x16631f;this['_httpService'][_0x38318c(0x118)]({'interceptor':(_0x2a212e,_0x4bedff)=>{const _0x7003e3=_0x38318c,_0x4ac44d=_0x2a212e['headers'],_0x48ee50=_0x3228cb();return _0x48ee50&&_0x4ac44d['set'](_0x7003e3(0x397),_0x48ee50),_0x4bedff(_0x2a212e);}});}};_0x3d44e4=_0x18c837([_0x3237b8(0x0,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)]))],_0x3d44e4);var _0x598078=Object[_0x16631f(0x162)],_0xc9ed8b=Object['getOwnPropertyDescriptor'],_0x288ae9=(_0x4fab95,_0x374b5a,_0x26b1b6,_0xd7db75)=>{const _0x3e50b2=_0x16631f;for(var _0x2b3c5f=_0xd7db75>0x1?void 0x0:_0xd7db75?_0xc9ed8b(_0x374b5a,_0x26b1b6):_0x374b5a,_0x372fe1=_0x4fab95[_0x3e50b2(0x272)]-0x1,_0x52034e;_0x372fe1>=0x0;_0x372fe1--)(_0x52034e=_0x4fab95[_0x372fe1])&&(_0x2b3c5f=(_0xd7db75?_0x52034e(_0x374b5a,_0x26b1b6,_0x2b3c5f):_0x52034e(_0x2b3c5f))||_0x2b3c5f);return _0xd7db75&&_0x2b3c5f&&_0x598078(_0x374b5a,_0x26b1b6,_0x2b3c5f),_0x2b3c5f;},_0x4a0965=(_0xd6e24c,_0x1f5d58)=>(_0x4f7318,_0x451847)=>_0x1f5d58(_0x4f7318,_0x451847,_0xd6e24c);const _0x465e0c=[_0x16631f(0x36c),_0x16631f(0x23d),_0x16631f(0x431),_0x16631f(0x423),_0x16631f(0x4dd)],_0x498e36=0x5*0x400*0x400,_0xaf8068='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x57cb2e=_0x16631f(0x18b),_0x33b00e=_0x16631f(0x43b),_0x10afd5='/universer-api/file/{fileID}/sign-url';_0x2728bd[_0x16631f(0x2b6)]=class{constructor(_0x35c860,_0x305a98,_0x1b9577){const _0x1cdffc=_0x16631f;_0x2a606e(this,_0x1cdffc(0x49a),0x0),_0x2a606e(this,_0x1cdffc(0x589),new _0x933215['Subject']()),_0x2a606e(this,_0x1cdffc(0x492),this[_0x1cdffc(0x589)]),_0x2a606e(this,_0x1cdffc(0x10a),new Map()),(this[_0x1cdffc(0x23f)]=_0x35c860,this[_0x1cdffc(0x31f)]=_0x305a98,this[_0x1cdffc(0x3e7)]=_0x1b9577);}[_0x16631f(0x575)](_0x5644b2){const _0x18029f=_0x16631f;this[_0x18029f(0x49a)]=_0x5644b2,this[_0x18029f(0x589)][_0x18029f(0x1dd)](_0x5644b2);}[_0x16631f(0x4cd)](_0x4185c8,_0x59dbf5){const _0x470bee=_0x16631f;if(_0x59dbf5===_0x1444d['ImageSourceType'][_0x470bee(0x3d5)]){const _0x336655=new Image();return _0x336655[_0x470bee(0x4a2)]=_0x4185c8,_0x336655;}return this[_0x470bee(0x10a)][_0x470bee(0x241)](_0x4185c8);}[_0x16631f(0x30b)](_0x28eed5,_0x50b9fe,_0xaa5d91){const _0x54d872=_0x16631f;_0x50b9fe===_0x1444d[_0x54d872(0x26b)]['BASE64']||_0xaa5d91==null||this[_0x54d872(0x10a)][_0x54d872(0x41f)](_0x28eed5,_0xaa5d91);}async['getImage'](_0x4ff86d){const _0x27dfdf=_0x16631f;try{const _0x174222=this[_0x27dfdf(0x3af)](this[_0x27dfdf(0x248)](),''+_0x4ff86d),_0xadfde4=(await this[_0x27dfdf(0x23f)]['get'](_0x174222))[_0x27dfdf(0x50c)];if(_0xadfde4[_0x27dfdf(0x1df)]&&_0xadfde4[_0x27dfdf(0x1df)][_0x27dfdf(0x196)]===_0x40c994['OK']){const _0x32ea3f=new URL(_0xadfde4['url'],this[_0x27dfdf(0x2f7)]())[_0x27dfdf(0x3a4)]();return Promise['resolve'](_0x32ea3f);}return Promise[_0x27dfdf(0x2da)](_0xadfde4[_0x27dfdf(0x1df)]);}catch(_0x186736){return Promise[_0x27dfdf(0x2da)](_0x186736);}}async[_0x16631f(0x5b3)](_0x18bf53){const _0x214d07=_0x16631f;let _0x5034ac='';if(!_0x465e0c[_0x214d07(0x41a)](_0x18bf53[_0x214d07(0x49b)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d[_0x214d07(0x15a)][_0x214d07(0x2be)]));if(_0x18bf53[_0x214d07(0x3f3)]>_0x498e36)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x195367=new FormData();_0x195367[_0x214d07(0x43a)](_0x214d07(0x53e),_0x18bf53);const _0x59040b=this[_0x214d07(0x3e7)][_0x214d07(0x328)](),_0x2874d7=_0x59040b==null?void 0x0:_0x59040b[_0x214d07(0x4ed)]();if(!_0x2874d7)throw new Error(_0x214d07(0x1d4));const _0x2ca725=this['_getUploadFileURL']()+'?size='+_0x18bf53['size']['toString']()+'&source='+_0x4e4d17[_0x214d07(0x35a)]+_0x214d07(0x529)+encodeURIComponent(_0x2874d7),_0x33b954=await(await fetch(_0x2ca725,{'method':_0x214d07(0x528),'body':_0x195367}))['json']();if(typeof _0x33b954[_0x214d07(0x577)]!=_0x214d07(0x18e))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d[_0x214d07(0x15a)][_0x214d07(0x417)]));_0x5034ac=_0x33b954[_0x214d07(0x577)];}catch{return this[_0x214d07(0x11a)](),Promise[_0x214d07(0x2da)](new Error(_0x1444d['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x358984,_0x1bd96a)=>{const _0x1c5dd4=_0x214d07,_0x4be3be=new FileReader();_0x4be3be[_0x1c5dd4(0x109)](_0x18bf53),_0x4be3be['onload']=_0x300987=>{const _0x2b3342=_0x1c5dd4;var _0x2d03b1;const _0x40324b=(_0x2d03b1=_0x300987[_0x2b3342(0x587)])==null?void 0x0:_0x2d03b1[_0x2b3342(0x36b)];if(_0x40324b==null){this['_decreaseWaiting'](),_0x1bd96a(new Error(_0x1444d[_0x2b3342(0x15a)][_0x2b3342(0x417)]));return;}const _0x2f7f38=_0x8a1a57[_0x2b3342(0x435)]['generateRandomId'](0x6);_0x358984({'imageId':_0x2f7f38,'imageSourceType':_0x1444d['ImageSourceType']['UUID'],'source':_0x5034ac,'base64Cache':_0x40324b,'status':_0x1444d['ImageUploadStatusType'][_0x2b3342(0x471)]}),this[_0x2b3342(0x11a)]();};});}['_getUploadFileURL'](){const _0x1a6508=_0x16631f;var _0x43aa55,_0x4b6ed9;const _0xbc390d=this[_0x1a6508(0x31f)][_0x1a6508(0xfd)](_0xaf8068),_0x1acbc5=this[_0x1a6508(0x31f)][_0x1a6508(0xfd)](_0x132856);return(_0x4b6ed9=(_0x43aa55=_0x1acbc5==null?void 0x0:_0x1acbc5[_0x1a6508(0x257)])!=null?_0x43aa55:_0xbc390d)!=null?_0x4b6ed9:_0x57cb2e;}[_0x16631f(0x248)](){const _0x341c39=_0x16631f;var _0x23e29a,_0x43718c;const _0xf83838=this[_0x341c39(0x31f)][_0x341c39(0xfd)](_0x33b00e),_0x2006f0=this[_0x341c39(0x31f)][_0x341c39(0xfd)](_0x132856);return(_0x43718c=(_0x23e29a=_0x2006f0==null?void 0x0:_0x2006f0[_0x341c39(0x542)])!=null?_0x23e29a:_0xf83838)!=null?_0x43718c:_0x10afd5;}[_0x16631f(0x2f7)](){const _0x2f90c4=_0x16631f;var _0x26d744;const _0x2e1c80=this[_0x2f90c4(0x31f)]['getConfig'](_0x132856);return(_0x26d744=_0x2e1c80==null?void 0x0:_0x2e1c80[_0x2f90c4(0x23c)])!=null?_0x26d744:location[_0x2f90c4(0x2e4)];}[_0x16631f(0x3af)](_0x4169de,_0x341de7){const _0x328dd3=_0x16631f;return _0x4169de[_0x328dd3(0x1e1)](_0x328dd3(0x249),_0x341de7);}[_0x16631f(0x11a)](){const _0x5e7884=_0x16631f;this[_0x5e7884(0x49a)]-=0x1,this[_0x5e7884(0x589)][_0x5e7884(0x1dd)](this[_0x5e7884(0x49a)]);}},_0x2728bd[_0x16631f(0x2b6)]=_0x288ae9([_0x4a0965(0x0,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)])),_0x4a0965(0x1,_0x8a1a57['IConfigService']),_0x4a0965(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1db)]))],_0x2728bd['ImageIoService']);var _0xba0f26=Object['defineProperty'],_0x4ee4b1=Object[_0x16631f(0x57e)],_0x2f5c05=(_0x2676ac,_0x4c440e,_0x533be9,_0xbf7a78)=>{for(var _0x3e78a8=_0xbf7a78>0x1?void 0x0:_0xbf7a78?_0x4ee4b1(_0x4c440e,_0x533be9):_0x4c440e,_0xa2c734=_0x2676ac['length']-0x1,_0x7e0feb;_0xa2c734>=0x0;_0xa2c734--)(_0x7e0feb=_0x2676ac[_0xa2c734])&&(_0x3e78a8=(_0xbf7a78?_0x7e0feb(_0x4c440e,_0x533be9,_0x3e78a8):_0x7e0feb(_0x3e78a8))||_0x3e78a8);return _0xbf7a78&&_0x3e78a8&&_0xba0f26(_0x4c440e,_0x533be9,_0x3e78a8),_0x3e78a8;},_0x3ee467=(_0x39922,_0x1c00be)=>(_0x7548cf,_0xf18cd0)=>_0x1c00be(_0x7548cf,_0xf18cd0,_0x39922);let _0x4df2fb=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x1b2eba,_0x1bc7f2,_0x17a19b,_0x15c0ca,_0x20ab09){const _0x269885=_0x16631f;super(),this[_0x269885(0x264)]=_0x1b2eba,this['_univerInstanceService']=_0x1bc7f2,this[_0x269885(0x4df)]=_0x17a19b,this[_0x269885(0x4e0)]=_0x15c0ca,this[_0x269885(0x4f0)]=_0x20ab09,this[_0x269885(0x170)](),this[_0x269885(0x4cb)]();}[_0x16631f(0x4cb)](){const _0x42d08b=_0x16631f,_0x157c29=async _0x185edf=>{const _0x54dad1=_0x586f;(await this[_0x54dad1(0x4e0)]['requireSession'](_0x185edf))[_0x54dad1(0x197)][_0x54dad1(0x4be)](_0x478e49[_0x54dad1(0x53f)](_0x2252f8=>_0x2252f8[_0x54dad1(0x3dd)]===_0x27cfd8['CollaborationEvent'][_0x54dad1(0x21c)]),_0x478e49[_0x54dad1(0x3d9)](this['dispose$']))[_0x54dad1(0x42c)](_0x4c2977=>{const _0x403113=_0x54dad1,_0x487e60=_0x4c2977,{reason:_0x1b6e12}=_0x487e60['data'];this[_0x403113(0x264)][_0x403113(0x241)](_0x4b60ff[_0x403113(0x136)])[_0x403113(0x354)]({'type':_0x731a74[_0x403113(0x2a9)][_0x403113(0x5b1)],'content':this[_0x403113(0x4f0)]['t'](_0x403113(0x550))+'('+_0x1b6e12+')'}),this['_permissionService'][_0x403113(0x1a0)](new _0x46f63a[(_0x403113(0x4b3))](_0x185edf)['id'],!0x1),this['_collaborationSessionService'][_0x403113(0x46d)](_0x185edf);});};_0x933215[_0x42d08b(0x116)](this[_0x42d08b(0x3e7)][_0x42d08b(0x124)](_0x8a1a57['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x42d08b(0x124)](_0x8a1a57['UniverInstanceType'][_0x42d08b(0x327)]))[_0x42d08b(0x4be)](_0x478e49[_0x42d08b(0x2ca)](_0x56a4ae=>_0x56a4ae[_0x42d08b(0x4ed)]()),_0x478e49[_0x42d08b(0x53f)](_0x1fb624=>!_0x8a1a57[_0x42d08b(0x1c7)](_0x1fb624)),_0x478e49['takeUntil'](this[_0x42d08b(0x42d)]))[_0x42d08b(0x42c)](_0x54fb1b=>{_0x157c29(_0x54fb1b);});}[_0x16631f(0x170)](){const _0x2ae2d3=_0x16631f,_0x4bc851=async _0x1940eb=>{const _0x3f2833=_0x586f;(await this[_0x3f2833(0x4e0)][_0x3f2833(0x5ab)](_0x1940eb))['event$'][_0x3f2833(0x4be)](_0x478e49[_0x3f2833(0x53f)](_0x28421b=>_0x28421b[_0x3f2833(0x3dd)]===_0x27cfd8[_0x3f2833(0x3e5)][_0x3f2833(0x2c6)]),_0x478e49[_0x3f2833(0x3d9)](this[_0x3f2833(0x42d)]))['subscribe'](_0x590143=>{const _0x512f19=_0x3f2833,_0x44fb59=_0x590143,{objectId:_0x41ceb1}=_0x44fb59[_0x512f19(0x140)],_0x4bd67c=this[_0x512f19(0x264)][_0x512f19(0x241)](_0x3ba744[_0x512f19(0x101)]);_0x41ceb1===_0x1940eb?_0x4bd67c[_0x512f19(0x56c)](_0x1940eb):_0x4bd67c['refreshPermission'](_0x1940eb,_0x41ceb1);});};_0x933215[_0x2ae2d3(0x116)](this['_univerInstanceService'][_0x2ae2d3(0x124)](_0x8a1a57[_0x2ae2d3(0x3e6)]['UNIVER_SHEET']),this[_0x2ae2d3(0x3e7)][_0x2ae2d3(0x124)](_0x8a1a57[_0x2ae2d3(0x3e6)][_0x2ae2d3(0x327)]))[_0x2ae2d3(0x4be)](_0x478e49[_0x2ae2d3(0x2ca)](_0x251a74=>_0x251a74['getUnitId']()),_0x478e49['filter'](_0x1717a6=>!_0x8a1a57[_0x2ae2d3(0x1c7)](_0x1717a6)),_0x478e49[_0x2ae2d3(0x3d9)](this[_0x2ae2d3(0x42d)]))[_0x2ae2d3(0x42c)](_0x4f5c17=>{_0x4bc851(_0x4f5c17);});}};_0x4df2fb=_0x2f5c05([_0x3ee467(0x0,_0x8a1a57['Inject'](_0x8a1a57['Injector'])),_0x3ee467(0x1,_0x8a1a57[_0x16631f(0x1db)]),_0x3ee467(0x2,_0x8a1a57[_0x16631f(0x395)]),_0x3ee467(0x3,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x37f)])),_0x3ee467(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)]))],_0x4df2fb);var _0x4a9b59=Object['defineProperty'],_0x5167c6=Object[_0x16631f(0x57e)],_0x34a26e=(_0x89710e,_0xeba55,_0x2e1992,_0x399138)=>{const _0x176720=_0x16631f;for(var _0x69c82=_0x399138>0x1?void 0x0:_0x399138?_0x5167c6(_0xeba55,_0x2e1992):_0xeba55,_0x27fa66=_0x89710e[_0x176720(0x272)]-0x1,_0x15c8c6;_0x27fa66>=0x0;_0x27fa66--)(_0x15c8c6=_0x89710e[_0x27fa66])&&(_0x69c82=(_0x399138?_0x15c8c6(_0xeba55,_0x2e1992,_0x69c82):_0x15c8c6(_0x69c82))||_0x69c82);return _0x399138&&_0x69c82&&_0x4a9b59(_0xeba55,_0x2e1992,_0x69c82),_0x69c82;},_0x40898c=(_0x46ea93,_0x593e06)=>(_0x311b24,_0x2e9239)=>_0x593e06(_0x311b24,_0x2e9239,_0x46ea93);_0x2728bd[_0x16631f(0x484)]=class{constructor(_0x4edd97,_0x3160c5){const _0x118265=_0x16631f;this[_0x118265(0x31f)]=_0x4edd97,this[_0x118265(0x23f)]=_0x3160c5;}async[_0x16631f(0x171)](_0x586149,_0x43c491){const _0x2be8ef=_0x16631f;var _0x3aaa11;const {unitID:_0x497b98,type:_0x1c7bf5,revision:_0xc3d38a=0x0}=_0x43c491,_0x2bc2ed=this['_getSnapshotAPIPrefix']()+'/'+_0x1c7bf5+'/unit/'+_0x497b98+_0x2be8ef(0x33c)+_0xc3d38a,_0x29851b=(await this[_0x2be8ef(0x23f)][_0x2be8ef(0x241)](_0x2bc2ed))[_0x2be8ef(0x50c)],_0x59d9a8=(_0x3aaa11=_0x29851b[_0x2be8ef(0x4ea)])==null?void 0x0:_0x3aaa11[_0x2be8ef(0xf1)];if(_0x59d9a8){const _0x134bfb=_0x59d9a8==null?void 0x0:_0x59d9a8[_0x2be8ef(0x1f9)],_0xb8840d=_0x27cfd8[_0x2be8ef(0x3a5)][_0x2be8ef(0x469)](_0x27cfd8[_0x2be8ef(0x13e)](_0x134bfb));_0x59d9a8[_0x2be8ef(0x1f9)]=_0xb8840d,Object['entries'](_0x59d9a8[_0x2be8ef(0x273)])['forEach'](([,_0x59d9f2])=>{const _0x5629e8=_0x2be8ef,_0x1cf8c3=_0x59d9f2[_0x5629e8(0x1f9)],_0x104694=_0x27cfd8[_0x5629e8(0x3a5)][_0x5629e8(0x469)](_0x27cfd8[_0x5629e8(0x13e)](_0x1cf8c3));_0x59d9f2['originalMeta']=_0x104694;});}return _0x29851b;}async[_0x16631f(0x16b)](_0x367126,_0x343a03){const _0x462abc=_0x16631f,{unitID:_0x3996be,type:_0x222d58,blockID:_0x13d85d}=_0x343a03,_0x18cf16=this[_0x462abc(0x49f)]()+'/'+_0x222d58+_0x462abc(0x33e)+_0x3996be+'/block/'+_0x13d85d;return(await this['_httpService'][_0x462abc(0x241)](_0x18cf16))[_0x462abc(0x50c)];}async['getDeserializedSheetBlock'](_0x3ef5a0,_0x345fc4){const _0x292c8d=_0x16631f,{unitID:_0x2400f6,type:_0x3a0ef7,blockID:_0x1352cc}=_0x345fc4,_0x47542e=this[_0x292c8d(0x49f)]()+_0x292c8d(0x247)+_0x3a0ef7+_0x292c8d(0x33e)+_0x2400f6+'/block/'+_0x1352cc;return(await this[_0x292c8d(0x23f)][_0x292c8d(0x241)](_0x47542e))[_0x292c8d(0x50c)];}async['fetchMissingChangesets'](_0x76d74,_0x16dadf){const _0x273bd3=_0x16631f,{unitID:_0x455b6b,type:_0x4a7b77,from:_0x2da8a5,to:_0x18ce53}=_0x16dadf,_0x3bfa0a=this[_0x273bd3(0x49f)]()+'/'+_0x4a7b77+'/unit/'+_0x455b6b+_0x273bd3(0x42b)+_0x2da8a5+_0x273bd3(0x2e8)+_0x18ce53;return(await this['_httpService']['get'](_0x3bfa0a))[_0x273bd3(0x50c)];}[_0x16631f(0x233)](){const _0x39e604=_0x16631f;var _0x3630e2;return(_0x3630e2=this['_configService'][_0x39e604(0xfd)](_0x17ae05))!=null?_0x3630e2:this[_0x39e604(0x49f)]();}[_0x16631f(0x49f)](){const _0x12a03f=_0x16631f;var _0x2ff12d,_0x4b06c9;const _0x29428a=this['_configService'][_0x12a03f(0xfd)](_0x105ab0),_0x57157d=this[_0x12a03f(0x31f)][_0x12a03f(0xfd)](_0x132856);return(_0x4b06c9=(_0x2ff12d=_0x57157d==null?void 0x0:_0x57157d[_0x12a03f(0x2a6)])!=null?_0x2ff12d:_0x29428a)!=null?_0x4b06c9:_0x302226;}async[_0x16631f(0x232)](_0x5932d4,_0x20d336){const _0x10f393=_0x16631f,_0x997564=_0x10f393(0x57f)+_0x20d336[_0x10f393(0x49b)]+'/unit/'+_0x20d336['unitID']+_0x10f393(0x24f);return(await this[_0x10f393(0x23f)][_0x10f393(0x241)](_0x997564,{'params':{'resourceId':JSON[_0x10f393(0x338)](_0x20d336[_0x10f393(0x333)])}}))[_0x10f393(0x50c)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x4a8)](){const _0x5806fe=_0x16631f;throw new Error(_0x5806fe(0x4b4));}[_0x16631f(0x22e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x252)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x31b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2728bd['SnapshotServerOverHTTPService']=_0x34a26e([_0x40898c(0x0,_0x8a1a57['IConfigService']),_0x40898c(0x1,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)]))],_0x2728bd['SnapshotServerOverHTTPService']);var _0x2f9ce6=Object[_0x16631f(0x162)],_0x5233a1=Object[_0x16631f(0x57e)],_0x1c3b2d=(_0x13726f,_0x5de598,_0x183fa3,_0x123491)=>{for(var _0x45d5b9=_0x123491>0x1?void 0x0:_0x123491?_0x5233a1(_0x5de598,_0x183fa3):_0x5de598,_0x29bab6=_0x13726f['length']-0x1,_0x5c201f;_0x29bab6>=0x0;_0x29bab6--)(_0x5c201f=_0x13726f[_0x29bab6])&&(_0x45d5b9=(_0x123491?_0x5c201f(_0x5de598,_0x183fa3,_0x45d5b9):_0x5c201f(_0x45d5b9))||_0x45d5b9);return _0x123491&&_0x45d5b9&&_0x2f9ce6(_0x5de598,_0x183fa3,_0x45d5b9),_0x45d5b9;},_0x50e1ec=(_0x55eea0,_0x1bbfe5)=>(_0x2fc4a5,_0x1489d5)=>_0x1bbfe5(_0x2fc4a5,_0x1489d5,_0x55eea0);let _0x2cc3b7=class extends _0x8a1a57[_0x16631f(0x119)]{constructor(_0x3e9eca,_0x3c4740,_0x28d2f6,_0x8eb3e5,_0x40778f){const _0x198bef=_0x16631f;super(_0x3e9eca,_0x3c4740,_0x28d2f6),this[_0x198bef(0x549)]=_0x8eb3e5,this[_0x198bef(0x515)]=_0x40778f;}['transformUndoRedo'](_0xdbafc5,_0x1e6515){const _0x2842fb=_0x16631f,_0x4292e0=this[_0x2842fb(0x4e4)](_0xdbafc5);if(_0x4292e0)try{const _0x236cb3=this[_0x2842fb(0x4b2)](_0x4292e0,_0x1e6515);this['_substituteUndoStack'](_0xdbafc5,_0x236cb3);}catch(_0x2619de){this[_0x2842fb(0x515)]['error']('[CollaborationUndoRedoService]',_0x2619de),this[_0x2842fb(0x474)](_0xdbafc5);}const _0x4792d6=this[_0x2842fb(0x4ad)](_0xdbafc5);if(_0x4792d6)try{const _0x55c753=this[_0x2842fb(0x4b2)](_0x4792d6,_0x1e6515);this[_0x2842fb(0x472)](_0xdbafc5,_0x55c753);}catch(_0x328f44){this[_0x2842fb(0x515)][_0x2842fb(0x1df)](_0x328f44),this['_clearRedo'](_0xdbafc5);}}[_0x16631f(0x474)](_0x595e76){const _0x4deba7=_0x16631f,_0x3922be=this[_0x4deba7(0x4e4)](_0x595e76);_0x3922be&&(_0x3922be['length']=0x0,this[_0x4deba7(0x1c4)]());}[_0x16631f(0x254)](_0x5eeecb){const _0x3a15e6=_0x16631f,_0x38b995=this[_0x3a15e6(0x4ad)](_0x5eeecb);_0x38b995&&(_0x38b995[_0x3a15e6(0x272)]=0x0,this[_0x3a15e6(0x1c4)]());}['_substituteUndoStack'](_0xfb8ac,_0x5c6a63){const _0xf2ba1d=_0x16631f;this['_undoStacks']['set'](_0xfb8ac,_0x5c6a63),this[_0xf2ba1d(0x1c4)]();}[_0x16631f(0x472)](_0x46fdf4,_0x29cafb){const _0xc478a8=_0x16631f;this[_0xc478a8(0x3f8)]['set'](_0x46fdf4,_0x29cafb),this[_0xc478a8(0x1c4)]();}['_transformStack'](_0x1ce6a0,_0x59a06c){const _0x44f2f6=_0x16631f,_0x1ca8de=[];let _0x72f051=_0x59a06c,_0x6280a0=_0x59a06c;for(let _0x43d1c4=_0x1ce6a0[_0x44f2f6(0x272)]-0x1;_0x43d1c4>=0x0;_0x43d1c4--){const {unitID:_0x5872c6,undoMutations:_0x457f4e,redoMutations:_0x37bb39}=_0x1ce6a0[_0x43d1c4],_0xf5bae=this['_transformService'][_0x44f2f6(0x1b3)](_0x72f051,_0x457f4e),_0x3bc7da=this[_0x44f2f6(0x549)]['transformMutationsWithChangeset'](_0x6280a0,_0x37bb39);if(_0x27cfd8['isTransformMutationsWithChangesetFailure'](_0xf5bae)||_0x27cfd8[_0x44f2f6(0x57c)](_0x3bc7da)){this[_0x44f2f6(0x515)][_0x44f2f6(0x1df)](_0x44f2f6(0x44a),_0x44f2f6(0x277),_0xf5bae,_0x3bc7da);break;}_0x72f051=_0xf5bae[_0x44f2f6(0x4aa)],_0x6280a0=_0x3bc7da['c1Prime'],_0x1ca8de[_0x44f2f6(0x203)]({'unitID':_0x5872c6,'undoMutations':_0xf5bae['m2Prime'],'redoMutations':_0x3bc7da[_0x44f2f6(0x43e)]});}return _0x1ca8de[_0x44f2f6(0x29b)]();}};_0x2cc3b7=_0x1c3b2d([_0x50e1ec(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x50e1ec(0x1,_0x8a1a57[_0x16631f(0x350)]),_0x50e1ec(0x2,_0x8a1a57[_0x16631f(0x58d)]),_0x50e1ec(0x3,_0x27cfd8[_0x16631f(0x1bd)]),_0x50e1ec(0x4,_0x8a1a57[_0x16631f(0xfc)])],_0x2cc3b7);class _0x14391e extends _0x8a1a57[_0x16631f(0x228)]{constructor(){const _0x15b527=_0x16631f;super(),_0x2a606e(this,'urlChange$'),this['urlChange$']=_0x933215[_0x15b527(0x362)](window,_0x15b527(0x1ea))[_0x15b527(0x4be)](_0x933215[_0x15b527(0x3d9)](this[_0x15b527(0x42d)]),_0x933215['shareReplay'](0x1),_0x933215[_0x15b527(0x450)](void 0x0));}[_0x16631f(0x1de)](_0x4d0bc5,_0xc10461,_0x4b4d45=!0x1){const _0x1a4c76=_0x16631f,_0x4a66df=new URL(window['location'][_0x1a4c76(0x147)]);_0x4a66df[_0x1a4c76(0x237)][_0x1a4c76(0x41f)](_0x4d0bc5,_0xc10461),_0x4b4d45?window[_0x1a4c76(0x1e7)][_0x1a4c76(0x1ae)]('','',_0x4a66df[_0x1a4c76(0x3a4)]()):window['history']['pushState']('','',_0x4a66df['toString']());}[_0x16631f(0x573)](_0x47c47e,_0x4142c5=!0x1){const _0x4d9118=_0x16631f,_0x31e17c=new URL(window[_0x4d9118(0x219)][_0x4d9118(0x147)]);_0x31e17c[_0x4d9118(0x237)]['delete'](_0x47c47e),_0x4142c5?window[_0x4d9118(0x1e7)][_0x4d9118(0x1ae)]('','',_0x31e17c[_0x4d9118(0x3a4)]()):window['history'][_0x4d9118(0x20b)]('','',_0x31e17c[_0x4d9118(0x3a4)]());}['getParam'](_0x43d5d6){const _0x41ef46=_0x16631f;var _0x29f998;return(_0x29f998=new URL(window['location'][_0x41ef46(0x147)])[_0x41ef46(0x237)]['get'](_0x43d5d6))!=null?_0x29f998:void 0x0;}}var _0x3f63da=Object['defineProperty'],_0x272899=Object[_0x16631f(0x57e)],_0x3064e5=(_0x1eedba,_0x546312,_0x3b964e)=>_0x546312 in _0x1eedba?_0x3f63da(_0x1eedba,_0x546312,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b964e}):_0x1eedba[_0x546312]=_0x3b964e,_0x8b6fc3=(_0x12e526,_0x4197e2,_0x1b968a,_0x3061bc)=>{const _0x10038e=_0x16631f;for(var _0x5f2c0f=_0x3061bc>0x1?void 0x0:_0x3061bc?_0x272899(_0x4197e2,_0x1b968a):_0x4197e2,_0x9d15ee=_0x12e526[_0x10038e(0x272)]-0x1,_0x63dabe;_0x9d15ee>=0x0;_0x9d15ee--)(_0x63dabe=_0x12e526[_0x9d15ee])&&(_0x5f2c0f=(_0x3061bc?_0x63dabe(_0x4197e2,_0x1b968a,_0x5f2c0f):_0x63dabe(_0x5f2c0f))||_0x5f2c0f);return _0x3061bc&&_0x5f2c0f&&_0x3f63da(_0x4197e2,_0x1b968a,_0x5f2c0f),_0x5f2c0f;},_0x54ec10=(_0x1fcf8d,_0x1a3df3)=>(_0x1af45f,_0x1f57e2)=>_0x1a3df3(_0x1af45f,_0x1f57e2,_0x1fcf8d),_0x1abccb=(_0x151457,_0x21f69b,_0x216fab)=>_0x3064e5(_0x151457,_0x21f69b+'',_0x216fab);const _0x1cbeab='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x2728bd[_0x16631f(0x25e)]=class extends _0x8a1a57[_0x16631f(0x115)]{constructor(_0x4a13a5=_0x361e6c,_0x105a2f,_0x2724e1,_0x530601,_0xde6e50){const _0x4fed31=_0x16631f;super(),this['_config']=_0x4a13a5,this[_0x4fed31(0x515)]=_0x105a2f,this['_renderManagerService']=_0x2724e1,this[_0x4fed31(0x264)]=_0x530601,this[_0x4fed31(0x31f)]=_0xde6e50;const {..._0x4acb88}=this['_config'];this[_0x4fed31(0x31f)]['setConfig'](_0x132856,_0x4acb88);}[_0x16631f(0x430)](){const _0x3927b6=_0x16631f;this[_0x3927b6(0x535)](),this[_0x3927b6(0x35c)]();}[_0x16631f(0x570)](){const _0xec955e=_0x16631f;_0x8a1a57[_0xec955e(0x10f)](this[_0xec955e(0x264)],[[_0x21377e]]);}[_0x16631f(0x34a)](){const _0x54ae61=_0x16631f;this[_0x54ae61(0x578)]();}[_0x16631f(0x535)](){const _0xabe0d7=_0x16631f;var _0x14ec92,_0x245c3b,_0x4f729e,_0x52d821;this[_0xabe0d7(0x264)][_0xabe0d7(0x295)](_0x8a1a57[_0xabe0d7(0x540)])&&this[_0xabe0d7(0x515)][_0xabe0d7(0x1df)](_0xabe0d7(0x3c9),_0xabe0d7(0x447));const _0x420a35=[[_0x8a1a57[_0xabe0d7(0x540)],{'useClass':_0x2cc3b7}],[_0x2728bd[_0xabe0d7(0x37f)]],[_0x4216fe],[_0x38da0e,{'useClass':_0x14391e}],[_0x2728bd['MemberService']],[_0x2728bd['LocalCacheService']],[_0x547ebe[_0xabe0d7(0x1ca)]],[_0x1a79c5],[_0x3110cc],[_0xe93339],[_0x21b12b],[_0xc8790a],[_0x503962],[_0x3d44e4],[_0xe71ff7],[_0x4df2fb],[_0x55ce8e,{'useClass':(_0x245c3b=(_0x14ec92=this['_config'])==null?void 0x0:_0x14ec92[_0xabe0d7(0x585)])!=null?_0x245c3b:_0x2728bd[_0xabe0d7(0x260)]}],[_0x27cfd8[_0xabe0d7(0x240)],{'useClass':_0x2728bd[_0xabe0d7(0x484)]}],[_0x8a1a57['IAuthzIoService'],{'useClass':_0x2728bd['AuthzIoHttpService']}],[_0x1444d[_0xabe0d7(0x10e)],{'useClass':_0x2728bd[_0xabe0d7(0x2b6)]}],[_0x2728bd[_0xabe0d7(0x433)]],[_0x2728bd[_0xabe0d7(0x296)]],[_0x2728bd['DesktopCollaborationStatusDisplayController']],[_0x21377e],[_0xafbc5d]];(_0x4f729e=this[_0xabe0d7(0x26f)])!=null&&_0x4f729e[_0xabe0d7(0x250)]&&_0x420a35['push']([_0x50fb0f,{'useClass':_0x4874df}]),_0x8a1a57[_0xabe0d7(0x1ab)](this['_injector'],_0x8a1a57['mergeOverrideWithDependencies'](_0x420a35,(_0x52d821=this[_0xabe0d7(0x26f)])==null?void 0x0:_0x52d821['override']));}['_registerRenderDependencies'](){const _0x541bfb=_0x16631f;this[_0x541bfb(0x14a)](this[_0x541bfb(0x103)]['registerRenderModule'](_0x8a1a57[_0x541bfb(0x3e6)][_0x541bfb(0x327)],[_0x155007])),this[_0x541bfb(0x14a)](this[_0x541bfb(0x103)][_0x541bfb(0x131)](_0x8a1a57[_0x541bfb(0x3e6)][_0x541bfb(0x32e)],[_0x49e258]));}[_0x16631f(0x35c)](){const _0x18c089=_0x16631f;var _0x35aa44,_0x1dafcb;this['_injector']['get'](_0x547ebe[_0x18c089(0x359)])[_0x18c089(0x118)]({'priority':0x14,'interceptor':_0x547ebe[_0x18c089(0x20a)]({'maxParallel':0x6})}),(_0x35aa44=this[_0x18c089(0x26f)])!=null&&_0x35aa44['enableOfflineEditing']||this['_injector'][_0x18c089(0x241)](_0x2728bd[_0x18c089(0x2a1)])[_0x18c089(0x42f)](),(_0x1dafcb=this[_0x18c089(0x26f)])!=null&&_0x1dafcb[_0x18c089(0x52c)]&&_0x8a1a57[_0x18c089(0x10f)](this[_0x18c089(0x264)],[[_0x503962]]),_0x8a1a57[_0x18c089(0x10f)](this[_0x18c089(0x264)],[[_0x3d44e4],[_0xafbc5d],[_0x2728bd['DataLoaderController']],[_0x2728bd[_0x18c089(0x433)]],[_0x2728bd[_0x18c089(0x3ce)]],[_0x4df2fb]]);}},_0x1abccb(_0x2728bd[_0x16631f(0x25e)],'pluginName',_0x1cbeab),_0x2728bd[_0x16631f(0x25e)]=_0x8b6fc3([_0x8a1a57[_0x16631f(0x370)](_0x27cfd8[_0x16631f(0x565)],_0x547ebe['UniverNetworkPlugin']),_0x54ec10(0x1,_0x8a1a57[_0x16631f(0xfc)]),_0x54ec10(0x2,_0x20e8c2['IRenderManagerService']),_0x54ec10(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x54ec10(0x4,_0x8a1a57[_0x16631f(0x4f9)])],_0x2728bd[_0x16631f(0x25e)]),_0x2728bd['AUTHZ_URL_KEY']=_0x360662,_0x2728bd[_0x16631f(0x206)]=_0x5f392d,_0x2728bd[_0x16631f(0x12a)]=_0xa043d2,_0x2728bd[_0x16631f(0x2ac)]=_0x5d61dc,_0x2728bd[_0x16631f(0x34d)]=_0x39447f,_0x2728bd['CommentService']=_0xe71ff7,_0x2728bd['HEARTBEAT_INTERVAL_KEY']=_0x5308f2,_0x2728bd[_0x16631f(0x218)]=_0x24c7e0,_0x2728bd[_0x16631f(0x2a8)]=_0x55ce8e,_0x2728bd[_0x16631f(0x193)]=_0x38da0e,_0x2728bd['LOCAL_CACHE_INTERVAL_KEY']=_0x3c4516,_0x2728bd['LOGIN_URL_KEY']=_0x1da8a5,_0x2728bd[_0x16631f(0x231)]=_0x3f4302,_0x2728bd['SEND_CHANGESET_TIMEOUT_KEY']=_0xe2af66,_0x2728bd[_0x16631f(0x4dc)]=_0x105ab0,_0x2728bd[_0x16631f(0x426)]=_0x17ae05,_0x2728bd[_0x16631f(0x37d)]=_0x53eb3f,_0x2728bd['SheetCollabCursorShape']=_0x2a2a49,_0x2728bd['WebURLService']=_0x14391e,_0x2728bd[_0x16631f(0x436)]=_0x44af3e,_0x2728bd[_0x16631f(0x2ad)]=_0x5e3630,Object[_0x16631f(0x162)](_0x2728bd,Symbol[_0x16631f(0x31c)],{'value':'Module'});}));
1
+ function _0x31dd(_0x4375a9,_0x157c3a){const _0x2df670=_0x2df6();return _0x31dd=function(_0x31dd10,_0x3ab4ef){_0x31dd10=_0x31dd10-0x6d;let _0x54fbf2=_0x2df670[_0x31dd10];return _0x54fbf2;},_0x31dd(_0x4375a9,_0x157c3a);}(function(_0x5cf903,_0x5c394e){const _0x15730e=_0x31dd,_0xa961b=_0x5cf903();while(!![]){try{const _0x194253=-parseInt(_0x15730e(0x101))/0x1+parseInt(_0x15730e(0x314))/0x2+-parseInt(_0x15730e(0x427))/0x3+parseInt(_0x15730e(0x248))/0x4+-parseInt(_0x15730e(0x6f))/0x5+-parseInt(_0x15730e(0x236))/0x6+parseInt(_0x15730e(0x22b))/0x7;if(_0x194253===_0x5c394e)break;else _0xa961b['push'](_0xa961b['shift']());}catch(_0x145b56){_0xa961b['push'](_0xa961b['shift']());}}}(_0x2df6,0xd4b9f),function(_0x232f0d,_0x83c883){const _0x3a4180=_0x31dd;typeof exports==_0x3a4180(0x2c3)&&typeof module<'u'?_0x83c883(exports,require(_0x3a4180(0x209)),require(_0x3a4180(0x22f)),require(_0x3a4180(0x7d)),require(_0x3a4180(0x2b1)),require(_0x3a4180(0x258)),require(_0x3a4180(0x2a7)),require(_0x3a4180(0x26d)),require(_0x3a4180(0x422)),require(_0x3a4180(0x9c)),require(_0x3a4180(0x4ce)),require('@univerjs/engine-render'),require('@univerjs/docs'),require(_0x3a4180(0x4fb)),require(_0x3a4180(0x23d)),require(_0x3a4180(0x3ce)),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x3a4180(0x3cd)]?define([_0x3a4180(0x2d0),_0x3a4180(0x209),'rxjs',_0x3a4180(0x7d),_0x3a4180(0x2b1),_0x3a4180(0x258),_0x3a4180(0x2a7),_0x3a4180(0x26d),_0x3a4180(0x422),_0x3a4180(0x9c),_0x3a4180(0x4ce),_0x3a4180(0x304),_0x3a4180(0x2f1),_0x3a4180(0x4fb),_0x3a4180(0x23d),_0x3a4180(0x3ce),'react',_0x3a4180(0x366)],_0x83c883):(_0x232f0d=typeof globalThis<'u'?globalThis:_0x232f0d||self,_0x83c883(_0x232f0d[_0x3a4180(0x33f)]={},_0x232f0d[_0x3a4180(0x3d9)],_0x232f0d[_0x3a4180(0x22f)],_0x232f0d[_0x3a4180(0x22f)][_0x3a4180(0x4d5)],_0x232f0d['UniverDesign'],_0x232f0d['UniverUi'],_0x232f0d[_0x3a4180(0x2e6)],_0x232f0d[_0x3a4180(0x3ad)],_0x232f0d[_0x3a4180(0xbc)],_0x232f0d[_0x3a4180(0x4aa)],_0x232f0d[_0x3a4180(0x389)],_0x232f0d['UniverEngineRender'],_0x232f0d[_0x3a4180(0x46f)],_0x232f0d['UniverDrawing'],_0x232f0d[_0x3a4180(0x415)],_0x232f0d['UniverSheetsUi'],_0x232f0d[_0x3a4180(0x89)],_0x232f0d['UniverRpc']));}(this,function(_0x1b0f0a,_0x1c8991,_0x2dc6e4,_0x3563fe,_0x502233,_0x1af299,_0x2b12f0,_0x3b5018,_0x7d643e,_0x3c5b00,_0x2c20de,_0x90a0ec,_0x34d771,_0x73aec1,_0x16a788,_0x416764,_0xaa8f96,_0x17e323){'use strict';const _0x17756b=_0x31dd;var _0x5bc5cb=Object[_0x17756b(0x76)],_0x4532a0=(_0x55404f,_0x33da52,_0x2b1765)=>_0x33da52 in _0x55404f?_0x5bc5cb(_0x55404f,_0x33da52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b1765}):_0x55404f[_0x33da52]=_0x2b1765,_0x25db2a=(_0x48e2b8,_0x3348d3,_0x1204ba)=>_0x4532a0(_0x48e2b8,typeof _0x3348d3!=_0x17756b(0x233)?_0x3348d3+'':_0x3348d3,_0x1204ba);const _0x101d2c=_0x17756b(0x383),_0x56cbb9=_0x17756b(0x4b9),_0x4f035d=_0x17756b(0x211),_0x2f9a15=_0x17756b(0x16b),_0x3fcd22=_0x17756b(0x231),_0x29d15f=_0x17756b(0x355),_0x50b4d1=_0x17756b(0x1b7),_0x24ac3f=_0x17756b(0x45c),_0x13d628=_0x17756b(0x339),_0x366246=_0x17756b(0x448),_0x649aa=_0x17756b(0x34d),_0x178ed3=_0x17756b(0x2d4),_0x26267f=_0x17756b(0x4e5),_0x24714a='/universer-api/oidc/authpage';var _0x24b2e1=(_0x28b281=>(_0x28b281[_0x28b281['UNDEFINED']=0x0]=_0x17756b(0x4c3),_0x28b281[_0x28b281['OK']=0x1]='OK',_0x28b281[_0x28b281[_0x17756b(0x346)]=0x2]=_0x17756b(0x346),_0x28b281[_0x28b281[_0x17756b(0x368)]=0x3]='PERMISSION_DENIED',_0x28b281[_0x28b281[_0x17756b(0x240)]=0x4]=_0x17756b(0x240),_0x28b281[_0x28b281[_0x17756b(0x2cc)]=0x5]=_0x17756b(0x2cc),_0x28b281[_0x28b281[_0x17756b(0x110)]=0x6]='ALREADY_EXISTS',_0x28b281[_0x28b281[_0x17756b(0x42a)]=0x7]=_0x17756b(0x42a),_0x28b281[_0x28b281['TOO_MANY_REQUESTS']=0x8]=_0x17756b(0x1e2),_0x28b281[_0x28b281[_0x17756b(0x83)]=0x9]=_0x17756b(0x83),_0x28b281[_0x28b281['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x17756b(0x496),_0x28b281[_0x28b281['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x17756b(0x41b),_0x28b281[_0x28b281[_0x17756b(0x278)]=0x1772]=_0x17756b(0x278),_0x28b281[_0x28b281[_0x17756b(0x4d4)]=0x1773]=_0x17756b(0x4d4),_0x28b281[_0x28b281[_0x17756b(0x4c1)]=0x1b59]=_0x17756b(0x4c1),_0x28b281[_0x28b281[_0x17756b(0x3ff)]=0x1b5a]=_0x17756b(0x3ff),_0x28b281[_0x28b281[_0x17756b(0x129)]=0x1b5b]=_0x17756b(0x129),_0x28b281[_0x28b281[_0x17756b(0x35e)]=0x1b5c]=_0x17756b(0x35e),_0x28b281[_0x28b281[_0x17756b(0xd0)]=0x1b5d]='APPLY_DUPLICATED',_0x28b281[_0x28b281[_0x17756b(0x99)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x28b281[_0x28b281[_0x17756b(0x4ae)]=0x2329]=_0x17756b(0x4ae),_0x28b281[_0x28b281['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x17756b(0x357),_0x28b281[_0x28b281[_0x17756b(0x4e0)]=0x232b]=_0x17756b(0x4e0),_0x28b281[_0x28b281[_0x17756b(0x400)]=0x232c]=_0x17756b(0x400),_0x28b281[_0x28b281[_0x17756b(0x362)]=0x232d]=_0x17756b(0x362),_0x28b281[_0x28b281[_0x17756b(0x345)]=0x2711]=_0x17756b(0x345),_0x28b281[_0x28b281[_0x17756b(0x1d2)]=0x2712]=_0x17756b(0x1d2),_0x28b281[_0x28b281[_0x17756b(0x298)]=0x2713]=_0x17756b(0x298),_0x28b281[_0x28b281[_0x17756b(0x123)]=0x2714]=_0x17756b(0x123),_0x28b281[_0x28b281[_0x17756b(0x1de)]=-0x1]='UNRECOGNIZED',_0x28b281))(_0x24b2e1||{}),_0x281464=(_0x11381a=>(_0x11381a[_0x11381a[_0x17756b(0x3e4)]=0x0]=_0x17756b(0x3e4),_0x11381a[_0x11381a[_0x17756b(0x524)]=0x1]=_0x17756b(0x524),_0x11381a[_0x11381a[_0x17756b(0x2db)]=0x2]='UNIVER_SHEET',_0x11381a[_0x11381a[_0x17756b(0x316)]=0x3]='UNIVER_SLIDE',_0x11381a[_0x11381a[_0x17756b(0xcd)]=0x4]='UNIVER_PROJECT',_0x11381a[_0x11381a[_0x17756b(0x1de)]=-0x1]=_0x17756b(0x1de),_0x11381a))(_0x281464||{}),_0x2d899c=(_0x273bce=>(_0x273bce[_0x273bce['UNKNOWN_CMD']=0x0]=_0x17756b(0x35b),_0x273bce[_0x273bce[_0x17756b(0x2da)]=0x1]='HELLO',_0x273bce[_0x273bce[_0x17756b(0x238)]=0x2]=_0x17756b(0x238),_0x273bce[_0x273bce['LEAVE']=0x3]=_0x17756b(0x515),_0x273bce[_0x273bce[_0x17756b(0x119)]=0x4]=_0x17756b(0x119),_0x273bce[_0x273bce[_0x17756b(0xd4)]=0x5]=_0x17756b(0xd4),_0x273bce[_0x273bce[_0x17756b(0x1e4)]=0x6]=_0x17756b(0x1e4),_0x273bce[_0x273bce[_0x17756b(0x1de)]=-0x1]=_0x17756b(0x1de),_0x273bce))(_0x2d899c||{}),_0x3d8903=(_0x4ba172=>(_0x4ba172[_0x4ba172[_0x17756b(0x4d2)]=0x0]=_0x17756b(0x4d2),_0x4ba172[_0x4ba172['OK']=0x1]='OK',_0x4ba172[_0x4ba172[_0x17756b(0x1f5)]=0x2]=_0x17756b(0x1f5),_0x4ba172[_0x4ba172['UNRECOGNIZED']=-0x1]=_0x17756b(0x1de),_0x4ba172))(_0x3d8903||{}),_0x23826c=(_0x3abdf5=>(_0x3abdf5[_0x3abdf5[_0x17756b(0x377)]=0x0]=_0x17756b(0x377),_0x3abdf5[_0x3abdf5[_0x17756b(0xa3)]=0x1]=_0x17756b(0xa3),_0x3abdf5[_0x3abdf5[_0x17756b(0x35c)]=0x2]=_0x17756b(0x35c),_0x3abdf5[_0x3abdf5[_0x17756b(0x167)]=0x3]=_0x17756b(0x167),_0x3abdf5[_0x3abdf5[_0x17756b(0x40b)]=0x4]=_0x17756b(0x40b),_0x3abdf5[_0x3abdf5['UNRECOGNIZED']=-0x1]=_0x17756b(0x1de),_0x3abdf5))(_0x23826c||{});const _0x5adfcf=_0x17756b(0x147),_0x5b2dfd={};function _0x547db5(_0x4f0e89){const _0x4790d7=_0x17756b;var _0x1d3c3a,_0x4327f7,_0x393992,_0x42d069,_0x4ec998;const _0x1f48fe=_0x4f0e89[_0x4790d7(0x39b)],_0x5b4cc5=JSON['parse'](_0x1f48fe);switch(_0x5b4cc5[_0x4790d7(0x2a9)]){case _0x2d899c[_0x4790d7(0xd4)]:case _0x2d899c[_0x4790d7(0x2da)]:{const _0x3a20a9=_0x5b4cc5[_0x4790d7(0x212)];return{..._0x5b4cc5,'data':_0x3a20a9,'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};}case _0x2d899c[_0x4790d7(0x238)]:{const _0x4ad27a=_0x5b4cc5[_0x4790d7(0x15b)];return{..._0x5b4cc5,'data':_0x4ad27a,'cmd':_0x5b4cc5['cmd']};}case _0x2d899c[_0x4790d7(0x1e4)]:{const _0x43fb69=_0x5b4cc5['collaMsg'];switch(_0x43fb69['eventID']){case _0x3b5018[_0x4790d7(0x25c)][_0x4790d7(0x2ed)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':(_0x1d3c3a=_0x43fb69[_0x4790d7(0x2f9)])==null?void 0x0:_0x1d3c3a['cs']},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018['CollaborationEvent'][_0x4790d7(0x326)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':(_0x4327f7=_0x43fb69['csAckEvent'])==null?void 0x0:_0x4327f7['cs']},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018['CollaborationEvent'][_0x4790d7(0x3d1)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':(_0x393992=_0x43fb69[_0x4790d7(0x487)])==null?void 0x0:_0x393992['cs']},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018[_0x4790d7(0x25c)][_0x4790d7(0x3dd)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':(_0x42d069=_0x43fb69[_0x4790d7(0x10b)])==null?void 0x0:_0x42d069['cs']},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':(_0x4ec998=_0x43fb69[_0x4790d7(0x206)])==null?void 0x0:_0x4ec998['cs']},'cmd':_0x5b4cc5['cmd']};case _0x3b5018[_0x4790d7(0x25c)][_0x4790d7(0x19b)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69[_0x4790d7(0x290)]},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018[_0x4790d7(0x25c)][_0x4790d7(0x423)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69[_0x4790d7(0x2ba)]},'cmd':_0x5b4cc5['cmd']};case _0x3b5018[_0x4790d7(0x25c)][_0x4790d7(0x4c6)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69[_0x4790d7(0x100)]},'cmd':_0x5b4cc5['cmd']};case _0x3b5018[_0x4790d7(0x25c)][_0x4790d7(0x32c)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69['liveShareNewHost']},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018[_0x4790d7(0x25c)][_0x4790d7(0x2a0)]:case _0x3b5018['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69['liveShareOperation']},'cmd':_0x5b4cc5['cmd']};case _0x3b5018[_0x4790d7(0x25c)]['LIVESHARE_TERMINATE']:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69[_0x4790d7(0x488)]},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018[_0x4790d7(0x25c)]['MSG_FOR_ERROR']:return{..._0x5b4cc5,'data':_0x43fb69,'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018[_0x4790d7(0x25c)]['COMMENT_UPDATE']:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69[_0x4790d7(0x2bb)]},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018[_0x4790d7(0x25c)][_0x4790d7(0x3fe)]:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69['updatePermissionObjEvent']},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};case _0x3b5018[_0x4790d7(0x25c)]['SHOULD_CLOSE_CONN']:return{..._0x5b4cc5,'data':{..._0x43fb69,'data':_0x43fb69[_0x4790d7(0x1b2)]},'cmd':_0x5b4cc5[_0x4790d7(0x2a9)]};default:return _0x5b4cc5;}}default:return _0x5b4cc5;}}function _0x395abc(_0x54425b){const _0x1ed111=_0x17756b;switch(_0x54425b[_0x1ed111(0x2a9)]){case _0x2d899c[_0x1ed111(0xd4)]:case _0x2d899c[_0x1ed111(0x2da)]:return JSON[_0x1ed111(0xe9)]({'cmd':_0x54425b[_0x1ed111(0x2a9)],'routeKey':_0x54425b[_0x1ed111(0x317)]});case _0x2d899c['INGEST']:{let _0x131297;switch(_0x54425b[_0x1ed111(0x39b)][_0x1ed111(0x1a5)]){case _0x3b5018[_0x1ed111(0x25c)][_0x1ed111(0x19b)]:{_0x131297={'eventID':_0x3b5018[_0x1ed111(0x25c)]['UPDATE_CURSOR'],'updateCursorEvent':_0x54425b[_0x1ed111(0x39b)][_0x1ed111(0x39b)]};break;}case _0x3b5018[_0x1ed111(0x25c)][_0x1ed111(0x4c6)]:{_0x131297={'eventID':_0x3b5018['CollaborationEvent'][_0x1ed111(0x4c6)],'leaveEvent':_0x54425b['data'][_0x1ed111(0x39b)]};break;}case _0x3b5018[_0x1ed111(0x25c)]['USERS_ENTER']:{_0x131297={'eventID':_0x3b5018[_0x1ed111(0x25c)][_0x1ed111(0x423)],'joinEvent':_0x54425b[_0x1ed111(0x39b)][_0x1ed111(0x39b)]};break;}case _0x3b5018['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x131297={'eventID':_0x3b5018[_0x1ed111(0x25c)][_0x1ed111(0x32c)],'liveShareNewHost':_0x54425b[_0x1ed111(0x39b)]['data']};break;}case _0x3b5018[_0x1ed111(0x25c)][_0x1ed111(0x4bc)]:{_0x131297={'eventID':_0x3b5018[_0x1ed111(0x25c)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x54425b[_0x1ed111(0x39b)][_0x1ed111(0x39b)]};break;}case _0x3b5018[_0x1ed111(0x25c)][_0x1ed111(0x21e)]:{_0x131297={'eventID':_0x3b5018[_0x1ed111(0x25c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x54425b[_0x1ed111(0x39b)][_0x1ed111(0x39b)]};break;}case _0x3b5018['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x131297={'eventID':_0x3b5018['CollaborationEvent'][_0x1ed111(0x113)],'liveShareRequestHost':_0x54425b['data']['data']};break;}case _0x3b5018[_0x1ed111(0x25c)][_0x1ed111(0x2a0)]:{_0x131297={'eventID':_0x3b5018['CollaborationEvent'][_0x1ed111(0x2a0)]};break;}default:_0x131297={'eventID':_0x54425b['data'][_0x1ed111(0x1a5)]};}return JSON[_0x1ed111(0xe9)]({'cmd':_0x54425b[_0x1ed111(0x2a9)],'routeKey':_0x54425b[_0x1ed111(0x317)],'collaMsg':_0x131297});}case _0x2d899c[_0x1ed111(0x238)]:return JSON[_0x1ed111(0xe9)]({'cmd':_0x54425b[_0x1ed111(0x2a9)],'routeKey':_0x54425b['routeKey'],'joinReq':_0x54425b[_0x1ed111(0x39b)]});case _0x2d899c[_0x1ed111(0x515)]:return JSON[_0x1ed111(0xe9)]({'cmd':_0x54425b[_0x1ed111(0x2a9)],'routeKey':_0x54425b[_0x1ed111(0x317)],'leaveReq':_0x54425b[_0x1ed111(0x39b)]});default:throw new Error(_0x1ed111(0x2f0));}}var _0x45520f=Object[_0x17756b(0x76)],_0x279053=Object[_0x17756b(0x4db)],_0x4c0c08=(_0x9bfcec,_0xa867b8,_0x232ed7,_0x571dac)=>{for(var _0x5a78a5=_0x571dac>0x1?void 0x0:_0x571dac?_0x279053(_0xa867b8,_0x232ed7):_0xa867b8,_0x3be796=_0x9bfcec['length']-0x1,_0x2f0d4e;_0x3be796>=0x0;_0x3be796--)(_0x2f0d4e=_0x9bfcec[_0x3be796])&&(_0x5a78a5=(_0x571dac?_0x2f0d4e(_0xa867b8,_0x232ed7,_0x5a78a5):_0x2f0d4e(_0x5a78a5))||_0x5a78a5);return _0x571dac&&_0x5a78a5&&_0x45520f(_0xa867b8,_0x232ed7,_0x5a78a5),_0x5a78a5;},_0x377977=(_0x37db65,_0xe85f2)=>(_0x3cb200,_0xcada56)=>_0xe85f2(_0x3cb200,_0xcada56,_0x37db65);const _0x14b5ef=_0x1c8991[_0x17756b(0x306)](_0x17756b(0x3b7));function _0x5d6460(_0x160bd7,_0x35fd71,_0x51617d){const _0x4fefa5=_0x17756b;return _0x160bd7+'/'+_0x35fd71+_0x4fefa5(0x45b)+_0x51617d+_0x4fefa5(0x42d);}_0x1b0f0a['CollaborationSocketService']=class extends _0x1c8991['Disposable']{constructor(_0x55be20,_0x787d43,_0x32754a,_0x4433a8,_0x2e43f7){const _0x2ce2ca=_0x17756b;super(),this[_0x2ce2ca(0x2d9)]=_0x55be20,this[_0x2ce2ca(0x39e)]=_0x787d43,this['_configService']=_0x32754a,this['_logService']=_0x4433a8,this[_0x2ce2ca(0x166)]=_0x2e43f7;}[_0x17756b(0x33b)](_0x489cf3){const _0x18cb03=_0x17756b,_0x11bd1c=this[_0x18cb03(0x39e)]['createSocket'](_0x489cf3);if(!_0x11bd1c)throw new Error(_0x18cb03(0x507));const _0x58e374=new _0x1c8991['DisposableCollection'](),_0x5cccc4=new _0x2dc6e4['Subject']();_0x58e374['add'](_0x11bd1c[_0x18cb03(0x4c0)][_0x18cb03(0x500)](_0x439b4c=>_0x5cccc4[_0x18cb03(0x47b)](_0x439b4c))),_0x58e374[_0x18cb03(0x1f6)](_0x1c8991['toDisposable'](()=>_0x5cccc4[_0x18cb03(0x3a9)]()));const _0x162af8=new _0x2dc6e4[(_0x18cb03(0x26c))]();_0x58e374['add'](_0x11bd1c[_0x18cb03(0x247)][_0x18cb03(0x500)](_0x384f7c=>_0x162af8[_0x18cb03(0x47b)](_0x384f7c))),_0x58e374[_0x18cb03(0x1f6)](_0x1c8991['toDisposable'](()=>_0x162af8[_0x18cb03(0x3a9)]()));const _0x534e2a=new _0x2dc6e4[(_0x18cb03(0x26c))]();_0x58e374[_0x18cb03(0x1f6)](_0x11bd1c[_0x18cb03(0x3fd)]['subscribe'](_0x5da1d9=>{const _0xf96ba3=_0x18cb03,_0x5ef7e0=_0x547db5(_0x5da1d9);_0x534e2a[_0xf96ba3(0x47b)](_0x5ef7e0);})),_0x58e374['add'](_0x1c8991[_0x18cb03(0x3c4)](()=>_0x534e2a[_0x18cb03(0x3a9)]()));let _0x43beb7;const _0x38eae5=()=>{const _0x101b49=_0x18cb03;_0x162af8[_0x101b49(0x47b)](new Event(_0x101b49(0x16f))),_0x5cccc4[_0x101b49(0x47b)](new CloseEvent(_0x101b49(0x16f))),_0x43beb7[_0x101b49(0x181)]();};return _0x43beb7={'memberID':'','close$':_0x5cccc4[_0x18cb03(0x4cc)](),'error$':_0x162af8[_0x18cb03(0x4cc)](),'open$':_0x11bd1c[_0x18cb03(0x1ad)],'message$':_0x534e2a['asObservable'](),'send':_0x1a17e0=>{const _0x59077e=_0x18cb03;if(_0x1a17e0['cmd']===_0x2d899c[_0x59077e(0x119)]){if(_0x1a17e0[_0x59077e(0x39b)][_0x59077e(0x1a5)]===_0x3b5018['CollaborationEvent'][_0x59077e(0x39c)]){this[_0x59077e(0x1da)](_0x43beb7,_0x1a17e0[_0x59077e(0x39b)])[_0x59077e(0x305)](_0x54377e=>{const _0x30b272=_0x59077e;this[_0x30b272(0x532)][_0x30b272(0x47c)](_0x54377e),_0x38eae5();});return;}if(_0x1a17e0['data'][_0x59077e(0x1a5)]===_0x3b5018[_0x59077e(0x25c)][_0x59077e(0x491)]){const _0x475adf=_0x1a17e0[_0x59077e(0x39b)];this[_0x59077e(0x489)](_0x475adf)['then'](_0x53857e=>{const _0x4e1fba=_0x59077e;_0x534e2a[_0x4e1fba(0x47b)]({'cmd':_0x2d899c['RECV'],'code':_0x3d8903['OK'],'routeKey':_0x475adf[_0x4e1fba(0x39b)]['unitID'],'routeType':'','data':{'eventID':_0x3b5018['CollaborationEvent'][_0x4e1fba(0x41e)],'data':{'changesets':_0x53857e}}});})[_0x59077e(0x305)](_0x7924f4=>{const _0x4ddadd=_0x59077e;this[_0x4ddadd(0x532)][_0x4ddadd(0x47c)](_0x7924f4),_0x38eae5();});return;}}_0x11bd1c[_0x59077e(0x213)](_0x395abc(_0x1a17e0));},'close':()=>{const _0x45d8b5=_0x18cb03;_0x11bd1c[_0x45d8b5(0x181)](),_0x58e374['dispose']();}},_0x43beb7;}async['_submitChangeset'](_0xd4eeb3,_0x23f796){const _0x1e8465=_0x17756b;var _0x16ac53,_0x1b94dd;const {unitType:_0x25e3c3,unitID:_0xa26f2b,changeset:_0x299af7}=_0x23f796[_0x1e8465(0x39b)],_0x35ddc7={'unitID':_0xa26f2b,'memberID':_0xd4eeb3['memberID'],'type':_0x25e3c3,'changeset':_0x3b5018['parseChangesetToProtocol'](_0x299af7)},_0x2f56df=this[_0x1e8465(0x4ed)][_0x1e8465(0x4b2)](_0x649aa),_0x3d3719=this[_0x1e8465(0x4ed)][_0x1e8465(0x4b2)](_0x5adfcf),_0x17656c=_0x5d6460((_0x1b94dd=(_0x16ac53=_0x3d3719==null?void 0x0:_0x3d3719[_0x1e8465(0x15a)])!=null?_0x16ac53:_0x2f56df)!=null?_0x1b94dd:_0x178ed3,_0x25e3c3,_0xa26f2b);try{await this['_http'][_0x1e8465(0x266)](_0x17656c,{'body':_0x35ddc7});}catch(_0x521fbc){throw this[_0x1e8465(0x532)][_0x1e8465(0x47c)](_0x1e8465(0x30b),_0x1e8465(0x387)),_0x521fbc;}}async[_0x17756b(0x489)](_0x1a0281){const _0xe574e9=_0x17756b,{unitID:_0x5adcce,from:_0x14a58d,to:_0x51148c,unitType:_0x4f8f9f}=_0x1a0281[_0xe574e9(0x39b)];return(await this[_0xe574e9(0x166)][_0xe574e9(0x3e6)]({'metadata':void 0x0},{'unitID':_0x5adcce,'type':_0x4f8f9f,'from':_0x14a58d,'to':_0x51148c}))['changesets'];}},_0x1b0f0a[_0x17756b(0x115)]=_0x4c0c08([_0x377977(0x0,_0x1c8991[_0x17756b(0x329)](_0x2b12f0[_0x17756b(0x1af)])),_0x377977(0x1,_0x1c8991[_0x17756b(0x329)](_0x2b12f0[_0x17756b(0x161)])),_0x377977(0x2,_0x1c8991[_0x17756b(0x4ef)]),_0x377977(0x3,_0x1c8991[_0x17756b(0x2e2)]),_0x377977(0x4,_0x3b5018[_0x17756b(0x510)])],_0x1b0f0a[_0x17756b(0x115)]);const _0x2409f5=_0x17756b(0x3f2);function _0x41dc4c(_0x563621){const _0x448fd5=_0x17756b;return JSON[_0x448fd5(0xe9)](_0x563621)['length'];}class _0x3b3d02{constructor(){const _0x29eea7=_0x17756b;_0x25db2a(this,_0x29eea7(0x74),new _0x2dc6e4[(_0x29eea7(0x26c))]()),_0x25db2a(this,_0x29eea7(0x19a),this[_0x29eea7(0x74)][_0x29eea7(0x4cc)]());}[_0x17756b(0x38f)](_0x461c0f){const _0x40c203=_0x17756b;this[_0x40c203(0x74)]['next'](_0x461c0f);}}var _0x469263=Object[_0x17756b(0x76)],_0x45dcfe=Object['getOwnPropertyDescriptor'],_0x46e09b=(_0x415509,_0x315637,_0x466bc7,_0x30aa2d)=>{for(var _0x5d80af=_0x30aa2d>0x1?void 0x0:_0x30aa2d?_0x45dcfe(_0x315637,_0x466bc7):_0x315637,_0x688ccb=_0x415509['length']-0x1,_0x11a3c;_0x688ccb>=0x0;_0x688ccb--)(_0x11a3c=_0x415509[_0x688ccb])&&(_0x5d80af=(_0x30aa2d?_0x11a3c(_0x315637,_0x466bc7,_0x5d80af):_0x11a3c(_0x5d80af))||_0x5d80af);return _0x30aa2d&&_0x5d80af&&_0x469263(_0x315637,_0x466bc7,_0x5d80af),_0x5d80af;},_0xb6ecc5=(_0x1553fc,_0x3ca60b)=>(_0x26aeb3,_0x4e7427)=>_0x3ca60b(_0x26aeb3,_0x4e7427,_0x1553fc);_0x1b0f0a[_0x17756b(0x44a)]=class extends _0x1c8991['Disposable']{constructor(_0x43ad83,_0x21a7f4){const _0x552c61=_0x17756b;super(),_0x25db2a(this,_0x552c61(0x3a7),new Map()),(this[_0x552c61(0x35f)]=_0x43ad83,this[_0x552c61(0x48f)]=_0x21a7f4,this[_0x552c61(0x9b)](_0x1c8991[_0x552c61(0x3c4)](_0x2dc6e4[_0x552c61(0x134)](this[_0x552c61(0x35f)][_0x552c61(0x158)](_0x1c8991[_0x552c61(0x469)][_0x552c61(0x2db)])['pipe'](_0x3563fe[_0x552c61(0x3d0)](_0x14c477=>_0x14c477[_0x552c61(0x51a)]())),this[_0x552c61(0x35f)][_0x552c61(0x158)](_0x1c8991[_0x552c61(0x469)][_0x552c61(0x524)])[_0x552c61(0x26f)](_0x3563fe[_0x552c61(0x3d0)](_0x5cb99b=>_0x5cb99b['getUnitId']())),this[_0x552c61(0x35f)]['getTypeOfUnitDisposed$'](_0x1c8991['UniverInstanceType'][_0x552c61(0x316)])['pipe'](_0x3563fe[_0x552c61(0x3d0)](_0x413543=>_0x413543['getUnitId']())))[_0x552c61(0x500)](_0x1343d1=>this[_0x552c61(0x4ee)](_0x1343d1)))));}['setCurrentUser'](_0x391342){const _0x4eb505=_0x17756b;this[_0x4eb505(0x48f)]['setCurrentUser'](_0x391342);}[_0x17756b(0xaf)](){const _0xe7e7f7=_0x17756b;return this[_0xe7e7f7(0x48f)][_0xe7e7f7(0xaf)]();}[_0x17756b(0x1b1)](_0x87276b,_0x4ba809){const _0x210727=_0x17756b;let _0xf2eab9=this[_0x210727(0x3a7)][_0x210727(0x30c)](_0x87276b);_0xf2eab9||(_0xf2eab9=new _0x35f9d5(),this['_roomMembers'][_0x210727(0x331)](_0x87276b,_0xf2eab9)),_0xf2eab9['updateMember'](_0x4ba809);}['removeMember'](_0x2df67d,_0x456f17){const _0x191fa0=_0x17756b,_0x1bf44c=this[_0x191fa0(0x3a7)][_0x191fa0(0x30c)](_0x2df67d);_0x1bf44c&&_0x1bf44c['removeMember'](_0x456f17);}[_0x17756b(0x41c)](_0x38194f){const _0x1adf6c=_0x17756b;return this[_0x1adf6c(0x3a7)][_0x1adf6c(0x30c)](_0x38194f);}[_0x17756b(0x27d)](_0x3ff5c0,_0x4851d3){const _0x1fcd59=_0x17756b,_0x17d1f6=this['_roomMembers'][_0x1fcd59(0x30c)](_0x3ff5c0);if(_0x17d1f6)return _0x17d1f6[_0x1fcd59(0x27d)](_0x4851d3);}[_0x17756b(0x4ee)](_0x52272d){const _0x5ab7a0=_0x17756b,_0xefc1cd=this[_0x5ab7a0(0x3a7)]['get'](_0x52272d);_0xefc1cd&&(_0xefc1cd[_0x5ab7a0(0x43f)](),this['_roomMembers'][_0x5ab7a0(0x4f4)](_0x52272d));}[_0x17756b(0x43f)](){const _0x589cfb=_0x17756b;this['_roomMembers']['forEach'](_0x54fc1c=>_0x54fc1c[_0x589cfb(0x43f)]()),this[_0x589cfb(0x3a7)]['clear']();}},_0x1b0f0a['MemberService']=_0x46e09b([_0xb6ecc5(0x0,_0x1c8991[_0x17756b(0x2e7)]),_0xb6ecc5(0x1,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0x322)]))],_0x1b0f0a[_0x17756b(0x44a)]);class _0x35f9d5 extends _0x1c8991[_0x17756b(0xe4)]{constructor(){const _0x750a6f=_0x17756b;super(...arguments),_0x25db2a(this,_0x750a6f(0x1c2),new Map());}['dispose'](){const _0x31f58f=_0x17756b;this['_members'][_0x31f58f(0xc5)]();}[_0x17756b(0x1b1)](_0xf4b1bc){const _0x2012ab=_0x17756b;this[_0x2012ab(0x1c2)][_0x2012ab(0x331)](_0xf4b1bc['memberID'],_0xf4b1bc);}['removeMember'](_0xffeaf2){const _0x4392da=_0x17756b;this[_0x4392da(0x1c2)][_0x4392da(0x4f4)](_0xffeaf2);}[_0x17756b(0x27d)](_0x5da700){const _0x4c1b25=_0x17756b;return this[_0x4c1b25(0x1c2)]['get'](_0x5da700);}[_0x17756b(0x1f4)](){const _0x31d6a2=_0x17756b;return Array[_0x31d6a2(0x1be)](this[_0x31d6a2(0x1c2)][_0x31d6a2(0x7b)]());}}var _0x24406e=Object['defineProperty'],_0x4e9eec=Object['getOwnPropertyDescriptor'],_0x1e9ff4=(_0x55c869,_0x255c64,_0x37c1f0,_0x401069)=>{const _0x3af786=_0x17756b;for(var _0x1a53c1=_0x401069>0x1?void 0x0:_0x401069?_0x4e9eec(_0x255c64,_0x37c1f0):_0x255c64,_0x1b3466=_0x55c869[_0x3af786(0x189)]-0x1,_0x1310c7;_0x1b3466>=0x0;_0x1b3466--)(_0x1310c7=_0x55c869[_0x1b3466])&&(_0x1a53c1=(_0x401069?_0x1310c7(_0x255c64,_0x37c1f0,_0x1a53c1):_0x1310c7(_0x1a53c1))||_0x1a53c1);return _0x401069&&_0x1a53c1&&_0x24406e(_0x255c64,_0x37c1f0,_0x1a53c1),_0x1a53c1;},_0x52eb3b=(_0x1c07f2,_0x446ffa)=>(_0x399f03,_0x283e0f)=>_0x446ffa(_0x399f03,_0x283e0f,_0x1c07f2),_0x1421cb=(_0x5a007b=>(_0x5a007b[_0x5a007b[_0x17756b(0x31c)]=0x0]=_0x17756b(0x31c),_0x5a007b[_0x5a007b[_0x17756b(0x2a2)]=0x1]=_0x17756b(0x2a2),_0x5a007b[_0x5a007b['OFFLINE']=0x2]=_0x17756b(0x272),_0x5a007b[_0x5a007b[_0x17756b(0xc3)]=0x3]=_0x17756b(0xc3),_0x5a007b))(_0x1421cb||{});_0x1b0f0a[_0x17756b(0x1e0)]=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0xb0425a,_0x16b5f7,_0x245aad,_0x915f2,_0x41cf07,_0x3bab5e,_0x21e7a6,_0x888544,_0xf67376,_0x12a6c7){const _0x52683e=_0x17756b;super(),_0x25db2a(this,_0x52683e(0x490),new _0x2dc6e4[(_0x52683e(0x1fa))](0x0)),_0x25db2a(this,_0x52683e(0x392),this[_0x52683e(0x490)][_0x52683e(0x4cc)]()),_0x25db2a(this,_0x52683e(0x503),new _0x2dc6e4['Subject']()),_0x25db2a(this,_0x52683e(0x42f),this[_0x52683e(0x503)][_0x52683e(0x4cc)]()),_0x25db2a(this,_0x52683e(0x3ab)),_0x25db2a(this,_0x52683e(0xd9)),_0x25db2a(this,_0x52683e(0xa7)),_0x25db2a(this,_0x52683e(0x111),!0x1),_0x25db2a(this,'_telemetryInfo',null),(this[_0x52683e(0x2d7)]=_0xb0425a,this[_0x52683e(0x532)]=_0x245aad,this[_0x52683e(0x237)]=_0x915f2,this['_messageService']=_0x41cf07,this[_0x52683e(0x4ed)]=_0x3bab5e,this[_0x52683e(0x3ee)]=_0x21e7a6,this['_memberService']=_0x888544,this[_0x52683e(0x344)]=_0xf67376,this['_telemetryService']=_0x12a6c7,this['_shouldReportTelemetry']=!!this[_0x52683e(0x2fd)],_0x16b5f7[_0x52683e(0x26f)](_0x2dc6e4[_0x52683e(0x185)](this['dispose$']))['subscribe'](_0x2ae924=>{const _0xe56349=_0x52683e;var _0x5878b7;typeof _0x2ae924>'u'||(this[_0xe56349(0x3ab)]=_0x2ae924,_0x2ae924?(this[_0xe56349(0x1ce)](_0x2ae924),this[_0xe56349(0xd9)]=_0x2ae924[_0xe56349(0x3fd)][_0xe56349(0x500)](_0x194488=>{const _0x48091a=_0xe56349;_0x194488[_0x48091a(0x317)]===this[_0x48091a(0x2d7)]&&this[_0x48091a(0x4d7)](_0x194488);})):(this[_0xe56349(0x48e)](),this[_0xe56349(0x490)]['next'](0x2),(_0x5878b7=this[_0xe56349(0xd9)])==null||_0x5878b7[_0xe56349(0x32b)](),this[_0xe56349(0xd9)]=null));}),this[_0x52683e(0x9b)](this[_0x52683e(0x237)][_0x52683e(0x2e1)](()=>{const _0x54f822=_0x52683e;var _0x35a207;(_0x35a207=this[_0x54f822(0x3ab)])==null||_0x35a207[_0x54f822(0x213)]({'cmd':_0x2d899c[_0x54f822(0x515)],'data':{'roomID':this['_unitID']}});})));}get[_0x17756b(0x154)](){const _0xdbf81b=_0x17756b;return this[_0xdbf81b(0x490)][_0xdbf81b(0x47e)]();}[_0x17756b(0x15c)](){const _0x1df254=_0x17756b;var _0x5f05e9,_0x561d31;return(_0x561d31=(_0x5f05e9=this[_0x1df254(0x3ab)])==null?void 0x0:_0x5f05e9[_0x1df254(0x442)])!=null?_0x561d31:null;}['dispose'](){const _0x16af19=_0x17756b;super[_0x16af19(0x43f)](),this[_0x16af19(0x474)][_0x16af19(0x47b)](),this[_0x16af19(0x474)]['complete']();}[_0x17756b(0x181)](){const _0x406cc3=_0x17756b;var _0x2336cb,_0x55bee3;this[_0x406cc3(0x48e)](),(_0x2336cb=this[_0x406cc3(0x3ab)])==null||_0x2336cb['send']({'cmd':_0x2d899c['LEAVE'],'data':{'roomID':this[_0x406cc3(0x2d7)]}}),(_0x55bee3=this[_0x406cc3(0x3ab)])==null||_0x55bee3[_0x406cc3(0x181)](),this[_0x406cc3(0x503)][_0x406cc3(0x3a9)](),this[_0x406cc3(0x490)][_0x406cc3(0x3a9)](),this['dispose']();}[_0x17756b(0x4d7)](_0x2df88f){const _0x149920=_0x17756b;_0x2df88f['cmd']===_0x2d899c[_0x149920(0x238)]?this[_0x149920(0xea)](_0x2df88f):_0x2df88f[_0x149920(0x2a9)]===_0x2d899c['RECV']&&this[_0x149920(0xd3)](_0x2df88f);}[_0x17756b(0x1ce)](_0x4503f8){const _0xc6b92=_0x17756b;this[_0xc6b92(0x490)][_0xc6b92(0x47b)](0x1),_0x4503f8[_0xc6b92(0x213)]({'cmd':_0x2d899c[_0xc6b92(0x238)],'routeKey':this[_0xc6b92(0x2d7)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x345b60){const _0x59c351=_0x17756b;var _0x41fea9;if(_0x345b60[_0x59c351(0x116)]===_0x3d8903['FAIL']){this['_messageService'][_0x59c351(0x34a)]({'type':_0x502233['MessageType'][_0x59c351(0x3ac)],'content':this[_0x59c351(0x3ee)]['t'](_0x59c351(0x1cc))}),this[_0x59c351(0x490)]['next'](0x2);return;}this['_sessionStatus$'][_0x59c351(0x47b)](0x3);const _0x500a28=(_0x41fea9=_0x345b60[_0x59c351(0x39b)][_0x59c351(0x312)][this[_0x59c351(0x2d7)]])==null?void 0x0:_0x41fea9[_0x59c351(0x4a1)];_0x500a28&&_0x500a28[_0x59c351(0x42e)](_0x48b04e=>this[_0x59c351(0x464)][_0x59c351(0x1b1)](this[_0x59c351(0x2d7)],_0x48b04e));}[_0x17756b(0xd3)](_0x2ea80e){const _0x4e5f80=_0x17756b;try{const _0x94eb1d=_0x2ea80e['data'];switch(_0x94eb1d[_0x4e5f80(0x1a5)]){case _0x3b5018[_0x4e5f80(0x25c)]['USERS_ENTER']:this['_onUserJoin'](_0x94eb1d),this[_0x4e5f80(0x503)][_0x4e5f80(0x47b)](_0x94eb1d);break;case _0x3b5018[_0x4e5f80(0x25c)][_0x4e5f80(0x4c6)]:this[_0x4e5f80(0x297)](_0x94eb1d),this[_0x4e5f80(0x503)][_0x4e5f80(0x47b)](_0x94eb1d);break;case _0x3b5018[_0x4e5f80(0x25c)][_0x4e5f80(0x326)]:case _0x3b5018['CollaborationEvent'][_0x4e5f80(0xaa)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x4e5f80(0x503)][_0x4e5f80(0x47b)](_0x94eb1d);break;case _0x3b5018[_0x4e5f80(0x25c)][_0x4e5f80(0xfe)]:this['_logService']['error'](_0x4e5f80(0x30f)+JSON['stringify'](_0x94eb1d)),this[_0x4e5f80(0x503)][_0x4e5f80(0x47b)](_0x94eb1d);break;case _0x3b5018[_0x4e5f80(0x25c)][_0x4e5f80(0x288)]:this['_commentService'][_0x4e5f80(0x38f)](_0x94eb1d[_0x4e5f80(0x39b)]),this[_0x4e5f80(0x503)][_0x4e5f80(0x47b)](_0x94eb1d);break;default:this[_0x4e5f80(0x503)]['next'](_0x94eb1d);}}catch(_0x11287a){this[_0x4e5f80(0x532)][_0x4e5f80(0x47c)](_0x11287a,_0x2ea80e);}}[_0x17756b(0x10e)](_0x476b6d){const _0x8b609b=_0x17756b;this[_0x8b609b(0x464)][_0x8b609b(0x1b1)](this[_0x8b609b(0x2d7)],_0x476b6d[_0x8b609b(0x39b)]);}[_0x17756b(0x297)](_0x14d06b){const _0x3c8058=_0x17756b;this[_0x3c8058(0x464)][_0x3c8058(0x483)](this['_unitID'],_0x14d06b['data'][_0x3c8058(0x442)]);}async[_0x17756b(0x213)](_0x237930,_0x32fb46){const _0x4a0de7=_0x17756b;if(this[_0x4a0de7(0x154)]!==0x3||!this[_0x4a0de7(0x3ab)])throw new Error(_0x4a0de7(0x26a));try{_0x237930[_0x4a0de7(0x1a5)]===_0x3b5018[_0x4a0de7(0x25c)][_0x4a0de7(0x39c)]&&(this[_0x4a0de7(0x3af)](),this['_startTelemetryCollaborationNewChangeset'](_0x237930)),this['_socket'][_0x4a0de7(0x213)]({'cmd':_0x2d899c[_0x4a0de7(0x119)],'routeKey':_0x32fb46,'routeType':'','data':_0x237930});}catch(_0x81b4d9){this['_logService']['error'](_0x81b4d9);}}[_0x17756b(0x3af)](){const _0x8af776=_0x17756b;var _0x50676d;this[_0x8af776(0xa7)]=window[_0x8af776(0x279)](()=>{const _0x4d024c=_0x8af776;this['_collaborationTimeoutTimer']=null,this[_0x4d024c(0x117)][_0x4d024c(0x34a)]({'type':_0x502233[_0x4d024c(0x1e7)][_0x4d024c(0x139)],'content':this[_0x4d024c(0x3ee)]['t'](_0x4d024c(0x7a))});},(_0x50676d=this[_0x8af776(0x4ed)][_0x8af776(0x4b2)](_0x24ac3f))!=null?_0x50676d:0x4e20);}[_0x17756b(0x3c1)](){const _0x227c21=_0x17756b;this[_0x227c21(0xa7)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x227c21(0xa7)]=null);}[_0x17756b(0x135)](_0x102add){const _0x514ef1=_0x17756b;if(!this['_shouldReportTelemetry'])return;const {data:_0x5ea0ef}=_0x102add,{unitID:_0x444dbb,changeset:_0x3dfad7}=_0x5ea0ef,{mutations:_0x3a1c0d,type:_0x4cefa3}=_0x3dfad7;this[_0x514ef1(0x3c8)]={'unitId':_0x444dbb,'type':_0x4cefa3,'startTime':performance[_0x514ef1(0x31d)](),'stopTime':0x0,'duration':0x0,'size':_0x41dc4c(_0x3a1c0d)};}[_0x17756b(0x4ff)](){const _0x4e8f99=_0x17756b;if(this[_0x4e8f99(0x111)]){if(!this[_0x4e8f99(0x3c8)]){this[_0x4e8f99(0x532)][_0x4e8f99(0x47c)](_0x4e8f99(0x30b),_0x4e8f99(0x142));return;}this[_0x4e8f99(0x3c8)]['stopTime']=performance['now'](),this['_telemetryInfo']['duration']=this[_0x4e8f99(0x3c8)]['stopTime']-this[_0x4e8f99(0x3c8)][_0x4e8f99(0x301)],this[_0x4e8f99(0x2fd)][_0x4e8f99(0x109)](_0x2409f5,this[_0x4e8f99(0x3c8)]),this[_0x4e8f99(0x3c8)]=null;}}[_0x17756b(0x48e)](){const _0x18cf80=_0x17756b;this[_0x18cf80(0x3c8)]=null;}},_0x1b0f0a[_0x17756b(0x1e0)]=_0x1e9ff4([_0x52eb3b(0x2,_0x1c8991[_0x17756b(0x2e2)]),_0x52eb3b(0x3,_0x1af299[_0x17756b(0x20f)]),_0x52eb3b(0x4,_0x1af299['IMessageService']),_0x52eb3b(0x5,_0x1c8991[_0x17756b(0x4ef)]),_0x52eb3b(0x6,_0x1c8991['Inject'](_0x1c8991[_0x17756b(0xcf)])),_0x52eb3b(0x7,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a['MemberService'])),_0x52eb3b(0x8,_0x1c8991[_0x17756b(0x329)](_0x3b3d02)),_0x52eb3b(0x9,_0x1c8991[_0x17756b(0x472)](_0x7d643e[_0x17756b(0x12f)]))],_0x1b0f0a[_0x17756b(0x1e0)]);var _0x589338=Object['defineProperty'],_0x38f214=Object['getOwnPropertyDescriptor'],_0x183955=(_0x347b82,_0x3a282e,_0x275c4d,_0x45163a)=>{const _0x464a05=_0x17756b;for(var _0x33a35e=_0x45163a>0x1?void 0x0:_0x45163a?_0x38f214(_0x3a282e,_0x275c4d):_0x3a282e,_0x5d4e87=_0x347b82[_0x464a05(0x189)]-0x1,_0x17cebf;_0x5d4e87>=0x0;_0x5d4e87--)(_0x17cebf=_0x347b82[_0x5d4e87])&&(_0x33a35e=(_0x45163a?_0x17cebf(_0x3a282e,_0x275c4d,_0x33a35e):_0x17cebf(_0x33a35e))||_0x33a35e);return _0x45163a&&_0x33a35e&&_0x589338(_0x3a282e,_0x275c4d,_0x33a35e),_0x33a35e;},_0x3c484d=(_0x343440,_0x1dcd4e)=>(_0x306281,_0x342842)=>_0x1dcd4e(_0x306281,_0x342842,_0x343440);_0x1b0f0a[_0x17756b(0x31a)]=class extends _0x1c8991[_0x17756b(0xe4)]{constructor(_0x169b3b,_0x20cd47,_0x49768c,_0x457c3d,_0x1cfde8,_0x1251c9){const _0x37ac21=_0x17756b;super(),_0x25db2a(this,_0x37ac21(0x48b),new _0x2dc6e4['BehaviorSubject'](void 0x0)),_0x25db2a(this,_0x37ac21(0xf9),this[_0x37ac21(0x48b)][_0x37ac21(0x4cc)]()),_0x25db2a(this,_0x37ac21(0x1f7),null),_0x25db2a(this,_0x37ac21(0x1d9),new Map()),_0x25db2a(this,_0x37ac21(0x24f),new _0x2dc6e4[(_0x37ac21(0x1fa))](_0x1421cb['IDLE'])),_0x25db2a(this,_0x37ac21(0x28e),this[_0x37ac21(0x24f)][_0x37ac21(0x4cc)]()),_0x25db2a(this,'_socketReady',!0x1),_0x25db2a(this,_0x37ac21(0x2fe)),_0x25db2a(this,'_retryCount',0x0),_0x25db2a(this,_0x37ac21(0x351)),_0x25db2a(this,_0x37ac21(0x3ed)),(this[_0x37ac21(0x419)]=_0x169b3b,this[_0x37ac21(0x3ee)]=_0x20cd47,this['_messageService']=_0x49768c,this[_0x37ac21(0x532)]=_0x457c3d,this[_0x37ac21(0x4ed)]=_0x1cfde8,this[_0x37ac21(0x403)]=_0x1251c9,this[_0x37ac21(0x3cf)]());}get[_0x17756b(0x3ab)](){const _0x1c4cb5=_0x17756b;return this['_socket$'][_0x1c4cb5(0x47e)]();}[_0x17756b(0x3cf)](){const _0x559829=_0x17756b;this[_0x559829(0x1ec)](),this[_0x559829(0x4b3)]();}[_0x17756b(0x43f)](){const _0x2ec108=_0x17756b;super[_0x2ec108(0x43f)](),this['_sessions'][_0x2ec108(0x42e)](_0x5d732f=>_0x5d732f[_0x2ec108(0x43f)]()),this[_0x2ec108(0x1d9)]['clear'](),this['_status$'][_0x2ec108(0x3a9)]();}async['requireSession'](_0x1df683){const _0x7cc88e=_0x17756b;if(this[_0x7cc88e(0x1d9)][_0x7cc88e(0x4d6)](_0x1df683))return this[_0x7cc88e(0x1d9)][_0x7cc88e(0x30c)](_0x1df683);this[_0x7cc88e(0x35a)]();const _0xcc407f=this['_injector'][_0x7cc88e(0x50f)](_0x1b0f0a[_0x7cc88e(0x1e0)],_0x1df683,this[_0x7cc88e(0x48b)][_0x7cc88e(0x4cc)]());return this[_0x7cc88e(0x1d9)][_0x7cc88e(0x331)](_0x1df683,_0xcc407f),_0xcc407f;}['closeSession'](_0xb39a03){const _0x1346c5=_0x17756b;var _0x381201;const _0xf5e058=this[_0x1346c5(0x1d9)][_0x1346c5(0x30c)](_0xb39a03);_0xf5e058&&(this[_0x1346c5(0x1d9)][_0x1346c5(0x4f4)](_0xb39a03),_0xf5e058[_0x1346c5(0x181)]()),this[_0x1346c5(0x1d9)]['size']||(_0x381201=this[_0x1346c5(0x3ab)])==null||_0x381201[_0x1346c5(0x181)]();}[_0x17756b(0x1a4)](){const _0x36babc=_0x17756b;this['_retryCount']=0x0,this[_0x36babc(0x2fe)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x36babc(0x2fe)]=null),this['_tryReconnect']();}[_0x17756b(0x28a)](){const _0x2c275c=_0x17756b;var _0x118d7a,_0x4b5bfd;const _0x4b7678=this[_0x2c275c(0x4ed)][_0x2c275c(0x4b2)](_0x3fcd22),_0x455ecb=this['_configService'][_0x2c275c(0x4b2)](_0x5adfcf),_0x5ba17d=(_0x4b5bfd=(_0x118d7a=_0x455ecb==null?void 0x0:_0x455ecb[_0x2c275c(0xce)])!=null?_0x118d7a:_0x4b7678)!=null?_0x4b5bfd:_0x29d15f,_0x394407=this[_0x2c275c(0x403)]['createSocket'](_0x5ba17d);return this[_0x2c275c(0x1f7)]=_0x394407,_0x394407;}[_0x17756b(0x35a)](){const _0x3d6f84=_0x17756b;var _0x243155,_0x56e4e7;try{const _0xe327a9=(_0x56e4e7=(_0x243155=this[_0x3d6f84(0x3ab)])!=null?_0x243155:this[_0x3d6f84(0x1f7)])!=null?_0x56e4e7:this[_0x3d6f84(0x28a)]();if(_0xe327a9){const _0x560feb=_0xe327a9['send'];_0xe327a9['send']=_0x525412=>(this[_0x3d6f84(0x267)](),_0x560feb['apply'](_0xe327a9,[_0x525412])),_0xe327a9[_0x3d6f84(0x3fd)][_0x3d6f84(0x500)](_0x1a79a5=>this[_0x3d6f84(0x2ca)](_0xe327a9,_0x1a79a5)),_0xe327a9['error$']['pipe'](_0x3563fe['take'](0x1))[_0x3d6f84(0x500)](_0xcbc91b=>this[_0x3d6f84(0x532)][_0x3d6f84(0x47c)](_0x3d6f84(0x210),_0xcbc91b)),_0xe327a9[_0x3d6f84(0x1ad)][_0x3d6f84(0x26f)](_0x3563fe['take'](0x1))[_0x3d6f84(0x500)](()=>{this['_onConnectionOpen'](_0xe327a9);}),_0xe327a9['close$'][_0x3d6f84(0x26f)](_0x3563fe['take'](0x1))[_0x3d6f84(0x500)](_0x287b97=>{const _0x509809=_0x3d6f84;this[_0x509809(0x532)][_0x509809(0x1c0)](_0x509809(0xc1),_0x509809(0x3de),_0x287b97),this[_0x509809(0x460)]();});}}catch(_0x10d765){this[_0x3d6f84(0x532)][_0x3d6f84(0x47c)](_0x10d765),this[_0x3d6f84(0x460)]();}}[_0x17756b(0x85)](_0xd438f0){const _0x1a1caa=_0x17756b;this[_0x1a1caa(0x532)][_0x1a1caa(0x1c0)]('[CollaborationSessionService]',_0x1a1caa(0x2f2)),_0xd438f0[_0x1a1caa(0x213)]({'cmd':_0x2d899c['HELLO']}),this[_0x1a1caa(0x267)]();}[_0x17756b(0x1ec)](){const _0x38b38e=_0x17756b;window[_0x38b38e(0xfd)]('offline',()=>this[_0x38b38e(0x2de)]());}[_0x17756b(0x2de)](){const _0x328338=_0x17756b;this[_0x328338(0x4bd)]=!0x1,this[_0x328338(0x1f7)]=null,this['_status$']['next'](_0x1421cb[_0x328338(0x272)]),this[_0x328338(0x48b)]['next'](null),this[_0x328338(0x52a)](),this[_0x328338(0x230)]();}[_0x17756b(0x460)](){const _0x5b85f2=_0x17756b;var _0xa1a993;this[_0x5b85f2(0x2de)](),this[_0x5b85f2(0x19f)]<((_0xa1a993=this['_configService']['getConfig'](_0x13d628))!=null?_0xa1a993:0x3)?(this['_messageService'][_0x5b85f2(0x34a)]({'key':_0x5b85f2(0x44e),'type':_0x502233[_0x5b85f2(0x1e7)][_0x5b85f2(0x3ac)],'content':this[_0x5b85f2(0x3ee)]['t'](_0x5b85f2(0x50e))}),this[_0x5b85f2(0x3b3)]()):this[_0x5b85f2(0x117)][_0x5b85f2(0x34a)]({'key':'collaboration-session-retry','type':_0x502233[_0x5b85f2(0x1e7)][_0x5b85f2(0x139)],'content':this['_localeService']['t'](_0x5b85f2(0x12e))});}[_0x17756b(0x4b3)](){const _0x5f56c5=_0x17756b,_0x5bd0ee=()=>{const _0x245706=_0x31dd;this[_0x245706(0x3ab)]||this[_0x245706(0x1a4)]();},_0xab617c=()=>{const _0x52845c=_0x31dd;this[_0x52845c(0x3ab)]||document[_0x52845c(0x1b3)]===_0x52845c(0x3c9)||this[_0x52845c(0x1a4)]();};window['addEventListener'](_0x5f56c5(0x44f),_0x5bd0ee),document[_0x5f56c5(0xfd)](_0x5f56c5(0x19e),_0xab617c);}[_0x17756b(0x3b3)](){const _0x34b46e=_0x17756b;var _0x2a393c;const _0x41e9b5=this[_0x34b46e(0x19f)],_0x56b599=this[_0x34b46e(0x4ed)]['getConfig'](_0x5adfcf),_0x33a8bb=_0x41e9b5===0x0?0x0:((_0x2a393c=_0x56b599==null?void 0x0:_0x56b599[_0x34b46e(0x373)])!=null?_0x2a393c:0x4e20)*0x2**_0x41e9b5;this['_retryConnectingTimer']=window[_0x34b46e(0x279)](()=>{const _0x1a9341=_0x34b46e;clearTimeout(this['_retryConnectingTimer']),this[_0x1a9341(0x2fe)]=null,this[_0x1a9341(0x35a)]();},_0x33a8bb),this['_retryCount']+=0x1;}['_onMessage'](_0x7a0960,_0x416c10){const _0x426271=_0x17756b,{cmd:_0x54225f}=_0x416c10;_0x54225f===_0x2d899c['HELLO']&&!this[_0x426271(0x4bd)]&&(_0x7a0960[_0x426271(0x442)]=_0x416c10[_0x426271(0x39b)]['memberID'],this['_socket$'][_0x426271(0x47b)](_0x7a0960),this[_0x426271(0x24f)]['next'](_0x1421cb[_0x426271(0xc3)]),this[_0x426271(0x4bd)]=!0x0,this[_0x426271(0x1f7)]=null),_0x54225f===_0x2d899c[_0x426271(0xd4)]&&this[_0x426271(0x52a)](),this[_0x426271(0x267)]();}[_0x17756b(0x267)](){const _0x38cd1e=_0x17756b;var _0x206293;this['_clearHeartbeatTimer'](),this[_0x38cd1e(0x351)]=window[_0x38cd1e(0x279)](()=>this[_0x38cd1e(0x437)](),(_0x206293=this[_0x38cd1e(0x4ed)]['getConfig'](_0x50b4d1))!=null?_0x206293:0x7530);}['_sendHeartbeat'](){const _0x4c7f54=_0x17756b;this[_0x4c7f54(0x3ab)][_0x4c7f54(0x213)]({'cmd':_0x2d899c['HEARTBEAT']}),this[_0x4c7f54(0x308)]();}[_0x17756b(0x308)](){const _0x5b3ac=_0x17756b;var _0x5a51c5;this[_0x5b3ac(0x3ed)]=window[_0x5b3ac(0x279)](()=>this[_0x5b3ac(0x460)](),(_0x5a51c5=this[_0x5b3ac(0x4ed)][_0x5b3ac(0x4b2)](_0x24ac3f))!=null?_0x5a51c5:0x4e20);}[_0x17756b(0x230)](){const _0x49fe32=_0x17756b;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x49fe32(0x351)]),this[_0x49fe32(0x351)]=null);}[_0x17756b(0x52a)](){const _0x1f44ac=_0x17756b;this[_0x1f44ac(0x3ed)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},_0x1b0f0a['CollaborationSessionService']=_0x183955([_0x3c484d(0x0,_0x1c8991[_0x17756b(0x329)](_0x1c8991['Injector'])),_0x3c484d(0x1,_0x1c8991['Inject'](_0x1c8991[_0x17756b(0xcf)])),_0x3c484d(0x2,_0x1af299[_0x17756b(0x462)]),_0x3c484d(0x3,_0x1c8991['ILogService']),_0x3c484d(0x4,_0x1c8991[_0x17756b(0x4ef)]),_0x3c484d(0x5,_0x14b5ef)],_0x1b0f0a[_0x17756b(0x31a)]);const _0x45b39d=[];for(let _0x481c1e=0x0;_0x481c1e<0x100;++_0x481c1e)_0x45b39d[_0x17756b(0x1c1)]((_0x481c1e+0x100)[_0x17756b(0x6e)](0x10)[_0x17756b(0x12b)](0x1));function _0x378551(_0xfde68e,_0x216ad0=0x0){return(_0x45b39d[_0xfde68e[_0x216ad0+0x0]]+_0x45b39d[_0xfde68e[_0x216ad0+0x1]]+_0x45b39d[_0xfde68e[_0x216ad0+0x2]]+_0x45b39d[_0xfde68e[_0x216ad0+0x3]]+'-'+_0x45b39d[_0xfde68e[_0x216ad0+0x4]]+_0x45b39d[_0xfde68e[_0x216ad0+0x5]]+'-'+_0x45b39d[_0xfde68e[_0x216ad0+0x6]]+_0x45b39d[_0xfde68e[_0x216ad0+0x7]]+'-'+_0x45b39d[_0xfde68e[_0x216ad0+0x8]]+_0x45b39d[_0xfde68e[_0x216ad0+0x9]]+'-'+_0x45b39d[_0xfde68e[_0x216ad0+0xa]]+_0x45b39d[_0xfde68e[_0x216ad0+0xb]]+_0x45b39d[_0xfde68e[_0x216ad0+0xc]]+_0x45b39d[_0xfde68e[_0x216ad0+0xd]]+_0x45b39d[_0xfde68e[_0x216ad0+0xe]]+_0x45b39d[_0xfde68e[_0x216ad0+0xf]])['toLowerCase']();}let _0x377606;const _0x54e2c8=new Uint8Array(0x10);function _0x49a3a0(){const _0x1cc911=_0x17756b;if(!_0x377606){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1cc911(0x195));_0x377606=crypto[_0x1cc911(0xa4)][_0x1cc911(0x4af)](crypto);}return _0x377606(_0x54e2c8);}const _0x35133c={'randomUUID':typeof crypto<'u'&&crypto[_0x17756b(0x449)]&&crypto['randomUUID'][_0x17756b(0x4af)](crypto)};function _0x36a64a(_0x52d81d,_0x31d00a,_0x1c12b5){const _0x441443=_0x17756b;if(_0x35133c[_0x441443(0x449)]&&!_0x31d00a&&!_0x52d81d)return _0x35133c[_0x441443(0x449)]();_0x52d81d=_0x52d81d||{};const _0x145ab7=_0x52d81d[_0x441443(0x2c1)]||(_0x52d81d[_0x441443(0x2f7)]||_0x49a3a0)();return _0x145ab7[0x6]=_0x145ab7[0x6]&0xf|0x40,_0x145ab7[0x8]=_0x145ab7[0x8]&0x3f|0x80,_0x378551(_0x145ab7);}var _0x535446=Object[_0x17756b(0x76)],_0x10e45e=Object['getOwnPropertyDescriptor'],_0x3abbbc=(_0x5f228c,_0x572b5b,_0xde5c61,_0x32cc6b)=>{for(var _0x1355d0=_0x32cc6b>0x1?void 0x0:_0x32cc6b?_0x10e45e(_0x572b5b,_0xde5c61):_0x572b5b,_0x1b08fc=_0x5f228c['length']-0x1,_0x1e7822;_0x1b08fc>=0x0;_0x1b08fc--)(_0x1e7822=_0x5f228c[_0x1b08fc])&&(_0x1355d0=(_0x32cc6b?_0x1e7822(_0x572b5b,_0xde5c61,_0x1355d0):_0x1e7822(_0x1355d0))||_0x1355d0);return _0x32cc6b&&_0x1355d0&&_0x535446(_0x572b5b,_0xde5c61,_0x1355d0),_0x1355d0;},_0x224101=(_0x33380b,_0x2bba31)=>(_0x4d0ff1,_0x266ca0)=>_0x2bba31(_0x4d0ff1,_0x266ca0,_0x33380b);let _0xbaa802=class{constructor(_0x346de3,_0x37e6bb,_0x23d6b0){const _0x2dc145=_0x17756b;this['_injector']=_0x346de3,this[_0x2dc145(0x183)]=_0x37e6bb,this[_0x2dc145(0x282)]=_0x23d6b0;}[_0x17756b(0x30a)](_0x402741){const _0x2ebf50=_0x17756b;this[_0x2ebf50(0x4f6)](_0x402741),this[_0x2ebf50(0x3ba)](_0x402741);}[_0x17756b(0x29f)](_0x199021){const _0x37f6c6=_0x17756b,{unitID:_0x2996e9}=_0x199021,_0x5d73ca=this[_0x37f6c6(0x282)]['getRenderById'](_0x2996e9)[_0x37f6c6(0x518)](_0x3c5b00[_0x37f6c6(0x88)]),{redoCache:_0x5427e9}=_0x5d73ca[_0x37f6c6(0x4d3)]();if(_0x5427e9[_0x37f6c6(0x189)]===0x0)return _0x199021;let _0x2ca62e=_0x1c8991['Tools'][_0x37f6c6(0x125)](_0x199021[_0x37f6c6(0xf2)][0x0]);for(let _0x31fda3=0x0;_0x31fda3<_0x5427e9['length'];_0x31fda3++){const _0x2e14a2={'id':_0x37f6c6(0x4cd),'params':{..._0x5427e9[_0x31fda3]}},_0x1c7c6d=this['_transformService']['transformMutation'](_0x2ca62e,_0x2e14a2,!0x1);if(_0x3b5018['isTransformMutationFailure'](_0x1c7c6d))throw _0x1c7c6d[_0x37f6c6(0x47c)];_0x2ca62e=_0x1c7c6d['m1Prime'];}return{..._0x1c8991[_0x37f6c6(0x262)][_0x37f6c6(0x125)](_0x199021),'mutations':[_0x2ca62e]};}['_transformUndoRedoStack'](_0x65c656){const _0x10784f=_0x17756b,{unitID:_0x267c1f}=_0x65c656,_0x3a599a=this[_0x10784f(0x282)]['getRenderById'](_0x267c1f)[_0x10784f(0x518)](_0x3c5b00['DocIMEInputManagerService']),{undoCache:_0x484cf2,redoCache:_0x1a7c3f}=_0x3a599a[_0x10784f(0x4d3)]();if(_0x484cf2[_0x10784f(0x189)]===0x0||_0x1a7c3f['length']===0x0)return;const _0x3ebbc1=[],_0x2db485=[];let _0x2529aa=_0x1c8991[_0x10784f(0x262)][_0x10784f(0x125)](_0x65c656[_0x10784f(0xf2)][0x0]),_0x4962ce=_0x1c8991['Tools']['deepClone'](_0x65c656[_0x10784f(0xf2)][0x0]);for(let _0x5b23b=_0x484cf2[_0x10784f(0x189)]-0x1;_0x5b23b>=0x0;_0x5b23b--){const _0x4a1b27={'id':_0x10784f(0x4cd),'params':{..._0x484cf2[_0x5b23b]}},_0x5db2d2={'id':_0x10784f(0x4cd),'params':{..._0x1a7c3f[_0x5b23b]}},_0x396762=this[_0x10784f(0x183)][_0x10784f(0x280)](_0x2529aa,_0x4a1b27,!0x1),_0x5807bd=this['_transformService'][_0x10784f(0x280)](_0x4962ce,_0x5db2d2,!0x1);if(_0x3b5018[_0x10784f(0x4e8)](_0x396762))throw _0x396762[_0x10784f(0x47c)];if(_0x3b5018[_0x10784f(0x4e8)](_0x5807bd))throw _0x5807bd[_0x10784f(0x47c)];_0x3ebbc1[_0x10784f(0x2ef)](_0x396762['m2Prime'][_0x10784f(0x29d)]),_0x2db485[_0x10784f(0x2ef)](_0x5807bd[_0x10784f(0x2b0)][_0x10784f(0x29d)]),_0x2529aa=_0x396762[_0x10784f(0x223)],_0x4962ce=_0x5807bd[_0x10784f(0x223)];}_0x3a599a[_0x10784f(0x388)]({'undoCache':_0x3ebbc1,'redoCache':_0x2db485});}['_transformPreviousActiveRange'](_0x57eea4){const _0x29e542=_0x17756b,{unitID:_0x10a067}=_0x57eea4,_0x519ead=this[_0x29e542(0x282)][_0x29e542(0x29e)](_0x10a067)['with'](_0x3c5b00[_0x29e542(0x88)]),_0x44fa35=_0x519ead['getActiveRange']();if(_0x44fa35==null)return;const _0x4891cf=[{'id':_0x29e542(0x4cd),'params':{'unitId':_0x57eea4['unitID'],'actions':null,'textRanges':[_0x44fa35]}}],_0x31d995=this[_0x29e542(0x183)][_0x29e542(0xed)](_0x57eea4,_0x4891cf);if(!_0x3b5018[_0x29e542(0x25a)](_0x31d995))throw _0x31d995[_0x29e542(0x47c)];const _0x3979ae=_0x31d995[_0x29e542(0x2b0)][0x0]['params'][_0x29e542(0x137)];Array[_0x29e542(0x28d)](_0x3979ae)&&_0x3979ae[_0x29e542(0x189)]&&_0x519ead[_0x29e542(0x431)](_0x3979ae[0x0]);}};_0xbaa802=_0x3abbbc([_0x224101(0x0,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x224101(0x1,_0x3b5018['ITransformService']),_0x224101(0x2,_0x90a0ec[_0x17756b(0x327)])],_0xbaa802);var _0x5adcf2=Object[_0x17756b(0x76)],_0x290fb6=Object['getOwnPropertyDescriptor'],_0x4e857f=(_0x1d138c,_0x551c02,_0x325c98,_0x100688)=>{const _0xa6923d=_0x17756b;for(var _0x50d5cb=_0x100688>0x1?void 0x0:_0x100688?_0x290fb6(_0x551c02,_0x325c98):_0x551c02,_0x496fca=_0x1d138c[_0xa6923d(0x189)]-0x1,_0x2ba3a3;_0x496fca>=0x0;_0x496fca--)(_0x2ba3a3=_0x1d138c[_0x496fca])&&(_0x50d5cb=(_0x100688?_0x2ba3a3(_0x551c02,_0x325c98,_0x50d5cb):_0x2ba3a3(_0x50d5cb))||_0x50d5cb);return _0x100688&&_0x50d5cb&&_0x5adcf2(_0x551c02,_0x325c98,_0x50d5cb),_0x50d5cb;},_0x334ab3=(_0x175599,_0x3e39fd)=>(_0x3e80ee,_0xabf8fd)=>_0x3e39fd(_0x3e80ee,_0xabf8fd,_0x175599);_0x1b0f0a['LocalCacheService']=class extends _0x1c8991[_0x17756b(0xe4)]{constructor(_0x5ad74d,_0x1b8766,_0x4d354d,_0x1aa2a1,_0x36c7a4){const _0x7752f3=_0x17756b;super(),_0x25db2a(this,_0x7752f3(0x2ad),new Map()),_0x25db2a(this,'_saveTaskMap',new Map()),_0x25db2a(this,'_disabled',!0x1),(this['_configService']=_0x5ad74d,this[_0x7752f3(0x3df)]=_0x1b8766,this[_0x7752f3(0x237)]=_0x4d354d,this[_0x7752f3(0x3ee)]=_0x1aa2a1,this[_0x7752f3(0x417)]=_0x36c7a4,this['_setupBeforeClosingHandler']());}[_0x17756b(0x41f)](){this['_disabled']=!0x0;}[_0x17756b(0x295)](){this['_disabled']=!0x1;}['dispose'](){const _0x3109c4=_0x17756b;this[_0x3109c4(0x256)]()['then'](()=>super[_0x3109c4(0x43f)]());}async[_0x17756b(0x1e9)](_0x592025){const _0xe6d438=_0x17756b;return this[_0xe6d438(0x221)]?null:this[_0xe6d438(0x3df)][_0xe6d438(0x27f)](_0x423265(_0x592025));}async['saveOfflineData'](_0x363d95,_0x5b8bee){const _0x4705e3=_0x17756b;return!!this[_0x4705e3(0x3df)][_0x4705e3(0x508)](_0x363d95,_0x5b8bee);}[_0x17756b(0x124)](_0xe11853,_0x154ac3,_0x40be9d,_0x5dd6cf){const _0xd6041d=_0x17756b,_0x21f5b9=this[_0xd6041d(0x417)][_0xd6041d(0x398)](_0xe11853);this[_0xd6041d(0x2ad)][_0xd6041d(0x331)](_0xe11853,{'unitID':_0xe11853,'type':_0x154ac3,'awaitingChangeset':_0x40be9d,'mutations':_0x5dd6cf,'rev':_0x21f5b9}),this[_0xd6041d(0x228)]['has'](_0xe11853)||this[_0xd6041d(0x3d5)](_0xe11853);}[_0x17756b(0x3d5)](_0x14f0e7){const _0x33f6d4=_0x17756b,_0x21e901=this[_0x33f6d4(0x2dd)]();_0x21e901===0x0?this[_0x33f6d4(0x121)](_0x14f0e7):this[_0x33f6d4(0x228)][_0x33f6d4(0x331)](_0x14f0e7,setTimeout(()=>this['_saveCache'](_0x14f0e7),_0x21e901));}['_getSaveTimeout'](){const _0x589b9b=_0x17756b;var _0x2460fc;return(_0x2460fc=this[_0x589b9b(0x4ed)]['getConfig'](_0x366246))!=null?_0x2460fc:0x3e8;}[_0x17756b(0x121)](_0x297d0d){const _0x1b9baa=_0x17756b,_0x400978=this[_0x1b9baa(0x228)][_0x1b9baa(0x30c)](_0x297d0d);return _0x400978!==void 0x0&&window[_0x1b9baa(0x382)](_0x400978),this['_localStorageService'][_0x1b9baa(0x508)](_0x423265(_0x297d0d),this['_cachedData'][_0x1b9baa(0x30c)](_0x297d0d))[_0x1b9baa(0x520)](()=>this['_saveTaskMap'][_0x1b9baa(0x4f4)](_0x297d0d));}async[_0x17756b(0x256)](){const _0x1e7eab=_0x17756b,_0x17fa7d=[];this[_0x1e7eab(0x228)]['forEach']((_0x36f068,_0x5dc43b)=>{const _0x4aa41b=_0x1e7eab;window[_0x4aa41b(0x382)](_0x36f068),_0x17fa7d['push'](this[_0x4aa41b(0x121)](_0x5dc43b)[_0x4aa41b(0x520)](()=>{const _0x5f30e4=_0x4aa41b;this[_0x5f30e4(0x228)][_0x5f30e4(0x4f4)](_0x5dc43b);}));}),await Promise[_0x1e7eab(0x528)](_0x17fa7d);}[_0x17756b(0x1b5)](){const _0x2a5d41=_0x17756b;this[_0x2a5d41(0x9b)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x363b95=_0x2a5d41;if(this[_0x363b95(0x228)][_0x363b95(0xec)])return this[_0x363b95(0x3ee)]['t'](_0x363b95(0x1b0));}));}},_0x1b0f0a[_0x17756b(0x533)]=_0x4e857f([_0x334ab3(0x0,_0x1c8991[_0x17756b(0x4ef)]),_0x334ab3(0x1,_0x1c8991['ILocalStorageService']),_0x334ab3(0x2,_0x1af299[_0x17756b(0x20f)]),_0x334ab3(0x3,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xcf)])),_0x334ab3(0x4,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)]))],_0x1b0f0a[_0x17756b(0x533)]);function _0x423265(_0x40488a){const _0x2a7c3f=_0x17756b;return _0x2a7c3f(0x436)+_0x40488a;}var _0x33fb8f=Object[_0x17756b(0x76)],_0x2014b3=Object[_0x17756b(0x4db)],_0x13b63c=(_0x16e112,_0x29ce16,_0x533cf6,_0x13f9cb)=>{const _0x3bb698=_0x17756b;for(var _0x32a71e=_0x13f9cb>0x1?void 0x0:_0x13f9cb?_0x2014b3(_0x29ce16,_0x533cf6):_0x29ce16,_0x4f44f4=_0x16e112[_0x3bb698(0x189)]-0x1,_0x52f21d;_0x4f44f4>=0x0;_0x4f44f4--)(_0x52f21d=_0x16e112[_0x4f44f4])&&(_0x32a71e=(_0x13f9cb?_0x52f21d(_0x29ce16,_0x533cf6,_0x32a71e):_0x52f21d(_0x32a71e))||_0x32a71e);return _0x13f9cb&&_0x32a71e&&_0x33fb8f(_0x29ce16,_0x533cf6,_0x32a71e),_0x32a71e;},_0x251170=(_0x302c41,_0x49e1be)=>(_0x3b2d9d,_0x6e2600)=>_0x49e1be(_0x3b2d9d,_0x6e2600,_0x302c41);function _0x20681e(_0x4e6f62){const _0x54acba=_0x17756b,{unitID:_0x793196,mutations:_0x44f0ad}=_0x4e6f62;return{'unitId':_0x793196,'subUnitId':_0x44f0ad[0x0]['params'][_0x54acba(0x94)]};}let _0x5c8e23=class{constructor(_0x490cc1,_0x4bec59,_0x18ae04){const _0x18746a=_0x17756b;this[_0x18746a(0x419)]=_0x490cc1,this[_0x18746a(0x183)]=_0x4bec59,this[_0x18746a(0xdb)]=_0x18ae04;}[_0x17756b(0x384)](_0x25f240){const _0x593ac4=_0x17756b;var _0x49e7dc,_0x54aa87,_0x184ad5,_0x2635e5;const _0x67fd5f=this['_injector'][_0x593ac4(0x30c)](_0x2c20de[_0x593ac4(0x128)]),{unitId:_0x4305e9,subUnitId:_0x3c5de5}=_0x20681e(_0x25f240),_0x362dd3=_0x67fd5f[_0x593ac4(0x4c5)](_0x4305e9)[_0x593ac4(0x184)](),_0x59dfd4=(_0x54aa87=(_0x49e7dc=this[_0x593ac4(0xdb)][_0x593ac4(0x425)](_0x4305e9))==null?void 0x0:_0x49e7dc[_0x593ac4(0x4e2)]())==null?void 0x0:_0x54aa87[_0x593ac4(0x1db)]();if(_0x362dd3['length']===0x0||!_0x4305e9||!_0x3c5de5)return;const _0x20e748=[{'id':_0x2c20de[_0x593ac4(0x1a3)]['id'],'params':{'unitId':_0x4305e9,'subUnitId':_0x59dfd4,'selections':_0x1c8991['Tools'][_0x593ac4(0x125)](_0x362dd3)}}],_0x5f4c5d=this['_transformService'][_0x593ac4(0xed)](_0x25f240,_0x20e748);if(!_0x3b5018[_0x593ac4(0x25a)](_0x5f4c5d))throw _0x5f4c5d[_0x593ac4(0x47c)];const _0x4e3673=(_0x2635e5=(_0x184ad5=_0x5f4c5d['m2Prime'][0x0])==null?void 0x0:_0x184ad5[_0x593ac4(0x29d)])==null?void 0x0:_0x2635e5['selections'];if(Array['isArray'](_0x4e3673)&&_0x4e3673['length']){if(_0x4e3673['length']===_0x20e748[0x0][_0x593ac4(0x29d)][_0x593ac4(0x352)][_0x593ac4(0x189)]&&_0x4e3673[_0x593ac4(0x4d9)]((_0x23b410,_0x4fa083)=>_0x1c8991[_0x593ac4(0x226)]['equals'](_0x23b410[_0x593ac4(0x393)],_0x20e748[0x0][_0x593ac4(0x29d)][_0x593ac4(0x352)][_0x4fa083][_0x593ac4(0x393)])))return;this[_0x593ac4(0x419)]['get'](_0x1c8991[_0x593ac4(0x433)])[_0x593ac4(0x251)](_0x2c20de[_0x593ac4(0x1a3)]['id'],{'unitId':_0x4305e9,'subUnitId':_0x59dfd4,'selections':_0x4e3673});}}};_0x5c8e23=_0x13b63c([_0x251170(0x0,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x251170(0x1,_0x3b5018[_0x17756b(0x454)]),_0x251170(0x2,_0x1c8991[_0x17756b(0x2e7)])],_0x5c8e23);const _0x44fdb5=_0x1c8991[_0x17756b(0x306)](_0x17756b(0x12d));var _0x3cac5f=(_0x32b285=>(_0x32b285[_0x32b285[_0x17756b(0x3f8)]=0x0]=_0x17756b(0x3f8),_0x32b285[_0x32b285[_0x17756b(0x361)]=0x1]=_0x17756b(0x361),_0x32b285))(_0x3cac5f||{});const _0x5de345=0x7530,_0x635b2a=_0x17756b(0x13e);class _0x7806b6 extends _0x1c8991[_0x17756b(0xe4)]{constructor(){const _0x434cfd=_0x17756b;super(),_0x25db2a(this,_0x434cfd(0xb7),_0x1c8991[_0x434cfd(0x262)][_0x434cfd(0x2df)]()),_0x25db2a(this,_0x434cfd(0xe3),new Set()),_0x25db2a(this,'_unitOnClients',new Map()),_0x25db2a(this,'_heartbeatTimer',null),_0x25db2a(this,_0x434cfd(0x11d),new Map()),_0x25db2a(this,_0x434cfd(0x3ca),new Map()),this['_init']();}[_0x17756b(0x43f)](){const _0x315fb4=_0x17756b;super['dispose'](),this[_0x315fb4(0x11d)][_0x315fb4(0x42e)]((_0x970fbd,_0x41562f)=>this['_removeClearOtherTimer'](_0x41562f)),this['_heartbeatTimer']&&window[_0x315fb4(0x386)](this[_0x315fb4(0x33e)]);}[_0x17756b(0x268)](_0x3ca414){const _0x321a3e=_0x17756b;return this[_0x321a3e(0xb2)](_0x3ca414)[_0x321a3e(0x26f)](_0x2dc6e4[_0x321a3e(0x506)]());}[_0x17756b(0x196)](_0x2a29f7){const _0x3acc61=_0x17756b;this[_0x3acc61(0xe3)][_0x3acc61(0xec)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3acc61(0xe3)][_0x3acc61(0x1f6)](_0x2a29f7),this[_0x3acc61(0x2bc)]({'type':0x0,'memberID':this[_0x3acc61(0xb7)],'unitIDs':[_0x2a29f7],'isForwarded':!0x1});}[_0x17756b(0xd1)](_0x3ef667){const _0x583634=_0x17756b;this[_0x583634(0xe3)][_0x583634(0x4f4)](_0x3ef667),this[_0x583634(0xe3)][_0x583634(0xec)]===0x0&&this['_heartbeatTimer']&&window[_0x583634(0x386)](this[_0x583634(0x33e)]);}[_0x17756b(0x38d)](){const _0x362800=_0x17756b;this[_0x362800(0x9b)](_0x1c8991[_0x362800(0x3c4)](_0x2dc6e4[_0x362800(0x1e6)](window,_0x362800(0x4b7))[_0x362800(0x500)](_0x35a81c=>{const _0x3410d7=_0x362800;if(_0x35a81c['key']!==_0x635b2a||!_0x35a81c[_0x3410d7(0x8c)])return;const _0x40caa2=JSON['parse'](_0x35a81c[_0x3410d7(0x8c)]);this[_0x3410d7(0x168)](_0x40caa2);}))),window[_0x362800(0xfd)]('unload',()=>this[_0x362800(0x2bc)]({'type':0x1,'memberID':this[_0x362800(0xb7)],'unitIDs':Array[_0x362800(0x1be)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x36f7b4){const _0x506dfb=_0x17756b;switch(_0x36f7b4[_0x506dfb(0x243)]){case 0x0:this[_0x506dfb(0x39d)](_0x36f7b4);break;case 0x1:this[_0x506dfb(0x3e8)](_0x36f7b4);break;case 0x2:this[_0x506dfb(0x193)](_0x36f7b4);break;}}['_handleJoinEvent'](_0x3487c0){const _0x51985e=_0x17756b,{unitIDs:_0x16008b,memberID:_0x244571,isForwarded:_0x26b50e}=_0x3487c0;_0x16008b[_0x51985e(0x42e)](_0x7e0719=>{const _0x2bedda=_0x51985e;if(!_0x26b50e&&this['_unitOnClients'][_0x2bedda(0x4d6)](_0x7e0719)&&this[_0x2bedda(0xb2)](_0x7e0719)['next'](0x1),!this[_0x2bedda(0x303)][_0x2bedda(0x4d6)](_0x7e0719)||!this['_unitOnClients'][_0x2bedda(0x30c)](_0x7e0719)[_0x2bedda(0x4d6)](_0x244571)){const _0xfd2e12=this[_0x2bedda(0x303)][_0x2bedda(0x30c)](_0x7e0719)||new Set();_0xfd2e12[_0x2bedda(0x1f6)](_0x244571),this[_0x2bedda(0x303)][_0x2bedda(0x331)](_0x7e0719,_0xfd2e12),this[_0x2bedda(0xb4)](_0x244571);}}),_0x26b50e||this[_0x51985e(0x2bc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x51985e(0xe3)]],'isForwarded':!0x0});}[_0x17756b(0xb4)](_0x450030){const _0x576c4f=_0x17756b;this['_removeClearOtherTimer'](_0x450030);const _0x391b4d=window['setTimeout'](()=>{const _0x36a890=_0x31dd;this[_0x36a890(0x303)]['forEach'](_0x46ee10=>{const _0x30a2cc=_0x36a890;_0x46ee10[_0x30a2cc(0x4f4)](_0x450030);});},_0x5de345*0x2);this[_0x576c4f(0x11d)][_0x576c4f(0x331)](_0x450030,_0x391b4d);}[_0x17756b(0x14f)](_0x4c64cf){const _0x123c2d=_0x17756b;if(this['_clearOtherTimers'][_0x123c2d(0x4d6)](_0x4c64cf)){const _0x452437=this[_0x123c2d(0x11d)][_0x123c2d(0x30c)](_0x4c64cf);_0x452437&&window[_0x123c2d(0x382)](_0x452437),this[_0x123c2d(0x11d)][_0x123c2d(0x331)](_0x4c64cf,null);}}['_handleLeaveEvent'](_0xc5c494){const _0x272895=_0x17756b,{memberID:_0x40a471,unitIDs:_0x4c28a4}=_0xc5c494;_0x4c28a4['forEach'](_0xa24cd6=>{const _0x2fa900=_0x31dd;var _0xeed7d9;const _0x5b74e3=this[_0x2fa900(0x303)]['get'](_0xa24cd6);_0x5b74e3&&(_0x5b74e3['delete'](_0x40a471),(_0xeed7d9=this[_0x2fa900(0xb2)](_0xa24cd6))==null||_0xeed7d9[_0x2fa900(0x47b)](_0x5b74e3[_0x2fa900(0xec)]===0x0?0x0:0x1));}),this[_0x272895(0x14f)](_0x40a471);}['_handleHeartbeatEvent'](_0x3c7b8e){const _0x593462=_0x17756b;this[_0x593462(0xb4)](_0x3c7b8e[_0x593462(0x442)]);}['_send'](_0x9f6fd){const _0x6ad371=_0x17756b;localStorage['setItem'](_0x635b2a,JSON[_0x6ad371(0xe9)](_0x9f6fd));}[_0x17756b(0x40e)](){const _0x4e71de=_0x17756b;this[_0x4e71de(0x33e)]=window['setInterval'](()=>{const _0x187ea=_0x4e71de;this[_0x187ea(0x2bc)]({'type':0x2,'memberID':this['_id']});},_0x5de345);}[_0x17756b(0xb2)](_0x3640aa){const _0x4f12db=_0x17756b;return this[_0x4f12db(0x3ca)][_0x4f12db(0x4d6)](_0x3640aa)||this['_unitStatus'][_0x4f12db(0x331)](_0x3640aa,new _0x2dc6e4[(_0x4f12db(0x1fa))](0x0)),this[_0x4f12db(0x3ca)][_0x4f12db(0x30c)](_0x3640aa);}}var _0x4b7f87=Object[_0x17756b(0x76)],_0x6f8daf=Object['getOwnPropertyDescriptor'],_0x5f150f=(_0x2d2169,_0xba0228,_0x2a9320,_0x1d46d9)=>{const _0x2a04ff=_0x17756b;for(var _0x5d6505=_0x1d46d9>0x1?void 0x0:_0x1d46d9?_0x6f8daf(_0xba0228,_0x2a9320):_0xba0228,_0x548cd8=_0x2d2169[_0x2a04ff(0x189)]-0x1,_0x2ebd61;_0x548cd8>=0x0;_0x548cd8--)(_0x2ebd61=_0x2d2169[_0x548cd8])&&(_0x5d6505=(_0x1d46d9?_0x2ebd61(_0xba0228,_0x2a9320,_0x5d6505):_0x2ebd61(_0x5d6505))||_0x5d6505);return _0x1d46d9&&_0x5d6505&&_0x4b7f87(_0xba0228,_0x2a9320,_0x5d6505),_0x5d6505;},_0x37eba6=(_0x47e20c,_0x555513)=>(_0x2c700f,_0x562b4e)=>_0x555513(_0x2c700f,_0x562b4e,_0x47e20c);let _0x4832e1=class{constructor(_0xe9eba,_0x47d832,_0x525edd){const _0x4c9d1a=_0x17756b;this[_0x4c9d1a(0x419)]=_0xe9eba,this['_transformService']=_0x47d832,this['_docStateChangeManagerService']=_0x525edd;}['transformStateCache'](_0x5d7124){this['_transformHistoryAndStateStack'](_0x5d7124);}[_0x17756b(0x29f)](_0x5150e9){const _0xe0c80f=_0x17756b,{unitID:_0x318b46}=_0x5150e9,{collaboration:_0x4c1f03}=this['_docStateChangeManagerService'][_0xe0c80f(0x3b1)](_0x318b46);if(_0x4c1f03[_0xe0c80f(0x189)]===0x0)return _0x5150e9;let _0x9a3a09=_0x1c8991[_0xe0c80f(0x262)][_0xe0c80f(0x125)](_0x5150e9['mutations'][0x0]);for(let _0x27613b=0x0;_0x27613b<_0x4c1f03[_0xe0c80f(0x189)];_0x27613b++){const _0x3c78cb={'id':_0xe0c80f(0x4cd),'params':{'unitId':_0x4c1f03[_0x27613b]['unitId'],..._0x4c1f03[_0x27613b][_0xe0c80f(0x138)]}},_0xe1f5dd=this[_0xe0c80f(0x183)]['transformMutation'](_0x9a3a09,_0x3c78cb,!0x1);if(_0x3b5018[_0xe0c80f(0x4e8)](_0xe1f5dd))throw _0xe1f5dd[_0xe0c80f(0x47c)];_0x9a3a09=_0xe1f5dd[_0xe0c80f(0x223)];}return{..._0x1c8991['Tools'][_0xe0c80f(0x125)](_0x5150e9),'mutations':[_0x9a3a09]};}[_0x17756b(0x1fd)](_0x3366d0){const _0x2fbcd6=_0x17756b,{unitID:_0x4c5111}=_0x3366d0,{history:_0x346f40,collaboration:_0x661b05}=this[_0x2fbcd6(0x4ea)][_0x2fbcd6(0x3b1)](_0x4c5111);if(_0x346f40[_0x2fbcd6(0x189)]===0x0&&_0x661b05['length']===0x0)return;const _0x19a208=[],_0x3d64c1=[];let _0x465fa8=_0x1c8991[_0x2fbcd6(0x262)][_0x2fbcd6(0x125)](_0x3366d0['mutations'][0x0]),_0x4dd676=_0x1c8991[_0x2fbcd6(0x262)][_0x2fbcd6(0x125)](_0x3366d0['mutations'][0x0]);for(let _0x27f43c=_0x346f40['length']-0x1;_0x27f43c>=0x0;_0x27f43c--){const _0x5e4f7a={'id':_0x2fbcd6(0x4cd),'params':{'unitId':_0x346f40[_0x27f43c][_0x2fbcd6(0x1ae)],..._0x346f40[_0x27f43c]['undoState']}},_0x5f1307={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x346f40[_0x27f43c]['unitId'],..._0x346f40[_0x27f43c]['redoState']}},_0x5aff48=this[_0x2fbcd6(0x183)][_0x2fbcd6(0x280)](_0x465fa8,_0x5e4f7a,!0x1),_0x28ca12=this[_0x2fbcd6(0x183)][_0x2fbcd6(0x280)](_0x4dd676,_0x5f1307,!0x1);if(_0x3b5018[_0x2fbcd6(0x4e8)](_0x5aff48))throw _0x5aff48[_0x2fbcd6(0x47c)];if(_0x3b5018[_0x2fbcd6(0x4e8)](_0x28ca12))throw _0x28ca12[_0x2fbcd6(0x47c)];_0x19a208['unshift']({..._0x346f40[_0x27f43c],'undoState':_0x5aff48['m2Prime'][_0x2fbcd6(0x29d)],'redoState':_0x28ca12[_0x2fbcd6(0x2b0)][_0x2fbcd6(0x29d)]}),_0x465fa8=_0x5aff48[_0x2fbcd6(0x223)],_0x4dd676=_0x28ca12[_0x2fbcd6(0x223)];}_0x465fa8=_0x1c8991[_0x2fbcd6(0x262)][_0x2fbcd6(0x125)](_0x3366d0[_0x2fbcd6(0xf2)][0x0]),_0x4dd676=_0x1c8991['Tools']['deepClone'](_0x3366d0[_0x2fbcd6(0xf2)][0x0]);for(let _0x52ce32=_0x661b05['length']-0x1;_0x52ce32>=0x0;_0x52ce32--){const _0x25e247={'id':_0x2fbcd6(0x4cd),'params':{'unitId':_0x661b05[_0x52ce32]['unitId'],..._0x661b05[_0x52ce32][_0x2fbcd6(0x91)]}},_0x212498={'id':_0x2fbcd6(0x4cd),'params':{'unitId':_0x661b05[_0x52ce32][_0x2fbcd6(0x1ae)],..._0x661b05[_0x52ce32][_0x2fbcd6(0x138)]}},_0x22a7f6=this['_transformService'][_0x2fbcd6(0x280)](_0x465fa8,_0x25e247,!0x1),_0x10cdc1=this[_0x2fbcd6(0x183)]['transformMutation'](_0x4dd676,_0x212498,!0x1);if(_0x3b5018[_0x2fbcd6(0x4e8)](_0x22a7f6))throw _0x22a7f6[_0x2fbcd6(0x47c)];if(_0x3b5018[_0x2fbcd6(0x4e8)](_0x10cdc1))throw _0x10cdc1[_0x2fbcd6(0x47c)];_0x3d64c1[_0x2fbcd6(0x2ef)]({..._0x661b05[_0x52ce32],'undoState':_0x22a7f6['m2Prime'][_0x2fbcd6(0x29d)],'redoState':_0x10cdc1[_0x2fbcd6(0x2b0)]['params']}),_0x465fa8=_0x22a7f6[_0x2fbcd6(0x223)],_0x4dd676=_0x10cdc1['m1Prime'];}this[_0x2fbcd6(0x4ea)]['setStateCache'](_0x4c5111,{'history':_0x19a208,'collaboration':_0x3d64c1});}};_0x4832e1=_0x5f150f([_0x37eba6(0x0,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x37eba6(0x1,_0x3b5018[_0x17756b(0x454)]),_0x37eba6(0x2,_0x1c8991[_0x17756b(0x329)](_0x3c5b00[_0x17756b(0x191)]))],_0x4832e1);function _0x1bbc0a(_0x30986d){let _0x40aed2='';for(const _0x58a851 of _0x30986d){const {startOffset:_0x500001,endOffset:_0x134332,isActive:_0x2c5aac,rangeType:_0x2bdcbc,segmentId:_0x51dbeb,segmentPage:_0x23e5b7}=_0x58a851;_0x40aed2['length']&&(_0x40aed2+=','),_0x40aed2+=_0x500001+':'+_0x134332+':'+(_0x2c5aac?'1':'0')+':'+_0x2bdcbc+':'+_0x51dbeb+':'+_0x23e5b7;}return _0x40aed2;}function _0xa1ec1f(_0x4582cf){const _0x31cefb=_0x17756b,_0x175618=_0x4582cf[_0x31cefb(0xda)](','),_0x24d377=[];for(const _0x1fe3c9 of _0x175618){const [_0x381c4e,_0x4a1fd8,_0x12a342,_0x464283,_0x3d543b,_0x34feb1]=_0x1fe3c9[_0x31cefb(0xda)](':');_0x24d377[_0x31cefb(0x1c1)]({'startOffset':Number(_0x381c4e),'endOffset':Number(_0x4a1fd8),'collapsed':_0x381c4e===_0x4a1fd8,'isActive':_0x12a342==='1','rangeType':_0x464283===_0x1c8991['DOC_RANGE_TYPE'][_0x31cefb(0x390)]?_0x1c8991[_0x31cefb(0x3d4)][_0x31cefb(0x390)]:_0x1c8991[_0x31cefb(0x3d4)][_0x31cefb(0x3b0)],'segmentId':typeof _0x3d543b=='string'?String(_0x3d543b):'','segmentPage':Number(_0x34feb1!=null?_0x34feb1:-0x1)});}return _0x24d377[_0x31cefb(0x3b2)](_0x4e79b7=>_0x4e79b7[_0x31cefb(0x232)])||(_0x24d377[0x0][_0x31cefb(0x232)]=!0x0),_0x24d377;}class _0x3af579 extends _0x1c8991['RxDisposable']{constructor(){const _0x4337bd=_0x17756b;super(...arguments),_0x25db2a(this,_0x4337bd(0x4dc),new _0x2dc6e4[(_0x4337bd(0x1fa))](null)),_0x25db2a(this,_0x4337bd(0x335),this[_0x4337bd(0x4dc)]['asObservable']());}[_0x17756b(0x140)](_0x56b3bc){const _0x1df41c=_0x17756b,{unitID:_0x476e39,memberID:_0x26d2dd,textRanges:_0x1c0f8b}=_0x56b3bc,_0x256138=_0x1bbc0a(_0x1c0f8b);if(_0x256138==='')return;const _0x58f38e={'unitID':_0x476e39,'memberID':_0x26d2dd,'selection':_0x256138};this['_collabCursorState$'][_0x1df41c(0x47b)](_0x58f38e);}}var _0x11f0f1=Object[_0x17756b(0x76)],_0x1607c1=Object[_0x17756b(0x4db)],_0x564849=(_0x451a66,_0x1910e5,_0x16b9bb,_0x5af130)=>{const _0x3a42d4=_0x17756b;for(var _0x3f810f=_0x5af130>0x1?void 0x0:_0x5af130?_0x1607c1(_0x1910e5,_0x16b9bb):_0x1910e5,_0x142fda=_0x451a66[_0x3a42d4(0x189)]-0x1,_0x212213;_0x142fda>=0x0;_0x142fda--)(_0x212213=_0x451a66[_0x142fda])&&(_0x3f810f=(_0x5af130?_0x212213(_0x1910e5,_0x16b9bb,_0x3f810f):_0x212213(_0x3f810f))||_0x3f810f);return _0x5af130&&_0x3f810f&&_0x11f0f1(_0x1910e5,_0x16b9bb,_0x3f810f),_0x3f810f;},_0x26d260=(_0x413b1d,_0x569574)=>(_0x36ab2b,_0x2cd132)=>_0x569574(_0x36ab2b,_0x2cd132,_0x413b1d);let _0x2b31aa=class{constructor(_0x45845e,_0x50a636){const _0x153b30=_0x17756b;this[_0x153b30(0x419)]=_0x45845e,this[_0x153b30(0x183)]=_0x50a636;}[_0x17756b(0x384)](_0x562ffa){const _0x4598bc=_0x17756b;var _0x30f2ff;const _0x18a33c=this[_0x4598bc(0x419)]['get'](_0x34d771['DocSelectionManagerService']),_0x538c36=(_0x30f2ff=_0x18a33c[_0x4598bc(0x2be)]())!=null?_0x30f2ff:[];if(_0x538c36[_0x4598bc(0x189)]===0x0)return;const _0x13f3bf=_0x562ffa[_0x4598bc(0x52f)],_0x26a87a=[{'id':_0x4598bc(0x4cd),'params':{'unitId':_0x13f3bf,'actions':null,'textRanges':_0x538c36}}],_0x5ceb9d=this[_0x4598bc(0x183)][_0x4598bc(0xed)](_0x562ffa,_0x26a87a);if(!_0x3b5018[_0x4598bc(0x25a)](_0x5ceb9d))throw _0x5ceb9d[_0x4598bc(0x47c)];const _0x60ea17=_0x5ceb9d[_0x4598bc(0x2b0)][0x0]['params'][_0x4598bc(0x137)];Array[_0x4598bc(0x28d)](_0x60ea17)&&_0x60ea17[_0x4598bc(0x189)]&&_0x18a33c['replaceDocRanges'](_0x60ea17,{'unitId':_0x13f3bf,'subUnitId':_0x13f3bf},!0x1);}};_0x2b31aa=_0x564849([_0x26d260(0x0,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x26d260(0x1,_0x3b5018[_0x17756b(0x454)])],_0x2b31aa);const _0x310a87=new Set([_0x2c20de['InsertSheetMutation']['id']]);function _0x14b649(_0x188f05,_0x42a4e4,_0x12a39b,_0x5653e3,_0x163a92){const _0xf78760=_0x17756b;var _0x34495d,_0x460b08,_0xaa42f8,_0x192fee;const _0x2dfe0f=[];for(const _0x5e754a of _0x188f05)if(_0x310a87[_0xf78760(0x4d6)](_0x5e754a['id'])){if(_0x2dfe0f['length']>0x0)break;_0x2dfe0f['push'](_0x5e754a);break;}else _0x2dfe0f[_0xf78760(0x1c1)](_0x5e754a);const _0x532024=(_0x460b08=(_0x34495d=_0x163a92[_0xf78760(0xaf)]())==null?void 0x0:_0x34495d[_0xf78760(0x14e)])!=null?_0x460b08:_0xf78760(0x33c),_0x357747=(_0x192fee=(_0xaa42f8=_0x163a92[_0xf78760(0xaf)]())==null?void 0x0:_0xaa42f8[_0xf78760(0x442)])!=null?_0x192fee:_0xf78760(0x33c);return{'changeset':{'unitID':_0x42a4e4,'type':_0x3b5018[_0xf78760(0x40d)](_0x12a39b[_0xf78760(0x253)](_0x42a4e4)),'baseRev':_0x5653e3[_0xf78760(0x398)](_0x42a4e4),'revision':0x0,'userID':_0x532024,'memberID':_0x357747,'mutations':_0x2dfe0f},'pendingMutations':_0x188f05[_0xf78760(0x12b)](_0x2dfe0f['length'])};}function _0x331a37(_0x69fccc,_0x267b4e,_0x4d0604,_0x555191,_0x1e61cf){const _0x13e1de=_0x17756b;var _0x228068,_0x5e3ff8,_0x11671b,_0x53ff93;const _0x4b069b=[_0x69fccc[_0x13e1de(0x429)]((_0x3476e1,_0x2d36f2)=>{const _0x32bb76=_0x13e1de;var _0x2815bb;const {id:_0x2c8c2d}=_0x3476e1,{id:_0x329efa,type:_0x287026}=_0x2d36f2,_0x1dd60a=(_0x2815bb=_0x3476e1[_0x32bb76(0x29d)])!=null?_0x2815bb:{'actions':null},_0x1bf368=_0x2d36f2[_0x32bb76(0x29d)];if(_0x2c8c2d&&_0x2c8c2d!==_0x329efa)throw new Error(_0x32bb76(0x375)+_0x2c8c2d+_0x32bb76(0x504)+_0x329efa+'.');return{..._0x3476e1,'id':_0x329efa,'type':_0x287026,'params':{'unitId':_0x1bf368['unitId'],'textRanges':_0x1bf368[_0x32bb76(0x137)],'actions':_0x1c8991[_0x32bb76(0x3f4)][_0x32bb76(0x3ea)](_0x1dd60a[_0x32bb76(0x43d)],_0x1bf368[_0x32bb76(0x43d)])}};},{})],_0x4fb205=(_0x5e3ff8=(_0x228068=_0x1e61cf['getCurrentUser']())==null?void 0x0:_0x228068['userID'])!=null?_0x5e3ff8:_0x13e1de(0x33c),_0x706bfe=(_0x53ff93=(_0x11671b=_0x1e61cf[_0x13e1de(0xaf)]())==null?void 0x0:_0x11671b[_0x13e1de(0x442)])!=null?_0x53ff93:'unknown';return{'changeset':{'unitID':_0x267b4e,'type':_0x3b5018[_0x13e1de(0x40d)](_0x4d0604[_0x13e1de(0x253)](_0x267b4e)),'baseRev':_0x555191[_0x13e1de(0x398)](_0x267b4e),'revision':0x0,'userID':_0x4fb205,'memberID':_0x706bfe,'mutations':_0x4b069b},'pendingMutations':[]};}function _0x14d301(_0x22ab6a,_0x1e4ca6){const _0x1403ee=_0x17756b,_0x547e25=new _0x2dc6e4[(_0x1403ee(0x17f))](0x1);return setTimeout(()=>_0x547e25[_0x1403ee(0x47b)](_0x1e4ca6),_0x22ab6a),_0x547e25[_0x1403ee(0x4cc)]()['pipe'](_0x2dc6e4[_0x1403ee(0x45f)](0x1));}const _0x5054ee={'id':_0x2c20de[_0x17756b(0x3dc)]['id'],'type':_0x1c8991[_0x17756b(0x49e)][_0x17756b(0x495)],'params':{}};var _0xf4a39f=Object[_0x17756b(0x76)],_0x330cd2=Object[_0x17756b(0x4db)],_0x4e3551=(_0x4f7a45,_0x4b3353,_0x2433b4,_0x21f786)=>{const _0x5df384=_0x17756b;for(var _0x409442=_0x21f786>0x1?void 0x0:_0x21f786?_0x330cd2(_0x4b3353,_0x2433b4):_0x4b3353,_0x51bd9f=_0x4f7a45[_0x5df384(0x189)]-0x1,_0x8eeaaf;_0x51bd9f>=0x0;_0x51bd9f--)(_0x8eeaaf=_0x4f7a45[_0x51bd9f])&&(_0x409442=(_0x21f786?_0x8eeaaf(_0x4b3353,_0x2433b4,_0x409442):_0x8eeaaf(_0x409442))||_0x409442);return _0x21f786&&_0x409442&&_0xf4a39f(_0x4b3353,_0x2433b4,_0x409442),_0x409442;},_0x529148=(_0x5a5fe6,_0x333159)=>(_0xebf2da,_0x4caf2d)=>_0x333159(_0xebf2da,_0x4caf2d,_0x5a5fe6),_0xf85cc6=(_0x305f49=>(_0x305f49['NOT_COLLAB']='not_collab',_0x305f49[_0x17756b(0x35d)]=_0x17756b(0x21d),_0x305f49[_0x17756b(0x1ea)]=_0x17756b(0x513),_0x305f49['AWAITING']=_0x17756b(0x13b),_0x305f49['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x305f49[_0x17756b(0x11e)]=_0x17756b(0x4a2),_0x305f49[_0x17756b(0x414)]='conflict',_0x305f49[_0x17756b(0x272)]='offline',_0x305f49))(_0xf85cc6||{});const _0x2bb8b6=0xea60;class _0x3d6f98{constructor(_0x4e9439,_0x4fd857,_0x57e0ff,_0x59c186,_0x4b66b4,_0x1bbd81,_0x46d98e,_0x5c189d,_0x49fd0a){const _0x4dec0e=_0x17756b;_0x25db2a(this,_0x4dec0e(0x410),null),_0x25db2a(this,_0x4dec0e(0x470),[]),(this['unitID']=_0x4e9439,this[_0x4dec0e(0x243)]=_0x4fd857,this['_handler']=_0x4b66b4,this[_0x4dec0e(0x3ef)]=_0x1bbd81,this[_0x4dec0e(0x216)]=_0x46d98e,this[_0x4dec0e(0x417)]=_0x5c189d,this[_0x4dec0e(0x82)]=_0x49fd0a,this[_0x4dec0e(0x410)]=_0x57e0ff,this[_0x4dec0e(0x470)]=_0x59c186);}[_0x17756b(0x1d7)](_0x1bacfb){const _0x540940=_0x17756b,_0x51739d=this[_0x540940(0x417)][_0x540940(0x398)](this[_0x540940(0x52f)]);return _0x1bacfb[_0x540940(0x9d)]>_0x51739d+0x1?(this[_0x540940(0xc7)]['onMissingChangesets']({'from':_0x51739d,'to':_0x1bacfb['revision']-0x1}),!0x0):!0x1;}[_0x17756b(0x428)](_0xee04f){const _0x3372fe=_0x17756b;this['_undoRedoService'][_0x3372fe(0x3be)](this[_0x3372fe(0x52f)],_0xee04f);}[_0x17756b(0x4a3)](_0x52d1ec){const _0x312029=_0x17756b;var _0x1ca5b2,_0x584bf8;(_0x584bf8=(_0x1ca5b2=this[_0x312029(0xc7)])[_0x312029(0x1e3)])==null||_0x584bf8[_0x312029(0x399)](_0x1ca5b2,_0x52d1ec);}[_0x17756b(0x46a)](_0x1c6c0e){const _0x5312f3=_0x17756b;var _0x3dc572,_0x4b4aa0;return(_0x4b4aa0=(_0x3dc572=this[_0x5312f3(0xc7)])[_0x5312f3(0x1c7)])==null?void 0x0:_0x4b4aa0['call'](_0x3dc572,_0x1c6c0e);}[_0x17756b(0x318)](_0x5d0523){const _0x27ce01=_0x17756b;var _0x21e984,_0xf8f888;return(_0xf8f888=(_0x21e984=this[_0x27ce01(0xc7)])[_0x27ce01(0x78)])==null?void 0x0:_0xf8f888[_0x27ce01(0x399)](_0x21e984,_0x5d0523);}[_0x17756b(0x3e9)](_0xf8a2d9){const _0xdffa8e=_0x17756b;var _0x5d5c07,_0x5a471c,_0x1d1d15;return(_0x1d1d15=(_0x5a471c=(_0x5d5c07=this[_0xdffa8e(0xc7)])[_0xdffa8e(0x2c8)])==null?void 0x0:_0x5a471c[_0xdffa8e(0x399)](_0x5d5c07,_0xf8a2d9))!=null?_0x1d1d15:_0xf8a2d9;}[_0x17756b(0x286)](_0x57d5d5){const _0x1b30be=_0x17756b;var _0xe28152,_0x548257,_0x2a1ad3;return(_0x2a1ad3=(_0x548257=(_0xe28152=this[_0x1b30be(0xc7)])[_0x1b30be(0x16a)])==null?void 0x0:_0x548257['call'](_0xe28152,_0x57d5d5))!=null?_0x2a1ad3:_0x57d5d5;}['_syncEditingCollabCursor'](_0x204157){const _0x43589a=_0x17756b;var _0x5a8ee0,_0x5edb1b;if(this[_0x43589a(0x243)]===_0x281464['UNIVER_DOC']){const {unitID:_0x437a79,mutations:_0x254068,memberID:_0x5d56f1}=_0x204157,_0x44c6b4=_0x254068[0x0][_0x43589a(0x29d)][_0x43589a(0x137)];Array[_0x43589a(0x28d)](_0x44c6b4)&&_0x44c6b4[_0x43589a(0x189)]>0x0&&((_0x5edb1b=(_0x5a8ee0=this[_0x43589a(0xc7)])['onSyncEditingCollabCursor'])==null||_0x5edb1b[_0x43589a(0x399)](_0x5a8ee0,{'unitID':_0x437a79,'memberID':_0x5d56f1,'textRanges':_0x44c6b4}));}}['_updateLocalCache'](){const _0x1b0e96=_0x17756b;this[_0x1b0e96(0x82)]['updateOfflineData'](this[_0x1b0e96(0x52f)],this[_0x1b0e96(0x243)],this[_0x1b0e96(0x410)],this[_0x1b0e96(0x470)]);}[_0x17756b(0xbb)](){const _0x23268e=_0x17756b;return this['_revisionService'][_0x23268e(0x398)](this[_0x23268e(0x52f)]);}[_0x17756b(0x4f7)](){const _0x53e8f8=_0x17756b;this['_revisionService']['incrementRevOfUnit'](this[_0x53e8f8(0x52f)]);}[_0x17756b(0x104)](_0xa97122){const _0x4aaf29=_0x17756b;var _0x3ea3dd;let _0x538231=this[_0x4aaf29(0x3e9)](_0xa97122);_0x538231=this[_0x4aaf29(0x286)](_0x538231);const _0x172b7a=_0x1c8991[_0x4aaf29(0x526)](_0x538231[_0x4aaf29(0xf2)],this[_0x4aaf29(0x3ef)],{'fromCollab':!0x0});if(!_0x172b7a['result'])throw _0x172b7a[_0x4aaf29(0x47c)]instanceof Error?_0x172b7a[_0x4aaf29(0x47c)]:new Error((_0x3ea3dd=_0x172b7a['error'])!=null?_0x3ea3dd:_0x4aaf29(0xa0));this[_0x4aaf29(0x46a)](_0x538231),this[_0x4aaf29(0x318)](_0x538231),this[_0x4aaf29(0x428)](_0xa97122),this[_0x4aaf29(0x4a3)](_0x538231),this[_0x4aaf29(0x19d)](_0x538231),this[_0x4aaf29(0x4f7)]();}}let _0x49fd40=class extends _0x3d6f98{constructor(_0x534195,_0x2f2d72,_0xcaacc3,_0x48e083,_0x135c94,_0x15ba97,_0x5f436f,_0x4f7596,_0x2d4cf5,_0x3a4116){const _0x2a314c=_0x17756b;super(_0x534195,_0x2f2d72,null,[],_0xcaacc3,_0x4f7596,_0x5f436f,_0x48e083,_0x135c94),_0x25db2a(this,_0x2a314c(0x475),'synced'),(this['_injector']=_0x15ba97,this[_0x2a314c(0x532)]=_0x2d4cf5,this[_0x2a314c(0x183)]=_0x3a4116);}['appendMutation'](_0xbf4806){const _0x24edc3=_0x17756b,_0x280ead=this[_0x24edc3(0x419)][_0x24edc3(0x50f)](_0x5438a7,this['unitID'],this[_0x24edc3(0x243)],[_0xbf4806],this['_handler']);return _0x280ead[_0x24edc3(0x4c7)](),_0x280ead[_0x24edc3(0x52d)](),_0x280ead;}[_0x17756b(0x2f4)](_0x263123){const _0xdd774a=_0x17756b;if(this[_0xdd774a(0x1d7)](_0x263123))return this[_0xdd774a(0x419)]['createInstance'](_0x289d6c,this['unitID'],this[_0xdd774a(0x243)],null,[],null,[_0x263123],this[_0xdd774a(0xc7)]);try{const _0x2d91e3=this[_0xdd774a(0x183)][_0xdd774a(0xed)](_0x263123,[_0x5054ee]);if(_0x3b5018[_0xdd774a(0x25a)](_0x2d91e3)){const {c1Prime:_0x187974}=_0x2d91e3;return this[_0xdd774a(0x104)](_0x187974),this;}throw _0x2d91e3[_0xdd774a(0x47c)];}catch(_0x3dbac0){return this[_0xdd774a(0x532)][_0xdd774a(0x47c)](_0x3dbac0),this[_0xdd774a(0x1c6)](!0x1);}}[_0x17756b(0x1c6)](_0x399e5d){const _0x5eb927=_0x17756b;return this[_0x5eb927(0x419)][_0x5eb927(0x50f)](_0x4f6a8d,this[_0x5eb927(0x52f)],this['type'],null,[],this[_0x5eb927(0xc7)],_0x399e5d);}[_0x17756b(0x2cd)](){const _0x267dee=_0x17756b;throw new Error(_0x267dee(0x31b));}[_0x17756b(0x30e)](){const _0x14cecd=_0x17756b;throw new Error(_0x14cecd(0x406));}['onRemoteRetry'](){return this;}[_0x17756b(0x1f8)](){const _0x36dd08=_0x17756b;return this[_0x36dd08(0x419)][_0x36dd08(0x50f)](_0x445675,this[_0x36dd08(0x52f)],this[_0x36dd08(0x243)],null,[],this[_0x36dd08(0xc7)]);}[_0x17756b(0x220)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x17756b(0x315)](){const _0x514dd9=_0x17756b,_0x511734=this[_0x514dd9(0x417)][_0x514dd9(0x398)](this[_0x514dd9(0x52f)]);return this['_handler'][_0x514dd9(0x2b3)]({'from':_0x511734,'to':0x0}),this[_0x514dd9(0x419)][_0x514dd9(0x50f)](_0x289d6c,this[_0x514dd9(0x52f)],this[_0x514dd9(0x243)],null,[],null,[],this[_0x514dd9(0xc7)]);}};_0x49fd40=_0x4e3551([_0x529148(0x3,_0x1c8991['Inject'](_0x3b5018[_0x17756b(0x463)])),_0x529148(0x4,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x529148(0x5,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x529148(0x6,_0x1c8991[_0x17756b(0x130)]),_0x529148(0x7,_0x1c8991[_0x17756b(0x433)]),_0x529148(0x8,_0x1c8991[_0x17756b(0x2e2)]),_0x529148(0x9,_0x3b5018[_0x17756b(0x454)])],_0x49fd40);let _0x5438a7=class extends _0x3d6f98{constructor(_0x252c3f,_0x1d0cd8,_0x5ad30c,_0x16c528,_0x37cb52,_0x3f1d32,_0x5c75e3,_0x553683,_0x20dc61,_0x160959,_0x4473ba,_0x21cc3e,_0xba5332,_0x471a49){const _0x2a27d3=_0x17756b;super(_0x252c3f,_0x1d0cd8,null,_0x5ad30c,_0x16c528,_0x160959,_0x471a49,_0x3f1d32,_0x5c75e3),_0x25db2a(this,_0x2a27d3(0x475),'pending'),_0x25db2a(this,_0x2a27d3(0x3bb),null),_0x25db2a(this,_0x2a27d3(0xd7),null),(this[_0x2a27d3(0x419)]=_0x37cb52,this[_0x2a27d3(0x464)]=_0x553683,this['_logService']=_0x20dc61,this['_configService']=_0x4473ba,this[_0x2a27d3(0x183)]=_0x21cc3e,this[_0x2a27d3(0x35f)]=_0xba5332);}[_0x17756b(0xff)](_0x29a7e0){const _0x49eee4=_0x17756b;return this[_0x49eee4(0x470)][_0x49eee4(0x1c1)](_0x29a7e0),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3937e7){const _0x1368b8=_0x17756b;if(this[_0x1368b8(0x1d7)](_0x3937e7))return this[_0x1368b8(0x2d6)](),this[_0x1368b8(0x419)][_0x1368b8(0x50f)](_0x289d6c,this[_0x1368b8(0x52f)],this[_0x1368b8(0x243)],null,this[_0x1368b8(0x470)],null,[_0x3937e7],this[_0x1368b8(0xc7)]);try{const _0x16db10=this['_transformService'][_0x1368b8(0xed)](_0x3937e7,this[_0x1368b8(0x470)]);if(_0x3b5018[_0x1368b8(0x25a)](_0x16db10)){const {c1Prime:_0x1773dd,m2Prime:_0x160d5a}=_0x16db10;this[_0x1368b8(0x104)](_0x1773dd);const _0x2f5373=this[_0x1368b8(0x419)]['createInstance'](_0x5438a7,this[_0x1368b8(0x52f)],this[_0x1368b8(0x243)],_0x160d5a,this[_0x1368b8(0xc7)]);return this[_0x1368b8(0x2d6)](),_0x2f5373[_0x1368b8(0x4c7)](this[_0x1368b8(0x3bb)]?Math['max'](0x0,new Date()[_0x1368b8(0x3aa)]()-this[_0x1368b8(0x3bb)]):this[_0x1368b8(0x263)]()),_0x2f5373;}throw _0x16db10[_0x1368b8(0x47c)];}catch(_0x24c371){return this['_logService'][_0x1368b8(0x47c)](_0x24c371),this[_0x1368b8(0x1c6)](!0x1);}}[_0x17756b(0x2cd)](){const _0xb7b01c=_0x17756b;throw new Error(_0xb7b01c(0x38c));}[_0x17756b(0x30e)](){const _0x59da23=_0x17756b;throw new Error(_0x59da23(0x516));}['onRemoteRetry'](){return this;}[_0x17756b(0x1f8)](){const _0x178c4b=_0x17756b;return this[_0x178c4b(0x2d6)](),this[_0x178c4b(0x419)][_0x178c4b(0x50f)](_0x445675,this[_0x178c4b(0x52f)],this[_0x178c4b(0x243)],null,this[_0x178c4b(0x470)],this[_0x178c4b(0xc7)]);}[_0x17756b(0x220)](){return this;}[_0x17756b(0x4c7)](_0x4bcf94){const _0x30dd54=_0x17756b,_0x496a90=_0x4bcf94!=null?_0x4bcf94:this['_getSendChangesetTimeout']();this[_0x30dd54(0x3bb)]=new Date()['getTime'](),this[_0x30dd54(0xd7)]=window['setTimeout'](()=>{const _0x480de6=_0x30dd54;this[_0x480de6(0x2d6)]();let _0x17756e=null;switch(this[_0x480de6(0x243)]){case _0x281464[_0x480de6(0x2db)]:{_0x17756e=_0x14b649(this[_0x480de6(0x470)],this[_0x480de6(0x52f)],this[_0x480de6(0x35f)],this['_revisionService'],this[_0x480de6(0x464)]);break;}case _0x281464['UNIVER_DOC']:{this['_pendingMutations'][_0x480de6(0x4d9)](_0xa7b714=>_0xa7b714['id']===_0x34d771[_0x480de6(0x265)]['id'])?_0x17756e=_0x331a37(this[_0x480de6(0x470)],this[_0x480de6(0x52f)],this[_0x480de6(0x35f)],this[_0x480de6(0x417)],this['_memberService']):_0x17756e=_0x14b649(this[_0x480de6(0x470)],this[_0x480de6(0x52f)],this[_0x480de6(0x35f)],this[_0x480de6(0x417)],this['_memberService']);break;}default:throw new Error(_0x480de6(0x96)+this[_0x480de6(0x243)]+_0x480de6(0x2c9));}const {changeset:_0x10114f,pendingMutations:_0x1dd5cf}=_0x17756e;this['_handler'][_0x480de6(0x4a5)](_0x10114f);const _0x11aced=_0x1dd5cf['length']?this[_0x480de6(0x419)][_0x480de6(0x50f)](_0x593341,this['unitID'],this['type'],_0x10114f,_0x1dd5cf,this[_0x480de6(0xc7)],void 0x0):this[_0x480de6(0x419)][_0x480de6(0x50f)](_0x2beb82,this[_0x480de6(0x52f)],this[_0x480de6(0x243)],_0x10114f,this[_0x480de6(0xc7)]);_0x11aced[_0x480de6(0x52d)](),this['_handler'][_0x480de6(0x2ac)](this,_0x11aced);},_0x496a90);}[_0x17756b(0x263)](){const _0x272058=_0x17756b;var _0x1c1cc9;const _0x5b54b5=this[_0x272058(0x4ed)]['getConfig'](_0x5adfcf);return(_0x1c1cc9=_0x5b54b5==null?void 0x0:_0x5b54b5[_0x272058(0x227)])!=null?_0x1c1cc9:0x7d0;}['resend'](){const _0x479639=_0x17756b;throw new Error(_0x479639(0x106));}[_0x17756b(0x2d6)](){const _0x27b280=_0x17756b;this[_0x27b280(0xd7)]!=null&&(clearTimeout(this[_0x27b280(0xd7)]),this[_0x27b280(0xd7)]=null);}[_0x17756b(0x1c6)](_0x1e973f){const _0x3ce45c=_0x17756b;return this[_0x3ce45c(0x2d6)](),this[_0x3ce45c(0x419)][_0x3ce45c(0x50f)](_0x4f6a8d,this[_0x3ce45c(0x52f)],this[_0x3ce45c(0x243)],null,this[_0x3ce45c(0x470)],this[_0x3ce45c(0xc7)],_0x1e973f);}};_0x5438a7=_0x4e3551([_0x529148(0x4,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x529148(0x5,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)])),_0x529148(0x6,_0x1c8991['Inject'](_0x1b0f0a[_0x17756b(0x533)])),_0x529148(0x7,_0x1c8991['Inject'](_0x1b0f0a[_0x17756b(0x44a)])),_0x529148(0x8,_0x1c8991[_0x17756b(0x2e2)]),_0x529148(0x9,_0x1c8991[_0x17756b(0x433)]),_0x529148(0xa,_0x1c8991['IConfigService']),_0x529148(0xb,_0x3b5018['ITransformService']),_0x529148(0xc,_0x1c8991[_0x17756b(0x2e7)]),_0x529148(0xd,_0x1c8991[_0x17756b(0x130)])],_0x5438a7);let _0x2beb82=class extends _0x3d6f98{constructor(_0x135031,_0x80c455,_0x5c5e55,_0x45fd34,_0x1d8dcd,_0x3699fc,_0x8d3dbd,_0x2c6610,_0x3bd164,_0x35ab4a,_0x45dce3){const _0x109d4e=_0x17756b;super(_0x135031,_0x80c455,_0x5c5e55,[],_0x45fd34,_0x2c6610,_0x45dce3,_0x3699fc,_0x8d3dbd),_0x25db2a(this,'status',_0x109d4e(0x13b)),_0x25db2a(this,_0x109d4e(0x148),0x0),_0x25db2a(this,'_resendTimer'),_0x25db2a(this,_0x109d4e(0x9f)),(this[_0x109d4e(0x419)]=_0x1d8dcd,this[_0x109d4e(0x532)]=_0x3bd164,this[_0x109d4e(0x183)]=_0x35ab4a);}[_0x17756b(0xff)](_0x4595ba){const _0x253ad9=_0x17756b;this[_0x253ad9(0x2d6)]();const _0x1fb3b5=this['_injector']['createInstance'](_0x593341,this[_0x253ad9(0x52f)],this[_0x253ad9(0x243)],this[_0x253ad9(0x410)],[_0x4595ba],this[_0x253ad9(0xc7)],this[_0x253ad9(0x324)]);return _0x1fb3b5[_0x253ad9(0x52d)](),_0x1fb3b5;}[_0x17756b(0x2f4)](_0x317260){const _0x440ab0=_0x17756b;if(this[_0x440ab0(0x1d7)](_0x317260))return this['_clearScheduledTask'](),this[_0x440ab0(0x419)][_0x440ab0(0x50f)](_0x289d6c,this['unitID'],this[_0x440ab0(0x243)],this[_0x440ab0(0x410)],[],null,[_0x317260],this['_handler']);try{const _0x14870b=this[_0x440ab0(0x183)][_0x440ab0(0x3a5)]([_0x317260],[this[_0x440ab0(0x410)]],!0x1);if(_0x3b5018[_0x440ab0(0xa9)](_0x14870b)){const {c1Prime:_0x2a795d,c2Prime:_0xa60854}=_0x14870b;this['_executeRemoteChangeset'](_0x2a795d[0x0]),_0xa60854[0x0][_0x440ab0(0x27b)]=this[_0x440ab0(0xbb)](),this[_0x440ab0(0x2d6)]();const _0x51c97e=this[_0x440ab0(0x419)][_0x440ab0(0x50f)](_0x2beb82,this[_0x440ab0(0x52f)],this[_0x440ab0(0x243)],_0xa60854[0x0],this[_0x440ab0(0xc7)]);return _0x51c97e[_0x440ab0(0x52d)](),_0x51c97e;}return this[_0x440ab0(0x1c6)](!0x1);}catch(_0x38ecd2){return this[_0x440ab0(0x532)][_0x440ab0(0x47c)](_0x38ecd2),this['_onConflict'](!0x1);}}[_0x17756b(0x2cd)](_0x31be9b){const _0x5091b8=_0x17756b;this[_0x5091b8(0x2d6)]();const _0x32dd14=this[_0x5091b8(0x417)]['getCurrentRevOfUnit'](this[_0x5091b8(0x52f)]);if(_0x31be9b['revision']<_0x32dd14-0x1)return this;if(this[_0x5091b8(0x1d7)](_0x31be9b))return this['_injector'][_0x5091b8(0x50f)](_0x289d6c,this[_0x5091b8(0x52f)],this[_0x5091b8(0x243)],null,[],this['_awaitingChangeset'],[],this[_0x5091b8(0xc7)]);this[_0x5091b8(0x4f7)]();const _0x378f82=this[_0x5091b8(0x419)][_0x5091b8(0x50f)](_0x49fd40,this[_0x5091b8(0x52f)],this[_0x5091b8(0x243)],this[_0x5091b8(0xc7)]);return _0x378f82[_0x5091b8(0x52d)](),_0x378f82;}[_0x17756b(0x30e)](_0x423e90){const _0x22ec7a=_0x17756b;return this['_onConflict'](!!(_0x423e90!=null&&_0x423e90[_0x22ec7a(0xd6)]));}[_0x17756b(0x1ee)](_0x2b1a07){const _0x15d9d6=_0x17756b;return this[_0x15d9d6(0x148)]>_0x2bb8b6?this[_0x15d9d6(0x1f8)]():(this['_resendTimer']=_0x14d301(this[_0x15d9d6(0x148)],{'timeout':this[_0x15d9d6(0x148)],'reqId':_0x2b1a07[_0x15d9d6(0x201)]}),this[_0x15d9d6(0x9f)]=this['_resendTimer'][_0x15d9d6(0x500)](({reqId:_0x203c01,timeout:_0x230b49})=>{const _0x16079e=_0x15d9d6;this[_0x16079e(0x2f5)](_0x203c01,_0x230b49);}),this);}[_0x17756b(0x1f8)](){const _0x56b829=_0x17756b;return this[_0x56b829(0x2d6)](),this[_0x56b829(0x419)][_0x56b829(0x50f)](_0x445675,this[_0x56b829(0x52f)],this[_0x56b829(0x243)],this[_0x56b829(0x410)],[],this[_0x56b829(0xc7)]);}['toggleOnline'](){return this;}[_0x17756b(0x36d)](){const _0x208764=_0x17756b;this[_0x208764(0xc7)][_0x208764(0x4a5)](this[_0x208764(0x410)]);}[_0x17756b(0x1c6)](_0x19765b){const _0x4ea1a4=_0x17756b;return this[_0x4ea1a4(0x2d6)](),this['_injector']['createInstance'](_0x4f6a8d,this[_0x4ea1a4(0x52f)],this['type'],this[_0x4ea1a4(0x410)],[],this[_0x4ea1a4(0xc7)],_0x19765b);}[_0x17756b(0x2f5)](_0xad9d5f,_0x356da7){const _0x5d783d=_0x17756b;var _0x185f3a;_0xad9d5f===((_0x185f3a=this[_0x5d783d(0x410)])==null?void 0x0:_0x185f3a[_0x5d783d(0x201)])&&(this[_0x5d783d(0x36d)](),this[_0x5d783d(0x148)]=_0x356da7===0x0?0x3e8:_0x356da7*0x2);}[_0x17756b(0x2d6)](){const _0x441799=_0x17756b;var _0x4cfb6f;(_0x4cfb6f=this[_0x441799(0x9f)])==null||_0x4cfb6f['unsubscribe'](),this[_0x441799(0x148)]=0x0;}};_0x2beb82=_0x4e3551([_0x529148(0x4,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x529148(0x5,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)])),_0x529148(0x6,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x529148(0x7,_0x1c8991[_0x17756b(0x433)]),_0x529148(0x8,_0x1c8991['ILogService']),_0x529148(0x9,_0x3b5018[_0x17756b(0x454)]),_0x529148(0xa,_0x1c8991[_0x17756b(0x130)])],_0x2beb82);let _0x593341=class extends _0x3d6f98{constructor(_0x59ffa4,_0x370429,_0x1ef722,_0x5937e3,_0x5e704e,_0x15dca6,_0x320ab4,_0x5db3bc,_0x2766db,_0x7f79f,_0x50fc4f,_0x2e94f7,_0x53d298){const _0x878da1=_0x17756b;super(_0x59ffa4,_0x370429,_0x1ef722,_0x5937e3,_0x5e704e,_0x7f79f,_0x53d298,_0x5db3bc,_0x2766db),_0x25db2a(this,_0x878da1(0x475),_0x878da1(0x269)),_0x25db2a(this,_0x878da1(0x148),0x0),_0x25db2a(this,_0x878da1(0x324)),_0x25db2a(this,_0x878da1(0x9f)),(this['_injector']=_0x320ab4,this['_logService']=_0x50fc4f,this[_0x878da1(0x183)]=_0x2e94f7,_0x15dca6&&(this['_resendTimer']=_0x15dca6,this['_sender']=this[_0x878da1(0x324)]['subscribe'](({reqId:_0x3d1b84,timeout:_0x388730})=>{const _0x53781b=_0x878da1;this[_0x53781b(0x2f5)](_0x3d1b84,_0x388730);})));}[_0x17756b(0xff)](_0x26b3ee){const _0x451fb7=_0x17756b;return this[_0x451fb7(0x470)][_0x451fb7(0x1c1)](_0x26b3ee),this;}['onRemoteChangeset'](_0x203751){const _0x3cbab9=_0x17756b;if(this[_0x3cbab9(0x1d7)](_0x203751))return this[_0x3cbab9(0x2d6)](),this[_0x3cbab9(0x419)]['createInstance'](_0x289d6c,this[_0x3cbab9(0x52f)],this[_0x3cbab9(0x243)],this[_0x3cbab9(0x410)],this[_0x3cbab9(0x470)],null,[_0x203751],this[_0x3cbab9(0xc7)]);try{const _0x295be2=this['_transformService'][_0x3cbab9(0x3a5)]([_0x203751],[this[_0x3cbab9(0x410)]],!0x1);if(_0x3b5018['isTransformChangesetsSuccess'](_0x295be2)){const {c1Prime:_0x3f3e62,c2Prime:_0x4ffa89}=_0x295be2,_0x22543c=this[_0x3cbab9(0x183)][_0x3cbab9(0xed)](_0x3f3e62[0x0],this[_0x3cbab9(0x470)]);if(_0x3b5018[_0x3cbab9(0x25a)](_0x22543c)){const {c1Prime:_0x20aaea,m2Prime:_0x9a4547}=_0x22543c;return this[_0x3cbab9(0x104)](_0x20aaea),_0x4ffa89[0x0]['baseRev']=this[_0x3cbab9(0xbb)](),this[_0x3cbab9(0x2d6)](),this[_0x3cbab9(0x419)][_0x3cbab9(0x50f)](_0x593341,this[_0x3cbab9(0x52f)],this['type'],_0x4ffa89[0x0],_0x9a4547,this['_handler'],void 0x0);}throw _0x22543c[_0x3cbab9(0x47c)];}throw _0x295be2[_0x3cbab9(0x47c)];}catch(_0x4bbcc0){return this[_0x3cbab9(0x532)][_0x3cbab9(0x47c)](_0x4bbcc0),this[_0x3cbab9(0x1c6)](!0x1);}}[_0x17756b(0x2cd)](_0x134769){const _0x119aa5=_0x17756b;if(this[_0x119aa5(0x2d6)](),this[_0x119aa5(0x1d7)](_0x134769))return this[_0x119aa5(0x419)]['createInstance'](_0x289d6c,this[_0x119aa5(0x52f)],this[_0x119aa5(0x243)],null,this[_0x119aa5(0x470)],this['_awaitingChangeset'],[],this[_0x119aa5(0xc7)]);this[_0x119aa5(0x4f7)]();const _0x2fad0e=this[_0x119aa5(0x419)][_0x119aa5(0x50f)](_0x5438a7,this['unitID'],this[_0x119aa5(0x243)],this[_0x119aa5(0x470)],this[_0x119aa5(0xc7)]);return _0x2fad0e[_0x119aa5(0x4c7)](),_0x2fad0e[_0x119aa5(0x52d)](),_0x2fad0e;}[_0x17756b(0x30e)](_0x1fea5f){const _0x904f88=_0x17756b;return this[_0x904f88(0x1c6)](!!(_0x1fea5f!=null&&_0x1fea5f[_0x904f88(0xd6)]));}[_0x17756b(0x1ee)](_0x459f51){const _0x1df940=_0x17756b;return this[_0x1df940(0x148)]>_0x2bb8b6?this[_0x1df940(0x1f8)]():(this['_resendTimer']=_0x14d301(this['_resendTimeout'],{'timeout':this[_0x1df940(0x148)],'reqId':_0x459f51[_0x1df940(0x201)]}),this[_0x1df940(0x9f)]=this[_0x1df940(0x324)][_0x1df940(0x500)](({reqId:_0x422f27,timeout:_0x383eda})=>{const _0xd907e0=_0x1df940;this[_0xd907e0(0x2f5)](_0x422f27,_0x383eda);}),this);}[_0x17756b(0x1f8)](){const _0x216a9c=_0x17756b;return this[_0x216a9c(0x2d6)](),this['_injector']['createInstance'](_0x445675,this['unitID'],this[_0x216a9c(0x243)],this[_0x216a9c(0x410)],this[_0x216a9c(0x470)],this[_0x216a9c(0xc7)]);}[_0x17756b(0x220)](){return this;}['resend'](){const _0x2fe62c=_0x17756b;this[_0x2fe62c(0xc7)][_0x2fe62c(0x4a5)](this[_0x2fe62c(0x410)]);}[_0x17756b(0x1c6)](_0x2cd1bb){const _0x4392b9=_0x17756b;return this[_0x4392b9(0x2d6)](),this['_injector']['createInstance'](_0x4f6a8d,this[_0x4392b9(0x52f)],this[_0x4392b9(0x243)],null,this[_0x4392b9(0x470)],this[_0x4392b9(0xc7)],_0x2cd1bb);}[_0x17756b(0x2f5)](_0x16683f,_0x2b406f){const _0x2f0d6f=_0x17756b;var _0x5379f3;_0x16683f===((_0x5379f3=this['_awaitingChangeset'])==null?void 0x0:_0x5379f3[_0x2f0d6f(0x201)])&&(this['resend'](),this[_0x2f0d6f(0x148)]=_0x2b406f===0x0?0x3e8:_0x2b406f*0x2);}[_0x17756b(0x2d6)](){const _0x825897=_0x17756b;var _0x516cbc;(_0x516cbc=this[_0x825897(0x9f)])==null||_0x516cbc[_0x825897(0x32b)](),this[_0x825897(0x148)]=0x0;}};_0x593341=_0x4e3551([_0x529148(0x6,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x529148(0x7,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)])),_0x529148(0x8,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x529148(0x9,_0x1c8991[_0x17756b(0x433)]),_0x529148(0xa,_0x1c8991[_0x17756b(0x2e2)]),_0x529148(0xb,_0x3b5018[_0x17756b(0x454)]),_0x529148(0xc,_0x1c8991[_0x17756b(0x130)])],_0x593341);let _0x4f6a8d=class extends _0x3d6f98{constructor(_0x221829,_0x26c154,_0x12b892,_0x32157b,_0x4d07cd,_0x174b8c=!0x1,_0x4c86fb,_0x45e94b,_0x412b82,_0x4feda9,_0x54511d,_0x373b9f,_0x5ae44d){const _0xf1c0e5=_0x17756b;super(_0x221829,_0x26c154,_0x12b892,_0x32157b,_0x4d07cd,_0x45e94b,_0x412b82,_0x54511d,_0x4feda9),_0x25db2a(this,_0xf1c0e5(0x475),_0xf1c0e5(0x511)),(this['_isPermissionRej']=_0x174b8c,this['_permissionService']=_0x4c86fb,this[_0xf1c0e5(0x3ee)]=_0x373b9f,this[_0xf1c0e5(0x471)]=_0x5ae44d,this['_showConflictNotification'](),this[_0xf1c0e5(0x407)](),this[_0xf1c0e5(0x3f3)]());}[_0x17756b(0xff)](){return this;}[_0x17756b(0x2f4)](){return this;}[_0x17756b(0x2cd)](){return this;}[_0x17756b(0x30e)](){return this;}[_0x17756b(0x1ee)](){return this;}[_0x17756b(0x1f8)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x1220d1=_0x17756b;throw new Error(_0x1220d1(0x283));}[_0x17756b(0x407)](){const _0x13b57d=_0x17756b;this[_0x13b57d(0x82)][_0x13b57d(0x124)](this[_0x13b57d(0x52f)],this[_0x13b57d(0x243)],null,[]);}[_0x17756b(0x3f5)](){const _0x1b51a0=_0x17756b;this[_0x1b51a0(0xbe)]?this[_0x1b51a0(0x471)]['show']({'title':this['_localeService']['t'](_0x1b51a0(0xc0)),'content':this['_localeService']['t']('permission.content'),'type':_0x1b51a0(0x47c),'duration':0x0}):this['_notificationService'][_0x1b51a0(0x34a)]({'title':this[_0x1b51a0(0x3ee)]['t'](_0x1b51a0(0x444)),'content':this[_0x1b51a0(0x3ee)]['t']('conflict.content'),'type':_0x1b51a0(0x47c),'duration':0x0});}[_0x17756b(0x3f3)](){const _0x530940=_0x17756b;this[_0x530940(0x1a6)]['updatePermissionPoint'](new _0x2c20de[(_0x530940(0x16d))](this[_0x530940(0x52f)])['id'],!0x1);}};_0x4f6a8d=_0x4e3551([_0x529148(0x6,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0x14b)])),_0x529148(0x7,_0x1c8991[_0x17756b(0x433)]),_0x529148(0x8,_0x1c8991[_0x17756b(0x130)]),_0x529148(0x9,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x529148(0xa,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)])),_0x529148(0xb,_0x1c8991['Inject'](_0x1c8991[_0x17756b(0xcf)])),_0x529148(0xc,_0x1af299[_0x17756b(0x1eb)])],_0x4f6a8d);let _0x445675=class extends _0x3d6f98{constructor(_0xde09d7,_0x5a490c,_0x160f32,_0x231620,_0x31c976,_0x2bdcc8,_0x1eb90e,_0x518d07,_0x4b417a,_0x49ccfb){const _0x4bd5da=_0x17756b;super(_0xde09d7,_0x5a490c,_0x160f32,_0x231620,_0x31c976,_0x4b417a,_0x49ccfb,_0x1eb90e,_0x518d07),_0x25db2a(this,'status',_0x4bd5da(0x31e)),this[_0x4bd5da(0x419)]=_0x2bdcc8;}['appendMutation'](_0x530c33){const _0x586783=_0x17756b;return this[_0x586783(0x470)][_0x586783(0x1c1)](_0x530c33),this['_updateLocalCache'](),this;}[_0x17756b(0x2f4)](_0x45d5ad){const _0x58321e=_0x17756b;throw new Error(_0x58321e(0x369));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x4233e6=_0x17756b;throw new Error(_0x4233e6(0x2b7));}[_0x17756b(0x1ee)](){return this;}['toggleOffline'](){return this;}[_0x17756b(0x220)](){const _0xca4bd4=_0x17756b,{_injector:_0x4fb426,_pendingMutations:_0x56e310,_awaitingChangeset:_0x203920,unitID:_0x4e8016,_handler:_0x58c2bc,type:_0x245804}=this,_0x16d361=_0x2286f6(_0x4fb426,_0x4e8016,_0x245804,_0x203920,_0x56e310,_0x58c2bc);return _0x16d361 instanceof _0x5438a7?_0x16d361['_schedule']():(_0x16d361 instanceof _0x593341||_0x16d361 instanceof _0x2beb82)&&_0x16d361[_0xca4bd4(0x36d)](),_0x16d361;}[_0x17756b(0x36d)](){const _0x5153fa=_0x17756b;throw new Error(_0x5153fa(0x2cf));}};_0x445675=_0x4e3551([_0x529148(0x5,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x529148(0x6,_0x1c8991['Inject'](_0x3b5018[_0x17756b(0x463)])),_0x529148(0x7,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x529148(0x8,_0x1c8991[_0x17756b(0x433)]),_0x529148(0x9,_0x1c8991[_0x17756b(0x130)])],_0x445675);let _0x289d6c=class extends _0x3d6f98{constructor(_0x5c2012,_0x3e8e09,_0x2f0462,_0x3e1c3b,_0x4ec2dd,_0x2e8778,_0x48f845,_0x58e31f,_0x566721,_0xeed5fb,_0xc65cad,_0x56528b,_0x51376e,_0x5f3b72){const _0x362ee5=_0x17756b;super(_0x5c2012,_0x3e8e09,_0x2f0462,_0x3e1c3b,_0x48f845,_0x56528b,_0x51376e,_0x566721,_0xeed5fb),_0x25db2a(this,'status',_0x362ee5(0x4a2)),(this[_0x362ee5(0x2e5)]=_0x4ec2dd,this['_queuedRemoteChangesets']=_0x2e8778,this['_injector']=_0x58e31f,this[_0x362ee5(0x532)]=_0xc65cad,this[_0x362ee5(0x183)]=_0x5f3b72);}[_0x17756b(0x4fa)](_0x25e1de){const _0x3f1115=_0x17756b;try{const _0x144819=[..._0x25e1de,...this[_0x3f1115(0xd2)]],_0x45b0c4=[this[_0x3f1115(0x410)]||this[_0x3f1115(0x2e5)]][_0x3f1115(0x241)](_0x2010b2=>!!_0x2010b2);let _0x265800,_0x4aefac;if(_0x45b0c4[_0x3f1115(0x189)]){const _0x2173b6=this[_0x3f1115(0x183)]['transformChangesets'](_0x144819,_0x45b0c4,!0x1);if(!_0x3b5018[_0x3f1115(0xa9)](_0x2173b6))throw _0x2173b6[_0x3f1115(0x47c)];_0x265800=_0x2173b6[_0x3f1115(0x17b)],_0x4aefac=_0x2173b6['c2Prime'];}else _0x265800=_0x144819,_0x4aefac=[];let _0x30ae38=this[_0x3f1115(0x470)];_0x265800['forEach'](_0x25df42=>{const _0x1bacfc=_0x3f1115;let _0x268cde;if(_0x30ae38[_0x1bacfc(0x189)]){const _0x4744f8=this[_0x1bacfc(0x183)]['transformMutationsWithChangeset'](_0x25df42,_0x30ae38);if(!_0x3b5018[_0x1bacfc(0x25a)](_0x4744f8))throw _0x4744f8[_0x1bacfc(0x47c)];_0x268cde=_0x4744f8[_0x1bacfc(0x17b)],_0x30ae38=_0x4744f8['m2Prime'];}else _0x268cde=_0x25df42;this['_executeRemoteChangeset'](_0x268cde);}),this[_0x3f1115(0x2e5)]&&this[_0x3f1115(0x4f7)](),this[_0x3f1115(0x410)]&&_0x4aefac[_0x3f1115(0x189)]&&(_0x4aefac[0x0]['baseRev']=this[_0x3f1115(0xbb)]());let _0x1d1ab6;if(this[_0x3f1115(0x410)]&&_0x30ae38[_0x3f1115(0x189)]!==0x0)_0x1d1ab6=this[_0x3f1115(0x419)]['createInstance'](_0x593341,this[_0x3f1115(0x52f)],this['type'],_0x4aefac[0x0],_0x30ae38,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x30ae38[_0x3f1115(0x189)]===0x0)_0x4aefac[0x0][_0x3f1115(0x27b)]=this[_0x3f1115(0xbb)](),_0x1d1ab6=this[_0x3f1115(0x419)]['createInstance'](_0x2beb82,this[_0x3f1115(0x52f)],this[_0x3f1115(0x243)],_0x4aefac[0x0],this[_0x3f1115(0xc7)]);else{if(_0x30ae38[_0x3f1115(0x189)]!==0x0){const _0x249337=this[_0x3f1115(0x419)][_0x3f1115(0x50f)](_0x5438a7,this[_0x3f1115(0x52f)],this[_0x3f1115(0x243)],_0x30ae38,this[_0x3f1115(0xc7)]);_0x249337[_0x3f1115(0x4c7)](),_0x1d1ab6=_0x249337;}else _0x1d1ab6=this[_0x3f1115(0x419)][_0x3f1115(0x50f)](_0x49fd40,this[_0x3f1115(0x52f)],this[_0x3f1115(0x243)],this[_0x3f1115(0xc7)]);}}return _0x1d1ab6[_0x3f1115(0x52d)](),_0x1d1ab6;}catch(_0x2abafc){return this['_logService']['error'](_0x3f1115(0x40f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2abafc),this['_injector'][_0x3f1115(0x50f)](_0x4f6a8d,this[_0x3f1115(0x52f)],this['type'],this[_0x3f1115(0x410)],this[_0x3f1115(0x470)],this['_handler'],!0x1);}}[_0x17756b(0x36d)](){const _0x174fbb=_0x17756b;throw new Error(_0x174fbb(0x4d8));}[_0x17756b(0xff)](_0x2ddbf7){const _0x4fe451=_0x17756b;return this[_0x4fe451(0x470)][_0x4fe451(0x1c1)](_0x2ddbf7),this;}[_0x17756b(0x2f4)](_0x2921f0){const _0x5f518a=_0x17756b;return this['_queuedRemoteChangesets'][_0x5f518a(0x1c1)](_0x2921f0),this;}['onRemoteAck'](_0x5d4dba){const _0x151a6e=_0x17756b;if(this[_0x151a6e(0x410)])return this[_0x151a6e(0x2e5)]=this[_0x151a6e(0x410)],this[_0x151a6e(0x410)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x17756b(0x30e)](_0x301584){return this['_onConflict'](!!(_0x301584!=null&&_0x301584['isPermissionRej']));}[_0x17756b(0x1ee)](){return this;}[_0x17756b(0x1f8)](){const _0x4d5b25=_0x17756b;return this[_0x4d5b25(0x419)][_0x4d5b25(0x50f)](_0x445675,this[_0x4d5b25(0x52f)],this['type'],this[_0x4d5b25(0x410)],this[_0x4d5b25(0x470)],this[_0x4d5b25(0xc7)]);}['toggleOnline'](){return this;}[_0x17756b(0x1c6)](_0x445288){const _0x26478a=_0x17756b;return this[_0x26478a(0x419)][_0x26478a(0x50f)](_0x4f6a8d,this[_0x26478a(0x52f)],this[_0x26478a(0x243)],this[_0x26478a(0x410)],this[_0x26478a(0x470)],this[_0x26478a(0xc7)],_0x445288);}};_0x289d6c=_0x4e3551([_0x529148(0x7,_0x1c8991[_0x17756b(0x329)](_0x1c8991['Injector'])),_0x529148(0x8,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)])),_0x529148(0x9,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x529148(0xa,_0x1c8991['ILogService']),_0x529148(0xb,_0x1c8991[_0x17756b(0x433)]),_0x529148(0xc,_0x1c8991[_0x17756b(0x130)]),_0x529148(0xd,_0x3b5018[_0x17756b(0x454)])],_0x289d6c);function _0x2286f6(_0x36e113,_0x41aa47,_0x32205d,_0x1a2f43,_0x5a2d1b,_0x59d508){const _0x1598d6=_0x17756b;return _0x1a2f43&&_0x5a2d1b[_0x1598d6(0x189)]?_0x36e113[_0x1598d6(0x50f)](_0x593341,_0x41aa47,_0x32205d,_0x1a2f43,_0x5a2d1b,_0x59d508,void 0x0):_0x1a2f43?_0x36e113[_0x1598d6(0x50f)](_0x2beb82,_0x41aa47,_0x32205d,_0x1a2f43,_0x59d508):_0x5a2d1b[_0x1598d6(0x189)]?_0x36e113[_0x1598d6(0x50f)](_0x5438a7,_0x41aa47,_0x32205d,_0x5a2d1b,_0x59d508):_0x36e113['createInstance'](_0x49fd40,_0x41aa47,_0x32205d,_0x59d508);}var _0x1bf44a=Object[_0x17756b(0x76)],_0x21f62b=Object[_0x17756b(0x4db)],_0x3e1244=(_0x1b5cf8,_0x3bdc82,_0x15ad42,_0x192595)=>{for(var _0x2fe008=_0x192595>0x1?void 0x0:_0x192595?_0x21f62b(_0x3bdc82,_0x15ad42):_0x3bdc82,_0x3ce186=_0x1b5cf8['length']-0x1,_0xe4b607;_0x3ce186>=0x0;_0x3ce186--)(_0xe4b607=_0x1b5cf8[_0x3ce186])&&(_0x2fe008=(_0x192595?_0xe4b607(_0x3bdc82,_0x15ad42,_0x2fe008):_0xe4b607(_0x2fe008))||_0x2fe008);return _0x192595&&_0x2fe008&&_0x1bf44a(_0x3bdc82,_0x15ad42,_0x2fe008),_0x2fe008;},_0x57c221=(_0x61341,_0x126f72)=>(_0x4a7ae0,_0x11f74c)=>_0x126f72(_0x4a7ae0,_0x11f74c,_0x61341);_0x1b0f0a[_0x17756b(0x18a)]=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0x87b2e8,_0x141e5d,_0x24b5c6,_0x300111,_0x427192,_0x25fd2a,_0x331b51,_0x16f0a9,_0x4c9cdc,_0x489830,_0x335996,_0x2c8176,_0x69dc95){const _0x20a63d=_0x17756b;super(),_0x25db2a(this,_0x20a63d(0x4f0),new _0x2dc6e4[(_0x20a63d(0x1fa))](null)),_0x25db2a(this,_0x20a63d(0xdf),this[_0x20a63d(0x4f0)][_0x20a63d(0x4cc)]()),_0x25db2a(this,_0x20a63d(0x458)),_0x25db2a(this,'_collaborationPaused',!0x1),_0x25db2a(this,_0x20a63d(0xca),''),_0x25db2a(this,_0x20a63d(0x1f2),0x0),_0x25db2a(this,_0x20a63d(0x28e),this['state$'][_0x20a63d(0x26f)](_0x2dc6e4[_0x20a63d(0x3d0)](_0x28acae=>_0x28acae?_0x28acae[_0x20a63d(0x475)]:_0xf85cc6[_0x20a63d(0x272)]),_0x2dc6e4['shareReplay'](0x1))),_0x25db2a(this,_0x20a63d(0xb8),!0x1),_0x25db2a(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x87b2e8,this[_0x20a63d(0x187)]=_0x141e5d,this[_0x20a63d(0x44c)]=_0x24b5c6,this['_injector']=_0x300111,this[_0x20a63d(0x82)]=_0x427192,this[_0x20a63d(0x15f)]=_0x25fd2a,this['_localeService']=_0x331b51,this[_0x20a63d(0x417)]=_0x16f0a9,this[_0x20a63d(0x532)]=_0x4c9cdc,this[_0x20a63d(0x3ef)]=_0x489830,this[_0x20a63d(0x117)]=_0x335996,this[_0x20a63d(0x1a6)]=_0x2c8176,this[_0x20a63d(0x3f6)]=_0x69dc95);}get['state'](){const _0x5b7821=_0x17756b;return this[_0x5b7821(0x458)];}async[_0x17756b(0x294)](){const _0x196554=_0x17756b;if(this[_0x196554(0x17e)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x17756b(0x27e)](){const _0x113213=_0x17756b;return this['_collaborationPaused']=!0x0,_0x1c8991[_0x113213(0x3c4)](()=>{const _0x32de34=_0x113213;this[_0x32de34(0x467)]=!0x1,this[_0x32de34(0x4d1)]();});}[_0x17756b(0x1bd)](_0x1d1aa7){const _0x4f3340=_0x17756b;this['_state']=_0x1d1aa7,this[_0x4f3340(0x4f0)][_0x4f3340(0x47b)](_0x1d1aa7);}async[_0x17756b(0x38d)](){const _0xaa682e=_0x17756b;var _0x3b5a8b;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x3b5a8b=this[_0xaa682e(0x3f6)])==null||_0x3b5a8b[_0xaa682e(0x196)](this[_0xaa682e(0x52f)]),this[_0xaa682e(0x9b)](this[_0xaa682e(0x3f6)][_0xaa682e(0x268)](this[_0xaa682e(0x52f)])['subscribe'](_0x2729db=>{const _0x4b571f=_0xaa682e;this[_0x4b571f(0x532)][_0x4b571f(0x1c0)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x2729db),_0x2729db===_0x3cac5f[_0x4b571f(0x361)]?(this[_0x4b571f(0x117)][_0x4b571f(0x34a)]({'content':this['_localeService']['t'](_0x4b571f(0x275)),'type':_0x502233[_0x4b571f(0x1e7)][_0x4b571f(0x3ac)]}),this['_permissionService'][_0x4b571f(0x50d)](new _0x2c20de[(_0x4b571f(0x16d))](this[_0x4b571f(0x52f)])['id'],!0x1),this[_0x4b571f(0x1a6)][_0x4b571f(0xb3)](!0x1)):(this[_0x4b571f(0x1a6)][_0x4b571f(0x50d)](new _0x2c20de[(_0x4b571f(0x16d))](this[_0x4b571f(0x52f)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x5785a6=!0x1;return this[_0xaa682e(0x9b)](this[_0xaa682e(0x187)][_0xaa682e(0x392)]['subscribe'](_0x156013=>{const _0x380f5f=_0xaa682e;_0x156013===_0x1421cb[_0x380f5f(0xc3)]?this['_toggleOnline'](_0x5785a6):_0x156013===_0x1421cb[_0x380f5f(0x272)]&&(_0x5785a6=!0x0,this[_0x380f5f(0xa5)]());})),this[_0xaa682e(0x9b)](this[_0xaa682e(0x187)][_0xaa682e(0x42f)][_0xaa682e(0x500)](_0x21cfaf=>{const _0x5ecd73=_0xaa682e;try{switch(_0x21cfaf[_0x5ecd73(0x1a5)]){case _0x3b5018['CollaborationEvent'][_0x5ecd73(0x3d1)]:{this[_0x5ecd73(0x3c3)](_0x3b5018['parseProtocolChangeset'](_0x21cfaf[_0x5ecd73(0x39b)]));break;}case _0x3b5018['CollaborationEvent'][_0x5ecd73(0x326)]:{this[_0x5ecd73(0x348)](_0x21cfaf[_0x5ecd73(0x39b)]);break;}case _0x3b5018[_0x5ecd73(0x25c)][_0x5ecd73(0x3dd)]:{this[_0x5ecd73(0x1a2)]();break;}case _0x3b5018[_0x5ecd73(0x25c)][_0x5ecd73(0xaa)]:{this[_0x5ecd73(0x4fc)](_0x21cfaf[_0x5ecd73(0x39b)]);break;}case _0x3b5018[_0x5ecd73(0x25c)][_0x5ecd73(0x41e)]:{this['_onFetchMissResult'](_0x21cfaf[_0x5ecd73(0x39b)]['changesets'][_0x5ecd73(0x3d0)](_0x38c337=>_0x3b5018[_0x5ecd73(0xba)](_0x38c337)));break;}case _0x3b5018['CollaborationEvent'][_0x5ecd73(0x2ed)]:this[_0x5ecd73(0x1a2)]({'isPermissionRej':!0x0});}}catch(_0x56815d){throw console[_0x5ecd73(0x47c)](_0x5ecd73(0x152),_0x56815d),_0x56815d;}})),this[_0xaa682e(0x458)];}['_unlockTransition'](){const _0x580a1d=_0x17756b;this[_0x580a1d(0xb8)]=!0x1;}[_0x17756b(0x93)](){const _0x8ae069=_0x17756b;if(this[_0x8ae069(0xb8)])throw new Error(_0x8ae069(0x502));this['_transitionLocked']=!0x0;}[_0x17756b(0x4e7)](_0x274b9f){const _0x349eac=_0x17756b;this[_0x349eac(0x93)](),this[_0x349eac(0x1bd)](this['_state']['appendMutation'](_0x274b9f)),this[_0x349eac(0x4ad)]();}[_0x17756b(0x3c3)](_0x4aab09){const _0x3b5304=_0x17756b;if(!(_0x4aab09[_0x3b5304(0x9d)]<=this[_0x3b5304(0x417)][_0x3b5304(0x398)](this[_0x3b5304(0x52f)]))){if(this[_0x3b5304(0x467)]){this[_0x3b5304(0x15e)][_0x3b5304(0x1c1)](_0x4aab09);return;}this['_applyRemoteChangeset'](_0x4aab09);}}['_exhaustRemoteChangesetQueue'](){const _0x3b4a82=_0x17756b;this[_0x3b4a82(0x15e)][_0x3b4a82(0x42e)](_0x1c532c=>this[_0x3b4a82(0x186)](_0x1c532c)),this[_0x3b4a82(0x15e)]=[];}[_0x17756b(0x186)](_0x4260f5){const _0x275d62=_0x17756b,_0x33fc32=this[_0x275d62(0x15f)]['interceptor'][_0x275d62(0x25b)](this[_0x275d62(0x15f)][_0x275d62(0x87)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4260f5[_0x275d62(0xf2)],null)||_0x4260f5[_0x275d62(0xf2)],_0x306d10={..._0x4260f5,'mutations':_0x33fc32};this[_0x275d62(0x93)](),this[_0x275d62(0x1bd)](this[_0x275d62(0x458)][_0x275d62(0x2f4)](_0x306d10)),this[_0x275d62(0x4ad)]();}['_onRemoteACK'](_0x1321bb){const _0x473216=_0x17756b;this['_lockTransition'](),this[_0x473216(0x1bd)](this[_0x473216(0x458)][_0x473216(0x2cd)](_0x1321bb)),this['_unlockTransition']();}['_onRemoteRejected'](_0x53907b){const _0x3fbace=_0x17756b;this[_0x3fbace(0x93)](),this[_0x3fbace(0x1bd)](this[_0x3fbace(0x458)][_0x3fbace(0x30e)](_0x53907b)),this[_0x3fbace(0x4ad)]();}[_0x17756b(0x4fc)](_0x33b856){const _0x5450d1=_0x17756b;this[_0x5450d1(0x93)](),this[_0x5450d1(0x1bd)](this[_0x5450d1(0x458)][_0x5450d1(0x1ee)](_0x33b856)),this[_0x5450d1(0x4ad)]();}[_0x17756b(0x4bf)](_0x515a87){const _0x7ac685=_0x17756b;if(!(this['_state']instanceof _0x289d6c))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x910312=_0x515a87['map'](_0x4b8750=>{const _0x2f35ed=_0x31dd,_0x4d7fc2=this[_0x2f35ed(0x15f)][_0x2f35ed(0x87)][_0x2f35ed(0x25b)](this['_compressMutationService']['interceptor'][_0x2f35ed(0x359)]()[_0x2f35ed(0x11b)])(_0x4b8750[_0x2f35ed(0xf2)],null)||_0x4b8750[_0x2f35ed(0xf2)];return{..._0x4b8750,'mutations':_0x4d7fc2};});this[_0x7ac685(0x93)](),this[_0x7ac685(0x1bd)](this[_0x7ac685(0x458)][_0x7ac685(0x4fa)](_0x910312)),this[_0x7ac685(0x4ad)]();}[_0x17756b(0xa5)](){const _0x32fc90=_0x17756b;this[_0x32fc90(0x93)](),this[_0x32fc90(0x1bd)](this['_state'][_0x32fc90(0x1f8)]()),this[_0x32fc90(0x4ad)]();}[_0x17756b(0x1ff)](_0x3c50d8=!0x1){const _0x4447f7=_0x17756b;this[_0x4447f7(0x93)](),this[_0x4447f7(0x1bd)](this[_0x4447f7(0x458)][_0x4447f7(0x220)]()),this['_unlockTransition']();const _0x353b6e=this[_0x4447f7(0x458)];_0x3c50d8&&_0x353b6e instanceof _0x49fd40&&(this[_0x4447f7(0x93)](),this['_updateState'](_0x353b6e[_0x4447f7(0x315)]()),this[_0x4447f7(0x4ad)]());}async['_createInitialState'](){return new Promise(_0x493251=>{const _0x36c072=_0x31dd;this[_0x36c072(0x187)][_0x36c072(0x392)][_0x36c072(0x26f)](_0x2dc6e4['take'](0x1))[_0x36c072(0x500)](async _0x2afeee=>{const _0x205715=_0x36c072;_0x493251(await this['_createInitialStateImpl'](_0x2afeee===_0x1421cb[_0x205715(0xc3)]));});});}[_0x17756b(0x498)](){const _0x83a331=_0x17756b,_0x3c0946=this[_0x83a331(0x52f)];return{'onStateChange':(_0x52857e,_0x40c7d5)=>{const _0x24d464=_0x83a331;if(_0x52857e!==this[_0x24d464(0x458)])throw new Error(_0x24d464(0x319)+_0x52857e['status']+_0x24d464(0x43b)+_0x40c7d5[_0x24d464(0x475)]+_0x24d464(0x360)+this[_0x24d464(0x458)]['status']);this[_0x24d464(0x1bd)](_0x40c7d5);},'onSendChangeset':_0x360b6e=>{const _0x5a74b2=_0x83a331;_0x360b6e[_0x5a74b2(0x9a)]||(_0x360b6e[_0x5a74b2(0x9a)]=this[_0x5a74b2(0xca)],_0x360b6e['reqId']=++this['_changesetReqId']);const _0x25fb14={'eventID':_0x3b5018[_0x5a74b2(0x25c)][_0x5a74b2(0x39c)],'data':{'unitID':_0x360b6e[_0x5a74b2(0x52f)],'unitType':this[_0x5a74b2(0x44c)],'changeset':_0x360b6e,'memberID':this['session'][_0x5a74b2(0x15c)]()}};this['session'][_0x5a74b2(0x213)](_0x25fb14,this[_0x5a74b2(0x52f)]);},'onMissingChangesets':({from:_0x86217,to:_0x7cc604})=>{const _0x3e5231=_0x83a331;this[_0x3e5231(0x532)]['debug'](_0x3e5231(0x45d),'fetching\x20missing\x20changesets\x20from\x20'+_0x86217+'\x20to\x20'+_0x7cc604);const _0x47a7a6={'eventID':_0x3b5018[_0x3e5231(0x25c)][_0x3e5231(0x491)],'data':{'unitID':_0x3c0946,'unitType':this['_type'],'from':_0x86217,'to':_0x7cc604}};this[_0x3e5231(0x187)][_0x3e5231(0x213)](_0x47a7a6,this['unitID']);}};}async[_0x17756b(0x9e)](_0x6f08af){const _0xfff27d=_0x17756b;var _0x374bf2,_0x44f5e5;const _0x451d28=await this[_0xfff27d(0x82)][_0xfff27d(0x1e9)](this['unitID']),_0x2345bd=(_0x374bf2=_0x451d28==null?void 0x0:_0x451d28[_0xfff27d(0xf2)])!=null?_0x374bf2:[],_0x1d9ca6=(_0x44f5e5=_0x451d28==null?void 0x0:_0x451d28[_0xfff27d(0x90)])!=null?_0x44f5e5:null,_0x2e9a79=!!(_0x1d9ca6!=null&&_0x1d9ca6[_0xfff27d(0x9a)])&&!!(_0x1d9ca6!=null&&_0x1d9ca6['reqId']);this[_0xfff27d(0xca)]=_0x2e9a79?_0x1d9ca6[_0xfff27d(0x9a)]:_0x36a64a(),this[_0xfff27d(0x1f2)]=_0x2e9a79?_0x1d9ca6['reqId']:0x0;const _0x556f86=this[_0xfff27d(0x52f)];try{this['_replayCachedMutations'](_0x1d9ca6,_0x2345bd);}catch(_0x27d749){this[_0xfff27d(0x532)][_0xfff27d(0x47c)](_0x27d749);}const _0x29f5be=this[_0xfff27d(0x498)]();if(_0x6f08af){const _0x21200b=_0x2286f6(this['_injector'],_0x556f86,this['_type'],_0x1d9ca6,_0x2345bd,_0x29f5be);return _0x21200b instanceof _0x5438a7?_0x21200b[_0xfff27d(0x4c7)]():(_0x21200b instanceof _0x593341||_0x21200b instanceof _0x2beb82)&&_0x21200b[_0xfff27d(0x36d)](),_0x21200b;}return this[_0xfff27d(0x419)][_0xfff27d(0x50f)](_0x445675,_0x556f86,this['_type'],_0x1d9ca6,_0x2345bd,_0x29f5be);}[_0x17756b(0xb9)](_0x4c4c51,_0x2636c7){const _0x1b0698=_0x17756b;var _0x222246,_0x2897ca;const _0x34746e=this[_0x1b0698(0x15f)][_0x1b0698(0x87)][_0x1b0698(0x25b)](this[_0x1b0698(0x15f)][_0x1b0698(0x87)][_0x1b0698(0x359)]()['COMPRESS_MUTATION_APPLY']);(_0x222246=_0x34746e((_0x4c4c51==null?void 0x0:_0x4c4c51[_0x1b0698(0xf2)])||[],null))==null||_0x222246['forEach'](_0x258a2c=>this[_0x1b0698(0x3ef)][_0x1b0698(0x251)](_0x258a2c['id'],_0x258a2c['params'])),(_0x2897ca=_0x34746e(_0x2636c7||[],null))==null||_0x2897ca[_0x1b0698(0x42e)](_0x6f2127=>this[_0x1b0698(0x3ef)][_0x1b0698(0x251)](_0x6f2127['id'],_0x6f2127[_0x1b0698(0x29d)]));}},_0x1b0f0a['CollaborationEntity']=_0x3e1244([_0x57c221(0x3,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x57c221(0x4,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x57c221(0x5,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x3da)])),_0x57c221(0x6,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xcf)])),_0x57c221(0x7,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)])),_0x57c221(0x8,_0x1c8991[_0x17756b(0x2e2)]),_0x57c221(0x9,_0x1c8991[_0x17756b(0x433)]),_0x57c221(0xa,_0x1af299['IMessageService']),_0x57c221(0xb,_0x1c8991[_0x17756b(0x14b)]),_0x57c221(0xc,_0x1c8991[_0x17756b(0x472)](_0x44fdb5))],_0x1b0f0a['CollaborationEntity']),_0x1b0f0a[_0x17756b(0x7c)]=class extends _0x1b0f0a['CollaborationEntity']{constructor(_0x13c99e,_0x4bb06f,_0x1224f4,_0xf122d0,_0xa85737,_0x4edc29,_0x4ae389,_0x252074,_0x104edf,_0x3d6a1a,_0x4fae86,_0xda95cc,_0x2b19dd,_0x62337b,_0x3cfb78,_0x4ace17,_0x4f0795,_0x2ac0c1){const _0x3c9644=_0x17756b;super(_0x13c99e,_0x1224f4,_0x4bb06f,_0xf122d0,_0xa85737,_0x4edc29,_0x4ae389,_0x252074,_0x62337b,_0x3cfb78,_0x4ace17,_0x4f0795,_0x2ac0c1),this['unitID']=_0x13c99e,this[_0x3c9644(0x243)]=_0x4bb06f,this[_0x3c9644(0x4ea)]=_0x104edf,this[_0x3c9644(0x443)]=_0x3d6a1a,this[_0x3c9644(0x4b6)]=_0x4fae86,this['_docTransformSelectionsService']=_0xda95cc,this[_0x3c9644(0x350)]=_0x2b19dd;}['_createHandler'](){const _0x186b87=_0x17756b,_0x19f1e4=super[_0x186b87(0x498)]();return _0x19f1e4[_0x186b87(0x1c7)]=_0x5c42c2=>this[_0x186b87(0x443)]['transformIMECache'](_0x5c42c2),_0x19f1e4[_0x186b87(0x78)]=_0x2403a1=>this[_0x186b87(0x4b6)]['transformStateCache'](_0x2403a1),_0x19f1e4['onTransformSelections']=_0x46d03c=>this[_0x186b87(0xc2)][_0x186b87(0x384)](_0x46d03c),_0x19f1e4['onSyncEditingCollabCursor']=_0x2e351a=>this[_0x186b87(0x350)][_0x186b87(0x140)](_0x2e351a),_0x19f1e4['onTransformRemoteChangesetByIMECache']=_0x446479=>this[_0x186b87(0x443)][_0x186b87(0x29f)](_0x446479),_0x19f1e4['onTransformRemoteChangesetByStateCache']=_0x185efe=>this[_0x186b87(0x4b6)][_0x186b87(0x29f)](_0x185efe),_0x19f1e4;}async[_0x17756b(0x38d)](){const _0x17f0aa=_0x17756b,_0x393106=await super['_init']();return this[_0x17f0aa(0x4ea)][_0x17f0aa(0x4cf)][_0x17f0aa(0x26f)](_0x2dc6e4[_0x17f0aa(0x185)](this[_0x17f0aa(0x474)]))[_0x17f0aa(0x500)](_0x519d52=>{const _0x32dae5=_0x17f0aa;if(_0x519d52==null)return;const {unitId:_0x481e9c,redoState:_0x48deda,commandId:_0x253046}=_0x519d52;if(_0x481e9c!==this[_0x32dae5(0x52f)])return;const _0x3ac305={'id':_0x253046,'type':_0x1c8991[_0x32dae5(0x49e)][_0x32dae5(0x495)],'params':{'unitId':_0x481e9c,'actions':_0x48deda[_0x32dae5(0x43d)],'textRanges':null}};this[_0x32dae5(0x4e7)](_0x3ac305);}),_0x393106;}},_0x1b0f0a[_0x17756b(0x7c)]=_0x3e1244([_0x57c221(0x3,_0x1c8991['Inject'](_0x1c8991['Injector'])),_0x57c221(0x4,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a['LocalCacheService'])),_0x57c221(0x5,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x3da)])),_0x57c221(0x6,_0x1c8991[_0x17756b(0x329)](_0x1c8991['LocaleService'])),_0x57c221(0x7,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)])),_0x57c221(0x8,_0x1c8991['Inject'](_0x3c5b00[_0x17756b(0x191)])),_0x57c221(0x9,_0x1c8991[_0x17756b(0x329)](_0xbaa802)),_0x57c221(0xa,_0x1c8991['Inject'](_0x4832e1)),_0x57c221(0xb,_0x1c8991[_0x17756b(0x329)](_0x2b31aa)),_0x57c221(0xc,_0x1c8991[_0x17756b(0x329)](_0x3af579)),_0x57c221(0xd,_0x1c8991[_0x17756b(0x2e2)]),_0x57c221(0xe,_0x1c8991[_0x17756b(0x433)]),_0x57c221(0xf,_0x1af299[_0x17756b(0x462)]),_0x57c221(0x10,_0x1c8991[_0x17756b(0x14b)]),_0x57c221(0x11,_0x1c8991['Optional'](_0x44fdb5))],_0x1b0f0a[_0x17756b(0x7c)]),_0x1b0f0a[_0x17756b(0x4b0)]=class extends _0x1b0f0a[_0x17756b(0x18a)]{constructor(_0x234a68,_0x20ba50,_0x26bd7b,_0x6d169c,_0x2ee10c,_0x4b1dff,_0x5cbbfc,_0x399ea1,_0x2a91e6,_0x5e816d,_0x4df735,_0xf0c633,_0x3b548d,_0x2d0562){const _0x1e39cf=_0x17756b;super(_0x234a68,_0x26bd7b,_0x20ba50,_0x6d169c,_0x2ee10c,_0x4b1dff,_0x5cbbfc,_0x399ea1,_0x5e816d,_0x4df735,_0xf0c633,_0x3b548d,_0x2d0562),this['unitID']=_0x234a68,this[_0x1e39cf(0x243)]=_0x20ba50,this['_sheetTransformSelectionsService']=_0x2a91e6;}[_0x17756b(0x498)](){const _0x1ec2a4=_0x17756b,_0x2114a3=super[_0x1ec2a4(0x498)]();return _0x2114a3[_0x1ec2a4(0x1e3)]=_0x1e0b64=>this['_sheetTransformSelectionsService'][_0x1ec2a4(0x384)](_0x1e0b64),_0x2114a3;}async['_init'](){const _0x46b8ab=_0x17756b,_0x4e4ad8=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x46b8ab(0x34c)]((_0x4ea6a8,_0x55c877)=>{const _0x35c84e=_0x46b8ab;if(_0x4ea6a8[_0x35c84e(0x243)]!==_0x1c8991[_0x35c84e(0x49e)][_0x35c84e(0x495)]||_0x55c877!=null&&_0x55c877['fromCollab']||_0x55c877!=null&&_0x55c877[_0x35c84e(0x180)])return;const _0x2156e4=_0x4ea6a8['params'];if((_0x2156e4==null?void 0x0:_0x2156e4[_0x35c84e(0x1ae)])!==this[_0x35c84e(0x52f)])return;const _0x2b7655=_0x4ea6a8,_0x5cee76=this['_compressMutationService'][_0x35c84e(0x87)][_0x35c84e(0x25b)](this[_0x35c84e(0x15f)][_0x35c84e(0x87)][_0x35c84e(0x359)]()['COMPRESS_MUTATION_SEND'])([_0x2b7655],null)||[_0x2b7655];this[_0x35c84e(0x4e7)](_0x5cee76[0x0]);})),_0x4e4ad8;}},_0x1b0f0a[_0x17756b(0x4b0)]=_0x3e1244([_0x57c221(0x3,_0x1c8991['Inject'](_0x1c8991[_0x17756b(0xa2)])),_0x57c221(0x4,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x57c221(0x5,_0x1c8991['Inject'](_0x3b5018[_0x17756b(0x3da)])),_0x57c221(0x6,_0x1c8991[_0x17756b(0x329)](_0x1c8991['LocaleService'])),_0x57c221(0x7,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x463)])),_0x57c221(0x8,_0x1c8991['Inject'](_0x5c8e23)),_0x57c221(0x9,_0x1c8991[_0x17756b(0x2e2)]),_0x57c221(0xa,_0x1c8991['ICommandService']),_0x57c221(0xb,_0x1af299['IMessageService']),_0x57c221(0xc,_0x1c8991['IPermissionService']),_0x57c221(0xd,_0x1c8991[_0x17756b(0x472)](_0x44fdb5))],_0x1b0f0a[_0x17756b(0x4b0)]);var _0x534a80=Object[_0x17756b(0x76)],_0x5655e5=Object[_0x17756b(0x4db)],_0x11b19d=(_0x943ead,_0x5b2b34,_0x2926d6,_0x1eb60c)=>{const _0x49caa5=_0x17756b;for(var _0x1253f9=_0x1eb60c>0x1?void 0x0:_0x1eb60c?_0x5655e5(_0x5b2b34,_0x2926d6):_0x5b2b34,_0x154ae7=_0x943ead[_0x49caa5(0x189)]-0x1,_0xe93fb3;_0x154ae7>=0x0;_0x154ae7--)(_0xe93fb3=_0x943ead[_0x154ae7])&&(_0x1253f9=(_0x1eb60c?_0xe93fb3(_0x5b2b34,_0x2926d6,_0x1253f9):_0xe93fb3(_0x1253f9))||_0x1253f9);return _0x1eb60c&&_0x1253f9&&_0x534a80(_0x5b2b34,_0x2926d6,_0x1253f9),_0x1253f9;},_0x357f93=(_0x3ab999,_0x12feb5)=>(_0x87c51,_0x173d25)=>_0x12feb5(_0x87c51,_0x173d25,_0x3ab999);_0x1b0f0a['CollaborationController']=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0xd8af33,_0x44fc56,_0x3c831f){const _0x5705db=_0x17756b;super(),_0x25db2a(this,_0x5705db(0x4c2),new Map()),_0x25db2a(this,_0x5705db(0x492),new _0x2dc6e4[(_0x5705db(0x26c))]()),(this[_0x5705db(0x419)]=_0xd8af33,this[_0x5705db(0x3b4)]=_0x44fc56,this[_0x5705db(0x35f)]=_0x3c831f,this[_0x5705db(0x38d)]());}['dispose'](){const _0x583106=_0x17756b;super[_0x583106(0x43f)](),this[_0x583106(0x4c2)][_0x583106(0x42e)](_0x27ae2f=>_0x27ae2f[_0x583106(0x43f)]()),this['_entities']['clear']();}[_0x17756b(0x276)](_0x412fb9){const _0x2b75c6=_0x17756b;var _0x15cf2a;return(_0x15cf2a=this['_entities'][_0x2b75c6(0x30c)](_0x412fb9))!=null?_0x15cf2a:null;}[_0x17756b(0x21a)](_0xaa71d6){const _0x95e7aa=_0x17756b,_0x2cdc27=this[_0x95e7aa(0x276)](_0xaa71d6);return _0x2cdc27?_0x2dc6e4['of'](_0x2cdc27):this[_0x95e7aa(0x492)][_0x95e7aa(0x26f)](_0x3563fe[_0x95e7aa(0x241)](_0xf96d60=>_0xf96d60[_0x95e7aa(0x52f)]===_0xaa71d6));}[_0x17756b(0x38d)](){const _0x41e968=_0x17756b;this[_0x41e968(0x35f)]['getTypeOfUnitAdded$'](_0x1c8991[_0x41e968(0x469)][_0x41e968(0x2db)])[_0x41e968(0x26f)](_0x2dc6e4[_0x41e968(0x185)](this[_0x41e968(0x474)]),_0x3563fe[_0x41e968(0x21c)](0x10))[_0x41e968(0x500)](async _0x337b32=>{const _0x562ed0=_0x41e968,_0x4ed52c=_0x337b32[_0x562ed0(0x51a)](),_0x5cdb68=await this['_startCollaboration'](_0x4ed52c,_0x281464[_0x562ed0(0x2db)]);this[_0x562ed0(0x4c2)]['set'](_0x4ed52c,_0x5cdb68);}),this[_0x41e968(0x35f)][_0x41e968(0xbf)](_0x1c8991[_0x41e968(0x469)][_0x41e968(0x524)])[_0x41e968(0x26f)](_0x2dc6e4[_0x41e968(0x185)](this[_0x41e968(0x474)]),_0x3563fe['delay'](0x10))[_0x41e968(0x26f)](_0x3563fe[_0x41e968(0x241)](_0x304c85=>!_0x304c85['getUnitId']()[_0x41e968(0x2bf)]('__')))[_0x41e968(0x500)](async _0x46fa1d=>{const _0x4c65bd=_0x41e968,_0x32749c=_0x46fa1d['getUnitId'](),_0x1de50d=await this[_0x4c65bd(0x34b)](_0x32749c,_0x281464['UNIVER_DOC']);this[_0x4c65bd(0x4c2)][_0x4c65bd(0x331)](_0x32749c,_0x1de50d);}),_0x2dc6e4[_0x41e968(0x134)](this[_0x41e968(0x35f)][_0x41e968(0x158)](_0x1c8991[_0x41e968(0x469)][_0x41e968(0x2db)]),this['_univerInstanceService'][_0x41e968(0x158)](_0x1c8991[_0x41e968(0x469)][_0x41e968(0x524)]))['pipe'](_0x2dc6e4['takeUntil'](this[_0x41e968(0x474)]))[_0x41e968(0x500)](_0x1e8a69=>{const _0x1c32aa=_0x41e968,_0x331ae0=_0x1e8a69[_0x1c32aa(0x51a)](),_0x25bb46=this[_0x1c32aa(0x4c2)][_0x1c32aa(0x30c)](_0x331ae0);_0x25bb46&&(_0x25bb46[_0x1c32aa(0x43f)](),this[_0x1c32aa(0x4c2)][_0x1c32aa(0x4f4)](_0x331ae0));});}async[_0x17756b(0x34b)](_0x1aa5bf,_0x2deb89){const _0x4433cb=_0x17756b,_0x4cfd07=await this['_collabSessionService'][_0x4433cb(0xe2)](_0x1aa5bf),_0x311e87=this[_0x4433cb(0x419)][_0x4433cb(0x50f)](this['_getCtorByUniverType'](_0x2deb89),_0x1aa5bf,_0x2deb89,_0x4cfd07);return await _0x311e87[_0x4433cb(0x294)](),this[_0x4433cb(0x492)][_0x4433cb(0x47b)](_0x311e87),_0x311e87;}[_0x17756b(0x320)](_0xbaf893){const _0xb7224d=_0x17756b;switch(_0xbaf893){case _0x281464[_0xb7224d(0x524)]:return _0x1b0f0a[_0xb7224d(0x7c)];case _0x281464[_0xb7224d(0x2db)]:return _0x1b0f0a['SheetCollaborationEntity'];default:throw new Error(_0xb7224d(0x401)+_0xbaf893);}}},_0x1b0f0a[_0x17756b(0x424)]=_0x11b19d([_0x357f93(0x0,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x357f93(0x1,_0x1c8991['Inject'](_0x1b0f0a[_0x17756b(0x31a)])),_0x357f93(0x2,_0x1c8991[_0x17756b(0x2e7)])],_0x1b0f0a[_0x17756b(0x424)]);const _0x7637e8=['purple300',_0x17756b(0xde),_0x17756b(0x37d),_0x17756b(0x70),_0x17756b(0x146),_0x17756b(0x151)];class _0xc194fc extends _0x1c8991[_0x17756b(0xe4)]{constructor(){const _0x26eeb4=_0x17756b;super(...arguments),_0x25db2a(this,_0x26eeb4(0x285),new Map()),_0x25db2a(this,_0x26eeb4(0x46e),0x0);}[_0x17756b(0xfa)](_0x5be319){const _0x192230=_0x17756b;if(this[_0x192230(0x285)]['has'](_0x5be319))return this[_0x192230(0x285)][_0x192230(0x30c)](_0x5be319);const _0x1e4ebe=_0x7637e8[this[_0x192230(0x46e)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x7637e8[_0x192230(0x189)],this[_0x192230(0x285)]['set'](_0x5be319,_0x1e4ebe),_0x1e4ebe;}}var _0x4a03af=Object[_0x17756b(0x76)],_0x2aeef2=Object[_0x17756b(0x4db)],_0x2ce740=(_0x58c30b,_0x285859,_0x2b8584,_0x142805)=>{const _0x6e32a7=_0x17756b;for(var _0x515fe6=_0x142805>0x1?void 0x0:_0x142805?_0x2aeef2(_0x285859,_0x2b8584):_0x285859,_0x4ad98d=_0x58c30b[_0x6e32a7(0x189)]-0x1,_0xfd0845;_0x4ad98d>=0x0;_0x4ad98d--)(_0xfd0845=_0x58c30b[_0x4ad98d])&&(_0x515fe6=(_0x142805?_0xfd0845(_0x285859,_0x2b8584,_0x515fe6):_0xfd0845(_0x515fe6))||_0x515fe6);return _0x142805&&_0x515fe6&&_0x4a03af(_0x285859,_0x2b8584,_0x515fe6),_0x515fe6;},_0x237814=(_0x32aff5,_0x1c7bae)=>(_0x30e567,_0x351bc3)=>_0x1c7bae(_0x30e567,_0x351bc3,_0x32aff5);const _0x4ce7aa=0x12c,_0x5e2cd0=0x64;let _0x4cd065=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0x278e3b,_0x56f3c7,_0x3224bd,_0x151b11,_0x59ace0,_0x121f4d,_0xca9a8,_0x5e6b4d,_0xc5269a){const _0x26ca75=_0x17756b;super(),_0x25db2a(this,'_online',!0x1),_0x25db2a(this,_0x26ca75(0x38d),!0x1),_0x25db2a(this,_0x26ca75(0x1d0),new _0x2dc6e4[(_0x26ca75(0x1fa))](new Map())),_0x25db2a(this,'cursorInfo$',this[_0x26ca75(0x1d0)][_0x26ca75(0x4cc)]()),_0x25db2a(this,_0x26ca75(0x287),new _0x2dc6e4[(_0x26ca75(0x1fa))]([])),_0x25db2a(this,_0x26ca75(0xe1),this[_0x26ca75(0x287)]['pipe'](_0x2dc6e4[_0x26ca75(0x2a1)](_0x4ce7aa))),_0x25db2a(this,_0x26ca75(0x3fb),_0x1c8991['debounce'](_0x19b6c1=>{const _0x454969=_0x26ca75,_0x18f60c={'eventID':_0x3b5018[_0x454969(0x25c)][_0x454969(0x19b)],'data':{'unitID':this['unitID'],'memberID':this[_0x454969(0x479)][_0x454969(0x15c)](),'selection':_0x1bbc0a(_0x19b6c1)}};this[_0x454969(0x479)]['send'](_0x18f60c,this[_0x454969(0x52f)]);},_0x5e2cd0)),(this[_0x26ca75(0x52f)]=_0x278e3b,this[_0x26ca75(0x479)]=_0x56f3c7,this[_0x26ca75(0x419)]=_0x3224bd,this[_0x26ca75(0x18f)]=_0x151b11,this[_0x26ca75(0x464)]=_0x59ace0,this[_0x26ca75(0x446)]=_0x121f4d,this[_0x26ca75(0x183)]=_0xca9a8,this[_0x26ca75(0x35f)]=_0x5e6b4d,this[_0x26ca75(0x3ef)]=_0xc5269a);}get[_0x17756b(0x132)](){const _0x1a5625=_0x17756b;return this[_0x1a5625(0x1d0)]['getValue']();}get['roomMembers'](){const _0x5796ee=_0x17756b;return this['_roomMembers$'][_0x5796ee(0x47e)]();}['dispose'](){const _0x2d906=_0x17756b;super['dispose'](),this['_cursorInfo$'][_0x2d906(0x47b)](new Map()),this[_0x2d906(0x1d0)][_0x2d906(0x3a9)](),this[_0x2d906(0x287)][_0x2d906(0x47b)]([]),this[_0x2d906(0x287)][_0x2d906(0x3a9)]();}[_0x17756b(0x294)](){const _0x3cd1b7=_0x17756b;this[_0x3cd1b7(0x38d)]||(this['_init']=!0x0,this[_0x3cd1b7(0x479)][_0x3cd1b7(0x392)][_0x3cd1b7(0x26f)](_0x2dc6e4[_0x3cd1b7(0x185)](this[_0x3cd1b7(0x474)]))['subscribe'](_0x11a89e=>{const _0x4d6d95=_0x3cd1b7;_0x11a89e===_0x1421cb[_0x4d6d95(0xc3)]?this[_0x4d6d95(0x1ff)]():this[_0x4d6d95(0xa5)]();}),this[_0x3cd1b7(0x479)]['event$']['pipe'](_0x2dc6e4['takeUntil'](this[_0x3cd1b7(0x474)]))[_0x3cd1b7(0x500)](_0x222b2f=>{const _0x23eeaf=_0x3cd1b7,_0x137d9b=_0x222b2f['eventID'];_0x137d9b===_0x3b5018['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x23eeaf(0xcb)](_0x222b2f),_0x137d9b===_0x3b5018['CollaborationEvent'][_0x23eeaf(0x4c6)]&&this[_0x23eeaf(0xef)](_0x222b2f);}),this[_0x3cd1b7(0x9b)](this[_0x3cd1b7(0x3ef)][_0x3cd1b7(0x34c)](_0x1e3ec5=>{const _0x26d0fa=_0x3cd1b7,_0x3dfa73=_0x1e3ec5[_0x26d0fa(0x29d)];_0x3dfa73!=null&&this[_0x26d0fa(0xb6)]&&_0x1e3ec5['id']===_0x34d771[_0x26d0fa(0x356)]['id']&&_0x3dfa73['unitId']===this[_0x26d0fa(0x52f)]&&_0x3dfa73[_0x26d0fa(0x10a)]===!0x1&&_0x3dfa73[_0x26d0fa(0x36b)]['length']>0x0&&this[_0x26d0fa(0x3fb)](_0x3dfa73[_0x26d0fa(0x36b)]);})),this[_0x3cd1b7(0x446)]['collabCursorState$'][_0x3cd1b7(0x26f)](_0x2dc6e4[_0x3cd1b7(0x185)](this[_0x3cd1b7(0x474)]))['subscribe'](_0x5b3654=>{const _0x1be7e2=_0x3cd1b7;if((_0x5b3654==null?void 0x0:_0x5b3654[_0x1be7e2(0x52f)])!==this['unitID'])return;const _0x4cf1e5={'eventID':_0x3b5018[_0x1be7e2(0x25c)][_0x1be7e2(0x19b)],'data':_0x5b3654};this[_0x1be7e2(0xcb)](_0x4cf1e5);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x14c8a5=>{const _0x489132=_0x3cd1b7;if(_0x14c8a5['params']==null)return;const _0x485e15=_0x14c8a5[_0x489132(0x29d)];if(_0x14c8a5['id']!==_0x34d771[_0x489132(0x265)]['id']||_0x485e15[_0x489132(0x1ae)]!==this[_0x489132(0x52f)])return;const _0xf43fa9={'id':_0x489132(0x4cd),'params':_0x485e15},_0x50fead=this[_0x489132(0x132)];for(const [_0x34f90f,_0x4824f5]of _0x50fead){const _0x56d776={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x489132(0x52f)],'actions':null,'textRanges':_0x4824f5['ranges']}},_0x459317=this['_transformService'][_0x489132(0x280)](_0xf43fa9,_0x56d776,!0x1);if(_0x3b5018['isTransformMutationFailure'](_0x459317))throw _0x459317['error'];_0x50fead[_0x489132(0x331)](_0x34f90f,{..._0x4824f5,'ranges':_0x459317[_0x489132(0x2b0)][_0x489132(0x29d)][_0x489132(0x137)]});}queueMicrotask(()=>{const _0x50173b=_0x489132;this[_0x50173b(0x1d0)]['next'](_0x50fead);});})));}[_0x17756b(0xcb)](_0x3c1398){const _0xc73298=_0x17756b;var _0x48a22e,_0x346eed;const {memberID:_0x786c53,selection:_0x2ccd55}=_0x3c1398[_0xc73298(0x39b)],_0x30e451=_0xa1ec1f(_0x2ccd55),_0x4c5856=(_0x346eed=(_0x48a22e=this[_0xc73298(0x464)][_0xc73298(0x27d)](this[_0xc73298(0x52f)],_0x786c53))==null?void 0x0:_0x48a22e[_0xc73298(0x2a8)])!=null?_0x346eed:_0xc73298(0x49b),_0x4bc6f5={'color':this['_colorAssignService'][_0xc73298(0xfa)](_0x786c53),'name':_0x4c5856,'ranges':_0x30e451},_0x164feb=this[_0xc73298(0x132)];_0x164feb[_0xc73298(0x331)](_0x786c53,_0x4bc6f5),this[_0xc73298(0x1d0)]['next'](_0x164feb);}[_0x17756b(0xef)](_0x30d7e0){const _0x400958=_0x17756b,{memberID:_0x2b4c37}=_0x30d7e0[_0x400958(0x39b)],_0x50b291=this[_0x400958(0x132)];_0x50b291[_0x400958(0x4f4)](_0x2b4c37),this[_0x400958(0x1d0)]['next'](_0x50b291);}[_0x17756b(0x1ff)](){const _0x214f8c=_0x17756b;var _0x5b40b8;if(this[_0x214f8c(0xb6)]=!0x0,((_0x5b40b8=this['_univerInstanceService'][_0x214f8c(0x447)]())==null?void 0x0:_0x5b40b8[_0x214f8c(0x51a)]())!==this[_0x214f8c(0x52f)])return;const _0x15432a=this['_injector']['get'](_0x34d771[_0x214f8c(0x229)])[_0x214f8c(0x2be)]();Array[_0x214f8c(0x28d)](_0x15432a)&&_0x15432a['length']>0x0&&this['_updateLocalCursor'](_0x15432a);}[_0x17756b(0xa5)](){this['_online']=!0x1;}};_0x4cd065=_0x2ce740([_0x237814(0x2,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x237814(0x3,_0x1c8991[_0x17756b(0x329)](_0xc194fc)),_0x237814(0x4,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x44a)])),_0x237814(0x5,_0x1c8991[_0x17756b(0x329)](_0x3af579)),_0x237814(0x6,_0x3b5018['ITransformService']),_0x237814(0x7,_0x1c8991[_0x17756b(0x2e7)]),_0x237814(0x8,_0x1c8991[_0x17756b(0x433)])],_0x4cd065);var _0x247acf=Object['defineProperty'],_0x5159dc=Object[_0x17756b(0x4db)],_0x447737=(_0x1026ae,_0x419293,_0x7f157e,_0x14c537)=>{for(var _0x5c7cf6=_0x14c537>0x1?void 0x0:_0x14c537?_0x5159dc(_0x419293,_0x7f157e):_0x419293,_0x366c36=_0x1026ae['length']-0x1,_0x3c375a;_0x366c36>=0x0;_0x366c36--)(_0x3c375a=_0x1026ae[_0x366c36])&&(_0x5c7cf6=(_0x14c537?_0x3c375a(_0x419293,_0x7f157e,_0x5c7cf6):_0x3c375a(_0x5c7cf6))||_0x5c7cf6);return _0x14c537&&_0x5c7cf6&&_0x247acf(_0x419293,_0x7f157e,_0x5c7cf6),_0x5c7cf6;},_0x95315c=(_0x3f2d25,_0x1716a2)=>(_0x26fe72,_0x206c44)=>_0x1716a2(_0x26fe72,_0x206c44,_0x3f2d25);const _0x190538=0x12c,_0x258a48=0x64,_0x29b9cb=()=>{let _0x4604b0=[],_0x200fed=!0x1;return _0x340b50=>{_0x4604b0['push'](_0x340b50),_0x200fed||(_0x200fed=!0x0,setTimeout(()=>{const _0x2a8058=_0x31dd;_0x4604b0[_0x2a8058(0x42e)](_0x2b967f=>_0x2b967f()),_0x4604b0=[],_0x200fed=!0x1;}));};};let _0x57b8cc=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0x14f94a,_0x292d90,_0x2963e1,_0xd685e5,_0x59a1e0,_0x1efba8,_0x13c6b1,_0x374c63){const _0x34fc4f=_0x17756b;super(),_0x25db2a(this,'_online',!0x1),_0x25db2a(this,_0x34fc4f(0x38d),!0x1),_0x25db2a(this,_0x34fc4f(0x1d0),new _0x2dc6e4[(_0x34fc4f(0x1fa))](new Map())),_0x25db2a(this,_0x34fc4f(0x22a),this['_cursorInfo$'][_0x34fc4f(0x4cc)]()),_0x25db2a(this,_0x34fc4f(0x287),new _0x2dc6e4[(_0x34fc4f(0x1fa))]([])),_0x25db2a(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x2dc6e4[_0x34fc4f(0x2a1)](_0x190538))),_0x25db2a(this,_0x34fc4f(0x3fb),_0x1c8991[_0x34fc4f(0x1fe)]((_0x247611,_0x556ac6)=>{const _0x4f8426=_0x34fc4f,_0x114f47={'eventID':_0x3b5018[_0x4f8426(0x25c)][_0x4f8426(0x19b)],'data':{'unitID':this[_0x4f8426(0x52f)],'memberID':this['_session']['getMemberID'](),'selection':_0x16a788['serializeRangeWithSheet'](_0x247611,_0x556ac6[_0x4f8426(0x393)])}};this[_0x4f8426(0x479)][_0x4f8426(0x213)](_0x114f47,this[_0x4f8426(0x52f)]);},_0x258a48)),(this['unitID']=_0x14f94a,this['_session']=_0x292d90,this['_injector']=_0x2963e1,this[_0x34fc4f(0x18f)]=_0xd685e5,this[_0x34fc4f(0x464)]=_0x59a1e0,this[_0x34fc4f(0x35f)]=_0x1efba8,this[_0x34fc4f(0x3ef)]=_0x13c6b1,this['_refRangeService']=_0x374c63);}get[_0x17756b(0x132)](){const _0x173a66=_0x17756b;return this[_0x173a66(0x1d0)]['getValue']();}get[_0x17756b(0x46c)](){const _0x418a54=_0x17756b;return this[_0x418a54(0x287)]['getValue']();}[_0x17756b(0x43f)](){const _0x10f522=_0x17756b;super[_0x10f522(0x43f)](),this[_0x10f522(0x1d0)]['next'](new Map()),this[_0x10f522(0x1d0)][_0x10f522(0x3a9)](),this['_roomMembers$'][_0x10f522(0x47b)]([]),this[_0x10f522(0x287)][_0x10f522(0x3a9)]();}['init'](){const _0x5730bb=_0x17756b;this['_init']||(this[_0x5730bb(0x38d)]=!0x0,this[_0x5730bb(0x479)]['sessionStatus$'][_0x5730bb(0x26f)](_0x2dc6e4[_0x5730bb(0x185)](this[_0x5730bb(0x474)]))['subscribe'](_0x37b381=>{const _0x6febdb=_0x5730bb;_0x37b381===_0x1421cb['ONLINE']?this['_toggleOnline']():this[_0x6febdb(0xa5)]();}),this[_0x5730bb(0x479)][_0x5730bb(0x42f)][_0x5730bb(0x26f)](_0x2dc6e4[_0x5730bb(0x185)](this['dispose$']))[_0x5730bb(0x500)](_0x1ab29f=>{const _0x16b5be=_0x5730bb,_0x301653=_0x1ab29f['eventID'];_0x301653===_0x3b5018['CollaborationEvent'][_0x16b5be(0x19b)]&&this[_0x16b5be(0xcb)](_0x1ab29f),_0x301653===_0x3b5018[_0x16b5be(0x25c)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x1ab29f);}),this['_onRefRangeChange'](),this[_0x5730bb(0x9b)](this[_0x5730bb(0x3ef)][_0x5730bb(0x34c)](_0x4b4a89=>{const _0x4db3e6=_0x5730bb;if(this[_0x4db3e6(0xb6)]&&_0x4b4a89['id']===_0x2c20de['SetSelectionsOperation']['id']&&_0x4b4a89[_0x4db3e6(0x29d)][_0x4db3e6(0x1ae)]===this[_0x4db3e6(0x52f)]){const _0xc7f172=_0x4b4a89[_0x4db3e6(0x29d)];this[_0x4db3e6(0x3fb)](_0xc7f172['subUnitId'],_0xc7f172[_0x4db3e6(0x352)][0x0]);}})));}[_0x17756b(0xcb)](_0x5c758d){const _0x4ce473=_0x17756b;var _0x31a190,_0x22b6a0;const {memberID:_0xc6becb,selection:_0x1e50c6}=_0x5c758d[_0x4ce473(0x39b)],{sheetName:_0x37e4b7,range:_0x18cb5f}=_0x16a788[_0x4ce473(0x51f)](_0x1e50c6),_0x470230={'name':(_0x22b6a0=(_0x31a190=this[_0x4ce473(0x464)][_0x4ce473(0x27d)](this[_0x4ce473(0x52f)],_0xc6becb))==null?void 0x0:_0x31a190[_0x4ce473(0x2a8)])!=null?_0x22b6a0:'Unknown\x20user','range':this['_getMergeRange'](_0x37e4b7,_0x18cb5f),'sheetID':_0x37e4b7,'color':this[_0x4ce473(0x18f)][_0x4ce473(0xfa)](_0xc6becb),'selection':_0x1e50c6},_0x5617d4=this[_0x4ce473(0x132)];_0x5617d4[_0x4ce473(0x331)](_0xc6becb,_0x470230),this['_cursorInfo$'][_0x4ce473(0x47b)](_0x5617d4);}['_onCursorDelete'](_0xb920bd){const _0x270183=_0x17756b,{memberID:_0x4ab987}=_0xb920bd[_0x270183(0x39b)],_0x4da35f=this['cursorInfo'];_0x4da35f[_0x270183(0x4f4)](_0x4ab987),this[_0x270183(0x1d0)][_0x270183(0x47b)](_0x4da35f);}[_0x17756b(0x4c8)](_0x228442,_0x161624){const _0x551c8b=_0x17756b;var _0x3a500b,_0x57836d;const _0x4b2b94=(_0x57836d=(_0x3a500b=this[_0x551c8b(0x35f)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3a500b['getSheetBySheetId'](_0x228442))==null?void 0x0:_0x57836d['getMergeData']();return(_0x4b2b94==null?void 0x0:_0x4b2b94[_0x551c8b(0x4e4)](_0x482db1=>_0x1c8991['Rectangle'][_0x551c8b(0x379)](_0x482db1,_0x161624)))||_0x161624;}['_onRefRangeChange'](){const _0x2d0f43=_0x17756b,_0x51a9b6=new _0x1c8991['DisposableCollection'](),_0x328d0d=_0x29b9cb(),_0x1dd996=()=>{const _0x55df6d=_0x31dd;_0x51a9b6[_0x55df6d(0x43f)]();const _0x231355=(_0x4c1c05,_0x2ca14e,_0xdeea46,_0x2342fd)=>{const _0x1beabe=_0x55df6d;let _0x37db92=[];switch(_0x4c1c05['id']){case _0x2c20de[_0x1beabe(0xa6)][_0x1beabe(0x29c)]:{_0x37db92=_0x2c20de[_0x1beabe(0x30d)](_0x4c1c05,_0x2342fd);break;}case _0x2c20de[_0x1beabe(0xa6)]['DeleteRangeMoveUpCommandId']:{_0x37db92=_0x2c20de[_0x1beabe(0xf3)](_0x4c1c05,_0x2342fd);break;}case _0x2c20de[_0x1beabe(0xa6)][_0x1beabe(0x426)]:{_0x37db92=_0x2c20de[_0x1beabe(0x1f1)](_0x4c1c05,_0x2342fd);break;}case _0x2c20de[_0x1beabe(0xa6)][_0x1beabe(0x50b)]:{_0x37db92=_0x2c20de[_0x1beabe(0x208)](_0x4c1c05,_0x2342fd);break;}case _0x2c20de['EffectRefRangId'][_0x1beabe(0x347)]:{_0x37db92=_0x2c20de[_0x1beabe(0xb0)](_0x4c1c05,_0x2342fd);break;}case _0x2c20de[_0x1beabe(0xa6)][_0x1beabe(0x4e6)]:{_0x37db92=_0x2c20de[_0x1beabe(0x2f8)](_0x4c1c05,_0x2342fd);break;}case _0x2c20de[_0x1beabe(0xa6)][_0x1beabe(0x18d)]:{_0x37db92=_0x2c20de[_0x1beabe(0x1c3)](_0x4c1c05,_0x2342fd);break;}case _0x2c20de[_0x1beabe(0xa6)][_0x1beabe(0x182)]:{_0x37db92=_0x2c20de[_0x1beabe(0x26b)](_0x4c1c05,_0x2342fd);break;}case _0x2c20de['EffectRefRangId'][_0x1beabe(0x22e)]:{_0x37db92=_0x2c20de[_0x1beabe(0x313)](_0x4c1c05,_0x2342fd);break;}}const _0x44fafe=_0x2c20de['runRefRangeMutations'](_0x37db92,_0x2342fd),_0x257df7=this[_0x1beabe(0x132)][_0x1beabe(0x30c)](_0x2ca14e);if(_0x257df7&&_0x44fafe){const _0x3f161c={..._0x257df7,'range':_0x44fafe};this[_0x1beabe(0x132)]['set'](_0x2ca14e,_0x3f161c),_0x328d0d(()=>{const _0x2564c0=_0x1beabe,_0x8836ed=this[_0x2564c0(0x452)][_0x2564c0(0x1b8)](_0x44fafe,_0x16d395=>(_0x8836ed[_0x2564c0(0x43f)](),_0x231355(_0x16d395,_0x2ca14e,_0xdeea46,_0x44fafe)));_0x51a9b6[_0x2564c0(0x1f6)](_0x8836ed);});}return{'redos':[],'undos':[]};};this[_0x55df6d(0x132)]['forEach']((_0x5c4a7f,_0x293a63)=>{const _0x3e32b5=_0x55df6d,{range:_0xc86cdf,sheetID:_0x38f9a5}=_0x5c4a7f,_0x306860=this[_0x3e32b5(0x452)]['registerRefRange'](_0xc86cdf,_0x2186a9=>(_0x306860[_0x3e32b5(0x43f)](),_0x231355(_0x2186a9,_0x293a63,_0x38f9a5,_0xc86cdf)));_0x51a9b6[_0x3e32b5(0x1f6)](_0x306860);});};this[_0x2d0f43(0x9b)](_0x1c8991['toDisposable'](this[_0x2d0f43(0x1d0)][_0x2d0f43(0x500)](()=>{_0x1dd996();})));}[_0x17756b(0x1ff)](){const _0x326ab9=_0x17756b;var _0x59f927,_0x34830f;if(this[_0x326ab9(0xb6)]=!0x0,((_0x59f927=this['_univerInstanceService'][_0x326ab9(0x447)]())==null?void 0x0:_0x59f927[_0x326ab9(0x51a)]())!==this[_0x326ab9(0x52f)])return;const _0x14e2c8=(_0x34830f=this[_0x326ab9(0x419)][_0x326ab9(0x30c)](_0x2c20de[_0x326ab9(0x128)])[_0x326ab9(0x184)]())==null?void 0x0:_0x34830f[0x0],_0xc82578=this[_0x326ab9(0x35f)][_0x326ab9(0x1fc)](_0x1c8991[_0x326ab9(0x469)][_0x326ab9(0x2db)])[_0x326ab9(0x4e2)]();_0x14e2c8&&_0xc82578&&this['_updateLocalCursor'](_0xc82578[_0x326ab9(0x1db)](),_0x14e2c8);}[_0x17756b(0xa5)](){const _0x2f8471=_0x17756b;this[_0x2f8471(0xb6)]=!0x1;}};_0x57b8cc=_0x447737([_0x95315c(0x2,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xa2)])),_0x95315c(0x3,_0x1c8991[_0x17756b(0x329)](_0xc194fc)),_0x95315c(0x4,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x44a)])),_0x95315c(0x5,_0x1c8991[_0x17756b(0x2e7)]),_0x95315c(0x6,_0x1c8991[_0x17756b(0x433)]),_0x95315c(0x7,_0x1c8991[_0x17756b(0x329)](_0x2c20de['RefRangeService']))],_0x57b8cc);var _0x4f85bc=Object[_0x17756b(0x76)],_0x4cc9c7=Object['getOwnPropertyDescriptor'],_0x5f43ec=(_0x1fdf38,_0x580d35,_0x4beb63,_0x481227)=>{for(var _0x469a28=_0x481227>0x1?void 0x0:_0x481227?_0x4cc9c7(_0x580d35,_0x4beb63):_0x580d35,_0xdeebf1=_0x1fdf38['length']-0x1,_0xf22a38;_0xdeebf1>=0x0;_0xdeebf1--)(_0xf22a38=_0x1fdf38[_0xdeebf1])&&(_0x469a28=(_0x481227?_0xf22a38(_0x580d35,_0x4beb63,_0x469a28):_0xf22a38(_0x469a28))||_0x469a28);return _0x481227&&_0x469a28&&_0x4f85bc(_0x580d35,_0x4beb63,_0x469a28),_0x469a28;},_0x3a4ff1=(_0x1e11ee,_0x23f65f)=>(_0x2c4314,_0x1858a9)=>_0x23f65f(_0x2c4314,_0x1858a9,_0x1e11ee);let _0x5c5cbc=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0x1a6ea8,_0x3a0d15,_0x3a75a2){const _0xc1f6a=_0x17756b;super(),_0x25db2a(this,_0xc1f6a(0x4c2),new Map()),_0x25db2a(this,'_entityInit$',new _0x2dc6e4[(_0xc1f6a(0x26c))]()),(this[_0xc1f6a(0x35f)]=_0x1a6ea8,this[_0xc1f6a(0x419)]=_0x3a0d15,this[_0xc1f6a(0x3b4)]=_0x3a75a2,this[_0xc1f6a(0x38d)]());}['dispose'](){const _0x4a24ca=_0x17756b;super['dispose'](),this['_entityInit$'][_0x4a24ca(0x3a9)](),this[_0x4a24ca(0x4c2)][_0x4a24ca(0x42e)](_0x393a3b=>_0x393a3b[_0x4a24ca(0x43f)]());}[_0x17756b(0x4a4)](_0x4bae54){const _0x32c51e=_0x17756b;return this[_0x32c51e(0x4c2)]['has'](_0x4bae54)?this['_entities']['get'](_0x4bae54)[_0x32c51e(0x22a)]:this[_0x32c51e(0x492)]['pipe'](_0x2dc6e4[_0x32c51e(0x241)](_0x14c7ee=>_0x14c7ee[_0x32c51e(0x52f)]===_0x4bae54),_0x2dc6e4[_0x32c51e(0x535)](_0x15c0ee=>_0x15c0ee[_0x32c51e(0x22a)]));}[_0x17756b(0x38d)](){const _0x343d0b=_0x17756b;this[_0x343d0b(0x35f)][_0x343d0b(0xbf)](_0x1c8991[_0x343d0b(0x469)][_0x343d0b(0x2db)])[_0x343d0b(0x26f)](_0x2dc6e4[_0x343d0b(0x185)](this['dispose$']))[_0x343d0b(0x500)](async _0x4876d8=>{const _0x37e56d=_0x343d0b,_0x444fc1=_0x4876d8['getUnitId'](),_0x102129=await this[_0x37e56d(0xfc)](_0x444fc1);this[_0x37e56d(0x492)]['next'](_0x102129),this[_0x37e56d(0x4c2)][_0x37e56d(0x331)](_0x444fc1,_0x102129);}),this[_0x343d0b(0x35f)][_0x343d0b(0xbf)](_0x1c8991[_0x343d0b(0x469)]['UNIVER_DOC'])[_0x343d0b(0x26f)](_0x2dc6e4[_0x343d0b(0x185)](this['dispose$']))[_0x343d0b(0x26f)](_0x2dc6e4[_0x343d0b(0x241)](_0x45e45d=>!_0x45e45d[_0x343d0b(0x51a)]()[_0x343d0b(0x2bf)]('__')))['subscribe'](async _0x7be051=>{const _0x39cbfe=_0x343d0b,_0x19aec8=_0x7be051[_0x39cbfe(0x51a)](),_0x45dbe2=await this[_0x39cbfe(0x6d)](_0x19aec8);this[_0x39cbfe(0x492)][_0x39cbfe(0x47b)](_0x45dbe2),this[_0x39cbfe(0x4c2)][_0x39cbfe(0x331)](_0x19aec8,_0x45dbe2);}),_0x2dc6e4['merge'](this[_0x343d0b(0x35f)][_0x343d0b(0x158)](_0x1c8991['UniverInstanceType'][_0x343d0b(0x524)]),this['_univerInstanceService'][_0x343d0b(0x158)](_0x1c8991[_0x343d0b(0x469)][_0x343d0b(0x2db)]))[_0x343d0b(0x26f)](_0x2dc6e4['takeUntil'](this[_0x343d0b(0x474)]))['subscribe'](_0x48329d=>{const _0xea47e8=_0x343d0b,_0x56f9bf=_0x48329d[_0xea47e8(0x51a)](),_0x1bbb8c=this[_0xea47e8(0x4c2)][_0xea47e8(0x30c)](_0x56f9bf);_0x1bbb8c&&(_0x1bbb8c[_0xea47e8(0x43f)](),this[_0xea47e8(0x4c2)][_0xea47e8(0x4f4)](_0x56f9bf));});}async['_startSheetCollabCursor'](_0xd56310){const _0x176f72=_0x17756b,_0x430e5c=await this[_0x176f72(0x3b4)][_0x176f72(0xe2)](_0xd56310),_0x3f7655=this[_0x176f72(0x419)][_0x176f72(0x50f)](_0x57b8cc,_0xd56310,_0x430e5c);return _0x3f7655[_0x176f72(0x294)](),_0x3f7655;}async[_0x17756b(0x6d)](_0x55bcfb){const _0x341630=_0x17756b,_0x434dbe=await this['_collabSessionService'][_0x341630(0xe2)](_0x55bcfb),_0x12b9da=this[_0x341630(0x419)][_0x341630(0x50f)](_0x4cd065,_0x55bcfb,_0x434dbe);return _0x12b9da[_0x341630(0x294)](),_0x12b9da;}};_0x5c5cbc=_0x5f43ec([_0x3a4ff1(0x0,_0x1c8991[_0x17756b(0x2e7)]),_0x3a4ff1(0x1,_0x1c8991[_0x17756b(0x329)](_0x1c8991['Injector'])),_0x3a4ff1(0x2,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x31a)]))],_0x5c5cbc);const _0x2de75d=0x14,_0x29e2b2=0xc8,_0xd896e2=0x4,_0x5b72e3=0x5;function _0x541486(_0x22906b,_0x53a5fe){const _0x33b1db=_0x17756b;let {radius:_0x247f27,width:_0x324373,height:_0x5c84f2}=_0x53a5fe;_0x247f27=_0x247f27!=null?_0x247f27:0x0,_0x324373=_0x324373!=null?_0x324373:0x1e,_0x5c84f2=_0x5c84f2!=null?_0x5c84f2:0x1e;let _0x8d676d=0x0,_0x4a6a82=0x0,_0x2942c2=0x0;_0x8d676d=_0x4a6a82=_0x2942c2=Math['min'](_0x247f27,_0x324373/0x2,_0x5c84f2/0x2),_0x22906b[_0x33b1db(0x23e)](),_0x22906b[_0x33b1db(0x4b1)](_0x8d676d,0x0),_0x22906b[_0x33b1db(0x4e3)](_0x324373-_0x4a6a82,0x0),_0x22906b['arc'](_0x324373-_0x4a6a82,_0x4a6a82,_0x4a6a82,Math['PI']*0x3/0x2,0x0,!0x1),_0x22906b[_0x33b1db(0x4e3)](_0x324373,_0x5c84f2-_0x2942c2),_0x22906b[_0x33b1db(0x4fe)](_0x324373-_0x2942c2,_0x5c84f2-_0x2942c2,_0x2942c2,0x0,Math['PI']/0x2,!0x1),_0x22906b[_0x33b1db(0x4e3)](0x0,_0x5c84f2),_0x22906b['lineTo'](0x0,_0x8d676d),_0x22906b[_0x33b1db(0x4fe)](_0x8d676d,_0x8d676d,_0x8d676d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x22906b[_0x33b1db(0x2d1)](),_0x53a5fe[_0x33b1db(0x332)]&&(_0x22906b['save'](),_0x22906b[_0x33b1db(0x156)]=_0x53a5fe[_0x33b1db(0x332)],_0x53a5fe[_0x33b1db(0x323)]===_0x33b1db(0x260)?_0x22906b[_0x33b1db(0x332)]('evenodd'):_0x22906b[_0x33b1db(0x332)](),_0x22906b['restore']());}class _0x436552 extends _0x90a0ec['Shape']{constructor(_0x27f040,_0x839dc5){const _0x5f0638=_0x17756b;super(_0x27f040,_0x839dc5),_0x25db2a(this,_0x5f0638(0x7f)),_0x25db2a(this,_0x5f0638(0x197)),(this[_0x5f0638(0x7f)]=_0x839dc5==null?void 0x0:_0x839dc5[_0x5f0638(0x7f)],this[_0x5f0638(0x197)]=_0x839dc5==null?void 0x0:_0x839dc5[_0x5f0638(0x197)]);}static[_0x17756b(0x259)](_0x265ed2,_0xbed64a){const _0x3533f3=_0x17756b,{text:_0x29c2a2,color:_0x5b4491}=_0xbed64a;_0x265ed2['save'](),_0x265ed2[_0x3533f3(0x293)]=_0x3533f3(0x3b8);const _0x43f00c=_0x265ed2[_0x3533f3(0x284)](_0x29c2a2)[_0x3533f3(0x47a)],_0x390b5a=Math['min'](_0x43f00c+0x2*_0xd896e2,_0x29e2b2);_0x541486(_0x265ed2,{'height':_0x2de75d,'radius':0x4,'width':_0x390b5a,'fill':_0x5b4491,'evented':!0x1}),_0x265ed2[_0x3533f3(0x156)]=_0x3533f3(0x334);const _0x5df753=_0xd896e2,_0x381366=_0x2de75d-_0x5b72e3,_0x92c534=_0x29e2b2-0x2*_0xd896e2;if(_0x43f00c>_0x92c534){let _0x429268='',_0x35e7e5=0x0;for(const _0x586981 of _0x29c2a2){const _0x22ec29=_0x265ed2[_0x3533f3(0x284)](_0x586981)[_0x3533f3(0x47a)];if(_0x35e7e5+_0x22ec29<=_0x92c534-_0x265ed2[_0x3533f3(0x284)]('...')[_0x3533f3(0x47a)])_0x429268+=_0x586981,_0x35e7e5+=_0x22ec29;else{_0x429268+=_0x3533f3(0x4b5);break;}}_0x265ed2[_0x3533f3(0x270)](_0x429268,_0x5df753,_0x381366);}else _0x265ed2['fillText'](_0x29c2a2,_0x5df753,_0x381366);_0x265ed2[_0x3533f3(0x311)]();}[_0x17756b(0x1e5)](_0x4ebe1f){_0x436552['drawWith'](_0x4ebe1f,this);}}const _0xd1b546=_0x17756b(0x465),_0x3267ae='collab-text-range-',_0x4ff41a=_0x17756b(0x36e),_0x1951df=0x6,_0x4605b8=1.5,_0x303f7d=0x4,_0x7b8974=1.5,_0x49bcb4='rgba(255,\x20255,\x20255,\x200.01)';class _0xe80b64{constructor(_0x44ae4a,_0xef480a,_0x5b9d0a,_0x142eaf){const _0x1cf11a=_0x17756b;_0x25db2a(this,_0x1cf11a(0x200),[]),_0x25db2a(this,_0x1cf11a(0x1b6),null),_0x25db2a(this,'_textBubble',null),_0x25db2a(this,_0x1cf11a(0x2c4),null),_0x25db2a(this,_0x1cf11a(0x29a),null),_0x25db2a(this,_0x1cf11a(0x493),null),(this['_cursor']=_0x44ae4a,this[_0x1cf11a(0x133)]=_0xef480a,this[_0x1cf11a(0xf5)]=_0x5b9d0a,this[_0x1cf11a(0x3db)]=_0x142eaf,this['_render']());}set['_hover'](_0x1fbc3f){const _0x1aab72=_0x17756b;_0x1fbc3f?(this[_0x1aab72(0x2c4)]&&this[_0x1aab72(0x2c4)][_0x1aab72(0x3f0)](),this[_0x1aab72(0xdc)]&&this['_textBubble'][_0x1aab72(0x34a)]()):(this[_0x1aab72(0x2c4)]&&this[_0x1aab72(0x2c4)][_0x1aab72(0x34a)](),this[_0x1aab72(0xdc)]&&this[_0x1aab72(0xdc)][_0x1aab72(0x3f0)]());}[_0x17756b(0x43f)](){const _0x2ce879=_0x17756b;for(const _0x1f408e of this[_0x2ce879(0x200)])_0x1f408e[_0x2ce879(0x43f)]();this['_textBubble']&&this['_textBubble'][_0x2ce879(0x43f)](),this[_0x2ce879(0x2c4)]&&this[_0x2ce879(0x2c4)][_0x2ce879(0x43f)](),this[_0x2ce879(0x1b6)]&&this['_anchor'][_0x2ce879(0x43f)](),this[_0x2ce879(0x493)]&&this[_0x2ce879(0x493)]();}[_0x17756b(0x3e1)](){const _0x1ef9ba=_0x17756b;var _0x5f49cc;const {_docSkeleton:_0x58de95,_document:_0xff52c3}=this,{color:_0x49cb80,name:_0x34f48c,ranges:_0x2e282d}=this['_cursor'],_0x591a07=_0xff52c3[_0x1ef9ba(0x3a3)](),{docsLeft:_0x1365d3,docsTop:_0xca4c8c}=_0x591a07,_0x1d13ea=new _0x3c5b00[(_0x1ef9ba(0x473))](_0x591a07,_0x58de95);for(const {startOffset:_0x1797e5,endOffset:_0x4f5c44,rangeType:_0x39d5fc,segmentId:_0x1ec655,segmentPage:_0x133652,collapsed:_0x5b4cc9,isActive:_0x552d60}of _0x2e282d){const _0x3bd21b=_0x58de95[_0x1ef9ba(0x173)](_0x1797e5,!0x0,_0x1ec655,_0x133652);let _0x31bb0d=_0x58de95[_0x1ef9ba(0x173)](_0x4f5c44,!0x0,_0x1ec655,_0x133652);if(_0x31bb0d==null&&(_0x31bb0d=_0x58de95[_0x1ef9ba(0x173)](_0x4f5c44-0x1,!0x1,_0x1ec655,_0x133652)),_0x552d60){const {contentBoxPointGroup:_0x293c0d}=_0x1d13ea[_0x1ef9ba(0x157)](_0x31bb0d,_0x31bb0d);if(_0x293c0d['length']===0x0)continue;this[_0x1ef9ba(0x4c4)](_0x49cb80,_0x293c0d,_0x1365d3,_0xca4c8c,_0x34f48c),this[_0x1ef9ba(0x493)]=this['_handleHover']();}if(_0x3bd21b&&_0x31bb0d){if(_0x39d5fc===_0x1c8991['DOC_RANGE_TYPE'][_0x1ef9ba(0x3b0)]){const _0x38d8d2=new _0x3c5b00['NodePositionConvertToRectRange'](_0x591a07,_0x58de95),{pointGroup:_0x25e908}=(_0x5f49cc=_0x38d8d2[_0x1ef9ba(0x157)](_0x3bd21b,_0x31bb0d))!=null?_0x5f49cc:{};if(_0x25e908==null||_0x25e908[_0x1ef9ba(0x189)]===0x0)continue;this[_0x1ef9ba(0x11c)](_0x49cb80,_0x25e908,_0x1365d3,_0xca4c8c);}else{if(!_0x5b4cc9){const {borderBoxPointGroup:_0x3607ee}=_0x1d13ea['getRangePointData'](_0x3bd21b,_0x31bb0d);if(_0x3607ee[_0x1ef9ba(0x189)]===0x0)continue;this[_0x1ef9ba(0x497)](_0x49cb80,_0x3607ee,_0x1365d3,_0xca4c8c);}}}}}['_drawAnchor'](_0x5a6563,_0x33e9b3,_0x335cf5,_0x494484,_0x380ec4){const _0x49e5c3=_0x17756b,_0x1d53cc=this['_getAnchorBounding'](_0x33e9b3),{left:_0x9e683b,top:_0x291677,height:_0x130b83}=_0x1d53cc,_0x44f448=this[_0x49e5c3(0x337)](),_0x2d42c4=_0x7b8974/_0x44f448,_0x3dfa84=new _0x90a0ec[(_0x49e5c3(0x15d))](_0xd1b546+_0x1c8991[_0x49e5c3(0x262)][_0x49e5c3(0x2df)](_0x1951df),{'left':_0x9e683b+_0x335cf5-_0x2d42c4,'top':_0x291677+_0x494484,'height':_0x130b83,'width':_0x4605b8,'fill':_0x5a6563||_0x90a0ec[_0x49e5c3(0x4cb)](_0x1c8991['COLORS'][_0x49e5c3(0x92)],0x0),'strokeWidth':_0x2d42c4,'stroke':_0x49bcb4,'evented':!0x0});this[_0x49e5c3(0x1b6)]=_0x3dfa84,this[_0x49e5c3(0x133)][_0x49e5c3(0x4ec)](_0x3dfa84,_0x3c5b00[_0x49e5c3(0x207)]);const _0x4e0322=new _0x90a0ec[(_0x49e5c3(0x15d))](_0xd1b546+_0x1c8991[_0x49e5c3(0x262)][_0x49e5c3(0x2df)](_0x1951df),{'left':_0x9e683b+_0x335cf5-_0x2d42c4,'top':_0x291677+_0x494484-_0x303f7d/0x2,'height':_0x303f7d,'width':_0x303f7d,'fill':_0x5a6563||_0x90a0ec['getColor'](_0x1c8991[_0x49e5c3(0x402)][_0x49e5c3(0x92)],0x0),'strokeWidth':0x0,'stroke':_0x5a6563||_0x90a0ec['getColor'](_0x1c8991[_0x49e5c3(0x402)][_0x49e5c3(0x92)],0x0),'evented':!0x1});this[_0x49e5c3(0x2c4)]=_0x4e0322,this['_scene']['addObject'](_0x4e0322,_0x3c5b00[_0x49e5c3(0x207)]);const _0x390a75=new _0x436552(_0xd1b546+_0x1c8991[_0x49e5c3(0x262)][_0x49e5c3(0x2df)](_0x1951df),{'left':_0x9e683b+_0x335cf5-_0x2d42c4,'top':_0x291677+_0x494484-_0x2de75d,'text':_0x380ec4,'color':_0x5a6563});this['_textBubble']=_0x390a75,this[_0x49e5c3(0x133)][_0x49e5c3(0x4ec)](_0x390a75,_0x3c5b00[_0x49e5c3(0x207)]),this[_0x49e5c3(0x325)]=!0x1;}[_0x17756b(0x122)](){const _0x200b18=_0x17756b,_0xef80af=this[_0x200b18(0x1b6)][_0x200b18(0x2b5)][_0x200b18(0x108)](()=>{const _0x4f8696=_0x200b18;this[_0x4f8696(0x325)]=!0x0;}),_0x569b29=this[_0x200b18(0x1b6)][_0x200b18(0x440)][_0x200b18(0x108)](()=>{const _0x322843=_0x200b18;this['_hideTimer']&&clearTimeout(this[_0x322843(0x29a)]),this[_0x322843(0x29a)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2fde32=_0x200b18;_0xef80af[_0x2fde32(0x32b)](),_0x569b29[_0x2fde32(0x32b)]();};}[_0x17756b(0x497)](_0xfe56d7,_0xef4e33,_0x319388,_0x5f1474){const _0x27c60b=_0x17756b,_0x152978=new _0x1c8991[(_0x27c60b(0x1ed))](_0xfe56d7)['setAlpha'](0.2)['toRgbString'](),_0x146b4c=new _0x90a0ec[(_0x27c60b(0x4a0))](_0x3267ae+_0x1c8991[_0x27c60b(0x262)][_0x27c60b(0x2df)](_0x1951df),{'pointsGroup':_0xef4e33,'fill':_0x152978||_0x90a0ec[_0x27c60b(0x4cb)](_0x1c8991[_0x27c60b(0x402)][_0x27c60b(0x92)],0.2),'left':_0x319388,'top':_0x5f1474,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27c60b(0x200)][_0x27c60b(0x1c1)](_0x146b4c),this[_0x27c60b(0x133)][_0x27c60b(0x4ec)](_0x146b4c,_0x3c5b00[_0x27c60b(0x207)]);}[_0x17756b(0x11c)](_0x9ec808,_0x23d4e5,_0x1804b3,_0x511951){const _0x37a076=_0x17756b,_0x27e6a8=new _0x1c8991[(_0x37a076(0x1ed))](_0x9ec808)['setAlpha'](0.2)[_0x37a076(0x299)](),_0x3dda64=new _0x90a0ec[(_0x37a076(0x4a0))](_0x4ff41a+_0x1c8991['Tools']['generateRandomId'](_0x1951df),{'pointsGroup':_0x23d4e5,'fill':_0x27e6a8||_0x90a0ec['getColor'](_0x1c8991['COLORS'][_0x37a076(0x92)],0.2),'left':_0x1804b3,'top':_0x511951,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x37a076(0x200)][_0x37a076(0x1c1)](_0x3dda64),this[_0x37a076(0x133)]['addObject'](_0x3dda64,_0x3c5b00[_0x37a076(0x207)]);}[_0x17756b(0x4d0)](_0xdcf42){const _0x244f09=_0xdcf42[0x0],_0xac8385=_0x244f09[0x0],_0x3f4e39=_0x244f09[0x2],{x:_0x52880d,y:_0x2f0f9a}=_0xac8385,{x:_0x1c39cd,y:_0x2c9cc6}=_0x3f4e39;return{'left':_0x52880d,'top':_0x2f0f9a,'width':_0x1c39cd-_0x52880d,'height':_0x2c9cc6-_0x2f0f9a};}[_0x17756b(0x337)](){const _0x1b5bba=_0x17756b,{scaleX:_0x74c6d8,scaleY:_0x524f75}=this[_0x1b5bba(0x133)][_0x1b5bba(0x23b)]();return Math[_0x1b5bba(0xb5)](_0x74c6d8,_0x524f75);}}var _0x290026=Object[_0x17756b(0x76)],_0x2d7306=Object[_0x17756b(0x4db)],_0x142e01=(_0x32509b,_0x4666d4,_0x59c975,_0x2fbcde)=>{const _0x54e746=_0x17756b;for(var _0x193ee1=_0x2fbcde>0x1?void 0x0:_0x2fbcde?_0x2d7306(_0x4666d4,_0x59c975):_0x4666d4,_0x4216c5=_0x32509b[_0x54e746(0x189)]-0x1,_0x3d6d82;_0x4216c5>=0x0;_0x4216c5--)(_0x3d6d82=_0x32509b[_0x4216c5])&&(_0x193ee1=(_0x2fbcde?_0x3d6d82(_0x4666d4,_0x59c975,_0x193ee1):_0x3d6d82(_0x193ee1))||_0x193ee1);return _0x2fbcde&&_0x193ee1&&_0x290026(_0x4666d4,_0x59c975,_0x193ee1),_0x193ee1;},_0x4fbc66=(_0x2581ab,_0x4a6928)=>(_0x43ff66,_0x1c31cf)=>_0x4a6928(_0x43ff66,_0x1c31cf,_0x2581ab);let _0x4c0f1b=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0x29eefe,_0x51f6e4,_0x227d04,_0x1eed42,_0x7eee1d){const _0x2f4a79=_0x17756b;super(),_0x25db2a(this,_0x2f4a79(0x36c),[]),_0x25db2a(this,_0x2f4a79(0x224),[]),(this[_0x2f4a79(0x32d)]=_0x29eefe,this[_0x2f4a79(0x198)]=_0x51f6e4,this['_collabCursorController']=_0x227d04,this[_0x2f4a79(0x3ef)]=_0x1eed42,this[_0x2f4a79(0x3d6)]=_0x7eee1d,this[_0x2f4a79(0x38d)]());}[_0x17756b(0x38d)](){const _0x38e5c6=_0x17756b,_0x497464=this[_0x38e5c6(0x32d)]['unitId'],_0x247c57=this['_docSkeletonManagerService'];this[_0x38e5c6(0x9b)](_0x2dc6e4[_0x38e5c6(0x190)]([this['_collabCursorController'][_0x38e5c6(0x4a4)](_0x497464),this[_0x38e5c6(0x3d6)][_0x38e5c6(0x476)]])['pipe'](_0x3563fe[_0x38e5c6(0x3d0)](([_0x67d40b,_0x552f8b])=>({'skeleton':_0x247c57[_0x38e5c6(0x2a4)](),'cursors':[..._0x67d40b['values']()][_0x38e5c6(0x171)](_0x82ec1c=>({..._0x82ec1c,'color':_0x552f8b[_0x82ec1c['color']]}))})))[_0x38e5c6(0x500)](_0x34fae5=>{const _0x54c376=_0x38e5c6;if(this[_0x54c376(0x1a0)](),_0x34fae5){const {skeleton:_0x25c93d,cursors:_0x3f2943}=_0x34fae5;this['_updateCollabCursors'](_0x25c93d,_0x3f2943);}})),this[_0x38e5c6(0x2d2)](),this[_0x38e5c6(0x411)]();}['_updateCollabCursors'](_0x4d79b3,_0x229faf){const _0x3a3af1=_0x17756b,{scene:_0x2bf049,mainComponent:_0xa39314}=this[_0x3a3af1(0x32d)],_0x2292ad=_0x229faf['map'](_0x127b79=>new _0xe80b64(_0x127b79,_0x2bf049,_0x4d79b3,_0xa39314));this[_0x3a3af1(0x36c)]=_0x2292ad,this[_0x3a3af1(0x224)]=_0x229faf;}['_refreshCollabCursors'](){const _0x5ae9ca=_0x17756b;this[_0x5ae9ca(0x1a0)]();const {scene:_0x4bf6f2,mainComponent:_0x13e0e9}=this['_context'],_0x51f926=this[_0x5ae9ca(0x198)]['getSkeleton'](),_0x37a20b=this[_0x5ae9ca(0x224)][_0x5ae9ca(0x3d0)](_0x2ea784=>new _0xe80b64(_0x2ea784,_0x4bf6f2,_0x51f926,_0x13e0e9));this[_0x5ae9ca(0x36c)]=_0x37a20b;}['_removeCollabCursors'](){const _0x2e51f8=_0x17756b;this[_0x2e51f8(0x36c)][_0x2e51f8(0x42e)](_0x2d9ac6=>_0x2d9ac6[_0x2e51f8(0x43f)]()),this['_cursorShapes']=[];}[_0x17756b(0x411)](){const _0x208c67=_0x17756b,_0x345855=[_0x3c5b00[_0x208c67(0x75)]['id']];this[_0x208c67(0x9b)](this[_0x208c67(0x3ef)]['onCommandExecuted'](_0x35fedc=>{const _0x23f3e1=_0x208c67;_0x345855[_0x23f3e1(0x372)](_0x35fedc['id'])&&_0x35fedc['params'][_0x23f3e1(0x1ae)]===this['_context']['unitId']&&this[_0x23f3e1(0x24b)]();}));}[_0x17756b(0x2d2)](){const _0x4b67fc=_0x17756b;this['disposeWithMe'](_0x1c8991[_0x4b67fc(0xf7)](this[_0x4b67fc(0x32d)][_0x4b67fc(0x23c)]['onTransformChange$'])['pipe'](_0x3563fe['filter'](_0x576f1e=>_0x576f1e[_0x4b67fc(0x243)]===_0x90a0ec['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4b67fc(0x48d)]),_0x3563fe[_0x4b67fc(0x3c5)](0x10))[_0x4b67fc(0x500)](()=>{const _0x3f0454=_0x4b67fc;this[_0x3f0454(0x24b)]();}));}};_0x4c0f1b=_0x142e01([_0x4fbc66(0x1,_0x1c8991['Inject'](_0x34d771[_0x17756b(0x18c)])),_0x4fbc66(0x2,_0x1c8991[_0x17756b(0x329)](_0x5c5cbc)),_0x4fbc66(0x3,_0x1c8991['ICommandService']),_0x4fbc66(0x4,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0x2d3)]))],_0x4c0f1b);const _0x1b6019=0x1,_0x4aa559=1.5;class _0x38e0d7 extends _0x90a0ec['Shape']{constructor(_0x2ef79a,_0x3f92c9){const _0x4bd3fe=_0x17756b;super(_0x2ef79a,_0x3f92c9),_0x25db2a(this,'_color'),_0x25db2a(this,'_hovered',!0x1),_0x25db2a(this,_0x4bd3fe(0x371)),_0x25db2a(this,_0x4bd3fe(0x1ab),''),_0x25db2a(this,_0x4bd3fe(0x50c),_0x4bd3fe(0x17a)),_0x25db2a(this,_0x4bd3fe(0x165)),(_0x3f92c9&&this[_0x4bd3fe(0x2ae)](_0x3f92c9),this['onPointerEnter$'][_0x4bd3fe(0x108)](()=>this[_0x4bd3fe(0x2ae)]({'hovered':!0x0})),this[_0x4bd3fe(0x440)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x17756b(0x2ae)](_0x387d46){const _0x1ea51c=_0x17756b;var _0x1035da,_0x596ac3,_0xf4e145,_0x188143,_0x312f0e,_0x395ff1;this[_0x1ea51c(0x11f)]=(_0x1035da=_0x387d46[_0x1ea51c(0x7f)])!=null?_0x1035da:this['_color'],this[_0x1ea51c(0x2e0)]=(_0x596ac3=_0x387d46[_0x1ea51c(0x2c6)])!=null?_0x596ac3:this['_hovered'],this[_0x1ea51c(0x371)]=(_0xf4e145=_0x387d46[_0x1ea51c(0x393)])!=null?_0xf4e145:this[_0x1ea51c(0x371)],this[_0x1ea51c(0x1ab)]=(_0x188143=_0x387d46[_0x1ea51c(0x2a8)])!=null?_0x188143:this[_0x1ea51c(0x1ab)],this['_labelPosition']=(_0x312f0e=_0x387d46[_0x1ea51c(0x486)])!=null?_0x312f0e:this[_0x1ea51c(0x50c)],this[_0x1ea51c(0x165)]=(_0x395ff1=_0x387d46['backgroundColor'])!=null?_0x395ff1:this[_0x1ea51c(0x165)],this['transformByState']({'width':_0x387d46[_0x1ea51c(0x47a)],'height':_0x387d46[_0x1ea51c(0xab)]});}[_0x17756b(0xf6)](_0x1981b6){const _0x26fbb7=_0x17756b,{row:_0xb4f301,column:_0x3f7ca3}=_0x1981b6;if(_0xb4f301>=this['_range'][_0x26fbb7(0xfb)]&&_0xb4f301<=this[_0x26fbb7(0x371)][_0x26fbb7(0x2e3)]&&_0x3f7ca3>=this['_range'][_0x26fbb7(0x37f)]&&_0x3f7ca3<=this[_0x26fbb7(0x371)][_0x26fbb7(0x330)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x26fbb7(0x2ae)]({'hovered':!0x1});}[_0x17756b(0x2a3)](_0x4a69ee){return!0x1;}[_0x17756b(0x1e5)](_0x4af60a){const _0x3e035c=_0x17756b;_0x90a0ec[_0x3e035c(0x15d)]['drawWith'](_0x4af60a,{'width':this[_0x3e035c(0x47a)],'height':this[_0x3e035c(0xab)],'strokeWidth':_0x4aa559,'stroke':this[_0x3e035c(0x11f)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3e035c(0x2e0)]&&(_0x4af60a[_0x3e035c(0x194)](),_0x4af60a[_0x3e035c(0x43e)](0x1,0x0,0x0,0x1,this[_0x3e035c(0x47a)],this[_0x3e035c(0x50c)]==='bottom'?0x0:-_0x2de75d),_0x436552[_0x3e035c(0x259)](_0x4af60a,{'text':this[_0x3e035c(0x1ab)],'color':this[_0x3e035c(0x11f)]}),_0x4af60a['restore']());}}var _0x31bbca=Object['defineProperty'],_0x55f529=Object['getOwnPropertyDescriptor'],_0x352848=(_0x161b11,_0x1e07f8,_0x2b7c54,_0x21f35b)=>{const _0x130a61=_0x17756b;for(var _0x5069ad=_0x21f35b>0x1?void 0x0:_0x21f35b?_0x55f529(_0x1e07f8,_0x2b7c54):_0x1e07f8,_0x189497=_0x161b11[_0x130a61(0x189)]-0x1,_0x5dd85a;_0x189497>=0x0;_0x189497--)(_0x5dd85a=_0x161b11[_0x189497])&&(_0x5069ad=(_0x21f35b?_0x5dd85a(_0x1e07f8,_0x2b7c54,_0x5069ad):_0x5dd85a(_0x5069ad))||_0x5069ad);return _0x21f35b&&_0x5069ad&&_0x31bbca(_0x1e07f8,_0x2b7c54,_0x5069ad),_0x5069ad;},_0x2db523=(_0x3f50d1,_0x198f11)=>(_0x4eed3a,_0x30de29)=>_0x198f11(_0x4eed3a,_0x30de29,_0x3f50d1);const _0x5dba81=0x1389;let _0x314483=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0x370e0b,_0x250782,_0x32f9a6,_0x272228){const _0x4b4075=_0x17756b;super(),_0x25db2a(this,_0x4b4075(0x224),new Set()),_0x25db2a(this,'_lastPointer',null),(this[_0x4b4075(0x32d)]=_0x370e0b,this[_0x4b4075(0x179)]=_0x250782,this[_0x4b4075(0x2b9)]=_0x32f9a6,this[_0x4b4075(0x3d6)]=_0x272228,this[_0x4b4075(0x38d)]());}[_0x17756b(0x38d)](){const _0x13e47f=_0x17756b;this[_0x13e47f(0x179)]['currentSkeleton$'][_0x13e47f(0x26f)](_0x3563fe[_0x13e47f(0x185)](this[_0x13e47f(0x474)]),_0x3563fe[_0x13e47f(0x535)](_0x5d16c6=>{const _0x171314=_0x13e47f;if(_0x5d16c6){const _0x1c47e6=_0x5d16c6[_0x171314(0x514)];return _0x2dc6e4['combineLatest'](this['_collabCursorController'][_0x171314(0x4a4)](this['_context'][_0x171314(0x1ae)]),this[_0x171314(0x3d6)]['currentTheme$'])[_0x171314(0x26f)](_0x3563fe[_0x171314(0x3d0)](([_0x5c3cc0,_0x46a66d])=>{const _0x4ba0de=_0x171314,_0x584815=new Map();return _0x5c3cc0[_0x4ba0de(0x42e)]((_0x3c5534,_0x58967a)=>{const _0x2f7b2c=_0x4ba0de;if(_0x3c5534[_0x2f7b2c(0x273)]===_0x1c47e6){const _0x1fa7dd={..._0x3c5534};_0x1fa7dd[_0x2f7b2c(0x7f)]=_0x46a66d[_0x3c5534[_0x2f7b2c(0x7f)]],_0x584815[_0x2f7b2c(0x331)](_0x58967a,_0x1fa7dd);}}),{'skeleton':_0x5d16c6,'cursors':_0x584815};}));}return _0x2dc6e4['of']({'skeleton':null,'cursors':new Map()});}))[_0x13e47f(0x500)](({skeleton:_0x59f1f1,cursors:_0x526e20})=>{const _0x52ac06=_0x13e47f;this[_0x52ac06(0x1a0)](),_0x59f1f1&&this['_updateCollabCursors'](_0x59f1f1,_0x526e20);}),this[_0x13e47f(0x179)][_0x13e47f(0x342)][_0x13e47f(0x500)](_0x4ffe1d=>{const _0x28d6ee=_0x13e47f;if(_0x4ffe1d==null)return;const {skeleton:_0x4a54ff}=_0x4ffe1d,{scene:_0x289a08}=this[_0x28d6ee(0x32d)];_0x289a08['onPointerMove$'][_0x28d6ee(0x108)](_0x1c8991['debounce'](_0x1ec21e=>{const _0x38234c=_0x28d6ee;var _0x5a2074,_0x585193;const {offsetX:_0x188fbb,offsetY:_0x17e642}=_0x1ec21e,{x:_0x2ef788,y:_0x4b3001}=_0x289a08[_0x38234c(0x4eb)](_0x90a0ec['Vector2'][_0x38234c(0x3f1)]([_0x188fbb,_0x17e642])),{scaleX:_0x1f2d95,scaleY:_0x2e88ed}=_0x289a08[_0x38234c(0x23b)](),_0x2915dd=_0x289a08[_0x38234c(0x127)](_0x416764[_0x38234c(0x438)]['VIEW_MAIN']),_0x2bec6e=_0x289a08[_0x38234c(0xb1)](_0x90a0ec[_0x38234c(0x271)][_0x38234c(0x3f1)]([_0x2ef788,_0x4b3001]),_0x2915dd),_0x5ed015=_0x4a54ff['getCellPositionByOffset'](_0x188fbb,_0x17e642,_0x1f2d95,_0x2e88ed,_0x2bec6e);((_0x5a2074=this[_0x38234c(0x340)])==null?void 0x0:_0x5a2074[_0x38234c(0x376)])===_0x5ed015[_0x38234c(0x376)]&&((_0x585193=this['_lastPointer'])==null?void 0x0:_0x585193[_0x38234c(0x3c0)])===_0x5ed015[_0x38234c(0x3c0)]||this['_cursors'][_0x38234c(0x42e)](_0x41f21e=>{const _0x40d5fa=_0x38234c;_0x41f21e[_0x40d5fa(0xf6)](_0x5ed015);});},0x64));});}['_updateCollabCursors'](_0x1a58d8,_0xe2a735){const _0x365a79=_0x17756b;var _0x4abc55;const _0x40ba08=(_0x4abc55=this[_0x365a79(0x179)][_0x365a79(0x2b6)]())==null?void 0x0:_0x4abc55[_0x365a79(0x14d)];if(!_0x40ba08)return;const _0x2f4ec1=this[_0x365a79(0x4df)]();if(!_0x2f4ec1)return;this[_0x365a79(0x224)][_0x365a79(0x42e)](_0x5483a4=>{_0x5483a4['makeDirty']();});const {scene:_0x27acaa}=_0x2f4ec1,_0x49e41e=_0x4cfe7f(Array['from'](_0xe2a735[_0x365a79(0x7b)]()))['map'](_0x4932b5=>{const _0x4d7154=_0x365a79,{color:_0x420ef0,range:_0xdb861f,name:_0x4d864d,selection:_0x53d015,sheetID:_0x2775c3}=_0x4932b5,{startColumn:_0x283adc,startRow:_0x9aa484,endColumn:_0x25723b,endRow:_0x4221cb}=_0xdb861f,_0x457716=_0x416764[_0x4d7154(0x2fc)](_0x9aa484,_0x283adc,_0x27acaa,_0x40ba08),_0x52ab9e=_0x416764[_0x4d7154(0x2fc)](_0x4221cb,_0x25723b,_0x27acaa,_0x40ba08),{columnHeaderHeightAndMarginTop:_0x205736}=_0x40ba08,{startX:_0x4e70fc,startY:_0x44075}=_0x457716,{endX:_0x1b51e4,endY:_0x1a85dc}=_0x52ab9e,_0x559719=_0x1b51e4-_0x4e70fc,_0x232c82=_0x1a85dc-_0x44075,_0x3dd89e={'labelPosition':_0x44075-_0x205736>=_0x2de75d?_0x4d7154(0x17a):_0x4d7154(0x23f),'sheetID':_0x2775c3,'range':_0xdb861f,'color':_0x420ef0,'name':_0x4d864d,'selection':_0x53d015,'left':_0x4e70fc,'top':_0x44075,'width':_0x559719,'height':_0x232c82,'evented':!0x1,'zIndex':_0x5dba81};return new _0x38e0d7(_0x4d864d,_0x3dd89e);});_0x27acaa['addObjects'](_0x49e41e,_0x1b6019),this[_0x365a79(0x224)]=new Set(_0x49e41e);}[_0x17756b(0x1a0)](){const _0x1d4000=_0x17756b;var _0x4cc58d;(_0x4cc58d=this[_0x1d4000(0x224)])==null||_0x4cc58d[_0x1d4000(0x42e)](_0x478de1=>_0x478de1[_0x1d4000(0x43f)]());}[_0x17756b(0x4df)](){const _0x95419a=_0x17756b;return _0x416764[_0x95419a(0x3d2)](this['_context']['unit'],this[_0x95419a(0x32d)]);}};_0x314483=_0x352848([_0x2db523(0x1,_0x1c8991[_0x17756b(0x329)](_0x416764[_0x17756b(0x519)])),_0x2db523(0x2,_0x1c8991[_0x17756b(0x329)](_0x5c5cbc)),_0x2db523(0x3,_0x1c8991['Inject'](_0x1c8991[_0x17756b(0x2d3)]))],_0x314483);function _0x4cfe7f(_0x5ffc99){const _0xd48719=_0x17756b,_0x5764f2=new Map();return _0x5ffc99[_0xd48719(0x42e)](_0x3b46db=>{const _0x236b50=_0xd48719;if(_0x5764f2['has'](_0x3b46db['selection'])){const _0x4c8922=_0x5764f2[_0x236b50(0x30c)](_0x3b46db[_0x236b50(0x1ac)]);_0x4c8922[_0x236b50(0x2a8)]+=',\x20'+_0x3b46db[_0x236b50(0x2a8)];}else _0x5764f2[_0x236b50(0x331)](_0x3b46db['selection'],_0x3b46db);}),Array[_0xd48719(0x1be)](_0x5764f2[_0xd48719(0x7b)]());}var _0x5b574c=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x5d6413(_0x2700a7){const _0x22ffca=_0x17756b;return _0x2700a7&&_0x2700a7['__esModule']&&Object[_0x22ffca(0x3c7)][_0x22ffca(0x2ea)]['call'](_0x2700a7,_0x22ffca(0x143))?_0x2700a7['default']:_0x2700a7;}var _0x399ac3={'exports':{}},_0x2a3a2d={},_0x34393d=_0xaa8f96,_0x211b34=Symbol[_0x17756b(0x2aa)]('react.element'),_0x12733e=Symbol[_0x17756b(0x2aa)]('react.fragment'),_0x916c42=Object[_0x17756b(0x3c7)]['hasOwnProperty'],_0x3b7a08=_0x34393d['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x17756b(0xae)],_0x596807={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x2e1f50(_0x394076,_0x58564e,_0x3b4587){const _0x4814f9=_0x17756b;var _0x4a674f,_0x2b97af={},_0x2c59d7=null,_0x7b45e0=null;_0x3b4587!==void 0x0&&(_0x2c59d7=''+_0x3b4587),_0x58564e[_0x4814f9(0x36a)]!==void 0x0&&(_0x2c59d7=''+_0x58564e[_0x4814f9(0x36a)]),_0x58564e[_0x4814f9(0x408)]!==void 0x0&&(_0x7b45e0=_0x58564e[_0x4814f9(0x408)]);for(_0x4a674f in _0x58564e)_0x916c42['call'](_0x58564e,_0x4a674f)&&!_0x596807['hasOwnProperty'](_0x4a674f)&&(_0x2b97af[_0x4a674f]=_0x58564e[_0x4a674f]);if(_0x394076&&_0x394076[_0x4814f9(0x3b6)]){for(_0x4a674f in(_0x58564e=_0x394076['defaultProps'],_0x58564e))_0x2b97af[_0x4a674f]===void 0x0&&(_0x2b97af[_0x4a674f]=_0x58564e[_0x4a674f]);}return{'$$typeof':_0x211b34,'type':_0x394076,'key':_0x2c59d7,'ref':_0x7b45e0,'props':_0x2b97af,'_owner':_0x3b7a08[_0x4814f9(0x95)]};}_0x2a3a2d[_0x17756b(0x1ef)]=_0x12733e,_0x2a3a2d[_0x17756b(0x4be)]=_0x2e1f50,_0x2a3a2d[_0x17756b(0x413)]=_0x2e1f50,_0x399ac3[_0x17756b(0x2d0)]=_0x2a3a2d;var _0x3769ec=_0x399ac3[_0x17756b(0x2d0)],_0x5b40b9=function(){const _0x23b561=_0x17756b;return _0x5b40b9=Object[_0x23b561(0x1d3)]||function(_0x15b413){const _0x3c4ed1=_0x23b561;for(var _0x174df5,_0x28ac25=0x1,_0x29ab17=arguments[_0x3c4ed1(0x189)];_0x28ac25<_0x29ab17;_0x28ac25++){_0x174df5=arguments[_0x28ac25];for(var _0x407ad8 in _0x174df5)Object[_0x3c4ed1(0x3c7)][_0x3c4ed1(0x2ea)][_0x3c4ed1(0x399)](_0x174df5,_0x407ad8)&&(_0x15b413[_0x407ad8]=_0x174df5[_0x407ad8]);}return _0x15b413;},_0x5b40b9[_0x23b561(0xdd)](this,arguments);},_0x196c02=function(_0x270056,_0x28f629){const _0xb1d4b3=_0x17756b;var _0x5bad2f={};for(var _0x2496de in _0x270056)Object[_0xb1d4b3(0x3c7)][_0xb1d4b3(0x2ea)][_0xb1d4b3(0x399)](_0x270056,_0x2496de)&&_0x28f629[_0xb1d4b3(0x222)](_0x2496de)<0x0&&(_0x5bad2f[_0x2496de]=_0x270056[_0x2496de]);if(_0x270056!=null&&typeof Object[_0xb1d4b3(0x4a7)]==_0xb1d4b3(0x177)){for(var _0x11d506=0x0,_0x2496de=Object[_0xb1d4b3(0x4a7)](_0x270056);_0x11d506<_0x2496de[_0xb1d4b3(0x189)];_0x11d506++)_0x28f629[_0xb1d4b3(0x222)](_0x2496de[_0x11d506])<0x0&&Object[_0xb1d4b3(0x3c7)][_0xb1d4b3(0x172)][_0xb1d4b3(0x399)](_0x270056,_0x2496de[_0x11d506])&&(_0x5bad2f[_0x2496de[_0x11d506]]=_0x270056[_0x2496de[_0x11d506]]);}return _0x5bad2f;},_0x57156f=_0xaa8f96['forwardRef'](function(_0x4320dd,_0x17f59e){const _0x11119e=_0x17756b;var _0xe99753=_0x4320dd[_0x11119e(0x2e9)],_0x134cae=_0x4320dd['id'],_0x5a4ca1=_0x4320dd['className'],_0x4c6f75=_0x4320dd[_0x11119e(0x3cc)],_0x5ba264=_0x196c02(_0x4320dd,[_0x11119e(0x2e9),'id',_0x11119e(0x341),_0x11119e(0x3cc)]),_0x4b6a91=_0x11119e(0x131)[_0x11119e(0x365)](_0x134cae,'\x20')[_0x11119e(0x365)](_0x5a4ca1||'')['trim'](),_0x1a3c6f=_0xaa8f96['useRef']('_'[_0x11119e(0x365)](_0x4d2b47()));return _0x1dc95a(_0xe99753,''[_0x11119e(0x365)](_0x134cae),{'defIds':_0xe99753[_0x11119e(0x46d)],'idSuffix':_0x1a3c6f[_0x11119e(0x95)]},_0x5b40b9({'ref':_0x17f59e,'className':_0x4b6a91},_0x5ba264),_0x4c6f75);});function _0x1dc95a(_0x15ddf6,_0x4408aa,_0x302723,_0x1fca53,_0x2c3a8e){const _0x338660=_0x17756b;return _0xaa8f96[_0x338660(0x242)](_0x15ddf6['tag'],_0x5b40b9(_0x5b40b9({'key':_0x4408aa},_0xd81ac3(_0x15ddf6,_0x302723,_0x2c3a8e)),_0x1fca53),(_0xd8c7c7(_0x15ddf6,_0x302723)[_0x338660(0x349)]||[])[_0x338660(0x3d0)](function(_0x2b7f00,_0x5756e6){const _0x1711ba=_0x338660;return _0x1dc95a(_0x2b7f00,''['concat'](_0x4408aa,'-')[_0x1711ba(0x365)](_0x15ddf6[_0x1711ba(0x396)],'-')['concat'](_0x5756e6),_0x302723,void 0x0,_0x2c3a8e);}));}function _0xd81ac3(_0x5c5046,_0x47da04,_0xe38404){const _0x14297d=_0x17756b;var _0x2dd69b=_0x5b40b9({},_0x5c5046['attrs']);_0xe38404!=null&&_0xe38404[_0x14297d(0x1ba)]&&_0x2dd69b[_0x14297d(0x332)]===_0x14297d(0x1ba)&&(_0x2dd69b[_0x14297d(0x332)]=_0xe38404[_0x14297d(0x1ba)]);var _0x3a8b16=_0x47da04[_0x14297d(0x46d)];return!_0x3a8b16||_0x3a8b16[_0x14297d(0x189)]===0x0||(_0x5c5046[_0x14297d(0x396)]==='use'&&_0x2dd69b['xlink:href']&&(_0x2dd69b[_0x14297d(0x2c2)]=_0x2dd69b['xlink:href']+_0x47da04[_0x14297d(0x1aa)]),Object[_0x14297d(0x481)](_0x2dd69b)[_0x14297d(0x42e)](function(_0x550f4e){const _0x537521=_0x14297d;var _0x1e7362=_0x550f4e[0x0],_0x229c02=_0x550f4e[0x1];typeof _0x229c02==_0x537521(0x530)&&(_0x2dd69b[_0x1e7362]=_0x229c02[_0x537521(0xe6)](/url\(#(.*)\)/,_0x537521(0x10c)[_0x537521(0x365)](_0x47da04[_0x537521(0x1aa)],')')));})),_0x2dd69b;}function _0xd8c7c7(_0x1e1e9d,_0x4a7e33){const _0x201f4a=_0x17756b;var _0x569f9f,_0x2a7ca3=_0x4a7e33[_0x201f4a(0x46d)];return!_0x2a7ca3||_0x2a7ca3[_0x201f4a(0x189)]===0x0?_0x1e1e9d:_0x1e1e9d[_0x201f4a(0x396)]===_0x201f4a(0x328)&&(!((_0x569f9f=_0x1e1e9d['children'])===null||_0x569f9f===void 0x0)&&_0x569f9f[_0x201f4a(0x189)])?_0x5b40b9(_0x5b40b9({},_0x1e1e9d),{'children':_0x1e1e9d[_0x201f4a(0x349)][_0x201f4a(0x3d0)](function(_0x480606){const _0x5a5aca=_0x201f4a;return typeof _0x480606[_0x5a5aca(0x302)]['id']==_0x5a5aca(0x530)&&_0x2a7ca3&&_0x2a7ca3[_0x5a5aca(0x222)](_0x480606['attrs']['id'])>-0x1?_0x5b40b9(_0x5b40b9({},_0x480606),{'attrs':_0x5b40b9(_0x5b40b9({},_0x480606[_0x5a5aca(0x302)]),{'id':_0x480606[_0x5a5aca(0x302)]['id']+_0x4a7e33[_0x5a5aca(0x1aa)]})}):_0x480606;})}):_0x1e1e9d;}function _0x4d2b47(){const _0xcea5ee=_0x17756b;return Math[_0xcea5ee(0x2c1)]()[_0xcea5ee(0x6e)](0x24)[_0xcea5ee(0x1cb)](0x2,0x8);}_0x57156f[_0x17756b(0x2af)]=_0x17756b(0x1a9);var _0x4c88e2={'tag':'svg','attrs':{'fill':'none','viewBox':_0x17756b(0x4fd),'width':_0x17756b(0x21b),'height':_0x17756b(0x21b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x17756b(0x3d8),'attrs':{'stroke':_0x17756b(0x1bf),'d':_0x17756b(0x51e),'strokeLinecap':'round','strokeLinejoin':_0x17756b(0x264),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x17756b(0x218),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x17756b(0x3d8),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x17756b(0x385)]},_0x171e61=_0xaa8f96['forwardRef'](function(_0x52075d,_0x23b3d3){const _0x3b288e=_0x17756b;return _0xaa8f96['createElement'](_0x57156f,Object[_0x3b288e(0x1d3)]({},_0x52075d,{'id':_0x3b288e(0x292),'ref':_0x23b3d3,'icon':_0x4c88e2}));});_0x171e61['displayName']=_0x17756b(0x1df);var _0x1d06b9={'tag':_0x17756b(0x12a),'attrs':{'fill':_0x17756b(0x98),'viewBox':_0x17756b(0x2d5),'width':_0x17756b(0x21b),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x17756b(0x170)},'children':[{'tag':_0x17756b(0x3d8),'attrs':{'stroke':_0x17756b(0x1bf),'d':_0x17756b(0x48c),'strokeLinecap':_0x17756b(0x264),'strokeLinejoin':_0x17756b(0x264),'strokeWidth':1.2}}]},{'tag':_0x17756b(0x328),'attrs':{},'children':[{'tag':_0x17756b(0x218),'attrs':{'id':_0x17756b(0x4ab)},'children':[{'tag':_0x17756b(0x3d8),'attrs':{'fill':'#fff','d':_0x17756b(0x457),'transform':_0x17756b(0x4e9)}}]}]}],'defIds':[_0x17756b(0x4ab)]},_0x3a5629=_0xaa8f96[_0x17756b(0x2ab)](function(_0x4c816d,_0x13e930){const _0x54207c=_0x17756b;return _0xaa8f96[_0x54207c(0x242)](_0x57156f,Object[_0x54207c(0x1d3)]({},_0x4c816d,{'id':_0x54207c(0x48a),'ref':_0x13e930,'icon':_0x1d06b9}));});_0x3a5629[_0x17756b(0x2af)]='OnLineSingle';function _0x501984(_0xdcd667){const _0xff015a=_0x17756b;var _0x3c087f,_0x462367,_0x57afb1='';if(typeof _0xdcd667=='string'||typeof _0xdcd667==_0xff015a(0x4de))_0x57afb1+=_0xdcd667;else{if(typeof _0xdcd667==_0xff015a(0x2c3)){if(Array[_0xff015a(0x28d)](_0xdcd667)){var _0x570298=_0xdcd667[_0xff015a(0x189)];for(_0x3c087f=0x0;_0x3c087f<_0x570298;_0x3c087f++)_0xdcd667[_0x3c087f]&&(_0x462367=_0x501984(_0xdcd667[_0x3c087f]))&&(_0x57afb1&&(_0x57afb1+='\x20'),_0x57afb1+=_0x462367);}else{for(_0x462367 in _0xdcd667)_0xdcd667[_0x462367]&&(_0x57afb1&&(_0x57afb1+='\x20'),_0x57afb1+=_0x462367);}}}return _0x57afb1;}function _0x30ecf9(){for(var _0x2dc2be,_0xa5dcef,_0x18c480=0x0,_0x4cccb8='',_0x134a12=arguments['length'];_0x18c480<_0x134a12;_0x18c480++)(_0x2dc2be=arguments[_0x18c480])&&(_0xa5dcef=_0x501984(_0x2dc2be))&&(_0x4cccb8&&(_0x4cccb8+='\x20'),_0x4cccb8+=_0xa5dcef);return _0x4cccb8;}const _0xfc0e68={'onlineStatusIcon':_0x17756b(0x14c),'onlineStatusTitle':_0x17756b(0x144),'onlineStatus':_0x17756b(0x13d),'online':_0x17756b(0xe7),'offline':_0x17756b(0x4f1)};function _0x104e3a(_0x13f914){const _0x4c8c5f=_0x17756b;switch(_0x13f914){case _0xf85cc6['OFFLINE']:return _0x4c8c5f(0xd8);case _0xf85cc6[_0x4c8c5f(0x414)]:return _0x4c8c5f(0x145);case _0xf85cc6[_0x4c8c5f(0x11e)]:return'collabStatus.fetchMiss';case _0xf85cc6[_0x4c8c5f(0x3e0)]:return _0x4c8c5f(0x2c0);case _0xf85cc6[_0x4c8c5f(0x22d)]:case _0xf85cc6[_0x4c8c5f(0x97)]:return'collabStatus.syncing';case _0xf85cc6['SYNCED']:case _0xf85cc6[_0x4c8c5f(0x1ea)]:return'collabStatus.synced';}}function _0x4d2813(_0x51ec8c){const _0x57d5aa=_0x17756b,{status$:_0x4c4918}=_0x51ec8c,_0x42cf6b=_0x1af299[_0x57d5aa(0x52b)](_0x4c4918,_0xf85cc6['NOT_COLLAB']),_0x232b31=_0x1c8991[_0x57d5aa(0x397)](_0x1c8991[_0x57d5aa(0xcf)]),_0x336ae7=_0x1c8991[_0x57d5aa(0x397)](_0x1b0f0a['CollaborationSessionService']),_0xf95aea=_0x42cf6b!==_0xf85cc6['OFFLINE'],_0x2644b7=_0x232b31['t'](_0x104e3a(_0x42cf6b)),_0x3409ae=_0x30ecf9(_0xfc0e68[_0x57d5aa(0x2ee)],{[_0xfc0e68[_0x57d5aa(0x44f)]]:_0xf95aea,[_0xfc0e68[_0x57d5aa(0x31e)]]:!_0xf95aea}),_0x318d0a=_0xf95aea?_0x3769ec[_0x57d5aa(0x4be)](_0x3a5629,{}):_0x3769ec[_0x57d5aa(0x4be)](_0x171e61,{}),_0x277c45=_0xaa8f96[_0x57d5aa(0x2b2)](()=>{const _0x139eb4=_0x57d5aa;_0xf95aea||_0x336ae7[_0x139eb4(0x1a4)]();},[_0xf95aea,_0x336ae7]);function _0xcb761b(){const _0x397231=_0x57d5aa;return _0x3769ec['jsxs'](_0x397231(0x1d1),{'className':_0x3409ae,'onClick':_0x277c45,'children':[_0x3769ec[_0x397231(0x4be)](_0x397231(0x1d1),{'className':_0xfc0e68['onlineStatusIcon'],'children':_0x318d0a}),_0x3769ec[_0x397231(0x4be)](_0x397231(0x1d1),{'className':_0xfc0e68[_0x397231(0x430)],'children':_0x2644b7})]});}return _0xf95aea?_0xcb761b():_0x3769ec[_0x57d5aa(0x4be)](_0x502233[_0x57d5aa(0x4ca)],{'title':_0x232b31['t'](_0x57d5aa(0x4f9)),'children':_0xcb761b()});}var _0x3e26d7=Object['defineProperty'],_0x4e5229=Object[_0x17756b(0x4db)],_0xb85520=(_0x1ca64d,_0x275bd9,_0x23a9dc,_0x365149)=>{const _0x13248c=_0x17756b;for(var _0x4648c6=_0x365149>0x1?void 0x0:_0x365149?_0x4e5229(_0x275bd9,_0x23a9dc):_0x275bd9,_0x317def=_0x1ca64d[_0x13248c(0x189)]-0x1,_0x2561c7;_0x317def>=0x0;_0x317def--)(_0x2561c7=_0x1ca64d[_0x317def])&&(_0x4648c6=(_0x365149?_0x2561c7(_0x275bd9,_0x23a9dc,_0x4648c6):_0x2561c7(_0x4648c6))||_0x4648c6);return _0x365149&&_0x4648c6&&_0x3e26d7(_0x275bd9,_0x23a9dc,_0x4648c6),_0x4648c6;},_0x185fe3=(_0xaac70,_0x20f64e)=>(_0x394e82,_0x3cfbea)=>_0x20f64e(_0x394e82,_0x3cfbea,_0xaac70);_0x1b0f0a[_0x17756b(0x174)]=class extends _0x1c8991[_0x17756b(0xe4)]{constructor(_0x63758f,_0x331f51,_0x1bab88,_0x43f598){const _0x415e8b=_0x17756b;super(),_0x25db2a(this,_0x415e8b(0x24f),new _0x2dc6e4[(_0x415e8b(0x1fa))](_0xf85cc6[_0x415e8b(0x3e0)])),(this['_univerInstanceService']=_0x63758f,this['_uiPartsService']=_0x331f51,this[_0x415e8b(0x419)]=_0x1bab88,this[_0x415e8b(0x1bb)]=_0x43f598,this[_0x415e8b(0x1c9)](),this[_0x415e8b(0x2fa)]());}['_initStatusListener'](){const _0x89070=_0x17756b;this['disposeWithMe'](this[_0x89070(0x35f)][_0x89070(0x2b4)][_0x89070(0x26f)](_0x2dc6e4[_0x89070(0x535)](()=>{const _0x2c058b=_0x89070,_0x54a36a=this[_0x2c058b(0x35f)][_0x2c058b(0x447)]();return _0x54a36a?this[_0x2c058b(0x1bb)]['getCollabEntity$'](_0x54a36a[_0x2c058b(0x51a)]()):_0x2dc6e4['of'](null);}),_0x2dc6e4[_0x89070(0x535)](_0x47a02a=>_0x47a02a?_0x47a02a[_0x89070(0x28e)]:_0x2dc6e4['of'](_0xf85cc6[_0x89070(0x3e0)])))[_0x89070(0x500)](_0x5b46e5=>{const _0x474c61=_0x89070;this[_0x474c61(0x24f)][_0x474c61(0x47b)](_0x5b46e5);}));}[_0x17756b(0x1c9)](){const _0x4091b1=_0x17756b;this['disposeWithMe'](this[_0x4091b1(0x44d)]['registerComponent'](_0x1af299[_0x4091b1(0x1bc)][_0x4091b1(0x45a)],()=>_0x1c8991[_0x4091b1(0x412)](_0x1be266({'status$':this[_0x4091b1(0x24f)][_0x4091b1(0x4cc)]()}),this[_0x4091b1(0x419)])));}},_0x1b0f0a[_0x17756b(0x174)]=_0xb85520([_0x185fe3(0x0,_0x1c8991['IUniverInstanceService']),_0x185fe3(0x1,_0x1af299[_0x17756b(0x2ff)]),_0x185fe3(0x2,_0x1c8991[_0x17756b(0x329)](_0x1c8991['Injector'])),_0x185fe3(0x3,_0x1c8991['Inject'](_0x1b0f0a[_0x17756b(0x424)]))],_0x1b0f0a[_0x17756b(0x174)]);function _0x1be266(_0x13ad48){const {status$:_0x47ccc2}=_0x13ad48;return function(){return _0x3769ec['jsx'](_0x4d2813,{'status$':_0x47ccc2});};}const _0x210d73=_0x1c8991['createIdentifier'](_0x17756b(0x141));var _0x5c5cbd=Object[_0x17756b(0x76)],_0xc98e56=Object[_0x17756b(0x4db)],_0x4ff461=(_0x410abd,_0x384d36,_0x40895e,_0x4bb6cb)=>{for(var _0x188dba=_0x4bb6cb>0x1?void 0x0:_0x4bb6cb?_0xc98e56(_0x384d36,_0x40895e):_0x384d36,_0x5f2557=_0x410abd['length']-0x1,_0x332b52;_0x5f2557>=0x0;_0x5f2557--)(_0x332b52=_0x410abd[_0x5f2557])&&(_0x188dba=(_0x4bb6cb?_0x332b52(_0x384d36,_0x40895e,_0x188dba):_0x332b52(_0x188dba))||_0x188dba);return _0x4bb6cb&&_0x188dba&&_0x5c5cbd(_0x384d36,_0x40895e,_0x188dba),_0x188dba;},_0x39c5a4=(_0x72d5a8,_0x183da8)=>(_0x30dfd9,_0x47ca55)=>_0x183da8(_0x30dfd9,_0x47ca55,_0x72d5a8);_0x1b0f0a[_0x17756b(0x235)]=class extends _0x1c8991[_0x17756b(0x4e1)]{constructor(_0x483a61,_0x515d95,_0xd7a6aa,_0x509bc3,_0x4a48ff,_0x24640f){const _0x58c3ec=_0x17756b;super(),this[_0x58c3ec(0x300)]=_0x483a61,this['_logService']=_0x515d95,this[_0x58c3ec(0x3ef)]=_0xd7a6aa,this['_localCacheService']=_0x509bc3,this[_0x58c3ec(0x37c)]=_0x4a48ff,_0x24640f?_0x24640f==null||_0x24640f['whenReady']()[_0x58c3ec(0x520)](()=>this[_0x58c3ec(0x38d)]()):(this[_0x58c3ec(0x532)][_0x58c3ec(0x1c0)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x58c3ec(0x38d)]());}async[_0x17756b(0x38d)](){const _0x5500d4=_0x17756b,_0x89f419=this['_urlService'][_0x5500d4(0x34e)]('unit'),_0x1ff71c=this[_0x5500d4(0x300)][_0x5500d4(0x34e)](_0x5500d4(0x243));if(!_0x89f419||!_0x1ff71c){this[_0x5500d4(0x532)][_0x5500d4(0x1c0)](_0x5500d4(0x44b),_0x5500d4(0x2e8));return;}switch(Number(_0x1ff71c)){case _0x281464[_0x5500d4(0x2db)]:{const _0x2ff736=await this[_0x5500d4(0x246)](_0x89f419);this[_0x5500d4(0x527)](_0x2ff736);break;}case _0x281464[_0x5500d4(0x524)]:{await this['_loadDoc'](_0x89f419);break;}default:{this[_0x5500d4(0x532)][_0x5500d4(0x47c)]('[DataLoaderController]','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x17756b(0x527)](_0x3f391f){const _0x45b3f8=_0x17756b;await this['_updateSubUnitFromURLParams'](_0x3f391f),_0x3f391f[_0x45b3f8(0x3e2)][_0x45b3f8(0x26f)](_0x2dc6e4['takeUntil'](this[_0x45b3f8(0x474)]))[_0x45b3f8(0x500)](_0x3f6a59=>{const _0x478bff=_0x45b3f8;_0x3f6a59&&this[_0x478bff(0xad)](_0x3f6a59);}),this[_0x45b3f8(0x300)]['urlChange$'][_0x45b3f8(0x26f)](_0x2dc6e4['takeUntil'](this['dispose$']))[_0x45b3f8(0x500)](()=>this[_0x45b3f8(0x23a)](_0x3f391f));}[_0x17756b(0xad)](_0x592298,_0x5aed96=!0x1){const _0x2ecba2=_0x17756b,_0x44de2f=this[_0x2ecba2(0x300)][_0x2ecba2(0x34e)](_0x2ecba2(0x2ce));_0x592298['getSheetId']()!==_0x44de2f&&this[_0x2ecba2(0x300)][_0x2ecba2(0x249)](_0x2ecba2(0x2ce),_0x592298['getSheetId'](),_0x5aed96);}async[_0x17756b(0x23a)](_0x2dd72b){const _0x2a415c=_0x17756b;var _0x31897e;const _0x4fdedc=this['_urlService'][_0x2a415c(0x34e)](_0x2a415c(0x2ce));if(!_0x4fdedc||!_0x2dd72b['getSheetBySheetId'](_0x4fdedc)){const _0x269937=_0x2dd72b[_0x2a415c(0x28f)]()[0x0],_0x2bf673=_0x2dd72b['getSheetBySheetId'](_0x269937);if(!_0x2bf673)return;this[_0x2a415c(0xad)](_0x2bf673,!0x0),await this[_0x2a415c(0x3ef)]['executeCommand'](_0x2c20de[_0x2a415c(0x2a6)]['id'],{'unitId':_0x2dd72b[_0x2a415c(0x51a)](),'subUnitId':_0x269937});return;}((_0x31897e=_0x2dd72b['getActiveSheet']())==null?void 0x0:_0x31897e[_0x2a415c(0x1db)]())!==_0x4fdedc&&await this[_0x2a415c(0x3ef)][_0x2a415c(0x251)](_0x2c20de['SetWorksheetActivateCommand']['id'],{'unitId':_0x2dd72b[_0x2a415c(0x51a)](),'subUnitId':_0x4fdedc});}async['_loadSheet'](_0x17ea2d){const _0x2f900d=_0x17756b;let _0x2ee920=0x0;const _0x1c8a75=await this[_0x2f900d(0x82)][_0x2f900d(0x1e9)](_0x17ea2d);return _0x1c8a75&&(_0x1c8a75[_0x2f900d(0x90)]||_0x1c8a75[_0x2f900d(0xf2)][_0x2f900d(0x189)]!==0x0)&&(_0x2ee920=_0x1c8a75['rev']),_0x2ee920===0x0&&this[_0x2f900d(0x532)]['debug']('[DataLoaderController]',_0x2f900d(0x3d3)),this[_0x2f900d(0x37c)][_0x2f900d(0x51d)](_0x17ea2d,_0x2ee920);}async[_0x17756b(0x13a)](_0x31b034){const _0x147955=_0x17756b;let _0x8534b3=0x0;const _0x1a271c=await this[_0x147955(0x82)][_0x147955(0x1e9)](_0x31b034);return _0x1a271c&&(_0x1a271c[_0x147955(0x90)]||_0x1a271c['mutations']['length']!==0x0)&&(_0x8534b3=_0x1a271c[_0x147955(0x18e)]),_0x8534b3===0x0&&this[_0x147955(0x532)][_0x147955(0x1c0)]('[DataLoaderController]',_0x147955(0x3d3)),this[_0x147955(0x37c)][_0x147955(0x11a)](_0x31b034,_0x8534b3);}},_0x1b0f0a[_0x17756b(0x235)]=_0x4ff461([_0x39c5a4(0x0,_0x210d73),_0x39c5a4(0x1,_0x1c8991['ILogService']),_0x39c5a4(0x2,_0x1c8991[_0x17756b(0x433)]),_0x39c5a4(0x3,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x533)])),_0x39c5a4(0x4,_0x1c8991[_0x17756b(0x329)](_0x3b5018[_0x17756b(0x1a7)])),_0x39c5a4(0x5,_0x1c8991[_0x17756b(0x472)](_0x17e323[_0x17756b(0x1b4)]))],_0x1b0f0a[_0x17756b(0x235)]);var _0x4ec3bb=Object['defineProperty'],_0x3b1995=Object[_0x17756b(0x4db)],_0x3dd815=(_0x2e8e8d,_0xafeabe,_0x597cb6,_0x2d972b)=>{const _0x77c325=_0x17756b;for(var _0x2aecef=_0x2d972b>0x1?void 0x0:_0x2d972b?_0x3b1995(_0xafeabe,_0x597cb6):_0xafeabe,_0x1c367a=_0x2e8e8d[_0x77c325(0x189)]-0x1,_0x509982;_0x1c367a>=0x0;_0x1c367a--)(_0x509982=_0x2e8e8d[_0x1c367a])&&(_0x2aecef=(_0x2d972b?_0x509982(_0xafeabe,_0x597cb6,_0x2aecef):_0x509982(_0x2aecef))||_0x2aecef);return _0x2d972b&&_0x2aecef&&_0x4ec3bb(_0xafeabe,_0x597cb6,_0x2aecef),_0x2aecef;},_0x393569=(_0x341ed3,_0x47260b)=>(_0x596c20,_0x4a66d3)=>_0x47260b(_0x596c20,_0x4a66d3,_0x341ed3);const _0x1b730a=_0x17756b(0x162),_0x3fe025=_0x17756b(0x480);let _0x1195e2=class extends _0x1c8991[_0x17756b(0xe4)]{constructor(_0x241254,_0x38da5c){super(),this['_univerInstanceService']=_0x241254,this['_configService']=_0x38da5c,this['_init']();}[_0x17756b(0x38d)](){const _0x3dbbfe=_0x17756b;this[_0x3dbbfe(0x9b)](this['_univerInstanceService']['focused$'][_0x3dbbfe(0x500)](()=>{const _0x2e41db=_0x3dbbfe;var _0x36bb1c;const _0x2a8cbf=this[_0x2e41db(0x35f)][_0x2e41db(0x447)]();let _0x2b33d=(_0x36bb1c=this[_0x2e41db(0x4ed)]['getConfig'](_0x1b730a))!=null?_0x36bb1c:_0x3fe025;_0x2a8cbf instanceof _0x1c8991[_0x2e41db(0x38e)]&&(_0x2b33d=_0x2a8cbf['name']),document[_0x2e41db(0x1f3)]=_0x2b33d;}));}};_0x1195e2=_0x3dd815([_0x393569(0x0,_0x1c8991[_0x17756b(0x2e7)]),_0x393569(0x1,_0x1c8991['IConfigService'])],_0x1195e2);var _0x36ce55=Object['defineProperty'],_0x4de42f=Object['getOwnPropertyDescriptor'],_0x286076=(_0x10f9d7,_0xd65e95,_0x32aca4,_0x4c6b82)=>{const _0x369b0e=_0x17756b;for(var _0x285473=_0x4c6b82>0x1?void 0x0:_0x4c6b82?_0x4de42f(_0xd65e95,_0x32aca4):_0xd65e95,_0x23d07e=_0x10f9d7[_0x369b0e(0x189)]-0x1,_0x4b4241;_0x23d07e>=0x0;_0x23d07e--)(_0x4b4241=_0x10f9d7[_0x23d07e])&&(_0x285473=(_0x4c6b82?_0x4b4241(_0xd65e95,_0x32aca4,_0x285473):_0x4b4241(_0x285473))||_0x285473);return _0x4c6b82&&_0x285473&&_0x36ce55(_0xd65e95,_0x32aca4,_0x285473),_0x285473;},_0x2ae3ba=(_0x5c4ac4,_0x5883bc)=>(_0x2c02f5,_0x5abcee)=>_0x5883bc(_0x2c02f5,_0x5abcee,_0x5c4ac4);let _0x552e63=class{constructor(_0x2eded3,_0x3e014f,_0x2d0fd0){const _0x3374d4=_0x17756b;this['_configService']=_0x2eded3,this[_0x3374d4(0x3b5)]=_0x3e014f,this[_0x3374d4(0x175)]=_0x2d0fd0,this[_0x3374d4(0x294)]();}[_0x17756b(0x294)](){const _0x33e074=_0x17756b;this[_0x33e074(0x3b5)][_0x33e074(0x3c2)]({'priority':0x1,'interceptor':(_0x1c84c5,_0x4e9965)=>_0x4e9965(_0x1c84c5)[_0x33e074(0x26f)](_0x2dc6e4['concatMap'](async _0x5c692b=>{const _0x4e44c5=_0x33e074,_0x46fedd=_0x5c692b;if(_0x46fedd[_0x4e44c5(0x475)]===0x191&&window[_0x4e44c5(0x163)](this[_0x4e44c5(0x175)]['t'](_0x4e44c5(0x84)))){const _0x593747=window[_0x4e44c5(0x27c)](window[_0x4e44c5(0x214)][_0x4e44c5(0x1cf)]);window[_0x4e44c5(0x214)]['href']=this[_0x4e44c5(0x367)]()+_0x4e44c5(0x32a)+_0x593747;}return _0x46fedd;}))});}['_getLoginPath'](){const _0x41636d=_0x17756b;var _0x14e2e6,_0x22b127;const _0x1fb224=this[_0x41636d(0x4ed)][_0x41636d(0x4b2)](_0x26267f),_0x2e24cc=this[_0x41636d(0x4ed)][_0x41636d(0x4b2)](_0x5adfcf);return(_0x22b127=(_0x14e2e6=_0x2e24cc==null?void 0x0:_0x2e24cc[_0x41636d(0x219)])!=null?_0x14e2e6:_0x1fb224)!=null?_0x22b127:_0x24714a;}};_0x552e63=_0x286076([_0x2ae3ba(0x0,_0x1c8991[_0x17756b(0x4ef)]),_0x2ae3ba(0x1,_0x1c8991[_0x17756b(0x329)](_0x2b12f0[_0x17756b(0x1af)])),_0x2ae3ba(0x2,_0x1c8991['Inject'](_0x1c8991['LocaleService']))],_0x552e63);var _0x5ad34e=Object[_0x17756b(0x76)],_0x1c9306=Object[_0x17756b(0x4db)],_0x5e4faf=(_0x2f3d12,_0x17d744,_0x1ae14b,_0x407c7f)=>{const _0x2e52d8=_0x17756b;for(var _0x2762ba=_0x407c7f>0x1?void 0x0:_0x407c7f?_0x1c9306(_0x17d744,_0x1ae14b):_0x17d744,_0x487bf3=_0x2f3d12[_0x2e52d8(0x189)]-0x1,_0x222afc;_0x487bf3>=0x0;_0x487bf3--)(_0x222afc=_0x2f3d12[_0x487bf3])&&(_0x2762ba=(_0x407c7f?_0x222afc(_0x17d744,_0x1ae14b,_0x2762ba):_0x222afc(_0x2762ba))||_0x2762ba);return _0x407c7f&&_0x2762ba&&_0x5ad34e(_0x17d744,_0x1ae14b,_0x2762ba),_0x2762ba;},_0x12c60f=(_0x8587ce,_0x1e5c3a)=>(_0x3a57e6,_0x3ebc8d)=>_0x1e5c3a(_0x3a57e6,_0x3ebc8d,_0x8587ce);const _0x57ff1b='AUTHZ_URL_KEY',_0x461e45=_0x17756b(0x1c4);_0x1b0f0a[_0x17756b(0x416)]=class extends _0x1c8991['Disposable']{constructor(_0x47cae1,_0x54cdf6){const _0xe52b8a=_0x17756b;super(),this[_0xe52b8a(0x2d8)]=_0x47cae1,this[_0xe52b8a(0x4ed)]=_0x54cdf6,this[_0xe52b8a(0x281)]();}[_0x17756b(0x281)](){const _0x3d9291=_0x17756b,_0x46d763=this;this[_0x3d9291(0x9b)](this[_0x3d9291(0x2d8)][_0x3d9291(0x3c2)]({'priority':0x3e7,'interceptor':_0x2b12f0[_0x3d9291(0x353)]({'isMatch'(_0x5ea226){const _0x58e686=_0x3d9291;var _0x659cde;if(_0x5ea226[_0x58e686(0x536)]===_0x58e686(0x3a0)&&((_0x659cde=_0x5ea226[_0x58e686(0x321)])!=null&&_0x659cde[_0x58e686(0x126)])){const {objectID:_0x1ff74d,objectType:_0x439445}=_0x5ea226['requestParams'][_0x58e686(0x126)]||{};if(!_0x1ff74d||_0x439445===void 0x0)return!0x1;const _0x59e1fd=_0x46d763[_0x58e686(0x4ba)]()+'/'+_0x439445+_0x58e686(0x394)+_0x1ff74d+_0x58e686(0x255);if(_0x5ea226[_0x58e686(0x234)]===_0x59e1fd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1afc18){const _0x2eca50=_0x3d9291;var _0x34efb8;return(_0x34efb8=_0x1afc18[_0x2eca50(0x321)])==null?void 0x0:_0x34efb8[_0x2eca50(0x126)];},'mergeParamsToRequest'(_0x128098,_0x5b428c){const _0x9347b0=_0x3d9291,_0x2f8fc7=_0x46d763[_0x9347b0(0x4ba)]()+_0x9347b0(0x4f8),_0x51cd85=_0x128098[_0x9347b0(0x429)]((_0x12d33d,_0x10d51a)=>{const _0x2fdf6f=_0x9347b0,{unitID:_0x20f3e1,objectID:_0x3252cf,objectType:_0x23daa9,actions:_0x24007e}=_0x10d51a;return _0x12d33d[_0x20f3e1]||(_0x12d33d[_0x20f3e1]={}),_0x12d33d[_0x20f3e1][_0x3252cf]||(_0x12d33d[_0x20f3e1][_0x3252cf]={'objectID':_0x3252cf,'objectType':_0x23daa9,'actions':[]}),_0x12d33d[_0x20f3e1][_0x3252cf]['actions'][_0x2fdf6f(0x1c1)](..._0x24007e),_0x12d33d;},{}),_0xf3b229=[];for(const _0x4bfa82 in _0x51cd85)for(const _0x4eb641 in _0x51cd85[_0x4bfa82]){const {actions:_0x15fa3a,objectType:_0x30abd3}=_0x51cd85[_0x4bfa82][_0x4eb641],_0x2ebdbd=[...new Set(_0x15fa3a)];_0xf3b229[_0x9347b0(0x1c1)]({'unitID':_0x4bfa82,'objectID':_0x4eb641,'objectType':_0x30abd3,'actions':_0x2ebdbd});}return new _0x2b12f0[(_0x9347b0(0x3e3))]('POST',_0x2f8fc7,{'headers':_0x5b428c['headers'],'withCredentials':_0x5b428c[_0x9347b0(0xeb)],'responseType':_0x5b428c['responseType'],'body':{'requests':_0xf3b229}});}},{'distributeResult'(_0x3c32cb,_0x3caf77){const _0x1979f4=_0x3d9291,{objectActions:_0x2425d8}=_0x3c32cb;return _0x3caf77[_0x1979f4(0x3d0)](_0x47474b=>{const _0x12634d=_0x1979f4,{unitID:_0x30e973,objectID:_0x5b2cd1,actions:_0x24a44e}=_0x47474b,_0x374bb9=_0x2425d8[_0x12634d(0x4e4)](_0x4b93b9=>_0x4b93b9[_0x12634d(0x52f)]===_0x30e973&&_0x4b93b9[_0x12634d(0xf1)]===_0x5b2cd1),_0x5011e7=_0x24a44e['map'](_0x519714=>_0x374bb9==null?void 0x0:_0x374bb9[_0x12634d(0x43d)][_0x12634d(0x4e4)](_0x22dbe0=>_0x22dbe0['action']===_0x519714))[_0x12634d(0x241)](_0x44d738=>!!_0x44d738);return{'config':_0x47474b,'result':{'actions':_0x5011e7,'error':_0x3c32cb[_0x12634d(0x47c)]}};});}})}));}[_0x17756b(0x4ba)](){const _0x3c825e=_0x17756b;var _0x15838e,_0x575a10;const _0x2be072=this['_configService'][_0x3c825e(0x4b2)](_0x57ff1b),_0x246a6e=this[_0x3c825e(0x4ed)][_0x3c825e(0x4b2)](_0x5adfcf);return(_0x575a10=(_0x15838e=_0x246a6e==null?void 0x0:_0x246a6e['authzUrl'])!=null?_0x15838e:_0x2be072)!=null?_0x575a10:_0x461e45;}async[_0x17756b(0x455)](_0x19d8ed){const _0x19d7c5=_0x17756b,_0x1aa4eb=this[_0x19d7c5(0x4ba)]()+'/'+_0x19d8ed[_0x19d7c5(0x434)]+_0x19d7c5(0x291);return(await this['_HTTPService'][_0x19d7c5(0x266)](_0x1aa4eb,{'body':_0x19d8ed}))[_0x19d7c5(0x126)][_0x19d7c5(0xf1)]||'';}async[_0x17756b(0x3c6)](_0x2a1e80){const _0x2ada69=_0x17756b,_0x657d4b=this[_0x2ada69(0x4ba)]()+_0x2ada69(0x1f0);return(await this[_0x2ada69(0x2d8)]['post'](_0x657d4b,{'body':_0x2a1e80}))[_0x2ada69(0x126)][_0x2ada69(0x418)];}async[_0x17756b(0x521)](_0x32a02b){const _0xea5444=_0x17756b,_0x4aa510=this['_getAPIPrefixPath']()+'/'+_0x32a02b[_0xea5444(0x434)]+_0xea5444(0x394)+_0x32a02b[_0xea5444(0xf1)];await this[_0xea5444(0x2d8)][_0xea5444(0x1e1)](_0x4aa510,{'body':_0x32a02b});}async['allowed'](_0x46ac90){const _0x85b8f6=_0x17756b,_0x58f59c=this['_getAPIPrefixPath']()+'/'+_0x46ac90['objectType']+_0x85b8f6(0x394)+_0x46ac90[_0x85b8f6(0xf1)]+_0x85b8f6(0x255);return(await this[_0x85b8f6(0x2d8)][_0x85b8f6(0x266)](_0x58f59c,{'body':_0x46ac90}))[_0x85b8f6(0x126)][_0x85b8f6(0x43d)];}async[_0x17756b(0x202)](_0x3f21c4){const _0x38fe24=_0x17756b,_0x175b0b=this[_0x38fe24(0x4ba)]()+_0x38fe24(0x4f8);return(await this['_HTTPService'][_0x38fe24(0x266)](_0x175b0b,{'body':{'requests':_0x3f21c4}}))[_0x38fe24(0x126)]['objectActions'];}async[_0x17756b(0x38a)](_0x1aa0d2){const _0x5e9057=_0x17756b,_0x40d804=this['_getAPIPrefixPath']()+'/'+_0x1aa0d2['objectType']+_0x5e9057(0x3f7),_0x35f77e=await this[_0x5e9057(0x2d8)][_0x5e9057(0x266)](_0x40d804,{'body':_0x1aa0d2});return{'roles':_0x35f77e['body'][_0x5e9057(0x19c)],'actions':_0x35f77e['body'][_0x5e9057(0x43d)]};}async[_0x17756b(0x51c)](_0x226bec){const _0x4736d6=_0x17756b,_0x23b93a=this[_0x4736d6(0x4ba)]()+_0x4736d6(0x2c5);await this['_HTTPService'][_0x4736d6(0x4f4)](_0x23b93a,{'params':{'collaboratorID':_0x226bec['collaboratorID'],'objectID':_0x226bec['objectID'],'unitID':_0x226bec['unitID']}});}async['updateCollaborator'](_0x305dfb){const _0x288a92=_0x17756b,_0x558c3a=this[_0x288a92(0x4ba)]()+_0x288a92(0x2c5);await this[_0x288a92(0x2d8)][_0x288a92(0x3ae)](_0x558c3a,{'body':_0x305dfb});}async[_0x17756b(0x1e8)](_0x150152){const _0x4507ca=_0x17756b,_0x162f71=this['_getAPIPrefixPath']()+_0x4507ca(0x2c5);await this[_0x4507ca(0x2d8)][_0x4507ca(0x266)](_0x162f71,{'body':_0x150152});}async['listCollaborators'](_0x4f5fd5){const _0x18d98f=_0x17756b,_0x541d44=this[_0x18d98f(0x4ba)]()+_0x18d98f(0x2c5);return(await this['_HTTPService'][_0x18d98f(0x30c)](_0x541d44,{'params':{'objectID':_0x4f5fd5[_0x18d98f(0xf1)],'unitID':_0x4f5fd5[_0x18d98f(0x52f)]}}))[_0x18d98f(0x126)][_0x18d98f(0x20b)];}async[_0x17756b(0x41d)](_0x4a9de7){const _0x3da432=_0x17756b,_0x1fb53a=this[_0x3da432(0x4ba)]()+_0x3da432(0x2c5);await this['_HTTPService'][_0x3da432(0x1e1)](_0x1fb53a,{'body':_0x4a9de7});}},_0x1b0f0a['AuthzIoHttpService']=_0x5e4faf([_0x12c60f(0x0,_0x1c8991['Inject'](_0x2b12f0[_0x17756b(0x1af)])),_0x12c60f(0x1,_0x1c8991['Inject'](_0x1c8991[_0x17756b(0x4ef)]))],_0x1b0f0a[_0x17756b(0x416)]);var _0x25db13={'exports':{}};function _0x100640(_0x6a4a0a){const _0x403872=_0x17756b;throw new Error(_0x403872(0x40c)+_0x6a4a0a+_0x403872(0x1c5));}var _0x2733c9={'exports':{}},_0x78c075;function _0xbe1b2a(){const _0x252e98=_0x17756b;return _0x78c075||(_0x78c075=0x1,function(_0x497b78,_0x140999){(function(_0x3003e6,_0xff973b){const _0xd9e271=_0x31dd;_0x497b78[_0xd9e271(0x2d0)]=_0xff973b();}(_0x5b574c,function(){var _0x4ba505=_0x4ba505||function(_0x1ee472,_0xc51f97){const _0x22cbc5=_0x31dd;var _0x1ea87c;if(typeof window<'u'&&window['crypto']&&(_0x1ea87c=window[_0x22cbc5(0x4f5)]),typeof self<'u'&&self['crypto']&&(_0x1ea87c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x22cbc5(0x4f5)]&&(_0x1ea87c=globalThis[_0x22cbc5(0x4f5)]),!_0x1ea87c&&typeof window<'u'&&window[_0x22cbc5(0x531)]&&(_0x1ea87c=window['msCrypto']),!_0x1ea87c&&typeof _0x5b574c<'u'&&_0x5b574c['crypto']&&(_0x1ea87c=_0x5b574c['crypto']),!_0x1ea87c&&typeof _0x100640==_0x22cbc5(0x177))try{_0x1ea87c=require(_0x22cbc5(0x4f5));}catch{}var _0xda695=function(){const _0x210fb7=_0x22cbc5;if(_0x1ea87c){if(typeof _0x1ea87c[_0x210fb7(0xa4)]==_0x210fb7(0x177))try{return _0x1ea87c[_0x210fb7(0xa4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1ea87c[_0x210fb7(0x2fb)]=='function')try{return _0x1ea87c[_0x210fb7(0x2fb)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5c49a5=Object['create']||(function(){function _0x50d775(){}return function(_0x942e09){const _0x3de694=_0x31dd;var _0x53dfd4;return _0x50d775['prototype']=_0x942e09,_0x53dfd4=new _0x50d775(),_0x50d775[_0x3de694(0x3c7)]=null,_0x53dfd4;};}()),_0x5a9bbb={},_0x2da520=_0x5a9bbb['lib']={},_0x17b9c5=_0x2da520[_0x22cbc5(0x3a2)]=(function(){return{'extend':function(_0x490820){const _0x3466a3=_0x31dd;var _0x350426=_0x5c49a5(this);return _0x490820&&_0x350426[_0x3466a3(0x466)](_0x490820),(!_0x350426[_0x3466a3(0x2ea)](_0x3466a3(0x294))||this[_0x3466a3(0x294)]===_0x350426[_0x3466a3(0x294)])&&(_0x350426['init']=function(){const _0x5e631a=_0x3466a3;_0x350426[_0x5e631a(0x3b9)]['init']['apply'](this,arguments);}),_0x350426[_0x3466a3(0x294)][_0x3466a3(0x3c7)]=_0x350426,_0x350426[_0x3466a3(0x3b9)]=this,_0x350426;},'create':function(){const _0x4a7f0c=_0x31dd;var _0x3c1ddb=this['extend']();return _0x3c1ddb[_0x4a7f0c(0x294)]['apply'](_0x3c1ddb,arguments),_0x3c1ddb;},'init':function(){},'mixIn':function(_0x34da1a){const _0x8f1fef=_0x31dd;for(var _0x366f31 in _0x34da1a)_0x34da1a[_0x8f1fef(0x2ea)](_0x366f31)&&(this[_0x366f31]=_0x34da1a[_0x366f31]);_0x34da1a[_0x8f1fef(0x2ea)](_0x8f1fef(0x6e))&&(this[_0x8f1fef(0x6e)]=_0x34da1a['toString']);},'clone':function(){const _0x2aef87=_0x31dd;return this[_0x2aef87(0x294)][_0x2aef87(0x3c7)][_0x2aef87(0x3cc)](this);}};}()),_0x239259=_0x2da520[_0x22cbc5(0x420)]=_0x17b9c5[_0x22cbc5(0x3cc)]({'init':function(_0x4b6707,_0x52dc0c){const _0x38397f=_0x22cbc5;_0x4b6707=this['words']=_0x4b6707||[],_0x52dc0c!=_0xc51f97?this['sigBytes']=_0x52dc0c:this[_0x38397f(0x296)]=_0x4b6707['length']*0x4;},'toString':function(_0x2cbbb0){return(_0x2cbbb0||_0x20d2da)['stringify'](this);},'concat':function(_0x12d88d){const _0x4a11c7=_0x22cbc5;var _0x13210d=this[_0x4a11c7(0x45e)],_0x32cecb=_0x12d88d[_0x4a11c7(0x45e)],_0x168e82=this['sigBytes'],_0x2002aa=_0x12d88d[_0x4a11c7(0x296)];if(this['clamp'](),_0x168e82%0x4)for(var _0x4e9641=0x0;_0x4e9641<_0x2002aa;_0x4e9641++){var _0x2187f5=_0x32cecb[_0x4e9641>>>0x2]>>>0x18-_0x4e9641%0x4*0x8&0xff;_0x13210d[_0x168e82+_0x4e9641>>>0x2]|=_0x2187f5<<0x18-(_0x168e82+_0x4e9641)%0x4*0x8;}else{for(var _0x2b45e2=0x0;_0x2b45e2<_0x2002aa;_0x2b45e2+=0x4)_0x13210d[_0x168e82+_0x2b45e2>>>0x2]=_0x32cecb[_0x2b45e2>>>0x2];}return this[_0x4a11c7(0x296)]+=_0x2002aa,this;},'clamp':function(){const _0x3493b6=_0x22cbc5;var _0x13d27f=this[_0x3493b6(0x45e)],_0x3d63e3=this[_0x3493b6(0x296)];_0x13d27f[_0x3d63e3>>>0x2]&=0xffffffff<<0x20-_0x3d63e3%0x4*0x8,_0x13d27f[_0x3493b6(0x189)]=_0x1ee472[_0x3493b6(0x445)](_0x3d63e3/0x4);},'clone':function(){const _0x36bc11=_0x22cbc5;var _0x2aff15=_0x17b9c5[_0x36bc11(0xc6)][_0x36bc11(0x399)](this);return _0x2aff15[_0x36bc11(0x45e)]=this[_0x36bc11(0x45e)][_0x36bc11(0x12b)](0x0),_0x2aff15;},'random':function(_0x4c22ff){const _0x10842a=_0x22cbc5;for(var _0x52f7c7=[],_0x37f14f=0x0;_0x37f14f<_0x4c22ff;_0x37f14f+=0x4)_0x52f7c7['push'](_0xda695());return new _0x239259[(_0x10842a(0x294))](_0x52f7c7,_0x4c22ff);}}),_0x2d4cc0=_0x5a9bbb[_0x22cbc5(0xee)]={},_0x20d2da=_0x2d4cc0[_0x22cbc5(0x374)]={'stringify':function(_0x6b2cd6){const _0x521888=_0x22cbc5;for(var _0x4c392a=_0x6b2cd6[_0x521888(0x45e)],_0x2c281a=_0x6b2cd6[_0x521888(0x296)],_0x24a503=[],_0x3182ea=0x0;_0x3182ea<_0x2c281a;_0x3182ea++){var _0x1ca112=_0x4c392a[_0x3182ea>>>0x2]>>>0x18-_0x3182ea%0x4*0x8&0xff;_0x24a503[_0x521888(0x1c1)]((_0x1ca112>>>0x4)['toString'](0x10)),_0x24a503['push']((_0x1ca112&0xf)[_0x521888(0x6e)](0x10));}return _0x24a503[_0x521888(0x20a)]('');},'parse':function(_0x3a2f2b){const _0x2203ea=_0x22cbc5;for(var _0x1cbff2=_0x3a2f2b[_0x2203ea(0x189)],_0x467586=[],_0x2d336b=0x0;_0x2d336b<_0x1cbff2;_0x2d336b+=0x2)_0x467586[_0x2d336b>>>0x3]|=parseInt(_0x3a2f2b['substr'](_0x2d336b,0x2),0x10)<<0x18-_0x2d336b%0x8*0x4;return new _0x239259['init'](_0x467586,_0x1cbff2/0x2);}},_0x15b047=_0x2d4cc0[_0x22cbc5(0x432)]={'stringify':function(_0x2a4a0a){const _0x2f48f4=_0x22cbc5;for(var _0x5e6370=_0x2a4a0a[_0x2f48f4(0x45e)],_0x41c4da=_0x2a4a0a[_0x2f48f4(0x296)],_0x1a3089=[],_0x4609eb=0x0;_0x4609eb<_0x41c4da;_0x4609eb++){var _0x1b3778=_0x5e6370[_0x4609eb>>>0x2]>>>0x18-_0x4609eb%0x4*0x8&0xff;_0x1a3089['push'](String[_0x2f48f4(0x3d7)](_0x1b3778));}return _0x1a3089[_0x2f48f4(0x20a)]('');},'parse':function(_0x12e549){const _0x532107=_0x22cbc5;for(var _0x32162b=_0x12e549[_0x532107(0x189)],_0x18b155=[],_0x4e7b68=0x0;_0x4e7b68<_0x32162b;_0x4e7b68++)_0x18b155[_0x4e7b68>>>0x2]|=(_0x12e549['charCodeAt'](_0x4e7b68)&0xff)<<0x18-_0x4e7b68%0x4*0x8;return new _0x239259[(_0x532107(0x294))](_0x18b155,_0x32162b);}},_0x3c1693=_0x2d4cc0['Utf8']={'stringify':function(_0x477ed1){const _0x2e112b=_0x22cbc5;try{return decodeURIComponent(escape(_0x15b047['stringify'](_0x477ed1)));}catch{throw new Error(_0x2e112b(0x254));}},'parse':function(_0x1809b5){const _0x307f3c=_0x22cbc5;return _0x15b047[_0x307f3c(0x25f)](unescape(encodeURIComponent(_0x1809b5)));}},_0x4fbf79=_0x2da520[_0x22cbc5(0x1f9)]=_0x17b9c5[_0x22cbc5(0x3cc)]({'reset':function(){const _0x440349=_0x22cbc5;this['_data']=new _0x239259[(_0x440349(0x294))](),this[_0x440349(0x1a1)]=0x0;},'_append':function(_0xfaf727){const _0x1b2726=_0x22cbc5;typeof _0xfaf727==_0x1b2726(0x530)&&(_0xfaf727=_0x3c1693[_0x1b2726(0x25f)](_0xfaf727)),this[_0x1b2726(0x8d)][_0x1b2726(0x365)](_0xfaf727),this['_nDataBytes']+=_0xfaf727[_0x1b2726(0x296)];},'_process':function(_0xfac3fc){const _0x3b006d=_0x22cbc5;var _0x16250d,_0x2ceee0=this[_0x3b006d(0x8d)],_0x1607ef=_0x2ceee0[_0x3b006d(0x45e)],_0x57b4c9=_0x2ceee0[_0x3b006d(0x296)],_0x55befe=this[_0x3b006d(0xa8)],_0x28bcb2=_0x55befe*0x4,_0x4981ef=_0x57b4c9/_0x28bcb2;_0xfac3fc?_0x4981ef=_0x1ee472['ceil'](_0x4981ef):_0x4981ef=_0x1ee472[_0x3b006d(0xb5)]((_0x4981ef|0x0)-this['_minBufferSize'],0x0);var _0x3e683f=_0x4981ef*_0x55befe,_0x152d20=_0x1ee472[_0x3b006d(0x4f3)](_0x3e683f*0x4,_0x57b4c9);if(_0x3e683f){for(var _0x50ee2d=0x0;_0x50ee2d<_0x3e683f;_0x50ee2d+=_0x55befe)this[_0x3b006d(0x24d)](_0x1607ef,_0x50ee2d);_0x16250d=_0x1607ef[_0x3b006d(0x522)](0x0,_0x3e683f),_0x2ceee0['sigBytes']-=_0x152d20;}return new _0x239259[(_0x3b006d(0x294))](_0x16250d,_0x152d20);},'clone':function(){const _0x18e19c=_0x22cbc5;var _0x541142=_0x17b9c5['clone'][_0x18e19c(0x399)](this);return _0x541142['_data']=this[_0x18e19c(0x8d)][_0x18e19c(0xc6)](),_0x541142;},'_minBufferSize':0x0});_0x2da520[_0x22cbc5(0x155)]=_0x4fbf79[_0x22cbc5(0x3cc)]({'cfg':_0x17b9c5['extend'](),'init':function(_0x2eb8f0){const _0x1015f5=_0x22cbc5;this['cfg']=this[_0x1015f5(0x49a)]['extend'](_0x2eb8f0),this['reset']();},'reset':function(){const _0x20d05f=_0x22cbc5;_0x4fbf79[_0x20d05f(0x77)][_0x20d05f(0x399)](this),this[_0x20d05f(0x363)]();},'update':function(_0x154b74){const _0x23bb48=_0x22cbc5;return this['_append'](_0x154b74),this[_0x23bb48(0xbd)](),this;},'finalize':function(_0x41a20c){const _0x37492a=_0x22cbc5;_0x41a20c&&this[_0x37492a(0x10d)](_0x41a20c);var _0x52e4e9=this[_0x37492a(0x409)]();return _0x52e4e9;},'blockSize':0x10,'_createHelper':function(_0x4fa744){return function(_0x5d8007,_0xde1ab9){const _0xf49966=_0x31dd;return new _0x4fa744[(_0xf49966(0x294))](_0xde1ab9)[_0xf49966(0x3bd)](_0x5d8007);};},'_createHmacHelper':function(_0x555afd){return function(_0x5c9307,_0x233fdb){const _0x23a840=_0x31dd;return new _0x33c43b[(_0x23a840(0x3a8))][(_0x23a840(0x294))](_0x555afd,_0x233fdb)[_0x23a840(0x3bd)](_0x5c9307);};}});var _0x33c43b=_0x5a9bbb[_0x22cbc5(0x8b)]={};return _0x5a9bbb;}(Math);return _0x4ba505;}));}(_0x2733c9)),_0x2733c9[_0x252e98(0x2d0)];}var _0x26951d={'exports':{}},_0x489a3c;function _0x180106(){const _0x39809e=_0x17756b;return _0x489a3c||(_0x489a3c=0x1,function(_0xbba64d,_0x44338b){(function(_0x34eceb,_0xee2485){const _0x38df6c=_0x31dd;_0xbba64d[_0x38df6c(0x2d0)]=_0xee2485(_0xbe1b2a());}(_0x5b574c,function(_0x4eb40c){const _0xc064ee=_0x31dd;return(function(){const _0x35e3e2=_0x31dd;var _0x453738=_0x4eb40c,_0x4a89fd=_0x453738[_0x35e3e2(0x4f2)],_0x57f7f2=_0x4a89fd[_0x35e3e2(0x420)],_0x1e3bc6=_0x453738['enc'];_0x1e3bc6[_0x35e3e2(0x239)]={'stringify':function(_0x4910fe){const _0x5bb68f=_0x35e3e2;var _0xd50397=_0x4910fe[_0x5bb68f(0x45e)],_0x20aba6=_0x4910fe[_0x5bb68f(0x296)],_0x7f7ed=this['_map'];_0x4910fe['clamp']();for(var _0x56e74c=[],_0x42d354=0x0;_0x42d354<_0x20aba6;_0x42d354+=0x3)for(var _0x6f403=_0xd50397[_0x42d354>>>0x2]>>>0x18-_0x42d354%0x4*0x8&0xff,_0x103c57=_0xd50397[_0x42d354+0x1>>>0x2]>>>0x18-(_0x42d354+0x1)%0x4*0x8&0xff,_0x36047e=_0xd50397[_0x42d354+0x2>>>0x2]>>>0x18-(_0x42d354+0x2)%0x4*0x8&0xff,_0xd9cce5=_0x6f403<<0x10|_0x103c57<<0x8|_0x36047e,_0x43c99f=0x0;_0x43c99f<0x4&&_0x42d354+_0x43c99f*0.75<_0x20aba6;_0x43c99f++)_0x56e74c[_0x5bb68f(0x1c1)](_0x7f7ed['charAt'](_0xd9cce5>>>0x6*(0x3-_0x43c99f)&0x3f));var _0x43d4e3=_0x7f7ed[_0x5bb68f(0x8f)](0x40);if(_0x43d4e3){for(;_0x56e74c[_0x5bb68f(0x189)]%0x4;)_0x56e74c[_0x5bb68f(0x1c1)](_0x43d4e3);}return _0x56e74c[_0x5bb68f(0x20a)]('');},'parse':function(_0x512c86){const _0x1e04e9=_0x35e3e2;var _0x5ad9b9=_0x512c86[_0x1e04e9(0x189)],_0x5c24ed=this[_0x1e04e9(0x4bb)],_0x2404ab=this[_0x1e04e9(0xe5)];if(!_0x2404ab){_0x2404ab=this[_0x1e04e9(0xe5)]=[];for(var _0x4d96f8=0x0;_0x4d96f8<_0x5c24ed[_0x1e04e9(0x189)];_0x4d96f8++)_0x2404ab[_0x5c24ed['charCodeAt'](_0x4d96f8)]=_0x4d96f8;}var _0x53972d=_0x5c24ed[_0x1e04e9(0x8f)](0x40);if(_0x53972d){var _0xcb1010=_0x512c86[_0x1e04e9(0x222)](_0x53972d);_0xcb1010!==-0x1&&(_0x5ad9b9=_0xcb1010);}return _0x3dadce(_0x512c86,_0x5ad9b9,_0x2404ab);},'_map':_0x35e3e2(0xc9)};function _0x3dadce(_0x17e5ff,_0x76e72,_0x2e615a){const _0x4b11c9=_0x35e3e2;for(var _0xb7a784=[],_0x23ac9e=0x0,_0xb99796=0x0;_0xb99796<_0x76e72;_0xb99796++)if(_0xb99796%0x4){var _0x38c393=_0x2e615a[_0x17e5ff[_0x4b11c9(0x499)](_0xb99796-0x1)]<<_0xb99796%0x4*0x2,_0x484c82=_0x2e615a[_0x17e5ff[_0x4b11c9(0x499)](_0xb99796)]>>>0x6-_0xb99796%0x4*0x2,_0x4620e8=_0x38c393|_0x484c82;_0xb7a784[_0x23ac9e>>>0x2]|=_0x4620e8<<0x18-_0x23ac9e%0x4*0x8,_0x23ac9e++;}return _0x57f7f2['create'](_0xb7a784,_0x23ac9e);}}()),_0x4eb40c['enc'][_0xc064ee(0x239)];}));}(_0x26951d)),_0x26951d[_0x39809e(0x2d0)];}var _0x405c47={'exports':{}},_0x199403;function _0x390315(){const _0x1d4731=_0x17756b;return _0x199403||(_0x199403=0x1,function(_0x783b5e,_0x5d0a64){(function(_0x511611,_0x561fdf){const _0x996078=_0x31dd;_0x783b5e[_0x996078(0x2d0)]=_0x561fdf(_0xbe1b2a());}(_0x5b574c,function(_0x5d293c){return function(_0x14b1dc){const _0xf4e06c=_0x31dd;var _0x1a3e0e=_0x5d293c,_0xc40a09=_0x1a3e0e[_0xf4e06c(0x4f2)],_0x572324=_0xc40a09['WordArray'],_0x53d587=_0xc40a09[_0xf4e06c(0x155)],_0x45afac=_0x1a3e0e[_0xf4e06c(0x8b)],_0x4a2f93=[];(function(){const _0x4277c2=_0xf4e06c;for(var _0xd41f86=0x0;_0xd41f86<0x40;_0xd41f86++)_0x4a2f93[_0xd41f86]=_0x14b1dc[_0x4277c2(0x4a9)](_0x14b1dc['sin'](_0xd41f86+0x1))*0x100000000|0x0;}());var _0x403b05=_0x45afac[_0xf4e06c(0x33d)]=_0x53d587[_0xf4e06c(0x3cc)]({'_doReset':function(){const _0x29a8eb=_0xf4e06c;this[_0x29a8eb(0x71)]=new _0x572324['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa4661d,_0x4aca82){const _0x2fa0b2=_0xf4e06c;for(var _0x47ff34=0x0;_0x47ff34<0x10;_0x47ff34++){var _0x502317=_0x4aca82+_0x47ff34,_0x59c010=_0xa4661d[_0x502317];_0xa4661d[_0x502317]=(_0x59c010<<0x8|_0x59c010>>>0x18)&0xff00ff|(_0x59c010<<0x18|_0x59c010>>>0x8)&0xff00ff00;}var _0x11af09=this[_0x2fa0b2(0x71)][_0x2fa0b2(0x45e)],_0x482c95=_0xa4661d[_0x4aca82+0x0],_0x411360=_0xa4661d[_0x4aca82+0x1],_0x4f54cd=_0xa4661d[_0x4aca82+0x2],_0x1fd4e2=_0xa4661d[_0x4aca82+0x3],_0x20331f=_0xa4661d[_0x4aca82+0x4],_0x22d5ed=_0xa4661d[_0x4aca82+0x5],_0x22a018=_0xa4661d[_0x4aca82+0x6],_0x123389=_0xa4661d[_0x4aca82+0x7],_0x1ecfc3=_0xa4661d[_0x4aca82+0x8],_0x42b616=_0xa4661d[_0x4aca82+0x9],_0x462d4e=_0xa4661d[_0x4aca82+0xa],_0x5c96ce=_0xa4661d[_0x4aca82+0xb],_0x15c3c1=_0xa4661d[_0x4aca82+0xc],_0x38d491=_0xa4661d[_0x4aca82+0xd],_0x19c955=_0xa4661d[_0x4aca82+0xe],_0x583114=_0xa4661d[_0x4aca82+0xf],_0x392771=_0x11af09[0x0],_0x5ee135=_0x11af09[0x1],_0x66dabb=_0x11af09[0x2],_0x16be97=_0x11af09[0x3];_0x392771=_0x276f69(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x482c95,0x7,_0x4a2f93[0x0]),_0x16be97=_0x276f69(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x411360,0xc,_0x4a2f93[0x1]),_0x66dabb=_0x276f69(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x4f54cd,0x11,_0x4a2f93[0x2]),_0x5ee135=_0x276f69(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x1fd4e2,0x16,_0x4a2f93[0x3]),_0x392771=_0x276f69(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x20331f,0x7,_0x4a2f93[0x4]),_0x16be97=_0x276f69(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x22d5ed,0xc,_0x4a2f93[0x5]),_0x66dabb=_0x276f69(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x22a018,0x11,_0x4a2f93[0x6]),_0x5ee135=_0x276f69(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x123389,0x16,_0x4a2f93[0x7]),_0x392771=_0x276f69(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x1ecfc3,0x7,_0x4a2f93[0x8]),_0x16be97=_0x276f69(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x42b616,0xc,_0x4a2f93[0x9]),_0x66dabb=_0x276f69(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x462d4e,0x11,_0x4a2f93[0xa]),_0x5ee135=_0x276f69(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x5c96ce,0x16,_0x4a2f93[0xb]),_0x392771=_0x276f69(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x15c3c1,0x7,_0x4a2f93[0xc]),_0x16be97=_0x276f69(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x38d491,0xc,_0x4a2f93[0xd]),_0x66dabb=_0x276f69(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x19c955,0x11,_0x4a2f93[0xe]),_0x5ee135=_0x276f69(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x583114,0x16,_0x4a2f93[0xf]),_0x392771=_0x4a0761(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x411360,0x5,_0x4a2f93[0x10]),_0x16be97=_0x4a0761(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x22a018,0x9,_0x4a2f93[0x11]),_0x66dabb=_0x4a0761(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x5c96ce,0xe,_0x4a2f93[0x12]),_0x5ee135=_0x4a0761(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x482c95,0x14,_0x4a2f93[0x13]),_0x392771=_0x4a0761(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x22d5ed,0x5,_0x4a2f93[0x14]),_0x16be97=_0x4a0761(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x462d4e,0x9,_0x4a2f93[0x15]),_0x66dabb=_0x4a0761(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x583114,0xe,_0x4a2f93[0x16]),_0x5ee135=_0x4a0761(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x20331f,0x14,_0x4a2f93[0x17]),_0x392771=_0x4a0761(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x42b616,0x5,_0x4a2f93[0x18]),_0x16be97=_0x4a0761(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x19c955,0x9,_0x4a2f93[0x19]),_0x66dabb=_0x4a0761(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x1fd4e2,0xe,_0x4a2f93[0x1a]),_0x5ee135=_0x4a0761(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x1ecfc3,0x14,_0x4a2f93[0x1b]),_0x392771=_0x4a0761(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x38d491,0x5,_0x4a2f93[0x1c]),_0x16be97=_0x4a0761(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x4f54cd,0x9,_0x4a2f93[0x1d]),_0x66dabb=_0x4a0761(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x123389,0xe,_0x4a2f93[0x1e]),_0x5ee135=_0x4a0761(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x15c3c1,0x14,_0x4a2f93[0x1f]),_0x392771=_0x435d8f(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x22d5ed,0x4,_0x4a2f93[0x20]),_0x16be97=_0x435d8f(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x1ecfc3,0xb,_0x4a2f93[0x21]),_0x66dabb=_0x435d8f(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x5c96ce,0x10,_0x4a2f93[0x22]),_0x5ee135=_0x435d8f(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x19c955,0x17,_0x4a2f93[0x23]),_0x392771=_0x435d8f(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x411360,0x4,_0x4a2f93[0x24]),_0x16be97=_0x435d8f(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x20331f,0xb,_0x4a2f93[0x25]),_0x66dabb=_0x435d8f(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x123389,0x10,_0x4a2f93[0x26]),_0x5ee135=_0x435d8f(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x462d4e,0x17,_0x4a2f93[0x27]),_0x392771=_0x435d8f(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x38d491,0x4,_0x4a2f93[0x28]),_0x16be97=_0x435d8f(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x482c95,0xb,_0x4a2f93[0x29]),_0x66dabb=_0x435d8f(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x1fd4e2,0x10,_0x4a2f93[0x2a]),_0x5ee135=_0x435d8f(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x22a018,0x17,_0x4a2f93[0x2b]),_0x392771=_0x435d8f(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x42b616,0x4,_0x4a2f93[0x2c]),_0x16be97=_0x435d8f(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x15c3c1,0xb,_0x4a2f93[0x2d]),_0x66dabb=_0x435d8f(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x583114,0x10,_0x4a2f93[0x2e]),_0x5ee135=_0x435d8f(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x4f54cd,0x17,_0x4a2f93[0x2f]),_0x392771=_0x3f41ec(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x482c95,0x6,_0x4a2f93[0x30]),_0x16be97=_0x3f41ec(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x123389,0xa,_0x4a2f93[0x31]),_0x66dabb=_0x3f41ec(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x19c955,0xf,_0x4a2f93[0x32]),_0x5ee135=_0x3f41ec(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x22d5ed,0x15,_0x4a2f93[0x33]),_0x392771=_0x3f41ec(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x15c3c1,0x6,_0x4a2f93[0x34]),_0x16be97=_0x3f41ec(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x1fd4e2,0xa,_0x4a2f93[0x35]),_0x66dabb=_0x3f41ec(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x462d4e,0xf,_0x4a2f93[0x36]),_0x5ee135=_0x3f41ec(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x411360,0x15,_0x4a2f93[0x37]),_0x392771=_0x3f41ec(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x1ecfc3,0x6,_0x4a2f93[0x38]),_0x16be97=_0x3f41ec(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x583114,0xa,_0x4a2f93[0x39]),_0x66dabb=_0x3f41ec(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x22a018,0xf,_0x4a2f93[0x3a]),_0x5ee135=_0x3f41ec(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x38d491,0x15,_0x4a2f93[0x3b]),_0x392771=_0x3f41ec(_0x392771,_0x5ee135,_0x66dabb,_0x16be97,_0x20331f,0x6,_0x4a2f93[0x3c]),_0x16be97=_0x3f41ec(_0x16be97,_0x392771,_0x5ee135,_0x66dabb,_0x5c96ce,0xa,_0x4a2f93[0x3d]),_0x66dabb=_0x3f41ec(_0x66dabb,_0x16be97,_0x392771,_0x5ee135,_0x4f54cd,0xf,_0x4a2f93[0x3e]),_0x5ee135=_0x3f41ec(_0x5ee135,_0x66dabb,_0x16be97,_0x392771,_0x42b616,0x15,_0x4a2f93[0x3f]),_0x11af09[0x0]=_0x11af09[0x0]+_0x392771|0x0,_0x11af09[0x1]=_0x11af09[0x1]+_0x5ee135|0x0,_0x11af09[0x2]=_0x11af09[0x2]+_0x66dabb|0x0,_0x11af09[0x3]=_0x11af09[0x3]+_0x16be97|0x0;},'_doFinalize':function(){const _0x20ff2f=_0xf4e06c;var _0x2e80e1=this[_0x20ff2f(0x8d)],_0x2cf802=_0x2e80e1['words'],_0x2a140d=this[_0x20ff2f(0x1a1)]*0x8,_0x908013=_0x2e80e1[_0x20ff2f(0x296)]*0x8;_0x2cf802[_0x908013>>>0x5]|=0x80<<0x18-_0x908013%0x20;var _0x34e206=_0x14b1dc[_0x20ff2f(0x22c)](_0x2a140d/0x100000000),_0x53d884=_0x2a140d;_0x2cf802[(_0x908013+0x40>>>0x9<<0x4)+0xf]=(_0x34e206<<0x8|_0x34e206>>>0x18)&0xff00ff|(_0x34e206<<0x18|_0x34e206>>>0x8)&0xff00ff00,_0x2cf802[(_0x908013+0x40>>>0x9<<0x4)+0xe]=(_0x53d884<<0x8|_0x53d884>>>0x18)&0xff00ff|(_0x53d884<<0x18|_0x53d884>>>0x8)&0xff00ff00,_0x2e80e1[_0x20ff2f(0x296)]=(_0x2cf802[_0x20ff2f(0x189)]+0x1)*0x4,this[_0x20ff2f(0xbd)]();for(var _0x413e07=this[_0x20ff2f(0x71)],_0x4bbb23=_0x413e07[_0x20ff2f(0x45e)],_0x14813a=0x0;_0x14813a<0x4;_0x14813a++){var _0x47677b=_0x4bbb23[_0x14813a];_0x4bbb23[_0x14813a]=(_0x47677b<<0x8|_0x47677b>>>0x18)&0xff00ff|(_0x47677b<<0x18|_0x47677b>>>0x8)&0xff00ff00;}return _0x413e07;},'clone':function(){const _0x290ae9=_0xf4e06c;var _0x5d9236=_0x53d587[_0x290ae9(0xc6)]['call'](this);return _0x5d9236[_0x290ae9(0x71)]=this['_hash'][_0x290ae9(0xc6)](),_0x5d9236;}});function _0x276f69(_0x4ccc4a,_0x25db58,_0x516fc3,_0x31177e,_0x37e9cf,_0x3bc138,_0x3f0704){var _0x2eaf1e=_0x4ccc4a+(_0x25db58&_0x516fc3|~_0x25db58&_0x31177e)+_0x37e9cf+_0x3f0704;return(_0x2eaf1e<<_0x3bc138|_0x2eaf1e>>>0x20-_0x3bc138)+_0x25db58;}function _0x4a0761(_0x444cb5,_0x32a46e,_0x5bdd72,_0x221060,_0x3c52e1,_0x52edc9,_0x499411){var _0x35ba10=_0x444cb5+(_0x32a46e&_0x221060|_0x5bdd72&~_0x221060)+_0x3c52e1+_0x499411;return(_0x35ba10<<_0x52edc9|_0x35ba10>>>0x20-_0x52edc9)+_0x32a46e;}function _0x435d8f(_0xb80d39,_0x1377d8,_0x59c3bc,_0x52712f,_0x352332,_0x166d0d,_0x18fc8f){var _0x5d2d12=_0xb80d39+(_0x1377d8^_0x59c3bc^_0x52712f)+_0x352332+_0x18fc8f;return(_0x5d2d12<<_0x166d0d|_0x5d2d12>>>0x20-_0x166d0d)+_0x1377d8;}function _0x3f41ec(_0x255fa5,_0x3398a1,_0x33399e,_0x552d3d,_0x906cde,_0x2b3d51,_0x55e161){var _0x294bde=_0x255fa5+(_0x33399e^(_0x3398a1|~_0x552d3d))+_0x906cde+_0x55e161;return(_0x294bde<<_0x2b3d51|_0x294bde>>>0x20-_0x2b3d51)+_0x3398a1;}_0x1a3e0e[_0xf4e06c(0x33d)]=_0x53d587[_0xf4e06c(0x435)](_0x403b05),_0x1a3e0e[_0xf4e06c(0x3bf)]=_0x53d587[_0xf4e06c(0x354)](_0x403b05);}(Math),_0x5d293c['MD5'];}));}(_0x405c47)),_0x405c47[_0x1d4731(0x2d0)];}var _0xf71d33={'exports':{}},_0x39e99f={'exports':{}},_0xd08e00;function _0x2a5d18(){const _0x233fc2=_0x17756b;return _0xd08e00||(_0xd08e00=0x1,function(_0x33ea29,_0xb755a0){(function(_0x3ebea0,_0x3331e9){const _0x37c606=_0x31dd;_0x33ea29[_0x37c606(0x2d0)]=_0x3331e9(_0xbe1b2a());}(_0x5b574c,function(_0x563ff8){return(function(){const _0x3d455f=_0x31dd;var _0x1b8673=_0x563ff8,_0x58ddd5=_0x1b8673[_0x3d455f(0x4f2)],_0x5bff44=_0x58ddd5[_0x3d455f(0x420)],_0x1f04a8=_0x58ddd5[_0x3d455f(0x155)],_0x4377ee=_0x1b8673[_0x3d455f(0x8b)],_0x4bf926=[],_0x25cfa6=_0x4377ee[_0x3d455f(0x370)]=_0x1f04a8[_0x3d455f(0x3cc)]({'_doReset':function(){const _0x45a013=_0x3d455f;this[_0x45a013(0x71)]=new _0x5bff44[(_0x45a013(0x294))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3278f4,_0x57ba47){const _0x463c79=_0x3d455f;for(var _0x9e9fc9=this['_hash'][_0x463c79(0x45e)],_0x36b92f=_0x9e9fc9[0x0],_0x12b4c7=_0x9e9fc9[0x1],_0x4b3aee=_0x9e9fc9[0x2],_0x55ee42=_0x9e9fc9[0x3],_0x4518e9=_0x9e9fc9[0x4],_0x39c11c=0x0;_0x39c11c<0x50;_0x39c11c++){if(_0x39c11c<0x10)_0x4bf926[_0x39c11c]=_0x3278f4[_0x57ba47+_0x39c11c]|0x0;else{var _0x526aed=_0x4bf926[_0x39c11c-0x3]^_0x4bf926[_0x39c11c-0x8]^_0x4bf926[_0x39c11c-0xe]^_0x4bf926[_0x39c11c-0x10];_0x4bf926[_0x39c11c]=_0x526aed<<0x1|_0x526aed>>>0x1f;}var _0x3eb9e3=(_0x36b92f<<0x5|_0x36b92f>>>0x1b)+_0x4518e9+_0x4bf926[_0x39c11c];_0x39c11c<0x14?_0x3eb9e3+=(_0x12b4c7&_0x4b3aee|~_0x12b4c7&_0x55ee42)+0x5a827999:_0x39c11c<0x28?_0x3eb9e3+=(_0x12b4c7^_0x4b3aee^_0x55ee42)+0x6ed9eba1:_0x39c11c<0x3c?_0x3eb9e3+=(_0x12b4c7&_0x4b3aee|_0x12b4c7&_0x55ee42|_0x4b3aee&_0x55ee42)-0x70e44324:_0x3eb9e3+=(_0x12b4c7^_0x4b3aee^_0x55ee42)-0x359d3e2a,_0x4518e9=_0x55ee42,_0x55ee42=_0x4b3aee,_0x4b3aee=_0x12b4c7<<0x1e|_0x12b4c7>>>0x2,_0x12b4c7=_0x36b92f,_0x36b92f=_0x3eb9e3;}_0x9e9fc9[0x0]=_0x9e9fc9[0x0]+_0x36b92f|0x0,_0x9e9fc9[0x1]=_0x9e9fc9[0x1]+_0x12b4c7|0x0,_0x9e9fc9[0x2]=_0x9e9fc9[0x2]+_0x4b3aee|0x0,_0x9e9fc9[0x3]=_0x9e9fc9[0x3]+_0x55ee42|0x0,_0x9e9fc9[0x4]=_0x9e9fc9[0x4]+_0x4518e9|0x0;},'_doFinalize':function(){const _0x4091cb=_0x3d455f;var _0x35632c=this[_0x4091cb(0x8d)],_0x2e0728=_0x35632c[_0x4091cb(0x45e)],_0x32c63f=this[_0x4091cb(0x1a1)]*0x8,_0x40596d=_0x35632c[_0x4091cb(0x296)]*0x8;return _0x2e0728[_0x40596d>>>0x5]|=0x80<<0x18-_0x40596d%0x20,_0x2e0728[(_0x40596d+0x40>>>0x9<<0x4)+0xe]=Math[_0x4091cb(0x22c)](_0x32c63f/0x100000000),_0x2e0728[(_0x40596d+0x40>>>0x9<<0x4)+0xf]=_0x32c63f,_0x35632c[_0x4091cb(0x296)]=_0x2e0728[_0x4091cb(0x189)]*0x4,this[_0x4091cb(0xbd)](),this['_hash'];},'clone':function(){const _0x222049=_0x3d455f;var _0x32cc1a=_0x1f04a8[_0x222049(0xc6)][_0x222049(0x399)](this);return _0x32cc1a[_0x222049(0x71)]=this[_0x222049(0x71)][_0x222049(0xc6)](),_0x32cc1a;}});_0x1b8673[_0x3d455f(0x370)]=_0x1f04a8['_createHelper'](_0x25cfa6),_0x1b8673[_0x3d455f(0x485)]=_0x1f04a8['_createHmacHelper'](_0x25cfa6);}()),_0x563ff8['SHA1'];}));}(_0x39e99f)),_0x39e99f[_0x233fc2(0x2d0)];}var _0x4d9778={'exports':{}},_0x14e81c;function _0xe9bcc(){const _0x16d116=_0x17756b;return _0x14e81c||(_0x14e81c=0x1,function(_0x3b6c51,_0x2c5223){(function(_0x36aaae,_0x37adac){const _0x2fcd57=_0x31dd;_0x3b6c51[_0x2fcd57(0x2d0)]=_0x37adac(_0xbe1b2a());}(_0x5b574c,function(_0x1cb5fe){(function(){const _0x4e0e07=_0x31dd;var _0x27e3e1=_0x1cb5fe,_0x3eb347=_0x27e3e1[_0x4e0e07(0x4f2)],_0x2a9581=_0x3eb347['Base'],_0x5a3f13=_0x27e3e1[_0x4e0e07(0xee)],_0x368c83=_0x5a3f13[_0x4e0e07(0x441)],_0x4d69f6=_0x27e3e1[_0x4e0e07(0x8b)];_0x4d69f6['HMAC']=_0x2a9581['extend']({'init':function(_0x2dd38c,_0x1e64b3){const _0x582233=_0x4e0e07;_0x2dd38c=this[_0x582233(0x2eb)]=new _0x2dd38c[(_0x582233(0x294))](),typeof _0x1e64b3=='string'&&(_0x1e64b3=_0x368c83[_0x582233(0x25f)](_0x1e64b3));var _0x59d1ea=_0x2dd38c['blockSize'],_0x546947=_0x59d1ea*0x4;_0x1e64b3[_0x582233(0x296)]>_0x546947&&(_0x1e64b3=_0x2dd38c[_0x582233(0x3bd)](_0x1e64b3)),_0x1e64b3[_0x582233(0x1fb)]();for(var _0x442a1f=this['_oKey']=_0x1e64b3[_0x582233(0xc6)](),_0x2d440f=this[_0x582233(0x274)]=_0x1e64b3['clone'](),_0x33d873=_0x442a1f[_0x582233(0x45e)],_0x4195b3=_0x2d440f['words'],_0x2d9218=0x0;_0x2d9218<_0x59d1ea;_0x2d9218++)_0x33d873[_0x2d9218]^=0x5c5c5c5c,_0x4195b3[_0x2d9218]^=0x36363636;_0x442a1f[_0x582233(0x296)]=_0x2d440f[_0x582233(0x296)]=_0x546947,this[_0x582233(0x77)]();},'reset':function(){const _0x222824=_0x4e0e07;var _0x1a4e03=this['_hasher'];_0x1a4e03['reset'](),_0x1a4e03['update'](this[_0x222824(0x274)]);},'update':function(_0x13a306){const _0xa9c102=_0x4e0e07;return this['_hasher'][_0xa9c102(0x521)](_0x13a306),this;},'finalize':function(_0x3f8415){const _0x5b1671=_0x4e0e07;var _0x2b34e1=this[_0x5b1671(0x2eb)],_0x37dc27=_0x2b34e1[_0x5b1671(0x3bd)](_0x3f8415);_0x2b34e1[_0x5b1671(0x77)]();var _0x22843a=_0x2b34e1[_0x5b1671(0x3bd)](this[_0x5b1671(0x178)][_0x5b1671(0xc6)]()[_0x5b1671(0x365)](_0x37dc27));return _0x22843a;}});}());}));}(_0x4d9778)),_0x4d9778[_0x16d116(0x2d0)];}var _0x29daf2;function _0x582e1f(){const _0x1b0520=_0x17756b;return _0x29daf2||(_0x29daf2=0x1,function(_0x15fa92,_0x1d11d7){(function(_0x203b5c,_0x568058,_0x4b37d9){const _0xd24ab0=_0x31dd;_0x15fa92[_0xd24ab0(0x2d0)]=_0x568058(_0xbe1b2a(),_0x2a5d18(),_0xe9bcc());}(_0x5b574c,function(_0x459897){const _0xcefd0b=_0x31dd;return(function(){const _0x1920d2=_0x31dd;var _0x33b34a=_0x459897,_0x28153e=_0x33b34a[_0x1920d2(0x4f2)],_0x490ce8=_0x28153e['Base'],_0x7e6bd8=_0x28153e[_0x1920d2(0x420)],_0x34eee2=_0x33b34a[_0x1920d2(0x8b)],_0x357d97=_0x34eee2[_0x1920d2(0x33d)],_0x4a4be7=_0x34eee2[_0x1920d2(0x86)]=_0x490ce8[_0x1920d2(0x3cc)]({'cfg':_0x490ce8['extend']({'keySize':0x80/0x20,'hasher':_0x357d97,'iterations':0x1}),'init':function(_0x27fd08){const _0x1fe1ee=_0x1920d2;this[_0x1fe1ee(0x49a)]=this[_0x1fe1ee(0x49a)][_0x1fe1ee(0x3cc)](_0x27fd08);},'compute':function(_0x6caa6b,_0xef1f27){const _0x6a0a15=_0x1920d2;for(var _0x366906,_0xdb981b=this['cfg'],_0x2a1962=_0xdb981b['hasher'][_0x6a0a15(0x455)](),_0x50b1a3=_0x7e6bd8[_0x6a0a15(0x455)](),_0x4af7bb=_0x50b1a3[_0x6a0a15(0x45e)],_0x5bd329=_0xdb981b[_0x6a0a15(0x31f)],_0x310d75=_0xdb981b[_0x6a0a15(0x72)];_0x4af7bb[_0x6a0a15(0x189)]<_0x5bd329;){_0x366906&&_0x2a1962['update'](_0x366906),_0x366906=_0x2a1962[_0x6a0a15(0x521)](_0x6caa6b)['finalize'](_0xef1f27),_0x2a1962[_0x6a0a15(0x77)]();for(var _0xb08375=0x1;_0xb08375<_0x310d75;_0xb08375++)_0x366906=_0x2a1962[_0x6a0a15(0x3bd)](_0x366906),_0x2a1962[_0x6a0a15(0x77)]();_0x50b1a3[_0x6a0a15(0x365)](_0x366906);}return _0x50b1a3[_0x6a0a15(0x296)]=_0x5bd329*0x4,_0x50b1a3;}});_0x33b34a['EvpKDF']=function(_0x48df83,_0x5addd4,_0x4e96c2){const _0x1ad478=_0x1920d2;return _0x4a4be7[_0x1ad478(0x455)](_0x4e96c2)['compute'](_0x48df83,_0x5addd4);};}()),_0x459897[_0xcefd0b(0x86)];}));}(_0xf71d33)),_0xf71d33[_0x1b0520(0x2d0)];}var _0x58d531={'exports':{}},_0x60b295;function _0x300c54(){return _0x60b295||(_0x60b295=0x1,function(_0x1fde87,_0x57a644){(function(_0x40e27f,_0x5b47d8,_0x3fce84){const _0x26e6d4=_0x31dd;_0x1fde87[_0x26e6d4(0x2d0)]=_0x5b47d8(_0xbe1b2a(),_0x582e1f());}(_0x5b574c,function(_0x562492){const _0x310581=_0x31dd;_0x562492[_0x310581(0x4f2)][_0x310581(0x105)]||function(_0x4cb9cf){const _0x29f60d=_0x310581;var _0x5bdaaf=_0x562492,_0x2e88df=_0x5bdaaf[_0x29f60d(0x4f2)],_0x28624e=_0x2e88df['Base'],_0x1ad45c=_0x2e88df[_0x29f60d(0x420)],_0x1a68e9=_0x2e88df[_0x29f60d(0x1f9)],_0x57f22d=_0x5bdaaf['enc'];_0x57f22d['Utf8'];var _0x5eb210=_0x57f22d[_0x29f60d(0x239)],_0x1d82d5=_0x5bdaaf[_0x29f60d(0x8b)],_0x5aeaaa=_0x1d82d5[_0x29f60d(0x86)],_0x458ae1=_0x2e88df[_0x29f60d(0x105)]=_0x1a68e9[_0x29f60d(0x3cc)]({'cfg':_0x28624e['extend'](),'createEncryptor':function(_0x16c194,_0x472f41){const _0x19642f=_0x29f60d;return this[_0x19642f(0x455)](this[_0x19642f(0x244)],_0x16c194,_0x472f41);},'createDecryptor':function(_0x53eba7,_0x570f10){const _0x41c3b4=_0x29f60d;return this[_0x41c3b4(0x455)](this[_0x41c3b4(0x32e)],_0x53eba7,_0x570f10);},'init':function(_0x3b9a9f,_0x3ca3dc,_0x398947){const _0x15deb8=_0x29f60d;this[_0x15deb8(0x49a)]=this[_0x15deb8(0x49a)][_0x15deb8(0x3cc)](_0x398947),this[_0x15deb8(0x17c)]=_0x3b9a9f,this[_0x15deb8(0x494)]=_0x3ca3dc,this[_0x15deb8(0x77)]();},'reset':function(){const _0x294e2e=_0x29f60d;_0x1a68e9[_0x294e2e(0x77)][_0x294e2e(0x399)](this),this[_0x294e2e(0x363)]();},'process':function(_0x24eeb1){const _0x166096=_0x29f60d;return this[_0x166096(0x10d)](_0x24eeb1),this[_0x166096(0xbd)]();},'finalize':function(_0x501967){const _0x47231f=_0x29f60d;_0x501967&&this['_append'](_0x501967);var _0x309317=this[_0x47231f(0x409)]();return _0x309317;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5511f9(_0x33feef){const _0x1d6719=_0x31dd;return typeof _0x33feef==_0x1d6719(0x530)?_0x3c7a66:_0x1f46fe;}return function(_0x140ae2){return{'encrypt':function(_0xb51438,_0x446752,_0x22a42b){const _0xcf90ec=_0x31dd;return _0x5511f9(_0x446752)[_0xcf90ec(0x4da)](_0x140ae2,_0xb51438,_0x446752,_0x22a42b);},'decrypt':function(_0x4b3032,_0x2961f2,_0xe14ce5){const _0x353035=_0x31dd;return _0x5511f9(_0x2961f2)[_0x353035(0x3f9)](_0x140ae2,_0x4b3032,_0x2961f2,_0xe14ce5);}};};}())});_0x2e88df[_0x29f60d(0x49f)]=_0x458ae1[_0x29f60d(0x3cc)]({'_doFinalize':function(){const _0x1d73f6=_0x29f60d;var _0xaa4c06=this[_0x1d73f6(0xbd)](!0x0);return _0xaa4c06;},'blockSize':0x1});var _0x93aa11=_0x5bdaaf[_0x29f60d(0x199)]={},_0x10a3f9=_0x2e88df['BlockCipherMode']=_0x28624e[_0x29f60d(0x3cc)]({'createEncryptor':function(_0x4ad10a,_0x5edaaa){const _0x4a935b=_0x29f60d;return this[_0x4a935b(0x338)]['create'](_0x4ad10a,_0x5edaaa);},'createDecryptor':function(_0x3e59e0,_0x204d25){const _0xca6e11=_0x29f60d;return this[_0xca6e11(0x203)]['create'](_0x3e59e0,_0x204d25);},'init':function(_0x58f0db,_0x26b219){const _0x4f4472=_0x29f60d;this[_0x4f4472(0x310)]=_0x58f0db,this[_0x4f4472(0xc8)]=_0x26b219;}}),_0xef4b3a=_0x93aa11[_0x29f60d(0x204)]=(function(){const _0x3532e1=_0x29f60d;var _0x33aa41=_0x10a3f9['extend']();_0x33aa41[_0x3532e1(0x338)]=_0x33aa41['extend']({'processBlock':function(_0x237c33,_0x574048){const _0x20430a=_0x3532e1;var _0x3851fb=this[_0x20430a(0x310)],_0xccac37=_0x3851fb[_0x20430a(0xa8)];_0x3d84af[_0x20430a(0x399)](this,_0x237c33,_0x574048,_0xccac37),_0x3851fb[_0x20430a(0x28c)](_0x237c33,_0x574048),this[_0x20430a(0x43c)]=_0x237c33[_0x20430a(0x12b)](_0x574048,_0x574048+_0xccac37);}}),_0x33aa41[_0x3532e1(0x203)]=_0x33aa41[_0x3532e1(0x3cc)]({'processBlock':function(_0x40b72f,_0x57bb03){const _0x1caf34=_0x3532e1;var _0x10a6a8=this[_0x1caf34(0x310)],_0x121818=_0x10a6a8[_0x1caf34(0xa8)],_0x2f7a6a=_0x40b72f[_0x1caf34(0x12b)](_0x57bb03,_0x57bb03+_0x121818);_0x10a6a8[_0x1caf34(0x34f)](_0x40b72f,_0x57bb03),_0x3d84af[_0x1caf34(0x399)](this,_0x40b72f,_0x57bb03,_0x121818),this[_0x1caf34(0x43c)]=_0x2f7a6a;}});function _0x3d84af(_0x3987c8,_0x216228,_0x1e09f6){const _0x51a83b=_0x3532e1;var _0x2532bc,_0x1c21e4=this[_0x51a83b(0xc8)];_0x1c21e4?(_0x2532bc=_0x1c21e4,this[_0x51a83b(0xc8)]=_0x4cb9cf):_0x2532bc=this['_prevBlock'];for(var _0x39faf4=0x0;_0x39faf4<_0x1e09f6;_0x39faf4++)_0x3987c8[_0x216228+_0x39faf4]^=_0x2532bc[_0x39faf4];}return _0x33aa41;}()),_0x269385=_0x5bdaaf[_0x29f60d(0x456)]={},_0x2741b7=_0x269385[_0x29f60d(0x404)]={'pad':function(_0x46f387,_0x3220cc){const _0x8e018b=_0x29f60d;for(var _0x4f07d0=_0x3220cc*0x4,_0x28a5f9=_0x4f07d0-_0x46f387[_0x8e018b(0x296)]%_0x4f07d0,_0x23b07a=_0x28a5f9<<0x18|_0x28a5f9<<0x10|_0x28a5f9<<0x8|_0x28a5f9,_0x3f801b=[],_0x3622ed=0x0;_0x3622ed<_0x28a5f9;_0x3622ed+=0x4)_0x3f801b[_0x8e018b(0x1c1)](_0x23b07a);var _0x5a6aee=_0x1ad45c['create'](_0x3f801b,_0x28a5f9);_0x46f387[_0x8e018b(0x365)](_0x5a6aee);},'unpad':function(_0x540d38){const _0x48a730=_0x29f60d;var _0x299c26=_0x540d38[_0x48a730(0x45e)][_0x540d38['sigBytes']-0x1>>>0x2]&0xff;_0x540d38['sigBytes']-=_0x299c26;}};_0x2e88df[_0x29f60d(0x112)]=_0x458ae1['extend']({'cfg':_0x458ae1[_0x29f60d(0x49a)]['extend']({'mode':_0xef4b3a,'padding':_0x2741b7}),'reset':function(){const _0x4d0c63=_0x29f60d;var _0x2a7e84;_0x458ae1[_0x4d0c63(0x77)][_0x4d0c63(0x399)](this);var _0x6f443d=this[_0x4d0c63(0x49a)],_0x1c915f=_0x6f443d['iv'],_0x36696c=_0x6f443d['mode'];this[_0x4d0c63(0x17c)]==this['_ENC_XFORM_MODE']?_0x2a7e84=_0x36696c['createEncryptor']:(_0x2a7e84=_0x36696c[_0x4d0c63(0x217)],this['_minBufferSize']=0x1),this[_0x4d0c63(0x42b)]&&this[_0x4d0c63(0x42b)][_0x4d0c63(0x1dd)]==_0x2a7e84?this[_0x4d0c63(0x42b)]['init'](this,_0x1c915f&&_0x1c915f['words']):(this[_0x4d0c63(0x42b)]=_0x2a7e84[_0x4d0c63(0x399)](_0x36696c,this,_0x1c915f&&_0x1c915f[_0x4d0c63(0x45e)]),this[_0x4d0c63(0x42b)]['__creator']=_0x2a7e84);},'_doProcessBlock':function(_0xbf8a87,_0x2ecfea){const _0x3cdea7=_0x29f60d;this[_0x3cdea7(0x42b)]['processBlock'](_0xbf8a87,_0x2ecfea);},'_doFinalize':function(){const _0x569068=_0x29f60d;var _0x4d0752,_0xf3095b=this['cfg'][_0x569068(0x484)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0xf3095b[_0x569068(0x456)](this[_0x569068(0x8d)],this[_0x569068(0xa8)]),_0x4d0752=this[_0x569068(0xbd)](!0x0)):(_0x4d0752=this['_process'](!0x0),_0xf3095b[_0x569068(0x18b)](_0x4d0752)),_0x4d0752;},'blockSize':0x80/0x20});var _0x543b43=_0x2e88df['CipherParams']=_0x28624e[_0x29f60d(0x3cc)]({'init':function(_0x4ef45a){const _0x369a33=_0x29f60d;this[_0x369a33(0x466)](_0x4ef45a);},'toString':function(_0x528195){const _0x2d283e=_0x29f60d;return(_0x528195||this[_0x2d283e(0x250)])[_0x2d283e(0xe9)](this);}}),_0x58c9a4=_0x5bdaaf[_0x29f60d(0xf8)]={},_0x1ae2f9=_0x58c9a4[_0x29f60d(0x2bd)]={'stringify':function(_0x938dae){const _0x4aefca=_0x29f60d;var _0x3c89cc,_0x6dfd1a=_0x938dae['ciphertext'],_0x7bd77a=_0x938dae[_0x4aefca(0x358)];return _0x7bd77a?_0x3c89cc=_0x1ad45c['create']([0x53616c74,0x65645f5f])[_0x4aefca(0x365)](_0x7bd77a)[_0x4aefca(0x365)](_0x6dfd1a):_0x3c89cc=_0x6dfd1a,_0x3c89cc[_0x4aefca(0x6e)](_0x5eb210);},'parse':function(_0x13d25b){const _0x3c7639=_0x29f60d;var _0x12f506,_0x380899=_0x5eb210[_0x3c7639(0x25f)](_0x13d25b),_0xd688e8=_0x380899['words'];return _0xd688e8[0x0]==0x53616c74&&_0xd688e8[0x1]==0x65645f5f&&(_0x12f506=_0x1ad45c[_0x3c7639(0x455)](_0xd688e8[_0x3c7639(0x12b)](0x2,0x4)),_0xd688e8[_0x3c7639(0x522)](0x0,0x4),_0x380899[_0x3c7639(0x296)]-=0x10),_0x543b43[_0x3c7639(0x455)]({'ciphertext':_0x380899,'salt':_0x12f506});}},_0x1f46fe=_0x2e88df['SerializableCipher']=_0x28624e[_0x29f60d(0x3cc)]({'cfg':_0x28624e['extend']({'format':_0x1ae2f9}),'encrypt':function(_0x285e0d,_0x119308,_0x1326db,_0x20ea7a){const _0x2b0f99=_0x29f60d;_0x20ea7a=this[_0x2b0f99(0x49a)][_0x2b0f99(0x3cc)](_0x20ea7a);var _0x22faff=_0x285e0d[_0x2b0f99(0x3e7)](_0x1326db,_0x20ea7a),_0xede826=_0x22faff['finalize'](_0x119308),_0x4de8f4=_0x22faff[_0x2b0f99(0x49a)];return _0x543b43[_0x2b0f99(0x455)]({'ciphertext':_0xede826,'key':_0x1326db,'iv':_0x4de8f4['iv'],'algorithm':_0x285e0d,'mode':_0x4de8f4[_0x2b0f99(0x199)],'padding':_0x4de8f4['padding'],'blockSize':_0x285e0d[_0x2b0f99(0xa8)],'formatter':_0x20ea7a[_0x2b0f99(0xf8)]});},'decrypt':function(_0x383827,_0x101cea,_0x4fffe3,_0x16e3f8){const _0x53725a=_0x29f60d;_0x16e3f8=this['cfg'][_0x53725a(0x3cc)](_0x16e3f8),_0x101cea=this[_0x53725a(0x52e)](_0x101cea,_0x16e3f8[_0x53725a(0xf8)]);var _0x5340a5=_0x383827[_0x53725a(0x217)](_0x4fffe3,_0x16e3f8)[_0x53725a(0x3bd)](_0x101cea[_0x53725a(0x245)]);return _0x5340a5;},'_parse':function(_0x52bf0f,_0x503961){const _0x1db6de=_0x29f60d;return typeof _0x52bf0f==_0x1db6de(0x530)?_0x503961[_0x1db6de(0x25f)](_0x52bf0f,this):_0x52bf0f;}}),_0x374e59=_0x5bdaaf[_0x29f60d(0x512)]={},_0x296926=_0x374e59['OpenSSL']={'execute':function(_0x1bda91,_0x59aa04,_0xa3bcdc,_0x40c059,_0x38537f){const _0x47911f=_0x29f60d;if(_0x40c059||(_0x40c059=_0x1ad45c['random'](0x40/0x8)),_0x38537f)var _0x33b1ce=_0x5aeaaa[_0x47911f(0x455)]({'keySize':_0x59aa04+_0xa3bcdc,'hasher':_0x38537f})['compute'](_0x1bda91,_0x40c059);else var _0x33b1ce=_0x5aeaaa['create']({'keySize':_0x59aa04+_0xa3bcdc})[_0x47911f(0x120)](_0x1bda91,_0x40c059);var _0x3ee136=_0x1ad45c[_0x47911f(0x455)](_0x33b1ce[_0x47911f(0x45e)][_0x47911f(0x12b)](_0x59aa04),_0xa3bcdc*0x4);return _0x33b1ce[_0x47911f(0x296)]=_0x59aa04*0x4,_0x543b43[_0x47911f(0x455)]({'key':_0x33b1ce,'iv':_0x3ee136,'salt':_0x40c059});}},_0x3c7a66=_0x2e88df[_0x29f60d(0x3fc)]=_0x1f46fe[_0x29f60d(0x3cc)]({'cfg':_0x1f46fe[_0x29f60d(0x49a)][_0x29f60d(0x3cc)]({'kdf':_0x296926}),'encrypt':function(_0x5748ef,_0x5a4f55,_0x4afb3,_0x5a4f71){const _0x27be66=_0x29f60d;_0x5a4f71=this[_0x27be66(0x49a)][_0x27be66(0x3cc)](_0x5a4f71);var _0x5d0780=_0x5a4f71['kdf'][_0x27be66(0x28b)](_0x4afb3,_0x5748ef[_0x27be66(0x31f)],_0x5748ef[_0x27be66(0x468)],_0x5a4f71['salt'],_0x5a4f71[_0x27be66(0x380)]);_0x5a4f71['iv']=_0x5d0780['iv'];var _0x2d5484=_0x1f46fe[_0x27be66(0x4da)][_0x27be66(0x399)](this,_0x5748ef,_0x5a4f55,_0x5d0780['key'],_0x5a4f71);return _0x2d5484['mixIn'](_0x5d0780),_0x2d5484;},'decrypt':function(_0x422701,_0x370428,_0x42b38c,_0x39b513){const _0x2cf300=_0x29f60d;_0x39b513=this[_0x2cf300(0x49a)][_0x2cf300(0x3cc)](_0x39b513),_0x370428=this[_0x2cf300(0x52e)](_0x370428,_0x39b513[_0x2cf300(0xf8)]);var _0x44cdb5=_0x39b513['kdf']['execute'](_0x42b38c,_0x422701[_0x2cf300(0x31f)],_0x422701[_0x2cf300(0x468)],_0x370428[_0x2cf300(0x358)],_0x39b513['hasher']);_0x39b513['iv']=_0x44cdb5['iv'];var _0x44cdc6=_0x1f46fe['decrypt'][_0x2cf300(0x399)](this,_0x422701,_0x370428,_0x44cdb5['key'],_0x39b513);return _0x44cdc6;}});}();}));}(_0x58d531)),_0x58d531['exports'];}(function(_0x2d15e0,_0x2e7932){(function(_0x281c4f,_0x41594c,_0x2699f3){const _0x259aa0=_0x31dd;_0x2d15e0[_0x259aa0(0x2d0)]=_0x41594c(_0xbe1b2a(),_0x180106(),_0x390315(),_0x582e1f(),_0x300c54());}(_0x5b574c,function(_0x2d5f1e){const _0x388956=_0x31dd;return(function(){const _0x270b15=_0x31dd;var _0x1bc8bd=_0x2d5f1e,_0x18ebaf=_0x1bc8bd[_0x270b15(0x4f2)],_0x413689=_0x18ebaf[_0x270b15(0x112)],_0xea4875=_0x1bc8bd['algo'],_0x2a8f0b=[],_0x534c45=[],_0x46d8e4=[],_0x5b790a=[],_0x2b6a92=[],_0x4ad393=[],_0x1cac86=[],_0x42645d=[],_0x5c304d=[],_0x5aab18=[];(function(){for(var _0x3b316e=[],_0x4c746d=0x0;_0x4c746d<0x100;_0x4c746d++)_0x4c746d<0x80?_0x3b316e[_0x4c746d]=_0x4c746d<<0x1:_0x3b316e[_0x4c746d]=_0x4c746d<<0x1^0x11b;for(var _0x541c8e=0x0,_0x1514d1=0x0,_0x4c746d=0x0;_0x4c746d<0x100;_0x4c746d++){var _0x4b83b6=_0x1514d1^_0x1514d1<<0x1^_0x1514d1<<0x2^_0x1514d1<<0x3^_0x1514d1<<0x4;_0x4b83b6=_0x4b83b6>>>0x8^_0x4b83b6&0xff^0x63,_0x2a8f0b[_0x541c8e]=_0x4b83b6,_0x534c45[_0x4b83b6]=_0x541c8e;var _0x498e9d=_0x3b316e[_0x541c8e],_0x252adc=_0x3b316e[_0x498e9d],_0x10c056=_0x3b316e[_0x252adc],_0x2e1871=_0x3b316e[_0x4b83b6]*0x101^_0x4b83b6*0x1010100;_0x46d8e4[_0x541c8e]=_0x2e1871<<0x18|_0x2e1871>>>0x8,_0x5b790a[_0x541c8e]=_0x2e1871<<0x10|_0x2e1871>>>0x10,_0x2b6a92[_0x541c8e]=_0x2e1871<<0x8|_0x2e1871>>>0x18,_0x4ad393[_0x541c8e]=_0x2e1871;var _0x2e1871=_0x10c056*0x1010101^_0x252adc*0x10001^_0x498e9d*0x101^_0x541c8e*0x1010100;_0x1cac86[_0x4b83b6]=_0x2e1871<<0x18|_0x2e1871>>>0x8,_0x42645d[_0x4b83b6]=_0x2e1871<<0x10|_0x2e1871>>>0x10,_0x5c304d[_0x4b83b6]=_0x2e1871<<0x8|_0x2e1871>>>0x18,_0x5aab18[_0x4b83b6]=_0x2e1871,_0x541c8e?(_0x541c8e=_0x498e9d^_0x3b316e[_0x3b316e[_0x3b316e[_0x10c056^_0x498e9d]]],_0x1514d1^=_0x3b316e[_0x3b316e[_0x1514d1]]):_0x541c8e=_0x1514d1=0x1;}}());var _0x293df9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5e02e0=_0xea4875[_0x270b15(0x40a)]=_0x413689[_0x270b15(0x3cc)]({'_doReset':function(){const _0x52d8f3=_0x270b15;var _0x4fd805;if(!(this[_0x52d8f3(0x14a)]&&this['_keyPriorReset']===this[_0x52d8f3(0x494)])){for(var _0x2181ce=this[_0x52d8f3(0x523)]=this[_0x52d8f3(0x494)],_0x1652fa=_0x2181ce[_0x52d8f3(0x45e)],_0x4efdeb=_0x2181ce[_0x52d8f3(0x296)]/0x4,_0x2f188b=this[_0x52d8f3(0x14a)]=_0x4efdeb+0x6,_0x3fede8=(_0x2f188b+0x1)*0x4,_0x11f1d0=this['_keySchedule']=[],_0x25e74a=0x0;_0x25e74a<_0x3fede8;_0x25e74a++)_0x25e74a<_0x4efdeb?_0x11f1d0[_0x25e74a]=_0x1652fa[_0x25e74a]:(_0x4fd805=_0x11f1d0[_0x25e74a-0x1],_0x25e74a%_0x4efdeb?_0x4efdeb>0x6&&_0x25e74a%_0x4efdeb==0x4&&(_0x4fd805=_0x2a8f0b[_0x4fd805>>>0x18]<<0x18|_0x2a8f0b[_0x4fd805>>>0x10&0xff]<<0x10|_0x2a8f0b[_0x4fd805>>>0x8&0xff]<<0x8|_0x2a8f0b[_0x4fd805&0xff]):(_0x4fd805=_0x4fd805<<0x8|_0x4fd805>>>0x18,_0x4fd805=_0x2a8f0b[_0x4fd805>>>0x18]<<0x18|_0x2a8f0b[_0x4fd805>>>0x10&0xff]<<0x10|_0x2a8f0b[_0x4fd805>>>0x8&0xff]<<0x8|_0x2a8f0b[_0x4fd805&0xff],_0x4fd805^=_0x293df9[_0x25e74a/_0x4efdeb|0x0]<<0x18),_0x11f1d0[_0x25e74a]=_0x11f1d0[_0x25e74a-_0x4efdeb]^_0x4fd805);for(var _0x2ef67b=this[_0x52d8f3(0x16c)]=[],_0x55237e=0x0;_0x55237e<_0x3fede8;_0x55237e++){var _0x25e74a=_0x3fede8-_0x55237e;if(_0x55237e%0x4)var _0x4fd805=_0x11f1d0[_0x25e74a];else var _0x4fd805=_0x11f1d0[_0x25e74a-0x4];_0x55237e<0x4||_0x25e74a<=0x4?_0x2ef67b[_0x55237e]=_0x4fd805:_0x2ef67b[_0x55237e]=_0x1cac86[_0x2a8f0b[_0x4fd805>>>0x18]]^_0x42645d[_0x2a8f0b[_0x4fd805>>>0x10&0xff]]^_0x5c304d[_0x2a8f0b[_0x4fd805>>>0x8&0xff]]^_0x5aab18[_0x2a8f0b[_0x4fd805&0xff]];}}},'encryptBlock':function(_0x3111e6,_0x39505d){const _0xac8f7b=_0x270b15;this[_0xac8f7b(0x79)](_0x3111e6,_0x39505d,this[_0xac8f7b(0x2ec)],_0x46d8e4,_0x5b790a,_0x2b6a92,_0x4ad393,_0x2a8f0b);},'decryptBlock':function(_0x5154e5,_0x5cd642){const _0x5e1691=_0x270b15;var _0x584642=_0x5154e5[_0x5cd642+0x1];_0x5154e5[_0x5cd642+0x1]=_0x5154e5[_0x5cd642+0x3],_0x5154e5[_0x5cd642+0x3]=_0x584642,this['_doCryptBlock'](_0x5154e5,_0x5cd642,this[_0x5e1691(0x16c)],_0x1cac86,_0x42645d,_0x5c304d,_0x5aab18,_0x534c45);var _0x584642=_0x5154e5[_0x5cd642+0x1];_0x5154e5[_0x5cd642+0x1]=_0x5154e5[_0x5cd642+0x3],_0x5154e5[_0x5cd642+0x3]=_0x584642;},'_doCryptBlock':function(_0x298a58,_0xc7508c,_0x2e5bfa,_0x51a76f,_0x19d97e,_0x178a28,_0x31eb77,_0x2869dc){const _0x3a411b=_0x270b15;for(var _0x4f35a2=this[_0x3a411b(0x14a)],_0x57c1af=_0x298a58[_0xc7508c]^_0x2e5bfa[0x0],_0x2c7572=_0x298a58[_0xc7508c+0x1]^_0x2e5bfa[0x1],_0x273453=_0x298a58[_0xc7508c+0x2]^_0x2e5bfa[0x2],_0x442ef4=_0x298a58[_0xc7508c+0x3]^_0x2e5bfa[0x3],_0x402368=0x4,_0x5841d7=0x1;_0x5841d7<_0x4f35a2;_0x5841d7++){var _0xd1dd79=_0x51a76f[_0x57c1af>>>0x18]^_0x19d97e[_0x2c7572>>>0x10&0xff]^_0x178a28[_0x273453>>>0x8&0xff]^_0x31eb77[_0x442ef4&0xff]^_0x2e5bfa[_0x402368++],_0x3b7b98=_0x51a76f[_0x2c7572>>>0x18]^_0x19d97e[_0x273453>>>0x10&0xff]^_0x178a28[_0x442ef4>>>0x8&0xff]^_0x31eb77[_0x57c1af&0xff]^_0x2e5bfa[_0x402368++],_0x26da31=_0x51a76f[_0x273453>>>0x18]^_0x19d97e[_0x442ef4>>>0x10&0xff]^_0x178a28[_0x57c1af>>>0x8&0xff]^_0x31eb77[_0x2c7572&0xff]^_0x2e5bfa[_0x402368++],_0x321c48=_0x51a76f[_0x442ef4>>>0x18]^_0x19d97e[_0x57c1af>>>0x10&0xff]^_0x178a28[_0x2c7572>>>0x8&0xff]^_0x31eb77[_0x273453&0xff]^_0x2e5bfa[_0x402368++];_0x57c1af=_0xd1dd79,_0x2c7572=_0x3b7b98,_0x273453=_0x26da31,_0x442ef4=_0x321c48;}var _0xd1dd79=(_0x2869dc[_0x57c1af>>>0x18]<<0x18|_0x2869dc[_0x2c7572>>>0x10&0xff]<<0x10|_0x2869dc[_0x273453>>>0x8&0xff]<<0x8|_0x2869dc[_0x442ef4&0xff])^_0x2e5bfa[_0x402368++],_0x3b7b98=(_0x2869dc[_0x2c7572>>>0x18]<<0x18|_0x2869dc[_0x273453>>>0x10&0xff]<<0x10|_0x2869dc[_0x442ef4>>>0x8&0xff]<<0x8|_0x2869dc[_0x57c1af&0xff])^_0x2e5bfa[_0x402368++],_0x26da31=(_0x2869dc[_0x273453>>>0x18]<<0x18|_0x2869dc[_0x442ef4>>>0x10&0xff]<<0x10|_0x2869dc[_0x57c1af>>>0x8&0xff]<<0x8|_0x2869dc[_0x2c7572&0xff])^_0x2e5bfa[_0x402368++],_0x321c48=(_0x2869dc[_0x442ef4>>>0x18]<<0x18|_0x2869dc[_0x57c1af>>>0x10&0xff]<<0x10|_0x2869dc[_0x2c7572>>>0x8&0xff]<<0x8|_0x2869dc[_0x273453&0xff])^_0x2e5bfa[_0x402368++];_0x298a58[_0xc7508c]=_0xd1dd79,_0x298a58[_0xc7508c+0x1]=_0x3b7b98,_0x298a58[_0xc7508c+0x2]=_0x26da31,_0x298a58[_0xc7508c+0x3]=_0x321c48;},'keySize':0x100/0x20});_0x1bc8bd['AES']=_0x413689[_0x270b15(0x435)](_0x5e02e0);}()),_0x2d5f1e[_0x388956(0x40a)];}));}(_0x25db13));var _0x573c77=_0x25db13[_0x17756b(0x2d0)];const _0x370be3=_0x5d6413(_0x573c77);var _0x322e54=_0x180106();const _0x467e60=_0x5d6413(_0x322e54);var _0x25a8e8={'exports':{}};(function(_0x17d308,_0x190a58){(function(_0x486cc8,_0x40dc36){const _0x493ce8=_0x31dd;_0x17d308[_0x493ce8(0x2d0)]=_0x40dc36(_0xbe1b2a());}(_0x5b574c,function(_0x28049c){const _0x1264e1=_0x31dd;return _0x28049c[_0x1264e1(0xee)]['Utf8'];}));}(_0x25a8e8));var _0x352644=_0x25a8e8[_0x17756b(0x2d0)];const _0x382f72=_0x5d6413(_0x352644);var _0x3aa5e9={'exports':{}};(function(_0x207bd6,_0x1e6fbd){(function(_0x528e4a,_0x7ad958){const _0x2cee96=_0x31dd;_0x207bd6[_0x2cee96(0x2d0)]=_0x7ad958(_0xbe1b2a());}(_0x5b574c,function(_0x4c153a){const _0x14f110=_0x31dd;return(function(){const _0x4f9b05=_0x31dd;if(typeof ArrayBuffer==_0x4f9b05(0x177)){var _0x2d9fe7=_0x4c153a,_0x115dae=_0x2d9fe7[_0x4f9b05(0x4f2)],_0x4c2392=_0x115dae[_0x4f9b05(0x420)],_0x1571f4=_0x4c2392['init'],_0x288048=_0x4c2392[_0x4f9b05(0x294)]=function(_0x2ca90b){const _0x20fa9f=_0x4f9b05;if(_0x2ca90b instanceof ArrayBuffer&&(_0x2ca90b=new Uint8Array(_0x2ca90b)),(_0x2ca90b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ca90b instanceof Uint8ClampedArray||_0x2ca90b instanceof Int16Array||_0x2ca90b instanceof Uint16Array||_0x2ca90b instanceof Int32Array||_0x2ca90b instanceof Uint32Array||_0x2ca90b instanceof Float32Array||_0x2ca90b instanceof Float64Array)&&(_0x2ca90b=new Uint8Array(_0x2ca90b[_0x20fa9f(0x102)],_0x2ca90b[_0x20fa9f(0xa1)],_0x2ca90b['byteLength'])),_0x2ca90b instanceof Uint8Array){for(var _0xcf874c=_0x2ca90b['byteLength'],_0x23625b=[],_0x3f70e2=0x0;_0x3f70e2<_0xcf874c;_0x3f70e2++)_0x23625b[_0x3f70e2>>>0x2]|=_0x2ca90b[_0x3f70e2]<<0x18-_0x3f70e2%0x4*0x8;_0x1571f4[_0x20fa9f(0x399)](this,_0x23625b,_0xcf874c);}else _0x1571f4[_0x20fa9f(0xdd)](this,arguments);};_0x288048['prototype']=_0x4c2392;}}()),_0x4c153a[_0x14f110(0x4f2)][_0x14f110(0x420)];}));}(_0x3aa5e9));var _0x2dc7c6=_0x3aa5e9['exports'];const _0x17da94=_0x5d6413(_0x2dc7c6);var _0x3b3887={'exports':{}};(function(_0x4c3bc1,_0x1d1db7){(function(_0x147fa6,_0x12a91e,_0x1e36ed){_0x4c3bc1['exports']=_0x12a91e(_0xbe1b2a(),_0x300c54());}(_0x5b574c,function(_0x3da3a8){const _0x2baa4e=_0x31dd;return _0x3da3a8[_0x2baa4e(0x456)][_0x2baa4e(0x7e)]={'pad':function(){},'unpad':function(){}},_0x3da3a8[_0x2baa4e(0x456)]['NoPadding'];}));}(_0x3b3887));var _0x57bfd2=_0x3b3887[_0x17756b(0x2d0)];const _0x1d8cd6=_0x5d6413(_0x57bfd2);function _0x2f5e42(_0x256c3e,_0x443ef2){const _0x5b47b4=_0x17756b,_0x2942be=_0x443ef2-_0x256c3e['length']%_0x443ef2,_0x51558b=String[_0x5b47b4(0x3d7)](_0x2942be)[_0x5b47b4(0x51b)](_0x2942be);return _0x256c3e+_0x51558b;}function _0x3d3308(_0x1d0c04,_0x58f935){const _0x53e1db=_0x17756b,_0x130df6=_0x17da94[_0x53e1db(0x2c1)](0x10),_0x420dd9=_0x2f5e42(_0x1d0c04,0x10),_0x2c3bc6=_0x370be3['encrypt'](_0x382f72[_0x53e1db(0x25f)](_0x420dd9),_0x467e60['parse'](_0x58f935),{'iv':_0x130df6,'padding':_0x1d8cd6});return _0x130df6[_0x53e1db(0x365)](_0x2c3bc6['ciphertext'])[_0x53e1db(0x6e)](_0x467e60);}function _0x26fb84(){const _0xb5a462=_0x17756b,_0x2e8957=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xb5a462(0x1dc)];if(_0x2e8957){const _0x46f05d={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0xb5a462(0x21f)]};return _0x3d3308(JSON[_0xb5a462(0xe9)](_0x46f05d),_0x2e8957);}}var _0xd5b273=Object[_0x17756b(0x76)],_0x25ab56=Object[_0x17756b(0x4db)],_0xfc16c4=(_0x1e99fe,_0xdbbdcd,_0x118b03,_0x7a6b1e)=>{const _0x14c01d=_0x17756b;for(var _0x153101=_0x7a6b1e>0x1?void 0x0:_0x7a6b1e?_0x25ab56(_0xdbbdcd,_0x118b03):_0xdbbdcd,_0x14b35d=_0x1e99fe[_0x14c01d(0x189)]-0x1,_0x265d98;_0x14b35d>=0x0;_0x14b35d--)(_0x265d98=_0x1e99fe[_0x14b35d])&&(_0x153101=(_0x7a6b1e?_0x265d98(_0xdbbdcd,_0x118b03,_0x153101):_0x265d98(_0x153101))||_0x153101);return _0x7a6b1e&&_0x153101&&_0xd5b273(_0xdbbdcd,_0x118b03,_0x153101),_0x153101;},_0x4f0fa1=(_0xdaea92,_0x2d8057)=>(_0x5e6365,_0x4c8018)=>_0x2d8057(_0x5e6365,_0x4c8018,_0xdaea92);let _0x6e39f0=class{constructor(_0x5f3daf){const _0x4ac07d=_0x17756b;this[_0x4ac07d(0x3b5)]=_0x5f3daf,this[_0x4ac07d(0x509)]();}[_0x17756b(0x509)](){const _0x3854b2=_0x17756b;this[_0x3854b2(0x3b5)]['registerHTTPInterceptor']({'interceptor':(_0x39f1b1,_0x741872)=>{const _0x5e3a9c=_0x3854b2,_0x17fc2b=_0x39f1b1['headers'],_0x12cadd=_0x26fb84();return _0x12cadd&&_0x17fc2b[_0x5e3a9c(0x331)](_0x5e3a9c(0x537),_0x12cadd),_0x741872(_0x39f1b1);}});}};_0x6e39f0=_0xfc16c4([_0x4f0fa1(0x0,_0x1c8991[_0x17756b(0x329)](_0x2b12f0[_0x17756b(0x1af)]))],_0x6e39f0);var _0x21927d=Object[_0x17756b(0x76)],_0x30c7b2=Object['getOwnPropertyDescriptor'],_0x5e6f60=(_0x29632e,_0x2118cf,_0x2bbb7b,_0x2cf79e)=>{const _0x19ee2d=_0x17756b;for(var _0x194cf0=_0x2cf79e>0x1?void 0x0:_0x2cf79e?_0x30c7b2(_0x2118cf,_0x2bbb7b):_0x2118cf,_0x2308c1=_0x29632e[_0x19ee2d(0x189)]-0x1,_0x390350;_0x2308c1>=0x0;_0x2308c1--)(_0x390350=_0x29632e[_0x2308c1])&&(_0x194cf0=(_0x2cf79e?_0x390350(_0x2118cf,_0x2bbb7b,_0x194cf0):_0x390350(_0x194cf0))||_0x194cf0);return _0x2cf79e&&_0x194cf0&&_0x21927d(_0x2118cf,_0x2bbb7b,_0x194cf0),_0x194cf0;},_0x3c387b=(_0x5c0a35,_0x553ba9)=>(_0x2f4bfa,_0x1fbb4e)=>_0x553ba9(_0x2f4bfa,_0x1fbb4e,_0x5c0a35);const _0x57ffc3=[_0x17756b(0x1cd),_0x17756b(0x4b8),'image/jpg',_0x17756b(0x461),_0x17756b(0x505)],_0x4eee50=0x5*0x400*0x400,_0x49df02='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x18357f='/universer-api/stream/file/upload',_0x2c0748=_0x17756b(0x4c9),_0x2b99e0=_0x17756b(0x1c8);_0x1b0f0a[_0x17756b(0x529)]=class{constructor(_0x4c0bbf,_0x24912a,_0x349aee){const _0xd08113=_0x17756b;_0x25db2a(this,_0xd08113(0x81),0x0),_0x25db2a(this,'_change$',new _0x2dc6e4[(_0xd08113(0x26c))]()),_0x25db2a(this,_0xd08113(0x41a),this[_0xd08113(0x32f)]),_0x25db2a(this,_0xd08113(0x192),new Map()),(this[_0xd08113(0x3b5)]=_0x4c0bbf,this[_0xd08113(0x4ed)]=_0x24912a,this[_0xd08113(0x35f)]=_0x349aee);}['setWaitCount'](_0x203188){const _0x3eef17=_0x17756b;this[_0x3eef17(0x81)]=_0x203188,this[_0x3eef17(0x32f)]['next'](_0x203188);}[_0x17756b(0x150)](_0x28cf55,_0x49505f){const _0x50765d=_0x17756b;if(_0x49505f===_0x73aec1['ImageSourceType'][_0x50765d(0x2c7)]){const _0x10ea72=new Image();return _0x10ea72['src']=_0x28cf55,_0x10ea72;}return this[_0x50765d(0x192)][_0x50765d(0x30c)](_0x28cf55);}[_0x17756b(0x159)](_0x517863,_0x37a644,_0x28fbca){const _0x2829f0=_0x17756b;_0x37a644===_0x73aec1[_0x2829f0(0xc4)][_0x2829f0(0x2c7)]||_0x28fbca==null||this['_imageSourceCache'][_0x2829f0(0x331)](_0x517863,_0x28fbca);}async['getImage'](_0x44bd73){const _0x58ecb4=_0x17756b;try{const _0x4b4137=this[_0x58ecb4(0x52c)](this[_0x58ecb4(0x215)](),''+_0x44bd73),_0x49a4c5=(await this[_0x58ecb4(0x3b5)][_0x58ecb4(0x30c)](_0x4b4137))[_0x58ecb4(0x126)];if(_0x49a4c5[_0x58ecb4(0x47c)]&&_0x49a4c5['error'][_0x58ecb4(0x116)]===_0x24b2e1['OK']){const _0x853e58=new URL(_0x49a4c5[_0x58ecb4(0x234)],this[_0x58ecb4(0x20d)]())[_0x58ecb4(0x6e)]();return Promise[_0x58ecb4(0x261)](_0x853e58);}return Promise['reject'](_0x49a4c5['error']);}catch(_0x1ce2b2){return Promise[_0x58ecb4(0x80)](_0x1ce2b2);}}async[_0x17756b(0x164)](_0x59a884){const _0x412c3b=_0x17756b;let _0x346f32='';if(!_0x57ffc3[_0x412c3b(0x372)](_0x59a884[_0x412c3b(0x243)]))return this[_0x412c3b(0x8a)](),Promise[_0x412c3b(0x80)](new Error(_0x73aec1[_0x412c3b(0x107)]['ERROR_IMAGE_TYPE']));if(_0x59a884[_0x412c3b(0xec)]>_0x4eee50)return this[_0x412c3b(0x8a)](),Promise[_0x412c3b(0x80)](new Error(_0x73aec1[_0x412c3b(0x107)][_0x412c3b(0x4ac)]));try{const _0x28be2d=new FormData();_0x28be2d[_0x412c3b(0x381)](_0x412c3b(0x478),_0x59a884);const _0xd04a5c=this['_univerInstanceService']['getFocusedUnit'](),_0x4c795e=_0xd04a5c==null?void 0x0:_0xd04a5c['getUnitId']();if(!_0x4c795e)throw new Error(_0x412c3b(0x482));const _0x473c06=this[_0x412c3b(0x364)]()+'?size='+_0x59a884['size'][_0x412c3b(0x6e)]()+_0x412c3b(0x1a8)+_0x23826c[_0x412c3b(0x167)]+'&assign='+encodeURIComponent(_0x4c795e),_0x4f4513=await(await fetch(_0x473c06,{'method':_0x412c3b(0x3a0),'body':_0x28be2d}))['json']();if(typeof _0x4f4513['FileId']!=_0x412c3b(0x530))return this[_0x412c3b(0x8a)](),Promise[_0x412c3b(0x80)](new Error(_0x73aec1['ImageUploadStatusType']['ERROR_IMAGE']));_0x346f32=_0x4f4513[_0x412c3b(0x2dc)];}catch{return this[_0x412c3b(0x8a)](),Promise['reject'](new Error(_0x73aec1[_0x412c3b(0x107)][_0x412c3b(0x453)]));}return new Promise((_0x48897f,_0x1441c4)=>{const _0x5c2e25=_0x412c3b,_0x30a470=new FileReader();_0x30a470[_0x5c2e25(0x39f)](_0x59a884),_0x30a470['onload']=_0x3877e8=>{const _0x17f4d6=_0x5c2e25;var _0x3d4288;const _0x2441cb=(_0x3d4288=_0x3877e8[_0x17f4d6(0x257)])==null?void 0x0:_0x3d4288[_0x17f4d6(0x188)];if(_0x2441cb==null){this[_0x17f4d6(0x8a)](),_0x1441c4(new Error(_0x73aec1[_0x17f4d6(0x107)][_0x17f4d6(0x453)]));return;}const _0x4ccc01=_0x1c8991[_0x17f4d6(0x262)]['generateRandomId'](0x6);_0x48897f({'imageId':_0x4ccc01,'imageSourceType':_0x73aec1[_0x17f4d6(0xc4)][_0x17f4d6(0x16e)],'source':_0x346f32,'base64Cache':_0x2441cb,'status':_0x73aec1[_0x17f4d6(0x107)]['SUCCUSS']}),this[_0x17f4d6(0x8a)]();};});}['_getUploadFileURL'](){const _0x1e1f47=_0x17756b;var _0xc9c598,_0x5838f8;const _0x354244=this[_0x1e1f47(0x4ed)][_0x1e1f47(0x4b2)](_0x49df02),_0x296587=this[_0x1e1f47(0x4ed)][_0x1e1f47(0x4b2)](_0x5adfcf);return(_0x5838f8=(_0xc9c598=_0x296587==null?void 0x0:_0x296587['uploadFileServerUrl'])!=null?_0xc9c598:_0x354244)!=null?_0x5838f8:_0x18357f;}[_0x17756b(0x215)](){const _0x527c82=_0x17756b;var _0xb9432d,_0x14eed6;const _0x318cc5=this[_0x527c82(0x4ed)][_0x527c82(0x4b2)](_0x2c0748),_0x3f3300=this[_0x527c82(0x4ed)][_0x527c82(0x4b2)](_0x5adfcf);return(_0x14eed6=(_0xb9432d=_0x3f3300==null?void 0x0:_0x3f3300[_0x527c82(0x451)])!=null?_0xb9432d:_0x318cc5)!=null?_0x14eed6:_0x2b99e0;}['_getDownloadEndpointURL'](){const _0x3cd106=_0x17756b;var _0x65f1f4;const _0xb37dfb=this[_0x3cd106(0x4ed)][_0x3cd106(0x4b2)](_0x5adfcf);return(_0x65f1f4=_0xb37dfb==null?void 0x0:_0xb37dfb[_0x3cd106(0x42c)])!=null?_0x65f1f4:location[_0x3cd106(0x136)];}['_replaceFileID'](_0x2cc129,_0x42b107){const _0x399512=_0x17756b;return _0x2cc129[_0x399512(0xe6)]('{fileID}',_0x42b107);}['_decreaseWaiting'](){const _0x522e73=_0x17756b;this[_0x522e73(0x81)]-=0x1,this[_0x522e73(0x32f)]['next'](this[_0x522e73(0x81)]);}},_0x1b0f0a[_0x17756b(0x529)]=_0x5e6f60([_0x3c387b(0x0,_0x1c8991[_0x17756b(0x329)](_0x2b12f0['HTTPService'])),_0x3c387b(0x1,_0x1c8991[_0x17756b(0x4ef)]),_0x3c387b(0x2,_0x1c8991['Inject'](_0x1c8991[_0x17756b(0x2e7)]))],_0x1b0f0a[_0x17756b(0x529)]);var _0x1d69c6=Object[_0x17756b(0x76)],_0x3242c4=Object[_0x17756b(0x4db)],_0x3634c8=(_0x544f0d,_0x13a8ff,_0x8baa6c,_0xedd23e)=>{for(var _0x3733ae=_0xedd23e>0x1?void 0x0:_0xedd23e?_0x3242c4(_0x13a8ff,_0x8baa6c):_0x13a8ff,_0x47c24a=_0x544f0d['length']-0x1,_0x293211;_0x47c24a>=0x0;_0x47c24a--)(_0x293211=_0x544f0d[_0x47c24a])&&(_0x3733ae=(_0xedd23e?_0x293211(_0x13a8ff,_0x8baa6c,_0x3733ae):_0x293211(_0x3733ae))||_0x3733ae);return _0xedd23e&&_0x3733ae&&_0x1d69c6(_0x13a8ff,_0x8baa6c,_0x3733ae),_0x3733ae;},_0x3200e5=(_0x474dec,_0x38174a)=>(_0x348ad1,_0xf63328)=>_0x38174a(_0x348ad1,_0xf63328,_0x474dec);let _0x5b986b=class extends _0x1c8991['RxDisposable']{constructor(_0x3ba8ae,_0x18ecdf,_0x3acae5,_0x3257a8,_0x4607e7){const _0x5888c4=_0x17756b;super(),this[_0x5888c4(0x419)]=_0x3ba8ae,this[_0x5888c4(0x35f)]=_0x18ecdf,this['_permissionService']=_0x3acae5,this[_0x5888c4(0x1d6)]=_0x3257a8,this['_localeService']=_0x4607e7,this[_0x5888c4(0x103)](),this[_0x5888c4(0x333)]();}[_0x17756b(0x333)](){const _0x45360d=_0x17756b,_0x37c72d=async _0x530c9b=>{const _0x517807=_0x31dd;(await this[_0x517807(0x1d6)]['requireSession'](_0x530c9b))[_0x517807(0x42f)][_0x517807(0x26f)](_0x3563fe[_0x517807(0x241)](_0x2def27=>_0x2def27['eventID']===_0x3b5018['CollaborationEvent'][_0x517807(0x3cb)]),_0x3563fe['takeUntil'](this[_0x517807(0x474)]))[_0x517807(0x500)](_0x1873e9=>{const _0x5677d1=_0x517807,_0x419cb3=_0x1873e9,{reason:_0x22390d}=_0x419cb3[_0x5677d1(0x39b)];this[_0x5677d1(0x419)][_0x5677d1(0x30c)](_0x1af299['IMessageService'])[_0x5677d1(0x34a)]({'type':_0x502233['MessageType'][_0x5677d1(0x139)],'content':this['_localeService']['t'](_0x5677d1(0x49d))+'('+_0x22390d+')'}),this['_permissionService'][_0x5677d1(0x50d)](new _0x2c20de[(_0x5677d1(0x16d))](_0x530c9b)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x530c9b);});};_0x2dc6e4['merge'](this[_0x45360d(0x35f)][_0x45360d(0xbf)](_0x1c8991[_0x45360d(0x469)][_0x45360d(0x2db)]),this[_0x45360d(0x35f)][_0x45360d(0xbf)](_0x1c8991[_0x45360d(0x469)][_0x45360d(0x524)]))['pipe'](_0x3563fe['map'](_0x36a619=>_0x36a619[_0x45360d(0x51a)]()),_0x3563fe[_0x45360d(0x241)](_0x31e28b=>!_0x1c8991['isInternalEditorID'](_0x31e28b)),_0x3563fe[_0x45360d(0x185)](this['dispose$']))[_0x45360d(0x500)](_0xae1a94=>{_0x37c72d(_0xae1a94);});}['_initUnitPermissionChange'](){const _0x1887b9=_0x17756b,_0x52b73e=async _0x2fd805=>{const _0x12bf9f=_0x31dd;(await this[_0x12bf9f(0x1d6)][_0x12bf9f(0xe2)](_0x2fd805))[_0x12bf9f(0x42f)][_0x12bf9f(0x26f)](_0x3563fe['filter'](_0x273dfb=>_0x273dfb['eventID']===_0x3b5018[_0x12bf9f(0x25c)][_0x12bf9f(0x3fe)]),_0x3563fe[_0x12bf9f(0x185)](this['dispose$']))[_0x12bf9f(0x500)](_0x106520=>{const _0x1db8d8=_0x12bf9f,_0x1c61e6=_0x106520,{objectId:_0x2ab4d8}=_0x1c61e6[_0x1db8d8(0x39b)],_0x26903d=this[_0x1db8d8(0x419)][_0x1db8d8(0x30c)](_0x416764[_0x1db8d8(0x3a1)]);_0x2ab4d8===_0x2fd805?_0x26903d[_0x1db8d8(0x38b)](_0x2fd805):_0x26903d['refreshPermission'](_0x2fd805,_0x2ab4d8);});};_0x2dc6e4[_0x1887b9(0x134)](this[_0x1887b9(0x35f)][_0x1887b9(0xbf)](_0x1c8991[_0x1887b9(0x469)][_0x1887b9(0x2db)]),this['_univerInstanceService'][_0x1887b9(0xbf)](_0x1c8991[_0x1887b9(0x469)][_0x1887b9(0x524)]))[_0x1887b9(0x26f)](_0x3563fe[_0x1887b9(0x3d0)](_0x360df1=>_0x360df1[_0x1887b9(0x51a)]()),_0x3563fe['filter'](_0x3b7ba5=>!_0x1c8991[_0x1887b9(0x73)](_0x3b7ba5)),_0x3563fe[_0x1887b9(0x185)](this[_0x1887b9(0x474)]))[_0x1887b9(0x500)](_0x435e71=>{_0x52b73e(_0x435e71);});}};_0x5b986b=_0x3634c8([_0x3200e5(0x0,_0x1c8991['Inject'](_0x1c8991['Injector'])),_0x3200e5(0x1,_0x1c8991['IUniverInstanceService']),_0x3200e5(0x2,_0x1c8991[_0x17756b(0x14b)]),_0x3200e5(0x3,_0x1c8991[_0x17756b(0x329)](_0x1b0f0a[_0x17756b(0x31a)])),_0x3200e5(0x4,_0x1c8991[_0x17756b(0x329)](_0x1c8991[_0x17756b(0xcf)]))],_0x5b986b);var _0x1c3016=Object[_0x17756b(0x76)],_0x22f58e=Object[_0x17756b(0x4db)],_0x4280e1=(_0x619fa6,_0x50ffdd,_0x402b32,_0x5830eb)=>{const _0x318c4a=_0x17756b;for(var _0x1a78c5=_0x5830eb>0x1?void 0x0:_0x5830eb?_0x22f58e(_0x50ffdd,_0x402b32):_0x50ffdd,_0x4f42fc=_0x619fa6[_0x318c4a(0x189)]-0x1,_0x4b07cf;_0x4f42fc>=0x0;_0x4f42fc--)(_0x4b07cf=_0x619fa6[_0x4f42fc])&&(_0x1a78c5=(_0x5830eb?_0x4b07cf(_0x50ffdd,_0x402b32,_0x1a78c5):_0x4b07cf(_0x1a78c5))||_0x1a78c5);return _0x5830eb&&_0x1a78c5&&_0x1c3016(_0x50ffdd,_0x402b32,_0x1a78c5),_0x1a78c5;},_0x3c3dd4=(_0x5e4a54,_0x4060ff)=>(_0x435d6a,_0x42da39)=>_0x4060ff(_0x435d6a,_0x42da39,_0x5e4a54);_0x1b0f0a[_0x17756b(0x169)]=class{constructor(_0x2c0913,_0x5c8c70){const _0x48446e=_0x17756b;this['_configService']=_0x2c0913,this[_0x48446e(0x3b5)]=_0x5c8c70;}async['getUnitOnRev'](_0x276ab7,_0x5e54b5){const _0x1f10d5=_0x17756b;var _0x3ade1e;const {unitID:_0x31300d,type:_0x379598,revision:_0x279c25=0x0}=_0x5e54b5,_0x6aa142=this['_getSnapshotAPIPrefix']()+'/'+_0x379598+_0x1f10d5(0x45b)+_0x31300d+_0x1f10d5(0x3bc)+_0x279c25,_0xff0444=(await this[_0x1f10d5(0x3b5)][_0x1f10d5(0x30c)](_0x6aa142))['body'],_0x3d4f9d=(_0x3ade1e=_0xff0444[_0x1f10d5(0x47f)])==null?void 0x0:_0x3ade1e['workbook'];if(_0x3d4f9d){const _0x447e6c=_0x3d4f9d==null?void 0x0:_0x3d4f9d[_0x1f10d5(0x50a)],_0x21efa0=_0x3b5018[_0x1f10d5(0x160)]['encode'](_0x3b5018[_0x1f10d5(0x36f)](_0x447e6c));_0x3d4f9d['originalMeta']=_0x21efa0,Object[_0x1f10d5(0x481)](_0x3d4f9d[_0x1f10d5(0x477)])[_0x1f10d5(0x42e)](([,_0xb39c8b])=>{const _0x335225=_0x1f10d5,_0x215373=_0xb39c8b[_0x335225(0x50a)],_0x472507=_0x3b5018['textEncoder'][_0x335225(0x1ca)](_0x3b5018[_0x335225(0x36f)](_0x215373));_0xb39c8b['originalMeta']=_0x472507;});}return _0xff0444;}async[_0x17756b(0x501)](_0x4f5c7,_0x1fdf7f){const _0x1b3821=_0x17756b,{unitID:_0x4f0d2c,type:_0x3b9e5a,blockID:_0x2d642d}=_0x1fdf7f,_0xaca34d=this[_0x1b3821(0x24e)]()+'/'+_0x3b9e5a+_0x1b3821(0x45b)+_0x4f0d2c+_0x1b3821(0x46b)+_0x2d642d;return(await this[_0x1b3821(0x3b5)][_0x1b3821(0x30c)](_0xaca34d))[_0x1b3821(0x126)];}async[_0x17756b(0x3a6)](_0x2fbbb9,_0x3343d1){const _0x48dcca=_0x17756b,{unitID:_0x4a8df4,type:_0x583085,blockID:_0x5e568e}=_0x3343d1,_0x3fd4b9=this[_0x48dcca(0x24e)]()+_0x48dcca(0x46b)+_0x583085+_0x48dcca(0x45b)+_0x4a8df4+_0x48dcca(0x46b)+_0x5e568e;return(await this[_0x48dcca(0x3b5)][_0x48dcca(0x30c)](_0x3fd4b9))[_0x48dcca(0x126)];}async['fetchMissingChangesets'](_0x540839,_0x8746d5){const _0x642edf=_0x17756b,{unitID:_0x300d58,type:_0x1c44d1,from:_0x2a62d0,to:_0x2f833c}=_0x8746d5,_0x3efe5c=this[_0x642edf(0x24e)]()+'/'+_0x1c44d1+_0x642edf(0x45b)+_0x300d58+'/fetchmissing?from='+_0x2a62d0+_0x642edf(0x1d8)+_0x2f833c;return(await this[_0x642edf(0x3b5)][_0x642edf(0x30c)](_0x3efe5c))['body'];}[_0x17756b(0x176)](){const _0x3a0073=_0x17756b;var _0xb2ede9;return(_0xb2ede9=this['_configService'][_0x3a0073(0x4b2)](_0x4f035d))!=null?_0xb2ede9:this['_getAPIPrefix']();}[_0x17756b(0x24e)](){const _0x4defb9=_0x17756b;var _0x3207e0,_0x4c1a75;const _0x167d92=this[_0x4defb9(0x4ed)][_0x4defb9(0x4b2)](_0x101d2c),_0x40523e=this['_configService'][_0x4defb9(0x4b2)](_0x5adfcf);return(_0x4c1a75=(_0x3207e0=_0x40523e==null?void 0x0:_0x40523e['snapshotServerUrl'])!=null?_0x3207e0:_0x167d92)!=null?_0x4c1a75:_0x56cbb9;}async[_0x17756b(0x149)](_0x1c39df,_0x5dde0f){const _0x1e2298=_0x17756b,_0x5465a5=_0x1e2298(0x153)+_0x5dde0f[_0x1e2298(0x243)]+_0x1e2298(0x45b)+_0x5dde0f[_0x1e2298(0x52f)]+_0x1e2298(0x517);return(await this['_httpService'][_0x1e2298(0x30c)](_0x5465a5,{'params':{'resourceId':JSON[_0x1e2298(0xe9)](_0x5dde0f[_0x1e2298(0xac)])}}))[_0x1e2298(0x126)];}[_0x17756b(0x2f6)](){const _0x4d943a=_0x17756b;throw new Error(_0x4d943a(0x336));}[_0x17756b(0x8e)](){const _0x2dd001=_0x17756b;throw new Error(_0x2dd001(0x336));}['saveChangeset'](){const _0x5dda51=_0x17756b;throw new Error(_0x5dda51(0x336));}[_0x17756b(0x49c)](){const _0x9cf2e1=_0x17756b;throw new Error(_0x9cf2e1(0x336));}[_0x17756b(0x20c)](){const _0x5043f7=_0x17756b;throw new Error(_0x5043f7(0x336));}},_0x1b0f0a['SnapshotServerOverHTTPService']=_0x4280e1([_0x3c3dd4(0x0,_0x1c8991[_0x17756b(0x4ef)]),_0x3c3dd4(0x1,_0x1c8991[_0x17756b(0x329)](_0x2b12f0[_0x17756b(0x1af)]))],_0x1b0f0a[_0x17756b(0x169)]);var _0x3cf8f7=Object[_0x17756b(0x76)],_0x2044e0=Object['getOwnPropertyDescriptor'],_0x50073e=(_0x4f8804,_0x45ef5f,_0x56bee7,_0x4129e4)=>{const _0x5cb182=_0x17756b;for(var _0x45c916=_0x4129e4>0x1?void 0x0:_0x4129e4?_0x2044e0(_0x45ef5f,_0x56bee7):_0x45ef5f,_0x361d11=_0x4f8804[_0x5cb182(0x189)]-0x1,_0x27e24d;_0x361d11>=0x0;_0x361d11--)(_0x27e24d=_0x4f8804[_0x361d11])&&(_0x45c916=(_0x4129e4?_0x27e24d(_0x45ef5f,_0x56bee7,_0x45c916):_0x27e24d(_0x45c916))||_0x45c916);return _0x4129e4&&_0x45c916&&_0x3cf8f7(_0x45ef5f,_0x56bee7,_0x45c916),_0x45c916;},_0x559ca9=(_0x1bcb0d,_0x12953a)=>(_0x1f08ad,_0xe2e923)=>_0x12953a(_0x1f08ad,_0xe2e923,_0x1bcb0d);let _0x35b688=class extends _0x1c8991[_0x17756b(0x114)]{constructor(_0xffe25b,_0x214ab2,_0x558ab9,_0x340ee1,_0x5ee55f){const _0x14b8de=_0x17756b;super(_0xffe25b,_0x214ab2,_0x558ab9),this[_0x14b8de(0x183)]=_0x340ee1,this[_0x14b8de(0x532)]=_0x5ee55f;}[_0x17756b(0x3be)](_0x4daa6c,_0x34d9bb){const _0x37bf7=_0x17756b,_0x591195=this[_0x37bf7(0x26e)](_0x4daa6c);if(_0x591195)try{const _0x451de2=this['_transformStack'](_0x591195,_0x34d9bb);this[_0x37bf7(0x378)](_0x4daa6c,_0x451de2);}catch(_0x2c9d45){this[_0x37bf7(0x532)]['error']('[CollaborationUndoRedoService]',_0x2c9d45),this['_clearUndo'](_0x4daa6c);}const _0x3e9e32=this[_0x37bf7(0x20e)](_0x4daa6c);if(_0x3e9e32)try{const _0x1e5b04=this[_0x37bf7(0x2f3)](_0x3e9e32,_0x34d9bb);this[_0x37bf7(0x2a5)](_0x4daa6c,_0x1e5b04);}catch(_0xa84cc3){this[_0x37bf7(0x532)][_0x37bf7(0x47c)](_0xa84cc3),this[_0x37bf7(0x43a)](_0x4daa6c);}}[_0x17756b(0x2cb)](_0x53efa8){const _0x17e771=_0x17756b,_0x5655df=this['_getUndoStack'](_0x53efa8);_0x5655df&&(_0x5655df[_0x17e771(0x189)]=0x0,this[_0x17e771(0x25e)]());}[_0x17756b(0x43a)](_0x432204){const _0x483293=_0x17756b,_0xda9d43=this[_0x483293(0x20e)](_0x432204);_0xda9d43&&(_0xda9d43['length']=0x0,this[_0x483293(0x25e)]());}[_0x17756b(0x378)](_0x4eb594,_0x4af7e6){const _0x5d00b0=_0x17756b;this['_undoStacks'][_0x5d00b0(0x331)](_0x4eb594,_0x4af7e6),this['_updateStatus']();}[_0x17756b(0x2a5)](_0x50e40d,_0x43a7c3){const _0x543cfa=_0x17756b;this[_0x543cfa(0x39a)]['set'](_0x50e40d,_0x43a7c3),this[_0x543cfa(0x25e)]();}[_0x17756b(0x2f3)](_0x4c1b6a,_0x5b2301){const _0x5df543=_0x17756b,_0x195245=[];let _0xb81b9=_0x5b2301,_0x5c3dfc=_0x5b2301;for(let _0x3d265a=_0x4c1b6a[_0x5df543(0x189)]-0x1;_0x3d265a>=0x0;_0x3d265a--){const {unitID:_0x24042d,undoMutations:_0x3f2c7e,redoMutations:_0x2829ef}=_0x4c1b6a[_0x3d265a],_0x5a83be=this['_transformService'][_0x5df543(0xed)](_0xb81b9,_0x3f2c7e),_0x3b76b6=this[_0x5df543(0x183)][_0x5df543(0xed)](_0x5c3dfc,_0x2829ef);if(_0x3b5018[_0x5df543(0x534)](_0x5a83be)||_0x3b5018[_0x5df543(0x534)](_0x3b76b6)){this[_0x5df543(0x532)][_0x5df543(0x47c)](_0x5df543(0x27a),'transformStack\x20failed!',_0x5a83be,_0x3b76b6);break;}_0xb81b9=_0x5a83be['c1Prime'],_0x5c3dfc=_0x3b76b6[_0x5df543(0x17b)],_0x195245['push']({'unitID':_0x24042d,'undoMutations':_0x5a83be[_0x5df543(0x2b0)],'redoMutations':_0x3b76b6['m2Prime']});}return _0x195245[_0x5df543(0x391)]();}};_0x35b688=_0x50073e([_0x559ca9(0x0,_0x1c8991['IUniverInstanceService']),_0x559ca9(0x1,_0x1c8991[_0x17756b(0x433)]),_0x559ca9(0x2,_0x1c8991[_0x17756b(0x3a4)]),_0x559ca9(0x3,_0x3b5018[_0x17756b(0x454)]),_0x559ca9(0x4,_0x1c8991[_0x17756b(0x2e2)])],_0x35b688);class _0x538fdd extends _0x1c8991['RxDisposable']{constructor(){const _0x3b812e=_0x17756b;super(),_0x25db2a(this,_0x3b812e(0x37b)),this[_0x3b812e(0x37b)]=_0x2dc6e4[_0x3b812e(0x1e6)](window,_0x3b812e(0x4a8))[_0x3b812e(0x26f)](_0x2dc6e4[_0x3b812e(0x185)](this['dispose$']),_0x2dc6e4[_0x3b812e(0x3ec)](0x1),_0x2dc6e4[_0x3b812e(0x459)](void 0x0));}['setParam'](_0x3e2ce3,_0x25909b,_0xcc277=!0x1){const _0x218882=_0x17756b,_0x5220a4=new URL(window[_0x218882(0x214)][_0x218882(0x1cf)]);_0x5220a4[_0x218882(0xd5)][_0x218882(0x331)](_0x3e2ce3,_0x25909b),_0xcc277?window['history']['replaceState']('','',_0x5220a4['toString']()):window[_0x218882(0x2b8)][_0x218882(0x4dd)]('','',_0x5220a4[_0x218882(0x6e)]());}[_0x17756b(0x10f)](_0x1a7469,_0x531885=!0x1){const _0x3ba129=_0x17756b,_0xc8e32e=new URL(window[_0x3ba129(0x214)][_0x3ba129(0x1cf)]);_0xc8e32e[_0x3ba129(0xd5)][_0x3ba129(0x4f4)](_0x1a7469),_0x531885?window[_0x3ba129(0x2b8)][_0x3ba129(0x309)]('','',_0xc8e32e[_0x3ba129(0x6e)]()):window[_0x3ba129(0x2b8)][_0x3ba129(0x4dd)]('','',_0xc8e32e[_0x3ba129(0x6e)]());}[_0x17756b(0x34e)](_0x4595da){const _0x3726aa=_0x17756b;var _0x4b844f;return(_0x4b844f=new URL(window[_0x3726aa(0x214)]['href'])[_0x3726aa(0xd5)][_0x3726aa(0x30c)](_0x4595da))!=null?_0x4b844f:void 0x0;}}var _0x164517=Object[_0x17756b(0x76)],_0x47a8d2=Object[_0x17756b(0x4db)],_0x476b71=(_0x4b5a45,_0x3dbe7d,_0x719d1)=>_0x3dbe7d in _0x4b5a45?_0x164517(_0x4b5a45,_0x3dbe7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x719d1}):_0x4b5a45[_0x3dbe7d]=_0x719d1,_0x2fdedb=(_0x5d8d13,_0x87fd77,_0x114676,_0x5dacbb)=>{const _0xf0273=_0x17756b;for(var _0x40c100=_0x5dacbb>0x1?void 0x0:_0x5dacbb?_0x47a8d2(_0x87fd77,_0x114676):_0x87fd77,_0x4b9de9=_0x5d8d13[_0xf0273(0x189)]-0x1,_0x30330f;_0x4b9de9>=0x0;_0x4b9de9--)(_0x30330f=_0x5d8d13[_0x4b9de9])&&(_0x40c100=(_0x5dacbb?_0x30330f(_0x87fd77,_0x114676,_0x40c100):_0x30330f(_0x40c100))||_0x40c100);return _0x5dacbb&&_0x40c100&&_0x164517(_0x87fd77,_0x114676,_0x40c100),_0x40c100;},_0x366f73=(_0x1f0792,_0x152d6e)=>(_0x4d540c,_0x56bfcd)=>_0x152d6e(_0x4d540c,_0x56bfcd,_0x1f0792),_0x306841=(_0x1656be,_0x1006ba,_0x412085)=>_0x476b71(_0x1656be,_0x1006ba+'',_0x412085);const _0x2d5e3f=_0x17756b(0x37e);_0x1b0f0a[_0x17756b(0x252)]=class extends _0x1c8991[_0x17756b(0xf4)]{constructor(_0x4f5800=_0x5b2dfd,_0x3cfcad,_0x3b41b7,_0x1383b9,_0x5696db){const _0x42a362=_0x17756b;super(),this['_config']=_0x4f5800,this[_0x42a362(0x532)]=_0x3cfcad,this[_0x42a362(0x282)]=_0x3b41b7,this[_0x42a362(0x419)]=_0x1383b9,this[_0x42a362(0x4ed)]=_0x5696db;const {..._0x2007d7}=this[_0x42a362(0x17d)];this[_0x42a362(0x4ed)]['setConfig'](_0x5adfcf,_0x2007d7);}[_0x17756b(0x37a)](){const _0x40693f=_0x17756b;this['_registerDependencies'](),this[_0x40693f(0x450)]();}[_0x17756b(0x421)](){const _0x1b9f4b=_0x17756b;_0x1c8991[_0x1b9f4b(0x3eb)](this['_injector'],[[_0x1195e2]]);}[_0x17756b(0x439)](){const _0xc58958=_0x17756b;this[_0xc58958(0xf0)]();}[_0x17756b(0x1d4)](){const _0x29a4c8=_0x17756b;var _0x1cc02c,_0x2c33ca,_0x329aca,_0x5e843f;this[_0x29a4c8(0x419)][_0x29a4c8(0x4d6)](_0x1c8991['IUndoRedoService'])&&this[_0x29a4c8(0x532)][_0x29a4c8(0x47c)](_0x29a4c8(0x1b9),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2ddb7b=[[_0x1c8991['IUndoRedoService'],{'useClass':_0x35b688}],[_0x1b0f0a[_0x29a4c8(0x31a)]],[_0xc194fc],[_0x210d73,{'useClass':_0x538fdd}],[_0x1b0f0a[_0x29a4c8(0x44a)]],[_0x1b0f0a[_0x29a4c8(0x533)]],[_0x2b12f0['WebSocketService']],[_0x5c8e23],[_0x2b31aa],[_0xbaa802],[_0x4832e1],[_0x3af579],[_0x552e63],[_0x6e39f0],[_0x3b3d02],[_0x5b986b],[_0x14b5ef,{'useClass':(_0x2c33ca=(_0x1cc02c=this[_0x29a4c8(0x17d)])==null?void 0x0:_0x1cc02c[_0x29a4c8(0x13c)])!=null?_0x2c33ca:_0x1b0f0a[_0x29a4c8(0x115)]}],[_0x3b5018[_0x29a4c8(0x510)],{'useClass':_0x1b0f0a['SnapshotServerOverHTTPService']}],[_0x1c8991[_0x29a4c8(0x289)],{'useClass':_0x1b0f0a[_0x29a4c8(0x416)]}],[_0x73aec1[_0x29a4c8(0xe0)],{'useClass':_0x1b0f0a[_0x29a4c8(0x529)]}],[_0x1b0f0a[_0x29a4c8(0x424)]],[_0x1b0f0a['DataLoaderController']],[_0x1b0f0a[_0x29a4c8(0x174)]],[_0x1195e2],[_0x5c5cbc]];(_0x329aca=this[_0x29a4c8(0x17d)])!=null&&_0x329aca[_0x29a4c8(0x525)]&&_0x2ddb7b[_0x29a4c8(0x1c1)]([_0x44fdb5,{'useClass':_0x7806b6}]),_0x1c8991[_0x29a4c8(0x3e5)](this[_0x29a4c8(0x419)],_0x1c8991['mergeOverrideWithDependencies'](_0x2ddb7b,(_0x5e843f=this['_config'])==null?void 0x0:_0x5e843f[_0x29a4c8(0x118)]));}[_0x17756b(0xf0)](){const _0x1eb83e=_0x17756b;this[_0x1eb83e(0x9b)](this['_renderManagerService']['registerRenderModule'](_0x1c8991[_0x1eb83e(0x469)]['UNIVER_DOC'],[_0x4c0f1b])),this[_0x1eb83e(0x9b)](this[_0x1eb83e(0x282)]['registerRenderModule'](_0x1c8991[_0x1eb83e(0x469)]['UNIVER_SHEET'],[_0x314483]));}[_0x17756b(0x450)](){const _0x2a526=_0x17756b;var _0x394ac2,_0xf576da;this['_injector'][_0x2a526(0x30c)](_0x2b12f0[_0x2a526(0x1af)])[_0x2a526(0x3c2)]({'priority':0x14,'interceptor':_0x2b12f0[_0x2a526(0xe8)]({'maxParallel':0x6})}),(_0x394ac2=this[_0x2a526(0x17d)])!=null&&_0x394ac2[_0x2a526(0x4a6)]||this['_injector']['get'](_0x1b0f0a[_0x2a526(0x533)])[_0x2a526(0x41f)](),(_0xf576da=this[_0x2a526(0x17d)])!=null&&_0xf576da[_0x2a526(0x343)]&&_0x1c8991[_0x2a526(0x3eb)](this[_0x2a526(0x419)],[[_0x552e63]]),_0x1c8991['touchDependencies'](this['_injector'],[[_0x6e39f0],[_0x5c5cbc],[_0x1b0f0a[_0x2a526(0x235)]],[_0x1b0f0a[_0x2a526(0x424)]],[_0x1b0f0a['DesktopCollaborationStatusDisplayController']],[_0x5b986b]]);}},_0x306841(_0x1b0f0a[_0x17756b(0x252)],'pluginName',_0x2d5e3f),_0x1b0f0a[_0x17756b(0x252)]=_0x2fdedb([_0x1c8991[_0x17756b(0x307)](_0x3b5018[_0x17756b(0x1d5)],_0x2b12f0[_0x17756b(0x2e4)]),_0x366f73(0x1,_0x1c8991[_0x17756b(0x2e2)]),_0x366f73(0x2,_0x90a0ec['IRenderManagerService']),_0x366f73(0x3,_0x1c8991['Inject'](_0x1c8991['Injector'])),_0x366f73(0x4,_0x1c8991[_0x17756b(0x4ef)])],_0x1b0f0a[_0x17756b(0x252)]),_0x1b0f0a[_0x17756b(0x4b4)]=_0x57ff1b,_0x1b0f0a['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x649aa,_0x1b0f0a[_0x17756b(0x277)]=_0x3fcd22,_0x1b0f0a[_0x17756b(0x205)]=_0xf85cc6,_0x1b0f0a[_0x17756b(0x47d)]=_0x4d2813,_0x1b0f0a[_0x17756b(0x29b)]=_0x3b3d02,_0x1b0f0a[_0x17756b(0x25d)]=_0x50b4d1,_0x1b0f0a[_0x17756b(0x24c)]=_0x24ac3f,_0x1b0f0a[_0x17756b(0x12c)]=_0x14b5ef,_0x1b0f0a[_0x17756b(0x33a)]=_0x210d73,_0x1b0f0a[_0x17756b(0x13f)]=_0x366246,_0x1b0f0a['LOGIN_URL_KEY']=_0x26267f,_0x1b0f0a['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x13d628,_0x1b0f0a[_0x17756b(0xcc)]=_0x2f9a15,_0x1b0f0a[_0x17756b(0x383)]=_0x101d2c,_0x1b0f0a[_0x17756b(0x211)]=_0x4f035d,_0x1b0f0a[_0x17756b(0x24a)]=_0x1421cb,_0x1b0f0a[_0x17756b(0x395)]=_0x38e0d7,_0x1b0f0a[_0x17756b(0x3fa)]=_0x538fdd,_0x1b0f0a['deserializeToCombResponse']=_0x547db5,_0x1b0f0a[_0x17756b(0x405)]=_0x395abc,Object['defineProperty'](_0x1b0f0a,Symbol[_0x17756b(0x225)],{'value':'Module'});}));function _0x2df6(){const _0x3a7837=['hide','FromArray','collaboration_new_changeset','_disableEditing','JSONX','_showConflictNotification','_singleActiveUnitService','/role','NO_OTHER_CLIENTS_EDITING','decrypt','WebURLService','_updateLocalCursor','PasswordBasedCipher','message$','UPDATE_PERMISSION_OBJ','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','COLORS','_socketService','Pkcs7','serializeCombRequest','[SyncedState]:\x20received\x20rejection.','_clearLocalCache','ref','_doFinalize','AES','UnitSnapshot','Could\x20not\x20dynamically\x20require\x20\x22','mapDocumentTypeToUniverType','_scheduleHeartbeat','[FetchMissState]','_awaitingChangeset','_initCommandExecutedListener','connectInjector','jsxs','CONFLICT','UniverEngineFormula','AuthzIoHttpService','_revisionService','objects','_injector','change$','SNAPSHOT_INVALID_SNAPSHOT','getRoom','putCollaborators','PSEUDO_FETCH_MISSING_RESULT','disableLocalCache','WordArray','onReady','@univerjs/telemetry','USERS_ENTER','CollaborationController','getUnit','InsertColCommandId','3364599FcFHiQ','_transformUndoredo','reduce','INVALID_ARGUMENT','_mode','downloadEndpointUrl','/new_changes','forEach','event$','onlineStatusTitle','setActiveRange','Latin1','ICommandService','objectType','_createHelper','unit-cache-','_sendHeartbeat','VIEWPORT_KEY','onRendered','_clearRedo','\x0aAfter:\x20','_prevBlock','actions','transform','dispose','onPointerLeave$','Utf8','memberID','_docTransformIMECacheService','conflict.title','ceil','_syncEditingCollabCursorService','getFocusedUnit','LOCAL_CACHE_INTERVAL','randomUUID','MemberService','[DataLoaderController]','_type','_uiPartsService','collaboration-session-retry','online','_initDependencies','signUrlServerUrl','_refRangeService','ERROR_IMAGE','ITransformService','create','pad','M0\x200H16V16H0z','_state','mapTo','HEADER_MENU','/unit/','HEARTBEAT_TIMEOUT','[CollaborationEntity]','words','take','_onConnectionFailed','image/gif','IMessageService','RevisionService','_memberService','collab-text-anchor-','mixIn','_collaborationPaused','ivSize','UniverInstanceType','_transformIMECache','/block/','roomMembers','defIds','_colorIndex','UniverDocs','_pendingMutations','_notificationService','Optional','NodePositionConvertToCursor','dispose$','status','currentTheme$','sheets','file','_session','width','next','error','CollaborationStatusDisplay','getValue','snapshot','Univer','entries','unitId\x20is\x20not\x20found','removeMember','padding','HmacSHA1','labelPosition','newCsEvent','liveShareNewHost','_fetchMissChangesets','on-line-single','_socket$','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','resize','_throwTelemetryCollaborationNewChangeset','_userManagerService','_sessionStatus$','FETCH_MISSING','_entityInit$','_eventUnsubscribe','_key','MUTATION','CHANGESET_REVISION_CONFILICT','_drawTextRange','_createHandler','charCodeAt','cfg','Unknown\x20user','copyFileMeta','collaboration.closeRoom','CommandType','StreamCipher','RegularPolygon','members','fetch_missing','_transformSelections','getCollabCursors$','onSendChangeset','enableOfflineEditing','getOwnPropertySymbols','popstate','abs','UniverDocsUi','on-line-single_clip0_910_349','ERROR_EXCEED_SIZE','_unlockTransition','LICENSE_MAX_UNITS_EXCEEDED','bind','SheetCollaborationEntity','moveTo','getConfig','_listenToOnlineEvent','AUTHZ_URL_KEY','...','_docTransformStateCacheService','storage','image/jpeg','/universer-api/snapshot','_getAPIPrefixPath','_map','LIVESHARE_OPERATION','_socketReady','jsx','_onFetchMissResult','close$','APPLY_REJECT','_entities','UNDEFINED','_drawAnchor','getWorkbookSelections','USERS_LEAVE','_schedule','_getMergeRange','EXCHANGE_SIGN_URL_SERVER_URL_KEY','Tooltip','getColor','asObservable','doc.mutation.rich-text-editing','@univerjs/sheets','docStateChange$','_getAnchorBounding','_exhaustRemoteChangesetQueue','UNKNOWN_CODE','getUndoRedoMutationParamsCache','ENSURE_SNAPSHOT_EXECUTION','operators','has','_onCombEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','every','encrypt','getOwnPropertyDescriptor','_collabCursorState$','pushState','number','_getSheetObject','LICENSE_IMPORT_SIZE_EXCEEDED','RxDisposable','getActiveSheet','lineTo','find','LOGIN_URL_KEY','InsertRowCommandId','_onLocalMutation','isTransformMutationFailure','translate(.97)','_docStateChangeManagerService','getRelativeToViewportCoord','addObject','_configService','_removeRoom','IConfigService','_state$','univer-offline','lib','min','delete','crypto','_transformUndoRedoStack','_incrementRevisionNumber','/-/object/-/batch_allowed','collab-client.tooltip.reconnect','onMissedChangesetFetched','@univerjs/drawing','_onRemoteRetry','0\x200\x2016\x2016','arc','_stopTelemetryCollaborationNewChangeset','subscribe','getSheetBlock','[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.','_event$','\x20-\x20','image/bmp','distinctUntilChanged','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','setItem','_initRequestHeader','originalMeta','InsertRangeMoveDownCommandId','_labelPosition','updatePermissionPoint','session.will-retry','createInstance','ISnapshotServerService','conflict','kdf','pending','sheetId','LEAVE','[PendingState]:\x20received\x20rejection.','/resources','with','SheetSkeletonManagerService','getUnitId','repeat','deleteCollaborator','loadSheet','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','deserializeRangeWithSheet','then','update','splice','_keyPriorReset','UNIVER_DOC','enableSingleActiveInstanceLock','sequenceExecute','_setupSubUnitSync','all','ImageIoService','_clearTimeoutTimer','useObservable','_replaceFileID','_updateLocalCache','_parse','unitID','string','msCrypto','_logService','LocalCacheService','isTransformMutationsWithChangesetFailure','switchMap','method','x-univer-host','_startDocCollabCursor','toString','2332265RPeoUR','red300','_hash','iterations','isInternalEditorID','_commentUpdate$','SetDocZoomRatioOperation','defineProperty','reset','onTransformState','_doCryptBlock','session.collaboration-timeout','values','DocCollaborationEntity','rxjs/operators','NoPadding','color','reject','_waitCount','_localCacheService','COMPLETION_FINISHED','auth.needGotoLoginAlert','_onConnectionOpen','EvpKDF','interceptor','DocIMEInputManagerService','React','_decreaseWaiting','algo','newValue','_data','saveSheetBlock','charAt','awaitingChangeset','undoState','black','_lockTransition','subUnitId','current','[PendingState]:\x20unhandled\x20univer\x20type:\x20','AWAITING_WITH_PENDING','none','CONNECTOR_DATA_TOO_LARGE','sid','disposeWithMe','@univerjs/docs-ui','revision','_createInitialStateImpl','_sender','[CollaborationState]:\x20apply\x20error!','byteOffset','Injector','HttpImport','getRandomValues','_toggleOffline','EffectRefRangId','_collaborationTimeoutTimer','blockSize','isTransformChangesetsSuccess','CHANGESET_SHOULD_RETRY','height','resourceIDs','_updateURLWithCurrentState','ReactCurrentOwner','getCurrentUser','handleInsertRangeMoveRight','getVpScrollXYInfoByPosToVp','_ensureSubject','setShowComponents','_scheduleClearOtherTimer','max','_online','_id','_transitionLocked','_replayCachedMutations','parseProtocolChangeset','_getCurrentRevision','UniverTelemetry','_process','_isPermissionRej','getTypeOfUnitAdded$','permission.title','[CollaborationSessionService]','_docTransformSelectionsService','ONLINE','ImageSourceType','clear','clone','_handler','_iv','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_changesetSessionId','_onCursorUpdate','SEND_CHANGESET_TIMEOUT_KEY','UNIVER_PROJECT','collabWebSocketUrl','LocaleService','APPLY_DUPLICATED','disposeUnit','_queuedRemoteChangesets','_onRecvEvent','HEARTBEAT','searchParams','isPermissionRej','_sendingTimer','collabStatus.offline','_socketMessageSubscription','split','_instanceService','_textBubble','apply','jiqing500','state$','IImageIoService','roomMembers$','requireSession','_selfUnitIDs','Disposable','_reverseMap','replace','univer-online','ThresholdInterceptorFactory','stringify','_onJoinRoomEvent','withCredentials','size','transformMutationsWithChangeset','enc','_onCursorDelete','_registerRenderDependencies','objectID','mutations','handleDeleteRangeMoveUp','Plugin','_docSkeleton','onMouseMove','fromEventSubject','format','socket$','assignAColorForMemberID','startRow','_startSheetCollabCursor','addEventListener','MSG_FOR_ERROR','appendMutation','leaveEvent','1488396YUCbnY','buffer','_initUnitPermissionChange','_executeRemoteChangeset','Cipher','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ImageUploadStatusType','subscribeEvent','capture','isEditing','csRejEvent','url(#$1','_append','_onUserJoin','removeParam','ALREADY_EXISTS','_shouldReportTelemetry','BlockCipher','LIVESHARE_REQUEST_HOST','LocalUndoRedoService','CollaborationSocketService','code','_messageService','override','INGEST','loadDoc','COMPRESS_MUTATION_APPLY','_drawRectRange','_clearOtherTimers','FETCH_MISS','_color','compute','_saveCache','_handleHover','YUUMI_SUBSCRIPTION_NOT_FOUND','updateOfflineData','deepClone','body','getViewport','SheetsSelectionsService','APPLY_REVISION_CONFILICT','svg','slice','ICollaborationSocketService','univer-pro.collaboration-client.single-active-unit-service','session.connection-failed','ITelemetryService','IUndoRedoService','univerjs-icon\x20univerjs-icon-','cursorInfo','_scene','merge','_startTelemetryCollaborationNewChangeset','origin','textRanges','redoState','Error','_loadDoc','awaiting','socketService','univer-online-status','ACTIVE_UNIT_EVENT_CHANNEL','LOCAL_CACHE_INTERVAL_KEY','syncEditingCollabCursor','uni.network.url-service','telemetry\x20info\x20is\x20not\x20initialized','default','univer-online-status-title','collabStatus.conflict','blue400','collaboration-client.config','_resendTimeout','getResourcesRequest','_nRounds','IPermissionService','univer-online-status-icon','skeleton','userID','_removeClearOtherTimer','getImageSourceCache','gold400','Error\x20on\x20receiving\x20event','/universer-api/snapshot/','sessionStatus','Hasher','fillStyle','getRangePointData','getTypeOfUnitDisposed$','addImageSourceCache','collabSubmitChangesetUrl','joinRsp','getMemberID','Rect','_remoteChangesetQueue','_compressMutationService','textEncoder','WebSocketService','DEFAULT_FILE_NAME','confirm','saveImage','_backgroundColor','_snapshotServerService','UnitEmbedded','_handleEvent','SnapshotServerOverHTTPService','onTransformRemoteChangesetByStateCache','SEND_CHANGESET_TIMEOUT','_invKeySchedule','WorkbookEditablePermission','UUID','connection\x20error','url(#on-line-single_clip0_910_349)','flatMap','propertyIsEnumerable','findNodePositionByCharIndex','DesktopCollaborationStatusDisplayController','localeService','_getSnapshotAPIPrefix','function','_oKey','_sheetSkeletonManagerService','top','c1Prime','_xformMode','_config','state','ReplaySubject','onlyLocal','close','RemoveColCommandId','_transformService','getCurrentSelections','takeUntil','_applyRemoteChangeset','session','result','length','CollaborationEntity','unpad','DocSkeletonManagerService','MoveRangeCommandId','rev','_colorAssignService','combineLatest','DocStateChangeManagerService','_imageSourceCache','_handleHeartbeatEvent','save','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','editingUnit','text','_docSkeletonManagerService','mode','commentUpdate$','UPDATE_CURSOR','roles','_syncEditingCollabCursor','visibilitychange','_retryCount','_removeCollabCursors','_nDataBytes','_onRemoteRejected','SetSelectionsOperation','reconnect','eventID','_permissionService','SnapshotService','&source=','UniverIcon','idSuffix','_name','selection','open$','unitId','HTTPService','collaboration-client.offline-data-not-saved','updateMember','shouldCloseConn','visibilityState','IRemoteInstanceService','_setupBeforeClosingHandler','_anchor','HEARTBEAT_INTERVAL','registerRefRange','[UniverCollaborationClientPlugin]','colorChannel1','_collaborationController','BuiltInUIPart','_updateState','from','currentColor','debug','push','_members','handleMoveRange','/universer-api/authz','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_onConflict','onTransformIME','/universer-api/file/{fileID}/sign-url','_initStatusComponent','encode','substring','session.room-full','image/png','_joinRoom','href','_cursorInfo$','div','YUUMI_URL_COL_OUT_OF_RANGE','assign','_registerDependencies','UniverCollaborationPlugin','_collaborationSessionService','_checkMissing','&to=','_sessions','_submitChangeset','getSheetId','__Key__','__creator','UNRECOGNIZED','OffLineSingle','CollaborationSession','put','TOO_MANY_REQUESTS','onTransformSelections','RECV','_draw','fromEvent','MessageType','createCollaborator','loadOfflineData','PENDING','INotificationService','_listenToOfflineEvent','ColorKit','onRemoteRetry','Fragment','/-/object/list','handleInsertCol','_changesetReqId','title','getAllMembers','FAIL','add','_candidateSocket','toggleOffline','BufferedBlockAlgorithm','BehaviorSubject','clamp','getCurrentUnitForType','_transformHistoryAndStateStack','debounce','_toggleOnline','_shapes','reqId','batchAllowed','Decryptor','CBC','CollaborationStatus','csShouldRetryEvent','TEXT_RANGE_LAYER_INDEX','handleInsertRangeMoveDown','@univerjs/core','join','collaborators','getLatestCsReqIdBySid','_getDownloadEndpointURL','_getRedoStack','IBeforeCloseService','[CollaborationSessionService]:\x20socket\x20error','SNAPSHOT_URL_KEY','infoRsp','send','location','_getSignURL','_undoRedoService','createDecryptor','clipPath','loginUrlKey','getCollabEntity$','1em','delay','synced','LIVESHARE_TERMINATE','hostname','toggleOnline','_disabled','indexOf','m1Prime','_cursors','toStringTag','Rectangle','sendChangesetTimeout','_saveTaskMap','DocSelectionManagerService','cursorInfo$','15068739XkJsXG','floor','AWAITING','RemoveRowCommandId','rxjs','_clearHeartbeatTimer','COLLAB_WEB_SOCKET_URL','isActive','symbol','url','DataLoaderController','7884516MKwHEJ','_beforeCloseService','JOIN','Base64','_updateSubUnitFromURLParams','getAncestorScale','engine','@univerjs/engine-formula','beginPath','bottom','NOT_FOUND','filter','createElement','type','_ENC_XFORM_MODE','ciphertext','_loadSheet','error$','6866548GpCIEE','setParam','SessionStatus','_refreshCollabCursors','HEARTBEAT_TIMEOUT_KEY','_doProcessBlock','_getAPIPrefix','_status$','formatter','executeCommand','UniverCollaborationClientPlugin','getUnitType','Malformed\x20UTF-8\x20data','/allowed','exhaustSavingTask','target','@univerjs/ui','drawWith','isTransformMutationsWithChangesetSuccess','fetchThroughInterceptors','CollaborationEvent','HEARTBEAT_INTERVAL_KEY','_updateStatus','parse','evenodd','resolve','Tools','_getSendChangesetTimeout','round','RichTextEditingMutation','post','_rescheduleHeartbeat','getUnitStatus$','awaiting_with_pending','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','handleIRemoveCol','Subject','@univerjs-pro/collaboration','_getUndoStack','pipe','fillText','Vector2','OFFLINE','sheetID','_iKey','collaboration.single-unit.warning','getCollabEntity','COLLAB_WEB_SOCKET_URL_KEY','SNAPSHOT_HAS_BEEN_REMOVED','setTimeout','[CollaborationUndoRedoService]','baseRev','encodeURIComponent','getMember','pauseCollaboration','getItem','transformMutation','_initMergeInterceptor','_renderManagerService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','measureText','_assignedColors','_transformRemoteChangesetByStateCache','_roomMembers$','COMMENT_UPDATE','IAuthzIoService','_createSocket','execute','encryptBlock','isArray','status$','getUnhiddenWorksheets','updateCursorEvent','/object','off-line-single','font','init','enableLocalCache','sigBytes','_onUserLeave','YUUMI_RATE_OVER_LIMIT','toRgbString','_hideTimer','CommentService','DeleteRangeMoveLeftCommandId','params','getRenderById','transformRemoteChangeset','LIVESHARE_FETCH_OPERATIONS','debounceTime','JOINING','triggerDblclick','getSkeleton','_substituteRedoStack','SetWorksheetActivateCommand','@univerjs/network','name','cmd','for','forwardRef','onStateChange','_cachedData','setShapeProps','displayName','m2Prime','@univerjs/design','useCallback','onMissingChangesets','focused$','onPointerEnter$','getCurrent','[OfflineState]:\x20received\x20rejection.','history','_collabCursorController','joinEvent','commentUpdateEvent','_send','OpenSSL','getDocRanges','startsWith','collabStatus.notCollab','random','xlink:href','object','_anchorDot','/collaborator','hovered','BASE64','onTransformRemoteChangesetByIMECache','\x20in\x20_schedule.','_onMessage','_clearUndo','UNAUTHENTICATED','onRemoteAck','subunit','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','exports','closePath','_initResize','ThemeService','/universer-api/comb','0\x200\x2017\x2016','_clearScheduledTask','_unitID','_HTTPService','_http','HELLO','UNIVER_SHEET','FileId','_getSaveTimeout','_onOffline','generateRandomId','_hovered','registerOnClose','ILogService','endRow','UniverNetworkPlugin','_acknowledgedAwaitingChangeset','UniverNetwork','IUniverInstanceService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','icon','hasOwnProperty','_hasher','_keySchedule','PERMISSION_REJ','onlineStatus','unshift','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','@univerjs/docs','socket\x20open.','_transformStack','onRemoteChangeset','_resendWithTimeout','saveSnapshot','rng','handleInsertRow','permissionRejEvent','_initStatusListener','randomBytes','getCoordByCell','_telemetryService','_retryConnectingTimer','IUIPartsService','_urlService','startTime','attrs','_unitOnClients','@univerjs/engine-render','catch','createIdentifier','DependentOn','_waitForHeartbeatResponse','replaceState','transformIMECache','[CollaborationSession]','get','handleDeleteRangeMoveLeft','onRemoteRej','save\x20fail\x20reason\x20is\x20','_cipher','restore','roomInfos','handleIRemoveRow','2784962KbtZwO','fetchMiss','UNIVER_SLIDE','routeKey','_transformStateCache','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CollaborationSessionService','[SyncedState]:\x20received\x20acknowledgement.','IDLE','now','offline','keySize','_getCtorByUniverType','requestParams','UserManagerService','fillRule','_resendTimer','_hover','CHANGESET_ACK','IRenderManagerService','defs','Inject','?url=','unsubscribe','LIVESHARE_NEW_HOST','_context','_DEC_XFORM_MODE','_change$','endColumn','set','fill','_initCloseConn','#FFF','collabCursorState$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getScale','Encryptor','RETRY_CONNECTING_MAX_COUNT','IURLService','createSocket','unknown','MD5','_heartbeatTimer','UniverProCollaborationClient','_lastPointer','className','currentSkeleton$','enableAuthServer','_commentService','YUUMI_UNABLE_LOAD_URL','INTERNAL_ERROR','InsertRangeMoveRightCommandId','_onRemoteACK','children','show','_startCollaboration','onCommandExecuted','COLLAB_SUBMIT_CHANGESET_URL','getParam','decryptBlock','_docSyncEditingCollabCursorService','_sendHeartbeatTimer','selections','MergeInterceptorFactory','_createHmacHelper','ws://127.0.0.1:8000/universer-api/comb/connect','SetTextSelectionsOperation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','salt','getInterceptPoints','_tryEnsureSocket','UNKNOWN_CMD','HttpExport','SYNCED','APPLY_PERMISSION_DENIED','_univerInstanceService','\x0aCurrent:\x20','OTHER_CLIENTS_EDITING','LICENSE_DISTRO_REJECTED','_doReset','_getUploadFileURL','concat','@univerjs/rpc','_getLoginPath','PERMISSION_DENIED','[OfflineState]:\x20received\x20changeset.','key','ranges','_cursorShapes','resend','collab-rect-range-','b64DecodeUnicode','SHA1','_range','includes','retryConnectingInterval','Hex','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','column','Undefined','_substituteUndoStack','contains','onStarting','urlChange$','_snapshotService','verdancy600','UNIVER_COLLABORATION_CLIENT_PLUGIN','startColumn','hasher','append','clearTimeout','SNAPSHOT_SERVER_URL_KEY','transformSelections','off-line-single_clip0_910_343','clearInterval','submit\x20changeset\x20error!','setUndoRedoMutationParamsCache','UniverSheets','listRoles','initWorkbookPermissionChange','[PendingState]:\x20received\x20acknowledgement.','_init','Workbook','onCommentUpdate','TEXT','reverse','sessionStatus$','range','/object/','SheetCollabCursorShape','tag','useDependency','getCurrentRevOfUnit','call','_redoStacks','data','SUBMIT_CHANGESET','_handleJoinEvent','_ws','readAsDataURL','POST','SheetPermissionInitController','Base','getOffsetConfig','IContextService','transformChangesets','getDeserializedSheetBlock','_roomMembers','HMAC','complete','getTime','_socket','Warning','UniverProCollaboration','patch','_scheduleCollaborationTimeoutTimer','RECT','getStateCache','some','_tryReconnect','_collabSessionService','_httpService','defaultProps','univer-pro.collaboration-client-socket-service','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','$super','_transformPreviousActiveRange','_scheduleTimestamp','/rev/','finalize','transformUndoRedo','HmacMD5','row','_clearCollaborationTimeoutTimer','registerHTTPInterceptor','_onRemoteChangeset','toDisposable','throttleTime','list','prototype','_telemetryInfo','hidden','_unitStatus','SHOULD_CLOSE_CONN','extend','amd','@univerjs/sheets-ui','_initEventListeners','map','NEW_CHANGESETS','getSheetObject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','DOC_RANGE_TYPE','_scheduleSaving','_themeService','fromCharCode','path','UniverCore','CompressMutationService','_document','EmptyMutation','CHANGESET_REJ','socket\x20close','_localStorageService','NOT_COLLAB','_render','activeSheet$','HTTPRequest','UNIVER_UNKNOWN','registerDependencies','fetchMissingChangesets','createEncryptor','_handleLeaveEvent','_transformRemoteChangesetByIMECache','compose','touchDependencies','shareReplay','_timeoutTimer','_localeService','_commandService'];_0x2df6=function(){return _0x3a7837;};return _0x2df6();}