@univerjs-pro/collaboration-client-ui 0.8.3 → 0.9.0

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5b4efa=_0x3518;(function(_0x2b4e24,_0x4a54d5){const _0xf92779=_0x3518,_0x4bdd20=_0x2b4e24();while(!![]){try{const _0x5acf14=-parseInt(_0xf92779(0x2fb))/0x1*(parseInt(_0xf92779(0x31a))/0x2)+parseInt(_0xf92779(0x2e8))/0x3*(-parseInt(_0xf92779(0x21d))/0x4)+-parseInt(_0xf92779(0x22e))/0x5+parseInt(_0xf92779(0x2fa))/0x6*(parseInt(_0xf92779(0x21f))/0x7)+parseInt(_0xf92779(0x2b5))/0x8+parseInt(_0xf92779(0x1a6))/0x9*(-parseInt(_0xf92779(0x365))/0xa)+parseInt(_0xf92779(0x1d7))/0xb;if(_0x5acf14===_0x4a54d5)break;else _0x4bdd20['push'](_0x4bdd20['shift']());}catch(_0x4d4dd6){_0x4bdd20['push'](_0x4bdd20['shift']());}}}(_0x3579,0x82305));var $t=Object[_0x5b4efa(0x34b)],xt=(_0x529035,_0x27c7f8,_0x8f79ff)=>_0x27c7f8 in _0x529035?$t(_0x529035,_0x27c7f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8f79ff}):_0x529035[_0x27c7f8]=_0x8f79ff,_=(_0x336db2,_0x71c694,_0x46e9fe)=>xt(_0x336db2,typeof _0x71c694!=_0x5b4efa(0x21e)?_0x71c694+'':_0x71c694,_0x46e9fe);import{MemberService as _0x24a34a,SessionStatus as _0x2d3788,CollaborationSessionService as _0x266dab,CollaborationStatus as _0x5152ea,CollaborationController as _0x408cc6,ILocalCacheService as _0x277322,CollaborationUIEventService as _0x1fe7b1,CollaborationUIEventId as _0x1eb493,DataLoaderService as _0x1465dc,DocCollaborationEntity as _0x309fe9,getLocalCacheKey as _0x2c338a,LOCAL_CACHE_INTERVAL as _0x356154,LOCAL_CACHE_INTERVAL_KEY as _0xf066de,UniverCollaborationClientPlugin as _0x3c18dc,CollaborationSocketService as _0x472bc4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4c11aa,DEFAULT_WS_SESSION_TICKET_URL as _0x21d4af,UnitStatus as _0x112e1e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x31621f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x733df}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x38ba1e,Disposable as _0x3449ee,DOC_RANGE_TYPE as _0x2a664c,Inject as _0x17f821,Injector as _0x1bdaf6,IUniverInstanceService as _0x166042,ICommandService as _0xb833f6,debounce as _0x1fb937,Rectangle as _0x44d08e,DisposableCollection as _0x5efb6b,toDisposable as _0x4e32ae,UniverInstanceType as _0x3860d6,Tools as _0x9af4da,COLORS as _0x55a633,ColorKit as _0x454f31,ThemeService as _0x2a5222,fromEventSubject as _0x5a2964,LocaleService as _0x144e47,createIdentifier as _0x5c862b,ILogService as _0x41ac4f,Optional as _0x2b45e6,Workbook as _0x32759e,CommandType as _0x5a7480,IConfigService as _0x556e6e,ILocalStorageService as _0x28ad72,DependentOn as _0x72a35,Plugin as _0x4d70f5,merge as _0x40ceb4,registerDependencies as _0x492771,mergeOverrideWithDependencies as _0x1ef9b1,touchDependencies as _0x48e288,generateRandomId as _0x27c680}from'@univerjs/core';import{Shape as _0x4b1f28,Rect as _0x2a533f,getColor as _0x5b1dc2,RegularPolygon as _0x12525e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x69d07d,Vector2 as _0x3bc027,SHEET_VIEWPORT_KEY as _0x3b852c,IRenderManagerService as _0x9df613}from'@univerjs/engine-render';import{ISocketService as _0x195750,WebSocketService as _0x2ff5db,HTTPService as _0x5817a5}from'@univerjs/network';import{IDocClipboardService as _0x29fb8a,NodePositionConvertToCursor as _0x19d055,NodePositionConvertToRectRange as _0xb7c07,TEXT_RANGE_LAYER_INDEX as _0x4e0af9,SetDocZoomRatioOperation as _0x5d1cf9,DocIMEInputManagerService as _0x328532,DocStateChangeManagerService as _0x1911b2}from'@univerjs/docs-ui';import{IImageIoService as _0xf6389b}from'@univerjs/drawing';import{BehaviorSubject as _0x4f34ea,debounceTime as _0x4f838c,takeUntil as _0x40f407,Subject as _0x5f2ef2,filter as _0x137306,switchMap as _0x542af7,merge as _0x4af1ba,combineLatest as _0x214175,of as _0x47a53c,fromEvent as _0x15f7b3,shareReplay as _0x3b7abc,mapTo as _0x13995b,distinctUntilChanged as _0x2f7c21}from'rxjs';import{ITransformService as _0x220695,CollaborationEvent as _0x180ebc,isTransformMutationFailure as _0x1985d5,isTransformMutationsWithChangesetSuccess as _0x196989,RevisionService as _0x383424,ISnapshotServerService as _0x26c83c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2cddaf,RichTextEditingMutation as _0x20931f,DocSelectionManagerService as _0x98b222,DocSkeletonManagerService as _0x5a7f44}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1a2468,serializeRangeWithSheet as _0x1bcb36}from'@univerjs/engine-formula';import{RefRangeService as _0x4ea11f,SetSelectionsOperation as _0x29afb5,SheetsSelectionsService as _0x53ed4d,EffectRefRangId as _0x1e58f9,handleIRemoveRow as _0x4df2f6,handleIRemoveCol as _0x1aec89,handleMoveRange as _0x5dd931,handleInsertRow as _0x569859,handleInsertRangeMoveRight as _0x3d227c,handleInsertRangeMoveDown as _0x49fc0f,handleInsertCol as _0x329a9c,handleDeleteRangeMoveUp as _0x35006c,handleDeleteRangeMoveLeft as _0x4efd28,runRefRangeMutations as _0x1630e4,SetWorksheetActivateCommand as _0x31db9e}from'@univerjs/sheets';import{map as _0x5c459e,filter as _0x482697,throttleTime as _0x513ffd,takeUntil as _0x46ab32,switchMap as _0x4e5146}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1da1db,getCoordByCell as _0x1805fb,getSheetObject as _0x486981}from'@univerjs/sheets-ui';function _0x3579(){const _0x2bc9aa=['_updateLocalCursor','length','onPointerMove$','NO_OTHER_CLIENTS_EDITING','undoState','imageSourceType','pushState','_transformHistoryAndStateStack','getSkeleton','post','roomMembers','getRenderById','url(#$1','_textBubble','pluginName','getCurrent','_online','url(#off-line-icon_clip0_910_343)','onPointerLeave$','INVITE_CODE_HAS_BEEN_UES','dispose$','collaboration.closeRoom','hovered','WECHAT_HAS_BEEN_BOUND','UPDATE_CURSOR','RECT','MUTATION','requireSession','#FFF','LICENSE_MAX_UNITS_EXCEEDED','_cursorInfo$','[CollaborationDataLoaderController]','clearInterval','YUUMI_SUBSCRIPTION_NOT_FOUND','map','height','_uiPartsService','SUBMIT_CHANGESET_TIMEOUT','asObservable','InsertRowCommandId','UNIVER_DOC','_initEntityListener','type','invokeId','setTimeout','INTERNAL_ERROR','loadUnit','transformMutation','width','_unitOnClients','newValue','makeDirty','_httpService','_collabCursorController','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','measureText','result','_docClipboardService','getMergeData','white','UNDEFINED','_color','univer-flex\x20univer-items-center','mutations','_revisionService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','on-line-icon_clip0_910_349','displayName','resize','_labelPosition','_initResize','next','syncEditingCollabCursor','generateRandomId','_transformUndoRedoStack','_collabSessionService','icon','_removeClearOtherTimer','1em','FromArray','2743872proiZv','eventID','_drawTextRange','event$','init','getActiveSheet','_range','flatMap','toRgbString','row','fillText','_config','location','clipPath','EMAIL_VERIFY_CODE_MISMATCH','setAlpha','_drawRectRange','color','getSheetId','ONLINE','uni.network.url-service','INVITE_CODE_ALREADY_BOUND','beginPath','rgba(255,\x20255,\x20255,\x200.01)','_cachedData','get','InsertColCommandId','AWAITING_WITH_PENDING','attrs','evenodd','getUnhiddenWorksheets','push','_refRangeService','round','getViewport','trim','_imageIoService','activeSheet$','createInstance','selection','endRow','wsSessionTicketUrl','INVITE_CODE_REQUIRED','path','_scheduleClearOtherTimer','dispose','collab-rect-range-','fill','status$','_toggleOffline','application/json','2742702jRZQmV','name','_startDocCollabCursor','_ensureSubject','sessionStatus$','OnLineIcon','SOCKET_FAILED_RETRY','getStateCache','INVALID_ARGUMENT','roomMembers$','transformStateCache','onPointerEnter$','onRendered','_dataLoaderService','YUUMI_ASYNCIO_CANCELLED','APPLY_NON_SEQUENTIAL_REVISION','isArray','colorChannel1','1634394shgjVJ','5267tbqNKm','getSheetBySheetId','_beforeCloseService','xlink:href','transformMutationsWithChangeset','className','moveTo','LICENSE_DISTRO_REJECTED','some','getColorFromTheme','_backgroundColor','AWAITING','_handleJoinEvent','_getAnchorBounding','enableLocalCache','getMember','getCurrentSelections','getConfig','getRangePointData','_transformService','values','delete','Failed','size','CHANGESET_REVISION_CONFILICT','PY_RUNTIME_SCRIPT_ERROR','_anchor','Unknown\x20user','history','subUnitId','from','318OhrDvt','getCurrentRevOfUnit','all','YUUMI_CONNECTOR_URL_NOT_FOUND','urlChange$','registerRenderModule','setItem','purple.300','_hovered','DeleteRangeMoveUpCommandId','random','_getSaveTimeout','assignAColorForMemberID','_saveTaskMap','currentTheme$','NOT_COLLAB','top','m2Prime','textRanges','yellow.400','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','_createSocketURL','toString','backgroundColor','getUnitStatus$','forEach','split','debug','cursorInfo','key','LICENSE_IMPORT_SIZE_EXCEEDED','onCommandExecuted','UniverIcon','indexOf','arc','_cursor','disposeWithMe','TEXT','APPLY_PERMISSION_DENIED','getUndoRedoMutationParamsCache','substring','text','drawWith','_sheetSkeletonManagerService','closePath','_context','_hideTimer','off-line-icon','defineProperty','getVpScrollXYInfoByPosToVp','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','collabStatus.synced','_themeService','USER_NOT_INVITED_CODE','unitId','currentColor','addHandlerCallback','children','FETCH_MISS','unit','_docStateChangeManagerService','NOT_FOUND','range','unitID','_updateCollabCursors','_roomMembers$','_notificationService','executeCommand','jiqing.500','m1Prime','_cursors','_clearOtherTimers','getCurrentUnitForType','_toggleOnline','41480WkjHIc','getOwnPropertySymbols','permission.content','UNAUTHENTICATED','_docTransformIMECacheService','_onCursorDelete','COMPLETION_FINISHED','hide','getTypeOfUnitDisposed$','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','VIEW_MAIN','exhaustSavingTask','column','_transformPreviousActiveRange','_updateSubUnitFromURLParams','sheetId','_unitStatus','_entities','MoveRangeCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_draw','min','_lastPointer','_scheduleSaving','_docTransformSelectionsService','_doCreateSocket','_selfUnitIDs','code','collaboration-client.offline-data-not-saved','startRow','subunit','_refreshCollabCursors','OTHER_CLIENT_EDITING','override','defIds','call','_init','getUnitId','_scheduleHeartbeat','session.collaboration-timeout','fillRule','replace','APPLY_REVISION_CONFILICT','LICENSE_EXPORT_SIZE_EXCEEDED','_onRefRangeChange','ALREADY_EXISTS','_initDependencies','editingUnit','onMouseMove','whenReady','subscribeEvent','getAncestorScale','_hover','saveTaskMap','_localeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONFLICT','collabStatus.offline','div','PERMISSION_DENIED','docStateChange$','getParam','_urlService','_handleEvent','set','InsertRangeMoveDownCommandId','_setupSubUnitSync','source','replaceState','_messageService','_id','extend','createSocket','complete','collabCursorState$','1602oNgYBT','_docSkeletonManagerService','lineTo','setShapeProps','_handleLeaveEvent','_saveCache','_collabCursorState$','_getSessionTicket','_commandService','params','YUUMI_RATE_OVER_LIMIT','getDocRanges','transform','startsWith','_scene','pipe','_docTransformStateCacheService','unload','_registerDependencies','addObject','collabStatus.notCollab','_assignedColors','DeleteRangeMoveLeftCommandId','_entityInit$','setUndoRedoMutationParamsCache','tag','function','_disabled','assign','_getScale','_heartbeatTimer','runId','red.300','APPLY_DUPLICATED','_handleHover','APPLY_REJECT','replaceDocRanges','InsertRangeMoveRightCommandId','_send','univer-mr-2\x20univer-flex\x20univer-text-xl','has','getFocusedUnit','_docSyncEditingCollabCursorService','_setupBeforeClosingHandler','_anchorDot','error','collab-text-anchor-','onTransformChange$','getItem','32205899NKKTPz','_logService','_colorIndex','max','_cursorShapes','updateOfflineData','blue.400','transformIMECache','_session','YUUMI_ALL_TABLES_IS_INVALID','_syncEditingCollabCursorService','Error','getValue','defs','isActive','_status$','_localStorageService','_updateURLWithCurrentState','setInterval','unsubscribe','doc.mutation.rich-text-editing','entries','YUUMI_NO_CUBOID_FOR_QUESTION','SYNCED','collaboration-client-ui.config','searchParams','findNodePositionByCharIndex','getCellPositionByOffset','_onCursorUpdate','concat','restore','then','body','transformRemoteChangeset','HEADER_MENU','string','_initStatusListener','LOGIN_FAILED','cursorInfo$','YUUMI_AI_RUN_FAILED','send','deepClone','onLocalMutation','save','popstate','isEditing','OFFLINE','getMemberID','ranges','selections','add','addObjects','MOBILE_VERIFY_CODE_MISMATCH','CONNECTOR_DATA_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','_handleHeartbeatEvent','removeParam','triggerDblclick','_removeCollabCursors','executionId','...','idSuffix','prototype','_renderManagerService','green.600','show','_registerRenderDependencies','_shapes','origin','YUUMI_UNABLE_LOAD_URL','4TRirba','symbol','21GwAoSD','saveOfflineData','storage','fillStyle','registerComponent','UNRECOGNIZED','currentSkeleton$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-text-range-','focused$','svg','with','_render','session.will-retry','getActiveRange','5323530omtGmb','sheetID','RemoveRowCommandId','onStarting','stringify','_initEvent','ticket','redoState','labelPosition','href','registerRefRange','_instanceService','_getSheetObject','YUUMI_URL_COL_OUT_OF_RANGE','_collaborationController','getOwnPropertyDescriptor','_memberService','collaboration.single-unit.warning','_collaborationUIEventService','setParam','setActiveRange','getRelativeToViewportCoord','subscribe','_eventUnsubscribe','collabStatus.syncing','_name','_startSheetCollabCursor','black','memberID','data','session.connection-failed','getTypeOfUnitAdded$','_configService','reconnect','includes','transformByState','M0\x200H16V16H0z','_drawAnchor','_univerInstanceService','RemoveColCommandId','USERS_LEAVE','UNIVER_SHEET','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SNAPSHOT_HAS_BEEN_REMOVED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initCommandExecutedListener','off-line-icon_clip0_910_343','_colorAssignService','unshift','http://www.w3.org/2000/svg','_injector','current','addClipboardHook','Warning'];_0x3579=function(){return _0x2bc9aa;};return _0x3579();}import{jsx as _0x2b3c94,jsxs as _0x18f578}from'react/jsx-runtime';import{useObservable as _0x49029c,useDependency as _0x188343,IUIPartsService as _0xa159a1,BuiltInUIPart as _0x29a40d,connectInjector as _0x3c5ef4,IBeforeCloseService as _0x203a64,IMessageService as _0x3e5e5c,INotificationService as _0x427272}from'@univerjs/ui';import{Tooltip as _0x184e3c,clsx as _0x5653b9,MessageType as _0x21a0d4}from'@univerjs/design';import{forwardRef as _0x1df6b8,useRef as _0x5c48e3,createElement as _0x12f687,useCallback as _0x2efa88}from'react';import{IRemoteInstanceService as _0x55556f}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x3c5625,_0x70f817,_0x174628,_0x2a1131)=>{for(var _0x2c71d2=_0x2a1131>0x1?void 0x0:_0x2a1131?ci(_0x70f817,_0x174628):_0x70f817,_0xc0d6a6=_0x3c5625['length']-0x1,_0x2793c8;_0xc0d6a6>=0x0;_0xc0d6a6--)(_0x2793c8=_0x3c5625[_0xc0d6a6])&&(_0x2c71d2=_0x2793c8(_0x2c71d2)||_0x2c71d2);return _0x2c71d2;},Je=(_0x55830f,_0x13ad52)=>(_0x3e3f31,_0x380df2)=>_0x13ad52(_0x3e3f31,_0x380df2,_0x55830f);let Ne=class extends _0x38ba1e{constructor(_0x56b260,_0x29da77){const _0x4384c5=_0x5b4efa;super(),this[_0x4384c5(0x29e)]=_0x56b260,this[_0x4384c5(0x2d9)]=_0x29da77,this[_0x4384c5(0x17f)]();}[_0x5b4efa(0x17f)](){const _0x16696b=_0x5b4efa,_0xdc8f48=this;this[_0x16696b(0x33f)](this[_0x16696b(0x29e)][_0x16696b(0x262)]({'onBeforePasteImage':async _0x243a3e=>{const _0x193da1=_0x16696b,_0x1c0988=await _0xdc8f48[_0x193da1(0x2d9)]['saveImage'](_0x243a3e);return _0x1c0988?{'source':_0x1c0988[_0x193da1(0x19e)],'imageSourceType':_0x1c0988[_0x193da1(0x269)]}:null;}}));}};Ne=li([Je(0x0,_0x29fb8a),Je(0x1,_0xf6389b)],Ne);const Ze=[_0x5b4efa(0x321),_0x5b4efa(0x35f),_0x5b4efa(0x217),_0x5b4efa(0x1c6),_0x5b4efa(0x1dd),_0x5b4efa(0x32d)];class ke extends _0x3449ee{constructor(){const _0x55c215=_0x5b4efa;super(...arguments),_(this,_0x55c215(0x1bb),new Map()),_(this,_0x55c215(0x1d9),0x0);}[_0x5b4efa(0x326)](_0x9a15d7){const _0x4bcd26=_0x5b4efa;if(this[_0x4bcd26(0x1bb)][_0x4bcd26(0x1ce)](_0x9a15d7))return this[_0x4bcd26(0x1bb)]['get'](_0x9a15d7);const _0x46b5a4=Ze[this[_0x4bcd26(0x1d9)]];return this[_0x4bcd26(0x1d9)]=(this[_0x4bcd26(0x1d9)]+0x1)%Ze[_0x4bcd26(0x265)],this[_0x4bcd26(0x1bb)][_0x4bcd26(0x19b)](_0x9a15d7,_0x46b5a4),_0x46b5a4;}}function Tt(_0x487f4a){let _0x10427c='';for(const _0x4f1497 of _0x487f4a){const {startOffset:_0x8b75e1,endOffset:_0x51c189,isActive:_0x1f9244,rangeType:_0x49fb63,segmentId:_0x2eb0a9,segmentPage:_0x52a17a}=_0x4f1497;_0x10427c['length']&&(_0x10427c+=','),_0x10427c+=_0x8b75e1+':'+_0x51c189+':'+(_0x1f9244?'1':'0')+':'+_0x49fb63+':'+_0x2eb0a9+':'+_0x52a17a;}return _0x10427c;}function _i(_0x3be100){const _0x55f11b=_0x5b4efa,_0xf40a85=_0x3be100[_0x55f11b(0x335)](','),_0x53b3c7=[];for(const _0x47feae of _0xf40a85){const [_0x39195a,_0x5cb6c7,_0x3f1fb7,_0x37c4ec,_0x3e4ae7,_0x243074]=_0x47feae[_0x55f11b(0x335)](':');_0x53b3c7['push']({'startOffset':Number(_0x39195a),'endOffset':Number(_0x5cb6c7),'collapsed':_0x39195a===_0x5cb6c7,'isActive':_0x3f1fb7==='1','rangeType':_0x37c4ec===_0x2a664c[_0x55f11b(0x340)]?_0x2a664c[_0x55f11b(0x340)]:_0x2a664c['RECT'],'segmentId':typeof _0x3e4ae7==_0x55f11b(0x1fa)?String(_0x3e4ae7):'','segmentPage':Number(_0x243074!=null?_0x243074:-0x1)});}return _0x53b3c7[_0x55f11b(0x303)](_0xa7afb4=>_0xa7afb4[_0x55f11b(0x1e5)])||(_0x53b3c7[0x0]['isActive']=!0x0),_0x53b3c7;}class He extends _0x38ba1e{constructor(){const _0x472e94=_0x5b4efa;super(...arguments),_(this,_0x472e94(0x1ac),new _0x4f34ea(null)),_(this,_0x472e94(0x1a5),this[_0x472e94(0x1ac)]['asObservable']());}[_0x5b4efa(0x2ad)](_0x16d71d){const _0x63b3e=_0x5b4efa,{unitID:_0x22c91d,memberID:_0x189266,textRanges:_0x2be40a}=_0x16d71d,_0x22c3cb=Tt(_0x2be40a);if(_0x22c3cb==='')return;const _0x31091d={'unitID':_0x22c91d,'memberID':_0x189266,'selection':_0x22c3cb};this[_0x63b3e(0x1ac)][_0x63b3e(0x2ac)](_0x31091d);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x463ba1,_0x4a00ff,_0x19e82b,_0x3de992)=>{const _0x4b6b4a=_0x5b4efa;for(var _0x3fb88d=_0x3de992>0x1?void 0x0:_0x3de992?hi(_0x4a00ff,_0x19e82b):_0x4a00ff,_0xe3d178=_0x463ba1[_0x4b6b4a(0x265)]-0x1,_0x580a44;_0xe3d178>=0x0;_0xe3d178--)(_0x580a44=_0x463ba1[_0xe3d178])&&(_0x3fb88d=_0x580a44(_0x3fb88d)||_0x3fb88d);return _0x3fb88d;},P=(_0x374eda,_0x1028fb)=>(_0x49b27a,_0x12ca2b)=>_0x1028fb(_0x49b27a,_0x12ca2b,_0x374eda);const di=0x12c,fi=0x64;let Ue=class extends _0x38ba1e{constructor(_0x24667a,_0x6730ff,_0x548584,_0x196590,_0x268370,_0x108f86,_0x52b03c,_0x37fde9,_0x5f1eea){const _0x25bdfc=_0x5b4efa;super(),_(this,_0x25bdfc(0x274),!0x1),_(this,_0x25bdfc(0x17f),!0x1),_(this,_0x25bdfc(0x282),new _0x4f34ea(new Map())),_(this,_0x25bdfc(0x1fd),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4f34ea([])),_(this,_0x25bdfc(0x2f1),this[_0x25bdfc(0x35c)][_0x25bdfc(0x1b5)](_0x4f838c(di))),_(this,_0x25bdfc(0x264),_0x1fb937(_0x218bd0=>{const _0x528f02=_0x25bdfc,_0x2930dc={'eventID':_0x180ebc[_0x528f02(0x27c)],'data':{'unitID':this[_0x528f02(0x35a)],'memberID':this[_0x528f02(0x1df)]['getMemberID'](),'selection':Tt(_0x218bd0)}};this[_0x528f02(0x1df)][_0x528f02(0x1ff)](_0x2930dc,this['unitID']);},fi)),(this[_0x25bdfc(0x35a)]=_0x24667a,this['_session']=_0x6730ff,this[_0x25bdfc(0x260)]=_0x548584,this[_0x25bdfc(0x25d)]=_0x196590,this['_memberService']=_0x268370,this['_syncEditingCollabCursorService']=_0x108f86,this[_0x25bdfc(0x30e)]=_0x52b03c,this[_0x25bdfc(0x254)]=_0x37fde9,this[_0x25bdfc(0x1ae)]=_0x5f1eea);}get[_0x5b4efa(0x337)](){const _0x4a3287=_0x5b4efa;return this[_0x4a3287(0x282)][_0x4a3287(0x1e3)]();}get[_0x5b4efa(0x26e)](){const _0x938e37=_0x5b4efa;return this[_0x938e37(0x35c)][_0x938e37(0x1e3)]();}[_0x5b4efa(0x2e2)](){const _0x1acb29=_0x5b4efa;super[_0x1acb29(0x2e2)](),this[_0x1acb29(0x282)][_0x1acb29(0x2ac)](new Map()),this[_0x1acb29(0x282)][_0x1acb29(0x1a4)](),this[_0x1acb29(0x35c)][_0x1acb29(0x2ac)]([]),this[_0x1acb29(0x35c)][_0x1acb29(0x1a4)]();}[_0x5b4efa(0x2b9)](){const _0x33d503=_0x5b4efa;this[_0x33d503(0x17f)]||(this[_0x33d503(0x17f)]=!0x0,this['_session'][_0x33d503(0x2ec)][_0x33d503(0x1b5)](_0x40f407(this[_0x33d503(0x278)]))[_0x33d503(0x244)](_0x2287dd=>{const _0x4b7cdc=_0x33d503;_0x2287dd===_0x2d3788[_0x4b7cdc(0x2c8)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x33d503(0x1df)][_0x33d503(0x2b8)][_0x33d503(0x1b5)](_0x40f407(this[_0x33d503(0x278)]))[_0x33d503(0x244)](_0x24aaf3=>{const _0x3389e8=_0x33d503,_0x5bb586=_0x24aaf3[_0x3389e8(0x2b6)];_0x5bb586===_0x180ebc[_0x3389e8(0x27c)]&&this[_0x3389e8(0x1f3)](_0x24aaf3),_0x5bb586===_0x180ebc[_0x3389e8(0x256)]&&this[_0x3389e8(0x36a)](_0x24aaf3);}),this['disposeWithMe'](this[_0x33d503(0x1ae)][_0x33d503(0x33a)](_0x2e1b3e=>{const _0x349046=_0x33d503,_0x478206=_0x2e1b3e['params'];_0x478206!=null&&this[_0x349046(0x274)]&&_0x2e1b3e['id']===_0x2cddaf['id']&&_0x478206[_0x349046(0x351)]===this[_0x349046(0x35a)]&&_0x478206[_0x349046(0x204)]===!0x1&&_0x478206['ranges'][_0x349046(0x265)]>0x0&&this['_updateLocalCursor'](_0x478206[_0x349046(0x207)]);})),this[_0x33d503(0x1e1)]['collabCursorState$'][_0x33d503(0x1b5)](_0x40f407(this['dispose$']))['subscribe'](_0x54e332=>{const _0x5c1999=_0x33d503;if((_0x54e332==null?void 0x0:_0x54e332[_0x5c1999(0x35a)])!==this[_0x5c1999(0x35a)])return;const _0x3319e0={'eventID':_0x180ebc[_0x5c1999(0x27c)],'data':_0x54e332};this[_0x5c1999(0x1f3)](_0x3319e0);}),this[_0x33d503(0x33f)](this[_0x33d503(0x1ae)]['onCommandExecuted'](_0x30ee00=>{const _0x2b099c=_0x33d503;if(_0x30ee00[_0x2b099c(0x1af)]==null)return;const _0x52790c=_0x30ee00[_0x2b099c(0x1af)];if(_0x30ee00['id']!==_0x20931f['id']||_0x52790c[_0x2b099c(0x351)]!==this[_0x2b099c(0x35a)])return;const _0x48e40a={'id':_0x2b099c(0x1eb),'params':_0x52790c},_0x8ffe8a=this[_0x2b099c(0x337)];for(const [_0x19f17a,_0x15ff12]of _0x8ffe8a){const _0x4c7283={'id':_0x2b099c(0x1eb),'params':{'unitId':this[_0x2b099c(0x35a)],'actions':null,'textRanges':_0x15ff12['ranges']}},_0x36b768=this[_0x2b099c(0x30e)][_0x2b099c(0x293)](_0x48e40a,_0x4c7283,!0x1);if(_0x1985d5(_0x36b768))throw _0x36b768[_0x2b099c(0x1d3)];_0x8ffe8a[_0x2b099c(0x19b)](_0x19f17a,{..._0x15ff12,'ranges':_0x36b768[_0x2b099c(0x32b)]['params'][_0x2b099c(0x32c)]});}queueMicrotask(()=>{const _0x3e61dc=_0x2b099c;this[_0x3e61dc(0x282)][_0x3e61dc(0x2ac)](_0x8ffe8a);});})));}[_0x5b4efa(0x1f3)](_0x2074ba){const _0x1dcad4=_0x5b4efa;var _0x184383,_0x4cc89a;const {memberID:_0x507115,selection:_0x3d09a4}=_0x2074ba['data'],_0x5ce002=_i(_0x3d09a4),_0x43b486=(_0x4cc89a=(_0x184383=this['_memberService']['getMember'](this[_0x1dcad4(0x35a)],_0x507115))==null?void 0x0:_0x184383['name'])!=null?_0x4cc89a:_0x1dcad4(0x316),_0xab9e75={'color':this[_0x1dcad4(0x25d)][_0x1dcad4(0x326)](_0x507115),'name':_0x43b486,'ranges':_0x5ce002},_0x21479f=this[_0x1dcad4(0x337)];_0x21479f[_0x1dcad4(0x19b)](_0x507115,_0xab9e75),this[_0x1dcad4(0x282)][_0x1dcad4(0x2ac)](_0x21479f);}['_onCursorDelete'](_0x5bd8e5){const _0x2f0237=_0x5b4efa,{memberID:_0x44e85}=_0x5bd8e5[_0x2f0237(0x24b)],_0x217af6=this[_0x2f0237(0x337)];_0x217af6['delete'](_0x44e85),this[_0x2f0237(0x282)]['next'](_0x217af6);}['_toggleOnline'](){const _0x55da7f=_0x5b4efa;var _0x31459c;if(this[_0x55da7f(0x274)]=!0x0,((_0x31459c=this[_0x55da7f(0x254)][_0x55da7f(0x1cf)]())==null?void 0x0:_0x31459c[_0x55da7f(0x180)]())!==this[_0x55da7f(0x35a)])return;const _0x3d21e6=this[_0x55da7f(0x260)][_0x55da7f(0x2ce)](_0x98b222)[_0x55da7f(0x1b1)]();Array['isArray'](_0x3d21e6)&&_0x3d21e6['length']>0x0&&this[_0x55da7f(0x264)](_0x3d21e6);}[_0x5b4efa(0x2e6)](){const _0x392f88=_0x5b4efa;this[_0x392f88(0x274)]=!0x1;}};Ue=ui([P(0x2,_0x17f821(_0x1bdaf6)),P(0x3,_0x17f821(ke)),P(0x4,_0x17f821(_0x24a34a)),P(0x5,_0x17f821(He)),P(0x6,_0x220695),P(0x7,_0x166042),P(0x8,_0xb833f6)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x7e45f0,_0x2c4497,_0x25e8b4,_0x4d59ef)=>{const _0x4cca59=_0x5b4efa;for(var _0x336325=_0x4d59ef>0x1?void 0x0:_0x4d59ef?Si(_0x2c4497,_0x25e8b4):_0x2c4497,_0x2046c8=_0x7e45f0[_0x4cca59(0x265)]-0x1,_0x197e7a;_0x2046c8>=0x0;_0x2046c8--)(_0x197e7a=_0x7e45f0[_0x2046c8])&&(_0x336325=_0x197e7a(_0x336325)||_0x336325);return _0x336325;},x=(_0x1d08a4,_0x379143)=>(_0x5ea0e9,_0x3d3ff7)=>_0x379143(_0x5ea0e9,_0x3d3ff7,_0x1d08a4);const Ii=0x12c,gi=0x64,vi=()=>{let _0x570b6a=[],_0x2325a0=!0x1;return _0x23b2d4=>{const _0x4693bc=_0x3518;_0x570b6a[_0x4693bc(0x2d4)](_0x23b2d4),_0x2325a0||(_0x2325a0=!0x0,setTimeout(()=>{const _0x16e6aa=_0x4693bc;_0x570b6a[_0x16e6aa(0x334)](_0x231730=>_0x231730()),_0x570b6a=[],_0x2325a0=!0x1;}));};};let Me=class extends _0x38ba1e{constructor(_0x27ef78,_0x4f9b50,_0x2a9186,_0x312c85,_0x28743e,_0x8d1a72,_0xdbcaf2,_0x240fb2){const _0x20e65d=_0x5b4efa;super(),_(this,_0x20e65d(0x274),!0x1),_(this,_0x20e65d(0x17f),!0x1),_(this,_0x20e65d(0x282),new _0x4f34ea(new Map())),_(this,_0x20e65d(0x1fd),this[_0x20e65d(0x282)][_0x20e65d(0x28a)]()),_(this,_0x20e65d(0x35c),new _0x4f34ea([])),_(this,_0x20e65d(0x2f1),this[_0x20e65d(0x35c)][_0x20e65d(0x1b5)](_0x4f838c(Ii))),_(this,'_updateLocalCursor',_0x1fb937((_0x598937,_0x3b781e)=>{const _0x53acd4=_0x20e65d,_0xcbc5c4={'eventID':_0x180ebc['UPDATE_CURSOR'],'data':{'unitID':this[_0x53acd4(0x35a)],'memberID':this['_session'][_0x53acd4(0x206)](),'selection':_0x1bcb36(_0x598937,_0x3b781e['range'])}};this[_0x53acd4(0x1df)][_0x53acd4(0x1ff)](_0xcbc5c4,this[_0x53acd4(0x35a)]);},gi)),(this[_0x20e65d(0x35a)]=_0x27ef78,this['_session']=_0x4f9b50,this[_0x20e65d(0x260)]=_0x2a9186,this[_0x20e65d(0x25d)]=_0x312c85,this['_memberService']=_0x28743e,this[_0x20e65d(0x254)]=_0x8d1a72,this[_0x20e65d(0x1ae)]=_0xdbcaf2,this[_0x20e65d(0x2d5)]=_0x240fb2);}get[_0x5b4efa(0x337)](){const _0x5c0e36=_0x5b4efa;return this[_0x5c0e36(0x282)]['getValue']();}get[_0x5b4efa(0x26e)](){const _0x3bc16b=_0x5b4efa;return this[_0x3bc16b(0x35c)][_0x3bc16b(0x1e3)]();}[_0x5b4efa(0x2e2)](){const _0x1ab621=_0x5b4efa;super['dispose'](),this[_0x1ab621(0x282)][_0x1ab621(0x2ac)](new Map()),this[_0x1ab621(0x282)]['complete'](),this[_0x1ab621(0x35c)][_0x1ab621(0x2ac)]([]),this[_0x1ab621(0x35c)][_0x1ab621(0x1a4)]();}[_0x5b4efa(0x2b9)](){const _0x1a7bf3=_0x5b4efa;this[_0x1a7bf3(0x17f)]||(this[_0x1a7bf3(0x17f)]=!0x0,this[_0x1a7bf3(0x1df)][_0x1a7bf3(0x2ec)][_0x1a7bf3(0x1b5)](_0x40f407(this[_0x1a7bf3(0x278)]))[_0x1a7bf3(0x244)](_0x23dc3c=>{const _0x178acd=_0x1a7bf3;_0x23dc3c===_0x2d3788['ONLINE']?this['_toggleOnline']():this[_0x178acd(0x2e6)]();}),this[_0x1a7bf3(0x1df)][_0x1a7bf3(0x2b8)]['pipe'](_0x40f407(this[_0x1a7bf3(0x278)]))[_0x1a7bf3(0x244)](_0x5b6925=>{const _0x24e745=_0x1a7bf3,_0x679a20=_0x5b6925[_0x24e745(0x2b6)];_0x679a20===_0x180ebc[_0x24e745(0x27c)]&&this[_0x24e745(0x1f3)](_0x5b6925),_0x679a20===_0x180ebc[_0x24e745(0x256)]&&this[_0x24e745(0x36a)](_0x5b6925);}),this[_0x1a7bf3(0x187)](),this['disposeWithMe'](this[_0x1a7bf3(0x1ae)][_0x1a7bf3(0x33a)](_0x24c825=>{const _0x2892f1=_0x1a7bf3;if(this[_0x2892f1(0x274)]&&_0x24c825['id']===_0x29afb5['id']&&_0x24c825[_0x2892f1(0x1af)][_0x2892f1(0x351)]===this['unitID']){const _0x1feed2=_0x24c825[_0x2892f1(0x1af)];this[_0x2892f1(0x264)](_0x1feed2[_0x2892f1(0x318)],_0x1feed2[_0x2892f1(0x208)][0x0]);}})));}[_0x5b4efa(0x1f3)](_0x521ebc){const _0x3d25a1=_0x5b4efa;var _0x35b6bd,_0x692859;const {memberID:_0x5df45e,selection:_0xf892db}=_0x521ebc[_0x3d25a1(0x24b)],{sheetName:_0x11e7d6,range:_0x377045}=_0x1a2468(_0xf892db),_0xe93782={'name':(_0x692859=(_0x35b6bd=this[_0x3d25a1(0x23e)][_0x3d25a1(0x30a)](this[_0x3d25a1(0x35a)],_0x5df45e))==null?void 0x0:_0x35b6bd[_0x3d25a1(0x2e9)])!=null?_0x692859:_0x3d25a1(0x316),'range':this['_getMergeRange'](_0x11e7d6,_0x377045),'sheetID':_0x11e7d6,'color':this[_0x3d25a1(0x25d)][_0x3d25a1(0x326)](_0x5df45e),'selection':_0xf892db},_0x4abfa6=this[_0x3d25a1(0x337)];_0x4abfa6[_0x3d25a1(0x19b)](_0x5df45e,_0xe93782),this['_cursorInfo$'][_0x3d25a1(0x2ac)](_0x4abfa6);}[_0x5b4efa(0x36a)](_0x1eb7e3){const _0x5552f8=_0x5b4efa,{memberID:_0x1dd79}=_0x1eb7e3[_0x5552f8(0x24b)],_0x38f2d2=this[_0x5552f8(0x337)];_0x38f2d2[_0x5552f8(0x310)](_0x1dd79),this[_0x5552f8(0x282)][_0x5552f8(0x2ac)](_0x38f2d2);}['_getMergeRange'](_0x32ea38,_0x3eed9d){const _0x3be8b2=_0x5b4efa;var _0x1cefa1,_0x421447;const _0x1858fe=(_0x421447=(_0x1cefa1=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x1cefa1['getSheetBySheetId'](_0x32ea38))==null?void 0x0:_0x421447[_0x3be8b2(0x29f)]();return(_0x1858fe==null?void 0x0:_0x1858fe['find'](_0x3b8397=>_0x44d08e['contains'](_0x3b8397,_0x3eed9d)))||_0x3eed9d;}[_0x5b4efa(0x187)](){const _0x177758=_0x5b4efa,_0x403c19=new _0x5efb6b(),_0x51a554=vi(),_0x466adc=()=>{const _0x1bcb80=_0x3518;_0x403c19[_0x1bcb80(0x2e2)]();const _0x2252e0=(_0x5a1a33,_0x2a9304,_0x8b6a5e,_0x11bfd6)=>{const _0x4cc247=_0x1bcb80;let _0x26a695=[];switch(_0x5a1a33['id']){case _0x1e58f9[_0x4cc247(0x1bc)]:{_0x26a695=_0x4efd28(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x323)]:{_0x26a695=_0x35006c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x2cf)]:{_0x26a695=_0x329a9c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x19c)]:{_0x26a695=_0x49fc0f(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x1cb)]:{_0x26a695=_0x3d227c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x28b)]:{_0x26a695=_0x569859(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x377)]:{_0x26a695=_0x5dd931(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x255)]:{_0x26a695=_0x1aec89(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x230)]:{_0x26a695=_0x4df2f6(_0x5a1a33,_0x11bfd6);break;}}const _0xc993c4=_0x1630e4(_0x26a695,_0x11bfd6),_0x42f173=this[_0x4cc247(0x337)][_0x4cc247(0x2ce)](_0x2a9304);if(_0x42f173&&_0xc993c4){const _0x27a7a8={..._0x42f173,'range':_0xc993c4};this['cursorInfo'][_0x4cc247(0x19b)](_0x2a9304,_0x27a7a8),_0x51a554(()=>{const _0x1e7e55=_0x4cc247,_0x4c22f0=this[_0x1e7e55(0x2d5)][_0x1e7e55(0x238)](_0xc993c4,_0x41b9fa=>(_0x4c22f0[_0x1e7e55(0x2e2)](),_0x2252e0(_0x41b9fa,_0x2a9304,_0x8b6a5e,_0xc993c4)));_0x403c19[_0x1e7e55(0x209)](_0x4c22f0);});}return{'redos':[],'undos':[]};};this[_0x1bcb80(0x337)]['forEach']((_0x2bb16e,_0x1a1d19)=>{const _0x4bb9c5=_0x1bcb80,{range:_0x2da098,sheetID:_0x1d6879}=_0x2bb16e,_0x406f5f=this[_0x4bb9c5(0x2d5)]['registerRefRange'](_0x2da098,_0x200bf4=>(_0x406f5f[_0x4bb9c5(0x2e2)](),_0x2252e0(_0x200bf4,_0x1a1d19,_0x1d6879,_0x2da098)));_0x403c19[_0x4bb9c5(0x209)](_0x406f5f);});};this[_0x177758(0x33f)](_0x4e32ae(this[_0x177758(0x282)][_0x177758(0x244)](()=>{_0x466adc();})));}[_0x5b4efa(0x364)](){const _0x34ff01=_0x5b4efa;var _0x440d78,_0x1cca3b;if(this[_0x34ff01(0x274)]=!0x0,((_0x440d78=this['_univerInstanceService'][_0x34ff01(0x1cf)]())==null?void 0x0:_0x440d78[_0x34ff01(0x180)]())!==this[_0x34ff01(0x35a)])return;const _0x5b782a=(_0x1cca3b=this[_0x34ff01(0x260)][_0x34ff01(0x2ce)](_0x53ed4d)[_0x34ff01(0x30b)]())==null?void 0x0:_0x1cca3b[0x0],_0x2ab0e5=this[_0x34ff01(0x254)][_0x34ff01(0x363)](_0x3860d6[_0x34ff01(0x257)])[_0x34ff01(0x2ba)]();_0x5b782a&&_0x2ab0e5&&this[_0x34ff01(0x264)](_0x2ab0e5[_0x34ff01(0x2c7)](),_0x5b782a);}[_0x5b4efa(0x2e6)](){const _0x12ec0f=_0x5b4efa;this[_0x12ec0f(0x274)]=!0x1;}};Me=mi([x(0x2,_0x17f821(_0x1bdaf6)),x(0x3,_0x17f821(ke)),x(0x4,_0x17f821(_0x24a34a)),x(0x5,_0x166042),x(0x6,_0xb833f6),x(0x7,_0x17f821(_0x4ea11f))],Me);var pi=Object[_0x5b4efa(0x23d)],Ci=(_0x22de20,_0x32536b,_0xe977ea,_0x38947e)=>{for(var _0x57a421=_0x38947e>0x1?void 0x0:_0x38947e?pi(_0x32536b,_0xe977ea):_0x32536b,_0x2bad15=_0x22de20['length']-0x1,_0x33ab27;_0x2bad15>=0x0;_0x2bad15--)(_0x33ab27=_0x22de20[_0x2bad15])&&(_0x57a421=_0x33ab27(_0x57a421)||_0x57a421);return _0x57a421;},Se=(_0x293fb6,_0x24cf3d)=>(_0x148321,_0x10a89a)=>_0x24cf3d(_0x148321,_0x10a89a,_0x293fb6);let H=class extends _0x38ba1e{constructor(_0x107142,_0x27b89f,_0x22145e){const _0xa48bb2=_0x5b4efa;super(),_(this,_0xa48bb2(0x376),new Map()),_(this,_0xa48bb2(0x1bd),new _0x5f2ef2()),(this['_univerInstanceService']=_0x107142,this[_0xa48bb2(0x260)]=_0x27b89f,this[_0xa48bb2(0x2b0)]=_0x22145e,this['_init']());}[_0x5b4efa(0x2e2)](){const _0x40d0f8=_0x5b4efa;super['dispose'](),this[_0x40d0f8(0x1bd)][_0x40d0f8(0x1a4)](),this[_0x40d0f8(0x376)][_0x40d0f8(0x334)](_0x163e3d=>_0x163e3d['dispose']());}['getCollabCursors$'](_0x1b3ca3){const _0x16b502=_0x5b4efa;return this[_0x16b502(0x376)][_0x16b502(0x1ce)](_0x1b3ca3)?this['_entities'][_0x16b502(0x2ce)](_0x1b3ca3)[_0x16b502(0x1fd)]:this[_0x16b502(0x1bd)][_0x16b502(0x1b5)](_0x137306(_0x427f78=>_0x427f78['unitID']===_0x1b3ca3),_0x542af7(_0x102951=>_0x102951[_0x16b502(0x1fd)]));}[_0x5b4efa(0x17f)](){const _0x994cd3=_0x5b4efa;this[_0x994cd3(0x254)][_0x994cd3(0x24d)](_0x3860d6['UNIVER_SHEET'])[_0x994cd3(0x1b5)](_0x40f407(this['dispose$']))[_0x994cd3(0x244)](async _0x752353=>{const _0x37db3f=_0x994cd3,_0x12110c=_0x752353[_0x37db3f(0x180)](),_0x55ea7f=await this[_0x37db3f(0x248)](_0x12110c);this[_0x37db3f(0x1bd)]['next'](_0x55ea7f),this[_0x37db3f(0x376)][_0x37db3f(0x19b)](_0x12110c,_0x55ea7f);}),this['_univerInstanceService'][_0x994cd3(0x24d)](_0x3860d6[_0x994cd3(0x28c)])['pipe'](_0x40f407(this['dispose$']))[_0x994cd3(0x1b5)](_0x137306(_0x41f34f=>!_0x41f34f[_0x994cd3(0x180)]()[_0x994cd3(0x1b3)]('__')))['subscribe'](async _0xc39de6=>{const _0x5e7ade=_0x994cd3,_0x4ea224=_0xc39de6[_0x5e7ade(0x180)](),_0x57f1c7=await this[_0x5e7ade(0x2ea)](_0x4ea224);this[_0x5e7ade(0x1bd)][_0x5e7ade(0x2ac)](_0x57f1c7),this[_0x5e7ade(0x376)][_0x5e7ade(0x19b)](_0x4ea224,_0x57f1c7);}),_0x4af1ba(this['_univerInstanceService'][_0x994cd3(0x36d)](_0x3860d6[_0x994cd3(0x28c)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3860d6[_0x994cd3(0x257)]))[_0x994cd3(0x1b5)](_0x40f407(this[_0x994cd3(0x278)]))[_0x994cd3(0x244)](_0x1d734a=>{const _0x2253aa=_0x994cd3,_0x3465bf=_0x1d734a[_0x2253aa(0x180)](),_0x214371=this['_entities'][_0x2253aa(0x2ce)](_0x3465bf);_0x214371&&(_0x214371[_0x2253aa(0x2e2)](),this[_0x2253aa(0x376)][_0x2253aa(0x310)](_0x3465bf));});}async[_0x5b4efa(0x248)](_0x377ef7){const _0x576b16=_0x5b4efa,_0xb450b=await this[_0x576b16(0x2b0)][_0x576b16(0x27f)](_0x377ef7),_0x125c3a=this[_0x576b16(0x260)][_0x576b16(0x2db)](Me,_0x377ef7,_0xb450b);return _0x125c3a[_0x576b16(0x2b9)](),_0x125c3a;}async[_0x5b4efa(0x2ea)](_0x471737){const _0x2db2c2=_0x5b4efa,_0x2187f2=await this[_0x2db2c2(0x2b0)][_0x2db2c2(0x27f)](_0x471737),_0x5d60ae=this['_injector'][_0x2db2c2(0x2db)](Ue,_0x471737,_0x2187f2);return _0x5d60ae[_0x2db2c2(0x2b9)](),_0x5d60ae;}};H=Ci([Se(0x0,_0x166042),Se(0x1,_0x17f821(_0x1bdaf6)),Se(0x2,_0x17f821(_0x266dab))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x57ad48,_0x328025){const _0xe96a3e=_0x5b4efa;let {radius:_0x473d26,width:_0x52117c,height:_0x3f1459}=_0x328025;_0x473d26=_0x473d26!=null?_0x473d26:0x0,_0x52117c=_0x52117c!=null?_0x52117c:0x1e,_0x3f1459=_0x3f1459!=null?_0x3f1459:0x1e;let _0x458d96=0x0,_0x5404c7=0x0,_0x11c35e=0x0;_0x458d96=_0x5404c7=_0x11c35e=Math[_0xe96a3e(0x37a)](_0x473d26,_0x52117c/0x2,_0x3f1459/0x2),_0x57ad48[_0xe96a3e(0x2cb)](),_0x57ad48[_0xe96a3e(0x301)](_0x458d96,0x0),_0x57ad48[_0xe96a3e(0x1a8)](_0x52117c-_0x5404c7,0x0),_0x57ad48[_0xe96a3e(0x33d)](_0x52117c-_0x5404c7,_0x5404c7,_0x5404c7,Math['PI']*0x3/0x2,0x0,!0x1),_0x57ad48[_0xe96a3e(0x1a8)](_0x52117c,_0x3f1459-_0x11c35e),_0x57ad48[_0xe96a3e(0x33d)](_0x52117c-_0x11c35e,_0x3f1459-_0x11c35e,_0x11c35e,0x0,Math['PI']/0x2,!0x1),_0x57ad48[_0xe96a3e(0x1a8)](0x0,_0x3f1459),_0x57ad48['lineTo'](0x0,_0x458d96),_0x57ad48['arc'](_0x458d96,_0x458d96,_0x458d96,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x57ad48[_0xe96a3e(0x347)](),_0x328025[_0xe96a3e(0x2e4)]&&(_0x57ad48[_0xe96a3e(0x202)](),_0x57ad48[_0xe96a3e(0x222)]=_0x328025[_0xe96a3e(0x2e4)],_0x328025[_0xe96a3e(0x183)]===_0xe96a3e(0x2d2)?_0x57ad48['fill']('evenodd'):_0x57ad48[_0xe96a3e(0x2e4)](),_0x57ad48['restore']());}class he extends _0x4b1f28{constructor(_0x3bc3a4,_0xe5da56){const _0x25b476=_0x5b4efa;super(_0x3bc3a4,_0xe5da56),_(this,'color'),_(this,_0x25b476(0x344)),(this[_0x25b476(0x2c6)]=_0xe5da56==null?void 0x0:_0xe5da56[_0x25b476(0x2c6)],this[_0x25b476(0x344)]=_0xe5da56==null?void 0x0:_0xe5da56['text']);}static['drawWith'](_0x81087a,_0x3a5c1c){const _0x4e3e08=_0x5b4efa,{text:_0x151c5b,color:_0x483a57}=_0x3a5c1c;_0x81087a['save'](),_0x81087a['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x15d97a=_0x81087a[_0x4e3e08(0x29c)](_0x151c5b)['width'],_0x1c0c02=Math[_0x4e3e08(0x37a)](_0x15d97a+0x2*me,Qe);Oi(_0x81087a,{'height':ee,'radius':0x4,'width':_0x1c0c02,'fill':_0x483a57}),_0x81087a[_0x4e3e08(0x222)]=_0x4e3e08(0x280);const _0x49433a=me,_0x135616=ee-Ei,_0x31c99c=Qe-0x2*me;if(_0x15d97a>_0x31c99c){let _0x25501e='',_0x1eb33c=0x0;for(const _0x5f5508 of _0x151c5b){const _0x177940=_0x81087a[_0x4e3e08(0x29c)](_0x5f5508)[_0x4e3e08(0x294)];if(_0x1eb33c+_0x177940<=_0x31c99c-_0x81087a[_0x4e3e08(0x29c)](_0x4e3e08(0x213))[_0x4e3e08(0x294)])_0x25501e+=_0x5f5508,_0x1eb33c+=_0x177940;else{_0x25501e+=_0x4e3e08(0x213);break;}}_0x81087a[_0x4e3e08(0x2bf)](_0x25501e,_0x49433a,_0x135616);}else _0x81087a[_0x4e3e08(0x2bf)](_0x151c5b,_0x49433a,_0x135616);_0x81087a['restore']();}[_0x5b4efa(0x379)](_0xfe3126){const _0x2b1d09=_0x5b4efa;he[_0x2b1d09(0x345)](_0xfe3126,this);}}const Ie=_0x5b4efa(0x1d4),bi=_0x5b4efa(0x227),Ti=_0x5b4efa(0x2e3),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x5b4efa(0x2cc);class qe{constructor(_0x4fe595,_0xe10bbf,_0x4166c0,_0xc7e4f){const _0x1544b4=_0x5b4efa;_(this,_0x1544b4(0x21a),[]),_(this,_0x1544b4(0x315),null),_(this,_0x1544b4(0x271),null),_(this,_0x1544b4(0x1d2),null),_(this,_0x1544b4(0x349),null),_(this,_0x1544b4(0x245),null),(this[_0x1544b4(0x33e)]=_0x4fe595,this[_0x1544b4(0x1b4)]=_0xe10bbf,this['_docSkeleton']=_0x4166c0,this['_document']=_0xc7e4f,this['_render']());}set[_0x5b4efa(0x18f)](_0x2947db){const _0x26f60f=_0x5b4efa;_0x2947db?(this[_0x26f60f(0x1d2)]&&this['_anchorDot'][_0x26f60f(0x36c)](),this[_0x26f60f(0x271)]&&this[_0x26f60f(0x271)]['show']()):(this[_0x26f60f(0x1d2)]&&this[_0x26f60f(0x1d2)][_0x26f60f(0x218)](),this[_0x26f60f(0x271)]&&this[_0x26f60f(0x271)][_0x26f60f(0x36c)]());}[_0x5b4efa(0x2e2)](){const _0x3e9584=_0x5b4efa;for(const _0x436a5e of this['_shapes'])_0x436a5e['dispose']();this[_0x3e9584(0x271)]&&this[_0x3e9584(0x271)]['dispose'](),this[_0x3e9584(0x1d2)]&&this[_0x3e9584(0x1d2)][_0x3e9584(0x2e2)](),this['_anchor']&&this[_0x3e9584(0x315)]['dispose'](),this[_0x3e9584(0x245)]&&this[_0x3e9584(0x245)]();}[_0x5b4efa(0x22b)](){const _0x2b9e5c=_0x5b4efa;var _0x194b6b;const {_docSkeleton:_0x1c28d8,_document:_0x2ac728}=this,{color:_0x1eb75a,name:_0x1f71e0,ranges:_0x5278ee}=this[_0x2b9e5c(0x33e)],_0x3c841f=_0x2ac728['getOffsetConfig'](),{docsLeft:_0x22d3c1,docsTop:_0x3bd3ba}=_0x3c841f,_0x2ce6da=new _0x19d055(_0x3c841f,_0x1c28d8);for(const {startOffset:_0x5c108f,endOffset:_0x2e3f89,rangeType:_0x1b9cea,segmentId:_0x55fb27,segmentPage:_0x309015,collapsed:_0x179e8e,isActive:_0x5dab44}of _0x5278ee){const _0x1c1b8a=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x5c108f,!0x0,_0x55fb27,_0x309015);let _0x4d77f8=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x2e3f89,!0x0,_0x55fb27,_0x309015);if(_0x4d77f8==null&&(_0x4d77f8=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x2e3f89-0x1,!0x1,_0x55fb27,_0x309015)),_0x5dab44){const {contentBoxPointGroup:_0x31ac75}=_0x2ce6da[_0x2b9e5c(0x30d)](_0x4d77f8,_0x4d77f8);if(_0x31ac75[_0x2b9e5c(0x265)]===0x0)continue;this['_drawAnchor'](_0x1eb75a,_0x31ac75,_0x22d3c1,_0x3bd3ba,_0x1f71e0),this[_0x2b9e5c(0x245)]=this[_0x2b9e5c(0x1c8)]();}if(_0x1c1b8a&&_0x4d77f8){if(_0x1b9cea===_0x2a664c[_0x2b9e5c(0x27d)]){const _0x330d55=new _0xb7c07(_0x3c841f,_0x1c28d8),{pointGroup:_0x2d0338}=(_0x194b6b=_0x330d55[_0x2b9e5c(0x30d)](_0x1c1b8a,_0x4d77f8))!=null?_0x194b6b:{};if(_0x2d0338==null||_0x2d0338[_0x2b9e5c(0x265)]===0x0)continue;this[_0x2b9e5c(0x2c5)](_0x1eb75a,_0x2d0338,_0x22d3c1,_0x3bd3ba);}else{if(!_0x179e8e){const {borderBoxPointGroup:_0x5d5bae}=_0x2ce6da[_0x2b9e5c(0x30d)](_0x1c1b8a,_0x4d77f8);if(_0x5d5bae[_0x2b9e5c(0x265)]===0x0)continue;this[_0x2b9e5c(0x2b7)](_0x1eb75a,_0x5d5bae,_0x22d3c1,_0x3bd3ba);}}}}}[_0x5b4efa(0x253)](_0x350d85,_0x5e49df,_0x290a3b,_0xd17abc,_0x34c6e4){const _0x3cce4c=_0x5b4efa,_0x58856e=this[_0x3cce4c(0x308)](_0x5e49df),{left:_0x1c34dc,top:_0x34876a,height:_0x323ec0}=_0x58856e,_0x5d748d=this[_0x3cce4c(0x1c3)](),_0x258791=Di/_0x5d748d,_0x5dd8bf=new _0x2a533f(Ie+_0x9af4da[_0x3cce4c(0x2ae)](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc,'height':_0x323ec0,'width':Ri,'fill':_0x350d85||_0x5b1dc2(_0x55a633['black'],0x0),'strokeWidth':_0x258791,'stroke':Ni,'evented':!0x0});this[_0x3cce4c(0x315)]=_0x5dd8bf,this[_0x3cce4c(0x1b4)]['addObject'](_0x5dd8bf,_0x4e0af9);const _0x105b57=new _0x2a533f(Ie+_0x9af4da['generateRandomId'](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc-ge/0x2,'height':ge,'width':ge,'fill':_0x350d85||_0x5b1dc2(_0x55a633['black'],0x0),'strokeWidth':0x0,'stroke':_0x350d85||_0x5b1dc2(_0x55a633[_0x3cce4c(0x249)],0x0),'evented':!0x1});this[_0x3cce4c(0x1d2)]=_0x105b57,this[_0x3cce4c(0x1b4)][_0x3cce4c(0x1b9)](_0x105b57,_0x4e0af9);const _0x3e9b15=new he(Ie+_0x9af4da['generateRandomId'](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc-ee,'text':_0x34c6e4,'color':_0x350d85});this[_0x3cce4c(0x271)]=_0x3e9b15,this[_0x3cce4c(0x1b4)]['addObject'](_0x3e9b15,_0x4e0af9),this[_0x3cce4c(0x18f)]=!0x1;}[_0x5b4efa(0x1c8)](){const _0x5245b2=_0x5b4efa,_0xee43f8=this[_0x5245b2(0x315)][_0x5245b2(0x2f3)][_0x5245b2(0x18d)](()=>{const _0x418e1c=_0x5245b2;this[_0x418e1c(0x18f)]=!0x0;}),_0x15be21=this['_anchor'][_0x5245b2(0x276)][_0x5245b2(0x18d)](()=>{const _0x1bd49f=_0x5245b2;this[_0x1bd49f(0x349)]&&clearTimeout(this[_0x1bd49f(0x349)]),this[_0x1bd49f(0x349)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3d9b84=_0x5245b2;_0xee43f8['unsubscribe'](),_0x15be21[_0x3d9b84(0x1ea)]();};}[_0x5b4efa(0x2b7)](_0x489991,_0x57b3cc,_0x36989c,_0x4b800f){const _0x26d4b2=_0x5b4efa,_0x28da89=new _0x454f31(_0x489991)['setAlpha'](0.2)[_0x26d4b2(0x2bd)](),_0x586e10=new _0x12525e(bi+_0x9af4da[_0x26d4b2(0x2ae)](X),{'pointsGroup':_0x57b3cc,'fill':_0x28da89||_0x5b1dc2(_0x55a633[_0x26d4b2(0x249)],0.2),'left':_0x36989c,'top':_0x4b800f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26d4b2(0x21a)]['push'](_0x586e10),this[_0x26d4b2(0x1b4)]['addObject'](_0x586e10,_0x4e0af9);}[_0x5b4efa(0x2c5)](_0x51cd11,_0x4a6410,_0x379b00,_0x378f3e){const _0x7db89d=_0x5b4efa,_0x20721a=new _0x454f31(_0x51cd11)[_0x7db89d(0x2c4)](0.2)[_0x7db89d(0x2bd)](),_0x286575=new _0x12525e(Ti+_0x9af4da[_0x7db89d(0x2ae)](X),{'pointsGroup':_0x4a6410,'fill':_0x20721a||_0x5b1dc2(_0x55a633[_0x7db89d(0x249)],0.2),'left':_0x379b00,'top':_0x378f3e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x7db89d(0x2d4)](_0x286575),this['_scene'][_0x7db89d(0x1b9)](_0x286575,_0x4e0af9);}[_0x5b4efa(0x308)](_0x12e0fa){const _0xfd6b6c=_0x12e0fa[0x0],_0x461538=_0xfd6b6c[0x0],_0x293ef1=_0xfd6b6c[0x2],{x:_0x1dbe25,y:_0x5c09bf}=_0x461538,{x:_0x269534,y:_0x6123f7}=_0x293ef1;return{'left':_0x1dbe25,'top':_0x5c09bf,'width':_0x269534-_0x1dbe25,'height':_0x6123f7-_0x5c09bf};}[_0x5b4efa(0x1c3)](){const _0x2076e7=_0x5b4efa,{scaleX:_0x24e228,scaleY:_0x3d53a0}=this[_0x2076e7(0x1b4)][_0x2076e7(0x18e)]();return Math[_0x2076e7(0x1da)](_0x24e228,_0x3d53a0);}}var Ui=Object[_0x5b4efa(0x23d)],Mi=(_0x5478d2,_0x3939ec,_0x4a42a0,_0x28f005)=>{const _0x3d7f61=_0x5b4efa;for(var _0x11c38d=_0x28f005>0x1?void 0x0:_0x28f005?Ui(_0x3939ec,_0x4a42a0):_0x3939ec,_0x576c0b=_0x5478d2[_0x3d7f61(0x265)]-0x1,_0x415aa1;_0x576c0b>=0x0;_0x576c0b--)(_0x415aa1=_0x5478d2[_0x576c0b])&&(_0x11c38d=_0x415aa1(_0x11c38d)||_0x11c38d);return _0x11c38d;},Z=(_0x3dd201,_0x517928)=>(_0x3af07f,_0x1be055)=>_0x517928(_0x3af07f,_0x1be055,_0x3dd201);let Le=class extends _0x38ba1e{constructor(_0x338157,_0x1dc8ed,_0x28fd50,_0x3bce3c,_0x29ff7c){const _0x438bcf=_0x5b4efa;super(),_(this,_0x438bcf(0x1db),[]),_(this,'_cursors',[]),(this[_0x438bcf(0x348)]=_0x338157,this['_docSkeletonManagerService']=_0x1dc8ed,this[_0x438bcf(0x299)]=_0x28fd50,this[_0x438bcf(0x1ae)]=_0x3bce3c,this[_0x438bcf(0x34f)]=_0x29ff7c,this['_init']());}['_init'](){const _0x5037a0=_0x5b4efa,_0x487b6c=this['_context']['unitId'],_0x4fe023=this[_0x5037a0(0x1a7)];this[_0x5037a0(0x33f)](_0x214175([this[_0x5037a0(0x299)]['getCollabCursors$'](_0x487b6c),this[_0x5037a0(0x34f)]['currentTheme$']])[_0x5037a0(0x1b5)](_0x5c459e(([_0x180091,_0x4e394c])=>({'skeleton':_0x4fe023[_0x5037a0(0x26c)](),'cursors':[..._0x180091[_0x5037a0(0x30f)]()][_0x5037a0(0x2bc)](_0x21340e=>({..._0x21340e,'color':this['_themeService'][_0x5037a0(0x304)](_0x21340e[_0x5037a0(0x2c6)])}))})))[_0x5037a0(0x244)](_0x31811e=>{const _0x290102=_0x5037a0;if(this[_0x290102(0x211)](),_0x31811e){const {skeleton:_0x5c9f1c,cursors:_0x597bdd}=_0x31811e;this['_updateCollabCursors'](_0x5c9f1c,_0x597bdd);}})),this[_0x5037a0(0x2ab)](),this['_initCommandExecutedListener']();}[_0x5b4efa(0x35b)](_0x299ba1,_0x4e121b){const _0x2fa31b=_0x5b4efa,{scene:_0x506cce,mainComponent:_0x5d0919}=this[_0x2fa31b(0x348)],_0x3f761f=_0x4e121b[_0x2fa31b(0x286)](_0x39001e=>new qe(_0x39001e,_0x506cce,_0x299ba1,_0x5d0919));this[_0x2fa31b(0x1db)]=_0x3f761f,this[_0x2fa31b(0x361)]=_0x4e121b;}[_0x5b4efa(0x17a)](){const _0x4b90d5=_0x5b4efa;this[_0x4b90d5(0x211)]();const {scene:_0xc8621d,mainComponent:_0x28cb3d}=this[_0x4b90d5(0x348)],_0x85e73b=this[_0x4b90d5(0x1a7)][_0x4b90d5(0x26c)](),_0x42b52c=this[_0x4b90d5(0x361)][_0x4b90d5(0x286)](_0x2b665e=>new qe(_0x2b665e,_0xc8621d,_0x85e73b,_0x28cb3d));this[_0x4b90d5(0x1db)]=_0x42b52c;}[_0x5b4efa(0x211)](){const _0x27d9bd=_0x5b4efa;this[_0x27d9bd(0x1db)][_0x27d9bd(0x334)](_0x2ac3db=>_0x2ac3db[_0x27d9bd(0x2e2)]()),this[_0x27d9bd(0x1db)]=[];}[_0x5b4efa(0x25b)](){const _0x1a5ce6=_0x5b4efa,_0x4388d0=[_0x5d1cf9['id']];this[_0x1a5ce6(0x33f)](this[_0x1a5ce6(0x1ae)][_0x1a5ce6(0x33a)](_0x23daf8=>{const _0xda2e14=_0x1a5ce6;_0x4388d0[_0xda2e14(0x250)](_0x23daf8['id'])&&_0x23daf8[_0xda2e14(0x1af)][_0xda2e14(0x351)]===this[_0xda2e14(0x348)][_0xda2e14(0x351)]&&this['_refreshCollabCursors']();}));}[_0x5b4efa(0x2ab)](){const _0xcf52ad=_0x5b4efa;this[_0xcf52ad(0x33f)](_0x5a2964(this[_0xcf52ad(0x348)]['engine'][_0xcf52ad(0x1d5)])[_0xcf52ad(0x1b5)](_0x482697(_0xe33e66=>_0xe33e66[_0xcf52ad(0x28e)]===_0x69d07d[_0xcf52ad(0x2a9)]),_0x513ffd(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x17f821(_0x5a7f44)),Z(0x2,_0x17f821(H)),Z(0x3,_0xb833f6),Z(0x4,_0x17f821(_0x2a5222))],Le);const Li=0x1,Pi=1.5;class wi extends _0x4b1f28{constructor(_0xda1779,_0x4a6eee){const _0x2dbcb3=_0x5b4efa;super(_0xda1779,_0x4a6eee),_(this,_0x2dbcb3(0x2a2)),_(this,_0x2dbcb3(0x322),!0x1),_(this,_0x2dbcb3(0x2bb)),_(this,'_name',''),_(this,_0x2dbcb3(0x2aa),_0x2dbcb3(0x32a)),_(this,_0x2dbcb3(0x305)),(_0x4a6eee&&this[_0x2dbcb3(0x1a9)](_0x4a6eee),this[_0x2dbcb3(0x2f3)][_0x2dbcb3(0x18d)](()=>this[_0x2dbcb3(0x1a9)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2dbcb3(0x18d)](()=>this[_0x2dbcb3(0x1a9)]({'hovered':!0x1})));}[_0x5b4efa(0x1a9)](_0x50befc){const _0x4ff658=_0x5b4efa;var _0x4f29ba,_0x2ebc3a,_0x47ae0d,_0x2b02ff,_0x44cc3f,_0x399c4b;this[_0x4ff658(0x2a2)]=(_0x4f29ba=_0x50befc[_0x4ff658(0x2c6)])!=null?_0x4f29ba:this[_0x4ff658(0x2a2)],this['_hovered']=(_0x2ebc3a=_0x50befc[_0x4ff658(0x27a)])!=null?_0x2ebc3a:this[_0x4ff658(0x322)],this[_0x4ff658(0x2bb)]=(_0x47ae0d=_0x50befc[_0x4ff658(0x359)])!=null?_0x47ae0d:this[_0x4ff658(0x2bb)],this[_0x4ff658(0x247)]=(_0x2b02ff=_0x50befc[_0x4ff658(0x2e9)])!=null?_0x2b02ff:this[_0x4ff658(0x247)],this[_0x4ff658(0x2aa)]=(_0x44cc3f=_0x50befc[_0x4ff658(0x236)])!=null?_0x44cc3f:this[_0x4ff658(0x2aa)],this[_0x4ff658(0x305)]=(_0x399c4b=_0x50befc[_0x4ff658(0x332)])!=null?_0x399c4b:this[_0x4ff658(0x305)],this[_0x4ff658(0x251)]({'width':_0x50befc['width'],'height':_0x50befc['height']});}['onMouseMove'](_0x5294cd){const _0x301395=_0x5b4efa,{row:_0x8249fc,column:_0x7125d5}=_0x5294cd;if(_0x8249fc>=this[_0x301395(0x2bb)][_0x301395(0x382)]&&_0x8249fc<=this[_0x301395(0x2bb)][_0x301395(0x2dd)]&&_0x7125d5>=this['_range']['startColumn']&&_0x7125d5<=this[_0x301395(0x2bb)]['endColumn']){this[_0x301395(0x1a9)]({'hovered':!0x0});return;}this[_0x301395(0x1a9)]({'hovered':!0x1});}[_0x5b4efa(0x210)](_0x249d97){return!0x1;}[_0x5b4efa(0x379)](_0x27b4c6){const _0x31c738=_0x5b4efa;_0x2a533f['drawWith'](_0x27b4c6,{'width':this[_0x31c738(0x294)],'height':this[_0x31c738(0x287)],'strokeWidth':Pi,'stroke':this[_0x31c738(0x2a2)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31c738(0x322)]&&(_0x27b4c6['save'](),_0x27b4c6[_0x31c738(0x1b2)](0x1,0x0,0x0,0x1,this[_0x31c738(0x294)],this['_labelPosition']==='bottom'?0x0:-0x14),he['drawWith'](_0x27b4c6,{'text':this[_0x31c738(0x247)],'color':this['_color']}),_0x27b4c6[_0x31c738(0x1f5)]());}}var Ai=Object[_0x5b4efa(0x23d)],yi=(_0x1479b9,_0x43f71f,_0x2ed9f1,_0x18b280)=>{for(var _0x4cd9dc=_0x18b280>0x1?void 0x0:_0x18b280?Ai(_0x43f71f,_0x2ed9f1):_0x43f71f,_0x36e697=_0x1479b9['length']-0x1,_0x13e54a;_0x36e697>=0x0;_0x36e697--)(_0x13e54a=_0x1479b9[_0x36e697])&&(_0x4cd9dc=_0x13e54a(_0x4cd9dc)||_0x4cd9dc);return _0x4cd9dc;},ve=(_0x555392,_0x47cf92)=>(_0x361b00,_0x509076)=>_0x47cf92(_0x361b00,_0x509076,_0x555392);const $i=0x1389;let Pe=class extends _0x38ba1e{constructor(_0xf8c381,_0x459b4e,_0xda8c16,_0x5b672b){const _0x4b53d1=_0x5b4efa;super(),_(this,_0x4b53d1(0x361),new Set()),_(this,_0x4b53d1(0x37b),null),(this[_0x4b53d1(0x348)]=_0xf8c381,this[_0x4b53d1(0x346)]=_0x459b4e,this['_collabCursorController']=_0xda8c16,this[_0x4b53d1(0x34f)]=_0x5b672b,this[_0x4b53d1(0x17f)]());}[_0x5b4efa(0x17f)](){const _0x358050=_0x5b4efa;this[_0x358050(0x346)][_0x358050(0x225)][_0x358050(0x1b5)](_0x46ab32(this['dispose$']),_0x4e5146(_0x5e8241=>{const _0x49e2d9=_0x358050;if(_0x5e8241){const _0x3c09ed=_0x5e8241[_0x49e2d9(0x374)];return _0x214175(this[_0x49e2d9(0x299)]['getCollabCursors$'](this['_context'][_0x49e2d9(0x351)]),this[_0x49e2d9(0x34f)][_0x49e2d9(0x328)])['pipe'](_0x5c459e(([_0x2ef019,_0x2aba47])=>{const _0x44833e=_0x49e2d9,_0x25ea0e=new Map();return _0x2ef019[_0x44833e(0x334)]((_0x13e51e,_0x44837c)=>{const _0x2bf1cf=_0x44833e;if(_0x13e51e[_0x2bf1cf(0x22f)]===_0x3c09ed){const _0x4e1c8e={..._0x13e51e};_0x4e1c8e[_0x2bf1cf(0x2c6)]=this['_themeService']['getColorFromTheme'](_0x13e51e[_0x2bf1cf(0x2c6)]),_0x25ea0e[_0x2bf1cf(0x19b)](_0x44837c,_0x4e1c8e);}}),{'skeleton':_0x5e8241,'cursors':_0x25ea0e};}));}return _0x47a53c({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xac19fe,cursors:_0x441b8f})=>{this['_removeCollabCursors'](),_0xac19fe&&this['_updateCollabCursors'](_0xac19fe,_0x441b8f);}),this[_0x358050(0x346)][_0x358050(0x225)][_0x358050(0x244)](_0x36829f=>{const _0x52d262=_0x358050;if(_0x36829f==null)return;const {skeleton:_0x5ea167}=_0x36829f,{scene:_0x2b7f2b}=this['_context'];_0x2b7f2b[_0x52d262(0x266)][_0x52d262(0x18d)](_0x1fb937(_0x539cb0=>{const _0x4e1b4e=_0x52d262;var _0x1fa56c,_0x5bd23f;const {offsetX:_0x3a7935,offsetY:_0x1acc90}=_0x539cb0,{x:_0xd26f78,y:_0x131162}=_0x2b7f2b[_0x4e1b4e(0x243)](_0x3bc027['FromArray']([_0x3a7935,_0x1acc90])),{scaleX:_0x5667fb,scaleY:_0x477a8f}=_0x2b7f2b['getAncestorScale'](),_0x5c182b=_0x2b7f2b[_0x4e1b4e(0x2d7)](_0x3b852c[_0x4e1b4e(0x36f)]),_0x57a58e=_0x2b7f2b[_0x4e1b4e(0x34c)](_0x3bc027[_0x4e1b4e(0x2b4)]([_0xd26f78,_0x131162]),_0x5c182b),_0x4f93a4=_0x5ea167[_0x4e1b4e(0x1f2)](_0x3a7935,_0x1acc90,_0x5667fb,_0x477a8f,_0x57a58e);((_0x1fa56c=this['_lastPointer'])==null?void 0x0:_0x1fa56c[_0x4e1b4e(0x371)])===_0x4f93a4['column']&&((_0x5bd23f=this[_0x4e1b4e(0x37b)])==null?void 0x0:_0x5bd23f[_0x4e1b4e(0x2be)])===_0x4f93a4[_0x4e1b4e(0x2be)]||this[_0x4e1b4e(0x361)][_0x4e1b4e(0x334)](_0x593a65=>{const _0x204c89=_0x4e1b4e;_0x593a65[_0x204c89(0x18b)](_0x4f93a4);});},0x64));});}[_0x5b4efa(0x35b)](_0x34041d,_0x626307){const _0x5a5767=_0x5b4efa;var _0x2f0c31;const _0x145a68=(_0x2f0c31=this[_0x5a5767(0x346)][_0x5a5767(0x273)]())==null?void 0x0:_0x2f0c31['skeleton'];if(!_0x145a68)return;const _0xebf5f2=this[_0x5a5767(0x23a)]();if(!_0xebf5f2)return;this[_0x5a5767(0x361)][_0x5a5767(0x334)](_0x5744dd=>{const _0x5d7982=_0x5a5767;_0x5744dd[_0x5d7982(0x297)]();});const {scene:_0x532aea}=_0xebf5f2,_0x3bfa3d=xi(Array[_0x5a5767(0x319)](_0x626307[_0x5a5767(0x30f)]()))['map'](_0x4b43e2=>{const _0x5f0737=_0x5a5767,{color:_0x4d0ab1,range:_0x366077,name:_0xa22d07,selection:_0x91d209,sheetID:_0x4b69fe}=_0x4b43e2,{startColumn:_0x99ac3,startRow:_0xb38d3c,endColumn:_0x4c7974,endRow:_0x19302f}=_0x366077,_0xd8f93c=_0x1805fb(_0xb38d3c,_0x99ac3,_0x532aea,_0x145a68),_0x162226=_0x1805fb(_0x19302f,_0x4c7974,_0x532aea,_0x145a68),{columnHeaderHeightAndMarginTop:_0x686343}=_0x145a68,{startX:_0x178136,startY:_0x4078c1}=_0xd8f93c,{endX:_0x3b79f5,endY:_0x131048}=_0x162226,_0x45fb24=_0x3b79f5-_0x178136,_0x28aa84=_0x131048-_0x4078c1,_0x427666={'labelPosition':_0x4078c1-_0x686343>=ee?_0x5f0737(0x32a):'bottom','sheetID':_0x4b69fe,'range':_0x366077,'color':_0x4d0ab1,'name':_0xa22d07,'selection':_0x91d209,'left':_0x178136,'top':_0x4078c1,'width':_0x45fb24,'height':_0x28aa84,'evented':!0x1,'zIndex':$i};return new wi(_0xa22d07,_0x427666);});_0x532aea[_0x5a5767(0x20a)](_0x3bfa3d,Li),this[_0x5a5767(0x361)]=new Set(_0x3bfa3d);}[_0x5b4efa(0x211)](){const _0x2ca872=_0x5b4efa;var _0x4f6c86;(_0x4f6c86=this[_0x2ca872(0x361)])==null||_0x4f6c86['forEach'](_0xc9e74e=>_0xc9e74e[_0x2ca872(0x2e2)]());}[_0x5b4efa(0x23a)](){const _0x56d8b8=_0x5b4efa;return _0x486981(this[_0x56d8b8(0x348)][_0x56d8b8(0x356)],this[_0x56d8b8(0x348)]);}};Pe=yi([ve(0x1,_0x17f821(_0x1da1db)),ve(0x2,_0x17f821(H)),ve(0x3,_0x17f821(_0x2a5222))],Pe);function xi(_0x7aba54){const _0x333099=_0x5b4efa,_0x40969a=new Map();return _0x7aba54['forEach'](_0x1ec124=>{const _0x25f79f=_0x3518;if(_0x40969a[_0x25f79f(0x1ce)](_0x1ec124[_0x25f79f(0x2dc)])){const _0x3c3340=_0x40969a[_0x25f79f(0x2ce)](_0x1ec124[_0x25f79f(0x2dc)]);_0x3c3340[_0x25f79f(0x2e9)]+=',\x20'+_0x1ec124[_0x25f79f(0x2e9)];}else _0x40969a[_0x25f79f(0x19b)](_0x1ec124[_0x25f79f(0x2dc)],_0x1ec124);}),Array['from'](_0x40969a[_0x333099(0x30f)]());}var v=function(){const _0xaefbc1=_0x5b4efa;return v=Object[_0xaefbc1(0x1c2)]||function(_0x5383f8){for(var _0x4eea6a,_0x5a28d9=0x1,_0x409a84=arguments['length'];_0x5a28d9<_0x409a84;_0x5a28d9++){_0x4eea6a=arguments[_0x5a28d9];for(var _0x165c6e in _0x4eea6a)Object['prototype']['hasOwnProperty']['call'](_0x4eea6a,_0x165c6e)&&(_0x5383f8[_0x165c6e]=_0x4eea6a[_0x165c6e]);}return _0x5383f8;},v['apply'](this,arguments);},Bi=function(_0x47298e,_0x54a381){const _0x399769=_0x5b4efa;var _0x2b7ce7={};for(var _0xd08a9b in _0x47298e)Object[_0x399769(0x215)]['hasOwnProperty'][_0x399769(0x17e)](_0x47298e,_0xd08a9b)&&_0x54a381[_0x399769(0x33c)](_0xd08a9b)<0x0&&(_0x2b7ce7[_0xd08a9b]=_0x47298e[_0xd08a9b]);if(_0x47298e!=null&&typeof Object[_0x399769(0x366)]==_0x399769(0x1c0)){for(var _0x2d10b6=0x0,_0xd08a9b=Object[_0x399769(0x366)](_0x47298e);_0x2d10b6<_0xd08a9b[_0x399769(0x265)];_0x2d10b6++)_0x54a381['indexOf'](_0xd08a9b[_0x2d10b6])<0x0&&Object[_0x399769(0x215)]['propertyIsEnumerable'][_0x399769(0x17e)](_0x47298e,_0xd08a9b[_0x2d10b6])&&(_0x2b7ce7[_0xd08a9b[_0x2d10b6]]=_0x47298e[_0xd08a9b[_0x2d10b6]]);}return _0x2b7ce7;},Fe=_0x1df6b8(function(_0x5b4601,_0x9d724b){const _0x5100e8=_0x5b4efa;var _0x260e1=_0x5b4601['icon'],_0xad2415=_0x5b4601['id'],_0xc574f4=_0x5b4601[_0x5100e8(0x300)],_0x4dabe7=_0x5b4601['extend'],_0x13c037=Bi(_0x5b4601,[_0x5100e8(0x2b1),'id',_0x5100e8(0x300),_0x5100e8(0x1a2)]),_0x599876='univerjs-icon\x20univerjs-icon-'[_0x5100e8(0x1f4)](_0xad2415,'\x20')['concat'](_0xc574f4||'')[_0x5100e8(0x2d8)](),_0x245f3f=_0x5c48e3('_'[_0x5100e8(0x1f4)](Fi()));return Rt(_0x260e1,''[_0x5100e8(0x1f4)](_0xad2415),{'defIds':_0x260e1['defIds'],'idSuffix':_0x245f3f[_0x5100e8(0x261)]},v({'ref':_0x9d724b,'className':_0x599876},_0x13c037),_0x4dabe7);});function Rt(_0x1c0995,_0x5b501e,_0x29876f,_0x8e5b6c,_0xdb0e87){const _0x1de434=_0x5b4efa;return _0x12f687(_0x1c0995['tag'],v(v({'key':_0x5b501e},ki(_0x1c0995,_0x29876f,_0xdb0e87)),_0x8e5b6c),(Hi(_0x1c0995,_0x29876f)[_0x1de434(0x354)]||[])[_0x1de434(0x286)](function(_0x708733,_0x11c647){const _0x1048a6=_0x1de434;return Rt(_0x708733,''[_0x1048a6(0x1f4)](_0x5b501e,'-')[_0x1048a6(0x1f4)](_0x1c0995[_0x1048a6(0x1bf)],'-')['concat'](_0x11c647),_0x29876f,void 0x0,_0xdb0e87);}));}function ki(_0x4b8493,_0x8ff0cd,_0xfa32b5){const _0x3896ec=_0x5b4efa;var _0x5a225d=v({},_0x4b8493['attrs']);_0xfa32b5!=null&&_0xfa32b5['colorChannel1']&&_0x5a225d['fill']===_0x3896ec(0x2f9)&&(_0x5a225d[_0x3896ec(0x2e4)]=_0xfa32b5[_0x3896ec(0x2f9)]),_0x4b8493[_0x3896ec(0x1bf)]==='mask'&&_0x5a225d['id']&&(_0x5a225d['id']=_0x5a225d['id']+_0x8ff0cd['idSuffix']),Object[_0x3896ec(0x1ec)](_0x5a225d)[_0x3896ec(0x334)](function(_0x11a07c){const _0x114470=_0x3896ec;var _0x14d792=_0x11a07c[0x0],_0x561a8c=_0x11a07c[0x1];_0x14d792==='mask'&&typeof _0x561a8c==_0x114470(0x1fa)&&(_0x5a225d[_0x14d792]=_0x561a8c[_0x114470(0x184)](/url\(#(.*)\)/,_0x114470(0x270)[_0x114470(0x1f4)](_0x8ff0cd[_0x114470(0x214)],')')));});var _0x1b85ce=_0x8ff0cd[_0x3896ec(0x17d)];return!_0x1b85ce||_0x1b85ce['length']===0x0||(_0x4b8493['tag']==='use'&&_0x5a225d['xlink:href']&&(_0x5a225d['xlink:href']=_0x5a225d[_0x3896ec(0x2fe)]+_0x8ff0cd[_0x3896ec(0x214)]),Object['entries'](_0x5a225d)[_0x3896ec(0x334)](function(_0x2c83df){const _0x3bfa96=_0x3896ec;var _0x5155bd=_0x2c83df[0x0],_0x2a9659=_0x2c83df[0x1];typeof _0x2a9659==_0x3bfa96(0x1fa)&&(_0x5a225d[_0x5155bd]=_0x2a9659['replace'](/url\(#(.*)\)/,_0x3bfa96(0x270)['concat'](_0x8ff0cd[_0x3bfa96(0x214)],')')));})),_0x5a225d;}function Hi(_0x5362af,_0x356e26){const _0xc0818f=_0x5b4efa;var _0x2fdc6d,_0x50912c=_0x356e26[_0xc0818f(0x17d)];return!_0x50912c||_0x50912c[_0xc0818f(0x265)]===0x0?_0x5362af:_0x5362af[_0xc0818f(0x1bf)]==='defs'&&(!((_0x2fdc6d=_0x5362af[_0xc0818f(0x354)])===null||_0x2fdc6d===void 0x0)&&_0x2fdc6d[_0xc0818f(0x265)])?v(v({},_0x5362af),{'children':_0x5362af[_0xc0818f(0x354)][_0xc0818f(0x286)](function(_0x26a3a8){const _0x56d846=_0xc0818f;return typeof _0x26a3a8['attrs']['id']==_0x56d846(0x1fa)&&_0x50912c&&_0x50912c[_0x56d846(0x250)](_0x26a3a8[_0x56d846(0x2d1)]['id'])?v(v({},_0x26a3a8),{'attrs':v(v({},_0x26a3a8[_0x56d846(0x2d1)]),{'id':_0x26a3a8[_0x56d846(0x2d1)]['id']+_0x356e26['idSuffix']})}):_0x26a3a8;})}):_0x5362af;}function Fi(){const _0x2975e1=_0x5b4efa;return Math[_0x2975e1(0x324)]()[_0x2975e1(0x331)](0x24)[_0x2975e1(0x343)](0x2,0x8);}Fe[_0x5b4efa(0x2a8)]=_0x5b4efa(0x33b);var Yi={'tag':_0x5b4efa(0x229),'attrs':{'xmlns':_0x5b4efa(0x25f),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5b4efa(0x2b3),'height':_0x5b4efa(0x2b3)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b4efa(0x275)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'stroke':_0x5b4efa(0x352),'d':_0x5b4efa(0x36e),'strokeLinecap':_0x5b4efa(0x2d6),'strokeLinejoin':_0x5b4efa(0x2d6),'strokeWidth':1.2}}]},{'tag':_0x5b4efa(0x1e4),'attrs':{},'children':[{'tag':_0x5b4efa(0x2c2),'attrs':{'id':_0x5b4efa(0x25c)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'fill':_0x5b4efa(0x2a0),'d':_0x5b4efa(0x252)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x1df6b8(function(_0x3ea0d3,_0x7fcb92){const _0x222ad7=_0x5b4efa;return _0x12f687(Fe,Object['assign']({},_0x3ea0d3,{'id':_0x222ad7(0x34a),'ref':_0x7fcb92,'icon':Yi}));});Dt[_0x5b4efa(0x2a8)]='OffLineIcon';var ji={'tag':_0x5b4efa(0x229),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x5b4efa(0x2b3),'height':_0x5b4efa(0x2b3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'stroke':_0x5b4efa(0x352),'d':_0x5b4efa(0x34d),'strokeLinecap':_0x5b4efa(0x2d6),'strokeLinejoin':_0x5b4efa(0x2d6),'strokeWidth':1.2}}]},{'tag':_0x5b4efa(0x1e4),'attrs':{},'children':[{'tag':_0x5b4efa(0x2c2),'attrs':{'id':_0x5b4efa(0x2a7)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'fill':_0x5b4efa(0x2a0),'d':_0x5b4efa(0x252),'transform':'translate(.97)'}}]}]}],'defIds':[_0x5b4efa(0x2a7)]},Nt=_0x1df6b8(function(_0x1c359f,_0x38e96b){const _0x1f724c=_0x5b4efa;return _0x12f687(Fe,Object[_0x1f724c(0x1c2)]({},_0x1c359f,{'id':'on-line-icon','ref':_0x38e96b,'icon':ji}));});Nt['displayName']=_0x5b4efa(0x2ed);function Vi(_0x1bd4fe){const _0x3bc281=_0x5b4efa;switch(_0x1bd4fe){case _0x5152ea[_0x3bc281(0x205)]:return _0x3bc281(0x194);case _0x5152ea['CONFLICT']:return'collabStatus.conflict';case _0x5152ea[_0x3bc281(0x355)]:return'collabStatus.fetchMiss';case _0x5152ea[_0x3bc281(0x329)]:return _0x3bc281(0x1ba);case _0x5152ea[_0x3bc281(0x306)]:case _0x5152ea[_0x3bc281(0x2d0)]:return _0x3bc281(0x246);case _0x5152ea[_0x3bc281(0x1ee)]:case _0x5152ea['PENDING']:return _0x3bc281(0x34e);}}function Wi(_0x2ff8d1){const _0x49ae99=_0x5b4efa,{status$:_0x3b6575}=_0x2ff8d1,_0xd4842e=_0x49029c(_0x3b6575,_0x5152ea[_0x49ae99(0x329)]),_0x18f783=_0x188343(_0x144e47),_0x1db4f6=_0x188343(_0x266dab),_0x4f95a4=_0xd4842e!==_0x5152ea[_0x49ae99(0x205)],_0x34df18=_0x18f783['t'](Vi(_0xd4842e)),_0x5cc39c=_0x4f95a4?_0x2b3c94(Nt,{}):_0x2b3c94(Dt,{}),_0x3ffa4e=_0x2efa88(()=>{const _0x4ff238=_0x49ae99;_0x4f95a4||_0x1db4f6[_0x4ff238(0x24f)]();},[_0x4f95a4,_0x1db4f6]);function _0x56fe87(){const _0x35c162=_0x49ae99;return _0x18f578(_0x35c162(0x195),{'className':_0x35c162(0x2a3),'onClick':_0x3ffa4e,'children':[_0x2b3c94('div',{'className':_0x5653b9(_0x35c162(0x1cd),{'univer-text-green-500':_0x4f95a4,'univer-text-red-500':!_0x4f95a4}),'children':_0x5cc39c}),_0x2b3c94(_0x35c162(0x195),{'className':_0x35c162(0x192),'children':_0x34df18})]});}return _0x4f95a4?_0x56fe87():_0x2b3c94(_0x184e3c,{'title':_0x18f783['t']('collab-client.tooltip.reconnect'),'children':_0x56fe87()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x143ba9,_0x53afdf,_0x45871a,_0x1e4059)=>{for(var _0x516cf0=_0x1e4059>0x1?void 0x0:_0x1e4059?Xi(_0x53afdf,_0x45871a):_0x53afdf,_0x5b89ea=_0x143ba9['length']-0x1,_0x2a823a;_0x5b89ea>=0x0;_0x5b89ea--)(_0x2a823a=_0x143ba9[_0x5b89ea])&&(_0x516cf0=_0x2a823a(_0x516cf0)||_0x516cf0);return _0x516cf0;},Q=(_0x58c43e,_0x25f4e2)=>(_0x3dc346,_0x4a266b)=>_0x25f4e2(_0x3dc346,_0x4a266b,_0x58c43e);let te=class extends _0x3449ee{constructor(_0x584fad,_0x41a164,_0x5c7bc5,_0x112a51){const _0x543e17=_0x5b4efa;super(),_(this,'_status$',new _0x4f34ea(_0x5152ea[_0x543e17(0x329)])),(this['_univerInstanceService']=_0x584fad,this[_0x543e17(0x260)]=_0x41a164,this[_0x543e17(0x23c)]=_0x5c7bc5,this['_uiPartsService']=_0x112a51,this[_0x543e17(0x29a)](),this[_0x543e17(0x1fb)]());}[_0x5b4efa(0x1fb)](){const _0xab2af=_0x5b4efa;this[_0xab2af(0x33f)](this[_0xab2af(0x254)][_0xab2af(0x228)]['pipe'](_0x542af7(()=>{const _0x855d83=_0xab2af,_0x2c17e1=this[_0x855d83(0x254)][_0x855d83(0x1cf)]();return _0x2c17e1?this[_0x855d83(0x23c)]['getCollabEntity$'](_0x2c17e1['getUnitId']()):_0x47a53c(null);}),_0x542af7(_0x2aae67=>_0x2aae67?_0x2aae67[_0xab2af(0x2e5)]:_0x47a53c(_0x5152ea[_0xab2af(0x329)])))[_0xab2af(0x244)](_0x554f37=>{const _0x599026=_0xab2af;this[_0x599026(0x1e6)][_0x599026(0x2ac)](_0x554f37);}));}[_0x5b4efa(0x29a)](){const _0x507abe=_0x5b4efa;this['disposeWithMe'](this[_0x507abe(0x288)][_0x507abe(0x223)](_0x29a40d[_0x507abe(0x1f9)],()=>_0x3c5ef4(Ki({'status$':this['_status$'][_0x507abe(0x28a)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x166042),Q(0x1,_0x17f821(_0x1bdaf6)),Q(0x2,_0x17f821(_0x408cc6)),Q(0x3,_0xa159a1)],te);function Ki(_0x161a69){const {status$:_0x4d300d}=_0x161a69;return function(){return _0x2b3c94(Wi,{'status$':_0x4d300d});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4bafcf,_0x13be4c,_0x3fda2b,_0x2d5f8d)=>{const _0x426693=_0x5b4efa;for(var _0x416016=_0x2d5f8d>0x1?void 0x0:_0x2d5f8d?zi(_0x13be4c,_0x3fda2b):_0x13be4c,_0x4cacdf=_0x4bafcf[_0x426693(0x265)]-0x1,_0x4268c4;_0x4cacdf>=0x0;_0x4cacdf--)(_0x4268c4=_0x4bafcf[_0x4cacdf])&&(_0x416016=_0x4268c4(_0x416016)||_0x416016);return _0x416016;},B=(_0x4d3914,_0x4fe3db)=>(_0x32cdca,_0x2d7777)=>_0x4fe3db(_0x32cdca,_0x2d7777,_0x4d3914);let se=class extends _0x3449ee{constructor(_0x5d3805,_0x3e33da,_0x25e9fe,_0x5a52f5,_0x2bf583,_0x2c8c52){const _0x122e62=_0x5b4efa;super(),this['_beforeCloseService']=_0x5d3805,this['_localCacheService']=_0x3e33da,this[_0x122e62(0x240)]=_0x25e9fe,this[_0x122e62(0x1a0)]=_0x5a52f5,this[_0x122e62(0x35d)]=_0x2bf583,this['_localeService']=_0x2c8c52,this[_0x122e62(0x1d1)](),this[_0x122e62(0x233)]();}['_setupBeforeClosingHandler'](){const _0x1dc9c8=_0x5b4efa;this['disposeWithMe'](this[_0x1dc9c8(0x2fd)]['registerBeforeClose'](()=>{const _0x4111bc=_0x1dc9c8;if(this['_localCacheService'][_0x4111bc(0x190)][_0x4111bc(0x312)])return this['_localeService']['t'](_0x4111bc(0x381));}));}[_0x5b4efa(0x233)](){const _0x563f53=_0x5b4efa;this[_0x563f53(0x33f)](this[_0x563f53(0x240)][_0x563f53(0x2b8)]['subscribe'](_0xfc6ee3=>{const _0x29d1ac=_0x563f53;_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x17b)]&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x23f))}),_0xfc6ee3['id']===_0x1eb493['CLOSE_ROOM']&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x279))}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x196)]&&this[_0x29d1ac(0x35d)][_0x29d1ac(0x218)]({'title':this[_0x29d1ac(0x191)]['t']('permission.title'),'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x367)),'type':_0x29d1ac(0x1d3),'duration':0x0}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x193)]&&this[_0x29d1ac(0x1a0)]['show']({'type':_0x21a0d4['Error'],'content':this['_localeService']['t'](_0x29d1ac(0x279))+'('+_0xfc6ee3[_0x29d1ac(0x24b)]+')'}),_0xfc6ee3['id']===_0x1eb493['JOIN_ROOM_FAILED']&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0xfc6ee3['data']||'')}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x2ee)]&&this[_0x29d1ac(0x1a0)]['show']({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x22c))}),_0xfc6ee3['id']===_0x1eb493['SOCKET_FAILED']&&this['_messageService'][_0x29d1ac(0x218)]({'type':_0x21a0d4['Error'],'content':this['_localeService']['t'](_0x29d1ac(0x24c))}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x289)]&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x1e2)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x182))});}));}};se=Ji([B(0x0,_0x203a64),B(0x1,_0x277322),B(0x2,_0x17f821(_0x1fe7b1)),B(0x3,_0x3e5e5c),B(0x4,_0x427272),B(0x5,_0x17f821(_0x144e47))],se);const Zi=_0x5b4efa(0x1ef),et={},Ut=_0x5c862b(_0x5b4efa(0x2c9));var Qi=Object[_0x5b4efa(0x23d)],qi=(_0x1d1b47,_0x433c16,_0x50fbea,_0x2c2c5c)=>{const _0x2fcd5a=_0x5b4efa;for(var _0x32aca1=_0x2c2c5c>0x1?void 0x0:_0x2c2c5c?Qi(_0x433c16,_0x50fbea):_0x433c16,_0x1062e8=_0x1d1b47[_0x2fcd5a(0x265)]-0x1,_0x13b283;_0x1062e8>=0x0;_0x1062e8--)(_0x13b283=_0x1d1b47[_0x1062e8])&&(_0x32aca1=_0x13b283(_0x32aca1)||_0x32aca1);return _0x32aca1;},G=(_0x3decbd,_0x199214)=>(_0x2eeffd,_0x35f84e)=>_0x199214(_0x2eeffd,_0x35f84e,_0x3decbd);let ie=class extends _0x38ba1e{constructor(_0x4461cb,_0x3e13ae,_0x3f2e37,_0x230b80,_0x5dc797){const _0xf8411c=_0x5b4efa;super(),this[_0xf8411c(0x199)]=_0x4461cb,this[_0xf8411c(0x1d8)]=_0x3e13ae,this['_commandService']=_0x3f2e37,this[_0xf8411c(0x2f5)]=_0x230b80,_0x5dc797?_0x5dc797==null||_0x5dc797[_0xf8411c(0x18c)]()[_0xf8411c(0x1f6)](()=>this[_0xf8411c(0x17f)]()):(this[_0xf8411c(0x1d8)][_0xf8411c(0x336)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xf8411c(0x17f)]());}async[_0x5b4efa(0x17f)](){const _0x303758=_0x5b4efa,_0x5b40fd=this[_0x303758(0x199)]['getParam']('unit'),_0x5121a2=this[_0x303758(0x199)]['getParam'](_0x303758(0x28e)),_0x28a06b=this[_0x303758(0x199)][_0x303758(0x198)](_0x303758(0x179));if(!_0x5b40fd||!_0x5121a2){this[_0x303758(0x1d8)][_0x303758(0x336)](_0x303758(0x283),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3301cc=await this[_0x303758(0x2f5)][_0x303758(0x292)](_0x5b40fd,Number(_0x5121a2),_0x28a06b);_0x3301cc&&_0x3301cc instanceof _0x32759e&&this[_0x303758(0x19d)](_0x3301cc);}async['_setupSubUnitSync'](_0x487df6){const _0x4e13ef=_0x5b4efa;await this[_0x4e13ef(0x373)](_0x487df6),_0x487df6[_0x4e13ef(0x2da)][_0x4e13ef(0x1b5)](_0x40f407(this[_0x4e13ef(0x278)]))[_0x4e13ef(0x244)](_0x51e891=>{_0x51e891&&this['_updateURLWithCurrentState'](_0x51e891);}),this[_0x4e13ef(0x199)][_0x4e13ef(0x31e)]['pipe'](_0x40f407(this[_0x4e13ef(0x278)]))[_0x4e13ef(0x244)](()=>this[_0x4e13ef(0x373)](_0x487df6));}[_0x5b4efa(0x1e8)](_0x519401,_0xf525af=!0x1){const _0x5874f7=_0x5b4efa,_0x41db4d=this[_0x5874f7(0x199)][_0x5874f7(0x198)](_0x5874f7(0x179));_0x519401[_0x5874f7(0x2c7)]()!==_0x41db4d&&this['_urlService'][_0x5874f7(0x241)](_0x5874f7(0x179),_0x519401[_0x5874f7(0x2c7)](),_0xf525af);}async['_updateSubUnitFromURLParams'](_0x572563){const _0x36e9cb=_0x5b4efa;var _0x5a2cc4;const _0x5c0488=this['_urlService']['getParam'](_0x36e9cb(0x179));if(!_0x5c0488||!_0x572563[_0x36e9cb(0x2fc)](_0x5c0488)){const _0x3de7cc=_0x572563[_0x36e9cb(0x2d3)]()[0x0],_0x2a154d=_0x572563[_0x36e9cb(0x2fc)](_0x3de7cc);if(!_0x2a154d)return;this[_0x36e9cb(0x1e8)](_0x2a154d,!0x0),await this[_0x36e9cb(0x1ae)][_0x36e9cb(0x35e)](_0x31db9e['id'],{'unitId':_0x572563[_0x36e9cb(0x180)](),'subUnitId':_0x3de7cc});return;}((_0x5a2cc4=_0x572563[_0x36e9cb(0x2ba)]())==null?void 0x0:_0x5a2cc4['getSheetId']())!==_0x5c0488&&await this[_0x36e9cb(0x1ae)][_0x36e9cb(0x35e)](_0x31db9e['id'],{'unitId':_0x572563[_0x36e9cb(0x180)](),'subUnitId':_0x5c0488});}};ie=qi([G(0x0,Ut),G(0x1,_0x41ac4f),G(0x2,_0xb833f6),G(0x3,_0x17f821(_0x1465dc)),G(0x4,_0x2b45e6(_0x55556f))],ie);function _0x3518(_0x365dd4,_0xfbcd4e){const _0x357957=_0x3579();return _0x3518=function(_0x3518ed,_0x2b63f4){_0x3518ed=_0x3518ed-0x179;let _0x33bc0b=_0x357957[_0x3518ed];return _0x33bc0b;},_0x3518(_0x365dd4,_0xfbcd4e);}var en=Object[_0x5b4efa(0x23d)],tn=(_0x4d4b3e,_0x3bbb11,_0x54b184,_0x2fecd3)=>{const _0x1e877e=_0x5b4efa;for(var _0x12746e=_0x2fecd3>0x1?void 0x0:_0x2fecd3?en(_0x3bbb11,_0x54b184):_0x3bbb11,_0x225b06=_0x4d4b3e[_0x1e877e(0x265)]-0x1,_0x1bc740;_0x225b06>=0x0;_0x225b06--)(_0x1bc740=_0x4d4b3e[_0x225b06])&&(_0x12746e=_0x1bc740(_0x12746e)||_0x12746e);return _0x12746e;},pe=(_0x56c055,_0x361a6d)=>(_0x221693,_0x13df08)=>_0x361a6d(_0x221693,_0x13df08,_0x56c055);let ne=class{constructor(_0x547ae4,_0x2d8757,_0x420e8b){const _0x4eef1d=_0x5b4efa;this[_0x4eef1d(0x260)]=_0x547ae4,this[_0x4eef1d(0x30e)]=_0x2d8757,this[_0x4eef1d(0x216)]=_0x420e8b;}[_0x5b4efa(0x1de)](_0x5b13cb){const _0xb576b5=_0x5b4efa;this[_0xb576b5(0x2af)](_0x5b13cb),this[_0xb576b5(0x372)](_0x5b13cb);}[_0x5b4efa(0x1f8)](_0x46e3de){const _0x14876b=_0x5b4efa,{unitID:_0xf63b19}=_0x46e3de,_0x5971c6=this[_0x14876b(0x216)]['getRenderById'](_0xf63b19)[_0x14876b(0x22a)](_0x328532),{redoCache:_0x3503ed}=_0x5971c6['getUndoRedoMutationParamsCache']();if(_0x3503ed[_0x14876b(0x265)]===0x0)return _0x46e3de;let _0x8fab45=_0x9af4da[_0x14876b(0x200)](_0x46e3de[_0x14876b(0x2a4)][0x0]);for(let _0x5252a9=0x0;_0x5252a9<_0x3503ed['length'];_0x5252a9++){const _0x350c2f={'id':_0x14876b(0x1eb),'params':{..._0x3503ed[_0x5252a9]}},_0xd4c022=this['_transformService'][_0x14876b(0x293)](_0x8fab45,_0x350c2f,!0x1);if(_0x1985d5(_0xd4c022))throw _0xd4c022[_0x14876b(0x1d3)];_0x8fab45=_0xd4c022[_0x14876b(0x360)];}return{..._0x9af4da[_0x14876b(0x200)](_0x46e3de),'mutations':[_0x8fab45]};}[_0x5b4efa(0x2af)](_0x324852){const _0x345202=_0x5b4efa,{unitID:_0x59cea0}=_0x324852,_0x4156f8=this[_0x345202(0x216)][_0x345202(0x26f)](_0x59cea0)[_0x345202(0x22a)](_0x328532),{undoCache:_0x586bdf,redoCache:_0x166b7f}=_0x4156f8[_0x345202(0x342)]();if(_0x586bdf[_0x345202(0x265)]===0x0||_0x166b7f[_0x345202(0x265)]===0x0)return;const _0x1c2ac5=[],_0x29d20f=[];let _0x53f1a6=_0x9af4da['deepClone'](_0x324852[_0x345202(0x2a4)][0x0]),_0x1e7bad=_0x9af4da[_0x345202(0x200)](_0x324852['mutations'][0x0]);for(let _0xda31b=_0x586bdf[_0x345202(0x265)]-0x1;_0xda31b>=0x0;_0xda31b--){const _0x593394={'id':'doc.mutation.rich-text-editing','params':{..._0x586bdf[_0xda31b]}},_0x57138c={'id':_0x345202(0x1eb),'params':{..._0x166b7f[_0xda31b]}},_0x51c0a5=this[_0x345202(0x30e)][_0x345202(0x293)](_0x53f1a6,_0x593394,!0x1),_0x103c02=this[_0x345202(0x30e)][_0x345202(0x293)](_0x1e7bad,_0x57138c,!0x1);if(_0x1985d5(_0x51c0a5))throw _0x51c0a5[_0x345202(0x1d3)];if(_0x1985d5(_0x103c02))throw _0x103c02[_0x345202(0x1d3)];_0x1c2ac5[_0x345202(0x25e)](_0x51c0a5['m2Prime'][_0x345202(0x1af)]),_0x29d20f['unshift'](_0x103c02[_0x345202(0x32b)][_0x345202(0x1af)]),_0x53f1a6=_0x51c0a5[_0x345202(0x360)],_0x1e7bad=_0x103c02[_0x345202(0x360)];}_0x4156f8[_0x345202(0x1be)]({'undoCache':_0x1c2ac5,'redoCache':_0x29d20f});}[_0x5b4efa(0x372)](_0x48d285){const _0x3ad753=_0x5b4efa,{unitID:_0x833123}=_0x48d285,_0x3b9767=this[_0x3ad753(0x216)][_0x3ad753(0x26f)](_0x833123)[_0x3ad753(0x22a)](_0x328532),_0x21aab9=_0x3b9767[_0x3ad753(0x22d)]();if(_0x21aab9==null)return;const _0x4c8958=[{'id':_0x3ad753(0x1eb),'params':{'unitId':_0x48d285['unitID'],'actions':null,'textRanges':[_0x21aab9]}}],_0x51cd2c=this[_0x3ad753(0x30e)]['transformMutationsWithChangeset'](_0x48d285,_0x4c8958);if(!_0x196989(_0x51cd2c))throw _0x51cd2c['error'];const _0x172382=_0x51cd2c[_0x3ad753(0x32b)][0x0]['params'][_0x3ad753(0x32c)];Array[_0x3ad753(0x2f8)](_0x172382)&&_0x172382['length']&&_0x3b9767[_0x3ad753(0x242)](_0x172382[0x0]);}};ne=tn([pe(0x0,_0x17f821(_0x1bdaf6)),pe(0x1,_0x220695),pe(0x2,_0x9df613)],ne);var sn=Object[_0x5b4efa(0x23d)],nn=(_0x43ff91,_0x2d67fc,_0x28e49e,_0x37695e)=>{const _0x4efb53=_0x5b4efa;for(var _0x3de108=_0x37695e>0x1?void 0x0:_0x37695e?sn(_0x2d67fc,_0x28e49e):_0x2d67fc,_0x34b967=_0x43ff91[_0x4efb53(0x265)]-0x1,_0x280f65;_0x34b967>=0x0;_0x34b967--)(_0x280f65=_0x43ff91[_0x34b967])&&(_0x3de108=_0x280f65(_0x3de108)||_0x3de108);return _0x3de108;},Ce=(_0x3fba6d,_0x4dd7c9)=>(_0x352390,_0x33a9f0)=>_0x4dd7c9(_0x352390,_0x33a9f0,_0x3fba6d);let re=class{constructor(_0x21505f,_0x18ae0c,_0x3b94d0){const _0x8496fd=_0x5b4efa;this['_injector']=_0x21505f,this['_transformService']=_0x18ae0c,this[_0x8496fd(0x357)]=_0x3b94d0;}[_0x5b4efa(0x2f2)](_0x1faeca){const _0x434690=_0x5b4efa;this[_0x434690(0x26b)](_0x1faeca);}[_0x5b4efa(0x1f8)](_0x5c29c9){const _0x13cf58=_0x5b4efa,{unitID:_0x1d74b8}=_0x5c29c9,{collaboration:_0x450f05}=this[_0x13cf58(0x357)][_0x13cf58(0x2ef)](_0x1d74b8);if(_0x450f05[_0x13cf58(0x265)]===0x0)return _0x5c29c9;let _0x4939f5=_0x9af4da[_0x13cf58(0x200)](_0x5c29c9[_0x13cf58(0x2a4)][0x0]);for(let _0x19240f=0x0;_0x19240f<_0x450f05[_0x13cf58(0x265)];_0x19240f++){const _0xb1ede9={'id':_0x13cf58(0x1eb),'params':{'unitId':_0x450f05[_0x19240f][_0x13cf58(0x351)],..._0x450f05[_0x19240f][_0x13cf58(0x235)]}},_0x373069=this[_0x13cf58(0x30e)]['transformMutation'](_0x4939f5,_0xb1ede9,!0x1);if(_0x1985d5(_0x373069))throw _0x373069[_0x13cf58(0x1d3)];_0x4939f5=_0x373069['m1Prime'];}return{..._0x9af4da[_0x13cf58(0x200)](_0x5c29c9),'mutations':[_0x4939f5]};}[_0x5b4efa(0x26b)](_0x24244c){const _0x331309=_0x5b4efa,{unitID:_0x24eee3}=_0x24244c,{history:_0x46a5cb,collaboration:_0x1b6b56}=this[_0x331309(0x357)][_0x331309(0x2ef)](_0x24eee3);if(_0x46a5cb[_0x331309(0x265)]===0x0&&_0x1b6b56[_0x331309(0x265)]===0x0)return;const _0x9404c=[],_0x1b6c9b=[];let _0x3fc43e=_0x9af4da['deepClone'](_0x24244c[_0x331309(0x2a4)][0x0]),_0x116698=_0x9af4da[_0x331309(0x200)](_0x24244c['mutations'][0x0]);for(let _0x11d5f1=_0x46a5cb[_0x331309(0x265)]-0x1;_0x11d5f1>=0x0;_0x11d5f1--){const _0x30d1f8={'id':_0x331309(0x1eb),'params':{'unitId':_0x46a5cb[_0x11d5f1][_0x331309(0x351)],..._0x46a5cb[_0x11d5f1][_0x331309(0x268)]}},_0x2a2c3f={'id':_0x331309(0x1eb),'params':{'unitId':_0x46a5cb[_0x11d5f1]['unitId'],..._0x46a5cb[_0x11d5f1]['redoState']}},_0x713cc4=this['_transformService'][_0x331309(0x293)](_0x3fc43e,_0x30d1f8,!0x1),_0x1c7c03=this[_0x331309(0x30e)]['transformMutation'](_0x116698,_0x2a2c3f,!0x1);if(_0x1985d5(_0x713cc4))throw _0x713cc4[_0x331309(0x1d3)];if(_0x1985d5(_0x1c7c03))throw _0x1c7c03['error'];_0x9404c[_0x331309(0x25e)]({..._0x46a5cb[_0x11d5f1],'undoState':_0x713cc4['m2Prime']['params'],'redoState':_0x1c7c03['m2Prime'][_0x331309(0x1af)]}),_0x3fc43e=_0x713cc4[_0x331309(0x360)],_0x116698=_0x1c7c03[_0x331309(0x360)];}_0x3fc43e=_0x9af4da[_0x331309(0x200)](_0x24244c[_0x331309(0x2a4)][0x0]),_0x116698=_0x9af4da['deepClone'](_0x24244c['mutations'][0x0]);for(let _0x51ab11=_0x1b6b56[_0x331309(0x265)]-0x1;_0x51ab11>=0x0;_0x51ab11--){const _0x148ae2={'id':_0x331309(0x1eb),'params':{'unitId':_0x1b6b56[_0x51ab11][_0x331309(0x351)],..._0x1b6b56[_0x51ab11][_0x331309(0x268)]}},_0x350b69={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b6b56[_0x51ab11][_0x331309(0x351)],..._0x1b6b56[_0x51ab11][_0x331309(0x235)]}},_0xf1c116=this[_0x331309(0x30e)]['transformMutation'](_0x3fc43e,_0x148ae2,!0x1),_0x1b0075=this[_0x331309(0x30e)][_0x331309(0x293)](_0x116698,_0x350b69,!0x1);if(_0x1985d5(_0xf1c116))throw _0xf1c116[_0x331309(0x1d3)];if(_0x1985d5(_0x1b0075))throw _0x1b0075[_0x331309(0x1d3)];_0x1b6c9b['unshift']({..._0x1b6b56[_0x51ab11],'undoState':_0xf1c116[_0x331309(0x32b)][_0x331309(0x1af)],'redoState':_0x1b0075[_0x331309(0x32b)]['params']}),_0x3fc43e=_0xf1c116['m1Prime'],_0x116698=_0x1b0075[_0x331309(0x360)];}this[_0x331309(0x357)]['setStateCache'](_0x24eee3,{'history':_0x9404c,'collaboration':_0x1b6c9b});}};re=nn([Ce(0x0,_0x17f821(_0x1bdaf6)),Ce(0x1,_0x220695),Ce(0x2,_0x17f821(_0x1911b2))],re);var rn=Object[_0x5b4efa(0x23d)],on=(_0x4e49f9,_0x54d7c0,_0x1fae96,_0x938fb1)=>{const _0x14eccb=_0x5b4efa;for(var _0x9f3014=_0x938fb1>0x1?void 0x0:_0x938fb1?rn(_0x54d7c0,_0x1fae96):_0x54d7c0,_0x39bd52=_0x4e49f9[_0x14eccb(0x265)]-0x1,_0x36e013;_0x39bd52>=0x0;_0x39bd52--)(_0x36e013=_0x4e49f9[_0x39bd52])&&(_0x9f3014=_0x36e013(_0x9f3014)||_0x9f3014);return _0x9f3014;},tt=(_0x2691de,_0x5e8031)=>(_0x391740,_0x3cc5d5)=>_0x5e8031(_0x391740,_0x3cc5d5,_0x2691de);let oe=class{constructor(_0x169c71,_0x124e2e){const _0x4dc5c5=_0x5b4efa;this[_0x4dc5c5(0x260)]=_0x169c71,this[_0x4dc5c5(0x30e)]=_0x124e2e;}['transformSelections'](_0x56d5c8){const _0x264f91=_0x5b4efa;var _0x6f0511;const _0x4539ca=this['_injector'][_0x264f91(0x2ce)](_0x98b222),_0x4f5f23=(_0x6f0511=_0x4539ca[_0x264f91(0x1b1)]())!=null?_0x6f0511:[];if(_0x4f5f23[_0x264f91(0x265)]===0x0)return;const _0x15fb76=_0x56d5c8[_0x264f91(0x35a)],_0x531daa=[{'id':_0x264f91(0x1eb),'params':{'unitId':_0x15fb76,'actions':null,'textRanges':_0x4f5f23}}],_0x115fbc=this[_0x264f91(0x30e)][_0x264f91(0x2ff)](_0x56d5c8,_0x531daa);if(!_0x196989(_0x115fbc))throw _0x115fbc[_0x264f91(0x1d3)];const _0x28730a=_0x115fbc[_0x264f91(0x32b)][0x0][_0x264f91(0x1af)][_0x264f91(0x32c)];Array[_0x264f91(0x2f8)](_0x28730a)&&_0x28730a[_0x264f91(0x265)]&&_0x4539ca[_0x264f91(0x1ca)](_0x28730a,{'unitId':_0x15fb76,'subUnitId':_0x15fb76},!0x1);}};oe=on([tt(0x0,_0x17f821(_0x1bdaf6)),tt(0x1,_0x220695)],oe);var an=Object[_0x5b4efa(0x23d)],cn=(_0x4fbff8,_0x273985,_0xd8dc04,_0x28d47e)=>{const _0x123bc6=_0x5b4efa;for(var _0x58c474=_0x28d47e>0x1?void 0x0:_0x28d47e?an(_0x273985,_0xd8dc04):_0x273985,_0x485d94=_0x4fbff8[_0x123bc6(0x265)]-0x1,_0x513567;_0x485d94>=0x0;_0x485d94--)(_0x513567=_0x4fbff8[_0x485d94])&&(_0x58c474=_0x513567(_0x58c474)||_0x58c474);return _0x58c474;},U=(_0x30725c,_0x12ebd1)=>(_0x402a31,_0x1af5ff)=>_0x12ebd1(_0x402a31,_0x1af5ff,_0x30725c);let ae=class extends _0x3449ee{constructor(_0xacb716,_0x2fab22,_0x4ae258,_0x4ba08d,_0x301437,_0x4216ef,_0x463a92,_0x5098e0){const _0x520df2=_0x5b4efa;super(),_(this,'_status$',new _0x4f34ea(_0x5152ea['NOT_COLLAB'])),(this[_0x520df2(0x357)]=_0xacb716,this[_0x520df2(0x23c)]=_0x2fab22,this[_0x520df2(0x369)]=_0x4ae258,this['_docTransformStateCacheService']=_0x4ba08d,this[_0x520df2(0x37d)]=_0x301437,this[_0x520df2(0x1d0)]=_0x4216ef,this[_0x520df2(0x1a0)]=_0x463a92,this[_0x520df2(0x191)]=_0x5098e0,this['_initEntityListener']());}[_0x5b4efa(0x28d)](){const _0xcfc892=_0x5b4efa;this[_0xcfc892(0x33f)](this[_0xcfc892(0x23c)]['entityInit$'][_0xcfc892(0x244)](_0x36ed2c=>{const _0x3c1291=_0xcfc892,_0x375bf6=this['_docStateChangeManagerService'][_0x3c1291(0x197)][_0x3c1291(0x244)](_0x51dbdb=>{const _0x13b779=_0x3c1291;if(_0x51dbdb==null)return;const {unitId:_0x287990,redoState:_0x407026,commandId:_0x2680a4}=_0x51dbdb;if(_0x287990!==_0x36ed2c[_0x13b779(0x35a)])return;const _0x23d6c4={'id':_0x2680a4,'type':_0x5a7480[_0x13b779(0x27e)],'params':{'unitId':_0x287990,'actions':_0x407026['actions'],'textRanges':null}};_0x36ed2c[_0x13b779(0x201)](_0x23d6c4);});if(_0x36ed2c[_0x3c1291(0x33f)](_0x375bf6),_0x36ed2c instanceof _0x309fe9){const _0x28b532={'onTransformIME':_0x17611e=>this[_0x3c1291(0x369)][_0x3c1291(0x1de)](_0x17611e),'onTransformState':_0x5d05e1=>this['_docTransformStateCacheService']['transformStateCache'](_0x5d05e1),'onTransformSelections':_0x328741=>this['_docTransformSelectionsService']['transformSelections'](_0x328741),'onSyncEditingCollabCursor':_0x35dabc=>this[_0x3c1291(0x1d0)][_0x3c1291(0x2ad)](_0x35dabc),'onTransformRemoteChangesetByIMECache':_0x278e31=>this[_0x3c1291(0x369)][_0x3c1291(0x1f8)](_0x278e31),'onTransformRemoteChangesetByStateCache':_0x259301=>this[_0x3c1291(0x1b6)]['transformRemoteChangeset'](_0x259301)};_0x36ed2c[_0x3c1291(0x353)](_0x28b532);}}));}};ae=cn([U(0x0,_0x17f821(_0x1911b2)),U(0x1,_0x17f821(_0x408cc6)),U(0x2,_0x17f821(ne)),U(0x3,_0x17f821(re)),U(0x4,_0x17f821(oe)),U(0x5,_0x17f821(He)),U(0x6,_0x3e5e5c),U(0x7,_0x17f821(_0x144e47))],ae);var ln=Object[_0x5b4efa(0x23d)],_n=(_0x469e46,_0x30dbe1,_0x30f4be,_0x4e4f30)=>{const _0x5f2e1e=_0x5b4efa;for(var _0x8df0e1=_0x4e4f30>0x1?void 0x0:_0x4e4f30?ln(_0x30dbe1,_0x30f4be):_0x30dbe1,_0x43abf2=_0x469e46[_0x5f2e1e(0x265)]-0x1,_0x34b2e6;_0x43abf2>=0x0;_0x43abf2--)(_0x34b2e6=_0x469e46[_0x43abf2])&&(_0x8df0e1=_0x34b2e6(_0x8df0e1)||_0x8df0e1);return _0x8df0e1;},Ee=(_0xab53ae,_0x51f54c)=>(_0x159b66,_0x2a8dcd)=>_0x51f54c(_0x159b66,_0x2a8dcd,_0xab53ae);let we=class extends _0x3449ee{constructor(_0x507ad5,_0x406c1f,_0x3255c0){const _0x3fd927=_0x5b4efa;super(),_(this,_0x3fd927(0x2cd),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3fd927(0x1c1),!0x1),(this['_configService']=_0x507ad5,this[_0x3fd927(0x1e7)]=_0x406c1f,this['_revisionService']=_0x3255c0);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5b4efa(0x309)](){const _0xac2b63=_0x5b4efa;this[_0xac2b63(0x1c1)]=!0x1;}get[_0x5b4efa(0x190)](){return this['_saveTaskMap'];}['dispose'](){const _0x8e1225=_0x5b4efa;this[_0x8e1225(0x370)]()['then'](()=>super[_0x8e1225(0x2e2)]());}async['loadOfflineData'](_0x588a21){const _0x4ead91=_0x5b4efa;return this[_0x4ead91(0x1c1)]?null:this[_0x4ead91(0x1e7)][_0x4ead91(0x1d6)](_0x2c338a(_0x588a21));}async[_0x5b4efa(0x220)](_0x106e50,_0x561bd7){const _0x4cbb86=_0x5b4efa;return!!this[_0x4cbb86(0x1e7)]['setItem'](_0x106e50,_0x561bd7);}[_0x5b4efa(0x1dc)](_0x4225a9,_0x4a9502,_0x563add,_0x1ada19){const _0x509726=_0x5b4efa,_0x2c2bf8=this[_0x509726(0x2a5)][_0x509726(0x31b)](_0x4225a9);this['_cachedData'][_0x509726(0x19b)](_0x4225a9,{'unitID':_0x4225a9,'type':_0x4a9502,'awaitingChangeset':_0x563add,'mutations':_0x1ada19,'rev':_0x2c2bf8}),this[_0x509726(0x327)]['has'](_0x4225a9)||this[_0x509726(0x37c)](_0x4225a9);}[_0x5b4efa(0x37c)](_0x293357){const _0x44e5a9=_0x5b4efa,_0x891a5=this[_0x44e5a9(0x325)]();_0x891a5===0x0?this[_0x44e5a9(0x1ab)](_0x293357):this[_0x44e5a9(0x327)][_0x44e5a9(0x19b)](_0x293357,setTimeout(()=>this[_0x44e5a9(0x1ab)](_0x293357),_0x891a5));}[_0x5b4efa(0x325)](){const _0x57ac19=_0x5b4efa;var _0x5384ba;return(_0x5384ba=this[_0x57ac19(0x24e)]['getConfig'](_0xf066de))!=null?_0x5384ba:_0x356154;}[_0x5b4efa(0x1ab)](_0x218aa1){const _0x2e1620=_0x5b4efa,_0x362902=this[_0x2e1620(0x327)][_0x2e1620(0x2ce)](_0x218aa1);return _0x362902!==void 0x0&&window['clearTimeout'](_0x362902),this['_localStorageService'][_0x2e1620(0x320)](_0x2c338a(_0x218aa1),this[_0x2e1620(0x2cd)][_0x2e1620(0x2ce)](_0x218aa1))['then'](()=>this[_0x2e1620(0x327)][_0x2e1620(0x310)](_0x218aa1));}async[_0x5b4efa(0x370)](){const _0x39bb73=_0x5b4efa,_0x36a49a=[];this[_0x39bb73(0x327)][_0x39bb73(0x334)]((_0x17e4f7,_0x2c37ce)=>{const _0x554666=_0x39bb73;window['clearTimeout'](_0x17e4f7),_0x36a49a[_0x554666(0x2d4)](this[_0x554666(0x1ab)](_0x2c37ce)['then'](()=>{const _0x11e9d9=_0x554666;this[_0x11e9d9(0x327)][_0x11e9d9(0x310)](_0x2c37ce);}));}),await Promise[_0x39bb73(0x31c)](_0x36a49a);}};we=_n([Ee(0x0,_0x556e6e),Ee(0x1,_0x28ad72),Ee(0x2,_0x17f821(_0x383424))],we);class hn extends _0x38ba1e{constructor(){const _0x2814f6=_0x5b4efa;super(),_(this,'urlChange$'),this[_0x2814f6(0x31e)]=_0x15f7b3(window,_0x2814f6(0x203))[_0x2814f6(0x1b5)](_0x40f407(this['dispose$']),_0x3b7abc(0x1),_0x13995b(void 0x0));}[_0x5b4efa(0x241)](_0x59bf82,_0x1335c1,_0x1cdf71=!0x1){const _0x48d1d3=_0x5b4efa,_0x2ce768=new URL(window['location'][_0x48d1d3(0x237)]);_0x2ce768['searchParams'][_0x48d1d3(0x19b)](_0x59bf82,_0x1335c1),_0x1cdf71?window['history'][_0x48d1d3(0x19f)]('','',_0x2ce768['toString']()):window[_0x48d1d3(0x317)][_0x48d1d3(0x26a)]('','',_0x2ce768[_0x48d1d3(0x331)]());}[_0x5b4efa(0x20f)](_0x2c5ac1,_0x3d8682=!0x1){const _0x40bcfd=_0x5b4efa,_0x42ff84=new URL(window['location'][_0x40bcfd(0x237)]);_0x42ff84[_0x40bcfd(0x1f0)][_0x40bcfd(0x310)](_0x2c5ac1),_0x3d8682?window[_0x40bcfd(0x317)][_0x40bcfd(0x19f)]('','',_0x42ff84[_0x40bcfd(0x331)]()):window[_0x40bcfd(0x317)][_0x40bcfd(0x26a)]('','',_0x42ff84[_0x40bcfd(0x331)]());}['getParam'](_0x421f06){const _0x5351cf=_0x5b4efa;var _0x5634ef;return(_0x5634ef=new URL(window[_0x5351cf(0x2c1)][_0x5351cf(0x237)])[_0x5351cf(0x1f0)][_0x5351cf(0x2ce)](_0x421f06))!=null?_0x5634ef:void 0x0;}}var un=Object[_0x5b4efa(0x34b)],dn=Object[_0x5b4efa(0x23d)],fn=(_0xc7b558,_0x22374c,_0x44e64a)=>_0x22374c in _0xc7b558?un(_0xc7b558,_0x22374c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44e64a}):_0xc7b558[_0x22374c]=_0x44e64a,Sn=(_0x572167,_0x1bcf5a,_0x41409b,_0x545312)=>{const _0x1ceac5=_0x5b4efa;for(var _0x5e57e7=_0x545312>0x1?void 0x0:_0x545312?dn(_0x1bcf5a,_0x41409b):_0x1bcf5a,_0xbe8102=_0x572167[_0x1ceac5(0x265)]-0x1,_0x7c7eb6;_0xbe8102>=0x0;_0xbe8102--)(_0x7c7eb6=_0x572167[_0xbe8102])&&(_0x5e57e7=_0x7c7eb6(_0x5e57e7)||_0x5e57e7);return _0x5e57e7;},Oe=(_0x1dd8c7,_0x45cdf2)=>(_0x33157f,_0x24bef0)=>_0x45cdf2(_0x33157f,_0x24bef0,_0x1dd8c7),mn=(_0x267786,_0x4c0219,_0x1f4f74)=>fn(_0x267786,_0x4c0219+'',_0x1f4f74);const In=_0x5b4efa(0x378);let Ae=class extends _0x4d70f5{constructor(_0x2a7952=et,_0x1c3aab,_0x236e41,_0x29891e){const _0xdeb9a1=_0x5b4efa;super(),this[_0xdeb9a1(0x2c0)]=_0x2a7952,this['_renderManagerService']=_0x1c3aab,this[_0xdeb9a1(0x260)]=_0x236e41,this[_0xdeb9a1(0x24e)]=_0x29891e;const {..._0x450841}=_0x40ceb4({},et,this['_config']);this[_0xdeb9a1(0x24e)]['setConfig'](Zi,_0x450841);}[_0x5b4efa(0x231)](){const _0x4b90c0=_0x5b4efa;this[_0x4b90c0(0x1b8)](),this['_initDependencies']();}[_0x5b4efa(0x2f4)](){const _0x37b4fc=_0x5b4efa;this[_0x37b4fc(0x219)]();}[_0x5b4efa(0x1b8)](){const _0x5a31d5=_0x5b4efa;var _0x2147d8;const _0x1c9c35=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x195750,{'useClass':_0x2ff5db}],[_0x277322,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x492771(this['_injector'],_0x1ef9b1(_0x1c9c35,(_0x2147d8=this[_0x5a31d5(0x2c0)])==null?void 0x0:_0x2147d8[_0x5a31d5(0x17c)]));}[_0x5b4efa(0x219)](){const _0x40cab6=_0x5b4efa;this['disposeWithMe'](this[_0x40cab6(0x216)][_0x40cab6(0x31f)](_0x3860d6[_0x40cab6(0x28c)],[Le])),this[_0x40cab6(0x33f)](this['_renderManagerService'][_0x40cab6(0x31f)](_0x3860d6[_0x40cab6(0x257)],[Pe]));}[_0x5b4efa(0x189)](){_0x48e288(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x5b4efa(0x272),In),Ae=Sn([_0x72a35(_0x3c18dc),Oe(0x1,_0x9df613),Oe(0x2,_0x17f821(_0x1bdaf6)),Oe(0x3,_0x556e6e)],Ae);var gn=Object[_0x5b4efa(0x23d)],vn=(_0x2f23a2,_0x3a109a,_0x5d3157,_0x15ae5e)=>{const _0x592b5f=_0x5b4efa;for(var _0xbbc9bb=_0x15ae5e>0x1?void 0x0:_0x15ae5e?gn(_0x3a109a,_0x5d3157):_0x3a109a,_0x250c49=_0x2f23a2[_0x592b5f(0x265)]-0x1,_0x1172de;_0x250c49>=0x0;_0x250c49--)(_0x1172de=_0x2f23a2[_0x250c49])&&(_0xbbc9bb=_0x1172de(_0xbbc9bb)||_0xbbc9bb);return _0xbbc9bb;},K=(_0x2b6d14,_0x57f836)=>(_0x30f1ba,_0x25b02e)=>_0x57f836(_0x30f1ba,_0x25b02e,_0x2b6d14);let st=class extends _0x472bc4{constructor(_0xe4c83b,_0x573cbc,_0x16428b,_0x28dbbb,_0xc01788){super(_0xe4c83b,_0x573cbc,_0x16428b,_0x28dbbb,_0xc01788);}async[_0x5b4efa(0x1a3)](_0x5d26b3){const _0xd8e6f2=_0x5b4efa,_0x59884d=await this['_getSessionTicket'](),_0x55d06a=this['_createSocketURL'](_0x5d26b3,_0x59884d);return this[_0xd8e6f2(0x37e)](_0x55d06a);}[_0x5b4efa(0x330)](_0x206d36,_0x3cfcfa){const _0x5ecf01=_0x5b4efa,_0x27f5dd=typeof window>'u'?new URL(_0x206d36):new URL(_0x206d36,window[_0x5ecf01(0x2c1)][_0x5ecf01(0x21b)]);_0x27f5dd[_0x5ecf01(0x1f0)][_0x5ecf01(0x19b)]('sessionTicket',_0x3cfcfa);const _0x150c41=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x150c41[_0x5ecf01(0x2ce)](_0x5ecf01(0x1c5))&&_0x27f5dd[_0x5ecf01(0x1f0)][_0x5ecf01(0x19b)](_0x5ecf01(0x1c5),_0x150c41[_0x5ecf01(0x2ce)]('runId')),_0x27f5dd[_0x5ecf01(0x331)]();}async[_0x5b4efa(0x1ad)](){const _0x137057=_0x5b4efa;var _0x9e2509,_0x5603f5,_0x26c747;const _0x3e7c57=this[_0x137057(0x24e)][_0x137057(0x30c)](_0x4c11aa),_0x456668=(_0x9e2509=_0x3e7c57==null?void 0x0:_0x3e7c57[_0x137057(0x2de)])!=null?_0x9e2509:_0x21d4af;return(_0x26c747=(_0x5603f5=(await this[_0x137057(0x298)][_0x137057(0x2ce)](_0x456668,{'headers':{'Content-Type':_0x137057(0x2e7)}}))[_0x137057(0x1f7)])==null?void 0x0:_0x5603f5[_0x137057(0x234)])!=null?_0x26c747:'';}};st=vn([K(0x0,_0x17f821(_0x1bdaf6)),K(0x1,_0x17f821(_0x5817a5)),K(0x2,_0x556e6e),K(0x3,_0x41ac4f),K(0x4,_0x26c83c)],st);const it=0x7530,nt=_0x5b4efa(0x20d);class Fn extends _0x3449ee{constructor(){const _0x58109a=_0x5b4efa;super(),_(this,_0x58109a(0x1a1),_0x27c680()),_(this,'_selfUnitIDs',new Set()),_(this,_0x58109a(0x295),new Map()),_(this,_0x58109a(0x1c4),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x58109a(0x17f)]();}['dispose'](){const _0x470065=_0x5b4efa;super[_0x470065(0x2e2)](),this[_0x470065(0x362)][_0x470065(0x334)]((_0xc17ee1,_0x2966da)=>this[_0x470065(0x2b2)](_0x2966da)),this[_0x470065(0x1c4)]&&window[_0x470065(0x284)](this[_0x470065(0x1c4)]);}[_0x5b4efa(0x333)](_0x4759e5){const _0x193f2c=_0x5b4efa;return this['_ensureSubject'](_0x4759e5)[_0x193f2c(0x1b5)](_0x2f7c21());}[_0x5b4efa(0x18a)](_0x59b837){const _0x5156ce=_0x5b4efa;this[_0x5156ce(0x37f)][_0x5156ce(0x312)]===0x0&&this[_0x5156ce(0x181)](),this[_0x5156ce(0x37f)][_0x5156ce(0x209)](_0x59b837),this['_send']({'type':0x0,'memberID':this[_0x5156ce(0x1a1)],'unitIDs':[_0x59b837],'isForwarded':!0x1});}['disposeUnit'](_0xa000c2){const _0x24f851=_0x5b4efa;this[_0x24f851(0x37f)]['delete'](_0xa000c2),this[_0x24f851(0x37f)][_0x24f851(0x312)]===0x0&&this[_0x24f851(0x1c4)]&&window[_0x24f851(0x284)](this[_0x24f851(0x1c4)]);}[_0x5b4efa(0x17f)](){const _0x39ab63=_0x5b4efa;this[_0x39ab63(0x33f)](_0x4e32ae(_0x15f7b3(window,_0x39ab63(0x221))[_0x39ab63(0x244)](_0x1eb5f5=>{const _0x34869f=_0x39ab63;if(_0x1eb5f5[_0x34869f(0x338)]!==nt||!_0x1eb5f5[_0x34869f(0x296)])return;const _0x22b185=JSON['parse'](_0x1eb5f5[_0x34869f(0x296)]);this[_0x34869f(0x19a)](_0x22b185);}))),window['addEventListener'](_0x39ab63(0x1b7),()=>this[_0x39ab63(0x1cc)]({'type':0x1,'memberID':this[_0x39ab63(0x1a1)],'unitIDs':Array[_0x39ab63(0x319)](this[_0x39ab63(0x37f)])}));}['_handleEvent'](_0x915058){const _0x386347=_0x5b4efa;switch(_0x915058['type']){case 0x0:this[_0x386347(0x307)](_0x915058);break;case 0x1:this[_0x386347(0x1aa)](_0x915058);break;case 0x2:this[_0x386347(0x20e)](_0x915058);break;}}[_0x5b4efa(0x307)](_0x1121c9){const _0x2956e4=_0x5b4efa,{unitIDs:_0x209618,memberID:_0x347a06,isForwarded:_0x542568}=_0x1121c9;_0x209618[_0x2956e4(0x334)](_0x589bb6=>{const _0x14cb52=_0x2956e4;if(!_0x542568&&this[_0x14cb52(0x295)][_0x14cb52(0x1ce)](_0x589bb6)&&this[_0x14cb52(0x2eb)](_0x589bb6)['next'](_0x112e1e[_0x14cb52(0x32f)]),!this[_0x14cb52(0x295)][_0x14cb52(0x1ce)](_0x589bb6)||!this[_0x14cb52(0x295)][_0x14cb52(0x2ce)](_0x589bb6)['has'](_0x347a06)){const _0x2e9ce8=this[_0x14cb52(0x295)]['get'](_0x589bb6)||new Set();_0x2e9ce8[_0x14cb52(0x209)](_0x347a06),this['_unitOnClients'][_0x14cb52(0x19b)](_0x589bb6,_0x2e9ce8),this[_0x14cb52(0x2e1)](_0x347a06);}}),_0x542568||this[_0x2956e4(0x1cc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5b4efa(0x2e1)](_0x2d26f9){const _0x192298=_0x5b4efa;this['_removeClearOtherTimer'](_0x2d26f9);const _0x48cd4b=window[_0x192298(0x290)](()=>{const _0x2aabab=_0x192298;this[_0x2aabab(0x295)][_0x2aabab(0x334)](_0x336eb7=>{const _0x36edda=_0x2aabab;_0x336eb7[_0x36edda(0x310)](_0x2d26f9);});},it*0x2);this[_0x192298(0x362)][_0x192298(0x19b)](_0x2d26f9,_0x48cd4b);}[_0x5b4efa(0x2b2)](_0x34d46e){const _0x201bfc=_0x5b4efa;if(this[_0x201bfc(0x362)][_0x201bfc(0x1ce)](_0x34d46e)){const _0x34f640=this['_clearOtherTimers']['get'](_0x34d46e);_0x34f640&&window['clearTimeout'](_0x34f640),this[_0x201bfc(0x362)]['set'](_0x34d46e,null);}}[_0x5b4efa(0x1aa)](_0x34ad89){const _0x438402=_0x5b4efa,{memberID:_0x3dd27e,unitIDs:_0x449d74}=_0x34ad89;_0x449d74['forEach'](_0x1c31d5=>{const _0x23973d=_0x3518;var _0x36722f;const _0x499164=this[_0x23973d(0x295)][_0x23973d(0x2ce)](_0x1c31d5);_0x499164&&(_0x499164['delete'](_0x3dd27e),(_0x36722f=this[_0x23973d(0x2eb)](_0x1c31d5))==null||_0x36722f['next'](_0x499164[_0x23973d(0x312)]===0x0?_0x112e1e[_0x23973d(0x267)]:_0x112e1e[_0x23973d(0x32f)]));}),this[_0x438402(0x2b2)](_0x3dd27e);}[_0x5b4efa(0x20e)](_0x4a2fc8){const _0x193399=_0x5b4efa;this[_0x193399(0x2e1)](_0x4a2fc8[_0x193399(0x24a)]);}['_send'](_0x2e7d04){const _0x195d38=_0x5b4efa;localStorage[_0x195d38(0x320)](nt,JSON[_0x195d38(0x232)](_0x2e7d04));}[_0x5b4efa(0x181)](){const _0x4fb66d=_0x5b4efa;this['_heartbeatTimer']=window[_0x4fb66d(0x1e9)](()=>{const _0x215ca5=_0x4fb66d;this['_send']({'type':0x2,'memberID':this[_0x215ca5(0x1a1)]});},it);}[_0x5b4efa(0x2eb)](_0x1b4bd1){const _0x10383e=_0x5b4efa;return this[_0x10383e(0x375)][_0x10383e(0x1ce)](_0x1b4bd1)||this['_unitStatus'][_0x10383e(0x19b)](_0x1b4bd1,new _0x4f34ea(_0x112e1e['NO_OTHER_CLIENTS_EDITING'])),this[_0x10383e(0x375)][_0x10383e(0x2ce)](_0x1b4bd1);}}var Mt=(_0x1db1b1=>(_0x1db1b1[_0x1db1b1['UNDEFINED']=0x0]=_0x5b4efa(0x2a1),_0x1db1b1[_0x1db1b1['OK']=0x1]='OK',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x291)]=0x2]=_0x5b4efa(0x291),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x196)]=0x3]='PERMISSION_DENIED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x358)]=0x4]=_0x5b4efa(0x358),_0x1db1b1[_0x1db1b1['UNAUTHENTICATED']=0x5]=_0x5b4efa(0x368),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x188)]=0x6]=_0x5b4efa(0x188),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2f0)]=0x7]=_0x5b4efa(0x2f0),_0x1db1b1[_0x1db1b1['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x36b)]=0x9]='COMPLETION_FINISHED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1fc)]=0xa]=_0x5b4efa(0x1fc),_0x1db1b1[_0x1db1b1['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x5b4efa(0x20b),_0x1db1b1[_0x1db1b1['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5b4efa(0x29b),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2c3)]=0xd]=_0x5b4efa(0x2c3),_0x1db1b1[_0x1db1b1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5b4efa(0x258),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x313)]=0x1389]=_0x5b4efa(0x313),_0x1db1b1[_0x1db1b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x259)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1db1b1[_0x1db1b1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1c9)]=0x1b59]=_0x5b4efa(0x1c9),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2f7)]=0x1b5a]=_0x5b4efa(0x2f7),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x185)]=0x1b5b]=_0x5b4efa(0x185),_0x1db1b1[_0x1db1b1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5b4efa(0x341),_0x1db1b1[_0x1db1b1['APPLY_DUPLICATED']=0x1b5d]=_0x5b4efa(0x1c7),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x20c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x281)]=0x2329]=_0x5b4efa(0x281),_0x1db1b1[_0x1db1b1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x339)]=0x232b]=_0x5b4efa(0x339),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x186)]=0x232c]=_0x5b4efa(0x186),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x302)]=0x232d]=_0x5b4efa(0x302),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x21c)]=0x2711]=_0x5b4efa(0x21c),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x23b)]=0x2712]=_0x5b4efa(0x23b),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1b0)]=0x2713]=_0x5b4efa(0x1b0),_0x1db1b1[_0x1db1b1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5b4efa(0x285),_0x1db1b1[_0x1db1b1['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5b4efa(0x1ed),_0x1db1b1[_0x1db1b1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5b4efa(0x2f6),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2a6)]=0x271c]=_0x5b4efa(0x2a6),_0x1db1b1[_0x1db1b1['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x5b4efa(0x1e0),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x226)]=0x271e]=_0x5b4efa(0x226),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1fe)]=0x271f]=_0x5b4efa(0x1fe),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x31d)]=0x2720]=_0x5b4efa(0x31d),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x314)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x277)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1db1b1[_0x1db1b1['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2df)]=0x2ee3]=_0x5b4efa(0x2df),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x350)]=0x2ee4]=_0x5b4efa(0x350),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2ca)]=0x2ee5]=_0x5b4efa(0x2ca),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x27b)]=0x32c9]=_0x5b4efa(0x27b),_0x1db1b1[_0x1db1b1['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1db1b1[_0x1db1b1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5b4efa(0x32e),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x224)]=-0x1]=_0x5b4efa(0x224),_0x1db1b1))(Mt||{}),pn=Object[_0x5b4efa(0x23d)],Cn=(_0x53a9a1,_0x577fab,_0x8dd0b2,_0x3f8f16)=>{const _0x381aa2=_0x5b4efa;for(var _0x5a8aa2=_0x3f8f16>0x1?void 0x0:_0x3f8f16?pn(_0x577fab,_0x8dd0b2):_0x577fab,_0x5daadc=_0x53a9a1[_0x381aa2(0x265)]-0x1,_0x3cc664;_0x5daadc>=0x0;_0x5daadc--)(_0x3cc664=_0x53a9a1[_0x5daadc])&&(_0x5a8aa2=_0x3cc664(_0x5a8aa2)||_0x5a8aa2);return _0x5a8aa2;},be=(_0x10715e,_0x3f887c)=>(_0x34f06c,_0x6247a5)=>_0x3f887c(_0x34f06c,_0x6247a5,_0x10715e);let rt=class extends _0x3449ee{constructor(_0x21f631,_0x365037,_0x44a3c2){const _0x1341a1=_0x5b4efa;super(),this['_instanceService']=_0x21f631,this[_0x1341a1(0x298)]=_0x365037,this['_configService']=_0x44a3c2;}async['runOnServer'](_0x1cac13,_0x493f47,_0x1ae1c0,..._0x5b275f){const _0x331b8c=_0x5b4efa;var _0x51fbe6,_0x1d2152,_0x2f5d76,_0x3a64a3;const _0x192ee8=this[_0x331b8c(0x239)]['getFocusedUnit']();if(!_0x192ee8)throw new Error(_0x331b8c(0x25a));const _0x577cc6=((_0x51fbe6=this[_0x331b8c(0x24e)][_0x331b8c(0x30c)](_0x31621f))!=null?_0x51fbe6:_0x733df)+'/'+_0x1cac13+'/run/'+_0x493f47,_0x27cc58=new URL(window['location']['href']),_0x10ba67={'scriptId':_0x1cac13,'runId':(_0x1d2152=_0x27cc58[_0x331b8c(0x1f0)][_0x331b8c(0x2ce)]('runId'))!=null?_0x1d2152:'','function':_0x493f47,'unitId':_0x192ee8[_0x331b8c(0x180)](),'argsOfFunction':JSON['stringify'](_0x5b275f),'invokeId':(_0x2f5d76=_0x1ae1c0[_0x331b8c(0x28f)])!=null?_0x2f5d76:'','executionId':(_0x3a64a3=_0x1ae1c0[_0x331b8c(0x212)])!=null?_0x3a64a3:''};try{const _0x2e06f7=await this['_httpService'][_0x331b8c(0x26d)](_0x577cc6,{'body':_0x10ba67});return _0x2e06f7['body'][_0x331b8c(0x1d3)]&&_0x2e06f7[_0x331b8c(0x1f7)][_0x331b8c(0x1d3)][_0x331b8c(0x380)]!==Mt['OK']?_0x331b8c(0x311):_0x2e06f7[_0x331b8c(0x1f7)][_0x331b8c(0x29d)];}catch{return _0x331b8c(0x311);}}};rt=Cn([be(0x0,_0x166042),be(0x1,_0x17f821(_0x5817a5)),be(0x2,_0x556e6e)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x6f952d=_0x1920;(function(_0x17ad8f,_0x2a52d2){const _0x4e6a65=_0x1920,_0x5583d1=_0x17ad8f();while(!![]){try{const _0x11f690=parseInt(_0x4e6a65(0x1b1))/0x1*(-parseInt(_0x4e6a65(0x1d3))/0x2)+parseInt(_0x4e6a65(0x8d))/0x3*(-parseInt(_0x4e6a65(0x160))/0x4)+parseInt(_0x4e6a65(0x172))/0x5*(parseInt(_0x4e6a65(0xf5))/0x6)+parseInt(_0x4e6a65(0x1b2))/0x7*(-parseInt(_0x4e6a65(0x163))/0x8)+parseInt(_0x4e6a65(0x15f))/0x9+parseInt(_0x4e6a65(0x1ff))/0xa*(parseInt(_0x4e6a65(0x109))/0xb)+parseInt(_0x4e6a65(0xe3))/0xc;if(_0x11f690===_0x2a52d2)break;else _0x5583d1['push'](_0x5583d1['shift']());}catch(_0x1415be){_0x5583d1['push'](_0x5583d1['shift']());}}}(_0x45b5,0x4949c));var $t=Object['defineProperty'],xt=(_0x17526c,_0xac176d,_0x4c7c13)=>_0xac176d in _0x17526c?$t(_0x17526c,_0xac176d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c7c13}):_0x17526c[_0xac176d]=_0x4c7c13,_=(_0x4473d2,_0x2b862d,_0x3ed84b)=>xt(_0x4473d2,typeof _0x2b862d!='symbol'?_0x2b862d+'':_0x2b862d,_0x3ed84b);import{MemberService as _0x441684,SessionStatus as _0x2948c1,CollaborationSessionService as _0x338fb1,CollaborationStatus as _0x2cb0a0,CollaborationController as _0x2b30d1,ILocalCacheService as _0x4da2db,CollaborationUIEventService as _0x3329ad,CollaborationUIEventId as _0x117633,DataLoaderService as _0x5dcddc,DocCollaborationEntity as _0xb3aa28,getLocalCacheKey as _0x32759a,LOCAL_CACHE_INTERVAL as _0x531045,LOCAL_CACHE_INTERVAL_KEY as _0x14b207,UniverCollaborationClientPlugin as _0x1fa62f,CollaborationSocketService as _0x57641c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x207f58,DEFAULT_WS_SESSION_TICKET_URL as _0x102dda,UnitStatus as _0x19f169,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3a0e70,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3b2874}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5e6d7d,Disposable as _0x314d20,DOC_RANGE_TYPE as _0x29b49a,Inject as _0x2ad71f,Injector as _0x14214c,IUniverInstanceService as _0xf38a52,ICommandService as _0x4d6e9b,debounce as _0x59d06b,Rectangle as _0x3024e7,DisposableCollection as _0x4b8d95,toDisposable as _0x545ea3,UniverInstanceType as _0x1bc251,Tools as _0x123dff,COLORS as _0x56d04f,ColorKit as _0x4fcff7,ThemeService as _0x2005fd,fromEventSubject as _0x1c819b,LocaleService as _0x1d6e14,createIdentifier as _0x2b6b47,ILogService as _0x4162d0,Optional as _0x200084,Workbook as _0x3117c5,CommandType as _0x3a95a5,IConfigService as _0x27db46,ILocalStorageService as _0x39ce6c,DependentOn as _0xa20676,Plugin as _0x402252,merge as _0x431bb4,registerDependencies as _0x36eb4a,mergeOverrideWithDependencies as _0x2aa0c7,touchDependencies as _0x33ece9,generateRandomId as _0x271946}from'@univerjs/core';import{Shape as _0x2aad57,Rect as _0x59c86c,getColor as _0x36bd5f,RegularPolygon as _0x1f1108,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x47e241,Vector2 as _0x5c7f08,SHEET_VIEWPORT_KEY as _0x4effea,IRenderManagerService as _0x397b72}from'@univerjs/engine-render';import{ISocketService as _0x31881a,WebSocketService as _0x104ba1,HTTPService as _0x121683}from'@univerjs/network';import{IDocClipboardService as _0x49044a,NodePositionConvertToCursor as _0x311cba,NodePositionConvertToRectRange as _0x5705f8,TEXT_RANGE_LAYER_INDEX as _0x2619d5,SetDocZoomRatioOperation as _0x3d0060,DocIMEInputManagerService as _0x37c3da,DocStateChangeManagerService as _0x528106}from'@univerjs/docs-ui';import{IImageIoService as _0x35079f}from'@univerjs/drawing';import{BehaviorSubject as _0x25ddca,debounceTime as _0x237496,takeUntil as _0x147fa3,Subject as _0x4f017c,filter as _0x55040f,switchMap as _0x1467e7,merge as _0x1f3a02,combineLatest as _0x334567,of as _0x436a93,fromEvent as _0x3b2803,shareReplay as _0x315e11,mapTo as _0x4d926d,distinctUntilChanged as _0x38037e}from'rxjs';import{ITransformService as _0x23cfb3,CollaborationEvent as _0x410ea3,isTransformMutationFailure as _0x399df1,isTransformMutationsWithChangesetSuccess as _0x1939ee,RevisionService as _0x389b96,ISnapshotServerService as _0x549feb}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3671a2,RichTextEditingMutation as _0x34c5b7,DocSelectionManagerService as _0x8e84b4,DocSkeletonManagerService as _0x500202}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xc18a74,serializeRangeWithSheet as _0x15ae3e}from'@univerjs/engine-formula';import{RefRangeService as _0x165ea1,SetSelectionsOperation as _0x4aec22,SheetsSelectionsService as _0x34824b,EffectRefRangId as _0x5cf330,handleIRemoveRow as _0x403726,handleIRemoveCol as _0x198690,handleMoveRange as _0x51e359,handleInsertRow as _0x1ea899,handleInsertRangeMoveRight as _0x2349c2,handleInsertRangeMoveDown as _0x1b8001,handleInsertCol as _0x1830f7,handleDeleteRangeMoveUp as _0x2eecfe,handleDeleteRangeMoveLeft as _0x201fe2,runRefRangeMutations as _0x3882f8,SetWorksheetActivateCommand as _0x59f06e}from'@univerjs/sheets';import{map as _0x31365f,filter as _0x581d51,throttleTime as _0x19b056,takeUntil as _0x227a8e,switchMap as _0x37011b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4beabc,getCoordByCell as _0xa0c449,getSheetObject as _0x2c8e5f}from'@univerjs/sheets-ui';import{jsx as _0x40946b,jsxs as _0x5c1e11}from'react/jsx-runtime';import{useObservable as _0x2b77a4,useDependency as _0x12e57b,IUIPartsService as _0x5a568b,BuiltInUIPart as _0x344b76,connectInjector as _0x283f2b,IBeforeCloseService as _0x188b08,IMessageService as _0x16c293,INotificationService as _0x369ee3}from'@univerjs/ui';import{Tooltip as _0x43ed71,clsx as _0x2454df,MessageType as _0x1ad4d0}from'@univerjs/design';import{forwardRef as _0x2fd603,useRef as _0x24d2a2,createElement as _0x672ee0,useCallback as _0x26d198}from'react';import{IRemoteInstanceService as _0x2b90ec}from'@univerjs/rpc';var ci=Object[_0x6f952d(0x283)],li=(_0x279e33,_0x4f1196,_0x26ad27,_0x164bcb)=>{for(var _0x5ac570=_0x164bcb>0x1?void 0x0:_0x164bcb?ci(_0x4f1196,_0x26ad27):_0x4f1196,_0x3a7cb5=_0x279e33['length']-0x1,_0x3f3537;_0x3a7cb5>=0x0;_0x3a7cb5--)(_0x3f3537=_0x279e33[_0x3a7cb5])&&(_0x5ac570=_0x3f3537(_0x5ac570)||_0x5ac570);return _0x5ac570;},Je=(_0x28ff19,_0x2b838b)=>(_0x1032b1,_0x2c1aa9)=>_0x2b838b(_0x1032b1,_0x2c1aa9,_0x28ff19);let Ne=class extends _0x5e6d7d{constructor(_0x6d18f3,_0x20c419){const _0x53734d=_0x6f952d;super(),this[_0x53734d(0x1b7)]=_0x6d18f3,this[_0x53734d(0x1a3)]=_0x20c419,this[_0x53734d(0x16a)]();}[_0x6f952d(0x16a)](){const _0x570f10=_0x6f952d,_0x312473=this;this[_0x570f10(0xc7)](this['_docClipboardService'][_0x570f10(0x130)]({'onBeforePasteImage':async _0x329837=>{const _0x38cf6b=_0x570f10,_0x381b22=await _0x312473[_0x38cf6b(0x1a3)][_0x38cf6b(0x11d)](_0x329837);return _0x381b22?{'source':_0x381b22[_0x38cf6b(0x285)],'imageSourceType':_0x381b22['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x49044a),Je(0x1,_0x35079f)],Ne);const Ze=[_0x6f952d(0xb1),_0x6f952d(0xac),'green.600',_0x6f952d(0x23d),_0x6f952d(0x1ee),_0x6f952d(0xa7)];class ke extends _0x314d20{constructor(){const _0x251a84=_0x6f952d;super(...arguments),_(this,_0x251a84(0x197),new Map()),_(this,_0x251a84(0x222),0x0);}[_0x6f952d(0x273)](_0x10234e){const _0x93f45c=_0x6f952d;if(this[_0x93f45c(0x197)][_0x93f45c(0x1a8)](_0x10234e))return this[_0x93f45c(0x197)][_0x93f45c(0x261)](_0x10234e);const _0x2f0936=Ze[this[_0x93f45c(0x222)]];return this[_0x93f45c(0x222)]=(this[_0x93f45c(0x222)]+0x1)%Ze[_0x93f45c(0x158)],this[_0x93f45c(0x197)][_0x93f45c(0x129)](_0x10234e,_0x2f0936),_0x2f0936;}}function Tt(_0x146fcb){let _0x3f661a='';for(const _0x14786e of _0x146fcb){const {startOffset:_0x482744,endOffset:_0x869d11,isActive:_0x297a47,rangeType:_0x288205,segmentId:_0x3ed8b9,segmentPage:_0x43cce4}=_0x14786e;_0x3f661a['length']&&(_0x3f661a+=','),_0x3f661a+=_0x482744+':'+_0x869d11+':'+(_0x297a47?'1':'0')+':'+_0x288205+':'+_0x3ed8b9+':'+_0x43cce4;}return _0x3f661a;}function _i(_0xc03c9e){const _0x28283a=_0x6f952d,_0x30cc2a=_0xc03c9e[_0x28283a(0xb5)](','),_0xcdfe23=[];for(const _0x11cbe4 of _0x30cc2a){const [_0x16b6c4,_0x21ebdc,_0x1bd0b8,_0x2a758f,_0x1a3e93,_0x27a91d]=_0x11cbe4[_0x28283a(0xb5)](':');_0xcdfe23[_0x28283a(0x1a2)]({'startOffset':Number(_0x16b6c4),'endOffset':Number(_0x21ebdc),'collapsed':_0x16b6c4===_0x21ebdc,'isActive':_0x1bd0b8==='1','rangeType':_0x2a758f===_0x29b49a[_0x28283a(0xd8)]?_0x29b49a['TEXT']:_0x29b49a[_0x28283a(0x1fd)],'segmentId':typeof _0x1a3e93==_0x28283a(0x19b)?String(_0x1a3e93):'','segmentPage':Number(_0x27a91d!=null?_0x27a91d:-0x1)});}return _0xcdfe23[_0x28283a(0x269)](_0x8044dd=>_0x8044dd[_0x28283a(0x1c7)])||(_0xcdfe23[0x0]['isActive']=!0x0),_0xcdfe23;}class He extends _0x5e6d7d{constructor(){const _0x4540cf=_0x6f952d;super(...arguments),_(this,_0x4540cf(0x1f8),new _0x25ddca(null)),_(this,_0x4540cf(0x90),this['_collabCursorState$'][_0x4540cf(0xa1)]());}[_0x6f952d(0x26a)](_0x6574fe){const _0x2a0cd1=_0x6f952d,{unitID:_0x86342,memberID:_0x5721bb,textRanges:_0xa80f52}=_0x6574fe,_0x3d754c=Tt(_0xa80f52);if(_0x3d754c==='')return;const _0x1a4850={'unitID':_0x86342,'memberID':_0x5721bb,'selection':_0x3d754c};this[_0x2a0cd1(0x1f8)][_0x2a0cd1(0xa9)](_0x1a4850);}}var hi=Object[_0x6f952d(0x283)],ui=(_0x5c0cb7,_0x3012e7,_0x691dcc,_0x1838a3)=>{const _0x3a0726=_0x6f952d;for(var _0x100fef=_0x1838a3>0x1?void 0x0:_0x1838a3?hi(_0x3012e7,_0x691dcc):_0x3012e7,_0x47246f=_0x5c0cb7[_0x3a0726(0x158)]-0x1,_0x26c9b2;_0x47246f>=0x0;_0x47246f--)(_0x26c9b2=_0x5c0cb7[_0x47246f])&&(_0x100fef=_0x26c9b2(_0x100fef)||_0x100fef);return _0x100fef;},P=(_0x3a8436,_0x557d1f)=>(_0x20b2b2,_0x4de1bc)=>_0x557d1f(_0x20b2b2,_0x4de1bc,_0x3a8436);const di=0x12c,fi=0x64;let Ue=class extends _0x5e6d7d{constructor(_0x583baa,_0x5b1a4e,_0x230d02,_0x1fa289,_0x25c32f,_0x4f41b9,_0x459461,_0x1935d8,_0x2bc300){const _0x3babb9=_0x6f952d;super(),_(this,_0x3babb9(0x112),!0x1),_(this,_0x3babb9(0x16a),!0x1),_(this,_0x3babb9(0x202),new _0x25ddca(new Map())),_(this,_0x3babb9(0x223),this[_0x3babb9(0x202)]['asObservable']()),_(this,_0x3babb9(0x134),new _0x25ddca([])),_(this,_0x3babb9(0x136),this[_0x3babb9(0x134)][_0x3babb9(0x173)](_0x237496(di))),_(this,_0x3babb9(0x93),_0x59d06b(_0xf0b15a=>{const _0x4455d4=_0x3babb9,_0x1eefa2={'eventID':_0x410ea3[_0x4455d4(0xe4)],'data':{'unitID':this[_0x4455d4(0x201)],'memberID':this[_0x4455d4(0x18f)][_0x4455d4(0xc8)](),'selection':Tt(_0xf0b15a)}};this[_0x4455d4(0x18f)][_0x4455d4(0x108)](_0x1eefa2,this[_0x4455d4(0x201)]);},fi)),(this[_0x3babb9(0x201)]=_0x583baa,this['_session']=_0x5b1a4e,this[_0x3babb9(0x277)]=_0x230d02,this['_colorAssignService']=_0x1fa289,this['_memberService']=_0x25c32f,this[_0x3babb9(0xaa)]=_0x4f41b9,this[_0x3babb9(0x19a)]=_0x459461,this[_0x3babb9(0xc9)]=_0x1935d8,this['_commandService']=_0x2bc300);}get['cursorInfo'](){const _0x1e1d4c=_0x6f952d;return this[_0x1e1d4c(0x202)][_0x1e1d4c(0x1be)]();}get[_0x6f952d(0x1c1)](){return this['_roomMembers$']['getValue']();}[_0x6f952d(0x85)](){const _0x42e407=_0x6f952d;super[_0x42e407(0x85)](),this[_0x42e407(0x202)][_0x42e407(0xa9)](new Map()),this[_0x42e407(0x202)][_0x42e407(0x25b)](),this[_0x42e407(0x134)][_0x42e407(0xa9)]([]),this['_roomMembers$'][_0x42e407(0x25b)]();}[_0x6f952d(0x13e)](){const _0x5f349a=_0x6f952d;this[_0x5f349a(0x16a)]||(this['_init']=!0x0,this[_0x5f349a(0x18f)][_0x5f349a(0x18a)][_0x5f349a(0x173)](_0x147fa3(this[_0x5f349a(0x236)]))[_0x5f349a(0x1ba)](_0x37cd3a=>{const _0x283694=_0x5f349a;_0x37cd3a===_0x2948c1[_0x283694(0x22d)]?this[_0x283694(0xd4)]():this[_0x283694(0x279)]();}),this[_0x5f349a(0x18f)][_0x5f349a(0x1d4)]['pipe'](_0x147fa3(this['dispose$']))[_0x5f349a(0x1ba)](_0x134e58=>{const _0x283d54=_0x5f349a,_0x5ca2d7=_0x134e58[_0x283d54(0x1fa)];_0x5ca2d7===_0x410ea3[_0x283d54(0xe4)]&&this['_onCursorUpdate'](_0x134e58),_0x5ca2d7===_0x410ea3[_0x283d54(0x220)]&&this[_0x283d54(0xf7)](_0x134e58);}),this[_0x5f349a(0xc7)](this['_commandService'][_0x5f349a(0x97)](_0x5998b7=>{const _0x4eea01=_0x5f349a,_0x5881da=_0x5998b7['params'];_0x5881da!=null&&this[_0x4eea01(0x112)]&&_0x5998b7['id']===_0x3671a2['id']&&_0x5881da['unitId']===this['unitID']&&_0x5881da[_0x4eea01(0x184)]===!0x1&&_0x5881da[_0x4eea01(0x17a)][_0x4eea01(0x158)]>0x0&&this['_updateLocalCursor'](_0x5881da[_0x4eea01(0x17a)]);})),this[_0x5f349a(0xaa)][_0x5f349a(0x90)][_0x5f349a(0x173)](_0x147fa3(this[_0x5f349a(0x236)]))['subscribe'](_0x26d4cc=>{const _0x32734a=_0x5f349a;if((_0x26d4cc==null?void 0x0:_0x26d4cc[_0x32734a(0x201)])!==this['unitID'])return;const _0x546904={'eventID':_0x410ea3[_0x32734a(0xe4)],'data':_0x26d4cc};this['_onCursorUpdate'](_0x546904);}),this[_0x5f349a(0xc7)](this[_0x5f349a(0x19c)][_0x5f349a(0x97)](_0x3a57e5=>{const _0x569d4e=_0x5f349a;if(_0x3a57e5['params']==null)return;const _0xcb64d6=_0x3a57e5[_0x569d4e(0x80)];if(_0x3a57e5['id']!==_0x34c5b7['id']||_0xcb64d6['unitId']!==this[_0x569d4e(0x201)])return;const _0xda77c1={'id':'doc.mutation.rich-text-editing','params':_0xcb64d6},_0x3bd970=this[_0x569d4e(0x21b)];for(const [_0x3a40f6,_0x219025]of _0x3bd970){const _0x7a4162={'id':_0x569d4e(0x17d),'params':{'unitId':this[_0x569d4e(0x201)],'actions':null,'textRanges':_0x219025['ranges']}},_0x29a3ed=this[_0x569d4e(0x19a)][_0x569d4e(0x127)](_0xda77c1,_0x7a4162,!0x1);if(_0x399df1(_0x29a3ed))throw _0x29a3ed['error'];_0x3bd970[_0x569d4e(0x129)](_0x3a40f6,{..._0x219025,'ranges':_0x29a3ed[_0x569d4e(0x185)][_0x569d4e(0x80)][_0x569d4e(0x242)]});}queueMicrotask(()=>{const _0x3fbf4e=_0x569d4e;this[_0x3fbf4e(0x202)][_0x3fbf4e(0xa9)](_0x3bd970);});})));}[_0x6f952d(0x28b)](_0x58d0cb){const _0x3cfc8d=_0x6f952d;var _0x287705,_0x445a30;const {memberID:_0x47e740,selection:_0xbce996}=_0x58d0cb[_0x3cfc8d(0x194)],_0x2b3cd3=_i(_0xbce996),_0x4f6c33=(_0x445a30=(_0x287705=this['_memberService']['getMember'](this[_0x3cfc8d(0x201)],_0x47e740))==null?void 0x0:_0x287705['name'])!=null?_0x445a30:_0x3cfc8d(0x96),_0x422e53={'color':this[_0x3cfc8d(0x1ce)][_0x3cfc8d(0x273)](_0x47e740),'name':_0x4f6c33,'ranges':_0x2b3cd3},_0x4c23e2=this[_0x3cfc8d(0x21b)];_0x4c23e2['set'](_0x47e740,_0x422e53),this[_0x3cfc8d(0x202)][_0x3cfc8d(0xa9)](_0x4c23e2);}[_0x6f952d(0xf7)](_0x36f727){const _0x554149=_0x6f952d,{memberID:_0x1fcb9e}=_0x36f727['data'],_0x1133b7=this[_0x554149(0x21b)];_0x1133b7[_0x554149(0x230)](_0x1fcb9e),this[_0x554149(0x202)]['next'](_0x1133b7);}[_0x6f952d(0xd4)](){const _0x12ab3d=_0x6f952d;var _0x5acbaa;if(this[_0x12ab3d(0x112)]=!0x0,((_0x5acbaa=this[_0x12ab3d(0xc9)][_0x12ab3d(0x1c9)]())==null?void 0x0:_0x5acbaa[_0x12ab3d(0x212)]())!==this[_0x12ab3d(0x201)])return;const _0x33ae9a=this['_injector'][_0x12ab3d(0x261)](_0x8e84b4)[_0x12ab3d(0x1f0)]();Array['isArray'](_0x33ae9a)&&_0x33ae9a[_0x12ab3d(0x158)]>0x0&&this['_updateLocalCursor'](_0x33ae9a);}['_toggleOffline'](){const _0x570c2d=_0x6f952d;this[_0x570c2d(0x112)]=!0x1;}};Ue=ui([P(0x2,_0x2ad71f(_0x14214c)),P(0x3,_0x2ad71f(ke)),P(0x4,_0x2ad71f(_0x441684)),P(0x5,_0x2ad71f(He)),P(0x6,_0x23cfb3),P(0x7,_0xf38a52),P(0x8,_0x4d6e9b)],Ue);var Si=Object[_0x6f952d(0x283)],mi=(_0x52e1db,_0x4f158f,_0x41aac2,_0x30ab48)=>{const _0x4e9603=_0x6f952d;for(var _0x929581=_0x30ab48>0x1?void 0x0:_0x30ab48?Si(_0x4f158f,_0x41aac2):_0x4f158f,_0x2370c2=_0x52e1db[_0x4e9603(0x158)]-0x1,_0x4e005e;_0x2370c2>=0x0;_0x2370c2--)(_0x4e005e=_0x52e1db[_0x2370c2])&&(_0x929581=_0x4e005e(_0x929581)||_0x929581);return _0x929581;},x=(_0xd63390,_0xc7f18a)=>(_0x554af0,_0x5a0361)=>_0xc7f18a(_0x554af0,_0x5a0361,_0xd63390);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3e8125=[],_0x136515=!0x1;return _0x1529bc=>{_0x3e8125['push'](_0x1529bc),_0x136515||(_0x136515=!0x0,setTimeout(()=>{const _0x1c6455=_0x1920;_0x3e8125[_0x1c6455(0x1f3)](_0x366687=>_0x366687()),_0x3e8125=[],_0x136515=!0x1;}));};};let Me=class extends _0x5e6d7d{constructor(_0x1f3312,_0x550b7a,_0x35f93d,_0xceba43,_0x1e7a4f,_0x12a6e9,_0xb9a01c,_0xeb4a33){const _0x5eb2df=_0x6f952d;super(),_(this,_0x5eb2df(0x112),!0x1),_(this,'_init',!0x1),_(this,_0x5eb2df(0x202),new _0x25ddca(new Map())),_(this,_0x5eb2df(0x223),this[_0x5eb2df(0x202)][_0x5eb2df(0xa1)]()),_(this,_0x5eb2df(0x134),new _0x25ddca([])),_(this,_0x5eb2df(0x136),this[_0x5eb2df(0x134)][_0x5eb2df(0x173)](_0x237496(Ii))),_(this,_0x5eb2df(0x93),_0x59d06b((_0x48a82e,_0x31a64d)=>{const _0x6376ba=_0x5eb2df,_0x4e27c5={'eventID':_0x410ea3[_0x6376ba(0xe4)],'data':{'unitID':this[_0x6376ba(0x201)],'memberID':this['_session']['getMemberID'](),'selection':_0x15ae3e(_0x48a82e,_0x31a64d[_0x6376ba(0x1d6)])}};this['_session'][_0x6376ba(0x108)](_0x4e27c5,this[_0x6376ba(0x201)]);},gi)),(this[_0x5eb2df(0x201)]=_0x1f3312,this[_0x5eb2df(0x18f)]=_0x550b7a,this[_0x5eb2df(0x277)]=_0x35f93d,this[_0x5eb2df(0x1ce)]=_0xceba43,this[_0x5eb2df(0xd6)]=_0x1e7a4f,this[_0x5eb2df(0xc9)]=_0x12a6e9,this[_0x5eb2df(0x19c)]=_0xb9a01c,this[_0x5eb2df(0x178)]=_0xeb4a33);}get[_0x6f952d(0x21b)](){const _0x1bef1b=_0x6f952d;return this[_0x1bef1b(0x202)][_0x1bef1b(0x1be)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x6f952d(0x85)](){const _0x24a9ab=_0x6f952d;super[_0x24a9ab(0x85)](),this[_0x24a9ab(0x202)][_0x24a9ab(0xa9)](new Map()),this['_cursorInfo$'][_0x24a9ab(0x25b)](),this[_0x24a9ab(0x134)][_0x24a9ab(0xa9)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x545235=_0x6f952d;this[_0x545235(0x16a)]||(this[_0x545235(0x16a)]=!0x0,this[_0x545235(0x18f)]['sessionStatus$'][_0x545235(0x173)](_0x147fa3(this[_0x545235(0x236)]))[_0x545235(0x1ba)](_0x2a0685=>{const _0x3e7335=_0x545235;_0x2a0685===_0x2948c1[_0x3e7335(0x22d)]?this[_0x3e7335(0xd4)]():this[_0x3e7335(0x279)]();}),this[_0x545235(0x18f)]['event$'][_0x545235(0x173)](_0x147fa3(this['dispose$']))[_0x545235(0x1ba)](_0x41d267=>{const _0x353458=_0x545235,_0x111785=_0x41d267[_0x353458(0x1fa)];_0x111785===_0x410ea3[_0x353458(0xe4)]&&this['_onCursorUpdate'](_0x41d267),_0x111785===_0x410ea3['USERS_LEAVE']&&this[_0x353458(0xf7)](_0x41d267);}),this[_0x545235(0x264)](),this[_0x545235(0xc7)](this[_0x545235(0x19c)]['onCommandExecuted'](_0x5a5f2c=>{const _0xd3bcbe=_0x545235;if(this[_0xd3bcbe(0x112)]&&_0x5a5f2c['id']===_0x4aec22['id']&&_0x5a5f2c[_0xd3bcbe(0x80)][_0xd3bcbe(0xb7)]===this[_0xd3bcbe(0x201)]){const _0x2ea55b=_0x5a5f2c['params'];this['_updateLocalCursor'](_0x2ea55b['subUnitId'],_0x2ea55b['selections'][0x0]);}})));}[_0x6f952d(0x28b)](_0x548dd8){const _0x4ddf9=_0x6f952d;var _0x74d263,_0xaea66e;const {memberID:_0x4c1b71,selection:_0x52ed42}=_0x548dd8['data'],{sheetName:_0x5527f0,range:_0x15bd55}=_0xc18a74(_0x52ed42),_0x6acb8b={'name':(_0xaea66e=(_0x74d263=this[_0x4ddf9(0xd6)][_0x4ddf9(0x17e)](this[_0x4ddf9(0x201)],_0x4c1b71))==null?void 0x0:_0x74d263['name'])!=null?_0xaea66e:_0x4ddf9(0x96),'range':this[_0x4ddf9(0xe2)](_0x5527f0,_0x15bd55),'sheetID':_0x5527f0,'color':this['_colorAssignService'][_0x4ddf9(0x273)](_0x4c1b71),'selection':_0x52ed42},_0x3519f7=this[_0x4ddf9(0x21b)];_0x3519f7['set'](_0x4c1b71,_0x6acb8b),this[_0x4ddf9(0x202)]['next'](_0x3519f7);}['_onCursorDelete'](_0x5523bc){const _0x59d7df=_0x6f952d,{memberID:_0x2dc41f}=_0x5523bc[_0x59d7df(0x194)],_0x52c46d=this[_0x59d7df(0x21b)];_0x52c46d[_0x59d7df(0x230)](_0x2dc41f),this[_0x59d7df(0x202)]['next'](_0x52c46d);}[_0x6f952d(0xe2)](_0x5c219f,_0x1dc231){const _0x419600=_0x6f952d;var _0x39da0e,_0x121427;const _0x10c790=(_0x121427=(_0x39da0e=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x419600(0x201)]))==null?void 0x0:_0x39da0e['getSheetBySheetId'](_0x5c219f))==null?void 0x0:_0x121427[_0x419600(0xf1)]();return(_0x10c790==null?void 0x0:_0x10c790['find'](_0x4a56b9=>_0x3024e7[_0x419600(0x1aa)](_0x4a56b9,_0x1dc231)))||_0x1dc231;}['_onRefRangeChange'](){const _0x366627=_0x6f952d,_0x5b6d82=new _0x4b8d95(),_0x50157b=vi(),_0x104080=()=>{const _0x51b69f=_0x1920;_0x5b6d82[_0x51b69f(0x85)]();const _0x3751a9=(_0x44e763,_0x13e23a,_0x26c2c6,_0x2b0614)=>{const _0x58efab=_0x51b69f;let _0x164603=[];switch(_0x44e763['id']){case _0x5cf330[_0x58efab(0x1cc)]:{_0x164603=_0x201fe2(_0x44e763,_0x2b0614);break;}case _0x5cf330['DeleteRangeMoveUpCommandId']:{_0x164603=_0x2eecfe(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x274)]:{_0x164603=_0x1830f7(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x245)]:{_0x164603=_0x1b8001(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x262)]:{_0x164603=_0x2349c2(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x221)]:{_0x164603=_0x1ea899(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0xc4)]:{_0x164603=_0x51e359(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x1b6)]:{_0x164603=_0x198690(_0x44e763,_0x2b0614);break;}case _0x5cf330[_0x58efab(0x287)]:{_0x164603=_0x403726(_0x44e763,_0x2b0614);break;}}const _0x39d97c=_0x3882f8(_0x164603,_0x2b0614),_0x36a705=this['cursorInfo'][_0x58efab(0x261)](_0x13e23a);if(_0x36a705&&_0x39d97c){const _0x19231b={..._0x36a705,'range':_0x39d97c};this[_0x58efab(0x21b)][_0x58efab(0x129)](_0x13e23a,_0x19231b),_0x50157b(()=>{const _0x185b7d=_0x58efab,_0x5c3927=this[_0x185b7d(0x178)][_0x185b7d(0x135)](_0x39d97c,_0x25751d=>(_0x5c3927[_0x185b7d(0x85)](),_0x3751a9(_0x25751d,_0x13e23a,_0x26c2c6,_0x39d97c)));_0x5b6d82[_0x185b7d(0x153)](_0x5c3927);});}return{'redos':[],'undos':[]};};this[_0x51b69f(0x21b)][_0x51b69f(0x1f3)]((_0x5c7a5c,_0x2a2d65)=>{const _0x4748a3=_0x51b69f,{range:_0x3fe824,sheetID:_0x187835}=_0x5c7a5c,_0x2129ac=this[_0x4748a3(0x178)][_0x4748a3(0x135)](_0x3fe824,_0x525193=>(_0x2129ac[_0x4748a3(0x85)](),_0x3751a9(_0x525193,_0x2a2d65,_0x187835,_0x3fe824)));_0x5b6d82[_0x4748a3(0x153)](_0x2129ac);});};this[_0x366627(0xc7)](_0x545ea3(this[_0x366627(0x202)][_0x366627(0x1ba)](()=>{_0x104080();})));}['_toggleOnline'](){const _0x5bf3ad=_0x6f952d;var _0x1c1f6d,_0x470ece;if(this['_online']=!0x0,((_0x1c1f6d=this[_0x5bf3ad(0xc9)][_0x5bf3ad(0x1c9)]())==null?void 0x0:_0x1c1f6d[_0x5bf3ad(0x212)]())!==this[_0x5bf3ad(0x201)])return;const _0x349503=(_0x470ece=this[_0x5bf3ad(0x277)][_0x5bf3ad(0x261)](_0x34824b)[_0x5bf3ad(0x208)]())==null?void 0x0:_0x470ece[0x0],_0x71c865=this[_0x5bf3ad(0xc9)][_0x5bf3ad(0x1e4)](_0x1bc251[_0x5bf3ad(0x276)])['getActiveSheet']();_0x349503&&_0x71c865&&this[_0x5bf3ad(0x93)](_0x71c865[_0x5bf3ad(0x14f)](),_0x349503);}[_0x6f952d(0x279)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x2ad71f(_0x14214c)),x(0x3,_0x2ad71f(ke)),x(0x4,_0x2ad71f(_0x441684)),x(0x5,_0xf38a52),x(0x6,_0x4d6e9b),x(0x7,_0x2ad71f(_0x165ea1))],Me);var pi=Object[_0x6f952d(0x283)],Ci=(_0x5adde7,_0x266084,_0x1ef1d0,_0x2f82b0)=>{const _0x149a45=_0x6f952d;for(var _0x200e6c=_0x2f82b0>0x1?void 0x0:_0x2f82b0?pi(_0x266084,_0x1ef1d0):_0x266084,_0x295a53=_0x5adde7[_0x149a45(0x158)]-0x1,_0x53b2c0;_0x295a53>=0x0;_0x295a53--)(_0x53b2c0=_0x5adde7[_0x295a53])&&(_0x200e6c=_0x53b2c0(_0x200e6c)||_0x200e6c);return _0x200e6c;},Se=(_0x513786,_0x594e46)=>(_0xf85ecc,_0xc2646a)=>_0x594e46(_0xf85ecc,_0xc2646a,_0x513786);let H=class extends _0x5e6d7d{constructor(_0x4e449d,_0x3f9552,_0x2fbc0d){const _0x200f56=_0x6f952d;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x4f017c()),(this['_univerInstanceService']=_0x4e449d,this['_injector']=_0x3f9552,this['_collabSessionService']=_0x2fbc0d,this[_0x200f56(0x16a)]());}[_0x6f952d(0x85)](){const _0x201e8b=_0x6f952d;super['dispose'](),this['_entityInit$'][_0x201e8b(0x25b)](),this[_0x201e8b(0xdc)][_0x201e8b(0x1f3)](_0x19d676=>_0x19d676[_0x201e8b(0x85)]());}['getCollabCursors$'](_0x20b07a){const _0x40a037=_0x6f952d;return this[_0x40a037(0xdc)][_0x40a037(0x1a8)](_0x20b07a)?this[_0x40a037(0xdc)][_0x40a037(0x261)](_0x20b07a)['cursorInfo$']:this[_0x40a037(0x94)][_0x40a037(0x173)](_0x55040f(_0x561f31=>_0x561f31['unitID']===_0x20b07a),_0x1467e7(_0x90b555=>_0x90b555[_0x40a037(0x223)]));}[_0x6f952d(0x16a)](){const _0x416f7e=_0x6f952d;this[_0x416f7e(0xc9)][_0x416f7e(0x248)](_0x1bc251['UNIVER_SHEET'])[_0x416f7e(0x173)](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x1ba)](async _0x1253c1=>{const _0xdae9e1=_0x416f7e,_0x136130=_0x1253c1[_0xdae9e1(0x212)](),_0x27a3d3=await this[_0xdae9e1(0x11b)](_0x136130);this['_entityInit$'][_0xdae9e1(0xa9)](_0x27a3d3),this[_0xdae9e1(0xdc)]['set'](_0x136130,_0x27a3d3);}),this[_0x416f7e(0xc9)][_0x416f7e(0x248)](_0x1bc251[_0x416f7e(0x263)])[_0x416f7e(0x173)](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x173)](_0x55040f(_0x1035be=>!_0x1035be[_0x416f7e(0x212)]()[_0x416f7e(0x88)]('__')))[_0x416f7e(0x1ba)](async _0x2143f6=>{const _0x50f6b4=_0x416f7e,_0x3d5ccb=_0x2143f6[_0x50f6b4(0x212)](),_0x30325e=await this[_0x50f6b4(0x1ec)](_0x3d5ccb);this[_0x50f6b4(0x94)][_0x50f6b4(0xa9)](_0x30325e),this[_0x50f6b4(0xdc)][_0x50f6b4(0x129)](_0x3d5ccb,_0x30325e);}),_0x1f3a02(this[_0x416f7e(0xc9)][_0x416f7e(0x132)](_0x1bc251[_0x416f7e(0x263)]),this[_0x416f7e(0xc9)][_0x416f7e(0x132)](_0x1bc251[_0x416f7e(0x276)]))['pipe'](_0x147fa3(this[_0x416f7e(0x236)]))[_0x416f7e(0x1ba)](_0x1e40c9=>{const _0x21c9de=_0x416f7e,_0x2e8a06=_0x1e40c9[_0x21c9de(0x212)](),_0x13a8f7=this[_0x21c9de(0xdc)]['get'](_0x2e8a06);_0x13a8f7&&(_0x13a8f7[_0x21c9de(0x85)](),this[_0x21c9de(0xdc)][_0x21c9de(0x230)](_0x2e8a06));});}async[_0x6f952d(0x11b)](_0x45487a){const _0x5a6558=_0x6f952d,_0x4ab8f2=await this[_0x5a6558(0x13d)][_0x5a6558(0x224)](_0x45487a),_0x5e82f1=this['_injector'][_0x5a6558(0x26b)](Me,_0x45487a,_0x4ab8f2);return _0x5e82f1[_0x5a6558(0x13e)](),_0x5e82f1;}async['_startDocCollabCursor'](_0x371552){const _0x33b077=_0x6f952d,_0x3ab0d1=await this['_collabSessionService'][_0x33b077(0x224)](_0x371552),_0x31fac4=this[_0x33b077(0x277)][_0x33b077(0x26b)](Ue,_0x371552,_0x3ab0d1);return _0x31fac4[_0x33b077(0x13e)](),_0x31fac4;}};function _0x1920(_0x676477,_0x340345){const _0x45b592=_0x45b5();return _0x1920=function(_0x192060,_0x192d36){_0x192060=_0x192060-0x7f;let _0x32434c=_0x45b592[_0x192060];return _0x32434c;},_0x1920(_0x676477,_0x340345);}H=Ci([Se(0x0,_0xf38a52),Se(0x1,_0x2ad71f(_0x14214c)),Se(0x2,_0x2ad71f(_0x338fb1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x220ec2,_0x567849){const _0x299922=_0x6f952d;let {radius:_0x41b19c,width:_0x2a2e63,height:_0x1a4f40}=_0x567849;_0x41b19c=_0x41b19c!=null?_0x41b19c:0x0,_0x2a2e63=_0x2a2e63!=null?_0x2a2e63:0x1e,_0x1a4f40=_0x1a4f40!=null?_0x1a4f40:0x1e;let _0x46925f=0x0,_0x4f4232=0x0,_0x1f2b67=0x0;_0x46925f=_0x4f4232=_0x1f2b67=Math[_0x299922(0x149)](_0x41b19c,_0x2a2e63/0x2,_0x1a4f40/0x2),_0x220ec2[_0x299922(0x218)](),_0x220ec2['moveTo'](_0x46925f,0x0),_0x220ec2[_0x299922(0xec)](_0x2a2e63-_0x4f4232,0x0),_0x220ec2['arc'](_0x2a2e63-_0x4f4232,_0x4f4232,_0x4f4232,Math['PI']*0x3/0x2,0x0,!0x1),_0x220ec2[_0x299922(0xec)](_0x2a2e63,_0x1a4f40-_0x1f2b67),_0x220ec2['arc'](_0x2a2e63-_0x1f2b67,_0x1a4f40-_0x1f2b67,_0x1f2b67,0x0,Math['PI']/0x2,!0x1),_0x220ec2[_0x299922(0xec)](0x0,_0x1a4f40),_0x220ec2[_0x299922(0xec)](0x0,_0x46925f),_0x220ec2[_0x299922(0x206)](_0x46925f,_0x46925f,_0x46925f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x220ec2['closePath'](),_0x567849['fill']&&(_0x220ec2[_0x299922(0x180)](),_0x220ec2[_0x299922(0x288)]=_0x567849['fill'],_0x567849['fillRule']==='evenodd'?_0x220ec2[_0x299922(0x1b0)](_0x299922(0x18c)):_0x220ec2[_0x299922(0x1b0)](),_0x220ec2[_0x299922(0x12a)]());}class he extends _0x2aad57{constructor(_0x218165,_0x4820e6){const _0x29b05a=_0x6f952d;super(_0x218165,_0x4820e6),_(this,_0x29b05a(0x123)),_(this,'text'),(this[_0x29b05a(0x123)]=_0x4820e6==null?void 0x0:_0x4820e6[_0x29b05a(0x123)],this[_0x29b05a(0x1ea)]=_0x4820e6==null?void 0x0:_0x4820e6['text']);}static[_0x6f952d(0xb0)](_0x7cf783,_0x18c9c7){const _0x5e81db=_0x6f952d,{text:_0xbeb977,color:_0x1494c8}=_0x18c9c7;_0x7cf783['save'](),_0x7cf783['font']=_0x5e81db(0x215);const _0x51b689=_0x7cf783['measureText'](_0xbeb977)[_0x5e81db(0x1dd)],_0x40b676=Math['min'](_0x51b689+0x2*me,Qe);Oi(_0x7cf783,{'height':ee,'radius':0x4,'width':_0x40b676,'fill':_0x1494c8}),_0x7cf783[_0x5e81db(0x288)]=_0x5e81db(0x19e);const _0x280edc=me,_0x2cb209=ee-Ei,_0x1ae88a=Qe-0x2*me;if(_0x51b689>_0x1ae88a){let _0xfe3167='',_0x218f14=0x0;for(const _0x49d0ff of _0xbeb977){const _0x5347fa=_0x7cf783[_0x5e81db(0xab)](_0x49d0ff)[_0x5e81db(0x1dd)];if(_0x218f14+_0x5347fa<=_0x1ae88a-_0x7cf783[_0x5e81db(0xab)]('...')[_0x5e81db(0x1dd)])_0xfe3167+=_0x49d0ff,_0x218f14+=_0x5347fa;else{_0xfe3167+=_0x5e81db(0x22e);break;}}_0x7cf783[_0x5e81db(0xd5)](_0xfe3167,_0x280edc,_0x2cb209);}else _0x7cf783[_0x5e81db(0xd5)](_0xbeb977,_0x280edc,_0x2cb209);_0x7cf783[_0x5e81db(0x12a)]();}[_0x6f952d(0x174)](_0x5c0cc6){const _0x586cfb=_0x6f952d;he[_0x586cfb(0xb0)](_0x5c0cc6,this);}}const Ie=_0x6f952d(0x1a9),bi=_0x6f952d(0x200),Ti=_0x6f952d(0xcf),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x6f952d(0x23a);class qe{constructor(_0x13348d,_0x3677f4,_0x51b331,_0x15a07d){const _0x19e23a=_0x6f952d;_(this,'_shapes',[]),_(this,_0x19e23a(0x104),null),_(this,_0x19e23a(0x186),null),_(this,'_anchorDot',null),_(this,_0x19e23a(0xdf),null),_(this,_0x19e23a(0x266),null),(this['_cursor']=_0x13348d,this[_0x19e23a(0x122)]=_0x3677f4,this[_0x19e23a(0x1ca)]=_0x51b331,this[_0x19e23a(0x231)]=_0x15a07d,this[_0x19e23a(0x16d)]());}set['_hover'](_0x15b288){const _0x15a349=_0x6f952d;_0x15b288?(this[_0x15a349(0x1e9)]&&this[_0x15a349(0x1e9)][_0x15a349(0x21e)](),this[_0x15a349(0x186)]&&this['_textBubble'][_0x15a349(0xd2)]()):(this[_0x15a349(0x1e9)]&&this[_0x15a349(0x1e9)][_0x15a349(0xd2)](),this[_0x15a349(0x186)]&&this[_0x15a349(0x186)]['hide']());}['dispose'](){const _0x865a4d=_0x6f952d;for(const _0x368dc5 of this[_0x865a4d(0x228)])_0x368dc5[_0x865a4d(0x85)]();this[_0x865a4d(0x186)]&&this[_0x865a4d(0x186)][_0x865a4d(0x85)](),this[_0x865a4d(0x1e9)]&&this['_anchorDot'][_0x865a4d(0x85)](),this['_anchor']&&this[_0x865a4d(0x104)]['dispose'](),this[_0x865a4d(0x266)]&&this[_0x865a4d(0x266)]();}[_0x6f952d(0x16d)](){const _0x16064a=_0x6f952d;var _0x31f2ca;const {_docSkeleton:_0x3aa9ef,_document:_0x4bf572}=this,{color:_0x29bf96,name:_0x155e6b,ranges:_0x49f0dc}=this[_0x16064a(0x1d8)],_0x2be20e=_0x4bf572[_0x16064a(0x20b)](),{docsLeft:_0x248206,docsTop:_0x59321c}=_0x2be20e,_0x41421f=new _0x311cba(_0x2be20e,_0x3aa9ef);for(const {startOffset:_0x46b061,endOffset:_0x42365a,rangeType:_0x50852e,segmentId:_0x2471a7,segmentPage:_0x3c0e93,collapsed:_0x374307,isActive:_0x52013c}of _0x49f0dc){const _0x334e47=_0x3aa9ef[_0x16064a(0x8e)](_0x46b061,!0x0,_0x2471a7,_0x3c0e93);let _0x569301=_0x3aa9ef[_0x16064a(0x8e)](_0x42365a,!0x0,_0x2471a7,_0x3c0e93);if(_0x569301==null&&(_0x569301=_0x3aa9ef[_0x16064a(0x8e)](_0x42365a-0x1,!0x1,_0x2471a7,_0x3c0e93)),_0x52013c){const {contentBoxPointGroup:_0x3de3bb}=_0x41421f[_0x16064a(0x111)](_0x569301,_0x569301);if(_0x3de3bb[_0x16064a(0x158)]===0x0)continue;this['_drawAnchor'](_0x29bf96,_0x3de3bb,_0x248206,_0x59321c,_0x155e6b),this[_0x16064a(0x266)]=this[_0x16064a(0x10e)]();}if(_0x334e47&&_0x569301){if(_0x50852e===_0x29b49a[_0x16064a(0x1fd)]){const _0x20fe46=new _0x5705f8(_0x2be20e,_0x3aa9ef),{pointGroup:_0x580b7d}=(_0x31f2ca=_0x20fe46[_0x16064a(0x111)](_0x334e47,_0x569301))!=null?_0x31f2ca:{};if(_0x580b7d==null||_0x580b7d[_0x16064a(0x158)]===0x0)continue;this[_0x16064a(0x254)](_0x29bf96,_0x580b7d,_0x248206,_0x59321c);}else{if(!_0x374307){const {borderBoxPointGroup:_0x109572}=_0x41421f[_0x16064a(0x111)](_0x334e47,_0x569301);if(_0x109572[_0x16064a(0x158)]===0x0)continue;this['_drawTextRange'](_0x29bf96,_0x109572,_0x248206,_0x59321c);}}}}}[_0x6f952d(0x12c)](_0x23d122,_0x5d42cc,_0x56c252,_0x1e9f89,_0x24d9b5){const _0x333ce4=_0x6f952d,_0x40e908=this[_0x333ce4(0x24a)](_0x5d42cc),{left:_0x20b0fc,top:_0x2b6809,height:_0x4f0fac}=_0x40e908,_0x35d168=this[_0x333ce4(0xcc)](),_0x35594e=Di/_0x35d168,_0x817c3a=new _0x59c86c(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89,'height':_0x4f0fac,'width':Ri,'fill':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'strokeWidth':_0x35594e,'stroke':Ni,'evented':!0x0});this[_0x333ce4(0x104)]=_0x817c3a,this[_0x333ce4(0x122)][_0x333ce4(0x1ae)](_0x817c3a,_0x2619d5);const _0x554435=new _0x59c86c(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89-ge/0x2,'height':ge,'width':ge,'fill':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'strokeWidth':0x0,'stroke':_0x23d122||_0x36bd5f(_0x56d04f[_0x333ce4(0x152)],0x0),'evented':!0x1});this[_0x333ce4(0x1e9)]=_0x554435,this['_scene'][_0x333ce4(0x1ae)](_0x554435,_0x2619d5);const _0x16c7a3=new he(Ie+_0x123dff[_0x333ce4(0x13b)](X),{'left':_0x20b0fc+_0x56c252-_0x35594e,'top':_0x2b6809+_0x1e9f89-ee,'text':_0x24d9b5,'color':_0x23d122});this[_0x333ce4(0x186)]=_0x16c7a3,this['_scene'][_0x333ce4(0x1ae)](_0x16c7a3,_0x2619d5),this[_0x333ce4(0x1a7)]=!0x1;}[_0x6f952d(0x10e)](){const _0x148e1b=_0x6f952d,_0x1f3c42=this[_0x148e1b(0x104)][_0x148e1b(0x146)][_0x148e1b(0x12e)](()=>{const _0x2e8674=_0x148e1b;this[_0x2e8674(0x1a7)]=!0x0;}),_0x5c4665=this[_0x148e1b(0x104)][_0x148e1b(0x82)][_0x148e1b(0x12e)](()=>{const _0x569177=_0x148e1b;this[_0x569177(0xdf)]&&clearTimeout(this[_0x569177(0xdf)]),this['_hideTimer']=setTimeout(()=>{const _0x9ad591=_0x569177;this[_0x9ad591(0x1a7)]=!0x1;},0x7d0);});return()=>{const _0x2a48b4=_0x148e1b;_0x1f3c42[_0x2a48b4(0x20c)](),_0x5c4665['unsubscribe']();};}[_0x6f952d(0xb9)](_0x1d8124,_0x17624e,_0x16c2fd,_0x5aee84){const _0x5b85e2=_0x6f952d,_0x54bd63=new _0x4fcff7(_0x1d8124)[_0x5b85e2(0x10b)](0.2)[_0x5b85e2(0xf8)](),_0x2459d5=new _0x1f1108(bi+_0x123dff[_0x5b85e2(0x13b)](X),{'pointsGroup':_0x17624e,'fill':_0x54bd63||_0x36bd5f(_0x56d04f[_0x5b85e2(0x152)],0.2),'left':_0x16c2fd,'top':_0x5aee84,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b85e2(0x228)][_0x5b85e2(0x1a2)](_0x2459d5),this[_0x5b85e2(0x122)][_0x5b85e2(0x1ae)](_0x2459d5,_0x2619d5);}[_0x6f952d(0x254)](_0x4062fa,_0x477cc3,_0x45553c,_0x524641){const _0x5cc75e=_0x6f952d,_0x419981=new _0x4fcff7(_0x4062fa)[_0x5cc75e(0x10b)](0.2)[_0x5cc75e(0xf8)](),_0x15a27d=new _0x1f1108(Ti+_0x123dff[_0x5cc75e(0x13b)](X),{'pointsGroup':_0x477cc3,'fill':_0x419981||_0x36bd5f(_0x56d04f[_0x5cc75e(0x152)],0.2),'left':_0x45553c,'top':_0x524641,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5cc75e(0x228)][_0x5cc75e(0x1a2)](_0x15a27d),this[_0x5cc75e(0x122)][_0x5cc75e(0x1ae)](_0x15a27d,_0x2619d5);}['_getAnchorBounding'](_0x1fc1c9){const _0x58b7a5=_0x1fc1c9[0x0],_0x4dd06c=_0x58b7a5[0x0],_0x18a11f=_0x58b7a5[0x2],{x:_0x32f0ca,y:_0x29e66d}=_0x4dd06c,{x:_0x492ac2,y:_0x40c26c}=_0x18a11f;return{'left':_0x32f0ca,'top':_0x29e66d,'width':_0x492ac2-_0x32f0ca,'height':_0x40c26c-_0x29e66d};}[_0x6f952d(0xcc)](){const _0x317d45=_0x6f952d,{scaleX:_0x2e2611,scaleY:_0x33da26}=this[_0x317d45(0x122)][_0x317d45(0x16c)]();return Math[_0x317d45(0x114)](_0x2e2611,_0x33da26);}}var Ui=Object[_0x6f952d(0x283)],Mi=(_0x380253,_0x3eb862,_0x2e25d3,_0x35012f)=>{const _0x30a92c=_0x6f952d;for(var _0x465dbf=_0x35012f>0x1?void 0x0:_0x35012f?Ui(_0x3eb862,_0x2e25d3):_0x3eb862,_0x484d6e=_0x380253[_0x30a92c(0x158)]-0x1,_0x5322af;_0x484d6e>=0x0;_0x484d6e--)(_0x5322af=_0x380253[_0x484d6e])&&(_0x465dbf=_0x5322af(_0x465dbf)||_0x465dbf);return _0x465dbf;},Z=(_0x3c6bbf,_0x956e97)=>(_0x27fc42,_0x1fc4f4)=>_0x956e97(_0x27fc42,_0x1fc4f4,_0x3c6bbf);let Le=class extends _0x5e6d7d{constructor(_0x5377cd,_0xef4af8,_0x3f45d3,_0x40bc4e,_0x254021){const _0x22f15c=_0x6f952d;super(),_(this,'_cursorShapes',[]),_(this,_0x22f15c(0x187),[]),(this[_0x22f15c(0x1ad)]=_0x5377cd,this[_0x22f15c(0x1f1)]=_0xef4af8,this[_0x22f15c(0x265)]=_0x3f45d3,this[_0x22f15c(0x19c)]=_0x40bc4e,this[_0x22f15c(0x256)]=_0x254021,this[_0x22f15c(0x16a)]());}[_0x6f952d(0x16a)](){const _0x8440c3=_0x6f952d,_0x165433=this[_0x8440c3(0x1ad)][_0x8440c3(0xb7)],_0x167b4f=this[_0x8440c3(0x1f1)];this[_0x8440c3(0xc7)](_0x334567([this[_0x8440c3(0x265)][_0x8440c3(0x183)](_0x165433),this[_0x8440c3(0x256)]['currentTheme$']])['pipe'](_0x31365f(([_0xd5e4c4,_0x4447e9])=>({'skeleton':_0x167b4f[_0x8440c3(0x10c)](),'cursors':[..._0xd5e4c4[_0x8440c3(0x176)]()]['flatMap'](_0x4f3ac4=>({..._0x4f3ac4,'color':this[_0x8440c3(0x256)][_0x8440c3(0x179)](_0x4f3ac4[_0x8440c3(0x123)])}))})))[_0x8440c3(0x1ba)](_0x4729cc=>{const _0x370765=_0x8440c3;if(this[_0x370765(0x1f5)](),_0x4729cc){const {skeleton:_0x3d5b84,cursors:_0x3bdaf4}=_0x4729cc;this[_0x370765(0x16b)](_0x3d5b84,_0x3bdaf4);}})),this[_0x8440c3(0xc3)](),this[_0x8440c3(0x15d)]();}[_0x6f952d(0x16b)](_0x4d639c,_0x39d828){const _0x3443eb=_0x6f952d,{scene:_0x423c1d,mainComponent:_0x795882}=this[_0x3443eb(0x1ad)],_0x25d9ba=_0x39d828[_0x3443eb(0x207)](_0x3cc42b=>new qe(_0x3cc42b,_0x423c1d,_0x4d639c,_0x795882));this[_0x3443eb(0x267)]=_0x25d9ba,this['_cursors']=_0x39d828;}[_0x6f952d(0x99)](){const _0x53b09a=_0x6f952d;this['_removeCollabCursors']();const {scene:_0x23f773,mainComponent:_0x2e619e}=this[_0x53b09a(0x1ad)],_0x13be0a=this[_0x53b09a(0x1f1)][_0x53b09a(0x10c)](),_0x3a60c1=this[_0x53b09a(0x187)][_0x53b09a(0x207)](_0x2ee401=>new qe(_0x2ee401,_0x23f773,_0x13be0a,_0x2e619e));this['_cursorShapes']=_0x3a60c1;}[_0x6f952d(0x1f5)](){const _0x4870bc=_0x6f952d;this[_0x4870bc(0x267)][_0x4870bc(0x1f3)](_0x2c1f4c=>_0x2c1f4c[_0x4870bc(0x85)]()),this[_0x4870bc(0x267)]=[];}[_0x6f952d(0x15d)](){const _0x12c48e=_0x6f952d,_0x1bcfc8=[_0x3d0060['id']];this['disposeWithMe'](this[_0x12c48e(0x19c)][_0x12c48e(0x97)](_0x355cb8=>{const _0x2f783c=_0x12c48e;_0x1bcfc8[_0x2f783c(0x26e)](_0x355cb8['id'])&&_0x355cb8[_0x2f783c(0x80)]['unitId']===this['_context'][_0x2f783c(0xb7)]&&this[_0x2f783c(0x99)]();}));}[_0x6f952d(0xc3)](){const _0x14f772=_0x6f952d;this[_0x14f772(0xc7)](_0x1c819b(this[_0x14f772(0x1ad)][_0x14f772(0x8a)][_0x14f772(0xc0)])[_0x14f772(0x173)](_0x581d51(_0x57dca9=>_0x57dca9['type']===_0x47e241[_0x14f772(0x110)]),_0x19b056(0x10))[_0x14f772(0x1ba)](()=>{const _0x5bef9e=_0x14f772;this[_0x5bef9e(0x99)]();}));}};Le=Mi([Z(0x1,_0x2ad71f(_0x500202)),Z(0x2,_0x2ad71f(H)),Z(0x3,_0x4d6e9b),Z(0x4,_0x2ad71f(_0x2005fd))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2aad57{constructor(_0x14713b,_0x36bb44){const _0x2e06a6=_0x6f952d;super(_0x14713b,_0x36bb44),_(this,_0x2e06a6(0x25e)),_(this,_0x2e06a6(0x25c),!0x1),_(this,_0x2e06a6(0x1cb)),_(this,'_name',''),_(this,_0x2e06a6(0xc2),_0x2e06a6(0xa0)),_(this,_0x2e06a6(0x1da)),(_0x36bb44&&this[_0x2e06a6(0x11a)](_0x36bb44),this[_0x2e06a6(0x146)][_0x2e06a6(0x12e)](()=>this[_0x2e06a6(0x11a)]({'hovered':!0x0})),this[_0x2e06a6(0x82)][_0x2e06a6(0x12e)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x6f952d(0x11a)](_0x261a26){const _0x42fdd1=_0x6f952d;var _0x17ac35,_0x838f8b,_0x67b0ea,_0x59bb1c,_0x393484,_0x1d56b9;this[_0x42fdd1(0x25e)]=(_0x17ac35=_0x261a26[_0x42fdd1(0x123)])!=null?_0x17ac35:this['_color'],this[_0x42fdd1(0x25c)]=(_0x838f8b=_0x261a26[_0x42fdd1(0x205)])!=null?_0x838f8b:this[_0x42fdd1(0x25c)],this[_0x42fdd1(0x1cb)]=(_0x67b0ea=_0x261a26[_0x42fdd1(0x1d6)])!=null?_0x67b0ea:this[_0x42fdd1(0x1cb)],this['_name']=(_0x59bb1c=_0x261a26[_0x42fdd1(0x25d)])!=null?_0x59bb1c:this[_0x42fdd1(0xe9)],this['_labelPosition']=(_0x393484=_0x261a26[_0x42fdd1(0x1c0)])!=null?_0x393484:this['_labelPosition'],this[_0x42fdd1(0x1da)]=(_0x1d56b9=_0x261a26['backgroundColor'])!=null?_0x1d56b9:this[_0x42fdd1(0x1da)],this[_0x42fdd1(0x289)]({'width':_0x261a26['width'],'height':_0x261a26[_0x42fdd1(0x148)]});}['onMouseMove'](_0x47aa36){const _0x20f38c=_0x6f952d,{row:_0x11ca41,column:_0x56cc68}=_0x47aa36;if(_0x11ca41>=this['_range'][_0x20f38c(0x225)]&&_0x11ca41<=this[_0x20f38c(0x1cb)][_0x20f38c(0x169)]&&_0x56cc68>=this[_0x20f38c(0x1cb)][_0x20f38c(0x24f)]&&_0x56cc68<=this[_0x20f38c(0x1cb)][_0x20f38c(0x25f)]){this[_0x20f38c(0x11a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x6f952d(0x15c)](_0x255e1e){return!0x1;}['_draw'](_0x50695e){const _0x9a93a=_0x6f952d;_0x59c86c[_0x9a93a(0xb0)](_0x50695e,{'width':this[_0x9a93a(0x1dd)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x9a93a(0x25e)],'evented':!0x1,'fill':this[_0x9a93a(0x1da)]}),this[_0x9a93a(0x25c)]&&(_0x50695e[_0x9a93a(0x180)](),_0x50695e[_0x9a93a(0x268)](0x1,0x0,0x0,0x1,this[_0x9a93a(0x1dd)],this[_0x9a93a(0xc2)]===_0x9a93a(0x22f)?0x0:-0x14),he[_0x9a93a(0xb0)](_0x50695e,{'text':this[_0x9a93a(0xe9)],'color':this['_color']}),_0x50695e[_0x9a93a(0x12a)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x182f01,_0x503d50,_0x108e35,_0x48f9b1)=>{const _0x5d06c4=_0x6f952d;for(var _0x11afd0=_0x48f9b1>0x1?void 0x0:_0x48f9b1?Ai(_0x503d50,_0x108e35):_0x503d50,_0x26fb8a=_0x182f01[_0x5d06c4(0x158)]-0x1,_0x58ef8f;_0x26fb8a>=0x0;_0x26fb8a--)(_0x58ef8f=_0x182f01[_0x26fb8a])&&(_0x11afd0=_0x58ef8f(_0x11afd0)||_0x11afd0);return _0x11afd0;},ve=(_0x593ffd,_0x51abeb)=>(_0x59cb1e,_0x1ebdae)=>_0x51abeb(_0x59cb1e,_0x1ebdae,_0x593ffd);const $i=0x1389;let Pe=class extends _0x5e6d7d{constructor(_0x1f76e6,_0x544e18,_0x44d41f,_0x170fe8){const _0xaa6cde=_0x6f952d;super(),_(this,_0xaa6cde(0x187),new Set()),_(this,'_lastPointer',null),(this[_0xaa6cde(0x1ad)]=_0x1f76e6,this[_0xaa6cde(0x1bb)]=_0x544e18,this[_0xaa6cde(0x265)]=_0x44d41f,this['_themeService']=_0x170fe8,this[_0xaa6cde(0x16a)]());}[_0x6f952d(0x16a)](){const _0x3f9cf3=_0x6f952d;this[_0x3f9cf3(0x1bb)][_0x3f9cf3(0x28a)][_0x3f9cf3(0x173)](_0x227a8e(this[_0x3f9cf3(0x236)]),_0x37011b(_0x327944=>{const _0x4a6fe5=_0x3f9cf3;if(_0x327944){const _0x514492=_0x327944[_0x4a6fe5(0x1de)];return _0x334567(this[_0x4a6fe5(0x265)]['getCollabCursors$'](this[_0x4a6fe5(0x1ad)][_0x4a6fe5(0xb7)]),this[_0x4a6fe5(0x256)][_0x4a6fe5(0x27c)])[_0x4a6fe5(0x173)](_0x31365f(([_0xa95cc4,_0x508c1c])=>{const _0x53ddf1=_0x4a6fe5,_0x20b239=new Map();return _0xa95cc4[_0x53ddf1(0x1f3)]((_0x415f8b,_0x444854)=>{const _0x12ac0b=_0x53ddf1;if(_0x415f8b[_0x12ac0b(0x1a5)]===_0x514492){const _0x15c775={..._0x415f8b};_0x15c775[_0x12ac0b(0x123)]=this[_0x12ac0b(0x256)][_0x12ac0b(0x179)](_0x415f8b[_0x12ac0b(0x123)]),_0x20b239[_0x12ac0b(0x129)](_0x444854,_0x15c775);}}),{'skeleton':_0x327944,'cursors':_0x20b239};}));}return _0x436a93({'skeleton':null,'cursors':new Map()});}))[_0x3f9cf3(0x1ba)](({skeleton:_0x3f7abe,cursors:_0x48f0e7})=>{const _0x337302=_0x3f9cf3;this['_removeCollabCursors'](),_0x3f7abe&&this[_0x337302(0x16b)](_0x3f7abe,_0x48f0e7);}),this['_sheetSkeletonManagerService'][_0x3f9cf3(0x28a)][_0x3f9cf3(0x1ba)](_0x13ab54=>{const _0x32d0f9=_0x3f9cf3;if(_0x13ab54==null)return;const {skeleton:_0x4ed6b7}=_0x13ab54,{scene:_0x19c185}=this[_0x32d0f9(0x1ad)];_0x19c185['onPointerMove$'][_0x32d0f9(0x12e)](_0x59d06b(_0x5df757=>{const _0x9b849c=_0x32d0f9;var _0x3cb6ed,_0x20ca3e;const {offsetX:_0x336bb2,offsetY:_0x3b010e}=_0x5df757,{x:_0x5f30c1,y:_0x8f3254}=_0x19c185[_0x9b849c(0x1ac)](_0x5c7f08[_0x9b849c(0x89)]([_0x336bb2,_0x3b010e])),{scaleX:_0x1b63b2,scaleY:_0x186477}=_0x19c185[_0x9b849c(0x16c)](),_0x5728f2=_0x19c185['getViewport'](_0x4effea[_0x9b849c(0x19d)]),_0x45cfb1=_0x19c185['getVpScrollXYInfoByPosToVp'](_0x5c7f08['FromArray']([_0x5f30c1,_0x8f3254]),_0x5728f2),_0x149867=_0x4ed6b7[_0x9b849c(0x171)](_0x336bb2,_0x3b010e,_0x1b63b2,_0x186477,_0x45cfb1);((_0x3cb6ed=this[_0x9b849c(0xf9)])==null?void 0x0:_0x3cb6ed[_0x9b849c(0x198)])===_0x149867[_0x9b849c(0x198)]&&((_0x20ca3e=this[_0x9b849c(0xf9)])==null?void 0x0:_0x20ca3e['row'])===_0x149867['row']||this['_cursors']['forEach'](_0x3a5011=>{const _0x47ee4b=_0x9b849c;_0x3a5011[_0x47ee4b(0x1dc)](_0x149867);});},0x64));});}['_updateCollabCursors'](_0x34c62e,_0x34328b){const _0x3f5732=_0x6f952d;var _0x19a010;const _0xaef386=(_0x19a010=this[_0x3f5732(0x1bb)]['getCurrent']())==null?void 0x0:_0x19a010['skeleton'];if(!_0xaef386)return;const _0x2797c9=this[_0x3f5732(0x1cd)]();if(!_0x2797c9)return;this[_0x3f5732(0x187)][_0x3f5732(0x1f3)](_0x41b154=>{const _0x2273b4=_0x3f5732;_0x41b154[_0x2273b4(0xb8)]();});const {scene:_0x4dfccb}=_0x2797c9,_0x22d24b=xi(Array[_0x3f5732(0x196)](_0x34328b['values']()))['map'](_0x5e742f=>{const _0x4f9040=_0x3f5732,{color:_0x590234,range:_0x143e04,name:_0x1272f5,selection:_0xf6f878,sheetID:_0x4a40b2}=_0x5e742f,{startColumn:_0x1dc3cd,startRow:_0x2f51cb,endColumn:_0x3802c0,endRow:_0x4b59b8}=_0x143e04,_0x40a097=_0xa0c449(_0x2f51cb,_0x1dc3cd,_0x4dfccb,_0xaef386),_0x32623c=_0xa0c449(_0x4b59b8,_0x3802c0,_0x4dfccb,_0xaef386),{columnHeaderHeightAndMarginTop:_0xb420b1}=_0xaef386,{startX:_0x3a2d4e,startY:_0x678676}=_0x40a097,{endX:_0x3bc633,endY:_0x19a3dc}=_0x32623c,_0x58f80c=_0x3bc633-_0x3a2d4e,_0x6faeca=_0x19a3dc-_0x678676,_0x21cfc5={'labelPosition':_0x678676-_0xb420b1>=ee?_0x4f9040(0xa0):'bottom','sheetID':_0x4a40b2,'range':_0x143e04,'color':_0x590234,'name':_0x1272f5,'selection':_0xf6f878,'left':_0x3a2d4e,'top':_0x678676,'width':_0x58f80c,'height':_0x6faeca,'evented':!0x1,'zIndex':$i};return new wi(_0x1272f5,_0x21cfc5);});_0x4dfccb[_0x3f5732(0x27d)](_0x22d24b,Li),this['_cursors']=new Set(_0x22d24b);}['_removeCollabCursors'](){const _0xc1456c=_0x6f952d;var _0x912e40;(_0x912e40=this['_cursors'])==null||_0x912e40[_0xc1456c(0x1f3)](_0x46de03=>_0x46de03[_0xc1456c(0x85)]());}['_getSheetObject'](){const _0x5d26c6=_0x6f952d;return _0x2c8e5f(this[_0x5d26c6(0x1ad)][_0x5d26c6(0xda)],this[_0x5d26c6(0x1ad)]);}};Pe=yi([ve(0x1,_0x2ad71f(_0x4beabc)),ve(0x2,_0x2ad71f(H)),ve(0x3,_0x2ad71f(_0x2005fd))],Pe);function xi(_0x1fcf0b){const _0x4b9d9c=_0x6f952d,_0x4fbd35=new Map();return _0x1fcf0b[_0x4b9d9c(0x1f3)](_0x3f1415=>{const _0x68f08f=_0x4b9d9c;if(_0x4fbd35[_0x68f08f(0x1a8)](_0x3f1415[_0x68f08f(0x175)])){const _0x5c13ae=_0x4fbd35[_0x68f08f(0x261)](_0x3f1415[_0x68f08f(0x175)]);_0x5c13ae['name']+=',\x20'+_0x3f1415[_0x68f08f(0x25d)];}else _0x4fbd35[_0x68f08f(0x129)](_0x3f1415[_0x68f08f(0x175)],_0x3f1415);}),Array[_0x4b9d9c(0x196)](_0x4fbd35['values']());}var v=function(){const _0x38e8a1=_0x6f952d;return v=Object[_0x38e8a1(0x281)]||function(_0x5b8939){const _0xa82f8a=_0x38e8a1;for(var _0x45ba42,_0xb28978=0x1,_0x39cb33=arguments[_0xa82f8a(0x158)];_0xb28978<_0x39cb33;_0xb28978++){_0x45ba42=arguments[_0xb28978];for(var _0x4c7b25 in _0x45ba42)Object[_0xa82f8a(0x1f9)][_0xa82f8a(0x170)]['call'](_0x45ba42,_0x4c7b25)&&(_0x5b8939[_0x4c7b25]=_0x45ba42[_0x4c7b25]);}return _0x5b8939;},v[_0x38e8a1(0x14a)](this,arguments);},Bi=function(_0x50347c,_0x20bffc){const _0x335e6d=_0x6f952d;var _0x10b020={};for(var _0x4a0318 in _0x50347c)Object[_0x335e6d(0x1f9)][_0x335e6d(0x170)][_0x335e6d(0x229)](_0x50347c,_0x4a0318)&&_0x20bffc[_0x335e6d(0x214)](_0x4a0318)<0x0&&(_0x10b020[_0x4a0318]=_0x50347c[_0x4a0318]);if(_0x50347c!=null&&typeof Object[_0x335e6d(0x16f)]==_0x335e6d(0x16e)){for(var _0x5af69f=0x0,_0x4a0318=Object[_0x335e6d(0x16f)](_0x50347c);_0x5af69f<_0x4a0318[_0x335e6d(0x158)];_0x5af69f++)_0x20bffc['indexOf'](_0x4a0318[_0x5af69f])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x335e6d(0x229)](_0x50347c,_0x4a0318[_0x5af69f])&&(_0x10b020[_0x4a0318[_0x5af69f]]=_0x50347c[_0x4a0318[_0x5af69f]]);}return _0x10b020;},Fe=_0x2fd603(function(_0x224c88,_0x30f5c3){const _0x31140b=_0x6f952d;var _0x366f63=_0x224c88[_0x31140b(0xde)],_0x50f278=_0x224c88['id'],_0x5a24b1=_0x224c88[_0x31140b(0x1fe)],_0x1e3e78=_0x224c88[_0x31140b(0x195)],_0x3209bf=Bi(_0x224c88,['icon','id',_0x31140b(0x1fe),_0x31140b(0x195)]),_0x24e7a9='univerjs-icon\x20univerjs-icon-'['concat'](_0x50f278,'\x20')[_0x31140b(0x24d)](_0x5a24b1||'')[_0x31140b(0xb3)](),_0x114722=_0x24d2a2('_'[_0x31140b(0x24d)](Fi()));return Rt(_0x366f63,''[_0x31140b(0x24d)](_0x50f278),{'defIds':_0x366f63[_0x31140b(0x150)],'idSuffix':_0x114722[_0x31140b(0xcd)]},v({'ref':_0x30f5c3,'className':_0x24e7a9},_0x3209bf),_0x1e3e78);});function Rt(_0x19dd07,_0x4c1184,_0x4a5c58,_0x4d4776,_0x250fa3){const _0x4b828d=_0x6f952d;return _0x672ee0(_0x19dd07[_0x4b828d(0x247)],v(v({'key':_0x4c1184},ki(_0x19dd07,_0x4a5c58,_0x250fa3)),_0x4d4776),(Hi(_0x19dd07,_0x4a5c58)[_0x4b828d(0x86)]||[])[_0x4b828d(0x207)](function(_0x4dc14a,_0x5bff15){const _0x1953de=_0x4b828d;return Rt(_0x4dc14a,''[_0x1953de(0x24d)](_0x4c1184,'-')[_0x1953de(0x24d)](_0x19dd07[_0x1953de(0x247)],'-')[_0x1953de(0x24d)](_0x5bff15),_0x4a5c58,void 0x0,_0x250fa3);}));}function ki(_0x4b1b1a,_0x362ada,_0x700cb){const _0x2950e2=_0x6f952d;var _0x1a8d65=v({},_0x4b1b1a['attrs']);_0x700cb!=null&&_0x700cb[_0x2950e2(0xf2)]&&_0x1a8d65['fill']==='colorChannel1'&&(_0x1a8d65[_0x2950e2(0x1b0)]=_0x700cb[_0x2950e2(0xf2)]),_0x4b1b1a[_0x2950e2(0x247)]==='mask'&&_0x1a8d65['id']&&(_0x1a8d65['id']=_0x1a8d65['id']+_0x362ada[_0x2950e2(0x118)]),Object[_0x2950e2(0x117)](_0x1a8d65)[_0x2950e2(0x1f3)](function(_0x23077e){const _0x225213=_0x2950e2;var _0x3cdb01=_0x23077e[0x0],_0x2659b7=_0x23077e[0x1];_0x3cdb01==='mask'&&typeof _0x2659b7=='string'&&(_0x1a8d65[_0x3cdb01]=_0x2659b7[_0x225213(0x9c)](/url\(#(.*)\)/,'url(#$1'[_0x225213(0x24d)](_0x362ada['idSuffix'],')')));});var _0x1512c7=_0x362ada[_0x2950e2(0x150)];return!_0x1512c7||_0x1512c7['length']===0x0||(_0x4b1b1a[_0x2950e2(0x247)]===_0x2950e2(0x15b)&&_0x1a8d65[_0x2950e2(0x120)]&&(_0x1a8d65[_0x2950e2(0x120)]=_0x1a8d65[_0x2950e2(0x120)]+_0x362ada[_0x2950e2(0x118)]),Object['entries'](_0x1a8d65)[_0x2950e2(0x1f3)](function(_0x3671f7){const _0xc7b619=_0x2950e2;var _0x1954d5=_0x3671f7[0x0],_0x510f17=_0x3671f7[0x1];typeof _0x510f17==_0xc7b619(0x19b)&&(_0x1a8d65[_0x1954d5]=_0x510f17[_0xc7b619(0x9c)](/url\(#(.*)\)/,_0xc7b619(0x162)[_0xc7b619(0x24d)](_0x362ada[_0xc7b619(0x118)],')')));})),_0x1a8d65;}function Hi(_0x179225,_0x4c59ac){const _0x43f580=_0x6f952d;var _0x210de3,_0x3fff36=_0x4c59ac[_0x43f580(0x150)];return!_0x3fff36||_0x3fff36[_0x43f580(0x158)]===0x0?_0x179225:_0x179225[_0x43f580(0x247)]===_0x43f580(0x24e)&&(!((_0x210de3=_0x179225[_0x43f580(0x86)])===null||_0x210de3===void 0x0)&&_0x210de3[_0x43f580(0x158)])?v(v({},_0x179225),{'children':_0x179225['children'][_0x43f580(0x207)](function(_0x5ac2e1){const _0x39d41b=_0x43f580;return typeof _0x5ac2e1['attrs']['id']==_0x39d41b(0x19b)&&_0x3fff36&&_0x3fff36[_0x39d41b(0x26e)](_0x5ac2e1[_0x39d41b(0x1ed)]['id'])?v(v({},_0x5ac2e1),{'attrs':v(v({},_0x5ac2e1[_0x39d41b(0x1ed)]),{'id':_0x5ac2e1[_0x39d41b(0x1ed)]['id']+_0x4c59ac['idSuffix']})}):_0x5ac2e1;})}):_0x179225;}function Fi(){const _0x52cd2a=_0x6f952d;return Math['random']()['toString'](0x24)[_0x52cd2a(0x1e5)](0x2,0x8);}Fe[_0x6f952d(0x1b3)]=_0x6f952d(0x9a);var Yi={'tag':_0x6f952d(0x1b9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x6f952d(0x84),'viewBox':_0x6f952d(0x168),'width':_0x6f952d(0x1e2),'height':_0x6f952d(0x1e2)},'children':[{'tag':'g','attrs':{'clipPath':_0x6f952d(0x91)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'stroke':_0x6f952d(0x1f4),'d':_0x6f952d(0x18b),'strokeLinecap':'round','strokeLinejoin':_0x6f952d(0x210),'strokeWidth':1.2}}]},{'tag':_0x6f952d(0x24e),'attrs':{},'children':[{'tag':_0x6f952d(0x20f),'attrs':{'id':_0x6f952d(0x27e)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'fill':_0x6f952d(0x98),'d':_0x6f952d(0xb6)}}]}]}],'defIds':[_0x6f952d(0x27e)]},Dt=_0x2fd603(function(_0x47b312,_0x560d9e){const _0x1c4437=_0x6f952d;return _0x672ee0(Fe,Object[_0x1c4437(0x281)]({},_0x47b312,{'id':'off-line-icon','ref':_0x560d9e,'icon':Yi}));});Dt[_0x6f952d(0x1b3)]=_0x6f952d(0xe0);var ji={'tag':_0x6f952d(0x1b9),'attrs':{'xmlns':_0x6f952d(0x1bc),'fill':'none','viewBox':_0x6f952d(0x1a4),'width':'1em','height':_0x6f952d(0x1e2)},'children':[{'tag':'g','attrs':{'clipPath':_0x6f952d(0x243)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'stroke':'currentColor','d':_0x6f952d(0x15e),'strokeLinecap':_0x6f952d(0x210),'strokeLinejoin':_0x6f952d(0x210),'strokeWidth':1.2}}]},{'tag':_0x6f952d(0x24e),'attrs':{},'children':[{'tag':_0x6f952d(0x20f),'attrs':{'id':_0x6f952d(0x251)},'children':[{'tag':_0x6f952d(0x159),'attrs':{'fill':_0x6f952d(0x98),'d':_0x6f952d(0xb6),'transform':_0x6f952d(0x131)}}]}]}],'defIds':[_0x6f952d(0x251)]},Nt=_0x2fd603(function(_0x595bcd,_0x38c86d){const _0x27eb62=_0x6f952d;return _0x672ee0(Fe,Object[_0x27eb62(0x281)]({},_0x595bcd,{'id':_0x27eb62(0xef),'ref':_0x38c86d,'icon':ji}));});Nt[_0x6f952d(0x1b3)]=_0x6f952d(0x233);function Vi(_0x31b402){const _0x243355=_0x6f952d;switch(_0x31b402){case _0x2cb0a0[_0x243355(0x213)]:return _0x243355(0x282);case _0x2cb0a0[_0x243355(0x199)]:return _0x243355(0x15a);case _0x2cb0a0[_0x243355(0xee)]:return'collabStatus.fetchMiss';case _0x2cb0a0[_0x243355(0x1ef)]:return _0x243355(0x1b8);case _0x2cb0a0['AWAITING']:case _0x2cb0a0[_0x243355(0xff)]:return _0x243355(0x26f);case _0x2cb0a0[_0x243355(0x17c)]:case _0x2cb0a0['PENDING']:return'collabStatus.synced';}}function Wi(_0x12ca98){const _0x223037=_0x6f952d,{status$:_0x2cbcb0}=_0x12ca98,_0x4eebb4=_0x2b77a4(_0x2cbcb0,_0x2cb0a0['NOT_COLLAB']),_0x3d1137=_0x12e57b(_0x1d6e14),_0x31eef6=_0x12e57b(_0x338fb1),_0x421622=_0x4eebb4!==_0x2cb0a0[_0x223037(0x213)],_0x257d67=_0x3d1137['t'](Vi(_0x4eebb4)),_0x42856e=_0x421622?_0x40946b(Nt,{}):_0x40946b(Dt,{}),_0x46e623=_0x26d198(()=>{const _0x47308a=_0x223037;_0x421622||_0x31eef6[_0x47308a(0xf3)]();},[_0x421622,_0x31eef6]);function _0xfd93e7(){const _0xbfbd2a=_0x223037;return _0x5c1e11(_0xbfbd2a(0x133),{'className':_0xbfbd2a(0xd3),'onClick':_0x46e623,'children':[_0x40946b(_0xbfbd2a(0x133),{'className':_0x2454df(_0xbfbd2a(0x87),{'univer-text-green-500':_0x421622,'univer-text-red-500':!_0x421622}),'children':_0x42856e}),_0x40946b(_0xbfbd2a(0x133),{'className':_0xbfbd2a(0xbb),'children':_0x257d67})]});}return _0x421622?_0xfd93e7():_0x40946b(_0x43ed71,{'title':_0x3d1137['t']('collab-client.tooltip.reconnect'),'children':_0xfd93e7()});}var Xi=Object[_0x6f952d(0x283)],Gi=(_0x414ba4,_0x10814b,_0x37aac5,_0x45965b)=>{const _0x4edf90=_0x6f952d;for(var _0x58679a=_0x45965b>0x1?void 0x0:_0x45965b?Xi(_0x10814b,_0x37aac5):_0x10814b,_0x4ee47b=_0x414ba4[_0x4edf90(0x158)]-0x1,_0x2e1b87;_0x4ee47b>=0x0;_0x4ee47b--)(_0x2e1b87=_0x414ba4[_0x4ee47b])&&(_0x58679a=_0x2e1b87(_0x58679a)||_0x58679a);return _0x58679a;},Q=(_0x36fc8a,_0x2cdda7)=>(_0x3df21b,_0x157102)=>_0x2cdda7(_0x3df21b,_0x157102,_0x36fc8a);let te=class extends _0x314d20{constructor(_0x274a09,_0x342019,_0x1f57f1,_0x548e89){const _0x4e1f30=_0x6f952d;super(),_(this,_0x4e1f30(0x138),new _0x25ddca(_0x2cb0a0[_0x4e1f30(0x1ef)])),(this[_0x4e1f30(0xc9)]=_0x274a09,this['_injector']=_0x342019,this['_collaborationController']=_0x1f57f1,this[_0x4e1f30(0x278)]=_0x548e89,this[_0x4e1f30(0x12d)](),this['_initStatusListener']());}[_0x6f952d(0x239)](){const _0x4febfb=_0x6f952d;this[_0x4febfb(0xc7)](this['_univerInstanceService'][_0x4febfb(0x226)][_0x4febfb(0x173)](_0x1467e7(()=>{const _0x2e6818=_0x4febfb,_0x2047b1=this[_0x2e6818(0xc9)]['getFocusedUnit']();return _0x2047b1?this[_0x2e6818(0x116)]['getCollabEntity$'](_0x2047b1[_0x2e6818(0x212)]()):_0x436a93(null);}),_0x1467e7(_0x428698=>_0x428698?_0x428698[_0x4febfb(0x7f)]:_0x436a93(_0x2cb0a0[_0x4febfb(0x1ef)])))[_0x4febfb(0x1ba)](_0xbef3dc=>{const _0xb5492b=_0x4febfb;this['_status$'][_0xb5492b(0xa9)](_0xbef3dc);}));}['_initStatusComponent'](){const _0x1939c1=_0x6f952d;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x344b76[_0x1939c1(0x26d)],()=>_0x283f2b(Ki({'status$':this[_0x1939c1(0x138)][_0x1939c1(0xa1)]()}),this[_0x1939c1(0x277)])));}};te=Gi([Q(0x0,_0xf38a52),Q(0x1,_0x2ad71f(_0x14214c)),Q(0x2,_0x2ad71f(_0x2b30d1)),Q(0x3,_0x5a568b)],te);function Ki(_0x22466f){const {status$:_0x8b5d91}=_0x22466f;return function(){return _0x40946b(Wi,{'status$':_0x8b5d91});};}var zi=Object[_0x6f952d(0x283)],Ji=(_0x4530f1,_0x5c8c8c,_0x220e48,_0x6afa)=>{const _0x2a6640=_0x6f952d;for(var _0x37656c=_0x6afa>0x1?void 0x0:_0x6afa?zi(_0x5c8c8c,_0x220e48):_0x5c8c8c,_0x15ed12=_0x4530f1[_0x2a6640(0x158)]-0x1,_0x35e14c;_0x15ed12>=0x0;_0x15ed12--)(_0x35e14c=_0x4530f1[_0x15ed12])&&(_0x37656c=_0x35e14c(_0x37656c)||_0x37656c);return _0x37656c;},B=(_0x9e39d1,_0x2eb5b9)=>(_0x4596a4,_0x23c836)=>_0x2eb5b9(_0x4596a4,_0x23c836,_0x9e39d1);let se=class extends _0x314d20{constructor(_0x32c091,_0x564c8a,_0x35f3e0,_0x352af0,_0x4b333f,_0x87d06){const _0x337ccb=_0x6f952d;super(),this['_beforeCloseService']=_0x32c091,this[_0x337ccb(0x27f)]=_0x564c8a,this[_0x337ccb(0xeb)]=_0x35f3e0,this[_0x337ccb(0x8b)]=_0x352af0,this[_0x337ccb(0x83)]=_0x4b333f,this['_localeService']=_0x87d06,this[_0x337ccb(0x22b)](),this[_0x337ccb(0x113)]();}[_0x6f952d(0x22b)](){const _0x305b33=_0x6f952d;this[_0x305b33(0xc7)](this[_0x305b33(0x217)][_0x305b33(0x1c2)](()=>{const _0x3deb20=_0x305b33;if(this[_0x3deb20(0x27f)][_0x3deb20(0x105)][_0x3deb20(0x142)])return this[_0x3deb20(0xe8)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x6f952d(0x113)](){const _0x440d40=_0x6f952d;this[_0x440d40(0xc7)](this['_collaborationUIEventService'][_0x440d40(0x1d4)][_0x440d40(0x1ba)](_0x2bd661=>{const _0x190cf2=_0x440d40;_0x2bd661['id']===_0x117633['OTHER_CLIENT_EDITING']&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x1f2))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x101)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0['Warning'],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0xd9))}),_0x2bd661['id']===_0x117633['PERMISSION_DENIED']&&this[_0x190cf2(0x83)][_0x190cf2(0xd2)]({'title':this[_0x190cf2(0xe8)]['t']('permission.title'),'content':this[_0x190cf2(0xe8)]['t']('permission.content'),'type':'error','duration':0x0}),_0x2bd661['id']===_0x117633[_0x190cf2(0x199)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0x124)],'content':this['_localeService']['t'](_0x190cf2(0xd9))+'('+_0x2bd661[_0x190cf2(0x194)]+')'}),_0x2bd661['id']===_0x117633[_0x190cf2(0x234)]&&this['_messageService'][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x2bd661[_0x190cf2(0x194)]||'')}),_0x2bd661['id']===_0x117633[_0x190cf2(0xe7)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0xed)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x14d))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x81)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0['Error'],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x137))}),_0x2bd661['id']===_0x117633[_0x190cf2(0x18d)]&&this[_0x190cf2(0x8b)][_0x190cf2(0xd2)]({'type':_0x1ad4d0[_0x190cf2(0x124)],'content':this[_0x190cf2(0xe8)]['t'](_0x190cf2(0x219))});}));}};se=Ji([B(0x0,_0x188b08),B(0x1,_0x4da2db),B(0x2,_0x2ad71f(_0x3329ad)),B(0x3,_0x16c293),B(0x4,_0x369ee3),B(0x5,_0x2ad71f(_0x1d6e14))],se);const Zi=_0x6f952d(0x17b),et={},Ut=_0x2b6b47(_0x6f952d(0x1c3));var Qi=Object[_0x6f952d(0x283)],qi=(_0x297136,_0x2dc987,_0x938b23,_0x1a5cc7)=>{const _0x3c79fe=_0x6f952d;for(var _0x289406=_0x1a5cc7>0x1?void 0x0:_0x1a5cc7?Qi(_0x2dc987,_0x938b23):_0x2dc987,_0x1c2d35=_0x297136[_0x3c79fe(0x158)]-0x1,_0x4ffa9b;_0x1c2d35>=0x0;_0x1c2d35--)(_0x4ffa9b=_0x297136[_0x1c2d35])&&(_0x289406=_0x4ffa9b(_0x289406)||_0x289406);return _0x289406;},G=(_0x4aaa4c,_0x21a4e2)=>(_0x4681bf,_0x27f511)=>_0x21a4e2(_0x4681bf,_0x27f511,_0x4aaa4c);let ie=class extends _0x5e6d7d{constructor(_0x2fd71c,_0x137908,_0x5b9271,_0x23be88,_0x2c6d71){const _0x46614d=_0x6f952d;super(),this[_0x46614d(0x21d)]=_0x2fd71c,this[_0x46614d(0xdb)]=_0x137908,this[_0x46614d(0x19c)]=_0x5b9271,this[_0x46614d(0x10a)]=_0x23be88,_0x2c6d71?_0x2c6d71==null||_0x2c6d71[_0x46614d(0x1d7)]()[_0x46614d(0xfd)](()=>this['_init']()):(this[_0x46614d(0xdb)][_0x46614d(0x11e)](_0x46614d(0x27a),_0x46614d(0x13c)),this[_0x46614d(0x16a)]());}async[_0x6f952d(0x16a)](){const _0x235dbb=_0x6f952d,_0x2ba2e6=this['_urlService']['getParam']('unit'),_0x1841f3=this['_urlService'][_0x235dbb(0x157)](_0x235dbb(0x258)),_0x3747d1=this['_urlService'][_0x235dbb(0x157)](_0x235dbb(0x140));if(!_0x2ba2e6||!_0x1841f3){this[_0x235dbb(0xdb)][_0x235dbb(0x11e)](_0x235dbb(0x27a),_0x235dbb(0x20a));return;}const _0x51ca48=await this['_dataLoaderService'][_0x235dbb(0x23b)](_0x2ba2e6,Number(_0x1841f3),_0x3747d1);_0x51ca48&&_0x51ca48 instanceof _0x3117c5&&this[_0x235dbb(0xc1)](_0x51ca48);}async[_0x6f952d(0xc1)](_0x31b5a8){const _0x2fbb5f=_0x6f952d;await this[_0x2fbb5f(0x145)](_0x31b5a8),_0x31b5a8['activeSheet$'][_0x2fbb5f(0x173)](_0x147fa3(this[_0x2fbb5f(0x236)]))[_0x2fbb5f(0x1ba)](_0x4f0fc7=>{const _0xf2dfe7=_0x2fbb5f;_0x4f0fc7&&this[_0xf2dfe7(0x95)](_0x4f0fc7);}),this[_0x2fbb5f(0x21d)][_0x2fbb5f(0xbf)][_0x2fbb5f(0x173)](_0x147fa3(this['dispose$']))[_0x2fbb5f(0x1ba)](()=>this[_0x2fbb5f(0x145)](_0x31b5a8));}[_0x6f952d(0x95)](_0x2e7fac,_0x58b335=!0x1){const _0x2d45e5=_0x6f952d,_0x49fc42=this['_urlService'][_0x2d45e5(0x157)](_0x2d45e5(0x140));_0x2e7fac[_0x2d45e5(0x14f)]()!==_0x49fc42&&this[_0x2d45e5(0x21d)][_0x2d45e5(0x1d2)]('subunit',_0x2e7fac['getSheetId'](),_0x58b335);}async['_updateSubUnitFromURLParams'](_0x1690d7){const _0x5130bb=_0x6f952d;var _0x49a7d1;const _0x356184=this[_0x5130bb(0x21d)][_0x5130bb(0x157)](_0x5130bb(0x140));if(!_0x356184||!_0x1690d7[_0x5130bb(0x253)](_0x356184)){const _0x5adc97=_0x1690d7[_0x5130bb(0x270)]()[0x0],_0x58a0ce=_0x1690d7['getSheetBySheetId'](_0x5adc97);if(!_0x58a0ce)return;this[_0x5130bb(0x95)](_0x58a0ce,!0x0),await this[_0x5130bb(0x19c)][_0x5130bb(0x11f)](_0x59f06e['id'],{'unitId':_0x1690d7[_0x5130bb(0x212)](),'subUnitId':_0x5adc97});return;}((_0x49a7d1=_0x1690d7[_0x5130bb(0x20d)]())==null?void 0x0:_0x49a7d1[_0x5130bb(0x14f)]())!==_0x356184&&await this[_0x5130bb(0x19c)][_0x5130bb(0x11f)](_0x59f06e['id'],{'unitId':_0x1690d7[_0x5130bb(0x212)](),'subUnitId':_0x356184});}};ie=qi([G(0x0,Ut),G(0x1,_0x4162d0),G(0x2,_0x4d6e9b),G(0x3,_0x2ad71f(_0x5dcddc)),G(0x4,_0x200084(_0x2b90ec))],ie);var en=Object[_0x6f952d(0x283)],tn=(_0x5596cc,_0x5ed98a,_0x45fa69,_0x1da0de)=>{const _0x16a721=_0x6f952d;for(var _0x1432f5=_0x1da0de>0x1?void 0x0:_0x1da0de?en(_0x5ed98a,_0x45fa69):_0x5ed98a,_0x228dd1=_0x5596cc[_0x16a721(0x158)]-0x1,_0x54bce2;_0x228dd1>=0x0;_0x228dd1--)(_0x54bce2=_0x5596cc[_0x228dd1])&&(_0x1432f5=_0x54bce2(_0x1432f5)||_0x1432f5);return _0x1432f5;},pe=(_0x1ec62d,_0x2ede88)=>(_0x42560e,_0x4f30f0)=>_0x2ede88(_0x42560e,_0x4f30f0,_0x1ec62d);let ne=class{constructor(_0x4a5ed4,_0x585879,_0x386b1f){const _0x228109=_0x6f952d;this[_0x228109(0x277)]=_0x4a5ed4,this[_0x228109(0x19a)]=_0x585879,this[_0x228109(0x1d9)]=_0x386b1f;}['transformIMECache'](_0x2420d5){const _0x293886=_0x6f952d;this['_transformUndoRedoStack'](_0x2420d5),this[_0x293886(0x240)](_0x2420d5);}['transformRemoteChangeset'](_0x2ce176){const _0x32706a=_0x6f952d,{unitID:_0x17de01}=_0x2ce176,_0x58b413=this['_renderManagerService'][_0x32706a(0x1b5)](_0x17de01)[_0x32706a(0x1d0)](_0x37c3da),{redoCache:_0x593892}=_0x58b413[_0x32706a(0x156)]();if(_0x593892[_0x32706a(0x158)]===0x0)return _0x2ce176;let _0x5098c3=_0x123dff[_0x32706a(0x9b)](_0x2ce176[_0x32706a(0x121)][0x0]);for(let _0x4b4a08=0x0;_0x4b4a08<_0x593892[_0x32706a(0x158)];_0x4b4a08++){const _0x8c440e={'id':'doc.mutation.rich-text-editing','params':{..._0x593892[_0x4b4a08]}},_0x2d8cc4=this['_transformService'][_0x32706a(0x127)](_0x5098c3,_0x8c440e,!0x1);if(_0x399df1(_0x2d8cc4))throw _0x2d8cc4[_0x32706a(0x1e3)];_0x5098c3=_0x2d8cc4['m1Prime'];}return{..._0x123dff[_0x32706a(0x9b)](_0x2ce176),'mutations':[_0x5098c3]};}[_0x6f952d(0x119)](_0x283bc9){const _0x529e55=_0x6f952d,{unitID:_0x285839}=_0x283bc9,_0x3ce9d8=this[_0x529e55(0x1d9)]['getRenderById'](_0x285839)[_0x529e55(0x1d0)](_0x37c3da),{undoCache:_0xa36e52,redoCache:_0x122a48}=_0x3ce9d8[_0x529e55(0x156)]();if(_0xa36e52[_0x529e55(0x158)]===0x0||_0x122a48['length']===0x0)return;const _0x258904=[],_0x1f5fd8=[];let _0x1c08bb=_0x123dff[_0x529e55(0x9b)](_0x283bc9[_0x529e55(0x121)][0x0]),_0x4a9bc4=_0x123dff[_0x529e55(0x9b)](_0x283bc9[_0x529e55(0x121)][0x0]);for(let _0x227674=_0xa36e52[_0x529e55(0x158)]-0x1;_0x227674>=0x0;_0x227674--){const _0x566e5a={'id':_0x529e55(0x17d),'params':{..._0xa36e52[_0x227674]}},_0x2fb98f={'id':'doc.mutation.rich-text-editing','params':{..._0x122a48[_0x227674]}},_0x4d2fd1=this[_0x529e55(0x19a)][_0x529e55(0x127)](_0x1c08bb,_0x566e5a,!0x1),_0x51d30d=this[_0x529e55(0x19a)][_0x529e55(0x127)](_0x4a9bc4,_0x2fb98f,!0x1);if(_0x399df1(_0x4d2fd1))throw _0x4d2fd1['error'];if(_0x399df1(_0x51d30d))throw _0x51d30d[_0x529e55(0x1e3)];_0x258904[_0x529e55(0x250)](_0x4d2fd1[_0x529e55(0x185)][_0x529e55(0x80)]),_0x1f5fd8[_0x529e55(0x250)](_0x51d30d[_0x529e55(0x185)][_0x529e55(0x80)]),_0x1c08bb=_0x4d2fd1[_0x529e55(0xca)],_0x4a9bc4=_0x51d30d[_0x529e55(0xca)];}_0x3ce9d8['setUndoRedoMutationParamsCache']({'undoCache':_0x258904,'redoCache':_0x1f5fd8});}[_0x6f952d(0x240)](_0x2a80d4){const _0x149316=_0x6f952d,{unitID:_0x386441}=_0x2a80d4,_0x210e5a=this['_renderManagerService'][_0x149316(0x1b5)](_0x386441)[_0x149316(0x1d0)](_0x37c3da),_0x4e229f=_0x210e5a[_0x149316(0x211)]();if(_0x4e229f==null)return;const _0x35432f=[{'id':_0x149316(0x17d),'params':{'unitId':_0x2a80d4[_0x149316(0x201)],'actions':null,'textRanges':[_0x4e229f]}}],_0x211ecf=this[_0x149316(0x19a)]['transformMutationsWithChangeset'](_0x2a80d4,_0x35432f);if(!_0x1939ee(_0x211ecf))throw _0x211ecf[_0x149316(0x1e3)];const _0x4fdb53=_0x211ecf[_0x149316(0x185)][0x0][_0x149316(0x80)][_0x149316(0x242)];Array[_0x149316(0x9e)](_0x4fdb53)&&_0x4fdb53[_0x149316(0x158)]&&_0x210e5a[_0x149316(0xfb)](_0x4fdb53[0x0]);}};ne=tn([pe(0x0,_0x2ad71f(_0x14214c)),pe(0x1,_0x23cfb3),pe(0x2,_0x397b72)],ne);var sn=Object[_0x6f952d(0x283)],nn=(_0x20d004,_0x1a9281,_0x4eba15,_0x1ff86f)=>{const _0x7c8549=_0x6f952d;for(var _0x42e283=_0x1ff86f>0x1?void 0x0:_0x1ff86f?sn(_0x1a9281,_0x4eba15):_0x1a9281,_0x2d87c3=_0x20d004[_0x7c8549(0x158)]-0x1,_0x177c57;_0x2d87c3>=0x0;_0x2d87c3--)(_0x177c57=_0x20d004[_0x2d87c3])&&(_0x42e283=_0x177c57(_0x42e283)||_0x42e283);return _0x42e283;},Ce=(_0x1d1630,_0x3554a5)=>(_0x5a2ddf,_0x5b6f77)=>_0x3554a5(_0x5a2ddf,_0x5b6f77,_0x1d1630);function _0x45b5(){const _0x25fde6=['_roomMembers$','registerRefRange','roomMembers$','session.connection-failed','_status$','_scheduleSaving','href','generateRandomId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collabSessionService','init','_createSocketURL','subunit','NOT_FOUND','size','_unitStatus','_docStateChangeManagerService','_updateSubUnitFromURLParams','onPointerEnter$','sessionTicket','height','min','apply','_revisionService','transformSelections','session.will-retry','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSheetId','defIds','createSocket','black','add','_handleHeartbeatEvent','_initDependencies','getUndoRedoMutationParamsCache','getParam','length','path','collabStatus.conflict','use','triggerDblclick','_initCommandExecutedListener','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','4307670blrmhk','18888haTDZW','SNAPSHOT_HAS_BEEN_REMOVED','url(#$1','24YVBEbe','getStateCache','_id','transformRemoteChangeset','onRendered','0\x200\x2016\x2016','endRow','_init','_updateCollabCursors','getAncestorScale','_render','function','getOwnPropertySymbols','hasOwnProperty','getCellPositionByOffset','5BwsaIo','pipe','_draw','selection','values','getConfig','_refRangeService','getColorFromTheme','ranges','collaboration-client-ui.config','SYNCED','doc.mutation.rich-text-editing','getMember','YUUMI_CONNECTOR_URL_NOT_FOUND','save','entityInit$','_instanceService','getCollabCursors$','isEditing','m2Prime','_textBubble','_cursors','_selfUnitIDs','key','sessionStatus$','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','evenodd','SUBMIT_CHANGESET_TIMEOUT','setConfig','_session','_removeClearOtherTimer','_initEntityListener','memberID','loadOfflineData','data','extend','from','_assignedColors','column','CONFLICT','_transformService','string','_commandService','VIEW_MAIN','#FFF','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ALREADY_EXISTS','APPLY_NON_SEQUENTIAL_REVISION','push','_imageIoService','0\x200\x2017\x2016','sheetID','INVITE_CODE_HAS_BEEN_UES','_hover','has','collab-text-anchor-','contains','setInterval','getRelativeToViewportCoord','_context','addObject','YUUMI_RATE_OVER_LIMIT','fill','1246QPCzqT','1367394qmnovK','displayName','defineProperty','getRenderById','RemoveColCommandId','_docClipboardService','collabStatus.notCollab','svg','subscribe','_sheetSkeletonManagerService','http://www.w3.org/2000/svg','location','getValue','Failed','labelPosition','roomMembers','registerBeforeClose','uni.network.url-service','replaceState','_docSyncEditingCollabCursorService','PY_RUNTIME_SCRIPT_ERROR','isActive','docStateChange$','getFocusedUnit','_docSkeleton','_range','DeleteRangeMoveLeftCommandId','_getSheetObject','_colorAssignService','_registerRenderDependencies','with','YUUMI_UNABLE_LOAD_URL','setParam','72RMxCRo','event$','toString','range','whenReady','_cursor','_renderManagerService','_backgroundColor','ticket','onMouseMove','width','sheetId','_ensureSubject','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_ALREADY_BOUND','1em','error','getCurrentUnitForType','substring','redoState','unload','_configService','_anchorDot','text','_disabled','_startDocCollabCursor','attrs','blue.400','NOT_COLLAB','getDocRanges','_docSkeletonManagerService','collaboration.single-unit.warning','forEach','currentColor','_removeCollabCursors','INVALID_ARGUMENT','_getSaveTimeout','_collabCursorState$','prototype','eventID','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_VERIFY_CODE_MISMATCH','RECT','className','10hlaqvw','collab-text-range-','unitID','_cursorInfo$','application/json','LICENSE_EXPORT_SIZE_EXCEEDED','hovered','arc','map','getCurrentSelections','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getOffsetConfig','unsubscribe','getActiveSheet','UNRECOGNIZED','clipPath','round','getActiveRange','getUnitId','OFFLINE','indexOf','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_REVISION_CONFILICT','_beforeCloseService','beginPath','session.collaboration-timeout','YUUMI_NO_CUBOID_FOR_QUESTION','cursorInfo','override','_urlService','hide','_docTransformIMECacheService','USERS_LEAVE','InsertRowCommandId','_colorIndex','cursorInfo$','requireSession','startRow','focused$','_localStorageService','_shapes','call','YUUMI_URL_COL_OUT_OF_RANGE','_setupBeforeClosingHandler','LICENSE_DISTRO_REJECTED','ONLINE','...','bottom','delete','_document','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OnLineIcon','JOIN_ROOM_FAILED','_httpService','dispose$','newValue','disposeUnit','_initStatusListener','rgba(255,\x20255,\x20255,\x200.01)','loadUnit','pushState','red.300','USER_NOT_INVITED_CODE','_registerDependencies','_transformPreviousActiveRange','setStateCache','textRanges','url(#on-line-icon_clip0_910_349)','APPLY_PERMISSION_DENIED','InsertRangeMoveDownCommandId','pluginName','tag','getTypeOfUnitAdded$','popstate','_getAnchorBounding','stringify','executionId','concat','defs','startColumn','unshift','on-line-icon_clip0_910_349','parse','getSheetBySheetId','_drawRectRange','searchParams','_themeService','undoState','type','INTERNAL_ERROR','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','complete','_hovered','name','_color','endColumn','ENSURE_SNAPSHOT_EXECUTION','get','InsertRangeMoveRightCommandId','UNIVER_DOC','_onRefRangeChange','_collabCursorController','_eventUnsubscribe','_cursorShapes','transform','some','syncEditingCollabCursor','createInstance','_handleLeaveEvent','HEADER_MENU','includes','collabStatus.syncing','getUnhiddenWorksheets','_scheduleHeartbeat','_doCreateSocket','assignAColorForMemberID','InsertColCommandId','COMPLETION_FINISHED','UNIVER_SHEET','_injector','_uiPartsService','_toggleOffline','[CollaborationDataLoaderController]','clearInterval','currentTheme$','addObjects','off-line-icon_clip0_910_343','_localCacheService','storage','assign','collabStatus.offline','getOwnPropertyDescriptor','_getSessionTicket','source','ACTIVE_UNIT_EVENT_CHANNEL','RemoveRowCommandId','fillStyle','transformByState','currentSkeleton$','_onCursorUpdate','status$','params','SOCKET_FAILED','onPointerLeave$','_notificationService','none','dispose','children','univer-mr-2\x20univer-flex\x20univer-text-xl','startsWith','FromArray','engine','_messageService','PERMISSION_DENIED','306YUTMPp','findNodePositionByCharIndex','INVALID_INVITE_CODE','collabCursorState$','url(#off-line-icon_clip0_910_343)','/run/','_updateLocalCursor','_entityInit$','_updateURLWithCurrentState','Unknown\x20user','onCommandExecuted','white','_refreshCollabCursors','UniverIcon','deepClone','replace','EMAIL_VERIFY_CODE_MISMATCH','isArray','body','top','asObservable','YUUMI_ASYNCIO_CANCELLED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','actions','_transformHistoryAndStateStack','YUUMI_AI_RUN_FAILED','yellow.400','_saveCache','next','_syncEditingCollabCursorService','measureText','jiqing.500','NO_OTHER_CLIENTS_EDITING','transformStateCache','_scheduleClearOtherTimer','drawWith','purple.300','SNAPSHOT_INVALID_SNAPSHOT','trim','saveOfflineData','split','M0\x200H16V16H0z','unitId','makeDirty','_drawTextRange','addHandlerCallback','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','addEventListener','clearTimeout','_handleJoinEvent','urlChange$','onTransformChange$','_setupSubUnitSync','_labelPosition','_initResize','MoveRangeCommandId','_clearOtherTimers','LOGIN_FAILED','disposeWithMe','getMemberID','_univerInstanceService','m1Prime','_heartbeatTimer','_getScale','current','APPLY_REJECT','collab-rect-range-','result','setItem','show','univer-flex\x20univer-items-center','_toggleOnline','fillText','_memberService','UNDEFINED','TEXT','collaboration.closeRoom','unit','_logService','_entities','runOnServer','icon','_hideTimer','OffLineIcon','LICENSE_MAX_UNITS_EXCEEDED','_getMergeRange','4442208jdOrqb','UPDATE_CURSOR','_unitOnClients','_config','SOCKET_FAILED_RETRY','_localeService','_name','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationUIEventService','lineTo','Warning','FETCH_MISS','on-line-icon','history','getMergeData','colorChannel1','reconnect','CHANGESET_REVISION_CONFILICT','2078322qPdvYp','all','_onCursorDelete','toRgbString','_lastPointer','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setActiveRange','APPLY_DUPLICATED','then','_docTransformStateCacheService','AWAITING_WITH_PENDING','transformIMECache','CLOSE_ROOM','_docTransformSelectionsService','UNAUTHENTICATED','_anchor','saveTaskMap','_send','runId','send','2392643tReQyk','_dataLoaderService','setAlpha','getSkeleton','origin','_handleHover','INVITE_CODE_REQUIRED','resize','getRangePointData','_online','_initEvent','max','registerRenderModule','_collaborationController','entries','idSuffix','_transformUndoRedoStack','setShapeProps','_startSheetCollabCursor','_cachedData','saveImage','debug','executeCommand','xlink:href','mutations','_scene','color','Error','transformMutationsWithChangeset','WECHAT_HAS_BEEN_BOUND','transformMutation','_handleEvent','set','restore','_saveTaskMap','_drawAnchor','_initStatusComponent','subscribeEvent','editingUnit','addClipboardHook','translate(.97)','getTypeOfUnitDisposed$','div'];_0x45b5=function(){return _0x25fde6;};return _0x45b5();}let re=class{constructor(_0x166c73,_0x5b1a2b,_0x3e7c2d){const _0x18b4ba=_0x6f952d;this[_0x18b4ba(0x277)]=_0x166c73,this[_0x18b4ba(0x19a)]=_0x5b1a2b,this[_0x18b4ba(0x144)]=_0x3e7c2d;}['transformStateCache'](_0x5dc289){const _0x2ace1b=_0x6f952d;this[_0x2ace1b(0xa5)](_0x5dc289);}[_0x6f952d(0x166)](_0x26bc94){const _0x47f671=_0x6f952d,{unitID:_0x1d8364}=_0x26bc94,{collaboration:_0x4f5ceb}=this[_0x47f671(0x144)][_0x47f671(0x164)](_0x1d8364);if(_0x4f5ceb[_0x47f671(0x158)]===0x0)return _0x26bc94;let _0x481c3b=_0x123dff[_0x47f671(0x9b)](_0x26bc94[_0x47f671(0x121)][0x0]);for(let _0x22c162=0x0;_0x22c162<_0x4f5ceb['length'];_0x22c162++){const _0x4eb7dd={'id':_0x47f671(0x17d),'params':{'unitId':_0x4f5ceb[_0x22c162][_0x47f671(0xb7)],..._0x4f5ceb[_0x22c162][_0x47f671(0x1e6)]}},_0x88dcf3=this[_0x47f671(0x19a)][_0x47f671(0x127)](_0x481c3b,_0x4eb7dd,!0x1);if(_0x399df1(_0x88dcf3))throw _0x88dcf3['error'];_0x481c3b=_0x88dcf3[_0x47f671(0xca)];}return{..._0x123dff[_0x47f671(0x9b)](_0x26bc94),'mutations':[_0x481c3b]};}[_0x6f952d(0xa5)](_0x26ddf4){const _0x20890e=_0x6f952d,{unitID:_0x1f0d93}=_0x26ddf4,{history:_0x51e673,collaboration:_0x130aec}=this[_0x20890e(0x144)][_0x20890e(0x164)](_0x1f0d93);if(_0x51e673[_0x20890e(0x158)]===0x0&&_0x130aec[_0x20890e(0x158)]===0x0)return;const _0x4a4889=[],_0x1a197a=[];let _0x10e500=_0x123dff['deepClone'](_0x26ddf4[_0x20890e(0x121)][0x0]),_0xc05d0c=_0x123dff[_0x20890e(0x9b)](_0x26ddf4[_0x20890e(0x121)][0x0]);for(let _0x28a832=_0x51e673[_0x20890e(0x158)]-0x1;_0x28a832>=0x0;_0x28a832--){const _0x287fa7={'id':_0x20890e(0x17d),'params':{'unitId':_0x51e673[_0x28a832]['unitId'],..._0x51e673[_0x28a832][_0x20890e(0x257)]}},_0x5bd165={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51e673[_0x28a832][_0x20890e(0xb7)],..._0x51e673[_0x28a832]['redoState']}},_0x238b04=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0x10e500,_0x287fa7,!0x1),_0x5adbd4=this[_0x20890e(0x19a)]['transformMutation'](_0xc05d0c,_0x5bd165,!0x1);if(_0x399df1(_0x238b04))throw _0x238b04['error'];if(_0x399df1(_0x5adbd4))throw _0x5adbd4['error'];_0x4a4889[_0x20890e(0x250)]({..._0x51e673[_0x28a832],'undoState':_0x238b04['m2Prime'][_0x20890e(0x80)],'redoState':_0x5adbd4[_0x20890e(0x185)][_0x20890e(0x80)]}),_0x10e500=_0x238b04['m1Prime'],_0xc05d0c=_0x5adbd4['m1Prime'];}_0x10e500=_0x123dff['deepClone'](_0x26ddf4['mutations'][0x0]),_0xc05d0c=_0x123dff['deepClone'](_0x26ddf4[_0x20890e(0x121)][0x0]);for(let _0x23c7d7=_0x130aec[_0x20890e(0x158)]-0x1;_0x23c7d7>=0x0;_0x23c7d7--){const _0x5171a2={'id':_0x20890e(0x17d),'params':{'unitId':_0x130aec[_0x23c7d7][_0x20890e(0xb7)],..._0x130aec[_0x23c7d7][_0x20890e(0x257)]}},_0x2dad89={'id':_0x20890e(0x17d),'params':{'unitId':_0x130aec[_0x23c7d7][_0x20890e(0xb7)],..._0x130aec[_0x23c7d7][_0x20890e(0x1e6)]}},_0x34fb96=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0x10e500,_0x5171a2,!0x1),_0x475952=this[_0x20890e(0x19a)][_0x20890e(0x127)](_0xc05d0c,_0x2dad89,!0x1);if(_0x399df1(_0x34fb96))throw _0x34fb96[_0x20890e(0x1e3)];if(_0x399df1(_0x475952))throw _0x475952['error'];_0x1a197a[_0x20890e(0x250)]({..._0x130aec[_0x23c7d7],'undoState':_0x34fb96['m2Prime']['params'],'redoState':_0x475952['m2Prime']['params']}),_0x10e500=_0x34fb96[_0x20890e(0xca)],_0xc05d0c=_0x475952[_0x20890e(0xca)];}this['_docStateChangeManagerService'][_0x20890e(0x241)](_0x1f0d93,{'history':_0x4a4889,'collaboration':_0x1a197a});}};re=nn([Ce(0x0,_0x2ad71f(_0x14214c)),Ce(0x1,_0x23cfb3),Ce(0x2,_0x2ad71f(_0x528106))],re);var rn=Object[_0x6f952d(0x283)],on=(_0xc36196,_0x2be19d,_0x4a9647,_0x69ea4c)=>{for(var _0x16973b=_0x69ea4c>0x1?void 0x0:_0x69ea4c?rn(_0x2be19d,_0x4a9647):_0x2be19d,_0x1b53d4=_0xc36196['length']-0x1,_0x88f4d2;_0x1b53d4>=0x0;_0x1b53d4--)(_0x88f4d2=_0xc36196[_0x1b53d4])&&(_0x16973b=_0x88f4d2(_0x16973b)||_0x16973b);return _0x16973b;},tt=(_0x5f075a,_0x243a04)=>(_0x4a271d,_0x115f18)=>_0x243a04(_0x4a271d,_0x115f18,_0x5f075a);let oe=class{constructor(_0x2d5260,_0x7b1e){const _0x37fb7b=_0x6f952d;this[_0x37fb7b(0x277)]=_0x2d5260,this[_0x37fb7b(0x19a)]=_0x7b1e;}[_0x6f952d(0x14c)](_0x4d8b15){const _0x338c50=_0x6f952d;var _0x5907b9;const _0x298439=this[_0x338c50(0x277)][_0x338c50(0x261)](_0x8e84b4),_0x54ea63=(_0x5907b9=_0x298439[_0x338c50(0x1f0)]())!=null?_0x5907b9:[];if(_0x54ea63[_0x338c50(0x158)]===0x0)return;const _0x3144ce=_0x4d8b15[_0x338c50(0x201)],_0x530ca4=[{'id':_0x338c50(0x17d),'params':{'unitId':_0x3144ce,'actions':null,'textRanges':_0x54ea63}}],_0x4bd10b=this['_transformService'][_0x338c50(0x125)](_0x4d8b15,_0x530ca4);if(!_0x1939ee(_0x4bd10b))throw _0x4bd10b[_0x338c50(0x1e3)];const _0x1380d1=_0x4bd10b['m2Prime'][0x0]['params'][_0x338c50(0x242)];Array[_0x338c50(0x9e)](_0x1380d1)&&_0x1380d1['length']&&_0x298439['replaceDocRanges'](_0x1380d1,{'unitId':_0x3144ce,'subUnitId':_0x3144ce},!0x1);}};oe=on([tt(0x0,_0x2ad71f(_0x14214c)),tt(0x1,_0x23cfb3)],oe);var an=Object[_0x6f952d(0x283)],cn=(_0xbe5b1d,_0x7445c8,_0x34dc3d,_0x1f427a)=>{const _0x574eb7=_0x6f952d;for(var _0x5a35d0=_0x1f427a>0x1?void 0x0:_0x1f427a?an(_0x7445c8,_0x34dc3d):_0x7445c8,_0x2cc3a1=_0xbe5b1d[_0x574eb7(0x158)]-0x1,_0x3b3298;_0x2cc3a1>=0x0;_0x2cc3a1--)(_0x3b3298=_0xbe5b1d[_0x2cc3a1])&&(_0x5a35d0=_0x3b3298(_0x5a35d0)||_0x5a35d0);return _0x5a35d0;},U=(_0x562715,_0x280774)=>(_0xa2a7a0,_0x5dd9bf)=>_0x280774(_0xa2a7a0,_0x5dd9bf,_0x562715);let ae=class extends _0x314d20{constructor(_0x1ba416,_0x4b176d,_0x63b5b0,_0x43c880,_0x28eb14,_0x1564da,_0x6de966,_0xd5701a){const _0x4c0595=_0x6f952d;super(),_(this,_0x4c0595(0x138),new _0x25ddca(_0x2cb0a0[_0x4c0595(0x1ef)])),(this[_0x4c0595(0x144)]=_0x1ba416,this['_collaborationController']=_0x4b176d,this[_0x4c0595(0x21f)]=_0x63b5b0,this['_docTransformStateCacheService']=_0x43c880,this[_0x4c0595(0x102)]=_0x28eb14,this[_0x4c0595(0x1c5)]=_0x1564da,this[_0x4c0595(0x8b)]=_0x6de966,this[_0x4c0595(0xe8)]=_0xd5701a,this['_initEntityListener']());}[_0x6f952d(0x191)](){const _0x3ecbec=_0x6f952d;this['disposeWithMe'](this['_collaborationController'][_0x3ecbec(0x181)][_0x3ecbec(0x1ba)](_0x52fdaf=>{const _0x3dd61a=_0x3ecbec,_0x21c115=this[_0x3dd61a(0x144)][_0x3dd61a(0x1c8)][_0x3dd61a(0x1ba)](_0x11ab38=>{const _0x1779e2=_0x3dd61a;if(_0x11ab38==null)return;const {unitId:_0x34fb2e,redoState:_0x5d9c8f,commandId:_0x18d765}=_0x11ab38;if(_0x34fb2e!==_0x52fdaf['unitID'])return;const _0x67225f={'id':_0x18d765,'type':_0x3a95a5['MUTATION'],'params':{'unitId':_0x34fb2e,'actions':_0x5d9c8f[_0x1779e2(0xa4)],'textRanges':null}};_0x52fdaf['onLocalMutation'](_0x67225f);});if(_0x52fdaf[_0x3dd61a(0xc7)](_0x21c115),_0x52fdaf instanceof _0xb3aa28){const _0x586c66={'onTransformIME':_0x47fbf4=>this[_0x3dd61a(0x21f)][_0x3dd61a(0x100)](_0x47fbf4),'onTransformState':_0x4db256=>this[_0x3dd61a(0xfe)][_0x3dd61a(0xae)](_0x4db256),'onTransformSelections':_0x2de9b0=>this['_docTransformSelectionsService']['transformSelections'](_0x2de9b0),'onSyncEditingCollabCursor':_0x408320=>this[_0x3dd61a(0x1c5)][_0x3dd61a(0x26a)](_0x408320),'onTransformRemoteChangesetByIMECache':_0x34af60=>this[_0x3dd61a(0x21f)]['transformRemoteChangeset'](_0x34af60),'onTransformRemoteChangesetByStateCache':_0x2c6675=>this[_0x3dd61a(0xfe)][_0x3dd61a(0x166)](_0x2c6675)};_0x52fdaf[_0x3dd61a(0xba)](_0x586c66);}}));}};ae=cn([U(0x0,_0x2ad71f(_0x528106)),U(0x1,_0x2ad71f(_0x2b30d1)),U(0x2,_0x2ad71f(ne)),U(0x3,_0x2ad71f(re)),U(0x4,_0x2ad71f(oe)),U(0x5,_0x2ad71f(He)),U(0x6,_0x16c293),U(0x7,_0x2ad71f(_0x1d6e14))],ae);var ln=Object[_0x6f952d(0x283)],_n=(_0x29a070,_0x37599f,_0x29a4f9,_0x40712a)=>{const _0xaf8a19=_0x6f952d;for(var _0x1eb593=_0x40712a>0x1?void 0x0:_0x40712a?ln(_0x37599f,_0x29a4f9):_0x37599f,_0x1d207d=_0x29a070[_0xaf8a19(0x158)]-0x1,_0x33d79e;_0x1d207d>=0x0;_0x1d207d--)(_0x33d79e=_0x29a070[_0x1d207d])&&(_0x1eb593=_0x33d79e(_0x1eb593)||_0x1eb593);return _0x1eb593;},Ee=(_0x5b92b2,_0x3af013)=>(_0x19f4f6,_0x21a6b6)=>_0x3af013(_0x19f4f6,_0x21a6b6,_0x5b92b2);let we=class extends _0x314d20{constructor(_0x100200,_0x35757e,_0x2f1ec1){const _0x3a4455=_0x6f952d;super(),_(this,'_cachedData',new Map()),_(this,_0x3a4455(0x12b),new Map()),_(this,_0x3a4455(0x1eb),!0x1),(this[_0x3a4455(0x1e8)]=_0x100200,this[_0x3a4455(0x227)]=_0x35757e,this['_revisionService']=_0x2f1ec1);}['disableLocalCache'](){const _0xa0bc70=_0x6f952d;this[_0xa0bc70(0x1eb)]=!0x0;}['enableLocalCache'](){const _0x5abdee=_0x6f952d;this[_0x5abdee(0x1eb)]=!0x1;}get[_0x6f952d(0x105)](){return this['_saveTaskMap'];}[_0x6f952d(0x85)](){const _0x312e8a=_0x6f952d;this['exhaustSavingTask']()[_0x312e8a(0xfd)](()=>super[_0x312e8a(0x85)]());}async[_0x6f952d(0x193)](_0x342c81){const _0x4b665d=_0x6f952d;return this[_0x4b665d(0x1eb)]?null:this[_0x4b665d(0x227)]['getItem'](_0x32759a(_0x342c81));}async[_0x6f952d(0xb4)](_0x4c67ce,_0xe2e67){const _0x29fc7b=_0x6f952d;return!!this[_0x29fc7b(0x227)]['setItem'](_0x4c67ce,_0xe2e67);}['updateOfflineData'](_0x53136c,_0x31d67a,_0x5a4855,_0x4cfba4){const _0x35abea=_0x6f952d,_0x4e7e04=this[_0x35abea(0x14b)]['getCurrentRevOfUnit'](_0x53136c);this[_0x35abea(0x11c)][_0x35abea(0x129)](_0x53136c,{'unitID':_0x53136c,'type':_0x31d67a,'awaitingChangeset':_0x5a4855,'mutations':_0x4cfba4,'rev':_0x4e7e04}),this['_saveTaskMap'][_0x35abea(0x1a8)](_0x53136c)||this[_0x35abea(0x139)](_0x53136c);}['_scheduleSaving'](_0x458cbc){const _0x5568b3=_0x6f952d,_0x304479=this[_0x5568b3(0x1f7)]();_0x304479===0x0?this[_0x5568b3(0xa8)](_0x458cbc):this[_0x5568b3(0x12b)][_0x5568b3(0x129)](_0x458cbc,setTimeout(()=>this[_0x5568b3(0xa8)](_0x458cbc),_0x304479));}['_getSaveTimeout'](){const _0x4bb597=_0x6f952d;var _0x3f9a1b;return(_0x3f9a1b=this[_0x4bb597(0x1e8)][_0x4bb597(0x177)](_0x14b207))!=null?_0x3f9a1b:_0x531045;}[_0x6f952d(0xa8)](_0x4af48e){const _0x523d1b=_0x6f952d,_0x3896a4=this[_0x523d1b(0x12b)][_0x523d1b(0x261)](_0x4af48e);return _0x3896a4!==void 0x0&&window[_0x523d1b(0xbd)](_0x3896a4),this['_localStorageService'][_0x523d1b(0xd1)](_0x32759a(_0x4af48e),this[_0x523d1b(0x11c)][_0x523d1b(0x261)](_0x4af48e))[_0x523d1b(0xfd)](()=>this[_0x523d1b(0x12b)][_0x523d1b(0x230)](_0x4af48e));}async['exhaustSavingTask'](){const _0x280e32=_0x6f952d,_0x3db4f3=[];this[_0x280e32(0x12b)]['forEach']((_0x12319f,_0x5681ac)=>{const _0x494f94=_0x280e32;window[_0x494f94(0xbd)](_0x12319f),_0x3db4f3['push'](this[_0x494f94(0xa8)](_0x5681ac)['then'](()=>{this['_saveTaskMap']['delete'](_0x5681ac);}));}),await Promise[_0x280e32(0xf6)](_0x3db4f3);}};we=_n([Ee(0x0,_0x27db46),Ee(0x1,_0x39ce6c),Ee(0x2,_0x2ad71f(_0x389b96))],we);class hn extends _0x5e6d7d{constructor(){const _0x467298=_0x6f952d;super(),_(this,'urlChange$'),this['urlChange$']=_0x3b2803(window,_0x467298(0x249))[_0x467298(0x173)](_0x147fa3(this[_0x467298(0x236)]),_0x315e11(0x1),_0x4d926d(void 0x0));}[_0x6f952d(0x1d2)](_0x1f595a,_0x3dd5a0,_0x452eb1=!0x1){const _0x31d5dc=_0x6f952d,_0x14c080=new URL(window[_0x31d5dc(0x1bd)][_0x31d5dc(0x13a)]);_0x14c080[_0x31d5dc(0x255)][_0x31d5dc(0x129)](_0x1f595a,_0x3dd5a0),_0x452eb1?window['history'][_0x31d5dc(0x1c4)]('','',_0x14c080[_0x31d5dc(0x1d5)]()):window[_0x31d5dc(0xf0)][_0x31d5dc(0x23c)]('','',_0x14c080[_0x31d5dc(0x1d5)]());}['removeParam'](_0x5c088e,_0x2233e7=!0x1){const _0x577b2e=_0x6f952d,_0x579d6a=new URL(window[_0x577b2e(0x1bd)]['href']);_0x579d6a['searchParams'][_0x577b2e(0x230)](_0x5c088e),_0x2233e7?window[_0x577b2e(0xf0)][_0x577b2e(0x1c4)]('','',_0x579d6a[_0x577b2e(0x1d5)]()):window[_0x577b2e(0xf0)][_0x577b2e(0x23c)]('','',_0x579d6a[_0x577b2e(0x1d5)]());}[_0x6f952d(0x157)](_0x14446c){const _0x35dc7b=_0x6f952d;var _0x5040b0;return(_0x5040b0=new URL(window[_0x35dc7b(0x1bd)]['href'])[_0x35dc7b(0x255)][_0x35dc7b(0x261)](_0x14446c))!=null?_0x5040b0:void 0x0;}}var un=Object[_0x6f952d(0x1b4)],dn=Object[_0x6f952d(0x283)],fn=(_0x586f87,_0x38541f,_0x31cf86)=>_0x38541f in _0x586f87?un(_0x586f87,_0x38541f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31cf86}):_0x586f87[_0x38541f]=_0x31cf86,Sn=(_0x4a8272,_0x29ff75,_0x4b03eb,_0x232426)=>{const _0x5a2ee0=_0x6f952d;for(var _0x3e26e7=_0x232426>0x1?void 0x0:_0x232426?dn(_0x29ff75,_0x4b03eb):_0x29ff75,_0x46bae7=_0x4a8272[_0x5a2ee0(0x158)]-0x1,_0x215da7;_0x46bae7>=0x0;_0x46bae7--)(_0x215da7=_0x4a8272[_0x46bae7])&&(_0x3e26e7=_0x215da7(_0x3e26e7)||_0x3e26e7);return _0x3e26e7;},Oe=(_0x31f59b,_0x4c9db3)=>(_0x1f7913,_0x4ed2ae)=>_0x4c9db3(_0x1f7913,_0x4ed2ae,_0x31f59b),mn=(_0x1e8d25,_0x2fd082,_0x516fce)=>fn(_0x1e8d25,_0x2fd082+'',_0x516fce);const In=_0x6f952d(0x25a);let Ae=class extends _0x402252{constructor(_0x5a2826=et,_0x12de73,_0x1222ca,_0x1af5a0){const _0x167c15=_0x6f952d;super(),this[_0x167c15(0xe6)]=_0x5a2826,this[_0x167c15(0x1d9)]=_0x12de73,this[_0x167c15(0x277)]=_0x1222ca,this[_0x167c15(0x1e8)]=_0x1af5a0;const {..._0x50a910}=_0x431bb4({},et,this[_0x167c15(0xe6)]);this[_0x167c15(0x1e8)][_0x167c15(0x18e)](Zi,_0x50a910);}['onStarting'](){const _0x2d6d62=_0x6f952d;this[_0x2d6d62(0x23f)](),this[_0x2d6d62(0x155)]();}[_0x6f952d(0x167)](){const _0x3eff7e=_0x6f952d;this[_0x3eff7e(0x1cf)]();}[_0x6f952d(0x23f)](){const _0x144e95=_0x6f952d;var _0x5c526a;const _0x10e603=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x31881a,{'useClass':_0x104ba1}],[_0x4da2db,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x36eb4a(this[_0x144e95(0x277)],_0x2aa0c7(_0x10e603,(_0x5c526a=this['_config'])==null?void 0x0:_0x5c526a[_0x144e95(0x21c)]));}['_registerRenderDependencies'](){const _0xe585c2=_0x6f952d;this[_0xe585c2(0xc7)](this['_renderManagerService'][_0xe585c2(0x115)](_0x1bc251[_0xe585c2(0x263)],[Le])),this['disposeWithMe'](this[_0xe585c2(0x1d9)][_0xe585c2(0x115)](_0x1bc251['UNIVER_SHEET'],[Pe]));}[_0x6f952d(0x155)](){const _0x44af94=_0x6f952d;_0x33ece9(this[_0x44af94(0x277)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x6f952d(0x246),In),Ae=Sn([_0xa20676(_0x1fa62f),Oe(0x1,_0x397b72),Oe(0x2,_0x2ad71f(_0x14214c)),Oe(0x3,_0x27db46)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x42527f,_0x58e21a,_0x2b35ba,_0x2e1ffc)=>{const _0x1c0a85=_0x6f952d;for(var _0x356094=_0x2e1ffc>0x1?void 0x0:_0x2e1ffc?gn(_0x58e21a,_0x2b35ba):_0x58e21a,_0x527eac=_0x42527f[_0x1c0a85(0x158)]-0x1,_0x207f75;_0x527eac>=0x0;_0x527eac--)(_0x207f75=_0x42527f[_0x527eac])&&(_0x356094=_0x207f75(_0x356094)||_0x356094);return _0x356094;},K=(_0x29afe6,_0x4516c6)=>(_0x86a5df,_0x41b33f)=>_0x4516c6(_0x86a5df,_0x41b33f,_0x29afe6);let st=class extends _0x57641c{constructor(_0x2966dc,_0x1a5ccc,_0x3163c9,_0x3bca5e,_0x3eb4e4){super(_0x2966dc,_0x1a5ccc,_0x3163c9,_0x3bca5e,_0x3eb4e4);}async[_0x6f952d(0x151)](_0x3fc215){const _0x15531d=_0x6f952d,_0x264921=await this[_0x15531d(0x284)](),_0x377e03=this[_0x15531d(0x13f)](_0x3fc215,_0x264921);return this[_0x15531d(0x272)](_0x377e03);}[_0x6f952d(0x13f)](_0x1043bb,_0x2052d3){const _0x255bfc=_0x6f952d,_0x497de4=typeof window>'u'?new URL(_0x1043bb):new URL(_0x1043bb,window[_0x255bfc(0x1bd)][_0x255bfc(0x10d)]);_0x497de4[_0x255bfc(0x255)][_0x255bfc(0x129)](_0x255bfc(0x147),_0x2052d3);const _0x3bc6ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x255bfc(0x1bd)]['search']);return _0x3bc6ba['get'](_0x255bfc(0x107))&&_0x497de4['searchParams']['set']('runId',_0x3bc6ba[_0x255bfc(0x261)]('runId')),_0x497de4['toString']();}async[_0x6f952d(0x284)](){const _0x1e40ec=_0x6f952d;var _0x522eb9,_0x2fbd99,_0x49f7f2;const _0x4d8c36=this[_0x1e40ec(0x1e8)][_0x1e40ec(0x177)](_0x207f58),_0x1b3975=(_0x522eb9=_0x4d8c36==null?void 0x0:_0x4d8c36['wsSessionTicketUrl'])!=null?_0x522eb9:_0x102dda;return(_0x49f7f2=(_0x2fbd99=(await this[_0x1e40ec(0x235)]['get'](_0x1b3975,{'headers':{'Content-Type':_0x1e40ec(0x203)}}))[_0x1e40ec(0x9f)])==null?void 0x0:_0x2fbd99[_0x1e40ec(0x1db)])!=null?_0x49f7f2:'';}};st=vn([K(0x0,_0x2ad71f(_0x14214c)),K(0x1,_0x2ad71f(_0x121683)),K(0x2,_0x27db46),K(0x3,_0x4162d0),K(0x4,_0x549feb)],st);const it=0x7530,nt=_0x6f952d(0x286);class Fn extends _0x314d20{constructor(){const _0x38a4a8=_0x6f952d;super(),_(this,_0x38a4a8(0x165),_0x271946()),_(this,'_selfUnitIDs',new Set()),_(this,_0x38a4a8(0xe5),new Map()),_(this,_0x38a4a8(0xcb),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x38a4a8(0x143),new Map()),this[_0x38a4a8(0x16a)]();}[_0x6f952d(0x85)](){const _0x11a476=_0x6f952d;super[_0x11a476(0x85)](),this[_0x11a476(0xc5)][_0x11a476(0x1f3)]((_0x50b26c,_0x18181c)=>this[_0x11a476(0x190)](_0x18181c)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x11a476(0xcb)]);}['getUnitStatus$'](_0x301ba6){const _0x4f2222=_0x6f952d;return this['_ensureSubject'](_0x301ba6)[_0x4f2222(0x173)](_0x38037e());}[_0x6f952d(0x12f)](_0x41cd16){const _0x1200a0=_0x6f952d;this[_0x1200a0(0x188)][_0x1200a0(0x142)]===0x0&&this[_0x1200a0(0x271)](),this['_selfUnitIDs'][_0x1200a0(0x153)](_0x41cd16),this['_send']({'type':0x0,'memberID':this[_0x1200a0(0x165)],'unitIDs':[_0x41cd16],'isForwarded':!0x1});}[_0x6f952d(0x238)](_0x5c6ff5){const _0x537307=_0x6f952d;this[_0x537307(0x188)][_0x537307(0x230)](_0x5c6ff5),this['_selfUnitIDs']['size']===0x0&&this[_0x537307(0xcb)]&&window[_0x537307(0x27b)](this[_0x537307(0xcb)]);}[_0x6f952d(0x16a)](){const _0x4c7a3d=_0x6f952d;this[_0x4c7a3d(0xc7)](_0x545ea3(_0x3b2803(window,_0x4c7a3d(0x280))[_0x4c7a3d(0x1ba)](_0x464499=>{const _0x53c6b5=_0x4c7a3d;if(_0x464499[_0x53c6b5(0x189)]!==nt||!_0x464499[_0x53c6b5(0x237)])return;const _0xd1382b=JSON[_0x53c6b5(0x252)](_0x464499[_0x53c6b5(0x237)]);this[_0x53c6b5(0x128)](_0xd1382b);}))),window[_0x4c7a3d(0xbc)](_0x4c7a3d(0x1e7),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4c7a3d(0x196)](this[_0x4c7a3d(0x188)])}));}[_0x6f952d(0x128)](_0xf6c683){const _0x13c893=_0x6f952d;switch(_0xf6c683[_0x13c893(0x258)]){case 0x0:this[_0x13c893(0xbe)](_0xf6c683);break;case 0x1:this[_0x13c893(0x26c)](_0xf6c683);break;case 0x2:this[_0x13c893(0x154)](_0xf6c683);break;}}[_0x6f952d(0xbe)](_0x261ade){const _0xc488a3=_0x6f952d,{unitIDs:_0x3a9d11,memberID:_0x414cfd,isForwarded:_0x44b9a9}=_0x261ade;_0x3a9d11['forEach'](_0x462bf1=>{const _0x3edbbe=_0x1920;if(!_0x44b9a9&&this[_0x3edbbe(0xe5)]['has'](_0x462bf1)&&this[_0x3edbbe(0x1df)](_0x462bf1)[_0x3edbbe(0xa9)](_0x19f169['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x3edbbe(0x1a8)](_0x462bf1)||!this[_0x3edbbe(0xe5)][_0x3edbbe(0x261)](_0x462bf1)[_0x3edbbe(0x1a8)](_0x414cfd)){const _0x2a1194=this['_unitOnClients'][_0x3edbbe(0x261)](_0x462bf1)||new Set();_0x2a1194[_0x3edbbe(0x153)](_0x414cfd),this[_0x3edbbe(0xe5)][_0x3edbbe(0x129)](_0x462bf1,_0x2a1194),this['_scheduleClearOtherTimer'](_0x414cfd);}}),_0x44b9a9||this[_0xc488a3(0x106)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xc488a3(0x188)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5cd7f7){const _0x36b627=_0x6f952d;this[_0x36b627(0x190)](_0x5cd7f7);const _0x3e6e12=window['setTimeout'](()=>{const _0x5a6c63=_0x36b627;this[_0x5a6c63(0xe5)][_0x5a6c63(0x1f3)](_0x392d27=>{_0x392d27['delete'](_0x5cd7f7);});},it*0x2);this[_0x36b627(0xc5)][_0x36b627(0x129)](_0x5cd7f7,_0x3e6e12);}[_0x6f952d(0x190)](_0x19baa2){const _0x3eeeba=_0x6f952d;if(this[_0x3eeeba(0xc5)][_0x3eeeba(0x1a8)](_0x19baa2)){const _0xb6116e=this['_clearOtherTimers']['get'](_0x19baa2);_0xb6116e&&window[_0x3eeeba(0xbd)](_0xb6116e),this[_0x3eeeba(0xc5)][_0x3eeeba(0x129)](_0x19baa2,null);}}[_0x6f952d(0x26c)](_0x4b09e9){const _0xa1f8d5=_0x6f952d,{memberID:_0x522269,unitIDs:_0xeabd5c}=_0x4b09e9;_0xeabd5c[_0xa1f8d5(0x1f3)](_0x35adfe=>{const _0x1fe8b8=_0xa1f8d5;var _0x4a76cd;const _0x5122f2=this[_0x1fe8b8(0xe5)][_0x1fe8b8(0x261)](_0x35adfe);_0x5122f2&&(_0x5122f2['delete'](_0x522269),(_0x4a76cd=this['_ensureSubject'](_0x35adfe))==null||_0x4a76cd[_0x1fe8b8(0xa9)](_0x5122f2[_0x1fe8b8(0x142)]===0x0?_0x19f169['NO_OTHER_CLIENTS_EDITING']:_0x19f169['OTHER_CLIENTS_EDITING']));}),this[_0xa1f8d5(0x190)](_0x522269);}[_0x6f952d(0x154)](_0x2e910b){const _0x142634=_0x6f952d;this[_0x142634(0xaf)](_0x2e910b[_0x142634(0x192)]);}[_0x6f952d(0x106)](_0x2f4a97){localStorage['setItem'](nt,JSON['stringify'](_0x2f4a97));}[_0x6f952d(0x271)](){const _0x484934=_0x6f952d;this[_0x484934(0xcb)]=window[_0x484934(0x1ab)](()=>{const _0x350f97=_0x484934;this[_0x350f97(0x106)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x469734){const _0x3722bd=_0x6f952d;return this[_0x3722bd(0x143)][_0x3722bd(0x1a8)](_0x469734)||this['_unitStatus'][_0x3722bd(0x129)](_0x469734,new _0x25ddca(_0x19f169[_0x3722bd(0xad)])),this[_0x3722bd(0x143)][_0x3722bd(0x261)](_0x469734);}}var Mt=(_0xa1837a=>(_0xa1837a[_0xa1837a[_0x6f952d(0xd7)]=0x0]=_0x6f952d(0xd7),_0xa1837a[_0xa1837a['OK']=0x1]='OK',_0xa1837a[_0xa1837a[_0x6f952d(0x259)]=0x2]=_0x6f952d(0x259),_0xa1837a[_0xa1837a[_0x6f952d(0x8c)]=0x3]=_0x6f952d(0x8c),_0xa1837a[_0xa1837a[_0x6f952d(0x141)]=0x4]=_0x6f952d(0x141),_0xa1837a[_0xa1837a[_0x6f952d(0x103)]=0x5]=_0x6f952d(0x103),_0xa1837a[_0xa1837a[_0x6f952d(0x1a0)]=0x6]='ALREADY_EXISTS',_0xa1837a[_0xa1837a[_0x6f952d(0x1f6)]=0x7]=_0x6f952d(0x1f6),_0xa1837a[_0xa1837a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xa1837a[_0xa1837a[_0x6f952d(0x275)]=0x9]=_0x6f952d(0x275),_0xa1837a[_0xa1837a[_0x6f952d(0xc6)]=0xa]=_0x6f952d(0xc6),_0xa1837a[_0xa1837a[_0x6f952d(0x1fc)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xa1837a[_0xa1837a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x6f952d(0x14e),_0xa1837a[_0xa1837a[_0x6f952d(0x9d)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xa1837a[_0xa1837a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x6f952d(0x209),_0xa1837a[_0xa1837a[_0x6f952d(0xf4)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xa1837a[_0xa1837a[_0x6f952d(0xb2)]=0x1771]=_0x6f952d(0xb2),_0xa1837a[_0xa1837a[_0x6f952d(0x161)]=0x1772]=_0x6f952d(0x161),_0xa1837a[_0xa1837a[_0x6f952d(0x260)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xa1837a[_0xa1837a[_0x6f952d(0xce)]=0x1b59]=_0x6f952d(0xce),_0xa1837a[_0xa1837a[_0x6f952d(0x1a1)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xa1837a[_0xa1837a[_0x6f952d(0x216)]=0x1b5b]=_0x6f952d(0x216),_0xa1837a[_0xa1837a[_0x6f952d(0x244)]=0x1b5c]=_0x6f952d(0x244),_0xa1837a[_0xa1837a[_0x6f952d(0xfc)]=0x1b5d]=_0x6f952d(0xfc),_0xa1837a[_0xa1837a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xa1837a[_0xa1837a[_0x6f952d(0xe1)]=0x2329]=_0x6f952d(0xe1),_0xa1837a[_0xa1837a[_0x6f952d(0xa3)]=0x232a]=_0x6f952d(0xa3),_0xa1837a[_0xa1837a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x6f952d(0x1e0),_0xa1837a[_0xa1837a[_0x6f952d(0x204)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa1837a[_0xa1837a[_0x6f952d(0x22c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xa1837a[_0xa1837a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x6f952d(0x1d1),_0xa1837a[_0xa1837a[_0x6f952d(0x22a)]=0x2712]=_0x6f952d(0x22a),_0xa1837a[_0xa1837a[_0x6f952d(0x1af)]=0x2713]=_0x6f952d(0x1af),_0xa1837a[_0xa1837a[_0x6f952d(0xea)]=0x2714]=_0x6f952d(0xea),_0xa1837a[_0xa1837a[_0x6f952d(0x21a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xa1837a[_0xa1837a[_0x6f952d(0xa2)]=0x271b]=_0x6f952d(0xa2),_0xa1837a[_0xa1837a[_0x6f952d(0x19f)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xa1837a[_0xa1837a[_0x6f952d(0x1fb)]=0x271d]=_0x6f952d(0x1fb),_0xa1837a[_0xa1837a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x6f952d(0x232),_0xa1837a[_0xa1837a[_0x6f952d(0xa6)]=0x271f]=_0x6f952d(0xa6),_0xa1837a[_0xa1837a[_0x6f952d(0x17f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xa1837a[_0xa1837a[_0x6f952d(0x1c6)]=0x2af9]=_0x6f952d(0x1c6),_0xa1837a[_0xa1837a[_0x6f952d(0x1a6)]=0x2ee1]=_0x6f952d(0x1a6),_0xa1837a[_0xa1837a['INVALID_INVITE_CODE']=0x2ee2]=_0x6f952d(0x8f),_0xa1837a[_0xa1837a[_0x6f952d(0x10f)]=0x2ee3]=_0x6f952d(0x10f),_0xa1837a[_0xa1837a[_0x6f952d(0x23e)]=0x2ee4]=_0x6f952d(0x23e),_0xa1837a[_0xa1837a[_0x6f952d(0x1e1)]=0x2ee5]=_0x6f952d(0x1e1),_0xa1837a[_0xa1837a[_0x6f952d(0x126)]=0x32c9]=_0x6f952d(0x126),_0xa1837a[_0xa1837a['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xa1837a[_0xa1837a['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xa1837a[_0xa1837a[_0x6f952d(0x20e)]=-0x1]=_0x6f952d(0x20e),_0xa1837a))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x3dd524,_0x36f8df,_0xda58c6,_0x59f108)=>{const _0x4e0f83=_0x6f952d;for(var _0x542473=_0x59f108>0x1?void 0x0:_0x59f108?pn(_0x36f8df,_0xda58c6):_0x36f8df,_0x5c74a1=_0x3dd524[_0x4e0f83(0x158)]-0x1,_0x303846;_0x5c74a1>=0x0;_0x5c74a1--)(_0x303846=_0x3dd524[_0x5c74a1])&&(_0x542473=_0x303846(_0x542473)||_0x542473);return _0x542473;},be=(_0x24d06f,_0x4f3e0f)=>(_0x3349e7,_0x33ea88)=>_0x4f3e0f(_0x3349e7,_0x33ea88,_0x24d06f);let rt=class extends _0x314d20{constructor(_0x1be0b5,_0x3b82b4,_0x2d1eb8){const _0x28a349=_0x6f952d;super(),this[_0x28a349(0x182)]=_0x1be0b5,this[_0x28a349(0x235)]=_0x3b82b4,this['_configService']=_0x2d1eb8;}async[_0x6f952d(0xdd)](_0x2d6ed7,_0x382d8a,_0x52eafb,..._0x1272a0){const _0x28b65a=_0x6f952d;var _0x33889e,_0x5bfb3b,_0x57ac03,_0x93310c;const _0x3e95e5=this[_0x28b65a(0x182)][_0x28b65a(0x1c9)]();if(!_0x3e95e5)throw new Error(_0x28b65a(0xfa));const _0x43d15b=((_0x33889e=this[_0x28b65a(0x1e8)][_0x28b65a(0x177)](_0x3a0e70))!=null?_0x33889e:_0x3b2874)+'/'+_0x2d6ed7+_0x28b65a(0x92)+_0x382d8a,_0x234417=new URL(window[_0x28b65a(0x1bd)]['href']),_0x4b1a42={'scriptId':_0x2d6ed7,'runId':(_0x5bfb3b=_0x234417['searchParams']['get'](_0x28b65a(0x107)))!=null?_0x5bfb3b:'','function':_0x382d8a,'unitId':_0x3e95e5[_0x28b65a(0x212)](),'argsOfFunction':JSON[_0x28b65a(0x24b)](_0x1272a0),'invokeId':(_0x57ac03=_0x52eafb['invokeId'])!=null?_0x57ac03:'','executionId':(_0x93310c=_0x52eafb[_0x28b65a(0x24c)])!=null?_0x93310c:''};try{const _0x4269c7=await this[_0x28b65a(0x235)]['post'](_0x43d15b,{'body':_0x4b1a42});return _0x4269c7['body'][_0x28b65a(0x1e3)]&&_0x4269c7[_0x28b65a(0x9f)]['error']['code']!==Mt['OK']?_0x28b65a(0x1bf):_0x4269c7[_0x28b65a(0x9f)][_0x28b65a(0xd0)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0xf38a52),be(0x1,_0x2ad71f(_0x121683)),be(0x2,_0x27db46)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x16e2(){const _0x40439f=['3618115NWGjdr','8228944kyTlXH','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.','38602hkRPiJ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Local\x20file','6158446iBDzgZ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','4dajYdD','Click\x20to\x20Reconnect','Authentication\x20Error','Syncing\x20server\x20data...','Synced','3oWFdPt','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','9yWBflF','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','6585792TYLMlX','8741870JcWWiA','386631LmTNJr','Collaboration\x20Conflict','Syncing...'];_0x16e2=function(){return _0x40439f;};return _0x16e2();}const _0xb5669=_0x1591;(function(_0x15862e,_0x35488b){const _0x4b021e=_0x1591,_0x5d0934=_0x15862e();while(!![]){try{const _0x16fe14=-parseInt(_0x4b021e(0xca))/0x1+-parseInt(_0x4b021e(0xb7))/0x2*(parseInt(_0x4b021e(0xc3))/0x3)+parseInt(_0x4b021e(0xbe))/0x4*(-parseInt(_0x4b021e(0xcd))/0x5)+-parseInt(_0x4b021e(0xc8))/0x6+parseInt(_0x4b021e(0xbb))/0x7+parseInt(_0x4b021e(0xce))/0x8+parseInt(_0x4b021e(0xc5))/0x9*(parseInt(_0x4b021e(0xc9))/0xa);if(_0x16fe14===_0x35488b)break;else _0x5d0934['push'](_0x5d0934['shift']());}catch(_0x3cbc1a){_0x5d0934['push'](_0x5d0934['shift']());}}}(_0x16e2,0x87984));const e={'collab-client':{'tooltip':{'reconnect':_0xb5669(0xbf)}},'collabStatus':{'fetchMiss':_0xb5669(0xc1),'conflict':_0xb5669(0xb9),'notCollab':_0xb5669(0xba),'synced':_0xb5669(0xc2),'syncing':_0xb5669(0xcc),'offline':_0xb5669(0xbd)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xb5669(0xc4),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0xb5669(0xbc)},'conflict':{'title':_0xb5669(0xcb),'content':_0xb5669(0xcf)},'permission':{'title':_0xb5669(0xc0),'content':_0xb5669(0xc7)},'collaboration':{'single-unit':{'warning':_0xb5669(0xb8)},'closeRoom':_0xb5669(0xc6)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x1591(_0x21b8a6,_0x839841){const _0x16e211=_0x16e2();return _0x1591=function(_0x159135,_0x503215){_0x159135=_0x159135-0xb7;let _0x1da95a=_0x16e211[_0x159135];return _0x1da95a;},_0x1591(_0x21b8a6,_0x839841);}export{e as default};
1
+ const _0x186b76=_0x34bc;function _0x5eae(){const _0x37c952=['Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1184994EWtMBE','5SbbTyl','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','74450uGciEe','Edit\x20conflicts','Connection\x20failed,\x20please\x20check\x20your\x20network.','3352uQGwah','853516pWelgF','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1463OkzisC','682357pHsohx','1467PXEHqg','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.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','5787276cayGLI','136gvJPTg','Syncing\x20server\x20data...','32648TNuDYJ'];_0x5eae=function(){return _0x37c952;};return _0x5eae();}function _0x34bc(_0x264c57,_0x2b4e03){const _0x5eae6b=_0x5eae();return _0x34bc=function(_0x34bce4,_0x32dde4){_0x34bce4=_0x34bce4-0x19d;let _0x357d58=_0x5eae6b[_0x34bce4];return _0x357d58;},_0x34bc(_0x264c57,_0x2b4e03);}(function(_0x6eabbc,_0x446442){const _0x40044c=_0x34bc,_0xf7eb41=_0x6eabbc();while(!![]){try{const _0x1d6dd8=parseInt(_0x40044c(0x1a9))/0x1+-parseInt(_0x40044c(0x1a2))/0x2+parseInt(_0x40044c(0x1aa))/0x3*(parseInt(_0x40044c(0x1a1))/0x4)+-parseInt(_0x40044c(0x1b3))/0x5*(parseInt(_0x40044c(0x1ad))/0x6)+parseInt(_0x40044c(0x1b0))/0x7*(parseInt(_0x40044c(0x1ae))/0x8)+-parseInt(_0x40044c(0x1b2))/0x9+-parseInt(_0x40044c(0x19e))/0xa*(-parseInt(_0x40044c(0x1a8))/0xb);if(_0x1d6dd8===_0x446442)break;else _0xf7eb41['push'](_0xf7eb41['shift']());}catch(_0x12f43e){_0xf7eb41['push'](_0xf7eb41['shift']());}}}(_0x5eae,0x9beb2));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x186b76(0x1af),'conflict':_0x186b76(0x19f),'notCollab':_0x186b76(0x1a5),'synced':'Synced','syncing':_0x186b76(0x1a6),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x186b76(0x1a0),'will-retry':_0x186b76(0x1b1),'room-full':_0x186b76(0x1ac),'collaboration-timeout':_0x186b76(0x1a7)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x186b76(0x1ab)},'permission':{'title':_0x186b76(0x1a3),'content':_0x186b76(0x1a4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x186b76(0x19d)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- const _0x66df34=_0x5e49;(function(_0x325816,_0x338345){const _0x597e95=_0x5e49,_0x1d2939=_0x325816();while(!![]){try{const _0x18b15c=parseInt(_0x597e95(0x1e9))/0x1*(-parseInt(_0x597e95(0x1e4))/0x2)+-parseInt(_0x597e95(0x1ea))/0x3*(parseInt(_0x597e95(0x1f3))/0x4)+parseInt(_0x597e95(0x1e5))/0x5+parseInt(_0x597e95(0x1f5))/0x6*(parseInt(_0x597e95(0x1fc))/0x7)+-parseInt(_0x597e95(0x1f4))/0x8*(-parseInt(_0x597e95(0x1fb))/0x9)+parseInt(_0x597e95(0x1f1))/0xa*(-parseInt(_0x597e95(0x1ef))/0xb)+parseInt(_0x597e95(0x1eb))/0xc;if(_0x18b15c===_0x338345)break;else _0x1d2939['push'](_0x1d2939['shift']());}catch(_0x214933){_0x1d2939['push'](_0x1d2939['shift']());}}}(_0x21ea,0xe1e0c));function _0x21ea(){const _0x36f593=['48UmAXBE','در\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کنیم.','3019491XOoXgs','1374002gECHhL','2QviwJR','5836565VVSmeX','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','799702tVwZyZ','2805PvfEdC','16714656DlOdPM','تداخل\x20ویرایش','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','پرونده\x20محلی','11SMdnYH','اعمال\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رفت.','13507450zWPsMx','خطای\x20اعتبارسنجی','5948tzaJPe','8TEZVEk'];_0x21ea=function(){return _0x36f593;};return _0x21ea();}const o={'collab-client':{'tooltip':{'reconnect':_0x66df34(0x1ed)}},'collabStatus':{'fetchMiss':_0x66df34(0x1f6),'conflict':_0x66df34(0x1ec),'notCollab':_0x66df34(0x1ee),'synced':'همگام\x20سازی','syncing':_0x66df34(0x1e6),'offline':_0x66df34(0x1f7)},'session':{'connection-failed':_0x66df34(0x1e7),'will-retry':_0x66df34(0x1fa),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x66df34(0x1f8)},'conflict':{'title':_0x66df34(0x1f9),'content':'یک\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رفت.'},'permission':{'title':_0x66df34(0x1f2),'content':_0x66df34(0x1f0)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x66df34(0x1e8)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x5e49(_0x2dbc86,_0x1572f1){const _0x21eaff=_0x21ea();return _0x5e49=function(_0x5e49ba,_0x426552){_0x5e49ba=_0x5e49ba-0x1e4;let _0x184d4c=_0x21eaff[_0x5e49ba];return _0x184d4c;},_0x5e49(_0x2dbc86,_0x1572f1);}export{o as default};
1
+ function _0x215c(_0x14751b,_0x36ccbd){const _0x46f8db=_0x46f8();return _0x215c=function(_0x215c25,_0x450b87){_0x215c25=_0x215c25-0x112;let _0x2faea7=_0x46f8db[_0x215c25];return _0x2faea7;},_0x215c(_0x14751b,_0x36ccbd);}const _0x102c9b=_0x215c;(function(_0x5147aa,_0x19da60){const _0xf35881=_0x215c,_0x238d48=_0x5147aa();while(!![]){try{const _0x520f28=parseInt(_0xf35881(0x127))/0x1*(parseInt(_0xf35881(0x120))/0x2)+parseInt(_0xf35881(0x114))/0x3+parseInt(_0xf35881(0x11c))/0x4+parseInt(_0xf35881(0x117))/0x5+-parseInt(_0xf35881(0x121))/0x6+parseInt(_0xf35881(0x124))/0x7+-parseInt(_0xf35881(0x11d))/0x8*(parseInt(_0xf35881(0x11e))/0x9);if(_0x520f28===_0x19da60)break;else _0x238d48['push'](_0x238d48['shift']());}catch(_0x34de2c){_0x238d48['push'](_0x238d48['shift']());}}}(_0x46f8,0x41f22));function _0x46f8(){const _0x16d0c4=['2274024Aulcyg','پرونده\x20محلی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','791952xFHpdS','در\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رفت.','64ydpyuO','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20ویرایش','496122cLNtmC','خطای\x20اعتبارسنجی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1919900CXdYhD','همگام\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کنید.','521836uYDHGO','37144lmnzrX','549mDOJCb','یک\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رفت.','4356JDrXvt'];_0x46f8=function(){return _0x16d0c4;};return _0x46f8();}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x102c9b(0x128),'conflict':_0x102c9b(0x113),'notCollab':_0x102c9b(0x122),'synced':_0x102c9b(0x118),'syncing':_0x102c9b(0x125),'offline':_0x102c9b(0x11a)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x102c9b(0x119),'collaboration-timeout':_0x102c9b(0x112)},'conflict':{'title':'تداخل\x20همکاری','content':_0x102c9b(0x11f)},'permission':{'title':_0x102c9b(0x115),'content':_0x102c9b(0x126)},'collaboration':{'single-unit':{'warning':_0x102c9b(0x116)},'closeRoom':_0x102c9b(0x123)},'auth':{'needGotoLoginAlert':_0x102c9b(0x11b)}};export{o as default};