@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505191607 → 0.7.0-nightly.202505211607
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1ddf(){const _0x331929=['YUUMI_TABLE_NOT_FOUND_IN_UNIT','searchParams','UnitStatus','ILocalStorageService','LICENSE_IMPORT_SIZE_EXCEEDED','_handleHover','post','_localStorageService','CHANGESET_REVISION_CONFILICT','_sheetSkeletonManagerService','disposeWithMe','_registerRenderDependencies','_updateLocalCursor','UniverSheets','_transformUndoRedoStack','black','registerRenderModule','SessionStatus','data','uni.network.url-service','_config','UniverProCollaborationClient','substring','unitID','ALREADY_EXISTS','SNAPSHOT_INVALID_SNAPSHOT','JOIN_ROOM_FAILED','...','RevisionService','Vector2','none','@univerjs/design','collabStatus.synced','top','contains','MOBILE_HAS_BEEN_BOUND','CollaborationEvent','UniverProCollaboration','beginPath','_handleJoinEvent','_session','replaceState','@univerjs/ui','width','EMAIL_HAS_BEEN_BOUND','font','handleIRemoveCol','debounceTime','CollaborationDataLoaderController','handleInsertRangeMoveRight','Rect','getValue','INVITE_CODE_ALREADY_BOUND','switchMap','requireSession','updateOfflineData','collabStatus.notCollab','Error','collaboration.closeRoom','propertyIsEnumerable','fromEvent','operators','univer-flex\x20univer-mr-2\x20univer-text-xl','getCurrentRevOfUnit','textRanges','_hovered','all','_cursor','getRangePointData','engine','bottom','then','_scene','@univerjs/docs-ui','CollaborationSocketService','YUUMI_AI_RUN_FAILED','colorChannel1','_docSkeletonManagerService','mergeOverrideWithDependencies','_send','UniverCollaborationClientPlugin','drawWith','_updateSubUnitFromURLParams','_drawTextRange','resize','exhaustSavingTask','_ensureSubject','syncEditingCollabCursor','IDocClipboardService','_hideTimer','DocCollaborationEntity','connectInjector','OTHER_CLIENTS_EDITING','_initStatusListener','show','getVpScrollXYInfoByPosToVp','WebSocketService','Disposable','isArray','_init','_toggleOffline','getLocalCacheKey','setUndoRedoMutationParamsCache','_docTransformStateCacheService','OnLineSingle','off-line-single','Injector','loadOfflineData','_instanceService','BrowserCollaborationSocketService','_dataLoaderService','code','getColorFromTheme','_heartbeatTimer','executeCommand','@univerjs/core','getColor','yellow.400','_status$','serializeRangeWithSheet','_themeService','Warning','YUUMI_ASYNCIO_CANCELLED','_httpService','saveOfflineData','RegularPolygon','session.collaboration-timeout','ONLINE','_colorIndex','doc.mutation.rich-text-editing','_assignedColors','Tools','getDocRanges','_entityInit$','getParam','327190wabSok','INVALID_ARGUMENT','send','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_saveCache','_docTransformSelectionsService','length','_textBubble','_drawAnchor','SNAPSHOT_HAS_BEEN_REMOVED','DisposableCollection','saveImage','addObject','_initDependencies','YUUMI_URL_COL_OUT_OF_RANGE','href','UniverCore','translate(.97)','indexOf','restore','_saveTaskMap','_scheduleHeartbeat','IRemoteInstanceService','set','_cachedData','collabStatus.conflict','onRendered','@univerjs/sheets-ui','_selfUnitIDs','event$','3417uEMXlG','INVITE_CODE_HAS_BEEN_UES','function','override','replaceDocRanges','triggerDblclick','NodePositionConvertToCursor','map','find','defineProperty','BuiltInUIPart','status$','className','handleInsertRow','Plugin','_onRefRangeChange','_transformHistoryAndStateStack','fill','APPLY_DUPLICATED','params','SetWorksheetActivateCommand','getConfig','undoState','invokeId','USERS_LEAVE','extend','_onCursorUpdate','_anchorDot','assignAColorForMemberID','docStateChange$','_uiPartsService','idSuffix','DeleteRangeMoveUpCommandId','labelPosition','UNRECOGNIZED','263898aYofCD','merge','TRANSFORM_CHANGE_OBSERVABLE_TYPE','setConfig','_initEntityListener','getCellPositionByOffset','_transformService','UniverEngineFormula','_unitStatus','_cursorShapes','url(#on-line-single_clip0_910_349)','min','setInterval','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','@univerjs/engine-formula','_cursors','_toggleOnline','session.will-retry','assign','NOT_COLLAB','IUIPartsService','_handleLeaveEvent','jsx','InsertRangeMoveDownCommandId','asObservable','debounce','_context','WECHAT_HAS_BEEN_BOUND','deserializeRangeWithSheet','collab-client.tooltip.reconnect','/run/','getRelativeToViewportCoord','toString','hovered','_docStateChangeManagerService','getItem','origin','ISnapshotServerService','isActive','_createSocketURL','getSheetId','saveTaskMap','_collabSessionService','ticket','_entities','permission.content','mutations','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_memberService','fromEventSubject','clearTimeout','OffLineSingle','_roomMembers$','defs','on-line-single_clip0_910_349','getMemberID','loadUnit','ISocketService','displayName','INTERNAL_ERROR','_scheduleClearOtherTimer','DOC_RANGE_TYPE','_docClipboardService','RECT','Optional','getCurrentSelections','EffectRefRangId','svg','YUUMI_NO_CUBOID_FOR_QUESTION','setActiveRange','Rectangle','ENSURE_SNAPSHOT_EXECUTION','@univerjs-pro/collaboration-client','Shape','_injector','setParam','_shapes','_commandService','replace','getOwnPropertyDescriptor','react/jsx-runtime','MessageType','592413oxdinV','DocIMEInputManagerService','history','createElement','endColumn','getCoordByCell','_cursorInfo$','collaboration-client.offline-data-not-saved','_updateCollabCursors','getAncestorScale','from','ILocalCacheService','touchDependencies','result','off-line-single_clip0_910_343','IUniverInstanceService','setTimeout','get','MUTATION','children','135rIHfwG','apply','_handleHeartbeatEvent','runId','_refRangeService','UniverDocs','registerRefRange','addClipboardHook','getCurrent','UniverIcon','_localCacheService','string','redoState','endRow','_removeCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','8376822jGDQxu','evenodd','shareReplay','session.connection-failed','unsubscribe','combineLatest','_collabCursorController','tag','hasOwnProperty','INotificationService','ITransformService','subscribeEvent','_collabCursorState$','setItem','selections','_refreshCollabCursors','INVITE_CODE_REQUIRED','wsSessionTicketUrl','CollaborationStatusDisplay','LOCAL_CACHE_INTERVAL','fillRule','CollaborationController','useCallback','Unknown\x20user','getSheetObject','SetSelectionsOperation','createInstance','OTHER_CLIENT_EDITING','IBeforeCloseService','currentColor','YUUMI_ALL_TABLES_IS_INVALID','OFFLINE','color','_labelPosition','setAlpha','newValue','closePath','_render','1688OdlsEd','transformRemoteChangeset','concat','currentTheme$','NOT_FOUND','UNAUTHENTICATED','MoveRangeCommandId','LICENSE_DISTRO_REJECTED','toDisposable','transformIMECache','subunit','CONFLICT','IMessageService','getSheetBySheetId','LOGIN_FAILED','TOO_MANY_REQUESTS','VIEW_MAIN','ICommandService','_syncEditingCollabCursorService','YUUMI_RATE_OVER_LIMIT','roomMembers$','@univerjs/docs','onTransformChange$','LOCAL_CACHE_INTERVAL_KEY','transformMutation','UniverProCollaborationClientUi','_drawRectRange','getFocusedUnit','_setupSubUnitSync','UniverInstanceType','moveTo','rgba(255,\x20255,\x20255,\x200.01)','_initCommandExecutedListener','SYNCED','InsertRangeMoveRightCommandId','WebURLService','_anchor','init','removeParam','_urlService','useDependency','CONNECTOR_DATA_TOO_LARGE','unshift','_id','UniverDesign','location','body','with','collabStatus.offline','1441hInQJa','_doCreateSocket','getTypeOfUnitAdded$','getCollabCursors$','subscribe','react','m2Prime','198330udAYcW','isTransformMutationsWithChangesetSuccess','next','Module','name','_draw','199624RlAvZE','_renderManagerService','green.600','sessionTicket','isEditing','subUnitId','forwardRef','UPDATE_CURSOR','size','fillText','APPLY_REJECT','call','fillStyle','unitId','prototype','getSkeleton','NO_OTHER_CLIENTS_EDITING','_getAnchorBounding','round','runRefRangeMutations','RxDisposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','M0\x200H16V16H0z','transformMutationsWithChangeset','_colorAssignService','_collaborationUIEventService','_color','getRenderById','onPointerLeave$','permission.title','SHEET_VIEWPORT_KEY','onLocalMutation','_registerDependencies','column','symbol','@univerjs-pro/collaboration','attrs','IURLService','runOnServer','_univerInstanceService','HTTPService','handleMoveRange','random','_initEvent','backgroundColor','executionId','_imageIoService','PERMISSION_DENIED','USER_NOT_INVITED_CODE','_backgroundColor','IConfigService','entityInit$','selection','_collaborationController','_docTransformIMECacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_eventUnsubscribe','getOwnPropertySymbols','UNIVER_DOC','takeUntil','CollaborationStatus','#fff','DesktopCollaborationStatusDisplayController','Inject','_startDocCollabCursor','_configService','m1Prime','object','setStateCache','getStateCache','pushState','_unitOnClients','filter','getOffsetConfig','collab-text-anchor-','mapTo','push','jiqing.500','React','range','useRef','height','makeDirty','_getScale','LICENSE_MAX_UNITS_EXCEEDED','INVALID_INVITE_CODE','ThemeService','lineTo','_notificationService','univerjs-icon\x20univerjs-icon-','clipPath','TEXT_RANGE_LAYER_INDEX','_updateURLWithCurrentState','_startSheetCollabCursor','onMouseMove','forEach','values','_docSyncEditingCollabCursorService','YUUMI_SUBSCRIPTION_NOT_FOUND','isTransformMutationFailure','getMember','UniverEngineRender','LocaleService','onStarting','stringify','registerDependencies','getTypeOfUnitDisposed$','_scheduleSaving','onPointerMove$','eventID','DocStateChangeManagerService','COLORS','handleIRemoveRow','#FFF','_removeClearOtherTimer','AWAITING_WITH_PENDING','enableLocalCache','key','getViewport','toRgbString','COMPLETION_FINISHED','clearInterval','unit','getUndoRedoMutationParamsCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','current','APPLY_REVISION_CONFILICT','_lastPointer','ranges','onCommandExecuted','_getSheetObject','on-line-single','entries','deepClone','handleDeleteRangeMoveUp','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','_docSkeleton','handleDeleteRangeMoveLeft','@univerjs/network','_online','[CollaborationDataLoaderController]','FETCH_MISS','urlChange$','getUnitId','UNDEFINED','path','InsertRowCommandId','reconnect','univer-flex\x20univer-items-center','complete','CommandType','_handleEvent','_getMergeRange','transformStateCache','transformSelections','source','hide','_clearOtherTimers','setShapeProps','APPLY_PERMISSION_DENIED','DEFAULT_WS_SESSION_TICKET_URL','transformByState','@univerjs/drawing','error','defIds','[RemoteUniscriptService]:\x20no\x20focused\x20unit','imageSourceType','UniverDrawing','ColorKit','BehaviorSubject','collabCursorState$','generateRandomId','UniverDocsUi','split','roomMembers','SOCKET_FAILED','type','_initResize','has','url(#$1','YUUMI_UNABLE_LOAD_URL','disableLocalCache','handleInsertCol','RefRangeService','addHandlerCallback','_hover','debug','DocSelectionManagerService','Failed','210ncJqZK','_range','rxjs/operators','1em','cursorInfo$','startsWith','cursorInfo','_localeService','dispose','pipe','CollaborationUIEventId','_onCursorDelete','NodePositionConvertToRectRange','dispose$','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','ILogService','SheetsSelectionsService','RemoveRowCommandId','row','icon','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','IRenderManagerService','HEADER_MENU','storage','arc','FromArray','sessionStatus$','_initStatusComponent','_messageService','add','RemoveColCommandId','@univerjs/engine-render','_disabled','DependentOn','SUBMIT_CHANGESET_TIMEOUT','save','whenReady','_transformPreviousActiveRange','UNIVER_SHEET','delete','SOCKET_FAILED_RETRY','UniverCollaborationClientUIPlugin','exports','UniverRpc','mask','measureText','CLOSE_ROOM','_logService','getUnhiddenWorksheets','RemoteUniscriptService','getActiveSheet','_name','DataLoaderService','collab-rect-range-','_setupBeforeClosingHandler','xlink:href','div','SheetCollabCursorShape','collaboration-client-ui.config','rxjs','MemberService','getCurrentUnitForType','transform'];_0x1ddf=function(){return _0x331929;};return _0x1ddf();}function _0x1d5a(_0xac3873,_0x2034d6){const _0x1ddfe0=_0x1ddf();return _0x1d5a=function(_0x1d5ad1,_0x5a4e8d){_0x1d5ad1=_0x1d5ad1-0x169;let _0x5b289b=_0x1ddfe0[_0x1d5ad1];return _0x5b289b;},_0x1d5a(_0xac3873,_0x2034d6);}(function(_0x3a07b9,_0x44013a){const _0x11cf48=_0x1d5a,_0xa4c7cc=_0x3a07b9();while(!![]){try{const _0x5a4904=-parseInt(_0x11cf48(0x1f1))/0x1+-parseInt(_0x11cf48(0x19f))/0x2+parseInt(_0x11cf48(0x17c))/0x3*(-parseInt(_0x11cf48(0x23b))/0x4)+parseInt(_0x11cf48(0x205))/0x5*(-parseInt(_0x11cf48(0x273))/0x6)+-parseInt(_0x11cf48(0x337))/0x7*(parseInt(_0x11cf48(0x279))/0x8)+-parseInt(_0x11cf48(0x215))/0x9+parseInt(_0x11cf48(0x3fd))/0xa*(parseInt(_0x11cf48(0x26c))/0xb);if(_0x5a4904===_0x44013a)break;else _0xa4c7cc['push'](_0xa4c7cc['shift']());}catch(_0x39e20f){_0xa4c7cc['push'](_0xa4c7cc['shift']());}}}(_0x1ddf,0x7c598),function(_0x3ffd0f,_0x1afc8a){const _0x215d85=_0x1d5a;typeof exports==_0x215d85(0x2bc)&&typeof module<'u'?_0x1afc8a(exports,require(_0x215d85(0x1e7)),require(_0x215d85(0x3e9)),require(_0x215d85(0x356)),require('@univerjs/network'),require('@univerjs/docs-ui'),require(_0x215d85(0x31c)),require(_0x215d85(0x372)),require(_0x215d85(0x250)),require(_0x215d85(0x29c)),require(_0x215d85(0x1ad)),require('@univerjs/sheets'),require(_0x215d85(0x339)),require(_0x215d85(0x179)),require(_0x215d85(0x1ef)),require(_0x215d85(0x3a0)),require('@univerjs/design'),require(_0x215d85(0x271)),require('@univerjs/rpc')):typeof define==_0x215d85(0x17e)&&define['amd']?define([_0x215d85(0x361),'@univerjs-pro/collaboration-client',_0x215d85(0x3e9),_0x215d85(0x356),_0x215d85(0x304),_0x215d85(0x3bf),_0x215d85(0x31c),_0x215d85(0x372),_0x215d85(0x250),_0x215d85(0x29c),'@univerjs/engine-formula','@univerjs/sheets',_0x215d85(0x339),_0x215d85(0x179),_0x215d85(0x1ef),_0x215d85(0x3a0),_0x215d85(0x395),_0x215d85(0x271),'@univerjs/rpc'],_0x1afc8a):(_0x3ffd0f=typeof globalThis<'u'?globalThis:_0x3ffd0f||self,_0x1afc8a(_0x3ffd0f[_0x215d85(0x254)]={},_0x3ffd0f[_0x215d85(0x38b)],_0x3ffd0f[_0x215d85(0x16e)],_0x3ffd0f[_0x215d85(0x2de)],_0x3ffd0f['UniverNetwork'],_0x3ffd0f[_0x215d85(0x326)],_0x3ffd0f[_0x215d85(0x321)],_0x3ffd0f['rxjs'],_0x3ffd0f[_0x215d85(0x20a)],_0x3ffd0f[_0x215d85(0x39b)],_0x3ffd0f[_0x215d85(0x1a6)],_0x3ffd0f[_0x215d85(0x383)],_0x3ffd0f[_0x215d85(0x372)][_0x215d85(0x3b3)],_0x3ffd0f['UniverSheetsUi'],_0x3ffd0f[_0x215d85(0x2c7)],_0x3ffd0f['UniverUi'],_0x3ffd0f[_0x215d85(0x267)],_0x3ffd0f[_0x215d85(0x2c7)],_0x3ffd0f[_0x215d85(0x362)]));}(this,function(_0x4a6788,_0xcdca2f,_0x3eca60,_0x4bf546,_0xb9bcc5,_0x2836fd,_0x14d453,_0x53026d,_0x29518c,_0x3a2116,_0xefe2f7,_0x1cd602,_0x249ee4,_0x20cc9a,_0x265223,_0x3879ce,_0x6a8d20,_0x42f475,_0x4f36bd){'use strict';const _0x394340=_0x1d5a;var _0x165c1d=Object[_0x394340(0x185)],_0x36da47=(_0x4ef9a2,_0x4b7970,_0x2577a6)=>_0x4b7970 in _0x4ef9a2?_0x165c1d(_0x4ef9a2,_0x4b7970,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2577a6}):_0x4ef9a2[_0x4b7970]=_0x2577a6,_0x304002=(_0xfab0f8,_0x1af8d0,_0x2e99d5)=>_0x36da47(_0xfab0f8,typeof _0x1af8d0!=_0x394340(0x29b)?_0x1af8d0+'':_0x1af8d0,_0x2e99d5),_0x1fd3c3=Object[_0x394340(0x1ee)],_0x267b61=(_0x16cb94,_0xa78c4,_0x12a521,_0x19d11b)=>{const _0x13db39=_0x394340;for(var _0x392901=_0x19d11b>0x1?void 0x0:_0x19d11b?_0x1fd3c3(_0xa78c4,_0x12a521):_0xa78c4,_0x268971=_0x16cb94[_0x13db39(0x403)]-0x1,_0x47fe93;_0x268971>=0x0;_0x268971--)(_0x47fe93=_0x16cb94[_0x268971])&&(_0x392901=_0x47fe93(_0x392901)||_0x392901);return _0x392901;},_0x50402b=(_0x2d12f0,_0x1dfdd7)=>(_0x18a6c0,_0x45a2f3)=>_0x1dfdd7(_0x18a6c0,_0x45a2f3,_0x2d12f0);let _0x238644=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x14d7d8,_0x2a4656){const _0x1abea5=_0x394340;super(),this[_0x1abea5(0x1dd)]=_0x14d7d8,this[_0x1abea5(0x2a7)]=_0x2a4656,this[_0x1abea5(0x3d9)]();}[_0x394340(0x3d9)](){const _0x36a7c5=_0x394340,_0x133a21=this;this[_0x36a7c5(0x380)](this[_0x36a7c5(0x1dd)][_0x36a7c5(0x20c)]({'onBeforePasteImage':async _0x88c676=>{const _0x26de9f=_0x36a7c5,_0x398914=await _0x133a21[_0x26de9f(0x2a7)][_0x26de9f(0x169)](_0x88c676);return _0x398914?{'source':_0x398914[_0x26de9f(0x315)],'imageSourceType':_0x398914[_0x26de9f(0x320)]}:null;}}));}};_0x238644=_0x267b61([_0x50402b(0x0,_0x2836fd[_0x394340(0x3ce)]),_0x50402b(0x1,_0x14d453['IImageIoService'])],_0x238644);const _0x5dc0a1=['purple.300',_0x394340(0x2c6),_0x394340(0x27b),'red.300','blue.400',_0x394340(0x3eb)];class _0x769350 extends _0x3eca60[_0x394340(0x3d7)]{constructor(){const _0x5ef94e=_0x394340;super(...arguments),_0x304002(this,_0x5ef94e(0x3f8),new Map()),_0x304002(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x56e120){const _0x44a935=_0x394340;if(this[_0x44a935(0x3f8)][_0x44a935(0x32c)](_0x56e120))return this['_assignedColors'][_0x44a935(0x202)](_0x56e120);const _0xad7093=_0x5dc0a1[this[_0x44a935(0x3f6)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x5dc0a1[_0x44a935(0x403)],this[_0x44a935(0x3f8)]['set'](_0x56e120,_0xad7093),_0xad7093;}}function _0x3956c6(_0x377877){let _0x37d2a0='';for(const _0x476085 of _0x377877){const {startOffset:_0x4e8b68,endOffset:_0x838f71,isActive:_0x1857a6,rangeType:_0x2cd6a6,segmentId:_0x162a8f,segmentPage:_0x23da54}=_0x476085;_0x37d2a0['length']&&(_0x37d2a0+=','),_0x37d2a0+=_0x4e8b68+':'+_0x838f71+':'+(_0x1857a6?'1':'0')+':'+_0x2cd6a6+':'+_0x162a8f+':'+_0x23da54;}return _0x37d2a0;}function _0x54552a(_0x9df0a4){const _0xfd9823=_0x394340,_0x340e23=_0x9df0a4['split'](','),_0xbfaeed=[];for(const _0x4d5d2e of _0x340e23){const [_0x3cd0b0,_0x5a7425,_0x2cd8a3,_0x35dc8b,_0x3fc1bd,_0x2073b8]=_0x4d5d2e[_0xfd9823(0x327)](':');_0xbfaeed[_0xfd9823(0x2c5)]({'startOffset':Number(_0x3cd0b0),'endOffset':Number(_0x5a7425),'collapsed':_0x3cd0b0===_0x5a7425,'isActive':_0x2cd8a3==='1','rangeType':_0x35dc8b===_0x3eca60['DOC_RANGE_TYPE']['TEXT']?_0x3eca60['DOC_RANGE_TYPE']['TEXT']:_0x3eca60[_0xfd9823(0x1dc)][_0xfd9823(0x1de)],'segmentId':typeof _0x3fc1bd==_0xfd9823(0x210)?String(_0x3fc1bd):'','segmentPage':Number(_0x2073b8!=null?_0x2073b8:-0x1)});}return _0xbfaeed['some'](_0x4f2a5e=>_0x4f2a5e[_0xfd9823(0x1c5)])||(_0xbfaeed[0x0][_0xfd9823(0x1c5)]=!0x0),_0xbfaeed;}class _0x61e25f extends _0x3eca60['RxDisposable']{constructor(){const _0x38d1cc=_0x394340;super(...arguments),_0x304002(this,'_collabCursorState$',new _0x53026d[(_0x38d1cc(0x323))](null)),_0x304002(this,_0x38d1cc(0x324),this['_collabCursorState$']['asObservable']());}[_0x394340(0x3cd)](_0x29a078){const _0x359b92=_0x394340,{unitID:_0x434b30,memberID:_0x90422a,textRanges:_0x47d2f8}=_0x29a078,_0xdc74b0=_0x3956c6(_0x47d2f8);if(_0xdc74b0==='')return;const _0x364794={'unitID':_0x434b30,'memberID':_0x90422a,'selection':_0xdc74b0};this[_0x359b92(0x221)][_0x359b92(0x275)](_0x364794);}}var _0x35abd1=Object[_0x394340(0x1ee)],_0x58f03e=(_0x453120,_0x27c3f6,_0x1ede31,_0x4021eb)=>{const _0x3f8f72=_0x394340;for(var _0x10d2c6=_0x4021eb>0x1?void 0x0:_0x4021eb?_0x35abd1(_0x27c3f6,_0x1ede31):_0x27c3f6,_0x292a04=_0x453120[_0x3f8f72(0x403)]-0x1,_0x4ea6bf;_0x292a04>=0x0;_0x292a04--)(_0x4ea6bf=_0x453120[_0x292a04])&&(_0x10d2c6=_0x4ea6bf(_0x10d2c6)||_0x10d2c6);return _0x10d2c6;},_0x4b58d8=(_0x213a15,_0x29c75a)=>(_0x56c7ba,_0x15e330)=>_0x29c75a(_0x56c7ba,_0x15e330,_0x213a15);const _0x4bc4a7=0x12c,_0x32e518=0x64;let _0x2fe0d1=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x2d9551,_0x3f821b,_0x1e8e95,_0x423170,_0x591615,_0x47097c,_0x490504,_0x29578f,_0x3b0ff5){const _0x24c685=_0x394340;super(),_0x304002(this,_0x24c685(0x305),!0x1),_0x304002(this,_0x24c685(0x3d9),!0x1),_0x304002(this,_0x24c685(0x1f7),new _0x53026d[(_0x24c685(0x323))](new Map())),_0x304002(this,'cursorInfo$',this[_0x24c685(0x1f7)][_0x24c685(0x1b7)]()),_0x304002(this,_0x24c685(0x1d3),new _0x53026d[(_0x24c685(0x323))]([])),_0x304002(this,_0x24c685(0x24f),this[_0x24c685(0x1d3)][_0x24c685(0x340)](_0x53026d[_0x24c685(0x3a5)](_0x4bc4a7))),_0x304002(this,_0x24c685(0x382),_0x3eca60[_0x24c685(0x1b8)](_0xebd31b=>{const _0x3a4b82=_0x24c685,_0x105023={'eventID':_0x3a2116[_0x3a4b82(0x39a)][_0x3a4b82(0x280)],'data':{'unitID':this['unitID'],'memberID':this[_0x3a4b82(0x39e)][_0x3a4b82(0x1d6)](),'selection':_0x3956c6(_0xebd31b)}};this[_0x3a4b82(0x39e)][_0x3a4b82(0x3ff)](_0x105023,this[_0x3a4b82(0x38d)]);},_0x32e518)),(this['unitID']=_0x2d9551,this[_0x24c685(0x39e)]=_0x3f821b,this[_0x24c685(0x1e9)]=_0x1e8e95,this[_0x24c685(0x291)]=_0x423170,this['_memberService']=_0x591615,this[_0x24c685(0x24d)]=_0x47097c,this[_0x24c685(0x1a5)]=_0x490504,this[_0x24c685(0x2a0)]=_0x29578f,this[_0x24c685(0x1ec)]=_0x3b0ff5);}get[_0x394340(0x33d)](){const _0x4c53b3=_0x394340;return this[_0x4c53b3(0x1f7)][_0x4c53b3(0x3a9)]();}get['roomMembers'](){const _0xc4d2d4=_0x394340;return this[_0xc4d2d4(0x1d3)]['getValue']();}[_0x394340(0x33f)](){const _0x27c99c=_0x394340;super[_0x27c99c(0x33f)](),this['_cursorInfo$'][_0x27c99c(0x275)](new Map()),this['_cursorInfo$'][_0x27c99c(0x30f)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x27c99c(0x30f)]();}[_0x394340(0x260)](){const _0x46bba1=_0x394340;this['_init']||(this[_0x46bba1(0x3d9)]=!0x0,this['_session']['sessionStatus$'][_0x46bba1(0x340)](_0x53026d[_0x46bba1(0x2b4)](this[_0x46bba1(0x344)]))[_0x46bba1(0x270)](_0x55849f=>{const _0x213083=_0x46bba1;_0x55849f===_0xcdca2f['SessionStatus'][_0x213083(0x3f5)]?this[_0x213083(0x1af)]():this['_toggleOffline']();}),this[_0x46bba1(0x39e)]['event$']['pipe'](_0x53026d[_0x46bba1(0x2b4)](this[_0x46bba1(0x344)]))[_0x46bba1(0x270)](_0x3872e5=>{const _0xd61c23=_0x46bba1,_0x25d6d7=_0x3872e5[_0xd61c23(0x2e6)];_0x25d6d7===_0x3a2116['CollaborationEvent'][_0xd61c23(0x280)]&&this[_0xd61c23(0x196)](_0x3872e5),_0x25d6d7===_0x3a2116[_0xd61c23(0x39a)][_0xd61c23(0x194)]&&this['_onCursorDelete'](_0x3872e5);}),this[_0x46bba1(0x380)](this[_0x46bba1(0x1ec)][_0x46bba1(0x2fa)](_0x19a209=>{const _0x29faa0=_0x46bba1,_0x51a798=_0x19a209[_0x29faa0(0x18f)];_0x51a798!=null&&this[_0x29faa0(0x305)]&&_0x19a209['id']===_0x29518c['SetTextSelectionsOperation']['id']&&_0x51a798[_0x29faa0(0x286)]===this[_0x29faa0(0x38d)]&&_0x51a798[_0x29faa0(0x27d)]===!0x1&&_0x51a798[_0x29faa0(0x2f9)][_0x29faa0(0x403)]>0x0&&this[_0x29faa0(0x382)](_0x51a798['ranges']);})),this[_0x46bba1(0x24d)][_0x46bba1(0x324)][_0x46bba1(0x340)](_0x53026d[_0x46bba1(0x2b4)](this['dispose$']))[_0x46bba1(0x270)](_0x129b4c=>{const _0x2d35dd=_0x46bba1;if((_0x129b4c==null?void 0x0:_0x129b4c[_0x2d35dd(0x38d)])!==this['unitID'])return;const _0x4373c5={'eventID':_0x3a2116[_0x2d35dd(0x39a)][_0x2d35dd(0x280)],'data':_0x129b4c};this['_onCursorUpdate'](_0x4373c5);}),this['disposeWithMe'](this[_0x46bba1(0x1ec)][_0x46bba1(0x2fa)](_0x4f38ba=>{const _0x2cb3f1=_0x46bba1;if(_0x4f38ba[_0x2cb3f1(0x18f)]==null)return;const _0x4abb00=_0x4f38ba[_0x2cb3f1(0x18f)];if(_0x4f38ba['id']!==_0x29518c['RichTextEditingMutation']['id']||_0x4abb00[_0x2cb3f1(0x286)]!==this[_0x2cb3f1(0x38d)])return;const _0x121574={'id':_0x2cb3f1(0x3f7),'params':_0x4abb00},_0x441711=this[_0x2cb3f1(0x33d)];for(const [_0x991496,_0x242a39]of _0x441711){const _0x1b8729={'id':_0x2cb3f1(0x3f7),'params':{'unitId':this[_0x2cb3f1(0x38d)],'actions':null,'textRanges':_0x242a39[_0x2cb3f1(0x2f9)]}},_0x110e7d=this[_0x2cb3f1(0x1a5)]['transformMutation'](_0x121574,_0x1b8729,!0x1);if(_0x3a2116['isTransformMutationFailure'](_0x110e7d))throw _0x110e7d[_0x2cb3f1(0x31d)];_0x441711[_0x2cb3f1(0x175)](_0x991496,{..._0x242a39,'ranges':_0x110e7d[_0x2cb3f1(0x272)][_0x2cb3f1(0x18f)][_0x2cb3f1(0x3b6)]});}queueMicrotask(()=>{const _0x3d6cdd=_0x2cb3f1;this['_cursorInfo$'][_0x3d6cdd(0x275)](_0x441711);});})));}['_onCursorUpdate'](_0x5d8a02){const _0x767d2b=_0x394340;var _0x5dbac7,_0x32345a;const {memberID:_0x2dc887,selection:_0x3efad8}=_0x5d8a02['data'],_0x581175=_0x54552a(_0x3efad8),_0x9e42fb=(_0x32345a=(_0x5dbac7=this['_memberService']['getMember'](this['unitID'],_0x2dc887))==null?void 0x0:_0x5dbac7[_0x767d2b(0x277)])!=null?_0x32345a:_0x767d2b(0x22c),_0x4c75d4={'color':this[_0x767d2b(0x291)][_0x767d2b(0x198)](_0x2dc887),'name':_0x9e42fb,'ranges':_0x581175},_0x2974b=this['cursorInfo'];_0x2974b[_0x767d2b(0x175)](_0x2dc887,_0x4c75d4),this[_0x767d2b(0x1f7)][_0x767d2b(0x275)](_0x2974b);}[_0x394340(0x342)](_0x1b1371){const _0x5cc4e8=_0x394340,{memberID:_0x3cc65e}=_0x1b1371[_0x5cc4e8(0x388)],_0x33a6fc=this[_0x5cc4e8(0x33d)];_0x33a6fc[_0x5cc4e8(0x35e)](_0x3cc65e),this[_0x5cc4e8(0x1f7)]['next'](_0x33a6fc);}[_0x394340(0x1af)](){const _0x5938ff=_0x394340;var _0x4099aa;if(this[_0x5938ff(0x305)]=!0x0,((_0x4099aa=this[_0x5938ff(0x2a0)]['getFocusedUnit']())==null?void 0x0:_0x4099aa[_0x5938ff(0x309)]())!==this[_0x5938ff(0x38d)])return;const _0xeff910=this['_injector'][_0x5938ff(0x202)](_0x29518c[_0x5938ff(0x335)])[_0x5938ff(0x3fa)]();Array[_0x5938ff(0x3d8)](_0xeff910)&&_0xeff910[_0x5938ff(0x403)]>0x0&&this['_updateLocalCursor'](_0xeff910);}[_0x394340(0x3da)](){const _0x2c0d34=_0x394340;this[_0x2c0d34(0x305)]=!0x1;}};_0x2fe0d1=_0x58f03e([_0x4b58d8(0x2,_0x3eca60[_0x394340(0x2b8)](_0x3eca60['Injector'])),_0x4b58d8(0x3,_0x3eca60[_0x394340(0x2b8)](_0x769350)),_0x4b58d8(0x4,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f['MemberService'])),_0x4b58d8(0x5,_0x3eca60['Inject'](_0x61e25f)),_0x4b58d8(0x6,_0x3a2116[_0x394340(0x21f)]),_0x4b58d8(0x7,_0x3eca60[_0x394340(0x200)]),_0x4b58d8(0x8,_0x3eca60[_0x394340(0x24c)])],_0x2fe0d1);var _0x136e0e=Object[_0x394340(0x1ee)],_0x7c73fd=(_0x231add,_0x3864c6,_0x319cec,_0x52041f)=>{const _0x43adad=_0x394340;for(var _0x410dcd=_0x52041f>0x1?void 0x0:_0x52041f?_0x136e0e(_0x3864c6,_0x319cec):_0x3864c6,_0x49e83a=_0x231add[_0x43adad(0x403)]-0x1,_0x3d1928;_0x49e83a>=0x0;_0x49e83a--)(_0x3d1928=_0x231add[_0x49e83a])&&(_0x410dcd=_0x3d1928(_0x410dcd)||_0x410dcd);return _0x410dcd;},_0x59106d=(_0x4383db,_0x4a347c)=>(_0x1b4e32,_0xacca9)=>_0x4a347c(_0x1b4e32,_0xacca9,_0x4383db);const _0x1cd1f7=0x12c,_0x2215db=0x64,_0x4335a1=()=>{let _0x576cd2=[],_0xa8c0e2=!0x1;return _0xda1e60=>{const _0x1e5dc=_0x1d5a;_0x576cd2[_0x1e5dc(0x2c5)](_0xda1e60),_0xa8c0e2||(_0xa8c0e2=!0x0,setTimeout(()=>{_0x576cd2['forEach'](_0x520cb3=>_0x520cb3()),_0x576cd2=[],_0xa8c0e2=!0x1;}));};};let _0x26ebbd=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x1bdbf1,_0x2e9b65,_0xf0cc5b,_0x462a28,_0x117703,_0x23d980,_0x2b0ba8,_0x2ac673){const _0x30111b=_0x394340;super(),_0x304002(this,_0x30111b(0x305),!0x1),_0x304002(this,'_init',!0x1),_0x304002(this,_0x30111b(0x1f7),new _0x53026d[(_0x30111b(0x323))](new Map())),_0x304002(this,_0x30111b(0x33b),this[_0x30111b(0x1f7)][_0x30111b(0x1b7)]()),_0x304002(this,_0x30111b(0x1d3),new _0x53026d['BehaviorSubject']([])),_0x304002(this,_0x30111b(0x24f),this[_0x30111b(0x1d3)][_0x30111b(0x340)](_0x53026d[_0x30111b(0x3a5)](_0x1cd1f7))),_0x304002(this,_0x30111b(0x382),_0x3eca60[_0x30111b(0x1b8)]((_0x6f0a02,_0x246658)=>{const _0x48dadc=_0x30111b,_0x39782a={'eventID':_0x3a2116[_0x48dadc(0x39a)][_0x48dadc(0x280)],'data':{'unitID':this[_0x48dadc(0x38d)],'memberID':this['_session'][_0x48dadc(0x1d6)](),'selection':_0xefe2f7[_0x48dadc(0x3ed)](_0x6f0a02,_0x246658[_0x48dadc(0x2c8)])}};this[_0x48dadc(0x39e)][_0x48dadc(0x3ff)](_0x39782a,this[_0x48dadc(0x38d)]);},_0x2215db)),(this['unitID']=_0x1bdbf1,this[_0x30111b(0x39e)]=_0x2e9b65,this[_0x30111b(0x1e9)]=_0xf0cc5b,this[_0x30111b(0x291)]=_0x462a28,this[_0x30111b(0x1cf)]=_0x117703,this[_0x30111b(0x2a0)]=_0x23d980,this[_0x30111b(0x1ec)]=_0x2b0ba8,this['_refRangeService']=_0x2ac673);}get[_0x394340(0x33d)](){const _0x59d47d=_0x394340;return this[_0x59d47d(0x1f7)][_0x59d47d(0x3a9)]();}get[_0x394340(0x328)](){const _0x2bc3a6=_0x394340;return this['_roomMembers$'][_0x2bc3a6(0x3a9)]();}[_0x394340(0x33f)](){const _0x2cf5e5=_0x394340;super['dispose'](),this[_0x2cf5e5(0x1f7)][_0x2cf5e5(0x275)](new Map()),this['_cursorInfo$'][_0x2cf5e5(0x30f)](),this['_roomMembers$'][_0x2cf5e5(0x275)]([]),this['_roomMembers$'][_0x2cf5e5(0x30f)]();}[_0x394340(0x260)](){const _0x5c8a0a=_0x394340;this[_0x5c8a0a(0x3d9)]||(this[_0x5c8a0a(0x3d9)]=!0x0,this[_0x5c8a0a(0x39e)][_0x5c8a0a(0x351)][_0x5c8a0a(0x340)](_0x53026d[_0x5c8a0a(0x2b4)](this[_0x5c8a0a(0x344)]))[_0x5c8a0a(0x270)](_0x48a65a=>{const _0x4ceecb=_0x5c8a0a;_0x48a65a===_0xcdca2f[_0x4ceecb(0x387)][_0x4ceecb(0x3f5)]?this[_0x4ceecb(0x1af)]():this[_0x4ceecb(0x3da)]();}),this[_0x5c8a0a(0x39e)]['event$'][_0x5c8a0a(0x340)](_0x53026d[_0x5c8a0a(0x2b4)](this[_0x5c8a0a(0x344)]))[_0x5c8a0a(0x270)](_0x1e38db=>{const _0x3c65e0=_0x5c8a0a,_0x336b89=_0x1e38db['eventID'];_0x336b89===_0x3a2116[_0x3c65e0(0x39a)][_0x3c65e0(0x280)]&&this[_0x3c65e0(0x196)](_0x1e38db),_0x336b89===_0x3a2116[_0x3c65e0(0x39a)][_0x3c65e0(0x194)]&&this[_0x3c65e0(0x342)](_0x1e38db);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x5c8a0a(0x1ec)][_0x5c8a0a(0x2fa)](_0x57434a=>{const _0x4b218a=_0x5c8a0a;if(this[_0x4b218a(0x305)]&&_0x57434a['id']===_0x1cd602[_0x4b218a(0x22e)]['id']&&_0x57434a[_0x4b218a(0x18f)][_0x4b218a(0x286)]===this[_0x4b218a(0x38d)]){const _0x35cf1a=_0x57434a[_0x4b218a(0x18f)];this[_0x4b218a(0x382)](_0x35cf1a[_0x4b218a(0x27e)],_0x35cf1a[_0x4b218a(0x223)][0x0]);}})));}[_0x394340(0x196)](_0xdc3166){const _0x274a65=_0x394340;var _0x4f4f71,_0x44ea7f;const {memberID:_0x4c2736,selection:_0x501b73}=_0xdc3166[_0x274a65(0x388)],{sheetName:_0x191642,range:_0x553a73}=_0xefe2f7[_0x274a65(0x1bb)](_0x501b73),_0xf79691={'name':(_0x44ea7f=(_0x4f4f71=this[_0x274a65(0x1cf)][_0x274a65(0x2dd)](this[_0x274a65(0x38d)],_0x4c2736))==null?void 0x0:_0x4f4f71['name'])!=null?_0x44ea7f:_0x274a65(0x22c),'range':this[_0x274a65(0x312)](_0x191642,_0x553a73),'sheetID':_0x191642,'color':this[_0x274a65(0x291)]['assignAColorForMemberID'](_0x4c2736),'selection':_0x501b73},_0x374b81=this['cursorInfo'];_0x374b81['set'](_0x4c2736,_0xf79691),this[_0x274a65(0x1f7)][_0x274a65(0x275)](_0x374b81);}[_0x394340(0x342)](_0x1e3a32){const _0x2e7f59=_0x394340,{memberID:_0x36910f}=_0x1e3a32[_0x2e7f59(0x388)],_0x29e149=this['cursorInfo'];_0x29e149['delete'](_0x36910f),this['_cursorInfo$'][_0x2e7f59(0x275)](_0x29e149);}[_0x394340(0x312)](_0x5a6158,_0x4134d1){const _0x5b63c9=_0x394340;var _0x9fdd53,_0x327c72;const _0x524208=(_0x327c72=(_0x9fdd53=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x9fdd53[_0x5b63c9(0x248)](_0x5a6158))==null?void 0x0:_0x327c72['getMergeData']();return(_0x524208==null?void 0x0:_0x524208[_0x5b63c9(0x184)](_0x1e261d=>_0x3eca60[_0x5b63c9(0x1e5)][_0x5b63c9(0x398)](_0x1e261d,_0x4134d1)))||_0x4134d1;}[_0x394340(0x18b)](){const _0x26bd3d=_0x394340,_0x4affb2=new _0x3eca60[(_0x26bd3d(0x407))](),_0x2655ef=_0x4335a1(),_0x13cba1=()=>{const _0x4a383c=_0x26bd3d;_0x4affb2[_0x4a383c(0x33f)]();const _0x4459fd=(_0x1a7010,_0x45bf26,_0x189aa1,_0x40b90)=>{const _0x23b24e=_0x4a383c;let _0x319ed4=[];switch(_0x1a7010['id']){case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x301)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x303)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x19c)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x2ff)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)]['InsertColCommandId']:{_0x319ed4=_0x1cd602[_0x23b24e(0x330)](_0x1a7010,_0x40b90);break;}case _0x1cd602['EffectRefRangId'][_0x23b24e(0x1b6)]:{_0x319ed4=_0x1cd602['handleInsertRangeMoveDown'](_0x1a7010,_0x40b90);break;}case _0x1cd602['EffectRefRangId'][_0x23b24e(0x25d)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x3a7)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x30c)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x189)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x241)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x2a2)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x355)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x3a4)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x348)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x2e9)](_0x1a7010,_0x40b90);break;}}const _0x61c743=_0x1cd602[_0x23b24e(0x28c)](_0x319ed4,_0x40b90),_0x2f1650=this['cursorInfo'][_0x23b24e(0x202)](_0x45bf26);if(_0x2f1650&&_0x61c743){const _0x4df157={..._0x2f1650,'range':_0x61c743};this['cursorInfo']['set'](_0x45bf26,_0x4df157),_0x2655ef(()=>{const _0x210624=_0x23b24e,_0x4cfc31=this[_0x210624(0x209)]['registerRefRange'](_0x61c743,_0xea2076=>(_0x4cfc31[_0x210624(0x33f)](),_0x4459fd(_0xea2076,_0x45bf26,_0x189aa1,_0x61c743)));_0x4affb2[_0x210624(0x354)](_0x4cfc31);});}return{'redos':[],'undos':[]};};this[_0x4a383c(0x33d)][_0x4a383c(0x2d8)]((_0xffde24,_0x5d8471)=>{const _0x3b1213=_0x4a383c,{range:_0x29204f,sheetID:_0x47ff07}=_0xffde24,_0xd3a907=this['_refRangeService'][_0x3b1213(0x20b)](_0x29204f,_0x17f389=>(_0xd3a907['dispose'](),_0x4459fd(_0x17f389,_0x5d8471,_0x47ff07,_0x29204f)));_0x4affb2[_0x3b1213(0x354)](_0xd3a907);});};this[_0x26bd3d(0x380)](_0x3eca60[_0x26bd3d(0x243)](this['_cursorInfo$'][_0x26bd3d(0x270)](()=>{_0x13cba1();})));}[_0x394340(0x1af)](){const _0x30972c=_0x394340;var _0x8d2a15,_0x4616f0;if(this[_0x30972c(0x305)]=!0x0,((_0x8d2a15=this[_0x30972c(0x2a0)][_0x30972c(0x256)]())==null?void 0x0:_0x8d2a15[_0x30972c(0x309)]())!==this['unitID'])return;const _0x45d276=(_0x4616f0=this[_0x30972c(0x1e9)][_0x30972c(0x202)](_0x1cd602[_0x30972c(0x347)])[_0x30972c(0x1e0)]())==null?void 0x0:_0x4616f0[0x0],_0x5fad0e=this[_0x30972c(0x2a0)][_0x30972c(0x374)](_0x3eca60['UniverInstanceType'][_0x30972c(0x35d)])[_0x30972c(0x369)]();_0x45d276&&_0x5fad0e&&this[_0x30972c(0x382)](_0x5fad0e[_0x30972c(0x1c7)](),_0x45d276);}[_0x394340(0x3da)](){const _0x41c16c=_0x394340;this[_0x41c16c(0x305)]=!0x1;}};_0x26ebbd=_0x7c73fd([_0x59106d(0x2,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x59106d(0x3,_0x3eca60[_0x394340(0x2b8)](_0x769350)),_0x59106d(0x4,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f[_0x394340(0x373)])),_0x59106d(0x5,_0x3eca60[_0x394340(0x200)]),_0x59106d(0x6,_0x3eca60[_0x394340(0x24c)]),_0x59106d(0x7,_0x3eca60['Inject'](_0x1cd602[_0x394340(0x331)]))],_0x26ebbd);var _0x1cad01=Object['getOwnPropertyDescriptor'],_0x112bf5=(_0x319c48,_0x1bd054,_0x14206a,_0x287ae6)=>{const _0x44919c=_0x394340;for(var _0x2d3de5=_0x287ae6>0x1?void 0x0:_0x287ae6?_0x1cad01(_0x1bd054,_0x14206a):_0x1bd054,_0x52573b=_0x319c48[_0x44919c(0x403)]-0x1,_0x1a7c16;_0x52573b>=0x0;_0x52573b--)(_0x1a7c16=_0x319c48[_0x52573b])&&(_0x2d3de5=_0x1a7c16(_0x2d3de5)||_0x2d3de5);return _0x2d3de5;},_0x277fa8=(_0x493486,_0x347869)=>(_0x4b7b9b,_0x18794d)=>_0x347869(_0x4b7b9b,_0x18794d,_0x493486);let _0x50fe84=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x19a53c,_0x192721,_0x504bf1){const _0x521d51=_0x394340;super(),_0x304002(this,'_entities',new Map()),_0x304002(this,_0x521d51(0x3fb),new _0x53026d['Subject']()),(this[_0x521d51(0x2a0)]=_0x19a53c,this['_injector']=_0x192721,this[_0x521d51(0x1c9)]=_0x504bf1,this[_0x521d51(0x3d9)]());}['dispose'](){const _0x59b67b=_0x394340;super['dispose'](),this[_0x59b67b(0x3fb)][_0x59b67b(0x30f)](),this[_0x59b67b(0x1cb)][_0x59b67b(0x2d8)](_0x304921=>_0x304921[_0x59b67b(0x33f)]());}[_0x394340(0x26f)](_0x4af65f){const _0xd41383=_0x394340;return this[_0xd41383(0x1cb)][_0xd41383(0x32c)](_0x4af65f)?this[_0xd41383(0x1cb)][_0xd41383(0x202)](_0x4af65f)[_0xd41383(0x33b)]:this['_entityInit$'][_0xd41383(0x340)](_0x53026d[_0xd41383(0x2c1)](_0x21d273=>_0x21d273[_0xd41383(0x38d)]===_0x4af65f),_0x53026d[_0xd41383(0x3ab)](_0x48378b=>_0x48378b[_0xd41383(0x33b)]));}[_0x394340(0x3d9)](){const _0x339fbb=_0x394340;this[_0x339fbb(0x2a0)][_0x339fbb(0x26e)](_0x3eca60[_0x339fbb(0x258)][_0x339fbb(0x35d)])[_0x339fbb(0x340)](_0x53026d[_0x339fbb(0x2b4)](this[_0x339fbb(0x344)]))[_0x339fbb(0x270)](async _0x39759f=>{const _0x538204=_0x339fbb,_0x2001fa=_0x39759f['getUnitId'](),_0xeba2a9=await this[_0x538204(0x2d6)](_0x2001fa);this[_0x538204(0x3fb)][_0x538204(0x275)](_0xeba2a9),this[_0x538204(0x1cb)]['set'](_0x2001fa,_0xeba2a9);}),this[_0x339fbb(0x2a0)][_0x339fbb(0x26e)](_0x3eca60[_0x339fbb(0x258)]['UNIVER_DOC'])[_0x339fbb(0x340)](_0x53026d['takeUntil'](this[_0x339fbb(0x344)]))[_0x339fbb(0x340)](_0x53026d['filter'](_0x2e2795=>!_0x2e2795['getUnitId']()[_0x339fbb(0x33c)]('__')))[_0x339fbb(0x270)](async _0x1115e2=>{const _0x147d86=_0x339fbb,_0x47b259=_0x1115e2[_0x147d86(0x309)](),_0x11a73e=await this[_0x147d86(0x2b9)](_0x47b259);this[_0x147d86(0x3fb)][_0x147d86(0x275)](_0x11a73e),this[_0x147d86(0x1cb)]['set'](_0x47b259,_0x11a73e);}),_0x53026d[_0x339fbb(0x1a0)](this[_0x339fbb(0x2a0)]['getTypeOfUnitDisposed$'](_0x3eca60[_0x339fbb(0x258)][_0x339fbb(0x2b3)]),this['_univerInstanceService'][_0x339fbb(0x2e3)](_0x3eca60[_0x339fbb(0x258)][_0x339fbb(0x35d)]))['pipe'](_0x53026d['takeUntil'](this[_0x339fbb(0x344)]))['subscribe'](_0x456d7a=>{const _0x409920=_0x339fbb,_0x101704=_0x456d7a['getUnitId'](),_0x10b118=this[_0x409920(0x1cb)]['get'](_0x101704);_0x10b118&&(_0x10b118[_0x409920(0x33f)](),this['_entities'][_0x409920(0x35e)](_0x101704));});}async[_0x394340(0x2d6)](_0x3245ae){const _0x2d6b3e=_0x394340,_0x50d3e5=await this[_0x2d6b3e(0x1c9)][_0x2d6b3e(0x3ac)](_0x3245ae),_0x5cf176=this[_0x2d6b3e(0x1e9)][_0x2d6b3e(0x22f)](_0x26ebbd,_0x3245ae,_0x50d3e5);return _0x5cf176[_0x2d6b3e(0x260)](),_0x5cf176;}async['_startDocCollabCursor'](_0x1c329f){const _0x13c6e5=_0x394340,_0x4ec45d=await this[_0x13c6e5(0x1c9)][_0x13c6e5(0x3ac)](_0x1c329f),_0x4e0502=this[_0x13c6e5(0x1e9)]['createInstance'](_0x2fe0d1,_0x1c329f,_0x4ec45d);return _0x4e0502[_0x13c6e5(0x260)](),_0x4e0502;}};_0x50fe84=_0x112bf5([_0x277fa8(0x0,_0x3eca60['IUniverInstanceService']),_0x277fa8(0x1,_0x3eca60[_0x394340(0x2b8)](_0x3eca60['Injector'])),_0x277fa8(0x2,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f['CollaborationSessionService']))],_0x50fe84);const _0x3c2f03=0x14,_0x5e8c47=0xc8,_0xd78775=0x4,_0x471b14=0x5;function _0x30a8e4(_0x505c5d,_0x475c1b){const _0xffe1bb=_0x394340;let {radius:_0x861cec,width:_0x56337d,height:_0x44f7c0}=_0x475c1b;_0x861cec=_0x861cec!=null?_0x861cec:0x0,_0x56337d=_0x56337d!=null?_0x56337d:0x1e,_0x44f7c0=_0x44f7c0!=null?_0x44f7c0:0x1e;let _0xe4791=0x0,_0x8e19d=0x0,_0x5caed4=0x0;_0xe4791=_0x8e19d=_0x5caed4=Math[_0xffe1bb(0x1aa)](_0x861cec,_0x56337d/0x2,_0x44f7c0/0x2),_0x505c5d[_0xffe1bb(0x39c)](),_0x505c5d[_0xffe1bb(0x259)](_0xe4791,0x0),_0x505c5d[_0xffe1bb(0x2d0)](_0x56337d-_0x8e19d,0x0),_0x505c5d[_0xffe1bb(0x34f)](_0x56337d-_0x8e19d,_0x8e19d,_0x8e19d,Math['PI']*0x3/0x2,0x0,!0x1),_0x505c5d[_0xffe1bb(0x2d0)](_0x56337d,_0x44f7c0-_0x5caed4),_0x505c5d[_0xffe1bb(0x34f)](_0x56337d-_0x5caed4,_0x44f7c0-_0x5caed4,_0x5caed4,0x0,Math['PI']/0x2,!0x1),_0x505c5d[_0xffe1bb(0x2d0)](0x0,_0x44f7c0),_0x505c5d['lineTo'](0x0,_0xe4791),_0x505c5d[_0xffe1bb(0x34f)](_0xe4791,_0xe4791,_0xe4791,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x505c5d[_0xffe1bb(0x239)](),_0x475c1b[_0xffe1bb(0x18d)]&&(_0x505c5d[_0xffe1bb(0x35a)](),_0x505c5d[_0xffe1bb(0x285)]=_0x475c1b['fill'],_0x475c1b[_0xffe1bb(0x229)]===_0xffe1bb(0x216)?_0x505c5d[_0xffe1bb(0x18d)]('evenodd'):_0x505c5d[_0xffe1bb(0x18d)](),_0x505c5d[_0xffe1bb(0x171)]());}class _0x2e44f4 extends _0x4bf546['Shape']{constructor(_0x2d1a0f,_0x317e07){const _0x2fb4d2=_0x394340;super(_0x2d1a0f,_0x317e07),_0x304002(this,'color'),_0x304002(this,'text'),(this[_0x2fb4d2(0x235)]=_0x317e07==null?void 0x0:_0x317e07[_0x2fb4d2(0x235)],this['text']=_0x317e07==null?void 0x0:_0x317e07['text']);}static['drawWith'](_0x3661f9,_0x10bc2c){const _0x54e602=_0x394340,{text:_0x138b48,color:_0x330ae9}=_0x10bc2c;_0x3661f9[_0x54e602(0x35a)](),_0x3661f9[_0x54e602(0x3a3)]=_0x54e602(0x34b);const _0x2a6098=_0x3661f9[_0x54e602(0x364)](_0x138b48)[_0x54e602(0x3a1)],_0x16516a=Math['min'](_0x2a6098+0x2*_0xd78775,_0x5e8c47);_0x30a8e4(_0x3661f9,{'height':_0x3c2f03,'radius':0x4,'width':_0x16516a,'fill':_0x330ae9}),_0x3661f9[_0x54e602(0x285)]=_0x54e602(0x2ea);const _0x1b2787=_0xd78775,_0x56c34d=_0x3c2f03-_0x471b14,_0x5b01b0=_0x5e8c47-0x2*_0xd78775;if(_0x2a6098>_0x5b01b0){let _0x4838f2='',_0x124940=0x0;for(const _0x15fb2b of _0x138b48){const _0x136aa0=_0x3661f9[_0x54e602(0x364)](_0x15fb2b)['width'];if(_0x124940+_0x136aa0<=_0x5b01b0-_0x3661f9[_0x54e602(0x364)]('...')[_0x54e602(0x3a1)])_0x4838f2+=_0x15fb2b,_0x124940+=_0x136aa0;else{_0x4838f2+=_0x54e602(0x391);break;}}_0x3661f9[_0x54e602(0x282)](_0x4838f2,_0x1b2787,_0x56c34d);}else _0x3661f9[_0x54e602(0x282)](_0x138b48,_0x1b2787,_0x56c34d);_0x3661f9[_0x54e602(0x171)]();}['_draw'](_0x10ba4a){const _0x431ded=_0x394340;_0x2e44f4[_0x431ded(0x3c7)](_0x10ba4a,this);}}const _0x1543c0=_0x394340(0x2c3),_0x2e43a3='collab-text-range-',_0x4ad25c=_0x394340(0x36c),_0x116780=0x6,_0x35b032=1.5,_0x36a043=0x4,_0x30bcb2=1.5,_0x193bf1=_0x394340(0x25a);class _0x48424c{constructor(_0x2ab3e2,_0x38cf90,_0x2d66a3,_0x536ae9){const _0x56b1af=_0x394340;_0x304002(this,_0x56b1af(0x1eb),[]),_0x304002(this,_0x56b1af(0x25f),null),_0x304002(this,'_textBubble',null),_0x304002(this,_0x56b1af(0x197),null),_0x304002(this,_0x56b1af(0x3cf),null),_0x304002(this,_0x56b1af(0x2b1),null),(this[_0x56b1af(0x3b9)]=_0x2ab3e2,this[_0x56b1af(0x3be)]=_0x38cf90,this[_0x56b1af(0x302)]=_0x2d66a3,this['_document']=_0x536ae9,this['_render']());}set[_0x394340(0x333)](_0x223b5f){const _0x441a43=_0x394340;_0x223b5f?(this[_0x441a43(0x197)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x441a43(0x404)]['show']()):(this[_0x441a43(0x197)]&&this[_0x441a43(0x197)][_0x441a43(0x3d4)](),this[_0x441a43(0x404)]&&this[_0x441a43(0x404)][_0x441a43(0x316)]());}[_0x394340(0x33f)](){const _0x51967e=_0x394340;for(const _0x2b77d6 of this['_shapes'])_0x2b77d6[_0x51967e(0x33f)]();this['_textBubble']&&this[_0x51967e(0x404)]['dispose'](),this[_0x51967e(0x197)]&&this[_0x51967e(0x197)]['dispose'](),this[_0x51967e(0x25f)]&&this[_0x51967e(0x25f)][_0x51967e(0x33f)](),this[_0x51967e(0x2b1)]&&this[_0x51967e(0x2b1)]();}[_0x394340(0x23a)](){const _0x4f5612=_0x394340;var _0x2480c1;const {_docSkeleton:_0x518c80,_document:_0x15da94}=this,{color:_0xca1396,name:_0x4f3bf5,ranges:_0x454b0e}=this['_cursor'],_0x4c1b50=_0x15da94[_0x4f5612(0x2c2)](),{docsLeft:_0xe70560,docsTop:_0x36f963}=_0x4c1b50,_0x12f4a6=new _0x2836fd[(_0x4f5612(0x182))](_0x4c1b50,_0x518c80);for(const {startOffset:_0x5c5a77,endOffset:_0x31cced,rangeType:_0xc194e9,segmentId:_0x15b03a,segmentPage:_0x33a865,collapsed:_0x2755f9,isActive:_0xbed101}of _0x454b0e){const _0x1c8675=_0x518c80[_0x4f5612(0x300)](_0x5c5a77,!0x0,_0x15b03a,_0x33a865);let _0x2b1627=_0x518c80[_0x4f5612(0x300)](_0x31cced,!0x0,_0x15b03a,_0x33a865);if(_0x2b1627==null&&(_0x2b1627=_0x518c80['findNodePositionByCharIndex'](_0x31cced-0x1,!0x1,_0x15b03a,_0x33a865)),_0xbed101){const {contentBoxPointGroup:_0x335052}=_0x12f4a6[_0x4f5612(0x3ba)](_0x2b1627,_0x2b1627);if(_0x335052['length']===0x0)continue;this['_drawAnchor'](_0xca1396,_0x335052,_0xe70560,_0x36f963,_0x4f3bf5),this[_0x4f5612(0x2b1)]=this['_handleHover']();}if(_0x1c8675&&_0x2b1627){if(_0xc194e9===_0x3eca60['DOC_RANGE_TYPE']['RECT']){const _0x23edd9=new _0x2836fd[(_0x4f5612(0x343))](_0x4c1b50,_0x518c80),{pointGroup:_0x164aca}=(_0x2480c1=_0x23edd9[_0x4f5612(0x3ba)](_0x1c8675,_0x2b1627))!=null?_0x2480c1:{};if(_0x164aca==null||_0x164aca[_0x4f5612(0x403)]===0x0)continue;this[_0x4f5612(0x255)](_0xca1396,_0x164aca,_0xe70560,_0x36f963);}else{if(!_0x2755f9){const {borderBoxPointGroup:_0x3e1db4}=_0x12f4a6['getRangePointData'](_0x1c8675,_0x2b1627);if(_0x3e1db4[_0x4f5612(0x403)]===0x0)continue;this[_0x4f5612(0x3c9)](_0xca1396,_0x3e1db4,_0xe70560,_0x36f963);}}}}}[_0x394340(0x405)](_0x2d602e,_0x3bf98c,_0x2da2ab,_0x51ee51,_0x558f1a){const _0x1bfba0=_0x394340,_0x12eda6=this['_getAnchorBounding'](_0x3bf98c),{left:_0x16ebab,top:_0x401e39,height:_0x17336a}=_0x12eda6,_0x4d0521=this[_0x1bfba0(0x2cc)](),_0x15af8e=_0x30bcb2/_0x4d0521,_0x4a6889=new _0x4bf546['Rect'](_0x1543c0+_0x3eca60[_0x1bfba0(0x3f9)]['generateRandomId'](_0x116780),{'left':_0x16ebab+_0x2da2ab-_0x15af8e,'top':_0x401e39+_0x51ee51,'height':_0x17336a,'width':_0x35b032,'fill':_0x2d602e||_0x4bf546['getColor'](_0x3eca60[_0x1bfba0(0x2e8)]['black'],0x0),'strokeWidth':_0x15af8e,'stroke':_0x193bf1,'evented':!0x0});this['_anchor']=_0x4a6889,this[_0x1bfba0(0x3be)][_0x1bfba0(0x16a)](_0x4a6889,_0x2836fd['TEXT_RANGE_LAYER_INDEX']);const _0x5b5d60=new _0x4bf546[(_0x1bfba0(0x3a8))](_0x1543c0+_0x3eca60[_0x1bfba0(0x3f9)]['generateRandomId'](_0x116780),{'left':_0x16ebab+_0x2da2ab-_0x15af8e,'top':_0x401e39+_0x51ee51-_0x36a043/0x2,'height':_0x36a043,'width':_0x36a043,'fill':_0x2d602e||_0x4bf546['getColor'](_0x3eca60['COLORS'][_0x1bfba0(0x385)],0x0),'strokeWidth':0x0,'stroke':_0x2d602e||_0x4bf546['getColor'](_0x3eca60['COLORS'][_0x1bfba0(0x385)],0x0),'evented':!0x1});this[_0x1bfba0(0x197)]=_0x5b5d60,this[_0x1bfba0(0x3be)]['addObject'](_0x5b5d60,_0x2836fd[_0x1bfba0(0x2d4)]);const _0x1a5758=new _0x2e44f4(_0x1543c0+_0x3eca60['Tools'][_0x1bfba0(0x325)](_0x116780),{'left':_0x16ebab+_0x2da2ab-_0x15af8e,'top':_0x401e39+_0x51ee51-_0x3c2f03,'text':_0x558f1a,'color':_0x2d602e});this['_textBubble']=_0x1a5758,this[_0x1bfba0(0x3be)][_0x1bfba0(0x16a)](_0x1a5758,_0x2836fd[_0x1bfba0(0x2d4)]),this[_0x1bfba0(0x333)]=!0x1;}[_0x394340(0x37b)](){const _0x1d66fd=_0x394340,_0x5403b8=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0x1af077=_0x1d5a;this[_0x1af077(0x333)]=!0x0;}),_0x347591=this[_0x1d66fd(0x25f)]['onPointerLeave$'][_0x1d66fd(0x220)](()=>{const _0x3d1feb=_0x1d66fd;this[_0x3d1feb(0x3cf)]&&clearTimeout(this[_0x3d1feb(0x3cf)]),this[_0x3d1feb(0x3cf)]=setTimeout(()=>{const _0x5f488d=_0x3d1feb;this[_0x5f488d(0x333)]=!0x1;},0x7d0);});return()=>{const _0x259d4d=_0x1d66fd;_0x5403b8['unsubscribe'](),_0x347591[_0x259d4d(0x219)]();};}[_0x394340(0x3c9)](_0x256dbd,_0x504900,_0x3377c2,_0x5978d2){const _0xf9fa3b=_0x394340,_0x6c551b=new _0x3eca60['ColorKit'](_0x256dbd)[_0xf9fa3b(0x237)](0.2)[_0xf9fa3b(0x2f0)](),_0x43a6ea=new _0x4bf546[(_0xf9fa3b(0x3f3))](_0x2e43a3+_0x3eca60[_0xf9fa3b(0x3f9)]['generateRandomId'](_0x116780),{'pointsGroup':_0x504900,'fill':_0x6c551b||_0x4bf546['getColor'](_0x3eca60['COLORS'][_0xf9fa3b(0x385)],0.2),'left':_0x3377c2,'top':_0x5978d2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf9fa3b(0x1eb)][_0xf9fa3b(0x2c5)](_0x43a6ea),this[_0xf9fa3b(0x3be)]['addObject'](_0x43a6ea,_0x2836fd[_0xf9fa3b(0x2d4)]);}['_drawRectRange'](_0x125658,_0x55bbe7,_0x46a6a7,_0x3f694c){const _0x785e50=_0x394340,_0x1f84ff=new _0x3eca60[(_0x785e50(0x322))](_0x125658)[_0x785e50(0x237)](0.2)['toRgbString'](),_0x3f6e50=new _0x4bf546[(_0x785e50(0x3f3))](_0x4ad25c+_0x3eca60[_0x785e50(0x3f9)][_0x785e50(0x325)](_0x116780),{'pointsGroup':_0x55bbe7,'fill':_0x1f84ff||_0x4bf546[_0x785e50(0x3ea)](_0x3eca60[_0x785e50(0x2e8)][_0x785e50(0x385)],0.2),'left':_0x46a6a7,'top':_0x3f694c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x785e50(0x1eb)][_0x785e50(0x2c5)](_0x3f6e50),this[_0x785e50(0x3be)]['addObject'](_0x3f6e50,_0x2836fd[_0x785e50(0x2d4)]);}[_0x394340(0x28a)](_0x42b580){const _0x2283c4=_0x42b580[0x0],_0x4e7114=_0x2283c4[0x0],_0x5badc1=_0x2283c4[0x2],{x:_0xb39076,y:_0x84a081}=_0x4e7114,{x:_0x99a75b,y:_0x5761ed}=_0x5badc1;return{'left':_0xb39076,'top':_0x84a081,'width':_0x99a75b-_0xb39076,'height':_0x5761ed-_0x84a081};}[_0x394340(0x2cc)](){const _0x4fec2c=_0x394340,{scaleX:_0x352848,scaleY:_0x44b78a}=this[_0x4fec2c(0x3be)][_0x4fec2c(0x1fa)]();return Math['max'](_0x352848,_0x44b78a);}}var _0x1ded7c=Object[_0x394340(0x1ee)],_0x42679c=(_0x2e5986,_0x3e5770,_0x2ad594,_0x13b151)=>{const _0x3dffa9=_0x394340;for(var _0x31a79a=_0x13b151>0x1?void 0x0:_0x13b151?_0x1ded7c(_0x3e5770,_0x2ad594):_0x3e5770,_0x5eda60=_0x2e5986[_0x3dffa9(0x403)]-0x1,_0x375061;_0x5eda60>=0x0;_0x5eda60--)(_0x375061=_0x2e5986[_0x5eda60])&&(_0x31a79a=_0x375061(_0x31a79a)||_0x31a79a);return _0x31a79a;},_0x121439=(_0x704b0e,_0x57a97d)=>(_0x2f3fa4,_0x3455a0)=>_0x57a97d(_0x2f3fa4,_0x3455a0,_0x704b0e);let _0x462670=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x2f3ed5,_0x1fbb9c,_0x5a30ab,_0x5a6a53,_0x57ccb5){const _0x4c3c28=_0x394340;super(),_0x304002(this,_0x4c3c28(0x1a8),[]),_0x304002(this,_0x4c3c28(0x1ae),[]),(this[_0x4c3c28(0x1b9)]=_0x2f3ed5,this[_0x4c3c28(0x3c3)]=_0x1fbb9c,this[_0x4c3c28(0x21b)]=_0x5a30ab,this[_0x4c3c28(0x1ec)]=_0x5a6a53,this[_0x4c3c28(0x3ee)]=_0x57ccb5,this[_0x4c3c28(0x3d9)]());}[_0x394340(0x3d9)](){const _0x499246=_0x394340,_0x28705f=this[_0x499246(0x1b9)][_0x499246(0x286)],_0x484d9f=this[_0x499246(0x3c3)];this[_0x499246(0x380)](_0x53026d['combineLatest']([this[_0x499246(0x21b)][_0x499246(0x26f)](_0x28705f),this[_0x499246(0x3ee)][_0x499246(0x23e)]])[_0x499246(0x340)](_0x249ee4[_0x499246(0x183)](([_0x2a4957,_0x528052])=>({'skeleton':_0x484d9f[_0x499246(0x288)](),'cursors':[..._0x2a4957[_0x499246(0x2d9)]()]['flatMap'](_0x389765=>({..._0x389765,'color':this['_themeService'][_0x499246(0x3e6)](_0x389765[_0x499246(0x235)])}))})))['subscribe'](_0x3fb813=>{const _0x1ff463=_0x499246;if(this[_0x1ff463(0x213)](),_0x3fb813){const {skeleton:_0x4b8211,cursors:_0x2dd581}=_0x3fb813;this[_0x1ff463(0x1f9)](_0x4b8211,_0x2dd581);}})),this[_0x499246(0x32b)](),this[_0x499246(0x25b)]();}[_0x394340(0x1f9)](_0x4c459c,_0xa55ef2){const _0x30d2a4=_0x394340,{scene:_0x1b2a4c,mainComponent:_0x363fbb}=this[_0x30d2a4(0x1b9)],_0x28e990=_0xa55ef2['map'](_0x2a44d9=>new _0x48424c(_0x2a44d9,_0x1b2a4c,_0x4c459c,_0x363fbb));this[_0x30d2a4(0x1a8)]=_0x28e990,this['_cursors']=_0xa55ef2;}[_0x394340(0x224)](){const _0x44f376=_0x394340;this[_0x44f376(0x213)]();const {scene:_0x30eb72,mainComponent:_0x304923}=this[_0x44f376(0x1b9)],_0x990abf=this[_0x44f376(0x3c3)][_0x44f376(0x288)](),_0x3af83d=this[_0x44f376(0x1ae)]['map'](_0x39a902=>new _0x48424c(_0x39a902,_0x30eb72,_0x990abf,_0x304923));this['_cursorShapes']=_0x3af83d;}[_0x394340(0x213)](){const _0x2142f2=_0x394340;this[_0x2142f2(0x1a8)][_0x2142f2(0x2d8)](_0x48d28e=>_0x48d28e[_0x2142f2(0x33f)]()),this[_0x2142f2(0x1a8)]=[];}[_0x394340(0x25b)](){const _0x56a668=_0x394340,_0x1b728d=[_0x2836fd['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x56a668(0x1ec)][_0x56a668(0x2fa)](_0x1b377b=>{const _0x5bf3e0=_0x56a668;_0x1b728d['includes'](_0x1b377b['id'])&&_0x1b377b[_0x5bf3e0(0x18f)][_0x5bf3e0(0x286)]===this[_0x5bf3e0(0x1b9)][_0x5bf3e0(0x286)]&&this[_0x5bf3e0(0x224)]();}));}['_initResize'](){const _0x496418=_0x394340;this[_0x496418(0x380)](_0x3eca60[_0x496418(0x1d0)](this[_0x496418(0x1b9)][_0x496418(0x3bb)][_0x496418(0x251)])[_0x496418(0x340)](_0x249ee4['filter'](_0x4599a3=>_0x4599a3['type']===_0x4bf546[_0x496418(0x1a1)][_0x496418(0x3ca)]),_0x249ee4['throttleTime'](0x10))['subscribe'](()=>{const _0x5f1181=_0x496418;this[_0x5f1181(0x224)]();}));}};_0x462670=_0x42679c([_0x121439(0x1,_0x3eca60['Inject'](_0x29518c['DocSkeletonManagerService'])),_0x121439(0x2,_0x3eca60[_0x394340(0x2b8)](_0x50fe84)),_0x121439(0x3,_0x3eca60[_0x394340(0x24c)]),_0x121439(0x4,_0x3eca60[_0x394340(0x2b8)](_0x3eca60['ThemeService']))],_0x462670);const _0x33dd56=0x1,_0x312255=1.5;class _0x446520 extends _0x4bf546[_0x394340(0x1e8)]{constructor(_0x2c98d0,_0x5cf0c8){const _0x4ec973=_0x394340;super(_0x2c98d0,_0x5cf0c8),_0x304002(this,_0x4ec973(0x293)),_0x304002(this,_0x4ec973(0x3b7),!0x1),_0x304002(this,_0x4ec973(0x338)),_0x304002(this,'_name',''),_0x304002(this,_0x4ec973(0x236),_0x4ec973(0x397)),_0x304002(this,_0x4ec973(0x2aa)),(_0x5cf0c8&&this[_0x4ec973(0x318)](_0x5cf0c8),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4ec973(0x295)][_0x4ec973(0x220)](()=>this[_0x4ec973(0x318)]({'hovered':!0x1})));}[_0x394340(0x318)](_0x22d829){const _0x1c94ef=_0x394340;var _0x3f6806,_0x3e4998,_0x3555bb,_0x394c1b,_0x1e5500,_0x43c0a7;this[_0x1c94ef(0x293)]=(_0x3f6806=_0x22d829['color'])!=null?_0x3f6806:this[_0x1c94ef(0x293)],this[_0x1c94ef(0x3b7)]=(_0x3e4998=_0x22d829[_0x1c94ef(0x1c0)])!=null?_0x3e4998:this[_0x1c94ef(0x3b7)],this[_0x1c94ef(0x338)]=(_0x3555bb=_0x22d829[_0x1c94ef(0x2c8)])!=null?_0x3555bb:this[_0x1c94ef(0x338)],this[_0x1c94ef(0x36a)]=(_0x394c1b=_0x22d829['name'])!=null?_0x394c1b:this[_0x1c94ef(0x36a)],this[_0x1c94ef(0x236)]=(_0x1e5500=_0x22d829[_0x1c94ef(0x19d)])!=null?_0x1e5500:this[_0x1c94ef(0x236)],this['_backgroundColor']=(_0x43c0a7=_0x22d829[_0x1c94ef(0x2a5)])!=null?_0x43c0a7:this['_backgroundColor'],this[_0x1c94ef(0x31b)]({'width':_0x22d829[_0x1c94ef(0x3a1)],'height':_0x22d829[_0x1c94ef(0x2ca)]});}[_0x394340(0x2d7)](_0x3e26ee){const _0x1a96d7=_0x394340,{row:_0x5bff28,column:_0x2cc2f3}=_0x3e26ee;if(_0x5bff28>=this[_0x1a96d7(0x338)]['startRow']&&_0x5bff28<=this['_range'][_0x1a96d7(0x212)]&&_0x2cc2f3>=this[_0x1a96d7(0x338)]['startColumn']&&_0x2cc2f3<=this[_0x1a96d7(0x338)][_0x1a96d7(0x1f5)]){this[_0x1a96d7(0x318)]({'hovered':!0x0});return;}this[_0x1a96d7(0x318)]({'hovered':!0x1});}[_0x394340(0x181)](_0x2d42af){return!0x1;}[_0x394340(0x278)](_0x343f4c){const _0x490cae=_0x394340;_0x4bf546[_0x490cae(0x3a8)][_0x490cae(0x3c7)](_0x343f4c,{'width':this[_0x490cae(0x3a1)],'height':this[_0x490cae(0x2ca)],'strokeWidth':_0x312255,'stroke':this[_0x490cae(0x293)],'evented':!0x1,'fill':this[_0x490cae(0x2aa)]}),this[_0x490cae(0x3b7)]&&(_0x343f4c[_0x490cae(0x35a)](),_0x343f4c[_0x490cae(0x375)](0x1,0x0,0x0,0x1,this[_0x490cae(0x3a1)],this[_0x490cae(0x236)]===_0x490cae(0x3bc)?0x0:-0x14),_0x2e44f4[_0x490cae(0x3c7)](_0x343f4c,{'text':this[_0x490cae(0x36a)],'color':this[_0x490cae(0x293)]}),_0x343f4c[_0x490cae(0x171)]());}}var _0x4e770a=Object[_0x394340(0x1ee)],_0x5ca1d0=(_0x6e0225,_0x48cea7,_0x57298d,_0x1174e7)=>{for(var _0x1bc47d=_0x1174e7>0x1?void 0x0:_0x1174e7?_0x4e770a(_0x48cea7,_0x57298d):_0x48cea7,_0x406f93=_0x6e0225['length']-0x1,_0x17f5a8;_0x406f93>=0x0;_0x406f93--)(_0x17f5a8=_0x6e0225[_0x406f93])&&(_0x1bc47d=_0x17f5a8(_0x1bc47d)||_0x1bc47d);return _0x1bc47d;},_0x12fe40=(_0x5d6393,_0x18bb89)=>(_0x443986,_0xde6bb)=>_0x18bb89(_0x443986,_0xde6bb,_0x5d6393);const _0x1514e7=0x1389;let _0x2af5a9=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x9a5ebb,_0xe624ae,_0x3e4dbc,_0x507043){const _0x16eede=_0x394340;super(),_0x304002(this,_0x16eede(0x1ae),new Set()),_0x304002(this,_0x16eede(0x2f8),null),(this[_0x16eede(0x1b9)]=_0x9a5ebb,this[_0x16eede(0x37f)]=_0xe624ae,this[_0x16eede(0x21b)]=_0x3e4dbc,this[_0x16eede(0x3ee)]=_0x507043,this[_0x16eede(0x3d9)]());}[_0x394340(0x3d9)](){const _0x4e4598=_0x394340;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4e4598(0x340)](_0x249ee4[_0x4e4598(0x2b4)](this[_0x4e4598(0x344)]),_0x249ee4[_0x4e4598(0x3ab)](_0x1c8a8c=>{const _0x424662=_0x4e4598;if(_0x1c8a8c){const _0x41d5cb=_0x1c8a8c['sheetId'];return _0x53026d[_0x424662(0x21a)](this[_0x424662(0x21b)]['getCollabCursors$'](this[_0x424662(0x1b9)][_0x424662(0x286)]),this[_0x424662(0x3ee)][_0x424662(0x23e)])[_0x424662(0x340)](_0x249ee4[_0x424662(0x183)](([_0x410b95,_0x34bb52])=>{const _0x4aa277=_0x424662,_0x32759d=new Map();return _0x410b95[_0x4aa277(0x2d8)]((_0x233024,_0x2d4780)=>{const _0xb62127=_0x4aa277;if(_0x233024['sheetID']===_0x41d5cb){const _0x26375c={..._0x233024};_0x26375c[_0xb62127(0x235)]=this[_0xb62127(0x3ee)]['getColorFromTheme'](_0x233024[_0xb62127(0x235)]),_0x32759d[_0xb62127(0x175)](_0x2d4780,_0x26375c);}}),{'skeleton':_0x1c8a8c,'cursors':_0x32759d};}));}return _0x53026d['of']({'skeleton':null,'cursors':new Map()});}))[_0x4e4598(0x270)](({skeleton:_0x5760d4,cursors:_0x3485e8})=>{const _0x477541=_0x4e4598;this[_0x477541(0x213)](),_0x5760d4&&this['_updateCollabCursors'](_0x5760d4,_0x3485e8);}),this[_0x4e4598(0x37f)]['currentSkeleton$'][_0x4e4598(0x270)](_0x5413a2=>{const _0x5cc969=_0x4e4598;if(_0x5413a2==null)return;const {skeleton:_0x5ee21f}=_0x5413a2,{scene:_0x400620}=this[_0x5cc969(0x1b9)];_0x400620[_0x5cc969(0x2e5)]['subscribeEvent'](_0x3eca60[_0x5cc969(0x1b8)](_0xb48e31=>{const _0x10359a=_0x5cc969;var _0x21351b,_0x1a491f;const {offsetX:_0x107271,offsetY:_0xc327f8}=_0xb48e31,{x:_0x431f6f,y:_0x470692}=_0x400620[_0x10359a(0x1be)](_0x4bf546[_0x10359a(0x393)][_0x10359a(0x350)]([_0x107271,_0xc327f8])),{scaleX:_0x50757a,scaleY:_0xd5f6b4}=_0x400620['getAncestorScale'](),_0x46d3e8=_0x400620[_0x10359a(0x2ef)](_0x4bf546[_0x10359a(0x297)][_0x10359a(0x24b)]),_0x21b888=_0x400620[_0x10359a(0x3d5)](_0x4bf546[_0x10359a(0x393)][_0x10359a(0x350)]([_0x431f6f,_0x470692]),_0x46d3e8),_0x5470fd=_0x5ee21f[_0x10359a(0x1a4)](_0x107271,_0xc327f8,_0x50757a,_0xd5f6b4,_0x21b888);((_0x21351b=this[_0x10359a(0x2f8)])==null?void 0x0:_0x21351b[_0x10359a(0x29a)])===_0x5470fd[_0x10359a(0x29a)]&&((_0x1a491f=this[_0x10359a(0x2f8)])==null?void 0x0:_0x1a491f[_0x10359a(0x349)])===_0x5470fd[_0x10359a(0x349)]||this[_0x10359a(0x1ae)][_0x10359a(0x2d8)](_0x179926=>{const _0x1ac1ef=_0x10359a;_0x179926[_0x1ac1ef(0x2d7)](_0x5470fd);});},0x64));});}[_0x394340(0x1f9)](_0x36cb9c,_0x29af63){const _0x22682e=_0x394340;var _0x309c46;const _0x7cfaa0=(_0x309c46=this['_sheetSkeletonManagerService'][_0x22682e(0x20d)]())==null?void 0x0:_0x309c46['skeleton'];if(!_0x7cfaa0)return;const _0x6ff54b=this[_0x22682e(0x2fb)]();if(!_0x6ff54b)return;this['_cursors'][_0x22682e(0x2d8)](_0x17d074=>{const _0x346e1e=_0x22682e;_0x17d074[_0x346e1e(0x2cb)]();});const {scene:_0x417c0c}=_0x6ff54b,_0x5c41f8=_0x59bfb0(Array['from'](_0x29af63[_0x22682e(0x2d9)]()))[_0x22682e(0x183)](_0x20680d=>{const _0x5df798=_0x22682e,{color:_0x299aec,range:_0x20749f,name:_0x559272,selection:_0x37235a,sheetID:_0x436682}=_0x20680d,{startColumn:_0x447a0f,startRow:_0x203bb8,endColumn:_0x4d8f09,endRow:_0x176baf}=_0x20749f,_0x5cb91d=_0x20cc9a['getCoordByCell'](_0x203bb8,_0x447a0f,_0x417c0c,_0x7cfaa0),_0x539878=_0x20cc9a[_0x5df798(0x1f6)](_0x176baf,_0x4d8f09,_0x417c0c,_0x7cfaa0),{columnHeaderHeightAndMarginTop:_0x4b9a36}=_0x7cfaa0,{startX:_0xf528a1,startY:_0x1bd45c}=_0x5cb91d,{endX:_0x47d3df,endY:_0x591893}=_0x539878,_0x459929=_0x47d3df-_0xf528a1,_0x567407=_0x591893-_0x1bd45c,_0x3f93a2={'labelPosition':_0x1bd45c-_0x4b9a36>=_0x3c2f03?'top':_0x5df798(0x3bc),'sheetID':_0x436682,'range':_0x20749f,'color':_0x299aec,'name':_0x559272,'selection':_0x37235a,'left':_0xf528a1,'top':_0x1bd45c,'width':_0x459929,'height':_0x567407,'evented':!0x1,'zIndex':_0x1514e7};return new _0x446520(_0x559272,_0x3f93a2);});_0x417c0c['addObjects'](_0x5c41f8,_0x33dd56),this[_0x22682e(0x1ae)]=new Set(_0x5c41f8);}['_removeCollabCursors'](){const _0x5d6622=_0x394340;var _0x4c69b4;(_0x4c69b4=this[_0x5d6622(0x1ae)])==null||_0x4c69b4[_0x5d6622(0x2d8)](_0x29ee2e=>_0x29ee2e[_0x5d6622(0x33f)]());}[_0x394340(0x2fb)](){const _0x14bbb5=_0x394340;return _0x20cc9a[_0x14bbb5(0x22d)](this[_0x14bbb5(0x1b9)][_0x14bbb5(0x2f3)],this[_0x14bbb5(0x1b9)]);}};_0x2af5a9=_0x5ca1d0([_0x12fe40(0x1,_0x3eca60[_0x394340(0x2b8)](_0x20cc9a['SheetSkeletonManagerService'])),_0x12fe40(0x2,_0x3eca60[_0x394340(0x2b8)](_0x50fe84)),_0x12fe40(0x3,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x2cf)]))],_0x2af5a9);function _0x59bfb0(_0x30f064){const _0x58599a=_0x394340,_0x127f6f=new Map();return _0x30f064['forEach'](_0x3bd1de=>{const _0xbd9a2f=_0x1d5a;if(_0x127f6f[_0xbd9a2f(0x32c)](_0x3bd1de[_0xbd9a2f(0x2ad)])){const _0x1d3a3c=_0x127f6f[_0xbd9a2f(0x202)](_0x3bd1de[_0xbd9a2f(0x2ad)]);_0x1d3a3c[_0xbd9a2f(0x277)]+=',\x20'+_0x3bd1de['name'];}else _0x127f6f['set'](_0x3bd1de[_0xbd9a2f(0x2ad)],_0x3bd1de);}),Array[_0x58599a(0x1fb)](_0x127f6f[_0x58599a(0x2d9)]());}var _0x2fd73c=function(){const _0x16f4fe=_0x394340;return _0x2fd73c=Object[_0x16f4fe(0x1b1)]||function(_0x454dc3){const _0xfa516d=_0x16f4fe;for(var _0x238fec,_0x5c6003=0x1,_0x5dcbe2=arguments[_0xfa516d(0x403)];_0x5c6003<_0x5dcbe2;_0x5c6003++){_0x238fec=arguments[_0x5c6003];for(var _0xd88c51 in _0x238fec)Object[_0xfa516d(0x287)][_0xfa516d(0x21d)][_0xfa516d(0x284)](_0x238fec,_0xd88c51)&&(_0x454dc3[_0xd88c51]=_0x238fec[_0xd88c51]);}return _0x454dc3;},_0x2fd73c[_0x16f4fe(0x206)](this,arguments);},_0x2e4951=function(_0x136295,_0x3f5c2e){const _0x404ca0=_0x394340;var _0x52d30c={};for(var _0x41c085 in _0x136295)Object[_0x404ca0(0x287)][_0x404ca0(0x21d)][_0x404ca0(0x284)](_0x136295,_0x41c085)&&_0x3f5c2e[_0x404ca0(0x170)](_0x41c085)<0x0&&(_0x52d30c[_0x41c085]=_0x136295[_0x41c085]);if(_0x136295!=null&&typeof Object['getOwnPropertySymbols']==_0x404ca0(0x17e)){for(var _0x173ecf=0x0,_0x41c085=Object[_0x404ca0(0x2b2)](_0x136295);_0x173ecf<_0x41c085['length'];_0x173ecf++)_0x3f5c2e[_0x404ca0(0x170)](_0x41c085[_0x173ecf])<0x0&&Object['prototype'][_0x404ca0(0x3b1)]['call'](_0x136295,_0x41c085[_0x173ecf])&&(_0x52d30c[_0x41c085[_0x173ecf]]=_0x136295[_0x41c085[_0x173ecf]]);}return _0x52d30c;},_0x33e532=_0x42f475[_0x394340(0x27f)](function(_0x3abff0,_0x2fed1f){const _0x166e6b=_0x394340;var _0x5ec171=_0x3abff0[_0x166e6b(0x34a)],_0x536f12=_0x3abff0['id'],_0x2450d2=_0x3abff0[_0x166e6b(0x188)],_0x141f59=_0x3abff0[_0x166e6b(0x195)],_0x52495b=_0x2e4951(_0x3abff0,[_0x166e6b(0x34a),'id','className',_0x166e6b(0x195)]),_0x5ce291=_0x166e6b(0x2d2)[_0x166e6b(0x23d)](_0x536f12,'\x20')[_0x166e6b(0x23d)](_0x2450d2||'')['trim'](),_0x5931dc=_0x42f475[_0x166e6b(0x2c9)]('_'[_0x166e6b(0x23d)](_0x1ce169()));return _0x22b06b(_0x5ec171,''[_0x166e6b(0x23d)](_0x536f12),{'defIds':_0x5ec171[_0x166e6b(0x31e)],'idSuffix':_0x5931dc[_0x166e6b(0x2f6)]},_0x2fd73c({'ref':_0x2fed1f,'className':_0x5ce291},_0x52495b),_0x141f59);});function _0x22b06b(_0x500fb7,_0x1a699f,_0x434987,_0x40f508,_0x54e20b){const _0x1a0c04=_0x394340;return _0x42f475[_0x1a0c04(0x1f4)](_0x500fb7[_0x1a0c04(0x21c)],_0x2fd73c(_0x2fd73c({'key':_0x1a699f},_0x162d30(_0x500fb7,_0x434987,_0x54e20b)),_0x40f508),(_0x453084(_0x500fb7,_0x434987)[_0x1a0c04(0x204)]||[])[_0x1a0c04(0x183)](function(_0x1c4b4f,_0xaa5fd0){const _0xc26ef2=_0x1a0c04;return _0x22b06b(_0x1c4b4f,''['concat'](_0x1a699f,'-')[_0xc26ef2(0x23d)](_0x500fb7[_0xc26ef2(0x21c)],'-')[_0xc26ef2(0x23d)](_0xaa5fd0),_0x434987,void 0x0,_0x54e20b);}));}function _0x162d30(_0x352b45,_0x4dd48b,_0x42fa07){const _0x33b40c=_0x394340;var _0x3d7703=_0x2fd73c({},_0x352b45[_0x33b40c(0x29d)]);_0x42fa07!=null&&_0x42fa07['colorChannel1']&&_0x3d7703['fill']===_0x33b40c(0x3c2)&&(_0x3d7703[_0x33b40c(0x18d)]=_0x42fa07[_0x33b40c(0x3c2)]),_0x352b45[_0x33b40c(0x21c)]===_0x33b40c(0x363)&&_0x3d7703['id']&&(_0x3d7703['id']=_0x3d7703['id']+_0x4dd48b[_0x33b40c(0x19b)]),Object[_0x33b40c(0x2fd)](_0x3d7703)[_0x33b40c(0x2d8)](function(_0xd10154){const _0x5d5b5d=_0x33b40c;var _0x4145be=_0xd10154[0x0],_0x2fb628=_0xd10154[0x1];_0x4145be==='mask'&&typeof _0x2fb628==_0x5d5b5d(0x210)&&(_0x3d7703[_0x4145be]=_0x2fb628[_0x5d5b5d(0x1ed)](/url\(#(.*)\)/,_0x5d5b5d(0x32d)[_0x5d5b5d(0x23d)](_0x4dd48b[_0x5d5b5d(0x19b)],')')));});var _0x5acb5a=_0x4dd48b['defIds'];return!_0x5acb5a||_0x5acb5a['length']===0x0||(_0x352b45['tag']==='use'&&_0x3d7703[_0x33b40c(0x36e)]&&(_0x3d7703[_0x33b40c(0x36e)]=_0x3d7703[_0x33b40c(0x36e)]+_0x4dd48b[_0x33b40c(0x19b)]),Object[_0x33b40c(0x2fd)](_0x3d7703)[_0x33b40c(0x2d8)](function(_0x1f557f){const _0x31ee09=_0x33b40c;var _0x1817be=_0x1f557f[0x0],_0xda0b1b=_0x1f557f[0x1];typeof _0xda0b1b==_0x31ee09(0x210)&&(_0x3d7703[_0x1817be]=_0xda0b1b[_0x31ee09(0x1ed)](/url\(#(.*)\)/,'url(#$1'[_0x31ee09(0x23d)](_0x4dd48b['idSuffix'],')')));})),_0x3d7703;}function _0x453084(_0x584b4e,_0x23ad64){const _0xc45fb4=_0x394340;var _0x3e38b4,_0x4efc8d=_0x23ad64['defIds'];return!_0x4efc8d||_0x4efc8d['length']===0x0?_0x584b4e:_0x584b4e[_0xc45fb4(0x21c)]===_0xc45fb4(0x1d4)&&(!((_0x3e38b4=_0x584b4e[_0xc45fb4(0x204)])===null||_0x3e38b4===void 0x0)&&_0x3e38b4[_0xc45fb4(0x403)])?_0x2fd73c(_0x2fd73c({},_0x584b4e),{'children':_0x584b4e['children'][_0xc45fb4(0x183)](function(_0x5353ae){const _0x36ee3d=_0xc45fb4;return typeof _0x5353ae[_0x36ee3d(0x29d)]['id']==_0x36ee3d(0x210)&&_0x4efc8d&&_0x4efc8d[_0x36ee3d(0x170)](_0x5353ae[_0x36ee3d(0x29d)]['id'])>-0x1?_0x2fd73c(_0x2fd73c({},_0x5353ae),{'attrs':_0x2fd73c(_0x2fd73c({},_0x5353ae[_0x36ee3d(0x29d)]),{'id':_0x5353ae[_0x36ee3d(0x29d)]['id']+_0x23ad64[_0x36ee3d(0x19b)]})}):_0x5353ae;})}):_0x584b4e;}function _0x1ce169(){const _0x29cd72=_0x394340;return Math[_0x29cd72(0x2a3)]()[_0x29cd72(0x1bf)](0x24)[_0x29cd72(0x38c)](0x2,0x8);}_0x33e532[_0x394340(0x1d9)]=_0x394340(0x20e);var _0x452c0d={'tag':_0x394340(0x1e2),'attrs':{'fill':_0x394340(0x394),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x394340(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x394340(0x30b),'attrs':{'stroke':_0x394340(0x232),'d':_0x394340(0x1ac),'strokeLinecap':_0x394340(0x28b),'strokeLinejoin':_0x394340(0x28b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x394340(0x2d3),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x394340(0x30b),'attrs':{'fill':_0x394340(0x2b6),'d':_0x394340(0x28f)}}]}]}],'defIds':[_0x394340(0x1ff)]},_0x4f1229=_0x42f475[_0x394340(0x27f)](function(_0x31aa3e,_0x59d63c){const _0x4f511f=_0x394340;return _0x42f475[_0x4f511f(0x1f4)](_0x33e532,Object['assign']({},_0x31aa3e,{'id':_0x4f511f(0x3df),'ref':_0x59d63c,'icon':_0x452c0d}));});_0x4f1229['displayName']=_0x394340(0x1d2);var _0x5db54e={'tag':_0x394340(0x1e2),'attrs':{'fill':_0x394340(0x394),'viewBox':'0\x200\x2017\x2016','width':_0x394340(0x33a),'height':_0x394340(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':_0x394340(0x1a9)},'children':[{'tag':_0x394340(0x30b),'attrs':{'stroke':_0x394340(0x232),'d':_0x394340(0x345),'strokeLinecap':_0x394340(0x28b),'strokeLinejoin':_0x394340(0x28b),'strokeWidth':1.2}}]},{'tag':_0x394340(0x1d4),'attrs':{},'children':[{'tag':_0x394340(0x2d3),'attrs':{'id':_0x394340(0x1d5)},'children':[{'tag':_0x394340(0x30b),'attrs':{'fill':_0x394340(0x2b6),'d':_0x394340(0x28f),'transform':_0x394340(0x16f)}}]}]}],'defIds':[_0x394340(0x1d5)]},_0xef1d0a=_0x42f475['forwardRef'](function(_0x3573c6,_0x193a83){const _0x5724f5=_0x394340;return _0x42f475[_0x5724f5(0x1f4)](_0x33e532,Object[_0x5724f5(0x1b1)]({},_0x3573c6,{'id':_0x5724f5(0x2fc),'ref':_0x193a83,'icon':_0x5db54e}));});_0xef1d0a[_0x394340(0x1d9)]=_0x394340(0x3de);function _0x3af2d(_0x574fcd){const _0x45cd10=_0x394340;switch(_0x574fcd){case _0xcdca2f[_0x45cd10(0x2b5)]['OFFLINE']:return _0x45cd10(0x26b);case _0xcdca2f[_0x45cd10(0x2b5)][_0x45cd10(0x246)]:return _0x45cd10(0x177);case _0xcdca2f['CollaborationStatus'][_0x45cd10(0x307)]:return'collabStatus.fetchMiss';case _0xcdca2f['CollaborationStatus'][_0x45cd10(0x1b2)]:return _0x45cd10(0x3ae);case _0xcdca2f['CollaborationStatus']['AWAITING']:case _0xcdca2f[_0x45cd10(0x2b5)][_0x45cd10(0x2ec)]:return'collabStatus.syncing';case _0xcdca2f[_0x45cd10(0x2b5)][_0x45cd10(0x25c)]:case _0xcdca2f[_0x45cd10(0x2b5)]['PENDING']:return _0x45cd10(0x396);}}function _0x497efe(_0x121a70){const _0x2b4cff=_0x394340,{status$:_0x2aa079}=_0x121a70,_0x22cfbe=_0x3879ce['useObservable'](_0x2aa079,_0xcdca2f[_0x2b4cff(0x2b5)][_0x2b4cff(0x1b2)]),_0x360ad2=_0x3879ce['useDependency'](_0x3eca60[_0x2b4cff(0x2df)]),_0x5d4642=_0x3879ce[_0x2b4cff(0x263)](_0xcdca2f['CollaborationSessionService']),_0x405292=_0x22cfbe!==_0xcdca2f[_0x2b4cff(0x2b5)][_0x2b4cff(0x234)],_0x53aabf=_0x360ad2['t'](_0x3af2d(_0x22cfbe)),_0x761b6b=_0x405292?_0x265223[_0x2b4cff(0x1b5)](_0xef1d0a,{}):_0x265223[_0x2b4cff(0x1b5)](_0x4f1229,{}),_0x341de9=_0x42f475[_0x2b4cff(0x22b)](()=>{const _0x350427=_0x2b4cff;_0x405292||_0x5d4642[_0x350427(0x30d)]();},[_0x405292,_0x5d4642]);function _0x4d6221(){const _0x292352=_0x2b4cff;return _0x265223['jsxs'](_0x292352(0x36f),{'className':_0x292352(0x30e),'onClick':_0x341de9,'children':[_0x265223['jsx']('div',{'className':_0x6a8d20['clsx'](_0x292352(0x3b4),{'univer-text-green-500':_0x405292,'univer-text-red-500':!_0x405292}),'children':_0x761b6b}),_0x265223[_0x292352(0x1b5)](_0x292352(0x36f),{'className':_0x292352(0x2f5),'children':_0x53aabf})]});}return _0x405292?_0x4d6221():_0x265223[_0x2b4cff(0x1b5)](_0x6a8d20['Tooltip'],{'title':_0x360ad2['t'](_0x2b4cff(0x1bc)),'children':_0x4d6221()});}var _0x3acb54=Object[_0x394340(0x1ee)],_0x3c9255=(_0x53d220,_0xf7388c,_0x3b9654,_0x112077)=>{const _0x4c3873=_0x394340;for(var _0x14be92=_0x112077>0x1?void 0x0:_0x112077?_0x3acb54(_0xf7388c,_0x3b9654):_0xf7388c,_0xfa3a5=_0x53d220[_0x4c3873(0x403)]-0x1,_0x3d1404;_0xfa3a5>=0x0;_0xfa3a5--)(_0x3d1404=_0x53d220[_0xfa3a5])&&(_0x14be92=_0x3d1404(_0x14be92)||_0x14be92);return _0x14be92;},_0x2d9b97=(_0x42af52,_0x1514ae)=>(_0x4dded9,_0x120a34)=>_0x1514ae(_0x4dded9,_0x120a34,_0x42af52);_0x4a6788[_0x394340(0x2b7)]=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0x5972e2,_0x1e54e7,_0x2ce028,_0x2d3412){const _0x2345ba=_0x394340;super(),_0x304002(this,_0x2345ba(0x3ec),new _0x53026d[(_0x2345ba(0x323))](_0xcdca2f[_0x2345ba(0x2b5)][_0x2345ba(0x1b2)])),(this[_0x2345ba(0x2a0)]=_0x5972e2,this['_injector']=_0x1e54e7,this[_0x2345ba(0x2ae)]=_0x2ce028,this[_0x2345ba(0x19a)]=_0x2d3412,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x394340(0x3d3)](){const _0x917f6=_0x394340;this[_0x917f6(0x380)](this[_0x917f6(0x2a0)]['focused$'][_0x917f6(0x340)](_0x53026d['switchMap'](()=>{const _0x20ff39=_0x917f6,_0x316e04=this[_0x20ff39(0x2a0)][_0x20ff39(0x256)]();return _0x316e04?this[_0x20ff39(0x2ae)]['getCollabEntity$'](_0x316e04['getUnitId']()):_0x53026d['of'](null);}),_0x53026d['switchMap'](_0x983355=>_0x983355?_0x983355[_0x917f6(0x187)]:_0x53026d['of'](_0xcdca2f['CollaborationStatus'][_0x917f6(0x1b2)])))['subscribe'](_0x21a02e=>{const _0x195608=_0x917f6;this[_0x195608(0x3ec)][_0x195608(0x275)](_0x21a02e);}));}[_0x394340(0x352)](){const _0xfb6869=_0x394340;this[_0xfb6869(0x380)](this[_0xfb6869(0x19a)]['registerComponent'](_0x3879ce[_0xfb6869(0x186)][_0xfb6869(0x34d)],()=>_0x3879ce[_0xfb6869(0x3d1)](_0x5b4114({'status$':this['_status$'][_0xfb6869(0x1b7)]()}),this[_0xfb6869(0x1e9)])));}},_0x4a6788[_0x394340(0x2b7)]=_0x3c9255([_0x2d9b97(0x0,_0x3eca60[_0x394340(0x200)]),_0x2d9b97(0x1,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x2d9b97(0x2,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f[_0x394340(0x22a)])),_0x2d9b97(0x3,_0x3879ce[_0x394340(0x1b3)])],_0x4a6788[_0x394340(0x2b7)]);function _0x5b4114(_0x5d4659){const {status$:_0x4d8256}=_0x5d4659;return function(){const _0x53ebc3=_0x1d5a;return _0x265223[_0x53ebc3(0x1b5)](_0x497efe,{'status$':_0x4d8256});};}var _0x498f34=Object['getOwnPropertyDescriptor'],_0x23e08b=(_0x4975a3,_0x36569d,_0x1541a5,_0x3f699c)=>{const _0x4469aa=_0x394340;for(var _0x5b46e5=_0x3f699c>0x1?void 0x0:_0x3f699c?_0x498f34(_0x36569d,_0x1541a5):_0x36569d,_0x28ca98=_0x4975a3[_0x4469aa(0x403)]-0x1,_0x984e13;_0x28ca98>=0x0;_0x28ca98--)(_0x984e13=_0x4975a3[_0x28ca98])&&(_0x5b46e5=_0x984e13(_0x5b46e5)||_0x5b46e5);return _0x5b46e5;},_0x5acf23=(_0x2e20e3,_0x35c5c8)=>(_0x48ca5b,_0x3267f5)=>_0x35c5c8(_0x48ca5b,_0x3267f5,_0x2e20e3);let _0x5a5087=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0x540418,_0x53b05a,_0x3bd6f0,_0x6bac9,_0x5f0a4d,_0x1dc612){const _0x355776=_0x394340;super(),this['_beforeCloseService']=_0x540418,this[_0x355776(0x20f)]=_0x53b05a,this[_0x355776(0x292)]=_0x3bd6f0,this[_0x355776(0x353)]=_0x6bac9,this[_0x355776(0x2d1)]=_0x5f0a4d,this[_0x355776(0x33e)]=_0x1dc612,this[_0x355776(0x36d)](),this[_0x355776(0x2a4)]();}['_setupBeforeClosingHandler'](){const _0xbebd00=_0x394340;this[_0xbebd00(0x380)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x559473=_0xbebd00;if(this[_0x559473(0x20f)][_0x559473(0x1c8)]['size'])return this[_0x559473(0x33e)]['t'](_0x559473(0x1f8));}));}[_0x394340(0x2a4)](){const _0x483dcf=_0x394340;this[_0x483dcf(0x380)](this['_collaborationUIEventService'][_0x483dcf(0x17b)][_0x483dcf(0x270)](_0x1fb19c=>{const _0x2bc3e7=_0x483dcf;_0x1fb19c['id']===_0xcdca2f['CollaborationUIEventId'][_0x2bc3e7(0x230)]&&this[_0x2bc3e7(0x353)]['show']({'type':_0x6a8d20[_0x2bc3e7(0x1f0)][_0x2bc3e7(0x3ef)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x365)]&&this['_messageService']['show']({'type':_0x6a8d20[_0x2bc3e7(0x1f0)][_0x2bc3e7(0x3ef)],'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x3b0))}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x2a8)]&&this[_0x2bc3e7(0x2d1)][_0x2bc3e7(0x3d4)]({'title':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x296)),'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x1cc)),'type':'error','duration':0x0}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)]['CONFLICT']&&this[_0x2bc3e7(0x353)][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20[_0x2bc3e7(0x1f0)]['Error'],'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x3b0))+'('+_0x1fb19c[_0x2bc3e7(0x388)]+')'}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x390)]&&this[_0x2bc3e7(0x353)][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20['MessageType'][_0x2bc3e7(0x3ef)],'content':this[_0x2bc3e7(0x33e)]['t'](_0x1fb19c['data']||'')}),_0x1fb19c['id']===_0xcdca2f['CollaborationUIEventId'][_0x2bc3e7(0x35f)]&&this[_0x2bc3e7(0x353)][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20[_0x2bc3e7(0x1f0)][_0x2bc3e7(0x3ef)],'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x1b0))}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x329)]&&this[_0x2bc3e7(0x353)][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20[_0x2bc3e7(0x1f0)][_0x2bc3e7(0x3af)],'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x218))}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x359)]&&this['_messageService'][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20[_0x2bc3e7(0x1f0)]['Error'],'content':this['_localeService']['t'](_0x2bc3e7(0x3f4))});}));}};_0x5a5087=_0x23e08b([_0x5acf23(0x0,_0x3879ce[_0x394340(0x231)]),_0x5acf23(0x1,_0xcdca2f[_0x394340(0x1fc)]),_0x5acf23(0x2,_0x3eca60['Inject'](_0xcdca2f['CollaborationUIEventService'])),_0x5acf23(0x3,_0x3879ce['IMessageService']),_0x5acf23(0x4,_0x3879ce[_0x394340(0x21e)]),_0x5acf23(0x5,_0x3eca60[_0x394340(0x2b8)](_0x3eca60['LocaleService']))],_0x5a5087);const _0x21e8d6=_0x394340(0x371),_0x362a05={},_0xf95d88=_0x3eca60['createIdentifier'](_0x394340(0x389));var _0x5e9824=Object[_0x394340(0x1ee)],_0x188117=(_0x47a99b,_0x167bff,_0xc8516f,_0x4e5c3c)=>{const _0x2b13fc=_0x394340;for(var _0x1dd536=_0x4e5c3c>0x1?void 0x0:_0x4e5c3c?_0x5e9824(_0x167bff,_0xc8516f):_0x167bff,_0x4ea9e6=_0x47a99b[_0x2b13fc(0x403)]-0x1,_0x5675d6;_0x4ea9e6>=0x0;_0x4ea9e6--)(_0x5675d6=_0x47a99b[_0x4ea9e6])&&(_0x1dd536=_0x5675d6(_0x1dd536)||_0x1dd536);return _0x1dd536;},_0x927837=(_0x249214,_0x290439)=>(_0x5b58ad,_0x379e2d)=>_0x290439(_0x5b58ad,_0x379e2d,_0x249214);_0x4a6788[_0x394340(0x3a6)]=class extends _0x3eca60['RxDisposable']{constructor(_0x460f4d,_0x3f977b,_0x3b08b3,_0x322b74,_0x404603){const _0x165b04=_0x394340;super(),this['_urlService']=_0x460f4d,this[_0x165b04(0x366)]=_0x3f977b,this['_commandService']=_0x3b08b3,this[_0x165b04(0x3e4)]=_0x322b74,_0x404603?_0x404603==null||_0x404603[_0x165b04(0x35b)]()[_0x165b04(0x3bd)](()=>this[_0x165b04(0x3d9)]()):(this[_0x165b04(0x366)][_0x165b04(0x334)](_0x165b04(0x306),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x3cb5c4=_0x394340,_0x39efae=this['_urlService']['getParam']('unit'),_0x3b0024=this[_0x3cb5c4(0x262)][_0x3cb5c4(0x3fc)](_0x3cb5c4(0x32a)),_0x111514=this[_0x3cb5c4(0x262)][_0x3cb5c4(0x3fc)]('subunit');if(!_0x39efae||!_0x3b0024){this[_0x3cb5c4(0x366)]['debug'](_0x3cb5c4(0x306),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xaea648=await this[_0x3cb5c4(0x3e4)][_0x3cb5c4(0x1d7)](_0x39efae,Number(_0x3b0024),_0x111514);_0xaea648&&_0xaea648 instanceof _0x3eca60['Workbook']&&this[_0x3cb5c4(0x257)](_0xaea648);}async[_0x394340(0x257)](_0x407685){const _0x953ada=_0x394340;await this['_updateSubUnitFromURLParams'](_0x407685),_0x407685['activeSheet$'][_0x953ada(0x340)](_0x53026d[_0x953ada(0x2b4)](this[_0x953ada(0x344)]))[_0x953ada(0x270)](_0x2c6d7f=>{const _0x242c56=_0x953ada;_0x2c6d7f&&this[_0x242c56(0x2d5)](_0x2c6d7f);}),this['_urlService'][_0x953ada(0x308)][_0x953ada(0x340)](_0x53026d[_0x953ada(0x2b4)](this[_0x953ada(0x344)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x407685));}[_0x394340(0x2d5)](_0x4efdc8,_0xab0852=!0x1){const _0x2c4414=_0x394340,_0x155768=this[_0x2c4414(0x262)][_0x2c4414(0x3fc)](_0x2c4414(0x245));_0x4efdc8[_0x2c4414(0x1c7)]()!==_0x155768&&this['_urlService']['setParam'](_0x2c4414(0x245),_0x4efdc8[_0x2c4414(0x1c7)](),_0xab0852);}async[_0x394340(0x3c8)](_0x4687df){const _0x159378=_0x394340;var _0x2c1df4;const _0x3a9dad=this[_0x159378(0x262)][_0x159378(0x3fc)]('subunit');if(!_0x3a9dad||!_0x4687df[_0x159378(0x248)](_0x3a9dad)){const _0x74a6a8=_0x4687df[_0x159378(0x367)]()[0x0],_0x279655=_0x4687df[_0x159378(0x248)](_0x74a6a8);if(!_0x279655)return;this[_0x159378(0x2d5)](_0x279655,!0x0),await this[_0x159378(0x1ec)][_0x159378(0x3e8)](_0x1cd602[_0x159378(0x190)]['id'],{'unitId':_0x4687df[_0x159378(0x309)](),'subUnitId':_0x74a6a8});return;}((_0x2c1df4=_0x4687df['getActiveSheet']())==null?void 0x0:_0x2c1df4['getSheetId']())!==_0x3a9dad&&await this[_0x159378(0x1ec)][_0x159378(0x3e8)](_0x1cd602['SetWorksheetActivateCommand']['id'],{'unitId':_0x4687df[_0x159378(0x309)](),'subUnitId':_0x3a9dad});}},_0x4a6788[_0x394340(0x3a6)]=_0x188117([_0x927837(0x0,_0xf95d88),_0x927837(0x1,_0x3eca60[_0x394340(0x346)]),_0x927837(0x2,_0x3eca60['ICommandService']),_0x927837(0x3,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f[_0x394340(0x36b)])),_0x927837(0x4,_0x3eca60[_0x394340(0x1df)](_0x4f36bd[_0x394340(0x174)]))],_0x4a6788[_0x394340(0x3a6)]);var _0x1f82e9=Object[_0x394340(0x1ee)],_0x5148cd=(_0x3c3785,_0x553b31,_0x52d0fb,_0xe4cb4c)=>{const _0x466c24=_0x394340;for(var _0x2d1585=_0xe4cb4c>0x1?void 0x0:_0xe4cb4c?_0x1f82e9(_0x553b31,_0x52d0fb):_0x553b31,_0x354a26=_0x3c3785[_0x466c24(0x403)]-0x1,_0x2ee013;_0x354a26>=0x0;_0x354a26--)(_0x2ee013=_0x3c3785[_0x354a26])&&(_0x2d1585=_0x2ee013(_0x2d1585)||_0x2d1585);return _0x2d1585;},_0xdeab42=(_0x5aef27,_0x38d6b0)=>(_0x51fb2e,_0xa9555f)=>_0x38d6b0(_0x51fb2e,_0xa9555f,_0x5aef27);let _0x55f584=class{constructor(_0x3fe3eb,_0x130962,_0x507a21){const _0x341746=_0x394340;this[_0x341746(0x1e9)]=_0x3fe3eb,this['_transformService']=_0x130962,this[_0x341746(0x27a)]=_0x507a21;}[_0x394340(0x244)](_0x1eb1f7){const _0x5d082b=_0x394340;this[_0x5d082b(0x384)](_0x1eb1f7),this[_0x5d082b(0x35c)](_0x1eb1f7);}[_0x394340(0x23c)](_0x4d01e6){const _0x558582=_0x394340,{unitID:_0x3141dc}=_0x4d01e6,_0x455463=this[_0x558582(0x27a)]['getRenderById'](_0x3141dc)[_0x558582(0x26a)](_0x2836fd[_0x558582(0x1f2)]),{redoCache:_0x48d640}=_0x455463[_0x558582(0x2f4)]();if(_0x48d640[_0x558582(0x403)]===0x0)return _0x4d01e6;let _0x3fdaab=_0x3eca60[_0x558582(0x3f9)][_0x558582(0x2fe)](_0x4d01e6[_0x558582(0x1cd)][0x0]);for(let _0x4c9c2b=0x0;_0x4c9c2b<_0x48d640[_0x558582(0x403)];_0x4c9c2b++){const _0x233611={'id':'doc.mutation.rich-text-editing','params':{..._0x48d640[_0x4c9c2b]}},_0x316b73=this[_0x558582(0x1a5)]['transformMutation'](_0x3fdaab,_0x233611,!0x1);if(_0x3a2116[_0x558582(0x2dc)](_0x316b73))throw _0x316b73[_0x558582(0x31d)];_0x3fdaab=_0x316b73['m1Prime'];}return{..._0x3eca60['Tools'][_0x558582(0x2fe)](_0x4d01e6),'mutations':[_0x3fdaab]};}[_0x394340(0x384)](_0x2aef02){const _0x449def=_0x394340,{unitID:_0xb92f0a}=_0x2aef02,_0x58a17b=this[_0x449def(0x27a)][_0x449def(0x294)](_0xb92f0a)[_0x449def(0x26a)](_0x2836fd[_0x449def(0x1f2)]),{undoCache:_0x1513a1,redoCache:_0x301943}=_0x58a17b[_0x449def(0x2f4)]();if(_0x1513a1[_0x449def(0x403)]===0x0||_0x301943[_0x449def(0x403)]===0x0)return;const _0x3b7582=[],_0x480af4=[];let _0xa47e6c=_0x3eca60[_0x449def(0x3f9)][_0x449def(0x2fe)](_0x2aef02[_0x449def(0x1cd)][0x0]),_0x1102a3=_0x3eca60[_0x449def(0x3f9)][_0x449def(0x2fe)](_0x2aef02['mutations'][0x0]);for(let _0x209b4a=_0x1513a1['length']-0x1;_0x209b4a>=0x0;_0x209b4a--){const _0x23bdd3={'id':_0x449def(0x3f7),'params':{..._0x1513a1[_0x209b4a]}},_0x124905={'id':_0x449def(0x3f7),'params':{..._0x301943[_0x209b4a]}},_0x174e3f=this[_0x449def(0x1a5)][_0x449def(0x253)](_0xa47e6c,_0x23bdd3,!0x1),_0x890237=this['_transformService'][_0x449def(0x253)](_0x1102a3,_0x124905,!0x1);if(_0x3a2116['isTransformMutationFailure'](_0x174e3f))throw _0x174e3f[_0x449def(0x31d)];if(_0x3a2116[_0x449def(0x2dc)](_0x890237))throw _0x890237[_0x449def(0x31d)];_0x3b7582['unshift'](_0x174e3f['m2Prime'][_0x449def(0x18f)]),_0x480af4[_0x449def(0x265)](_0x890237[_0x449def(0x272)]['params']),_0xa47e6c=_0x174e3f[_0x449def(0x2bb)],_0x1102a3=_0x890237[_0x449def(0x2bb)];}_0x58a17b[_0x449def(0x3dc)]({'undoCache':_0x3b7582,'redoCache':_0x480af4});}['_transformPreviousActiveRange'](_0x3599be){const _0x1b01c6=_0x394340,{unitID:_0x37de50}=_0x3599be,_0x1a1e57=this['_renderManagerService'][_0x1b01c6(0x294)](_0x37de50)[_0x1b01c6(0x26a)](_0x2836fd[_0x1b01c6(0x1f2)]),_0x26c254=_0x1a1e57['getActiveRange']();if(_0x26c254==null)return;const _0xeb027e=[{'id':_0x1b01c6(0x3f7),'params':{'unitId':_0x3599be[_0x1b01c6(0x38d)],'actions':null,'textRanges':[_0x26c254]}}],_0xbfa05e=this[_0x1b01c6(0x1a5)][_0x1b01c6(0x290)](_0x3599be,_0xeb027e);if(!_0x3a2116['isTransformMutationsWithChangesetSuccess'](_0xbfa05e))throw _0xbfa05e[_0x1b01c6(0x31d)];const _0x188286=_0xbfa05e[_0x1b01c6(0x272)][0x0][_0x1b01c6(0x18f)]['textRanges'];Array[_0x1b01c6(0x3d8)](_0x188286)&&_0x188286[_0x1b01c6(0x403)]&&_0x1a1e57[_0x1b01c6(0x1e4)](_0x188286[0x0]);}};_0x55f584=_0x5148cd([_0xdeab42(0x0,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0xdeab42(0x1,_0x3a2116[_0x394340(0x21f)]),_0xdeab42(0x2,_0x4bf546[_0x394340(0x34c)])],_0x55f584);var _0xb6beb8=Object[_0x394340(0x1ee)],_0x2c5299=(_0x182392,_0x452e86,_0x13e45c,_0x29262e)=>{const _0x3f684f=_0x394340;for(var _0x551ba3=_0x29262e>0x1?void 0x0:_0x29262e?_0xb6beb8(_0x452e86,_0x13e45c):_0x452e86,_0x23b017=_0x182392[_0x3f684f(0x403)]-0x1,_0x27df97;_0x23b017>=0x0;_0x23b017--)(_0x27df97=_0x182392[_0x23b017])&&(_0x551ba3=_0x27df97(_0x551ba3)||_0x551ba3);return _0x551ba3;},_0x89418a=(_0xa54912,_0x5dbfa1)=>(_0x1b5837,_0x523478)=>_0x5dbfa1(_0x1b5837,_0x523478,_0xa54912);let _0x1fda78=class{constructor(_0x5f015d,_0xaa3fa3,_0x44671b){const _0x4e66e8=_0x394340;this['_injector']=_0x5f015d,this['_transformService']=_0xaa3fa3,this[_0x4e66e8(0x1c1)]=_0x44671b;}[_0x394340(0x313)](_0x3e990e){const _0x57128e=_0x394340;this[_0x57128e(0x18c)](_0x3e990e);}[_0x394340(0x23c)](_0x3247df){const _0x2d72f9=_0x394340,{unitID:_0x1097e3}=_0x3247df,{collaboration:_0x5500cf}=this['_docStateChangeManagerService']['getStateCache'](_0x1097e3);if(_0x5500cf[_0x2d72f9(0x403)]===0x0)return _0x3247df;let _0xf14c22=_0x3eca60['Tools'][_0x2d72f9(0x2fe)](_0x3247df['mutations'][0x0]);for(let _0x606aeb=0x0;_0x606aeb<_0x5500cf[_0x2d72f9(0x403)];_0x606aeb++){const _0x4cb52a={'id':_0x2d72f9(0x3f7),'params':{'unitId':_0x5500cf[_0x606aeb][_0x2d72f9(0x286)],..._0x5500cf[_0x606aeb][_0x2d72f9(0x211)]}},_0x339a92=this[_0x2d72f9(0x1a5)][_0x2d72f9(0x253)](_0xf14c22,_0x4cb52a,!0x1);if(_0x3a2116[_0x2d72f9(0x2dc)](_0x339a92))throw _0x339a92[_0x2d72f9(0x31d)];_0xf14c22=_0x339a92['m1Prime'];}return{..._0x3eca60[_0x2d72f9(0x3f9)][_0x2d72f9(0x2fe)](_0x3247df),'mutations':[_0xf14c22]};}[_0x394340(0x18c)](_0x15227e){const _0x738f5a=_0x394340,{unitID:_0x21e4aa}=_0x15227e,{history:_0x10feca,collaboration:_0x27f329}=this['_docStateChangeManagerService'][_0x738f5a(0x2be)](_0x21e4aa);if(_0x10feca[_0x738f5a(0x403)]===0x0&&_0x27f329['length']===0x0)return;const _0x21f806=[],_0x36bd40=[];let _0x441cb9=_0x3eca60[_0x738f5a(0x3f9)][_0x738f5a(0x2fe)](_0x15227e[_0x738f5a(0x1cd)][0x0]),_0x3f74be=_0x3eca60[_0x738f5a(0x3f9)][_0x738f5a(0x2fe)](_0x15227e[_0x738f5a(0x1cd)][0x0]);for(let _0x29d952=_0x10feca[_0x738f5a(0x403)]-0x1;_0x29d952>=0x0;_0x29d952--){const _0x3e85ca={'id':_0x738f5a(0x3f7),'params':{'unitId':_0x10feca[_0x29d952][_0x738f5a(0x286)],..._0x10feca[_0x29d952][_0x738f5a(0x192)]}},_0xac17f2={'id':_0x738f5a(0x3f7),'params':{'unitId':_0x10feca[_0x29d952]['unitId'],..._0x10feca[_0x29d952][_0x738f5a(0x211)]}},_0x4b1a36=this['_transformService'][_0x738f5a(0x253)](_0x441cb9,_0x3e85ca,!0x1),_0x557c2b=this['_transformService'][_0x738f5a(0x253)](_0x3f74be,_0xac17f2,!0x1);if(_0x3a2116[_0x738f5a(0x2dc)](_0x4b1a36))throw _0x4b1a36[_0x738f5a(0x31d)];if(_0x3a2116[_0x738f5a(0x2dc)](_0x557c2b))throw _0x557c2b['error'];_0x21f806[_0x738f5a(0x265)]({..._0x10feca[_0x29d952],'undoState':_0x4b1a36[_0x738f5a(0x272)][_0x738f5a(0x18f)],'redoState':_0x557c2b[_0x738f5a(0x272)][_0x738f5a(0x18f)]}),_0x441cb9=_0x4b1a36[_0x738f5a(0x2bb)],_0x3f74be=_0x557c2b['m1Prime'];}_0x441cb9=_0x3eca60[_0x738f5a(0x3f9)][_0x738f5a(0x2fe)](_0x15227e['mutations'][0x0]),_0x3f74be=_0x3eca60['Tools'][_0x738f5a(0x2fe)](_0x15227e[_0x738f5a(0x1cd)][0x0]);for(let _0x3701dd=_0x27f329['length']-0x1;_0x3701dd>=0x0;_0x3701dd--){const _0x21eb38={'id':_0x738f5a(0x3f7),'params':{'unitId':_0x27f329[_0x3701dd]['unitId'],..._0x27f329[_0x3701dd][_0x738f5a(0x192)]}},_0x2dafe6={'id':_0x738f5a(0x3f7),'params':{'unitId':_0x27f329[_0x3701dd]['unitId'],..._0x27f329[_0x3701dd][_0x738f5a(0x211)]}},_0x2e5395=this[_0x738f5a(0x1a5)]['transformMutation'](_0x441cb9,_0x21eb38,!0x1),_0x376f47=this[_0x738f5a(0x1a5)][_0x738f5a(0x253)](_0x3f74be,_0x2dafe6,!0x1);if(_0x3a2116[_0x738f5a(0x2dc)](_0x2e5395))throw _0x2e5395['error'];if(_0x3a2116[_0x738f5a(0x2dc)](_0x376f47))throw _0x376f47['error'];_0x36bd40['unshift']({..._0x27f329[_0x3701dd],'undoState':_0x2e5395[_0x738f5a(0x272)][_0x738f5a(0x18f)],'redoState':_0x376f47[_0x738f5a(0x272)]['params']}),_0x441cb9=_0x2e5395['m1Prime'],_0x3f74be=_0x376f47[_0x738f5a(0x2bb)];}this[_0x738f5a(0x1c1)][_0x738f5a(0x2bd)](_0x21e4aa,{'history':_0x21f806,'collaboration':_0x36bd40});}};_0x1fda78=_0x2c5299([_0x89418a(0x0,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x89418a(0x1,_0x3a2116[_0x394340(0x21f)]),_0x89418a(0x2,_0x3eca60['Inject'](_0x2836fd['DocStateChangeManagerService']))],_0x1fda78);var _0x26e0b=Object[_0x394340(0x1ee)],_0x252341=(_0x20f17d,_0x57d327,_0x81a548,_0x2cef31)=>{const _0x53fdaf=_0x394340;for(var _0x1f542e=_0x2cef31>0x1?void 0x0:_0x2cef31?_0x26e0b(_0x57d327,_0x81a548):_0x57d327,_0x574c50=_0x20f17d[_0x53fdaf(0x403)]-0x1,_0x212e01;_0x574c50>=0x0;_0x574c50--)(_0x212e01=_0x20f17d[_0x574c50])&&(_0x1f542e=_0x212e01(_0x1f542e)||_0x1f542e);return _0x1f542e;},_0x201d85=(_0x17f265,_0x42ca3d)=>(_0xc49b75,_0x276035)=>_0x42ca3d(_0xc49b75,_0x276035,_0x17f265);let _0x593fd=class{constructor(_0x4d94fb,_0x565c47){const _0x1e068c=_0x394340;this[_0x1e068c(0x1e9)]=_0x4d94fb,this[_0x1e068c(0x1a5)]=_0x565c47;}['transformSelections'](_0x32d7cb){const _0x2ccb00=_0x394340;var _0x33c3ad;const _0x5827c8=this[_0x2ccb00(0x1e9)][_0x2ccb00(0x202)](_0x29518c[_0x2ccb00(0x335)]),_0x4c8ec6=(_0x33c3ad=_0x5827c8['getDocRanges']())!=null?_0x33c3ad:[];if(_0x4c8ec6[_0x2ccb00(0x403)]===0x0)return;const _0x5d2d09=_0x32d7cb[_0x2ccb00(0x38d)],_0x259501=[{'id':_0x2ccb00(0x3f7),'params':{'unitId':_0x5d2d09,'actions':null,'textRanges':_0x4c8ec6}}],_0x147c9e=this[_0x2ccb00(0x1a5)]['transformMutationsWithChangeset'](_0x32d7cb,_0x259501);if(!_0x3a2116[_0x2ccb00(0x274)](_0x147c9e))throw _0x147c9e[_0x2ccb00(0x31d)];const _0x6067d4=_0x147c9e[_0x2ccb00(0x272)][0x0][_0x2ccb00(0x18f)]['textRanges'];Array['isArray'](_0x6067d4)&&_0x6067d4['length']&&_0x5827c8[_0x2ccb00(0x180)](_0x6067d4,{'unitId':_0x5d2d09,'subUnitId':_0x5d2d09},!0x1);}};_0x593fd=_0x252341([_0x201d85(0x0,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x201d85(0x1,_0x3a2116['ITransformService'])],_0x593fd);var _0x54853e=Object[_0x394340(0x1ee)],_0x22a058=(_0x472dbd,_0x4e87e7,_0xeb0368,_0x13a37c)=>{const _0x53d48f=_0x394340;for(var _0x332eea=_0x13a37c>0x1?void 0x0:_0x13a37c?_0x54853e(_0x4e87e7,_0xeb0368):_0x4e87e7,_0x3b96e9=_0x472dbd[_0x53d48f(0x403)]-0x1,_0x4ee4d4;_0x3b96e9>=0x0;_0x3b96e9--)(_0x4ee4d4=_0x472dbd[_0x3b96e9])&&(_0x332eea=_0x4ee4d4(_0x332eea)||_0x332eea);return _0x332eea;},_0x5e752a=(_0x3f5a49,_0x496a60)=>(_0x5dc32f,_0x52fdf2)=>_0x496a60(_0x5dc32f,_0x52fdf2,_0x3f5a49);let _0x297ec5=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0x491c8b,_0x5275bb,_0x5d1695,_0x147372,_0x145816,_0x1dd22a,_0x1563ba,_0x4044f7){const _0x425836=_0x394340;super(),_0x304002(this,_0x425836(0x3ec),new _0x53026d[(_0x425836(0x323))](_0xcdca2f[_0x425836(0x2b5)][_0x425836(0x1b2)])),(this['_docStateChangeManagerService']=_0x491c8b,this[_0x425836(0x2ae)]=_0x5275bb,this[_0x425836(0x2af)]=_0x5d1695,this[_0x425836(0x3dd)]=_0x147372,this[_0x425836(0x402)]=_0x145816,this[_0x425836(0x2da)]=_0x1dd22a,this[_0x425836(0x353)]=_0x1563ba,this[_0x425836(0x33e)]=_0x4044f7,this[_0x425836(0x1a3)]());}[_0x394340(0x1a3)](){const _0x2dee05=_0x394340;this['disposeWithMe'](this[_0x2dee05(0x2ae)][_0x2dee05(0x2ac)]['subscribe'](_0x8e4426=>{const _0x44596a=_0x2dee05,_0x1be41e=this[_0x44596a(0x1c1)][_0x44596a(0x199)]['subscribe'](_0x35e530=>{const _0x4cd53f=_0x44596a;if(_0x35e530==null)return;const {unitId:_0x8b21c9,redoState:_0x55172b,commandId:_0x3206ed}=_0x35e530;if(_0x8b21c9!==_0x8e4426['unitID'])return;const _0x4a4cc6={'id':_0x3206ed,'type':_0x3eca60[_0x4cd53f(0x310)][_0x4cd53f(0x203)],'params':{'unitId':_0x8b21c9,'actions':_0x55172b['actions'],'textRanges':null}};_0x8e4426[_0x4cd53f(0x298)](_0x4a4cc6);});if(_0x8e4426[_0x44596a(0x380)](_0x1be41e),_0x8e4426 instanceof _0xcdca2f[_0x44596a(0x3d0)]){const _0x28b6e1={'onTransformIME':_0x584211=>this['_docTransformIMECacheService'][_0x44596a(0x244)](_0x584211),'onTransformState':_0x16f0c4=>this['_docTransformStateCacheService']['transformStateCache'](_0x16f0c4),'onTransformSelections':_0x484f83=>this[_0x44596a(0x402)][_0x44596a(0x314)](_0x484f83),'onSyncEditingCollabCursor':_0x4506ca=>this[_0x44596a(0x2da)]['syncEditingCollabCursor'](_0x4506ca),'onTransformRemoteChangesetByIMECache':_0x3948fe=>this[_0x44596a(0x2af)][_0x44596a(0x23c)](_0x3948fe),'onTransformRemoteChangesetByStateCache':_0x2ba1f6=>this[_0x44596a(0x3dd)][_0x44596a(0x23c)](_0x2ba1f6)};_0x8e4426[_0x44596a(0x332)](_0x28b6e1);}}));}};_0x297ec5=_0x22a058([_0x5e752a(0x0,_0x3eca60[_0x394340(0x2b8)](_0x2836fd[_0x394340(0x2e7)])),_0x5e752a(0x1,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f[_0x394340(0x22a)])),_0x5e752a(0x2,_0x3eca60[_0x394340(0x2b8)](_0x55f584)),_0x5e752a(0x3,_0x3eca60[_0x394340(0x2b8)](_0x1fda78)),_0x5e752a(0x4,_0x3eca60[_0x394340(0x2b8)](_0x593fd)),_0x5e752a(0x5,_0x3eca60[_0x394340(0x2b8)](_0x61e25f)),_0x5e752a(0x6,_0x3879ce[_0x394340(0x247)]),_0x5e752a(0x7,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x2df)]))],_0x297ec5);var _0x3f49e9=Object[_0x394340(0x1ee)],_0xe0a0dd=(_0x3c99d8,_0x3dc2df,_0x414147,_0x201069)=>{const _0x4198cf=_0x394340;for(var _0xb6e46f=_0x201069>0x1?void 0x0:_0x201069?_0x3f49e9(_0x3dc2df,_0x414147):_0x3dc2df,_0x28da21=_0x3c99d8[_0x4198cf(0x403)]-0x1,_0x266016;_0x28da21>=0x0;_0x28da21--)(_0x266016=_0x3c99d8[_0x28da21])&&(_0xb6e46f=_0x266016(_0xb6e46f)||_0xb6e46f);return _0xb6e46f;},_0x47707c=(_0x2d096d,_0x3c5722)=>(_0x911992,_0x144c58)=>_0x3c5722(_0x911992,_0x144c58,_0x2d096d);let _0x3a92e3=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0x2fe826,_0x15e9e3,_0x456f49){const _0x1e809d=_0x394340;super(),_0x304002(this,_0x1e809d(0x176),new Map()),_0x304002(this,_0x1e809d(0x172),new Map()),_0x304002(this,_0x1e809d(0x357),!0x1),(this[_0x1e809d(0x2ba)]=_0x2fe826,this['_localStorageService']=_0x15e9e3,this['_revisionService']=_0x456f49);}[_0x394340(0x32f)](){const _0xf4faaa=_0x394340;this[_0xf4faaa(0x357)]=!0x0;}[_0x394340(0x2ed)](){const _0x1e7d2e=_0x394340;this[_0x1e7d2e(0x357)]=!0x1;}get['saveTaskMap'](){const _0x19713f=_0x394340;return this[_0x19713f(0x172)];}['dispose'](){const _0x22e4fa=_0x394340;this['exhaustSavingTask']()[_0x22e4fa(0x3bd)](()=>super['dispose']());}async[_0x394340(0x3e1)](_0x500afa){const _0x32223c=_0x394340;return this['_disabled']?null:this[_0x32223c(0x37d)][_0x32223c(0x1c2)](_0xcdca2f[_0x32223c(0x3db)](_0x500afa));}async[_0x394340(0x3f2)](_0x5731c7,_0x4bb54e){const _0x396c07=_0x394340;return!!this[_0x396c07(0x37d)][_0x396c07(0x222)](_0x5731c7,_0x4bb54e);}[_0x394340(0x3ad)](_0x284304,_0x4e6f86,_0x175cec,_0x4e71f4){const _0x2074e2=_0x394340,_0x1bd239=this['_revisionService'][_0x2074e2(0x3b5)](_0x284304);this[_0x2074e2(0x176)]['set'](_0x284304,{'unitID':_0x284304,'type':_0x4e6f86,'awaitingChangeset':_0x175cec,'mutations':_0x4e71f4,'rev':_0x1bd239}),this['_saveTaskMap'][_0x2074e2(0x32c)](_0x284304)||this[_0x2074e2(0x2e4)](_0x284304);}['_scheduleSaving'](_0x276de9){const _0x5afe52=_0x394340,_0x578149=this['_getSaveTimeout']();_0x578149===0x0?this[_0x5afe52(0x401)](_0x276de9):this[_0x5afe52(0x172)][_0x5afe52(0x175)](_0x276de9,setTimeout(()=>this['_saveCache'](_0x276de9),_0x578149));}['_getSaveTimeout'](){const _0x2a534f=_0x394340;var _0x22dc18;return(_0x22dc18=this[_0x2a534f(0x2ba)][_0x2a534f(0x191)](_0xcdca2f[_0x2a534f(0x252)]))!=null?_0x22dc18:_0xcdca2f[_0x2a534f(0x228)];}[_0x394340(0x401)](_0x3f3c70){const _0x518056=_0x394340,_0x103444=this[_0x518056(0x172)][_0x518056(0x202)](_0x3f3c70);return _0x103444!==void 0x0&&window['clearTimeout'](_0x103444),this[_0x518056(0x37d)][_0x518056(0x222)](_0xcdca2f[_0x518056(0x3db)](_0x3f3c70),this[_0x518056(0x176)][_0x518056(0x202)](_0x3f3c70))['then'](()=>this[_0x518056(0x172)][_0x518056(0x35e)](_0x3f3c70));}async[_0x394340(0x3cb)](){const _0x557813=_0x394340,_0x393dbb=[];this[_0x557813(0x172)][_0x557813(0x2d8)]((_0x5f235e,_0x4e7452)=>{const _0x1999c5=_0x557813;window[_0x1999c5(0x1d1)](_0x5f235e),_0x393dbb[_0x1999c5(0x2c5)](this[_0x1999c5(0x401)](_0x4e7452)[_0x1999c5(0x3bd)](()=>{const _0x2ad93f=_0x1999c5;this[_0x2ad93f(0x172)][_0x2ad93f(0x35e)](_0x4e7452);}));}),await Promise[_0x557813(0x3b8)](_0x393dbb);}};_0x3a92e3=_0xe0a0dd([_0x47707c(0x0,_0x3eca60[_0x394340(0x2ab)]),_0x47707c(0x1,_0x3eca60[_0x394340(0x379)]),_0x47707c(0x2,_0x3eca60[_0x394340(0x2b8)](_0x3a2116[_0x394340(0x392)]))],_0x3a92e3);class _0x374a1 extends _0x3eca60[_0x394340(0x28d)]{constructor(){const _0xcb2936=_0x394340;super(),_0x304002(this,_0xcb2936(0x308)),this[_0xcb2936(0x308)]=_0x53026d[_0xcb2936(0x3b2)](window,'popstate')[_0xcb2936(0x340)](_0x53026d[_0xcb2936(0x2b4)](this[_0xcb2936(0x344)]),_0x53026d[_0xcb2936(0x217)](0x1),_0x53026d[_0xcb2936(0x2c4)](void 0x0));}[_0x394340(0x1ea)](_0x896d36,_0x4f681f,_0x40931a=!0x1){const _0x1d9e42=_0x394340,_0x1466a2=new URL(window[_0x1d9e42(0x268)][_0x1d9e42(0x16d)]);_0x1466a2[_0x1d9e42(0x377)]['set'](_0x896d36,_0x4f681f),_0x40931a?window[_0x1d9e42(0x1f3)][_0x1d9e42(0x39f)]('','',_0x1466a2[_0x1d9e42(0x1bf)]()):window[_0x1d9e42(0x1f3)][_0x1d9e42(0x2bf)]('','',_0x1466a2[_0x1d9e42(0x1bf)]());}[_0x394340(0x261)](_0x2cd08d,_0x5794a0=!0x1){const _0x222162=_0x394340,_0x3e0dc1=new URL(window[_0x222162(0x268)][_0x222162(0x16d)]);_0x3e0dc1[_0x222162(0x377)][_0x222162(0x35e)](_0x2cd08d),_0x5794a0?window[_0x222162(0x1f3)][_0x222162(0x39f)]('','',_0x3e0dc1[_0x222162(0x1bf)]()):window[_0x222162(0x1f3)][_0x222162(0x2bf)]('','',_0x3e0dc1['toString']());}[_0x394340(0x3fc)](_0x489970){const _0x5aa586=_0x394340;var _0x8ad555;return(_0x8ad555=new URL(window[_0x5aa586(0x268)][_0x5aa586(0x16d)])[_0x5aa586(0x377)]['get'](_0x489970))!=null?_0x8ad555:void 0x0;}}var _0x5271aa=Object[_0x394340(0x185)],_0x4f8e97=Object['getOwnPropertyDescriptor'],_0x595581=(_0x35e4bc,_0x5723c2,_0xd4a052)=>_0x5723c2 in _0x35e4bc?_0x5271aa(_0x35e4bc,_0x5723c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd4a052}):_0x35e4bc[_0x5723c2]=_0xd4a052,_0x47b5d1=(_0x128d0c,_0x542b7d,_0x345f10,_0x22abbb)=>{const _0x1c2305=_0x394340;for(var _0x1a2d66=_0x22abbb>0x1?void 0x0:_0x22abbb?_0x4f8e97(_0x542b7d,_0x345f10):_0x542b7d,_0x66135a=_0x128d0c[_0x1c2305(0x403)]-0x1,_0xfd9c1c;_0x66135a>=0x0;_0x66135a--)(_0xfd9c1c=_0x128d0c[_0x66135a])&&(_0x1a2d66=_0xfd9c1c(_0x1a2d66)||_0x1a2d66);return _0x1a2d66;},_0x1b27d4=(_0x197b5e,_0x37045e)=>(_0x2b022f,_0x2fd9b9)=>_0x37045e(_0x2b022f,_0x2fd9b9,_0x197b5e),_0x4e41f5=(_0x4a2315,_0x160fc4,_0x3cf567)=>_0x595581(_0x4a2315,_0x160fc4+'',_0x3cf567);const _0xf9d35a=_0x394340(0x400);_0x4a6788['UniverCollaborationClientUIPlugin']=class extends _0x3eca60[_0x394340(0x18a)]{constructor(_0xabdcd7=_0x362a05,_0x280da8,_0x3df074,_0x18245c){const _0x14cc6c=_0x394340;super(),this[_0x14cc6c(0x38a)]=_0xabdcd7,this['_renderManagerService']=_0x280da8,this[_0x14cc6c(0x1e9)]=_0x3df074,this[_0x14cc6c(0x2ba)]=_0x18245c;const {..._0x4e38ac}=_0x3eca60['merge']({},_0x362a05,this[_0x14cc6c(0x38a)]);this[_0x14cc6c(0x2ba)][_0x14cc6c(0x1a2)](_0x21e8d6,_0x4e38ac);}[_0x394340(0x2e0)](){const _0x23f27a=_0x394340;this[_0x23f27a(0x299)](),this[_0x23f27a(0x16b)]();}[_0x394340(0x178)](){const _0x376e50=_0x394340;this[_0x376e50(0x381)]();}[_0x394340(0x299)](){const _0x2e6b07=_0x394340;var _0x416a0e;const _0x55f5f9=[[_0x769350],[_0x593fd],[_0x55f584],[_0x1fda78],[_0x61e25f],[_0xf95d88,{'useClass':_0x374a1}],[_0xb9bcc5[_0x2e6b07(0x1d8)],{'useClass':_0xb9bcc5[_0x2e6b07(0x3d6)]}],[_0xcdca2f[_0x2e6b07(0x1fc)],{'useClass':_0x3a92e3}],[_0x4a6788[_0x2e6b07(0x2b7)]],[_0x297ec5],[_0x5a5087],[_0x50fe84],[_0x238644],[_0x4a6788[_0x2e6b07(0x3a6)]]];_0x3eca60[_0x2e6b07(0x2e2)](this['_injector'],_0x3eca60[_0x2e6b07(0x3c4)](_0x55f5f9,(_0x416a0e=this[_0x2e6b07(0x38a)])==null?void 0x0:_0x416a0e[_0x2e6b07(0x17f)]));}['_registerRenderDependencies'](){const _0x25a277=_0x394340;this[_0x25a277(0x380)](this[_0x25a277(0x27a)][_0x25a277(0x386)](_0x3eca60['UniverInstanceType'][_0x25a277(0x2b3)],[_0x462670])),this[_0x25a277(0x380)](this['_renderManagerService'][_0x25a277(0x386)](_0x3eca60[_0x25a277(0x258)][_0x25a277(0x35d)],[_0x2af5a9]));}['_initDependencies'](){const _0x9c2f29=_0x394340;_0x3eca60[_0x9c2f29(0x1fd)](this['_injector'],[[_0x50fe84],[_0x4a6788[_0x9c2f29(0x2b7)]],[_0x297ec5],[_0x5a5087],[_0x4a6788['CollaborationDataLoaderController']]]);}},_0x4e41f5(_0x4a6788[_0x394340(0x360)],'pluginName',_0xf9d35a),_0x4a6788[_0x394340(0x360)]=_0x47b5d1([_0x3eca60[_0x394340(0x358)](_0xcdca2f[_0x394340(0x3c6)]),_0x1b27d4(0x1,_0x4bf546[_0x394340(0x34c)]),_0x1b27d4(0x2,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x1b27d4(0x3,_0x3eca60[_0x394340(0x2ab)])],_0x4a6788['UniverCollaborationClientUIPlugin']);var _0x77b1d=Object[_0x394340(0x1ee)],_0x1b72b8=(_0x18666c,_0x745054,_0x15e495,_0x183315)=>{const _0x26dde8=_0x394340;for(var _0x15e05e=_0x183315>0x1?void 0x0:_0x183315?_0x77b1d(_0x745054,_0x15e495):_0x745054,_0x3c9a43=_0x18666c[_0x26dde8(0x403)]-0x1,_0x39b2fc;_0x3c9a43>=0x0;_0x3c9a43--)(_0x39b2fc=_0x18666c[_0x3c9a43])&&(_0x15e05e=_0x39b2fc(_0x15e05e)||_0x15e05e);return _0x15e05e;},_0x3a18d1=(_0x13cb2f,_0x32ab9f)=>(_0x5a3102,_0x44f846)=>_0x32ab9f(_0x5a3102,_0x44f846,_0x13cb2f);_0x4a6788[_0x394340(0x3e3)]=class extends _0xcdca2f[_0x394340(0x3c0)]{constructor(_0x1444bd,_0x50bc92,_0x12b9eb,_0x2cce5e,_0x2569f0){super(_0x1444bd,_0x50bc92,_0x12b9eb,_0x2cce5e,_0x2569f0);}async['createSocket'](_0x22c430){const _0x3c2fd7=_0x394340,_0x14e5ac=await this['_getSessionTicket'](),_0x11907d=this[_0x3c2fd7(0x1c6)](_0x22c430,_0x14e5ac);return this[_0x3c2fd7(0x26d)](_0x11907d);}[_0x394340(0x1c6)](_0x56c6e6,_0x3ef466){const _0x466298=_0x394340,_0x4e1608=typeof window>'u'?new URL(_0x56c6e6):new URL(_0x56c6e6,window[_0x466298(0x268)][_0x466298(0x1c3)]);_0x4e1608[_0x466298(0x377)][_0x466298(0x175)](_0x466298(0x27c),_0x3ef466);const _0x407484=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x466298(0x268)]['search']);return _0x407484[_0x466298(0x202)](_0x466298(0x208))&&_0x4e1608[_0x466298(0x377)][_0x466298(0x175)](_0x466298(0x208),_0x407484[_0x466298(0x202)](_0x466298(0x208))),_0x4e1608[_0x466298(0x1bf)]();}async['_getSessionTicket'](){const _0x28302d=_0x394340;var _0x3a2725,_0xf788a7,_0xf00b73;const _0x196a8e=this['_configService']['getConfig'](_0xcdca2f[_0x28302d(0x1ce)]),_0x7eaa69=(_0x3a2725=_0x196a8e==null?void 0x0:_0x196a8e[_0x28302d(0x226)])!=null?_0x3a2725:_0xcdca2f[_0x28302d(0x31a)];return(_0xf00b73=(_0xf788a7=(await this['_httpService'][_0x28302d(0x202)](_0x7eaa69,{'headers':{'Content-Type':'application/json'}}))[_0x28302d(0x269)])==null?void 0x0:_0xf788a7[_0x28302d(0x1ca)])!=null?_0xf00b73:'';}},_0x4a6788[_0x394340(0x3e3)]=_0x1b72b8([_0x3a18d1(0x0,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x3a18d1(0x1,_0x3eca60['Inject'](_0xb9bcc5['HTTPService'])),_0x3a18d1(0x2,_0x3eca60['IConfigService']),_0x3a18d1(0x3,_0x3eca60[_0x394340(0x346)]),_0x3a18d1(0x4,_0x3a2116[_0x394340(0x1c4)])],_0x4a6788['BrowserCollaborationSocketService']);const _0x57ee49=0x7530,_0xfc21bd='ACTIVE_UNIT_EVENT_CHANNEL';class _0x22c970 extends _0x3eca60['Disposable']{constructor(){const _0x225339=_0x394340;super(),_0x304002(this,_0x225339(0x266),_0x3eca60['generateRandomId']()),_0x304002(this,_0x225339(0x17a),new Set()),_0x304002(this,_0x225339(0x2c0),new Map()),_0x304002(this,_0x225339(0x3e7),null),_0x304002(this,_0x225339(0x317),new Map()),_0x304002(this,_0x225339(0x1a7),new Map()),this['_init']();}[_0x394340(0x33f)](){const _0x2d471e=_0x394340;super[_0x2d471e(0x33f)](),this[_0x2d471e(0x317)][_0x2d471e(0x2d8)]((_0x5e41c0,_0x52f600)=>this['_removeClearOtherTimer'](_0x52f600)),this[_0x2d471e(0x3e7)]&&window[_0x2d471e(0x2f2)](this[_0x2d471e(0x3e7)]);}['getUnitStatus$'](_0xfe074){const _0x5ca888=_0x394340;return this[_0x5ca888(0x3cc)](_0xfe074)[_0x5ca888(0x340)](_0x53026d['distinctUntilChanged']());}['editingUnit'](_0x504385){const _0x56cf25=_0x394340;this[_0x56cf25(0x17a)][_0x56cf25(0x281)]===0x0&&this['_scheduleHeartbeat'](),this[_0x56cf25(0x17a)]['add'](_0x504385),this[_0x56cf25(0x3c5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x504385],'isForwarded':!0x1});}['disposeUnit'](_0x5b51d3){const _0x55acf1=_0x394340;this[_0x55acf1(0x17a)][_0x55acf1(0x35e)](_0x5b51d3),this['_selfUnitIDs'][_0x55acf1(0x281)]===0x0&&this[_0x55acf1(0x3e7)]&&window['clearInterval'](this[_0x55acf1(0x3e7)]);}[_0x394340(0x3d9)](){const _0x237860=_0x394340;this[_0x237860(0x380)](_0x3eca60[_0x237860(0x243)](_0x53026d['fromEvent'](window,_0x237860(0x34e))[_0x237860(0x270)](_0x1ff46e=>{const _0x462403=_0x237860;if(_0x1ff46e[_0x462403(0x2ee)]!==_0xfc21bd||!_0x1ff46e['newValue'])return;const _0x3406ff=JSON['parse'](_0x1ff46e[_0x462403(0x238)]);this[_0x462403(0x311)](_0x3406ff);}))),window['addEventListener']('unload',()=>this[_0x237860(0x3c5)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x237860(0x1fb)](this[_0x237860(0x17a)])}));}[_0x394340(0x311)](_0x550cac){const _0x48c86e=_0x394340;switch(_0x550cac[_0x48c86e(0x32a)]){case 0x0:this[_0x48c86e(0x39d)](_0x550cac);break;case 0x1:this['_handleLeaveEvent'](_0x550cac);break;case 0x2:this['_handleHeartbeatEvent'](_0x550cac);break;}}[_0x394340(0x39d)](_0x163f5b){const _0x55c222=_0x394340,{unitIDs:_0x32d196,memberID:_0x67905e,isForwarded:_0x2c951c}=_0x163f5b;_0x32d196['forEach'](_0x9bcfc9=>{const _0x1b5f99=_0x1d5a;if(!_0x2c951c&&this[_0x1b5f99(0x2c0)]['has'](_0x9bcfc9)&&this['_ensureSubject'](_0x9bcfc9)[_0x1b5f99(0x275)](_0xcdca2f[_0x1b5f99(0x378)][_0x1b5f99(0x3d2)]),!this[_0x1b5f99(0x2c0)]['has'](_0x9bcfc9)||!this[_0x1b5f99(0x2c0)][_0x1b5f99(0x202)](_0x9bcfc9)['has'](_0x67905e)){const _0x335795=this[_0x1b5f99(0x2c0)]['get'](_0x9bcfc9)||new Set();_0x335795[_0x1b5f99(0x354)](_0x67905e),this[_0x1b5f99(0x2c0)][_0x1b5f99(0x175)](_0x9bcfc9,_0x335795),this[_0x1b5f99(0x1db)](_0x67905e);}}),_0x2c951c||this[_0x55c222(0x3c5)]({'type':0x0,'memberID':this[_0x55c222(0x266)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x394340(0x1db)](_0x2a0dfc){const _0x2e8474=_0x394340;this[_0x2e8474(0x2eb)](_0x2a0dfc);const _0x5a6f2a=window[_0x2e8474(0x201)](()=>{const _0x1dcb67=_0x2e8474;this['_unitOnClients'][_0x1dcb67(0x2d8)](_0x187cfe=>{const _0x1f40ee=_0x1dcb67;_0x187cfe[_0x1f40ee(0x35e)](_0x2a0dfc);});},_0x57ee49*0x2);this[_0x2e8474(0x317)][_0x2e8474(0x175)](_0x2a0dfc,_0x5a6f2a);}[_0x394340(0x2eb)](_0x36ed43){const _0x44e9f5=_0x394340;if(this[_0x44e9f5(0x317)][_0x44e9f5(0x32c)](_0x36ed43)){const _0x114b28=this[_0x44e9f5(0x317)][_0x44e9f5(0x202)](_0x36ed43);_0x114b28&&window[_0x44e9f5(0x1d1)](_0x114b28),this[_0x44e9f5(0x317)]['set'](_0x36ed43,null);}}[_0x394340(0x1b4)](_0x252e8b){const _0x1a7144=_0x394340,{memberID:_0x166d3b,unitIDs:_0x2f6016}=_0x252e8b;_0x2f6016[_0x1a7144(0x2d8)](_0x23536c=>{const _0x188fb=_0x1a7144;var _0x16394d;const _0x2cef92=this[_0x188fb(0x2c0)][_0x188fb(0x202)](_0x23536c);_0x2cef92&&(_0x2cef92[_0x188fb(0x35e)](_0x166d3b),(_0x16394d=this['_ensureSubject'](_0x23536c))==null||_0x16394d[_0x188fb(0x275)](_0x2cef92[_0x188fb(0x281)]===0x0?_0xcdca2f[_0x188fb(0x378)][_0x188fb(0x289)]:_0xcdca2f[_0x188fb(0x378)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x166d3b);}[_0x394340(0x207)](_0x524931){const _0x849e48=_0x394340;this[_0x849e48(0x1db)](_0x524931['memberID']);}[_0x394340(0x3c5)](_0x5a4fa2){const _0x2f7ef8=_0x394340;localStorage[_0x2f7ef8(0x222)](_0xfc21bd,JSON[_0x2f7ef8(0x2e1)](_0x5a4fa2));}[_0x394340(0x173)](){const _0x42eca1=_0x394340;this['_heartbeatTimer']=window[_0x42eca1(0x1ab)](()=>{const _0x3b86d2=_0x42eca1;this[_0x3b86d2(0x3c5)]({'type':0x2,'memberID':this['_id']});},_0x57ee49);}[_0x394340(0x3cc)](_0x1e076f){const _0x5538bc=_0x394340;return this[_0x5538bc(0x1a7)][_0x5538bc(0x32c)](_0x1e076f)||this[_0x5538bc(0x1a7)][_0x5538bc(0x175)](_0x1e076f,new _0x53026d['BehaviorSubject'](_0xcdca2f[_0x5538bc(0x378)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x5538bc(0x1a7)]['get'](_0x1e076f);}}var _0x517646=(_0x5b5061=>(_0x5b5061[_0x5b5061[_0x394340(0x30a)]=0x0]=_0x394340(0x30a),_0x5b5061[_0x5b5061['OK']=0x1]='OK',_0x5b5061[_0x5b5061['INTERNAL_ERROR']=0x2]=_0x394340(0x1da),_0x5b5061[_0x5b5061[_0x394340(0x2a8)]=0x3]=_0x394340(0x2a8),_0x5b5061[_0x5b5061[_0x394340(0x23f)]=0x4]=_0x394340(0x23f),_0x5b5061[_0x5b5061['UNAUTHENTICATED']=0x5]=_0x394340(0x240),_0x5b5061[_0x5b5061['ALREADY_EXISTS']=0x6]=_0x394340(0x38e),_0x5b5061[_0x5b5061[_0x394340(0x3fe)]=0x7]=_0x394340(0x3fe),_0x5b5061[_0x5b5061[_0x394340(0x24a)]=0x8]=_0x394340(0x24a),_0x5b5061[_0x5b5061[_0x394340(0x2f1)]=0x9]='COMPLETION_FINISHED',_0x5b5061[_0x5b5061[_0x394340(0x249)]=0xa]=_0x394340(0x249),_0x5b5061[_0x5b5061[_0x394340(0x37e)]=0x1389]=_0x394340(0x37e),_0x5b5061[_0x5b5061[_0x394340(0x38f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5b5061[_0x5b5061[_0x394340(0x406)]=0x1772]=_0x394340(0x406),_0x5b5061[_0x5b5061[_0x394340(0x1e6)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5b5061[_0x5b5061['APPLY_REJECT']=0x1b59]=_0x394340(0x283),_0x5b5061[_0x5b5061['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5b5061[_0x5b5061[_0x394340(0x2f7)]=0x1b5b]=_0x394340(0x2f7),_0x5b5061[_0x5b5061[_0x394340(0x319)]=0x1b5c]=_0x394340(0x319),_0x5b5061[_0x5b5061['APPLY_DUPLICATED']=0x1b5d]=_0x394340(0x18e),_0x5b5061[_0x5b5061[_0x394340(0x264)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5b5061[_0x5b5061[_0x394340(0x2cd)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5b5061[_0x5b5061[_0x394340(0x2b0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5b5061[_0x5b5061['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x394340(0x37a),_0x5b5061[_0x5b5061[_0x394340(0x214)]=0x232c]=_0x394340(0x214),_0x5b5061[_0x5b5061[_0x394340(0x242)]=0x232d]=_0x394340(0x242),_0x5b5061[_0x5b5061[_0x394340(0x32e)]=0x2711]=_0x394340(0x32e),_0x5b5061[_0x5b5061[_0x394340(0x16c)]=0x2712]=_0x394340(0x16c),_0x5b5061[_0x5b5061[_0x394340(0x24e)]=0x2713]=_0x394340(0x24e),_0x5b5061[_0x5b5061['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x394340(0x2db),_0x5b5061[_0x5b5061['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x394340(0x1e3),_0x5b5061[_0x5b5061[_0x394340(0x3f0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5b5061[_0x5b5061[_0x394340(0x376)]=0x271c]=_0x394340(0x376),_0x5b5061[_0x5b5061[_0x394340(0x233)]=0x271d]=_0x394340(0x233),_0x5b5061[_0x5b5061['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5b5061[_0x5b5061['YUUMI_AI_RUN_FAILED']=0x271f]=_0x394340(0x3c1),_0x5b5061[_0x5b5061['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5b5061[_0x5b5061[_0x394340(0x17d)]=0x2ee1]=_0x394340(0x17d),_0x5b5061[_0x5b5061[_0x394340(0x2ce)]=0x2ee2]='INVALID_INVITE_CODE',_0x5b5061[_0x5b5061[_0x394340(0x225)]=0x2ee3]=_0x394340(0x225),_0x5b5061[_0x5b5061[_0x394340(0x2a9)]=0x2ee4]=_0x394340(0x2a9),_0x5b5061[_0x5b5061['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x394340(0x3aa),_0x5b5061[_0x5b5061[_0x394340(0x1ba)]=0x32c9]=_0x394340(0x1ba),_0x5b5061[_0x5b5061[_0x394340(0x399)]=0x32ca]=_0x394340(0x399),_0x5b5061[_0x5b5061[_0x394340(0x3a2)]=0x32cb]=_0x394340(0x3a2),_0x5b5061[_0x5b5061[_0x394340(0x19e)]=-0x1]=_0x394340(0x19e),_0x5b5061))(_0x517646||{}),_0x1f4de3=Object['getOwnPropertyDescriptor'],_0x37727c=(_0xc80150,_0x56ffc0,_0x3539cb,_0x3b10d9)=>{const _0x4a26b0=_0x394340;for(var _0x2dffd9=_0x3b10d9>0x1?void 0x0:_0x3b10d9?_0x1f4de3(_0x56ffc0,_0x3539cb):_0x56ffc0,_0x4fa823=_0xc80150[_0x4a26b0(0x403)]-0x1,_0x12f8fd;_0x4fa823>=0x0;_0x4fa823--)(_0x12f8fd=_0xc80150[_0x4fa823])&&(_0x2dffd9=_0x12f8fd(_0x2dffd9)||_0x2dffd9);return _0x2dffd9;},_0x121e23=(_0x234e2d,_0x556e96)=>(_0x2d2646,_0x1871a8)=>_0x556e96(_0x2d2646,_0x1871a8,_0x234e2d);_0x4a6788[_0x394340(0x368)]=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0xb4aa20,_0x9b064d,_0x2d978f){const _0x200a2c=_0x394340;super(),this[_0x200a2c(0x3e2)]=_0xb4aa20,this[_0x200a2c(0x3f1)]=_0x9b064d,this[_0x200a2c(0x2ba)]=_0x2d978f;}async[_0x394340(0x29f)](_0x28f522,_0x984c4a,_0xdf03aa,..._0x191e46){const _0x1604dd=_0x394340;var _0x1e55a9,_0x484c57,_0x409b73,_0x26a778;const _0x5052a6=this['_instanceService'][_0x1604dd(0x256)]();if(!_0x5052a6)throw new Error(_0x1604dd(0x31f));const _0x386769=((_0x1e55a9=this['_configService'][_0x1604dd(0x191)](_0xcdca2f[_0x1604dd(0x28e)]))!=null?_0x1e55a9:_0xcdca2f['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x28f522+_0x1604dd(0x1bd)+_0x984c4a,_0x43deb0=new URL(window[_0x1604dd(0x268)][_0x1604dd(0x16d)]),_0x40fbb8={'scriptId':_0x28f522,'runId':(_0x484c57=_0x43deb0['searchParams'][_0x1604dd(0x202)](_0x1604dd(0x208)))!=null?_0x484c57:'','function':_0x984c4a,'unitId':_0x5052a6[_0x1604dd(0x309)](),'argsOfFunction':JSON[_0x1604dd(0x2e1)](_0x191e46),'invokeId':(_0x409b73=_0xdf03aa[_0x1604dd(0x193)])!=null?_0x409b73:'','executionId':(_0x26a778=_0xdf03aa[_0x1604dd(0x2a6)])!=null?_0x26a778:''};try{const _0x2bd754=await this['_httpService'][_0x1604dd(0x37c)](_0x386769,{'body':_0x40fbb8});return _0x2bd754[_0x1604dd(0x269)][_0x1604dd(0x31d)]&&_0x2bd754['body'][_0x1604dd(0x31d)][_0x1604dd(0x3e5)]!==_0x517646['OK']?_0x1604dd(0x336):_0x2bd754[_0x1604dd(0x269)][_0x1604dd(0x1fe)];}catch{return _0x1604dd(0x336);}}},_0x4a6788[_0x394340(0x368)]=_0x37727c([_0x121e23(0x0,_0x3eca60[_0x394340(0x200)]),_0x121e23(0x1,_0x3eca60[_0x394340(0x2b8)](_0xb9bcc5[_0x394340(0x2a1)])),_0x121e23(0x2,_0x3eca60['IConfigService'])],_0x4a6788[_0x394340(0x368)]),_0x4a6788[_0x394340(0x227)]=_0x497efe,_0x4a6788[_0x394340(0x29e)]=_0xf95d88,_0x4a6788[_0x394340(0x370)]=_0x446520,_0x4a6788['WebBrowserSingleActiveUnitService']=_0x22c970,_0x4a6788[_0x394340(0x25e)]=_0x374a1,Object['defineProperty'](_0x4a6788,Symbol['toStringTag'],{'value':_0x394340(0x276)});}));
|
|
1
|
+
function _0x30a1(_0x24c434,_0x1a55a9){const _0x2e2272=_0x2e22();return _0x30a1=function(_0x30a15b,_0x61c46b){_0x30a15b=_0x30a15b-0x15d;let _0xf55c53=_0x2e2272[_0x30a15b];return _0xf55c53;},_0x30a1(_0x24c434,_0x1a55a9);}function _0x2e22(){const _0x40b0d3=['_handleLeaveEvent','_refRangeService','_imageIoService','size','_onCursorUpdate','startColumn','asObservable','DocStateChangeManagerService','attrs','APPLY_REJECT','getConfig','trim','ILocalCacheService','transformIMECache','isTransformMutationFailure','createElement','application/json','current','values','DocIMEInputManagerService','WECHAT_HAS_BEEN_BOUND','unsubscribe','_updateURLWithCurrentState','@univerjs/core','transformMutationsWithChangeset','CHANGESET_REVISION_CONFILICT','cursorInfo$','getCoordByCell','getOwnPropertyDescriptor','subscribe','@univerjs/sheets','transformStateCache','_cursor','_hover','getSheetId','_textBubble','Workbook','univer-flex\x20univer-mr-2\x20univer-text-xl','executeCommand','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SheetsSelectionsService','onPointerEnter$','@univerjs-pro/collaboration','OnLineSingle','@univerjs/rpc','Plugin','_docTransformSelectionsService','replace','send','ranges','rgba(255,\x20255,\x20255,\x200.01)','hide','M0\x200H16V16H0z','delete','_cursors','measureText','OTHER_CLIENTS_EDITING','getCurrentSelections','DeleteRangeMoveLeftCommandId','IRemoteInstanceService','FromArray','Inject','_onRefRangeChange','MoveRangeCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_httpService','top','with','getActiveSheet','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','AWAITING_WITH_PENDING','RefRangeService','_session','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_messageService','save','saveOfflineData','INVITE_CODE_ALREADY_BOUND','18656BfIMkl','setItem','fillRule','CollaborationStatus','selection','getMergeData','distinctUntilChanged','off-line-single_clip0_910_343','IConfigService','range','_docClipboardService','rxjs','isTransformMutationsWithChangesetSuccess','_setupBeforeClosingHandler','SheetSkeletonManagerService','map','UniverProCollaborationClient','_shapes','_updateLocalCursor','OTHER_CLIENT_EDITING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationUIEventService','SHEET_VIEWPORT_KEY','APPLY_NON_SEQUENTIAL_REVISION','1224064ppXEhc','LocaleService','hovered','row','code','_syncEditingCollabCursorService','collab-rect-range-','3960GgBzVb','_removeClearOtherTimer','getColorFromTheme','setStateCache','PY_RUNTIME_SCRIPT_ERROR','IBeforeCloseService','_getScale','roomMembers','getCellPositionByOffset','Injector','Module','syncEditingCollabCursor','0\x200\x2016\x2016','use','round','blue.400','m2Prime','error','_ensureSubject','_render','disableLocalCache','show','whenReady','UNDEFINED','filter','disposeWithMe','_beforeCloseService','getAncestorScale','_color','UnitStatus','_commandService','div','_refreshCollabCursors','textRanges','hasOwnProperty','storage','_colorIndex','memberID','history','#FFF','COMPLETION_FINISHED','RichTextEditingMutation','_entities','height','restore','BrowserCollaborationSocketService','onPointerMove$','generateRandomId','getSheetObject','symbol','getMemberID','PERMISSION_DENIED','_transformPreviousActiveRange','getDocRanges','DocCollaborationEntity','next','rxjs/operators','_memberService','Error','fillText','MOBILE_HAS_BEEN_BOUND','collaboration.single-unit.warning','_anchorDot','assignAColorForMemberID','setInterval','extend','none','pluginName','_configService','newValue','object','@univerjs/design','min','INVITE_CODE_REQUIRED','toRgbString','_init','INVALID_INVITE_CODE','SetSelectionsOperation','@univerjs/engine-formula','indexOf','_hovered','search','DependentOn','getColor','UniverEngineRender','ITransformService','getParam','_logService','propertyIsEnumerable','permission.content','init','has','InsertColCommandId','_id','registerDependencies','onMouseMove','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','yellow.400','_colorAssignService','NO_OTHER_CLIENTS_EDITING','UniverEngineFormula','url(#$1','getFocusedUnit','permission.title','searchParams','addClipboardHook','_transformHistoryAndStateStack','LICENSE_DISTRO_REJECTED','updateOfflineData','@univerjs/engine-render','transformSelections','_scheduleSaving','handleInsertRangeMoveRight','_registerDependencies','arc','sheetId','CONNECTOR_DATA_TOO_LARGE','_getAnchorBounding','ILogService','ISnapshotServerService','_initStatusListener','getUndoRedoMutationParamsCache','getUnitStatus$','DOC_RANGE_TYPE','substring','CommandType','UNRECOGNIZED','_unitOnClients','defineProperty','OFFLINE','undoState','3504966lJdFvj','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','_cursorShapes','_config','LICENSE_MAX_UNITS_EXCEEDED','ONLINE','IUniverInstanceService','getUnhiddenWorksheets','CollaborationEvent','sessionStatus$','beginPath','Disposable','_sheetSkeletonManagerService','unshift','#fff','_setupSubUnitSync','_docStateChangeManagerService','INVALID_ARGUMENT','SUBMIT_CHANGESET_TIMEOUT','deserializeRangeWithSheet','VIEW_MAIN','_send','APPLY_REVISION_CONFILICT','handleMoveRange','_instanceService','_name','getMember','takeUntil','YUUMI_AI_RUN_FAILED','Unknown\x20user','_localStorageService','black','debounce','forwardRef','getCollabCursors$','add','SNAPSHOT_INVALID_SNAPSHOT','CONFLICT','BuiltInUIPart','SessionStatus','runOnServer','exports','url(#off-line-single_clip0_910_343)','registerRenderModule','_getMergeRange','setConfig','subscribeEvent','_handleJoinEvent','YUUMI_ALL_TABLES_IS_INVALID','doc.mutation.rich-text-editing','contains','UPDATE_CURSOR','_getSheetObject','PENDING','_registerRenderDependencies','currentColor','assign','column','popstate','_doCreateSocket','transform','_scheduleHeartbeat','IRenderManagerService','_themeService','actions','onLocalMutation','_drawAnchor','forEach','_status$','RemoteUniscriptService','_hideTimer','RemoveColCommandId','green.600','_dataLoaderService','defIds','addHandlerCallback','find','LOGIN_FAILED','merge','_cachedData','_scheduleClearOtherTimer','react','createIdentifier','Vector2','key','9441PdWiDa','getStateCache','fromEventSubject','USERS_LEAVE','endRow','_unitStatus','RECT','_collabCursorController','_cursorInfo$','YUUMI_RATE_OVER_LIMIT','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','urlChange$','clearTimeout','Optional','getTypeOfUnitAdded$','pushState','UniverSheetsUi','LOCAL_CACHE_INTERVAL_KEY','sessionTicket','651pStTqj','UniverCore','set','defs','NodePositionConvertToCursor','UNAUTHENTICATED','collaboration-client-ui.config','INTERNAL_ERROR','ALREADY_EXISTS','deepClone','xlink:href','fillStyle','_online','[CollaborationDataLoaderController]','UNIVER_SHEET','ThemeService','InsertRowCommandId','text','_transformUndoRedoStack','getSheetBySheetId','3894189zHEgur','debounceTime','split','function','_startSheetCollabCursor','handleDeleteRangeMoveLeft','runRefRangeMutations','docStateChange$','then','CollaborationDataLoaderController','requireSession','setParam','unload','toStringTag','SheetCollabCursorShape','params','UniverDrawing','combineLatest','_startDocCollabCursor','_univerInstanceService','_clearOtherTimers','tag','ISocketService','setShapeProps','startsWith','width','0\x200\x2017\x2016','unitID','subUnitId','unit','LOCAL_CACHE_INTERVAL','YUUMI_URL_COL_OUT_OF_RANGE','touchDependencies','NodePositionConvertToRectRange','backgroundColor','collabStatus.synced','2079928kKCKho','_anchor','setAlpha','_uiPartsService','setUndoRedoMutationParamsCache','path','translate(.97)','engine','@univerjs/docs-ui','UniverUi','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','amd','RxDisposable','collabStatus.offline','href','m1Prime','_removeCollabCursors','getOwnPropertySymbols','addObject','getViewport','SetWorksheetActivateCommand','univerjs-icon\x20univerjs-icon-','max','from','_backgroundColor','displayName','Shape','@univerjs/ui','InsertRangeMoveRightCommandId','_initEntityListener','@univerjs/sheets-ui','bottom','executionId','@univerjs/drawing','useDependency','UniverProCollaborationClientUi','_transformService','UNIVER_DOC','loadOfflineData','Subject','subunit','mask','saveTaskMap','some','onTransformChange$','INVITE_CODE_HAS_BEEN_UES','runId','getValue','ColorKit','mutations','jsx','APPLY_DUPLICATED','_revisionService','moveTo','skeleton','parse','_handleHeartbeatEvent','_collaborationUIEventService','string','lineTo','mapTo','registerRefRange','clsx','...','_roomMembers$','loadUnit','DataLoaderService','TOO_MANY_REQUESTS','collabCursorState$','createSocket','on-line-single','ENSURE_SNAPSHOT_EXECUTION','MemberService','_entityInit$','DesktopCollaborationStatusDisplayController','_saveCache','EffectRefRangId','dispose$','getSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','debug','COLORS','BehaviorSubject','FETCH_MISS','ticket','className','_disabled','YUUMI_SUBSCRIPTION_NOT_FOUND','drawWith','_labelPosition','length','event$','_createSocketURL','_renderManagerService','_handleEvent','_saveTaskMap','_toggleOffline','1em','INotificationService','_collabCursorState$','stringify','_lastPointer','selections','redoState','getCurrent','clearInterval','getOffsetConfig','closePath','registerComponent','collaboration.closeRoom','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentRevOfUnit','override','NOT_FOUND','_selfUnitIDs','name','USER_NOT_INVITED_CODE','prototype','RegularPolygon','2486090UlIKfq','_collabSessionService','_initEvent','CollaborationSocketService','replaceState','fromEvent','_initDependencies','_injector','_localCacheService','_handleHover','WebBrowserSingleActiveUnitService','transformMutation','apply','DisposableCollection','isArray','UniverNetwork','addEventListener','_drawRectRange','_onCursorDelete','getRelativeToViewportCoord','IImageIoService','color','onRendered','SOCKET_FAILED_RETRY','pipe','/run/','fill','_range','DocSelectionManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','body','OffLineSingle','IDocClipboardService','disposeUnit','_updateCollabCursors','reconnect','UniverDocs','colorChannel1','Warning','React','roomMembers$','enableLocalCache','collabStatus.syncing','complete','children','UniverCollaborationClientUIPlugin','wsSessionTicketUrl','invokeId','entries','push','evenodd','location','IMessageService','handleIRemoveRow','getActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','UniverRpc','_docSkeletonManagerService','react/jsx-runtime','_heartbeatTimer','getRenderById','currentSkeleton$','currentTheme$','UniverIcon','transformByState','APPLY_PERMISSION_DENIED','collabStatus.notCollab','_getSaveTimeout','get','_docTransformIMECacheService','result','call','CollaborationUIEventId','10swPHOm','_context','RevisionService','Failed','transformRemoteChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','createInstance','collab-client.tooltip.reconnect','_localeService','SYNCED','operators','toDisposable','type','addObjects','UniverProCollaboration','getRangePointData','setActiveRange','_docTransformStateCacheService','_initCommandExecutedListener','exhaustSavingTask','@univerjs/network','isActive','useCallback','_initResize','UniverInstanceType','saveImage','ILocalStorageService','UniverSheets','labelPosition','TEXT','_docSyncEditingCollabCursorService','CollaborationController','YUUMI_UNABLE_LOAD_URL','dispose','collab-text-anchor-','Rectangle','red.300','_notificationService','_draw','random','_toggleOnline','HTTPService','ICommandService','switchMap','CollaborationSessionService','MessageType','cursorInfo','_updateSubUnitFromURLParams','getUnitId','collab-text-range-','getVpScrollXYInfoByPosToVp','Tools','handleInsertCol','toString','icon','svg','_collaborationController','eventID','getUniverSheetInstance','SetTextSelectionsOperation','SOCKET_FAILED','getItem','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','RemoveRowCommandId','idSuffix','YUUMI_ASYNCIO_CANCELLED','_assignedColors','IUIPartsService','onCommandExecuted','SetDocZoomRatioOperation','_urlService','EMAIL_HAS_BEEN_BOUND','_eventUnsubscribe','handleInsertRow','_getSessionTicket','concat','data','replaceDocRanges','editingUnit','font','Rect','MUTATION','unitId'];_0x2e22=function(){return _0x40b0d3;};return _0x2e22();}(function(_0x2629bc,_0x1f031b){const _0x5a9d27=_0x30a1,_0x134c76=_0x2629bc();while(!![]){try{const _0x5baeb9=parseInt(_0x5a9d27(0x29c))/0x1+parseInt(_0x5a9d27(0x198))/0x2+-parseInt(_0x5a9d27(0x3a3))/0x3+parseInt(_0x5a9d27(0x3c7))/0x4+-parseInt(_0x5a9d27(0x1e2))/0x5*(parseInt(_0x5a9d27(0x326))/0x6)+parseInt(_0x5a9d27(0x38f))/0x7*(-parseInt(_0x5a9d27(0x284))/0x8)+-parseInt(_0x5a9d27(0x37c))/0x9*(-parseInt(_0x5a9d27(0x2a3))/0xa);if(_0x5baeb9===_0x1f031b)break;else _0x134c76['push'](_0x134c76['shift']());}catch(_0x1daea8){_0x134c76['push'](_0x134c76['shift']());}}}(_0x2e22,0xaf982),function(_0x59f6ad,_0x2b1eb1){const _0x3ba93a=_0x30a1;typeof exports==_0x3ba93a(0x2e9)&&typeof module<'u'?_0x2b1eb1(exports,require(_0x3ba93a(0x328)),require(_0x3ba93a(0x24d)),require('@univerjs/engine-render'),require(_0x3ba93a(0x1f6)),require(_0x3ba93a(0x3cf)),require(_0x3ba93a(0x3e8)),require(_0x3ba93a(0x28f)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x3ba93a(0x2f1)),require(_0x3ba93a(0x254)),require(_0x3ba93a(0x2db)),require(_0x3ba93a(0x3e5)),require(_0x3ba93a(0x1d3)),require(_0x3ba93a(0x3e2)),require('@univerjs/design'),require(_0x3ba93a(0x378)),require(_0x3ba93a(0x262))):typeof define=='function'&&define[_0x3ba93a(0x3d2)]?define([_0x3ba93a(0x350),'@univerjs-pro/collaboration-client','@univerjs/core',_0x3ba93a(0x310),_0x3ba93a(0x1f6),_0x3ba93a(0x3cf),_0x3ba93a(0x3e8),_0x3ba93a(0x28f),'@univerjs/docs',_0x3ba93a(0x260),'@univerjs/engine-formula',_0x3ba93a(0x254),_0x3ba93a(0x2db),'@univerjs/sheets-ui',_0x3ba93a(0x1d3),_0x3ba93a(0x3e2),_0x3ba93a(0x2ea),_0x3ba93a(0x378),_0x3ba93a(0x262)],_0x2b1eb1):(_0x59f6ad=typeof globalThis<'u'?globalThis:_0x59f6ad||self,_0x2b1eb1(_0x59f6ad[_0x3ba93a(0x3ea)]={},_0x59f6ad[_0x3ba93a(0x294)],_0x59f6ad[_0x3ba93a(0x390)],_0x59f6ad[_0x3ba93a(0x2f7)],_0x59f6ad[_0x3ba93a(0x1a7)],_0x59f6ad['UniverDocsUi'],_0x59f6ad[_0x3ba93a(0x3b3)],_0x59f6ad[_0x3ba93a(0x28f)],_0x59f6ad[_0x3ba93a(0x1bc)],_0x59f6ad[_0x3ba93a(0x1f0)],_0x59f6ad[_0x3ba93a(0x307)],_0x59f6ad[_0x3ba93a(0x1fd)],_0x59f6ad[_0x3ba93a(0x28f)][_0x3ba93a(0x1ec)],_0x59f6ad[_0x3ba93a(0x38c)],_0x59f6ad[_0x3ba93a(0x1bf)],_0x59f6ad[_0x3ba93a(0x3d0)],_0x59f6ad['UniverDesign'],_0x59f6ad[_0x3ba93a(0x1bf)],_0x59f6ad[_0x3ba93a(0x1d1)]));}(this,function(_0x3dc1b0,_0x827ff8,_0x1c002c,_0x8f24d8,_0x286260,_0x567b9,_0x22769d,_0x4287b5,_0x1100fd,_0x376d49,_0x568831,_0x2a4acb,_0x5d572c,_0x17d02e,_0x3c107a,_0x1c1408,_0x29c2d3,_0x59786a,_0x405deb){'use strict';const _0x26cc89=_0x30a1;var _0x2cdba9=Object[_0x26cc89(0x323)],_0x3c1808=(_0x295f11,_0x4f1d6a,_0x995080)=>_0x4f1d6a in _0x295f11?_0x2cdba9(_0x295f11,_0x4f1d6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x995080}):_0x295f11[_0x4f1d6a]=_0x995080,_0xd9b4bc=(_0x45b1ca,_0xcbb8ec,_0x52ca3c)=>_0x3c1808(_0x45b1ca,typeof _0xcbb8ec!=_0x26cc89(0x2d4)?_0xcbb8ec+'':_0xcbb8ec,_0x52ca3c),_0x270175=Object[_0x26cc89(0x252)],_0x3a4d75=(_0x1a698c,_0x2cdea3,_0xff6c02,_0x5168bb)=>{for(var _0x15cde2=_0x5168bb>0x1?void 0x0:_0x5168bb?_0x270175(_0x2cdea3,_0xff6c02):_0x2cdea3,_0x2d8757=_0x1a698c['length']-0x1,_0x4c8cbb;_0x2d8757>=0x0;_0x2d8757--)(_0x4c8cbb=_0x1a698c[_0x2d8757])&&(_0x15cde2=_0x4c8cbb(_0x15cde2)||_0x15cde2);return _0x15cde2;},_0xe4be94=(_0x257393,_0x4756b5)=>(_0x305e9c,_0x1ea0d7)=>_0x4756b5(_0x305e9c,_0x1ea0d7,_0x257393);let _0x3f0664=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x208971,_0x2d0412){const _0x1ba520=_0x26cc89;super(),this[_0x1ba520(0x28e)]=_0x208971,this[_0x1ba520(0x238)]=_0x2d0412,this['_init']();}[_0x26cc89(0x2ee)](){const _0x489635=_0x26cc89,_0x252fb6=this;this[_0x489635(0x2bc)](this[_0x489635(0x28e)][_0x489635(0x30c)]({'onBeforePasteImage':async _0x58b5a2=>{const _0x3e3109=_0x489635,_0x23bb86=await _0x252fb6[_0x3e3109(0x238)][_0x3e3109(0x1fb)](_0x58b5a2);return _0x23bb86?{'source':_0x23bb86['source'],'imageSourceType':_0x23bb86['imageSourceType']}:null;}}));}};_0x3f0664=_0x3a4d75([_0xe4be94(0x0,_0x567b9[_0x26cc89(0x1b8)]),_0xe4be94(0x1,_0x22769d[_0x26cc89(0x1ac)])],_0x3f0664);const _0x40c15c=['purple.300','jiqing.500',_0x26cc89(0x36f),_0x26cc89(0x206),_0x26cc89(0x2b2),_0x26cc89(0x304)];class _0x328ed8 extends _0x1c002c[_0x26cc89(0x332)]{constructor(){const _0x57813b=_0x26cc89;super(...arguments),_0xd9b4bc(this,_0x57813b(0x225),new Map()),_0xd9b4bc(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x40adfb){const _0x4b8100=_0x26cc89;if(this[_0x4b8100(0x225)][_0x4b8100(0x2fe)](_0x40adfb))return this[_0x4b8100(0x225)][_0x4b8100(0x1dd)](_0x40adfb);const _0x58ee4c=_0x40c15c[this[_0x4b8100(0x2c7)]];return this[_0x4b8100(0x2c7)]=(this[_0x4b8100(0x2c7)]+0x1)%_0x40c15c[_0x4b8100(0x17b)],this[_0x4b8100(0x225)][_0x4b8100(0x391)](_0x40adfb,_0x58ee4c),_0x58ee4c;}}function _0x22f65c(_0x5ad802){let _0x5c796e='';for(const _0x3a6f69 of _0x5ad802){const {startOffset:_0x4cff2a,endOffset:_0x5e50a9,isActive:_0x43a6fc,rangeType:_0x40f45e,segmentId:_0xb827f1,segmentPage:_0x18db35}=_0x3a6f69;_0x5c796e['length']&&(_0x5c796e+=','),_0x5c796e+=_0x4cff2a+':'+_0x5e50a9+':'+(_0x43a6fc?'1':'0')+':'+_0x40f45e+':'+_0xb827f1+':'+_0x18db35;}return _0x5c796e;}function _0x5bbdc4(_0x52f734){const _0x32dd5a=_0x26cc89,_0x2b2806=_0x52f734['split'](','),_0x2b74e5=[];for(const _0x25b23d of _0x2b2806){const [_0x81e01,_0x252058,_0x159eac,_0x25c838,_0x286fb5,_0x22ede9]=_0x25b23d[_0x32dd5a(0x3a5)](':');_0x2b74e5['push']({'startOffset':Number(_0x81e01),'endOffset':Number(_0x252058),'collapsed':_0x81e01===_0x252058,'isActive':_0x159eac==='1','rangeType':_0x25c838===_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x1ff)]?_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x1ff)]:_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x382)],'segmentId':typeof _0x286fb5==_0x32dd5a(0x401)?String(_0x286fb5):'','segmentPage':Number(_0x22ede9!=null?_0x22ede9:-0x1)});}return _0x2b74e5[_0x32dd5a(0x3f2)](_0x1782a7=>_0x1782a7['isActive'])||(_0x2b74e5[0x0][_0x32dd5a(0x1f7)]=!0x0),_0x2b74e5;}class _0x509d7c extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(){const _0x141164=_0x26cc89;super(...arguments),_0xd9b4bc(this,_0x141164(0x184),new _0x4287b5[(_0x141164(0x173))](null)),_0xd9b4bc(this,_0x141164(0x165),this['_collabCursorState$'][_0x141164(0x23c)]());}[_0x26cc89(0x2ae)](_0x157e68){const _0x421e9b=_0x26cc89,{unitID:_0x111bcb,memberID:_0x33d477,textRanges:_0x3e55ff}=_0x157e68,_0x3463a0=_0x22f65c(_0x3e55ff);if(_0x3463a0==='')return;const _0x359370={'unitID':_0x111bcb,'memberID':_0x33d477,'selection':_0x3463a0};this['_collabCursorState$'][_0x421e9b(0x2da)](_0x359370);}}var _0x2dee8f=Object[_0x26cc89(0x252)],_0x15d13b=(_0x4ddb96,_0x249ada,_0x5782dc,_0x47e132)=>{const _0x2b5aa5=_0x26cc89;for(var _0x394bb9=_0x47e132>0x1?void 0x0:_0x47e132?_0x2dee8f(_0x249ada,_0x5782dc):_0x249ada,_0x2bd756=_0x4ddb96[_0x2b5aa5(0x17b)]-0x1,_0x50c9bc;_0x2bd756>=0x0;_0x2bd756--)(_0x50c9bc=_0x4ddb96[_0x2bd756])&&(_0x394bb9=_0x50c9bc(_0x394bb9)||_0x394bb9);return _0x394bb9;},_0x1ea400=(_0x2efe3f,_0x58c0b1)=>(_0x4715dd,_0x3ee38e)=>_0x58c0b1(_0x4715dd,_0x3ee38e,_0x2efe3f);const _0x54b378=0x12c,_0x3ab358=0x64;let _0x1437b5=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x4c918f,_0x52bb94,_0xbf08d9,_0xf5ce49,_0x37f8a8,_0x9a37c4,_0x218da1,_0x32e85b,_0xddf6b6){const _0x288f48=_0x26cc89;super(),_0xd9b4bc(this,_0x288f48(0x39b),!0x1),_0xd9b4bc(this,_0x288f48(0x2ee),!0x1),_0xd9b4bc(this,'_cursorInfo$',new _0x4287b5['BehaviorSubject'](new Map())),_0xd9b4bc(this,_0x288f48(0x250),this[_0x288f48(0x384)][_0x288f48(0x23c)]()),_0xd9b4bc(this,_0x288f48(0x161),new _0x4287b5['BehaviorSubject']([])),_0xd9b4bc(this,_0x288f48(0x1c0),this['_roomMembers$'][_0x288f48(0x1b0)](_0x4287b5[_0x288f48(0x3a4)](_0x54b378))),_0xd9b4bc(this,_0x288f48(0x296),_0x1c002c['debounce'](_0x2b945b=>{const _0x5cb5fe=_0x288f48,_0x382216={'eventID':_0x376d49[_0x5cb5fe(0x32f)][_0x5cb5fe(0x35a)],'data':{'unitID':this[_0x5cb5fe(0x3be)],'memberID':this[_0x5cb5fe(0x27e)][_0x5cb5fe(0x2d5)](),'selection':_0x22f65c(_0x2b945b)}};this[_0x5cb5fe(0x27e)][_0x5cb5fe(0x266)](_0x382216,this['unitID']);},_0x3ab358)),(this[_0x288f48(0x3be)]=_0x4c918f,this['_session']=_0x52bb94,this['_injector']=_0xbf08d9,this['_colorAssignService']=_0xf5ce49,this[_0x288f48(0x2dc)]=_0x37f8a8,this[_0x288f48(0x2a1)]=_0x9a37c4,this['_transformService']=_0x218da1,this[_0x288f48(0x3b6)]=_0x32e85b,this[_0x288f48(0x2c1)]=_0xddf6b6);}get[_0x26cc89(0x210)](){const _0x462981=_0x26cc89;return this['_cursorInfo$'][_0x462981(0x3f6)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x26cc89(0x203)](){const _0x162b7d=_0x26cc89;super['dispose'](),this[_0x162b7d(0x384)][_0x162b7d(0x2da)](new Map()),this['_cursorInfo$'][_0x162b7d(0x1c3)](),this[_0x162b7d(0x161)]['next']([]),this[_0x162b7d(0x161)][_0x162b7d(0x1c3)]();}[_0x26cc89(0x2fd)](){const _0x126fbf=_0x26cc89;this[_0x126fbf(0x2ee)]||(this[_0x126fbf(0x2ee)]=!0x0,this[_0x126fbf(0x27e)]['sessionStatus$'][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0x519c13=>{const _0xe6a344=_0x126fbf;_0x519c13===_0x827ff8['SessionStatus'][_0xe6a344(0x32c)]?this[_0xe6a344(0x20a)]():this['_toggleOffline']();}),this['_session']['event$'][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0x449ec8=>{const _0x4cdadd=_0x126fbf,_0x5bc5b7=_0x449ec8[_0x4cdadd(0x21b)];_0x5bc5b7===_0x376d49[_0x4cdadd(0x32f)][_0x4cdadd(0x35a)]&&this[_0x4cdadd(0x23a)](_0x449ec8),_0x5bc5b7===_0x376d49[_0x4cdadd(0x32f)][_0x4cdadd(0x37f)]&&this[_0x4cdadd(0x1aa)](_0x449ec8);}),this[_0x126fbf(0x2bc)](this[_0x126fbf(0x2c1)]['onCommandExecuted'](_0x26b1c4=>{const _0x2bce9f=_0x126fbf,_0x537aa0=_0x26b1c4['params'];_0x537aa0!=null&&this[_0x2bce9f(0x39b)]&&_0x26b1c4['id']===_0x1100fd[_0x2bce9f(0x21d)]['id']&&_0x537aa0[_0x2bce9f(0x235)]===this[_0x2bce9f(0x3be)]&&_0x537aa0['isEditing']===!0x1&&_0x537aa0[_0x2bce9f(0x267)][_0x2bce9f(0x17b)]>0x0&&this['_updateLocalCursor'](_0x537aa0[_0x2bce9f(0x267)]);})),this[_0x126fbf(0x2a1)][_0x126fbf(0x165)][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0xc6905b=>{const _0x135eff=_0x126fbf;if((_0xc6905b==null?void 0x0:_0xc6905b[_0x135eff(0x3be)])!==this[_0x135eff(0x3be)])return;const _0x70479a={'eventID':_0x376d49[_0x135eff(0x32f)][_0x135eff(0x35a)],'data':_0xc6905b};this[_0x135eff(0x23a)](_0x70479a);}),this['disposeWithMe'](this['_commandService'][_0x126fbf(0x227)](_0x358128=>{const _0x335407=_0x126fbf;if(_0x358128['params']==null)return;const _0x1ddcf9=_0x358128[_0x335407(0x3b2)];if(_0x358128['id']!==_0x1100fd[_0x335407(0x2cc)]['id']||_0x1ddcf9['unitId']!==this[_0x335407(0x3be)])return;const _0x1cefd4={'id':_0x335407(0x358),'params':_0x1ddcf9},_0x1904aa=this['cursorInfo'];for(const [_0x5d01fb,_0x2db446]of _0x1904aa){const _0x228e30={'id':_0x335407(0x358),'params':{'unitId':this[_0x335407(0x3be)],'actions':null,'textRanges':_0x2db446[_0x335407(0x267)]}},_0x1ca16c=this[_0x335407(0x3eb)]['transformMutation'](_0x1cefd4,_0x228e30,!0x1);if(_0x376d49['isTransformMutationFailure'](_0x1ca16c))throw _0x1ca16c['error'];_0x1904aa[_0x335407(0x391)](_0x5d01fb,{..._0x2db446,'ranges':_0x1ca16c['m2Prime'][_0x335407(0x3b2)][_0x335407(0x2c4)]});}queueMicrotask(()=>{const _0x193377=_0x335407;this[_0x193377(0x384)][_0x193377(0x2da)](_0x1904aa);});})));}['_onCursorUpdate'](_0x25fe1c){const _0x41da08=_0x26cc89;var _0x281a6d,_0x1b2cf1;const {memberID:_0x3a555a,selection:_0x5cd529}=_0x25fe1c['data'],_0xfe7a5a=_0x5bbdc4(_0x5cd529),_0x405740=(_0x1b2cf1=(_0x281a6d=this[_0x41da08(0x2dc)][_0x41da08(0x341)](this[_0x41da08(0x3be)],_0x3a555a))==null?void 0x0:_0x281a6d[_0x41da08(0x194)])!=null?_0x1b2cf1:_0x41da08(0x344),_0x5193de={'color':this[_0x41da08(0x305)][_0x41da08(0x2e2)](_0x3a555a),'name':_0x405740,'ranges':_0xfe7a5a},_0x3cfba1=this[_0x41da08(0x210)];_0x3cfba1['set'](_0x3a555a,_0x5193de),this[_0x41da08(0x384)]['next'](_0x3cfba1);}[_0x26cc89(0x1aa)](_0x26ac32){const _0x3b05ec=_0x26cc89,{memberID:_0x22c33c}=_0x26ac32[_0x3b05ec(0x22f)],_0x292a86=this[_0x3b05ec(0x210)];_0x292a86[_0x3b05ec(0x26b)](_0x22c33c),this['_cursorInfo$'][_0x3b05ec(0x2da)](_0x292a86);}[_0x26cc89(0x20a)](){const _0x4c409a=_0x26cc89;var _0x26ee0d;if(this[_0x4c409a(0x39b)]=!0x0,((_0x26ee0d=this[_0x4c409a(0x3b6)][_0x4c409a(0x309)]())==null?void 0x0:_0x26ee0d[_0x4c409a(0x212)]())!==this[_0x4c409a(0x3be)])return;const _0x279602=this[_0x4c409a(0x19f)][_0x4c409a(0x1dd)](_0x1100fd['DocSelectionManagerService'])[_0x4c409a(0x2d8)]();Array['isArray'](_0x279602)&&_0x279602[_0x4c409a(0x17b)]>0x0&&this['_updateLocalCursor'](_0x279602);}[_0x26cc89(0x181)](){const _0x2195d2=_0x26cc89;this[_0x2195d2(0x39b)]=!0x1;}};_0x1437b5=_0x15d13b([_0x1ea400(0x2,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x1ea400(0x3,_0x1c002c[_0x26cc89(0x273)](_0x328ed8)),_0x1ea400(0x4,_0x1c002c[_0x26cc89(0x273)](_0x827ff8['MemberService'])),_0x1ea400(0x5,_0x1c002c[_0x26cc89(0x273)](_0x509d7c)),_0x1ea400(0x6,_0x376d49[_0x26cc89(0x2f8)]),_0x1ea400(0x7,_0x1c002c['IUniverInstanceService']),_0x1ea400(0x8,_0x1c002c['ICommandService'])],_0x1437b5);var _0x3065d1=Object['getOwnPropertyDescriptor'],_0xaff664=(_0x3ff7a7,_0x32ef4a,_0x3053ed,_0x5b2e3c)=>{for(var _0x3aab43=_0x5b2e3c>0x1?void 0x0:_0x5b2e3c?_0x3065d1(_0x32ef4a,_0x3053ed):_0x32ef4a,_0x585c9b=_0x3ff7a7['length']-0x1,_0x40719c;_0x585c9b>=0x0;_0x585c9b--)(_0x40719c=_0x3ff7a7[_0x585c9b])&&(_0x3aab43=_0x40719c(_0x3aab43)||_0x3aab43);return _0x3aab43;},_0x8dbe8=(_0x5f0636,_0x4249aa)=>(_0x3c049d,_0x8c0aab)=>_0x4249aa(_0x3c049d,_0x8c0aab,_0x5f0636);const _0x159c08=0x12c,_0x32d96b=0x64,_0x451e58=()=>{let _0x5ef90b=[],_0xeb8c5a=!0x1;return _0x30d620=>{_0x5ef90b['push'](_0x30d620),_0xeb8c5a||(_0xeb8c5a=!0x0,setTimeout(()=>{const _0x237096=_0x30a1;_0x5ef90b[_0x237096(0x36a)](_0x2d43a2=>_0x2d43a2()),_0x5ef90b=[],_0xeb8c5a=!0x1;}));};};let _0x439e2b=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x12c7cd,_0x3dd9a8,_0x1d1ea6,_0x56a4f3,_0x1e8bd5,_0x50d07e,_0x3f99e5,_0x26b14b){const _0x144b2a=_0x26cc89;super(),_0xd9b4bc(this,_0x144b2a(0x39b),!0x1),_0xd9b4bc(this,'_init',!0x1),_0xd9b4bc(this,_0x144b2a(0x384),new _0x4287b5['BehaviorSubject'](new Map())),_0xd9b4bc(this,_0x144b2a(0x250),this[_0x144b2a(0x384)][_0x144b2a(0x23c)]()),_0xd9b4bc(this,'_roomMembers$',new _0x4287b5[(_0x144b2a(0x173))]([])),_0xd9b4bc(this,'roomMembers$',this[_0x144b2a(0x161)]['pipe'](_0x4287b5[_0x144b2a(0x3a4)](_0x159c08))),_0xd9b4bc(this,_0x144b2a(0x296),_0x1c002c[_0x144b2a(0x347)]((_0x4dcbb2,_0x37708a)=>{const _0x2c4607=_0x144b2a,_0x218a56={'eventID':_0x376d49[_0x2c4607(0x32f)][_0x2c4607(0x35a)],'data':{'unitID':this['unitID'],'memberID':this[_0x2c4607(0x27e)][_0x2c4607(0x2d5)](),'selection':_0x568831['serializeRangeWithSheet'](_0x4dcbb2,_0x37708a['range'])}};this['_session'][_0x2c4607(0x266)](_0x218a56,this[_0x2c4607(0x3be)]);},_0x32d96b)),(this[_0x144b2a(0x3be)]=_0x12c7cd,this[_0x144b2a(0x27e)]=_0x3dd9a8,this[_0x144b2a(0x19f)]=_0x1d1ea6,this[_0x144b2a(0x305)]=_0x56a4f3,this[_0x144b2a(0x2dc)]=_0x1e8bd5,this['_univerInstanceService']=_0x50d07e,this[_0x144b2a(0x2c1)]=_0x3f99e5,this[_0x144b2a(0x237)]=_0x26b14b);}get[_0x26cc89(0x210)](){const _0x3adba1=_0x26cc89;return this[_0x3adba1(0x384)][_0x3adba1(0x3f6)]();}get[_0x26cc89(0x2aa)](){const _0x122f4c=_0x26cc89;return this[_0x122f4c(0x161)]['getValue']();}[_0x26cc89(0x203)](){const _0x59003c=_0x26cc89;super['dispose'](),this[_0x59003c(0x384)]['next'](new Map()),this[_0x59003c(0x384)][_0x59003c(0x1c3)](),this[_0x59003c(0x161)]['next']([]),this['_roomMembers$'][_0x59003c(0x1c3)]();}[_0x26cc89(0x2fd)](){const _0x7a4fcc=_0x26cc89;this[_0x7a4fcc(0x2ee)]||(this[_0x7a4fcc(0x2ee)]=!0x0,this[_0x7a4fcc(0x27e)][_0x7a4fcc(0x330)][_0x7a4fcc(0x1b0)](_0x4287b5['takeUntil'](this[_0x7a4fcc(0x16e)]))[_0x7a4fcc(0x253)](_0x2d7a0b=>{const _0x196c5d=_0x7a4fcc;_0x2d7a0b===_0x827ff8[_0x196c5d(0x34e)]['ONLINE']?this[_0x196c5d(0x20a)]():this[_0x196c5d(0x181)]();}),this[_0x7a4fcc(0x27e)][_0x7a4fcc(0x17c)]['pipe'](_0x4287b5[_0x7a4fcc(0x342)](this[_0x7a4fcc(0x16e)]))[_0x7a4fcc(0x253)](_0x44ca6b=>{const _0x590720=_0x7a4fcc,_0x14258a=_0x44ca6b[_0x590720(0x21b)];_0x14258a===_0x376d49[_0x590720(0x32f)][_0x590720(0x35a)]&&this[_0x590720(0x23a)](_0x44ca6b),_0x14258a===_0x376d49[_0x590720(0x32f)][_0x590720(0x37f)]&&this[_0x590720(0x1aa)](_0x44ca6b);}),this[_0x7a4fcc(0x274)](),this[_0x7a4fcc(0x2bc)](this[_0x7a4fcc(0x2c1)][_0x7a4fcc(0x227)](_0x564e7b=>{const _0x39000c=_0x7a4fcc;if(this[_0x39000c(0x39b)]&&_0x564e7b['id']===_0x2a4acb[_0x39000c(0x2f0)]['id']&&_0x564e7b['params'][_0x39000c(0x235)]===this[_0x39000c(0x3be)]){const _0x54d955=_0x564e7b[_0x39000c(0x3b2)];this['_updateLocalCursor'](_0x54d955[_0x39000c(0x3bf)],_0x54d955[_0x39000c(0x187)][0x0]);}})));}[_0x26cc89(0x23a)](_0x34d78f){const _0x529769=_0x26cc89;var _0x4a2da9,_0x4ca854;const {memberID:_0x5cfd2d,selection:_0x2dd511}=_0x34d78f[_0x529769(0x22f)],{sheetName:_0x3b1796,range:_0x20a908}=_0x568831[_0x529769(0x33a)](_0x2dd511),_0x58f782={'name':(_0x4ca854=(_0x4a2da9=this[_0x529769(0x2dc)][_0x529769(0x341)](this[_0x529769(0x3be)],_0x5cfd2d))==null?void 0x0:_0x4a2da9[_0x529769(0x194)])!=null?_0x4ca854:_0x529769(0x344),'range':this[_0x529769(0x353)](_0x3b1796,_0x20a908),'sheetID':_0x3b1796,'color':this[_0x529769(0x305)][_0x529769(0x2e2)](_0x5cfd2d),'selection':_0x2dd511},_0x2e48fd=this[_0x529769(0x210)];_0x2e48fd[_0x529769(0x391)](_0x5cfd2d,_0x58f782),this[_0x529769(0x384)][_0x529769(0x2da)](_0x2e48fd);}[_0x26cc89(0x1aa)](_0x1967c1){const _0x2c8e71=_0x26cc89,{memberID:_0x5d60df}=_0x1967c1[_0x2c8e71(0x22f)],_0x5185f3=this[_0x2c8e71(0x210)];_0x5185f3[_0x2c8e71(0x26b)](_0x5d60df),this[_0x2c8e71(0x384)]['next'](_0x5185f3);}['_getMergeRange'](_0x20692e,_0xc88aed){const _0x349937=_0x26cc89;var _0x35a728,_0x1c1b4b;const _0x1b8518=(_0x1c1b4b=(_0x35a728=this[_0x349937(0x3b6)][_0x349937(0x21c)](this[_0x349937(0x3be)]))==null?void 0x0:_0x35a728['getSheetBySheetId'](_0x20692e))==null?void 0x0:_0x1c1b4b[_0x349937(0x289)]();return(_0x1b8518==null?void 0x0:_0x1b8518[_0x349937(0x373)](_0x223ea3=>_0x1c002c[_0x349937(0x205)][_0x349937(0x359)](_0x223ea3,_0xc88aed)))||_0xc88aed;}[_0x26cc89(0x274)](){const _0x2d8a4e=_0x26cc89,_0x2b1705=new _0x1c002c[(_0x2d8a4e(0x1a5))](),_0xaf7293=_0x451e58(),_0x2f0d8e=()=>{const _0x153544=_0x2d8a4e;_0x2b1705[_0x153544(0x203)]();const _0x2cebff=(_0x947f3d,_0x43be1d,_0x14ac3b,_0x510bbf)=>{const _0x50db5c=_0x153544;let _0x3f0430=[];switch(_0x947f3d['id']){case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x270)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x3a8)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)]['DeleteRangeMoveUpCommandId']:{_0x3f0430=_0x2a4acb['handleDeleteRangeMoveUp'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x2ff)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x216)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)]['InsertRangeMoveDownCommandId']:{_0x3f0430=_0x2a4acb['handleInsertRangeMoveDown'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x3e3)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x313)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x39f)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x22c)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x275)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x33e)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x36e)]:{_0x3f0430=_0x2a4acb['handleIRemoveCol'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x222)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x1cd)](_0x947f3d,_0x510bbf);break;}}const _0x36b9d3=_0x2a4acb[_0x50db5c(0x3a9)](_0x3f0430,_0x510bbf),_0xf0688b=this[_0x50db5c(0x210)][_0x50db5c(0x1dd)](_0x43be1d);if(_0xf0688b&&_0x36b9d3){const _0x44ed4a={..._0xf0688b,'range':_0x36b9d3};this['cursorInfo'][_0x50db5c(0x391)](_0x43be1d,_0x44ed4a),_0xaf7293(()=>{const _0x4d0c58=_0x50db5c,_0x3d33fe=this['_refRangeService'][_0x4d0c58(0x15e)](_0x36b9d3,_0x2473c3=>(_0x3d33fe['dispose'](),_0x2cebff(_0x2473c3,_0x43be1d,_0x14ac3b,_0x36b9d3)));_0x2b1705[_0x4d0c58(0x34a)](_0x3d33fe);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x153544(0x36a)]((_0x25ae26,_0x4417b9)=>{const _0x57a0aa=_0x153544,{range:_0x29e287,sheetID:_0x57e281}=_0x25ae26,_0x433f74=this[_0x57a0aa(0x237)]['registerRefRange'](_0x29e287,_0x48da55=>(_0x433f74[_0x57a0aa(0x203)](),_0x2cebff(_0x48da55,_0x4417b9,_0x57e281,_0x29e287)));_0x2b1705[_0x57a0aa(0x34a)](_0x433f74);});};this[_0x2d8a4e(0x2bc)](_0x1c002c[_0x2d8a4e(0x1ed)](this['_cursorInfo$']['subscribe'](()=>{_0x2f0d8e();})));}[_0x26cc89(0x20a)](){const _0x235209=_0x26cc89;var _0x3fa64a,_0x43f613;if(this[_0x235209(0x39b)]=!0x0,((_0x3fa64a=this[_0x235209(0x3b6)]['getFocusedUnit']())==null?void 0x0:_0x3fa64a[_0x235209(0x212)]())!==this[_0x235209(0x3be)])return;const _0x2909bf=(_0x43f613=this['_injector'][_0x235209(0x1dd)](_0x2a4acb[_0x235209(0x25e)])[_0x235209(0x26f)]())==null?void 0x0:_0x43f613[0x0],_0x471217=this[_0x235209(0x3b6)]['getCurrentUnitForType'](_0x1c002c[_0x235209(0x1fa)]['UNIVER_SHEET'])[_0x235209(0x27a)]();_0x2909bf&&_0x471217&&this[_0x235209(0x296)](_0x471217['getSheetId'](),_0x2909bf);}['_toggleOffline'](){const _0x311f37=_0x26cc89;this[_0x311f37(0x39b)]=!0x1;}};_0x439e2b=_0xaff664([_0x8dbe8(0x2,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x8dbe8(0x3,_0x1c002c[_0x26cc89(0x273)](_0x328ed8)),_0x8dbe8(0x4,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x169)])),_0x8dbe8(0x5,_0x1c002c[_0x26cc89(0x32d)]),_0x8dbe8(0x6,_0x1c002c[_0x26cc89(0x20c)]),_0x8dbe8(0x7,_0x1c002c['Inject'](_0x2a4acb[_0x26cc89(0x27d)]))],_0x439e2b);var _0x1ffaad=Object[_0x26cc89(0x252)],_0x1d382f=(_0x4801f2,_0x5b5e44,_0x19c2c8,_0xd652d)=>{const _0x6eb0bf=_0x26cc89;for(var _0x49fb0a=_0xd652d>0x1?void 0x0:_0xd652d?_0x1ffaad(_0x5b5e44,_0x19c2c8):_0x5b5e44,_0x478461=_0x4801f2[_0x6eb0bf(0x17b)]-0x1,_0x8d24f3;_0x478461>=0x0;_0x478461--)(_0x8d24f3=_0x4801f2[_0x478461])&&(_0x49fb0a=_0x8d24f3(_0x49fb0a)||_0x49fb0a);return _0x49fb0a;},_0xbe28ab=(_0x3690a6,_0x300e8e)=>(_0x202d12,_0x3b36d5)=>_0x300e8e(_0x202d12,_0x3b36d5,_0x3690a6);let _0x402205=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x530fd2,_0x1396b7,_0x357fb2){const _0x190778=_0x26cc89;super(),_0xd9b4bc(this,_0x190778(0x2cd),new Map()),_0xd9b4bc(this,_0x190778(0x16a),new _0x4287b5[(_0x190778(0x3ee))]()),(this['_univerInstanceService']=_0x530fd2,this[_0x190778(0x19f)]=_0x1396b7,this[_0x190778(0x199)]=_0x357fb2,this[_0x190778(0x2ee)]());}[_0x26cc89(0x203)](){const _0x92857b=_0x26cc89;super[_0x92857b(0x203)](),this[_0x92857b(0x16a)]['complete'](),this[_0x92857b(0x2cd)][_0x92857b(0x36a)](_0x109f9d=>_0x109f9d[_0x92857b(0x203)]());}[_0x26cc89(0x349)](_0x3e21a8){const _0x132699=_0x26cc89;return this[_0x132699(0x2cd)][_0x132699(0x2fe)](_0x3e21a8)?this[_0x132699(0x2cd)]['get'](_0x3e21a8)[_0x132699(0x250)]:this[_0x132699(0x16a)]['pipe'](_0x4287b5[_0x132699(0x2bb)](_0x57cbf7=>_0x57cbf7[_0x132699(0x3be)]===_0x3e21a8),_0x4287b5[_0x132699(0x20d)](_0x5be9f2=>_0x5be9f2[_0x132699(0x250)]));}[_0x26cc89(0x2ee)](){const _0x20fc8f=_0x26cc89;this[_0x20fc8f(0x3b6)][_0x20fc8f(0x38a)](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x39d)])[_0x20fc8f(0x1b0)](_0x4287b5['takeUntil'](this[_0x20fc8f(0x16e)]))[_0x20fc8f(0x253)](async _0x59042f=>{const _0x37ea48=_0x20fc8f,_0x3c0efc=_0x59042f[_0x37ea48(0x212)](),_0x418696=await this[_0x37ea48(0x3a7)](_0x3c0efc);this[_0x37ea48(0x16a)][_0x37ea48(0x2da)](_0x418696),this['_entities'][_0x37ea48(0x391)](_0x3c0efc,_0x418696);}),this[_0x20fc8f(0x3b6)][_0x20fc8f(0x38a)](_0x1c002c[_0x20fc8f(0x1fa)]['UNIVER_DOC'])[_0x20fc8f(0x1b0)](_0x4287b5[_0x20fc8f(0x342)](this['dispose$']))[_0x20fc8f(0x1b0)](_0x4287b5[_0x20fc8f(0x2bb)](_0x35e892=>!_0x35e892['getUnitId']()[_0x20fc8f(0x3bb)]('__')))[_0x20fc8f(0x253)](async _0x4402d4=>{const _0x127c0f=_0x20fc8f,_0x47312c=_0x4402d4[_0x127c0f(0x212)](),_0x4de8d8=await this['_startDocCollabCursor'](_0x47312c);this['_entityInit$'][_0x127c0f(0x2da)](_0x4de8d8),this[_0x127c0f(0x2cd)][_0x127c0f(0x391)](_0x47312c,_0x4de8d8);}),_0x4287b5[_0x20fc8f(0x375)](this[_0x20fc8f(0x3b6)]['getTypeOfUnitDisposed$'](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x3ec)]),this[_0x20fc8f(0x3b6)]['getTypeOfUnitDisposed$'](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x39d)]))[_0x20fc8f(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']))[_0x20fc8f(0x253)](_0x43e1a1=>{const _0x5c7d0d=_0x20fc8f,_0x46483=_0x43e1a1[_0x5c7d0d(0x212)](),_0x1643c9=this['_entities'][_0x5c7d0d(0x1dd)](_0x46483);_0x1643c9&&(_0x1643c9[_0x5c7d0d(0x203)](),this[_0x5c7d0d(0x2cd)]['delete'](_0x46483));});}async[_0x26cc89(0x3a7)](_0x35207f){const _0x2f62b0=_0x26cc89,_0x35f600=await this[_0x2f62b0(0x199)]['requireSession'](_0x35207f),_0x28648c=this[_0x2f62b0(0x19f)][_0x2f62b0(0x1e8)](_0x439e2b,_0x35207f,_0x35f600);return _0x28648c['init'](),_0x28648c;}async[_0x26cc89(0x3b5)](_0x16f6a0){const _0x42b2c5=_0x26cc89,_0x5db4d6=await this[_0x42b2c5(0x199)][_0x42b2c5(0x3ad)](_0x16f6a0),_0x2a523b=this[_0x42b2c5(0x19f)]['createInstance'](_0x1437b5,_0x16f6a0,_0x5db4d6);return _0x2a523b[_0x42b2c5(0x2fd)](),_0x2a523b;}};_0x402205=_0x1d382f([_0xbe28ab(0x0,_0x1c002c[_0x26cc89(0x32d)]),_0xbe28ab(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0xbe28ab(0x2,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x20e)]))],_0x402205);const _0x3f14c6=0x14,_0xe8255e=0xc8,_0x386c39=0x4,_0x2ac68f=0x5;function _0x3a6306(_0x51bbe1,_0x5dab90){const _0x1e7af4=_0x26cc89;let {radius:_0xc2684d,width:_0x74c976,height:_0x190e3e}=_0x5dab90;_0xc2684d=_0xc2684d!=null?_0xc2684d:0x0,_0x74c976=_0x74c976!=null?_0x74c976:0x1e,_0x190e3e=_0x190e3e!=null?_0x190e3e:0x1e;let _0x4410f6=0x0,_0x42cdff=0x0,_0x5875cc=0x0;_0x4410f6=_0x42cdff=_0x5875cc=Math[_0x1e7af4(0x2eb)](_0xc2684d,_0x74c976/0x2,_0x190e3e/0x2),_0x51bbe1[_0x1e7af4(0x331)](),_0x51bbe1[_0x1e7af4(0x3fc)](_0x4410f6,0x0),_0x51bbe1[_0x1e7af4(0x402)](_0x74c976-_0x42cdff,0x0),_0x51bbe1[_0x1e7af4(0x315)](_0x74c976-_0x42cdff,_0x42cdff,_0x42cdff,Math['PI']*0x3/0x2,0x0,!0x1),_0x51bbe1['lineTo'](_0x74c976,_0x190e3e-_0x5875cc),_0x51bbe1[_0x1e7af4(0x315)](_0x74c976-_0x5875cc,_0x190e3e-_0x5875cc,_0x5875cc,0x0,Math['PI']/0x2,!0x1),_0x51bbe1['lineTo'](0x0,_0x190e3e),_0x51bbe1[_0x1e7af4(0x402)](0x0,_0x4410f6),_0x51bbe1['arc'](_0x4410f6,_0x4410f6,_0x4410f6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51bbe1[_0x1e7af4(0x18c)](),_0x5dab90[_0x1e7af4(0x1b2)]&&(_0x51bbe1[_0x1e7af4(0x281)](),_0x51bbe1[_0x1e7af4(0x39a)]=_0x5dab90['fill'],_0x5dab90[_0x1e7af4(0x286)]===_0x1e7af4(0x1ca)?_0x51bbe1[_0x1e7af4(0x1b2)](_0x1e7af4(0x1ca)):_0x51bbe1[_0x1e7af4(0x1b2)](),_0x51bbe1[_0x1e7af4(0x2cf)]());}class _0x260980 extends _0x8f24d8[_0x26cc89(0x3e1)]{constructor(_0x145958,_0x317c50){const _0x1fd537=_0x26cc89;super(_0x145958,_0x317c50),_0xd9b4bc(this,_0x1fd537(0x1ad)),_0xd9b4bc(this,_0x1fd537(0x3a0)),(this[_0x1fd537(0x1ad)]=_0x317c50==null?void 0x0:_0x317c50[_0x1fd537(0x1ad)],this['text']=_0x317c50==null?void 0x0:_0x317c50[_0x1fd537(0x3a0)]);}static[_0x26cc89(0x179)](_0x505d90,_0x453521){const _0x34c1b2=_0x26cc89,{text:_0x52059e,color:_0x2918e7}=_0x453521;_0x505d90['save'](),_0x505d90[_0x34c1b2(0x232)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x30f56a=_0x505d90[_0x34c1b2(0x26d)](_0x52059e)[_0x34c1b2(0x3bc)],_0x57bb88=Math['min'](_0x30f56a+0x2*_0x386c39,_0xe8255e);_0x3a6306(_0x505d90,{'height':_0x3f14c6,'radius':0x4,'width':_0x57bb88,'fill':_0x2918e7}),_0x505d90[_0x34c1b2(0x39a)]=_0x34c1b2(0x2ca);const _0x2ae771=_0x386c39,_0x88306b=_0x3f14c6-_0x2ac68f,_0x11a3ca=_0xe8255e-0x2*_0x386c39;if(_0x30f56a>_0x11a3ca){let _0x25800f='',_0xb69bab=0x0;for(const _0x152035 of _0x52059e){const _0x26f8b1=_0x505d90['measureText'](_0x152035)[_0x34c1b2(0x3bc)];if(_0xb69bab+_0x26f8b1<=_0x11a3ca-_0x505d90[_0x34c1b2(0x26d)](_0x34c1b2(0x160))['width'])_0x25800f+=_0x152035,_0xb69bab+=_0x26f8b1;else{_0x25800f+=_0x34c1b2(0x160);break;}}_0x505d90[_0x34c1b2(0x2de)](_0x25800f,_0x2ae771,_0x88306b);}else _0x505d90[_0x34c1b2(0x2de)](_0x52059e,_0x2ae771,_0x88306b);_0x505d90[_0x34c1b2(0x2cf)]();}['_draw'](_0x1429c5){_0x260980['drawWith'](_0x1429c5,this);}}const _0x55615e=_0x26cc89(0x204),_0x46a9c4=_0x26cc89(0x213),_0x19483a=_0x26cc89(0x2a2),_0x3770be=0x6,_0x44362b=1.5,_0x566e9a=0x4,_0x17b72d=1.5,_0x422437=_0x26cc89(0x268);class _0x44bb85{constructor(_0x10a426,_0x556820,_0x44a903,_0x33edcf){const _0x30f252=_0x26cc89;_0xd9b4bc(this,'_shapes',[]),_0xd9b4bc(this,'_anchor',null),_0xd9b4bc(this,_0x30f252(0x259),null),_0xd9b4bc(this,_0x30f252(0x2e1),null),_0xd9b4bc(this,_0x30f252(0x36d),null),_0xd9b4bc(this,_0x30f252(0x22b),null),(this[_0x30f252(0x256)]=_0x10a426,this[_0x30f252(0x221)]=_0x556820,this['_docSkeleton']=_0x44a903,this['_document']=_0x33edcf,this[_0x30f252(0x2b6)]());}set[_0x26cc89(0x257)](_0x2f048d){const _0x1ac4df=_0x26cc89;_0x2f048d?(this[_0x1ac4df(0x2e1)]&&this[_0x1ac4df(0x2e1)][_0x1ac4df(0x269)](),this[_0x1ac4df(0x259)]&&this['_textBubble'][_0x1ac4df(0x2b8)]()):(this['_anchorDot']&&this[_0x1ac4df(0x2e1)][_0x1ac4df(0x2b8)](),this['_textBubble']&&this[_0x1ac4df(0x259)][_0x1ac4df(0x269)]());}['dispose'](){const _0x1a620f=_0x26cc89;for(const _0x824f80 of this[_0x1a620f(0x295)])_0x824f80[_0x1a620f(0x203)]();this[_0x1a620f(0x259)]&&this[_0x1a620f(0x259)][_0x1a620f(0x203)](),this[_0x1a620f(0x2e1)]&&this[_0x1a620f(0x2e1)][_0x1a620f(0x203)](),this[_0x1a620f(0x3c8)]&&this[_0x1a620f(0x3c8)][_0x1a620f(0x203)](),this[_0x1a620f(0x22b)]&&this[_0x1a620f(0x22b)]();}[_0x26cc89(0x2b6)](){const _0x58de6d=_0x26cc89;var _0x3c90e2;const {_docSkeleton:_0x5d6832,_document:_0x35d4a1}=this,{color:_0xc3eb53,name:_0x20428e,ranges:_0x3e394b}=this[_0x58de6d(0x256)],_0x46fb78=_0x35d4a1[_0x58de6d(0x18b)](),{docsLeft:_0x3b7561,docsTop:_0x33f101}=_0x46fb78,_0x1c5584=new _0x567b9[(_0x58de6d(0x393))](_0x46fb78,_0x5d6832);for(const {startOffset:_0x4ab36a,endOffset:_0x50a257,rangeType:_0x4a5c9b,segmentId:_0x4bd11d,segmentPage:_0x280a4a,collapsed:_0x572640,isActive:_0x59df65}of _0x3e394b){const _0x296e9a=_0x5d6832['findNodePositionByCharIndex'](_0x4ab36a,!0x0,_0x4bd11d,_0x280a4a);let _0x3d37d5=_0x5d6832['findNodePositionByCharIndex'](_0x50a257,!0x0,_0x4bd11d,_0x280a4a);if(_0x3d37d5==null&&(_0x3d37d5=_0x5d6832['findNodePositionByCharIndex'](_0x50a257-0x1,!0x1,_0x4bd11d,_0x280a4a)),_0x59df65){const {contentBoxPointGroup:_0x1dc982}=_0x1c5584[_0x58de6d(0x1f1)](_0x3d37d5,_0x3d37d5);if(_0x1dc982[_0x58de6d(0x17b)]===0x0)continue;this[_0x58de6d(0x369)](_0xc3eb53,_0x1dc982,_0x3b7561,_0x33f101,_0x20428e),this[_0x58de6d(0x22b)]=this['_handleHover']();}if(_0x296e9a&&_0x3d37d5){if(_0x4a5c9b===_0x1c002c[_0x58de6d(0x31e)][_0x58de6d(0x382)]){const _0x2fa6ad=new _0x567b9[(_0x58de6d(0x3c4))](_0x46fb78,_0x5d6832),{pointGroup:_0x4b9ca6}=(_0x3c90e2=_0x2fa6ad[_0x58de6d(0x1f1)](_0x296e9a,_0x3d37d5))!=null?_0x3c90e2:{};if(_0x4b9ca6==null||_0x4b9ca6[_0x58de6d(0x17b)]===0x0)continue;this[_0x58de6d(0x1a9)](_0xc3eb53,_0x4b9ca6,_0x3b7561,_0x33f101);}else{if(!_0x572640){const {borderBoxPointGroup:_0x13f4f2}=_0x1c5584[_0x58de6d(0x1f1)](_0x296e9a,_0x3d37d5);if(_0x13f4f2[_0x58de6d(0x17b)]===0x0)continue;this['_drawTextRange'](_0xc3eb53,_0x13f4f2,_0x3b7561,_0x33f101);}}}}}['_drawAnchor'](_0x367c6b,_0x2d4fc4,_0x4f9135,_0x12001c,_0x2bb0ae){const _0x593979=_0x26cc89,_0x56e1cd=this[_0x593979(0x318)](_0x2d4fc4),{left:_0x40b217,top:_0x18ce31,height:_0x5d0c96}=_0x56e1cd,_0x493a42=this[_0x593979(0x2a9)](),_0x132a95=_0x17b72d/_0x493a42,_0x597cc4=new _0x8f24d8[(_0x593979(0x233))](_0x55615e+_0x1c002c[_0x593979(0x215)]['generateRandomId'](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c,'height':_0x5d0c96,'width':_0x44362b,'fill':_0x367c6b||_0x8f24d8[_0x593979(0x2f6)](_0x1c002c[_0x593979(0x172)][_0x593979(0x346)],0x0),'strokeWidth':_0x132a95,'stroke':_0x422437,'evented':!0x0});this[_0x593979(0x3c8)]=_0x597cc4,this['_scene'][_0x593979(0x3d9)](_0x597cc4,_0x567b9['TEXT_RANGE_LAYER_INDEX']);const _0x144baf=new _0x8f24d8[(_0x593979(0x233))](_0x55615e+_0x1c002c[_0x593979(0x215)][_0x593979(0x2d2)](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c-_0x566e9a/0x2,'height':_0x566e9a,'width':_0x566e9a,'fill':_0x367c6b||_0x8f24d8['getColor'](_0x1c002c['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x367c6b||_0x8f24d8[_0x593979(0x2f6)](_0x1c002c[_0x593979(0x172)][_0x593979(0x346)],0x0),'evented':!0x1});this[_0x593979(0x2e1)]=_0x144baf,this[_0x593979(0x221)]['addObject'](_0x144baf,_0x567b9[_0x593979(0x327)]);const _0x118c00=new _0x260980(_0x55615e+_0x1c002c[_0x593979(0x215)][_0x593979(0x2d2)](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c-_0x3f14c6,'text':_0x2bb0ae,'color':_0x367c6b});this[_0x593979(0x259)]=_0x118c00,this[_0x593979(0x221)][_0x593979(0x3d9)](_0x118c00,_0x567b9[_0x593979(0x327)]),this['_hover']=!0x1;}[_0x26cc89(0x1a1)](){const _0x2ef763=_0x26cc89,_0x50a055=this[_0x2ef763(0x3c8)]['onPointerEnter$'][_0x2ef763(0x355)](()=>{const _0xe821c7=_0x2ef763;this[_0xe821c7(0x257)]=!0x0;}),_0x546934=this[_0x2ef763(0x3c8)]['onPointerLeave$'][_0x2ef763(0x355)](()=>{const _0x28c24a=_0x2ef763;this['_hideTimer']&&clearTimeout(this[_0x28c24a(0x36d)]),this[_0x28c24a(0x36d)]=setTimeout(()=>{const _0x25a65e=_0x28c24a;this[_0x25a65e(0x257)]=!0x1;},0x7d0);});return()=>{const _0x463ff8=_0x2ef763;_0x50a055[_0x463ff8(0x24b)](),_0x546934[_0x463ff8(0x24b)]();};}['_drawTextRange'](_0x42e166,_0x552967,_0x3f35f0,_0x536ab8){const _0x50ef9f=_0x26cc89,_0x599722=new _0x1c002c['ColorKit'](_0x42e166)[_0x50ef9f(0x3c9)](0.2)[_0x50ef9f(0x2ed)](),_0x5d6772=new _0x8f24d8[(_0x50ef9f(0x197))](_0x46a9c4+_0x1c002c[_0x50ef9f(0x215)][_0x50ef9f(0x2d2)](_0x3770be),{'pointsGroup':_0x552967,'fill':_0x599722||_0x8f24d8[_0x50ef9f(0x2f6)](_0x1c002c[_0x50ef9f(0x172)][_0x50ef9f(0x346)],0.2),'left':_0x3f35f0,'top':_0x536ab8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x50ef9f(0x295)]['push'](_0x5d6772),this[_0x50ef9f(0x221)][_0x50ef9f(0x3d9)](_0x5d6772,_0x567b9[_0x50ef9f(0x327)]);}[_0x26cc89(0x1a9)](_0x4890fd,_0x2741ee,_0x2757bb,_0xf6493d){const _0x384cf3=_0x26cc89,_0x527d85=new _0x1c002c[(_0x384cf3(0x3f7))](_0x4890fd)[_0x384cf3(0x3c9)](0.2)[_0x384cf3(0x2ed)](),_0x178cad=new _0x8f24d8[(_0x384cf3(0x197))](_0x19483a+_0x1c002c[_0x384cf3(0x215)][_0x384cf3(0x2d2)](_0x3770be),{'pointsGroup':_0x2741ee,'fill':_0x527d85||_0x8f24d8['getColor'](_0x1c002c['COLORS'][_0x384cf3(0x346)],0.2),'left':_0x2757bb,'top':_0xf6493d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x384cf3(0x1c9)](_0x178cad),this[_0x384cf3(0x221)][_0x384cf3(0x3d9)](_0x178cad,_0x567b9[_0x384cf3(0x327)]);}[_0x26cc89(0x318)](_0x46aff9){const _0x35e352=_0x46aff9[0x0],_0x3155fd=_0x35e352[0x0],_0x317c27=_0x35e352[0x2],{x:_0x214284,y:_0x387ad4}=_0x3155fd,{x:_0x4ee6a7,y:_0x51e7a9}=_0x317c27;return{'left':_0x214284,'top':_0x387ad4,'width':_0x4ee6a7-_0x214284,'height':_0x51e7a9-_0x387ad4};}['_getScale'](){const _0x36fccb=_0x26cc89,{scaleX:_0x3e9566,scaleY:_0x5a5a81}=this[_0x36fccb(0x221)]['getAncestorScale']();return Math[_0x36fccb(0x3dd)](_0x3e9566,_0x5a5a81);}}var _0x309487=Object['getOwnPropertyDescriptor'],_0x35a786=(_0x432f9f,_0xfa709b,_0x4e82d8,_0x4cbd3a)=>{for(var _0x420e9f=_0x4cbd3a>0x1?void 0x0:_0x4cbd3a?_0x309487(_0xfa709b,_0x4e82d8):_0xfa709b,_0x4ed9ab=_0x432f9f['length']-0x1,_0x3bbc8f;_0x4ed9ab>=0x0;_0x4ed9ab--)(_0x3bbc8f=_0x432f9f[_0x4ed9ab])&&(_0x420e9f=_0x3bbc8f(_0x420e9f)||_0x420e9f);return _0x420e9f;},_0xab5090=(_0x5a6773,_0x15d570)=>(_0x272262,_0x422735)=>_0x15d570(_0x272262,_0x422735,_0x5a6773);let _0x1b4ad8=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x1e7243,_0xd47d09,_0x636fb7,_0x30b4f6,_0x243671){const _0x479884=_0x26cc89;super(),_0xd9b4bc(this,_0x479884(0x329),[]),_0xd9b4bc(this,_0x479884(0x26c),[]),(this[_0x479884(0x1e3)]=_0x1e7243,this[_0x479884(0x1d2)]=_0xd47d09,this[_0x479884(0x383)]=_0x636fb7,this['_commandService']=_0x30b4f6,this[_0x479884(0x366)]=_0x243671,this[_0x479884(0x2ee)]());}[_0x26cc89(0x2ee)](){const _0x188df2=_0x26cc89,_0x4aa8f8=this[_0x188df2(0x1e3)][_0x188df2(0x235)],_0x4b70be=this[_0x188df2(0x1d2)];this[_0x188df2(0x2bc)](_0x4287b5[_0x188df2(0x3b4)]([this[_0x188df2(0x383)][_0x188df2(0x349)](_0x4aa8f8),this[_0x188df2(0x366)]['currentTheme$']])[_0x188df2(0x1b0)](_0x5d572c[_0x188df2(0x293)](([_0x26156c,_0x5618a1])=>({'skeleton':_0x4b70be[_0x188df2(0x16f)](),'cursors':[..._0x26156c[_0x188df2(0x248)]()]['flatMap'](_0x2ca973=>({..._0x2ca973,'color':this['_themeService']['getColorFromTheme'](_0x2ca973['color'])}))})))[_0x188df2(0x253)](_0x33eb72=>{const _0x365eb8=_0x188df2;if(this[_0x365eb8(0x3d7)](),_0x33eb72){const {skeleton:_0x2e33b5,cursors:_0x1309e6}=_0x33eb72;this[_0x365eb8(0x1ba)](_0x2e33b5,_0x1309e6);}})),this[_0x188df2(0x1f9)](),this[_0x188df2(0x1f4)]();}[_0x26cc89(0x1ba)](_0x36a6bf,_0x289843){const _0x1dadfb=_0x26cc89,{scene:_0x53fa4d,mainComponent:_0x4206ef}=this[_0x1dadfb(0x1e3)],_0x26e2c2=_0x289843[_0x1dadfb(0x293)](_0x14c0c2=>new _0x44bb85(_0x14c0c2,_0x53fa4d,_0x36a6bf,_0x4206ef));this['_cursorShapes']=_0x26e2c2,this[_0x1dadfb(0x26c)]=_0x289843;}[_0x26cc89(0x2c3)](){const _0x14188c=_0x26cc89;this['_removeCollabCursors']();const {scene:_0xfd5581,mainComponent:_0x3d341f}=this[_0x14188c(0x1e3)],_0x1a990e=this[_0x14188c(0x1d2)]['getSkeleton'](),_0x8092a7=this[_0x14188c(0x26c)][_0x14188c(0x293)](_0x12c919=>new _0x44bb85(_0x12c919,_0xfd5581,_0x1a990e,_0x3d341f));this[_0x14188c(0x329)]=_0x8092a7;}[_0x26cc89(0x3d7)](){const _0x22bc22=_0x26cc89;this['_cursorShapes'][_0x22bc22(0x36a)](_0x470462=>_0x470462['dispose']()),this[_0x22bc22(0x329)]=[];}['_initCommandExecutedListener'](){const _0x484fbe=_0x26cc89,_0x2c5bbe=[_0x567b9[_0x484fbe(0x228)]['id']];this[_0x484fbe(0x2bc)](this[_0x484fbe(0x2c1)][_0x484fbe(0x227)](_0x47af2e=>{const _0x3ae6d1=_0x484fbe;_0x2c5bbe['includes'](_0x47af2e['id'])&&_0x47af2e[_0x3ae6d1(0x3b2)][_0x3ae6d1(0x235)]===this['_context'][_0x3ae6d1(0x235)]&&this['_refreshCollabCursors']();}));}[_0x26cc89(0x1f9)](){const _0x5c133a=_0x26cc89;this['disposeWithMe'](_0x1c002c[_0x5c133a(0x37e)](this[_0x5c133a(0x1e3)][_0x5c133a(0x3ce)][_0x5c133a(0x3f3)])[_0x5c133a(0x1b0)](_0x5d572c[_0x5c133a(0x2bb)](_0x5bd779=>_0x5bd779[_0x5c133a(0x1ee)]===_0x8f24d8[_0x5c133a(0x27f)]['resize']),_0x5d572c['throttleTime'](0x10))[_0x5c133a(0x253)](()=>{const _0x521c1d=_0x5c133a;this[_0x521c1d(0x2c3)]();}));}};_0x1b4ad8=_0x35a786([_0xab5090(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1100fd['DocSkeletonManagerService'])),_0xab5090(0x2,_0x1c002c[_0x26cc89(0x273)](_0x402205)),_0xab5090(0x3,_0x1c002c[_0x26cc89(0x20c)]),_0xab5090(0x4,_0x1c002c['Inject'](_0x1c002c[_0x26cc89(0x39e)]))],_0x1b4ad8);const _0x467d3d=0x1,_0x4999e9=1.5;class _0x9aba2b extends _0x8f24d8['Shape']{constructor(_0x4ecce1,_0x1bbb03){const _0x19fea4=_0x26cc89;super(_0x4ecce1,_0x1bbb03),_0xd9b4bc(this,_0x19fea4(0x2bf)),_0xd9b4bc(this,_0x19fea4(0x2f3),!0x1),_0xd9b4bc(this,_0x19fea4(0x1b3)),_0xd9b4bc(this,_0x19fea4(0x340),''),_0xd9b4bc(this,_0x19fea4(0x17a),_0x19fea4(0x278)),_0xd9b4bc(this,_0x19fea4(0x3df)),(_0x1bbb03&&this['setShapeProps'](_0x1bbb03),this[_0x19fea4(0x25f)]['subscribeEvent'](()=>this[_0x19fea4(0x3ba)]({'hovered':!0x0})),this['onPointerLeave$'][_0x19fea4(0x355)](()=>this[_0x19fea4(0x3ba)]({'hovered':!0x1})));}[_0x26cc89(0x3ba)](_0x18f386){const _0x13a4ae=_0x26cc89;var _0x1560d1,_0x3caba5,_0x6b213e,_0x287667,_0x3edd86,_0x211921;this[_0x13a4ae(0x2bf)]=(_0x1560d1=_0x18f386['color'])!=null?_0x1560d1:this[_0x13a4ae(0x2bf)],this[_0x13a4ae(0x2f3)]=(_0x3caba5=_0x18f386[_0x13a4ae(0x29e)])!=null?_0x3caba5:this[_0x13a4ae(0x2f3)],this['_range']=(_0x6b213e=_0x18f386[_0x13a4ae(0x28d)])!=null?_0x6b213e:this[_0x13a4ae(0x1b3)],this['_name']=(_0x287667=_0x18f386[_0x13a4ae(0x194)])!=null?_0x287667:this[_0x13a4ae(0x340)],this[_0x13a4ae(0x17a)]=(_0x3edd86=_0x18f386[_0x13a4ae(0x1fe)])!=null?_0x3edd86:this[_0x13a4ae(0x17a)],this['_backgroundColor']=(_0x211921=_0x18f386[_0x13a4ae(0x3c5)])!=null?_0x211921:this[_0x13a4ae(0x3df)],this[_0x13a4ae(0x1d9)]({'width':_0x18f386['width'],'height':_0x18f386[_0x13a4ae(0x2ce)]});}['onMouseMove'](_0x28ad80){const _0x45f139=_0x26cc89,{row:_0x8d51af,column:_0x15fa6e}=_0x28ad80;if(_0x8d51af>=this[_0x45f139(0x1b3)]['startRow']&&_0x8d51af<=this['_range'][_0x45f139(0x380)]&&_0x15fa6e>=this[_0x45f139(0x1b3)][_0x45f139(0x23b)]&&_0x15fa6e<=this[_0x45f139(0x1b3)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x45f139(0x3ba)]({'hovered':!0x1});}['triggerDblclick'](_0x636c1a){return!0x1;}[_0x26cc89(0x208)](_0x2b485c){const _0x39f8ef=_0x26cc89;_0x8f24d8[_0x39f8ef(0x233)][_0x39f8ef(0x179)](_0x2b485c,{'width':this[_0x39f8ef(0x3bc)],'height':this[_0x39f8ef(0x2ce)],'strokeWidth':_0x4999e9,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x39f8ef(0x3df)]}),this[_0x39f8ef(0x2f3)]&&(_0x2b485c[_0x39f8ef(0x281)](),_0x2b485c[_0x39f8ef(0x363)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x39f8ef(0x3e6)?0x0:-0x14),_0x260980[_0x39f8ef(0x179)](_0x2b485c,{'text':this['_name'],'color':this[_0x39f8ef(0x2bf)]}),_0x2b485c[_0x39f8ef(0x2cf)]());}}var _0x11b25e=Object[_0x26cc89(0x252)],_0x383d16=(_0x11b415,_0x20c4f3,_0x3cde1b,_0x3c47db)=>{for(var _0x55fe78=_0x3c47db>0x1?void 0x0:_0x3c47db?_0x11b25e(_0x20c4f3,_0x3cde1b):_0x20c4f3,_0x27b758=_0x11b415['length']-0x1,_0x537c74;_0x27b758>=0x0;_0x27b758--)(_0x537c74=_0x11b415[_0x27b758])&&(_0x55fe78=_0x537c74(_0x55fe78)||_0x55fe78);return _0x55fe78;},_0x2b528a=(_0x4c13f9,_0x4dfa83)=>(_0x5f3df9,_0x431060)=>_0x4dfa83(_0x5f3df9,_0x431060,_0x4c13f9);const _0x1d6759=0x1389;let _0x27c244=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x12f730,_0x3c3d80,_0x12e724,_0x37fba7){const _0x56ee77=_0x26cc89;super(),_0xd9b4bc(this,_0x56ee77(0x26c),new Set()),_0xd9b4bc(this,_0x56ee77(0x186),null),(this[_0x56ee77(0x1e3)]=_0x12f730,this['_sheetSkeletonManagerService']=_0x3c3d80,this['_collabCursorController']=_0x12e724,this[_0x56ee77(0x366)]=_0x37fba7,this[_0x56ee77(0x2ee)]());}[_0x26cc89(0x2ee)](){const _0x1cf4e5=_0x26cc89;this[_0x1cf4e5(0x333)][_0x1cf4e5(0x1d6)][_0x1cf4e5(0x1b0)](_0x5d572c[_0x1cf4e5(0x342)](this[_0x1cf4e5(0x16e)]),_0x5d572c[_0x1cf4e5(0x20d)](_0x888102=>{const _0x47c653=_0x1cf4e5;if(_0x888102){const _0x39af73=_0x888102[_0x47c653(0x316)];return _0x4287b5[_0x47c653(0x3b4)](this[_0x47c653(0x383)][_0x47c653(0x349)](this[_0x47c653(0x1e3)][_0x47c653(0x235)]),this[_0x47c653(0x366)][_0x47c653(0x1d7)])[_0x47c653(0x1b0)](_0x5d572c[_0x47c653(0x293)](([_0x2f88a0,_0x541194])=>{const _0x5d17db=_0x47c653,_0x3d6bfc=new Map();return _0x2f88a0[_0x5d17db(0x36a)]((_0x3c2da1,_0x236f37)=>{const _0x4344a7=_0x5d17db;if(_0x3c2da1['sheetID']===_0x39af73){const _0x9285de={..._0x3c2da1};_0x9285de[_0x4344a7(0x1ad)]=this[_0x4344a7(0x366)][_0x4344a7(0x2a5)](_0x3c2da1[_0x4344a7(0x1ad)]),_0x3d6bfc[_0x4344a7(0x391)](_0x236f37,_0x9285de);}}),{'skeleton':_0x888102,'cursors':_0x3d6bfc};}));}return _0x4287b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x1cf4e5(0x253)](({skeleton:_0x27ef8e,cursors:_0x209296})=>{const _0x8ec27e=_0x1cf4e5;this[_0x8ec27e(0x3d7)](),_0x27ef8e&&this[_0x8ec27e(0x1ba)](_0x27ef8e,_0x209296);}),this[_0x1cf4e5(0x333)][_0x1cf4e5(0x1d6)][_0x1cf4e5(0x253)](_0x201e41=>{const _0x3ba223=_0x1cf4e5;if(_0x201e41==null)return;const {skeleton:_0x501616}=_0x201e41,{scene:_0x53a0c8}=this[_0x3ba223(0x1e3)];_0x53a0c8[_0x3ba223(0x2d1)][_0x3ba223(0x355)](_0x1c002c['debounce'](_0x4c5662=>{const _0x3d0578=_0x3ba223;var _0x2f1bfd,_0x4cbe45;const {offsetX:_0xcaf66c,offsetY:_0x265c3e}=_0x4c5662,{x:_0x55783a,y:_0x2f68f1}=_0x53a0c8[_0x3d0578(0x1ab)](_0x8f24d8[_0x3d0578(0x37a)]['FromArray']([_0xcaf66c,_0x265c3e])),{scaleX:_0x4b93b7,scaleY:_0x565543}=_0x53a0c8[_0x3d0578(0x2be)](),_0x2eb9b3=_0x53a0c8[_0x3d0578(0x3da)](_0x8f24d8[_0x3d0578(0x29a)][_0x3d0578(0x33b)]),_0x11f3b0=_0x53a0c8[_0x3d0578(0x214)](_0x8f24d8[_0x3d0578(0x37a)][_0x3d0578(0x272)]([_0x55783a,_0x2f68f1]),_0x2eb9b3),_0x10cb12=_0x501616[_0x3d0578(0x2ab)](_0xcaf66c,_0x265c3e,_0x4b93b7,_0x565543,_0x11f3b0);((_0x2f1bfd=this[_0x3d0578(0x186)])==null?void 0x0:_0x2f1bfd[_0x3d0578(0x360)])===_0x10cb12['column']&&((_0x4cbe45=this[_0x3d0578(0x186)])==null?void 0x0:_0x4cbe45['row'])===_0x10cb12[_0x3d0578(0x29f)]||this[_0x3d0578(0x26c)]['forEach'](_0xc34836=>{const _0x15298f=_0x3d0578;_0xc34836[_0x15298f(0x302)](_0x10cb12);});},0x64));});}[_0x26cc89(0x1ba)](_0x52cb9c,_0x2a947e){const _0x28c371=_0x26cc89;var _0x43082a;const _0x584432=(_0x43082a=this[_0x28c371(0x333)][_0x28c371(0x189)]())==null?void 0x0:_0x43082a[_0x28c371(0x3fd)];if(!_0x584432)return;const _0x5dbabb=this['_getSheetObject']();if(!_0x5dbabb)return;this[_0x28c371(0x26c)][_0x28c371(0x36a)](_0x386131=>{_0x386131['makeDirty']();});const {scene:_0x2dac73}=_0x5dbabb,_0x16e7a8=_0x4ff3b5(Array[_0x28c371(0x3de)](_0x2a947e['values']()))[_0x28c371(0x293)](_0x5a42cc=>{const _0x584155=_0x28c371,{color:_0xb6e1b9,range:_0x3fc14c,name:_0x3598af,selection:_0x549927,sheetID:_0x3bef36}=_0x5a42cc,{startColumn:_0xcd56a2,startRow:_0x2f63dd,endColumn:_0x23c3f1,endRow:_0x328b21}=_0x3fc14c,_0x3166d3=_0x17d02e['getCoordByCell'](_0x2f63dd,_0xcd56a2,_0x2dac73,_0x584432),_0x47bddd=_0x17d02e[_0x584155(0x251)](_0x328b21,_0x23c3f1,_0x2dac73,_0x584432),{columnHeaderHeightAndMarginTop:_0x162df8}=_0x584432,{startX:_0x21e903,startY:_0x57fca4}=_0x3166d3,{endX:_0xb39068,endY:_0x3b0db1}=_0x47bddd,_0x4d6bd2=_0xb39068-_0x21e903,_0x5646a1=_0x3b0db1-_0x57fca4,_0x276e98={'labelPosition':_0x57fca4-_0x162df8>=_0x3f14c6?_0x584155(0x278):_0x584155(0x3e6),'sheetID':_0x3bef36,'range':_0x3fc14c,'color':_0xb6e1b9,'name':_0x3598af,'selection':_0x549927,'left':_0x21e903,'top':_0x57fca4,'width':_0x4d6bd2,'height':_0x5646a1,'evented':!0x1,'zIndex':_0x1d6759};return new _0x9aba2b(_0x3598af,_0x276e98);});_0x2dac73[_0x28c371(0x1ef)](_0x16e7a8,_0x467d3d),this[_0x28c371(0x26c)]=new Set(_0x16e7a8);}[_0x26cc89(0x3d7)](){const _0x4092ac=_0x26cc89;var _0x33a388;(_0x33a388=this[_0x4092ac(0x26c)])==null||_0x33a388[_0x4092ac(0x36a)](_0x45517f=>_0x45517f[_0x4092ac(0x203)]());}[_0x26cc89(0x35b)](){const _0x38d92a=_0x26cc89;return _0x17d02e[_0x38d92a(0x2d3)](this[_0x38d92a(0x1e3)][_0x38d92a(0x3c0)],this[_0x38d92a(0x1e3)]);}};_0x27c244=_0x383d16([_0x2b528a(0x1,_0x1c002c[_0x26cc89(0x273)](_0x17d02e[_0x26cc89(0x292)])),_0x2b528a(0x2,_0x1c002c['Inject'](_0x402205)),_0x2b528a(0x3,_0x1c002c['Inject'](_0x1c002c[_0x26cc89(0x39e)]))],_0x27c244);function _0x4ff3b5(_0x19057a){const _0x566d8f=_0x26cc89,_0x539697=new Map();return _0x19057a[_0x566d8f(0x36a)](_0x4eeed5=>{const _0x42f10d=_0x566d8f;if(_0x539697['has'](_0x4eeed5['selection'])){const _0x33806b=_0x539697[_0x42f10d(0x1dd)](_0x4eeed5[_0x42f10d(0x288)]);_0x33806b[_0x42f10d(0x194)]+=',\x20'+_0x4eeed5[_0x42f10d(0x194)];}else _0x539697['set'](_0x4eeed5[_0x42f10d(0x288)],_0x4eeed5);}),Array[_0x566d8f(0x3de)](_0x539697['values']());}var _0xb63cf8=function(){const _0x490efd=_0x26cc89;return _0xb63cf8=Object['assign']||function(_0x4e64d3){const _0x52cfdf=_0x30a1;for(var _0x77a540,_0x559f9d=0x1,_0x1b1925=arguments[_0x52cfdf(0x17b)];_0x559f9d<_0x1b1925;_0x559f9d++){_0x77a540=arguments[_0x559f9d];for(var _0x4f2f7b in _0x77a540)Object[_0x52cfdf(0x196)][_0x52cfdf(0x2c5)]['call'](_0x77a540,_0x4f2f7b)&&(_0x4e64d3[_0x4f2f7b]=_0x77a540[_0x4f2f7b]);}return _0x4e64d3;},_0xb63cf8[_0x490efd(0x1a4)](this,arguments);},_0x381d59=function(_0x595da7,_0x1ccdb7){const _0x473aa1=_0x26cc89;var _0x12f11e={};for(var _0xdc44e6 in _0x595da7)Object[_0x473aa1(0x196)][_0x473aa1(0x2c5)]['call'](_0x595da7,_0xdc44e6)&&_0x1ccdb7[_0x473aa1(0x2f2)](_0xdc44e6)<0x0&&(_0x12f11e[_0xdc44e6]=_0x595da7[_0xdc44e6]);if(_0x595da7!=null&&typeof Object[_0x473aa1(0x3d8)]==_0x473aa1(0x3a6)){for(var _0x48799e=0x0,_0xdc44e6=Object[_0x473aa1(0x3d8)](_0x595da7);_0x48799e<_0xdc44e6[_0x473aa1(0x17b)];_0x48799e++)_0x1ccdb7['indexOf'](_0xdc44e6[_0x48799e])<0x0&&Object[_0x473aa1(0x196)][_0x473aa1(0x2fb)][_0x473aa1(0x1e0)](_0x595da7,_0xdc44e6[_0x48799e])&&(_0x12f11e[_0xdc44e6[_0x48799e]]=_0x595da7[_0xdc44e6[_0x48799e]]);}return _0x12f11e;},_0x4d32d7=_0x59786a[_0x26cc89(0x348)](function(_0xbe1cb3,_0x552d16){const _0x32da62=_0x26cc89;var _0x5ab789=_0xbe1cb3[_0x32da62(0x218)],_0x1be41b=_0xbe1cb3['id'],_0x562228=_0xbe1cb3[_0x32da62(0x176)],_0x3b2625=_0xbe1cb3[_0x32da62(0x2e4)],_0x504369=_0x381d59(_0xbe1cb3,['icon','id',_0x32da62(0x176),_0x32da62(0x2e4)]),_0x533802=_0x32da62(0x3dc)[_0x32da62(0x22e)](_0x1be41b,'\x20')['concat'](_0x562228||'')[_0x32da62(0x241)](),_0x543897=_0x59786a['useRef']('_'[_0x32da62(0x22e)](_0x5d3653()));return _0x3a7276(_0x5ab789,''[_0x32da62(0x22e)](_0x1be41b),{'defIds':_0x5ab789[_0x32da62(0x371)],'idSuffix':_0x543897[_0x32da62(0x247)]},_0xb63cf8({'ref':_0x552d16,'className':_0x533802},_0x504369),_0x3b2625);});function _0x3a7276(_0x497b38,_0x3d555f,_0x19e8d8,_0x46ef90,_0xd13b0e){const _0x289d0f=_0x26cc89;return _0x59786a[_0x289d0f(0x245)](_0x497b38['tag'],_0xb63cf8(_0xb63cf8({'key':_0x3d555f},_0x5940ad(_0x497b38,_0x19e8d8,_0xd13b0e)),_0x46ef90),(_0x26d7cc(_0x497b38,_0x19e8d8)[_0x289d0f(0x1c4)]||[])['map'](function(_0x3b1e9f,_0x69f2a9){const _0x5e0314=_0x289d0f;return _0x3a7276(_0x3b1e9f,''[_0x5e0314(0x22e)](_0x3d555f,'-')[_0x5e0314(0x22e)](_0x497b38['tag'],'-')['concat'](_0x69f2a9),_0x19e8d8,void 0x0,_0xd13b0e);}));}function _0x5940ad(_0x347695,_0x1bc2e3,_0xf58855){const _0x122c75=_0x26cc89;var _0x140643=_0xb63cf8({},_0x347695[_0x122c75(0x23e)]);_0xf58855!=null&&_0xf58855[_0x122c75(0x1bd)]&&_0x140643[_0x122c75(0x1b2)]===_0x122c75(0x1bd)&&(_0x140643[_0x122c75(0x1b2)]=_0xf58855[_0x122c75(0x1bd)]),_0x347695[_0x122c75(0x3b8)]===_0x122c75(0x3f0)&&_0x140643['id']&&(_0x140643['id']=_0x140643['id']+_0x1bc2e3[_0x122c75(0x223)]),Object[_0x122c75(0x1c8)](_0x140643)[_0x122c75(0x36a)](function(_0x2a3ca4){const _0x5bf69e=_0x122c75;var _0xad6ea3=_0x2a3ca4[0x0],_0x14daa6=_0x2a3ca4[0x1];_0xad6ea3===_0x5bf69e(0x3f0)&&typeof _0x14daa6==_0x5bf69e(0x401)&&(_0x140643[_0xad6ea3]=_0x14daa6['replace'](/url\(#(.*)\)/,_0x5bf69e(0x308)['concat'](_0x1bc2e3[_0x5bf69e(0x223)],')')));});var _0x1a6ad0=_0x1bc2e3[_0x122c75(0x371)];return!_0x1a6ad0||_0x1a6ad0[_0x122c75(0x17b)]===0x0||(_0x347695[_0x122c75(0x3b8)]===_0x122c75(0x2b0)&&_0x140643['xlink:href']&&(_0x140643[_0x122c75(0x399)]=_0x140643[_0x122c75(0x399)]+_0x1bc2e3[_0x122c75(0x223)]),Object['entries'](_0x140643)['forEach'](function(_0x45eab7){const _0x4d2642=_0x122c75;var _0x15f71f=_0x45eab7[0x0],_0x1a9daa=_0x45eab7[0x1];typeof _0x1a9daa==_0x4d2642(0x401)&&(_0x140643[_0x15f71f]=_0x1a9daa[_0x4d2642(0x265)](/url\(#(.*)\)/,_0x4d2642(0x308)[_0x4d2642(0x22e)](_0x1bc2e3[_0x4d2642(0x223)],')')));})),_0x140643;}function _0x26d7cc(_0x4af6da,_0x4a29d0){const _0x2d4c32=_0x26cc89;var _0x5a372a,_0x482caf=_0x4a29d0['defIds'];return!_0x482caf||_0x482caf[_0x2d4c32(0x17b)]===0x0?_0x4af6da:_0x4af6da[_0x2d4c32(0x3b8)]===_0x2d4c32(0x392)&&(!((_0x5a372a=_0x4af6da[_0x2d4c32(0x1c4)])===null||_0x5a372a===void 0x0)&&_0x5a372a[_0x2d4c32(0x17b)])?_0xb63cf8(_0xb63cf8({},_0x4af6da),{'children':_0x4af6da[_0x2d4c32(0x1c4)][_0x2d4c32(0x293)](function(_0x1a0f32){const _0x592743=_0x2d4c32;return typeof _0x1a0f32[_0x592743(0x23e)]['id']=='string'&&_0x482caf&&_0x482caf[_0x592743(0x2f2)](_0x1a0f32['attrs']['id'])>-0x1?_0xb63cf8(_0xb63cf8({},_0x1a0f32),{'attrs':_0xb63cf8(_0xb63cf8({},_0x1a0f32[_0x592743(0x23e)]),{'id':_0x1a0f32[_0x592743(0x23e)]['id']+_0x4a29d0[_0x592743(0x223)]})}):_0x1a0f32;})}):_0x4af6da;}function _0x5d3653(){const _0x32f980=_0x26cc89;return Math[_0x32f980(0x209)]()['toString'](0x24)[_0x32f980(0x31f)](0x2,0x8);}_0x4d32d7[_0x26cc89(0x3e0)]=_0x26cc89(0x1d8);var _0x42a84d={'tag':_0x26cc89(0x219),'attrs':{'fill':_0x26cc89(0x2e5),'viewBox':_0x26cc89(0x2af),'width':_0x26cc89(0x182),'height':_0x26cc89(0x182)},'children':[{'tag':'g','attrs':{'clipPath':_0x26cc89(0x351)},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'stroke':_0x26cc89(0x35e),'d':_0x26cc89(0x386),'strokeLinecap':'round','strokeLinejoin':_0x26cc89(0x2b1),'strokeWidth':1.2}}]},{'tag':_0x26cc89(0x392),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x26cc89(0x28b)},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'fill':_0x26cc89(0x335),'d':_0x26cc89(0x26a)}}]}]}],'defIds':[_0x26cc89(0x28b)]},_0x3a4d52=_0x59786a[_0x26cc89(0x348)](function(_0x5578e1,_0x2c9057){const _0x34f4dd=_0x26cc89;return _0x59786a[_0x34f4dd(0x245)](_0x4d32d7,Object[_0x34f4dd(0x35f)]({},_0x5578e1,{'id':'off-line-single','ref':_0x2c9057,'icon':_0x42a84d}));});_0x3a4d52[_0x26cc89(0x3e0)]=_0x26cc89(0x1b7);var _0x4a7a26={'tag':_0x26cc89(0x219),'attrs':{'fill':_0x26cc89(0x2e5),'viewBox':_0x26cc89(0x3bd),'width':_0x26cc89(0x182),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x26cc89(0x3d1),'strokeLinecap':_0x26cc89(0x2b1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x26cc89(0x392),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'fill':_0x26cc89(0x335),'d':_0x26cc89(0x26a),'transform':_0x26cc89(0x3cd)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x233584=_0x59786a[_0x26cc89(0x348)](function(_0x20aa43,_0x7a5a35){const _0x4f8ef3=_0x26cc89;return _0x59786a[_0x4f8ef3(0x245)](_0x4d32d7,Object['assign']({},_0x20aa43,{'id':_0x4f8ef3(0x167),'ref':_0x7a5a35,'icon':_0x4a7a26}));});_0x233584['displayName']=_0x26cc89(0x261);function _0x2fd794(_0x1b46e3){const _0x195610=_0x26cc89;switch(_0x1b46e3){case _0x827ff8['CollaborationStatus'][_0x195610(0x324)]:return _0x195610(0x3d4);case _0x827ff8[_0x195610(0x287)][_0x195610(0x34c)]:return'collabStatus.conflict';case _0x827ff8[_0x195610(0x287)][_0x195610(0x174)]:return'collabStatus.fetchMiss';case _0x827ff8[_0x195610(0x287)][_0x195610(0x1d0)]:return _0x195610(0x1db);case _0x827ff8['CollaborationStatus']['AWAITING']:case _0x827ff8['CollaborationStatus'][_0x195610(0x27c)]:return _0x195610(0x1c2);case _0x827ff8[_0x195610(0x287)][_0x195610(0x1eb)]:case _0x827ff8[_0x195610(0x287)][_0x195610(0x35c)]:return _0x195610(0x3c6);}}function _0x725819(_0x2be9ed){const _0x4d6174=_0x26cc89,{status$:_0x16358d}=_0x2be9ed,_0x5f0cf1=_0x1c1408['useObservable'](_0x16358d,_0x827ff8[_0x4d6174(0x287)]['NOT_COLLAB']),_0x3aeb52=_0x1c1408['useDependency'](_0x1c002c[_0x4d6174(0x29d)]),_0x510736=_0x1c1408[_0x4d6174(0x3e9)](_0x827ff8[_0x4d6174(0x20e)]),_0x3b566f=_0x5f0cf1!==_0x827ff8[_0x4d6174(0x287)]['OFFLINE'],_0x288643=_0x3aeb52['t'](_0x2fd794(_0x5f0cf1)),_0x59f0cb=_0x3b566f?_0x3c107a['jsx'](_0x233584,{}):_0x3c107a[_0x4d6174(0x3f9)](_0x3a4d52,{}),_0xe6fc1c=_0x59786a[_0x4d6174(0x1f8)](()=>{const _0x45c8dc=_0x4d6174;_0x3b566f||_0x510736[_0x45c8dc(0x1bb)]();},[_0x3b566f,_0x510736]);function _0x1ff40e(){const _0x4af878=_0x4d6174;return _0x3c107a['jsxs'](_0x4af878(0x2c2),{'className':'univer-flex\x20univer-items-center','onClick':_0xe6fc1c,'children':[_0x3c107a['jsx'](_0x4af878(0x2c2),{'className':_0x29c2d3[_0x4af878(0x15f)](_0x4af878(0x25b),{'univer-text-green-500':_0x3b566f,'univer-text-red-500':!_0x3b566f}),'children':_0x59f0cb}),_0x3c107a[_0x4af878(0x3f9)](_0x4af878(0x2c2),{'className':_0x4af878(0x27b),'children':_0x288643})]});}return _0x3b566f?_0x1ff40e():_0x3c107a[_0x4d6174(0x3f9)](_0x29c2d3['Tooltip'],{'title':_0x3aeb52['t'](_0x4d6174(0x1e9)),'children':_0x1ff40e()});}var _0x1697b3=Object[_0x26cc89(0x252)],_0x59869=(_0xc0a6e0,_0x3f2fcd,_0x53820c,_0x27b689)=>{const _0x16e074=_0x26cc89;for(var _0x529a06=_0x27b689>0x1?void 0x0:_0x27b689?_0x1697b3(_0x3f2fcd,_0x53820c):_0x3f2fcd,_0xbc8d67=_0xc0a6e0[_0x16e074(0x17b)]-0x1,_0xb9ebb4;_0xbc8d67>=0x0;_0xbc8d67--)(_0xb9ebb4=_0xc0a6e0[_0xbc8d67])&&(_0x529a06=_0xb9ebb4(_0x529a06)||_0x529a06);return _0x529a06;},_0x1d08ab=(_0x57c08b,_0xfa4065)=>(_0x319ad1,_0x4f9210)=>_0xfa4065(_0x319ad1,_0x4f9210,_0x57c08b);_0x3dc1b0[_0x26cc89(0x16b)]=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x12fef9,_0x4eda3e,_0x49ab22,_0x5b879b){const _0x506c98=_0x26cc89;super(),_0xd9b4bc(this,'_status$',new _0x4287b5['BehaviorSubject'](_0x827ff8[_0x506c98(0x287)][_0x506c98(0x1d0)])),(this[_0x506c98(0x3b6)]=_0x12fef9,this[_0x506c98(0x19f)]=_0x4eda3e,this[_0x506c98(0x21a)]=_0x49ab22,this['_uiPartsService']=_0x5b879b,this['_initStatusComponent'](),this[_0x506c98(0x31b)]());}[_0x26cc89(0x31b)](){const _0x1306c7=_0x26cc89;this['disposeWithMe'](this[_0x1306c7(0x3b6)]['focused$'][_0x1306c7(0x1b0)](_0x4287b5['switchMap'](()=>{const _0x567f31=_0x1306c7,_0x1c30ab=this[_0x567f31(0x3b6)][_0x567f31(0x309)]();return _0x1c30ab?this[_0x567f31(0x21a)]['getCollabEntity$'](_0x1c30ab[_0x567f31(0x212)]()):_0x4287b5['of'](null);}),_0x4287b5[_0x1306c7(0x20d)](_0x1e6a9f=>_0x1e6a9f?_0x1e6a9f['status$']:_0x4287b5['of'](_0x827ff8[_0x1306c7(0x287)][_0x1306c7(0x1d0)])))['subscribe'](_0xbf513d=>{const _0x44b897=_0x1306c7;this[_0x44b897(0x36b)][_0x44b897(0x2da)](_0xbf513d);}));}['_initStatusComponent'](){const _0x584075=_0x26cc89;this[_0x584075(0x2bc)](this[_0x584075(0x3ca)][_0x584075(0x18d)](_0x1c1408[_0x584075(0x34d)]['HEADER_MENU'],()=>_0x1c1408['connectInjector'](_0x9000d8({'status$':this[_0x584075(0x36b)]['asObservable']()}),this['_injector'])));}},_0x3dc1b0[_0x26cc89(0x16b)]=_0x59869([_0x1d08ab(0x0,_0x1c002c['IUniverInstanceService']),_0x1d08ab(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x1d08ab(0x2,_0x1c002c['Inject'](_0x827ff8[_0x26cc89(0x201)])),_0x1d08ab(0x3,_0x1c1408[_0x26cc89(0x226)])],_0x3dc1b0[_0x26cc89(0x16b)]);function _0x9000d8(_0x2b8a10){const {status$:_0x4c53b5}=_0x2b8a10;return function(){const _0x4f37a6=_0x30a1;return _0x3c107a[_0x4f37a6(0x3f9)](_0x725819,{'status$':_0x4c53b5});};}var _0x3e3854=Object[_0x26cc89(0x252)],_0x4a2e13=(_0x3ac792,_0x98f42c,_0x13874c,_0x51d4e4)=>{const _0x246838=_0x26cc89;for(var _0x462bd0=_0x51d4e4>0x1?void 0x0:_0x51d4e4?_0x3e3854(_0x98f42c,_0x13874c):_0x98f42c,_0x35a20e=_0x3ac792[_0x246838(0x17b)]-0x1,_0x5b58a2;_0x35a20e>=0x0;_0x35a20e--)(_0x5b58a2=_0x3ac792[_0x35a20e])&&(_0x462bd0=_0x5b58a2(_0x462bd0)||_0x462bd0);return _0x462bd0;},_0x4bbde7=(_0x536021,_0x50a9dd)=>(_0x115196,_0x360da8)=>_0x50a9dd(_0x115196,_0x360da8,_0x536021);let _0x1cfb10=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x207b1a,_0x2c7c3f,_0x1c3092,_0x58c9fa,_0x11c4d3,_0x2c8be1){const _0xa79f60=_0x26cc89;super(),this[_0xa79f60(0x2bd)]=_0x207b1a,this[_0xa79f60(0x1a0)]=_0x2c7c3f,this['_collaborationUIEventService']=_0x1c3092,this[_0xa79f60(0x280)]=_0x58c9fa,this[_0xa79f60(0x207)]=_0x11c4d3,this[_0xa79f60(0x1ea)]=_0x2c8be1,this[_0xa79f60(0x291)](),this[_0xa79f60(0x19a)]();}[_0x26cc89(0x291)](){const _0x469b4a=_0x26cc89;this[_0x469b4a(0x2bc)](this[_0x469b4a(0x2bd)]['registerBeforeClose'](()=>{const _0x447ba6=_0x469b4a;if(this[_0x447ba6(0x1a0)][_0x447ba6(0x3f1)][_0x447ba6(0x239)])return this[_0x447ba6(0x1ea)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x26cc89(0x19a)](){const _0x346685=_0x26cc89;this[_0x346685(0x2bc)](this[_0x346685(0x400)]['event$'][_0x346685(0x253)](_0x69d0a5=>{const _0xe6c83e=_0x346685;_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x297)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x2e0))}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)]['CLOSE_ROOM']&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x18e))}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0xe6c83e(0x2b8)]({'title':this['_localeService']['t'](_0xe6c83e(0x30a)),'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x2fc)),'type':_0xe6c83e(0x2b4),'duration':0x0}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x34c)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x2dd)],'content':this[_0xe6c83e(0x1ea)]['t']('collaboration.closeRoom')+'('+_0x69d0a5['data']+')'}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)]['JOIN_ROOM_FAILED']&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0x69d0a5[_0xe6c83e(0x22f)]||'')}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId'][_0xe6c83e(0x1af)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t']('session.will-retry')}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId'][_0xe6c83e(0x21e)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3['MessageType'][_0xe6c83e(0x2dd)],'content':this['_localeService']['t']('session.connection-failed')}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x339)]&&this[_0xe6c83e(0x280)]['show']({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x2dd)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1cfb10=_0x4a2e13([_0x4bbde7(0x0,_0x1c1408[_0x26cc89(0x2a8)]),_0x4bbde7(0x1,_0x827ff8[_0x26cc89(0x242)]),_0x4bbde7(0x2,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x299)])),_0x4bbde7(0x3,_0x1c1408[_0x26cc89(0x1cc)]),_0x4bbde7(0x4,_0x1c1408[_0x26cc89(0x183)]),_0x4bbde7(0x5,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x29d)]))],_0x1cfb10);const _0x5a320f=_0x26cc89(0x395),_0x35a43e={},_0x53ff22=_0x1c002c[_0x26cc89(0x379)]('uni.network.url-service');var _0x24d0b8=Object[_0x26cc89(0x252)],_0x37f4e6=(_0x189e20,_0x560041,_0x547005,_0x3cc873)=>{const _0x59f77e=_0x26cc89;for(var _0x496fe0=_0x3cc873>0x1?void 0x0:_0x3cc873?_0x24d0b8(_0x560041,_0x547005):_0x560041,_0x33b880=_0x189e20[_0x59f77e(0x17b)]-0x1,_0x34005b;_0x33b880>=0x0;_0x33b880--)(_0x34005b=_0x189e20[_0x33b880])&&(_0x496fe0=_0x34005b(_0x496fe0)||_0x496fe0);return _0x496fe0;},_0x460d45=(_0x8e3498,_0x478c6c)=>(_0x2a883b,_0x3c248d)=>_0x478c6c(_0x2a883b,_0x3c248d,_0x8e3498);_0x3dc1b0[_0x26cc89(0x3ac)]=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x2a2947,_0x3b58d0,_0x22d85f,_0x5427f4,_0x332b2a){const _0x3e78d6=_0x26cc89;super(),this[_0x3e78d6(0x229)]=_0x2a2947,this[_0x3e78d6(0x2fa)]=_0x3b58d0,this[_0x3e78d6(0x2c1)]=_0x22d85f,this['_dataLoaderService']=_0x5427f4,_0x332b2a?_0x332b2a==null||_0x332b2a[_0x3e78d6(0x2b9)]()[_0x3e78d6(0x3ab)](()=>this[_0x3e78d6(0x2ee)]()):(this[_0x3e78d6(0x2fa)][_0x3e78d6(0x171)](_0x3e78d6(0x39c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x5a82d0=_0x26cc89,_0x55220a=this[_0x5a82d0(0x229)][_0x5a82d0(0x2f9)](_0x5a82d0(0x3c0)),_0x284a95=this[_0x5a82d0(0x229)][_0x5a82d0(0x2f9)](_0x5a82d0(0x1ee)),_0x24da0c=this['_urlService']['getParam'](_0x5a82d0(0x3ef));if(!_0x55220a||!_0x284a95){this['_logService'][_0x5a82d0(0x171)](_0x5a82d0(0x39c),_0x5a82d0(0x1b5));return;}const _0x15df71=await this[_0x5a82d0(0x370)][_0x5a82d0(0x162)](_0x55220a,Number(_0x284a95),_0x24da0c);_0x15df71&&_0x15df71 instanceof _0x1c002c[_0x5a82d0(0x25a)]&&this[_0x5a82d0(0x336)](_0x15df71);}async[_0x26cc89(0x336)](_0x346eca){const _0x397cad=_0x26cc89;await this[_0x397cad(0x211)](_0x346eca),_0x346eca['activeSheet$'][_0x397cad(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']))[_0x397cad(0x253)](_0x2b64a9=>{_0x2b64a9&&this['_updateURLWithCurrentState'](_0x2b64a9);}),this[_0x397cad(0x229)][_0x397cad(0x387)][_0x397cad(0x1b0)](_0x4287b5[_0x397cad(0x342)](this[_0x397cad(0x16e)]))[_0x397cad(0x253)](()=>this[_0x397cad(0x211)](_0x346eca));}[_0x26cc89(0x24c)](_0x1dd1c9,_0x5b15c3=!0x1){const _0x5a583b=_0x26cc89,_0x5c8f54=this['_urlService'][_0x5a583b(0x2f9)](_0x5a583b(0x3ef));_0x1dd1c9[_0x5a583b(0x258)]()!==_0x5c8f54&&this[_0x5a583b(0x229)][_0x5a583b(0x3ae)]('subunit',_0x1dd1c9[_0x5a583b(0x258)](),_0x5b15c3);}async[_0x26cc89(0x211)](_0x621746){const _0x294455=_0x26cc89;var _0xfb01cd;const _0x2d3a67=this[_0x294455(0x229)][_0x294455(0x2f9)](_0x294455(0x3ef));if(!_0x2d3a67||!_0x621746[_0x294455(0x3a2)](_0x2d3a67)){const _0x381638=_0x621746[_0x294455(0x32e)]()[0x0],_0x2e2a47=_0x621746[_0x294455(0x3a2)](_0x381638);if(!_0x2e2a47)return;this[_0x294455(0x24c)](_0x2e2a47,!0x0),await this['_commandService'][_0x294455(0x25c)](_0x2a4acb['SetWorksheetActivateCommand']['id'],{'unitId':_0x621746['getUnitId'](),'subUnitId':_0x381638});return;}((_0xfb01cd=_0x621746[_0x294455(0x27a)]())==null?void 0x0:_0xfb01cd[_0x294455(0x258)]())!==_0x2d3a67&&await this[_0x294455(0x2c1)][_0x294455(0x25c)](_0x2a4acb[_0x294455(0x3db)]['id'],{'unitId':_0x621746[_0x294455(0x212)](),'subUnitId':_0x2d3a67});}},_0x3dc1b0[_0x26cc89(0x3ac)]=_0x37f4e6([_0x460d45(0x0,_0x53ff22),_0x460d45(0x1,_0x1c002c[_0x26cc89(0x319)]),_0x460d45(0x2,_0x1c002c[_0x26cc89(0x20c)]),_0x460d45(0x3,_0x1c002c['Inject'](_0x827ff8[_0x26cc89(0x163)])),_0x460d45(0x4,_0x1c002c[_0x26cc89(0x389)](_0x405deb[_0x26cc89(0x271)]))],_0x3dc1b0['CollaborationDataLoaderController']);var _0x5dcea5=Object[_0x26cc89(0x252)],_0x327f3f=(_0x43dfba,_0x2d9f77,_0x26afa3,_0x19984b)=>{for(var _0x14a140=_0x19984b>0x1?void 0x0:_0x19984b?_0x5dcea5(_0x2d9f77,_0x26afa3):_0x2d9f77,_0x575460=_0x43dfba['length']-0x1,_0x522a87;_0x575460>=0x0;_0x575460--)(_0x522a87=_0x43dfba[_0x575460])&&(_0x14a140=_0x522a87(_0x14a140)||_0x14a140);return _0x14a140;},_0x47bb42=(_0x521022,_0x52a8f2)=>(_0x48fafc,_0x307316)=>_0x52a8f2(_0x48fafc,_0x307316,_0x521022);let _0x281445=class{constructor(_0x31ef25,_0xf84378,_0x16a553){const _0x3322fb=_0x26cc89;this['_injector']=_0x31ef25,this['_transformService']=_0xf84378,this[_0x3322fb(0x17e)]=_0x16a553;}[_0x26cc89(0x243)](_0x55e1d6){const _0xc3e58d=_0x26cc89;this['_transformUndoRedoStack'](_0x55e1d6),this[_0xc3e58d(0x2d7)](_0x55e1d6);}[_0x26cc89(0x1e6)](_0xf4a7f1){const _0x3370d3=_0x26cc89,{unitID:_0x59a810}=_0xf4a7f1,_0x5c1935=this[_0x3370d3(0x17e)][_0x3370d3(0x1d5)](_0x59a810)[_0x3370d3(0x279)](_0x567b9[_0x3370d3(0x249)]),{redoCache:_0x14ef49}=_0x5c1935['getUndoRedoMutationParamsCache']();if(_0x14ef49[_0x3370d3(0x17b)]===0x0)return _0xf4a7f1;let _0x310169=_0x1c002c[_0x3370d3(0x215)][_0x3370d3(0x398)](_0xf4a7f1[_0x3370d3(0x3f8)][0x0]);for(let _0x6a5b8c=0x0;_0x6a5b8c<_0x14ef49[_0x3370d3(0x17b)];_0x6a5b8c++){const _0x55c0e3={'id':'doc.mutation.rich-text-editing','params':{..._0x14ef49[_0x6a5b8c]}},_0x1385f8=this[_0x3370d3(0x3eb)][_0x3370d3(0x1a3)](_0x310169,_0x55c0e3,!0x1);if(_0x376d49['isTransformMutationFailure'](_0x1385f8))throw _0x1385f8[_0x3370d3(0x2b4)];_0x310169=_0x1385f8[_0x3370d3(0x3d6)];}return{..._0x1c002c[_0x3370d3(0x215)][_0x3370d3(0x398)](_0xf4a7f1),'mutations':[_0x310169]};}[_0x26cc89(0x3a1)](_0x5b94a3){const _0x3f3a8f=_0x26cc89,{unitID:_0x4abb07}=_0x5b94a3,_0x4a1b85=this['_renderManagerService'][_0x3f3a8f(0x1d5)](_0x4abb07)[_0x3f3a8f(0x279)](_0x567b9[_0x3f3a8f(0x249)]),{undoCache:_0x1957fe,redoCache:_0xb0ccb5}=_0x4a1b85[_0x3f3a8f(0x31c)]();if(_0x1957fe[_0x3f3a8f(0x17b)]===0x0||_0xb0ccb5[_0x3f3a8f(0x17b)]===0x0)return;const _0x2ec857=[],_0x3fb5f6=[];let _0x51a8a1=_0x1c002c[_0x3f3a8f(0x215)]['deepClone'](_0x5b94a3['mutations'][0x0]),_0x10d837=_0x1c002c[_0x3f3a8f(0x215)][_0x3f3a8f(0x398)](_0x5b94a3['mutations'][0x0]);for(let _0x31d5d8=_0x1957fe[_0x3f3a8f(0x17b)]-0x1;_0x31d5d8>=0x0;_0x31d5d8--){const _0x375228={'id':_0x3f3a8f(0x358),'params':{..._0x1957fe[_0x31d5d8]}},_0x40fb1a={'id':'doc.mutation.rich-text-editing','params':{..._0xb0ccb5[_0x31d5d8]}},_0x56d2e0=this[_0x3f3a8f(0x3eb)][_0x3f3a8f(0x1a3)](_0x51a8a1,_0x375228,!0x1),_0x507e95=this[_0x3f3a8f(0x3eb)][_0x3f3a8f(0x1a3)](_0x10d837,_0x40fb1a,!0x1);if(_0x376d49[_0x3f3a8f(0x244)](_0x56d2e0))throw _0x56d2e0[_0x3f3a8f(0x2b4)];if(_0x376d49[_0x3f3a8f(0x244)](_0x507e95))throw _0x507e95[_0x3f3a8f(0x2b4)];_0x2ec857[_0x3f3a8f(0x334)](_0x56d2e0[_0x3f3a8f(0x2b3)]['params']),_0x3fb5f6[_0x3f3a8f(0x334)](_0x507e95[_0x3f3a8f(0x2b3)][_0x3f3a8f(0x3b2)]),_0x51a8a1=_0x56d2e0[_0x3f3a8f(0x3d6)],_0x10d837=_0x507e95[_0x3f3a8f(0x3d6)];}_0x4a1b85[_0x3f3a8f(0x3cb)]({'undoCache':_0x2ec857,'redoCache':_0x3fb5f6});}['_transformPreviousActiveRange'](_0x176e13){const _0x3d2634=_0x26cc89,{unitID:_0x6834f7}=_0x176e13,_0x5aedd5=this[_0x3d2634(0x17e)][_0x3d2634(0x1d5)](_0x6834f7)['with'](_0x567b9[_0x3d2634(0x249)]),_0x58c24a=_0x5aedd5[_0x3d2634(0x1ce)]();if(_0x58c24a==null)return;const _0x2cad6a=[{'id':_0x3d2634(0x358),'params':{'unitId':_0x176e13[_0x3d2634(0x3be)],'actions':null,'textRanges':[_0x58c24a]}}],_0x3d7829=this['_transformService'][_0x3d2634(0x24e)](_0x176e13,_0x2cad6a);if(!_0x376d49[_0x3d2634(0x290)](_0x3d7829))throw _0x3d7829[_0x3d2634(0x2b4)];const _0x4e24f2=_0x3d7829[_0x3d2634(0x2b3)][0x0]['params'][_0x3d2634(0x2c4)];Array[_0x3d2634(0x1a6)](_0x4e24f2)&&_0x4e24f2[_0x3d2634(0x17b)]&&_0x5aedd5[_0x3d2634(0x1f2)](_0x4e24f2[0x0]);}};_0x281445=_0x327f3f([_0x47bb42(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x47bb42(0x1,_0x376d49[_0x26cc89(0x2f8)]),_0x47bb42(0x2,_0x8f24d8[_0x26cc89(0x365)])],_0x281445);var _0x56ff52=Object[_0x26cc89(0x252)],_0x43e2d5=(_0x4d2f26,_0x1907b6,_0x40455f,_0x2fb9ec)=>{const _0x234595=_0x26cc89;for(var _0x31f444=_0x2fb9ec>0x1?void 0x0:_0x2fb9ec?_0x56ff52(_0x1907b6,_0x40455f):_0x1907b6,_0x3a2453=_0x4d2f26[_0x234595(0x17b)]-0x1,_0x1b7295;_0x3a2453>=0x0;_0x3a2453--)(_0x1b7295=_0x4d2f26[_0x3a2453])&&(_0x31f444=_0x1b7295(_0x31f444)||_0x31f444);return _0x31f444;},_0x240926=(_0x24daaf,_0x3af9b7)=>(_0x18e40f,_0x32286b)=>_0x3af9b7(_0x18e40f,_0x32286b,_0x24daaf);let _0x404672=class{constructor(_0x10a3c6,_0x21f253,_0x1cd581){const _0x5d66ab=_0x26cc89;this[_0x5d66ab(0x19f)]=_0x10a3c6,this[_0x5d66ab(0x3eb)]=_0x21f253,this[_0x5d66ab(0x337)]=_0x1cd581;}[_0x26cc89(0x255)](_0x56ccef){const _0x3940cc=_0x26cc89;this[_0x3940cc(0x30d)](_0x56ccef);}[_0x26cc89(0x1e6)](_0x251e9b){const _0x2d8a2d=_0x26cc89,{unitID:_0x4c9db4}=_0x251e9b,{collaboration:_0x4cb357}=this['_docStateChangeManagerService'][_0x2d8a2d(0x37d)](_0x4c9db4);if(_0x4cb357[_0x2d8a2d(0x17b)]===0x0)return _0x251e9b;let _0xe0ce2b=_0x1c002c['Tools']['deepClone'](_0x251e9b[_0x2d8a2d(0x3f8)][0x0]);for(let _0x511b0b=0x0;_0x511b0b<_0x4cb357[_0x2d8a2d(0x17b)];_0x511b0b++){const _0x7c04d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cb357[_0x511b0b]['unitId'],..._0x4cb357[_0x511b0b][_0x2d8a2d(0x188)]}},_0x47ddd6=this['_transformService']['transformMutation'](_0xe0ce2b,_0x7c04d5,!0x1);if(_0x376d49[_0x2d8a2d(0x244)](_0x47ddd6))throw _0x47ddd6[_0x2d8a2d(0x2b4)];_0xe0ce2b=_0x47ddd6[_0x2d8a2d(0x3d6)];}return{..._0x1c002c[_0x2d8a2d(0x215)][_0x2d8a2d(0x398)](_0x251e9b),'mutations':[_0xe0ce2b]};}[_0x26cc89(0x30d)](_0x3c8c95){const _0x5b2247=_0x26cc89,{unitID:_0x7aaa59}=_0x3c8c95,{history:_0x49b4a5,collaboration:_0x2ed096}=this[_0x5b2247(0x337)][_0x5b2247(0x37d)](_0x7aaa59);if(_0x49b4a5[_0x5b2247(0x17b)]===0x0&&_0x2ed096[_0x5b2247(0x17b)]===0x0)return;const _0x15d315=[],_0x3a5658=[];let _0x1ecfa1=_0x1c002c[_0x5b2247(0x215)][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]),_0x2cc6cb=_0x1c002c['Tools'][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]);for(let _0x5d843a=_0x49b4a5[_0x5b2247(0x17b)]-0x1;_0x5d843a>=0x0;_0x5d843a--){const _0x2f1c86={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49b4a5[_0x5d843a]['unitId'],..._0x49b4a5[_0x5d843a][_0x5b2247(0x325)]}},_0x557108={'id':_0x5b2247(0x358),'params':{'unitId':_0x49b4a5[_0x5d843a]['unitId'],..._0x49b4a5[_0x5d843a][_0x5b2247(0x188)]}},_0x340d1a=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x1ecfa1,_0x2f1c86,!0x1),_0x73d012=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x2cc6cb,_0x557108,!0x1);if(_0x376d49[_0x5b2247(0x244)](_0x340d1a))throw _0x340d1a['error'];if(_0x376d49[_0x5b2247(0x244)](_0x73d012))throw _0x73d012['error'];_0x15d315[_0x5b2247(0x334)]({..._0x49b4a5[_0x5d843a],'undoState':_0x340d1a[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)],'redoState':_0x73d012['m2Prime']['params']}),_0x1ecfa1=_0x340d1a[_0x5b2247(0x3d6)],_0x2cc6cb=_0x73d012[_0x5b2247(0x3d6)];}_0x1ecfa1=_0x1c002c[_0x5b2247(0x215)]['deepClone'](_0x3c8c95[_0x5b2247(0x3f8)][0x0]),_0x2cc6cb=_0x1c002c[_0x5b2247(0x215)][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]);for(let _0x534478=_0x2ed096['length']-0x1;_0x534478>=0x0;_0x534478--){const _0x197ce2={'id':_0x5b2247(0x358),'params':{'unitId':_0x2ed096[_0x534478][_0x5b2247(0x235)],..._0x2ed096[_0x534478][_0x5b2247(0x325)]}},_0x50f725={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ed096[_0x534478]['unitId'],..._0x2ed096[_0x534478][_0x5b2247(0x188)]}},_0x160ba6=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x1ecfa1,_0x197ce2,!0x1),_0x5d7719=this[_0x5b2247(0x3eb)]['transformMutation'](_0x2cc6cb,_0x50f725,!0x1);if(_0x376d49[_0x5b2247(0x244)](_0x160ba6))throw _0x160ba6[_0x5b2247(0x2b4)];if(_0x376d49[_0x5b2247(0x244)](_0x5d7719))throw _0x5d7719[_0x5b2247(0x2b4)];_0x3a5658[_0x5b2247(0x334)]({..._0x2ed096[_0x534478],'undoState':_0x160ba6[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)],'redoState':_0x5d7719[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)]}),_0x1ecfa1=_0x160ba6[_0x5b2247(0x3d6)],_0x2cc6cb=_0x5d7719[_0x5b2247(0x3d6)];}this[_0x5b2247(0x337)][_0x5b2247(0x2a6)](_0x7aaa59,{'history':_0x15d315,'collaboration':_0x3a5658});}};_0x404672=_0x43e2d5([_0x240926(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c['Injector'])),_0x240926(0x1,_0x376d49[_0x26cc89(0x2f8)]),_0x240926(0x2,_0x1c002c[_0x26cc89(0x273)](_0x567b9[_0x26cc89(0x23d)]))],_0x404672);var _0x348471=Object[_0x26cc89(0x252)],_0x4b2bb0=(_0x25a360,_0x5a9344,_0x38b09b,_0x4e0c8a)=>{for(var _0x3364f8=_0x4e0c8a>0x1?void 0x0:_0x4e0c8a?_0x348471(_0x5a9344,_0x38b09b):_0x5a9344,_0x54c900=_0x25a360['length']-0x1,_0x5a638c;_0x54c900>=0x0;_0x54c900--)(_0x5a638c=_0x25a360[_0x54c900])&&(_0x3364f8=_0x5a638c(_0x3364f8)||_0x3364f8);return _0x3364f8;},_0x1a3f14=(_0x26f0c5,_0x92052a)=>(_0x54fb8c,_0x30a5e9)=>_0x92052a(_0x54fb8c,_0x30a5e9,_0x26f0c5);let _0x1b6b6d=class{constructor(_0x3146da,_0x16099e){const _0x1d32cf=_0x26cc89;this[_0x1d32cf(0x19f)]=_0x3146da,this[_0x1d32cf(0x3eb)]=_0x16099e;}[_0x26cc89(0x311)](_0x3906e4){const _0x54eced=_0x26cc89;var _0x2eb591;const _0x294e05=this['_injector']['get'](_0x1100fd[_0x54eced(0x1b4)]),_0x56898c=(_0x2eb591=_0x294e05[_0x54eced(0x2d8)]())!=null?_0x2eb591:[];if(_0x56898c[_0x54eced(0x17b)]===0x0)return;const _0x3c59ab=_0x3906e4['unitID'],_0x31c9e7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c59ab,'actions':null,'textRanges':_0x56898c}}],_0x1a9112=this[_0x54eced(0x3eb)][_0x54eced(0x24e)](_0x3906e4,_0x31c9e7);if(!_0x376d49[_0x54eced(0x290)](_0x1a9112))throw _0x1a9112['error'];const _0x148c77=_0x1a9112['m2Prime'][0x0]['params']['textRanges'];Array[_0x54eced(0x1a6)](_0x148c77)&&_0x148c77['length']&&_0x294e05[_0x54eced(0x230)](_0x148c77,{'unitId':_0x3c59ab,'subUnitId':_0x3c59ab},!0x1);}};_0x1b6b6d=_0x4b2bb0([_0x1a3f14(0x0,_0x1c002c['Inject'](_0x1c002c['Injector'])),_0x1a3f14(0x1,_0x376d49[_0x26cc89(0x2f8)])],_0x1b6b6d);var _0x46f41b=Object[_0x26cc89(0x252)],_0x50ea95=(_0x1704ad,_0xeea22,_0x3577ff,_0x2b8cd0)=>{const _0x57b91d=_0x26cc89;for(var _0x4b5ac2=_0x2b8cd0>0x1?void 0x0:_0x2b8cd0?_0x46f41b(_0xeea22,_0x3577ff):_0xeea22,_0x537716=_0x1704ad[_0x57b91d(0x17b)]-0x1,_0x209517;_0x537716>=0x0;_0x537716--)(_0x209517=_0x1704ad[_0x537716])&&(_0x4b5ac2=_0x209517(_0x4b5ac2)||_0x4b5ac2);return _0x4b5ac2;},_0x5dda5e=(_0x59a13c,_0x598f5a)=>(_0x2c0650,_0x91bcc6)=>_0x598f5a(_0x2c0650,_0x91bcc6,_0x59a13c);let _0x414db0=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x1b0eac,_0x5cc19e,_0x51a9de,_0x51056f,_0x52824d,_0x1161b8,_0x4f6232,_0x363bb7){const _0x4d35bc=_0x26cc89;super(),_0xd9b4bc(this,_0x4d35bc(0x36b),new _0x4287b5[(_0x4d35bc(0x173))](_0x827ff8[_0x4d35bc(0x287)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1b0eac,this['_collaborationController']=_0x5cc19e,this['_docTransformIMECacheService']=_0x51a9de,this[_0x4d35bc(0x1f3)]=_0x51056f,this[_0x4d35bc(0x264)]=_0x52824d,this[_0x4d35bc(0x200)]=_0x1161b8,this[_0x4d35bc(0x280)]=_0x4f6232,this[_0x4d35bc(0x1ea)]=_0x363bb7,this['_initEntityListener']());}[_0x26cc89(0x3e4)](){const _0x2bfbd0=_0x26cc89;this['disposeWithMe'](this[_0x2bfbd0(0x21a)]['entityInit$'][_0x2bfbd0(0x253)](_0x401210=>{const _0x4a5b59=_0x2bfbd0,_0x4b3e8d=this[_0x4a5b59(0x337)][_0x4a5b59(0x3aa)][_0x4a5b59(0x253)](_0x976323=>{const _0x3fdf11=_0x4a5b59;if(_0x976323==null)return;const {unitId:_0x25e1c7,redoState:_0x31b7e8,commandId:_0x2760f7}=_0x976323;if(_0x25e1c7!==_0x401210[_0x3fdf11(0x3be)])return;const _0x3f1bac={'id':_0x2760f7,'type':_0x1c002c[_0x3fdf11(0x320)][_0x3fdf11(0x234)],'params':{'unitId':_0x25e1c7,'actions':_0x31b7e8[_0x3fdf11(0x367)],'textRanges':null}};_0x401210[_0x3fdf11(0x368)](_0x3f1bac);});if(_0x401210[_0x4a5b59(0x2bc)](_0x4b3e8d),_0x401210 instanceof _0x827ff8[_0x4a5b59(0x2d9)]){const _0xddb65={'onTransformIME':_0x59d1c6=>this[_0x4a5b59(0x1de)][_0x4a5b59(0x243)](_0x59d1c6),'onTransformState':_0x473f09=>this[_0x4a5b59(0x1f3)][_0x4a5b59(0x255)](_0x473f09),'onTransformSelections':_0x716a4e=>this[_0x4a5b59(0x264)][_0x4a5b59(0x311)](_0x716a4e),'onSyncEditingCollabCursor':_0x3064f1=>this[_0x4a5b59(0x200)]['syncEditingCollabCursor'](_0x3064f1),'onTransformRemoteChangesetByIMECache':_0x2a45f5=>this[_0x4a5b59(0x1de)][_0x4a5b59(0x1e6)](_0x2a45f5),'onTransformRemoteChangesetByStateCache':_0x2debe1=>this[_0x4a5b59(0x1f3)]['transformRemoteChangeset'](_0x2debe1)};_0x401210[_0x4a5b59(0x372)](_0xddb65);}}));}};_0x414db0=_0x50ea95([_0x5dda5e(0x0,_0x1c002c[_0x26cc89(0x273)](_0x567b9[_0x26cc89(0x23d)])),_0x5dda5e(0x1,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x201)])),_0x5dda5e(0x2,_0x1c002c[_0x26cc89(0x273)](_0x281445)),_0x5dda5e(0x3,_0x1c002c[_0x26cc89(0x273)](_0x404672)),_0x5dda5e(0x4,_0x1c002c[_0x26cc89(0x273)](_0x1b6b6d)),_0x5dda5e(0x5,_0x1c002c[_0x26cc89(0x273)](_0x509d7c)),_0x5dda5e(0x6,_0x1c1408[_0x26cc89(0x1cc)]),_0x5dda5e(0x7,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x29d)]))],_0x414db0);var _0x1c3568=Object[_0x26cc89(0x252)],_0x370010=(_0x144689,_0xf861f6,_0x110375,_0x512faa)=>{const _0x32bff7=_0x26cc89;for(var _0x1d09b8=_0x512faa>0x1?void 0x0:_0x512faa?_0x1c3568(_0xf861f6,_0x110375):_0xf861f6,_0x9f02fa=_0x144689[_0x32bff7(0x17b)]-0x1,_0x8cc6fa;_0x9f02fa>=0x0;_0x9f02fa--)(_0x8cc6fa=_0x144689[_0x9f02fa])&&(_0x1d09b8=_0x8cc6fa(_0x1d09b8)||_0x1d09b8);return _0x1d09b8;},_0x309034=(_0x19efe8,_0x3494c1)=>(_0x490b94,_0x4b7558)=>_0x3494c1(_0x490b94,_0x4b7558,_0x19efe8);let _0x40d5b9=class extends _0x1c002c['Disposable']{constructor(_0x403cc7,_0x2a6058,_0x3f7e35){const _0x4f8923=_0x26cc89;super(),_0xd9b4bc(this,_0x4f8923(0x376),new Map()),_0xd9b4bc(this,_0x4f8923(0x180),new Map()),_0xd9b4bc(this,_0x4f8923(0x177),!0x1),(this[_0x4f8923(0x2e7)]=_0x403cc7,this['_localStorageService']=_0x2a6058,this['_revisionService']=_0x3f7e35);}[_0x26cc89(0x2b7)](){this['_disabled']=!0x0;}[_0x26cc89(0x1c1)](){const _0x223d2a=_0x26cc89;this[_0x223d2a(0x177)]=!0x1;}get[_0x26cc89(0x3f1)](){return this['_saveTaskMap'];}[_0x26cc89(0x203)](){const _0x16c552=_0x26cc89;this['exhaustSavingTask']()['then'](()=>super[_0x16c552(0x203)]());}async[_0x26cc89(0x3ed)](_0x419eb9){const _0x3afd3e=_0x26cc89;return this['_disabled']?null:this[_0x3afd3e(0x345)][_0x3afd3e(0x21f)](_0x827ff8['getLocalCacheKey'](_0x419eb9));}async[_0x26cc89(0x282)](_0x5dfa7b,_0x188a99){const _0x5908e0=_0x26cc89;return!!this[_0x5908e0(0x345)]['setItem'](_0x5dfa7b,_0x188a99);}[_0x26cc89(0x30f)](_0x31393b,_0x916ede,_0x38e1e1,_0x4d51c0){const _0x7be034=_0x26cc89,_0x38bad5=this[_0x7be034(0x3fb)][_0x7be034(0x190)](_0x31393b);this[_0x7be034(0x376)]['set'](_0x31393b,{'unitID':_0x31393b,'type':_0x916ede,'awaitingChangeset':_0x38e1e1,'mutations':_0x4d51c0,'rev':_0x38bad5}),this['_saveTaskMap'][_0x7be034(0x2fe)](_0x31393b)||this[_0x7be034(0x312)](_0x31393b);}['_scheduleSaving'](_0x5dd140){const _0x5635b3=_0x26cc89,_0x5e4c51=this[_0x5635b3(0x1dc)]();_0x5e4c51===0x0?this['_saveCache'](_0x5dd140):this[_0x5635b3(0x180)][_0x5635b3(0x391)](_0x5dd140,setTimeout(()=>this[_0x5635b3(0x16c)](_0x5dd140),_0x5e4c51));}[_0x26cc89(0x1dc)](){const _0x1c488a=_0x26cc89;var _0x2ca6f1;return(_0x2ca6f1=this['_configService'][_0x1c488a(0x240)](_0x827ff8[_0x1c488a(0x38d)]))!=null?_0x2ca6f1:_0x827ff8[_0x1c488a(0x3c1)];}[_0x26cc89(0x16c)](_0xbd34a1){const _0x4802b4=_0x26cc89,_0x2ff4fc=this[_0x4802b4(0x180)][_0x4802b4(0x1dd)](_0xbd34a1);return _0x2ff4fc!==void 0x0&&window['clearTimeout'](_0x2ff4fc),this['_localStorageService']['setItem'](_0x827ff8['getLocalCacheKey'](_0xbd34a1),this[_0x4802b4(0x376)]['get'](_0xbd34a1))[_0x4802b4(0x3ab)](()=>this[_0x4802b4(0x180)][_0x4802b4(0x26b)](_0xbd34a1));}async[_0x26cc89(0x1f5)](){const _0x2df1e5=_0x26cc89,_0x296da1=[];this[_0x2df1e5(0x180)][_0x2df1e5(0x36a)]((_0x29a767,_0x400946)=>{const _0x52871a=_0x2df1e5;window[_0x52871a(0x388)](_0x29a767),_0x296da1[_0x52871a(0x1c9)](this['_saveCache'](_0x400946)['then'](()=>{const _0x472784=_0x52871a;this['_saveTaskMap'][_0x472784(0x26b)](_0x400946);}));}),await Promise['all'](_0x296da1);}};_0x40d5b9=_0x370010([_0x309034(0x0,_0x1c002c[_0x26cc89(0x28c)]),_0x309034(0x1,_0x1c002c[_0x26cc89(0x1fc)]),_0x309034(0x2,_0x1c002c[_0x26cc89(0x273)](_0x376d49[_0x26cc89(0x1e4)]))],_0x40d5b9);class _0x3a8e37 extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(){const _0xdbfd8=_0x26cc89;super(),_0xd9b4bc(this,_0xdbfd8(0x387)),this[_0xdbfd8(0x387)]=_0x4287b5[_0xdbfd8(0x19d)](window,_0xdbfd8(0x361))[_0xdbfd8(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']),_0x4287b5['shareReplay'](0x1),_0x4287b5[_0xdbfd8(0x15d)](void 0x0));}[_0x26cc89(0x3ae)](_0x135554,_0x1efd3a,_0x553ee3=!0x1){const _0x444e18=_0x26cc89,_0x459b01=new URL(window['location'][_0x444e18(0x3d5)]);_0x459b01['searchParams'][_0x444e18(0x391)](_0x135554,_0x1efd3a),_0x553ee3?window[_0x444e18(0x2c9)][_0x444e18(0x19c)]('','',_0x459b01[_0x444e18(0x217)]()):window[_0x444e18(0x2c9)][_0x444e18(0x38b)]('','',_0x459b01[_0x444e18(0x217)]());}['removeParam'](_0x3b3a79,_0x41c550=!0x1){const _0xeae5b7=_0x26cc89,_0x526f1a=new URL(window['location'][_0xeae5b7(0x3d5)]);_0x526f1a[_0xeae5b7(0x30b)][_0xeae5b7(0x26b)](_0x3b3a79),_0x41c550?window['history'][_0xeae5b7(0x19c)]('','',_0x526f1a[_0xeae5b7(0x217)]()):window[_0xeae5b7(0x2c9)][_0xeae5b7(0x38b)]('','',_0x526f1a['toString']());}[_0x26cc89(0x2f9)](_0x506b24){const _0x9d3413=_0x26cc89;var _0x497888;return(_0x497888=new URL(window[_0x9d3413(0x1cb)][_0x9d3413(0x3d5)])[_0x9d3413(0x30b)]['get'](_0x506b24))!=null?_0x497888:void 0x0;}}var _0x547a9f=Object['defineProperty'],_0x4b0298=Object[_0x26cc89(0x252)],_0x192993=(_0x19d1a9,_0x4be86e,_0x160c18)=>_0x4be86e in _0x19d1a9?_0x547a9f(_0x19d1a9,_0x4be86e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x160c18}):_0x19d1a9[_0x4be86e]=_0x160c18,_0x1e16ff=(_0x3ed3b4,_0x514055,_0x47c4d7,_0x3f319b)=>{const _0x3eb05d=_0x26cc89;for(var _0x4b7946=_0x3f319b>0x1?void 0x0:_0x3f319b?_0x4b0298(_0x514055,_0x47c4d7):_0x514055,_0x4e1922=_0x3ed3b4[_0x3eb05d(0x17b)]-0x1,_0x5c1112;_0x4e1922>=0x0;_0x4e1922--)(_0x5c1112=_0x3ed3b4[_0x4e1922])&&(_0x4b7946=_0x5c1112(_0x4b7946)||_0x4b7946);return _0x4b7946;},_0x4214f1=(_0x211883,_0x408d52)=>(_0x6ef6fe,_0x238601)=>_0x408d52(_0x6ef6fe,_0x238601,_0x211883),_0x285d91=(_0x278a25,_0x3589a6,_0x35591f)=>_0x192993(_0x278a25,_0x3589a6+'',_0x35591f);const _0x1eb3a1=_0x26cc89(0x25d);_0x3dc1b0[_0x26cc89(0x1c5)]=class extends _0x1c002c[_0x26cc89(0x263)]{constructor(_0x2dd588=_0x35a43e,_0x33ab58,_0x3c5292,_0x5a25c5){const _0x2789e5=_0x26cc89;super(),this['_config']=_0x2dd588,this[_0x2789e5(0x17e)]=_0x33ab58,this['_injector']=_0x3c5292,this[_0x2789e5(0x2e7)]=_0x5a25c5;const {..._0x507686}=_0x1c002c[_0x2789e5(0x375)]({},_0x35a43e,this[_0x2789e5(0x32a)]);this[_0x2789e5(0x2e7)][_0x2789e5(0x354)](_0x5a320f,_0x507686);}['onStarting'](){const _0x23ded4=_0x26cc89;this[_0x23ded4(0x314)](),this['_initDependencies']();}[_0x26cc89(0x1ae)](){const _0x715389=_0x26cc89;this[_0x715389(0x35d)]();}[_0x26cc89(0x314)](){const _0x3dbc57=_0x26cc89;var _0x45d0cb;const _0x631e21=[[_0x328ed8],[_0x1b6b6d],[_0x281445],[_0x404672],[_0x509d7c],[_0x53ff22,{'useClass':_0x3a8e37}],[_0x286260[_0x3dbc57(0x3b9)],{'useClass':_0x286260['WebSocketService']}],[_0x827ff8[_0x3dbc57(0x242)],{'useClass':_0x40d5b9}],[_0x3dc1b0[_0x3dbc57(0x16b)]],[_0x414db0],[_0x1cfb10],[_0x402205],[_0x3f0664],[_0x3dc1b0[_0x3dbc57(0x3ac)]]];_0x1c002c[_0x3dbc57(0x301)](this[_0x3dbc57(0x19f)],_0x1c002c['mergeOverrideWithDependencies'](_0x631e21,(_0x45d0cb=this['_config'])==null?void 0x0:_0x45d0cb[_0x3dbc57(0x191)]));}[_0x26cc89(0x35d)](){const _0x46f1bc=_0x26cc89;this['disposeWithMe'](this['_renderManagerService'][_0x46f1bc(0x352)](_0x1c002c[_0x46f1bc(0x1fa)][_0x46f1bc(0x3ec)],[_0x1b4ad8])),this[_0x46f1bc(0x2bc)](this['_renderManagerService'][_0x46f1bc(0x352)](_0x1c002c[_0x46f1bc(0x1fa)][_0x46f1bc(0x39d)],[_0x27c244]));}[_0x26cc89(0x19e)](){const _0x4d829a=_0x26cc89;_0x1c002c[_0x4d829a(0x3c3)](this['_injector'],[[_0x402205],[_0x3dc1b0[_0x4d829a(0x16b)]],[_0x414db0],[_0x1cfb10],[_0x3dc1b0[_0x4d829a(0x3ac)]]]);}},_0x285d91(_0x3dc1b0[_0x26cc89(0x1c5)],_0x26cc89(0x2e6),_0x1eb3a1),_0x3dc1b0[_0x26cc89(0x1c5)]=_0x1e16ff([_0x1c002c[_0x26cc89(0x2f5)](_0x827ff8['UniverCollaborationClientPlugin']),_0x4214f1(0x1,_0x8f24d8[_0x26cc89(0x365)]),_0x4214f1(0x2,_0x1c002c['Inject'](_0x1c002c['Injector'])),_0x4214f1(0x3,_0x1c002c[_0x26cc89(0x28c)])],_0x3dc1b0[_0x26cc89(0x1c5)]);var _0x1c4a14=Object['getOwnPropertyDescriptor'],_0x4e865d=(_0x361ee5,_0x479f2c,_0x322d4f,_0x4d0474)=>{const _0x289f57=_0x26cc89;for(var _0x201ce0=_0x4d0474>0x1?void 0x0:_0x4d0474?_0x1c4a14(_0x479f2c,_0x322d4f):_0x479f2c,_0x2208dc=_0x361ee5[_0x289f57(0x17b)]-0x1,_0x3bac92;_0x2208dc>=0x0;_0x2208dc--)(_0x3bac92=_0x361ee5[_0x2208dc])&&(_0x201ce0=_0x3bac92(_0x201ce0)||_0x201ce0);return _0x201ce0;},_0x50f71e=(_0xd30082,_0x54d014)=>(_0x2c5e59,_0x2516fb)=>_0x54d014(_0x2c5e59,_0x2516fb,_0xd30082);_0x3dc1b0[_0x26cc89(0x2d0)]=class extends _0x827ff8[_0x26cc89(0x19b)]{constructor(_0x434ff0,_0x14a3c2,_0x1813f1,_0xbd3f4e,_0x2cb033){super(_0x434ff0,_0x14a3c2,_0x1813f1,_0xbd3f4e,_0x2cb033);}async[_0x26cc89(0x166)](_0x4b73fa){const _0x24bfb5=_0x26cc89,_0x5a103e=await this[_0x24bfb5(0x22d)](),_0xc83db7=this['_createSocketURL'](_0x4b73fa,_0x5a103e);return this[_0x24bfb5(0x362)](_0xc83db7);}[_0x26cc89(0x17d)](_0x5b75a9,_0x266aa4){const _0x25f498=_0x26cc89,_0x354298=typeof window>'u'?new URL(_0x5b75a9):new URL(_0x5b75a9,window[_0x25f498(0x1cb)]['origin']);_0x354298[_0x25f498(0x30b)][_0x25f498(0x391)](_0x25f498(0x38e),_0x266aa4);const _0x5bf00f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x25f498(0x1cb)][_0x25f498(0x2f4)]);return _0x5bf00f['get'](_0x25f498(0x3f5))&&_0x354298[_0x25f498(0x30b)][_0x25f498(0x391)](_0x25f498(0x3f5),_0x5bf00f[_0x25f498(0x1dd)](_0x25f498(0x3f5))),_0x354298[_0x25f498(0x217)]();}async[_0x26cc89(0x22d)](){const _0x1256e7=_0x26cc89;var _0x5d0012,_0x4a54ca,_0x17fd79;const _0xb03c84=this[_0x1256e7(0x2e7)]['getConfig'](_0x827ff8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x550cba=(_0x5d0012=_0xb03c84==null?void 0x0:_0xb03c84[_0x1256e7(0x1c6)])!=null?_0x5d0012:_0x827ff8['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x17fd79=(_0x4a54ca=(await this[_0x1256e7(0x277)][_0x1256e7(0x1dd)](_0x550cba,{'headers':{'Content-Type':_0x1256e7(0x246)}}))[_0x1256e7(0x1b6)])==null?void 0x0:_0x4a54ca[_0x1256e7(0x175)])!=null?_0x17fd79:'';}},_0x3dc1b0[_0x26cc89(0x2d0)]=_0x4e865d([_0x50f71e(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x50f71e(0x1,_0x1c002c['Inject'](_0x286260[_0x26cc89(0x20b)])),_0x50f71e(0x2,_0x1c002c['IConfigService']),_0x50f71e(0x3,_0x1c002c[_0x26cc89(0x319)]),_0x50f71e(0x4,_0x376d49[_0x26cc89(0x31a)])],_0x3dc1b0['BrowserCollaborationSocketService']);const _0x8792f4=0x7530,_0x4100d1='ACTIVE_UNIT_EVENT_CHANNEL';class _0x3cdc42 extends _0x1c002c[_0x26cc89(0x332)]{constructor(){const _0x1898c5=_0x26cc89;super(),_0xd9b4bc(this,_0x1898c5(0x300),_0x1c002c[_0x1898c5(0x2d2)]()),_0xd9b4bc(this,_0x1898c5(0x193),new Set()),_0xd9b4bc(this,_0x1898c5(0x322),new Map()),_0xd9b4bc(this,_0x1898c5(0x1d4),null),_0xd9b4bc(this,_0x1898c5(0x3b7),new Map()),_0xd9b4bc(this,_0x1898c5(0x381),new Map()),this[_0x1898c5(0x2ee)]();}[_0x26cc89(0x203)](){const _0x518dfb=_0x26cc89;super[_0x518dfb(0x203)](),this[_0x518dfb(0x3b7)]['forEach']((_0x19a9b2,_0x5bc4b5)=>this[_0x518dfb(0x2a4)](_0x5bc4b5)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x518dfb(0x1d4)]);}[_0x26cc89(0x31d)](_0x29c64){const _0x249002=_0x26cc89;return this[_0x249002(0x2b5)](_0x29c64)['pipe'](_0x4287b5[_0x249002(0x28a)]());}[_0x26cc89(0x231)](_0x53ea4a){const _0x5027ef=_0x26cc89;this[_0x5027ef(0x193)][_0x5027ef(0x239)]===0x0&&this[_0x5027ef(0x364)](),this[_0x5027ef(0x193)]['add'](_0x53ea4a),this['_send']({'type':0x0,'memberID':this[_0x5027ef(0x300)],'unitIDs':[_0x53ea4a],'isForwarded':!0x1});}[_0x26cc89(0x1b9)](_0x39e1cf){const _0x37c387=_0x26cc89;this[_0x37c387(0x193)][_0x37c387(0x26b)](_0x39e1cf),this[_0x37c387(0x193)][_0x37c387(0x239)]===0x0&&this[_0x37c387(0x1d4)]&&window[_0x37c387(0x18a)](this['_heartbeatTimer']);}[_0x26cc89(0x2ee)](){const _0x374acb=_0x26cc89;this[_0x374acb(0x2bc)](_0x1c002c[_0x374acb(0x1ed)](_0x4287b5[_0x374acb(0x19d)](window,_0x374acb(0x2c6))['subscribe'](_0x3c77eb=>{const _0x2b70a3=_0x374acb;if(_0x3c77eb[_0x2b70a3(0x37b)]!==_0x4100d1||!_0x3c77eb['newValue'])return;const _0x4790d9=JSON[_0x2b70a3(0x3fe)](_0x3c77eb[_0x2b70a3(0x2e8)]);this[_0x2b70a3(0x17f)](_0x4790d9);}))),window[_0x374acb(0x1a8)](_0x374acb(0x3af),()=>this[_0x374acb(0x33c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x374acb(0x3de)](this[_0x374acb(0x193)])}));}[_0x26cc89(0x17f)](_0x3411b4){const _0x3ce273=_0x26cc89;switch(_0x3411b4[_0x3ce273(0x1ee)]){case 0x0:this[_0x3ce273(0x356)](_0x3411b4);break;case 0x1:this['_handleLeaveEvent'](_0x3411b4);break;case 0x2:this[_0x3ce273(0x3ff)](_0x3411b4);break;}}[_0x26cc89(0x356)](_0x5e1fd9){const _0x52a156=_0x26cc89,{unitIDs:_0x3d4c77,memberID:_0x4d50c6,isForwarded:_0x5ee0e9}=_0x5e1fd9;_0x3d4c77['forEach'](_0x50f150=>{const _0x246514=_0x30a1;if(!_0x5ee0e9&&this[_0x246514(0x322)][_0x246514(0x2fe)](_0x50f150)&&this[_0x246514(0x2b5)](_0x50f150)['next'](_0x827ff8[_0x246514(0x2c0)][_0x246514(0x26e)]),!this[_0x246514(0x322)][_0x246514(0x2fe)](_0x50f150)||!this['_unitOnClients'][_0x246514(0x1dd)](_0x50f150)[_0x246514(0x2fe)](_0x4d50c6)){const _0x4c5749=this[_0x246514(0x322)][_0x246514(0x1dd)](_0x50f150)||new Set();_0x4c5749['add'](_0x4d50c6),this[_0x246514(0x322)][_0x246514(0x391)](_0x50f150,_0x4c5749),this[_0x246514(0x377)](_0x4d50c6);}}),_0x5ee0e9||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x52a156(0x193)]],'isForwarded':!0x0});}[_0x26cc89(0x377)](_0x57c00a){const _0x413d7e=_0x26cc89;this[_0x413d7e(0x2a4)](_0x57c00a);const _0x194b03=window['setTimeout'](()=>{const _0x20569c=_0x413d7e;this[_0x20569c(0x322)][_0x20569c(0x36a)](_0x484e9f=>{_0x484e9f['delete'](_0x57c00a);});},_0x8792f4*0x2);this[_0x413d7e(0x3b7)][_0x413d7e(0x391)](_0x57c00a,_0x194b03);}[_0x26cc89(0x2a4)](_0x1d5c32){const _0x50e29d=_0x26cc89;if(this['_clearOtherTimers'][_0x50e29d(0x2fe)](_0x1d5c32)){const _0x21cbac=this['_clearOtherTimers']['get'](_0x1d5c32);_0x21cbac&&window[_0x50e29d(0x388)](_0x21cbac),this['_clearOtherTimers'][_0x50e29d(0x391)](_0x1d5c32,null);}}[_0x26cc89(0x236)](_0x311cfd){const _0x50780b=_0x26cc89,{memberID:_0x1c275d,unitIDs:_0x167b43}=_0x311cfd;_0x167b43[_0x50780b(0x36a)](_0x1bfd9a=>{const _0x68ebb1=_0x50780b;var _0xdd96ba;const _0x14aa2e=this['_unitOnClients'][_0x68ebb1(0x1dd)](_0x1bfd9a);_0x14aa2e&&(_0x14aa2e[_0x68ebb1(0x26b)](_0x1c275d),(_0xdd96ba=this[_0x68ebb1(0x2b5)](_0x1bfd9a))==null||_0xdd96ba['next'](_0x14aa2e[_0x68ebb1(0x239)]===0x0?_0x827ff8[_0x68ebb1(0x2c0)][_0x68ebb1(0x306)]:_0x827ff8[_0x68ebb1(0x2c0)][_0x68ebb1(0x26e)]));}),this[_0x50780b(0x2a4)](_0x1c275d);}[_0x26cc89(0x3ff)](_0x5cd107){const _0x4c3210=_0x26cc89;this[_0x4c3210(0x377)](_0x5cd107[_0x4c3210(0x2c8)]);}[_0x26cc89(0x33c)](_0x4a7f4a){const _0x566523=_0x26cc89;localStorage[_0x566523(0x285)](_0x4100d1,JSON[_0x566523(0x185)](_0x4a7f4a));}[_0x26cc89(0x364)](){const _0x59fc8f=_0x26cc89;this['_heartbeatTimer']=window[_0x59fc8f(0x2e3)](()=>{const _0x113755=_0x59fc8f;this[_0x113755(0x33c)]({'type':0x2,'memberID':this['_id']});},_0x8792f4);}['_ensureSubject'](_0x4c245b){const _0x9a76ae=_0x26cc89;return this[_0x9a76ae(0x381)][_0x9a76ae(0x2fe)](_0x4c245b)||this[_0x9a76ae(0x381)][_0x9a76ae(0x391)](_0x4c245b,new _0x4287b5[(_0x9a76ae(0x173))](_0x827ff8['UnitStatus'][_0x9a76ae(0x306)])),this['_unitStatus'][_0x9a76ae(0x1dd)](_0x4c245b);}}var _0x510fae=(_0x171411=>(_0x171411[_0x171411['UNDEFINED']=0x0]=_0x26cc89(0x2ba),_0x171411[_0x171411['OK']=0x1]='OK',_0x171411[_0x171411['INTERNAL_ERROR']=0x2]=_0x26cc89(0x396),_0x171411[_0x171411[_0x26cc89(0x2d6)]=0x3]='PERMISSION_DENIED',_0x171411[_0x171411['NOT_FOUND']=0x4]=_0x26cc89(0x192),_0x171411[_0x171411[_0x26cc89(0x394)]=0x5]=_0x26cc89(0x394),_0x171411[_0x171411[_0x26cc89(0x397)]=0x6]=_0x26cc89(0x397),_0x171411[_0x171411[_0x26cc89(0x338)]=0x7]=_0x26cc89(0x338),_0x171411[_0x171411[_0x26cc89(0x164)]=0x8]='TOO_MANY_REQUESTS',_0x171411[_0x171411[_0x26cc89(0x2cb)]=0x9]=_0x26cc89(0x2cb),_0x171411[_0x171411[_0x26cc89(0x374)]=0xa]='LOGIN_FAILED',_0x171411[_0x171411[_0x26cc89(0x24f)]=0x1389]=_0x26cc89(0x24f),_0x171411[_0x171411[_0x26cc89(0x34b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x171411[_0x171411[_0x26cc89(0x1cf)]=0x1772]=_0x26cc89(0x1cf),_0x171411[_0x171411[_0x26cc89(0x168)]=0x1773]=_0x26cc89(0x168),_0x171411[_0x171411[_0x26cc89(0x23f)]=0x1b59]='APPLY_REJECT',_0x171411[_0x171411[_0x26cc89(0x29b)]=0x1b5a]=_0x26cc89(0x29b),_0x171411[_0x171411[_0x26cc89(0x33d)]=0x1b5b]=_0x26cc89(0x33d),_0x171411[_0x171411[_0x26cc89(0x1da)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x171411[_0x171411[_0x26cc89(0x3fa)]=0x1b5d]=_0x26cc89(0x3fa),_0x171411[_0x171411['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x26cc89(0x317),_0x171411[_0x171411['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x26cc89(0x32b),_0x171411[_0x171411[_0x26cc89(0x298)]=0x232a]=_0x26cc89(0x298),_0x171411[_0x171411['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x26cc89(0x1e7),_0x171411[_0x171411['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x26cc89(0x220),_0x171411[_0x171411[_0x26cc89(0x30e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x171411[_0x171411[_0x26cc89(0x202)]=0x2711]=_0x26cc89(0x202),_0x171411[_0x171411[_0x26cc89(0x3c2)]=0x2712]=_0x26cc89(0x3c2),_0x171411[_0x171411[_0x26cc89(0x385)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x171411[_0x171411[_0x26cc89(0x178)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x171411[_0x171411[_0x26cc89(0x18f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x171411[_0x171411[_0x26cc89(0x224)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x171411[_0x171411[_0x26cc89(0x170)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x171411[_0x171411['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x26cc89(0x357),_0x171411[_0x171411[_0x26cc89(0x303)]=0x271e]=_0x26cc89(0x303),_0x171411[_0x171411[_0x26cc89(0x343)]=0x271f]=_0x26cc89(0x343),_0x171411[_0x171411[_0x26cc89(0x2a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x171411[_0x171411[_0x26cc89(0x3f4)]=0x2ee1]=_0x26cc89(0x3f4),_0x171411[_0x171411[_0x26cc89(0x2ef)]=0x2ee2]='INVALID_INVITE_CODE',_0x171411[_0x171411[_0x26cc89(0x2ec)]=0x2ee3]=_0x26cc89(0x2ec),_0x171411[_0x171411[_0x26cc89(0x195)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x171411[_0x171411['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x26cc89(0x283),_0x171411[_0x171411[_0x26cc89(0x24a)]=0x32c9]=_0x26cc89(0x24a),_0x171411[_0x171411['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x26cc89(0x2df),_0x171411[_0x171411[_0x26cc89(0x22a)]=0x32cb]=_0x26cc89(0x22a),_0x171411[_0x171411[_0x26cc89(0x321)]=-0x1]=_0x26cc89(0x321),_0x171411))(_0x510fae||{}),_0x141afb=Object[_0x26cc89(0x252)],_0x32fa26=(_0x5b2a89,_0x1e15f4,_0x3a8bdc,_0x4a12b2)=>{const _0x3257fb=_0x26cc89;for(var _0x5c4a5e=_0x4a12b2>0x1?void 0x0:_0x4a12b2?_0x141afb(_0x1e15f4,_0x3a8bdc):_0x1e15f4,_0x58d1a4=_0x5b2a89[_0x3257fb(0x17b)]-0x1,_0x538b65;_0x58d1a4>=0x0;_0x58d1a4--)(_0x538b65=_0x5b2a89[_0x58d1a4])&&(_0x5c4a5e=_0x538b65(_0x5c4a5e)||_0x5c4a5e);return _0x5c4a5e;},_0x4558cf=(_0x22adc4,_0x4e6685)=>(_0x5bb294,_0x9a925c)=>_0x4e6685(_0x5bb294,_0x9a925c,_0x22adc4);_0x3dc1b0[_0x26cc89(0x36c)]=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x3602d7,_0x137f4d,_0x400b7e){const _0x375748=_0x26cc89;super(),this[_0x375748(0x33f)]=_0x3602d7,this[_0x375748(0x277)]=_0x137f4d,this[_0x375748(0x2e7)]=_0x400b7e;}async[_0x26cc89(0x34f)](_0xa5fe81,_0x123dfb,_0x1a508f,..._0x518c95){const _0x4cd7b6=_0x26cc89;var _0x4aadd3,_0x4aa5b7,_0x5e133f,_0x1f0e71;const _0x8b7fa4=this['_instanceService']['getFocusedUnit']();if(!_0x8b7fa4)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x37065c=((_0x4aadd3=this[_0x4cd7b6(0x2e7)][_0x4cd7b6(0x240)](_0x827ff8[_0x4cd7b6(0x276)]))!=null?_0x4aadd3:_0x827ff8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xa5fe81+_0x4cd7b6(0x1b1)+_0x123dfb,_0x1986fb=new URL(window[_0x4cd7b6(0x1cb)][_0x4cd7b6(0x3d5)]),_0x1c433b={'scriptId':_0xa5fe81,'runId':(_0x4aa5b7=_0x1986fb[_0x4cd7b6(0x30b)]['get'](_0x4cd7b6(0x3f5)))!=null?_0x4aa5b7:'','function':_0x123dfb,'unitId':_0x8b7fa4[_0x4cd7b6(0x212)](),'argsOfFunction':JSON['stringify'](_0x518c95),'invokeId':(_0x5e133f=_0x1a508f[_0x4cd7b6(0x1c7)])!=null?_0x5e133f:'','executionId':(_0x1f0e71=_0x1a508f[_0x4cd7b6(0x3e7)])!=null?_0x1f0e71:''};try{const _0x2a2759=await this['_httpService']['post'](_0x37065c,{'body':_0x1c433b});return _0x2a2759[_0x4cd7b6(0x1b6)][_0x4cd7b6(0x2b4)]&&_0x2a2759[_0x4cd7b6(0x1b6)][_0x4cd7b6(0x2b4)][_0x4cd7b6(0x2a0)]!==_0x510fae['OK']?_0x4cd7b6(0x1e5):_0x2a2759['body'][_0x4cd7b6(0x1df)];}catch{return'Failed';}}},_0x3dc1b0['RemoteUniscriptService']=_0x32fa26([_0x4558cf(0x0,_0x1c002c[_0x26cc89(0x32d)]),_0x4558cf(0x1,_0x1c002c['Inject'](_0x286260[_0x26cc89(0x20b)])),_0x4558cf(0x2,_0x1c002c['IConfigService'])],_0x3dc1b0['RemoteUniscriptService']),_0x3dc1b0['CollaborationStatusDisplay']=_0x725819,_0x3dc1b0['IURLService']=_0x53ff22,_0x3dc1b0[_0x26cc89(0x3b1)]=_0x9aba2b,_0x3dc1b0[_0x26cc89(0x1a2)]=_0x3cdc42,_0x3dc1b0['WebURLService']=_0x3a8e37,Object['defineProperty'](_0x3dc1b0,Symbol[_0x26cc89(0x3b0)],{'value':_0x26cc89(0x2ad)});}));
|