@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506191607 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x73ca28=_0x51b5;(function(_0xa05a54,_0x10361e){const _0x50eb63=_0x51b5,_0x1df652=_0xa05a54();while(!![]){try{const _0x1bc50=-parseInt(_0x50eb63(0x194))/0x1*(parseInt(_0x50eb63(0x195))/0x2)+-parseInt(_0x50eb63(0x199))/0x3+parseInt(_0x50eb63(0x197))/0x4+-parseInt(_0x50eb63(0x19f))/0x5*(-parseInt(_0x50eb63(0x1a2))/0x6)+parseInt(_0x50eb63(0x1a0))/0x7*(parseInt(_0x50eb63(0x1a4))/0x8)+-parseInt(_0x50eb63(0x19d))/0x9+parseInt(_0x50eb63(0x196))/0xa;if(_0x1bc50===_0x10361e)break;else _0x1df652['push'](_0x1df652['shift']());}catch(_0x2c0b12){_0x1df652['push'](_0x1df652['shift']());}}}(_0x4790,0x25441));const t=require(_0x73ca28(0x1a1)),e=require(_0x73ca28(0x19c));function _0x4790(){const _0x19b4a1=['686272PNsMuw','extend','548625mKmSlG','runOnServer','FUniver','@univerjs/core/facade','2072673KgAgnI','get','220vOyska','36911fFMhXc','@univerjs-pro/collaboration-client-ui','22398kjobuZ','RemoteUniscriptService','232IAivff','_injector','8134GKWDCC','26NmIMgj','1828180hhYFVG'];_0x4790=function(){return _0x19b4a1;};return _0x4790();}function _0x51b5(_0x204425,_0x4a20be){const _0x479009=_0x4790();return _0x51b5=function(_0x51b596,_0x5623a6){_0x51b596=_0x51b596-0x193;let _0x602b1f=_0x479009[_0x51b596];return _0x602b1f;},_0x51b5(_0x204425,_0x4a20be);}class c extends e[_0x73ca28(0x19b)]{['runOnServer'](_0x36784b,_0x173194,..._0x484f76){const _0x48a4df=_0x73ca28;return this[_0x48a4df(0x193)][_0x48a4df(0x19e)](t[_0x48a4df(0x1a3)])[_0x48a4df(0x19a)](_0x36784b,_0x173194,{},..._0x484f76);}}e[_0x73ca28(0x19b)][_0x73ca28(0x198)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x41752f=_0x1202;(function(_0x327a23,_0x3e6eb2){const _0x2bf9aa=_0x1202,_0x3b2c38=_0x327a23();while(!![]){try{const _0x20d4f1=parseInt(_0x2bf9aa(0x2a2))/0x1+-parseInt(_0x2bf9aa(0x1e9))/0x2+parseInt(_0x2bf9aa(0x3ca))/0x3+parseInt(_0x2bf9aa(0x444))/0x4*(-parseInt(_0x2bf9aa(0x42d))/0x5)+parseInt(_0x2bf9aa(0x3d6))/0x6*(parseInt(_0x2bf9aa(0x2a8))/0x7)+-parseInt(_0x2bf9aa(0x3ab))/0x8*(-parseInt(_0x2bf9aa(0x43a))/0x9)+parseInt(_0x2bf9aa(0x212))/0xa;if(_0x20d4f1===_0x3e6eb2)break;else _0x3b2c38['push'](_0x3b2c38['shift']());}catch(_0x122413){_0x3b2c38['push'](_0x3b2c38['shift']());}}}(_0x5f08,0x5ff51));var Ve=Object[_0x41752f(0x3b8)],Xe=(_0x23186f,_0x63ae75,_0x27a9b8)=>_0x63ae75 in _0x23186f?Ve(_0x23186f,_0x63ae75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27a9b8}):_0x23186f[_0x63ae75]=_0x27a9b8,h=(_0x434980,_0x34e825,_0x48327d)=>Xe(_0x434980,typeof _0x34e825!=_0x41752f(0x1d3)?_0x34e825+'':_0x34e825,_0x48327d);Object['defineProperty'](exports,Symbol[_0x41752f(0x417)],{'value':_0x41752f(0x361)});const u=require(_0x41752f(0x385)),a=require(_0x41752f(0x3f4)),p=require(_0x41752f(0x22c)),G=require('@univerjs/network'),E=require(_0x41752f(0x36c)),Ge=require(_0x41752f(0x275)),d=require(_0x41752f(0x291)),Y=require(_0x41752f(0x267)),m=require('@univerjs-pro/collaboration'),be=require(_0x41752f(0x430)),g=require(_0x41752f(0x299)),$=require(_0x41752f(0x407)),X=require(_0x41752f(0x2f9)),P=require(_0x41752f(0x2f2)),O=require(_0x41752f(0x32d)),D=require(_0x41752f(0x1cd)),M=require(_0x41752f(0x34c)),Ke=require(_0x41752f(0x431));var qe=Object[_0x41752f(0x35e)],ze=(_0x15b56a,_0x3a9072,_0x30a030,_0x50dea8)=>{const _0x54a28d=_0x41752f;for(var _0x311341=_0x50dea8>0x1?void 0x0:_0x50dea8?qe(_0x3a9072,_0x30a030):_0x3a9072,_0x54a19b=_0x15b56a[_0x54a28d(0x27e)]-0x1,_0x21e0af;_0x54a19b>=0x0;_0x54a19b--)(_0x21e0af=_0x15b56a[_0x54a19b])&&(_0x311341=_0x21e0af(_0x311341)||_0x311341);return _0x311341;},Oe=(_0x55ca18,_0x403847)=>(_0xe06abd,_0x1d75bc)=>_0x403847(_0xe06abd,_0x1d75bc,_0x55ca18);let de=class extends a[_0x41752f(0x26e)]{constructor(_0x2d5569,_0x5a906e){const _0x167112=_0x41752f;super(),this[_0x167112(0x39c)]=_0x2d5569,this['_imageIoService']=_0x5a906e,this[_0x167112(0x201)]();}['_init'](){const _0x5407d8=_0x41752f,_0x1d6815=this;this[_0x5407d8(0x1ec)](this[_0x5407d8(0x39c)][_0x5407d8(0x329)]({'onBeforePasteImage':async _0x4b568b=>{const _0x553fc9=_0x5407d8,_0x28f9d5=await _0x1d6815['_imageIoService'][_0x553fc9(0x2ea)](_0x4b568b);return _0x28f9d5?{'source':_0x28f9d5['source'],'imageSourceType':_0x28f9d5[_0x553fc9(0x3f9)]}:null;}}));}};de=ze([Oe(0x0,E[_0x41752f(0x416)]),Oe(0x1,Ge[_0x41752f(0x404)])],de);const Te=[_0x41752f(0x323),_0x41752f(0x25d),_0x41752f(0x3cb),_0x41752f(0x1c8),'blue.400',_0x41752f(0x35c)];class me extends a[_0x41752f(0x2ed)]{constructor(){const _0x3257c0=_0x41752f;super(...arguments),h(this,_0x3257c0(0x3d1),new Map()),h(this,_0x3257c0(0x394),0x0);}[_0x41752f(0x205)](_0x4cfcf6){const _0x25c7e8=_0x41752f;if(this[_0x25c7e8(0x3d1)]['has'](_0x4cfcf6))return this[_0x25c7e8(0x3d1)]['get'](_0x4cfcf6);const _0xbcc0a2=Te[this[_0x25c7e8(0x394)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Te[_0x25c7e8(0x27e)],this[_0x25c7e8(0x3d1)]['set'](_0x4cfcf6,_0xbcc0a2),_0xbcc0a2;}}function Pe(_0x506b19){let _0xfc916a='';for(const _0x4a22b5 of _0x506b19){const {startOffset:_0x511ed0,endOffset:_0x2bb7cf,isActive:_0x4e74c0,rangeType:_0x346bca,segmentId:_0x3aaed3,segmentPage:_0x3f51b6}=_0x4a22b5;_0xfc916a['length']&&(_0xfc916a+=','),_0xfc916a+=_0x511ed0+':'+_0x2bb7cf+':'+(_0x4e74c0?'1':'0')+':'+_0x346bca+':'+_0x3aaed3+':'+_0x3f51b6;}return _0xfc916a;}function Je(_0x58ea64){const _0x12a202=_0x41752f,_0x1f0665=_0x58ea64[_0x12a202(0x370)](','),_0x141243=[];for(const _0x250c07 of _0x1f0665){const [_0x3da96e,_0x4905bc,_0x389de9,_0x2d2685,_0x4e8950,_0x3f89d0]=_0x250c07[_0x12a202(0x370)](':');_0x141243[_0x12a202(0x3e2)]({'startOffset':Number(_0x3da96e),'endOffset':Number(_0x4905bc),'collapsed':_0x3da96e===_0x4905bc,'isActive':_0x389de9==='1','rangeType':_0x2d2685===a['DOC_RANGE_TYPE'][_0x12a202(0x405)]?a[_0x12a202(0x1d0)][_0x12a202(0x405)]:a[_0x12a202(0x1d0)][_0x12a202(0x328)],'segmentId':typeof _0x4e8950==_0x12a202(0x30b)?String(_0x4e8950):'','segmentPage':Number(_0x3f89d0!=null?_0x3f89d0:-0x1)});}return _0x141243['some'](_0x1422a7=>_0x1422a7[_0x12a202(0x1d6)])||(_0x141243[0x0]['isActive']=!0x0),_0x141243;}class Ce extends a[_0x41752f(0x26e)]{constructor(){const _0x5b2a1d=_0x41752f;super(...arguments),h(this,'_collabCursorState$',new d[(_0x5b2a1d(0x33f))](null)),h(this,_0x5b2a1d(0x3d9),this[_0x5b2a1d(0x3f3)][_0x5b2a1d(0x3f7)]());}[_0x41752f(0x43c)](_0x13c9e0){const _0x1b7645=_0x41752f,{unitID:_0x2d4bb0,memberID:_0x589a6e,textRanges:_0x1ab462}=_0x13c9e0,_0x442788=Pe(_0x1ab462);if(_0x442788==='')return;const _0x21bedb={'unitID':_0x2d4bb0,'memberID':_0x589a6e,'selection':_0x442788};this['_collabCursorState$'][_0x1b7645(0x3e1)](_0x21bedb);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x5da66a,_0x9fe47a,_0x433634,_0x34d841)=>{const _0x368973=_0x41752f;for(var _0xb3ad48=_0x34d841>0x1?void 0x0:_0x34d841?Ze(_0x9fe47a,_0x433634):_0x9fe47a,_0x469736=_0x5da66a[_0x368973(0x27e)]-0x1,_0x1877fb;_0x469736>=0x0;_0x469736--)(_0x1877fb=_0x5da66a[_0x469736])&&(_0xb3ad48=_0x1877fb(_0xb3ad48)||_0xb3ad48);return _0xb3ad48;},L=(_0x38309a,_0x233c9f)=>(_0xde16da,_0x1f5896)=>_0x233c9f(_0xde16da,_0x1f5896,_0x38309a);function _0x5f08(){const _0x490d5b=['DocSelectionManagerService','children','LOCAL_CACHE_INTERVAL_KEY','DisposableCollection','redoState','flatMap','newValue','SheetsSelectionsService','sessionStatus$','wsSessionTicketUrl','_startDocCollabCursor','currentSkeleton$','INTERNAL_ERROR','Error','random','sheetID','transformStateCache','handleInsertRow','collabStatus.offline','@univerjs-pro/collaboration-client','jsxs','clearInterval','executeCommand','PERMISSION_DENIED','OnLineIcon','http://www.w3.org/2000/svg','prototype','get','CollaborationSocketService','extend','_docStateChangeManagerService','searchParams','_ensureSubject','event$','_colorIndex','_backgroundColor','UniverInstanceType','merge','SHEET_VIEWPORT_KEY','concat','COLORS','MOBILE_VERIFY_CODE_MISMATCH','_docClipboardService','OTHER_CLIENT_EDITING','location','_disabled','WECHAT_HAS_BEEN_BOUND','_cursors','cursorInfo','CONFLICT','getCurrentRevOfUnit','getColorFromTheme','_name','_saveTaskMap','onStarting','_scene','_entityInit$','104XIZbHz','on-line-icon','VIEW_MAIN','_context','COMPLETION_FINISHED','SNAPSHOT_INVALID_SNAPSHOT','_initStatusListener','_cachedData','addObjects','createIdentifier','InsertRangeMoveDownCommandId','lineTo','transform','defineProperty','focused$','IRenderManagerService','isArray','propertyIsEnumerable','_labelPosition','generateRandomId','Inject','getViewport','mapTo','_eventUnsubscribe','0\x200\x2016\x2016','_docSyncEditingCollabCursorService','_config','SOCKET_FAILED_RETRY','_status$','IURLService','exhaustSavingTask','415728rlXiBk','green.600','SetDocZoomRatioOperation','contains','collaboration.single-unit.warning','_registerRenderDependencies','onPointerEnter$','_assignedColors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','with','ILogService','InsertRowCommandId','6NSQohM','ONLINE','subUnitId','collabCursorState$','_hideTimer','setInterval','_startSheetCollabCursor','_transformHistoryAndStateStack','mask','_entities','getAncestorScale','next','push','textRanges','post','jsx','TEXT_RANGE_LAYER_INDEX','SOCKET_FAILED','_instanceService','map','_range','Tooltip','ITransformService','SetWorksheetActivateCommand','min','IBeforeCloseService','transformRemoteChangeset','_initDependencies','RichTextEditingMutation','_collabCursorState$','@univerjs/core','_getMergeRange','entityInit$','asObservable','session.connection-failed','imageSourceType','getSkeleton','tag','then','subscribeEvent','CHANGESET_REVISION_CONFILICT','NO_OTHER_CLIENTS_EDITING','getCurrent','all','row','_updateLocalCursor','IImageIoService','TEXT','APPLY_NON_SEQUENTIAL_REVISION','rxjs/operators','getFocusedUnit','set','getSheetId','_initStatusComponent','onLocalMutation','unshift','UPDATE_CURSOR','handleDeleteRangeMoveLeft','isEditing','registerRefRange','ILocalCacheService','toRgbString','FromArray','Warning','IDocClipboardService','toStringTag','session.will-retry','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_docTransformIMECacheService','_transformPreviousActiveRange','useRef','_saveCache','MessageType','CollaborationUIEventService','entries','_initCommandExecutedListener','arc','filter','ranges','NodePositionConvertToCursor','FETCH_MISS','collabStatus.conflict','onMouseMove','_getSaveTimeout','YUUMI_ALL_TABLES_IS_INVALID','hovered','loadOfflineData','515SPneHw','text','pipe','@univerjs/engine-formula','@univerjs/rpc','icon','collaboration.closeRoom','m2Prime','getTypeOfUnitDisposed$','NOT_FOUND','closePath','dispose','connectInjector','119736oURkEJ','transformSelections','syncEditingCollabCursor','getParam','m1Prime','EMAIL_HAS_BEEN_BOUND','Workbook','subunit','runId','MOBILE_HAS_BEEN_BOUND','5908CPDlKS','path','fromEventSubject','transformMutation','getRenderById','getColor','fillStyle','idSuffix','_notificationService','IMessageService','_drawTextRange','DocCollaborationEntity','INVITE_CODE_HAS_BEEN_UES','urlChange$','red.300','pushState','selection','none','ticket','@univerjs/design','_lastPointer','RevisionService','DOC_RANGE_TYPE','switchMap','send','symbol','getSheetBySheetId','addObject','isActive','_docTransformSelectionsService','EMAIL_VERIFY_CODE_MISMATCH','triggerDblclick','includes','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOnline','Rectangle','YUUMI_RATE_OVER_LIMIT','distinctUntilChanged','Rect','invokeId','APPLY_REJECT','key','find','M0\x200H16V16H0z','delete','IRemoteInstanceService','_handleHeartbeatEvent','1127286QlwHUN','getMemberID','debug','disposeWithMe','_refRangeService','params','_unitStatus','_docSkeleton','forwardRef','EffectRefRangId','clsx','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.syncing','_beforeCloseService','_docTransformStateCacheService','Failed','_scheduleHeartbeat','handleMoveRange','YUUMI_SUBSCRIPTION_NOT_FOUND','range','CollaborationStatus','getOwnPropertySymbols','registerRenderModule','Shape','_init','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_dataLoaderService','_hover','assignAColorForMemberID','IUniverInstanceService','getOffsetConfig','_handleEvent','_scheduleClearOtherTimer','pluginName','NodePositionConvertToRectRange','restore','CollaborationStatusDisplay','permission.title','black','_render','apply','6143340ylUBTC','LICENSE_IMPORT_SIZE_EXCEEDED','popstate','useObservable','updateOfflineData','_uiPartsService','CommandType','ILocalStorageService','createSocket','INVALID_INVITE_CODE','runOnServer','xlink:href','_getSheetObject','[CollaborationDataLoaderController]','collabStatus.fetchMiss','replaceState','YUUMI_AI_RUN_FAILED','assign','RegularPolygon','mutations','SetSelectionsOperation','url(#$1','CollaborationDataLoaderController','collab-text-range-','attrs','_handleLeaveEvent','@univerjs/engine-render','OTHER_CLIENTS_EDITING','round','currentColor','subscribe','SYNCED','_updateSubUnitFromURLParams','requireSession','_handleJoinEvent','_initEntityListener','_memberService','YUUMI_NO_CUBOID_FOR_QUESTION','_selfUnitIDs','UNIVER_SHEET','unitID','takeUntil','_collabCursorController','findNodePositionByCharIndex','_onRefRangeChange','_drawRectRange','NOT_COLLAB','setShapeProps','eventID','collab-client.tooltip.reconnect','call','_session','disableLocalCache','dispose$','_collaborationUIEventService','_anchorDot','_localeService','UniverCollaborationClientPlugin','APPLY_REVISION_CONFILICT','_setupSubUnitSync','isTransformMutationsWithChangesetSuccess','sessionTicket','color','_univerInstanceService','getMember','getValue','SessionStatus','ENSURE_SNAPSHOT_EXECUTION','_renderManagerService','_onCursorDelete','_toggleOffline','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','hasOwnProperty','off-line-icon','displayName','jiqing.500','_docSkeletonManagerService','_initEvent','Plugin','uni.network.url-service','_registerDependencies','_transformService','setParam','memberID','INVALID_ARGUMENT','@univerjs/docs','measureText','addHandlerCallback','_refreshCollabCursors','saveTaskMap','undoState','fillText','RxDisposable','_revisionService','WebBrowserSingleActiveUnitService','_logService','override','univerjs-icon\x20univerjs-icon-','getLocalCacheKey','@univerjs/drawing','collaboration-client-ui.config','LocaleService','_collaborationController','_scheduleSaving','div','ALREADY_EXISTS','width','CLOSE_ROOM','length','UNDEFINED','top','hide','result','Tools','BuiltInUIPart','PENDING','mergeOverrideWithDependencies','ICommandService','SheetSkeletonManagerService','UNAUTHENTICATED','substring','disposeUnit','activeSheet$','_localCacheService','createInstance','isTransformMutationFailure','_localStorageService','rxjs','colorChannel1','resize','href','ACTIVE_UNIT_EVENT_CHANNEL','_httpService','_themeService','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/sheets','RemoteUniscriptService','USER_NOT_INVITED_CODE','replace','setItem','CONNECTOR_DATA_TOO_LARGE','_messageService','_removeCollabCursors','_textBubble','8339RDlWWW','CollaborationSessionService','complete','setAlpha','selections','defIds','1222298ClybpU','_cursorShapes','JOIN_ROOM_FAILED','/run/','from','stringify','CollaborationUIEventId','createElement','_cursor','RemoveRowCommandId','onRendered','registerDependencies','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','transformByState','Unknown\x20user','_draw','deepClone','Optional','_clearOtherTimers','off-line-icon_clip0_910_343','UniverIcon','HEADER_MENU','forEach','...','executionId','getCurrentSelections','has','makeDirty','getRangePointData','collabStatus.synced','error','roomMembers','column','size','_sheetSkeletonManagerService','data','INVITE_CODE_REQUIRED','MemberService','setConfig','_heartbeatTimer','clearTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','UNRECOGNIZED','#FFF','permission.content','history','application/json','HTTPService','on-line-icon_clip0_910_349','font','addEventListener','LICENSE_DISTRO_REJECTED','_colorAssignService','_shapes','LOGIN_FAILED','Injector','useDependency','collaboration-client.offline-data-not-saved','getRelativeToViewportCoord','getStateCache','handleIRemoveCol','getActiveRange','SheetCollabCursorShape','status$','UniverCollaborationClientUIPlugin','unsubscribe','saveImage','fillRule','transformMutationsWithChangeset','Disposable','IConfigService','_drawAnchor','backgroundColor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','react/jsx-runtime','_updateURLWithCurrentState','add','indexOf','unload','getCoordByCell','onTransformChange$','@univerjs/sheets-ui','getUndoRedoMutationParamsCache','_hovered','onPointerLeave$','defs','CollaborationEvent','DocIMEInputManagerService','_commandService','toDisposable','getCollabCursors$','collab-text-anchor-','values','debounceTime','name','INVITE_CODE_ALREADY_BOUND','sheetId','unit','_anchor','string','_getAnchorBounding','Vector2','function','onCommandExecuted','startsWith','OffLineIcon','_setupBeforeClosingHandler','_initResize','handleInsertRangeMoveDown','_roomMembers$','_removeClearOtherTimer','_configService','TOO_MANY_REQUESTS','handleInsertRangeMoveRight','save','_injector','unitId','BrowserCollaborationSocketService','UnitStatus','WebURLService','setUndoRedoMutationParamsCache','0\x200\x2017\x2016','fill','purple.300','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','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getConfig','univer-flex\x20univer-items-center','RECT','addClipboardHook','_updateCollabCursors','parse','debounce','@univerjs/ui','DocSkeletonManagerService','DesktopCollaborationStatusDisplayController','_getSessionTicket','getCollabEntity$','ThemeService','CollaborationController','IUIPartsService','getUnitId','_collabSessionService','cursorInfo$','storage','fromEvent','1em','LICENSE_MAX_UNITS_EXCEEDED','DocStateChangeManagerService','_unitOnClients','_id','BehaviorSubject','bottom','_syncEditingCollabCursorService','white','YUUMI_CONNECTOR_URL_NOT_FOUND','setActiveRange','getDocRanges','_handleHover','getUnhiddenWorksheets','svg','combineLatest','USERS_LEAVE','max','react','transformIMECache','OFFLINE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','toString','_color','getUniverSheetInstance','_send','UNIVER_DOC','_cursorInfo$','drawWith','YUUMI_ASYNCIO_CANCELLED','evenodd','init','_online','_onCursorUpdate','yellow.400','_urlService','getOwnPropertyDescriptor','roomMembers$','_getScale','Module','getSheetObject','className','InsertColCommandId','ColorKit','type','YUUMI_UNABLE_LOAD_URL','LOCAL_CACHE_INTERVAL','doc.mutation.rich-text-editing','PY_RUNTIME_SCRIPT_ERROR','show','@univerjs/docs-ui','getItem','body','currentTheme$','split','handleIRemoveRow'];_0x5f08=function(){return _0x490d5b;};return _0x5f08();}const et=0x12c,tt=0x64;let Ie=class extends a[_0x41752f(0x26e)]{constructor(_0x3cf5a8,_0x5132d8,_0x4bef2f,_0x5f47c5,_0x1cb954,_0x22d23e,_0x3f9c75,_0x39a6c4,_0x18b059){const _0x1583eb=_0x41752f;super(),h(this,_0x1583eb(0x35a),!0x1),h(this,_0x1583eb(0x201),!0x1),h(this,_0x1583eb(0x355),new d[(_0x1583eb(0x33f))](new Map())),h(this,_0x1583eb(0x337),this[_0x1583eb(0x355)][_0x1583eb(0x3f7)]()),h(this,_0x1583eb(0x315),new d[(_0x1583eb(0x33f))]([])),h(this,_0x1583eb(0x35f),this[_0x1583eb(0x315)][_0x1583eb(0x42f)](d['debounceTime'](et))),h(this,_0x1583eb(0x403),a[_0x1583eb(0x32c)](_0x597b2e=>{const _0x4de3fd=_0x1583eb,_0x2cd5a7={'eventID':m[_0x4de3fd(0x2fe)][_0x4de3fd(0x40e)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4de3fd(0x1ea)](),'selection':Pe(_0x597b2e)}};this[_0x4de3fd(0x245)][_0x4de3fd(0x1d2)](_0x2cd5a7,this[_0x4de3fd(0x23a)]);},tt)),(this[_0x1583eb(0x23a)]=_0x3cf5a8,this[_0x1583eb(0x245)]=_0x5132d8,this['_injector']=_0x4bef2f,this[_0x1583eb(0x2dc)]=_0x5f47c5,this[_0x1583eb(0x236)]=_0x1cb954,this['_syncEditingCollabCursorService']=_0x22d23e,this[_0x1583eb(0x263)]=_0x3f9c75,this[_0x1583eb(0x251)]=_0x39a6c4,this[_0x1583eb(0x300)]=_0x18b059);}get[_0x41752f(0x3a2)](){const _0x59006e=_0x41752f;return this[_0x59006e(0x355)][_0x59006e(0x253)]();}get[_0x41752f(0x2c7)](){const _0x5bfaa2=_0x41752f;return this[_0x5bfaa2(0x315)][_0x5bfaa2(0x253)]();}[_0x41752f(0x438)](){const _0x31b015=_0x41752f;super[_0x31b015(0x438)](),this[_0x31b015(0x355)][_0x31b015(0x3e1)](new Map()),this[_0x31b015(0x355)][_0x31b015(0x2a4)](),this[_0x31b015(0x315)]['next']([]),this[_0x31b015(0x315)][_0x31b015(0x2a4)]();}[_0x41752f(0x359)](){const _0x5013e7=_0x41752f;this[_0x5013e7(0x201)]||(this[_0x5013e7(0x201)]=!0x0,this[_0x5013e7(0x245)]['sessionStatus$'][_0x5013e7(0x42f)](d[_0x5013e7(0x23b)](this[_0x5013e7(0x247)]))[_0x5013e7(0x230)](_0xb681a1=>{const _0x9bf3d8=_0x5013e7;_0xb681a1===u[_0x9bf3d8(0x254)]['ONLINE']?this[_0x9bf3d8(0x1dc)]():this[_0x9bf3d8(0x258)]();}),this['_session'][_0x5013e7(0x393)][_0x5013e7(0x42f)](d[_0x5013e7(0x23b)](this['dispose$']))[_0x5013e7(0x230)](_0x1b168a=>{const _0x115aae=_0x5013e7,_0xa59e8e=_0x1b168a[_0x115aae(0x242)];_0xa59e8e===m[_0x115aae(0x2fe)]['UPDATE_CURSOR']&&this[_0x115aae(0x35b)](_0x1b168a),_0xa59e8e===m['CollaborationEvent'][_0x115aae(0x34a)]&&this[_0x115aae(0x257)](_0x1b168a);}),this[_0x5013e7(0x1ec)](this[_0x5013e7(0x300)][_0x5013e7(0x30f)](_0xd04de7=>{const _0x26d62a=_0x5013e7,_0xe27e32=_0xd04de7[_0x26d62a(0x1ee)];_0xe27e32!=null&&this[_0x26d62a(0x35a)]&&_0xd04de7['id']===Y['SetTextSelectionsOperation']['id']&&_0xe27e32[_0x26d62a(0x31c)]===this[_0x26d62a(0x23a)]&&_0xe27e32[_0x26d62a(0x410)]===!0x1&&_0xe27e32[_0x26d62a(0x424)]['length']>0x0&&this['_updateLocalCursor'](_0xe27e32[_0x26d62a(0x424)]);})),this[_0x5013e7(0x341)][_0x5013e7(0x3d9)][_0x5013e7(0x42f)](d['takeUntil'](this[_0x5013e7(0x247)]))[_0x5013e7(0x230)](_0x1a6f78=>{const _0x3c5732=_0x5013e7;if((_0x1a6f78==null?void 0x0:_0x1a6f78[_0x3c5732(0x23a)])!==this[_0x3c5732(0x23a)])return;const _0x1d469a={'eventID':m[_0x3c5732(0x2fe)][_0x3c5732(0x40e)],'data':_0x1a6f78};this[_0x3c5732(0x35b)](_0x1d469a);}),this[_0x5013e7(0x1ec)](this[_0x5013e7(0x300)][_0x5013e7(0x30f)](_0x15d360=>{const _0x599bf1=_0x5013e7;if(_0x15d360[_0x599bf1(0x1ee)]==null)return;const _0x12f1c3=_0x15d360['params'];if(_0x15d360['id']!==Y[_0x599bf1(0x3f2)]['id']||_0x12f1c3[_0x599bf1(0x31c)]!==this[_0x599bf1(0x23a)])return;const _0x147fb4={'id':'doc.mutation.rich-text-editing','params':_0x12f1c3},_0x3f1a39=this[_0x599bf1(0x3a2)];for(const [_0x432219,_0x18fa9d]of _0x3f1a39){const _0x4110eb={'id':_0x599bf1(0x369),'params':{'unitId':this[_0x599bf1(0x23a)],'actions':null,'textRanges':_0x18fa9d[_0x599bf1(0x424)]}},_0x57dff1=this[_0x599bf1(0x263)]['transformMutation'](_0x147fb4,_0x4110eb,!0x1);if(m[_0x599bf1(0x28f)](_0x57dff1))throw _0x57dff1[_0x599bf1(0x2c6)];_0x3f1a39[_0x599bf1(0x409)](_0x432219,{..._0x18fa9d,'ranges':_0x57dff1[_0x599bf1(0x434)][_0x599bf1(0x1ee)][_0x599bf1(0x3e3)]});}queueMicrotask(()=>{const _0x4d8dd9=_0x599bf1;this[_0x4d8dd9(0x355)][_0x4d8dd9(0x3e1)](_0x3f1a39);});})));}[_0x41752f(0x35b)](_0x40bb31){const _0x5dd113=_0x41752f;var _0x585b13,_0x16230c;const {memberID:_0x345e4f,selection:_0x56c384}=_0x40bb31['data'],_0x5a3bde=Je(_0x56c384),_0x36cc87=(_0x16230c=(_0x585b13=this[_0x5dd113(0x236)][_0x5dd113(0x252)](this['unitID'],_0x345e4f))==null?void 0x0:_0x585b13['name'])!=null?_0x16230c:'Unknown\x20user',_0x3044f1={'color':this[_0x5dd113(0x2dc)][_0x5dd113(0x205)](_0x345e4f),'name':_0x36cc87,'ranges':_0x5a3bde},_0x3af87e=this[_0x5dd113(0x3a2)];_0x3af87e['set'](_0x345e4f,_0x3044f1),this[_0x5dd113(0x355)][_0x5dd113(0x3e1)](_0x3af87e);}[_0x41752f(0x257)](_0x5b778e){const _0x1a414e=_0x41752f,{memberID:_0x22d338}=_0x5b778e['data'],_0x12448a=this[_0x1a414e(0x3a2)];_0x12448a['delete'](_0x22d338),this[_0x1a414e(0x355)][_0x1a414e(0x3e1)](_0x12448a);}[_0x41752f(0x1dc)](){const _0x111dc0=_0x41752f;var _0x4a80ba;if(this[_0x111dc0(0x35a)]=!0x0,((_0x4a80ba=this[_0x111dc0(0x251)]['getFocusedUnit']())==null?void 0x0:_0x4a80ba[_0x111dc0(0x335)]())!==this[_0x111dc0(0x23a)])return;const _0x5d4492=this[_0x111dc0(0x31b)]['get'](Y[_0x111dc0(0x372)])['getDocRanges']();Array[_0x111dc0(0x3bb)](_0x5d4492)&&_0x5d4492[_0x111dc0(0x27e)]>0x0&&this[_0x111dc0(0x403)](_0x5d4492);}['_toggleOffline'](){const _0x91d7e7=_0x41752f;this[_0x91d7e7(0x35a)]=!0x1;}};Ie=Qe([L(0x2,a[_0x41752f(0x3bf)](a[_0x41752f(0x2df)])),L(0x3,a[_0x41752f(0x3bf)](me)),L(0x4,a['Inject'](u[_0x41752f(0x2cd)])),L(0x5,a[_0x41752f(0x3bf)](Ce)),L(0x6,m[_0x41752f(0x3ec)]),L(0x7,a[_0x41752f(0x206)]),L(0x8,a[_0x41752f(0x287)])],Ie);var st=Object[_0x41752f(0x35e)],it=(_0xe2b579,_0x58b97c,_0x1a004c,_0x1c3b02)=>{const _0x6478df=_0x41752f;for(var _0x87ea94=_0x1c3b02>0x1?void 0x0:_0x1c3b02?st(_0x58b97c,_0x1a004c):_0x58b97c,_0x79445e=_0xe2b579[_0x6478df(0x27e)]-0x1,_0x1adb9e;_0x79445e>=0x0;_0x79445e--)(_0x1adb9e=_0xe2b579[_0x79445e])&&(_0x87ea94=_0x1adb9e(_0x87ea94)||_0x87ea94);return _0x87ea94;},A=(_0x1b889b,_0x23d25f)=>(_0x44f18c,_0x3e11f0)=>_0x23d25f(_0x44f18c,_0x3e11f0,_0x1b889b);const nt=0x12c,rt=0x64,ot=()=>{let _0x3d61e3=[],_0x99ec88=!0x1;return _0x26b274=>{_0x3d61e3['push'](_0x26b274),_0x99ec88||(_0x99ec88=!0x0,setTimeout(()=>{const _0x16b428=_0x1202;_0x3d61e3[_0x16b428(0x2be)](_0x2ea9fc=>_0x2ea9fc()),_0x3d61e3=[],_0x99ec88=!0x1;}));};};let Se=class extends a[_0x41752f(0x26e)]{constructor(_0x59ab73,_0xed3867,_0x30d433,_0xe473bc,_0x5a5c1c,_0x11930f,_0x1d8b3b,_0x52a5cd){const _0x4bccba=_0x41752f;super(),h(this,_0x4bccba(0x35a),!0x1),h(this,_0x4bccba(0x201),!0x1),h(this,_0x4bccba(0x355),new d[(_0x4bccba(0x33f))](new Map())),h(this,_0x4bccba(0x337),this[_0x4bccba(0x355)][_0x4bccba(0x3f7)]()),h(this,_0x4bccba(0x315),new d['BehaviorSubject']([])),h(this,_0x4bccba(0x35f),this[_0x4bccba(0x315)][_0x4bccba(0x42f)](d[_0x4bccba(0x305)](nt))),h(this,_0x4bccba(0x403),a[_0x4bccba(0x32c)]((_0x1138e5,_0x2163c0)=>{const _0x2e8651=_0x4bccba,_0x598410={'eventID':m[_0x2e8651(0x2fe)][_0x2e8651(0x40e)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x2e8651(0x1ea)](),'selection':be['serializeRangeWithSheet'](_0x1138e5,_0x2163c0[_0x2e8651(0x1fc)])}};this[_0x2e8651(0x245)][_0x2e8651(0x1d2)](_0x598410,this['unitID']);},rt)),(this[_0x4bccba(0x23a)]=_0x59ab73,this[_0x4bccba(0x245)]=_0xed3867,this[_0x4bccba(0x31b)]=_0x30d433,this[_0x4bccba(0x2dc)]=_0xe473bc,this[_0x4bccba(0x236)]=_0x5a5c1c,this[_0x4bccba(0x251)]=_0x11930f,this[_0x4bccba(0x300)]=_0x1d8b3b,this[_0x4bccba(0x1ed)]=_0x52a5cd);}get[_0x41752f(0x3a2)](){return this['_cursorInfo$']['getValue']();}get[_0x41752f(0x2c7)](){const _0x39607f=_0x41752f;return this[_0x39607f(0x315)][_0x39607f(0x253)]();}[_0x41752f(0x438)](){const _0x5532e9=_0x41752f;super[_0x5532e9(0x438)](),this[_0x5532e9(0x355)][_0x5532e9(0x3e1)](new Map()),this['_cursorInfo$'][_0x5532e9(0x2a4)](),this[_0x5532e9(0x315)]['next']([]),this[_0x5532e9(0x315)][_0x5532e9(0x2a4)]();}[_0x41752f(0x359)](){const _0x1933ba=_0x41752f;this[_0x1933ba(0x201)]||(this[_0x1933ba(0x201)]=!0x0,this[_0x1933ba(0x245)][_0x1933ba(0x37a)][_0x1933ba(0x42f)](d[_0x1933ba(0x23b)](this[_0x1933ba(0x247)]))[_0x1933ba(0x230)](_0x3e212f=>{const _0xb7ea30=_0x1933ba;_0x3e212f===u['SessionStatus'][_0xb7ea30(0x3d7)]?this['_toggleOnline']():this[_0xb7ea30(0x258)]();}),this['_session'][_0x1933ba(0x393)]['pipe'](d['takeUntil'](this['dispose$']))[_0x1933ba(0x230)](_0x3147cd=>{const _0x2b437e=_0x1933ba,_0x550aa1=_0x3147cd[_0x2b437e(0x242)];_0x550aa1===m[_0x2b437e(0x2fe)][_0x2b437e(0x40e)]&&this[_0x2b437e(0x35b)](_0x3147cd),_0x550aa1===m[_0x2b437e(0x2fe)][_0x2b437e(0x34a)]&&this['_onCursorDelete'](_0x3147cd);}),this['_onRefRangeChange'](),this[_0x1933ba(0x1ec)](this[_0x1933ba(0x300)][_0x1933ba(0x30f)](_0x4ec478=>{const _0x58da98=_0x1933ba;if(this['_online']&&_0x4ec478['id']===g[_0x58da98(0x226)]['id']&&_0x4ec478[_0x58da98(0x1ee)][_0x58da98(0x31c)]===this[_0x58da98(0x23a)]){const _0x19ee3d=_0x4ec478[_0x58da98(0x1ee)];this['_updateLocalCursor'](_0x19ee3d[_0x58da98(0x3d8)],_0x19ee3d[_0x58da98(0x2a6)][0x0]);}})));}['_onCursorUpdate'](_0x28dc8c){const _0x117e93=_0x41752f;var _0x3b6aac,_0x2515f5;const {memberID:_0x16fd9c,selection:_0x14676b}=_0x28dc8c[_0x117e93(0x2cb)],{sheetName:_0x1bb518,range:_0x26c736}=be['deserializeRangeWithSheet'](_0x14676b),_0x101905={'name':(_0x2515f5=(_0x3b6aac=this[_0x117e93(0x236)]['getMember'](this[_0x117e93(0x23a)],_0x16fd9c))==null?void 0x0:_0x3b6aac[_0x117e93(0x306)])!=null?_0x2515f5:_0x117e93(0x2b6),'range':this[_0x117e93(0x3f5)](_0x1bb518,_0x26c736),'sheetID':_0x1bb518,'color':this[_0x117e93(0x2dc)][_0x117e93(0x205)](_0x16fd9c),'selection':_0x14676b},_0x2c6a47=this[_0x117e93(0x3a2)];_0x2c6a47[_0x117e93(0x409)](_0x16fd9c,_0x101905),this['_cursorInfo$'][_0x117e93(0x3e1)](_0x2c6a47);}['_onCursorDelete'](_0x2e8092){const _0x2f79d1=_0x41752f,{memberID:_0x1f0acd}=_0x2e8092[_0x2f79d1(0x2cb)],_0x42cd09=this[_0x2f79d1(0x3a2)];_0x42cd09['delete'](_0x1f0acd),this[_0x2f79d1(0x355)][_0x2f79d1(0x3e1)](_0x42cd09);}[_0x41752f(0x3f5)](_0x85b9b5,_0x4049ad){const _0x242735=_0x41752f;var _0x3333bc,_0x18b385;const _0x2dac7b=(_0x18b385=(_0x3333bc=this[_0x242735(0x251)][_0x242735(0x352)](this[_0x242735(0x23a)]))==null?void 0x0:_0x3333bc[_0x242735(0x1d4)](_0x85b9b5))==null?void 0x0:_0x18b385['getMergeData']();return(_0x2dac7b==null?void 0x0:_0x2dac7b[_0x242735(0x1e4)](_0x42a4f3=>a[_0x242735(0x1dd)][_0x242735(0x3cd)](_0x42a4f3,_0x4049ad)))||_0x4049ad;}[_0x41752f(0x23e)](){const _0x3bb5c4=_0x41752f,_0x1eafff=new a[(_0x3bb5c4(0x375))](),_0x467281=ot(),_0x2cc3e9=()=>{const _0x2f39b6=_0x3bb5c4;_0x1eafff[_0x2f39b6(0x438)]();const _0x71eccc=(_0x534ef,_0x258981,_0x288ce5,_0x2b55e2)=>{const _0x5083b7=_0x2f39b6;let _0x232dd0=[];switch(_0x534ef['id']){case g['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x232dd0=g[_0x5083b7(0x40f)](_0x534ef,_0x2b55e2);break;}case g[_0x5083b7(0x1f2)]['DeleteRangeMoveUpCommandId']:{_0x232dd0=g['handleDeleteRangeMoveUp'](_0x534ef,_0x2b55e2);break;}case g[_0x5083b7(0x1f2)][_0x5083b7(0x364)]:{_0x232dd0=g['handleInsertCol'](_0x534ef,_0x2b55e2);break;}case g[_0x5083b7(0x1f2)][_0x5083b7(0x3b5)]:{_0x232dd0=g[_0x5083b7(0x314)](_0x534ef,_0x2b55e2);break;}case g[_0x5083b7(0x1f2)]['InsertRangeMoveRightCommandId']:{_0x232dd0=g[_0x5083b7(0x319)](_0x534ef,_0x2b55e2);break;}case g[_0x5083b7(0x1f2)][_0x5083b7(0x3d5)]:{_0x232dd0=g[_0x5083b7(0x383)](_0x534ef,_0x2b55e2);break;}case g[_0x5083b7(0x1f2)]['MoveRangeCommandId']:{_0x232dd0=g[_0x5083b7(0x1fa)](_0x534ef,_0x2b55e2);break;}case g[_0x5083b7(0x1f2)]['RemoveColCommandId']:{_0x232dd0=g[_0x5083b7(0x2e4)](_0x534ef,_0x2b55e2);break;}case g[_0x5083b7(0x1f2)][_0x5083b7(0x2b1)]:{_0x232dd0=g[_0x5083b7(0x371)](_0x534ef,_0x2b55e2);break;}}const _0x309a87=g['runRefRangeMutations'](_0x232dd0,_0x2b55e2),_0x35ff47=this[_0x5083b7(0x3a2)][_0x5083b7(0x38d)](_0x258981);if(_0x35ff47&&_0x309a87){const _0x25918a={..._0x35ff47,'range':_0x309a87};this[_0x5083b7(0x3a2)][_0x5083b7(0x409)](_0x258981,_0x25918a),_0x467281(()=>{const _0x5b80d2=_0x5083b7,_0x5d87c9=this[_0x5b80d2(0x1ed)][_0x5b80d2(0x411)](_0x309a87,_0x11c2a9=>(_0x5d87c9[_0x5b80d2(0x438)](),_0x71eccc(_0x11c2a9,_0x258981,_0x288ce5,_0x309a87)));_0x1eafff[_0x5b80d2(0x2f4)](_0x5d87c9);});}return{'redos':[],'undos':[]};};this[_0x2f39b6(0x3a2)][_0x2f39b6(0x2be)]((_0x149b18,_0x3d2d54)=>{const _0x1cd448=_0x2f39b6,{range:_0x3152de,sheetID:_0x160a9e}=_0x149b18,_0x2a4794=this['_refRangeService'][_0x1cd448(0x411)](_0x3152de,_0x4a3f9a=>(_0x2a4794[_0x1cd448(0x438)](),_0x71eccc(_0x4a3f9a,_0x3d2d54,_0x160a9e,_0x3152de)));_0x1eafff[_0x1cd448(0x2f4)](_0x2a4794);});};this[_0x3bb5c4(0x1ec)](a['toDisposable'](this['_cursorInfo$'][_0x3bb5c4(0x230)](()=>{_0x2cc3e9();})));}[_0x41752f(0x1dc)](){const _0x5ee69c=_0x41752f;var _0x5d642c,_0x533828;if(this[_0x5ee69c(0x35a)]=!0x0,((_0x5d642c=this[_0x5ee69c(0x251)][_0x5ee69c(0x408)]())==null?void 0x0:_0x5d642c['getUnitId']())!==this[_0x5ee69c(0x23a)])return;const _0x4c13f1=(_0x533828=this[_0x5ee69c(0x31b)]['get'](g[_0x5ee69c(0x379)])[_0x5ee69c(0x2c1)]())==null?void 0x0:_0x533828[0x0],_0x14e4d8=this[_0x5ee69c(0x251)]['getCurrentUnitForType'](a[_0x5ee69c(0x396)]['UNIVER_SHEET'])['getActiveSheet']();_0x4c13f1&&_0x14e4d8&&this['_updateLocalCursor'](_0x14e4d8[_0x5ee69c(0x40a)](),_0x4c13f1);}[_0x41752f(0x258)](){this['_online']=!0x1;}};Se=it([A(0x2,a['Inject'](a['Injector'])),A(0x3,a[_0x41752f(0x3bf)](me)),A(0x4,a[_0x41752f(0x3bf)](u[_0x41752f(0x2cd)])),A(0x5,a[_0x41752f(0x206)]),A(0x6,a['ICommandService']),A(0x7,a[_0x41752f(0x3bf)](g['RefRangeService']))],Se);var at=Object['getOwnPropertyDescriptor'],ct=(_0x4d48c4,_0x49ff08,_0x42edc2,_0x382f14)=>{const _0x1765e6=_0x41752f;for(var _0x34670c=_0x382f14>0x1?void 0x0:_0x382f14?at(_0x49ff08,_0x42edc2):_0x49ff08,_0x3f379e=_0x4d48c4[_0x1765e6(0x27e)]-0x1,_0x5de32f;_0x3f379e>=0x0;_0x3f379e--)(_0x5de32f=_0x4d48c4[_0x3f379e])&&(_0x34670c=_0x5de32f(_0x34670c)||_0x34670c);return _0x34670c;},ie=(_0x365519,_0x2003c1)=>(_0x2c7ef8,_0x3a315b)=>_0x2003c1(_0x2c7ef8,_0x3a315b,_0x365519);let x=class extends a[_0x41752f(0x26e)]{constructor(_0x2d41c3,_0x251816,_0x13af8f){const _0x39e69f=_0x41752f;super(),h(this,'_entities',new Map()),h(this,_0x39e69f(0x3aa),new d['Subject']()),(this[_0x39e69f(0x251)]=_0x2d41c3,this['_injector']=_0x251816,this[_0x39e69f(0x336)]=_0x13af8f,this[_0x39e69f(0x201)]());}[_0x41752f(0x438)](){const _0x5a9c59=_0x41752f;super[_0x5a9c59(0x438)](),this[_0x5a9c59(0x3aa)][_0x5a9c59(0x2a4)](),this[_0x5a9c59(0x3df)][_0x5a9c59(0x2be)](_0x4f7cfb=>_0x4f7cfb[_0x5a9c59(0x438)]());}[_0x41752f(0x302)](_0x383acb){const _0x437391=_0x41752f;return this[_0x437391(0x3df)]['has'](_0x383acb)?this[_0x437391(0x3df)][_0x437391(0x38d)](_0x383acb)[_0x437391(0x337)]:this[_0x437391(0x3aa)]['pipe'](d[_0x437391(0x423)](_0x18fa7e=>_0x18fa7e['unitID']===_0x383acb),d[_0x437391(0x1d1)](_0x3c3a5c=>_0x3c3a5c['cursorInfo$']));}[_0x41752f(0x201)](){const _0x526a81=_0x41752f;this[_0x526a81(0x251)]['getTypeOfUnitAdded$'](a[_0x526a81(0x396)][_0x526a81(0x239)])[_0x526a81(0x42f)](d[_0x526a81(0x23b)](this['dispose$']))[_0x526a81(0x230)](async _0x2f83a4=>{const _0x3fd252=_0x526a81,_0x45c36a=_0x2f83a4[_0x3fd252(0x335)](),_0x3f1abe=await this[_0x3fd252(0x3dc)](_0x45c36a);this['_entityInit$'][_0x3fd252(0x3e1)](_0x3f1abe),this['_entities'][_0x3fd252(0x409)](_0x45c36a,_0x3f1abe);}),this[_0x526a81(0x251)]['getTypeOfUnitAdded$'](a[_0x526a81(0x396)][_0x526a81(0x354)])[_0x526a81(0x42f)](d[_0x526a81(0x23b)](this['dispose$']))[_0x526a81(0x42f)](d[_0x526a81(0x423)](_0x53cac4=>!_0x53cac4[_0x526a81(0x335)]()[_0x526a81(0x310)]('__')))[_0x526a81(0x230)](async _0x46f06a=>{const _0x5bb775=_0x526a81,_0x4e516c=_0x46f06a[_0x5bb775(0x335)](),_0x5a415e=await this['_startDocCollabCursor'](_0x4e516c);this[_0x5bb775(0x3aa)][_0x5bb775(0x3e1)](_0x5a415e),this[_0x5bb775(0x3df)][_0x5bb775(0x409)](_0x4e516c,_0x5a415e);}),d['merge'](this[_0x526a81(0x251)][_0x526a81(0x435)](a['UniverInstanceType'][_0x526a81(0x354)]),this[_0x526a81(0x251)]['getTypeOfUnitDisposed$'](a[_0x526a81(0x396)][_0x526a81(0x239)]))[_0x526a81(0x42f)](d[_0x526a81(0x23b)](this[_0x526a81(0x247)]))[_0x526a81(0x230)](_0x122258=>{const _0x4dfb6c=_0x526a81,_0x1a6bb2=_0x122258[_0x4dfb6c(0x335)](),_0xc939c0=this[_0x4dfb6c(0x3df)][_0x4dfb6c(0x38d)](_0x1a6bb2);_0xc939c0&&(_0xc939c0['dispose'](),this[_0x4dfb6c(0x3df)][_0x4dfb6c(0x1e6)](_0x1a6bb2));});}async[_0x41752f(0x3dc)](_0x1023a9){const _0x18baad=_0x41752f,_0x13a754=await this['_collabSessionService'][_0x18baad(0x233)](_0x1023a9),_0x2f791a=this[_0x18baad(0x31b)][_0x18baad(0x28e)](Se,_0x1023a9,_0x13a754);return _0x2f791a[_0x18baad(0x359)](),_0x2f791a;}async[_0x41752f(0x37c)](_0x29002a){const _0x23f6dc=_0x41752f,_0x573fa8=await this[_0x23f6dc(0x336)][_0x23f6dc(0x233)](_0x29002a),_0x1016ce=this['_injector']['createInstance'](Ie,_0x29002a,_0x573fa8);return _0x1016ce[_0x23f6dc(0x359)](),_0x1016ce;}};x=ct([ie(0x0,a[_0x41752f(0x206)]),ie(0x1,a[_0x41752f(0x3bf)](a[_0x41752f(0x2df)])),ie(0x2,a[_0x41752f(0x3bf)](u[_0x41752f(0x2a3)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x3d136c,_0x417129){const _0x1cb396=_0x41752f;let {radius:_0x1116b5,width:_0x3ffbd6,height:_0x446d8c}=_0x417129;_0x1116b5=_0x1116b5!=null?_0x1116b5:0x0,_0x3ffbd6=_0x3ffbd6!=null?_0x3ffbd6:0x1e,_0x446d8c=_0x446d8c!=null?_0x446d8c:0x1e;let _0xe3bfac=0x0,_0x3e595d=0x0,_0x409111=0x0;_0xe3bfac=_0x3e595d=_0x409111=Math[_0x1cb396(0x3ee)](_0x1116b5,_0x3ffbd6/0x2,_0x446d8c/0x2),_0x3d136c['beginPath'](),_0x3d136c['moveTo'](_0xe3bfac,0x0),_0x3d136c[_0x1cb396(0x3b6)](_0x3ffbd6-_0x3e595d,0x0),_0x3d136c[_0x1cb396(0x422)](_0x3ffbd6-_0x3e595d,_0x3e595d,_0x3e595d,Math['PI']*0x3/0x2,0x0,!0x1),_0x3d136c[_0x1cb396(0x3b6)](_0x3ffbd6,_0x446d8c-_0x409111),_0x3d136c[_0x1cb396(0x422)](_0x3ffbd6-_0x409111,_0x446d8c-_0x409111,_0x409111,0x0,Math['PI']/0x2,!0x1),_0x3d136c['lineTo'](0x0,_0x446d8c),_0x3d136c[_0x1cb396(0x3b6)](0x0,_0xe3bfac),_0x3d136c[_0x1cb396(0x422)](_0xe3bfac,_0xe3bfac,_0xe3bfac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3d136c[_0x1cb396(0x437)](),_0x417129['fill']&&(_0x3d136c[_0x1cb396(0x31a)](),_0x3d136c['fillStyle']=_0x417129[_0x1cb396(0x322)],_0x417129[_0x1cb396(0x2eb)]===_0x1cb396(0x358)?_0x3d136c[_0x1cb396(0x322)](_0x1cb396(0x358)):_0x3d136c['fill'](),_0x3d136c[_0x1cb396(0x20c)]());}class ee extends p['Shape']{constructor(_0x5ad2a4,_0x586a6){const _0x3894ab=_0x41752f;super(_0x5ad2a4,_0x586a6),h(this,_0x3894ab(0x250)),h(this,_0x3894ab(0x42e)),(this[_0x3894ab(0x250)]=_0x586a6==null?void 0x0:_0x586a6[_0x3894ab(0x250)],this[_0x3894ab(0x42e)]=_0x586a6==null?void 0x0:_0x586a6[_0x3894ab(0x42e)]);}static[_0x41752f(0x356)](_0x11ad92,_0x26f846){const _0x20167e=_0x41752f,{text:_0x3428d3,color:_0x1d5cc6}=_0x26f846;_0x11ad92['save'](),_0x11ad92[_0x20167e(0x2d9)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x38e8d5=_0x11ad92[_0x20167e(0x268)](_0x3428d3)[_0x20167e(0x27c)],_0x30e6db=Math[_0x20167e(0x3ee)](_0x38e8d5+0x2*ne,Re);_t(_0x11ad92,{'height':K,'radius':0x4,'width':_0x30e6db,'fill':_0x1d5cc6}),_0x11ad92[_0x20167e(0x44a)]=_0x20167e(0x2d3);const _0x3aae79=ne,_0x14f0dc=K-lt,_0x1690b3=Re-0x2*ne;if(_0x38e8d5>_0x1690b3){let _0x1a6643='',_0x2f5af3=0x0;for(const _0x1d515d of _0x3428d3){const _0x85618c=_0x11ad92[_0x20167e(0x268)](_0x1d515d)['width'];if(_0x2f5af3+_0x85618c<=_0x1690b3-_0x11ad92[_0x20167e(0x268)](_0x20167e(0x2bf))['width'])_0x1a6643+=_0x1d515d,_0x2f5af3+=_0x85618c;else{_0x1a6643+=_0x20167e(0x2bf);break;}}_0x11ad92[_0x20167e(0x26d)](_0x1a6643,_0x3aae79,_0x14f0dc);}else _0x11ad92['fillText'](_0x3428d3,_0x3aae79,_0x14f0dc);_0x11ad92[_0x20167e(0x20c)]();}[_0x41752f(0x2b7)](_0x2dcc67){const _0x35796f=_0x41752f;ee[_0x35796f(0x356)](_0x2dcc67,this);}}const re=_0x41752f(0x303),ht=_0x41752f(0x229),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,It=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class De{constructor(_0x4e0fce,_0x332eea,_0x512bcd,_0x1142b7){const _0x8b2122=_0x41752f;h(this,_0x8b2122(0x2dd),[]),h(this,'_anchor',null),h(this,'_textBubble',null),h(this,_0x8b2122(0x249),null),h(this,_0x8b2122(0x3da),null),h(this,_0x8b2122(0x3c2),null),(this[_0x8b2122(0x2b0)]=_0x4e0fce,this[_0x8b2122(0x3a9)]=_0x332eea,this[_0x8b2122(0x1f0)]=_0x512bcd,this['_document']=_0x1142b7,this[_0x8b2122(0x210)]());}set['_hover'](_0x3f0af1){const _0xc25c3e=_0x41752f;_0x3f0af1?(this['_anchorDot']&&this[_0xc25c3e(0x249)][_0xc25c3e(0x281)](),this['_textBubble']&&this['_textBubble'][_0xc25c3e(0x36b)]()):(this[_0xc25c3e(0x249)]&&this['_anchorDot']['show'](),this[_0xc25c3e(0x2a1)]&&this[_0xc25c3e(0x2a1)][_0xc25c3e(0x281)]());}[_0x41752f(0x438)](){const _0x27174d=_0x41752f;for(const _0x276a91 of this[_0x27174d(0x2dd)])_0x276a91[_0x27174d(0x438)]();this[_0x27174d(0x2a1)]&&this[_0x27174d(0x2a1)][_0x27174d(0x438)](),this[_0x27174d(0x249)]&&this[_0x27174d(0x249)][_0x27174d(0x438)](),this[_0x27174d(0x30a)]&&this[_0x27174d(0x30a)][_0x27174d(0x438)](),this[_0x27174d(0x3c2)]&&this[_0x27174d(0x3c2)]();}[_0x41752f(0x210)](){const _0x382df4=_0x41752f;var _0x3deb49;const {_docSkeleton:_0x4ade98,_document:_0x1295c8}=this,{color:_0x43fea7,name:_0x5e1098,ranges:_0x219769}=this[_0x382df4(0x2b0)],_0x3a17ab=_0x1295c8[_0x382df4(0x207)](),{docsLeft:_0x27c6b3,docsTop:_0xc21931}=_0x3a17ab,_0x1fdba0=new E[(_0x382df4(0x425))](_0x3a17ab,_0x4ade98);for(const {startOffset:_0x3dbce6,endOffset:_0x449fc8,rangeType:_0x49beec,segmentId:_0x17472e,segmentPage:_0x12baf5,collapsed:_0x474cac,isActive:_0x429b5c}of _0x219769){const _0x4e0053=_0x4ade98[_0x382df4(0x23d)](_0x3dbce6,!0x0,_0x17472e,_0x12baf5);let _0x56a0b1=_0x4ade98[_0x382df4(0x23d)](_0x449fc8,!0x0,_0x17472e,_0x12baf5);if(_0x56a0b1==null&&(_0x56a0b1=_0x4ade98[_0x382df4(0x23d)](_0x449fc8-0x1,!0x1,_0x17472e,_0x12baf5)),_0x429b5c){const {contentBoxPointGroup:_0x31424d}=_0x1fdba0[_0x382df4(0x2c4)](_0x56a0b1,_0x56a0b1);if(_0x31424d[_0x382df4(0x27e)]===0x0)continue;this[_0x382df4(0x2ef)](_0x43fea7,_0x31424d,_0x27c6b3,_0xc21931,_0x5e1098),this[_0x382df4(0x3c2)]=this[_0x382df4(0x346)]();}if(_0x4e0053&&_0x56a0b1){if(_0x49beec===a[_0x382df4(0x1d0)]['RECT']){const _0x2569e4=new E[(_0x382df4(0x20b))](_0x3a17ab,_0x4ade98),{pointGroup:_0x238b80}=(_0x3deb49=_0x2569e4[_0x382df4(0x2c4)](_0x4e0053,_0x56a0b1))!=null?_0x3deb49:{};if(_0x238b80==null||_0x238b80[_0x382df4(0x27e)]===0x0)continue;this[_0x382df4(0x23f)](_0x43fea7,_0x238b80,_0x27c6b3,_0xc21931);}else{if(!_0x474cac){const {borderBoxPointGroup:_0x529584}=_0x1fdba0[_0x382df4(0x2c4)](_0x4e0053,_0x56a0b1);if(_0x529584[_0x382df4(0x27e)]===0x0)continue;this[_0x382df4(0x1c4)](_0x43fea7,_0x529584,_0x27c6b3,_0xc21931);}}}}}[_0x41752f(0x2ef)](_0x2e2ec3,_0x44b422,_0x48c523,_0x45e137,_0x426899){const _0x54e5df=_0x41752f,_0x471b49=this[_0x54e5df(0x30c)](_0x44b422),{left:_0x2d1a7f,top:_0x63223f,height:_0x3324c1}=_0x471b49,_0x49f557=this[_0x54e5df(0x360)](),_0x155203=It/_0x49f557,_0x557c1a=new p[(_0x54e5df(0x1e0))](re+a[_0x54e5df(0x283)][_0x54e5df(0x3be)](k),{'left':_0x2d1a7f+_0x48c523-_0x155203,'top':_0x63223f+_0x45e137,'height':_0x3324c1,'width':dt,'fill':_0x2e2ec3||p[_0x54e5df(0x449)](a[_0x54e5df(0x39a)]['black'],0x0),'strokeWidth':_0x155203,'stroke':St,'evented':!0x0});this['_anchor']=_0x557c1a,this['_scene'][_0x54e5df(0x1d5)](_0x557c1a,E['TEXT_RANGE_LAYER_INDEX']);const _0x117a98=new p[(_0x54e5df(0x1e0))](re+a[_0x54e5df(0x283)][_0x54e5df(0x3be)](k),{'left':_0x2d1a7f+_0x48c523-_0x155203,'top':_0x63223f+_0x45e137-oe/0x2,'height':oe,'width':oe,'fill':_0x2e2ec3||p['getColor'](a[_0x54e5df(0x39a)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2e2ec3||p['getColor'](a[_0x54e5df(0x39a)][_0x54e5df(0x20f)],0x0),'evented':!0x1});this[_0x54e5df(0x249)]=_0x117a98,this[_0x54e5df(0x3a9)]['addObject'](_0x117a98,E['TEXT_RANGE_LAYER_INDEX']);const _0x115a72=new ee(re+a[_0x54e5df(0x283)][_0x54e5df(0x3be)](k),{'left':_0x2d1a7f+_0x48c523-_0x155203,'top':_0x63223f+_0x45e137-K,'text':_0x426899,'color':_0x2e2ec3});this[_0x54e5df(0x2a1)]=_0x115a72,this[_0x54e5df(0x3a9)]['addObject'](_0x115a72,E[_0x54e5df(0x3e6)]),this['_hover']=!0x1;}[_0x41752f(0x346)](){const _0x2e297c=_0x41752f,_0x449b33=this['_anchor'][_0x2e297c(0x3d0)][_0x2e297c(0x3fd)](()=>{const _0x180763=_0x2e297c;this[_0x180763(0x204)]=!0x0;}),_0x548d88=this['_anchor'][_0x2e297c(0x2fc)][_0x2e297c(0x3fd)](()=>{const _0x223c90=_0x2e297c;this[_0x223c90(0x3da)]&&clearTimeout(this[_0x223c90(0x3da)]),this['_hideTimer']=setTimeout(()=>{const _0x4be9cb=_0x223c90;this[_0x4be9cb(0x204)]=!0x1;},0x7d0);});return()=>{const _0x34d8a3=_0x2e297c;_0x449b33[_0x34d8a3(0x2e9)](),_0x548d88[_0x34d8a3(0x2e9)]();};}[_0x41752f(0x1c4)](_0x589cc3,_0x14e692,_0x4d2140,_0x29c703){const _0x25e352=_0x41752f,_0x12c4e0=new a[(_0x25e352(0x365))](_0x589cc3)['setAlpha'](0.2)['toRgbString'](),_0x211812=new p[(_0x25e352(0x224))](ht+a[_0x25e352(0x283)]['generateRandomId'](k),{'pointsGroup':_0x14e692,'fill':_0x12c4e0||p[_0x25e352(0x449)](a[_0x25e352(0x39a)][_0x25e352(0x20f)],0.2),'left':_0x4d2140,'top':_0x29c703,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25e352(0x2dd)][_0x25e352(0x3e2)](_0x211812),this['_scene'][_0x25e352(0x1d5)](_0x211812,E[_0x25e352(0x3e6)]);}['_drawRectRange'](_0x4069fc,_0x39f1e6,_0x22dd3b,_0x802e54){const _0x4815de=_0x41752f,_0x1d9992=new a['ColorKit'](_0x4069fc)[_0x4815de(0x2a5)](0.2)[_0x4815de(0x413)](),_0x3ea2d2=new p[(_0x4815de(0x224))](ut+a[_0x4815de(0x283)][_0x4815de(0x3be)](k),{'pointsGroup':_0x39f1e6,'fill':_0x1d9992||p[_0x4815de(0x449)](a[_0x4815de(0x39a)][_0x4815de(0x20f)],0.2),'left':_0x22dd3b,'top':_0x802e54,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4815de(0x2dd)][_0x4815de(0x3e2)](_0x3ea2d2),this['_scene'][_0x4815de(0x1d5)](_0x3ea2d2,E[_0x4815de(0x3e6)]);}[_0x41752f(0x30c)](_0x147757){const _0x41f2c5=_0x147757[0x0],_0x78d5f8=_0x41f2c5[0x0],_0x535c52=_0x41f2c5[0x2],{x:_0x45b3c1,y:_0x5e8665}=_0x78d5f8,{x:_0x1fcd29,y:_0x11c907}=_0x535c52;return{'left':_0x45b3c1,'top':_0x5e8665,'width':_0x1fcd29-_0x45b3c1,'height':_0x11c907-_0x5e8665};}[_0x41752f(0x360)](){const _0x51168a=_0x41752f,{scaleX:_0x5d8bfc,scaleY:_0x3edbc8}=this[_0x51168a(0x3a9)][_0x51168a(0x3e0)]();return Math[_0x51168a(0x34b)](_0x5d8bfc,_0x3edbc8);}}var ft=Object[_0x41752f(0x35e)],vt=(_0x531ded,_0x562780,_0x2c3ac8,_0x132801)=>{const _0x2b4e8f=_0x41752f;for(var _0x4677f4=_0x132801>0x1?void 0x0:_0x132801?ft(_0x562780,_0x2c3ac8):_0x562780,_0x3c4319=_0x531ded[_0x2b4e8f(0x27e)]-0x1,_0x3f1dc7;_0x3c4319>=0x0;_0x3c4319--)(_0x3f1dc7=_0x531ded[_0x3c4319])&&(_0x4677f4=_0x3f1dc7(_0x4677f4)||_0x4677f4);return _0x4677f4;},W=(_0x5f3e03,_0x5d01e8)=>(_0x47a738,_0x4297fa)=>_0x5d01e8(_0x47a738,_0x4297fa,_0x5f3e03);let fe=class extends a['RxDisposable']{constructor(_0x5b735e,_0x4f459a,_0x480c6d,_0x3fc1dc,_0xcfa5c6){const _0x5221be=_0x41752f;super(),h(this,_0x5221be(0x2a9),[]),h(this,_0x5221be(0x3a1),[]),(this[_0x5221be(0x3ae)]=_0x5b735e,this['_docSkeletonManagerService']=_0x4f459a,this['_collabCursorController']=_0x480c6d,this[_0x5221be(0x300)]=_0x3fc1dc,this['_themeService']=_0xcfa5c6,this[_0x5221be(0x201)]());}['_init'](){const _0x399a27=_0x41752f,_0x252e5a=this[_0x399a27(0x3ae)]['unitId'],_0x162afa=this[_0x399a27(0x25e)];this[_0x399a27(0x1ec)](d[_0x399a27(0x349)]([this['_collabCursorController'][_0x399a27(0x302)](_0x252e5a),this[_0x399a27(0x297)][_0x399a27(0x36f)]])['pipe']($['map'](([_0x104f18,_0x2e0646])=>({'skeleton':_0x162afa[_0x399a27(0x3fa)](),'cursors':[..._0x104f18[_0x399a27(0x304)]()][_0x399a27(0x377)](_0xecaa1e=>({..._0xecaa1e,'color':this[_0x399a27(0x297)][_0x399a27(0x3a5)](_0xecaa1e['color'])}))})))[_0x399a27(0x230)](_0x3ff90e=>{const _0x3a1134=_0x399a27;if(this[_0x3a1134(0x2a0)](),_0x3ff90e){const {skeleton:_0x85f454,cursors:_0x261336}=_0x3ff90e;this[_0x3a1134(0x32a)](_0x85f454,_0x261336);}})),this[_0x399a27(0x313)](),this[_0x399a27(0x421)]();}[_0x41752f(0x32a)](_0x3b6983,_0x5a48d2){const _0x10fe75=_0x41752f,{scene:_0x1ae3b5,mainComponent:_0x2be4e2}=this[_0x10fe75(0x3ae)],_0x3449f7=_0x5a48d2[_0x10fe75(0x3e9)](_0xed0039=>new De(_0xed0039,_0x1ae3b5,_0x3b6983,_0x2be4e2));this[_0x10fe75(0x2a9)]=_0x3449f7,this[_0x10fe75(0x3a1)]=_0x5a48d2;}[_0x41752f(0x26a)](){const _0x41618a=_0x41752f;this[_0x41618a(0x2a0)]();const {scene:_0x6905a3,mainComponent:_0x4dccbe}=this['_context'],_0xe6f0fe=this[_0x41618a(0x25e)][_0x41618a(0x3fa)](),_0x27c09c=this['_cursors']['map'](_0x33b8af=>new De(_0x33b8af,_0x6905a3,_0xe6f0fe,_0x4dccbe));this[_0x41618a(0x2a9)]=_0x27c09c;}[_0x41752f(0x2a0)](){const _0x132553=_0x41752f;this[_0x132553(0x2a9)][_0x132553(0x2be)](_0x333441=>_0x333441[_0x132553(0x438)]()),this['_cursorShapes']=[];}[_0x41752f(0x421)](){const _0x5a16d0=_0x41752f,_0x4a49b3=[E[_0x5a16d0(0x3cc)]['id']];this['disposeWithMe'](this['_commandService'][_0x5a16d0(0x30f)](_0x1b6f8a=>{const _0x75a3e9=_0x5a16d0;_0x4a49b3[_0x75a3e9(0x1da)](_0x1b6f8a['id'])&&_0x1b6f8a[_0x75a3e9(0x1ee)][_0x75a3e9(0x31c)]===this[_0x75a3e9(0x3ae)][_0x75a3e9(0x31c)]&&this['_refreshCollabCursors']();}));}[_0x41752f(0x313)](){const _0x27efe3=_0x41752f;this['disposeWithMe'](a[_0x27efe3(0x446)](this[_0x27efe3(0x3ae)]['engine'][_0x27efe3(0x2f8)])[_0x27efe3(0x42f)]($['filter'](_0x45913=>_0x45913[_0x27efe3(0x366)]===p[_0x27efe3(0x325)][_0x27efe3(0x293)]),$['throttleTime'](0x10))['subscribe'](()=>{const _0x270808=_0x27efe3;this[_0x270808(0x26a)]();}));}};fe=vt([W(0x1,a[_0x41752f(0x3bf)](Y[_0x41752f(0x32e)])),W(0x2,a[_0x41752f(0x3bf)](x)),W(0x3,a[_0x41752f(0x287)]),W(0x4,a[_0x41752f(0x3bf)](a[_0x41752f(0x332)]))],fe);const gt=0x1,mt=1.5;class we extends p[_0x41752f(0x200)]{constructor(_0x3ca26c,_0x5a9aae){const _0x16a6de=_0x41752f;super(_0x3ca26c,_0x5a9aae),h(this,'_color'),h(this,'_hovered',!0x1),h(this,_0x16a6de(0x3ea)),h(this,_0x16a6de(0x3a6),''),h(this,_0x16a6de(0x3bd),_0x16a6de(0x280)),h(this,_0x16a6de(0x395)),(_0x5a9aae&&this[_0x16a6de(0x241)](_0x5a9aae),this['onPointerEnter$'][_0x16a6de(0x3fd)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x16a6de(0x2fc)][_0x16a6de(0x3fd)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x41752f(0x241)](_0x3ad26c){const _0x23d7ed=_0x41752f;var _0x3b17ac,_0x1ffeda,_0x1d65de,_0x59b9f2,_0x3392d6,_0x3e2afe;this[_0x23d7ed(0x351)]=(_0x3b17ac=_0x3ad26c[_0x23d7ed(0x250)])!=null?_0x3b17ac:this['_color'],this[_0x23d7ed(0x2fb)]=(_0x1ffeda=_0x3ad26c[_0x23d7ed(0x42b)])!=null?_0x1ffeda:this[_0x23d7ed(0x2fb)],this['_range']=(_0x1d65de=_0x3ad26c['range'])!=null?_0x1d65de:this[_0x23d7ed(0x3ea)],this[_0x23d7ed(0x3a6)]=(_0x59b9f2=_0x3ad26c[_0x23d7ed(0x306)])!=null?_0x59b9f2:this[_0x23d7ed(0x3a6)],this[_0x23d7ed(0x3bd)]=(_0x3392d6=_0x3ad26c['labelPosition'])!=null?_0x3392d6:this[_0x23d7ed(0x3bd)],this[_0x23d7ed(0x395)]=(_0x3e2afe=_0x3ad26c[_0x23d7ed(0x2f0)])!=null?_0x3e2afe:this['_backgroundColor'],this[_0x23d7ed(0x2b5)]({'width':_0x3ad26c[_0x23d7ed(0x27c)],'height':_0x3ad26c['height']});}[_0x41752f(0x428)](_0x39c79f){const _0x2a6fe3=_0x41752f,{row:_0x1510d4,column:_0x4513b0}=_0x39c79f;if(_0x1510d4>=this[_0x2a6fe3(0x3ea)]['startRow']&&_0x1510d4<=this[_0x2a6fe3(0x3ea)]['endRow']&&_0x4513b0>=this[_0x2a6fe3(0x3ea)]['startColumn']&&_0x4513b0<=this[_0x2a6fe3(0x3ea)]['endColumn']){this[_0x2a6fe3(0x241)]({'hovered':!0x0});return;}this[_0x2a6fe3(0x241)]({'hovered':!0x1});}[_0x41752f(0x1d9)](_0x52cc44){return!0x1;}[_0x41752f(0x2b7)](_0x537b2e){const _0x4077e8=_0x41752f;p['Rect'][_0x4077e8(0x356)](_0x537b2e,{'width':this[_0x4077e8(0x27c)],'height':this['height'],'strokeWidth':mt,'stroke':this[_0x4077e8(0x351)],'evented':!0x1,'fill':this[_0x4077e8(0x395)]}),this[_0x4077e8(0x2fb)]&&(_0x537b2e['save'](),_0x537b2e[_0x4077e8(0x3b7)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x4077e8(0x340)?0x0:-0x14),ee[_0x4077e8(0x356)](_0x537b2e,{'text':this[_0x4077e8(0x3a6)],'color':this[_0x4077e8(0x351)]}),_0x537b2e['restore']());}}var Ct=Object[_0x41752f(0x35e)],pt=(_0x31b950,_0x5b8c71,_0x305297,_0x4c8aa8)=>{const _0x2fb3f4=_0x41752f;for(var _0x54b7b0=_0x4c8aa8>0x1?void 0x0:_0x4c8aa8?Ct(_0x5b8c71,_0x305297):_0x5b8c71,_0x2c6837=_0x31b950[_0x2fb3f4(0x27e)]-0x1,_0x116892;_0x2c6837>=0x0;_0x2c6837--)(_0x116892=_0x31b950[_0x2c6837])&&(_0x54b7b0=_0x116892(_0x54b7b0)||_0x54b7b0);return _0x54b7b0;},ae=(_0x19834a,_0x1d98a1)=>(_0x331f2f,_0x4ca4fa)=>_0x1d98a1(_0x331f2f,_0x4ca4fa,_0x19834a);const Et=0x1389;let ve=class extends a[_0x41752f(0x26e)]{constructor(_0x2076e1,_0x38e60e,_0x38dc98,_0x3031f9){const _0x32ebd2=_0x41752f;super(),h(this,_0x32ebd2(0x3a1),new Set()),h(this,_0x32ebd2(0x1ce),null),(this[_0x32ebd2(0x3ae)]=_0x2076e1,this[_0x32ebd2(0x2ca)]=_0x38e60e,this[_0x32ebd2(0x23c)]=_0x38dc98,this[_0x32ebd2(0x297)]=_0x3031f9,this[_0x32ebd2(0x201)]());}[_0x41752f(0x201)](){const _0x366669=_0x41752f;this[_0x366669(0x2ca)][_0x366669(0x37d)][_0x366669(0x42f)]($[_0x366669(0x23b)](this[_0x366669(0x247)]),$[_0x366669(0x1d1)](_0x5063c7=>{const _0x27e88a=_0x366669;if(_0x5063c7){const _0x3e4b0d=_0x5063c7[_0x27e88a(0x308)];return d['combineLatest'](this[_0x27e88a(0x23c)][_0x27e88a(0x302)](this['_context'][_0x27e88a(0x31c)]),this['_themeService']['currentTheme$'])[_0x27e88a(0x42f)]($['map'](([_0xd9f268,_0x36ea04])=>{const _0x537048=_0x27e88a,_0xe02cd2=new Map();return _0xd9f268[_0x537048(0x2be)]((_0x7d384b,_0x5243de)=>{const _0x718c19=_0x537048;if(_0x7d384b[_0x718c19(0x381)]===_0x3e4b0d){const _0x4e5ad4={..._0x7d384b};_0x4e5ad4[_0x718c19(0x250)]=this[_0x718c19(0x297)][_0x718c19(0x3a5)](_0x7d384b['color']),_0xe02cd2[_0x718c19(0x409)](_0x5243de,_0x4e5ad4);}}),{'skeleton':_0x5063c7,'cursors':_0xe02cd2};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x366669(0x230)](({skeleton:_0x596eb0,cursors:_0x1f811a})=>{const _0x5d2f9d=_0x366669;this[_0x5d2f9d(0x2a0)](),_0x596eb0&&this['_updateCollabCursors'](_0x596eb0,_0x1f811a);}),this['_sheetSkeletonManagerService'][_0x366669(0x37d)][_0x366669(0x230)](_0x3e7fef=>{if(_0x3e7fef==null)return;const {skeleton:_0x4193b7}=_0x3e7fef,{scene:_0x2da166}=this['_context'];_0x2da166['onPointerMove$']['subscribeEvent'](a['debounce'](_0x14a3a7=>{const _0x4c82d0=_0x1202;var _0x563589,_0x3c175c;const {offsetX:_0x4f671d,offsetY:_0x548faf}=_0x14a3a7,{x:_0x472226,y:_0x126b36}=_0x2da166[_0x4c82d0(0x2e2)](p[_0x4c82d0(0x30d)]['FromArray']([_0x4f671d,_0x548faf])),{scaleX:_0x294e92,scaleY:_0x563a91}=_0x2da166['getAncestorScale'](),_0x46e370=_0x2da166[_0x4c82d0(0x3c0)](p[_0x4c82d0(0x398)][_0x4c82d0(0x3ad)]),_0x33c5b0=_0x2da166['getVpScrollXYInfoByPosToVp'](p[_0x4c82d0(0x30d)][_0x4c82d0(0x414)]([_0x472226,_0x126b36]),_0x46e370),_0x37d868=_0x4193b7['getCellPositionByOffset'](_0x4f671d,_0x548faf,_0x294e92,_0x563a91,_0x33c5b0);((_0x563589=this[_0x4c82d0(0x1ce)])==null?void 0x0:_0x563589[_0x4c82d0(0x2c8)])===_0x37d868[_0x4c82d0(0x2c8)]&&((_0x3c175c=this['_lastPointer'])==null?void 0x0:_0x3c175c[_0x4c82d0(0x402)])===_0x37d868[_0x4c82d0(0x402)]||this[_0x4c82d0(0x3a1)][_0x4c82d0(0x2be)](_0xedb1c4=>{const _0x50a30e=_0x4c82d0;_0xedb1c4[_0x50a30e(0x428)](_0x37d868);});},0x64));});}[_0x41752f(0x32a)](_0x275f2c,_0x2508e5){const _0x40d537=_0x41752f;var _0x2c7cba;const _0xe3cb09=(_0x2c7cba=this[_0x40d537(0x2ca)][_0x40d537(0x400)]())==null?void 0x0:_0x2c7cba['skeleton'];if(!_0xe3cb09)return;const _0xd96c9a=this[_0x40d537(0x21e)]();if(!_0xd96c9a)return;this[_0x40d537(0x3a1)]['forEach'](_0x461364=>{const _0x4fe9e5=_0x40d537;_0x461364[_0x4fe9e5(0x2c3)]();});const {scene:_0x107575}=_0xd96c9a,_0x35fc5b=bt(Array['from'](_0x2508e5[_0x40d537(0x304)]()))[_0x40d537(0x3e9)](_0x377785=>{const _0x425b02=_0x40d537,{color:_0x1225e3,range:_0x13d3cc,name:_0x5f087c,selection:_0x94e0ef,sheetID:_0x58a30c}=_0x377785,{startColumn:_0x280cd0,startRow:_0x9ca746,endColumn:_0x1b8e98,endRow:_0x18591d}=_0x13d3cc,_0x4493c6=X[_0x425b02(0x2f7)](_0x9ca746,_0x280cd0,_0x107575,_0xe3cb09),_0x1c67f1=X[_0x425b02(0x2f7)](_0x18591d,_0x1b8e98,_0x107575,_0xe3cb09),{columnHeaderHeightAndMarginTop:_0x3c3c01}=_0xe3cb09,{startX:_0x1fb100,startY:_0x251bfc}=_0x4493c6,{endX:_0x31f57c,endY:_0x574db8}=_0x1c67f1,_0x4302af=_0x31f57c-_0x1fb100,_0x2bcbb3=_0x574db8-_0x251bfc,_0x3ef3ba={'labelPosition':_0x251bfc-_0x3c3c01>=K?_0x425b02(0x280):'bottom','sheetID':_0x58a30c,'range':_0x13d3cc,'color':_0x1225e3,'name':_0x5f087c,'selection':_0x94e0ef,'left':_0x1fb100,'top':_0x251bfc,'width':_0x4302af,'height':_0x2bcbb3,'evented':!0x1,'zIndex':Et};return new we(_0x5f087c,_0x3ef3ba);});_0x107575[_0x40d537(0x3b3)](_0x35fc5b,gt),this[_0x40d537(0x3a1)]=new Set(_0x35fc5b);}[_0x41752f(0x2a0)](){const _0x4c42c9=_0x41752f;var _0x3316c5;(_0x3316c5=this['_cursors'])==null||_0x3316c5['forEach'](_0x1dec34=>_0x1dec34[_0x4c42c9(0x438)]());}[_0x41752f(0x21e)](){const _0x20e68a=_0x41752f;return X[_0x20e68a(0x362)](this[_0x20e68a(0x3ae)][_0x20e68a(0x309)],this[_0x20e68a(0x3ae)]);}};ve=pt([ae(0x1,a[_0x41752f(0x3bf)](X[_0x41752f(0x288)])),ae(0x2,a[_0x41752f(0x3bf)](x)),ae(0x3,a[_0x41752f(0x3bf)](a[_0x41752f(0x332)]))],ve);function bt(_0x4db08e){const _0xf6b27c=_0x41752f,_0x36d4b2=new Map();return _0x4db08e[_0xf6b27c(0x2be)](_0x5d958a=>{const _0x1f162d=_0xf6b27c;if(_0x36d4b2[_0x1f162d(0x2c2)](_0x5d958a[_0x1f162d(0x1ca)])){const _0x5891b8=_0x36d4b2[_0x1f162d(0x38d)](_0x5d958a[_0x1f162d(0x1ca)]);_0x5891b8['name']+=',\x20'+_0x5d958a['name'];}else _0x36d4b2[_0x1f162d(0x409)](_0x5d958a['selection'],_0x5d958a);}),Array[_0xf6b27c(0x2ac)](_0x36d4b2['values']());}var b=function(){const _0x100303=_0x41752f;return b=Object[_0x100303(0x223)]||function(_0x4c2410){const _0x341035=_0x100303;for(var _0x448753,_0x2089f6=0x1,_0x1fc7e5=arguments[_0x341035(0x27e)];_0x2089f6<_0x1fc7e5;_0x2089f6++){_0x448753=arguments[_0x2089f6];for(var _0x23bf0c in _0x448753)Object[_0x341035(0x38c)][_0x341035(0x25a)][_0x341035(0x244)](_0x448753,_0x23bf0c)&&(_0x4c2410[_0x23bf0c]=_0x448753[_0x23bf0c]);}return _0x4c2410;},b[_0x100303(0x211)](this,arguments);},Ot=function(_0x27a126,_0x31749c){const _0x339c6e=_0x41752f;var _0x151c72={};for(var _0x56e11c in _0x27a126)Object[_0x339c6e(0x38c)][_0x339c6e(0x25a)][_0x339c6e(0x244)](_0x27a126,_0x56e11c)&&_0x31749c['indexOf'](_0x56e11c)<0x0&&(_0x151c72[_0x56e11c]=_0x27a126[_0x56e11c]);if(_0x27a126!=null&&typeof Object[_0x339c6e(0x1fe)]==_0x339c6e(0x30e)){for(var _0x380aad=0x0,_0x56e11c=Object[_0x339c6e(0x1fe)](_0x27a126);_0x380aad<_0x56e11c['length'];_0x380aad++)_0x31749c[_0x339c6e(0x2f5)](_0x56e11c[_0x380aad])<0x0&&Object['prototype'][_0x339c6e(0x3bc)][_0x339c6e(0x244)](_0x27a126,_0x56e11c[_0x380aad])&&(_0x151c72[_0x56e11c[_0x380aad]]=_0x27a126[_0x56e11c[_0x380aad]]);}return _0x151c72;},pe=M[_0x41752f(0x1f1)](function(_0x5f3942,_0x162d1e){const _0xc2fdbb=_0x41752f;var _0x27746e=_0x5f3942[_0xc2fdbb(0x432)],_0x5b4fa1=_0x5f3942['id'],_0x55393c=_0x5f3942[_0xc2fdbb(0x363)],_0x46f53f=_0x5f3942[_0xc2fdbb(0x38f)],_0x393f87=Ot(_0x5f3942,[_0xc2fdbb(0x432),'id',_0xc2fdbb(0x363),_0xc2fdbb(0x38f)]),_0x75eafe=_0xc2fdbb(0x273)[_0xc2fdbb(0x399)](_0x5b4fa1,'\x20')[_0xc2fdbb(0x399)](_0x55393c||'')['trim'](),_0x48f48a=M[_0xc2fdbb(0x41c)]('_'['concat'](Dt()));return Ae(_0x27746e,''['concat'](_0x5b4fa1),{'defIds':_0x27746e['defIds'],'idSuffix':_0x48f48a['current']},b({'ref':_0x162d1e,'className':_0x75eafe},_0x393f87),_0x46f53f);});function Ae(_0x44a049,_0x5e9806,_0x349d2f,_0x50f8b0,_0x4f2a0f){const _0x205239=_0x41752f;return M[_0x205239(0x2af)](_0x44a049[_0x205239(0x3fb)],b(b({'key':_0x5e9806},Tt(_0x44a049,_0x349d2f,_0x4f2a0f)),_0x50f8b0),(Rt(_0x44a049,_0x349d2f)[_0x205239(0x373)]||[])[_0x205239(0x3e9)](function(_0x13cc3d,_0x3af629){const _0x210c02=_0x205239;return Ae(_0x13cc3d,''['concat'](_0x5e9806,'-')[_0x210c02(0x399)](_0x44a049[_0x210c02(0x3fb)],'-')['concat'](_0x3af629),_0x349d2f,void 0x0,_0x4f2a0f);}));}function Tt(_0xd670a5,_0x48addc,_0x216bab){const _0x5e9377=_0x41752f;var _0x249c26=b({},_0xd670a5[_0x5e9377(0x22a)]);_0x216bab!=null&&_0x216bab[_0x5e9377(0x292)]&&_0x249c26[_0x5e9377(0x322)]==='colorChannel1'&&(_0x249c26[_0x5e9377(0x322)]=_0x216bab[_0x5e9377(0x292)]),_0xd670a5['tag']===_0x5e9377(0x3de)&&_0x249c26['id']&&(_0x249c26['id']=_0x249c26['id']+_0x48addc[_0x5e9377(0x1c1)]),Object['entries'](_0x249c26)[_0x5e9377(0x2be)](function(_0x4c46bf){const _0x1a171b=_0x5e9377;var _0x2f9775=_0x4c46bf[0x0],_0x1f819f=_0x4c46bf[0x1];_0x2f9775==='mask'&&typeof _0x1f819f==_0x1a171b(0x30b)&&(_0x249c26[_0x2f9775]=_0x1f819f[_0x1a171b(0x29c)](/url\(#(.*)\)/,_0x1a171b(0x227)[_0x1a171b(0x399)](_0x48addc['idSuffix'],')')));});var _0x446877=_0x48addc[_0x5e9377(0x2a7)];return!_0x446877||_0x446877[_0x5e9377(0x27e)]===0x0||(_0xd670a5[_0x5e9377(0x3fb)]==='use'&&_0x249c26['xlink:href']&&(_0x249c26[_0x5e9377(0x21d)]=_0x249c26[_0x5e9377(0x21d)]+_0x48addc['idSuffix']),Object[_0x5e9377(0x420)](_0x249c26)['forEach'](function(_0x32d6f6){const _0x2de995=_0x5e9377;var _0x6fcfb4=_0x32d6f6[0x0],_0x40c374=_0x32d6f6[0x1];typeof _0x40c374==_0x2de995(0x30b)&&(_0x249c26[_0x6fcfb4]=_0x40c374[_0x2de995(0x29c)](/url\(#(.*)\)/,_0x2de995(0x227)['concat'](_0x48addc[_0x2de995(0x1c1)],')')));})),_0x249c26;}function Rt(_0x18ed10,_0x226c68){const _0x421c39=_0x41752f;var _0x547291,_0xd87e0e=_0x226c68[_0x421c39(0x2a7)];return!_0xd87e0e||_0xd87e0e[_0x421c39(0x27e)]===0x0?_0x18ed10:_0x18ed10[_0x421c39(0x3fb)]===_0x421c39(0x2fd)&&(!((_0x547291=_0x18ed10[_0x421c39(0x373)])===null||_0x547291===void 0x0)&&_0x547291[_0x421c39(0x27e)])?b(b({},_0x18ed10),{'children':_0x18ed10[_0x421c39(0x373)]['map'](function(_0x3ea097){const _0x13ed55=_0x421c39;return typeof _0x3ea097[_0x13ed55(0x22a)]['id']==_0x13ed55(0x30b)&&_0xd87e0e&&_0xd87e0e[_0x13ed55(0x1da)](_0x3ea097[_0x13ed55(0x22a)]['id'])?b(b({},_0x3ea097),{'attrs':b(b({},_0x3ea097['attrs']),{'id':_0x3ea097[_0x13ed55(0x22a)]['id']+_0x226c68[_0x13ed55(0x1c1)]})}):_0x3ea097;})}):_0x18ed10;}function Dt(){const _0x5884cf=_0x41752f;return Math[_0x5884cf(0x380)]()[_0x5884cf(0x350)](0x24)[_0x5884cf(0x28a)](0x2,0x8);}pe['displayName']=_0x41752f(0x2bc);var Ut={'tag':_0x41752f(0x348),'attrs':{'xmlns':_0x41752f(0x38b),'fill':_0x41752f(0x1cb),'viewBox':_0x41752f(0x3c3),'width':_0x41752f(0x33a),'height':_0x41752f(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x41752f(0x445),'attrs':{'stroke':_0x41752f(0x22f),'d':_0x41752f(0x324),'strokeLinecap':_0x41752f(0x22e),'strokeLinejoin':_0x41752f(0x22e),'strokeWidth':1.2}}]},{'tag':_0x41752f(0x2fd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x41752f(0x2bb)},'children':[{'tag':_0x41752f(0x445),'attrs':{'fill':_0x41752f(0x342),'d':_0x41752f(0x1e5)}}]}]}],'defIds':[_0x41752f(0x2bb)]},ye=M[_0x41752f(0x1f1)](function(_0x1ddf29,_0x440fc2){const _0x51d242=_0x41752f;return M[_0x51d242(0x2af)](pe,Object[_0x51d242(0x223)]({},_0x1ddf29,{'id':_0x51d242(0x25b),'ref':_0x440fc2,'icon':Ut}));});ye[_0x41752f(0x25c)]=_0x41752f(0x311);var Nt={'tag':_0x41752f(0x348),'attrs':{'xmlns':_0x41752f(0x38b),'fill':_0x41752f(0x1cb),'viewBox':_0x41752f(0x321),'width':_0x41752f(0x33a),'height':_0x41752f(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x41752f(0x22f),'d':_0x41752f(0x2b4),'strokeLinecap':'round','strokeLinejoin':_0x41752f(0x22e),'strokeWidth':1.2}}]},{'tag':_0x41752f(0x2fd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x41752f(0x2d8)},'children':[{'tag':_0x41752f(0x445),'attrs':{'fill':_0x41752f(0x342),'d':_0x41752f(0x1e5),'transform':'translate(.97)'}}]}]}],'defIds':[_0x41752f(0x2d8)]},$e=M[_0x41752f(0x1f1)](function(_0x441655,_0x24163c){const _0x1b4421=_0x41752f;return M['createElement'](pe,Object[_0x1b4421(0x223)]({},_0x441655,{'id':_0x1b4421(0x3ac),'ref':_0x24163c,'icon':Nt}));});$e[_0x41752f(0x25c)]=_0x41752f(0x38a);function Mt(_0x488339){const _0xca0be8=_0x41752f;switch(_0x488339){case u['CollaborationStatus'][_0xca0be8(0x34e)]:return _0xca0be8(0x384);case u[_0xca0be8(0x1fd)][_0xca0be8(0x3a3)]:return _0xca0be8(0x427);case u[_0xca0be8(0x1fd)][_0xca0be8(0x426)]:return _0xca0be8(0x220);case u[_0xca0be8(0x1fd)][_0xca0be8(0x240)]:return'collabStatus.notCollab';case u['CollaborationStatus']['AWAITING']:case u['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0xca0be8(0x1f5);case u[_0xca0be8(0x1fd)][_0xca0be8(0x231)]:case u[_0xca0be8(0x1fd)][_0xca0be8(0x285)]:return _0xca0be8(0x2c5);}}function xe(_0xe8eda1){const _0x272a48=_0x41752f,{status$:_0x4bb1e1}=_0xe8eda1,_0x5a57f5=O[_0x272a48(0x215)](_0x4bb1e1,u[_0x272a48(0x1fd)][_0x272a48(0x240)]),_0x14bbf8=O[_0x272a48(0x2e0)](a[_0x272a48(0x277)]),_0x21fbf6=O[_0x272a48(0x2e0)](u[_0x272a48(0x2a3)]),_0x53f25d=_0x5a57f5!==u['CollaborationStatus']['OFFLINE'],_0x4b971e=_0x14bbf8['t'](Mt(_0x5a57f5)),_0x569ec8=_0x53f25d?P[_0x272a48(0x3e5)]($e,{}):P[_0x272a48(0x3e5)](ye,{}),_0x4f93c0=M['useCallback'](()=>{_0x53f25d||_0x21fbf6['reconnect']();},[_0x53f25d,_0x21fbf6]);function _0x192e15(){const _0x62a490=_0x272a48;return P[_0x62a490(0x386)](_0x62a490(0x27a),{'className':_0x62a490(0x327),'onClick':_0x4f93c0,'children':[P[_0x62a490(0x3e5)]('div',{'className':D[_0x62a490(0x1f3)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x53f25d,'univer-text-red-500':!_0x53f25d}),'children':_0x569ec8}),P['jsx'](_0x62a490(0x27a),{'className':_0x62a490(0x2f1),'children':_0x4b971e})]});}return _0x53f25d?_0x192e15():P[_0x272a48(0x3e5)](D[_0x272a48(0x3eb)],{'title':_0x14bbf8['t'](_0x272a48(0x243)),'children':_0x192e15()});}var Lt=Object[_0x41752f(0x35e)],Pt=(_0x4d7726,_0x5e1097,_0x132088,_0x2152d1)=>{const _0x3f4545=_0x41752f;for(var _0x50e0ba=_0x2152d1>0x1?void 0x0:_0x2152d1?Lt(_0x5e1097,_0x132088):_0x5e1097,_0x5e91aa=_0x4d7726[_0x3f4545(0x27e)]-0x1,_0x2eda88;_0x5e91aa>=0x0;_0x5e91aa--)(_0x2eda88=_0x4d7726[_0x5e91aa])&&(_0x50e0ba=_0x2eda88(_0x50e0ba)||_0x50e0ba);return _0x50e0ba;},V=(_0x5021c9,_0x119d1c)=>(_0x546546,_0x5c0b08)=>_0x119d1c(_0x546546,_0x5c0b08,_0x5021c9);exports[_0x41752f(0x32f)]=class extends a['Disposable']{constructor(_0x588012,_0x210a23,_0x58d29e,_0x36410d){const _0x5db5b=_0x41752f;super(),h(this,_0x5db5b(0x3c7),new d['BehaviorSubject'](u['CollaborationStatus'][_0x5db5b(0x240)])),(this['_univerInstanceService']=_0x588012,this[_0x5db5b(0x31b)]=_0x210a23,this[_0x5db5b(0x278)]=_0x58d29e,this[_0x5db5b(0x217)]=_0x36410d,this[_0x5db5b(0x40b)](),this[_0x5db5b(0x3b1)]());}[_0x41752f(0x3b1)](){const _0x147f00=_0x41752f;this['disposeWithMe'](this[_0x147f00(0x251)][_0x147f00(0x3b9)][_0x147f00(0x42f)](d[_0x147f00(0x1d1)](()=>{const _0x829255=_0x147f00,_0x48c2d0=this[_0x829255(0x251)][_0x829255(0x408)]();return _0x48c2d0?this[_0x829255(0x278)][_0x829255(0x331)](_0x48c2d0['getUnitId']()):d['of'](null);}),d['switchMap'](_0x2b0ee9=>_0x2b0ee9?_0x2b0ee9[_0x147f00(0x2e7)]:d['of'](u['CollaborationStatus'][_0x147f00(0x240)])))[_0x147f00(0x230)](_0x30508b=>{const _0x4e19a2=_0x147f00;this[_0x4e19a2(0x3c7)][_0x4e19a2(0x3e1)](_0x30508b);}));}[_0x41752f(0x40b)](){const _0x56e7ce=_0x41752f;this[_0x56e7ce(0x1ec)](this[_0x56e7ce(0x217)]['registerComponent'](O[_0x56e7ce(0x284)][_0x56e7ce(0x2bd)],()=>O[_0x56e7ce(0x439)](wt({'status$':this['_status$'][_0x56e7ce(0x3f7)]()}),this['_injector'])));}},exports[_0x41752f(0x32f)]=Pt([V(0x0,a['IUniverInstanceService']),V(0x1,a['Inject'](a[_0x41752f(0x2df)])),V(0x2,a[_0x41752f(0x3bf)](u[_0x41752f(0x333)])),V(0x3,O[_0x41752f(0x334)])],exports['DesktopCollaborationStatusDisplayController']);function wt(_0x45ae17){const {status$:_0x4dd73f}=_0x45ae17;return function(){return P['jsx'](xe,{'status$':_0x4dd73f});};}var At=Object[_0x41752f(0x35e)],yt=(_0x3f577b,_0x3db894,_0x5be054,_0x56283e)=>{const _0x173596=_0x41752f;for(var _0x321f3a=_0x56283e>0x1?void 0x0:_0x56283e?At(_0x3db894,_0x5be054):_0x3db894,_0x4d36ca=_0x3f577b[_0x173596(0x27e)]-0x1,_0x1c4c90;_0x4d36ca>=0x0;_0x4d36ca--)(_0x1c4c90=_0x3f577b[_0x4d36ca])&&(_0x321f3a=_0x1c4c90(_0x321f3a)||_0x321f3a);return _0x321f3a;},y=(_0xc127c6,_0xb7c85f)=>(_0x253ff8,_0x2ea016)=>_0xb7c85f(_0x253ff8,_0x2ea016,_0xc127c6);let q=class extends a[_0x41752f(0x2ed)]{constructor(_0x59b3cc,_0x343a20,_0x1943d4,_0x41a5e6,_0x39014d,_0x51c2f2){const _0x121211=_0x41752f;super(),this[_0x121211(0x1f6)]=_0x59b3cc,this[_0x121211(0x28d)]=_0x343a20,this['_collaborationUIEventService']=_0x1943d4,this[_0x121211(0x29f)]=_0x41a5e6,this[_0x121211(0x1c2)]=_0x39014d,this['_localeService']=_0x51c2f2,this[_0x121211(0x312)](),this[_0x121211(0x25f)]();}[_0x41752f(0x312)](){const _0x2c94c8=_0x41752f;this[_0x2c94c8(0x1ec)](this[_0x2c94c8(0x1f6)]['registerBeforeClose'](()=>{const _0x1f28f8=_0x2c94c8;if(this['_localCacheService'][_0x1f28f8(0x26b)]['size'])return this[_0x1f28f8(0x24a)]['t'](_0x1f28f8(0x2e1));}));}[_0x41752f(0x25f)](){const _0xa21ee0=_0x41752f;this[_0xa21ee0(0x1ec)](this[_0xa21ee0(0x248)][_0xa21ee0(0x393)][_0xa21ee0(0x230)](_0x1bbba3=>{const _0x5876a9=_0xa21ee0;_0x1bbba3['id']===u[_0x5876a9(0x2ae)][_0x5876a9(0x39d)]&&this[_0x5876a9(0x29f)][_0x5876a9(0x36b)]({'type':D[_0x5876a9(0x41e)][_0x5876a9(0x415)],'content':this['_localeService']['t'](_0x5876a9(0x3ce))}),_0x1bbba3['id']===u[_0x5876a9(0x2ae)][_0x5876a9(0x27d)]&&this['_messageService'][_0x5876a9(0x36b)]({'type':D[_0x5876a9(0x41e)]['Warning'],'content':this['_localeService']['t'](_0x5876a9(0x433))}),_0x1bbba3['id']===u[_0x5876a9(0x2ae)]['PERMISSION_DENIED']&&this[_0x5876a9(0x1c2)][_0x5876a9(0x36b)]({'title':this[_0x5876a9(0x24a)]['t'](_0x5876a9(0x20e)),'content':this[_0x5876a9(0x24a)]['t'](_0x5876a9(0x2d4)),'type':_0x5876a9(0x2c6),'duration':0x0}),_0x1bbba3['id']===u[_0x5876a9(0x2ae)][_0x5876a9(0x3a3)]&&this[_0x5876a9(0x29f)][_0x5876a9(0x36b)]({'type':D[_0x5876a9(0x41e)][_0x5876a9(0x37f)],'content':this[_0x5876a9(0x24a)]['t'](_0x5876a9(0x433))+'('+_0x1bbba3['data']+')'}),_0x1bbba3['id']===u['CollaborationUIEventId'][_0x5876a9(0x2aa)]&&this[_0x5876a9(0x29f)][_0x5876a9(0x36b)]({'type':D[_0x5876a9(0x41e)][_0x5876a9(0x415)],'content':this[_0x5876a9(0x24a)]['t'](_0x1bbba3[_0x5876a9(0x2cb)]||'')}),_0x1bbba3['id']===u[_0x5876a9(0x2ae)][_0x5876a9(0x3c6)]&&this['_messageService'][_0x5876a9(0x36b)]({'type':D[_0x5876a9(0x41e)][_0x5876a9(0x415)],'content':this[_0x5876a9(0x24a)]['t'](_0x5876a9(0x418))}),_0x1bbba3['id']===u['CollaborationUIEventId'][_0x5876a9(0x3e7)]&&this[_0x5876a9(0x29f)]['show']({'type':D[_0x5876a9(0x41e)][_0x5876a9(0x37f)],'content':this[_0x5876a9(0x24a)]['t'](_0x5876a9(0x3f8))}),_0x1bbba3['id']===u['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5876a9(0x29f)][_0x5876a9(0x36b)]({'type':D['MessageType']['Error'],'content':this[_0x5876a9(0x24a)]['t']('session.collaboration-timeout')});}));}};q=yt([y(0x0,O[_0x41752f(0x3ef)]),y(0x1,u[_0x41752f(0x412)]),y(0x2,a[_0x41752f(0x3bf)](u[_0x41752f(0x41f)])),y(0x3,O[_0x41752f(0x1c3)]),y(0x4,O['INotificationService']),y(0x5,a[_0x41752f(0x3bf)](a[_0x41752f(0x277)]))],q);const $t=_0x41752f(0x276),Ue={},Ee=a[_0x41752f(0x3b4)](_0x41752f(0x261));var xt=Object[_0x41752f(0x35e)],Bt=(_0x2a20f0,_0x3c2f54,_0xd22408,_0x3a19ce)=>{const _0x1fe498=_0x41752f;for(var _0x432323=_0x3a19ce>0x1?void 0x0:_0x3a19ce?xt(_0x3c2f54,_0xd22408):_0x3c2f54,_0x9762cf=_0x2a20f0[_0x1fe498(0x27e)]-0x1,_0x1b1696;_0x9762cf>=0x0;_0x9762cf--)(_0x1b1696=_0x2a20f0[_0x9762cf])&&(_0x432323=_0x1b1696(_0x432323)||_0x432323);return _0x432323;},F=(_0x4d2773,_0xf49853)=>(_0x87493a,_0x3287cf)=>_0xf49853(_0x87493a,_0x3287cf,_0x4d2773);exports[_0x41752f(0x228)]=class extends a[_0x41752f(0x26e)]{constructor(_0x5c3ee4,_0x35048f,_0x4ace78,_0x40c9f2,_0x24c7f6){const _0x2409d3=_0x41752f;super(),this[_0x2409d3(0x35d)]=_0x5c3ee4,this[_0x2409d3(0x271)]=_0x35048f,this[_0x2409d3(0x300)]=_0x4ace78,this[_0x2409d3(0x203)]=_0x40c9f2,_0x24c7f6?_0x24c7f6==null||_0x24c7f6['whenReady']()[_0x2409d3(0x3fc)](()=>this[_0x2409d3(0x201)]()):(this['_logService'][_0x2409d3(0x1eb)](_0x2409d3(0x21f),_0x2409d3(0x419)),this[_0x2409d3(0x201)]());}async[_0x41752f(0x201)](){const _0x38cb28=_0x41752f,_0x4047ed=this[_0x38cb28(0x35d)][_0x38cb28(0x43d)](_0x38cb28(0x309)),_0x44a94b=this[_0x38cb28(0x35d)]['getParam']('type'),_0x7dbb52=this[_0x38cb28(0x35d)][_0x38cb28(0x43d)](_0x38cb28(0x441));if(!_0x4047ed||!_0x44a94b){this['_logService'][_0x38cb28(0x1eb)](_0x38cb28(0x21f),_0x38cb28(0x1f4));return;}const _0x1abd18=await this[_0x38cb28(0x203)]['loadUnit'](_0x4047ed,Number(_0x44a94b),_0x7dbb52);_0x1abd18&&_0x1abd18 instanceof a[_0x38cb28(0x440)]&&this[_0x38cb28(0x24d)](_0x1abd18);}async[_0x41752f(0x24d)](_0x531e70){const _0x227b44=_0x41752f;await this[_0x227b44(0x232)](_0x531e70),_0x531e70[_0x227b44(0x28c)][_0x227b44(0x42f)](d[_0x227b44(0x23b)](this[_0x227b44(0x247)]))['subscribe'](_0x567122=>{const _0x175a40=_0x227b44;_0x567122&&this[_0x175a40(0x2f3)](_0x567122);}),this[_0x227b44(0x35d)]['urlChange$'][_0x227b44(0x42f)](d[_0x227b44(0x23b)](this[_0x227b44(0x247)]))[_0x227b44(0x230)](()=>this[_0x227b44(0x232)](_0x531e70));}[_0x41752f(0x2f3)](_0x4c569a,_0x4b4a71=!0x1){const _0x1e8ff5=_0x41752f,_0x5da639=this[_0x1e8ff5(0x35d)][_0x1e8ff5(0x43d)](_0x1e8ff5(0x441));_0x4c569a['getSheetId']()!==_0x5da639&&this[_0x1e8ff5(0x35d)][_0x1e8ff5(0x264)](_0x1e8ff5(0x441),_0x4c569a['getSheetId'](),_0x4b4a71);}async[_0x41752f(0x232)](_0xcb982d){const _0x56c5b2=_0x41752f;var _0x5cd76d;const _0x4866ac=this[_0x56c5b2(0x35d)][_0x56c5b2(0x43d)]('subunit');if(!_0x4866ac||!_0xcb982d['getSheetBySheetId'](_0x4866ac)){const _0x4867c2=_0xcb982d[_0x56c5b2(0x347)]()[0x0],_0x4c391e=_0xcb982d[_0x56c5b2(0x1d4)](_0x4867c2);if(!_0x4c391e)return;this[_0x56c5b2(0x2f3)](_0x4c391e,!0x0),await this[_0x56c5b2(0x300)][_0x56c5b2(0x388)](g[_0x56c5b2(0x3ed)]['id'],{'unitId':_0xcb982d[_0x56c5b2(0x335)](),'subUnitId':_0x4867c2});return;}((_0x5cd76d=_0xcb982d['getActiveSheet']())==null?void 0x0:_0x5cd76d[_0x56c5b2(0x40a)]())!==_0x4866ac&&await this[_0x56c5b2(0x300)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0xcb982d[_0x56c5b2(0x335)](),'subUnitId':_0x4866ac});}},exports['CollaborationDataLoaderController']=Bt([F(0x0,Ee),F(0x1,a[_0x41752f(0x3d4)]),F(0x2,a[_0x41752f(0x287)]),F(0x3,a[_0x41752f(0x3bf)](u['DataLoaderService'])),F(0x4,a[_0x41752f(0x2b9)](Ke[_0x41752f(0x1e7)]))],exports['CollaborationDataLoaderController']);var jt=Object[_0x41752f(0x35e)],kt=(_0x2a5465,_0x4b6857,_0x1c6476,_0xdce0ab)=>{for(var _0x5ebbaa=_0xdce0ab>0x1?void 0x0:_0xdce0ab?jt(_0x4b6857,_0x1c6476):_0x4b6857,_0x13e902=_0x2a5465['length']-0x1,_0xa21ec;_0x13e902>=0x0;_0x13e902--)(_0xa21ec=_0x2a5465[_0x13e902])&&(_0x5ebbaa=_0xa21ec(_0x5ebbaa)||_0x5ebbaa);return _0x5ebbaa;},ce=(_0x3cafdf,_0x2c8f09)=>(_0x4e72f8,_0xe48f11)=>_0x2c8f09(_0x4e72f8,_0xe48f11,_0x3cafdf);function _0x1202(_0x4b9944,_0x311e8f){const _0x5f08cd=_0x5f08();return _0x1202=function(_0x1202d2,_0x2ae717){_0x1202d2=_0x1202d2-0x1c1;let _0x278c02=_0x5f08cd[_0x1202d2];return _0x278c02;},_0x1202(_0x4b9944,_0x311e8f);}let z=class{constructor(_0x5051fd,_0x21d826,_0xdca390){const _0x2e13eb=_0x41752f;this['_injector']=_0x5051fd,this[_0x2e13eb(0x263)]=_0x21d826,this['_renderManagerService']=_0xdca390;}[_0x41752f(0x34d)](_0x3790ce){const _0x501ead=_0x41752f;this['_transformUndoRedoStack'](_0x3790ce),this[_0x501ead(0x41b)](_0x3790ce);}[_0x41752f(0x3f0)](_0x4f630c){const _0x38350f=_0x41752f,{unitID:_0x5c2e21}=_0x4f630c,_0x2169f1=this['_renderManagerService'][_0x38350f(0x448)](_0x5c2e21)[_0x38350f(0x3d3)](E[_0x38350f(0x2ff)]),{redoCache:_0x268097}=_0x2169f1[_0x38350f(0x2fa)]();if(_0x268097['length']===0x0)return _0x4f630c;let _0x40ca91=a[_0x38350f(0x283)][_0x38350f(0x2b8)](_0x4f630c[_0x38350f(0x225)][0x0]);for(let _0x2c6fbc=0x0;_0x2c6fbc<_0x268097[_0x38350f(0x27e)];_0x2c6fbc++){const _0x18d1d4={'id':_0x38350f(0x369),'params':{..._0x268097[_0x2c6fbc]}},_0x198b04=this[_0x38350f(0x263)]['transformMutation'](_0x40ca91,_0x18d1d4,!0x1);if(m[_0x38350f(0x28f)](_0x198b04))throw _0x198b04[_0x38350f(0x2c6)];_0x40ca91=_0x198b04[_0x38350f(0x43e)];}return{...a['Tools'][_0x38350f(0x2b8)](_0x4f630c),'mutations':[_0x40ca91]};}['_transformUndoRedoStack'](_0x4583ce){const _0x274695=_0x41752f,{unitID:_0x506c74}=_0x4583ce,_0x484ac2=this[_0x274695(0x256)]['getRenderById'](_0x506c74)[_0x274695(0x3d3)](E[_0x274695(0x2ff)]),{undoCache:_0x590129,redoCache:_0x2cd35d}=_0x484ac2[_0x274695(0x2fa)]();if(_0x590129[_0x274695(0x27e)]===0x0||_0x2cd35d[_0x274695(0x27e)]===0x0)return;const _0x1a9ca4=[],_0x255247=[];let _0x5dd4bf=a[_0x274695(0x283)][_0x274695(0x2b8)](_0x4583ce[_0x274695(0x225)][0x0]),_0x316335=a[_0x274695(0x283)][_0x274695(0x2b8)](_0x4583ce['mutations'][0x0]);for(let _0x2cebca=_0x590129['length']-0x1;_0x2cebca>=0x0;_0x2cebca--){const _0x15fb67={'id':'doc.mutation.rich-text-editing','params':{..._0x590129[_0x2cebca]}},_0x3c2443={'id':'doc.mutation.rich-text-editing','params':{..._0x2cd35d[_0x2cebca]}},_0xc7b368=this[_0x274695(0x263)][_0x274695(0x447)](_0x5dd4bf,_0x15fb67,!0x1),_0x18752d=this[_0x274695(0x263)][_0x274695(0x447)](_0x316335,_0x3c2443,!0x1);if(m['isTransformMutationFailure'](_0xc7b368))throw _0xc7b368[_0x274695(0x2c6)];if(m[_0x274695(0x28f)](_0x18752d))throw _0x18752d[_0x274695(0x2c6)];_0x1a9ca4[_0x274695(0x40d)](_0xc7b368[_0x274695(0x434)][_0x274695(0x1ee)]),_0x255247[_0x274695(0x40d)](_0x18752d[_0x274695(0x434)]['params']),_0x5dd4bf=_0xc7b368['m1Prime'],_0x316335=_0x18752d[_0x274695(0x43e)];}_0x484ac2[_0x274695(0x320)]({'undoCache':_0x1a9ca4,'redoCache':_0x255247});}[_0x41752f(0x41b)](_0x173a95){const _0x321cc4=_0x41752f,{unitID:_0x3e1ac1}=_0x173a95,_0x2b4dca=this[_0x321cc4(0x256)][_0x321cc4(0x448)](_0x3e1ac1)[_0x321cc4(0x3d3)](E[_0x321cc4(0x2ff)]),_0x304547=_0x2b4dca[_0x321cc4(0x2e5)]();if(_0x304547==null)return;const _0x2affef=[{'id':_0x321cc4(0x369),'params':{'unitId':_0x173a95[_0x321cc4(0x23a)],'actions':null,'textRanges':[_0x304547]}}],_0x42230d=this[_0x321cc4(0x263)][_0x321cc4(0x2ec)](_0x173a95,_0x2affef);if(!m[_0x321cc4(0x24e)](_0x42230d))throw _0x42230d['error'];const _0x266de2=_0x42230d[_0x321cc4(0x434)][0x0][_0x321cc4(0x1ee)][_0x321cc4(0x3e3)];Array[_0x321cc4(0x3bb)](_0x266de2)&&_0x266de2[_0x321cc4(0x27e)]&&_0x2b4dca[_0x321cc4(0x344)](_0x266de2[0x0]);}};z=kt([ce(0x0,a[_0x41752f(0x3bf)](a[_0x41752f(0x2df)])),ce(0x1,m[_0x41752f(0x3ec)]),ce(0x2,p['IRenderManagerService'])],z);var Ft=Object[_0x41752f(0x35e)],Ht=(_0x79027,_0x5dfa2f,_0xa6f81a,_0x5d42a9)=>{const _0x2529bd=_0x41752f;for(var _0x1da9c6=_0x5d42a9>0x1?void 0x0:_0x5d42a9?Ft(_0x5dfa2f,_0xa6f81a):_0x5dfa2f,_0x44b43b=_0x79027[_0x2529bd(0x27e)]-0x1,_0x23d962;_0x44b43b>=0x0;_0x44b43b--)(_0x23d962=_0x79027[_0x44b43b])&&(_0x1da9c6=_0x23d962(_0x1da9c6)||_0x1da9c6);return _0x1da9c6;},le=(_0x1be423,_0x4bc85e)=>(_0x161a53,_0x232800)=>_0x4bc85e(_0x161a53,_0x232800,_0x1be423);let J=class{constructor(_0x33ff14,_0xf11b92,_0x3cbd47){const _0x2bbb9e=_0x41752f;this[_0x2bbb9e(0x31b)]=_0x33ff14,this[_0x2bbb9e(0x263)]=_0xf11b92,this['_docStateChangeManagerService']=_0x3cbd47;}[_0x41752f(0x382)](_0x52bb81){this['_transformHistoryAndStateStack'](_0x52bb81);}[_0x41752f(0x3f0)](_0x3f1add){const _0x2bc348=_0x41752f,{unitID:_0x421b9f}=_0x3f1add,{collaboration:_0x5b44c9}=this['_docStateChangeManagerService'][_0x2bc348(0x2e3)](_0x421b9f);if(_0x5b44c9[_0x2bc348(0x27e)]===0x0)return _0x3f1add;let _0x54d2d1=a[_0x2bc348(0x283)]['deepClone'](_0x3f1add[_0x2bc348(0x225)][0x0]);for(let _0x1061bc=0x0;_0x1061bc<_0x5b44c9['length'];_0x1061bc++){const _0xd2e77d={'id':_0x2bc348(0x369),'params':{'unitId':_0x5b44c9[_0x1061bc][_0x2bc348(0x31c)],..._0x5b44c9[_0x1061bc][_0x2bc348(0x376)]}},_0x497b0c=this['_transformService'][_0x2bc348(0x447)](_0x54d2d1,_0xd2e77d,!0x1);if(m[_0x2bc348(0x28f)](_0x497b0c))throw _0x497b0c[_0x2bc348(0x2c6)];_0x54d2d1=_0x497b0c['m1Prime'];}return{...a['Tools'][_0x2bc348(0x2b8)](_0x3f1add),'mutations':[_0x54d2d1]};}[_0x41752f(0x3dd)](_0x467b7f){const _0x42495f=_0x41752f,{unitID:_0x5c8c9f}=_0x467b7f,{history:_0x8d228,collaboration:_0x330c84}=this[_0x42495f(0x390)][_0x42495f(0x2e3)](_0x5c8c9f);if(_0x8d228['length']===0x0&&_0x330c84[_0x42495f(0x27e)]===0x0)return;const _0x3751c3=[],_0x3b6708=[];let _0x1bd738=a[_0x42495f(0x283)][_0x42495f(0x2b8)](_0x467b7f['mutations'][0x0]),_0xcc2d3a=a['Tools'][_0x42495f(0x2b8)](_0x467b7f['mutations'][0x0]);for(let _0x3d4f2f=_0x8d228[_0x42495f(0x27e)]-0x1;_0x3d4f2f>=0x0;_0x3d4f2f--){const _0x44eba1={'id':_0x42495f(0x369),'params':{'unitId':_0x8d228[_0x3d4f2f]['unitId'],..._0x8d228[_0x3d4f2f][_0x42495f(0x26c)]}},_0x50ec80={'id':_0x42495f(0x369),'params':{'unitId':_0x8d228[_0x3d4f2f][_0x42495f(0x31c)],..._0x8d228[_0x3d4f2f][_0x42495f(0x376)]}},_0x240a3c=this[_0x42495f(0x263)][_0x42495f(0x447)](_0x1bd738,_0x44eba1,!0x1),_0x367be=this['_transformService'][_0x42495f(0x447)](_0xcc2d3a,_0x50ec80,!0x1);if(m[_0x42495f(0x28f)](_0x240a3c))throw _0x240a3c[_0x42495f(0x2c6)];if(m[_0x42495f(0x28f)](_0x367be))throw _0x367be[_0x42495f(0x2c6)];_0x3751c3[_0x42495f(0x40d)]({..._0x8d228[_0x3d4f2f],'undoState':_0x240a3c[_0x42495f(0x434)][_0x42495f(0x1ee)],'redoState':_0x367be['m2Prime'][_0x42495f(0x1ee)]}),_0x1bd738=_0x240a3c[_0x42495f(0x43e)],_0xcc2d3a=_0x367be[_0x42495f(0x43e)];}_0x1bd738=a['Tools'][_0x42495f(0x2b8)](_0x467b7f[_0x42495f(0x225)][0x0]),_0xcc2d3a=a[_0x42495f(0x283)][_0x42495f(0x2b8)](_0x467b7f['mutations'][0x0]);for(let _0x123e6e=_0x330c84['length']-0x1;_0x123e6e>=0x0;_0x123e6e--){const _0x5397f1={'id':_0x42495f(0x369),'params':{'unitId':_0x330c84[_0x123e6e]['unitId'],..._0x330c84[_0x123e6e][_0x42495f(0x26c)]}},_0x563531={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x330c84[_0x123e6e][_0x42495f(0x31c)],..._0x330c84[_0x123e6e][_0x42495f(0x376)]}},_0x373685=this['_transformService'][_0x42495f(0x447)](_0x1bd738,_0x5397f1,!0x1),_0x3679a0=this[_0x42495f(0x263)][_0x42495f(0x447)](_0xcc2d3a,_0x563531,!0x1);if(m[_0x42495f(0x28f)](_0x373685))throw _0x373685[_0x42495f(0x2c6)];if(m[_0x42495f(0x28f)](_0x3679a0))throw _0x3679a0['error'];_0x3b6708['unshift']({..._0x330c84[_0x123e6e],'undoState':_0x373685[_0x42495f(0x434)][_0x42495f(0x1ee)],'redoState':_0x3679a0[_0x42495f(0x434)][_0x42495f(0x1ee)]}),_0x1bd738=_0x373685[_0x42495f(0x43e)],_0xcc2d3a=_0x3679a0['m1Prime'];}this[_0x42495f(0x390)]['setStateCache'](_0x5c8c9f,{'history':_0x3751c3,'collaboration':_0x3b6708});}};J=Ht([le(0x0,a[_0x41752f(0x3bf)](a['Injector'])),le(0x1,m[_0x41752f(0x3ec)]),le(0x2,a[_0x41752f(0x3bf)](E['DocStateChangeManagerService']))],J);var Yt=Object[_0x41752f(0x35e)],Wt=(_0x3d1ca8,_0x36772c,_0x292c1d,_0x30ea58)=>{for(var _0x1f4d0=_0x30ea58>0x1?void 0x0:_0x30ea58?Yt(_0x36772c,_0x292c1d):_0x36772c,_0x2137bf=_0x3d1ca8['length']-0x1,_0x4cb015;_0x2137bf>=0x0;_0x2137bf--)(_0x4cb015=_0x3d1ca8[_0x2137bf])&&(_0x1f4d0=_0x4cb015(_0x1f4d0)||_0x1f4d0);return _0x1f4d0;},Ne=(_0xb1e978,_0x482634)=>(_0x454b57,_0x3a5aee)=>_0x482634(_0x454b57,_0x3a5aee,_0xb1e978);let Z=class{constructor(_0x367c95,_0x180efc){const _0xdd5843=_0x41752f;this[_0xdd5843(0x31b)]=_0x367c95,this[_0xdd5843(0x263)]=_0x180efc;}[_0x41752f(0x43b)](_0x470301){const _0x14e73f=_0x41752f;var _0x586c19;const _0x194ab1=this['_injector'][_0x14e73f(0x38d)](Y['DocSelectionManagerService']),_0xb12458=(_0x586c19=_0x194ab1[_0x14e73f(0x345)]())!=null?_0x586c19:[];if(_0xb12458[_0x14e73f(0x27e)]===0x0)return;const _0x13c489=_0x470301[_0x14e73f(0x23a)],_0x3b06aa=[{'id':_0x14e73f(0x369),'params':{'unitId':_0x13c489,'actions':null,'textRanges':_0xb12458}}],_0x33fc35=this['_transformService'][_0x14e73f(0x2ec)](_0x470301,_0x3b06aa);if(!m['isTransformMutationsWithChangesetSuccess'](_0x33fc35))throw _0x33fc35[_0x14e73f(0x2c6)];const _0x3026ea=_0x33fc35[_0x14e73f(0x434)][0x0][_0x14e73f(0x1ee)][_0x14e73f(0x3e3)];Array['isArray'](_0x3026ea)&&_0x3026ea[_0x14e73f(0x27e)]&&_0x194ab1['replaceDocRanges'](_0x3026ea,{'unitId':_0x13c489,'subUnitId':_0x13c489},!0x1);}};Z=Wt([Ne(0x0,a[_0x41752f(0x3bf)](a[_0x41752f(0x2df)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x41752f(0x35e)],Xt=(_0x2c528a,_0xf3fc6,_0x1d0946,_0x356843)=>{const _0x3a6b16=_0x41752f;for(var _0x509fef=_0x356843>0x1?void 0x0:_0x356843?Vt(_0xf3fc6,_0x1d0946):_0xf3fc6,_0x2600c1=_0x2c528a[_0x3a6b16(0x27e)]-0x1,_0x5202bc;_0x2600c1>=0x0;_0x2600c1--)(_0x5202bc=_0x2c528a[_0x2600c1])&&(_0x509fef=_0x5202bc(_0x509fef)||_0x509fef);return _0x509fef;},N=(_0x366a9f,_0x5da295)=>(_0x40505a,_0x40eeb8)=>_0x5da295(_0x40505a,_0x40eeb8,_0x366a9f);let Q=class extends a[_0x41752f(0x2ed)]{constructor(_0x4beed7,_0x516965,_0x413bba,_0x5f29f7,_0x1978ac,_0xce8d4a,_0x22534c,_0x7d2d40){const _0x6100c4=_0x41752f;super(),h(this,'_status$',new d[(_0x6100c4(0x33f))](u[_0x6100c4(0x1fd)]['NOT_COLLAB'])),(this[_0x6100c4(0x390)]=_0x4beed7,this[_0x6100c4(0x278)]=_0x516965,this[_0x6100c4(0x41a)]=_0x413bba,this[_0x6100c4(0x1f7)]=_0x5f29f7,this[_0x6100c4(0x1d7)]=_0x1978ac,this[_0x6100c4(0x3c4)]=_0xce8d4a,this[_0x6100c4(0x29f)]=_0x22534c,this[_0x6100c4(0x24a)]=_0x7d2d40,this[_0x6100c4(0x235)]());}[_0x41752f(0x235)](){const _0x16e2ea=_0x41752f;this['disposeWithMe'](this[_0x16e2ea(0x278)][_0x16e2ea(0x3f6)][_0x16e2ea(0x230)](_0x12ed95=>{const _0x291894=_0x16e2ea,_0x2d4d79=this[_0x291894(0x390)]['docStateChange$']['subscribe'](_0x48c151=>{const _0x1e19c6=_0x291894;if(_0x48c151==null)return;const {unitId:_0x46d688,redoState:_0x599750,commandId:_0x4c2026}=_0x48c151;if(_0x46d688!==_0x12ed95[_0x1e19c6(0x23a)])return;const _0x4fd58a={'id':_0x4c2026,'type':a[_0x1e19c6(0x218)]['MUTATION'],'params':{'unitId':_0x46d688,'actions':_0x599750['actions'],'textRanges':null}};_0x12ed95[_0x1e19c6(0x40c)](_0x4fd58a);});if(_0x12ed95[_0x291894(0x1ec)](_0x2d4d79),_0x12ed95 instanceof u[_0x291894(0x1c5)]){const _0x15babe={'onTransformIME':_0x300911=>this[_0x291894(0x41a)][_0x291894(0x34d)](_0x300911),'onTransformState':_0x1c2d97=>this[_0x291894(0x1f7)][_0x291894(0x382)](_0x1c2d97),'onTransformSelections':_0x18ab33=>this[_0x291894(0x1d7)]['transformSelections'](_0x18ab33),'onSyncEditingCollabCursor':_0x560c4f=>this[_0x291894(0x3c4)][_0x291894(0x43c)](_0x560c4f),'onTransformRemoteChangesetByIMECache':_0x14b8e8=>this[_0x291894(0x41a)][_0x291894(0x3f0)](_0x14b8e8),'onTransformRemoteChangesetByStateCache':_0x21525b=>this['_docTransformStateCacheService'][_0x291894(0x3f0)](_0x21525b)};_0x12ed95[_0x291894(0x269)](_0x15babe);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x41752f(0x33c)])),N(0x1,a[_0x41752f(0x3bf)](u[_0x41752f(0x333)])),N(0x2,a[_0x41752f(0x3bf)](z)),N(0x3,a[_0x41752f(0x3bf)](J)),N(0x4,a[_0x41752f(0x3bf)](Z)),N(0x5,a['Inject'](Ce)),N(0x6,O[_0x41752f(0x1c3)]),N(0x7,a[_0x41752f(0x3bf)](a[_0x41752f(0x277)]))],Q);var Gt=Object[_0x41752f(0x35e)],Kt=(_0x198363,_0x125ff8,_0x50aadc,_0x5b8514)=>{const _0x2a930a=_0x41752f;for(var _0x5d2054=_0x5b8514>0x1?void 0x0:_0x5b8514?Gt(_0x125ff8,_0x50aadc):_0x125ff8,_0x1be9d2=_0x198363[_0x2a930a(0x27e)]-0x1,_0x423497;_0x1be9d2>=0x0;_0x1be9d2--)(_0x423497=_0x198363[_0x1be9d2])&&(_0x5d2054=_0x423497(_0x5d2054)||_0x5d2054);return _0x5d2054;},_e=(_0xd6a3d4,_0x3ebc00)=>(_0x5b914e,_0x3c90f6)=>_0x3ebc00(_0x5b914e,_0x3c90f6,_0xd6a3d4);let ge=class extends a[_0x41752f(0x2ed)]{constructor(_0x19411b,_0x3434ed,_0x349a92){const _0x1c67b7=_0x41752f;super(),h(this,_0x1c67b7(0x3b2),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x1c67b7(0x39f),!0x1),(this[_0x1c67b7(0x317)]=_0x19411b,this[_0x1c67b7(0x290)]=_0x3434ed,this['_revisionService']=_0x349a92);}[_0x41752f(0x246)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x970101=_0x41752f;this[_0x970101(0x39f)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x41752f(0x438)](){const _0x251a93=_0x41752f;this[_0x251a93(0x3c9)]()[_0x251a93(0x3fc)](()=>super['dispose']());}async[_0x41752f(0x42c)](_0x41ff8e){const _0x298b53=_0x41752f;return this[_0x298b53(0x39f)]?null:this[_0x298b53(0x290)][_0x298b53(0x36d)](u[_0x298b53(0x274)](_0x41ff8e));}async['saveOfflineData'](_0x18d05b,_0x5cbe1d){const _0x4b63b1=_0x41752f;return!!this[_0x4b63b1(0x290)][_0x4b63b1(0x29d)](_0x18d05b,_0x5cbe1d);}[_0x41752f(0x216)](_0x3b6e05,_0x464595,_0x542a7f,_0x254879){const _0x340da9=_0x41752f,_0x597bc3=this[_0x340da9(0x26f)][_0x340da9(0x3a4)](_0x3b6e05);this[_0x340da9(0x3b2)][_0x340da9(0x409)](_0x3b6e05,{'unitID':_0x3b6e05,'type':_0x464595,'awaitingChangeset':_0x542a7f,'mutations':_0x254879,'rev':_0x597bc3}),this[_0x340da9(0x3a7)][_0x340da9(0x2c2)](_0x3b6e05)||this['_scheduleSaving'](_0x3b6e05);}[_0x41752f(0x279)](_0x172c17){const _0x2f14b9=_0x41752f,_0x5e284d=this[_0x2f14b9(0x429)]();_0x5e284d===0x0?this[_0x2f14b9(0x41d)](_0x172c17):this[_0x2f14b9(0x3a7)][_0x2f14b9(0x409)](_0x172c17,setTimeout(()=>this[_0x2f14b9(0x41d)](_0x172c17),_0x5e284d));}[_0x41752f(0x429)](){const _0x1a0df1=_0x41752f;var _0x16880f;return(_0x16880f=this['_configService'][_0x1a0df1(0x326)](u[_0x1a0df1(0x374)]))!=null?_0x16880f:u[_0x1a0df1(0x368)];}[_0x41752f(0x41d)](_0x1616dc){const _0x141693=_0x41752f,_0x20d9f2=this[_0x141693(0x3a7)]['get'](_0x1616dc);return _0x20d9f2!==void 0x0&&window[_0x141693(0x2d0)](_0x20d9f2),this[_0x141693(0x290)]['setItem'](u[_0x141693(0x274)](_0x1616dc),this['_cachedData'][_0x141693(0x38d)](_0x1616dc))[_0x141693(0x3fc)](()=>this[_0x141693(0x3a7)][_0x141693(0x1e6)](_0x1616dc));}async[_0x41752f(0x3c9)](){const _0x428339=_0x41752f,_0x46f6a4=[];this['_saveTaskMap'][_0x428339(0x2be)]((_0x4dbf4a,_0x3480b1)=>{const _0x4c0f6a=_0x428339;window['clearTimeout'](_0x4dbf4a),_0x46f6a4[_0x4c0f6a(0x3e2)](this[_0x4c0f6a(0x41d)](_0x3480b1)[_0x4c0f6a(0x3fc)](()=>{const _0x333911=_0x4c0f6a;this['_saveTaskMap'][_0x333911(0x1e6)](_0x3480b1);}));}),await Promise[_0x428339(0x401)](_0x46f6a4);}};ge=Kt([_e(0x0,a['IConfigService']),_e(0x1,a[_0x41752f(0x219)]),_e(0x2,a[_0x41752f(0x3bf)](m[_0x41752f(0x1cf)]))],ge);class Be extends a[_0x41752f(0x26e)]{constructor(){const _0x5a79e4=_0x41752f;super(),h(this,_0x5a79e4(0x1c7)),this[_0x5a79e4(0x1c7)]=d[_0x5a79e4(0x339)](window,_0x5a79e4(0x214))[_0x5a79e4(0x42f)](d[_0x5a79e4(0x23b)](this[_0x5a79e4(0x247)]),d['shareReplay'](0x1),d[_0x5a79e4(0x3c1)](void 0x0));}[_0x41752f(0x264)](_0xd179b6,_0x24ef88,_0xc31947=!0x1){const _0x383dbc=_0x41752f,_0x2b0270=new URL(window[_0x383dbc(0x39e)][_0x383dbc(0x294)]);_0x2b0270[_0x383dbc(0x391)]['set'](_0xd179b6,_0x24ef88),_0xc31947?window[_0x383dbc(0x2d5)][_0x383dbc(0x221)]('','',_0x2b0270['toString']()):window['history'][_0x383dbc(0x1c9)]('','',_0x2b0270[_0x383dbc(0x350)]());}['removeParam'](_0x4eedfc,_0x5830d2=!0x1){const _0x33a11c=_0x41752f,_0x348fb3=new URL(window[_0x33a11c(0x39e)][_0x33a11c(0x294)]);_0x348fb3[_0x33a11c(0x391)][_0x33a11c(0x1e6)](_0x4eedfc),_0x5830d2?window[_0x33a11c(0x2d5)]['replaceState']('','',_0x348fb3[_0x33a11c(0x350)]()):window[_0x33a11c(0x2d5)][_0x33a11c(0x1c9)]('','',_0x348fb3[_0x33a11c(0x350)]());}['getParam'](_0x1692ad){const _0x4a2648=_0x41752f;var _0x5dcff6;return(_0x5dcff6=new URL(window[_0x4a2648(0x39e)][_0x4a2648(0x294)])[_0x4a2648(0x391)][_0x4a2648(0x38d)](_0x1692ad))!=null?_0x5dcff6:void 0x0;}}var qt=Object[_0x41752f(0x3b8)],zt=Object[_0x41752f(0x35e)],Jt=(_0x5aa5db,_0x342c5c,_0x12af69)=>_0x342c5c in _0x5aa5db?qt(_0x5aa5db,_0x342c5c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12af69}):_0x5aa5db[_0x342c5c]=_0x12af69,Zt=(_0x332ac5,_0x546d1b,_0x254797,_0x1e5574)=>{for(var _0x14fc9d=_0x1e5574>0x1?void 0x0:_0x1e5574?zt(_0x546d1b,_0x254797):_0x546d1b,_0xb29205=_0x332ac5['length']-0x1,_0x5304f9;_0xb29205>=0x0;_0xb29205--)(_0x5304f9=_0x332ac5[_0xb29205])&&(_0x14fc9d=_0x5304f9(_0x14fc9d)||_0x14fc9d);return _0x14fc9d;},he=(_0x491762,_0x2dcee1)=>(_0x398ecb,_0x19c742)=>_0x2dcee1(_0x398ecb,_0x19c742,_0x491762),Qt=(_0x1690d4,_0x11bde1,_0x10a126)=>Jt(_0x1690d4,_0x11bde1+'',_0x10a126);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports['UniverCollaborationClientUIPlugin']=class extends a[_0x41752f(0x260)]{constructor(_0x17b9d8=Ue,_0x353e2e,_0x5d499f,_0x6b48fe){const _0x25eaf3=_0x41752f;super(),this[_0x25eaf3(0x3c5)]=_0x17b9d8,this[_0x25eaf3(0x256)]=_0x353e2e,this[_0x25eaf3(0x31b)]=_0x5d499f,this[_0x25eaf3(0x317)]=_0x6b48fe;const {..._0x3a43da}=a[_0x25eaf3(0x397)]({},Ue,this['_config']);this[_0x25eaf3(0x317)][_0x25eaf3(0x2ce)]($t,_0x3a43da);}[_0x41752f(0x3a8)](){const _0x168d3f=_0x41752f;this[_0x168d3f(0x262)](),this[_0x168d3f(0x3f1)]();}[_0x41752f(0x2b2)](){const _0x32c343=_0x41752f;this[_0x32c343(0x3cf)]();}[_0x41752f(0x262)](){const _0x300777=_0x41752f;var _0x402fb4;const _0xf05a31=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G['ISocketService'],{'useClass':G['WebSocketService']}],[u['ILocalCacheService'],{'useClass':ge}],[exports[_0x300777(0x32f)]],[Q],[q],[x],[de],[exports[_0x300777(0x228)]]];a[_0x300777(0x2b3)](this[_0x300777(0x31b)],a[_0x300777(0x286)](_0xf05a31,(_0x402fb4=this[_0x300777(0x3c5)])==null?void 0x0:_0x402fb4[_0x300777(0x272)]));}['_registerRenderDependencies'](){const _0x2dcdd8=_0x41752f;this[_0x2dcdd8(0x1ec)](this[_0x2dcdd8(0x256)][_0x2dcdd8(0x1ff)](a[_0x2dcdd8(0x396)][_0x2dcdd8(0x354)],[fe])),this[_0x2dcdd8(0x1ec)](this[_0x2dcdd8(0x256)]['registerRenderModule'](a['UniverInstanceType'][_0x2dcdd8(0x239)],[ve]));}['_initDependencies'](){const _0x18fba5=_0x41752f;a['touchDependencies'](this[_0x18fba5(0x31b)],[[x],[exports[_0x18fba5(0x32f)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x41752f(0x2e8)],_0x41752f(0x20a),es),exports[_0x41752f(0x2e8)]=Zt([a['DependentOn'](u[_0x41752f(0x24b)]),he(0x1,p[_0x41752f(0x3ba)]),he(0x2,a[_0x41752f(0x3bf)](a['Injector'])),he(0x3,a[_0x41752f(0x2ee)])],exports[_0x41752f(0x2e8)]);var ts=Object[_0x41752f(0x35e)],ss=(_0x36a59c,_0x30bd6d,_0x299d88,_0x2298d4)=>{const _0x3bc8fb=_0x41752f;for(var _0x5a5e2f=_0x2298d4>0x1?void 0x0:_0x2298d4?ts(_0x30bd6d,_0x299d88):_0x30bd6d,_0x24c738=_0x36a59c[_0x3bc8fb(0x27e)]-0x1,_0x5e8927;_0x24c738>=0x0;_0x24c738--)(_0x5e8927=_0x36a59c[_0x24c738])&&(_0x5a5e2f=_0x5e8927(_0x5a5e2f)||_0x5a5e2f);return _0x5a5e2f;},H=(_0x296431,_0x33bf39)=>(_0x1a4fee,_0x1d9170)=>_0x33bf39(_0x1a4fee,_0x1d9170,_0x296431);exports[_0x41752f(0x31d)]=class extends u[_0x41752f(0x38e)]{constructor(_0x26a1da,_0x429bba,_0x4937e0,_0x508a31,_0x37b736){super(_0x26a1da,_0x429bba,_0x4937e0,_0x508a31,_0x37b736);}async[_0x41752f(0x21a)](_0x1b50be){const _0x6516e3=_0x41752f,_0x1c9469=await this[_0x6516e3(0x330)](),_0x54d730=this['_createSocketURL'](_0x1b50be,_0x1c9469);return this['_doCreateSocket'](_0x54d730);}['_createSocketURL'](_0xfb37e,_0x192030){const _0x4d7179=_0x41752f,_0x4903fe=typeof window>'u'?new URL(_0xfb37e):new URL(_0xfb37e,window['location']['origin']);_0x4903fe[_0x4d7179(0x391)][_0x4d7179(0x409)](_0x4d7179(0x24f),_0x192030);const _0x381ba8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d7179(0x39e)]['search']);return _0x381ba8[_0x4d7179(0x38d)](_0x4d7179(0x442))&&_0x4903fe[_0x4d7179(0x391)][_0x4d7179(0x409)](_0x4d7179(0x442),_0x381ba8[_0x4d7179(0x38d)](_0x4d7179(0x442))),_0x4903fe['toString']();}async[_0x41752f(0x330)](){const _0x31da37=_0x41752f;var _0x42e79f,_0x42a30a,_0x30d758;const _0x2bcbc8=this[_0x31da37(0x317)]['getConfig'](u[_0x31da37(0x202)]),_0x18cf18=(_0x42e79f=_0x2bcbc8==null?void 0x0:_0x2bcbc8[_0x31da37(0x37b)])!=null?_0x42e79f:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x30d758=(_0x42a30a=(await this['_httpService'][_0x31da37(0x38d)](_0x18cf18,{'headers':{'Content-Type':_0x31da37(0x2d6)}}))[_0x31da37(0x36e)])==null?void 0x0:_0x42a30a[_0x31da37(0x1cc)])!=null?_0x30d758:'';}},exports[_0x41752f(0x31d)]=ss([H(0x0,a[_0x41752f(0x3bf)](a[_0x41752f(0x2df)])),H(0x1,a[_0x41752f(0x3bf)](G[_0x41752f(0x2d7)])),H(0x2,a[_0x41752f(0x2ee)]),H(0x3,a['ILogService']),H(0x4,m['ISnapshotServerService'])],exports[_0x41752f(0x31d)]);const Me=0x7530,Le=_0x41752f(0x295);class is extends a['Disposable']{constructor(){const _0x4a986c=_0x41752f;super(),h(this,_0x4a986c(0x33e),a[_0x4a986c(0x3be)]()),h(this,_0x4a986c(0x238),new Set()),h(this,_0x4a986c(0x33d),new Map()),h(this,_0x4a986c(0x2cf),null),h(this,_0x4a986c(0x2ba),new Map()),h(this,'_unitStatus',new Map()),this[_0x4a986c(0x201)]();}[_0x41752f(0x438)](){const _0x44f9d3=_0x41752f;super[_0x44f9d3(0x438)](),this['_clearOtherTimers'][_0x44f9d3(0x2be)]((_0x4baa1,_0x9650d7)=>this[_0x44f9d3(0x316)](_0x9650d7)),this[_0x44f9d3(0x2cf)]&&window[_0x44f9d3(0x387)](this[_0x44f9d3(0x2cf)]);}['getUnitStatus$'](_0x3ca584){const _0x5d86bc=_0x41752f;return this[_0x5d86bc(0x392)](_0x3ca584)['pipe'](d[_0x5d86bc(0x1df)]());}['editingUnit'](_0x5775be){const _0xb364f9=_0x41752f;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0xb364f9(0x238)]['add'](_0x5775be),this['_send']({'type':0x0,'memberID':this[_0xb364f9(0x33e)],'unitIDs':[_0x5775be],'isForwarded':!0x1});}[_0x41752f(0x28b)](_0x4c9580){const _0x48135b=_0x41752f;this[_0x48135b(0x238)][_0x48135b(0x1e6)](_0x4c9580),this[_0x48135b(0x238)][_0x48135b(0x2c9)]===0x0&&this['_heartbeatTimer']&&window[_0x48135b(0x387)](this[_0x48135b(0x2cf)]);}[_0x41752f(0x201)](){const _0x388a07=_0x41752f;this[_0x388a07(0x1ec)](a[_0x388a07(0x301)](d[_0x388a07(0x339)](window,_0x388a07(0x338))[_0x388a07(0x230)](_0x359abc=>{const _0x4b78c2=_0x388a07;if(_0x359abc[_0x4b78c2(0x1e3)]!==Le||!_0x359abc[_0x4b78c2(0x378)])return;const _0x2c5288=JSON[_0x4b78c2(0x32b)](_0x359abc[_0x4b78c2(0x378)]);this[_0x4b78c2(0x208)](_0x2c5288);}))),window[_0x388a07(0x2da)](_0x388a07(0x2f6),()=>this[_0x388a07(0x353)]({'type':0x1,'memberID':this[_0x388a07(0x33e)],'unitIDs':Array['from'](this[_0x388a07(0x238)])}));}[_0x41752f(0x208)](_0x4d2594){const _0x2284cc=_0x41752f;switch(_0x4d2594[_0x2284cc(0x366)]){case 0x0:this['_handleJoinEvent'](_0x4d2594);break;case 0x1:this[_0x2284cc(0x22b)](_0x4d2594);break;case 0x2:this[_0x2284cc(0x1e8)](_0x4d2594);break;}}[_0x41752f(0x234)](_0x5d3d00){const _0xe34009=_0x41752f,{unitIDs:_0x1b34cb,memberID:_0xc0d125,isForwarded:_0x3584ba}=_0x5d3d00;_0x1b34cb[_0xe34009(0x2be)](_0x349f71=>{const _0x5e1556=_0xe34009;if(!_0x3584ba&&this[_0x5e1556(0x33d)][_0x5e1556(0x2c2)](_0x349f71)&&this[_0x5e1556(0x392)](_0x349f71)[_0x5e1556(0x3e1)](u['UnitStatus'][_0x5e1556(0x22d)]),!this['_unitOnClients'][_0x5e1556(0x2c2)](_0x349f71)||!this[_0x5e1556(0x33d)][_0x5e1556(0x38d)](_0x349f71)[_0x5e1556(0x2c2)](_0xc0d125)){const _0x17174e=this[_0x5e1556(0x33d)][_0x5e1556(0x38d)](_0x349f71)||new Set();_0x17174e['add'](_0xc0d125),this['_unitOnClients'][_0x5e1556(0x409)](_0x349f71,_0x17174e),this[_0x5e1556(0x209)](_0xc0d125);}}),_0x3584ba||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xe34009(0x238)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x501085){const _0x29a519=_0x41752f;this['_removeClearOtherTimer'](_0x501085);const _0x38da37=window['setTimeout'](()=>{const _0x2b3a68=_0x1202;this['_unitOnClients'][_0x2b3a68(0x2be)](_0x395bb1=>{_0x395bb1['delete'](_0x501085);});},Me*0x2);this['_clearOtherTimers'][_0x29a519(0x409)](_0x501085,_0x38da37);}['_removeClearOtherTimer'](_0xefeb52){const _0x455f51=_0x41752f;if(this[_0x455f51(0x2ba)][_0x455f51(0x2c2)](_0xefeb52)){const _0x4c5544=this[_0x455f51(0x2ba)][_0x455f51(0x38d)](_0xefeb52);_0x4c5544&&window[_0x455f51(0x2d0)](_0x4c5544),this[_0x455f51(0x2ba)]['set'](_0xefeb52,null);}}[_0x41752f(0x22b)](_0x1ef1c1){const {memberID:_0x49c9f2,unitIDs:_0x37234a}=_0x1ef1c1;_0x37234a['forEach'](_0x38a93e=>{const _0x4b8713=_0x1202;var _0x4c7eec;const _0x453d6b=this[_0x4b8713(0x33d)]['get'](_0x38a93e);_0x453d6b&&(_0x453d6b[_0x4b8713(0x1e6)](_0x49c9f2),(_0x4c7eec=this[_0x4b8713(0x392)](_0x38a93e))==null||_0x4c7eec[_0x4b8713(0x3e1)](_0x453d6b[_0x4b8713(0x2c9)]===0x0?u['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:u['UnitStatus'][_0x4b8713(0x22d)]));}),this['_removeClearOtherTimer'](_0x49c9f2);}[_0x41752f(0x1e8)](_0x3c6859){const _0x2e2cb3=_0x41752f;this[_0x2e2cb3(0x209)](_0x3c6859[_0x2e2cb3(0x265)]);}[_0x41752f(0x353)](_0x5ec899){const _0x416858=_0x41752f;localStorage[_0x416858(0x29d)](Le,JSON[_0x416858(0x2ad)](_0x5ec899));}[_0x41752f(0x1f9)](){const _0x35f798=_0x41752f;this[_0x35f798(0x2cf)]=window[_0x35f798(0x3db)](()=>{const _0x5d7793=_0x35f798;this[_0x5d7793(0x353)]({'type':0x2,'memberID':this['_id']});},Me);}[_0x41752f(0x392)](_0x1d1355){const _0x523f25=_0x41752f;return this[_0x523f25(0x1ef)][_0x523f25(0x2c2)](_0x1d1355)||this[_0x523f25(0x1ef)][_0x523f25(0x409)](_0x1d1355,new d[(_0x523f25(0x33f))](u[_0x523f25(0x31e)][_0x523f25(0x3ff)])),this['_unitStatus'][_0x523f25(0x38d)](_0x1d1355);}}var je=(_0x350557=>(_0x350557[_0x350557[_0x41752f(0x27f)]=0x0]='UNDEFINED',_0x350557[_0x350557['OK']=0x1]='OK',_0x350557[_0x350557[_0x41752f(0x37e)]=0x2]=_0x41752f(0x37e),_0x350557[_0x350557[_0x41752f(0x389)]=0x3]=_0x41752f(0x389),_0x350557[_0x350557[_0x41752f(0x436)]=0x4]=_0x41752f(0x436),_0x350557[_0x350557[_0x41752f(0x289)]=0x5]=_0x41752f(0x289),_0x350557[_0x350557[_0x41752f(0x27b)]=0x6]='ALREADY_EXISTS',_0x350557[_0x350557[_0x41752f(0x266)]=0x7]=_0x41752f(0x266),_0x350557[_0x350557[_0x41752f(0x318)]=0x8]=_0x41752f(0x318),_0x350557[_0x350557['COMPLETION_FINISHED']=0x9]=_0x41752f(0x3af),_0x350557[_0x350557[_0x41752f(0x2de)]=0xa]=_0x41752f(0x2de),_0x350557[_0x350557['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x41752f(0x39b),_0x350557[_0x350557[_0x41752f(0x1db)]=0xc]=_0x41752f(0x1db),_0x350557[_0x350557[_0x41752f(0x1d8)]=0xd]=_0x41752f(0x1d8),_0x350557[_0x350557[_0x41752f(0x259)]=0xe]=_0x41752f(0x259),_0x350557[_0x350557[_0x41752f(0x3fe)]=0x1389]=_0x41752f(0x3fe),_0x350557[_0x350557[_0x41752f(0x3b0)]=0x1771]=_0x41752f(0x3b0),_0x350557[_0x350557['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x350557[_0x350557[_0x41752f(0x255)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x350557[_0x350557['APPLY_REJECT']=0x1b59]=_0x41752f(0x1e2),_0x350557[_0x350557[_0x41752f(0x406)]=0x1b5a]=_0x41752f(0x406),_0x350557[_0x350557[_0x41752f(0x24c)]=0x1b5b]=_0x41752f(0x24c),_0x350557[_0x350557['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x350557[_0x350557['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x350557[_0x350557[_0x41752f(0x29e)]=0x1f41]=_0x41752f(0x29e),_0x350557[_0x350557['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x41752f(0x33b),_0x350557[_0x350557[_0x41752f(0x34f)]=0x232a]=_0x41752f(0x34f),_0x350557[_0x350557[_0x41752f(0x213)]=0x232b]=_0x41752f(0x213),_0x350557[_0x350557[_0x41752f(0x2d1)]=0x232c]=_0x41752f(0x2d1),_0x350557[_0x350557[_0x41752f(0x2db)]=0x232d]=_0x41752f(0x2db),_0x350557[_0x350557['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x41752f(0x367),_0x350557[_0x350557[_0x41752f(0x298)]=0x2712]=_0x41752f(0x298),_0x350557[_0x350557['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x41752f(0x1de),_0x350557[_0x350557[_0x41752f(0x1fb)]=0x2714]=_0x41752f(0x1fb),_0x350557[_0x350557[_0x41752f(0x237)]=0x271a]=_0x41752f(0x237),_0x350557[_0x350557['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x41752f(0x357),_0x350557[_0x350557['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x350557[_0x350557['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x41752f(0x42a),_0x350557[_0x350557[_0x41752f(0x3d2)]=0x271e]=_0x41752f(0x3d2),_0x350557[_0x350557['YUUMI_AI_RUN_FAILED']=0x271f]=_0x41752f(0x222),_0x350557[_0x350557[_0x41752f(0x343)]=0x2720]=_0x41752f(0x343),_0x350557[_0x350557[_0x41752f(0x36a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x350557[_0x350557[_0x41752f(0x1c6)]=0x2ee1]=_0x41752f(0x1c6),_0x350557[_0x350557[_0x41752f(0x21b)]=0x2ee2]=_0x41752f(0x21b),_0x350557[_0x350557[_0x41752f(0x2cc)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x350557[_0x350557[_0x41752f(0x29b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x350557[_0x350557[_0x41752f(0x307)]=0x2ee5]=_0x41752f(0x307),_0x350557[_0x350557[_0x41752f(0x3a0)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x350557[_0x350557['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x41752f(0x443),_0x350557[_0x350557[_0x41752f(0x43f)]=0x32cb]=_0x41752f(0x43f),_0x350557[_0x350557[_0x41752f(0x2d2)]=-0x1]=_0x41752f(0x2d2),_0x350557))(je||{}),ns=Object[_0x41752f(0x35e)],rs=(_0x9142af,_0x5c12fd,_0x283560,_0x5e7a78)=>{const _0x4fb1f1=_0x41752f;for(var _0x2eec82=_0x5e7a78>0x1?void 0x0:_0x5e7a78?ns(_0x5c12fd,_0x283560):_0x5c12fd,_0x174295=_0x9142af[_0x4fb1f1(0x27e)]-0x1,_0x2d9421;_0x174295>=0x0;_0x174295--)(_0x2d9421=_0x9142af[_0x174295])&&(_0x2eec82=_0x2d9421(_0x2eec82)||_0x2eec82);return _0x2eec82;},ue=(_0x2ab23,_0x5d10d6)=>(_0x15162a,_0x5cd891)=>_0x5d10d6(_0x15162a,_0x5cd891,_0x2ab23);exports[_0x41752f(0x29a)]=class extends a['Disposable']{constructor(_0x487de9,_0x5febc9,_0x557b27){const _0x1d8a9b=_0x41752f;super(),this[_0x1d8a9b(0x3e8)]=_0x487de9,this['_httpService']=_0x5febc9,this[_0x1d8a9b(0x317)]=_0x557b27;}async[_0x41752f(0x21c)](_0x1a2b79,_0x2f175f,_0x171103,..._0x4e4e93){const _0x4afba7=_0x41752f;var _0x1b0a90,_0x94b478,_0x189989,_0x4d8d32;const _0x1f61e=this[_0x4afba7(0x3e8)][_0x4afba7(0x408)]();if(!_0x1f61e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x301c6d=((_0x1b0a90=this[_0x4afba7(0x317)][_0x4afba7(0x326)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x1b0a90:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1a2b79+_0x4afba7(0x2ab)+_0x2f175f,_0x378552=new URL(window[_0x4afba7(0x39e)][_0x4afba7(0x294)]),_0x458418={'scriptId':_0x1a2b79,'runId':(_0x94b478=_0x378552[_0x4afba7(0x391)]['get'](_0x4afba7(0x442)))!=null?_0x94b478:'','function':_0x2f175f,'unitId':_0x1f61e[_0x4afba7(0x335)](),'argsOfFunction':JSON[_0x4afba7(0x2ad)](_0x4e4e93),'invokeId':(_0x189989=_0x171103[_0x4afba7(0x1e1)])!=null?_0x189989:'','executionId':(_0x4d8d32=_0x171103[_0x4afba7(0x2c0)])!=null?_0x4d8d32:''};try{const _0x26e19e=await this[_0x4afba7(0x296)][_0x4afba7(0x3e4)](_0x301c6d,{'body':_0x458418});return _0x26e19e[_0x4afba7(0x36e)][_0x4afba7(0x2c6)]&&_0x26e19e[_0x4afba7(0x36e)]['error']['code']!==je['OK']?'Failed':_0x26e19e['body'][_0x4afba7(0x282)];}catch{return _0x4afba7(0x1f8);}}},exports[_0x41752f(0x29a)]=rs([ue(0x0,a[_0x41752f(0x206)]),ue(0x1,a[_0x41752f(0x3bf)](G[_0x41752f(0x2d7)])),ue(0x2,a[_0x41752f(0x2ee)])],exports[_0x41752f(0x29a)]),exports[_0x41752f(0x20d)]=xe,exports[_0x41752f(0x3c8)]=Ee,exports[_0x41752f(0x2e6)]=we,exports[_0x41752f(0x270)]=is,exports[_0x41752f(0x31f)]=Be;
|
|
1
|
+
'use strict';const _0x114c64=_0x10ca;(function(_0x1d8085,_0x43a284){const _0x261f53=_0x10ca,_0x492d45=_0x1d8085();while(!![]){try{const _0xc37655=parseInt(_0x261f53(0x1c6))/0x1*(-parseInt(_0x261f53(0x29c))/0x2)+parseInt(_0x261f53(0x309))/0x3*(-parseInt(_0x261f53(0x19e))/0x4)+parseInt(_0x261f53(0x313))/0x5+-parseInt(_0x261f53(0x103))/0x6+-parseInt(_0x261f53(0x345))/0x7+parseInt(_0x261f53(0x156))/0x8+parseInt(_0x261f53(0x155))/0x9*(parseInt(_0x261f53(0x355))/0xa);if(_0xc37655===_0x43a284)break;else _0x492d45['push'](_0x492d45['shift']());}catch(_0x3e53f9){_0x492d45['push'](_0x492d45['shift']());}}}(_0x4174,0x4d194));var Ve=Object[_0x114c64(0x24b)],Xe=(_0x58f6ef,_0x39825c,_0x1d9a9e)=>_0x39825c in _0x58f6ef?Ve(_0x58f6ef,_0x39825c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d9a9e}):_0x58f6ef[_0x39825c]=_0x1d9a9e,h=(_0x57a585,_0x108411,_0x1dc8ae)=>Xe(_0x57a585,typeof _0x108411!=_0x114c64(0x2f5)?_0x108411+'':_0x108411,_0x1dc8ae);Object['defineProperty'](exports,Symbol[_0x114c64(0x14b)],{'value':_0x114c64(0x28f)});const u=require(_0x114c64(0x225)),a=require(_0x114c64(0x348)),p=require(_0x114c64(0x2c3)),G=require('@univerjs/network'),b=require(_0x114c64(0x11d)),Ge=require(_0x114c64(0x20a)),d=require(_0x114c64(0x30a)),Y=require(_0x114c64(0x119)),m=require('@univerjs-pro/collaboration'),Ee=require(_0x114c64(0x34c)),g=require(_0x114c64(0x28c)),$=require(_0x114c64(0x2d8)),X=require(_0x114c64(0x2f7)),w=require(_0x114c64(0x16c)),T=require(_0x114c64(0x117)),D=require(_0x114c64(0x208)),M=require('react'),Ke=require(_0x114c64(0x13e));var qe=Object[_0x114c64(0x140)],ze=(_0x5f0313,_0x3b88fc,_0x5a6a70,_0x34ef3a)=>{for(var _0x40e353=_0x34ef3a>0x1?void 0x0:_0x34ef3a?qe(_0x3b88fc,_0x5a6a70):_0x3b88fc,_0x485164=_0x5f0313['length']-0x1,_0x469b91;_0x485164>=0x0;_0x485164--)(_0x469b91=_0x5f0313[_0x485164])&&(_0x40e353=_0x469b91(_0x40e353)||_0x40e353);return _0x40e353;},Te=(_0x203fca,_0x8b68c2)=>(_0x1651d3,_0x1fac26)=>_0x8b68c2(_0x1651d3,_0x1fac26,_0x203fca);let de=class extends a[_0x114c64(0x27a)]{constructor(_0x33e2f2,_0x3126be){const _0x1f4f71=_0x114c64;super(),this['_docClipboardService']=_0x33e2f2,this[_0x1f4f71(0x128)]=_0x3126be,this[_0x1f4f71(0x194)]();}[_0x114c64(0x194)](){const _0x372798=_0x114c64,_0x1ab778=this;this[_0x372798(0x220)](this[_0x372798(0x123)]['addClipboardHook']({'onBeforePasteImage':async _0x20ea0a=>{const _0x409413=_0x372798,_0x9f81c9=await _0x1ab778['_imageIoService'][_0x409413(0x2ec)](_0x20ea0a);return _0x9f81c9?{'source':_0x9f81c9[_0x409413(0x366)],'imageSourceType':_0x9f81c9[_0x409413(0x1ae)]}:null;}}));}};de=ze([Te(0x0,b[_0x114c64(0x301)]),Te(0x1,Ge[_0x114c64(0xf5)])],de);const Oe=[_0x114c64(0x24d),_0x114c64(0x19b),_0x114c64(0x223),_0x114c64(0xeb),'blue.400','yellow.400'];class me extends a[_0x114c64(0x2b9)]{constructor(){const _0xd09e58=_0x114c64;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0xd09e58(0x2ce),0x0);}[_0x114c64(0x2e1)](_0x2eda5f){const _0x1d063d=_0x114c64;if(this['_assignedColors'][_0x1d063d(0x2e7)](_0x2eda5f))return this[_0x1d063d(0x2ed)]['get'](_0x2eda5f);const _0x25f5bc=Oe[this[_0x1d063d(0x2ce)]];return this[_0x1d063d(0x2ce)]=(this[_0x1d063d(0x2ce)]+0x1)%Oe[_0x1d063d(0x2f1)],this[_0x1d063d(0x2ed)][_0x1d063d(0x21f)](_0x2eda5f,_0x25f5bc),_0x25f5bc;}}function we(_0x2fcc6a){const _0xa71fc3=_0x114c64;let _0xf279be='';for(const _0x1698fb of _0x2fcc6a){const {startOffset:_0x780cd5,endOffset:_0x1f87cd,isActive:_0x42e611,rangeType:_0x4f4103,segmentId:_0x410e00,segmentPage:_0x1c2988}=_0x1698fb;_0xf279be[_0xa71fc3(0x2f1)]&&(_0xf279be+=','),_0xf279be+=_0x780cd5+':'+_0x1f87cd+':'+(_0x42e611?'1':'0')+':'+_0x4f4103+':'+_0x410e00+':'+_0x1c2988;}return _0xf279be;}function _0x10ca(_0x17f49a,_0x3347c4){const _0x4174d1=_0x4174();return _0x10ca=function(_0x10cac5,_0x957a55){_0x10cac5=_0x10cac5-0xe6;let _0x2a7dcd=_0x4174d1[_0x10cac5];return _0x2a7dcd;},_0x10ca(_0x17f49a,_0x3347c4);}function Je(_0x4e6846){const _0x2b1090=_0x114c64,_0x72ca0a=_0x4e6846['split'](','),_0x5d350f=[];for(const _0x1f72af of _0x72ca0a){const [_0x451188,_0x47747c,_0xb63142,_0xa7ab92,_0x5c6264,_0x837438]=_0x1f72af['split'](':');_0x5d350f['push']({'startOffset':Number(_0x451188),'endOffset':Number(_0x47747c),'collapsed':_0x451188===_0x47747c,'isActive':_0xb63142==='1','rangeType':_0xa7ab92===a['DOC_RANGE_TYPE'][_0x2b1090(0x36a)]?a['DOC_RANGE_TYPE'][_0x2b1090(0x36a)]:a[_0x2b1090(0x32f)][_0x2b1090(0x17e)],'segmentId':typeof _0x5c6264==_0x2b1090(0x267)?String(_0x5c6264):'','segmentPage':Number(_0x837438!=null?_0x837438:-0x1)});}return _0x5d350f[_0x2b1090(0x31c)](_0x5568f4=>_0x5568f4[_0x2b1090(0x2ca)])||(_0x5d350f[0x0][_0x2b1090(0x2ca)]=!0x0),_0x5d350f;}class Ce extends a[_0x114c64(0x27a)]{constructor(){const _0xd435b0=_0x114c64;super(...arguments),h(this,_0xd435b0(0x2e9),new d['BehaviorSubject'](null)),h(this,'collabCursorState$',this[_0xd435b0(0x2e9)][_0xd435b0(0x1ce)]());}['syncEditingCollabCursor'](_0x19de99){const {unitID:_0x4dff81,memberID:_0x4543be,textRanges:_0x56ac21}=_0x19de99,_0x4a39ab=we(_0x56ac21);if(_0x4a39ab==='')return;const _0x34de83={'unitID':_0x4dff81,'memberID':_0x4543be,'selection':_0x4a39ab};this['_collabCursorState$']['next'](_0x34de83);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x288670,_0x317842,_0x519c36,_0x465c6f)=>{const _0x19a9be=_0x114c64;for(var _0x3ff890=_0x465c6f>0x1?void 0x0:_0x465c6f?Ze(_0x317842,_0x519c36):_0x317842,_0x32459=_0x288670[_0x19a9be(0x2f1)]-0x1,_0x3ff727;_0x32459>=0x0;_0x32459--)(_0x3ff727=_0x288670[_0x32459])&&(_0x3ff890=_0x3ff727(_0x3ff890)||_0x3ff890);return _0x3ff890;},L=(_0x26f195,_0x3e422e)=>(_0x30dd7c,_0x3f103a)=>_0x3e422e(_0x30dd7c,_0x3f103a,_0x26f195);const et=0x12c,tt=0x64;let fe=class extends a[_0x114c64(0x27a)]{constructor(_0x10fc01,_0x2e0c9c,_0x2bd531,_0x334541,_0x520ac4,_0x4ea184,_0x401d09,_0x37a997,_0x4355a5){const _0x37125b=_0x114c64;super(),h(this,'_online',!0x1),h(this,_0x37125b(0x194),!0x1),h(this,_0x37125b(0x34b),new d[(_0x37125b(0x1d6))](new Map())),h(this,'cursorInfo$',this[_0x37125b(0x34b)][_0x37125b(0x1ce)]()),h(this,_0x37125b(0x26d),new d[(_0x37125b(0x1d6))]([])),h(this,_0x37125b(0x364),this[_0x37125b(0x26d)]['pipe'](d[_0x37125b(0x1c4)](et))),h(this,'_updateLocalCursor',a[_0x37125b(0x12e)](_0xbf84=>{const _0x3e76d5=_0x37125b,_0x3fa05b={'eventID':m[_0x3e76d5(0x129)][_0x3e76d5(0x1f6)],'data':{'unitID':this[_0x3e76d5(0x216)],'memberID':this['_session'][_0x3e76d5(0x260)](),'selection':we(_0xbf84)}};this['_session'][_0x3e76d5(0x1f9)](_0x3fa05b,this['unitID']);},tt)),(this['unitID']=_0x10fc01,this[_0x37125b(0x12b)]=_0x2e0c9c,this[_0x37125b(0x2c4)]=_0x2bd531,this[_0x37125b(0xf0)]=_0x334541,this['_memberService']=_0x520ac4,this[_0x37125b(0x1f5)]=_0x4ea184,this[_0x37125b(0x252)]=_0x401d09,this[_0x37125b(0x122)]=_0x37a997,this[_0x37125b(0x1cd)]=_0x4355a5);}get['cursorInfo'](){const _0x362ba4=_0x114c64;return this[_0x362ba4(0x34b)][_0x362ba4(0x271)]();}get[_0x114c64(0x2ff)](){const _0x46a706=_0x114c64;return this[_0x46a706(0x26d)]['getValue']();}[_0x114c64(0x114)](){const _0x30dc00=_0x114c64;super[_0x30dc00(0x114)](),this['_cursorInfo$'][_0x30dc00(0x124)](new Map()),this[_0x30dc00(0x34b)]['complete'](),this[_0x30dc00(0x26d)]['next']([]),this[_0x30dc00(0x26d)][_0x30dc00(0x116)]();}[_0x114c64(0x254)](){const _0x2e4390=_0x114c64;this['_init']||(this['_init']=!0x0,this[_0x2e4390(0x12b)][_0x2e4390(0x2bf)][_0x2e4390(0x12c)](d[_0x2e4390(0x13a)](this[_0x2e4390(0x35d)]))['subscribe'](_0x248adc=>{const _0x45e626=_0x2e4390;_0x248adc===u[_0x45e626(0x327)]['ONLINE']?this[_0x45e626(0x32b)]():this[_0x45e626(0x204)]();}),this[_0x2e4390(0x12b)][_0x2e4390(0x200)][_0x2e4390(0x12c)](d['takeUntil'](this['dispose$']))['subscribe'](_0x4d79cb=>{const _0x44d2c3=_0x2e4390,_0x15da45=_0x4d79cb[_0x44d2c3(0x311)];_0x15da45===m['CollaborationEvent'][_0x44d2c3(0x1f6)]&&this[_0x44d2c3(0x323)](_0x4d79cb),_0x15da45===m[_0x44d2c3(0x129)][_0x44d2c3(0x14d)]&&this[_0x44d2c3(0x312)](_0x4d79cb);}),this[_0x2e4390(0x220)](this['_commandService'][_0x2e4390(0x10c)](_0x2f30a9=>{const _0x737dc=_0x2e4390,_0xe6a1f3=_0x2f30a9[_0x737dc(0x1ee)];_0xe6a1f3!=null&&this[_0x737dc(0x28a)]&&_0x2f30a9['id']===Y[_0x737dc(0x1ed)]['id']&&_0xe6a1f3[_0x737dc(0x145)]===this[_0x737dc(0x216)]&&_0xe6a1f3[_0x737dc(0x241)]===!0x1&&_0xe6a1f3['ranges'][_0x737dc(0x2f1)]>0x0&&this[_0x737dc(0x157)](_0xe6a1f3[_0x737dc(0x147)]);})),this['_syncEditingCollabCursorService'][_0x2e4390(0x227)][_0x2e4390(0x12c)](d[_0x2e4390(0x13a)](this['dispose$']))[_0x2e4390(0x2c9)](_0x17908f=>{const _0x3970c7=_0x2e4390;if((_0x17908f==null?void 0x0:_0x17908f[_0x3970c7(0x216)])!==this['unitID'])return;const _0x421304={'eventID':m['CollaborationEvent'][_0x3970c7(0x1f6)],'data':_0x17908f};this[_0x3970c7(0x323)](_0x421304);}),this[_0x2e4390(0x220)](this[_0x2e4390(0x1cd)]['onCommandExecuted'](_0x19c84c=>{const _0x3127ed=_0x2e4390;if(_0x19c84c[_0x3127ed(0x1ee)]==null)return;const _0x4ddc9e=_0x19c84c[_0x3127ed(0x1ee)];if(_0x19c84c['id']!==Y[_0x3127ed(0x26c)]['id']||_0x4ddc9e[_0x3127ed(0x145)]!==this[_0x3127ed(0x216)])return;const _0x2a6f46={'id':_0x3127ed(0x113),'params':_0x4ddc9e},_0x566751=this['cursorInfo'];for(const [_0x183381,_0x59fca3]of _0x566751){const _0xceaafa={'id':_0x3127ed(0x113),'params':{'unitId':this[_0x3127ed(0x216)],'actions':null,'textRanges':_0x59fca3[_0x3127ed(0x147)]}},_0x426556=this[_0x3127ed(0x252)][_0x3127ed(0x1e2)](_0x2a6f46,_0xceaafa,!0x1);if(m[_0x3127ed(0x331)](_0x426556))throw _0x426556['error'];_0x566751[_0x3127ed(0x21f)](_0x183381,{..._0x59fca3,'ranges':_0x426556[_0x3127ed(0x347)][_0x3127ed(0x1ee)][_0x3127ed(0x189)]});}queueMicrotask(()=>{const _0x2d3ba3=_0x3127ed;this[_0x2d3ba3(0x34b)][_0x2d3ba3(0x124)](_0x566751);});})));}[_0x114c64(0x323)](_0x2a2058){const _0x1d7872=_0x114c64;var _0x4f0a02,_0x23101e;const {memberID:_0x3ce3b2,selection:_0x3a6dc4}=_0x2a2058[_0x1d7872(0xff)],_0x287013=Je(_0x3a6dc4),_0x52b6f8=(_0x23101e=(_0x4f0a02=this['_memberService'][_0x1d7872(0x2f8)](this[_0x1d7872(0x216)],_0x3ce3b2))==null?void 0x0:_0x4f0a02[_0x1d7872(0x1bf)])!=null?_0x23101e:'Unknown\x20user',_0x5b15d5={'color':this['_colorAssignService'][_0x1d7872(0x2e1)](_0x3ce3b2),'name':_0x52b6f8,'ranges':_0x287013},_0x38f0ad=this[_0x1d7872(0x321)];_0x38f0ad[_0x1d7872(0x21f)](_0x3ce3b2,_0x5b15d5),this['_cursorInfo$']['next'](_0x38f0ad);}['_onCursorDelete'](_0x4a71d7){const _0x53cd8f=_0x114c64,{memberID:_0x2b2511}=_0x4a71d7[_0x53cd8f(0xff)],_0xb518c6=this[_0x53cd8f(0x321)];_0xb518c6[_0x53cd8f(0x102)](_0x2b2511),this[_0x53cd8f(0x34b)]['next'](_0xb518c6);}['_toggleOnline'](){const _0x5e1e22=_0x114c64;var _0x1cd7d9;if(this[_0x5e1e22(0x28a)]=!0x0,((_0x1cd7d9=this[_0x5e1e22(0x122)][_0x5e1e22(0x2e3)]())==null?void 0x0:_0x1cd7d9[_0x5e1e22(0x234)]())!==this[_0x5e1e22(0x216)])return;const _0x5e85e1=this['_injector'][_0x5e1e22(0x1a9)](Y[_0x5e1e22(0x2fc)])['getDocRanges']();Array[_0x5e1e22(0x1e1)](_0x5e85e1)&&_0x5e85e1[_0x5e1e22(0x2f1)]>0x0&&this[_0x5e1e22(0x157)](_0x5e85e1);}[_0x114c64(0x204)](){const _0x21769e=_0x114c64;this[_0x21769e(0x28a)]=!0x1;}};fe=Qe([L(0x2,a[_0x114c64(0x307)](a[_0x114c64(0x2bc)])),L(0x3,a['Inject'](me)),L(0x4,a[_0x114c64(0x307)](u[_0x114c64(0x14a)])),L(0x5,a['Inject'](Ce)),L(0x6,m['ITransformService']),L(0x7,a[_0x114c64(0x26b)]),L(0x8,a[_0x114c64(0x287)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0x2520d8,_0x49b6ac,_0x175898,_0x549117)=>{const _0x532071=_0x114c64;for(var _0x112c70=_0x549117>0x1?void 0x0:_0x549117?st(_0x49b6ac,_0x175898):_0x49b6ac,_0x4fc8e5=_0x2520d8[_0x532071(0x2f1)]-0x1,_0x1044cb;_0x4fc8e5>=0x0;_0x4fc8e5--)(_0x1044cb=_0x2520d8[_0x4fc8e5])&&(_0x112c70=_0x1044cb(_0x112c70)||_0x112c70);return _0x112c70;},A=(_0xc9363e,_0x215dc8)=>(_0x3ac972,_0x3a163d)=>_0x215dc8(_0x3ac972,_0x3a163d,_0xc9363e);const nt=0x12c,rt=0x64,ot=()=>{let _0x1d8467=[],_0x4c1347=!0x1;return _0x585d26=>{const _0x25acc1=_0x10ca;_0x1d8467[_0x25acc1(0x33e)](_0x585d26),_0x4c1347||(_0x4c1347=!0x0,setTimeout(()=>{_0x1d8467['forEach'](_0x8cefbc=>_0x8cefbc()),_0x1d8467=[],_0x4c1347=!0x1;}));};};let Se=class extends a[_0x114c64(0x27a)]{constructor(_0xa01ea0,_0x551b05,_0x1634fe,_0x337803,_0x8afdc3,_0x2cbbe3,_0x569ed6,_0x1d3dd7){const _0x31e003=_0x114c64;super(),h(this,_0x31e003(0x28a),!0x1),h(this,_0x31e003(0x194),!0x1),h(this,'_cursorInfo$',new d[(_0x31e003(0x1d6))](new Map())),h(this,'cursorInfo$',this['_cursorInfo$'][_0x31e003(0x1ce)]()),h(this,_0x31e003(0x26d),new d['BehaviorSubject']([])),h(this,'roomMembers$',this[_0x31e003(0x26d)][_0x31e003(0x12c)](d[_0x31e003(0x1c4)](nt))),h(this,'_updateLocalCursor',a[_0x31e003(0x12e)]((_0x442856,_0x21091b)=>{const _0x14486a=_0x31e003,_0x3ebebd={'eventID':m['CollaborationEvent'][_0x14486a(0x1f6)],'data':{'unitID':this[_0x14486a(0x216)],'memberID':this[_0x14486a(0x12b)]['getMemberID'](),'selection':Ee['serializeRangeWithSheet'](_0x442856,_0x21091b[_0x14486a(0x226)])}};this[_0x14486a(0x12b)][_0x14486a(0x1f9)](_0x3ebebd,this[_0x14486a(0x216)]);},rt)),(this[_0x31e003(0x216)]=_0xa01ea0,this['_session']=_0x551b05,this[_0x31e003(0x2c4)]=_0x1634fe,this[_0x31e003(0xf0)]=_0x337803,this[_0x31e003(0x236)]=_0x8afdc3,this[_0x31e003(0x122)]=_0x2cbbe3,this[_0x31e003(0x1cd)]=_0x569ed6,this[_0x31e003(0x245)]=_0x1d3dd7);}get[_0x114c64(0x321)](){const _0x1df612=_0x114c64;return this[_0x1df612(0x34b)][_0x1df612(0x271)]();}get[_0x114c64(0x2ff)](){const _0x2ac813=_0x114c64;return this[_0x2ac813(0x26d)][_0x2ac813(0x271)]();}['dispose'](){const _0x765ec9=_0x114c64;super[_0x765ec9(0x114)](),this[_0x765ec9(0x34b)][_0x765ec9(0x124)](new Map()),this[_0x765ec9(0x34b)][_0x765ec9(0x116)](),this[_0x765ec9(0x26d)][_0x765ec9(0x124)]([]),this[_0x765ec9(0x26d)][_0x765ec9(0x116)]();}['init'](){const _0x4bf5a2=_0x114c64;this[_0x4bf5a2(0x194)]||(this['_init']=!0x0,this[_0x4bf5a2(0x12b)][_0x4bf5a2(0x2bf)]['pipe'](d[_0x4bf5a2(0x13a)](this[_0x4bf5a2(0x35d)]))['subscribe'](_0x35bd11=>{const _0x18f7b5=_0x4bf5a2;_0x35bd11===u[_0x18f7b5(0x327)][_0x18f7b5(0x2e4)]?this[_0x18f7b5(0x32b)]():this[_0x18f7b5(0x204)]();}),this[_0x4bf5a2(0x12b)]['event$'][_0x4bf5a2(0x12c)](d[_0x4bf5a2(0x13a)](this[_0x4bf5a2(0x35d)]))['subscribe'](_0x11b38d=>{const _0xdd6cf3=_0x4bf5a2,_0x535eb2=_0x11b38d[_0xdd6cf3(0x311)];_0x535eb2===m[_0xdd6cf3(0x129)]['UPDATE_CURSOR']&&this[_0xdd6cf3(0x323)](_0x11b38d),_0x535eb2===m[_0xdd6cf3(0x129)][_0xdd6cf3(0x14d)]&&this[_0xdd6cf3(0x312)](_0x11b38d);}),this[_0x4bf5a2(0x115)](),this['disposeWithMe'](this[_0x4bf5a2(0x1cd)][_0x4bf5a2(0x10c)](_0x529deb=>{const _0x5bd995=_0x4bf5a2;if(this['_online']&&_0x529deb['id']===g[_0x5bd995(0x2e6)]['id']&&_0x529deb[_0x5bd995(0x1ee)]['unitId']===this[_0x5bd995(0x216)]){const _0x1a92e9=_0x529deb[_0x5bd995(0x1ee)];this['_updateLocalCursor'](_0x1a92e9[_0x5bd995(0x2b0)],_0x1a92e9[_0x5bd995(0xed)][0x0]);}})));}[_0x114c64(0x323)](_0x20b7be){const _0x1d7f62=_0x114c64;var _0x44a03b,_0x1e9b05;const {memberID:_0x3de8ce,selection:_0x3be61f}=_0x20b7be[_0x1d7f62(0xff)],{sheetName:_0x4e99a2,range:_0x806423}=Ee[_0x1d7f62(0x239)](_0x3be61f),_0x54a9f5={'name':(_0x1e9b05=(_0x44a03b=this[_0x1d7f62(0x236)][_0x1d7f62(0x2f8)](this[_0x1d7f62(0x216)],_0x3de8ce))==null?void 0x0:_0x44a03b[_0x1d7f62(0x1bf)])!=null?_0x1e9b05:'Unknown\x20user','range':this[_0x1d7f62(0x2d4)](_0x4e99a2,_0x806423),'sheetID':_0x4e99a2,'color':this[_0x1d7f62(0xf0)][_0x1d7f62(0x2e1)](_0x3de8ce),'selection':_0x3be61f},_0x2c4afd=this[_0x1d7f62(0x321)];_0x2c4afd[_0x1d7f62(0x21f)](_0x3de8ce,_0x54a9f5),this[_0x1d7f62(0x34b)][_0x1d7f62(0x124)](_0x2c4afd);}[_0x114c64(0x312)](_0x44ca5c){const _0x521613=_0x114c64,{memberID:_0x3adde7}=_0x44ca5c['data'],_0x1974ea=this[_0x521613(0x321)];_0x1974ea[_0x521613(0x102)](_0x3adde7),this['_cursorInfo$'][_0x521613(0x124)](_0x1974ea);}[_0x114c64(0x2d4)](_0x33fcc1,_0x597d17){const _0xb14cff=_0x114c64;var _0x267a45,_0x4e492b;const _0x3d96ee=(_0x4e492b=(_0x267a45=this[_0xb14cff(0x122)][_0xb14cff(0x249)](this['unitID']))==null?void 0x0:_0x267a45[_0xb14cff(0x1b4)](_0x33fcc1))==null?void 0x0:_0x4e492b['getMergeData']();return(_0x3d96ee==null?void 0x0:_0x3d96ee[_0xb14cff(0x322)](_0x1460f9=>a[_0xb14cff(0x23f)][_0xb14cff(0x2af)](_0x1460f9,_0x597d17)))||_0x597d17;}[_0x114c64(0x115)](){const _0xc8e439=_0x114c64,_0x48558c=new a['DisposableCollection'](),_0xaf8367=ot(),_0x52bd27=()=>{const _0x884621=_0x10ca;_0x48558c['dispose']();const _0x130a7c=(_0x4f276f,_0x2a1cbc,_0x247fad,_0x3c97a3)=>{const _0x5f5449=_0x10ca;let _0x1e858d=[];switch(_0x4f276f['id']){case g[_0x5f5449(0x10d)][_0x5f5449(0x2a9)]:{_0x1e858d=g[_0x5f5449(0x217)](_0x4f276f,_0x3c97a3);break;}case g[_0x5f5449(0x10d)][_0x5f5449(0x2e2)]:{_0x1e858d=g[_0x5f5449(0x2e0)](_0x4f276f,_0x3c97a3);break;}case g[_0x5f5449(0x10d)][_0x5f5449(0x134)]:{_0x1e858d=g['handleInsertCol'](_0x4f276f,_0x3c97a3);break;}case g[_0x5f5449(0x10d)]['InsertRangeMoveDownCommandId']:{_0x1e858d=g['handleInsertRangeMoveDown'](_0x4f276f,_0x3c97a3);break;}case g[_0x5f5449(0x10d)][_0x5f5449(0x1a8)]:{_0x1e858d=g['handleInsertRangeMoveRight'](_0x4f276f,_0x3c97a3);break;}case g[_0x5f5449(0x10d)][_0x5f5449(0x2ae)]:{_0x1e858d=g[_0x5f5449(0x1f1)](_0x4f276f,_0x3c97a3);break;}case g[_0x5f5449(0x10d)][_0x5f5449(0x2dd)]:{_0x1e858d=g[_0x5f5449(0x20c)](_0x4f276f,_0x3c97a3);break;}case g['EffectRefRangId'][_0x5f5449(0x1ff)]:{_0x1e858d=g['handleIRemoveCol'](_0x4f276f,_0x3c97a3);break;}case g[_0x5f5449(0x10d)][_0x5f5449(0x23c)]:{_0x1e858d=g[_0x5f5449(0x125)](_0x4f276f,_0x3c97a3);break;}}const _0x2b0147=g['runRefRangeMutations'](_0x1e858d,_0x3c97a3),_0x3f4946=this[_0x5f5449(0x321)][_0x5f5449(0x1a9)](_0x2a1cbc);if(_0x3f4946&&_0x2b0147){const _0x5f2383={..._0x3f4946,'range':_0x2b0147};this[_0x5f5449(0x321)][_0x5f5449(0x21f)](_0x2a1cbc,_0x5f2383),_0xaf8367(()=>{const _0x297a2a=_0x5f5449,_0x36969c=this[_0x297a2a(0x245)][_0x297a2a(0x28b)](_0x2b0147,_0x4c9b44=>(_0x36969c[_0x297a2a(0x114)](),_0x130a7c(_0x4c9b44,_0x2a1cbc,_0x247fad,_0x2b0147)));_0x48558c['add'](_0x36969c);});}return{'redos':[],'undos':[]};};this[_0x884621(0x321)][_0x884621(0x21d)]((_0x9e9874,_0x34e840)=>{const _0x2c8905=_0x884621,{range:_0x5f5c4e,sheetID:_0xf04f37}=_0x9e9874,_0x5ac013=this[_0x2c8905(0x245)][_0x2c8905(0x28b)](_0x5f5c4e,_0x5216e1=>(_0x5ac013[_0x2c8905(0x114)](),_0x130a7c(_0x5216e1,_0x34e840,_0xf04f37,_0x5f5c4e)));_0x48558c[_0x2c8905(0x360)](_0x5ac013);});};this['disposeWithMe'](a[_0xc8e439(0x253)](this[_0xc8e439(0x34b)][_0xc8e439(0x2c9)](()=>{_0x52bd27();})));}[_0x114c64(0x32b)](){const _0x3e553d=_0x114c64;var _0x46416c,_0x1c24c8;if(this[_0x3e553d(0x28a)]=!0x0,((_0x46416c=this[_0x3e553d(0x122)][_0x3e553d(0x2e3)]())==null?void 0x0:_0x46416c[_0x3e553d(0x234)]())!==this[_0x3e553d(0x216)])return;const _0x3edaff=(_0x1c24c8=this[_0x3e553d(0x2c4)][_0x3e553d(0x1a9)](g['SheetsSelectionsService'])[_0x3e553d(0x27d)]())==null?void 0x0:_0x1c24c8[0x0],_0x10180e=this['_univerInstanceService'][_0x3e553d(0x15b)](a[_0x3e553d(0x35e)]['UNIVER_SHEET'])[_0x3e553d(0x111)]();_0x3edaff&&_0x10180e&&this[_0x3e553d(0x157)](_0x10180e[_0x3e553d(0x11b)](),_0x3edaff);}[_0x114c64(0x204)](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0x114c64(0x307)](a[_0x114c64(0x2bc)])),A(0x3,a[_0x114c64(0x307)](me)),A(0x4,a[_0x114c64(0x307)](u['MemberService'])),A(0x5,a[_0x114c64(0x26b)]),A(0x6,a['ICommandService']),A(0x7,a[_0x114c64(0x307)](g['RefRangeService']))],Se);var at=Object[_0x114c64(0x140)],ct=(_0x1ff039,_0x1644f6,_0x4af008,_0x9e1cf3)=>{const _0x17b44d=_0x114c64;for(var _0x4ea6ee=_0x9e1cf3>0x1?void 0x0:_0x9e1cf3?at(_0x1644f6,_0x4af008):_0x1644f6,_0x18113b=_0x1ff039[_0x17b44d(0x2f1)]-0x1,_0x431f22;_0x18113b>=0x0;_0x18113b--)(_0x431f22=_0x1ff039[_0x18113b])&&(_0x4ea6ee=_0x431f22(_0x4ea6ee)||_0x4ea6ee);return _0x4ea6ee;},ie=(_0x190f04,_0x404653)=>(_0x143a3e,_0x2997e7)=>_0x404653(_0x143a3e,_0x2997e7,_0x190f04);let x=class extends a[_0x114c64(0x27a)]{constructor(_0x4bc469,_0x29f92e,_0x5559bf){const _0x5e177a=_0x114c64;super(),h(this,_0x5e177a(0x316),new Map()),h(this,_0x5e177a(0x29b),new d[(_0x5e177a(0x2f2))]()),(this['_univerInstanceService']=_0x4bc469,this['_injector']=_0x29f92e,this[_0x5e177a(0xfc)]=_0x5559bf,this[_0x5e177a(0x194)]());}[_0x114c64(0x114)](){const _0x38e8a0=_0x114c64;super[_0x38e8a0(0x114)](),this['_entityInit$'][_0x38e8a0(0x116)](),this['_entities'][_0x38e8a0(0x21d)](_0x49566f=>_0x49566f['dispose']());}[_0x114c64(0x22b)](_0x562c7d){const _0x1b3cf6=_0x114c64;return this[_0x1b3cf6(0x316)][_0x1b3cf6(0x2e7)](_0x562c7d)?this[_0x1b3cf6(0x316)][_0x1b3cf6(0x1a9)](_0x562c7d)['cursorInfo$']:this[_0x1b3cf6(0x29b)][_0x1b3cf6(0x12c)](d['filter'](_0x36b714=>_0x36b714['unitID']===_0x562c7d),d[_0x1b3cf6(0x1d8)](_0x3693f8=>_0x3693f8['cursorInfo$']));}[_0x114c64(0x194)](){const _0x331f9d=_0x114c64;this[_0x331f9d(0x122)][_0x331f9d(0x297)](a['UniverInstanceType'][_0x331f9d(0x149)])[_0x331f9d(0x12c)](d['takeUntil'](this[_0x331f9d(0x35d)]))['subscribe'](async _0x243453=>{const _0x4ea33c=_0x331f9d,_0x4d7691=_0x243453[_0x4ea33c(0x234)](),_0x4da110=await this[_0x4ea33c(0xe7)](_0x4d7691);this[_0x4ea33c(0x29b)][_0x4ea33c(0x124)](_0x4da110),this[_0x4ea33c(0x316)]['set'](_0x4d7691,_0x4da110);}),this[_0x331f9d(0x122)][_0x331f9d(0x297)](a['UniverInstanceType']['UNIVER_DOC'])[_0x331f9d(0x12c)](d[_0x331f9d(0x13a)](this['dispose$']))[_0x331f9d(0x12c)](d['filter'](_0x4090e2=>!_0x4090e2['getUnitId']()[_0x331f9d(0x344)]('__')))[_0x331f9d(0x2c9)](async _0xa7e818=>{const _0x2b1342=_0x331f9d,_0x78fdac=_0xa7e818['getUnitId'](),_0x2a66bd=await this['_startDocCollabCursor'](_0x78fdac);this[_0x2b1342(0x29b)][_0x2b1342(0x124)](_0x2a66bd),this[_0x2b1342(0x316)][_0x2b1342(0x21f)](_0x78fdac,_0x2a66bd);}),d[_0x331f9d(0x210)](this[_0x331f9d(0x122)][_0x331f9d(0x184)](a[_0x331f9d(0x35e)][_0x331f9d(0x1f7)]),this[_0x331f9d(0x122)][_0x331f9d(0x184)](a[_0x331f9d(0x35e)][_0x331f9d(0x149)]))[_0x331f9d(0x12c)](d[_0x331f9d(0x13a)](this[_0x331f9d(0x35d)]))[_0x331f9d(0x2c9)](_0x5a7f52=>{const _0x214b7d=_0x331f9d,_0xebcafe=_0x5a7f52[_0x214b7d(0x234)](),_0x2ecc40=this['_entities']['get'](_0xebcafe);_0x2ecc40&&(_0x2ecc40[_0x214b7d(0x114)](),this['_entities'][_0x214b7d(0x102)](_0xebcafe));});}async[_0x114c64(0xe7)](_0x19e8a3){const _0x4ed4ba=_0x114c64,_0x58983a=await this[_0x4ed4ba(0xfc)][_0x4ed4ba(0x2d6)](_0x19e8a3),_0x45e721=this[_0x4ed4ba(0x2c4)][_0x4ed4ba(0x2cf)](Se,_0x19e8a3,_0x58983a);return _0x45e721[_0x4ed4ba(0x254)](),_0x45e721;}async['_startDocCollabCursor'](_0x16bfaa){const _0x5b2d9c=_0x114c64,_0x207722=await this[_0x5b2d9c(0xfc)][_0x5b2d9c(0x2d6)](_0x16bfaa),_0x1cd16f=this[_0x5b2d9c(0x2c4)][_0x5b2d9c(0x2cf)](fe,_0x16bfaa,_0x207722);return _0x1cd16f[_0x5b2d9c(0x254)](),_0x1cd16f;}};x=ct([ie(0x0,a[_0x114c64(0x26b)]),ie(0x1,a[_0x114c64(0x307)](a[_0x114c64(0x2bc)])),ie(0x2,a[_0x114c64(0x307)](u[_0x114c64(0x279)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x3ef466,_0x379e87){const _0x50ae91=_0x114c64;let {radius:_0x372197,width:_0x257f89,height:_0x364ba8}=_0x379e87;_0x372197=_0x372197!=null?_0x372197:0x0,_0x257f89=_0x257f89!=null?_0x257f89:0x1e,_0x364ba8=_0x364ba8!=null?_0x364ba8:0x1e;let _0x381baf=0x0,_0xa7013a=0x0,_0x295a6f=0x0;_0x381baf=_0xa7013a=_0x295a6f=Math[_0x50ae91(0x319)](_0x372197,_0x257f89/0x2,_0x364ba8/0x2),_0x3ef466[_0x50ae91(0x1b8)](),_0x3ef466[_0x50ae91(0xf6)](_0x381baf,0x0),_0x3ef466['lineTo'](_0x257f89-_0xa7013a,0x0),_0x3ef466[_0x50ae91(0x153)](_0x257f89-_0xa7013a,_0xa7013a,_0xa7013a,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ef466[_0x50ae91(0x33b)](_0x257f89,_0x364ba8-_0x295a6f),_0x3ef466[_0x50ae91(0x153)](_0x257f89-_0x295a6f,_0x364ba8-_0x295a6f,_0x295a6f,0x0,Math['PI']/0x2,!0x1),_0x3ef466[_0x50ae91(0x33b)](0x0,_0x364ba8),_0x3ef466[_0x50ae91(0x33b)](0x0,_0x381baf),_0x3ef466['arc'](_0x381baf,_0x381baf,_0x381baf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ef466['closePath'](),_0x379e87[_0x50ae91(0x1eb)]&&(_0x3ef466[_0x50ae91(0x150)](),_0x3ef466[_0x50ae91(0x1af)]=_0x379e87[_0x50ae91(0x1eb)],_0x379e87['fillRule']==='evenodd'?_0x3ef466[_0x50ae91(0x1eb)]('evenodd'):_0x3ef466[_0x50ae91(0x1eb)](),_0x3ef466[_0x50ae91(0x13c)]());}class ee extends p[_0x114c64(0x31f)]{constructor(_0xd658ce,_0x2f7f26){const _0x2f79e1=_0x114c64;super(_0xd658ce,_0x2f7f26),h(this,_0x2f79e1(0x14f)),h(this,_0x2f79e1(0x21e)),(this['color']=_0x2f7f26==null?void 0x0:_0x2f7f26[_0x2f79e1(0x14f)],this[_0x2f79e1(0x21e)]=_0x2f7f26==null?void 0x0:_0x2f7f26[_0x2f79e1(0x21e)]);}static[_0x114c64(0x17a)](_0x7798a6,_0x4b3a5e){const _0x24f8cc=_0x114c64,{text:_0x43baff,color:_0x4d88ce}=_0x4b3a5e;_0x7798a6[_0x24f8cc(0x150)](),_0x7798a6[_0x24f8cc(0x1b5)]=_0x24f8cc(0x343);const _0xb5708e=_0x7798a6['measureText'](_0x43baff)[_0x24f8cc(0x308)],_0x18083c=Math[_0x24f8cc(0x319)](_0xb5708e+0x2*ne,Re);_t(_0x7798a6,{'height':K,'radius':0x4,'width':_0x18083c,'fill':_0x4d88ce}),_0x7798a6[_0x24f8cc(0x1af)]=_0x24f8cc(0x224);const _0x4f3576=ne,_0x487572=K-lt,_0x10db00=Re-0x2*ne;if(_0xb5708e>_0x10db00){let _0x2b0cd4='',_0x396ff6=0x0;for(const _0x39719b of _0x43baff){const _0x143676=_0x7798a6[_0x24f8cc(0x181)](_0x39719b)[_0x24f8cc(0x308)];if(_0x396ff6+_0x143676<=_0x10db00-_0x7798a6[_0x24f8cc(0x181)](_0x24f8cc(0xe6))['width'])_0x2b0cd4+=_0x39719b,_0x396ff6+=_0x143676;else{_0x2b0cd4+=_0x24f8cc(0xe6);break;}}_0x7798a6[_0x24f8cc(0x32a)](_0x2b0cd4,_0x4f3576,_0x487572);}else _0x7798a6[_0x24f8cc(0x32a)](_0x43baff,_0x4f3576,_0x487572);_0x7798a6['restore']();}[_0x114c64(0x294)](_0x306721){const _0x30d33c=_0x114c64;ee[_0x30d33c(0x17a)](_0x306721,this);}}const re='collab-text-anchor-',ht=_0x114c64(0x2e8),ut=_0x114c64(0x137),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x114c64(0x132);class De{constructor(_0x3f6200,_0x48b8fb,_0xd6abe0,_0xcf017c){const _0x16da8f=_0x114c64;h(this,_0x16da8f(0x213),[]),h(this,_0x16da8f(0xe8),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x16da8f(0x1c2),null),h(this,_0x16da8f(0x283),null),(this[_0x16da8f(0x333)]=_0x3f6200,this[_0x16da8f(0x23b)]=_0x48b8fb,this[_0x16da8f(0xf4)]=_0xd6abe0,this[_0x16da8f(0x1df)]=_0xcf017c,this[_0x16da8f(0x12a)]());}set[_0x114c64(0x32c)](_0x45ed53){const _0x214ca3=_0x114c64;_0x45ed53?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x214ca3(0x161)]&&this[_0x214ca3(0x161)][_0x214ca3(0x17f)]()):(this[_0x214ca3(0x2cd)]&&this[_0x214ca3(0x2cd)][_0x214ca3(0x17f)](),this[_0x214ca3(0x161)]&&this['_textBubble']['hide']());}[_0x114c64(0x114)](){const _0x5686c1=_0x114c64;for(const _0x3550b8 of this[_0x5686c1(0x213)])_0x3550b8[_0x5686c1(0x114)]();this[_0x5686c1(0x161)]&&this[_0x5686c1(0x161)][_0x5686c1(0x114)](),this['_anchorDot']&&this[_0x5686c1(0x2cd)][_0x5686c1(0x114)](),this[_0x5686c1(0xe8)]&&this[_0x5686c1(0xe8)]['dispose'](),this['_eventUnsubscribe']&&this[_0x5686c1(0x283)]();}['_render'](){const _0x4ba32d=_0x114c64;var _0x3864ec;const {_docSkeleton:_0x1c8223,_document:_0x363b7e}=this,{color:_0x2844ad,name:_0x387665,ranges:_0x176c62}=this['_cursor'],_0x3f6948=_0x363b7e[_0x4ba32d(0xfd)](),{docsLeft:_0x1471a0,docsTop:_0x45c112}=_0x3f6948,_0x43f1f4=new b[(_0x4ba32d(0x219))](_0x3f6948,_0x1c8223);for(const {startOffset:_0xad5e6c,endOffset:_0xc3e59d,rangeType:_0x5c9ccb,segmentId:_0x125563,segmentPage:_0x207cf7,collapsed:_0x1dcbcf,isActive:_0x2efda1}of _0x176c62){const _0x1921f8=_0x1c8223[_0x4ba32d(0x1d4)](_0xad5e6c,!0x0,_0x125563,_0x207cf7);let _0x5b0113=_0x1c8223['findNodePositionByCharIndex'](_0xc3e59d,!0x0,_0x125563,_0x207cf7);if(_0x5b0113==null&&(_0x5b0113=_0x1c8223['findNodePositionByCharIndex'](_0xc3e59d-0x1,!0x1,_0x125563,_0x207cf7)),_0x2efda1){const {contentBoxPointGroup:_0x599742}=_0x43f1f4['getRangePointData'](_0x5b0113,_0x5b0113);if(_0x599742[_0x4ba32d(0x2f1)]===0x0)continue;this[_0x4ba32d(0x1e4)](_0x2844ad,_0x599742,_0x1471a0,_0x45c112,_0x387665),this[_0x4ba32d(0x283)]=this[_0x4ba32d(0x162)]();}if(_0x1921f8&&_0x5b0113){if(_0x5c9ccb===a['DOC_RANGE_TYPE'][_0x4ba32d(0x17e)]){const _0x1490cd=new b[(_0x4ba32d(0xee))](_0x3f6948,_0x1c8223),{pointGroup:_0x5646ed}=(_0x3864ec=_0x1490cd[_0x4ba32d(0x2d7)](_0x1921f8,_0x5b0113))!=null?_0x3864ec:{};if(_0x5646ed==null||_0x5646ed[_0x4ba32d(0x2f1)]===0x0)continue;this['_drawRectRange'](_0x2844ad,_0x5646ed,_0x1471a0,_0x45c112);}else{if(!_0x1dcbcf){const {borderBoxPointGroup:_0xd060ed}=_0x43f1f4['getRangePointData'](_0x1921f8,_0x5b0113);if(_0xd060ed[_0x4ba32d(0x2f1)]===0x0)continue;this[_0x4ba32d(0x334)](_0x2844ad,_0xd060ed,_0x1471a0,_0x45c112);}}}}}[_0x114c64(0x1e4)](_0x4f99e3,_0x5cbe9e,_0x51e06f,_0x4189fd,_0x1b2bed){const _0x517f0c=_0x114c64,_0x2f8fb5=this[_0x517f0c(0x21c)](_0x5cbe9e),{left:_0x45614e,top:_0x64d9e1,height:_0x4167b8}=_0x2f8fb5,_0x33b198=this['_getScale'](),_0x197e74=ft/_0x33b198,_0x2f3282=new p[(_0x517f0c(0x197))](re+a[_0x517f0c(0x1bb)][_0x517f0c(0x146)](k),{'left':_0x45614e+_0x51e06f-_0x197e74,'top':_0x64d9e1+_0x4189fd,'height':_0x4167b8,'width':dt,'fill':_0x4f99e3||p[_0x517f0c(0x2e5)](a['COLORS'][_0x517f0c(0x2f9)],0x0),'strokeWidth':_0x197e74,'stroke':St,'evented':!0x0});this[_0x517f0c(0xe8)]=_0x2f3282,this['_scene']['addObject'](_0x2f3282,b['TEXT_RANGE_LAYER_INDEX']);const _0x5d9d54=new p[(_0x517f0c(0x197))](re+a[_0x517f0c(0x1bb)][_0x517f0c(0x146)](k),{'left':_0x45614e+_0x51e06f-_0x197e74,'top':_0x64d9e1+_0x4189fd-oe/0x2,'height':oe,'width':oe,'fill':_0x4f99e3||p[_0x517f0c(0x2e5)](a['COLORS'][_0x517f0c(0x2f9)],0x0),'strokeWidth':0x0,'stroke':_0x4f99e3||p['getColor'](a['COLORS'][_0x517f0c(0x2f9)],0x0),'evented':!0x1});this[_0x517f0c(0x2cd)]=_0x5d9d54,this[_0x517f0c(0x23b)][_0x517f0c(0x30f)](_0x5d9d54,b[_0x517f0c(0x329)]);const _0x48201c=new ee(re+a[_0x517f0c(0x1bb)][_0x517f0c(0x146)](k),{'left':_0x45614e+_0x51e06f-_0x197e74,'top':_0x64d9e1+_0x4189fd-K,'text':_0x1b2bed,'color':_0x4f99e3});this[_0x517f0c(0x161)]=_0x48201c,this[_0x517f0c(0x23b)][_0x517f0c(0x30f)](_0x48201c,b['TEXT_RANGE_LAYER_INDEX']),this[_0x517f0c(0x32c)]=!0x1;}[_0x114c64(0x162)](){const _0x55b0f9=_0x114c64,_0x1db3e3=this[_0x55b0f9(0xe8)][_0x55b0f9(0x32e)]['subscribeEvent'](()=>{const _0x305b28=_0x55b0f9;this[_0x305b28(0x32c)]=!0x0;}),_0x28b846=this[_0x55b0f9(0xe8)]['onPointerLeave$']['subscribeEvent'](()=>{const _0xe66fdd=_0x55b0f9;this['_hideTimer']&&clearTimeout(this[_0xe66fdd(0x1c2)]),this[_0xe66fdd(0x1c2)]=setTimeout(()=>{const _0x5ac1d8=_0xe66fdd;this[_0x5ac1d8(0x32c)]=!0x1;},0x7d0);});return()=>{const _0x4e0d0a=_0x55b0f9;_0x1db3e3[_0x4e0d0a(0x214)](),_0x28b846['unsubscribe']();};}[_0x114c64(0x334)](_0x538efd,_0x13cc21,_0x39935d,_0x2eaaa8){const _0x505fba=_0x114c64,_0x1248e4=new a[(_0x505fba(0x352))](_0x538efd)[_0x505fba(0x34e)](0.2)[_0x505fba(0x28e)](),_0x6a468c=new p[(_0x505fba(0x30c))](ht+a[_0x505fba(0x1bb)][_0x505fba(0x146)](k),{'pointsGroup':_0x13cc21,'fill':_0x1248e4||p[_0x505fba(0x2e5)](a[_0x505fba(0x24c)][_0x505fba(0x2f9)],0.2),'left':_0x39935d,'top':_0x2eaaa8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x505fba(0x213)]['push'](_0x6a468c),this['_scene'][_0x505fba(0x30f)](_0x6a468c,b[_0x505fba(0x329)]);}['_drawRectRange'](_0x278d3b,_0x4bbb40,_0xe7926,_0x42b8b5){const _0x2a90c6=_0x114c64,_0x313273=new a[(_0x2a90c6(0x352))](_0x278d3b)[_0x2a90c6(0x34e)](0.2)[_0x2a90c6(0x28e)](),_0x3b7417=new p[(_0x2a90c6(0x30c))](ut+a['Tools']['generateRandomId'](k),{'pointsGroup':_0x4bbb40,'fill':_0x313273||p[_0x2a90c6(0x2e5)](a[_0x2a90c6(0x24c)][_0x2a90c6(0x2f9)],0.2),'left':_0xe7926,'top':_0x42b8b5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a90c6(0x213)]['push'](_0x3b7417),this[_0x2a90c6(0x23b)]['addObject'](_0x3b7417,b[_0x2a90c6(0x329)]);}['_getAnchorBounding'](_0x3841d0){const _0x46e389=_0x3841d0[0x0],_0x78f095=_0x46e389[0x0],_0x597b1f=_0x46e389[0x2],{x:_0x43fca9,y:_0x11b669}=_0x78f095,{x:_0x15cff2,y:_0xeb4dde}=_0x597b1f;return{'left':_0x43fca9,'top':_0x11b669,'width':_0x15cff2-_0x43fca9,'height':_0xeb4dde-_0x11b669};}[_0x114c64(0x1a6)](){const _0x3fd66d=_0x114c64,{scaleX:_0x367115,scaleY:_0x36d5ff}=this[_0x3fd66d(0x23b)]['getAncestorScale']();return Math[_0x3fd66d(0x23d)](_0x367115,_0x36d5ff);}}var It=Object[_0x114c64(0x140)],vt=(_0xbc0ae8,_0x3cdcdc,_0x3b91ac,_0xa19a65)=>{const _0x544b0d=_0x114c64;for(var _0x2c83e8=_0xa19a65>0x1?void 0x0:_0xa19a65?It(_0x3cdcdc,_0x3b91ac):_0x3cdcdc,_0x24461f=_0xbc0ae8[_0x544b0d(0x2f1)]-0x1,_0x3959c9;_0x24461f>=0x0;_0x24461f--)(_0x3959c9=_0xbc0ae8[_0x24461f])&&(_0x2c83e8=_0x3959c9(_0x2c83e8)||_0x2c83e8);return _0x2c83e8;},W=(_0x28e3da,_0x356fb0)=>(_0x303df8,_0x413cdc)=>_0x356fb0(_0x303df8,_0x413cdc,_0x28e3da);let Ie=class extends a['RxDisposable']{constructor(_0x4d7aa2,_0x58a647,_0x3911c5,_0xed5b2d,_0x13f061){const _0x25fe50=_0x114c64;super(),h(this,_0x25fe50(0x13f),[]),h(this,'_cursors',[]),(this[_0x25fe50(0x358)]=_0x4d7aa2,this['_docSkeletonManagerService']=_0x58a647,this['_collabCursorController']=_0x3911c5,this[_0x25fe50(0x1cd)]=_0xed5b2d,this[_0x25fe50(0x2b5)]=_0x13f061,this[_0x25fe50(0x194)]());}['_init'](){const _0x58f1fe=_0x114c64,_0x41d001=this[_0x58f1fe(0x358)]['unitId'],_0x232c36=this[_0x58f1fe(0x264)];this[_0x58f1fe(0x220)](d[_0x58f1fe(0x34f)]([this[_0x58f1fe(0x20e)]['getCollabCursors$'](_0x41d001),this[_0x58f1fe(0x2b5)]['currentTheme$']])[_0x58f1fe(0x12c)]($[_0x58f1fe(0x127)](([_0x582ab8,_0x34990c])=>({'skeleton':_0x232c36[_0x58f1fe(0x238)](),'cursors':[..._0x582ab8[_0x58f1fe(0x265)]()][_0x58f1fe(0x10e)](_0x25beb0=>({..._0x25beb0,'color':this[_0x58f1fe(0x2b5)][_0x58f1fe(0x176)](_0x25beb0[_0x58f1fe(0x14f)])}))})))[_0x58f1fe(0x2c9)](_0x542a1e=>{const _0x198866=_0x58f1fe;if(this['_removeCollabCursors'](),_0x542a1e){const {skeleton:_0x1949e9,cursors:_0x266cd1}=_0x542a1e;this[_0x198866(0x133)](_0x1949e9,_0x266cd1);}})),this[_0x58f1fe(0x202)](),this[_0x58f1fe(0x2f0)]();}['_updateCollabCursors'](_0x85b721,_0x3ce0bb){const _0x2a2413=_0x114c64,{scene:_0x66f88a,mainComponent:_0x4bae28}=this[_0x2a2413(0x358)],_0x2f765=_0x3ce0bb['map'](_0x57f5aa=>new De(_0x57f5aa,_0x66f88a,_0x85b721,_0x4bae28));this[_0x2a2413(0x13f)]=_0x2f765,this['_cursors']=_0x3ce0bb;}[_0x114c64(0x295)](){const _0x303299=_0x114c64;this['_removeCollabCursors']();const {scene:_0x4ff739,mainComponent:_0x40387c}=this['_context'],_0x339257=this[_0x303299(0x264)][_0x303299(0x238)](),_0x2af8ec=this[_0x303299(0x165)]['map'](_0x2086e6=>new De(_0x2086e6,_0x4ff739,_0x339257,_0x40387c));this['_cursorShapes']=_0x2af8ec;}['_removeCollabCursors'](){const _0x43bef3=_0x114c64;this[_0x43bef3(0x13f)][_0x43bef3(0x21d)](_0x5177c0=>_0x5177c0['dispose']()),this[_0x43bef3(0x13f)]=[];}['_initCommandExecutedListener'](){const _0x3e332f=_0x114c64,_0x2d15cf=[b[_0x3e332f(0x100)]['id']];this['disposeWithMe'](this[_0x3e332f(0x1cd)][_0x3e332f(0x10c)](_0x28de23=>{const _0x20edd5=_0x3e332f;_0x2d15cf[_0x20edd5(0x1c9)](_0x28de23['id'])&&_0x28de23[_0x20edd5(0x1ee)][_0x20edd5(0x145)]===this[_0x20edd5(0x358)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x38dcc1=_0x114c64;this[_0x38dcc1(0x220)](a['fromEventSubject'](this['_context'][_0x38dcc1(0x354)][_0x38dcc1(0x25a)])['pipe']($['filter'](_0x2a9023=>_0x2a9023[_0x38dcc1(0x126)]===p[_0x38dcc1(0x30b)][_0x38dcc1(0x10f)]),$[_0x38dcc1(0x2a7)](0x10))[_0x38dcc1(0x2c9)](()=>{const _0x4a9830=_0x38dcc1;this[_0x4a9830(0x295)]();}));}};Ie=vt([W(0x1,a['Inject'](Y[_0x114c64(0x148)])),W(0x2,a[_0x114c64(0x307)](x)),W(0x3,a[_0x114c64(0x287)]),W(0x4,a[_0x114c64(0x307)](a[_0x114c64(0x346)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x114c64(0x31f)]{constructor(_0x6c680,_0x826ce){const _0x546209=_0x114c64;super(_0x6c680,_0x826ce),h(this,_0x546209(0x337)),h(this,_0x546209(0x24e),!0x1),h(this,'_range'),h(this,_0x546209(0x363),''),h(this,'_labelPosition',_0x546209(0x215)),h(this,'_backgroundColor'),(_0x826ce&&this['setShapeProps'](_0x826ce),this['onPointerEnter$'][_0x546209(0x207)](()=>this[_0x546209(0x16a)]({'hovered':!0x0})),this[_0x546209(0x1cb)][_0x546209(0x207)](()=>this[_0x546209(0x16a)]({'hovered':!0x1})));}[_0x114c64(0x16a)](_0x491b0b){const _0x4bb27d=_0x114c64;var _0x5d38ca,_0x50cb9a,_0x393122,_0x5339ce,_0xe1376,_0xadff3c;this['_color']=(_0x5d38ca=_0x491b0b['color'])!=null?_0x5d38ca:this[_0x4bb27d(0x337)],this['_hovered']=(_0x50cb9a=_0x491b0b[_0x4bb27d(0x291)])!=null?_0x50cb9a:this[_0x4bb27d(0x24e)],this[_0x4bb27d(0x324)]=(_0x393122=_0x491b0b[_0x4bb27d(0x226)])!=null?_0x393122:this['_range'],this[_0x4bb27d(0x363)]=(_0x5339ce=_0x491b0b[_0x4bb27d(0x1bf)])!=null?_0x5339ce:this['_name'],this['_labelPosition']=(_0xe1376=_0x491b0b[_0x4bb27d(0x14c)])!=null?_0xe1376:this[_0x4bb27d(0x177)],this['_backgroundColor']=(_0xadff3c=_0x491b0b['backgroundColor'])!=null?_0xadff3c:this[_0x4bb27d(0x163)],this[_0x4bb27d(0x1ec)]({'width':_0x491b0b[_0x4bb27d(0x308)],'height':_0x491b0b['height']});}['onMouseMove'](_0x2bb128){const _0x57a47b=_0x114c64,{row:_0x3b6961,column:_0x3eae90}=_0x2bb128;if(_0x3b6961>=this['_range'][_0x57a47b(0x243)]&&_0x3b6961<=this[_0x57a47b(0x324)][_0x57a47b(0x359)]&&_0x3eae90>=this['_range']['startColumn']&&_0x3eae90<=this[_0x57a47b(0x324)][_0x57a47b(0x251)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x57a47b(0x16a)]({'hovered':!0x1});}['triggerDblclick'](_0x480aa9){return!0x1;}['_draw'](_0x5647c4){const _0x4f6397=_0x114c64;p[_0x4f6397(0x197)][_0x4f6397(0x17a)](_0x5647c4,{'width':this[_0x4f6397(0x308)],'height':this[_0x4f6397(0x25c)],'strokeWidth':mt,'stroke':this[_0x4f6397(0x337)],'evented':!0x1,'fill':this[_0x4f6397(0x163)]}),this[_0x4f6397(0x24e)]&&(_0x5647c4[_0x4f6397(0x150)](),_0x5647c4['transform'](0x1,0x0,0x0,0x1,this[_0x4f6397(0x308)],this[_0x4f6397(0x177)]===_0x4f6397(0x185)?0x0:-0x14),ee['drawWith'](_0x5647c4,{'text':this['_name'],'color':this[_0x4f6397(0x337)]}),_0x5647c4[_0x4f6397(0x13c)]());}}var Ct=Object[_0x114c64(0x140)],pt=(_0x26f673,_0x30ee22,_0x1cad5b,_0x1f18d2)=>{const _0x2ece5f=_0x114c64;for(var _0x5dd440=_0x1f18d2>0x1?void 0x0:_0x1f18d2?Ct(_0x30ee22,_0x1cad5b):_0x30ee22,_0x46044c=_0x26f673[_0x2ece5f(0x2f1)]-0x1,_0x5857e1;_0x46044c>=0x0;_0x46044c--)(_0x5857e1=_0x26f673[_0x46044c])&&(_0x5dd440=_0x5857e1(_0x5dd440)||_0x5dd440);return _0x5dd440;},ae=(_0x589b40,_0x4e3791)=>(_0x460e6f,_0x107ada)=>_0x4e3791(_0x460e6f,_0x107ada,_0x589b40);const bt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x18c576,_0x393ab0,_0x3ff195,_0x30461c){const _0x1cd09a=_0x114c64;super(),h(this,'_cursors',new Set()),h(this,_0x1cd09a(0x2ad),null),(this['_context']=_0x18c576,this[_0x1cd09a(0x1b1)]=_0x393ab0,this[_0x1cd09a(0x20e)]=_0x3ff195,this[_0x1cd09a(0x2b5)]=_0x30461c,this['_init']());}[_0x114c64(0x194)](){const _0x55a44a=_0x114c64;this[_0x55a44a(0x1b1)][_0x55a44a(0xe9)]['pipe']($[_0x55a44a(0x13a)](this[_0x55a44a(0x35d)]),$[_0x55a44a(0x1d8)](_0xbadff8=>{const _0x4095d2=_0x55a44a;if(_0xbadff8){const _0x26f18c=_0xbadff8['sheetId'];return d[_0x4095d2(0x34f)](this[_0x4095d2(0x20e)][_0x4095d2(0x22b)](this[_0x4095d2(0x358)][_0x4095d2(0x145)]),this[_0x4095d2(0x2b5)][_0x4095d2(0x1c5)])['pipe']($['map'](([_0xbb8d27,_0x14bf3d])=>{const _0x1eaedb=_0x4095d2,_0x427467=new Map();return _0xbb8d27[_0x1eaedb(0x21d)]((_0x4f10aa,_0x484aa5)=>{const _0x218ac6=_0x1eaedb;if(_0x4f10aa[_0x218ac6(0x158)]===_0x26f18c){const _0x179eb2={..._0x4f10aa};_0x179eb2[_0x218ac6(0x14f)]=this['_themeService'][_0x218ac6(0x176)](_0x4f10aa[_0x218ac6(0x14f)]),_0x427467[_0x218ac6(0x21f)](_0x484aa5,_0x179eb2);}}),{'skeleton':_0xbadff8,'cursors':_0x427467};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x55a44a(0x2c9)](({skeleton:_0x46986b,cursors:_0x57132a})=>{const _0x3d0f9a=_0x55a44a;this[_0x3d0f9a(0x196)](),_0x46986b&&this[_0x3d0f9a(0x133)](_0x46986b,_0x57132a);}),this[_0x55a44a(0x1b1)][_0x55a44a(0xe9)][_0x55a44a(0x2c9)](_0x13f4c5=>{const _0x730120=_0x55a44a;if(_0x13f4c5==null)return;const {skeleton:_0x179164}=_0x13f4c5,{scene:_0x49d4e7}=this[_0x730120(0x358)];_0x49d4e7[_0x730120(0x272)][_0x730120(0x207)](a[_0x730120(0x12e)](_0x5e266f=>{const _0x2d11d8=_0x730120;var _0x108a2d,_0x1d82d2;const {offsetX:_0x4cec10,offsetY:_0x213afc}=_0x5e266f,{x:_0x18ea47,y:_0x413019}=_0x49d4e7[_0x2d11d8(0x26a)](p['Vector2'][_0x2d11d8(0x20b)]([_0x4cec10,_0x213afc])),{scaleX:_0x25db03,scaleY:_0x5d5544}=_0x49d4e7[_0x2d11d8(0x18e)](),_0x364453=_0x49d4e7[_0x2d11d8(0x1c8)](p[_0x2d11d8(0x1d2)][_0x2d11d8(0x275)]),_0x503c64=_0x49d4e7[_0x2d11d8(0x258)](p['Vector2'][_0x2d11d8(0x20b)]([_0x18ea47,_0x413019]),_0x364453),_0x256c4c=_0x179164[_0x2d11d8(0x1e0)](_0x4cec10,_0x213afc,_0x25db03,_0x5d5544,_0x503c64);((_0x108a2d=this[_0x2d11d8(0x2ad)])==null?void 0x0:_0x108a2d['column'])===_0x256c4c[_0x2d11d8(0x193)]&&((_0x1d82d2=this[_0x2d11d8(0x2ad)])==null?void 0x0:_0x1d82d2[_0x2d11d8(0x2d9)])===_0x256c4c[_0x2d11d8(0x2d9)]||this[_0x2d11d8(0x165)][_0x2d11d8(0x21d)](_0x442184=>{const _0x51fc92=_0x2d11d8;_0x442184[_0x51fc92(0x299)](_0x256c4c);});},0x64));});}[_0x114c64(0x133)](_0x300705,_0x3d3f26){const _0x40dafc=_0x114c64;var _0x319ba6;const _0x134666=(_0x319ba6=this[_0x40dafc(0x1b1)][_0x40dafc(0x250)]())==null?void 0x0:_0x319ba6[_0x40dafc(0x2a2)];if(!_0x134666)return;const _0x45c9f0=this[_0x40dafc(0x190)]();if(!_0x45c9f0)return;this[_0x40dafc(0x165)][_0x40dafc(0x21d)](_0x154767=>{const _0x16c0b2=_0x40dafc;_0x154767[_0x16c0b2(0x110)]();});const {scene:_0x39da7d}=_0x45c9f0,_0x3b3be8=Et(Array[_0x40dafc(0x118)](_0x3d3f26[_0x40dafc(0x265)]()))[_0x40dafc(0x127)](_0x59be26=>{const _0x12d0c6=_0x40dafc,{color:_0x4d4042,range:_0x28a993,name:_0x47f622,selection:_0x92818,sheetID:_0xbff612}=_0x59be26,{startColumn:_0x542b3d,startRow:_0x1ea3ba,endColumn:_0x207c8a,endRow:_0x40adb9}=_0x28a993,_0x3c99b3=X[_0x12d0c6(0x2a1)](_0x1ea3ba,_0x542b3d,_0x39da7d,_0x134666),_0x5ad5db=X[_0x12d0c6(0x2a1)](_0x40adb9,_0x207c8a,_0x39da7d,_0x134666),{columnHeaderHeightAndMarginTop:_0x294c09}=_0x134666,{startX:_0x2c997f,startY:_0x107b29}=_0x3c99b3,{endX:_0x4be5a2,endY:_0x13ad33}=_0x5ad5db,_0x501dc7=_0x4be5a2-_0x2c997f,_0x157e8b=_0x13ad33-_0x107b29,_0x3f40b7={'labelPosition':_0x107b29-_0x294c09>=K?_0x12d0c6(0x215):_0x12d0c6(0x185),'sheetID':_0xbff612,'range':_0x28a993,'color':_0x4d4042,'name':_0x47f622,'selection':_0x92818,'left':_0x2c997f,'top':_0x107b29,'width':_0x501dc7,'height':_0x157e8b,'evented':!0x1,'zIndex':bt};return new Pe(_0x47f622,_0x3f40b7);});_0x39da7d[_0x40dafc(0xec)](_0x3b3be8,gt),this[_0x40dafc(0x165)]=new Set(_0x3b3be8);}[_0x114c64(0x196)](){const _0x2e2f6d=_0x114c64;var _0x55bfde;(_0x55bfde=this['_cursors'])==null||_0x55bfde[_0x2e2f6d(0x21d)](_0x58eb43=>_0x58eb43[_0x2e2f6d(0x114)]());}[_0x114c64(0x190)](){const _0xd98347=_0x114c64;return X['getSheetObject'](this[_0xd98347(0x358)][_0xd98347(0x19c)],this[_0xd98347(0x358)]);}};ve=pt([ae(0x1,a[_0x114c64(0x307)](X[_0x114c64(0x2b4)])),ae(0x2,a[_0x114c64(0x307)](x)),ae(0x3,a[_0x114c64(0x307)](a['ThemeService']))],ve);function Et(_0x560836){const _0x57ea6b=_0x114c64,_0x511b43=new Map();return _0x560836['forEach'](_0x2c2294=>{const _0x462f14=_0x10ca;if(_0x511b43['has'](_0x2c2294[_0x462f14(0x29a)])){const _0x3e62a7=_0x511b43[_0x462f14(0x1a9)](_0x2c2294['selection']);_0x3e62a7['name']+=',\x20'+_0x2c2294[_0x462f14(0x1bf)];}else _0x511b43['set'](_0x2c2294['selection'],_0x2c2294);}),Array[_0x57ea6b(0x118)](_0x511b43[_0x57ea6b(0x265)]());}var E=function(){const _0x40f6d9=_0x114c64;return E=Object[_0x40f6d9(0x1c3)]||function(_0x2fd6a5){const _0x717f17=_0x40f6d9;for(var _0x2ac50a,_0x3ec75c=0x1,_0xe3b5e5=arguments[_0x717f17(0x2f1)];_0x3ec75c<_0xe3b5e5;_0x3ec75c++){_0x2ac50a=arguments[_0x3ec75c];for(var _0xc8b3cc in _0x2ac50a)Object['prototype'][_0x717f17(0x304)][_0x717f17(0x1b0)](_0x2ac50a,_0xc8b3cc)&&(_0x2fd6a5[_0xc8b3cc]=_0x2ac50a[_0xc8b3cc]);}return _0x2fd6a5;},E['apply'](this,arguments);},Tt=function(_0x3b285b,_0x4bc27d){const _0x4bc72c=_0x114c64;var _0x49b492={};for(var _0x14787c in _0x3b285b)Object[_0x4bc72c(0x1ea)][_0x4bc72c(0x304)]['call'](_0x3b285b,_0x14787c)&&_0x4bc27d[_0x4bc72c(0x1a0)](_0x14787c)<0x0&&(_0x49b492[_0x14787c]=_0x3b285b[_0x14787c]);if(_0x3b285b!=null&&typeof Object[_0x4bc72c(0x159)]==_0x4bc72c(0x27f)){for(var _0x2f75c1=0x0,_0x14787c=Object[_0x4bc72c(0x159)](_0x3b285b);_0x2f75c1<_0x14787c[_0x4bc72c(0x2f1)];_0x2f75c1++)_0x4bc27d[_0x4bc72c(0x1a0)](_0x14787c[_0x2f75c1])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x4bc72c(0x1b0)](_0x3b285b,_0x14787c[_0x2f75c1])&&(_0x49b492[_0x14787c[_0x2f75c1]]=_0x3b285b[_0x14787c[_0x2f75c1]]);}return _0x49b492;},pe=M[_0x114c64(0x342)](function(_0x4344b1,_0x45cc48){const _0x5dac75=_0x114c64;var _0xada7e7=_0x4344b1[_0x5dac75(0x17c)],_0x210203=_0x4344b1['id'],_0x465d06=_0x4344b1[_0x5dac75(0x34a)],_0x376b92=_0x4344b1[_0x5dac75(0x228)],_0x215c61=Tt(_0x4344b1,[_0x5dac75(0x17c),'id','className',_0x5dac75(0x228)]),_0x91f9c2=_0x5dac75(0x1e3)[_0x5dac75(0x255)](_0x210203,'\x20')[_0x5dac75(0x255)](_0x465d06||'')[_0x5dac75(0x15c)](),_0x2852bb=M[_0x5dac75(0x293)]('_'[_0x5dac75(0x255)](Dt()));return Ae(_0xada7e7,''['concat'](_0x210203),{'defIds':_0xada7e7[_0x5dac75(0x29d)],'idSuffix':_0x2852bb[_0x5dac75(0x289)]},E({'ref':_0x45cc48,'className':_0x91f9c2},_0x215c61),_0x376b92);});function Ae(_0x1700db,_0x133855,_0x439b83,_0x4186a8,_0x109738){const _0x156d87=_0x114c64;return M['createElement'](_0x1700db[_0x156d87(0x240)],E(E({'key':_0x133855},Ot(_0x1700db,_0x439b83,_0x109738)),_0x4186a8),(Rt(_0x1700db,_0x439b83)['children']||[])['map'](function(_0x25d99d,_0x436daa){const _0x57d21e=_0x156d87;return Ae(_0x25d99d,''[_0x57d21e(0x255)](_0x133855,'-')[_0x57d21e(0x255)](_0x1700db[_0x57d21e(0x240)],'-')[_0x57d21e(0x255)](_0x436daa),_0x439b83,void 0x0,_0x109738);}));}function Ot(_0x23e018,_0x3b9e6e,_0x589fcd){const _0x26c65e=_0x114c64;var _0x17c08e=E({},_0x23e018[_0x26c65e(0x22c)]);_0x589fcd!=null&&_0x589fcd[_0x26c65e(0x1cf)]&&_0x17c08e['fill']==='colorChannel1'&&(_0x17c08e[_0x26c65e(0x1eb)]=_0x589fcd['colorChannel1']),_0x23e018[_0x26c65e(0x240)]==='mask'&&_0x17c08e['id']&&(_0x17c08e['id']=_0x17c08e['id']+_0x3b9e6e[_0x26c65e(0x1f2)]),Object['entries'](_0x17c08e)[_0x26c65e(0x21d)](function(_0x53fb17){const _0x634c3e=_0x26c65e;var _0x1bbfb4=_0x53fb17[0x0],_0x5b89e4=_0x53fb17[0x1];_0x1bbfb4===_0x634c3e(0x192)&&typeof _0x5b89e4=='string'&&(_0x17c08e[_0x1bbfb4]=_0x5b89e4[_0x634c3e(0x261)](/url\(#(.*)\)/,_0x634c3e(0x1a5)[_0x634c3e(0x255)](_0x3b9e6e[_0x634c3e(0x1f2)],')')));});var _0x125dd0=_0x3b9e6e[_0x26c65e(0x29d)];return!_0x125dd0||_0x125dd0[_0x26c65e(0x2f1)]===0x0||(_0x23e018[_0x26c65e(0x240)]===_0x26c65e(0x188)&&_0x17c08e[_0x26c65e(0x172)]&&(_0x17c08e[_0x26c65e(0x172)]=_0x17c08e[_0x26c65e(0x172)]+_0x3b9e6e[_0x26c65e(0x1f2)]),Object[_0x26c65e(0x303)](_0x17c08e)['forEach'](function(_0x535131){const _0x419676=_0x26c65e;var _0x3dc831=_0x535131[0x0],_0x419983=_0x535131[0x1];typeof _0x419983==_0x419676(0x267)&&(_0x17c08e[_0x3dc831]=_0x419983[_0x419676(0x261)](/url\(#(.*)\)/,_0x419676(0x1a5)[_0x419676(0x255)](_0x3b9e6e[_0x419676(0x1f2)],')')));})),_0x17c08e;}function Rt(_0x6f1dc9,_0x14b296){const _0x8e5df3=_0x114c64;var _0x5df65e,_0x3104bf=_0x14b296[_0x8e5df3(0x29d)];return!_0x3104bf||_0x3104bf[_0x8e5df3(0x2f1)]===0x0?_0x6f1dc9:_0x6f1dc9[_0x8e5df3(0x240)]===_0x8e5df3(0x130)&&(!((_0x5df65e=_0x6f1dc9[_0x8e5df3(0x24a)])===null||_0x5df65e===void 0x0)&&_0x5df65e['length'])?E(E({},_0x6f1dc9),{'children':_0x6f1dc9[_0x8e5df3(0x24a)][_0x8e5df3(0x127)](function(_0x2c4d0d){const _0x281859=_0x8e5df3;return typeof _0x2c4d0d[_0x281859(0x22c)]['id']==_0x281859(0x267)&&_0x3104bf&&_0x3104bf[_0x281859(0x1c9)](_0x2c4d0d[_0x281859(0x22c)]['id'])?E(E({},_0x2c4d0d),{'attrs':E(E({},_0x2c4d0d[_0x281859(0x22c)]),{'id':_0x2c4d0d[_0x281859(0x22c)]['id']+_0x14b296[_0x281859(0x1f2)]})}):_0x2c4d0d;})}):_0x6f1dc9;}function Dt(){const _0x247339=_0x114c64;return Math[_0x247339(0x353)]()[_0x247339(0x27c)](0x24)[_0x247339(0x1fa)](0x2,0x8);}pe[_0x114c64(0x14e)]=_0x114c64(0x2b7);var Ut={'tag':_0x114c64(0x266),'attrs':{'xmlns':_0x114c64(0x2a5),'fill':_0x114c64(0x2ef),'viewBox':_0x114c64(0x2c2),'width':_0x114c64(0x233),'height':_0x114c64(0x233)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x114c64(0x2f6),'attrs':{'stroke':_0x114c64(0x191),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x114c64(0x285),'strokeLinejoin':_0x114c64(0x285),'strokeWidth':1.2}}]},{'tag':_0x114c64(0x130),'attrs':{},'children':[{'tag':_0x114c64(0x1ba),'attrs':{'id':_0x114c64(0x36d)},'children':[{'tag':_0x114c64(0x2f6),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x114c64(0x36d)]},ye=M['forwardRef'](function(_0xfa0bd,_0x233f91){const _0x28ff0c=_0x114c64;return M['createElement'](pe,Object[_0x28ff0c(0x1c3)]({},_0xfa0bd,{'id':_0x28ff0c(0x107),'ref':_0x233f91,'icon':Ut}));});ye['displayName']='OffLineIcon';var Nt={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x114c64(0x233),'height':_0x114c64(0x233)},'children':[{'tag':'g','attrs':{'clipPath':_0x114c64(0x1e9)},'children':[{'tag':_0x114c64(0x2f6),'attrs':{'stroke':_0x114c64(0x191),'d':_0x114c64(0x164),'strokeLinecap':_0x114c64(0x285),'strokeLinejoin':_0x114c64(0x285),'strokeWidth':1.2}}]},{'tag':_0x114c64(0x130),'attrs':{},'children':[{'tag':_0x114c64(0x1ba),'attrs':{'id':_0x114c64(0x357)},'children':[{'tag':_0x114c64(0x2f6),'attrs':{'fill':_0x114c64(0x120),'d':_0x114c64(0x35b),'transform':_0x114c64(0x2b1)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=M[_0x114c64(0x342)](function(_0x4cd596,_0x522952){const _0xef7552=_0x114c64;return M[_0xef7552(0x1ef)](pe,Object[_0xef7552(0x1c3)]({},_0x4cd596,{'id':_0xef7552(0x30e),'ref':_0x522952,'icon':Nt}));});$e[_0x114c64(0x14e)]=_0x114c64(0x340);function Mt(_0x1812ef){const _0x3af72b=_0x114c64;switch(_0x1812ef){case u[_0x3af72b(0x112)]['OFFLINE']:return _0x3af72b(0x10a);case u[_0x3af72b(0x112)][_0x3af72b(0x263)]:return'collabStatus.conflict';case u[_0x3af72b(0x112)][_0x3af72b(0x174)]:return _0x3af72b(0x27b);case u[_0x3af72b(0x112)][_0x3af72b(0x25e)]:return'collabStatus.notCollab';case u[_0x3af72b(0x112)][_0x3af72b(0xf8)]:case u[_0x3af72b(0x112)][_0x3af72b(0x339)]:return _0x3af72b(0x367);case u['CollaborationStatus'][_0x3af72b(0x1c7)]:case u[_0x3af72b(0x112)][_0x3af72b(0x2cc)]:return _0x3af72b(0x15f);}}function xe(_0x4345b7){const _0x2ba580=_0x114c64,{status$:_0x18640d}=_0x4345b7,_0x69d678=T[_0x2ba580(0x1d0)](_0x18640d,u[_0x2ba580(0x112)][_0x2ba580(0x25e)]),_0x2c88c4=T['useDependency'](a['LocaleService']),_0x54f3b3=T['useDependency'](u[_0x2ba580(0x279)]),_0x46a941=_0x69d678!==u[_0x2ba580(0x112)][_0x2ba580(0x15a)],_0x9b743a=_0x2c88c4['t'](Mt(_0x69d678)),_0x1196de=_0x46a941?w[_0x2ba580(0x21b)]($e,{}):w['jsx'](ye,{}),_0x26400f=M['useCallback'](()=>{const _0x270533=_0x2ba580;_0x46a941||_0x54f3b3[_0x270533(0x2b2)]();},[_0x46a941,_0x54f3b3]);function _0x8a26a0(){const _0x330931=_0x2ba580;return w[_0x330931(0x160)](_0x330931(0x292),{'className':_0x330931(0x1de),'onClick':_0x26400f,'children':[w[_0x330931(0x21b)](_0x330931(0x292),{'className':D[_0x330931(0x1d1)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x46a941,'univer-text-red-500':!_0x46a941}),'children':_0x1196de}),w[_0x330931(0x21b)](_0x330931(0x292),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x9b743a})]});}return _0x46a941?_0x8a26a0():w['jsx'](D[_0x2ba580(0x286)],{'title':_0x2c88c4['t'](_0x2ba580(0x282)),'children':_0x8a26a0()});}var Lt=Object[_0x114c64(0x140)],wt=(_0x48fbbc,_0x32c8d0,_0x3bb0c9,_0x43aa31)=>{for(var _0x5684e7=_0x43aa31>0x1?void 0x0:_0x43aa31?Lt(_0x32c8d0,_0x3bb0c9):_0x32c8d0,_0x7a03dc=_0x48fbbc['length']-0x1,_0x45ddd8;_0x7a03dc>=0x0;_0x7a03dc--)(_0x45ddd8=_0x48fbbc[_0x7a03dc])&&(_0x5684e7=_0x45ddd8(_0x5684e7)||_0x5684e7);return _0x5684e7;},V=(_0x1f6329,_0x315b37)=>(_0x38e03d,_0x32330f)=>_0x315b37(_0x38e03d,_0x32330f,_0x1f6329);exports[_0x114c64(0x1a1)]=class extends a['Disposable']{constructor(_0x31e490,_0x3bd47a,_0x3c73d8,_0x463e08){const _0x1503b6=_0x114c64;super(),h(this,_0x1503b6(0x18c),new d[(_0x1503b6(0x1d6))](u['CollaborationStatus'][_0x1503b6(0x25e)])),(this['_univerInstanceService']=_0x31e490,this[_0x1503b6(0x2c4)]=_0x3bd47a,this[_0x1503b6(0x2fb)]=_0x3c73d8,this['_uiPartsService']=_0x463e08,this[_0x1503b6(0x1bc)](),this['_initStatusListener']());}['_initStatusListener'](){const _0xc782a1=_0x114c64;this[_0xc782a1(0x220)](this[_0xc782a1(0x122)][_0xc782a1(0x2c8)][_0xc782a1(0x12c)](d[_0xc782a1(0x1d8)](()=>{const _0x32717e=_0xc782a1,_0x58666e=this['_univerInstanceService'][_0x32717e(0x2e3)]();return _0x58666e?this[_0x32717e(0x2fb)]['getCollabEntity$'](_0x58666e[_0x32717e(0x234)]()):d['of'](null);}),d[_0xc782a1(0x1d8)](_0x55c549=>_0x55c549?_0x55c549[_0xc782a1(0xea)]:d['of'](u['CollaborationStatus'][_0xc782a1(0x25e)])))[_0xc782a1(0x2c9)](_0x5e4306=>{const _0x109aaf=_0xc782a1;this[_0x109aaf(0x18c)][_0x109aaf(0x124)](_0x5e4306);}));}[_0x114c64(0x1bc)](){const _0x55bc8b=_0x114c64;this[_0x55bc8b(0x220)](this[_0x55bc8b(0x36b)][_0x55bc8b(0x1d3)](T['BuiltInUIPart'][_0x55bc8b(0x1fe)],()=>T[_0x55bc8b(0x2fe)](Pt({'status$':this['_status$'][_0x55bc8b(0x1ce)]()}),this['_injector'])));}},exports['DesktopCollaborationStatusDisplayController']=wt([V(0x0,a[_0x114c64(0x26b)]),V(0x1,a['Inject'](a[_0x114c64(0x2bc)])),V(0x2,a[_0x114c64(0x307)](u[_0x114c64(0x1d7)])),V(0x3,T[_0x114c64(0x195)])],exports[_0x114c64(0x1a1)]);function Pt(_0x210f2d){const {status$:_0x58ce16}=_0x210f2d;return function(){const _0x25e61c=_0x10ca;return w[_0x25e61c(0x21b)](xe,{'status$':_0x58ce16});};}var At=Object[_0x114c64(0x140)],yt=(_0x514c06,_0x38994c,_0x311608,_0x48fe0f)=>{const _0x340c72=_0x114c64;for(var _0x465195=_0x48fe0f>0x1?void 0x0:_0x48fe0f?At(_0x38994c,_0x311608):_0x38994c,_0x55fb92=_0x514c06[_0x340c72(0x2f1)]-0x1,_0x554329;_0x55fb92>=0x0;_0x55fb92--)(_0x554329=_0x514c06[_0x55fb92])&&(_0x465195=_0x554329(_0x465195)||_0x465195);return _0x465195;},y=(_0x547bd0,_0x14b65b)=>(_0x2fcf3a,_0x3c3720)=>_0x14b65b(_0x2fcf3a,_0x3c3720,_0x547bd0);let q=class extends a['Disposable']{constructor(_0x508d79,_0x1bbdee,_0x5b353c,_0x50a122,_0x7bcf77,_0x40013a){const _0x3f335c=_0x114c64;super(),this[_0x3f335c(0x256)]=_0x508d79,this[_0x3f335c(0x278)]=_0x1bbdee,this[_0x3f335c(0x16e)]=_0x5b353c,this['_messageService']=_0x50a122,this[_0x3f335c(0x2d0)]=_0x7bcf77,this['_localeService']=_0x40013a,this['_setupBeforeClosingHandler'](),this[_0x3f335c(0x11a)]();}['_setupBeforeClosingHandler'](){const _0x29498d=_0x114c64;this[_0x29498d(0x220)](this['_beforeCloseService'][_0x29498d(0x22a)](()=>{const _0x204b0b=_0x29498d;if(this[_0x204b0b(0x278)][_0x204b0b(0x1b6)][_0x204b0b(0x20f)])return this[_0x204b0b(0x244)]['t'](_0x204b0b(0x310));}));}[_0x114c64(0x11a)](){const _0x29f051=_0x114c64;this[_0x29f051(0x220)](this['_collaborationUIEventService']['event$'][_0x29f051(0x2c9)](_0x4fcc2f=>{const _0x5949a1=_0x29f051;_0x4fcc2f['id']===u['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x5949a1(0x17f)]({'type':D[_0x5949a1(0x33a)][_0x5949a1(0x18a)],'content':this[_0x5949a1(0x244)]['t'](_0x5949a1(0x2c1))}),_0x4fcc2f['id']===u[_0x5949a1(0x19d)][_0x5949a1(0x17b)]&&this['_messageService'][_0x5949a1(0x17f)]({'type':D[_0x5949a1(0x33a)]['Warning'],'content':this[_0x5949a1(0x244)]['t']('collaboration.closeRoom')}),_0x4fcc2f['id']===u[_0x5949a1(0x19d)][_0x5949a1(0x1f4)]&&this[_0x5949a1(0x2d0)]['show']({'title':this['_localeService']['t'](_0x5949a1(0x284)),'content':this[_0x5949a1(0x244)]['t'](_0x5949a1(0x288)),'type':_0x5949a1(0x2eb),'duration':0x0}),_0x4fcc2f['id']===u[_0x5949a1(0x19d)][_0x5949a1(0x263)]&&this[_0x5949a1(0x336)][_0x5949a1(0x17f)]({'type':D['MessageType'][_0x5949a1(0x317)],'content':this[_0x5949a1(0x244)]['t']('collaboration.closeRoom')+'('+_0x4fcc2f['data']+')'}),_0x4fcc2f['id']===u[_0x5949a1(0x19d)]['JOIN_ROOM_FAILED']&&this[_0x5949a1(0x336)][_0x5949a1(0x17f)]({'type':D[_0x5949a1(0x33a)][_0x5949a1(0x18a)],'content':this[_0x5949a1(0x244)]['t'](_0x4fcc2f[_0x5949a1(0xff)]||'')}),_0x4fcc2f['id']===u[_0x5949a1(0x19d)][_0x5949a1(0x314)]&&this[_0x5949a1(0x336)]['show']({'type':D['MessageType'][_0x5949a1(0x18a)],'content':this[_0x5949a1(0x244)]['t'](_0x5949a1(0x2db))}),_0x4fcc2f['id']===u[_0x5949a1(0x19d)][_0x5949a1(0x168)]&&this[_0x5949a1(0x336)][_0x5949a1(0x17f)]({'type':D['MessageType'][_0x5949a1(0x317)],'content':this[_0x5949a1(0x244)]['t']('session.connection-failed')}),_0x4fcc2f['id']===u[_0x5949a1(0x19d)][_0x5949a1(0x198)]&&this[_0x5949a1(0x336)][_0x5949a1(0x17f)]({'type':D['MessageType']['Error'],'content':this[_0x5949a1(0x244)]['t'](_0x5949a1(0x167))});}));}};q=yt([y(0x0,T[_0x114c64(0x173)]),y(0x1,u[_0x114c64(0x218)]),y(0x2,a['Inject'](u[_0x114c64(0x2c6)])),y(0x3,T[_0x114c64(0x1db)]),y(0x4,T[_0x114c64(0x26f)]),y(0x5,a[_0x114c64(0x307)](a[_0x114c64(0x2aa)]))],q);const $t=_0x114c64(0x2da),Ue={},be=a['createIdentifier'](_0x114c64(0x1e6));var xt=Object[_0x114c64(0x140)],jt=(_0x174e96,_0x5cd253,_0x4dddba,_0x30990c)=>{const _0x2d705a=_0x114c64;for(var _0x2fd988=_0x30990c>0x1?void 0x0:_0x30990c?xt(_0x5cd253,_0x4dddba):_0x5cd253,_0x182935=_0x174e96[_0x2d705a(0x2f1)]-0x1,_0x5569cb;_0x182935>=0x0;_0x182935--)(_0x5569cb=_0x174e96[_0x182935])&&(_0x2fd988=_0x5569cb(_0x2fd988)||_0x2fd988);return _0x2fd988;},H=(_0x4eb7b9,_0x33b23e)=>(_0x25e65b,_0x5424e5)=>_0x33b23e(_0x25e65b,_0x5424e5,_0x4eb7b9);exports[_0x114c64(0x138)]=class extends a['RxDisposable']{constructor(_0x2202d7,_0xc1201b,_0x4e66f5,_0xc3ccba,_0x311c9f){const _0x29a784=_0x114c64;super(),this[_0x29a784(0x290)]=_0x2202d7,this[_0x29a784(0x229)]=_0xc1201b,this[_0x29a784(0x1cd)]=_0x4e66f5,this[_0x29a784(0x21a)]=_0xc3ccba,_0x311c9f?_0x311c9f==null||_0x311c9f[_0x29a784(0x104)]()[_0x29a784(0x1f3)](()=>this[_0x29a784(0x194)]()):(this[_0x29a784(0x229)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x29a784(0x194)]());}async[_0x114c64(0x194)](){const _0x36ea55=_0x114c64,_0x26f49e=this[_0x36ea55(0x290)][_0x36ea55(0x232)](_0x36ea55(0x19c)),_0x2fc8aa=this[_0x36ea55(0x290)]['getParam']('type'),_0xe63263=this[_0x36ea55(0x290)][_0x36ea55(0x232)](_0x36ea55(0x36e));if(!_0x26f49e||!_0x2fc8aa){this[_0x36ea55(0x229)][_0x36ea55(0x209)](_0x36ea55(0x237),_0x36ea55(0x356));return;}const _0x30f8c3=await this[_0x36ea55(0x21a)][_0x36ea55(0x109)](_0x26f49e,Number(_0x2fc8aa),_0xe63263);_0x30f8c3&&_0x30f8c3 instanceof a['Workbook']&&this[_0x36ea55(0x31d)](_0x30f8c3);}async[_0x114c64(0x31d)](_0x48e2e1){const _0xe6b1ba=_0x114c64;await this[_0xe6b1ba(0x178)](_0x48e2e1),_0x48e2e1[_0xe6b1ba(0x257)][_0xe6b1ba(0x12c)](d[_0xe6b1ba(0x13a)](this[_0xe6b1ba(0x35d)]))[_0xe6b1ba(0x2c9)](_0x7b0424=>{const _0x3f76f5=_0xe6b1ba;_0x7b0424&&this[_0x3f76f5(0x2ab)](_0x7b0424);}),this[_0xe6b1ba(0x290)][_0xe6b1ba(0x203)]['pipe'](d[_0xe6b1ba(0x13a)](this['dispose$']))[_0xe6b1ba(0x2c9)](()=>this[_0xe6b1ba(0x178)](_0x48e2e1));}['_updateURLWithCurrentState'](_0x8971e5,_0x5e1953=!0x1){const _0x5a28d6=_0x114c64,_0x28a573=this[_0x5a28d6(0x290)]['getParam'](_0x5a28d6(0x36e));_0x8971e5[_0x5a28d6(0x11b)]()!==_0x28a573&&this[_0x5a28d6(0x290)]['setParam']('subunit',_0x8971e5[_0x5a28d6(0x11b)](),_0x5e1953);}async[_0x114c64(0x178)](_0x3e9e52){const _0x2a99ee=_0x114c64;var _0x39a039;const _0x404295=this[_0x2a99ee(0x290)][_0x2a99ee(0x232)](_0x2a99ee(0x36e));if(!_0x404295||!_0x3e9e52[_0x2a99ee(0x1b4)](_0x404295)){const _0x48479a=_0x3e9e52['getUnhiddenWorksheets']()[0x0],_0xe35f48=_0x3e9e52[_0x2a99ee(0x1b4)](_0x48479a);if(!_0xe35f48)return;this[_0x2a99ee(0x2ab)](_0xe35f48,!0x0),await this[_0x2a99ee(0x1cd)][_0x2a99ee(0x175)](g[_0x2a99ee(0x13d)]['id'],{'unitId':_0x3e9e52[_0x2a99ee(0x234)](),'subUnitId':_0x48479a});return;}((_0x39a039=_0x3e9e52[_0x2a99ee(0x111)]())==null?void 0x0:_0x39a039['getSheetId']())!==_0x404295&&await this[_0x2a99ee(0x1cd)][_0x2a99ee(0x175)](g[_0x2a99ee(0x13d)]['id'],{'unitId':_0x3e9e52[_0x2a99ee(0x234)](),'subUnitId':_0x404295});}},exports[_0x114c64(0x138)]=jt([H(0x0,be),H(0x1,a[_0x114c64(0x30d)]),H(0x2,a[_0x114c64(0x287)]),H(0x3,a[_0x114c64(0x307)](u[_0x114c64(0x242)])),H(0x4,a['Optional'](Ke[_0x114c64(0x1d9)]))],exports[_0x114c64(0x138)]);var Bt=Object[_0x114c64(0x140)],kt=(_0x189933,_0x4b8e26,_0x52d03e,_0x5bc99e)=>{for(var _0x5bef45=_0x5bc99e>0x1?void 0x0:_0x5bc99e?Bt(_0x4b8e26,_0x52d03e):_0x4b8e26,_0x1b7d68=_0x189933['length']-0x1,_0x2e51e8;_0x1b7d68>=0x0;_0x1b7d68--)(_0x2e51e8=_0x189933[_0x1b7d68])&&(_0x5bef45=_0x2e51e8(_0x5bef45)||_0x5bef45);return _0x5bef45;},ce=(_0x65b303,_0x16d891)=>(_0x50e261,_0x380db9)=>_0x16d891(_0x50e261,_0x380db9,_0x65b303);let z=class{constructor(_0x3fe008,_0x53d075,_0x5e09c0){const _0x4689c5=_0x114c64;this[_0x4689c5(0x2c4)]=_0x3fe008,this[_0x4689c5(0x252)]=_0x53d075,this['_renderManagerService']=_0x5e09c0;}[_0x114c64(0x269)](_0x2139b7){const _0x5dbb01=_0x114c64;this[_0x5dbb01(0x152)](_0x2139b7),this[_0x5dbb01(0x248)](_0x2139b7);}[_0x114c64(0x33d)](_0x58ff4a){const _0x1eec86=_0x114c64,{unitID:_0x4a234d}=_0x58ff4a,_0x463012=this[_0x1eec86(0x1aa)]['getRenderById'](_0x4a234d)[_0x1eec86(0x349)](b[_0x1eec86(0xef)]),{redoCache:_0xb411f4}=_0x463012['getUndoRedoMutationParamsCache']();if(_0xb411f4[_0x1eec86(0x2f1)]===0x0)return _0x58ff4a;let _0x24870f=a[_0x1eec86(0x1bb)][_0x1eec86(0x2fd)](_0x58ff4a[_0x1eec86(0x330)][0x0]);for(let _0x56437f=0x0;_0x56437f<_0xb411f4[_0x1eec86(0x2f1)];_0x56437f++){const _0x4bd9ae={'id':_0x1eec86(0x113),'params':{..._0xb411f4[_0x56437f]}},_0xd04d5=this[_0x1eec86(0x252)]['transformMutation'](_0x24870f,_0x4bd9ae,!0x1);if(m[_0x1eec86(0x331)](_0xd04d5))throw _0xd04d5[_0x1eec86(0x2eb)];_0x24870f=_0xd04d5[_0x1eec86(0x31e)];}return{...a['Tools'][_0x1eec86(0x2fd)](_0x58ff4a),'mutations':[_0x24870f]};}[_0x114c64(0x152)](_0x104e32){const _0x40a3cf=_0x114c64,{unitID:_0x34dc4c}=_0x104e32,_0x245e3e=this[_0x40a3cf(0x1aa)][_0x40a3cf(0x16b)](_0x34dc4c)[_0x40a3cf(0x349)](b[_0x40a3cf(0xef)]),{undoCache:_0x4975e1,redoCache:_0x588fe6}=_0x245e3e['getUndoRedoMutationParamsCache']();if(_0x4975e1[_0x40a3cf(0x2f1)]===0x0||_0x588fe6[_0x40a3cf(0x2f1)]===0x0)return;const _0x2d99f4=[],_0x542bae=[];let _0x391ec3=a[_0x40a3cf(0x1bb)][_0x40a3cf(0x2fd)](_0x104e32[_0x40a3cf(0x330)][0x0]),_0x4a9873=a['Tools'][_0x40a3cf(0x2fd)](_0x104e32[_0x40a3cf(0x330)][0x0]);for(let _0x19dda9=_0x4975e1[_0x40a3cf(0x2f1)]-0x1;_0x19dda9>=0x0;_0x19dda9--){const _0x3b092a={'id':_0x40a3cf(0x113),'params':{..._0x4975e1[_0x19dda9]}},_0x1dba1a={'id':_0x40a3cf(0x113),'params':{..._0x588fe6[_0x19dda9]}},_0x1d25a1=this['_transformService'][_0x40a3cf(0x1e2)](_0x391ec3,_0x3b092a,!0x1),_0x37499e=this[_0x40a3cf(0x252)][_0x40a3cf(0x1e2)](_0x4a9873,_0x1dba1a,!0x1);if(m[_0x40a3cf(0x331)](_0x1d25a1))throw _0x1d25a1[_0x40a3cf(0x2eb)];if(m[_0x40a3cf(0x331)](_0x37499e))throw _0x37499e[_0x40a3cf(0x2eb)];_0x2d99f4[_0x40a3cf(0x1d5)](_0x1d25a1[_0x40a3cf(0x347)][_0x40a3cf(0x1ee)]),_0x542bae[_0x40a3cf(0x1d5)](_0x37499e['m2Prime']['params']),_0x391ec3=_0x1d25a1[_0x40a3cf(0x31e)],_0x4a9873=_0x37499e[_0x40a3cf(0x31e)];}_0x245e3e['setUndoRedoMutationParamsCache']({'undoCache':_0x2d99f4,'redoCache':_0x542bae});}[_0x114c64(0x248)](_0x2389a8){const _0xce7940=_0x114c64,{unitID:_0x43bf78}=_0x2389a8,_0xa83969=this[_0xce7940(0x1aa)][_0xce7940(0x16b)](_0x43bf78)[_0xce7940(0x349)](b[_0xce7940(0xef)]),_0x21d109=_0xa83969[_0xce7940(0x183)]();if(_0x21d109==null)return;const _0x2dac46=[{'id':_0xce7940(0x113),'params':{'unitId':_0x2389a8[_0xce7940(0x216)],'actions':null,'textRanges':[_0x21d109]}}],_0x365810=this[_0xce7940(0x252)][_0xce7940(0x1cc)](_0x2389a8,_0x2dac46);if(!m['isTransformMutationsWithChangesetSuccess'](_0x365810))throw _0x365810[_0xce7940(0x2eb)];const _0x353229=_0x365810[_0xce7940(0x347)][0x0]['params'][_0xce7940(0x189)];Array['isArray'](_0x353229)&&_0x353229[_0xce7940(0x2f1)]&&_0xa83969[_0xce7940(0x320)](_0x353229[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x114c64(0x2bc)])),ce(0x1,m[_0x114c64(0x2ee)]),ce(0x2,p['IRenderManagerService'])],z);var Ht=Object[_0x114c64(0x140)],Ft=(_0x2cf8ec,_0xf33c8c,_0x1dbd56,_0x57b409)=>{const _0xfe808=_0x114c64;for(var _0x135c03=_0x57b409>0x1?void 0x0:_0x57b409?Ht(_0xf33c8c,_0x1dbd56):_0xf33c8c,_0x411b9a=_0x2cf8ec[_0xfe808(0x2f1)]-0x1,_0x4c78c9;_0x411b9a>=0x0;_0x411b9a--)(_0x4c78c9=_0x2cf8ec[_0x411b9a])&&(_0x135c03=_0x4c78c9(_0x135c03)||_0x135c03);return _0x135c03;},le=(_0x143e36,_0x326c79)=>(_0x505b72,_0x2b00fc)=>_0x326c79(_0x505b72,_0x2b00fc,_0x143e36);function _0x4174(){const _0x4eeb67=['parse','use','textRanges','Warning','transformStateCache','_status$','RemoteUniscriptService','getAncestorScale','_unitOnClients','_getSheetObject','currentColor','mask','column','_init','IUIPartsService','_removeCollabCursors','Rect','SUBMIT_CHANGESET_TIMEOUT','TOO_MANY_REQUESTS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','jiqing.500','unit','CollaborationUIEventId','12AysCLf','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','indexOf','DesktopCollaborationStatusDisplayController','setItem','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_DUPLICATED','url(#$1','_getScale','_saveTaskMap','InsertRangeMoveRightCommandId','get','_renderManagerService','_heartbeatTimer','setStateCache','/run/','imageSourceType','fillStyle','call','_sheetSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','INVALID_ARGUMENT','getSheetBySheetId','font','saveTaskMap','runOnServer','beginPath','pushState','clipPath','Tools','_initStatusComponent','stringify','UnitStatus','name','code','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_hideTimer','assign','debounceTime','currentTheme$','3083URFVio','SYNCED','getViewport','includes','APPLY_PERMISSION_DENIED','onPointerLeave$','transformMutationsWithChangeset','_commandService','asObservable','colorChannel1','useObservable','clsx','SHEET_VIEWPORT_KEY','registerComponent','findNodePositionByCharIndex','unshift','BehaviorSubject','CollaborationController','switchMap','IRemoteInstanceService','LOCAL_CACHE_INTERVAL','IMessageService','UNDEFINED','exhaustSavingTask','univer-flex\x20univer-items-center','_document','getCellPositionByOffset','isArray','transformMutation','univerjs-icon\x20univerjs-icon-','_drawAnchor','INVITE_CODE_HAS_BEEN_UES','uni.network.url-service','_initEntityListener','CollaborationStatusDisplay','url(#on-line-icon_clip0_910_349)','prototype','fill','transformByState','SetTextSelectionsOperation','params','createElement','APPLY_REVISION_CONFILICT','handleInsertRow','idSuffix','then','PERMISSION_DENIED','_syncEditingCollabCursorService','UPDATE_CURSOR','UNIVER_DOC','UNRECOGNIZED','send','substring','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getStateCache','setConfig','HEADER_MENU','RemoveColCommandId','event$','getCurrentRevOfUnit','_initResize','urlChange$','_toggleOffline','fromEvent','history','subscribeEvent','@univerjs/design','debug','@univerjs/drawing','FromArray','handleMoveRange','EMAIL_HAS_BEEN_BOUND','_collabCursorController','size','merge','syncEditingCollabCursor','_handleEvent','_shapes','unsubscribe','top','unitID','handleDeleteRangeMoveLeft','ILocalCacheService','NodePositionConvertToCursor','_dataLoaderService','jsx','_getAnchorBounding','forEach','text','set','disposeWithMe','LOGIN_FAILED','registerDependencies','green.600','#FFF','@univerjs-pro/collaboration-client','range','collabCursorState$','extend','_logService','registerBeforeClose','getCollabCursors$','attrs','_revisionService','LOCAL_CACHE_INTERVAL_KEY','RevisionService','UNAUTHENTICATED','setTimeout','getParam','1em','getUnitId','replaceDocRanges','_memberService','[CollaborationDataLoaderController]','getSkeleton','deserializeRangeWithSheet','_unitStatus','_scene','RemoveRowCommandId','max','registerRenderModule','Rectangle','tag','isEditing','DataLoaderService','startRow','_localeService','_refRangeService','getUnitStatus$','_docSyncEditingCollabCursorService','_transformPreviousActiveRange','getUniverSheetInstance','children','defineProperty','COLORS','purple.300','_hovered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCurrent','endColumn','_transformService','toDisposable','init','concat','_beforeCloseService','activeSheet$','getVpScrollXYInfoByPosToVp','sessionTicket','onTransformChange$','_handleJoinEvent','height','undoState','NOT_COLLAB','APPLY_NON_SEQUENTIAL_REVISION','getMemberID','replace','NOT_FOUND','CONFLICT','_docSkeletonManagerService','values','svg','string','transformSelections','transformIMECache','getRelativeToViewportCoord','IUniverInstanceService','RichTextEditingMutation','_roomMembers$','SNAPSHOT_INVALID_SNAPSHOT','INotificationService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getValue','onPointerMove$','MOBILE_HAS_BEEN_BOUND','body','VIEW_MAIN','_config','_handleLeaveEvent','_localCacheService','CollaborationSessionService','RxDisposable','collabStatus.fetchMiss','toString','getCurrentSelections','YUUMI_NO_CUBOID_FOR_QUESTION','function','_disabled','distinctUntilChanged','collab-client.tooltip.reconnect','_eventUnsubscribe','permission.title','round','Tooltip','ICommandService','permission.content','current','_online','registerRefRange','@univerjs/sheets','YUUMI_UNABLE_LOAD_URL','toRgbString','Module','_urlService','hovered','div','useRef','_draw','_refreshCollabCursors','_cachedData','getTypeOfUnitAdded$','SheetCollabCursorShape','onMouseMove','selection','_entityInit$','394ojqQoZ','defIds','UniverCollaborationClientPlugin','wsSessionTicketUrl','clearInterval','getCoordByCell','skeleton','APPLY_REJECT','YUUMI_SUBSCRIPTION_NOT_FOUND','http://www.w3.org/2000/svg','href','throttleTime','clearTimeout','DeleteRangeMoveLeftCommandId','LocaleService','_updateURLWithCurrentState','CommandType','_lastPointer','InsertRowCommandId','contains','subUnitId','translate(.97)','reconnect','executionId','SheetSkeletonManagerService','_themeService','IURLService','UniverIcon','IConfigService','Disposable','disableLocalCache','_localStorageService','Injector','runId','ENSURE_SNAPSHOT_EXECUTION','sessionStatus$','PY_RUNTIME_SCRIPT_ERROR','collaboration.single-unit.warning','0\x200\x2016\x2016','@univerjs/engine-render','_injector','Plugin','CollaborationUIEventService','enableLocalCache','focused$','subscribe','isActive','COMPLETION_FINISHED','PENDING','_anchorDot','_colorIndex','createInstance','_notificationService','search','key','_scheduleSaving','_getMergeRange','setParam','requireSession','getRangePointData','rxjs/operators','row','collaboration-client-ui.config','session.will-retry','DependentOn','MoveRangeCommandId','_handleHeartbeatEvent','location','handleDeleteRangeMoveUp','assignAColorForMemberID','DeleteRangeMoveUpCommandId','getFocusedUnit','ONLINE','getColor','SetSelectionsOperation','has','collab-text-range-','_collabCursorState$','ISnapshotServerService','error','saveImage','_assignedColors','ITransformService','none','_initCommandExecutedListener','length','Subject','_getSessionTicket','HTTPService','symbol','path','@univerjs/sheets-ui','getMember','black','LICENSE_DISTRO_REJECTED','_collaborationController','DocSelectionManagerService','deepClone','connectInjector','roomMembers','replaceState','IDocClipboardService','INVITE_CODE_REQUIRED','entries','hasOwnProperty','YUUMI_ASYNCIO_CANCELLED','_send','Inject','width','226647GStUXo','rxjs','TRANSFORM_CHANGE_OBSERVABLE_TYPE','RegularPolygon','ILogService','on-line-icon','addObject','collaboration-client.offline-data-not-saved','eventID','_onCursorDelete','337780AyQYms','SOCKET_FAILED_RETRY','_transformHistoryAndStateStack','_entities','Error','Failed','min','invokeId','NO_OTHER_CLIENTS_EDITING','some','_setupSubUnitSync','m1Prime','Shape','setActiveRange','cursorInfo','find','_onCursorUpdate','_range','YUUMI_ALL_TABLES_IS_INVALID','BrowserCollaborationSocketService','SessionStatus','_docTransformIMECacheService','TEXT_RANGE_LAYER_INDEX','fillText','_toggleOnline','_hover','INTERNAL_ERROR','onPointerEnter$','DOC_RANGE_TYPE','mutations','isTransformMutationFailure','DEFAULT_WS_SESSION_TICKET_URL','_cursor','_drawTextRange','updateOfflineData','_messageService','_color','saveOfflineData','AWAITING_WITH_PENDING','MessageType','lineTo','INVALID_INVITE_CODE','transformRemoteChangeset','push','_docTransformStateCacheService','OnLineIcon','unload','forwardRef','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','startsWith','1586333ueOxao','ThemeService','m2Prime','@univerjs/core','with','className','_cursorInfo$','@univerjs/engine-formula','ALREADY_EXISTS','setAlpha','combineLatest','_httpService','IRenderManagerService','ColorKit','random','engine','5756820gfwGCQ','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','on-line-icon_clip0_910_349','_context','endRow','result','M0\x200H16V16H0z','_selfUnitIDs','dispose$','UniverInstanceType','override','add','_registerDependencies','newValue','_name','roomMembers$','CHANGESET_REVISION_CONFILICT','source','collabStatus.syncing','_removeClearOtherTimer','post','TEXT','_uiPartsService','origin','off-line-icon_clip0_910_343','subunit','...','_startSheetCollabCursor','_anchor','currentSkeleton$','status$','red.300','addObjects','selections','NodePositionConvertToRectRange','DocIMEInputManagerService','_colorAssignService','_doCreateSocket','onStarting','_ensureSubject','_docSkeleton','IImageIoService','moveTo','YUUMI_URL_COL_OUT_OF_RANGE','AWAITING','createSocket','getLocalCacheKey','all','_collabSessionService','getOffsetConfig','_saveCache','data','SetDocZoomRatioOperation','OTHER_CLIENTS_EDITING','delete','2740206rVtffv','whenReady','_configService','LICENSE_EXPORT_SIZE_EXCEEDED','off-line-icon','_docStateChangeManagerService','loadUnit','collabStatus.offline','ISocketService','onCommandExecuted','EffectRefRangId','flatMap','resize','makeDirty','getActiveSheet','CollaborationStatus','doc.mutation.rich-text-editing','dispose','_onRefRangeChange','complete','@univerjs/ui','from','@univerjs/docs','_initEvent','getSheetId','_scheduleHeartbeat','@univerjs/docs-ui','YUUMI_AI_RUN_FAILED','storage','white','WebBrowserSingleActiveUnitService','_univerInstanceService','_docClipboardService','next','handleIRemoveRow','type','map','_imageIoService','CollaborationEvent','_render','_session','pipe','UniverCollaborationClientUIPlugin','debounce','YUUMI_RATE_OVER_LIMIT','defs','SNAPSHOT_HAS_BEEN_REMOVED','rgba(255,\x20255,\x20255,\x200.01)','_updateCollabCursors','InsertColCommandId','_scheduleClearOtherTimer','getConfig','collab-rect-range-','CollaborationDataLoaderController','_clearOtherTimers','takeUntil','INVITE_CODE_ALREADY_BOUND','restore','SetWorksheetActivateCommand','@univerjs/rpc','_cursorShapes','getOwnPropertyDescriptor','USER_NOT_INVITED_CODE','addHandlerCallback','DocCollaborationEntity','_registerRenderDependencies','unitId','generateRandomId','ranges','DocSkeletonManagerService','UNIVER_SHEET','MemberService','toStringTag','labelPosition','USERS_LEAVE','displayName','color','save','LICENSE_IMPORT_SIZE_EXCEEDED','_transformUndoRedoStack','arc','_id','27VJNSPF','308096umEmBr','_updateLocalCursor','sheetID','getOwnPropertySymbols','OFFLINE','getCurrentUnitForType','trim','redoState','DocStateChangeManagerService','collabStatus.synced','jsxs','_textBubble','_handleHover','_backgroundColor','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','_cursors','YUUMI_TABLE_NOT_FOUND_IN_UNIT','session.collaboration-timeout','SOCKET_FAILED','_docTransformSelectionsService','setShapeProps','getRenderById','react/jsx-runtime','WebURLService','_collaborationUIEventService','_initDependencies','searchParams','application/json','xlink:href','IBeforeCloseService','FETCH_MISS','executeCommand','getColorFromTheme','_labelPosition','_updateSubUnitFromURLParams','getDocRanges','drawWith','CLOSE_ROOM','icon','LICENSE_MAX_UNITS_EXCEEDED','RECT','show','_createSocketURL','measureText','CONNECTOR_DATA_TOO_LARGE','getActiveRange','getTypeOfUnitDisposed$','bottom','CollaborationSocketService'];_0x4174=function(){return _0x4eeb67;};return _0x4174();}let J=class{constructor(_0x3d825f,_0x1548a9,_0x3dea2a){const _0x352f89=_0x114c64;this[_0x352f89(0x2c4)]=_0x3d825f,this[_0x352f89(0x252)]=_0x1548a9,this[_0x352f89(0x108)]=_0x3dea2a;}['transformStateCache'](_0x2dfa9b){this['_transformHistoryAndStateStack'](_0x2dfa9b);}[_0x114c64(0x33d)](_0x2b0048){const _0x55162f=_0x114c64,{unitID:_0x131384}=_0x2b0048,{collaboration:_0x2ea820}=this[_0x55162f(0x108)]['getStateCache'](_0x131384);if(_0x2ea820[_0x55162f(0x2f1)]===0x0)return _0x2b0048;let _0x261885=a[_0x55162f(0x1bb)][_0x55162f(0x2fd)](_0x2b0048[_0x55162f(0x330)][0x0]);for(let _0x3d41ab=0x0;_0x3d41ab<_0x2ea820[_0x55162f(0x2f1)];_0x3d41ab++){const _0x340bdc={'id':_0x55162f(0x113),'params':{'unitId':_0x2ea820[_0x3d41ab][_0x55162f(0x145)],..._0x2ea820[_0x3d41ab]['redoState']}},_0x59f666=this[_0x55162f(0x252)][_0x55162f(0x1e2)](_0x261885,_0x340bdc,!0x1);if(m[_0x55162f(0x331)](_0x59f666))throw _0x59f666['error'];_0x261885=_0x59f666['m1Prime'];}return{...a[_0x55162f(0x1bb)][_0x55162f(0x2fd)](_0x2b0048),'mutations':[_0x261885]};}[_0x114c64(0x315)](_0x18da20){const _0x4e16a4=_0x114c64,{unitID:_0x42c71d}=_0x18da20,{history:_0x5a9009,collaboration:_0x57c26a}=this['_docStateChangeManagerService'][_0x4e16a4(0x1fc)](_0x42c71d);if(_0x5a9009[_0x4e16a4(0x2f1)]===0x0&&_0x57c26a[_0x4e16a4(0x2f1)]===0x0)return;const _0x2d8e8e=[],_0x5af1b8=[];let _0x383454=a[_0x4e16a4(0x1bb)][_0x4e16a4(0x2fd)](_0x18da20[_0x4e16a4(0x330)][0x0]),_0x4ed130=a[_0x4e16a4(0x1bb)][_0x4e16a4(0x2fd)](_0x18da20['mutations'][0x0]);for(let _0x2385a8=_0x5a9009[_0x4e16a4(0x2f1)]-0x1;_0x2385a8>=0x0;_0x2385a8--){const _0x2c2f50={'id':_0x4e16a4(0x113),'params':{'unitId':_0x5a9009[_0x2385a8]['unitId'],..._0x5a9009[_0x2385a8][_0x4e16a4(0x25d)]}},_0x3967f5={'id':_0x4e16a4(0x113),'params':{'unitId':_0x5a9009[_0x2385a8][_0x4e16a4(0x145)],..._0x5a9009[_0x2385a8][_0x4e16a4(0x15d)]}},_0x1f3b74=this[_0x4e16a4(0x252)][_0x4e16a4(0x1e2)](_0x383454,_0x2c2f50,!0x1),_0x1b2845=this[_0x4e16a4(0x252)][_0x4e16a4(0x1e2)](_0x4ed130,_0x3967f5,!0x1);if(m[_0x4e16a4(0x331)](_0x1f3b74))throw _0x1f3b74[_0x4e16a4(0x2eb)];if(m[_0x4e16a4(0x331)](_0x1b2845))throw _0x1b2845['error'];_0x2d8e8e[_0x4e16a4(0x1d5)]({..._0x5a9009[_0x2385a8],'undoState':_0x1f3b74[_0x4e16a4(0x347)]['params'],'redoState':_0x1b2845[_0x4e16a4(0x347)]['params']}),_0x383454=_0x1f3b74[_0x4e16a4(0x31e)],_0x4ed130=_0x1b2845[_0x4e16a4(0x31e)];}_0x383454=a[_0x4e16a4(0x1bb)][_0x4e16a4(0x2fd)](_0x18da20[_0x4e16a4(0x330)][0x0]),_0x4ed130=a[_0x4e16a4(0x1bb)][_0x4e16a4(0x2fd)](_0x18da20[_0x4e16a4(0x330)][0x0]);for(let _0x16a670=_0x57c26a[_0x4e16a4(0x2f1)]-0x1;_0x16a670>=0x0;_0x16a670--){const _0x631521={'id':_0x4e16a4(0x113),'params':{'unitId':_0x57c26a[_0x16a670][_0x4e16a4(0x145)],..._0x57c26a[_0x16a670][_0x4e16a4(0x25d)]}},_0x3765e5={'id':_0x4e16a4(0x113),'params':{'unitId':_0x57c26a[_0x16a670][_0x4e16a4(0x145)],..._0x57c26a[_0x16a670][_0x4e16a4(0x15d)]}},_0xc76734=this[_0x4e16a4(0x252)]['transformMutation'](_0x383454,_0x631521,!0x1),_0x3c1a73=this[_0x4e16a4(0x252)][_0x4e16a4(0x1e2)](_0x4ed130,_0x3765e5,!0x1);if(m['isTransformMutationFailure'](_0xc76734))throw _0xc76734[_0x4e16a4(0x2eb)];if(m[_0x4e16a4(0x331)](_0x3c1a73))throw _0x3c1a73[_0x4e16a4(0x2eb)];_0x5af1b8['unshift']({..._0x57c26a[_0x16a670],'undoState':_0xc76734[_0x4e16a4(0x347)][_0x4e16a4(0x1ee)],'redoState':_0x3c1a73[_0x4e16a4(0x347)][_0x4e16a4(0x1ee)]}),_0x383454=_0xc76734[_0x4e16a4(0x31e)],_0x4ed130=_0x3c1a73['m1Prime'];}this['_docStateChangeManagerService'][_0x4e16a4(0x1ac)](_0x42c71d,{'history':_0x2d8e8e,'collaboration':_0x5af1b8});}};J=Ft([le(0x0,a[_0x114c64(0x307)](a[_0x114c64(0x2bc)])),le(0x1,m['ITransformService']),le(0x2,a['Inject'](b[_0x114c64(0x15e)]))],J);var Yt=Object[_0x114c64(0x140)],Wt=(_0x3507f7,_0x1be5e3,_0x25c6e,_0x487b5e)=>{const _0x267f8c=_0x114c64;for(var _0x5c6962=_0x487b5e>0x1?void 0x0:_0x487b5e?Yt(_0x1be5e3,_0x25c6e):_0x1be5e3,_0x4554d4=_0x3507f7[_0x267f8c(0x2f1)]-0x1,_0x170930;_0x4554d4>=0x0;_0x4554d4--)(_0x170930=_0x3507f7[_0x4554d4])&&(_0x5c6962=_0x170930(_0x5c6962)||_0x5c6962);return _0x5c6962;},Ne=(_0x434d20,_0x22931e)=>(_0x2dd0bd,_0x3d3e0f)=>_0x22931e(_0x2dd0bd,_0x3d3e0f,_0x434d20);let Z=class{constructor(_0x55e387,_0x1d2580){const _0x3f5f6e=_0x114c64;this[_0x3f5f6e(0x2c4)]=_0x55e387,this[_0x3f5f6e(0x252)]=_0x1d2580;}[_0x114c64(0x268)](_0x3de1b5){const _0x2172b3=_0x114c64;var _0x5135a4;const _0x4242a6=this[_0x2172b3(0x2c4)][_0x2172b3(0x1a9)](Y['DocSelectionManagerService']),_0xbae1c=(_0x5135a4=_0x4242a6[_0x2172b3(0x179)]())!=null?_0x5135a4:[];if(_0xbae1c[_0x2172b3(0x2f1)]===0x0)return;const _0x41d2d6=_0x3de1b5['unitID'],_0x88cdc0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41d2d6,'actions':null,'textRanges':_0xbae1c}}],_0x260f8f=this['_transformService'][_0x2172b3(0x1cc)](_0x3de1b5,_0x88cdc0);if(!m['isTransformMutationsWithChangesetSuccess'](_0x260f8f))throw _0x260f8f[_0x2172b3(0x2eb)];const _0x2b4641=_0x260f8f[_0x2172b3(0x347)][0x0]['params']['textRanges'];Array[_0x2172b3(0x1e1)](_0x2b4641)&&_0x2b4641[_0x2172b3(0x2f1)]&&_0x4242a6[_0x2172b3(0x235)](_0x2b4641,{'unitId':_0x41d2d6,'subUnitId':_0x41d2d6},!0x1);}};Z=Wt([Ne(0x0,a[_0x114c64(0x307)](a['Injector'])),Ne(0x1,m[_0x114c64(0x2ee)])],Z);var Vt=Object[_0x114c64(0x140)],Xt=(_0x40d4a1,_0x9bb651,_0x15e3cf,_0x529849)=>{const _0x5a4ee1=_0x114c64;for(var _0x432fa3=_0x529849>0x1?void 0x0:_0x529849?Vt(_0x9bb651,_0x15e3cf):_0x9bb651,_0x345fc5=_0x40d4a1[_0x5a4ee1(0x2f1)]-0x1,_0x5830ff;_0x345fc5>=0x0;_0x345fc5--)(_0x5830ff=_0x40d4a1[_0x345fc5])&&(_0x432fa3=_0x5830ff(_0x432fa3)||_0x432fa3);return _0x432fa3;},N=(_0x1a72f7,_0x399cf2)=>(_0x42e0a6,_0x25c13d)=>_0x399cf2(_0x42e0a6,_0x25c13d,_0x1a72f7);let Q=class extends a[_0x114c64(0x2b9)]{constructor(_0x9084c,_0xf16812,_0x2627f1,_0x219299,_0x29ab10,_0x538d93,_0x3ef5ed,_0x28aa34){const _0x3ab7e5=_0x114c64;super(),h(this,_0x3ab7e5(0x18c),new d[(_0x3ab7e5(0x1d6))](u[_0x3ab7e5(0x112)]['NOT_COLLAB'])),(this[_0x3ab7e5(0x108)]=_0x9084c,this[_0x3ab7e5(0x2fb)]=_0xf16812,this[_0x3ab7e5(0x328)]=_0x2627f1,this[_0x3ab7e5(0x33f)]=_0x219299,this[_0x3ab7e5(0x169)]=_0x29ab10,this[_0x3ab7e5(0x247)]=_0x538d93,this[_0x3ab7e5(0x336)]=_0x3ef5ed,this['_localeService']=_0x28aa34,this[_0x3ab7e5(0x1e7)]());}[_0x114c64(0x1e7)](){const _0x59419e=_0x114c64;this[_0x59419e(0x220)](this[_0x59419e(0x2fb)]['entityInit$'][_0x59419e(0x2c9)](_0x2666a8=>{const _0x20d29e=_0x59419e,_0x5a59d9=this[_0x20d29e(0x108)]['docStateChange$'][_0x20d29e(0x2c9)](_0x486688=>{const _0x2b14a7=_0x20d29e;if(_0x486688==null)return;const {unitId:_0x4ac8d3,redoState:_0x4eed62,commandId:_0x11e53f}=_0x486688;if(_0x4ac8d3!==_0x2666a8['unitID'])return;const _0x42de69={'id':_0x11e53f,'type':a[_0x2b14a7(0x2ac)]['MUTATION'],'params':{'unitId':_0x4ac8d3,'actions':_0x4eed62['actions'],'textRanges':null}};_0x2666a8['onLocalMutation'](_0x42de69);});if(_0x2666a8['disposeWithMe'](_0x5a59d9),_0x2666a8 instanceof u[_0x20d29e(0x143)]){const _0xfefc61={'onTransformIME':_0x548b5e=>this[_0x20d29e(0x328)][_0x20d29e(0x269)](_0x548b5e),'onTransformState':_0xa3b545=>this['_docTransformStateCacheService'][_0x20d29e(0x18b)](_0xa3b545),'onTransformSelections':_0x68bf93=>this['_docTransformSelectionsService'][_0x20d29e(0x268)](_0x68bf93),'onSyncEditingCollabCursor':_0x3d2408=>this['_docSyncEditingCollabCursorService'][_0x20d29e(0x211)](_0x3d2408),'onTransformRemoteChangesetByIMECache':_0x123cdd=>this['_docTransformIMECacheService'][_0x20d29e(0x33d)](_0x123cdd),'onTransformRemoteChangesetByStateCache':_0x76a402=>this[_0x20d29e(0x33f)][_0x20d29e(0x33d)](_0x76a402)};_0x2666a8[_0x20d29e(0x142)](_0xfefc61);}}));}};Q=Xt([N(0x0,a[_0x114c64(0x307)](b[_0x114c64(0x15e)])),N(0x1,a[_0x114c64(0x307)](u[_0x114c64(0x1d7)])),N(0x2,a[_0x114c64(0x307)](z)),N(0x3,a[_0x114c64(0x307)](J)),N(0x4,a[_0x114c64(0x307)](Z)),N(0x5,a[_0x114c64(0x307)](Ce)),N(0x6,T[_0x114c64(0x1db)]),N(0x7,a[_0x114c64(0x307)](a[_0x114c64(0x2aa)]))],Q);var Gt=Object[_0x114c64(0x140)],Kt=(_0x565b46,_0x5b254e,_0x5bf5ee,_0x4fb811)=>{const _0xc6694a=_0x114c64;for(var _0x532b97=_0x4fb811>0x1?void 0x0:_0x4fb811?Gt(_0x5b254e,_0x5bf5ee):_0x5b254e,_0x3aeb88=_0x565b46[_0xc6694a(0x2f1)]-0x1,_0x28975a;_0x3aeb88>=0x0;_0x3aeb88--)(_0x28975a=_0x565b46[_0x3aeb88])&&(_0x532b97=_0x28975a(_0x532b97)||_0x532b97);return _0x532b97;},_e=(_0x1566c2,_0x96f44)=>(_0x50a532,_0x390e54)=>_0x96f44(_0x50a532,_0x390e54,_0x1566c2);let ge=class extends a['Disposable']{constructor(_0x70c80c,_0x2e0c1b,_0x3cfee5){const _0x1b7c5c=_0x114c64;super(),h(this,_0x1b7c5c(0x296),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x1b7c5c(0x280),!0x1),(this[_0x1b7c5c(0x105)]=_0x70c80c,this['_localStorageService']=_0x2e0c1b,this['_revisionService']=_0x3cfee5);}[_0x114c64(0x2ba)](){this['_disabled']=!0x0;}[_0x114c64(0x2c7)](){const _0x19fded=_0x114c64;this[_0x19fded(0x280)]=!0x1;}get[_0x114c64(0x1b6)](){return this['_saveTaskMap'];}[_0x114c64(0x114)](){const _0x51699b=_0x114c64;this[_0x51699b(0x1dd)]()['then'](()=>super[_0x51699b(0x114)]());}async['loadOfflineData'](_0x53efba){const _0xeb78a1=_0x114c64;return this[_0xeb78a1(0x280)]?null:this[_0xeb78a1(0x2bb)]['getItem'](u[_0xeb78a1(0xfa)](_0x53efba));}async[_0x114c64(0x338)](_0x5db8a7,_0x48044b){return!!this['_localStorageService']['setItem'](_0x5db8a7,_0x48044b);}[_0x114c64(0x335)](_0xbe934,_0x3ee0cf,_0x141d95,_0x3201f8){const _0x219cb8=_0x114c64,_0x25cccf=this[_0x219cb8(0x22d)][_0x219cb8(0x201)](_0xbe934);this['_cachedData'][_0x219cb8(0x21f)](_0xbe934,{'unitID':_0xbe934,'type':_0x3ee0cf,'awaitingChangeset':_0x141d95,'mutations':_0x3201f8,'rev':_0x25cccf}),this[_0x219cb8(0x1a7)][_0x219cb8(0x2e7)](_0xbe934)||this[_0x219cb8(0x2d3)](_0xbe934);}[_0x114c64(0x2d3)](_0x483550){const _0x579978=_0x114c64,_0x5b5b36=this['_getSaveTimeout']();_0x5b5b36===0x0?this[_0x579978(0xfe)](_0x483550):this['_saveTaskMap']['set'](_0x483550,setTimeout(()=>this['_saveCache'](_0x483550),_0x5b5b36));}['_getSaveTimeout'](){const _0x2cfeb5=_0x114c64;var _0x3a48d6;return(_0x3a48d6=this[_0x2cfeb5(0x105)]['getConfig'](u[_0x2cfeb5(0x22e)]))!=null?_0x3a48d6:u[_0x2cfeb5(0x1da)];}[_0x114c64(0xfe)](_0x2a1c40){const _0x1f88aa=_0x114c64,_0x364180=this[_0x1f88aa(0x1a7)][_0x1f88aa(0x1a9)](_0x2a1c40);return _0x364180!==void 0x0&&window['clearTimeout'](_0x364180),this[_0x1f88aa(0x2bb)][_0x1f88aa(0x1a2)](u[_0x1f88aa(0xfa)](_0x2a1c40),this[_0x1f88aa(0x296)]['get'](_0x2a1c40))[_0x1f88aa(0x1f3)](()=>this[_0x1f88aa(0x1a7)][_0x1f88aa(0x102)](_0x2a1c40));}async['exhaustSavingTask'](){const _0x53413e=_0x114c64,_0x3c6852=[];this['_saveTaskMap'][_0x53413e(0x21d)]((_0x30ef38,_0x5f4cdb)=>{const _0x52ac51=_0x53413e;window['clearTimeout'](_0x30ef38),_0x3c6852[_0x52ac51(0x33e)](this[_0x52ac51(0xfe)](_0x5f4cdb)[_0x52ac51(0x1f3)](()=>{const _0x369ebf=_0x52ac51;this[_0x369ebf(0x1a7)][_0x369ebf(0x102)](_0x5f4cdb);}));}),await Promise[_0x53413e(0xfb)](_0x3c6852);}};ge=Kt([_e(0x0,a[_0x114c64(0x2b8)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x114c64(0x307)](m[_0x114c64(0x22f)]))],ge);class je extends a[_0x114c64(0x27a)]{constructor(){const _0x23733e=_0x114c64;super(),h(this,_0x23733e(0x203)),this[_0x23733e(0x203)]=d[_0x23733e(0x205)](window,'popstate')[_0x23733e(0x12c)](d[_0x23733e(0x13a)](this[_0x23733e(0x35d)]),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0x114c64(0x2d5)](_0x25de5e,_0x36a73d,_0x497485=!0x1){const _0x53abab=_0x114c64,_0x1a049a=new URL(window['location']['href']);_0x1a049a[_0x53abab(0x170)][_0x53abab(0x21f)](_0x25de5e,_0x36a73d),_0x497485?window[_0x53abab(0x206)][_0x53abab(0x300)]('','',_0x1a049a[_0x53abab(0x27c)]()):window[_0x53abab(0x206)][_0x53abab(0x1b9)]('','',_0x1a049a[_0x53abab(0x27c)]());}['removeParam'](_0x26006e,_0x4cc659=!0x1){const _0x147011=_0x114c64,_0x2adae9=new URL(window['location'][_0x147011(0x2a6)]);_0x2adae9['searchParams']['delete'](_0x26006e),_0x4cc659?window[_0x147011(0x206)][_0x147011(0x300)]('','',_0x2adae9['toString']()):window[_0x147011(0x206)][_0x147011(0x1b9)]('','',_0x2adae9[_0x147011(0x27c)]());}['getParam'](_0x538a1a){const _0x33ef58=_0x114c64;var _0x3cd744;return(_0x3cd744=new URL(window[_0x33ef58(0x2df)][_0x33ef58(0x2a6)])[_0x33ef58(0x170)][_0x33ef58(0x1a9)](_0x538a1a))!=null?_0x3cd744:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x114c64(0x140)],Jt=(_0x22dbf0,_0x2af4e3,_0x186704)=>_0x2af4e3 in _0x22dbf0?qt(_0x22dbf0,_0x2af4e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x186704}):_0x22dbf0[_0x2af4e3]=_0x186704,Zt=(_0x1624a8,_0x36b072,_0x4bfb30,_0x333d84)=>{const _0x297c56=_0x114c64;for(var _0x1ee29b=_0x333d84>0x1?void 0x0:_0x333d84?zt(_0x36b072,_0x4bfb30):_0x36b072,_0x335c84=_0x1624a8[_0x297c56(0x2f1)]-0x1,_0x50f887;_0x335c84>=0x0;_0x335c84--)(_0x50f887=_0x1624a8[_0x335c84])&&(_0x1ee29b=_0x50f887(_0x1ee29b)||_0x1ee29b);return _0x1ee29b;},he=(_0x18d000,_0x5c0afd)=>(_0x253df3,_0xcdddeb)=>_0x5c0afd(_0x253df3,_0xcdddeb,_0x18d000),Qt=(_0x54f6b2,_0xe6ff96,_0x53d0c3)=>Jt(_0x54f6b2,_0xe6ff96+'',_0x53d0c3);const es=_0x114c64(0x1fb);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x114c64(0x2c5)]{constructor(_0x29ec7f=Ue,_0x2ccb8a,_0x117bc3,_0x2763ef){const _0x5542e2=_0x114c64;super(),this['_config']=_0x29ec7f,this[_0x5542e2(0x1aa)]=_0x2ccb8a,this['_injector']=_0x117bc3,this[_0x5542e2(0x105)]=_0x2763ef;const {..._0x5c55dc}=a['merge']({},Ue,this[_0x5542e2(0x276)]);this[_0x5542e2(0x105)][_0x5542e2(0x1fd)]($t,_0x5c55dc);}[_0x114c64(0xf2)](){this['_registerDependencies'](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x114c64(0x361)](){const _0x431ebc=_0x114c64;var _0x4a5eb7;const _0x280ad8=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x431ebc(0x10b)],{'useClass':G['WebSocketService']}],[u[_0x431ebc(0x218)],{'useClass':ge}],[exports[_0x431ebc(0x1a1)]],[Q],[q],[x],[de],[exports[_0x431ebc(0x138)]]];a[_0x431ebc(0x222)](this[_0x431ebc(0x2c4)],a['mergeOverrideWithDependencies'](_0x280ad8,(_0x4a5eb7=this['_config'])==null?void 0x0:_0x4a5eb7[_0x431ebc(0x35f)]));}[_0x114c64(0x144)](){const _0x32e257=_0x114c64;this[_0x32e257(0x220)](this['_renderManagerService']['registerRenderModule'](a[_0x32e257(0x35e)]['UNIVER_DOC'],[Ie])),this[_0x32e257(0x220)](this[_0x32e257(0x1aa)][_0x32e257(0x23e)](a[_0x32e257(0x35e)][_0x32e257(0x149)],[ve]));}[_0x114c64(0x16f)](){const _0x578432=_0x114c64;a['touchDependencies'](this[_0x578432(0x2c4)],[[x],[exports[_0x578432(0x1a1)]],[Q],[q],[exports[_0x578432(0x138)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],'pluginName',es),exports[_0x114c64(0x12d)]=Zt([a[_0x114c64(0x2dc)](u[_0x114c64(0x29e)]),he(0x1,p[_0x114c64(0x351)]),he(0x2,a[_0x114c64(0x307)](a[_0x114c64(0x2bc)])),he(0x3,a[_0x114c64(0x2b8)])],exports[_0x114c64(0x12d)]);var ts=Object[_0x114c64(0x140)],ss=(_0x463958,_0x540355,_0xf9c1fc,_0x565849)=>{for(var _0x276e0d=_0x565849>0x1?void 0x0:_0x565849?ts(_0x540355,_0xf9c1fc):_0x540355,_0x2be850=_0x463958['length']-0x1,_0x5ddeb3;_0x2be850>=0x0;_0x2be850--)(_0x5ddeb3=_0x463958[_0x2be850])&&(_0x276e0d=_0x5ddeb3(_0x276e0d)||_0x276e0d);return _0x276e0d;},F=(_0x46d153,_0x2b75c6)=>(_0x478255,_0x2ec3c5)=>_0x2b75c6(_0x478255,_0x2ec3c5,_0x46d153);exports[_0x114c64(0x326)]=class extends u[_0x114c64(0x186)]{constructor(_0x13753b,_0x41ef84,_0x49457d,_0x336ffd,_0x1ec1ac){super(_0x13753b,_0x41ef84,_0x49457d,_0x336ffd,_0x1ec1ac);}async[_0x114c64(0xf9)](_0x2b88c9){const _0x5ec942=_0x114c64,_0x2982ef=await this[_0x5ec942(0x2f3)](),_0x2405db=this['_createSocketURL'](_0x2b88c9,_0x2982ef);return this[_0x5ec942(0xf1)](_0x2405db);}[_0x114c64(0x180)](_0x4757df,_0x5f3c48){const _0x50101c=_0x114c64,_0x322ad6=typeof window>'u'?new URL(_0x4757df):new URL(_0x4757df,window['location'][_0x50101c(0x36c)]);_0x322ad6[_0x50101c(0x170)][_0x50101c(0x21f)](_0x50101c(0x259),_0x5f3c48);const _0x500d5c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50101c(0x2df)][_0x50101c(0x2d1)]);return _0x500d5c[_0x50101c(0x1a9)](_0x50101c(0x2bd))&&_0x322ad6[_0x50101c(0x170)][_0x50101c(0x21f)](_0x50101c(0x2bd),_0x500d5c[_0x50101c(0x1a9)](_0x50101c(0x2bd))),_0x322ad6[_0x50101c(0x27c)]();}async['_getSessionTicket'](){const _0x5148f1=_0x114c64;var _0x41b221,_0x231520,_0x1f9f6d;const _0x1f6c39=this[_0x5148f1(0x105)][_0x5148f1(0x136)](u[_0x5148f1(0x1c1)]),_0x50b534=(_0x41b221=_0x1f6c39==null?void 0x0:_0x1f6c39[_0x5148f1(0x29f)])!=null?_0x41b221:u[_0x5148f1(0x332)];return(_0x1f9f6d=(_0x231520=(await this[_0x5148f1(0x350)]['get'](_0x50b534,{'headers':{'Content-Type':_0x5148f1(0x171)}}))[_0x5148f1(0x274)])==null?void 0x0:_0x231520['ticket'])!=null?_0x1f9f6d:'';}},exports[_0x114c64(0x326)]=ss([F(0x0,a[_0x114c64(0x307)](a[_0x114c64(0x2bc)])),F(0x1,a[_0x114c64(0x307)](G[_0x114c64(0x2f4)])),F(0x2,a[_0x114c64(0x2b8)]),F(0x3,a[_0x114c64(0x30d)]),F(0x4,m[_0x114c64(0x2ea)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class is extends a[_0x114c64(0x2b9)]{constructor(){const _0x2ea24f=_0x114c64;super(),h(this,_0x2ea24f(0x154),a[_0x2ea24f(0x146)]()),h(this,_0x2ea24f(0x35c),new Set()),h(this,_0x2ea24f(0x18f),new Map()),h(this,_0x2ea24f(0x1ab),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x2ea24f(0x23a),new Map()),this[_0x2ea24f(0x194)]();}[_0x114c64(0x114)](){const _0xc40bad=_0x114c64;super[_0xc40bad(0x114)](),this[_0xc40bad(0x139)][_0xc40bad(0x21d)]((_0x31e87d,_0x23cb7b)=>this[_0xc40bad(0x368)](_0x23cb7b)),this[_0xc40bad(0x1ab)]&&window[_0xc40bad(0x2a0)](this['_heartbeatTimer']);}[_0x114c64(0x246)](_0x57c49c){const _0x55940f=_0x114c64;return this[_0x55940f(0xf3)](_0x57c49c)[_0x55940f(0x12c)](d[_0x55940f(0x281)]());}['editingUnit'](_0x32a41a){const _0x2aad51=_0x114c64;this[_0x2aad51(0x35c)][_0x2aad51(0x20f)]===0x0&&this[_0x2aad51(0x11c)](),this[_0x2aad51(0x35c)][_0x2aad51(0x360)](_0x32a41a),this[_0x2aad51(0x306)]({'type':0x0,'memberID':this[_0x2aad51(0x154)],'unitIDs':[_0x32a41a],'isForwarded':!0x1});}['disposeUnit'](_0x45ee38){const _0x28ccfc=_0x114c64;this[_0x28ccfc(0x35c)][_0x28ccfc(0x102)](_0x45ee38),this[_0x28ccfc(0x35c)][_0x28ccfc(0x20f)]===0x0&&this[_0x28ccfc(0x1ab)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x114c64(0x194)](){const _0x52d866=_0x114c64;this[_0x52d866(0x220)](a['toDisposable'](d[_0x52d866(0x205)](window,_0x52d866(0x11f))[_0x52d866(0x2c9)](_0x126f41=>{const _0x88dd3e=_0x52d866;if(_0x126f41[_0x88dd3e(0x2d2)]!==Le||!_0x126f41['newValue'])return;const _0x22a0d7=JSON[_0x88dd3e(0x187)](_0x126f41[_0x88dd3e(0x362)]);this[_0x88dd3e(0x212)](_0x22a0d7);}))),window['addEventListener'](_0x52d866(0x341),()=>this[_0x52d866(0x306)]({'type':0x1,'memberID':this[_0x52d866(0x154)],'unitIDs':Array[_0x52d866(0x118)](this[_0x52d866(0x35c)])}));}['_handleEvent'](_0x5d5440){const _0x57acb4=_0x114c64;switch(_0x5d5440['type']){case 0x0:this[_0x57acb4(0x25b)](_0x5d5440);break;case 0x1:this[_0x57acb4(0x277)](_0x5d5440);break;case 0x2:this[_0x57acb4(0x2de)](_0x5d5440);break;}}[_0x114c64(0x25b)](_0x1c537f){const _0x2fc69d=_0x114c64,{unitIDs:_0x3447f9,memberID:_0x5d43f3,isForwarded:_0x1902e3}=_0x1c537f;_0x3447f9[_0x2fc69d(0x21d)](_0x11f934=>{const _0x214e18=_0x2fc69d;if(!_0x1902e3&&this[_0x214e18(0x18f)][_0x214e18(0x2e7)](_0x11f934)&&this[_0x214e18(0xf3)](_0x11f934)[_0x214e18(0x124)](u['UnitStatus'][_0x214e18(0x101)]),!this[_0x214e18(0x18f)]['has'](_0x11f934)||!this['_unitOnClients']['get'](_0x11f934)[_0x214e18(0x2e7)](_0x5d43f3)){const _0x40f9bd=this[_0x214e18(0x18f)][_0x214e18(0x1a9)](_0x11f934)||new Set();_0x40f9bd[_0x214e18(0x360)](_0x5d43f3),this[_0x214e18(0x18f)][_0x214e18(0x21f)](_0x11f934,_0x40f9bd),this[_0x214e18(0x135)](_0x5d43f3);}}),_0x1902e3||this[_0x2fc69d(0x306)]({'type':0x0,'memberID':this[_0x2fc69d(0x154)],'unitIDs':[...this[_0x2fc69d(0x35c)]],'isForwarded':!0x0});}[_0x114c64(0x135)](_0x133dba){const _0x54c93b=_0x114c64;this[_0x54c93b(0x368)](_0x133dba);const _0x3ecd17=window[_0x54c93b(0x231)](()=>{const _0x5c4f67=_0x54c93b;this[_0x5c4f67(0x18f)][_0x5c4f67(0x21d)](_0x3940b6=>{const _0x5b509c=_0x5c4f67;_0x3940b6[_0x5b509c(0x102)](_0x133dba);});},Me*0x2);this[_0x54c93b(0x139)][_0x54c93b(0x21f)](_0x133dba,_0x3ecd17);}[_0x114c64(0x368)](_0x23909f){const _0x47ee1f=_0x114c64;if(this['_clearOtherTimers'][_0x47ee1f(0x2e7)](_0x23909f)){const _0x53db58=this[_0x47ee1f(0x139)][_0x47ee1f(0x1a9)](_0x23909f);_0x53db58&&window[_0x47ee1f(0x2a8)](_0x53db58),this[_0x47ee1f(0x139)][_0x47ee1f(0x21f)](_0x23909f,null);}}[_0x114c64(0x277)](_0x540a56){const _0x1d475b=_0x114c64,{memberID:_0x17aa63,unitIDs:_0x2bb9e7}=_0x540a56;_0x2bb9e7['forEach'](_0x592018=>{const _0x510a2f=_0x10ca;var _0x13cc85;const _0x5b9ff8=this[_0x510a2f(0x18f)][_0x510a2f(0x1a9)](_0x592018);_0x5b9ff8&&(_0x5b9ff8[_0x510a2f(0x102)](_0x17aa63),(_0x13cc85=this[_0x510a2f(0xf3)](_0x592018))==null||_0x13cc85[_0x510a2f(0x124)](_0x5b9ff8[_0x510a2f(0x20f)]===0x0?u['UnitStatus'][_0x510a2f(0x31b)]:u[_0x510a2f(0x1be)][_0x510a2f(0x101)]));}),this[_0x1d475b(0x368)](_0x17aa63);}[_0x114c64(0x2de)](_0x338bd1){const _0x4ee868=_0x114c64;this[_0x4ee868(0x135)](_0x338bd1['memberID']);}['_send'](_0x43ee89){const _0x1f6da2=_0x114c64;localStorage['setItem'](Le,JSON[_0x1f6da2(0x1bd)](_0x43ee89));}[_0x114c64(0x11c)](){const _0x3524e9=_0x114c64;this[_0x3524e9(0x1ab)]=window['setInterval'](()=>{const _0x28448b=_0x3524e9;this[_0x28448b(0x306)]({'type':0x2,'memberID':this[_0x28448b(0x154)]});},Me);}['_ensureSubject'](_0x882820){const _0x1b33f2=_0x114c64;return this[_0x1b33f2(0x23a)]['has'](_0x882820)||this[_0x1b33f2(0x23a)][_0x1b33f2(0x21f)](_0x882820,new d[(_0x1b33f2(0x1d6))](u[_0x1b33f2(0x1be)][_0x1b33f2(0x31b)])),this[_0x1b33f2(0x23a)][_0x1b33f2(0x1a9)](_0x882820);}}var Be=(_0x527e69=>(_0x527e69[_0x527e69[_0x114c64(0x1dc)]=0x0]=_0x114c64(0x1dc),_0x527e69[_0x527e69['OK']=0x1]='OK',_0x527e69[_0x527e69['INTERNAL_ERROR']=0x2]=_0x114c64(0x32d),_0x527e69[_0x527e69[_0x114c64(0x1f4)]=0x3]=_0x114c64(0x1f4),_0x527e69[_0x527e69[_0x114c64(0x262)]=0x4]=_0x114c64(0x262),_0x527e69[_0x527e69['UNAUTHENTICATED']=0x5]=_0x114c64(0x230),_0x527e69[_0x527e69[_0x114c64(0x34d)]=0x6]='ALREADY_EXISTS',_0x527e69[_0x527e69['INVALID_ARGUMENT']=0x7]=_0x114c64(0x1b3),_0x527e69[_0x527e69[_0x114c64(0x199)]=0x8]=_0x114c64(0x199),_0x527e69[_0x527e69['COMPLETION_FINISHED']=0x9]=_0x114c64(0x2cb),_0x527e69[_0x527e69[_0x114c64(0x221)]=0xa]=_0x114c64(0x221),_0x527e69[_0x527e69[_0x114c64(0x365)]=0x1389]=_0x114c64(0x365),_0x527e69[_0x527e69['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x114c64(0x26e),_0x527e69[_0x527e69[_0x114c64(0x131)]=0x1772]=_0x114c64(0x131),_0x527e69[_0x527e69[_0x114c64(0x2be)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x527e69[_0x527e69['APPLY_REJECT']=0x1b59]=_0x114c64(0x2a3),_0x527e69[_0x527e69[_0x114c64(0x25f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x527e69[_0x527e69[_0x114c64(0x1f0)]=0x1b5b]=_0x114c64(0x1f0),_0x527e69[_0x527e69[_0x114c64(0x1ca)]=0x1b5c]=_0x114c64(0x1ca),_0x527e69[_0x527e69['APPLY_DUPLICATED']=0x1b5d]=_0x114c64(0x1a4),_0x527e69[_0x527e69[_0x114c64(0x182)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x527e69[_0x527e69[_0x114c64(0x17d)]=0x2329]=_0x114c64(0x17d),_0x527e69[_0x527e69['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x114c64(0x24f),_0x527e69[_0x527e69[_0x114c64(0x151)]=0x232b]=_0x114c64(0x151),_0x527e69[_0x527e69[_0x114c64(0x106)]=0x232c]=_0x114c64(0x106),_0x527e69[_0x527e69['LICENSE_DISTRO_REJECTED']=0x232d]=_0x114c64(0x2fa),_0x527e69[_0x527e69[_0x114c64(0x28d)]=0x2711]=_0x114c64(0x28d),_0x527e69[_0x527e69[_0x114c64(0xf7)]=0x2712]=_0x114c64(0xf7),_0x527e69[_0x527e69[_0x114c64(0x12f)]=0x2713]=_0x114c64(0x12f),_0x527e69[_0x527e69[_0x114c64(0x2a4)]=0x2714]=_0x114c64(0x2a4),_0x527e69[_0x527e69[_0x114c64(0x27e)]=0x271a]=_0x114c64(0x27e),_0x527e69[_0x527e69[_0x114c64(0x305)]=0x271b]=_0x114c64(0x305),_0x527e69[_0x527e69[_0x114c64(0x166)]=0x271c]=_0x114c64(0x166),_0x527e69[_0x527e69[_0x114c64(0x325)]=0x271d]=_0x114c64(0x325),_0x527e69[_0x527e69['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x114c64(0x19a),_0x527e69[_0x527e69[_0x114c64(0x11e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x527e69[_0x527e69[_0x114c64(0x2c0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x527e69[_0x527e69['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x114c64(0x1e5),_0x527e69[_0x527e69[_0x114c64(0x33c)]=0x2ee2]=_0x114c64(0x33c),_0x527e69[_0x527e69[_0x114c64(0x302)]=0x2ee3]=_0x114c64(0x302),_0x527e69[_0x527e69[_0x114c64(0x141)]=0x2ee4]=_0x114c64(0x141),_0x527e69[_0x527e69['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x114c64(0x13b),_0x527e69[_0x527e69[_0x114c64(0x1b2)]=0x32c9]=_0x114c64(0x1b2),_0x527e69[_0x527e69[_0x114c64(0x273)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x527e69[_0x527e69[_0x114c64(0x20d)]=0x32cb]=_0x114c64(0x20d),_0x527e69[_0x527e69[_0x114c64(0x1f8)]=-0x1]=_0x114c64(0x1f8),_0x527e69))(Be||{}),ns=Object[_0x114c64(0x140)],rs=(_0x2118fc,_0x4ca9ec,_0x898bfb,_0xd182bf)=>{const _0x4ec307=_0x114c64;for(var _0x3c037d=_0xd182bf>0x1?void 0x0:_0xd182bf?ns(_0x4ca9ec,_0x898bfb):_0x4ca9ec,_0x3f3a93=_0x2118fc[_0x4ec307(0x2f1)]-0x1,_0x3eb4ef;_0x3f3a93>=0x0;_0x3f3a93--)(_0x3eb4ef=_0x2118fc[_0x3f3a93])&&(_0x3c037d=_0x3eb4ef(_0x3c037d)||_0x3c037d);return _0x3c037d;},ue=(_0x7055e3,_0x25bbeb)=>(_0x4cb100,_0x8b9f01)=>_0x25bbeb(_0x4cb100,_0x8b9f01,_0x7055e3);exports[_0x114c64(0x18d)]=class extends a[_0x114c64(0x2b9)]{constructor(_0x53d589,_0x98bd04,_0xaf62fd){const _0x59cc16=_0x114c64;super(),this['_instanceService']=_0x53d589,this[_0x59cc16(0x350)]=_0x98bd04,this['_configService']=_0xaf62fd;}async[_0x114c64(0x1b7)](_0x310dd6,_0x15ca4c,_0x16aaab,..._0x2271e5){const _0x9de9ce=_0x114c64;var _0x534034,_0x591176,_0x5edba0,_0x130f6c;const _0x1bb3fe=this['_instanceService']['getFocusedUnit']();if(!_0x1bb3fe)throw new Error(_0x9de9ce(0x1a3));const _0x4ba87b=((_0x534034=this[_0x9de9ce(0x105)]['getConfig'](u[_0x9de9ce(0x270)]))!=null?_0x534034:u[_0x9de9ce(0x19f)])+'/'+_0x310dd6+_0x9de9ce(0x1ad)+_0x15ca4c,_0x2760a3=new URL(window[_0x9de9ce(0x2df)]['href']),_0x560734={'scriptId':_0x310dd6,'runId':(_0x591176=_0x2760a3[_0x9de9ce(0x170)]['get'](_0x9de9ce(0x2bd)))!=null?_0x591176:'','function':_0x15ca4c,'unitId':_0x1bb3fe[_0x9de9ce(0x234)](),'argsOfFunction':JSON[_0x9de9ce(0x1bd)](_0x2271e5),'invokeId':(_0x5edba0=_0x16aaab[_0x9de9ce(0x31a)])!=null?_0x5edba0:'','executionId':(_0x130f6c=_0x16aaab[_0x9de9ce(0x2b3)])!=null?_0x130f6c:''};try{const _0x4a71ae=await this['_httpService'][_0x9de9ce(0x369)](_0x4ba87b,{'body':_0x560734});return _0x4a71ae['body']['error']&&_0x4a71ae[_0x9de9ce(0x274)]['error'][_0x9de9ce(0x1c0)]!==Be['OK']?_0x9de9ce(0x318):_0x4a71ae[_0x9de9ce(0x274)][_0x9de9ce(0x35a)];}catch{return _0x9de9ce(0x318);}}},exports[_0x114c64(0x18d)]=rs([ue(0x0,a[_0x114c64(0x26b)]),ue(0x1,a[_0x114c64(0x307)](G['HTTPService'])),ue(0x2,a[_0x114c64(0x2b8)])],exports['RemoteUniscriptService']),exports[_0x114c64(0x1e8)]=xe,exports[_0x114c64(0x2b6)]=be,exports[_0x114c64(0x298)]=Pe,exports[_0x114c64(0x121)]=is,exports[_0x114c64(0x16d)]=je;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x3c74(_0x342cc4,_0x127927){const _0x52136a=_0x5213();return _0x3c74=function(_0x3c7469,_0x37b168){_0x3c7469=_0x3c7469-0xd6;let _0x151cf1=_0x52136a[_0x3c7469];return _0x151cf1;},_0x3c74(_0x342cc4,_0x127927);}const _0x1b8ff5=_0x3c74;function _0x5213(){const _0x2dc9d8=['Collaboration\x20Conflict','Connection\x20failed,\x20please\x20check\x20your\x20network.','65WlkLtW','Local\x20file','Synced','2567656JMDFIv','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1513314RbXxRH','8rfBszT','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4777668UiwJif','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','286166oflYqc','1090772VBMkzx','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','643252XRTabC','167358ZDOWcX','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','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.'];_0x5213=function(){return _0x2dc9d8;};return _0x5213();}(function(_0x5d527c,_0x15e747){const _0x3a0882=_0x3c74,_0x48a1a5=_0x5d527c();while(!![]){try{const _0x5c9d0f=parseInt(_0x3a0882(0xdc))/0x1+-parseInt(_0x3a0882(0xdf))/0x2+-parseInt(_0x3a0882(0xeb))/0x3+parseInt(_0x3a0882(0xdd))/0x4+parseInt(_0x3a0882(0xe6))/0x5*(parseInt(_0x3a0882(0xe0))/0x6)+-parseInt(_0x3a0882(0xe9))/0x7+parseInt(_0x3a0882(0xd6))/0x8*(parseInt(_0x3a0882(0xd9))/0x9);if(_0x5c9d0f===_0x15e747)break;else _0x48a1a5['push'](_0x48a1a5['shift']());}catch(_0x4ee1b9){_0x48a1a5['push'](_0x48a1a5['shift']());}}}(_0x5213,0x3f578));const e={'collab-client':{'tooltip':{'reconnect':_0x1b8ff5(0xe2)}},'collabStatus':{'fetchMiss':_0x1b8ff5(0xdb),'conflict':'Edit\x20conflicts','notCollab':_0x1b8ff5(0xe7),'synced':_0x1b8ff5(0xe8),'syncing':'Syncing...','offline':_0x1b8ff5(0xda)},'session':{'connection-failed':_0x1b8ff5(0xe5),'will-retry':_0x1b8ff5(0xe1),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x1b8ff5(0xd8)},'conflict':{'title':_0x1b8ff5(0xe4),'content':_0x1b8ff5(0xe3)},'permission':{'title':'Authentication\x20Error','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':_0x1b8ff5(0xea)},'closeRoom':_0x1b8ff5(0xd7)},'auth':{'needGotoLoginAlert':_0x1b8ff5(0xde)}};module['exports']=e;
|