@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505201607 → 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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x568b98=_0xdafd;(function(_0xc6bfc4,_0x3b2114){const _0x245704=_0xdafd,_0x2585bb=_0xc6bfc4();while(!![]){try{const _0x39f29b=-parseInt(_0x245704(0x2c7))/0x1+parseInt(_0x245704(0x247))/0x2+-parseInt(_0x245704(0x1a7))/0x3*(-parseInt(_0x245704(0x32a))/0x4)+parseInt(_0x245704(0x1ce))/0x5*(parseInt(_0x245704(0x15c))/0x6)+parseInt(_0x245704(0x172))/0x7+-parseInt(_0x245704(0x2ae))/0x8*(-parseInt(_0x245704(0x18e))/0x9)+-parseInt(_0x245704(0x2e7))/0xa;if(_0x39f29b===_0x3b2114)break;else _0x2585bb['push'](_0x2585bb['shift']());}catch(_0x33d4d2){_0x2585bb['push'](_0x2585bb['shift']());}}}(_0x2095,0xb0d7d));var $t=Object[_0x568b98(0x2bc)],xt=(_0x6c78ac,_0x37bee2,_0x1b1aaf)=>_0x37bee2 in _0x6c78ac?$t(_0x6c78ac,_0x37bee2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b1aaf}):_0x6c78ac[_0x37bee2]=_0x1b1aaf,_=(_0x4a2f4d,_0x2825fa,_0x2c2aec)=>xt(_0x4a2f4d,typeof _0x2825fa!=_0x568b98(0x321)?_0x2825fa+'':_0x2825fa,_0x2c2aec);import{MemberService as _0xd60d12,SessionStatus as _0x51d7ad,CollaborationSessionService as _0x5ae39d,CollaborationStatus as _0xa23b9e,CollaborationController as _0x56ba9f,ILocalCacheService as _0x2755a3,CollaborationUIEventService as _0x2a341e,CollaborationUIEventId as _0x474087,DataLoaderService as _0x2bcd8a,DocCollaborationEntity as _0x338daf,getLocalCacheKey as _0x1b4ac8,LOCAL_CACHE_INTERVAL as _0x26387f,LOCAL_CACHE_INTERVAL_KEY as _0x16888c,UniverCollaborationClientPlugin as _0x59101b,CollaborationSocketService as _0x5df4a7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x496a5b,DEFAULT_WS_SESSION_TICKET_URL as _0x5432d2,UnitStatus as _0x540c8d,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1ecb0e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x563a1a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4ffef8,Disposable as _0x3f16d8,DOC_RANGE_TYPE as _0x1f3f3d,Inject as _0x6d32dc,Injector as _0x1e626a,IUniverInstanceService as _0x1234fa,ICommandService as _0x450935,debounce as _0x23dd0f,Rectangle as _0x471575,DisposableCollection as _0x2cb202,toDisposable as _0x1f8c5e,UniverInstanceType as _0x142ba1,Tools as _0x4ce80e,COLORS as _0x3530f0,ColorKit as _0x2ee150,ThemeService as _0x507dc3,fromEventSubject as _0x4d8be1,LocaleService as _0x4b501d,createIdentifier as _0x3e2b2e,ILogService as _0x553ff6,Optional as _0x164671,Workbook as _0x335c30,CommandType as _0x3c6601,IConfigService as _0x57f776,ILocalStorageService as _0x40696b,DependentOn as _0x19df80,Plugin as _0x54a92a,merge as _0x3cf67f,registerDependencies as _0x16d380,mergeOverrideWithDependencies as _0x4d898d,touchDependencies as _0x5e475c,generateRandomId as _0x4bbe86}from'@univerjs/core';import{Shape as _0x5dbcdf,Rect as _0x2e1f81,getColor as _0x370534,RegularPolygon as _0x322c0e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1d0f06,Vector2 as _0xba7c2,SHEET_VIEWPORT_KEY as _0x51dbc8,IRenderManagerService as _0x107d26}from'@univerjs/engine-render';import{ISocketService as _0x51f3b5,WebSocketService as _0x108140,HTTPService as _0x3ee678}from'@univerjs/network';import{IDocClipboardService as _0x54ab34,NodePositionConvertToCursor as _0x532758,NodePositionConvertToRectRange as _0x1d1cb9,TEXT_RANGE_LAYER_INDEX as _0x56e242,SetDocZoomRatioOperation as _0x5e04db,DocIMEInputManagerService as _0xfe4d58,DocStateChangeManagerService as _0x137048}from'@univerjs/docs-ui';import{IImageIoService as _0x364260}from'@univerjs/drawing';import{BehaviorSubject as _0xd1fc21,debounceTime as _0x2f381b,takeUntil as _0x37d2d6,Subject as _0x1b2d13,filter as _0x242cb5,switchMap as _0x15bcfa,merge as _0x1a95c3,combineLatest as _0x321be4,of as _0x5ba222,fromEvent as _0x1ef346,shareReplay as _0x35f9aa,mapTo as _0x13a5cf,distinctUntilChanged as _0x15bdb5}from'rxjs';function _0x2095(){const _0x1f4ba7=['findNodePositionByCharIndex','collabStatus.notCollab','mutations','off-line-single_clip0_910_343','getSheetId','sheetId','getViewport','_onCursorUpdate','getAncestorScale','subUnitId','_scheduleHeartbeat','length','string','APPLY_REJECT','registerComponent','transformStateCache','loadOfflineData','_transformService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','body','OFFLINE','fillStyle','_onCursorDelete','idSuffix','indexOf','33369390YjMWDZ','uni.network.url-service','onLocalMutation','random','_assignedColors','font','_eventUnsubscribe','getStateCache','setStateCache','getConfig','1em','_themeService','getDocRanges','_refRangeService','unitID','collabStatus.fetchMiss','path','Warning','INVITE_CODE_HAS_BEEN_UES','mask','getCurrent','type','concat','PY_RUNTIME_SCRIPT_ERROR','params','UNAUTHENTICATED','setActiveRange','init','...','ENSURE_SNAPSHOT_EXECUTION','labelPosition','tag','collaboration-client.offline-data-not-saved','_getAnchorBounding','LICENSE_IMPORT_SIZE_EXCEEDED','saveTaskMap','UNRECOGNIZED','Unknown\x20user','popstate','_dataLoaderService','_docStateChangeManagerService','_scene','_removeCollabCursors','_updateLocalCursor','INVITE_CODE_REQUIRED','onPointerEnter$','COMPLETION_FINISHED','setUndoRedoMutationParamsCache','_cursorInfo$','TOO_MANY_REQUESTS','_univerInstanceService','_commandService','CONNECTOR_DATA_TOO_LARGE','_collabCursorState$','collab-text-range-','LICENSE_MAX_UNITS_EXCEEDED','_createSocketURL','_notificationService','symbol','_transformHistoryAndStateStack','getSheetBySheetId','undoState','drawWith','createSocket','univer-flex\x20univer-items-center','MUTATION','createInstance','20SkhXkZ','_startDocCollabCursor','focused$','#fff','getCellPositionByOffset','collabStatus.offline','getTypeOfUnitDisposed$','m2Prime','_handleEvent','sheetID','enableLocalCache','none','search','getMember','YUUMI_RATE_OVER_LIMIT','transformByState','lineTo','unitId','_textBubble','className','InsertRowCommandId','fillText','_localCacheService','/run/','defIds','DeleteRangeMoveUpCommandId','YUUMI_URL_COL_OUT_OF_RANGE','_labelPosition','isEditing','split','_draw','onStarting','ACTIVE_UNIT_EVENT_CHANNEL','href','_scheduleClearOtherTimer','startColumn','_document','_docTransformSelectionsService','OTHER_CLIENTS_EDITING','RECT','getRenderById','range','_updateURLWithCurrentState','closePath','_saveTaskMap','_hideTimer','stringify','forEach','onPointerLeave$','fill','getActiveSheet','_configService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collabStatus.syncing','session.connection-failed','delete','94728aDyFPx','_disabled','deepClone','cursorInfo','clipPath','children','setAlpha','collabStatus.synced','activeSheet$','_entityInit$','UPDATE_CURSOR','some','registerRefRange','_lastPointer','APPLY_DUPLICATED','all','YUUMI_ASYNCIO_CANCELLED','_ensureSubject','_unitOnClients','_uiPartsService','arc','push','8920975IFIIei','onPointerMove$','getUnhiddenWorksheets','_collaborationUIEventService','setTimeout','unshift','_getMergeRange','urlChange$','setParam','hovered','APPLY_PERMISSION_DENIED','_color','getUnitStatus$','getOffsetConfig','getCollabEntity$','collab-client.tooltip.reconnect','_backgroundColor','_beforeCloseService','onCommandExecuted','_revisionService','_docSkeletonManagerService','propertyIsEnumerable','from','_initStatusComponent','url(#on-line-single_clip0_910_349)','extend','roomMembers','FromArray','534762EpEGtS','_range','_instanceService','_cachedData','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SYNCED','_logService','result','UNIVER_DOC','SNAPSHOT_INVALID_SNAPSHOT','getColorFromTheme','docStateChange$','displayName','getTypeOfUnitAdded$','_onRefRangeChange','exhaustSavingTask','_shapes','USERS_LEAVE','min','makeDirty','engine','getMergeData','top','runId','searchParams','815895sZSdzl','pushState','reconnect','getValue','SOCKET_FAILED','_getSheetObject','LOGIN_FAILED','cursorInfo$','_setupSubUnitSync','purple.300','collaboration.closeRoom','_saveCache','error','Failed','backgroundColor','_initEntityListener','send','_scheduleSaving','resize','_cursorShapes','_heartbeatTimer','add','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','eventID','_docTransformIMECacheService','_refreshCollabCursors','assignAColorForMemberID','InsertColCommandId','substring','rgba(255,\x20255,\x20255,\x200.01)','round','_updateCollabCursors','WECHAT_HAS_BEEN_BOUND','_initDependencies','_urlService','_registerRenderDependencies','_initResize','_session','wsSessionTicketUrl','210YNVioa','TEXT','key','executeCommand','_collabCursorController','editingUnit','runOnServer','pluginName','entityInit$','univerjs-icon\x20univerjs-icon-','getParam','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INVALID_ARGUMENT','setInterval','with','collabCursorState$','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','_selfUnitIDs','_status$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UniverIcon','_localStorageService','generateRandomId','INVALID_INVITE_CODE','prototype','_toggleOffline','_colorAssignService','_init','_injector','_getSessionTicket','transform','_cursors','trim','_context','UNDEFINED','text','find','startRow','endRow','getCurrentSelections','_collaborationController','sessionStatus$','_config','_colorIndex','flatMap','getCurrentRevOfUnit','roomMembers$','EMAIL_HAS_BEEN_BOUND','_anchor','measureText','NOT_COLLAB','name','OffLineSingle','syncEditingCollabCursor','_hover','_id','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','transformMutation','APPLY_NON_SEQUENTIAL_REVISION','collab-rect-range-','registerRenderModule','svg','_roomMembers$','evenodd','_handleLeaveEvent','getUndoRedoMutationParamsCache','max','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','beginPath','executionId','set','selection','doc.mutation.rich-text-editing','entries','AWAITING','disposeWithMe','jiqing.500','_transformPreviousActiveRange','_unitStatus','then','color','pipe','getRelativeToViewportCoord','_handleHeartbeatEvent','getRangePointData','PERMISSION_DENIED','startsWith','setShapeProps','red.300','subscribeEvent','_initEvent','bottom','getOwnPropertySymbols','_clearOtherTimers','_online','on-line-single_clip0_910_349','collaboration-client-ui.config','permission.title','_messageService','post','fillRule','_entities','onRendered','addEventListener','getItem','url(#off-line-single_clip0_910_343)','complete','MOBILE_HAS_BEEN_BOUND','UNIVER_SHEET','getMemberID','_drawRectRange','currentSkeleton$','RemoveColCommandId','redoState','_localeService','contains','YUUMI_ALL_TABLES_IS_INVALID','origin','saveImage','_startSheetCollabCursor','_memberService','1764972ENcwOB','getCollabCursors$','AWAITING_WITH_PENDING','addObjects','LICENSE_DISTRO_REJECTED','event$','height','dispose','_initStatusListener','APPLY_REVISION_CONFILICT','attrs','_docSkeleton','parse','FETCH_MISS','NO_OTHER_CLIENTS_EDITING','M0\x200H16V16H0z','_anchorDot','column','LICENSE_EXPORT_SIZE_EXCEEDED','_docTransformStateCacheService','green.600','unload','defs','_getScale','NOT_FOUND','m1Prime','getOwnPropertyDescriptor','toString','_docClipboardService','0\x200\x2016\x2016','save','_handleJoinEvent','OnLineSingle','location','isActive','_renderManagerService','subunit','ALREADY_EXISTS','getSkeleton','status$','USER_NOT_INVITED_CODE','YUUMI_NO_CUBOID_FOR_QUESTION','restore','collabStatus.conflict','div','YUUMI_UNABLE_LOAD_URL','INTERNAL_ERROR','CONFLICT','on-line-single','_syncEditingCollabCursorService','isArray','_updateSubUnitFromURLParams','next','DeleteRangeMoveLeftCommandId','show','VIEW_MAIN','translate(.97)','SNAPSHOT_HAS_BEEN_REMOVED','call','get','ranges','getUnitId','clearTimeout','addObject','actions','colorChannel1','InsertRangeMoveDownCommandId','transformRemoteChangeset','disposeUnit','unit','YUUMI_AI_RUN_FAILED','xlink:href','requireSession','off-line-single','OTHER_CLIENT_EDITING','_imageIoService','CHANGESET_REVISION_CONFILICT','subscribe','[CollaborationDataLoaderController]','unsubscribe','_handleHover','_registerDependencies','MoveRangeCommandId','assign','newValue','transformSelections','_toggleOnline','INVITE_CODE_ALREADY_BOUND','_httpService','width','hasOwnProperty','_sheetSkeletonManagerService','url(#$1','_transformUndoRedoStack','_drawAnchor','textRanges','_removeClearOtherTimer','_render','updateOfflineData','size','setItem','replaceState','map','72HIowgI','hide','_collabSessionService','dispose$','storage','includes','_cursor','_getSaveTimeout','values','clearInterval','onTransformChange$','_hovered','onMouseMove','_setupBeforeClosingHandler','defineProperty','black','Error','getVpScrollXYInfoByPosToVp','history','getFocusedUnit','getCurrentUnitForType','_name','has','whenReady','_docSyncEditingCollabCursorService','653306nJUIun','toRgbString','blue.400','data','removeParam','currentColor','asObservable'];_0x2095=function(){return _0x1f4ba7;};return _0x2095();}import{SetTextSelectionsOperation as _0x3a761f,RichTextEditingMutation as _0x3ee934,DocSelectionManagerService as _0x55110a,DocSkeletonManagerService as _0x1afc74}from'@univerjs/docs';import{ITransformService as _0xfd345b,CollaborationEvent as _0x69b39f,isTransformMutationFailure as _0x574026,isTransformMutationsWithChangesetSuccess as _0x3a585f,RevisionService as _0x2dcaae,ISnapshotServerService as _0x2ac1aa}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x8e11af,serializeRangeWithSheet as _0x2471b8}from'@univerjs/engine-formula';import{RefRangeService as _0x2d324d,SetSelectionsOperation as _0x248e9f,SheetsSelectionsService as _0x5975a6,EffectRefRangId as _0x17eb3c,handleIRemoveRow as _0x516a47,handleIRemoveCol as _0x40020a,handleMoveRange as _0x3a7196,handleInsertRow as _0x581d09,handleInsertRangeMoveRight as _0x545273,handleInsertRangeMoveDown as _0x1997e6,handleInsertCol as _0x52369e,handleDeleteRangeMoveUp as _0x29bcab,handleDeleteRangeMoveLeft as _0x33305e,runRefRangeMutations as _0x2b077d,SetWorksheetActivateCommand as _0x542b3f}from'@univerjs/sheets';import{map as _0xb8b86,filter as _0x3a7855,throttleTime as _0x20128c,takeUntil as _0x257644,switchMap as _0x5ecea1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x45c7b5,getCoordByCell as _0x32fc47,getSheetObject as _0x1bd9f1}from'@univerjs/sheets-ui';import{jsx as _0x7b61f3,jsxs as _0x31b2a2}from'react/jsx-runtime';import{useObservable as _0x20cba3,useDependency as _0x1eb7bd,IUIPartsService as _0x4a897c,BuiltInUIPart as _0xb90716,connectInjector as _0x52a6fe,IBeforeCloseService as _0x4598f3,IMessageService as _0x1869bb,INotificationService as _0x50baca}from'@univerjs/ui';import{Tooltip as _0x428afd,clsx as _0x18371d,MessageType as _0x52eac5}from'@univerjs/design';import{forwardRef as _0x2e9c63,useRef as _0x3ccda1,createElement as _0x332d39,useCallback as _0x2d4746}from'react';import{IRemoteInstanceService as _0x44414a}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x152918,_0x5b75dc,_0x42b184,_0x175b1d)=>{const _0x32f161=_0x568b98;for(var _0x5e7f7b=_0x175b1d>0x1?void 0x0:_0x175b1d?ci(_0x5b75dc,_0x42b184):_0x5b75dc,_0x4e52a1=_0x152918[_0x32f161(0x2d9)]-0x1,_0x2348e3;_0x4e52a1>=0x0;_0x4e52a1--)(_0x2348e3=_0x152918[_0x4e52a1])&&(_0x5e7f7b=_0x2348e3(_0x5e7f7b)||_0x5e7f7b);return _0x5e7f7b;},Je=(_0x3d62ac,_0x2a7f92)=>(_0x433c39,_0x9821c8)=>_0x2a7f92(_0x433c39,_0x9821c8,_0x3d62ac);let Ne=class extends _0x4ffef8{constructor(_0x480b5e,_0x5e10b8){const _0x4aed85=_0x568b98;super(),this[_0x4aed85(0x263)]=_0x480b5e,this[_0x4aed85(0x292)]=_0x5e10b8,this['_init']();}['_init'](){const _0x3b4619=_0x568b98,_0x5dd968=this;this['disposeWithMe'](this[_0x3b4619(0x263)]['addClipboardHook']({'onBeforePasteImage':async _0xffa3a9=>{const _0x4df984=_0x3b4619,_0x24302c=await _0x5dd968[_0x4df984(0x292)][_0x4df984(0x244)](_0xffa3a9);return _0x24302c?{'source':_0x24302c['source'],'imageSourceType':_0x24302c['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x54ab34),Je(0x1,_0x364260)],Ne);const Ze=[_0x568b98(0x1b0),_0x568b98(0x21a),_0x568b98(0x25b),_0x568b98(0x226),_0x568b98(0x2c9),'yellow.400'];class ke extends _0x3f16d8{constructor(){const _0x5198ca=_0x568b98;super(...arguments),_(this,_0x5198ca(0x2eb),new Map()),_(this,_0x5198ca(0x1f9),0x0);}[_0x568b98(0x1c1)](_0x5114f9){const _0x36c793=_0x568b98;if(this['_assignedColors'][_0x36c793(0x2c4)](_0x5114f9))return this[_0x36c793(0x2eb)][_0x36c793(0x282)](_0x5114f9);const _0x254dba=Ze[this[_0x36c793(0x1f9)]];return this[_0x36c793(0x1f9)]=(this[_0x36c793(0x1f9)]+0x1)%Ze[_0x36c793(0x2d9)],this['_assignedColors'][_0x36c793(0x214)](_0x5114f9,_0x254dba),_0x254dba;}}function Tt(_0x1045f4){const _0x16604c=_0x568b98;let _0x128a53='';for(const _0x9423ff of _0x1045f4){const {startOffset:_0x1fe4e9,endOffset:_0x501700,isActive:_0x1a7b25,rangeType:_0x372475,segmentId:_0x4e61ae,segmentPage:_0x3b62e7}=_0x9423ff;_0x128a53[_0x16604c(0x2d9)]&&(_0x128a53+=','),_0x128a53+=_0x1fe4e9+':'+_0x501700+':'+(_0x1a7b25?'1':'0')+':'+_0x372475+':'+_0x4e61ae+':'+_0x3b62e7;}return _0x128a53;}function _i(_0x11f32c){const _0x582d8b=_0x568b98,_0xf5cf4a=_0x11f32c[_0x582d8b(0x141)](','),_0x5821be=[];for(const _0x226eb3 of _0xf5cf4a){const [_0x96cf9e,_0x197630,_0x5b3877,_0x2ab5a0,_0x207d33,_0x2f07d9]=_0x226eb3[_0x582d8b(0x141)](':');_0x5821be[_0x582d8b(0x171)]({'startOffset':Number(_0x96cf9e),'endOffset':Number(_0x197630),'collapsed':_0x96cf9e===_0x197630,'isActive':_0x5b3877==='1','rangeType':_0x2ab5a0===_0x1f3f3d['TEXT']?_0x1f3f3d[_0x582d8b(0x1cf)]:_0x1f3f3d['RECT'],'segmentId':typeof _0x207d33=='string'?String(_0x207d33):'','segmentPage':Number(_0x2f07d9!=null?_0x2f07d9:-0x1)});}return _0x5821be[_0x582d8b(0x167)](_0x4588d1=>_0x4588d1[_0x582d8b(0x269)])||(_0x5821be[0x0][_0x582d8b(0x269)]=!0x0),_0x5821be;}class He extends _0x4ffef8{constructor(){const _0x53c27e=_0x568b98;super(...arguments),_(this,_0x53c27e(0x31c),new _0xd1fc21(null)),_(this,_0x53c27e(0x1dd),this['_collabCursorState$'][_0x53c27e(0x2cd)]());}[_0x568b98(0x203)](_0x5b4e7c){const _0x2c76f0=_0x568b98,{unitID:_0x1a8158,memberID:_0x116443,textRanges:_0x2f3103}=_0x5b4e7c,_0x5c3e1a=Tt(_0x2f3103);if(_0x5c3e1a==='')return;const _0x1bfc60={'unitID':_0x1a8158,'memberID':_0x116443,'selection':_0x5c3e1a};this['_collabCursorState$'][_0x2c76f0(0x27b)](_0x1bfc60);}}var hi=Object[_0x568b98(0x261)],ui=(_0xb2cb63,_0x1ffda7,_0x324dbb,_0x503d04)=>{const _0x351a52=_0x568b98;for(var _0x129593=_0x503d04>0x1?void 0x0:_0x503d04?hi(_0x1ffda7,_0x324dbb):_0x1ffda7,_0x2a4b8c=_0xb2cb63[_0x351a52(0x2d9)]-0x1,_0x29005e;_0x2a4b8c>=0x0;_0x2a4b8c--)(_0x29005e=_0xb2cb63[_0x2a4b8c])&&(_0x129593=_0x29005e(_0x129593)||_0x129593);return _0x129593;},L=(_0x5dbacb,_0x458efa)=>(_0x2f4cda,_0x4ae6e3)=>_0x458efa(_0x2f4cda,_0x4ae6e3,_0x5dbacb);const di=0x12c,fi=0x64;let Ue=class extends _0x4ffef8{constructor(_0x12b66e,_0x8b52dd,_0x37771a,_0x59dc16,_0x44e637,_0x32127d,_0x19144d,_0x11c4b2,_0x2fa0dd){const _0xc988b1=_0x568b98;super(),_(this,_0xc988b1(0x22c),!0x1),_(this,_0xc988b1(0x1e9),!0x1),_(this,_0xc988b1(0x317),new _0xd1fc21(new Map())),_(this,_0xc988b1(0x1ae),this[_0xc988b1(0x317)][_0xc988b1(0x2cd)]()),_(this,_0xc988b1(0x20c),new _0xd1fc21([])),_(this,_0xc988b1(0x1fc),this[_0xc988b1(0x20c)][_0xc988b1(0x21f)](_0x2f381b(di))),_(this,_0xc988b1(0x312),_0x23dd0f(_0x768408=>{const _0x5a6b29=_0xc988b1,_0xc67632={'eventID':_0x69b39f[_0x5a6b29(0x166)],'data':{'unitID':this[_0x5a6b29(0x2f5)],'memberID':this[_0x5a6b29(0x1cc)][_0x5a6b29(0x23b)](),'selection':Tt(_0x768408)}};this[_0x5a6b29(0x1cc)][_0x5a6b29(0x1b7)](_0xc67632,this[_0x5a6b29(0x2f5)]);},fi)),(this[_0xc988b1(0x2f5)]=_0x12b66e,this[_0xc988b1(0x1cc)]=_0x8b52dd,this['_injector']=_0x37771a,this[_0xc988b1(0x1e8)]=_0x59dc16,this[_0xc988b1(0x246)]=_0x44e637,this['_syncEditingCollabCursorService']=_0x32127d,this[_0xc988b1(0x2df)]=_0x19144d,this[_0xc988b1(0x319)]=_0x11c4b2,this[_0xc988b1(0x31a)]=_0x2fa0dd);}get[_0x568b98(0x15f)](){const _0x4f5deb=_0x568b98;return this[_0x4f5deb(0x317)]['getValue']();}get[_0x568b98(0x18c)](){const _0x137d95=_0x568b98;return this['_roomMembers$'][_0x137d95(0x1aa)]();}['dispose'](){const _0x3766db=_0x568b98;super['dispose'](),this[_0x3766db(0x317)][_0x3766db(0x27b)](new Map()),this[_0x3766db(0x317)][_0x3766db(0x238)](),this[_0x3766db(0x20c)]['next']([]),this['_roomMembers$']['complete']();}[_0x568b98(0x302)](){const _0x4fbe6b=_0x568b98;this[_0x4fbe6b(0x1e9)]||(this[_0x4fbe6b(0x1e9)]=!0x0,this[_0x4fbe6b(0x1cc)][_0x4fbe6b(0x1f7)][_0x4fbe6b(0x21f)](_0x37d2d6(this[_0x4fbe6b(0x2b1)]))[_0x4fbe6b(0x294)](_0x3bfe52=>{_0x3bfe52===_0x51d7ad['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x4fbe6b(0x1cc)][_0x4fbe6b(0x24c)][_0x4fbe6b(0x21f)](_0x37d2d6(this[_0x4fbe6b(0x2b1)]))[_0x4fbe6b(0x294)](_0xb2c75=>{const _0x2b5fc2=_0x4fbe6b,_0x269183=_0xb2c75['eventID'];_0x269183===_0x69b39f[_0x2b5fc2(0x166)]&&this[_0x2b5fc2(0x2d5)](_0xb2c75),_0x269183===_0x69b39f[_0x2b5fc2(0x19f)]&&this[_0x2b5fc2(0x2e4)](_0xb2c75);}),this['disposeWithMe'](this['_commandService'][_0x4fbe6b(0x184)](_0x2836cd=>{const _0x3456bd=_0x4fbe6b,_0x45f35c=_0x2836cd[_0x3456bd(0x2ff)];_0x45f35c!=null&&this['_online']&&_0x2836cd['id']===_0x3a761f['id']&&_0x45f35c[_0x3456bd(0x33b)]===this['unitID']&&_0x45f35c[_0x3456bd(0x140)]===!0x1&&_0x45f35c['ranges'][_0x3456bd(0x2d9)]>0x0&&this[_0x3456bd(0x312)](_0x45f35c[_0x3456bd(0x283)]);})),this[_0x4fbe6b(0x278)][_0x4fbe6b(0x1dd)][_0x4fbe6b(0x21f)](_0x37d2d6(this[_0x4fbe6b(0x2b1)]))[_0x4fbe6b(0x294)](_0x4ae89d=>{const _0x1ab2e1=_0x4fbe6b;if((_0x4ae89d==null?void 0x0:_0x4ae89d['unitID'])!==this[_0x1ab2e1(0x2f5)])return;const _0x1633ba={'eventID':_0x69b39f[_0x1ab2e1(0x166)],'data':_0x4ae89d};this[_0x1ab2e1(0x2d5)](_0x1633ba);}),this[_0x4fbe6b(0x219)](this[_0x4fbe6b(0x31a)][_0x4fbe6b(0x184)](_0x20c529=>{const _0x33d2f3=_0x4fbe6b;if(_0x20c529[_0x33d2f3(0x2ff)]==null)return;const _0x4f0a5c=_0x20c529[_0x33d2f3(0x2ff)];if(_0x20c529['id']!==_0x3ee934['id']||_0x4f0a5c[_0x33d2f3(0x33b)]!==this[_0x33d2f3(0x2f5)])return;const _0x41288b={'id':_0x33d2f3(0x216),'params':_0x4f0a5c},_0x5dc562=this[_0x33d2f3(0x15f)];for(const [_0x4e6bcb,_0x3020f1]of _0x5dc562){const _0x593feb={'id':_0x33d2f3(0x216),'params':{'unitId':this[_0x33d2f3(0x2f5)],'actions':null,'textRanges':_0x3020f1['ranges']}},_0x4028ad=this[_0x33d2f3(0x2df)]['transformMutation'](_0x41288b,_0x593feb,!0x1);if(_0x574026(_0x4028ad))throw _0x4028ad[_0x33d2f3(0x1b3)];_0x5dc562[_0x33d2f3(0x214)](_0x4e6bcb,{..._0x3020f1,'ranges':_0x4028ad[_0x33d2f3(0x331)][_0x33d2f3(0x2ff)]['textRanges']});}queueMicrotask(()=>{const _0x59507c=_0x33d2f3;this[_0x59507c(0x317)][_0x59507c(0x27b)](_0x5dc562);});})));}[_0x568b98(0x2d5)](_0x2f6a8c){const _0x3bb411=_0x568b98;var _0x159c5a,_0x326fed;const {memberID:_0x84d3cf,selection:_0x3cbe60}=_0x2f6a8c['data'],_0x5090a1=_i(_0x3cbe60),_0x4d0c38=(_0x326fed=(_0x159c5a=this['_memberService'][_0x3bb411(0x337)](this[_0x3bb411(0x2f5)],_0x84d3cf))==null?void 0x0:_0x159c5a[_0x3bb411(0x201)])!=null?_0x326fed:'Unknown\x20user',_0x32b55d={'color':this[_0x3bb411(0x1e8)][_0x3bb411(0x1c1)](_0x84d3cf),'name':_0x4d0c38,'ranges':_0x5090a1},_0x41d834=this[_0x3bb411(0x15f)];_0x41d834[_0x3bb411(0x214)](_0x84d3cf,_0x32b55d),this[_0x3bb411(0x317)][_0x3bb411(0x27b)](_0x41d834);}[_0x568b98(0x2e4)](_0x3aa2eb){const _0x3cd2f0=_0x568b98,{memberID:_0x13a413}=_0x3aa2eb[_0x3cd2f0(0x2ca)],_0x4753bf=this[_0x3cd2f0(0x15f)];_0x4753bf[_0x3cd2f0(0x15b)](_0x13a413),this['_cursorInfo$'][_0x3cd2f0(0x27b)](_0x4753bf);}[_0x568b98(0x29d)](){const _0x11ef34=_0x568b98;var _0x1d655f;if(this[_0x11ef34(0x22c)]=!0x0,((_0x1d655f=this[_0x11ef34(0x319)]['getFocusedUnit']())==null?void 0x0:_0x1d655f[_0x11ef34(0x284)]())!==this[_0x11ef34(0x2f5)])return;const _0x333493=this[_0x11ef34(0x1ea)][_0x11ef34(0x282)](_0x55110a)[_0x11ef34(0x2f3)]();Array[_0x11ef34(0x279)](_0x333493)&&_0x333493[_0x11ef34(0x2d9)]>0x0&&this[_0x11ef34(0x312)](_0x333493);}[_0x568b98(0x1e7)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x6d32dc(_0x1e626a)),L(0x3,_0x6d32dc(ke)),L(0x4,_0x6d32dc(_0xd60d12)),L(0x5,_0x6d32dc(He)),L(0x6,_0xfd345b),L(0x7,_0x1234fa),L(0x8,_0x450935)],Ue);var Si=Object[_0x568b98(0x261)],mi=(_0x3984d8,_0x3b772d,_0x26c1a7,_0x3bb5ab)=>{const _0x1de942=_0x568b98;for(var _0x3559ec=_0x3bb5ab>0x1?void 0x0:_0x3bb5ab?Si(_0x3b772d,_0x26c1a7):_0x3b772d,_0x22246f=_0x3984d8[_0x1de942(0x2d9)]-0x1,_0x361049;_0x22246f>=0x0;_0x22246f--)(_0x361049=_0x3984d8[_0x22246f])&&(_0x3559ec=_0x361049(_0x3559ec)||_0x3559ec);return _0x3559ec;},x=(_0x15b461,_0x1a3621)=>(_0xb88da0,_0x1e0875)=>_0x1a3621(_0xb88da0,_0x1e0875,_0x15b461);const gi=0x12c,Ii=0x64,vi=()=>{let _0x4214d6=[],_0x2dc996=!0x1;return _0x2db3c4=>{const _0x3c3315=_0xdafd;_0x4214d6[_0x3c3315(0x171)](_0x2db3c4),_0x2dc996||(_0x2dc996=!0x0,setTimeout(()=>{const _0x4b046a=_0x3c3315;_0x4214d6[_0x4b046a(0x153)](_0x1b2b1a=>_0x1b2b1a()),_0x4214d6=[],_0x2dc996=!0x1;}));};};let Me=class extends _0x4ffef8{constructor(_0x8fb868,_0x7f55c6,_0x36b7ac,_0x3b0d48,_0x571cc3,_0x59e950,_0x13c3c3,_0x2846c1){const _0x1a37ad=_0x568b98;super(),_(this,_0x1a37ad(0x22c),!0x1),_(this,'_init',!0x1),_(this,_0x1a37ad(0x317),new _0xd1fc21(new Map())),_(this,_0x1a37ad(0x1ae),this[_0x1a37ad(0x317)][_0x1a37ad(0x2cd)]()),_(this,'_roomMembers$',new _0xd1fc21([])),_(this,_0x1a37ad(0x1fc),this[_0x1a37ad(0x20c)][_0x1a37ad(0x21f)](_0x2f381b(gi))),_(this,_0x1a37ad(0x312),_0x23dd0f((_0x14d943,_0x42643b)=>{const _0x3cb672=_0x1a37ad,_0x4515e8={'eventID':_0x69b39f[_0x3cb672(0x166)],'data':{'unitID':this['unitID'],'memberID':this[_0x3cb672(0x1cc)]['getMemberID'](),'selection':_0x2471b8(_0x14d943,_0x42643b[_0x3cb672(0x14d)])}};this['_session'][_0x3cb672(0x1b7)](_0x4515e8,this[_0x3cb672(0x2f5)]);},Ii)),(this[_0x1a37ad(0x2f5)]=_0x8fb868,this[_0x1a37ad(0x1cc)]=_0x7f55c6,this[_0x1a37ad(0x1ea)]=_0x36b7ac,this[_0x1a37ad(0x1e8)]=_0x3b0d48,this[_0x1a37ad(0x246)]=_0x571cc3,this[_0x1a37ad(0x319)]=_0x59e950,this[_0x1a37ad(0x31a)]=_0x13c3c3,this['_refRangeService']=_0x2846c1);}get['cursorInfo'](){const _0x8db428=_0x568b98;return this[_0x8db428(0x317)]['getValue']();}get[_0x568b98(0x18c)](){const _0x1d1c0b=_0x568b98;return this['_roomMembers$'][_0x1d1c0b(0x1aa)]();}[_0x568b98(0x24e)](){const _0x209c6e=_0x568b98;super['dispose'](),this[_0x209c6e(0x317)]['next'](new Map()),this['_cursorInfo$'][_0x209c6e(0x238)](),this[_0x209c6e(0x20c)][_0x209c6e(0x27b)]([]),this['_roomMembers$'][_0x209c6e(0x238)]();}[_0x568b98(0x302)](){const _0x44ccb4=_0x568b98;this[_0x44ccb4(0x1e9)]||(this[_0x44ccb4(0x1e9)]=!0x0,this[_0x44ccb4(0x1cc)][_0x44ccb4(0x1f7)]['pipe'](_0x37d2d6(this[_0x44ccb4(0x2b1)]))['subscribe'](_0x267301=>{_0x267301===_0x51d7ad['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x44ccb4(0x1cc)][_0x44ccb4(0x24c)][_0x44ccb4(0x21f)](_0x37d2d6(this[_0x44ccb4(0x2b1)]))['subscribe'](_0x5be3e6=>{const _0x4aceea=_0x44ccb4,_0x41d472=_0x5be3e6[_0x4aceea(0x1be)];_0x41d472===_0x69b39f[_0x4aceea(0x166)]&&this[_0x4aceea(0x2d5)](_0x5be3e6),_0x41d472===_0x69b39f['USERS_LEAVE']&&this[_0x4aceea(0x2e4)](_0x5be3e6);}),this[_0x44ccb4(0x19c)](),this['disposeWithMe'](this[_0x44ccb4(0x31a)][_0x44ccb4(0x184)](_0x29fd6d=>{const _0x43a38d=_0x44ccb4;if(this[_0x43a38d(0x22c)]&&_0x29fd6d['id']===_0x248e9f['id']&&_0x29fd6d[_0x43a38d(0x2ff)][_0x43a38d(0x33b)]===this[_0x43a38d(0x2f5)]){const _0x363c34=_0x29fd6d[_0x43a38d(0x2ff)];this['_updateLocalCursor'](_0x363c34[_0x43a38d(0x2d7)],_0x363c34['selections'][0x0]);}})));}[_0x568b98(0x2d5)](_0x2c7792){const _0x3f7869=_0x568b98;var _0xa1337a,_0x1dd3d4;const {memberID:_0x883b36,selection:_0x543d91}=_0x2c7792[_0x3f7869(0x2ca)],{sheetName:_0x3a6dca,range:_0x16fbb8}=_0x8e11af(_0x543d91),_0x489185={'name':(_0x1dd3d4=(_0xa1337a=this[_0x3f7869(0x246)][_0x3f7869(0x337)](this['unitID'],_0x883b36))==null?void 0x0:_0xa1337a['name'])!=null?_0x1dd3d4:_0x3f7869(0x30c),'range':this['_getMergeRange'](_0x3a6dca,_0x16fbb8),'sheetID':_0x3a6dca,'color':this[_0x3f7869(0x1e8)][_0x3f7869(0x1c1)](_0x883b36),'selection':_0x543d91},_0x12aa2c=this[_0x3f7869(0x15f)];_0x12aa2c[_0x3f7869(0x214)](_0x883b36,_0x489185),this[_0x3f7869(0x317)][_0x3f7869(0x27b)](_0x12aa2c);}[_0x568b98(0x2e4)](_0x2f8378){const _0x28e461=_0x568b98,{memberID:_0x3c00fa}=_0x2f8378[_0x28e461(0x2ca)],_0x3e6ca9=this['cursorInfo'];_0x3e6ca9[_0x28e461(0x15b)](_0x3c00fa),this[_0x28e461(0x317)][_0x28e461(0x27b)](_0x3e6ca9);}[_0x568b98(0x178)](_0x27348b,_0x434b98){const _0x565342=_0x568b98;var _0x4fae29,_0x2d2885;const _0x537728=(_0x2d2885=(_0x4fae29=this[_0x565342(0x319)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x4fae29[_0x565342(0x323)](_0x27348b))==null?void 0x0:_0x2d2885[_0x565342(0x1a3)]();return(_0x537728==null?void 0x0:_0x537728[_0x565342(0x1f2)](_0x539a0f=>_0x471575[_0x565342(0x241)](_0x539a0f,_0x434b98)))||_0x434b98;}[_0x568b98(0x19c)](){const _0x1e13cb=_0x568b98,_0x4744dc=new _0x2cb202(),_0x123828=vi(),_0x3abf45=()=>{const _0x39df08=_0xdafd;_0x4744dc[_0x39df08(0x24e)]();const _0xfc0902=(_0x4cfa41,_0x19b54f,_0x384233,_0x3164df)=>{const _0x1e45f8=_0x39df08;let _0xdf2917=[];switch(_0x4cfa41['id']){case _0x17eb3c[_0x1e45f8(0x27c)]:{_0xdf2917=_0x33305e(_0x4cfa41,_0x3164df);break;}case _0x17eb3c[_0x1e45f8(0x13d)]:{_0xdf2917=_0x29bcab(_0x4cfa41,_0x3164df);break;}case _0x17eb3c[_0x1e45f8(0x1c2)]:{_0xdf2917=_0x52369e(_0x4cfa41,_0x3164df);break;}case _0x17eb3c[_0x1e45f8(0x289)]:{_0xdf2917=_0x1997e6(_0x4cfa41,_0x3164df);break;}case _0x17eb3c['InsertRangeMoveRightCommandId']:{_0xdf2917=_0x545273(_0x4cfa41,_0x3164df);break;}case _0x17eb3c[_0x1e45f8(0x33e)]:{_0xdf2917=_0x581d09(_0x4cfa41,_0x3164df);break;}case _0x17eb3c[_0x1e45f8(0x299)]:{_0xdf2917=_0x3a7196(_0x4cfa41,_0x3164df);break;}case _0x17eb3c[_0x1e45f8(0x23e)]:{_0xdf2917=_0x40020a(_0x4cfa41,_0x3164df);break;}case _0x17eb3c['RemoveRowCommandId']:{_0xdf2917=_0x516a47(_0x4cfa41,_0x3164df);break;}}const _0x47ea7d=_0x2b077d(_0xdf2917,_0x3164df),_0x34780d=this[_0x1e45f8(0x15f)][_0x1e45f8(0x282)](_0x19b54f);if(_0x34780d&&_0x47ea7d){const _0x72f231={..._0x34780d,'range':_0x47ea7d};this[_0x1e45f8(0x15f)][_0x1e45f8(0x214)](_0x19b54f,_0x72f231),_0x123828(()=>{const _0x1ba57b=_0x1e45f8,_0x5240a6=this[_0x1ba57b(0x2f4)]['registerRefRange'](_0x47ea7d,_0x57fef3=>(_0x5240a6[_0x1ba57b(0x24e)](),_0xfc0902(_0x57fef3,_0x19b54f,_0x384233,_0x47ea7d)));_0x4744dc['add'](_0x5240a6);});}return{'redos':[],'undos':[]};};this[_0x39df08(0x15f)][_0x39df08(0x153)]((_0x301ce7,_0x48cea5)=>{const _0xed6374=_0x39df08,{range:_0x46cabf,sheetID:_0x2962a9}=_0x301ce7,_0x46bc2f=this['_refRangeService'][_0xed6374(0x168)](_0x46cabf,_0x4db3f3=>(_0x46bc2f[_0xed6374(0x24e)](),_0xfc0902(_0x4db3f3,_0x48cea5,_0x2962a9,_0x46cabf)));_0x4744dc['add'](_0x46bc2f);});};this['disposeWithMe'](_0x1f8c5e(this[_0x1e13cb(0x317)]['subscribe'](()=>{_0x3abf45();})));}[_0x568b98(0x29d)](){const _0x2f047c=_0x568b98;var _0x40e52f,_0x2bf3ea;if(this['_online']=!0x0,((_0x40e52f=this[_0x2f047c(0x319)]['getFocusedUnit']())==null?void 0x0:_0x40e52f[_0x2f047c(0x284)]())!==this[_0x2f047c(0x2f5)])return;const _0x4d7851=(_0x2bf3ea=this[_0x2f047c(0x1ea)][_0x2f047c(0x282)](_0x5975a6)[_0x2f047c(0x1f5)]())==null?void 0x0:_0x2bf3ea[0x0],_0x7b9474=this[_0x2f047c(0x319)][_0x2f047c(0x2c2)](_0x142ba1['UNIVER_SHEET'])[_0x2f047c(0x156)]();_0x4d7851&&_0x7b9474&&this[_0x2f047c(0x312)](_0x7b9474[_0x2f047c(0x2d2)](),_0x4d7851);}[_0x568b98(0x1e7)](){const _0x396fce=_0x568b98;this[_0x396fce(0x22c)]=!0x1;}};Me=mi([x(0x2,_0x6d32dc(_0x1e626a)),x(0x3,_0x6d32dc(ke)),x(0x4,_0x6d32dc(_0xd60d12)),x(0x5,_0x1234fa),x(0x6,_0x450935),x(0x7,_0x6d32dc(_0x2d324d))],Me);var pi=Object[_0x568b98(0x261)],Ci=(_0x58b9e7,_0x122e62,_0x54a6e9,_0x3405a7)=>{const _0x2c3d7=_0x568b98;for(var _0x32f81a=_0x3405a7>0x1?void 0x0:_0x3405a7?pi(_0x122e62,_0x54a6e9):_0x122e62,_0xc407e5=_0x58b9e7[_0x2c3d7(0x2d9)]-0x1,_0x3601c7;_0xc407e5>=0x0;_0xc407e5--)(_0x3601c7=_0x58b9e7[_0xc407e5])&&(_0x32f81a=_0x3601c7(_0x32f81a)||_0x32f81a);return _0x32f81a;},Se=(_0x264f36,_0x5af2fe)=>(_0x4ca53e,_0x40add1)=>_0x5af2fe(_0x4ca53e,_0x40add1,_0x264f36);let H=class extends _0x4ffef8{constructor(_0x2252c0,_0x1831af,_0x1c2397){const _0x313d76=_0x568b98;super(),_(this,_0x313d76(0x233),new Map()),_(this,_0x313d76(0x165),new _0x1b2d13()),(this[_0x313d76(0x319)]=_0x2252c0,this[_0x313d76(0x1ea)]=_0x1831af,this['_collabSessionService']=_0x1c2397,this[_0x313d76(0x1e9)]());}[_0x568b98(0x24e)](){const _0x9a7fc=_0x568b98;super['dispose'](),this[_0x9a7fc(0x165)][_0x9a7fc(0x238)](),this[_0x9a7fc(0x233)][_0x9a7fc(0x153)](_0x48c671=>_0x48c671['dispose']());}[_0x568b98(0x248)](_0x2f922b){const _0x3f5619=_0x568b98;return this[_0x3f5619(0x233)][_0x3f5619(0x2c4)](_0x2f922b)?this[_0x3f5619(0x233)][_0x3f5619(0x282)](_0x2f922b)[_0x3f5619(0x1ae)]:this['_entityInit$'][_0x3f5619(0x21f)](_0x242cb5(_0xe5b21f=>_0xe5b21f['unitID']===_0x2f922b),_0x15bcfa(_0x2127b4=>_0x2127b4[_0x3f5619(0x1ae)]));}[_0x568b98(0x1e9)](){const _0xa3c9f8=_0x568b98;this[_0xa3c9f8(0x319)][_0xa3c9f8(0x19b)](_0x142ba1['UNIVER_SHEET'])[_0xa3c9f8(0x21f)](_0x37d2d6(this[_0xa3c9f8(0x2b1)]))[_0xa3c9f8(0x294)](async _0xa07adc=>{const _0x189feb=_0xa3c9f8,_0xe484de=_0xa07adc[_0x189feb(0x284)](),_0x1a92fb=await this[_0x189feb(0x245)](_0xe484de);this[_0x189feb(0x165)]['next'](_0x1a92fb),this[_0x189feb(0x233)][_0x189feb(0x214)](_0xe484de,_0x1a92fb);}),this[_0xa3c9f8(0x319)][_0xa3c9f8(0x19b)](_0x142ba1['UNIVER_DOC'])[_0xa3c9f8(0x21f)](_0x37d2d6(this['dispose$']))['pipe'](_0x242cb5(_0x2ce2b0=>!_0x2ce2b0['getUnitId']()[_0xa3c9f8(0x224)]('__')))[_0xa3c9f8(0x294)](async _0x546b76=>{const _0x493ad0=_0xa3c9f8,_0x337e21=_0x546b76[_0x493ad0(0x284)](),_0x48f28f=await this[_0x493ad0(0x32b)](_0x337e21);this[_0x493ad0(0x165)][_0x493ad0(0x27b)](_0x48f28f),this[_0x493ad0(0x233)][_0x493ad0(0x214)](_0x337e21,_0x48f28f);}),_0x1a95c3(this[_0xa3c9f8(0x319)]['getTypeOfUnitDisposed$'](_0x142ba1[_0xa3c9f8(0x196)]),this['_univerInstanceService'][_0xa3c9f8(0x330)](_0x142ba1[_0xa3c9f8(0x23a)]))[_0xa3c9f8(0x21f)](_0x37d2d6(this[_0xa3c9f8(0x2b1)]))[_0xa3c9f8(0x294)](_0x12c106=>{const _0x1bf32b=_0xa3c9f8,_0x2bda7a=_0x12c106[_0x1bf32b(0x284)](),_0x1edcaf=this[_0x1bf32b(0x233)][_0x1bf32b(0x282)](_0x2bda7a);_0x1edcaf&&(_0x1edcaf[_0x1bf32b(0x24e)](),this['_entities']['delete'](_0x2bda7a));});}async[_0x568b98(0x245)](_0x183684){const _0x2f9761=_0x568b98,_0x569c1c=await this[_0x2f9761(0x2b0)][_0x2f9761(0x28f)](_0x183684),_0x5e40c3=this[_0x2f9761(0x1ea)][_0x2f9761(0x329)](Me,_0x183684,_0x569c1c);return _0x5e40c3[_0x2f9761(0x302)](),_0x5e40c3;}async[_0x568b98(0x32b)](_0x18ac52){const _0xb01e58=_0x568b98,_0x2f99f8=await this[_0xb01e58(0x2b0)]['requireSession'](_0x18ac52),_0x24f3bf=this[_0xb01e58(0x1ea)][_0xb01e58(0x329)](Ue,_0x18ac52,_0x2f99f8);return _0x24f3bf[_0xb01e58(0x302)](),_0x24f3bf;}};function _0xdafd(_0x18476a,_0x35471d){const _0x2095ba=_0x2095();return _0xdafd=function(_0xdafd93,_0x5a3d6a){_0xdafd93=_0xdafd93-0x13d;let _0x1af345=_0x2095ba[_0xdafd93];return _0x1af345;},_0xdafd(_0x18476a,_0x35471d);}H=Ci([Se(0x0,_0x1234fa),Se(0x1,_0x6d32dc(_0x1e626a)),Se(0x2,_0x6d32dc(_0x5ae39d))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x9b8ebf,_0x2b55b0){const _0x20b051=_0x568b98;let {radius:_0x47e892,width:_0x1d7fa1,height:_0x22683a}=_0x2b55b0;_0x47e892=_0x47e892!=null?_0x47e892:0x0,_0x1d7fa1=_0x1d7fa1!=null?_0x1d7fa1:0x1e,_0x22683a=_0x22683a!=null?_0x22683a:0x1e;let _0xc16bd7=0x0,_0x5d7bd1=0x0,_0x170363=0x0;_0xc16bd7=_0x5d7bd1=_0x170363=Math[_0x20b051(0x1a0)](_0x47e892,_0x1d7fa1/0x2,_0x22683a/0x2),_0x9b8ebf[_0x20b051(0x212)](),_0x9b8ebf['moveTo'](_0xc16bd7,0x0),_0x9b8ebf[_0x20b051(0x33a)](_0x1d7fa1-_0x5d7bd1,0x0),_0x9b8ebf[_0x20b051(0x170)](_0x1d7fa1-_0x5d7bd1,_0x5d7bd1,_0x5d7bd1,Math['PI']*0x3/0x2,0x0,!0x1),_0x9b8ebf['lineTo'](_0x1d7fa1,_0x22683a-_0x170363),_0x9b8ebf[_0x20b051(0x170)](_0x1d7fa1-_0x170363,_0x22683a-_0x170363,_0x170363,0x0,Math['PI']/0x2,!0x1),_0x9b8ebf[_0x20b051(0x33a)](0x0,_0x22683a),_0x9b8ebf[_0x20b051(0x33a)](0x0,_0xc16bd7),_0x9b8ebf[_0x20b051(0x170)](_0xc16bd7,_0xc16bd7,_0xc16bd7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x9b8ebf[_0x20b051(0x14f)](),_0x2b55b0['fill']&&(_0x9b8ebf[_0x20b051(0x265)](),_0x9b8ebf['fillStyle']=_0x2b55b0[_0x20b051(0x155)],_0x2b55b0[_0x20b051(0x232)]===_0x20b051(0x20d)?_0x9b8ebf[_0x20b051(0x155)](_0x20b051(0x20d)):_0x9b8ebf[_0x20b051(0x155)](),_0x9b8ebf['restore']());}class he extends _0x5dbcdf{constructor(_0x5691ee,_0x43d686){const _0x3dcad2=_0x568b98;super(_0x5691ee,_0x43d686),_(this,'color'),_(this,_0x3dcad2(0x1f1)),(this[_0x3dcad2(0x21e)]=_0x43d686==null?void 0x0:_0x43d686['color'],this[_0x3dcad2(0x1f1)]=_0x43d686==null?void 0x0:_0x43d686[_0x3dcad2(0x1f1)]);}static[_0x568b98(0x325)](_0x4f1592,_0x432992){const _0x385bd3=_0x568b98,{text:_0x18c035,color:_0x17e5ec}=_0x432992;_0x4f1592[_0x385bd3(0x265)](),_0x4f1592[_0x385bd3(0x2ec)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2658f3=_0x4f1592[_0x385bd3(0x1ff)](_0x18c035)[_0x385bd3(0x2a0)],_0x4bd3b4=Math['min'](_0x2658f3+0x2*me,Qe);Oi(_0x4f1592,{'height':ee,'radius':0x4,'width':_0x4bd3b4,'fill':_0x17e5ec}),_0x4f1592[_0x385bd3(0x2e3)]='#FFF';const _0x130195=me,_0x2c93d0=ee-Ei,_0x176000=Qe-0x2*me;if(_0x2658f3>_0x176000){let _0x14068e='',_0x11bc6a=0x0;for(const _0x26ae17 of _0x18c035){const _0x45160b=_0x4f1592[_0x385bd3(0x1ff)](_0x26ae17)['width'];if(_0x11bc6a+_0x45160b<=_0x176000-_0x4f1592[_0x385bd3(0x1ff)](_0x385bd3(0x303))[_0x385bd3(0x2a0)])_0x14068e+=_0x26ae17,_0x11bc6a+=_0x45160b;else{_0x14068e+='...';break;}}_0x4f1592[_0x385bd3(0x33f)](_0x14068e,_0x130195,_0x2c93d0);}else _0x4f1592['fillText'](_0x18c035,_0x130195,_0x2c93d0);_0x4f1592['restore']();}[_0x568b98(0x142)](_0x11ed3a){he['drawWith'](_0x11ed3a,this);}}const ge='collab-text-anchor-',bi=_0x568b98(0x31d),Ti=_0x568b98(0x209),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x568b98(0x1c4);class qe{constructor(_0x456fa6,_0x4cc7cd,_0x5c1dee,_0x27532f){const _0x59dde9=_0x568b98;_(this,_0x59dde9(0x19e),[]),_(this,'_anchor',null),_(this,_0x59dde9(0x33c),null),_(this,'_anchorDot',null),_(this,_0x59dde9(0x151),null),_(this,_0x59dde9(0x2ed),null),(this[_0x59dde9(0x2b4)]=_0x456fa6,this[_0x59dde9(0x310)]=_0x4cc7cd,this[_0x59dde9(0x252)]=_0x5c1dee,this[_0x59dde9(0x148)]=_0x27532f,this[_0x59dde9(0x2a8)]());}set['_hover'](_0x523491){const _0x5e79fe=_0x568b98;_0x523491?(this[_0x5e79fe(0x257)]&&this[_0x5e79fe(0x257)]['hide'](),this[_0x5e79fe(0x33c)]&&this['_textBubble'][_0x5e79fe(0x27d)]()):(this[_0x5e79fe(0x257)]&&this[_0x5e79fe(0x257)][_0x5e79fe(0x27d)](),this[_0x5e79fe(0x33c)]&&this[_0x5e79fe(0x33c)][_0x5e79fe(0x2af)]());}[_0x568b98(0x24e)](){const _0x5e3795=_0x568b98;for(const _0x5ab817 of this[_0x5e3795(0x19e)])_0x5ab817['dispose']();this[_0x5e3795(0x33c)]&&this[_0x5e3795(0x33c)]['dispose'](),this['_anchorDot']&&this[_0x5e3795(0x257)][_0x5e3795(0x24e)](),this[_0x5e3795(0x1fe)]&&this[_0x5e3795(0x1fe)][_0x5e3795(0x24e)](),this['_eventUnsubscribe']&&this[_0x5e3795(0x2ed)]();}[_0x568b98(0x2a8)](){const _0x87107e=_0x568b98;var _0x384920;const {_docSkeleton:_0x483f1e,_document:_0x7b77b}=this,{color:_0x4b051a,name:_0x515ebc,ranges:_0x1b77cb}=this[_0x87107e(0x2b4)],_0x2ea116=_0x7b77b[_0x87107e(0x17f)](),{docsLeft:_0xc8dca6,docsTop:_0x1c3064}=_0x2ea116,_0x1bb30b=new _0x532758(_0x2ea116,_0x483f1e);for(const {startOffset:_0x5c9261,endOffset:_0x1b7966,rangeType:_0x3a2588,segmentId:_0x24e795,segmentPage:_0x4b7493,collapsed:_0x23ef6a,isActive:_0x2507ac}of _0x1b77cb){const _0xb4a3b4=_0x483f1e[_0x87107e(0x2ce)](_0x5c9261,!0x0,_0x24e795,_0x4b7493);let _0x272f55=_0x483f1e[_0x87107e(0x2ce)](_0x1b7966,!0x0,_0x24e795,_0x4b7493);if(_0x272f55==null&&(_0x272f55=_0x483f1e['findNodePositionByCharIndex'](_0x1b7966-0x1,!0x1,_0x24e795,_0x4b7493)),_0x2507ac){const {contentBoxPointGroup:_0x2d7026}=_0x1bb30b[_0x87107e(0x222)](_0x272f55,_0x272f55);if(_0x2d7026[_0x87107e(0x2d9)]===0x0)continue;this[_0x87107e(0x2a5)](_0x4b051a,_0x2d7026,_0xc8dca6,_0x1c3064,_0x515ebc),this[_0x87107e(0x2ed)]=this['_handleHover']();}if(_0xb4a3b4&&_0x272f55){if(_0x3a2588===_0x1f3f3d[_0x87107e(0x14b)]){const _0x2e8c5f=new _0x1d1cb9(_0x2ea116,_0x483f1e),{pointGroup:_0x5535df}=(_0x384920=_0x2e8c5f[_0x87107e(0x222)](_0xb4a3b4,_0x272f55))!=null?_0x384920:{};if(_0x5535df==null||_0x5535df[_0x87107e(0x2d9)]===0x0)continue;this[_0x87107e(0x23c)](_0x4b051a,_0x5535df,_0xc8dca6,_0x1c3064);}else{if(!_0x23ef6a){const {borderBoxPointGroup:_0x51326b}=_0x1bb30b['getRangePointData'](_0xb4a3b4,_0x272f55);if(_0x51326b[_0x87107e(0x2d9)]===0x0)continue;this['_drawTextRange'](_0x4b051a,_0x51326b,_0xc8dca6,_0x1c3064);}}}}}[_0x568b98(0x2a5)](_0xda5f5c,_0x28329,_0x21fedb,_0x4c26a8,_0x273699){const _0x36648=_0x568b98,_0x360326=this[_0x36648(0x308)](_0x28329),{left:_0xd78655,top:_0x29cc51,height:_0x3a2695}=_0x360326,_0x3913ff=this[_0x36648(0x25e)](),_0x23ede8=Di/_0x3913ff,_0x4ad5cb=new _0x2e1f81(ge+_0x4ce80e[_0x36648(0x1e4)](X),{'left':_0xd78655+_0x21fedb-_0x23ede8,'top':_0x29cc51+_0x4c26a8,'height':_0x3a2695,'width':Ri,'fill':_0xda5f5c||_0x370534(_0x3530f0[_0x36648(0x2bd)],0x0),'strokeWidth':_0x23ede8,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x4ad5cb,this['_scene'][_0x36648(0x286)](_0x4ad5cb,_0x56e242);const _0x937913=new _0x2e1f81(ge+_0x4ce80e[_0x36648(0x1e4)](X),{'left':_0xd78655+_0x21fedb-_0x23ede8,'top':_0x29cc51+_0x4c26a8-Ie/0x2,'height':Ie,'width':Ie,'fill':_0xda5f5c||_0x370534(_0x3530f0[_0x36648(0x2bd)],0x0),'strokeWidth':0x0,'stroke':_0xda5f5c||_0x370534(_0x3530f0[_0x36648(0x2bd)],0x0),'evented':!0x1});this[_0x36648(0x257)]=_0x937913,this[_0x36648(0x310)][_0x36648(0x286)](_0x937913,_0x56e242);const _0x496646=new he(ge+_0x4ce80e[_0x36648(0x1e4)](X),{'left':_0xd78655+_0x21fedb-_0x23ede8,'top':_0x29cc51+_0x4c26a8-ee,'text':_0x273699,'color':_0xda5f5c});this['_textBubble']=_0x496646,this[_0x36648(0x310)][_0x36648(0x286)](_0x496646,_0x56e242),this['_hover']=!0x1;}[_0x568b98(0x297)](){const _0x529419=_0x568b98,_0x5ee5b6=this[_0x529419(0x1fe)]['onPointerEnter$'][_0x529419(0x227)](()=>{const _0x1704ad=_0x529419;this[_0x1704ad(0x204)]=!0x0;}),_0x2e53d0=this[_0x529419(0x1fe)][_0x529419(0x154)]['subscribeEvent'](()=>{const _0x41e6ed=_0x529419;this[_0x41e6ed(0x151)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x40bb32=_0x41e6ed;this[_0x40bb32(0x204)]=!0x1;},0x7d0);});return()=>{const _0x44b32c=_0x529419;_0x5ee5b6[_0x44b32c(0x296)](),_0x2e53d0[_0x44b32c(0x296)]();};}['_drawTextRange'](_0x1704bd,_0x3d25b1,_0x4b66e9,_0x377386){const _0x28bcd7=_0x568b98,_0x34dfc4=new _0x2ee150(_0x1704bd)[_0x28bcd7(0x162)](0.2)[_0x28bcd7(0x2c8)](),_0x2ff431=new _0x322c0e(bi+_0x4ce80e[_0x28bcd7(0x1e4)](X),{'pointsGroup':_0x3d25b1,'fill':_0x34dfc4||_0x370534(_0x3530f0[_0x28bcd7(0x2bd)],0.2),'left':_0x4b66e9,'top':_0x377386,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28bcd7(0x19e)][_0x28bcd7(0x171)](_0x2ff431),this[_0x28bcd7(0x310)][_0x28bcd7(0x286)](_0x2ff431,_0x56e242);}['_drawRectRange'](_0x3c8906,_0x1b8d12,_0x3dea67,_0x153cb2){const _0x450b6d=_0x568b98,_0x4790bf=new _0x2ee150(_0x3c8906)[_0x450b6d(0x162)](0.2)[_0x450b6d(0x2c8)](),_0x44e281=new _0x322c0e(Ti+_0x4ce80e['generateRandomId'](X),{'pointsGroup':_0x1b8d12,'fill':_0x4790bf||_0x370534(_0x3530f0[_0x450b6d(0x2bd)],0.2),'left':_0x3dea67,'top':_0x153cb2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x450b6d(0x171)](_0x44e281),this[_0x450b6d(0x310)][_0x450b6d(0x286)](_0x44e281,_0x56e242);}[_0x568b98(0x308)](_0x3adfca){const _0x449b69=_0x3adfca[0x0],_0x56f468=_0x449b69[0x0],_0x44a824=_0x449b69[0x2],{x:_0x4e34c2,y:_0x5995e0}=_0x56f468,{x:_0x4996fa,y:_0x4c6078}=_0x44a824;return{'left':_0x4e34c2,'top':_0x5995e0,'width':_0x4996fa-_0x4e34c2,'height':_0x4c6078-_0x5995e0};}[_0x568b98(0x25e)](){const _0x413b5a=_0x568b98,{scaleX:_0x5162e4,scaleY:_0x1b0307}=this[_0x413b5a(0x310)][_0x413b5a(0x2d6)]();return Math[_0x413b5a(0x210)](_0x5162e4,_0x1b0307);}}var Ui=Object[_0x568b98(0x261)],Mi=(_0x370b0f,_0x3fc972,_0x10a4b4,_0x477e55)=>{const _0x5eaaeb=_0x568b98;for(var _0x3c4689=_0x477e55>0x1?void 0x0:_0x477e55?Ui(_0x3fc972,_0x10a4b4):_0x3fc972,_0x581af5=_0x370b0f[_0x5eaaeb(0x2d9)]-0x1,_0x32decd;_0x581af5>=0x0;_0x581af5--)(_0x32decd=_0x370b0f[_0x581af5])&&(_0x3c4689=_0x32decd(_0x3c4689)||_0x3c4689);return _0x3c4689;},Z=(_0x5cabfb,_0x1cefc5)=>(_0x4c9b64,_0x416dad)=>_0x1cefc5(_0x4c9b64,_0x416dad,_0x5cabfb);let Pe=class extends _0x4ffef8{constructor(_0xbcb093,_0x3a4ab9,_0x22ec4b,_0x3e891d,_0x288ff3){const _0x482845=_0x568b98;super(),_(this,_0x482845(0x1ba),[]),_(this,_0x482845(0x1ed),[]),(this[_0x482845(0x1ef)]=_0xbcb093,this['_docSkeletonManagerService']=_0x3a4ab9,this[_0x482845(0x1d2)]=_0x22ec4b,this[_0x482845(0x31a)]=_0x3e891d,this['_themeService']=_0x288ff3,this[_0x482845(0x1e9)]());}['_init'](){const _0x3814a0=_0x568b98,_0x2962bd=this[_0x3814a0(0x1ef)][_0x3814a0(0x33b)],_0x2db7bd=this['_docSkeletonManagerService'];this[_0x3814a0(0x219)](_0x321be4([this['_collabCursorController']['getCollabCursors$'](_0x2962bd),this[_0x3814a0(0x2f2)]['currentTheme$']])[_0x3814a0(0x21f)](_0xb8b86(([_0x1244e6,_0x5841ad])=>({'skeleton':_0x2db7bd[_0x3814a0(0x26d)](),'cursors':[..._0x1244e6['values']()][_0x3814a0(0x1fa)](_0x424f5f=>({..._0x424f5f,'color':this['_themeService']['getColorFromTheme'](_0x424f5f[_0x3814a0(0x21e)])}))})))['subscribe'](_0x3acb2b=>{const _0x3292a9=_0x3814a0;if(this[_0x3292a9(0x311)](),_0x3acb2b){const {skeleton:_0x1803cc,cursors:_0x193083}=_0x3acb2b;this['_updateCollabCursors'](_0x1803cc,_0x193083);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x568b98(0x1c6)](_0x332bff,_0xbb1131){const _0x33db70=_0x568b98,{scene:_0x1ae6ba,mainComponent:_0xc7d0e3}=this[_0x33db70(0x1ef)],_0x1af33c=_0xbb1131[_0x33db70(0x2ad)](_0x4ef5ba=>new qe(_0x4ef5ba,_0x1ae6ba,_0x332bff,_0xc7d0e3));this[_0x33db70(0x1ba)]=_0x1af33c,this[_0x33db70(0x1ed)]=_0xbb1131;}[_0x568b98(0x1c0)](){const _0x4a5f9c=_0x568b98;this['_removeCollabCursors']();const {scene:_0x2ef3a6,mainComponent:_0x36ff20}=this['_context'],_0x550f98=this[_0x4a5f9c(0x186)][_0x4a5f9c(0x26d)](),_0x3f0e9d=this['_cursors'][_0x4a5f9c(0x2ad)](_0x1a6bee=>new qe(_0x1a6bee,_0x2ef3a6,_0x550f98,_0x36ff20));this[_0x4a5f9c(0x1ba)]=_0x3f0e9d;}[_0x568b98(0x311)](){const _0x59983d=_0x568b98;this[_0x59983d(0x1ba)]['forEach'](_0x425347=>_0x425347[_0x59983d(0x24e)]()),this[_0x59983d(0x1ba)]=[];}['_initCommandExecutedListener'](){const _0x24a068=_0x568b98,_0x3815e4=[_0x5e04db['id']];this[_0x24a068(0x219)](this[_0x24a068(0x31a)][_0x24a068(0x184)](_0x4fc4c5=>{const _0x1634be=_0x24a068;_0x3815e4[_0x1634be(0x2b3)](_0x4fc4c5['id'])&&_0x4fc4c5[_0x1634be(0x2ff)][_0x1634be(0x33b)]===this[_0x1634be(0x1ef)][_0x1634be(0x33b)]&&this[_0x1634be(0x1c0)]();}));}[_0x568b98(0x1cb)](){const _0x560bc0=_0x568b98;this[_0x560bc0(0x219)](_0x4d8be1(this[_0x560bc0(0x1ef)][_0x560bc0(0x1a2)][_0x560bc0(0x2b8)])[_0x560bc0(0x21f)](_0x3a7855(_0x21c577=>_0x21c577['type']===_0x1d0f06[_0x560bc0(0x1b9)]),_0x20128c(0x10))[_0x560bc0(0x294)](()=>{const _0x27e811=_0x560bc0;this[_0x27e811(0x1c0)]();}));}};Pe=Mi([Z(0x1,_0x6d32dc(_0x1afc74)),Z(0x2,_0x6d32dc(H)),Z(0x3,_0x450935),Z(0x4,_0x6d32dc(_0x507dc3))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x5dbcdf{constructor(_0x4101b1,_0x475443){const _0x55073a=_0x568b98;super(_0x4101b1,_0x475443),_(this,_0x55073a(0x17d)),_(this,_0x55073a(0x2b9),!0x1),_(this,_0x55073a(0x18f)),_(this,_0x55073a(0x2c3),''),_(this,_0x55073a(0x13f),_0x55073a(0x1a4)),_(this,_0x55073a(0x182)),(_0x475443&&this[_0x55073a(0x225)](_0x475443),this[_0x55073a(0x314)]['subscribeEvent'](()=>this[_0x55073a(0x225)]({'hovered':!0x0})),this[_0x55073a(0x154)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x568b98(0x225)](_0x31bd1f){const _0x364d20=_0x568b98;var _0x3f8aef,_0x26c1bc,_0x26bb51,_0x3ce8e0,_0x20a564,_0x212f33;this[_0x364d20(0x17d)]=(_0x3f8aef=_0x31bd1f[_0x364d20(0x21e)])!=null?_0x3f8aef:this[_0x364d20(0x17d)],this[_0x364d20(0x2b9)]=(_0x26c1bc=_0x31bd1f[_0x364d20(0x17b)])!=null?_0x26c1bc:this[_0x364d20(0x2b9)],this[_0x364d20(0x18f)]=(_0x26bb51=_0x31bd1f['range'])!=null?_0x26bb51:this[_0x364d20(0x18f)],this[_0x364d20(0x2c3)]=(_0x3ce8e0=_0x31bd1f[_0x364d20(0x201)])!=null?_0x3ce8e0:this['_name'],this[_0x364d20(0x13f)]=(_0x20a564=_0x31bd1f[_0x364d20(0x305)])!=null?_0x20a564:this[_0x364d20(0x13f)],this[_0x364d20(0x182)]=(_0x212f33=_0x31bd1f[_0x364d20(0x1b5)])!=null?_0x212f33:this[_0x364d20(0x182)],this[_0x364d20(0x339)]({'width':_0x31bd1f[_0x364d20(0x2a0)],'height':_0x31bd1f[_0x364d20(0x24d)]});}[_0x568b98(0x2ba)](_0x137672){const _0x3b7059=_0x568b98,{row:_0x3f5313,column:_0x3d8316}=_0x137672;if(_0x3f5313>=this['_range'][_0x3b7059(0x1f3)]&&_0x3f5313<=this[_0x3b7059(0x18f)][_0x3b7059(0x1f4)]&&_0x3d8316>=this['_range'][_0x3b7059(0x147)]&&_0x3d8316<=this[_0x3b7059(0x18f)]['endColumn']){this[_0x3b7059(0x225)]({'hovered':!0x0});return;}this[_0x3b7059(0x225)]({'hovered':!0x1});}['triggerDblclick'](_0x5c77b5){return!0x1;}[_0x568b98(0x142)](_0x4e4c6b){const _0x24aa9d=_0x568b98;_0x2e1f81[_0x24aa9d(0x325)](_0x4e4c6b,{'width':this[_0x24aa9d(0x2a0)],'height':this[_0x24aa9d(0x24d)],'strokeWidth':Li,'stroke':this[_0x24aa9d(0x17d)],'evented':!0x1,'fill':this[_0x24aa9d(0x182)]}),this[_0x24aa9d(0x2b9)]&&(_0x4e4c6b[_0x24aa9d(0x265)](),_0x4e4c6b[_0x24aa9d(0x1ec)](0x1,0x0,0x0,0x1,this[_0x24aa9d(0x2a0)],this[_0x24aa9d(0x13f)]===_0x24aa9d(0x229)?0x0:-0x14),he[_0x24aa9d(0x325)](_0x4e4c6b,{'text':this['_name'],'color':this[_0x24aa9d(0x17d)]}),_0x4e4c6b[_0x24aa9d(0x271)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x240114,_0x12230d,_0x31e60a,_0x34dc87)=>{const _0x2b1452=_0x568b98;for(var _0x20865a=_0x34dc87>0x1?void 0x0:_0x34dc87?Ai(_0x12230d,_0x31e60a):_0x12230d,_0x14ea92=_0x240114[_0x2b1452(0x2d9)]-0x1,_0x596620;_0x14ea92>=0x0;_0x14ea92--)(_0x596620=_0x240114[_0x14ea92])&&(_0x20865a=_0x596620(_0x20865a)||_0x20865a);return _0x20865a;},ve=(_0x34928f,_0x23ca01)=>(_0xf71665,_0x32df10)=>_0x23ca01(_0xf71665,_0x32df10,_0x34928f);const $i=0x1389;let Le=class extends _0x4ffef8{constructor(_0x1046fd,_0x1f6131,_0x371e49,_0x17a943){const _0x25093d=_0x568b98;super(),_(this,'_cursors',new Set()),_(this,_0x25093d(0x169),null),(this[_0x25093d(0x1ef)]=_0x1046fd,this['_sheetSkeletonManagerService']=_0x1f6131,this[_0x25093d(0x1d2)]=_0x371e49,this[_0x25093d(0x2f2)]=_0x17a943,this[_0x25093d(0x1e9)]());}[_0x568b98(0x1e9)](){const _0x17e948=_0x568b98;this[_0x17e948(0x2a2)]['currentSkeleton$']['pipe'](_0x257644(this[_0x17e948(0x2b1)]),_0x5ecea1(_0x3b9d07=>{const _0xd8b3ce=_0x17e948;if(_0x3b9d07){const _0x33e9e9=_0x3b9d07[_0xd8b3ce(0x2d3)];return _0x321be4(this[_0xd8b3ce(0x1d2)]['getCollabCursors$'](this[_0xd8b3ce(0x1ef)]['unitId']),this[_0xd8b3ce(0x2f2)]['currentTheme$'])[_0xd8b3ce(0x21f)](_0xb8b86(([_0x34a712,_0x145bad])=>{const _0x2cb378=_0xd8b3ce,_0x317cd1=new Map();return _0x34a712[_0x2cb378(0x153)]((_0x5e918c,_0x3a892f)=>{const _0x49c9a3=_0x2cb378;if(_0x5e918c[_0x49c9a3(0x333)]===_0x33e9e9){const _0x1ce051={..._0x5e918c};_0x1ce051[_0x49c9a3(0x21e)]=this['_themeService'][_0x49c9a3(0x198)](_0x5e918c['color']),_0x317cd1[_0x49c9a3(0x214)](_0x3a892f,_0x1ce051);}}),{'skeleton':_0x3b9d07,'cursors':_0x317cd1};}));}return _0x5ba222({'skeleton':null,'cursors':new Map()});}))[_0x17e948(0x294)](({skeleton:_0x263d0c,cursors:_0x3ebb39})=>{const _0x1f36f1=_0x17e948;this[_0x1f36f1(0x311)](),_0x263d0c&&this[_0x1f36f1(0x1c6)](_0x263d0c,_0x3ebb39);}),this[_0x17e948(0x2a2)][_0x17e948(0x23d)][_0x17e948(0x294)](_0x39ce65=>{const _0x4102d4=_0x17e948;if(_0x39ce65==null)return;const {skeleton:_0x1986af}=_0x39ce65,{scene:_0x4d2dae}=this[_0x4102d4(0x1ef)];_0x4d2dae[_0x4102d4(0x173)][_0x4102d4(0x227)](_0x23dd0f(_0x57a001=>{const _0x3a95d8=_0x4102d4;var _0x2522ab,_0x4f9dc8;const {offsetX:_0x3a7ab6,offsetY:_0x5bc1ba}=_0x57a001,{x:_0x5a9c10,y:_0x25a33c}=_0x4d2dae[_0x3a95d8(0x220)](_0xba7c2[_0x3a95d8(0x18d)]([_0x3a7ab6,_0x5bc1ba])),{scaleX:_0x58ce6f,scaleY:_0x37d1b0}=_0x4d2dae['getAncestorScale'](),_0x5eedf2=_0x4d2dae[_0x3a95d8(0x2d4)](_0x51dbc8[_0x3a95d8(0x27e)]),_0x1425e3=_0x4d2dae[_0x3a95d8(0x2bf)](_0xba7c2[_0x3a95d8(0x18d)]([_0x5a9c10,_0x25a33c]),_0x5eedf2),_0x2e4753=_0x1986af[_0x3a95d8(0x32e)](_0x3a7ab6,_0x5bc1ba,_0x58ce6f,_0x37d1b0,_0x1425e3);((_0x2522ab=this['_lastPointer'])==null?void 0x0:_0x2522ab[_0x3a95d8(0x258)])===_0x2e4753['column']&&((_0x4f9dc8=this[_0x3a95d8(0x169)])==null?void 0x0:_0x4f9dc8['row'])===_0x2e4753['row']||this['_cursors'][_0x3a95d8(0x153)](_0x332dc4=>{const _0x55aab7=_0x3a95d8;_0x332dc4[_0x55aab7(0x2ba)](_0x2e4753);});},0x64));});}['_updateCollabCursors'](_0x1fcf4a,_0x4d2f48){const _0x565d6a=_0x568b98;var _0x359ccb;const _0x2a2815=(_0x359ccb=this['_sheetSkeletonManagerService'][_0x565d6a(0x2fb)]())==null?void 0x0:_0x359ccb['skeleton'];if(!_0x2a2815)return;const _0x405f68=this[_0x565d6a(0x1ac)]();if(!_0x405f68)return;this[_0x565d6a(0x1ed)][_0x565d6a(0x153)](_0x1368cf=>{const _0x1ff984=_0x565d6a;_0x1368cf[_0x1ff984(0x1a1)]();});const {scene:_0x1945b4}=_0x405f68,_0xd7e235=xi(Array['from'](_0x4d2f48[_0x565d6a(0x2b6)]()))[_0x565d6a(0x2ad)](_0x56e9fb=>{const _0x357e9a=_0x565d6a,{color:_0x267e74,range:_0x5e5e0b,name:_0x229c17,selection:_0x5dcd74,sheetID:_0x1543bb}=_0x56e9fb,{startColumn:_0x2d03af,startRow:_0x41eadf,endColumn:_0x49539b,endRow:_0xdae01a}=_0x5e5e0b,_0x2c1320=_0x32fc47(_0x41eadf,_0x2d03af,_0x1945b4,_0x2a2815),_0x55be59=_0x32fc47(_0xdae01a,_0x49539b,_0x1945b4,_0x2a2815),{columnHeaderHeightAndMarginTop:_0x1c7b14}=_0x2a2815,{startX:_0x2a16ef,startY:_0x214d18}=_0x2c1320,{endX:_0x22574a,endY:_0x3d5911}=_0x55be59,_0x59b96e=_0x22574a-_0x2a16ef,_0xc24442=_0x3d5911-_0x214d18,_0x2ea05e={'labelPosition':_0x214d18-_0x1c7b14>=ee?_0x357e9a(0x1a4):'bottom','sheetID':_0x1543bb,'range':_0x5e5e0b,'color':_0x267e74,'name':_0x229c17,'selection':_0x5dcd74,'left':_0x2a16ef,'top':_0x214d18,'width':_0x59b96e,'height':_0xc24442,'evented':!0x1,'zIndex':$i};return new wi(_0x229c17,_0x2ea05e);});_0x1945b4[_0x565d6a(0x24a)](_0xd7e235,Pi),this[_0x565d6a(0x1ed)]=new Set(_0xd7e235);}['_removeCollabCursors'](){const _0x4d8565=_0x568b98;var _0x341f31;(_0x341f31=this[_0x4d8565(0x1ed)])==null||_0x341f31['forEach'](_0x8c2803=>_0x8c2803[_0x4d8565(0x24e)]());}['_getSheetObject'](){const _0x5d034f=_0x568b98;return _0x1bd9f1(this[_0x5d034f(0x1ef)][_0x5d034f(0x28c)],this[_0x5d034f(0x1ef)]);}};Le=yi([ve(0x1,_0x6d32dc(_0x45c7b5)),ve(0x2,_0x6d32dc(H)),ve(0x3,_0x6d32dc(_0x507dc3))],Le);function xi(_0x140022){const _0x262dca=_0x568b98,_0x23c189=new Map();return _0x140022['forEach'](_0x1587bd=>{const _0x52a6ed=_0xdafd;if(_0x23c189[_0x52a6ed(0x2c4)](_0x1587bd[_0x52a6ed(0x215)])){const _0x493527=_0x23c189[_0x52a6ed(0x282)](_0x1587bd[_0x52a6ed(0x215)]);_0x493527[_0x52a6ed(0x201)]+=',\x20'+_0x1587bd[_0x52a6ed(0x201)];}else _0x23c189['set'](_0x1587bd['selection'],_0x1587bd);}),Array[_0x262dca(0x188)](_0x23c189['values']());}var v=function(){const _0x39ff54=_0x568b98;return v=Object[_0x39ff54(0x29a)]||function(_0x572ac2){const _0x5cfdf2=_0x39ff54;for(var _0x3ba608,_0x28f172=0x1,_0x3bc246=arguments['length'];_0x28f172<_0x3bc246;_0x28f172++){_0x3ba608=arguments[_0x28f172];for(var _0x443dd2 in _0x3ba608)Object[_0x5cfdf2(0x1e6)][_0x5cfdf2(0x2a1)][_0x5cfdf2(0x281)](_0x3ba608,_0x443dd2)&&(_0x572ac2[_0x443dd2]=_0x3ba608[_0x443dd2]);}return _0x572ac2;},v['apply'](this,arguments);},Bi=function(_0x2868a8,_0x1920de){const _0x337616=_0x568b98;var _0x591d36={};for(var _0x84efd8 in _0x2868a8)Object[_0x337616(0x1e6)][_0x337616(0x2a1)]['call'](_0x2868a8,_0x84efd8)&&_0x1920de[_0x337616(0x2e6)](_0x84efd8)<0x0&&(_0x591d36[_0x84efd8]=_0x2868a8[_0x84efd8]);if(_0x2868a8!=null&&typeof Object[_0x337616(0x22a)]=='function'){for(var _0x396be7=0x0,_0x84efd8=Object[_0x337616(0x22a)](_0x2868a8);_0x396be7<_0x84efd8[_0x337616(0x2d9)];_0x396be7++)_0x1920de[_0x337616(0x2e6)](_0x84efd8[_0x396be7])<0x0&&Object[_0x337616(0x1e6)][_0x337616(0x187)][_0x337616(0x281)](_0x2868a8,_0x84efd8[_0x396be7])&&(_0x591d36[_0x84efd8[_0x396be7]]=_0x2868a8[_0x84efd8[_0x396be7]]);}return _0x591d36;},je=_0x2e9c63(function(_0x5bc491,_0x14ede1){const _0xf5d3ab=_0x568b98;var _0x442eda=_0x5bc491['icon'],_0x424902=_0x5bc491['id'],_0x203ad9=_0x5bc491[_0xf5d3ab(0x33d)],_0x45fb80=_0x5bc491['extend'],_0xee1616=Bi(_0x5bc491,['icon','id',_0xf5d3ab(0x33d),_0xf5d3ab(0x18b)]),_0x3bce7d=_0xf5d3ab(0x1d7)[_0xf5d3ab(0x2fd)](_0x424902,'\x20')[_0xf5d3ab(0x2fd)](_0x203ad9||'')[_0xf5d3ab(0x1ee)](),_0x426a9e=_0x3ccda1('_'[_0xf5d3ab(0x2fd)](ji()));return Rt(_0x442eda,''['concat'](_0x424902),{'defIds':_0x442eda['defIds'],'idSuffix':_0x426a9e['current']},v({'ref':_0x14ede1,'className':_0x3bce7d},_0xee1616),_0x45fb80);});function Rt(_0x1988ce,_0x53ebaf,_0x2a438b,_0x149d82,_0x40771d){const _0x5d3616=_0x568b98;return _0x332d39(_0x1988ce['tag'],v(v({'key':_0x53ebaf},ki(_0x1988ce,_0x2a438b,_0x40771d)),_0x149d82),(Hi(_0x1988ce,_0x2a438b)['children']||[])[_0x5d3616(0x2ad)](function(_0x40bd27,_0x545764){const _0xdf8478=_0x5d3616;return Rt(_0x40bd27,''[_0xdf8478(0x2fd)](_0x53ebaf,'-')[_0xdf8478(0x2fd)](_0x1988ce[_0xdf8478(0x306)],'-')[_0xdf8478(0x2fd)](_0x545764),_0x2a438b,void 0x0,_0x40771d);}));}function ki(_0x1ffe5a,_0x5986fa,_0x17f8a4){const _0x56f657=_0x568b98;var _0x1e5ac2=v({},_0x1ffe5a[_0x56f657(0x251)]);_0x17f8a4!=null&&_0x17f8a4[_0x56f657(0x288)]&&_0x1e5ac2['fill']===_0x56f657(0x288)&&(_0x1e5ac2[_0x56f657(0x155)]=_0x17f8a4['colorChannel1']),_0x1ffe5a['tag']===_0x56f657(0x2fa)&&_0x1e5ac2['id']&&(_0x1e5ac2['id']=_0x1e5ac2['id']+_0x5986fa['idSuffix']),Object['entries'](_0x1e5ac2)[_0x56f657(0x153)](function(_0x5a84d0){const _0x134477=_0x56f657;var _0x3ba4e2=_0x5a84d0[0x0],_0x4cf1a6=_0x5a84d0[0x1];_0x3ba4e2===_0x134477(0x2fa)&&typeof _0x4cf1a6==_0x134477(0x2da)&&(_0x1e5ac2[_0x3ba4e2]=_0x4cf1a6['replace'](/url\(#(.*)\)/,_0x134477(0x2a3)[_0x134477(0x2fd)](_0x5986fa[_0x134477(0x2e5)],')')));});var _0x768c46=_0x5986fa['defIds'];return!_0x768c46||_0x768c46['length']===0x0||(_0x1ffe5a[_0x56f657(0x306)]==='use'&&_0x1e5ac2[_0x56f657(0x28e)]&&(_0x1e5ac2['xlink:href']=_0x1e5ac2['xlink:href']+_0x5986fa[_0x56f657(0x2e5)]),Object[_0x56f657(0x217)](_0x1e5ac2)['forEach'](function(_0x13e83b){const _0x36ab4a=_0x56f657;var _0x16e1af=_0x13e83b[0x0],_0x205f0f=_0x13e83b[0x1];typeof _0x205f0f=='string'&&(_0x1e5ac2[_0x16e1af]=_0x205f0f['replace'](/url\(#(.*)\)/,_0x36ab4a(0x2a3)[_0x36ab4a(0x2fd)](_0x5986fa['idSuffix'],')')));})),_0x1e5ac2;}function Hi(_0x1ca4b6,_0x2b9486){const _0x3ab28f=_0x568b98;var _0x23cea1,_0x459323=_0x2b9486[_0x3ab28f(0x342)];return!_0x459323||_0x459323[_0x3ab28f(0x2d9)]===0x0?_0x1ca4b6:_0x1ca4b6[_0x3ab28f(0x306)]===_0x3ab28f(0x25d)&&(!((_0x23cea1=_0x1ca4b6[_0x3ab28f(0x161)])===null||_0x23cea1===void 0x0)&&_0x23cea1[_0x3ab28f(0x2d9)])?v(v({},_0x1ca4b6),{'children':_0x1ca4b6[_0x3ab28f(0x161)][_0x3ab28f(0x2ad)](function(_0x3be3a2){const _0x2ee425=_0x3ab28f;return typeof _0x3be3a2[_0x2ee425(0x251)]['id']==_0x2ee425(0x2da)&&_0x459323&&_0x459323['indexOf'](_0x3be3a2[_0x2ee425(0x251)]['id'])>-0x1?v(v({},_0x3be3a2),{'attrs':v(v({},_0x3be3a2['attrs']),{'id':_0x3be3a2[_0x2ee425(0x251)]['id']+_0x2b9486['idSuffix']})}):_0x3be3a2;})}):_0x1ca4b6;}function ji(){const _0x4973a7=_0x568b98;return Math[_0x4973a7(0x2ea)]()['toString'](0x24)[_0x4973a7(0x1c3)](0x2,0x8);}je[_0x568b98(0x19a)]=_0x568b98(0x1e2);var Yi={'tag':_0x568b98(0x20b),'attrs':{'fill':_0x568b98(0x335),'viewBox':_0x568b98(0x264),'width':'1em','height':_0x568b98(0x2f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x568b98(0x237)},'children':[{'tag':_0x568b98(0x2f7),'attrs':{'stroke':_0x568b98(0x2cc),'d':_0x568b98(0x1de),'strokeLinecap':_0x568b98(0x1c5),'strokeLinejoin':_0x568b98(0x1c5),'strokeWidth':1.2}}]},{'tag':_0x568b98(0x25d),'attrs':{},'children':[{'tag':_0x568b98(0x160),'attrs':{'id':_0x568b98(0x2d1)},'children':[{'tag':'path','attrs':{'fill':_0x568b98(0x32d),'d':_0x568b98(0x256)}}]}]}],'defIds':[_0x568b98(0x2d1)]},Dt=_0x2e9c63(function(_0x3cd4ec,_0x11f08f){const _0x39e8e1=_0x568b98;return _0x332d39(je,Object['assign']({},_0x3cd4ec,{'id':_0x39e8e1(0x290),'ref':_0x11f08f,'icon':Yi}));});Dt[_0x568b98(0x19a)]=_0x568b98(0x202);var Fi={'tag':_0x568b98(0x20b),'attrs':{'fill':_0x568b98(0x335),'viewBox':'0\x200\x2017\x2016','width':_0x568b98(0x2f1),'height':_0x568b98(0x2f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x568b98(0x18a)},'children':[{'tag':_0x568b98(0x2f7),'attrs':{'stroke':_0x568b98(0x2cc),'d':_0x568b98(0x211),'strokeLinecap':_0x568b98(0x1c5),'strokeLinejoin':_0x568b98(0x1c5),'strokeWidth':1.2}}]},{'tag':_0x568b98(0x25d),'attrs':{},'children':[{'tag':_0x568b98(0x160),'attrs':{'id':_0x568b98(0x22d)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x568b98(0x256),'transform':_0x568b98(0x27f)}}]}]}],'defIds':[_0x568b98(0x22d)]},Nt=_0x2e9c63(function(_0x1ac061,_0x3a1ea8){const _0x351d8a=_0x568b98;return _0x332d39(je,Object['assign']({},_0x1ac061,{'id':_0x351d8a(0x277),'ref':_0x3a1ea8,'icon':Fi}));});Nt[_0x568b98(0x19a)]=_0x568b98(0x267);function Wi(_0xfa8643){const _0x5120ff=_0x568b98;switch(_0xfa8643){case _0xa23b9e[_0x5120ff(0x2e2)]:return _0x5120ff(0x32f);case _0xa23b9e['CONFLICT']:return _0x5120ff(0x272);case _0xa23b9e[_0x5120ff(0x254)]:return _0x5120ff(0x2f6);case _0xa23b9e['NOT_COLLAB']:return _0x5120ff(0x2cf);case _0xa23b9e[_0x5120ff(0x218)]:case _0xa23b9e[_0x5120ff(0x249)]:return _0x5120ff(0x159);case _0xa23b9e[_0x5120ff(0x193)]:case _0xa23b9e['PENDING']:return _0x5120ff(0x163);}}function Vi(_0x5a1cc3){const _0x436a7e=_0x568b98,{status$:_0x2055c5}=_0x5a1cc3,_0x50554b=_0x20cba3(_0x2055c5,_0xa23b9e[_0x436a7e(0x200)]),_0x231e68=_0x1eb7bd(_0x4b501d),_0x136dbb=_0x1eb7bd(_0x5ae39d),_0x343e84=_0x50554b!==_0xa23b9e[_0x436a7e(0x2e2)],_0x537602=_0x231e68['t'](Wi(_0x50554b)),_0x487b4d=_0x343e84?_0x7b61f3(Nt,{}):_0x7b61f3(Dt,{}),_0x4ea9ef=_0x2d4746(()=>{const _0x531318=_0x436a7e;_0x343e84||_0x136dbb[_0x531318(0x1a9)]();},[_0x343e84,_0x136dbb]);function _0x3d86cf(){const _0x11c1a3=_0x436a7e;return _0x31b2a2('div',{'className':_0x11c1a3(0x327),'onClick':_0x4ea9ef,'children':[_0x7b61f3(_0x11c1a3(0x273),{'className':_0x18371d('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x343e84,'univer-text-red-500':!_0x343e84}),'children':_0x487b4d}),_0x7b61f3(_0x11c1a3(0x273),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x537602})]});}return _0x343e84?_0x3d86cf():_0x7b61f3(_0x428afd,{'title':_0x231e68['t'](_0x436a7e(0x181)),'children':_0x3d86cf()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1bb90f,_0x50fba8,_0x3ea403,_0x304b6e)=>{for(var _0x4e4837=_0x304b6e>0x1?void 0x0:_0x304b6e?Xi(_0x50fba8,_0x3ea403):_0x50fba8,_0x5c55c4=_0x1bb90f['length']-0x1,_0x8bbee3;_0x5c55c4>=0x0;_0x5c55c4--)(_0x8bbee3=_0x1bb90f[_0x5c55c4])&&(_0x4e4837=_0x8bbee3(_0x4e4837)||_0x4e4837);return _0x4e4837;},Q=(_0x2f73ed,_0x8922af)=>(_0x55137b,_0x42a24c)=>_0x8922af(_0x55137b,_0x42a24c,_0x2f73ed);let te=class extends _0x3f16d8{constructor(_0x56bcef,_0x447cf0,_0x24ac5e,_0x33f18f){const _0x594783=_0x568b98;super(),_(this,_0x594783(0x1e0),new _0xd1fc21(_0xa23b9e[_0x594783(0x200)])),(this['_univerInstanceService']=_0x56bcef,this[_0x594783(0x1ea)]=_0x447cf0,this[_0x594783(0x1f6)]=_0x24ac5e,this[_0x594783(0x16f)]=_0x33f18f,this['_initStatusComponent'](),this[_0x594783(0x24f)]());}[_0x568b98(0x24f)](){const _0x3a944a=_0x568b98;this[_0x3a944a(0x219)](this['_univerInstanceService'][_0x3a944a(0x32c)][_0x3a944a(0x21f)](_0x15bcfa(()=>{const _0x5324b6=_0x3a944a,_0x28541d=this[_0x5324b6(0x319)]['getFocusedUnit']();return _0x28541d?this[_0x5324b6(0x1f6)][_0x5324b6(0x180)](_0x28541d[_0x5324b6(0x284)]()):_0x5ba222(null);}),_0x15bcfa(_0x2edc03=>_0x2edc03?_0x2edc03[_0x3a944a(0x26e)]:_0x5ba222(_0xa23b9e[_0x3a944a(0x200)])))[_0x3a944a(0x294)](_0x76dacd=>{const _0x131ec9=_0x3a944a;this[_0x131ec9(0x1e0)][_0x131ec9(0x27b)](_0x76dacd);}));}[_0x568b98(0x189)](){const _0x4b1cf4=_0x568b98;this[_0x4b1cf4(0x219)](this[_0x4b1cf4(0x16f)][_0x4b1cf4(0x2dc)](_0xb90716['HEADER_MENU'],()=>_0x52a6fe(Ki({'status$':this[_0x4b1cf4(0x1e0)][_0x4b1cf4(0x2cd)]()}),this[_0x4b1cf4(0x1ea)])));}};te=Gi([Q(0x0,_0x1234fa),Q(0x1,_0x6d32dc(_0x1e626a)),Q(0x2,_0x6d32dc(_0x56ba9f)),Q(0x3,_0x4a897c)],te);function Ki(_0x29aed8){const {status$:_0x5f297c}=_0x29aed8;return function(){return _0x7b61f3(Vi,{'status$':_0x5f297c});};}var zi=Object[_0x568b98(0x261)],Ji=(_0x3f8370,_0x5dad38,_0x52e49c,_0x70fced)=>{const _0x187155=_0x568b98;for(var _0x3a51b3=_0x70fced>0x1?void 0x0:_0x70fced?zi(_0x5dad38,_0x52e49c):_0x5dad38,_0x3a896c=_0x3f8370[_0x187155(0x2d9)]-0x1,_0x45d27c;_0x3a896c>=0x0;_0x3a896c--)(_0x45d27c=_0x3f8370[_0x3a896c])&&(_0x3a51b3=_0x45d27c(_0x3a51b3)||_0x3a51b3);return _0x3a51b3;},B=(_0x58e337,_0x2cbe21)=>(_0x2d8aaa,_0x58a102)=>_0x2cbe21(_0x2d8aaa,_0x58a102,_0x58e337);let se=class extends _0x3f16d8{constructor(_0x51887e,_0x3c23de,_0x1e6530,_0x5dc8b7,_0x1fc7f3,_0x3b4e8b){const _0x45b553=_0x568b98;super(),this[_0x45b553(0x183)]=_0x51887e,this[_0x45b553(0x340)]=_0x3c23de,this[_0x45b553(0x175)]=_0x1e6530,this['_messageService']=_0x5dc8b7,this[_0x45b553(0x320)]=_0x1fc7f3,this[_0x45b553(0x240)]=_0x3b4e8b,this[_0x45b553(0x2bb)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x1021d9=_0x568b98;this[_0x1021d9(0x219)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x316c3e=_0x1021d9;if(this[_0x316c3e(0x340)][_0x316c3e(0x30a)][_0x316c3e(0x2aa)])return this[_0x316c3e(0x240)]['t'](_0x316c3e(0x307));}));}[_0x568b98(0x228)](){const _0x58d624=_0x568b98;this[_0x58d624(0x219)](this[_0x58d624(0x175)][_0x58d624(0x24c)]['subscribe'](_0xaa6ca4=>{const _0x1e5a3c=_0x58d624;_0xaa6ca4['id']===_0x474087[_0x1e5a3c(0x291)]&&this[_0x1e5a3c(0x230)][_0x1e5a3c(0x27d)]({'type':_0x52eac5[_0x1e5a3c(0x2f8)],'content':this[_0x1e5a3c(0x240)]['t']('collaboration.single-unit.warning')}),_0xaa6ca4['id']===_0x474087['CLOSE_ROOM']&&this[_0x1e5a3c(0x230)][_0x1e5a3c(0x27d)]({'type':_0x52eac5[_0x1e5a3c(0x2f8)],'content':this['_localeService']['t'](_0x1e5a3c(0x1b1))}),_0xaa6ca4['id']===_0x474087['PERMISSION_DENIED']&&this[_0x1e5a3c(0x320)]['show']({'title':this[_0x1e5a3c(0x240)]['t'](_0x1e5a3c(0x22f)),'content':this['_localeService']['t']('permission.content'),'type':_0x1e5a3c(0x1b3),'duration':0x0}),_0xaa6ca4['id']===_0x474087[_0x1e5a3c(0x276)]&&this[_0x1e5a3c(0x230)][_0x1e5a3c(0x27d)]({'type':_0x52eac5[_0x1e5a3c(0x2be)],'content':this[_0x1e5a3c(0x240)]['t'](_0x1e5a3c(0x1b1))+'('+_0xaa6ca4[_0x1e5a3c(0x2ca)]+')'}),_0xaa6ca4['id']===_0x474087['JOIN_ROOM_FAILED']&&this[_0x1e5a3c(0x230)]['show']({'type':_0x52eac5[_0x1e5a3c(0x2f8)],'content':this[_0x1e5a3c(0x240)]['t'](_0xaa6ca4[_0x1e5a3c(0x2ca)]||'')}),_0xaa6ca4['id']===_0x474087['SOCKET_FAILED_RETRY']&&this[_0x1e5a3c(0x230)][_0x1e5a3c(0x27d)]({'type':_0x52eac5['Warning'],'content':this[_0x1e5a3c(0x240)]['t']('session.will-retry')}),_0xaa6ca4['id']===_0x474087[_0x1e5a3c(0x1ab)]&&this[_0x1e5a3c(0x230)][_0x1e5a3c(0x27d)]({'type':_0x52eac5[_0x1e5a3c(0x2be)],'content':this['_localeService']['t'](_0x1e5a3c(0x15a))}),_0xaa6ca4['id']===_0x474087['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x1e5a3c(0x27d)]({'type':_0x52eac5[_0x1e5a3c(0x2be)],'content':this[_0x1e5a3c(0x240)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x4598f3),B(0x1,_0x2755a3),B(0x2,_0x6d32dc(_0x2a341e)),B(0x3,_0x1869bb),B(0x4,_0x50baca),B(0x5,_0x6d32dc(_0x4b501d))],se);const Zi=_0x568b98(0x22e),et={},Ut=_0x3e2b2e(_0x568b98(0x2e8));var Qi=Object[_0x568b98(0x261)],qi=(_0x402ccf,_0x154654,_0x4b7277,_0x59976a)=>{const _0x1d46c8=_0x568b98;for(var _0x474672=_0x59976a>0x1?void 0x0:_0x59976a?Qi(_0x154654,_0x4b7277):_0x154654,_0x22cdd6=_0x402ccf[_0x1d46c8(0x2d9)]-0x1,_0x28dc1e;_0x22cdd6>=0x0;_0x22cdd6--)(_0x28dc1e=_0x402ccf[_0x22cdd6])&&(_0x474672=_0x28dc1e(_0x474672)||_0x474672);return _0x474672;},G=(_0x3a3977,_0x379de9)=>(_0xe3d21f,_0x409256)=>_0x379de9(_0xe3d21f,_0x409256,_0x3a3977);let ie=class extends _0x4ffef8{constructor(_0x237e66,_0x5450b5,_0x604928,_0x44e94e,_0x1c0713){const _0x42a554=_0x568b98;super(),this[_0x42a554(0x1c9)]=_0x237e66,this[_0x42a554(0x194)]=_0x5450b5,this['_commandService']=_0x604928,this[_0x42a554(0x30e)]=_0x44e94e,_0x1c0713?_0x1c0713==null||_0x1c0713[_0x42a554(0x2c5)]()[_0x42a554(0x21d)](()=>this['_init']()):(this[_0x42a554(0x194)]['debug'](_0x42a554(0x295),_0x42a554(0x158)),this[_0x42a554(0x1e9)]());}async[_0x568b98(0x1e9)](){const _0x289f56=_0x568b98,_0x35a659=this['_urlService'][_0x289f56(0x1d8)](_0x289f56(0x28c)),_0x4b53a1=this['_urlService'][_0x289f56(0x1d8)](_0x289f56(0x2fc)),_0x44c17f=this['_urlService'][_0x289f56(0x1d8)](_0x289f56(0x26b));if(!_0x35a659||!_0x4b53a1){this['_logService']['debug'](_0x289f56(0x295),_0x289f56(0x1bd));return;}const _0xdec3b7=await this[_0x289f56(0x30e)]['loadUnit'](_0x35a659,Number(_0x4b53a1),_0x44c17f);_0xdec3b7&&_0xdec3b7 instanceof _0x335c30&&this['_setupSubUnitSync'](_0xdec3b7);}async[_0x568b98(0x1af)](_0x133947){const _0x2b5b91=_0x568b98;await this[_0x2b5b91(0x27a)](_0x133947),_0x133947[_0x2b5b91(0x164)][_0x2b5b91(0x21f)](_0x37d2d6(this[_0x2b5b91(0x2b1)]))[_0x2b5b91(0x294)](_0x4aac4b=>{const _0x2e3b79=_0x2b5b91;_0x4aac4b&&this[_0x2e3b79(0x14e)](_0x4aac4b);}),this['_urlService'][_0x2b5b91(0x179)]['pipe'](_0x37d2d6(this['dispose$']))[_0x2b5b91(0x294)](()=>this[_0x2b5b91(0x27a)](_0x133947));}[_0x568b98(0x14e)](_0x307e39,_0xf40b86=!0x1){const _0x398c5b=_0x568b98,_0x43de3a=this[_0x398c5b(0x1c9)][_0x398c5b(0x1d8)](_0x398c5b(0x26b));_0x307e39[_0x398c5b(0x2d2)]()!==_0x43de3a&&this[_0x398c5b(0x1c9)][_0x398c5b(0x17a)](_0x398c5b(0x26b),_0x307e39[_0x398c5b(0x2d2)](),_0xf40b86);}async[_0x568b98(0x27a)](_0x30b34c){const _0x4282a0=_0x568b98;var _0x2341f0;const _0x3c325b=this[_0x4282a0(0x1c9)][_0x4282a0(0x1d8)](_0x4282a0(0x26b));if(!_0x3c325b||!_0x30b34c[_0x4282a0(0x323)](_0x3c325b)){const _0x6a4ce0=_0x30b34c[_0x4282a0(0x174)]()[0x0],_0x27c8b5=_0x30b34c['getSheetBySheetId'](_0x6a4ce0);if(!_0x27c8b5)return;this[_0x4282a0(0x14e)](_0x27c8b5,!0x0),await this['_commandService'][_0x4282a0(0x1d1)](_0x542b3f['id'],{'unitId':_0x30b34c['getUnitId'](),'subUnitId':_0x6a4ce0});return;}((_0x2341f0=_0x30b34c[_0x4282a0(0x156)]())==null?void 0x0:_0x2341f0[_0x4282a0(0x2d2)]())!==_0x3c325b&&await this[_0x4282a0(0x31a)][_0x4282a0(0x1d1)](_0x542b3f['id'],{'unitId':_0x30b34c[_0x4282a0(0x284)](),'subUnitId':_0x3c325b});}};ie=qi([G(0x0,Ut),G(0x1,_0x553ff6),G(0x2,_0x450935),G(0x3,_0x6d32dc(_0x2bcd8a)),G(0x4,_0x164671(_0x44414a))],ie);var en=Object[_0x568b98(0x261)],tn=(_0x369fb9,_0xcf6fdb,_0xa44c61,_0x5d6e82)=>{const _0x1076f5=_0x568b98;for(var _0x222ba4=_0x5d6e82>0x1?void 0x0:_0x5d6e82?en(_0xcf6fdb,_0xa44c61):_0xcf6fdb,_0x4d0051=_0x369fb9[_0x1076f5(0x2d9)]-0x1,_0x379220;_0x4d0051>=0x0;_0x4d0051--)(_0x379220=_0x369fb9[_0x4d0051])&&(_0x222ba4=_0x379220(_0x222ba4)||_0x222ba4);return _0x222ba4;},pe=(_0x56ce57,_0xdc38bd)=>(_0x5e1630,_0x53fce7)=>_0xdc38bd(_0x5e1630,_0x53fce7,_0x56ce57);let ne=class{constructor(_0x361f88,_0x541dc4,_0x42f918){const _0x1d05ba=_0x568b98;this['_injector']=_0x361f88,this[_0x1d05ba(0x2df)]=_0x541dc4,this[_0x1d05ba(0x26a)]=_0x42f918;}['transformIMECache'](_0x2e2174){const _0x128d43=_0x568b98;this[_0x128d43(0x2a4)](_0x2e2174),this['_transformPreviousActiveRange'](_0x2e2174);}[_0x568b98(0x28a)](_0x287414){const _0x146cbb=_0x568b98,{unitID:_0x138336}=_0x287414,_0x315a5b=this[_0x146cbb(0x26a)][_0x146cbb(0x14c)](_0x138336)[_0x146cbb(0x1dc)](_0xfe4d58),{redoCache:_0x392087}=_0x315a5b[_0x146cbb(0x20f)]();if(_0x392087[_0x146cbb(0x2d9)]===0x0)return _0x287414;let _0xfae024=_0x4ce80e['deepClone'](_0x287414['mutations'][0x0]);for(let _0x1c4c67=0x0;_0x1c4c67<_0x392087[_0x146cbb(0x2d9)];_0x1c4c67++){const _0x4101fc={'id':_0x146cbb(0x216),'params':{..._0x392087[_0x1c4c67]}},_0x37efda=this['_transformService'][_0x146cbb(0x207)](_0xfae024,_0x4101fc,!0x1);if(_0x574026(_0x37efda))throw _0x37efda[_0x146cbb(0x1b3)];_0xfae024=_0x37efda[_0x146cbb(0x260)];}return{..._0x4ce80e[_0x146cbb(0x15e)](_0x287414),'mutations':[_0xfae024]};}[_0x568b98(0x2a4)](_0x126591){const _0xf0efd8=_0x568b98,{unitID:_0x30b5d2}=_0x126591,_0x50965c=this[_0xf0efd8(0x26a)][_0xf0efd8(0x14c)](_0x30b5d2)[_0xf0efd8(0x1dc)](_0xfe4d58),{undoCache:_0x181f5f,redoCache:_0x2322b7}=_0x50965c['getUndoRedoMutationParamsCache']();if(_0x181f5f[_0xf0efd8(0x2d9)]===0x0||_0x2322b7[_0xf0efd8(0x2d9)]===0x0)return;const _0x46c994=[],_0x2de1bc=[];let _0x16ed09=_0x4ce80e[_0xf0efd8(0x15e)](_0x126591[_0xf0efd8(0x2d0)][0x0]),_0x17c3ba=_0x4ce80e[_0xf0efd8(0x15e)](_0x126591[_0xf0efd8(0x2d0)][0x0]);for(let _0x5d292b=_0x181f5f[_0xf0efd8(0x2d9)]-0x1;_0x5d292b>=0x0;_0x5d292b--){const _0x59da9c={'id':_0xf0efd8(0x216),'params':{..._0x181f5f[_0x5d292b]}},_0x39a0e4={'id':_0xf0efd8(0x216),'params':{..._0x2322b7[_0x5d292b]}},_0x4209c0=this[_0xf0efd8(0x2df)][_0xf0efd8(0x207)](_0x16ed09,_0x59da9c,!0x1),_0x257783=this[_0xf0efd8(0x2df)][_0xf0efd8(0x207)](_0x17c3ba,_0x39a0e4,!0x1);if(_0x574026(_0x4209c0))throw _0x4209c0[_0xf0efd8(0x1b3)];if(_0x574026(_0x257783))throw _0x257783[_0xf0efd8(0x1b3)];_0x46c994[_0xf0efd8(0x177)](_0x4209c0[_0xf0efd8(0x331)][_0xf0efd8(0x2ff)]),_0x2de1bc[_0xf0efd8(0x177)](_0x257783[_0xf0efd8(0x331)]['params']),_0x16ed09=_0x4209c0[_0xf0efd8(0x260)],_0x17c3ba=_0x257783['m1Prime'];}_0x50965c[_0xf0efd8(0x316)]({'undoCache':_0x46c994,'redoCache':_0x2de1bc});}[_0x568b98(0x21b)](_0x152f87){const _0x139292=_0x568b98,{unitID:_0x42a3f5}=_0x152f87,_0x2c9b48=this[_0x139292(0x26a)][_0x139292(0x14c)](_0x42a3f5)['with'](_0xfe4d58),_0x57c156=_0x2c9b48['getActiveRange']();if(_0x57c156==null)return;const _0x3514bf=[{'id':_0x139292(0x216),'params':{'unitId':_0x152f87[_0x139292(0x2f5)],'actions':null,'textRanges':[_0x57c156]}}],_0x1695d5=this[_0x139292(0x2df)]['transformMutationsWithChangeset'](_0x152f87,_0x3514bf);if(!_0x3a585f(_0x1695d5))throw _0x1695d5[_0x139292(0x1b3)];const _0x55f47a=_0x1695d5[_0x139292(0x331)][0x0][_0x139292(0x2ff)][_0x139292(0x2a6)];Array[_0x139292(0x279)](_0x55f47a)&&_0x55f47a[_0x139292(0x2d9)]&&_0x2c9b48[_0x139292(0x301)](_0x55f47a[0x0]);}};ne=tn([pe(0x0,_0x6d32dc(_0x1e626a)),pe(0x1,_0xfd345b),pe(0x2,_0x107d26)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3d20b7,_0x32b9a9,_0x1ae447,_0x6239f)=>{const _0x51053c=_0x568b98;for(var _0x1bf497=_0x6239f>0x1?void 0x0:_0x6239f?sn(_0x32b9a9,_0x1ae447):_0x32b9a9,_0x2f5907=_0x3d20b7[_0x51053c(0x2d9)]-0x1,_0x453211;_0x2f5907>=0x0;_0x2f5907--)(_0x453211=_0x3d20b7[_0x2f5907])&&(_0x1bf497=_0x453211(_0x1bf497)||_0x1bf497);return _0x1bf497;},Ce=(_0x5d838a,_0x5cd678)=>(_0x39608c,_0x2718d2)=>_0x5cd678(_0x39608c,_0x2718d2,_0x5d838a);let re=class{constructor(_0x4c69e3,_0x3bd35b,_0x2d1841){const _0x1d531=_0x568b98;this[_0x1d531(0x1ea)]=_0x4c69e3,this[_0x1d531(0x2df)]=_0x3bd35b,this['_docStateChangeManagerService']=_0x2d1841;}[_0x568b98(0x2dd)](_0x5f249e){const _0x448be0=_0x568b98;this[_0x448be0(0x322)](_0x5f249e);}[_0x568b98(0x28a)](_0x3c280e){const _0x65935e=_0x568b98,{unitID:_0x335702}=_0x3c280e,{collaboration:_0x3d0b4d}=this[_0x65935e(0x30f)][_0x65935e(0x2ee)](_0x335702);if(_0x3d0b4d[_0x65935e(0x2d9)]===0x0)return _0x3c280e;let _0x8e1969=_0x4ce80e[_0x65935e(0x15e)](_0x3c280e['mutations'][0x0]);for(let _0x8ed784=0x0;_0x8ed784<_0x3d0b4d[_0x65935e(0x2d9)];_0x8ed784++){const _0x3e972b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3d0b4d[_0x8ed784]['unitId'],..._0x3d0b4d[_0x8ed784][_0x65935e(0x23f)]}},_0x5add12=this[_0x65935e(0x2df)][_0x65935e(0x207)](_0x8e1969,_0x3e972b,!0x1);if(_0x574026(_0x5add12))throw _0x5add12['error'];_0x8e1969=_0x5add12[_0x65935e(0x260)];}return{..._0x4ce80e[_0x65935e(0x15e)](_0x3c280e),'mutations':[_0x8e1969]};}[_0x568b98(0x322)](_0xe07e56){const _0x25fc80=_0x568b98,{unitID:_0x3f3a17}=_0xe07e56,{history:_0x442687,collaboration:_0x186e8d}=this[_0x25fc80(0x30f)]['getStateCache'](_0x3f3a17);if(_0x442687['length']===0x0&&_0x186e8d[_0x25fc80(0x2d9)]===0x0)return;const _0x5c1486=[],_0x2ef570=[];let _0x52ce2d=_0x4ce80e['deepClone'](_0xe07e56['mutations'][0x0]),_0x384443=_0x4ce80e[_0x25fc80(0x15e)](_0xe07e56[_0x25fc80(0x2d0)][0x0]);for(let _0x104c8f=_0x442687[_0x25fc80(0x2d9)]-0x1;_0x104c8f>=0x0;_0x104c8f--){const _0x5a7cd4={'id':_0x25fc80(0x216),'params':{'unitId':_0x442687[_0x104c8f][_0x25fc80(0x33b)],..._0x442687[_0x104c8f][_0x25fc80(0x324)]}},_0x3b6151={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x442687[_0x104c8f][_0x25fc80(0x33b)],..._0x442687[_0x104c8f][_0x25fc80(0x23f)]}},_0x5c3131=this[_0x25fc80(0x2df)]['transformMutation'](_0x52ce2d,_0x5a7cd4,!0x1),_0x3388bc=this[_0x25fc80(0x2df)]['transformMutation'](_0x384443,_0x3b6151,!0x1);if(_0x574026(_0x5c3131))throw _0x5c3131[_0x25fc80(0x1b3)];if(_0x574026(_0x3388bc))throw _0x3388bc[_0x25fc80(0x1b3)];_0x5c1486['unshift']({..._0x442687[_0x104c8f],'undoState':_0x5c3131[_0x25fc80(0x331)][_0x25fc80(0x2ff)],'redoState':_0x3388bc[_0x25fc80(0x331)][_0x25fc80(0x2ff)]}),_0x52ce2d=_0x5c3131[_0x25fc80(0x260)],_0x384443=_0x3388bc['m1Prime'];}_0x52ce2d=_0x4ce80e[_0x25fc80(0x15e)](_0xe07e56[_0x25fc80(0x2d0)][0x0]),_0x384443=_0x4ce80e[_0x25fc80(0x15e)](_0xe07e56['mutations'][0x0]);for(let _0xa33a7f=_0x186e8d['length']-0x1;_0xa33a7f>=0x0;_0xa33a7f--){const _0x5934d6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x186e8d[_0xa33a7f][_0x25fc80(0x33b)],..._0x186e8d[_0xa33a7f]['undoState']}},_0x482144={'id':_0x25fc80(0x216),'params':{'unitId':_0x186e8d[_0xa33a7f][_0x25fc80(0x33b)],..._0x186e8d[_0xa33a7f]['redoState']}},_0x5f50e3=this[_0x25fc80(0x2df)]['transformMutation'](_0x52ce2d,_0x5934d6,!0x1),_0x4c8d9d=this[_0x25fc80(0x2df)][_0x25fc80(0x207)](_0x384443,_0x482144,!0x1);if(_0x574026(_0x5f50e3))throw _0x5f50e3[_0x25fc80(0x1b3)];if(_0x574026(_0x4c8d9d))throw _0x4c8d9d['error'];_0x2ef570[_0x25fc80(0x177)]({..._0x186e8d[_0xa33a7f],'undoState':_0x5f50e3['m2Prime'][_0x25fc80(0x2ff)],'redoState':_0x4c8d9d['m2Prime']['params']}),_0x52ce2d=_0x5f50e3[_0x25fc80(0x260)],_0x384443=_0x4c8d9d[_0x25fc80(0x260)];}this['_docStateChangeManagerService'][_0x25fc80(0x2ef)](_0x3f3a17,{'history':_0x5c1486,'collaboration':_0x2ef570});}};re=nn([Ce(0x0,_0x6d32dc(_0x1e626a)),Ce(0x1,_0xfd345b),Ce(0x2,_0x6d32dc(_0x137048))],re);var rn=Object[_0x568b98(0x261)],on=(_0x1bbfb7,_0x379e54,_0xbba7a3,_0xc915db)=>{const _0x349ecd=_0x568b98;for(var _0x4af5a2=_0xc915db>0x1?void 0x0:_0xc915db?rn(_0x379e54,_0xbba7a3):_0x379e54,_0x1b7a33=_0x1bbfb7[_0x349ecd(0x2d9)]-0x1,_0x2f4a56;_0x1b7a33>=0x0;_0x1b7a33--)(_0x2f4a56=_0x1bbfb7[_0x1b7a33])&&(_0x4af5a2=_0x2f4a56(_0x4af5a2)||_0x4af5a2);return _0x4af5a2;},tt=(_0x39eb08,_0x476f11)=>(_0x48ad7c,_0xa51393)=>_0x476f11(_0x48ad7c,_0xa51393,_0x39eb08);let oe=class{constructor(_0x270edc,_0x437a3b){const _0x1b4f11=_0x568b98;this[_0x1b4f11(0x1ea)]=_0x270edc,this[_0x1b4f11(0x2df)]=_0x437a3b;}[_0x568b98(0x29c)](_0x343f38){const _0x3d739f=_0x568b98;var _0x5e6d5b;const _0x2b6c2e=this[_0x3d739f(0x1ea)][_0x3d739f(0x282)](_0x55110a),_0x22b1ee=(_0x5e6d5b=_0x2b6c2e[_0x3d739f(0x2f3)]())!=null?_0x5e6d5b:[];if(_0x22b1ee[_0x3d739f(0x2d9)]===0x0)return;const _0x21b4aa=_0x343f38[_0x3d739f(0x2f5)],_0x1fe8d5=[{'id':_0x3d739f(0x216),'params':{'unitId':_0x21b4aa,'actions':null,'textRanges':_0x22b1ee}}],_0x4919db=this[_0x3d739f(0x2df)]['transformMutationsWithChangeset'](_0x343f38,_0x1fe8d5);if(!_0x3a585f(_0x4919db))throw _0x4919db['error'];const _0x587616=_0x4919db[_0x3d739f(0x331)][0x0][_0x3d739f(0x2ff)][_0x3d739f(0x2a6)];Array['isArray'](_0x587616)&&_0x587616[_0x3d739f(0x2d9)]&&_0x2b6c2e['replaceDocRanges'](_0x587616,{'unitId':_0x21b4aa,'subUnitId':_0x21b4aa},!0x1);}};oe=on([tt(0x0,_0x6d32dc(_0x1e626a)),tt(0x1,_0xfd345b)],oe);var an=Object[_0x568b98(0x261)],cn=(_0x160f5c,_0x170781,_0x2e8161,_0x552e47)=>{for(var _0x9e9e7d=_0x552e47>0x1?void 0x0:_0x552e47?an(_0x170781,_0x2e8161):_0x170781,_0x45c3be=_0x160f5c['length']-0x1,_0x41c0f0;_0x45c3be>=0x0;_0x45c3be--)(_0x41c0f0=_0x160f5c[_0x45c3be])&&(_0x9e9e7d=_0x41c0f0(_0x9e9e7d)||_0x9e9e7d);return _0x9e9e7d;},U=(_0x492225,_0x1914a5)=>(_0x406795,_0x50f7a9)=>_0x1914a5(_0x406795,_0x50f7a9,_0x492225);let ae=class extends _0x3f16d8{constructor(_0x3111d9,_0x266a45,_0x40c0c6,_0x3c1e23,_0x5d68cf,_0x5a2f82,_0x1b7e89,_0xa9fba7){const _0x2e1490=_0x568b98;super(),_(this,_0x2e1490(0x1e0),new _0xd1fc21(_0xa23b9e[_0x2e1490(0x200)])),(this[_0x2e1490(0x30f)]=_0x3111d9,this['_collaborationController']=_0x266a45,this[_0x2e1490(0x1bf)]=_0x40c0c6,this[_0x2e1490(0x25a)]=_0x3c1e23,this[_0x2e1490(0x149)]=_0x5d68cf,this['_docSyncEditingCollabCursorService']=_0x5a2f82,this[_0x2e1490(0x230)]=_0x1b7e89,this[_0x2e1490(0x240)]=_0xa9fba7,this[_0x2e1490(0x1b6)]());}[_0x568b98(0x1b6)](){const _0x1585e7=_0x568b98;this[_0x1585e7(0x219)](this[_0x1585e7(0x1f6)][_0x1585e7(0x1d6)][_0x1585e7(0x294)](_0x11f44f=>{const _0x2181e6=_0x1585e7,_0x3d4539=this['_docStateChangeManagerService'][_0x2181e6(0x199)]['subscribe'](_0x2dc097=>{const _0x51a523=_0x2181e6;if(_0x2dc097==null)return;const {unitId:_0x5730d1,redoState:_0xc51b42,commandId:_0x327d55}=_0x2dc097;if(_0x5730d1!==_0x11f44f[_0x51a523(0x2f5)])return;const _0x16f813={'id':_0x327d55,'type':_0x3c6601[_0x51a523(0x328)],'params':{'unitId':_0x5730d1,'actions':_0xc51b42[_0x51a523(0x287)],'textRanges':null}};_0x11f44f[_0x51a523(0x2e9)](_0x16f813);});if(_0x11f44f[_0x2181e6(0x219)](_0x3d4539),_0x11f44f instanceof _0x338daf){const _0x4f47ff={'onTransformIME':_0x1c84cd=>this[_0x2181e6(0x1bf)]['transformIMECache'](_0x1c84cd),'onTransformState':_0xe4d31f=>this[_0x2181e6(0x25a)][_0x2181e6(0x2dd)](_0xe4d31f),'onTransformSelections':_0x54e0ec=>this[_0x2181e6(0x149)]['transformSelections'](_0x54e0ec),'onSyncEditingCollabCursor':_0x3f9b1d=>this[_0x2181e6(0x2c6)][_0x2181e6(0x203)](_0x3f9b1d),'onTransformRemoteChangesetByIMECache':_0x2b0ee8=>this[_0x2181e6(0x1bf)][_0x2181e6(0x28a)](_0x2b0ee8),'onTransformRemoteChangesetByStateCache':_0x32b403=>this[_0x2181e6(0x25a)][_0x2181e6(0x28a)](_0x32b403)};_0x11f44f['addHandlerCallback'](_0x4f47ff);}}));}};ae=cn([U(0x0,_0x6d32dc(_0x137048)),U(0x1,_0x6d32dc(_0x56ba9f)),U(0x2,_0x6d32dc(ne)),U(0x3,_0x6d32dc(re)),U(0x4,_0x6d32dc(oe)),U(0x5,_0x6d32dc(He)),U(0x6,_0x1869bb),U(0x7,_0x6d32dc(_0x4b501d))],ae);var ln=Object[_0x568b98(0x261)],_n=(_0x23b9ae,_0x37df1c,_0x855fee,_0x42ef87)=>{const _0x122424=_0x568b98;for(var _0x4897bf=_0x42ef87>0x1?void 0x0:_0x42ef87?ln(_0x37df1c,_0x855fee):_0x37df1c,_0x1cda0f=_0x23b9ae[_0x122424(0x2d9)]-0x1,_0xc8d6b4;_0x1cda0f>=0x0;_0x1cda0f--)(_0xc8d6b4=_0x23b9ae[_0x1cda0f])&&(_0x4897bf=_0xc8d6b4(_0x4897bf)||_0x4897bf);return _0x4897bf;},Ee=(_0x45b8aa,_0x1a0cfe)=>(_0x272b46,_0x175a5b)=>_0x1a0cfe(_0x272b46,_0x175a5b,_0x45b8aa);let we=class extends _0x3f16d8{constructor(_0x20f24e,_0x2d4d3c,_0x1491ce){const _0x576734=_0x568b98;super(),_(this,'_cachedData',new Map()),_(this,_0x576734(0x150),new Map()),_(this,_0x576734(0x15d),!0x1),(this[_0x576734(0x157)]=_0x20f24e,this[_0x576734(0x1e3)]=_0x2d4d3c,this[_0x576734(0x185)]=_0x1491ce);}['disableLocalCache'](){const _0x15a10c=_0x568b98;this[_0x15a10c(0x15d)]=!0x0;}[_0x568b98(0x334)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x4f50e6=_0x568b98;return this[_0x4f50e6(0x150)];}[_0x568b98(0x24e)](){const _0x41256f=_0x568b98;this[_0x41256f(0x19d)]()[_0x41256f(0x21d)](()=>super['dispose']());}async[_0x568b98(0x2de)](_0x53403c){const _0x27254d=_0x568b98;return this[_0x27254d(0x15d)]?null:this[_0x27254d(0x1e3)][_0x27254d(0x236)](_0x1b4ac8(_0x53403c));}async['saveOfflineData'](_0x4acdfe,_0x2175e0){const _0x359842=_0x568b98;return!!this[_0x359842(0x1e3)][_0x359842(0x2ab)](_0x4acdfe,_0x2175e0);}[_0x568b98(0x2a9)](_0x4e788a,_0x5e5155,_0x49d1ff,_0x4c4a64){const _0x1de04b=_0x568b98,_0x12ed84=this[_0x1de04b(0x185)][_0x1de04b(0x1fb)](_0x4e788a);this[_0x1de04b(0x191)][_0x1de04b(0x214)](_0x4e788a,{'unitID':_0x4e788a,'type':_0x5e5155,'awaitingChangeset':_0x49d1ff,'mutations':_0x4c4a64,'rev':_0x12ed84}),this[_0x1de04b(0x150)][_0x1de04b(0x2c4)](_0x4e788a)||this[_0x1de04b(0x1b8)](_0x4e788a);}['_scheduleSaving'](_0x4f4946){const _0x300a5a=_0x568b98,_0x1d1007=this[_0x300a5a(0x2b5)]();_0x1d1007===0x0?this['_saveCache'](_0x4f4946):this[_0x300a5a(0x150)][_0x300a5a(0x214)](_0x4f4946,setTimeout(()=>this[_0x300a5a(0x1b2)](_0x4f4946),_0x1d1007));}[_0x568b98(0x2b5)](){const _0x43fd1a=_0x568b98;var _0x55c68d;return(_0x55c68d=this['_configService'][_0x43fd1a(0x2f0)](_0x16888c))!=null?_0x55c68d:_0x26387f;}[_0x568b98(0x1b2)](_0x1dd6a4){const _0x48aa4a=_0x568b98,_0x57afee=this[_0x48aa4a(0x150)][_0x48aa4a(0x282)](_0x1dd6a4);return _0x57afee!==void 0x0&&window['clearTimeout'](_0x57afee),this['_localStorageService'][_0x48aa4a(0x2ab)](_0x1b4ac8(_0x1dd6a4),this[_0x48aa4a(0x191)]['get'](_0x1dd6a4))[_0x48aa4a(0x21d)](()=>this[_0x48aa4a(0x150)][_0x48aa4a(0x15b)](_0x1dd6a4));}async[_0x568b98(0x19d)](){const _0x2d0e6c=_0x568b98,_0x1444b7=[];this[_0x2d0e6c(0x150)][_0x2d0e6c(0x153)]((_0x40acbd,_0x62c6e8)=>{const _0x1fa949=_0x2d0e6c;window['clearTimeout'](_0x40acbd),_0x1444b7[_0x1fa949(0x171)](this[_0x1fa949(0x1b2)](_0x62c6e8)[_0x1fa949(0x21d)](()=>{this['_saveTaskMap']['delete'](_0x62c6e8);}));}),await Promise[_0x2d0e6c(0x16b)](_0x1444b7);}};we=_n([Ee(0x0,_0x57f776),Ee(0x1,_0x40696b),Ee(0x2,_0x6d32dc(_0x2dcaae))],we);class hn extends _0x4ffef8{constructor(){const _0x3154d9=_0x568b98;super(),_(this,'urlChange$'),this[_0x3154d9(0x179)]=_0x1ef346(window,_0x3154d9(0x30d))[_0x3154d9(0x21f)](_0x37d2d6(this['dispose$']),_0x35f9aa(0x1),_0x13a5cf(void 0x0));}[_0x568b98(0x17a)](_0x17c66f,_0x1bd09e,_0x46a80a=!0x1){const _0x30fe00=_0x568b98,_0x5efae5=new URL(window[_0x30fe00(0x268)][_0x30fe00(0x145)]);_0x5efae5[_0x30fe00(0x1a6)][_0x30fe00(0x214)](_0x17c66f,_0x1bd09e),_0x46a80a?window[_0x30fe00(0x2c0)]['replaceState']('','',_0x5efae5['toString']()):window[_0x30fe00(0x2c0)][_0x30fe00(0x1a8)]('','',_0x5efae5['toString']());}[_0x568b98(0x2cb)](_0x3d2e92,_0x4a66af=!0x1){const _0x25bad2=_0x568b98,_0x523593=new URL(window[_0x25bad2(0x268)][_0x25bad2(0x145)]);_0x523593[_0x25bad2(0x1a6)]['delete'](_0x3d2e92),_0x4a66af?window[_0x25bad2(0x2c0)][_0x25bad2(0x2ac)]('','',_0x523593[_0x25bad2(0x262)]()):window[_0x25bad2(0x2c0)][_0x25bad2(0x1a8)]('','',_0x523593[_0x25bad2(0x262)]());}[_0x568b98(0x1d8)](_0x189b6b){const _0x45ae75=_0x568b98;var _0x4c7efa;return(_0x4c7efa=new URL(window[_0x45ae75(0x268)]['href'])[_0x45ae75(0x1a6)]['get'](_0x189b6b))!=null?_0x4c7efa:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x574485,_0x3b1fe4,_0x67207d)=>_0x3b1fe4 in _0x574485?un(_0x574485,_0x3b1fe4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x67207d}):_0x574485[_0x3b1fe4]=_0x67207d,Sn=(_0x11c5ee,_0x36ab51,_0x3a48bb,_0x5343ff)=>{const _0x130e0f=_0x568b98;for(var _0x3895f2=_0x5343ff>0x1?void 0x0:_0x5343ff?dn(_0x36ab51,_0x3a48bb):_0x36ab51,_0x161adc=_0x11c5ee[_0x130e0f(0x2d9)]-0x1,_0x2ba7c9;_0x161adc>=0x0;_0x161adc--)(_0x2ba7c9=_0x11c5ee[_0x161adc])&&(_0x3895f2=_0x2ba7c9(_0x3895f2)||_0x3895f2);return _0x3895f2;},Oe=(_0x219e2a,_0x781c13)=>(_0x399ba0,_0x456b74)=>_0x781c13(_0x399ba0,_0x456b74,_0x219e2a),mn=(_0xd2431,_0x3c0120,_0x59b1f7)=>fn(_0xd2431,_0x3c0120+'',_0x59b1f7);const gn=_0x568b98(0x1d9);let Ae=class extends _0x54a92a{constructor(_0x3a2d9b=et,_0x2ba4a2,_0x2130f6,_0x252d5f){const _0x1fdf97=_0x568b98;super(),this[_0x1fdf97(0x1f8)]=_0x3a2d9b,this[_0x1fdf97(0x26a)]=_0x2ba4a2,this[_0x1fdf97(0x1ea)]=_0x2130f6,this['_configService']=_0x252d5f;const {..._0x5a3922}=_0x3cf67f({},et,this[_0x1fdf97(0x1f8)]);this[_0x1fdf97(0x157)]['setConfig'](Zi,_0x5a3922);}[_0x568b98(0x143)](){const _0xe6dabd=_0x568b98;this[_0xe6dabd(0x298)](),this[_0xe6dabd(0x1c8)]();}[_0x568b98(0x234)](){const _0x1d1f83=_0x568b98;this[_0x1d1f83(0x1ca)]();}[_0x568b98(0x298)](){const _0x1e54dc=_0x568b98;var _0x1b79b7;const _0x13746c=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x51f3b5,{'useClass':_0x108140}],[_0x2755a3,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x16d380(this[_0x1e54dc(0x1ea)],_0x4d898d(_0x13746c,(_0x1b79b7=this[_0x1e54dc(0x1f8)])==null?void 0x0:_0x1b79b7['override']));}[_0x568b98(0x1ca)](){const _0x3a89be=_0x568b98;this[_0x3a89be(0x219)](this['_renderManagerService'][_0x3a89be(0x20a)](_0x142ba1[_0x3a89be(0x196)],[Pe])),this[_0x3a89be(0x219)](this['_renderManagerService'][_0x3a89be(0x20a)](_0x142ba1['UNIVER_SHEET'],[Le]));}['_initDependencies'](){_0x5e475c(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x568b98(0x1d5),gn),Ae=Sn([_0x19df80(_0x59101b),Oe(0x1,_0x107d26),Oe(0x2,_0x6d32dc(_0x1e626a)),Oe(0x3,_0x57f776)],Ae);var In=Object[_0x568b98(0x261)],vn=(_0x382d93,_0xd3c2f6,_0x489948,_0x310749)=>{const _0x425deb=_0x568b98;for(var _0x1e8cd8=_0x310749>0x1?void 0x0:_0x310749?In(_0xd3c2f6,_0x489948):_0xd3c2f6,_0x4de68b=_0x382d93[_0x425deb(0x2d9)]-0x1,_0xad82b0;_0x4de68b>=0x0;_0x4de68b--)(_0xad82b0=_0x382d93[_0x4de68b])&&(_0x1e8cd8=_0xad82b0(_0x1e8cd8)||_0x1e8cd8);return _0x1e8cd8;},K=(_0x5c7685,_0x231bbf)=>(_0x4e455b,_0x92dfba)=>_0x231bbf(_0x4e455b,_0x92dfba,_0x5c7685);let st=class extends _0x5df4a7{constructor(_0x168ae3,_0x4b81c7,_0x12454c,_0xc71d8b,_0x2773c6){super(_0x168ae3,_0x4b81c7,_0x12454c,_0xc71d8b,_0x2773c6);}async[_0x568b98(0x326)](_0x4f835f){const _0x18db44=_0x568b98,_0x2cd587=await this[_0x18db44(0x1eb)](),_0x3f3bbb=this[_0x18db44(0x31f)](_0x4f835f,_0x2cd587);return this['_doCreateSocket'](_0x3f3bbb);}[_0x568b98(0x31f)](_0x23ef48,_0x2ee968){const _0x345be9=_0x568b98,_0x170a30=typeof window>'u'?new URL(_0x23ef48):new URL(_0x23ef48,window[_0x345be9(0x268)][_0x345be9(0x243)]);_0x170a30[_0x345be9(0x1a6)][_0x345be9(0x214)]('sessionTicket',_0x2ee968);const _0x4e0102=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x345be9(0x268)][_0x345be9(0x336)]);return _0x4e0102[_0x345be9(0x282)](_0x345be9(0x1a5))&&_0x170a30[_0x345be9(0x1a6)][_0x345be9(0x214)](_0x345be9(0x1a5),_0x4e0102[_0x345be9(0x282)](_0x345be9(0x1a5))),_0x170a30[_0x345be9(0x262)]();}async[_0x568b98(0x1eb)](){const _0x1b0409=_0x568b98;var _0x159b4c,_0x29a95f,_0x5d2aad;const _0x2125a3=this[_0x1b0409(0x157)]['getConfig'](_0x496a5b),_0x236ee4=(_0x159b4c=_0x2125a3==null?void 0x0:_0x2125a3[_0x1b0409(0x1cd)])!=null?_0x159b4c:_0x5432d2;return(_0x5d2aad=(_0x29a95f=(await this['_httpService'][_0x1b0409(0x282)](_0x236ee4,{'headers':{'Content-Type':'application/json'}}))[_0x1b0409(0x2e1)])==null?void 0x0:_0x29a95f['ticket'])!=null?_0x5d2aad:'';}};st=vn([K(0x0,_0x6d32dc(_0x1e626a)),K(0x1,_0x6d32dc(_0x3ee678)),K(0x2,_0x57f776),K(0x3,_0x553ff6),K(0x4,_0x2ac1aa)],st);const it=0x7530,nt=_0x568b98(0x144);class jn extends _0x3f16d8{constructor(){const _0x757aca=_0x568b98;super(),_(this,_0x757aca(0x205),_0x4bbe86()),_(this,_0x757aca(0x1df),new Set()),_(this,_0x757aca(0x16e),new Map()),_(this,_0x757aca(0x1bb),null),_(this,_0x757aca(0x22b),new Map()),_(this,_0x757aca(0x21c),new Map()),this[_0x757aca(0x1e9)]();}[_0x568b98(0x24e)](){const _0x3951e4=_0x568b98;super[_0x3951e4(0x24e)](),this[_0x3951e4(0x22b)][_0x3951e4(0x153)]((_0xd235c0,_0x51f1bf)=>this[_0x3951e4(0x2a7)](_0x51f1bf)),this[_0x3951e4(0x1bb)]&&window[_0x3951e4(0x2b7)](this['_heartbeatTimer']);}[_0x568b98(0x17e)](_0x3506c1){const _0x45db6f=_0x568b98;return this[_0x45db6f(0x16d)](_0x3506c1)[_0x45db6f(0x21f)](_0x15bdb5());}[_0x568b98(0x1d3)](_0xa8513b){const _0xdeeaf6=_0x568b98;this[_0xdeeaf6(0x1df)][_0xdeeaf6(0x2aa)]===0x0&&this['_scheduleHeartbeat'](),this[_0xdeeaf6(0x1df)][_0xdeeaf6(0x1bc)](_0xa8513b),this['_send']({'type':0x0,'memberID':this[_0xdeeaf6(0x205)],'unitIDs':[_0xa8513b],'isForwarded':!0x1});}[_0x568b98(0x28b)](_0x2f0244){const _0xb62d6e=_0x568b98;this['_selfUnitIDs'][_0xb62d6e(0x15b)](_0x2f0244),this['_selfUnitIDs'][_0xb62d6e(0x2aa)]===0x0&&this[_0xb62d6e(0x1bb)]&&window['clearInterval'](this[_0xb62d6e(0x1bb)]);}[_0x568b98(0x1e9)](){const _0x1cb12e=_0x568b98;this[_0x1cb12e(0x219)](_0x1f8c5e(_0x1ef346(window,_0x1cb12e(0x2b2))[_0x1cb12e(0x294)](_0x135db8=>{const _0x35613f=_0x1cb12e;if(_0x135db8[_0x35613f(0x1d0)]!==nt||!_0x135db8['newValue'])return;const _0x1ba5e9=JSON[_0x35613f(0x253)](_0x135db8[_0x35613f(0x29b)]);this[_0x35613f(0x332)](_0x1ba5e9);}))),window[_0x1cb12e(0x235)](_0x1cb12e(0x25c),()=>this['_send']({'type':0x1,'memberID':this[_0x1cb12e(0x205)],'unitIDs':Array[_0x1cb12e(0x188)](this[_0x1cb12e(0x1df)])}));}[_0x568b98(0x332)](_0xa60ff0){const _0x6d9893=_0x568b98;switch(_0xa60ff0[_0x6d9893(0x2fc)]){case 0x0:this[_0x6d9893(0x266)](_0xa60ff0);break;case 0x1:this['_handleLeaveEvent'](_0xa60ff0);break;case 0x2:this[_0x6d9893(0x221)](_0xa60ff0);break;}}['_handleJoinEvent'](_0x2e4c7c){const _0xf441e9=_0x568b98,{unitIDs:_0x5e9689,memberID:_0x2c8c63,isForwarded:_0x513e70}=_0x2e4c7c;_0x5e9689[_0xf441e9(0x153)](_0x4584a7=>{const _0x7c2757=_0xf441e9;if(!_0x513e70&&this[_0x7c2757(0x16e)][_0x7c2757(0x2c4)](_0x4584a7)&&this[_0x7c2757(0x16d)](_0x4584a7)[_0x7c2757(0x27b)](_0x540c8d['OTHER_CLIENTS_EDITING']),!this[_0x7c2757(0x16e)][_0x7c2757(0x2c4)](_0x4584a7)||!this[_0x7c2757(0x16e)][_0x7c2757(0x282)](_0x4584a7)[_0x7c2757(0x2c4)](_0x2c8c63)){const _0x248211=this['_unitOnClients'][_0x7c2757(0x282)](_0x4584a7)||new Set();_0x248211[_0x7c2757(0x1bc)](_0x2c8c63),this[_0x7c2757(0x16e)][_0x7c2757(0x214)](_0x4584a7,_0x248211),this['_scheduleClearOtherTimer'](_0x2c8c63);}}),_0x513e70||this['_send']({'type':0x0,'memberID':this[_0xf441e9(0x205)],'unitIDs':[...this[_0xf441e9(0x1df)]],'isForwarded':!0x0});}[_0x568b98(0x146)](_0x85a1bd){const _0x36961d=_0x568b98;this[_0x36961d(0x2a7)](_0x85a1bd);const _0x34a2c9=window[_0x36961d(0x176)](()=>{const _0x5906f0=_0x36961d;this[_0x5906f0(0x16e)]['forEach'](_0x209e1f=>{const _0x3184a4=_0x5906f0;_0x209e1f[_0x3184a4(0x15b)](_0x85a1bd);});},it*0x2);this[_0x36961d(0x22b)][_0x36961d(0x214)](_0x85a1bd,_0x34a2c9);}[_0x568b98(0x2a7)](_0x393a56){const _0x8c8e45=_0x568b98;if(this[_0x8c8e45(0x22b)]['has'](_0x393a56)){const _0x55a751=this[_0x8c8e45(0x22b)][_0x8c8e45(0x282)](_0x393a56);_0x55a751&&window[_0x8c8e45(0x285)](_0x55a751),this[_0x8c8e45(0x22b)]['set'](_0x393a56,null);}}[_0x568b98(0x20e)](_0x1bfdb7){const _0x423fca=_0x568b98,{memberID:_0x4f0bde,unitIDs:_0x356cb9}=_0x1bfdb7;_0x356cb9[_0x423fca(0x153)](_0xd23e6e=>{const _0xa4afa9=_0x423fca;var _0x206467;const _0x1c2d7e=this[_0xa4afa9(0x16e)][_0xa4afa9(0x282)](_0xd23e6e);_0x1c2d7e&&(_0x1c2d7e[_0xa4afa9(0x15b)](_0x4f0bde),(_0x206467=this['_ensureSubject'](_0xd23e6e))==null||_0x206467[_0xa4afa9(0x27b)](_0x1c2d7e['size']===0x0?_0x540c8d['NO_OTHER_CLIENTS_EDITING']:_0x540c8d[_0xa4afa9(0x14a)]));}),this['_removeClearOtherTimer'](_0x4f0bde);}[_0x568b98(0x221)](_0x4c44ce){const _0x4d9949=_0x568b98;this[_0x4d9949(0x146)](_0x4c44ce['memberID']);}['_send'](_0x4caa74){const _0x53bb83=_0x568b98;localStorage['setItem'](nt,JSON[_0x53bb83(0x152)](_0x4caa74));}[_0x568b98(0x2d8)](){const _0x358b28=_0x568b98;this[_0x358b28(0x1bb)]=window[_0x358b28(0x1db)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},it);}[_0x568b98(0x16d)](_0x45f3fe){const _0x201ef1=_0x568b98;return this[_0x201ef1(0x21c)][_0x201ef1(0x2c4)](_0x45f3fe)||this[_0x201ef1(0x21c)][_0x201ef1(0x214)](_0x45f3fe,new _0xd1fc21(_0x540c8d[_0x201ef1(0x255)])),this[_0x201ef1(0x21c)][_0x201ef1(0x282)](_0x45f3fe);}}var Mt=(_0x2a4a79=>(_0x2a4a79[_0x2a4a79[_0x568b98(0x1f0)]=0x0]=_0x568b98(0x1f0),_0x2a4a79[_0x2a4a79['OK']=0x1]='OK',_0x2a4a79[_0x2a4a79[_0x568b98(0x275)]=0x2]='INTERNAL_ERROR',_0x2a4a79[_0x2a4a79[_0x568b98(0x223)]=0x3]=_0x568b98(0x223),_0x2a4a79[_0x2a4a79[_0x568b98(0x25f)]=0x4]=_0x568b98(0x25f),_0x2a4a79[_0x2a4a79[_0x568b98(0x300)]=0x5]='UNAUTHENTICATED',_0x2a4a79[_0x2a4a79[_0x568b98(0x26c)]=0x6]=_0x568b98(0x26c),_0x2a4a79[_0x2a4a79[_0x568b98(0x1da)]=0x7]=_0x568b98(0x1da),_0x2a4a79[_0x2a4a79[_0x568b98(0x318)]=0x8]='TOO_MANY_REQUESTS',_0x2a4a79[_0x2a4a79[_0x568b98(0x315)]=0x9]='COMPLETION_FINISHED',_0x2a4a79[_0x2a4a79[_0x568b98(0x1ad)]=0xa]=_0x568b98(0x1ad),_0x2a4a79[_0x2a4a79['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x568b98(0x293),_0x2a4a79[_0x2a4a79[_0x568b98(0x197)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2a4a79[_0x2a4a79[_0x568b98(0x280)]=0x1772]=_0x568b98(0x280),_0x2a4a79[_0x2a4a79[_0x568b98(0x304)]=0x1773]=_0x568b98(0x304),_0x2a4a79[_0x2a4a79['APPLY_REJECT']=0x1b59]=_0x568b98(0x2db),_0x2a4a79[_0x2a4a79['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x568b98(0x208),_0x2a4a79[_0x2a4a79['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x568b98(0x250),_0x2a4a79[_0x2a4a79[_0x568b98(0x17c)]=0x1b5c]=_0x568b98(0x17c),_0x2a4a79[_0x2a4a79[_0x568b98(0x16a)]=0x1b5d]=_0x568b98(0x16a),_0x2a4a79[_0x2a4a79[_0x568b98(0x31b)]=0x1f41]=_0x568b98(0x31b),_0x2a4a79[_0x2a4a79['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x568b98(0x31e),_0x2a4a79[_0x2a4a79['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x568b98(0x1e1),_0x2a4a79[_0x2a4a79[_0x568b98(0x309)]=0x232b]=_0x568b98(0x309),_0x2a4a79[_0x2a4a79['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x568b98(0x259),_0x2a4a79[_0x2a4a79[_0x568b98(0x24b)]=0x232d]=_0x568b98(0x24b),_0x2a4a79[_0x2a4a79[_0x568b98(0x274)]=0x2711]=_0x568b98(0x274),_0x2a4a79[_0x2a4a79[_0x568b98(0x13e)]=0x2712]=_0x568b98(0x13e),_0x2a4a79[_0x2a4a79[_0x568b98(0x338)]=0x2713]=_0x568b98(0x338),_0x2a4a79[_0x2a4a79['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2a4a79[_0x2a4a79[_0x568b98(0x270)]=0x271a]=_0x568b98(0x270),_0x2a4a79[_0x2a4a79['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x568b98(0x16c),_0x2a4a79[_0x2a4a79[_0x568b98(0x192)]=0x271c]=_0x568b98(0x192),_0x2a4a79[_0x2a4a79[_0x568b98(0x242)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2a4a79[_0x2a4a79[_0x568b98(0x206)]=0x271e]=_0x568b98(0x206),_0x2a4a79[_0x2a4a79[_0x568b98(0x28d)]=0x271f]=_0x568b98(0x28d),_0x2a4a79[_0x2a4a79[_0x568b98(0x2fe)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2a4a79[_0x2a4a79['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x568b98(0x2f9),_0x2a4a79[_0x2a4a79[_0x568b98(0x1e5)]=0x2ee2]=_0x568b98(0x1e5),_0x2a4a79[_0x2a4a79[_0x568b98(0x313)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2a4a79[_0x2a4a79[_0x568b98(0x26f)]=0x2ee4]=_0x568b98(0x26f),_0x2a4a79[_0x2a4a79[_0x568b98(0x29e)]=0x2ee5]=_0x568b98(0x29e),_0x2a4a79[_0x2a4a79[_0x568b98(0x1c7)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2a4a79[_0x2a4a79[_0x568b98(0x239)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2a4a79[_0x2a4a79[_0x568b98(0x1fd)]=0x32cb]=_0x568b98(0x1fd),_0x2a4a79[_0x2a4a79[_0x568b98(0x30b)]=-0x1]='UNRECOGNIZED',_0x2a4a79))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x8c78d7,_0x30c8b8,_0x1afb19,_0x44f720)=>{const _0x3fa057=_0x568b98;for(var _0x214c6d=_0x44f720>0x1?void 0x0:_0x44f720?pn(_0x30c8b8,_0x1afb19):_0x30c8b8,_0x538323=_0x8c78d7[_0x3fa057(0x2d9)]-0x1,_0x27a66d;_0x538323>=0x0;_0x538323--)(_0x27a66d=_0x8c78d7[_0x538323])&&(_0x214c6d=_0x27a66d(_0x214c6d)||_0x214c6d);return _0x214c6d;},be=(_0x56e62c,_0x1da8b5)=>(_0x419e56,_0x4aef0b)=>_0x1da8b5(_0x419e56,_0x4aef0b,_0x56e62c);let rt=class extends _0x3f16d8{constructor(_0x119642,_0x29bd96,_0x81c37e){const _0x1a6263=_0x568b98;super(),this[_0x1a6263(0x190)]=_0x119642,this[_0x1a6263(0x29f)]=_0x29bd96,this[_0x1a6263(0x157)]=_0x81c37e;}async[_0x568b98(0x1d4)](_0x32b653,_0x49429b,_0x4edd32,..._0x26eb44){const _0x26af25=_0x568b98;var _0x5d2c6b,_0x3f89d1,_0x5061a5,_0x4ee789;const _0x9f71a9=this[_0x26af25(0x190)][_0x26af25(0x2c1)]();if(!_0x9f71a9)throw new Error(_0x26af25(0x2e0));const _0x301040=((_0x5d2c6b=this['_configService']['getConfig'](_0x1ecb0e))!=null?_0x5d2c6b:_0x563a1a)+'/'+_0x32b653+_0x26af25(0x341)+_0x49429b,_0x5d1ce6=new URL(window[_0x26af25(0x268)][_0x26af25(0x145)]),_0x37a25c={'scriptId':_0x32b653,'runId':(_0x3f89d1=_0x5d1ce6[_0x26af25(0x1a6)][_0x26af25(0x282)](_0x26af25(0x1a5)))!=null?_0x3f89d1:'','function':_0x49429b,'unitId':_0x9f71a9[_0x26af25(0x284)](),'argsOfFunction':JSON['stringify'](_0x26eb44),'invokeId':(_0x5061a5=_0x4edd32['invokeId'])!=null?_0x5061a5:'','executionId':(_0x4ee789=_0x4edd32[_0x26af25(0x213)])!=null?_0x4ee789:''};try{const _0x1cc4b5=await this[_0x26af25(0x29f)][_0x26af25(0x231)](_0x301040,{'body':_0x37a25c});return _0x1cc4b5[_0x26af25(0x2e1)][_0x26af25(0x1b3)]&&_0x1cc4b5[_0x26af25(0x2e1)][_0x26af25(0x1b3)]['code']!==Mt['OK']?_0x26af25(0x1b4):_0x1cc4b5[_0x26af25(0x2e1)][_0x26af25(0x195)];}catch{return _0x26af25(0x1b4);}}};rt=Cn([be(0x0,_0x1234fa),be(0x1,_0x6d32dc(_0x3ee678)),be(0x2,_0x57f776)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x4eecf3=_0x3876;(function(_0x25bdf3,_0x1b84ab){const _0x255b5b=_0x3876,_0x242ae1=_0x25bdf3();while(!![]){try{const _0x1d900a=parseInt(_0x255b5b(0x254))/0x1+-parseInt(_0x255b5b(0x157))/0x2*(-parseInt(_0x255b5b(0xc2))/0x3)+parseInt(_0x255b5b(0x164))/0x4*(-parseInt(_0x255b5b(0x25e))/0x5)+-parseInt(_0x255b5b(0x2c1))/0x6+parseInt(_0x255b5b(0x1b9))/0x7+-parseInt(_0x255b5b(0x265))/0x8*(parseInt(_0x255b5b(0x142))/0x9)+parseInt(_0x255b5b(0x24d))/0xa*(parseInt(_0x255b5b(0xff))/0xb);if(_0x1d900a===_0x1b84ab)break;else _0x242ae1['push'](_0x242ae1['shift']());}catch(_0x48bff9){_0x242ae1['push'](_0x242ae1['shift']());}}}(_0x12f6,0x505dc));function _0x12f6(){const _0x3812cd=['textRanges','collabCursorState$','selections','_cursorInfo$','getStateCache','_uiPartsService','209UTBNvj','_docTransformStateCacheService','arc','UPDATE_CURSOR','collabStatus.notCollab','_selfUnitIDs','collaboration.single-unit.warning','_getScale','saveOfflineData','indexOf','children','moveTo','hide','generateRandomId','popstate','registerComponent','InsertRowCommandId','getOwnPropertySymbols','getConfig','AWAITING','_notificationService','[CollaborationDataLoaderController]','transformIMECache','getCurrent','_renderManagerService','range','_getMergeRange','exhaustSavingTask','_removeCollabCursors','disposeUnit','stringify','_getSheetObject','init','saveImage','ranges','unitID','save','attrs','transformStateCache','_handleLeaveEvent','invokeId','sheetId','_urlService','RemoveColCommandId','toRgbString','YUUMI_AI_RUN_FAILED','off-line-single','_transformPreviousActiveRange','docStateChange$','_localCacheService','collabStatus.offline','_entityInit$','_document','ALREADY_EXISTS','INVITE_CODE_REQUIRED','_updateLocalCursor','call','isArray','send','actions','undoState','_cursorShapes','parse','some','labelPosition','_sheetSkeletonManagerService','_scene','129861zGgFrY','_cachedData','current','drawWith','getVpScrollXYInfoByPosToVp','lineTo','addHandlerCallback','ONLINE','_getSaveTimeout','_initDependencies','AWAITING_WITH_PENDING','url(#off-line-single_clip0_910_343)','_session','colorChannel1','OnLineSingle','SNAPSHOT_HAS_BEEN_REMOVED','xlink:href','getRelativeToViewportCoord','wsSessionTicketUrl','setItem','INVALID_ARGUMENT','811432nsGIWZ','icon','APPLY_REVISION_CONFILICT','_config','0\x200\x2016\x2016','_clearOtherTimers','unit','removeParam','getOffsetConfig','APPLY_PERMISSION_DENIED','WECHAT_HAS_BEEN_BOUND','_colorIndex','PY_RUNTIME_SCRIPT_ERROR','4vwBmJU','bottom','getSheetBySheetId','session.collaboration-timeout','_hovered','_anchorDot','assign','urlChange$','getUniverSheetInstance','reconnect','YUUMI_UNABLE_LOAD_URL','source','none','getUnitId','_syncEditingCollabCursorService','event$','OFFLINE','transformRemoteChangeset','subUnitId','_cursor','getCellPositionByOffset','onMouseMove','M0\x200H16V16H0z','isActive','memberID','unshift','_docTransformIMECacheService','getColorFromTheme','params','_revisionService','defs','values','createSocket','disposeWithMe','extend','debug','_updateCollabCursors','updateOfflineData','setTimeout','_toggleOffline','_onCursorDelete','registerRefRange','_collabSessionService','SYNCED','getTypeOfUnitAdded$','font','runId','_toggleOnline','color','m1Prime','_messageService','_themeService','_docStateChangeManagerService','_getAnchorBounding','OTHER_CLIENT_EDITING','#FFF','collabStatus.conflict','findNodePositionByCharIndex','focused$','APPLY_DUPLICATED','mutations','result','on-line-single_clip0_910_349','_collabCursorState$','restore','FromArray','trim','loadUnit','path','YUUMI_NO_CUBOID_FOR_QUESTION','error','clipPath','_setupBeforeClosingHandler','isEditing','_initStatusListener','VIEW_MAIN','ENSURE_SNAPSHOT_EXECUTION','_textBubble','url(#$1','TEXT','getCurrentRevOfUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','getCollabCursors$','_name','_ensureSubject','1446725cBgpsl','/run/','_univerInstanceService','asObservable','flatMap','delete','_memberService','getFocusedUnit','startRow','_init','getRangePointData','_localStorageService','_transformUndoRedoStack','selection','_configService','_status$','_drawAnchor','map','endRow','TOO_MANY_REQUESTS','ticket','collaboration.closeRoom','LOGIN_FAILED','_draw','_instanceService','_onCursorUpdate','INTERNAL_ERROR','key','_logService','_color','_id','unload','function','YUUMI_ASYNCIO_CANCELLED','_onRefRangeChange','propertyIsEnumerable','_getSessionTicket','min','Failed','_refRangeService','length','_range','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','backgroundColor','with','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getValue','_docTransformSelectionsService','black','_refreshCollabCursors','fill','APPLY_REJECT','jiqing.500','_scheduleClearOtherTimer','DeleteRangeMoveUpCommandId','getParam','displayName','addEventListener','univer-flex\x20univer-items-center','set','width','CLOSE_ROOM','YUUMI_URL_COL_OUT_OF_RANGE','text','getItem','cursorInfo','data','_initResize','show','_saveCache','LICENSE_EXPORT_SIZE_EXCEEDED','transformMutation','_colorAssignService','SOCKET_FAILED_RETRY','setUndoRedoMutationParamsCache','YUUMI_RATE_OVER_LIMIT','_eventUnsubscribe','onRendered','UNRECOGNIZED','startsWith','assignAColorForMemberID','dispose$','_anchor','whenReady','collab-rect-range-','COMPLETION_FINISHED','_docSyncEditingCollabCursorService','getUndoRedoMutationParamsCache','entries','row','sessionStatus$','_initCommandExecutedListener','session.will-retry','closePath','round','_localeService','runOnServer','onLocalMutation','size','_backgroundColor','roomMembers','syncEditingCollabCursor','skeleton','_dataLoaderService','purple.300','MoveRangeCommandId','body','onPointerEnter$','subunit','from','_disabled','doc.mutation.rich-text-editing','replaceState','yellow.400','_unitStatus','NOT_COLLAB','Warning','saveTaskMap','getDocRanges','HEADER_MENU','1em','setConfig','_online','use','USER_NOT_INVITED_CODE','_docClipboardService','setShapeProps','dispose','forEach','url(#on-line-single_clip0_910_349)','roomMembers$','complete','_removeClearOtherTimer','LICENSE_MAX_UNITS_EXCEEDED','unsubscribe','getCollabEntity$','get','override','currentSkeleton$','_collaborationUIEventService','UNIVER_DOC','NOT_FOUND','setStateCache','tag','ACTIVE_UNIT_EVENT_CHANNEL','getActiveRange','_drawTextRange','_handleHeartbeatEvent','29130lpkihZ','add','_updateSubUnitFromURLParams','_updateURLWithCurrentState','max','replace','_docSkeletonManagerService','182625pJOjGx','symbol','addClipboardHook','_registerDependencies','_heartbeatTimer','_saveTaskMap','storage','executeCommand','registerRenderModule','RECT','1041810oZDKHc','_context','then','addObject','height','div','getUnitStatus$','72VWllvr','getSheetId','evenodd','_scheduleSaving','UNDEFINED','univer-flex\x20univer-mr-2\x20univer-text-xl','_transformService','defIds','_startDocCollabCursor','CONNECTOR_DATA_TOO_LARGE','makeDirty','translate(.97)','replaceDocRanges','rgba(255,\x20255,\x20255,\x200.01)','fillStyle','getCurrentSelections','defineProperty','m2Prime','_imageIoService','fillText','createInstance','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','0\x200\x2017\x2016','className','collabStatus.synced','beginPath','next','_commandService','_hover','getMergeData','green.600','_shapes','location','_handleHover','_roomMembers$','toString','Unknown\x20user','entityInit$','has','getTypeOfUnitDisposed$','transformMutationsWithChangeset','_startSheetCollabCursor','prototype','collaboration-client-ui.config','deepClone','MUTATION','_labelPosition','subscribeEvent','push','string','type','column','getMemberID','hasOwnProperty','...','univerjs-icon\x20univerjs-icon-','idSuffix','_unitOnClients','_registerRenderDependencies','PERMISSION_DENIED','pipe','blue.400','_handleEvent','setParam','_scheduleHeartbeat','_render','cursorInfo$','code','UNIVER_SHEET','pluginName','setAlpha','_initStatusComponent','activeSheet$','currentColor','getCurrentUnitForType','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','contains','href','onPointerMove$','_collaborationController','getUnhiddenWorksheets','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveSheet','name','transform','transformSelections','YUUMI_ALL_TABLES_IS_INVALID','loadOfflineData','APPLY_NON_SEQUENTIAL_REVISION','CONFLICT','onCommandExecuted','_cursors','1097760qcpAEs','_collabCursorController','YUUMI_TABLE_NOT_FOUND_IN_UNIT','InsertColCommandId','3hMwTiA','_docSkeleton','disableLocalCache','Error','executionId','_initEntityListener','_lastPointer','SNAPSHOT_INVALID_SNAPSHOT','clearTimeout','CHANGESET_REVISION_CONFILICT','endColumn','collab-text-anchor-','USERS_LEAVE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sheetID','_hideTimer','off-line-single_clip0_910_343','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','_initEvent','newValue','_send','history','searchParams','eventID','_injector','_transformHistoryAndStateStack','currentTheme$','mask','NO_OTHER_CLIENTS_EDITING','_httpService','_entities','_drawRectRange','_handleJoinEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','red.300','redoState','fillRule','getOwnPropertyDescriptor','find','_assignedColors','resize','UNAUTHENTICATED','subscribe','concat','setInterval','InsertRangeMoveDownCommandId','clearInterval','measureText','_setupSubUnitSync','getRenderById','INVALID_INVITE_CODE','includes','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','unitId'];_0x12f6=function(){return _0x3812cd;};return _0x12f6();}var $t=Object[_0x4eecf3(0x275)],xt=(_0x3dffec,_0x13a22a,_0x4dc109)=>_0x13a22a in _0x3dffec?$t(_0x3dffec,_0x13a22a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dc109}):_0x3dffec[_0x13a22a]=_0x4dc109,_=(_0x42eed7,_0x2b7e7d,_0x525029)=>xt(_0x42eed7,typeof _0x2b7e7d!=_0x4eecf3(0x255)?_0x2b7e7d+'':_0x2b7e7d,_0x525029);import{MemberService as _0x53765a,SessionStatus as _0x1f9003,CollaborationSessionService as _0x19979a,CollaborationStatus as _0x5ebc94,CollaborationController as _0x35a4f5,ILocalCacheService as _0x438a84,CollaborationUIEventService as _0xced4eb,CollaborationUIEventId as _0xd13cda,DataLoaderService as _0x4261a3,DocCollaborationEntity as _0x1a3f04,getLocalCacheKey as _0x4c3f23,LOCAL_CACHE_INTERVAL as _0x5d7666,LOCAL_CACHE_INTERVAL_KEY as _0x32cf39,UniverCollaborationClientPlugin as _0x438c85,CollaborationSocketService as _0x15e393,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1f3c77,DEFAULT_WS_SESSION_TICKET_URL as _0x320eca,UnitStatus as _0x132991,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2ca5e3,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x59f294}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x32532c,Disposable as _0x5ac07f,DOC_RANGE_TYPE as _0x1ea7d8,Inject as _0x3238d3,Injector as _0x18b4a9,IUniverInstanceService as _0x4cb48b,ICommandService as _0x1967d1,debounce as _0x473c56,Rectangle as _0x249961,DisposableCollection as _0x32261e,toDisposable as _0x2bc8ed,UniverInstanceType as _0x3e1dd4,Tools as _0x8a5bb7,COLORS as _0x418340,ColorKit as _0x4ac7c2,ThemeService as _0xa5ac4f,fromEventSubject as _0x126152,LocaleService as _0x3d1217,createIdentifier as _0x4b5019,ILogService as _0x46fd35,Optional as _0x45bfff,Workbook as _0x440452,CommandType as _0x795de,IConfigService as _0x36b811,ILocalStorageService as _0x2ab937,DependentOn as _0x9eb3f6,Plugin as _0x40c0e4,merge as _0x384f67,registerDependencies as _0x4aed60,mergeOverrideWithDependencies as _0x69d311,touchDependencies as _0x29cac2,generateRandomId as _0x5a9f63}from'@univerjs/core';import{Shape as _0x24b2fa,Rect as _0x2707a,getColor as _0xf9aab8,RegularPolygon as _0x16baae,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x552224,Vector2 as _0x5a279d,SHEET_VIEWPORT_KEY as _0x19caba,IRenderManagerService as _0x306452}from'@univerjs/engine-render';import{ISocketService as _0x2de9a2,WebSocketService as _0x21c6a9,HTTPService as _0x5a16dd}from'@univerjs/network';import{IDocClipboardService as _0x69a5af,NodePositionConvertToCursor as _0x4293f5,NodePositionConvertToRectRange as _0x4443b2,TEXT_RANGE_LAYER_INDEX as _0x57982a,SetDocZoomRatioOperation as _0x273e35,DocIMEInputManagerService as _0xf3eef8,DocStateChangeManagerService as _0x45b63f}from'@univerjs/docs-ui';import{IImageIoService as _0x499d72}from'@univerjs/drawing';import{BehaviorSubject as _0x34f84b,debounceTime as _0xf704bc,takeUntil as _0x551159,Subject as _0x191223,filter as _0x193ec3,switchMap as _0x26afe6,merge as _0x331a78,combineLatest as _0x4c2f69,of as _0x2bd16a,fromEvent as _0x491fe0,shareReplay as _0x4a7afd,mapTo as _0x411495,distinctUntilChanged as _0x1f8e19}from'rxjs';import{SetTextSelectionsOperation as _0x4c9b4a,RichTextEditingMutation as _0x358c3c,DocSelectionManagerService as _0x418e6a,DocSkeletonManagerService as _0x529b59}from'@univerjs/docs';import{ITransformService as _0x426a01,CollaborationEvent as _0x29b360,isTransformMutationFailure as _0x3c0515,isTransformMutationsWithChangesetSuccess as _0x5a1d73,RevisionService as _0xd9bbc9,ISnapshotServerService as _0x45eecd}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x143774,serializeRangeWithSheet as _0x2673a5}from'@univerjs/engine-formula';import{RefRangeService as _0x12962b,SetSelectionsOperation as _0x11a3a8,SheetsSelectionsService as _0x245343,EffectRefRangId as _0x244340,handleIRemoveRow as _0x451143,handleIRemoveCol as _0x4f7c04,handleMoveRange as _0x280827,handleInsertRow as _0x271acb,handleInsertRangeMoveRight as _0x5a7e83,handleInsertRangeMoveDown as _0x4cd02d,handleInsertCol as _0x5ddea8,handleDeleteRangeMoveUp as _0x3bd12b,handleDeleteRangeMoveLeft as _0x408ae3,runRefRangeMutations as _0x52aad4,SetWorksheetActivateCommand as _0x54f59b}from'@univerjs/sheets';import{map as _0x13779d,filter as _0x348392,throttleTime as _0x350ab8,takeUntil as _0x50a75a,switchMap as _0x5ee13a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x142741,getCoordByCell as _0x818fd,getSheetObject as _0x11acc9}from'@univerjs/sheets-ui';import{jsx as _0x27f3f5,jsxs as _0x4d5cd3}from'react/jsx-runtime';import{useObservable as _0x34c76b,useDependency as _0x1c2a20,IUIPartsService as _0x1187ab,BuiltInUIPart as _0xe7159a,connectInjector as _0x13f421,IBeforeCloseService as _0x5815ed,IMessageService as _0x42f721,INotificationService as _0x4c429f}from'@univerjs/ui';import{Tooltip as _0x32cbd6,clsx as _0x36d788,MessageType as _0x1d0caf}from'@univerjs/design';import{forwardRef as _0x50e919,useRef as _0x56f65d,createElement as _0x16842c,useCallback as _0x4417d8}from'react';import{IRemoteInstanceService as _0x165926}from'@univerjs/rpc';var ci=Object[_0x4eecf3(0xe7)],li=(_0x2c2cc5,_0x61e4a6,_0x53990e,_0x265755)=>{const _0x2e1a20=_0x4eecf3;for(var _0x91a9ee=_0x265755>0x1?void 0x0:_0x265755?ci(_0x61e4a6,_0x53990e):_0x61e4a6,_0x1cfc83=_0x2c2cc5[_0x2e1a20(0x1e1)]-0x1,_0x3e6a57;_0x1cfc83>=0x0;_0x1cfc83--)(_0x3e6a57=_0x2c2cc5[_0x1cfc83])&&(_0x91a9ee=_0x3e6a57(_0x91a9ee)||_0x91a9ee);return _0x91a9ee;},Je=(_0x1835d2,_0x59a404)=>(_0x2cddad,_0x548142)=>_0x59a404(_0x2cddad,_0x548142,_0x1835d2);let Ne=class extends _0x32532c{constructor(_0xee2ab6,_0x3c4256){const _0x1f4382=_0x4eecf3;super(),this[_0x1f4382(0x236)]=_0xee2ab6,this['_imageIoService']=_0x3c4256,this[_0x1f4382(0x1c2)]();}[_0x4eecf3(0x1c2)](){const _0x1353ee=_0x4eecf3,_0x30680f=this;this[_0x1353ee(0x185)](this[_0x1353ee(0x236)][_0x1353ee(0x256)]({'onBeforePasteImage':async _0x39144c=>{const _0x422b48=_0x1353ee,_0x533015=await _0x30680f[_0x422b48(0x277)][_0x422b48(0x120)](_0x39144c);return _0x533015?{'source':_0x533015[_0x422b48(0x16f)],'imageSourceType':_0x533015['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x69a5af),Je(0x1,_0x499d72)],Ne);const Ze=[_0x4eecf3(0x221),_0x4eecf3(0x1ed),_0x4eecf3(0x283),_0x4eecf3(0xe4),_0x4eecf3(0x2a2),_0x4eecf3(0x22a)];class ke extends _0x5ac07f{constructor(){const _0xf64d2f=_0x4eecf3;super(...arguments),_(this,_0xf64d2f(0xe9),new Map()),_(this,_0xf64d2f(0x162),0x0);}[_0x4eecf3(0x209)](_0xd422d5){const _0x35e965=_0x4eecf3;if(this['_assignedColors'][_0x35e965(0x28b)](_0xd422d5))return this[_0x35e965(0xe9)][_0x35e965(0x241)](_0xd422d5);const _0x4da436=Ze[this[_0x35e965(0x162)]];return this[_0x35e965(0x162)]=(this[_0x35e965(0x162)]+0x1)%Ze[_0x35e965(0x1e1)],this[_0x35e965(0xe9)][_0x35e965(0x1f4)](_0xd422d5,_0x4da436),_0x4da436;}}function Tt(_0x4f6277){const _0x20e5f0=_0x4eecf3;let _0x4bca11='';for(const _0x1f0dd7 of _0x4f6277){const {startOffset:_0x512dc4,endOffset:_0x1baf7d,isActive:_0x37d859,rangeType:_0xeb320b,segmentId:_0x12a356,segmentPage:_0x3a8f9b}=_0x1f0dd7;_0x4bca11[_0x20e5f0(0x1e1)]&&(_0x4bca11+=','),_0x4bca11+=_0x512dc4+':'+_0x1baf7d+':'+(_0x37d859?'1':'0')+':'+_0xeb320b+':'+_0x12a356+':'+_0x3a8f9b;}return _0x4bca11;}function _i(_0x4ad8a6){const _0x5646e4=_0x4eecf3,_0x2a6325=_0x4ad8a6['split'](','),_0x28ab8b=[];for(const _0x22496f of _0x2a6325){const [_0x163046,_0x5f1a67,_0x4f6445,_0x49c634,_0x19f95a,_0x4b5dbe]=_0x22496f['split'](':');_0x28ab8b[_0x5646e4(0x295)]({'startOffset':Number(_0x163046),'endOffset':Number(_0x5f1a67),'collapsed':_0x163046===_0x5f1a67,'isActive':_0x4f6445==='1','rangeType':_0x49c634===_0x1ea7d8[_0x5646e4(0x1b3)]?_0x1ea7d8['TEXT']:_0x1ea7d8[_0x5646e4(0x25d)],'segmentId':typeof _0x19f95a==_0x5646e4(0x296)?String(_0x19f95a):'','segmentPage':Number(_0x4b5dbe!=null?_0x4b5dbe:-0x1)});}return _0x28ab8b[_0x5646e4(0x13e)](_0x4dce14=>_0x4dce14[_0x5646e4(0x17b)])||(_0x28ab8b[0x0]['isActive']=!0x0),_0x28ab8b;}class He extends _0x32532c{constructor(){const _0x2aa38f=_0x4eecf3;super(...arguments),_(this,'_collabCursorState$',new _0x34f84b(null)),_(this,_0x2aa38f(0xfa),this[_0x2aa38f(0x1a3)][_0x2aa38f(0x1bc)]());}[_0x4eecf3(0x21e)](_0x51ffa5){const _0x173124=_0x4eecf3,{unitID:_0x59766a,memberID:_0x1d66d5,textRanges:_0x2619d7}=_0x51ffa5,_0x4417a0=Tt(_0x2619d7);if(_0x4417a0==='')return;const _0x307a58={'unitID':_0x59766a,'memberID':_0x1d66d5,'selection':_0x4417a0};this[_0x173124(0x1a3)]['next'](_0x307a58);}}var hi=Object[_0x4eecf3(0xe7)],ui=(_0x675e89,_0x15d9a6,_0x1a5c68,_0x604b3a)=>{const _0x532e6f=_0x4eecf3;for(var _0x54a2dc=_0x604b3a>0x1?void 0x0:_0x604b3a?hi(_0x15d9a6,_0x1a5c68):_0x15d9a6,_0xe5f59d=_0x675e89[_0x532e6f(0x1e1)]-0x1,_0x38c661;_0xe5f59d>=0x0;_0xe5f59d--)(_0x38c661=_0x675e89[_0xe5f59d])&&(_0x54a2dc=_0x38c661(_0x54a2dc)||_0x54a2dc);return _0x54a2dc;},L=(_0x599eca,_0x35c637)=>(_0x1b2a62,_0x382817)=>_0x35c637(_0x1b2a62,_0x382817,_0x599eca);const di=0x12c,fi=0x64;let Ue=class extends _0x32532c{constructor(_0x1c96df,_0x3b12dc,_0x4b4acc,_0x330c88,_0x470172,_0x4ec07d,_0x5123ef,_0x5bde45,_0x49fa9e){const _0x373698=_0x4eecf3;super(),_(this,'_online',!0x1),_(this,_0x373698(0x1c2),!0x1),_(this,_0x373698(0xfc),new _0x34f84b(new Map())),_(this,_0x373698(0x2a7),this['_cursorInfo$'][_0x373698(0x1bc)]()),_(this,_0x373698(0x287),new _0x34f84b([])),_(this,_0x373698(0x23b),this['_roomMembers$'][_0x373698(0x2a1)](_0xf704bc(di))),_(this,_0x373698(0x136),_0x473c56(_0x331db3=>{const _0x1971f7=_0x373698,_0x82dfb1={'eventID':_0x29b360[_0x1971f7(0x102)],'data':{'unitID':this[_0x1971f7(0x122)],'memberID':this['_session'][_0x1971f7(0x299)](),'selection':Tt(_0x331db3)}};this[_0x1971f7(0x14e)][_0x1971f7(0x139)](_0x82dfb1,this[_0x1971f7(0x122)]);},fi)),(this['unitID']=_0x1c96df,this[_0x373698(0x14e)]=_0x3b12dc,this[_0x373698(0xda)]=_0x4b4acc,this[_0x373698(0x201)]=_0x330c88,this[_0x373698(0x1bf)]=_0x470172,this['_syncEditingCollabCursorService']=_0x4ec07d,this['_transformService']=_0x5123ef,this['_univerInstanceService']=_0x5bde45,this['_commandService']=_0x49fa9e);}get[_0x4eecf3(0x1fa)](){const _0x3b05b0=_0x4eecf3;return this[_0x3b05b0(0xfc)][_0x3b05b0(0x1e7)]();}get['roomMembers'](){const _0x1d425d=_0x4eecf3;return this[_0x1d425d(0x287)]['getValue']();}[_0x4eecf3(0x238)](){const _0x20fb28=_0x4eecf3;super[_0x20fb28(0x238)](),this['_cursorInfo$'][_0x20fb28(0x27f)](new Map()),this[_0x20fb28(0xfc)]['complete'](),this[_0x20fb28(0x287)]['next']([]),this[_0x20fb28(0x287)]['complete']();}[_0x4eecf3(0x11f)](){const _0x1eceb2=_0x4eecf3;this['_init']||(this['_init']=!0x0,this[_0x1eceb2(0x14e)][_0x1eceb2(0x213)][_0x1eceb2(0x2a1)](_0x551159(this['dispose$']))[_0x1eceb2(0xec)](_0x1ff427=>{const _0x16e5fd=_0x1eceb2;_0x1ff427===_0x1f9003[_0x16e5fd(0x149)]?this['_toggleOnline']():this[_0x16e5fd(0x18b)]();}),this[_0x1eceb2(0x14e)]['event$']['pipe'](_0x551159(this[_0x1eceb2(0x20a)]))['subscribe'](_0x29167e=>{const _0x331b15=_0x1eceb2,_0x1d4088=_0x29167e[_0x331b15(0xd9)];_0x1d4088===_0x29b360['UPDATE_CURSOR']&&this[_0x331b15(0x1d2)](_0x29167e),_0x1d4088===_0x29b360['USERS_LEAVE']&&this[_0x331b15(0x18c)](_0x29167e);}),this[_0x1eceb2(0x185)](this[_0x1eceb2(0x280)][_0x1eceb2(0x2bf)](_0x5a3026=>{const _0x117c16=_0x1eceb2,_0x4bddb0=_0x5a3026[_0x117c16(0x180)];_0x4bddb0!=null&&this[_0x117c16(0x233)]&&_0x5a3026['id']===_0x4c9b4a['id']&&_0x4bddb0[_0x117c16(0xf8)]===this[_0x117c16(0x122)]&&_0x4bddb0[_0x117c16(0x1ad)]===!0x1&&_0x4bddb0['ranges'][_0x117c16(0x1e1)]>0x0&&this['_updateLocalCursor'](_0x4bddb0[_0x117c16(0x121)]);})),this[_0x1eceb2(0x172)]['collabCursorState$']['pipe'](_0x551159(this[_0x1eceb2(0x20a)]))[_0x1eceb2(0xec)](_0x62f964=>{const _0x5ef15a=_0x1eceb2;if((_0x62f964==null?void 0x0:_0x62f964[_0x5ef15a(0x122)])!==this['unitID'])return;const _0x3e9438={'eventID':_0x29b360['UPDATE_CURSOR'],'data':_0x62f964};this[_0x5ef15a(0x1d2)](_0x3e9438);}),this[_0x1eceb2(0x185)](this[_0x1eceb2(0x280)][_0x1eceb2(0x2bf)](_0x37ce26=>{const _0x44517b=_0x1eceb2;if(_0x37ce26[_0x44517b(0x180)]==null)return;const _0x4b27e2=_0x37ce26[_0x44517b(0x180)];if(_0x37ce26['id']!==_0x358c3c['id']||_0x4b27e2[_0x44517b(0xf8)]!==this[_0x44517b(0x122)])return;const _0x8b0379={'id':_0x44517b(0x228),'params':_0x4b27e2},_0x2d8434=this[_0x44517b(0x1fa)];for(const [_0x3fb800,_0x45f999]of _0x2d8434){const _0x2b6913={'id':_0x44517b(0x228),'params':{'unitId':this[_0x44517b(0x122)],'actions':null,'textRanges':_0x45f999['ranges']}},_0x2180d0=this[_0x44517b(0x26b)][_0x44517b(0x200)](_0x8b0379,_0x2b6913,!0x1);if(_0x3c0515(_0x2180d0))throw _0x2180d0[_0x44517b(0x1aa)];_0x2d8434[_0x44517b(0x1f4)](_0x3fb800,{..._0x45f999,'ranges':_0x2180d0[_0x44517b(0x276)][_0x44517b(0x180)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x2d8434);});})));}[_0x4eecf3(0x1d2)](_0x4dca3e){const _0x4b7eaf=_0x4eecf3;var _0x324e77,_0x440bf0;const {memberID:_0x16eda3,selection:_0x3dacf3}=_0x4dca3e['data'],_0x2f9d58=_i(_0x3dacf3),_0x4ea7df=(_0x440bf0=(_0x324e77=this[_0x4b7eaf(0x1bf)]['getMember'](this[_0x4b7eaf(0x122)],_0x16eda3))==null?void 0x0:_0x324e77[_0x4b7eaf(0x2b8)])!=null?_0x440bf0:_0x4b7eaf(0x289),_0x103da0={'color':this[_0x4b7eaf(0x201)]['assignAColorForMemberID'](_0x16eda3),'name':_0x4ea7df,'ranges':_0x2f9d58},_0x375ff2=this['cursorInfo'];_0x375ff2[_0x4b7eaf(0x1f4)](_0x16eda3,_0x103da0),this[_0x4b7eaf(0xfc)]['next'](_0x375ff2);}[_0x4eecf3(0x18c)](_0x1c4b9b){const _0x123cbe=_0x4eecf3,{memberID:_0x1a14a8}=_0x1c4b9b[_0x123cbe(0x1fb)],_0x2f1c82=this[_0x123cbe(0x1fa)];_0x2f1c82[_0x123cbe(0x1be)](_0x1a14a8),this[_0x123cbe(0xfc)][_0x123cbe(0x27f)](_0x2f1c82);}[_0x4eecf3(0x193)](){const _0x24e8e7=_0x4eecf3;var _0x189ddb;if(this[_0x24e8e7(0x233)]=!0x0,((_0x189ddb=this[_0x24e8e7(0x1bb)]['getFocusedUnit']())==null?void 0x0:_0x189ddb[_0x24e8e7(0x171)]())!==this[_0x24e8e7(0x122)])return;const _0xb3cb0f=this[_0x24e8e7(0xda)][_0x24e8e7(0x241)](_0x418e6a)[_0x24e8e7(0x22f)]();Array[_0x24e8e7(0x138)](_0xb3cb0f)&&_0xb3cb0f[_0x24e8e7(0x1e1)]>0x0&&this[_0x24e8e7(0x136)](_0xb3cb0f);}[_0x4eecf3(0x18b)](){const _0x512eb6=_0x4eecf3;this[_0x512eb6(0x233)]=!0x1;}};Ue=ui([L(0x2,_0x3238d3(_0x18b4a9)),L(0x3,_0x3238d3(ke)),L(0x4,_0x3238d3(_0x53765a)),L(0x5,_0x3238d3(He)),L(0x6,_0x426a01),L(0x7,_0x4cb48b),L(0x8,_0x1967d1)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x467d46,_0x4150cb,_0x1cb929,_0x3eafaf)=>{const _0x11a8ab=_0x4eecf3;for(var _0x175c96=_0x3eafaf>0x1?void 0x0:_0x3eafaf?Si(_0x4150cb,_0x1cb929):_0x4150cb,_0x42f989=_0x467d46[_0x11a8ab(0x1e1)]-0x1,_0x2c6c0d;_0x42f989>=0x0;_0x42f989--)(_0x2c6c0d=_0x467d46[_0x42f989])&&(_0x175c96=_0x2c6c0d(_0x175c96)||_0x175c96);return _0x175c96;},x=(_0x55d638,_0x38238d)=>(_0x2d378b,_0x5ab802)=>_0x38238d(_0x2d378b,_0x5ab802,_0x55d638);const gi=0x12c,Ii=0x64,vi=()=>{let _0x3dfcaa=[],_0x360cbb=!0x1;return _0x463f20=>{const _0x1071e6=_0x3876;_0x3dfcaa[_0x1071e6(0x295)](_0x463f20),_0x360cbb||(_0x360cbb=!0x0,setTimeout(()=>{_0x3dfcaa['forEach'](_0x273ed2=>_0x273ed2()),_0x3dfcaa=[],_0x360cbb=!0x1;}));};};let Me=class extends _0x32532c{constructor(_0x28b81b,_0x8f078d,_0x35301f,_0x56d04d,_0x34b5bd,_0x22173d,_0x2e76fb,_0x23ed68){const _0x415088=_0x4eecf3;super(),_(this,_0x415088(0x233),!0x1),_(this,_0x415088(0x1c2),!0x1),_(this,_0x415088(0xfc),new _0x34f84b(new Map())),_(this,'cursorInfo$',this[_0x415088(0xfc)]['asObservable']()),_(this,_0x415088(0x287),new _0x34f84b([])),_(this,'roomMembers$',this[_0x415088(0x287)]['pipe'](_0xf704bc(gi))),_(this,_0x415088(0x136),_0x473c56((_0x29a44d,_0x3f2b36)=>{const _0x1b96cb=_0x415088,_0x3df137={'eventID':_0x29b360['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b96cb(0x122)],'memberID':this[_0x1b96cb(0x14e)][_0x1b96cb(0x299)](),'selection':_0x2673a5(_0x29a44d,_0x3f2b36[_0x1b96cb(0x118)])}};this[_0x1b96cb(0x14e)][_0x1b96cb(0x139)](_0x3df137,this[_0x1b96cb(0x122)]);},Ii)),(this[_0x415088(0x122)]=_0x28b81b,this[_0x415088(0x14e)]=_0x8f078d,this[_0x415088(0xda)]=_0x35301f,this['_colorAssignService']=_0x56d04d,this['_memberService']=_0x34b5bd,this[_0x415088(0x1bb)]=_0x22173d,this[_0x415088(0x280)]=_0x2e76fb,this[_0x415088(0x1e0)]=_0x23ed68);}get['cursorInfo'](){const _0x23faa2=_0x4eecf3;return this[_0x23faa2(0xfc)][_0x23faa2(0x1e7)]();}get[_0x4eecf3(0x21d)](){const _0x1a18ca=_0x4eecf3;return this[_0x1a18ca(0x287)]['getValue']();}[_0x4eecf3(0x238)](){const _0x141c48=_0x4eecf3;super[_0x141c48(0x238)](),this[_0x141c48(0xfc)][_0x141c48(0x27f)](new Map()),this[_0x141c48(0xfc)]['complete'](),this['_roomMembers$'][_0x141c48(0x27f)]([]),this[_0x141c48(0x287)][_0x141c48(0x23c)]();}[_0x4eecf3(0x11f)](){const _0x466e74=_0x4eecf3;this['_init']||(this[_0x466e74(0x1c2)]=!0x0,this['_session'][_0x466e74(0x213)][_0x466e74(0x2a1)](_0x551159(this[_0x466e74(0x20a)]))['subscribe'](_0x546d3e=>{const _0xa092ea=_0x466e74;_0x546d3e===_0x1f9003[_0xa092ea(0x149)]?this[_0xa092ea(0x193)]():this[_0xa092ea(0x18b)]();}),this['_session'][_0x466e74(0x173)][_0x466e74(0x2a1)](_0x551159(this[_0x466e74(0x20a)]))['subscribe'](_0x1356c7=>{const _0x298d23=_0x466e74,_0x4568a0=_0x1356c7[_0x298d23(0xd9)];_0x4568a0===_0x29b360[_0x298d23(0x102)]&&this[_0x298d23(0x1d2)](_0x1356c7),_0x4568a0===_0x29b360[_0x298d23(0xce)]&&this[_0x298d23(0x18c)](_0x1356c7);}),this[_0x466e74(0x1db)](),this[_0x466e74(0x185)](this['_commandService'][_0x466e74(0x2bf)](_0x305b7d=>{const _0x35ea94=_0x466e74;if(this['_online']&&_0x305b7d['id']===_0x11a3a8['id']&&_0x305b7d[_0x35ea94(0x180)]['unitId']===this[_0x35ea94(0x122)]){const _0x39ea5e=_0x305b7d[_0x35ea94(0x180)];this[_0x35ea94(0x136)](_0x39ea5e[_0x35ea94(0x176)],_0x39ea5e[_0x35ea94(0xfb)][0x0]);}})));}[_0x4eecf3(0x1d2)](_0x43bb71){const _0x51b615=_0x4eecf3;var _0x57aa83,_0xb91553;const {memberID:_0x4255f5,selection:_0x1c075a}=_0x43bb71[_0x51b615(0x1fb)],{sheetName:_0x27d4a1,range:_0x5d1399}=_0x143774(_0x1c075a),_0xe14d53={'name':(_0xb91553=(_0x57aa83=this[_0x51b615(0x1bf)]['getMember'](this[_0x51b615(0x122)],_0x4255f5))==null?void 0x0:_0x57aa83['name'])!=null?_0xb91553:_0x51b615(0x289),'range':this['_getMergeRange'](_0x27d4a1,_0x5d1399),'sheetID':_0x27d4a1,'color':this[_0x51b615(0x201)][_0x51b615(0x209)](_0x4255f5),'selection':_0x1c075a},_0x49b64d=this[_0x51b615(0x1fa)];_0x49b64d[_0x51b615(0x1f4)](_0x4255f5,_0xe14d53),this[_0x51b615(0xfc)]['next'](_0x49b64d);}[_0x4eecf3(0x18c)](_0xc6e93c){const _0x593e6a=_0x4eecf3,{memberID:_0x512c84}=_0xc6e93c['data'],_0x1da96d=this[_0x593e6a(0x1fa)];_0x1da96d[_0x593e6a(0x1be)](_0x512c84),this[_0x593e6a(0xfc)]['next'](_0x1da96d);}[_0x4eecf3(0x119)](_0x48253c,_0x578f7d){const _0x188441=_0x4eecf3;var _0x1b36f7,_0x197433;const _0x3c6cb5=(_0x197433=(_0x1b36f7=this[_0x188441(0x1bb)][_0x188441(0x16c)](this[_0x188441(0x122)]))==null?void 0x0:_0x1b36f7[_0x188441(0x166)](_0x48253c))==null?void 0x0:_0x197433[_0x188441(0x282)]();return(_0x3c6cb5==null?void 0x0:_0x3c6cb5[_0x188441(0xe8)](_0x31e00a=>_0x249961[_0x188441(0x2b1)](_0x31e00a,_0x578f7d)))||_0x578f7d;}[_0x4eecf3(0x1db)](){const _0x317893=_0x4eecf3,_0x4ad216=new _0x32261e(),_0x125837=vi(),_0x2ed764=()=>{const _0x38bf78=_0x3876;_0x4ad216[_0x38bf78(0x238)]();const _0x4e92e8=(_0x5e57c8,_0x3d12e3,_0x5e6a03,_0x193c4)=>{const _0x2ea83f=_0x38bf78;let _0x3288a6=[];switch(_0x5e57c8['id']){case _0x244340['DeleteRangeMoveLeftCommandId']:{_0x3288a6=_0x408ae3(_0x5e57c8,_0x193c4);break;}case _0x244340[_0x2ea83f(0x1ef)]:{_0x3288a6=_0x3bd12b(_0x5e57c8,_0x193c4);break;}case _0x244340[_0x2ea83f(0xc1)]:{_0x3288a6=_0x5ddea8(_0x5e57c8,_0x193c4);break;}case _0x244340[_0x2ea83f(0xef)]:{_0x3288a6=_0x4cd02d(_0x5e57c8,_0x193c4);break;}case _0x244340['InsertRangeMoveRightCommandId']:{_0x3288a6=_0x5a7e83(_0x5e57c8,_0x193c4);break;}case _0x244340[_0x2ea83f(0x10f)]:{_0x3288a6=_0x271acb(_0x5e57c8,_0x193c4);break;}case _0x244340[_0x2ea83f(0x222)]:{_0x3288a6=_0x280827(_0x5e57c8,_0x193c4);break;}case _0x244340[_0x2ea83f(0x12a)]:{_0x3288a6=_0x4f7c04(_0x5e57c8,_0x193c4);break;}case _0x244340['RemoveRowCommandId']:{_0x3288a6=_0x451143(_0x5e57c8,_0x193c4);break;}}const _0x2c5912=_0x52aad4(_0x3288a6,_0x193c4),_0xdccb87=this[_0x2ea83f(0x1fa)]['get'](_0x3d12e3);if(_0xdccb87&&_0x2c5912){const _0xf4b475={..._0xdccb87,'range':_0x2c5912};this['cursorInfo'][_0x2ea83f(0x1f4)](_0x3d12e3,_0xf4b475),_0x125837(()=>{const _0x3cc3cd=_0x2ea83f,_0x3be4f7=this[_0x3cc3cd(0x1e0)][_0x3cc3cd(0x18d)](_0x2c5912,_0x43cf6b=>(_0x3be4f7[_0x3cc3cd(0x238)](),_0x4e92e8(_0x43cf6b,_0x3d12e3,_0x5e6a03,_0x2c5912)));_0x4ad216[_0x3cc3cd(0x24e)](_0x3be4f7);});}return{'redos':[],'undos':[]};};this[_0x38bf78(0x1fa)][_0x38bf78(0x239)]((_0x137df3,_0xb22e67)=>{const _0x2c458d=_0x38bf78,{range:_0x766646,sheetID:_0x2c0ccd}=_0x137df3,_0x560bbf=this['_refRangeService'][_0x2c458d(0x18d)](_0x766646,_0xaf5709=>(_0x560bbf['dispose'](),_0x4e92e8(_0xaf5709,_0xb22e67,_0x2c0ccd,_0x766646)));_0x4ad216[_0x2c458d(0x24e)](_0x560bbf);});};this[_0x317893(0x185)](_0x2bc8ed(this[_0x317893(0xfc)][_0x317893(0xec)](()=>{_0x2ed764();})));}[_0x4eecf3(0x193)](){const _0x3c5ddf=_0x4eecf3;var _0x5819b9,_0x5461bd;if(this[_0x3c5ddf(0x233)]=!0x0,((_0x5819b9=this['_univerInstanceService'][_0x3c5ddf(0x1c0)]())==null?void 0x0:_0x5819b9[_0x3c5ddf(0x171)]())!==this['unitID'])return;const _0x42bd04=(_0x5461bd=this[_0x3c5ddf(0xda)][_0x3c5ddf(0x241)](_0x245343)[_0x3c5ddf(0x274)]())==null?void 0x0:_0x5461bd[0x0],_0x24970d=this[_0x3c5ddf(0x1bb)][_0x3c5ddf(0x2af)](_0x3e1dd4[_0x3c5ddf(0x2a9)])[_0x3c5ddf(0x2b7)]();_0x42bd04&&_0x24970d&&this[_0x3c5ddf(0x136)](_0x24970d[_0x3c5ddf(0x266)](),_0x42bd04);}[_0x4eecf3(0x18b)](){const _0x21ee04=_0x4eecf3;this[_0x21ee04(0x233)]=!0x1;}};Me=mi([x(0x2,_0x3238d3(_0x18b4a9)),x(0x3,_0x3238d3(ke)),x(0x4,_0x3238d3(_0x53765a)),x(0x5,_0x4cb48b),x(0x6,_0x1967d1),x(0x7,_0x3238d3(_0x12962b))],Me);var pi=Object[_0x4eecf3(0xe7)],Ci=(_0x4a61d8,_0x3d22df,_0x19a7c7,_0x1dca64)=>{for(var _0x3f830c=_0x1dca64>0x1?void 0x0:_0x1dca64?pi(_0x3d22df,_0x19a7c7):_0x3d22df,_0x3b08f2=_0x4a61d8['length']-0x1,_0x1a7dba;_0x3b08f2>=0x0;_0x3b08f2--)(_0x1a7dba=_0x4a61d8[_0x3b08f2])&&(_0x3f830c=_0x1a7dba(_0x3f830c)||_0x3f830c);return _0x3f830c;},Se=(_0x16f5cc,_0x2ef5f8)=>(_0x1a5dd9,_0x15cfbb)=>_0x2ef5f8(_0x1a5dd9,_0x15cfbb,_0x16f5cc);let H=class extends _0x32532c{constructor(_0x5e3cb4,_0x5f0a1f,_0x5837d6){const _0x1cec52=_0x4eecf3;super(),_(this,_0x1cec52(0xe0),new Map()),_(this,_0x1cec52(0x132),new _0x191223()),(this[_0x1cec52(0x1bb)]=_0x5e3cb4,this[_0x1cec52(0xda)]=_0x5f0a1f,this[_0x1cec52(0x18e)]=_0x5837d6,this['_init']());}['dispose'](){const _0x2579a7=_0x4eecf3;super[_0x2579a7(0x238)](),this['_entityInit$'][_0x2579a7(0x23c)](),this[_0x2579a7(0xe0)][_0x2579a7(0x239)](_0x535714=>_0x535714[_0x2579a7(0x238)]());}[_0x4eecf3(0x1b6)](_0x43e273){const _0x488de2=_0x4eecf3;return this[_0x488de2(0xe0)][_0x488de2(0x28b)](_0x43e273)?this[_0x488de2(0xe0)][_0x488de2(0x241)](_0x43e273)[_0x488de2(0x2a7)]:this[_0x488de2(0x132)][_0x488de2(0x2a1)](_0x193ec3(_0x54aadc=>_0x54aadc[_0x488de2(0x122)]===_0x43e273),_0x26afe6(_0x215a8f=>_0x215a8f[_0x488de2(0x2a7)]));}[_0x4eecf3(0x1c2)](){const _0x590b8d=_0x4eecf3;this[_0x590b8d(0x1bb)][_0x590b8d(0x190)](_0x3e1dd4['UNIVER_SHEET'])['pipe'](_0x551159(this[_0x590b8d(0x20a)]))['subscribe'](async _0x262e59=>{const _0x10b84a=_0x590b8d,_0x3b9fcd=_0x262e59[_0x10b84a(0x171)](),_0x461efe=await this['_startSheetCollabCursor'](_0x3b9fcd);this[_0x10b84a(0x132)][_0x10b84a(0x27f)](_0x461efe),this['_entities']['set'](_0x3b9fcd,_0x461efe);}),this[_0x590b8d(0x1bb)][_0x590b8d(0x190)](_0x3e1dd4[_0x590b8d(0x245)])[_0x590b8d(0x2a1)](_0x551159(this[_0x590b8d(0x20a)]))[_0x590b8d(0x2a1)](_0x193ec3(_0x40ee0e=>!_0x40ee0e[_0x590b8d(0x171)]()[_0x590b8d(0x208)]('__')))[_0x590b8d(0xec)](async _0x81502=>{const _0x2d4d41=_0x590b8d,_0x531dea=_0x81502[_0x2d4d41(0x171)](),_0x19bc05=await this[_0x2d4d41(0x26d)](_0x531dea);this[_0x2d4d41(0x132)]['next'](_0x19bc05),this[_0x2d4d41(0xe0)][_0x2d4d41(0x1f4)](_0x531dea,_0x19bc05);}),_0x331a78(this[_0x590b8d(0x1bb)][_0x590b8d(0x28c)](_0x3e1dd4[_0x590b8d(0x245)]),this[_0x590b8d(0x1bb)][_0x590b8d(0x28c)](_0x3e1dd4[_0x590b8d(0x2a9)]))[_0x590b8d(0x2a1)](_0x551159(this[_0x590b8d(0x20a)]))[_0x590b8d(0xec)](_0x290d06=>{const _0x3add95=_0x590b8d,_0x289ad0=_0x290d06[_0x3add95(0x171)](),_0x13701c=this['_entities']['get'](_0x289ad0);_0x13701c&&(_0x13701c[_0x3add95(0x238)](),this['_entities'][_0x3add95(0x1be)](_0x289ad0));});}async[_0x4eecf3(0x28e)](_0x55080e){const _0x255277=_0x4eecf3,_0x3f0e4d=await this[_0x255277(0x18e)]['requireSession'](_0x55080e),_0x3c32ce=this[_0x255277(0xda)]['createInstance'](Me,_0x55080e,_0x3f0e4d);return _0x3c32ce['init'](),_0x3c32ce;}async[_0x4eecf3(0x26d)](_0x59c0d5){const _0x25c374=_0x4eecf3,_0x826b79=await this[_0x25c374(0x18e)]['requireSession'](_0x59c0d5),_0xe82245=this[_0x25c374(0xda)][_0x25c374(0x279)](Ue,_0x59c0d5,_0x826b79);return _0xe82245['init'](),_0xe82245;}};H=Ci([Se(0x0,_0x4cb48b),Se(0x1,_0x3238d3(_0x18b4a9)),Se(0x2,_0x3238d3(_0x19979a))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3e12df,_0xf9c804){const _0xe4e19f=_0x4eecf3;let {radius:_0x5c2c88,width:_0x51ed87,height:_0x10229b}=_0xf9c804;_0x5c2c88=_0x5c2c88!=null?_0x5c2c88:0x0,_0x51ed87=_0x51ed87!=null?_0x51ed87:0x1e,_0x10229b=_0x10229b!=null?_0x10229b:0x1e;let _0xf55d7=0x0,_0x3f9e3d=0x0,_0x20c9fb=0x0;_0xf55d7=_0x3f9e3d=_0x20c9fb=Math[_0xe4e19f(0x1de)](_0x5c2c88,_0x51ed87/0x2,_0x10229b/0x2),_0x3e12df[_0xe4e19f(0x27e)](),_0x3e12df[_0xe4e19f(0x10a)](_0xf55d7,0x0),_0x3e12df['lineTo'](_0x51ed87-_0x3f9e3d,0x0),_0x3e12df[_0xe4e19f(0x101)](_0x51ed87-_0x3f9e3d,_0x3f9e3d,_0x3f9e3d,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e12df[_0xe4e19f(0x147)](_0x51ed87,_0x10229b-_0x20c9fb),_0x3e12df[_0xe4e19f(0x101)](_0x51ed87-_0x20c9fb,_0x10229b-_0x20c9fb,_0x20c9fb,0x0,Math['PI']/0x2,!0x1),_0x3e12df[_0xe4e19f(0x147)](0x0,_0x10229b),_0x3e12df[_0xe4e19f(0x147)](0x0,_0xf55d7),_0x3e12df[_0xe4e19f(0x101)](_0xf55d7,_0xf55d7,_0xf55d7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e12df[_0xe4e19f(0x216)](),_0xf9c804['fill']&&(_0x3e12df[_0xe4e19f(0x123)](),_0x3e12df[_0xe4e19f(0x273)]=_0xf9c804[_0xe4e19f(0x1eb)],_0xf9c804[_0xe4e19f(0xe6)]==='evenodd'?_0x3e12df[_0xe4e19f(0x1eb)](_0xe4e19f(0x267)):_0x3e12df[_0xe4e19f(0x1eb)](),_0x3e12df[_0xe4e19f(0x1a4)]());}class he extends _0x24b2fa{constructor(_0x277b91,_0x2a28a4){const _0x323954=_0x4eecf3;super(_0x277b91,_0x2a28a4),_(this,_0x323954(0x194)),_(this,_0x323954(0x1f8)),(this[_0x323954(0x194)]=_0x2a28a4==null?void 0x0:_0x2a28a4[_0x323954(0x194)],this['text']=_0x2a28a4==null?void 0x0:_0x2a28a4[_0x323954(0x1f8)]);}static[_0x4eecf3(0x145)](_0x28a292,_0x15a894){const _0x2c2ce0=_0x4eecf3,{text:_0x4fcf47,color:_0x1dc32d}=_0x15a894;_0x28a292[_0x2c2ce0(0x123)](),_0x28a292[_0x2c2ce0(0x191)]=_0x2c2ce0(0xcf);const _0x4940db=_0x28a292['measureText'](_0x4fcf47)[_0x2c2ce0(0x1f5)],_0x597d03=Math[_0x2c2ce0(0x1de)](_0x4940db+0x2*me,Qe);Oi(_0x28a292,{'height':ee,'radius':0x4,'width':_0x597d03,'fill':_0x1dc32d}),_0x28a292[_0x2c2ce0(0x273)]=_0x2c2ce0(0x19b);const _0x2a66a9=me,_0x29e6b8=ee-Ei,_0x3428e9=Qe-0x2*me;if(_0x4940db>_0x3428e9){let _0x4a3bb1='',_0x443130=0x0;for(const _0x3ffcb2 of _0x4fcf47){const _0xb527a8=_0x28a292['measureText'](_0x3ffcb2)['width'];if(_0x443130+_0xb527a8<=_0x3428e9-_0x28a292[_0x2c2ce0(0xf1)]('...')[_0x2c2ce0(0x1f5)])_0x4a3bb1+=_0x3ffcb2,_0x443130+=_0xb527a8;else{_0x4a3bb1+=_0x2c2ce0(0x29b);break;}}_0x28a292[_0x2c2ce0(0x278)](_0x4a3bb1,_0x2a66a9,_0x29e6b8);}else _0x28a292[_0x2c2ce0(0x278)](_0x4fcf47,_0x2a66a9,_0x29e6b8);_0x28a292['restore']();}[_0x4eecf3(0x1d0)](_0x19c7d7){const _0x521724=_0x4eecf3;he[_0x521724(0x145)](_0x19c7d7,this);}}const ge=_0x4eecf3(0xcd),bi='collab-text-range-',Ti=_0x4eecf3(0x20d),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x4eecf3(0x272);class qe{constructor(_0x58001d,_0x2f880c,_0x4e0e5c,_0x737862){const _0x52d77b=_0x4eecf3;_(this,_0x52d77b(0x284),[]),_(this,'_anchor',null),_(this,_0x52d77b(0x1b1),null),_(this,_0x52d77b(0x169),null),_(this,_0x52d77b(0xd1),null),_(this,'_eventUnsubscribe',null),(this[_0x52d77b(0x177)]=_0x58001d,this[_0x52d77b(0x141)]=_0x2f880c,this[_0x52d77b(0xc3)]=_0x4e0e5c,this[_0x52d77b(0x133)]=_0x737862,this[_0x52d77b(0x2a6)]());}set[_0x4eecf3(0x281)](_0x301bc1){const _0x69dcfc=_0x4eecf3;_0x301bc1?(this[_0x69dcfc(0x169)]&&this[_0x69dcfc(0x169)]['hide'](),this[_0x69dcfc(0x1b1)]&&this[_0x69dcfc(0x1b1)][_0x69dcfc(0x1fd)]()):(this[_0x69dcfc(0x169)]&&this[_0x69dcfc(0x169)][_0x69dcfc(0x1fd)](),this[_0x69dcfc(0x1b1)]&&this[_0x69dcfc(0x1b1)][_0x69dcfc(0x10b)]());}[_0x4eecf3(0x238)](){const _0x2ea440=_0x4eecf3;for(const _0x41ddd1 of this['_shapes'])_0x41ddd1[_0x2ea440(0x238)]();this['_textBubble']&&this[_0x2ea440(0x1b1)]['dispose'](),this[_0x2ea440(0x169)]&&this[_0x2ea440(0x169)][_0x2ea440(0x238)](),this[_0x2ea440(0x20b)]&&this[_0x2ea440(0x20b)][_0x2ea440(0x238)](),this['_eventUnsubscribe']&&this[_0x2ea440(0x205)]();}[_0x4eecf3(0x2a6)](){const _0x38ee52=_0x4eecf3;var _0x163fa7;const {_docSkeleton:_0x2a77c4,_document:_0x380132}=this,{color:_0x5080c5,name:_0x47ec9c,ranges:_0x6a83fa}=this['_cursor'],_0x37e6ac=_0x380132[_0x38ee52(0x15f)](),{docsLeft:_0x31a18a,docsTop:_0x10df67}=_0x37e6ac,_0x21a5a2=new _0x4293f5(_0x37e6ac,_0x2a77c4);for(const {startOffset:_0x5ca86d,endOffset:_0x5979b4,rangeType:_0x2f05a7,segmentId:_0x3dfca4,segmentPage:_0x727833,collapsed:_0x3c1385,isActive:_0x295cc9}of _0x6a83fa){const _0x592e8d=_0x2a77c4[_0x38ee52(0x19d)](_0x5ca86d,!0x0,_0x3dfca4,_0x727833);let _0x2f6c42=_0x2a77c4[_0x38ee52(0x19d)](_0x5979b4,!0x0,_0x3dfca4,_0x727833);if(_0x2f6c42==null&&(_0x2f6c42=_0x2a77c4[_0x38ee52(0x19d)](_0x5979b4-0x1,!0x1,_0x3dfca4,_0x727833)),_0x295cc9){const {contentBoxPointGroup:_0x4439f7}=_0x21a5a2['getRangePointData'](_0x2f6c42,_0x2f6c42);if(_0x4439f7[_0x38ee52(0x1e1)]===0x0)continue;this[_0x38ee52(0x1c9)](_0x5080c5,_0x4439f7,_0x31a18a,_0x10df67,_0x47ec9c),this[_0x38ee52(0x205)]=this[_0x38ee52(0x286)]();}if(_0x592e8d&&_0x2f6c42){if(_0x2f05a7===_0x1ea7d8[_0x38ee52(0x25d)]){const _0x4c54d1=new _0x4443b2(_0x37e6ac,_0x2a77c4),{pointGroup:_0x2b6efd}=(_0x163fa7=_0x4c54d1[_0x38ee52(0x1c3)](_0x592e8d,_0x2f6c42))!=null?_0x163fa7:{};if(_0x2b6efd==null||_0x2b6efd['length']===0x0)continue;this[_0x38ee52(0xe1)](_0x5080c5,_0x2b6efd,_0x31a18a,_0x10df67);}else{if(!_0x3c1385){const {borderBoxPointGroup:_0x3bac39}=_0x21a5a2[_0x38ee52(0x1c3)](_0x592e8d,_0x2f6c42);if(_0x3bac39['length']===0x0)continue;this[_0x38ee52(0x24b)](_0x5080c5,_0x3bac39,_0x31a18a,_0x10df67);}}}}}[_0x4eecf3(0x1c9)](_0x44eeff,_0x27b036,_0x29768c,_0x1c0205,_0x393f15){const _0x445f0=_0x4eecf3,_0x197321=this[_0x445f0(0x199)](_0x27b036),{left:_0x10b6b3,top:_0x323dbc,height:_0x499313}=_0x197321,_0x5286e2=this[_0x445f0(0x106)](),_0x4ab5c0=Di/_0x5286e2,_0x562699=new _0x2707a(ge+_0x8a5bb7[_0x445f0(0x10c)](X),{'left':_0x10b6b3+_0x29768c-_0x4ab5c0,'top':_0x323dbc+_0x1c0205,'height':_0x499313,'width':Ri,'fill':_0x44eeff||_0xf9aab8(_0x418340[_0x445f0(0x1e9)],0x0),'strokeWidth':_0x4ab5c0,'stroke':Ni,'evented':!0x0});this[_0x445f0(0x20b)]=_0x562699,this[_0x445f0(0x141)][_0x445f0(0x261)](_0x562699,_0x57982a);const _0x47deb5=new _0x2707a(ge+_0x8a5bb7['generateRandomId'](X),{'left':_0x10b6b3+_0x29768c-_0x4ab5c0,'top':_0x323dbc+_0x1c0205-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x44eeff||_0xf9aab8(_0x418340[_0x445f0(0x1e9)],0x0),'strokeWidth':0x0,'stroke':_0x44eeff||_0xf9aab8(_0x418340[_0x445f0(0x1e9)],0x0),'evented':!0x1});this[_0x445f0(0x169)]=_0x47deb5,this[_0x445f0(0x141)]['addObject'](_0x47deb5,_0x57982a);const _0x473749=new he(ge+_0x8a5bb7[_0x445f0(0x10c)](X),{'left':_0x10b6b3+_0x29768c-_0x4ab5c0,'top':_0x323dbc+_0x1c0205-ee,'text':_0x393f15,'color':_0x44eeff});this['_textBubble']=_0x473749,this['_scene'][_0x445f0(0x261)](_0x473749,_0x57982a),this[_0x445f0(0x281)]=!0x1;}[_0x4eecf3(0x286)](){const _0x26336a=_0x4eecf3,_0x324d24=this[_0x26336a(0x20b)][_0x26336a(0x224)][_0x26336a(0x294)](()=>{const _0x486050=_0x26336a;this[_0x486050(0x281)]=!0x0;}),_0x1b6bd5=this[_0x26336a(0x20b)]['onPointerLeave$'][_0x26336a(0x294)](()=>{const _0x2a6824=_0x26336a;this['_hideTimer']&&clearTimeout(this[_0x2a6824(0xd1)]),this[_0x2a6824(0xd1)]=setTimeout(()=>{const _0x40203e=_0x2a6824;this[_0x40203e(0x281)]=!0x1;},0x7d0);});return()=>{const _0x46a673=_0x26336a;_0x324d24[_0x46a673(0x23f)](),_0x1b6bd5['unsubscribe']();};}[_0x4eecf3(0x24b)](_0x58c221,_0x516697,_0x5ca5cb,_0x398b21){const _0x268ab0=_0x4eecf3,_0xe6a7d0=new _0x4ac7c2(_0x58c221)[_0x268ab0(0x2ab)](0.2)[_0x268ab0(0x12b)](),_0x37bb6c=new _0x16baae(bi+_0x8a5bb7[_0x268ab0(0x10c)](X),{'pointsGroup':_0x516697,'fill':_0xe6a7d0||_0xf9aab8(_0x418340['black'],0.2),'left':_0x5ca5cb,'top':_0x398b21,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x37bb6c),this['_scene']['addObject'](_0x37bb6c,_0x57982a);}['_drawRectRange'](_0x118477,_0x3aed7b,_0x1f2178,_0x5c0440){const _0x3ac3eb=_0x4eecf3,_0x3bc72f=new _0x4ac7c2(_0x118477)[_0x3ac3eb(0x2ab)](0.2)[_0x3ac3eb(0x12b)](),_0x16ac89=new _0x16baae(Ti+_0x8a5bb7[_0x3ac3eb(0x10c)](X),{'pointsGroup':_0x3aed7b,'fill':_0x3bc72f||_0xf9aab8(_0x418340['black'],0.2),'left':_0x1f2178,'top':_0x5c0440,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ac3eb(0x284)][_0x3ac3eb(0x295)](_0x16ac89),this[_0x3ac3eb(0x141)][_0x3ac3eb(0x261)](_0x16ac89,_0x57982a);}[_0x4eecf3(0x199)](_0x41aa96){const _0x5bb5e0=_0x41aa96[0x0],_0x23f27b=_0x5bb5e0[0x0],_0x4bf88c=_0x5bb5e0[0x2],{x:_0x549fd7,y:_0x28a95d}=_0x23f27b,{x:_0x1a1811,y:_0x220259}=_0x4bf88c;return{'left':_0x549fd7,'top':_0x28a95d,'width':_0x1a1811-_0x549fd7,'height':_0x220259-_0x28a95d};}[_0x4eecf3(0x106)](){const _0x81586a=_0x4eecf3,{scaleX:_0x22ada5,scaleY:_0x404add}=this['_scene']['getAncestorScale']();return Math[_0x81586a(0x251)](_0x22ada5,_0x404add);}}var Ui=Object[_0x4eecf3(0xe7)],Mi=(_0x4c397f,_0x4e0083,_0x4c9826,_0x399d13)=>{const _0x38bf27=_0x4eecf3;for(var _0x569c87=_0x399d13>0x1?void 0x0:_0x399d13?Ui(_0x4e0083,_0x4c9826):_0x4e0083,_0x37a3d3=_0x4c397f[_0x38bf27(0x1e1)]-0x1,_0x45c72a;_0x37a3d3>=0x0;_0x37a3d3--)(_0x45c72a=_0x4c397f[_0x37a3d3])&&(_0x569c87=_0x45c72a(_0x569c87)||_0x569c87);return _0x569c87;},Z=(_0x27bb66,_0x1a87fd)=>(_0x1da10c,_0x48b136)=>_0x1a87fd(_0x1da10c,_0x48b136,_0x27bb66);let Pe=class extends _0x32532c{constructor(_0x5bd928,_0x3e8bd3,_0x358dba,_0x30889d,_0x38f73b){const _0x2fd7a9=_0x4eecf3;super(),_(this,'_cursorShapes',[]),_(this,_0x2fd7a9(0x2c0),[]),(this[_0x2fd7a9(0x25f)]=_0x5bd928,this[_0x2fd7a9(0x253)]=_0x3e8bd3,this[_0x2fd7a9(0x2c2)]=_0x358dba,this[_0x2fd7a9(0x280)]=_0x30889d,this[_0x2fd7a9(0x197)]=_0x38f73b,this['_init']());}['_init'](){const _0x5af13a=_0x4eecf3,_0x287531=this['_context'][_0x5af13a(0xf8)],_0x4db0e2=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x4c2f69([this[_0x5af13a(0x2c2)][_0x5af13a(0x1b6)](_0x287531),this[_0x5af13a(0x197)][_0x5af13a(0xdc)]])['pipe'](_0x13779d(([_0x12b378,_0x14f9ec])=>({'skeleton':_0x4db0e2['getSkeleton'](),'cursors':[..._0x12b378[_0x5af13a(0x183)]()][_0x5af13a(0x1bd)](_0x1a4e93=>({..._0x1a4e93,'color':this[_0x5af13a(0x197)][_0x5af13a(0x17f)](_0x1a4e93[_0x5af13a(0x194)])}))})))[_0x5af13a(0xec)](_0x558c9e=>{const _0x59fe89=_0x5af13a;if(this[_0x59fe89(0x11b)](),_0x558c9e){const {skeleton:_0x20cb42,cursors:_0x670509}=_0x558c9e;this[_0x59fe89(0x188)](_0x20cb42,_0x670509);}})),this[_0x5af13a(0x1fc)](),this[_0x5af13a(0x214)]();}['_updateCollabCursors'](_0x1625a9,_0x4bfc4f){const _0x5b1338=_0x4eecf3,{scene:_0x4cd3b1,mainComponent:_0x241bdb}=this[_0x5b1338(0x25f)],_0x37e4ab=_0x4bfc4f[_0x5b1338(0x1ca)](_0xd97c6e=>new qe(_0xd97c6e,_0x4cd3b1,_0x1625a9,_0x241bdb));this[_0x5b1338(0x13c)]=_0x37e4ab,this[_0x5b1338(0x2c0)]=_0x4bfc4f;}[_0x4eecf3(0x1ea)](){const _0x36c698=_0x4eecf3;this[_0x36c698(0x11b)]();const {scene:_0x5d7c70,mainComponent:_0x23ef11}=this[_0x36c698(0x25f)],_0x387dc8=this[_0x36c698(0x253)]['getSkeleton'](),_0x4ffadd=this[_0x36c698(0x2c0)][_0x36c698(0x1ca)](_0x5dc8cb=>new qe(_0x5dc8cb,_0x5d7c70,_0x387dc8,_0x23ef11));this['_cursorShapes']=_0x4ffadd;}[_0x4eecf3(0x11b)](){const _0x459bfc=_0x4eecf3;this[_0x459bfc(0x13c)][_0x459bfc(0x239)](_0x26f242=>_0x26f242[_0x459bfc(0x238)]()),this[_0x459bfc(0x13c)]=[];}[_0x4eecf3(0x214)](){const _0xfd869e=_0x4eecf3,_0x1606c4=[_0x273e35['id']];this[_0xfd869e(0x185)](this[_0xfd869e(0x280)][_0xfd869e(0x2bf)](_0x3ed800=>{const _0x239169=_0xfd869e;_0x1606c4[_0x239169(0xf5)](_0x3ed800['id'])&&_0x3ed800[_0x239169(0x180)][_0x239169(0xf8)]===this[_0x239169(0x25f)][_0x239169(0xf8)]&&this[_0x239169(0x1ea)]();}));}[_0x4eecf3(0x1fc)](){const _0x3fae49=_0x4eecf3;this[_0x3fae49(0x185)](_0x126152(this[_0x3fae49(0x25f)]['engine']['onTransformChange$'])['pipe'](_0x348392(_0x2c9049=>_0x2c9049[_0x3fae49(0x297)]===_0x552224[_0x3fae49(0xea)]),_0x350ab8(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x3238d3(_0x529b59)),Z(0x2,_0x3238d3(H)),Z(0x3,_0x1967d1),Z(0x4,_0x3238d3(_0xa5ac4f))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x24b2fa{constructor(_0x244670,_0x518001){const _0x5d4c0f=_0x4eecf3;super(_0x244670,_0x518001),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x5d4c0f(0x1e2)),_(this,'_name',''),_(this,'_labelPosition','top'),_(this,_0x5d4c0f(0x21c)),(_0x518001&&this['setShapeProps'](_0x518001),this[_0x5d4c0f(0x224)][_0x5d4c0f(0x294)](()=>this[_0x5d4c0f(0x237)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5d4c0f(0x294)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4eecf3(0x237)](_0x572d03){const _0xfe82f5=_0x4eecf3;var _0x86a8ad,_0x5626bf,_0x1b08d2,_0x4bce76,_0x4eb925,_0x9d5348;this[_0xfe82f5(0x1d6)]=(_0x86a8ad=_0x572d03[_0xfe82f5(0x194)])!=null?_0x86a8ad:this[_0xfe82f5(0x1d6)],this[_0xfe82f5(0x168)]=(_0x5626bf=_0x572d03['hovered'])!=null?_0x5626bf:this['_hovered'],this['_range']=(_0x1b08d2=_0x572d03[_0xfe82f5(0x118)])!=null?_0x1b08d2:this[_0xfe82f5(0x1e2)],this[_0xfe82f5(0x1b7)]=(_0x4bce76=_0x572d03[_0xfe82f5(0x2b8)])!=null?_0x4bce76:this[_0xfe82f5(0x1b7)],this[_0xfe82f5(0x293)]=(_0x4eb925=_0x572d03[_0xfe82f5(0x13f)])!=null?_0x4eb925:this[_0xfe82f5(0x293)],this['_backgroundColor']=(_0x9d5348=_0x572d03[_0xfe82f5(0x1e4)])!=null?_0x9d5348:this[_0xfe82f5(0x21c)],this['transformByState']({'width':_0x572d03['width'],'height':_0x572d03[_0xfe82f5(0x262)]});}[_0x4eecf3(0x179)](_0x5def72){const _0x4e6b6e=_0x4eecf3,{row:_0x420c8e,column:_0x11a5ae}=_0x5def72;if(_0x420c8e>=this[_0x4e6b6e(0x1e2)][_0x4e6b6e(0x1c1)]&&_0x420c8e<=this['_range'][_0x4e6b6e(0x1cb)]&&_0x11a5ae>=this[_0x4e6b6e(0x1e2)]['startColumn']&&_0x11a5ae<=this['_range'][_0x4e6b6e(0xcc)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4e6b6e(0x237)]({'hovered':!0x1});}['triggerDblclick'](_0x12a0ea){return!0x1;}[_0x4eecf3(0x1d0)](_0x12bad8){const _0x42bd4a=_0x4eecf3;_0x2707a[_0x42bd4a(0x145)](_0x12bad8,{'width':this[_0x42bd4a(0x1f5)],'height':this[_0x42bd4a(0x262)],'strokeWidth':Li,'stroke':this[_0x42bd4a(0x1d6)],'evented':!0x1,'fill':this[_0x42bd4a(0x21c)]}),this[_0x42bd4a(0x168)]&&(_0x12bad8['save'](),_0x12bad8[_0x42bd4a(0x2b9)](0x1,0x0,0x0,0x1,this[_0x42bd4a(0x1f5)],this[_0x42bd4a(0x293)]===_0x42bd4a(0x165)?0x0:-0x14),he[_0x42bd4a(0x145)](_0x12bad8,{'text':this[_0x42bd4a(0x1b7)],'color':this[_0x42bd4a(0x1d6)]}),_0x12bad8[_0x42bd4a(0x1a4)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x4a1a47,_0x462a3a,_0x119876,_0x1918b9)=>{for(var _0xa65ff3=_0x1918b9>0x1?void 0x0:_0x1918b9?Ai(_0x462a3a,_0x119876):_0x462a3a,_0x81887e=_0x4a1a47['length']-0x1,_0x3598d8;_0x81887e>=0x0;_0x81887e--)(_0x3598d8=_0x4a1a47[_0x81887e])&&(_0xa65ff3=_0x3598d8(_0xa65ff3)||_0xa65ff3);return _0xa65ff3;},ve=(_0x5af0d3,_0xad4f0)=>(_0x1926f9,_0x3b9c03)=>_0xad4f0(_0x1926f9,_0x3b9c03,_0x5af0d3);const $i=0x1389;let Le=class extends _0x32532c{constructor(_0x4bd269,_0x33a563,_0x2aca5f,_0x806406){const _0x5f4390=_0x4eecf3;super(),_(this,_0x5f4390(0x2c0),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x4bd269,this[_0x5f4390(0x140)]=_0x33a563,this['_collabCursorController']=_0x2aca5f,this['_themeService']=_0x806406,this[_0x5f4390(0x1c2)]());}['_init'](){const _0x1b0092=_0x4eecf3;this[_0x1b0092(0x140)][_0x1b0092(0x243)]['pipe'](_0x50a75a(this[_0x1b0092(0x20a)]),_0x5ee13a(_0x492a48=>{const _0x399758=_0x1b0092;if(_0x492a48){const _0x2c4c9c=_0x492a48[_0x399758(0x128)];return _0x4c2f69(this[_0x399758(0x2c2)]['getCollabCursors$'](this[_0x399758(0x25f)][_0x399758(0xf8)]),this['_themeService'][_0x399758(0xdc)])[_0x399758(0x2a1)](_0x13779d(([_0x459fef,_0x216d82])=>{const _0x12447a=_0x399758,_0x1b68b9=new Map();return _0x459fef[_0x12447a(0x239)]((_0x5216ff,_0x3f525b)=>{const _0x25ecbd=_0x12447a;if(_0x5216ff[_0x25ecbd(0xd0)]===_0x2c4c9c){const _0x7a40fd={..._0x5216ff};_0x7a40fd[_0x25ecbd(0x194)]=this[_0x25ecbd(0x197)][_0x25ecbd(0x17f)](_0x5216ff['color']),_0x1b68b9[_0x25ecbd(0x1f4)](_0x3f525b,_0x7a40fd);}}),{'skeleton':_0x492a48,'cursors':_0x1b68b9};}));}return _0x2bd16a({'skeleton':null,'cursors':new Map()});}))[_0x1b0092(0xec)](({skeleton:_0x57752e,cursors:_0x337007})=>{const _0x802dd8=_0x1b0092;this[_0x802dd8(0x11b)](),_0x57752e&&this[_0x802dd8(0x188)](_0x57752e,_0x337007);}),this[_0x1b0092(0x140)][_0x1b0092(0x243)][_0x1b0092(0xec)](_0x2f36f2=>{const _0x517eee=_0x1b0092;if(_0x2f36f2==null)return;const {skeleton:_0x3ab916}=_0x2f36f2,{scene:_0x2aedba}=this['_context'];_0x2aedba[_0x517eee(0x2b3)][_0x517eee(0x294)](_0x473c56(_0x1263fc=>{const _0x17bf69=_0x517eee;var _0x1189a1,_0x53f3de;const {offsetX:_0x2ba3c4,offsetY:_0x4c5b02}=_0x1263fc,{x:_0x2216c0,y:_0x4fd578}=_0x2aedba[_0x17bf69(0x153)](_0x5a279d[_0x17bf69(0x1a5)]([_0x2ba3c4,_0x4c5b02])),{scaleX:_0x3e91a3,scaleY:_0x33a0f2}=_0x2aedba['getAncestorScale'](),_0x128a34=_0x2aedba['getViewport'](_0x19caba[_0x17bf69(0x1af)]),_0x4f2f3a=_0x2aedba[_0x17bf69(0x146)](_0x5a279d[_0x17bf69(0x1a5)]([_0x2216c0,_0x4fd578]),_0x128a34),_0x524659=_0x3ab916[_0x17bf69(0x178)](_0x2ba3c4,_0x4c5b02,_0x3e91a3,_0x33a0f2,_0x4f2f3a);((_0x1189a1=this[_0x17bf69(0xc8)])==null?void 0x0:_0x1189a1[_0x17bf69(0x298)])===_0x524659[_0x17bf69(0x298)]&&((_0x53f3de=this[_0x17bf69(0xc8)])==null?void 0x0:_0x53f3de[_0x17bf69(0x212)])===_0x524659['row']||this['_cursors'][_0x17bf69(0x239)](_0x3869eb=>{_0x3869eb['onMouseMove'](_0x524659);});},0x64));});}[_0x4eecf3(0x188)](_0x3f9a17,_0x4bc1b0){const _0x1e09e2=_0x4eecf3;var _0x457991;const _0x48fe74=(_0x457991=this['_sheetSkeletonManagerService'][_0x1e09e2(0x116)]())==null?void 0x0:_0x457991[_0x1e09e2(0x21f)];if(!_0x48fe74)return;const _0x216329=this['_getSheetObject']();if(!_0x216329)return;this[_0x1e09e2(0x2c0)][_0x1e09e2(0x239)](_0x4ca5ea=>{const _0x542a52=_0x1e09e2;_0x4ca5ea[_0x542a52(0x26f)]();});const {scene:_0x5f1752}=_0x216329,_0x353ffa=xi(Array[_0x1e09e2(0x226)](_0x4bc1b0[_0x1e09e2(0x183)]()))['map'](_0x860fa2=>{const _0x4e1d73=_0x1e09e2,{color:_0x34a1c8,range:_0x2bee0f,name:_0x13a1c8,selection:_0x5a5cd0,sheetID:_0x19d21b}=_0x860fa2,{startColumn:_0x3c9f15,startRow:_0x469159,endColumn:_0x34c17a,endRow:_0x3f52d4}=_0x2bee0f,_0xac032f=_0x818fd(_0x469159,_0x3c9f15,_0x5f1752,_0x48fe74),_0x1f0507=_0x818fd(_0x3f52d4,_0x34c17a,_0x5f1752,_0x48fe74),{columnHeaderHeightAndMarginTop:_0x380ef5}=_0x48fe74,{startX:_0x1f017e,startY:_0x580b78}=_0xac032f,{endX:_0xfa5907,endY:_0x4239fe}=_0x1f0507,_0x338f13=_0xfa5907-_0x1f017e,_0x23f39e=_0x4239fe-_0x580b78,_0x5890c2={'labelPosition':_0x580b78-_0x380ef5>=ee?'top':_0x4e1d73(0x165),'sheetID':_0x19d21b,'range':_0x2bee0f,'color':_0x34a1c8,'name':_0x13a1c8,'selection':_0x5a5cd0,'left':_0x1f017e,'top':_0x580b78,'width':_0x338f13,'height':_0x23f39e,'evented':!0x1,'zIndex':$i};return new wi(_0x13a1c8,_0x5890c2);});_0x5f1752['addObjects'](_0x353ffa,Pi),this['_cursors']=new Set(_0x353ffa);}[_0x4eecf3(0x11b)](){const _0x22b8d9=_0x4eecf3;var _0x919449;(_0x919449=this[_0x22b8d9(0x2c0)])==null||_0x919449[_0x22b8d9(0x239)](_0x25333e=>_0x25333e[_0x22b8d9(0x238)]());}[_0x4eecf3(0x11e)](){const _0x40d785=_0x4eecf3;return _0x11acc9(this['_context'][_0x40d785(0x15d)],this[_0x40d785(0x25f)]);}};Le=yi([ve(0x1,_0x3238d3(_0x142741)),ve(0x2,_0x3238d3(H)),ve(0x3,_0x3238d3(_0xa5ac4f))],Le);function xi(_0x4529a1){const _0x24643c=_0x4eecf3,_0x45b859=new Map();return _0x4529a1[_0x24643c(0x239)](_0xd68cbf=>{const _0x29c3b5=_0x24643c;if(_0x45b859['has'](_0xd68cbf[_0x29c3b5(0x1c6)])){const _0x457b67=_0x45b859[_0x29c3b5(0x241)](_0xd68cbf[_0x29c3b5(0x1c6)]);_0x457b67['name']+=',\x20'+_0xd68cbf[_0x29c3b5(0x2b8)];}else _0x45b859[_0x29c3b5(0x1f4)](_0xd68cbf[_0x29c3b5(0x1c6)],_0xd68cbf);}),Array[_0x24643c(0x226)](_0x45b859['values']());}var v=function(){const _0x4e0173=_0x4eecf3;return v=Object[_0x4e0173(0x16a)]||function(_0x3ddcce){const _0x4be3a9=_0x4e0173;for(var _0x145637,_0x5e918e=0x1,_0x578ca5=arguments[_0x4be3a9(0x1e1)];_0x5e918e<_0x578ca5;_0x5e918e++){_0x145637=arguments[_0x5e918e];for(var _0x1c14b7 in _0x145637)Object[_0x4be3a9(0x28f)]['hasOwnProperty'][_0x4be3a9(0x137)](_0x145637,_0x1c14b7)&&(_0x3ddcce[_0x1c14b7]=_0x145637[_0x1c14b7]);}return _0x3ddcce;},v['apply'](this,arguments);},Bi=function(_0x3157a5,_0x337504){const _0x1b01b0=_0x4eecf3;var _0x2a8717={};for(var _0x497e49 in _0x3157a5)Object[_0x1b01b0(0x28f)][_0x1b01b0(0x29a)][_0x1b01b0(0x137)](_0x3157a5,_0x497e49)&&_0x337504['indexOf'](_0x497e49)<0x0&&(_0x2a8717[_0x497e49]=_0x3157a5[_0x497e49]);if(_0x3157a5!=null&&typeof Object[_0x1b01b0(0x110)]==_0x1b01b0(0x1d9)){for(var _0x31888a=0x0,_0x497e49=Object[_0x1b01b0(0x110)](_0x3157a5);_0x31888a<_0x497e49[_0x1b01b0(0x1e1)];_0x31888a++)_0x337504[_0x1b01b0(0x108)](_0x497e49[_0x31888a])<0x0&&Object['prototype'][_0x1b01b0(0x1dc)]['call'](_0x3157a5,_0x497e49[_0x31888a])&&(_0x2a8717[_0x497e49[_0x31888a]]=_0x3157a5[_0x497e49[_0x31888a]]);}return _0x2a8717;},je=_0x50e919(function(_0x5510e0,_0x471b81){const _0x10553b=_0x4eecf3;var _0x2d1df2=_0x5510e0[_0x10553b(0x158)],_0x5a564e=_0x5510e0['id'],_0x1ce0b2=_0x5510e0[_0x10553b(0x27c)],_0x8f8fb2=_0x5510e0[_0x10553b(0x186)],_0x4bedd6=Bi(_0x5510e0,['icon','id',_0x10553b(0x27c),'extend']),_0x3da73e=_0x10553b(0x29c)[_0x10553b(0xed)](_0x5a564e,'\x20')[_0x10553b(0xed)](_0x1ce0b2||'')[_0x10553b(0x1a6)](),_0x41f9e2=_0x56f65d('_'[_0x10553b(0xed)](ji()));return Rt(_0x2d1df2,''[_0x10553b(0xed)](_0x5a564e),{'defIds':_0x2d1df2[_0x10553b(0x26c)],'idSuffix':_0x41f9e2[_0x10553b(0x144)]},v({'ref':_0x471b81,'className':_0x3da73e},_0x4bedd6),_0x8f8fb2);});function Rt(_0x2648b2,_0x566e39,_0x33aaf1,_0x35c036,_0x18391c){const _0x90aa04=_0x4eecf3;return _0x16842c(_0x2648b2['tag'],v(v({'key':_0x566e39},ki(_0x2648b2,_0x33aaf1,_0x18391c)),_0x35c036),(Hi(_0x2648b2,_0x33aaf1)[_0x90aa04(0x109)]||[])[_0x90aa04(0x1ca)](function(_0x13d198,_0xa8490c){const _0x4a2c69=_0x90aa04;return Rt(_0x13d198,''[_0x4a2c69(0xed)](_0x566e39,'-')[_0x4a2c69(0xed)](_0x2648b2[_0x4a2c69(0x248)],'-')['concat'](_0xa8490c),_0x33aaf1,void 0x0,_0x18391c);}));}function ki(_0x4a1c0f,_0x5c16a2,_0x168d2a){const _0x5efe10=_0x4eecf3;var _0x282ce1=v({},_0x4a1c0f[_0x5efe10(0x124)]);_0x168d2a!=null&&_0x168d2a[_0x5efe10(0x14f)]&&_0x282ce1[_0x5efe10(0x1eb)]==='colorChannel1'&&(_0x282ce1['fill']=_0x168d2a[_0x5efe10(0x14f)]),_0x4a1c0f[_0x5efe10(0x248)]===_0x5efe10(0xdd)&&_0x282ce1['id']&&(_0x282ce1['id']=_0x282ce1['id']+_0x5c16a2['idSuffix']),Object[_0x5efe10(0x211)](_0x282ce1)[_0x5efe10(0x239)](function(_0xce3fef){const _0x278100=_0x5efe10;var _0x5ce4f9=_0xce3fef[0x0],_0x4812c0=_0xce3fef[0x1];_0x5ce4f9==='mask'&&typeof _0x4812c0==_0x278100(0x296)&&(_0x282ce1[_0x5ce4f9]=_0x4812c0[_0x278100(0x252)](/url\(#(.*)\)/,'url(#$1'[_0x278100(0xed)](_0x5c16a2[_0x278100(0x29d)],')')));});var _0x13b33a=_0x5c16a2[_0x5efe10(0x26c)];return!_0x13b33a||_0x13b33a['length']===0x0||(_0x4a1c0f[_0x5efe10(0x248)]===_0x5efe10(0x234)&&_0x282ce1[_0x5efe10(0x152)]&&(_0x282ce1[_0x5efe10(0x152)]=_0x282ce1['xlink:href']+_0x5c16a2[_0x5efe10(0x29d)]),Object[_0x5efe10(0x211)](_0x282ce1)['forEach'](function(_0x16349d){const _0x1d9ad6=_0x5efe10;var _0x3d347d=_0x16349d[0x0],_0x3fbe30=_0x16349d[0x1];typeof _0x3fbe30==_0x1d9ad6(0x296)&&(_0x282ce1[_0x3d347d]=_0x3fbe30[_0x1d9ad6(0x252)](/url\(#(.*)\)/,_0x1d9ad6(0x1b2)[_0x1d9ad6(0xed)](_0x5c16a2['idSuffix'],')')));})),_0x282ce1;}function Hi(_0x1a5182,_0x24f724){const _0x21e7d1=_0x4eecf3;var _0x456152,_0x380416=_0x24f724[_0x21e7d1(0x26c)];return!_0x380416||_0x380416[_0x21e7d1(0x1e1)]===0x0?_0x1a5182:_0x1a5182[_0x21e7d1(0x248)]===_0x21e7d1(0x182)&&(!((_0x456152=_0x1a5182[_0x21e7d1(0x109)])===null||_0x456152===void 0x0)&&_0x456152[_0x21e7d1(0x1e1)])?v(v({},_0x1a5182),{'children':_0x1a5182['children'][_0x21e7d1(0x1ca)](function(_0x1bfdb5){const _0x55c1d1=_0x21e7d1;return typeof _0x1bfdb5[_0x55c1d1(0x124)]['id']==_0x55c1d1(0x296)&&_0x380416&&_0x380416['indexOf'](_0x1bfdb5[_0x55c1d1(0x124)]['id'])>-0x1?v(v({},_0x1bfdb5),{'attrs':v(v({},_0x1bfdb5['attrs']),{'id':_0x1bfdb5[_0x55c1d1(0x124)]['id']+_0x24f724[_0x55c1d1(0x29d)]})}):_0x1bfdb5;})}):_0x1a5182;}function ji(){const _0xa96ff8=_0x4eecf3;return Math['random']()[_0xa96ff8(0x288)](0x24)['substring'](0x2,0x8);}je['displayName']='UniverIcon';var Yi={'tag':'svg','attrs':{'fill':_0x4eecf3(0x170),'viewBox':_0x4eecf3(0x15b),'width':'1em','height':_0x4eecf3(0x231)},'children':[{'tag':'g','attrs':{'clipPath':_0x4eecf3(0x14d)},'children':[{'tag':'path','attrs':{'stroke':_0x4eecf3(0x2ae),'d':_0x4eecf3(0xd3),'strokeLinecap':_0x4eecf3(0x217),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4eecf3(0x182),'attrs':{},'children':[{'tag':_0x4eecf3(0x1ab),'attrs':{'id':_0x4eecf3(0xd2)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4eecf3(0xd2)]},Dt=_0x50e919(function(_0x356e2d,_0x34e5ac){const _0x25f928=_0x4eecf3;return _0x16842c(je,Object[_0x25f928(0x16a)]({},_0x356e2d,{'id':_0x25f928(0x12d),'ref':_0x34e5ac,'icon':Yi}));});Dt[_0x4eecf3(0x1f1)]='OffLineSingle';var Fi={'tag':'svg','attrs':{'fill':_0x4eecf3(0x170),'viewBox':_0x4eecf3(0x27b),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4eecf3(0x23a)},'children':[{'tag':_0x4eecf3(0x1a8),'attrs':{'stroke':_0x4eecf3(0x2ae),'d':_0x4eecf3(0x27a),'strokeLinecap':_0x4eecf3(0x217),'strokeLinejoin':_0x4eecf3(0x217),'strokeWidth':1.2}}]},{'tag':_0x4eecf3(0x182),'attrs':{},'children':[{'tag':_0x4eecf3(0x1ab),'attrs':{'id':_0x4eecf3(0x1a2)},'children':[{'tag':_0x4eecf3(0x1a8),'attrs':{'fill':'#fff','d':_0x4eecf3(0x17a),'transform':_0x4eecf3(0x270)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x50e919(function(_0x275287,_0x3bbd07){return _0x16842c(je,Object['assign']({},_0x275287,{'id':'on-line-single','ref':_0x3bbd07,'icon':Fi}));});Nt[_0x4eecf3(0x1f1)]=_0x4eecf3(0x150);function Wi(_0x151251){const _0xddfd2d=_0x4eecf3;switch(_0x151251){case _0x5ebc94[_0xddfd2d(0x174)]:return _0xddfd2d(0x131);case _0x5ebc94[_0xddfd2d(0x2be)]:return _0xddfd2d(0x19c);case _0x5ebc94['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x5ebc94[_0xddfd2d(0x22c)]:return _0xddfd2d(0x103);case _0x5ebc94[_0xddfd2d(0x112)]:case _0x5ebc94[_0xddfd2d(0x14c)]:return'collabStatus.syncing';case _0x5ebc94[_0xddfd2d(0x18f)]:case _0x5ebc94['PENDING']:return _0xddfd2d(0x27d);}}function Vi(_0x53250b){const _0x515828=_0x4eecf3,{status$:_0x3bc43a}=_0x53250b,_0x5cb674=_0x34c76b(_0x3bc43a,_0x5ebc94[_0x515828(0x22c)]),_0x48bb9b=_0x1c2a20(_0x3d1217),_0x14246b=_0x1c2a20(_0x19979a),_0x142d61=_0x5cb674!==_0x5ebc94['OFFLINE'],_0x51051b=_0x48bb9b['t'](Wi(_0x5cb674)),_0x246f57=_0x142d61?_0x27f3f5(Nt,{}):_0x27f3f5(Dt,{}),_0x5bbfd1=_0x4417d8(()=>{const _0x3e9b16=_0x515828;_0x142d61||_0x14246b[_0x3e9b16(0x16d)]();},[_0x142d61,_0x14246b]);function _0xd425ef(){const _0x34c9dd=_0x515828;return _0x4d5cd3('div',{'className':_0x34c9dd(0x1f3),'onClick':_0x5bbfd1,'children':[_0x27f3f5(_0x34c9dd(0x263),{'className':_0x36d788(_0x34c9dd(0x26a),{'univer-text-green-500':_0x142d61,'univer-text-red-500':!_0x142d61}),'children':_0x246f57}),_0x27f3f5(_0x34c9dd(0x263),{'className':_0x34c9dd(0x1e6),'children':_0x51051b})]});}return _0x142d61?_0xd425ef():_0x27f3f5(_0x32cbd6,{'title':_0x48bb9b['t']('collab-client.tooltip.reconnect'),'children':_0xd425ef()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x5a6596,_0x2b80e0,_0xc0e413,_0x1eaa67)=>{const _0x58e686=_0x4eecf3;for(var _0x475aaf=_0x1eaa67>0x1?void 0x0:_0x1eaa67?Xi(_0x2b80e0,_0xc0e413):_0x2b80e0,_0x3f8225=_0x5a6596[_0x58e686(0x1e1)]-0x1,_0x573555;_0x3f8225>=0x0;_0x3f8225--)(_0x573555=_0x5a6596[_0x3f8225])&&(_0x475aaf=_0x573555(_0x475aaf)||_0x475aaf);return _0x475aaf;},Q=(_0x21bf2e,_0x249383)=>(_0x1046d4,_0x2865d9)=>_0x249383(_0x1046d4,_0x2865d9,_0x21bf2e);let te=class extends _0x5ac07f{constructor(_0x44607c,_0x140d1e,_0xc51e3c,_0xd3ef5e){const _0x5311ba=_0x4eecf3;super(),_(this,_0x5311ba(0x1c8),new _0x34f84b(_0x5ebc94[_0x5311ba(0x22c)])),(this[_0x5311ba(0x1bb)]=_0x44607c,this[_0x5311ba(0xda)]=_0x140d1e,this[_0x5311ba(0x2b4)]=_0xc51e3c,this[_0x5311ba(0xfe)]=_0xd3ef5e,this['_initStatusComponent'](),this[_0x5311ba(0x1ae)]());}[_0x4eecf3(0x1ae)](){const _0x212f0b=_0x4eecf3;this[_0x212f0b(0x185)](this[_0x212f0b(0x1bb)][_0x212f0b(0x19e)][_0x212f0b(0x2a1)](_0x26afe6(()=>{const _0x71e463=_0x212f0b,_0xea4213=this['_univerInstanceService'][_0x71e463(0x1c0)]();return _0xea4213?this[_0x71e463(0x2b4)][_0x71e463(0x240)](_0xea4213['getUnitId']()):_0x2bd16a(null);}),_0x26afe6(_0xae923f=>_0xae923f?_0xae923f['status$']:_0x2bd16a(_0x5ebc94[_0x212f0b(0x22c)])))[_0x212f0b(0xec)](_0xc5dab3=>{const _0x36efb4=_0x212f0b;this[_0x36efb4(0x1c8)][_0x36efb4(0x27f)](_0xc5dab3);}));}[_0x4eecf3(0x2ac)](){const _0x15fbd0=_0x4eecf3;this[_0x15fbd0(0x185)](this['_uiPartsService'][_0x15fbd0(0x10e)](_0xe7159a[_0x15fbd0(0x230)],()=>_0x13f421(Ki({'status$':this[_0x15fbd0(0x1c8)][_0x15fbd0(0x1bc)]()}),this[_0x15fbd0(0xda)])));}};te=Gi([Q(0x0,_0x4cb48b),Q(0x1,_0x3238d3(_0x18b4a9)),Q(0x2,_0x3238d3(_0x35a4f5)),Q(0x3,_0x1187ab)],te);function Ki(_0x33fe77){const {status$:_0x9f8d50}=_0x33fe77;return function(){return _0x27f3f5(Vi,{'status$':_0x9f8d50});};}var zi=Object[_0x4eecf3(0xe7)],Ji=(_0x2c6c94,_0x571e46,_0x677d80,_0x46c899)=>{for(var _0x4d7a76=_0x46c899>0x1?void 0x0:_0x46c899?zi(_0x571e46,_0x677d80):_0x571e46,_0x26bd64=_0x2c6c94['length']-0x1,_0x277288;_0x26bd64>=0x0;_0x26bd64--)(_0x277288=_0x2c6c94[_0x26bd64])&&(_0x4d7a76=_0x277288(_0x4d7a76)||_0x4d7a76);return _0x4d7a76;},B=(_0x1ffda0,_0x4586df)=>(_0x552f60,_0x5ecd9d)=>_0x4586df(_0x552f60,_0x5ecd9d,_0x1ffda0);let se=class extends _0x5ac07f{constructor(_0x2bf892,_0x4e41c1,_0x45f5bb,_0x32aaa3,_0x3b2623,_0x1879fa){const _0x4d3400=_0x4eecf3;super(),this['_beforeCloseService']=_0x2bf892,this['_localCacheService']=_0x4e41c1,this[_0x4d3400(0x244)]=_0x45f5bb,this['_messageService']=_0x32aaa3,this[_0x4d3400(0x113)]=_0x3b2623,this[_0x4d3400(0x218)]=_0x1879fa,this['_setupBeforeClosingHandler'](),this[_0x4d3400(0xd4)]();}[_0x4eecf3(0x1ac)](){const _0x10b0d9=_0x4eecf3;this[_0x10b0d9(0x185)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x42f011=_0x10b0d9;if(this[_0x42f011(0x130)][_0x42f011(0x22e)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x4eecf3(0xd4)](){const _0x192aeb=_0x4eecf3;this['disposeWithMe'](this[_0x192aeb(0x244)][_0x192aeb(0x173)][_0x192aeb(0xec)](_0x55b1b6=>{const _0x2fc395=_0x192aeb;_0x55b1b6['id']===_0xd13cda[_0x2fc395(0x19a)]&&this[_0x2fc395(0x196)][_0x2fc395(0x1fd)]({'type':_0x1d0caf[_0x2fc395(0x22d)],'content':this[_0x2fc395(0x218)]['t'](_0x2fc395(0x105))}),_0x55b1b6['id']===_0xd13cda[_0x2fc395(0x1f6)]&&this[_0x2fc395(0x196)][_0x2fc395(0x1fd)]({'type':_0x1d0caf[_0x2fc395(0x22d)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x55b1b6['id']===_0xd13cda[_0x2fc395(0x2a0)]&&this[_0x2fc395(0x113)][_0x2fc395(0x1fd)]({'title':this[_0x2fc395(0x218)]['t']('permission.title'),'content':this[_0x2fc395(0x218)]['t']('permission.content'),'type':'error','duration':0x0}),_0x55b1b6['id']===_0xd13cda['CONFLICT']&&this[_0x2fc395(0x196)]['show']({'type':_0x1d0caf['Error'],'content':this[_0x2fc395(0x218)]['t'](_0x2fc395(0x1ce))+'('+_0x55b1b6['data']+')'}),_0x55b1b6['id']===_0xd13cda['JOIN_ROOM_FAILED']&&this[_0x2fc395(0x196)][_0x2fc395(0x1fd)]({'type':_0x1d0caf[_0x2fc395(0x22d)],'content':this[_0x2fc395(0x218)]['t'](_0x55b1b6[_0x2fc395(0x1fb)]||'')}),_0x55b1b6['id']===_0xd13cda[_0x2fc395(0x202)]&&this[_0x2fc395(0x196)]['show']({'type':_0x1d0caf[_0x2fc395(0x22d)],'content':this[_0x2fc395(0x218)]['t'](_0x2fc395(0x215))}),_0x55b1b6['id']===_0xd13cda['SOCKET_FAILED']&&this[_0x2fc395(0x196)]['show']({'type':_0x1d0caf[_0x2fc395(0xc5)],'content':this[_0x2fc395(0x218)]['t']('session.connection-failed')}),_0x55b1b6['id']===_0xd13cda['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2fc395(0x196)][_0x2fc395(0x1fd)]({'type':_0x1d0caf[_0x2fc395(0xc5)],'content':this[_0x2fc395(0x218)]['t'](_0x2fc395(0x167))});}));}};se=Ji([B(0x0,_0x5815ed),B(0x1,_0x438a84),B(0x2,_0x3238d3(_0xced4eb)),B(0x3,_0x42f721),B(0x4,_0x4c429f),B(0x5,_0x3238d3(_0x3d1217))],se);const Zi=_0x4eecf3(0x290),et={},Ut=_0x4b5019('uni.network.url-service');var Qi=Object[_0x4eecf3(0xe7)],qi=(_0x5936ff,_0x349edf,_0x4d2fe9,_0x5de943)=>{const _0x31617a=_0x4eecf3;for(var _0x394e67=_0x5de943>0x1?void 0x0:_0x5de943?Qi(_0x349edf,_0x4d2fe9):_0x349edf,_0x386f4b=_0x5936ff[_0x31617a(0x1e1)]-0x1,_0x5b935c;_0x386f4b>=0x0;_0x386f4b--)(_0x5b935c=_0x5936ff[_0x386f4b])&&(_0x394e67=_0x5b935c(_0x394e67)||_0x394e67);return _0x394e67;},G=(_0x9c38fa,_0x1d3540)=>(_0x4160c2,_0x1967bc)=>_0x1d3540(_0x4160c2,_0x1967bc,_0x9c38fa);let ie=class extends _0x32532c{constructor(_0x50b5aa,_0x723e06,_0x3828cf,_0x226e7d,_0x5d7d01){const _0x556bde=_0x4eecf3;super(),this[_0x556bde(0x129)]=_0x50b5aa,this['_logService']=_0x723e06,this[_0x556bde(0x280)]=_0x3828cf,this[_0x556bde(0x220)]=_0x226e7d,_0x5d7d01?_0x5d7d01==null||_0x5d7d01[_0x556bde(0x20c)]()[_0x556bde(0x260)](()=>this[_0x556bde(0x1c2)]()):(this['_logService'][_0x556bde(0x187)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x556bde(0x1c2)]());}async[_0x4eecf3(0x1c2)](){const _0x3c9af3=_0x4eecf3,_0x38c065=this['_urlService'][_0x3c9af3(0x1f0)](_0x3c9af3(0x15d)),_0x6af3a6=this[_0x3c9af3(0x129)][_0x3c9af3(0x1f0)](_0x3c9af3(0x297)),_0xa2d3a6=this[_0x3c9af3(0x129)]['getParam']('subunit');if(!_0x38c065||!_0x6af3a6){this[_0x3c9af3(0x1d5)][_0x3c9af3(0x187)](_0x3c9af3(0x114),_0x3c9af3(0xe3));return;}const _0x3b8ab2=await this['_dataLoaderService'][_0x3c9af3(0x1a7)](_0x38c065,Number(_0x6af3a6),_0xa2d3a6);_0x3b8ab2&&_0x3b8ab2 instanceof _0x440452&&this['_setupSubUnitSync'](_0x3b8ab2);}async[_0x4eecf3(0xf2)](_0x1fca76){const _0x5d3a77=_0x4eecf3;await this[_0x5d3a77(0x24f)](_0x1fca76),_0x1fca76[_0x5d3a77(0x2ad)][_0x5d3a77(0x2a1)](_0x551159(this[_0x5d3a77(0x20a)]))[_0x5d3a77(0xec)](_0x4ea4d2=>{_0x4ea4d2&&this['_updateURLWithCurrentState'](_0x4ea4d2);}),this['_urlService'][_0x5d3a77(0x16b)][_0x5d3a77(0x2a1)](_0x551159(this[_0x5d3a77(0x20a)]))[_0x5d3a77(0xec)](()=>this[_0x5d3a77(0x24f)](_0x1fca76));}['_updateURLWithCurrentState'](_0x5acd6b,_0x55090e=!0x1){const _0x5dcb79=_0x4eecf3,_0x3f86e6=this['_urlService'][_0x5dcb79(0x1f0)](_0x5dcb79(0x225));_0x5acd6b[_0x5dcb79(0x266)]()!==_0x3f86e6&&this['_urlService']['setParam'](_0x5dcb79(0x225),_0x5acd6b[_0x5dcb79(0x266)](),_0x55090e);}async['_updateSubUnitFromURLParams'](_0x242f07){const _0x4825b9=_0x4eecf3;var _0x22dca4;const _0x5d94d0=this['_urlService'][_0x4825b9(0x1f0)](_0x4825b9(0x225));if(!_0x5d94d0||!_0x242f07[_0x4825b9(0x166)](_0x5d94d0)){const _0x23cc36=_0x242f07[_0x4825b9(0x2b5)]()[0x0],_0x2efd9d=_0x242f07['getSheetBySheetId'](_0x23cc36);if(!_0x2efd9d)return;this[_0x4825b9(0x250)](_0x2efd9d,!0x0),await this[_0x4825b9(0x280)][_0x4825b9(0x25b)](_0x54f59b['id'],{'unitId':_0x242f07[_0x4825b9(0x171)](),'subUnitId':_0x23cc36});return;}((_0x22dca4=_0x242f07[_0x4825b9(0x2b7)]())==null?void 0x0:_0x22dca4[_0x4825b9(0x266)]())!==_0x5d94d0&&await this['_commandService'][_0x4825b9(0x25b)](_0x54f59b['id'],{'unitId':_0x242f07['getUnitId'](),'subUnitId':_0x5d94d0});}};ie=qi([G(0x0,Ut),G(0x1,_0x46fd35),G(0x2,_0x1967d1),G(0x3,_0x3238d3(_0x4261a3)),G(0x4,_0x45bfff(_0x165926))],ie);var en=Object[_0x4eecf3(0xe7)],tn=(_0x41a984,_0x21fb5a,_0x51abca,_0x459884)=>{const _0x1e162a=_0x4eecf3;for(var _0x352d56=_0x459884>0x1?void 0x0:_0x459884?en(_0x21fb5a,_0x51abca):_0x21fb5a,_0x5bdfbb=_0x41a984[_0x1e162a(0x1e1)]-0x1,_0x707b8b;_0x5bdfbb>=0x0;_0x5bdfbb--)(_0x707b8b=_0x41a984[_0x5bdfbb])&&(_0x352d56=_0x707b8b(_0x352d56)||_0x352d56);return _0x352d56;},pe=(_0x5ce625,_0x4c28f5)=>(_0x52de94,_0xf46384)=>_0x4c28f5(_0x52de94,_0xf46384,_0x5ce625);let ne=class{constructor(_0x293cfb,_0x3e1878,_0x659b9e){const _0x28b663=_0x4eecf3;this[_0x28b663(0xda)]=_0x293cfb,this[_0x28b663(0x26b)]=_0x3e1878,this[_0x28b663(0x117)]=_0x659b9e;}[_0x4eecf3(0x115)](_0x3680a8){const _0x23d10a=_0x4eecf3;this['_transformUndoRedoStack'](_0x3680a8),this[_0x23d10a(0x12e)](_0x3680a8);}[_0x4eecf3(0x175)](_0x57002f){const _0x597300=_0x4eecf3,{unitID:_0x220360}=_0x57002f,_0x3eaee7=this[_0x597300(0x117)][_0x597300(0xf3)](_0x220360)[_0x597300(0x1e5)](_0xf3eef8),{redoCache:_0x259c6e}=_0x3eaee7[_0x597300(0x210)]();if(_0x259c6e[_0x597300(0x1e1)]===0x0)return _0x57002f;let _0x322489=_0x8a5bb7[_0x597300(0x291)](_0x57002f[_0x597300(0x1a0)][0x0]);for(let _0x3fd489=0x0;_0x3fd489<_0x259c6e['length'];_0x3fd489++){const _0x5988cd={'id':_0x597300(0x228),'params':{..._0x259c6e[_0x3fd489]}},_0x3b67a7=this[_0x597300(0x26b)][_0x597300(0x200)](_0x322489,_0x5988cd,!0x1);if(_0x3c0515(_0x3b67a7))throw _0x3b67a7[_0x597300(0x1aa)];_0x322489=_0x3b67a7[_0x597300(0x195)];}return{..._0x8a5bb7['deepClone'](_0x57002f),'mutations':[_0x322489]};}[_0x4eecf3(0x1c5)](_0xc7b146){const _0x1894be=_0x4eecf3,{unitID:_0x4c737e}=_0xc7b146,_0x3d9b0d=this[_0x1894be(0x117)][_0x1894be(0xf3)](_0x4c737e)[_0x1894be(0x1e5)](_0xf3eef8),{undoCache:_0x447656,redoCache:_0x27da54}=_0x3d9b0d['getUndoRedoMutationParamsCache']();if(_0x447656[_0x1894be(0x1e1)]===0x0||_0x27da54['length']===0x0)return;const _0x2d9b9a=[],_0x5a778b=[];let _0x21d173=_0x8a5bb7[_0x1894be(0x291)](_0xc7b146[_0x1894be(0x1a0)][0x0]),_0x1acaa0=_0x8a5bb7[_0x1894be(0x291)](_0xc7b146['mutations'][0x0]);for(let _0x570775=_0x447656['length']-0x1;_0x570775>=0x0;_0x570775--){const _0x763f77={'id':_0x1894be(0x228),'params':{..._0x447656[_0x570775]}},_0x7101d6={'id':_0x1894be(0x228),'params':{..._0x27da54[_0x570775]}},_0x1c7432=this[_0x1894be(0x26b)][_0x1894be(0x200)](_0x21d173,_0x763f77,!0x1),_0xac514c=this[_0x1894be(0x26b)][_0x1894be(0x200)](_0x1acaa0,_0x7101d6,!0x1);if(_0x3c0515(_0x1c7432))throw _0x1c7432[_0x1894be(0x1aa)];if(_0x3c0515(_0xac514c))throw _0xac514c[_0x1894be(0x1aa)];_0x2d9b9a[_0x1894be(0x17d)](_0x1c7432[_0x1894be(0x276)][_0x1894be(0x180)]),_0x5a778b[_0x1894be(0x17d)](_0xac514c['m2Prime']['params']),_0x21d173=_0x1c7432[_0x1894be(0x195)],_0x1acaa0=_0xac514c[_0x1894be(0x195)];}_0x3d9b0d[_0x1894be(0x203)]({'undoCache':_0x2d9b9a,'redoCache':_0x5a778b});}[_0x4eecf3(0x12e)](_0x4f895d){const _0x123f58=_0x4eecf3,{unitID:_0x27d3eb}=_0x4f895d,_0x1727d4=this[_0x123f58(0x117)][_0x123f58(0xf3)](_0x27d3eb)[_0x123f58(0x1e5)](_0xf3eef8),_0x5b31be=_0x1727d4[_0x123f58(0x24a)]();if(_0x5b31be==null)return;const _0x1a6892=[{'id':_0x123f58(0x228),'params':{'unitId':_0x4f895d['unitID'],'actions':null,'textRanges':[_0x5b31be]}}],_0x2d9f3a=this[_0x123f58(0x26b)][_0x123f58(0x28d)](_0x4f895d,_0x1a6892);if(!_0x5a1d73(_0x2d9f3a))throw _0x2d9f3a['error'];const _0x5a392c=_0x2d9f3a[_0x123f58(0x276)][0x0][_0x123f58(0x180)][_0x123f58(0xf9)];Array[_0x123f58(0x138)](_0x5a392c)&&_0x5a392c[_0x123f58(0x1e1)]&&_0x1727d4['setActiveRange'](_0x5a392c[0x0]);}};ne=tn([pe(0x0,_0x3238d3(_0x18b4a9)),pe(0x1,_0x426a01),pe(0x2,_0x306452)],ne);var sn=Object[_0x4eecf3(0xe7)],nn=(_0x11e4aa,_0x4e7fe7,_0x1a13fe,_0x122b29)=>{const _0x2b7ef5=_0x4eecf3;for(var _0x164fa4=_0x122b29>0x1?void 0x0:_0x122b29?sn(_0x4e7fe7,_0x1a13fe):_0x4e7fe7,_0x3ccbff=_0x11e4aa[_0x2b7ef5(0x1e1)]-0x1,_0x295f0d;_0x3ccbff>=0x0;_0x3ccbff--)(_0x295f0d=_0x11e4aa[_0x3ccbff])&&(_0x164fa4=_0x295f0d(_0x164fa4)||_0x164fa4);return _0x164fa4;},Ce=(_0xc30522,_0x5e1c83)=>(_0x42f7de,_0x6f3613)=>_0x5e1c83(_0x42f7de,_0x6f3613,_0xc30522);let re=class{constructor(_0x1c6ef9,_0x5be11e,_0x28488c){const _0x47e0a7=_0x4eecf3;this[_0x47e0a7(0xda)]=_0x1c6ef9,this[_0x47e0a7(0x26b)]=_0x5be11e,this[_0x47e0a7(0x198)]=_0x28488c;}[_0x4eecf3(0x125)](_0x5c22ea){const _0x49fea0=_0x4eecf3;this[_0x49fea0(0xdb)](_0x5c22ea);}[_0x4eecf3(0x175)](_0x48ee7e){const _0x236748=_0x4eecf3,{unitID:_0x185eb5}=_0x48ee7e,{collaboration:_0x380b76}=this[_0x236748(0x198)][_0x236748(0xfd)](_0x185eb5);if(_0x380b76[_0x236748(0x1e1)]===0x0)return _0x48ee7e;let _0x59c25e=_0x8a5bb7[_0x236748(0x291)](_0x48ee7e['mutations'][0x0]);for(let _0x47c7dc=0x0;_0x47c7dc<_0x380b76[_0x236748(0x1e1)];_0x47c7dc++){const _0x8676a={'id':_0x236748(0x228),'params':{'unitId':_0x380b76[_0x47c7dc][_0x236748(0xf8)],..._0x380b76[_0x47c7dc][_0x236748(0xe5)]}},_0x53eee9=this[_0x236748(0x26b)][_0x236748(0x200)](_0x59c25e,_0x8676a,!0x1);if(_0x3c0515(_0x53eee9))throw _0x53eee9[_0x236748(0x1aa)];_0x59c25e=_0x53eee9[_0x236748(0x195)];}return{..._0x8a5bb7[_0x236748(0x291)](_0x48ee7e),'mutations':[_0x59c25e]};}[_0x4eecf3(0xdb)](_0x5bce28){const _0x486246=_0x4eecf3,{unitID:_0x5e0a72}=_0x5bce28,{history:_0x224a27,collaboration:_0x1c9eff}=this[_0x486246(0x198)][_0x486246(0xfd)](_0x5e0a72);if(_0x224a27[_0x486246(0x1e1)]===0x0&&_0x1c9eff['length']===0x0)return;const _0x313e34=[],_0x13e144=[];let _0x44b626=_0x8a5bb7[_0x486246(0x291)](_0x5bce28[_0x486246(0x1a0)][0x0]),_0x1b88fb=_0x8a5bb7[_0x486246(0x291)](_0x5bce28['mutations'][0x0]);for(let _0x4148ba=_0x224a27['length']-0x1;_0x4148ba>=0x0;_0x4148ba--){const _0x352c32={'id':_0x486246(0x228),'params':{'unitId':_0x224a27[_0x4148ba]['unitId'],..._0x224a27[_0x4148ba][_0x486246(0x13b)]}},_0x4afa22={'id':_0x486246(0x228),'params':{'unitId':_0x224a27[_0x4148ba]['unitId'],..._0x224a27[_0x4148ba][_0x486246(0xe5)]}},_0x1967ba=this[_0x486246(0x26b)]['transformMutation'](_0x44b626,_0x352c32,!0x1),_0x432704=this['_transformService'][_0x486246(0x200)](_0x1b88fb,_0x4afa22,!0x1);if(_0x3c0515(_0x1967ba))throw _0x1967ba['error'];if(_0x3c0515(_0x432704))throw _0x432704[_0x486246(0x1aa)];_0x313e34[_0x486246(0x17d)]({..._0x224a27[_0x4148ba],'undoState':_0x1967ba[_0x486246(0x276)][_0x486246(0x180)],'redoState':_0x432704[_0x486246(0x276)][_0x486246(0x180)]}),_0x44b626=_0x1967ba['m1Prime'],_0x1b88fb=_0x432704[_0x486246(0x195)];}_0x44b626=_0x8a5bb7[_0x486246(0x291)](_0x5bce28[_0x486246(0x1a0)][0x0]),_0x1b88fb=_0x8a5bb7[_0x486246(0x291)](_0x5bce28['mutations'][0x0]);for(let _0x45f03e=_0x1c9eff[_0x486246(0x1e1)]-0x1;_0x45f03e>=0x0;_0x45f03e--){const _0x19a2fc={'id':_0x486246(0x228),'params':{'unitId':_0x1c9eff[_0x45f03e][_0x486246(0xf8)],..._0x1c9eff[_0x45f03e][_0x486246(0x13b)]}},_0x550ad0={'id':_0x486246(0x228),'params':{'unitId':_0x1c9eff[_0x45f03e]['unitId'],..._0x1c9eff[_0x45f03e]['redoState']}},_0x5db603=this[_0x486246(0x26b)][_0x486246(0x200)](_0x44b626,_0x19a2fc,!0x1),_0x2b9ab5=this[_0x486246(0x26b)][_0x486246(0x200)](_0x1b88fb,_0x550ad0,!0x1);if(_0x3c0515(_0x5db603))throw _0x5db603[_0x486246(0x1aa)];if(_0x3c0515(_0x2b9ab5))throw _0x2b9ab5[_0x486246(0x1aa)];_0x13e144[_0x486246(0x17d)]({..._0x1c9eff[_0x45f03e],'undoState':_0x5db603[_0x486246(0x276)][_0x486246(0x180)],'redoState':_0x2b9ab5[_0x486246(0x276)][_0x486246(0x180)]}),_0x44b626=_0x5db603[_0x486246(0x195)],_0x1b88fb=_0x2b9ab5[_0x486246(0x195)];}this[_0x486246(0x198)][_0x486246(0x247)](_0x5e0a72,{'history':_0x313e34,'collaboration':_0x13e144});}};re=nn([Ce(0x0,_0x3238d3(_0x18b4a9)),Ce(0x1,_0x426a01),Ce(0x2,_0x3238d3(_0x45b63f))],re);var rn=Object[_0x4eecf3(0xe7)],on=(_0x34df60,_0x3f0746,_0x33979c,_0x9b346a)=>{const _0x2f2fdc=_0x4eecf3;for(var _0x20ffa9=_0x9b346a>0x1?void 0x0:_0x9b346a?rn(_0x3f0746,_0x33979c):_0x3f0746,_0x434773=_0x34df60[_0x2f2fdc(0x1e1)]-0x1,_0x52e729;_0x434773>=0x0;_0x434773--)(_0x52e729=_0x34df60[_0x434773])&&(_0x20ffa9=_0x52e729(_0x20ffa9)||_0x20ffa9);return _0x20ffa9;},tt=(_0x2ddc6b,_0x325163)=>(_0x1a6e8c,_0x2bf3a7)=>_0x325163(_0x1a6e8c,_0x2bf3a7,_0x2ddc6b);let oe=class{constructor(_0x5c0b7a,_0xcc608){const _0x212dd8=_0x4eecf3;this['_injector']=_0x5c0b7a,this[_0x212dd8(0x26b)]=_0xcc608;}[_0x4eecf3(0x2ba)](_0x565c26){const _0x275105=_0x4eecf3;var _0x4b15c6;const _0x3f4315=this[_0x275105(0xda)]['get'](_0x418e6a),_0x2c2b10=(_0x4b15c6=_0x3f4315[_0x275105(0x22f)]())!=null?_0x4b15c6:[];if(_0x2c2b10[_0x275105(0x1e1)]===0x0)return;const _0x1d79a1=_0x565c26['unitID'],_0x3de4c7=[{'id':_0x275105(0x228),'params':{'unitId':_0x1d79a1,'actions':null,'textRanges':_0x2c2b10}}],_0x41e09d=this[_0x275105(0x26b)][_0x275105(0x28d)](_0x565c26,_0x3de4c7);if(!_0x5a1d73(_0x41e09d))throw _0x41e09d[_0x275105(0x1aa)];const _0x54ba8b=_0x41e09d[_0x275105(0x276)][0x0]['params'][_0x275105(0xf9)];Array['isArray'](_0x54ba8b)&&_0x54ba8b[_0x275105(0x1e1)]&&_0x3f4315[_0x275105(0x271)](_0x54ba8b,{'unitId':_0x1d79a1,'subUnitId':_0x1d79a1},!0x1);}};oe=on([tt(0x0,_0x3238d3(_0x18b4a9)),tt(0x1,_0x426a01)],oe);var an=Object[_0x4eecf3(0xe7)],cn=(_0xb167e1,_0x20e9f5,_0x57ec84,_0x5be04f)=>{const _0x5aec64=_0x4eecf3;for(var _0x20b789=_0x5be04f>0x1?void 0x0:_0x5be04f?an(_0x20e9f5,_0x57ec84):_0x20e9f5,_0x2c00cd=_0xb167e1[_0x5aec64(0x1e1)]-0x1,_0x4c2456;_0x2c00cd>=0x0;_0x2c00cd--)(_0x4c2456=_0xb167e1[_0x2c00cd])&&(_0x20b789=_0x4c2456(_0x20b789)||_0x20b789);return _0x20b789;},U=(_0x4ba9af,_0x5045f9)=>(_0x5150b1,_0x240072)=>_0x5045f9(_0x5150b1,_0x240072,_0x4ba9af);let ae=class extends _0x5ac07f{constructor(_0xef7f9d,_0x20ec70,_0xe738f5,_0x5d8ac3,_0xe1b169,_0x4eba43,_0x2c26e6,_0x3de1d8){const _0x4ed711=_0x4eecf3;super(),_(this,_0x4ed711(0x1c8),new _0x34f84b(_0x5ebc94['NOT_COLLAB'])),(this[_0x4ed711(0x198)]=_0xef7f9d,this['_collaborationController']=_0x20ec70,this[_0x4ed711(0x17e)]=_0xe738f5,this[_0x4ed711(0x100)]=_0x5d8ac3,this[_0x4ed711(0x1e8)]=_0xe1b169,this[_0x4ed711(0x20f)]=_0x4eba43,this[_0x4ed711(0x196)]=_0x2c26e6,this[_0x4ed711(0x218)]=_0x3de1d8,this[_0x4ed711(0xc7)]());}[_0x4eecf3(0xc7)](){const _0x2d21e1=_0x4eecf3;this['disposeWithMe'](this[_0x2d21e1(0x2b4)][_0x2d21e1(0x28a)][_0x2d21e1(0xec)](_0x36d86d=>{const _0xa7fe=_0x2d21e1,_0x46d575=this[_0xa7fe(0x198)][_0xa7fe(0x12f)][_0xa7fe(0xec)](_0x3aa42c=>{const _0x2037dd=_0xa7fe;if(_0x3aa42c==null)return;const {unitId:_0x58c282,redoState:_0x2d8a91,commandId:_0x3f3849}=_0x3aa42c;if(_0x58c282!==_0x36d86d[_0x2037dd(0x122)])return;const _0x23b34e={'id':_0x3f3849,'type':_0x795de[_0x2037dd(0x292)],'params':{'unitId':_0x58c282,'actions':_0x2d8a91[_0x2037dd(0x13a)],'textRanges':null}};_0x36d86d[_0x2037dd(0x21a)](_0x23b34e);});if(_0x36d86d[_0xa7fe(0x185)](_0x46d575),_0x36d86d instanceof _0x1a3f04){const _0x1516d0={'onTransformIME':_0x14aff3=>this[_0xa7fe(0x17e)]['transformIMECache'](_0x14aff3),'onTransformState':_0x16d101=>this[_0xa7fe(0x100)][_0xa7fe(0x125)](_0x16d101),'onTransformSelections':_0x22de25=>this[_0xa7fe(0x1e8)]['transformSelections'](_0x22de25),'onSyncEditingCollabCursor':_0x3b7bb9=>this[_0xa7fe(0x20f)][_0xa7fe(0x21e)](_0x3b7bb9),'onTransformRemoteChangesetByIMECache':_0x5e3cf3=>this[_0xa7fe(0x17e)]['transformRemoteChangeset'](_0x5e3cf3),'onTransformRemoteChangesetByStateCache':_0x1b48b1=>this[_0xa7fe(0x100)]['transformRemoteChangeset'](_0x1b48b1)};_0x36d86d[_0xa7fe(0x148)](_0x1516d0);}}));}};ae=cn([U(0x0,_0x3238d3(_0x45b63f)),U(0x1,_0x3238d3(_0x35a4f5)),U(0x2,_0x3238d3(ne)),U(0x3,_0x3238d3(re)),U(0x4,_0x3238d3(oe)),U(0x5,_0x3238d3(He)),U(0x6,_0x42f721),U(0x7,_0x3238d3(_0x3d1217))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x50f764,_0x8246bb,_0x2aec7d,_0xec35ad)=>{const _0x438d57=_0x4eecf3;for(var _0x23c0a6=_0xec35ad>0x1?void 0x0:_0xec35ad?ln(_0x8246bb,_0x2aec7d):_0x8246bb,_0x1b9577=_0x50f764[_0x438d57(0x1e1)]-0x1,_0x6ffb8e;_0x1b9577>=0x0;_0x1b9577--)(_0x6ffb8e=_0x50f764[_0x1b9577])&&(_0x23c0a6=_0x6ffb8e(_0x23c0a6)||_0x23c0a6);return _0x23c0a6;},Ee=(_0x9f1408,_0x4872e5)=>(_0xb9b5a8,_0x3b89e7)=>_0x4872e5(_0xb9b5a8,_0x3b89e7,_0x9f1408);let we=class extends _0x5ac07f{constructor(_0x4410eb,_0x31ee7a,_0x42e45d){const _0x45dac1=_0x4eecf3;super(),_(this,'_cachedData',new Map()),_(this,_0x45dac1(0x259),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x4410eb,this[_0x45dac1(0x1c4)]=_0x31ee7a,this[_0x45dac1(0x181)]=_0x42e45d);}[_0x4eecf3(0xc4)](){const _0x4fafc1=_0x4eecf3;this[_0x4fafc1(0x227)]=!0x0;}['enableLocalCache'](){const _0xbba63e=_0x4eecf3;this[_0xbba63e(0x227)]=!0x1;}get[_0x4eecf3(0x22e)](){const _0x2c3546=_0x4eecf3;return this[_0x2c3546(0x259)];}[_0x4eecf3(0x238)](){const _0x318234=_0x4eecf3;this[_0x318234(0x11a)]()['then'](()=>super[_0x318234(0x238)]());}async[_0x4eecf3(0x2bc)](_0x2d2d38){const _0x42c83e=_0x4eecf3;return this['_disabled']?null:this[_0x42c83e(0x1c4)][_0x42c83e(0x1f9)](_0x4c3f23(_0x2d2d38));}async[_0x4eecf3(0x107)](_0x15e1ff,_0x49bd28){const _0x2c06ef=_0x4eecf3;return!!this[_0x2c06ef(0x1c4)][_0x2c06ef(0x155)](_0x15e1ff,_0x49bd28);}[_0x4eecf3(0x189)](_0xc19d08,_0x32d951,_0x45a754,_0xcdeee4){const _0x207183=_0x4eecf3,_0x2a2fc9=this[_0x207183(0x181)][_0x207183(0x1b4)](_0xc19d08);this[_0x207183(0x143)]['set'](_0xc19d08,{'unitID':_0xc19d08,'type':_0x32d951,'awaitingChangeset':_0x45a754,'mutations':_0xcdeee4,'rev':_0x2a2fc9}),this[_0x207183(0x259)][_0x207183(0x28b)](_0xc19d08)||this[_0x207183(0x268)](_0xc19d08);}[_0x4eecf3(0x268)](_0x137c65){const _0x263c17=_0x4eecf3,_0x5521e1=this[_0x263c17(0x14a)]();_0x5521e1===0x0?this[_0x263c17(0x1fe)](_0x137c65):this[_0x263c17(0x259)][_0x263c17(0x1f4)](_0x137c65,setTimeout(()=>this['_saveCache'](_0x137c65),_0x5521e1));}[_0x4eecf3(0x14a)](){const _0x125af7=_0x4eecf3;var _0x1c3cf8;return(_0x1c3cf8=this['_configService'][_0x125af7(0x111)](_0x32cf39))!=null?_0x1c3cf8:_0x5d7666;}[_0x4eecf3(0x1fe)](_0x1ff993){const _0x50b2b3=_0x4eecf3,_0x1bdd28=this[_0x50b2b3(0x259)][_0x50b2b3(0x241)](_0x1ff993);return _0x1bdd28!==void 0x0&&window[_0x50b2b3(0xca)](_0x1bdd28),this[_0x50b2b3(0x1c4)]['setItem'](_0x4c3f23(_0x1ff993),this['_cachedData'][_0x50b2b3(0x241)](_0x1ff993))[_0x50b2b3(0x260)](()=>this[_0x50b2b3(0x259)][_0x50b2b3(0x1be)](_0x1ff993));}async[_0x4eecf3(0x11a)](){const _0x9ea3a3=_0x4eecf3,_0x4b5316=[];this[_0x9ea3a3(0x259)][_0x9ea3a3(0x239)]((_0xa81aa7,_0x532c44)=>{const _0x21bd88=_0x9ea3a3;window[_0x21bd88(0xca)](_0xa81aa7),_0x4b5316[_0x21bd88(0x295)](this[_0x21bd88(0x1fe)](_0x532c44)[_0x21bd88(0x260)](()=>{const _0x2a92b0=_0x21bd88;this[_0x2a92b0(0x259)][_0x2a92b0(0x1be)](_0x532c44);}));}),await Promise['all'](_0x4b5316);}};function _0x3876(_0x51461a,_0x4cceb9){const _0x12f696=_0x12f6();return _0x3876=function(_0x3876d2,_0x5052b2){_0x3876d2=_0x3876d2-0xc1;let _0x2c9435=_0x12f696[_0x3876d2];return _0x2c9435;},_0x3876(_0x51461a,_0x4cceb9);}we=_n([Ee(0x0,_0x36b811),Ee(0x1,_0x2ab937),Ee(0x2,_0x3238d3(_0xd9bbc9))],we);class hn extends _0x32532c{constructor(){const _0x3c9f03=_0x4eecf3;super(),_(this,_0x3c9f03(0x16b)),this[_0x3c9f03(0x16b)]=_0x491fe0(window,_0x3c9f03(0x10d))[_0x3c9f03(0x2a1)](_0x551159(this['dispose$']),_0x4a7afd(0x1),_0x411495(void 0x0));}[_0x4eecf3(0x2a4)](_0x5a8495,_0x5cf075,_0x507b60=!0x1){const _0x413431=_0x4eecf3,_0x47ab53=new URL(window[_0x413431(0x285)]['href']);_0x47ab53[_0x413431(0xd8)][_0x413431(0x1f4)](_0x5a8495,_0x5cf075),_0x507b60?window[_0x413431(0xd7)][_0x413431(0x229)]('','',_0x47ab53[_0x413431(0x288)]()):window['history']['pushState']('','',_0x47ab53[_0x413431(0x288)]());}[_0x4eecf3(0x15e)](_0x64f962,_0x18c172=!0x1){const _0x25bd21=_0x4eecf3,_0x2addce=new URL(window[_0x25bd21(0x285)][_0x25bd21(0x2b2)]);_0x2addce['searchParams'][_0x25bd21(0x1be)](_0x64f962),_0x18c172?window[_0x25bd21(0xd7)]['replaceState']('','',_0x2addce[_0x25bd21(0x288)]()):window['history']['pushState']('','',_0x2addce[_0x25bd21(0x288)]());}['getParam'](_0x5607ce){const _0x5a9e3c=_0x4eecf3;var _0x1448f9;return(_0x1448f9=new URL(window[_0x5a9e3c(0x285)][_0x5a9e3c(0x2b2)])[_0x5a9e3c(0xd8)][_0x5a9e3c(0x241)](_0x5607ce))!=null?_0x1448f9:void 0x0;}}var un=Object[_0x4eecf3(0x275)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x5d882d,_0x5493f4,_0x2cb475)=>_0x5493f4 in _0x5d882d?un(_0x5d882d,_0x5493f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cb475}):_0x5d882d[_0x5493f4]=_0x2cb475,Sn=(_0x42c962,_0x8cb37c,_0x50d5d9,_0x37d36d)=>{const _0x165a9f=_0x4eecf3;for(var _0x62eb32=_0x37d36d>0x1?void 0x0:_0x37d36d?dn(_0x8cb37c,_0x50d5d9):_0x8cb37c,_0x4bccc0=_0x42c962[_0x165a9f(0x1e1)]-0x1,_0x1b1f62;_0x4bccc0>=0x0;_0x4bccc0--)(_0x1b1f62=_0x42c962[_0x4bccc0])&&(_0x62eb32=_0x1b1f62(_0x62eb32)||_0x62eb32);return _0x62eb32;},Oe=(_0x324ad6,_0x21c7be)=>(_0x1a9432,_0x36b1aa)=>_0x21c7be(_0x1a9432,_0x36b1aa,_0x324ad6),mn=(_0x10af2,_0x457be4,_0x53b80f)=>fn(_0x10af2,_0x457be4+'',_0x53b80f);const gn=_0x4eecf3(0x1e3);let Ae=class extends _0x40c0e4{constructor(_0x577c1d=et,_0x16ba6e,_0x4a534a,_0x295365){const _0x59ffd0=_0x4eecf3;super(),this[_0x59ffd0(0x15a)]=_0x577c1d,this['_renderManagerService']=_0x16ba6e,this['_injector']=_0x4a534a,this['_configService']=_0x295365;const {..._0x52a2d4}=_0x384f67({},et,this[_0x59ffd0(0x15a)]);this[_0x59ffd0(0x1c7)][_0x59ffd0(0x232)](Zi,_0x52a2d4);}['onStarting'](){const _0x1c8da1=_0x4eecf3;this['_registerDependencies'](),this[_0x1c8da1(0x14b)]();}[_0x4eecf3(0x206)](){this['_registerRenderDependencies']();}[_0x4eecf3(0x257)](){const _0x52ba88=_0x4eecf3;var _0x3088fe;const _0x4adcd0=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2de9a2,{'useClass':_0x21c6a9}],[_0x438a84,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x4aed60(this[_0x52ba88(0xda)],_0x69d311(_0x4adcd0,(_0x3088fe=this[_0x52ba88(0x15a)])==null?void 0x0:_0x3088fe[_0x52ba88(0x242)]));}[_0x4eecf3(0x29f)](){const _0x4f0a05=_0x4eecf3;this['disposeWithMe'](this[_0x4f0a05(0x117)][_0x4f0a05(0x25c)](_0x3e1dd4[_0x4f0a05(0x245)],[Pe])),this[_0x4f0a05(0x185)](this[_0x4f0a05(0x117)]['registerRenderModule'](_0x3e1dd4['UNIVER_SHEET'],[Le]));}[_0x4eecf3(0x14b)](){const _0xeb2a84=_0x4eecf3;_0x29cac2(this[_0xeb2a84(0xda)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4eecf3(0x2aa),gn),Ae=Sn([_0x9eb3f6(_0x438c85),Oe(0x1,_0x306452),Oe(0x2,_0x3238d3(_0x18b4a9)),Oe(0x3,_0x36b811)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x2e8b3d,_0x34a2c0,_0x3245c4,_0x103c17)=>{const _0x4d55b7=_0x4eecf3;for(var _0x30afeb=_0x103c17>0x1?void 0x0:_0x103c17?In(_0x34a2c0,_0x3245c4):_0x34a2c0,_0x1ffbe8=_0x2e8b3d[_0x4d55b7(0x1e1)]-0x1,_0x3d4714;_0x1ffbe8>=0x0;_0x1ffbe8--)(_0x3d4714=_0x2e8b3d[_0x1ffbe8])&&(_0x30afeb=_0x3d4714(_0x30afeb)||_0x30afeb);return _0x30afeb;},K=(_0x157336,_0x454e50)=>(_0x15780a,_0x2d5a43)=>_0x454e50(_0x15780a,_0x2d5a43,_0x157336);let st=class extends _0x15e393{constructor(_0x191023,_0x479b9a,_0x15dab7,_0x198c61,_0x5e7137){super(_0x191023,_0x479b9a,_0x15dab7,_0x198c61,_0x5e7137);}async[_0x4eecf3(0x184)](_0x3da347){const _0x18985e=await this['_getSessionTicket'](),_0x2e0566=this['_createSocketURL'](_0x3da347,_0x18985e);return this['_doCreateSocket'](_0x2e0566);}['_createSocketURL'](_0x574496,_0x3eaf98){const _0x5f47fe=_0x4eecf3,_0x576ebc=typeof window>'u'?new URL(_0x574496):new URL(_0x574496,window[_0x5f47fe(0x285)]['origin']);_0x576ebc[_0x5f47fe(0xd8)][_0x5f47fe(0x1f4)]('sessionTicket',_0x3eaf98);const _0x8dec05=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5f47fe(0x285)]['search']);return _0x8dec05[_0x5f47fe(0x241)](_0x5f47fe(0x192))&&_0x576ebc['searchParams'][_0x5f47fe(0x1f4)](_0x5f47fe(0x192),_0x8dec05[_0x5f47fe(0x241)]('runId')),_0x576ebc[_0x5f47fe(0x288)]();}async[_0x4eecf3(0x1dd)](){const _0x307f24=_0x4eecf3;var _0x4f0926,_0x5022e8,_0x55de92;const _0x5399c5=this[_0x307f24(0x1c7)][_0x307f24(0x111)](_0x1f3c77),_0x2f15b7=(_0x4f0926=_0x5399c5==null?void 0x0:_0x5399c5[_0x307f24(0x154)])!=null?_0x4f0926:_0x320eca;return(_0x55de92=(_0x5022e8=(await this['_httpService'][_0x307f24(0x241)](_0x2f15b7,{'headers':{'Content-Type':'application/json'}}))[_0x307f24(0x223)])==null?void 0x0:_0x5022e8[_0x307f24(0x1cd)])!=null?_0x55de92:'';}};st=vn([K(0x0,_0x3238d3(_0x18b4a9)),K(0x1,_0x3238d3(_0x5a16dd)),K(0x2,_0x36b811),K(0x3,_0x46fd35),K(0x4,_0x45eecd)],st);const it=0x7530,nt=_0x4eecf3(0x249);class jn extends _0x5ac07f{constructor(){const _0x19ccda=_0x4eecf3;super(),_(this,_0x19ccda(0x1d7),_0x5a9f63()),_(this,_0x19ccda(0x104),new Set()),_(this,_0x19ccda(0x29e),new Map()),_(this,_0x19ccda(0x258),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x19ccda(0x22b),new Map()),this[_0x19ccda(0x1c2)]();}['dispose'](){const _0x1acb82=_0x4eecf3;super['dispose'](),this['_clearOtherTimers'][_0x1acb82(0x239)]((_0x411e88,_0x416bb2)=>this[_0x1acb82(0x23d)](_0x416bb2)),this[_0x1acb82(0x258)]&&window[_0x1acb82(0xf0)](this[_0x1acb82(0x258)]);}[_0x4eecf3(0x264)](_0x634319){const _0x10f175=_0x4eecf3;return this[_0x10f175(0x1b8)](_0x634319)[_0x10f175(0x2a1)](_0x1f8e19());}['editingUnit'](_0x2fe4af){const _0x4909f8=_0x4eecf3;this['_selfUnitIDs']['size']===0x0&&this[_0x4909f8(0x2a5)](),this['_selfUnitIDs']['add'](_0x2fe4af),this['_send']({'type':0x0,'memberID':this[_0x4909f8(0x1d7)],'unitIDs':[_0x2fe4af],'isForwarded':!0x1});}[_0x4eecf3(0x11c)](_0x5b2fee){const _0x45c802=_0x4eecf3;this['_selfUnitIDs'][_0x45c802(0x1be)](_0x5b2fee),this['_selfUnitIDs'][_0x45c802(0x21b)]===0x0&&this['_heartbeatTimer']&&window[_0x45c802(0xf0)](this[_0x45c802(0x258)]);}['_init'](){const _0xfd460a=_0x4eecf3;this[_0xfd460a(0x185)](_0x2bc8ed(_0x491fe0(window,_0xfd460a(0x25a))[_0xfd460a(0xec)](_0x2aee89=>{const _0x546577=_0xfd460a;if(_0x2aee89[_0x546577(0x1d4)]!==nt||!_0x2aee89[_0x546577(0xd5)])return;const _0xdf3fad=JSON[_0x546577(0x13d)](_0x2aee89[_0x546577(0xd5)]);this[_0x546577(0x2a3)](_0xdf3fad);}))),window[_0xfd460a(0x1f2)](_0xfd460a(0x1d8),()=>this[_0xfd460a(0xd6)]({'type':0x1,'memberID':this[_0xfd460a(0x1d7)],'unitIDs':Array['from'](this[_0xfd460a(0x104)])}));}[_0x4eecf3(0x2a3)](_0x6242d1){const _0x5a480c=_0x4eecf3;switch(_0x6242d1[_0x5a480c(0x297)]){case 0x0:this[_0x5a480c(0xe2)](_0x6242d1);break;case 0x1:this[_0x5a480c(0x126)](_0x6242d1);break;case 0x2:this[_0x5a480c(0x24c)](_0x6242d1);break;}}[_0x4eecf3(0xe2)](_0x4c2078){const _0x1e3a47=_0x4eecf3,{unitIDs:_0x2d31ce,memberID:_0x11c855,isForwarded:_0x287dda}=_0x4c2078;_0x2d31ce[_0x1e3a47(0x239)](_0x25336f=>{const _0x5bf87e=_0x1e3a47;if(!_0x287dda&&this[_0x5bf87e(0x29e)][_0x5bf87e(0x28b)](_0x25336f)&&this[_0x5bf87e(0x1b8)](_0x25336f)['next'](_0x132991[_0x5bf87e(0xf7)]),!this[_0x5bf87e(0x29e)][_0x5bf87e(0x28b)](_0x25336f)||!this[_0x5bf87e(0x29e)][_0x5bf87e(0x241)](_0x25336f)[_0x5bf87e(0x28b)](_0x11c855)){const _0x4fd052=this[_0x5bf87e(0x29e)][_0x5bf87e(0x241)](_0x25336f)||new Set();_0x4fd052[_0x5bf87e(0x24e)](_0x11c855),this[_0x5bf87e(0x29e)][_0x5bf87e(0x1f4)](_0x25336f,_0x4fd052),this[_0x5bf87e(0x1ee)](_0x11c855);}}),_0x287dda||this[_0x1e3a47(0xd6)]({'type':0x0,'memberID':this[_0x1e3a47(0x1d7)],'unitIDs':[...this[_0x1e3a47(0x104)]],'isForwarded':!0x0});}[_0x4eecf3(0x1ee)](_0x4ff228){const _0x1cf381=_0x4eecf3;this[_0x1cf381(0x23d)](_0x4ff228);const _0x37d156=window[_0x1cf381(0x18a)](()=>{const _0x443214=_0x1cf381;this['_unitOnClients'][_0x443214(0x239)](_0x4868d7=>{const _0x19a45c=_0x443214;_0x4868d7[_0x19a45c(0x1be)](_0x4ff228);});},it*0x2);this[_0x1cf381(0x15c)][_0x1cf381(0x1f4)](_0x4ff228,_0x37d156);}['_removeClearOtherTimer'](_0x1f5135){const _0x4c1c2d=_0x4eecf3;if(this['_clearOtherTimers']['has'](_0x1f5135)){const _0x414713=this[_0x4c1c2d(0x15c)][_0x4c1c2d(0x241)](_0x1f5135);_0x414713&&window['clearTimeout'](_0x414713),this['_clearOtherTimers'][_0x4c1c2d(0x1f4)](_0x1f5135,null);}}['_handleLeaveEvent'](_0x500505){const _0x5d5a19=_0x4eecf3,{memberID:_0x25dd58,unitIDs:_0xa25e19}=_0x500505;_0xa25e19[_0x5d5a19(0x239)](_0x466c3a=>{const _0x203321=_0x5d5a19;var _0xa84661;const _0x44a79e=this['_unitOnClients'][_0x203321(0x241)](_0x466c3a);_0x44a79e&&(_0x44a79e[_0x203321(0x1be)](_0x25dd58),(_0xa84661=this[_0x203321(0x1b8)](_0x466c3a))==null||_0xa84661[_0x203321(0x27f)](_0x44a79e[_0x203321(0x21b)]===0x0?_0x132991[_0x203321(0xde)]:_0x132991['OTHER_CLIENTS_EDITING']));}),this[_0x5d5a19(0x23d)](_0x25dd58);}[_0x4eecf3(0x24c)](_0x3dc71d){const _0x482c25=_0x4eecf3;this[_0x482c25(0x1ee)](_0x3dc71d[_0x482c25(0x17c)]);}[_0x4eecf3(0xd6)](_0x59a91f){const _0x4bb1f1=_0x4eecf3;localStorage[_0x4bb1f1(0x155)](nt,JSON['stringify'](_0x59a91f));}[_0x4eecf3(0x2a5)](){const _0x2e5b77=_0x4eecf3;this['_heartbeatTimer']=window[_0x2e5b77(0xee)](()=>{const _0x4303ef=_0x2e5b77;this['_send']({'type':0x2,'memberID':this[_0x4303ef(0x1d7)]});},it);}[_0x4eecf3(0x1b8)](_0x3a91ff){const _0x5d8f55=_0x4eecf3;return this[_0x5d8f55(0x22b)][_0x5d8f55(0x28b)](_0x3a91ff)||this['_unitStatus'][_0x5d8f55(0x1f4)](_0x3a91ff,new _0x34f84b(_0x132991[_0x5d8f55(0xde)])),this['_unitStatus'][_0x5d8f55(0x241)](_0x3a91ff);}}var Mt=(_0x43947e=>(_0x43947e[_0x43947e[_0x4eecf3(0x269)]=0x0]='UNDEFINED',_0x43947e[_0x43947e['OK']=0x1]='OK',_0x43947e[_0x43947e[_0x4eecf3(0x1d3)]=0x2]=_0x4eecf3(0x1d3),_0x43947e[_0x43947e[_0x4eecf3(0x2a0)]=0x3]=_0x4eecf3(0x2a0),_0x43947e[_0x43947e[_0x4eecf3(0x246)]=0x4]=_0x4eecf3(0x246),_0x43947e[_0x43947e[_0x4eecf3(0xeb)]=0x5]=_0x4eecf3(0xeb),_0x43947e[_0x43947e['ALREADY_EXISTS']=0x6]=_0x4eecf3(0x134),_0x43947e[_0x43947e[_0x4eecf3(0x156)]=0x7]='INVALID_ARGUMENT',_0x43947e[_0x43947e[_0x4eecf3(0x1cc)]=0x8]=_0x4eecf3(0x1cc),_0x43947e[_0x43947e[_0x4eecf3(0x20e)]=0x9]='COMPLETION_FINISHED',_0x43947e[_0x43947e['LOGIN_FAILED']=0xa]=_0x4eecf3(0x1cf),_0x43947e[_0x43947e[_0x4eecf3(0xcb)]=0x1389]=_0x4eecf3(0xcb),_0x43947e[_0x43947e[_0x4eecf3(0xc9)]=0x1771]=_0x4eecf3(0xc9),_0x43947e[_0x43947e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4eecf3(0x151),_0x43947e[_0x43947e[_0x4eecf3(0x1b0)]=0x1773]=_0x4eecf3(0x1b0),_0x43947e[_0x43947e[_0x4eecf3(0x1ec)]=0x1b59]='APPLY_REJECT',_0x43947e[_0x43947e[_0x4eecf3(0x2bd)]=0x1b5a]=_0x4eecf3(0x2bd),_0x43947e[_0x43947e[_0x4eecf3(0x159)]=0x1b5b]=_0x4eecf3(0x159),_0x43947e[_0x43947e[_0x4eecf3(0x160)]=0x1b5c]=_0x4eecf3(0x160),_0x43947e[_0x43947e[_0x4eecf3(0x19f)]=0x1b5d]=_0x4eecf3(0x19f),_0x43947e[_0x43947e[_0x4eecf3(0x26e)]=0x1f41]=_0x4eecf3(0x26e),_0x43947e[_0x43947e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4eecf3(0x23e),_0x43947e[_0x43947e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x43947e[_0x43947e[_0x4eecf3(0x2b6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x43947e[_0x43947e[_0x4eecf3(0x1ff)]=0x232c]=_0x4eecf3(0x1ff),_0x43947e[_0x43947e['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x43947e[_0x43947e[_0x4eecf3(0x16e)]=0x2711]=_0x4eecf3(0x16e),_0x43947e[_0x43947e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4eecf3(0x1f7),_0x43947e[_0x43947e[_0x4eecf3(0x204)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x43947e[_0x43947e[_0x4eecf3(0x1b5)]=0x2714]=_0x4eecf3(0x1b5),_0x43947e[_0x43947e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4eecf3(0x1a9),_0x43947e[_0x43947e[_0x4eecf3(0x1da)]=0x271b]=_0x4eecf3(0x1da),_0x43947e[_0x43947e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4eecf3(0x2c3),_0x43947e[_0x43947e[_0x4eecf3(0x2bb)]=0x271d]=_0x4eecf3(0x2bb),_0x43947e[_0x43947e[_0x4eecf3(0x2b0)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x43947e[_0x43947e['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4eecf3(0x12c),_0x43947e[_0x43947e[_0x4eecf3(0x163)]=0x2af9]=_0x4eecf3(0x163),_0x43947e[_0x43947e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x43947e[_0x43947e[_0x4eecf3(0xf4)]=0x2ee2]=_0x4eecf3(0xf4),_0x43947e[_0x43947e[_0x4eecf3(0x135)]=0x2ee3]=_0x4eecf3(0x135),_0x43947e[_0x43947e[_0x4eecf3(0x235)]=0x2ee4]=_0x4eecf3(0x235),_0x43947e[_0x43947e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x43947e[_0x43947e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4eecf3(0x161),_0x43947e[_0x43947e['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x43947e[_0x43947e[_0x4eecf3(0xf6)]=0x32cb]=_0x4eecf3(0xf6),_0x43947e[_0x43947e['UNRECOGNIZED']=-0x1]=_0x4eecf3(0x207),_0x43947e))(Mt||{}),pn=Object[_0x4eecf3(0xe7)],Cn=(_0x257a4d,_0x1e6fb6,_0x2a39b4,_0x31f054)=>{const _0x8e9aa7=_0x4eecf3;for(var _0x5d48d7=_0x31f054>0x1?void 0x0:_0x31f054?pn(_0x1e6fb6,_0x2a39b4):_0x1e6fb6,_0x1ad982=_0x257a4d[_0x8e9aa7(0x1e1)]-0x1,_0x403237;_0x1ad982>=0x0;_0x1ad982--)(_0x403237=_0x257a4d[_0x1ad982])&&(_0x5d48d7=_0x403237(_0x5d48d7)||_0x5d48d7);return _0x5d48d7;},be=(_0x2dfd9f,_0x144ea6)=>(_0x54f2eb,_0x3f45f2)=>_0x144ea6(_0x54f2eb,_0x3f45f2,_0x2dfd9f);let rt=class extends _0x5ac07f{constructor(_0x24ba21,_0x43f9b2,_0x316a6a){const _0x10902f=_0x4eecf3;super(),this[_0x10902f(0x1d1)]=_0x24ba21,this[_0x10902f(0xdf)]=_0x43f9b2,this[_0x10902f(0x1c7)]=_0x316a6a;}async[_0x4eecf3(0x219)](_0x362554,_0x5f2d0c,_0x1cfe94,..._0x73092c){const _0x1a3eae=_0x4eecf3;var _0x355713,_0x502073,_0xbc08cf,_0x48e2d5;const _0xeeae2f=this[_0x1a3eae(0x1d1)][_0x1a3eae(0x1c0)]();if(!_0xeeae2f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x143cc0=((_0x355713=this[_0x1a3eae(0x1c7)]['getConfig'](_0x2ca5e3))!=null?_0x355713:_0x59f294)+'/'+_0x362554+_0x1a3eae(0x1ba)+_0x5f2d0c,_0xf5fa85=new URL(window['location'][_0x1a3eae(0x2b2)]),_0x420b4f={'scriptId':_0x362554,'runId':(_0x502073=_0xf5fa85[_0x1a3eae(0xd8)]['get']('runId'))!=null?_0x502073:'','function':_0x5f2d0c,'unitId':_0xeeae2f['getUnitId'](),'argsOfFunction':JSON[_0x1a3eae(0x11d)](_0x73092c),'invokeId':(_0xbc08cf=_0x1cfe94[_0x1a3eae(0x127)])!=null?_0xbc08cf:'','executionId':(_0x48e2d5=_0x1cfe94[_0x1a3eae(0xc6)])!=null?_0x48e2d5:''};try{const _0xbd8125=await this[_0x1a3eae(0xdf)]['post'](_0x143cc0,{'body':_0x420b4f});return _0xbd8125[_0x1a3eae(0x223)][_0x1a3eae(0x1aa)]&&_0xbd8125['body']['error'][_0x1a3eae(0x2a8)]!==Mt['OK']?_0x1a3eae(0x1df):_0xbd8125[_0x1a3eae(0x223)][_0x1a3eae(0x1a1)];}catch{return _0x1a3eae(0x1df);}}};rt=Cn([be(0x0,_0x4cb48b),be(0x1,_0x3238d3(_0x5a16dd)),be(0x2,_0x36b811)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x21f5(_0x140205,_0x29816f){const _0x502780=_0x5027();return _0x21f5=function(_0x21f53b,_0x37977c){_0x21f53b=_0x21f53b-0x1d9;let _0xd443b3=_0x502780[_0x21f53b];return _0xd443b3;},_0x21f5(_0x140205,_0x29816f);}function _0x5027(){const _0x3791f7=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','32oHcVIM','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','68031DUKpaC','Authentication\x20Error','Click\x20to\x20Reconnect','Synced','Collaboration\x20Conflict','382768SZLNku','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','902334gQcFrL','10222260SCKCUi','Syncing...','707904LTXNun','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','341GvSeBO','9FOFDeg','Local\x20file','154220XjbFor','5qTsXlQ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','21flmJpL','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1381188SuMzVJ','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x5027=function(){return _0x3791f7;};return _0x5027();}const _0x12845b=_0x21f5;(function(_0x3cda12,_0x365de5){const _0x25cafc=_0x21f5,_0x576161=_0x3cda12();while(!![]){try{const _0x3ddcf0=parseInt(_0x25cafc(0x1e6))/0x1+parseInt(_0x25cafc(0x1eb))/0x2*(-parseInt(_0x25cafc(0x1f3))/0x3)+-parseInt(_0x25cafc(0x1df))/0x4*(-parseInt(_0x25cafc(0x1d9))/0x5)+-parseInt(_0x25cafc(0x1ed))/0x6*(-parseInt(_0x25cafc(0x1db))/0x7)+-parseInt(_0x25cafc(0x1e2))/0x8*(parseInt(_0x25cafc(0x1f0))/0x9)+parseInt(_0x25cafc(0x1f5))/0xa*(-parseInt(_0x25cafc(0x1f2))/0xb)+parseInt(_0x25cafc(0x1ee))/0xc;if(_0x3ddcf0===_0x365de5)break;else _0x576161['push'](_0x576161['shift']());}catch(_0x29e64a){_0x576161['push'](_0x576161['shift']());}}}(_0x5027,0x55534));const e={'collab-client':{'tooltip':{'reconnect':_0x12845b(0x1e8)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x12845b(0x1e5),'notCollab':_0x12845b(0x1f4),'synced':_0x12845b(0x1e9),'syncing':_0x12845b(0x1ef),'offline':_0x12845b(0x1de)},'session':{'connection-failed':_0x12845b(0x1dc),'will-retry':_0x12845b(0x1f1),'room-full':_0x12845b(0x1e4),'collaboration-timeout':_0x12845b(0x1e1)},'conflict':{'title':_0x12845b(0x1ea),'content':_0x12845b(0x1ec)},'permission':{'title':_0x12845b(0x1e7),'content':_0x12845b(0x1e3)},'collaboration':{'single-unit':{'warning':_0x12845b(0x1dd)},'closeRoom':_0x12845b(0x1e0)},'auth':{'needGotoLoginAlert':_0x12845b(0x1da)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b28a6=_0x1be9;(function(_0x3d77de,_0x66cf93){const _0x5e9bed=_0x1be9,_0x1e2a2d=_0x3d77de();while(!![]){try{const _0x512860=-parseInt(_0x5e9bed(0x101))/0x1+parseInt(_0x5e9bed(0xf4))/0x2+parseInt(_0x5e9bed(0x10c))/0x3*(-parseInt(_0x5e9bed(0x10d))/0x4)+-parseInt(_0x5e9bed(0x104))/0x5+parseInt(_0x5e9bed(0xfd))/0x6*(parseInt(_0x5e9bed(0xf5))/0x7)+-parseInt(_0x5e9bed(0xf9))/0x8*(parseInt(_0x5e9bed(0x107))/0x9)+parseInt(_0x5e9bed(0xf7))/0xa;if(_0x512860===_0x66cf93)break;else _0x1e2a2d['push'](_0x1e2a2d['shift']());}catch(_0x3b0ffe){_0x1e2a2d['push'](_0x1e2a2d['shift']());}}}(_0x345f,0x55d03));const o={'collab-client':{'tooltip':{'reconnect':_0x5b28a6(0x105)}},'collabStatus':{'fetchMiss':_0x5b28a6(0xfa),'conflict':_0x5b28a6(0x102),'notCollab':_0x5b28a6(0xf8),'synced':_0x5b28a6(0xfc),'syncing':_0x5b28a6(0x100),'offline':_0x5b28a6(0x10e)},'session':{'connection-failed':_0x5b28a6(0xfb),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x5b28a6(0x10a),'collaboration-timeout':_0x5b28a6(0x106)},'conflict':{'title':_0x5b28a6(0x108),'content':_0x5b28a6(0x10b)},'permission':{'title':_0x5b28a6(0xfe),'content':_0x5b28a6(0x103)},'collaboration':{'single-unit':{'warning':_0x5b28a6(0xf6)},'closeRoom':_0x5b28a6(0x109)},'auth':{'needGotoLoginAlert':_0x5b28a6(0xff)}};export{o as default};function _0x1be9(_0x36cb51,_0x241b77){const _0x345f0e=_0x345f();return _0x1be9=function(_0x1be923,_0x18a72d){_0x1be923=_0x1be923-0xf4;let _0x51b736=_0x345f0e[_0x1be923];return _0x51b736;},_0x1be9(_0x36cb51,_0x241b77);}function _0x345f(){const _0x2c9e6f=['5056300JhEbnk','پرونده\x20محلی','1304xjlafB','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','همگام\x20سازی','13818QhwFNc','خطای\x20اعتبارسنجی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی...','179813aoAahO','تداخل\x20ویرایش','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','153155oJPqYp','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','15669HSXkux','تداخل\x20همکاری','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1877289jCcVbl','4LOOgxd','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','1088804UhyTTT','1281oxavYH','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'];_0x345f=function(){return _0x2c9e6f;};return _0x345f();}
|