@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507041607 → 0.9.1-nightly.202507061606

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4e72fd=_0x3b51;(function(_0x4be960,_0x2fb5a6){const _0x13838b=_0x3b51,_0x5694d5=_0x4be960();while(!![]){try{const _0x3ce0ab=parseInt(_0x13838b(0x2bd))/0x1+-parseInt(_0x13838b(0x205))/0x2*(parseInt(_0x13838b(0x20a))/0x3)+-parseInt(_0x13838b(0x199))/0x4*(parseInt(_0x13838b(0x20b))/0x5)+-parseInt(_0x13838b(0x36d))/0x6+-parseInt(_0x13838b(0x312))/0x7+-parseInt(_0x13838b(0x284))/0x8*(-parseInt(_0x13838b(0x35f))/0x9)+parseInt(_0x13838b(0x178))/0xa;if(_0x3ce0ab===_0x2fb5a6)break;else _0x5694d5['push'](_0x5694d5['shift']());}catch(_0x37db53){_0x5694d5['push'](_0x5694d5['shift']());}}}(_0x3dc8,0xeb5b2));var $t=Object[_0x4e72fd(0x22f)],xt=(_0x28cb11,_0x242c7e,_0x4bf1dc)=>_0x242c7e in _0x28cb11?$t(_0x28cb11,_0x242c7e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bf1dc}):_0x28cb11[_0x242c7e]=_0x4bf1dc,_=(_0x533011,_0x5bef2e,_0x5468e3)=>xt(_0x533011,typeof _0x5bef2e!=_0x4e72fd(0x2cc)?_0x5bef2e+'':_0x5bef2e,_0x5468e3);import{MemberService as _0x217f91,SessionStatus as _0x15bbd5,CollaborationSessionService as _0x2986ef,CollaborationStatus as _0x465d72,CollaborationController as _0x1e1b99,ILocalCacheService as _0x887162,CollaborationUIEventService as _0x1defd2,CollaborationUIEventId as _0x1f4da2,DataLoaderService as _0x6b9d31,DocCollaborationEntity as _0x3a6f5d,getLocalCacheKey as _0x67462b,LOCAL_CACHE_INTERVAL as _0x168836,LOCAL_CACHE_INTERVAL_KEY as _0x3488f1,UniverCollaborationClientPlugin as _0x4b81ab,CollaborationSocketService as _0x348568,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x29e661,DEFAULT_WS_SESSION_TICKET_URL as _0xf649ef,UnitStatus as _0x26a024,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x453571,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x56483c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4c7c7e,Disposable as _0x1ed90e,DOC_RANGE_TYPE as _0x33e6e5,Inject as _0x3978bf,Injector as _0x34e1fa,IUniverInstanceService as _0x3de8bd,ICommandService as _0x213a2d,debounce as _0x449743,Rectangle as _0x2a06c0,DisposableCollection as _0x20443a,toDisposable as _0x5dbc96,UniverInstanceType as _0x573968,Tools as _0x323f3c,COLORS as _0x3d340d,ColorKit as _0x4d8387,ThemeService as _0x598c2b,fromEventSubject as _0x33ebf8,LocaleService as _0x4d43d2,createIdentifier as _0x304b66,ILogService as _0x2c1045,Optional as _0x44507a,Workbook as _0x3debcb,CommandType as _0x15ab1b,IConfigService as _0xa39781,ILocalStorageService as _0x5e3c59,DependentOn as _0x5035b2,Plugin as _0x5a7775,merge as _0x324ce8,registerDependencies as _0x59786f,mergeOverrideWithDependencies as _0x1e1a8e,touchDependencies as _0x348680,generateRandomId as _0x23d190}from'@univerjs/core';import{Shape as _0x283367,Rect as _0x152506,getColor as _0x55c4f2,RegularPolygon as _0x2a9029,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x22d7d5,Vector2 as _0x4afb0f,SHEET_VIEWPORT_KEY as _0x2f8408,IRenderManagerService as _0x5e2470}from'@univerjs/engine-render';import{ISocketService as _0x5336bd,WebSocketService as _0x54593a,HTTPService as _0x356126}from'@univerjs/network';import{IDocClipboardService as _0x440991,NodePositionConvertToCursor as _0x9564a2,NodePositionConvertToRectRange as _0x45dbde,TEXT_RANGE_LAYER_INDEX as _0x599d24,SetDocZoomRatioOperation as _0x2a6140,DocIMEInputManagerService as _0x58cabd,DocStateChangeManagerService as _0x241ff9}from'@univerjs/docs-ui';import{IImageIoService as _0x41823b}from'@univerjs/drawing';import{BehaviorSubject as _0xbbcda8,debounceTime as _0xd6784,takeUntil as _0x48049b,Subject as _0x49a8fb,filter as _0x4b8ddd,switchMap as _0x422903,merge as _0x14c05a,combineLatest as _0x5f3e83,of as _0x59d378,fromEvent as _0x4f2d6b,shareReplay as _0x55a28c,mapTo as _0x5a226a,distinctUntilChanged as _0x45320f}from'rxjs';import{ITransformService as _0x3b0871,CollaborationEvent as _0x524295,isTransformMutationFailure as _0x467b0b,isTransformMutationsWithChangesetSuccess as _0x225003,RevisionService as _0x57cffe,ISnapshotServerService as _0x36ff2a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5300dc,RichTextEditingMutation as _0x344765,DocSelectionManagerService as _0x5ced89,DocSkeletonManagerService as _0x4241b3}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1f808c,serializeRangeWithSheet as _0x4e16fa}from'@univerjs/engine-formula';import{RefRangeService as _0x569dbd,SetSelectionsOperation as _0xb118db,SheetsSelectionsService as _0x26d9fc,EffectRefRangId as _0x15d56d,handleIRemoveRow as _0xf1d0b0,handleIRemoveCol as _0x10f7cd,handleMoveRange as _0x39521b,handleInsertRow as _0x443956,handleInsertRangeMoveRight as _0x4ba41a,handleInsertRangeMoveDown as _0x57e431,handleInsertCol as _0x3f5579,handleDeleteRangeMoveUp as _0x3d99b7,handleDeleteRangeMoveLeft as _0x161bd7,runRefRangeMutations as _0x2123c2,SetWorksheetActivateCommand as _0x21d5ab}from'@univerjs/sheets';import{map as _0x5300d0,filter as _0x57683b,throttleTime as _0x10996d,takeUntil as _0x74c2c4,switchMap as _0x751ecb}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3dde03,getCoordByCell as _0x46c784,getSheetObject as _0x56ac2a}from'@univerjs/sheets-ui';import{jsx as _0x4e3134,jsxs as _0x41dff2}from'react/jsx-runtime';import{useObservable as _0x2c7948,useDependency as _0x4ac78b,IUIPartsService as _0x110553,BuiltInUIPart as _0x5e0c72,connectInjector as _0x2ac687,IBeforeCloseService as _0x5812fa,IMessageService as _0x556324,INotificationService as _0x5d82b5}from'@univerjs/ui';import{Tooltip as _0x757013,clsx as _0x5490e6,MessageType as _0x398b05}from'@univerjs/design';import{forwardRef as _0x22ab66,useRef as _0x5e9ffd,createElement as _0xb3c7a5,useCallback as _0x549e10}from'react';import{IRemoteInstanceService as _0x4e5c3e}from'@univerjs/rpc';var ci=Object[_0x4e72fd(0x2d6)],li=(_0x15830c,_0x486d42,_0x27bde0,_0xd5e72e)=>{const _0x5d9004=_0x4e72fd;for(var _0x55cd5d=_0xd5e72e>0x1?void 0x0:_0xd5e72e?ci(_0x486d42,_0x27bde0):_0x486d42,_0x4c9b37=_0x15830c[_0x5d9004(0x330)]-0x1,_0x5f2d65;_0x4c9b37>=0x0;_0x4c9b37--)(_0x5f2d65=_0x15830c[_0x4c9b37])&&(_0x55cd5d=_0x5f2d65(_0x55cd5d)||_0x55cd5d);return _0x55cd5d;},Je=(_0x4bb113,_0x3fa100)=>(_0x259f47,_0x152042)=>_0x3fa100(_0x259f47,_0x152042,_0x4bb113);let Ne=class extends _0x4c7c7e{constructor(_0x116d36,_0x4a2055){const _0x4902b6=_0x4e72fd;super(),this[_0x4902b6(0x1a7)]=_0x116d36,this['_imageIoService']=_0x4a2055,this[_0x4902b6(0x2f8)]();}['_init'](){const _0x423f3e=_0x4e72fd,_0x57a5c1=this;this['disposeWithMe'](this[_0x423f3e(0x1a7)]['addClipboardHook']({'onBeforePasteImage':async _0x5752fc=>{const _0x1439c9=_0x423f3e,_0x27297d=await _0x57a5c1['_imageIoService'][_0x1439c9(0x354)](_0x5752fc);return _0x27297d?{'source':_0x27297d[_0x1439c9(0x269)],'imageSourceType':_0x27297d[_0x1439c9(0x2af)]}:null;}}));}};function _0x3dc8(){const _0x2376cf=['RECT','_selfUnitIDs','getFocusedUnit','source','_startDocCollabCursor','_toggleOffline','LICENSE_DISTRO_REJECTED','subscribe','startColumn','getValue','dispose','searchParams','url(#$1','_anchor','translate(.97)','fill','_colorIndex','bottom','APPLY_REVISION_CONFILICT','USERS_LEAVE','VIEW_MAIN','UPDATE_CURSOR','selections','TOO_MANY_REQUESTS','_updateCollabCursors','_updateSubUnitFromURLParams','top','NOT_FOUND','PERMISSION_DENIED','_clearOtherTimers','56QYggiB','href','_range','MoveRangeCommandId','random','DeleteRangeMoveLeftCommandId','_id','getUndoRedoMutationParamsCache','onRendered','getColorFromTheme','setParam','collaboration-client.offline-data-not-saved','exhaustSavingTask','_cachedData','on-line-icon','registerComponent','UNAUTHENTICATED','current','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','_collabCursorState$','getCollabCursors$','AWAITING','div','params','white','substring','getTypeOfUnitDisposed$','values','with','_roomMembers$','red.300','RemoveColCommandId','_color','error','getSheetBySheetId','status$','selection','FETCH_MISS','_handleHover','_docTransformSelectionsService','_docTransformStateCacheService','...','_eventUnsubscribe','imageSourceType','icon','getRangePointData','show','purple.300','CLOSE_ROOM','transformStateCache','unit','_name','name','registerRenderModule','text','popstate','colorChannel1','652655SEatdw','UNDEFINED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','disposeUnit','_urlService','MOBILE_HAS_BEEN_BOUND','_sheetSkeletonManagerService','_localCacheService','getCellPositionByOffset','lineTo','send','jiqing.500','function','M0\x200H16V16H0z','SYNCED','symbol','_refRangeService','currentSkeleton$','_transformHistoryAndStateStack','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSkeleton','_hideTimer','LOGIN_FAILED','UNIVER_DOC','height','getOwnPropertyDescriptor','_messageService','_uiPartsService','onLocalMutation','transformIMECache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','size','_render','ranges','fillStyle','roomMembers','INVITE_CODE_ALREADY_BOUND','_heartbeatTimer','wsSessionTicketUrl','UniverIcon','_handleJoinEvent','APPLY_NON_SEQUENTIAL_REVISION','_entityInit$','collab-text-anchor-','sheetID','_online','_initCommandExecutedListener','_context','_getSaveTimeout','indexOf','LICENSE_MAX_UNITS_EXCEEDED','_drawAnchor','fillText','all','activeSheet$','_disabled','makeDirty','_refreshCollabCursors','_themeService','_init','_notificationService','extend','_startSheetCollabCursor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','rgba(255,\x20255,\x20255,\x200.01)','RemoveRowCommandId','disableLocalCache','_hovered','startsWith','setConfig','min','addObject','_localStorageService','INVITE_CODE_REQUIRED','className','_unitStatus','_renderManagerService','set','history','_initDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','_initStatusListener','clipPath','CONNECTOR_DATA_TOO_LARGE','_setupBeforeClosingHandler','4708928VcXFST','sheetId','getRelativeToViewportCoord','YUUMI_CONNECTOR_URL_NOT_FOUND','syncEditingCollabCursor','InsertColCommandId','_textBubble','USER_NOT_INVITED_CODE','use','dispose$','collabStatus.synced','_collaborationController','children','_updateURLWithCurrentState','_collabCursorController','Unknown\x20user','_ensureSubject','CONFLICT','UNRECOGNIZED','getMemberID','getStateCache','column','asObservable','attrs','clearInterval','resize','_instanceService','requireSession','get','_cursorInfo$','length','idSuffix','post','_transformService','round','[RemoteUniscriptService]:\x20no\x20focused\x20unit','1em','deepClone','hovered','0\x200\x2016\x2016','removeParam','_onCursorDelete','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','contains','collaboration.single-unit.warning','onTransformChange$','Error','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformRemoteChangeset','_scheduleHeartbeat','/run/','CHANGESET_REVISION_CONFILICT','add','search','m1Prime','_memberService','beginPath','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','includes','COMPLETION_FINISHED','concat','OffLineIcon','YUUMI_NO_CUBOID_FOR_QUESTION','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','defs','eventID','saveImage','drawWith','parse','getConfig','getUniverSheetInstance','color','unitID','ENSURE_SNAPSHOT_EXECUTION','location','_cursors','_logService','141642dgoprX','NO_OTHER_CLIENTS_EDITING','getRenderById','PY_RUNTIME_SCRIPT_ERROR','focused$','_scene','arc','push','font','_getSessionTicket','_transformUndoRedoStack','defIds','LICENSE_IMPORT_SIZE_EXCEEDED','_initEvent','5252826mcXFsl','off-line-icon_clip0_910_343','blue.400','transformSelections','clearTimeout','_config','roomMembers$','getDocRanges','addHandlerCallback','replaceDocRanges','unload','width','YUUMI_RATE_OVER_LIMIT','saveTaskMap','JOIN_ROOM_FAILED','complete','next','cursorInfo$','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_REJECT','YUUMI_ALL_TABLES_IS_INVALID','univerjs-icon\x20univerjs-icon-','_initEntityListener','setShapeProps','_onCursorUpdate','_localeService','runId','_unitOnClients','yellow.400','52689500cuFvon','_document','labelPosition','assign','urlChange$','currentTheme$','endColumn','setUndoRedoMutationParamsCache','[CollaborationDataLoaderController]','MOBILE_VERIFY_CODE_MISMATCH','unsubscribe','getCurrent','range','data','map','memberID','_session','permission.content','black','split','_createSocketURL','_saveTaskMap','isArray','max','_status$','runOnServer','executeCommand','EMAIL_HAS_BEEN_BOUND','result','collaboration.closeRoom','evenodd','_removeCollabCursors','reconnect','14104vZZZpw','hasOwnProperty','forEach','toString','disposeWithMe','ONLINE','createSocket','HEADER_MENU','getSheetId','INVALID_INVITE_CODE','path','_send','_beforeCloseService','INVALID_ARGUMENT','_docClipboardService','onPointerMove$','transformMutationsWithChangeset','triggerDblclick','_lastPointer','_cursorShapes','off-line-icon','_drawRectRange','Failed','call','SNAPSHOT_HAS_BEEN_REMOVED','debug','subscribeEvent','WECHAT_HAS_BEEN_BOUND','_configService','getUnitStatus$','flatMap','key','_collabSessionService','getVpScrollXYInfoByPosToVp','getOwnPropertySymbols','OTHER_CLIENT_EDITING','_saveCache','_drawTextRange','_scheduleSaving','undoState','transformMutation','onCommandExecuted','_initStatusComponent','YUUMI_AI_RUN_FAILED','textRanges','tag','_univerInstanceService','loadOfflineData','_shapes','Warning','createInstance','_updateLocalCursor','measureText','onPointerEnter$','_syncEditingCollabCursorService','FromArray','stringify','_injector','YUUMI_ASYNCIO_CANCELLED','application/json','storage','mutations','LICENSE_EXPORT_SIZE_EXCEEDED','univer-mr-2\x20univer-flex\x20univer-text-xl','uni.network.url-service','TEXT','getOffsetConfig','MUTATION','_onRefRangeChange','m2Prime','SUBMIT_CHANGESET_TIMEOUT','_backgroundColor','_labelPosition','_removeClearOtherTimer','_doCreateSocket','svg','_assignedColors','green.600','on-line-icon_clip0_910_349','getMember','string','init','docStateChange$','has','_handleEvent','registerBeforeClose','executionId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getCurrentRevOfUnit','addEventListener','transformByState','APPLY_DUPLICATED','_commandService','origin','SNAPSHOT_INVALID_SNAPSHOT','event$','_getMergeRange','subUnitId','OTHER_CLIENTS_EDITING','getItem','row','startRow','setInterval','getUnhiddenWorksheets','_handleHeartbeatEvent','propertyIsEnumerable','YUUMI_UNABLE_LOAD_URL','session.will-retry','104536vPXSUn','_transformPreviousActiveRange','collaboration-client-ui.config','invokeId','_draw','99jdiXpv','2545cajoaW','onPointerLeave$','INVITE_CODE_HAS_BEEN_UES','delete','loadUnit','generateRandomId','getAncestorScale','replace','setActiveRange','displayName','_registerRenderDependencies','type','getParam','EMAIL_VERIFY_CODE_MISMATCH','_registerDependencies','getMergeData','subunit','xlink:href','editingUnit','isEditing','registerRefRange','pipe','findNodePositionByCharIndex','collab-client.tooltip.reconnect','_docSkeletonManagerService','_anchorDot','http://www.w3.org/2000/svg','_docSyncEditingCollabCursorService','actions','ticket','unshift','cursorInfo','_entities','collab-rect-range-','closePath','whenReady','defineProperty','saveOfflineData','enableLocalCache','_colorAssignService','onMouseMove','UNIVER_SHEET','univer-flex\x20univer-items-center','from','getViewport','replaceState','getUnitId','_handleLeaveEvent','collabCursorState$','doc.mutation.rich-text-editing','_initResize','SOCKET_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collab-text-range-','mask','isActive','toRgbString','restore','_docStateChangeManagerService','unitId','apply','SOCKET_FAILED_RETRY','currentColor','save','none','collabStatus.conflict','assignAColorForMemberID','body','then','pushState','ALREADY_EXISTS','backgroundColor','setItem','_getScale','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_getAnchorBounding','_docTransformIMECacheService','_toggleOnline','_hover','hide','addObjects','_collaborationUIEventService','redoState','_getSheetObject','_scheduleClearOtherTimer','setAlpha','getTypeOfUnitAdded$','prototype','_httpService','NOT_COLLAB','entries'];_0x3dc8=function(){return _0x2376cf;};return _0x3dc8();}Ne=li([Je(0x0,_0x440991),Je(0x1,_0x41823b)],Ne);const Ze=[_0x4e72fd(0x2b3),_0x4e72fd(0x2c8),_0x4e72fd(0x1e6),_0x4e72fd(0x2a2),_0x4e72fd(0x36f),_0x4e72fd(0x177)];class ke extends _0x1ed90e{constructor(){const _0x4b42d8=_0x4e72fd;super(...arguments),_(this,_0x4b42d8(0x1e5),new Map()),_(this,_0x4b42d8(0x276),0x0);}['assignAColorForMemberID'](_0x11ae22){const _0x382460=_0x4e72fd;if(this[_0x382460(0x1e5)][_0x382460(0x1ec)](_0x11ae22))return this[_0x382460(0x1e5)][_0x382460(0x32e)](_0x11ae22);const _0x3bffce=Ze[this[_0x382460(0x276)]];return this[_0x382460(0x276)]=(this[_0x382460(0x276)]+0x1)%Ze[_0x382460(0x330)],this[_0x382460(0x1e5)][_0x382460(0x30a)](_0x11ae22,_0x3bffce),_0x3bffce;}}function Tt(_0x4da9fc){const _0x5e86cf=_0x4e72fd;let _0x563f60='';for(const _0x3da5cf of _0x4da9fc){const {startOffset:_0x1ceaba,endOffset:_0x45ccf9,isActive:_0x5f1122,rangeType:_0x5d416a,segmentId:_0x6f3d48,segmentPage:_0x44a9e1}=_0x3da5cf;_0x563f60[_0x5e86cf(0x330)]&&(_0x563f60+=','),_0x563f60+=_0x1ceaba+':'+_0x45ccf9+':'+(_0x5f1122?'1':'0')+':'+_0x5d416a+':'+_0x6f3d48+':'+_0x44a9e1;}return _0x563f60;}function _i(_0x20bcd6){const _0x456272=_0x4e72fd,_0x3d9560=_0x20bcd6[_0x456272(0x18b)](','),_0x26ee34=[];for(const _0x53a0c7 of _0x3d9560){const [_0x19748b,_0xd7cddb,_0x44529e,_0x282a6c,_0x5a113d,_0x5d1536]=_0x53a0c7[_0x456272(0x18b)](':');_0x26ee34[_0x456272(0x366)]({'startOffset':Number(_0x19748b),'endOffset':Number(_0xd7cddb),'collapsed':_0x19748b===_0xd7cddb,'isActive':_0x44529e==='1','rangeType':_0x282a6c===_0x33e6e5[_0x456272(0x1da)]?_0x33e6e5[_0x456272(0x1da)]:_0x33e6e5[_0x456272(0x266)],'segmentId':typeof _0x5a113d==_0x456272(0x1e9)?String(_0x5a113d):'','segmentPage':Number(_0x5d1536!=null?_0x5d1536:-0x1)});}return _0x26ee34['some'](_0x10da9c=>_0x10da9c[_0x456272(0x242)])||(_0x26ee34[0x0][_0x456272(0x242)]=!0x0),_0x26ee34;}class He extends _0x4c7c7e{constructor(){const _0x2eb0ea=_0x4e72fd;super(...arguments),_(this,'_collabCursorState$',new _0xbbcda8(null)),_(this,'collabCursorState$',this[_0x2eb0ea(0x297)][_0x2eb0ea(0x328)]());}[_0x4e72fd(0x316)](_0x50054e){const _0x3ef649=_0x4e72fd,{unitID:_0xecb652,memberID:_0x39c4a3,textRanges:_0x59213a}=_0x50054e,_0x48086d=Tt(_0x59213a);if(_0x48086d==='')return;const _0x599d84={'unitID':_0xecb652,'memberID':_0x39c4a3,'selection':_0x48086d};this[_0x3ef649(0x297)][_0x3ef649(0x16b)](_0x599d84);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x46c320,_0x2472c0,_0x551ee9,_0x229347)=>{const _0x474396=_0x4e72fd;for(var _0x53979f=_0x229347>0x1?void 0x0:_0x229347?hi(_0x2472c0,_0x551ee9):_0x2472c0,_0x5a9951=_0x46c320[_0x474396(0x330)]-0x1,_0x8af1a8;_0x5a9951>=0x0;_0x5a9951--)(_0x8af1a8=_0x46c320[_0x5a9951])&&(_0x53979f=_0x8af1a8(_0x53979f)||_0x53979f);return _0x53979f;},P=(_0x8559cf,_0x5a9d11)=>(_0x322c18,_0x2fdeeb)=>_0x5a9d11(_0x322c18,_0x2fdeeb,_0x8559cf);const di=0x12c,fi=0x64;let Ue=class extends _0x4c7c7e{constructor(_0x2fd2d3,_0x29bb7f,_0x676414,_0x4023db,_0x56eba8,_0xfb45d1,_0xe24837,_0xd7a277,_0x2fad75){const _0x10216b=_0x4e72fd;super(),_(this,_0x10216b(0x2ea),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0xbbcda8(new Map())),_(this,'cursorInfo$',this[_0x10216b(0x32f)][_0x10216b(0x328)]()),_(this,_0x10216b(0x2a1),new _0xbbcda8([])),_(this,_0x10216b(0x373),this['_roomMembers$']['pipe'](_0xd6784(di))),_(this,_0x10216b(0x1cc),_0x449743(_0x34036b=>{const _0x5051fe=_0x10216b,_0x1f145e={'eventID':_0x524295['UPDATE_CURSOR'],'data':{'unitID':this[_0x5051fe(0x35a)],'memberID':this[_0x5051fe(0x188)][_0x5051fe(0x325)](),'selection':Tt(_0x34036b)}};this[_0x5051fe(0x188)]['send'](_0x1f145e,this['unitID']);},fi)),(this[_0x10216b(0x35a)]=_0x2fd2d3,this['_session']=_0x29bb7f,this[_0x10216b(0x1d2)]=_0x676414,this['_colorAssignService']=_0x4023db,this[_0x10216b(0x349)]=_0x56eba8,this[_0x10216b(0x1cf)]=_0xfb45d1,this['_transformService']=_0xe24837,this[_0x10216b(0x1c7)]=_0xd7a277,this[_0x10216b(0x1f5)]=_0x2fad75);}get[_0x4e72fd(0x22a)](){return this['_cursorInfo$']['getValue']();}get[_0x4e72fd(0x2e0)](){const _0x112ead=_0x4e72fd;return this[_0x112ead(0x2a1)][_0x112ead(0x26f)]();}['dispose'](){const _0x421ba8=_0x4e72fd;super[_0x421ba8(0x270)](),this[_0x421ba8(0x32f)][_0x421ba8(0x16b)](new Map()),this[_0x421ba8(0x32f)]['complete'](),this['_roomMembers$'][_0x421ba8(0x16b)]([]),this['_roomMembers$']['complete']();}[_0x4e72fd(0x1ea)](){const _0xa2b6c=_0x4e72fd;this[_0xa2b6c(0x2f8)]||(this[_0xa2b6c(0x2f8)]=!0x0,this[_0xa2b6c(0x188)]['sessionStatus$']['pipe'](_0x48049b(this[_0xa2b6c(0x31b)]))[_0xa2b6c(0x26d)](_0x1ff820=>{const _0x548790=_0xa2b6c;_0x1ff820===_0x15bbd5['ONLINE']?this[_0x548790(0x258)]():this[_0x548790(0x26b)]();}),this[_0xa2b6c(0x188)][_0xa2b6c(0x1f8)]['pipe'](_0x48049b(this['dispose$']))[_0xa2b6c(0x26d)](_0x658858=>{const _0x271489=_0xa2b6c,_0x4414d7=_0x658858[_0x271489(0x353)];_0x4414d7===_0x524295[_0x271489(0x27b)]&&this['_onCursorUpdate'](_0x658858),_0x4414d7===_0x524295[_0x271489(0x279)]&&this[_0x271489(0x33b)](_0x658858);}),this[_0xa2b6c(0x19d)](this[_0xa2b6c(0x1f5)][_0xa2b6c(0x1c2)](_0x534dc2=>{const _0x5b987d=_0xa2b6c,_0x278f00=_0x534dc2[_0x5b987d(0x29b)];_0x278f00!=null&&this[_0x5b987d(0x2ea)]&&_0x534dc2['id']===_0x5300dc['id']&&_0x278f00['unitId']===this[_0x5b987d(0x35a)]&&_0x278f00[_0x5b987d(0x21e)]===!0x1&&_0x278f00[_0x5b987d(0x2de)][_0x5b987d(0x330)]>0x0&&this[_0x5b987d(0x1cc)](_0x278f00[_0x5b987d(0x2de)]);})),this['_syncEditingCollabCursorService'][_0xa2b6c(0x23b)][_0xa2b6c(0x220)](_0x48049b(this[_0xa2b6c(0x31b)]))[_0xa2b6c(0x26d)](_0x12a59a=>{const _0x355c0c=_0xa2b6c;if((_0x12a59a==null?void 0x0:_0x12a59a[_0x355c0c(0x35a)])!==this[_0x355c0c(0x35a)])return;const _0x32a1ba={'eventID':_0x524295[_0x355c0c(0x27b)],'data':_0x12a59a};this[_0x355c0c(0x173)](_0x32a1ba);}),this[_0xa2b6c(0x19d)](this[_0xa2b6c(0x1f5)]['onCommandExecuted'](_0x282ebc=>{const _0x23c43d=_0xa2b6c;if(_0x282ebc[_0x23c43d(0x29b)]==null)return;const _0x43575f=_0x282ebc[_0x23c43d(0x29b)];if(_0x282ebc['id']!==_0x344765['id']||_0x43575f[_0x23c43d(0x246)]!==this[_0x23c43d(0x35a)])return;const _0x34a2d2={'id':'doc.mutation.rich-text-editing','params':_0x43575f},_0x1fb098=this[_0x23c43d(0x22a)];for(const [_0xe273eb,_0x12d74f]of _0x1fb098){const _0x1aac1b={'id':_0x23c43d(0x23c),'params':{'unitId':this[_0x23c43d(0x35a)],'actions':null,'textRanges':_0x12d74f[_0x23c43d(0x2de)]}},_0x32e2e1=this[_0x23c43d(0x333)][_0x23c43d(0x1c1)](_0x34a2d2,_0x1aac1b,!0x1);if(_0x467b0b(_0x32e2e1))throw _0x32e2e1[_0x23c43d(0x2a5)];_0x1fb098[_0x23c43d(0x30a)](_0xe273eb,{..._0x12d74f,'ranges':_0x32e2e1['m2Prime'][_0x23c43d(0x29b)]['textRanges']});}queueMicrotask(()=>{const _0x2886ca=_0x23c43d;this['_cursorInfo$'][_0x2886ca(0x16b)](_0x1fb098);});})));}[_0x4e72fd(0x173)](_0x19329b){const _0x5db954=_0x4e72fd;var _0x7cefad,_0x2f484d;const {memberID:_0x1f9b45,selection:_0x118834}=_0x19329b[_0x5db954(0x185)],_0x51e659=_i(_0x118834),_0x453acd=(_0x2f484d=(_0x7cefad=this[_0x5db954(0x349)][_0x5db954(0x1e8)](this['unitID'],_0x1f9b45))==null?void 0x0:_0x7cefad[_0x5db954(0x2b8)])!=null?_0x2f484d:_0x5db954(0x321),_0x1225e3={'color':this[_0x5db954(0x232)][_0x5db954(0x24d)](_0x1f9b45),'name':_0x453acd,'ranges':_0x51e659},_0x5569e1=this[_0x5db954(0x22a)];_0x5569e1['set'](_0x1f9b45,_0x1225e3),this[_0x5db954(0x32f)][_0x5db954(0x16b)](_0x5569e1);}[_0x4e72fd(0x33b)](_0x15ef19){const _0x23b7e6=_0x4e72fd,{memberID:_0x59d435}=_0x15ef19[_0x23b7e6(0x185)],_0x5acdeb=this[_0x23b7e6(0x22a)];_0x5acdeb[_0x23b7e6(0x20e)](_0x59d435),this[_0x23b7e6(0x32f)]['next'](_0x5acdeb);}[_0x4e72fd(0x258)](){const _0x2c625e=_0x4e72fd;var _0x4f49a8;if(this[_0x2c625e(0x2ea)]=!0x0,((_0x4f49a8=this['_univerInstanceService'][_0x2c625e(0x268)]())==null?void 0x0:_0x4f49a8[_0x2c625e(0x239)]())!==this[_0x2c625e(0x35a)])return;const _0x84ad49=this[_0x2c625e(0x1d2)][_0x2c625e(0x32e)](_0x5ced89)[_0x2c625e(0x374)]();Array[_0x2c625e(0x18e)](_0x84ad49)&&_0x84ad49['length']>0x0&&this[_0x2c625e(0x1cc)](_0x84ad49);}[_0x4e72fd(0x26b)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x3978bf(_0x34e1fa)),P(0x3,_0x3978bf(ke)),P(0x4,_0x3978bf(_0x217f91)),P(0x5,_0x3978bf(He)),P(0x6,_0x3b0871),P(0x7,_0x3de8bd),P(0x8,_0x213a2d)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x1c7811,_0x177279,_0x36bbc9,_0x27a20f)=>{const _0x461709=_0x4e72fd;for(var _0x350793=_0x27a20f>0x1?void 0x0:_0x27a20f?Si(_0x177279,_0x36bbc9):_0x177279,_0x28bbf7=_0x1c7811[_0x461709(0x330)]-0x1,_0x2ce91d;_0x28bbf7>=0x0;_0x28bbf7--)(_0x2ce91d=_0x1c7811[_0x28bbf7])&&(_0x350793=_0x2ce91d(_0x350793)||_0x350793);return _0x350793;},x=(_0x525e41,_0x48df4a)=>(_0x40024a,_0xae6cc9)=>_0x48df4a(_0x40024a,_0xae6cc9,_0x525e41);const Ii=0x12c,gi=0x64,vi=()=>{let _0x253220=[],_0x59fc20=!0x1;return _0xf9310c=>{const _0x4a21bc=_0x3b51;_0x253220[_0x4a21bc(0x366)](_0xf9310c),_0x59fc20||(_0x59fc20=!0x0,setTimeout(()=>{_0x253220['forEach'](_0x21f597=>_0x21f597()),_0x253220=[],_0x59fc20=!0x1;}));};};let Me=class extends _0x4c7c7e{constructor(_0x1e7856,_0x38d5b8,_0x2cb881,_0x56c870,_0x3b925e,_0x583c1b,_0x3e59bc,_0x5c2e8c){const _0x379c76=_0x4e72fd;super(),_(this,'_online',!0x1),_(this,_0x379c76(0x2f8),!0x1),_(this,_0x379c76(0x32f),new _0xbbcda8(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x379c76(0x328)]()),_(this,'_roomMembers$',new _0xbbcda8([])),_(this,_0x379c76(0x373),this[_0x379c76(0x2a1)][_0x379c76(0x220)](_0xd6784(Ii))),_(this,_0x379c76(0x1cc),_0x449743((_0x530dd1,_0x4c819a)=>{const _0x23317f=_0x379c76,_0x3eefde={'eventID':_0x524295[_0x23317f(0x27b)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x23317f(0x325)](),'selection':_0x4e16fa(_0x530dd1,_0x4c819a['range'])}};this[_0x23317f(0x188)][_0x23317f(0x2c7)](_0x3eefde,this['unitID']);},gi)),(this[_0x379c76(0x35a)]=_0x1e7856,this[_0x379c76(0x188)]=_0x38d5b8,this[_0x379c76(0x1d2)]=_0x2cb881,this['_colorAssignService']=_0x56c870,this['_memberService']=_0x3b925e,this[_0x379c76(0x1c7)]=_0x583c1b,this['_commandService']=_0x3e59bc,this[_0x379c76(0x2cd)]=_0x5c2e8c);}get[_0x4e72fd(0x22a)](){const _0xc98d2f=_0x4e72fd;return this[_0xc98d2f(0x32f)]['getValue']();}get[_0x4e72fd(0x2e0)](){const _0x1fc0b8=_0x4e72fd;return this[_0x1fc0b8(0x2a1)][_0x1fc0b8(0x26f)]();}[_0x4e72fd(0x270)](){const _0xabd03e=_0x4e72fd;super[_0xabd03e(0x270)](),this[_0xabd03e(0x32f)][_0xabd03e(0x16b)](new Map()),this[_0xabd03e(0x32f)][_0xabd03e(0x16a)](),this['_roomMembers$'][_0xabd03e(0x16b)]([]),this[_0xabd03e(0x2a1)][_0xabd03e(0x16a)]();}[_0x4e72fd(0x1ea)](){const _0x151358=_0x4e72fd;this[_0x151358(0x2f8)]||(this[_0x151358(0x2f8)]=!0x0,this[_0x151358(0x188)]['sessionStatus$']['pipe'](_0x48049b(this[_0x151358(0x31b)]))['subscribe'](_0x19a1c0=>{const _0x1ad059=_0x151358;_0x19a1c0===_0x15bbd5[_0x1ad059(0x19e)]?this[_0x1ad059(0x258)]():this[_0x1ad059(0x26b)]();}),this[_0x151358(0x188)][_0x151358(0x1f8)][_0x151358(0x220)](_0x48049b(this[_0x151358(0x31b)]))['subscribe'](_0x107f00=>{const _0x2e9b08=_0x151358,_0x53bd1d=_0x107f00[_0x2e9b08(0x353)];_0x53bd1d===_0x524295[_0x2e9b08(0x27b)]&&this[_0x2e9b08(0x173)](_0x107f00),_0x53bd1d===_0x524295[_0x2e9b08(0x279)]&&this[_0x2e9b08(0x33b)](_0x107f00);}),this['_onRefRangeChange'](),this[_0x151358(0x19d)](this[_0x151358(0x1f5)][_0x151358(0x1c2)](_0x5ddbc7=>{const _0x67e840=_0x151358;if(this[_0x67e840(0x2ea)]&&_0x5ddbc7['id']===_0xb118db['id']&&_0x5ddbc7[_0x67e840(0x29b)][_0x67e840(0x246)]===this[_0x67e840(0x35a)]){const _0x3fe716=_0x5ddbc7[_0x67e840(0x29b)];this[_0x67e840(0x1cc)](_0x3fe716[_0x67e840(0x1fa)],_0x3fe716[_0x67e840(0x27c)][0x0]);}})));}[_0x4e72fd(0x173)](_0x52d5d3){const _0x16df07=_0x4e72fd;var _0x54a80e,_0x1f9558;const {memberID:_0x13559e,selection:_0x52cde9}=_0x52d5d3[_0x16df07(0x185)],{sheetName:_0xe4498f,range:_0x328b63}=_0x1f808c(_0x52cde9),_0x222962={'name':(_0x1f9558=(_0x54a80e=this['_memberService'][_0x16df07(0x1e8)](this['unitID'],_0x13559e))==null?void 0x0:_0x54a80e[_0x16df07(0x2b8)])!=null?_0x1f9558:_0x16df07(0x321),'range':this[_0x16df07(0x1f9)](_0xe4498f,_0x328b63),'sheetID':_0xe4498f,'color':this[_0x16df07(0x232)]['assignAColorForMemberID'](_0x13559e),'selection':_0x52cde9},_0x23ceae=this[_0x16df07(0x22a)];_0x23ceae[_0x16df07(0x30a)](_0x13559e,_0x222962),this['_cursorInfo$'][_0x16df07(0x16b)](_0x23ceae);}[_0x4e72fd(0x33b)](_0xdd788e){const _0x5d6595=_0x4e72fd,{memberID:_0x126f2b}=_0xdd788e[_0x5d6595(0x185)],_0x3c184d=this['cursorInfo'];_0x3c184d['delete'](_0x126f2b),this[_0x5d6595(0x32f)][_0x5d6595(0x16b)](_0x3c184d);}[_0x4e72fd(0x1f9)](_0x269348,_0x389988){const _0x9368cf=_0x4e72fd;var _0x22ae7d,_0x38bfd7;const _0x4e36e7=(_0x38bfd7=(_0x22ae7d=this[_0x9368cf(0x1c7)][_0x9368cf(0x358)](this['unitID']))==null?void 0x0:_0x22ae7d[_0x9368cf(0x2a6)](_0x269348))==null?void 0x0:_0x38bfd7[_0x9368cf(0x21a)]();return(_0x4e36e7==null?void 0x0:_0x4e36e7['find'](_0x598b4a=>_0x2a06c0[_0x9368cf(0x33d)](_0x598b4a,_0x389988)))||_0x389988;}[_0x4e72fd(0x1dd)](){const _0x16cd96=_0x4e72fd,_0x3b4811=new _0x20443a(),_0x2f7c6e=vi(),_0xde08c3=()=>{const _0x2c87de=_0x3b51;_0x3b4811[_0x2c87de(0x270)]();const _0x1cb4fd=(_0xcfa08d,_0x327eb1,_0x59d0f2,_0x1c9ed0)=>{const _0x5c75db=_0x2c87de;let _0x59bf84=[];switch(_0xcfa08d['id']){case _0x15d56d[_0x5c75db(0x289)]:{_0x59bf84=_0x161bd7(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d['DeleteRangeMoveUpCommandId']:{_0x59bf84=_0x3d99b7(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d[_0x5c75db(0x317)]:{_0x59bf84=_0x3f5579(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d['InsertRangeMoveDownCommandId']:{_0x59bf84=_0x57e431(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d['InsertRangeMoveRightCommandId']:{_0x59bf84=_0x4ba41a(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d['InsertRowCommandId']:{_0x59bf84=_0x443956(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d[_0x5c75db(0x287)]:{_0x59bf84=_0x39521b(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d[_0x5c75db(0x2a3)]:{_0x59bf84=_0x10f7cd(_0xcfa08d,_0x1c9ed0);break;}case _0x15d56d[_0x5c75db(0x2fe)]:{_0x59bf84=_0xf1d0b0(_0xcfa08d,_0x1c9ed0);break;}}const _0x390291=_0x2123c2(_0x59bf84,_0x1c9ed0),_0x298f6f=this[_0x5c75db(0x22a)][_0x5c75db(0x32e)](_0x327eb1);if(_0x298f6f&&_0x390291){const _0x4c0dfa={..._0x298f6f,'range':_0x390291};this['cursorInfo'][_0x5c75db(0x30a)](_0x327eb1,_0x4c0dfa),_0x2f7c6e(()=>{const _0x38bd16=_0x5c75db,_0x538338=this[_0x38bd16(0x2cd)][_0x38bd16(0x21f)](_0x390291,_0x4c3f11=>(_0x538338[_0x38bd16(0x270)](),_0x1cb4fd(_0x4c3f11,_0x327eb1,_0x59d0f2,_0x390291)));_0x3b4811[_0x38bd16(0x346)](_0x538338);});}return{'redos':[],'undos':[]};};this[_0x2c87de(0x22a)][_0x2c87de(0x19b)]((_0x5d2c8a,_0x371a82)=>{const _0x46d9c1=_0x2c87de,{range:_0x1f64ae,sheetID:_0x5b1bb0}=_0x5d2c8a,_0x2336f1=this[_0x46d9c1(0x2cd)][_0x46d9c1(0x21f)](_0x1f64ae,_0x5e0683=>(_0x2336f1[_0x46d9c1(0x270)](),_0x1cb4fd(_0x5e0683,_0x371a82,_0x5b1bb0,_0x1f64ae)));_0x3b4811[_0x46d9c1(0x346)](_0x2336f1);});};this[_0x16cd96(0x19d)](_0x5dbc96(this[_0x16cd96(0x32f)][_0x16cd96(0x26d)](()=>{_0xde08c3();})));}['_toggleOnline'](){const _0x446aba=_0x4e72fd;var _0x8f3d0a,_0x114c6d;if(this[_0x446aba(0x2ea)]=!0x0,((_0x8f3d0a=this[_0x446aba(0x1c7)]['getFocusedUnit']())==null?void 0x0:_0x8f3d0a['getUnitId']())!==this[_0x446aba(0x35a)])return;const _0x1cb185=(_0x114c6d=this[_0x446aba(0x1d2)][_0x446aba(0x32e)](_0x26d9fc)['getCurrentSelections']())==null?void 0x0:_0x114c6d[0x0],_0x4fdc1e=this[_0x446aba(0x1c7)]['getCurrentUnitForType'](_0x573968[_0x446aba(0x234)])['getActiveSheet']();_0x1cb185&&_0x4fdc1e&&this['_updateLocalCursor'](_0x4fdc1e[_0x446aba(0x1a1)](),_0x1cb185);}['_toggleOffline'](){const _0x2aa096=_0x4e72fd;this[_0x2aa096(0x2ea)]=!0x1;}};Me=mi([x(0x2,_0x3978bf(_0x34e1fa)),x(0x3,_0x3978bf(ke)),x(0x4,_0x3978bf(_0x217f91)),x(0x5,_0x3de8bd),x(0x6,_0x213a2d),x(0x7,_0x3978bf(_0x569dbd))],Me);var pi=Object[_0x4e72fd(0x2d6)],Ci=(_0x58c156,_0x2f9874,_0x2526c1,_0x4ae479)=>{for(var _0x3eb201=_0x4ae479>0x1?void 0x0:_0x4ae479?pi(_0x2f9874,_0x2526c1):_0x2f9874,_0x151bd1=_0x58c156['length']-0x1,_0x272558;_0x151bd1>=0x0;_0x151bd1--)(_0x272558=_0x58c156[_0x151bd1])&&(_0x3eb201=_0x272558(_0x3eb201)||_0x3eb201);return _0x3eb201;},Se=(_0x2e25ba,_0x579248)=>(_0x14039a,_0x3c1bab)=>_0x579248(_0x14039a,_0x3c1bab,_0x2e25ba);let H=class extends _0x4c7c7e{constructor(_0x24c333,_0x1890f4,_0x452920){const _0x2bb8ae=_0x4e72fd;super(),_(this,_0x2bb8ae(0x22b),new Map()),_(this,_0x2bb8ae(0x2e7),new _0x49a8fb()),(this[_0x2bb8ae(0x1c7)]=_0x24c333,this[_0x2bb8ae(0x1d2)]=_0x1890f4,this['_collabSessionService']=_0x452920,this[_0x2bb8ae(0x2f8)]());}[_0x4e72fd(0x270)](){const _0x26198d=_0x4e72fd;super[_0x26198d(0x270)](),this[_0x26198d(0x2e7)][_0x26198d(0x16a)](),this['_entities'][_0x26198d(0x19b)](_0x1a76aa=>_0x1a76aa[_0x26198d(0x270)]());}[_0x4e72fd(0x298)](_0x308e80){const _0x500408=_0x4e72fd;return this[_0x500408(0x22b)][_0x500408(0x1ec)](_0x308e80)?this[_0x500408(0x22b)][_0x500408(0x32e)](_0x308e80)[_0x500408(0x16c)]:this['_entityInit$'][_0x500408(0x220)](_0x4b8ddd(_0x30561c=>_0x30561c[_0x500408(0x35a)]===_0x308e80),_0x422903(_0x1a0547=>_0x1a0547['cursorInfo$']));}[_0x4e72fd(0x2f8)](){const _0x542f80=_0x4e72fd;this[_0x542f80(0x1c7)][_0x542f80(0x261)](_0x573968[_0x542f80(0x234)])[_0x542f80(0x220)](_0x48049b(this[_0x542f80(0x31b)]))[_0x542f80(0x26d)](async _0x370b3a=>{const _0x5a2f62=_0x542f80,_0x37aab3=_0x370b3a[_0x5a2f62(0x239)](),_0x7095e=await this[_0x5a2f62(0x2fb)](_0x37aab3);this['_entityInit$'][_0x5a2f62(0x16b)](_0x7095e),this[_0x5a2f62(0x22b)][_0x5a2f62(0x30a)](_0x37aab3,_0x7095e);}),this[_0x542f80(0x1c7)][_0x542f80(0x261)](_0x573968[_0x542f80(0x2d4)])['pipe'](_0x48049b(this['dispose$']))[_0x542f80(0x220)](_0x4b8ddd(_0x2c2c12=>!_0x2c2c12[_0x542f80(0x239)]()[_0x542f80(0x301)]('__')))['subscribe'](async _0x58aa77=>{const _0x5659da=_0x542f80,_0x5953b8=_0x58aa77['getUnitId'](),_0x3338a=await this[_0x5659da(0x26a)](_0x5953b8);this['_entityInit$'][_0x5659da(0x16b)](_0x3338a),this[_0x5659da(0x22b)][_0x5659da(0x30a)](_0x5953b8,_0x3338a);}),_0x14c05a(this[_0x542f80(0x1c7)][_0x542f80(0x29e)](_0x573968[_0x542f80(0x2d4)]),this[_0x542f80(0x1c7)][_0x542f80(0x29e)](_0x573968['UNIVER_SHEET']))[_0x542f80(0x220)](_0x48049b(this[_0x542f80(0x31b)]))[_0x542f80(0x26d)](_0x164ee7=>{const _0xc88266=_0x542f80,_0x1df054=_0x164ee7[_0xc88266(0x239)](),_0x594e2e=this[_0xc88266(0x22b)]['get'](_0x1df054);_0x594e2e&&(_0x594e2e[_0xc88266(0x270)](),this[_0xc88266(0x22b)][_0xc88266(0x20e)](_0x1df054));});}async['_startSheetCollabCursor'](_0x53c91c){const _0x356a3a=_0x4e72fd,_0x2f2bbd=await this[_0x356a3a(0x1b9)][_0x356a3a(0x32d)](_0x53c91c),_0x48b6f2=this['_injector']['createInstance'](Me,_0x53c91c,_0x2f2bbd);return _0x48b6f2[_0x356a3a(0x1ea)](),_0x48b6f2;}async[_0x4e72fd(0x26a)](_0x3e24a6){const _0x9f128b=_0x4e72fd,_0x2789d3=await this[_0x9f128b(0x1b9)]['requireSession'](_0x3e24a6),_0x1bee78=this[_0x9f128b(0x1d2)][_0x9f128b(0x1cb)](Ue,_0x3e24a6,_0x2789d3);return _0x1bee78['init'](),_0x1bee78;}};H=Ci([Se(0x0,_0x3de8bd),Se(0x1,_0x3978bf(_0x34e1fa)),Se(0x2,_0x3978bf(_0x2986ef))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x38e8f1,_0x29bbae){const _0x295eb8=_0x4e72fd;let {radius:_0x3bbdd1,width:_0x3900ec,height:_0x5e5330}=_0x29bbae;_0x3bbdd1=_0x3bbdd1!=null?_0x3bbdd1:0x0,_0x3900ec=_0x3900ec!=null?_0x3900ec:0x1e,_0x5e5330=_0x5e5330!=null?_0x5e5330:0x1e;let _0x62547=0x0,_0x4d6f8f=0x0,_0x1ddbe0=0x0;_0x62547=_0x4d6f8f=_0x1ddbe0=Math[_0x295eb8(0x303)](_0x3bbdd1,_0x3900ec/0x2,_0x5e5330/0x2),_0x38e8f1[_0x295eb8(0x34a)](),_0x38e8f1['moveTo'](_0x62547,0x0),_0x38e8f1[_0x295eb8(0x2c6)](_0x3900ec-_0x4d6f8f,0x0),_0x38e8f1[_0x295eb8(0x365)](_0x3900ec-_0x4d6f8f,_0x4d6f8f,_0x4d6f8f,Math['PI']*0x3/0x2,0x0,!0x1),_0x38e8f1[_0x295eb8(0x2c6)](_0x3900ec,_0x5e5330-_0x1ddbe0),_0x38e8f1[_0x295eb8(0x365)](_0x3900ec-_0x1ddbe0,_0x5e5330-_0x1ddbe0,_0x1ddbe0,0x0,Math['PI']/0x2,!0x1),_0x38e8f1[_0x295eb8(0x2c6)](0x0,_0x5e5330),_0x38e8f1[_0x295eb8(0x2c6)](0x0,_0x62547),_0x38e8f1[_0x295eb8(0x365)](_0x62547,_0x62547,_0x62547,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x38e8f1[_0x295eb8(0x22d)](),_0x29bbae[_0x295eb8(0x275)]&&(_0x38e8f1[_0x295eb8(0x24a)](),_0x38e8f1['fillStyle']=_0x29bbae['fill'],_0x29bbae['fillRule']===_0x295eb8(0x196)?_0x38e8f1['fill']('evenodd'):_0x38e8f1['fill'](),_0x38e8f1['restore']());}class he extends _0x283367{constructor(_0x213acc,_0xa6f07a){const _0xa62bff=_0x4e72fd;super(_0x213acc,_0xa6f07a),_(this,'color'),_(this,_0xa62bff(0x2ba)),(this[_0xa62bff(0x359)]=_0xa6f07a==null?void 0x0:_0xa6f07a[_0xa62bff(0x359)],this[_0xa62bff(0x2ba)]=_0xa6f07a==null?void 0x0:_0xa6f07a['text']);}static['drawWith'](_0x5d1638,_0x195625){const _0x46b6d8=_0x4e72fd,{text:_0x594886,color:_0x53b2b8}=_0x195625;_0x5d1638[_0x46b6d8(0x24a)](),_0x5d1638[_0x46b6d8(0x367)]=_0x46b6d8(0x2d0);const _0x123269=_0x5d1638['measureText'](_0x594886)[_0x46b6d8(0x166)],_0xc7f9b5=Math[_0x46b6d8(0x303)](_0x123269+0x2*me,Qe);Oi(_0x5d1638,{'height':ee,'radius':0x4,'width':_0xc7f9b5,'fill':_0x53b2b8}),_0x5d1638[_0x46b6d8(0x2df)]='#FFF';const _0x255ede=me,_0x55d5c6=ee-Ei,_0x605295=Qe-0x2*me;if(_0x123269>_0x605295){let _0xcaffef='',_0xf5b1a1=0x0;for(const _0x34b94b of _0x594886){const _0x378da0=_0x5d1638[_0x46b6d8(0x1cd)](_0x34b94b)['width'];if(_0xf5b1a1+_0x378da0<=_0x605295-_0x5d1638[_0x46b6d8(0x1cd)](_0x46b6d8(0x2ad))[_0x46b6d8(0x166)])_0xcaffef+=_0x34b94b,_0xf5b1a1+=_0x378da0;else{_0xcaffef+=_0x46b6d8(0x2ad);break;}}_0x5d1638['fillText'](_0xcaffef,_0x255ede,_0x55d5c6);}else _0x5d1638[_0x46b6d8(0x2f1)](_0x594886,_0x255ede,_0x55d5c6);_0x5d1638[_0x46b6d8(0x244)]();}[_0x4e72fd(0x209)](_0x306080){const _0x55d0b3=_0x4e72fd;he[_0x55d0b3(0x355)](_0x306080,this);}}const Ie=_0x4e72fd(0x2e8),bi=_0x4e72fd(0x240),Ti=_0x4e72fd(0x22c),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4e72fd(0x2fd);class qe{constructor(_0x3ea166,_0x2555a4,_0x1b3a1b,_0x56859d){const _0x453e17=_0x4e72fd;_(this,_0x453e17(0x1c9),[]),_(this,_0x453e17(0x273),null),_(this,_0x453e17(0x318),null),_(this,_0x453e17(0x224),null),_(this,_0x453e17(0x2d2),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x3ea166,this['_scene']=_0x2555a4,this['_docSkeleton']=_0x1b3a1b,this[_0x453e17(0x179)]=_0x56859d,this[_0x453e17(0x2dd)]());}set['_hover'](_0x1277b2){const _0x377218=_0x4e72fd;_0x1277b2?(this[_0x377218(0x224)]&&this['_anchorDot'][_0x377218(0x25a)](),this['_textBubble']&&this[_0x377218(0x318)][_0x377218(0x2b2)]()):(this[_0x377218(0x224)]&&this['_anchorDot'][_0x377218(0x2b2)](),this['_textBubble']&&this['_textBubble'][_0x377218(0x25a)]());}[_0x4e72fd(0x270)](){const _0x145546=_0x4e72fd;for(const _0x435da6 of this['_shapes'])_0x435da6[_0x145546(0x270)]();this['_textBubble']&&this[_0x145546(0x318)]['dispose'](),this[_0x145546(0x224)]&&this[_0x145546(0x224)][_0x145546(0x270)](),this['_anchor']&&this['_anchor'][_0x145546(0x270)](),this[_0x145546(0x2ae)]&&this[_0x145546(0x2ae)]();}[_0x4e72fd(0x2dd)](){const _0x1dd6cc=_0x4e72fd;var _0x52b24f;const {_docSkeleton:_0x32ebd3,_document:_0x25e225}=this,{color:_0x5a3b40,name:_0x3b85a3,ranges:_0x15f129}=this['_cursor'],_0x573612=_0x25e225[_0x1dd6cc(0x1db)](),{docsLeft:_0xa7e13d,docsTop:_0x316b17}=_0x573612,_0x10f993=new _0x9564a2(_0x573612,_0x32ebd3);for(const {startOffset:_0x255027,endOffset:_0x463744,rangeType:_0x34a204,segmentId:_0xf09768,segmentPage:_0x59e514,collapsed:_0x328997,isActive:_0x1dadc1}of _0x15f129){const _0x232b50=_0x32ebd3[_0x1dd6cc(0x221)](_0x255027,!0x0,_0xf09768,_0x59e514);let _0x14472d=_0x32ebd3[_0x1dd6cc(0x221)](_0x463744,!0x0,_0xf09768,_0x59e514);if(_0x14472d==null&&(_0x14472d=_0x32ebd3[_0x1dd6cc(0x221)](_0x463744-0x1,!0x1,_0xf09768,_0x59e514)),_0x1dadc1){const {contentBoxPointGroup:_0x26fb3c}=_0x10f993['getRangePointData'](_0x14472d,_0x14472d);if(_0x26fb3c['length']===0x0)continue;this[_0x1dd6cc(0x2f0)](_0x5a3b40,_0x26fb3c,_0xa7e13d,_0x316b17,_0x3b85a3),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x232b50&&_0x14472d){if(_0x34a204===_0x33e6e5[_0x1dd6cc(0x266)]){const _0x1fbc14=new _0x45dbde(_0x573612,_0x32ebd3),{pointGroup:_0x5e43c9}=(_0x52b24f=_0x1fbc14[_0x1dd6cc(0x2b1)](_0x232b50,_0x14472d))!=null?_0x52b24f:{};if(_0x5e43c9==null||_0x5e43c9[_0x1dd6cc(0x330)]===0x0)continue;this['_drawRectRange'](_0x5a3b40,_0x5e43c9,_0xa7e13d,_0x316b17);}else{if(!_0x328997){const {borderBoxPointGroup:_0x3c0c88}=_0x10f993['getRangePointData'](_0x232b50,_0x14472d);if(_0x3c0c88[_0x1dd6cc(0x330)]===0x0)continue;this[_0x1dd6cc(0x1be)](_0x5a3b40,_0x3c0c88,_0xa7e13d,_0x316b17);}}}}}[_0x4e72fd(0x2f0)](_0x50eae5,_0x4780e4,_0x7f5bc4,_0x42ff26,_0x20913d){const _0x45d907=_0x4e72fd,_0x1ed0d9=this[_0x45d907(0x256)](_0x4780e4),{left:_0x2ceb81,top:_0x58e1b7,height:_0x5e4e70}=_0x1ed0d9,_0x13d8f0=this[_0x45d907(0x254)](),_0x1c5b70=Di/_0x13d8f0,_0xa9e7ba=new _0x152506(Ie+_0x323f3c[_0x45d907(0x210)](X),{'left':_0x2ceb81+_0x7f5bc4-_0x1c5b70,'top':_0x58e1b7+_0x42ff26,'height':_0x5e4e70,'width':Ri,'fill':_0x50eae5||_0x55c4f2(_0x3d340d[_0x45d907(0x18a)],0x0),'strokeWidth':_0x1c5b70,'stroke':Ni,'evented':!0x0});this[_0x45d907(0x273)]=_0xa9e7ba,this[_0x45d907(0x364)][_0x45d907(0x304)](_0xa9e7ba,_0x599d24);const _0x584ee3=new _0x152506(Ie+_0x323f3c[_0x45d907(0x210)](X),{'left':_0x2ceb81+_0x7f5bc4-_0x1c5b70,'top':_0x58e1b7+_0x42ff26-ge/0x2,'height':ge,'width':ge,'fill':_0x50eae5||_0x55c4f2(_0x3d340d[_0x45d907(0x18a)],0x0),'strokeWidth':0x0,'stroke':_0x50eae5||_0x55c4f2(_0x3d340d[_0x45d907(0x18a)],0x0),'evented':!0x1});this[_0x45d907(0x224)]=_0x584ee3,this['_scene'][_0x45d907(0x304)](_0x584ee3,_0x599d24);const _0x5df45d=new he(Ie+_0x323f3c[_0x45d907(0x210)](X),{'left':_0x2ceb81+_0x7f5bc4-_0x1c5b70,'top':_0x58e1b7+_0x42ff26-ee,'text':_0x20913d,'color':_0x50eae5});this['_textBubble']=_0x5df45d,this[_0x45d907(0x364)]['addObject'](_0x5df45d,_0x599d24),this[_0x45d907(0x259)]=!0x1;}[_0x4e72fd(0x2aa)](){const _0x5bbe1c=_0x4e72fd,_0x277248=this[_0x5bbe1c(0x273)][_0x5bbe1c(0x1ce)][_0x5bbe1c(0x1b3)](()=>{this['_hover']=!0x0;}),_0x1a8d14=this[_0x5bbe1c(0x273)][_0x5bbe1c(0x20c)]['subscribeEvent'](()=>{const _0x5f3539=_0x5bbe1c;this['_hideTimer']&&clearTimeout(this[_0x5f3539(0x2d2)]),this[_0x5f3539(0x2d2)]=setTimeout(()=>{const _0x3d0de0=_0x5f3539;this[_0x3d0de0(0x259)]=!0x1;},0x7d0);});return()=>{const _0x1d4865=_0x5bbe1c;_0x277248[_0x1d4865(0x182)](),_0x1a8d14[_0x1d4865(0x182)]();};}['_drawTextRange'](_0x465500,_0x3f0bc9,_0x30469f,_0x2ab9d1){const _0x164990=_0x4e72fd,_0x4924e6=new _0x4d8387(_0x465500)[_0x164990(0x260)](0.2)['toRgbString'](),_0x1ae7d9=new _0x2a9029(bi+_0x323f3c['generateRandomId'](X),{'pointsGroup':_0x3f0bc9,'fill':_0x4924e6||_0x55c4f2(_0x3d340d['black'],0.2),'left':_0x30469f,'top':_0x2ab9d1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x164990(0x366)](_0x1ae7d9),this[_0x164990(0x364)][_0x164990(0x304)](_0x1ae7d9,_0x599d24);}[_0x4e72fd(0x1ae)](_0x185d82,_0x488a42,_0x269c48,_0x4eaf7f){const _0x5035d6=_0x4e72fd,_0x3bfdb8=new _0x4d8387(_0x185d82)[_0x5035d6(0x260)](0.2)[_0x5035d6(0x243)](),_0xf3432a=new _0x2a9029(Ti+_0x323f3c[_0x5035d6(0x210)](X),{'pointsGroup':_0x488a42,'fill':_0x3bfdb8||_0x55c4f2(_0x3d340d[_0x5035d6(0x18a)],0.2),'left':_0x269c48,'top':_0x4eaf7f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5035d6(0x1c9)][_0x5035d6(0x366)](_0xf3432a),this['_scene'][_0x5035d6(0x304)](_0xf3432a,_0x599d24);}['_getAnchorBounding'](_0x467a76){const _0xbac887=_0x467a76[0x0],_0x53d5e0=_0xbac887[0x0],_0x5a77ef=_0xbac887[0x2],{x:_0x540f55,y:_0x17ee5a}=_0x53d5e0,{x:_0x5c87e3,y:_0x64af14}=_0x5a77ef;return{'left':_0x540f55,'top':_0x17ee5a,'width':_0x5c87e3-_0x540f55,'height':_0x64af14-_0x17ee5a};}['_getScale'](){const _0x5506f9=_0x4e72fd,{scaleX:_0x2174c8,scaleY:_0x4b1cc4}=this[_0x5506f9(0x364)][_0x5506f9(0x211)]();return Math[_0x5506f9(0x18f)](_0x2174c8,_0x4b1cc4);}}var Ui=Object[_0x4e72fd(0x2d6)],Mi=(_0x2e2475,_0x40900e,_0x13cbad,_0x583376)=>{for(var _0x201204=_0x583376>0x1?void 0x0:_0x583376?Ui(_0x40900e,_0x13cbad):_0x40900e,_0x3b4a7e=_0x2e2475['length']-0x1,_0x505f9a;_0x3b4a7e>=0x0;_0x3b4a7e--)(_0x505f9a=_0x2e2475[_0x3b4a7e])&&(_0x201204=_0x505f9a(_0x201204)||_0x201204);return _0x201204;},Z=(_0x2521a7,_0x595579)=>(_0x2e77be,_0x5aa6ab)=>_0x595579(_0x2e77be,_0x5aa6ab,_0x2521a7);let Le=class extends _0x4c7c7e{constructor(_0x25f170,_0x1662ec,_0x8e33a1,_0x11013e,_0x1fd159){const _0x30df15=_0x4e72fd;super(),_(this,'_cursorShapes',[]),_(this,_0x30df15(0x35d),[]),(this[_0x30df15(0x2ec)]=_0x25f170,this[_0x30df15(0x223)]=_0x1662ec,this[_0x30df15(0x320)]=_0x8e33a1,this[_0x30df15(0x1f5)]=_0x11013e,this[_0x30df15(0x2f7)]=_0x1fd159,this[_0x30df15(0x2f8)]());}[_0x4e72fd(0x2f8)](){const _0x52cb48=_0x4e72fd,_0xb70faf=this[_0x52cb48(0x2ec)]['unitId'],_0x449c48=this[_0x52cb48(0x223)];this[_0x52cb48(0x19d)](_0x5f3e83([this[_0x52cb48(0x320)][_0x52cb48(0x298)](_0xb70faf),this['_themeService'][_0x52cb48(0x17d)]])[_0x52cb48(0x220)](_0x5300d0(([_0x54af9b,_0x5f3504])=>({'skeleton':_0x449c48[_0x52cb48(0x2d1)](),'cursors':[..._0x54af9b[_0x52cb48(0x29f)]()][_0x52cb48(0x1b7)](_0x376501=>({..._0x376501,'color':this[_0x52cb48(0x2f7)][_0x52cb48(0x28d)](_0x376501[_0x52cb48(0x359)])}))})))[_0x52cb48(0x26d)](_0x685f36=>{const _0x133eb1=_0x52cb48;if(this[_0x133eb1(0x197)](),_0x685f36){const {skeleton:_0x1f4489,cursors:_0x20eb22}=_0x685f36;this[_0x133eb1(0x27e)](_0x1f4489,_0x20eb22);}})),this[_0x52cb48(0x23d)](),this[_0x52cb48(0x2eb)]();}[_0x4e72fd(0x27e)](_0x35aa65,_0x8202f8){const _0x5cf20a=_0x4e72fd,{scene:_0x4c3e58,mainComponent:_0x4a1f60}=this[_0x5cf20a(0x2ec)],_0x11d2d6=_0x8202f8[_0x5cf20a(0x186)](_0x4df7fa=>new qe(_0x4df7fa,_0x4c3e58,_0x35aa65,_0x4a1f60));this[_0x5cf20a(0x1ac)]=_0x11d2d6,this['_cursors']=_0x8202f8;}[_0x4e72fd(0x2f6)](){const _0x1cc387=_0x4e72fd;this[_0x1cc387(0x197)]();const {scene:_0x293c05,mainComponent:_0x3bc4c6}=this['_context'],_0x1ae238=this[_0x1cc387(0x223)]['getSkeleton'](),_0x3cb0b5=this[_0x1cc387(0x35d)]['map'](_0x4a4ecf=>new qe(_0x4a4ecf,_0x293c05,_0x1ae238,_0x3bc4c6));this[_0x1cc387(0x1ac)]=_0x3cb0b5;}[_0x4e72fd(0x197)](){const _0x55d44c=_0x4e72fd;this[_0x55d44c(0x1ac)]['forEach'](_0xb1c02c=>_0xb1c02c['dispose']()),this[_0x55d44c(0x1ac)]=[];}[_0x4e72fd(0x2eb)](){const _0x3e70f6=_0x4e72fd,_0x2379f1=[_0x2a6140['id']];this[_0x3e70f6(0x19d)](this[_0x3e70f6(0x1f5)]['onCommandExecuted'](_0x1a715d=>{const _0x2cda54=_0x3e70f6;_0x2379f1[_0x2cda54(0x34c)](_0x1a715d['id'])&&_0x1a715d[_0x2cda54(0x29b)][_0x2cda54(0x246)]===this[_0x2cda54(0x2ec)][_0x2cda54(0x246)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x51d885=_0x4e72fd;this[_0x51d885(0x19d)](_0x33ebf8(this['_context']['engine'][_0x51d885(0x33f)])[_0x51d885(0x220)](_0x57683b(_0x7f53b2=>_0x7f53b2[_0x51d885(0x216)]===_0x22d7d5[_0x51d885(0x32b)]),_0x10996d(0x10))[_0x51d885(0x26d)](()=>{const _0x3649b9=_0x51d885;this[_0x3649b9(0x2f6)]();}));}};Le=Mi([Z(0x1,_0x3978bf(_0x4241b3)),Z(0x2,_0x3978bf(H)),Z(0x3,_0x213a2d),Z(0x4,_0x3978bf(_0x598c2b))],Le);const Li=0x1,Pi=1.5;class wi extends _0x283367{constructor(_0x531ee8,_0x131210){const _0x571bb8=_0x4e72fd;super(_0x531ee8,_0x131210),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x571bb8(0x286)),_(this,_0x571bb8(0x2b7),''),_(this,_0x571bb8(0x1e1),_0x571bb8(0x280)),_(this,_0x571bb8(0x1e0)),(_0x131210&&this[_0x571bb8(0x172)](_0x131210),this['onPointerEnter$'][_0x571bb8(0x1b3)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x571bb8(0x1b3)](()=>this[_0x571bb8(0x172)]({'hovered':!0x1})));}['setShapeProps'](_0xc667e2){const _0x246bd1=_0x4e72fd;var _0x4fc5d8,_0x6ee0c0,_0x367113,_0xee20a7,_0xc434da,_0x59d4c1;this[_0x246bd1(0x2a4)]=(_0x4fc5d8=_0xc667e2['color'])!=null?_0x4fc5d8:this[_0x246bd1(0x2a4)],this[_0x246bd1(0x300)]=(_0x6ee0c0=_0xc667e2[_0x246bd1(0x338)])!=null?_0x6ee0c0:this[_0x246bd1(0x300)],this[_0x246bd1(0x286)]=(_0x367113=_0xc667e2[_0x246bd1(0x184)])!=null?_0x367113:this['_range'],this[_0x246bd1(0x2b7)]=(_0xee20a7=_0xc667e2['name'])!=null?_0xee20a7:this[_0x246bd1(0x2b7)],this[_0x246bd1(0x1e1)]=(_0xc434da=_0xc667e2[_0x246bd1(0x17a)])!=null?_0xc434da:this['_labelPosition'],this[_0x246bd1(0x1e0)]=(_0x59d4c1=_0xc667e2[_0x246bd1(0x252)])!=null?_0x59d4c1:this[_0x246bd1(0x1e0)],this[_0x246bd1(0x1f3)]({'width':_0xc667e2[_0x246bd1(0x166)],'height':_0xc667e2[_0x246bd1(0x2d5)]});}[_0x4e72fd(0x233)](_0x390698){const _0x382385=_0x4e72fd,{row:_0x1fe3a9,column:_0x4931c5}=_0x390698;if(_0x1fe3a9>=this[_0x382385(0x286)][_0x382385(0x1fe)]&&_0x1fe3a9<=this['_range']['endRow']&&_0x4931c5>=this[_0x382385(0x286)][_0x382385(0x26e)]&&_0x4931c5<=this['_range'][_0x382385(0x17e)]){this[_0x382385(0x172)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4e72fd(0x1aa)](_0x196645){return!0x1;}['_draw'](_0x11369c){const _0x5cc40d=_0x4e72fd;_0x152506[_0x5cc40d(0x355)](_0x11369c,{'width':this[_0x5cc40d(0x166)],'height':this[_0x5cc40d(0x2d5)],'strokeWidth':Pi,'stroke':this[_0x5cc40d(0x2a4)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5cc40d(0x300)]&&(_0x11369c[_0x5cc40d(0x24a)](),_0x11369c['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x5cc40d(0x277)?0x0:-0x14),he[_0x5cc40d(0x355)](_0x11369c,{'text':this[_0x5cc40d(0x2b7)],'color':this[_0x5cc40d(0x2a4)]}),_0x11369c[_0x5cc40d(0x244)]());}}var Ai=Object[_0x4e72fd(0x2d6)],yi=(_0x332c86,_0x3ed250,_0xd1977,_0x3abc3e)=>{const _0x27554f=_0x4e72fd;for(var _0x29063a=_0x3abc3e>0x1?void 0x0:_0x3abc3e?Ai(_0x3ed250,_0xd1977):_0x3ed250,_0x4dca5f=_0x332c86[_0x27554f(0x330)]-0x1,_0x5841bc;_0x4dca5f>=0x0;_0x4dca5f--)(_0x5841bc=_0x332c86[_0x4dca5f])&&(_0x29063a=_0x5841bc(_0x29063a)||_0x29063a);return _0x29063a;},ve=(_0x40b151,_0x36ff0c)=>(_0x401e90,_0x5d626d)=>_0x36ff0c(_0x401e90,_0x5d626d,_0x40b151);const $i=0x1389;let Pe=class extends _0x4c7c7e{constructor(_0xacab33,_0x44c411,_0xc028e,_0x3e9d64){const _0x3a214a=_0x4e72fd;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x3a214a(0x2ec)]=_0xacab33,this[_0x3a214a(0x2c3)]=_0x44c411,this[_0x3a214a(0x320)]=_0xc028e,this['_themeService']=_0x3e9d64,this[_0x3a214a(0x2f8)]());}[_0x4e72fd(0x2f8)](){const _0x29b85b=_0x4e72fd;this[_0x29b85b(0x2c3)][_0x29b85b(0x2ce)][_0x29b85b(0x220)](_0x74c2c4(this[_0x29b85b(0x31b)]),_0x751ecb(_0x21f3e9=>{const _0x131d93=_0x29b85b;if(_0x21f3e9){const _0xfd2073=_0x21f3e9[_0x131d93(0x313)];return _0x5f3e83(this['_collabCursorController']['getCollabCursors$'](this[_0x131d93(0x2ec)][_0x131d93(0x246)]),this[_0x131d93(0x2f7)]['currentTheme$'])[_0x131d93(0x220)](_0x5300d0(([_0x21b585,_0x398470])=>{const _0x357f22=new Map();return _0x21b585['forEach']((_0x57ee3e,_0x2eeb9b)=>{const _0x3f1e0e=_0x3b51;if(_0x57ee3e[_0x3f1e0e(0x2e9)]===_0xfd2073){const _0x269265={..._0x57ee3e};_0x269265['color']=this[_0x3f1e0e(0x2f7)]['getColorFromTheme'](_0x57ee3e['color']),_0x357f22[_0x3f1e0e(0x30a)](_0x2eeb9b,_0x269265);}}),{'skeleton':_0x21f3e9,'cursors':_0x357f22};}));}return _0x59d378({'skeleton':null,'cursors':new Map()});}))[_0x29b85b(0x26d)](({skeleton:_0x4c2d60,cursors:_0x2fe2b4})=>{const _0x5dc895=_0x29b85b;this[_0x5dc895(0x197)](),_0x4c2d60&&this[_0x5dc895(0x27e)](_0x4c2d60,_0x2fe2b4);}),this[_0x29b85b(0x2c3)]['currentSkeleton$'][_0x29b85b(0x26d)](_0xa7b4d=>{const _0x3d4976=_0x29b85b;if(_0xa7b4d==null)return;const {skeleton:_0x59536a}=_0xa7b4d,{scene:_0x262ebf}=this[_0x3d4976(0x2ec)];_0x262ebf[_0x3d4976(0x1a8)]['subscribeEvent'](_0x449743(_0x15c71c=>{const _0x20f21c=_0x3d4976;var _0x2670cb,_0x3dcdaa;const {offsetX:_0x27cc12,offsetY:_0x268743}=_0x15c71c,{x:_0x48415f,y:_0x3d83c3}=_0x262ebf[_0x20f21c(0x314)](_0x4afb0f['FromArray']([_0x27cc12,_0x268743])),{scaleX:_0x4cbacd,scaleY:_0x7574cd}=_0x262ebf['getAncestorScale'](),_0x29c295=_0x262ebf[_0x20f21c(0x237)](_0x2f8408[_0x20f21c(0x27a)]),_0x429711=_0x262ebf[_0x20f21c(0x1ba)](_0x4afb0f[_0x20f21c(0x1d0)]([_0x48415f,_0x3d83c3]),_0x29c295),_0x55dfa0=_0x59536a[_0x20f21c(0x2c5)](_0x27cc12,_0x268743,_0x4cbacd,_0x7574cd,_0x429711);((_0x2670cb=this[_0x20f21c(0x1ab)])==null?void 0x0:_0x2670cb[_0x20f21c(0x327)])===_0x55dfa0[_0x20f21c(0x327)]&&((_0x3dcdaa=this[_0x20f21c(0x1ab)])==null?void 0x0:_0x3dcdaa[_0x20f21c(0x1fd)])===_0x55dfa0[_0x20f21c(0x1fd)]||this[_0x20f21c(0x35d)]['forEach'](_0xff6f21=>{const _0x37aee6=_0x20f21c;_0xff6f21[_0x37aee6(0x233)](_0x55dfa0);});},0x64));});}['_updateCollabCursors'](_0x19d3f5,_0x204972){const _0x18a942=_0x4e72fd;var _0x18c477;const _0x2bbcdf=(_0x18c477=this['_sheetSkeletonManagerService'][_0x18a942(0x183)]())==null?void 0x0:_0x18c477['skeleton'];if(!_0x2bbcdf)return;const _0x326d03=this[_0x18a942(0x25e)]();if(!_0x326d03)return;this[_0x18a942(0x35d)][_0x18a942(0x19b)](_0x6de72a=>{const _0x393df4=_0x18a942;_0x6de72a[_0x393df4(0x2f5)]();});const {scene:_0x1670b0}=_0x326d03,_0x423cf0=xi(Array['from'](_0x204972[_0x18a942(0x29f)]()))[_0x18a942(0x186)](_0x52acd0=>{const _0x180863=_0x18a942,{color:_0x16895a,range:_0x51228c,name:_0x39e529,selection:_0x2676f4,sheetID:_0x2719e2}=_0x52acd0,{startColumn:_0x298581,startRow:_0x2b5a1a,endColumn:_0x1bb75d,endRow:_0x23dc69}=_0x51228c,_0x114e3f=_0x46c784(_0x2b5a1a,_0x298581,_0x1670b0,_0x2bbcdf),_0x52020c=_0x46c784(_0x23dc69,_0x1bb75d,_0x1670b0,_0x2bbcdf),{columnHeaderHeightAndMarginTop:_0x3e4997}=_0x2bbcdf,{startX:_0x368843,startY:_0x419b6d}=_0x114e3f,{endX:_0x20329d,endY:_0x1a5562}=_0x52020c,_0x15280a=_0x20329d-_0x368843,_0x271819=_0x1a5562-_0x419b6d,_0x5a2f84={'labelPosition':_0x419b6d-_0x3e4997>=ee?_0x180863(0x280):_0x180863(0x277),'sheetID':_0x2719e2,'range':_0x51228c,'color':_0x16895a,'name':_0x39e529,'selection':_0x2676f4,'left':_0x368843,'top':_0x419b6d,'width':_0x15280a,'height':_0x271819,'evented':!0x1,'zIndex':$i};return new wi(_0x39e529,_0x5a2f84);});_0x1670b0[_0x18a942(0x25b)](_0x423cf0,Li),this[_0x18a942(0x35d)]=new Set(_0x423cf0);}[_0x4e72fd(0x197)](){const _0x308c5d=_0x4e72fd;var _0x227d20;(_0x227d20=this[_0x308c5d(0x35d)])==null||_0x227d20[_0x308c5d(0x19b)](_0x18b738=>_0x18b738[_0x308c5d(0x270)]());}[_0x4e72fd(0x25e)](){const _0x10fa60=_0x4e72fd;return _0x56ac2a(this[_0x10fa60(0x2ec)][_0x10fa60(0x2b6)],this[_0x10fa60(0x2ec)]);}};Pe=yi([ve(0x1,_0x3978bf(_0x3dde03)),ve(0x2,_0x3978bf(H)),ve(0x3,_0x3978bf(_0x598c2b))],Pe);function xi(_0x515cb9){const _0x467912=_0x4e72fd,_0x3f968f=new Map();return _0x515cb9[_0x467912(0x19b)](_0x202d1f=>{const _0x29d603=_0x467912;if(_0x3f968f[_0x29d603(0x1ec)](_0x202d1f[_0x29d603(0x2a8)])){const _0x520712=_0x3f968f['get'](_0x202d1f[_0x29d603(0x2a8)]);_0x520712[_0x29d603(0x2b8)]+=',\x20'+_0x202d1f[_0x29d603(0x2b8)];}else _0x3f968f[_0x29d603(0x30a)](_0x202d1f['selection'],_0x202d1f);}),Array[_0x467912(0x236)](_0x3f968f['values']());}var v=function(){const _0x38fc69=_0x4e72fd;return v=Object[_0x38fc69(0x17b)]||function(_0x1cb394){const _0x53e353=_0x38fc69;for(var _0x5adc68,_0x3aba3a=0x1,_0x5d947f=arguments[_0x53e353(0x330)];_0x3aba3a<_0x5d947f;_0x3aba3a++){_0x5adc68=arguments[_0x3aba3a];for(var _0x5428eb in _0x5adc68)Object['prototype'][_0x53e353(0x19a)][_0x53e353(0x1b0)](_0x5adc68,_0x5428eb)&&(_0x1cb394[_0x5428eb]=_0x5adc68[_0x5428eb]);}return _0x1cb394;},v[_0x38fc69(0x247)](this,arguments);},Bi=function(_0x39c05e,_0x5c5ef5){const _0x2c61b2=_0x4e72fd;var _0x5aa392={};for(var _0x5c91ce in _0x39c05e)Object[_0x2c61b2(0x262)][_0x2c61b2(0x19a)]['call'](_0x39c05e,_0x5c91ce)&&_0x5c5ef5['indexOf'](_0x5c91ce)<0x0&&(_0x5aa392[_0x5c91ce]=_0x39c05e[_0x5c91ce]);if(_0x39c05e!=null&&typeof Object[_0x2c61b2(0x1bb)]==_0x2c61b2(0x2c9)){for(var _0x45e507=0x0,_0x5c91ce=Object['getOwnPropertySymbols'](_0x39c05e);_0x45e507<_0x5c91ce[_0x2c61b2(0x330)];_0x45e507++)_0x5c5ef5[_0x2c61b2(0x2ee)](_0x5c91ce[_0x45e507])<0x0&&Object[_0x2c61b2(0x262)][_0x2c61b2(0x202)][_0x2c61b2(0x1b0)](_0x39c05e,_0x5c91ce[_0x45e507])&&(_0x5aa392[_0x5c91ce[_0x45e507]]=_0x39c05e[_0x5c91ce[_0x45e507]]);}return _0x5aa392;},Fe=_0x22ab66(function(_0x5a6b4d,_0x2ac845){const _0x2d27b6=_0x4e72fd;var _0xe69309=_0x5a6b4d[_0x2d27b6(0x2b0)],_0x3dccdb=_0x5a6b4d['id'],_0x132308=_0x5a6b4d['className'],_0x26728d=_0x5a6b4d[_0x2d27b6(0x2fa)],_0x1a7bea=Bi(_0x5a6b4d,[_0x2d27b6(0x2b0),'id',_0x2d27b6(0x307),_0x2d27b6(0x2fa)]),_0x2d0c22=_0x2d27b6(0x170)[_0x2d27b6(0x34e)](_0x3dccdb,'\x20')['concat'](_0x132308||'')['trim'](),_0x4253b0=_0x5e9ffd('_'[_0x2d27b6(0x34e)](Fi()));return Rt(_0xe69309,''[_0x2d27b6(0x34e)](_0x3dccdb),{'defIds':_0xe69309[_0x2d27b6(0x36a)],'idSuffix':_0x4253b0[_0x2d27b6(0x295)]},v({'ref':_0x2ac845,'className':_0x2d0c22},_0x1a7bea),_0x26728d);});function Rt(_0x57bb74,_0x136519,_0x1706eb,_0x3b466d,_0x6b535a){const _0x2575cd=_0x4e72fd;return _0xb3c7a5(_0x57bb74[_0x2575cd(0x1c6)],v(v({'key':_0x136519},ki(_0x57bb74,_0x1706eb,_0x6b535a)),_0x3b466d),(Hi(_0x57bb74,_0x1706eb)['children']||[])[_0x2575cd(0x186)](function(_0x48c2ce,_0x392fb5){const _0x59ae43=_0x2575cd;return Rt(_0x48c2ce,''[_0x59ae43(0x34e)](_0x136519,'-')[_0x59ae43(0x34e)](_0x57bb74['tag'],'-')[_0x59ae43(0x34e)](_0x392fb5),_0x1706eb,void 0x0,_0x6b535a);}));}function ki(_0x2c1680,_0x40034b,_0xbed319){const _0x2ff750=_0x4e72fd;var _0x5e763c=v({},_0x2c1680[_0x2ff750(0x329)]);_0xbed319!=null&&_0xbed319['colorChannel1']&&_0x5e763c[_0x2ff750(0x275)]===_0x2ff750(0x2bc)&&(_0x5e763c[_0x2ff750(0x275)]=_0xbed319[_0x2ff750(0x2bc)]),_0x2c1680[_0x2ff750(0x1c6)]===_0x2ff750(0x241)&&_0x5e763c['id']&&(_0x5e763c['id']=_0x5e763c['id']+_0x40034b[_0x2ff750(0x331)]),Object['entries'](_0x5e763c)[_0x2ff750(0x19b)](function(_0x13020c){const _0x4122b1=_0x2ff750;var _0x4272c3=_0x13020c[0x0],_0x44bbef=_0x13020c[0x1];_0x4272c3===_0x4122b1(0x241)&&typeof _0x44bbef==_0x4122b1(0x1e9)&&(_0x5e763c[_0x4272c3]=_0x44bbef[_0x4122b1(0x212)](/url\(#(.*)\)/,_0x4122b1(0x272)[_0x4122b1(0x34e)](_0x40034b['idSuffix'],')')));});var _0x48dbb0=_0x40034b[_0x2ff750(0x36a)];return!_0x48dbb0||_0x48dbb0['length']===0x0||(_0x2c1680[_0x2ff750(0x1c6)]===_0x2ff750(0x31a)&&_0x5e763c[_0x2ff750(0x21c)]&&(_0x5e763c['xlink:href']=_0x5e763c[_0x2ff750(0x21c)]+_0x40034b[_0x2ff750(0x331)]),Object[_0x2ff750(0x265)](_0x5e763c)[_0x2ff750(0x19b)](function(_0x4fee04){const _0x464268=_0x2ff750;var _0x86ff8f=_0x4fee04[0x0],_0x1f75aa=_0x4fee04[0x1];typeof _0x1f75aa==_0x464268(0x1e9)&&(_0x5e763c[_0x86ff8f]=_0x1f75aa['replace'](/url\(#(.*)\)/,_0x464268(0x272)['concat'](_0x40034b[_0x464268(0x331)],')')));})),_0x5e763c;}function Hi(_0x15f070,_0x28dca3){const _0x174d42=_0x4e72fd;var _0xa5a750,_0x4828d5=_0x28dca3['defIds'];return!_0x4828d5||_0x4828d5[_0x174d42(0x330)]===0x0?_0x15f070:_0x15f070['tag']===_0x174d42(0x352)&&(!((_0xa5a750=_0x15f070['children'])===null||_0xa5a750===void 0x0)&&_0xa5a750[_0x174d42(0x330)])?v(v({},_0x15f070),{'children':_0x15f070[_0x174d42(0x31e)][_0x174d42(0x186)](function(_0x218864){const _0x17f46a=_0x174d42;return typeof _0x218864[_0x17f46a(0x329)]['id']==_0x17f46a(0x1e9)&&_0x4828d5&&_0x4828d5[_0x17f46a(0x34c)](_0x218864['attrs']['id'])?v(v({},_0x218864),{'attrs':v(v({},_0x218864['attrs']),{'id':_0x218864[_0x17f46a(0x329)]['id']+_0x28dca3[_0x17f46a(0x331)]})}):_0x218864;})}):_0x15f070;}function _0x3b51(_0x3cd94a,_0x97e9cb){const _0x3dc8ea=_0x3dc8();return _0x3b51=function(_0x3b51e4,_0x343eef){_0x3b51e4=_0x3b51e4-0x163;let _0x387a85=_0x3dc8ea[_0x3b51e4];return _0x387a85;},_0x3b51(_0x3cd94a,_0x97e9cb);}function Fi(){const _0x46efc6=_0x4e72fd;return Math[_0x46efc6(0x288)]()[_0x46efc6(0x19c)](0x24)[_0x46efc6(0x29d)](0x2,0x8);}Fe['displayName']=_0x4e72fd(0x2e4);var Yi={'tag':_0x4e72fd(0x1e4),'attrs':{'xmlns':_0x4e72fd(0x225),'fill':_0x4e72fd(0x24b),'viewBox':_0x4e72fd(0x339),'width':_0x4e72fd(0x336),'height':_0x4e72fd(0x336)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4e72fd(0x249),'d':_0x4e72fd(0x351),'strokeLinecap':_0x4e72fd(0x334),'strokeLinejoin':_0x4e72fd(0x334),'strokeWidth':1.2}}]},{'tag':_0x4e72fd(0x352),'attrs':{},'children':[{'tag':_0x4e72fd(0x30f),'attrs':{'id':_0x4e72fd(0x36e)},'children':[{'tag':_0x4e72fd(0x1a3),'attrs':{'fill':_0x4e72fd(0x29c),'d':_0x4e72fd(0x2ca)}}]}]}],'defIds':[_0x4e72fd(0x36e)]},Dt=_0x22ab66(function(_0x272bb3,_0x1230db){const _0x18a272=_0x4e72fd;return _0xb3c7a5(Fe,Object['assign']({},_0x272bb3,{'id':_0x18a272(0x1ad),'ref':_0x1230db,'icon':Yi}));});Dt[_0x4e72fd(0x214)]=_0x4e72fd(0x34f);var ji={'tag':_0x4e72fd(0x1e4),'attrs':{'xmlns':_0x4e72fd(0x225),'fill':_0x4e72fd(0x24b),'viewBox':'0\x200\x2017\x2016','width':_0x4e72fd(0x336),'height':_0x4e72fd(0x336)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4e72fd(0x1a3),'attrs':{'stroke':_0x4e72fd(0x249),'d':_0x4e72fd(0x296),'strokeLinecap':'round','strokeLinejoin':_0x4e72fd(0x334),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e72fd(0x30f),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x4e72fd(0x29c),'d':_0x4e72fd(0x2ca),'transform':_0x4e72fd(0x274)}}]}]}],'defIds':[_0x4e72fd(0x1e7)]},Nt=_0x22ab66(function(_0x45cc2e,_0x295af6){const _0xbceb19=_0x4e72fd;return _0xb3c7a5(Fe,Object[_0xbceb19(0x17b)]({},_0x45cc2e,{'id':_0xbceb19(0x292),'ref':_0x295af6,'icon':ji}));});Nt[_0x4e72fd(0x214)]='OnLineIcon';function Vi(_0x2e3ba4){const _0x4acc4a=_0x4e72fd;switch(_0x2e3ba4){case _0x465d72['OFFLINE']:return'collabStatus.offline';case _0x465d72[_0x4acc4a(0x323)]:return _0x4acc4a(0x24c);case _0x465d72[_0x4acc4a(0x2a9)]:return'collabStatus.fetchMiss';case _0x465d72[_0x4acc4a(0x264)]:return'collabStatus.notCollab';case _0x465d72[_0x4acc4a(0x299)]:case _0x465d72['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x465d72[_0x4acc4a(0x2cb)]:case _0x465d72['PENDING']:return _0x4acc4a(0x31c);}}function Wi(_0x32f7f4){const _0x4c1bf5=_0x4e72fd,{status$:_0x369067}=_0x32f7f4,_0x2e0f19=_0x2c7948(_0x369067,_0x465d72['NOT_COLLAB']),_0x1c8c13=_0x4ac78b(_0x4d43d2),_0x28cdd5=_0x4ac78b(_0x2986ef),_0x43bb59=_0x2e0f19!==_0x465d72['OFFLINE'],_0x285a1e=_0x1c8c13['t'](Vi(_0x2e0f19)),_0x3f2abb=_0x43bb59?_0x4e3134(Nt,{}):_0x4e3134(Dt,{}),_0x292254=_0x549e10(()=>{const _0x3cc8b8=_0x3b51;_0x43bb59||_0x28cdd5[_0x3cc8b8(0x198)]();},[_0x43bb59,_0x28cdd5]);function _0x447cc1(){const _0xc7f31f=_0x3b51;return _0x41dff2(_0xc7f31f(0x29a),{'className':_0xc7f31f(0x235),'onClick':_0x292254,'children':[_0x4e3134('div',{'className':_0x5490e6(_0xc7f31f(0x1d8),{'univer-text-green-500':_0x43bb59,'univer-text-red-500':!_0x43bb59}),'children':_0x3f2abb}),_0x4e3134(_0xc7f31f(0x29a),{'className':_0xc7f31f(0x255),'children':_0x285a1e})]});}return _0x43bb59?_0x447cc1():_0x4e3134(_0x757013,{'title':_0x1c8c13['t'](_0x4c1bf5(0x222)),'children':_0x447cc1()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x2a039a,_0xe3c0b3,_0x4be4ba,_0xa6e7a7)=>{const _0x1564f6=_0x4e72fd;for(var _0x44ba94=_0xa6e7a7>0x1?void 0x0:_0xa6e7a7?Xi(_0xe3c0b3,_0x4be4ba):_0xe3c0b3,_0x3473a9=_0x2a039a[_0x1564f6(0x330)]-0x1,_0x40b961;_0x3473a9>=0x0;_0x3473a9--)(_0x40b961=_0x2a039a[_0x3473a9])&&(_0x44ba94=_0x40b961(_0x44ba94)||_0x44ba94);return _0x44ba94;},Q=(_0x20c173,_0x2fdc29)=>(_0x422380,_0x379c08)=>_0x2fdc29(_0x422380,_0x379c08,_0x20c173);let te=class extends _0x1ed90e{constructor(_0x3d32c4,_0x484c65,_0x3c85a2,_0x1070bd){const _0x39a7e2=_0x4e72fd;super(),_(this,_0x39a7e2(0x190),new _0xbbcda8(_0x465d72[_0x39a7e2(0x264)])),(this[_0x39a7e2(0x1c7)]=_0x3d32c4,this[_0x39a7e2(0x1d2)]=_0x484c65,this[_0x39a7e2(0x31d)]=_0x3c85a2,this[_0x39a7e2(0x2d8)]=_0x1070bd,this[_0x39a7e2(0x1c3)](),this[_0x39a7e2(0x30e)]());}[_0x4e72fd(0x30e)](){const _0x401108=_0x4e72fd;this[_0x401108(0x19d)](this[_0x401108(0x1c7)][_0x401108(0x363)][_0x401108(0x220)](_0x422903(()=>{const _0x3be0f6=_0x401108,_0x2d9e9a=this[_0x3be0f6(0x1c7)]['getFocusedUnit']();return _0x2d9e9a?this['_collaborationController']['getCollabEntity$'](_0x2d9e9a[_0x3be0f6(0x239)]()):_0x59d378(null);}),_0x422903(_0x397d33=>_0x397d33?_0x397d33[_0x401108(0x2a7)]:_0x59d378(_0x465d72[_0x401108(0x264)])))[_0x401108(0x26d)](_0x4637aa=>{const _0xd3d362=_0x401108;this[_0xd3d362(0x190)][_0xd3d362(0x16b)](_0x4637aa);}));}[_0x4e72fd(0x1c3)](){const _0x38e0c9=_0x4e72fd;this['disposeWithMe'](this[_0x38e0c9(0x2d8)][_0x38e0c9(0x293)](_0x5e0c72[_0x38e0c9(0x1a0)],()=>_0x2ac687(Ki({'status$':this[_0x38e0c9(0x190)][_0x38e0c9(0x328)]()}),this[_0x38e0c9(0x1d2)])));}};te=Gi([Q(0x0,_0x3de8bd),Q(0x1,_0x3978bf(_0x34e1fa)),Q(0x2,_0x3978bf(_0x1e1b99)),Q(0x3,_0x110553)],te);function Ki(_0x48a12a){const {status$:_0x457a8d}=_0x48a12a;return function(){return _0x4e3134(Wi,{'status$':_0x457a8d});};}var zi=Object[_0x4e72fd(0x2d6)],Ji=(_0x2731e6,_0x20892c,_0x81e0aa,_0x5418fb)=>{for(var _0x40b643=_0x5418fb>0x1?void 0x0:_0x5418fb?zi(_0x20892c,_0x81e0aa):_0x20892c,_0x3293ce=_0x2731e6['length']-0x1,_0x430ea9;_0x3293ce>=0x0;_0x3293ce--)(_0x430ea9=_0x2731e6[_0x3293ce])&&(_0x40b643=_0x430ea9(_0x40b643)||_0x40b643);return _0x40b643;},B=(_0x1726df,_0x28da04)=>(_0x4290f9,_0x43b8f0)=>_0x28da04(_0x4290f9,_0x43b8f0,_0x1726df);let se=class extends _0x1ed90e{constructor(_0xb7548d,_0x3dc2ea,_0x30335b,_0x140c82,_0x1b748b,_0x106ef6){const _0x1af157=_0x4e72fd;super(),this[_0x1af157(0x1a5)]=_0xb7548d,this['_localCacheService']=_0x3dc2ea,this[_0x1af157(0x25c)]=_0x30335b,this[_0x1af157(0x2d7)]=_0x140c82,this[_0x1af157(0x2f9)]=_0x1b748b,this[_0x1af157(0x174)]=_0x106ef6,this[_0x1af157(0x311)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xda0aee=_0x4e72fd;this[_0xda0aee(0x19d)](this[_0xda0aee(0x1a5)][_0xda0aee(0x1ee)](()=>{const _0x43bacc=_0xda0aee;if(this[_0x43bacc(0x2c4)][_0x43bacc(0x168)][_0x43bacc(0x2dc)])return this[_0x43bacc(0x174)]['t'](_0x43bacc(0x28f));}));}[_0x4e72fd(0x36c)](){const _0x491020=_0x4e72fd;this[_0x491020(0x19d)](this[_0x491020(0x25c)][_0x491020(0x1f8)][_0x491020(0x26d)](_0x4d5dd5=>{const _0x3cdbdf=_0x491020;_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x1bc)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05['Warning'],'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x33e))}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x2b4)]&&this['_messageService'][_0x3cdbdf(0x2b2)]({'type':_0x398b05[_0x3cdbdf(0x1ca)],'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x195))}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x282)]&&this['_notificationService']['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x189)),'type':_0x3cdbdf(0x2a5),'duration':0x0}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x323)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05['Error'],'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x195))+'('+_0x4d5dd5[_0x3cdbdf(0x185)]+')'}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x169)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05[_0x3cdbdf(0x1ca)],'content':this[_0x3cdbdf(0x174)]['t'](_0x4d5dd5['data']||'')}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x248)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05['Warning'],'content':this[_0x3cdbdf(0x174)]['t'](_0x3cdbdf(0x204))}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x23e)]&&this[_0x3cdbdf(0x2d7)][_0x3cdbdf(0x2b2)]({'type':_0x398b05['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x4d5dd5['id']===_0x1f4da2[_0x3cdbdf(0x1df)]&&this['_messageService'][_0x3cdbdf(0x2b2)]({'type':_0x398b05[_0x3cdbdf(0x340)],'content':this[_0x3cdbdf(0x174)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x5812fa),B(0x1,_0x887162),B(0x2,_0x3978bf(_0x1defd2)),B(0x3,_0x556324),B(0x4,_0x5d82b5),B(0x5,_0x3978bf(_0x4d43d2))],se);const Zi=_0x4e72fd(0x207),et={},Ut=_0x304b66(_0x4e72fd(0x1d9));var Qi=Object[_0x4e72fd(0x2d6)],qi=(_0xf047bd,_0xd6e40f,_0x2bd1d6,_0x3a986e)=>{const _0x8be27d=_0x4e72fd;for(var _0x5349d4=_0x3a986e>0x1?void 0x0:_0x3a986e?Qi(_0xd6e40f,_0x2bd1d6):_0xd6e40f,_0x36182e=_0xf047bd[_0x8be27d(0x330)]-0x1,_0xbcaa17;_0x36182e>=0x0;_0x36182e--)(_0xbcaa17=_0xf047bd[_0x36182e])&&(_0x5349d4=_0xbcaa17(_0x5349d4)||_0x5349d4);return _0x5349d4;},G=(_0xbaa4e1,_0x52ae7c)=>(_0x5872bf,_0x4dda0c)=>_0x52ae7c(_0x5872bf,_0x4dda0c,_0xbaa4e1);let ie=class extends _0x4c7c7e{constructor(_0x2d36dc,_0xfcf2b6,_0x2a7aca,_0x23d695,_0x52d94c){const _0x131b0c=_0x4e72fd;super(),this[_0x131b0c(0x2c1)]=_0x2d36dc,this[_0x131b0c(0x35e)]=_0xfcf2b6,this[_0x131b0c(0x1f5)]=_0x2a7aca,this['_dataLoaderService']=_0x23d695,_0x52d94c?_0x52d94c==null||_0x52d94c[_0x131b0c(0x22e)]()[_0x131b0c(0x24f)](()=>this['_init']()):(this[_0x131b0c(0x35e)][_0x131b0c(0x1b2)](_0x131b0c(0x180),_0x131b0c(0x1f0)),this[_0x131b0c(0x2f8)]());}async[_0x4e72fd(0x2f8)](){const _0x46dc6c=_0x4e72fd,_0x378539=this[_0x46dc6c(0x2c1)][_0x46dc6c(0x217)](_0x46dc6c(0x2b6)),_0xcb7d42=this['_urlService']['getParam'](_0x46dc6c(0x216)),_0x16d78c=this['_urlService'][_0x46dc6c(0x217)](_0x46dc6c(0x21b));if(!_0x378539||!_0xcb7d42){this[_0x46dc6c(0x35e)]['debug'](_0x46dc6c(0x180),_0x46dc6c(0x33c));return;}const _0x5bdc56=await this['_dataLoaderService'][_0x46dc6c(0x20f)](_0x378539,Number(_0xcb7d42),_0x16d78c);_0x5bdc56&&_0x5bdc56 instanceof _0x3debcb&&this['_setupSubUnitSync'](_0x5bdc56);}async['_setupSubUnitSync'](_0x15f3be){const _0x493d0f=_0x4e72fd;await this[_0x493d0f(0x27f)](_0x15f3be),_0x15f3be[_0x493d0f(0x2f3)][_0x493d0f(0x220)](_0x48049b(this[_0x493d0f(0x31b)]))[_0x493d0f(0x26d)](_0x27ef6d=>{const _0x8e7fe8=_0x493d0f;_0x27ef6d&&this[_0x8e7fe8(0x31f)](_0x27ef6d);}),this[_0x493d0f(0x2c1)][_0x493d0f(0x17c)][_0x493d0f(0x220)](_0x48049b(this['dispose$']))[_0x493d0f(0x26d)](()=>this['_updateSubUnitFromURLParams'](_0x15f3be));}[_0x4e72fd(0x31f)](_0x404820,_0xc71a4=!0x1){const _0x19e45e=_0x4e72fd,_0x1fa62f=this['_urlService'][_0x19e45e(0x217)]('subunit');_0x404820[_0x19e45e(0x1a1)]()!==_0x1fa62f&&this[_0x19e45e(0x2c1)][_0x19e45e(0x28e)](_0x19e45e(0x21b),_0x404820[_0x19e45e(0x1a1)](),_0xc71a4);}async[_0x4e72fd(0x27f)](_0xcb509e){const _0x2aa08f=_0x4e72fd;var _0x333df7;const _0x326554=this['_urlService'][_0x2aa08f(0x217)](_0x2aa08f(0x21b));if(!_0x326554||!_0xcb509e[_0x2aa08f(0x2a6)](_0x326554)){const _0x2c7693=_0xcb509e[_0x2aa08f(0x200)]()[0x0],_0x5d55d5=_0xcb509e[_0x2aa08f(0x2a6)](_0x2c7693);if(!_0x5d55d5)return;this[_0x2aa08f(0x31f)](_0x5d55d5,!0x0),await this[_0x2aa08f(0x1f5)][_0x2aa08f(0x192)](_0x21d5ab['id'],{'unitId':_0xcb509e[_0x2aa08f(0x239)](),'subUnitId':_0x2c7693});return;}((_0x333df7=_0xcb509e['getActiveSheet']())==null?void 0x0:_0x333df7[_0x2aa08f(0x1a1)]())!==_0x326554&&await this[_0x2aa08f(0x1f5)][_0x2aa08f(0x192)](_0x21d5ab['id'],{'unitId':_0xcb509e[_0x2aa08f(0x239)](),'subUnitId':_0x326554});}};ie=qi([G(0x0,Ut),G(0x1,_0x2c1045),G(0x2,_0x213a2d),G(0x3,_0x3978bf(_0x6b9d31)),G(0x4,_0x44507a(_0x4e5c3e))],ie);var en=Object[_0x4e72fd(0x2d6)],tn=(_0x442104,_0x27399f,_0x4a1daa,_0x57ec06)=>{for(var _0x12f7f9=_0x57ec06>0x1?void 0x0:_0x57ec06?en(_0x27399f,_0x4a1daa):_0x27399f,_0x9343a0=_0x442104['length']-0x1,_0x9a503;_0x9343a0>=0x0;_0x9343a0--)(_0x9a503=_0x442104[_0x9343a0])&&(_0x12f7f9=_0x9a503(_0x12f7f9)||_0x12f7f9);return _0x12f7f9;},pe=(_0x539fe7,_0x23b5c0)=>(_0x4fd5db,_0x24d2b8)=>_0x23b5c0(_0x4fd5db,_0x24d2b8,_0x539fe7);let ne=class{constructor(_0x399b8f,_0x2fff8a,_0x476c05){const _0x430af6=_0x4e72fd;this[_0x430af6(0x1d2)]=_0x399b8f,this[_0x430af6(0x333)]=_0x2fff8a,this[_0x430af6(0x309)]=_0x476c05;}[_0x4e72fd(0x2da)](_0x577c66){const _0x5041bb=_0x4e72fd;this['_transformUndoRedoStack'](_0x577c66),this[_0x5041bb(0x206)](_0x577c66);}['transformRemoteChangeset'](_0x54a417){const _0xadb035=_0x4e72fd,{unitID:_0x23744f}=_0x54a417,_0x2eca27=this['_renderManagerService'][_0xadb035(0x361)](_0x23744f)['with'](_0x58cabd),{redoCache:_0x435637}=_0x2eca27[_0xadb035(0x28b)]();if(_0x435637[_0xadb035(0x330)]===0x0)return _0x54a417;let _0x167bb7=_0x323f3c[_0xadb035(0x337)](_0x54a417[_0xadb035(0x1d6)][0x0]);for(let _0x5f264f=0x0;_0x5f264f<_0x435637[_0xadb035(0x330)];_0x5f264f++){const _0x4faf2e={'id':_0xadb035(0x23c),'params':{..._0x435637[_0x5f264f]}},_0x4d155c=this[_0xadb035(0x333)][_0xadb035(0x1c1)](_0x167bb7,_0x4faf2e,!0x1);if(_0x467b0b(_0x4d155c))throw _0x4d155c['error'];_0x167bb7=_0x4d155c['m1Prime'];}return{..._0x323f3c[_0xadb035(0x337)](_0x54a417),'mutations':[_0x167bb7]};}[_0x4e72fd(0x369)](_0x1b825a){const _0x420a8c=_0x4e72fd,{unitID:_0xa520bb}=_0x1b825a,_0x197164=this['_renderManagerService'][_0x420a8c(0x361)](_0xa520bb)[_0x420a8c(0x2a0)](_0x58cabd),{undoCache:_0xf1df71,redoCache:_0x1232c9}=_0x197164[_0x420a8c(0x28b)]();if(_0xf1df71[_0x420a8c(0x330)]===0x0||_0x1232c9['length']===0x0)return;const _0x2a95b0=[],_0x5f0a64=[];let _0x5d0592=_0x323f3c[_0x420a8c(0x337)](_0x1b825a['mutations'][0x0]),_0x402d24=_0x323f3c[_0x420a8c(0x337)](_0x1b825a['mutations'][0x0]);for(let _0x1b1c60=_0xf1df71[_0x420a8c(0x330)]-0x1;_0x1b1c60>=0x0;_0x1b1c60--){const _0x45cc7a={'id':_0x420a8c(0x23c),'params':{..._0xf1df71[_0x1b1c60]}},_0x20984b={'id':_0x420a8c(0x23c),'params':{..._0x1232c9[_0x1b1c60]}},_0x4dd05d=this[_0x420a8c(0x333)][_0x420a8c(0x1c1)](_0x5d0592,_0x45cc7a,!0x1),_0x24236c=this['_transformService'][_0x420a8c(0x1c1)](_0x402d24,_0x20984b,!0x1);if(_0x467b0b(_0x4dd05d))throw _0x4dd05d[_0x420a8c(0x2a5)];if(_0x467b0b(_0x24236c))throw _0x24236c[_0x420a8c(0x2a5)];_0x2a95b0[_0x420a8c(0x229)](_0x4dd05d[_0x420a8c(0x1de)]['params']),_0x5f0a64['unshift'](_0x24236c['m2Prime']['params']),_0x5d0592=_0x4dd05d[_0x420a8c(0x348)],_0x402d24=_0x24236c[_0x420a8c(0x348)];}_0x197164[_0x420a8c(0x17f)]({'undoCache':_0x2a95b0,'redoCache':_0x5f0a64});}[_0x4e72fd(0x206)](_0x468d72){const _0x4ecbad=_0x4e72fd,{unitID:_0x13feb0}=_0x468d72,_0x2a0548=this[_0x4ecbad(0x309)]['getRenderById'](_0x13feb0)[_0x4ecbad(0x2a0)](_0x58cabd),_0x81ec89=_0x2a0548['getActiveRange']();if(_0x81ec89==null)return;const _0x42bb89=[{'id':_0x4ecbad(0x23c),'params':{'unitId':_0x468d72[_0x4ecbad(0x35a)],'actions':null,'textRanges':[_0x81ec89]}}],_0x118316=this[_0x4ecbad(0x333)][_0x4ecbad(0x1a9)](_0x468d72,_0x42bb89);if(!_0x225003(_0x118316))throw _0x118316[_0x4ecbad(0x2a5)];const _0x5e8505=_0x118316[_0x4ecbad(0x1de)][0x0]['params']['textRanges'];Array['isArray'](_0x5e8505)&&_0x5e8505[_0x4ecbad(0x330)]&&_0x2a0548[_0x4ecbad(0x213)](_0x5e8505[0x0]);}};ne=tn([pe(0x0,_0x3978bf(_0x34e1fa)),pe(0x1,_0x3b0871),pe(0x2,_0x5e2470)],ne);var sn=Object[_0x4e72fd(0x2d6)],nn=(_0x38aa25,_0x55b624,_0x43bd32,_0x5b6acc)=>{const _0x129e35=_0x4e72fd;for(var _0xc32c45=_0x5b6acc>0x1?void 0x0:_0x5b6acc?sn(_0x55b624,_0x43bd32):_0x55b624,_0x322dcd=_0x38aa25[_0x129e35(0x330)]-0x1,_0x39a45f;_0x322dcd>=0x0;_0x322dcd--)(_0x39a45f=_0x38aa25[_0x322dcd])&&(_0xc32c45=_0x39a45f(_0xc32c45)||_0xc32c45);return _0xc32c45;},Ce=(_0x50449a,_0x1dbcb6)=>(_0x6e773f,_0x1f0c84)=>_0x1dbcb6(_0x6e773f,_0x1f0c84,_0x50449a);let re=class{constructor(_0x16e536,_0x12c499,_0x55623e){const _0x3ec76c=_0x4e72fd;this['_injector']=_0x16e536,this[_0x3ec76c(0x333)]=_0x12c499,this[_0x3ec76c(0x245)]=_0x55623e;}[_0x4e72fd(0x2b5)](_0x3e81c4){const _0x26e2eb=_0x4e72fd;this[_0x26e2eb(0x2cf)](_0x3e81c4);}[_0x4e72fd(0x342)](_0x3f94bf){const _0x43fec3=_0x4e72fd,{unitID:_0x22c38a}=_0x3f94bf,{collaboration:_0x4e1551}=this['_docStateChangeManagerService']['getStateCache'](_0x22c38a);if(_0x4e1551['length']===0x0)return _0x3f94bf;let _0xd3fce6=_0x323f3c[_0x43fec3(0x337)](_0x3f94bf[_0x43fec3(0x1d6)][0x0]);for(let _0x5cf187=0x0;_0x5cf187<_0x4e1551[_0x43fec3(0x330)];_0x5cf187++){const _0x29b40b={'id':_0x43fec3(0x23c),'params':{'unitId':_0x4e1551[_0x5cf187][_0x43fec3(0x246)],..._0x4e1551[_0x5cf187][_0x43fec3(0x25d)]}},_0x1fbf26=this[_0x43fec3(0x333)][_0x43fec3(0x1c1)](_0xd3fce6,_0x29b40b,!0x1);if(_0x467b0b(_0x1fbf26))throw _0x1fbf26[_0x43fec3(0x2a5)];_0xd3fce6=_0x1fbf26[_0x43fec3(0x348)];}return{..._0x323f3c[_0x43fec3(0x337)](_0x3f94bf),'mutations':[_0xd3fce6]};}[_0x4e72fd(0x2cf)](_0x1f5832){const _0xe0ea6a=_0x4e72fd,{unitID:_0x50e0d3}=_0x1f5832,{history:_0x491ecb,collaboration:_0x3d90e0}=this[_0xe0ea6a(0x245)][_0xe0ea6a(0x326)](_0x50e0d3);if(_0x491ecb[_0xe0ea6a(0x330)]===0x0&&_0x3d90e0[_0xe0ea6a(0x330)]===0x0)return;const _0x3c395f=[],_0x4aa552=[];let _0x57937a=_0x323f3c[_0xe0ea6a(0x337)](_0x1f5832[_0xe0ea6a(0x1d6)][0x0]),_0x5a4317=_0x323f3c[_0xe0ea6a(0x337)](_0x1f5832[_0xe0ea6a(0x1d6)][0x0]);for(let _0x3d254d=_0x491ecb['length']-0x1;_0x3d254d>=0x0;_0x3d254d--){const _0x5afd68={'id':_0xe0ea6a(0x23c),'params':{'unitId':_0x491ecb[_0x3d254d]['unitId'],..._0x491ecb[_0x3d254d][_0xe0ea6a(0x1c0)]}},_0x5c87a5={'id':_0xe0ea6a(0x23c),'params':{'unitId':_0x491ecb[_0x3d254d][_0xe0ea6a(0x246)],..._0x491ecb[_0x3d254d][_0xe0ea6a(0x25d)]}},_0x431c8d=this[_0xe0ea6a(0x333)]['transformMutation'](_0x57937a,_0x5afd68,!0x1),_0x4318e0=this[_0xe0ea6a(0x333)][_0xe0ea6a(0x1c1)](_0x5a4317,_0x5c87a5,!0x1);if(_0x467b0b(_0x431c8d))throw _0x431c8d[_0xe0ea6a(0x2a5)];if(_0x467b0b(_0x4318e0))throw _0x4318e0[_0xe0ea6a(0x2a5)];_0x3c395f['unshift']({..._0x491ecb[_0x3d254d],'undoState':_0x431c8d['m2Prime'][_0xe0ea6a(0x29b)],'redoState':_0x4318e0[_0xe0ea6a(0x1de)][_0xe0ea6a(0x29b)]}),_0x57937a=_0x431c8d['m1Prime'],_0x5a4317=_0x4318e0[_0xe0ea6a(0x348)];}_0x57937a=_0x323f3c['deepClone'](_0x1f5832[_0xe0ea6a(0x1d6)][0x0]),_0x5a4317=_0x323f3c[_0xe0ea6a(0x337)](_0x1f5832[_0xe0ea6a(0x1d6)][0x0]);for(let _0x1733f7=_0x3d90e0[_0xe0ea6a(0x330)]-0x1;_0x1733f7>=0x0;_0x1733f7--){const _0xd085f0={'id':_0xe0ea6a(0x23c),'params':{'unitId':_0x3d90e0[_0x1733f7][_0xe0ea6a(0x246)],..._0x3d90e0[_0x1733f7][_0xe0ea6a(0x1c0)]}},_0x3bb5f1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3d90e0[_0x1733f7][_0xe0ea6a(0x246)],..._0x3d90e0[_0x1733f7][_0xe0ea6a(0x25d)]}},_0x389b44=this['_transformService']['transformMutation'](_0x57937a,_0xd085f0,!0x1),_0x56e8ba=this[_0xe0ea6a(0x333)]['transformMutation'](_0x5a4317,_0x3bb5f1,!0x1);if(_0x467b0b(_0x389b44))throw _0x389b44[_0xe0ea6a(0x2a5)];if(_0x467b0b(_0x56e8ba))throw _0x56e8ba[_0xe0ea6a(0x2a5)];_0x4aa552['unshift']({..._0x3d90e0[_0x1733f7],'undoState':_0x389b44[_0xe0ea6a(0x1de)][_0xe0ea6a(0x29b)],'redoState':_0x56e8ba[_0xe0ea6a(0x1de)][_0xe0ea6a(0x29b)]}),_0x57937a=_0x389b44[_0xe0ea6a(0x348)],_0x5a4317=_0x56e8ba[_0xe0ea6a(0x348)];}this['_docStateChangeManagerService']['setStateCache'](_0x50e0d3,{'history':_0x3c395f,'collaboration':_0x4aa552});}};re=nn([Ce(0x0,_0x3978bf(_0x34e1fa)),Ce(0x1,_0x3b0871),Ce(0x2,_0x3978bf(_0x241ff9))],re);var rn=Object[_0x4e72fd(0x2d6)],on=(_0x147bcc,_0x437f7a,_0x526ba2,_0x18f13e)=>{const _0x2cf1ea=_0x4e72fd;for(var _0x2d567f=_0x18f13e>0x1?void 0x0:_0x18f13e?rn(_0x437f7a,_0x526ba2):_0x437f7a,_0x3d63ab=_0x147bcc[_0x2cf1ea(0x330)]-0x1,_0x48dda3;_0x3d63ab>=0x0;_0x3d63ab--)(_0x48dda3=_0x147bcc[_0x3d63ab])&&(_0x2d567f=_0x48dda3(_0x2d567f)||_0x2d567f);return _0x2d567f;},tt=(_0x39b5a9,_0x287cdc)=>(_0x26de65,_0xfda5ac)=>_0x287cdc(_0x26de65,_0xfda5ac,_0x39b5a9);let oe=class{constructor(_0x2638be,_0x1b569b){const _0x18091c=_0x4e72fd;this[_0x18091c(0x1d2)]=_0x2638be,this[_0x18091c(0x333)]=_0x1b569b;}[_0x4e72fd(0x370)](_0x2b1fc2){const _0x51cda1=_0x4e72fd;var _0x35ca01;const _0x4642b0=this['_injector'][_0x51cda1(0x32e)](_0x5ced89),_0x508b46=(_0x35ca01=_0x4642b0[_0x51cda1(0x374)]())!=null?_0x35ca01:[];if(_0x508b46[_0x51cda1(0x330)]===0x0)return;const _0x5df59d=_0x2b1fc2['unitID'],_0x516ab1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5df59d,'actions':null,'textRanges':_0x508b46}}],_0x5ac068=this[_0x51cda1(0x333)][_0x51cda1(0x1a9)](_0x2b1fc2,_0x516ab1);if(!_0x225003(_0x5ac068))throw _0x5ac068[_0x51cda1(0x2a5)];const _0x205391=_0x5ac068[_0x51cda1(0x1de)][0x0][_0x51cda1(0x29b)][_0x51cda1(0x1c5)];Array[_0x51cda1(0x18e)](_0x205391)&&_0x205391['length']&&_0x4642b0[_0x51cda1(0x164)](_0x205391,{'unitId':_0x5df59d,'subUnitId':_0x5df59d},!0x1);}};oe=on([tt(0x0,_0x3978bf(_0x34e1fa)),tt(0x1,_0x3b0871)],oe);var an=Object[_0x4e72fd(0x2d6)],cn=(_0x39d98d,_0x613f1d,_0x2bd5f4,_0x5b0cd0)=>{const _0x4384de=_0x4e72fd;for(var _0x54b7e6=_0x5b0cd0>0x1?void 0x0:_0x5b0cd0?an(_0x613f1d,_0x2bd5f4):_0x613f1d,_0x1c822b=_0x39d98d[_0x4384de(0x330)]-0x1,_0x4fac07;_0x1c822b>=0x0;_0x1c822b--)(_0x4fac07=_0x39d98d[_0x1c822b])&&(_0x54b7e6=_0x4fac07(_0x54b7e6)||_0x54b7e6);return _0x54b7e6;},U=(_0xee050d,_0x4f2cbb)=>(_0x5a30bb,_0x1a90ae)=>_0x4f2cbb(_0x5a30bb,_0x1a90ae,_0xee050d);let ae=class extends _0x1ed90e{constructor(_0x224066,_0x4c4380,_0x29ecf0,_0x11d112,_0x428f4f,_0x5c7121,_0x19af20,_0x264afa){const _0x35f755=_0x4e72fd;super(),_(this,'_status$',new _0xbbcda8(_0x465d72[_0x35f755(0x264)])),(this[_0x35f755(0x245)]=_0x224066,this[_0x35f755(0x31d)]=_0x4c4380,this[_0x35f755(0x257)]=_0x29ecf0,this['_docTransformStateCacheService']=_0x11d112,this[_0x35f755(0x2ab)]=_0x428f4f,this[_0x35f755(0x226)]=_0x5c7121,this[_0x35f755(0x2d7)]=_0x19af20,this[_0x35f755(0x174)]=_0x264afa,this[_0x35f755(0x171)]());}[_0x4e72fd(0x171)](){const _0x5a2f0f=_0x4e72fd;this['disposeWithMe'](this[_0x5a2f0f(0x31d)]['entityInit$']['subscribe'](_0x549601=>{const _0x3218c3=_0x5a2f0f,_0x2d5f7d=this['_docStateChangeManagerService'][_0x3218c3(0x1eb)][_0x3218c3(0x26d)](_0x1463d1=>{const _0x1bf22e=_0x3218c3;if(_0x1463d1==null)return;const {unitId:_0x14b466,redoState:_0x57ce64,commandId:_0x4507ac}=_0x1463d1;if(_0x14b466!==_0x549601[_0x1bf22e(0x35a)])return;const _0x43960c={'id':_0x4507ac,'type':_0x15ab1b[_0x1bf22e(0x1dc)],'params':{'unitId':_0x14b466,'actions':_0x57ce64[_0x1bf22e(0x227)],'textRanges':null}};_0x549601[_0x1bf22e(0x2d9)](_0x43960c);});if(_0x549601[_0x3218c3(0x19d)](_0x2d5f7d),_0x549601 instanceof _0x3a6f5d){const _0x12cc4d={'onTransformIME':_0xa1d050=>this[_0x3218c3(0x257)][_0x3218c3(0x2da)](_0xa1d050),'onTransformState':_0x4ad787=>this[_0x3218c3(0x2ac)][_0x3218c3(0x2b5)](_0x4ad787),'onTransformSelections':_0xe67a40=>this[_0x3218c3(0x2ab)][_0x3218c3(0x370)](_0xe67a40),'onSyncEditingCollabCursor':_0x1a8a8e=>this[_0x3218c3(0x226)][_0x3218c3(0x316)](_0x1a8a8e),'onTransformRemoteChangesetByIMECache':_0x44e216=>this['_docTransformIMECacheService'][_0x3218c3(0x342)](_0x44e216),'onTransformRemoteChangesetByStateCache':_0x17a8a4=>this['_docTransformStateCacheService'][_0x3218c3(0x342)](_0x17a8a4)};_0x549601[_0x3218c3(0x163)](_0x12cc4d);}}));}};ae=cn([U(0x0,_0x3978bf(_0x241ff9)),U(0x1,_0x3978bf(_0x1e1b99)),U(0x2,_0x3978bf(ne)),U(0x3,_0x3978bf(re)),U(0x4,_0x3978bf(oe)),U(0x5,_0x3978bf(He)),U(0x6,_0x556324),U(0x7,_0x3978bf(_0x4d43d2))],ae);var ln=Object[_0x4e72fd(0x2d6)],_n=(_0x28f253,_0x1dea46,_0x176105,_0x4b051f)=>{for(var _0x5eed97=_0x4b051f>0x1?void 0x0:_0x4b051f?ln(_0x1dea46,_0x176105):_0x1dea46,_0x3ccd6b=_0x28f253['length']-0x1,_0x2bc131;_0x3ccd6b>=0x0;_0x3ccd6b--)(_0x2bc131=_0x28f253[_0x3ccd6b])&&(_0x5eed97=_0x2bc131(_0x5eed97)||_0x5eed97);return _0x5eed97;},Ee=(_0x473355,_0x336bcc)=>(_0x13d59e,_0x6c730f)=>_0x336bcc(_0x13d59e,_0x6c730f,_0x473355);let we=class extends _0x1ed90e{constructor(_0x14cd6d,_0x4f9f0a,_0x16f258){const _0x39b079=_0x4e72fd;super(),_(this,'_cachedData',new Map()),_(this,_0x39b079(0x18d),new Map()),_(this,'_disabled',!0x1),(this[_0x39b079(0x1b5)]=_0x14cd6d,this['_localStorageService']=_0x4f9f0a,this['_revisionService']=_0x16f258);}[_0x4e72fd(0x2ff)](){this['_disabled']=!0x0;}[_0x4e72fd(0x231)](){const _0x2c1660=_0x4e72fd;this[_0x2c1660(0x2f4)]=!0x1;}get[_0x4e72fd(0x168)](){const _0x31990f=_0x4e72fd;return this[_0x31990f(0x18d)];}[_0x4e72fd(0x270)](){const _0x29a126=_0x4e72fd;this[_0x29a126(0x290)]()[_0x29a126(0x24f)](()=>super['dispose']());}async[_0x4e72fd(0x1c8)](_0x3a1987){const _0xe9ab6c=_0x4e72fd;return this[_0xe9ab6c(0x2f4)]?null:this[_0xe9ab6c(0x305)][_0xe9ab6c(0x1fc)](_0x67462b(_0x3a1987));}async[_0x4e72fd(0x230)](_0xe5d22d,_0x309989){const _0x6d23d7=_0x4e72fd;return!!this[_0x6d23d7(0x305)][_0x6d23d7(0x253)](_0xe5d22d,_0x309989);}['updateOfflineData'](_0x21fc37,_0x2a20c7,_0x2d833c,_0x2b6b1f){const _0x162be2=_0x4e72fd,_0x10da64=this['_revisionService'][_0x162be2(0x1f1)](_0x21fc37);this['_cachedData'][_0x162be2(0x30a)](_0x21fc37,{'unitID':_0x21fc37,'type':_0x2a20c7,'awaitingChangeset':_0x2d833c,'mutations':_0x2b6b1f,'rev':_0x10da64}),this[_0x162be2(0x18d)][_0x162be2(0x1ec)](_0x21fc37)||this[_0x162be2(0x1bf)](_0x21fc37);}['_scheduleSaving'](_0x1a9193){const _0x46722f=_0x4e72fd,_0x104c95=this[_0x46722f(0x2ed)]();_0x104c95===0x0?this[_0x46722f(0x1bd)](_0x1a9193):this[_0x46722f(0x18d)][_0x46722f(0x30a)](_0x1a9193,setTimeout(()=>this[_0x46722f(0x1bd)](_0x1a9193),_0x104c95));}['_getSaveTimeout'](){const _0x1382a9=_0x4e72fd;var _0xfe1a50;return(_0xfe1a50=this[_0x1382a9(0x1b5)][_0x1382a9(0x357)](_0x3488f1))!=null?_0xfe1a50:_0x168836;}[_0x4e72fd(0x1bd)](_0x1cd402){const _0x52e7e3=_0x4e72fd,_0x145413=this[_0x52e7e3(0x18d)][_0x52e7e3(0x32e)](_0x1cd402);return _0x145413!==void 0x0&&window[_0x52e7e3(0x371)](_0x145413),this[_0x52e7e3(0x305)][_0x52e7e3(0x253)](_0x67462b(_0x1cd402),this[_0x52e7e3(0x291)][_0x52e7e3(0x32e)](_0x1cd402))[_0x52e7e3(0x24f)](()=>this[_0x52e7e3(0x18d)]['delete'](_0x1cd402));}async['exhaustSavingTask'](){const _0x476343=_0x4e72fd,_0x30364b=[];this['_saveTaskMap'][_0x476343(0x19b)]((_0x1bcb6a,_0x228ad0)=>{const _0x250cde=_0x476343;window[_0x250cde(0x371)](_0x1bcb6a),_0x30364b[_0x250cde(0x366)](this['_saveCache'](_0x228ad0)['then'](()=>{const _0x4a3fb2=_0x250cde;this[_0x4a3fb2(0x18d)][_0x4a3fb2(0x20e)](_0x228ad0);}));}),await Promise[_0x476343(0x2f2)](_0x30364b);}};we=_n([Ee(0x0,_0xa39781),Ee(0x1,_0x5e3c59),Ee(0x2,_0x3978bf(_0x57cffe))],we);class hn extends _0x4c7c7e{constructor(){const _0x4378f0=_0x4e72fd;super(),_(this,'urlChange$'),this[_0x4378f0(0x17c)]=_0x4f2d6b(window,_0x4378f0(0x2bb))[_0x4378f0(0x220)](_0x48049b(this[_0x4378f0(0x31b)]),_0x55a28c(0x1),_0x5a226a(void 0x0));}[_0x4e72fd(0x28e)](_0x24160d,_0x59f05e,_0x34ce9b=!0x1){const _0x34c320=_0x4e72fd,_0x39225b=new URL(window[_0x34c320(0x35c)][_0x34c320(0x285)]);_0x39225b[_0x34c320(0x271)][_0x34c320(0x30a)](_0x24160d,_0x59f05e),_0x34ce9b?window[_0x34c320(0x30b)][_0x34c320(0x238)]('','',_0x39225b[_0x34c320(0x19c)]()):window[_0x34c320(0x30b)][_0x34c320(0x250)]('','',_0x39225b['toString']());}[_0x4e72fd(0x33a)](_0x6c3f15,_0x42e7f6=!0x1){const _0x18c5ad=_0x4e72fd,_0x1565a3=new URL(window['location'][_0x18c5ad(0x285)]);_0x1565a3[_0x18c5ad(0x271)]['delete'](_0x6c3f15),_0x42e7f6?window[_0x18c5ad(0x30b)][_0x18c5ad(0x238)]('','',_0x1565a3['toString']()):window[_0x18c5ad(0x30b)]['pushState']('','',_0x1565a3[_0x18c5ad(0x19c)]());}[_0x4e72fd(0x217)](_0x53a26b){const _0x407a85=_0x4e72fd;var _0x2e9975;return(_0x2e9975=new URL(window[_0x407a85(0x35c)][_0x407a85(0x285)])[_0x407a85(0x271)]['get'](_0x53a26b))!=null?_0x2e9975:void 0x0;}}var un=Object[_0x4e72fd(0x22f)],dn=Object[_0x4e72fd(0x2d6)],fn=(_0x5b3b03,_0x31e35e,_0x23fc0c)=>_0x31e35e in _0x5b3b03?un(_0x5b3b03,_0x31e35e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23fc0c}):_0x5b3b03[_0x31e35e]=_0x23fc0c,Sn=(_0x170227,_0x46d2a7,_0x5c9447,_0x19eb56)=>{for(var _0x206319=_0x19eb56>0x1?void 0x0:_0x19eb56?dn(_0x46d2a7,_0x5c9447):_0x46d2a7,_0xb8cb94=_0x170227['length']-0x1,_0x5ec3;_0xb8cb94>=0x0;_0xb8cb94--)(_0x5ec3=_0x170227[_0xb8cb94])&&(_0x206319=_0x5ec3(_0x206319)||_0x206319);return _0x206319;},Oe=(_0x4e5adb,_0x2e7988)=>(_0x14b6eb,_0x29b383)=>_0x2e7988(_0x14b6eb,_0x29b383,_0x4e5adb),mn=(_0x2a2511,_0x1be29e,_0x95e7f)=>fn(_0x2a2511,_0x1be29e+'',_0x95e7f);const In=_0x4e72fd(0x2bf);let Ae=class extends _0x5a7775{constructor(_0x2f8874=et,_0x5aa5d5,_0x578fb6,_0x40fbb5){const _0x21638a=_0x4e72fd;super(),this[_0x21638a(0x372)]=_0x2f8874,this[_0x21638a(0x309)]=_0x5aa5d5,this['_injector']=_0x578fb6,this['_configService']=_0x40fbb5;const {..._0x51f970}=_0x324ce8({},et,this[_0x21638a(0x372)]);this['_configService'][_0x21638a(0x302)](Zi,_0x51f970);}['onStarting'](){const _0x2eda70=_0x4e72fd;this[_0x2eda70(0x219)](),this[_0x2eda70(0x30c)]();}[_0x4e72fd(0x28c)](){const _0x52b6d0=_0x4e72fd;this[_0x52b6d0(0x215)]();}[_0x4e72fd(0x219)](){const _0x59fbec=_0x4e72fd;var _0x51d2c8;const _0x6c4df0=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5336bd,{'useClass':_0x54593a}],[_0x887162,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x59786f(this[_0x59fbec(0x1d2)],_0x1e1a8e(_0x6c4df0,(_0x51d2c8=this['_config'])==null?void 0x0:_0x51d2c8['override']));}[_0x4e72fd(0x215)](){const _0x3687d3=_0x4e72fd;this[_0x3687d3(0x19d)](this[_0x3687d3(0x309)][_0x3687d3(0x2b9)](_0x573968[_0x3687d3(0x2d4)],[Le])),this[_0x3687d3(0x19d)](this[_0x3687d3(0x309)]['registerRenderModule'](_0x573968[_0x3687d3(0x234)],[Pe]));}[_0x4e72fd(0x30c)](){const _0x216b97=_0x4e72fd;_0x348680(this[_0x216b97(0x1d2)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x5035b2(_0x4b81ab),Oe(0x1,_0x5e2470),Oe(0x2,_0x3978bf(_0x34e1fa)),Oe(0x3,_0xa39781)],Ae);var gn=Object[_0x4e72fd(0x2d6)],vn=(_0xa67665,_0x9fc1c0,_0xb730a,_0x2bd9c5)=>{const _0x5e4f45=_0x4e72fd;for(var _0x32d949=_0x2bd9c5>0x1?void 0x0:_0x2bd9c5?gn(_0x9fc1c0,_0xb730a):_0x9fc1c0,_0x31c34d=_0xa67665[_0x5e4f45(0x330)]-0x1,_0x5c7ca6;_0x31c34d>=0x0;_0x31c34d--)(_0x5c7ca6=_0xa67665[_0x31c34d])&&(_0x32d949=_0x5c7ca6(_0x32d949)||_0x32d949);return _0x32d949;},K=(_0x45e36a,_0xd3130e)=>(_0x222238,_0x346c53)=>_0xd3130e(_0x222238,_0x346c53,_0x45e36a);let st=class extends _0x348568{constructor(_0x22779c,_0x4ebbad,_0x15f085,_0x4a7300,_0x16a80d){super(_0x22779c,_0x4ebbad,_0x15f085,_0x4a7300,_0x16a80d);}async[_0x4e72fd(0x19f)](_0xa50a5b){const _0x375101=_0x4e72fd,_0x176280=await this[_0x375101(0x368)](),_0x1685e0=this[_0x375101(0x18c)](_0xa50a5b,_0x176280);return this[_0x375101(0x1e3)](_0x1685e0);}[_0x4e72fd(0x18c)](_0x3b9611,_0x34316b){const _0x32a08d=_0x4e72fd,_0x3a239b=typeof window>'u'?new URL(_0x3b9611):new URL(_0x3b9611,window[_0x32a08d(0x35c)][_0x32a08d(0x1f6)]);_0x3a239b['searchParams'][_0x32a08d(0x30a)]('sessionTicket',_0x34316b);const _0x58dace=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x32a08d(0x35c)][_0x32a08d(0x347)]);return _0x58dace[_0x32a08d(0x32e)](_0x32a08d(0x175))&&_0x3a239b[_0x32a08d(0x271)]['set'](_0x32a08d(0x175),_0x58dace[_0x32a08d(0x32e)](_0x32a08d(0x175))),_0x3a239b[_0x32a08d(0x19c)]();}async['_getSessionTicket'](){const _0x4b8a69=_0x4e72fd;var _0x16d665,_0x53e7ff,_0x4b8838;const _0x5deff4=this[_0x4b8a69(0x1b5)][_0x4b8a69(0x357)](_0x29e661),_0x4c3089=(_0x16d665=_0x5deff4==null?void 0x0:_0x5deff4[_0x4b8a69(0x2e3)])!=null?_0x16d665:_0xf649ef;return(_0x4b8838=(_0x53e7ff=(await this[_0x4b8a69(0x263)][_0x4b8a69(0x32e)](_0x4c3089,{'headers':{'Content-Type':_0x4b8a69(0x1d4)}}))[_0x4b8a69(0x24e)])==null?void 0x0:_0x53e7ff[_0x4b8a69(0x228)])!=null?_0x4b8838:'';}};st=vn([K(0x0,_0x3978bf(_0x34e1fa)),K(0x1,_0x3978bf(_0x356126)),K(0x2,_0xa39781),K(0x3,_0x2c1045),K(0x4,_0x36ff2a)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x1ed90e{constructor(){const _0x20da8a=_0x4e72fd;super(),_(this,_0x20da8a(0x28a),_0x23d190()),_(this,_0x20da8a(0x267),new Set()),_(this,_0x20da8a(0x176),new Map()),_(this,_0x20da8a(0x2e2),null),_(this,_0x20da8a(0x283),new Map()),_(this,'_unitStatus',new Map()),this[_0x20da8a(0x2f8)]();}['dispose'](){const _0x319386=_0x4e72fd;super['dispose'](),this['_clearOtherTimers'][_0x319386(0x19b)]((_0x30b521,_0x1afdb9)=>this['_removeClearOtherTimer'](_0x1afdb9)),this[_0x319386(0x2e2)]&&window[_0x319386(0x32a)](this[_0x319386(0x2e2)]);}[_0x4e72fd(0x1b6)](_0x188fff){const _0x12dcff=_0x4e72fd;return this[_0x12dcff(0x322)](_0x188fff)[_0x12dcff(0x220)](_0x45320f());}[_0x4e72fd(0x21d)](_0x240a85){const _0x5b69f4=_0x4e72fd;this['_selfUnitIDs'][_0x5b69f4(0x2dc)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5b69f4(0x267)][_0x5b69f4(0x346)](_0x240a85),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x240a85],'isForwarded':!0x1});}[_0x4e72fd(0x2c0)](_0x4f12f4){const _0x1df818=_0x4e72fd;this[_0x1df818(0x267)][_0x1df818(0x20e)](_0x4f12f4),this[_0x1df818(0x267)][_0x1df818(0x2dc)]===0x0&&this[_0x1df818(0x2e2)]&&window[_0x1df818(0x32a)](this[_0x1df818(0x2e2)]);}['_init'](){const _0x2e4330=_0x4e72fd;this[_0x2e4330(0x19d)](_0x5dbc96(_0x4f2d6b(window,_0x2e4330(0x1d5))['subscribe'](_0x18b300=>{const _0x3497f4=_0x2e4330;if(_0x18b300[_0x3497f4(0x1b8)]!==nt||!_0x18b300['newValue'])return;const _0x38ad39=JSON[_0x3497f4(0x356)](_0x18b300['newValue']);this[_0x3497f4(0x1ed)](_0x38ad39);}))),window[_0x2e4330(0x1f2)](_0x2e4330(0x165),()=>this[_0x2e4330(0x1a4)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x2e4330(0x267)])}));}[_0x4e72fd(0x1ed)](_0x3f73ab){const _0x1d4fc3=_0x4e72fd;switch(_0x3f73ab[_0x1d4fc3(0x216)]){case 0x0:this[_0x1d4fc3(0x2e5)](_0x3f73ab);break;case 0x1:this['_handleLeaveEvent'](_0x3f73ab);break;case 0x2:this[_0x1d4fc3(0x201)](_0x3f73ab);break;}}[_0x4e72fd(0x2e5)](_0x432f53){const _0x5b6a3b=_0x4e72fd,{unitIDs:_0x2d4734,memberID:_0x25818a,isForwarded:_0x1b4000}=_0x432f53;_0x2d4734[_0x5b6a3b(0x19b)](_0x19ab9c=>{const _0xd7364a=_0x5b6a3b;if(!_0x1b4000&&this[_0xd7364a(0x176)][_0xd7364a(0x1ec)](_0x19ab9c)&&this['_ensureSubject'](_0x19ab9c)[_0xd7364a(0x16b)](_0x26a024[_0xd7364a(0x1fb)]),!this[_0xd7364a(0x176)]['has'](_0x19ab9c)||!this[_0xd7364a(0x176)][_0xd7364a(0x32e)](_0x19ab9c)[_0xd7364a(0x1ec)](_0x25818a)){const _0x49db18=this[_0xd7364a(0x176)][_0xd7364a(0x32e)](_0x19ab9c)||new Set();_0x49db18[_0xd7364a(0x346)](_0x25818a),this[_0xd7364a(0x176)]['set'](_0x19ab9c,_0x49db18),this[_0xd7364a(0x25f)](_0x25818a);}}),_0x1b4000||this[_0x5b6a3b(0x1a4)]({'type':0x0,'memberID':this[_0x5b6a3b(0x28a)],'unitIDs':[...this[_0x5b6a3b(0x267)]],'isForwarded':!0x0});}[_0x4e72fd(0x25f)](_0x219dc3){const _0x2e6a38=_0x4e72fd;this['_removeClearOtherTimer'](_0x219dc3);const _0x54b650=window['setTimeout'](()=>{const _0x47456b=_0x3b51;this[_0x47456b(0x176)][_0x47456b(0x19b)](_0x61f0db=>{_0x61f0db['delete'](_0x219dc3);});},it*0x2);this[_0x2e6a38(0x283)][_0x2e6a38(0x30a)](_0x219dc3,_0x54b650);}['_removeClearOtherTimer'](_0x36ba1e){const _0x5bff10=_0x4e72fd;if(this[_0x5bff10(0x283)]['has'](_0x36ba1e)){const _0x1ba9d2=this['_clearOtherTimers'][_0x5bff10(0x32e)](_0x36ba1e);_0x1ba9d2&&window[_0x5bff10(0x371)](_0x1ba9d2),this[_0x5bff10(0x283)]['set'](_0x36ba1e,null);}}[_0x4e72fd(0x23a)](_0x1286d7){const _0x5d3790=_0x4e72fd,{memberID:_0x1d6fa9,unitIDs:_0x54b58f}=_0x1286d7;_0x54b58f[_0x5d3790(0x19b)](_0x48db3d=>{const _0x3be1d3=_0x5d3790;var _0x567175;const _0x29586d=this[_0x3be1d3(0x176)][_0x3be1d3(0x32e)](_0x48db3d);_0x29586d&&(_0x29586d[_0x3be1d3(0x20e)](_0x1d6fa9),(_0x567175=this['_ensureSubject'](_0x48db3d))==null||_0x567175[_0x3be1d3(0x16b)](_0x29586d['size']===0x0?_0x26a024[_0x3be1d3(0x360)]:_0x26a024[_0x3be1d3(0x1fb)]));}),this[_0x5d3790(0x1e2)](_0x1d6fa9);}[_0x4e72fd(0x201)](_0x237d99){const _0x552e60=_0x4e72fd;this[_0x552e60(0x25f)](_0x237d99[_0x552e60(0x187)]);}[_0x4e72fd(0x1a4)](_0x560506){const _0x2ec9cc=_0x4e72fd;localStorage[_0x2ec9cc(0x253)](nt,JSON['stringify'](_0x560506));}[_0x4e72fd(0x343)](){const _0x272d63=_0x4e72fd;this[_0x272d63(0x2e2)]=window[_0x272d63(0x1ff)](()=>{const _0x29499a=_0x272d63;this[_0x29499a(0x1a4)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0xd39577){const _0x353a75=_0x4e72fd;return this[_0x353a75(0x308)]['has'](_0xd39577)||this[_0x353a75(0x308)][_0x353a75(0x30a)](_0xd39577,new _0xbbcda8(_0x26a024[_0x353a75(0x360)])),this[_0x353a75(0x308)][_0x353a75(0x32e)](_0xd39577);}}var Mt=(_0x1317a0=>(_0x1317a0[_0x1317a0[_0x4e72fd(0x2be)]=0x0]=_0x4e72fd(0x2be),_0x1317a0[_0x1317a0['OK']=0x1]='OK',_0x1317a0[_0x1317a0['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x1317a0[_0x1317a0['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1317a0[_0x1317a0[_0x4e72fd(0x281)]=0x4]=_0x4e72fd(0x281),_0x1317a0[_0x1317a0['UNAUTHENTICATED']=0x5]=_0x4e72fd(0x294),_0x1317a0[_0x1317a0[_0x4e72fd(0x251)]=0x6]=_0x4e72fd(0x251),_0x1317a0[_0x1317a0[_0x4e72fd(0x1a6)]=0x7]=_0x4e72fd(0x1a6),_0x1317a0[_0x1317a0['TOO_MANY_REQUESTS']=0x8]=_0x4e72fd(0x27d),_0x1317a0[_0x1317a0[_0x4e72fd(0x34d)]=0x9]='COMPLETION_FINISHED',_0x1317a0[_0x1317a0['LOGIN_FAILED']=0xa]=_0x4e72fd(0x2d3),_0x1317a0[_0x1317a0[_0x4e72fd(0x181)]=0xb]=_0x4e72fd(0x181),_0x1317a0[_0x1317a0[_0x4e72fd(0x34b)]=0xc]=_0x4e72fd(0x34b),_0x1317a0[_0x1317a0[_0x4e72fd(0x218)]=0xd]=_0x4e72fd(0x218),_0x1317a0[_0x1317a0[_0x4e72fd(0x341)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1317a0[_0x1317a0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4e72fd(0x345),_0x1317a0[_0x1317a0[_0x4e72fd(0x1f7)]=0x1771]=_0x4e72fd(0x1f7),_0x1317a0[_0x1317a0[_0x4e72fd(0x1b1)]=0x1772]=_0x4e72fd(0x1b1),_0x1317a0[_0x1317a0[_0x4e72fd(0x35b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1317a0[_0x1317a0[_0x4e72fd(0x16e)]=0x1b59]='APPLY_REJECT',_0x1317a0[_0x1317a0[_0x4e72fd(0x2e6)]=0x1b5a]=_0x4e72fd(0x2e6),_0x1317a0[_0x1317a0[_0x4e72fd(0x278)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1317a0[_0x1317a0['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1317a0[_0x1317a0[_0x4e72fd(0x1f4)]=0x1b5d]=_0x4e72fd(0x1f4),_0x1317a0[_0x1317a0[_0x4e72fd(0x310)]=0x1f41]=_0x4e72fd(0x310),_0x1317a0[_0x1317a0[_0x4e72fd(0x2ef)]=0x2329]=_0x4e72fd(0x2ef),_0x1317a0[_0x1317a0[_0x4e72fd(0x23f)]=0x232a]=_0x4e72fd(0x23f),_0x1317a0[_0x1317a0[_0x4e72fd(0x36b)]=0x232b]=_0x4e72fd(0x36b),_0x1317a0[_0x1317a0[_0x4e72fd(0x1d7)]=0x232c]=_0x4e72fd(0x1d7),_0x1317a0[_0x1317a0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4e72fd(0x26c),_0x1317a0[_0x1317a0['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4e72fd(0x203),_0x1317a0[_0x1317a0[_0x4e72fd(0x16d)]=0x2712]=_0x4e72fd(0x16d),_0x1317a0[_0x1317a0[_0x4e72fd(0x167)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1317a0[_0x1317a0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e72fd(0x30d),_0x1317a0[_0x1317a0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4e72fd(0x350),_0x1317a0[_0x1317a0[_0x4e72fd(0x1d3)]=0x271b]=_0x4e72fd(0x1d3),_0x1317a0[_0x1317a0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4e72fd(0x2fc),_0x1317a0[_0x1317a0[_0x4e72fd(0x16f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1317a0[_0x1317a0[_0x4e72fd(0x2db)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1317a0[_0x1317a0[_0x4e72fd(0x1c4)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1317a0[_0x1317a0[_0x4e72fd(0x315)]=0x2720]=_0x4e72fd(0x315),_0x1317a0[_0x1317a0[_0x4e72fd(0x362)]=0x2af9]=_0x4e72fd(0x362),_0x1317a0[_0x1317a0[_0x4e72fd(0x20d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1317a0[_0x1317a0[_0x4e72fd(0x1a2)]=0x2ee2]=_0x4e72fd(0x1a2),_0x1317a0[_0x1317a0[_0x4e72fd(0x306)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1317a0[_0x1317a0['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4e72fd(0x319),_0x1317a0[_0x1317a0[_0x4e72fd(0x2e1)]=0x2ee5]=_0x4e72fd(0x2e1),_0x1317a0[_0x1317a0[_0x4e72fd(0x1b4)]=0x32c9]=_0x4e72fd(0x1b4),_0x1317a0[_0x1317a0[_0x4e72fd(0x2c2)]=0x32ca]=_0x4e72fd(0x2c2),_0x1317a0[_0x1317a0[_0x4e72fd(0x193)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1317a0[_0x1317a0[_0x4e72fd(0x324)]=-0x1]=_0x4e72fd(0x324),_0x1317a0))(Mt||{}),pn=Object[_0x4e72fd(0x2d6)],Cn=(_0x2ec02b,_0xcc9a9d,_0x37636f,_0x2235e2)=>{const _0x5b9c28=_0x4e72fd;for(var _0x34d1a8=_0x2235e2>0x1?void 0x0:_0x2235e2?pn(_0xcc9a9d,_0x37636f):_0xcc9a9d,_0x49e07e=_0x2ec02b[_0x5b9c28(0x330)]-0x1,_0x2a3f27;_0x49e07e>=0x0;_0x49e07e--)(_0x2a3f27=_0x2ec02b[_0x49e07e])&&(_0x34d1a8=_0x2a3f27(_0x34d1a8)||_0x34d1a8);return _0x34d1a8;},be=(_0x350759,_0x2011f1)=>(_0x36df5f,_0x47b530)=>_0x2011f1(_0x36df5f,_0x47b530,_0x350759);let rt=class extends _0x1ed90e{constructor(_0x3b9231,_0x34c1ba,_0x2488df){const _0x232498=_0x4e72fd;super(),this[_0x232498(0x32c)]=_0x3b9231,this[_0x232498(0x263)]=_0x34c1ba,this[_0x232498(0x1b5)]=_0x2488df;}async[_0x4e72fd(0x191)](_0x126d66,_0x4ab7b6,_0x2bcc92,..._0x4d3531){const _0x14f133=_0x4e72fd;var _0x5cb666,_0x242916,_0x5d8f37,_0x378e89;const _0x5610a3=this['_instanceService'][_0x14f133(0x268)]();if(!_0x5610a3)throw new Error(_0x14f133(0x335));const _0x1e58a4=((_0x5cb666=this[_0x14f133(0x1b5)][_0x14f133(0x357)](_0x453571))!=null?_0x5cb666:_0x56483c)+'/'+_0x126d66+_0x14f133(0x344)+_0x4ab7b6,_0x177b67=new URL(window['location'][_0x14f133(0x285)]),_0x10af80={'scriptId':_0x126d66,'runId':(_0x242916=_0x177b67[_0x14f133(0x271)]['get']('runId'))!=null?_0x242916:'','function':_0x4ab7b6,'unitId':_0x5610a3['getUnitId'](),'argsOfFunction':JSON[_0x14f133(0x1d1)](_0x4d3531),'invokeId':(_0x5d8f37=_0x2bcc92[_0x14f133(0x208)])!=null?_0x5d8f37:'','executionId':(_0x378e89=_0x2bcc92[_0x14f133(0x1ef)])!=null?_0x378e89:''};try{const _0x39c659=await this[_0x14f133(0x263)][_0x14f133(0x332)](_0x1e58a4,{'body':_0x10af80});return _0x39c659[_0x14f133(0x24e)][_0x14f133(0x2a5)]&&_0x39c659[_0x14f133(0x24e)][_0x14f133(0x2a5)]['code']!==Mt['OK']?'Failed':_0x39c659[_0x14f133(0x24e)][_0x14f133(0x194)];}catch{return _0x14f133(0x1af);}}};rt=Cn([be(0x0,_0x3de8bd),be(0x1,_0x3978bf(_0x356126)),be(0x2,_0xa39781)],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 _0x156497=_0x1c48;(function(_0x5d7d9f,_0x1c55b6){const _0x34d38b=_0x1c48,_0x889e4d=_0x5d7d9f();while(!![]){try{const _0x36e9bf=-parseInt(_0x34d38b(0x304))/0x1*(parseInt(_0x34d38b(0x227))/0x2)+-parseInt(_0x34d38b(0x1ce))/0x3*(parseInt(_0x34d38b(0x309))/0x4)+-parseInt(_0x34d38b(0x24a))/0x5*(-parseInt(_0x34d38b(0x2dc))/0x6)+parseInt(_0x34d38b(0x27e))/0x7+-parseInt(_0x34d38b(0x27c))/0x8+parseInt(_0x34d38b(0x353))/0x9+-parseInt(_0x34d38b(0x289))/0xa*(-parseInt(_0x34d38b(0x1a0))/0xb);if(_0x36e9bf===_0x1c55b6)break;else _0x889e4d['push'](_0x889e4d['shift']());}catch(_0x588e49){_0x889e4d['push'](_0x889e4d['shift']());}}}(_0x54a9,0xc83e1));var $t=Object[_0x156497(0x35e)],xt=(_0x1c3d1b,_0x456388,_0x363e70)=>_0x456388 in _0x1c3d1b?$t(_0x1c3d1b,_0x456388,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x363e70}):_0x1c3d1b[_0x456388]=_0x363e70,_=(_0x1ead24,_0x4be7f3,_0x4f213e)=>xt(_0x1ead24,typeof _0x4be7f3!='symbol'?_0x4be7f3+'':_0x4be7f3,_0x4f213e);import{MemberService as _0x2dd6c2,SessionStatus as _0x279aef,CollaborationSessionService as _0x537753,CollaborationStatus as _0x51d219,CollaborationController as _0xc742a,ILocalCacheService as _0x111b58,CollaborationUIEventService as _0x467759,CollaborationUIEventId as _0x3e80b9,DataLoaderService as _0x9ad619,DocCollaborationEntity as _0x59b5ea,getLocalCacheKey as _0x1b4796,LOCAL_CACHE_INTERVAL as _0xef2c22,LOCAL_CACHE_INTERVAL_KEY as _0x4c27a8,UniverCollaborationClientPlugin as _0x2c9b5e,CollaborationSocketService as _0x10fe25,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa82763,DEFAULT_WS_SESSION_TICKET_URL as _0x395f20,UnitStatus as _0x22654a,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2dca61,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x275d4d}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x150e26,Disposable as _0x4a158c,DOC_RANGE_TYPE as _0x55a54a,Inject as _0xb660c4,Injector as _0x290f28,IUniverInstanceService as _0x1e551e,ICommandService as _0x4badbb,debounce as _0x1c20e3,Rectangle as _0xf6bdca,DisposableCollection as _0x55c4d7,toDisposable as _0x2117de,UniverInstanceType as _0x5ae3a0,Tools as _0x1f2cef,COLORS as _0x306c87,ColorKit as _0xfcf1ab,ThemeService as _0x21b4c2,fromEventSubject as _0x1f8c6e,LocaleService as _0x150001,createIdentifier as _0x5021ac,ILogService as _0x37221c,Optional as _0x48143d,Workbook as _0xdd109,CommandType as _0x1ec990,IConfigService as _0x20e910,ILocalStorageService as _0x7091d9,DependentOn as _0x56e342,Plugin as _0x43982e,merge as _0x2c397f,registerDependencies as _0x3d9a33,mergeOverrideWithDependencies as _0x5c9b3e,touchDependencies as _0xdd9c5c,generateRandomId as _0x5c73ee}from'@univerjs/core';import{Shape as _0x2a0665,Rect as _0x2ef6de,getColor as _0x3eb452,RegularPolygon as _0x114b2c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb40214,Vector2 as _0x412205,SHEET_VIEWPORT_KEY as _0x16431f,IRenderManagerService as _0x1e0bdd}from'@univerjs/engine-render';import{ISocketService as _0x15a1a2,WebSocketService as _0x4fb982,HTTPService as _0x12dac3}from'@univerjs/network';import{IDocClipboardService as _0x35c95a,NodePositionConvertToCursor as _0x35eb81,NodePositionConvertToRectRange as _0x1ec7a6,TEXT_RANGE_LAYER_INDEX as _0x2eef48,SetDocZoomRatioOperation as _0x48beed,DocIMEInputManagerService as _0x3ce984,DocStateChangeManagerService as _0x5a9d2f}from'@univerjs/docs-ui';import{IImageIoService as _0x19b568}from'@univerjs/drawing';import{BehaviorSubject as _0x5f494d,debounceTime as _0x14532c,takeUntil as _0x3d235a,Subject as _0x1ce864,filter as _0x3f7fb4,switchMap as _0x59ab97,merge as _0x28bbe6,combineLatest as _0x1b084c,of as _0x112d32,fromEvent as _0x20dfdf,shareReplay as _0x1f1474,mapTo as _0x20c38b,distinctUntilChanged as _0x4b7b81}from'rxjs';import{ITransformService as _0x7285b7,CollaborationEvent as _0x4be85a,isTransformMutationFailure as _0x1e674d,isTransformMutationsWithChangesetSuccess as _0x27cd5b,RevisionService as _0xaa3bb,ISnapshotServerService as _0x1dd1d2}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x335646,RichTextEditingMutation as _0x35f4bf,DocSelectionManagerService as _0x500920,DocSkeletonManagerService as _0x5bf942}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x19358b,serializeRangeWithSheet as _0x5b07fd}from'@univerjs/engine-formula';import{RefRangeService as _0x880879,SetSelectionsOperation as _0x5d54e7,SheetsSelectionsService as _0x15fab6,EffectRefRangId as _0x4ef652,handleIRemoveRow as _0xb3db98,handleIRemoveCol as _0x373879,handleMoveRange as _0x3e19b9,handleInsertRow as _0x9a4b41,handleInsertRangeMoveRight as _0x3540c8,handleInsertRangeMoveDown as _0x4fdbff,handleInsertCol as _0x4fd2dc,handleDeleteRangeMoveUp as _0x3bb7a9,handleDeleteRangeMoveLeft as _0x220ebb,runRefRangeMutations as _0x44c43c,SetWorksheetActivateCommand as _0x230905}from'@univerjs/sheets';import{map as _0x5a0751,filter as _0x371276,throttleTime as _0x314c54,takeUntil as _0x48ff11,switchMap as _0x26ac55}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2f82e6,getCoordByCell as _0x3a0659,getSheetObject as _0x4b24ee}from'@univerjs/sheets-ui';import{jsx as _0x57dbff,jsxs as _0x260729}from'react/jsx-runtime';import{useObservable as _0x3aad94,useDependency as _0x5e7e13,IUIPartsService as _0x555a9f,BuiltInUIPart as _0x594a90,connectInjector as _0x52f08e,IBeforeCloseService as _0x56b9db,IMessageService as _0x10a202,INotificationService as _0x2b35f5}from'@univerjs/ui';import{Tooltip as _0x2575c4,clsx as _0x4f3ba5,MessageType as _0x4514d2}from'@univerjs/design';import{forwardRef as _0x24c9de,useRef as _0x232c43,createElement as _0x5d7e50,useCallback as _0x3283c5}from'react';import{IRemoteInstanceService as _0x4279eb}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x17667b,_0x476e6a,_0x164504,_0xec9bae)=>{const _0x38732b=_0x156497;for(var _0x25eb7d=_0xec9bae>0x1?void 0x0:_0xec9bae?ci(_0x476e6a,_0x164504):_0x476e6a,_0x168bec=_0x17667b[_0x38732b(0x1c5)]-0x1,_0x33060e;_0x168bec>=0x0;_0x168bec--)(_0x33060e=_0x17667b[_0x168bec])&&(_0x25eb7d=_0x33060e(_0x25eb7d)||_0x25eb7d);return _0x25eb7d;},Je=(_0x1a5edb,_0x33189b)=>(_0x1d51ca,_0x4e81c4)=>_0x33189b(_0x1d51ca,_0x4e81c4,_0x1a5edb);let Ne=class extends _0x150e26{constructor(_0x1781f3,_0x587b2d){const _0x4220e0=_0x156497;super(),this[_0x4220e0(0x19a)]=_0x1781f3,this['_imageIoService']=_0x587b2d,this[_0x4220e0(0x2ed)]();}[_0x156497(0x2ed)](){const _0x164b3e=_0x156497,_0x199d47=this;this['disposeWithMe'](this[_0x164b3e(0x19a)][_0x164b3e(0x1fd)]({'onBeforePasteImage':async _0x163ff4=>{const _0x24b505=_0x164b3e,_0x5abc92=await _0x199d47[_0x24b505(0x31d)]['saveImage'](_0x163ff4);return _0x5abc92?{'source':_0x5abc92[_0x24b505(0x1eb)],'imageSourceType':_0x5abc92[_0x24b505(0x1d3)]}:null;}}));}};Ne=li([Je(0x0,_0x35c95a),Je(0x1,_0x19b568)],Ne);const Ze=[_0x156497(0x256),_0x156497(0x364),_0x156497(0x230),_0x156497(0x36b),_0x156497(0x26b),_0x156497(0x1f2)];class ke extends _0x4a158c{constructor(){const _0x239eb0=_0x156497;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x239eb0(0x232),0x0);}[_0x156497(0x347)](_0x2f6d7b){const _0x59f5d1=_0x156497;if(this[_0x59f5d1(0x249)][_0x59f5d1(0x2a8)](_0x2f6d7b))return this[_0x59f5d1(0x249)][_0x59f5d1(0x255)](_0x2f6d7b);const _0x84914c=Ze[this['_colorIndex']];return this[_0x59f5d1(0x232)]=(this[_0x59f5d1(0x232)]+0x1)%Ze[_0x59f5d1(0x1c5)],this[_0x59f5d1(0x249)][_0x59f5d1(0x2e6)](_0x2f6d7b,_0x84914c),_0x84914c;}}function Tt(_0x45be4a){const _0x40f1da=_0x156497;let _0x5bf463='';for(const _0x5d6a6c of _0x45be4a){const {startOffset:_0x4cdfd6,endOffset:_0x409f51,isActive:_0xe1ebef,rangeType:_0x29fed4,segmentId:_0x20a140,segmentPage:_0x1e3caa}=_0x5d6a6c;_0x5bf463[_0x40f1da(0x1c5)]&&(_0x5bf463+=','),_0x5bf463+=_0x4cdfd6+':'+_0x409f51+':'+(_0xe1ebef?'1':'0')+':'+_0x29fed4+':'+_0x20a140+':'+_0x1e3caa;}return _0x5bf463;}function _i(_0x3e26a3){const _0x293d36=_0x156497,_0x48ed58=_0x3e26a3[_0x293d36(0x23d)](','),_0x17fb95=[];for(const _0xd392c3 of _0x48ed58){const [_0x24fe38,_0x1bc751,_0x3bf52b,_0x161576,_0x53cb6c,_0x48cbf7]=_0xd392c3[_0x293d36(0x23d)](':');_0x17fb95[_0x293d36(0x2aa)]({'startOffset':Number(_0x24fe38),'endOffset':Number(_0x1bc751),'collapsed':_0x24fe38===_0x1bc751,'isActive':_0x3bf52b==='1','rangeType':_0x161576===_0x55a54a['TEXT']?_0x55a54a['TEXT']:_0x55a54a[_0x293d36(0x1f5)],'segmentId':typeof _0x53cb6c==_0x293d36(0x231)?String(_0x53cb6c):'','segmentPage':Number(_0x48cbf7!=null?_0x48cbf7:-0x1)});}return _0x17fb95[_0x293d36(0x1ad)](_0x5b1737=>_0x5b1737[_0x293d36(0x333)])||(_0x17fb95[0x0][_0x293d36(0x333)]=!0x0),_0x17fb95;}class He extends _0x150e26{constructor(){const _0x2762ad=_0x156497;super(...arguments),_(this,_0x2762ad(0x367),new _0x5f494d(null)),_(this,_0x2762ad(0x286),this[_0x2762ad(0x367)][_0x2762ad(0x2c9)]());}['syncEditingCollabCursor'](_0x130892){const _0x4e171e=_0x156497,{unitID:_0x3c0c5b,memberID:_0x266a39,textRanges:_0x4cf579}=_0x130892,_0x150e47=Tt(_0x4cf579);if(_0x150e47==='')return;const _0x68c3e9={'unitID':_0x3c0c5b,'memberID':_0x266a39,'selection':_0x150e47};this['_collabCursorState$'][_0x4e171e(0x2e3)](_0x68c3e9);}}var hi=Object[_0x156497(0x248)],ui=(_0x324665,_0xf9c259,_0x1fdf26,_0x4c7e04)=>{for(var _0x55c457=_0x4c7e04>0x1?void 0x0:_0x4c7e04?hi(_0xf9c259,_0x1fdf26):_0xf9c259,_0xd0cd75=_0x324665['length']-0x1,_0x1c3615;_0xd0cd75>=0x0;_0xd0cd75--)(_0x1c3615=_0x324665[_0xd0cd75])&&(_0x55c457=_0x1c3615(_0x55c457)||_0x55c457);return _0x55c457;},P=(_0x5c515c,_0x2a2bf6)=>(_0x5d2d3b,_0x40f3c0)=>_0x2a2bf6(_0x5d2d3b,_0x40f3c0,_0x5c515c);const di=0x12c,fi=0x64;let Ue=class extends _0x150e26{constructor(_0x5fb176,_0x13eacc,_0x4a1cdd,_0x31d12e,_0x2a3a6b,_0xf4640a,_0x437968,_0x5f4dea,_0xaf3d59){const _0x47e61d=_0x156497;super(),_(this,_0x47e61d(0x2af),!0x1),_(this,_0x47e61d(0x2ed),!0x1),_(this,'_cursorInfo$',new _0x5f494d(new Map())),_(this,_0x47e61d(0x2ab),this[_0x47e61d(0x29e)]['asObservable']()),_(this,_0x47e61d(0x17d),new _0x5f494d([])),_(this,'roomMembers$',this['_roomMembers$'][_0x47e61d(0x2de)](_0x14532c(di))),_(this,_0x47e61d(0x33b),_0x1c20e3(_0x314026=>{const _0x4041a8=_0x47e61d,_0x121816={'eventID':_0x4be85a[_0x4041a8(0x2f7)],'data':{'unitID':this[_0x4041a8(0x36c)],'memberID':this[_0x4041a8(0x245)][_0x4041a8(0x356)](),'selection':Tt(_0x314026)}};this[_0x4041a8(0x245)][_0x4041a8(0x204)](_0x121816,this[_0x4041a8(0x36c)]);},fi)),(this[_0x47e61d(0x36c)]=_0x5fb176,this[_0x47e61d(0x245)]=_0x13eacc,this[_0x47e61d(0x2c7)]=_0x4a1cdd,this['_colorAssignService']=_0x31d12e,this[_0x47e61d(0x208)]=_0x2a3a6b,this['_syncEditingCollabCursorService']=_0xf4640a,this[_0x47e61d(0x2f0)]=_0x437968,this[_0x47e61d(0x33f)]=_0x5f4dea,this['_commandService']=_0xaf3d59);}get[_0x156497(0x175)](){return this['_cursorInfo$']['getValue']();}get[_0x156497(0x276)](){const _0x4ec2af=_0x156497;return this[_0x4ec2af(0x17d)]['getValue']();}['dispose'](){const _0x226d80=_0x156497;super[_0x226d80(0x25e)](),this[_0x226d80(0x29e)][_0x226d80(0x2e3)](new Map()),this[_0x226d80(0x29e)][_0x226d80(0x28e)](),this['_roomMembers$'][_0x226d80(0x2e3)]([]),this[_0x226d80(0x17d)][_0x226d80(0x28e)]();}[_0x156497(0x220)](){const _0x3a188e=_0x156497;this[_0x3a188e(0x2ed)]||(this['_init']=!0x0,this[_0x3a188e(0x245)][_0x3a188e(0x20f)]['pipe'](_0x3d235a(this[_0x3a188e(0x2a1)]))[_0x3a188e(0x2fb)](_0x38d627=>{const _0x39b8aa=_0x3a188e;_0x38d627===_0x279aef[_0x39b8aa(0x1f9)]?this[_0x39b8aa(0x272)]():this[_0x39b8aa(0x210)]();}),this['_session']['event$']['pipe'](_0x3d235a(this[_0x3a188e(0x2a1)]))['subscribe'](_0x5efa8d=>{const _0x4b1dec=_0x3a188e,_0x158e93=_0x5efa8d[_0x4b1dec(0x26d)];_0x158e93===_0x4be85a[_0x4b1dec(0x2f7)]&&this[_0x4b1dec(0x36a)](_0x5efa8d),_0x158e93===_0x4be85a[_0x4b1dec(0x2bd)]&&this['_onCursorDelete'](_0x5efa8d);}),this[_0x3a188e(0x28d)](this[_0x3a188e(0x1ed)][_0x3a188e(0x1bd)](_0xae875e=>{const _0x38c3cb=_0x3a188e,_0x2fac84=_0xae875e['params'];_0x2fac84!=null&&this[_0x38c3cb(0x2af)]&&_0xae875e['id']===_0x335646['id']&&_0x2fac84[_0x38c3cb(0x28f)]===this[_0x38c3cb(0x36c)]&&_0x2fac84['isEditing']===!0x1&&_0x2fac84['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x2fac84[_0x38c3cb(0x23b)]);})),this[_0x3a188e(0x260)][_0x3a188e(0x286)]['pipe'](_0x3d235a(this[_0x3a188e(0x2a1)]))[_0x3a188e(0x2fb)](_0xcd90df=>{const _0x541559=_0x3a188e;if((_0xcd90df==null?void 0x0:_0xcd90df[_0x541559(0x36c)])!==this[_0x541559(0x36c)])return;const _0x41cabd={'eventID':_0x4be85a[_0x541559(0x2f7)],'data':_0xcd90df};this['_onCursorUpdate'](_0x41cabd);}),this[_0x3a188e(0x28d)](this[_0x3a188e(0x1ed)]['onCommandExecuted'](_0x4eacc9=>{const _0xec9b0d=_0x3a188e;if(_0x4eacc9[_0xec9b0d(0x257)]==null)return;const _0x2ac9de=_0x4eacc9[_0xec9b0d(0x257)];if(_0x4eacc9['id']!==_0x35f4bf['id']||_0x2ac9de[_0xec9b0d(0x28f)]!==this[_0xec9b0d(0x36c)])return;const _0x1cdbc7={'id':_0xec9b0d(0x344),'params':_0x2ac9de},_0x13f09b=this[_0xec9b0d(0x175)];for(const [_0x57b663,_0x37877c]of _0x13f09b){const _0x29af31={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xec9b0d(0x36c)],'actions':null,'textRanges':_0x37877c[_0xec9b0d(0x23b)]}},_0x69a64a=this['_transformService'][_0xec9b0d(0x205)](_0x1cdbc7,_0x29af31,!0x1);if(_0x1e674d(_0x69a64a))throw _0x69a64a[_0xec9b0d(0x334)];_0x13f09b['set'](_0x57b663,{..._0x37877c,'ranges':_0x69a64a['m2Prime'][_0xec9b0d(0x257)][_0xec9b0d(0x189)]});}queueMicrotask(()=>{const _0x60a1c5=_0xec9b0d;this[_0x60a1c5(0x29e)][_0x60a1c5(0x2e3)](_0x13f09b);});})));}[_0x156497(0x36a)](_0x4d75ba){const _0x4321b3=_0x156497;var _0x494e20,_0x211116;const {memberID:_0x1a44f1,selection:_0x3234bf}=_0x4d75ba[_0x4321b3(0x1b8)],_0x5d0f7c=_i(_0x3234bf),_0x51504b=(_0x211116=(_0x494e20=this['_memberService'][_0x4321b3(0x34a)](this['unitID'],_0x1a44f1))==null?void 0x0:_0x494e20['name'])!=null?_0x211116:_0x4321b3(0x361),_0x36c01d={'color':this[_0x4321b3(0x285)][_0x4321b3(0x347)](_0x1a44f1),'name':_0x51504b,'ranges':_0x5d0f7c},_0x4db6cc=this[_0x4321b3(0x175)];_0x4db6cc['set'](_0x1a44f1,_0x36c01d),this['_cursorInfo$']['next'](_0x4db6cc);}[_0x156497(0x1dd)](_0x104c87){const _0x55febd=_0x156497,{memberID:_0x59aa17}=_0x104c87[_0x55febd(0x1b8)],_0x4fa9cc=this[_0x55febd(0x175)];_0x4fa9cc[_0x55febd(0x329)](_0x59aa17),this[_0x55febd(0x29e)][_0x55febd(0x2e3)](_0x4fa9cc);}['_toggleOnline'](){const _0x383a65=_0x156497;var _0x15cf42;if(this[_0x383a65(0x2af)]=!0x0,((_0x15cf42=this[_0x383a65(0x33f)]['getFocusedUnit']())==null?void 0x0:_0x15cf42[_0x383a65(0x352)]())!==this[_0x383a65(0x36c)])return;const _0x4d9357=this[_0x383a65(0x2c7)]['get'](_0x500920)[_0x383a65(0x33c)]();Array[_0x383a65(0x178)](_0x4d9357)&&_0x4d9357[_0x383a65(0x1c5)]>0x0&&this[_0x383a65(0x33b)](_0x4d9357);}[_0x156497(0x210)](){const _0x5f2b27=_0x156497;this[_0x5f2b27(0x2af)]=!0x1;}};Ue=ui([P(0x2,_0xb660c4(_0x290f28)),P(0x3,_0xb660c4(ke)),P(0x4,_0xb660c4(_0x2dd6c2)),P(0x5,_0xb660c4(He)),P(0x6,_0x7285b7),P(0x7,_0x1e551e),P(0x8,_0x4badbb)],Ue);var Si=Object[_0x156497(0x248)],mi=(_0x294030,_0x1123da,_0x281933,_0x56142e)=>{const _0x935d69=_0x156497;for(var _0x4a2c63=_0x56142e>0x1?void 0x0:_0x56142e?Si(_0x1123da,_0x281933):_0x1123da,_0x38a802=_0x294030[_0x935d69(0x1c5)]-0x1,_0x1da70b;_0x38a802>=0x0;_0x38a802--)(_0x1da70b=_0x294030[_0x38a802])&&(_0x4a2c63=_0x1da70b(_0x4a2c63)||_0x4a2c63);return _0x4a2c63;},x=(_0x1276b7,_0x4e388e)=>(_0x2c9917,_0x18a0ff)=>_0x4e388e(_0x2c9917,_0x18a0ff,_0x1276b7);const Ii=0x12c,gi=0x64,vi=()=>{let _0x1a9721=[],_0x23d900=!0x1;return _0x131f05=>{const _0x58630a=_0x1c48;_0x1a9721[_0x58630a(0x2aa)](_0x131f05),_0x23d900||(_0x23d900=!0x0,setTimeout(()=>{const _0x5ab651=_0x58630a;_0x1a9721[_0x5ab651(0x25b)](_0x25e12f=>_0x25e12f()),_0x1a9721=[],_0x23d900=!0x1;}));};};let Me=class extends _0x150e26{constructor(_0x1293e5,_0x164e9c,_0x23e9e0,_0xe54b99,_0x1292db,_0x4a54d3,_0x1fe674,_0x18bd72){const _0x5c038c=_0x156497;super(),_(this,_0x5c038c(0x2af),!0x1),_(this,_0x5c038c(0x2ed),!0x1),_(this,'_cursorInfo$',new _0x5f494d(new Map())),_(this,_0x5c038c(0x2ab),this[_0x5c038c(0x29e)]['asObservable']()),_(this,_0x5c038c(0x17d),new _0x5f494d([])),_(this,_0x5c038c(0x1b0),this[_0x5c038c(0x17d)]['pipe'](_0x14532c(Ii))),_(this,_0x5c038c(0x33b),_0x1c20e3((_0x5d2a9e,_0x9c64cf)=>{const _0x3a9d84=_0x5c038c,_0x32265e={'eventID':_0x4be85a[_0x3a9d84(0x2f7)],'data':{'unitID':this[_0x3a9d84(0x36c)],'memberID':this['_session']['getMemberID'](),'selection':_0x5b07fd(_0x5d2a9e,_0x9c64cf['range'])}};this[_0x3a9d84(0x245)][_0x3a9d84(0x204)](_0x32265e,this[_0x3a9d84(0x36c)]);},gi)),(this[_0x5c038c(0x36c)]=_0x1293e5,this[_0x5c038c(0x245)]=_0x164e9c,this[_0x5c038c(0x2c7)]=_0x23e9e0,this[_0x5c038c(0x285)]=_0xe54b99,this[_0x5c038c(0x208)]=_0x1292db,this[_0x5c038c(0x33f)]=_0x4a54d3,this['_commandService']=_0x1fe674,this[_0x5c038c(0x323)]=_0x18bd72);}get[_0x156497(0x175)](){const _0x50257c=_0x156497;return this[_0x50257c(0x29e)][_0x50257c(0x191)]();}get[_0x156497(0x276)](){const _0xf329b4=_0x156497;return this[_0xf329b4(0x17d)][_0xf329b4(0x191)]();}[_0x156497(0x25e)](){const _0x1ac2bd=_0x156497;super[_0x1ac2bd(0x25e)](),this[_0x1ac2bd(0x29e)][_0x1ac2bd(0x2e3)](new Map()),this['_cursorInfo$'][_0x1ac2bd(0x28e)](),this['_roomMembers$'][_0x1ac2bd(0x2e3)]([]),this[_0x1ac2bd(0x17d)][_0x1ac2bd(0x28e)]();}[_0x156497(0x220)](){const _0x4b5aab=_0x156497;this[_0x4b5aab(0x2ed)]||(this[_0x4b5aab(0x2ed)]=!0x0,this['_session'][_0x4b5aab(0x20f)]['pipe'](_0x3d235a(this[_0x4b5aab(0x2a1)]))[_0x4b5aab(0x2fb)](_0x54ce4f=>{const _0x3d2801=_0x4b5aab;_0x54ce4f===_0x279aef['ONLINE']?this[_0x3d2801(0x272)]():this[_0x3d2801(0x210)]();}),this['_session'][_0x4b5aab(0x17b)][_0x4b5aab(0x2de)](_0x3d235a(this[_0x4b5aab(0x2a1)]))[_0x4b5aab(0x2fb)](_0x4eb978=>{const _0x4e09ca=_0x4b5aab,_0x5039c2=_0x4eb978[_0x4e09ca(0x26d)];_0x5039c2===_0x4be85a['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4eb978),_0x5039c2===_0x4be85a[_0x4e09ca(0x2bd)]&&this[_0x4e09ca(0x1dd)](_0x4eb978);}),this[_0x4b5aab(0x252)](),this[_0x4b5aab(0x28d)](this['_commandService'][_0x4b5aab(0x1bd)](_0x5e9ec0=>{const _0x19c018=_0x4b5aab;if(this[_0x19c018(0x2af)]&&_0x5e9ec0['id']===_0x5d54e7['id']&&_0x5e9ec0[_0x19c018(0x257)][_0x19c018(0x28f)]===this[_0x19c018(0x36c)]){const _0x32f179=_0x5e9ec0['params'];this[_0x19c018(0x33b)](_0x32f179[_0x19c018(0x27a)],_0x32f179['selections'][0x0]);}})));}[_0x156497(0x36a)](_0x57de3b){const _0x1084bf=_0x156497;var _0x50a415,_0xf849c;const {memberID:_0x2fa8e4,selection:_0xe7db7a}=_0x57de3b[_0x1084bf(0x1b8)],{sheetName:_0x2000f6,range:_0x34ae06}=_0x19358b(_0xe7db7a),_0x3e242d={'name':(_0xf849c=(_0x50a415=this['_memberService']['getMember'](this[_0x1084bf(0x36c)],_0x2fa8e4))==null?void 0x0:_0x50a415[_0x1084bf(0x170)])!=null?_0xf849c:_0x1084bf(0x361),'range':this[_0x1084bf(0x325)](_0x2000f6,_0x34ae06),'sheetID':_0x2000f6,'color':this[_0x1084bf(0x285)][_0x1084bf(0x347)](_0x2fa8e4),'selection':_0xe7db7a},_0x1b2ec2=this[_0x1084bf(0x175)];_0x1b2ec2['set'](_0x2fa8e4,_0x3e242d),this[_0x1084bf(0x29e)][_0x1084bf(0x2e3)](_0x1b2ec2);}[_0x156497(0x1dd)](_0x3e45aa){const _0x42ed7b=_0x156497,{memberID:_0x1d133f}=_0x3e45aa['data'],_0x4a6367=this['cursorInfo'];_0x4a6367[_0x42ed7b(0x329)](_0x1d133f),this['_cursorInfo$']['next'](_0x4a6367);}[_0x156497(0x325)](_0x2a30ad,_0x158e12){const _0x3aab99=_0x156497;var _0x1bee58,_0x51f268;const _0x5c59a9=(_0x51f268=(_0x1bee58=this[_0x3aab99(0x33f)][_0x3aab99(0x34c)](this[_0x3aab99(0x36c)]))==null?void 0x0:_0x1bee58[_0x3aab99(0x25f)](_0x2a30ad))==null?void 0x0:_0x51f268[_0x3aab99(0x31c)]();return(_0x5c59a9==null?void 0x0:_0x5c59a9[_0x3aab99(0x1b4)](_0x29f3a1=>_0xf6bdca[_0x3aab99(0x184)](_0x29f3a1,_0x158e12)))||_0x158e12;}[_0x156497(0x252)](){const _0x405f49=_0x156497,_0x4b2d48=new _0x55c4d7(),_0xe228ec=vi(),_0x5ddae0=()=>{const _0x423590=_0x1c48;_0x4b2d48[_0x423590(0x25e)]();const _0x540288=(_0x5ff2c,_0x26bae9,_0x1cfabf,_0x68a88b)=>{const _0x507c40=_0x423590;let _0xc616dc=[];switch(_0x5ff2c['id']){case _0x4ef652[_0x507c40(0x31e)]:{_0xc616dc=_0x220ebb(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x17a)]:{_0xc616dc=_0x3bb7a9(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x169)]:{_0xc616dc=_0x4fd2dc(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x212)]:{_0xc616dc=_0x4fdbff(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x2b7)]:{_0xc616dc=_0x3540c8(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x35b)]:{_0xc616dc=_0x9a4b41(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x321)]:{_0xc616dc=_0x3e19b9(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x21e)]:{_0xc616dc=_0x373879(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x1cd)]:{_0xc616dc=_0xb3db98(_0x5ff2c,_0x68a88b);break;}}const _0x19e0e1=_0x44c43c(_0xc616dc,_0x68a88b),_0x7f93ba=this[_0x507c40(0x175)][_0x507c40(0x255)](_0x26bae9);if(_0x7f93ba&&_0x19e0e1){const _0x54c1c8={..._0x7f93ba,'range':_0x19e0e1};this['cursorInfo'][_0x507c40(0x2e6)](_0x26bae9,_0x54c1c8),_0xe228ec(()=>{const _0x113ade=_0x507c40,_0x15461e=this[_0x113ade(0x323)][_0x113ade(0x2ad)](_0x19e0e1,_0x59bd3d=>(_0x15461e[_0x113ade(0x25e)](),_0x540288(_0x59bd3d,_0x26bae9,_0x1cfabf,_0x19e0e1)));_0x4b2d48[_0x113ade(0x267)](_0x15461e);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x22e307,_0x4d22f2)=>{const _0x375616=_0x423590,{range:_0xb1466b,sheetID:_0x450889}=_0x22e307,_0x5b16d6=this['_refRangeService'][_0x375616(0x2ad)](_0xb1466b,_0x4a04bf=>(_0x5b16d6[_0x375616(0x25e)](),_0x540288(_0x4a04bf,_0x4d22f2,_0x450889,_0xb1466b)));_0x4b2d48['add'](_0x5b16d6);});};this[_0x405f49(0x28d)](_0x2117de(this[_0x405f49(0x29e)]['subscribe'](()=>{_0x5ddae0();})));}[_0x156497(0x272)](){const _0x31965a=_0x156497;var _0x4c0e25,_0x456658;if(this[_0x31965a(0x2af)]=!0x0,((_0x4c0e25=this[_0x31965a(0x33f)][_0x31965a(0x357)]())==null?void 0x0:_0x4c0e25['getUnitId']())!==this[_0x31965a(0x36c)])return;const _0x3e1b8f=(_0x456658=this[_0x31965a(0x2c7)][_0x31965a(0x255)](_0x15fab6)[_0x31965a(0x291)]())==null?void 0x0:_0x456658[0x0],_0x594791=this[_0x31965a(0x33f)][_0x31965a(0x1b5)](_0x5ae3a0['UNIVER_SHEET'])[_0x31965a(0x2d6)]();_0x3e1b8f&&_0x594791&&this[_0x31965a(0x33b)](_0x594791[_0x31965a(0x1f6)](),_0x3e1b8f);}[_0x156497(0x210)](){const _0x3ddb34=_0x156497;this[_0x3ddb34(0x2af)]=!0x1;}};Me=mi([x(0x2,_0xb660c4(_0x290f28)),x(0x3,_0xb660c4(ke)),x(0x4,_0xb660c4(_0x2dd6c2)),x(0x5,_0x1e551e),x(0x6,_0x4badbb),x(0x7,_0xb660c4(_0x880879))],Me);var pi=Object[_0x156497(0x248)],Ci=(_0x351834,_0x56ccf1,_0x5871b3,_0x454a9c)=>{const _0x2b5d96=_0x156497;for(var _0x14b4ee=_0x454a9c>0x1?void 0x0:_0x454a9c?pi(_0x56ccf1,_0x5871b3):_0x56ccf1,_0xc98fa5=_0x351834[_0x2b5d96(0x1c5)]-0x1,_0x31c8c2;_0xc98fa5>=0x0;_0xc98fa5--)(_0x31c8c2=_0x351834[_0xc98fa5])&&(_0x14b4ee=_0x31c8c2(_0x14b4ee)||_0x14b4ee);return _0x14b4ee;},Se=(_0x39d4c7,_0x575ed3)=>(_0x385acb,_0x48d35b)=>_0x575ed3(_0x385acb,_0x48d35b,_0x39d4c7);let H=class extends _0x150e26{constructor(_0x5a2377,_0x171177,_0xb4bd41){const _0x8f1a47=_0x156497;super(),_(this,_0x8f1a47(0x1a3),new Map()),_(this,_0x8f1a47(0x339),new _0x1ce864()),(this[_0x8f1a47(0x33f)]=_0x5a2377,this['_injector']=_0x171177,this[_0x8f1a47(0x2a0)]=_0xb4bd41,this[_0x8f1a47(0x2ed)]());}[_0x156497(0x25e)](){const _0xad9548=_0x156497;super[_0xad9548(0x25e)](),this[_0xad9548(0x339)][_0xad9548(0x28e)](),this[_0xad9548(0x1a3)][_0xad9548(0x25b)](_0x449082=>_0x449082[_0xad9548(0x25e)]());}[_0x156497(0x30b)](_0x50d799){const _0x1dbfbd=_0x156497;return this[_0x1dbfbd(0x1a3)][_0x1dbfbd(0x2a8)](_0x50d799)?this[_0x1dbfbd(0x1a3)][_0x1dbfbd(0x255)](_0x50d799)['cursorInfo$']:this['_entityInit$'][_0x1dbfbd(0x2de)](_0x3f7fb4(_0x5dafcb=>_0x5dafcb[_0x1dbfbd(0x36c)]===_0x50d799),_0x59ab97(_0x47dc7e=>_0x47dc7e[_0x1dbfbd(0x2ab)]));}[_0x156497(0x2ed)](){const _0x4dcee6=_0x156497;this['_univerInstanceService'][_0x4dcee6(0x254)](_0x5ae3a0[_0x4dcee6(0x33e)])[_0x4dcee6(0x2de)](_0x3d235a(this['dispose$']))[_0x4dcee6(0x2fb)](async _0x238102=>{const _0x363cda=_0x4dcee6,_0x2de76b=_0x238102[_0x363cda(0x352)](),_0x2b035b=await this[_0x363cda(0x22c)](_0x2de76b);this[_0x363cda(0x339)][_0x363cda(0x2e3)](_0x2b035b),this[_0x363cda(0x1a3)]['set'](_0x2de76b,_0x2b035b);}),this[_0x4dcee6(0x33f)][_0x4dcee6(0x254)](_0x5ae3a0[_0x4dcee6(0x18e)])[_0x4dcee6(0x2de)](_0x3d235a(this[_0x4dcee6(0x2a1)]))[_0x4dcee6(0x2de)](_0x3f7fb4(_0x4fc1e7=>!_0x4fc1e7[_0x4dcee6(0x352)]()[_0x4dcee6(0x18f)]('__')))[_0x4dcee6(0x2fb)](async _0x4bebea=>{const _0x51e57f=_0x4dcee6,_0x2bc271=_0x4bebea[_0x51e57f(0x352)](),_0x5218b4=await this[_0x51e57f(0x322)](_0x2bc271);this[_0x51e57f(0x339)][_0x51e57f(0x2e3)](_0x5218b4),this[_0x51e57f(0x1a3)][_0x51e57f(0x2e6)](_0x2bc271,_0x5218b4);}),_0x28bbe6(this[_0x4dcee6(0x33f)][_0x4dcee6(0x359)](_0x5ae3a0[_0x4dcee6(0x18e)]),this[_0x4dcee6(0x33f)][_0x4dcee6(0x359)](_0x5ae3a0[_0x4dcee6(0x33e)]))[_0x4dcee6(0x2de)](_0x3d235a(this[_0x4dcee6(0x2a1)]))[_0x4dcee6(0x2fb)](_0xe68eae=>{const _0x4f99bc=_0x4dcee6,_0x370cb3=_0xe68eae[_0x4f99bc(0x352)](),_0x15b579=this[_0x4f99bc(0x1a3)][_0x4f99bc(0x255)](_0x370cb3);_0x15b579&&(_0x15b579['dispose'](),this[_0x4f99bc(0x1a3)][_0x4f99bc(0x329)](_0x370cb3));});}async['_startSheetCollabCursor'](_0x577a7d){const _0x1ae534=_0x156497,_0x56116e=await this['_collabSessionService'][_0x1ae534(0x243)](_0x577a7d),_0x10a35a=this[_0x1ae534(0x2c7)]['createInstance'](Me,_0x577a7d,_0x56116e);return _0x10a35a[_0x1ae534(0x220)](),_0x10a35a;}async[_0x156497(0x322)](_0x57dbb3){const _0x497166=_0x156497,_0x4f995a=await this[_0x497166(0x2a0)][_0x497166(0x243)](_0x57dbb3),_0x30c01f=this[_0x497166(0x2c7)][_0x497166(0x328)](Ue,_0x57dbb3,_0x4f995a);return _0x30c01f[_0x497166(0x220)](),_0x30c01f;}};H=Ci([Se(0x0,_0x1e551e),Se(0x1,_0xb660c4(_0x290f28)),Se(0x2,_0xb660c4(_0x537753))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x91608b,_0x20a1ad){const _0x3aed9d=_0x156497;let {radius:_0x2888a3,width:_0x12f9d8,height:_0x589dc2}=_0x20a1ad;_0x2888a3=_0x2888a3!=null?_0x2888a3:0x0,_0x12f9d8=_0x12f9d8!=null?_0x12f9d8:0x1e,_0x589dc2=_0x589dc2!=null?_0x589dc2:0x1e;let _0x24e450=0x0,_0x3245e2=0x0,_0x471d5e=0x0;_0x24e450=_0x3245e2=_0x471d5e=Math[_0x3aed9d(0x182)](_0x2888a3,_0x12f9d8/0x2,_0x589dc2/0x2),_0x91608b['beginPath'](),_0x91608b[_0x3aed9d(0x2ea)](_0x24e450,0x0),_0x91608b[_0x3aed9d(0x2ac)](_0x12f9d8-_0x3245e2,0x0),_0x91608b['arc'](_0x12f9d8-_0x3245e2,_0x3245e2,_0x3245e2,Math['PI']*0x3/0x2,0x0,!0x1),_0x91608b[_0x3aed9d(0x2ac)](_0x12f9d8,_0x589dc2-_0x471d5e),_0x91608b[_0x3aed9d(0x179)](_0x12f9d8-_0x471d5e,_0x589dc2-_0x471d5e,_0x471d5e,0x0,Math['PI']/0x2,!0x1),_0x91608b['lineTo'](0x0,_0x589dc2),_0x91608b[_0x3aed9d(0x2ac)](0x0,_0x24e450),_0x91608b[_0x3aed9d(0x179)](_0x24e450,_0x24e450,_0x24e450,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x91608b[_0x3aed9d(0x219)](),_0x20a1ad[_0x3aed9d(0x32d)]&&(_0x91608b[_0x3aed9d(0x1ae)](),_0x91608b[_0x3aed9d(0x369)]=_0x20a1ad[_0x3aed9d(0x32d)],_0x20a1ad[_0x3aed9d(0x2e2)]===_0x3aed9d(0x2c6)?_0x91608b[_0x3aed9d(0x32d)](_0x3aed9d(0x2c6)):_0x91608b[_0x3aed9d(0x32d)](),_0x91608b[_0x3aed9d(0x171)]());}function _0x54a9(){const _0x3444de=['_drawRectRange','_collabSessionService','dispose$','0\x200\x2016\x2016','url(#on-line-icon_clip0_910_349)','_disabled','runOnServer','executionId','transform','has','_handleLeaveEvent','push','cursorInfo$','lineTo','registerRefRange','off-line-icon','_online','transformIMECache','prototype','defIds','_createSocketURL','currentTheme$','_cursors','then','InsertRangeMoveRightCommandId','call','propertyIsEnumerable','CONFLICT','focused$','removeParam','USERS_LEAVE','M0\x200H16V16H0z','fillText','SOCKET_FAILED','YUUMI_ASYNCIO_CANCELLED','show','_registerDependencies','HEADER_MENU','setAlpha','evenodd','_injector','NOT_COLLAB','asObservable','colorChannel1','attrs','getUndoRedoMutationParamsCache','registerBeforeClose','_send','width','session.will-retry','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_context','_docSyncEditingCollabCursorService','COMPLETION_FINISHED','onPointerMove$','getActiveSheet','collaboration-client-ui.config','subunit','key','Warning','_revisionService','6avxOPN','runId','pipe','INVALID_ARGUMENT','ENSURE_SNAPSHOT_EXECUTION','translate(.97)','fillRule','next','top','extend','set','createSocket','_handleJoinEvent','_renderManagerService','moveTo','_dataLoaderService','collab-client.tooltip.reconnect','_init','clipPath','white','_transformService','with','clearInterval','makeDirty','substring','saveOfflineData','entityInit$','UPDATE_CURSOR','addObjects','_collaborationUIEventService','_hideTimer','subscribe','sessionTicket','invokeId','collaboration.closeRoom','_updateSubUnitFromURLParams','_getSessionTicket','parse','_id','path','30aElpdn','engine','mask','apply','_saveCache','5226748NDcDbR','registerComponent','getCollabCursors$','currentSkeleton$','EMAIL_VERIFY_CODE_MISMATCH','getParam','updateOfflineData','YUUMI_CONNECTOR_URL_NOT_FOUND','editingUnit','_themeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setParam','urlChange$','setItem','_collabCursorController','current','OTHER_CLIENTS_EDITING','deepClone','_shapes','getMergeData','_imageIoService','DeleteRangeMoveLeftCommandId','_transformHistoryAndStateStack','endColumn','MoveRangeCommandId','_startDocCollabCursor','_refRangeService','LICENSE_EXPORT_SIZE_EXCEEDED','_getMergeRange','bottom','PERMISSION_DENIED','createInstance','delete','displayName','unload','_removeCollabCursors','fill','univerjs-icon\x20univerjs-icon-','_initEvent','SNAPSHOT_INVALID_SNAPSHOT','result','search','isActive','error','_uiPartsService','_registerRenderDependencies','_render','_scheduleClearOtherTimer','_entityInit$','history','_updateLocalCursor','getDocRanges','_docSkeleton','UNIVER_SHEET','_univerInstanceService','mutations','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docStateChangeManagerService','stringify','doc.mutation.rich-text-editing','svg','undoState','assignAColorForMemberID','_initEntityListener','_docTransformSelectionsService','getMember','docStateChange$','getUniverSheetInstance','backgroundColor','unit','ALREADY_EXISTS','INVITE_CODE_HAS_BEEN_UES','ticket','getUnitId','834102obbfEx','generateRandomId','idSuffix','getMemberID','getFocusedUnit','getStateCache','getTypeOfUnitDisposed$','...','InsertRowCommandId','text','subscribeEvent','defineProperty','code','getCurrent','Unknown\x20user','hovered','_backgroundColor','jiqing.500','indexOf','APPLY_NON_SEQUENTIAL_REVISION','_collabCursorState$','uni.network.url-service','fillStyle','_onCursorUpdate','red.300','unitID','_localStorageService','status$','black','AWAITING','toRgbString','_range','setInterval','MOBILE_VERIFY_CODE_MISMATCH','OffLineIcon','_transformUndoRedoStack','YUUMI_ALL_TABLES_IS_INVALID','startRow','_setupSubUnitSync','_scheduleHeartbeat','InsertColCommandId','univer-flex\x20univer-items-center','_hovered','registerRenderModule','_anchorDot','_refreshCollabCursors','_hover','name','restore','NOT_FOUND','YUUMI_UNABLE_LOAD_URL','loadUnit','cursorInfo','_selfUnitIDs','CONNECTOR_DATA_TOO_LARGE','isArray','arc','DeleteRangeMoveUpCommandId','event$','transformRemoteChangeset','_roomMembers$','getOwnPropertySymbols','1em','drawWith','transformStateCache','min','_draw','contains','url(#off-line-icon_clip0_910_343)','enableLocalCache','_doCreateSocket','_drawTextRange','textRanges','[CollaborationDataLoaderController]','none','_docTransformStateCacheService','_sheetSkeletonManagerService','UNIVER_DOC','startsWith','_unitOnClients','getValue','labelPosition','CHANGESET_REVISION_CONFILICT','FETCH_MISS','collabStatus.conflict','SYNCED','href','off-line-icon_clip0_910_343','assign','_docClipboardService','round','on-line-icon_clip0_910_349','_handleHover','LICENSE_IMPORT_SIZE_EXCEEDED','INTERNAL_ERROR','1243BMHovf','collab-text-anchor-','_ensureSubject','_entities','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_beforeCloseService','getConfig','unshift','endRow','APPLY_PERMISSION_DENIED','_scene','_drawAnchor','Error','some','save','_initDependencies','roomMembers$','#FFF','random','_heartbeatTimer','find','getCurrentUnitForType','_getAnchorBounding','collabStatus.syncing','data','setStateCache','getAncestorScale','_cachedData','pluginName','onCommandExecuted','loadOfflineData','UniverIcon','onLocalMutation','collaboration-client.offline-data-not-saved','_updateURLWithCurrentState','YUUMI_RATE_OVER_LIMIT','disableLocalCache','length','_localeService','session.connection-failed','/run/','_cursorShapes','_urlService','hasOwnProperty','_saveTaskMap','RemoveRowCommandId','3SHWlRE','_initStatusComponent','permission.title','post','getRangePointData','imageSourceType','setShapeProps','LICENSE_MAX_UNITS_EXCEEDED','_getScale','transformMutationsWithChangeset','_cursor','findNodePositionByCharIndex','selection','_notificationService','redoState','_onCursorDelete','_labelPosition','_getSheetObject','getSkeleton','replace','clearTimeout','m1Prime','_docTransformIMECacheService','TOO_MANY_REQUESTS','_textBubble','MOBILE_HAS_BEEN_BOUND','currentColor','PY_RUNTIME_SCRIPT_ERROR','measureText','source','LOGIN_FAILED','_commandService','executeCommand','debug','_removeClearOtherTimer','location','yellow.400','_updateCollabCursors','_configService','RECT','getSheetId','startColumn','_document','ONLINE','type','all','getVpScrollXYInfoByPosToVp','addClipboardHook','onStarting','collab-text-range-','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_collaborationController','function','SOCKET_FAILED_RETRY','send','transformMutation','entries','replaceState','_memberService','_logService','_localCacheService','map','sheetID','_lastPointer','_scheduleSaving','sessionStatus$','_toggleOffline','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','InsertRangeMoveDownCommandId','Failed','color','addObject','NO_OTHER_CLIENTS_EDITING','getRelativeToViewportCoord','column','closePath','LICENSE_DISTRO_REJECTED','concat','skeleton','popstate','RemoveColCommandId','font','init','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','WECHAT_HAS_BEEN_BOUND','getUnhiddenWorksheets','m2Prime','memberID','div','82044osWpJc','_instanceService','CLOSE_ROOM','searchParams','APPLY_REVISION_CONFILICT','_startSheetCollabCursor','collabStatus.offline','tag','onRendered','green.600','string','_colorIndex','YUUMI_NO_CUBOID_FOR_QUESTION','_eventUnsubscribe','UNDEFINED','_handleHeartbeatEvent','xlink:href','addHandlerCallback','setActiveRange','row','ranges','onPointerEnter$','split','override','collabStatus.fetchMiss','transformSelections','OnLineIcon','defs','requireSession','_httpService','_session','getColorFromTheme','INVITE_CODE_ALREADY_BOUND','getOwnPropertyDescriptor','_assignedColors','1111065KvgwGQ','actions','USER_NOT_INVITED_CODE','sheetId','from','reconnect','getCurrentRevOfUnit','body','_onRefRangeChange','_status$','getTypeOfUnitAdded$','get','purple.300','params','UNRECOGNIZED','_docSkeletonManagerService','_getSaveTimeout','forEach','values','_color','dispose','getSheetBySheetId','_syncEditingCollabCursorService','_messageService','OFFLINE','pushState','PENDING','_handleEvent','_config','add','unsubscribe','_anchor','size','blue.400','AWAITING_WITH_PENDING','eventID','FromArray','rgba(255,\x20255,\x20255,\x200.01)','MUTATION','INVALID_INVITE_CODE','_toggleOnline','onPointerLeave$','_unitStatus','VIEW_MAIN','roomMembers','hide','getCellPositionByOffset','syncEditingCollabCursor','subUnitId','storage','12961240YvnkYW','flatMap','2528631gGQNkM','exhaustSavingTask','use','_clearOtherTimers','APPLY_REJECT','trim','EMAIL_HAS_BEEN_BOUND','_colorAssignService','collabCursorState$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_URL_COL_OUT_OF_RANGE','380670DhoBaz','[RemoteUniscriptService]:\x20no\x20focused\x20unit','max','YUUMI_TABLE_NOT_FOUND_IN_UNIT','disposeWithMe','complete','unitId','_name','getCurrentSelections','http://www.w3.org/2000/svg','icon','getOffsetConfig','SUBMIT_CHANGESET_TIMEOUT','wsSessionTicketUrl','children','UNAUTHENTICATED','toString','height','_transformPreviousActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','getRenderById','_cursorInfo$'];_0x54a9=function(){return _0x3444de;};return _0x54a9();}class he extends _0x2a0665{constructor(_0x130d3,_0x416bc2){const _0x20e535=_0x156497;super(_0x130d3,_0x416bc2),_(this,_0x20e535(0x214)),_(this,_0x20e535(0x35c)),(this[_0x20e535(0x214)]=_0x416bc2==null?void 0x0:_0x416bc2[_0x20e535(0x214)],this[_0x20e535(0x35c)]=_0x416bc2==null?void 0x0:_0x416bc2[_0x20e535(0x35c)]);}static[_0x156497(0x180)](_0x15ac7f,_0x253af0){const _0x62b1ac=_0x156497,{text:_0x3ef9f2,color:_0x24f7b8}=_0x253af0;_0x15ac7f[_0x62b1ac(0x1ae)](),_0x15ac7f[_0x62b1ac(0x21f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x54616d=_0x15ac7f[_0x62b1ac(0x1ea)](_0x3ef9f2)[_0x62b1ac(0x2cf)],_0x4af9ff=Math['min'](_0x54616d+0x2*me,Qe);Oi(_0x15ac7f,{'height':ee,'radius':0x4,'width':_0x4af9ff,'fill':_0x24f7b8}),_0x15ac7f['fillStyle']=_0x62b1ac(0x1b1);const _0x3a32ce=me,_0x239654=ee-Ei,_0x31c6bf=Qe-0x2*me;if(_0x54616d>_0x31c6bf){let _0xb35b48='',_0x3b67a3=0x0;for(const _0x478132 of _0x3ef9f2){const _0x1cb4e7=_0x15ac7f[_0x62b1ac(0x1ea)](_0x478132)[_0x62b1ac(0x2cf)];if(_0x3b67a3+_0x1cb4e7<=_0x31c6bf-_0x15ac7f[_0x62b1ac(0x1ea)](_0x62b1ac(0x35a))[_0x62b1ac(0x2cf)])_0xb35b48+=_0x478132,_0x3b67a3+=_0x1cb4e7;else{_0xb35b48+=_0x62b1ac(0x35a);break;}}_0x15ac7f[_0x62b1ac(0x2bf)](_0xb35b48,_0x3a32ce,_0x239654);}else _0x15ac7f[_0x62b1ac(0x2bf)](_0x3ef9f2,_0x3a32ce,_0x239654);_0x15ac7f['restore']();}['_draw'](_0x36adba){const _0x68bf47=_0x156497;he[_0x68bf47(0x180)](_0x36adba,this);}}const Ie=_0x156497(0x1a1),bi=_0x156497(0x1ff),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x156497(0x26f);class qe{constructor(_0x4ce665,_0x1f49f8,_0x5ac755,_0x3d0ed1){const _0x2bc6b6=_0x156497;_(this,_0x2bc6b6(0x31b),[]),_(this,_0x2bc6b6(0x269),null),_(this,_0x2bc6b6(0x1e6),null),_(this,_0x2bc6b6(0x16d),null),_(this,'_hideTimer',null),_(this,_0x2bc6b6(0x234),null),(this[_0x2bc6b6(0x1d8)]=_0x4ce665,this['_scene']=_0x1f49f8,this[_0x2bc6b6(0x33d)]=_0x5ac755,this[_0x2bc6b6(0x1f8)]=_0x3d0ed1,this[_0x2bc6b6(0x337)]());}set['_hover'](_0x1ee0fb){const _0xcde20e=_0x156497;_0x1ee0fb?(this['_anchorDot']&&this[_0xcde20e(0x16d)][_0xcde20e(0x277)](),this[_0xcde20e(0x1e6)]&&this[_0xcde20e(0x1e6)][_0xcde20e(0x2c2)]()):(this[_0xcde20e(0x16d)]&&this[_0xcde20e(0x16d)][_0xcde20e(0x2c2)](),this['_textBubble']&&this[_0xcde20e(0x1e6)][_0xcde20e(0x277)]());}[_0x156497(0x25e)](){const _0x5bc4d0=_0x156497;for(const _0x649462 of this[_0x5bc4d0(0x31b)])_0x649462['dispose']();this['_textBubble']&&this[_0x5bc4d0(0x1e6)][_0x5bc4d0(0x25e)](),this[_0x5bc4d0(0x16d)]&&this[_0x5bc4d0(0x16d)]['dispose'](),this['_anchor']&&this['_anchor'][_0x5bc4d0(0x25e)](),this[_0x5bc4d0(0x234)]&&this['_eventUnsubscribe']();}[_0x156497(0x337)](){const _0x113eca=_0x156497;var _0x14363d;const {_docSkeleton:_0x2d6b9a,_document:_0x4a13e1}=this,{color:_0x4edfa3,name:_0x3d6e75,ranges:_0x1a25d9}=this['_cursor'],_0x244f63=_0x4a13e1[_0x113eca(0x294)](),{docsLeft:_0x4ef2d8,docsTop:_0x4b9570}=_0x244f63,_0x1cd396=new _0x35eb81(_0x244f63,_0x2d6b9a);for(const {startOffset:_0x331d0c,endOffset:_0x46ddc2,rangeType:_0x4c8489,segmentId:_0x5ec3a4,segmentPage:_0x590b35,collapsed:_0x3d6575,isActive:_0x28def3}of _0x1a25d9){const _0x322a76=_0x2d6b9a[_0x113eca(0x1d9)](_0x331d0c,!0x0,_0x5ec3a4,_0x590b35);let _0x1ae920=_0x2d6b9a[_0x113eca(0x1d9)](_0x46ddc2,!0x0,_0x5ec3a4,_0x590b35);if(_0x1ae920==null&&(_0x1ae920=_0x2d6b9a[_0x113eca(0x1d9)](_0x46ddc2-0x1,!0x1,_0x5ec3a4,_0x590b35)),_0x28def3){const {contentBoxPointGroup:_0x3a5a2c}=_0x1cd396[_0x113eca(0x1d2)](_0x1ae920,_0x1ae920);if(_0x3a5a2c[_0x113eca(0x1c5)]===0x0)continue;this[_0x113eca(0x1ab)](_0x4edfa3,_0x3a5a2c,_0x4ef2d8,_0x4b9570,_0x3d6e75),this[_0x113eca(0x234)]=this[_0x113eca(0x19d)]();}if(_0x322a76&&_0x1ae920){if(_0x4c8489===_0x55a54a[_0x113eca(0x1f5)]){const _0x20f22a=new _0x1ec7a6(_0x244f63,_0x2d6b9a),{pointGroup:_0x469e37}=(_0x14363d=_0x20f22a['getRangePointData'](_0x322a76,_0x1ae920))!=null?_0x14363d:{};if(_0x469e37==null||_0x469e37[_0x113eca(0x1c5)]===0x0)continue;this[_0x113eca(0x29f)](_0x4edfa3,_0x469e37,_0x4ef2d8,_0x4b9570);}else{if(!_0x3d6575){const {borderBoxPointGroup:_0x1c0794}=_0x1cd396[_0x113eca(0x1d2)](_0x322a76,_0x1ae920);if(_0x1c0794['length']===0x0)continue;this[_0x113eca(0x188)](_0x4edfa3,_0x1c0794,_0x4ef2d8,_0x4b9570);}}}}}[_0x156497(0x1ab)](_0x45a703,_0x2e297e,_0x2be323,_0x3a3c95,_0x11f433){const _0x538994=_0x156497,_0x504a31=this[_0x538994(0x1b6)](_0x2e297e),{left:_0x172bde,top:_0x4e3ae9,height:_0x3fc254}=_0x504a31,_0x442494=this[_0x538994(0x1d6)](),_0x1c8069=Di/_0x442494,_0x32237e=new _0x2ef6de(Ie+_0x1f2cef['generateRandomId'](X),{'left':_0x172bde+_0x2be323-_0x1c8069,'top':_0x4e3ae9+_0x3a3c95,'height':_0x3fc254,'width':Ri,'fill':_0x45a703||_0x3eb452(_0x306c87[_0x538994(0x36f)],0x0),'strokeWidth':_0x1c8069,'stroke':Ni,'evented':!0x0});this[_0x538994(0x269)]=_0x32237e,this[_0x538994(0x1aa)][_0x538994(0x215)](_0x32237e,_0x2eef48);const _0x48c548=new _0x2ef6de(Ie+_0x1f2cef[_0x538994(0x354)](X),{'left':_0x172bde+_0x2be323-_0x1c8069,'top':_0x4e3ae9+_0x3a3c95-ge/0x2,'height':ge,'width':ge,'fill':_0x45a703||_0x3eb452(_0x306c87[_0x538994(0x36f)],0x0),'strokeWidth':0x0,'stroke':_0x45a703||_0x3eb452(_0x306c87['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x48c548,this[_0x538994(0x1aa)]['addObject'](_0x48c548,_0x2eef48);const _0x2136a4=new he(Ie+_0x1f2cef[_0x538994(0x354)](X),{'left':_0x172bde+_0x2be323-_0x1c8069,'top':_0x4e3ae9+_0x3a3c95-ee,'text':_0x11f433,'color':_0x45a703});this[_0x538994(0x1e6)]=_0x2136a4,this[_0x538994(0x1aa)][_0x538994(0x215)](_0x2136a4,_0x2eef48),this[_0x538994(0x16f)]=!0x1;}['_handleHover'](){const _0x129c9b=_0x156497,_0x2f6123=this['_anchor'][_0x129c9b(0x23c)][_0x129c9b(0x35d)](()=>{const _0x51e67e=_0x129c9b;this[_0x51e67e(0x16f)]=!0x0;}),_0x34743c=this[_0x129c9b(0x269)][_0x129c9b(0x273)]['subscribeEvent'](()=>{const _0x9904f3=_0x129c9b;this[_0x9904f3(0x2fa)]&&clearTimeout(this[_0x9904f3(0x2fa)]),this[_0x9904f3(0x2fa)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2121d4=_0x129c9b;_0x2f6123[_0x2121d4(0x268)](),_0x34743c['unsubscribe']();};}[_0x156497(0x188)](_0x29da54,_0x2e12c7,_0x1a9e01,_0x5c5cb2){const _0x548253=_0x156497,_0x1c18af=new _0xfcf1ab(_0x29da54)[_0x548253(0x2c5)](0.2)[_0x548253(0x371)](),_0x411d06=new _0x114b2c(bi+_0x1f2cef[_0x548253(0x354)](X),{'pointsGroup':_0x2e12c7,'fill':_0x1c18af||_0x3eb452(_0x306c87[_0x548253(0x36f)],0.2),'left':_0x1a9e01,'top':_0x5c5cb2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x548253(0x2aa)](_0x411d06),this[_0x548253(0x1aa)][_0x548253(0x215)](_0x411d06,_0x2eef48);}[_0x156497(0x29f)](_0x394e44,_0xa5d64b,_0x30e626,_0x3517c0){const _0xacd330=_0x156497,_0x538bde=new _0xfcf1ab(_0x394e44)[_0xacd330(0x2c5)](0.2)[_0xacd330(0x371)](),_0xcd1f73=new _0x114b2c(Ti+_0x1f2cef[_0xacd330(0x354)](X),{'pointsGroup':_0xa5d64b,'fill':_0x538bde||_0x3eb452(_0x306c87['black'],0.2),'left':_0x30e626,'top':_0x3517c0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xcd1f73),this['_scene'][_0xacd330(0x215)](_0xcd1f73,_0x2eef48);}[_0x156497(0x1b6)](_0x13654f){const _0x4050a7=_0x13654f[0x0],_0x5be0f6=_0x4050a7[0x0],_0x169f15=_0x4050a7[0x2],{x:_0x5a9592,y:_0x281e03}=_0x5be0f6,{x:_0x325008,y:_0x234b06}=_0x169f15;return{'left':_0x5a9592,'top':_0x281e03,'width':_0x325008-_0x5a9592,'height':_0x234b06-_0x281e03};}[_0x156497(0x1d6)](){const _0x48871e=_0x156497,{scaleX:_0x29ba99,scaleY:_0x2232f8}=this[_0x48871e(0x1aa)][_0x48871e(0x1ba)]();return Math[_0x48871e(0x28b)](_0x29ba99,_0x2232f8);}}var Ui=Object[_0x156497(0x248)],Mi=(_0x1642c7,_0x49b4e8,_0x52a526,_0x56eb18)=>{const _0xfa54bf=_0x156497;for(var _0x32d18d=_0x56eb18>0x1?void 0x0:_0x56eb18?Ui(_0x49b4e8,_0x52a526):_0x49b4e8,_0x309377=_0x1642c7[_0xfa54bf(0x1c5)]-0x1,_0x1e4465;_0x309377>=0x0;_0x309377--)(_0x1e4465=_0x1642c7[_0x309377])&&(_0x32d18d=_0x1e4465(_0x32d18d)||_0x32d18d);return _0x32d18d;},Z=(_0x969b6a,_0x9cae09)=>(_0x37d3b1,_0x23963f)=>_0x9cae09(_0x37d3b1,_0x23963f,_0x969b6a);let Le=class extends _0x150e26{constructor(_0x4edac7,_0x3adddf,_0x20473e,_0x35eb7e,_0x367242){const _0x5dbfbc=_0x156497;super(),_(this,_0x5dbfbc(0x1c9),[]),_(this,_0x5dbfbc(0x2b5),[]),(this[_0x5dbfbc(0x2d2)]=_0x4edac7,this[_0x5dbfbc(0x259)]=_0x3adddf,this[_0x5dbfbc(0x317)]=_0x20473e,this['_commandService']=_0x35eb7e,this[_0x5dbfbc(0x312)]=_0x367242,this[_0x5dbfbc(0x2ed)]());}[_0x156497(0x2ed)](){const _0x253134=_0x156497,_0x3d1687=this[_0x253134(0x2d2)][_0x253134(0x28f)],_0x4d48d9=this[_0x253134(0x259)];this['disposeWithMe'](_0x1b084c([this['_collabCursorController'][_0x253134(0x30b)](_0x3d1687),this[_0x253134(0x312)][_0x253134(0x2b4)]])[_0x253134(0x2de)](_0x5a0751(([_0x59774c,_0x517566])=>({'skeleton':_0x4d48d9[_0x253134(0x1e0)](),'cursors':[..._0x59774c[_0x253134(0x25c)]()][_0x253134(0x27d)](_0x2f7107=>({..._0x2f7107,'color':this[_0x253134(0x312)][_0x253134(0x246)](_0x2f7107['color'])}))})))[_0x253134(0x2fb)](_0x221e5e=>{if(this['_removeCollabCursors'](),_0x221e5e){const {skeleton:_0x78d844,cursors:_0x1509be}=_0x221e5e;this['_updateCollabCursors'](_0x78d844,_0x1509be);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x156497(0x1f3)](_0x10e906,_0x1142e7){const _0x336754=_0x156497,{scene:_0x3681ad,mainComponent:_0x503082}=this['_context'],_0x452a26=_0x1142e7[_0x336754(0x20b)](_0x2915ac=>new qe(_0x2915ac,_0x3681ad,_0x10e906,_0x503082));this[_0x336754(0x1c9)]=_0x452a26,this[_0x336754(0x2b5)]=_0x1142e7;}[_0x156497(0x16e)](){const _0x4ae648=_0x156497;this[_0x4ae648(0x32c)]();const {scene:_0x338924,mainComponent:_0x442e24}=this[_0x4ae648(0x2d2)],_0x14ff97=this[_0x4ae648(0x259)][_0x4ae648(0x1e0)](),_0x4610e0=this[_0x4ae648(0x2b5)][_0x4ae648(0x20b)](_0x251674=>new qe(_0x251674,_0x338924,_0x14ff97,_0x442e24));this[_0x4ae648(0x1c9)]=_0x4610e0;}[_0x156497(0x32c)](){const _0x37de26=_0x156497;this[_0x37de26(0x1c9)][_0x37de26(0x25b)](_0x5d36e4=>_0x5d36e4[_0x37de26(0x25e)]()),this[_0x37de26(0x1c9)]=[];}['_initCommandExecutedListener'](){const _0x56372a=[_0x48beed['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x47adaf=>{const _0x187eb6=_0x1c48;_0x56372a['includes'](_0x47adaf['id'])&&_0x47adaf['params'][_0x187eb6(0x28f)]===this[_0x187eb6(0x2d2)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4a7343=_0x156497;this[_0x4a7343(0x28d)](_0x1f8c6e(this[_0x4a7343(0x2d2)][_0x4a7343(0x305)]['onTransformChange$'])['pipe'](_0x371276(_0x10ea35=>_0x10ea35[_0x4a7343(0x1fa)]===_0xb40214['resize']),_0x314c54(0x10))[_0x4a7343(0x2fb)](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0xb660c4(_0x5bf942)),Z(0x2,_0xb660c4(H)),Z(0x3,_0x4badbb),Z(0x4,_0xb660c4(_0x21b4c2))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2a0665{constructor(_0x3c004b,_0x52997c){const _0x14c1ce=_0x156497;super(_0x3c004b,_0x52997c),_(this,'_color'),_(this,_0x14c1ce(0x16b),!0x1),_(this,_0x14c1ce(0x372)),_(this,_0x14c1ce(0x290),''),_(this,_0x14c1ce(0x1de),_0x14c1ce(0x2e4)),_(this,_0x14c1ce(0x363)),(_0x52997c&&this[_0x14c1ce(0x1d4)](_0x52997c),this[_0x14c1ce(0x23c)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x14c1ce(0x1d4)]({'hovered':!0x1})));}[_0x156497(0x1d4)](_0x4128a8){const _0x1cbc56=_0x156497;var _0x305235,_0xf8d9f3,_0x399921,_0x209a78,_0x31e767,_0xb038d9;this[_0x1cbc56(0x25d)]=(_0x305235=_0x4128a8[_0x1cbc56(0x214)])!=null?_0x305235:this['_color'],this[_0x1cbc56(0x16b)]=(_0xf8d9f3=_0x4128a8[_0x1cbc56(0x362)])!=null?_0xf8d9f3:this[_0x1cbc56(0x16b)],this['_range']=(_0x399921=_0x4128a8['range'])!=null?_0x399921:this[_0x1cbc56(0x372)],this['_name']=(_0x209a78=_0x4128a8[_0x1cbc56(0x170)])!=null?_0x209a78:this[_0x1cbc56(0x290)],this[_0x1cbc56(0x1de)]=(_0x31e767=_0x4128a8[_0x1cbc56(0x192)])!=null?_0x31e767:this[_0x1cbc56(0x1de)],this[_0x1cbc56(0x363)]=(_0xb038d9=_0x4128a8[_0x1cbc56(0x34d)])!=null?_0xb038d9:this[_0x1cbc56(0x363)],this['transformByState']({'width':_0x4128a8[_0x1cbc56(0x2cf)],'height':_0x4128a8[_0x1cbc56(0x29a)]});}['onMouseMove'](_0x340031){const _0x108cbb=_0x156497,{row:_0x348805,column:_0x1da99f}=_0x340031;if(_0x348805>=this[_0x108cbb(0x372)][_0x108cbb(0x166)]&&_0x348805<=this[_0x108cbb(0x372)][_0x108cbb(0x1a8)]&&_0x1da99f>=this[_0x108cbb(0x372)][_0x108cbb(0x1f7)]&&_0x1da99f<=this[_0x108cbb(0x372)][_0x108cbb(0x320)]){this[_0x108cbb(0x1d4)]({'hovered':!0x0});return;}this[_0x108cbb(0x1d4)]({'hovered':!0x1});}['triggerDblclick'](_0x47ec8d){return!0x1;}[_0x156497(0x183)](_0x136ad7){const _0x57771e=_0x156497;_0x2ef6de[_0x57771e(0x180)](_0x136ad7,{'width':this[_0x57771e(0x2cf)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x57771e(0x25d)],'evented':!0x1,'fill':this[_0x57771e(0x363)]}),this['_hovered']&&(_0x136ad7[_0x57771e(0x1ae)](),_0x136ad7[_0x57771e(0x2a7)](0x1,0x0,0x0,0x1,this[_0x57771e(0x2cf)],this[_0x57771e(0x1de)]===_0x57771e(0x326)?0x0:-0x14),he[_0x57771e(0x180)](_0x136ad7,{'text':this['_name'],'color':this[_0x57771e(0x25d)]}),_0x136ad7[_0x57771e(0x171)]());}}var Ai=Object[_0x156497(0x248)],yi=(_0x1bb1d,_0x6f2e22,_0x20f906,_0xdb75d8)=>{const _0x391f66=_0x156497;for(var _0x499d7d=_0xdb75d8>0x1?void 0x0:_0xdb75d8?Ai(_0x6f2e22,_0x20f906):_0x6f2e22,_0x12b5c4=_0x1bb1d[_0x391f66(0x1c5)]-0x1,_0x275324;_0x12b5c4>=0x0;_0x12b5c4--)(_0x275324=_0x1bb1d[_0x12b5c4])&&(_0x499d7d=_0x275324(_0x499d7d)||_0x499d7d);return _0x499d7d;},ve=(_0x1fe859,_0x7808e7)=>(_0x2b4aba,_0xd3592c)=>_0x7808e7(_0x2b4aba,_0xd3592c,_0x1fe859);const $i=0x1389;let Pe=class extends _0x150e26{constructor(_0x5cc459,_0x508dbf,_0x2e3e6b,_0x310789){const _0x57a968=_0x156497;super(),_(this,_0x57a968(0x2b5),new Set()),_(this,_0x57a968(0x20d),null),(this[_0x57a968(0x2d2)]=_0x5cc459,this[_0x57a968(0x18d)]=_0x508dbf,this['_collabCursorController']=_0x2e3e6b,this[_0x57a968(0x312)]=_0x310789,this[_0x57a968(0x2ed)]());}['_init'](){const _0x325b7c=_0x156497;this['_sheetSkeletonManagerService'][_0x325b7c(0x30c)][_0x325b7c(0x2de)](_0x48ff11(this['dispose$']),_0x26ac55(_0x3dcabe=>{const _0x1ac7d5=_0x325b7c;if(_0x3dcabe){const _0x851e0b=_0x3dcabe[_0x1ac7d5(0x24d)];return _0x1b084c(this[_0x1ac7d5(0x317)]['getCollabCursors$'](this[_0x1ac7d5(0x2d2)]['unitId']),this[_0x1ac7d5(0x312)][_0x1ac7d5(0x2b4)])[_0x1ac7d5(0x2de)](_0x5a0751(([_0x186ef9,_0x1b7351])=>{const _0x30af96=_0x1ac7d5,_0x25504f=new Map();return _0x186ef9[_0x30af96(0x25b)]((_0x56bcfb,_0x5548e1)=>{const _0x18fffc=_0x30af96;if(_0x56bcfb[_0x18fffc(0x20c)]===_0x851e0b){const _0x4422ca={..._0x56bcfb};_0x4422ca[_0x18fffc(0x214)]=this['_themeService'][_0x18fffc(0x246)](_0x56bcfb['color']),_0x25504f[_0x18fffc(0x2e6)](_0x5548e1,_0x4422ca);}}),{'skeleton':_0x3dcabe,'cursors':_0x25504f};}));}return _0x112d32({'skeleton':null,'cursors':new Map()});}))[_0x325b7c(0x2fb)](({skeleton:_0x4184c6,cursors:_0x59b903})=>{const _0x2979aa=_0x325b7c;this['_removeCollabCursors'](),_0x4184c6&&this[_0x2979aa(0x1f3)](_0x4184c6,_0x59b903);}),this[_0x325b7c(0x18d)][_0x325b7c(0x30c)][_0x325b7c(0x2fb)](_0x41a9b4=>{const _0x86c49a=_0x325b7c;if(_0x41a9b4==null)return;const {skeleton:_0x307aad}=_0x41a9b4,{scene:_0x4cbc96}=this[_0x86c49a(0x2d2)];_0x4cbc96[_0x86c49a(0x2d5)][_0x86c49a(0x35d)](_0x1c20e3(_0x37e139=>{const _0x47ef2e=_0x86c49a;var _0x7b952f,_0x7a80e8;const {offsetX:_0x2ece73,offsetY:_0x1eb9b9}=_0x37e139,{x:_0x1ff0b1,y:_0x21d829}=_0x4cbc96[_0x47ef2e(0x217)](_0x412205[_0x47ef2e(0x26e)]([_0x2ece73,_0x1eb9b9])),{scaleX:_0x250ee5,scaleY:_0x1e889a}=_0x4cbc96[_0x47ef2e(0x1ba)](),_0x119cdd=_0x4cbc96['getViewport'](_0x16431f[_0x47ef2e(0x275)]),_0x60876e=_0x4cbc96[_0x47ef2e(0x1fc)](_0x412205['FromArray']([_0x1ff0b1,_0x21d829]),_0x119cdd),_0xaec3f0=_0x307aad[_0x47ef2e(0x278)](_0x2ece73,_0x1eb9b9,_0x250ee5,_0x1e889a,_0x60876e);((_0x7b952f=this[_0x47ef2e(0x20d)])==null?void 0x0:_0x7b952f[_0x47ef2e(0x218)])===_0xaec3f0[_0x47ef2e(0x218)]&&((_0x7a80e8=this[_0x47ef2e(0x20d)])==null?void 0x0:_0x7a80e8[_0x47ef2e(0x23a)])===_0xaec3f0[_0x47ef2e(0x23a)]||this[_0x47ef2e(0x2b5)]['forEach'](_0x3ee164=>{_0x3ee164['onMouseMove'](_0xaec3f0);});},0x64));});}['_updateCollabCursors'](_0xaa8112,_0x31f37e){const _0x204bc9=_0x156497;var _0x4eb296;const _0x54b3ea=(_0x4eb296=this['_sheetSkeletonManagerService'][_0x204bc9(0x360)]())==null?void 0x0:_0x4eb296[_0x204bc9(0x21c)];if(!_0x54b3ea)return;const _0x202aeb=this[_0x204bc9(0x1df)]();if(!_0x202aeb)return;this[_0x204bc9(0x2b5)][_0x204bc9(0x25b)](_0x431a44=>{const _0x58bdf9=_0x204bc9;_0x431a44[_0x58bdf9(0x2f3)]();});const {scene:_0x245a06}=_0x202aeb,_0x1bce59=xi(Array[_0x204bc9(0x24e)](_0x31f37e[_0x204bc9(0x25c)]()))[_0x204bc9(0x20b)](_0x1b773d=>{const _0xffb2a6=_0x204bc9,{color:_0x5ab38c,range:_0x14411e,name:_0x226543,selection:_0x2ded28,sheetID:_0x5ed99e}=_0x1b773d,{startColumn:_0x50e80b,startRow:_0x4fcd64,endColumn:_0x3095ea,endRow:_0x1120e9}=_0x14411e,_0x1cb967=_0x3a0659(_0x4fcd64,_0x50e80b,_0x245a06,_0x54b3ea),_0x4febc3=_0x3a0659(_0x1120e9,_0x3095ea,_0x245a06,_0x54b3ea),{columnHeaderHeightAndMarginTop:_0x5cc0e0}=_0x54b3ea,{startX:_0x22018a,startY:_0xa40fa}=_0x1cb967,{endX:_0x1d4d8e,endY:_0x5e221b}=_0x4febc3,_0xeaa640=_0x1d4d8e-_0x22018a,_0x3f1715=_0x5e221b-_0xa40fa,_0x2e3ec8={'labelPosition':_0xa40fa-_0x5cc0e0>=ee?'top':_0xffb2a6(0x326),'sheetID':_0x5ed99e,'range':_0x14411e,'color':_0x5ab38c,'name':_0x226543,'selection':_0x2ded28,'left':_0x22018a,'top':_0xa40fa,'width':_0xeaa640,'height':_0x3f1715,'evented':!0x1,'zIndex':$i};return new wi(_0x226543,_0x2e3ec8);});_0x245a06[_0x204bc9(0x2f8)](_0x1bce59,Li),this[_0x204bc9(0x2b5)]=new Set(_0x1bce59);}[_0x156497(0x32c)](){const _0x23ef06=_0x156497;var _0x1d70e8;(_0x1d70e8=this['_cursors'])==null||_0x1d70e8[_0x23ef06(0x25b)](_0x447f5b=>_0x447f5b[_0x23ef06(0x25e)]());}[_0x156497(0x1df)](){const _0x30018b=_0x156497;return _0x4b24ee(this[_0x30018b(0x2d2)]['unit'],this['_context']);}};Pe=yi([ve(0x1,_0xb660c4(_0x2f82e6)),ve(0x2,_0xb660c4(H)),ve(0x3,_0xb660c4(_0x21b4c2))],Pe);function xi(_0x49a607){const _0x5af0c8=_0x156497,_0x4d1026=new Map();return _0x49a607[_0x5af0c8(0x25b)](_0x42d71b=>{const _0x12e013=_0x5af0c8;if(_0x4d1026[_0x12e013(0x2a8)](_0x42d71b[_0x12e013(0x1da)])){const _0x43f9b7=_0x4d1026['get'](_0x42d71b['selection']);_0x43f9b7['name']+=',\x20'+_0x42d71b['name'];}else _0x4d1026[_0x12e013(0x2e6)](_0x42d71b[_0x12e013(0x1da)],_0x42d71b);}),Array['from'](_0x4d1026[_0x5af0c8(0x25c)]());}var v=function(){const _0x2026cb=_0x156497;return v=Object[_0x2026cb(0x199)]||function(_0x2ae33b){const _0x485da6=_0x2026cb;for(var _0x2d6b18,_0x135c6b=0x1,_0x26a422=arguments['length'];_0x135c6b<_0x26a422;_0x135c6b++){_0x2d6b18=arguments[_0x135c6b];for(var _0x1007e2 in _0x2d6b18)Object[_0x485da6(0x2b1)][_0x485da6(0x1cb)][_0x485da6(0x2b8)](_0x2d6b18,_0x1007e2)&&(_0x2ae33b[_0x1007e2]=_0x2d6b18[_0x1007e2]);}return _0x2ae33b;},v[_0x2026cb(0x307)](this,arguments);},Bi=function(_0x22cc77,_0x547a5c){const _0x2c6378=_0x156497;var _0x55d312={};for(var _0x282954 in _0x22cc77)Object[_0x2c6378(0x2b1)][_0x2c6378(0x1cb)]['call'](_0x22cc77,_0x282954)&&_0x547a5c[_0x2c6378(0x365)](_0x282954)<0x0&&(_0x55d312[_0x282954]=_0x22cc77[_0x282954]);if(_0x22cc77!=null&&typeof Object[_0x2c6378(0x17e)]==_0x2c6378(0x202)){for(var _0x157173=0x0,_0x282954=Object[_0x2c6378(0x17e)](_0x22cc77);_0x157173<_0x282954[_0x2c6378(0x1c5)];_0x157173++)_0x547a5c[_0x2c6378(0x365)](_0x282954[_0x157173])<0x0&&Object[_0x2c6378(0x2b1)][_0x2c6378(0x2b9)][_0x2c6378(0x2b8)](_0x22cc77,_0x282954[_0x157173])&&(_0x55d312[_0x282954[_0x157173]]=_0x22cc77[_0x282954[_0x157173]]);}return _0x55d312;},Fe=_0x24c9de(function(_0x5cafd6,_0xb8a29a){const _0x210c32=_0x156497;var _0x2478ab=_0x5cafd6[_0x210c32(0x293)],_0x1df8b0=_0x5cafd6['id'],_0x23daba=_0x5cafd6['className'],_0x33b9c6=_0x5cafd6[_0x210c32(0x2e5)],_0x350166=Bi(_0x5cafd6,[_0x210c32(0x293),'id','className','extend']),_0x2a919b=_0x210c32(0x32e)[_0x210c32(0x21b)](_0x1df8b0,'\x20')[_0x210c32(0x21b)](_0x23daba||'')[_0x210c32(0x283)](),_0x5d3cc5=_0x232c43('_'[_0x210c32(0x21b)](Fi()));return Rt(_0x2478ab,''['concat'](_0x1df8b0),{'defIds':_0x2478ab[_0x210c32(0x2b2)],'idSuffix':_0x5d3cc5[_0x210c32(0x318)]},v({'ref':_0xb8a29a,'className':_0x2a919b},_0x350166),_0x33b9c6);});function Rt(_0x22e041,_0x1e4de0,_0x3bcf0f,_0x447f15,_0x485425){const _0x12bb91=_0x156497;return _0x5d7e50(_0x22e041[_0x12bb91(0x22e)],v(v({'key':_0x1e4de0},ki(_0x22e041,_0x3bcf0f,_0x485425)),_0x447f15),(Hi(_0x22e041,_0x3bcf0f)[_0x12bb91(0x297)]||[])[_0x12bb91(0x20b)](function(_0x32f789,_0x32f28e){const _0x20b273=_0x12bb91;return Rt(_0x32f789,''[_0x20b273(0x21b)](_0x1e4de0,'-')['concat'](_0x22e041['tag'],'-')[_0x20b273(0x21b)](_0x32f28e),_0x3bcf0f,void 0x0,_0x485425);}));}function ki(_0x335e7b,_0x199495,_0x4141f7){const _0x1a3a7f=_0x156497;var _0x33ca3d=v({},_0x335e7b['attrs']);_0x4141f7!=null&&_0x4141f7[_0x1a3a7f(0x2ca)]&&_0x33ca3d[_0x1a3a7f(0x32d)]===_0x1a3a7f(0x2ca)&&(_0x33ca3d[_0x1a3a7f(0x32d)]=_0x4141f7[_0x1a3a7f(0x2ca)]),_0x335e7b[_0x1a3a7f(0x22e)]===_0x1a3a7f(0x306)&&_0x33ca3d['id']&&(_0x33ca3d['id']=_0x33ca3d['id']+_0x199495['idSuffix']),Object[_0x1a3a7f(0x206)](_0x33ca3d)[_0x1a3a7f(0x25b)](function(_0x130ae3){const _0x514f4b=_0x1a3a7f;var _0x37260b=_0x130ae3[0x0],_0x276c03=_0x130ae3[0x1];_0x37260b===_0x514f4b(0x306)&&typeof _0x276c03=='string'&&(_0x33ca3d[_0x37260b]=_0x276c03[_0x514f4b(0x1e1)](/url\(#(.*)\)/,'url(#$1'[_0x514f4b(0x21b)](_0x199495[_0x514f4b(0x355)],')')));});var _0x55584c=_0x199495[_0x1a3a7f(0x2b2)];return!_0x55584c||_0x55584c[_0x1a3a7f(0x1c5)]===0x0||(_0x335e7b['tag']===_0x1a3a7f(0x280)&&_0x33ca3d['xlink:href']&&(_0x33ca3d[_0x1a3a7f(0x237)]=_0x33ca3d[_0x1a3a7f(0x237)]+_0x199495[_0x1a3a7f(0x355)]),Object['entries'](_0x33ca3d)[_0x1a3a7f(0x25b)](function(_0x21f71f){const _0x4f8154=_0x1a3a7f;var _0x4f8fd2=_0x21f71f[0x0],_0x54c1c5=_0x21f71f[0x1];typeof _0x54c1c5==_0x4f8154(0x231)&&(_0x33ca3d[_0x4f8fd2]=_0x54c1c5[_0x4f8154(0x1e1)](/url\(#(.*)\)/,'url(#$1'[_0x4f8154(0x21b)](_0x199495['idSuffix'],')')));})),_0x33ca3d;}function Hi(_0x5b0568,_0xbf97b1){const _0x15fab5=_0x156497;var _0x3723b6,_0x51d377=_0xbf97b1[_0x15fab5(0x2b2)];return!_0x51d377||_0x51d377[_0x15fab5(0x1c5)]===0x0?_0x5b0568:_0x5b0568['tag']===_0x15fab5(0x242)&&(!((_0x3723b6=_0x5b0568[_0x15fab5(0x297)])===null||_0x3723b6===void 0x0)&&_0x3723b6[_0x15fab5(0x1c5)])?v(v({},_0x5b0568),{'children':_0x5b0568[_0x15fab5(0x297)][_0x15fab5(0x20b)](function(_0x5c776d){const _0x3603df=_0x15fab5;return typeof _0x5c776d[_0x3603df(0x2cb)]['id']=='string'&&_0x51d377&&_0x51d377['includes'](_0x5c776d['attrs']['id'])?v(v({},_0x5c776d),{'attrs':v(v({},_0x5c776d[_0x3603df(0x2cb)]),{'id':_0x5c776d[_0x3603df(0x2cb)]['id']+_0xbf97b1['idSuffix']})}):_0x5c776d;})}):_0x5b0568;}function Fi(){const _0x5666a0=_0x156497;return Math[_0x5666a0(0x1b2)]()[_0x5666a0(0x299)](0x24)[_0x5666a0(0x2f4)](0x2,0x8);}Fe[_0x156497(0x32a)]=_0x156497(0x1bf);var Yi={'tag':_0x156497(0x345),'attrs':{'xmlns':_0x156497(0x292),'fill':_0x156497(0x18b),'viewBox':_0x156497(0x2a2),'width':_0x156497(0x17f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x156497(0x185)},'children':[{'tag':_0x156497(0x303),'attrs':{'stroke':_0x156497(0x1e8),'d':_0x156497(0x211),'strokeLinecap':_0x156497(0x19b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x156497(0x242),'attrs':{},'children':[{'tag':_0x156497(0x2ee),'attrs':{'id':_0x156497(0x198)},'children':[{'tag':_0x156497(0x303),'attrs':{'fill':_0x156497(0x2ef),'d':_0x156497(0x2be)}}]}]}],'defIds':[_0x156497(0x198)]},Dt=_0x24c9de(function(_0x29cb54,_0x365bfa){const _0x112996=_0x156497;return _0x5d7e50(Fe,Object[_0x112996(0x199)]({},_0x29cb54,{'id':_0x112996(0x2ae),'ref':_0x365bfa,'icon':Yi}));});Dt[_0x156497(0x32a)]=_0x156497(0x163);var ji={'tag':_0x156497(0x345),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x156497(0x18b),'viewBox':'0\x200\x2017\x2016','width':_0x156497(0x17f),'height':_0x156497(0x17f)},'children':[{'tag':'g','attrs':{'clipPath':_0x156497(0x2a3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x156497(0x19b),'strokeLinejoin':_0x156497(0x19b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x156497(0x2ee),'attrs':{'id':_0x156497(0x19c)},'children':[{'tag':_0x156497(0x303),'attrs':{'fill':'white','d':_0x156497(0x2be),'transform':_0x156497(0x2e1)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x24c9de(function(_0x446f90,_0x47f190){const _0x2d9d4=_0x156497;return _0x5d7e50(Fe,Object[_0x2d9d4(0x199)]({},_0x446f90,{'id':'on-line-icon','ref':_0x47f190,'icon':ji}));});Nt['displayName']=_0x156497(0x241);function Vi(_0x62dca){const _0x26bf63=_0x156497;switch(_0x62dca){case _0x51d219['OFFLINE']:return _0x26bf63(0x22d);case _0x51d219[_0x26bf63(0x2ba)]:return _0x26bf63(0x195);case _0x51d219[_0x26bf63(0x194)]:return _0x26bf63(0x23f);case _0x51d219[_0x26bf63(0x2c8)]:return'collabStatus.notCollab';case _0x51d219[_0x26bf63(0x370)]:case _0x51d219[_0x26bf63(0x26c)]:return _0x26bf63(0x1b7);case _0x51d219[_0x26bf63(0x196)]:case _0x51d219[_0x26bf63(0x264)]:return'collabStatus.synced';}}function Wi(_0x3efe42){const _0x546d81=_0x156497,{status$:_0x2fa109}=_0x3efe42,_0x160e5a=_0x3aad94(_0x2fa109,_0x51d219['NOT_COLLAB']),_0x3aceb6=_0x5e7e13(_0x150001),_0x371ade=_0x5e7e13(_0x537753),_0x5405ff=_0x160e5a!==_0x51d219[_0x546d81(0x262)],_0x59ff08=_0x3aceb6['t'](Vi(_0x160e5a)),_0x5a88af=_0x5405ff?_0x57dbff(Nt,{}):_0x57dbff(Dt,{}),_0x4f1e25=_0x3283c5(()=>{const _0x440813=_0x546d81;_0x5405ff||_0x371ade[_0x440813(0x24f)]();},[_0x5405ff,_0x371ade]);function _0x3c2156(){const _0x53a492=_0x546d81;return _0x260729(_0x53a492(0x226),{'className':_0x53a492(0x16a),'onClick':_0x4f1e25,'children':[_0x57dbff(_0x53a492(0x226),{'className':_0x4f3ba5('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5405ff,'univer-text-red-500':!_0x5405ff}),'children':_0x5a88af}),_0x57dbff(_0x53a492(0x226),{'className':_0x53a492(0x200),'children':_0x59ff08})]});}return _0x5405ff?_0x3c2156():_0x57dbff(_0x2575c4,{'title':_0x3aceb6['t'](_0x546d81(0x2ec)),'children':_0x3c2156()});}var Xi=Object[_0x156497(0x248)],Gi=(_0x4c9f0b,_0xe77a87,_0x3c19ce,_0x3225db)=>{for(var _0x6d7571=_0x3225db>0x1?void 0x0:_0x3225db?Xi(_0xe77a87,_0x3c19ce):_0xe77a87,_0x122cfa=_0x4c9f0b['length']-0x1,_0x35147d;_0x122cfa>=0x0;_0x122cfa--)(_0x35147d=_0x4c9f0b[_0x122cfa])&&(_0x6d7571=_0x35147d(_0x6d7571)||_0x6d7571);return _0x6d7571;},Q=(_0x2fda1a,_0x3f563b)=>(_0x46e193,_0x16d2bc)=>_0x3f563b(_0x46e193,_0x16d2bc,_0x2fda1a);let te=class extends _0x4a158c{constructor(_0x466d12,_0x11257d,_0x454943,_0x45e433){const _0x6f4c5a=_0x156497;super(),_(this,'_status$',new _0x5f494d(_0x51d219['NOT_COLLAB'])),(this[_0x6f4c5a(0x33f)]=_0x466d12,this[_0x6f4c5a(0x2c7)]=_0x11257d,this['_collaborationController']=_0x454943,this[_0x6f4c5a(0x335)]=_0x45e433,this[_0x6f4c5a(0x1cf)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x2707d5=_0x156497;this[_0x2707d5(0x28d)](this['_univerInstanceService'][_0x2707d5(0x2bb)][_0x2707d5(0x2de)](_0x59ab97(()=>{const _0x28229e=_0x2707d5,_0x5df36e=this[_0x28229e(0x33f)][_0x28229e(0x357)]();return _0x5df36e?this[_0x28229e(0x201)]['getCollabEntity$'](_0x5df36e['getUnitId']()):_0x112d32(null);}),_0x59ab97(_0x51f261=>_0x51f261?_0x51f261[_0x2707d5(0x36e)]:_0x112d32(_0x51d219[_0x2707d5(0x2c8)])))[_0x2707d5(0x2fb)](_0x5d0d26=>{const _0x7214b0=_0x2707d5;this[_0x7214b0(0x253)][_0x7214b0(0x2e3)](_0x5d0d26);}));}[_0x156497(0x1cf)](){const _0x14df7f=_0x156497;this[_0x14df7f(0x28d)](this[_0x14df7f(0x335)][_0x14df7f(0x30a)](_0x594a90[_0x14df7f(0x2c4)],()=>_0x52f08e(Ki({'status$':this[_0x14df7f(0x253)][_0x14df7f(0x2c9)]()}),this[_0x14df7f(0x2c7)])));}};te=Gi([Q(0x0,_0x1e551e),Q(0x1,_0xb660c4(_0x290f28)),Q(0x2,_0xb660c4(_0xc742a)),Q(0x3,_0x555a9f)],te);function Ki(_0x5ce938){const {status$:_0x1e79c9}=_0x5ce938;return function(){return _0x57dbff(Wi,{'status$':_0x1e79c9});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x317393,_0x302b7f,_0x4928bb,_0xb057d)=>{const _0x42fd43=_0x156497;for(var _0x3b8177=_0xb057d>0x1?void 0x0:_0xb057d?zi(_0x302b7f,_0x4928bb):_0x302b7f,_0x2dd721=_0x317393[_0x42fd43(0x1c5)]-0x1,_0x4bbbab;_0x2dd721>=0x0;_0x2dd721--)(_0x4bbbab=_0x317393[_0x2dd721])&&(_0x3b8177=_0x4bbbab(_0x3b8177)||_0x3b8177);return _0x3b8177;},B=(_0x5c289f,_0x8904ef)=>(_0x164a75,_0xe00f85)=>_0x8904ef(_0x164a75,_0xe00f85,_0x5c289f);let se=class extends _0x4a158c{constructor(_0x4ac34c,_0x564371,_0x1e907,_0x3b47f0,_0x2c1e93,_0xbfd2e4){const _0x24f9ff=_0x156497;super(),this[_0x24f9ff(0x1a5)]=_0x4ac34c,this['_localCacheService']=_0x564371,this['_collaborationUIEventService']=_0x1e907,this[_0x24f9ff(0x261)]=_0x3b47f0,this[_0x24f9ff(0x1db)]=_0x2c1e93,this[_0x24f9ff(0x1c6)]=_0xbfd2e4,this['_setupBeforeClosingHandler'](),this[_0x24f9ff(0x32f)]();}['_setupBeforeClosingHandler'](){const _0x46499a=_0x156497;this[_0x46499a(0x28d)](this[_0x46499a(0x1a5)][_0x46499a(0x2cd)](()=>{const _0x1944fd=_0x46499a;if(this[_0x1944fd(0x20a)]['saveTaskMap'][_0x1944fd(0x26a)])return this[_0x1944fd(0x1c6)]['t'](_0x1944fd(0x1c1));}));}[_0x156497(0x32f)](){const _0x3ccf9b=_0x156497;this[_0x3ccf9b(0x28d)](this[_0x3ccf9b(0x2f9)][_0x3ccf9b(0x17b)][_0x3ccf9b(0x2fb)](_0x2e7cb2=>{const _0x42a749=_0x3ccf9b;_0x2e7cb2['id']===_0x3e80b9['OTHER_CLIENT_EDITING']&&this[_0x42a749(0x261)][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x2da)],'content':this[_0x42a749(0x1c6)]['t']('collaboration.single-unit.warning')}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x229)]&&this[_0x42a749(0x261)]['show']({'type':_0x4514d2[_0x42a749(0x2da)],'content':this['_localeService']['t'](_0x42a749(0x2fe))}),_0x2e7cb2['id']===_0x3e80b9['PERMISSION_DENIED']&&this[_0x42a749(0x1db)][_0x42a749(0x2c2)]({'title':this[_0x42a749(0x1c6)]['t'](_0x42a749(0x1d0)),'content':this[_0x42a749(0x1c6)]['t']('permission.content'),'type':_0x42a749(0x334),'duration':0x0}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x2ba)]&&this['_messageService'][_0x42a749(0x2c2)]({'type':_0x4514d2['Error'],'content':this[_0x42a749(0x1c6)]['t']('collaboration.closeRoom')+'('+_0x2e7cb2[_0x42a749(0x1b8)]+')'}),_0x2e7cb2['id']===_0x3e80b9['JOIN_ROOM_FAILED']&&this['_messageService'][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x2da)],'content':this[_0x42a749(0x1c6)]['t'](_0x2e7cb2[_0x42a749(0x1b8)]||'')}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x203)]&&this[_0x42a749(0x261)][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x2da)],'content':this[_0x42a749(0x1c6)]['t'](_0x42a749(0x2d0))}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x2c0)]&&this[_0x42a749(0x261)][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x1ac)],'content':this[_0x42a749(0x1c6)]['t'](_0x42a749(0x1c7))}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x295)]&&this[_0x42a749(0x261)][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x1ac)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x56b9db),B(0x1,_0x111b58),B(0x2,_0xb660c4(_0x467759)),B(0x3,_0x10a202),B(0x4,_0x2b35f5),B(0x5,_0xb660c4(_0x150001))],se);const Zi=_0x156497(0x2d7),et={},Ut=_0x5021ac(_0x156497(0x368));var Qi=Object[_0x156497(0x248)],qi=(_0x5d53a4,_0x22f955,_0x1b3440,_0x3c9636)=>{const _0x96fef7=_0x156497;for(var _0x5e12d2=_0x3c9636>0x1?void 0x0:_0x3c9636?Qi(_0x22f955,_0x1b3440):_0x22f955,_0x523e5f=_0x5d53a4[_0x96fef7(0x1c5)]-0x1,_0x250a53;_0x523e5f>=0x0;_0x523e5f--)(_0x250a53=_0x5d53a4[_0x523e5f])&&(_0x5e12d2=_0x250a53(_0x5e12d2)||_0x5e12d2);return _0x5e12d2;},G=(_0x23e0e0,_0x4d519c)=>(_0x2a1f92,_0xbfab08)=>_0x4d519c(_0x2a1f92,_0xbfab08,_0x23e0e0);let ie=class extends _0x150e26{constructor(_0x3c962f,_0x8d10cd,_0x161c00,_0xa51204,_0x14b3ae){const _0xde9710=_0x156497;super(),this[_0xde9710(0x1ca)]=_0x3c962f,this[_0xde9710(0x209)]=_0x8d10cd,this['_commandService']=_0x161c00,this['_dataLoaderService']=_0xa51204,_0x14b3ae?_0x14b3ae==null||_0x14b3ae['whenReady']()['then'](()=>this['_init']()):(this[_0xde9710(0x209)][_0xde9710(0x1ef)](_0xde9710(0x18a),_0xde9710(0x221)),this['_init']());}async[_0x156497(0x2ed)](){const _0x18cec3=_0x156497,_0x1e3b45=this[_0x18cec3(0x1ca)][_0x18cec3(0x30e)](_0x18cec3(0x34e)),_0x2c0c4d=this[_0x18cec3(0x1ca)][_0x18cec3(0x30e)](_0x18cec3(0x1fa)),_0x4875d6=this['_urlService']['getParam'](_0x18cec3(0x2d8));if(!_0x1e3b45||!_0x2c0c4d){this['_logService'][_0x18cec3(0x1ef)](_0x18cec3(0x18a),_0x18cec3(0x341));return;}const _0x3cebcd=await this[_0x18cec3(0x2eb)][_0x18cec3(0x174)](_0x1e3b45,Number(_0x2c0c4d),_0x4875d6);_0x3cebcd&&_0x3cebcd instanceof _0xdd109&&this[_0x18cec3(0x167)](_0x3cebcd);}async[_0x156497(0x167)](_0x58cf68){const _0x5a8897=_0x156497;await this[_0x5a8897(0x2ff)](_0x58cf68),_0x58cf68['activeSheet$'][_0x5a8897(0x2de)](_0x3d235a(this['dispose$']))[_0x5a8897(0x2fb)](_0x3d12b9=>{const _0x44f156=_0x5a8897;_0x3d12b9&&this[_0x44f156(0x1c2)](_0x3d12b9);}),this[_0x5a8897(0x1ca)][_0x5a8897(0x315)][_0x5a8897(0x2de)](_0x3d235a(this[_0x5a8897(0x2a1)]))[_0x5a8897(0x2fb)](()=>this[_0x5a8897(0x2ff)](_0x58cf68));}[_0x156497(0x1c2)](_0x18ae38,_0x5c9a3e=!0x1){const _0x39616a=_0x156497,_0x32ddb0=this[_0x39616a(0x1ca)][_0x39616a(0x30e)](_0x39616a(0x2d8));_0x18ae38[_0x39616a(0x1f6)]()!==_0x32ddb0&&this[_0x39616a(0x1ca)]['setParam'](_0x39616a(0x2d8),_0x18ae38[_0x39616a(0x1f6)](),_0x5c9a3e);}async[_0x156497(0x2ff)](_0xf73fd2){const _0x4f9038=_0x156497;var _0x3f7334;const _0x873478=this[_0x4f9038(0x1ca)]['getParam'](_0x4f9038(0x2d8));if(!_0x873478||!_0xf73fd2[_0x4f9038(0x25f)](_0x873478)){const _0x3b7142=_0xf73fd2[_0x4f9038(0x223)]()[0x0],_0x4655d9=_0xf73fd2['getSheetBySheetId'](_0x3b7142);if(!_0x4655d9)return;this[_0x4f9038(0x1c2)](_0x4655d9,!0x0),await this[_0x4f9038(0x1ed)][_0x4f9038(0x1ee)](_0x230905['id'],{'unitId':_0xf73fd2[_0x4f9038(0x352)](),'subUnitId':_0x3b7142});return;}((_0x3f7334=_0xf73fd2[_0x4f9038(0x2d6)]())==null?void 0x0:_0x3f7334['getSheetId']())!==_0x873478&&await this['_commandService'][_0x4f9038(0x1ee)](_0x230905['id'],{'unitId':_0xf73fd2[_0x4f9038(0x352)](),'subUnitId':_0x873478});}};ie=qi([G(0x0,Ut),G(0x1,_0x37221c),G(0x2,_0x4badbb),G(0x3,_0xb660c4(_0x9ad619)),G(0x4,_0x48143d(_0x4279eb))],ie);var en=Object[_0x156497(0x248)],tn=(_0x220391,_0xabfb68,_0x52b659,_0xc6a627)=>{const _0x87e699=_0x156497;for(var _0x165fd8=_0xc6a627>0x1?void 0x0:_0xc6a627?en(_0xabfb68,_0x52b659):_0xabfb68,_0x1e63cc=_0x220391[_0x87e699(0x1c5)]-0x1,_0x52351c;_0x1e63cc>=0x0;_0x1e63cc--)(_0x52351c=_0x220391[_0x1e63cc])&&(_0x165fd8=_0x52351c(_0x165fd8)||_0x165fd8);return _0x165fd8;},pe=(_0x1c5516,_0x570093)=>(_0x424c13,_0x1d0171)=>_0x570093(_0x424c13,_0x1d0171,_0x1c5516);let ne=class{constructor(_0x285f05,_0x2a50f0,_0xa6577f){const _0x39880b=_0x156497;this['_injector']=_0x285f05,this[_0x39880b(0x2f0)]=_0x2a50f0,this[_0x39880b(0x2e9)]=_0xa6577f;}[_0x156497(0x2b0)](_0x341090){const _0x3f98aa=_0x156497;this['_transformUndoRedoStack'](_0x341090),this[_0x3f98aa(0x29b)](_0x341090);}[_0x156497(0x17c)](_0x17ca53){const _0x3ea910=_0x156497,{unitID:_0x38da8a}=_0x17ca53,_0x56ce33=this[_0x3ea910(0x2e9)][_0x3ea910(0x29d)](_0x38da8a)[_0x3ea910(0x2f1)](_0x3ce984),{redoCache:_0x3504a0}=_0x56ce33[_0x3ea910(0x2cc)]();if(_0x3504a0[_0x3ea910(0x1c5)]===0x0)return _0x17ca53;let _0x333854=_0x1f2cef[_0x3ea910(0x31a)](_0x17ca53[_0x3ea910(0x340)][0x0]);for(let _0x322a3c=0x0;_0x322a3c<_0x3504a0['length'];_0x322a3c++){const _0x2f9094={'id':_0x3ea910(0x344),'params':{..._0x3504a0[_0x322a3c]}},_0x2039d5=this[_0x3ea910(0x2f0)]['transformMutation'](_0x333854,_0x2f9094,!0x1);if(_0x1e674d(_0x2039d5))throw _0x2039d5[_0x3ea910(0x334)];_0x333854=_0x2039d5['m1Prime'];}return{..._0x1f2cef[_0x3ea910(0x31a)](_0x17ca53),'mutations':[_0x333854]};}[_0x156497(0x164)](_0x1b3012){const _0x4a68ac=_0x156497,{unitID:_0x501663}=_0x1b3012,_0x151940=this[_0x4a68ac(0x2e9)]['getRenderById'](_0x501663)[_0x4a68ac(0x2f1)](_0x3ce984),{undoCache:_0x53ae66,redoCache:_0x3bd642}=_0x151940['getUndoRedoMutationParamsCache']();if(_0x53ae66[_0x4a68ac(0x1c5)]===0x0||_0x3bd642[_0x4a68ac(0x1c5)]===0x0)return;const _0x6bddae=[],_0x2f8a87=[];let _0x2e07c9=_0x1f2cef[_0x4a68ac(0x31a)](_0x1b3012[_0x4a68ac(0x340)][0x0]),_0x5cd442=_0x1f2cef[_0x4a68ac(0x31a)](_0x1b3012[_0x4a68ac(0x340)][0x0]);for(let _0xc6ede0=_0x53ae66['length']-0x1;_0xc6ede0>=0x0;_0xc6ede0--){const _0x23ab0b={'id':'doc.mutation.rich-text-editing','params':{..._0x53ae66[_0xc6ede0]}},_0x2ac2b2={'id':'doc.mutation.rich-text-editing','params':{..._0x3bd642[_0xc6ede0]}},_0x28e338=this['_transformService']['transformMutation'](_0x2e07c9,_0x23ab0b,!0x1),_0x244975=this[_0x4a68ac(0x2f0)][_0x4a68ac(0x205)](_0x5cd442,_0x2ac2b2,!0x1);if(_0x1e674d(_0x28e338))throw _0x28e338[_0x4a68ac(0x334)];if(_0x1e674d(_0x244975))throw _0x244975[_0x4a68ac(0x334)];_0x6bddae[_0x4a68ac(0x1a7)](_0x28e338[_0x4a68ac(0x224)]['params']),_0x2f8a87[_0x4a68ac(0x1a7)](_0x244975[_0x4a68ac(0x224)][_0x4a68ac(0x257)]),_0x2e07c9=_0x28e338[_0x4a68ac(0x1e3)],_0x5cd442=_0x244975[_0x4a68ac(0x1e3)];}_0x151940['setUndoRedoMutationParamsCache']({'undoCache':_0x6bddae,'redoCache':_0x2f8a87});}['_transformPreviousActiveRange'](_0x592bb7){const _0x3e9451=_0x156497,{unitID:_0x4072c6}=_0x592bb7,_0x46a003=this[_0x3e9451(0x2e9)]['getRenderById'](_0x4072c6)['with'](_0x3ce984),_0xae9a5f=_0x46a003['getActiveRange']();if(_0xae9a5f==null)return;const _0x23ec01=[{'id':_0x3e9451(0x344),'params':{'unitId':_0x592bb7[_0x3e9451(0x36c)],'actions':null,'textRanges':[_0xae9a5f]}}],_0x37f2e3=this[_0x3e9451(0x2f0)][_0x3e9451(0x1d7)](_0x592bb7,_0x23ec01);if(!_0x27cd5b(_0x37f2e3))throw _0x37f2e3[_0x3e9451(0x334)];const _0x16c1d8=_0x37f2e3['m2Prime'][0x0][_0x3e9451(0x257)][_0x3e9451(0x189)];Array[_0x3e9451(0x178)](_0x16c1d8)&&_0x16c1d8[_0x3e9451(0x1c5)]&&_0x46a003[_0x3e9451(0x239)](_0x16c1d8[0x0]);}};ne=tn([pe(0x0,_0xb660c4(_0x290f28)),pe(0x1,_0x7285b7),pe(0x2,_0x1e0bdd)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1274e2,_0x43895c,_0x465297,_0xe0aa83)=>{for(var _0x508f4a=_0xe0aa83>0x1?void 0x0:_0xe0aa83?sn(_0x43895c,_0x465297):_0x43895c,_0x1c088d=_0x1274e2['length']-0x1,_0x18c55d;_0x1c088d>=0x0;_0x1c088d--)(_0x18c55d=_0x1274e2[_0x1c088d])&&(_0x508f4a=_0x18c55d(_0x508f4a)||_0x508f4a);return _0x508f4a;},Ce=(_0x477b03,_0x4ef975)=>(_0x1f4a70,_0x41be8f)=>_0x4ef975(_0x1f4a70,_0x41be8f,_0x477b03);let re=class{constructor(_0x4dd36b,_0x11576c,_0x316425){const _0x1c3b30=_0x156497;this[_0x1c3b30(0x2c7)]=_0x4dd36b,this['_transformService']=_0x11576c,this[_0x1c3b30(0x342)]=_0x316425;}[_0x156497(0x181)](_0x29bba9){this['_transformHistoryAndStateStack'](_0x29bba9);}[_0x156497(0x17c)](_0xa8bc3d){const _0x23cc71=_0x156497,{unitID:_0x36b41f}=_0xa8bc3d,{collaboration:_0x2ac5be}=this[_0x23cc71(0x342)][_0x23cc71(0x358)](_0x36b41f);if(_0x2ac5be[_0x23cc71(0x1c5)]===0x0)return _0xa8bc3d;let _0x23472e=_0x1f2cef[_0x23cc71(0x31a)](_0xa8bc3d[_0x23cc71(0x340)][0x0]);for(let _0x334b44=0x0;_0x334b44<_0x2ac5be[_0x23cc71(0x1c5)];_0x334b44++){const _0x3bd798={'id':_0x23cc71(0x344),'params':{'unitId':_0x2ac5be[_0x334b44]['unitId'],..._0x2ac5be[_0x334b44][_0x23cc71(0x1dc)]}},_0xbc49be=this['_transformService'][_0x23cc71(0x205)](_0x23472e,_0x3bd798,!0x1);if(_0x1e674d(_0xbc49be))throw _0xbc49be[_0x23cc71(0x334)];_0x23472e=_0xbc49be[_0x23cc71(0x1e3)];}return{..._0x1f2cef[_0x23cc71(0x31a)](_0xa8bc3d),'mutations':[_0x23472e]};}[_0x156497(0x31f)](_0xbd9553){const _0x210b3d=_0x156497,{unitID:_0x5351da}=_0xbd9553,{history:_0x18c739,collaboration:_0x480ed2}=this[_0x210b3d(0x342)][_0x210b3d(0x358)](_0x5351da);if(_0x18c739['length']===0x0&&_0x480ed2[_0x210b3d(0x1c5)]===0x0)return;const _0x1905d3=[],_0x501856=[];let _0x58070e=_0x1f2cef[_0x210b3d(0x31a)](_0xbd9553[_0x210b3d(0x340)][0x0]),_0x328390=_0x1f2cef['deepClone'](_0xbd9553['mutations'][0x0]);for(let _0x37200b=_0x18c739[_0x210b3d(0x1c5)]-0x1;_0x37200b>=0x0;_0x37200b--){const _0x53249b={'id':_0x210b3d(0x344),'params':{'unitId':_0x18c739[_0x37200b]['unitId'],..._0x18c739[_0x37200b][_0x210b3d(0x346)]}},_0x3081fe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18c739[_0x37200b]['unitId'],..._0x18c739[_0x37200b][_0x210b3d(0x1dc)]}},_0x36cd62=this[_0x210b3d(0x2f0)][_0x210b3d(0x205)](_0x58070e,_0x53249b,!0x1),_0x421d78=this[_0x210b3d(0x2f0)]['transformMutation'](_0x328390,_0x3081fe,!0x1);if(_0x1e674d(_0x36cd62))throw _0x36cd62[_0x210b3d(0x334)];if(_0x1e674d(_0x421d78))throw _0x421d78[_0x210b3d(0x334)];_0x1905d3[_0x210b3d(0x1a7)]({..._0x18c739[_0x37200b],'undoState':_0x36cd62[_0x210b3d(0x224)][_0x210b3d(0x257)],'redoState':_0x421d78[_0x210b3d(0x224)][_0x210b3d(0x257)]}),_0x58070e=_0x36cd62[_0x210b3d(0x1e3)],_0x328390=_0x421d78[_0x210b3d(0x1e3)];}_0x58070e=_0x1f2cef['deepClone'](_0xbd9553[_0x210b3d(0x340)][0x0]),_0x328390=_0x1f2cef[_0x210b3d(0x31a)](_0xbd9553[_0x210b3d(0x340)][0x0]);for(let _0x2b32b4=_0x480ed2[_0x210b3d(0x1c5)]-0x1;_0x2b32b4>=0x0;_0x2b32b4--){const _0x55cc31={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x480ed2[_0x2b32b4]['unitId'],..._0x480ed2[_0x2b32b4][_0x210b3d(0x346)]}},_0x4592f1={'id':_0x210b3d(0x344),'params':{'unitId':_0x480ed2[_0x2b32b4][_0x210b3d(0x28f)],..._0x480ed2[_0x2b32b4][_0x210b3d(0x1dc)]}},_0x23a1a5=this['_transformService'][_0x210b3d(0x205)](_0x58070e,_0x55cc31,!0x1),_0x575fc3=this[_0x210b3d(0x2f0)][_0x210b3d(0x205)](_0x328390,_0x4592f1,!0x1);if(_0x1e674d(_0x23a1a5))throw _0x23a1a5[_0x210b3d(0x334)];if(_0x1e674d(_0x575fc3))throw _0x575fc3[_0x210b3d(0x334)];_0x501856[_0x210b3d(0x1a7)]({..._0x480ed2[_0x2b32b4],'undoState':_0x23a1a5[_0x210b3d(0x224)][_0x210b3d(0x257)],'redoState':_0x575fc3[_0x210b3d(0x224)][_0x210b3d(0x257)]}),_0x58070e=_0x23a1a5['m1Prime'],_0x328390=_0x575fc3[_0x210b3d(0x1e3)];}this[_0x210b3d(0x342)][_0x210b3d(0x1b9)](_0x5351da,{'history':_0x1905d3,'collaboration':_0x501856});}};re=nn([Ce(0x0,_0xb660c4(_0x290f28)),Ce(0x1,_0x7285b7),Ce(0x2,_0xb660c4(_0x5a9d2f))],re);var rn=Object[_0x156497(0x248)],on=(_0x4d2edc,_0xeda46a,_0x31f41b,_0x12026d)=>{const _0x3fd87f=_0x156497;for(var _0x322d48=_0x12026d>0x1?void 0x0:_0x12026d?rn(_0xeda46a,_0x31f41b):_0xeda46a,_0x264ad6=_0x4d2edc[_0x3fd87f(0x1c5)]-0x1,_0x395dc8;_0x264ad6>=0x0;_0x264ad6--)(_0x395dc8=_0x4d2edc[_0x264ad6])&&(_0x322d48=_0x395dc8(_0x322d48)||_0x322d48);return _0x322d48;},tt=(_0x4be070,_0x39cf67)=>(_0x25def4,_0x9de24f)=>_0x39cf67(_0x25def4,_0x9de24f,_0x4be070);let oe=class{constructor(_0x53a342,_0x40f8b4){const _0x7b0f64=_0x156497;this[_0x7b0f64(0x2c7)]=_0x53a342,this[_0x7b0f64(0x2f0)]=_0x40f8b4;}[_0x156497(0x240)](_0x1092ad){const _0x5b0899=_0x156497;var _0x264396;const _0x287a5c=this[_0x5b0899(0x2c7)][_0x5b0899(0x255)](_0x500920),_0x43652f=(_0x264396=_0x287a5c[_0x5b0899(0x33c)]())!=null?_0x264396:[];if(_0x43652f['length']===0x0)return;const _0x1a41f1=_0x1092ad[_0x5b0899(0x36c)],_0x5bbc8c=[{'id':_0x5b0899(0x344),'params':{'unitId':_0x1a41f1,'actions':null,'textRanges':_0x43652f}}],_0x46d227=this[_0x5b0899(0x2f0)]['transformMutationsWithChangeset'](_0x1092ad,_0x5bbc8c);if(!_0x27cd5b(_0x46d227))throw _0x46d227[_0x5b0899(0x334)];const _0x1fd712=_0x46d227['m2Prime'][0x0][_0x5b0899(0x257)][_0x5b0899(0x189)];Array[_0x5b0899(0x178)](_0x1fd712)&&_0x1fd712[_0x5b0899(0x1c5)]&&_0x287a5c['replaceDocRanges'](_0x1fd712,{'unitId':_0x1a41f1,'subUnitId':_0x1a41f1},!0x1);}};oe=on([tt(0x0,_0xb660c4(_0x290f28)),tt(0x1,_0x7285b7)],oe);var an=Object[_0x156497(0x248)],cn=(_0x265d0a,_0x3a1bb3,_0x5218b0,_0xf48774)=>{const _0x35be95=_0x156497;for(var _0x283a06=_0xf48774>0x1?void 0x0:_0xf48774?an(_0x3a1bb3,_0x5218b0):_0x3a1bb3,_0x1b8b51=_0x265d0a[_0x35be95(0x1c5)]-0x1,_0x2e696c;_0x1b8b51>=0x0;_0x1b8b51--)(_0x2e696c=_0x265d0a[_0x1b8b51])&&(_0x283a06=_0x2e696c(_0x283a06)||_0x283a06);return _0x283a06;},U=(_0x186ec7,_0x1ed427)=>(_0x8e9f57,_0x4439d7)=>_0x1ed427(_0x8e9f57,_0x4439d7,_0x186ec7);let ae=class extends _0x4a158c{constructor(_0x1e4e5c,_0x4cee77,_0x296c58,_0x23f4c9,_0x49f86d,_0x246c60,_0x3e1602,_0x4c74d0){const _0x1b89ec=_0x156497;super(),_(this,_0x1b89ec(0x253),new _0x5f494d(_0x51d219['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1e4e5c,this[_0x1b89ec(0x201)]=_0x4cee77,this[_0x1b89ec(0x1e4)]=_0x296c58,this[_0x1b89ec(0x18c)]=_0x23f4c9,this[_0x1b89ec(0x349)]=_0x49f86d,this['_docSyncEditingCollabCursorService']=_0x246c60,this[_0x1b89ec(0x261)]=_0x3e1602,this[_0x1b89ec(0x1c6)]=_0x4c74d0,this[_0x1b89ec(0x348)]());}[_0x156497(0x348)](){const _0x5a728b=_0x156497;this[_0x5a728b(0x28d)](this[_0x5a728b(0x201)][_0x5a728b(0x2f6)][_0x5a728b(0x2fb)](_0x50a761=>{const _0x5eec16=_0x5a728b,_0x33c8fe=this['_docStateChangeManagerService'][_0x5eec16(0x34b)][_0x5eec16(0x2fb)](_0xc78698=>{const _0x26f99c=_0x5eec16;if(_0xc78698==null)return;const {unitId:_0x122e7b,redoState:_0x3233a5,commandId:_0x1e4d2c}=_0xc78698;if(_0x122e7b!==_0x50a761[_0x26f99c(0x36c)])return;const _0x2cca1a={'id':_0x1e4d2c,'type':_0x1ec990[_0x26f99c(0x270)],'params':{'unitId':_0x122e7b,'actions':_0x3233a5[_0x26f99c(0x24b)],'textRanges':null}};_0x50a761[_0x26f99c(0x1c0)](_0x2cca1a);});if(_0x50a761[_0x5eec16(0x28d)](_0x33c8fe),_0x50a761 instanceof _0x59b5ea){const _0x4d1ed1={'onTransformIME':_0x3ec082=>this[_0x5eec16(0x1e4)]['transformIMECache'](_0x3ec082),'onTransformState':_0x93a6e9=>this[_0x5eec16(0x18c)][_0x5eec16(0x181)](_0x93a6e9),'onTransformSelections':_0x50af3c=>this['_docTransformSelectionsService'][_0x5eec16(0x240)](_0x50af3c),'onSyncEditingCollabCursor':_0x12437d=>this[_0x5eec16(0x2d3)][_0x5eec16(0x279)](_0x12437d),'onTransformRemoteChangesetByIMECache':_0xbf1ffb=>this[_0x5eec16(0x1e4)]['transformRemoteChangeset'](_0xbf1ffb),'onTransformRemoteChangesetByStateCache':_0x359d8a=>this[_0x5eec16(0x18c)][_0x5eec16(0x17c)](_0x359d8a)};_0x50a761[_0x5eec16(0x238)](_0x4d1ed1);}}));}};ae=cn([U(0x0,_0xb660c4(_0x5a9d2f)),U(0x1,_0xb660c4(_0xc742a)),U(0x2,_0xb660c4(ne)),U(0x3,_0xb660c4(re)),U(0x4,_0xb660c4(oe)),U(0x5,_0xb660c4(He)),U(0x6,_0x10a202),U(0x7,_0xb660c4(_0x150001))],ae);var ln=Object[_0x156497(0x248)],_n=(_0xf04e29,_0x411972,_0x18434c,_0x597d4a)=>{const _0xa7f8ce=_0x156497;for(var _0x573459=_0x597d4a>0x1?void 0x0:_0x597d4a?ln(_0x411972,_0x18434c):_0x411972,_0x1ac229=_0xf04e29[_0xa7f8ce(0x1c5)]-0x1,_0x3e9f2e;_0x1ac229>=0x0;_0x1ac229--)(_0x3e9f2e=_0xf04e29[_0x1ac229])&&(_0x573459=_0x3e9f2e(_0x573459)||_0x573459);return _0x573459;},Ee=(_0x5989f7,_0x48da52)=>(_0x22f1fb,_0x3ecb79)=>_0x48da52(_0x22f1fb,_0x3ecb79,_0x5989f7);let we=class extends _0x4a158c{constructor(_0x4a14f5,_0x552e1f,_0xe163bb){const _0x3fda96=_0x156497;super(),_(this,_0x3fda96(0x1bb),new Map()),_(this,_0x3fda96(0x1cc),new Map()),_(this,_0x3fda96(0x2a4),!0x1),(this[_0x3fda96(0x1f4)]=_0x4a14f5,this[_0x3fda96(0x36d)]=_0x552e1f,this[_0x3fda96(0x2db)]=_0xe163bb);}[_0x156497(0x1c4)](){this['_disabled']=!0x0;}[_0x156497(0x186)](){const _0xf5cda9=_0x156497;this[_0xf5cda9(0x2a4)]=!0x1;}get['saveTaskMap'](){const _0x3ad12e=_0x156497;return this[_0x3ad12e(0x1cc)];}['dispose'](){const _0x585eea=_0x156497;this[_0x585eea(0x27f)]()[_0x585eea(0x2b6)](()=>super[_0x585eea(0x25e)]());}async[_0x156497(0x1be)](_0x974a32){const _0x104ac1=_0x156497;return this[_0x104ac1(0x2a4)]?null:this[_0x104ac1(0x36d)]['getItem'](_0x1b4796(_0x974a32));}async[_0x156497(0x2f5)](_0x2173cc,_0x2f08fe){const _0x17f78c=_0x156497;return!!this[_0x17f78c(0x36d)][_0x17f78c(0x316)](_0x2173cc,_0x2f08fe);}[_0x156497(0x30f)](_0x4b42d6,_0x3e7d6f,_0x3a1e00,_0x523e10){const _0x2c8225=_0x156497,_0x5d43fc=this[_0x2c8225(0x2db)][_0x2c8225(0x250)](_0x4b42d6);this[_0x2c8225(0x1bb)][_0x2c8225(0x2e6)](_0x4b42d6,{'unitID':_0x4b42d6,'type':_0x3e7d6f,'awaitingChangeset':_0x3a1e00,'mutations':_0x523e10,'rev':_0x5d43fc}),this[_0x2c8225(0x1cc)][_0x2c8225(0x2a8)](_0x4b42d6)||this[_0x2c8225(0x20e)](_0x4b42d6);}[_0x156497(0x20e)](_0x4cd8f5){const _0x1b2597=_0x156497,_0x20fbab=this['_getSaveTimeout']();_0x20fbab===0x0?this[_0x1b2597(0x308)](_0x4cd8f5):this[_0x1b2597(0x1cc)][_0x1b2597(0x2e6)](_0x4cd8f5,setTimeout(()=>this['_saveCache'](_0x4cd8f5),_0x20fbab));}[_0x156497(0x25a)](){const _0x2e47c9=_0x156497;var _0x3f552b;return(_0x3f552b=this['_configService'][_0x2e47c9(0x1a6)](_0x4c27a8))!=null?_0x3f552b:_0xef2c22;}[_0x156497(0x308)](_0xd45445){const _0x500a57=_0x156497,_0x3769f9=this[_0x500a57(0x1cc)][_0x500a57(0x255)](_0xd45445);return _0x3769f9!==void 0x0&&window[_0x500a57(0x1e2)](_0x3769f9),this[_0x500a57(0x36d)][_0x500a57(0x316)](_0x1b4796(_0xd45445),this[_0x500a57(0x1bb)][_0x500a57(0x255)](_0xd45445))['then'](()=>this[_0x500a57(0x1cc)][_0x500a57(0x329)](_0xd45445));}async[_0x156497(0x27f)](){const _0x29b88b=_0x156497,_0x4456d7=[];this[_0x29b88b(0x1cc)][_0x29b88b(0x25b)]((_0x3f4655,_0x4fd7ac)=>{const _0x51c77f=_0x29b88b;window[_0x51c77f(0x1e2)](_0x3f4655),_0x4456d7[_0x51c77f(0x2aa)](this[_0x51c77f(0x308)](_0x4fd7ac)[_0x51c77f(0x2b6)](()=>{const _0x20c197=_0x51c77f;this[_0x20c197(0x1cc)][_0x20c197(0x329)](_0x4fd7ac);}));}),await Promise[_0x29b88b(0x1fb)](_0x4456d7);}};we=_n([Ee(0x0,_0x20e910),Ee(0x1,_0x7091d9),Ee(0x2,_0xb660c4(_0xaa3bb))],we);class hn extends _0x150e26{constructor(){const _0x4f6460=_0x156497;super(),_(this,_0x4f6460(0x315)),this[_0x4f6460(0x315)]=_0x20dfdf(window,_0x4f6460(0x21d))[_0x4f6460(0x2de)](_0x3d235a(this[_0x4f6460(0x2a1)]),_0x1f1474(0x1),_0x20c38b(void 0x0));}[_0x156497(0x314)](_0x1417e3,_0x4586eb,_0x5ce953=!0x1){const _0x3d93e3=_0x156497,_0x11bf46=new URL(window[_0x3d93e3(0x1f1)][_0x3d93e3(0x197)]);_0x11bf46['searchParams']['set'](_0x1417e3,_0x4586eb),_0x5ce953?window[_0x3d93e3(0x33a)]['replaceState']('','',_0x11bf46['toString']()):window[_0x3d93e3(0x33a)][_0x3d93e3(0x263)]('','',_0x11bf46[_0x3d93e3(0x299)]());}[_0x156497(0x2bc)](_0x9ffa61,_0x32303c=!0x1){const _0x420fd3=_0x156497,_0x30c5d9=new URL(window[_0x420fd3(0x1f1)][_0x420fd3(0x197)]);_0x30c5d9[_0x420fd3(0x22a)]['delete'](_0x9ffa61),_0x32303c?window[_0x420fd3(0x33a)][_0x420fd3(0x207)]('','',_0x30c5d9[_0x420fd3(0x299)]()):window[_0x420fd3(0x33a)][_0x420fd3(0x263)]('','',_0x30c5d9[_0x420fd3(0x299)]());}[_0x156497(0x30e)](_0x1cca67){const _0xc086e=_0x156497;var _0x692dd5;return(_0x692dd5=new URL(window['location']['href'])['searchParams'][_0xc086e(0x255)](_0x1cca67))!=null?_0x692dd5:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x156497(0x248)],fn=(_0x52fa62,_0x626260,_0x23ef53)=>_0x626260 in _0x52fa62?un(_0x52fa62,_0x626260,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23ef53}):_0x52fa62[_0x626260]=_0x23ef53,Sn=(_0x555564,_0xd8a610,_0x58c89f,_0x1a6a94)=>{const _0xaefe59=_0x156497;for(var _0xaf23d6=_0x1a6a94>0x1?void 0x0:_0x1a6a94?dn(_0xd8a610,_0x58c89f):_0xd8a610,_0x1af6f9=_0x555564[_0xaefe59(0x1c5)]-0x1,_0x43f847;_0x1af6f9>=0x0;_0x1af6f9--)(_0x43f847=_0x555564[_0x1af6f9])&&(_0xaf23d6=_0x43f847(_0xaf23d6)||_0xaf23d6);return _0xaf23d6;},Oe=(_0x1f66b6,_0x3e03d4)=>(_0x4d1a1b,_0x3e4b10)=>_0x3e03d4(_0x4d1a1b,_0x3e4b10,_0x1f66b6),mn=(_0x230cb6,_0x48214c,_0x556b84)=>fn(_0x230cb6,_0x48214c+'',_0x556b84);const In=_0x156497(0x287);let Ae=class extends _0x43982e{constructor(_0x5509f6=et,_0x6cd94d,_0x65bdd8,_0x8cb08e){const _0x5c64f0=_0x156497;super(),this[_0x5c64f0(0x266)]=_0x5509f6,this[_0x5c64f0(0x2e9)]=_0x6cd94d,this[_0x5c64f0(0x2c7)]=_0x65bdd8,this[_0x5c64f0(0x1f4)]=_0x8cb08e;const {..._0x21ac90}=_0x2c397f({},et,this[_0x5c64f0(0x266)]);this[_0x5c64f0(0x1f4)]['setConfig'](Zi,_0x21ac90);}[_0x156497(0x1fe)](){const _0x28d97e=_0x156497;this[_0x28d97e(0x2c3)](),this[_0x28d97e(0x1af)]();}[_0x156497(0x22f)](){const _0x4c273f=_0x156497;this[_0x4c273f(0x336)]();}[_0x156497(0x2c3)](){const _0x296637=_0x156497;var _0x267446;const _0x5e76f7=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x15a1a2,{'useClass':_0x4fb982}],[_0x111b58,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3d9a33(this[_0x296637(0x2c7)],_0x5c9b3e(_0x5e76f7,(_0x267446=this['_config'])==null?void 0x0:_0x267446[_0x296637(0x23e)]));}[_0x156497(0x336)](){const _0x48dad2=_0x156497;this[_0x48dad2(0x28d)](this['_renderManagerService'][_0x48dad2(0x16c)](_0x5ae3a0[_0x48dad2(0x18e)],[Le])),this[_0x48dad2(0x28d)](this[_0x48dad2(0x2e9)][_0x48dad2(0x16c)](_0x5ae3a0['UNIVER_SHEET'],[Pe]));}[_0x156497(0x1af)](){const _0xd9d588=_0x156497;_0xdd9c5c(this[_0xd9d588(0x2c7)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x156497(0x1bc),In),Ae=Sn([_0x56e342(_0x2c9b5e),Oe(0x1,_0x1e0bdd),Oe(0x2,_0xb660c4(_0x290f28)),Oe(0x3,_0x20e910)],Ae);var gn=Object[_0x156497(0x248)],vn=(_0x498056,_0x5aaa93,_0x296a63,_0x1195d9)=>{const _0x44fcb3=_0x156497;for(var _0x3f3da2=_0x1195d9>0x1?void 0x0:_0x1195d9?gn(_0x5aaa93,_0x296a63):_0x5aaa93,_0x471dc4=_0x498056[_0x44fcb3(0x1c5)]-0x1,_0x58b5cd;_0x471dc4>=0x0;_0x471dc4--)(_0x58b5cd=_0x498056[_0x471dc4])&&(_0x3f3da2=_0x58b5cd(_0x3f3da2)||_0x3f3da2);return _0x3f3da2;},K=(_0x4bda65,_0x45020b)=>(_0x51ec5e,_0x144e70)=>_0x45020b(_0x51ec5e,_0x144e70,_0x4bda65);let st=class extends _0x10fe25{constructor(_0x225fcb,_0x424d69,_0x57768c,_0x6abf60,_0xec3711){super(_0x225fcb,_0x424d69,_0x57768c,_0x6abf60,_0xec3711);}async[_0x156497(0x2e7)](_0x449a47){const _0x20847a=_0x156497,_0x10c9f0=await this[_0x20847a(0x300)](),_0x5625ba=this[_0x20847a(0x2b3)](_0x449a47,_0x10c9f0);return this[_0x20847a(0x187)](_0x5625ba);}['_createSocketURL'](_0x21d2f4,_0xa4f786){const _0x1db2d0=_0x156497,_0x168e6f=typeof window>'u'?new URL(_0x21d2f4):new URL(_0x21d2f4,window[_0x1db2d0(0x1f1)]['origin']);_0x168e6f['searchParams'][_0x1db2d0(0x2e6)](_0x1db2d0(0x2fc),_0xa4f786);const _0x314a74=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1db2d0(0x1f1)][_0x1db2d0(0x332)]);return _0x314a74[_0x1db2d0(0x255)](_0x1db2d0(0x2dd))&&_0x168e6f[_0x1db2d0(0x22a)][_0x1db2d0(0x2e6)](_0x1db2d0(0x2dd),_0x314a74[_0x1db2d0(0x255)]('runId')),_0x168e6f['toString']();}async[_0x156497(0x300)](){const _0xb0ef6=_0x156497;var _0x41d24a,_0x2af17b,_0x4ac9e0;const _0x5e16b7=this[_0xb0ef6(0x1f4)][_0xb0ef6(0x1a6)](_0xa82763),_0x4aaa70=(_0x41d24a=_0x5e16b7==null?void 0x0:_0x5e16b7[_0xb0ef6(0x296)])!=null?_0x41d24a:_0x395f20;return(_0x4ac9e0=(_0x2af17b=(await this[_0xb0ef6(0x244)][_0xb0ef6(0x255)](_0x4aaa70,{'headers':{'Content-Type':'application/json'}}))[_0xb0ef6(0x251)])==null?void 0x0:_0x2af17b[_0xb0ef6(0x351)])!=null?_0x4ac9e0:'';}};st=vn([K(0x0,_0xb660c4(_0x290f28)),K(0x1,_0xb660c4(_0x12dac3)),K(0x2,_0x20e910),K(0x3,_0x37221c),K(0x4,_0x1dd1d2)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x4a158c{constructor(){const _0x58a5eb=_0x156497;super(),_(this,_0x58a5eb(0x302),_0x5c73ee()),_(this,_0x58a5eb(0x176),new Set()),_(this,_0x58a5eb(0x190),new Map()),_(this,_0x58a5eb(0x1b3),null),_(this,_0x58a5eb(0x281),new Map()),_(this,_0x58a5eb(0x274),new Map()),this[_0x58a5eb(0x2ed)]();}[_0x156497(0x25e)](){const _0x5c0950=_0x156497;super[_0x5c0950(0x25e)](),this['_clearOtherTimers'][_0x5c0950(0x25b)]((_0x8a7ad6,_0x10aaeb)=>this[_0x5c0950(0x1f0)](_0x10aaeb)),this[_0x5c0950(0x1b3)]&&window[_0x5c0950(0x2f2)](this[_0x5c0950(0x1b3)]);}['getUnitStatus$'](_0x43ed0e){const _0x38a6ec=_0x156497;return this[_0x38a6ec(0x1a2)](_0x43ed0e)[_0x38a6ec(0x2de)](_0x4b7b81());}[_0x156497(0x311)](_0x364aec){const _0x69496f=_0x156497;this[_0x69496f(0x176)][_0x69496f(0x26a)]===0x0&&this[_0x69496f(0x168)](),this[_0x69496f(0x176)][_0x69496f(0x267)](_0x364aec),this[_0x69496f(0x2ce)]({'type':0x0,'memberID':this[_0x69496f(0x302)],'unitIDs':[_0x364aec],'isForwarded':!0x1});}['disposeUnit'](_0x19adc3){const _0x1d615f=_0x156497;this['_selfUnitIDs']['delete'](_0x19adc3),this['_selfUnitIDs'][_0x1d615f(0x26a)]===0x0&&this[_0x1d615f(0x1b3)]&&window[_0x1d615f(0x2f2)](this[_0x1d615f(0x1b3)]);}['_init'](){const _0x401831=_0x156497;this[_0x401831(0x28d)](_0x2117de(_0x20dfdf(window,_0x401831(0x27b))[_0x401831(0x2fb)](_0x4316ee=>{const _0x2d55f5=_0x401831;if(_0x4316ee[_0x2d55f5(0x2d9)]!==nt||!_0x4316ee['newValue'])return;const _0x4afb7c=JSON[_0x2d55f5(0x301)](_0x4316ee['newValue']);this[_0x2d55f5(0x265)](_0x4afb7c);}))),window['addEventListener'](_0x401831(0x32b),()=>this[_0x401831(0x2ce)]({'type':0x1,'memberID':this[_0x401831(0x302)],'unitIDs':Array[_0x401831(0x24e)](this[_0x401831(0x176)])}));}[_0x156497(0x265)](_0x3149ef){const _0x3fed6b=_0x156497;switch(_0x3149ef[_0x3fed6b(0x1fa)]){case 0x0:this[_0x3fed6b(0x2e8)](_0x3149ef);break;case 0x1:this[_0x3fed6b(0x2a9)](_0x3149ef);break;case 0x2:this[_0x3fed6b(0x236)](_0x3149ef);break;}}[_0x156497(0x2e8)](_0x59a03c){const _0x3bd0c4=_0x156497,{unitIDs:_0x44e718,memberID:_0x13e62a,isForwarded:_0xe624af}=_0x59a03c;_0x44e718[_0x3bd0c4(0x25b)](_0x4663dc=>{const _0x7c22af=_0x3bd0c4;if(!_0xe624af&&this[_0x7c22af(0x190)][_0x7c22af(0x2a8)](_0x4663dc)&&this[_0x7c22af(0x1a2)](_0x4663dc)[_0x7c22af(0x2e3)](_0x22654a[_0x7c22af(0x319)]),!this['_unitOnClients'][_0x7c22af(0x2a8)](_0x4663dc)||!this[_0x7c22af(0x190)][_0x7c22af(0x255)](_0x4663dc)['has'](_0x13e62a)){const _0x3d9cca=this[_0x7c22af(0x190)][_0x7c22af(0x255)](_0x4663dc)||new Set();_0x3d9cca['add'](_0x13e62a),this[_0x7c22af(0x190)][_0x7c22af(0x2e6)](_0x4663dc,_0x3d9cca),this[_0x7c22af(0x338)](_0x13e62a);}}),_0xe624af||this[_0x3bd0c4(0x2ce)]({'type':0x0,'memberID':this[_0x3bd0c4(0x302)],'unitIDs':[...this[_0x3bd0c4(0x176)]],'isForwarded':!0x0});}[_0x156497(0x338)](_0x13fec1){const _0x28ed6b=_0x156497;this[_0x28ed6b(0x1f0)](_0x13fec1);const _0x4279fa=window['setTimeout'](()=>{const _0x309248=_0x28ed6b;this[_0x309248(0x190)][_0x309248(0x25b)](_0x2038a5=>{const _0x1eb2b3=_0x309248;_0x2038a5[_0x1eb2b3(0x329)](_0x13fec1);});},it*0x2);this[_0x28ed6b(0x281)][_0x28ed6b(0x2e6)](_0x13fec1,_0x4279fa);}[_0x156497(0x1f0)](_0x283549){const _0x19eba6=_0x156497;if(this[_0x19eba6(0x281)][_0x19eba6(0x2a8)](_0x283549)){const _0x44bfd1=this['_clearOtherTimers'][_0x19eba6(0x255)](_0x283549);_0x44bfd1&&window[_0x19eba6(0x1e2)](_0x44bfd1),this[_0x19eba6(0x281)][_0x19eba6(0x2e6)](_0x283549,null);}}[_0x156497(0x2a9)](_0x11ae63){const _0x3f32e0=_0x156497,{memberID:_0x46b8d2,unitIDs:_0x514beb}=_0x11ae63;_0x514beb[_0x3f32e0(0x25b)](_0x1e1283=>{const _0x1e29ba=_0x3f32e0;var _0x1e6c35;const _0x238ade=this[_0x1e29ba(0x190)]['get'](_0x1e1283);_0x238ade&&(_0x238ade[_0x1e29ba(0x329)](_0x46b8d2),(_0x1e6c35=this['_ensureSubject'](_0x1e1283))==null||_0x1e6c35[_0x1e29ba(0x2e3)](_0x238ade['size']===0x0?_0x22654a[_0x1e29ba(0x216)]:_0x22654a[_0x1e29ba(0x319)]));}),this['_removeClearOtherTimer'](_0x46b8d2);}[_0x156497(0x236)](_0x388347){const _0x265d29=_0x156497;this['_scheduleClearOtherTimer'](_0x388347[_0x265d29(0x225)]);}[_0x156497(0x2ce)](_0x50f136){const _0x4c51a6=_0x156497;localStorage[_0x4c51a6(0x316)](nt,JSON[_0x4c51a6(0x343)](_0x50f136));}[_0x156497(0x168)](){const _0x298c05=_0x156497;this[_0x298c05(0x1b3)]=window[_0x298c05(0x373)](()=>{const _0x5eb369=_0x298c05;this[_0x5eb369(0x2ce)]({'type':0x2,'memberID':this['_id']});},it);}[_0x156497(0x1a2)](_0x3d3a03){const _0x88fb20=_0x156497;return this[_0x88fb20(0x274)]['has'](_0x3d3a03)||this[_0x88fb20(0x274)][_0x88fb20(0x2e6)](_0x3d3a03,new _0x5f494d(_0x22654a['NO_OTHER_CLIENTS_EDITING'])),this[_0x88fb20(0x274)][_0x88fb20(0x255)](_0x3d3a03);}}var Mt=(_0x29aee3=>(_0x29aee3[_0x29aee3[_0x156497(0x235)]=0x0]=_0x156497(0x235),_0x29aee3[_0x29aee3['OK']=0x1]='OK',_0x29aee3[_0x29aee3[_0x156497(0x19f)]=0x2]=_0x156497(0x19f),_0x29aee3[_0x29aee3['PERMISSION_DENIED']=0x3]=_0x156497(0x327),_0x29aee3[_0x29aee3['NOT_FOUND']=0x4]=_0x156497(0x172),_0x29aee3[_0x29aee3[_0x156497(0x298)]=0x5]=_0x156497(0x298),_0x29aee3[_0x29aee3[_0x156497(0x34f)]=0x6]=_0x156497(0x34f),_0x29aee3[_0x29aee3[_0x156497(0x2df)]=0x7]=_0x156497(0x2df),_0x29aee3[_0x29aee3[_0x156497(0x1e5)]=0x8]=_0x156497(0x1e5),_0x29aee3[_0x29aee3[_0x156497(0x2d4)]=0x9]=_0x156497(0x2d4),_0x29aee3[_0x29aee3[_0x156497(0x1ec)]=0xa]='LOGIN_FAILED',_0x29aee3[_0x29aee3[_0x156497(0x162)]=0xb]=_0x156497(0x162),_0x29aee3[_0x29aee3[_0x156497(0x313)]=0xc]=_0x156497(0x313),_0x29aee3[_0x29aee3[_0x156497(0x30d)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x29aee3[_0x29aee3['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x29aee3[_0x29aee3[_0x156497(0x193)]=0x1389]=_0x156497(0x193),_0x29aee3[_0x29aee3[_0x156497(0x330)]=0x1771]=_0x156497(0x330),_0x29aee3[_0x29aee3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x156497(0x29c),_0x29aee3[_0x29aee3[_0x156497(0x2e0)]=0x1773]=_0x156497(0x2e0),_0x29aee3[_0x29aee3[_0x156497(0x282)]=0x1b59]=_0x156497(0x282),_0x29aee3[_0x29aee3[_0x156497(0x366)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x29aee3[_0x29aee3[_0x156497(0x22b)]=0x1b5b]=_0x156497(0x22b),_0x29aee3[_0x29aee3[_0x156497(0x1a9)]=0x1b5c]=_0x156497(0x1a9),_0x29aee3[_0x29aee3['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x29aee3[_0x29aee3[_0x156497(0x177)]=0x1f41]=_0x156497(0x177),_0x29aee3[_0x29aee3[_0x156497(0x1d5)]=0x2329]=_0x156497(0x1d5),_0x29aee3[_0x29aee3[_0x156497(0x1a4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x29aee3[_0x29aee3[_0x156497(0x19e)]=0x232b]=_0x156497(0x19e),_0x29aee3[_0x29aee3[_0x156497(0x324)]=0x232c]=_0x156497(0x324),_0x29aee3[_0x29aee3[_0x156497(0x21a)]=0x232d]=_0x156497(0x21a),_0x29aee3[_0x29aee3[_0x156497(0x173)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x29aee3[_0x29aee3[_0x156497(0x288)]=0x2712]=_0x156497(0x288),_0x29aee3[_0x29aee3[_0x156497(0x1c3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x29aee3[_0x29aee3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x29aee3[_0x29aee3[_0x156497(0x233)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x29aee3[_0x29aee3['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x156497(0x2c1),_0x29aee3[_0x29aee3['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x156497(0x28c),_0x29aee3[_0x29aee3[_0x156497(0x165)]=0x271d]=_0x156497(0x165),_0x29aee3[_0x29aee3[_0x156497(0x2d1)]=0x271e]=_0x156497(0x2d1),_0x29aee3[_0x29aee3['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x29aee3[_0x29aee3['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x156497(0x310),_0x29aee3[_0x29aee3['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x156497(0x1e9),_0x29aee3[_0x29aee3[_0x156497(0x350)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x29aee3[_0x29aee3[_0x156497(0x271)]=0x2ee2]=_0x156497(0x271),_0x29aee3[_0x29aee3['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x29aee3[_0x29aee3[_0x156497(0x24c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x29aee3[_0x29aee3[_0x156497(0x247)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x29aee3[_0x29aee3[_0x156497(0x222)]=0x32c9]=_0x156497(0x222),_0x29aee3[_0x29aee3[_0x156497(0x1e7)]=0x32ca]=_0x156497(0x1e7),_0x29aee3[_0x29aee3[_0x156497(0x284)]=0x32cb]=_0x156497(0x284),_0x29aee3[_0x29aee3['UNRECOGNIZED']=-0x1]=_0x156497(0x258),_0x29aee3))(Mt||{}),pn=Object[_0x156497(0x248)],Cn=(_0x5cf8b0,_0x417b0b,_0x479559,_0x4217fb)=>{const _0x208d82=_0x156497;for(var _0x1a5616=_0x4217fb>0x1?void 0x0:_0x4217fb?pn(_0x417b0b,_0x479559):_0x417b0b,_0x47997d=_0x5cf8b0[_0x208d82(0x1c5)]-0x1,_0x15f9e0;_0x47997d>=0x0;_0x47997d--)(_0x15f9e0=_0x5cf8b0[_0x47997d])&&(_0x1a5616=_0x15f9e0(_0x1a5616)||_0x1a5616);return _0x1a5616;},be=(_0x29fa53,_0x21a23d)=>(_0x254391,_0x3ab46a)=>_0x21a23d(_0x254391,_0x3ab46a,_0x29fa53);function _0x1c48(_0x2bd420,_0xeb32ad){const _0x54a9bb=_0x54a9();return _0x1c48=function(_0x1c4877,_0x384e17){_0x1c4877=_0x1c4877-0x162;let _0x296045=_0x54a9bb[_0x1c4877];return _0x296045;},_0x1c48(_0x2bd420,_0xeb32ad);}let rt=class extends _0x4a158c{constructor(_0x19bcfe,_0x30782e,_0x150f72){const _0x5d9361=_0x156497;super(),this[_0x5d9361(0x228)]=_0x19bcfe,this[_0x5d9361(0x244)]=_0x30782e,this[_0x5d9361(0x1f4)]=_0x150f72;}async[_0x156497(0x2a5)](_0x4ba918,_0xc2ecdd,_0x5b6a94,..._0x42ae60){const _0x3c759e=_0x156497;var _0x1ef987,_0x1f6374,_0x17f67e,_0x23a312;const _0x430c78=this['_instanceService'][_0x3c759e(0x357)]();if(!_0x430c78)throw new Error(_0x3c759e(0x28a));const _0x2c2346=((_0x1ef987=this['_configService']['getConfig'](_0x2dca61))!=null?_0x1ef987:_0x275d4d)+'/'+_0x4ba918+_0x3c759e(0x1c8)+_0xc2ecdd,_0x1945d7=new URL(window['location'][_0x3c759e(0x197)]),_0x2cb6d7={'scriptId':_0x4ba918,'runId':(_0x1f6374=_0x1945d7[_0x3c759e(0x22a)]['get'](_0x3c759e(0x2dd)))!=null?_0x1f6374:'','function':_0xc2ecdd,'unitId':_0x430c78[_0x3c759e(0x352)](),'argsOfFunction':JSON[_0x3c759e(0x343)](_0x42ae60),'invokeId':(_0x17f67e=_0x5b6a94[_0x3c759e(0x2fd)])!=null?_0x17f67e:'','executionId':(_0x23a312=_0x5b6a94[_0x3c759e(0x2a6)])!=null?_0x23a312:''};try{const _0x31e171=await this[_0x3c759e(0x244)][_0x3c759e(0x1d1)](_0x2c2346,{'body':_0x2cb6d7});return _0x31e171[_0x3c759e(0x251)][_0x3c759e(0x334)]&&_0x31e171['body']['error'][_0x3c759e(0x35f)]!==Mt['OK']?'Failed':_0x31e171['body'][_0x3c759e(0x331)];}catch{return _0x3c759e(0x213);}}};rt=Cn([be(0x0,_0x1e551e),be(0x1,_0xb660c4(_0x12dac3)),be(0x2,_0x20e910)],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 _0xc994(){const _0x3f38aa=['77WZyjUY','1981428bsVZTy','Authentication\x20Error','720120ERHDrh','2040RjxeUf','11OMOgyJ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','825195IkwCnD','923907YcxWFt','Synced','Collaboration\x20Conflict','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2CHEhLX','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1856aexmIa','50BEzQfS','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','128838oYwZjA','Click\x20to\x20Reconnect','876159lVZTxK'];_0xc994=function(){return _0x3f38aa;};return _0xc994();}function _0x4e7c(_0x4c8ec8,_0xfefe2){const _0xc99447=_0xc994();return _0x4e7c=function(_0x4e7c89,_0x5adad5){_0x4e7c89=_0x4e7c89-0x1ba;let _0x2d1059=_0xc99447[_0x4e7c89];return _0x2d1059;},_0x4e7c(_0x4c8ec8,_0xfefe2);}const _0x457fbe=_0x4e7c;(function(_0x5ad1b0,_0x346010){const _0x294997=_0x4e7c,_0x474f21=_0x5ad1b0();while(!![]){try{const _0x1678f9=-parseInt(_0x294997(0x1c7))/0x1*(parseInt(_0x294997(0x1cc))/0x2)+-parseInt(_0x294997(0x1c2))/0x3*(-parseInt(_0x294997(0x1ce))/0x4)+parseInt(_0x294997(0x1c6))/0x5+-parseInt(_0x294997(0x1bb))/0x6*(-parseInt(_0x294997(0x1be))/0x7)+parseInt(_0x294997(0x1c1))/0x8+parseInt(_0x294997(0x1bd))/0x9*(parseInt(_0x294997(0x1cf))/0xa)+-parseInt(_0x294997(0x1c3))/0xb*(-parseInt(_0x294997(0x1bf))/0xc);if(_0x1678f9===_0x346010)break;else _0x474f21['push'](_0x474f21['shift']());}catch(_0x16409a){_0x474f21['push'](_0x474f21['shift']());}}}(_0xc994,0x828d8));const e={'collab-client':{'tooltip':{'reconnect':_0x457fbe(0x1bc)}},'collabStatus':{'fetchMiss':_0x457fbe(0x1ca),'conflict':_0x457fbe(0x1ba),'notCollab':_0x457fbe(0x1c5),'synced':_0x457fbe(0x1c8),'syncing':'Syncing...','offline':_0x457fbe(0x1c4)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x457fbe(0x1c9),'content':'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.'},'permission':{'title':_0x457fbe(0x1c0),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x457fbe(0x1cb)},'closeRoom':_0x457fbe(0x1d0)},'auth':{'needGotoLoginAlert':_0x457fbe(0x1cd)}};export{e as default};
1
+ const _0x319f01=_0x2d0c;(function(_0x58ad6a,_0x5abd24){const _0x24919b=_0x2d0c,_0x8c405=_0x58ad6a();while(!![]){try{const _0x32604d=-parseInt(_0x24919b(0x9f))/0x1*(parseInt(_0x24919b(0x98))/0x2)+-parseInt(_0x24919b(0xaf))/0x3*(parseInt(_0x24919b(0xa8))/0x4)+-parseInt(_0x24919b(0xa0))/0x5*(-parseInt(_0x24919b(0x99))/0x6)+-parseInt(_0x24919b(0xa1))/0x7+parseInt(_0x24919b(0x9e))/0x8*(-parseInt(_0x24919b(0x96))/0x9)+-parseInt(_0x24919b(0xaa))/0xa*(-parseInt(_0x24919b(0xa5))/0xb)+parseInt(_0x24919b(0xa7))/0xc;if(_0x32604d===_0x5abd24)break;else _0x8c405['push'](_0x8c405['shift']());}catch(_0x5cc7c2){_0x8c405['push'](_0x8c405['shift']());}}}(_0x501f,0x25cd6));function _0x2d0c(_0x54909d,_0x4c189b){const _0x501f38=_0x501f();return _0x2d0c=function(_0x2d0ce7,_0x1283bf){_0x2d0ce7=_0x2d0ce7-0x96;let _0x260f88=_0x501f38[_0x2d0ce7];return _0x260f88;},_0x2d0c(_0x54909d,_0x4c189b);}const e={'collab-client':{'tooltip':{'reconnect':_0x319f01(0xa4)}},'collabStatus':{'fetchMiss':_0x319f01(0xab),'conflict':_0x319f01(0x9b),'notCollab':_0x319f01(0x97),'synced':_0x319f01(0xb0),'syncing':_0x319f01(0x9c),'offline':_0x319f01(0xa3)},'session':{'connection-failed':_0x319f01(0xac),'will-retry':_0x319f01(0x9d),'room-full':_0x319f01(0xa9),'collaboration-timeout':_0x319f01(0xa2)},'conflict':{'title':'Collaboration\x20Conflict','content':'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.'},'permission':{'title':_0x319f01(0x9a),'content':_0x319f01(0xa6)},'collaboration':{'single-unit':{'warning':_0x319f01(0xad)},'closeRoom':_0x319f01(0xae)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};function _0x501f(){const _0x418b05=['6SAuQKU','Authentication\x20Error','Edit\x20conflicts','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','8uOHMhJ','5692SGaMsZ','969870ksDaKB','2137758TRyhiE','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect','25509BuapfN','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','10311912qPSgXr','848396xZIZAK','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','200kKKEzy','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','3ydHXse','Synced','2053161ZigsjM','Local\x20file','70qIGahn'];_0x501f=function(){return _0x418b05;};return _0x501f();}
@@ -1 +1 @@
1
- function _0x3673(){const _0x1eea5f=['894223fzTGXZ','1588dJqQTD','2049730ewJNUz','1555939OeBAon','110kSMItr','6uUqBWU','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','9ivmBOr','1xiNjKq','در\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کنید.','642441rCVcIJ','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','74104tnadjj','خطای\x20اعتبارسنجی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','36hZszUw','893136ytlUqB','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','همگام\x20سازی'];_0x3673=function(){return _0x1eea5f;};return _0x3673();}const _0x49f8cc=_0x273f;(function(_0x235818,_0x7d8c88){const _0x5c767c=_0x273f,_0x4bd4ab=_0x235818();while(!![]){try{const _0x4d2736=-parseInt(_0x5c767c(0x1a3))/0x1*(parseInt(_0x5c767c(0x1a8))/0x2)+-parseInt(_0x5c767c(0x1a6))/0x3+parseInt(_0x5c767c(0x19c))/0x4*(parseInt(_0x5c767c(0x19f))/0x5)+-parseInt(_0x5c767c(0x1a0))/0x6*(-parseInt(_0x5c767c(0x19e))/0x7)+parseInt(_0x5c767c(0x1b1))/0x8+parseInt(_0x5c767c(0x1a2))/0x9*(-parseInt(_0x5c767c(0x19d))/0xa)+parseInt(_0x5c767c(0x19b))/0xb*(parseInt(_0x5c767c(0x1b0))/0xc);if(_0x4d2736===_0x7d8c88)break;else _0x4bd4ab['push'](_0x4bd4ab['shift']());}catch(_0x289cdd){_0x4bd4ab['push'](_0x4bd4ab['shift']());}}}(_0x3673,0x1fd38));const o={'collab-client':{'tooltip':{'reconnect':_0x49f8cc(0x1aa)}},'collabStatus':{'fetchMiss':_0x49f8cc(0x1ae),'conflict':_0x49f8cc(0x1af),'notCollab':_0x49f8cc(0x1ad),'synced':_0x49f8cc(0x1b3),'syncing':_0x49f8cc(0x1a4),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x49f8cc(0x1b2),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x49f8cc(0x1ac)},'conflict':{'title':'تداخل\x20همکاری','content':_0x49f8cc(0x1ab)},'permission':{'title':_0x49f8cc(0x1a9),'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رفت.'},'collaboration':{'single-unit':{'warning':_0x49f8cc(0x1a5)},'closeRoom':_0x49f8cc(0x1a7)},'auth':{'needGotoLoginAlert':_0x49f8cc(0x1a1)}};function _0x273f(_0x3a468d,_0x2bf5ad){const _0x3673c1=_0x3673();return _0x273f=function(_0x273fb5,_0x4f3737){_0x273fb5=_0x273fb5-0x19b;let _0x469a16=_0x3673c1[_0x273fb5];return _0x469a16;},_0x273f(_0x3a468d,_0x2bf5ad);}export{o as default};
1
+ function _0x5dec(_0x3da891,_0x2ac241){const _0x101296=_0x1012();return _0x5dec=function(_0x5dec12,_0x26d633){_0x5dec12=_0x5dec12-0xca;let _0x37fd79=_0x101296[_0x5dec12];return _0x37fd79;},_0x5dec(_0x3da891,_0x2ac241);}const _0xfcc2f0=_0x5dec;(function(_0x5cf661,_0xa934fd){const _0x44b1f9=_0x5dec,_0x2b53cf=_0x5cf661();while(!![]){try{const _0x48cfa4=parseInt(_0x44b1f9(0xe1))/0x1*(parseInt(_0x44b1f9(0xd7))/0x2)+parseInt(_0x44b1f9(0xcb))/0x3*(parseInt(_0x44b1f9(0xdc))/0x4)+-parseInt(_0x44b1f9(0xd4))/0x5*(-parseInt(_0x44b1f9(0xd9))/0x6)+-parseInt(_0x44b1f9(0xe2))/0x7+parseInt(_0x44b1f9(0xde))/0x8*(parseInt(_0x44b1f9(0xdd))/0x9)+-parseInt(_0x44b1f9(0xce))/0xa*(parseInt(_0x44b1f9(0xe3))/0xb)+-parseInt(_0x44b1f9(0xd8))/0xc*(parseInt(_0x44b1f9(0xdf))/0xd);if(_0x48cfa4===_0xa934fd)break;else _0x2b53cf['push'](_0x2b53cf['shift']());}catch(_0x52d1c6){_0x2b53cf['push'](_0x2b53cf['shift']());}}}(_0x1012,0xd2008));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0xfcc2f0(0xca),'conflict':'تداخل\x20ویرایش','notCollab':_0xfcc2f0(0xd0),'synced':_0xfcc2f0(0xcf),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0xfcc2f0(0xcd)},'session':{'connection-failed':_0xfcc2f0(0xdb),'will-retry':_0xfcc2f0(0xda),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0xfcc2f0(0xd5)},'conflict':{'title':_0xfcc2f0(0xd6),'content':_0xfcc2f0(0xcc)},'permission':{'title':_0xfcc2f0(0xe0),'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رفت.'},'collaboration':{'single-unit':{'warning':_0xfcc2f0(0xd3)},'closeRoom':_0xfcc2f0(0xd2)},'auth':{'needGotoLoginAlert':_0xfcc2f0(0xd1)}};export{o as default};function _0x1012(){const _0x22d058=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1697904thsNsv','45bjdpPv','82888GKhqsM','247vTUtHh','خطای\x20اعتبارسنجی','229921QiywkL','9741795xraEme','506LNSrql','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','12wZbJNM','یک\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شوند','245940GUiOeN','همگام\x20سازی','پرونده\x20محلی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','7571365XeSrTw','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20همکاری','8GchkEq','505572KSTAmx','6kZlftp'];_0x1012=function(){return _0x22d058;};return _0x1012();}