@univerjs-pro/collaboration-client-ui 0.10.3-nightly.202508121228 → 0.10.3-nightly.202508150623

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5978f9=_0x3c22;(function(_0x2e8d53,_0x38a995){const _0x9acac8=_0x3c22,_0x16093b=_0x2e8d53();while(!![]){try{const _0x3769f3=parseInt(_0x9acac8(0x2ba))/0x1+parseInt(_0x9acac8(0x151))/0x2*(-parseInt(_0x9acac8(0x1c0))/0x3)+parseInt(_0x9acac8(0xd5))/0x4*(-parseInt(_0x9acac8(0x111))/0x5)+-parseInt(_0x9acac8(0x2cf))/0x6*(-parseInt(_0x9acac8(0x277))/0x7)+-parseInt(_0x9acac8(0x245))/0x8+parseInt(_0x9acac8(0x26f))/0x9+parseInt(_0x9acac8(0x166))/0xa;if(_0x3769f3===_0x38a995)break;else _0x16093b['push'](_0x16093b['shift']());}catch(_0x1b6134){_0x16093b['push'](_0x16093b['shift']());}}}(_0x2c9d,0xec7c0));var xt=Object[_0x5978f9(0x19d)],Bt=(_0x52f5bc,_0x3a096a,_0x50f469)=>_0x3a096a in _0x52f5bc?xt(_0x52f5bc,_0x3a096a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50f469}):_0x52f5bc[_0x3a096a]=_0x50f469,_=(_0x377f5d,_0x5a7f46,_0x2d52dc)=>Bt(_0x377f5d,typeof _0x5a7f46!='symbol'?_0x5a7f46+'':_0x5a7f46,_0x2d52dc);import{jsx as _0x3929bb,jsxs as _0x4335df}from'react/jsx-runtime';import{CollaborationStatus as _0x138deb,CollaborationSessionService as _0x3f05f9,CollaborationController as _0x2feee0,DataLoaderService as _0x16282f,MemberService as _0x1106ba,SessionStatus as _0x5cbbf2,ILocalCacheService as _0x4ac262,CollaborationUIEventService as _0x27e336,CollaborationUIEventId as _0x299041,DocCollaborationEntity as _0x4186b0,getLocalCacheKey as _0xd819cd,LOCAL_CACHE_INTERVAL as _0x52f070,LOCAL_CACHE_INTERVAL_KEY as _0x2b4ad3,UniverCollaborationClientPlugin as _0x122f21,CollaborationSocketService as _0x3a1781,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x47ccc5,DEFAULT_WS_SESSION_TICKET_URL as _0x3e9558,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x30263f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x226081,UnitStatus as _0x30805d}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x356e26,IUniverInstanceService as _0x4a6374,Inject as _0x4254b3,Injector as _0x49ea94,Disposable as _0x275756,createIdentifier as _0x485c1e,ILogService as _0x3bb3af,ICommandService as _0x179029,Optional as _0x3d6a58,RxDisposable as _0x4f795a,Workbook as _0x153b81,DOC_RANGE_TYPE as _0x369fc5,debounce as _0x5b1e9d,Rectangle as _0x5eb73e,DisposableCollection as _0x58ae22,toDisposable as _0x236c59,UniverInstanceType as _0x12c7d5,generateRandomId as _0xf28c22,COLORS as _0x721eaf,ColorKit as _0x1c3c0d,ThemeService as _0x4906d5,fromEventSubject as _0x18c26e,Tools as _0x495d23,CommandType as _0x195ea6,IConfigService as _0x4bdd34,ILocalStorageService as _0x3d0e53,DependentOn as _0x3cdf16,Plugin as _0x48371a,merge as _0x4e0d00,registerDependencies as _0x1c12b7,mergeOverrideWithDependencies as _0x22ccff,touchDependencies as _0x379c2b}from'@univerjs/core';import{useObservable as _0x3bed19,useDependency as _0x548b5d,IUIPartsService as _0xf6fcc4,BuiltInUIPart as _0x4284b4,connectInjector as _0x5ab871,IBeforeCloseService as _0x2895c2,IMessageService as _0x4887c1,INotificationService as _0x38e1e8}from'@univerjs/ui';import{BehaviorSubject as _0x2ec644,switchMap as _0xd33efc,of as _0x2f5681,takeUntil as _0x4c94af,debounceTime as _0x152bf7,Subject as _0x5d7ab6,filter as _0x11708d,merge as _0x1b622e,combineLatest as _0x35b352,fromEvent as _0x9cc90b,shareReplay as _0xb1e6d5,mapTo as _0x34a876,distinctUntilChanged as _0x17f3df}from'rxjs';import{Tooltip as _0x2abe3b,clsx as _0x1df42b,MessageType as _0x266753}from'@univerjs/design';import{forwardRef as _0x2d72fb,useRef as _0x33aef7,createElement as _0x3826e4,useCallback as _0xc547d4}from'react';import{IRemoteInstanceService as _0x526a59}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x584db2,RefRangeService as _0x318afe,SetSelectionsOperation as _0x11c160,SheetsSelectionsService as _0x37aeb5,EffectRefRangId as _0x595c6b,handleIRemoveRow as _0x2f0d9d,handleIRemoveCol as _0x41f1ee,handleMoveRange as _0x5a5283,handleInsertRow as _0x5290c5,handleInsertRangeMoveRight as _0x471f7f,handleInsertRangeMoveDown as _0x2c05fd,handleInsertCol as _0xd36b26,handleDeleteRangeMoveUp as _0x473e0c,handleDeleteRangeMoveLeft as _0x4b547f,runRefRangeMutations as _0x4ae282}from'@univerjs/sheets';import{Shape as _0x445c68,Rect as _0x1241ee,getColor as _0x5701e8,RegularPolygon as _0x383636,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4c5bb0,Vector2 as _0x45fba4,SHEET_VIEWPORT_KEY as _0x4fe57b,IRenderManagerService as _0x54f460}from'@univerjs/engine-render';import{ISocketService as _0xd4bad1,WebSocketService as _0x519dda,HTTPService as _0xb11c39}from'@univerjs/network';import{IDocClipboardService as _0x168ed3,NodePositionConvertToCursor as _0x5a9ff8,NodePositionConvertToRectRange as _0x36de77,TEXT_RANGE_LAYER_INDEX as _0x257fd2,SetDocZoomRatioOperation as _0x42ed27,DocIMEInputManagerService as _0xd0cb86,DocStateChangeManagerService as _0xfa24fb}from'@univerjs/docs-ui';import{IImageIoService as _0x17a5f0}from'@univerjs/drawing';import{ITransformService as _0xac990f,CollaborationEvent as _0x1031d0,isTransformMutationFailure as _0x1d14c8,isTransformMutationsWithChangesetSuccess as _0x17e12b,RevisionService as _0x3a9d6d,ISnapshotServerService as _0x4dc603}from'@univerjs-pro/collaboration';function _0x2c9d(){const _0xb50099=['transformByState','onPointerLeave$','MOBILE_HAS_BEEN_BOUND','translate(.97)','_draw','_docSkeletonManagerService','APPLY_PERMISSION_DENIED','LICENSE_EXPORT_SIZE_EXCEEDED','push','APPLY_DUPLICATED','get','_collabCursorController','_startSheetCollabCursor','_clearOtherTimers','replace','_session','_renderManagerService','_roomMembers$','split','FETCH_MISS','18384030LtnDoy','yellow.400','show','saveOfflineData','YUUMI_AI_RUN_FAILED','UNIVER_DOC','_startDocCollabCursor','currentTheme$','_cursorInfo$','OFFLINE','UNAUTHENTICATED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','call','...','includes','removeParam','flatMap','_onCursorDelete','collabStatus.offline','collaboration-client-ui.config','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','transformStateCache','_init','UNDEFINED','ONLINE','arc','_cursorShapes','onPointerMove$','_setupSubUnitSync','SOCKET_FAILED_RETRY','transformMutation','clearTimeout','_selfUnitIDs','dispose','text','_initEntityListener','INVITE_CODE_ALREADY_BOUND','getActiveRange','attrs','_onCursorUpdate','getCurrentUnitForType','m2Prime','getRangePointData','_doCreateSocket','_eventUnsubscribe','_refRangeService','sessionTicket','_revisionService','subunit','getTypeOfUnitDisposed$','PY_RUNTIME_SCRIPT_ERROR','getValue','path','onPointerEnter$','trim','defineProperty','redoState','moveTo','syncEditingCollabCursor','_logService','_send','off-line-icon','_id','endColumn','_getAnchorBounding','with','TEXT','saveImage','_docTransformSelectionsService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_getScale','sheetId','LICENSE_MAX_UNITS_EXCEEDED','fill','_uiPartsService','indexOf','YUUMI_UNABLE_LOAD_URL','use','_collabCursorState$','green.600','params','_transformHistoryAndStateStack','MOBILE_VERIFY_CODE_MISMATCH','_docClipboardService','NOT_COLLAB','CHANGESET_REVISION_CONFILICT','collabCursorState$','idSuffix','M0\x200H16V16H0z','closePath','856092vYfEqw','debug','blue.400','MUTATION','endRow','getRelativeToViewportCoord','next','currentColor','disposeWithMe','INVALID_INVITE_CODE','unshift','InsertColCommandId','PENDING','Warning','getOffsetConfig','fillText','colorChannel1','_range','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_ALL_TABLES_IS_INVALID','round','_hideTimer','loadUnit','_hovered','_registerDependencies','_docTransformIMECacheService','permission.content','_updateURLWithCurrentState','restore','SOCKET_FAILED','INTERNAL_ERROR','color','setItem','_onRefRangeChange','url(#$1','propertyIsEnumerable','UNRECOGNIZED','jiqing.500','_saveTaskMap','USER_NOT_INVITED_CODE','ENSURE_SNAPSHOT_EXECUTION','getTypeOfUnitAdded$','min','OTHER_CLIENT_EDITING','row','NOT_FOUND','INVALID_ARGUMENT','contains','pushState','RemoveRowCommandId','forEach','entityInit$','sessionStatus$','column','unitID','_color','icon','_getSaveTimeout','clearInterval','activeSheet$','href','size','then','_docSyncEditingCollabCursorService','_textBubble','save','getCurrentRevOfUnit','lineTo','type','getConfig','_localStorageService','executionId','dispose$','cursorInfo$','saveTaskMap','[CollaborationDataLoaderController]','textRanges','DeleteRangeMoveLeftCommandId','getUniverSheetInstance','onLocalMutation','concat','extend','deepClone','mutations','delete','url(#off-line-icon_clip0_910_343)','asObservable','_online','collabStatus.notCollab','error','0\x200\x2017\x2016','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.connection-failed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PERMISSION_DENIED','_handleEvent','actions','CONFLICT','wsSessionTicketUrl','currentSkeleton$','updateOfflineData','transformRemoteChangeset','children','APPLY_REVISION_CONFILICT','pipe','ranges','hasOwnProperty','replaceDocRanges','http://www.w3.org/2000/svg','_entities','OTHER_CLIENTS_EDITING','apply','collab-text-range-','addObject','parse','_colorIndex','UPDATE_CURSOR','selection','roomMembers','_updateSubUnitFromURLParams','urlChange$','_cursors','_scheduleClearOtherTimer','_docSkeleton','LICENSE_IMPORT_SIZE_EXCEEDED','isEditing','_backgroundColor','permission.title','_removeClearOtherTimer','purple.300','getVpScrollXYInfoByPosToVp','RECT','YUUMI_SUBSCRIPTION_NOT_FOUND','10767544glpVoM','_dataLoaderService','subUnitId','_transformPreviousActiveRange','_initCommandExecutedListener','location','unitId','from','xlink:href','addClipboardHook','url(#on-line-icon_clip0_910_349)','setInterval','imageSourceType','startRow','UniverIcon','_beforeCloseService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_updateCollabCursors','_sheetSkeletonManagerService','complete','getUndoRedoMutationParamsCache','univer-flex\x20univer-items-center','m1Prime','_localeService','0\x200\x2016\x2016','getOwnPropertyDescriptor','_initStatusComponent','subscribe','_labelPosition','_disabled','black','session.will-retry','_urlService','getUnitStatus$','has','random','_lastPointer','LICENSE_DISTRO_REJECTED','setAlpha','onRendered','_context','AWAITING','1359540ixLVET','setActiveRange','enableLocalCache','COMPLETION_FINISHED','getUnitId','defIds','svg','defs','7EsOwdx','_status$','_instanceService','collabStatus.fetchMiss','assignAColorForMemberID','entries','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','pluginName','getAncestorScale','_setupBeforeClosingHandler','toString','_assignedColors','runId','subscribeEvent','undoState','YUUMI_RATE_OVER_LIMIT','univer-mr-2\x20univer-flex\x20univer-text-xl','className','_name','height','INVITE_CODE_HAS_BEEN_UES','_localCacheService','ticket','TOO_MANY_REQUESTS','collabStatus.syncing','toRgbString','_createSocketURL','prototype','tag','_hover','_refreshCollabCursors','_commandService','drawWith','name','_injector','_handleLeaveEvent','uni.network.url-service','_scene','setParam','getMemberID','_scheduleSaving','getStateCache','VIEW_MAIN','div','roomMembers$','_cursor','rgba(255,\x20255,\x20255,\x200.01)','registerRenderModule','AWAITING_WITH_PENDING','application/json','getFocusedUnit','_themeService','_toggleOffline','_anchorDot','hide','getUnhiddenWorksheets','LOGIN_FAILED','find','values','collab-client.tooltip.reconnect','assign','NO_OTHER_CLIENTS_EDITING','HEADER_MENU','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabStatus.synced','post','1459562bCIrXo','_saveCache','/run/','body','_notificationService','off-line-icon_clip0_910_343','none','search','_messageService','CONNECTOR_DATA_TOO_LARGE','stringify','_entityInit$','init','doc.mutation.rich-text-editing','focused$','_initDependencies','backgroundColor','font','fillRule','_toggleOnline','_collabSessionService','1860834bluxbz','transformSelections','onCommandExecuted','_configService','getViewport','_collaborationController','_unitOnClients','_colorAssignService','displayName','on-line-icon_clip0_910_349','setStateCache','send','onStarting','getDocRanges','FromArray','_shapes','436NOSzGO','unsubscribe','isActive','length','searchParams','requireSession','addHandlerCallback','addObjects','bottom','disableLocalCache','top','_document','_imageIoService','UNIVER_SHEET','selections','replaceState','_getSheetObject','createInstance','source','_drawAnchor','string','memberID','collaboration-client.offline-data-not-saved','_removeCollabCursors','startColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSkeleton','eventID','_univerInstanceService','_docTransformStateCacheService','INVITE_CODE_REQUIRED','EMAIL_HAS_BEEN_BOUND','_getSessionTicket','isArray','_syncEditingCollabCursorService','_cachedData','setShapeProps','getItem','triggerDblclick','resize','evenodd','beginPath','transformIMECache','executeCommand','map','set','onTransformChange$','_transformService','current','InsertRowCommandId','getActiveSheet','OnLineIcon','max','YUUMI_CONNECTOR_URL_NOT_FOUND','reconnect','exhaustSavingTask','InsertRangeMoveRightCommandId','_handleHeartbeatEvent','mask','Failed','40085KzhnWU','_httpService','Error','transformMutationsWithChangeset','history','getParam','WECHAT_HAS_BEEN_BOUND','_render','some','getSheetBySheetId','_transformUndoRedoStack','newValue','substring','all','registerRefRange','_ensureSubject','white','loadOfflineData','_drawTextRange','YUUMI_NO_CUBOID_FOR_QUESTION','_updateLocalCursor','fillStyle','_anchor','getMergeData','YUUMI_ASYNCIO_CANCELLED','_memberService','add','_initEvent','collaboration.closeRoom','width','_handleHover','_scheduleHeartbeat','event$','1em','startsWith','_docStateChangeManagerService','_unitStatus','sheetID','MoveRangeCommandId','_initStatusListener','getCollabCursors$','origin','YUUMI_URL_COL_OUT_OF_RANGE','_drawRectRange','whenReady','status$','range','transform','onMouseMove','cursorInfo','getSheetId','runOnServer','_registerRenderDependencies','APPLY_NON_SEQUENTIAL_REVISION','findNodePositionByCharIndex','_config','_heartbeatTimer','SNAPSHOT_INVALID_SNAPSHOT','getOwnPropertySymbols','measureText','registerBeforeClose','APPLY_REJECT','data','getMember','4sMiLeX'];_0x2c9d=function(){return _0xb50099;};return _0x2c9d();}import{SetTextSelectionsOperation as _0x9f2632,RichTextEditingMutation as _0x5eea58,DocSelectionManagerService as _0x177a84,DocSkeletonManagerService as _0x4102fb}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5f344f,serializeRangeWithSheet as _0x3b92d0}from'@univerjs/engine-formula';import{map as _0x40da09,filter as _0x1274ae,throttleTime as _0x14045f,takeUntil as _0x5968d1,switchMap as _0x1e2186}from'rxjs/operators';import{SheetSkeletonManagerService as _0x529972,getCoordByCell as _0x525ff9,getSheetObject as _0x515a9d}from'@univerjs/sheets-ui';var v=function(){const _0x8facea=_0x5978f9;return v=Object['assign']||function(_0x55a9e9){const _0x5354d5=_0x3c22;for(var _0x92625d,_0x2fb4ad=0x1,_0x358bcb=arguments[_0x5354d5(0xd8)];_0x2fb4ad<_0x358bcb;_0x2fb4ad++){_0x92625d=arguments[_0x2fb4ad];for(var _0x21a20c in _0x92625d)Object['prototype'][_0x5354d5(0x22a)][_0x5354d5(0x172)](_0x92625d,_0x21a20c)&&(_0x55a9e9[_0x21a20c]=_0x92625d[_0x21a20c]);}return _0x55a9e9;},v[_0x8facea(0x22f)](this,arguments);},ci=function(_0x1f4986,_0x39c751){const _0x525558=_0x5978f9;var _0x24a51c={};for(var _0x3a464e in _0x1f4986)Object['prototype']['hasOwnProperty'][_0x525558(0x172)](_0x1f4986,_0x3a464e)&&_0x39c751[_0x525558(0x1b1)](_0x3a464e)<0x0&&(_0x24a51c[_0x3a464e]=_0x1f4986[_0x3a464e]);if(_0x1f4986!=null&&typeof Object[_0x525558(0x14b)]=='function'){for(var _0x3e0f35=0x0,_0x3a464e=Object[_0x525558(0x14b)](_0x1f4986);_0x3e0f35<_0x3a464e[_0x525558(0xd8)];_0x3e0f35++)_0x39c751[_0x525558(0x1b1)](_0x3a464e[_0x3e0f35])<0x0&&Object[_0x525558(0x293)][_0x525558(0x1e3)]['call'](_0x1f4986,_0x3a464e[_0x3e0f35])&&(_0x24a51c[_0x3a464e[_0x3e0f35]]=_0x1f4986[_0x3a464e[_0x3e0f35]]);}return _0x24a51c;},ke=_0x2d72fb(function(_0x52d502,_0x318c9b){const _0x1bdd24=_0x5978f9;var _0x2d499b=_0x52d502[_0x1bdd24(0x1f8)],_0x549e51=_0x52d502['id'],_0x166ad1=_0x52d502[_0x1bdd24(0x289)],_0x59a9be=_0x52d502[_0x1bdd24(0x211)],_0xd685f4=ci(_0x52d502,[_0x1bdd24(0x1f8),'id',_0x1bdd24(0x289),'extend']),_0x13c64d='univerjs-icon\x20univerjs-icon-'[_0x1bdd24(0x210)](_0x549e51,'\x20')[_0x1bdd24(0x210)](_0x166ad1||'')[_0x1bdd24(0x19c)](),_0x235ab7=_0x33aef7('_'['concat'](hi()));return Rt(_0x2d499b,''['concat'](_0x549e51),{'defIds':_0x2d499b[_0x1bdd24(0x274)],'idSuffix':_0x235ab7[_0x1bdd24(0x105)]},v({'ref':_0x318c9b,'className':_0x13c64d},_0xd685f4),_0x59a9be);});function Rt(_0x1a594e,_0xf93411,_0x59abee,_0x1fee6d,_0x16620c){const _0x1c374c=_0x5978f9;return _0x3826e4(_0x1a594e[_0x1c374c(0x294)],v(v({'key':_0xf93411},li(_0x1a594e,_0x59abee,_0x16620c)),_0x1fee6d),(_i(_0x1a594e,_0x59abee)[_0x1c374c(0x226)]||[])[_0x1c374c(0x101)](function(_0x18f168,_0x93d319){const _0x13e28e=_0x1c374c;return Rt(_0x18f168,''['concat'](_0xf93411,'-')['concat'](_0x1a594e[_0x13e28e(0x294)],'-')[_0x13e28e(0x210)](_0x93d319),_0x59abee,void 0x0,_0x16620c);}));}function li(_0x16d0d7,_0x2d0045,_0x5d60d7){const _0x528491=_0x5978f9;var _0xd573f6=v({},_0x16d0d7[_0x528491(0x18c)]);_0x5d60d7!=null&&_0x5d60d7[_0x528491(0x1d0)]&&_0xd573f6[_0x528491(0x1af)]==='colorChannel1'&&(_0xd573f6[_0x528491(0x1af)]=_0x5d60d7[_0x528491(0x1d0)]),_0x16d0d7[_0x528491(0x294)]===_0x528491(0x10f)&&_0xd573f6['id']&&(_0xd573f6['id']=_0xd573f6['id']+_0x2d0045[_0x528491(0x1bd)]),Object[_0x528491(0x27c)](_0xd573f6)['forEach'](function(_0x5a4f80){const _0x20cfca=_0x528491;var _0x4b3152=_0x5a4f80[0x0],_0x5c2f2c=_0x5a4f80[0x1];_0x4b3152===_0x20cfca(0x10f)&&typeof _0x5c2f2c==_0x20cfca(0xe9)&&(_0xd573f6[_0x4b3152]=_0x5c2f2c[_0x20cfca(0x160)](/url\(#(.*)\)/,'url(#$1'[_0x20cfca(0x210)](_0x2d0045[_0x20cfca(0x1bd)],')')));});var _0x3ff16b=_0x2d0045[_0x528491(0x274)];return!_0x3ff16b||_0x3ff16b['length']===0x0||(_0x16d0d7[_0x528491(0x294)]===_0x528491(0x1b3)&&_0xd573f6[_0x528491(0x24d)]&&(_0xd573f6['xlink:href']=_0xd573f6[_0x528491(0x24d)]+_0x2d0045[_0x528491(0x1bd)]),Object[_0x528491(0x27c)](_0xd573f6)[_0x528491(0x1f2)](function(_0xaa4205){const _0x3f0bed=_0x528491;var _0x232695=_0xaa4205[0x0],_0x3b7f56=_0xaa4205[0x1];typeof _0x3b7f56==_0x3f0bed(0xe9)&&(_0xd573f6[_0x232695]=_0x3b7f56[_0x3f0bed(0x160)](/url\(#(.*)\)/,_0x3f0bed(0x1e2)[_0x3f0bed(0x210)](_0x2d0045['idSuffix'],')')));})),_0xd573f6;}function _i(_0x134a04,_0x29b9ff){const _0x1b9394=_0x5978f9;var _0x35c187,_0x1743f5=_0x29b9ff[_0x1b9394(0x274)];return!_0x1743f5||_0x1743f5[_0x1b9394(0xd8)]===0x0?_0x134a04:_0x134a04['tag']==='defs'&&(!((_0x35c187=_0x134a04[_0x1b9394(0x226)])===null||_0x35c187===void 0x0)&&_0x35c187[_0x1b9394(0xd8)])?v(v({},_0x134a04),{'children':_0x134a04[_0x1b9394(0x226)][_0x1b9394(0x101)](function(_0x5ce186){const _0x2ce006=_0x1b9394;return typeof _0x5ce186['attrs']['id']==_0x2ce006(0xe9)&&_0x1743f5&&_0x1743f5[_0x2ce006(0x174)](_0x5ce186[_0x2ce006(0x18c)]['id'])?v(v({},_0x5ce186),{'attrs':v(v({},_0x5ce186[_0x2ce006(0x18c)]),{'id':_0x5ce186[_0x2ce006(0x18c)]['id']+_0x29b9ff[_0x2ce006(0x1bd)]})}):_0x5ce186;})}):_0x134a04;}function hi(){const _0x5ebb30=_0x5978f9;return Math[_0x5ebb30(0x268)]()[_0x5ebb30(0x282)](0x24)[_0x5ebb30(0x11d)](0x2,0x8);}ke['displayName']=_0x5978f9(0x253);var ui={'tag':_0x5978f9(0x275),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5978f9(0x2c0),'viewBox':_0x5978f9(0x25d),'width':_0x5978f9(0x132),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5978f9(0x215)},'children':[{'tag':_0x5978f9(0x19a),'attrs':{'stroke':_0x5978f9(0x1c7),'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':_0x5978f9(0x1d4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5978f9(0x276),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5978f9(0x2bf)},'children':[{'tag':_0x5978f9(0x19a),'attrs':{'fill':_0x5978f9(0x121),'d':_0x5978f9(0x1be)}}]}]}],'defIds':[_0x5978f9(0x2bf)]},Dt=_0x2d72fb(function(_0xc375ac,_0x267504){const _0x693b3=_0x5978f9;return _0x3826e4(ke,Object[_0x693b3(0x2b4)]({},_0xc375ac,{'id':_0x693b3(0x1a3),'ref':_0x267504,'icon':ui}));});Dt['displayName']='OffLineIcon';var di={'tag':_0x5978f9(0x275),'attrs':{'xmlns':_0x5978f9(0x22c),'fill':'none','viewBox':_0x5978f9(0x21a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5978f9(0x24f)},'children':[{'tag':_0x5978f9(0x19a),'attrs':{'stroke':_0x5978f9(0x1c7),'d':_0x5978f9(0x17a),'strokeLinecap':_0x5978f9(0x1d4),'strokeLinejoin':_0x5978f9(0x1d4),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5978f9(0xce)},'children':[{'tag':_0x5978f9(0x19a),'attrs':{'fill':_0x5978f9(0x121),'d':_0x5978f9(0x1be),'transform':_0x5978f9(0x155)}}]}]}],'defIds':[_0x5978f9(0xce)]},Nt=_0x2d72fb(function(_0x421cc6,_0x1afca5){const _0x51bc98=_0x5978f9;return _0x3826e4(ke,Object[_0x51bc98(0x2b4)]({},_0x421cc6,{'id':'on-line-icon','ref':_0x1afca5,'icon':di}));});Nt[_0x5978f9(0xcd)]=_0x5978f9(0x108);function fi(_0x1b0c57){const _0x1e4852=_0x5978f9;switch(_0x1b0c57){case _0x138deb[_0x1e4852(0x16f)]:return _0x1e4852(0x178);case _0x138deb[_0x1e4852(0x221)]:return'collabStatus.conflict';case _0x138deb[_0x1e4852(0x165)]:return _0x1e4852(0x27a);case _0x138deb[_0x1e4852(0x1ba)]:return _0x1e4852(0x218);case _0x138deb[_0x1e4852(0x26e)]:case _0x138deb[_0x1e4852(0x2a8)]:return _0x1e4852(0x290);case _0x138deb['SYNCED']:case _0x138deb[_0x1e4852(0x1cc)]:return _0x1e4852(0x2b8);}}function Si(_0x2c34ea){const _0x39c4a2=_0x5978f9,{status$:_0x5be69f}=_0x2c34ea,_0x15daca=_0x3bed19(_0x5be69f,_0x138deb[_0x39c4a2(0x1ba)]),_0xe8a021=_0x548b5d(_0x356e26),_0x3f5dbc=_0x548b5d(_0x3f05f9),_0x357bfb=_0x15daca!==_0x138deb[_0x39c4a2(0x16f)],_0x17e6ca=_0xe8a021['t'](fi(_0x15daca)),_0x532195=_0x357bfb?_0x3929bb(Nt,{}):_0x3929bb(Dt,{}),_0x2ead1f=_0xc547d4(()=>{const _0x16e6a8=_0x39c4a2;_0x357bfb||_0x3f5dbc[_0x16e6a8(0x10b)]();},[_0x357bfb,_0x3f5dbc]);function _0x34c060(){const _0x515b36=_0x39c4a2;return _0x4335df('div',{'className':_0x515b36(0x25a),'onClick':_0x2ead1f,'children':[_0x3929bb(_0x515b36(0x2a3),{'className':_0x1df42b(_0x515b36(0x288),{'univer-text-green-500':_0x357bfb,'univer-text-red-500':!_0x357bfb}),'children':_0x532195}),_0x3929bb(_0x515b36(0x2a3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x17e6ca})]});}return _0x357bfb?_0x34c060():_0x3929bb(_0x2abe3b,{'title':_0xe8a021['t'](_0x39c4a2(0x2b3)),'children':_0x34c060()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x119aa1,_0x3aebf1,_0x13e8c4,_0x1074cb)=>{const _0xcc760f=_0x5978f9;for(var _0x2dfc03=_0x1074cb>0x1?void 0x0:_0x1074cb?mi(_0x3aebf1,_0x13e8c4):_0x3aebf1,_0x119dfa=_0x119aa1[_0xcc760f(0xd8)]-0x1,_0x1d2356;_0x119dfa>=0x0;_0x119dfa--)(_0x1d2356=_0x119aa1[_0x119dfa])&&(_0x2dfc03=_0x1d2356(_0x2dfc03)||_0x2dfc03);return _0x2dfc03;},q=(_0x4ab256,_0x4bc679)=>(_0x3a4e99,_0x231186)=>_0x4bc679(_0x3a4e99,_0x231186,_0x4ab256);let se=class extends _0x275756{constructor(_0x558fb0,_0x21e8e4,_0x25f771,_0x2f1d0d){const _0x2d5c1d=_0x5978f9;super(),_(this,'_status$',new _0x2ec644(_0x138deb[_0x2d5c1d(0x1ba)])),(this[_0x2d5c1d(0xf1)]=_0x558fb0,this[_0x2d5c1d(0x29a)]=_0x21e8e4,this[_0x2d5c1d(0xca)]=_0x25f771,this[_0x2d5c1d(0x1b0)]=_0x2f1d0d,this[_0x2d5c1d(0x25f)](),this[_0x2d5c1d(0x138)]());}['_initStatusListener'](){const _0x2c505d=_0x5978f9;this[_0x2c505d(0x1c8)](this[_0x2c505d(0xf1)][_0x2c505d(0x2c8)]['pipe'](_0xd33efc(()=>{const _0x5f246d=_0x2c505d,_0x4e3734=this[_0x5f246d(0xf1)][_0x5f246d(0x2aa)]();return _0x4e3734?this[_0x5f246d(0xca)]['getCollabEntity$'](_0x4e3734[_0x5f246d(0x273)]()):_0x2f5681(null);}),_0xd33efc(_0x5b4dfb=>_0x5b4dfb?_0x5b4dfb[_0x2c505d(0x13e)]:_0x2f5681(_0x138deb[_0x2c505d(0x1ba)])))['subscribe'](_0x9fb42=>{const _0x5af938=_0x2c505d;this[_0x5af938(0x278)][_0x5af938(0x1c6)](_0x9fb42);}));}['_initStatusComponent'](){const _0x16d3f0=_0x5978f9;this[_0x16d3f0(0x1c8)](this['_uiPartsService']['registerComponent'](_0x4284b4[_0x16d3f0(0x2b6)],()=>_0x5ab871(vi({'status$':this[_0x16d3f0(0x278)][_0x16d3f0(0x216)]()}),this['_injector'])));}};se=Ii([q(0x0,_0x4a6374),q(0x1,_0x4254b3(_0x49ea94)),q(0x2,_0x4254b3(_0x2feee0)),q(0x3,_0xf6fcc4)],se);function vi(_0x4959fc){const {status$:_0x2be7cb}=_0x4959fc;return function(){return _0x3929bb(Si,{'status$':_0x2be7cb});};}const Ut=_0x485c1e(_0x5978f9(0x29c));var gi=Object['getOwnPropertyDescriptor'],pi=(_0x1b2c0c,_0x214522,_0x4c82c4,_0x42d402)=>{for(var _0x4ca6ed=_0x42d402>0x1?void 0x0:_0x42d402?gi(_0x214522,_0x4c82c4):_0x214522,_0x298ded=_0x1b2c0c['length']-0x1,_0x1999fa;_0x298ded>=0x0;_0x298ded--)(_0x1999fa=_0x1b2c0c[_0x298ded])&&(_0x4ca6ed=_0x1999fa(_0x4ca6ed)||_0x4ca6ed);return _0x4ca6ed;},G=(_0x179bfc,_0x59f03e)=>(_0x1a462d,_0x5036ab)=>_0x59f03e(_0x1a462d,_0x5036ab,_0x179bfc);let ie=class extends _0x4f795a{constructor(_0x3333b7,_0x17a93c,_0x431a22,_0x1af288,_0x263aed){const _0x5439d2=_0x5978f9;super(),this['_urlService']=_0x3333b7,this[_0x5439d2(0x1a1)]=_0x17a93c,this[_0x5439d2(0x297)]=_0x431a22,this[_0x5439d2(0x246)]=_0x1af288,_0x263aed?_0x263aed==null||_0x263aed[_0x5439d2(0x13d)]()[_0x5439d2(0x1fe)](()=>this[_0x5439d2(0x17c)]()):(this['_logService'][_0x5439d2(0x1c1)](_0x5439d2(0x20b),_0x5439d2(0x1d2)),this[_0x5439d2(0x17c)]());}async[_0x5978f9(0x17c)](){const _0x1b777c=_0x5978f9,_0x11d317=this[_0x1b777c(0x265)][_0x1b777c(0x116)]('unit'),_0x746572=this[_0x1b777c(0x265)][_0x1b777c(0x116)]('type'),_0x6ab523=this[_0x1b777c(0x265)][_0x1b777c(0x116)]('subunit');if(!_0x11d317||!_0x746572){this[_0x1b777c(0x1a1)][_0x1b777c(0x1c1)](_0x1b777c(0x20b),_0x1b777c(0x21b));return;}const _0x422468=await this[_0x1b777c(0x246)][_0x1b777c(0x1d6)](_0x11d317,Number(_0x746572),_0x6ab523);_0x422468&&_0x422468 instanceof _0x153b81&&this[_0x1b777c(0x182)](_0x422468);}async[_0x5978f9(0x182)](_0x505871){const _0x3f4d29=_0x5978f9;await this[_0x3f4d29(0x237)](_0x505871),_0x505871[_0x3f4d29(0x1fb)][_0x3f4d29(0x228)](_0x4c94af(this['dispose$']))['subscribe'](_0x394237=>{const _0xdc7f2d=_0x3f4d29;_0x394237&&this[_0xdc7f2d(0x1db)](_0x394237);}),this['_urlService']['urlChange$']['pipe'](_0x4c94af(this[_0x3f4d29(0x208)]))[_0x3f4d29(0x260)](()=>this['_updateSubUnitFromURLParams'](_0x505871));}['_updateURLWithCurrentState'](_0xc8a965,_0x19ce39=!0x1){const _0x4901aa=_0x5978f9,_0x169d94=this[_0x4901aa(0x265)][_0x4901aa(0x116)](_0x4901aa(0x196));_0xc8a965[_0x4901aa(0x143)]()!==_0x169d94&&this[_0x4901aa(0x265)][_0x4901aa(0x29e)]('subunit',_0xc8a965[_0x4901aa(0x143)](),_0x19ce39);}async['_updateSubUnitFromURLParams'](_0x38ddb5){const _0x40a4c3=_0x5978f9;var _0x13eec2;const _0x3a42ee=this[_0x40a4c3(0x265)][_0x40a4c3(0x116)]('subunit');if(!_0x3a42ee||!_0x38ddb5[_0x40a4c3(0x11a)](_0x3a42ee)){const _0x5588bb=_0x38ddb5[_0x40a4c3(0x2af)]()[0x0],_0x542a34=_0x38ddb5['getSheetBySheetId'](_0x5588bb);if(!_0x542a34)return;this[_0x40a4c3(0x1db)](_0x542a34,!0x0),await this['_commandService']['executeCommand'](_0x584db2['id'],{'unitId':_0x38ddb5[_0x40a4c3(0x273)](),'subUnitId':_0x5588bb});return;}((_0x13eec2=_0x38ddb5[_0x40a4c3(0x107)]())==null?void 0x0:_0x13eec2[_0x40a4c3(0x143)]())!==_0x3a42ee&&await this[_0x40a4c3(0x297)][_0x40a4c3(0x100)](_0x584db2['id'],{'unitId':_0x38ddb5[_0x40a4c3(0x273)](),'subUnitId':_0x3a42ee});}};ie=pi([G(0x0,Ut),G(0x1,_0x3bb3af),G(0x2,_0x179029),G(0x3,_0x4254b3(_0x16282f)),G(0x4,_0x3d6a58(_0x526a59))],ie);var Ci=Object[_0x5978f9(0x25e)],Ei=(_0x4d54a3,_0x29b6db,_0x3c5af3,_0x20996b)=>{const _0x418b16=_0x5978f9;for(var _0x349929=_0x20996b>0x1?void 0x0:_0x20996b?Ci(_0x29b6db,_0x3c5af3):_0x29b6db,_0x383131=_0x4d54a3[_0x418b16(0xd8)]-0x1,_0x161b1c;_0x383131>=0x0;_0x383131--)(_0x161b1c=_0x4d54a3[_0x383131])&&(_0x349929=_0x161b1c(_0x349929)||_0x349929);return _0x349929;},Je=(_0xbbf94,_0x71d6f5)=>(_0x57add5,_0x4622eb)=>_0x71d6f5(_0x57add5,_0x4622eb,_0xbbf94);let Ne=class extends _0x4f795a{constructor(_0x34b44a,_0x53d49c){const _0x4ff0e8=_0x5978f9;super(),this['_docClipboardService']=_0x34b44a,this[_0x4ff0e8(0xe1)]=_0x53d49c,this[_0x4ff0e8(0x17c)]();}['_init'](){const _0x762983=_0x5978f9,_0x4b95e1=this;this[_0x762983(0x1c8)](this[_0x762983(0x1b9)][_0x762983(0x24e)]({'onBeforePasteImage':async _0x291a91=>{const _0x7586a4=_0x762983,_0x5da7db=await _0x4b95e1[_0x7586a4(0xe1)][_0x7586a4(0x1a9)](_0x291a91);return _0x5da7db?{'source':_0x5da7db[_0x7586a4(0xe7)],'imageSourceType':_0x5da7db[_0x7586a4(0x251)]}:null;}}));}};Ne=Ei([Je(0x0,_0x168ed3),Je(0x1,_0x17a5f0)],Ne);const Ze=[_0x5978f9(0x241),_0x5978f9(0x1e5),_0x5978f9(0x1b5),'red.300',_0x5978f9(0x1c2),_0x5978f9(0x167)];class He extends _0x275756{constructor(){const _0x5a9aee=_0x5978f9;super(...arguments),_(this,_0x5a9aee(0x283),new Map()),_(this,'_colorIndex',0x0);}[_0x5978f9(0x27b)](_0x14820f){const _0x3bf38f=_0x5978f9;if(this[_0x3bf38f(0x283)]['has'](_0x14820f))return this['_assignedColors'][_0x3bf38f(0x15c)](_0x14820f);const _0x3f6e31=Ze[this[_0x3bf38f(0x233)]];return this[_0x3bf38f(0x233)]=(this['_colorIndex']+0x1)%Ze[_0x3bf38f(0xd8)],this[_0x3bf38f(0x283)][_0x3bf38f(0x102)](_0x14820f,_0x3f6e31),_0x3f6e31;}}function Mt(_0x579a22){const _0x2fc125=_0x5978f9;let _0x3e4cc4='';for(const _0x3746db of _0x579a22){const {startOffset:_0x2fea14,endOffset:_0x55b80d,isActive:_0x3641ea,rangeType:_0x489938,segmentId:_0x4f0c21,segmentPage:_0x442c11}=_0x3746db;_0x3e4cc4[_0x2fc125(0xd8)]&&(_0x3e4cc4+=','),_0x3e4cc4+=_0x2fea14+':'+_0x55b80d+':'+(_0x3641ea?'1':'0')+':'+_0x489938+':'+_0x4f0c21+':'+_0x442c11;}return _0x3e4cc4;}function Oi(_0x2af10c){const _0xe6c589=_0x5978f9,_0x5cfc3e=_0x2af10c[_0xe6c589(0x164)](','),_0x2d0450=[];for(const _0x11d637 of _0x5cfc3e){const [_0x4a6ae4,_0x2cd72c,_0x4ff11e,_0x31dd7a,_0x493d96,_0x28f1e7]=_0x11d637['split'](':');_0x2d0450[_0xe6c589(0x15a)]({'startOffset':Number(_0x4a6ae4),'endOffset':Number(_0x2cd72c),'collapsed':_0x4a6ae4===_0x2cd72c,'isActive':_0x4ff11e==='1','rangeType':_0x31dd7a===_0x369fc5[_0xe6c589(0x1a8)]?_0x369fc5['TEXT']:_0x369fc5[_0xe6c589(0x243)],'segmentId':typeof _0x493d96==_0xe6c589(0xe9)?String(_0x493d96):'','segmentPage':Number(_0x28f1e7!=null?_0x28f1e7:-0x1)});}return _0x2d0450[_0xe6c589(0x119)](_0x3d898b=>_0x3d898b[_0xe6c589(0xd7)])||(_0x2d0450[0x0]['isActive']=!0x0),_0x2d0450;}class Fe extends _0x4f795a{constructor(){const _0x7a631f=_0x5978f9;super(...arguments),_(this,_0x7a631f(0x1b4),new _0x2ec644(null)),_(this,_0x7a631f(0x1bc),this['_collabCursorState$'][_0x7a631f(0x216)]());}['syncEditingCollabCursor'](_0x52269e){const _0x3fb115=_0x5978f9,{unitID:_0x3071a0,memberID:_0x136579,textRanges:_0x48b809}=_0x52269e,_0x1d2d00=Mt(_0x48b809);if(_0x1d2d00==='')return;const _0x5ded88={'unitID':_0x3071a0,'memberID':_0x136579,'selection':_0x1d2d00};this[_0x3fb115(0x1b4)][_0x3fb115(0x1c6)](_0x5ded88);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x48a169,_0x290ce7,_0x40d91b,_0x138171)=>{const _0x27facf=_0x5978f9;for(var _0x2e7ddc=_0x138171>0x1?void 0x0:_0x138171?bi(_0x290ce7,_0x40d91b):_0x290ce7,_0x549869=_0x48a169[_0x27facf(0xd8)]-0x1,_0x3fca2f;_0x549869>=0x0;_0x549869--)(_0x3fca2f=_0x48a169[_0x549869])&&(_0x2e7ddc=_0x3fca2f(_0x2e7ddc)||_0x2e7ddc);return _0x2e7ddc;},P=(_0x33e3f1,_0x3a4059)=>(_0x40cb02,_0x1b72dc)=>_0x3a4059(_0x40cb02,_0x1b72dc,_0x33e3f1);const Ri=0x12c,Di=0x64;let Ue=class extends _0x4f795a{constructor(_0x1facad,_0x307296,_0x143b0c,_0x562c52,_0x3c689b,_0x1c53b5,_0x204c73,_0x110cb3,_0x8cffc){const _0x209d23=_0x5978f9;super(),_(this,_0x209d23(0x217),!0x1),_(this,_0x209d23(0x17c),!0x1),_(this,_0x209d23(0x16e),new _0x2ec644(new Map())),_(this,'cursorInfo$',this[_0x209d23(0x16e)][_0x209d23(0x216)]()),_(this,_0x209d23(0x163),new _0x2ec644([])),_(this,'roomMembers$',this[_0x209d23(0x163)]['pipe'](_0x152bf7(Ri))),_(this,_0x209d23(0x125),_0x5b1e9d(_0x1701fc=>{const _0x34c2d7=_0x209d23,_0x43a271={'eventID':_0x1031d0[_0x34c2d7(0x234)],'data':{'unitID':this[_0x34c2d7(0x1f6)],'memberID':this[_0x34c2d7(0x161)][_0x34c2d7(0x29f)](),'selection':Mt(_0x1701fc)}};this['_session'][_0x34c2d7(0xd0)](_0x43a271,this[_0x34c2d7(0x1f6)]);},Di)),(this[_0x209d23(0x1f6)]=_0x1facad,this[_0x209d23(0x161)]=_0x307296,this[_0x209d23(0x29a)]=_0x143b0c,this[_0x209d23(0xcc)]=_0x562c52,this[_0x209d23(0x12a)]=_0x3c689b,this['_syncEditingCollabCursorService']=_0x1c53b5,this[_0x209d23(0x104)]=_0x204c73,this[_0x209d23(0xf1)]=_0x110cb3,this['_commandService']=_0x8cffc);}get[_0x5978f9(0x142)](){const _0x2c882e=_0x5978f9;return this[_0x2c882e(0x16e)][_0x2c882e(0x199)]();}get[_0x5978f9(0x236)](){const _0x45bd48=_0x5978f9;return this[_0x45bd48(0x163)][_0x45bd48(0x199)]();}[_0x5978f9(0x187)](){const _0x19c359=_0x5978f9;super['dispose'](),this[_0x19c359(0x16e)][_0x19c359(0x1c6)](new Map()),this[_0x19c359(0x16e)][_0x19c359(0x258)](),this[_0x19c359(0x163)][_0x19c359(0x1c6)]([]),this[_0x19c359(0x163)]['complete']();}[_0x5978f9(0x2c6)](){const _0x26362a=_0x5978f9;this[_0x26362a(0x17c)]||(this['_init']=!0x0,this[_0x26362a(0x161)][_0x26362a(0x1f4)]['pipe'](_0x4c94af(this[_0x26362a(0x208)]))[_0x26362a(0x260)](_0x412c78=>{const _0xab287a=_0x26362a;_0x412c78===_0x5cbbf2[_0xab287a(0x17e)]?this[_0xab287a(0x2cd)]():this[_0xab287a(0x2ac)]();}),this[_0x26362a(0x161)][_0x26362a(0x131)][_0x26362a(0x228)](_0x4c94af(this[_0x26362a(0x208)]))[_0x26362a(0x260)](_0x37b8e0=>{const _0xe55046=_0x26362a,_0x32207e=_0x37b8e0[_0xe55046(0xf0)];_0x32207e===_0x1031d0[_0xe55046(0x234)]&&this[_0xe55046(0x18d)](_0x37b8e0),_0x32207e===_0x1031d0[_0xe55046(0x27e)]&&this[_0xe55046(0x177)](_0x37b8e0);}),this[_0x26362a(0x1c8)](this['_commandService'][_0x26362a(0xc7)](_0x489278=>{const _0x5dff9b=_0x26362a,_0x5411f0=_0x489278[_0x5dff9b(0x1b6)];_0x5411f0!=null&&this[_0x5dff9b(0x217)]&&_0x489278['id']===_0x9f2632['id']&&_0x5411f0['unitId']===this[_0x5dff9b(0x1f6)]&&_0x5411f0[_0x5dff9b(0x23d)]===!0x1&&_0x5411f0[_0x5dff9b(0x229)][_0x5dff9b(0xd8)]>0x0&&this['_updateLocalCursor'](_0x5411f0[_0x5dff9b(0x229)]);})),this[_0x26362a(0xf7)][_0x26362a(0x1bc)][_0x26362a(0x228)](_0x4c94af(this[_0x26362a(0x208)]))['subscribe'](_0x12f8d1=>{const _0x3cbe8d=_0x26362a;if((_0x12f8d1==null?void 0x0:_0x12f8d1['unitID'])!==this[_0x3cbe8d(0x1f6)])return;const _0x40ae8d={'eventID':_0x1031d0['UPDATE_CURSOR'],'data':_0x12f8d1};this[_0x3cbe8d(0x18d)](_0x40ae8d);}),this[_0x26362a(0x1c8)](this[_0x26362a(0x297)]['onCommandExecuted'](_0x5998c3=>{const _0x517fae=_0x26362a;if(_0x5998c3[_0x517fae(0x1b6)]==null)return;const _0x2dc014=_0x5998c3[_0x517fae(0x1b6)];if(_0x5998c3['id']!==_0x5eea58['id']||_0x2dc014[_0x517fae(0x24b)]!==this['unitID'])return;const _0x204db8={'id':_0x517fae(0x2c7),'params':_0x2dc014},_0x1e6fbe=this[_0x517fae(0x142)];for(const [_0x19a955,_0x57e312]of _0x1e6fbe){const _0x11e830={'id':_0x517fae(0x2c7),'params':{'unitId':this[_0x517fae(0x1f6)],'actions':null,'textRanges':_0x57e312[_0x517fae(0x229)]}},_0x2fa267=this[_0x517fae(0x104)]['transformMutation'](_0x204db8,_0x11e830,!0x1);if(_0x1d14c8(_0x2fa267))throw _0x2fa267[_0x517fae(0x219)];_0x1e6fbe[_0x517fae(0x102)](_0x19a955,{..._0x57e312,'ranges':_0x2fa267[_0x517fae(0x18f)][_0x517fae(0x1b6)][_0x517fae(0x20c)]});}queueMicrotask(()=>{const _0x5bb4f4=_0x517fae;this[_0x5bb4f4(0x16e)]['next'](_0x1e6fbe);});})));}[_0x5978f9(0x18d)](_0x4f1dcb){const _0xda2575=_0x5978f9;var _0x2723d1,_0x73d404;const {memberID:_0x491f39,selection:_0x3b4ec4}=_0x4f1dcb['data'],_0x53c777=Oi(_0x3b4ec4),_0x32c89e=(_0x73d404=(_0x2723d1=this[_0xda2575(0x12a)][_0xda2575(0x150)](this[_0xda2575(0x1f6)],_0x491f39))==null?void 0x0:_0x2723d1[_0xda2575(0x299)])!=null?_0x73d404:'Unknown\x20user',_0x5970e8={'color':this[_0xda2575(0xcc)][_0xda2575(0x27b)](_0x491f39),'name':_0x32c89e,'ranges':_0x53c777},_0x4d26b7=this[_0xda2575(0x142)];_0x4d26b7[_0xda2575(0x102)](_0x491f39,_0x5970e8),this[_0xda2575(0x16e)][_0xda2575(0x1c6)](_0x4d26b7);}[_0x5978f9(0x177)](_0x1b721b){const _0x299754=_0x5978f9,{memberID:_0x3d7296}=_0x1b721b[_0x299754(0x14f)],_0x11fa85=this[_0x299754(0x142)];_0x11fa85[_0x299754(0x214)](_0x3d7296),this['_cursorInfo$'][_0x299754(0x1c6)](_0x11fa85);}[_0x5978f9(0x2cd)](){const _0x50d50c=_0x5978f9;var _0x2d542c;if(this['_online']=!0x0,((_0x2d542c=this[_0x50d50c(0xf1)]['getFocusedUnit']())==null?void 0x0:_0x2d542c['getUnitId']())!==this['unitID'])return;const _0x2528f5=this[_0x50d50c(0x29a)][_0x50d50c(0x15c)](_0x177a84)[_0x50d50c(0xd2)]();Array['isArray'](_0x2528f5)&&_0x2528f5[_0x50d50c(0xd8)]>0x0&&this[_0x50d50c(0x125)](_0x2528f5);}[_0x5978f9(0x2ac)](){const _0x53ea27=_0x5978f9;this[_0x53ea27(0x217)]=!0x1;}};Ue=Ti([P(0x2,_0x4254b3(_0x49ea94)),P(0x3,_0x4254b3(He)),P(0x4,_0x4254b3(_0x1106ba)),P(0x5,_0x4254b3(Fe)),P(0x6,_0xac990f),P(0x7,_0x4a6374),P(0x8,_0x179029)],Ue);var Ni=Object[_0x5978f9(0x25e)],Ui=(_0x338b8e,_0x411582,_0x150ae0,_0x3ad0cc)=>{const _0x348409=_0x5978f9;for(var _0x310dbc=_0x3ad0cc>0x1?void 0x0:_0x3ad0cc?Ni(_0x411582,_0x150ae0):_0x411582,_0x55fa0a=_0x338b8e[_0x348409(0xd8)]-0x1,_0x213810;_0x55fa0a>=0x0;_0x55fa0a--)(_0x213810=_0x338b8e[_0x55fa0a])&&(_0x310dbc=_0x213810(_0x310dbc)||_0x310dbc);return _0x310dbc;},x=(_0x2df6c8,_0x37522f)=>(_0x5e73c6,_0x4a84d8)=>_0x37522f(_0x5e73c6,_0x4a84d8,_0x2df6c8);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x5d9f92=[],_0x139fc6=!0x1;return _0x618424=>{const _0x1ea0d5=_0x3c22;_0x5d9f92[_0x1ea0d5(0x15a)](_0x618424),_0x139fc6||(_0x139fc6=!0x0,setTimeout(()=>{const _0x17e11f=_0x1ea0d5;_0x5d9f92[_0x17e11f(0x1f2)](_0x1650ca=>_0x1650ca()),_0x5d9f92=[],_0x139fc6=!0x1;}));};};let Me=class extends _0x4f795a{constructor(_0x24023c,_0x594b54,_0x484c6b,_0x450ccf,_0x3fff72,_0x31566b,_0x202087,_0x5719b9){const _0x4a3ce3=_0x5978f9;super(),_(this,_0x4a3ce3(0x217),!0x1),_(this,_0x4a3ce3(0x17c),!0x1),_(this,'_cursorInfo$',new _0x2ec644(new Map())),_(this,_0x4a3ce3(0x209),this[_0x4a3ce3(0x16e)][_0x4a3ce3(0x216)]()),_(this,_0x4a3ce3(0x163),new _0x2ec644([])),_(this,_0x4a3ce3(0x2a4),this[_0x4a3ce3(0x163)][_0x4a3ce3(0x228)](_0x152bf7(Mi))),_(this,_0x4a3ce3(0x125),_0x5b1e9d((_0x45ee13,_0x21687c)=>{const _0x4e420c=_0x4a3ce3,_0x25975a={'eventID':_0x1031d0['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x3b92d0(_0x45ee13,_0x21687c['range'])}};this['_session'][_0x4e420c(0xd0)](_0x25975a,this['unitID']);},Li)),(this[_0x4a3ce3(0x1f6)]=_0x24023c,this[_0x4a3ce3(0x161)]=_0x594b54,this[_0x4a3ce3(0x29a)]=_0x484c6b,this[_0x4a3ce3(0xcc)]=_0x450ccf,this[_0x4a3ce3(0x12a)]=_0x3fff72,this[_0x4a3ce3(0xf1)]=_0x31566b,this[_0x4a3ce3(0x297)]=_0x202087,this[_0x4a3ce3(0x193)]=_0x5719b9);}get[_0x5978f9(0x142)](){const _0xd1513a=_0x5978f9;return this[_0xd1513a(0x16e)][_0xd1513a(0x199)]();}get['roomMembers'](){const _0x154093=_0x5978f9;return this[_0x154093(0x163)][_0x154093(0x199)]();}[_0x5978f9(0x187)](){const _0x5a4a93=_0x5978f9;super[_0x5a4a93(0x187)](),this[_0x5a4a93(0x16e)][_0x5a4a93(0x1c6)](new Map()),this['_cursorInfo$'][_0x5a4a93(0x258)](),this[_0x5a4a93(0x163)][_0x5a4a93(0x1c6)]([]),this[_0x5a4a93(0x163)]['complete']();}[_0x5978f9(0x2c6)](){const _0x4251b8=_0x5978f9;this['_init']||(this[_0x4251b8(0x17c)]=!0x0,this['_session'][_0x4251b8(0x1f4)][_0x4251b8(0x228)](_0x4c94af(this[_0x4251b8(0x208)]))['subscribe'](_0x345f3d=>{const _0x1f01fd=_0x4251b8;_0x345f3d===_0x5cbbf2[_0x1f01fd(0x17e)]?this[_0x1f01fd(0x2cd)]():this[_0x1f01fd(0x2ac)]();}),this[_0x4251b8(0x161)][_0x4251b8(0x131)][_0x4251b8(0x228)](_0x4c94af(this[_0x4251b8(0x208)]))[_0x4251b8(0x260)](_0x34394d=>{const _0x111d11=_0x4251b8,_0x3006a3=_0x34394d[_0x111d11(0xf0)];_0x3006a3===_0x1031d0['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x34394d),_0x3006a3===_0x1031d0[_0x111d11(0x27e)]&&this[_0x111d11(0x177)](_0x34394d);}),this[_0x4251b8(0x1e1)](),this[_0x4251b8(0x1c8)](this[_0x4251b8(0x297)][_0x4251b8(0xc7)](_0x5969d9=>{const _0x5ca535=_0x4251b8;if(this[_0x5ca535(0x217)]&&_0x5969d9['id']===_0x11c160['id']&&_0x5969d9['params']['unitId']===this[_0x5ca535(0x1f6)]){const _0x10f865=_0x5969d9[_0x5ca535(0x1b6)];this[_0x5ca535(0x125)](_0x10f865[_0x5ca535(0x247)],_0x10f865[_0x5ca535(0xe3)][0x0]);}})));}[_0x5978f9(0x18d)](_0x21c42e){const _0x640f07=_0x5978f9;var _0x4afb68,_0x310143;const {memberID:_0x3a7e7c,selection:_0x39a25c}=_0x21c42e[_0x640f07(0x14f)],{sheetName:_0x48735b,range:_0x3449d8}=_0x5f344f(_0x39a25c),_0x13c2db={'name':(_0x310143=(_0x4afb68=this[_0x640f07(0x12a)]['getMember'](this['unitID'],_0x3a7e7c))==null?void 0x0:_0x4afb68['name'])!=null?_0x310143:'Unknown\x20user','range':this['_getMergeRange'](_0x48735b,_0x3449d8),'sheetID':_0x48735b,'color':this[_0x640f07(0xcc)][_0x640f07(0x27b)](_0x3a7e7c),'selection':_0x39a25c},_0x213c4e=this['cursorInfo'];_0x213c4e['set'](_0x3a7e7c,_0x13c2db),this[_0x640f07(0x16e)][_0x640f07(0x1c6)](_0x213c4e);}[_0x5978f9(0x177)](_0x1b3874){const _0x419e78=_0x5978f9,{memberID:_0x1deebf}=_0x1b3874['data'],_0x2f2f8e=this[_0x419e78(0x142)];_0x2f2f8e[_0x419e78(0x214)](_0x1deebf),this['_cursorInfo$'][_0x419e78(0x1c6)](_0x2f2f8e);}['_getMergeRange'](_0x70cd81,_0x2544b7){const _0x5ed2d0=_0x5978f9;var _0x22f7fd,_0x193b3e;const _0x575014=(_0x193b3e=(_0x22f7fd=this['_univerInstanceService'][_0x5ed2d0(0x20e)](this[_0x5ed2d0(0x1f6)]))==null?void 0x0:_0x22f7fd[_0x5ed2d0(0x11a)](_0x70cd81))==null?void 0x0:_0x193b3e[_0x5ed2d0(0x128)]();return(_0x575014==null?void 0x0:_0x575014[_0x5ed2d0(0x2b1)](_0x28b29d=>_0x5eb73e[_0x5ed2d0(0x1ef)](_0x28b29d,_0x2544b7)))||_0x2544b7;}[_0x5978f9(0x1e1)](){const _0x1bf422=_0x5978f9,_0x1e146f=new _0x58ae22(),_0x1974aa=Pi(),_0x45f78e=()=>{const _0x33d7a0=_0x3c22;_0x1e146f[_0x33d7a0(0x187)]();const _0x503eba=(_0x2e99d7,_0xf61f03,_0xb010fd,_0x21e530)=>{const _0x2598d1=_0x33d7a0;let _0x4d5b57=[];switch(_0x2e99d7['id']){case _0x595c6b[_0x2598d1(0x20d)]:{_0x4d5b57=_0x4b547f(_0x2e99d7,_0x21e530);break;}case _0x595c6b['DeleteRangeMoveUpCommandId']:{_0x4d5b57=_0x473e0c(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x1cb)]:{_0x4d5b57=_0xd36b26(_0x2e99d7,_0x21e530);break;}case _0x595c6b['InsertRangeMoveDownCommandId']:{_0x4d5b57=_0x2c05fd(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x10d)]:{_0x4d5b57=_0x471f7f(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x106)]:{_0x4d5b57=_0x5290c5(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x137)]:{_0x4d5b57=_0x5a5283(_0x2e99d7,_0x21e530);break;}case _0x595c6b['RemoveColCommandId']:{_0x4d5b57=_0x41f1ee(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x1f1)]:{_0x4d5b57=_0x2f0d9d(_0x2e99d7,_0x21e530);break;}}const _0x311f35=_0x4ae282(_0x4d5b57,_0x21e530),_0x5eca42=this['cursorInfo'][_0x2598d1(0x15c)](_0xf61f03);if(_0x5eca42&&_0x311f35){const _0x2d59a2={..._0x5eca42,'range':_0x311f35};this[_0x2598d1(0x142)][_0x2598d1(0x102)](_0xf61f03,_0x2d59a2),_0x1974aa(()=>{const _0x249cc4=_0x2598d1,_0x18c4c1=this[_0x249cc4(0x193)][_0x249cc4(0x11f)](_0x311f35,_0x429d2b=>(_0x18c4c1['dispose'](),_0x503eba(_0x429d2b,_0xf61f03,_0xb010fd,_0x311f35)));_0x1e146f[_0x249cc4(0x12b)](_0x18c4c1);});}return{'redos':[],'undos':[]};};this[_0x33d7a0(0x142)][_0x33d7a0(0x1f2)]((_0x453673,_0x2db21d)=>{const _0x5a96b7=_0x33d7a0,{range:_0x1b8848,sheetID:_0x3736e1}=_0x453673,_0x1234a6=this[_0x5a96b7(0x193)][_0x5a96b7(0x11f)](_0x1b8848,_0x4ef7dc=>(_0x1234a6[_0x5a96b7(0x187)](),_0x503eba(_0x4ef7dc,_0x2db21d,_0x3736e1,_0x1b8848)));_0x1e146f[_0x5a96b7(0x12b)](_0x1234a6);});};this[_0x1bf422(0x1c8)](_0x236c59(this[_0x1bf422(0x16e)]['subscribe'](()=>{_0x45f78e();})));}['_toggleOnline'](){const _0x23f7a1=_0x5978f9;var _0x48caa0,_0x34071f;if(this['_online']=!0x0,((_0x48caa0=this[_0x23f7a1(0xf1)][_0x23f7a1(0x2aa)]())==null?void 0x0:_0x48caa0[_0x23f7a1(0x273)]())!==this[_0x23f7a1(0x1f6)])return;const _0x92178a=(_0x34071f=this[_0x23f7a1(0x29a)][_0x23f7a1(0x15c)](_0x37aeb5)['getCurrentSelections']())==null?void 0x0:_0x34071f[0x0],_0x52e7a5=this[_0x23f7a1(0xf1)][_0x23f7a1(0x18e)](_0x12c7d5[_0x23f7a1(0xe2)])[_0x23f7a1(0x107)]();_0x92178a&&_0x52e7a5&&this[_0x23f7a1(0x125)](_0x52e7a5['getSheetId'](),_0x92178a);}[_0x5978f9(0x2ac)](){const _0x33e4e9=_0x5978f9;this[_0x33e4e9(0x217)]=!0x1;}};Me=Ui([x(0x2,_0x4254b3(_0x49ea94)),x(0x3,_0x4254b3(He)),x(0x4,_0x4254b3(_0x1106ba)),x(0x5,_0x4a6374),x(0x6,_0x179029),x(0x7,_0x4254b3(_0x318afe))],Me);var wi=Object[_0x5978f9(0x25e)],Ai=(_0x428bfb,_0x114b39,_0x7d143f,_0x1336fa)=>{const _0x1626d5=_0x5978f9;for(var _0x108a70=_0x1336fa>0x1?void 0x0:_0x1336fa?wi(_0x114b39,_0x7d143f):_0x114b39,_0x26c51f=_0x428bfb[_0x1626d5(0xd8)]-0x1,_0x7bf9b4;_0x26c51f>=0x0;_0x26c51f--)(_0x7bf9b4=_0x428bfb[_0x26c51f])&&(_0x108a70=_0x7bf9b4(_0x108a70)||_0x108a70);return _0x108a70;},me=(_0x15c8c2,_0x1fb08a)=>(_0x23b0ad,_0x2c4ea3)=>_0x1fb08a(_0x23b0ad,_0x2c4ea3,_0x15c8c2);let F=class extends _0x4f795a{constructor(_0x33077b,_0x271be9,_0x54654a){const _0x28de1c=_0x5978f9;super(),_(this,_0x28de1c(0x22d),new Map()),_(this,_0x28de1c(0x2c5),new _0x5d7ab6()),(this['_univerInstanceService']=_0x33077b,this[_0x28de1c(0x29a)]=_0x271be9,this['_collabSessionService']=_0x54654a,this['_init']());}[_0x5978f9(0x187)](){const _0x4ef74d=_0x5978f9;super['dispose'](),this['_entityInit$'][_0x4ef74d(0x258)](),this[_0x4ef74d(0x22d)][_0x4ef74d(0x1f2)](_0x19ec16=>_0x19ec16[_0x4ef74d(0x187)]());}[_0x5978f9(0x139)](_0x414cbb){const _0xf3c3fe=_0x5978f9;return this[_0xf3c3fe(0x22d)][_0xf3c3fe(0x267)](_0x414cbb)?this[_0xf3c3fe(0x22d)]['get'](_0x414cbb)['cursorInfo$']:this[_0xf3c3fe(0x2c5)][_0xf3c3fe(0x228)](_0x11708d(_0x5d567a=>_0x5d567a[_0xf3c3fe(0x1f6)]===_0x414cbb),_0xd33efc(_0x2375a7=>_0x2375a7[_0xf3c3fe(0x209)]));}['_init'](){const _0x4ffb64=_0x5978f9;this[_0x4ffb64(0xf1)][_0x4ffb64(0x1e9)](_0x12c7d5['UNIVER_SHEET'])['pipe'](_0x4c94af(this[_0x4ffb64(0x208)]))[_0x4ffb64(0x260)](async _0x14eb47=>{const _0x20b5af=_0x4ffb64,_0x42426b=_0x14eb47['getUnitId'](),_0xb6c183=await this['_startSheetCollabCursor'](_0x42426b);this[_0x20b5af(0x2c5)][_0x20b5af(0x1c6)](_0xb6c183),this[_0x20b5af(0x22d)]['set'](_0x42426b,_0xb6c183);}),this[_0x4ffb64(0xf1)][_0x4ffb64(0x1e9)](_0x12c7d5['UNIVER_DOC'])[_0x4ffb64(0x228)](_0x4c94af(this[_0x4ffb64(0x208)]))[_0x4ffb64(0x228)](_0x11708d(_0x51b658=>!_0x51b658[_0x4ffb64(0x273)]()[_0x4ffb64(0x133)]('__')))['subscribe'](async _0x45b905=>{const _0x84fca1=_0x4ffb64,_0x5722ad=_0x45b905[_0x84fca1(0x273)](),_0x3fb52e=await this[_0x84fca1(0x16c)](_0x5722ad);this[_0x84fca1(0x2c5)][_0x84fca1(0x1c6)](_0x3fb52e),this[_0x84fca1(0x22d)][_0x84fca1(0x102)](_0x5722ad,_0x3fb52e);}),_0x1b622e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x12c7d5[_0x4ffb64(0x16b)]),this['_univerInstanceService'][_0x4ffb64(0x197)](_0x12c7d5[_0x4ffb64(0xe2)]))['pipe'](_0x4c94af(this[_0x4ffb64(0x208)]))['subscribe'](_0x469737=>{const _0x38652e=_0x4ffb64,_0x38bd68=_0x469737[_0x38652e(0x273)](),_0x2174b7=this[_0x38652e(0x22d)][_0x38652e(0x15c)](_0x38bd68);_0x2174b7&&(_0x2174b7[_0x38652e(0x187)](),this[_0x38652e(0x22d)]['delete'](_0x38bd68));});}async[_0x5978f9(0x15e)](_0x1b4728){const _0xb4e936=_0x5978f9,_0x3d1a24=await this[_0xb4e936(0x2ce)][_0xb4e936(0xda)](_0x1b4728),_0xfaa748=this[_0xb4e936(0x29a)][_0xb4e936(0xe6)](Me,_0x1b4728,_0x3d1a24);return _0xfaa748[_0xb4e936(0x2c6)](),_0xfaa748;}async['_startDocCollabCursor'](_0xcedfb7){const _0x7b0b0b=_0x5978f9,_0x5b5c53=await this['_collabSessionService'][_0x7b0b0b(0xda)](_0xcedfb7),_0x329bc5=this[_0x7b0b0b(0x29a)][_0x7b0b0b(0xe6)](Ue,_0xcedfb7,_0x5b5c53);return _0x329bc5[_0x7b0b0b(0x2c6)](),_0x329bc5;}};F=Ai([me(0x0,_0x4a6374),me(0x1,_0x4254b3(_0x49ea94)),me(0x2,_0x4254b3(_0x3f05f9))],F);function _0x3c22(_0x300852,_0x76a910){const _0x2c9d9a=_0x2c9d();return _0x3c22=function(_0x3c223a,_0x281f59){_0x3c223a=_0x3c223a-0xc6;let _0x4c5c53=_0x2c9d9a[_0x3c223a];return _0x4c5c53;},_0x3c22(_0x300852,_0x76a910);}const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x11176f,_0x3ad202){const _0x5638b4=_0x5978f9;let {radius:_0x30870f,width:_0x29ff71,height:_0x8a7b01}=_0x3ad202;_0x30870f=_0x30870f!=null?_0x30870f:0x0,_0x29ff71=_0x29ff71!=null?_0x29ff71:0x1e,_0x8a7b01=_0x8a7b01!=null?_0x8a7b01:0x1e;let _0x42dbd=0x0,_0x3c5fd6=0x0,_0x10815f=0x0;_0x42dbd=_0x3c5fd6=_0x10815f=Math['min'](_0x30870f,_0x29ff71/0x2,_0x8a7b01/0x2),_0x11176f[_0x5638b4(0xfe)](),_0x11176f[_0x5638b4(0x19f)](_0x42dbd,0x0),_0x11176f[_0x5638b4(0x203)](_0x29ff71-_0x3c5fd6,0x0),_0x11176f['arc'](_0x29ff71-_0x3c5fd6,_0x3c5fd6,_0x3c5fd6,Math['PI']*0x3/0x2,0x0,!0x1),_0x11176f[_0x5638b4(0x203)](_0x29ff71,_0x8a7b01-_0x10815f),_0x11176f[_0x5638b4(0x17f)](_0x29ff71-_0x10815f,_0x8a7b01-_0x10815f,_0x10815f,0x0,Math['PI']/0x2,!0x1),_0x11176f[_0x5638b4(0x203)](0x0,_0x8a7b01),_0x11176f[_0x5638b4(0x203)](0x0,_0x42dbd),_0x11176f['arc'](_0x42dbd,_0x42dbd,_0x42dbd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11176f[_0x5638b4(0x1bf)](),_0x3ad202['fill']&&(_0x11176f[_0x5638b4(0x201)](),_0x11176f[_0x5638b4(0x126)]=_0x3ad202[_0x5638b4(0x1af)],_0x3ad202[_0x5638b4(0x2cc)]===_0x5638b4(0xfd)?_0x11176f[_0x5638b4(0x1af)](_0x5638b4(0xfd)):_0x11176f['fill'](),_0x11176f[_0x5638b4(0x1dc)]());}class ue extends _0x445c68{constructor(_0x585f8f,_0x3cc4a0){const _0x545000=_0x5978f9;super(_0x585f8f,_0x3cc4a0),_(this,'color'),_(this,_0x545000(0x188)),(this['color']=_0x3cc4a0==null?void 0x0:_0x3cc4a0[_0x545000(0x1df)],this[_0x545000(0x188)]=_0x3cc4a0==null?void 0x0:_0x3cc4a0[_0x545000(0x188)]);}static['drawWith'](_0x3fe3cb,_0x136269){const _0x1fecc5=_0x5978f9,{text:_0x561df4,color:_0x792400}=_0x136269;_0x3fe3cb[_0x1fecc5(0x201)](),_0x3fe3cb[_0x1fecc5(0x2cb)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4cecc9=_0x3fe3cb[_0x1fecc5(0x14c)](_0x561df4)['width'],_0x5a8b63=Math[_0x1fecc5(0x1ea)](_0x4cecc9+0x2*Ie,Qe);$i(_0x3fe3cb,{'height':J,'radius':0x4,'width':_0x5a8b63,'fill':_0x792400}),_0x3fe3cb[_0x1fecc5(0x126)]='#FFF';const _0x1c7d44=Ie,_0x47125f=J-yi,_0x270df7=Qe-0x2*Ie;if(_0x4cecc9>_0x270df7){let _0x558f58='',_0x2fd8e8=0x0;for(const _0x1e82c0 of _0x561df4){const _0x4c0ab9=_0x3fe3cb[_0x1fecc5(0x14c)](_0x1e82c0)[_0x1fecc5(0x12e)];if(_0x2fd8e8+_0x4c0ab9<=_0x270df7-_0x3fe3cb[_0x1fecc5(0x14c)](_0x1fecc5(0x173))[_0x1fecc5(0x12e)])_0x558f58+=_0x1e82c0,_0x2fd8e8+=_0x4c0ab9;else{_0x558f58+=_0x1fecc5(0x173);break;}}_0x3fe3cb[_0x1fecc5(0x1cf)](_0x558f58,_0x1c7d44,_0x47125f);}else _0x3fe3cb['fillText'](_0x561df4,_0x1c7d44,_0x47125f);_0x3fe3cb[_0x1fecc5(0x1dc)]();}[_0x5978f9(0x156)](_0x17327e){ue['drawWith'](_0x17327e,this);}}const ve='collab-text-anchor-',xi=_0x5978f9(0x230),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x5978f9(0x2a6);class qe{constructor(_0x2a5fa4,_0x58e26f,_0xa71f4a,_0x56df2e){const _0x5964fe=_0x5978f9;_(this,'_shapes',[]),_(this,_0x5964fe(0x127),null),_(this,'_textBubble',null),_(this,_0x5964fe(0x2ad),null),_(this,_0x5964fe(0x1d5),null),_(this,_0x5964fe(0x192),null),(this[_0x5964fe(0x2a5)]=_0x2a5fa4,this[_0x5964fe(0x29d)]=_0x58e26f,this[_0x5964fe(0x23b)]=_0xa71f4a,this[_0x5964fe(0xe0)]=_0x56df2e,this['_render']());}set[_0x5978f9(0x295)](_0x13038a){const _0x9c508f=_0x5978f9;_0x13038a?(this[_0x9c508f(0x2ad)]&&this[_0x9c508f(0x2ad)][_0x9c508f(0x2ae)](),this[_0x9c508f(0x200)]&&this[_0x9c508f(0x200)]['show']()):(this[_0x9c508f(0x2ad)]&&this[_0x9c508f(0x2ad)]['show'](),this['_textBubble']&&this[_0x9c508f(0x200)]['hide']());}[_0x5978f9(0x187)](){const _0xf0ebe=_0x5978f9;for(const _0x4d6f78 of this[_0xf0ebe(0xd4)])_0x4d6f78[_0xf0ebe(0x187)]();this[_0xf0ebe(0x200)]&&this[_0xf0ebe(0x200)][_0xf0ebe(0x187)](),this[_0xf0ebe(0x2ad)]&&this[_0xf0ebe(0x2ad)][_0xf0ebe(0x187)](),this[_0xf0ebe(0x127)]&&this[_0xf0ebe(0x127)][_0xf0ebe(0x187)](),this[_0xf0ebe(0x192)]&&this[_0xf0ebe(0x192)]();}[_0x5978f9(0x118)](){const _0x384d57=_0x5978f9;var _0x6fcc50;const {_docSkeleton:_0x5d774a,_document:_0xab45f1}=this,{color:_0x12b389,name:_0x5683c4,ranges:_0x20abde}=this[_0x384d57(0x2a5)],_0x3dfd29=_0xab45f1[_0x384d57(0x1ce)](),{docsLeft:_0x4078d5,docsTop:_0x5f30c3}=_0x3dfd29,_0x592f6c=new _0x5a9ff8(_0x3dfd29,_0x5d774a);for(const {startOffset:_0x4625e1,endOffset:_0x39cb17,rangeType:_0x2fcd87,segmentId:_0x790669,segmentPage:_0x18805f,collapsed:_0x2ec545,isActive:_0xc2ffc1}of _0x20abde){const _0x4a83df=_0x5d774a['findNodePositionByCharIndex'](_0x4625e1,!0x0,_0x790669,_0x18805f);let _0xdd97c5=_0x5d774a[_0x384d57(0x147)](_0x39cb17,!0x0,_0x790669,_0x18805f);if(_0xdd97c5==null&&(_0xdd97c5=_0x5d774a[_0x384d57(0x147)](_0x39cb17-0x1,!0x1,_0x790669,_0x18805f)),_0xc2ffc1){const {contentBoxPointGroup:_0x28ae04}=_0x592f6c[_0x384d57(0x190)](_0xdd97c5,_0xdd97c5);if(_0x28ae04[_0x384d57(0xd8)]===0x0)continue;this[_0x384d57(0xe8)](_0x12b389,_0x28ae04,_0x4078d5,_0x5f30c3,_0x5683c4),this[_0x384d57(0x192)]=this[_0x384d57(0x12f)]();}if(_0x4a83df&&_0xdd97c5){if(_0x2fcd87===_0x369fc5[_0x384d57(0x243)]){const _0xf66929=new _0x36de77(_0x3dfd29,_0x5d774a),{pointGroup:_0x129fda}=(_0x6fcc50=_0xf66929['getRangePointData'](_0x4a83df,_0xdd97c5))!=null?_0x6fcc50:{};if(_0x129fda==null||_0x129fda[_0x384d57(0xd8)]===0x0)continue;this[_0x384d57(0x13c)](_0x12b389,_0x129fda,_0x4078d5,_0x5f30c3);}else{if(!_0x2ec545){const {borderBoxPointGroup:_0x16585a}=_0x592f6c[_0x384d57(0x190)](_0x4a83df,_0xdd97c5);if(_0x16585a[_0x384d57(0xd8)]===0x0)continue;this[_0x384d57(0x123)](_0x12b389,_0x16585a,_0x4078d5,_0x5f30c3);}}}}}[_0x5978f9(0xe8)](_0x54e9e2,_0x1a7053,_0x35681e,_0x4ad7df,_0x106342){const _0x4bfd62=_0x5978f9,_0x606f33=this[_0x4bfd62(0x1a6)](_0x1a7053),{left:_0x430d0e,top:_0x4d5f23,height:_0x3ce521}=_0x606f33,_0x3fa6f4=this[_0x4bfd62(0x1ac)](),_0x47b922=Hi/_0x3fa6f4,_0x23a9be=new _0x1241ee(ve+_0xf28c22(K),{'left':_0x430d0e+_0x35681e-_0x47b922,'top':_0x4d5f23+_0x4ad7df,'height':_0x3ce521,'width':ki,'fill':_0x54e9e2||_0x5701e8(_0x721eaf[_0x4bfd62(0x263)],0x0),'strokeWidth':_0x47b922,'stroke':Fi,'evented':!0x0});this[_0x4bfd62(0x127)]=_0x23a9be,this[_0x4bfd62(0x29d)][_0x4bfd62(0x231)](_0x23a9be,_0x257fd2);const _0x29df59=new _0x1241ee(ve+_0xf28c22(K),{'left':_0x430d0e+_0x35681e-_0x47b922,'top':_0x4d5f23+_0x4ad7df-ge/0x2,'height':ge,'width':ge,'fill':_0x54e9e2||_0x5701e8(_0x721eaf[_0x4bfd62(0x263)],0x0),'strokeWidth':0x0,'stroke':_0x54e9e2||_0x5701e8(_0x721eaf[_0x4bfd62(0x263)],0x0),'evented':!0x1});this[_0x4bfd62(0x2ad)]=_0x29df59,this['_scene'][_0x4bfd62(0x231)](_0x29df59,_0x257fd2);const _0x4d037d=new ue(ve+_0xf28c22(K),{'left':_0x430d0e+_0x35681e-_0x47b922,'top':_0x4d5f23+_0x4ad7df-J,'text':_0x106342,'color':_0x54e9e2});this['_textBubble']=_0x4d037d,this[_0x4bfd62(0x29d)][_0x4bfd62(0x231)](_0x4d037d,_0x257fd2),this['_hover']=!0x1;}[_0x5978f9(0x12f)](){const _0x3e940e=_0x5978f9,_0x4b7f8e=this[_0x3e940e(0x127)][_0x3e940e(0x19b)][_0x3e940e(0x285)](()=>{const _0x18759e=_0x3e940e;this[_0x18759e(0x295)]=!0x0;}),_0xf020f1=this['_anchor']['onPointerLeave$'][_0x3e940e(0x285)](()=>{const _0x2f7c2d=_0x3e940e;this[_0x2f7c2d(0x1d5)]&&clearTimeout(this[_0x2f7c2d(0x1d5)]),this[_0x2f7c2d(0x1d5)]=setTimeout(()=>{const _0x14e127=_0x2f7c2d;this[_0x14e127(0x295)]=!0x1;},0x7d0);});return()=>{const _0x2c1f26=_0x3e940e;_0x4b7f8e[_0x2c1f26(0xd6)](),_0xf020f1[_0x2c1f26(0xd6)]();};}[_0x5978f9(0x123)](_0x5679d9,_0x15a6ed,_0x53793a,_0x1156b1){const _0xc1ee93=_0x5978f9,_0x3c5087=new _0x1c3c0d(_0x5679d9)[_0xc1ee93(0x26b)](0.2)[_0xc1ee93(0x291)](),_0x24c11f=new _0x383636(xi+_0xf28c22(K),{'pointsGroup':_0x15a6ed,'fill':_0x3c5087||_0x5701e8(_0x721eaf[_0xc1ee93(0x263)],0.2),'left':_0x53793a,'top':_0x1156b1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc1ee93(0xd4)][_0xc1ee93(0x15a)](_0x24c11f),this[_0xc1ee93(0x29d)][_0xc1ee93(0x231)](_0x24c11f,_0x257fd2);}[_0x5978f9(0x13c)](_0x1c5976,_0x2d6ee0,_0x5f4daa,_0x18158c){const _0x46c3eb=_0x5978f9,_0x225565=new _0x1c3c0d(_0x1c5976)[_0x46c3eb(0x26b)](0.2)[_0x46c3eb(0x291)](),_0x1a5704=new _0x383636(Bi+_0xf28c22(K),{'pointsGroup':_0x2d6ee0,'fill':_0x225565||_0x5701e8(_0x721eaf[_0x46c3eb(0x263)],0.2),'left':_0x5f4daa,'top':_0x18158c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x46c3eb(0x15a)](_0x1a5704),this['_scene'][_0x46c3eb(0x231)](_0x1a5704,_0x257fd2);}[_0x5978f9(0x1a6)](_0x13b23d){const _0x44e561=_0x13b23d[0x0],_0x152a78=_0x44e561[0x0],_0x1a608f=_0x44e561[0x2],{x:_0x422d65,y:_0x4ed842}=_0x152a78,{x:_0x165445,y:_0x17dedd}=_0x1a608f;return{'left':_0x422d65,'top':_0x4ed842,'width':_0x165445-_0x422d65,'height':_0x17dedd-_0x4ed842};}['_getScale'](){const _0x14e6cb=_0x5978f9,{scaleX:_0x105ae6,scaleY:_0x54afe1}=this[_0x14e6cb(0x29d)][_0x14e6cb(0x280)]();return Math[_0x14e6cb(0x109)](_0x105ae6,_0x54afe1);}}var Yi=Object[_0x5978f9(0x25e)],ji=(_0x7e4295,_0x1a63c1,_0x1ad573,_0x51a299)=>{for(var _0x4d63b3=_0x51a299>0x1?void 0x0:_0x51a299?Yi(_0x1a63c1,_0x1ad573):_0x1a63c1,_0x721485=_0x7e4295['length']-0x1,_0x1b0764;_0x721485>=0x0;_0x721485--)(_0x1b0764=_0x7e4295[_0x721485])&&(_0x4d63b3=_0x1b0764(_0x4d63b3)||_0x4d63b3);return _0x4d63b3;},ee=(_0x3c38c0,_0x3d4e5b)=>(_0x36888d,_0x4ecd75)=>_0x3d4e5b(_0x36888d,_0x4ecd75,_0x3c38c0);let Le=class extends _0x4f795a{constructor(_0x2668c0,_0x9e4d38,_0xc62971,_0x101f36,_0x19eb6d){const _0x539bcc=_0x5978f9;super(),_(this,_0x539bcc(0x180),[]),_(this,_0x539bcc(0x239),[]),(this[_0x539bcc(0x26d)]=_0x2668c0,this[_0x539bcc(0x157)]=_0x9e4d38,this['_collabCursorController']=_0xc62971,this[_0x539bcc(0x297)]=_0x101f36,this[_0x539bcc(0x2ab)]=_0x19eb6d,this[_0x539bcc(0x17c)]());}[_0x5978f9(0x17c)](){const _0x20bd42=_0x5978f9,_0x1ce8ed=this[_0x20bd42(0x26d)][_0x20bd42(0x24b)],_0x3034a6=this[_0x20bd42(0x157)];this[_0x20bd42(0x1c8)](_0x35b352([this[_0x20bd42(0x15d)]['getCollabCursors$'](_0x1ce8ed),this[_0x20bd42(0x2ab)][_0x20bd42(0x16d)]])[_0x20bd42(0x228)](_0x40da09(([_0x24b1e1,_0x949501])=>({'skeleton':_0x3034a6[_0x20bd42(0xef)](),'cursors':[..._0x24b1e1['values']()][_0x20bd42(0x176)](_0x25544d=>({..._0x25544d,'color':this['_themeService']['getColorFromTheme'](_0x25544d['color'])}))})))[_0x20bd42(0x260)](_0x108a11=>{const _0x14c5fa=_0x20bd42;if(this[_0x14c5fa(0xec)](),_0x108a11){const {skeleton:_0x4552e4,cursors:_0xf41070}=_0x108a11;this['_updateCollabCursors'](_0x4552e4,_0xf41070);}})),this['_initResize'](),this[_0x20bd42(0x249)]();}['_updateCollabCursors'](_0x327330,_0x4e9ee5){const _0x59ec72=_0x5978f9,{scene:_0x89f617,mainComponent:_0x1db224}=this[_0x59ec72(0x26d)],_0x1894eb=_0x4e9ee5[_0x59ec72(0x101)](_0x2edd72=>new qe(_0x2edd72,_0x89f617,_0x327330,_0x1db224));this[_0x59ec72(0x180)]=_0x1894eb,this[_0x59ec72(0x239)]=_0x4e9ee5;}[_0x5978f9(0x296)](){const _0x20e8bf=_0x5978f9;this[_0x20e8bf(0xec)]();const {scene:_0x36ae4e,mainComponent:_0x2be9cd}=this[_0x20e8bf(0x26d)],_0x40c1ec=this['_docSkeletonManagerService'][_0x20e8bf(0xef)](),_0x3ea071=this[_0x20e8bf(0x239)][_0x20e8bf(0x101)](_0x13f5f7=>new qe(_0x13f5f7,_0x36ae4e,_0x40c1ec,_0x2be9cd));this[_0x20e8bf(0x180)]=_0x3ea071;}[_0x5978f9(0xec)](){const _0x249b5a=_0x5978f9;this[_0x249b5a(0x180)][_0x249b5a(0x1f2)](_0x24a33c=>_0x24a33c[_0x249b5a(0x187)]()),this['_cursorShapes']=[];}[_0x5978f9(0x249)](){const _0x2aa4d4=_0x5978f9,_0x25ba29=[_0x42ed27['id']];this[_0x2aa4d4(0x1c8)](this['_commandService']['onCommandExecuted'](_0x41aaa1=>{const _0x2c7b0c=_0x2aa4d4;_0x25ba29[_0x2c7b0c(0x174)](_0x41aaa1['id'])&&_0x41aaa1[_0x2c7b0c(0x1b6)][_0x2c7b0c(0x24b)]===this[_0x2c7b0c(0x26d)][_0x2c7b0c(0x24b)]&&this[_0x2c7b0c(0x296)]();}));}['_initResize'](){const _0x461e02=_0x5978f9;this['disposeWithMe'](_0x18c26e(this['_context']['engine'][_0x461e02(0x103)])['pipe'](_0x1274ae(_0xa0c7cc=>_0xa0c7cc[_0x461e02(0x204)]===_0x4c5bb0[_0x461e02(0xfc)]),_0x14045f(0x10))[_0x461e02(0x260)](()=>{const _0x12154c=_0x461e02;this[_0x12154c(0x296)]();}));}};Le=ji([ee(0x1,_0x4254b3(_0x4102fb)),ee(0x2,_0x4254b3(F)),ee(0x3,_0x179029),ee(0x4,_0x4254b3(_0x4906d5))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x445c68{constructor(_0x39571e,_0xa51433){const _0xbe70c2=_0x5978f9;super(_0x39571e,_0xa51433),_(this,_0xbe70c2(0x1f7)),_(this,_0xbe70c2(0x1d7),!0x1),_(this,_0xbe70c2(0x1d1)),_(this,_0xbe70c2(0x28a),''),_(this,_0xbe70c2(0x261),_0xbe70c2(0xdf)),_(this,_0xbe70c2(0x23e)),(_0xa51433&&this['setShapeProps'](_0xa51433),this['onPointerEnter$'][_0xbe70c2(0x285)](()=>this[_0xbe70c2(0xf9)]({'hovered':!0x0})),this[_0xbe70c2(0x153)][_0xbe70c2(0x285)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x164a21){const _0x28443f=_0x5978f9;var _0x42bbe5,_0x39970c,_0x50ad8e,_0x568324,_0x3621af,_0x22be29;this['_color']=(_0x42bbe5=_0x164a21[_0x28443f(0x1df)])!=null?_0x42bbe5:this[_0x28443f(0x1f7)],this[_0x28443f(0x1d7)]=(_0x39970c=_0x164a21['hovered'])!=null?_0x39970c:this[_0x28443f(0x1d7)],this[_0x28443f(0x1d1)]=(_0x50ad8e=_0x164a21[_0x28443f(0x13f)])!=null?_0x50ad8e:this[_0x28443f(0x1d1)],this[_0x28443f(0x28a)]=(_0x568324=_0x164a21[_0x28443f(0x299)])!=null?_0x568324:this[_0x28443f(0x28a)],this[_0x28443f(0x261)]=(_0x3621af=_0x164a21['labelPosition'])!=null?_0x3621af:this[_0x28443f(0x261)],this[_0x28443f(0x23e)]=(_0x22be29=_0x164a21[_0x28443f(0x2ca)])!=null?_0x22be29:this[_0x28443f(0x23e)],this[_0x28443f(0x152)]({'width':_0x164a21['width'],'height':_0x164a21[_0x28443f(0x28b)]});}[_0x5978f9(0x141)](_0x2f6e90){const _0x139b0d=_0x5978f9,{row:_0x2c4577,column:_0x12ca41}=_0x2f6e90;if(_0x2c4577>=this[_0x139b0d(0x1d1)][_0x139b0d(0x252)]&&_0x2c4577<=this[_0x139b0d(0x1d1)][_0x139b0d(0x1c4)]&&_0x12ca41>=this['_range'][_0x139b0d(0xed)]&&_0x12ca41<=this[_0x139b0d(0x1d1)][_0x139b0d(0x1a5)]){this[_0x139b0d(0xf9)]({'hovered':!0x0});return;}this[_0x139b0d(0xf9)]({'hovered':!0x1});}[_0x5978f9(0xfb)](_0x5b0f4e){return!0x1;}[_0x5978f9(0x156)](_0x1f4f29){const _0x53af09=_0x5978f9;_0x1241ee[_0x53af09(0x298)](_0x1f4f29,{'width':this[_0x53af09(0x12e)],'height':this['height'],'strokeWidth':Wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x53af09(0x23e)]}),this[_0x53af09(0x1d7)]&&(_0x1f4f29['save'](),_0x1f4f29[_0x53af09(0x140)](0x1,0x0,0x0,0x1,this[_0x53af09(0x12e)],this[_0x53af09(0x261)]===_0x53af09(0xdd)?0x0:-J),ue[_0x53af09(0x298)](_0x1f4f29,{'text':this[_0x53af09(0x28a)],'color':this[_0x53af09(0x1f7)]}),_0x1f4f29[_0x53af09(0x1dc)]());}}var Gi=Object[_0x5978f9(0x25e)],Ki=(_0x17c9d5,_0x439c31,_0x2442ad,_0x27c589)=>{const _0x1f0c9f=_0x5978f9;for(var _0x36910c=_0x27c589>0x1?void 0x0:_0x27c589?Gi(_0x439c31,_0x2442ad):_0x439c31,_0x2ba2fb=_0x17c9d5[_0x1f0c9f(0xd8)]-0x1,_0x580480;_0x2ba2fb>=0x0;_0x2ba2fb--)(_0x580480=_0x17c9d5[_0x2ba2fb])&&(_0x36910c=_0x580480(_0x36910c)||_0x36910c);return _0x36910c;},pe=(_0x495187,_0x1518e7)=>(_0x516c4b,_0x49512e)=>_0x1518e7(_0x516c4b,_0x49512e,_0x495187);const zi=0x1389;let Pe=class extends _0x4f795a{constructor(_0x382f8d,_0x27d28f,_0x318cb8,_0x433912){const _0x4507c8=_0x5978f9;super(),_(this,_0x4507c8(0x239),new Set()),_(this,_0x4507c8(0x269),null),(this['_context']=_0x382f8d,this[_0x4507c8(0x257)]=_0x27d28f,this['_collabCursorController']=_0x318cb8,this[_0x4507c8(0x2ab)]=_0x433912,this[_0x4507c8(0x17c)]());}['_init'](){const _0x211a0e=_0x5978f9;this[_0x211a0e(0x257)]['currentSkeleton$'][_0x211a0e(0x228)](_0x5968d1(this[_0x211a0e(0x208)]),_0x1e2186(_0x301957=>{const _0x518440=_0x211a0e;if(_0x301957){const _0x47a045=_0x301957[_0x518440(0x1ad)];return _0x35b352(this['_collabCursorController'][_0x518440(0x139)](this[_0x518440(0x26d)][_0x518440(0x24b)]),this[_0x518440(0x2ab)]['currentTheme$'])[_0x518440(0x228)](_0x40da09(([_0x13e66b,_0x591254])=>{const _0x4aa531=_0x518440,_0x42a771=new Map();return _0x13e66b[_0x4aa531(0x1f2)]((_0x30925a,_0x36ff92)=>{const _0x30e1cf=_0x4aa531;if(_0x30925a[_0x30e1cf(0x136)]===_0x47a045){const _0x2d3833={..._0x30925a};_0x2d3833['color']=this[_0x30e1cf(0x2ab)]['getColorFromTheme'](_0x30925a['color']),_0x42a771[_0x30e1cf(0x102)](_0x36ff92,_0x2d3833);}}),{'skeleton':_0x301957,'cursors':_0x42a771};}));}return _0x2f5681({'skeleton':null,'cursors':new Map()});}))[_0x211a0e(0x260)](({skeleton:_0x45b667,cursors:_0x58ff0a})=>{const _0xc1725b=_0x211a0e;this[_0xc1725b(0xec)](),_0x45b667&&this[_0xc1725b(0x256)](_0x45b667,_0x58ff0a);}),this[_0x211a0e(0x257)][_0x211a0e(0x223)]['subscribe'](_0x1a4a91=>{const _0x1479ad=_0x211a0e;if(_0x1a4a91==null)return;const {skeleton:_0x15fb66}=_0x1a4a91,{scene:_0x2e94e9}=this[_0x1479ad(0x26d)];_0x2e94e9[_0x1479ad(0x181)]['subscribeEvent'](_0x5b1e9d(_0x56ccdc=>{const _0x326710=_0x1479ad;var _0x9af461,_0x1a799f;const {offsetX:_0x44fadd,offsetY:_0x5d8cb7}=_0x56ccdc,{x:_0x2288d1,y:_0x548d32}=_0x2e94e9[_0x326710(0x1c5)](_0x45fba4[_0x326710(0xd3)]([_0x44fadd,_0x5d8cb7])),{scaleX:_0x15ce9d,scaleY:_0x32f4c5}=_0x2e94e9[_0x326710(0x280)](),_0x21de18=_0x2e94e9[_0x326710(0xc9)](_0x4fe57b[_0x326710(0x2a2)]),_0x262511=_0x2e94e9[_0x326710(0x242)](_0x45fba4['FromArray']([_0x2288d1,_0x548d32]),_0x21de18),_0x5e6c53=_0x15fb66['getCellPositionByOffset'](_0x44fadd,_0x5d8cb7,_0x15ce9d,_0x32f4c5,_0x262511);((_0x9af461=this[_0x326710(0x269)])==null?void 0x0:_0x9af461[_0x326710(0x1f5)])===_0x5e6c53[_0x326710(0x1f5)]&&((_0x1a799f=this[_0x326710(0x269)])==null?void 0x0:_0x1a799f[_0x326710(0x1ec)])===_0x5e6c53[_0x326710(0x1ec)]||this[_0x326710(0x239)][_0x326710(0x1f2)](_0x399c7d=>{const _0x47a7a7=_0x326710;_0x399c7d[_0x47a7a7(0x141)](_0x5e6c53);});},0x64));});}[_0x5978f9(0x256)](_0x5dbdd6,_0x4937ae){const _0x2904e4=_0x5978f9;var _0x5f3c7b;const _0x3c63c2=(_0x5f3c7b=this[_0x2904e4(0x257)]['getCurrent']())==null?void 0x0:_0x5f3c7b['skeleton'];if(!_0x3c63c2)return;const _0x5c4e11=this[_0x2904e4(0xe5)]();if(!_0x5c4e11)return;this['_cursors'][_0x2904e4(0x1f2)](_0x4d61bc=>{_0x4d61bc['makeDirty']();});const {scene:_0x2b3b0b}=_0x5c4e11,_0x5db696=Ji(Array[_0x2904e4(0x24c)](_0x4937ae[_0x2904e4(0x2b2)]()))[_0x2904e4(0x101)](_0x20758f=>{const _0x335198=_0x2904e4,{color:_0x494337,range:_0x34f30a,name:_0x444cb1,selection:_0x1e0363,sheetID:_0x140cca}=_0x20758f,{startColumn:_0x3d9785,startRow:_0x139062,endColumn:_0x40beef,endRow:_0x1c6275}=_0x34f30a,_0x95693e=_0x525ff9(_0x139062,_0x3d9785,_0x2b3b0b,_0x3c63c2),_0x5da7f6=_0x525ff9(_0x1c6275,_0x40beef,_0x2b3b0b,_0x3c63c2),{columnHeaderHeightAndMarginTop:_0x1410c1}=_0x3c63c2,{startX:_0x266670,startY:_0x3b519c}=_0x95693e,{endX:_0x3f0989,endY:_0x310c94}=_0x5da7f6,_0x7a3c3c=_0x3f0989-_0x266670,_0x3c82a2=_0x310c94-_0x3b519c,_0x534b31={'labelPosition':_0x3b519c-_0x1410c1>=J?_0x335198(0xdf):_0x335198(0xdd),'sheetID':_0x140cca,'range':_0x34f30a,'color':_0x494337,'name':_0x444cb1,'selection':_0x1e0363,'left':_0x266670,'top':_0x3b519c,'width':_0x7a3c3c,'height':_0x3c82a2,'evented':!0x1,'zIndex':zi};return new Xi(_0x444cb1,_0x534b31);});_0x2b3b0b[_0x2904e4(0xdc)](_0x5db696,Vi),this['_cursors']=new Set(_0x5db696);}[_0x5978f9(0xec)](){const _0x201dde=_0x5978f9;var _0x97f0ae;(_0x97f0ae=this[_0x201dde(0x239)])==null||_0x97f0ae['forEach'](_0x22b481=>_0x22b481[_0x201dde(0x187)]());}[_0x5978f9(0xe5)](){const _0x3ae5e6=_0x5978f9;return _0x515a9d(this[_0x3ae5e6(0x26d)]['unit'],this[_0x3ae5e6(0x26d)]);}};Pe=Ki([pe(0x1,_0x4254b3(_0x529972)),pe(0x2,_0x4254b3(F)),pe(0x3,_0x4254b3(_0x4906d5))],Pe);function Ji(_0xc63335){const _0xe5eba1=_0x5978f9,_0x1511b6=new Map();return _0xc63335[_0xe5eba1(0x1f2)](_0x1da401=>{const _0xffaa91=_0xe5eba1;if(_0x1511b6['has'](_0x1da401[_0xffaa91(0x235)])){const _0xcdfa5f=_0x1511b6[_0xffaa91(0x15c)](_0x1da401[_0xffaa91(0x235)]);_0xcdfa5f[_0xffaa91(0x299)]+=',\x20'+_0x1da401[_0xffaa91(0x299)];}else _0x1511b6[_0xffaa91(0x102)](_0x1da401['selection'],_0x1da401);}),Array[_0xe5eba1(0x24c)](_0x1511b6[_0xe5eba1(0x2b2)]());}var Zi=Object[_0x5978f9(0x25e)],Qi=(_0x43cf9f,_0x28a289,_0x12c308,_0x112dff)=>{const _0x75acc8=_0x5978f9;for(var _0x4bca54=_0x112dff>0x1?void 0x0:_0x112dff?Zi(_0x28a289,_0x12c308):_0x28a289,_0x9aca06=_0x43cf9f[_0x75acc8(0xd8)]-0x1,_0x552a86;_0x9aca06>=0x0;_0x9aca06--)(_0x552a86=_0x43cf9f[_0x9aca06])&&(_0x4bca54=_0x552a86(_0x4bca54)||_0x4bca54);return _0x4bca54;},B=(_0x4954d7,_0x33f494)=>(_0x5dcd5f,_0xa96607)=>_0x33f494(_0x5dcd5f,_0xa96607,_0x4954d7);let ne=class extends _0x275756{constructor(_0x331d19,_0x13e35d,_0x4d8c65,_0x1e10f9,_0x16f1f9,_0x2d81df){const _0x169c3c=_0x5978f9;super(),this[_0x169c3c(0x254)]=_0x331d19,this[_0x169c3c(0x28d)]=_0x13e35d,this['_collaborationUIEventService']=_0x4d8c65,this[_0x169c3c(0x2c2)]=_0x1e10f9,this[_0x169c3c(0x2be)]=_0x16f1f9,this['_localeService']=_0x2d81df,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x5978f9(0x281)](){const _0x300862=_0x5978f9;this[_0x300862(0x1c8)](this[_0x300862(0x254)][_0x300862(0x14d)](()=>{const _0x442a08=_0x300862;if(this['_localCacheService']['saveTaskMap'][_0x442a08(0x1fd)])return this[_0x442a08(0x25c)]['t'](_0x442a08(0xeb));}));}[_0x5978f9(0x12c)](){const _0x205dfa=_0x5978f9;this[_0x205dfa(0x1c8)](this['_collaborationUIEventService'][_0x205dfa(0x131)][_0x205dfa(0x260)](_0x47aadb=>{const _0x52c0c9=_0x205dfa;_0x47aadb['id']===_0x299041[_0x52c0c9(0x1eb)]&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x1cd)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x47aadb['id']===_0x299041['CLOSE_ROOM']&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x1cd)],'content':this[_0x52c0c9(0x25c)]['t'](_0x52c0c9(0x12d))}),_0x47aadb['id']===_0x299041[_0x52c0c9(0x21e)]&&this[_0x52c0c9(0x2be)][_0x52c0c9(0x168)]({'title':this[_0x52c0c9(0x25c)]['t'](_0x52c0c9(0x23f)),'content':this['_localeService']['t'](_0x52c0c9(0x1da)),'type':_0x52c0c9(0x219),'duration':0x0}),_0x47aadb['id']===_0x299041['CONFLICT']&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753['Error'],'content':this[_0x52c0c9(0x25c)]['t'](_0x52c0c9(0x12d))+'('+_0x47aadb[_0x52c0c9(0x14f)]+')'}),_0x47aadb['id']===_0x299041['JOIN_ROOM_FAILED']&&this[_0x52c0c9(0x2c2)]['show']({'type':_0x266753['Warning'],'content':this[_0x52c0c9(0x25c)]['t'](_0x47aadb[_0x52c0c9(0x14f)]||'')}),_0x47aadb['id']===_0x299041[_0x52c0c9(0x183)]&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x1cd)],'content':this[_0x52c0c9(0x25c)]['t'](_0x52c0c9(0x264))}),_0x47aadb['id']===_0x299041[_0x52c0c9(0x1dd)]&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x113)],'content':this['_localeService']['t'](_0x52c0c9(0x21c))}),_0x47aadb['id']===_0x299041['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x113)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x2895c2),B(0x1,_0x4ac262),B(0x2,_0x4254b3(_0x27e336)),B(0x3,_0x4887c1),B(0x4,_0x38e1e8),B(0x5,_0x4254b3(_0x356e26))],ne);const qi=_0x5978f9(0x179),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x248e8d,_0x35effd,_0x17d252,_0x443d9f)=>{const _0x55997e=_0x5978f9;for(var _0x41147b=_0x443d9f>0x1?void 0x0:_0x443d9f?en(_0x35effd,_0x17d252):_0x35effd,_0x334c5b=_0x248e8d[_0x55997e(0xd8)]-0x1,_0x2bd5a6;_0x334c5b>=0x0;_0x334c5b--)(_0x2bd5a6=_0x248e8d[_0x334c5b])&&(_0x41147b=_0x2bd5a6(_0x41147b)||_0x41147b);return _0x41147b;},tt=(_0x4bb681,_0x3d1114)=>(_0x3035db,_0x4327fd)=>_0x3d1114(_0x3035db,_0x4327fd,_0x4bb681);let re=class{constructor(_0xa62dc6,_0x68c361){const _0x5ab0c1=_0x5978f9;this[_0x5ab0c1(0x104)]=_0xa62dc6,this[_0x5ab0c1(0x162)]=_0x68c361;}[_0x5978f9(0xff)](_0xbb3a7c){const _0xb762e5=_0x5978f9;this[_0xb762e5(0x11b)](_0xbb3a7c),this[_0xb762e5(0x248)](_0xbb3a7c);}['transformRemoteChangeset'](_0x5cf219){const _0x25748e=_0x5978f9,{unitID:_0x28e876}=_0x5cf219,_0x2604d6=this['_renderManagerService']['getRenderById'](_0x28e876)['with'](_0xd0cb86),{redoCache:_0x598a53}=_0x2604d6[_0x25748e(0x259)]();if(_0x598a53[_0x25748e(0xd8)]===0x0)return _0x5cf219;let _0x593c44=_0x495d23[_0x25748e(0x212)](_0x5cf219['mutations'][0x0]);for(let _0x566c86=0x0;_0x566c86<_0x598a53[_0x25748e(0xd8)];_0x566c86++){const _0x4db215={'id':_0x25748e(0x2c7),'params':{..._0x598a53[_0x566c86]}},_0x42a9d9=this[_0x25748e(0x104)][_0x25748e(0x184)](_0x593c44,_0x4db215,!0x1);if(_0x1d14c8(_0x42a9d9))throw _0x42a9d9[_0x25748e(0x219)];_0x593c44=_0x42a9d9[_0x25748e(0x25b)];}return{..._0x495d23[_0x25748e(0x212)](_0x5cf219),'mutations':[_0x593c44]};}[_0x5978f9(0x11b)](_0x1f816e){const _0x3cb5ae=_0x5978f9,{unitID:_0x4a11a2}=_0x1f816e,_0x5d04f8=this['_renderManagerService']['getRenderById'](_0x4a11a2)['with'](_0xd0cb86),{undoCache:_0x53a1ce,redoCache:_0x3ae44d}=_0x5d04f8[_0x3cb5ae(0x259)]();if(_0x53a1ce[_0x3cb5ae(0xd8)]===0x0||_0x3ae44d[_0x3cb5ae(0xd8)]===0x0)return;const _0x4b49e1=[],_0xfa1e9d=[];let _0x42f309=_0x495d23[_0x3cb5ae(0x212)](_0x1f816e[_0x3cb5ae(0x213)][0x0]),_0x370abc=_0x495d23[_0x3cb5ae(0x212)](_0x1f816e[_0x3cb5ae(0x213)][0x0]);for(let _0x5a1554=_0x53a1ce[_0x3cb5ae(0xd8)]-0x1;_0x5a1554>=0x0;_0x5a1554--){const _0xc1c4bc={'id':_0x3cb5ae(0x2c7),'params':{..._0x53a1ce[_0x5a1554]}},_0xf4cfe6={'id':_0x3cb5ae(0x2c7),'params':{..._0x3ae44d[_0x5a1554]}},_0x2ff2c9=this[_0x3cb5ae(0x104)][_0x3cb5ae(0x184)](_0x42f309,_0xc1c4bc,!0x1),_0x449445=this[_0x3cb5ae(0x104)][_0x3cb5ae(0x184)](_0x370abc,_0xf4cfe6,!0x1);if(_0x1d14c8(_0x2ff2c9))throw _0x2ff2c9['error'];if(_0x1d14c8(_0x449445))throw _0x449445[_0x3cb5ae(0x219)];_0x4b49e1[_0x3cb5ae(0x1ca)](_0x2ff2c9[_0x3cb5ae(0x18f)]['params']),_0xfa1e9d[_0x3cb5ae(0x1ca)](_0x449445[_0x3cb5ae(0x18f)]['params']),_0x42f309=_0x2ff2c9[_0x3cb5ae(0x25b)],_0x370abc=_0x449445[_0x3cb5ae(0x25b)];}_0x5d04f8['setUndoRedoMutationParamsCache']({'undoCache':_0x4b49e1,'redoCache':_0xfa1e9d});}[_0x5978f9(0x248)](_0x458070){const _0x4cea74=_0x5978f9,{unitID:_0x54c064}=_0x458070,_0x23fc18=this[_0x4cea74(0x162)]['getRenderById'](_0x54c064)[_0x4cea74(0x1a7)](_0xd0cb86),_0xd06356=_0x23fc18[_0x4cea74(0x18b)]();if(_0xd06356==null)return;const _0x1da360=[{'id':_0x4cea74(0x2c7),'params':{'unitId':_0x458070[_0x4cea74(0x1f6)],'actions':null,'textRanges':[_0xd06356]}}],_0x59825c=this[_0x4cea74(0x104)][_0x4cea74(0x114)](_0x458070,_0x1da360);if(!_0x17e12b(_0x59825c))throw _0x59825c[_0x4cea74(0x219)];const _0x2b1279=_0x59825c[_0x4cea74(0x18f)][0x0][_0x4cea74(0x1b6)][_0x4cea74(0x20c)];Array[_0x4cea74(0xf6)](_0x2b1279)&&_0x2b1279[_0x4cea74(0xd8)]&&_0x23fc18[_0x4cea74(0x270)](_0x2b1279[0x0]);}};re=tn([tt(0x0,_0xac990f),tt(0x1,_0x54f460)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0xffea4b,_0x16f91b,_0x5d5305,_0x37cd7d)=>{const _0x69768e=_0x5978f9;for(var _0x2e7844=_0x37cd7d>0x1?void 0x0:_0x37cd7d?sn(_0x16f91b,_0x5d5305):_0x16f91b,_0x192fbe=_0xffea4b[_0x69768e(0xd8)]-0x1,_0x5324ad;_0x192fbe>=0x0;_0x192fbe--)(_0x5324ad=_0xffea4b[_0x192fbe])&&(_0x2e7844=_0x5324ad(_0x2e7844)||_0x2e7844);return _0x2e7844;},Ce=(_0x558e5f,_0xfa76fa)=>(_0x371b71,_0x4b27db)=>_0xfa76fa(_0x371b71,_0x4b27db,_0x558e5f);let oe=class{constructor(_0xd424d4,_0x49a383,_0x29dac5){const _0x24821c=_0x5978f9;this[_0x24821c(0x29a)]=_0xd424d4,this['_transformService']=_0x49a383,this[_0x24821c(0x134)]=_0x29dac5;}[_0x5978f9(0x17b)](_0x2bd7d2){const _0x28f26c=_0x5978f9;this[_0x28f26c(0x1b7)](_0x2bd7d2);}[_0x5978f9(0x225)](_0x299db9){const _0x55d960=_0x5978f9,{unitID:_0x2906fe}=_0x299db9,{collaboration:_0x2cfdcf}=this['_docStateChangeManagerService']['getStateCache'](_0x2906fe);if(_0x2cfdcf[_0x55d960(0xd8)]===0x0)return _0x299db9;let _0x1379c0=_0x495d23[_0x55d960(0x212)](_0x299db9['mutations'][0x0]);for(let _0x4c9e3d=0x0;_0x4c9e3d<_0x2cfdcf[_0x55d960(0xd8)];_0x4c9e3d++){const _0x307cbd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2cfdcf[_0x4c9e3d][_0x55d960(0x24b)],..._0x2cfdcf[_0x4c9e3d][_0x55d960(0x19e)]}},_0x42e96c=this[_0x55d960(0x104)][_0x55d960(0x184)](_0x1379c0,_0x307cbd,!0x1);if(_0x1d14c8(_0x42e96c))throw _0x42e96c['error'];_0x1379c0=_0x42e96c['m1Prime'];}return{..._0x495d23[_0x55d960(0x212)](_0x299db9),'mutations':[_0x1379c0]};}[_0x5978f9(0x1b7)](_0x1b157a){const _0x301b0a=_0x5978f9,{unitID:_0x3e55cb}=_0x1b157a,{history:_0x2f90a5,collaboration:_0x24f4c1}=this[_0x301b0a(0x134)][_0x301b0a(0x2a1)](_0x3e55cb);if(_0x2f90a5[_0x301b0a(0xd8)]===0x0&&_0x24f4c1[_0x301b0a(0xd8)]===0x0)return;const _0x2b3469=[],_0x52ece5=[];let _0x41f51d=_0x495d23[_0x301b0a(0x212)](_0x1b157a[_0x301b0a(0x213)][0x0]),_0x33ac1f=_0x495d23[_0x301b0a(0x212)](_0x1b157a[_0x301b0a(0x213)][0x0]);for(let _0x12e53b=_0x2f90a5['length']-0x1;_0x12e53b>=0x0;_0x12e53b--){const _0x748a02={'id':_0x301b0a(0x2c7),'params':{'unitId':_0x2f90a5[_0x12e53b][_0x301b0a(0x24b)],..._0x2f90a5[_0x12e53b][_0x301b0a(0x286)]}},_0x476eef={'id':_0x301b0a(0x2c7),'params':{'unitId':_0x2f90a5[_0x12e53b]['unitId'],..._0x2f90a5[_0x12e53b][_0x301b0a(0x19e)]}},_0xa49f90=this[_0x301b0a(0x104)]['transformMutation'](_0x41f51d,_0x748a02,!0x1),_0x1a46eb=this[_0x301b0a(0x104)][_0x301b0a(0x184)](_0x33ac1f,_0x476eef,!0x1);if(_0x1d14c8(_0xa49f90))throw _0xa49f90['error'];if(_0x1d14c8(_0x1a46eb))throw _0x1a46eb[_0x301b0a(0x219)];_0x2b3469[_0x301b0a(0x1ca)]({..._0x2f90a5[_0x12e53b],'undoState':_0xa49f90[_0x301b0a(0x18f)][_0x301b0a(0x1b6)],'redoState':_0x1a46eb[_0x301b0a(0x18f)]['params']}),_0x41f51d=_0xa49f90['m1Prime'],_0x33ac1f=_0x1a46eb['m1Prime'];}_0x41f51d=_0x495d23['deepClone'](_0x1b157a['mutations'][0x0]),_0x33ac1f=_0x495d23[_0x301b0a(0x212)](_0x1b157a[_0x301b0a(0x213)][0x0]);for(let _0x9c423e=_0x24f4c1[_0x301b0a(0xd8)]-0x1;_0x9c423e>=0x0;_0x9c423e--){const _0x268c05={'id':_0x301b0a(0x2c7),'params':{'unitId':_0x24f4c1[_0x9c423e]['unitId'],..._0x24f4c1[_0x9c423e]['undoState']}},_0x5a946f={'id':_0x301b0a(0x2c7),'params':{'unitId':_0x24f4c1[_0x9c423e]['unitId'],..._0x24f4c1[_0x9c423e][_0x301b0a(0x19e)]}},_0x3db7ec=this[_0x301b0a(0x104)]['transformMutation'](_0x41f51d,_0x268c05,!0x1),_0x4f6fbe=this[_0x301b0a(0x104)]['transformMutation'](_0x33ac1f,_0x5a946f,!0x1);if(_0x1d14c8(_0x3db7ec))throw _0x3db7ec[_0x301b0a(0x219)];if(_0x1d14c8(_0x4f6fbe))throw _0x4f6fbe[_0x301b0a(0x219)];_0x52ece5['unshift']({..._0x24f4c1[_0x9c423e],'undoState':_0x3db7ec['m2Prime'][_0x301b0a(0x1b6)],'redoState':_0x4f6fbe[_0x301b0a(0x18f)][_0x301b0a(0x1b6)]}),_0x41f51d=_0x3db7ec[_0x301b0a(0x25b)],_0x33ac1f=_0x4f6fbe['m1Prime'];}this['_docStateChangeManagerService'][_0x301b0a(0xcf)](_0x3e55cb,{'history':_0x2b3469,'collaboration':_0x52ece5});}};oe=nn([Ce(0x0,_0x4254b3(_0x49ea94)),Ce(0x1,_0xac990f),Ce(0x2,_0x4254b3(_0xfa24fb))],oe);var rn=Object[_0x5978f9(0x25e)],on=(_0x3eca4b,_0x1570ae,_0x1abafd,_0x384b73)=>{for(var _0x37e399=_0x384b73>0x1?void 0x0:_0x384b73?rn(_0x1570ae,_0x1abafd):_0x1570ae,_0x548073=_0x3eca4b['length']-0x1,_0x208ce6;_0x548073>=0x0;_0x548073--)(_0x208ce6=_0x3eca4b[_0x548073])&&(_0x37e399=_0x208ce6(_0x37e399)||_0x37e399);return _0x37e399;},st=(_0xd3514,_0x4669eb)=>(_0xd9ceb4,_0x1576bd)=>_0x4669eb(_0xd9ceb4,_0x1576bd,_0xd3514);let ae=class{constructor(_0x51048b,_0x38443a){const _0x157150=_0x5978f9;this[_0x157150(0x29a)]=_0x51048b,this[_0x157150(0x104)]=_0x38443a;}[_0x5978f9(0xc6)](_0x6c58e0){const _0x135178=_0x5978f9;var _0x342b1e;const _0x5e29e9=this['_injector'][_0x135178(0x15c)](_0x177a84),_0x1ed63e=(_0x342b1e=_0x5e29e9[_0x135178(0xd2)]())!=null?_0x342b1e:[];if(_0x1ed63e[_0x135178(0xd8)]===0x0)return;const _0x206eb6=_0x6c58e0[_0x135178(0x1f6)],_0x1b8efe=[{'id':_0x135178(0x2c7),'params':{'unitId':_0x206eb6,'actions':null,'textRanges':_0x1ed63e}}],_0x3a6a7f=this['_transformService'][_0x135178(0x114)](_0x6c58e0,_0x1b8efe);if(!_0x17e12b(_0x3a6a7f))throw _0x3a6a7f[_0x135178(0x219)];const _0x2a137e=_0x3a6a7f[_0x135178(0x18f)][0x0][_0x135178(0x1b6)]['textRanges'];Array[_0x135178(0xf6)](_0x2a137e)&&_0x2a137e['length']&&_0x5e29e9[_0x135178(0x22b)](_0x2a137e,{'unitId':_0x206eb6,'subUnitId':_0x206eb6},!0x1);}};ae=on([st(0x0,_0x4254b3(_0x49ea94)),st(0x1,_0xac990f)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x26d46d,_0x523f0a,_0x10d10a,_0x3b9e83)=>{const _0x3eca37=_0x5978f9;for(var _0x4fbefb=_0x3b9e83>0x1?void 0x0:_0x3b9e83?an(_0x523f0a,_0x10d10a):_0x523f0a,_0xcd67bd=_0x26d46d[_0x3eca37(0xd8)]-0x1,_0x1653a8;_0xcd67bd>=0x0;_0xcd67bd--)(_0x1653a8=_0x26d46d[_0xcd67bd])&&(_0x4fbefb=_0x1653a8(_0x4fbefb)||_0x4fbefb);return _0x4fbefb;},N=(_0xfc2ed4,_0x2c3127)=>(_0x286933,_0x399b46)=>_0x2c3127(_0x286933,_0x399b46,_0xfc2ed4);let ce=class extends _0x275756{constructor(_0x57cfab,_0x2331e6,_0x486189,_0x50acdc,_0xbeed0,_0x3b3a6d,_0x56ed9a,_0xba7bde){const _0x4a25ca=_0x5978f9;super(),_(this,'_status$',new _0x2ec644(_0x138deb[_0x4a25ca(0x1ba)])),(this[_0x4a25ca(0x134)]=_0x57cfab,this[_0x4a25ca(0xca)]=_0x2331e6,this[_0x4a25ca(0x1d9)]=_0x486189,this[_0x4a25ca(0xf2)]=_0x50acdc,this[_0x4a25ca(0x1aa)]=_0xbeed0,this[_0x4a25ca(0x1ff)]=_0x3b3a6d,this[_0x4a25ca(0x2c2)]=_0x56ed9a,this[_0x4a25ca(0x25c)]=_0xba7bde,this[_0x4a25ca(0x189)]());}[_0x5978f9(0x189)](){const _0xedb97e=_0x5978f9;this[_0xedb97e(0x1c8)](this['_collaborationController'][_0xedb97e(0x1f3)]['subscribe'](_0x12cadd=>{const _0x24108b=_0xedb97e,_0x2484ba=this[_0x24108b(0x134)]['docStateChange$'][_0x24108b(0x260)](_0x807ea8=>{const _0x5c25ba=_0x24108b;if(_0x807ea8==null)return;const {unitId:_0x69a519,redoState:_0x2dc587,commandId:_0x2b97dc}=_0x807ea8;if(_0x69a519!==_0x12cadd[_0x5c25ba(0x1f6)])return;const _0x1062b8={'id':_0x2b97dc,'type':_0x195ea6[_0x5c25ba(0x1c3)],'params':{'unitId':_0x69a519,'actions':_0x2dc587[_0x5c25ba(0x220)],'textRanges':null}};_0x12cadd[_0x5c25ba(0x20f)](_0x1062b8);});if(_0x12cadd[_0x24108b(0x1c8)](_0x2484ba),_0x12cadd instanceof _0x4186b0){const _0x2d80f2={'onTransformIME':_0x1cae8a=>this[_0x24108b(0x1d9)][_0x24108b(0xff)](_0x1cae8a),'onTransformState':_0x15658f=>this[_0x24108b(0xf2)][_0x24108b(0x17b)](_0x15658f),'onTransformSelections':_0x223785=>this['_docTransformSelectionsService'][_0x24108b(0xc6)](_0x223785),'onSyncEditingCollabCursor':_0x28d921=>this[_0x24108b(0x1ff)][_0x24108b(0x1a0)](_0x28d921),'onTransformRemoteChangesetByIMECache':_0x47ff29=>this['_docTransformIMECacheService'][_0x24108b(0x225)](_0x47ff29),'onTransformRemoteChangesetByStateCache':_0x3d3d74=>this[_0x24108b(0xf2)]['transformRemoteChangeset'](_0x3d3d74)};_0x12cadd[_0x24108b(0xdb)](_0x2d80f2);}}));}};ce=cn([N(0x0,_0x4254b3(_0xfa24fb)),N(0x1,_0x4254b3(_0x2feee0)),N(0x2,_0x4254b3(re)),N(0x3,_0x4254b3(oe)),N(0x4,_0x4254b3(ae)),N(0x5,_0x4254b3(Fe)),N(0x6,_0x4887c1),N(0x7,_0x4254b3(_0x356e26))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x46dd24,_0x2317c8,_0x1a75f1,_0x244a2b)=>{const _0x8dfebb=_0x5978f9;for(var _0xd87f20=_0x244a2b>0x1?void 0x0:_0x244a2b?ln(_0x2317c8,_0x1a75f1):_0x2317c8,_0x9f5f2=_0x46dd24[_0x8dfebb(0xd8)]-0x1,_0x26363a;_0x9f5f2>=0x0;_0x9f5f2--)(_0x26363a=_0x46dd24[_0x9f5f2])&&(_0xd87f20=_0x26363a(_0xd87f20)||_0xd87f20);return _0xd87f20;},Ee=(_0xeb996d,_0x472482)=>(_0x53f9c0,_0x58052c)=>_0x472482(_0x53f9c0,_0x58052c,_0xeb996d);let we=class extends _0x275756{constructor(_0xbac608,_0x5a6bad,_0x5dd992){const _0x410f5b=_0x5978f9;super(),_(this,'_cachedData',new Map()),_(this,_0x410f5b(0x1e6),new Map()),_(this,_0x410f5b(0x262),!0x1),(this[_0x410f5b(0xc8)]=_0xbac608,this['_localStorageService']=_0x5a6bad,this[_0x410f5b(0x195)]=_0x5dd992);}[_0x5978f9(0xde)](){this['_disabled']=!0x0;}[_0x5978f9(0x271)](){this['_disabled']=!0x1;}get[_0x5978f9(0x20a)](){const _0x2103af=_0x5978f9;return this[_0x2103af(0x1e6)];}[_0x5978f9(0x187)](){const _0x92eef3=_0x5978f9;this[_0x92eef3(0x10c)]()['then'](()=>super[_0x92eef3(0x187)]());}async[_0x5978f9(0x122)](_0x4f075c){const _0x1e8ccc=_0x5978f9;return this[_0x1e8ccc(0x262)]?null:this[_0x1e8ccc(0x206)][_0x1e8ccc(0xfa)](_0xd819cd(_0x4f075c));}async[_0x5978f9(0x169)](_0x4acb7d,_0x2949e7){const _0x4a7793=_0x5978f9;return!!this['_localStorageService'][_0x4a7793(0x1e0)](_0x4acb7d,_0x2949e7);}[_0x5978f9(0x224)](_0x11346d,_0xda4a98,_0x5c7ad9,_0x8ef240){const _0x249efc=_0x5978f9,_0x2ac0dc=this['_revisionService'][_0x249efc(0x202)](_0x11346d);this[_0x249efc(0xf8)][_0x249efc(0x102)](_0x11346d,{'unitID':_0x11346d,'type':_0xda4a98,'awaitingChangeset':_0x5c7ad9,'mutations':_0x8ef240,'rev':_0x2ac0dc}),this['_saveTaskMap'][_0x249efc(0x267)](_0x11346d)||this[_0x249efc(0x2a0)](_0x11346d);}[_0x5978f9(0x2a0)](_0x5001f1){const _0x4599b3=_0x5978f9,_0x373ed0=this[_0x4599b3(0x1f9)]();_0x373ed0===0x0?this[_0x4599b3(0x2bb)](_0x5001f1):this['_saveTaskMap']['set'](_0x5001f1,setTimeout(()=>this[_0x4599b3(0x2bb)](_0x5001f1),_0x373ed0));}['_getSaveTimeout'](){const _0xd396b9=_0x5978f9;var _0x441068;return(_0x441068=this[_0xd396b9(0xc8)][_0xd396b9(0x205)](_0x2b4ad3))!=null?_0x441068:_0x52f070;}[_0x5978f9(0x2bb)](_0x7ea7d3){const _0x270f8f=_0x5978f9,_0x48f5a0=this[_0x270f8f(0x1e6)][_0x270f8f(0x15c)](_0x7ea7d3);return _0x48f5a0!==void 0x0&&window[_0x270f8f(0x185)](_0x48f5a0),this['_localStorageService']['setItem'](_0xd819cd(_0x7ea7d3),this[_0x270f8f(0xf8)]['get'](_0x7ea7d3))[_0x270f8f(0x1fe)](()=>this[_0x270f8f(0x1e6)][_0x270f8f(0x214)](_0x7ea7d3));}async[_0x5978f9(0x10c)](){const _0x4cdded=_0x5978f9,_0x495413=[];this[_0x4cdded(0x1e6)][_0x4cdded(0x1f2)]((_0x58beae,_0x59456f)=>{const _0x3fda28=_0x4cdded;window[_0x3fda28(0x185)](_0x58beae),_0x495413[_0x3fda28(0x15a)](this['_saveCache'](_0x59456f)[_0x3fda28(0x1fe)](()=>{const _0x287a8d=_0x3fda28;this[_0x287a8d(0x1e6)]['delete'](_0x59456f);}));}),await Promise[_0x4cdded(0x11e)](_0x495413);}};we=_n([Ee(0x0,_0x4bdd34),Ee(0x1,_0x3d0e53),Ee(0x2,_0x4254b3(_0x3a9d6d))],we);class hn extends _0x4f795a{constructor(){const _0x36a1e1=_0x5978f9;super(),_(this,_0x36a1e1(0x238)),this[_0x36a1e1(0x238)]=_0x9cc90b(window,'popstate')['pipe'](_0x4c94af(this[_0x36a1e1(0x208)]),_0xb1e6d5(0x1),_0x34a876(void 0x0));}[_0x5978f9(0x29e)](_0x31edb9,_0x5635f1,_0x31ff8f=!0x1){const _0x5314a3=_0x5978f9,_0x2985d5=new URL(window[_0x5314a3(0x24a)]['href']);_0x2985d5[_0x5314a3(0xd9)][_0x5314a3(0x102)](_0x31edb9,_0x5635f1),_0x31ff8f?window[_0x5314a3(0x115)][_0x5314a3(0xe4)]('','',_0x2985d5['toString']()):window[_0x5314a3(0x115)]['pushState']('','',_0x2985d5[_0x5314a3(0x282)]());}[_0x5978f9(0x175)](_0x5949e2,_0x3bbc33=!0x1){const _0x58670f=_0x5978f9,_0x19b194=new URL(window[_0x58670f(0x24a)][_0x58670f(0x1fc)]);_0x19b194['searchParams']['delete'](_0x5949e2),_0x3bbc33?window[_0x58670f(0x115)][_0x58670f(0xe4)]('','',_0x19b194[_0x58670f(0x282)]()):window[_0x58670f(0x115)][_0x58670f(0x1f0)]('','',_0x19b194[_0x58670f(0x282)]());}['getParam'](_0x1f696e){const _0x345e0f=_0x5978f9;var _0x4ecc12;return(_0x4ecc12=new URL(window[_0x345e0f(0x24a)][_0x345e0f(0x1fc)])[_0x345e0f(0xd9)][_0x345e0f(0x15c)](_0x1f696e))!=null?_0x4ecc12:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x5978f9(0x25e)],fn=(_0x3cc0f1,_0x38474c,_0x562efa)=>_0x38474c in _0x3cc0f1?un(_0x3cc0f1,_0x38474c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x562efa}):_0x3cc0f1[_0x38474c]=_0x562efa,Sn=(_0x2419e7,_0x36d97a,_0x3420b2,_0x4bf865)=>{const _0x4d6f25=_0x5978f9;for(var _0x42fc29=_0x4bf865>0x1?void 0x0:_0x4bf865?dn(_0x36d97a,_0x3420b2):_0x36d97a,_0x3dd231=_0x2419e7[_0x4d6f25(0xd8)]-0x1,_0x31fb35;_0x3dd231>=0x0;_0x3dd231--)(_0x31fb35=_0x2419e7[_0x3dd231])&&(_0x42fc29=_0x31fb35(_0x42fc29)||_0x42fc29);return _0x42fc29;},Oe=(_0x5599aa,_0x48592b)=>(_0x5892ea,_0x5baf61)=>_0x48592b(_0x5892ea,_0x5baf61,_0x5599aa),mn=(_0x4a4951,_0x2f6a59,_0x4b36c0)=>fn(_0x4a4951,_0x2f6a59+'',_0x4b36c0);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x48371a{constructor(_0x5bc340=et,_0x36e172,_0xd85410,_0x5ebff1){const _0x4a9c77=_0x5978f9;super(),this[_0x4a9c77(0x148)]=_0x5bc340,this[_0x4a9c77(0x162)]=_0x36e172,this[_0x4a9c77(0x29a)]=_0xd85410,this[_0x4a9c77(0xc8)]=_0x5ebff1;const {..._0x1ca0d9}=_0x4e0d00({},et,this[_0x4a9c77(0x148)]);this[_0x4a9c77(0xc8)]['setConfig'](qi,_0x1ca0d9);}[_0x5978f9(0xd1)](){const _0x44722f=_0x5978f9;this[_0x44722f(0x1d8)](),this[_0x44722f(0x2c9)]();}[_0x5978f9(0x26c)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x41bc11=_0x5978f9;var _0x1cb784;const _0x43a671=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0xd4bad1,{'useClass':_0x519dda}],[_0x4ac262,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x1c12b7(this[_0x41bc11(0x29a)],_0x22ccff(_0x43a671,(_0x1cb784=this[_0x41bc11(0x148)])==null?void 0x0:_0x1cb784['override']));}[_0x5978f9(0x145)](){const _0x1a322f=_0x5978f9;this[_0x1a322f(0x1c8)](this[_0x1a322f(0x162)][_0x1a322f(0x2a7)](_0x12c7d5[_0x1a322f(0x16b)],[Le])),this[_0x1a322f(0x1c8)](this[_0x1a322f(0x162)][_0x1a322f(0x2a7)](_0x12c7d5[_0x1a322f(0xe2)],[Pe]));}['_initDependencies'](){_0x379c2b(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x5978f9(0x27f),In),Ae=Sn([_0x3cdf16(_0x122f21),Oe(0x1,_0x54f460),Oe(0x2,_0x4254b3(_0x49ea94)),Oe(0x3,_0x4bdd34)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x5c0f20,_0x55e149,_0x3a81db,_0x39cf2f)=>{const _0xc09f0f=_0x5978f9;for(var _0x1bedab=_0x39cf2f>0x1?void 0x0:_0x39cf2f?vn(_0x55e149,_0x3a81db):_0x55e149,_0x304cc2=_0x5c0f20[_0xc09f0f(0xd8)]-0x1,_0x3a7f3a;_0x304cc2>=0x0;_0x304cc2--)(_0x3a7f3a=_0x5c0f20[_0x304cc2])&&(_0x1bedab=_0x3a7f3a(_0x1bedab)||_0x1bedab);return _0x1bedab;},z=(_0x30cb63,_0x154c35)=>(_0xc0ab0c,_0x2b88d4)=>_0x154c35(_0xc0ab0c,_0x2b88d4,_0x30cb63);let it=class extends _0x3a1781{constructor(_0x48a2b0,_0x3d3ee9,_0x1aa77b,_0x4bcf34,_0x4a253d){super(_0x48a2b0,_0x3d3ee9,_0x1aa77b,_0x4bcf34,_0x4a253d);}async['createSocket'](_0x24a1b3){const _0x3daa1d=_0x5978f9,_0x3c4c8=await this[_0x3daa1d(0xf5)](),_0x19f4b1=this[_0x3daa1d(0x292)](_0x24a1b3,_0x3c4c8);return this[_0x3daa1d(0x191)](_0x19f4b1);}[_0x5978f9(0x292)](_0x54d226,_0x5b8161){const _0x151d82=_0x5978f9,_0x118a6a=typeof window>'u'?new URL(_0x54d226):new URL(_0x54d226,window[_0x151d82(0x24a)][_0x151d82(0x13a)]);_0x118a6a[_0x151d82(0xd9)]['set'](_0x151d82(0x194),_0x5b8161);const _0x4a37bd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x151d82(0x24a)][_0x151d82(0x2c1)]);return _0x4a37bd[_0x151d82(0x15c)](_0x151d82(0x284))&&_0x118a6a[_0x151d82(0xd9)]['set']('runId',_0x4a37bd[_0x151d82(0x15c)](_0x151d82(0x284))),_0x118a6a[_0x151d82(0x282)]();}async[_0x5978f9(0xf5)](){const _0x1697c2=_0x5978f9;var _0x34a9e8,_0x34a0f7,_0x571ac0;const _0x363dba=this[_0x1697c2(0xc8)]['getConfig'](_0x47ccc5),_0x2a0183=(_0x34a9e8=_0x363dba==null?void 0x0:_0x363dba[_0x1697c2(0x222)])!=null?_0x34a9e8:_0x3e9558;return(_0x571ac0=(_0x34a0f7=(await this[_0x1697c2(0x112)][_0x1697c2(0x15c)](_0x2a0183,{'headers':{'Content-Type':_0x1697c2(0x2a9)}}))[_0x1697c2(0x2bd)])==null?void 0x0:_0x34a0f7[_0x1697c2(0x28e)])!=null?_0x571ac0:'';}};it=gn([z(0x0,_0x4254b3(_0x49ea94)),z(0x1,_0x4254b3(_0xb11c39)),z(0x2,_0x4bdd34),z(0x3,_0x3bb3af),z(0x4,_0x4dc603)],it);var Lt=(_0xcc9b9=>(_0xcc9b9[_0xcc9b9[_0x5978f9(0x17d)]=0x0]=_0x5978f9(0x17d),_0xcc9b9[_0xcc9b9['OK']=0x1]='OK',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1de)]=0x2]=_0x5978f9(0x1de),_0xcc9b9[_0xcc9b9['PERMISSION_DENIED']=0x3]=_0x5978f9(0x21e),_0xcc9b9[_0xcc9b9[_0x5978f9(0x1ed)]=0x4]='NOT_FOUND',_0xcc9b9[_0xcc9b9['UNAUTHENTICATED']=0x5]=_0x5978f9(0x170),_0xcc9b9[_0xcc9b9['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1ee)]=0x7]=_0x5978f9(0x1ee),_0xcc9b9[_0xcc9b9[_0x5978f9(0x28f)]=0x8]=_0x5978f9(0x28f),_0xcc9b9[_0xcc9b9[_0x5978f9(0x272)]=0x9]=_0x5978f9(0x272),_0xcc9b9[_0xcc9b9[_0x5978f9(0x2b0)]=0xa]=_0x5978f9(0x2b0),_0xcc9b9[_0xcc9b9[_0x5978f9(0x1b8)]=0xb]=_0x5978f9(0x1b8),_0xcc9b9[_0xcc9b9[_0x5978f9(0x21d)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xcc9b9[_0xcc9b9['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xcc9b9[_0xcc9b9['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5978f9(0x255),_0xcc9b9[_0xcc9b9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5978f9(0x1bb),_0xcc9b9[_0xcc9b9[_0x5978f9(0x14a)]=0x1771]=_0x5978f9(0x14a),_0xcc9b9[_0xcc9b9[_0x5978f9(0x27d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xcc9b9[_0xcc9b9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5978f9(0x1e8),_0xcc9b9[_0xcc9b9[_0x5978f9(0x14e)]=0x1b59]='APPLY_REJECT',_0xcc9b9[_0xcc9b9[_0x5978f9(0x146)]=0x1b5a]=_0x5978f9(0x146),_0xcc9b9[_0xcc9b9[_0x5978f9(0x227)]=0x1b5b]=_0x5978f9(0x227),_0xcc9b9[_0xcc9b9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5978f9(0x158),_0xcc9b9[_0xcc9b9[_0x5978f9(0x15b)]=0x1b5d]=_0x5978f9(0x15b),_0xcc9b9[_0xcc9b9[_0x5978f9(0x2c3)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1ae)]=0x2329]=_0x5978f9(0x1ae),_0xcc9b9[_0xcc9b9[_0x5978f9(0xee)]=0x232a]=_0x5978f9(0xee),_0xcc9b9[_0xcc9b9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5978f9(0x23c),_0xcc9b9[_0xcc9b9[_0x5978f9(0x159)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xcc9b9[_0xcc9b9[_0x5978f9(0x26a)]=0x232d]=_0x5978f9(0x26a),_0xcc9b9[_0xcc9b9['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5978f9(0x1b2),_0xcc9b9[_0xcc9b9[_0x5978f9(0x13b)]=0x2712]=_0x5978f9(0x13b),_0xcc9b9[_0xcc9b9[_0x5978f9(0x287)]=0x2713]=_0x5978f9(0x287),_0xcc9b9[_0xcc9b9[_0x5978f9(0x244)]=0x2714]=_0x5978f9(0x244),_0xcc9b9[_0xcc9b9[_0x5978f9(0x124)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xcc9b9[_0xcc9b9[_0x5978f9(0x129)]=0x271b]=_0x5978f9(0x129),_0xcc9b9[_0xcc9b9[_0x5978f9(0x2b7)]=0x271c]=_0x5978f9(0x2b7),_0xcc9b9[_0xcc9b9[_0x5978f9(0x1d3)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1ab)]=0x271e]=_0x5978f9(0x1ab),_0xcc9b9[_0xcc9b9[_0x5978f9(0x16a)]=0x271f]=_0x5978f9(0x16a),_0xcc9b9[_0xcc9b9['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5978f9(0x10a),_0xcc9b9[_0xcc9b9[_0x5978f9(0x198)]=0x2af9]=_0x5978f9(0x198),_0xcc9b9[_0xcc9b9[_0x5978f9(0x28c)]=0x2ee1]=_0x5978f9(0x28c),_0xcc9b9[_0xcc9b9['INVALID_INVITE_CODE']=0x2ee2]=_0x5978f9(0x1c9),_0xcc9b9[_0xcc9b9[_0x5978f9(0xf3)]=0x2ee3]=_0x5978f9(0xf3),_0xcc9b9[_0xcc9b9[_0x5978f9(0x1e7)]=0x2ee4]=_0x5978f9(0x1e7),_0xcc9b9[_0xcc9b9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5978f9(0x18a),_0xcc9b9[_0xcc9b9[_0x5978f9(0x117)]=0x32c9]=_0x5978f9(0x117),_0xcc9b9[_0xcc9b9[_0x5978f9(0x154)]=0x32ca]=_0x5978f9(0x154),_0xcc9b9[_0xcc9b9[_0x5978f9(0xf4)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1e4)]=-0x1]=_0x5978f9(0x1e4),_0xcc9b9))(Lt||{}),pn=Object[_0x5978f9(0x25e)],Cn=(_0x343ac3,_0x163ab4,_0x33270f,_0x4afded)=>{const _0x17cf82=_0x5978f9;for(var _0x582a82=_0x4afded>0x1?void 0x0:_0x4afded?pn(_0x163ab4,_0x33270f):_0x163ab4,_0xd927e8=_0x343ac3[_0x17cf82(0xd8)]-0x1,_0x225724;_0xd927e8>=0x0;_0xd927e8--)(_0x225724=_0x343ac3[_0xd927e8])&&(_0x582a82=_0x225724(_0x582a82)||_0x582a82);return _0x582a82;},be=(_0x10d9f6,_0x1fe9b5)=>(_0x5e5cdc,_0x385806)=>_0x1fe9b5(_0x5e5cdc,_0x385806,_0x10d9f6);let nt=class extends _0x275756{constructor(_0x5bd1aa,_0x567d26,_0x103441){const _0x26171b=_0x5978f9;super(),this[_0x26171b(0x279)]=_0x5bd1aa,this['_httpService']=_0x567d26,this[_0x26171b(0xc8)]=_0x103441;}async[_0x5978f9(0x144)](_0x1c467c,_0x12b11a,_0xa97d1d,..._0x17264e){const _0x2b87a3=_0x5978f9;var _0xec6f53,_0x4dbe0e,_0x572699,_0x253fbc;const _0x309838=this[_0x2b87a3(0x279)][_0x2b87a3(0x2aa)]();if(!_0x309838)throw new Error(_0x2b87a3(0x171));const _0x4ade74=((_0xec6f53=this[_0x2b87a3(0xc8)][_0x2b87a3(0x205)](_0x30263f))!=null?_0xec6f53:_0x226081)+'/'+_0x1c467c+_0x2b87a3(0x2bc)+_0x12b11a,_0x22700b=new URL(window[_0x2b87a3(0x24a)][_0x2b87a3(0x1fc)]),_0xe3d49a={'scriptId':_0x1c467c,'runId':(_0x4dbe0e=_0x22700b[_0x2b87a3(0xd9)][_0x2b87a3(0x15c)]('runId'))!=null?_0x4dbe0e:'','function':_0x12b11a,'unitId':_0x309838[_0x2b87a3(0x273)](),'argsOfFunction':JSON[_0x2b87a3(0x2c4)](_0x17264e),'invokeId':(_0x572699=_0xa97d1d['invokeId'])!=null?_0x572699:'','executionId':(_0x253fbc=_0xa97d1d[_0x2b87a3(0x207)])!=null?_0x253fbc:''};try{const _0x4c9495=await this[_0x2b87a3(0x112)][_0x2b87a3(0x2b9)](_0x4ade74,{'body':_0xe3d49a});return _0x4c9495['body'][_0x2b87a3(0x219)]&&_0x4c9495[_0x2b87a3(0x2bd)]['error']['code']!==Lt['OK']?'Failed':_0x4c9495[_0x2b87a3(0x2bd)]['result'];}catch{return _0x2b87a3(0x110);}}};nt=Cn([be(0x0,_0x4a6374),be(0x1,_0x4254b3(_0xb11c39)),be(0x2,_0x4bdd34)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x275756{constructor(){const _0x4b7149=_0x5978f9;super(),_(this,_0x4b7149(0x1a4),_0xf28c22()),_(this,_0x4b7149(0x186),new Set()),_(this,_0x4b7149(0xcb),new Map()),_(this,_0x4b7149(0x149),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x4b7149(0x135),new Map()),this[_0x4b7149(0x17c)]();}[_0x5978f9(0x187)](){const _0x169a87=_0x5978f9;super[_0x169a87(0x187)](),this[_0x169a87(0x15f)][_0x169a87(0x1f2)]((_0x388d3f,_0x4084d2)=>this[_0x169a87(0x240)](_0x4084d2)),this[_0x169a87(0x149)]&&window['clearInterval'](this[_0x169a87(0x149)]);}[_0x5978f9(0x266)](_0x20db52){const _0x363922=_0x5978f9;return this[_0x363922(0x120)](_0x20db52)[_0x363922(0x228)](_0x17f3df());}['editingUnit'](_0x3038ae){const _0x21379b=_0x5978f9;this[_0x21379b(0x186)][_0x21379b(0x1fd)]===0x0&&this[_0x21379b(0x130)](),this[_0x21379b(0x186)][_0x21379b(0x12b)](_0x3038ae),this[_0x21379b(0x1a2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3038ae],'isForwarded':!0x1});}['disposeUnit'](_0x17fe78){const _0x10ac52=_0x5978f9;this['_selfUnitIDs'][_0x10ac52(0x214)](_0x17fe78),this[_0x10ac52(0x186)][_0x10ac52(0x1fd)]===0x0&&this[_0x10ac52(0x149)]&&window[_0x10ac52(0x1fa)](this[_0x10ac52(0x149)]);}['_init'](){const _0x45eac6=_0x5978f9;this['disposeWithMe'](_0x236c59(_0x9cc90b(window,'storage')['subscribe'](_0xe5eb37=>{const _0x287ab5=_0x3c22;if(_0xe5eb37['key']!==ot||!_0xe5eb37[_0x287ab5(0x11c)])return;const _0x5dce51=JSON[_0x287ab5(0x232)](_0xe5eb37[_0x287ab5(0x11c)]);this[_0x287ab5(0x21f)](_0x5dce51);}))),window['addEventListener']('unload',()=>this[_0x45eac6(0x1a2)]({'type':0x1,'memberID':this[_0x45eac6(0x1a4)],'unitIDs':Array[_0x45eac6(0x24c)](this[_0x45eac6(0x186)])}));}[_0x5978f9(0x21f)](_0x53b0f9){const _0x2038f1=_0x5978f9;switch(_0x53b0f9[_0x2038f1(0x204)]){case 0x0:this['_handleJoinEvent'](_0x53b0f9);break;case 0x1:this[_0x2038f1(0x29b)](_0x53b0f9);break;case 0x2:this[_0x2038f1(0x10e)](_0x53b0f9);break;}}['_handleJoinEvent'](_0x338c64){const _0x3a910c=_0x5978f9,{unitIDs:_0x4b7986,memberID:_0xb22ad4,isForwarded:_0x4a1210}=_0x338c64;_0x4b7986[_0x3a910c(0x1f2)](_0x386156=>{const _0x3dedd7=_0x3a910c;if(!_0x4a1210&&this[_0x3dedd7(0xcb)][_0x3dedd7(0x267)](_0x386156)&&this['_ensureSubject'](_0x386156)[_0x3dedd7(0x1c6)](_0x30805d[_0x3dedd7(0x22e)]),!this[_0x3dedd7(0xcb)][_0x3dedd7(0x267)](_0x386156)||!this[_0x3dedd7(0xcb)][_0x3dedd7(0x15c)](_0x386156)['has'](_0xb22ad4)){const _0x3448d6=this['_unitOnClients'][_0x3dedd7(0x15c)](_0x386156)||new Set();_0x3448d6[_0x3dedd7(0x12b)](_0xb22ad4),this['_unitOnClients'][_0x3dedd7(0x102)](_0x386156,_0x3448d6),this[_0x3dedd7(0x23a)](_0xb22ad4);}}),_0x4a1210||this[_0x3a910c(0x1a2)]({'type':0x0,'memberID':this[_0x3a910c(0x1a4)],'unitIDs':[...this[_0x3a910c(0x186)]],'isForwarded':!0x0});}[_0x5978f9(0x23a)](_0x5e0e58){const _0xc2cf29=_0x5978f9;this[_0xc2cf29(0x240)](_0x5e0e58);const _0x2daae3=window['setTimeout'](()=>{const _0x53cc84=_0xc2cf29;this[_0x53cc84(0xcb)][_0x53cc84(0x1f2)](_0x500b80=>{const _0x2c01b2=_0x53cc84;_0x500b80[_0x2c01b2(0x214)](_0x5e0e58);});},rt*0x2);this['_clearOtherTimers'][_0xc2cf29(0x102)](_0x5e0e58,_0x2daae3);}[_0x5978f9(0x240)](_0x199cdd){const _0x4f0639=_0x5978f9;if(this[_0x4f0639(0x15f)][_0x4f0639(0x267)](_0x199cdd)){const _0x52f72d=this[_0x4f0639(0x15f)][_0x4f0639(0x15c)](_0x199cdd);_0x52f72d&&window['clearTimeout'](_0x52f72d),this[_0x4f0639(0x15f)][_0x4f0639(0x102)](_0x199cdd,null);}}[_0x5978f9(0x29b)](_0x2a41ad){const _0x42ea92=_0x5978f9,{memberID:_0x1f70bc,unitIDs:_0x426192}=_0x2a41ad;_0x426192[_0x42ea92(0x1f2)](_0x23541d=>{const _0x516ce0=_0x42ea92;var _0x2e4f64;const _0x5d9a35=this[_0x516ce0(0xcb)]['get'](_0x23541d);_0x5d9a35&&(_0x5d9a35[_0x516ce0(0x214)](_0x1f70bc),(_0x2e4f64=this[_0x516ce0(0x120)](_0x23541d))==null||_0x2e4f64[_0x516ce0(0x1c6)](_0x5d9a35[_0x516ce0(0x1fd)]===0x0?_0x30805d[_0x516ce0(0x2b5)]:_0x30805d[_0x516ce0(0x22e)]));}),this[_0x42ea92(0x240)](_0x1f70bc);}[_0x5978f9(0x10e)](_0x171559){const _0x30a4c0=_0x5978f9;this[_0x30a4c0(0x23a)](_0x171559[_0x30a4c0(0xea)]);}[_0x5978f9(0x1a2)](_0x1a282a){const _0x4ae7f6=_0x5978f9;localStorage[_0x4ae7f6(0x1e0)](ot,JSON['stringify'](_0x1a282a));}[_0x5978f9(0x130)](){const _0x3ae094=_0x5978f9;this[_0x3ae094(0x149)]=window[_0x3ae094(0x250)](()=>{const _0x491c0e=_0x3ae094;this['_send']({'type':0x2,'memberID':this[_0x491c0e(0x1a4)]});},rt);}[_0x5978f9(0x120)](_0x2cbb99){const _0x17d040=_0x5978f9;return this[_0x17d040(0x135)][_0x17d040(0x267)](_0x2cbb99)||this[_0x17d040(0x135)]['set'](_0x2cbb99,new _0x2ec644(_0x30805d[_0x17d040(0x2b5)])),this[_0x17d040(0x135)][_0x17d040(0x15c)](_0x2cbb99);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x4c8ad2=_0x1a2b;(function(_0xe42dfd,_0x215a60){const _0x55884f=_0x1a2b,_0x539e04=_0xe42dfd();while(!![]){try{const _0x17acb9=-parseInt(_0x55884f(0x234))/0x1*(parseInt(_0x55884f(0x2b6))/0x2)+-parseInt(_0x55884f(0x110))/0x3+parseInt(_0x55884f(0x2ce))/0x4*(-parseInt(_0x55884f(0x23b))/0x5)+-parseInt(_0x55884f(0x208))/0x6+parseInt(_0x55884f(0x238))/0x7*(parseInt(_0x55884f(0x1ed))/0x8)+parseInt(_0x55884f(0x114))/0x9+parseInt(_0x55884f(0x2f8))/0xa;if(_0x17acb9===_0x215a60)break;else _0x539e04['push'](_0x539e04['shift']());}catch(_0x4c9fe2){_0x539e04['push'](_0x539e04['shift']());}}}(_0x588e,0x5ffdf));var xt=Object['defineProperty'],Bt=(_0x31237a,_0x464c20,_0x375a3c)=>_0x464c20 in _0x31237a?xt(_0x31237a,_0x464c20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x375a3c}):_0x31237a[_0x464c20]=_0x375a3c,_=(_0x4fc8eb,_0x4120b7,_0x5605e8)=>Bt(_0x4fc8eb,typeof _0x4120b7!=_0x4c8ad2(0x1b5)?_0x4120b7+'':_0x4120b7,_0x5605e8);import{jsx as _0x294e3f,jsxs as _0x5cbd89}from'react/jsx-runtime';import{CollaborationStatus as _0x24ef01,CollaborationSessionService as _0x15bdfc,CollaborationController as _0x550088,DataLoaderService as _0x42970d,MemberService as _0xa5d6f3,SessionStatus as _0x3eb07c,ILocalCacheService as _0x4fb00a,CollaborationUIEventService as _0x2f6647,CollaborationUIEventId as _0x1d4610,DocCollaborationEntity as _0x317c6a,getLocalCacheKey as _0x1eef40,LOCAL_CACHE_INTERVAL as _0x2b0095,LOCAL_CACHE_INTERVAL_KEY as _0x407ca9,UniverCollaborationClientPlugin as _0x3c5b90,CollaborationSocketService as _0x3fa182,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x308563,DEFAULT_WS_SESSION_TICKET_URL as _0x35ef93,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4bbfa3,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1ead77,UnitStatus as _0xfe3c08}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x4a58fb,IUniverInstanceService as _0x267da8,Inject as _0xf17c52,Injector as _0x14a08a,Disposable as _0x388847,createIdentifier as _0x43cb3a,ILogService as _0x4b3f07,ICommandService as _0x232566,Optional as _0x57e43c,RxDisposable as _0x5da5d3,Workbook as _0x2aaa39,DOC_RANGE_TYPE as _0x5105b5,debounce as _0x41d8fd,Rectangle as _0x3ceb29,DisposableCollection as _0x16f850,toDisposable as _0x5d9642,UniverInstanceType as _0x20dac5,generateRandomId as _0x2ddacf,COLORS as _0x104f50,ColorKit as _0x2cb09e,ThemeService as _0x1cd76d,fromEventSubject as _0x459619,Tools as _0x5351cf,CommandType as _0x10f85b,IConfigService as _0x59143e,ILocalStorageService as _0x46d3a7,DependentOn as _0x741372,Plugin as _0x45b852,merge as _0x4493c5,registerDependencies as _0x57cd9c,mergeOverrideWithDependencies as _0x2df628,touchDependencies as _0x281670}from'@univerjs/core';import{useObservable as _0x2712ba,useDependency as _0x505c89,IUIPartsService as _0x3c71ca,BuiltInUIPart as _0x13180d,connectInjector as _0x4d2713,IBeforeCloseService as _0x40c8c1,IMessageService as _0x46909f,INotificationService as _0x5980b1}from'@univerjs/ui';import{BehaviorSubject as _0x2c7c6b,switchMap as _0x4eb1c8,of as _0x27dea0,takeUntil as _0x1b892a,debounceTime as _0x4e3222,Subject as _0x3d4b2e,filter as _0x55f630,merge as _0x553a69,combineLatest as _0x4c7b20,fromEvent as _0x544f13,shareReplay as _0x53d780,mapTo as _0x70830c,distinctUntilChanged as _0x3afa5b}from'rxjs';import{Tooltip as _0x16e4ca,clsx as _0x42d014,MessageType as _0x5c11e7}from'@univerjs/design';import{forwardRef as _0x4f7ac2,useRef as _0x917733,createElement as _0x1ea42,useCallback as _0x22cb0b}from'react';import{IRemoteInstanceService as _0x3f1b55}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x51641c,RefRangeService as _0x37b921,SetSelectionsOperation as _0x147245,SheetsSelectionsService as _0x52066a,EffectRefRangId as _0x38bf57,handleIRemoveRow as _0xb76994,handleIRemoveCol as _0x28f6ee,handleMoveRange as _0x1d0c1d,handleInsertRow as _0x247376,handleInsertRangeMoveRight as _0x360ad7,handleInsertRangeMoveDown as _0x19e277,handleInsertCol as _0x550b87,handleDeleteRangeMoveUp as _0x537b49,handleDeleteRangeMoveLeft as _0x1a5d80,runRefRangeMutations as _0x32f10b}from'@univerjs/sheets';import{Shape as _0xbd1e50,Rect as _0x3c1b9e,getColor as _0xdbc905,RegularPolygon as _0x38ffad,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4e67c8,Vector2 as _0x5ce56f,SHEET_VIEWPORT_KEY as _0x171a46,IRenderManagerService as _0x3e0ac0}from'@univerjs/engine-render';import{ISocketService as _0x516080,WebSocketService as _0x49dfa8,HTTPService as _0x1d1e38}from'@univerjs/network';import{IDocClipboardService as _0x441ec5,NodePositionConvertToCursor as _0x262416,NodePositionConvertToRectRange as _0xbc31f3,TEXT_RANGE_LAYER_INDEX as _0x5a9741,SetDocZoomRatioOperation as _0x3774c2,DocIMEInputManagerService as _0x41bf8a,DocStateChangeManagerService as _0x428b14}from'@univerjs/docs-ui';import{IImageIoService as _0x44033e}from'@univerjs/drawing';import{ITransformService as _0x461df4,CollaborationEvent as _0x102a5f,isTransformMutationFailure as _0x5cbe5a,isTransformMutationsWithChangesetSuccess as _0x41c887,RevisionService as _0x3cec18,ISnapshotServerService as _0xc396e3}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x34ebbe,RichTextEditingMutation as _0x58395c,DocSelectionManagerService as _0x412aa6,DocSkeletonManagerService as _0x6fdb44}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x13ab72,serializeRangeWithSheet as _0x5e839d}from'@univerjs/engine-formula';import{map as _0x205f1d,filter as _0x397aa8,throttleTime as _0x13c8d3,takeUntil as _0x49b1ed,switchMap as _0x550ec3}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3fc9fb,getCoordByCell as _0x58cc5a,getSheetObject as _0x2a8062}from'@univerjs/sheets-ui';var v=function(){const _0x13cc42=_0x4c8ad2;return v=Object['assign']||function(_0x25b299){const _0x4ae148=_0x1a2b;for(var _0x11dfa9,_0x3671fa=0x1,_0x35e05f=arguments[_0x4ae148(0x203)];_0x3671fa<_0x35e05f;_0x3671fa++){_0x11dfa9=arguments[_0x3671fa];for(var _0x455ab1 in _0x11dfa9)Object[_0x4ae148(0x183)][_0x4ae148(0x292)][_0x4ae148(0x2b2)](_0x11dfa9,_0x455ab1)&&(_0x25b299[_0x455ab1]=_0x11dfa9[_0x455ab1]);}return _0x25b299;},v[_0x13cc42(0x220)](this,arguments);},ci=function(_0x547edf,_0x414e6d){const _0x3157e7=_0x4c8ad2;var _0x230dc9={};for(var _0x27247c in _0x547edf)Object['prototype']['hasOwnProperty']['call'](_0x547edf,_0x27247c)&&_0x414e6d[_0x3157e7(0x221)](_0x27247c)<0x0&&(_0x230dc9[_0x27247c]=_0x547edf[_0x27247c]);if(_0x547edf!=null&&typeof Object[_0x3157e7(0x274)]==_0x3157e7(0x260)){for(var _0x140b92=0x0,_0x27247c=Object['getOwnPropertySymbols'](_0x547edf);_0x140b92<_0x27247c[_0x3157e7(0x203)];_0x140b92++)_0x414e6d[_0x3157e7(0x221)](_0x27247c[_0x140b92])<0x0&&Object[_0x3157e7(0x183)][_0x3157e7(0x2e7)]['call'](_0x547edf,_0x27247c[_0x140b92])&&(_0x230dc9[_0x27247c[_0x140b92]]=_0x547edf[_0x27247c[_0x140b92]]);}return _0x230dc9;},ke=_0x4f7ac2(function(_0x528ffb,_0x2f32b2){const _0x482920=_0x4c8ad2;var _0x46ac5c=_0x528ffb['icon'],_0x2e4f35=_0x528ffb['id'],_0x48c377=_0x528ffb[_0x482920(0x12c)],_0x4d39fb=_0x528ffb[_0x482920(0x21c)],_0xdecbe9=ci(_0x528ffb,['icon','id','className','extend']),_0x2fb503='univerjs-icon\x20univerjs-icon-'[_0x482920(0x185)](_0x2e4f35,'\x20')['concat'](_0x48c377||'')[_0x482920(0x2ef)](),_0x6b1366=_0x917733('_'['concat'](hi()));return Rt(_0x46ac5c,''[_0x482920(0x185)](_0x2e4f35),{'defIds':_0x46ac5c[_0x482920(0x2b5)],'idSuffix':_0x6b1366[_0x482920(0x230)]},v({'ref':_0x2f32b2,'className':_0x2fb503},_0xdecbe9),_0x4d39fb);});function Rt(_0x2466f6,_0x44db21,_0x837aff,_0x96a452,_0x1f919c){const _0x3af2a3=_0x4c8ad2;return _0x1ea42(_0x2466f6['tag'],v(v({'key':_0x44db21},li(_0x2466f6,_0x837aff,_0x1f919c)),_0x96a452),(_i(_0x2466f6,_0x837aff)[_0x3af2a3(0x21d)]||[])[_0x3af2a3(0x287)](function(_0x37489b,_0x1a7dee){const _0x182d24=_0x3af2a3;return Rt(_0x37489b,''['concat'](_0x44db21,'-')[_0x182d24(0x185)](_0x2466f6[_0x182d24(0x235)],'-')['concat'](_0x1a7dee),_0x837aff,void 0x0,_0x1f919c);}));}function li(_0x4e6890,_0x253588,_0x3b618b){const _0x452253=_0x4c8ad2;var _0x227b32=v({},_0x4e6890[_0x452253(0x2a1)]);_0x3b618b!=null&&_0x3b618b[_0x452253(0x25b)]&&_0x227b32[_0x452253(0x13e)]===_0x452253(0x25b)&&(_0x227b32['fill']=_0x3b618b['colorChannel1']),_0x4e6890[_0x452253(0x235)]===_0x452253(0x16d)&&_0x227b32['id']&&(_0x227b32['id']=_0x227b32['id']+_0x253588[_0x452253(0x12d)]),Object[_0x452253(0x1e6)](_0x227b32)[_0x452253(0x1db)](function(_0x2c4be9){const _0x3f2bfc=_0x452253;var _0x17af98=_0x2c4be9[0x0],_0x36e322=_0x2c4be9[0x1];_0x17af98===_0x3f2bfc(0x16d)&&typeof _0x36e322==_0x3f2bfc(0x16c)&&(_0x227b32[_0x17af98]=_0x36e322[_0x3f2bfc(0x19d)](/url\(#(.*)\)/,_0x3f2bfc(0x2eb)[_0x3f2bfc(0x185)](_0x253588[_0x3f2bfc(0x12d)],')')));});var _0x11ddb3=_0x253588[_0x452253(0x2b5)];return!_0x11ddb3||_0x11ddb3[_0x452253(0x203)]===0x0||(_0x4e6890[_0x452253(0x235)]==='use'&&_0x227b32[_0x452253(0x1bf)]&&(_0x227b32['xlink:href']=_0x227b32[_0x452253(0x1bf)]+_0x253588['idSuffix']),Object[_0x452253(0x1e6)](_0x227b32)[_0x452253(0x1db)](function(_0x52cab1){const _0x182c92=_0x452253;var _0x2fd831=_0x52cab1[0x0],_0x4f3a98=_0x52cab1[0x1];typeof _0x4f3a98==_0x182c92(0x16c)&&(_0x227b32[_0x2fd831]=_0x4f3a98['replace'](/url\(#(.*)\)/,_0x182c92(0x2eb)[_0x182c92(0x185)](_0x253588[_0x182c92(0x12d)],')')));})),_0x227b32;}function _i(_0xe0eeb5,_0x1f5336){const _0x129994=_0x4c8ad2;var _0x43c4fd,_0x13703e=_0x1f5336[_0x129994(0x2b5)];return!_0x13703e||_0x13703e['length']===0x0?_0xe0eeb5:_0xe0eeb5[_0x129994(0x235)]===_0x129994(0x19b)&&(!((_0x43c4fd=_0xe0eeb5[_0x129994(0x21d)])===null||_0x43c4fd===void 0x0)&&_0x43c4fd[_0x129994(0x203)])?v(v({},_0xe0eeb5),{'children':_0xe0eeb5[_0x129994(0x21d)][_0x129994(0x287)](function(_0x2fbd93){const _0x1e1d28=_0x129994;return typeof _0x2fbd93[_0x1e1d28(0x2a1)]['id']==_0x1e1d28(0x16c)&&_0x13703e&&_0x13703e['includes'](_0x2fbd93[_0x1e1d28(0x2a1)]['id'])?v(v({},_0x2fbd93),{'attrs':v(v({},_0x2fbd93[_0x1e1d28(0x2a1)]),{'id':_0x2fbd93['attrs']['id']+_0x1f5336[_0x1e1d28(0x12d)]})}):_0x2fbd93;})}):_0xe0eeb5;}function hi(){const _0x548de8=_0x4c8ad2;return Math[_0x548de8(0x206)]()[_0x548de8(0x2d3)](0x24)[_0x548de8(0x1b1)](0x2,0x8);}ke[_0x4c8ad2(0x29c)]='UniverIcon';var ui={'tag':_0x4c8ad2(0x164),'attrs':{'xmlns':_0x4c8ad2(0x193),'fill':_0x4c8ad2(0x15e),'viewBox':_0x4c8ad2(0x198),'width':_0x4c8ad2(0x144),'height':_0x4c8ad2(0x144)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'stroke':_0x4c8ad2(0x266),'d':_0x4c8ad2(0x140),'strokeLinecap':_0x4c8ad2(0x2f4),'strokeLinejoin':_0x4c8ad2(0x2f4),'strokeWidth':1.2}}]},{'tag':_0x4c8ad2(0x19b),'attrs':{},'children':[{'tag':_0x4c8ad2(0x2ae),'attrs':{'id':_0x4c8ad2(0x24e)},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'fill':_0x4c8ad2(0x2cb),'d':_0x4c8ad2(0x2c8)}}]}]}],'defIds':[_0x4c8ad2(0x24e)]},Dt=_0x4f7ac2(function(_0x1d05aa,_0x4e7395){const _0x24cf13=_0x4c8ad2;return _0x1ea42(ke,Object[_0x24cf13(0x1c6)]({},_0x1d05aa,{'id':_0x24cf13(0x2fb),'ref':_0x4e7395,'icon':ui}));});Dt['displayName']=_0x4c8ad2(0x24a);var di={'tag':_0x4c8ad2(0x164),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4c8ad2(0x15e),'viewBox':'0\x200\x2017\x2016','width':_0x4c8ad2(0x144),'height':_0x4c8ad2(0x144)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x4c8ad2(0x266),'d':_0x4c8ad2(0x1a0),'strokeLinecap':'round','strokeLinejoin':_0x4c8ad2(0x2f4),'strokeWidth':1.2}}]},{'tag':_0x4c8ad2(0x19b),'attrs':{},'children':[{'tag':_0x4c8ad2(0x2ae),'attrs':{'id':_0x4c8ad2(0x180)},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'fill':_0x4c8ad2(0x2cb),'d':_0x4c8ad2(0x2c8),'transform':_0x4c8ad2(0x170)}}]}]}],'defIds':[_0x4c8ad2(0x180)]},Nt=_0x4f7ac2(function(_0x2f139b,_0x35af86){const _0x1b2908=_0x4c8ad2;return _0x1ea42(ke,Object['assign']({},_0x2f139b,{'id':_0x1b2908(0x27b),'ref':_0x35af86,'icon':di}));});Nt[_0x4c8ad2(0x29c)]=_0x4c8ad2(0x115);function fi(_0xca264e){const _0x55caca=_0x4c8ad2;switch(_0xca264e){case _0x24ef01['OFFLINE']:return _0x55caca(0x28e);case _0x24ef01['CONFLICT']:return _0x55caca(0x1f0);case _0x24ef01[_0x55caca(0x1fa)]:return _0x55caca(0x27c);case _0x24ef01[_0x55caca(0x25e)]:return _0x55caca(0x166);case _0x24ef01['AWAITING']:case _0x24ef01[_0x55caca(0x117)]:return _0x55caca(0x155);case _0x24ef01['SYNCED']:case _0x24ef01[_0x55caca(0x30d)]:return _0x55caca(0x29b);}}function Si(_0x54e971){const _0x42ae89=_0x4c8ad2,{status$:_0x33c7af}=_0x54e971,_0x5edb7c=_0x2712ba(_0x33c7af,_0x24ef01[_0x42ae89(0x25e)]),_0x618c91=_0x505c89(_0x4a58fb),_0x2853da=_0x505c89(_0x15bdfc),_0x390a9f=_0x5edb7c!==_0x24ef01[_0x42ae89(0x2c2)],_0x5799ee=_0x618c91['t'](fi(_0x5edb7c)),_0x9ba5d1=_0x390a9f?_0x294e3f(Nt,{}):_0x294e3f(Dt,{}),_0x152a76=_0x22cb0b(()=>{_0x390a9f||_0x2853da['reconnect']();},[_0x390a9f,_0x2853da]);function _0x4d02a3(){const _0x3588ad=_0x42ae89;return _0x5cbd89('div',{'className':_0x3588ad(0x209),'onClick':_0x152a76,'children':[_0x294e3f('div',{'className':_0x42d014(_0x3588ad(0x2ec),{'univer-text-green-500':_0x390a9f,'univer-text-red-500':!_0x390a9f}),'children':_0x9ba5d1}),_0x294e3f(_0x3588ad(0x1e4),{'className':_0x3588ad(0x1cf),'children':_0x5799ee})]});}return _0x390a9f?_0x4d02a3():_0x294e3f(_0x16e4ca,{'title':_0x618c91['t'](_0x42ae89(0x18b)),'children':_0x4d02a3()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x5db455,_0x9ea17b,_0x497af6,_0x47efdf)=>{const _0x238979=_0x4c8ad2;for(var _0x3edd20=_0x47efdf>0x1?void 0x0:_0x47efdf?mi(_0x9ea17b,_0x497af6):_0x9ea17b,_0xea0f60=_0x5db455[_0x238979(0x203)]-0x1,_0x13900d;_0xea0f60>=0x0;_0xea0f60--)(_0x13900d=_0x5db455[_0xea0f60])&&(_0x3edd20=_0x13900d(_0x3edd20)||_0x3edd20);return _0x3edd20;},q=(_0x4cbfcf,_0x17fd19)=>(_0x2e5d1f,_0x1784ef)=>_0x17fd19(_0x2e5d1f,_0x1784ef,_0x4cbfcf);let se=class extends _0x388847{constructor(_0x322454,_0x2fff02,_0x56484e,_0x1966a1){const _0x943efc=_0x4c8ad2;super(),_(this,_0x943efc(0x282),new _0x2c7c6b(_0x24ef01[_0x943efc(0x25e)])),(this['_univerInstanceService']=_0x322454,this[_0x943efc(0x2f1)]=_0x2fff02,this[_0x943efc(0x14d)]=_0x56484e,this[_0x943efc(0x28a)]=_0x1966a1,this[_0x943efc(0x2db)](),this['_initStatusListener']());}[_0x4c8ad2(0x15a)](){const _0x3543ca=_0x4c8ad2;this[_0x3543ca(0x1b8)](this[_0x3543ca(0x1c8)][_0x3543ca(0x1a5)][_0x3543ca(0x189)](_0x4eb1c8(()=>{const _0x408a7a=_0x3543ca,_0x36f62b=this[_0x408a7a(0x1c8)][_0x408a7a(0x305)]();return _0x36f62b?this[_0x408a7a(0x14d)][_0x408a7a(0x308)](_0x36f62b[_0x408a7a(0x2c7)]()):_0x27dea0(null);}),_0x4eb1c8(_0x1a75e7=>_0x1a75e7?_0x1a75e7[_0x3543ca(0x1fc)]:_0x27dea0(_0x24ef01[_0x3543ca(0x25e)])))[_0x3543ca(0x11d)](_0x2f5d5b=>{const _0x3f2868=_0x3543ca;this[_0x3f2868(0x282)][_0x3f2868(0x17c)](_0x2f5d5b);}));}[_0x4c8ad2(0x2db)](){const _0x2d3b9d=_0x4c8ad2;this[_0x2d3b9d(0x1b8)](this['_uiPartsService'][_0x2d3b9d(0x246)](_0x13180d[_0x2d3b9d(0x233)],()=>_0x4d2713(vi({'status$':this[_0x2d3b9d(0x282)][_0x2d3b9d(0x205)]()}),this[_0x2d3b9d(0x2f1)])));}};se=Ii([q(0x0,_0x267da8),q(0x1,_0xf17c52(_0x14a08a)),q(0x2,_0xf17c52(_0x550088)),q(0x3,_0x3c71ca)],se);function vi(_0x1e048a){const {status$:_0x353e26}=_0x1e048a;return function(){return _0x294e3f(Si,{'status$':_0x353e26});};}const Ut=_0x43cb3a('uni.network.url-service');var gi=Object[_0x4c8ad2(0x122)],pi=(_0x4e9b96,_0x55b509,_0x5c48e9,_0x3e4b8a)=>{const _0x2e9d4e=_0x4c8ad2;for(var _0x296198=_0x3e4b8a>0x1?void 0x0:_0x3e4b8a?gi(_0x55b509,_0x5c48e9):_0x55b509,_0x15dc39=_0x4e9b96[_0x2e9d4e(0x203)]-0x1,_0x1808e1;_0x15dc39>=0x0;_0x15dc39--)(_0x1808e1=_0x4e9b96[_0x15dc39])&&(_0x296198=_0x1808e1(_0x296198)||_0x296198);return _0x296198;},G=(_0x1db914,_0x12e8f8)=>(_0x3f1384,_0x44c107)=>_0x12e8f8(_0x3f1384,_0x44c107,_0x1db914);let ie=class extends _0x5da5d3{constructor(_0x1122a4,_0x37f113,_0x312612,_0x1c8cfd,_0xafc1e5){const _0x10f4a1=_0x4c8ad2;super(),this['_urlService']=_0x1122a4,this[_0x10f4a1(0x22d)]=_0x37f113,this['_commandService']=_0x312612,this['_dataLoaderService']=_0x1c8cfd,_0xafc1e5?_0xafc1e5==null||_0xafc1e5[_0x10f4a1(0x299)]()[_0x10f4a1(0x1bd)](()=>this[_0x10f4a1(0x1f7)]()):(this[_0x10f4a1(0x22d)][_0x10f4a1(0x28c)](_0x10f4a1(0x2b9),_0x10f4a1(0x2f7)),this[_0x10f4a1(0x1f7)]());}async[_0x4c8ad2(0x1f7)](){const _0x463f82=_0x4c8ad2,_0x1e63f5=this['_urlService'][_0x463f82(0x191)]('unit'),_0x2571e0=this[_0x463f82(0x176)]['getParam']('type'),_0xb8abf6=this[_0x463f82(0x176)]['getParam'](_0x463f82(0x237));if(!_0x1e63f5||!_0x2571e0){this[_0x463f82(0x22d)][_0x463f82(0x28c)](_0x463f82(0x2b9),_0x463f82(0x139));return;}const _0x56e625=await this['_dataLoaderService']['loadUnit'](_0x1e63f5,Number(_0x2571e0),_0xb8abf6);_0x56e625&&_0x56e625 instanceof _0x2aaa39&&this[_0x463f82(0x224)](_0x56e625);}async[_0x4c8ad2(0x224)](_0x166d04){const _0x3ee98f=_0x4c8ad2;await this['_updateSubUnitFromURLParams'](_0x166d04),_0x166d04[_0x3ee98f(0x173)][_0x3ee98f(0x189)](_0x1b892a(this['dispose$']))[_0x3ee98f(0x11d)](_0x2dbc12=>{const _0x50e2f9=_0x3ee98f;_0x2dbc12&&this[_0x50e2f9(0x1c9)](_0x2dbc12);}),this[_0x3ee98f(0x176)][_0x3ee98f(0x1f4)][_0x3ee98f(0x189)](_0x1b892a(this[_0x3ee98f(0x298)]))[_0x3ee98f(0x11d)](()=>this[_0x3ee98f(0x25f)](_0x166d04));}['_updateURLWithCurrentState'](_0xdb9d8,_0x170a63=!0x1){const _0x544671=_0x4c8ad2,_0x5d482e=this['_urlService'][_0x544671(0x191)](_0x544671(0x237));_0xdb9d8[_0x544671(0x2af)]()!==_0x5d482e&&this['_urlService'][_0x544671(0x177)](_0x544671(0x237),_0xdb9d8['getSheetId'](),_0x170a63);}async[_0x4c8ad2(0x25f)](_0x13301a){const _0x16e4fa=_0x4c8ad2;var _0x3dd801;const _0x15f734=this[_0x16e4fa(0x176)]['getParam'](_0x16e4fa(0x237));if(!_0x15f734||!_0x13301a['getSheetBySheetId'](_0x15f734)){const _0x40d38a=_0x13301a[_0x16e4fa(0x181)]()[0x0],_0x275e32=_0x13301a[_0x16e4fa(0x17f)](_0x40d38a);if(!_0x275e32)return;this['_updateURLWithCurrentState'](_0x275e32,!0x0),await this[_0x16e4fa(0x276)][_0x16e4fa(0x26f)](_0x51641c['id'],{'unitId':_0x13301a['getUnitId'](),'subUnitId':_0x40d38a});return;}((_0x3dd801=_0x13301a[_0x16e4fa(0x188)]())==null?void 0x0:_0x3dd801[_0x16e4fa(0x2af)]())!==_0x15f734&&await this['_commandService']['executeCommand'](_0x51641c['id'],{'unitId':_0x13301a[_0x16e4fa(0x2c7)](),'subUnitId':_0x15f734});}};ie=pi([G(0x0,Ut),G(0x1,_0x4b3f07),G(0x2,_0x232566),G(0x3,_0xf17c52(_0x42970d)),G(0x4,_0x57e43c(_0x3f1b55))],ie);var Ci=Object[_0x4c8ad2(0x122)],Ei=(_0x5b4468,_0x474539,_0x3cb9b3,_0x3bdee3)=>{const _0x508966=_0x4c8ad2;for(var _0x453811=_0x3bdee3>0x1?void 0x0:_0x3bdee3?Ci(_0x474539,_0x3cb9b3):_0x474539,_0x1b13d5=_0x5b4468[_0x508966(0x203)]-0x1,_0x249acc;_0x1b13d5>=0x0;_0x1b13d5--)(_0x249acc=_0x5b4468[_0x1b13d5])&&(_0x453811=_0x249acc(_0x453811)||_0x453811);return _0x453811;},Je=(_0x3cd2b4,_0x21d701)=>(_0x4a6fb,_0x1bbd3d)=>_0x21d701(_0x4a6fb,_0x1bbd3d,_0x3cd2b4);let Ne=class extends _0x5da5d3{constructor(_0x31938c,_0x292790){super(),this['_docClipboardService']=_0x31938c,this['_imageIoService']=_0x292790,this['_init']();}[_0x4c8ad2(0x1f7)](){const _0x18e5ab=_0x4c8ad2,_0x484b4b=this;this[_0x18e5ab(0x1b8)](this[_0x18e5ab(0x2cd)][_0x18e5ab(0x16f)]({'onBeforePasteImage':async _0x21a87c=>{const _0x1777dc=_0x18e5ab,_0x2e832e=await _0x484b4b[_0x1777dc(0x23c)][_0x1777dc(0x145)](_0x21a87c);return _0x2e832e?{'source':_0x2e832e[_0x1777dc(0x125)],'imageSourceType':_0x2e832e['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x441ec5),Je(0x1,_0x44033e)],Ne);const Ze=['purple.300',_0x4c8ad2(0x131),_0x4c8ad2(0x13d),_0x4c8ad2(0x1ee),_0x4c8ad2(0x153),_0x4c8ad2(0x29e)];class He extends _0x388847{constructor(){const _0x4e657c=_0x4c8ad2;super(...arguments),_(this,_0x4e657c(0x297),new Map()),_(this,_0x4e657c(0x1d9),0x0);}[_0x4c8ad2(0x280)](_0x53540d){const _0x27c656=_0x4c8ad2;if(this[_0x27c656(0x297)][_0x27c656(0x207)](_0x53540d))return this[_0x27c656(0x297)][_0x27c656(0x254)](_0x53540d);const _0x425614=Ze[this['_colorIndex']];return this[_0x27c656(0x1d9)]=(this[_0x27c656(0x1d9)]+0x1)%Ze['length'],this[_0x27c656(0x297)]['set'](_0x53540d,_0x425614),_0x425614;}}function Mt(_0x3ccbb4){const _0x48863b=_0x4c8ad2;let _0x1c14c9='';for(const _0x207864 of _0x3ccbb4){const {startOffset:_0x49d9a4,endOffset:_0x14626b,isActive:_0x48e0fa,rangeType:_0x2eb59c,segmentId:_0x4d9115,segmentPage:_0x1b307e}=_0x207864;_0x1c14c9[_0x48863b(0x203)]&&(_0x1c14c9+=','),_0x1c14c9+=_0x49d9a4+':'+_0x14626b+':'+(_0x48e0fa?'1':'0')+':'+_0x2eb59c+':'+_0x4d9115+':'+_0x1b307e;}return _0x1c14c9;}function Oi(_0x8edd1f){const _0x1c70d3=_0x4c8ad2,_0x426d84=_0x8edd1f['split'](','),_0x2d93bd=[];for(const _0x24a089 of _0x426d84){const [_0x3c3b7c,_0x1edcdd,_0x11c88b,_0x6c80e3,_0xa460fe,_0x4b86ac]=_0x24a089[_0x1c70d3(0x306)](':');_0x2d93bd[_0x1c70d3(0x171)]({'startOffset':Number(_0x3c3b7c),'endOffset':Number(_0x1edcdd),'collapsed':_0x3c3b7c===_0x1edcdd,'isActive':_0x11c88b==='1','rangeType':_0x6c80e3===_0x5105b5[_0x1c70d3(0x2a5)]?_0x5105b5[_0x1c70d3(0x2a5)]:_0x5105b5[_0x1c70d3(0x20b)],'segmentId':typeof _0xa460fe=='string'?String(_0xa460fe):'','segmentPage':Number(_0x4b86ac!=null?_0x4b86ac:-0x1)});}return _0x2d93bd['some'](_0x271c33=>_0x271c33['isActive'])||(_0x2d93bd[0x0]['isActive']=!0x0),_0x2d93bd;}class Fe extends _0x5da5d3{constructor(){const _0x2c2cd6=_0x4c8ad2;super(...arguments),_(this,'_collabCursorState$',new _0x2c7c6b(null)),_(this,_0x2c2cd6(0x1df),this['_collabCursorState$'][_0x2c2cd6(0x205)]());}[_0x4c8ad2(0x1f9)](_0x50df44){const _0x4d21bf=_0x4c8ad2,{unitID:_0x17263a,memberID:_0x492258,textRanges:_0x19e1fc}=_0x50df44,_0x4eec44=Mt(_0x19e1fc);if(_0x4eec44==='')return;const _0x2b2149={'unitID':_0x17263a,'memberID':_0x492258,'selection':_0x4eec44};this['_collabCursorState$'][_0x4d21bf(0x17c)](_0x2b2149);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x22925f,_0x235452,_0x24c239,_0x503be3)=>{const _0x8715b=_0x4c8ad2;for(var _0x13ff56=_0x503be3>0x1?void 0x0:_0x503be3?bi(_0x235452,_0x24c239):_0x235452,_0x133b56=_0x22925f[_0x8715b(0x203)]-0x1,_0x547d64;_0x133b56>=0x0;_0x133b56--)(_0x547d64=_0x22925f[_0x133b56])&&(_0x13ff56=_0x547d64(_0x13ff56)||_0x13ff56);return _0x13ff56;},P=(_0x11db7e,_0x511db5)=>(_0x408e4f,_0x163428)=>_0x511db5(_0x408e4f,_0x163428,_0x11db7e);const Ri=0x12c,Di=0x64;let Ue=class extends _0x5da5d3{constructor(_0x428679,_0x374718,_0x3bb51e,_0x1afd7d,_0x8493a,_0x2bb475,_0x13e00b,_0x2b8db2,_0x3a177d){const _0x120404=_0x4c8ad2;super(),_(this,_0x120404(0x178),!0x1),_(this,_0x120404(0x1f7),!0x1),_(this,'_cursorInfo$',new _0x2c7c6b(new Map())),_(this,_0x120404(0x1cc),this['_cursorInfo$'][_0x120404(0x205)]()),_(this,'_roomMembers$',new _0x2c7c6b([])),_(this,_0x120404(0x2bd),this[_0x120404(0x1be)][_0x120404(0x189)](_0x4e3222(Ri))),_(this,'_updateLocalCursor',_0x41d8fd(_0x51bc52=>{const _0x143036=_0x120404,_0x4953d6={'eventID':_0x102a5f['UPDATE_CURSOR'],'data':{'unitID':this[_0x143036(0x179)],'memberID':this['_session']['getMemberID'](),'selection':Mt(_0x51bc52)}};this[_0x143036(0x135)][_0x143036(0x15f)](_0x4953d6,this[_0x143036(0x179)]);},Di)),(this[_0x120404(0x179)]=_0x428679,this[_0x120404(0x135)]=_0x374718,this[_0x120404(0x2f1)]=_0x3bb51e,this['_colorAssignService']=_0x1afd7d,this[_0x120404(0x1ae)]=_0x8493a,this[_0x120404(0x1f2)]=_0x2bb475,this[_0x120404(0x288)]=_0x13e00b,this['_univerInstanceService']=_0x2b8db2,this['_commandService']=_0x3a177d);}get['cursorInfo'](){const _0x4ff637=_0x4c8ad2;return this[_0x4ff637(0x290)][_0x4ff637(0x302)]();}get['roomMembers'](){const _0xc1fab4=_0x4c8ad2;return this[_0xc1fab4(0x1be)]['getValue']();}[_0x4c8ad2(0x1f1)](){const _0x1d8250=_0x4c8ad2;super[_0x1d8250(0x1f1)](),this[_0x1d8250(0x290)][_0x1d8250(0x17c)](new Map()),this['_cursorInfo$'][_0x1d8250(0x128)](),this[_0x1d8250(0x1be)]['next']([]),this[_0x1d8250(0x1be)]['complete']();}['init'](){const _0x460786=_0x4c8ad2;this[_0x460786(0x1f7)]||(this['_init']=!0x0,this['_session'][_0x460786(0x215)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))['subscribe'](_0x5b4ba5=>{const _0x578781=_0x460786;_0x5b4ba5===_0x3eb07c[_0x578781(0x2e0)]?this[_0x578781(0x2d4)]():this['_toggleOffline']();}),this[_0x460786(0x135)][_0x460786(0x2c0)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))[_0x460786(0x11d)](_0x21c682=>{const _0x3f6242=_0x460786,_0x27af21=_0x21c682[_0x3f6242(0x1b7)];_0x27af21===_0x102a5f[_0x3f6242(0x1ef)]&&this[_0x3f6242(0x2c1)](_0x21c682),_0x27af21===_0x102a5f[_0x3f6242(0x20e)]&&this[_0x3f6242(0x141)](_0x21c682);}),this[_0x460786(0x1b8)](this['_commandService'][_0x460786(0x241)](_0x5acf31=>{const _0x5b8690=_0x460786,_0xe44a37=_0x5acf31['params'];_0xe44a37!=null&&this[_0x5b8690(0x178)]&&_0x5acf31['id']===_0x34ebbe['id']&&_0xe44a37['unitId']===this[_0x5b8690(0x179)]&&_0xe44a37[_0x5b8690(0x190)]===!0x1&&_0xe44a37['ranges']['length']>0x0&&this[_0x5b8690(0x154)](_0xe44a37[_0x5b8690(0x2e6)]);})),this[_0x460786(0x1f2)][_0x460786(0x1df)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))['subscribe'](_0x1024dd=>{const _0x5e145a=_0x460786;if((_0x1024dd==null?void 0x0:_0x1024dd[_0x5e145a(0x179)])!==this['unitID'])return;const _0xc72a2={'eventID':_0x102a5f[_0x5e145a(0x1ef)],'data':_0x1024dd};this[_0x5e145a(0x2c1)](_0xc72a2);}),this[_0x460786(0x1b8)](this[_0x460786(0x276)][_0x460786(0x241)](_0x333552=>{const _0x35c0c6=_0x460786;if(_0x333552[_0x35c0c6(0x11b)]==null)return;const _0x3c2088=_0x333552[_0x35c0c6(0x11b)];if(_0x333552['id']!==_0x58395c['id']||_0x3c2088['unitId']!==this[_0x35c0c6(0x179)])return;const _0x32c1dc={'id':_0x35c0c6(0x1f6),'params':_0x3c2088},_0xc31dc9=this['cursorInfo'];for(const [_0x3d27c5,_0x5d66f1]of _0xc31dc9){const _0x539629={'id':_0x35c0c6(0x1f6),'params':{'unitId':this[_0x35c0c6(0x179)],'actions':null,'textRanges':_0x5d66f1[_0x35c0c6(0x2e6)]}},_0x449500=this[_0x35c0c6(0x288)][_0x35c0c6(0x163)](_0x32c1dc,_0x539629,!0x1);if(_0x5cbe5a(_0x449500))throw _0x449500[_0x35c0c6(0x1ff)];_0xc31dc9['set'](_0x3d27c5,{..._0x5d66f1,'ranges':_0x449500['m2Prime']['params'][_0x35c0c6(0x2d2)]});}queueMicrotask(()=>{const _0x40249f=_0x35c0c6;this['_cursorInfo$'][_0x40249f(0x17c)](_0xc31dc9);});})));}[_0x4c8ad2(0x2c1)](_0x3dd8ec){const _0x3ff85c=_0x4c8ad2;var _0x3f0d04,_0x1fa157;const {memberID:_0xd64995,selection:_0x2cd7bd}=_0x3dd8ec[_0x3ff85c(0x2a9)],_0x2ee024=Oi(_0x2cd7bd),_0x1d0d2d=(_0x1fa157=(_0x3f0d04=this['_memberService'][_0x3ff85c(0x1ea)](this[_0x3ff85c(0x179)],_0xd64995))==null?void 0x0:_0x3f0d04[_0x3ff85c(0x132)])!=null?_0x1fa157:_0x3ff85c(0x20a),_0x3dda83={'color':this[_0x3ff85c(0x174)]['assignAColorForMemberID'](_0xd64995),'name':_0x1d0d2d,'ranges':_0x2ee024},_0x3b36d6=this[_0x3ff85c(0x1e2)];_0x3b36d6[_0x3ff85c(0x12a)](_0xd64995,_0x3dda83),this[_0x3ff85c(0x290)]['next'](_0x3b36d6);}[_0x4c8ad2(0x141)](_0x334a4b){const _0x442963=_0x4c8ad2,{memberID:_0x449831}=_0x334a4b['data'],_0x4a15db=this[_0x442963(0x1e2)];_0x4a15db[_0x442963(0x14a)](_0x449831),this[_0x442963(0x290)][_0x442963(0x17c)](_0x4a15db);}[_0x4c8ad2(0x2d4)](){const _0x4c777b=_0x4c8ad2;var _0xfa0851;if(this[_0x4c777b(0x178)]=!0x0,((_0xfa0851=this[_0x4c777b(0x1c8)][_0x4c777b(0x305)]())==null?void 0x0:_0xfa0851[_0x4c777b(0x2c7)]())!==this[_0x4c777b(0x179)])return;const _0x5825eb=this[_0x4c777b(0x2f1)][_0x4c777b(0x254)](_0x412aa6)[_0x4c777b(0x160)]();Array['isArray'](_0x5825eb)&&_0x5825eb[_0x4c777b(0x203)]>0x0&&this['_updateLocalCursor'](_0x5825eb);}['_toggleOffline'](){const _0x5b7309=_0x4c8ad2;this[_0x5b7309(0x178)]=!0x1;}};Ue=Ti([P(0x2,_0xf17c52(_0x14a08a)),P(0x3,_0xf17c52(He)),P(0x4,_0xf17c52(_0xa5d6f3)),P(0x5,_0xf17c52(Fe)),P(0x6,_0x461df4),P(0x7,_0x267da8),P(0x8,_0x232566)],Ue);var Ni=Object[_0x4c8ad2(0x122)],Ui=(_0x301e4e,_0x350909,_0x14ed6a,_0x449f86)=>{const _0x5dcb13=_0x4c8ad2;for(var _0x2fe598=_0x449f86>0x1?void 0x0:_0x449f86?Ni(_0x350909,_0x14ed6a):_0x350909,_0x40300a=_0x301e4e[_0x5dcb13(0x203)]-0x1,_0x27bb50;_0x40300a>=0x0;_0x40300a--)(_0x27bb50=_0x301e4e[_0x40300a])&&(_0x2fe598=_0x27bb50(_0x2fe598)||_0x2fe598);return _0x2fe598;},x=(_0x4c4c1d,_0x527d31)=>(_0xc94ade,_0x3d4708)=>_0x527d31(_0xc94ade,_0x3d4708,_0x4c4c1d);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x59b253=[],_0x2d7601=!0x1;return _0x512395=>{_0x59b253['push'](_0x512395),_0x2d7601||(_0x2d7601=!0x0,setTimeout(()=>{_0x59b253['forEach'](_0x14d12b=>_0x14d12b()),_0x59b253=[],_0x2d7601=!0x1;}));};};let Me=class extends _0x5da5d3{constructor(_0x2ea7d8,_0x4ba55e,_0x80c999,_0x21a9d5,_0x2ae7d6,_0x5c85e7,_0x51354e,_0x4f35b1){const _0x4c8290=_0x4c8ad2;super(),_(this,_0x4c8290(0x178),!0x1),_(this,_0x4c8290(0x1f7),!0x1),_(this,'_cursorInfo$',new _0x2c7c6b(new Map())),_(this,'cursorInfo$',this[_0x4c8290(0x290)][_0x4c8290(0x205)]()),_(this,_0x4c8290(0x1be),new _0x2c7c6b([])),_(this,_0x4c8290(0x2bd),this[_0x4c8290(0x1be)][_0x4c8290(0x189)](_0x4e3222(Mi))),_(this,_0x4c8290(0x154),_0x41d8fd((_0x5eb4ec,_0x4ad8a9)=>{const _0x3e4da0=_0x4c8290,_0x3f109e={'eventID':_0x102a5f[_0x3e4da0(0x1ef)],'data':{'unitID':this[_0x3e4da0(0x179)],'memberID':this['_session'][_0x3e4da0(0x1b0)](),'selection':_0x5e839d(_0x5eb4ec,_0x4ad8a9[_0x3e4da0(0x142)])}};this[_0x3e4da0(0x135)][_0x3e4da0(0x15f)](_0x3f109e,this[_0x3e4da0(0x179)]);},Li)),(this[_0x4c8290(0x179)]=_0x2ea7d8,this[_0x4c8290(0x135)]=_0x4ba55e,this[_0x4c8290(0x2f1)]=_0x80c999,this[_0x4c8290(0x174)]=_0x21a9d5,this['_memberService']=_0x2ae7d6,this[_0x4c8290(0x1c8)]=_0x5c85e7,this[_0x4c8290(0x276)]=_0x51354e,this['_refRangeService']=_0x4f35b1);}get[_0x4c8ad2(0x1e2)](){const _0x27dd61=_0x4c8ad2;return this[_0x27dd61(0x290)][_0x27dd61(0x302)]();}get[_0x4c8ad2(0x243)](){return this['_roomMembers$']['getValue']();}[_0x4c8ad2(0x1f1)](){const _0x3bda0d=_0x4c8ad2;super[_0x3bda0d(0x1f1)](),this[_0x3bda0d(0x290)][_0x3bda0d(0x17c)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x3bda0d(0x1be)]['complete']();}[_0x4c8ad2(0x15c)](){const _0x4691a1=_0x4c8ad2;this[_0x4691a1(0x1f7)]||(this[_0x4691a1(0x1f7)]=!0x0,this[_0x4691a1(0x135)][_0x4691a1(0x215)][_0x4691a1(0x189)](_0x1b892a(this[_0x4691a1(0x298)]))[_0x4691a1(0x11d)](_0x272b07=>{const _0x5b593f=_0x4691a1;_0x272b07===_0x3eb07c[_0x5b593f(0x2e0)]?this[_0x5b593f(0x2d4)]():this[_0x5b593f(0x2a0)]();}),this[_0x4691a1(0x135)][_0x4691a1(0x2c0)][_0x4691a1(0x189)](_0x1b892a(this[_0x4691a1(0x298)]))[_0x4691a1(0x11d)](_0x294faf=>{const _0x4aea10=_0x4691a1,_0x598e21=_0x294faf[_0x4aea10(0x1b7)];_0x598e21===_0x102a5f[_0x4aea10(0x1ef)]&&this[_0x4aea10(0x2c1)](_0x294faf),_0x598e21===_0x102a5f[_0x4aea10(0x20e)]&&this[_0x4aea10(0x141)](_0x294faf);}),this['_onRefRangeChange'](),this[_0x4691a1(0x1b8)](this[_0x4691a1(0x276)][_0x4691a1(0x241)](_0x491e6b=>{const _0x45af50=_0x4691a1;if(this[_0x45af50(0x178)]&&_0x491e6b['id']===_0x147245['id']&&_0x491e6b['params']['unitId']===this['unitID']){const _0x5b7617=_0x491e6b[_0x45af50(0x11b)];this[_0x45af50(0x154)](_0x5b7617[_0x45af50(0x256)],_0x5b7617[_0x45af50(0x2b4)][0x0]);}})));}[_0x4c8ad2(0x2c1)](_0xbd2bcc){const _0x20b6c1=_0x4c8ad2;var _0x32922b,_0x5da0d8;const {memberID:_0x8c34aa,selection:_0x1604b0}=_0xbd2bcc[_0x20b6c1(0x2a9)],{sheetName:_0x4d45ae,range:_0x1f6cdd}=_0x13ab72(_0x1604b0),_0x5ae504={'name':(_0x5da0d8=(_0x32922b=this['_memberService'][_0x20b6c1(0x1ea)](this[_0x20b6c1(0x179)],_0x8c34aa))==null?void 0x0:_0x32922b[_0x20b6c1(0x132)])!=null?_0x5da0d8:'Unknown\x20user','range':this[_0x20b6c1(0x11a)](_0x4d45ae,_0x1f6cdd),'sheetID':_0x4d45ae,'color':this[_0x20b6c1(0x174)][_0x20b6c1(0x280)](_0x8c34aa),'selection':_0x1604b0},_0x281656=this[_0x20b6c1(0x1e2)];_0x281656[_0x20b6c1(0x12a)](_0x8c34aa,_0x5ae504),this['_cursorInfo$'][_0x20b6c1(0x17c)](_0x281656);}['_onCursorDelete'](_0x1da0e9){const _0xccc4fc=_0x4c8ad2,{memberID:_0xa64450}=_0x1da0e9[_0xccc4fc(0x2a9)],_0x48226a=this[_0xccc4fc(0x1e2)];_0x48226a[_0xccc4fc(0x14a)](_0xa64450),this[_0xccc4fc(0x290)][_0xccc4fc(0x17c)](_0x48226a);}[_0x4c8ad2(0x11a)](_0x16a4c6,_0x2070aa){const _0x5305a6=_0x4c8ad2;var _0x5b52a4,_0x5a7e29;const _0x35bf40=(_0x5a7e29=(_0x5b52a4=this[_0x5305a6(0x1c8)][_0x5305a6(0x1a4)](this[_0x5305a6(0x179)]))==null?void 0x0:_0x5b52a4[_0x5305a6(0x17f)](_0x16a4c6))==null?void 0x0:_0x5a7e29['getMergeData']();return(_0x35bf40==null?void 0x0:_0x35bf40['find'](_0x5c1aed=>_0x3ceb29[_0x5305a6(0x1d3)](_0x5c1aed,_0x2070aa)))||_0x2070aa;}[_0x4c8ad2(0x148)](){const _0x5d7377=_0x4c8ad2,_0x20bfd7=new _0x16f850(),_0xc043af=Pi(),_0x1c8045=()=>{const _0x1eb7bc=_0x1a2b;_0x20bfd7['dispose']();const _0x3c2a1d=(_0x46b974,_0x3118e8,_0xca0d2c,_0xae02a5)=>{const _0xf86959=_0x1a2b;let _0x59d047=[];switch(_0x46b974['id']){case _0x38bf57[_0xf86959(0x2ee)]:{_0x59d047=_0x1a5d80(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x192)]:{_0x59d047=_0x537b49(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x26d)]:{_0x59d047=_0x550b87(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x11c)]:{_0x59d047=_0x19e277(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x247)]:{_0x59d047=_0x360ad7(_0x46b974,_0xae02a5);break;}case _0x38bf57['InsertRowCommandId']:{_0x59d047=_0x247376(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x24c)]:{_0x59d047=_0x1d0c1d(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x218)]:{_0x59d047=_0x28f6ee(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x1c5)]:{_0x59d047=_0xb76994(_0x46b974,_0xae02a5);break;}}const _0x1cbd6a=_0x32f10b(_0x59d047,_0xae02a5),_0x152421=this['cursorInfo']['get'](_0x3118e8);if(_0x152421&&_0x1cbd6a){const _0x4661ed={..._0x152421,'range':_0x1cbd6a};this[_0xf86959(0x1e2)][_0xf86959(0x12a)](_0x3118e8,_0x4661ed),_0xc043af(()=>{const _0x2b3c19=_0xf86959,_0x56bf4c=this[_0x2b3c19(0x187)][_0x2b3c19(0x2ac)](_0x1cbd6a,_0x2f22ef=>(_0x56bf4c[_0x2b3c19(0x1f1)](),_0x3c2a1d(_0x2f22ef,_0x3118e8,_0xca0d2c,_0x1cbd6a)));_0x20bfd7[_0x2b3c19(0x2a6)](_0x56bf4c);});}return{'redos':[],'undos':[]};};this[_0x1eb7bc(0x1e2)][_0x1eb7bc(0x1db)]((_0x28f5d4,_0x2c5e03)=>{const _0x1dc945=_0x1eb7bc,{range:_0x18418f,sheetID:_0x12d53a}=_0x28f5d4,_0x18f48d=this['_refRangeService'][_0x1dc945(0x2ac)](_0x18418f,_0x371b42=>(_0x18f48d[_0x1dc945(0x1f1)](),_0x3c2a1d(_0x371b42,_0x2c5e03,_0x12d53a,_0x18418f)));_0x20bfd7['add'](_0x18f48d);});};this[_0x5d7377(0x1b8)](_0x5d9642(this[_0x5d7377(0x290)][_0x5d7377(0x11d)](()=>{_0x1c8045();})));}['_toggleOnline'](){const _0x492401=_0x4c8ad2;var _0x36f984,_0x52e502;if(this['_online']=!0x0,((_0x36f984=this[_0x492401(0x1c8)]['getFocusedUnit']())==null?void 0x0:_0x36f984[_0x492401(0x2c7)]())!==this[_0x492401(0x179)])return;const _0x158f80=(_0x52e502=this['_injector'][_0x492401(0x254)](_0x52066a)[_0x492401(0x197)]())==null?void 0x0:_0x52e502[0x0],_0x5d8b1c=this[_0x492401(0x1c8)][_0x492401(0x1f3)](_0x20dac5['UNIVER_SHEET'])[_0x492401(0x188)]();_0x158f80&&_0x5d8b1c&&this[_0x492401(0x154)](_0x5d8b1c[_0x492401(0x2af)](),_0x158f80);}[_0x4c8ad2(0x2a0)](){const _0x49a660=_0x4c8ad2;this[_0x49a660(0x178)]=!0x1;}};Me=Ui([x(0x2,_0xf17c52(_0x14a08a)),x(0x3,_0xf17c52(He)),x(0x4,_0xf17c52(_0xa5d6f3)),x(0x5,_0x267da8),x(0x6,_0x232566),x(0x7,_0xf17c52(_0x37b921))],Me);var wi=Object[_0x4c8ad2(0x122)],Ai=(_0x2a311d,_0x32d8aa,_0x517c69,_0x3aa1d2)=>{for(var _0x23519e=_0x3aa1d2>0x1?void 0x0:_0x3aa1d2?wi(_0x32d8aa,_0x517c69):_0x32d8aa,_0x2bbda0=_0x2a311d['length']-0x1,_0x57a90e;_0x2bbda0>=0x0;_0x2bbda0--)(_0x57a90e=_0x2a311d[_0x2bbda0])&&(_0x23519e=_0x57a90e(_0x23519e)||_0x23519e);return _0x23519e;},me=(_0x194402,_0x361ac4)=>(_0x19c9e1,_0x4d209c)=>_0x361ac4(_0x19c9e1,_0x4d209c,_0x194402);let F=class extends _0x5da5d3{constructor(_0x752877,_0x4cc9f9,_0x591c92){const _0x4255ef=_0x4c8ad2;super(),_(this,'_entities',new Map()),_(this,_0x4255ef(0x267),new _0x3d4b2e()),(this['_univerInstanceService']=_0x752877,this[_0x4255ef(0x2f1)]=_0x4cc9f9,this[_0x4255ef(0x14e)]=_0x591c92,this[_0x4255ef(0x1f7)]());}[_0x4c8ad2(0x1f1)](){const _0x1766a9=_0x4c8ad2;super[_0x1766a9(0x1f1)](),this[_0x1766a9(0x267)][_0x1766a9(0x128)](),this[_0x1766a9(0x2d9)][_0x1766a9(0x1db)](_0x295548=>_0x295548['dispose']());}[_0x4c8ad2(0x2da)](_0x16a7fb){const _0x5b5231=_0x4c8ad2;return this['_entities'][_0x5b5231(0x207)](_0x16a7fb)?this[_0x5b5231(0x2d9)][_0x5b5231(0x254)](_0x16a7fb)[_0x5b5231(0x1cc)]:this['_entityInit$']['pipe'](_0x55f630(_0x2b76e7=>_0x2b76e7['unitID']===_0x16a7fb),_0x4eb1c8(_0x2f788f=>_0x2f788f['cursorInfo$']));}[_0x4c8ad2(0x1f7)](){const _0x2e3f02=_0x4c8ad2;this[_0x2e3f02(0x1c8)][_0x2e3f02(0x133)](_0x20dac5[_0x2e3f02(0x225)])[_0x2e3f02(0x189)](_0x1b892a(this[_0x2e3f02(0x298)]))['subscribe'](async _0x43c62d=>{const _0xf241ab=_0x2e3f02,_0x5de6bc=_0x43c62d[_0xf241ab(0x2c7)](),_0x4a981a=await this[_0xf241ab(0x196)](_0x5de6bc);this[_0xf241ab(0x267)][_0xf241ab(0x17c)](_0x4a981a),this[_0xf241ab(0x2d9)]['set'](_0x5de6bc,_0x4a981a);}),this[_0x2e3f02(0x1c8)][_0x2e3f02(0x133)](_0x20dac5[_0x2e3f02(0x159)])['pipe'](_0x1b892a(this[_0x2e3f02(0x298)]))[_0x2e3f02(0x189)](_0x55f630(_0xa0cae2=>!_0xa0cae2['getUnitId']()[_0x2e3f02(0x23a)]('__')))[_0x2e3f02(0x11d)](async _0x583f3a=>{const _0x40fe70=_0x2e3f02,_0x23c170=_0x583f3a['getUnitId'](),_0x4a2526=await this[_0x40fe70(0x124)](_0x23c170);this['_entityInit$'][_0x40fe70(0x17c)](_0x4a2526),this[_0x40fe70(0x2d9)]['set'](_0x23c170,_0x4a2526);}),_0x553a69(this[_0x2e3f02(0x1c8)][_0x2e3f02(0x1b6)](_0x20dac5[_0x2e3f02(0x159)]),this[_0x2e3f02(0x1c8)]['getTypeOfUnitDisposed$'](_0x20dac5['UNIVER_SHEET']))[_0x2e3f02(0x189)](_0x1b892a(this['dispose$']))['subscribe'](_0x1f5910=>{const _0x12a294=_0x2e3f02,_0x19d2a6=_0x1f5910[_0x12a294(0x2c7)](),_0x2f8226=this['_entities'][_0x12a294(0x254)](_0x19d2a6);_0x2f8226&&(_0x2f8226[_0x12a294(0x1f1)](),this[_0x12a294(0x2d9)]['delete'](_0x19d2a6));});}async[_0x4c8ad2(0x196)](_0x3de07a){const _0x2a26bd=_0x4c8ad2,_0x3d03ac=await this[_0x2a26bd(0x14e)][_0x2a26bd(0x272)](_0x3de07a),_0x27ed6b=this['_injector'][_0x2a26bd(0x182)](Me,_0x3de07a,_0x3d03ac);return _0x27ed6b[_0x2a26bd(0x15c)](),_0x27ed6b;}async[_0x4c8ad2(0x124)](_0x13961b){const _0x2509f5=_0x4c8ad2,_0x47034b=await this[_0x2509f5(0x14e)][_0x2509f5(0x272)](_0x13961b),_0x46449a=this['_injector'][_0x2509f5(0x182)](Ue,_0x13961b,_0x47034b);return _0x46449a[_0x2509f5(0x15c)](),_0x46449a;}};F=Ai([me(0x0,_0x267da8),me(0x1,_0xf17c52(_0x14a08a)),me(0x2,_0xf17c52(_0x15bdfc))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x520ac0,_0x38698b){const _0x442776=_0x4c8ad2;let {radius:_0x45cc16,width:_0x161605,height:_0x63e17b}=_0x38698b;_0x45cc16=_0x45cc16!=null?_0x45cc16:0x0,_0x161605=_0x161605!=null?_0x161605:0x1e,_0x63e17b=_0x63e17b!=null?_0x63e17b:0x1e;let _0xff991c=0x0,_0x212c43=0x0,_0xf5273=0x0;_0xff991c=_0x212c43=_0xf5273=Math[_0x442776(0x17e)](_0x45cc16,_0x161605/0x2,_0x63e17b/0x2),_0x520ac0['beginPath'](),_0x520ac0[_0x442776(0x213)](_0xff991c,0x0),_0x520ac0[_0x442776(0x201)](_0x161605-_0x212c43,0x0),_0x520ac0['arc'](_0x161605-_0x212c43,_0x212c43,_0x212c43,Math['PI']*0x3/0x2,0x0,!0x1),_0x520ac0[_0x442776(0x201)](_0x161605,_0x63e17b-_0xf5273),_0x520ac0[_0x442776(0x278)](_0x161605-_0xf5273,_0x63e17b-_0xf5273,_0xf5273,0x0,Math['PI']/0x2,!0x1),_0x520ac0[_0x442776(0x201)](0x0,_0x63e17b),_0x520ac0[_0x442776(0x201)](0x0,_0xff991c),_0x520ac0['arc'](_0xff991c,_0xff991c,_0xff991c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x520ac0[_0x442776(0x11e)](),_0x38698b['fill']&&(_0x520ac0[_0x442776(0x240)](),_0x520ac0[_0x442776(0x26a)]=_0x38698b[_0x442776(0x13e)],_0x38698b['fillRule']===_0x442776(0x186)?_0x520ac0['fill'](_0x442776(0x186)):_0x520ac0['fill'](),_0x520ac0[_0x442776(0x2fe)]());}class ue extends _0xbd1e50{constructor(_0x3253b8,_0x85a5e4){const _0x5ccd0e=_0x4c8ad2;super(_0x3253b8,_0x85a5e4),_(this,_0x5ccd0e(0x1b9)),_(this,_0x5ccd0e(0x2e1)),(this[_0x5ccd0e(0x1b9)]=_0x85a5e4==null?void 0x0:_0x85a5e4[_0x5ccd0e(0x1b9)],this[_0x5ccd0e(0x2e1)]=_0x85a5e4==null?void 0x0:_0x85a5e4[_0x5ccd0e(0x2e1)]);}static[_0x4c8ad2(0x1c2)](_0x11ed57,_0x7f0137){const _0x328e30=_0x4c8ad2,{text:_0x3abfda,color:_0xaa3304}=_0x7f0137;_0x11ed57[_0x328e30(0x240)](),_0x11ed57[_0x328e30(0x1e3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1054ca=_0x11ed57['measureText'](_0x3abfda)['width'],_0x50cdcc=Math[_0x328e30(0x17e)](_0x1054ca+0x2*Ie,Qe);$i(_0x11ed57,{'height':J,'radius':0x4,'width':_0x50cdcc,'fill':_0xaa3304}),_0x11ed57[_0x328e30(0x26a)]=_0x328e30(0x1da);const _0x3efce5=Ie,_0x1ecf0e=J-yi,_0x1a0f4b=Qe-0x2*Ie;if(_0x1054ca>_0x1a0f4b){let _0x289e3b='',_0x431e5b=0x0;for(const _0x1235c8 of _0x3abfda){const _0x617b96=_0x11ed57[_0x328e30(0x303)](_0x1235c8)['width'];if(_0x431e5b+_0x617b96<=_0x1a0f4b-_0x11ed57[_0x328e30(0x303)](_0x328e30(0x2c9))[_0x328e30(0x273)])_0x289e3b+=_0x1235c8,_0x431e5b+=_0x617b96;else{_0x289e3b+=_0x328e30(0x2c9);break;}}_0x11ed57[_0x328e30(0x257)](_0x289e3b,_0x3efce5,_0x1ecf0e);}else _0x11ed57[_0x328e30(0x257)](_0x3abfda,_0x3efce5,_0x1ecf0e);_0x11ed57[_0x328e30(0x2fe)]();}[_0x4c8ad2(0x200)](_0x3675f7){const _0x375eaa=_0x4c8ad2;ue[_0x375eaa(0x1c2)](_0x3675f7,this);}}const ve='collab-text-anchor-',xi=_0x4c8ad2(0x10d),Bi=_0x4c8ad2(0x1c0),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x4c8ad2(0x1a8);class qe{constructor(_0xf1adab,_0x20925b,_0x4e017a,_0x377376){const _0x1b13c6=_0x4c8ad2;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x1b13c6(0x2b8),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x1b13c6(0x146),null),(this['_cursor']=_0xf1adab,this[_0x1b13c6(0x293)]=_0x20925b,this[_0x1b13c6(0x283)]=_0x4e017a,this[_0x1b13c6(0x226)]=_0x377376,this[_0x1b13c6(0x210)]());}set['_hover'](_0x379866){const _0x6956bc=_0x4c8ad2;_0x379866?(this[_0x6956bc(0x1d6)]&&this['_anchorDot'][_0x6956bc(0x258)](),this[_0x6956bc(0x2b8)]&&this[_0x6956bc(0x2b8)]['show']()):(this[_0x6956bc(0x1d6)]&&this[_0x6956bc(0x1d6)][_0x6956bc(0x26b)](),this[_0x6956bc(0x2b8)]&&this[_0x6956bc(0x2b8)][_0x6956bc(0x258)]());}['dispose'](){const _0x1c1e92=_0x4c8ad2;for(const _0x453a6c of this[_0x1c1e92(0x156)])_0x453a6c[_0x1c1e92(0x1f1)]();this[_0x1c1e92(0x2b8)]&&this[_0x1c1e92(0x2b8)][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x1d6)]&&this[_0x1c1e92(0x1d6)][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x1ac)]&&this['_anchor'][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x146)]&&this['_eventUnsubscribe']();}[_0x4c8ad2(0x210)](){const _0x5823c8=_0x4c8ad2;var _0x27507a;const {_docSkeleton:_0x1aea93,_document:_0x47ea14}=this,{color:_0x527242,name:_0x3450d0,ranges:_0x3960c0}=this['_cursor'],_0x549489=_0x47ea14[_0x5823c8(0x134)](),{docsLeft:_0xab5c50,docsTop:_0x308ee9}=_0x549489,_0x4e2de8=new _0x262416(_0x549489,_0x1aea93);for(const {startOffset:_0x1d19fa,endOffset:_0x5f014e,rangeType:_0x17f792,segmentId:_0x5dd423,segmentPage:_0x4d86b4,collapsed:_0x53eea0,isActive:_0x3bf118}of _0x3960c0){const _0x4086fb=_0x1aea93[_0x5823c8(0x1a3)](_0x1d19fa,!0x0,_0x5dd423,_0x4d86b4);let _0x3f997e=_0x1aea93[_0x5823c8(0x1a3)](_0x5f014e,!0x0,_0x5dd423,_0x4d86b4);if(_0x3f997e==null&&(_0x3f997e=_0x1aea93['findNodePositionByCharIndex'](_0x5f014e-0x1,!0x1,_0x5dd423,_0x4d86b4)),_0x3bf118){const {contentBoxPointGroup:_0x443b33}=_0x4e2de8[_0x5823c8(0x204)](_0x3f997e,_0x3f997e);if(_0x443b33[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x26e)](_0x527242,_0x443b33,_0xab5c50,_0x308ee9,_0x3450d0),this['_eventUnsubscribe']=this[_0x5823c8(0x1ad)]();}if(_0x4086fb&&_0x3f997e){if(_0x17f792===_0x5105b5['RECT']){const _0x5048a8=new _0xbc31f3(_0x549489,_0x1aea93),{pointGroup:_0x32d078}=(_0x27507a=_0x5048a8[_0x5823c8(0x204)](_0x4086fb,_0x3f997e))!=null?_0x27507a:{};if(_0x32d078==null||_0x32d078[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x1ce)](_0x527242,_0x32d078,_0xab5c50,_0x308ee9);}else{if(!_0x53eea0){const {borderBoxPointGroup:_0x1e3c0a}=_0x4e2de8[_0x5823c8(0x204)](_0x4086fb,_0x3f997e);if(_0x1e3c0a[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x25d)](_0x527242,_0x1e3c0a,_0xab5c50,_0x308ee9);}}}}}['_drawAnchor'](_0x2883e2,_0x1ecfc3,_0x41e8cc,_0x77b476,_0x4b4996){const _0x35f071=_0x4c8ad2,_0x473742=this[_0x35f071(0x129)](_0x1ecfc3),{left:_0x45a415,top:_0x24ac95,height:_0x54d9fe}=_0x473742,_0x11927d=this[_0x35f071(0x289)](),_0x3a3164=Hi/_0x11927d,_0x45ad4a=new _0x3c1b9e(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476,'height':_0x54d9fe,'width':ki,'fill':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'strokeWidth':_0x3a3164,'stroke':Fi,'evented':!0x0});this[_0x35f071(0x1ac)]=_0x45ad4a,this[_0x35f071(0x293)][_0x35f071(0x2d5)](_0x45ad4a,_0x5a9741);const _0x3b2335=new _0x3c1b9e(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476-ge/0x2,'height':ge,'width':ge,'fill':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'strokeWidth':0x0,'stroke':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'evented':!0x1});this[_0x35f071(0x1d6)]=_0x3b2335,this['_scene'][_0x35f071(0x2d5)](_0x3b2335,_0x5a9741);const _0x19e3cd=new ue(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476-J,'text':_0x4b4996,'color':_0x2883e2});this['_textBubble']=_0x19e3cd,this['_scene'][_0x35f071(0x2d5)](_0x19e3cd,_0x5a9741),this[_0x35f071(0x265)]=!0x1;}[_0x4c8ad2(0x1ad)](){const _0x3dcab7=_0x4c8ad2,_0x1aa306=this[_0x3dcab7(0x1ac)]['onPointerEnter$'][_0x3dcab7(0x222)](()=>{this['_hover']=!0x0;}),_0x33685f=this[_0x3dcab7(0x1ac)][_0x3dcab7(0x2b3)][_0x3dcab7(0x222)](()=>{const _0x4f9c0a=_0x3dcab7;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x4f9c0a(0x1eb)]=setTimeout(()=>{const _0x326ad6=_0x4f9c0a;this[_0x326ad6(0x265)]=!0x1;},0x7d0);});return()=>{const _0x464b06=_0x3dcab7;_0x1aa306[_0x464b06(0x137)](),_0x33685f['unsubscribe']();};}[_0x4c8ad2(0x25d)](_0x4c3b81,_0x2af390,_0xe8df2a,_0x385f9e){const _0x4bb2f6=_0x4c8ad2,_0x2fa6b0=new _0x2cb09e(_0x4c3b81)['setAlpha'](0.2)[_0x4bb2f6(0x1d8)](),_0x570ecd=new _0x38ffad(xi+_0x2ddacf(K),{'pointsGroup':_0x2af390,'fill':_0x2fa6b0||_0xdbc905(_0x104f50[_0x4bb2f6(0x1af)],0.2),'left':_0xe8df2a,'top':_0x385f9e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4bb2f6(0x156)]['push'](_0x570ecd),this['_scene'][_0x4bb2f6(0x2d5)](_0x570ecd,_0x5a9741);}['_drawRectRange'](_0x4f69ca,_0x14274c,_0x4413db,_0x5d1693){const _0x68920c=_0x4c8ad2,_0x45e54e=new _0x2cb09e(_0x4f69ca)[_0x68920c(0x18a)](0.2)[_0x68920c(0x1d8)](),_0x5c9344=new _0x38ffad(Bi+_0x2ddacf(K),{'pointsGroup':_0x14274c,'fill':_0x45e54e||_0xdbc905(_0x104f50[_0x68920c(0x1af)],0.2),'left':_0x4413db,'top':_0x5d1693,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x68920c(0x156)][_0x68920c(0x171)](_0x5c9344),this[_0x68920c(0x293)][_0x68920c(0x2d5)](_0x5c9344,_0x5a9741);}[_0x4c8ad2(0x129)](_0x465c6f){const _0x8f5aa6=_0x465c6f[0x0],_0x3ad7e1=_0x8f5aa6[0x0],_0x544328=_0x8f5aa6[0x2],{x:_0x54d4d3,y:_0x187045}=_0x3ad7e1,{x:_0x4ef894,y:_0x2a6853}=_0x544328;return{'left':_0x54d4d3,'top':_0x187045,'width':_0x4ef894-_0x54d4d3,'height':_0x2a6853-_0x187045};}[_0x4c8ad2(0x289)](){const _0x54bebd=_0x4c8ad2,{scaleX:_0x1f3923,scaleY:_0x83d9f4}=this[_0x54bebd(0x293)]['getAncestorScale']();return Math['max'](_0x1f3923,_0x83d9f4);}}var Yi=Object[_0x4c8ad2(0x122)],ji=(_0x4b4380,_0x2caf37,_0x33c773,_0xcfbc0a)=>{for(var _0x26b34a=_0xcfbc0a>0x1?void 0x0:_0xcfbc0a?Yi(_0x2caf37,_0x33c773):_0x2caf37,_0x4aa1f6=_0x4b4380['length']-0x1,_0x171906;_0x4aa1f6>=0x0;_0x4aa1f6--)(_0x171906=_0x4b4380[_0x4aa1f6])&&(_0x26b34a=_0x171906(_0x26b34a)||_0x26b34a);return _0x26b34a;},ee=(_0x3f370f,_0x220b81)=>(_0x3f47a7,_0x3b3187)=>_0x220b81(_0x3f47a7,_0x3b3187,_0x3f370f);let Le=class extends _0x5da5d3{constructor(_0x1d76de,_0x2636e3,_0x1ae268,_0x307925,_0x428710){const _0x330ee5=_0x4c8ad2;super(),_(this,_0x330ee5(0x121),[]),_(this,'_cursors',[]),(this['_context']=_0x1d76de,this['_docSkeletonManagerService']=_0x2636e3,this[_0x330ee5(0x2f0)]=_0x1ae268,this[_0x330ee5(0x276)]=_0x307925,this[_0x330ee5(0x19a)]=_0x428710,this[_0x330ee5(0x1f7)]());}['_init'](){const _0x241566=_0x4c8ad2,_0x4279ad=this[_0x241566(0x162)]['unitId'],_0x1b8cab=this[_0x241566(0x2a3)];this[_0x241566(0x1b8)](_0x4c7b20([this[_0x241566(0x2f0)][_0x241566(0x2da)](_0x4279ad),this[_0x241566(0x19a)][_0x241566(0x1a1)]])['pipe'](_0x205f1d(([_0x28d195,_0x30a11e])=>({'skeleton':_0x1b8cab[_0x241566(0x1bb)](),'cursors':[..._0x28d195[_0x241566(0x16a)]()][_0x241566(0x1e8)](_0x2fbcc3=>({..._0x2fbcc3,'color':this['_themeService'][_0x241566(0x2be)](_0x2fbcc3[_0x241566(0x1b9)])}))})))[_0x241566(0x11d)](_0x49e35b=>{const _0x276d0d=_0x241566;if(this[_0x276d0d(0x151)](),_0x49e35b){const {skeleton:_0xb72793,cursors:_0x47f816}=_0x49e35b;this[_0x276d0d(0x161)](_0xb72793,_0x47f816);}})),this[_0x241566(0x2bb)](),this['_initCommandExecutedListener']();}[_0x4c8ad2(0x161)](_0x276517,_0x407064){const _0x2ea76b=_0x4c8ad2,{scene:_0x1487ff,mainComponent:_0x3b4fcf}=this[_0x2ea76b(0x162)],_0x4d7ff2=_0x407064[_0x2ea76b(0x287)](_0x2f19ce=>new qe(_0x2f19ce,_0x1487ff,_0x276517,_0x3b4fcf));this[_0x2ea76b(0x121)]=_0x4d7ff2,this['_cursors']=_0x407064;}['_refreshCollabCursors'](){const _0x1b0f34=_0x4c8ad2;this[_0x1b0f34(0x151)]();const {scene:_0x16347c,mainComponent:_0x96f0e8}=this[_0x1b0f34(0x162)],_0x5a2861=this['_docSkeletonManagerService'][_0x1b0f34(0x1bb)](),_0x420fd6=this[_0x1b0f34(0x1ab)][_0x1b0f34(0x287)](_0x5009f7=>new qe(_0x5009f7,_0x16347c,_0x5a2861,_0x96f0e8));this[_0x1b0f34(0x121)]=_0x420fd6;}['_removeCollabCursors'](){const _0x2a88bb=_0x4c8ad2;this[_0x2a88bb(0x121)]['forEach'](_0x4f7316=>_0x4f7316[_0x2a88bb(0x1f1)]()),this['_cursorShapes']=[];}[_0x4c8ad2(0x2d0)](){const _0x4faccc=_0x4c8ad2,_0x3965e4=[_0x3774c2['id']];this['disposeWithMe'](this[_0x4faccc(0x276)][_0x4faccc(0x241)](_0x2972db=>{const _0x3bb574=_0x4faccc;_0x3965e4['includes'](_0x2972db['id'])&&_0x2972db['params'][_0x3bb574(0x259)]===this[_0x3bb574(0x162)][_0x3bb574(0x259)]&&this[_0x3bb574(0x172)]();}));}[_0x4c8ad2(0x2bb)](){const _0x9844bb=_0x4c8ad2;this[_0x9844bb(0x1b8)](_0x459619(this[_0x9844bb(0x162)][_0x9844bb(0x2ca)][_0x9844bb(0x2e8)])[_0x9844bb(0x189)](_0x397aa8(_0x43b287=>_0x43b287[_0x9844bb(0x1e1)]===_0x4e67c8[_0x9844bb(0x26c)]),_0x13c8d3(0x10))[_0x9844bb(0x11d)](()=>{const _0x3f399e=_0x9844bb;this[_0x3f399e(0x172)]();}));}};Le=ji([ee(0x1,_0xf17c52(_0x6fdb44)),ee(0x2,_0xf17c52(F)),ee(0x3,_0x232566),ee(0x4,_0xf17c52(_0x1cd76d))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0xbd1e50{constructor(_0x5e7ea1,_0x471ae7){const _0x4143da=_0x4c8ad2;super(_0x5e7ea1,_0x471ae7),_(this,_0x4143da(0x236)),_(this,'_hovered',!0x1),_(this,_0x4143da(0x2f3)),_(this,_0x4143da(0x10f),''),_(this,_0x4143da(0x21e),_0x4143da(0x1b2)),_(this,_0x4143da(0x130)),(_0x471ae7&&this['setShapeProps'](_0x471ae7),this[_0x4143da(0x1d7)]['subscribeEvent'](()=>this[_0x4143da(0x2d8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4143da(0x222)](()=>this[_0x4143da(0x2d8)]({'hovered':!0x1})));}['setShapeProps'](_0x29d769){const _0x1a6f39=_0x4c8ad2;var _0x546e8f,_0x3fe30b,_0x203f76,_0x3c79d9,_0xdaf947,_0x39b64b;this[_0x1a6f39(0x236)]=(_0x546e8f=_0x29d769[_0x1a6f39(0x1b9)])!=null?_0x546e8f:this[_0x1a6f39(0x236)],this[_0x1a6f39(0x1e7)]=(_0x3fe30b=_0x29d769[_0x1a6f39(0x13b)])!=null?_0x3fe30b:this['_hovered'],this[_0x1a6f39(0x2f3)]=(_0x203f76=_0x29d769[_0x1a6f39(0x142)])!=null?_0x203f76:this[_0x1a6f39(0x2f3)],this[_0x1a6f39(0x10f)]=(_0x3c79d9=_0x29d769[_0x1a6f39(0x132)])!=null?_0x3c79d9:this[_0x1a6f39(0x10f)],this[_0x1a6f39(0x21e)]=(_0xdaf947=_0x29d769['labelPosition'])!=null?_0xdaf947:this[_0x1a6f39(0x21e)],this[_0x1a6f39(0x130)]=(_0x39b64b=_0x29d769[_0x1a6f39(0x27a)])!=null?_0x39b64b:this[_0x1a6f39(0x130)],this[_0x1a6f39(0x248)]({'width':_0x29d769[_0x1a6f39(0x273)],'height':_0x29d769[_0x1a6f39(0x2cc)]});}[_0x4c8ad2(0x2bc)](_0x531ef1){const _0x19ca67=_0x4c8ad2,{row:_0x38867c,column:_0x528493}=_0x531ef1;if(_0x38867c>=this[_0x19ca67(0x2f3)]['startRow']&&_0x38867c<=this[_0x19ca67(0x2f3)]['endRow']&&_0x528493>=this[_0x19ca67(0x2f3)]['startColumn']&&_0x528493<=this[_0x19ca67(0x2f3)][_0x19ca67(0x2e9)]){this[_0x19ca67(0x2d8)]({'hovered':!0x0});return;}this[_0x19ca67(0x2d8)]({'hovered':!0x1});}['triggerDblclick'](_0x401232){return!0x1;}[_0x4c8ad2(0x200)](_0x1458e9){const _0x1f5250=_0x4c8ad2;_0x3c1b9e[_0x1f5250(0x1c2)](_0x1458e9,{'width':this[_0x1f5250(0x273)],'height':this[_0x1f5250(0x2cc)],'strokeWidth':Wi,'stroke':this[_0x1f5250(0x236)],'evented':!0x1,'fill':this[_0x1f5250(0x130)]}),this[_0x1f5250(0x1e7)]&&(_0x1458e9[_0x1f5250(0x240)](),_0x1458e9[_0x1f5250(0x2e3)](0x1,0x0,0x0,0x1,this[_0x1f5250(0x273)],this['_labelPosition']===_0x1f5250(0x244)?0x0:-J),ue[_0x1f5250(0x1c2)](_0x1458e9,{'text':this[_0x1f5250(0x10f)],'color':this[_0x1f5250(0x236)]}),_0x1458e9[_0x1f5250(0x2fe)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x2af5da,_0x4f10e6,_0x5388a1,_0x23ff09)=>{const _0x3fb4b6=_0x4c8ad2;for(var _0x1aaf87=_0x23ff09>0x1?void 0x0:_0x23ff09?Gi(_0x4f10e6,_0x5388a1):_0x4f10e6,_0x288a41=_0x2af5da[_0x3fb4b6(0x203)]-0x1,_0x479870;_0x288a41>=0x0;_0x288a41--)(_0x479870=_0x2af5da[_0x288a41])&&(_0x1aaf87=_0x479870(_0x1aaf87)||_0x1aaf87);return _0x1aaf87;},pe=(_0x5dcf2c,_0x5961a1)=>(_0x14a745,_0x45f145)=>_0x5961a1(_0x14a745,_0x45f145,_0x5dcf2c);const zi=0x1389;let Pe=class extends _0x5da5d3{constructor(_0x50517e,_0x179605,_0x41301d,_0x14f472){const _0x4f6ee7=_0x4c8ad2;super(),_(this,_0x4f6ee7(0x1ab),new Set()),_(this,'_lastPointer',null),(this[_0x4f6ee7(0x162)]=_0x50517e,this['_sheetSkeletonManagerService']=_0x179605,this['_collabCursorController']=_0x41301d,this[_0x4f6ee7(0x19a)]=_0x14f472,this[_0x4f6ee7(0x1f7)]());}['_init'](){const _0xc353b2=_0x4c8ad2;this[_0xc353b2(0x24b)]['currentSkeleton$'][_0xc353b2(0x189)](_0x49b1ed(this[_0xc353b2(0x298)]),_0x550ec3(_0x2735f4=>{const _0x7fa3e7=_0xc353b2;if(_0x2735f4){const _0x445639=_0x2735f4[_0x7fa3e7(0x223)];return _0x4c7b20(this[_0x7fa3e7(0x2f0)][_0x7fa3e7(0x2da)](this[_0x7fa3e7(0x162)][_0x7fa3e7(0x259)]),this[_0x7fa3e7(0x19a)]['currentTheme$'])['pipe'](_0x205f1d(([_0x37d12a,_0x4b3d09])=>{const _0x4d9077=new Map();return _0x37d12a['forEach']((_0x2c76fa,_0x130581)=>{const _0x1b9022=_0x1a2b;if(_0x2c76fa[_0x1b9022(0x28f)]===_0x445639){const _0x1e7799={..._0x2c76fa};_0x1e7799[_0x1b9022(0x1b9)]=this[_0x1b9022(0x19a)][_0x1b9022(0x2be)](_0x2c76fa['color']),_0x4d9077[_0x1b9022(0x12a)](_0x130581,_0x1e7799);}}),{'skeleton':_0x2735f4,'cursors':_0x4d9077};}));}return _0x27dea0({'skeleton':null,'cursors':new Map()});}))[_0xc353b2(0x11d)](({skeleton:_0x124342,cursors:_0x114a03})=>{const _0x31eebb=_0xc353b2;this['_removeCollabCursors'](),_0x124342&&this[_0x31eebb(0x161)](_0x124342,_0x114a03);}),this[_0xc353b2(0x24b)][_0xc353b2(0x111)][_0xc353b2(0x11d)](_0x1af883=>{const _0x3a0f0c=_0xc353b2;if(_0x1af883==null)return;const {skeleton:_0xec7a49}=_0x1af883,{scene:_0x39c124}=this[_0x3a0f0c(0x162)];_0x39c124[_0x3a0f0c(0x168)][_0x3a0f0c(0x222)](_0x41d8fd(_0x354ffa=>{const _0x4bcdc0=_0x3a0f0c;var _0x2e91f8,_0x54e862;const {offsetX:_0x3711b3,offsetY:_0x3af5b5}=_0x354ffa,{x:_0x30e9b6,y:_0x2dc875}=_0x39c124['getRelativeToViewportCoord'](_0x5ce56f[_0x4bcdc0(0x23d)]([_0x3711b3,_0x3af5b5])),{scaleX:_0x262f77,scaleY:_0x39904b}=_0x39c124['getAncestorScale'](),_0x352f5e=_0x39c124[_0x4bcdc0(0x2fa)](_0x171a46['VIEW_MAIN']),_0x1f9c20=_0x39c124[_0x4bcdc0(0x12e)](_0x5ce56f[_0x4bcdc0(0x23d)]([_0x30e9b6,_0x2dc875]),_0x352f5e),_0x47dbf9=_0xec7a49['getCellPositionByOffset'](_0x3711b3,_0x3af5b5,_0x262f77,_0x39904b,_0x1f9c20);((_0x2e91f8=this[_0x4bcdc0(0x120)])==null?void 0x0:_0x2e91f8[_0x4bcdc0(0x1d1)])===_0x47dbf9[_0x4bcdc0(0x1d1)]&&((_0x54e862=this[_0x4bcdc0(0x120)])==null?void 0x0:_0x54e862[_0x4bcdc0(0x13c)])===_0x47dbf9['row']||this['_cursors'][_0x4bcdc0(0x1db)](_0xfba506=>{const _0x2bbd6d=_0x4bcdc0;_0xfba506[_0x2bbd6d(0x2bc)](_0x47dbf9);});},0x64));});}[_0x4c8ad2(0x161)](_0x1681a2,_0x57d1c8){const _0x576ac7=_0x4c8ad2;var _0x35bd4d;const _0x591f4f=(_0x35bd4d=this['_sheetSkeletonManagerService'][_0x576ac7(0x1c4)]())==null?void 0x0:_0x35bd4d['skeleton'];if(!_0x591f4f)return;const _0x186859=this['_getSheetObject']();if(!_0x186859)return;this[_0x576ac7(0x1ab)][_0x576ac7(0x1db)](_0x509c39=>{const _0x51bbff=_0x576ac7;_0x509c39[_0x51bbff(0x20d)]();});const {scene:_0xbf76c}=_0x186859,_0xf6adbf=Ji(Array[_0x576ac7(0x2e5)](_0x57d1c8[_0x576ac7(0x16a)]()))['map'](_0x1dd3f5=>{const _0xe7fcb8=_0x576ac7,{color:_0x48aa0f,range:_0x441dc2,name:_0x2a322c,selection:_0x3fb3c4,sheetID:_0x5737bf}=_0x1dd3f5,{startColumn:_0x44916c,startRow:_0x38e36e,endColumn:_0x5d3797,endRow:_0x9f980}=_0x441dc2,_0xd5dc28=_0x58cc5a(_0x38e36e,_0x44916c,_0xbf76c,_0x591f4f),_0x55ccba=_0x58cc5a(_0x9f980,_0x5d3797,_0xbf76c,_0x591f4f),{columnHeaderHeightAndMarginTop:_0x573c7e}=_0x591f4f,{startX:_0x1bad14,startY:_0x5d89ef}=_0xd5dc28,{endX:_0x530f0c,endY:_0x5caa08}=_0x55ccba,_0x2cc6dd=_0x530f0c-_0x1bad14,_0x11ad3a=_0x5caa08-_0x5d89ef,_0x1b9fcc={'labelPosition':_0x5d89ef-_0x573c7e>=J?_0xe7fcb8(0x1b2):_0xe7fcb8(0x244),'sheetID':_0x5737bf,'range':_0x441dc2,'color':_0x48aa0f,'name':_0x2a322c,'selection':_0x3fb3c4,'left':_0x1bad14,'top':_0x5d89ef,'width':_0x2cc6dd,'height':_0x11ad3a,'evented':!0x1,'zIndex':zi};return new Xi(_0x2a322c,_0x1b9fcc);});_0xbf76c[_0x576ac7(0x1c7)](_0xf6adbf,Vi),this[_0x576ac7(0x1ab)]=new Set(_0xf6adbf);}[_0x4c8ad2(0x151)](){const _0x1747bd=_0x4c8ad2;var _0x39c041;(_0x39c041=this[_0x1747bd(0x1ab)])==null||_0x39c041[_0x1747bd(0x1db)](_0x27861b=>_0x27861b[_0x1747bd(0x1f1)]());}[_0x4c8ad2(0x12b)](){const _0xd02738=_0x4c8ad2;return _0x2a8062(this[_0xd02738(0x162)][_0xd02738(0x219)],this[_0xd02738(0x162)]);}};Pe=Ki([pe(0x1,_0xf17c52(_0x3fc9fb)),pe(0x2,_0xf17c52(F)),pe(0x3,_0xf17c52(_0x1cd76d))],Pe);function Ji(_0x4277cd){const _0x2ac1f6=_0x4c8ad2,_0x4cc471=new Map();return _0x4277cd[_0x2ac1f6(0x1db)](_0x2d6ade=>{const _0x48af73=_0x2ac1f6;if(_0x4cc471['has'](_0x2d6ade['selection'])){const _0x553298=_0x4cc471[_0x48af73(0x254)](_0x2d6ade[_0x48af73(0x22c)]);_0x553298[_0x48af73(0x132)]+=',\x20'+_0x2d6ade[_0x48af73(0x132)];}else _0x4cc471[_0x48af73(0x12a)](_0x2d6ade[_0x48af73(0x22c)],_0x2d6ade);}),Array[_0x2ac1f6(0x2e5)](_0x4cc471[_0x2ac1f6(0x16a)]());}var Zi=Object[_0x4c8ad2(0x122)],Qi=(_0x3a9ab9,_0x42abd8,_0x1b4246,_0x241898)=>{const _0x510794=_0x4c8ad2;for(var _0x58f6b0=_0x241898>0x1?void 0x0:_0x241898?Zi(_0x42abd8,_0x1b4246):_0x42abd8,_0x4b5c70=_0x3a9ab9[_0x510794(0x203)]-0x1,_0x2d415a;_0x4b5c70>=0x0;_0x4b5c70--)(_0x2d415a=_0x3a9ab9[_0x4b5c70])&&(_0x58f6b0=_0x2d415a(_0x58f6b0)||_0x58f6b0);return _0x58f6b0;},B=(_0x418e7e,_0x59c9b0)=>(_0x26fcb2,_0xb71a05)=>_0x59c9b0(_0x26fcb2,_0xb71a05,_0x418e7e);let ne=class extends _0x388847{constructor(_0xbd9aca,_0x33cb7f,_0x5dd730,_0x1632e3,_0x529494,_0x16328d){const _0x472a10=_0x4c8ad2;super(),this[_0x472a10(0x1de)]=_0xbd9aca,this[_0x472a10(0x30b)]=_0x33cb7f,this[_0x472a10(0x16e)]=_0x5dd730,this[_0x472a10(0x29a)]=_0x1632e3,this[_0x472a10(0x18e)]=_0x529494,this[_0x472a10(0x1fe)]=_0x16328d,this[_0x472a10(0x23f)](),this[_0x472a10(0x30c)]();}[_0x4c8ad2(0x23f)](){const _0x279513=_0x4c8ad2;this[_0x279513(0x1b8)](this['_beforeCloseService'][_0x279513(0x1d4)](()=>{const _0x3d74fb=_0x279513;if(this['_localCacheService'][_0x3d74fb(0x20c)][_0x3d74fb(0x294)])return this[_0x3d74fb(0x1fe)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4c8ad2(0x30c)](){const _0x5f3bce=_0x4c8ad2;this[_0x5f3bce(0x1b8)](this[_0x5f3bce(0x16e)][_0x5f3bce(0x2c0)]['subscribe'](_0x5ca2d9=>{const _0xde4cf2=_0x5f3bce;_0x5ca2d9['id']===_0x1d4610['OTHER_CLIENT_EDITING']&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x2df))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x2dc)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x14c))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x2ed)]&&this['_notificationService'][_0xde4cf2(0x26b)]({'title':this['_localeService']['t'](_0xde4cf2(0x2aa)),'content':this[_0xde4cf2(0x1fe)]['t']('permission.content'),'type':'error','duration':0x0}),_0x5ca2d9['id']===_0x1d4610['CONFLICT']&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7['Error'],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x14c))+'('+_0x5ca2d9[_0xde4cf2(0x2a9)]+')'}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x285)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0x5ca2d9[_0xde4cf2(0x2a9)]||'')}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x24d)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x263))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x1c3)]&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x252)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x301))}),_0x5ca2d9['id']===_0x1d4610['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x252)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x251))});}));}};ne=Qi([B(0x0,_0x40c8c1),B(0x1,_0x4fb00a),B(0x2,_0xf17c52(_0x2f6647)),B(0x3,_0x46909f),B(0x4,_0x5980b1),B(0x5,_0xf17c52(_0x4a58fb))],ne);const qi=_0x4c8ad2(0x1a9),et={};function _0x1a2b(_0x4111ee,_0x5002f0){const _0x588e97=_0x588e();return _0x1a2b=function(_0x1a2bef,_0x47ce64){_0x1a2bef=_0x1a2bef-0x10d;let _0x3ad16b=_0x588e97[_0x1a2bef];return _0x3ad16b;},_0x1a2b(_0x4111ee,_0x5002f0);}var en=Object[_0x4c8ad2(0x122)],tn=(_0x4c20b4,_0x86c842,_0x634d0f,_0x1226d4)=>{const _0x2f3d31=_0x4c8ad2;for(var _0xe6a55b=_0x1226d4>0x1?void 0x0:_0x1226d4?en(_0x86c842,_0x634d0f):_0x86c842,_0x530036=_0x4c20b4[_0x2f3d31(0x203)]-0x1,_0x2edfd3;_0x530036>=0x0;_0x530036--)(_0x2edfd3=_0x4c20b4[_0x530036])&&(_0xe6a55b=_0x2edfd3(_0xe6a55b)||_0xe6a55b);return _0xe6a55b;},tt=(_0xeb28a0,_0x202491)=>(_0x3148e8,_0x346fa5)=>_0x202491(_0x3148e8,_0x346fa5,_0xeb28a0);let re=class{constructor(_0x3fb518,_0x1ec6af){const _0x5ad3d6=_0x4c8ad2;this[_0x5ad3d6(0x288)]=_0x3fb518,this[_0x5ad3d6(0x1aa)]=_0x1ec6af;}[_0x4c8ad2(0x14f)](_0x4b8d38){const _0x52e71f=_0x4c8ad2;this['_transformUndoRedoStack'](_0x4b8d38),this[_0x52e71f(0x249)](_0x4b8d38);}[_0x4c8ad2(0x307)](_0x115171){const _0x2f7c59=_0x4c8ad2,{unitID:_0x56c54f}=_0x115171,_0x5e00ab=this[_0x2f7c59(0x1aa)][_0x2f7c59(0x1e5)](_0x56c54f)['with'](_0x41bf8a),{redoCache:_0x1af0d7}=_0x5e00ab['getUndoRedoMutationParamsCache']();if(_0x1af0d7['length']===0x0)return _0x115171;let _0x5f567d=_0x5351cf['deepClone'](_0x115171[_0x2f7c59(0x2cf)][0x0]);for(let _0x5f2c4a=0x0;_0x5f2c4a<_0x1af0d7[_0x2f7c59(0x203)];_0x5f2c4a++){const _0x22842e={'id':_0x2f7c59(0x1f6),'params':{..._0x1af0d7[_0x5f2c4a]}},_0xc26370=this['_transformService'][_0x2f7c59(0x163)](_0x5f567d,_0x22842e,!0x1);if(_0x5cbe5a(_0xc26370))throw _0xc26370[_0x2f7c59(0x1ff)];_0x5f567d=_0xc26370[_0x2f7c59(0x1dd)];}return{..._0x5351cf[_0x2f7c59(0x18d)](_0x115171),'mutations':[_0x5f567d]};}['_transformUndoRedoStack'](_0x25382f){const _0x1dc912=_0x4c8ad2,{unitID:_0x1a93bf}=_0x25382f,_0x1ac6e4=this['_renderManagerService']['getRenderById'](_0x1a93bf)[_0x1dc912(0x2b0)](_0x41bf8a),{undoCache:_0x2e55c2,redoCache:_0x55ab51}=_0x1ac6e4['getUndoRedoMutationParamsCache']();if(_0x2e55c2[_0x1dc912(0x203)]===0x0||_0x55ab51[_0x1dc912(0x203)]===0x0)return;const _0x10f189=[],_0x418507=[];let _0x4ef428=_0x5351cf[_0x1dc912(0x18d)](_0x25382f[_0x1dc912(0x2cf)][0x0]),_0x4c3ae6=_0x5351cf[_0x1dc912(0x18d)](_0x25382f[_0x1dc912(0x2cf)][0x0]);for(let _0x208671=_0x2e55c2[_0x1dc912(0x203)]-0x1;_0x208671>=0x0;_0x208671--){const _0x186f38={'id':'doc.mutation.rich-text-editing','params':{..._0x2e55c2[_0x208671]}},_0x205832={'id':_0x1dc912(0x1f6),'params':{..._0x55ab51[_0x208671]}},_0x337a86=this['_transformService'][_0x1dc912(0x163)](_0x4ef428,_0x186f38,!0x1),_0x13f941=this['_transformService'][_0x1dc912(0x163)](_0x4c3ae6,_0x205832,!0x1);if(_0x5cbe5a(_0x337a86))throw _0x337a86[_0x1dc912(0x1ff)];if(_0x5cbe5a(_0x13f941))throw _0x13f941[_0x1dc912(0x1ff)];_0x10f189[_0x1dc912(0x2c3)](_0x337a86[_0x1dc912(0x17a)][_0x1dc912(0x11b)]),_0x418507[_0x1dc912(0x2c3)](_0x13f941[_0x1dc912(0x17a)][_0x1dc912(0x11b)]),_0x4ef428=_0x337a86[_0x1dc912(0x1dd)],_0x4c3ae6=_0x13f941[_0x1dc912(0x1dd)];}_0x1ac6e4[_0x1dc912(0x1a6)]({'undoCache':_0x10f189,'redoCache':_0x418507});}[_0x4c8ad2(0x249)](_0x86fe38){const _0x5dbb18=_0x4c8ad2,{unitID:_0x5a45a7}=_0x86fe38,_0x971750=this['_renderManagerService'][_0x5dbb18(0x1e5)](_0x5a45a7)[_0x5dbb18(0x2b0)](_0x41bf8a),_0x5bb673=_0x971750[_0x5dbb18(0x21f)]();if(_0x5bb673==null)return;const _0x17f19f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x86fe38[_0x5dbb18(0x179)],'actions':null,'textRanges':[_0x5bb673]}}],_0x5a2728=this['_transformService']['transformMutationsWithChangeset'](_0x86fe38,_0x17f19f);if(!_0x41c887(_0x5a2728))throw _0x5a2728[_0x5dbb18(0x1ff)];const _0x1e142d=_0x5a2728[_0x5dbb18(0x17a)][0x0][_0x5dbb18(0x11b)][_0x5dbb18(0x2d2)];Array['isArray'](_0x1e142d)&&_0x1e142d[_0x5dbb18(0x203)]&&_0x971750[_0x5dbb18(0x2ba)](_0x1e142d[0x0]);}};re=tn([tt(0x0,_0x461df4),tt(0x1,_0x3e0ac0)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1c43b8,_0x5dac38,_0x3137ea,_0x2cd5a8)=>{const _0x2e03e9=_0x4c8ad2;for(var _0x3fbf7f=_0x2cd5a8>0x1?void 0x0:_0x2cd5a8?sn(_0x5dac38,_0x3137ea):_0x5dac38,_0x2daebc=_0x1c43b8[_0x2e03e9(0x203)]-0x1,_0x415f8d;_0x2daebc>=0x0;_0x2daebc--)(_0x415f8d=_0x1c43b8[_0x2daebc])&&(_0x3fbf7f=_0x415f8d(_0x3fbf7f)||_0x3fbf7f);return _0x3fbf7f;},Ce=(_0x30919e,_0x12682c)=>(_0x552506,_0x5b76e6)=>_0x12682c(_0x552506,_0x5b76e6,_0x30919e);let oe=class{constructor(_0x5734c1,_0x1d8a6d,_0x3cf3c3){const _0x44e0fb=_0x4c8ad2;this[_0x44e0fb(0x2f1)]=_0x5734c1,this[_0x44e0fb(0x288)]=_0x1d8a6d,this[_0x44e0fb(0x262)]=_0x3cf3c3;}[_0x4c8ad2(0x152)](_0xa8adbb){const _0x31f21e=_0x4c8ad2;this[_0x31f21e(0x27d)](_0xa8adbb);}[_0x4c8ad2(0x307)](_0x42b214){const _0x49359e=_0x4c8ad2,{unitID:_0x24739a}=_0x42b214,{collaboration:_0x207faa}=this[_0x49359e(0x262)][_0x49359e(0x2fc)](_0x24739a);if(_0x207faa[_0x49359e(0x203)]===0x0)return _0x42b214;let _0x3f2e28=_0x5351cf[_0x49359e(0x18d)](_0x42b214['mutations'][0x0]);for(let _0x17de84=0x0;_0x17de84<_0x207faa[_0x49359e(0x203)];_0x17de84++){const _0x5f05c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x207faa[_0x17de84][_0x49359e(0x259)],..._0x207faa[_0x17de84][_0x49359e(0x300)]}},_0x4d2653=this['_transformService'][_0x49359e(0x163)](_0x3f2e28,_0x5f05c8,!0x1);if(_0x5cbe5a(_0x4d2653))throw _0x4d2653[_0x49359e(0x1ff)];_0x3f2e28=_0x4d2653[_0x49359e(0x1dd)];}return{..._0x5351cf[_0x49359e(0x18d)](_0x42b214),'mutations':[_0x3f2e28]};}[_0x4c8ad2(0x27d)](_0x3f547c){const _0xde4ac5=_0x4c8ad2,{unitID:_0x2320fd}=_0x3f547c,{history:_0x34a774,collaboration:_0x119f7c}=this[_0xde4ac5(0x262)]['getStateCache'](_0x2320fd);if(_0x34a774['length']===0x0&&_0x119f7c[_0xde4ac5(0x203)]===0x0)return;const _0x27a35e=[],_0x3bf485=[];let _0x11ea90=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]),_0x5bdbc5=_0x5351cf['deepClone'](_0x3f547c[_0xde4ac5(0x2cf)][0x0]);for(let _0x3549f6=_0x34a774[_0xde4ac5(0x203)]-0x1;_0x3549f6>=0x0;_0x3549f6--){const _0xff65fd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34a774[_0x3549f6][_0xde4ac5(0x259)],..._0x34a774[_0x3549f6][_0xde4ac5(0x143)]}},_0x1349bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34a774[_0x3549f6][_0xde4ac5(0x259)],..._0x34a774[_0x3549f6][_0xde4ac5(0x300)]}},_0x2ee294=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x11ea90,_0xff65fd,!0x1),_0x4715a2=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x5bdbc5,_0x1349bb,!0x1);if(_0x5cbe5a(_0x2ee294))throw _0x2ee294[_0xde4ac5(0x1ff)];if(_0x5cbe5a(_0x4715a2))throw _0x4715a2[_0xde4ac5(0x1ff)];_0x27a35e[_0xde4ac5(0x2c3)]({..._0x34a774[_0x3549f6],'undoState':_0x2ee294[_0xde4ac5(0x17a)][_0xde4ac5(0x11b)],'redoState':_0x4715a2[_0xde4ac5(0x17a)]['params']}),_0x11ea90=_0x2ee294['m1Prime'],_0x5bdbc5=_0x4715a2[_0xde4ac5(0x1dd)];}_0x11ea90=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]),_0x5bdbc5=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]);for(let _0x5dc2a8=_0x119f7c[_0xde4ac5(0x203)]-0x1;_0x5dc2a8>=0x0;_0x5dc2a8--){const _0x362614={'id':_0xde4ac5(0x1f6),'params':{'unitId':_0x119f7c[_0x5dc2a8][_0xde4ac5(0x259)],..._0x119f7c[_0x5dc2a8][_0xde4ac5(0x143)]}},_0x3a837f={'id':_0xde4ac5(0x1f6),'params':{'unitId':_0x119f7c[_0x5dc2a8][_0xde4ac5(0x259)],..._0x119f7c[_0x5dc2a8][_0xde4ac5(0x300)]}},_0x42dccc=this['_transformService'][_0xde4ac5(0x163)](_0x11ea90,_0x362614,!0x1),_0x2f2851=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x5bdbc5,_0x3a837f,!0x1);if(_0x5cbe5a(_0x42dccc))throw _0x42dccc[_0xde4ac5(0x1ff)];if(_0x5cbe5a(_0x2f2851))throw _0x2f2851['error'];_0x3bf485[_0xde4ac5(0x2c3)]({..._0x119f7c[_0x5dc2a8],'undoState':_0x42dccc[_0xde4ac5(0x17a)]['params'],'redoState':_0x2f2851[_0xde4ac5(0x17a)][_0xde4ac5(0x11b)]}),_0x11ea90=_0x42dccc[_0xde4ac5(0x1dd)],_0x5bdbc5=_0x2f2851[_0xde4ac5(0x1dd)];}this[_0xde4ac5(0x262)][_0xde4ac5(0x27e)](_0x2320fd,{'history':_0x27a35e,'collaboration':_0x3bf485});}};oe=nn([Ce(0x0,_0xf17c52(_0x14a08a)),Ce(0x1,_0x461df4),Ce(0x2,_0xf17c52(_0x428b14))],oe);var rn=Object[_0x4c8ad2(0x122)],on=(_0xfc3393,_0x376afa,_0x3d08fe,_0x399364)=>{for(var _0x3cf811=_0x399364>0x1?void 0x0:_0x399364?rn(_0x376afa,_0x3d08fe):_0x376afa,_0x3b05d4=_0xfc3393['length']-0x1,_0x4ec420;_0x3b05d4>=0x0;_0x3b05d4--)(_0x4ec420=_0xfc3393[_0x3b05d4])&&(_0x3cf811=_0x4ec420(_0x3cf811)||_0x3cf811);return _0x3cf811;},st=(_0x542bdf,_0x10438b)=>(_0x59da91,_0x43e91f)=>_0x10438b(_0x59da91,_0x43e91f,_0x542bdf);let ae=class{constructor(_0x157cab,_0x387fb4){const _0x3f6415=_0x4c8ad2;this['_injector']=_0x157cab,this[_0x3f6415(0x288)]=_0x387fb4;}[_0x4c8ad2(0x1f8)](_0x31ab5e){const _0x2e4fd3=_0x4c8ad2;var _0x4ddd7c;const _0x48ebe6=this[_0x2e4fd3(0x2f1)][_0x2e4fd3(0x254)](_0x412aa6),_0x4030e0=(_0x4ddd7c=_0x48ebe6[_0x2e4fd3(0x160)]())!=null?_0x4ddd7c:[];if(_0x4030e0[_0x2e4fd3(0x203)]===0x0)return;const _0x3eda85=_0x31ab5e['unitID'],_0x4c58a1=[{'id':_0x2e4fd3(0x1f6),'params':{'unitId':_0x3eda85,'actions':null,'textRanges':_0x4030e0}}],_0x32e925=this[_0x2e4fd3(0x288)][_0x2e4fd3(0x268)](_0x31ab5e,_0x4c58a1);if(!_0x41c887(_0x32e925))throw _0x32e925['error'];const _0x5b1d44=_0x32e925[_0x2e4fd3(0x17a)][0x0][_0x2e4fd3(0x11b)][_0x2e4fd3(0x2d2)];Array[_0x2e4fd3(0x2c6)](_0x5b1d44)&&_0x5b1d44['length']&&_0x48ebe6['replaceDocRanges'](_0x5b1d44,{'unitId':_0x3eda85,'subUnitId':_0x3eda85},!0x1);}};ae=on([st(0x0,_0xf17c52(_0x14a08a)),st(0x1,_0x461df4)],ae);function _0x588e(){const _0xe84c5f=['getOwnPropertySymbols','getConfig','_commandService','_createSocketURL','arc','APPLY_NON_SEQUENTIAL_REVISION','backgroundColor','on-line-icon','collabStatus.fetchMiss','_transformHistoryAndStateStack','setStateCache','INVITE_CODE_HAS_BEEN_UES','assignAColorForMemberID','getCurrentRevOfUnit','_status$','_docSkeleton','href','JOIN_ROOM_FAILED','saveOfflineData','map','_transformService','_getScale','_uiPartsService','removeParam','debug','_handleLeaveEvent','collabStatus.offline','sheetID','_cursorInfo$','_saveTaskMap','hasOwnProperty','_scene','size','MOBILE_VERIFY_CODE_MISMATCH','actions','_assignedColors','dispose$','whenReady','_messageService','collabStatus.synced','displayName','clearTimeout','yellow.400','Warning','_toggleOffline','attrs','EMAIL_VERIFY_CODE_MISMATCH','_docSkeletonManagerService','_docTransformIMECacheService','TEXT','add','_scheduleClearOtherTimer','popstate','data','permission.title','INVALID_ARGUMENT','registerRefRange','runOnServer','clipPath','getSheetId','with','pushState','call','onPointerLeave$','selections','defIds','4tlpEbw','YUUMI_CONNECTOR_URL_NOT_FOUND','_textBubble','[CollaborationDataLoaderController]','setActiveRange','_initResize','onMouseMove','roomMembers$','getColorFromTheme','APPLY_DUPLICATED','event$','_onCursorUpdate','OFFLINE','unshift','LICENSE_IMPORT_SIZE_EXCEEDED','addEventListener','isArray','getUnitId','M0\x200H16V16H0z','...','engine','white','height','_docClipboardService','559964UviYNR','mutations','_initCommandExecutedListener','defineProperty','textRanges','toString','_toggleOnline','addObject','setItem','LICENSE_EXPORT_SIZE_EXCEEDED','setShapeProps','_entities','getCollabCursors$','_initStatusComponent','CLOSE_ROOM','YUUMI_RATE_OVER_LIMIT','registerRenderModule','collaboration.single-unit.warning','ONLINE','text','INVITE_CODE_ALREADY_BOUND','transform','key','from','ranges','propertyIsEnumerable','onTransformChange$','endColumn','_config','url(#$1','univer-mr-2\x20univer-flex\x20univer-text-xl','PERMISSION_DENIED','DeleteRangeMoveLeftCommandId','trim','_collabCursorController','_injector','INTERNAL_ERROR','_range','round','LOGIN_FAILED','_saveCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','15774930FFescK','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getViewport','off-line-icon','getStateCache','post','restore','UNAUTHENTICATED','redoState','session.connection-failed','getValue','measureText','_handleEvent','getFocusedUnit','split','transformRemoteChangeset','getCollabEntity$','newValue','_revisionService','_localCacheService','_initEvent','PENDING','storage','collab-text-range-','_localStorageService','_name','2026110hiecuc','currentSkeleton$','NO_OTHER_CLIENTS_EDITING','location','4292820LRwtQA','OnLineIcon','origin','AWAITING_WITH_PENDING','YUUMI_NO_CUBOID_FOR_QUESTION','INVALID_INVITE_CODE','_getMergeRange','params','InsertRangeMoveDownCommandId','subscribe','closePath','APPLY_PERMISSION_DENIED','_lastPointer','_cursorShapes','getOwnPropertyDescriptor','OTHER_CLIENTS_EDITING','_startDocCollabCursor','source','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clearInterval','complete','_getAnchorBounding','set','_getSheetObject','className','idSuffix','getVpScrollXYInfoByPosToVp','disposeUnit','_backgroundColor','jiqing.500','name','getTypeOfUnitAdded$','getOffsetConfig','_session','_removeClearOtherTimer','unsubscribe','YUUMI_ASYNCIO_CANCELLED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initDependencies','hovered','row','green.600','fill','getUnitStatus$','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','_onCursorDelete','range','undoState','1em','saveImage','_eventUnsubscribe','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onRefRangeChange','pluginName','delete','LICENSE_DISTRO_REJECTED','collaboration.closeRoom','_collaborationController','_collabSessionService','transformIMECache','INVITE_CODE_REQUIRED','_removeCollabCursors','transformStateCache','blue.400','_updateLocalCursor','collabStatus.syncing','_shapes','setInterval','_unitOnClients','UNIVER_DOC','_initStatusListener','unload','init','MUTATION','none','send','getDocRanges','_updateCollabCursors','_context','transformMutation','svg','editingUnit','collabStatus.notCollab','NOT_FOUND','onPointerMove$','SNAPSHOT_HAS_BEEN_REMOVED','values','LICENSE_MAX_UNITS_EXCEEDED','string','mask','_collaborationUIEventService','addClipboardHook','translate(.97)','push','_refreshCollabCursors','activeSheet$','_colorAssignService','runId','_urlService','setParam','_online','unitID','m2Prime','_registerRenderDependencies','next','Failed','min','getSheetBySheetId','on-line-icon_clip0_910_349','getUnhiddenWorksheets','createInstance','prototype','_unitStatus','concat','evenodd','_refRangeService','getActiveSheet','pipe','setAlpha','collab-client.tooltip.reconnect','replaceState','deepClone','_notificationService','_id','isEditing','getParam','DeleteRangeMoveUpCommandId','http://www.w3.org/2000/svg','searchParams','ALREADY_EXISTS','_startSheetCollabCursor','getCurrentSelections','0\x200\x2016\x2016','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_themeService','defs','_scheduleHeartbeat','replace','onStarting','_clearOtherTimers','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','currentTheme$','_getSessionTicket','findNodePositionByCharIndex','getUniverSheetInstance','focused$','setUndoRedoMutationParamsCache','COMPLETION_FINISHED','rgba(255,\x20255,\x20255,\x200.01)','collaboration-client-ui.config','_renderManagerService','_cursors','_anchor','_handleHover','_memberService','black','getMemberID','substring','top','override','YUUMI_TABLE_NOT_FOUND_IN_UNIT','symbol','getTypeOfUnitDisposed$','eventID','disposeWithMe','color','_doCreateSocket','getSkeleton','addHandlerCallback','then','_roomMembers$','xlink:href','collab-rect-range-','_docTransformSelectionsService','drawWith','SOCKET_FAILED','getCurrent','RemoveRowCommandId','assign','addObjects','_univerInstanceService','_updateURLWithCurrentState','executionId','_disabled','cursorInfo$','_httpService','_drawRectRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','application/json','column','onRendered','contains','registerBeforeClose','YUUMI_UNABLE_LOAD_URL','_anchorDot','onPointerEnter$','toRgbString','_colorIndex','#FFF','forEach','path','m1Prime','_beforeCloseService','collabCursorState$','USER_NOT_INVITED_CODE','type','cursorInfo','font','div','getRenderById','entries','_hovered','flatMap','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMember','_hideTimer','_selfUnitIDs','8MEmEYN','red.300','UPDATE_CURSOR','collabStatus.conflict','dispose','_syncEditingCollabCursorService','getCurrentUnitForType','urlChange$','SNAPSHOT_INVALID_SNAPSHOT','doc.mutation.rich-text-editing','_init','transformSelections','syncEditingCollabCursor','FETCH_MISS','result','status$','memberID','_localeService','error','_draw','lineTo','_cachedData','length','getRangePointData','asObservable','random','has','1929546wBvCEr','univer-flex\x20univer-items-center','Unknown\x20user','RECT','saveTaskMap','makeDirty','USERS_LEAVE','_heartbeatTimer','_render','stringify','YUUMI_URL_COL_OUT_OF_RANGE','moveTo','CHANGESET_REVISION_CONFILICT','sessionStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','UNDEFINED','RemoveColCommandId','unit','WECHAT_HAS_BEEN_BOUND','CONNECTOR_DATA_TOO_LARGE','extend','children','_labelPosition','getActiveRange','apply','indexOf','subscribeEvent','sheetId','_setupSubUnitSync','UNIVER_SHEET','_document','_docTransformStateCacheService','history','MOBILE_HAS_BEEN_BOUND','_ensureSubject','ticket','selection','_logService','ENSURE_SNAPSHOT_EXECUTION','_registerDependencies','current','_instanceService','_send','HEADER_MENU','266284OVulyx','tag','_color','subunit','2997421yQKGJO','PY_RUNTIME_SCRIPT_ERROR','startsWith','20MMvhFS','_imageIoService','FromArray','YUUMI_ALL_TABLES_IS_INVALID','_setupBeforeClosingHandler','save','onCommandExecuted','APPLY_REJECT','roomMembers','bottom','_configService','registerComponent','InsertRangeMoveRightCommandId','transformByState','_transformPreviousActiveRange','OffLineIcon','_sheetSkeletonManagerService','MoveRangeCommandId','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','setTimeout','APPLY_REVISION_CONFILICT','session.collaboration-timeout','Error','YUUMI_AI_RUN_FAILED','get','_docSyncEditingCollabCursorService','subUnitId','fillText','hide','unitId','_initEntityListener','colorChannel1','sessionTicket','_drawTextRange','NOT_COLLAB','_updateSubUnitFromURLParams','function','_scheduleSaving','_docStateChangeManagerService','session.will-retry','invokeId','_hover','currentColor','_entityInit$','transformMutationsWithChangeset','body','fillStyle','show','resize','InsertColCommandId','_drawAnchor','executeCommand','entityInit$','_handleJoinEvent','requireSession','width'];_0x588e=function(){return _0xe84c5f;};return _0x588e();}var an=Object['getOwnPropertyDescriptor'],cn=(_0x3235aa,_0x524692,_0x51fd31,_0x519f39)=>{const _0x291fd6=_0x4c8ad2;for(var _0x783f3=_0x519f39>0x1?void 0x0:_0x519f39?an(_0x524692,_0x51fd31):_0x524692,_0x2b6484=_0x3235aa[_0x291fd6(0x203)]-0x1,_0x2804ab;_0x2b6484>=0x0;_0x2b6484--)(_0x2804ab=_0x3235aa[_0x2b6484])&&(_0x783f3=_0x2804ab(_0x783f3)||_0x783f3);return _0x783f3;},N=(_0x39cea6,_0x5532bf)=>(_0x2354ce,_0x306855)=>_0x5532bf(_0x2354ce,_0x306855,_0x39cea6);let ce=class extends _0x388847{constructor(_0x322aa4,_0x251657,_0x266b26,_0x4c803a,_0x56bff4,_0x497465,_0x1732d7,_0x443322){const _0xc87e08=_0x4c8ad2;super(),_(this,_0xc87e08(0x282),new _0x2c7c6b(_0x24ef01[_0xc87e08(0x25e)])),(this[_0xc87e08(0x262)]=_0x322aa4,this[_0xc87e08(0x14d)]=_0x251657,this[_0xc87e08(0x2a4)]=_0x266b26,this['_docTransformStateCacheService']=_0x4c803a,this[_0xc87e08(0x1c1)]=_0x56bff4,this['_docSyncEditingCollabCursorService']=_0x497465,this['_messageService']=_0x1732d7,this[_0xc87e08(0x1fe)]=_0x443322,this[_0xc87e08(0x25a)]());}['_initEntityListener'](){const _0x222fa1=_0x4c8ad2;this['disposeWithMe'](this[_0x222fa1(0x14d)][_0x222fa1(0x270)][_0x222fa1(0x11d)](_0x1d3d8e=>{const _0x242b18=_0x222fa1,_0x226034=this['_docStateChangeManagerService']['docStateChange$'][_0x242b18(0x11d)](_0x4ca936=>{const _0x487276=_0x242b18;if(_0x4ca936==null)return;const {unitId:_0x45d277,redoState:_0xda7cff,commandId:_0x884786}=_0x4ca936;if(_0x45d277!==_0x1d3d8e[_0x487276(0x179)])return;const _0x184c47={'id':_0x884786,'type':_0x10f85b[_0x487276(0x15d)],'params':{'unitId':_0x45d277,'actions':_0xda7cff[_0x487276(0x296)],'textRanges':null}};_0x1d3d8e['onLocalMutation'](_0x184c47);});if(_0x1d3d8e[_0x242b18(0x1b8)](_0x226034),_0x1d3d8e instanceof _0x317c6a){const _0x31b2fe={'onTransformIME':_0x4ce2d2=>this[_0x242b18(0x2a4)][_0x242b18(0x14f)](_0x4ce2d2),'onTransformState':_0x50b1dd=>this[_0x242b18(0x227)][_0x242b18(0x152)](_0x50b1dd),'onTransformSelections':_0x1dd8f7=>this['_docTransformSelectionsService']['transformSelections'](_0x1dd8f7),'onSyncEditingCollabCursor':_0x503c08=>this[_0x242b18(0x255)][_0x242b18(0x1f9)](_0x503c08),'onTransformRemoteChangesetByIMECache':_0x4e6c6d=>this[_0x242b18(0x2a4)]['transformRemoteChangeset'](_0x4e6c6d),'onTransformRemoteChangesetByStateCache':_0x590c4c=>this[_0x242b18(0x227)]['transformRemoteChangeset'](_0x590c4c)};_0x1d3d8e[_0x242b18(0x1bc)](_0x31b2fe);}}));}};ce=cn([N(0x0,_0xf17c52(_0x428b14)),N(0x1,_0xf17c52(_0x550088)),N(0x2,_0xf17c52(re)),N(0x3,_0xf17c52(oe)),N(0x4,_0xf17c52(ae)),N(0x5,_0xf17c52(Fe)),N(0x6,_0x46909f),N(0x7,_0xf17c52(_0x4a58fb))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2c29be,_0x26d4d8,_0x5bea5e,_0x315404)=>{const _0x157f6c=_0x4c8ad2;for(var _0x22ae0e=_0x315404>0x1?void 0x0:_0x315404?ln(_0x26d4d8,_0x5bea5e):_0x26d4d8,_0x43565c=_0x2c29be[_0x157f6c(0x203)]-0x1,_0x31924a;_0x43565c>=0x0;_0x43565c--)(_0x31924a=_0x2c29be[_0x43565c])&&(_0x22ae0e=_0x31924a(_0x22ae0e)||_0x22ae0e);return _0x22ae0e;},Ee=(_0x1c4d1e,_0x509846)=>(_0x1bca51,_0x47553b)=>_0x509846(_0x1bca51,_0x47553b,_0x1c4d1e);let we=class extends _0x388847{constructor(_0x1745a3,_0x15869c,_0xa403d4){const _0x13c848=_0x4c8ad2;super(),_(this,_0x13c848(0x202),new Map()),_(this,_0x13c848(0x291),new Map()),_(this,_0x13c848(0x1cb),!0x1),(this['_configService']=_0x1745a3,this[_0x13c848(0x10e)]=_0x15869c,this[_0x13c848(0x30a)]=_0xa403d4);}['disableLocalCache'](){const _0x464cd0=_0x4c8ad2;this[_0x464cd0(0x1cb)]=!0x0;}['enableLocalCache'](){const _0x36ef48=_0x4c8ad2;this[_0x36ef48(0x1cb)]=!0x1;}get[_0x4c8ad2(0x20c)](){const _0x103683=_0x4c8ad2;return this[_0x103683(0x291)];}[_0x4c8ad2(0x1f1)](){const _0x3a8203=_0x4c8ad2;this['exhaustSavingTask']()[_0x3a8203(0x1bd)](()=>super[_0x3a8203(0x1f1)]());}async['loadOfflineData'](_0x3cc6d0){const _0x25637b=_0x4c8ad2;return this[_0x25637b(0x1cb)]?null:this[_0x25637b(0x10e)]['getItem'](_0x1eef40(_0x3cc6d0));}async[_0x4c8ad2(0x286)](_0x4fc653,_0x1e32fd){const _0x451ca0=_0x4c8ad2;return!!this[_0x451ca0(0x10e)]['setItem'](_0x4fc653,_0x1e32fd);}['updateOfflineData'](_0x5e22e2,_0x18dcf1,_0x326202,_0x5b99c5){const _0x504a81=_0x4c8ad2,_0x4e868e=this[_0x504a81(0x30a)][_0x504a81(0x281)](_0x5e22e2);this['_cachedData'][_0x504a81(0x12a)](_0x5e22e2,{'unitID':_0x5e22e2,'type':_0x18dcf1,'awaitingChangeset':_0x326202,'mutations':_0x5b99c5,'rev':_0x4e868e}),this[_0x504a81(0x291)]['has'](_0x5e22e2)||this[_0x504a81(0x261)](_0x5e22e2);}[_0x4c8ad2(0x261)](_0x19946a){const _0x3d2e13=_0x4c8ad2,_0x5cd976=this['_getSaveTimeout']();_0x5cd976===0x0?this[_0x3d2e13(0x2f6)](_0x19946a):this['_saveTaskMap']['set'](_0x19946a,setTimeout(()=>this[_0x3d2e13(0x2f6)](_0x19946a),_0x5cd976));}['_getSaveTimeout'](){const _0x2c575b=_0x4c8ad2;var _0x81d827;return(_0x81d827=this[_0x2c575b(0x245)][_0x2c575b(0x275)](_0x407ca9))!=null?_0x81d827:_0x2b0095;}[_0x4c8ad2(0x2f6)](_0x4579c9){const _0x4b51c2=_0x4c8ad2,_0x4e947d=this[_0x4b51c2(0x291)]['get'](_0x4579c9);return _0x4e947d!==void 0x0&&window[_0x4b51c2(0x29d)](_0x4e947d),this[_0x4b51c2(0x10e)]['setItem'](_0x1eef40(_0x4579c9),this[_0x4b51c2(0x202)][_0x4b51c2(0x254)](_0x4579c9))[_0x4b51c2(0x1bd)](()=>this['_saveTaskMap'][_0x4b51c2(0x14a)](_0x4579c9));}async['exhaustSavingTask'](){const _0x511c16=_0x4c8ad2,_0x2c30a6=[];this['_saveTaskMap'][_0x511c16(0x1db)]((_0x19d2a5,_0x27a94d)=>{const _0x265c92=_0x511c16;window[_0x265c92(0x29d)](_0x19d2a5),_0x2c30a6[_0x265c92(0x171)](this[_0x265c92(0x2f6)](_0x27a94d)[_0x265c92(0x1bd)](()=>{this['_saveTaskMap']['delete'](_0x27a94d);}));}),await Promise['all'](_0x2c30a6);}};we=_n([Ee(0x0,_0x59143e),Ee(0x1,_0x46d3a7),Ee(0x2,_0xf17c52(_0x3cec18))],we);class hn extends _0x5da5d3{constructor(){const _0x8d5ca2=_0x4c8ad2;super(),_(this,_0x8d5ca2(0x1f4)),this[_0x8d5ca2(0x1f4)]=_0x544f13(window,_0x8d5ca2(0x2a8))['pipe'](_0x1b892a(this['dispose$']),_0x53d780(0x1),_0x70830c(void 0x0));}[_0x4c8ad2(0x177)](_0x48d5f6,_0x498fdb,_0xc852c8=!0x1){const _0x37209a=_0x4c8ad2,_0xb2663c=new URL(window[_0x37209a(0x113)][_0x37209a(0x284)]);_0xb2663c['searchParams'][_0x37209a(0x12a)](_0x48d5f6,_0x498fdb),_0xc852c8?window[_0x37209a(0x228)][_0x37209a(0x18c)]('','',_0xb2663c[_0x37209a(0x2d3)]()):window[_0x37209a(0x228)][_0x37209a(0x2b1)]('','',_0xb2663c[_0x37209a(0x2d3)]());}[_0x4c8ad2(0x28b)](_0x4fa059,_0x52c1dd=!0x1){const _0x505a93=_0x4c8ad2,_0x1664c9=new URL(window['location']['href']);_0x1664c9[_0x505a93(0x194)][_0x505a93(0x14a)](_0x4fa059),_0x52c1dd?window[_0x505a93(0x228)][_0x505a93(0x18c)]('','',_0x1664c9[_0x505a93(0x2d3)]()):window[_0x505a93(0x228)][_0x505a93(0x2b1)]('','',_0x1664c9['toString']());}[_0x4c8ad2(0x191)](_0x9c58d3){const _0x392510=_0x4c8ad2;var _0x2af345;return(_0x2af345=new URL(window[_0x392510(0x113)][_0x392510(0x284)])[_0x392510(0x194)][_0x392510(0x254)](_0x9c58d3))!=null?_0x2af345:void 0x0;}}var un=Object[_0x4c8ad2(0x2d1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x51ae90,_0x13402e,_0x15147d)=>_0x13402e in _0x51ae90?un(_0x51ae90,_0x13402e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15147d}):_0x51ae90[_0x13402e]=_0x15147d,Sn=(_0x4bf657,_0x7a921c,_0x4f1f2c,_0x4ba3ed)=>{for(var _0x393799=_0x4ba3ed>0x1?void 0x0:_0x4ba3ed?dn(_0x7a921c,_0x4f1f2c):_0x7a921c,_0x3b7713=_0x4bf657['length']-0x1,_0x1c434b;_0x3b7713>=0x0;_0x3b7713--)(_0x1c434b=_0x4bf657[_0x3b7713])&&(_0x393799=_0x1c434b(_0x393799)||_0x393799);return _0x393799;},Oe=(_0x75a49a,_0x237950)=>(_0x1b7ab4,_0x2ecac9)=>_0x237950(_0x1b7ab4,_0x2ecac9,_0x75a49a),mn=(_0x4a06d4,_0x5e7915,_0x10625a)=>fn(_0x4a06d4,_0x5e7915+'',_0x10625a);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x45b852{constructor(_0x8e67e5=et,_0x3be52f,_0x3ed019,_0x42803c){const _0x39483e=_0x4c8ad2;super(),this[_0x39483e(0x2ea)]=_0x8e67e5,this[_0x39483e(0x1aa)]=_0x3be52f,this[_0x39483e(0x2f1)]=_0x3ed019,this['_configService']=_0x42803c;const {..._0x2c105b}=_0x4493c5({},et,this['_config']);this[_0x39483e(0x245)]['setConfig'](qi,_0x2c105b);}[_0x4c8ad2(0x19e)](){const _0x389573=_0x4c8ad2;this[_0x389573(0x22f)](),this[_0x389573(0x13a)]();}[_0x4c8ad2(0x1d2)](){const _0x35840c=_0x4c8ad2;this[_0x35840c(0x17b)]();}[_0x4c8ad2(0x22f)](){const _0x2cc9e0=_0x4c8ad2;var _0x3f38b1;const _0x57c7f6=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x516080,{'useClass':_0x49dfa8}],[_0x4fb00a,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x57cd9c(this[_0x2cc9e0(0x2f1)],_0x2df628(_0x57c7f6,(_0x3f38b1=this[_0x2cc9e0(0x2ea)])==null?void 0x0:_0x3f38b1[_0x2cc9e0(0x1b3)]));}[_0x4c8ad2(0x17b)](){const _0x4771e0=_0x4c8ad2;this['disposeWithMe'](this['_renderManagerService'][_0x4771e0(0x2de)](_0x20dac5[_0x4771e0(0x159)],[Le])),this[_0x4771e0(0x1b8)](this['_renderManagerService'][_0x4771e0(0x2de)](_0x20dac5[_0x4771e0(0x225)],[Pe]));}[_0x4c8ad2(0x13a)](){const _0x5d51ec=_0x4c8ad2;_0x281670(this[_0x5d51ec(0x2f1)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x4c8ad2(0x149),In),Ae=Sn([_0x741372(_0x3c5b90),Oe(0x1,_0x3e0ac0),Oe(0x2,_0xf17c52(_0x14a08a)),Oe(0x3,_0x59143e)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x5df5ec,_0x5934ca,_0x2a5639,_0x12bd40)=>{const _0x1eba24=_0x4c8ad2;for(var _0x575cb0=_0x12bd40>0x1?void 0x0:_0x12bd40?vn(_0x5934ca,_0x2a5639):_0x5934ca,_0x254ea0=_0x5df5ec[_0x1eba24(0x203)]-0x1,_0x5a537f;_0x254ea0>=0x0;_0x254ea0--)(_0x5a537f=_0x5df5ec[_0x254ea0])&&(_0x575cb0=_0x5a537f(_0x575cb0)||_0x575cb0);return _0x575cb0;},z=(_0x2120fc,_0x58170e)=>(_0x2d0226,_0x165191)=>_0x58170e(_0x2d0226,_0x165191,_0x2120fc);let it=class extends _0x3fa182{constructor(_0x3592ee,_0x51ac72,_0xbf1c86,_0x3918b3,_0xf4a0db){super(_0x3592ee,_0x51ac72,_0xbf1c86,_0x3918b3,_0xf4a0db);}async['createSocket'](_0x573aa8){const _0x5ec39b=_0x4c8ad2,_0x351430=await this[_0x5ec39b(0x1a2)](),_0x44212a=this[_0x5ec39b(0x277)](_0x573aa8,_0x351430);return this[_0x5ec39b(0x1ba)](_0x44212a);}[_0x4c8ad2(0x277)](_0x498867,_0x4a0c28){const _0x4d8710=_0x4c8ad2,_0xafbe7b=typeof window>'u'?new URL(_0x498867):new URL(_0x498867,window[_0x4d8710(0x113)][_0x4d8710(0x116)]);_0xafbe7b[_0x4d8710(0x194)][_0x4d8710(0x12a)](_0x4d8710(0x25c),_0x4a0c28);const _0x1f0c61=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d8710(0x113)]['search']);return _0x1f0c61[_0x4d8710(0x254)]('runId')&&_0xafbe7b[_0x4d8710(0x194)][_0x4d8710(0x12a)](_0x4d8710(0x175),_0x1f0c61[_0x4d8710(0x254)](_0x4d8710(0x175))),_0xafbe7b[_0x4d8710(0x2d3)]();}async[_0x4c8ad2(0x1a2)](){const _0x1d2d84=_0x4c8ad2;var _0x42d362,_0x322ae3,_0x4a86dd;const _0x98d34b=this[_0x1d2d84(0x245)]['getConfig'](_0x308563),_0x1e51b1=(_0x42d362=_0x98d34b==null?void 0x0:_0x98d34b['wsSessionTicketUrl'])!=null?_0x42d362:_0x35ef93;return(_0x4a86dd=(_0x322ae3=(await this['_httpService'][_0x1d2d84(0x254)](_0x1e51b1,{'headers':{'Content-Type':_0x1d2d84(0x1d0)}}))['body'])==null?void 0x0:_0x322ae3[_0x1d2d84(0x22b)])!=null?_0x4a86dd:'';}};it=gn([z(0x0,_0xf17c52(_0x14a08a)),z(0x1,_0xf17c52(_0x1d1e38)),z(0x2,_0x59143e),z(0x3,_0x4b3f07),z(0x4,_0xc396e3)],it);var Lt=(_0x33d7ec=>(_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x217)]=0x0]='UNDEFINED',_0x33d7ec[_0x33d7ec['OK']=0x1]='OK',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f2)]=0x2]=_0x4c8ad2(0x2f2),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2ed)]=0x3]=_0x4c8ad2(0x2ed),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x167)]=0x4]=_0x4c8ad2(0x167),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2ff)]=0x5]=_0x4c8ad2(0x2ff),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x195)]=0x6]=_0x4c8ad2(0x195),_0x33d7ec[_0x33d7ec['INVALID_ARGUMENT']=0x7]=_0x4c8ad2(0x2ab),_0x33d7ec[_0x33d7ec['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1a7)]=0x9]='COMPLETION_FINISHED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f5)]=0xa]=_0x4c8ad2(0x2f5),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x295)]=0xb]=_0x4c8ad2(0x295),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f9)]=0xc]=_0x4c8ad2(0x2f9),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2a2)]=0xd]=_0x4c8ad2(0x2a2),_0x33d7ec[_0x33d7ec['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4c8ad2(0x199),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x214)]=0x1389]=_0x4c8ad2(0x214),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1f5)]=0x1771]=_0x4c8ad2(0x1f5),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x169)]=0x1772]=_0x4c8ad2(0x169),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x22e)]=0x1773]=_0x4c8ad2(0x22e),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x242)]=0x1b59]='APPLY_REJECT',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x279)]=0x1b5a]=_0x4c8ad2(0x279),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x250)]=0x1b5b]=_0x4c8ad2(0x250),_0x33d7ec[_0x33d7ec['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4c8ad2(0x11f),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2bf)]=0x1b5d]=_0x4c8ad2(0x2bf),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x21b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x16b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x126)]=0x232a]=_0x4c8ad2(0x126),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2c4)]=0x232b]=_0x4c8ad2(0x2c4),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2d7)]=0x232c]=_0x4c8ad2(0x2d7),_0x33d7ec[_0x33d7ec['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4c8ad2(0x14b),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1d5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x33d7ec[_0x33d7ec['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4c8ad2(0x212),_0x33d7ec[_0x33d7ec['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4c8ad2(0x2dd),_0x33d7ec[_0x33d7ec['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c8ad2(0x216),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x118)]=0x271a]=_0x4c8ad2(0x118),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x138)]=0x271b]=_0x4c8ad2(0x138),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1b4)]=0x271c]=_0x4c8ad2(0x1b4),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x23e)]=0x271d]=_0x4c8ad2(0x23e),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1e9)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x253)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2b7)]=0x2720]=_0x4c8ad2(0x2b7),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x239)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33d7ec[_0x33d7ec['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c8ad2(0x27f),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x119)]=0x2ee2]=_0x4c8ad2(0x119),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x150)]=0x2ee3]=_0x4c8ad2(0x150),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1e0)]=0x2ee4]=_0x4c8ad2(0x1e0),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2e2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x21a)]=0x32c9]=_0x4c8ad2(0x21a),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x229)]=0x32ca]=_0x4c8ad2(0x229),_0x33d7ec[_0x33d7ec['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x33d7ec[_0x33d7ec['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x33d7ec))(Lt||{}),pn=Object[_0x4c8ad2(0x122)],Cn=(_0x12b007,_0x9d27d0,_0x5a8d7a,_0x516190)=>{const _0x7f91c2=_0x4c8ad2;for(var _0x45c1b9=_0x516190>0x1?void 0x0:_0x516190?pn(_0x9d27d0,_0x5a8d7a):_0x9d27d0,_0x122cdc=_0x12b007[_0x7f91c2(0x203)]-0x1,_0x41fb9;_0x122cdc>=0x0;_0x122cdc--)(_0x41fb9=_0x12b007[_0x122cdc])&&(_0x45c1b9=_0x41fb9(_0x45c1b9)||_0x45c1b9);return _0x45c1b9;},be=(_0x385005,_0x53356e)=>(_0x45c4d3,_0x33d801)=>_0x53356e(_0x45c4d3,_0x33d801,_0x385005);let nt=class extends _0x388847{constructor(_0x551f65,_0x23c9e9,_0x36616b){const _0x43041c=_0x4c8ad2;super(),this[_0x43041c(0x231)]=_0x551f65,this[_0x43041c(0x1cd)]=_0x23c9e9,this['_configService']=_0x36616b;}async[_0x4c8ad2(0x2ad)](_0x4ef2dc,_0x3516ca,_0x377c7a,..._0x155418){const _0x167e96=_0x4c8ad2;var _0x548668,_0x48d452,_0x34b99a,_0x55741c;const _0x4a2d3f=this[_0x167e96(0x231)][_0x167e96(0x305)]();if(!_0x4a2d3f)throw new Error(_0x167e96(0x147));const _0x8fa8da=((_0x548668=this[_0x167e96(0x245)][_0x167e96(0x275)](_0x4bbfa3))!=null?_0x548668:_0x1ead77)+'/'+_0x4ef2dc+'/run/'+_0x3516ca,_0x4d1ed5=new URL(window[_0x167e96(0x113)][_0x167e96(0x284)]),_0x3bf4ec={'scriptId':_0x4ef2dc,'runId':(_0x48d452=_0x4d1ed5[_0x167e96(0x194)][_0x167e96(0x254)](_0x167e96(0x175)))!=null?_0x48d452:'','function':_0x3516ca,'unitId':_0x4a2d3f[_0x167e96(0x2c7)](),'argsOfFunction':JSON[_0x167e96(0x211)](_0x155418),'invokeId':(_0x34b99a=_0x377c7a[_0x167e96(0x264)])!=null?_0x34b99a:'','executionId':(_0x55741c=_0x377c7a[_0x167e96(0x1ca)])!=null?_0x55741c:''};try{const _0x280049=await this[_0x167e96(0x1cd)][_0x167e96(0x2fd)](_0x8fa8da,{'body':_0x3bf4ec});return _0x280049['body'][_0x167e96(0x1ff)]&&_0x280049[_0x167e96(0x269)]['error']['code']!==Lt['OK']?_0x167e96(0x17d):_0x280049['body'][_0x167e96(0x1fb)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x267da8),be(0x1,_0xf17c52(_0x1d1e38)),be(0x2,_0x59143e)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x388847{constructor(){const _0x5d97ed=_0x4c8ad2;super(),_(this,_0x5d97ed(0x18f),_0x2ddacf()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5d97ed(0x158),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x5d97ed(0x1f7)]();}['dispose'](){const _0xc1b959=_0x4c8ad2;super[_0xc1b959(0x1f1)](),this[_0xc1b959(0x19f)][_0xc1b959(0x1db)]((_0x3abe9c,_0x3ebec3)=>this[_0xc1b959(0x136)](_0x3ebec3)),this[_0xc1b959(0x20f)]&&window[_0xc1b959(0x127)](this[_0xc1b959(0x20f)]);}[_0x4c8ad2(0x13f)](_0x213b9e){return this['_ensureSubject'](_0x213b9e)['pipe'](_0x3afa5b());}[_0x4c8ad2(0x165)](_0x301e3c){const _0x3e072e=_0x4c8ad2;this['_selfUnitIDs'][_0x3e072e(0x294)]===0x0&&this[_0x3e072e(0x19c)](),this[_0x3e072e(0x1ec)]['add'](_0x301e3c),this[_0x3e072e(0x232)]({'type':0x0,'memberID':this[_0x3e072e(0x18f)],'unitIDs':[_0x301e3c],'isForwarded':!0x1});}[_0x4c8ad2(0x12f)](_0x4f9cc6){const _0x13560f=_0x4c8ad2;this[_0x13560f(0x1ec)][_0x13560f(0x14a)](_0x4f9cc6),this[_0x13560f(0x1ec)][_0x13560f(0x294)]===0x0&&this[_0x13560f(0x20f)]&&window[_0x13560f(0x127)](this['_heartbeatTimer']);}[_0x4c8ad2(0x1f7)](){const _0x4ef3ee=_0x4c8ad2;this[_0x4ef3ee(0x1b8)](_0x5d9642(_0x544f13(window,_0x4ef3ee(0x30e))['subscribe'](_0x1bd438=>{const _0x59e9a3=_0x4ef3ee;if(_0x1bd438[_0x59e9a3(0x2e4)]!==ot||!_0x1bd438['newValue'])return;const _0x985d23=JSON['parse'](_0x1bd438[_0x59e9a3(0x309)]);this[_0x59e9a3(0x304)](_0x985d23);}))),window[_0x4ef3ee(0x2c5)](_0x4ef3ee(0x15b),()=>this[_0x4ef3ee(0x232)]({'type':0x1,'memberID':this[_0x4ef3ee(0x18f)],'unitIDs':Array[_0x4ef3ee(0x2e5)](this[_0x4ef3ee(0x1ec)])}));}[_0x4c8ad2(0x304)](_0x1ac17b){const _0x5ad447=_0x4c8ad2;switch(_0x1ac17b['type']){case 0x0:this[_0x5ad447(0x271)](_0x1ac17b);break;case 0x1:this[_0x5ad447(0x28d)](_0x1ac17b);break;case 0x2:this['_handleHeartbeatEvent'](_0x1ac17b);break;}}['_handleJoinEvent'](_0x5bf25d){const _0x29f73a=_0x4c8ad2,{unitIDs:_0x1780fb,memberID:_0x407cd7,isForwarded:_0x1e8c93}=_0x5bf25d;_0x1780fb['forEach'](_0x88b098=>{const _0x28f705=_0x1a2b;if(!_0x1e8c93&&this[_0x28f705(0x158)][_0x28f705(0x207)](_0x88b098)&&this['_ensureSubject'](_0x88b098)[_0x28f705(0x17c)](_0xfe3c08[_0x28f705(0x123)]),!this['_unitOnClients']['has'](_0x88b098)||!this['_unitOnClients'][_0x28f705(0x254)](_0x88b098)['has'](_0x407cd7)){const _0x3438f5=this[_0x28f705(0x158)][_0x28f705(0x254)](_0x88b098)||new Set();_0x3438f5[_0x28f705(0x2a6)](_0x407cd7),this[_0x28f705(0x158)][_0x28f705(0x12a)](_0x88b098,_0x3438f5),this['_scheduleClearOtherTimer'](_0x407cd7);}}),_0x1e8c93||this[_0x29f73a(0x232)]({'type':0x0,'memberID':this[_0x29f73a(0x18f)],'unitIDs':[...this[_0x29f73a(0x1ec)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4585b5){const _0x4de34d=_0x4c8ad2;this[_0x4de34d(0x136)](_0x4585b5);const _0x5e37dc=window[_0x4de34d(0x24f)](()=>{const _0xc82a65=_0x4de34d;this[_0xc82a65(0x158)][_0xc82a65(0x1db)](_0x117ad2=>{const _0xcf0e3a=_0xc82a65;_0x117ad2[_0xcf0e3a(0x14a)](_0x4585b5);});},rt*0x2);this[_0x4de34d(0x19f)][_0x4de34d(0x12a)](_0x4585b5,_0x5e37dc);}['_removeClearOtherTimer'](_0x3b8168){const _0x388717=_0x4c8ad2;if(this['_clearOtherTimers']['has'](_0x3b8168)){const _0x58e190=this[_0x388717(0x19f)][_0x388717(0x254)](_0x3b8168);_0x58e190&&window[_0x388717(0x29d)](_0x58e190),this[_0x388717(0x19f)][_0x388717(0x12a)](_0x3b8168,null);}}[_0x4c8ad2(0x28d)](_0x17b1e0){const _0x47736c=_0x4c8ad2,{memberID:_0x3aab63,unitIDs:_0x1ba778}=_0x17b1e0;_0x1ba778['forEach'](_0x5d3433=>{const _0x3a761d=_0x1a2b;var _0x14af0e;const _0x44b2a1=this['_unitOnClients'][_0x3a761d(0x254)](_0x5d3433);_0x44b2a1&&(_0x44b2a1[_0x3a761d(0x14a)](_0x3aab63),(_0x14af0e=this[_0x3a761d(0x22a)](_0x5d3433))==null||_0x14af0e['next'](_0x44b2a1['size']===0x0?_0xfe3c08[_0x3a761d(0x112)]:_0xfe3c08['OTHER_CLIENTS_EDITING']));}),this[_0x47736c(0x136)](_0x3aab63);}['_handleHeartbeatEvent'](_0x4fcc05){const _0x2ea74e=_0x4c8ad2;this[_0x2ea74e(0x2a7)](_0x4fcc05[_0x2ea74e(0x1fd)]);}[_0x4c8ad2(0x232)](_0x57c020){const _0x34077f=_0x4c8ad2;localStorage[_0x34077f(0x2d6)](ot,JSON['stringify'](_0x57c020));}['_scheduleHeartbeat'](){const _0x9d0f3e=_0x4c8ad2;this['_heartbeatTimer']=window[_0x9d0f3e(0x157)](()=>{const _0x357e0f=_0x9d0f3e;this[_0x357e0f(0x232)]({'type':0x2,'memberID':this[_0x357e0f(0x18f)]});},rt);}['_ensureSubject'](_0x28fa2e){const _0x30efdb=_0x4c8ad2;return this['_unitStatus'][_0x30efdb(0x207)](_0x28fa2e)||this[_0x30efdb(0x184)][_0x30efdb(0x12a)](_0x28fa2e,new _0x2c7c6b(_0xfe3c08[_0x30efdb(0x112)])),this[_0x30efdb(0x184)][_0x30efdb(0x254)](_0x28fa2e);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x5c1be3=_0x2c3d;(function(_0x427ea8,_0x22e881){const _0x33c13d=_0x2c3d,_0x2352f3=_0x427ea8();while(!![]){try{const _0x3cbf2a=parseInt(_0x33c13d(0x153))/0x1*(parseInt(_0x33c13d(0x14f))/0x2)+parseInt(_0x33c13d(0x15e))/0x3+parseInt(_0x33c13d(0x160))/0x4*(parseInt(_0x33c13d(0x154))/0x5)+parseInt(_0x33c13d(0x159))/0x6+-parseInt(_0x33c13d(0x161))/0x7+parseInt(_0x33c13d(0x157))/0x8*(-parseInt(_0x33c13d(0x15b))/0x9)+parseInt(_0x33c13d(0x156))/0xa*(parseInt(_0x33c13d(0x155))/0xb);if(_0x3cbf2a===_0x22e881)break;else _0x2352f3['push'](_0x2352f3['shift']());}catch(_0x40fe3a){_0x2352f3['push'](_0x2352f3['shift']());}}}(_0x3fd4,0xdde3f));const e={'collab-client':{'tooltip':{'reconnect':_0x5c1be3(0x15a)}},'collabStatus':{'fetchMiss':_0x5c1be3(0x15c),'conflict':'Edit\x20conflicts','notCollab':_0x5c1be3(0x152),'synced':_0x5c1be3(0x150),'syncing':_0x5c1be3(0x162),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x5c1be3(0x15f),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x5c1be3(0x151)},'conflict':{'title':_0x5c1be3(0x158),'content':_0x5c1be3(0x15d)},'permission':{'title':_0x5c1be3(0x165),'content':_0x5c1be3(0x164)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x5c1be3(0x163)}},o=e;function _0x2c3d(_0x4d7026,_0x442055){const _0x3fd469=_0x3fd4();return _0x2c3d=function(_0x2c3df1,_0x4f14f7){_0x2c3df1=_0x2c3df1-0x14f;let _0x1730a6=_0x3fd469[_0x2c3df1];return _0x1730a6;},_0x2c3d(_0x4d7026,_0x442055);}function _0x3fd4(){const _0x13180d=['Collaboration\x20Conflict','9016872kqTyFR','Click\x20to\x20Reconnect','3069gStTuW','Syncing\x20server\x20data...','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.','909867RAohQv','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','14108XhPIBQ','4890396aAhOZn','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Authentication\x20Error','2WPniOp','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','148471mNyvuK','140WlIDmH','573353gQRndI','30dVXTJI','14128GlKmOr'];_0x3fd4=function(){return _0x13180d;};return _0x3fd4();}export{o as default};
1
+ const _0x577a71=_0x161d;function _0x1d51(){const _0x45092c=['Collaboration\x20Conflict','Local\x20file','4531100LDwHBa','5324337jzUjcV','8lCxvSl','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','7vvNmhH','141016YsrCND','27lvuJMm','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2495500JsWdGX','1URTCfa','2958612mdqFqy','Edit\x20conflicts','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','10336238HJVyGz','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1549224jBAyqf'];_0x1d51=function(){return _0x45092c;};return _0x1d51();}(function(_0x65dabf,_0x13cdbf){const _0x4cbefe=_0x161d,_0x5f8e91=_0x65dabf();while(!![]){try{const _0x3de2e3=-parseInt(_0x4cbefe(0x9c))/0x1*(parseInt(_0x4cbefe(0x8a))/0x2)+-parseInt(_0x4cbefe(0x99))/0x3*(parseInt(_0x4cbefe(0x98))/0x4)+parseInt(_0x4cbefe(0x8d))/0x5+-parseInt(_0x4cbefe(0x9d))/0x6*(parseInt(_0x4cbefe(0x97))/0x7)+parseInt(_0x4cbefe(0x8f))/0x8*(parseInt(_0x4cbefe(0x8e))/0x9)+-parseInt(_0x4cbefe(0x9b))/0xa+parseInt(_0x4cbefe(0xa1))/0xb;if(_0x3de2e3===_0x13cdbf)break;else _0x5f8e91['push'](_0x5f8e91['shift']());}catch(_0x2e3bdc){_0x5f8e91['push'](_0x5f8e91['shift']());}}}(_0x1d51,0x93329));const e={'collab-client':{'tooltip':{'reconnect':_0x577a71(0x92)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x577a71(0x9e),'notCollab':_0x577a71(0x8c),'synced':'Synced','syncing':_0x577a71(0x9f),'offline':_0x577a71(0x88)},'session':{'connection-failed':_0x577a71(0x95),'will-retry':_0x577a71(0x89),'room-full':_0x577a71(0x93),'collaboration-timeout':_0x577a71(0x94)},'conflict':{'title':_0x577a71(0x8b),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x577a71(0x90),'content':_0x577a71(0x91)},'collaboration':{'single-unit':{'warning':_0x577a71(0xa0)},'closeRoom':_0x577a71(0x96)},'auth':{'needGotoLoginAlert':_0x577a71(0x9a)}},o=e;function _0x161d(_0x133338,_0x1017d2){const _0x1d51f9=_0x1d51();return _0x161d=function(_0x161d59,_0x1b0801){_0x161d59=_0x161d59-0x88;let _0x2794a7=_0x1d51f9[_0x161d59];return _0x2794a7;},_0x161d(_0x133338,_0x1017d2);}export{o as default};
@@ -1 +1 @@
1
- function _0x690c(_0x499710,_0x596e6b){const _0x58c90f=_0x58c9();return _0x690c=function(_0x690c22,_0x2e9701){_0x690c22=_0x690c22-0x196;let _0xd1fb21=_0x58c90f[_0x690c22];return _0xd1fb21;},_0x690c(_0x499710,_0x596e6b);}const _0x479d15=_0x690c;(function(_0x58a8b7,_0x5b4e75){const _0x3e5687=_0x690c,_0x47c4f8=_0x58a8b7();while(!![]){try{const _0x13efeb=parseInt(_0x3e5687(0x19f))/0x1*(parseInt(_0x3e5687(0x197))/0x2)+parseInt(_0x3e5687(0x19a))/0x3+-parseInt(_0x3e5687(0x198))/0x4*(-parseInt(_0x3e5687(0x1a5))/0x5)+parseInt(_0x3e5687(0x1a1))/0x6+parseInt(_0x3e5687(0x1a9))/0x7*(parseInt(_0x3e5687(0x1a3))/0x8)+parseInt(_0x3e5687(0x196))/0x9+parseInt(_0x3e5687(0x19e))/0xa*(-parseInt(_0x3e5687(0x19b))/0xb);if(_0x13efeb===_0x5b4e75)break;else _0x47c4f8['push'](_0x47c4f8['shift']());}catch(_0x4db04f){_0x47c4f8['push'](_0x47c4f8['shift']());}}}(_0x58c9,0x965a4));const e={'collab-client':{'tooltip':{'reconnect':_0x479d15(0x1a0)}},'collabStatus':{'fetchMiss':_0x479d15(0x19c),'conflict':'Edit\x20conflicts','notCollab':_0x479d15(0x19d),'synced':_0x479d15(0x1ad),'syncing':'Syncing...','offline':_0x479d15(0x1a8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x479d15(0x1ab),'room-full':_0x479d15(0x1a4),'collaboration-timeout':_0x479d15(0x1a2)},'conflict':{'title':_0x479d15(0x1ae),'content':_0x479d15(0x1a6)},'permission':{'title':_0x479d15(0x1ac),'content':_0x479d15(0x1aa)},'collaboration':{'single-unit':{'warning':_0x479d15(0x199)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x479d15(0x1a7)}};function _0x58c9(){const _0x16e5d9=['6uNxhEV','4apVXRU','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','96210NvMkmG','99vyzZFW','Syncing\x20server\x20data...','Local\x20file','2575290jiBNbP','105883YaeXwy','Click\x20to\x20Reconnect','1510746diUqWk','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1481768uSQWcP','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3538830dvprCR','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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','35CJwsaT','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Synced','Collaboration\x20Conflict','6284016ewvxAN'];_0x58c9=function(){return _0x16e5d9;};return _0x58c9();}export{e as default};
1
+ function _0x222f(_0x2352d7,_0x5afac3){const _0x432606=_0x4326();return _0x222f=function(_0x222fd9,_0x67fe3f){_0x222fd9=_0x222fd9-0x167;let _0x842973=_0x432606[_0x222fd9];return _0x842973;},_0x222f(_0x2352d7,_0x5afac3);}const _0xde5623=_0x222f;(function(_0x84f15,_0x1996a0){const _0x11369e=_0x222f,_0x4488a7=_0x84f15();while(!![]){try{const _0x1f175f=parseInt(_0x11369e(0x17d))/0x1+parseInt(_0x11369e(0x16e))/0x2+-parseInt(_0x11369e(0x17b))/0x3*(parseInt(_0x11369e(0x171))/0x4)+parseInt(_0x11369e(0x16b))/0x5*(-parseInt(_0x11369e(0x169))/0x6)+parseInt(_0x11369e(0x178))/0x7+parseInt(_0x11369e(0x177))/0x8+-parseInt(_0x11369e(0x174))/0x9;if(_0x1f175f===_0x1996a0)break;else _0x4488a7['push'](_0x4488a7['shift']());}catch(_0x41ffb3){_0x4488a7['push'](_0x4488a7['shift']());}}}(_0x4326,0x579a9));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0xde5623(0x168),'conflict':_0xde5623(0x17a),'notCollab':'Local\x20file','synced':_0xde5623(0x16a),'syncing':'Syncing...','offline':_0xde5623(0x173)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xde5623(0x16f),'room-full':_0xde5623(0x16d),'collaboration-timeout':_0xde5623(0x16c)},'conflict':{'title':_0xde5623(0x179),'content':_0xde5623(0x170)},'permission':{'title':_0xde5623(0x176),'content':_0xde5623(0x172)},'collaboration':{'single-unit':{'warning':_0xde5623(0x167)},'closeRoom':_0xde5623(0x17c)},'auth':{'needGotoLoginAlert':_0xde5623(0x175)}};function _0x4326(){const _0x385cdc=['72535lvYCuG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1191938jWkgGL','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','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.','1847468NXiMqc','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','9396945ScDbHB','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','4156352kLJafw','4857314uMcmDe','Collaboration\x20Conflict','Edit\x20conflicts','3SyYnJj','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','650169KXewsH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','246QfXMhI','Synced'];_0x4326=function(){return _0x385cdc;};return _0x4326();}export{e as default};