@univerjs-pro/collaboration-client-ui 0.8.1 → 0.8.2-nightly.202506201607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +1 -1
- package/lib/types/services/local-cache/web-local-cache.service.d.ts +2 -2
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3fe07c=_0x1112;(function(_0x421017,_0x5df7cc){const _0x3cd7ee=_0x1112,_0x3e1eb7=_0x421017();while(!![]){try{const _0x446795=parseInt(_0x3cd7ee(0x1cf))/0x1*(-parseInt(_0x3cd7ee(0x243))/0x2)+-parseInt(_0x3cd7ee(0x10d))/0x3+parseInt(_0x3cd7ee(0x232))/0x4*(-parseInt(_0x3cd7ee(0x294))/0x5)+-parseInt(_0x3cd7ee(0x1cd))/0x6+parseInt(_0x3cd7ee(0x23a))/0x7*(-parseInt(_0x3cd7ee(0xe4))/0x8)+-parseInt(_0x3cd7ee(0x117))/0x9+parseInt(_0x3cd7ee(0xdf))/0xa;if(_0x446795===_0x5df7cc)break;else _0x3e1eb7['push'](_0x3e1eb7['shift']());}catch(_0x27e77a){_0x3e1eb7['push'](_0x3e1eb7['shift']());}}}(_0x252b,0x8f848));var $t=Object[_0x3fe07c(0x1c7)],xt=(_0x4aade2,_0x47ec34,_0x39fc85)=>_0x47ec34 in _0x4aade2?$t(_0x4aade2,_0x47ec34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39fc85}):_0x4aade2[_0x47ec34]=_0x39fc85,_=(_0x3cb661,_0x33f148,_0x481177)=>xt(_0x3cb661,typeof _0x33f148!=_0x3fe07c(0x1ae)?_0x33f148+'':_0x33f148,_0x481177);import{MemberService as _0x33404d,SessionStatus as _0x1bb4ad,CollaborationSessionService as _0x2d67be,CollaborationStatus as _0x3c4f39,CollaborationController as _0x3b8716,ILocalCacheService as _0x5d25ea,CollaborationUIEventService as _0x57d180,CollaborationUIEventId as _0x52d3a7,DataLoaderService as _0x15d2c4,DocCollaborationEntity as _0x2b94de,getLocalCacheKey as _0x2ead2f,LOCAL_CACHE_INTERVAL as _0x2c135c,LOCAL_CACHE_INTERVAL_KEY as _0x170981,UniverCollaborationClientPlugin as _0x511650,CollaborationSocketService as _0x49c644,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1bfd1c,DEFAULT_WS_SESSION_TICKET_URL as _0x48bb34,UnitStatus as _0x28da64,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3f4390,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x26747e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5b4113,Disposable as _0x4ae93a,DOC_RANGE_TYPE as _0x1cb7eb,Inject as _0x4187e9,Injector as _0x1672f7,IUniverInstanceService as _0xbf54a8,ICommandService as _0x2e3d71,debounce as _0x3d717c,Rectangle as _0x1ba234,DisposableCollection as _0x3814e1,toDisposable as _0x36985b,UniverInstanceType as _0x3b6e52,Tools as _0x2e8d92,COLORS as _0x324efe,ColorKit as _0x15a69d,ThemeService as _0x4fcb94,fromEventSubject as _0x3f312e,LocaleService as _0x49d863,createIdentifier as _0x476322,ILogService as _0x569bac,Optional as _0x3f8427,Workbook as _0x1d344a,CommandType as _0x4d6697,IConfigService as _0x3c0c1f,ILocalStorageService as _0x5b506c,DependentOn as _0x5864a5,Plugin as _0xf91a5e,merge as _0x569c1f,registerDependencies as _0x1814ea,mergeOverrideWithDependencies as _0x163cd9,touchDependencies as _0x1a976f,generateRandomId as _0x107dc5}from'@univerjs/core';import{Shape as _0x46f2f7,Rect as _0x554ac3,getColor as _0x34809b,RegularPolygon as _0x33c830,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x13d377,Vector2 as _0x263eee,SHEET_VIEWPORT_KEY as _0x551d32,IRenderManagerService as _0x3ecb9c}from'@univerjs/engine-render';function _0x252b(){const _0x1ef033=['INVALID_INVITE_CODE','/run/','transformSelections','_config','xlink:href','_draw','setParam','dispose','_updateLocalCursor','onPointerEnter$','red.300','_uiPartsService','Unknown\x20user','toRgbString','isActive','_drawRectRange','APPLY_NON_SEQUENTIAL_REVISION','history','_httpService','_docTransformIMECacheService','UNIVER_DOC','error','type','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_labelPosition','clearInterval','replace','_unitOnClients','_scheduleClearOtherTimer','2705016MhipVy','unitId','UNAUTHENTICATED','_docClipboardService','colorChannel1','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','toString','focused$','pipe','M0\x200H16V16H0z','8544204INCZxN','UNDEFINED','addEventListener','_textBubble','_updateCollabCursors','_drawAnchor','ALREADY_EXISTS','selection','newValue','max','hovered','getSheetId','status$','color','_hover','_eventUnsubscribe','data','getOwnPropertyDescriptor','_colorIndex','pluginName','getSheetBySheetId','LICENSE_DISTRO_REJECTED','actions','getMember','http://www.w3.org/2000/svg','uni.network.url-service','INTERNAL_ERROR','transformStateCache','blue.400','getCellPositionByOffset','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_REJECT','entries','getRenderById','getUnitId','_commandService','YUUMI_RATE_OVER_LIMIT','ENSURE_SNAPSHOT_EXECUTION','editingUnit','collab-rect-range-','YUUMI_TABLE_NOT_FOUND_IN_UNIT','m1Prime','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','_lastPointer','collabStatus.syncing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_revisionService','isArray','_unitStatus','_entities','selections','text','setItem','override','MoveRangeCommandId','arc','body','assign','CONNECTOR_DATA_TOO_LARGE','cursorInfo$','_collabSessionService','sessionStatus$','_cursors','setActiveRange','_syncEditingCollabCursorService','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','saveImage','UPDATE_CURSOR','collabStatus.notCollab','collab-client.tooltip.reconnect','findNodePositionByCharIndex','_transformPreviousActiveRange','_handleJoinEvent','_getSaveTimeout','getUnhiddenWorksheets','lineTo','_setupSubUnitSync','[CollaborationDataLoaderController]','collaboration-client-ui.config','APPLY_PERMISSION_DENIED','purple.300','transformRemoteChangeset','translate(.97)','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_refRangeService','jiqing.500','code','onMouseMove','_collabCursorController','key','get','isEditing','Error','size','_getAnchorBounding','getTypeOfUnitDisposed$','_colorAssignService','currentColor','_getSessionTicket','CONFLICT','then','getMergeData','_docSyncEditingCollabCursorService','getDocRanges','_collabCursorState$','_removeCollabCursors','send','origin','url(#off-line-icon_clip0_910_343)','backgroundColor','_name','complete','some','search','children','_docTransformSelectionsService','on-line-icon_clip0_910_349','white','onPointerLeave$','getStateCache','DeleteRangeMoveUpCommandId','ranges','_ensureSubject','_handleLeaveEvent','eventID','INVITE_CODE_HAS_BEEN_UES','forEach','INVITE_CODE_ALREADY_BOUND','APPLY_DUPLICATED','onLocalMutation','getUnitStatus$','SYNCED','with','_id','INVITE_CODE_REQUIRED','getCurrentUnitForType','Warning','docStateChange$','_entityInit$','measureText','_startDocCollabCursor','subscribeEvent','includes','_render','location','url(#$1','_cursorInfo$','unshift','restore','symbol','_sheetSkeletonManagerService','fillRule','map','currentSkeleton$','_onCursorUpdate','apply','replaceDocRanges','getCurrent','doc.mutation.rich-text-editing','invokeId','enableLocalCache','onTransformChange$','_dataLoaderService','fillText','_handleHeartbeatEvent','current','getUndoRedoMutationParamsCache','setAlpha','SOCKET_FAILED','source','_assignedColors','mask','getItem','subscribe','defineProperty','getRelativeToViewportCoord','off-line-icon','YUUMI_ASYNCIO_CANCELLED','runOnServer','_messageService','581454Aignig','subunit','193463qXutxk','0\x200\x2017\x2016','saveTaskMap','all','getParam','JOIN_ROOM_FAILED','removeParam','redoState','AWAITING','next','length','disposeWithMe','_memberService','_notificationService','_docSkeletonManagerService','OnLineIcon','extend','_initEntityListener','getConfig','getSkeleton','tag','_clearOtherTimers','OFFLINE','icon','requireSession','CHANGESET_REVISION_CONFILICT','rgba(255,\x20255,\x20255,\x200.01)','unload','updateOfflineData','getCurrentRevOfUnit','textRanges','_saveCache','set','split','_color','application/json','_instanceService','add','getCurrentSelections','exhaustSavingTask','createInstance','_transformService','_updateURLWithCurrentState','LOGIN_FAILED','getCollabEntity$','width','roomMembers','drawWith','_anchorDot','_initResize','USERS_LEAVE','_cursorShapes','ONLINE','_onCursorDelete','InsertRowCommandId','getRangePointData','skeleton','path','USER_NOT_INVITED_CODE','_toggleOnline','makeDirty','stringify','sheetId','init','TEXT','_getMergeRange','_scene','HEADER_MENU','_hovered','row','imageSourceType','getTypeOfUnitAdded$','0\x200\x2016\x2016','params','function','parse','undoState','debug','height','COMPLETION_FINISHED','ticket','_init','use','_injector','random','bottom','range','_docStateChangeManagerService','YUUMI_UNABLE_LOAD_URL','_logService','_backgroundColor','registerComponent','addClipboardHook','getOffsetConfig','_range','_registerRenderDependencies','has','memberID','hide','8ChyDqN','moveTo','_handleEvent','getAncestorScale','UNIVER_SHEET','onCommandExecuted','_getScale','_initEvent','2229857okuwqO','_transformHistoryAndStateStack','saveOfflineData','startsWith','roomMembers$','UNRECOGNIZED','_collaborationController','LICENSE_MAX_UNITS_EXCEEDED','resize','4qlCdFC','transformMutation','collab-text-anchor-','_urlService','find','EMAIL_HAS_BEEN_BOUND','MUTATION','round','getActiveSheet','assignAColorForMemberID','session.will-retry','values','registerBeforeClose','_docTransformStateCacheService','getUniverSheetInstance','concat','LICENSE_IMPORT_SIZE_EXCEEDED','none','TOO_MANY_REQUESTS','div','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_setupBeforeClosingHandler','engine','getVpScrollXYInfoByPosToVp','APPLY_REVISION_CONFILICT','_selfUnitIDs','_getSheetObject','_initCommandExecutedListener','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getColorFromTheme','_session','prototype','urlChange$','_scheduleSaving','addHandlerCallback','YUUMI_AI_RUN_FAILED','UniverIcon','RECT','_cachedData','INVALID_ARGUMENT','1em','_configService','getOwnPropertySymbols','call','_context','string','show','VIEW_MAIN','SOCKET_FAILED_RETRY','DeleteRangeMoveLeftCommandId','univer-flex\x20univer-items-center','Failed','_initStatusComponent','_disabled','registerRenderModule','generateRandomId','transformByState','searchParams','#FFF','getValue','getCollabCursors$','collaboration.single-unit.warning','svg','_cursor','univerjs-icon\x20univerjs-icon-','subUnitId','top','setUndoRedoMutationParamsCache','_localeService','getMemberID','unsubscribe','_initDependencies','_toggleOffline','_online','SNAPSHOT_HAS_BEEN_REMOVED','deepClone','YUUMI_ALL_TABLES_IS_INVALID','executeCommand','storage','asObservable','loadUnit','2215695bKmyHn','fillStyle','createSocket','_send','YUUMI_SUBSCRIPTION_NOT_FOUND','cursorInfo','startColumn','setShapeProps','_onRefRangeChange','_status$','NOT_COLLAB','collaboration-client.offline-data-not-saved','_updateSubUnitFromURLParams','evenodd','_univerInstanceService','defs','off-line-icon_clip0_910_343','startRow','_refreshCollabCursors','reconnect','_roomMembers$','permission.title','_hideTimer','PERMISSION_DENIED','_transformUndoRedoStack','idSuffix','YUUMI_URL_COL_OUT_OF_RANGE','_renderManagerService','clearTimeout','CLOSE_ROOM','OTHER_CLIENTS_EDITING','_localCacheService','push','_localStorageService','setInterval','transform','delete','_handleHover','popstate','collabCursorState$','defIds','FromArray','syncEditingCollabCursor','save','collabStatus.offline','runId','SUBMIT_CHANGESET_TIMEOUT','_document','fill','onPointerMove$','collabStatus.fetchMiss','pushState','collabStatus.synced','indexOf','getActiveRange','black','_collaborationUIEventService','_removeClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','addObjects','href','getViewport','session.connection-failed','registerRefRange','m2Prime','clipPath','wsSessionTicketUrl','setTimeout','NO_OTHER_CLIENTS_EDITING','_registerDependencies','permission.content','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_shapes','className','mutations','OTHER_CLIENT_EDITING','collabStatus.conflict','activeSheet$','result','labelPosition','sessionTicket','WECHAT_HAS_BEEN_BOUND','_saveTaskMap','unit','getFocusedUnit','_beforeCloseService','green.600','entityInit$','hasOwnProperty','NOT_FOUND','setConfig','44460910kXQxoT','displayName','addObject','attrs','_drawTextRange','16NXsZCb','flatMap','event$','unitID','column','_anchor','_themeService','name','transformIMECache','replaceState','dispose$','onStarting'];_0x252b=function(){return _0x1ef033;};return _0x252b();}import{ISocketService as _0xa47742,WebSocketService as _0x5d5f78,HTTPService as _0x158b8c}from'@univerjs/network';import{IDocClipboardService as _0x14f7a5,NodePositionConvertToCursor as _0x4cd754,NodePositionConvertToRectRange as _0x4c8f0f,TEXT_RANGE_LAYER_INDEX as _0x13994a,SetDocZoomRatioOperation as _0x3cd37d,DocIMEInputManagerService as _0x4adf26,DocStateChangeManagerService as _0x1389a5}from'@univerjs/docs-ui';import{IImageIoService as _0x537c9f}from'@univerjs/drawing';import{BehaviorSubject as _0x690e2a,debounceTime as _0x3a46cd,takeUntil as _0x30fec2,Subject as _0x12317c,filter as _0x6967a8,switchMap as _0x2f8353,merge as _0x4a8f92,combineLatest as _0x17a885,of as _0x5d21d1,fromEvent as _0x3cb40a,shareReplay as _0x56f6da,mapTo as _0x3deec,distinctUntilChanged as _0xc82f4f}from'rxjs';import{SetTextSelectionsOperation as _0x352d41,RichTextEditingMutation as _0x40ff6a,DocSelectionManagerService as _0x16b225,DocSkeletonManagerService as _0x430c25}from'@univerjs/docs';import{ITransformService as _0x564f5c,CollaborationEvent as _0x2deed9,isTransformMutationFailure as _0x373c55,isTransformMutationsWithChangesetSuccess as _0x4f3a6b,RevisionService as _0x305c24,ISnapshotServerService as _0x2c1c94}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3beaf3,serializeRangeWithSheet as _0x324d8e}from'@univerjs/engine-formula';import{RefRangeService as _0xa8cd9c,SetSelectionsOperation as _0x4ae070,SheetsSelectionsService as _0x4072f0,EffectRefRangId as _0x57df97,handleIRemoveRow as _0x402dce,handleIRemoveCol as _0xd76d37,handleMoveRange as _0x12a62e,handleInsertRow as _0x46efe9,handleInsertRangeMoveRight as _0x4ccbcc,handleInsertRangeMoveDown as _0x1b848a,handleInsertCol as _0x39c284,handleDeleteRangeMoveUp as _0x4eadec,handleDeleteRangeMoveLeft as _0x2c8aba,runRefRangeMutations as _0x45b8f2,SetWorksheetActivateCommand as _0x2e17cf}from'@univerjs/sheets';import{map as _0x5044b9,filter as _0x202138,throttleTime as _0xaee094,takeUntil as _0x453bf2,switchMap as _0x46d76e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x397fc0,getCoordByCell as _0x8107,getSheetObject as _0x1a60d5}from'@univerjs/sheets-ui';import{jsx as _0x3c46ca,jsxs as _0x16742e}from'react/jsx-runtime';import{useObservable as _0x1377bd,useDependency as _0x2c9ffa,IUIPartsService as _0x404c66,BuiltInUIPart as _0x200683,connectInjector as _0x1f4772,IBeforeCloseService as _0x5b7aef,IMessageService as _0x4e146e,INotificationService as _0x1010a7}from'@univerjs/ui';import{Tooltip as _0x432a00,clsx as _0x1d7c06,MessageType as _0x582b1a}from'@univerjs/design';import{forwardRef as _0x4426ae,useRef as _0x13e846,createElement as _0x4aa7b7,useCallback as _0x2c6a31}from'react';import{IRemoteInstanceService as _0xb37379}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0xd175a,_0x3a3bec,_0xdf8f9b,_0x16bc3d)=>{const _0x1bc801=_0x3fe07c;for(var _0x488438=_0x16bc3d>0x1?void 0x0:_0x16bc3d?ci(_0x3a3bec,_0xdf8f9b):_0x3a3bec,_0x3ff896=_0xd175a[_0x1bc801(0x1d9)]-0x1,_0x4b8b6a;_0x3ff896>=0x0;_0x3ff896--)(_0x4b8b6a=_0xd175a[_0x3ff896])&&(_0x488438=_0x4b8b6a(_0x488438)||_0x488438);return _0x488438;},Je=(_0x29ff7e,_0x3f7cea)=>(_0x20d8a8,_0x3355bc)=>_0x3f7cea(_0x20d8a8,_0x3355bc,_0x29ff7e);let Ne=class extends _0x5b4113{constructor(_0x45494c,_0x3c91c0){const _0x20eff2=_0x3fe07c;super(),this[_0x20eff2(0x110)]=_0x45494c,this['_imageIoService']=_0x3c91c0,this[_0x20eff2(0x220)]();}[_0x3fe07c(0x220)](){const _0x5b2ff9=_0x3fe07c,_0x478ded=this;this[_0x5b2ff9(0x1da)](this['_docClipboardService'][_0x5b2ff9(0x22b)]({'onBeforePasteImage':async _0x5a6e35=>{const _0x17e475=_0x5b2ff9,_0x252f59=await _0x478ded['_imageIoService'][_0x17e475(0x15b)](_0x5a6e35);return _0x252f59?{'source':_0x252f59[_0x17e475(0x1c2)],'imageSourceType':_0x252f59[_0x17e475(0x215)]}:null;}}));}};Ne=li([Je(0x0,_0x14f7a5),Je(0x1,_0x537c9f)],Ne);const Ze=[_0x3fe07c(0x169),_0x3fe07c(0x16e),_0x3fe07c(0xda),_0x3fe07c(0xfa),_0x3fe07c(0x133),'yellow.400'];class ke extends _0x4ae93a{constructor(){const _0x5d6fbb=_0x3fe07c;super(...arguments),_(this,_0x5d6fbb(0x1c3),new Map()),_(this,_0x5d6fbb(0x129),0x0);}[_0x3fe07c(0x24c)](_0x830547){const _0x25075c=_0x3fe07c;if(this[_0x25075c(0x1c3)][_0x25075c(0x22f)](_0x830547))return this[_0x25075c(0x1c3)][_0x25075c(0x173)](_0x830547);const _0x5712af=Ze[this[_0x25075c(0x129)]];return this['_colorIndex']=(this[_0x25075c(0x129)]+0x1)%Ze[_0x25075c(0x1d9)],this['_assignedColors']['set'](_0x830547,_0x5712af),_0x5712af;}}function Tt(_0x745f09){const _0x1f674d=_0x3fe07c;let _0x2d25a4='';for(const _0x2eb733 of _0x745f09){const {startOffset:_0x247b01,endOffset:_0x27c905,isActive:_0xa1fdcb,rangeType:_0xac1939,segmentId:_0x8ffcf2,segmentPage:_0x340f5b}=_0x2eb733;_0x2d25a4[_0x1f674d(0x1d9)]&&(_0x2d25a4+=','),_0x2d25a4+=_0x247b01+':'+_0x27c905+':'+(_0xa1fdcb?'1':'0')+':'+_0xac1939+':'+_0x8ffcf2+':'+_0x340f5b;}return _0x2d25a4;}function _i(_0x1e1cf2){const _0x588aa9=_0x3fe07c,_0x2fb350=_0x1e1cf2[_0x588aa9(0x1f0)](','),_0x3daaf9=[];for(const _0x1d62e7 of _0x2fb350){const [_0x3ba5c7,_0xb8573e,_0x358867,_0x1a4305,_0x18bb64,_0x4428aa]=_0x1d62e7[_0x588aa9(0x1f0)](':');_0x3daaf9[_0x588aa9(0x2b4)]({'startOffset':Number(_0x3ba5c7),'endOffset':Number(_0xb8573e),'collapsed':_0x3ba5c7===_0xb8573e,'isActive':_0x358867==='1','rangeType':_0x1a4305===_0x1cb7eb[_0x588aa9(0x20f)]?_0x1cb7eb['TEXT']:_0x1cb7eb[_0x588aa9(0x268)],'segmentId':typeof _0x18bb64=='string'?String(_0x18bb64):'','segmentPage':Number(_0x4428aa!=null?_0x4428aa:-0x1)});}return _0x3daaf9[_0x588aa9(0x189)](_0x5c2d06=>_0x5c2d06[_0x588aa9(0xfe)])||(_0x3daaf9[0x0][_0x588aa9(0xfe)]=!0x0),_0x3daaf9;}class He extends _0x5b4113{constructor(){const _0x152390=_0x3fe07c;super(...arguments),_(this,_0x152390(0x181),new _0x690e2a(null)),_(this,_0x152390(0x2bb),this[_0x152390(0x181)][_0x152390(0x292)]());}['syncEditingCollabCursor'](_0x526b8d){const _0x2e37f8=_0x3fe07c,{unitID:_0x32687a,memberID:_0x3d9069,textRanges:_0x4209fb}=_0x526b8d,_0x4084bf=Tt(_0x4209fb);if(_0x4084bf==='')return;const _0x43d04a={'unitID':_0x32687a,'memberID':_0x3d9069,'selection':_0x4084bf};this[_0x2e37f8(0x181)][_0x2e37f8(0x1d8)](_0x43d04a);}}var hi=Object[_0x3fe07c(0x128)],ui=(_0x2c0be0,_0xd3e5c9,_0x166145,_0x14b0a6)=>{const _0x3af17e=_0x3fe07c;for(var _0x6e1e62=_0x14b0a6>0x1?void 0x0:_0x14b0a6?hi(_0xd3e5c9,_0x166145):_0xd3e5c9,_0x3af1a2=_0x2c0be0[_0x3af17e(0x1d9)]-0x1,_0x406dc6;_0x3af1a2>=0x0;_0x3af1a2--)(_0x406dc6=_0x2c0be0[_0x3af1a2])&&(_0x6e1e62=_0x406dc6(_0x6e1e62)||_0x6e1e62);return _0x6e1e62;},P=(_0xc0ff34,_0x341a81)=>(_0x19db00,_0x37a33e)=>_0x341a81(_0x19db00,_0x37a33e,_0xc0ff34);const di=0x12c,fi=0x64;let Ue=class extends _0x5b4113{constructor(_0xb6eb57,_0x361b31,_0x30aeee,_0x150f33,_0xe59755,_0x1d872b,_0x50c39c,_0x29172,_0x442515){const _0x19bc37=_0x3fe07c;super(),_(this,_0x19bc37(0x28c),!0x1),_(this,_0x19bc37(0x220),!0x1),_(this,_0x19bc37(0x1ab),new _0x690e2a(new Map())),_(this,_0x19bc37(0x153),this[_0x19bc37(0x1ab)]['asObservable']()),_(this,_0x19bc37(0x2a8),new _0x690e2a([])),_(this,_0x19bc37(0x23e),this[_0x19bc37(0x2a8)][_0x19bc37(0x115)](_0x3a46cd(di))),_(this,_0x19bc37(0xf8),_0x3d717c(_0x3a9b89=>{const _0x4a760c=_0x19bc37,_0x2dbe53={'eventID':_0x2deed9[_0x4a760c(0x15c)],'data':{'unitID':this[_0x4a760c(0xe7)],'memberID':this['_session'][_0x4a760c(0x288)](),'selection':Tt(_0x3a9b89)}};this[_0x4a760c(0x261)][_0x4a760c(0x183)](_0x2dbe53,this[_0x4a760c(0xe7)]);},fi)),(this[_0x19bc37(0xe7)]=_0xb6eb57,this['_session']=_0x361b31,this[_0x19bc37(0x222)]=_0x30aeee,this[_0x19bc37(0x179)]=_0x150f33,this['_memberService']=_0xe59755,this[_0x19bc37(0x158)]=_0x1d872b,this[_0x19bc37(0x1f8)]=_0x50c39c,this[_0x19bc37(0x2a2)]=_0x29172,this[_0x19bc37(0x13a)]=_0x442515);}get['cursorInfo'](){const _0x2e4ed0=_0x3fe07c;return this[_0x2e4ed0(0x1ab)][_0x2e4ed0(0x27e)]();}get[_0x3fe07c(0x1fd)](){const _0x530c83=_0x3fe07c;return this[_0x530c83(0x2a8)][_0x530c83(0x27e)]();}[_0x3fe07c(0xf7)](){const _0x1bc89a=_0x3fe07c;super['dispose'](),this[_0x1bc89a(0x1ab)][_0x1bc89a(0x1d8)](new Map()),this[_0x1bc89a(0x1ab)][_0x1bc89a(0x188)](),this[_0x1bc89a(0x2a8)][_0x1bc89a(0x1d8)]([]),this[_0x1bc89a(0x2a8)][_0x1bc89a(0x188)]();}['init'](){const _0x1be159=_0x3fe07c;this['_init']||(this['_init']=!0x0,this[_0x1be159(0x261)][_0x1be159(0x155)]['pipe'](_0x30fec2(this[_0x1be159(0xee)]))[_0x1be159(0x1c6)](_0x49125a=>{const _0x226bbc=_0x1be159;_0x49125a===_0x1bb4ad[_0x226bbc(0x203)]?this[_0x226bbc(0x20a)]():this[_0x226bbc(0x28b)]();}),this[_0x1be159(0x261)][_0x1be159(0xe6)][_0x1be159(0x115)](_0x30fec2(this[_0x1be159(0xee)]))['subscribe'](_0x4d6bf1=>{const _0x348cbd=_0x1be159,_0x57312=_0x4d6bf1[_0x348cbd(0x195)];_0x57312===_0x2deed9[_0x348cbd(0x15c)]&&this[_0x348cbd(0x1b3)](_0x4d6bf1),_0x57312===_0x2deed9[_0x348cbd(0x201)]&&this[_0x348cbd(0x204)](_0x4d6bf1);}),this['disposeWithMe'](this[_0x1be159(0x13a)]['onCommandExecuted'](_0x436e0f=>{const _0xefcd33=_0x1be159,_0x587682=_0x436e0f[_0xefcd33(0x218)];_0x587682!=null&&this['_online']&&_0x436e0f['id']===_0x352d41['id']&&_0x587682['unitId']===this[_0xefcd33(0xe7)]&&_0x587682[_0xefcd33(0x174)]===!0x1&&_0x587682['ranges'][_0xefcd33(0x1d9)]>0x0&&this[_0xefcd33(0xf8)](_0x587682[_0xefcd33(0x192)]);})),this['_syncEditingCollabCursorService'][_0x1be159(0x2bb)][_0x1be159(0x115)](_0x30fec2(this[_0x1be159(0xee)]))[_0x1be159(0x1c6)](_0x5bed25=>{const _0x5d0416=_0x1be159;if((_0x5bed25==null?void 0x0:_0x5bed25['unitID'])!==this[_0x5d0416(0xe7)])return;const _0x21f11f={'eventID':_0x2deed9[_0x5d0416(0x15c)],'data':_0x5bed25};this[_0x5d0416(0x1b3)](_0x21f11f);}),this[_0x1be159(0x1da)](this[_0x1be159(0x13a)][_0x1be159(0x237)](_0x399f05=>{const _0x4ac6de=_0x1be159;if(_0x399f05[_0x4ac6de(0x218)]==null)return;const _0x450230=_0x399f05[_0x4ac6de(0x218)];if(_0x399f05['id']!==_0x40ff6a['id']||_0x450230[_0x4ac6de(0x10e)]!==this[_0x4ac6de(0xe7)])return;const _0x2dc0e3={'id':_0x4ac6de(0x1b7),'params':_0x450230},_0x1c92d0=this[_0x4ac6de(0x299)];for(const [_0x1e636f,_0x6defee]of _0x1c92d0){const _0x2cc55a={'id':_0x4ac6de(0x1b7),'params':{'unitId':this[_0x4ac6de(0xe7)],'actions':null,'textRanges':_0x6defee[_0x4ac6de(0x192)]}},_0x3b4f5a=this['_transformService']['transformMutation'](_0x2dc0e3,_0x2cc55a,!0x1);if(_0x373c55(_0x3b4f5a))throw _0x3b4f5a[_0x4ac6de(0x105)];_0x1c92d0[_0x4ac6de(0x1ef)](_0x1e636f,{..._0x6defee,'ranges':_0x3b4f5a[_0x4ac6de(0xc4)][_0x4ac6de(0x218)][_0x4ac6de(0x1ed)]});}queueMicrotask(()=>{const _0x158fc3=_0x4ac6de;this['_cursorInfo$'][_0x158fc3(0x1d8)](_0x1c92d0);});})));}[_0x3fe07c(0x1b3)](_0x48033e){const _0x2f748d=_0x3fe07c;var _0x245c00,_0x5ec698;const {memberID:_0x51fb59,selection:_0x15b50b}=_0x48033e[_0x2f748d(0x127)],_0x43ad73=_i(_0x15b50b),_0x5de705=(_0x5ec698=(_0x245c00=this['_memberService'][_0x2f748d(0x12e)](this[_0x2f748d(0xe7)],_0x51fb59))==null?void 0x0:_0x245c00[_0x2f748d(0xeb)])!=null?_0x5ec698:'Unknown\x20user',_0x4d25db={'color':this[_0x2f748d(0x179)][_0x2f748d(0x24c)](_0x51fb59),'name':_0x5de705,'ranges':_0x43ad73},_0x5a4933=this[_0x2f748d(0x299)];_0x5a4933[_0x2f748d(0x1ef)](_0x51fb59,_0x4d25db),this[_0x2f748d(0x1ab)][_0x2f748d(0x1d8)](_0x5a4933);}[_0x3fe07c(0x204)](_0x1bc84c){const _0x1db032=_0x3fe07c,{memberID:_0x59db72}=_0x1bc84c[_0x1db032(0x127)],_0x15f47e=this['cursorInfo'];_0x15f47e[_0x1db032(0x2b8)](_0x59db72),this[_0x1db032(0x1ab)]['next'](_0x15f47e);}[_0x3fe07c(0x20a)](){const _0x21afc=_0x3fe07c;var _0x3d2d59;if(this[_0x21afc(0x28c)]=!0x0,((_0x3d2d59=this[_0x21afc(0x2a2)][_0x21afc(0xd8)]())==null?void 0x0:_0x3d2d59['getUnitId']())!==this[_0x21afc(0xe7)])return;const _0x3a6132=this[_0x21afc(0x222)]['get'](_0x16b225)[_0x21afc(0x180)]();Array['isArray'](_0x3a6132)&&_0x3a6132[_0x21afc(0x1d9)]>0x0&&this['_updateLocalCursor'](_0x3a6132);}['_toggleOffline'](){const _0x48c415=_0x3fe07c;this[_0x48c415(0x28c)]=!0x1;}};Ue=ui([P(0x2,_0x4187e9(_0x1672f7)),P(0x3,_0x4187e9(ke)),P(0x4,_0x4187e9(_0x33404d)),P(0x5,_0x4187e9(He)),P(0x6,_0x564f5c),P(0x7,_0xbf54a8),P(0x8,_0x2e3d71)],Ue);var Si=Object[_0x3fe07c(0x128)],mi=(_0x1077de,_0x1cd159,_0x2960e2,_0x8447a5)=>{const _0x2d13c7=_0x3fe07c;for(var _0x4ed01b=_0x8447a5>0x1?void 0x0:_0x8447a5?Si(_0x1cd159,_0x2960e2):_0x1cd159,_0x234b55=_0x1077de[_0x2d13c7(0x1d9)]-0x1,_0x318a82;_0x234b55>=0x0;_0x234b55--)(_0x318a82=_0x1077de[_0x234b55])&&(_0x4ed01b=_0x318a82(_0x4ed01b)||_0x4ed01b);return _0x4ed01b;},x=(_0x5deced,_0x5391fa)=>(_0x1de94d,_0x161811)=>_0x5391fa(_0x1de94d,_0x161811,_0x5deced);const Ii=0x12c,gi=0x64,vi=()=>{let _0x292288=[],_0x249f40=!0x1;return _0x167710=>{const _0x31d3c3=_0x1112;_0x292288[_0x31d3c3(0x2b4)](_0x167710),_0x249f40||(_0x249f40=!0x0,setTimeout(()=>{const _0x3207ca=_0x31d3c3;_0x292288[_0x3207ca(0x197)](_0x3347fe=>_0x3347fe()),_0x292288=[],_0x249f40=!0x1;}));};};let Me=class extends _0x5b4113{constructor(_0x3c42b6,_0x4f3467,_0x195a2d,_0x389f19,_0xf16fa5,_0x5b6c24,_0x2e50e1,_0x291d63){const _0xdba780=_0x3fe07c;super(),_(this,_0xdba780(0x28c),!0x1),_(this,_0xdba780(0x220),!0x1),_(this,'_cursorInfo$',new _0x690e2a(new Map())),_(this,_0xdba780(0x153),this[_0xdba780(0x1ab)][_0xdba780(0x292)]()),_(this,_0xdba780(0x2a8),new _0x690e2a([])),_(this,_0xdba780(0x23e),this['_roomMembers$'][_0xdba780(0x115)](_0x3a46cd(Ii))),_(this,_0xdba780(0xf8),_0x3d717c((_0x3c70d3,_0x426a1c)=>{const _0x31d984=_0xdba780,_0x27ed3d={'eventID':_0x2deed9[_0x31d984(0x15c)],'data':{'unitID':this['unitID'],'memberID':this[_0x31d984(0x261)]['getMemberID'](),'selection':_0x324d8e(_0x3c70d3,_0x426a1c['range'])}};this[_0x31d984(0x261)][_0x31d984(0x183)](_0x27ed3d,this[_0x31d984(0xe7)]);},gi)),(this[_0xdba780(0xe7)]=_0x3c42b6,this[_0xdba780(0x261)]=_0x4f3467,this[_0xdba780(0x222)]=_0x195a2d,this['_colorAssignService']=_0x389f19,this[_0xdba780(0x1db)]=_0xf16fa5,this[_0xdba780(0x2a2)]=_0x5b6c24,this['_commandService']=_0x2e50e1,this[_0xdba780(0x16d)]=_0x291d63);}get['cursorInfo'](){const _0x9731e7=_0x3fe07c;return this[_0x9731e7(0x1ab)]['getValue']();}get[_0x3fe07c(0x1fd)](){const _0x517a29=_0x3fe07c;return this['_roomMembers$'][_0x517a29(0x27e)]();}[_0x3fe07c(0xf7)](){const _0x5359ef=_0x3fe07c;super['dispose'](),this[_0x5359ef(0x1ab)][_0x5359ef(0x1d8)](new Map()),this[_0x5359ef(0x1ab)][_0x5359ef(0x188)](),this['_roomMembers$'][_0x5359ef(0x1d8)]([]),this['_roomMembers$'][_0x5359ef(0x188)]();}[_0x3fe07c(0x20e)](){const _0x85f49d=_0x3fe07c;this[_0x85f49d(0x220)]||(this[_0x85f49d(0x220)]=!0x0,this['_session'][_0x85f49d(0x155)][_0x85f49d(0x115)](_0x30fec2(this[_0x85f49d(0xee)]))['subscribe'](_0x378222=>{const _0x2b2998=_0x85f49d;_0x378222===_0x1bb4ad[_0x2b2998(0x203)]?this[_0x2b2998(0x20a)]():this['_toggleOffline']();}),this[_0x85f49d(0x261)][_0x85f49d(0xe6)][_0x85f49d(0x115)](_0x30fec2(this[_0x85f49d(0xee)]))[_0x85f49d(0x1c6)](_0x46ce19=>{const _0xe7d5ab=_0x85f49d,_0x22f632=_0x46ce19[_0xe7d5ab(0x195)];_0x22f632===_0x2deed9[_0xe7d5ab(0x15c)]&&this[_0xe7d5ab(0x1b3)](_0x46ce19),_0x22f632===_0x2deed9[_0xe7d5ab(0x201)]&&this[_0xe7d5ab(0x204)](_0x46ce19);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x85f49d(0x237)](_0x31f187=>{const _0x4c14cf=_0x85f49d;if(this[_0x4c14cf(0x28c)]&&_0x31f187['id']===_0x4ae070['id']&&_0x31f187[_0x4c14cf(0x218)][_0x4c14cf(0x10e)]===this['unitID']){const _0x23b52e=_0x31f187[_0x4c14cf(0x218)];this[_0x4c14cf(0xf8)](_0x23b52e[_0x4c14cf(0x284)],_0x23b52e[_0x4c14cf(0x14a)][0x0]);}})));}['_onCursorUpdate'](_0x4f6d5a){const _0x1b7fcd=_0x3fe07c;var _0x48996c,_0x26e3f9;const {memberID:_0x5c21bd,selection:_0x44ada3}=_0x4f6d5a['data'],{sheetName:_0x47860f,range:_0x546d06}=_0x3beaf3(_0x44ada3),_0x14486d={'name':(_0x26e3f9=(_0x48996c=this['_memberService']['getMember'](this[_0x1b7fcd(0xe7)],_0x5c21bd))==null?void 0x0:_0x48996c['name'])!=null?_0x26e3f9:_0x1b7fcd(0xfc),'range':this[_0x1b7fcd(0x210)](_0x47860f,_0x546d06),'sheetID':_0x47860f,'color':this[_0x1b7fcd(0x179)]['assignAColorForMemberID'](_0x5c21bd),'selection':_0x44ada3},_0x5012b5=this[_0x1b7fcd(0x299)];_0x5012b5[_0x1b7fcd(0x1ef)](_0x5c21bd,_0x14486d),this[_0x1b7fcd(0x1ab)][_0x1b7fcd(0x1d8)](_0x5012b5);}[_0x3fe07c(0x204)](_0x530c48){const _0x371847=_0x3fe07c,{memberID:_0x2b6aab}=_0x530c48['data'],_0x52db67=this[_0x371847(0x299)];_0x52db67[_0x371847(0x2b8)](_0x2b6aab),this[_0x371847(0x1ab)][_0x371847(0x1d8)](_0x52db67);}[_0x3fe07c(0x210)](_0x5e16cc,_0x124101){const _0x2c62d7=_0x3fe07c;var _0x493f32,_0x57e7c1;const _0x114a78=(_0x57e7c1=(_0x493f32=this[_0x2c62d7(0x2a2)][_0x2c62d7(0x251)](this['unitID']))==null?void 0x0:_0x493f32['getSheetBySheetId'](_0x5e16cc))==null?void 0x0:_0x57e7c1[_0x2c62d7(0x17e)]();return(_0x114a78==null?void 0x0:_0x114a78[_0x2c62d7(0x247)](_0x525ed7=>_0x1ba234['contains'](_0x525ed7,_0x124101)))||_0x124101;}[_0x3fe07c(0x29c)](){const _0x23a6f6=_0x3fe07c,_0x291254=new _0x3814e1(),_0x3290dd=vi(),_0x5a6157=()=>{const _0x4ad91a=_0x1112;_0x291254['dispose']();const _0xec9154=(_0x5a9661,_0x4722f8,_0x506f7a,_0x45cd8e)=>{const _0x5367b8=_0x1112;let _0x1e4343=[];switch(_0x5a9661['id']){case _0x57df97[_0x5367b8(0x274)]:{_0x1e4343=_0x2c8aba(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x191)]:{_0x1e4343=_0x4eadec(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertColCommandId']:{_0x1e4343=_0x39c284(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertRangeMoveDownCommandId']:{_0x1e4343=_0x1b848a(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertRangeMoveRightCommandId']:{_0x1e4343=_0x4ccbcc(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x205)]:{_0x1e4343=_0x46efe9(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x14e)]:{_0x1e4343=_0x12a62e(_0x5a9661,_0x45cd8e);break;}case _0x57df97['RemoveColCommandId']:{_0x1e4343=_0xd76d37(_0x5a9661,_0x45cd8e);break;}case _0x57df97['RemoveRowCommandId']:{_0x1e4343=_0x402dce(_0x5a9661,_0x45cd8e);break;}}const _0x587023=_0x45b8f2(_0x1e4343,_0x45cd8e),_0x43bcdb=this[_0x5367b8(0x299)][_0x5367b8(0x173)](_0x4722f8);if(_0x43bcdb&&_0x587023){const _0x318a1e={..._0x43bcdb,'range':_0x587023};this['cursorInfo']['set'](_0x4722f8,_0x318a1e),_0x3290dd(()=>{const _0x5bc76e=_0x5367b8,_0x1d800d=this['_refRangeService'][_0x5bc76e(0xc3)](_0x587023,_0x4c79c1=>(_0x1d800d[_0x5bc76e(0xf7)](),_0xec9154(_0x4c79c1,_0x4722f8,_0x506f7a,_0x587023)));_0x291254[_0x5bc76e(0x1f4)](_0x1d800d);});}return{'redos':[],'undos':[]};};this[_0x4ad91a(0x299)][_0x4ad91a(0x197)]((_0xab5c02,_0x4ff3ef)=>{const _0x3fc697=_0x4ad91a,{range:_0x2cb457,sheetID:_0xfacf62}=_0xab5c02,_0x28de90=this['_refRangeService'][_0x3fc697(0xc3)](_0x2cb457,_0x5a2d70=>(_0x28de90[_0x3fc697(0xf7)](),_0xec9154(_0x5a2d70,_0x4ff3ef,_0xfacf62,_0x2cb457)));_0x291254['add'](_0x28de90);});};this['disposeWithMe'](_0x36985b(this[_0x23a6f6(0x1ab)]['subscribe'](()=>{_0x5a6157();})));}['_toggleOnline'](){const _0x519654=_0x3fe07c;var _0x57be4e,_0x349044;if(this[_0x519654(0x28c)]=!0x0,((_0x57be4e=this['_univerInstanceService'][_0x519654(0xd8)]())==null?void 0x0:_0x57be4e[_0x519654(0x139)]())!==this[_0x519654(0xe7)])return;const _0xe4ef4a=(_0x349044=this[_0x519654(0x222)][_0x519654(0x173)](_0x4072f0)[_0x519654(0x1f5)]())==null?void 0x0:_0x349044[0x0],_0x433f48=this[_0x519654(0x2a2)][_0x519654(0x1a0)](_0x3b6e52[_0x519654(0x236)])[_0x519654(0x24b)]();_0xe4ef4a&&_0x433f48&&this[_0x519654(0xf8)](_0x433f48[_0x519654(0x122)](),_0xe4ef4a);}[_0x3fe07c(0x28b)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x4187e9(_0x1672f7)),x(0x3,_0x4187e9(ke)),x(0x4,_0x4187e9(_0x33404d)),x(0x5,_0xbf54a8),x(0x6,_0x2e3d71),x(0x7,_0x4187e9(_0xa8cd9c))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x18c1a9,_0x37985d,_0x3fc7bb,_0x681b23)=>{for(var _0x268ece=_0x681b23>0x1?void 0x0:_0x681b23?pi(_0x37985d,_0x3fc7bb):_0x37985d,_0x25a248=_0x18c1a9['length']-0x1,_0x20196e;_0x25a248>=0x0;_0x25a248--)(_0x20196e=_0x18c1a9[_0x25a248])&&(_0x268ece=_0x20196e(_0x268ece)||_0x268ece);return _0x268ece;},Se=(_0x35465d,_0x101001)=>(_0x5c6ba9,_0x30c3eb)=>_0x101001(_0x5c6ba9,_0x30c3eb,_0x35465d);let H=class extends _0x5b4113{constructor(_0x492171,_0x2ca5b3,_0x2cafc6){const _0x127a2c=_0x3fe07c;super(),_(this,'_entities',new Map()),_(this,_0x127a2c(0x1a3),new _0x12317c()),(this['_univerInstanceService']=_0x492171,this[_0x127a2c(0x222)]=_0x2ca5b3,this[_0x127a2c(0x154)]=_0x2cafc6,this['_init']());}[_0x3fe07c(0xf7)](){const _0x53de15=_0x3fe07c;super[_0x53de15(0xf7)](),this[_0x53de15(0x1a3)][_0x53de15(0x188)](),this[_0x53de15(0x149)][_0x53de15(0x197)](_0x5cb07f=>_0x5cb07f[_0x53de15(0xf7)]());}[_0x3fe07c(0x27f)](_0x20c2d8){const _0x225b72=_0x3fe07c;return this[_0x225b72(0x149)][_0x225b72(0x22f)](_0x20c2d8)?this['_entities'][_0x225b72(0x173)](_0x20c2d8)[_0x225b72(0x153)]:this[_0x225b72(0x1a3)][_0x225b72(0x115)](_0x6967a8(_0xed6c21=>_0xed6c21[_0x225b72(0xe7)]===_0x20c2d8),_0x2f8353(_0x434040=>_0x434040['cursorInfo$']));}['_init'](){const _0x3261c3=_0x3fe07c;this[_0x3261c3(0x2a2)]['getTypeOfUnitAdded$'](_0x3b6e52[_0x3261c3(0x236)])[_0x3261c3(0x115)](_0x30fec2(this[_0x3261c3(0xee)]))[_0x3261c3(0x1c6)](async _0x329d5b=>{const _0x1c107d=_0x3261c3,_0x8343c2=_0x329d5b[_0x1c107d(0x139)](),_0x236557=await this['_startSheetCollabCursor'](_0x8343c2);this[_0x1c107d(0x1a3)][_0x1c107d(0x1d8)](_0x236557),this[_0x1c107d(0x149)][_0x1c107d(0x1ef)](_0x8343c2,_0x236557);}),this[_0x3261c3(0x2a2)][_0x3261c3(0x216)](_0x3b6e52[_0x3261c3(0x104)])[_0x3261c3(0x115)](_0x30fec2(this[_0x3261c3(0xee)]))[_0x3261c3(0x115)](_0x6967a8(_0x4488b4=>!_0x4488b4[_0x3261c3(0x139)]()[_0x3261c3(0x23d)]('__')))[_0x3261c3(0x1c6)](async _0x78ccca=>{const _0x5d320a=_0x3261c3,_0x313223=_0x78ccca[_0x5d320a(0x139)](),_0xeb2283=await this[_0x5d320a(0x1a5)](_0x313223);this['_entityInit$'][_0x5d320a(0x1d8)](_0xeb2283),this[_0x5d320a(0x149)][_0x5d320a(0x1ef)](_0x313223,_0xeb2283);}),_0x4a8f92(this[_0x3261c3(0x2a2)][_0x3261c3(0x178)](_0x3b6e52[_0x3261c3(0x104)]),this[_0x3261c3(0x2a2)][_0x3261c3(0x178)](_0x3b6e52[_0x3261c3(0x236)]))[_0x3261c3(0x115)](_0x30fec2(this['dispose$']))[_0x3261c3(0x1c6)](_0x558e3e=>{const _0x40af5d=_0x3261c3,_0x53a4c1=_0x558e3e[_0x40af5d(0x139)](),_0x110563=this[_0x40af5d(0x149)][_0x40af5d(0x173)](_0x53a4c1);_0x110563&&(_0x110563[_0x40af5d(0xf7)](),this['_entities']['delete'](_0x53a4c1));});}async['_startSheetCollabCursor'](_0x3218d6){const _0x97cc1f=_0x3fe07c,_0x4267be=await this['_collabSessionService'][_0x97cc1f(0x1e7)](_0x3218d6),_0x24d2cf=this[_0x97cc1f(0x222)][_0x97cc1f(0x1f7)](Me,_0x3218d6,_0x4267be);return _0x24d2cf['init'](),_0x24d2cf;}async[_0x3fe07c(0x1a5)](_0x1457e8){const _0x33b3b5=_0x3fe07c,_0x3a873d=await this[_0x33b3b5(0x154)][_0x33b3b5(0x1e7)](_0x1457e8),_0x353997=this[_0x33b3b5(0x222)][_0x33b3b5(0x1f7)](Ue,_0x1457e8,_0x3a873d);return _0x353997[_0x33b3b5(0x20e)](),_0x353997;}};H=Ci([Se(0x0,_0xbf54a8),Se(0x1,_0x4187e9(_0x1672f7)),Se(0x2,_0x4187e9(_0x2d67be))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3866d9,_0x517cac){const _0x1d1987=_0x3fe07c;let {radius:_0x360e03,width:_0x34192a,height:_0x47af7e}=_0x517cac;_0x360e03=_0x360e03!=null?_0x360e03:0x0,_0x34192a=_0x34192a!=null?_0x34192a:0x1e,_0x47af7e=_0x47af7e!=null?_0x47af7e:0x1e;let _0xc67268=0x0,_0x22f651=0x0,_0x5e5be2=0x0;_0xc67268=_0x22f651=_0x5e5be2=Math['min'](_0x360e03,_0x34192a/0x2,_0x47af7e/0x2),_0x3866d9['beginPath'](),_0x3866d9[_0x1d1987(0x233)](_0xc67268,0x0),_0x3866d9['lineTo'](_0x34192a-_0x22f651,0x0),_0x3866d9['arc'](_0x34192a-_0x22f651,_0x22f651,_0x22f651,Math['PI']*0x3/0x2,0x0,!0x1),_0x3866d9[_0x1d1987(0x164)](_0x34192a,_0x47af7e-_0x5e5be2),_0x3866d9[_0x1d1987(0x14f)](_0x34192a-_0x5e5be2,_0x47af7e-_0x5e5be2,_0x5e5be2,0x0,Math['PI']/0x2,!0x1),_0x3866d9[_0x1d1987(0x164)](0x0,_0x47af7e),_0x3866d9[_0x1d1987(0x164)](0x0,_0xc67268),_0x3866d9[_0x1d1987(0x14f)](_0xc67268,_0xc67268,_0xc67268,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3866d9['closePath'](),_0x517cac[_0x1d1987(0x2c4)]&&(_0x3866d9[_0x1d1987(0x2bf)](),_0x3866d9[_0x1d1987(0x295)]=_0x517cac[_0x1d1987(0x2c4)],_0x517cac[_0x1d1987(0x1b0)]===_0x1d1987(0x2a1)?_0x3866d9[_0x1d1987(0x2c4)](_0x1d1987(0x2a1)):_0x3866d9[_0x1d1987(0x2c4)](),_0x3866d9[_0x1d1987(0x1ad)]());}class he extends _0x46f2f7{constructor(_0x21ac95,_0x3db824){const _0x1c31c3=_0x3fe07c;super(_0x21ac95,_0x3db824),_(this,'color'),_(this,_0x1c31c3(0x14b)),(this[_0x1c31c3(0x124)]=_0x3db824==null?void 0x0:_0x3db824[_0x1c31c3(0x124)],this[_0x1c31c3(0x14b)]=_0x3db824==null?void 0x0:_0x3db824[_0x1c31c3(0x14b)]);}static['drawWith'](_0x19f903,_0x228f29){const _0x49c181=_0x3fe07c,{text:_0x45988c,color:_0x598030}=_0x228f29;_0x19f903[_0x49c181(0x2bf)](),_0x19f903['font']=_0x49c181(0x16c);const _0x54a467=_0x19f903[_0x49c181(0x1a4)](_0x45988c)['width'],_0x442373=Math['min'](_0x54a467+0x2*me,Qe);Oi(_0x19f903,{'height':ee,'radius':0x4,'width':_0x442373,'fill':_0x598030}),_0x19f903[_0x49c181(0x295)]=_0x49c181(0x27d);const _0x513a95=me,_0x171d2d=ee-Ei,_0x4a06cd=Qe-0x2*me;if(_0x54a467>_0x4a06cd){let _0x5c2315='',_0x565057=0x0;for(const _0x7944d6 of _0x45988c){const _0x4a499f=_0x19f903[_0x49c181(0x1a4)](_0x7944d6)[_0x49c181(0x1fc)];if(_0x565057+_0x4a499f<=_0x4a06cd-_0x19f903[_0x49c181(0x1a4)]('...')['width'])_0x5c2315+=_0x7944d6,_0x565057+=_0x4a499f;else{_0x5c2315+='...';break;}}_0x19f903['fillText'](_0x5c2315,_0x513a95,_0x171d2d);}else _0x19f903[_0x49c181(0x1bc)](_0x45988c,_0x513a95,_0x171d2d);_0x19f903[_0x49c181(0x1ad)]();}['_draw'](_0x382225){he['drawWith'](_0x382225,this);}}const Ie=_0x3fe07c(0x245),bi='collab-text-range-',Ti=_0x3fe07c(0x13e),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x3fe07c(0x1e9);class qe{constructor(_0x5453c8,_0x2a3fef,_0x3178f0,_0x52a9b1){const _0x27029c=_0x3fe07c;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x27029c(0x11a),null),_(this,_0x27029c(0x1ff),null),_(this,'_hideTimer',null),_(this,_0x27029c(0x126),null),(this['_cursor']=_0x5453c8,this[_0x27029c(0x211)]=_0x2a3fef,this['_docSkeleton']=_0x3178f0,this[_0x27029c(0x2c3)]=_0x52a9b1,this[_0x27029c(0x1a8)]());}set[_0x3fe07c(0x125)](_0x391bcc){const _0x3f3950=_0x3fe07c;_0x391bcc?(this['_anchorDot']&&this[_0x3f3950(0x1ff)][_0x3f3950(0x231)](),this[_0x3f3950(0x11a)]&&this['_textBubble'][_0x3f3950(0x271)]()):(this[_0x3f3950(0x1ff)]&&this[_0x3f3950(0x1ff)][_0x3f3950(0x271)](),this[_0x3f3950(0x11a)]&&this[_0x3f3950(0x11a)][_0x3f3950(0x231)]());}[_0x3fe07c(0xf7)](){const _0x3b9019=_0x3fe07c;for(const _0x2f7789 of this[_0x3b9019(0xcc)])_0x2f7789[_0x3b9019(0xf7)]();this[_0x3b9019(0x11a)]&&this[_0x3b9019(0x11a)][_0x3b9019(0xf7)](),this[_0x3b9019(0x1ff)]&&this[_0x3b9019(0x1ff)]['dispose'](),this[_0x3b9019(0xe9)]&&this[_0x3b9019(0xe9)][_0x3b9019(0xf7)](),this[_0x3b9019(0x126)]&&this[_0x3b9019(0x126)]();}['_render'](){const _0x2d26fb=_0x3fe07c;var _0x517e15;const {_docSkeleton:_0xc17846,_document:_0x22368a}=this,{color:_0x4f77fa,name:_0x40d771,ranges:_0x63ec}=this[_0x2d26fb(0x282)],_0x2b301a=_0x22368a[_0x2d26fb(0x22c)](),{docsLeft:_0x27ae55,docsTop:_0x3fc7bd}=_0x2b301a,_0x13b089=new _0x4cd754(_0x2b301a,_0xc17846);for(const {startOffset:_0x318ce0,endOffset:_0x120134,rangeType:_0x411721,segmentId:_0x26fbff,segmentPage:_0x34953d,collapsed:_0x304471,isActive:_0x20a113}of _0x63ec){const _0x353afc=_0xc17846['findNodePositionByCharIndex'](_0x318ce0,!0x0,_0x26fbff,_0x34953d);let _0x32a8c3=_0xc17846[_0x2d26fb(0x15f)](_0x120134,!0x0,_0x26fbff,_0x34953d);if(_0x32a8c3==null&&(_0x32a8c3=_0xc17846[_0x2d26fb(0x15f)](_0x120134-0x1,!0x1,_0x26fbff,_0x34953d)),_0x20a113){const {contentBoxPointGroup:_0x839b55}=_0x13b089['getRangePointData'](_0x32a8c3,_0x32a8c3);if(_0x839b55[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0x11c)](_0x4f77fa,_0x839b55,_0x27ae55,_0x3fc7bd,_0x40d771),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x353afc&&_0x32a8c3){if(_0x411721===_0x1cb7eb[_0x2d26fb(0x268)]){const _0x28f7b8=new _0x4c8f0f(_0x2b301a,_0xc17846),{pointGroup:_0x137122}=(_0x517e15=_0x28f7b8[_0x2d26fb(0x206)](_0x353afc,_0x32a8c3))!=null?_0x517e15:{};if(_0x137122==null||_0x137122[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0xff)](_0x4f77fa,_0x137122,_0x27ae55,_0x3fc7bd);}else{if(!_0x304471){const {borderBoxPointGroup:_0x599a57}=_0x13b089['getRangePointData'](_0x353afc,_0x32a8c3);if(_0x599a57[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0xe3)](_0x4f77fa,_0x599a57,_0x27ae55,_0x3fc7bd);}}}}}[_0x3fe07c(0x11c)](_0x1268b1,_0x2cfe14,_0xf4eaea,_0x499993,_0x409344){const _0x53f437=_0x3fe07c,_0x29cc87=this[_0x53f437(0x177)](_0x2cfe14),{left:_0x392a16,top:_0x532ab3,height:_0x509710}=_0x29cc87,_0x4179db=this[_0x53f437(0x238)](),_0x3fdea1=Di/_0x4179db,_0x2bdb6e=new _0x554ac3(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993,'height':_0x509710,'width':Ri,'fill':_0x1268b1||_0x34809b(_0x324efe[_0x53f437(0x2cb)],0x0),'strokeWidth':_0x3fdea1,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x2bdb6e,this['_scene'][_0x53f437(0xe1)](_0x2bdb6e,_0x13994a);const _0x14e794=new _0x554ac3(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993-ge/0x2,'height':ge,'width':ge,'fill':_0x1268b1||_0x34809b(_0x324efe['black'],0x0),'strokeWidth':0x0,'stroke':_0x1268b1||_0x34809b(_0x324efe[_0x53f437(0x2cb)],0x0),'evented':!0x1});this[_0x53f437(0x1ff)]=_0x14e794,this[_0x53f437(0x211)][_0x53f437(0xe1)](_0x14e794,_0x13994a);const _0x24800f=new he(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993-ee,'text':_0x409344,'color':_0x1268b1});this[_0x53f437(0x11a)]=_0x24800f,this[_0x53f437(0x211)][_0x53f437(0xe1)](_0x24800f,_0x13994a),this[_0x53f437(0x125)]=!0x1;}[_0x3fe07c(0x2b9)](){const _0x4e1557=_0x3fe07c,_0x6914f7=this['_anchor'][_0x4e1557(0xf9)][_0x4e1557(0x1a6)](()=>{const _0x369be2=_0x4e1557;this[_0x369be2(0x125)]=!0x0;}),_0x568392=this[_0x4e1557(0xe9)][_0x4e1557(0x18f)][_0x4e1557(0x1a6)](()=>{const _0x2796f0=_0x4e1557;this[_0x2796f0(0x2aa)]&&clearTimeout(this[_0x2796f0(0x2aa)]),this['_hideTimer']=setTimeout(()=>{const _0x2a1ad5=_0x2796f0;this[_0x2a1ad5(0x125)]=!0x1;},0x7d0);});return()=>{const _0xd4491b=_0x4e1557;_0x6914f7[_0xd4491b(0x289)](),_0x568392[_0xd4491b(0x289)]();};}[_0x3fe07c(0xe3)](_0x35d631,_0x259fa0,_0x23c757,_0x1396b0){const _0x25eaaf=_0x3fe07c,_0x35e554=new _0x15a69d(_0x35d631)[_0x25eaaf(0x1c0)](0.2)[_0x25eaaf(0xfd)](),_0x94de99=new _0x33c830(bi+_0x2e8d92[_0x25eaaf(0x27a)](X),{'pointsGroup':_0x259fa0,'fill':_0x35e554||_0x34809b(_0x324efe['black'],0.2),'left':_0x23c757,'top':_0x1396b0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25eaaf(0xcc)][_0x25eaaf(0x2b4)](_0x94de99),this[_0x25eaaf(0x211)][_0x25eaaf(0xe1)](_0x94de99,_0x13994a);}[_0x3fe07c(0xff)](_0x237d7b,_0x16ee4b,_0x1979a8,_0x3fc1cb){const _0x47fb14=_0x3fe07c,_0x420a40=new _0x15a69d(_0x237d7b)[_0x47fb14(0x1c0)](0.2)['toRgbString'](),_0x1913c6=new _0x33c830(Ti+_0x2e8d92[_0x47fb14(0x27a)](X),{'pointsGroup':_0x16ee4b,'fill':_0x420a40||_0x34809b(_0x324efe[_0x47fb14(0x2cb)],0.2),'left':_0x1979a8,'top':_0x3fc1cb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47fb14(0xcc)][_0x47fb14(0x2b4)](_0x1913c6),this[_0x47fb14(0x211)][_0x47fb14(0xe1)](_0x1913c6,_0x13994a);}['_getAnchorBounding'](_0x4c8224){const _0x4bd316=_0x4c8224[0x0],_0x131699=_0x4bd316[0x0],_0x4a36cf=_0x4bd316[0x2],{x:_0xbf663,y:_0xce942a}=_0x131699,{x:_0x4b5ed3,y:_0x1d9e1d}=_0x4a36cf;return{'left':_0xbf663,'top':_0xce942a,'width':_0x4b5ed3-_0xbf663,'height':_0x1d9e1d-_0xce942a};}[_0x3fe07c(0x238)](){const _0x7eeddb=_0x3fe07c,{scaleX:_0x3add4d,scaleY:_0x5c51af}=this[_0x7eeddb(0x211)][_0x7eeddb(0x235)]();return Math[_0x7eeddb(0x120)](_0x3add4d,_0x5c51af);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x48db15,_0xf64664,_0x1b626a,_0x1141eb)=>{const _0x360605=_0x3fe07c;for(var _0x4c9cbc=_0x1141eb>0x1?void 0x0:_0x1141eb?Ui(_0xf64664,_0x1b626a):_0xf64664,_0x5bfb66=_0x48db15[_0x360605(0x1d9)]-0x1,_0x227458;_0x5bfb66>=0x0;_0x5bfb66--)(_0x227458=_0x48db15[_0x5bfb66])&&(_0x4c9cbc=_0x227458(_0x4c9cbc)||_0x4c9cbc);return _0x4c9cbc;},Z=(_0x473e6c,_0x12133a)=>(_0x4924ac,_0x190189)=>_0x12133a(_0x4924ac,_0x190189,_0x473e6c);let we=class extends _0x5b4113{constructor(_0x207528,_0x1ca365,_0x106343,_0x4d8e8e,_0x326d0a){const _0x416b80=_0x3fe07c;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x207528,this[_0x416b80(0x1dd)]=_0x1ca365,this[_0x416b80(0x171)]=_0x106343,this[_0x416b80(0x13a)]=_0x4d8e8e,this[_0x416b80(0xea)]=_0x326d0a,this[_0x416b80(0x220)]());}[_0x3fe07c(0x220)](){const _0x3f2408=_0x3fe07c,_0x3bc720=this[_0x3f2408(0x26f)][_0x3f2408(0x10e)],_0x33c28c=this[_0x3f2408(0x1dd)];this[_0x3f2408(0x1da)](_0x17a885([this[_0x3f2408(0x171)][_0x3f2408(0x27f)](_0x3bc720),this['_themeService']['currentTheme$']])[_0x3f2408(0x115)](_0x5044b9(([_0x26aa60,_0x2b160c])=>({'skeleton':_0x33c28c[_0x3f2408(0x1e2)](),'cursors':[..._0x26aa60['values']()][_0x3f2408(0xe5)](_0x55b7d8=>({..._0x55b7d8,'color':this[_0x3f2408(0xea)][_0x3f2408(0x260)](_0x55b7d8[_0x3f2408(0x124)])}))})))[_0x3f2408(0x1c6)](_0x31b839=>{const _0x565b6f=_0x3f2408;if(this['_removeCollabCursors'](),_0x31b839){const {skeleton:_0x1ca4c3,cursors:_0x3ac98b}=_0x31b839;this[_0x565b6f(0x11b)](_0x1ca4c3,_0x3ac98b);}})),this[_0x3f2408(0x200)](),this['_initCommandExecutedListener']();}[_0x3fe07c(0x11b)](_0x6d943e,_0x43cd78){const _0x56edbc=_0x3fe07c,{scene:_0x1d65b4,mainComponent:_0x5790d9}=this[_0x56edbc(0x26f)],_0x2fb673=_0x43cd78[_0x56edbc(0x1b1)](_0x4662af=>new qe(_0x4662af,_0x1d65b4,_0x6d943e,_0x5790d9));this[_0x56edbc(0x202)]=_0x2fb673,this[_0x56edbc(0x156)]=_0x43cd78;}['_refreshCollabCursors'](){const _0xa7cb5b=_0x3fe07c;this['_removeCollabCursors']();const {scene:_0x26aa8f,mainComponent:_0x1864b3}=this[_0xa7cb5b(0x26f)],_0x5a5939=this[_0xa7cb5b(0x1dd)][_0xa7cb5b(0x1e2)](),_0xf61243=this[_0xa7cb5b(0x156)][_0xa7cb5b(0x1b1)](_0x57c5cc=>new qe(_0x57c5cc,_0x26aa8f,_0x5a5939,_0x1864b3));this[_0xa7cb5b(0x202)]=_0xf61243;}[_0x3fe07c(0x182)](){const _0x1aa540=_0x3fe07c;this['_cursorShapes']['forEach'](_0x43da1e=>_0x43da1e['dispose']()),this[_0x1aa540(0x202)]=[];}[_0x3fe07c(0x25e)](){const _0x129095=_0x3fe07c,_0x239c7d=[_0x3cd37d['id']];this[_0x129095(0x1da)](this['_commandService'][_0x129095(0x237)](_0x4ceb85=>{const _0x45cc94=_0x129095;_0x239c7d[_0x45cc94(0x1a7)](_0x4ceb85['id'])&&_0x4ceb85[_0x45cc94(0x218)]['unitId']===this[_0x45cc94(0x26f)]['unitId']&&this[_0x45cc94(0x2a6)]();}));}[_0x3fe07c(0x200)](){const _0xbe43c8=_0x3fe07c;this['disposeWithMe'](_0x3f312e(this[_0xbe43c8(0x26f)][_0xbe43c8(0x259)][_0xbe43c8(0x1ba)])[_0xbe43c8(0x115)](_0x202138(_0xf67ab8=>_0xf67ab8['type']===_0x13d377[_0xbe43c8(0x242)]),_0xaee094(0x10))[_0xbe43c8(0x1c6)](()=>{const _0x8fee10=_0xbe43c8;this[_0x8fee10(0x2a6)]();}));}};we=Mi([Z(0x1,_0x4187e9(_0x430c25)),Z(0x2,_0x4187e9(H)),Z(0x3,_0x2e3d71),Z(0x4,_0x4187e9(_0x4fcb94))],we);const wi=0x1,Pi=1.5;class Li extends _0x46f2f7{constructor(_0x279b82,_0x29f8d4){const _0x4869d6=_0x3fe07c;super(_0x279b82,_0x29f8d4),_(this,'_color'),_(this,_0x4869d6(0x213),!0x1),_(this,'_range'),_(this,_0x4869d6(0x187),''),_(this,_0x4869d6(0x108),'top'),_(this,_0x4869d6(0x229)),(_0x29f8d4&&this[_0x4869d6(0x29b)](_0x29f8d4),this[_0x4869d6(0xf9)][_0x4869d6(0x1a6)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4869d6(0x18f)][_0x4869d6(0x1a6)](()=>this[_0x4869d6(0x29b)]({'hovered':!0x1})));}[_0x3fe07c(0x29b)](_0x2f9db9){const _0x57e7b7=_0x3fe07c;var _0x31b7e0,_0x389099,_0x39aa11,_0x3435d4,_0x5446f9,_0x1e878b;this[_0x57e7b7(0x1f1)]=(_0x31b7e0=_0x2f9db9[_0x57e7b7(0x124)])!=null?_0x31b7e0:this[_0x57e7b7(0x1f1)],this[_0x57e7b7(0x213)]=(_0x389099=_0x2f9db9[_0x57e7b7(0x121)])!=null?_0x389099:this[_0x57e7b7(0x213)],this[_0x57e7b7(0x22d)]=(_0x39aa11=_0x2f9db9[_0x57e7b7(0x225)])!=null?_0x39aa11:this[_0x57e7b7(0x22d)],this['_name']=(_0x3435d4=_0x2f9db9[_0x57e7b7(0xeb)])!=null?_0x3435d4:this[_0x57e7b7(0x187)],this[_0x57e7b7(0x108)]=(_0x5446f9=_0x2f9db9[_0x57e7b7(0xd3)])!=null?_0x5446f9:this[_0x57e7b7(0x108)],this[_0x57e7b7(0x229)]=(_0x1e878b=_0x2f9db9[_0x57e7b7(0x186)])!=null?_0x1e878b:this['_backgroundColor'],this[_0x57e7b7(0x27b)]({'width':_0x2f9db9[_0x57e7b7(0x1fc)],'height':_0x2f9db9[_0x57e7b7(0x21d)]});}['onMouseMove'](_0x5e3322){const _0x23ca38=_0x3fe07c,{row:_0x4233f2,column:_0x56a1d6}=_0x5e3322;if(_0x4233f2>=this[_0x23ca38(0x22d)][_0x23ca38(0x2a5)]&&_0x4233f2<=this[_0x23ca38(0x22d)]['endRow']&&_0x56a1d6>=this[_0x23ca38(0x22d)][_0x23ca38(0x29a)]&&_0x56a1d6<=this[_0x23ca38(0x22d)]['endColumn']){this[_0x23ca38(0x29b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2f6695){return!0x1;}[_0x3fe07c(0xf5)](_0x3a50fa){const _0x5f2b59=_0x3fe07c;_0x554ac3[_0x5f2b59(0x1fe)](_0x3a50fa,{'width':this['width'],'height':this[_0x5f2b59(0x21d)],'strokeWidth':Pi,'stroke':this[_0x5f2b59(0x1f1)],'evented':!0x1,'fill':this[_0x5f2b59(0x229)]}),this['_hovered']&&(_0x3a50fa['save'](),_0x3a50fa[_0x5f2b59(0x2b7)](0x1,0x0,0x0,0x1,this[_0x5f2b59(0x1fc)],this[_0x5f2b59(0x108)]===_0x5f2b59(0x224)?0x0:-0x14),he[_0x5f2b59(0x1fe)](_0x3a50fa,{'text':this[_0x5f2b59(0x187)],'color':this[_0x5f2b59(0x1f1)]}),_0x3a50fa[_0x5f2b59(0x1ad)]());}}var Ai=Object[_0x3fe07c(0x128)],yi=(_0x568c18,_0x1d6905,_0x2b4807,_0x3fe566)=>{const _0x7efce4=_0x3fe07c;for(var _0x3327b4=_0x3fe566>0x1?void 0x0:_0x3fe566?Ai(_0x1d6905,_0x2b4807):_0x1d6905,_0x5d0bf9=_0x568c18[_0x7efce4(0x1d9)]-0x1,_0x10d4ee;_0x5d0bf9>=0x0;_0x5d0bf9--)(_0x10d4ee=_0x568c18[_0x5d0bf9])&&(_0x3327b4=_0x10d4ee(_0x3327b4)||_0x3327b4);return _0x3327b4;},ve=(_0x34f946,_0x33f836)=>(_0x3d2797,_0x381787)=>_0x33f836(_0x3d2797,_0x381787,_0x34f946);const $i=0x1389;let Pe=class extends _0x5b4113{constructor(_0x3796dd,_0x47d3b5,_0x3af3e6,_0x201fb0){const _0x19fd14=_0x3fe07c;super(),_(this,_0x19fd14(0x156),new Set()),_(this,_0x19fd14(0x142),null),(this[_0x19fd14(0x26f)]=_0x3796dd,this[_0x19fd14(0x1af)]=_0x47d3b5,this[_0x19fd14(0x171)]=_0x3af3e6,this['_themeService']=_0x201fb0,this['_init']());}[_0x3fe07c(0x220)](){const _0x21fb49=_0x3fe07c;this[_0x21fb49(0x1af)]['currentSkeleton$'][_0x21fb49(0x115)](_0x453bf2(this[_0x21fb49(0xee)]),_0x46d76e(_0x39802e=>{const _0x2428ef=_0x21fb49;if(_0x39802e){const _0xaaea8=_0x39802e[_0x2428ef(0x20d)];return _0x17a885(this[_0x2428ef(0x171)][_0x2428ef(0x27f)](this['_context'][_0x2428ef(0x10e)]),this[_0x2428ef(0xea)]['currentTheme$'])[_0x2428ef(0x115)](_0x5044b9(([_0x4d73f9,_0x24ba39])=>{const _0x1bc266=_0x2428ef,_0x578487=new Map();return _0x4d73f9[_0x1bc266(0x197)]((_0x2360e9,_0x4ef71d)=>{const _0x105c04=_0x1bc266;if(_0x2360e9['sheetID']===_0xaaea8){const _0x2a2663={..._0x2360e9};_0x2a2663['color']=this[_0x105c04(0xea)][_0x105c04(0x260)](_0x2360e9[_0x105c04(0x124)]),_0x578487['set'](_0x4ef71d,_0x2a2663);}}),{'skeleton':_0x39802e,'cursors':_0x578487};}));}return _0x5d21d1({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x9177f0,cursors:_0x23981d})=>{const _0x553411=_0x21fb49;this['_removeCollabCursors'](),_0x9177f0&&this[_0x553411(0x11b)](_0x9177f0,_0x23981d);}),this['_sheetSkeletonManagerService'][_0x21fb49(0x1b2)][_0x21fb49(0x1c6)](_0xbb9455=>{const _0xa2dc8c=_0x21fb49;if(_0xbb9455==null)return;const {skeleton:_0x3676f7}=_0xbb9455,{scene:_0x40e80f}=this[_0xa2dc8c(0x26f)];_0x40e80f[_0xa2dc8c(0x2c5)][_0xa2dc8c(0x1a6)](_0x3d717c(_0x37365c=>{const _0x1bcb55=_0xa2dc8c;var _0x3e841c,_0x5cd877;const {offsetX:_0x3ec7d,offsetY:_0x1009eb}=_0x37365c,{x:_0x5d0db2,y:_0x349766}=_0x40e80f[_0x1bcb55(0x1c8)](_0x263eee[_0x1bcb55(0x2bd)]([_0x3ec7d,_0x1009eb])),{scaleX:_0x513dd8,scaleY:_0x515739}=_0x40e80f['getAncestorScale'](),_0x378b38=_0x40e80f[_0x1bcb55(0x2d1)](_0x551d32[_0x1bcb55(0x272)]),_0x51dfba=_0x40e80f[_0x1bcb55(0x25a)](_0x263eee[_0x1bcb55(0x2bd)]([_0x5d0db2,_0x349766]),_0x378b38),_0x1b0837=_0x3676f7[_0x1bcb55(0x134)](_0x3ec7d,_0x1009eb,_0x513dd8,_0x515739,_0x51dfba);((_0x3e841c=this[_0x1bcb55(0x142)])==null?void 0x0:_0x3e841c[_0x1bcb55(0xe8)])===_0x1b0837['column']&&((_0x5cd877=this[_0x1bcb55(0x142)])==null?void 0x0:_0x5cd877['row'])===_0x1b0837[_0x1bcb55(0x214)]||this['_cursors']['forEach'](_0x19a568=>{const _0x1921e8=_0x1bcb55;_0x19a568[_0x1921e8(0x170)](_0x1b0837);});},0x64));});}[_0x3fe07c(0x11b)](_0x19b9d1,_0x224e22){const _0x480cce=_0x3fe07c;var _0x4ae3be;const _0xc7ca0c=(_0x4ae3be=this[_0x480cce(0x1af)][_0x480cce(0x1b6)]())==null?void 0x0:_0x4ae3be[_0x480cce(0x207)];if(!_0xc7ca0c)return;const _0x25c8fd=this[_0x480cce(0x25d)]();if(!_0x25c8fd)return;this[_0x480cce(0x156)]['forEach'](_0xb877c4=>{const _0x53e7fe=_0x480cce;_0xb877c4[_0x53e7fe(0x20b)]();});const {scene:_0x575f7a}=_0x25c8fd,_0x1b51ac=xi(Array['from'](_0x224e22[_0x480cce(0x24e)]()))['map'](_0x202cdb=>{const _0x21e553=_0x480cce,{color:_0x527218,range:_0x2b408a,name:_0x4519b4,selection:_0x1327b4,sheetID:_0x3b14f2}=_0x202cdb,{startColumn:_0x561305,startRow:_0x4e79af,endColumn:_0x3bcd26,endRow:_0x6d3676}=_0x2b408a,_0x48c48b=_0x8107(_0x4e79af,_0x561305,_0x575f7a,_0xc7ca0c),_0x4f9b96=_0x8107(_0x6d3676,_0x3bcd26,_0x575f7a,_0xc7ca0c),{columnHeaderHeightAndMarginTop:_0x11c49a}=_0xc7ca0c,{startX:_0x40af93,startY:_0x57ffae}=_0x48c48b,{endX:_0x2a671f,endY:_0xac0645}=_0x4f9b96,_0x53c5fd=_0x2a671f-_0x40af93,_0x5397e5=_0xac0645-_0x57ffae,_0x53aa2f={'labelPosition':_0x57ffae-_0x11c49a>=ee?_0x21e553(0x285):_0x21e553(0x224),'sheetID':_0x3b14f2,'range':_0x2b408a,'color':_0x527218,'name':_0x4519b4,'selection':_0x1327b4,'left':_0x40af93,'top':_0x57ffae,'width':_0x53c5fd,'height':_0x5397e5,'evented':!0x1,'zIndex':$i};return new Li(_0x4519b4,_0x53aa2f);});_0x575f7a[_0x480cce(0x2cf)](_0x1b51ac,wi),this[_0x480cce(0x156)]=new Set(_0x1b51ac);}[_0x3fe07c(0x182)](){const _0x5b68c6=_0x3fe07c;var _0x5e9489;(_0x5e9489=this[_0x5b68c6(0x156)])==null||_0x5e9489['forEach'](_0x4c85c3=>_0x4c85c3[_0x5b68c6(0xf7)]());}['_getSheetObject'](){const _0x1b5298=_0x3fe07c;return _0x1a60d5(this[_0x1b5298(0x26f)][_0x1b5298(0xd7)],this[_0x1b5298(0x26f)]);}};Pe=yi([ve(0x1,_0x4187e9(_0x397fc0)),ve(0x2,_0x4187e9(H)),ve(0x3,_0x4187e9(_0x4fcb94))],Pe);function xi(_0x496087){const _0x1390c5=_0x3fe07c,_0x2d7f4d=new Map();return _0x496087[_0x1390c5(0x197)](_0x233f0d=>{const _0x1f140b=_0x1390c5;if(_0x2d7f4d[_0x1f140b(0x22f)](_0x233f0d['selection'])){const _0x305d57=_0x2d7f4d[_0x1f140b(0x173)](_0x233f0d[_0x1f140b(0x11e)]);_0x305d57['name']+=',\x20'+_0x233f0d[_0x1f140b(0xeb)];}else _0x2d7f4d[_0x1f140b(0x1ef)](_0x233f0d[_0x1f140b(0x11e)],_0x233f0d);}),Array['from'](_0x2d7f4d[_0x1390c5(0x24e)]());}var v=function(){const _0x41da2b=_0x3fe07c;return v=Object['assign']||function(_0x5c5ea6){const _0x2284e6=_0x1112;for(var _0x4c5772,_0x21e914=0x1,_0x2a11bc=arguments[_0x2284e6(0x1d9)];_0x21e914<_0x2a11bc;_0x21e914++){_0x4c5772=arguments[_0x21e914];for(var _0x5d1131 in _0x4c5772)Object[_0x2284e6(0x262)][_0x2284e6(0xdc)][_0x2284e6(0x26e)](_0x4c5772,_0x5d1131)&&(_0x5c5ea6[_0x5d1131]=_0x4c5772[_0x5d1131]);}return _0x5c5ea6;},v[_0x41da2b(0x1b4)](this,arguments);},Bi=function(_0x5316e0,_0x178732){const _0x316b3f=_0x3fe07c;var _0x776834={};for(var _0x1336bf in _0x5316e0)Object[_0x316b3f(0x262)][_0x316b3f(0xdc)]['call'](_0x5316e0,_0x1336bf)&&_0x178732[_0x316b3f(0x2c9)](_0x1336bf)<0x0&&(_0x776834[_0x1336bf]=_0x5316e0[_0x1336bf]);if(_0x5316e0!=null&&typeof Object[_0x316b3f(0x26d)]==_0x316b3f(0x219)){for(var _0x17f943=0x0,_0x1336bf=Object[_0x316b3f(0x26d)](_0x5316e0);_0x17f943<_0x1336bf[_0x316b3f(0x1d9)];_0x17f943++)_0x178732[_0x316b3f(0x2c9)](_0x1336bf[_0x17f943])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x316b3f(0x26e)](_0x5316e0,_0x1336bf[_0x17f943])&&(_0x776834[_0x1336bf[_0x17f943]]=_0x5316e0[_0x1336bf[_0x17f943]]);}return _0x776834;},je=_0x4426ae(function(_0x1c6626,_0x5a1bd5){const _0x383637=_0x3fe07c;var _0x2d8154=_0x1c6626['icon'],_0x429ec2=_0x1c6626['id'],_0x150148=_0x1c6626[_0x383637(0xcd)],_0x29b586=_0x1c6626[_0x383637(0x1df)],_0x22c558=Bi(_0x1c6626,[_0x383637(0x1e6),'id',_0x383637(0xcd),_0x383637(0x1df)]),_0xa741d7=_0x383637(0x283)[_0x383637(0x252)](_0x429ec2,'\x20')[_0x383637(0x252)](_0x150148||'')['trim'](),_0x435209=_0x13e846('_'[_0x383637(0x252)](ji()));return Rt(_0x2d8154,''[_0x383637(0x252)](_0x429ec2),{'defIds':_0x2d8154[_0x383637(0x2bc)],'idSuffix':_0x435209[_0x383637(0x1be)]},v({'ref':_0x5a1bd5,'className':_0xa741d7},_0x22c558),_0x29b586);});function Rt(_0x2fa2a7,_0x20f2f,_0x264369,_0x2a87f2,_0x2bc68a){const _0x2b38db=_0x3fe07c;return _0x4aa7b7(_0x2fa2a7['tag'],v(v({'key':_0x20f2f},ki(_0x2fa2a7,_0x264369,_0x2bc68a)),_0x2a87f2),(Hi(_0x2fa2a7,_0x264369)['children']||[])[_0x2b38db(0x1b1)](function(_0xbd26a8,_0x32a26f){const _0x46f09c=_0x2b38db;return Rt(_0xbd26a8,''[_0x46f09c(0x252)](_0x20f2f,'-')['concat'](_0x2fa2a7['tag'],'-')[_0x46f09c(0x252)](_0x32a26f),_0x264369,void 0x0,_0x2bc68a);}));}function ki(_0x58dbb4,_0x3ba37c,_0x2dd2c3){const _0x481f1d=_0x3fe07c;var _0x3fc554=v({},_0x58dbb4[_0x481f1d(0xe2)]);_0x2dd2c3!=null&&_0x2dd2c3['colorChannel1']&&_0x3fc554['fill']==='colorChannel1'&&(_0x3fc554[_0x481f1d(0x2c4)]=_0x2dd2c3[_0x481f1d(0x111)]),_0x58dbb4['tag']===_0x481f1d(0x1c4)&&_0x3fc554['id']&&(_0x3fc554['id']=_0x3fc554['id']+_0x3ba37c[_0x481f1d(0x2ad)]),Object[_0x481f1d(0x137)](_0x3fc554)[_0x481f1d(0x197)](function(_0x905b34){const _0x1259bc=_0x481f1d;var _0x1e8cbd=_0x905b34[0x0],_0x11d635=_0x905b34[0x1];_0x1e8cbd===_0x1259bc(0x1c4)&&typeof _0x11d635=='string'&&(_0x3fc554[_0x1e8cbd]=_0x11d635[_0x1259bc(0x10a)](/url\(#(.*)\)/,_0x1259bc(0x1aa)[_0x1259bc(0x252)](_0x3ba37c[_0x1259bc(0x2ad)],')')));});var _0x253674=_0x3ba37c[_0x481f1d(0x2bc)];return!_0x253674||_0x253674['length']===0x0||(_0x58dbb4[_0x481f1d(0x1e3)]===_0x481f1d(0x221)&&_0x3fc554['xlink:href']&&(_0x3fc554[_0x481f1d(0xf4)]=_0x3fc554['xlink:href']+_0x3ba37c[_0x481f1d(0x2ad)]),Object['entries'](_0x3fc554)['forEach'](function(_0x376522){const _0x279cdd=_0x481f1d;var _0x25a86c=_0x376522[0x0],_0x17da46=_0x376522[0x1];typeof _0x17da46=='string'&&(_0x3fc554[_0x25a86c]=_0x17da46[_0x279cdd(0x10a)](/url\(#(.*)\)/,_0x279cdd(0x1aa)[_0x279cdd(0x252)](_0x3ba37c['idSuffix'],')')));})),_0x3fc554;}function Hi(_0x4166e8,_0xce3faf){const _0x57bea4=_0x3fe07c;var _0x24bcde,_0x147400=_0xce3faf[_0x57bea4(0x2bc)];return!_0x147400||_0x147400[_0x57bea4(0x1d9)]===0x0?_0x4166e8:_0x4166e8[_0x57bea4(0x1e3)]==='defs'&&(!((_0x24bcde=_0x4166e8[_0x57bea4(0x18b)])===null||_0x24bcde===void 0x0)&&_0x24bcde[_0x57bea4(0x1d9)])?v(v({},_0x4166e8),{'children':_0x4166e8[_0x57bea4(0x18b)][_0x57bea4(0x1b1)](function(_0x3b4f1e){const _0xeb51c3=_0x57bea4;return typeof _0x3b4f1e[_0xeb51c3(0xe2)]['id']==_0xeb51c3(0x270)&&_0x147400&&_0x147400[_0xeb51c3(0x1a7)](_0x3b4f1e[_0xeb51c3(0xe2)]['id'])?v(v({},_0x3b4f1e),{'attrs':v(v({},_0x3b4f1e[_0xeb51c3(0xe2)]),{'id':_0x3b4f1e['attrs']['id']+_0xce3faf['idSuffix']})}):_0x3b4f1e;})}):_0x4166e8;}function ji(){const _0x4a5fbd=_0x3fe07c;return Math[_0x4a5fbd(0x223)]()['toString'](0x24)['substring'](0x2,0x8);}je[_0x3fe07c(0xe0)]=_0x3fe07c(0x267);var Yi={'tag':_0x3fe07c(0x281),'attrs':{'xmlns':_0x3fe07c(0x12f),'fill':_0x3fe07c(0x254),'viewBox':_0x3fe07c(0x217),'width':_0x3fe07c(0x26b),'height':_0x3fe07c(0x26b)},'children':[{'tag':'g','attrs':{'clipPath':_0x3fe07c(0x185)},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'stroke':'currentColor','d':_0x3fe07c(0x112),'strokeLinecap':_0x3fe07c(0x24a),'strokeLinejoin':_0x3fe07c(0x24a),'strokeWidth':1.2}}]},{'tag':_0x3fe07c(0x2a3),'attrs':{},'children':[{'tag':_0x3fe07c(0xc5),'attrs':{'id':_0x3fe07c(0x2a4)},'children':[{'tag':'path','attrs':{'fill':_0x3fe07c(0x18e),'d':_0x3fe07c(0x116)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x4426ae(function(_0x375dce,_0xe90392){const _0x4a005f=_0x3fe07c;return _0x4aa7b7(je,Object[_0x4a005f(0x151)]({},_0x375dce,{'id':_0x4a005f(0x1c9),'ref':_0xe90392,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x3fe07c(0x281),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3fe07c(0x254),'viewBox':_0x3fe07c(0x1d0),'width':_0x3fe07c(0x26b),'height':_0x3fe07c(0x26b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'stroke':_0x3fe07c(0x17a),'d':_0x3fe07c(0x141),'strokeLinecap':'round','strokeLinejoin':_0x3fe07c(0x24a),'strokeWidth':1.2}}]},{'tag':_0x3fe07c(0x2a3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3fe07c(0x18d)},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'fill':_0x3fe07c(0x18e),'d':_0x3fe07c(0x116),'transform':_0x3fe07c(0x16b)}}]}]}],'defIds':[_0x3fe07c(0x18d)]},Nt=_0x4426ae(function(_0x3c45de,_0x21841c){const _0x35eb8b=_0x3fe07c;return _0x4aa7b7(je,Object[_0x35eb8b(0x151)]({},_0x3c45de,{'id':'on-line-icon','ref':_0x21841c,'icon':Fi}));});Nt[_0x3fe07c(0xe0)]=_0x3fe07c(0x1de);function Wi(_0x5c5171){const _0x38197c=_0x3fe07c;switch(_0x5c5171){case _0x3c4f39[_0x38197c(0x1e5)]:return _0x38197c(0x2c0);case _0x3c4f39[_0x38197c(0x17c)]:return _0x38197c(0xd0);case _0x3c4f39['FETCH_MISS']:return _0x38197c(0x2c6);case _0x3c4f39[_0x38197c(0x29e)]:return _0x38197c(0x15d);case _0x3c4f39[_0x38197c(0x1d7)]:case _0x3c4f39['AWAITING_WITH_PENDING']:return _0x38197c(0x143);case _0x3c4f39[_0x38197c(0x19c)]:case _0x3c4f39['PENDING']:return _0x38197c(0x2c8);}}function Vi(_0x57e5a5){const _0x172f41=_0x3fe07c,{status$:_0x12d0c0}=_0x57e5a5,_0x500bc3=_0x1377bd(_0x12d0c0,_0x3c4f39['NOT_COLLAB']),_0x1c6f3c=_0x2c9ffa(_0x49d863),_0x86561f=_0x2c9ffa(_0x2d67be),_0x685d91=_0x500bc3!==_0x3c4f39[_0x172f41(0x1e5)],_0x18fe9f=_0x1c6f3c['t'](Wi(_0x500bc3)),_0x436356=_0x685d91?_0x3c46ca(Nt,{}):_0x3c46ca(Dt,{}),_0x500a49=_0x2c6a31(()=>{const _0x35f972=_0x172f41;_0x685d91||_0x86561f[_0x35f972(0x2a7)]();},[_0x685d91,_0x86561f]);function _0x243bf2(){const _0x363824=_0x172f41;return _0x16742e(_0x363824(0x256),{'className':_0x363824(0x275),'onClick':_0x500a49,'children':[_0x3c46ca(_0x363824(0x256),{'className':_0x1d7c06('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x685d91,'univer-text-red-500':!_0x685d91}),'children':_0x436356}),_0x3c46ca('div',{'className':_0x363824(0x25f),'children':_0x18fe9f})]});}return _0x685d91?_0x243bf2():_0x3c46ca(_0x432a00,{'title':_0x1c6f3c['t'](_0x172f41(0x15e)),'children':_0x243bf2()});}var Xi=Object[_0x3fe07c(0x128)],Gi=(_0x19d1f5,_0x48c818,_0x5e07b7,_0x21f8e2)=>{const _0x3f41ee=_0x3fe07c;for(var _0x45c5f9=_0x21f8e2>0x1?void 0x0:_0x21f8e2?Xi(_0x48c818,_0x5e07b7):_0x48c818,_0x4d59e1=_0x19d1f5[_0x3f41ee(0x1d9)]-0x1,_0x3a088f;_0x4d59e1>=0x0;_0x4d59e1--)(_0x3a088f=_0x19d1f5[_0x4d59e1])&&(_0x45c5f9=_0x3a088f(_0x45c5f9)||_0x45c5f9);return _0x45c5f9;},Q=(_0x1042da,_0x5a0c1b)=>(_0x4d85cb,_0x55c71b)=>_0x5a0c1b(_0x4d85cb,_0x55c71b,_0x1042da);let te=class extends _0x4ae93a{constructor(_0x4c7d01,_0x413bbc,_0xa42aa1,_0x43a3e4){const _0x20de64=_0x3fe07c;super(),_(this,'_status$',new _0x690e2a(_0x3c4f39[_0x20de64(0x29e)])),(this[_0x20de64(0x2a2)]=_0x4c7d01,this[_0x20de64(0x222)]=_0x413bbc,this[_0x20de64(0x240)]=_0xa42aa1,this[_0x20de64(0xfb)]=_0x43a3e4,this[_0x20de64(0x277)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x5dc5de=_0x3fe07c;this[_0x5dc5de(0x1da)](this[_0x5dc5de(0x2a2)][_0x5dc5de(0x114)][_0x5dc5de(0x115)](_0x2f8353(()=>{const _0x2420dd=_0x5dc5de,_0x4a0f7f=this[_0x2420dd(0x2a2)][_0x2420dd(0xd8)]();return _0x4a0f7f?this['_collaborationController'][_0x2420dd(0x1fb)](_0x4a0f7f[_0x2420dd(0x139)]()):_0x5d21d1(null);}),_0x2f8353(_0x572c51=>_0x572c51?_0x572c51[_0x5dc5de(0x123)]:_0x5d21d1(_0x3c4f39[_0x5dc5de(0x29e)])))[_0x5dc5de(0x1c6)](_0x48d11d=>{const _0x2025d0=_0x5dc5de;this['_status$'][_0x2025d0(0x1d8)](_0x48d11d);}));}[_0x3fe07c(0x277)](){const _0x2e4394=_0x3fe07c;this['disposeWithMe'](this[_0x2e4394(0xfb)][_0x2e4394(0x22a)](_0x200683[_0x2e4394(0x212)],()=>_0x1f4772(Ki({'status$':this[_0x2e4394(0x29d)][_0x2e4394(0x292)]()}),this[_0x2e4394(0x222)])));}};te=Gi([Q(0x0,_0xbf54a8),Q(0x1,_0x4187e9(_0x1672f7)),Q(0x2,_0x4187e9(_0x3b8716)),Q(0x3,_0x404c66)],te);function Ki(_0x246050){const {status$:_0x5074ac}=_0x246050;return function(){return _0x3c46ca(Vi,{'status$':_0x5074ac});};}var zi=Object[_0x3fe07c(0x128)],Ji=(_0x53be0f,_0x53709c,_0x280e63,_0x23294d)=>{const _0x4b0a17=_0x3fe07c;for(var _0x2cead6=_0x23294d>0x1?void 0x0:_0x23294d?zi(_0x53709c,_0x280e63):_0x53709c,_0x280903=_0x53be0f[_0x4b0a17(0x1d9)]-0x1,_0x10e538;_0x280903>=0x0;_0x280903--)(_0x10e538=_0x53be0f[_0x280903])&&(_0x2cead6=_0x10e538(_0x2cead6)||_0x2cead6);return _0x2cead6;},B=(_0x4c20bf,_0x552dff)=>(_0x27dadc,_0xc9be10)=>_0x552dff(_0x27dadc,_0xc9be10,_0x4c20bf);let se=class extends _0x4ae93a{constructor(_0x485833,_0x1e1def,_0x46c8c3,_0x133e99,_0x7b15ae,_0x30b145){const _0x48e1da=_0x3fe07c;super(),this[_0x48e1da(0xd9)]=_0x485833,this[_0x48e1da(0x2b3)]=_0x1e1def,this[_0x48e1da(0x2cc)]=_0x46c8c3,this[_0x48e1da(0x1cc)]=_0x133e99,this['_notificationService']=_0x7b15ae,this['_localeService']=_0x30b145,this[_0x48e1da(0x258)](),this[_0x48e1da(0x239)]();}['_setupBeforeClosingHandler'](){const _0x43622a=_0x3fe07c;this[_0x43622a(0x1da)](this[_0x43622a(0xd9)][_0x43622a(0x24f)](()=>{const _0x4270bb=_0x43622a;if(this['_localCacheService'][_0x4270bb(0x1d1)][_0x4270bb(0x176)])return this[_0x4270bb(0x287)]['t'](_0x4270bb(0x29f));}));}['_initEvent'](){const _0x4ad991=_0x3fe07c;this[_0x4ad991(0x1da)](this[_0x4ad991(0x2cc)][_0x4ad991(0xe6)]['subscribe'](_0x48054a=>{const _0x4d0237=_0x4ad991;_0x48054a['id']===_0x52d3a7[_0x4d0237(0xcf)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0x280))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2b1)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2ab)]&&this[_0x4d0237(0x1dc)][_0x4d0237(0x271)]({'title':this['_localeService']['t'](_0x4d0237(0x2a9)),'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0xca)),'type':_0x4d0237(0x105),'duration':0x0}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x17c)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t']('collaboration.closeRoom')+'('+_0x48054a['data']+')'}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x1d4)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t'](_0x48054a[_0x4d0237(0x127)]||'')}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x273)]&&this['_messageService'][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t'](_0x4d0237(0x24d))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x1c1)]&&this[_0x4d0237(0x1cc)]['show']({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0xc2))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2c2)]&&this['_messageService'][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x5b7aef),B(0x1,_0x5d25ea),B(0x2,_0x4187e9(_0x57d180)),B(0x3,_0x4e146e),B(0x4,_0x1010a7),B(0x5,_0x4187e9(_0x49d863))],se);const Zi=_0x3fe07c(0x167),et={},Ut=_0x476322(_0x3fe07c(0x130));var Qi=Object[_0x3fe07c(0x128)],qi=(_0x1c79f6,_0x280179,_0x3595de,_0x1ac127)=>{const _0x1f1264=_0x3fe07c;for(var _0x30f021=_0x1ac127>0x1?void 0x0:_0x1ac127?Qi(_0x280179,_0x3595de):_0x280179,_0x30e43e=_0x1c79f6[_0x1f1264(0x1d9)]-0x1,_0x26837f;_0x30e43e>=0x0;_0x30e43e--)(_0x26837f=_0x1c79f6[_0x30e43e])&&(_0x30f021=_0x26837f(_0x30f021)||_0x30f021);return _0x30f021;},G=(_0x49e047,_0x5cad73)=>(_0x36918c,_0xd81e98)=>_0x5cad73(_0x36918c,_0xd81e98,_0x49e047);let ie=class extends _0x5b4113{constructor(_0x4d9bd4,_0x1e8bf7,_0x955595,_0x29a933,_0x3f5348){const _0x5cf36f=_0x3fe07c;super(),this[_0x5cf36f(0x246)]=_0x4d9bd4,this[_0x5cf36f(0x228)]=_0x1e8bf7,this[_0x5cf36f(0x13a)]=_0x955595,this[_0x5cf36f(0x1bb)]=_0x29a933,_0x3f5348?_0x3f5348==null||_0x3f5348['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x5cf36f(0x21c)]('[CollaborationDataLoaderController]',_0x5cf36f(0x135)),this[_0x5cf36f(0x220)]());}async[_0x3fe07c(0x220)](){const _0x1e7695=_0x3fe07c,_0x3f21f4=this[_0x1e7695(0x246)][_0x1e7695(0x1d3)](_0x1e7695(0xd7)),_0x2e7592=this[_0x1e7695(0x246)]['getParam'](_0x1e7695(0x106)),_0x200c26=this[_0x1e7695(0x246)][_0x1e7695(0x1d3)](_0x1e7695(0x1ce));if(!_0x3f21f4||!_0x2e7592){this['_logService'][_0x1e7695(0x21c)](_0x1e7695(0x166),_0x1e7695(0xcb));return;}const _0x614751=await this[_0x1e7695(0x1bb)][_0x1e7695(0x293)](_0x3f21f4,Number(_0x2e7592),_0x200c26);_0x614751&&_0x614751 instanceof _0x1d344a&&this[_0x1e7695(0x165)](_0x614751);}async[_0x3fe07c(0x165)](_0x59b435){const _0x4ea2d3=_0x3fe07c;await this[_0x4ea2d3(0x2a0)](_0x59b435),_0x59b435[_0x4ea2d3(0xd1)][_0x4ea2d3(0x115)](_0x30fec2(this[_0x4ea2d3(0xee)]))[_0x4ea2d3(0x1c6)](_0x39da38=>{const _0x9f15af=_0x4ea2d3;_0x39da38&&this[_0x9f15af(0x1f9)](_0x39da38);}),this[_0x4ea2d3(0x246)][_0x4ea2d3(0x263)][_0x4ea2d3(0x115)](_0x30fec2(this['dispose$']))[_0x4ea2d3(0x1c6)](()=>this[_0x4ea2d3(0x2a0)](_0x59b435));}[_0x3fe07c(0x1f9)](_0x19afd2,_0x4d7bc5=!0x1){const _0x3271b9=_0x3fe07c,_0x5140fc=this[_0x3271b9(0x246)][_0x3271b9(0x1d3)](_0x3271b9(0x1ce));_0x19afd2[_0x3271b9(0x122)]()!==_0x5140fc&&this[_0x3271b9(0x246)]['setParam']('subunit',_0x19afd2['getSheetId'](),_0x4d7bc5);}async[_0x3fe07c(0x2a0)](_0x2262f9){const _0x2f9f62=_0x3fe07c;var _0x48a79f;const _0x4b39fd=this[_0x2f9f62(0x246)][_0x2f9f62(0x1d3)](_0x2f9f62(0x1ce));if(!_0x4b39fd||!_0x2262f9[_0x2f9f62(0x12b)](_0x4b39fd)){const _0x337f31=_0x2262f9[_0x2f9f62(0x163)]()[0x0],_0x137d72=_0x2262f9[_0x2f9f62(0x12b)](_0x337f31);if(!_0x137d72)return;this[_0x2f9f62(0x1f9)](_0x137d72,!0x0),await this[_0x2f9f62(0x13a)][_0x2f9f62(0x290)](_0x2e17cf['id'],{'unitId':_0x2262f9['getUnitId'](),'subUnitId':_0x337f31});return;}((_0x48a79f=_0x2262f9[_0x2f9f62(0x24b)]())==null?void 0x0:_0x48a79f[_0x2f9f62(0x122)]())!==_0x4b39fd&&await this['_commandService'][_0x2f9f62(0x290)](_0x2e17cf['id'],{'unitId':_0x2262f9[_0x2f9f62(0x139)](),'subUnitId':_0x4b39fd});}};ie=qi([G(0x0,Ut),G(0x1,_0x569bac),G(0x2,_0x2e3d71),G(0x3,_0x4187e9(_0x15d2c4)),G(0x4,_0x3f8427(_0xb37379))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x25a84c,_0x237365,_0x3ac2da,_0x51e6f4)=>{for(var _0x50929d=_0x51e6f4>0x1?void 0x0:_0x51e6f4?en(_0x237365,_0x3ac2da):_0x237365,_0x139864=_0x25a84c['length']-0x1,_0x24c08f;_0x139864>=0x0;_0x139864--)(_0x24c08f=_0x25a84c[_0x139864])&&(_0x50929d=_0x24c08f(_0x50929d)||_0x50929d);return _0x50929d;},pe=(_0x13aaa6,_0x12ebb4)=>(_0xcc456e,_0x25e5dd)=>_0x12ebb4(_0xcc456e,_0x25e5dd,_0x13aaa6);let ne=class{constructor(_0x8e5af3,_0x4d8d53,_0x1a2f24){const _0x3ec053=_0x3fe07c;this[_0x3ec053(0x222)]=_0x8e5af3,this[_0x3ec053(0x1f8)]=_0x4d8d53,this[_0x3ec053(0x2af)]=_0x1a2f24;}['transformIMECache'](_0x1ea5ee){this['_transformUndoRedoStack'](_0x1ea5ee),this['_transformPreviousActiveRange'](_0x1ea5ee);}[_0x3fe07c(0x16a)](_0x150564){const _0x4f5b3c=_0x3fe07c,{unitID:_0x2a9821}=_0x150564,_0x365436=this[_0x4f5b3c(0x2af)][_0x4f5b3c(0x138)](_0x2a9821)[_0x4f5b3c(0x19d)](_0x4adf26),{redoCache:_0x1f31cc}=_0x365436[_0x4f5b3c(0x1bf)]();if(_0x1f31cc[_0x4f5b3c(0x1d9)]===0x0)return _0x150564;let _0x5533ef=_0x2e8d92['deepClone'](_0x150564['mutations'][0x0]);for(let _0x3fabe4=0x0;_0x3fabe4<_0x1f31cc['length'];_0x3fabe4++){const _0x233fc4={'id':_0x4f5b3c(0x1b7),'params':{..._0x1f31cc[_0x3fabe4]}},_0x4165b6=this[_0x4f5b3c(0x1f8)][_0x4f5b3c(0x244)](_0x5533ef,_0x233fc4,!0x1);if(_0x373c55(_0x4165b6))throw _0x4165b6[_0x4f5b3c(0x105)];_0x5533ef=_0x4165b6[_0x4f5b3c(0x140)];}return{..._0x2e8d92[_0x4f5b3c(0x28e)](_0x150564),'mutations':[_0x5533ef]};}[_0x3fe07c(0x2ac)](_0x3cb759){const _0x5ec7db=_0x3fe07c,{unitID:_0x332ca5}=_0x3cb759,_0x4c0705=this[_0x5ec7db(0x2af)][_0x5ec7db(0x138)](_0x332ca5)[_0x5ec7db(0x19d)](_0x4adf26),{undoCache:_0x433882,redoCache:_0x481625}=_0x4c0705[_0x5ec7db(0x1bf)]();if(_0x433882[_0x5ec7db(0x1d9)]===0x0||_0x481625[_0x5ec7db(0x1d9)]===0x0)return;const _0x1a4c0b=[],_0x1fb4ad=[];let _0xc18d36=_0x2e8d92[_0x5ec7db(0x28e)](_0x3cb759[_0x5ec7db(0xce)][0x0]),_0x34b79e=_0x2e8d92[_0x5ec7db(0x28e)](_0x3cb759['mutations'][0x0]);for(let _0x491fd8=_0x433882[_0x5ec7db(0x1d9)]-0x1;_0x491fd8>=0x0;_0x491fd8--){const _0x455d5d={'id':'doc.mutation.rich-text-editing','params':{..._0x433882[_0x491fd8]}},_0x396b0d={'id':_0x5ec7db(0x1b7),'params':{..._0x481625[_0x491fd8]}},_0x40e183=this[_0x5ec7db(0x1f8)]['transformMutation'](_0xc18d36,_0x455d5d,!0x1),_0x3d34dd=this[_0x5ec7db(0x1f8)][_0x5ec7db(0x244)](_0x34b79e,_0x396b0d,!0x1);if(_0x373c55(_0x40e183))throw _0x40e183['error'];if(_0x373c55(_0x3d34dd))throw _0x3d34dd[_0x5ec7db(0x105)];_0x1a4c0b[_0x5ec7db(0x1ac)](_0x40e183[_0x5ec7db(0xc4)][_0x5ec7db(0x218)]),_0x1fb4ad[_0x5ec7db(0x1ac)](_0x3d34dd[_0x5ec7db(0xc4)][_0x5ec7db(0x218)]),_0xc18d36=_0x40e183[_0x5ec7db(0x140)],_0x34b79e=_0x3d34dd[_0x5ec7db(0x140)];}_0x4c0705[_0x5ec7db(0x286)]({'undoCache':_0x1a4c0b,'redoCache':_0x1fb4ad});}[_0x3fe07c(0x160)](_0x5a14a1){const _0x52611f=_0x3fe07c,{unitID:_0x4352bc}=_0x5a14a1,_0x16d625=this[_0x52611f(0x2af)][_0x52611f(0x138)](_0x4352bc)[_0x52611f(0x19d)](_0x4adf26),_0x209e1d=_0x16d625[_0x52611f(0x2ca)]();if(_0x209e1d==null)return;const _0x1ad610=[{'id':_0x52611f(0x1b7),'params':{'unitId':_0x5a14a1[_0x52611f(0xe7)],'actions':null,'textRanges':[_0x209e1d]}}],_0x57915a=this[_0x52611f(0x1f8)]['transformMutationsWithChangeset'](_0x5a14a1,_0x1ad610);if(!_0x4f3a6b(_0x57915a))throw _0x57915a[_0x52611f(0x105)];const _0x10a3e3=_0x57915a[_0x52611f(0xc4)][0x0]['params'][_0x52611f(0x1ed)];Array[_0x52611f(0x147)](_0x10a3e3)&&_0x10a3e3['length']&&_0x16d625[_0x52611f(0x157)](_0x10a3e3[0x0]);}};ne=tn([pe(0x0,_0x4187e9(_0x1672f7)),pe(0x1,_0x564f5c),pe(0x2,_0x3ecb9c)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x4dae0b,_0x28f9a7,_0x476688,_0x528fb0)=>{for(var _0x3c4636=_0x528fb0>0x1?void 0x0:_0x528fb0?sn(_0x28f9a7,_0x476688):_0x28f9a7,_0xddcc9f=_0x4dae0b['length']-0x1,_0x571376;_0xddcc9f>=0x0;_0xddcc9f--)(_0x571376=_0x4dae0b[_0xddcc9f])&&(_0x3c4636=_0x571376(_0x3c4636)||_0x3c4636);return _0x3c4636;},Ce=(_0x3fa887,_0x368e90)=>(_0x2f9b65,_0x12b6c9)=>_0x368e90(_0x2f9b65,_0x12b6c9,_0x3fa887);let re=class{constructor(_0x2cd804,_0x4f5ebd,_0x4c0c56){const _0x111e3d=_0x3fe07c;this['_injector']=_0x2cd804,this['_transformService']=_0x4f5ebd,this[_0x111e3d(0x226)]=_0x4c0c56;}[_0x3fe07c(0x132)](_0x35a926){const _0x59c163=_0x3fe07c;this[_0x59c163(0x23b)](_0x35a926);}[_0x3fe07c(0x16a)](_0xc5cf37){const _0x14a655=_0x3fe07c,{unitID:_0x1d9762}=_0xc5cf37,{collaboration:_0x21a2a1}=this[_0x14a655(0x226)][_0x14a655(0x190)](_0x1d9762);if(_0x21a2a1[_0x14a655(0x1d9)]===0x0)return _0xc5cf37;let _0x17bfa9=_0x2e8d92['deepClone'](_0xc5cf37[_0x14a655(0xce)][0x0]);for(let _0x2e1cee=0x0;_0x2e1cee<_0x21a2a1['length'];_0x2e1cee++){const _0x418d59={'id':_0x14a655(0x1b7),'params':{'unitId':_0x21a2a1[_0x2e1cee]['unitId'],..._0x21a2a1[_0x2e1cee][_0x14a655(0x1d6)]}},_0x4b6c8d=this[_0x14a655(0x1f8)][_0x14a655(0x244)](_0x17bfa9,_0x418d59,!0x1);if(_0x373c55(_0x4b6c8d))throw _0x4b6c8d[_0x14a655(0x105)];_0x17bfa9=_0x4b6c8d[_0x14a655(0x140)];}return{..._0x2e8d92['deepClone'](_0xc5cf37),'mutations':[_0x17bfa9]};}['_transformHistoryAndStateStack'](_0x22a282){const _0x86c0f3=_0x3fe07c,{unitID:_0x41a132}=_0x22a282,{history:_0x1dff5d,collaboration:_0x56c777}=this[_0x86c0f3(0x226)]['getStateCache'](_0x41a132);if(_0x1dff5d[_0x86c0f3(0x1d9)]===0x0&&_0x56c777[_0x86c0f3(0x1d9)]===0x0)return;const _0x35e2c1=[],_0x2bf752=[];let _0xcf2dac=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]),_0x37e4d4=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]);for(let _0x27e7eb=_0x1dff5d[_0x86c0f3(0x1d9)]-0x1;_0x27e7eb>=0x0;_0x27e7eb--){const _0x46b5aa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1dff5d[_0x27e7eb][_0x86c0f3(0x10e)],..._0x1dff5d[_0x27e7eb][_0x86c0f3(0x21b)]}},_0x1fd92c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1dff5d[_0x27e7eb][_0x86c0f3(0x10e)],..._0x1dff5d[_0x27e7eb][_0x86c0f3(0x1d6)]}},_0x3e4f8c=this['_transformService'][_0x86c0f3(0x244)](_0xcf2dac,_0x46b5aa,!0x1),_0x3d6b0d=this['_transformService'][_0x86c0f3(0x244)](_0x37e4d4,_0x1fd92c,!0x1);if(_0x373c55(_0x3e4f8c))throw _0x3e4f8c[_0x86c0f3(0x105)];if(_0x373c55(_0x3d6b0d))throw _0x3d6b0d[_0x86c0f3(0x105)];_0x35e2c1['unshift']({..._0x1dff5d[_0x27e7eb],'undoState':_0x3e4f8c[_0x86c0f3(0xc4)][_0x86c0f3(0x218)],'redoState':_0x3d6b0d[_0x86c0f3(0xc4)][_0x86c0f3(0x218)]}),_0xcf2dac=_0x3e4f8c[_0x86c0f3(0x140)],_0x37e4d4=_0x3d6b0d['m1Prime'];}_0xcf2dac=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]),_0x37e4d4=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]);for(let _0x23db85=_0x56c777['length']-0x1;_0x23db85>=0x0;_0x23db85--){const _0x2ea43a={'id':_0x86c0f3(0x1b7),'params':{'unitId':_0x56c777[_0x23db85][_0x86c0f3(0x10e)],..._0x56c777[_0x23db85]['undoState']}},_0x41fad1={'id':_0x86c0f3(0x1b7),'params':{'unitId':_0x56c777[_0x23db85]['unitId'],..._0x56c777[_0x23db85][_0x86c0f3(0x1d6)]}},_0x2eb89e=this[_0x86c0f3(0x1f8)][_0x86c0f3(0x244)](_0xcf2dac,_0x2ea43a,!0x1),_0x2dec06=this['_transformService'][_0x86c0f3(0x244)](_0x37e4d4,_0x41fad1,!0x1);if(_0x373c55(_0x2eb89e))throw _0x2eb89e[_0x86c0f3(0x105)];if(_0x373c55(_0x2dec06))throw _0x2dec06[_0x86c0f3(0x105)];_0x2bf752[_0x86c0f3(0x1ac)]({..._0x56c777[_0x23db85],'undoState':_0x2eb89e['m2Prime']['params'],'redoState':_0x2dec06[_0x86c0f3(0xc4)][_0x86c0f3(0x218)]}),_0xcf2dac=_0x2eb89e[_0x86c0f3(0x140)],_0x37e4d4=_0x2dec06[_0x86c0f3(0x140)];}this['_docStateChangeManagerService']['setStateCache'](_0x41a132,{'history':_0x35e2c1,'collaboration':_0x2bf752});}};re=nn([Ce(0x0,_0x4187e9(_0x1672f7)),Ce(0x1,_0x564f5c),Ce(0x2,_0x4187e9(_0x1389a5))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x296533,_0x56e2a,_0x188d80,_0x42f26c)=>{const _0x28a938=_0x3fe07c;for(var _0x2e6be6=_0x42f26c>0x1?void 0x0:_0x42f26c?rn(_0x56e2a,_0x188d80):_0x56e2a,_0x38c915=_0x296533[_0x28a938(0x1d9)]-0x1,_0x156448;_0x38c915>=0x0;_0x38c915--)(_0x156448=_0x296533[_0x38c915])&&(_0x2e6be6=_0x156448(_0x2e6be6)||_0x2e6be6);return _0x2e6be6;},tt=(_0x5b65cc,_0x525b07)=>(_0xdf8417,_0xd45b89)=>_0x525b07(_0xdf8417,_0xd45b89,_0x5b65cc);let oe=class{constructor(_0x215151,_0xa41d94){const _0x2034d1=_0x3fe07c;this[_0x2034d1(0x222)]=_0x215151,this['_transformService']=_0xa41d94;}[_0x3fe07c(0xf2)](_0x2cba9f){const _0x2b2ddc=_0x3fe07c;var _0x2e857a;const _0x3e8330=this[_0x2b2ddc(0x222)]['get'](_0x16b225),_0x4613b8=(_0x2e857a=_0x3e8330['getDocRanges']())!=null?_0x2e857a:[];if(_0x4613b8[_0x2b2ddc(0x1d9)]===0x0)return;const _0x4d60cf=_0x2cba9f[_0x2b2ddc(0xe7)],_0x812cb3=[{'id':_0x2b2ddc(0x1b7),'params':{'unitId':_0x4d60cf,'actions':null,'textRanges':_0x4613b8}}],_0xa4276a=this[_0x2b2ddc(0x1f8)]['transformMutationsWithChangeset'](_0x2cba9f,_0x812cb3);if(!_0x4f3a6b(_0xa4276a))throw _0xa4276a[_0x2b2ddc(0x105)];const _0x753cb6=_0xa4276a[_0x2b2ddc(0xc4)][0x0][_0x2b2ddc(0x218)]['textRanges'];Array[_0x2b2ddc(0x147)](_0x753cb6)&&_0x753cb6[_0x2b2ddc(0x1d9)]&&_0x3e8330[_0x2b2ddc(0x1b5)](_0x753cb6,{'unitId':_0x4d60cf,'subUnitId':_0x4d60cf},!0x1);}};oe=on([tt(0x0,_0x4187e9(_0x1672f7)),tt(0x1,_0x564f5c)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x347805,_0x52607f,_0x3db584,_0xb1a385)=>{const _0x9e804b=_0x3fe07c;for(var _0x57560f=_0xb1a385>0x1?void 0x0:_0xb1a385?an(_0x52607f,_0x3db584):_0x52607f,_0x145249=_0x347805[_0x9e804b(0x1d9)]-0x1,_0x58daa4;_0x145249>=0x0;_0x145249--)(_0x58daa4=_0x347805[_0x145249])&&(_0x57560f=_0x58daa4(_0x57560f)||_0x57560f);return _0x57560f;},U=(_0x194baf,_0x41e7ab)=>(_0x43e374,_0x2f485b)=>_0x41e7ab(_0x43e374,_0x2f485b,_0x194baf);let ae=class extends _0x4ae93a{constructor(_0x3ea1e3,_0x5906c9,_0x4abd07,_0x470969,_0x1c8dad,_0x132284,_0x5569eb,_0x4c7178){const _0x4608fd=_0x3fe07c;super(),_(this,'_status$',new _0x690e2a(_0x3c4f39[_0x4608fd(0x29e)])),(this[_0x4608fd(0x226)]=_0x3ea1e3,this[_0x4608fd(0x240)]=_0x5906c9,this[_0x4608fd(0x103)]=_0x4abd07,this[_0x4608fd(0x250)]=_0x470969,this['_docTransformSelectionsService']=_0x1c8dad,this[_0x4608fd(0x17f)]=_0x132284,this['_messageService']=_0x5569eb,this[_0x4608fd(0x287)]=_0x4c7178,this[_0x4608fd(0x1e0)]());}['_initEntityListener'](){const _0x2141a9=_0x3fe07c;this[_0x2141a9(0x1da)](this[_0x2141a9(0x240)][_0x2141a9(0xdb)]['subscribe'](_0x31e62f=>{const _0x3fd4f9=_0x2141a9,_0x18db30=this[_0x3fd4f9(0x226)][_0x3fd4f9(0x1a2)][_0x3fd4f9(0x1c6)](_0x1cc0e8=>{const _0x28b266=_0x3fd4f9;if(_0x1cc0e8==null)return;const {unitId:_0x28143e,redoState:_0x463b61,commandId:_0xebb0c2}=_0x1cc0e8;if(_0x28143e!==_0x31e62f['unitID'])return;const _0x3abc79={'id':_0xebb0c2,'type':_0x4d6697[_0x28b266(0x249)],'params':{'unitId':_0x28143e,'actions':_0x463b61[_0x28b266(0x12d)],'textRanges':null}};_0x31e62f[_0x28b266(0x19a)](_0x3abc79);});if(_0x31e62f[_0x3fd4f9(0x1da)](_0x18db30),_0x31e62f instanceof _0x2b94de){const _0x18ea49={'onTransformIME':_0x1fd554=>this[_0x3fd4f9(0x103)][_0x3fd4f9(0xec)](_0x1fd554),'onTransformState':_0x23f013=>this[_0x3fd4f9(0x250)][_0x3fd4f9(0x132)](_0x23f013),'onTransformSelections':_0x51d95d=>this[_0x3fd4f9(0x18c)][_0x3fd4f9(0xf2)](_0x51d95d),'onSyncEditingCollabCursor':_0x4f1698=>this['_docSyncEditingCollabCursorService'][_0x3fd4f9(0x2be)](_0x4f1698),'onTransformRemoteChangesetByIMECache':_0x3326bf=>this[_0x3fd4f9(0x103)]['transformRemoteChangeset'](_0x3326bf),'onTransformRemoteChangesetByStateCache':_0x1a137d=>this[_0x3fd4f9(0x250)][_0x3fd4f9(0x16a)](_0x1a137d)};_0x31e62f[_0x3fd4f9(0x265)](_0x18ea49);}}));}};ae=cn([U(0x0,_0x4187e9(_0x1389a5)),U(0x1,_0x4187e9(_0x3b8716)),U(0x2,_0x4187e9(ne)),U(0x3,_0x4187e9(re)),U(0x4,_0x4187e9(oe)),U(0x5,_0x4187e9(He)),U(0x6,_0x4e146e),U(0x7,_0x4187e9(_0x49d863))],ae);var ln=Object[_0x3fe07c(0x128)],_n=(_0x2e445e,_0x4dce11,_0x230956,_0x33b631)=>{for(var _0x59df7e=_0x33b631>0x1?void 0x0:_0x33b631?ln(_0x4dce11,_0x230956):_0x4dce11,_0x358943=_0x2e445e['length']-0x1,_0x33351c;_0x358943>=0x0;_0x358943--)(_0x33351c=_0x2e445e[_0x358943])&&(_0x59df7e=_0x33351c(_0x59df7e)||_0x59df7e);return _0x59df7e;},Ee=(_0x12327e,_0x2221ac)=>(_0x6ebbab,_0x523e31)=>_0x2221ac(_0x6ebbab,_0x523e31,_0x12327e);let Le=class extends _0x4ae93a{constructor(_0x27f222,_0xef619,_0x5e83a3){const _0x335540=_0x3fe07c;super(),_(this,_0x335540(0x269),new Map()),_(this,_0x335540(0xd6),new Map()),_(this,_0x335540(0x278),!0x1),(this['_configService']=_0x27f222,this[_0x335540(0x2b5)]=_0xef619,this[_0x335540(0x146)]=_0x5e83a3);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3fe07c(0x1b9)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x35f4=_0x3fe07c;return this[_0x35f4(0xd6)];}['dispose'](){const _0x506816=_0x3fe07c;this['exhaustSavingTask']()[_0x506816(0x17d)](()=>super['dispose']());}async['loadOfflineData'](_0x3f0fa0){const _0x54b04c=_0x3fe07c;return this[_0x54b04c(0x278)]?null:this['_localStorageService'][_0x54b04c(0x1c5)](_0x2ead2f(_0x3f0fa0));}async[_0x3fe07c(0x23c)](_0x30df5c,_0x1a6874){const _0x6a7521=_0x3fe07c;return!!this[_0x6a7521(0x2b5)][_0x6a7521(0x14c)](_0x30df5c,_0x1a6874);}[_0x3fe07c(0x1eb)](_0x1aefdd,_0x1149b0,_0x2c669a,_0xa59291){const _0x631efd=_0x3fe07c,_0x44bbe8=this[_0x631efd(0x146)][_0x631efd(0x1ec)](_0x1aefdd);this[_0x631efd(0x269)][_0x631efd(0x1ef)](_0x1aefdd,{'unitID':_0x1aefdd,'type':_0x1149b0,'awaitingChangeset':_0x2c669a,'mutations':_0xa59291,'rev':_0x44bbe8}),this[_0x631efd(0xd6)][_0x631efd(0x22f)](_0x1aefdd)||this[_0x631efd(0x264)](_0x1aefdd);}['_scheduleSaving'](_0x37b806){const _0x44a2e4=_0x3fe07c,_0x5e5b89=this[_0x44a2e4(0x162)]();_0x5e5b89===0x0?this['_saveCache'](_0x37b806):this[_0x44a2e4(0xd6)][_0x44a2e4(0x1ef)](_0x37b806,setTimeout(()=>this[_0x44a2e4(0x1ee)](_0x37b806),_0x5e5b89));}[_0x3fe07c(0x162)](){const _0x1347e8=_0x3fe07c;var _0x479458;return(_0x479458=this[_0x1347e8(0x26c)][_0x1347e8(0x1e1)](_0x170981))!=null?_0x479458:_0x2c135c;}[_0x3fe07c(0x1ee)](_0x22b900){const _0x21d006=_0x3fe07c,_0x4413e0=this[_0x21d006(0xd6)]['get'](_0x22b900);return _0x4413e0!==void 0x0&&window[_0x21d006(0x2b0)](_0x4413e0),this[_0x21d006(0x2b5)][_0x21d006(0x14c)](_0x2ead2f(_0x22b900),this[_0x21d006(0x269)][_0x21d006(0x173)](_0x22b900))[_0x21d006(0x17d)](()=>this[_0x21d006(0xd6)]['delete'](_0x22b900));}async[_0x3fe07c(0x1f6)](){const _0x54da80=_0x3fe07c,_0x3e0c9c=[];this[_0x54da80(0xd6)]['forEach']((_0x5e9c01,_0x2e8e71)=>{const _0x589967=_0x54da80;window['clearTimeout'](_0x5e9c01),_0x3e0c9c[_0x589967(0x2b4)](this[_0x589967(0x1ee)](_0x2e8e71)[_0x589967(0x17d)](()=>{this['_saveTaskMap']['delete'](_0x2e8e71);}));}),await Promise[_0x54da80(0x1d2)](_0x3e0c9c);}};Le=_n([Ee(0x0,_0x3c0c1f),Ee(0x1,_0x5b506c),Ee(0x2,_0x4187e9(_0x305c24))],Le);class hn extends _0x5b4113{constructor(){const _0x190fa4=_0x3fe07c;super(),_(this,'urlChange$'),this[_0x190fa4(0x263)]=_0x3cb40a(window,_0x190fa4(0x2ba))[_0x190fa4(0x115)](_0x30fec2(this['dispose$']),_0x56f6da(0x1),_0x3deec(void 0x0));}[_0x3fe07c(0xf6)](_0x1a3c1f,_0x1f2190,_0x12bb35=!0x1){const _0x5030db=_0x3fe07c,_0x2b71be=new URL(window['location']['href']);_0x2b71be[_0x5030db(0x27c)]['set'](_0x1a3c1f,_0x1f2190),_0x12bb35?window['history'][_0x5030db(0xed)]('','',_0x2b71be[_0x5030db(0x113)]()):window[_0x5030db(0x101)]['pushState']('','',_0x2b71be[_0x5030db(0x113)]());}[_0x3fe07c(0x1d5)](_0x3c29f9,_0x5f32ed=!0x1){const _0x226645=_0x3fe07c,_0x3337d5=new URL(window[_0x226645(0x1a9)]['href']);_0x3337d5[_0x226645(0x27c)][_0x226645(0x2b8)](_0x3c29f9),_0x5f32ed?window[_0x226645(0x101)]['replaceState']('','',_0x3337d5[_0x226645(0x113)]()):window[_0x226645(0x101)][_0x226645(0x2c7)]('','',_0x3337d5[_0x226645(0x113)]());}[_0x3fe07c(0x1d3)](_0x4c3ba9){const _0x25ace8=_0x3fe07c;var _0x2ad81f;return(_0x2ad81f=new URL(window[_0x25ace8(0x1a9)]['href'])[_0x25ace8(0x27c)][_0x25ace8(0x173)](_0x4c3ba9))!=null?_0x2ad81f:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x3fe07c(0x128)],fn=(_0x34102a,_0x132439,_0x9163ce)=>_0x132439 in _0x34102a?un(_0x34102a,_0x132439,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9163ce}):_0x34102a[_0x132439]=_0x9163ce,Sn=(_0x2a2d56,_0x1a6856,_0x4e3b5e,_0x3dcf0a)=>{for(var _0x3eaf18=_0x3dcf0a>0x1?void 0x0:_0x3dcf0a?dn(_0x1a6856,_0x4e3b5e):_0x1a6856,_0x556106=_0x2a2d56['length']-0x1,_0x3f6b54;_0x556106>=0x0;_0x556106--)(_0x3f6b54=_0x2a2d56[_0x556106])&&(_0x3eaf18=_0x3f6b54(_0x3eaf18)||_0x3eaf18);return _0x3eaf18;},Oe=(_0x5dcf5b,_0x5ba4c3)=>(_0xe7bebc,_0xb7bf81)=>_0x5ba4c3(_0xe7bebc,_0xb7bf81,_0x5dcf5b),mn=(_0x7771a2,_0x3f9a9b,_0x2223eb)=>fn(_0x7771a2,_0x3f9a9b+'',_0x2223eb);const In=_0x3fe07c(0x145);function _0x1112(_0x1ba75c,_0x55907c){const _0x252b5a=_0x252b();return _0x1112=function(_0x1112b0,_0x4e2473){_0x1112b0=_0x1112b0-0xc2;let _0x513fe6=_0x252b5a[_0x1112b0];return _0x513fe6;},_0x1112(_0x1ba75c,_0x55907c);}let Ae=class extends _0xf91a5e{constructor(_0x2491d8=et,_0x4a58f9,_0x542bf9,_0x3dd401){const _0x177109=_0x3fe07c;super(),this['_config']=_0x2491d8,this[_0x177109(0x2af)]=_0x4a58f9,this[_0x177109(0x222)]=_0x542bf9,this[_0x177109(0x26c)]=_0x3dd401;const {..._0x40b780}=_0x569c1f({},et,this['_config']);this[_0x177109(0x26c)][_0x177109(0xde)](Zi,_0x40b780);}[_0x3fe07c(0xef)](){const _0x2bd7ca=_0x3fe07c;this[_0x2bd7ca(0xc9)](),this[_0x2bd7ca(0x28a)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x26dd52=_0x3fe07c;var _0xc39c04;const _0x3ac327=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xa47742,{'useClass':_0x5d5f78}],[_0x5d25ea,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x1814ea(this['_injector'],_0x163cd9(_0x3ac327,(_0xc39c04=this[_0x26dd52(0xf3)])==null?void 0x0:_0xc39c04[_0x26dd52(0x14d)]));}[_0x3fe07c(0x22e)](){const _0x33ac8b=_0x3fe07c;this['disposeWithMe'](this[_0x33ac8b(0x2af)][_0x33ac8b(0x279)](_0x3b6e52[_0x33ac8b(0x104)],[we])),this['disposeWithMe'](this[_0x33ac8b(0x2af)]['registerRenderModule'](_0x3b6e52[_0x33ac8b(0x236)],[Pe]));}[_0x3fe07c(0x28a)](){_0x1a976f(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3fe07c(0x12a),In),Ae=Sn([_0x5864a5(_0x511650),Oe(0x1,_0x3ecb9c),Oe(0x2,_0x4187e9(_0x1672f7)),Oe(0x3,_0x3c0c1f)],Ae);var gn=Object[_0x3fe07c(0x128)],vn=(_0x555290,_0x3be888,_0x380141,_0x11eb05)=>{const _0x5f41ca=_0x3fe07c;for(var _0x29022b=_0x11eb05>0x1?void 0x0:_0x11eb05?gn(_0x3be888,_0x380141):_0x3be888,_0x5777ef=_0x555290[_0x5f41ca(0x1d9)]-0x1,_0x2bf101;_0x5777ef>=0x0;_0x5777ef--)(_0x2bf101=_0x555290[_0x5777ef])&&(_0x29022b=_0x2bf101(_0x29022b)||_0x29022b);return _0x29022b;},K=(_0x1e4ee4,_0x2d6a0f)=>(_0x3fc0f7,_0x132a37)=>_0x2d6a0f(_0x3fc0f7,_0x132a37,_0x1e4ee4);let st=class extends _0x49c644{constructor(_0x2ac08f,_0x51bb1a,_0x1d7b44,_0x3e4ea9,_0x11224b){super(_0x2ac08f,_0x51bb1a,_0x1d7b44,_0x3e4ea9,_0x11224b);}async[_0x3fe07c(0x296)](_0x129ce9){const _0x7dcaee=_0x3fe07c,_0x675454=await this[_0x7dcaee(0x17b)](),_0x31c431=this['_createSocketURL'](_0x129ce9,_0x675454);return this['_doCreateSocket'](_0x31c431);}['_createSocketURL'](_0x169be4,_0x502c67){const _0x2fc4e8=_0x3fe07c,_0x1f4426=typeof window>'u'?new URL(_0x169be4):new URL(_0x169be4,window[_0x2fc4e8(0x1a9)][_0x2fc4e8(0x184)]);_0x1f4426[_0x2fc4e8(0x27c)][_0x2fc4e8(0x1ef)](_0x2fc4e8(0xd4),_0x502c67);const _0x7eb5c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2fc4e8(0x18a)]);return _0x7eb5c9[_0x2fc4e8(0x173)](_0x2fc4e8(0x2c1))&&_0x1f4426['searchParams'][_0x2fc4e8(0x1ef)](_0x2fc4e8(0x2c1),_0x7eb5c9['get'](_0x2fc4e8(0x2c1))),_0x1f4426['toString']();}async[_0x3fe07c(0x17b)](){const _0x5f568e=_0x3fe07c;var _0x4b7dbf,_0x41c80a,_0x2af43d;const _0x216b8e=this['_configService'][_0x5f568e(0x1e1)](_0x1bfd1c),_0x17c513=(_0x4b7dbf=_0x216b8e==null?void 0x0:_0x216b8e[_0x5f568e(0xc6)])!=null?_0x4b7dbf:_0x48bb34;return(_0x2af43d=(_0x41c80a=(await this[_0x5f568e(0x102)][_0x5f568e(0x173)](_0x17c513,{'headers':{'Content-Type':_0x5f568e(0x1f2)}}))[_0x5f568e(0x150)])==null?void 0x0:_0x41c80a[_0x5f568e(0x21f)])!=null?_0x2af43d:'';}};st=vn([K(0x0,_0x4187e9(_0x1672f7)),K(0x1,_0x4187e9(_0x158b8c)),K(0x2,_0x3c0c1f),K(0x3,_0x569bac),K(0x4,_0x2c1c94)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x4ae93a{constructor(){const _0x2804aa=_0x3fe07c;super(),_(this,'_id',_0x107dc5()),_(this,_0x2804aa(0x25c),new Set()),_(this,_0x2804aa(0x10b),new Map()),_(this,_0x2804aa(0x15a),null),_(this,_0x2804aa(0x1e4),new Map()),_(this,_0x2804aa(0x148),new Map()),this['_init']();}[_0x3fe07c(0xf7)](){const _0x596f83=_0x3fe07c;super[_0x596f83(0xf7)](),this[_0x596f83(0x1e4)][_0x596f83(0x197)]((_0x26aadb,_0x4bef5e)=>this[_0x596f83(0x2cd)](_0x4bef5e)),this[_0x596f83(0x15a)]&&window['clearInterval'](this[_0x596f83(0x15a)]);}[_0x3fe07c(0x19b)](_0x3bde8d){const _0x605112=_0x3fe07c;return this[_0x605112(0x193)](_0x3bde8d)[_0x605112(0x115)](_0xc82f4f());}[_0x3fe07c(0x13d)](_0x312636){const _0x33502e=_0x3fe07c;this[_0x33502e(0x25c)][_0x33502e(0x176)]===0x0&&this['_scheduleHeartbeat'](),this[_0x33502e(0x25c)][_0x33502e(0x1f4)](_0x312636),this['_send']({'type':0x0,'memberID':this[_0x33502e(0x19e)],'unitIDs':[_0x312636],'isForwarded':!0x1});}['disposeUnit'](_0x3890dc){const _0x124ab6=_0x3fe07c;this[_0x124ab6(0x25c)][_0x124ab6(0x2b8)](_0x3890dc),this[_0x124ab6(0x25c)][_0x124ab6(0x176)]===0x0&&this[_0x124ab6(0x15a)]&&window[_0x124ab6(0x109)](this[_0x124ab6(0x15a)]);}[_0x3fe07c(0x220)](){const _0x5cd26a=_0x3fe07c;this[_0x5cd26a(0x1da)](_0x36985b(_0x3cb40a(window,_0x5cd26a(0x291))[_0x5cd26a(0x1c6)](_0x3fd1a9=>{const _0x586ec9=_0x5cd26a;if(_0x3fd1a9[_0x586ec9(0x172)]!==nt||!_0x3fd1a9[_0x586ec9(0x11f)])return;const _0x499be8=JSON[_0x586ec9(0x21a)](_0x3fd1a9['newValue']);this[_0x586ec9(0x234)](_0x499be8);}))),window[_0x5cd26a(0x119)](_0x5cd26a(0x1ea),()=>this[_0x5cd26a(0x297)]({'type':0x1,'memberID':this[_0x5cd26a(0x19e)],'unitIDs':Array['from'](this[_0x5cd26a(0x25c)])}));}[_0x3fe07c(0x234)](_0x13e8cf){const _0x47c05e=_0x3fe07c;switch(_0x13e8cf['type']){case 0x0:this[_0x47c05e(0x161)](_0x13e8cf);break;case 0x1:this[_0x47c05e(0x194)](_0x13e8cf);break;case 0x2:this[_0x47c05e(0x1bd)](_0x13e8cf);break;}}[_0x3fe07c(0x161)](_0x1819f8){const _0x404b88=_0x3fe07c,{unitIDs:_0x21497a,memberID:_0x776774,isForwarded:_0x329af9}=_0x1819f8;_0x21497a['forEach'](_0x5c729c=>{const _0x214e62=_0x1112;if(!_0x329af9&&this[_0x214e62(0x10b)]['has'](_0x5c729c)&&this[_0x214e62(0x193)](_0x5c729c)[_0x214e62(0x1d8)](_0x28da64['OTHER_CLIENTS_EDITING']),!this[_0x214e62(0x10b)][_0x214e62(0x22f)](_0x5c729c)||!this[_0x214e62(0x10b)][_0x214e62(0x173)](_0x5c729c)[_0x214e62(0x22f)](_0x776774)){const _0x14c163=this[_0x214e62(0x10b)]['get'](_0x5c729c)||new Set();_0x14c163[_0x214e62(0x1f4)](_0x776774),this[_0x214e62(0x10b)]['set'](_0x5c729c,_0x14c163),this[_0x214e62(0x10c)](_0x776774);}}),_0x329af9||this['_send']({'type':0x0,'memberID':this[_0x404b88(0x19e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x302630){const _0x51baf5=_0x3fe07c;this[_0x51baf5(0x2cd)](_0x302630);const _0x716801=window[_0x51baf5(0xc7)](()=>{const _0x204229=_0x51baf5;this[_0x204229(0x10b)][_0x204229(0x197)](_0x5249db=>{_0x5249db['delete'](_0x302630);});},it*0x2);this[_0x51baf5(0x1e4)][_0x51baf5(0x1ef)](_0x302630,_0x716801);}[_0x3fe07c(0x2cd)](_0x57bf62){const _0x1340a6=_0x3fe07c;if(this[_0x1340a6(0x1e4)]['has'](_0x57bf62)){const _0x208bf=this[_0x1340a6(0x1e4)]['get'](_0x57bf62);_0x208bf&&window[_0x1340a6(0x2b0)](_0x208bf),this[_0x1340a6(0x1e4)][_0x1340a6(0x1ef)](_0x57bf62,null);}}['_handleLeaveEvent'](_0x46c797){const _0x5a4e83=_0x3fe07c,{memberID:_0x551938,unitIDs:_0x503dd3}=_0x46c797;_0x503dd3[_0x5a4e83(0x197)](_0x1077bf=>{const _0xe10f09=_0x5a4e83;var _0x46a34d;const _0x2b56f2=this['_unitOnClients'][_0xe10f09(0x173)](_0x1077bf);_0x2b56f2&&(_0x2b56f2[_0xe10f09(0x2b8)](_0x551938),(_0x46a34d=this['_ensureSubject'](_0x1077bf))==null||_0x46a34d['next'](_0x2b56f2[_0xe10f09(0x176)]===0x0?_0x28da64[_0xe10f09(0xc8)]:_0x28da64[_0xe10f09(0x2b2)]));}),this['_removeClearOtherTimer'](_0x551938);}[_0x3fe07c(0x1bd)](_0x318417){const _0x54e425=_0x3fe07c;this[_0x54e425(0x10c)](_0x318417[_0x54e425(0x230)]);}[_0x3fe07c(0x297)](_0x17edd2){const _0xbcd48=_0x3fe07c;localStorage[_0xbcd48(0x14c)](nt,JSON[_0xbcd48(0x20c)](_0x17edd2));}['_scheduleHeartbeat'](){const _0x55d9a4=_0x3fe07c;this[_0x55d9a4(0x15a)]=window[_0x55d9a4(0x2b6)](()=>{const _0xf139d1=_0x55d9a4;this[_0xf139d1(0x297)]({'type':0x2,'memberID':this[_0xf139d1(0x19e)]});},it);}[_0x3fe07c(0x193)](_0x19c0b5){const _0x595232=_0x3fe07c;return this[_0x595232(0x148)][_0x595232(0x22f)](_0x19c0b5)||this[_0x595232(0x148)][_0x595232(0x1ef)](_0x19c0b5,new _0x690e2a(_0x28da64[_0x595232(0xc8)])),this['_unitStatus']['get'](_0x19c0b5);}}var Mt=(_0x2ad11b=>(_0x2ad11b[_0x2ad11b[_0x3fe07c(0x118)]=0x0]=_0x3fe07c(0x118),_0x2ad11b[_0x2ad11b['OK']=0x1]='OK',_0x2ad11b[_0x2ad11b['INTERNAL_ERROR']=0x2]=_0x3fe07c(0x131),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x2ab)]=0x3]='PERMISSION_DENIED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0xdd)]=0x4]=_0x3fe07c(0xdd),_0x2ad11b[_0x2ad11b['UNAUTHENTICATED']=0x5]=_0x3fe07c(0x10f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x11d)]=0x6]='ALREADY_EXISTS',_0x2ad11b[_0x2ad11b['INVALID_ARGUMENT']=0x7]=_0x3fe07c(0x26a),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x255)]=0x8]=_0x3fe07c(0x255),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x21e)]=0x9]='COMPLETION_FINISHED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x1fa)]=0xa]=_0x3fe07c(0x1fa),_0x2ad11b[_0x2ad11b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3fe07c(0x1e8),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x2ce)]=0x1771]=_0x3fe07c(0x2ce),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x28d)]=0x1772]=_0x3fe07c(0x28d),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x13c)]=0x1773]=_0x3fe07c(0x13c),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x136)]=0x1b59]='APPLY_REJECT',_0x2ad11b[_0x2ad11b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3fe07c(0x100),_0x2ad11b[_0x2ad11b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3fe07c(0x25b),_0x2ad11b[_0x2ad11b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3fe07c(0x168),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x199)]=0x1b5d]=_0x3fe07c(0x199),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x152)]=0x1f41]=_0x3fe07c(0x152),_0x2ad11b[_0x2ad11b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3fe07c(0x241),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x257)]=0x232a]=_0x3fe07c(0x257),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x253)]=0x232b]=_0x3fe07c(0x253),_0x2ad11b[_0x2ad11b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x12c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2ad11b[_0x2ad11b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3fe07c(0x227),_0x2ad11b[_0x2ad11b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3fe07c(0x2ae),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x13b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2ad11b[_0x2ad11b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3fe07c(0x298),_0x2ad11b[_0x2ad11b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x1ca)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2ad11b[_0x2ad11b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3fe07c(0x13f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x28f)]=0x271d]=_0x3fe07c(0x28f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x144)]=0x271e]=_0x3fe07c(0x144),_0x2ad11b[_0x2ad11b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3fe07c(0x266),_0x2ad11b[_0x2ad11b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3fe07c(0x159),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x196)]=0x2ee1]=_0x3fe07c(0x196),_0x2ad11b[_0x2ad11b[_0x3fe07c(0xf0)]=0x2ee2]=_0x3fe07c(0xf0),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x19f)]=0x2ee3]=_0x3fe07c(0x19f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x209)]=0x2ee4]=_0x3fe07c(0x209),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x198)]=0x2ee5]=_0x3fe07c(0x198),_0x2ad11b[_0x2ad11b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3fe07c(0xd5),_0x2ad11b[_0x2ad11b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x248)]=0x32cb]=_0x3fe07c(0x248),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x23f)]=-0x1]=_0x3fe07c(0x23f),_0x2ad11b))(Mt||{}),pn=Object[_0x3fe07c(0x128)],Cn=(_0x8f27f9,_0x9488c3,_0x1f0714,_0x57d597)=>{const _0x4536f7=_0x3fe07c;for(var _0x446c64=_0x57d597>0x1?void 0x0:_0x57d597?pn(_0x9488c3,_0x1f0714):_0x9488c3,_0x54d73c=_0x8f27f9[_0x4536f7(0x1d9)]-0x1,_0x148ce0;_0x54d73c>=0x0;_0x54d73c--)(_0x148ce0=_0x8f27f9[_0x54d73c])&&(_0x446c64=_0x148ce0(_0x446c64)||_0x446c64);return _0x446c64;},be=(_0x32b0f1,_0x53c357)=>(_0x2e02cb,_0x2126ba)=>_0x53c357(_0x2e02cb,_0x2126ba,_0x32b0f1);let rt=class extends _0x4ae93a{constructor(_0x3bd2db,_0x5e7ef8,_0x48d745){const _0x40660a=_0x3fe07c;super(),this[_0x40660a(0x1f3)]=_0x3bd2db,this['_httpService']=_0x5e7ef8,this[_0x40660a(0x26c)]=_0x48d745;}async[_0x3fe07c(0x1cb)](_0x5e208a,_0x1a5c4e,_0x1da9d0,..._0x312975){const _0x4ddcc3=_0x3fe07c;var _0x160b35,_0xcd9302,_0x2d8e46,_0x2de47f;const _0x1785e2=this['_instanceService']['getFocusedUnit']();if(!_0x1785e2)throw new Error(_0x4ddcc3(0x107));const _0x36cdc6=((_0x160b35=this[_0x4ddcc3(0x26c)][_0x4ddcc3(0x1e1)](_0x3f4390))!=null?_0x160b35:_0x26747e)+'/'+_0x5e208a+_0x4ddcc3(0xf1)+_0x1a5c4e,_0x4fc7e5=new URL(window[_0x4ddcc3(0x1a9)][_0x4ddcc3(0x2d0)]),_0xb620a={'scriptId':_0x5e208a,'runId':(_0xcd9302=_0x4fc7e5[_0x4ddcc3(0x27c)][_0x4ddcc3(0x173)](_0x4ddcc3(0x2c1)))!=null?_0xcd9302:'','function':_0x1a5c4e,'unitId':_0x1785e2[_0x4ddcc3(0x139)](),'argsOfFunction':JSON[_0x4ddcc3(0x20c)](_0x312975),'invokeId':(_0x2d8e46=_0x1da9d0[_0x4ddcc3(0x1b8)])!=null?_0x2d8e46:'','executionId':(_0x2de47f=_0x1da9d0['executionId'])!=null?_0x2de47f:''};try{const _0xc8ca98=await this[_0x4ddcc3(0x102)]['post'](_0x36cdc6,{'body':_0xb620a});return _0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0x105)]&&_0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0x105)][_0x4ddcc3(0x16f)]!==Mt['OK']?_0x4ddcc3(0x276):_0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0xd2)];}catch{return _0x4ddcc3(0x276);}}};rt=Cn([be(0x0,_0xbf54a8),be(0x1,_0x4187e9(_0x158b8c)),be(0x2,_0x3c0c1f)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x11102a=_0xc8eb;(function(_0x2b1852,_0x42eb42){const _0x510e49=_0xc8eb,_0x19aea0=_0x2b1852();while(!![]){try{const _0x3b7517=parseInt(_0x510e49(0x241))/0x1+-parseInt(_0x510e49(0x17b))/0x2*(-parseInt(_0x510e49(0x2c4))/0x3)+-parseInt(_0x510e49(0x25e))/0x4+-parseInt(_0x510e49(0x32d))/0x5+-parseInt(_0x510e49(0x162))/0x6*(-parseInt(_0x510e49(0x24a))/0x7)+-parseInt(_0x510e49(0x30b))/0x8*(-parseInt(_0x510e49(0x2af))/0x9)+-parseInt(_0x510e49(0x1d5))/0xa;if(_0x3b7517===_0x42eb42)break;else _0x19aea0['push'](_0x19aea0['shift']());}catch(_0x53e2b9){_0x19aea0['push'](_0x19aea0['shift']());}}}(_0xe248,0x22d99));var $t=Object[_0x11102a(0x1ff)],xt=(_0x4c40b0,_0x32ab79,_0x54396c)=>_0x32ab79 in _0x4c40b0?$t(_0x4c40b0,_0x32ab79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54396c}):_0x4c40b0[_0x32ab79]=_0x54396c,_=(_0x2e123d,_0x52ab69,_0x502887)=>xt(_0x2e123d,typeof _0x52ab69!='symbol'?_0x52ab69+'':_0x52ab69,_0x502887);import{MemberService as _0x79b54c,SessionStatus as _0x1bff1a,CollaborationSessionService as _0x5e39bb,CollaborationStatus as _0x3ba4cf,CollaborationController as _0x264a80,ILocalCacheService as _0x446f94,CollaborationUIEventService as _0x46c267,CollaborationUIEventId as _0x13cee5,DataLoaderService as _0x5a9907,DocCollaborationEntity as _0x4e9ce3,getLocalCacheKey as _0x4fed79,LOCAL_CACHE_INTERVAL as _0x222bd9,LOCAL_CACHE_INTERVAL_KEY as _0x14a91f,UniverCollaborationClientPlugin as _0x2e3f41,CollaborationSocketService as _0x28b61e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x282098,DEFAULT_WS_SESSION_TICKET_URL as _0x3b56b7,UnitStatus as _0x3be58a,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1f9421,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2519e2}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xf7e603,Disposable as _0x1e23b2,DOC_RANGE_TYPE as _0x1eb50e,Inject as _0x2b4285,Injector as _0x131769,IUniverInstanceService as _0x54e5d5,ICommandService as _0x885899,debounce as _0x57954a,Rectangle as _0x4bbe18,DisposableCollection as _0x2db557,toDisposable as _0x16a2f8,UniverInstanceType as _0x3b94d5,Tools as _0x3e7bec,COLORS as _0x388ba7,ColorKit as _0x16dcf2,ThemeService as _0x374feb,fromEventSubject as _0x5786b2,LocaleService as _0xc5702f,createIdentifier as _0x4a2169,ILogService as _0x5a56cf,Optional as _0x445f4e,Workbook as _0x91c858,CommandType as _0x13016e,IConfigService as _0xf1e632,ILocalStorageService as _0x5d1384,DependentOn as _0x3ea885,Plugin as _0x253812,merge as _0x44a670,registerDependencies as _0x3e1560,mergeOverrideWithDependencies as _0xa80361,touchDependencies as _0x34c0ac,generateRandomId as _0x2f5f12}from'@univerjs/core';import{Shape as _0xadd1ac,Rect as _0x5ed7c1,getColor as _0x17298f,RegularPolygon as _0x71e1f0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x154000,Vector2 as _0xeb53d3,SHEET_VIEWPORT_KEY as _0x2e1b09,IRenderManagerService as _0x34f773}from'@univerjs/engine-render';import{ISocketService as _0x2d5b91,WebSocketService as _0x32ace2,HTTPService as _0x47bc19}from'@univerjs/network';import{IDocClipboardService as _0x54ba93,NodePositionConvertToCursor as _0x2c6f4a,NodePositionConvertToRectRange as _0x349e43,TEXT_RANGE_LAYER_INDEX as _0x166b09,SetDocZoomRatioOperation as _0x576c22,DocIMEInputManagerService as _0x5a180c,DocStateChangeManagerService as _0x49a5b3}from'@univerjs/docs-ui';import{IImageIoService as _0x152e08}from'@univerjs/drawing';import{BehaviorSubject as _0xad1a80,debounceTime as _0x58e862,takeUntil as _0x55f565,Subject as _0x294105,filter as _0xf0a46d,switchMap as _0x347f14,merge as _0x4f108f,combineLatest as _0x32f60d,of as _0x26a8ed,fromEvent as _0x537e26,shareReplay as _0xa38cc,mapTo as _0x2dda93,distinctUntilChanged as _0x2ba715}from'rxjs';import{ITransformService as _0x550cc8,CollaborationEvent as _0xf9dc51,isTransformMutationFailure as _0x516825,isTransformMutationsWithChangesetSuccess as _0x354fb2,RevisionService as _0x1da2b4,ISnapshotServerService as _0xc355f}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1f5131,RichTextEditingMutation as _0x27315b,DocSelectionManagerService as _0x5ab09f,DocSkeletonManagerService as _0x5cfb09}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x130b43,serializeRangeWithSheet as _0x42df7d}from'@univerjs/engine-formula';import{RefRangeService as _0x5a0490,SetSelectionsOperation as _0x224cfe,SheetsSelectionsService as _0x2c9320,EffectRefRangId as _0x47ccfe,handleIRemoveRow as _0x1c66e5,handleIRemoveCol as _0x5da65a,handleMoveRange as _0x4687aa,handleInsertRow as _0x233f88,handleInsertRangeMoveRight as _0x8026f2,handleInsertRangeMoveDown as _0x4f53d4,handleInsertCol as _0x44a35b,handleDeleteRangeMoveUp as _0x4ee4bc,handleDeleteRangeMoveLeft as _0x25deba,runRefRangeMutations as _0x48872f,SetWorksheetActivateCommand as _0x59c869}from'@univerjs/sheets';import{map as _0x4d6b70,filter as _0x400b0b,throttleTime as _0x307d1f,takeUntil as _0x369251,switchMap as _0x6b1cc1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x518ede,getCoordByCell as _0x484613,getSheetObject as _0x28c00f}from'@univerjs/sheets-ui';import{jsx as _0x193097,jsxs as _0x1a5a25}from'react/jsx-runtime';import{useObservable as _0x1e589e,useDependency as _0x22e9d8,IUIPartsService as _0x50b4fe,BuiltInUIPart as _0x237207,connectInjector as _0x582e99,IBeforeCloseService as _0x278e92,IMessageService as _0x5d8759,INotificationService as _0x1772d6}from'@univerjs/ui';import{Tooltip as _0x34b52f,clsx as _0x13f964,MessageType as _0x4aba64}from'@univerjs/design';import{forwardRef as _0x3b58f1,useRef as _0x17b31e,createElement as _0x5e3fde,useCallback as _0x5327b3}from'react';import{IRemoteInstanceService as _0x1317ad}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1f744d,_0x5064ac,_0x5c23c1,_0xa30c0)=>{for(var _0x468783=_0xa30c0>0x1?void 0x0:_0xa30c0?ci(_0x5064ac,_0x5c23c1):_0x5064ac,_0x5c58e2=_0x1f744d['length']-0x1,_0x4dfeab;_0x5c58e2>=0x0;_0x5c58e2--)(_0x4dfeab=_0x1f744d[_0x5c58e2])&&(_0x468783=_0x4dfeab(_0x468783)||_0x468783);return _0x468783;},Je=(_0x9d0ed6,_0x1c494d)=>(_0x23ec54,_0x46ca43)=>_0x1c494d(_0x23ec54,_0x46ca43,_0x9d0ed6);let Ne=class extends _0xf7e603{constructor(_0x41eb44,_0x5a640c){const _0x7b7954=_0x11102a;super(),this[_0x7b7954(0x243)]=_0x41eb44,this[_0x7b7954(0x1b5)]=_0x5a640c,this['_init']();}[_0x11102a(0x1b7)](){const _0x645597=_0x11102a,_0x487241=this;this['disposeWithMe'](this[_0x645597(0x243)][_0x645597(0x2bb)]({'onBeforePasteImage':async _0x42efbb=>{const _0x1b3182=_0x645597,_0x96dd47=await _0x487241['_imageIoService'][_0x1b3182(0x2e0)](_0x42efbb);return _0x96dd47?{'source':_0x96dd47[_0x1b3182(0x2d3)],'imageSourceType':_0x96dd47['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x54ba93),Je(0x1,_0x152e08)],Ne);const Ze=[_0x11102a(0x21f),_0x11102a(0x2de),_0x11102a(0x1c2),'red.300',_0x11102a(0x2b2),'yellow.400'];class ke extends _0x1e23b2{constructor(){const _0x3ce709=_0x11102a;super(...arguments),_(this,_0x3ce709(0x269),new Map()),_(this,'_colorIndex',0x0);}[_0x11102a(0x27e)](_0x577369){const _0x278027=_0x11102a;if(this['_assignedColors'][_0x278027(0x22c)](_0x577369))return this[_0x278027(0x269)][_0x278027(0x320)](_0x577369);const _0x3549b3=Ze[this['_colorIndex']];return this[_0x278027(0x315)]=(this[_0x278027(0x315)]+0x1)%Ze[_0x278027(0x19b)],this['_assignedColors'][_0x278027(0x1eb)](_0x577369,_0x3549b3),_0x3549b3;}}function Tt(_0x4f0d08){let _0x2668d9='';for(const _0x57abfe of _0x4f0d08){const {startOffset:_0x4c50ff,endOffset:_0x4e04dd,isActive:_0x43f1bb,rangeType:_0x4d6ae2,segmentId:_0x1ccb11,segmentPage:_0x3e036f}=_0x57abfe;_0x2668d9['length']&&(_0x2668d9+=','),_0x2668d9+=_0x4c50ff+':'+_0x4e04dd+':'+(_0x43f1bb?'1':'0')+':'+_0x4d6ae2+':'+_0x1ccb11+':'+_0x3e036f;}return _0x2668d9;}function _i(_0xc801f1){const _0x4b2872=_0x11102a,_0x2067f5=_0xc801f1[_0x4b2872(0x2f5)](','),_0x3f0f51=[];for(const _0x33436d of _0x2067f5){const [_0x2778e4,_0x317e4a,_0x29014d,_0x126329,_0x3af146,_0x2151a3]=_0x33436d['split'](':');_0x3f0f51[_0x4b2872(0x2ac)]({'startOffset':Number(_0x2778e4),'endOffset':Number(_0x317e4a),'collapsed':_0x2778e4===_0x317e4a,'isActive':_0x29014d==='1','rangeType':_0x126329===_0x1eb50e[_0x4b2872(0x1aa)]?_0x1eb50e[_0x4b2872(0x1aa)]:_0x1eb50e['RECT'],'segmentId':typeof _0x3af146==_0x4b2872(0x21a)?String(_0x3af146):'','segmentPage':Number(_0x2151a3!=null?_0x2151a3:-0x1)});}return _0x3f0f51[_0x4b2872(0x256)](_0x1f3e34=>_0x1f3e34[_0x4b2872(0x19a)])||(_0x3f0f51[0x0][_0x4b2872(0x19a)]=!0x0),_0x3f0f51;}class He extends _0xf7e603{constructor(){const _0x4c0945=_0x11102a;super(...arguments),_(this,_0x4c0945(0x17d),new _0xad1a80(null)),_(this,'collabCursorState$',this[_0x4c0945(0x17d)][_0x4c0945(0x30e)]());}['syncEditingCollabCursor'](_0x100b84){const _0x3ababb=_0x11102a,{unitID:_0x304dd3,memberID:_0x33aa12,textRanges:_0x3c0f09}=_0x100b84,_0x20de24=Tt(_0x3c0f09);if(_0x20de24==='')return;const _0x46d3e0={'unitID':_0x304dd3,'memberID':_0x33aa12,'selection':_0x20de24};this[_0x3ababb(0x17d)][_0x3ababb(0x24d)](_0x46d3e0);}}var hi=Object[_0x11102a(0x1a4)],ui=(_0x40fcc2,_0x4e7735,_0x367d22,_0x53cf4c)=>{const _0x40859c=_0x11102a;for(var _0x4ce08e=_0x53cf4c>0x1?void 0x0:_0x53cf4c?hi(_0x4e7735,_0x367d22):_0x4e7735,_0x1c681f=_0x40fcc2[_0x40859c(0x19b)]-0x1,_0x294bb8;_0x1c681f>=0x0;_0x1c681f--)(_0x294bb8=_0x40fcc2[_0x1c681f])&&(_0x4ce08e=_0x294bb8(_0x4ce08e)||_0x4ce08e);return _0x4ce08e;},P=(_0x370547,_0x63fc7c)=>(_0x55eed9,_0x31132b)=>_0x63fc7c(_0x55eed9,_0x31132b,_0x370547);const di=0x12c,fi=0x64;let Ue=class extends _0xf7e603{constructor(_0x460d7f,_0x332fe8,_0x198bf0,_0x4725a5,_0x568c88,_0x498723,_0x3998ff,_0x55680f,_0x27f736){const _0x21e2e3=_0x11102a;super(),_(this,_0x21e2e3(0x2a8),!0x1),_(this,_0x21e2e3(0x1b7),!0x1),_(this,'_cursorInfo$',new _0xad1a80(new Map())),_(this,_0x21e2e3(0x1cb),this[_0x21e2e3(0x2d6)]['asObservable']()),_(this,_0x21e2e3(0x1e1),new _0xad1a80([])),_(this,_0x21e2e3(0x217),this[_0x21e2e3(0x1e1)][_0x21e2e3(0x16d)](_0x58e862(di))),_(this,_0x21e2e3(0x2c2),_0x57954a(_0x2b7ce8=>{const _0x1e736b=_0x21e2e3,_0x28c2b9={'eventID':_0xf9dc51[_0x1e736b(0x214)],'data':{'unitID':this[_0x1e736b(0x168)],'memberID':this[_0x1e736b(0x2b0)]['getMemberID'](),'selection':Tt(_0x2b7ce8)}};this[_0x1e736b(0x2b0)][_0x1e736b(0x2e2)](_0x28c2b9,this['unitID']);},fi)),(this[_0x21e2e3(0x168)]=_0x460d7f,this[_0x21e2e3(0x2b0)]=_0x332fe8,this[_0x21e2e3(0x1ac)]=_0x198bf0,this[_0x21e2e3(0x210)]=_0x4725a5,this[_0x21e2e3(0x1fd)]=_0x568c88,this[_0x21e2e3(0x1ec)]=_0x498723,this[_0x21e2e3(0x1ca)]=_0x3998ff,this['_univerInstanceService']=_0x55680f,this[_0x21e2e3(0x2ab)]=_0x27f736);}get['cursorInfo'](){const _0x509e48=_0x11102a;return this[_0x509e48(0x2d6)][_0x509e48(0x1fc)]();}get['roomMembers'](){const _0x2a1f68=_0x11102a;return this['_roomMembers$'][_0x2a1f68(0x1fc)]();}[_0x11102a(0x2f9)](){const _0x2640be=_0x11102a;super['dispose'](),this[_0x2640be(0x2d6)][_0x2640be(0x24d)](new Map()),this[_0x2640be(0x2d6)]['complete'](),this[_0x2640be(0x1e1)][_0x2640be(0x24d)]([]),this[_0x2640be(0x1e1)][_0x2640be(0x291)]();}['init'](){const _0x2d763e=_0x11102a;this[_0x2d763e(0x1b7)]||(this[_0x2d763e(0x1b7)]=!0x0,this[_0x2d763e(0x2b0)][_0x2d763e(0x1f5)]['pipe'](_0x55f565(this[_0x2d763e(0x262)]))[_0x2d763e(0x325)](_0x14aa93=>{const _0x3f61d5=_0x2d763e;_0x14aa93===_0x1bff1a[_0x3f61d5(0x2a5)]?this['_toggleOnline']():this[_0x3f61d5(0x233)]();}),this[_0x2d763e(0x2b0)][_0x2d763e(0x33a)][_0x2d763e(0x16d)](_0x55f565(this[_0x2d763e(0x262)]))[_0x2d763e(0x325)](_0x13bce6=>{const _0x18e80c=_0x2d763e,_0x117164=_0x13bce6[_0x18e80c(0x17f)];_0x117164===_0xf9dc51[_0x18e80c(0x214)]&&this[_0x18e80c(0x274)](_0x13bce6),_0x117164===_0xf9dc51[_0x18e80c(0x1b9)]&&this['_onCursorDelete'](_0x13bce6);}),this['disposeWithMe'](this[_0x2d763e(0x2ab)][_0x2d763e(0x2e8)](_0x5d22d4=>{const _0x1a4168=_0x2d763e,_0x4e6187=_0x5d22d4[_0x1a4168(0x28f)];_0x4e6187!=null&&this['_online']&&_0x5d22d4['id']===_0x1f5131['id']&&_0x4e6187[_0x1a4168(0x1ee)]===this[_0x1a4168(0x168)]&&_0x4e6187['isEditing']===!0x1&&_0x4e6187[_0x1a4168(0x2d5)][_0x1a4168(0x19b)]>0x0&&this[_0x1a4168(0x2c2)](_0x4e6187['ranges']);})),this[_0x2d763e(0x1ec)][_0x2d763e(0x35e)][_0x2d763e(0x16d)](_0x55f565(this[_0x2d763e(0x262)]))['subscribe'](_0x584b28=>{const _0x382681=_0x2d763e;if((_0x584b28==null?void 0x0:_0x584b28['unitID'])!==this[_0x382681(0x168)])return;const _0x24ba3b={'eventID':_0xf9dc51[_0x382681(0x214)],'data':_0x584b28};this[_0x382681(0x274)](_0x24ba3b);}),this[_0x2d763e(0x213)](this[_0x2d763e(0x2ab)]['onCommandExecuted'](_0x44358f=>{const _0x2503fa=_0x2d763e;if(_0x44358f['params']==null)return;const _0x1d59d9=_0x44358f[_0x2503fa(0x28f)];if(_0x44358f['id']!==_0x27315b['id']||_0x1d59d9[_0x2503fa(0x1ee)]!==this[_0x2503fa(0x168)])return;const _0x271eaa={'id':'doc.mutation.rich-text-editing','params':_0x1d59d9},_0x20536c=this[_0x2503fa(0x308)];for(const [_0x344401,_0x3b9b94]of _0x20536c){const _0x5d5344={'id':_0x2503fa(0x18e),'params':{'unitId':this[_0x2503fa(0x168)],'actions':null,'textRanges':_0x3b9b94[_0x2503fa(0x2d5)]}},_0x255dac=this['_transformService'][_0x2503fa(0x31b)](_0x271eaa,_0x5d5344,!0x1);if(_0x516825(_0x255dac))throw _0x255dac[_0x2503fa(0x28e)];_0x20536c[_0x2503fa(0x1eb)](_0x344401,{..._0x3b9b94,'ranges':_0x255dac[_0x2503fa(0x2e3)][_0x2503fa(0x28f)][_0x2503fa(0x29c)]});}queueMicrotask(()=>{const _0x35ae58=_0x2503fa;this[_0x35ae58(0x2d6)][_0x35ae58(0x24d)](_0x20536c);});})));}[_0x11102a(0x274)](_0x71b79){const _0x31a9a6=_0x11102a;var _0x4cf14d,_0x552e72;const {memberID:_0x45089a,selection:_0x1874e2}=_0x71b79[_0x31a9a6(0x16b)],_0x109789=_i(_0x1874e2),_0xdef6d8=(_0x552e72=(_0x4cf14d=this['_memberService']['getMember'](this[_0x31a9a6(0x168)],_0x45089a))==null?void 0x0:_0x4cf14d[_0x31a9a6(0x186)])!=null?_0x552e72:_0x31a9a6(0x277),_0x2dd95a={'color':this[_0x31a9a6(0x210)][_0x31a9a6(0x27e)](_0x45089a),'name':_0xdef6d8,'ranges':_0x109789},_0x426ec3=this[_0x31a9a6(0x308)];_0x426ec3['set'](_0x45089a,_0x2dd95a),this[_0x31a9a6(0x2d6)][_0x31a9a6(0x24d)](_0x426ec3);}[_0x11102a(0x2a1)](_0x5255ed){const _0x335bd0=_0x11102a,{memberID:_0x130ccd}=_0x5255ed[_0x335bd0(0x16b)],_0x1dfe90=this[_0x335bd0(0x308)];_0x1dfe90[_0x335bd0(0x25a)](_0x130ccd),this[_0x335bd0(0x2d6)][_0x335bd0(0x24d)](_0x1dfe90);}[_0x11102a(0x28c)](){const _0xd841e0=_0x11102a;var _0x171d2c;if(this[_0xd841e0(0x2a8)]=!0x0,((_0x171d2c=this[_0xd841e0(0x176)]['getFocusedUnit']())==null?void 0x0:_0x171d2c[_0xd841e0(0x2f2)]())!==this[_0xd841e0(0x168)])return;const _0x4e4487=this['_injector'][_0xd841e0(0x320)](_0x5ab09f)[_0xd841e0(0x1e6)]();Array[_0xd841e0(0x2d0)](_0x4e4487)&&_0x4e4487[_0xd841e0(0x19b)]>0x0&&this[_0xd841e0(0x2c2)](_0x4e4487);}[_0x11102a(0x233)](){const _0x393501=_0x11102a;this[_0x393501(0x2a8)]=!0x1;}};Ue=ui([P(0x2,_0x2b4285(_0x131769)),P(0x3,_0x2b4285(ke)),P(0x4,_0x2b4285(_0x79b54c)),P(0x5,_0x2b4285(He)),P(0x6,_0x550cc8),P(0x7,_0x54e5d5),P(0x8,_0x885899)],Ue);var Si=Object[_0x11102a(0x1a4)],mi=(_0x23c77b,_0x44d17c,_0x262904,_0x4bf1d8)=>{const _0x2267db=_0x11102a;for(var _0x467f8a=_0x4bf1d8>0x1?void 0x0:_0x4bf1d8?Si(_0x44d17c,_0x262904):_0x44d17c,_0x121a00=_0x23c77b[_0x2267db(0x19b)]-0x1,_0x2ee6b8;_0x121a00>=0x0;_0x121a00--)(_0x2ee6b8=_0x23c77b[_0x121a00])&&(_0x467f8a=_0x2ee6b8(_0x467f8a)||_0x467f8a);return _0x467f8a;},x=(_0xe21405,_0x44ac56)=>(_0x3a774c,_0x35617c)=>_0x44ac56(_0x3a774c,_0x35617c,_0xe21405);const Ii=0x12c,gi=0x64,vi=()=>{let _0x324bcd=[],_0x30ac5c=!0x1;return _0x37b2bd=>{_0x324bcd['push'](_0x37b2bd),_0x30ac5c||(_0x30ac5c=!0x0,setTimeout(()=>{const _0x45a90e=_0xc8eb;_0x324bcd[_0x45a90e(0x28b)](_0x1b7031=>_0x1b7031()),_0x324bcd=[],_0x30ac5c=!0x1;}));};};let Me=class extends _0xf7e603{constructor(_0x5cf7e0,_0x36ef5b,_0x40fdad,_0x20e817,_0x2a1808,_0x40f816,_0x3a5981,_0x3c2c85){const _0x482e17=_0x11102a;super(),_(this,'_online',!0x1),_(this,_0x482e17(0x1b7),!0x1),_(this,_0x482e17(0x2d6),new _0xad1a80(new Map())),_(this,'cursorInfo$',this[_0x482e17(0x2d6)][_0x482e17(0x30e)]()),_(this,'_roomMembers$',new _0xad1a80([])),_(this,'roomMembers$',this[_0x482e17(0x1e1)][_0x482e17(0x16d)](_0x58e862(Ii))),_(this,_0x482e17(0x2c2),_0x57954a((_0x3e0c8a,_0x1bd4e1)=>{const _0x1f6eb9=_0x482e17,_0x4057c1={'eventID':_0xf9dc51[_0x1f6eb9(0x214)],'data':{'unitID':this['unitID'],'memberID':this[_0x1f6eb9(0x2b0)][_0x1f6eb9(0x223)](),'selection':_0x42df7d(_0x3e0c8a,_0x1bd4e1[_0x1f6eb9(0x234)])}};this[_0x1f6eb9(0x2b0)]['send'](_0x4057c1,this[_0x1f6eb9(0x168)]);},gi)),(this[_0x482e17(0x168)]=_0x5cf7e0,this[_0x482e17(0x2b0)]=_0x36ef5b,this[_0x482e17(0x1ac)]=_0x40fdad,this[_0x482e17(0x210)]=_0x20e817,this[_0x482e17(0x1fd)]=_0x2a1808,this['_univerInstanceService']=_0x40f816,this[_0x482e17(0x2ab)]=_0x3a5981,this[_0x482e17(0x2b8)]=_0x3c2c85);}get[_0x11102a(0x308)](){const _0x3aa161=_0x11102a;return this['_cursorInfo$'][_0x3aa161(0x1fc)]();}get['roomMembers'](){const _0x2e0376=_0x11102a;return this[_0x2e0376(0x1e1)]['getValue']();}[_0x11102a(0x2f9)](){const _0x3e13dd=_0x11102a;super[_0x3e13dd(0x2f9)](),this[_0x3e13dd(0x2d6)]['next'](new Map()),this[_0x3e13dd(0x2d6)][_0x3e13dd(0x291)](),this[_0x3e13dd(0x1e1)][_0x3e13dd(0x24d)]([]),this[_0x3e13dd(0x1e1)][_0x3e13dd(0x291)]();}[_0x11102a(0x2a4)](){const _0x3d3f71=_0x11102a;this[_0x3d3f71(0x1b7)]||(this[_0x3d3f71(0x1b7)]=!0x0,this['_session'][_0x3d3f71(0x1f5)][_0x3d3f71(0x16d)](_0x55f565(this[_0x3d3f71(0x262)]))[_0x3d3f71(0x325)](_0x1f8fac=>{const _0x49b190=_0x3d3f71;_0x1f8fac===_0x1bff1a[_0x49b190(0x2a5)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x55f565(this[_0x3d3f71(0x262)]))[_0x3d3f71(0x325)](_0x2e82a7=>{const _0x44aba5=_0x3d3f71,_0x3ae0d2=_0x2e82a7[_0x44aba5(0x17f)];_0x3ae0d2===_0xf9dc51[_0x44aba5(0x214)]&&this[_0x44aba5(0x274)](_0x2e82a7),_0x3ae0d2===_0xf9dc51[_0x44aba5(0x1b9)]&&this[_0x44aba5(0x2a1)](_0x2e82a7);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x3d3f71(0x2ab)][_0x3d3f71(0x2e8)](_0x5edb8a=>{const _0x39d2f6=_0x3d3f71;if(this['_online']&&_0x5edb8a['id']===_0x224cfe['id']&&_0x5edb8a[_0x39d2f6(0x28f)]['unitId']===this[_0x39d2f6(0x168)]){const _0x1581da=_0x5edb8a[_0x39d2f6(0x28f)];this['_updateLocalCursor'](_0x1581da[_0x39d2f6(0x330)],_0x1581da[_0x39d2f6(0x1e4)][0x0]);}})));}[_0x11102a(0x274)](_0x40d379){const _0x34d2de=_0x11102a;var _0x583f1d,_0x1d5499;const {memberID:_0x49370f,selection:_0x1e0bff}=_0x40d379[_0x34d2de(0x16b)],{sheetName:_0x37d785,range:_0x289e4c}=_0x130b43(_0x1e0bff),_0x56eef0={'name':(_0x1d5499=(_0x583f1d=this[_0x34d2de(0x1fd)][_0x34d2de(0x161)](this[_0x34d2de(0x168)],_0x49370f))==null?void 0x0:_0x583f1d[_0x34d2de(0x186)])!=null?_0x1d5499:_0x34d2de(0x277),'range':this['_getMergeRange'](_0x37d785,_0x289e4c),'sheetID':_0x37d785,'color':this[_0x34d2de(0x210)][_0x34d2de(0x27e)](_0x49370f),'selection':_0x1e0bff},_0x277397=this[_0x34d2de(0x308)];_0x277397[_0x34d2de(0x1eb)](_0x49370f,_0x56eef0),this[_0x34d2de(0x2d6)][_0x34d2de(0x24d)](_0x277397);}[_0x11102a(0x2a1)](_0x5b250d){const _0xa5f537=_0x11102a,{memberID:_0x398404}=_0x5b250d[_0xa5f537(0x16b)],_0x1717b2=this[_0xa5f537(0x308)];_0x1717b2[_0xa5f537(0x25a)](_0x398404),this[_0xa5f537(0x2d6)][_0xa5f537(0x24d)](_0x1717b2);}['_getMergeRange'](_0x1c13d8,_0x2cd0cd){const _0x47ced9=_0x11102a;var _0x161351,_0x2ecd01;const _0x135ec2=(_0x2ecd01=(_0x161351=this[_0x47ced9(0x176)][_0x47ced9(0x1f4)](this[_0x47ced9(0x168)]))==null?void 0x0:_0x161351['getSheetBySheetId'](_0x1c13d8))==null?void 0x0:_0x2ecd01[_0x47ced9(0x1ba)]();return(_0x135ec2==null?void 0x0:_0x135ec2[_0x47ced9(0x343)](_0xe612c1=>_0x4bbe18[_0x47ced9(0x189)](_0xe612c1,_0x2cd0cd)))||_0x2cd0cd;}[_0x11102a(0x191)](){const _0x4c634d=_0x11102a,_0x2da459=new _0x2db557(),_0x10ed1d=vi(),_0xaf6e53=()=>{const _0x21454c=_0xc8eb;_0x2da459[_0x21454c(0x2f9)]();const _0x23a342=(_0x350c6a,_0x11f5d3,_0x253198,_0x3fcbbf)=>{const _0x5db312=_0x21454c;let _0x35a132=[];switch(_0x350c6a['id']){case _0x47ccfe[_0x5db312(0x19d)]:{_0x35a132=_0x25deba(_0x350c6a,_0x3fcbbf);break;}case _0x47ccfe[_0x5db312(0x267)]:{_0x35a132=_0x4ee4bc(_0x350c6a,_0x3fcbbf);break;}case _0x47ccfe[_0x5db312(0x2ca)]:{_0x35a132=_0x44a35b(_0x350c6a,_0x3fcbbf);break;}case _0x47ccfe['InsertRangeMoveDownCommandId']:{_0x35a132=_0x4f53d4(_0x350c6a,_0x3fcbbf);break;}case _0x47ccfe[_0x5db312(0x2a6)]:{_0x35a132=_0x8026f2(_0x350c6a,_0x3fcbbf);break;}case _0x47ccfe[_0x5db312(0x23d)]:{_0x35a132=_0x233f88(_0x350c6a,_0x3fcbbf);break;}case _0x47ccfe[_0x5db312(0x2b6)]:{_0x35a132=_0x4687aa(_0x350c6a,_0x3fcbbf);break;}case _0x47ccfe[_0x5db312(0x199)]:{_0x35a132=_0x5da65a(_0x350c6a,_0x3fcbbf);break;}case _0x47ccfe[_0x5db312(0x29a)]:{_0x35a132=_0x1c66e5(_0x350c6a,_0x3fcbbf);break;}}const _0x2e0e11=_0x48872f(_0x35a132,_0x3fcbbf),_0x1aaccf=this[_0x5db312(0x308)][_0x5db312(0x320)](_0x11f5d3);if(_0x1aaccf&&_0x2e0e11){const _0x1fa42e={..._0x1aaccf,'range':_0x2e0e11};this[_0x5db312(0x308)][_0x5db312(0x1eb)](_0x11f5d3,_0x1fa42e),_0x10ed1d(()=>{const _0x5201ca=_0x5db312,_0x5b4bfd=this['_refRangeService'][_0x5201ca(0x2a7)](_0x2e0e11,_0x303959=>(_0x5b4bfd[_0x5201ca(0x2f9)](),_0x23a342(_0x303959,_0x11f5d3,_0x253198,_0x2e0e11)));_0x2da459['add'](_0x5b4bfd);});}return{'redos':[],'undos':[]};};this[_0x21454c(0x308)]['forEach']((_0x42f45f,_0x5c8fa6)=>{const _0x249a66=_0x21454c,{range:_0x10bada,sheetID:_0x37e6bf}=_0x42f45f,_0x152428=this[_0x249a66(0x2b8)][_0x249a66(0x2a7)](_0x10bada,_0x307e32=>(_0x152428['dispose'](),_0x23a342(_0x307e32,_0x5c8fa6,_0x37e6bf,_0x10bada)));_0x2da459[_0x249a66(0x2fa)](_0x152428);});};this[_0x4c634d(0x213)](_0x16a2f8(this[_0x4c634d(0x2d6)][_0x4c634d(0x325)](()=>{_0xaf6e53();})));}[_0x11102a(0x28c)](){const _0x513cb5=_0x11102a;var _0x334240,_0x4c7e2d;if(this[_0x513cb5(0x2a8)]=!0x0,((_0x334240=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x334240['getUnitId']())!==this['unitID'])return;const _0x2a6bc7=(_0x4c7e2d=this[_0x513cb5(0x1ac)][_0x513cb5(0x320)](_0x2c9320)[_0x513cb5(0x35b)]())==null?void 0x0:_0x4c7e2d[0x0],_0x9e5b83=this[_0x513cb5(0x176)][_0x513cb5(0x231)](_0x3b94d5[_0x513cb5(0x2d9)])[_0x513cb5(0x245)]();_0x2a6bc7&&_0x9e5b83&&this[_0x513cb5(0x2c2)](_0x9e5b83[_0x513cb5(0x363)](),_0x2a6bc7);}['_toggleOffline'](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x2b4285(_0x131769)),x(0x3,_0x2b4285(ke)),x(0x4,_0x2b4285(_0x79b54c)),x(0x5,_0x54e5d5),x(0x6,_0x885899),x(0x7,_0x2b4285(_0x5a0490))],Me);var pi=Object[_0x11102a(0x1a4)],Ci=(_0x41eca4,_0x43dcfd,_0x24689e,_0x31ccef)=>{for(var _0x509f9b=_0x31ccef>0x1?void 0x0:_0x31ccef?pi(_0x43dcfd,_0x24689e):_0x43dcfd,_0xd42f1e=_0x41eca4['length']-0x1,_0xd9c341;_0xd42f1e>=0x0;_0xd42f1e--)(_0xd9c341=_0x41eca4[_0xd42f1e])&&(_0x509f9b=_0xd9c341(_0x509f9b)||_0x509f9b);return _0x509f9b;},Se=(_0x21be24,_0x55796f)=>(_0x1b0685,_0x2535b4)=>_0x55796f(_0x1b0685,_0x2535b4,_0x21be24);let H=class extends _0xf7e603{constructor(_0x3643da,_0x3ca00a,_0x2c8e67){const _0x21f219=_0x11102a;super(),_(this,_0x21f219(0x209),new Map()),_(this,_0x21f219(0x20f),new _0x294105()),(this[_0x21f219(0x176)]=_0x3643da,this[_0x21f219(0x1ac)]=_0x3ca00a,this[_0x21f219(0x1dd)]=_0x2c8e67,this[_0x21f219(0x1b7)]());}[_0x11102a(0x2f9)](){const _0x5e15d2=_0x11102a;super[_0x5e15d2(0x2f9)](),this[_0x5e15d2(0x20f)]['complete'](),this[_0x5e15d2(0x209)][_0x5e15d2(0x28b)](_0x11cd6f=>_0x11cd6f[_0x5e15d2(0x2f9)]());}[_0x11102a(0x22a)](_0x855eca){const _0x13f72a=_0x11102a;return this[_0x13f72a(0x209)][_0x13f72a(0x22c)](_0x855eca)?this[_0x13f72a(0x209)]['get'](_0x855eca)['cursorInfo$']:this[_0x13f72a(0x20f)]['pipe'](_0xf0a46d(_0x5568b2=>_0x5568b2[_0x13f72a(0x168)]===_0x855eca),_0x347f14(_0x20a8d7=>_0x20a8d7[_0x13f72a(0x1cb)]));}['_init'](){const _0x316ed1=_0x11102a;this[_0x316ed1(0x176)][_0x316ed1(0x336)](_0x3b94d5['UNIVER_SHEET'])[_0x316ed1(0x16d)](_0x55f565(this['dispose$']))['subscribe'](async _0x5b3aba=>{const _0x103d79=_0x316ed1,_0x24fc07=_0x5b3aba[_0x103d79(0x2f2)](),_0x150d43=await this[_0x103d79(0x2f1)](_0x24fc07);this[_0x103d79(0x20f)][_0x103d79(0x24d)](_0x150d43),this[_0x103d79(0x209)][_0x103d79(0x1eb)](_0x24fc07,_0x150d43);}),this[_0x316ed1(0x176)][_0x316ed1(0x336)](_0x3b94d5[_0x316ed1(0x20e)])['pipe'](_0x55f565(this['dispose$']))['pipe'](_0xf0a46d(_0x13c5a8=>!_0x13c5a8['getUnitId']()[_0x316ed1(0x2c8)]('__')))['subscribe'](async _0x4444f6=>{const _0xb2c1a0=_0x316ed1,_0x4d2f02=_0x4444f6['getUnitId'](),_0x32e1a4=await this['_startDocCollabCursor'](_0x4d2f02);this[_0xb2c1a0(0x20f)][_0xb2c1a0(0x24d)](_0x32e1a4),this['_entities'][_0xb2c1a0(0x1eb)](_0x4d2f02,_0x32e1a4);}),_0x4f108f(this[_0x316ed1(0x176)][_0x316ed1(0x322)](_0x3b94d5['UNIVER_DOC']),this[_0x316ed1(0x176)][_0x316ed1(0x322)](_0x3b94d5[_0x316ed1(0x2d9)]))[_0x316ed1(0x16d)](_0x55f565(this[_0x316ed1(0x262)]))[_0x316ed1(0x325)](_0xf68a29=>{const _0x3f2297=_0x316ed1,_0x37a2a3=_0xf68a29[_0x3f2297(0x2f2)](),_0x3315b9=this[_0x3f2297(0x209)][_0x3f2297(0x320)](_0x37a2a3);_0x3315b9&&(_0x3315b9[_0x3f2297(0x2f9)](),this[_0x3f2297(0x209)][_0x3f2297(0x25a)](_0x37a2a3));});}async[_0x11102a(0x2f1)](_0x430d55){const _0x4a4078=_0x11102a,_0x19ead3=await this['_collabSessionService'][_0x4a4078(0x347)](_0x430d55),_0xd96e13=this['_injector'][_0x4a4078(0x1af)](Me,_0x430d55,_0x19ead3);return _0xd96e13[_0x4a4078(0x2a4)](),_0xd96e13;}async[_0x11102a(0x2d2)](_0x42781e){const _0x2e9c6a=_0x11102a,_0xb90225=await this[_0x2e9c6a(0x1dd)][_0x2e9c6a(0x347)](_0x42781e),_0x5df53a=this[_0x2e9c6a(0x1ac)][_0x2e9c6a(0x1af)](Ue,_0x42781e,_0xb90225);return _0x5df53a[_0x2e9c6a(0x2a4)](),_0x5df53a;}};H=Ci([Se(0x0,_0x54e5d5),Se(0x1,_0x2b4285(_0x131769)),Se(0x2,_0x2b4285(_0x5e39bb))],H);function _0xe248(){const _0x304008=['drawWith','CLOSE_ROOM','[CollaborationDataLoaderController]','restore','ALREADY_EXISTS','FETCH_MISS','getOwnPropertyDescriptor','getParam','YUUMI_NO_CUBOID_FOR_QUESTION','indexOf','_eventUnsubscribe','TOO_MANY_REQUESTS','TEXT','fill','_injector','_registerRenderDependencies','_localStorageService','createInstance','div','_shapes','transformStateCache','mutations','UNDEFINED','_imageIoService','YUUMI_ALL_TABLES_IS_INVALID','_init','COMPLETION_FINISHED','USERS_LEAVE','getMergeData','addHandlerCallback','href','LICENSE_IMPORT_SIZE_EXCEEDED','CONNECTOR_DATA_TOO_LARGE','row','subunit','beginPath','green.600','OnLineIcon','#FFF','NOT_FOUND','assign','searchParams','UNRECOGNIZED','_name','_transformService','cursorInfo$','text','getItem','_configService','max','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','top','collabStatus.notCollab','executeCommand','evenodd','1810580JKwthJ','includes','width','Error','MUTATION','_cursor','svg','currentTheme$','_collabSessionService','size','children','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_roomMembers$','_updateURLWithCurrentState','http://www.w3.org/2000/svg','selections','sheetId','getDocRanges','collab-text-range-','className','SUBMIT_CHANGESET_TIMEOUT','skeleton','set','_syncEditingCollabCursorService','_handleHeartbeatEvent','unitId','_instanceService','subscribeEvent','save','_cursors','fillRule','getUniverSheetInstance','sessionStatus$','from','min','toString','height','_createSocketURL','_cachedData','getValue','_memberService','_themeService','defineProperty','transformSelections','unshift','_status$','getUnhiddenWorksheets','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_HAS_BEEN_UES','runId','moveTo','_beforeCloseService','_entities','_collaborationController','_docSkeletonManagerService','_handleEvent','_hideTimer','UNIVER_DOC','_entityInit$','_colorAssignService','_getScale','PERMISSION_DENIED','disposeWithMe','UPDATE_CURSOR','LOGIN_FAILED','reconnect','roomMembers$','FromArray','pushState','string','url(#$1','editingUnit','_initEntityListener','random','purple.300','_lastPointer','then','_unitStatus','getMemberID','setTimeout','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','defIds','_transformPreviousActiveRange','toRgbString','uni.network.url-service','getCollabCursors$','result','has','PENDING','transform','YUUMI_RATE_OVER_LIMIT','_registerDependencies','getCurrentUnitForType','status$','_toggleOffline','range','collaboration-client.offline-data-not-saved','_labelPosition','collab-text-anchor-','path','search','measureText','session.collaboration-timeout','CHANGESET_REVISION_CONFILICT','InsertRowCommandId','wsSessionTicketUrl','getAncestorScale','_anchor','162929mDASdJ','_transformHistoryAndStateStack','_docClipboardService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getActiveSheet','_handleJoinEvent','mask','_localCacheService','fillStyle','1603735qzGESG','post','type','next','INVITE_CODE_REQUIRED','fillText','endRow','YUUMI_ASYNCIO_CANCELLED','onPointerMove$','code','getRangePointData','_dataLoaderService','some','resize','_getAnchorBounding','collab-rect-range-','delete','SNAPSHOT_HAS_BEEN_REMOVED','OTHER_CLIENTS_EDITING','onTransformChange$','1022332ckoAGZ','enableLocalCache','onPointerEnter$','SYNCED','dispose$','getSheetBySheetId','MOBILE_HAS_BEEN_BOUND','_draw','_scene','DeleteRangeMoveUpCommandId','origin','_assignedColors','column','actions','APPLY_NON_SEQUENTIAL_REVISION','none','_urlService','on-line-icon_clip0_910_349','xlink:href','exhaustSavingTask','bottom','registerRenderModule','_onCursorUpdate','YUUMI_CONNECTOR_URL_NOT_FOUND','labelPosition','Unknown\x20user','attrs','setUndoRedoMutationParamsCache','session.will-retry','_collabCursorController','_removeCollabCursors','_getSessionTicket','assignAColorForMemberID','updateOfflineData','collab-client.tooltip.reconnect','_hover','collabStatus.offline','m1Prime','_scheduleSaving','tag','trim','_saveCache','_removeClearOtherTimer','_heartbeatTimer','selection','forEach','_toggleOnline','0\x200\x2017\x2016','error','params','0\x200\x2016\x2016','complete','_setupSubUnitSync','currentColor','Warning','UNAUTHENTICATED','storage','_scheduleClearOtherTimer','url(#on-line-icon_clip0_910_349)','_drawAnchor','RemoveRowCommandId','idSuffix','textRanges','NOT_COLLAB','Failed','_context','YUUMI_SUBSCRIPTION_NOT_FOUND','_onCursorDelete','...','ticket','init','ONLINE','InsertRangeMoveRightCommandId','registerRefRange','_online','_handleLeaveEvent','stringify','_commandService','push','sheetID','_transformUndoRedoStack','142731SKlvFs','_session','getUndoRedoMutationParamsCache','blue.400','INTERNAL_ERROR','INVITE_CODE_ALREADY_BOUND','_selfUnitIDs','MoveRangeCommandId','EMAIL_HAS_BEEN_BOUND','_refRangeService','startColumn','white','addClipboardHook','loadOfflineData','AWAITING','_render','generateRandomId','_initStatusComponent','backgroundColor','_updateLocalCursor','univerjs-icon\x20univerjs-icon-','12813HOCIcl','_docTransformSelectionsService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','findNodePositionByCharIndex','startsWith','_drawTextRange','InsertColCommandId','EMAIL_VERIFY_CODE_MISMATCH','replaceState','LICENSE_MAX_UNITS_EXCEEDED','unload','_id','isArray','rgba(255,\x20255,\x20255,\x200.01)','_startDocCollabCursor','source','clipPath','ranges','_cursorInfo$','key','RECT','UNIVER_SHEET','history','HEADER_MENU','M0\x200H16V16H0z','currentSkeleton$','jiqing.500','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','saveImage','startRow','send','m2Prime','current','body','setItem','debug','onCommandExecuted','_docSkeleton','setParam','getConfig','translate(.97)','permission.title','CONFLICT','off-line-icon','setShapeProps','_startSheetCollabCursor','getUnitId','YUUMI_AI_RUN_FAILED','getStateCache','split','setConfig','hovered','_config','dispose','add','replaceDocRanges','pluginName','_anchorDot','_cursorShapes','_updateSubUnitFromURLParams','_initStatusListener','off-line-icon_clip0_910_343','_getSaveTimeout','_localeService','call','_handleHover','whenReady','APPLY_REVISION_CONFILICT','cursorInfo','JOIN_ROOM_FAILED','onPointerLeave$','56XtpqZF','transformByState','apply','asObservable','_docSyncEditingCollabCursorService','_collaborationUIEventService','createSocket','collabStatus.synced','transformIMECache','_document','_colorIndex','session.connection-failed','SOCKET_FAILED','lineTo','getActiveRange','1em','transformMutation','_updateCollabCursors','getOwnPropertySymbols','defs','LICENSE_DISTRO_REJECTED','get','INVALID_ARGUMENT','getTypeOfUnitDisposed$','substring','APPLY_DUPLICATED','subscribe','transformRemoteChangeset','concat','getOffsetConfig','with','_saveTaskMap','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_messageService','130825ktKXyX','saveOfflineData','_sheetSkeletonManagerService','subUnitId','unsubscribe','_initCommandExecutedListener','flatMap','function','endColumn','getTypeOfUnitAdded$','_range','parse','_drawRectRange','event$','syncEditingCollabCursor','onMouseMove','LICENSE_EXPORT_SIZE_EXCEEDED','_logService','clearTimeout','getSkeleton','MOBILE_VERIFY_CODE_MISMATCH','icon','find','map','_httpService','getUnitStatus$','requireSession','black','clearInterval','_clearOtherTimers','_refreshCollabCursors','popstate','hide','replace','/run/','OTHER_CLIENT_EDITING','APPLY_PERMISSION_DENIED','_color','runOnServer','unit','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_UNABLE_LOAD_URL','disposeUnit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformMutationsWithChangeset','collabStatus.syncing','getCurrentSelections','docStateChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabCursorState$','location','_ensureSubject','setActiveRange','values','getSheetId','deepClone','url(#off-line-icon_clip0_910_343)','_initResize','on-line-icon','_setupBeforeClosingHandler','override','prototype','show','urlChange$','getMember','6KebJkf','WECHAT_HAS_BEEN_BOUND','_textBubble','USER_NOT_INVITED_CODE','registerComponent','getRenderById','unitID','collabStatus.fetchMiss','font','data','focused$','pipe','closePath','_docStateChangeManagerService','displayName','undoState','round','getRelativeToViewportCoord','colorChannel1','setAlpha','_univerInstanceService','_scheduleHeartbeat','disableLocalCache','univer-flex\x20univer-items-center','_unitOnClients','48CXYnEc','_disabled','_collabCursorState$','_uiPartsService','eventID','_send','_renderManagerService','APPLY_REJECT','permission.content','hasOwnProperty','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','name','redoState','all','contains','_notificationService','getCurrent','_initDependencies','getCurrentRevOfUnit','doc.mutation.rich-text-editing','entries','SNAPSHOT_INVALID_SNAPSHOT','_onRefRangeChange','_docTransformIMECacheService','color','arc','_hovered','_backgroundColor','_docTransformStateCacheService','addObject','RemoveColCommandId','isActive','length','getColorFromTheme','DeleteRangeMoveLeftCommandId'];_0xe248=function(){return _0x304008;};return _0xe248();}const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x30cfab,_0x315c17){const _0x1b6112=_0x11102a;let {radius:_0x5bad33,width:_0x4473a1,height:_0x2b18e0}=_0x315c17;_0x5bad33=_0x5bad33!=null?_0x5bad33:0x0,_0x4473a1=_0x4473a1!=null?_0x4473a1:0x1e,_0x2b18e0=_0x2b18e0!=null?_0x2b18e0:0x1e;let _0x316cc5=0x0,_0x2fc5f8=0x0,_0x479ada=0x0;_0x316cc5=_0x2fc5f8=_0x479ada=Math[_0x1b6112(0x1f7)](_0x5bad33,_0x4473a1/0x2,_0x2b18e0/0x2),_0x30cfab[_0x1b6112(0x1c1)](),_0x30cfab[_0x1b6112(0x207)](_0x316cc5,0x0),_0x30cfab[_0x1b6112(0x318)](_0x4473a1-_0x2fc5f8,0x0),_0x30cfab[_0x1b6112(0x194)](_0x4473a1-_0x2fc5f8,_0x2fc5f8,_0x2fc5f8,Math['PI']*0x3/0x2,0x0,!0x1),_0x30cfab[_0x1b6112(0x318)](_0x4473a1,_0x2b18e0-_0x479ada),_0x30cfab['arc'](_0x4473a1-_0x479ada,_0x2b18e0-_0x479ada,_0x479ada,0x0,Math['PI']/0x2,!0x1),_0x30cfab[_0x1b6112(0x318)](0x0,_0x2b18e0),_0x30cfab[_0x1b6112(0x318)](0x0,_0x316cc5),_0x30cfab[_0x1b6112(0x194)](_0x316cc5,_0x316cc5,_0x316cc5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30cfab[_0x1b6112(0x16e)](),_0x315c17['fill']&&(_0x30cfab[_0x1b6112(0x1f1)](),_0x30cfab['fillStyle']=_0x315c17[_0x1b6112(0x1ab)],_0x315c17[_0x1b6112(0x1f3)]===_0x1b6112(0x1d4)?_0x30cfab[_0x1b6112(0x1ab)](_0x1b6112(0x1d4)):_0x30cfab[_0x1b6112(0x1ab)](),_0x30cfab[_0x1b6112(0x1a1)]());}class he extends _0xadd1ac{constructor(_0x4218b3,_0x373c0d){const _0x1b18d6=_0x11102a;super(_0x4218b3,_0x373c0d),_(this,_0x1b18d6(0x193)),_(this,_0x1b18d6(0x1cc)),(this[_0x1b18d6(0x193)]=_0x373c0d==null?void 0x0:_0x373c0d[_0x1b18d6(0x193)],this[_0x1b18d6(0x1cc)]=_0x373c0d==null?void 0x0:_0x373c0d[_0x1b18d6(0x1cc)]);}static['drawWith'](_0x4779b6,_0x4aeae5){const _0x1e0481=_0x11102a,{text:_0x4996f3,color:_0x3c99be}=_0x4aeae5;_0x4779b6[_0x1e0481(0x1f1)](),_0x4779b6[_0x1e0481(0x16a)]=_0x1e0481(0x225);const _0x443f32=_0x4779b6[_0x1e0481(0x23a)](_0x4996f3)[_0x1e0481(0x1d7)],_0x3535df=Math[_0x1e0481(0x1f7)](_0x443f32+0x2*me,Qe);Oi(_0x4779b6,{'height':ee,'radius':0x4,'width':_0x3535df,'fill':_0x3c99be}),_0x4779b6[_0x1e0481(0x249)]=_0x1e0481(0x1c4);const _0x4ac596=me,_0x12043d=ee-Ei,_0x455471=Qe-0x2*me;if(_0x443f32>_0x455471){let _0x5a5b76='',_0x531a7a=0x0;for(const _0x50a8fa of _0x4996f3){const _0x480718=_0x4779b6[_0x1e0481(0x23a)](_0x50a8fa)[_0x1e0481(0x1d7)];if(_0x531a7a+_0x480718<=_0x455471-_0x4779b6['measureText'](_0x1e0481(0x2a2))[_0x1e0481(0x1d7)])_0x5a5b76+=_0x50a8fa,_0x531a7a+=_0x480718;else{_0x5a5b76+='...';break;}}_0x4779b6['fillText'](_0x5a5b76,_0x4ac596,_0x12043d);}else _0x4779b6[_0x1e0481(0x24f)](_0x4996f3,_0x4ac596,_0x12043d);_0x4779b6[_0x1e0481(0x1a1)]();}[_0x11102a(0x265)](_0x116346){he['drawWith'](_0x116346,this);}}const Ie=_0x11102a(0x237),bi=_0x11102a(0x1e7),Ti=_0x11102a(0x259),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x11102a(0x2d1);class qe{constructor(_0x298584,_0x54bd3d,_0xa6b3d9,_0x295c4b){const _0x568f0f=_0x11102a;_(this,_0x568f0f(0x1b1),[]),_(this,_0x568f0f(0x240),null),_(this,_0x568f0f(0x164),null),_(this,_0x568f0f(0x2fd),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x568f0f(0x1da)]=_0x298584,this['_scene']=_0x54bd3d,this[_0x568f0f(0x2e9)]=_0xa6b3d9,this[_0x568f0f(0x314)]=_0x295c4b,this[_0x568f0f(0x2be)]());}set[_0x11102a(0x281)](_0x2654c9){const _0x528754=_0x11102a;_0x2654c9?(this[_0x528754(0x2fd)]&&this[_0x528754(0x2fd)][_0x528754(0x34d)](),this['_textBubble']&&this[_0x528754(0x164)][_0x528754(0x15f)]()):(this[_0x528754(0x2fd)]&&this[_0x528754(0x2fd)][_0x528754(0x15f)](),this['_textBubble']&&this[_0x528754(0x164)]['hide']());}[_0x11102a(0x2f9)](){const _0x13fcc0=_0x11102a;for(const _0x1540c4 of this[_0x13fcc0(0x1b1)])_0x1540c4[_0x13fcc0(0x2f9)]();this[_0x13fcc0(0x164)]&&this['_textBubble']['dispose'](),this[_0x13fcc0(0x2fd)]&&this['_anchorDot'][_0x13fcc0(0x2f9)](),this['_anchor']&&this[_0x13fcc0(0x240)][_0x13fcc0(0x2f9)](),this[_0x13fcc0(0x1a8)]&&this['_eventUnsubscribe']();}[_0x11102a(0x2be)](){const _0x52a659=_0x11102a;var _0x3478f6;const {_docSkeleton:_0x2d8cc8,_document:_0x40dfce}=this,{color:_0x17d647,name:_0x6e034e,ranges:_0x1bf6dc}=this[_0x52a659(0x1da)],_0x318f5f=_0x40dfce[_0x52a659(0x328)](),{docsLeft:_0x42c551,docsTop:_0x438d57}=_0x318f5f,_0x1c03d2=new _0x2c6f4a(_0x318f5f,_0x2d8cc8);for(const {startOffset:_0x1360c7,endOffset:_0x54f5f1,rangeType:_0x12215f,segmentId:_0x521e9f,segmentPage:_0x11961b,collapsed:_0x5f7b70,isActive:_0x4f6163}of _0x1bf6dc){const _0x3fa08f=_0x2d8cc8[_0x52a659(0x2c7)](_0x1360c7,!0x0,_0x521e9f,_0x11961b);let _0x1d9acd=_0x2d8cc8[_0x52a659(0x2c7)](_0x54f5f1,!0x0,_0x521e9f,_0x11961b);if(_0x1d9acd==null&&(_0x1d9acd=_0x2d8cc8['findNodePositionByCharIndex'](_0x54f5f1-0x1,!0x1,_0x521e9f,_0x11961b)),_0x4f6163){const {contentBoxPointGroup:_0x3dcd67}=_0x1c03d2[_0x52a659(0x254)](_0x1d9acd,_0x1d9acd);if(_0x3dcd67['length']===0x0)continue;this[_0x52a659(0x299)](_0x17d647,_0x3dcd67,_0x42c551,_0x438d57,_0x6e034e),this['_eventUnsubscribe']=this[_0x52a659(0x305)]();}if(_0x3fa08f&&_0x1d9acd){if(_0x12215f===_0x1eb50e[_0x52a659(0x2d8)]){const _0x272c46=new _0x349e43(_0x318f5f,_0x2d8cc8),{pointGroup:_0x343d3}=(_0x3478f6=_0x272c46[_0x52a659(0x254)](_0x3fa08f,_0x1d9acd))!=null?_0x3478f6:{};if(_0x343d3==null||_0x343d3['length']===0x0)continue;this[_0x52a659(0x339)](_0x17d647,_0x343d3,_0x42c551,_0x438d57);}else{if(!_0x5f7b70){const {borderBoxPointGroup:_0x5e1f5a}=_0x1c03d2['getRangePointData'](_0x3fa08f,_0x1d9acd);if(_0x5e1f5a[_0x52a659(0x19b)]===0x0)continue;this[_0x52a659(0x2c9)](_0x17d647,_0x5e1f5a,_0x42c551,_0x438d57);}}}}}[_0x11102a(0x299)](_0x4c5976,_0x45295f,_0x1f2cd2,_0x1b0423,_0xba071c){const _0x2ba135=_0x11102a,_0x2baedb=this['_getAnchorBounding'](_0x45295f),{left:_0x50f638,top:_0x4833b5,height:_0x278be3}=_0x2baedb,_0x1bc025=this[_0x2ba135(0x211)](),_0x546791=Di/_0x1bc025,_0xf0b89=new _0x5ed7c1(Ie+_0x3e7bec['generateRandomId'](X),{'left':_0x50f638+_0x1f2cd2-_0x546791,'top':_0x4833b5+_0x1b0423,'height':_0x278be3,'width':Ri,'fill':_0x4c5976||_0x17298f(_0x388ba7[_0x2ba135(0x348)],0x0),'strokeWidth':_0x546791,'stroke':Ni,'evented':!0x0});this[_0x2ba135(0x240)]=_0xf0b89,this[_0x2ba135(0x266)][_0x2ba135(0x198)](_0xf0b89,_0x166b09);const _0x242c22=new _0x5ed7c1(Ie+_0x3e7bec[_0x2ba135(0x2bf)](X),{'left':_0x50f638+_0x1f2cd2-_0x546791,'top':_0x4833b5+_0x1b0423-ge/0x2,'height':ge,'width':ge,'fill':_0x4c5976||_0x17298f(_0x388ba7[_0x2ba135(0x348)],0x0),'strokeWidth':0x0,'stroke':_0x4c5976||_0x17298f(_0x388ba7[_0x2ba135(0x348)],0x0),'evented':!0x1});this['_anchorDot']=_0x242c22,this['_scene'][_0x2ba135(0x198)](_0x242c22,_0x166b09);const _0x582fe3=new he(Ie+_0x3e7bec['generateRandomId'](X),{'left':_0x50f638+_0x1f2cd2-_0x546791,'top':_0x4833b5+_0x1b0423-ee,'text':_0xba071c,'color':_0x4c5976});this[_0x2ba135(0x164)]=_0x582fe3,this[_0x2ba135(0x266)][_0x2ba135(0x198)](_0x582fe3,_0x166b09),this[_0x2ba135(0x281)]=!0x1;}['_handleHover'](){const _0xe734de=_0x11102a,_0x221676=this[_0xe734de(0x240)][_0xe734de(0x260)]['subscribeEvent'](()=>{const _0x27c7c0=_0xe734de;this[_0x27c7c0(0x281)]=!0x0;}),_0x44d04a=this[_0xe734de(0x240)][_0xe734de(0x30a)][_0xe734de(0x1f0)](()=>{const _0x4b295e=_0xe734de;this[_0x4b295e(0x20d)]&&clearTimeout(this[_0x4b295e(0x20d)]),this[_0x4b295e(0x20d)]=setTimeout(()=>{const _0x111010=_0x4b295e;this[_0x111010(0x281)]=!0x1;},0x7d0);});return()=>{const _0x59026c=_0xe734de;_0x221676[_0x59026c(0x331)](),_0x44d04a[_0x59026c(0x331)]();};}[_0x11102a(0x2c9)](_0x3cd990,_0x890568,_0x585191,_0x3aa931){const _0x4edaca=_0x11102a,_0x5e3112=new _0x16dcf2(_0x3cd990)[_0x4edaca(0x175)](0.2)['toRgbString'](),_0x531292=new _0x71e1f0(bi+_0x3e7bec[_0x4edaca(0x2bf)](X),{'pointsGroup':_0x890568,'fill':_0x5e3112||_0x17298f(_0x388ba7['black'],0.2),'left':_0x585191,'top':_0x3aa931,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4edaca(0x1b1)][_0x4edaca(0x2ac)](_0x531292),this[_0x4edaca(0x266)]['addObject'](_0x531292,_0x166b09);}[_0x11102a(0x339)](_0x2138e9,_0x1426f3,_0x1a6ccc,_0x17d107){const _0x21d643=_0x11102a,_0x1b4660=new _0x16dcf2(_0x2138e9)[_0x21d643(0x175)](0.2)[_0x21d643(0x228)](),_0x19bca0=new _0x71e1f0(Ti+_0x3e7bec[_0x21d643(0x2bf)](X),{'pointsGroup':_0x1426f3,'fill':_0x1b4660||_0x17298f(_0x388ba7['black'],0.2),'left':_0x1a6ccc,'top':_0x17d107,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x19bca0),this[_0x21d643(0x266)][_0x21d643(0x198)](_0x19bca0,_0x166b09);}[_0x11102a(0x258)](_0x1d9d6d){const _0xd1f50e=_0x1d9d6d[0x0],_0x30cfbc=_0xd1f50e[0x0],_0x426b9=_0xd1f50e[0x2],{x:_0xc2c5fa,y:_0x549cd9}=_0x30cfbc,{x:_0x56b6d9,y:_0x2f7441}=_0x426b9;return{'left':_0xc2c5fa,'top':_0x549cd9,'width':_0x56b6d9-_0xc2c5fa,'height':_0x2f7441-_0x549cd9};}[_0x11102a(0x211)](){const _0x109ffc=_0x11102a,{scaleX:_0x40b8c6,scaleY:_0x22cf66}=this[_0x109ffc(0x266)][_0x109ffc(0x23f)]();return Math[_0x109ffc(0x1cf)](_0x40b8c6,_0x22cf66);}}var Ui=Object[_0x11102a(0x1a4)],Mi=(_0x43efe9,_0x1cb8ab,_0x2beb95,_0x202371)=>{for(var _0x5d708b=_0x202371>0x1?void 0x0:_0x202371?Ui(_0x1cb8ab,_0x2beb95):_0x1cb8ab,_0x8e5966=_0x43efe9['length']-0x1,_0x394e79;_0x8e5966>=0x0;_0x8e5966--)(_0x394e79=_0x43efe9[_0x8e5966])&&(_0x5d708b=_0x394e79(_0x5d708b)||_0x5d708b);return _0x5d708b;},Z=(_0x69bf92,_0x3a193a)=>(_0x1d1462,_0x26c974)=>_0x3a193a(_0x1d1462,_0x26c974,_0x69bf92);let Le=class extends _0xf7e603{constructor(_0x2ce4a1,_0x1c0335,_0x1758d7,_0x222546,_0x59396b){const _0x4fe746=_0x11102a;super(),_(this,_0x4fe746(0x2fe),[]),_(this,'_cursors',[]),(this[_0x4fe746(0x29f)]=_0x2ce4a1,this[_0x4fe746(0x20b)]=_0x1c0335,this[_0x4fe746(0x27b)]=_0x1758d7,this['_commandService']=_0x222546,this[_0x4fe746(0x1fe)]=_0x59396b,this[_0x4fe746(0x1b7)]());}[_0x11102a(0x1b7)](){const _0x1d3ca0=_0x11102a,_0x443a0d=this[_0x1d3ca0(0x29f)][_0x1d3ca0(0x1ee)],_0x151b2b=this['_docSkeletonManagerService'];this[_0x1d3ca0(0x213)](_0x32f60d([this[_0x1d3ca0(0x27b)][_0x1d3ca0(0x22a)](_0x443a0d),this[_0x1d3ca0(0x1fe)][_0x1d3ca0(0x1dc)]])['pipe'](_0x4d6b70(([_0xe2fab7,_0x1ed6a8])=>({'skeleton':_0x151b2b[_0x1d3ca0(0x340)](),'cursors':[..._0xe2fab7['values']()][_0x1d3ca0(0x333)](_0x3de58a=>({..._0x3de58a,'color':this['_themeService'][_0x1d3ca0(0x19c)](_0x3de58a[_0x1d3ca0(0x193)])}))})))['subscribe'](_0x35c792=>{const _0x548c87=_0x1d3ca0;if(this[_0x548c87(0x27c)](),_0x35c792){const {skeleton:_0x198a19,cursors:_0xfda17d}=_0x35c792;this[_0x548c87(0x31c)](_0x198a19,_0xfda17d);}})),this[_0x1d3ca0(0x15a)](),this['_initCommandExecutedListener']();}[_0x11102a(0x31c)](_0x5cfa3f,_0x238f03){const _0xf55d8=_0x11102a,{scene:_0x1dd1fc,mainComponent:_0x459d82}=this[_0xf55d8(0x29f)],_0x204afa=_0x238f03[_0xf55d8(0x344)](_0x1e51a6=>new qe(_0x1e51a6,_0x1dd1fc,_0x5cfa3f,_0x459d82));this[_0xf55d8(0x2fe)]=_0x204afa,this[_0xf55d8(0x1f2)]=_0x238f03;}[_0x11102a(0x34b)](){const _0x573052=_0x11102a;this[_0x573052(0x27c)]();const {scene:_0x1f9081,mainComponent:_0x25973b}=this[_0x573052(0x29f)],_0x38a828=this[_0x573052(0x20b)]['getSkeleton'](),_0xd196ee=this[_0x573052(0x1f2)][_0x573052(0x344)](_0x17a252=>new qe(_0x17a252,_0x1f9081,_0x38a828,_0x25973b));this[_0x573052(0x2fe)]=_0xd196ee;}[_0x11102a(0x27c)](){const _0x136e14=_0x11102a;this[_0x136e14(0x2fe)][_0x136e14(0x28b)](_0x540c96=>_0x540c96[_0x136e14(0x2f9)]()),this['_cursorShapes']=[];}[_0x11102a(0x332)](){const _0x3148cb=_0x11102a,_0x475039=[_0x576c22['id']];this[_0x3148cb(0x213)](this[_0x3148cb(0x2ab)][_0x3148cb(0x2e8)](_0x1fe344=>{const _0x95df64=_0x3148cb;_0x475039[_0x95df64(0x1d6)](_0x1fe344['id'])&&_0x1fe344['params'][_0x95df64(0x1ee)]===this[_0x95df64(0x29f)]['unitId']&&this[_0x95df64(0x34b)]();}));}['_initResize'](){const _0x2d5951=_0x11102a;this[_0x2d5951(0x213)](_0x5786b2(this[_0x2d5951(0x29f)]['engine'][_0x2d5951(0x25d)])[_0x2d5951(0x16d)](_0x400b0b(_0x44e658=>_0x44e658[_0x2d5951(0x24c)]===_0x154000[_0x2d5951(0x257)]),_0x307d1f(0x10))['subscribe'](()=>{const _0x1e99ac=_0x2d5951;this[_0x1e99ac(0x34b)]();}));}};Le=Mi([Z(0x1,_0x2b4285(_0x5cfb09)),Z(0x2,_0x2b4285(H)),Z(0x3,_0x885899),Z(0x4,_0x2b4285(_0x374feb))],Le);const Li=0x1,Pi=1.5;class wi extends _0xadd1ac{constructor(_0x164ab0,_0x19d885){const _0x330628=_0x11102a;super(_0x164ab0,_0x19d885),_(this,_0x330628(0x352)),_(this,_0x330628(0x195),!0x1),_(this,_0x330628(0x337)),_(this,_0x330628(0x1c9),''),_(this,_0x330628(0x236),_0x330628(0x1d1)),_(this,_0x330628(0x196)),(_0x19d885&&this['setShapeProps'](_0x19d885),this[_0x330628(0x260)]['subscribeEvent'](()=>this[_0x330628(0x2f0)]({'hovered':!0x0})),this[_0x330628(0x30a)]['subscribeEvent'](()=>this[_0x330628(0x2f0)]({'hovered':!0x1})));}['setShapeProps'](_0x4d002b){const _0x15b2d1=_0x11102a;var _0x35dc3d,_0x6db681,_0x5b5c91,_0x49e409,_0x2a9cfb,_0x1b3342;this['_color']=(_0x35dc3d=_0x4d002b[_0x15b2d1(0x193)])!=null?_0x35dc3d:this['_color'],this[_0x15b2d1(0x195)]=(_0x6db681=_0x4d002b[_0x15b2d1(0x2f7)])!=null?_0x6db681:this[_0x15b2d1(0x195)],this[_0x15b2d1(0x337)]=(_0x5b5c91=_0x4d002b[_0x15b2d1(0x234)])!=null?_0x5b5c91:this[_0x15b2d1(0x337)],this[_0x15b2d1(0x1c9)]=(_0x49e409=_0x4d002b['name'])!=null?_0x49e409:this['_name'],this[_0x15b2d1(0x236)]=(_0x2a9cfb=_0x4d002b[_0x15b2d1(0x276)])!=null?_0x2a9cfb:this[_0x15b2d1(0x236)],this[_0x15b2d1(0x196)]=(_0x1b3342=_0x4d002b[_0x15b2d1(0x2c1)])!=null?_0x1b3342:this['_backgroundColor'],this[_0x15b2d1(0x30c)]({'width':_0x4d002b[_0x15b2d1(0x1d7)],'height':_0x4d002b[_0x15b2d1(0x1f9)]});}[_0x11102a(0x33c)](_0x8dae59){const _0x5377bf=_0x11102a,{row:_0x296c03,column:_0x498484}=_0x8dae59;if(_0x296c03>=this[_0x5377bf(0x337)][_0x5377bf(0x2e1)]&&_0x296c03<=this['_range'][_0x5377bf(0x250)]&&_0x498484>=this['_range'][_0x5377bf(0x2b9)]&&_0x498484<=this[_0x5377bf(0x337)][_0x5377bf(0x335)]){this[_0x5377bf(0x2f0)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x170610){return!0x1;}[_0x11102a(0x265)](_0xfe03c6){const _0x50543d=_0x11102a;_0x5ed7c1[_0x50543d(0x19e)](_0xfe03c6,{'width':this[_0x50543d(0x1d7)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x50543d(0x352)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0xfe03c6[_0x50543d(0x1f1)](),_0xfe03c6[_0x50543d(0x22e)](0x1,0x0,0x0,0x1,this[_0x50543d(0x1d7)],this[_0x50543d(0x236)]===_0x50543d(0x272)?0x0:-0x14),he[_0x50543d(0x19e)](_0xfe03c6,{'text':this[_0x50543d(0x1c9)],'color':this[_0x50543d(0x352)]}),_0xfe03c6[_0x50543d(0x1a1)]());}}var Ai=Object[_0x11102a(0x1a4)],yi=(_0x4da935,_0x232df5,_0x5041cf,_0x114e25)=>{for(var _0x116ab4=_0x114e25>0x1?void 0x0:_0x114e25?Ai(_0x232df5,_0x5041cf):_0x232df5,_0x50db82=_0x4da935['length']-0x1,_0x121026;_0x50db82>=0x0;_0x50db82--)(_0x121026=_0x4da935[_0x50db82])&&(_0x116ab4=_0x121026(_0x116ab4)||_0x116ab4);return _0x116ab4;},ve=(_0x3bea71,_0x555a16)=>(_0x210677,_0x2f36d2)=>_0x555a16(_0x210677,_0x2f36d2,_0x3bea71);const $i=0x1389;let Pe=class extends _0xf7e603{constructor(_0x5afb4c,_0x31e278,_0x35280b,_0x19d1eb){const _0x7fb1f7=_0x11102a;super(),_(this,_0x7fb1f7(0x1f2),new Set()),_(this,'_lastPointer',null),(this[_0x7fb1f7(0x29f)]=_0x5afb4c,this[_0x7fb1f7(0x32f)]=_0x31e278,this[_0x7fb1f7(0x27b)]=_0x35280b,this['_themeService']=_0x19d1eb,this['_init']());}[_0x11102a(0x1b7)](){const _0x3eb25b=_0x11102a;this['_sheetSkeletonManagerService'][_0x3eb25b(0x2dd)][_0x3eb25b(0x16d)](_0x369251(this[_0x3eb25b(0x262)]),_0x6b1cc1(_0x33fe95=>{const _0x61158b=_0x3eb25b;if(_0x33fe95){const _0x2380be=_0x33fe95[_0x61158b(0x1e5)];return _0x32f60d(this[_0x61158b(0x27b)]['getCollabCursors$'](this[_0x61158b(0x29f)]['unitId']),this['_themeService'][_0x61158b(0x1dc)])[_0x61158b(0x16d)](_0x4d6b70(([_0x2d794a,_0x55bd00])=>{const _0x17aae9=_0x61158b,_0x3fe749=new Map();return _0x2d794a[_0x17aae9(0x28b)]((_0x2a68bb,_0x4feb97)=>{const _0x5f348c=_0x17aae9;if(_0x2a68bb[_0x5f348c(0x2ad)]===_0x2380be){const _0x4f0ff5={..._0x2a68bb};_0x4f0ff5['color']=this[_0x5f348c(0x1fe)]['getColorFromTheme'](_0x2a68bb[_0x5f348c(0x193)]),_0x3fe749['set'](_0x4feb97,_0x4f0ff5);}}),{'skeleton':_0x33fe95,'cursors':_0x3fe749};}));}return _0x26a8ed({'skeleton':null,'cursors':new Map()});}))[_0x3eb25b(0x325)](({skeleton:_0x22ff3d,cursors:_0x5558b8})=>{const _0x16568a=_0x3eb25b;this['_removeCollabCursors'](),_0x22ff3d&&this[_0x16568a(0x31c)](_0x22ff3d,_0x5558b8);}),this[_0x3eb25b(0x32f)][_0x3eb25b(0x2dd)][_0x3eb25b(0x325)](_0x5c77ae=>{const _0x33bb8e=_0x3eb25b;if(_0x5c77ae==null)return;const {skeleton:_0x4efcbc}=_0x5c77ae,{scene:_0x50f074}=this[_0x33bb8e(0x29f)];_0x50f074[_0x33bb8e(0x252)]['subscribeEvent'](_0x57954a(_0x243351=>{const _0x2fe732=_0x33bb8e;var _0x49af22,_0x2ac7b9;const {offsetX:_0x2bc9ed,offsetY:_0x414e2c}=_0x243351,{x:_0x497f86,y:_0x4860f0}=_0x50f074[_0x2fe732(0x173)](_0xeb53d3[_0x2fe732(0x218)]([_0x2bc9ed,_0x414e2c])),{scaleX:_0x352194,scaleY:_0x150f05}=_0x50f074[_0x2fe732(0x23f)](),_0x3a19bb=_0x50f074['getViewport'](_0x2e1b09['VIEW_MAIN']),_0x118726=_0x50f074['getVpScrollXYInfoByPosToVp'](_0xeb53d3[_0x2fe732(0x218)]([_0x497f86,_0x4860f0]),_0x3a19bb),_0x416341=_0x4efcbc['getCellPositionByOffset'](_0x2bc9ed,_0x414e2c,_0x352194,_0x150f05,_0x118726);((_0x49af22=this['_lastPointer'])==null?void 0x0:_0x49af22[_0x2fe732(0x26a)])===_0x416341[_0x2fe732(0x26a)]&&((_0x2ac7b9=this[_0x2fe732(0x220)])==null?void 0x0:_0x2ac7b9[_0x2fe732(0x1bf)])===_0x416341[_0x2fe732(0x1bf)]||this[_0x2fe732(0x1f2)]['forEach'](_0x5973ca=>{const _0x33e233=_0x2fe732;_0x5973ca[_0x33e233(0x33c)](_0x416341);});},0x64));});}[_0x11102a(0x31c)](_0x137fe8,_0x73d63b){const _0x561b6c=_0x11102a;var _0x589a8a;const _0x10d71f=(_0x589a8a=this[_0x561b6c(0x32f)][_0x561b6c(0x18b)]())==null?void 0x0:_0x589a8a[_0x561b6c(0x1ea)];if(!_0x10d71f)return;const _0xbca05a=this['_getSheetObject']();if(!_0xbca05a)return;this[_0x561b6c(0x1f2)][_0x561b6c(0x28b)](_0x8faf49=>{_0x8faf49['makeDirty']();});const {scene:_0x69a8f7}=_0xbca05a,_0x375ac8=xi(Array[_0x561b6c(0x1f6)](_0x73d63b[_0x561b6c(0x362)]()))[_0x561b6c(0x344)](_0x2ebb78=>{const _0x399ad9=_0x561b6c,{color:_0x4e31ee,range:_0x37979d,name:_0x1fecae,selection:_0x5a44eb,sheetID:_0x2a7660}=_0x2ebb78,{startColumn:_0x111e7b,startRow:_0x10515c,endColumn:_0x1ac5f6,endRow:_0x3808d2}=_0x37979d,_0x14456f=_0x484613(_0x10515c,_0x111e7b,_0x69a8f7,_0x10d71f),_0x24db94=_0x484613(_0x3808d2,_0x1ac5f6,_0x69a8f7,_0x10d71f),{columnHeaderHeightAndMarginTop:_0x557630}=_0x10d71f,{startX:_0x15908c,startY:_0x5a0da5}=_0x14456f,{endX:_0x5757e1,endY:_0x2f3a97}=_0x24db94,_0x290508=_0x5757e1-_0x15908c,_0x55a595=_0x2f3a97-_0x5a0da5,_0x20bf5d={'labelPosition':_0x5a0da5-_0x557630>=ee?_0x399ad9(0x1d1):_0x399ad9(0x272),'sheetID':_0x2a7660,'range':_0x37979d,'color':_0x4e31ee,'name':_0x1fecae,'selection':_0x5a44eb,'left':_0x15908c,'top':_0x5a0da5,'width':_0x290508,'height':_0x55a595,'evented':!0x1,'zIndex':$i};return new wi(_0x1fecae,_0x20bf5d);});_0x69a8f7['addObjects'](_0x375ac8,Li),this[_0x561b6c(0x1f2)]=new Set(_0x375ac8);}[_0x11102a(0x27c)](){const _0x4210b4=_0x11102a;var _0x50bed9;(_0x50bed9=this['_cursors'])==null||_0x50bed9[_0x4210b4(0x28b)](_0x5d80b5=>_0x5d80b5['dispose']());}['_getSheetObject'](){const _0x50469b=_0x11102a;return _0x28c00f(this['_context'][_0x50469b(0x354)],this[_0x50469b(0x29f)]);}};Pe=yi([ve(0x1,_0x2b4285(_0x518ede)),ve(0x2,_0x2b4285(H)),ve(0x3,_0x2b4285(_0x374feb))],Pe);function xi(_0x555f6d){const _0x5cdecc=new Map();return _0x555f6d['forEach'](_0x38dc32=>{const _0x1c244d=_0xc8eb;if(_0x5cdecc[_0x1c244d(0x22c)](_0x38dc32[_0x1c244d(0x28a)])){const _0x2c642d=_0x5cdecc[_0x1c244d(0x320)](_0x38dc32[_0x1c244d(0x28a)]);_0x2c642d[_0x1c244d(0x186)]+=',\x20'+_0x38dc32[_0x1c244d(0x186)];}else _0x5cdecc[_0x1c244d(0x1eb)](_0x38dc32['selection'],_0x38dc32);}),Array['from'](_0x5cdecc['values']());}var v=function(){const _0x26b16b=_0x11102a;return v=Object[_0x26b16b(0x1c6)]||function(_0x25aee6){const _0x21d703=_0x26b16b;for(var _0x12fd53,_0x4e8446=0x1,_0x2b46f5=arguments[_0x21d703(0x19b)];_0x4e8446<_0x2b46f5;_0x4e8446++){_0x12fd53=arguments[_0x4e8446];for(var _0x2a0a1c in _0x12fd53)Object[_0x21d703(0x15e)][_0x21d703(0x184)][_0x21d703(0x304)](_0x12fd53,_0x2a0a1c)&&(_0x25aee6[_0x2a0a1c]=_0x12fd53[_0x2a0a1c]);}return _0x25aee6;},v[_0x26b16b(0x30d)](this,arguments);},Bi=function(_0x591987,_0xf2b2eb){const _0x521145=_0x11102a;var _0x290cd4={};for(var _0x17e91 in _0x591987)Object[_0x521145(0x15e)]['hasOwnProperty']['call'](_0x591987,_0x17e91)&&_0xf2b2eb[_0x521145(0x1a7)](_0x17e91)<0x0&&(_0x290cd4[_0x17e91]=_0x591987[_0x17e91]);if(_0x591987!=null&&typeof Object[_0x521145(0x31d)]==_0x521145(0x334)){for(var _0x485c43=0x0,_0x17e91=Object[_0x521145(0x31d)](_0x591987);_0x485c43<_0x17e91[_0x521145(0x19b)];_0x485c43++)_0xf2b2eb['indexOf'](_0x17e91[_0x485c43])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x521145(0x304)](_0x591987,_0x17e91[_0x485c43])&&(_0x290cd4[_0x17e91[_0x485c43]]=_0x591987[_0x17e91[_0x485c43]]);}return _0x290cd4;},Fe=_0x3b58f1(function(_0x449b17,_0x4b7bcf){const _0x56d7f3=_0x11102a;var _0x2e1e14=_0x449b17[_0x56d7f3(0x342)],_0x2e4ce6=_0x449b17['id'],_0x5a884f=_0x449b17[_0x56d7f3(0x1e8)],_0x4247af=_0x449b17['extend'],_0x19ee3a=Bi(_0x449b17,['icon','id','className','extend']),_0x4d2c3a=_0x56d7f3(0x2c3)[_0x56d7f3(0x327)](_0x2e4ce6,'\x20')['concat'](_0x5a884f||'')[_0x56d7f3(0x286)](),_0x117cbd=_0x17b31e('_'[_0x56d7f3(0x327)](Fi()));return Rt(_0x2e1e14,''['concat'](_0x2e4ce6),{'defIds':_0x2e1e14[_0x56d7f3(0x226)],'idSuffix':_0x117cbd[_0x56d7f3(0x2e4)]},v({'ref':_0x4b7bcf,'className':_0x4d2c3a},_0x19ee3a),_0x4247af);});function Rt(_0x372e59,_0x16807a,_0x2916e1,_0x29c9cd,_0x1fda68){const _0x379250=_0x11102a;return _0x5e3fde(_0x372e59[_0x379250(0x285)],v(v({'key':_0x16807a},ki(_0x372e59,_0x2916e1,_0x1fda68)),_0x29c9cd),(Hi(_0x372e59,_0x2916e1)[_0x379250(0x1df)]||[])[_0x379250(0x344)](function(_0xf060cc,_0x2ec789){const _0x2333f9=_0x379250;return Rt(_0xf060cc,''[_0x2333f9(0x327)](_0x16807a,'-')[_0x2333f9(0x327)](_0x372e59['tag'],'-')[_0x2333f9(0x327)](_0x2ec789),_0x2916e1,void 0x0,_0x1fda68);}));}function ki(_0x23f3f0,_0x3718e4,_0xb460a5){const _0x19e26b=_0x11102a;var _0x2571f8=v({},_0x23f3f0[_0x19e26b(0x278)]);_0xb460a5!=null&&_0xb460a5[_0x19e26b(0x174)]&&_0x2571f8['fill']===_0x19e26b(0x174)&&(_0x2571f8[_0x19e26b(0x1ab)]=_0xb460a5[_0x19e26b(0x174)]),_0x23f3f0[_0x19e26b(0x285)]===_0x19e26b(0x247)&&_0x2571f8['id']&&(_0x2571f8['id']=_0x2571f8['id']+_0x3718e4[_0x19e26b(0x29b)]),Object[_0x19e26b(0x18f)](_0x2571f8)['forEach'](function(_0x2bd653){const _0x56dd7f=_0x19e26b;var _0x415bba=_0x2bd653[0x0],_0x3882c2=_0x2bd653[0x1];_0x415bba===_0x56dd7f(0x247)&&typeof _0x3882c2==_0x56dd7f(0x21a)&&(_0x2571f8[_0x415bba]=_0x3882c2[_0x56dd7f(0x34e)](/url\(#(.*)\)/,_0x56dd7f(0x21b)['concat'](_0x3718e4[_0x56dd7f(0x29b)],')')));});var _0x566585=_0x3718e4[_0x19e26b(0x226)];return!_0x566585||_0x566585['length']===0x0||(_0x23f3f0[_0x19e26b(0x285)]==='use'&&_0x2571f8[_0x19e26b(0x270)]&&(_0x2571f8['xlink:href']=_0x2571f8['xlink:href']+_0x3718e4[_0x19e26b(0x29b)]),Object[_0x19e26b(0x18f)](_0x2571f8)[_0x19e26b(0x28b)](function(_0x10efff){const _0x372a7c=_0x19e26b;var _0x120be9=_0x10efff[0x0],_0x41768c=_0x10efff[0x1];typeof _0x41768c==_0x372a7c(0x21a)&&(_0x2571f8[_0x120be9]=_0x41768c[_0x372a7c(0x34e)](/url\(#(.*)\)/,_0x372a7c(0x21b)[_0x372a7c(0x327)](_0x3718e4[_0x372a7c(0x29b)],')')));})),_0x2571f8;}function Hi(_0x4247f7,_0x377abd){const _0x2b5fb0=_0x11102a;var _0x277fa8,_0x36060f=_0x377abd['defIds'];return!_0x36060f||_0x36060f[_0x2b5fb0(0x19b)]===0x0?_0x4247f7:_0x4247f7['tag']==='defs'&&(!((_0x277fa8=_0x4247f7[_0x2b5fb0(0x1df)])===null||_0x277fa8===void 0x0)&&_0x277fa8['length'])?v(v({},_0x4247f7),{'children':_0x4247f7[_0x2b5fb0(0x1df)][_0x2b5fb0(0x344)](function(_0x2fc2a0){const _0x1004ae=_0x2b5fb0;return typeof _0x2fc2a0[_0x1004ae(0x278)]['id']==_0x1004ae(0x21a)&&_0x36060f&&_0x36060f[_0x1004ae(0x1d6)](_0x2fc2a0['attrs']['id'])?v(v({},_0x2fc2a0),{'attrs':v(v({},_0x2fc2a0[_0x1004ae(0x278)]),{'id':_0x2fc2a0['attrs']['id']+_0x377abd[_0x1004ae(0x29b)]})}):_0x2fc2a0;})}):_0x4247f7;}function Fi(){const _0x342efb=_0x11102a;return Math[_0x342efb(0x21e)]()[_0x342efb(0x1f8)](0x24)[_0x342efb(0x323)](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':_0x11102a(0x1db),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x11102a(0x26d),'viewBox':_0x11102a(0x290),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x11102a(0x159)},'children':[{'tag':_0x11102a(0x238),'attrs':{'stroke':_0x11102a(0x293),'d':_0x11102a(0x185),'strokeLinecap':_0x11102a(0x172),'strokeLinejoin':_0x11102a(0x172),'strokeWidth':1.2}}]},{'tag':_0x11102a(0x31e),'attrs':{},'children':[{'tag':_0x11102a(0x2d4),'attrs':{'id':_0x11102a(0x301)},'children':[{'tag':_0x11102a(0x238),'attrs':{'fill':'white','d':_0x11102a(0x2dc)}}]}]}],'defIds':[_0x11102a(0x301)]},Dt=_0x3b58f1(function(_0x387169,_0x21ee57){const _0x57c247=_0x11102a;return _0x5e3fde(Fe,Object['assign']({},_0x387169,{'id':_0x57c247(0x2ef),'ref':_0x21ee57,'icon':Yi}));});Dt['displayName']='OffLineIcon';var ji={'tag':_0x11102a(0x1db),'attrs':{'xmlns':_0x11102a(0x1e3),'fill':_0x11102a(0x26d),'viewBox':_0x11102a(0x28d),'width':_0x11102a(0x31a),'height':_0x11102a(0x31a)},'children':[{'tag':'g','attrs':{'clipPath':_0x11102a(0x298)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x11102a(0x2df),'strokeLinecap':'round','strokeLinejoin':_0x11102a(0x172),'strokeWidth':1.2}}]},{'tag':_0x11102a(0x31e),'attrs':{},'children':[{'tag':_0x11102a(0x2d4),'attrs':{'id':_0x11102a(0x26f)},'children':[{'tag':_0x11102a(0x238),'attrs':{'fill':_0x11102a(0x2ba),'d':_0x11102a(0x2dc),'transform':_0x11102a(0x2ec)}}]}]}],'defIds':[_0x11102a(0x26f)]},Nt=_0x3b58f1(function(_0x2bf738,_0x276caa){const _0x360c36=_0x11102a;return _0x5e3fde(Fe,Object[_0x360c36(0x1c6)]({},_0x2bf738,{'id':_0x360c36(0x15b),'ref':_0x276caa,'icon':ji}));});Nt[_0x11102a(0x170)]=_0x11102a(0x1c3);function Vi(_0x2e20e0){const _0x3b84b3=_0x11102a;switch(_0x2e20e0){case _0x3ba4cf['OFFLINE']:return _0x3b84b3(0x282);case _0x3ba4cf[_0x3b84b3(0x2ee)]:return'collabStatus.conflict';case _0x3ba4cf[_0x3b84b3(0x1a3)]:return _0x3b84b3(0x169);case _0x3ba4cf['NOT_COLLAB']:return _0x3b84b3(0x1d2);case _0x3ba4cf[_0x3b84b3(0x2bd)]:case _0x3ba4cf['AWAITING_WITH_PENDING']:return _0x3b84b3(0x35a);case _0x3ba4cf[_0x3b84b3(0x261)]:case _0x3ba4cf[_0x3b84b3(0x22d)]:return _0x3b84b3(0x312);}}function Wi(_0x5dfd41){const _0x3c6bf1=_0x11102a,{status$:_0x1c8c35}=_0x5dfd41,_0x281462=_0x1e589e(_0x1c8c35,_0x3ba4cf[_0x3c6bf1(0x29d)]),_0x298c18=_0x22e9d8(_0xc5702f),_0x59bf07=_0x22e9d8(_0x5e39bb),_0x521148=_0x281462!==_0x3ba4cf['OFFLINE'],_0xc86ccd=_0x298c18['t'](Vi(_0x281462)),_0x2130e2=_0x521148?_0x193097(Nt,{}):_0x193097(Dt,{}),_0x31f66f=_0x5327b3(()=>{const _0xf199c2=_0x3c6bf1;_0x521148||_0x59bf07[_0xf199c2(0x216)]();},[_0x521148,_0x59bf07]);function _0x3ae0c5(){const _0x5b4183=_0x3c6bf1;return _0x1a5a25(_0x5b4183(0x1b0),{'className':_0x5b4183(0x179),'onClick':_0x31f66f,'children':[_0x193097('div',{'className':_0x13f964('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x521148,'univer-text-red-500':!_0x521148}),'children':_0x2130e2}),_0x193097('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xc86ccd})]});}return _0x521148?_0x3ae0c5():_0x193097(_0x34b52f,{'title':_0x298c18['t'](_0x3c6bf1(0x280)),'children':_0x3ae0c5()});}var Xi=Object[_0x11102a(0x1a4)],Gi=(_0x4a6960,_0x1adfdf,_0x68736b,_0x502f6c)=>{for(var _0x2a66de=_0x502f6c>0x1?void 0x0:_0x502f6c?Xi(_0x1adfdf,_0x68736b):_0x1adfdf,_0x56b7d7=_0x4a6960['length']-0x1,_0x1e4f79;_0x56b7d7>=0x0;_0x56b7d7--)(_0x1e4f79=_0x4a6960[_0x56b7d7])&&(_0x2a66de=_0x1e4f79(_0x2a66de)||_0x2a66de);return _0x2a66de;},Q=(_0x4c052b,_0x252c52)=>(_0x2eafc9,_0xfff482)=>_0x252c52(_0x2eafc9,_0xfff482,_0x4c052b);let te=class extends _0x1e23b2{constructor(_0x48f87,_0x42b485,_0x5dc8ba,_0x33ada0){const _0x18f6d4=_0x11102a;super(),_(this,_0x18f6d4(0x202),new _0xad1a80(_0x3ba4cf[_0x18f6d4(0x29d)])),(this[_0x18f6d4(0x176)]=_0x48f87,this['_injector']=_0x42b485,this[_0x18f6d4(0x20a)]=_0x5dc8ba,this[_0x18f6d4(0x17e)]=_0x33ada0,this[_0x18f6d4(0x2c0)](),this[_0x18f6d4(0x300)]());}[_0x11102a(0x300)](){const _0x5d15bb=_0x11102a;this[_0x5d15bb(0x213)](this[_0x5d15bb(0x176)][_0x5d15bb(0x16c)][_0x5d15bb(0x16d)](_0x347f14(()=>{const _0x3cb42c=_0x5d15bb,_0x1d951f=this[_0x3cb42c(0x176)]['getFocusedUnit']();return _0x1d951f?this['_collaborationController']['getCollabEntity$'](_0x1d951f[_0x3cb42c(0x2f2)]()):_0x26a8ed(null);}),_0x347f14(_0x314eb9=>_0x314eb9?_0x314eb9[_0x5d15bb(0x232)]:_0x26a8ed(_0x3ba4cf[_0x5d15bb(0x29d)])))[_0x5d15bb(0x325)](_0x452372=>{const _0xd4e3d1=_0x5d15bb;this[_0xd4e3d1(0x202)][_0xd4e3d1(0x24d)](_0x452372);}));}['_initStatusComponent'](){const _0x481e27=_0x11102a;this[_0x481e27(0x213)](this[_0x481e27(0x17e)][_0x481e27(0x166)](_0x237207[_0x481e27(0x2db)],()=>_0x582e99(Ki({'status$':this['_status$']['asObservable']()}),this[_0x481e27(0x1ac)])));}};te=Gi([Q(0x0,_0x54e5d5),Q(0x1,_0x2b4285(_0x131769)),Q(0x2,_0x2b4285(_0x264a80)),Q(0x3,_0x50b4fe)],te);function Ki(_0x437c3f){const {status$:_0x5b46df}=_0x437c3f;return function(){return _0x193097(Wi,{'status$':_0x5b46df});};}var zi=Object[_0x11102a(0x1a4)],Ji=(_0x561f55,_0x1f3304,_0x4ddbe4,_0x350cb6)=>{for(var _0x288d9e=_0x350cb6>0x1?void 0x0:_0x350cb6?zi(_0x1f3304,_0x4ddbe4):_0x1f3304,_0x171040=_0x561f55['length']-0x1,_0x588b7c;_0x171040>=0x0;_0x171040--)(_0x588b7c=_0x561f55[_0x171040])&&(_0x288d9e=_0x588b7c(_0x288d9e)||_0x288d9e);return _0x288d9e;},B=(_0x36fe8d,_0x1cc1eb)=>(_0x4f4564,_0x5956dd)=>_0x1cc1eb(_0x4f4564,_0x5956dd,_0x36fe8d);let se=class extends _0x1e23b2{constructor(_0x354566,_0x2dbc73,_0x3dac45,_0x1783b8,_0x58ad33,_0x4f100b){const _0x4fc653=_0x11102a;super(),this[_0x4fc653(0x208)]=_0x354566,this[_0x4fc653(0x248)]=_0x2dbc73,this[_0x4fc653(0x310)]=_0x3dac45,this[_0x4fc653(0x32c)]=_0x1783b8,this[_0x4fc653(0x18a)]=_0x58ad33,this[_0x4fc653(0x303)]=_0x4f100b,this[_0x4fc653(0x15c)](),this['_initEvent']();}[_0x11102a(0x15c)](){const _0x61a52f=_0x11102a;this[_0x61a52f(0x213)](this[_0x61a52f(0x208)]['registerBeforeClose'](()=>{const _0x4127f9=_0x61a52f;if(this[_0x4127f9(0x248)]['saveTaskMap'][_0x4127f9(0x1de)])return this[_0x4127f9(0x303)]['t'](_0x4127f9(0x235));}));}['_initEvent'](){const _0x37ad28=_0x11102a;this['disposeWithMe'](this[_0x37ad28(0x310)]['event$'][_0x37ad28(0x325)](_0x3c0973=>{const _0x452268=_0x37ad28;_0x3c0973['id']===_0x13cee5[_0x452268(0x350)]&&this['_messageService'][_0x452268(0x15f)]({'type':_0x4aba64[_0x452268(0x294)],'content':this[_0x452268(0x303)]['t']('collaboration.single-unit.warning')}),_0x3c0973['id']===_0x13cee5[_0x452268(0x19f)]&&this['_messageService'][_0x452268(0x15f)]({'type':_0x4aba64[_0x452268(0x294)],'content':this[_0x452268(0x303)]['t']('collaboration.closeRoom')}),_0x3c0973['id']===_0x13cee5[_0x452268(0x212)]&&this[_0x452268(0x18a)]['show']({'title':this[_0x452268(0x303)]['t'](_0x452268(0x2ed)),'content':this[_0x452268(0x303)]['t'](_0x452268(0x183)),'type':_0x452268(0x28e),'duration':0x0}),_0x3c0973['id']===_0x13cee5['CONFLICT']&&this[_0x452268(0x32c)][_0x452268(0x15f)]({'type':_0x4aba64[_0x452268(0x1d8)],'content':this[_0x452268(0x303)]['t']('collaboration.closeRoom')+'('+_0x3c0973[_0x452268(0x16b)]+')'}),_0x3c0973['id']===_0x13cee5[_0x452268(0x309)]&&this[_0x452268(0x32c)][_0x452268(0x15f)]({'type':_0x4aba64[_0x452268(0x294)],'content':this[_0x452268(0x303)]['t'](_0x3c0973[_0x452268(0x16b)]||'')}),_0x3c0973['id']===_0x13cee5['SOCKET_FAILED_RETRY']&&this[_0x452268(0x32c)][_0x452268(0x15f)]({'type':_0x4aba64[_0x452268(0x294)],'content':this[_0x452268(0x303)]['t'](_0x452268(0x27a))}),_0x3c0973['id']===_0x13cee5[_0x452268(0x317)]&&this[_0x452268(0x32c)]['show']({'type':_0x4aba64['Error'],'content':this[_0x452268(0x303)]['t'](_0x452268(0x316))}),_0x3c0973['id']===_0x13cee5[_0x452268(0x1e9)]&&this['_messageService'][_0x452268(0x15f)]({'type':_0x4aba64[_0x452268(0x1d8)],'content':this[_0x452268(0x303)]['t'](_0x452268(0x23b))});}));}};se=Ji([B(0x0,_0x278e92),B(0x1,_0x446f94),B(0x2,_0x2b4285(_0x46c267)),B(0x3,_0x5d8759),B(0x4,_0x1772d6),B(0x5,_0x2b4285(_0xc5702f))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x4a2169(_0x11102a(0x229));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x2cd4ff,_0x29fa0e,_0x2cf962,_0x41eb63)=>{const _0x2980ee=_0x11102a;for(var _0x18f675=_0x41eb63>0x1?void 0x0:_0x41eb63?Qi(_0x29fa0e,_0x2cf962):_0x29fa0e,_0x37a6b8=_0x2cd4ff[_0x2980ee(0x19b)]-0x1,_0x45d5c8;_0x37a6b8>=0x0;_0x37a6b8--)(_0x45d5c8=_0x2cd4ff[_0x37a6b8])&&(_0x18f675=_0x45d5c8(_0x18f675)||_0x18f675);return _0x18f675;},G=(_0x3ce691,_0x13600c)=>(_0x218809,_0x13be7d)=>_0x13600c(_0x218809,_0x13be7d,_0x3ce691);let ie=class extends _0xf7e603{constructor(_0x1eac9d,_0x255fbb,_0x189039,_0xf4a4ad,_0x34c65f){const _0x232842=_0x11102a;super(),this[_0x232842(0x26e)]=_0x1eac9d,this[_0x232842(0x33e)]=_0x255fbb,this['_commandService']=_0x189039,this['_dataLoaderService']=_0xf4a4ad,_0x34c65f?_0x34c65f==null||_0x34c65f[_0x232842(0x306)]()[_0x232842(0x221)](()=>this[_0x232842(0x1b7)]()):(this[_0x232842(0x33e)][_0x232842(0x2e7)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x11102a(0x1b7)](){const _0x2647ca=_0x11102a,_0x527b2d=this['_urlService']['getParam']('unit'),_0x253ea4=this[_0x2647ca(0x26e)][_0x2647ca(0x1a5)](_0x2647ca(0x24c)),_0x5d29af=this[_0x2647ca(0x26e)][_0x2647ca(0x1a5)](_0x2647ca(0x1c0));if(!_0x527b2d||!_0x253ea4){this[_0x2647ca(0x33e)][_0x2647ca(0x2e7)](_0x2647ca(0x1a0),_0x2647ca(0x358));return;}const _0xc47f4=await this[_0x2647ca(0x255)]['loadUnit'](_0x527b2d,Number(_0x253ea4),_0x5d29af);_0xc47f4&&_0xc47f4 instanceof _0x91c858&&this['_setupSubUnitSync'](_0xc47f4);}async[_0x11102a(0x292)](_0x2c80fd){const _0x232b90=_0x11102a;await this[_0x232b90(0x2ff)](_0x2c80fd),_0x2c80fd['activeSheet$'][_0x232b90(0x16d)](_0x55f565(this[_0x232b90(0x262)]))[_0x232b90(0x325)](_0x187deb=>{_0x187deb&&this['_updateURLWithCurrentState'](_0x187deb);}),this['_urlService'][_0x232b90(0x160)][_0x232b90(0x16d)](_0x55f565(this[_0x232b90(0x262)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x2c80fd));}['_updateURLWithCurrentState'](_0x35f0e5,_0x44bdbe=!0x1){const _0x9e5bd5=_0x11102a,_0x40cae6=this[_0x9e5bd5(0x26e)]['getParam']('subunit');_0x35f0e5[_0x9e5bd5(0x363)]()!==_0x40cae6&&this[_0x9e5bd5(0x26e)][_0x9e5bd5(0x2ea)](_0x9e5bd5(0x1c0),_0x35f0e5[_0x9e5bd5(0x363)](),_0x44bdbe);}async[_0x11102a(0x2ff)](_0x1a6db1){const _0x99ce34=_0x11102a;var _0x58adb2;const _0x1b158f=this[_0x99ce34(0x26e)]['getParam'](_0x99ce34(0x1c0));if(!_0x1b158f||!_0x1a6db1[_0x99ce34(0x263)](_0x1b158f)){const _0x123c51=_0x1a6db1[_0x99ce34(0x203)]()[0x0],_0x5ec15c=_0x1a6db1[_0x99ce34(0x263)](_0x123c51);if(!_0x5ec15c)return;this[_0x99ce34(0x1e2)](_0x5ec15c,!0x0),await this[_0x99ce34(0x2ab)][_0x99ce34(0x1d3)](_0x59c869['id'],{'unitId':_0x1a6db1['getUnitId'](),'subUnitId':_0x123c51});return;}((_0x58adb2=_0x1a6db1['getActiveSheet']())==null?void 0x0:_0x58adb2[_0x99ce34(0x363)]())!==_0x1b158f&&await this['_commandService']['executeCommand'](_0x59c869['id'],{'unitId':_0x1a6db1[_0x99ce34(0x2f2)](),'subUnitId':_0x1b158f});}};function _0xc8eb(_0x5d5209,_0x556ea2){const _0xe248e8=_0xe248();return _0xc8eb=function(_0xc8eb44,_0x1e287a){_0xc8eb44=_0xc8eb44-0x158;let _0xcd3f1a=_0xe248e8[_0xc8eb44];return _0xcd3f1a;},_0xc8eb(_0x5d5209,_0x556ea2);}ie=qi([G(0x0,Ut),G(0x1,_0x5a56cf),G(0x2,_0x885899),G(0x3,_0x2b4285(_0x5a9907)),G(0x4,_0x445f4e(_0x1317ad))],ie);var en=Object[_0x11102a(0x1a4)],tn=(_0x4676cd,_0x3fef7e,_0x1614e4,_0x22a72e)=>{for(var _0x510f7f=_0x22a72e>0x1?void 0x0:_0x22a72e?en(_0x3fef7e,_0x1614e4):_0x3fef7e,_0xdd6c4f=_0x4676cd['length']-0x1,_0x4a5a52;_0xdd6c4f>=0x0;_0xdd6c4f--)(_0x4a5a52=_0x4676cd[_0xdd6c4f])&&(_0x510f7f=_0x4a5a52(_0x510f7f)||_0x510f7f);return _0x510f7f;},pe=(_0x3a5762,_0xc715e4)=>(_0x3a48ea,_0xbaa645)=>_0xc715e4(_0x3a48ea,_0xbaa645,_0x3a5762);let ne=class{constructor(_0x29e2e7,_0x2afa0a,_0xed5617){const _0x55f85f=_0x11102a;this['_injector']=_0x29e2e7,this[_0x55f85f(0x1ca)]=_0x2afa0a,this[_0x55f85f(0x181)]=_0xed5617;}[_0x11102a(0x313)](_0x24190c){const _0x4fea22=_0x11102a;this[_0x4fea22(0x2ae)](_0x24190c),this[_0x4fea22(0x227)](_0x24190c);}[_0x11102a(0x326)](_0x175022){const _0x377b2e=_0x11102a,{unitID:_0x8f9c1}=_0x175022,_0x36d7f8=this[_0x377b2e(0x181)][_0x377b2e(0x167)](_0x8f9c1)[_0x377b2e(0x329)](_0x5a180c),{redoCache:_0x3a22d9}=_0x36d7f8[_0x377b2e(0x2b1)]();if(_0x3a22d9[_0x377b2e(0x19b)]===0x0)return _0x175022;let _0x17b085=_0x3e7bec[_0x377b2e(0x158)](_0x175022[_0x377b2e(0x1b3)][0x0]);for(let _0x2f00d7=0x0;_0x2f00d7<_0x3a22d9[_0x377b2e(0x19b)];_0x2f00d7++){const _0x108487={'id':'doc.mutation.rich-text-editing','params':{..._0x3a22d9[_0x2f00d7]}},_0x5bd64e=this[_0x377b2e(0x1ca)][_0x377b2e(0x31b)](_0x17b085,_0x108487,!0x1);if(_0x516825(_0x5bd64e))throw _0x5bd64e[_0x377b2e(0x28e)];_0x17b085=_0x5bd64e[_0x377b2e(0x283)];}return{..._0x3e7bec[_0x377b2e(0x158)](_0x175022),'mutations':[_0x17b085]};}[_0x11102a(0x2ae)](_0x5dd8fb){const _0x393656=_0x11102a,{unitID:_0x5878e7}=_0x5dd8fb,_0x338c9c=this[_0x393656(0x181)][_0x393656(0x167)](_0x5878e7)[_0x393656(0x329)](_0x5a180c),{undoCache:_0xdd311c,redoCache:_0x283cfd}=_0x338c9c[_0x393656(0x2b1)]();if(_0xdd311c[_0x393656(0x19b)]===0x0||_0x283cfd[_0x393656(0x19b)]===0x0)return;const _0x20acda=[],_0x120b5f=[];let _0xa760cf=_0x3e7bec[_0x393656(0x158)](_0x5dd8fb[_0x393656(0x1b3)][0x0]),_0x5cfe89=_0x3e7bec[_0x393656(0x158)](_0x5dd8fb['mutations'][0x0]);for(let _0x21d91a=_0xdd311c['length']-0x1;_0x21d91a>=0x0;_0x21d91a--){const _0x50ac51={'id':_0x393656(0x18e),'params':{..._0xdd311c[_0x21d91a]}},_0x1264e4={'id':_0x393656(0x18e),'params':{..._0x283cfd[_0x21d91a]}},_0x1f8808=this['_transformService'][_0x393656(0x31b)](_0xa760cf,_0x50ac51,!0x1),_0x3c40a8=this[_0x393656(0x1ca)][_0x393656(0x31b)](_0x5cfe89,_0x1264e4,!0x1);if(_0x516825(_0x1f8808))throw _0x1f8808[_0x393656(0x28e)];if(_0x516825(_0x3c40a8))throw _0x3c40a8[_0x393656(0x28e)];_0x20acda['unshift'](_0x1f8808[_0x393656(0x2e3)][_0x393656(0x28f)]),_0x120b5f[_0x393656(0x201)](_0x3c40a8['m2Prime'][_0x393656(0x28f)]),_0xa760cf=_0x1f8808['m1Prime'],_0x5cfe89=_0x3c40a8[_0x393656(0x283)];}_0x338c9c[_0x393656(0x279)]({'undoCache':_0x20acda,'redoCache':_0x120b5f});}['_transformPreviousActiveRange'](_0x15e930){const _0x54a8b5=_0x11102a,{unitID:_0x584704}=_0x15e930,_0x294b50=this[_0x54a8b5(0x181)][_0x54a8b5(0x167)](_0x584704)['with'](_0x5a180c),_0x34b9d9=_0x294b50[_0x54a8b5(0x319)]();if(_0x34b9d9==null)return;const _0x82ef3=[{'id':_0x54a8b5(0x18e),'params':{'unitId':_0x15e930[_0x54a8b5(0x168)],'actions':null,'textRanges':[_0x34b9d9]}}],_0x33786f=this[_0x54a8b5(0x1ca)][_0x54a8b5(0x359)](_0x15e930,_0x82ef3);if(!_0x354fb2(_0x33786f))throw _0x33786f[_0x54a8b5(0x28e)];const _0x3b78eb=_0x33786f['m2Prime'][0x0]['params'][_0x54a8b5(0x29c)];Array[_0x54a8b5(0x2d0)](_0x3b78eb)&&_0x3b78eb[_0x54a8b5(0x19b)]&&_0x294b50[_0x54a8b5(0x361)](_0x3b78eb[0x0]);}};ne=tn([pe(0x0,_0x2b4285(_0x131769)),pe(0x1,_0x550cc8),pe(0x2,_0x34f773)],ne);var sn=Object[_0x11102a(0x1a4)],nn=(_0x333525,_0xade6cf,_0x1729c1,_0xdc3163)=>{const _0x45a7a3=_0x11102a;for(var _0x11c52b=_0xdc3163>0x1?void 0x0:_0xdc3163?sn(_0xade6cf,_0x1729c1):_0xade6cf,_0xc3dfa1=_0x333525[_0x45a7a3(0x19b)]-0x1,_0x5281f9;_0xc3dfa1>=0x0;_0xc3dfa1--)(_0x5281f9=_0x333525[_0xc3dfa1])&&(_0x11c52b=_0x5281f9(_0x11c52b)||_0x11c52b);return _0x11c52b;},Ce=(_0x4b8d0c,_0x4074f3)=>(_0x3e45d8,_0x465576)=>_0x4074f3(_0x3e45d8,_0x465576,_0x4b8d0c);let re=class{constructor(_0x1cdd0f,_0x14d015,_0x545d1e){const _0x9084f8=_0x11102a;this['_injector']=_0x1cdd0f,this[_0x9084f8(0x1ca)]=_0x14d015,this['_docStateChangeManagerService']=_0x545d1e;}[_0x11102a(0x1b2)](_0x50dea4){const _0x59120b=_0x11102a;this[_0x59120b(0x242)](_0x50dea4);}['transformRemoteChangeset'](_0x2824a8){const _0xe5f2e2=_0x11102a,{unitID:_0x5079bb}=_0x2824a8,{collaboration:_0x110908}=this[_0xe5f2e2(0x16f)][_0xe5f2e2(0x2f4)](_0x5079bb);if(_0x110908[_0xe5f2e2(0x19b)]===0x0)return _0x2824a8;let _0x38aec3=_0x3e7bec['deepClone'](_0x2824a8[_0xe5f2e2(0x1b3)][0x0]);for(let _0x26da02=0x0;_0x26da02<_0x110908[_0xe5f2e2(0x19b)];_0x26da02++){const _0x1b6822={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x110908[_0x26da02][_0xe5f2e2(0x1ee)],..._0x110908[_0x26da02]['redoState']}},_0x37d3ba=this[_0xe5f2e2(0x1ca)][_0xe5f2e2(0x31b)](_0x38aec3,_0x1b6822,!0x1);if(_0x516825(_0x37d3ba))throw _0x37d3ba['error'];_0x38aec3=_0x37d3ba[_0xe5f2e2(0x283)];}return{..._0x3e7bec['deepClone'](_0x2824a8),'mutations':[_0x38aec3]};}[_0x11102a(0x242)](_0x336df4){const _0x4f5967=_0x11102a,{unitID:_0x24a2bf}=_0x336df4,{history:_0x24eb61,collaboration:_0x2c29a5}=this[_0x4f5967(0x16f)][_0x4f5967(0x2f4)](_0x24a2bf);if(_0x24eb61['length']===0x0&&_0x2c29a5[_0x4f5967(0x19b)]===0x0)return;const _0x37f512=[],_0x7a0173=[];let _0x37f001=_0x3e7bec['deepClone'](_0x336df4['mutations'][0x0]),_0x5ddf2e=_0x3e7bec['deepClone'](_0x336df4[_0x4f5967(0x1b3)][0x0]);for(let _0x235c34=_0x24eb61[_0x4f5967(0x19b)]-0x1;_0x235c34>=0x0;_0x235c34--){const _0x91b596={'id':_0x4f5967(0x18e),'params':{'unitId':_0x24eb61[_0x235c34][_0x4f5967(0x1ee)],..._0x24eb61[_0x235c34]['undoState']}},_0x212d88={'id':_0x4f5967(0x18e),'params':{'unitId':_0x24eb61[_0x235c34][_0x4f5967(0x1ee)],..._0x24eb61[_0x235c34][_0x4f5967(0x187)]}},_0x527bb5=this[_0x4f5967(0x1ca)][_0x4f5967(0x31b)](_0x37f001,_0x91b596,!0x1),_0x5466d0=this[_0x4f5967(0x1ca)][_0x4f5967(0x31b)](_0x5ddf2e,_0x212d88,!0x1);if(_0x516825(_0x527bb5))throw _0x527bb5['error'];if(_0x516825(_0x5466d0))throw _0x5466d0[_0x4f5967(0x28e)];_0x37f512[_0x4f5967(0x201)]({..._0x24eb61[_0x235c34],'undoState':_0x527bb5['m2Prime'][_0x4f5967(0x28f)],'redoState':_0x5466d0[_0x4f5967(0x2e3)][_0x4f5967(0x28f)]}),_0x37f001=_0x527bb5[_0x4f5967(0x283)],_0x5ddf2e=_0x5466d0[_0x4f5967(0x283)];}_0x37f001=_0x3e7bec[_0x4f5967(0x158)](_0x336df4[_0x4f5967(0x1b3)][0x0]),_0x5ddf2e=_0x3e7bec['deepClone'](_0x336df4[_0x4f5967(0x1b3)][0x0]);for(let _0x25ab44=_0x2c29a5[_0x4f5967(0x19b)]-0x1;_0x25ab44>=0x0;_0x25ab44--){const _0x4880e3={'id':_0x4f5967(0x18e),'params':{'unitId':_0x2c29a5[_0x25ab44][_0x4f5967(0x1ee)],..._0x2c29a5[_0x25ab44][_0x4f5967(0x171)]}},_0x59ba4a={'id':_0x4f5967(0x18e),'params':{'unitId':_0x2c29a5[_0x25ab44][_0x4f5967(0x1ee)],..._0x2c29a5[_0x25ab44][_0x4f5967(0x187)]}},_0x5da445=this[_0x4f5967(0x1ca)][_0x4f5967(0x31b)](_0x37f001,_0x4880e3,!0x1),_0x59b2d3=this[_0x4f5967(0x1ca)][_0x4f5967(0x31b)](_0x5ddf2e,_0x59ba4a,!0x1);if(_0x516825(_0x5da445))throw _0x5da445[_0x4f5967(0x28e)];if(_0x516825(_0x59b2d3))throw _0x59b2d3[_0x4f5967(0x28e)];_0x7a0173[_0x4f5967(0x201)]({..._0x2c29a5[_0x25ab44],'undoState':_0x5da445[_0x4f5967(0x2e3)][_0x4f5967(0x28f)],'redoState':_0x59b2d3[_0x4f5967(0x2e3)][_0x4f5967(0x28f)]}),_0x37f001=_0x5da445['m1Prime'],_0x5ddf2e=_0x59b2d3[_0x4f5967(0x283)];}this[_0x4f5967(0x16f)]['setStateCache'](_0x24a2bf,{'history':_0x37f512,'collaboration':_0x7a0173});}};re=nn([Ce(0x0,_0x2b4285(_0x131769)),Ce(0x1,_0x550cc8),Ce(0x2,_0x2b4285(_0x49a5b3))],re);var rn=Object[_0x11102a(0x1a4)],on=(_0x108a1d,_0x213dc1,_0xa96b89,_0x1c0f51)=>{const _0x46e53c=_0x11102a;for(var _0x2df3d8=_0x1c0f51>0x1?void 0x0:_0x1c0f51?rn(_0x213dc1,_0xa96b89):_0x213dc1,_0x33a6ab=_0x108a1d[_0x46e53c(0x19b)]-0x1,_0x32b491;_0x33a6ab>=0x0;_0x33a6ab--)(_0x32b491=_0x108a1d[_0x33a6ab])&&(_0x2df3d8=_0x32b491(_0x2df3d8)||_0x2df3d8);return _0x2df3d8;},tt=(_0x189ea6,_0x134b3c)=>(_0x3c5655,_0x3ef51d)=>_0x134b3c(_0x3c5655,_0x3ef51d,_0x189ea6);let oe=class{constructor(_0x5d4761,_0xb22d6a){const _0x4e4d78=_0x11102a;this['_injector']=_0x5d4761,this[_0x4e4d78(0x1ca)]=_0xb22d6a;}[_0x11102a(0x200)](_0x30d414){const _0x4a5ec8=_0x11102a;var _0x42e6b8;const _0x34488f=this[_0x4a5ec8(0x1ac)]['get'](_0x5ab09f),_0x1b5ca9=(_0x42e6b8=_0x34488f['getDocRanges']())!=null?_0x42e6b8:[];if(_0x1b5ca9[_0x4a5ec8(0x19b)]===0x0)return;const _0xe4e544=_0x30d414['unitID'],_0x23cce5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe4e544,'actions':null,'textRanges':_0x1b5ca9}}],_0x359bcf=this[_0x4a5ec8(0x1ca)][_0x4a5ec8(0x359)](_0x30d414,_0x23cce5);if(!_0x354fb2(_0x359bcf))throw _0x359bcf[_0x4a5ec8(0x28e)];const _0x5885ad=_0x359bcf['m2Prime'][0x0][_0x4a5ec8(0x28f)][_0x4a5ec8(0x29c)];Array[_0x4a5ec8(0x2d0)](_0x5885ad)&&_0x5885ad['length']&&_0x34488f[_0x4a5ec8(0x2fb)](_0x5885ad,{'unitId':_0xe4e544,'subUnitId':_0xe4e544},!0x1);}};oe=on([tt(0x0,_0x2b4285(_0x131769)),tt(0x1,_0x550cc8)],oe);var an=Object[_0x11102a(0x1a4)],cn=(_0xc48c0d,_0x1743ca,_0x48a2c2,_0xaf2d1d)=>{const _0x28c8d9=_0x11102a;for(var _0x59fa07=_0xaf2d1d>0x1?void 0x0:_0xaf2d1d?an(_0x1743ca,_0x48a2c2):_0x1743ca,_0x2c2dca=_0xc48c0d[_0x28c8d9(0x19b)]-0x1,_0x6d39ba;_0x2c2dca>=0x0;_0x2c2dca--)(_0x6d39ba=_0xc48c0d[_0x2c2dca])&&(_0x59fa07=_0x6d39ba(_0x59fa07)||_0x59fa07);return _0x59fa07;},U=(_0x34eca0,_0x5ad9ca)=>(_0x667bb5,_0x4790bb)=>_0x5ad9ca(_0x667bb5,_0x4790bb,_0x34eca0);let ae=class extends _0x1e23b2{constructor(_0x4ba38e,_0x23c529,_0x3edd3c,_0x334bb0,_0x3a2549,_0x19b542,_0x4c7716,_0x84ff48){const _0x206326=_0x11102a;super(),_(this,'_status$',new _0xad1a80(_0x3ba4cf[_0x206326(0x29d)])),(this['_docStateChangeManagerService']=_0x4ba38e,this[_0x206326(0x20a)]=_0x23c529,this[_0x206326(0x192)]=_0x3edd3c,this['_docTransformStateCacheService']=_0x334bb0,this[_0x206326(0x2c5)]=_0x3a2549,this['_docSyncEditingCollabCursorService']=_0x19b542,this['_messageService']=_0x4c7716,this[_0x206326(0x303)]=_0x84ff48,this['_initEntityListener']());}[_0x11102a(0x21d)](){const _0x51545e=_0x11102a;this[_0x51545e(0x213)](this[_0x51545e(0x20a)]['entityInit$'][_0x51545e(0x325)](_0x43d1b5=>{const _0x217cdc=_0x51545e,_0xc62122=this[_0x217cdc(0x16f)][_0x217cdc(0x35c)][_0x217cdc(0x325)](_0x5191d0=>{const _0x3f820f=_0x217cdc;if(_0x5191d0==null)return;const {unitId:_0xf1d78a,redoState:_0x4b1108,commandId:_0x18313a}=_0x5191d0;if(_0xf1d78a!==_0x43d1b5[_0x3f820f(0x168)])return;const _0x523288={'id':_0x18313a,'type':_0x13016e[_0x3f820f(0x1d9)],'params':{'unitId':_0xf1d78a,'actions':_0x4b1108[_0x3f820f(0x26b)],'textRanges':null}};_0x43d1b5['onLocalMutation'](_0x523288);});if(_0x43d1b5[_0x217cdc(0x213)](_0xc62122),_0x43d1b5 instanceof _0x4e9ce3){const _0xf274a3={'onTransformIME':_0xd4fc36=>this['_docTransformIMECacheService'][_0x217cdc(0x313)](_0xd4fc36),'onTransformState':_0x51171d=>this[_0x217cdc(0x197)][_0x217cdc(0x1b2)](_0x51171d),'onTransformSelections':_0x10ef03=>this['_docTransformSelectionsService']['transformSelections'](_0x10ef03),'onSyncEditingCollabCursor':_0xa14eb3=>this[_0x217cdc(0x30f)][_0x217cdc(0x33b)](_0xa14eb3),'onTransformRemoteChangesetByIMECache':_0x36983f=>this[_0x217cdc(0x192)][_0x217cdc(0x326)](_0x36983f),'onTransformRemoteChangesetByStateCache':_0x3cf54b=>this['_docTransformStateCacheService'][_0x217cdc(0x326)](_0x3cf54b)};_0x43d1b5[_0x217cdc(0x1bb)](_0xf274a3);}}));}};ae=cn([U(0x0,_0x2b4285(_0x49a5b3)),U(0x1,_0x2b4285(_0x264a80)),U(0x2,_0x2b4285(ne)),U(0x3,_0x2b4285(re)),U(0x4,_0x2b4285(oe)),U(0x5,_0x2b4285(He)),U(0x6,_0x5d8759),U(0x7,_0x2b4285(_0xc5702f))],ae);var ln=Object[_0x11102a(0x1a4)],_n=(_0x3f6319,_0x61fdbf,_0x9458db,_0x5881d3)=>{for(var _0x5750eb=_0x5881d3>0x1?void 0x0:_0x5881d3?ln(_0x61fdbf,_0x9458db):_0x61fdbf,_0x51bd89=_0x3f6319['length']-0x1,_0xb13c29;_0x51bd89>=0x0;_0x51bd89--)(_0xb13c29=_0x3f6319[_0x51bd89])&&(_0x5750eb=_0xb13c29(_0x5750eb)||_0x5750eb);return _0x5750eb;},Ee=(_0x3617df,_0x469dfd)=>(_0x1337ae,_0x502884)=>_0x469dfd(_0x1337ae,_0x502884,_0x3617df);let we=class extends _0x1e23b2{constructor(_0x1b26fc,_0x1bad11,_0x27fa66){const _0x395c8b=_0x11102a;super(),_(this,_0x395c8b(0x1fb),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x395c8b(0x17c),!0x1),(this[_0x395c8b(0x1ce)]=_0x1b26fc,this[_0x395c8b(0x1ae)]=_0x1bad11,this['_revisionService']=_0x27fa66);}[_0x11102a(0x178)](){const _0x1d6e86=_0x11102a;this[_0x1d6e86(0x17c)]=!0x0;}[_0x11102a(0x25f)](){const _0x470144=_0x11102a;this[_0x470144(0x17c)]=!0x1;}get['saveTaskMap'](){const _0x4bb58e=_0x11102a;return this[_0x4bb58e(0x32a)];}[_0x11102a(0x2f9)](){const _0x24da22=_0x11102a;this['exhaustSavingTask']()[_0x24da22(0x221)](()=>super[_0x24da22(0x2f9)]());}async[_0x11102a(0x2bc)](_0x5091c2){const _0x35e221=_0x11102a;return this[_0x35e221(0x17c)]?null:this['_localStorageService'][_0x35e221(0x1cd)](_0x4fed79(_0x5091c2));}async[_0x11102a(0x32e)](_0x70d6c8,_0x194d26){const _0x1e37e2=_0x11102a;return!!this[_0x1e37e2(0x1ae)][_0x1e37e2(0x2e6)](_0x70d6c8,_0x194d26);}[_0x11102a(0x27f)](_0x1165fa,_0x335611,_0x285754,_0x5300fd){const _0x5c5280=_0x11102a,_0x2bedd9=this['_revisionService'][_0x5c5280(0x18d)](_0x1165fa);this[_0x5c5280(0x1fb)]['set'](_0x1165fa,{'unitID':_0x1165fa,'type':_0x335611,'awaitingChangeset':_0x285754,'mutations':_0x5300fd,'rev':_0x2bedd9}),this[_0x5c5280(0x32a)]['has'](_0x1165fa)||this[_0x5c5280(0x284)](_0x1165fa);}['_scheduleSaving'](_0x2276a4){const _0x4e7ef7=_0x11102a,_0x156a91=this[_0x4e7ef7(0x302)]();_0x156a91===0x0?this[_0x4e7ef7(0x287)](_0x2276a4):this['_saveTaskMap'][_0x4e7ef7(0x1eb)](_0x2276a4,setTimeout(()=>this['_saveCache'](_0x2276a4),_0x156a91));}[_0x11102a(0x302)](){const _0x2d579e=_0x11102a;var _0x35fe51;return(_0x35fe51=this[_0x2d579e(0x1ce)][_0x2d579e(0x2eb)](_0x14a91f))!=null?_0x35fe51:_0x222bd9;}[_0x11102a(0x287)](_0x4e74ee){const _0x46e4fa=_0x11102a,_0x4049fe=this['_saveTaskMap'][_0x46e4fa(0x320)](_0x4e74ee);return _0x4049fe!==void 0x0&&window['clearTimeout'](_0x4049fe),this[_0x46e4fa(0x1ae)][_0x46e4fa(0x2e6)](_0x4fed79(_0x4e74ee),this[_0x46e4fa(0x1fb)][_0x46e4fa(0x320)](_0x4e74ee))['then'](()=>this['_saveTaskMap'][_0x46e4fa(0x25a)](_0x4e74ee));}async[_0x11102a(0x271)](){const _0x53268f=_0x11102a,_0x2cef13=[];this[_0x53268f(0x32a)][_0x53268f(0x28b)]((_0x181817,_0xf08809)=>{const _0x13a61d=_0x53268f;window[_0x13a61d(0x33f)](_0x181817),_0x2cef13['push'](this[_0x13a61d(0x287)](_0xf08809)[_0x13a61d(0x221)](()=>{const _0x12536f=_0x13a61d;this[_0x12536f(0x32a)]['delete'](_0xf08809);}));}),await Promise[_0x53268f(0x188)](_0x2cef13);}};we=_n([Ee(0x0,_0xf1e632),Ee(0x1,_0x5d1384),Ee(0x2,_0x2b4285(_0x1da2b4))],we);class hn extends _0xf7e603{constructor(){const _0x16d7fe=_0x11102a;super(),_(this,_0x16d7fe(0x160)),this[_0x16d7fe(0x160)]=_0x537e26(window,_0x16d7fe(0x34c))[_0x16d7fe(0x16d)](_0x55f565(this[_0x16d7fe(0x262)]),_0xa38cc(0x1),_0x2dda93(void 0x0));}[_0x11102a(0x2ea)](_0x14dee2,_0x5a6d65,_0x340d35=!0x1){const _0x4fb514=_0x11102a,_0x3cd2d6=new URL(window[_0x4fb514(0x35f)]['href']);_0x3cd2d6[_0x4fb514(0x1c7)][_0x4fb514(0x1eb)](_0x14dee2,_0x5a6d65),_0x340d35?window[_0x4fb514(0x2da)][_0x4fb514(0x2cc)]('','',_0x3cd2d6[_0x4fb514(0x1f8)]()):window[_0x4fb514(0x2da)][_0x4fb514(0x219)]('','',_0x3cd2d6['toString']());}['removeParam'](_0x2223f6,_0x364da0=!0x1){const _0x1edb6e=_0x11102a,_0x398de8=new URL(window[_0x1edb6e(0x35f)][_0x1edb6e(0x1bc)]);_0x398de8[_0x1edb6e(0x1c7)][_0x1edb6e(0x25a)](_0x2223f6),_0x364da0?window[_0x1edb6e(0x2da)][_0x1edb6e(0x2cc)]('','',_0x398de8['toString']()):window[_0x1edb6e(0x2da)][_0x1edb6e(0x219)]('','',_0x398de8[_0x1edb6e(0x1f8)]());}[_0x11102a(0x1a5)](_0x12e9c1){const _0x31430f=_0x11102a;var _0x5c850f;return(_0x5c850f=new URL(window[_0x31430f(0x35f)][_0x31430f(0x1bc)])[_0x31430f(0x1c7)][_0x31430f(0x320)](_0x12e9c1))!=null?_0x5c850f:void 0x0;}}var un=Object[_0x11102a(0x1ff)],dn=Object[_0x11102a(0x1a4)],fn=(_0x224d6b,_0x50e708,_0x427545)=>_0x50e708 in _0x224d6b?un(_0x224d6b,_0x50e708,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x427545}):_0x224d6b[_0x50e708]=_0x427545,Sn=(_0x3c48a9,_0x591242,_0x5568df,_0x14ecac)=>{const _0x5520e6=_0x11102a;for(var _0x25761d=_0x14ecac>0x1?void 0x0:_0x14ecac?dn(_0x591242,_0x5568df):_0x591242,_0x1ee40c=_0x3c48a9[_0x5520e6(0x19b)]-0x1,_0x55369e;_0x1ee40c>=0x0;_0x1ee40c--)(_0x55369e=_0x3c48a9[_0x1ee40c])&&(_0x25761d=_0x55369e(_0x25761d)||_0x25761d);return _0x25761d;},Oe=(_0x2e4564,_0x51c258)=>(_0x548089,_0x582cab)=>_0x51c258(_0x548089,_0x582cab,_0x2e4564),mn=(_0x455d94,_0x258c02,_0x51c365)=>fn(_0x455d94,_0x258c02+'',_0x51c365);const In=_0x11102a(0x35d);let Ae=class extends _0x253812{constructor(_0x51a290=et,_0x4b0096,_0x1c8097,_0x1d6842){const _0x41476f=_0x11102a;super(),this['_config']=_0x51a290,this[_0x41476f(0x181)]=_0x4b0096,this['_injector']=_0x1c8097,this[_0x41476f(0x1ce)]=_0x1d6842;const {..._0x10d74d}=_0x44a670({},et,this[_0x41476f(0x2f8)]);this[_0x41476f(0x1ce)][_0x41476f(0x2f6)](Zi,_0x10d74d);}['onStarting'](){const _0x33d8b1=_0x11102a;this[_0x33d8b1(0x230)](),this[_0x33d8b1(0x18c)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x11102a(0x230)](){const _0x1d0d08=_0x11102a;var _0xe0b3eb;const _0x558875=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2d5b91,{'useClass':_0x32ace2}],[_0x446f94,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3e1560(this['_injector'],_0xa80361(_0x558875,(_0xe0b3eb=this[_0x1d0d08(0x2f8)])==null?void 0x0:_0xe0b3eb[_0x1d0d08(0x15d)]));}[_0x11102a(0x1ad)](){const _0x1077cd=_0x11102a;this['disposeWithMe'](this[_0x1077cd(0x181)][_0x1077cd(0x273)](_0x3b94d5[_0x1077cd(0x20e)],[Le])),this[_0x1077cd(0x213)](this[_0x1077cd(0x181)][_0x1077cd(0x273)](_0x3b94d5[_0x1077cd(0x2d9)],[Pe]));}[_0x11102a(0x18c)](){const _0x375d1e=_0x11102a;_0x34c0ac(this[_0x375d1e(0x1ac)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x11102a(0x2fc),In),Ae=Sn([_0x3ea885(_0x2e3f41),Oe(0x1,_0x34f773),Oe(0x2,_0x2b4285(_0x131769)),Oe(0x3,_0xf1e632)],Ae);var gn=Object[_0x11102a(0x1a4)],vn=(_0x5ded5c,_0x1e2e4f,_0x358a56,_0x321ab7)=>{const _0x13ef50=_0x11102a;for(var _0x41a14f=_0x321ab7>0x1?void 0x0:_0x321ab7?gn(_0x1e2e4f,_0x358a56):_0x1e2e4f,_0x3085c0=_0x5ded5c[_0x13ef50(0x19b)]-0x1,_0x3bb10a;_0x3085c0>=0x0;_0x3085c0--)(_0x3bb10a=_0x5ded5c[_0x3085c0])&&(_0x41a14f=_0x3bb10a(_0x41a14f)||_0x41a14f);return _0x41a14f;},K=(_0x4ce015,_0x7bf7ec)=>(_0xb56fab,_0x448dd3)=>_0x7bf7ec(_0xb56fab,_0x448dd3,_0x4ce015);let st=class extends _0x28b61e{constructor(_0xfdd11,_0x1e5bfe,_0x279e94,_0x2d6faa,_0x267ffe){super(_0xfdd11,_0x1e5bfe,_0x279e94,_0x2d6faa,_0x267ffe);}async[_0x11102a(0x311)](_0x42bdcc){const _0x3d60f0=_0x11102a,_0xcc71fb=await this[_0x3d60f0(0x27d)](),_0x5c99ff=this[_0x3d60f0(0x1fa)](_0x42bdcc,_0xcc71fb);return this['_doCreateSocket'](_0x5c99ff);}[_0x11102a(0x1fa)](_0x5a6dc9,_0x496ac8){const _0x876185=_0x11102a,_0x44efcb=typeof window>'u'?new URL(_0x5a6dc9):new URL(_0x5a6dc9,window[_0x876185(0x35f)][_0x876185(0x268)]);_0x44efcb[_0x876185(0x1c7)]['set']('sessionTicket',_0x496ac8);const _0xb76a50=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x876185(0x35f)][_0x876185(0x239)]);return _0xb76a50[_0x876185(0x320)](_0x876185(0x206))&&_0x44efcb[_0x876185(0x1c7)][_0x876185(0x1eb)]('runId',_0xb76a50[_0x876185(0x320)]('runId')),_0x44efcb[_0x876185(0x1f8)]();}async[_0x11102a(0x27d)](){const _0x38d19d=_0x11102a;var _0x38baea,_0x9cbea,_0x105d1b;const _0x61d946=this[_0x38d19d(0x1ce)][_0x38d19d(0x2eb)](_0x282098),_0x3f5a2=(_0x38baea=_0x61d946==null?void 0x0:_0x61d946[_0x38d19d(0x23e)])!=null?_0x38baea:_0x3b56b7;return(_0x105d1b=(_0x9cbea=(await this['_httpService']['get'](_0x3f5a2,{'headers':{'Content-Type':'application/json'}}))[_0x38d19d(0x2e5)])==null?void 0x0:_0x9cbea[_0x38d19d(0x2a3)])!=null?_0x105d1b:'';}};st=vn([K(0x0,_0x2b4285(_0x131769)),K(0x1,_0x2b4285(_0x47bc19)),K(0x2,_0xf1e632),K(0x3,_0x5a56cf),K(0x4,_0xc355f)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x1e23b2{constructor(){const _0x5bfc91=_0x11102a;super(),_(this,_0x5bfc91(0x2cf),_0x2f5f12()),_(this,_0x5bfc91(0x2b5),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x5bfc91(0x289),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x5bfc91(0x1b7)]();}[_0x11102a(0x2f9)](){const _0x1bb0b4=_0x11102a;super[_0x1bb0b4(0x2f9)](),this[_0x1bb0b4(0x34a)][_0x1bb0b4(0x28b)]((_0x12c427,_0x5ed114)=>this[_0x1bb0b4(0x288)](_0x5ed114)),this[_0x1bb0b4(0x289)]&&window[_0x1bb0b4(0x349)](this[_0x1bb0b4(0x289)]);}[_0x11102a(0x346)](_0x1283f4){const _0x20ef2e=_0x11102a;return this[_0x20ef2e(0x360)](_0x1283f4)['pipe'](_0x2ba715());}[_0x11102a(0x21c)](_0x12fdd9){const _0x742ed0=_0x11102a;this[_0x742ed0(0x2b5)][_0x742ed0(0x1de)]===0x0&&this[_0x742ed0(0x177)](),this[_0x742ed0(0x2b5)]['add'](_0x12fdd9),this[_0x742ed0(0x180)]({'type':0x0,'memberID':this[_0x742ed0(0x2cf)],'unitIDs':[_0x12fdd9],'isForwarded':!0x1});}[_0x11102a(0x357)](_0x381f87){const _0x4197b2=_0x11102a;this[_0x4197b2(0x2b5)][_0x4197b2(0x25a)](_0x381f87),this[_0x4197b2(0x2b5)][_0x4197b2(0x1de)]===0x0&&this[_0x4197b2(0x289)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x44abdb=_0x11102a;this['disposeWithMe'](_0x16a2f8(_0x537e26(window,_0x44abdb(0x296))[_0x44abdb(0x325)](_0x48a0c1=>{const _0x10c318=_0x44abdb;if(_0x48a0c1[_0x10c318(0x2d7)]!==nt||!_0x48a0c1['newValue'])return;const _0x499e10=JSON[_0x10c318(0x338)](_0x48a0c1['newValue']);this[_0x10c318(0x20c)](_0x499e10);}))),window['addEventListener'](_0x44abdb(0x2ce),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x44abdb(0x1f6)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x51a056){const _0xb1f2e8=_0x11102a;switch(_0x51a056[_0xb1f2e8(0x24c)]){case 0x0:this[_0xb1f2e8(0x246)](_0x51a056);break;case 0x1:this['_handleLeaveEvent'](_0x51a056);break;case 0x2:this[_0xb1f2e8(0x1ed)](_0x51a056);break;}}[_0x11102a(0x246)](_0x522c1c){const _0x491cb9=_0x11102a,{unitIDs:_0x374638,memberID:_0x4140d7,isForwarded:_0x58b5f4}=_0x522c1c;_0x374638[_0x491cb9(0x28b)](_0x38772a=>{const _0x50ca0d=_0x491cb9;if(!_0x58b5f4&&this[_0x50ca0d(0x17a)][_0x50ca0d(0x22c)](_0x38772a)&&this[_0x50ca0d(0x360)](_0x38772a)['next'](_0x3be58a['OTHER_CLIENTS_EDITING']),!this[_0x50ca0d(0x17a)][_0x50ca0d(0x22c)](_0x38772a)||!this[_0x50ca0d(0x17a)][_0x50ca0d(0x320)](_0x38772a)[_0x50ca0d(0x22c)](_0x4140d7)){const _0x2771e2=this[_0x50ca0d(0x17a)][_0x50ca0d(0x320)](_0x38772a)||new Set();_0x2771e2[_0x50ca0d(0x2fa)](_0x4140d7),this[_0x50ca0d(0x17a)]['set'](_0x38772a,_0x2771e2),this['_scheduleClearOtherTimer'](_0x4140d7);}}),_0x58b5f4||this[_0x491cb9(0x180)]({'type':0x0,'memberID':this[_0x491cb9(0x2cf)],'unitIDs':[...this[_0x491cb9(0x2b5)]],'isForwarded':!0x0});}[_0x11102a(0x297)](_0x1cab56){const _0x34fa03=_0x11102a;this[_0x34fa03(0x288)](_0x1cab56);const _0x4f6dd1=window[_0x34fa03(0x224)](()=>{this['_unitOnClients']['forEach'](_0x36b6e0=>{const _0xf708f3=_0xc8eb;_0x36b6e0[_0xf708f3(0x25a)](_0x1cab56);});},it*0x2);this[_0x34fa03(0x34a)][_0x34fa03(0x1eb)](_0x1cab56,_0x4f6dd1);}[_0x11102a(0x288)](_0x116961){const _0x2198a3=_0x11102a;if(this['_clearOtherTimers'][_0x2198a3(0x22c)](_0x116961)){const _0x3a3786=this[_0x2198a3(0x34a)]['get'](_0x116961);_0x3a3786&&window[_0x2198a3(0x33f)](_0x3a3786),this[_0x2198a3(0x34a)]['set'](_0x116961,null);}}[_0x11102a(0x2a9)](_0x236e4b){const _0x2d22c6=_0x11102a,{memberID:_0x10a20f,unitIDs:_0x58746b}=_0x236e4b;_0x58746b[_0x2d22c6(0x28b)](_0x38883f=>{const _0x429571=_0x2d22c6;var _0x56e8d5;const _0xf6007f=this[_0x429571(0x17a)]['get'](_0x38883f);_0xf6007f&&(_0xf6007f[_0x429571(0x25a)](_0x10a20f),(_0x56e8d5=this[_0x429571(0x360)](_0x38883f))==null||_0x56e8d5['next'](_0xf6007f['size']===0x0?_0x3be58a['NO_OTHER_CLIENTS_EDITING']:_0x3be58a[_0x429571(0x25c)]));}),this[_0x2d22c6(0x288)](_0x10a20f);}[_0x11102a(0x1ed)](_0x4650d4){const _0x1e650e=_0x11102a;this[_0x1e650e(0x297)](_0x4650d4['memberID']);}[_0x11102a(0x180)](_0x477d71){const _0x3c7f16=_0x11102a;localStorage[_0x3c7f16(0x2e6)](nt,JSON[_0x3c7f16(0x2aa)](_0x477d71));}[_0x11102a(0x177)](){const _0x58a57a=_0x11102a;this[_0x58a57a(0x289)]=window['setInterval'](()=>{const _0x2df2bf=_0x58a57a;this[_0x2df2bf(0x180)]({'type':0x2,'memberID':this[_0x2df2bf(0x2cf)]});},it);}['_ensureSubject'](_0x348cd5){const _0x13febd=_0x11102a;return this[_0x13febd(0x222)]['has'](_0x348cd5)||this[_0x13febd(0x222)][_0x13febd(0x1eb)](_0x348cd5,new _0xad1a80(_0x3be58a['NO_OTHER_CLIENTS_EDITING'])),this[_0x13febd(0x222)][_0x13febd(0x320)](_0x348cd5);}}var Mt=(_0x38e703=>(_0x38e703[_0x38e703['UNDEFINED']=0x0]=_0x11102a(0x1b4),_0x38e703[_0x38e703['OK']=0x1]='OK',_0x38e703[_0x38e703[_0x11102a(0x2b3)]=0x2]=_0x11102a(0x2b3),_0x38e703[_0x38e703['PERMISSION_DENIED']=0x3]=_0x11102a(0x212),_0x38e703[_0x38e703[_0x11102a(0x1c5)]=0x4]=_0x11102a(0x1c5),_0x38e703[_0x38e703[_0x11102a(0x295)]=0x5]=_0x11102a(0x295),_0x38e703[_0x38e703[_0x11102a(0x1a2)]=0x6]=_0x11102a(0x1a2),_0x38e703[_0x38e703[_0x11102a(0x321)]=0x7]='INVALID_ARGUMENT',_0x38e703[_0x38e703[_0x11102a(0x1a9)]=0x8]=_0x11102a(0x1a9),_0x38e703[_0x38e703[_0x11102a(0x1b8)]=0x9]='COMPLETION_FINISHED',_0x38e703[_0x38e703[_0x11102a(0x215)]=0xa]=_0x11102a(0x215),_0x38e703[_0x38e703[_0x11102a(0x341)]=0xb]=_0x11102a(0x341),_0x38e703[_0x38e703[_0x11102a(0x32b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x38e703[_0x38e703['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x11102a(0x2cb),_0x38e703[_0x38e703[_0x11102a(0x2c6)]=0xe]=_0x11102a(0x2c6),_0x38e703[_0x38e703[_0x11102a(0x23c)]=0x1389]=_0x11102a(0x23c),_0x38e703[_0x38e703['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x11102a(0x190),_0x38e703[_0x38e703[_0x11102a(0x25b)]=0x1772]=_0x11102a(0x25b),_0x38e703[_0x38e703['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x38e703[_0x38e703[_0x11102a(0x182)]=0x1b59]=_0x11102a(0x182),_0x38e703[_0x38e703[_0x11102a(0x26c)]=0x1b5a]=_0x11102a(0x26c),_0x38e703[_0x38e703[_0x11102a(0x307)]=0x1b5b]=_0x11102a(0x307),_0x38e703[_0x38e703[_0x11102a(0x351)]=0x1b5c]=_0x11102a(0x351),_0x38e703[_0x38e703[_0x11102a(0x324)]=0x1b5d]='APPLY_DUPLICATED',_0x38e703[_0x38e703[_0x11102a(0x1be)]=0x1f41]=_0x11102a(0x1be),_0x38e703[_0x38e703['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x11102a(0x2cd),_0x38e703[_0x38e703['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x11102a(0x1d0),_0x38e703[_0x38e703[_0x11102a(0x1bd)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x38e703[_0x38e703['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x11102a(0x33d),_0x38e703[_0x38e703[_0x11102a(0x31f)]=0x232d]=_0x11102a(0x31f),_0x38e703[_0x38e703[_0x11102a(0x356)]=0x2711]=_0x11102a(0x356),_0x38e703[_0x38e703[_0x11102a(0x355)]=0x2712]=_0x11102a(0x355),_0x38e703[_0x38e703['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x11102a(0x22f),_0x38e703[_0x38e703['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x11102a(0x2a0),_0x38e703[_0x38e703[_0x11102a(0x1a6)]=0x271a]=_0x11102a(0x1a6),_0x38e703[_0x38e703[_0x11102a(0x251)]=0x271b]=_0x11102a(0x251),_0x38e703[_0x38e703[_0x11102a(0x244)]=0x271c]=_0x11102a(0x244),_0x38e703[_0x38e703[_0x11102a(0x1b6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x38e703[_0x38e703[_0x11102a(0x1e0)]=0x271e]=_0x11102a(0x1e0),_0x38e703[_0x38e703['YUUMI_AI_RUN_FAILED']=0x271f]=_0x11102a(0x2f3),_0x38e703[_0x38e703[_0x11102a(0x275)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x38e703[_0x38e703[_0x11102a(0x204)]=0x2af9]=_0x11102a(0x204),_0x38e703[_0x38e703[_0x11102a(0x205)]=0x2ee1]=_0x11102a(0x205),_0x38e703[_0x38e703['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x38e703[_0x38e703[_0x11102a(0x24e)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x38e703[_0x38e703['USER_NOT_INVITED_CODE']=0x2ee4]=_0x11102a(0x165),_0x38e703[_0x38e703[_0x11102a(0x2b4)]=0x2ee5]=_0x11102a(0x2b4),_0x38e703[_0x38e703[_0x11102a(0x163)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x38e703[_0x38e703['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x11102a(0x264),_0x38e703[_0x38e703['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x11102a(0x2b7),_0x38e703[_0x38e703[_0x11102a(0x1c8)]=-0x1]='UNRECOGNIZED',_0x38e703))(Mt||{}),pn=Object[_0x11102a(0x1a4)],Cn=(_0x2346c9,_0x444aa3,_0x12bc8b,_0x4d62bc)=>{const _0x5b6235=_0x11102a;for(var _0x4c3cf6=_0x4d62bc>0x1?void 0x0:_0x4d62bc?pn(_0x444aa3,_0x12bc8b):_0x444aa3,_0x263381=_0x2346c9[_0x5b6235(0x19b)]-0x1,_0x52682b;_0x263381>=0x0;_0x263381--)(_0x52682b=_0x2346c9[_0x263381])&&(_0x4c3cf6=_0x52682b(_0x4c3cf6)||_0x4c3cf6);return _0x4c3cf6;},be=(_0x38ad49,_0x2fb138)=>(_0x36eaec,_0x5593ac)=>_0x2fb138(_0x36eaec,_0x5593ac,_0x38ad49);let rt=class extends _0x1e23b2{constructor(_0x33dbb6,_0x30f372,_0x325f76){const _0x11894c=_0x11102a;super(),this[_0x11894c(0x1ef)]=_0x33dbb6,this[_0x11894c(0x345)]=_0x30f372,this['_configService']=_0x325f76;}async[_0x11102a(0x353)](_0x555401,_0x4023bf,_0x5556f5,..._0x123ee9){const _0xf08797=_0x11102a;var _0x2b84a3,_0x1d1a32,_0xfe848f,_0x130a7d;const _0x42d354=this[_0xf08797(0x1ef)]['getFocusedUnit']();if(!_0x42d354)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4f5ab3=((_0x2b84a3=this[_0xf08797(0x1ce)][_0xf08797(0x2eb)](_0x1f9421))!=null?_0x2b84a3:_0x2519e2)+'/'+_0x555401+_0xf08797(0x34f)+_0x4023bf,_0x2a22a7=new URL(window[_0xf08797(0x35f)]['href']),_0x107476={'scriptId':_0x555401,'runId':(_0x1d1a32=_0x2a22a7[_0xf08797(0x1c7)][_0xf08797(0x320)]('runId'))!=null?_0x1d1a32:'','function':_0x4023bf,'unitId':_0x42d354[_0xf08797(0x2f2)](),'argsOfFunction':JSON[_0xf08797(0x2aa)](_0x123ee9),'invokeId':(_0xfe848f=_0x5556f5['invokeId'])!=null?_0xfe848f:'','executionId':(_0x130a7d=_0x5556f5['executionId'])!=null?_0x130a7d:''};try{const _0x509dda=await this['_httpService'][_0xf08797(0x24b)](_0x4f5ab3,{'body':_0x107476});return _0x509dda[_0xf08797(0x2e5)][_0xf08797(0x28e)]&&_0x509dda['body'][_0xf08797(0x28e)][_0xf08797(0x253)]!==Mt['OK']?_0xf08797(0x29e):_0x509dda[_0xf08797(0x2e5)][_0xf08797(0x22b)];}catch{return _0xf08797(0x29e);}}};rt=Cn([be(0x0,_0x54e5d5),be(0x1,_0x2b4285(_0x47bc19)),be(0x2,_0xf1e632)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3391(){const _0x4afd54=['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.','112876GuTKWQ','28ARdqXr','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','118296JJBgBq','2GYPuxZ','239404BMwXQR','8674424rLEeJh','Syncing\x20server\x20data...','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1534554dCuNug','Synced','10cMUbpJ','666uSzmwl','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','15DBWrkl','Authentication\x20Error','Edit\x20conflicts','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','337329MmHpaz'];_0x3391=function(){return _0x4afd54;};return _0x3391();}const _0x50d6bd=_0x28c5;function _0x28c5(_0x5bd171,_0x121c8a){const _0x3391d2=_0x3391();return _0x28c5=function(_0x28c59e,_0x180260){_0x28c59e=_0x28c59e-0xb0;let _0x539c19=_0x3391d2[_0x28c59e];return _0x539c19;},_0x28c5(_0x5bd171,_0x121c8a);}(function(_0x350679,_0x5b4e34){const _0x3c998b=_0x28c5,_0x3205d2=_0x350679();while(!![]){try{const _0x4370b7=-parseInt(_0x3c998b(0xb1))/0x1*(parseInt(_0x3c998b(0xb5))/0x2)+-parseInt(_0x3c998b(0xbe))/0x3+parseInt(_0x3c998b(0xb6))/0x4*(-parseInt(_0x3c998b(0xc2))/0x5)+-parseInt(_0x3c998b(0xbb))/0x6+-parseInt(_0x3c998b(0xb2))/0x7*(parseInt(_0x3c998b(0xb4))/0x8)+-parseInt(_0x3c998b(0xc7))/0x9*(parseInt(_0x3c998b(0xbd))/0xa)+parseInt(_0x3c998b(0xb7))/0xb;if(_0x4370b7===_0x5b4e34)break;else _0x3205d2['push'](_0x3205d2['shift']());}catch(_0x468bc5){_0x3205d2['push'](_0x3205d2['shift']());}}}(_0x3391,0x230b9));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x50d6bd(0xb8),'conflict':_0x50d6bd(0xc4),'notCollab':'Local\x20file','synced':_0x50d6bd(0xbc),'syncing':'Syncing...','offline':_0x50d6bd(0xc1)},'session':{'connection-failed':_0x50d6bd(0xbf),'will-retry':_0x50d6bd(0xb3),'room-full':_0x50d6bd(0xc8),'collaboration-timeout':_0x50d6bd(0xb0)},'conflict':{'title':_0x50d6bd(0xb9),'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':_0x50d6bd(0xc3),'content':_0x50d6bd(0xba)},'collaboration':{'single-unit':{'warning':_0x50d6bd(0xc5)},'closeRoom':_0x50d6bd(0xc0)},'auth':{'needGotoLoginAlert':_0x50d6bd(0xc6)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2388b2=_0xc000;function _0x13d6(){const _0x562649=['اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','41392WNeKcv','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','6dumLCl','780000REwGfd','269931MlqAvY','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','78geRxzL','7607856DtZwJH','همگام\x20سازی','5858330TUgIlC','2181969lQVNhM','تداخل\x20ویرایش','3769745VWOwuo','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.'];_0x13d6=function(){return _0x562649;};return _0x13d6();}function _0xc000(_0x45a447,_0x56bc88){const _0x13d624=_0x13d6();return _0xc000=function(_0xc000d3,_0x542d2){_0xc000d3=_0xc000d3-0xd6;let _0x5778cd=_0x13d624[_0xc000d3];return _0x5778cd;},_0xc000(_0x45a447,_0x56bc88);}(function(_0x445955,_0x42924e){const _0x537921=_0xc000,_0x382ddb=_0x445955();while(!![]){try{const _0x555c57=parseInt(_0x537921(0xdc))/0x1+-parseInt(_0x537921(0xdb))/0x2+parseInt(_0x537921(0xdf))/0x3*(parseInt(_0x537921(0xd8))/0x4)+-parseInt(_0x537921(0xe2))/0x5*(parseInt(_0x537921(0xda))/0x6)+parseInt(_0x537921(0xe5))/0x7+parseInt(_0x537921(0xe0))/0x8+parseInt(_0x537921(0xe3))/0x9;if(_0x555c57===_0x42924e)break;else _0x382ddb['push'](_0x382ddb['shift']());}catch(_0x5bdec5){_0x382ddb['push'](_0x382ddb['shift']());}}}(_0x13d6,0xad297));const o={'collab-client':{'tooltip':{'reconnect':_0x2388b2(0xd9)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x2388b2(0xe4),'notCollab':'پرونده\x20محلی','synced':_0x2388b2(0xe1),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x2388b2(0xdd),'room-full':_0x2388b2(0xe7),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x2388b2(0xde),'content':_0x2388b2(0xe6)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x2388b2(0xd6)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x2388b2(0xd7)}};export{o as default};
|