@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130640

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x885545=_0x2ec3;(function(_0x3ff574,_0x1a888e){const _0x2e1af6=_0x2ec3,_0x4a8cca=_0x3ff574();while(!![]){try{const _0x224594=parseInt(_0x2e1af6(0xef))/0x1+-parseInt(_0x2e1af6(0xe8))/0x2+-parseInt(_0x2e1af6(0xf0))/0x3+-parseInt(_0x2e1af6(0xe6))/0x4*(-parseInt(_0x2e1af6(0xe7))/0x5)+-parseInt(_0x2e1af6(0xf4))/0x6*(parseInt(_0x2e1af6(0xee))/0x7)+parseInt(_0x2e1af6(0xeb))/0x8*(parseInt(_0x2e1af6(0xea))/0x9)+-parseInt(_0x2e1af6(0xf3))/0xa*(-parseInt(_0x2e1af6(0xf5))/0xb);if(_0x224594===_0x1a888e)break;else _0x4a8cca['push'](_0x4a8cca['shift']());}catch(_0x36ff35){_0x4a8cca['push'](_0x4a8cca['shift']());}}}(_0x4352,0x4aad4));function _0x4352(){const _0xaf6719=['_injector','1987670ZnzPvP','12vfUncx','22ShnrSW','40bpSvIN','35555GCtsGF','719962SioYfu','FUniver','81Ecmbxx','106920HobpPM','get','runOnServer','871283Hzovfe','552083YDCovR','678651QiaCPz','RemoteUniscriptService'];_0x4352=function(){return _0xaf6719;};return _0x4352();}function _0x2ec3(_0x189918,_0xeec878){const _0x4352fe=_0x4352();return _0x2ec3=function(_0x2ec3b1,_0x358f96){_0x2ec3b1=_0x2ec3b1-0xe6;let _0x35e861=_0x4352fe[_0x2ec3b1];return _0x35e861;},_0x2ec3(_0x189918,_0xeec878);}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{[_0x885545(0xed)](_0x46d596,_0x4ed9b6,..._0xb0fe8){const _0x425084=_0x885545;return this[_0x425084(0xf2)][_0x425084(0xec)](t[_0x425084(0xf1)])[_0x425084(0xed)](_0x46d596,_0x4ed9b6,{},..._0xb0fe8);}}e[_0x885545(0xe9)]['extend'](c);
1
+ 'use strict';const _0x2a4d29=_0x36cf;function _0x36cf(_0x397ff7,_0x7273b0){const _0x4125b3=_0x4125();return _0x36cf=function(_0x36cf81,_0x3c9318){_0x36cf81=_0x36cf81-0x84;let _0x2402df=_0x4125b3[_0x36cf81];return _0x2402df;},_0x36cf(_0x397ff7,_0x7273b0);}(function(_0x5f2b8e,_0x58ec1d){const _0x1f509a=_0x36cf,_0x29be2e=_0x5f2b8e();while(!![]){try{const _0x30fd33=-parseInt(_0x1f509a(0x8c))/0x1+parseInt(_0x1f509a(0x8f))/0x2+parseInt(_0x1f509a(0x8b))/0x3*(parseInt(_0x1f509a(0x87))/0x4)+-parseInt(_0x1f509a(0x90))/0x5+parseInt(_0x1f509a(0x91))/0x6*(parseInt(_0x1f509a(0x86))/0x7)+parseInt(_0x1f509a(0x88))/0x8*(parseInt(_0x1f509a(0x8a))/0x9)+-parseInt(_0x1f509a(0x8e))/0xa;if(_0x30fd33===_0x58ec1d)break;else _0x29be2e['push'](_0x29be2e['shift']());}catch(_0x13c10b){_0x29be2e['push'](_0x29be2e['shift']());}}}(_0x4125,0x373ee));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{[_0x2a4d29(0x8d)](_0x578a74,_0x43d63d,..._0x49e152){const _0xb5897a=_0x2a4d29;return this['_injector']['get'](t[_0xb5897a(0x85)])[_0xb5897a(0x8d)](_0x578a74,_0x43d63d,{},..._0x49e152);}}function _0x4125(){const _0x3f0abe=['481666mqqHsT','632235NIHgJq','35868kCKJCy','FUniver','RemoteUniscriptService','98zvYfVA','812FwiYmi','24IYDDEL','extend','1148841OaBCOC','3246nHyPBf','366572HDXLMB','runOnServer','2078130ZvnqLL'];_0x4125=function(){return _0x3f0abe;};return _0x4125();}e[_0x2a4d29(0x84)][_0x2a4d29(0x89)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1bab9b=_0x2bad;(function(_0xcabf52,_0x46705a){const _0xbf455d=_0x2bad,_0x8514ef=_0xcabf52();while(!![]){try{const _0xde98d2=parseInt(_0xbf455d(0x1fa))/0x1*(-parseInt(_0xbf455d(0x168))/0x2)+-parseInt(_0xbf455d(0x8e))/0x3*(-parseInt(_0xbf455d(0x262))/0x4)+-parseInt(_0xbf455d(0x234))/0x5*(parseInt(_0xbf455d(0x26e))/0x6)+-parseInt(_0xbf455d(0x2c1))/0x7+-parseInt(_0xbf455d(0x9f))/0x8*(-parseInt(_0xbf455d(0x1d5))/0x9)+parseInt(_0xbf455d(0xba))/0xa+parseInt(_0xbf455d(0x210))/0xb;if(_0xde98d2===_0x46705a)break;else _0x8514ef['push'](_0x8514ef['shift']());}catch(_0x40b95c){_0x8514ef['push'](_0x8514ef['shift']());}}}(_0x5e87,0x29810));function _0x5e87(){const _0x3aee78=['_instanceService','_docTransformStateCacheService','urlChange$','className','OnLineIcon','_initResize','isTransformMutationFailure','createElement','source','Warning','color','reconnect','searchParams','getMemberID','_collabCursorController','_anchor','session.collaboration-timeout','getUnitStatus$','Vector2','onStarting','debounce','_transformService','PENDING','_lastPointer','_imageIoService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','assign','defineProperty','_anchorDot','unitID','isTransformMutationsWithChangesetSuccess','engine','_onCursorDelete','INVALID_INVITE_CODE','CollaborationEvent','text','getVpScrollXYInfoByPosToVp','yellow.400','collabStatus.syncing','Disposable','Error','_initDependencies','IConfigService','children','NOT_COLLAB','getCurrent','_drawAnchor','RichTextEditingMutation','transformIMECache','icon','NOT_FOUND','_updateLocalCursor','combineLatest','subunit','Plugin','mutations','hovered','ranges','getCollabEntity$','UNRECOGNIZED','InsertColCommandId','editingUnit','blue.400','COLORS','collabStatus.notCollab','YUUMI_UNABLE_LOAD_URL','getActiveRange','collabStatus.synced','undoState','selections','_docTransformSelectionsService','DisposableCollection','distinctUntilChanged','_saveTaskMap','PERMISSION_DENIED','body','MOBILE_VERIFY_CODE_MISMATCH','skeleton','runOnServer','m2Prime','Tools','findNodePositionByCharIndex','apply','collabStatus.conflict','event$','_doCreateSocket','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','jsxs','extend','replaceDocRanges','getSheetBySheetId','_cachedData','MessageType','filter','UniverInstanceType','params','0\x200\x2017\x2016','createIdentifier','getActiveSheet','LICENSE_EXPORT_SIZE_EXCEEDED','debounceTime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IRenderManagerService','evenodd','delete','textRanges','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','getViewport','session.connection-failed','disableLocalCache','2jesymt','RECT','redoState','executionId','_logService','toRgbString','transform','takeUntil','propertyIsEnumerable','history','createSocket','SheetSkeletonManagerService','FromArray','INVALID_ARGUMENT','key','ITransformService','Rect','InsertRowCommandId','_colorIndex','WebURLService','RefRangeService','APPLY_DUPLICATED','off-line-icon_clip0_910_343','1em','_send','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnhiddenWorksheets','_registerRenderDependencies','_clearOtherTimers','_collabSessionService','_sheetSkeletonManagerService','ILocalCacheService','addEventListener','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getDocRanges','roomMembers$','on-line-icon_clip0_910_349','getCoordByCell','div','_univerInstanceService','onRendered','defIds','collabCursorState$','_onCursorUpdate','_id','_handleEvent','location','HTTPService','INVITE_CODE_REQUIRED','_config','call','unshift','ENSURE_SNAPSHOT_EXECUTION','dispose','SetTextSelectionsOperation','onTransformChange$','_shapes','replaceState','IUniverInstanceService','MoveRangeCommandId','APPLY_REJECT','saveTaskMap','_selfUnitIDs','createInstance','xlink:href','path','transformByState','startsWith','_getSheetObject','collab-client.tooltip.reconnect','registerDependencies','_scene','attrs','RegularPolygon','DocSelectionManagerService','getOwnPropertyDescriptor','_color','onCommandExecuted','_handleHover','_removeCollabCursors','selection','_memberService','_localStorageService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','serializeRangeWithSheet','status$','_scheduleClearOtherTimer','toString','type','pipe','popstate','YUUMI_ALL_TABLES_IS_INVALID','restore','setAlpha','sessionStatus$','_getAnchorBounding','sheetId','_collabCursorState$','with','UniverCollaborationClientUIPlugin','_roomMembers$','IUIPartsService','BehaviorSubject','_ensureSubject','enableLocalCache','disposeUnit','SOCKET_FAILED','getConfig','MemberService','261mOHNGd','getCollabCursors$','connectInjector','permission.content','SNAPSHOT_INVALID_SNAPSHOT','_refreshCollabCursors','onPointerLeave$','throttleTime','univerjs-icon\x20univerjs-icon-','useCallback','CONFLICT','uni.network.url-service','tag','OffLineIcon','red.300','loadUnit','registerRenderModule','transformRemoteChangeset','newValue','find','_notificationService','Failed','IImageIoService','symbol','CollaborationUIEventId','handleIRemoveRow','save','get','PY_RUNTIME_SCRIPT_ERROR','SetDocZoomRatioOperation','unitId','TEXT','addHandlerCallback','Workbook','LOGIN_FAILED','drawWith','url(#on-line-icon_clip0_910_349)','280131ipQIMG','registerComponent','LICENSE_IMPORT_SIZE_EXCEEDED','ticket','[CollaborationDataLoaderController]','_scheduleHeartbeat','SHEET_VIEWPORT_KEY','currentSkeleton$','isArray','getCurrentRevOfUnit','Optional','range','_docSkeletonManagerService','font','debug','cursorInfo','setItem','_transformUndoRedoStack','getLocalCacheKey','getParam','toStringTag','handleInsertRangeMoveDown','1521168NTdeCx','_initStatusComponent','getStateCache','Unknown\x20user','getOwnPropertySymbols','indexOf','OFFLINE','NodePositionConvertToRectRange','column','endColumn','CollaborationSocketService','translate(.97)','displayName','UNIVER_DOC','_collaborationUIEventService','_themeService','_backgroundColor','_initStatusListener','url(#$1','LocaleService','_colorAssignService','getColorFromTheme','Module','idSuffix','CollaborationStatus','none','CollaborationDataLoaderController','handleInsertCol','registerBeforeClose','_configService','TEXT_RANGE_LAYER_INDEX','_updateURLWithCurrentState','_context','clipPath','max','InsertRangeMoveDownCommandId','35bKymOx','entries','_localeService','http://www.w3.org/2000/svg','useDependency','generateRandomId','HEADER_MENU','getFocusedUnit','transformSelections','black','merge','init','fromEvent','random','collab-text-range-','YUUMI_RATE_OVER_LIMIT','endRow','docStateChange$','setParam','_docSyncEditingCollabCursorService','_syncEditingCollabCursorService','InsertRangeMoveRightCommandId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USERS_LEAVE','_textBubble','_renderManagerService','UniverCollaborationClientPlugin','ALREADY_EXISTS','_startSheetCollabCursor','_removeClearOtherTimer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','roomMembers','Tooltip','split','currentTheme$','from','all','clearTimeout','closePath','handleDeleteRangeMoveUp','startRow','unit','white','result','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_commandService','15536ITawYd','ColorKit','ThemeService','ILocalStorageService','href','setActiveRange','_messageService','_initCommandExecutedListener','CollaborationSessionService','_registerDependencies','SheetsSelectionsService','onPointerMove$','166644YYbakL','EffectRefRangId','size','NO_OTHER_CLIENTS_EDITING','_name','green.600','arc','session.will-retry','stringify','prototype','LICENSE_DISTRO_REJECTED','CHANGESET_REVISION_CONFILICT','JOIN_ROOM_FAILED','disposeWithMe','subscribe','next','saveImage','measureText','getUndoRedoMutationParamsCache','_injector','cursorInfo$','getRangePointData','_handleLeaveEvent','collaboration.closeRoom','eventID','collabStatus.offline','svg','WebBrowserSingleActiveUnitService','YUUMI_SUBSCRIPTION_NOT_FOUND','COMPLETION_FINISHED','IURLService','saveOfflineData','subUnitId','CONNECTOR_DATA_TOO_LARGE','Injector','concat','setUndoRedoMutationParamsCache','backgroundColor','data','USER_NOT_INVITED_CODE','DocSkeletonManagerService','getCurrentUnitForType','_docTransformIMECacheService','WECHAT_HAS_BEEN_BOUND','_handleJoinEvent','_uiPartsService','handleInsertRow','search','jiqing.500','DocStateChangeManagerService','EMAIL_HAS_BEEN_BOUND','EMAIL_VERIFY_CODE_MISMATCH','storage','_transformPreviousActiveRange','_beforeCloseService','name','_unitStatus','flatMap','_getScale','LOCAL_CACHE_INTERVAL','activeSheet$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','M0\x200H16V16H0z','touchDependencies','YUUMI_URL_COL_OUT_OF_RANGE','hide','ICommandService','TOO_MANY_REQUESTS','SOCKET_FAILED_RETRY','assignAColorForMemberID','forEach','_drawRectRange','set','purple.300','show','_refRangeService','_cursors','_dataLoaderService','getTypeOfUnitAdded$','INVITE_CODE_ALREADY_BOUND','toDisposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','pluginName','1480927jyoulL','DesktopCollaborationStatusDisplayController','_getSessionTicket','invokeId','actions','_setupSubUnitSync','asObservable','VIEW_MAIN','_hovered','_draw','complete','defs','removeParam','RxDisposable','CollaborationUIEventService','replace','0\x200\x2016\x2016','getSheetId','jsx','fromEventSubject','YUUMI_CONNECTOR_URL_NOT_FOUND','updateOfflineData','pushState','ILogService','...','sessionTicket','getUniverSheetInstance','_eventUnsubscribe','addClipboardHook','isActive','_toggleOffline','fillText','CommandType','_online','resize','APPLY_REVISION_CONFILICT','_startDocCollabCursor','error','YUUMI_ASYNCIO_CANCELLED','transformStateCache','CLOSE_ROOM','_updateSubUnitFromURLParams','getMember','transformMutation','values','_getMergeRange','UNAUTHENTICATED','getMergeData','syncEditingCollabCursor','_setupBeforeClosingHandler','Rectangle','FETCH_MISS','_docSkeleton','forwardRef','_updateCollabCursors','transformMutationsWithChangeset','handleMoveRange','url(#off-line-icon_clip0_910_343)','getValue','_localCacheService','_collaborationController','_cursor','APPLY_NON_SEQUENTIAL_REVISION','_status$','IBeforeCloseService','UnitStatus','fillStyle','height','_scheduleSaving','string','getUnitId','SetSelectionsOperation','_assignedColors','substring','setShapeProps','isEditing','_initEntityListener','_httpService','UPDATE_CURSOR','IMessageService','_entities','171ILTkok','collab-rect-range-','APPLY_PERMISSION_DENIED','shareReplay','DataLoaderService','_docClipboardService','unsubscribe','getSkeleton','post','_range','_docStateChangeManagerService','getCellPositionByOffset','wsSessionTicketUrl','univer-flex\x20univer-items-center','whenReady','LICENSE_MAX_UNITS_EXCEEDED','getItem','90784EJHXOJ','getColor','_urlService','m1Prime','row','_getSaveTimeout','SessionStatus','Inject','makeDirty','deepClone','round','_heartbeatTimer','code','add','bottom','fillRule','INVITE_CODE_HAS_BEEN_UES','length','_cursorShapes','moveTo','mapTo','_toggleOnline','DEFAULT_WS_SESSION_TICKET_URL','width','_render','off-line-icon','DOC_RANGE_TYPE','1673420rIstRY','getRenderById','runId','onMouseMove','YUUMI_AI_RUN_FAILED','current','_hideTimer','onLocalMutation','addObject','OTHER_CLIENTS_EDITING','permission.title','registerRefRange','MOBILE_HAS_BEEN_BOUND','setTimeout','getTypeOfUnitDisposed$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_labelPosition','INTERNAL_ERROR','beginPath','requireSession','push','min','_cursorInfo$','top','_disabled','has','handleIRemoveCol','SetWorksheetActivateCommand','setConfig','_session','switchMap','map','_initEvent','executeCommand','includes','_hover','/run/','UNDEFINED','_init','RemoteUniscriptService','send','SNAPSHOT_HAS_BEEN_REMOVED','BrowserCollaborationSocketService','then','focused$','exhaustSavingTask','subscribeEvent','hasOwnProperty','ONLINE','onPointerEnter$','DocIMEInputManagerService','_entityInit$','colorChannel1','YUUMI_NO_CUBOID_FOR_QUESTION','_onRefRangeChange','dispose$','UNIVER_SHEET','fill','mask','_saveCache','unload','doc.mutation.rich-text-editing','_unitOnClients','Shape'];_0x5e87=function(){return _0x3aee78;};return _0x5e87();}var We=Object[_0x1bab9b(0x115)],Ve=(_0x4c4876,_0x1dd984,_0x77725f)=>_0x1dd984 in _0x4c4876?We(_0x4c4876,_0x1dd984,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x77725f}):_0x4c4876[_0x1dd984]=_0x77725f,h=(_0x24cf12,_0xb0f7eb,_0x4de5af)=>Ve(_0x24cf12,typeof _0xb0f7eb!=_0x1bab9b(0x1ec)?_0xb0f7eb+'':_0xb0f7eb,_0x4de5af);Object[_0x1bab9b(0x115)](exports,Symbol[_0x1bab9b(0x20e)],{'value':_0x1bab9b(0x226)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x2121ff=_0x1bab9b;return b=Object['assign']||function(_0x57cdfb){const _0x31f98f=_0x2bad;for(var _0x3a3b12,_0x2cc32a=0x1,_0x249cbe=arguments['length'];_0x2cc32a<_0x249cbe;_0x2cc32a++){_0x3a3b12=arguments[_0x2cc32a];for(var _0x469519 in _0x3a3b12)Object[_0x31f98f(0x277)][_0x31f98f(0xe9)][_0x31f98f(0x19a)](_0x3a3b12,_0x469519)&&(_0x57cdfb[_0x469519]=_0x3a3b12[_0x469519]);}return _0x57cdfb;},b[_0x2121ff(0x14c)](this,arguments);},Ke=function(_0x47a559,_0x314824){const _0x486741=_0x1bab9b;var _0x56c22c={};for(var _0x5f40cd in _0x47a559)Object['prototype']['hasOwnProperty']['call'](_0x47a559,_0x5f40cd)&&_0x314824[_0x486741(0x215)](_0x5f40cd)<0x0&&(_0x56c22c[_0x5f40cd]=_0x47a559[_0x5f40cd]);if(_0x47a559!=null&&typeof Object[_0x486741(0x214)]=='function'){for(var _0x29bc04=0x0,_0x5f40cd=Object[_0x486741(0x214)](_0x47a559);_0x29bc04<_0x5f40cd[_0x486741(0xb0)];_0x29bc04++)_0x314824[_0x486741(0x215)](_0x5f40cd[_0x29bc04])<0x0&&Object[_0x486741(0x277)][_0x486741(0x170)][_0x486741(0x19a)](_0x47a559,_0x5f40cd[_0x29bc04])&&(_0x56c22c[_0x5f40cd[_0x29bc04]]=_0x47a559[_0x5f40cd[_0x29bc04]]);}return _0x56c22c;},ge=M[_0x1bab9b(0x72)](function(_0x15c872,_0x31bd99){const _0x20efdc=_0x1bab9b;var _0xaaae7c=_0x15c872[_0x20efdc(0x12b)],_0x26c0af=_0x15c872['id'],_0x158dfd=_0x15c872['className'],_0xd9ee74=_0x15c872[_0x20efdc(0x152)],_0x47d9aa=Ke(_0x15c872,[_0x20efdc(0x12b),'id',_0x20efdc(0xfd),_0x20efdc(0x152)]),_0x3ce532=_0x20efdc(0x1dd)[_0x20efdc(0x291)](_0x26c0af,'\x20')[_0x20efdc(0x291)](_0x158dfd||'')['trim'](),_0x388f99=M['useRef']('_'[_0x20efdc(0x291)](Je()));return Pe(_0xaaae7c,''[_0x20efdc(0x291)](_0x26c0af),{'defIds':_0xaaae7c['defIds'],'idSuffix':_0x388f99[_0x20efdc(0xbf)]},b({'ref':_0x31bd99,'className':_0x3ce532},_0x47d9aa),_0xd9ee74);});function Pe(_0x4cbb22,_0xe15a1a,_0x4ed3c0,_0x5d6ab9,_0x4a2e4b){const _0x50edc9=_0x1bab9b;return M['createElement'](_0x4cbb22[_0x50edc9(0x1e1)],b(b({'key':_0xe15a1a},qe(_0x4cbb22,_0x4ed3c0,_0x4a2e4b)),_0x5d6ab9),(ze(_0x4cbb22,_0x4ed3c0)[_0x50edc9(0x125)]||[])['map'](function(_0x101636,_0x24efc4){const _0x990c72=_0x50edc9;return Pe(_0x101636,''[_0x990c72(0x291)](_0xe15a1a,'-')['concat'](_0x4cbb22[_0x990c72(0x1e1)],'-')[_0x990c72(0x291)](_0x24efc4),_0x4ed3c0,void 0x0,_0x4a2e4b);}));}function qe(_0x2c1c0a,_0xae6845,_0x363b94){const _0x57bee9=_0x1bab9b;var _0x592b7c=b({},_0x2c1c0a['attrs']);_0x363b94!=null&&_0x363b94[_0x57bee9(0xee)]&&_0x592b7c['fill']===_0x57bee9(0xee)&&(_0x592b7c[_0x57bee9(0xf3)]=_0x363b94[_0x57bee9(0xee)]),_0x2c1c0a[_0x57bee9(0x1e1)]===_0x57bee9(0xf4)&&_0x592b7c['id']&&(_0x592b7c['id']=_0x592b7c['id']+_0xae6845['idSuffix']),Object['entries'](_0x592b7c)[_0x57bee9(0x2b4)](function(_0x50e572){const _0x474ce6=_0x57bee9;var _0x3a967a=_0x50e572[0x0],_0x3c1176=_0x50e572[0x1];_0x3a967a===_0x474ce6(0xf4)&&typeof _0x3c1176==_0x474ce6(0x82)&&(_0x592b7c[_0x3a967a]=_0x3c1176[_0x474ce6(0x2d0)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xae6845[_0x474ce6(0x227)],')')));});var _0x93f5b7=_0xae6845[_0x57bee9(0x191)];return!_0x93f5b7||_0x93f5b7['length']===0x0||(_0x2c1c0a[_0x57bee9(0x1e1)]==='use'&&_0x592b7c['xlink:href']&&(_0x592b7c[_0x57bee9(0x1a8)]=_0x592b7c[_0x57bee9(0x1a8)]+_0xae6845['idSuffix']),Object[_0x57bee9(0x235)](_0x592b7c)[_0x57bee9(0x2b4)](function(_0x4a01cd){const _0x3a9fde=_0x57bee9;var _0x461a2a=_0x4a01cd[0x0],_0x58f03e=_0x4a01cd[0x1];typeof _0x58f03e==_0x3a9fde(0x82)&&(_0x592b7c[_0x461a2a]=_0x58f03e[_0x3a9fde(0x2d0)](/url\(#(.*)\)/,_0x3a9fde(0x222)[_0x3a9fde(0x291)](_0xae6845[_0x3a9fde(0x227)],')')));})),_0x592b7c;}function ze(_0x2c780f,_0x4f44f9){const _0xc2769e=_0x1bab9b;var _0x2afd48,_0xac42d5=_0x4f44f9[_0xc2769e(0x191)];return!_0xac42d5||_0xac42d5[_0xc2769e(0xb0)]===0x0?_0x2c780f:_0x2c780f['tag']==='defs'&&(!((_0x2afd48=_0x2c780f[_0xc2769e(0x125)])===null||_0x2afd48===void 0x0)&&_0x2afd48['length'])?b(b({},_0x2c780f),{'children':_0x2c780f[_0xc2769e(0x125)]['map'](function(_0x59e24d){const _0x271532=_0xc2769e;return typeof _0x59e24d[_0x271532(0x1b0)]['id']==_0x271532(0x82)&&_0xac42d5&&_0xac42d5['includes'](_0x59e24d[_0x271532(0x1b0)]['id'])?b(b({},_0x59e24d),{'attrs':b(b({},_0x59e24d['attrs']),{'id':_0x59e24d[_0x271532(0x1b0)]['id']+_0x4f44f9[_0x271532(0x227)]})}):_0x59e24d;})}):_0x2c780f;}function Je(){const _0x561dd7=_0x1bab9b;return Math[_0x561dd7(0x241)]()[_0x561dd7(0x1bf)](0x24)[_0x561dd7(0x86)](0x2,0x8);}ge['displayName']='UniverIcon';var Ze={'tag':_0x1bab9b(0x288),'attrs':{'xmlns':_0x1bab9b(0x237),'fill':_0x1bab9b(0x229),'viewBox':_0x1bab9b(0x2d1),'width':_0x1bab9b(0x17f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1bab9b(0x76)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1bab9b(0x164),'strokeLinecap':'round','strokeLinejoin':_0x1bab9b(0xa9),'strokeWidth':1.2}}]},{'tag':_0x1bab9b(0x2cc),'attrs':{},'children':[{'tag':_0x1bab9b(0x231),'attrs':{'id':_0x1bab9b(0x17e)},'children':[{'tag':_0x1bab9b(0x1a9),'attrs':{'fill':_0x1bab9b(0x25e),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1bab9b(0x17e)]},we=M[_0x1bab9b(0x72)](function(_0x49f2bb,_0x2b77cb){const _0x79a783=_0x1bab9b;return M[_0x79a783(0x101)](ge,Object['assign']({},_0x49f2bb,{'id':_0x79a783(0xb8),'ref':_0x2b77cb,'icon':Ze}));});we[_0x1bab9b(0x21c)]=_0x1bab9b(0x1e2);var Qe={'tag':_0x1bab9b(0x288),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bab9b(0x229),'viewBox':_0x1bab9b(0x15a),'width':_0x1bab9b(0x17f),'height':_0x1bab9b(0x17f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1bab9b(0x1f9)},'children':[{'tag':_0x1bab9b(0x1a9),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1bab9b(0xa9),'strokeLinejoin':_0x1bab9b(0xa9),'strokeWidth':1.2}}]},{'tag':_0x1bab9b(0x2cc),'attrs':{},'children':[{'tag':_0x1bab9b(0x231),'attrs':{'id':_0x1bab9b(0x18c)},'children':[{'tag':_0x1bab9b(0x1a9),'attrs':{'fill':_0x1bab9b(0x25e),'d':_0x1bab9b(0x2ac),'transform':_0x1bab9b(0x21b)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ae=M[_0x1bab9b(0x72)](function(_0x37627e,_0x1e5b06){const _0x32af4b=_0x1bab9b;return M[_0x32af4b(0x101)](ge,Object[_0x32af4b(0x114)]({},_0x37627e,{'id':'on-line-icon','ref':_0x1e5b06,'icon':Qe}));});Ae[_0x1bab9b(0x21c)]=_0x1bab9b(0xfe);function _0x2bad(_0x3a3009,_0x512ee6){const _0x5e8795=_0x5e87();return _0x2bad=function(_0x2badca,_0x4738fe){_0x2badca=_0x2badca-0x65;let _0x1b636e=_0x5e8795[_0x2badca];return _0x1b636e;},_0x2bad(_0x3a3009,_0x512ee6);}function et(_0x4a1370){const _0x163cd3=_0x1bab9b;switch(_0x4a1370){case u[_0x163cd3(0x228)]['OFFLINE']:return _0x163cd3(0x287);case u[_0x163cd3(0x228)][_0x163cd3(0x1df)]:return _0x163cd3(0x14d);case u[_0x163cd3(0x228)][_0x163cd3(0x70)]:return'collabStatus.fetchMiss';case u[_0x163cd3(0x228)][_0x163cd3(0x126)]:return _0x163cd3(0x13a);case u['CollaborationStatus']['AWAITING']:case u[_0x163cd3(0x228)]['AWAITING_WITH_PENDING']:return _0x163cd3(0x120);case u['CollaborationStatus']['SYNCED']:case u[_0x163cd3(0x228)][_0x163cd3(0x110)]:return _0x163cd3(0x13d);}}function tt(_0x546fa1){const _0x478aec=_0x1bab9b,{status$:_0x1650bd}=_0x546fa1,_0x282980=O['useObservable'](_0x1650bd,u['CollaborationStatus'][_0x478aec(0x126)]),_0xeb4d69=O[_0x478aec(0x238)](a['LocaleService']),_0xec328c=O[_0x478aec(0x238)](u[_0x478aec(0x26a)]),_0x2d8eb4=_0x282980!==u['CollaborationStatus'][_0x478aec(0x216)],_0x464c43=_0xeb4d69['t'](et(_0x282980)),_0x5b4ce8=_0x2d8eb4?P[_0x478aec(0x2d3)](Ae,{}):P[_0x478aec(0x2d3)](we,{}),_0x8d2f29=M[_0x478aec(0x1de)](()=>{const _0x35ce08=_0x478aec;_0x2d8eb4||_0xec328c[_0x35ce08(0x105)]();},[_0x2d8eb4,_0xec328c]);function _0x57ba10(){const _0x3fd447=_0x478aec;return P[_0x3fd447(0x151)]('div',{'className':_0x3fd447(0x9b),'onClick':_0x8d2f29,'children':[P[_0x3fd447(0x2d3)](_0x3fd447(0x18e),{'className':D['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2d8eb4,'univer-text-red-500':!_0x2d8eb4}),'children':_0x5b4ce8}),P[_0x3fd447(0x2d3)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x464c43})]});}return _0x2d8eb4?_0x57ba10():P['jsx'](D[_0x478aec(0x254)],{'title':_0xeb4d69['t'](_0x478aec(0x1ad)),'children':_0x57ba10()});}var st=Object[_0x1bab9b(0x1b3)],it=(_0x247c92,_0x79207a,_0x54d0ce,_0x378b23)=>{const _0x457bb4=_0x1bab9b;for(var _0x168606=_0x378b23>0x1?void 0x0:_0x378b23?st(_0x79207a,_0x54d0ce):_0x79207a,_0xc42050=_0x247c92[_0x457bb4(0xb0)]-0x1,_0x58a564;_0xc42050>=0x0;_0xc42050--)(_0x58a564=_0x247c92[_0xc42050])&&(_0x168606=_0x58a564(_0x168606)||_0x168606);return _0x168606;},V=(_0x56dcdc,_0x862c0b)=>(_0x106210,_0x47f190)=>_0x862c0b(_0x106210,_0x47f190,_0x56dcdc);exports[_0x1bab9b(0x2c2)]=class extends a['Disposable']{constructor(_0x2faabd,_0x4e8119,_0x1b5781,_0x370b5e){const _0x5b94a7=_0x1bab9b;super(),h(this,_0x5b94a7(0x7c),new d['BehaviorSubject'](u[_0x5b94a7(0x228)][_0x5b94a7(0x126)])),(this[_0x5b94a7(0x18f)]=_0x2faabd,this['_injector']=_0x4e8119,this[_0x5b94a7(0x79)]=_0x1b5781,this[_0x5b94a7(0x29b)]=_0x370b5e,this[_0x5b94a7(0x211)](),this[_0x5b94a7(0x221)]());}[_0x1bab9b(0x221)](){const _0x447de3=_0x1bab9b;this[_0x447de3(0x27b)](this[_0x447de3(0x18f)][_0x447de3(0xe6)]['pipe'](d['switchMap'](()=>{const _0x2f5389=_0x447de3,_0x2110c9=this[_0x2f5389(0x18f)][_0x2f5389(0x23b)]();return _0x2110c9?this[_0x2f5389(0x79)][_0x2f5389(0x134)](_0x2110c9[_0x2f5389(0x83)]()):d['of'](null);}),d[_0x447de3(0xd8)](_0x2ece63=>_0x2ece63?_0x2ece63[_0x447de3(0x1bd)]:d['of'](u[_0x447de3(0x228)][_0x447de3(0x126)])))['subscribe'](_0x257a9d=>{const _0x256ad9=_0x447de3;this[_0x256ad9(0x7c)][_0x256ad9(0x27d)](_0x257a9d);}));}[_0x1bab9b(0x211)](){const _0x4e9d45=_0x1bab9b;this[_0x4e9d45(0x27b)](this['_uiPartsService'][_0x4e9d45(0x1fb)](O['BuiltInUIPart'][_0x4e9d45(0x23a)],()=>O[_0x4e9d45(0x1d7)](nt({'status$':this[_0x4e9d45(0x7c)][_0x4e9d45(0x2c7)]()}),this[_0x4e9d45(0x281)])));}},exports[_0x1bab9b(0x2c2)]=it([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x1bab9b(0xa6)](a[_0x1bab9b(0x290)])),V(0x2,a[_0x1bab9b(0xa6)](u['CollaborationController'])),V(0x3,O[_0x1bab9b(0x1cd)])],exports[_0x1bab9b(0x2c2)]);function nt(_0x20789c){const {status$:_0x2c58d0}=_0x20789c;return function(){return P['jsx'](tt,{'status$':_0x2c58d0});};}const me=a[_0x1bab9b(0x15b)](_0x1bab9b(0x1e0));var rt=Object[_0x1bab9b(0x1b3)],ot=(_0x4138fc,_0x31c256,_0x22b275,_0x1907a)=>{const _0x42d531=_0x1bab9b;for(var _0x28c11c=_0x1907a>0x1?void 0x0:_0x1907a?rt(_0x31c256,_0x22b275):_0x31c256,_0x4ddf18=_0x4138fc[_0x42d531(0xb0)]-0x1,_0x384737;_0x4ddf18>=0x0;_0x4ddf18--)(_0x384737=_0x4138fc[_0x4ddf18])&&(_0x28c11c=_0x384737(_0x28c11c)||_0x28c11c);return _0x28c11c;},k=(_0x6c6f32,_0x2d862a)=>(_0x56cc77,_0x23adc1)=>_0x2d862a(_0x56cc77,_0x23adc1,_0x6c6f32);exports['CollaborationDataLoaderController']=class extends a[_0x1bab9b(0x2ce)]{constructor(_0x144957,_0x507d6b,_0x118cfe,_0x47f60d,_0x1c1b8f){const _0x4c38e2=_0x1bab9b;super(),this['_urlService']=_0x144957,this[_0x4c38e2(0x16c)]=_0x507d6b,this[_0x4c38e2(0x261)]=_0x118cfe,this[_0x4c38e2(0x2bb)]=_0x47f60d,_0x1c1b8f?_0x1c1b8f==null||_0x1c1b8f[_0x4c38e2(0x9c)]()[_0x4c38e2(0xe5)](()=>this[_0x4c38e2(0xe0)]()):(this[_0x4c38e2(0x16c)][_0x4c38e2(0x208)](_0x4c38e2(0x1fe),_0x4c38e2(0x150)),this[_0x4c38e2(0xe0)]());}async[_0x1bab9b(0xe0)](){const _0x39d598=_0x1bab9b,_0x4d3df0=this[_0x39d598(0xa1)][_0x39d598(0x20d)](_0x39d598(0x25d)),_0x4701e3=this[_0x39d598(0xa1)]['getParam'](_0x39d598(0x1c0)),_0x516fd2=this[_0x39d598(0xa1)]['getParam'](_0x39d598(0x12f));if(!_0x4d3df0||!_0x4701e3){this[_0x39d598(0x16c)][_0x39d598(0x208)](_0x39d598(0x1fe),_0x39d598(0x189));return;}const _0x2d74c4=await this['_dataLoaderService'][_0x39d598(0x1e4)](_0x4d3df0,Number(_0x4701e3),_0x516fd2);_0x2d74c4&&_0x2d74c4 instanceof a[_0x39d598(0x1f6)]&&this['_setupSubUnitSync'](_0x2d74c4);}async[_0x1bab9b(0x2c6)](_0x21bbff){const _0x3fe974=_0x1bab9b;await this[_0x3fe974(0x66)](_0x21bbff),_0x21bbff[_0x3fe974(0x2aa)][_0x3fe974(0x1c1)](d[_0x3fe974(0x16f)](this['dispose$']))['subscribe'](_0x2c1348=>{const _0x576b19=_0x3fe974;_0x2c1348&&this[_0x576b19(0x22f)](_0x2c1348);}),this[_0x3fe974(0xa1)][_0x3fe974(0xfc)][_0x3fe974(0x1c1)](d['takeUntil'](this[_0x3fe974(0xf1)]))['subscribe'](()=>this[_0x3fe974(0x66)](_0x21bbff));}[_0x1bab9b(0x22f)](_0x5d9993,_0x43d7f0=!0x1){const _0x321357=_0x1bab9b,_0x1b1de2=this[_0x321357(0xa1)][_0x321357(0x20d)](_0x321357(0x12f));_0x5d9993['getSheetId']()!==_0x1b1de2&&this['_urlService']['setParam'](_0x321357(0x12f),_0x5d9993[_0x321357(0x2d2)](),_0x43d7f0);}async[_0x1bab9b(0x66)](_0x830244){const _0x2f21d2=_0x1bab9b;var _0x9c9fb;const _0x5db10f=this[_0x2f21d2(0xa1)][_0x2f21d2(0x20d)](_0x2f21d2(0x12f));if(!_0x5db10f||!_0x830244[_0x2f21d2(0x154)](_0x5db10f)){const _0x23270b=_0x830244[_0x2f21d2(0x182)]()[0x0],_0xed8043=_0x830244[_0x2f21d2(0x154)](_0x23270b);if(!_0xed8043)return;this[_0x2f21d2(0x22f)](_0xed8043,!0x0),await this[_0x2f21d2(0x261)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x830244[_0x2f21d2(0x83)](),'subUnitId':_0x23270b});return;}((_0x9c9fb=_0x830244[_0x2f21d2(0x15c)]())==null?void 0x0:_0x9c9fb[_0x2f21d2(0x2d2)]())!==_0x5db10f&&await this[_0x2f21d2(0x261)][_0x2f21d2(0xdb)](g[_0x2f21d2(0xd5)]['id'],{'unitId':_0x830244['getUnitId'](),'subUnitId':_0x5db10f});}},exports[_0x1bab9b(0x22a)]=ot([k(0x0,me),k(0x1,a[_0x1bab9b(0x2d8)]),k(0x2,a[_0x1bab9b(0x2b0)]),k(0x3,a['Inject'](u[_0x1bab9b(0x92)])),k(0x4,a[_0x1bab9b(0x204)](Xe['IRemoteInstanceService']))],exports['CollaborationDataLoaderController']);var at=Object['getOwnPropertyDescriptor'],ct=(_0x4f741c,_0x196126,_0x10ebfd,_0x5c1c7e)=>{const _0x2464da=_0x1bab9b;for(var _0x2cb536=_0x5c1c7e>0x1?void 0x0:_0x5c1c7e?at(_0x196126,_0x10ebfd):_0x196126,_0xd561b6=_0x4f741c[_0x2464da(0xb0)]-0x1,_0x40b353;_0xd561b6>=0x0;_0xd561b6--)(_0x40b353=_0x4f741c[_0xd561b6])&&(_0x2cb536=_0x40b353(_0x2cb536)||_0x2cb536);return _0x2cb536;},be=(_0x3c995d,_0x3440c8)=>(_0x1c7154,_0x2f1c20)=>_0x3440c8(_0x1c7154,_0x2f1c20,_0x3c995d);let ue=class extends a[_0x1bab9b(0x2ce)]{constructor(_0x5d4104,_0x3c3dd8){const _0x294b3b=_0x1bab9b;super(),this[_0x294b3b(0x93)]=_0x5d4104,this[_0x294b3b(0x112)]=_0x3c3dd8,this[_0x294b3b(0xe0)]();}[_0x1bab9b(0xe0)](){const _0x58209c=_0x1bab9b,_0x1a91eb=this;this[_0x58209c(0x27b)](this[_0x58209c(0x93)][_0x58209c(0x2dd)]({'onBeforePasteImage':async _0x2a34ce=>{const _0x8c6e0a=_0x58209c,_0x436bf6=await _0x1a91eb[_0x8c6e0a(0x112)][_0x8c6e0a(0x27e)](_0x2a34ce);return _0x436bf6?{'source':_0x436bf6[_0x8c6e0a(0x102)],'imageSourceType':_0x436bf6['imageSourceType']}:null;}}));}};ue=ct([be(0x0,E['IDocClipboardService']),be(0x1,Ge[_0x1bab9b(0x1eb)])],ue);const Oe=[_0x1bab9b(0x2b7),_0x1bab9b(0x29e),_0x1bab9b(0x273),_0x1bab9b(0x1e3),_0x1bab9b(0x138),_0x1bab9b(0x11f)];class Ce extends a[_0x1bab9b(0x121)]{constructor(){const _0x5c10a4=_0x1bab9b;super(...arguments),h(this,_0x5c10a4(0x85),new Map()),h(this,_0x5c10a4(0x17a),0x0);}[_0x1bab9b(0x2b3)](_0x59471a){const _0x3f3672=_0x1bab9b;if(this['_assignedColors']['has'](_0x59471a))return this[_0x3f3672(0x85)]['get'](_0x59471a);const _0x11c65f=Oe[this[_0x3f3672(0x17a)]];return this[_0x3f3672(0x17a)]=(this[_0x3f3672(0x17a)]+0x1)%Oe[_0x3f3672(0xb0)],this[_0x3f3672(0x85)]['set'](_0x59471a,_0x11c65f),_0x11c65f;}}function ye(_0x35fc9f){const _0x3625ef=_0x1bab9b;let _0x4eb1a2='';for(const _0x3ef3d6 of _0x35fc9f){const {startOffset:_0x5be294,endOffset:_0x46e210,isActive:_0x9a9b0c,rangeType:_0x37e74a,segmentId:_0x3cea94,segmentPage:_0x23b6e4}=_0x3ef3d6;_0x4eb1a2[_0x3625ef(0xb0)]&&(_0x4eb1a2+=','),_0x4eb1a2+=_0x5be294+':'+_0x46e210+':'+(_0x9a9b0c?'1':'0')+':'+_0x37e74a+':'+_0x3cea94+':'+_0x23b6e4;}return _0x4eb1a2;}function lt(_0xaca68b){const _0x3db167=_0x1bab9b,_0x41ccd8=_0xaca68b[_0x3db167(0x255)](','),_0x2bdfbd=[];for(const _0xca0175 of _0x41ccd8){const [_0xd159,_0x344b0b,_0x40a005,_0x5f0efe,_0x114b06,_0x21e614]=_0xca0175[_0x3db167(0x255)](':');_0x2bdfbd[_0x3db167(0xce)]({'startOffset':Number(_0xd159),'endOffset':Number(_0x344b0b),'collapsed':_0xd159===_0x344b0b,'isActive':_0x40a005==='1','rangeType':_0x5f0efe===a[_0x3db167(0xb9)]['TEXT']?a['DOC_RANGE_TYPE'][_0x3db167(0x1f4)]:a[_0x3db167(0xb9)][_0x3db167(0x169)],'segmentId':typeof _0x114b06==_0x3db167(0x82)?String(_0x114b06):'','segmentPage':Number(_0x21e614!=null?_0x21e614:-0x1)});}return _0x2bdfbd['some'](_0xf40d68=>_0xf40d68[_0x3db167(0x2de)])||(_0x2bdfbd[0x0][_0x3db167(0x2de)]=!0x0),_0x2bdfbd;}class pe extends a[_0x1bab9b(0x2ce)]{constructor(){const _0x37ac5a=_0x1bab9b;super(...arguments),h(this,'_collabCursorState$',new d[(_0x37ac5a(0x1ce))](null)),h(this,_0x37ac5a(0x192),this[_0x37ac5a(0x1c9)][_0x37ac5a(0x2c7)]());}[_0x1bab9b(0x6d)](_0x93356f){const _0x4a2a86=_0x1bab9b,{unitID:_0x140a61,memberID:_0x17c11d,textRanges:_0x5dc210}=_0x93356f,_0x5ceb54=ye(_0x5dc210);if(_0x5ceb54==='')return;const _0x5bcccc={'unitID':_0x140a61,'memberID':_0x17c11d,'selection':_0x5ceb54};this[_0x4a2a86(0x1c9)][_0x4a2a86(0x27d)](_0x5bcccc);}}var _t=Object['getOwnPropertyDescriptor'],ht=(_0x1ed1cc,_0x3fe9ef,_0x4a6c81,_0x1bc04f)=>{const _0x345040=_0x1bab9b;for(var _0xd67f0=_0x1bc04f>0x1?void 0x0:_0x1bc04f?_t(_0x3fe9ef,_0x4a6c81):_0x3fe9ef,_0x1c292b=_0x1ed1cc[_0x345040(0xb0)]-0x1,_0x2a6c42;_0x1c292b>=0x0;_0x1c292b--)(_0x2a6c42=_0x1ed1cc[_0x1c292b])&&(_0xd67f0=_0x2a6c42(_0xd67f0)||_0xd67f0);return _0xd67f0;},L=(_0x5b5c36,_0x1bcaa6)=>(_0x220c94,_0x4fa195)=>_0x1bcaa6(_0x220c94,_0x4fa195,_0x5b5c36);const ut=0x12c,dt=0x64;let de=class extends a['RxDisposable']{constructor(_0x25ee70,_0x24b319,_0x1fa770,_0x2bde33,_0x2855ac,_0x5ce2db,_0x152849,_0x41473f,_0x30ca0f){const _0x373766=_0x1bab9b;super(),h(this,'_online',!0x1),h(this,_0x373766(0xe0),!0x1),h(this,_0x373766(0xd0),new d['BehaviorSubject'](new Map())),h(this,_0x373766(0x282),this[_0x373766(0xd0)][_0x373766(0x2c7)]()),h(this,_0x373766(0x1cc),new d['BehaviorSubject']([])),h(this,_0x373766(0x18b),this[_0x373766(0x1cc)]['pipe'](d[_0x373766(0x15e)](ut))),h(this,_0x373766(0x12d),a[_0x373766(0x10e)](_0x15ee3e=>{const _0x3f027e=_0x373766,_0xcd35b8={'eventID':m[_0x3f027e(0x11c)][_0x3f027e(0x8b)],'data':{'unitID':this[_0x3f027e(0x117)],'memberID':this[_0x3f027e(0xd7)][_0x3f027e(0x107)](),'selection':ye(_0x15ee3e)}};this[_0x3f027e(0xd7)]['send'](_0xcd35b8,this['unitID']);},dt)),(this['unitID']=_0x25ee70,this[_0x373766(0xd7)]=_0x24b319,this[_0x373766(0x281)]=_0x1fa770,this['_colorAssignService']=_0x2bde33,this[_0x373766(0x1b9)]=_0x2855ac,this[_0x373766(0x248)]=_0x5ce2db,this[_0x373766(0x10f)]=_0x152849,this['_univerInstanceService']=_0x41473f,this[_0x373766(0x261)]=_0x30ca0f);}get[_0x1bab9b(0x209)](){const _0x3ae26a=_0x1bab9b;return this[_0x3ae26a(0xd0)][_0x3ae26a(0x77)]();}get['roomMembers'](){const _0x316625=_0x1bab9b;return this['_roomMembers$'][_0x316625(0x77)]();}[_0x1bab9b(0x19d)](){const _0x2c6103=_0x1bab9b;super['dispose'](),this[_0x2c6103(0xd0)][_0x2c6103(0x27d)](new Map()),this[_0x2c6103(0xd0)][_0x2c6103(0x2cb)](),this['_roomMembers$'][_0x2c6103(0x27d)]([]),this[_0x2c6103(0x1cc)][_0x2c6103(0x2cb)]();}[_0x1bab9b(0x23f)](){const _0x1cad5b=_0x1bab9b;this[_0x1cad5b(0xe0)]||(this['_init']=!0x0,this[_0x1cad5b(0xd7)][_0x1cad5b(0x1c6)][_0x1cad5b(0x1c1)](d[_0x1cad5b(0x16f)](this[_0x1cad5b(0xf1)]))['subscribe'](_0xd8d020=>{const _0x4d1834=_0x1cad5b;_0xd8d020===u[_0x4d1834(0xa5)][_0x4d1834(0xea)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1cad5b(0xd7)][_0x1cad5b(0x14e)][_0x1cad5b(0x1c1)](d[_0x1cad5b(0x16f)](this[_0x1cad5b(0xf1)]))[_0x1cad5b(0x27c)](_0x3edeb2=>{const _0x4750b3=_0x1cad5b,_0x16e335=_0x3edeb2['eventID'];_0x16e335===m[_0x4750b3(0x11c)][_0x4750b3(0x8b)]&&this['_onCursorUpdate'](_0x3edeb2),_0x16e335===m[_0x4750b3(0x11c)][_0x4750b3(0x24b)]&&this[_0x4750b3(0x11a)](_0x3edeb2);}),this['disposeWithMe'](this[_0x1cad5b(0x261)][_0x1cad5b(0x1b5)](_0x1adfa3=>{const _0x448860=_0x1cad5b,_0x12aba5=_0x1adfa3[_0x448860(0x159)];_0x12aba5!=null&&this['_online']&&_0x1adfa3['id']===Y[_0x448860(0x19e)]['id']&&_0x12aba5[_0x448860(0x1f3)]===this['unitID']&&_0x12aba5[_0x448860(0x88)]===!0x1&&_0x12aba5[_0x448860(0x133)][_0x448860(0xb0)]>0x0&&this[_0x448860(0x12d)](_0x12aba5[_0x448860(0x133)]);})),this[_0x1cad5b(0x248)][_0x1cad5b(0x192)][_0x1cad5b(0x1c1)](d[_0x1cad5b(0x16f)](this['dispose$']))[_0x1cad5b(0x27c)](_0x4ed261=>{const _0x4a00b3=_0x1cad5b;if((_0x4ed261==null?void 0x0:_0x4ed261[_0x4a00b3(0x117)])!==this['unitID'])return;const _0x50573b={'eventID':m[_0x4a00b3(0x11c)]['UPDATE_CURSOR'],'data':_0x4ed261};this[_0x4a00b3(0x193)](_0x50573b);}),this['disposeWithMe'](this[_0x1cad5b(0x261)][_0x1cad5b(0x1b5)](_0x48e3ed=>{const _0x24b291=_0x1cad5b;if(_0x48e3ed[_0x24b291(0x159)]==null)return;const _0xf23b60=_0x48e3ed[_0x24b291(0x159)];if(_0x48e3ed['id']!==Y[_0x24b291(0x129)]['id']||_0xf23b60[_0x24b291(0x1f3)]!==this[_0x24b291(0x117)])return;const _0x395211={'id':'doc.mutation.rich-text-editing','params':_0xf23b60},_0x3c2f74=this[_0x24b291(0x209)];for(const [_0x54e284,_0x85f525]of _0x3c2f74){const _0x232ad5={'id':_0x24b291(0xf7),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x85f525['ranges']}},_0x1369b4=this['_transformService'][_0x24b291(0x68)](_0x395211,_0x232ad5,!0x1);if(m['isTransformMutationFailure'](_0x1369b4))throw _0x1369b4[_0x24b291(0x2e6)];_0x3c2f74[_0x24b291(0x2b6)](_0x54e284,{..._0x85f525,'ranges':_0x1369b4['m2Prime'][_0x24b291(0x159)]['textRanges']});}queueMicrotask(()=>{const _0x2d957f=_0x24b291;this[_0x2d957f(0xd0)][_0x2d957f(0x27d)](_0x3c2f74);});})));}['_onCursorUpdate'](_0x8e4806){const _0x1a65c3=_0x1bab9b;var _0x5d0251,_0x23978b;const {memberID:_0x1bca61,selection:_0x19892f}=_0x8e4806['data'],_0xd9ca05=lt(_0x19892f),_0x23e400=(_0x23978b=(_0x5d0251=this[_0x1a65c3(0x1b9)][_0x1a65c3(0x67)](this[_0x1a65c3(0x117)],_0x1bca61))==null?void 0x0:_0x5d0251[_0x1a65c3(0x2a5)])!=null?_0x23978b:'Unknown\x20user',_0xe66e5e={'color':this[_0x1a65c3(0x224)][_0x1a65c3(0x2b3)](_0x1bca61),'name':_0x23e400,'ranges':_0xd9ca05},_0x28d44e=this['cursorInfo'];_0x28d44e['set'](_0x1bca61,_0xe66e5e),this['_cursorInfo$'][_0x1a65c3(0x27d)](_0x28d44e);}[_0x1bab9b(0x11a)](_0xc2e618){const _0x9235a1=_0x1bab9b,{memberID:_0x402963}=_0xc2e618[_0x9235a1(0x294)],_0x37e402=this[_0x9235a1(0x209)];_0x37e402[_0x9235a1(0x162)](_0x402963),this[_0x9235a1(0xd0)][_0x9235a1(0x27d)](_0x37e402);}[_0x1bab9b(0xb4)](){const _0x3bfb7f=_0x1bab9b;var _0x5ce611;if(this[_0x3bfb7f(0x2e2)]=!0x0,((_0x5ce611=this[_0x3bfb7f(0x18f)]['getFocusedUnit']())==null?void 0x0:_0x5ce611['getUnitId']())!==this[_0x3bfb7f(0x117)])return;const _0x187b65=this[_0x3bfb7f(0x281)][_0x3bfb7f(0x1f0)](Y['DocSelectionManagerService'])[_0x3bfb7f(0x18a)]();Array[_0x3bfb7f(0x202)](_0x187b65)&&_0x187b65[_0x3bfb7f(0xb0)]>0x0&&this[_0x3bfb7f(0x12d)](_0x187b65);}[_0x1bab9b(0x2df)](){const _0x2f77e7=_0x1bab9b;this[_0x2f77e7(0x2e2)]=!0x1;}};de=ht([L(0x2,a[_0x1bab9b(0xa6)](a[_0x1bab9b(0x290)])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x1bab9b(0xa6)](u[_0x1bab9b(0x1d4)])),L(0x5,a[_0x1bab9b(0xa6)](pe)),L(0x6,m[_0x1bab9b(0x177)]),L(0x7,a[_0x1bab9b(0x1a2)]),L(0x8,a['ICommandService'])],de);var St=Object[_0x1bab9b(0x1b3)],ft=(_0x4a5fcc,_0x3a2321,_0x5340d3,_0x4846d4)=>{const _0x44ddea=_0x1bab9b;for(var _0x447dc8=_0x4846d4>0x1?void 0x0:_0x4846d4?St(_0x3a2321,_0x5340d3):_0x3a2321,_0x5b1b23=_0x4a5fcc[_0x44ddea(0xb0)]-0x1,_0xf63212;_0x5b1b23>=0x0;_0x5b1b23--)(_0xf63212=_0x4a5fcc[_0x5b1b23])&&(_0x447dc8=_0xf63212(_0x447dc8)||_0x447dc8);return _0x447dc8;},A=(_0x5147b2,_0x50279d)=>(_0x34bbf2,_0x232654)=>_0x50279d(_0x34bbf2,_0x232654,_0x5147b2);const It=0x12c,vt=0x64,gt=()=>{let _0x135845=[],_0x127669=!0x1;return _0x228e33=>{const _0x3bae1a=_0x2bad;_0x135845[_0x3bae1a(0xce)](_0x228e33),_0x127669||(_0x127669=!0x0,setTimeout(()=>{const _0x5afe67=_0x3bae1a;_0x135845[_0x5afe67(0x2b4)](_0x31e9af=>_0x31e9af()),_0x135845=[],_0x127669=!0x1;}));};};let Se=class extends a[_0x1bab9b(0x2ce)]{constructor(_0x433a12,_0x30adcf,_0x52f236,_0x144407,_0x450579,_0x1f7b70,_0x4a16e1,_0x1cd0ca){const _0x114d41=_0x1bab9b;super(),h(this,'_online',!0x1),h(this,_0x114d41(0xe0),!0x1),h(this,_0x114d41(0xd0),new d[(_0x114d41(0x1ce))](new Map())),h(this,_0x114d41(0x282),this[_0x114d41(0xd0)][_0x114d41(0x2c7)]()),h(this,_0x114d41(0x1cc),new d[(_0x114d41(0x1ce))]([])),h(this,_0x114d41(0x18b),this[_0x114d41(0x1cc)]['pipe'](d['debounceTime'](It))),h(this,_0x114d41(0x12d),a[_0x114d41(0x10e)]((_0x1a3a6c,_0x3a78ef)=>{const _0xdfdb1a=_0x114d41,_0x9d7c39={'eventID':m['CollaborationEvent'][_0xdfdb1a(0x8b)],'data':{'unitID':this[_0xdfdb1a(0x117)],'memberID':this['_session'][_0xdfdb1a(0x107)](),'selection':Ee[_0xdfdb1a(0x1bc)](_0x1a3a6c,_0x3a78ef[_0xdfdb1a(0x205)])}};this[_0xdfdb1a(0xd7)][_0xdfdb1a(0xe2)](_0x9d7c39,this[_0xdfdb1a(0x117)]);},vt)),(this[_0x114d41(0x117)]=_0x433a12,this['_session']=_0x30adcf,this[_0x114d41(0x281)]=_0x52f236,this[_0x114d41(0x224)]=_0x144407,this[_0x114d41(0x1b9)]=_0x450579,this[_0x114d41(0x18f)]=_0x1f7b70,this['_commandService']=_0x4a16e1,this[_0x114d41(0x2b9)]=_0x1cd0ca);}get[_0x1bab9b(0x209)](){const _0x897842=_0x1bab9b;return this[_0x897842(0xd0)][_0x897842(0x77)]();}get[_0x1bab9b(0x253)](){const _0x5a14aa=_0x1bab9b;return this[_0x5a14aa(0x1cc)][_0x5a14aa(0x77)]();}[_0x1bab9b(0x19d)](){const _0x55a28c=_0x1bab9b;super[_0x55a28c(0x19d)](),this[_0x55a28c(0xd0)][_0x55a28c(0x27d)](new Map()),this['_cursorInfo$'][_0x55a28c(0x2cb)](),this[_0x55a28c(0x1cc)][_0x55a28c(0x27d)]([]),this[_0x55a28c(0x1cc)]['complete']();}[_0x1bab9b(0x23f)](){const _0x484548=_0x1bab9b;this['_init']||(this[_0x484548(0xe0)]=!0x0,this[_0x484548(0xd7)][_0x484548(0x1c6)]['pipe'](d[_0x484548(0x16f)](this['dispose$']))['subscribe'](_0x51881f=>{const _0x1f341a=_0x484548;_0x51881f===u['SessionStatus'][_0x1f341a(0xea)]?this[_0x1f341a(0xb4)]():this[_0x1f341a(0x2df)]();}),this['_session'][_0x484548(0x14e)][_0x484548(0x1c1)](d['takeUntil'](this[_0x484548(0xf1)]))[_0x484548(0x27c)](_0x4290ca=>{const _0x3115de=_0x484548,_0x480eb4=_0x4290ca[_0x3115de(0x286)];_0x480eb4===m['CollaborationEvent'][_0x3115de(0x8b)]&&this[_0x3115de(0x193)](_0x4290ca),_0x480eb4===m[_0x3115de(0x11c)]['USERS_LEAVE']&&this[_0x3115de(0x11a)](_0x4290ca);}),this[_0x484548(0xf0)](),this[_0x484548(0x27b)](this[_0x484548(0x261)][_0x484548(0x1b5)](_0x1e7367=>{const _0x231b1f=_0x484548;if(this[_0x231b1f(0x2e2)]&&_0x1e7367['id']===g[_0x231b1f(0x84)]['id']&&_0x1e7367[_0x231b1f(0x159)]['unitId']===this[_0x231b1f(0x117)]){const _0x4960bf=_0x1e7367['params'];this[_0x231b1f(0x12d)](_0x4960bf[_0x231b1f(0x28e)],_0x4960bf[_0x231b1f(0x13f)][0x0]);}})));}[_0x1bab9b(0x193)](_0x445c8e){const _0x20c73e=_0x1bab9b;var _0x37bd74,_0x11b9dc;const {memberID:_0x458f74,selection:_0x12fc84}=_0x445c8e['data'],{sheetName:_0x375cc7,range:_0x4650e5}=Ee['deserializeRangeWithSheet'](_0x12fc84),_0x4cfbd2={'name':(_0x11b9dc=(_0x37bd74=this[_0x20c73e(0x1b9)][_0x20c73e(0x67)](this['unitID'],_0x458f74))==null?void 0x0:_0x37bd74[_0x20c73e(0x2a5)])!=null?_0x11b9dc:_0x20c73e(0x213),'range':this[_0x20c73e(0x6a)](_0x375cc7,_0x4650e5),'sheetID':_0x375cc7,'color':this['_colorAssignService'][_0x20c73e(0x2b3)](_0x458f74),'selection':_0x12fc84},_0x3adbad=this['cursorInfo'];_0x3adbad[_0x20c73e(0x2b6)](_0x458f74,_0x4cfbd2),this['_cursorInfo$'][_0x20c73e(0x27d)](_0x3adbad);}[_0x1bab9b(0x11a)](_0x5d50f0){const _0x2ec36c=_0x1bab9b,{memberID:_0x2283dc}=_0x5d50f0[_0x2ec36c(0x294)],_0x4e4fa3=this[_0x2ec36c(0x209)];_0x4e4fa3['delete'](_0x2283dc),this[_0x2ec36c(0xd0)]['next'](_0x4e4fa3);}['_getMergeRange'](_0x5cab6d,_0xdfa560){const _0x1c9d65=_0x1bab9b;var _0x4046d4,_0x4f28aa;const _0x4d30ac=(_0x4f28aa=(_0x4046d4=this[_0x1c9d65(0x18f)][_0x1c9d65(0x2db)](this[_0x1c9d65(0x117)]))==null?void 0x0:_0x4046d4['getSheetBySheetId'](_0x5cab6d))==null?void 0x0:_0x4f28aa[_0x1c9d65(0x6c)]();return(_0x4d30ac==null?void 0x0:_0x4d30ac[_0x1c9d65(0x1e8)](_0x324e97=>a[_0x1c9d65(0x6f)]['contains'](_0x324e97,_0xdfa560)))||_0xdfa560;}[_0x1bab9b(0xf0)](){const _0x1332da=_0x1bab9b,_0x5197bf=new a[(_0x1332da(0x141))](),_0x30456b=gt(),_0x489bd4=()=>{const _0x73e93d=_0x1332da;_0x5197bf['dispose']();const _0xb4681d=(_0x26f790,_0x125677,_0x2d4c82,_0x226a25)=>{const _0x5af526=_0x2bad;let _0x28ccfc=[];switch(_0x26f790['id']){case g[_0x5af526(0x26f)]['DeleteRangeMoveLeftCommandId']:{_0x28ccfc=g['handleDeleteRangeMoveLeft'](_0x26f790,_0x226a25);break;}case g[_0x5af526(0x26f)]['DeleteRangeMoveUpCommandId']:{_0x28ccfc=g[_0x5af526(0x25b)](_0x26f790,_0x226a25);break;}case g['EffectRefRangId'][_0x5af526(0x136)]:{_0x28ccfc=g[_0x5af526(0x22b)](_0x26f790,_0x226a25);break;}case g[_0x5af526(0x26f)][_0x5af526(0x233)]:{_0x28ccfc=g[_0x5af526(0x20f)](_0x26f790,_0x226a25);break;}case g[_0x5af526(0x26f)][_0x5af526(0x249)]:{_0x28ccfc=g['handleInsertRangeMoveRight'](_0x26f790,_0x226a25);break;}case g['EffectRefRangId'][_0x5af526(0x179)]:{_0x28ccfc=g[_0x5af526(0x29c)](_0x26f790,_0x226a25);break;}case g[_0x5af526(0x26f)][_0x5af526(0x1a3)]:{_0x28ccfc=g[_0x5af526(0x75)](_0x26f790,_0x226a25);break;}case g[_0x5af526(0x26f)]['RemoveColCommandId']:{_0x28ccfc=g[_0x5af526(0xd4)](_0x26f790,_0x226a25);break;}case g[_0x5af526(0x26f)]['RemoveRowCommandId']:{_0x28ccfc=g[_0x5af526(0x1ee)](_0x26f790,_0x226a25);break;}}const _0x51e993=g['runRefRangeMutations'](_0x28ccfc,_0x226a25),_0x5020af=this[_0x5af526(0x209)]['get'](_0x125677);if(_0x5020af&&_0x51e993){const _0x3bfce1={..._0x5020af,'range':_0x51e993};this[_0x5af526(0x209)]['set'](_0x125677,_0x3bfce1),_0x30456b(()=>{const _0x49b2ac=_0x5af526,_0x8a3f9c=this['_refRangeService']['registerRefRange'](_0x51e993,_0x7aca97=>(_0x8a3f9c[_0x49b2ac(0x19d)](),_0xb4681d(_0x7aca97,_0x125677,_0x2d4c82,_0x51e993)));_0x5197bf[_0x49b2ac(0xac)](_0x8a3f9c);});}return{'redos':[],'undos':[]};};this[_0x73e93d(0x209)][_0x73e93d(0x2b4)]((_0x3994d2,_0x3186d7)=>{const _0x2e96c3=_0x73e93d,{range:_0x22ce65,sheetID:_0x457f31}=_0x3994d2,_0x30e8cc=this['_refRangeService'][_0x2e96c3(0xc5)](_0x22ce65,_0xf24493=>(_0x30e8cc['dispose'](),_0xb4681d(_0xf24493,_0x3186d7,_0x457f31,_0x22ce65)));_0x5197bf[_0x2e96c3(0xac)](_0x30e8cc);});};this[_0x1332da(0x27b)](a[_0x1332da(0x2be)](this[_0x1332da(0xd0)]['subscribe'](()=>{_0x489bd4();})));}[_0x1bab9b(0xb4)](){const _0xe95cc8=_0x1bab9b;var _0x394e8a,_0x5c731b;if(this['_online']=!0x0,((_0x394e8a=this[_0xe95cc8(0x18f)]['getFocusedUnit']())==null?void 0x0:_0x394e8a[_0xe95cc8(0x83)]())!==this[_0xe95cc8(0x117)])return;const _0x1e9967=(_0x5c731b=this[_0xe95cc8(0x281)][_0xe95cc8(0x1f0)](g[_0xe95cc8(0x26c)])['getCurrentSelections']())==null?void 0x0:_0x5c731b[0x0],_0x13e6c2=this['_univerInstanceService'][_0xe95cc8(0x297)](a[_0xe95cc8(0x158)][_0xe95cc8(0xf2)])[_0xe95cc8(0x15c)]();_0x1e9967&&_0x13e6c2&&this[_0xe95cc8(0x12d)](_0x13e6c2[_0xe95cc8(0x2d2)](),_0x1e9967);}[_0x1bab9b(0x2df)](){const _0x3e78e4=_0x1bab9b;this[_0x3e78e4(0x2e2)]=!0x1;}};Se=ft([A(0x2,a[_0x1bab9b(0xa6)](a['Injector'])),A(0x3,a[_0x1bab9b(0xa6)](Ce)),A(0x4,a[_0x1bab9b(0xa6)](u[_0x1bab9b(0x1d4)])),A(0x5,a[_0x1bab9b(0x1a2)]),A(0x6,a[_0x1bab9b(0x2b0)]),A(0x7,a['Inject'](g[_0x1bab9b(0x17c)]))],Se);var mt=Object[_0x1bab9b(0x1b3)],Ct=(_0xf3ba68,_0x3ebe0d,_0x411407,_0x3e1d45)=>{const _0x4b86d4=_0x1bab9b;for(var _0x416136=_0x3e1d45>0x1?void 0x0:_0x3e1d45?mt(_0x3ebe0d,_0x411407):_0x3ebe0d,_0xa80f5a=_0xf3ba68[_0x4b86d4(0xb0)]-0x1,_0x195cb4;_0xa80f5a>=0x0;_0xa80f5a--)(_0x195cb4=_0xf3ba68[_0xa80f5a])&&(_0x416136=_0x195cb4(_0x416136)||_0x416136);return _0x416136;},ie=(_0x1a16de,_0x142abc)=>(_0xadd36,_0x151669)=>_0x142abc(_0xadd36,_0x151669,_0x1a16de);let x=class extends a[_0x1bab9b(0x2ce)]{constructor(_0x2df077,_0x53a130,_0x2c0099){const _0x47fb39=_0x1bab9b;super(),h(this,_0x47fb39(0x8d),new Map()),h(this,_0x47fb39(0xed),new d['Subject']()),(this[_0x47fb39(0x18f)]=_0x2df077,this['_injector']=_0x53a130,this[_0x47fb39(0x185)]=_0x2c0099,this[_0x47fb39(0xe0)]());}[_0x1bab9b(0x19d)](){const _0x105c86=_0x1bab9b;super[_0x105c86(0x19d)](),this[_0x105c86(0xed)][_0x105c86(0x2cb)](),this[_0x105c86(0x8d)][_0x105c86(0x2b4)](_0x4903b1=>_0x4903b1[_0x105c86(0x19d)]());}[_0x1bab9b(0x1d6)](_0x3b3f1a){const _0x2ae3f0=_0x1bab9b;return this['_entities'][_0x2ae3f0(0xd3)](_0x3b3f1a)?this[_0x2ae3f0(0x8d)][_0x2ae3f0(0x1f0)](_0x3b3f1a)['cursorInfo$']:this[_0x2ae3f0(0xed)]['pipe'](d[_0x2ae3f0(0x157)](_0x46d98c=>_0x46d98c[_0x2ae3f0(0x117)]===_0x3b3f1a),d[_0x2ae3f0(0xd8)](_0x13f412=>_0x13f412[_0x2ae3f0(0x282)]));}[_0x1bab9b(0xe0)](){const _0x33d789=_0x1bab9b;this['_univerInstanceService'][_0x33d789(0x2bc)](a['UniverInstanceType'][_0x33d789(0xf2)])[_0x33d789(0x1c1)](d['takeUntil'](this['dispose$']))[_0x33d789(0x27c)](async _0xaa7257=>{const _0x10b3e1=_0x33d789,_0x22f7dd=_0xaa7257['getUnitId'](),_0x88ed72=await this[_0x10b3e1(0x250)](_0x22f7dd);this[_0x10b3e1(0xed)]['next'](_0x88ed72),this[_0x10b3e1(0x8d)][_0x10b3e1(0x2b6)](_0x22f7dd,_0x88ed72);}),this['_univerInstanceService'][_0x33d789(0x2bc)](a[_0x33d789(0x158)]['UNIVER_DOC'])[_0x33d789(0x1c1)](d[_0x33d789(0x16f)](this[_0x33d789(0xf1)]))[_0x33d789(0x1c1)](d[_0x33d789(0x157)](_0x5d0d12=>!_0x5d0d12[_0x33d789(0x83)]()[_0x33d789(0x1ab)]('__')))['subscribe'](async _0x46e6a4=>{const _0x1e3bc5=_0x33d789,_0x21aff1=_0x46e6a4[_0x1e3bc5(0x83)](),_0x2027c1=await this[_0x1e3bc5(0x2e5)](_0x21aff1);this[_0x1e3bc5(0xed)][_0x1e3bc5(0x27d)](_0x2027c1),this['_entities'][_0x1e3bc5(0x2b6)](_0x21aff1,_0x2027c1);}),d[_0x33d789(0x23e)](this[_0x33d789(0x18f)][_0x33d789(0xc8)](a[_0x33d789(0x158)][_0x33d789(0x21d)]),this['_univerInstanceService'][_0x33d789(0xc8)](a[_0x33d789(0x158)][_0x33d789(0xf2)]))[_0x33d789(0x1c1)](d[_0x33d789(0x16f)](this[_0x33d789(0xf1)]))[_0x33d789(0x27c)](_0xacdb64=>{const _0x1f5a07=_0x33d789,_0x3a5359=_0xacdb64['getUnitId'](),_0x36b7cb=this['_entities']['get'](_0x3a5359);_0x36b7cb&&(_0x36b7cb[_0x1f5a07(0x19d)](),this['_entities'][_0x1f5a07(0x162)](_0x3a5359));});}async[_0x1bab9b(0x250)](_0xaafb7f){const _0x5f310d=_0x1bab9b,_0x11f95e=await this[_0x5f310d(0x185)]['requireSession'](_0xaafb7f),_0x1cc8a5=this[_0x5f310d(0x281)][_0x5f310d(0x1a7)](Se,_0xaafb7f,_0x11f95e);return _0x1cc8a5[_0x5f310d(0x23f)](),_0x1cc8a5;}async[_0x1bab9b(0x2e5)](_0x2654a3){const _0x55056b=_0x1bab9b,_0x27b367=await this[_0x55056b(0x185)][_0x55056b(0xcd)](_0x2654a3),_0x332fab=this[_0x55056b(0x281)][_0x55056b(0x1a7)](de,_0x2654a3,_0x27b367);return _0x332fab['init'](),_0x332fab;}};x=Ct([ie(0x0,a[_0x1bab9b(0x1a2)]),ie(0x1,a['Inject'](a[_0x1bab9b(0x290)])),ie(0x2,a[_0x1bab9b(0xa6)](u['CollaborationSessionService']))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x56ecca,_0x15ab21){const _0x1a5556=_0x1bab9b;let {radius:_0x4f7b49,width:_0x1cd109,height:_0x47293b}=_0x15ab21;_0x4f7b49=_0x4f7b49!=null?_0x4f7b49:0x0,_0x1cd109=_0x1cd109!=null?_0x1cd109:0x1e,_0x47293b=_0x47293b!=null?_0x47293b:0x1e;let _0x44eda2=0x0,_0xaab291=0x0,_0x25dbdf=0x0;_0x44eda2=_0xaab291=_0x25dbdf=Math['min'](_0x4f7b49,_0x1cd109/0x2,_0x47293b/0x2),_0x56ecca[_0x1a5556(0xcc)](),_0x56ecca[_0x1a5556(0xb2)](_0x44eda2,0x0),_0x56ecca['lineTo'](_0x1cd109-_0xaab291,0x0),_0x56ecca[_0x1a5556(0x274)](_0x1cd109-_0xaab291,_0xaab291,_0xaab291,Math['PI']*0x3/0x2,0x0,!0x1),_0x56ecca['lineTo'](_0x1cd109,_0x47293b-_0x25dbdf),_0x56ecca[_0x1a5556(0x274)](_0x1cd109-_0x25dbdf,_0x47293b-_0x25dbdf,_0x25dbdf,0x0,Math['PI']/0x2,!0x1),_0x56ecca['lineTo'](0x0,_0x47293b),_0x56ecca['lineTo'](0x0,_0x44eda2),_0x56ecca['arc'](_0x44eda2,_0x44eda2,_0x44eda2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x56ecca[_0x1a5556(0x25a)](),_0x15ab21[_0x1a5556(0xf3)]&&(_0x56ecca[_0x1a5556(0x1ef)](),_0x56ecca[_0x1a5556(0x7f)]=_0x15ab21[_0x1a5556(0xf3)],_0x15ab21[_0x1a5556(0xae)]==='evenodd'?_0x56ecca[_0x1a5556(0xf3)](_0x1a5556(0x161)):_0x56ecca[_0x1a5556(0xf3)](),_0x56ecca[_0x1a5556(0x1c4)]());}class ee extends p[_0x1bab9b(0xf9)]{constructor(_0xe86ef1,_0x13b068){const _0x51e6e5=_0x1bab9b;super(_0xe86ef1,_0x13b068),h(this,_0x51e6e5(0x104)),h(this,_0x51e6e5(0x11d)),(this[_0x51e6e5(0x104)]=_0x13b068==null?void 0x0:_0x13b068[_0x51e6e5(0x104)],this[_0x51e6e5(0x11d)]=_0x13b068==null?void 0x0:_0x13b068[_0x51e6e5(0x11d)]);}static['drawWith'](_0x345a33,_0x6bd082){const _0x3b4839=_0x1bab9b,{text:_0x59eddc,color:_0x40bc37}=_0x6bd082;_0x345a33[_0x3b4839(0x1ef)](),_0x345a33[_0x3b4839(0x207)]=_0x3b4839(0x252);const _0x18c307=_0x345a33[_0x3b4839(0x27f)](_0x59eddc)[_0x3b4839(0xb6)],_0x44a21f=Math[_0x3b4839(0xcf)](_0x18c307+0x2*ne,Te);Et(_0x345a33,{'height':W,'radius':0x4,'width':_0x44a21f,'fill':_0x40bc37}),_0x345a33[_0x3b4839(0x7f)]='#FFF';const _0x1f01ae=ne,_0x314f7e=W-pt,_0x26f315=Te-0x2*ne;if(_0x18c307>_0x26f315){let _0x4256a9='',_0x456896=0x0;for(const _0x4af1dd of _0x59eddc){const _0x27fa81=_0x345a33[_0x3b4839(0x27f)](_0x4af1dd)[_0x3b4839(0xb6)];if(_0x456896+_0x27fa81<=_0x26f315-_0x345a33['measureText'](_0x3b4839(0x2d9))['width'])_0x4256a9+=_0x4af1dd,_0x456896+=_0x27fa81;else{_0x4256a9+=_0x3b4839(0x2d9);break;}}_0x345a33[_0x3b4839(0x2e0)](_0x4256a9,_0x1f01ae,_0x314f7e);}else _0x345a33[_0x3b4839(0x2e0)](_0x59eddc,_0x1f01ae,_0x314f7e);_0x345a33[_0x3b4839(0x1c4)]();}[_0x1bab9b(0x2ca)](_0xd56a2f){const _0x5ac2ba=_0x1bab9b;ee[_0x5ac2ba(0x1f8)](_0xd56a2f,this);}}const re='collab-text-anchor-',bt=_0x1bab9b(0x242),Ot=_0x1bab9b(0x8f),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt='rgba(255,\x20255,\x20255,\x200.01)';class Re{constructor(_0x56847a,_0x174f9d,_0x33a6f5,_0x2d1013){const _0x2fe9ab=_0x1bab9b;h(this,_0x2fe9ab(0x1a0),[]),h(this,'_anchor',null),h(this,_0x2fe9ab(0x24c),null),h(this,'_anchorDot',null),h(this,'_hideTimer',null),h(this,_0x2fe9ab(0x2dc),null),(this[_0x2fe9ab(0x7a)]=_0x56847a,this['_scene']=_0x174f9d,this[_0x2fe9ab(0x71)]=_0x33a6f5,this['_document']=_0x2d1013,this[_0x2fe9ab(0xb7)]());}set['_hover'](_0x5cbd75){const _0x1a5e8e=_0x1bab9b;_0x5cbd75?(this[_0x1a5e8e(0x116)]&&this[_0x1a5e8e(0x116)][_0x1a5e8e(0x2af)](),this[_0x1a5e8e(0x24c)]&&this[_0x1a5e8e(0x24c)]['show']()):(this[_0x1a5e8e(0x116)]&&this[_0x1a5e8e(0x116)]['show'](),this[_0x1a5e8e(0x24c)]&&this[_0x1a5e8e(0x24c)][_0x1a5e8e(0x2af)]());}[_0x1bab9b(0x19d)](){const _0x47ffd1=_0x1bab9b;for(const _0x545afc of this[_0x47ffd1(0x1a0)])_0x545afc[_0x47ffd1(0x19d)]();this[_0x47ffd1(0x24c)]&&this['_textBubble'][_0x47ffd1(0x19d)](),this[_0x47ffd1(0x116)]&&this[_0x47ffd1(0x116)][_0x47ffd1(0x19d)](),this[_0x47ffd1(0x109)]&&this[_0x47ffd1(0x109)][_0x47ffd1(0x19d)](),this[_0x47ffd1(0x2dc)]&&this['_eventUnsubscribe']();}[_0x1bab9b(0xb7)](){const _0x4e5088=_0x1bab9b;var _0x558f2e;const {_docSkeleton:_0x708a2c,_document:_0x1f8a5d}=this,{color:_0xf12da2,name:_0x50fbfc,ranges:_0x3d9eb6}=this['_cursor'],_0x24af5a=_0x1f8a5d['getOffsetConfig'](),{docsLeft:_0x24a190,docsTop:_0xa7edb0}=_0x24af5a,_0x3e3c23=new E['NodePositionConvertToCursor'](_0x24af5a,_0x708a2c);for(const {startOffset:_0x5c3ae2,endOffset:_0xd08f60,rangeType:_0x1362b8,segmentId:_0x487648,segmentPage:_0x560c37,collapsed:_0x40b502,isActive:_0x374341}of _0x3d9eb6){const _0x5e09dc=_0x708a2c[_0x4e5088(0x14b)](_0x5c3ae2,!0x0,_0x487648,_0x560c37);let _0x4a68e7=_0x708a2c[_0x4e5088(0x14b)](_0xd08f60,!0x0,_0x487648,_0x560c37);if(_0x4a68e7==null&&(_0x4a68e7=_0x708a2c[_0x4e5088(0x14b)](_0xd08f60-0x1,!0x1,_0x487648,_0x560c37)),_0x374341){const {contentBoxPointGroup:_0x4fcd4b}=_0x3e3c23[_0x4e5088(0x283)](_0x4a68e7,_0x4a68e7);if(_0x4fcd4b[_0x4e5088(0xb0)]===0x0)continue;this[_0x4e5088(0x128)](_0xf12da2,_0x4fcd4b,_0x24a190,_0xa7edb0,_0x50fbfc),this[_0x4e5088(0x2dc)]=this[_0x4e5088(0x1b6)]();}if(_0x5e09dc&&_0x4a68e7){if(_0x1362b8===a[_0x4e5088(0xb9)][_0x4e5088(0x169)]){const _0xd660c9=new E[(_0x4e5088(0x217))](_0x24af5a,_0x708a2c),{pointGroup:_0x1d88d7}=(_0x558f2e=_0xd660c9[_0x4e5088(0x283)](_0x5e09dc,_0x4a68e7))!=null?_0x558f2e:{};if(_0x1d88d7==null||_0x1d88d7[_0x4e5088(0xb0)]===0x0)continue;this['_drawRectRange'](_0xf12da2,_0x1d88d7,_0x24a190,_0xa7edb0);}else{if(!_0x40b502){const {borderBoxPointGroup:_0x542772}=_0x3e3c23[_0x4e5088(0x283)](_0x5e09dc,_0x4a68e7);if(_0x542772[_0x4e5088(0xb0)]===0x0)continue;this['_drawTextRange'](_0xf12da2,_0x542772,_0x24a190,_0xa7edb0);}}}}}[_0x1bab9b(0x128)](_0xed16be,_0x3c2ceb,_0x36ee6e,_0x3466c6,_0xa188f1){const _0x341f91=_0x1bab9b,_0x171358=this[_0x341f91(0x1c7)](_0x3c2ceb),{left:_0xb06b35,top:_0x557706,height:_0x375039}=_0x171358,_0x48d27a=this[_0x341f91(0x2a8)](),_0x2d1768=Rt/_0x48d27a,_0x4fb2d9=new p[(_0x341f91(0x178))](re+a[_0x341f91(0x239)](F),{'left':_0xb06b35+_0x36ee6e-_0x2d1768,'top':_0x557706+_0x3466c6,'height':_0x375039,'width':Tt,'fill':_0xed16be||p['getColor'](a[_0x341f91(0x139)][_0x341f91(0x23d)],0x0),'strokeWidth':_0x2d1768,'stroke':Dt,'evented':!0x0});this[_0x341f91(0x109)]=_0x4fb2d9,this['_scene']['addObject'](_0x4fb2d9,E[_0x341f91(0x22e)]);const _0xe38246=new p[(_0x341f91(0x178))](re+a[_0x341f91(0x239)](F),{'left':_0xb06b35+_0x36ee6e-_0x2d1768,'top':_0x557706+_0x3466c6-oe/0x2,'height':oe,'width':oe,'fill':_0xed16be||p[_0x341f91(0xa0)](a[_0x341f91(0x139)][_0x341f91(0x23d)],0x0),'strokeWidth':0x0,'stroke':_0xed16be||p[_0x341f91(0xa0)](a[_0x341f91(0x139)]['black'],0x0),'evented':!0x1});this[_0x341f91(0x116)]=_0xe38246,this[_0x341f91(0x1af)]['addObject'](_0xe38246,E[_0x341f91(0x22e)]);const _0x5a5f94=new ee(re+a['generateRandomId'](F),{'left':_0xb06b35+_0x36ee6e-_0x2d1768,'top':_0x557706+_0x3466c6-W,'text':_0xa188f1,'color':_0xed16be});this[_0x341f91(0x24c)]=_0x5a5f94,this[_0x341f91(0x1af)][_0x341f91(0xc2)](_0x5a5f94,E[_0x341f91(0x22e)]),this[_0x341f91(0xdd)]=!0x1;}[_0x1bab9b(0x1b6)](){const _0x18f36c=_0x1bab9b,_0x4da9df=this[_0x18f36c(0x109)][_0x18f36c(0xeb)][_0x18f36c(0xe8)](()=>{this['_hover']=!0x0;}),_0x1aebba=this[_0x18f36c(0x109)][_0x18f36c(0x1db)][_0x18f36c(0xe8)](()=>{const _0x8e202b=_0x18f36c;this[_0x8e202b(0xc0)]&&clearTimeout(this[_0x8e202b(0xc0)]),this[_0x8e202b(0xc0)]=setTimeout(()=>{const _0x81fb79=_0x8e202b;this[_0x81fb79(0xdd)]=!0x1;},0x7d0);});return()=>{const _0x49f124=_0x18f36c;_0x4da9df['unsubscribe'](),_0x1aebba[_0x49f124(0x94)]();};}['_drawTextRange'](_0x12d29e,_0x5d634f,_0x51469b,_0x495ea9){const _0x90e14=_0x1bab9b,_0x240283=new a[(_0x90e14(0x263))](_0x12d29e)[_0x90e14(0x1c5)](0.2)[_0x90e14(0x16d)](),_0x2802d0=new p[(_0x90e14(0x1b1))](bt+a[_0x90e14(0x239)](F),{'pointsGroup':_0x5d634f,'fill':_0x240283||p['getColor'](a[_0x90e14(0x139)][_0x90e14(0x23d)],0.2),'left':_0x51469b,'top':_0x495ea9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x90e14(0x1a0)][_0x90e14(0xce)](_0x2802d0),this['_scene']['addObject'](_0x2802d0,E[_0x90e14(0x22e)]);}[_0x1bab9b(0x2b5)](_0x91a010,_0x5ce439,_0x124e9a,_0x405d10){const _0x165e2d=_0x1bab9b,_0x1ae57b=new a[(_0x165e2d(0x263))](_0x91a010)[_0x165e2d(0x1c5)](0.2)[_0x165e2d(0x16d)](),_0x21b9d9=new p[(_0x165e2d(0x1b1))](Ot+a[_0x165e2d(0x239)](F),{'pointsGroup':_0x5ce439,'fill':_0x1ae57b||p[_0x165e2d(0xa0)](a['COLORS'][_0x165e2d(0x23d)],0.2),'left':_0x124e9a,'top':_0x405d10,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x165e2d(0x1a0)][_0x165e2d(0xce)](_0x21b9d9),this[_0x165e2d(0x1af)][_0x165e2d(0xc2)](_0x21b9d9,E[_0x165e2d(0x22e)]);}[_0x1bab9b(0x1c7)](_0x2878a7){const _0x387b32=_0x2878a7[0x0],_0xa7f18d=_0x387b32[0x0],_0x12b82d=_0x387b32[0x2],{x:_0xeca922,y:_0x2fcbe8}=_0xa7f18d,{x:_0x44b4e4,y:_0x34c1e8}=_0x12b82d;return{'left':_0xeca922,'top':_0x2fcbe8,'width':_0x44b4e4-_0xeca922,'height':_0x34c1e8-_0x2fcbe8};}[_0x1bab9b(0x2a8)](){const _0x18bc77=_0x1bab9b,{scaleX:_0x43695f,scaleY:_0x1f4df5}=this[_0x18bc77(0x1af)]['getAncestorScale']();return Math[_0x18bc77(0x232)](_0x43695f,_0x1f4df5);}}var Ut=Object[_0x1bab9b(0x1b3)],Nt=(_0x27aee5,_0x4fd266,_0x4eb917,_0x10109f)=>{const _0x398fc4=_0x1bab9b;for(var _0x51bcdc=_0x10109f>0x1?void 0x0:_0x10109f?Ut(_0x4fd266,_0x4eb917):_0x4fd266,_0x366eb5=_0x27aee5[_0x398fc4(0xb0)]-0x1,_0x55971d;_0x366eb5>=0x0;_0x366eb5--)(_0x55971d=_0x27aee5[_0x366eb5])&&(_0x51bcdc=_0x55971d(_0x51bcdc)||_0x51bcdc);return _0x51bcdc;},X=(_0x548388,_0x4f5f78)=>(_0x16404b,_0x2a178f)=>_0x4f5f78(_0x16404b,_0x2a178f,_0x548388);let fe=class extends a[_0x1bab9b(0x2ce)]{constructor(_0x29f14f,_0x429d54,_0x351aee,_0x569ad7,_0x5ce1cb){const _0x1d9968=_0x1bab9b;super(),h(this,_0x1d9968(0xb1),[]),h(this,_0x1d9968(0x2ba),[]),(this[_0x1d9968(0x230)]=_0x29f14f,this[_0x1d9968(0x206)]=_0x429d54,this[_0x1d9968(0x108)]=_0x351aee,this[_0x1d9968(0x261)]=_0x569ad7,this['_themeService']=_0x5ce1cb,this['_init']());}[_0x1bab9b(0xe0)](){const _0x5548c8=_0x1bab9b,_0x2c3429=this[_0x5548c8(0x230)][_0x5548c8(0x1f3)],_0x493f1a=this[_0x5548c8(0x206)];this[_0x5548c8(0x27b)](d[_0x5548c8(0x12e)]([this[_0x5548c8(0x108)][_0x5548c8(0x1d6)](_0x2c3429),this[_0x5548c8(0x21f)][_0x5548c8(0x256)]])[_0x5548c8(0x1c1)]($[_0x5548c8(0xd9)](([_0x2f3105,_0x419c37])=>({'skeleton':_0x493f1a[_0x5548c8(0x95)](),'cursors':[..._0x2f3105[_0x5548c8(0x69)]()][_0x5548c8(0x2a7)](_0x56b3a8=>({..._0x56b3a8,'color':this['_themeService'][_0x5548c8(0x225)](_0x56b3a8[_0x5548c8(0x104)])}))})))['subscribe'](_0xa320de=>{const _0x27d50c=_0x5548c8;if(this['_removeCollabCursors'](),_0xa320de){const {skeleton:_0x69df25,cursors:_0x2bed02}=_0xa320de;this[_0x27d50c(0x73)](_0x69df25,_0x2bed02);}})),this[_0x5548c8(0xff)](),this['_initCommandExecutedListener']();}[_0x1bab9b(0x73)](_0xe75310,_0x3c882a){const _0x457f04=_0x1bab9b,{scene:_0x3a1980,mainComponent:_0x2280fd}=this['_context'],_0x3f4387=_0x3c882a[_0x457f04(0xd9)](_0xb5771d=>new Re(_0xb5771d,_0x3a1980,_0xe75310,_0x2280fd));this[_0x457f04(0xb1)]=_0x3f4387,this[_0x457f04(0x2ba)]=_0x3c882a;}[_0x1bab9b(0x1da)](){const _0x202fbc=_0x1bab9b;this['_removeCollabCursors']();const {scene:_0x2d802c,mainComponent:_0x451573}=this[_0x202fbc(0x230)],_0x1805c1=this[_0x202fbc(0x206)][_0x202fbc(0x95)](),_0x10c464=this['_cursors'][_0x202fbc(0xd9)](_0x25da36=>new Re(_0x25da36,_0x2d802c,_0x1805c1,_0x451573));this['_cursorShapes']=_0x10c464;}[_0x1bab9b(0x1b7)](){const _0x52b393=_0x1bab9b;this[_0x52b393(0xb1)][_0x52b393(0x2b4)](_0x57909d=>_0x57909d[_0x52b393(0x19d)]()),this[_0x52b393(0xb1)]=[];}[_0x1bab9b(0x269)](){const _0x416e93=_0x1bab9b,_0x3b883f=[E[_0x416e93(0x1f2)]['id']];this[_0x416e93(0x27b)](this['_commandService'][_0x416e93(0x1b5)](_0x22f6a8=>{const _0x135bbf=_0x416e93;_0x3b883f[_0x135bbf(0xdc)](_0x22f6a8['id'])&&_0x22f6a8[_0x135bbf(0x159)]['unitId']===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x886fe7=_0x1bab9b;this['disposeWithMe'](a[_0x886fe7(0x2d4)](this[_0x886fe7(0x230)][_0x886fe7(0x119)][_0x886fe7(0x19f)])[_0x886fe7(0x1c1)]($[_0x886fe7(0x157)](_0x52bebf=>_0x52bebf[_0x886fe7(0x1c0)]===p[_0x886fe7(0x181)][_0x886fe7(0x2e3)]),$[_0x886fe7(0x1dc)](0x10))[_0x886fe7(0x27c)](()=>{const _0x3395ab=_0x886fe7;this[_0x3395ab(0x1da)]();}));}};fe=Nt([X(0x1,a['Inject'](Y[_0x1bab9b(0x296)])),X(0x2,a[_0x1bab9b(0xa6)](x)),X(0x3,a[_0x1bab9b(0x2b0)]),X(0x4,a[_0x1bab9b(0xa6)](a['ThemeService']))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x1bab9b(0xf9)]{constructor(_0x19a95c,_0xd76980){const _0x3fd691=_0x1bab9b;super(_0x19a95c,_0xd76980),h(this,_0x3fd691(0x1b4)),h(this,_0x3fd691(0x2c9),!0x1),h(this,_0x3fd691(0x97)),h(this,_0x3fd691(0x272),''),h(this,'_labelPosition',_0x3fd691(0xd1)),h(this,'_backgroundColor'),(_0xd76980&&this[_0x3fd691(0x87)](_0xd76980),this[_0x3fd691(0xeb)]['subscribeEvent'](()=>this[_0x3fd691(0x87)]({'hovered':!0x0})),this[_0x3fd691(0x1db)]['subscribeEvent'](()=>this[_0x3fd691(0x87)]({'hovered':!0x1})));}['setShapeProps'](_0x4f3dff){const _0x1a9ca2=_0x1bab9b;var _0x3c534a,_0xd55b83,_0x1b1037,_0x4fd7f9,_0x4ae5e5,_0x2acb4f;this['_color']=(_0x3c534a=_0x4f3dff[_0x1a9ca2(0x104)])!=null?_0x3c534a:this[_0x1a9ca2(0x1b4)],this[_0x1a9ca2(0x2c9)]=(_0xd55b83=_0x4f3dff[_0x1a9ca2(0x132)])!=null?_0xd55b83:this[_0x1a9ca2(0x2c9)],this['_range']=(_0x1b1037=_0x4f3dff[_0x1a9ca2(0x205)])!=null?_0x1b1037:this['_range'],this[_0x1a9ca2(0x272)]=(_0x4fd7f9=_0x4f3dff['name'])!=null?_0x4fd7f9:this[_0x1a9ca2(0x272)],this[_0x1a9ca2(0xca)]=(_0x4ae5e5=_0x4f3dff['labelPosition'])!=null?_0x4ae5e5:this['_labelPosition'],this['_backgroundColor']=(_0x2acb4f=_0x4f3dff[_0x1a9ca2(0x293)])!=null?_0x2acb4f:this[_0x1a9ca2(0x220)],this[_0x1a9ca2(0x1aa)]({'width':_0x4f3dff[_0x1a9ca2(0xb6)],'height':_0x4f3dff['height']});}[_0x1bab9b(0xbd)](_0x10000c){const _0x4299cb=_0x1bab9b,{row:_0x20eb8e,column:_0x1b06f9}=_0x10000c;if(_0x20eb8e>=this['_range'][_0x4299cb(0x25c)]&&_0x20eb8e<=this[_0x4299cb(0x97)][_0x4299cb(0x244)]&&_0x1b06f9>=this['_range']['startColumn']&&_0x1b06f9<=this['_range'][_0x4299cb(0x219)]){this[_0x4299cb(0x87)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x21f7a9){return!0x1;}['_draw'](_0x68302a){const _0x231148=_0x1bab9b;p[_0x231148(0x178)][_0x231148(0x1f8)](_0x68302a,{'width':this[_0x231148(0xb6)],'height':this[_0x231148(0x80)],'strokeWidth':Lt,'stroke':this[_0x231148(0x1b4)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x68302a[_0x231148(0x1ef)](),_0x68302a[_0x231148(0x16e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x231148(0xad)?0x0:-W),ee[_0x231148(0x1f8)](_0x68302a,{'text':this['_name'],'color':this[_0x231148(0x1b4)]}),_0x68302a[_0x231148(0x1c4)]());}}var Pt=Object[_0x1bab9b(0x1b3)],wt=(_0x1924c8,_0x56b0ae,_0x202f4f,_0x140e77)=>{const _0x2f03d4=_0x1bab9b;for(var _0x365475=_0x140e77>0x1?void 0x0:_0x140e77?Pt(_0x56b0ae,_0x202f4f):_0x56b0ae,_0x4c494c=_0x1924c8[_0x2f03d4(0xb0)]-0x1,_0x8895df;_0x4c494c>=0x0;_0x4c494c--)(_0x8895df=_0x1924c8[_0x4c494c])&&(_0x365475=_0x8895df(_0x365475)||_0x365475);return _0x365475;},ae=(_0x1562fe,_0x2505b5)=>(_0x1c72aa,_0x153f51)=>_0x2505b5(_0x1c72aa,_0x153f51,_0x1562fe);const At=0x1389;let Ie=class extends a[_0x1bab9b(0x2ce)]{constructor(_0x1b43b3,_0x4be229,_0xdded75,_0x266b28){const _0x2b82e1=_0x1bab9b;super(),h(this,'_cursors',new Set()),h(this,_0x2b82e1(0x111),null),(this[_0x2b82e1(0x230)]=_0x1b43b3,this['_sheetSkeletonManagerService']=_0x4be229,this[_0x2b82e1(0x108)]=_0xdded75,this['_themeService']=_0x266b28,this['_init']());}[_0x1bab9b(0xe0)](){const _0x446fd9=_0x1bab9b;this[_0x446fd9(0x186)][_0x446fd9(0x201)][_0x446fd9(0x1c1)]($[_0x446fd9(0x16f)](this[_0x446fd9(0xf1)]),$[_0x446fd9(0xd8)](_0x5bdc9a=>{const _0x55550f=_0x446fd9;if(_0x5bdc9a){const _0x4b191b=_0x5bdc9a[_0x55550f(0x1c8)];return d[_0x55550f(0x12e)](this[_0x55550f(0x108)]['getCollabCursors$'](this[_0x55550f(0x230)][_0x55550f(0x1f3)]),this[_0x55550f(0x21f)]['currentTheme$'])[_0x55550f(0x1c1)]($[_0x55550f(0xd9)](([_0xc1b346,_0x4d5daf])=>{const _0x210bfd=_0x55550f,_0x1e2670=new Map();return _0xc1b346[_0x210bfd(0x2b4)]((_0x5e32c5,_0x3d34fd)=>{const _0x38ae7d=_0x210bfd;if(_0x5e32c5['sheetID']===_0x4b191b){const _0x32b762={..._0x5e32c5};_0x32b762['color']=this[_0x38ae7d(0x21f)][_0x38ae7d(0x225)](_0x5e32c5[_0x38ae7d(0x104)]),_0x1e2670[_0x38ae7d(0x2b6)](_0x3d34fd,_0x32b762);}}),{'skeleton':_0x5bdc9a,'cursors':_0x1e2670};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x446fd9(0x27c)](({skeleton:_0x4fc72f,cursors:_0xb47251})=>{const _0xe59d5e=_0x446fd9;this[_0xe59d5e(0x1b7)](),_0x4fc72f&&this[_0xe59d5e(0x73)](_0x4fc72f,_0xb47251);}),this[_0x446fd9(0x186)]['currentSkeleton$'][_0x446fd9(0x27c)](_0xb541e=>{const _0x2b9004=_0x446fd9;if(_0xb541e==null)return;const {skeleton:_0x18486e}=_0xb541e,{scene:_0x112f34}=this['_context'];_0x112f34[_0x2b9004(0x26d)]['subscribeEvent'](a[_0x2b9004(0x10e)](_0xf4cd6=>{const _0xc3ccf2=_0x2b9004;var _0x111247,_0x189446;const {offsetX:_0x5b41f5,offsetY:_0x30f147}=_0xf4cd6,{x:_0x11e685,y:_0x4262c6}=_0x112f34['getRelativeToViewportCoord'](p['Vector2'][_0xc3ccf2(0x174)]([_0x5b41f5,_0x30f147])),{scaleX:_0x21ef0a,scaleY:_0x313c45}=_0x112f34['getAncestorScale'](),_0xcb6a47=_0x112f34[_0xc3ccf2(0x165)](p[_0xc3ccf2(0x200)][_0xc3ccf2(0x2c8)]),_0x3d9c78=_0x112f34[_0xc3ccf2(0x11e)](p[_0xc3ccf2(0x10c)][_0xc3ccf2(0x174)]([_0x11e685,_0x4262c6]),_0xcb6a47),_0x4c8752=_0x18486e[_0xc3ccf2(0x99)](_0x5b41f5,_0x30f147,_0x21ef0a,_0x313c45,_0x3d9c78);((_0x111247=this[_0xc3ccf2(0x111)])==null?void 0x0:_0x111247[_0xc3ccf2(0x218)])===_0x4c8752[_0xc3ccf2(0x218)]&&((_0x189446=this[_0xc3ccf2(0x111)])==null?void 0x0:_0x189446[_0xc3ccf2(0xa3)])===_0x4c8752[_0xc3ccf2(0xa3)]||this[_0xc3ccf2(0x2ba)]['forEach'](_0xdc709c=>{_0xdc709c['onMouseMove'](_0x4c8752);});},0x64));});}[_0x1bab9b(0x73)](_0x1305bd,_0x3ccbf4){const _0x431223=_0x1bab9b;var _0x1f7797;const _0x21417f=(_0x1f7797=this[_0x431223(0x186)][_0x431223(0x127)]())==null?void 0x0:_0x1f7797[_0x431223(0x147)];if(!_0x21417f)return;const _0x10cea1=this['_getSheetObject']();if(!_0x10cea1)return;this[_0x431223(0x2ba)][_0x431223(0x2b4)](_0x1c0e1c=>{const _0x5d1c5d=_0x431223;_0x1c0e1c[_0x5d1c5d(0xa7)]();});const {scene:_0x2ef582}=_0x10cea1,_0x5c9ede=yt(Array[_0x431223(0x257)](_0x3ccbf4[_0x431223(0x69)]()))[_0x431223(0xd9)](_0x2089e5=>{const _0x3c7bc3=_0x431223,{color:_0x1b77d2,range:_0x56a369,name:_0x4bbf40,selection:_0x2a4e0a,sheetID:_0x29d932}=_0x2089e5,{startColumn:_0x40f91,startRow:_0xb756f0,endColumn:_0x4af92b,endRow:_0x46f4c4}=_0x56a369,_0x35610f=G[_0x3c7bc3(0x18d)](_0xb756f0,_0x40f91,_0x2ef582,_0x21417f),_0x1c650b=G[_0x3c7bc3(0x18d)](_0x46f4c4,_0x4af92b,_0x2ef582,_0x21417f),{columnHeaderHeightAndMarginTop:_0x349824}=_0x21417f,{startX:_0x16ed30,startY:_0x5143ae}=_0x35610f,{endX:_0x2f545d,endY:_0xcb736b}=_0x1c650b,_0x58f3af=_0x2f545d-_0x16ed30,_0x3bf9c0=_0xcb736b-_0x5143ae,_0x3b9205={'labelPosition':_0x5143ae-_0x349824>=W?_0x3c7bc3(0xd1):_0x3c7bc3(0xad),'sheetID':_0x29d932,'range':_0x56a369,'color':_0x1b77d2,'name':_0x4bbf40,'selection':_0x2a4e0a,'left':_0x16ed30,'top':_0x5143ae,'width':_0x58f3af,'height':_0x3bf9c0,'evented':!0x1,'zIndex':At};return new $e(_0x4bbf40,_0x3b9205);});_0x2ef582['addObjects'](_0x5c9ede,Mt),this['_cursors']=new Set(_0x5c9ede);}[_0x1bab9b(0x1b7)](){const _0x16c4c4=_0x1bab9b;var _0x4a9ec7;(_0x4a9ec7=this[_0x16c4c4(0x2ba)])==null||_0x4a9ec7[_0x16c4c4(0x2b4)](_0x3ba901=>_0x3ba901[_0x16c4c4(0x19d)]());}[_0x1bab9b(0x1ac)](){const _0xb9f23f=_0x1bab9b;return G['getSheetObject'](this[_0xb9f23f(0x230)][_0xb9f23f(0x25d)],this['_context']);}};Ie=wt([ae(0x1,a[_0x1bab9b(0xa6)](G[_0x1bab9b(0x173)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x1bab9b(0xa6)](a[_0x1bab9b(0x264)]))],Ie);function yt(_0x44b390){const _0x31df82=_0x1bab9b,_0x11e290=new Map();return _0x44b390[_0x31df82(0x2b4)](_0x711729=>{const _0x56b072=_0x31df82;if(_0x11e290[_0x56b072(0xd3)](_0x711729[_0x56b072(0x1b8)])){const _0x12f188=_0x11e290[_0x56b072(0x1f0)](_0x711729['selection']);_0x12f188[_0x56b072(0x2a5)]+=',\x20'+_0x711729[_0x56b072(0x2a5)];}else _0x11e290['set'](_0x711729[_0x56b072(0x1b8)],_0x711729);}),Array['from'](_0x11e290['values']());}var $t=Object[_0x1bab9b(0x1b3)],xt=(_0x376390,_0x12a065,_0x493379,_0x2b6ca1)=>{const _0x1ff8e1=_0x1bab9b;for(var _0x4c6463=_0x2b6ca1>0x1?void 0x0:_0x2b6ca1?$t(_0x12a065,_0x493379):_0x12a065,_0x187716=_0x376390[_0x1ff8e1(0xb0)]-0x1,_0x2dcd05;_0x187716>=0x0;_0x187716--)(_0x2dcd05=_0x376390[_0x187716])&&(_0x4c6463=_0x2dcd05(_0x4c6463)||_0x4c6463);return _0x4c6463;},y=(_0x20d135,_0x1afca9)=>(_0x4ca2a0,_0x302835)=>_0x1afca9(_0x4ca2a0,_0x302835,_0x20d135);let q=class extends a['Disposable']{constructor(_0x477d4c,_0x44ba50,_0x32283b,_0x3d8300,_0x52c9b8,_0x154efb){const _0x26bf34=_0x1bab9b;super(),this[_0x26bf34(0x2a4)]=_0x477d4c,this['_localCacheService']=_0x44ba50,this[_0x26bf34(0x21e)]=_0x32283b,this[_0x26bf34(0x268)]=_0x3d8300,this[_0x26bf34(0x1e9)]=_0x52c9b8,this[_0x26bf34(0x236)]=_0x154efb,this['_setupBeforeClosingHandler'](),this[_0x26bf34(0xda)]();}[_0x1bab9b(0x6e)](){const _0x11bdce=_0x1bab9b;this[_0x11bdce(0x27b)](this[_0x11bdce(0x2a4)][_0x11bdce(0x22c)](()=>{const _0x53e55d=_0x11bdce;if(this[_0x53e55d(0x78)]['saveTaskMap'][_0x53e55d(0x270)])return this[_0x53e55d(0x236)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1bab9b(0xda)](){const _0x1a4f40=_0x1bab9b;this[_0x1a4f40(0x27b)](this[_0x1a4f40(0x21e)][_0x1a4f40(0x14e)]['subscribe'](_0x4ec4c1=>{const _0x34feb8=_0x1a4f40;_0x4ec4c1['id']===u[_0x34feb8(0x1ed)]['OTHER_CLIENT_EDITING']&&this[_0x34feb8(0x268)][_0x34feb8(0x2b8)]({'type':D[_0x34feb8(0x156)][_0x34feb8(0x103)],'content':this[_0x34feb8(0x236)]['t']('collaboration.single-unit.warning')}),_0x4ec4c1['id']===u[_0x34feb8(0x1ed)][_0x34feb8(0x65)]&&this[_0x34feb8(0x268)]['show']({'type':D[_0x34feb8(0x156)][_0x34feb8(0x103)],'content':this[_0x34feb8(0x236)]['t'](_0x34feb8(0x285))}),_0x4ec4c1['id']===u[_0x34feb8(0x1ed)][_0x34feb8(0x144)]&&this[_0x34feb8(0x1e9)][_0x34feb8(0x2b8)]({'title':this[_0x34feb8(0x236)]['t'](_0x34feb8(0xc4)),'content':this[_0x34feb8(0x236)]['t'](_0x34feb8(0x1d8)),'type':'error','duration':0x0}),_0x4ec4c1['id']===u['CollaborationUIEventId'][_0x34feb8(0x1df)]&&this[_0x34feb8(0x268)][_0x34feb8(0x2b8)]({'type':D[_0x34feb8(0x156)]['Error'],'content':this[_0x34feb8(0x236)]['t'](_0x34feb8(0x285))+'('+_0x4ec4c1[_0x34feb8(0x294)]+')'}),_0x4ec4c1['id']===u[_0x34feb8(0x1ed)][_0x34feb8(0x27a)]&&this['_messageService'][_0x34feb8(0x2b8)]({'type':D[_0x34feb8(0x156)][_0x34feb8(0x103)],'content':this['_localeService']['t'](_0x4ec4c1[_0x34feb8(0x294)]||'')}),_0x4ec4c1['id']===u[_0x34feb8(0x1ed)][_0x34feb8(0x2b2)]&&this[_0x34feb8(0x268)][_0x34feb8(0x2b8)]({'type':D[_0x34feb8(0x156)][_0x34feb8(0x103)],'content':this[_0x34feb8(0x236)]['t'](_0x34feb8(0x275))}),_0x4ec4c1['id']===u[_0x34feb8(0x1ed)][_0x34feb8(0x1d2)]&&this[_0x34feb8(0x268)][_0x34feb8(0x2b8)]({'type':D['MessageType'][_0x34feb8(0x122)],'content':this[_0x34feb8(0x236)]['t'](_0x34feb8(0x166))}),_0x4ec4c1['id']===u[_0x34feb8(0x1ed)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x34feb8(0x268)]['show']({'type':D[_0x34feb8(0x156)][_0x34feb8(0x122)],'content':this[_0x34feb8(0x236)]['t'](_0x34feb8(0x10a))});}));}};q=xt([y(0x0,O[_0x1bab9b(0x7d)]),y(0x1,u[_0x1bab9b(0x187)]),y(0x2,a[_0x1bab9b(0xa6)](u[_0x1bab9b(0x2cf)])),y(0x3,O['IMessageService']),y(0x4,O['INotificationService']),y(0x5,a['Inject'](a[_0x1bab9b(0x223)]))],q);const Bt='collaboration-client-ui.config',De={};var jt=Object[_0x1bab9b(0x1b3)],kt=(_0x1856fd,_0x546c58,_0x55bd5b,_0x32be9e)=>{for(var _0x320b98=_0x32be9e>0x1?void 0x0:_0x32be9e?jt(_0x546c58,_0x55bd5b):_0x546c58,_0x25a440=_0x1856fd['length']-0x1,_0xb2c911;_0x25a440>=0x0;_0x25a440--)(_0xb2c911=_0x1856fd[_0x25a440])&&(_0x320b98=_0xb2c911(_0x320b98)||_0x320b98);return _0x320b98;},Ue=(_0x339054,_0x42caf5)=>(_0x48efa2,_0x19ca3e)=>_0x42caf5(_0x48efa2,_0x19ca3e,_0x339054);let z=class{constructor(_0x33f7c4,_0xbb9b2e){const _0x526362=_0x1bab9b;this[_0x526362(0x10f)]=_0x33f7c4,this['_renderManagerService']=_0xbb9b2e;}[_0x1bab9b(0x12a)](_0x3a5fb9){const _0x49fbf0=_0x1bab9b;this[_0x49fbf0(0x20b)](_0x3a5fb9),this['_transformPreviousActiveRange'](_0x3a5fb9);}['transformRemoteChangeset'](_0x4c4939){const _0x1f6ba9=_0x1bab9b,{unitID:_0x4144e8}=_0x4c4939,_0x2da92d=this[_0x1f6ba9(0x24d)][_0x1f6ba9(0xbb)](_0x4144e8)[_0x1f6ba9(0x1ca)](E['DocIMEInputManagerService']),{redoCache:_0x1fb5eb}=_0x2da92d[_0x1f6ba9(0x280)]();if(_0x1fb5eb[_0x1f6ba9(0xb0)]===0x0)return _0x4c4939;let _0x28a3c0=a[_0x1f6ba9(0x14a)]['deepClone'](_0x4c4939[_0x1f6ba9(0x131)][0x0]);for(let _0x30f661=0x0;_0x30f661<_0x1fb5eb['length'];_0x30f661++){const _0xa751={'id':_0x1f6ba9(0xf7),'params':{..._0x1fb5eb[_0x30f661]}},_0x112809=this['_transformService'][_0x1f6ba9(0x68)](_0x28a3c0,_0xa751,!0x1);if(m['isTransformMutationFailure'](_0x112809))throw _0x112809['error'];_0x28a3c0=_0x112809[_0x1f6ba9(0xa2)];}return{...a[_0x1f6ba9(0x14a)][_0x1f6ba9(0xa8)](_0x4c4939),'mutations':[_0x28a3c0]};}[_0x1bab9b(0x20b)](_0x384923){const _0x197810=_0x1bab9b,{unitID:_0x22574f}=_0x384923,_0x206154=this[_0x197810(0x24d)]['getRenderById'](_0x22574f)[_0x197810(0x1ca)](E[_0x197810(0xec)]),{undoCache:_0xd232c5,redoCache:_0x569eff}=_0x206154['getUndoRedoMutationParamsCache']();if(_0xd232c5['length']===0x0||_0x569eff[_0x197810(0xb0)]===0x0)return;const _0x1c286e=[],_0x44b755=[];let _0x33ea6a=a[_0x197810(0x14a)][_0x197810(0xa8)](_0x384923['mutations'][0x0]),_0x4ce82d=a['Tools'][_0x197810(0xa8)](_0x384923[_0x197810(0x131)][0x0]);for(let _0x388763=_0xd232c5['length']-0x1;_0x388763>=0x0;_0x388763--){const _0x3722da={'id':_0x197810(0xf7),'params':{..._0xd232c5[_0x388763]}},_0x232c31={'id':_0x197810(0xf7),'params':{..._0x569eff[_0x388763]}},_0x697110=this[_0x197810(0x10f)]['transformMutation'](_0x33ea6a,_0x3722da,!0x1),_0x24264f=this[_0x197810(0x10f)][_0x197810(0x68)](_0x4ce82d,_0x232c31,!0x1);if(m[_0x197810(0x100)](_0x697110))throw _0x697110[_0x197810(0x2e6)];if(m[_0x197810(0x100)](_0x24264f))throw _0x24264f[_0x197810(0x2e6)];_0x1c286e[_0x197810(0x19b)](_0x697110['m2Prime'][_0x197810(0x159)]),_0x44b755[_0x197810(0x19b)](_0x24264f[_0x197810(0x149)][_0x197810(0x159)]),_0x33ea6a=_0x697110[_0x197810(0xa2)],_0x4ce82d=_0x24264f[_0x197810(0xa2)];}_0x206154[_0x197810(0x292)]({'undoCache':_0x1c286e,'redoCache':_0x44b755});}[_0x1bab9b(0x2a3)](_0x4461c3){const _0x2b2e88=_0x1bab9b,{unitID:_0x1ba598}=_0x4461c3,_0x450df1=this[_0x2b2e88(0x24d)][_0x2b2e88(0xbb)](_0x1ba598)[_0x2b2e88(0x1ca)](E[_0x2b2e88(0xec)]),_0x77a1c1=_0x450df1[_0x2b2e88(0x13c)]();if(_0x77a1c1==null)return;const _0x219c8a=[{'id':_0x2b2e88(0xf7),'params':{'unitId':_0x4461c3['unitID'],'actions':null,'textRanges':[_0x77a1c1]}}],_0x528426=this[_0x2b2e88(0x10f)][_0x2b2e88(0x74)](_0x4461c3,_0x219c8a);if(!m['isTransformMutationsWithChangesetSuccess'](_0x528426))throw _0x528426[_0x2b2e88(0x2e6)];const _0x4f13eb=_0x528426[_0x2b2e88(0x149)][0x0][_0x2b2e88(0x159)]['textRanges'];Array[_0x2b2e88(0x202)](_0x4f13eb)&&_0x4f13eb[_0x2b2e88(0xb0)]&&_0x450df1[_0x2b2e88(0x267)](_0x4f13eb[0x0]);}};z=kt([Ue(0x0,m['ITransformService']),Ue(0x1,p[_0x1bab9b(0x160)])],z);var Ft=Object[_0x1bab9b(0x1b3)],Ht=(_0x4efbcf,_0x361a74,_0x38dae8,_0x52d828)=>{const _0x153dfe=_0x1bab9b;for(var _0x117524=_0x52d828>0x1?void 0x0:_0x52d828?Ft(_0x361a74,_0x38dae8):_0x361a74,_0x395f23=_0x4efbcf[_0x153dfe(0xb0)]-0x1,_0x5b385c;_0x395f23>=0x0;_0x395f23--)(_0x5b385c=_0x4efbcf[_0x395f23])&&(_0x117524=_0x5b385c(_0x117524)||_0x117524);return _0x117524;},ce=(_0x34aaad,_0x505455)=>(_0x1d1a64,_0xbbe4ef)=>_0x505455(_0x1d1a64,_0xbbe4ef,_0x34aaad);let J=class{constructor(_0x19d6db,_0x12be92,_0x484f64){const _0x17caf0=_0x1bab9b;this[_0x17caf0(0x281)]=_0x19d6db,this[_0x17caf0(0x10f)]=_0x12be92,this[_0x17caf0(0x98)]=_0x484f64;}[_0x1bab9b(0x2e8)](_0x1d6977){this['_transformHistoryAndStateStack'](_0x1d6977);}[_0x1bab9b(0x1e6)](_0x9cd12d){const _0x264753=_0x1bab9b,{unitID:_0x17251d}=_0x9cd12d,{collaboration:_0x492cc9}=this[_0x264753(0x98)][_0x264753(0x212)](_0x17251d);if(_0x492cc9[_0x264753(0xb0)]===0x0)return _0x9cd12d;let _0x26a592=a[_0x264753(0x14a)][_0x264753(0xa8)](_0x9cd12d[_0x264753(0x131)][0x0]);for(let _0x53596f=0x0;_0x53596f<_0x492cc9[_0x264753(0xb0)];_0x53596f++){const _0x2de550={'id':_0x264753(0xf7),'params':{'unitId':_0x492cc9[_0x53596f][_0x264753(0x1f3)],..._0x492cc9[_0x53596f][_0x264753(0x16a)]}},_0x17ca5e=this[_0x264753(0x10f)][_0x264753(0x68)](_0x26a592,_0x2de550,!0x1);if(m[_0x264753(0x100)](_0x17ca5e))throw _0x17ca5e[_0x264753(0x2e6)];_0x26a592=_0x17ca5e[_0x264753(0xa2)];}return{...a['Tools']['deepClone'](_0x9cd12d),'mutations':[_0x26a592]};}['_transformHistoryAndStateStack'](_0x222c8e){const _0x14d6a2=_0x1bab9b,{unitID:_0x362901}=_0x222c8e,{history:_0xdd750a,collaboration:_0xf06719}=this[_0x14d6a2(0x98)][_0x14d6a2(0x212)](_0x362901);if(_0xdd750a['length']===0x0&&_0xf06719['length']===0x0)return;const _0x32fbc2=[],_0xc44482=[];let _0x19de2c=a[_0x14d6a2(0x14a)]['deepClone'](_0x222c8e[_0x14d6a2(0x131)][0x0]),_0xf9e7de=a[_0x14d6a2(0x14a)][_0x14d6a2(0xa8)](_0x222c8e[_0x14d6a2(0x131)][0x0]);for(let _0x1ee00f=_0xdd750a[_0x14d6a2(0xb0)]-0x1;_0x1ee00f>=0x0;_0x1ee00f--){const _0x2ea35e={'id':_0x14d6a2(0xf7),'params':{'unitId':_0xdd750a[_0x1ee00f]['unitId'],..._0xdd750a[_0x1ee00f][_0x14d6a2(0x13e)]}},_0x478a42={'id':_0x14d6a2(0xf7),'params':{'unitId':_0xdd750a[_0x1ee00f][_0x14d6a2(0x1f3)],..._0xdd750a[_0x1ee00f][_0x14d6a2(0x16a)]}},_0x304ee7=this[_0x14d6a2(0x10f)]['transformMutation'](_0x19de2c,_0x2ea35e,!0x1),_0xa40118=this[_0x14d6a2(0x10f)][_0x14d6a2(0x68)](_0xf9e7de,_0x478a42,!0x1);if(m[_0x14d6a2(0x100)](_0x304ee7))throw _0x304ee7['error'];if(m['isTransformMutationFailure'](_0xa40118))throw _0xa40118[_0x14d6a2(0x2e6)];_0x32fbc2[_0x14d6a2(0x19b)]({..._0xdd750a[_0x1ee00f],'undoState':_0x304ee7['m2Prime']['params'],'redoState':_0xa40118[_0x14d6a2(0x149)][_0x14d6a2(0x159)]}),_0x19de2c=_0x304ee7[_0x14d6a2(0xa2)],_0xf9e7de=_0xa40118[_0x14d6a2(0xa2)];}_0x19de2c=a[_0x14d6a2(0x14a)]['deepClone'](_0x222c8e[_0x14d6a2(0x131)][0x0]),_0xf9e7de=a[_0x14d6a2(0x14a)][_0x14d6a2(0xa8)](_0x222c8e[_0x14d6a2(0x131)][0x0]);for(let _0xe89b8b=_0xf06719[_0x14d6a2(0xb0)]-0x1;_0xe89b8b>=0x0;_0xe89b8b--){const _0x38f009={'id':_0x14d6a2(0xf7),'params':{'unitId':_0xf06719[_0xe89b8b][_0x14d6a2(0x1f3)],..._0xf06719[_0xe89b8b][_0x14d6a2(0x13e)]}},_0x44bffc={'id':_0x14d6a2(0xf7),'params':{'unitId':_0xf06719[_0xe89b8b]['unitId'],..._0xf06719[_0xe89b8b][_0x14d6a2(0x16a)]}},_0x3b04c9=this[_0x14d6a2(0x10f)]['transformMutation'](_0x19de2c,_0x38f009,!0x1),_0x107619=this[_0x14d6a2(0x10f)][_0x14d6a2(0x68)](_0xf9e7de,_0x44bffc,!0x1);if(m['isTransformMutationFailure'](_0x3b04c9))throw _0x3b04c9['error'];if(m[_0x14d6a2(0x100)](_0x107619))throw _0x107619['error'];_0xc44482[_0x14d6a2(0x19b)]({..._0xf06719[_0xe89b8b],'undoState':_0x3b04c9[_0x14d6a2(0x149)][_0x14d6a2(0x159)],'redoState':_0x107619[_0x14d6a2(0x149)][_0x14d6a2(0x159)]}),_0x19de2c=_0x3b04c9[_0x14d6a2(0xa2)],_0xf9e7de=_0x107619[_0x14d6a2(0xa2)];}this[_0x14d6a2(0x98)]['setStateCache'](_0x362901,{'history':_0x32fbc2,'collaboration':_0xc44482});}};J=Ht([ce(0x0,a['Inject'](a['Injector'])),ce(0x1,m[_0x1bab9b(0x177)]),ce(0x2,a[_0x1bab9b(0xa6)](E[_0x1bab9b(0x29f)]))],J);var Yt=Object[_0x1bab9b(0x1b3)],Wt=(_0x1e478c,_0x2b2309,_0x3ba906,_0x902ee2)=>{const _0x437675=_0x1bab9b;for(var _0x4df1e5=_0x902ee2>0x1?void 0x0:_0x902ee2?Yt(_0x2b2309,_0x3ba906):_0x2b2309,_0x55f5cf=_0x1e478c[_0x437675(0xb0)]-0x1,_0x360eff;_0x55f5cf>=0x0;_0x55f5cf--)(_0x360eff=_0x1e478c[_0x55f5cf])&&(_0x4df1e5=_0x360eff(_0x4df1e5)||_0x4df1e5);return _0x4df1e5;},Ne=(_0x20399e,_0x2d61a1)=>(_0x1e2e0d,_0x2d1cfa)=>_0x2d61a1(_0x1e2e0d,_0x2d1cfa,_0x20399e);let Z=class{constructor(_0x37894c,_0x229e49){const _0x1f8243=_0x1bab9b;this[_0x1f8243(0x281)]=_0x37894c,this[_0x1f8243(0x10f)]=_0x229e49;}[_0x1bab9b(0x23c)](_0x18d2cc){const _0x3fa25a=_0x1bab9b;var _0x42eff5;const _0x245cf6=this[_0x3fa25a(0x281)][_0x3fa25a(0x1f0)](Y[_0x3fa25a(0x1b2)]),_0x5710aa=(_0x42eff5=_0x245cf6[_0x3fa25a(0x18a)]())!=null?_0x42eff5:[];if(_0x5710aa[_0x3fa25a(0xb0)]===0x0)return;const _0x2b8c53=_0x18d2cc[_0x3fa25a(0x117)],_0xb75fdd=[{'id':_0x3fa25a(0xf7),'params':{'unitId':_0x2b8c53,'actions':null,'textRanges':_0x5710aa}}],_0x50d10b=this['_transformService'][_0x3fa25a(0x74)](_0x18d2cc,_0xb75fdd);if(!m[_0x3fa25a(0x118)](_0x50d10b))throw _0x50d10b[_0x3fa25a(0x2e6)];const _0x5d7fce=_0x50d10b[_0x3fa25a(0x149)][0x0]['params'][_0x3fa25a(0x163)];Array[_0x3fa25a(0x202)](_0x5d7fce)&&_0x5d7fce['length']&&_0x245cf6[_0x3fa25a(0x153)](_0x5d7fce,{'unitId':_0x2b8c53,'subUnitId':_0x2b8c53},!0x1);}};Z=Wt([Ne(0x0,a[_0x1bab9b(0xa6)](a[_0x1bab9b(0x290)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x1bab9b(0x1b3)],Xt=(_0x24e1bf,_0x55d77a,_0x3df927,_0x28abf1)=>{for(var _0x500f61=_0x28abf1>0x1?void 0x0:_0x28abf1?Vt(_0x55d77a,_0x3df927):_0x55d77a,_0x4ac199=_0x24e1bf['length']-0x1,_0x1ccb44;_0x4ac199>=0x0;_0x4ac199--)(_0x1ccb44=_0x24e1bf[_0x4ac199])&&(_0x500f61=_0x1ccb44(_0x500f61)||_0x500f61);return _0x500f61;},N=(_0x1d24dc,_0x47fcf9)=>(_0x552282,_0x59b7b9)=>_0x47fcf9(_0x552282,_0x59b7b9,_0x1d24dc);let Q=class extends a['Disposable']{constructor(_0x55eb97,_0x729d8a,_0x797213,_0xabe12c,_0x2b3b02,_0x2af5e2,_0x3c44f2,_0xa0184b){const _0x40dec7=_0x1bab9b;super(),h(this,_0x40dec7(0x7c),new d[(_0x40dec7(0x1ce))](u[_0x40dec7(0x228)][_0x40dec7(0x126)])),(this[_0x40dec7(0x98)]=_0x55eb97,this[_0x40dec7(0x79)]=_0x729d8a,this[_0x40dec7(0x298)]=_0x797213,this[_0x40dec7(0xfb)]=_0xabe12c,this[_0x40dec7(0x140)]=_0x2b3b02,this[_0x40dec7(0x247)]=_0x2af5e2,this[_0x40dec7(0x268)]=_0x3c44f2,this['_localeService']=_0xa0184b,this[_0x40dec7(0x89)]());}[_0x1bab9b(0x89)](){const _0x40e1c7=_0x1bab9b;this[_0x40e1c7(0x27b)](this[_0x40e1c7(0x79)]['entityInit$'][_0x40e1c7(0x27c)](_0x2af726=>{const _0x24b21c=_0x40e1c7,_0xc48059=this[_0x24b21c(0x98)][_0x24b21c(0x245)]['subscribe'](_0x505dbe=>{const _0xe046b=_0x24b21c;if(_0x505dbe==null)return;const {unitId:_0x27a6cc,redoState:_0x3578a7,commandId:_0x108eea}=_0x505dbe;if(_0x27a6cc!==_0x2af726[_0xe046b(0x117)])return;const _0x2200bd={'id':_0x108eea,'type':a[_0xe046b(0x2e1)]['MUTATION'],'params':{'unitId':_0x27a6cc,'actions':_0x3578a7[_0xe046b(0x2c5)],'textRanges':null}};_0x2af726[_0xe046b(0xc1)](_0x2200bd);});if(_0x2af726[_0x24b21c(0x27b)](_0xc48059),_0x2af726 instanceof u['DocCollaborationEntity']){const _0x3619b6={'onTransformIME':_0x1cd573=>this[_0x24b21c(0x298)]['transformIMECache'](_0x1cd573),'onTransformState':_0x29fcaa=>this['_docTransformStateCacheService'][_0x24b21c(0x2e8)](_0x29fcaa),'onTransformSelections':_0x1d85cf=>this['_docTransformSelectionsService'][_0x24b21c(0x23c)](_0x1d85cf),'onSyncEditingCollabCursor':_0xd24890=>this['_docSyncEditingCollabCursorService'][_0x24b21c(0x6d)](_0xd24890),'onTransformRemoteChangesetByIMECache':_0x8b1bdd=>this[_0x24b21c(0x298)]['transformRemoteChangeset'](_0x8b1bdd),'onTransformRemoteChangesetByStateCache':_0x34a3da=>this[_0x24b21c(0xfb)][_0x24b21c(0x1e6)](_0x34a3da)};_0x2af726[_0x24b21c(0x1f5)](_0x3619b6);}}));}};Q=Xt([N(0x0,a[_0x1bab9b(0xa6)](E['DocStateChangeManagerService'])),N(0x1,a[_0x1bab9b(0xa6)](u['CollaborationController'])),N(0x2,a[_0x1bab9b(0xa6)](z)),N(0x3,a[_0x1bab9b(0xa6)](J)),N(0x4,a[_0x1bab9b(0xa6)](Z)),N(0x5,a[_0x1bab9b(0xa6)](pe)),N(0x6,O[_0x1bab9b(0x8c)]),N(0x7,a[_0x1bab9b(0xa6)](a[_0x1bab9b(0x223)]))],Q);var Gt=Object[_0x1bab9b(0x1b3)],Kt=(_0xad6adc,_0x5481fc,_0x3716f4,_0x215680)=>{for(var _0x43797f=_0x215680>0x1?void 0x0:_0x215680?Gt(_0x5481fc,_0x3716f4):_0x5481fc,_0x54c5b6=_0xad6adc['length']-0x1,_0x406d05;_0x54c5b6>=0x0;_0x54c5b6--)(_0x406d05=_0xad6adc[_0x54c5b6])&&(_0x43797f=_0x406d05(_0x43797f)||_0x43797f);return _0x43797f;},le=(_0x2bb5d8,_0x52d6ee)=>(_0x45b7f7,_0x4781ad)=>_0x52d6ee(_0x45b7f7,_0x4781ad,_0x2bb5d8);let ve=class extends a[_0x1bab9b(0x121)]{constructor(_0x3561e0,_0x2a1a92,_0x5eb4f3){const _0x517113=_0x1bab9b;super(),h(this,'_cachedData',new Map()),h(this,_0x517113(0x143),new Map()),h(this,'_disabled',!0x1),(this[_0x517113(0x22d)]=_0x3561e0,this[_0x517113(0x1ba)]=_0x2a1a92,this['_revisionService']=_0x5eb4f3);}[_0x1bab9b(0x167)](){const _0x1fd825=_0x1bab9b;this[_0x1fd825(0xd2)]=!0x0;}[_0x1bab9b(0x1d0)](){const _0x454bf5=_0x1bab9b;this[_0x454bf5(0xd2)]=!0x1;}get[_0x1bab9b(0x1a5)](){const _0x3461df=_0x1bab9b;return this[_0x3461df(0x143)];}['dispose'](){const _0x3d38c5=_0x1bab9b;this[_0x3d38c5(0xe7)]()[_0x3d38c5(0xe5)](()=>super['dispose']());}async['loadOfflineData'](_0x35ced4){const _0x55a44f=_0x1bab9b;return this[_0x55a44f(0xd2)]?null:this[_0x55a44f(0x1ba)][_0x55a44f(0x9e)](u['getLocalCacheKey'](_0x35ced4));}async[_0x1bab9b(0x28d)](_0x529ebb,_0x3b39de){const _0x3c2dd9=_0x1bab9b;return!!this[_0x3c2dd9(0x1ba)][_0x3c2dd9(0x20a)](_0x529ebb,_0x3b39de);}[_0x1bab9b(0x2d6)](_0x98ba74,_0x4b9706,_0x12fcbd,_0x1fcb02){const _0x42e145=_0x1bab9b,_0x5d7cb8=this['_revisionService'][_0x42e145(0x203)](_0x98ba74);this['_cachedData'][_0x42e145(0x2b6)](_0x98ba74,{'unitID':_0x98ba74,'type':_0x4b9706,'awaitingChangeset':_0x12fcbd,'mutations':_0x1fcb02,'rev':_0x5d7cb8}),this[_0x42e145(0x143)][_0x42e145(0xd3)](_0x98ba74)||this[_0x42e145(0x81)](_0x98ba74);}['_scheduleSaving'](_0x59203e){const _0x1d55d3=_0x1bab9b,_0x2fb67b=this[_0x1d55d3(0xa4)]();_0x2fb67b===0x0?this[_0x1d55d3(0xf5)](_0x59203e):this['_saveTaskMap']['set'](_0x59203e,setTimeout(()=>this['_saveCache'](_0x59203e),_0x2fb67b));}[_0x1bab9b(0xa4)](){const _0x5ba02a=_0x1bab9b;var _0x38d9fd;return(_0x38d9fd=this[_0x5ba02a(0x22d)][_0x5ba02a(0x1d3)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x38d9fd:u[_0x5ba02a(0x2a9)];}[_0x1bab9b(0xf5)](_0x264b42){const _0x33e588=_0x1bab9b,_0x140114=this[_0x33e588(0x143)][_0x33e588(0x1f0)](_0x264b42);return _0x140114!==void 0x0&&window[_0x33e588(0x259)](_0x140114),this[_0x33e588(0x1ba)][_0x33e588(0x20a)](u[_0x33e588(0x20c)](_0x264b42),this[_0x33e588(0x155)][_0x33e588(0x1f0)](_0x264b42))[_0x33e588(0xe5)](()=>this['_saveTaskMap']['delete'](_0x264b42));}async['exhaustSavingTask'](){const _0x533fa4=_0x1bab9b,_0x4d344b=[];this[_0x533fa4(0x143)]['forEach']((_0x59138d,_0x391c5b)=>{const _0x48795b=_0x533fa4;window[_0x48795b(0x259)](_0x59138d),_0x4d344b[_0x48795b(0xce)](this[_0x48795b(0xf5)](_0x391c5b)[_0x48795b(0xe5)](()=>{const _0x5a2894=_0x48795b;this[_0x5a2894(0x143)][_0x5a2894(0x162)](_0x391c5b);}));}),await Promise[_0x533fa4(0x258)](_0x4d344b);}};ve=Kt([le(0x0,a[_0x1bab9b(0x124)]),le(0x1,a[_0x1bab9b(0x265)]),le(0x2,a['Inject'](m['RevisionService']))],ve);class xe extends a[_0x1bab9b(0x2ce)]{constructor(){const _0x236105=_0x1bab9b;super(),h(this,_0x236105(0xfc)),this[_0x236105(0xfc)]=d['fromEvent'](window,_0x236105(0x1c2))[_0x236105(0x1c1)](d[_0x236105(0x16f)](this[_0x236105(0xf1)]),d[_0x236105(0x91)](0x1),d[_0x236105(0xb3)](void 0x0));}[_0x1bab9b(0x246)](_0x39b398,_0x3d32e4,_0x2e3666=!0x1){const _0x1b45e3=_0x1bab9b,_0x5b8962=new URL(window['location'][_0x1b45e3(0x266)]);_0x5b8962['searchParams'][_0x1b45e3(0x2b6)](_0x39b398,_0x3d32e4),_0x2e3666?window[_0x1b45e3(0x171)]['replaceState']('','',_0x5b8962[_0x1b45e3(0x1bf)]()):window['history']['pushState']('','',_0x5b8962[_0x1b45e3(0x1bf)]());}[_0x1bab9b(0x2cd)](_0x19b422,_0x3641a5=!0x1){const _0x5099ab=_0x1bab9b,_0x26221e=new URL(window[_0x5099ab(0x196)][_0x5099ab(0x266)]);_0x26221e[_0x5099ab(0x106)][_0x5099ab(0x162)](_0x19b422),_0x3641a5?window[_0x5099ab(0x171)][_0x5099ab(0x1a1)]('','',_0x26221e[_0x5099ab(0x1bf)]()):window['history'][_0x5099ab(0x2d7)]('','',_0x26221e[_0x5099ab(0x1bf)]());}['getParam'](_0x1e412d){const _0x931ef0=_0x1bab9b;var _0x1bf455;return(_0x1bf455=new URL(window[_0x931ef0(0x196)][_0x931ef0(0x266)])[_0x931ef0(0x106)][_0x931ef0(0x1f0)](_0x1e412d))!=null?_0x1bf455:void 0x0;}}var qt=Object[_0x1bab9b(0x115)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x18cad2,_0x1d556c,_0x37a419)=>_0x1d556c in _0x18cad2?qt(_0x18cad2,_0x1d556c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37a419}):_0x18cad2[_0x1d556c]=_0x37a419,Zt=(_0x5b2a63,_0x58644d,_0x849985,_0x1cec60)=>{const _0x275037=_0x1bab9b;for(var _0x29e19e=_0x1cec60>0x1?void 0x0:_0x1cec60?zt(_0x58644d,_0x849985):_0x58644d,_0x5c2b44=_0x5b2a63[_0x275037(0xb0)]-0x1,_0x36d82f;_0x5c2b44>=0x0;_0x5c2b44--)(_0x36d82f=_0x5b2a63[_0x5c2b44])&&(_0x29e19e=_0x36d82f(_0x29e19e)||_0x29e19e);return _0x29e19e;},_e=(_0x23220a,_0x300233)=>(_0x1e313b,_0x30854f)=>_0x300233(_0x1e313b,_0x30854f,_0x23220a),Qt=(_0x333c31,_0x24eeb6,_0x51cdf6)=>Jt(_0x333c31,_0x24eeb6+'',_0x51cdf6);const es=_0x1bab9b(0x260);exports[_0x1bab9b(0x1cb)]=class extends a[_0x1bab9b(0x130)]{constructor(_0x58edc1=De,_0x494536,_0x5e2a20,_0x53390a){const _0x17625f=_0x1bab9b;super(),this[_0x17625f(0x199)]=_0x58edc1,this[_0x17625f(0x24d)]=_0x494536,this[_0x17625f(0x281)]=_0x5e2a20,this[_0x17625f(0x22d)]=_0x53390a;const {..._0x2ac475}=a[_0x17625f(0x23e)]({},De,this[_0x17625f(0x199)]);this[_0x17625f(0x22d)][_0x17625f(0xd6)](Bt,_0x2ac475);}[_0x1bab9b(0x10d)](){const _0x54a2b5=_0x1bab9b;this[_0x54a2b5(0x26b)](),this[_0x54a2b5(0x123)]();}[_0x1bab9b(0x190)](){const _0x35ccf9=_0x1bab9b;this[_0x35ccf9(0x183)]();}[_0x1bab9b(0x26b)](){const _0x57ba9a=_0x1bab9b;var _0x30f0ed;const _0x13129f=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K['ISocketService'],{'useClass':K['WebSocketService']}],[u[_0x57ba9a(0x187)],{'useClass':ve}],[exports[_0x57ba9a(0x2c2)]],[Q],[q],[x],[ue],[exports[_0x57ba9a(0x22a)]]];a[_0x57ba9a(0x1ae)](this[_0x57ba9a(0x281)],a['mergeOverrideWithDependencies'](_0x13129f,(_0x30f0ed=this[_0x57ba9a(0x199)])==null?void 0x0:_0x30f0ed['override']));}[_0x1bab9b(0x183)](){const _0x54ed35=_0x1bab9b;this['disposeWithMe'](this[_0x54ed35(0x24d)][_0x54ed35(0x1e5)](a[_0x54ed35(0x158)][_0x54ed35(0x21d)],[fe])),this[_0x54ed35(0x27b)](this[_0x54ed35(0x24d)]['registerRenderModule'](a['UniverInstanceType'][_0x54ed35(0xf2)],[Ie]));}['_initDependencies'](){const _0x500a79=_0x1bab9b;a[_0x500a79(0x2ad)](this[_0x500a79(0x281)],[[x],[exports[_0x500a79(0x2c2)]],[Q],[q],[exports[_0x500a79(0x22a)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x1bab9b(0x2c0),es),exports[_0x1bab9b(0x1cb)]=Zt([a['DependentOn'](u[_0x1bab9b(0x24e)]),_e(0x1,p[_0x1bab9b(0x160)]),_e(0x2,a['Inject'](a[_0x1bab9b(0x290)])),_e(0x3,a[_0x1bab9b(0x124)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x1bab9b(0x1b3)],ss=(_0x5a7efb,_0x2f97cd,_0x210196,_0x5e3844)=>{const _0x57c39f=_0x1bab9b;for(var _0x2cfd8a=_0x5e3844>0x1?void 0x0:_0x5e3844?ts(_0x2f97cd,_0x210196):_0x2f97cd,_0x33072d=_0x5a7efb[_0x57c39f(0xb0)]-0x1,_0x5f429a;_0x33072d>=0x0;_0x33072d--)(_0x5f429a=_0x5a7efb[_0x33072d])&&(_0x2cfd8a=_0x5f429a(_0x2cfd8a)||_0x2cfd8a);return _0x2cfd8a;},H=(_0x326a84,_0x1576f3)=>(_0x383092,_0x1e6066)=>_0x1576f3(_0x383092,_0x1e6066,_0x326a84);exports['BrowserCollaborationSocketService']=class extends u[_0x1bab9b(0x21a)]{constructor(_0x24a440,_0x1f329a,_0x8dd1f3,_0xe34b83,_0x4111f5){super(_0x24a440,_0x1f329a,_0x8dd1f3,_0xe34b83,_0x4111f5);}async[_0x1bab9b(0x172)](_0x279d1f){const _0x50aa55=_0x1bab9b,_0x4267b1=await this['_getSessionTicket'](),_0x4425cb=this['_createSocketURL'](_0x279d1f,_0x4267b1);return this[_0x50aa55(0x14f)](_0x4425cb);}['_createSocketURL'](_0x3ca938,_0x5a55d7){const _0x29edc0=_0x1bab9b,_0x2a4961=typeof window>'u'?new URL(_0x3ca938):new URL(_0x3ca938,window[_0x29edc0(0x196)]['origin']);_0x2a4961[_0x29edc0(0x106)][_0x29edc0(0x2b6)](_0x29edc0(0x2da),_0x5a55d7);const _0x236d72=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x29edc0(0x196)][_0x29edc0(0x29d)]);return _0x236d72['get']('runId')&&_0x2a4961['searchParams'][_0x29edc0(0x2b6)]('runId',_0x236d72[_0x29edc0(0x1f0)](_0x29edc0(0xbc))),_0x2a4961[_0x29edc0(0x1bf)]();}async[_0x1bab9b(0x2c3)](){const _0x5f2397=_0x1bab9b;var _0x12dc6a,_0x6f2a8,_0x1627db;const _0x19a674=this[_0x5f2397(0x22d)]['getConfig'](u[_0x5f2397(0x113)]),_0x3e8174=(_0x12dc6a=_0x19a674==null?void 0x0:_0x19a674[_0x5f2397(0x9a)])!=null?_0x12dc6a:u[_0x5f2397(0xb5)];return(_0x1627db=(_0x6f2a8=(await this[_0x5f2397(0x8a)]['get'](_0x3e8174,{'headers':{'Content-Type':'application/json'}}))[_0x5f2397(0x145)])==null?void 0x0:_0x6f2a8[_0x5f2397(0x1fd)])!=null?_0x1627db:'';}},exports[_0x1bab9b(0xe4)]=ss([H(0x0,a[_0x1bab9b(0xa6)](a[_0x1bab9b(0x290)])),H(0x1,a['Inject'](K[_0x1bab9b(0x197)])),H(0x2,a[_0x1bab9b(0x124)]),H(0x3,a['ILogService']),H(0x4,m['ISnapshotServerService'])],exports[_0x1bab9b(0xe4)]);var Be=(_0x3897c2=>(_0x3897c2[_0x3897c2[_0x1bab9b(0xdf)]=0x0]=_0x1bab9b(0xdf),_0x3897c2[_0x3897c2['OK']=0x1]='OK',_0x3897c2[_0x3897c2[_0x1bab9b(0xcb)]=0x2]=_0x1bab9b(0xcb),_0x3897c2[_0x3897c2[_0x1bab9b(0x144)]=0x3]=_0x1bab9b(0x144),_0x3897c2[_0x3897c2[_0x1bab9b(0x12c)]=0x4]=_0x1bab9b(0x12c),_0x3897c2[_0x3897c2[_0x1bab9b(0x6b)]=0x5]='UNAUTHENTICATED',_0x3897c2[_0x3897c2[_0x1bab9b(0x24f)]=0x6]='ALREADY_EXISTS',_0x3897c2[_0x3897c2[_0x1bab9b(0x175)]=0x7]='INVALID_ARGUMENT',_0x3897c2[_0x3897c2[_0x1bab9b(0x2b1)]=0x8]=_0x1bab9b(0x2b1),_0x3897c2[_0x3897c2[_0x1bab9b(0x28b)]=0x9]=_0x1bab9b(0x28b),_0x3897c2[_0x3897c2[_0x1bab9b(0x1f7)]=0xa]=_0x1bab9b(0x1f7),_0x3897c2[_0x3897c2[_0x1bab9b(0x146)]=0xb]=_0x1bab9b(0x146),_0x3897c2[_0x3897c2[_0x1bab9b(0xc9)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3897c2[_0x3897c2[_0x1bab9b(0x2a1)]=0xd]=_0x1bab9b(0x2a1),_0x3897c2[_0x3897c2[_0x1bab9b(0x15f)]=0xe]=_0x1bab9b(0x15f),_0x3897c2[_0x3897c2[_0x1bab9b(0x279)]=0x1389]=_0x1bab9b(0x279),_0x3897c2[_0x3897c2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1bab9b(0x1d9),_0x3897c2[_0x3897c2[_0x1bab9b(0xe3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3897c2[_0x3897c2[_0x1bab9b(0x19c)]=0x1773]=_0x1bab9b(0x19c),_0x3897c2[_0x3897c2[_0x1bab9b(0x1a4)]=0x1b59]='APPLY_REJECT',_0x3897c2[_0x3897c2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1bab9b(0x7b),_0x3897c2[_0x3897c2[_0x1bab9b(0x2e4)]=0x1b5b]=_0x1bab9b(0x2e4),_0x3897c2[_0x3897c2[_0x1bab9b(0x90)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3897c2[_0x3897c2[_0x1bab9b(0x17d)]=0x1b5d]=_0x1bab9b(0x17d),_0x3897c2[_0x3897c2[_0x1bab9b(0x28f)]=0x1f41]=_0x1bab9b(0x28f),_0x3897c2[_0x3897c2[_0x1bab9b(0x9d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3897c2[_0x3897c2[_0x1bab9b(0x2ab)]=0x232a]=_0x1bab9b(0x2ab),_0x3897c2[_0x3897c2[_0x1bab9b(0x1fc)]=0x232b]=_0x1bab9b(0x1fc),_0x3897c2[_0x3897c2[_0x1bab9b(0x15d)]=0x232c]=_0x1bab9b(0x15d),_0x3897c2[_0x3897c2[_0x1bab9b(0x278)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3897c2[_0x3897c2[_0x1bab9b(0x13b)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3897c2[_0x3897c2[_0x1bab9b(0x2ae)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3897c2[_0x3897c2[_0x1bab9b(0x243)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3897c2[_0x3897c2[_0x1bab9b(0x28a)]=0x2714]=_0x1bab9b(0x28a),_0x3897c2[_0x3897c2['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1bab9b(0xef),_0x3897c2[_0x3897c2[_0x1bab9b(0x2e7)]=0x271b]=_0x1bab9b(0x2e7),_0x3897c2[_0x3897c2[_0x1bab9b(0x24a)]=0x271c]=_0x1bab9b(0x24a),_0x3897c2[_0x3897c2[_0x1bab9b(0x1c3)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3897c2[_0x3897c2[_0x1bab9b(0x1bb)]=0x271e]=_0x1bab9b(0x1bb),_0x3897c2[_0x3897c2['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1bab9b(0xbe),_0x3897c2[_0x3897c2[_0x1bab9b(0x2d5)]=0x2720]=_0x1bab9b(0x2d5),_0x3897c2[_0x3897c2[_0x1bab9b(0x1f1)]=0x2af9]=_0x1bab9b(0x1f1),_0x3897c2[_0x3897c2[_0x1bab9b(0xaf)]=0x2ee1]=_0x1bab9b(0xaf),_0x3897c2[_0x3897c2[_0x1bab9b(0x11b)]=0x2ee2]='INVALID_INVITE_CODE',_0x3897c2[_0x3897c2[_0x1bab9b(0x198)]=0x2ee3]=_0x1bab9b(0x198),_0x3897c2[_0x3897c2[_0x1bab9b(0x295)]=0x2ee4]=_0x1bab9b(0x295),_0x3897c2[_0x3897c2[_0x1bab9b(0x2bd)]=0x2ee5]=_0x1bab9b(0x2bd),_0x3897c2[_0x3897c2[_0x1bab9b(0x299)]=0x32c9]=_0x1bab9b(0x299),_0x3897c2[_0x3897c2[_0x1bab9b(0xc6)]=0x32ca]=_0x1bab9b(0xc6),_0x3897c2[_0x3897c2[_0x1bab9b(0x2a0)]=0x32cb]=_0x1bab9b(0x2a0),_0x3897c2[_0x3897c2[_0x1bab9b(0x135)]=-0x1]='UNRECOGNIZED',_0x3897c2))(Be||{}),is=Object[_0x1bab9b(0x1b3)],ns=(_0x2be9ae,_0x79550e,_0x451efb,_0x35727d)=>{for(var _0x176ddd=_0x35727d>0x1?void 0x0:_0x35727d?is(_0x79550e,_0x451efb):_0x79550e,_0x65c069=_0x2be9ae['length']-0x1,_0x34d1c8;_0x65c069>=0x0;_0x65c069--)(_0x34d1c8=_0x2be9ae[_0x65c069])&&(_0x176ddd=_0x34d1c8(_0x176ddd)||_0x176ddd);return _0x176ddd;},he=(_0x2ea9be,_0xad54a5)=>(_0x34e439,_0x1fb917)=>_0xad54a5(_0x34e439,_0x1fb917,_0x2ea9be);exports[_0x1bab9b(0xe1)]=class extends a[_0x1bab9b(0x121)]{constructor(_0x2fb21f,_0x5ef986,_0x249612){const _0x4b4ea6=_0x1bab9b;super(),this[_0x4b4ea6(0xfa)]=_0x2fb21f,this[_0x4b4ea6(0x8a)]=_0x5ef986,this[_0x4b4ea6(0x22d)]=_0x249612;}async[_0x1bab9b(0x148)](_0x3c8e25,_0x5a6d65,_0x522c42,..._0x32bba0){const _0x2fc492=_0x1bab9b;var _0x2f5294,_0x12b0b9,_0x310b79,_0x1d34a6;const _0x46a7d9=this[_0x2fc492(0xfa)][_0x2fc492(0x23b)]();if(!_0x46a7d9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2ec445=((_0x2f5294=this[_0x2fc492(0x22d)]['getConfig'](u[_0x2fc492(0x2bf)]))!=null?_0x2f5294:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3c8e25+_0x2fc492(0xde)+_0x5a6d65,_0x408a5e=new URL(window['location'][_0x2fc492(0x266)]),_0x271341={'scriptId':_0x3c8e25,'runId':(_0x12b0b9=_0x408a5e[_0x2fc492(0x106)][_0x2fc492(0x1f0)]('runId'))!=null?_0x12b0b9:'','function':_0x5a6d65,'unitId':_0x46a7d9[_0x2fc492(0x83)](),'argsOfFunction':JSON[_0x2fc492(0x276)](_0x32bba0),'invokeId':(_0x310b79=_0x522c42[_0x2fc492(0x2c4)])!=null?_0x310b79:'','executionId':(_0x1d34a6=_0x522c42[_0x2fc492(0x16b)])!=null?_0x1d34a6:''};try{const _0x3d548f=await this[_0x2fc492(0x8a)][_0x2fc492(0x96)](_0x2ec445,{'body':_0x271341});return _0x3d548f['body'][_0x2fc492(0x2e6)]&&_0x3d548f[_0x2fc492(0x145)][_0x2fc492(0x2e6)][_0x2fc492(0xab)]!==Be['OK']?_0x2fc492(0x1ea):_0x3d548f[_0x2fc492(0x145)][_0x2fc492(0x25f)];}catch{return _0x2fc492(0x1ea);}}},exports['RemoteUniscriptService']=ns([he(0x0,a['IUniverInstanceService']),he(0x1,a[_0x1bab9b(0xa6)](K[_0x1bab9b(0x197)])),he(0x2,a[_0x1bab9b(0x124)])],exports['RemoteUniscriptService']);const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class rs extends a[_0x1bab9b(0x121)]{constructor(){const _0x16e928=_0x1bab9b;super(),h(this,_0x16e928(0x194),a[_0x16e928(0x239)]()),h(this,_0x16e928(0x1a6),new Set()),h(this,_0x16e928(0xf8),new Map()),h(this,'_heartbeatTimer',null),h(this,_0x16e928(0x184),new Map()),h(this,_0x16e928(0x2a6),new Map()),this[_0x16e928(0xe0)]();}['dispose'](){const _0xf4f86c=_0x1bab9b;super[_0xf4f86c(0x19d)](),this[_0xf4f86c(0x184)][_0xf4f86c(0x2b4)]((_0x47c5c9,_0x105917)=>this[_0xf4f86c(0x251)](_0x105917)),this[_0xf4f86c(0xaa)]&&window['clearInterval'](this[_0xf4f86c(0xaa)]);}[_0x1bab9b(0x10b)](_0x423e5f){const _0x21a3af=_0x1bab9b;return this['_ensureSubject'](_0x423e5f)[_0x21a3af(0x1c1)](d[_0x21a3af(0x142)]());}[_0x1bab9b(0x137)](_0x2bf927){const _0x5ebd6b=_0x1bab9b;this[_0x5ebd6b(0x1a6)]['size']===0x0&&this[_0x5ebd6b(0x1ff)](),this['_selfUnitIDs'][_0x5ebd6b(0xac)](_0x2bf927),this['_send']({'type':0x0,'memberID':this[_0x5ebd6b(0x194)],'unitIDs':[_0x2bf927],'isForwarded':!0x1});}[_0x1bab9b(0x1d1)](_0x43711e){const _0x810254=_0x1bab9b;this[_0x810254(0x1a6)][_0x810254(0x162)](_0x43711e),this['_selfUnitIDs']['size']===0x0&&this[_0x810254(0xaa)]&&window['clearInterval'](this[_0x810254(0xaa)]);}['_init'](){const _0x537b9d=_0x1bab9b;this[_0x537b9d(0x27b)](a[_0x537b9d(0x2be)](d[_0x537b9d(0x240)](window,_0x537b9d(0x2a2))['subscribe'](_0x360947=>{const _0x4eb645=_0x537b9d;if(_0x360947[_0x4eb645(0x176)]!==Le||!_0x360947[_0x4eb645(0x1e7)])return;const _0x4444b3=JSON['parse'](_0x360947[_0x4eb645(0x1e7)]);this[_0x4eb645(0x195)](_0x4444b3);}))),window[_0x537b9d(0x188)](_0x537b9d(0xf6),()=>this[_0x537b9d(0x180)]({'type':0x1,'memberID':this[_0x537b9d(0x194)],'unitIDs':Array[_0x537b9d(0x257)](this[_0x537b9d(0x1a6)])}));}[_0x1bab9b(0x195)](_0x4b3cb3){const _0x5a6a68=_0x1bab9b;switch(_0x4b3cb3[_0x5a6a68(0x1c0)]){case 0x0:this['_handleJoinEvent'](_0x4b3cb3);break;case 0x1:this[_0x5a6a68(0x284)](_0x4b3cb3);break;case 0x2:this['_handleHeartbeatEvent'](_0x4b3cb3);break;}}[_0x1bab9b(0x29a)](_0x5684bd){const _0x21ad40=_0x1bab9b,{unitIDs:_0x1ebfb8,memberID:_0x5437ec,isForwarded:_0x326cca}=_0x5684bd;_0x1ebfb8[_0x21ad40(0x2b4)](_0x4bf761=>{const _0x145832=_0x21ad40;if(!_0x326cca&&this[_0x145832(0xf8)]['has'](_0x4bf761)&&this[_0x145832(0x1cf)](_0x4bf761)['next'](u[_0x145832(0x7e)][_0x145832(0xc3)]),!this['_unitOnClients'][_0x145832(0xd3)](_0x4bf761)||!this[_0x145832(0xf8)][_0x145832(0x1f0)](_0x4bf761)[_0x145832(0xd3)](_0x5437ec)){const _0x489912=this['_unitOnClients'][_0x145832(0x1f0)](_0x4bf761)||new Set();_0x489912[_0x145832(0xac)](_0x5437ec),this['_unitOnClients'][_0x145832(0x2b6)](_0x4bf761,_0x489912),this[_0x145832(0x1be)](_0x5437ec);}}),_0x326cca||this['_send']({'type':0x0,'memberID':this[_0x21ad40(0x194)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1bab9b(0x1be)](_0x3a00ad){const _0x1279c1=_0x1bab9b;this[_0x1279c1(0x251)](_0x3a00ad);const _0x44fcbe=window[_0x1279c1(0xc7)](()=>{const _0x10ea2a=_0x1279c1;this[_0x10ea2a(0xf8)][_0x10ea2a(0x2b4)](_0x1d45fe=>{const _0x46c53f=_0x10ea2a;_0x1d45fe[_0x46c53f(0x162)](_0x3a00ad);});},Me*0x2);this['_clearOtherTimers']['set'](_0x3a00ad,_0x44fcbe);}[_0x1bab9b(0x251)](_0x543696){const _0x4c826a=_0x1bab9b;if(this[_0x4c826a(0x184)]['has'](_0x543696)){const _0x358742=this[_0x4c826a(0x184)][_0x4c826a(0x1f0)](_0x543696);_0x358742&&window['clearTimeout'](_0x358742),this[_0x4c826a(0x184)][_0x4c826a(0x2b6)](_0x543696,null);}}[_0x1bab9b(0x284)](_0x49fd83){const _0x509463=_0x1bab9b,{memberID:_0x4e0d21,unitIDs:_0x2aff9e}=_0x49fd83;_0x2aff9e[_0x509463(0x2b4)](_0xa09587=>{const _0x2b9225=_0x509463;var _0x245608;const _0x348241=this[_0x2b9225(0xf8)][_0x2b9225(0x1f0)](_0xa09587);_0x348241&&(_0x348241['delete'](_0x4e0d21),(_0x245608=this[_0x2b9225(0x1cf)](_0xa09587))==null||_0x245608['next'](_0x348241[_0x2b9225(0x270)]===0x0?u[_0x2b9225(0x7e)]['NO_OTHER_CLIENTS_EDITING']:u[_0x2b9225(0x7e)][_0x2b9225(0xc3)]));}),this[_0x509463(0x251)](_0x4e0d21);}['_handleHeartbeatEvent'](_0x3825b3){const _0x2af436=_0x1bab9b;this[_0x2af436(0x1be)](_0x3825b3['memberID']);}['_send'](_0x22a036){const _0x3b8303=_0x1bab9b;localStorage[_0x3b8303(0x20a)](Le,JSON[_0x3b8303(0x276)](_0x22a036));}['_scheduleHeartbeat'](){const _0x1991fe=_0x1bab9b;this[_0x1991fe(0xaa)]=window['setInterval'](()=>{const _0x10095a=_0x1991fe;this['_send']({'type':0x2,'memberID':this[_0x10095a(0x194)]});},Me);}['_ensureSubject'](_0x509cd4){const _0x3e0fc2=_0x1bab9b;return this['_unitStatus']['has'](_0x509cd4)||this[_0x3e0fc2(0x2a6)][_0x3e0fc2(0x2b6)](_0x509cd4,new d[(_0x3e0fc2(0x1ce))](u[_0x3e0fc2(0x7e)][_0x3e0fc2(0x271)])),this['_unitStatus'][_0x3e0fc2(0x1f0)](_0x509cd4);}}exports[_0x1bab9b(0x28c)]=me,exports['SheetCollabCursorShape']=$e,exports[_0x1bab9b(0x289)]=rs,exports[_0x1bab9b(0x17b)]=xe;
1
+ 'use strict';const _0x12d636=_0x2c71;(function(_0xf755b4,_0x10c5b6){const _0x333846=_0x2c71,_0x307956=_0xf755b4();while(!![]){try{const _0x22a8a4=-parseInt(_0x333846(0x1d0))/0x1+-parseInt(_0x333846(0x2ee))/0x2*(-parseInt(_0x333846(0x2f1))/0x3)+-parseInt(_0x333846(0x338))/0x4*(parseInt(_0x333846(0x327))/0x5)+parseInt(_0x333846(0x324))/0x6*(parseInt(_0x333846(0x284))/0x7)+parseInt(_0x333846(0x3a7))/0x8+-parseInt(_0x333846(0x332))/0x9+parseInt(_0x333846(0x255))/0xa*(parseInt(_0x333846(0x350))/0xb);if(_0x22a8a4===_0x10c5b6)break;else _0x307956['push'](_0x307956['shift']());}catch(_0x3b9169){_0x307956['push'](_0x307956['shift']());}}}(_0x228f,0x408e3));var We=Object[_0x12d636(0x234)],Ve=(_0x5d21f3,_0x259ccd,_0x101980)=>_0x259ccd in _0x5d21f3?We(_0x5d21f3,_0x259ccd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x101980}):_0x5d21f3[_0x259ccd]=_0x101980,h=(_0x17d7c4,_0x18fbfe,_0x4355aa)=>Ve(_0x17d7c4,typeof _0x18fbfe!='symbol'?_0x18fbfe+'':_0x18fbfe,_0x4355aa);Object[_0x12d636(0x234)](exports,Symbol['toStringTag'],{'value':_0x12d636(0x3b1)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){return b=Object['assign']||function(_0x291cff){const _0xf36de8=_0x2c71;for(var _0x1b7df5,_0x4aec92=0x1,_0x687020=arguments[_0xf36de8(0x268)];_0x4aec92<_0x687020;_0x4aec92++){_0x1b7df5=arguments[_0x4aec92];for(var _0x5aa4b1 in _0x1b7df5)Object[_0xf36de8(0x2d2)][_0xf36de8(0x2ac)][_0xf36de8(0x3a0)](_0x1b7df5,_0x5aa4b1)&&(_0x291cff[_0x5aa4b1]=_0x1b7df5[_0x5aa4b1]);}return _0x291cff;},b['apply'](this,arguments);},Ke=function(_0xf51117,_0x5c6c87){const _0x19934b=_0x12d636;var _0x562ad9={};for(var _0x37fff5 in _0xf51117)Object[_0x19934b(0x2d2)][_0x19934b(0x2ac)][_0x19934b(0x3a0)](_0xf51117,_0x37fff5)&&_0x5c6c87[_0x19934b(0x219)](_0x37fff5)<0x0&&(_0x562ad9[_0x37fff5]=_0xf51117[_0x37fff5]);if(_0xf51117!=null&&typeof Object[_0x19934b(0x28f)]==_0x19934b(0x366)){for(var _0x24d159=0x0,_0x37fff5=Object[_0x19934b(0x28f)](_0xf51117);_0x24d159<_0x37fff5[_0x19934b(0x268)];_0x24d159++)_0x5c6c87['indexOf'](_0x37fff5[_0x24d159])<0x0&&Object[_0x19934b(0x2d2)][_0x19934b(0x1ee)][_0x19934b(0x3a0)](_0xf51117,_0x37fff5[_0x24d159])&&(_0x562ad9[_0x37fff5[_0x24d159]]=_0xf51117[_0x37fff5[_0x24d159]]);}return _0x562ad9;},ge=M[_0x12d636(0x23b)](function(_0x2f730f,_0x15ec32){const _0x52de90=_0x12d636;var _0x377aa4=_0x2f730f[_0x52de90(0x264)],_0x395f30=_0x2f730f['id'],_0x32f832=_0x2f730f[_0x52de90(0x2a2)],_0x1fb03d=_0x2f730f[_0x52de90(0x28e)],_0x273e1f=Ke(_0x2f730f,['icon','id',_0x52de90(0x2a2),'extend']),_0x36bad2=_0x52de90(0x2be)[_0x52de90(0x143)](_0x395f30,'\x20')['concat'](_0x32f832||'')['trim'](),_0x9a1d44=M[_0x52de90(0x13f)]('_'[_0x52de90(0x143)](Je()));return Pe(_0x377aa4,''[_0x52de90(0x143)](_0x395f30),{'defIds':_0x377aa4[_0x52de90(0x329)],'idSuffix':_0x9a1d44[_0x52de90(0x1eb)]},b({'ref':_0x15ec32,'className':_0x36bad2},_0x273e1f),_0x1fb03d);});function Pe(_0x5869ad,_0x3c07ea,_0x55b64c,_0xbac506,_0x376ec1){const _0x459cf2=_0x12d636;return M[_0x459cf2(0x195)](_0x5869ad[_0x459cf2(0x14e)],b(b({'key':_0x3c07ea},qe(_0x5869ad,_0x55b64c,_0x376ec1)),_0xbac506),(ze(_0x5869ad,_0x55b64c)[_0x459cf2(0x1cb)]||[])[_0x459cf2(0x155)](function(_0x4a581e,_0x5c2571){const _0x22b59a=_0x459cf2;return Pe(_0x4a581e,''[_0x22b59a(0x143)](_0x3c07ea,'-')[_0x22b59a(0x143)](_0x5869ad[_0x22b59a(0x14e)],'-')[_0x22b59a(0x143)](_0x5c2571),_0x55b64c,void 0x0,_0x376ec1);}));}function qe(_0x38ed3c,_0x15ccb6,_0xe8f118){const _0x339470=_0x12d636;var _0x1ca9f3=b({},_0x38ed3c[_0x339470(0x371)]);_0xe8f118!=null&&_0xe8f118[_0x339470(0x354)]&&_0x1ca9f3[_0x339470(0x23a)]===_0x339470(0x354)&&(_0x1ca9f3[_0x339470(0x23a)]=_0xe8f118[_0x339470(0x354)]),_0x38ed3c['tag']===_0x339470(0x2eb)&&_0x1ca9f3['id']&&(_0x1ca9f3['id']=_0x1ca9f3['id']+_0x15ccb6[_0x339470(0x13e)]),Object[_0x339470(0x135)](_0x1ca9f3)[_0x339470(0x266)](function(_0x51e3f8){const _0x3b8759=_0x339470;var _0x13af67=_0x51e3f8[0x0],_0x33af08=_0x51e3f8[0x1];_0x13af67==='mask'&&typeof _0x33af08==_0x3b8759(0x174)&&(_0x1ca9f3[_0x13af67]=_0x33af08['replace'](/url\(#(.*)\)/,_0x3b8759(0x192)['concat'](_0x15ccb6['idSuffix'],')')));});var _0x150860=_0x15ccb6[_0x339470(0x329)];return!_0x150860||_0x150860[_0x339470(0x268)]===0x0||(_0x38ed3c[_0x339470(0x14e)]===_0x339470(0x1a5)&&_0x1ca9f3[_0x339470(0x180)]&&(_0x1ca9f3[_0x339470(0x180)]=_0x1ca9f3[_0x339470(0x180)]+_0x15ccb6[_0x339470(0x13e)]),Object[_0x339470(0x135)](_0x1ca9f3)[_0x339470(0x266)](function(_0x5371d5){const _0x1fd238=_0x339470;var _0x4f8040=_0x5371d5[0x0],_0x4537ca=_0x5371d5[0x1];typeof _0x4537ca=='string'&&(_0x1ca9f3[_0x4f8040]=_0x4537ca[_0x1fd238(0x21b)](/url\(#(.*)\)/,_0x1fd238(0x192)[_0x1fd238(0x143)](_0x15ccb6['idSuffix'],')')));})),_0x1ca9f3;}function ze(_0x9239df,_0x597361){const _0x93ff7b=_0x12d636;var _0x2832e1,_0x4f83b2=_0x597361[_0x93ff7b(0x329)];return!_0x4f83b2||_0x4f83b2[_0x93ff7b(0x268)]===0x0?_0x9239df:_0x9239df[_0x93ff7b(0x14e)]==='defs'&&(!((_0x2832e1=_0x9239df[_0x93ff7b(0x1cb)])===null||_0x2832e1===void 0x0)&&_0x2832e1[_0x93ff7b(0x268)])?b(b({},_0x9239df),{'children':_0x9239df[_0x93ff7b(0x1cb)][_0x93ff7b(0x155)](function(_0x3a987e){const _0x5d7545=_0x93ff7b;return typeof _0x3a987e[_0x5d7545(0x371)]['id']=='string'&&_0x4f83b2&&_0x4f83b2[_0x5d7545(0x1fa)](_0x3a987e[_0x5d7545(0x371)]['id'])?b(b({},_0x3a987e),{'attrs':b(b({},_0x3a987e['attrs']),{'id':_0x3a987e[_0x5d7545(0x371)]['id']+_0x597361['idSuffix']})}):_0x3a987e;})}):_0x9239df;}function Je(){const _0x519f86=_0x12d636;return Math[_0x519f86(0x166)]()[_0x519f86(0x1ce)](0x24)['substring'](0x2,0x8);}ge[_0x12d636(0x193)]='UniverIcon';var Ze={'tag':_0x12d636(0x2fd),'attrs':{'xmlns':_0x12d636(0x32c),'fill':_0x12d636(0x29a),'viewBox':_0x12d636(0x310),'width':_0x12d636(0x296),'height':_0x12d636(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x12d636(0x182)},'children':[{'tag':_0x12d636(0x381),'attrs':{'stroke':_0x12d636(0x2db),'d':_0x12d636(0x21f),'strokeLinecap':_0x12d636(0x347),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x12d636(0x37b),'attrs':{},'children':[{'tag':_0x12d636(0x244),'attrs':{'id':_0x12d636(0x36f)},'children':[{'tag':_0x12d636(0x381),'attrs':{'fill':'white','d':_0x12d636(0x21d)}}]}]}],'defIds':[_0x12d636(0x36f)]},we=M[_0x12d636(0x23b)](function(_0xbb6efa,_0x394ecc){const _0x18c886=_0x12d636;return M[_0x18c886(0x195)](ge,Object['assign']({},_0xbb6efa,{'id':'off-line-icon','ref':_0x394ecc,'icon':Ze}));});we[_0x12d636(0x193)]=_0x12d636(0x20c);var Qe={'tag':_0x12d636(0x2fd),'attrs':{'xmlns':_0x12d636(0x32c),'fill':'none','viewBox':_0x12d636(0x231),'width':_0x12d636(0x296),'height':_0x12d636(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x12d636(0x322)},'children':[{'tag':_0x12d636(0x381),'attrs':{'stroke':_0x12d636(0x2db),'d':_0x12d636(0x3b8),'strokeLinecap':_0x12d636(0x347),'strokeLinejoin':_0x12d636(0x347),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x12d636(0x356)},'children':[{'tag':_0x12d636(0x381),'attrs':{'fill':_0x12d636(0x209),'d':_0x12d636(0x21d),'transform':'translate(.97)'}}]}]}],'defIds':[_0x12d636(0x356)]},Ae=M[_0x12d636(0x23b)](function(_0x5bb396,_0x5b7548){const _0x58652e=_0x12d636;return M['createElement'](ge,Object[_0x58652e(0x26c)]({},_0x5bb396,{'id':'on-line-icon','ref':_0x5b7548,'icon':Qe}));});Ae['displayName']=_0x12d636(0x29c);function et(_0x17a45b){const _0x3806fd=_0x12d636;switch(_0x17a45b){case u[_0x3806fd(0x2f7)][_0x3806fd(0x2cf)]:return _0x3806fd(0x271);case u[_0x3806fd(0x2f7)][_0x3806fd(0x2c3)]:return _0x3806fd(0x2f9);case u[_0x3806fd(0x2f7)][_0x3806fd(0x1b2)]:return _0x3806fd(0x31d);case u[_0x3806fd(0x2f7)][_0x3806fd(0x335)]:return _0x3806fd(0x3b0);case u[_0x3806fd(0x2f7)][_0x3806fd(0x258)]:case u[_0x3806fd(0x2f7)][_0x3806fd(0x156)]:return'collabStatus.syncing';case u[_0x3806fd(0x2f7)][_0x3806fd(0x17c)]:case u[_0x3806fd(0x2f7)][_0x3806fd(0x358)]:return _0x3806fd(0x27d);}}function tt(_0x363ddd){const _0x5b2e21=_0x12d636,{status$:_0x57a1af}=_0x363ddd,_0x10bc66=O['useObservable'](_0x57a1af,u[_0x5b2e21(0x2f7)][_0x5b2e21(0x335)]),_0x3c8b0f=O['useDependency'](a[_0x5b2e21(0x18f)]),_0x32e394=O[_0x5b2e21(0x2ec)](u[_0x5b2e21(0x1c5)]),_0x1b8f0c=_0x10bc66!==u[_0x5b2e21(0x2f7)][_0x5b2e21(0x2cf)],_0x19601c=_0x3c8b0f['t'](et(_0x10bc66)),_0x5ace61=_0x1b8f0c?P[_0x5b2e21(0x148)](Ae,{}):P['jsx'](we,{}),_0xc58c76=M['useCallback'](()=>{const _0x3e8555=_0x5b2e21;_0x1b8f0c||_0x32e394[_0x3e8555(0x31a)]();},[_0x1b8f0c,_0x32e394]);function _0x3ac6fe(){const _0x513e6b=_0x5b2e21;return P[_0x513e6b(0x2b4)](_0x513e6b(0x330),{'className':_0x513e6b(0x270),'onClick':_0xc58c76,'children':[P[_0x513e6b(0x148)](_0x513e6b(0x330),{'className':D['clsx'](_0x513e6b(0x13b),{'univer-text-green-500':_0x1b8f0c,'univer-text-red-500':!_0x1b8f0c}),'children':_0x5ace61}),P[_0x513e6b(0x148)](_0x513e6b(0x330),{'className':_0x513e6b(0x315),'children':_0x19601c})]});}return _0x1b8f0c?_0x3ac6fe():P[_0x5b2e21(0x148)](D[_0x5b2e21(0x1ae)],{'title':_0x3c8b0f['t'](_0x5b2e21(0x208)),'children':_0x3ac6fe()});}var st=Object[_0x12d636(0x152)],it=(_0x558ff5,_0x1fa702,_0x10b8d8,_0x605703)=>{const _0x380dec=_0x12d636;for(var _0x185c25=_0x605703>0x1?void 0x0:_0x605703?st(_0x1fa702,_0x10b8d8):_0x1fa702,_0xe6eae8=_0x558ff5[_0x380dec(0x268)]-0x1,_0x3e087a;_0xe6eae8>=0x0;_0xe6eae8--)(_0x3e087a=_0x558ff5[_0xe6eae8])&&(_0x185c25=_0x3e087a(_0x185c25)||_0x185c25);return _0x185c25;},V=(_0x24fbe5,_0x48bcb0)=>(_0x62dd8b,_0x25937f)=>_0x48bcb0(_0x62dd8b,_0x25937f,_0x24fbe5);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x4961e6,_0x18fa38,_0x2c3345,_0x138597){const _0x2071d3=_0x12d636;super(),h(this,_0x2071d3(0x170),new d['BehaviorSubject'](u[_0x2071d3(0x2f7)][_0x2071d3(0x335)])),(this['_univerInstanceService']=_0x4961e6,this[_0x2071d3(0x355)]=_0x18fa38,this[_0x2071d3(0x29f)]=_0x2c3345,this[_0x2071d3(0x28b)]=_0x138597,this[_0x2071d3(0x3b6)](),this[_0x2071d3(0x35a)]());}[_0x12d636(0x35a)](){const _0x523706=_0x12d636;this[_0x523706(0x2ad)](this[_0x523706(0x3a6)]['focused$'][_0x523706(0x33f)](d['switchMap'](()=>{const _0x5b4425=_0x523706,_0x437bb8=this['_univerInstanceService'][_0x5b4425(0x3a9)]();return _0x437bb8?this[_0x5b4425(0x29f)][_0x5b4425(0x2ca)](_0x437bb8['getUnitId']()):d['of'](null);}),d['switchMap'](_0x1e8715=>_0x1e8715?_0x1e8715[_0x523706(0x30a)]:d['of'](u[_0x523706(0x2f7)][_0x523706(0x335)])))[_0x523706(0x399)](_0x5a4cf2=>{const _0x441158=_0x523706;this[_0x441158(0x170)][_0x441158(0x328)](_0x5a4cf2);}));}['_initStatusComponent'](){const _0x7ca451=_0x12d636;this[_0x7ca451(0x2ad)](this[_0x7ca451(0x28b)]['registerComponent'](O[_0x7ca451(0x359)][_0x7ca451(0x36c)],()=>O[_0x7ca451(0x1a8)](nt({'status$':this['_status$'][_0x7ca451(0x158)]()}),this[_0x7ca451(0x355)])));}},exports[_0x12d636(0x2e5)]=it([V(0x0,a['IUniverInstanceService']),V(0x1,a['Inject'](a['Injector'])),V(0x2,a[_0x12d636(0x23f)](u[_0x12d636(0x203)])),V(0x3,O[_0x12d636(0x21a)])],exports['DesktopCollaborationStatusDisplayController']);function nt(_0x4d7ed9){const {status$:_0xd088e0}=_0x4d7ed9;return function(){const _0x3c41c4=_0x2c71;return P[_0x3c41c4(0x148)](tt,{'status$':_0xd088e0});};}const me=a[_0x12d636(0x362)](_0x12d636(0x2b7));var rt=Object[_0x12d636(0x152)],ot=(_0x550bef,_0x1e6fd1,_0x23eac3,_0x1010c2)=>{const _0x42a185=_0x12d636;for(var _0x286076=_0x1010c2>0x1?void 0x0:_0x1010c2?rt(_0x1e6fd1,_0x23eac3):_0x1e6fd1,_0x399c09=_0x550bef[_0x42a185(0x268)]-0x1,_0x56b8e9;_0x399c09>=0x0;_0x399c09--)(_0x56b8e9=_0x550bef[_0x399c09])&&(_0x286076=_0x56b8e9(_0x286076)||_0x286076);return _0x286076;},k=(_0x35387c,_0x31427a)=>(_0x3698fb,_0x374a35)=>_0x31427a(_0x3698fb,_0x374a35,_0x35387c);exports['CollaborationDataLoaderController']=class extends a['RxDisposable']{constructor(_0xfee95f,_0x38ece0,_0x523092,_0x210f3a,_0x599e06){const _0x26b37a=_0x12d636;super(),this['_urlService']=_0xfee95f,this['_logService']=_0x38ece0,this['_commandService']=_0x523092,this[_0x26b37a(0x346)]=_0x210f3a,_0x599e06?_0x599e06==null||_0x599e06[_0x26b37a(0x380)]()['then'](()=>this[_0x26b37a(0x32b)]()):(this['_logService'][_0x26b37a(0x36a)](_0x26b37a(0x318),_0x26b37a(0x16e)),this[_0x26b37a(0x32b)]());}async[_0x12d636(0x32b)](){const _0x41eea0=_0x12d636,_0x5feaf0=this['_urlService'][_0x41eea0(0x2a7)](_0x41eea0(0x35c)),_0x1950b9=this[_0x41eea0(0x2dd)][_0x41eea0(0x2a7)](_0x41eea0(0x1bd)),_0x36126f=this[_0x41eea0(0x2dd)][_0x41eea0(0x2a7)](_0x41eea0(0x308));if(!_0x5feaf0||!_0x1950b9){this[_0x41eea0(0x394)]['debug'](_0x41eea0(0x318),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x18d6b2=await this['_dataLoaderService'][_0x41eea0(0x2da)](_0x5feaf0,Number(_0x1950b9),_0x36126f);_0x18d6b2&&_0x18d6b2 instanceof a[_0x41eea0(0x341)]&&this[_0x41eea0(0x206)](_0x18d6b2);}async[_0x12d636(0x206)](_0x5836b0){const _0x1cd7af=_0x12d636;await this[_0x1cd7af(0x15a)](_0x5836b0),_0x5836b0[_0x1cd7af(0x31c)][_0x1cd7af(0x33f)](d[_0x1cd7af(0x1cc)](this[_0x1cd7af(0x23d)]))['subscribe'](_0x324446=>{_0x324446&&this['_updateURLWithCurrentState'](_0x324446);}),this[_0x1cd7af(0x2dd)][_0x1cd7af(0x27e)]['pipe'](d[_0x1cd7af(0x1cc)](this[_0x1cd7af(0x23d)]))[_0x1cd7af(0x399)](()=>this[_0x1cd7af(0x15a)](_0x5836b0));}[_0x12d636(0x295)](_0x313a90,_0x572e26=!0x1){const _0x2403b6=_0x12d636,_0x2b5ca8=this['_urlService'][_0x2403b6(0x2a7)]('subunit');_0x313a90['getSheetId']()!==_0x2b5ca8&&this[_0x2403b6(0x2dd)]['setParam']('subunit',_0x313a90[_0x2403b6(0x39b)](),_0x572e26);}async[_0x12d636(0x15a)](_0x429262){const _0xe3b2be=_0x12d636;var _0x40abb6;const _0x2a1d82=this[_0xe3b2be(0x2dd)]['getParam'](_0xe3b2be(0x308));if(!_0x2a1d82||!_0x429262[_0xe3b2be(0x1c6)](_0x2a1d82)){const _0x246557=_0x429262[_0xe3b2be(0x173)]()[0x0],_0x4dfb11=_0x429262[_0xe3b2be(0x1c6)](_0x246557);if(!_0x4dfb11)return;this[_0xe3b2be(0x295)](_0x4dfb11,!0x0),await this[_0xe3b2be(0x22c)][_0xe3b2be(0x217)](g[_0xe3b2be(0x15f)]['id'],{'unitId':_0x429262[_0xe3b2be(0x2e9)](),'subUnitId':_0x246557});return;}((_0x40abb6=_0x429262[_0xe3b2be(0x306)]())==null?void 0x0:_0x40abb6['getSheetId']())!==_0x2a1d82&&await this[_0xe3b2be(0x22c)][_0xe3b2be(0x217)](g[_0xe3b2be(0x15f)]['id'],{'unitId':_0x429262[_0xe3b2be(0x2e9)](),'subUnitId':_0x2a1d82});}},exports[_0x12d636(0x1c1)]=ot([k(0x0,me),k(0x1,a['ILogService']),k(0x2,a[_0x12d636(0x38d)]),k(0x3,a[_0x12d636(0x23f)](u[_0x12d636(0x33d)])),k(0x4,a[_0x12d636(0x25b)](Xe['IRemoteInstanceService']))],exports[_0x12d636(0x1c1)]);var at=Object[_0x12d636(0x152)],ct=(_0x151875,_0x223d35,_0x32999f,_0x58e010)=>{const _0x59b4d2=_0x12d636;for(var _0x468bde=_0x58e010>0x1?void 0x0:_0x58e010?at(_0x223d35,_0x32999f):_0x223d35,_0x5b92ac=_0x151875[_0x59b4d2(0x268)]-0x1,_0x136613;_0x5b92ac>=0x0;_0x5b92ac--)(_0x136613=_0x151875[_0x5b92ac])&&(_0x468bde=_0x136613(_0x468bde)||_0x468bde);return _0x468bde;},be=(_0x300020,_0x247ce4)=>(_0x5f2085,_0x59b490)=>_0x247ce4(_0x5f2085,_0x59b490,_0x300020);let ue=class extends a[_0x12d636(0x2b2)]{constructor(_0x3499a0,_0x50e79c){const _0x1234b8=_0x12d636;super(),this[_0x1234b8(0x141)]=_0x3499a0,this[_0x1234b8(0x1a2)]=_0x50e79c,this[_0x1234b8(0x32b)]();}['_init'](){const _0x2fcfbe=_0x12d636,_0x11b0f8=this;this[_0x2fcfbe(0x2ad)](this[_0x2fcfbe(0x141)][_0x2fcfbe(0x261)]({'onBeforePasteImage':async _0x2df128=>{const _0x4d1baa=_0x2fcfbe,_0x480df4=await _0x11b0f8[_0x4d1baa(0x1a2)][_0x4d1baa(0x2d7)](_0x2df128);return _0x480df4?{'source':_0x480df4['source'],'imageSourceType':_0x480df4[_0x4d1baa(0x240)]}:null;}}));}};ue=ct([be(0x0,E[_0x12d636(0x39e)]),be(0x1,Ge[_0x12d636(0x275)])],ue);const Oe=['purple.300',_0x12d636(0x349),_0x12d636(0x293),_0x12d636(0x37a),_0x12d636(0x259),_0x12d636(0x33e)];class Ce extends a[_0x12d636(0x37e)]{constructor(){const _0x616923=_0x12d636;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x616923(0x2d0),0x0);}['assignAColorForMemberID'](_0x52e5cb){const _0x9ab405=_0x12d636;if(this[_0x9ab405(0x241)][_0x9ab405(0x3a8)](_0x52e5cb))return this[_0x9ab405(0x241)][_0x9ab405(0x323)](_0x52e5cb);const _0x2904d0=Oe[this[_0x9ab405(0x2d0)]];return this[_0x9ab405(0x2d0)]=(this[_0x9ab405(0x2d0)]+0x1)%Oe[_0x9ab405(0x268)],this[_0x9ab405(0x241)][_0x9ab405(0x1d4)](_0x52e5cb,_0x2904d0),_0x2904d0;}}function ye(_0xbedeeb){const _0x2675a1=_0x12d636;let _0x399877='';for(const _0x3be576 of _0xbedeeb){const {startOffset:_0x45b6f0,endOffset:_0x188d05,isActive:_0x26a612,rangeType:_0x530e09,segmentId:_0x394a4b,segmentPage:_0x5ef38d}=_0x3be576;_0x399877[_0x2675a1(0x268)]&&(_0x399877+=','),_0x399877+=_0x45b6f0+':'+_0x188d05+':'+(_0x26a612?'1':'0')+':'+_0x530e09+':'+_0x394a4b+':'+_0x5ef38d;}return _0x399877;}function lt(_0x572d2d){const _0x135957=_0x12d636,_0x527636=_0x572d2d[_0x135957(0x181)](','),_0x4c5f92=[];for(const _0x36e0ac of _0x527636){const [_0x303b29,_0x18696f,_0x3fcbdb,_0x4c33e0,_0x4ff449,_0x1b5fac]=_0x36e0ac[_0x135957(0x181)](':');_0x4c5f92[_0x135957(0x38f)]({'startOffset':Number(_0x303b29),'endOffset':Number(_0x18696f),'collapsed':_0x303b29===_0x18696f,'isActive':_0x3fcbdb==='1','rangeType':_0x4c33e0===a[_0x135957(0x311)]['TEXT']?a[_0x135957(0x311)][_0x135957(0x277)]:a[_0x135957(0x311)][_0x135957(0x282)],'segmentId':typeof _0x4ff449==_0x135957(0x174)?String(_0x4ff449):'','segmentPage':Number(_0x1b5fac!=null?_0x1b5fac:-0x1)});}return _0x4c5f92['some'](_0x8fb058=>_0x8fb058[_0x135957(0x383)])||(_0x4c5f92[0x0][_0x135957(0x383)]=!0x0),_0x4c5f92;}class pe extends a[_0x12d636(0x2b2)]{constructor(){const _0x5eb91f=_0x12d636;super(...arguments),h(this,_0x5eb91f(0x238),new d[(_0x5eb91f(0x269))](null)),h(this,_0x5eb91f(0x1f2),this[_0x5eb91f(0x238)]['asObservable']());}[_0x12d636(0x36b)](_0x4747fd){const _0x36857b=_0x12d636,{unitID:_0x4bf444,memberID:_0x19bad4,textRanges:_0x2f824a}=_0x4747fd,_0x3c21ae=ye(_0x2f824a);if(_0x3c21ae==='')return;const _0x2e9ca3={'unitID':_0x4bf444,'memberID':_0x19bad4,'selection':_0x3c21ae};this[_0x36857b(0x238)][_0x36857b(0x328)](_0x2e9ca3);}}var _t=Object[_0x12d636(0x152)],ht=(_0xf65178,_0x489c90,_0x4ba98e,_0x5a1b0d)=>{const _0x3d5b28=_0x12d636;for(var _0x3b89ed=_0x5a1b0d>0x1?void 0x0:_0x5a1b0d?_t(_0x489c90,_0x4ba98e):_0x489c90,_0x4c859b=_0xf65178[_0x3d5b28(0x268)]-0x1,_0x44f0ee;_0x4c859b>=0x0;_0x4c859b--)(_0x44f0ee=_0xf65178[_0x4c859b])&&(_0x3b89ed=_0x44f0ee(_0x3b89ed)||_0x3b89ed);return _0x3b89ed;},L=(_0x704adc,_0x2e40f3)=>(_0x4b677c,_0x364fcd)=>_0x2e40f3(_0x4b677c,_0x364fcd,_0x704adc);function _0x228f(){const _0x175123=['subunit','UNDEFINED','status$','registerDependencies','_collabCursorController','CONNECTOR_DATA_TOO_LARGE','restore','onPointerLeave$','0\x200\x2016\x2016','DOC_RANGE_TYPE','Error','ILocalCacheService','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_docStateChangeManagerService','ranges','[CollaborationDataLoaderController]','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','reconnect','APPLY_REJECT','activeSheet$','collabStatus.fetchMiss','UNIVER_DOC','pushState','_cursorShapes','hide','url(#on-line-icon_clip0_910_349)','get','3161562YscOWi','getVpScrollXYInfoByPosToVp','InsertRangeMoveDownCommandId','712835UHtFLV','next','defIds','makeDirty','_init','http://www.w3.org/2000/svg','DocSelectionManagerService','Rectangle','IMessageService','div','clearTimeout','4502754gJrHdM','InsertColCommandId','transformRemoteChangeset','NOT_COLLAB','_syncEditingCollabCursorService','handleIRemoveRow','8gSUEIr','all','flatMap','_docSkeletonManagerService','_eventUnsubscribe','DataLoaderService','yellow.400','pipe','INVALID_ARGUMENT','Workbook','_disabled','ACTIVE_UNIT_EVENT_CHANNEL','session.will-retry','OTHER_CLIENT_EDITING','_dataLoaderService','round','_instanceService','jiqing.500','_notificationService','ILogService','startsWith','DEFAULT_WS_SESSION_TICKET_URL','_anchor','error','8943IlIBma','color','runRefRangeMutations','debounce','colorChannel1','_injector','on-line-icon_clip0_910_349','_cursors','PENDING','BuiltInUIPart','_initStatusListener','Warning','unit','_drawRectRange','_cursorInfo$','getMergeData','origin','_refreshCollabCursors','createIdentifier','clearInterval','_getSaveTimeout','closePath','function','InsertRowCommandId','search','column','debug','syncEditingCollabCursor','HEADER_MENU','_handleHeartbeatEvent','_docSkeleton','off-line-icon_clip0_910_343','_roomMembers$','attrs','HTTPService','_heartbeatTimer','_onCursorUpdate','isTransformMutationFailure','shareReplay','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_ASYNCIO_CANCELLED','UPDATE_CURSOR','red.300','defs','_colorAssignService','sessionTicket','Disposable','getItem','whenReady','path','transformStateCache','isActive','isTransformMutationsWithChangesetSuccess','handleDeleteRangeMoveLeft','send','unitId','removeParam','getTypeOfUnitAdded$','collab-rect-range-','setParam','sessionStatus$','ICommandService','parse','push','stringify','arc','setConfig','#FFF','_logService','getCoordByCell','ISocketService','_registerRenderDependencies','_online','subscribe','_onCursorDelete','getSheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_drawTextRange','IDocClipboardService','_scene','call','fromEventSubject','disableLocalCache','NOT_FOUND','getCurrentUnitForType','NO_OTHER_CLIENTS_EDITING','_univerInstanceService','4092520tgbdOl','has','getFocusedUnit','eventID','_removeClearOtherTimer','_draw','YUUMI_RATE_OVER_LIMIT','session.connection-failed','COLORS','collabStatus.notCollab','Module','dispose','event$','exhaustSavingTask','getTypeOfUnitDisposed$','_initStatusComponent','measureText','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','entries','fillText','undoState','name','triggerDblclick','handleInsertRangeMoveDown','univer-mr-2\x20univer-flex\x20univer-text-xl','handleIRemoveCol','m2Prime','idSuffix','useRef','createInstance','_docClipboardService','endColumn','concat','_handleHover','_httpService','_doCreateSocket','UniverCollaborationClientUIPlugin','jsx','CollaborationUIEventService','/run/','getCurrentRevOfUnit','_clearOtherTimers','ticket','tag','cursorInfo$','RefRangeService','from','getOwnPropertyDescriptor','RegularPolygon','_localStorageService','map','AWAITING_WITH_PENDING','editingUnit','asObservable','transformByState','_updateSubUnitFromURLParams','IRenderManagerService','debounceTime','getCurrentSelections','textRanges','SetWorksheetActivateCommand','TOO_MANY_REQUESTS','roomMembers','delete','currentTheme$','_drawAnchor','text','random','LOCAL_CACHE_INTERVAL_KEY','with','_entityInit$','beginPath','RevisionService','switchMap','_handleJoinEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IBeforeCloseService','_status$','...','_getScale','getUnhiddenWorksheets','string','transformIMECache','backgroundColor','_docSyncEditingCollabCursorService','_name','_handleEvent','APPLY_PERMISSION_DENIED','lineTo','SYNCED','body','_transformService','_memberService','xlink:href','split','url(#off-line-icon_clip0_910_343)','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ENSURE_SNAPSHOT_EXECUTION','getUnitStatus$','ISnapshotServerService','_hideTimer','_color','generateRandomId','UniverCollaborationClientPlugin','startRow','_registerDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','getViewport','LocaleService','then','deserializeRangeWithSheet','url(#$1','displayName','result','createElement','unsubscribe','replaceState','_scheduleSaving','executionId','permission.title','_onRefRangeChange','NodePositionConvertToRectRange','collab-text-range-','_toggleOffline','getRangePointData','max','SUBMIT_CHANGESET_TIMEOUT','_imageIoService','_hovered','location','use','_labelPosition','cursorInfo','connectInjector','SetTextSelectionsOperation','_shapes','_collaborationUIEventService','doc.mutation.rich-text-editing','code','Tooltip','_unitStatus','setStateCache','USER_NOT_INVITED_CODE','FETCH_MISS','Unknown\x20user','onCommandExecuted','_refRangeService','transformMutationsWithChangeset','InsertRangeMoveRightCommandId','save','params','hovered','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','override','type','_saveTaskMap','_saveCache','OTHER_CLIENTS_EDITING','CollaborationDataLoaderController','filter','WebSocketService','getColorFromTheme','CollaborationSessionService','getSheetBySheetId','_handleLeaveEvent','MoveRangeCommandId','_anchorDot','runOnServer','children','takeUntil','_cursor','toString','getColor','453764iHGSbr','collaboration.closeRoom','getCellPositionByOffset','INVITE_CODE_HAS_BEEN_UES','set','merge','show','MOBILE_HAS_BEEN_BOUND','_themeService','ThemeService','throttleTime','SheetsSelectionsService','_docTransformSelectionsService','_send','find','currentSkeleton$','add','EMAIL_VERIFY_CODE_MISMATCH','APPLY_NON_SEQUENTIAL_REVISION','LOCAL_CACHE_INTERVAL','_docTransformIMECacheService','DeleteRangeMoveUpCommandId','SessionStatus','drawWith','_collabSessionService','UNAUTHENTICATED','history','current','_document','_scheduleHeartbeat','propertyIsEnumerable','getValue','onMouseMove','getCollabCursors$','collabCursorState$','setItem','registerRenderModule','rgba(255,\x20255,\x20255,\x200.01)','INTERNAL_ERROR','_messageService','SetDocZoomRatioOperation','runId','includes','mutations','_initDependencies','addObjects','size','values','INVITE_CODE_ALREADY_BOUND','getMemberID','onPointerMove$','CollaborationController','_scheduleClearOtherTimer','_getAnchorBounding','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','collab-client.tooltip.reconnect','white','memberID','_initEvent','OffLineIcon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','transformMutation','width','YUUMI_AI_RUN_FAILED','MessageType','entityInit$','toRgbString','newValue','_beforeCloseService','UniverInstanceType','executeCommand','DocCollaborationEntity','indexOf','IUIPartsService','replace','_context','M0\x200H16V16H0z','getOffsetConfig','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','LICENSE_DISTRO_REJECTED','Subject','_removeCollabCursors','_toggleOnline','NodePositionConvertToCursor','getRelativeToViewportCoord','IConfigService','sheetId','transformSelections','labelPosition','ALREADY_EXISTS','pluginName','_commandService','getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','IUniverInstanceService','_getSheetObject','0\x200\x2017\x2016','unshift','_createSocketURL','defineProperty','height','min','subscribeEvent','_collabCursorState$','touchDependencies','fill','forwardRef','Vector2','dispose$','range','Inject','imageSourceType','_assignedColors','_hover','setTimeout','clipPath','_getSessionTicket','_localeService','redoState','_initCommandExecutedListener','getStateCache','fromEvent','contains','_docTransformStateCacheService','combineLatest','PY_RUNTIME_SCRIPT_ERROR','YUUMI_URL_COL_OUT_OF_RANGE','SNAPSHOT_INVALID_SNAPSHOT','setShapeProps','permission.content','getUndoRedoMutationParamsCache','init','80fwGeHl','EffectRefRangId','_ensureSubject','AWAITING','blue.400','_selfUnitIDs','Optional','collab-text-anchor-','INVALID_INVITE_CODE','complete','assignAColorForMemberID','YUUMI_SUBSCRIPTION_NOT_FOUND','addClipboardHook','_initResize','UnitStatus','icon','onStarting','forEach','addObject','length','BehaviorSubject','_revisionService','onRendered','assign','saveTaskMap','setInterval','LICENSE_MAX_UNITS_EXCEEDED','univer-flex\x20univer-items-center','collabStatus.offline','BrowserCollaborationSocketService','YUUMI_ALL_TABLES_IS_INVALID','findNodePositionByCharIndex','IImageIoService','_localCacheService','TEXT','evenodd','_startDocCollabCursor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ColorKit','APPLY_DUPLICATED','collabStatus.synced','urlChange$','CollaborationEvent','top','ITransformService','RECT','CommandType','7TNQmaZ','_setupBeforeClosingHandler','handleInsertCol','TEXT_RANGE_LAYER_INDEX','Rect','replaceDocRanges','data','_uiPartsService','Plugin','UNIVER_SHEET','extend','getOwnPropertySymbols','selection','YUUMI_TABLE_NOT_FOUND_IN_UNIT','href','green.600','setUndoRedoMutationParamsCache','_updateURLWithCurrentState','1em','handleDeleteRangeMoveUp','getSkeleton','_config','none','setAlpha','OnLineIcon','addEventListener','getAncestorScale','_collaborationController','INVITE_CODE_REQUIRED','CollaborationSocketService','className','_lastPointer','handleInsertRangeMoveRight','_sheetSkeletonManagerService','_transformUndoRedoStack','getParam','_transformHistoryAndStateStack','_session','storage','getUniverSheetInstance','hasOwnProperty','disposeWithMe','toDisposable','Shape','MOBILE_VERIFY_CODE_MISMATCH','enableLocalCache','RxDisposable','_unitOnClients','jsxs','RemoveRowCommandId','searchParams','uni.network.url-service','SheetCollabCursorShape','SOCKET_FAILED_RETRY','USERS_LEAVE','black','getConfig','_backgroundColor','univerjs-icon\x20univerjs-icon-','bottom','_entities','WECHAT_HAS_BEEN_BOUND','startColumn','CONFLICT','registerRefRange','CollaborationUIEventId','_render','_range','m1Prime','Tools','getCollabEntity$','APPLY_REVISION_CONFILICT','_configService','handleInsertRow','setActiveRange','OFFLINE','_colorIndex','fillStyle','prototype','YUUMI_CONNECTOR_URL_NOT_FOUND','PERMISSION_DENIED','LOGIN_FAILED','DocIMEInputManagerService','saveImage','JOIN_ROOM_FAILED','popstate','loadUnit','currentColor','WebBrowserSingleActiveUnitService','_urlService','isArray','FromArray','UNRECOGNIZED','getLocalCacheKey','unitID','SOCKET_FAILED','Failed','DesktopCollaborationStatusDisplayController','_renderManagerService','RichTextEditingMutation','_startSheetCollabCursor','getUnitId','_textBubble','mask','useDependency','getRenderById','2jYURLi','DocStateChangeManagerService','post','1375881fdyrJG','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','DocSkeletonManagerService','transform','_updateCollabCursors','deepClone','CollaborationStatus','engine','collabStatus.conflict','_transformPreviousActiveRange','_cachedData','_initEntityListener','svg','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MemberService','_id','_updateLocalCursor','requireSession','ONLINE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_HAS_BEEN_BOUND','getActiveSheet','Injector'];_0x228f=function(){return _0x175123;};return _0x228f();}function _0x2c71(_0x326e24,_0x22c7b1){const _0x228f73=_0x228f();return _0x2c71=function(_0x2c71cd,_0x1e74c2){_0x2c71cd=_0x2c71cd-0x135;let _0x9ba7e1=_0x228f73[_0x2c71cd];return _0x9ba7e1;},_0x2c71(_0x326e24,_0x22c7b1);}const ut=0x12c,dt=0x64;let de=class extends a[_0x12d636(0x2b2)]{constructor(_0x21a479,_0x4c82c0,_0x496011,_0x390fd6,_0x513d11,_0x54d6f1,_0x47b016,_0x2e16ca,_0x1c5499){const _0x585f6d=_0x12d636;super(),h(this,_0x585f6d(0x398),!0x1),h(this,_0x585f6d(0x32b),!0x1),h(this,'_cursorInfo$',new d[(_0x585f6d(0x269))](new Map())),h(this,_0x585f6d(0x14f),this[_0x585f6d(0x35e)][_0x585f6d(0x158)]()),h(this,'_roomMembers$',new d[(_0x585f6d(0x269))]([])),h(this,'roomMembers$',this[_0x585f6d(0x370)]['pipe'](d[_0x585f6d(0x15c)](ut))),h(this,_0x585f6d(0x301),a[_0x585f6d(0x353)](_0x3b2f08=>{const _0x4c6331=_0x585f6d,_0x43d5f0={'eventID':m[_0x4c6331(0x27f)][_0x4c6331(0x379)],'data':{'unitID':this[_0x4c6331(0x2e2)],'memberID':this[_0x4c6331(0x2a9)][_0x4c6331(0x201)](),'selection':ye(_0x3b2f08)}};this[_0x4c6331(0x2a9)][_0x4c6331(0x386)](_0x43d5f0,this[_0x4c6331(0x2e2)]);},dt)),(this[_0x585f6d(0x2e2)]=_0x21a479,this[_0x585f6d(0x2a9)]=_0x4c82c0,this[_0x585f6d(0x355)]=_0x496011,this['_colorAssignService']=_0x390fd6,this[_0x585f6d(0x17f)]=_0x513d11,this[_0x585f6d(0x336)]=_0x54d6f1,this['_transformService']=_0x47b016,this['_univerInstanceService']=_0x2e16ca,this[_0x585f6d(0x22c)]=_0x1c5499);}get[_0x12d636(0x1a7)](){const _0x302d2c=_0x12d636;return this[_0x302d2c(0x35e)][_0x302d2c(0x1ef)]();}get[_0x12d636(0x161)](){const _0x4eb890=_0x12d636;return this[_0x4eb890(0x370)][_0x4eb890(0x1ef)]();}['dispose'](){const _0x33021a=_0x12d636;super[_0x33021a(0x3b2)](),this[_0x33021a(0x35e)][_0x33021a(0x328)](new Map()),this[_0x33021a(0x35e)][_0x33021a(0x25e)](),this[_0x33021a(0x370)][_0x33021a(0x328)]([]),this['_roomMembers$']['complete']();}[_0x12d636(0x254)](){const _0x4334ca=_0x12d636;this[_0x4334ca(0x32b)]||(this['_init']=!0x0,this[_0x4334ca(0x2a9)][_0x4334ca(0x38c)][_0x4334ca(0x33f)](d['takeUntil'](this['dispose$']))[_0x4334ca(0x399)](_0x452cb1=>{const _0x1c0a8a=_0x4334ca;_0x452cb1===u['SessionStatus'][_0x1c0a8a(0x303)]?this[_0x1c0a8a(0x223)]():this[_0x1c0a8a(0x19e)]();}),this[_0x4334ca(0x2a9)][_0x4334ca(0x3b3)][_0x4334ca(0x33f)](d[_0x4334ca(0x1cc)](this[_0x4334ca(0x23d)]))['subscribe'](_0x1efbba=>{const _0x10cc48=_0x4334ca,_0x2d38a8=_0x1efbba[_0x10cc48(0x3aa)];_0x2d38a8===m[_0x10cc48(0x27f)][_0x10cc48(0x379)]&&this[_0x10cc48(0x374)](_0x1efbba),_0x2d38a8===m[_0x10cc48(0x27f)][_0x10cc48(0x2ba)]&&this[_0x10cc48(0x39a)](_0x1efbba);}),this[_0x4334ca(0x2ad)](this[_0x4334ca(0x22c)][_0x4334ca(0x1b4)](_0x5c00cc=>{const _0x5d9f6e=_0x4334ca,_0x364bee=_0x5c00cc[_0x5d9f6e(0x1b9)];_0x364bee!=null&&this[_0x5d9f6e(0x398)]&&_0x5c00cc['id']===Y[_0x5d9f6e(0x1a9)]['id']&&_0x364bee['unitId']===this[_0x5d9f6e(0x2e2)]&&_0x364bee['isEditing']===!0x1&&_0x364bee[_0x5d9f6e(0x317)][_0x5d9f6e(0x268)]>0x0&&this[_0x5d9f6e(0x301)](_0x364bee[_0x5d9f6e(0x317)]);})),this['_syncEditingCollabCursorService'][_0x4334ca(0x1f2)][_0x4334ca(0x33f)](d[_0x4334ca(0x1cc)](this[_0x4334ca(0x23d)]))[_0x4334ca(0x399)](_0x491e0f=>{const _0x1ce1db=_0x4334ca;if((_0x491e0f==null?void 0x0:_0x491e0f[_0x1ce1db(0x2e2)])!==this[_0x1ce1db(0x2e2)])return;const _0x26c513={'eventID':m['CollaborationEvent'][_0x1ce1db(0x379)],'data':_0x491e0f};this[_0x1ce1db(0x374)](_0x26c513);}),this[_0x4334ca(0x2ad)](this[_0x4334ca(0x22c)][_0x4334ca(0x1b4)](_0x370eb8=>{const _0x424387=_0x4334ca;if(_0x370eb8['params']==null)return;const _0x2cd91e=_0x370eb8[_0x424387(0x1b9)];if(_0x370eb8['id']!==Y[_0x424387(0x2e7)]['id']||_0x2cd91e[_0x424387(0x387)]!==this[_0x424387(0x2e2)])return;const _0x45c9c6={'id':_0x424387(0x1ac),'params':_0x2cd91e},_0xf6db62=this[_0x424387(0x1a7)];for(const [_0x31d538,_0x5a1b80]of _0xf6db62){const _0x345a95={'id':_0x424387(0x1ac),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5a1b80['ranges']}},_0x1a274b=this['_transformService'][_0x424387(0x20e)](_0x45c9c6,_0x345a95,!0x1);if(m[_0x424387(0x375)](_0x1a274b))throw _0x1a274b['error'];_0xf6db62[_0x424387(0x1d4)](_0x31d538,{..._0x5a1b80,'ranges':_0x1a274b['m2Prime'][_0x424387(0x1b9)]['textRanges']});}queueMicrotask(()=>{const _0x4a59fd=_0x424387;this[_0x4a59fd(0x35e)][_0x4a59fd(0x328)](_0xf6db62);});})));}[_0x12d636(0x374)](_0x4112f2){const _0x31f083=_0x12d636;var _0x2d80f6,_0x1a9639;const {memberID:_0x7dbcee,selection:_0x17e56c}=_0x4112f2[_0x31f083(0x28a)],_0x2642df=lt(_0x17e56c),_0x3ff123=(_0x1a9639=(_0x2d80f6=this[_0x31f083(0x17f)]['getMember'](this['unitID'],_0x7dbcee))==null?void 0x0:_0x2d80f6[_0x31f083(0x138)])!=null?_0x1a9639:_0x31f083(0x1b3),_0x1d1216={'color':this[_0x31f083(0x37c)][_0x31f083(0x25f)](_0x7dbcee),'name':_0x3ff123,'ranges':_0x2642df},_0x294fa7=this[_0x31f083(0x1a7)];_0x294fa7[_0x31f083(0x1d4)](_0x7dbcee,_0x1d1216),this[_0x31f083(0x35e)][_0x31f083(0x328)](_0x294fa7);}[_0x12d636(0x39a)](_0x208a6a){const _0x17a569=_0x12d636,{memberID:_0x1cac28}=_0x208a6a['data'],_0x4888a0=this['cursorInfo'];_0x4888a0[_0x17a569(0x162)](_0x1cac28),this[_0x17a569(0x35e)][_0x17a569(0x328)](_0x4888a0);}[_0x12d636(0x223)](){const _0x324e56=_0x12d636;var _0x5b5485;if(this[_0x324e56(0x398)]=!0x0,((_0x5b5485=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5b5485[_0x324e56(0x2e9)]())!==this[_0x324e56(0x2e2)])return;const _0x7713d3=this[_0x324e56(0x355)]['get'](Y[_0x324e56(0x32d)])[_0x324e56(0x22d)]();Array['isArray'](_0x7713d3)&&_0x7713d3[_0x324e56(0x268)]>0x0&&this['_updateLocalCursor'](_0x7713d3);}[_0x12d636(0x19e)](){const _0x26b128=_0x12d636;this[_0x26b128(0x398)]=!0x1;}};de=ht([L(0x2,a[_0x12d636(0x23f)](a[_0x12d636(0x307)])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x12d636(0x23f)](u[_0x12d636(0x2ff)])),L(0x5,a[_0x12d636(0x23f)](pe)),L(0x6,m[_0x12d636(0x281)]),L(0x7,a[_0x12d636(0x22f)]),L(0x8,a[_0x12d636(0x38d)])],de);var St=Object[_0x12d636(0x152)],ft=(_0xb03b44,_0x1d7fc0,_0x349226,_0x3e1658)=>{for(var _0x3b86a2=_0x3e1658>0x1?void 0x0:_0x3e1658?St(_0x1d7fc0,_0x349226):_0x1d7fc0,_0x51ecc3=_0xb03b44['length']-0x1,_0x1a4026;_0x51ecc3>=0x0;_0x51ecc3--)(_0x1a4026=_0xb03b44[_0x51ecc3])&&(_0x3b86a2=_0x1a4026(_0x3b86a2)||_0x3b86a2);return _0x3b86a2;},A=(_0x1b2697,_0x29d17e)=>(_0x297ad5,_0x294a09)=>_0x29d17e(_0x297ad5,_0x294a09,_0x1b2697);const It=0x12c,vt=0x64,gt=()=>{let _0x474f91=[],_0x508431=!0x1;return _0x1a3bef=>{const _0x3f20ed=_0x2c71;_0x474f91[_0x3f20ed(0x38f)](_0x1a3bef),_0x508431||(_0x508431=!0x0,setTimeout(()=>{const _0x3e4039=_0x3f20ed;_0x474f91[_0x3e4039(0x266)](_0x29526c=>_0x29526c()),_0x474f91=[],_0x508431=!0x1;}));};};let Se=class extends a[_0x12d636(0x2b2)]{constructor(_0x35f535,_0xaafce5,_0x1fff1b,_0x41a374,_0x5570a5,_0x15c696,_0x25dd40,_0x368d3b){const _0x42f8ab=_0x12d636;super(),h(this,_0x42f8ab(0x398),!0x1),h(this,'_init',!0x1),h(this,_0x42f8ab(0x35e),new d[(_0x42f8ab(0x269))](new Map())),h(this,_0x42f8ab(0x14f),this[_0x42f8ab(0x35e)][_0x42f8ab(0x158)]()),h(this,_0x42f8ab(0x370),new d[(_0x42f8ab(0x269))]([])),h(this,'roomMembers$',this[_0x42f8ab(0x370)][_0x42f8ab(0x33f)](d[_0x42f8ab(0x15c)](It))),h(this,_0x42f8ab(0x301),a[_0x42f8ab(0x353)]((_0x52c8de,_0x36cfa2)=>{const _0x1343e9=_0x42f8ab,_0x1044b3={'eventID':m[_0x1343e9(0x27f)][_0x1343e9(0x379)],'data':{'unitID':this[_0x1343e9(0x2e2)],'memberID':this[_0x1343e9(0x2a9)]['getMemberID'](),'selection':Ee['serializeRangeWithSheet'](_0x52c8de,_0x36cfa2[_0x1343e9(0x23e)])}};this[_0x1343e9(0x2a9)][_0x1343e9(0x386)](_0x1044b3,this[_0x1343e9(0x2e2)]);},vt)),(this[_0x42f8ab(0x2e2)]=_0x35f535,this[_0x42f8ab(0x2a9)]=_0xaafce5,this[_0x42f8ab(0x355)]=_0x1fff1b,this[_0x42f8ab(0x37c)]=_0x41a374,this[_0x42f8ab(0x17f)]=_0x5570a5,this[_0x42f8ab(0x3a6)]=_0x15c696,this['_commandService']=_0x25dd40,this[_0x42f8ab(0x1b5)]=_0x368d3b);}get[_0x12d636(0x1a7)](){const _0xd13974=_0x12d636;return this['_cursorInfo$'][_0xd13974(0x1ef)]();}get['roomMembers'](){const _0x1913e9=_0x12d636;return this[_0x1913e9(0x370)]['getValue']();}[_0x12d636(0x3b2)](){const _0x4e57fc=_0x12d636;super[_0x4e57fc(0x3b2)](),this[_0x4e57fc(0x35e)]['next'](new Map()),this[_0x4e57fc(0x35e)][_0x4e57fc(0x25e)](),this['_roomMembers$'][_0x4e57fc(0x328)]([]),this[_0x4e57fc(0x370)][_0x4e57fc(0x25e)]();}[_0x12d636(0x254)](){const _0x511bcf=_0x12d636;this[_0x511bcf(0x32b)]||(this[_0x511bcf(0x32b)]=!0x0,this[_0x511bcf(0x2a9)]['sessionStatus$'][_0x511bcf(0x33f)](d[_0x511bcf(0x1cc)](this[_0x511bcf(0x23d)]))[_0x511bcf(0x399)](_0x3903bf=>{const _0x576f18=_0x511bcf;_0x3903bf===u[_0x576f18(0x1e6)][_0x576f18(0x303)]?this[_0x576f18(0x223)]():this[_0x576f18(0x19e)]();}),this[_0x511bcf(0x2a9)][_0x511bcf(0x3b3)]['pipe'](d[_0x511bcf(0x1cc)](this[_0x511bcf(0x23d)]))[_0x511bcf(0x399)](_0x5854c5=>{const _0x398a67=_0x511bcf,_0x49f80f=_0x5854c5[_0x398a67(0x3aa)];_0x49f80f===m[_0x398a67(0x27f)][_0x398a67(0x379)]&&this[_0x398a67(0x374)](_0x5854c5),_0x49f80f===m[_0x398a67(0x27f)][_0x398a67(0x2ba)]&&this['_onCursorDelete'](_0x5854c5);}),this[_0x511bcf(0x19b)](),this[_0x511bcf(0x2ad)](this[_0x511bcf(0x22c)][_0x511bcf(0x1b4)](_0x5d7b64=>{const _0x1f7bdb=_0x511bcf;if(this[_0x1f7bdb(0x398)]&&_0x5d7b64['id']===g['SetSelectionsOperation']['id']&&_0x5d7b64[_0x1f7bdb(0x1b9)][_0x1f7bdb(0x387)]===this[_0x1f7bdb(0x2e2)]){const _0x1e11f0=_0x5d7b64[_0x1f7bdb(0x1b9)];this['_updateLocalCursor'](_0x1e11f0['subUnitId'],_0x1e11f0['selections'][0x0]);}})));}[_0x12d636(0x374)](_0x11526e){const _0x9d4214=_0x12d636;var _0x22299c,_0x36ccf9;const {memberID:_0x5b3b69,selection:_0x458a2f}=_0x11526e['data'],{sheetName:_0x19bcb3,range:_0x1bcc4b}=Ee[_0x9d4214(0x191)](_0x458a2f),_0xc206e4={'name':(_0x36ccf9=(_0x22299c=this['_memberService']['getMember'](this[_0x9d4214(0x2e2)],_0x5b3b69))==null?void 0x0:_0x22299c['name'])!=null?_0x36ccf9:_0x9d4214(0x1b3),'range':this['_getMergeRange'](_0x19bcb3,_0x1bcc4b),'sheetID':_0x19bcb3,'color':this[_0x9d4214(0x37c)]['assignAColorForMemberID'](_0x5b3b69),'selection':_0x458a2f},_0x7799f2=this[_0x9d4214(0x1a7)];_0x7799f2['set'](_0x5b3b69,_0xc206e4),this[_0x9d4214(0x35e)][_0x9d4214(0x328)](_0x7799f2);}['_onCursorDelete'](_0x2eeb36){const _0x155ccd=_0x12d636,{memberID:_0x9eb9e0}=_0x2eeb36[_0x155ccd(0x28a)],_0x111c39=this[_0x155ccd(0x1a7)];_0x111c39[_0x155ccd(0x162)](_0x9eb9e0),this[_0x155ccd(0x35e)][_0x155ccd(0x328)](_0x111c39);}['_getMergeRange'](_0x1c3d36,_0x20c3b2){const _0xa2d7bf=_0x12d636;var _0x13044a,_0x3b7e10;const _0x3b1352=(_0x3b7e10=(_0x13044a=this[_0xa2d7bf(0x3a6)][_0xa2d7bf(0x2ab)](this['unitID']))==null?void 0x0:_0x13044a[_0xa2d7bf(0x1c6)](_0x1c3d36))==null?void 0x0:_0x3b7e10[_0xa2d7bf(0x35f)]();return(_0x3b1352==null?void 0x0:_0x3b1352[_0xa2d7bf(0x1de)](_0x445e58=>a[_0xa2d7bf(0x32e)][_0xa2d7bf(0x24b)](_0x445e58,_0x20c3b2)))||_0x20c3b2;}['_onRefRangeChange'](){const _0x22eb31=_0x12d636,_0x2eb141=new a['DisposableCollection'](),_0x167601=gt(),_0x4b2ff9=()=>{const _0x15c5ed=_0x2c71;_0x2eb141[_0x15c5ed(0x3b2)]();const _0x315336=(_0x16c446,_0x34ddea,_0x555500,_0x8b9548)=>{const _0x3851f3=_0x15c5ed;let _0x3ea1e8=[];switch(_0x16c446['id']){case g['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x3ea1e8=g[_0x3851f3(0x385)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x1e5)]:{_0x3ea1e8=g[_0x3851f3(0x297)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x333)]:{_0x3ea1e8=g[_0x3851f3(0x286)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x326)]:{_0x3ea1e8=g[_0x3851f3(0x13a)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x1b7)]:{_0x3ea1e8=g[_0x3851f3(0x2a4)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x367)]:{_0x3ea1e8=g[_0x3851f3(0x2cd)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x1c8)]:{_0x3ea1e8=g['handleMoveRange'](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)]['RemoveColCommandId']:{_0x3ea1e8=g[_0x3851f3(0x13c)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x2b5)]:{_0x3ea1e8=g[_0x3851f3(0x337)](_0x16c446,_0x8b9548);break;}}const _0xac598f=g[_0x3851f3(0x352)](_0x3ea1e8,_0x8b9548),_0x13b2e4=this[_0x3851f3(0x1a7)][_0x3851f3(0x323)](_0x34ddea);if(_0x13b2e4&&_0xac598f){const _0x144fd9={..._0x13b2e4,'range':_0xac598f};this[_0x3851f3(0x1a7)]['set'](_0x34ddea,_0x144fd9),_0x167601(()=>{const _0x49e310=_0x3851f3,_0x26fd39=this[_0x49e310(0x1b5)][_0x49e310(0x2c4)](_0xac598f,_0x4ed2f4=>(_0x26fd39[_0x49e310(0x3b2)](),_0x315336(_0x4ed2f4,_0x34ddea,_0x555500,_0xac598f)));_0x2eb141[_0x49e310(0x1e0)](_0x26fd39);});}return{'redos':[],'undos':[]};};this[_0x15c5ed(0x1a7)][_0x15c5ed(0x266)]((_0x5121b5,_0xb23c93)=>{const _0x1ee100=_0x15c5ed,{range:_0x1bd13b,sheetID:_0x170ada}=_0x5121b5,_0x32603e=this[_0x1ee100(0x1b5)][_0x1ee100(0x2c4)](_0x1bd13b,_0x3259bf=>(_0x32603e['dispose'](),_0x315336(_0x3259bf,_0xb23c93,_0x170ada,_0x1bd13b)));_0x2eb141[_0x1ee100(0x1e0)](_0x32603e);});};this[_0x22eb31(0x2ad)](a[_0x22eb31(0x2ae)](this['_cursorInfo$'][_0x22eb31(0x399)](()=>{_0x4b2ff9();})));}[_0x12d636(0x223)](){const _0x5a7e7a=_0x12d636;var _0x584156,_0x9ae757;if(this[_0x5a7e7a(0x398)]=!0x0,((_0x584156=this[_0x5a7e7a(0x3a6)][_0x5a7e7a(0x3a9)]())==null?void 0x0:_0x584156[_0x5a7e7a(0x2e9)]())!==this[_0x5a7e7a(0x2e2)])return;const _0x3933ab=(_0x9ae757=this['_injector'][_0x5a7e7a(0x323)](g[_0x5a7e7a(0x1db)])[_0x5a7e7a(0x15d)]())==null?void 0x0:_0x9ae757[0x0],_0x1471bb=this[_0x5a7e7a(0x3a6)][_0x5a7e7a(0x3a4)](a['UniverInstanceType'][_0x5a7e7a(0x28d)])['getActiveSheet']();_0x3933ab&&_0x1471bb&&this['_updateLocalCursor'](_0x1471bb[_0x5a7e7a(0x39b)](),_0x3933ab);}['_toggleOffline'](){const _0x34c1a8=_0x12d636;this[_0x34c1a8(0x398)]=!0x1;}};Se=ft([A(0x2,a[_0x12d636(0x23f)](a['Injector'])),A(0x3,a[_0x12d636(0x23f)](Ce)),A(0x4,a[_0x12d636(0x23f)](u[_0x12d636(0x2ff)])),A(0x5,a[_0x12d636(0x22f)]),A(0x6,a[_0x12d636(0x38d)]),A(0x7,a[_0x12d636(0x23f)](g[_0x12d636(0x150)]))],Se);var mt=Object[_0x12d636(0x152)],Ct=(_0x16677f,_0x5559c3,_0x409c6a,_0x837dcf)=>{const _0x4b0028=_0x12d636;for(var _0x11ecd6=_0x837dcf>0x1?void 0x0:_0x837dcf?mt(_0x5559c3,_0x409c6a):_0x5559c3,_0x590a77=_0x16677f[_0x4b0028(0x268)]-0x1,_0x160c3d;_0x590a77>=0x0;_0x590a77--)(_0x160c3d=_0x16677f[_0x590a77])&&(_0x11ecd6=_0x160c3d(_0x11ecd6)||_0x11ecd6);return _0x11ecd6;},ie=(_0xb422d2,_0xa789c3)=>(_0xe82fc4,_0xa23627)=>_0xa789c3(_0xe82fc4,_0xa23627,_0xb422d2);let x=class extends a[_0x12d636(0x2b2)]{constructor(_0x8b6b7d,_0x16931d,_0x3661fb){const _0x49fecc=_0x12d636;super(),h(this,_0x49fecc(0x2c0),new Map()),h(this,_0x49fecc(0x169),new d[(_0x49fecc(0x221))]()),(this['_univerInstanceService']=_0x8b6b7d,this[_0x49fecc(0x355)]=_0x16931d,this['_collabSessionService']=_0x3661fb,this[_0x49fecc(0x32b)]());}['dispose'](){const _0x469633=_0x12d636;super[_0x469633(0x3b2)](),this[_0x469633(0x169)][_0x469633(0x25e)](),this['_entities']['forEach'](_0xe3d78=>_0xe3d78[_0x469633(0x3b2)]());}[_0x12d636(0x1f1)](_0x402cc2){const _0x394780=_0x12d636;return this[_0x394780(0x2c0)][_0x394780(0x3a8)](_0x402cc2)?this[_0x394780(0x2c0)][_0x394780(0x323)](_0x402cc2)[_0x394780(0x14f)]:this[_0x394780(0x169)][_0x394780(0x33f)](d[_0x394780(0x1c2)](_0x3002e4=>_0x3002e4['unitID']===_0x402cc2),d[_0x394780(0x16c)](_0x1c6ff9=>_0x1c6ff9[_0x394780(0x14f)]));}['_init'](){const _0x50469f=_0x12d636;this[_0x50469f(0x3a6)][_0x50469f(0x389)](a[_0x50469f(0x216)]['UNIVER_SHEET'])['pipe'](d['takeUntil'](this['dispose$']))[_0x50469f(0x399)](async _0x3c68a2=>{const _0x47a1a5=_0x50469f,_0x4def2c=_0x3c68a2[_0x47a1a5(0x2e9)](),_0x32f81d=await this[_0x47a1a5(0x2e8)](_0x4def2c);this['_entityInit$'][_0x47a1a5(0x328)](_0x32f81d),this['_entities']['set'](_0x4def2c,_0x32f81d);}),this[_0x50469f(0x3a6)][_0x50469f(0x389)](a[_0x50469f(0x216)][_0x50469f(0x31e)])[_0x50469f(0x33f)](d['takeUntil'](this[_0x50469f(0x23d)]))[_0x50469f(0x33f)](d[_0x50469f(0x1c2)](_0x10ddd8=>!_0x10ddd8[_0x50469f(0x2e9)]()[_0x50469f(0x34c)]('__')))[_0x50469f(0x399)](async _0x4f5a02=>{const _0x3c7bd0=_0x50469f,_0x477b04=_0x4f5a02[_0x3c7bd0(0x2e9)](),_0x465fff=await this['_startDocCollabCursor'](_0x477b04);this[_0x3c7bd0(0x169)][_0x3c7bd0(0x328)](_0x465fff),this[_0x3c7bd0(0x2c0)][_0x3c7bd0(0x1d4)](_0x477b04,_0x465fff);}),d[_0x50469f(0x1d5)](this[_0x50469f(0x3a6)][_0x50469f(0x3b5)](a[_0x50469f(0x216)][_0x50469f(0x31e)]),this[_0x50469f(0x3a6)][_0x50469f(0x3b5)](a['UniverInstanceType'][_0x50469f(0x28d)]))[_0x50469f(0x33f)](d[_0x50469f(0x1cc)](this[_0x50469f(0x23d)]))[_0x50469f(0x399)](_0x2fe4d2=>{const _0x354cf5=_0x50469f,_0x5051be=_0x2fe4d2[_0x354cf5(0x2e9)](),_0x4685a3=this[_0x354cf5(0x2c0)]['get'](_0x5051be);_0x4685a3&&(_0x4685a3[_0x354cf5(0x3b2)](),this[_0x354cf5(0x2c0)][_0x354cf5(0x162)](_0x5051be));});}async['_startSheetCollabCursor'](_0x59f8b3){const _0x47c505=_0x12d636,_0x1ddd2d=await this[_0x47c505(0x1e8)][_0x47c505(0x302)](_0x59f8b3),_0x474703=this[_0x47c505(0x355)][_0x47c505(0x140)](Se,_0x59f8b3,_0x1ddd2d);return _0x474703[_0x47c505(0x254)](),_0x474703;}async[_0x12d636(0x279)](_0x539a47){const _0x4f0929=_0x12d636,_0xd61476=await this[_0x4f0929(0x1e8)][_0x4f0929(0x302)](_0x539a47),_0x5298fb=this[_0x4f0929(0x355)]['createInstance'](de,_0x539a47,_0xd61476);return _0x5298fb[_0x4f0929(0x254)](),_0x5298fb;}};x=Ct([ie(0x0,a[_0x12d636(0x22f)]),ie(0x1,a['Inject'](a[_0x12d636(0x307)])),ie(0x2,a['Inject'](u['CollaborationSessionService']))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x62084e,_0x20fb51){const _0x3ee346=_0x12d636;let {radius:_0x2c35c4,width:_0x5d70cd,height:_0x600414}=_0x20fb51;_0x2c35c4=_0x2c35c4!=null?_0x2c35c4:0x0,_0x5d70cd=_0x5d70cd!=null?_0x5d70cd:0x1e,_0x600414=_0x600414!=null?_0x600414:0x1e;let _0x14427c=0x0,_0xc12ee0=0x0,_0x31303d=0x0;_0x14427c=_0xc12ee0=_0x31303d=Math['min'](_0x2c35c4,_0x5d70cd/0x2,_0x600414/0x2),_0x62084e[_0x3ee346(0x16a)](),_0x62084e['moveTo'](_0x14427c,0x0),_0x62084e[_0x3ee346(0x17b)](_0x5d70cd-_0xc12ee0,0x0),_0x62084e['arc'](_0x5d70cd-_0xc12ee0,_0xc12ee0,_0xc12ee0,Math['PI']*0x3/0x2,0x0,!0x1),_0x62084e[_0x3ee346(0x17b)](_0x5d70cd,_0x600414-_0x31303d),_0x62084e[_0x3ee346(0x391)](_0x5d70cd-_0x31303d,_0x600414-_0x31303d,_0x31303d,0x0,Math['PI']/0x2,!0x1),_0x62084e[_0x3ee346(0x17b)](0x0,_0x600414),_0x62084e['lineTo'](0x0,_0x14427c),_0x62084e['arc'](_0x14427c,_0x14427c,_0x14427c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x62084e[_0x3ee346(0x365)](),_0x20fb51[_0x3ee346(0x23a)]&&(_0x62084e[_0x3ee346(0x1b8)](),_0x62084e['fillStyle']=_0x20fb51[_0x3ee346(0x23a)],_0x20fb51['fillRule']===_0x3ee346(0x278)?_0x62084e[_0x3ee346(0x23a)](_0x3ee346(0x278)):_0x62084e[_0x3ee346(0x23a)](),_0x62084e[_0x3ee346(0x30e)]());}class ee extends p['Shape']{constructor(_0x53809f,_0x2231e3){const _0x358a9a=_0x12d636;super(_0x53809f,_0x2231e3),h(this,_0x358a9a(0x351)),h(this,'text'),(this['color']=_0x2231e3==null?void 0x0:_0x2231e3['color'],this[_0x358a9a(0x165)]=_0x2231e3==null?void 0x0:_0x2231e3[_0x358a9a(0x165)]);}static[_0x12d636(0x1e7)](_0xff1dac,_0xc458ba){const _0xfb9ab5=_0x12d636,{text:_0x4bdcf6,color:_0x5f2548}=_0xc458ba;_0xff1dac['save'](),_0xff1dac['font']=_0xfb9ab5(0x39c);const _0x22c453=_0xff1dac[_0xfb9ab5(0x3b7)](_0x4bdcf6)[_0xfb9ab5(0x20f)],_0x4284c0=Math[_0xfb9ab5(0x236)](_0x22c453+0x2*ne,Te);Et(_0xff1dac,{'height':W,'radius':0x4,'width':_0x4284c0,'fill':_0x5f2548}),_0xff1dac[_0xfb9ab5(0x2d1)]=_0xfb9ab5(0x393);const _0x40acf2=ne,_0x2fcf89=W-pt,_0x43ace6=Te-0x2*ne;if(_0x22c453>_0x43ace6){let _0x20f3d5='',_0x5ee9c7=0x0;for(const _0x1eb419 of _0x4bdcf6){const _0x2eb5bb=_0xff1dac[_0xfb9ab5(0x3b7)](_0x1eb419)[_0xfb9ab5(0x20f)];if(_0x5ee9c7+_0x2eb5bb<=_0x43ace6-_0xff1dac[_0xfb9ab5(0x3b7)](_0xfb9ab5(0x171))[_0xfb9ab5(0x20f)])_0x20f3d5+=_0x1eb419,_0x5ee9c7+=_0x2eb5bb;else{_0x20f3d5+=_0xfb9ab5(0x171);break;}}_0xff1dac[_0xfb9ab5(0x136)](_0x20f3d5,_0x40acf2,_0x2fcf89);}else _0xff1dac[_0xfb9ab5(0x136)](_0x4bdcf6,_0x40acf2,_0x2fcf89);_0xff1dac[_0xfb9ab5(0x30e)]();}[_0x12d636(0x3ac)](_0xecd530){const _0x4f8c23=_0x12d636;ee[_0x4f8c23(0x1e7)](_0xecd530,this);}}const re=_0x12d636(0x25c),bt=_0x12d636(0x19d),Ot=_0x12d636(0x38a),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x12d636(0x1f5);class Re{constructor(_0x20c54d,_0xae7f41,_0x3cb9c6,_0x2ec688){const _0x31b400=_0x12d636;h(this,_0x31b400(0x1aa),[]),h(this,_0x31b400(0x34e),null),h(this,_0x31b400(0x2ea),null),h(this,_0x31b400(0x1c9),null),h(this,_0x31b400(0x187),null),h(this,_0x31b400(0x33c),null),(this[_0x31b400(0x1cd)]=_0x20c54d,this[_0x31b400(0x39f)]=_0xae7f41,this[_0x31b400(0x36e)]=_0x3cb9c6,this[_0x31b400(0x1ec)]=_0x2ec688,this[_0x31b400(0x2c6)]());}set[_0x12d636(0x242)](_0x470381){const _0x2875e4=_0x12d636;_0x470381?(this[_0x2875e4(0x1c9)]&&this[_0x2875e4(0x1c9)][_0x2875e4(0x321)](),this['_textBubble']&&this[_0x2875e4(0x2ea)][_0x2875e4(0x1d6)]()):(this[_0x2875e4(0x1c9)]&&this[_0x2875e4(0x1c9)]['show'](),this[_0x2875e4(0x2ea)]&&this['_textBubble'][_0x2875e4(0x321)]());}[_0x12d636(0x3b2)](){const _0x12ebd0=_0x12d636;for(const _0x5c714b of this[_0x12ebd0(0x1aa)])_0x5c714b[_0x12ebd0(0x3b2)]();this[_0x12ebd0(0x2ea)]&&this[_0x12ebd0(0x2ea)][_0x12ebd0(0x3b2)](),this['_anchorDot']&&this[_0x12ebd0(0x1c9)][_0x12ebd0(0x3b2)](),this[_0x12ebd0(0x34e)]&&this[_0x12ebd0(0x34e)]['dispose'](),this[_0x12ebd0(0x33c)]&&this[_0x12ebd0(0x33c)]();}['_render'](){const _0x23190d=_0x12d636;var _0x95f6f8;const {_docSkeleton:_0x155aec,_document:_0x16d75f}=this,{color:_0x265f96,name:_0x27adb8,ranges:_0x160515}=this[_0x23190d(0x1cd)],_0x4de601=_0x16d75f[_0x23190d(0x21e)](),{docsLeft:_0xd99bb1,docsTop:_0x1cf945}=_0x4de601,_0x31308c=new E[(_0x23190d(0x224))](_0x4de601,_0x155aec);for(const {startOffset:_0xd3709b,endOffset:_0x1edb62,rangeType:_0x1681d6,segmentId:_0x41dba3,segmentPage:_0x18fa6e,collapsed:_0x29c158,isActive:_0x5b791e}of _0x160515){const _0x29ae91=_0x155aec[_0x23190d(0x274)](_0xd3709b,!0x0,_0x41dba3,_0x18fa6e);let _0x248f0c=_0x155aec[_0x23190d(0x274)](_0x1edb62,!0x0,_0x41dba3,_0x18fa6e);if(_0x248f0c==null&&(_0x248f0c=_0x155aec['findNodePositionByCharIndex'](_0x1edb62-0x1,!0x1,_0x41dba3,_0x18fa6e)),_0x5b791e){const {contentBoxPointGroup:_0x2160c4}=_0x31308c[_0x23190d(0x19f)](_0x248f0c,_0x248f0c);if(_0x2160c4[_0x23190d(0x268)]===0x0)continue;this[_0x23190d(0x164)](_0x265f96,_0x2160c4,_0xd99bb1,_0x1cf945,_0x27adb8),this[_0x23190d(0x33c)]=this[_0x23190d(0x144)]();}if(_0x29ae91&&_0x248f0c){if(_0x1681d6===a[_0x23190d(0x311)][_0x23190d(0x282)]){const _0x5c60c9=new E[(_0x23190d(0x19c))](_0x4de601,_0x155aec),{pointGroup:_0x5b3439}=(_0x95f6f8=_0x5c60c9['getRangePointData'](_0x29ae91,_0x248f0c))!=null?_0x95f6f8:{};if(_0x5b3439==null||_0x5b3439[_0x23190d(0x268)]===0x0)continue;this['_drawRectRange'](_0x265f96,_0x5b3439,_0xd99bb1,_0x1cf945);}else{if(!_0x29c158){const {borderBoxPointGroup:_0x2c721c}=_0x31308c[_0x23190d(0x19f)](_0x29ae91,_0x248f0c);if(_0x2c721c[_0x23190d(0x268)]===0x0)continue;this[_0x23190d(0x39d)](_0x265f96,_0x2c721c,_0xd99bb1,_0x1cf945);}}}}}[_0x12d636(0x164)](_0x3b328f,_0x408d39,_0x4b9ac7,_0x394ca8,_0x2ebdf6){const _0x33ea0c=_0x12d636,_0x1d5df7=this[_0x33ea0c(0x205)](_0x408d39),{left:_0x15c5cb,top:_0x56a9d7,height:_0x2c37fa}=_0x1d5df7,_0x56b4e1=this[_0x33ea0c(0x172)](),_0x511dec=Rt/_0x56b4e1,_0x505789=new p[(_0x33ea0c(0x288))](re+a['generateRandomId'](F),{'left':_0x15c5cb+_0x4b9ac7-_0x511dec,'top':_0x56a9d7+_0x394ca8,'height':_0x2c37fa,'width':Tt,'fill':_0x3b328f||p[_0x33ea0c(0x1cf)](a['COLORS'][_0x33ea0c(0x2bb)],0x0),'strokeWidth':_0x511dec,'stroke':Dt,'evented':!0x0});this[_0x33ea0c(0x34e)]=_0x505789,this[_0x33ea0c(0x39f)][_0x33ea0c(0x267)](_0x505789,E[_0x33ea0c(0x287)]);const _0x2c2b0a=new p[(_0x33ea0c(0x288))](re+a['generateRandomId'](F),{'left':_0x15c5cb+_0x4b9ac7-_0x511dec,'top':_0x56a9d7+_0x394ca8-oe/0x2,'height':oe,'width':oe,'fill':_0x3b328f||p[_0x33ea0c(0x1cf)](a[_0x33ea0c(0x3af)][_0x33ea0c(0x2bb)],0x0),'strokeWidth':0x0,'stroke':_0x3b328f||p[_0x33ea0c(0x1cf)](a[_0x33ea0c(0x3af)][_0x33ea0c(0x2bb)],0x0),'evented':!0x1});this[_0x33ea0c(0x1c9)]=_0x2c2b0a,this[_0x33ea0c(0x39f)][_0x33ea0c(0x267)](_0x2c2b0a,E['TEXT_RANGE_LAYER_INDEX']);const _0x48e868=new ee(re+a[_0x33ea0c(0x189)](F),{'left':_0x15c5cb+_0x4b9ac7-_0x511dec,'top':_0x56a9d7+_0x394ca8-W,'text':_0x2ebdf6,'color':_0x3b328f});this[_0x33ea0c(0x2ea)]=_0x48e868,this[_0x33ea0c(0x39f)][_0x33ea0c(0x267)](_0x48e868,E[_0x33ea0c(0x287)]),this[_0x33ea0c(0x242)]=!0x1;}[_0x12d636(0x144)](){const _0x41ea9a=_0x12d636,_0x79c4ca=this[_0x41ea9a(0x34e)]['onPointerEnter$'][_0x41ea9a(0x237)](()=>{const _0x51698e=_0x41ea9a;this[_0x51698e(0x242)]=!0x0;}),_0x35b85d=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x5eda1d=_0x41ea9a;this[_0x5eda1d(0x187)]&&clearTimeout(this[_0x5eda1d(0x187)]),this[_0x5eda1d(0x187)]=setTimeout(()=>{const _0x280d4e=_0x5eda1d;this[_0x280d4e(0x242)]=!0x1;},0x7d0);});return()=>{const _0x431e72=_0x41ea9a;_0x79c4ca[_0x431e72(0x196)](),_0x35b85d[_0x431e72(0x196)]();};}[_0x12d636(0x39d)](_0xc646a4,_0x36bc6e,_0x2f528f,_0x31e646){const _0x38fd2d=_0x12d636,_0x4829f4=new a[(_0x38fd2d(0x27b))](_0xc646a4)[_0x38fd2d(0x29b)](0.2)[_0x38fd2d(0x213)](),_0x5f50ee=new p[(_0x38fd2d(0x153))](bt+a[_0x38fd2d(0x189)](F),{'pointsGroup':_0x36bc6e,'fill':_0x4829f4||p['getColor'](a[_0x38fd2d(0x3af)][_0x38fd2d(0x2bb)],0.2),'left':_0x2f528f,'top':_0x31e646,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x38fd2d(0x38f)](_0x5f50ee),this[_0x38fd2d(0x39f)][_0x38fd2d(0x267)](_0x5f50ee,E[_0x38fd2d(0x287)]);}[_0x12d636(0x35d)](_0x67ba51,_0x576612,_0x41608c,_0x6a2209){const _0x2564bc=_0x12d636,_0x57fd50=new a['ColorKit'](_0x67ba51)[_0x2564bc(0x29b)](0.2)[_0x2564bc(0x213)](),_0x3ba6ec=new p[(_0x2564bc(0x153))](Ot+a[_0x2564bc(0x189)](F),{'pointsGroup':_0x576612,'fill':_0x57fd50||p[_0x2564bc(0x1cf)](a[_0x2564bc(0x3af)][_0x2564bc(0x2bb)],0.2),'left':_0x41608c,'top':_0x6a2209,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2564bc(0x1aa)]['push'](_0x3ba6ec),this[_0x2564bc(0x39f)][_0x2564bc(0x267)](_0x3ba6ec,E[_0x2564bc(0x287)]);}[_0x12d636(0x205)](_0x35a158){const _0x3d1312=_0x35a158[0x0],_0x45b052=_0x3d1312[0x0],_0x2c28af=_0x3d1312[0x2],{x:_0x359d57,y:_0x5e0e8b}=_0x45b052,{x:_0x43456b,y:_0x3fe6f0}=_0x2c28af;return{'left':_0x359d57,'top':_0x5e0e8b,'width':_0x43456b-_0x359d57,'height':_0x3fe6f0-_0x5e0e8b};}['_getScale'](){const _0x24b0a4=_0x12d636,{scaleX:_0x3776e9,scaleY:_0x5d6490}=this[_0x24b0a4(0x39f)][_0x24b0a4(0x29e)]();return Math[_0x24b0a4(0x1a0)](_0x3776e9,_0x5d6490);}}var Ut=Object[_0x12d636(0x152)],Nt=(_0x484aeb,_0x25acda,_0x267865,_0x7e566a)=>{const _0x342167=_0x12d636;for(var _0x5afd27=_0x7e566a>0x1?void 0x0:_0x7e566a?Ut(_0x25acda,_0x267865):_0x25acda,_0x19f779=_0x484aeb[_0x342167(0x268)]-0x1,_0x4f161f;_0x19f779>=0x0;_0x19f779--)(_0x4f161f=_0x484aeb[_0x19f779])&&(_0x5afd27=_0x4f161f(_0x5afd27)||_0x5afd27);return _0x5afd27;},X=(_0x265261,_0x3b2282)=>(_0x4a6229,_0x10c62c)=>_0x3b2282(_0x4a6229,_0x10c62c,_0x265261);let fe=class extends a[_0x12d636(0x2b2)]{constructor(_0x373e9e,_0x4a2fc6,_0x4a5c0c,_0x31a76d,_0x518d3d){const _0x49b6c0=_0x12d636;super(),h(this,_0x49b6c0(0x320),[]),h(this,_0x49b6c0(0x357),[]),(this[_0x49b6c0(0x21c)]=_0x373e9e,this[_0x49b6c0(0x33b)]=_0x4a2fc6,this[_0x49b6c0(0x30c)]=_0x4a5c0c,this[_0x49b6c0(0x22c)]=_0x31a76d,this['_themeService']=_0x518d3d,this[_0x49b6c0(0x32b)]());}[_0x12d636(0x32b)](){const _0x4dba55=_0x12d636,_0x27e857=this[_0x4dba55(0x21c)]['unitId'],_0x4c9e7f=this[_0x4dba55(0x33b)];this[_0x4dba55(0x2ad)](d[_0x4dba55(0x24d)]([this['_collabCursorController'][_0x4dba55(0x1f1)](_0x27e857),this[_0x4dba55(0x1d8)][_0x4dba55(0x163)]])[_0x4dba55(0x33f)]($[_0x4dba55(0x155)](([_0x182171,_0xc8d9d8])=>({'skeleton':_0x4c9e7f['getSkeleton'](),'cursors':[..._0x182171['values']()][_0x4dba55(0x33a)](_0xbee3cd=>({..._0xbee3cd,'color':this[_0x4dba55(0x1d8)][_0x4dba55(0x1c4)](_0xbee3cd[_0x4dba55(0x351)])}))})))[_0x4dba55(0x399)](_0x4c3a36=>{if(this['_removeCollabCursors'](),_0x4c3a36){const {skeleton:_0x2ca801,cursors:_0x2aa145}=_0x4c3a36;this['_updateCollabCursors'](_0x2ca801,_0x2aa145);}})),this[_0x4dba55(0x262)](),this['_initCommandExecutedListener']();}[_0x12d636(0x2f5)](_0x17309c,_0x3c78e9){const _0x5d61f0=_0x12d636,{scene:_0x12f959,mainComponent:_0x3a262c}=this[_0x5d61f0(0x21c)],_0x3f1bd1=_0x3c78e9[_0x5d61f0(0x155)](_0x8a5921=>new Re(_0x8a5921,_0x12f959,_0x17309c,_0x3a262c));this['_cursorShapes']=_0x3f1bd1,this[_0x5d61f0(0x357)]=_0x3c78e9;}[_0x12d636(0x361)](){const _0x21d649=_0x12d636;this['_removeCollabCursors']();const {scene:_0x510c74,mainComponent:_0x138942}=this['_context'],_0x2395a9=this[_0x21d649(0x33b)][_0x21d649(0x298)](),_0x39548d=this[_0x21d649(0x357)][_0x21d649(0x155)](_0x257963=>new Re(_0x257963,_0x510c74,_0x2395a9,_0x138942));this[_0x21d649(0x320)]=_0x39548d;}[_0x12d636(0x222)](){const _0xec75f9=_0x12d636;this[_0xec75f9(0x320)][_0xec75f9(0x266)](_0x235ab7=>_0x235ab7['dispose']()),this[_0xec75f9(0x320)]=[];}[_0x12d636(0x248)](){const _0x4d0717=_0x12d636,_0x36bced=[E[_0x4d0717(0x1f8)]['id']];this[_0x4d0717(0x2ad)](this[_0x4d0717(0x22c)]['onCommandExecuted'](_0x3e47b8=>{const _0x212090=_0x4d0717;_0x36bced[_0x212090(0x1fa)](_0x3e47b8['id'])&&_0x3e47b8[_0x212090(0x1b9)][_0x212090(0x387)]===this[_0x212090(0x21c)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x3f5c5e=_0x12d636;this['disposeWithMe'](a[_0x3f5c5e(0x3a1)](this[_0x3f5c5e(0x21c)][_0x3f5c5e(0x2f8)]['onTransformChange$'])['pipe']($['filter'](_0x3d2f6a=>_0x3d2f6a[_0x3f5c5e(0x1bd)]===p[_0x3f5c5e(0x377)]['resize']),$[_0x3f5c5e(0x1da)](0x10))[_0x3f5c5e(0x399)](()=>{this['_refreshCollabCursors']();}));}};fe=Nt([X(0x1,a['Inject'](Y[_0x12d636(0x2f3)])),X(0x2,a[_0x12d636(0x23f)](x)),X(0x3,a['ICommandService']),X(0x4,a[_0x12d636(0x23f)](a[_0x12d636(0x1d9)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x12d636(0x2af)]{constructor(_0x3b581f,_0x4384dc){const _0x485b53=_0x12d636;super(_0x3b581f,_0x4384dc),h(this,_0x485b53(0x188)),h(this,_0x485b53(0x1a3),!0x1),h(this,_0x485b53(0x2c7)),h(this,_0x485b53(0x178),''),h(this,_0x485b53(0x1a6),_0x485b53(0x280)),h(this,_0x485b53(0x2bd)),(_0x4384dc&&this['setShapeProps'](_0x4384dc),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x485b53(0x251)]({'hovered':!0x0})),this[_0x485b53(0x30f)][_0x485b53(0x237)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x750eda){const _0x2f45a1=_0x12d636;var _0x19c29b,_0xf03633,_0x40008f,_0x375010,_0x3c3ad4,_0x47678e;this[_0x2f45a1(0x188)]=(_0x19c29b=_0x750eda['color'])!=null?_0x19c29b:this[_0x2f45a1(0x188)],this[_0x2f45a1(0x1a3)]=(_0xf03633=_0x750eda[_0x2f45a1(0x1ba)])!=null?_0xf03633:this['_hovered'],this[_0x2f45a1(0x2c7)]=(_0x40008f=_0x750eda[_0x2f45a1(0x23e)])!=null?_0x40008f:this[_0x2f45a1(0x2c7)],this['_name']=(_0x375010=_0x750eda[_0x2f45a1(0x138)])!=null?_0x375010:this[_0x2f45a1(0x178)],this[_0x2f45a1(0x1a6)]=(_0x3c3ad4=_0x750eda[_0x2f45a1(0x229)])!=null?_0x3c3ad4:this[_0x2f45a1(0x1a6)],this[_0x2f45a1(0x2bd)]=(_0x47678e=_0x750eda[_0x2f45a1(0x176)])!=null?_0x47678e:this[_0x2f45a1(0x2bd)],this[_0x2f45a1(0x159)]({'width':_0x750eda[_0x2f45a1(0x20f)],'height':_0x750eda[_0x2f45a1(0x235)]});}[_0x12d636(0x1f0)](_0x2e1e2f){const _0x40105f=_0x12d636,{row:_0x4d9bdd,column:_0x31de06}=_0x2e1e2f;if(_0x4d9bdd>=this[_0x40105f(0x2c7)][_0x40105f(0x18b)]&&_0x4d9bdd<=this[_0x40105f(0x2c7)]['endRow']&&_0x31de06>=this[_0x40105f(0x2c7)][_0x40105f(0x2c2)]&&_0x31de06<=this[_0x40105f(0x2c7)][_0x40105f(0x142)]){this[_0x40105f(0x251)]({'hovered':!0x0});return;}this[_0x40105f(0x251)]({'hovered':!0x1});}[_0x12d636(0x139)](_0x4a8f6a){return!0x1;}['_draw'](_0x5cbfbc){const _0x2a297b=_0x12d636;p[_0x2a297b(0x288)][_0x2a297b(0x1e7)](_0x5cbfbc,{'width':this[_0x2a297b(0x20f)],'height':this[_0x2a297b(0x235)],'strokeWidth':Lt,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x2a297b(0x1a3)]&&(_0x5cbfbc[_0x2a297b(0x1b8)](),_0x5cbfbc[_0x2a297b(0x2f4)](0x1,0x0,0x0,0x1,this[_0x2a297b(0x20f)],this[_0x2a297b(0x1a6)]===_0x2a297b(0x2bf)?0x0:-W),ee[_0x2a297b(0x1e7)](_0x5cbfbc,{'text':this[_0x2a297b(0x178)],'color':this['_color']}),_0x5cbfbc[_0x2a297b(0x30e)]());}}var Pt=Object[_0x12d636(0x152)],wt=(_0x270e64,_0x35173c,_0x20046f,_0x27fdc3)=>{const _0xeed45b=_0x12d636;for(var _0x643b4f=_0x27fdc3>0x1?void 0x0:_0x27fdc3?Pt(_0x35173c,_0x20046f):_0x35173c,_0x45f3df=_0x270e64[_0xeed45b(0x268)]-0x1,_0x103740;_0x45f3df>=0x0;_0x45f3df--)(_0x103740=_0x270e64[_0x45f3df])&&(_0x643b4f=_0x103740(_0x643b4f)||_0x643b4f);return _0x643b4f;},ae=(_0x5bde95,_0x52921b)=>(_0x29cdfa,_0x54ddab)=>_0x52921b(_0x29cdfa,_0x54ddab,_0x5bde95);const At=0x1389;let Ie=class extends a[_0x12d636(0x2b2)]{constructor(_0x573aa4,_0x524a30,_0x49f11f,_0x42fba5){const _0x177f71=_0x12d636;super(),h(this,_0x177f71(0x357),new Set()),h(this,_0x177f71(0x2a3),null),(this[_0x177f71(0x21c)]=_0x573aa4,this['_sheetSkeletonManagerService']=_0x524a30,this[_0x177f71(0x30c)]=_0x49f11f,this[_0x177f71(0x1d8)]=_0x42fba5,this[_0x177f71(0x32b)]());}[_0x12d636(0x32b)](){const _0x312e02=_0x12d636;this[_0x312e02(0x2a5)][_0x312e02(0x1df)]['pipe']($[_0x312e02(0x1cc)](this[_0x312e02(0x23d)]),$[_0x312e02(0x16c)](_0x4caeeb=>{const _0x242fbe=_0x312e02;if(_0x4caeeb){const _0x41e2d9=_0x4caeeb[_0x242fbe(0x227)];return d[_0x242fbe(0x24d)](this[_0x242fbe(0x30c)][_0x242fbe(0x1f1)](this[_0x242fbe(0x21c)][_0x242fbe(0x387)]),this[_0x242fbe(0x1d8)][_0x242fbe(0x163)])[_0x242fbe(0x33f)]($[_0x242fbe(0x155)](([_0x5af244,_0x4f789f])=>{const _0x2fd452=_0x242fbe,_0x32ccd3=new Map();return _0x5af244[_0x2fd452(0x266)]((_0x5e9076,_0x32ae9f)=>{const _0x742697=_0x2fd452;if(_0x5e9076['sheetID']===_0x41e2d9){const _0x3364e8={..._0x5e9076};_0x3364e8[_0x742697(0x351)]=this[_0x742697(0x1d8)][_0x742697(0x1c4)](_0x5e9076['color']),_0x32ccd3['set'](_0x32ae9f,_0x3364e8);}}),{'skeleton':_0x4caeeb,'cursors':_0x32ccd3};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4d3fbf,cursors:_0x594ed0})=>{const _0x552230=_0x312e02;this[_0x552230(0x222)](),_0x4d3fbf&&this['_updateCollabCursors'](_0x4d3fbf,_0x594ed0);}),this[_0x312e02(0x2a5)][_0x312e02(0x1df)]['subscribe'](_0x9d706f=>{const _0x554d96=_0x312e02;if(_0x9d706f==null)return;const {skeleton:_0x4cfdfc}=_0x9d706f,{scene:_0x2e8e18}=this[_0x554d96(0x21c)];_0x2e8e18[_0x554d96(0x202)][_0x554d96(0x237)](a[_0x554d96(0x353)](_0x17df49=>{const _0x529007=_0x554d96;var _0x4946d3,_0xc8b91c;const {offsetX:_0x577708,offsetY:_0x53c983}=_0x17df49,{x:_0x342144,y:_0x67407}=_0x2e8e18[_0x529007(0x225)](p[_0x529007(0x23c)][_0x529007(0x2df)]([_0x577708,_0x53c983])),{scaleX:_0xc49433,scaleY:_0x4d411b}=_0x2e8e18[_0x529007(0x29e)](),_0x3b8b9e=_0x2e8e18[_0x529007(0x18e)](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x374822=_0x2e8e18[_0x529007(0x325)](p[_0x529007(0x23c)][_0x529007(0x2df)]([_0x342144,_0x67407]),_0x3b8b9e),_0x476b63=_0x4cfdfc[_0x529007(0x1d2)](_0x577708,_0x53c983,_0xc49433,_0x4d411b,_0x374822);((_0x4946d3=this[_0x529007(0x2a3)])==null?void 0x0:_0x4946d3[_0x529007(0x369)])===_0x476b63['column']&&((_0xc8b91c=this['_lastPointer'])==null?void 0x0:_0xc8b91c[_0x529007(0x314)])===_0x476b63[_0x529007(0x314)]||this['_cursors'][_0x529007(0x266)](_0x23ebb8=>{_0x23ebb8['onMouseMove'](_0x476b63);});},0x64));});}[_0x12d636(0x2f5)](_0x570106,_0x269df8){const _0x29ea6c=_0x12d636;var _0x4b5a89;const _0x41ea35=(_0x4b5a89=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x4b5a89['skeleton'];if(!_0x41ea35)return;const _0x20f50f=this[_0x29ea6c(0x230)]();if(!_0x20f50f)return;this[_0x29ea6c(0x357)]['forEach'](_0x329443=>{const _0x58c543=_0x29ea6c;_0x329443[_0x58c543(0x32a)]();});const {scene:_0x2f4cdf}=_0x20f50f,_0x4322d1=yt(Array[_0x29ea6c(0x151)](_0x269df8[_0x29ea6c(0x1ff)]()))['map'](_0x2e1359=>{const _0x72703c=_0x29ea6c,{color:_0x90f230,range:_0xd1447e,name:_0x271305,selection:_0x222c70,sheetID:_0x176820}=_0x2e1359,{startColumn:_0x1fdc54,startRow:_0x5775ea,endColumn:_0x4f4503,endRow:_0xf618ff}=_0xd1447e,_0x57713d=G[_0x72703c(0x395)](_0x5775ea,_0x1fdc54,_0x2f4cdf,_0x41ea35),_0x295456=G['getCoordByCell'](_0xf618ff,_0x4f4503,_0x2f4cdf,_0x41ea35),{columnHeaderHeightAndMarginTop:_0x30b665}=_0x41ea35,{startX:_0x3bb7ad,startY:_0x1150c6}=_0x57713d,{endX:_0x552734,endY:_0x23f560}=_0x295456,_0x6554bc=_0x552734-_0x3bb7ad,_0x1ac2ee=_0x23f560-_0x1150c6,_0x355313={'labelPosition':_0x1150c6-_0x30b665>=W?_0x72703c(0x280):_0x72703c(0x2bf),'sheetID':_0x176820,'range':_0xd1447e,'color':_0x90f230,'name':_0x271305,'selection':_0x222c70,'left':_0x3bb7ad,'top':_0x1150c6,'width':_0x6554bc,'height':_0x1ac2ee,'evented':!0x1,'zIndex':At};return new $e(_0x271305,_0x355313);});_0x2f4cdf[_0x29ea6c(0x1fd)](_0x4322d1,Mt),this[_0x29ea6c(0x357)]=new Set(_0x4322d1);}[_0x12d636(0x222)](){const _0x46152c=_0x12d636;var _0x256fe6;(_0x256fe6=this['_cursors'])==null||_0x256fe6['forEach'](_0x47dafb=>_0x47dafb[_0x46152c(0x3b2)]());}[_0x12d636(0x230)](){const _0x577900=_0x12d636;return G['getSheetObject'](this[_0x577900(0x21c)][_0x577900(0x35c)],this[_0x577900(0x21c)]);}};Ie=wt([ae(0x1,a[_0x12d636(0x23f)](G['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x12d636(0x23f)](a[_0x12d636(0x1d9)]))],Ie);function yt(_0x56758f){const _0x11256c=_0x12d636,_0x798f4e=new Map();return _0x56758f['forEach'](_0x10af3c=>{const _0x264a38=_0x2c71;if(_0x798f4e[_0x264a38(0x3a8)](_0x10af3c[_0x264a38(0x290)])){const _0x3d1d4d=_0x798f4e[_0x264a38(0x323)](_0x10af3c[_0x264a38(0x290)]);_0x3d1d4d['name']+=',\x20'+_0x10af3c[_0x264a38(0x138)];}else _0x798f4e[_0x264a38(0x1d4)](_0x10af3c['selection'],_0x10af3c);}),Array[_0x11256c(0x151)](_0x798f4e[_0x11256c(0x1ff)]());}var $t=Object[_0x12d636(0x152)],xt=(_0x41762e,_0x580689,_0x49ebae,_0x25bdb8)=>{const _0x1628f3=_0x12d636;for(var _0x1774c4=_0x25bdb8>0x1?void 0x0:_0x25bdb8?$t(_0x580689,_0x49ebae):_0x580689,_0x563819=_0x41762e[_0x1628f3(0x268)]-0x1,_0x1c2e1d;_0x563819>=0x0;_0x563819--)(_0x1c2e1d=_0x41762e[_0x563819])&&(_0x1774c4=_0x1c2e1d(_0x1774c4)||_0x1774c4);return _0x1774c4;},y=(_0x31da7d,_0x50b671)=>(_0x10d9c3,_0x5f58e0)=>_0x50b671(_0x10d9c3,_0x5f58e0,_0x31da7d);let q=class extends a[_0x12d636(0x37e)]{constructor(_0x22edd2,_0x1f1134,_0x2ee691,_0x2bb0fb,_0x5c40fc,_0x15f581){const _0x5687bc=_0x12d636;super(),this[_0x5687bc(0x215)]=_0x22edd2,this[_0x5687bc(0x276)]=_0x1f1134,this[_0x5687bc(0x1ab)]=_0x2ee691,this['_messageService']=_0x2bb0fb,this[_0x5687bc(0x34a)]=_0x5c40fc,this[_0x5687bc(0x246)]=_0x15f581,this[_0x5687bc(0x285)](),this[_0x5687bc(0x20b)]();}[_0x12d636(0x285)](){const _0x1f03c9=_0x12d636;this[_0x1f03c9(0x2ad)](this[_0x1f03c9(0x215)]['registerBeforeClose'](()=>{const _0x299fb2=_0x1f03c9;if(this[_0x299fb2(0x276)][_0x299fb2(0x26d)][_0x299fb2(0x1fe)])return this[_0x299fb2(0x246)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x12d636(0x20b)](){const _0x146764=_0x12d636;this[_0x146764(0x2ad)](this['_collaborationUIEventService'][_0x146764(0x3b3)][_0x146764(0x399)](_0xf6d05d=>{const _0x2f469f=_0x146764;_0xf6d05d['id']===u[_0x2f469f(0x2c5)][_0x2f469f(0x345)]&&this[_0x2f469f(0x1f7)][_0x2f469f(0x1d6)]({'type':D['MessageType'][_0x2f469f(0x35b)],'content':this[_0x2f469f(0x246)]['t']('collaboration.single-unit.warning')}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':D['MessageType'][_0x2f469f(0x35b)],'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x1d1))}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)][_0x2f469f(0x2d4)]&&this[_0x2f469f(0x34a)][_0x2f469f(0x1d6)]({'title':this['_localeService']['t'](_0x2f469f(0x19a)),'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x252)),'type':'error','duration':0x0}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)]['CONFLICT']&&this[_0x2f469f(0x1f7)][_0x2f469f(0x1d6)]({'type':D[_0x2f469f(0x211)][_0x2f469f(0x312)],'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x1d1))+'('+_0xf6d05d['data']+')'}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)][_0x2f469f(0x2d8)]&&this['_messageService']['show']({'type':D['MessageType']['Warning'],'content':this[_0x2f469f(0x246)]['t'](_0xf6d05d[_0x2f469f(0x28a)]||'')}),_0xf6d05d['id']===u['CollaborationUIEventId'][_0x2f469f(0x2b9)]&&this[_0x2f469f(0x1f7)][_0x2f469f(0x1d6)]({'type':D['MessageType'][_0x2f469f(0x35b)],'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x344))}),_0xf6d05d['id']===u['CollaborationUIEventId'][_0x2f469f(0x2e3)]&&this[_0x2f469f(0x1f7)]['show']({'type':D[_0x2f469f(0x211)]['Error'],'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x3ae))}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)][_0x2f469f(0x1a1)]&&this['_messageService']['show']({'type':D[_0x2f469f(0x211)][_0x2f469f(0x312)],'content':this[_0x2f469f(0x246)]['t']('session.collaboration-timeout')});}));}};q=xt([y(0x0,O[_0x12d636(0x16f)]),y(0x1,u[_0x12d636(0x313)]),y(0x2,a[_0x12d636(0x23f)](u[_0x12d636(0x149)])),y(0x3,O[_0x12d636(0x32f)]),y(0x4,O['INotificationService']),y(0x5,a['Inject'](a[_0x12d636(0x18f)]))],q);const Bt='collaboration-client-ui.config',De={};var jt=Object[_0x12d636(0x152)],kt=(_0x3be666,_0x35b2f4,_0x4e78c8,_0x10dd07)=>{const _0x3ca85b=_0x12d636;for(var _0x49390d=_0x10dd07>0x1?void 0x0:_0x10dd07?jt(_0x35b2f4,_0x4e78c8):_0x35b2f4,_0x32ccec=_0x3be666[_0x3ca85b(0x268)]-0x1,_0x5d1e6b;_0x32ccec>=0x0;_0x32ccec--)(_0x5d1e6b=_0x3be666[_0x32ccec])&&(_0x49390d=_0x5d1e6b(_0x49390d)||_0x49390d);return _0x49390d;},Ue=(_0xccc2a,_0xce5fe1)=>(_0x3938cd,_0x34ccbb)=>_0xce5fe1(_0x3938cd,_0x34ccbb,_0xccc2a);let z=class{constructor(_0x3d1838,_0x9f3f7){const _0x259977=_0x12d636;this[_0x259977(0x17e)]=_0x3d1838,this[_0x259977(0x2e6)]=_0x9f3f7;}[_0x12d636(0x175)](_0x28525d){const _0x54370a=_0x12d636;this[_0x54370a(0x2a6)](_0x28525d),this[_0x54370a(0x2fa)](_0x28525d);}[_0x12d636(0x334)](_0xe5190c){const _0x49d268=_0x12d636,{unitID:_0x1f39b9}=_0xe5190c,_0x43fe64=this['_renderManagerService'][_0x49d268(0x2ed)](_0x1f39b9)[_0x49d268(0x168)](E[_0x49d268(0x2d6)]),{redoCache:_0x3a8169}=_0x43fe64[_0x49d268(0x253)]();if(_0x3a8169[_0x49d268(0x268)]===0x0)return _0xe5190c;let _0x2752ae=a[_0x49d268(0x2c9)]['deepClone'](_0xe5190c[_0x49d268(0x1fb)][0x0]);for(let _0x500b8b=0x0;_0x500b8b<_0x3a8169[_0x49d268(0x268)];_0x500b8b++){const _0x5c1b9c={'id':_0x49d268(0x1ac),'params':{..._0x3a8169[_0x500b8b]}},_0x278f2d=this['_transformService']['transformMutation'](_0x2752ae,_0x5c1b9c,!0x1);if(m[_0x49d268(0x375)](_0x278f2d))throw _0x278f2d[_0x49d268(0x34f)];_0x2752ae=_0x278f2d[_0x49d268(0x2c8)];}return{...a[_0x49d268(0x2c9)][_0x49d268(0x2f6)](_0xe5190c),'mutations':[_0x2752ae]};}[_0x12d636(0x2a6)](_0x3c21b8){const _0x53f1a8=_0x12d636,{unitID:_0xc393c5}=_0x3c21b8,_0x4238e4=this[_0x53f1a8(0x2e6)][_0x53f1a8(0x2ed)](_0xc393c5)[_0x53f1a8(0x168)](E[_0x53f1a8(0x2d6)]),{undoCache:_0x5df37d,redoCache:_0x2bbd6b}=_0x4238e4[_0x53f1a8(0x253)]();if(_0x5df37d['length']===0x0||_0x2bbd6b[_0x53f1a8(0x268)]===0x0)return;const _0x3ae781=[],_0x417dbf=[];let _0x2f8472=a['Tools'][_0x53f1a8(0x2f6)](_0x3c21b8[_0x53f1a8(0x1fb)][0x0]),_0x281ea9=a[_0x53f1a8(0x2c9)][_0x53f1a8(0x2f6)](_0x3c21b8[_0x53f1a8(0x1fb)][0x0]);for(let _0x3ef7dc=_0x5df37d['length']-0x1;_0x3ef7dc>=0x0;_0x3ef7dc--){const _0x15aba7={'id':_0x53f1a8(0x1ac),'params':{..._0x5df37d[_0x3ef7dc]}},_0x10a049={'id':'doc.mutation.rich-text-editing','params':{..._0x2bbd6b[_0x3ef7dc]}},_0x212e8c=this[_0x53f1a8(0x17e)][_0x53f1a8(0x20e)](_0x2f8472,_0x15aba7,!0x1),_0x356aff=this[_0x53f1a8(0x17e)][_0x53f1a8(0x20e)](_0x281ea9,_0x10a049,!0x1);if(m[_0x53f1a8(0x375)](_0x212e8c))throw _0x212e8c[_0x53f1a8(0x34f)];if(m['isTransformMutationFailure'](_0x356aff))throw _0x356aff[_0x53f1a8(0x34f)];_0x3ae781[_0x53f1a8(0x232)](_0x212e8c[_0x53f1a8(0x13d)]['params']),_0x417dbf[_0x53f1a8(0x232)](_0x356aff[_0x53f1a8(0x13d)][_0x53f1a8(0x1b9)]),_0x2f8472=_0x212e8c[_0x53f1a8(0x2c8)],_0x281ea9=_0x356aff[_0x53f1a8(0x2c8)];}_0x4238e4[_0x53f1a8(0x294)]({'undoCache':_0x3ae781,'redoCache':_0x417dbf});}[_0x12d636(0x2fa)](_0x47f843){const _0x2d94b0=_0x12d636,{unitID:_0x50e256}=_0x47f843,_0x4a7159=this[_0x2d94b0(0x2e6)][_0x2d94b0(0x2ed)](_0x50e256)[_0x2d94b0(0x168)](E['DocIMEInputManagerService']),_0x4df702=_0x4a7159['getActiveRange']();if(_0x4df702==null)return;const _0x5087f0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x47f843['unitID'],'actions':null,'textRanges':[_0x4df702]}}],_0x116716=this[_0x2d94b0(0x17e)][_0x2d94b0(0x1b6)](_0x47f843,_0x5087f0);if(!m['isTransformMutationsWithChangesetSuccess'](_0x116716))throw _0x116716[_0x2d94b0(0x34f)];const _0x477c08=_0x116716[_0x2d94b0(0x13d)][0x0][_0x2d94b0(0x1b9)][_0x2d94b0(0x15e)];Array[_0x2d94b0(0x2de)](_0x477c08)&&_0x477c08['length']&&_0x4a7159[_0x2d94b0(0x2ce)](_0x477c08[0x0]);}};z=kt([Ue(0x0,m[_0x12d636(0x281)]),Ue(0x1,p[_0x12d636(0x15b)])],z);var Ft=Object[_0x12d636(0x152)],Ht=(_0x39f604,_0x1eff48,_0xcf1c1e,_0x25bdeb)=>{const _0x23f650=_0x12d636;for(var _0x433a70=_0x25bdeb>0x1?void 0x0:_0x25bdeb?Ft(_0x1eff48,_0xcf1c1e):_0x1eff48,_0x5212e5=_0x39f604[_0x23f650(0x268)]-0x1,_0x376d1e;_0x5212e5>=0x0;_0x5212e5--)(_0x376d1e=_0x39f604[_0x5212e5])&&(_0x433a70=_0x376d1e(_0x433a70)||_0x433a70);return _0x433a70;},ce=(_0x2d2f75,_0x3ac805)=>(_0x259f69,_0x437be5)=>_0x3ac805(_0x259f69,_0x437be5,_0x2d2f75);let J=class{constructor(_0x4b82b5,_0x347ed1,_0x24f92c){const _0x2cfa5b=_0x12d636;this[_0x2cfa5b(0x355)]=_0x4b82b5,this[_0x2cfa5b(0x17e)]=_0x347ed1,this[_0x2cfa5b(0x316)]=_0x24f92c;}['transformStateCache'](_0x38f4dd){const _0x496c84=_0x12d636;this[_0x496c84(0x2a8)](_0x38f4dd);}[_0x12d636(0x334)](_0x4343f1){const _0x437b99=_0x12d636,{unitID:_0x2aff85}=_0x4343f1,{collaboration:_0x512ff8}=this[_0x437b99(0x316)]['getStateCache'](_0x2aff85);if(_0x512ff8[_0x437b99(0x268)]===0x0)return _0x4343f1;let _0x385065=a[_0x437b99(0x2c9)][_0x437b99(0x2f6)](_0x4343f1[_0x437b99(0x1fb)][0x0]);for(let _0x24c895=0x0;_0x24c895<_0x512ff8['length'];_0x24c895++){const _0x58361a={'id':_0x437b99(0x1ac),'params':{'unitId':_0x512ff8[_0x24c895]['unitId'],..._0x512ff8[_0x24c895][_0x437b99(0x247)]}},_0x4c3d33=this[_0x437b99(0x17e)][_0x437b99(0x20e)](_0x385065,_0x58361a,!0x1);if(m[_0x437b99(0x375)](_0x4c3d33))throw _0x4c3d33[_0x437b99(0x34f)];_0x385065=_0x4c3d33[_0x437b99(0x2c8)];}return{...a[_0x437b99(0x2c9)]['deepClone'](_0x4343f1),'mutations':[_0x385065]};}[_0x12d636(0x2a8)](_0x14fe8b){const _0x52543e=_0x12d636,{unitID:_0x4a1425}=_0x14fe8b,{history:_0x10814b,collaboration:_0x22f365}=this['_docStateChangeManagerService'][_0x52543e(0x249)](_0x4a1425);if(_0x10814b[_0x52543e(0x268)]===0x0&&_0x22f365['length']===0x0)return;const _0x23619d=[],_0x1fa2fe=[];let _0x35c5ce=a[_0x52543e(0x2c9)]['deepClone'](_0x14fe8b[_0x52543e(0x1fb)][0x0]),_0x164f56=a[_0x52543e(0x2c9)][_0x52543e(0x2f6)](_0x14fe8b[_0x52543e(0x1fb)][0x0]);for(let _0x40b9e0=_0x10814b[_0x52543e(0x268)]-0x1;_0x40b9e0>=0x0;_0x40b9e0--){const _0xf7c879={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10814b[_0x40b9e0]['unitId'],..._0x10814b[_0x40b9e0][_0x52543e(0x137)]}},_0x5d5394={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10814b[_0x40b9e0][_0x52543e(0x387)],..._0x10814b[_0x40b9e0][_0x52543e(0x247)]}},_0xc482c0=this[_0x52543e(0x17e)][_0x52543e(0x20e)](_0x35c5ce,_0xf7c879,!0x1),_0x42768d=this[_0x52543e(0x17e)]['transformMutation'](_0x164f56,_0x5d5394,!0x1);if(m[_0x52543e(0x375)](_0xc482c0))throw _0xc482c0[_0x52543e(0x34f)];if(m[_0x52543e(0x375)](_0x42768d))throw _0x42768d[_0x52543e(0x34f)];_0x23619d[_0x52543e(0x232)]({..._0x10814b[_0x40b9e0],'undoState':_0xc482c0['m2Prime'][_0x52543e(0x1b9)],'redoState':_0x42768d[_0x52543e(0x13d)]['params']}),_0x35c5ce=_0xc482c0[_0x52543e(0x2c8)],_0x164f56=_0x42768d[_0x52543e(0x2c8)];}_0x35c5ce=a[_0x52543e(0x2c9)]['deepClone'](_0x14fe8b[_0x52543e(0x1fb)][0x0]),_0x164f56=a['Tools'][_0x52543e(0x2f6)](_0x14fe8b[_0x52543e(0x1fb)][0x0]);for(let _0xfa2184=_0x22f365['length']-0x1;_0xfa2184>=0x0;_0xfa2184--){const _0x20e8c6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22f365[_0xfa2184][_0x52543e(0x387)],..._0x22f365[_0xfa2184]['undoState']}},_0x110980={'id':_0x52543e(0x1ac),'params':{'unitId':_0x22f365[_0xfa2184][_0x52543e(0x387)],..._0x22f365[_0xfa2184]['redoState']}},_0x6344bb=this['_transformService']['transformMutation'](_0x35c5ce,_0x20e8c6,!0x1),_0x38f10e=this['_transformService'][_0x52543e(0x20e)](_0x164f56,_0x110980,!0x1);if(m['isTransformMutationFailure'](_0x6344bb))throw _0x6344bb['error'];if(m[_0x52543e(0x375)](_0x38f10e))throw _0x38f10e['error'];_0x1fa2fe[_0x52543e(0x232)]({..._0x22f365[_0xfa2184],'undoState':_0x6344bb[_0x52543e(0x13d)][_0x52543e(0x1b9)],'redoState':_0x38f10e[_0x52543e(0x13d)][_0x52543e(0x1b9)]}),_0x35c5ce=_0x6344bb[_0x52543e(0x2c8)],_0x164f56=_0x38f10e[_0x52543e(0x2c8)];}this['_docStateChangeManagerService'][_0x52543e(0x1b0)](_0x4a1425,{'history':_0x23619d,'collaboration':_0x1fa2fe});}};J=Ht([ce(0x0,a['Inject'](a[_0x12d636(0x307)])),ce(0x1,m[_0x12d636(0x281)]),ce(0x2,a[_0x12d636(0x23f)](E[_0x12d636(0x2ef)]))],J);var Yt=Object[_0x12d636(0x152)],Wt=(_0x4cce93,_0x85d649,_0x219f9f,_0x58e0d6)=>{for(var _0x2b40b1=_0x58e0d6>0x1?void 0x0:_0x58e0d6?Yt(_0x85d649,_0x219f9f):_0x85d649,_0x4499ac=_0x4cce93['length']-0x1,_0x18bb57;_0x4499ac>=0x0;_0x4499ac--)(_0x18bb57=_0x4cce93[_0x4499ac])&&(_0x2b40b1=_0x18bb57(_0x2b40b1)||_0x2b40b1);return _0x2b40b1;},Ne=(_0x3177be,_0x39e93d)=>(_0x1a4f4c,_0x244c39)=>_0x39e93d(_0x1a4f4c,_0x244c39,_0x3177be);let Z=class{constructor(_0x4f1582,_0x3f5ac3){const _0x3155a0=_0x12d636;this[_0x3155a0(0x355)]=_0x4f1582,this[_0x3155a0(0x17e)]=_0x3f5ac3;}[_0x12d636(0x228)](_0x5f5f3b){const _0x32d74d=_0x12d636;var _0x238fbc;const _0x5be06b=this[_0x32d74d(0x355)][_0x32d74d(0x323)](Y[_0x32d74d(0x32d)]),_0x26cf2e=(_0x238fbc=_0x5be06b['getDocRanges']())!=null?_0x238fbc:[];if(_0x26cf2e[_0x32d74d(0x268)]===0x0)return;const _0x1ced69=_0x5f5f3b[_0x32d74d(0x2e2)],_0x3e7f11=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ced69,'actions':null,'textRanges':_0x26cf2e}}],_0x3dd2f6=this[_0x32d74d(0x17e)][_0x32d74d(0x1b6)](_0x5f5f3b,_0x3e7f11);if(!m[_0x32d74d(0x384)](_0x3dd2f6))throw _0x3dd2f6[_0x32d74d(0x34f)];const _0xa1ea01=_0x3dd2f6[_0x32d74d(0x13d)][0x0]['params'][_0x32d74d(0x15e)];Array['isArray'](_0xa1ea01)&&_0xa1ea01[_0x32d74d(0x268)]&&_0x5be06b[_0x32d74d(0x289)](_0xa1ea01,{'unitId':_0x1ced69,'subUnitId':_0x1ced69},!0x1);}};Z=Wt([Ne(0x0,a[_0x12d636(0x23f)](a[_0x12d636(0x307)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x4fb0ce,_0x238807,_0x3972b5,_0x29f781)=>{const _0x35fd0f=_0x12d636;for(var _0x3df15a=_0x29f781>0x1?void 0x0:_0x29f781?Vt(_0x238807,_0x3972b5):_0x238807,_0x291656=_0x4fb0ce[_0x35fd0f(0x268)]-0x1,_0xa3ac22;_0x291656>=0x0;_0x291656--)(_0xa3ac22=_0x4fb0ce[_0x291656])&&(_0x3df15a=_0xa3ac22(_0x3df15a)||_0x3df15a);return _0x3df15a;},N=(_0x20a930,_0x472cd3)=>(_0x51b83e,_0x317abc)=>_0x472cd3(_0x51b83e,_0x317abc,_0x20a930);let Q=class extends a[_0x12d636(0x37e)]{constructor(_0x5c447d,_0xd8ee43,_0x2ecd1d,_0x45dc6a,_0x1c7b01,_0x391f2d,_0x54d1a6,_0x200054){const _0xc4298=_0x12d636;super(),h(this,_0xc4298(0x170),new d[(_0xc4298(0x269))](u[_0xc4298(0x2f7)][_0xc4298(0x335)])),(this[_0xc4298(0x316)]=_0x5c447d,this[_0xc4298(0x29f)]=_0xd8ee43,this[_0xc4298(0x1e4)]=_0x2ecd1d,this[_0xc4298(0x24c)]=_0x45dc6a,this[_0xc4298(0x1dc)]=_0x1c7b01,this[_0xc4298(0x177)]=_0x391f2d,this[_0xc4298(0x1f7)]=_0x54d1a6,this[_0xc4298(0x246)]=_0x200054,this[_0xc4298(0x2fc)]());}[_0x12d636(0x2fc)](){const _0x5448b8=_0x12d636;this['disposeWithMe'](this[_0x5448b8(0x29f)][_0x5448b8(0x212)][_0x5448b8(0x399)](_0x42c124=>{const _0x3ed374=_0x5448b8,_0x4beace=this[_0x3ed374(0x316)]['docStateChange$'][_0x3ed374(0x399)](_0x2fd4ab=>{const _0x6f49d6=_0x3ed374;if(_0x2fd4ab==null)return;const {unitId:_0x23488a,redoState:_0x5b4b8e,commandId:_0x1dcb58}=_0x2fd4ab;if(_0x23488a!==_0x42c124['unitID'])return;const _0x27f841={'id':_0x1dcb58,'type':a[_0x6f49d6(0x283)]['MUTATION'],'params':{'unitId':_0x23488a,'actions':_0x5b4b8e['actions'],'textRanges':null}};_0x42c124['onLocalMutation'](_0x27f841);});if(_0x42c124[_0x3ed374(0x2ad)](_0x4beace),_0x42c124 instanceof u[_0x3ed374(0x218)]){const _0x8e85dd={'onTransformIME':_0x49784b=>this[_0x3ed374(0x1e4)][_0x3ed374(0x175)](_0x49784b),'onTransformState':_0x5c33fc=>this[_0x3ed374(0x24c)][_0x3ed374(0x382)](_0x5c33fc),'onTransformSelections':_0x205c02=>this[_0x3ed374(0x1dc)][_0x3ed374(0x228)](_0x205c02),'onSyncEditingCollabCursor':_0xa5d9fa=>this['_docSyncEditingCollabCursorService'][_0x3ed374(0x36b)](_0xa5d9fa),'onTransformRemoteChangesetByIMECache':_0x4f7eea=>this[_0x3ed374(0x1e4)][_0x3ed374(0x334)](_0x4f7eea),'onTransformRemoteChangesetByStateCache':_0x1c4bc0=>this[_0x3ed374(0x24c)]['transformRemoteChangeset'](_0x1c4bc0)};_0x42c124['addHandlerCallback'](_0x8e85dd);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x12d636(0x2ef)])),N(0x1,a[_0x12d636(0x23f)](u[_0x12d636(0x203)])),N(0x2,a[_0x12d636(0x23f)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x12d636(0x23f)](Z)),N(0x5,a[_0x12d636(0x23f)](pe)),N(0x6,O['IMessageService']),N(0x7,a['Inject'](a['LocaleService']))],Q);var Gt=Object[_0x12d636(0x152)],Kt=(_0x219717,_0x46a058,_0x5a55fb,_0x3970a1)=>{for(var _0x2624ef=_0x3970a1>0x1?void 0x0:_0x3970a1?Gt(_0x46a058,_0x5a55fb):_0x46a058,_0x5a84f6=_0x219717['length']-0x1,_0x4a846b;_0x5a84f6>=0x0;_0x5a84f6--)(_0x4a846b=_0x219717[_0x5a84f6])&&(_0x2624ef=_0x4a846b(_0x2624ef)||_0x2624ef);return _0x2624ef;},le=(_0x30dc31,_0x45e88e)=>(_0x483de9,_0x18efae)=>_0x45e88e(_0x483de9,_0x18efae,_0x30dc31);let ve=class extends a[_0x12d636(0x37e)]{constructor(_0x5688c8,_0x4a0f33,_0xca6ede){const _0xf54e8f=_0x12d636;super(),h(this,_0xf54e8f(0x2fb),new Map()),h(this,_0xf54e8f(0x1be),new Map()),h(this,_0xf54e8f(0x342),!0x1),(this[_0xf54e8f(0x2cc)]=_0x5688c8,this['_localStorageService']=_0x4a0f33,this[_0xf54e8f(0x26a)]=_0xca6ede);}[_0x12d636(0x3a2)](){const _0x23a9a6=_0x12d636;this[_0x23a9a6(0x342)]=!0x0;}[_0x12d636(0x2b1)](){const _0x2adb63=_0x12d636;this[_0x2adb63(0x342)]=!0x1;}get[_0x12d636(0x26d)](){const _0x3088b3=_0x12d636;return this[_0x3088b3(0x1be)];}['dispose'](){const _0x55bc60=_0x12d636;this[_0x55bc60(0x3b4)]()['then'](()=>super[_0x55bc60(0x3b2)]());}async['loadOfflineData'](_0x515b80){const _0x41fdb1=_0x12d636;return this['_disabled']?null:this[_0x41fdb1(0x154)][_0x41fdb1(0x37f)](u[_0x41fdb1(0x2e1)](_0x515b80));}async['saveOfflineData'](_0x8205f2,_0x473e2b){const _0x435905=_0x12d636;return!!this[_0x435905(0x154)][_0x435905(0x1f3)](_0x8205f2,_0x473e2b);}['updateOfflineData'](_0x14ca3d,_0x2af28f,_0x54a210,_0x39755e){const _0x5c1ea2=_0x12d636,_0xb3ee45=this[_0x5c1ea2(0x26a)][_0x5c1ea2(0x14b)](_0x14ca3d);this[_0x5c1ea2(0x2fb)][_0x5c1ea2(0x1d4)](_0x14ca3d,{'unitID':_0x14ca3d,'type':_0x2af28f,'awaitingChangeset':_0x54a210,'mutations':_0x39755e,'rev':_0xb3ee45}),this[_0x5c1ea2(0x1be)][_0x5c1ea2(0x3a8)](_0x14ca3d)||this[_0x5c1ea2(0x198)](_0x14ca3d);}['_scheduleSaving'](_0x5710cb){const _0x24ed4a=_0x12d636,_0x3a0013=this['_getSaveTimeout']();_0x3a0013===0x0?this[_0x24ed4a(0x1bf)](_0x5710cb):this[_0x24ed4a(0x1be)]['set'](_0x5710cb,setTimeout(()=>this[_0x24ed4a(0x1bf)](_0x5710cb),_0x3a0013));}[_0x12d636(0x364)](){const _0x3e4d96=_0x12d636;var _0xf0c2d4;return(_0xf0c2d4=this[_0x3e4d96(0x2cc)]['getConfig'](u[_0x3e4d96(0x167)]))!=null?_0xf0c2d4:u[_0x3e4d96(0x1e3)];}[_0x12d636(0x1bf)](_0x36a355){const _0x54e6ed=_0x12d636,_0xcc1241=this[_0x54e6ed(0x1be)][_0x54e6ed(0x323)](_0x36a355);return _0xcc1241!==void 0x0&&window[_0x54e6ed(0x331)](_0xcc1241),this[_0x54e6ed(0x154)][_0x54e6ed(0x1f3)](u[_0x54e6ed(0x2e1)](_0x36a355),this['_cachedData'][_0x54e6ed(0x323)](_0x36a355))[_0x54e6ed(0x190)](()=>this[_0x54e6ed(0x1be)]['delete'](_0x36a355));}async[_0x12d636(0x3b4)](){const _0x3f0ace=_0x12d636,_0x413af0=[];this['_saveTaskMap']['forEach']((_0x77b24c,_0x2d3891)=>{const _0x19041c=_0x2c71;window[_0x19041c(0x331)](_0x77b24c),_0x413af0['push'](this['_saveCache'](_0x2d3891)['then'](()=>{const _0x262426=_0x19041c;this['_saveTaskMap'][_0x262426(0x162)](_0x2d3891);}));}),await Promise[_0x3f0ace(0x339)](_0x413af0);}};ve=Kt([le(0x0,a[_0x12d636(0x226)]),le(0x1,a['ILocalStorageService']),le(0x2,a[_0x12d636(0x23f)](m[_0x12d636(0x16b)]))],ve);class xe extends a[_0x12d636(0x2b2)]{constructor(){const _0x10fb80=_0x12d636;super(),h(this,_0x10fb80(0x27e)),this[_0x10fb80(0x27e)]=d[_0x10fb80(0x24a)](window,_0x10fb80(0x2d9))['pipe'](d['takeUntil'](this[_0x10fb80(0x23d)]),d[_0x10fb80(0x376)](0x1),d['mapTo'](void 0x0));}[_0x12d636(0x38b)](_0x1950d4,_0x4b31c6,_0x2c93e9=!0x1){const _0x208cfe=_0x12d636,_0x26b34b=new URL(window[_0x208cfe(0x1a4)][_0x208cfe(0x292)]);_0x26b34b[_0x208cfe(0x2b6)][_0x208cfe(0x1d4)](_0x1950d4,_0x4b31c6),_0x2c93e9?window[_0x208cfe(0x1ea)][_0x208cfe(0x197)]('','',_0x26b34b[_0x208cfe(0x1ce)]()):window['history'][_0x208cfe(0x31f)]('','',_0x26b34b[_0x208cfe(0x1ce)]());}[_0x12d636(0x388)](_0x558099,_0x42168e=!0x1){const _0x5cbba0=_0x12d636,_0x48318f=new URL(window[_0x5cbba0(0x1a4)]['href']);_0x48318f[_0x5cbba0(0x2b6)][_0x5cbba0(0x162)](_0x558099),_0x42168e?window['history'][_0x5cbba0(0x197)]('','',_0x48318f[_0x5cbba0(0x1ce)]()):window[_0x5cbba0(0x1ea)][_0x5cbba0(0x31f)]('','',_0x48318f[_0x5cbba0(0x1ce)]());}[_0x12d636(0x2a7)](_0x2f1170){const _0xb88d75=_0x12d636;var _0xfad09e;return(_0xfad09e=new URL(window[_0xb88d75(0x1a4)][_0xb88d75(0x292)])['searchParams']['get'](_0x2f1170))!=null?_0xfad09e:void 0x0;}}var qt=Object[_0x12d636(0x234)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x3a5980,_0x410003,_0x1b51cd)=>_0x410003 in _0x3a5980?qt(_0x3a5980,_0x410003,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b51cd}):_0x3a5980[_0x410003]=_0x1b51cd,Zt=(_0x46ca18,_0x389784,_0x4b7b4f,_0x2dc146)=>{const _0x3117fb=_0x12d636;for(var _0x51b126=_0x2dc146>0x1?void 0x0:_0x2dc146?zt(_0x389784,_0x4b7b4f):_0x389784,_0x3e1e40=_0x46ca18[_0x3117fb(0x268)]-0x1,_0x36d503;_0x3e1e40>=0x0;_0x3e1e40--)(_0x36d503=_0x46ca18[_0x3e1e40])&&(_0x51b126=_0x36d503(_0x51b126)||_0x51b126);return _0x51b126;},_e=(_0x56eca3,_0x5a90aa)=>(_0x531506,_0x431ade)=>_0x5a90aa(_0x531506,_0x431ade,_0x56eca3),Qt=(_0x244e2a,_0x33730d,_0x36449f)=>Jt(_0x244e2a,_0x33730d+'',_0x36449f);const es=_0x12d636(0x1bb);exports[_0x12d636(0x147)]=class extends a[_0x12d636(0x28c)]{constructor(_0xab209a=De,_0x1d4e2c,_0x2e3559,_0x4cfccf){const _0x2f9be2=_0x12d636;super(),this['_config']=_0xab209a,this[_0x2f9be2(0x2e6)]=_0x1d4e2c,this[_0x2f9be2(0x355)]=_0x2e3559,this['_configService']=_0x4cfccf;const {..._0x4094ff}=a[_0x2f9be2(0x1d5)]({},De,this[_0x2f9be2(0x299)]);this[_0x2f9be2(0x2cc)][_0x2f9be2(0x392)](Bt,_0x4094ff);}[_0x12d636(0x265)](){const _0x5cc800=_0x12d636;this[_0x5cc800(0x18c)](),this[_0x5cc800(0x1fc)]();}[_0x12d636(0x26b)](){const _0x16a634=_0x12d636;this[_0x16a634(0x397)]();}[_0x12d636(0x18c)](){const _0x3f5452=_0x12d636;var _0x21e88d;const _0x164ba3=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K[_0x3f5452(0x396)],{'useClass':K[_0x3f5452(0x1c3)]}],[u[_0x3f5452(0x313)],{'useClass':ve}],[exports[_0x3f5452(0x2e5)]],[Q],[q],[x],[ue],[exports[_0x3f5452(0x1c1)]]];a[_0x3f5452(0x30b)](this[_0x3f5452(0x355)],a['mergeOverrideWithDependencies'](_0x164ba3,(_0x21e88d=this[_0x3f5452(0x299)])==null?void 0x0:_0x21e88d[_0x3f5452(0x1bc)]));}[_0x12d636(0x397)](){const _0x22e81c=_0x12d636;this[_0x22e81c(0x2ad)](this[_0x22e81c(0x2e6)][_0x22e81c(0x1f4)](a[_0x22e81c(0x216)][_0x22e81c(0x31e)],[fe])),this['disposeWithMe'](this[_0x22e81c(0x2e6)][_0x22e81c(0x1f4)](a[_0x22e81c(0x216)]['UNIVER_SHEET'],[Ie]));}[_0x12d636(0x1fc)](){const _0x1d78f4=_0x12d636;a[_0x1d78f4(0x239)](this[_0x1d78f4(0x355)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0x1d78f4(0x1c1)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x12d636(0x22b),es),exports[_0x12d636(0x147)]=Zt([a['DependentOn'](u[_0x12d636(0x18a)]),_e(0x1,p[_0x12d636(0x15b)]),_e(0x2,a['Inject'](a[_0x12d636(0x307)])),_e(0x3,a[_0x12d636(0x226)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x12d636(0x152)],ss=(_0x520f54,_0x5a5d56,_0x58e689,_0x232249)=>{for(var _0x5dfe98=_0x232249>0x1?void 0x0:_0x232249?ts(_0x5a5d56,_0x58e689):_0x5a5d56,_0x475bc6=_0x520f54['length']-0x1,_0xe27f80;_0x475bc6>=0x0;_0x475bc6--)(_0xe27f80=_0x520f54[_0x475bc6])&&(_0x5dfe98=_0xe27f80(_0x5dfe98)||_0x5dfe98);return _0x5dfe98;},H=(_0x5c7c50,_0x25119a)=>(_0x3ef94b,_0x427dc3)=>_0x25119a(_0x3ef94b,_0x427dc3,_0x5c7c50);exports[_0x12d636(0x272)]=class extends u[_0x12d636(0x2a1)]{constructor(_0x1af020,_0x37e31f,_0x4e7baa,_0x1eb792,_0x2c0ec1){super(_0x1af020,_0x37e31f,_0x4e7baa,_0x1eb792,_0x2c0ec1);}async['createSocket'](_0x30f4db){const _0x49aca4=_0x12d636,_0x546758=await this[_0x49aca4(0x245)](),_0x4a3fbc=this[_0x49aca4(0x233)](_0x30f4db,_0x546758);return this[_0x49aca4(0x146)](_0x4a3fbc);}[_0x12d636(0x233)](_0x35bb09,_0x3e37dc){const _0x3f44c1=_0x12d636,_0x329e0a=typeof window>'u'?new URL(_0x35bb09):new URL(_0x35bb09,window['location'][_0x3f44c1(0x360)]);_0x329e0a[_0x3f44c1(0x2b6)]['set'](_0x3f44c1(0x37d),_0x3e37dc);const _0x4db934=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f44c1(0x1a4)][_0x3f44c1(0x368)]);return _0x4db934['get'](_0x3f44c1(0x1f9))&&_0x329e0a[_0x3f44c1(0x2b6)][_0x3f44c1(0x1d4)]('runId',_0x4db934[_0x3f44c1(0x323)]('runId')),_0x329e0a[_0x3f44c1(0x1ce)]();}async[_0x12d636(0x245)](){const _0x2a6cc4=_0x12d636;var _0x19f758,_0x5cc88e,_0x2ac3fb;const _0xb10aaa=this[_0x2a6cc4(0x2cc)][_0x2a6cc4(0x2bc)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x13c035=(_0x19f758=_0xb10aaa==null?void 0x0:_0xb10aaa['wsSessionTicketUrl'])!=null?_0x19f758:u[_0x2a6cc4(0x34d)];return(_0x2ac3fb=(_0x5cc88e=(await this[_0x2a6cc4(0x145)][_0x2a6cc4(0x323)](_0x13c035,{'headers':{'Content-Type':'application/json'}}))[_0x2a6cc4(0x17d)])==null?void 0x0:_0x5cc88e[_0x2a6cc4(0x14d)])!=null?_0x2ac3fb:'';}},exports[_0x12d636(0x272)]=ss([H(0x0,a['Inject'](a[_0x12d636(0x307)])),H(0x1,a[_0x12d636(0x23f)](K[_0x12d636(0x372)])),H(0x2,a[_0x12d636(0x226)]),H(0x3,a[_0x12d636(0x34b)]),H(0x4,m[_0x12d636(0x186)])],exports['BrowserCollaborationSocketService']);var Be=(_0xfaa5f9=>(_0xfaa5f9[_0xfaa5f9[_0x12d636(0x309)]=0x0]=_0x12d636(0x309),_0xfaa5f9[_0xfaa5f9['OK']=0x1]='OK',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1f6)]=0x2]=_0x12d636(0x1f6),_0xfaa5f9[_0xfaa5f9['PERMISSION_DENIED']=0x3]=_0x12d636(0x2d4),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x3a3)]=0x4]=_0x12d636(0x3a3),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1e9)]=0x5]='UNAUTHENTICATED',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x22a)]=0x6]=_0x12d636(0x22a),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x340)]=0x7]=_0x12d636(0x340),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x160)]=0x8]=_0x12d636(0x160),_0xfaa5f9[_0xfaa5f9['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2d5)]=0xa]=_0x12d636(0x2d5),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2b0)]=0xb]=_0x12d636(0x2b0),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2fe)]=0xc]=_0x12d636(0x2fe),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1e1)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x27a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xfaa5f9[_0xfaa5f9['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x250)]=0x1771]=_0x12d636(0x250),_0xfaa5f9[_0xfaa5f9['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x12d636(0x22e),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x184)]=0x1773]=_0x12d636(0x184),_0xfaa5f9[_0xfaa5f9['APPLY_REJECT']=0x1b59]=_0x12d636(0x31b),_0xfaa5f9[_0xfaa5f9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x12d636(0x1e2),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2cb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x17a)]=0x1b5c]=_0x12d636(0x17a),_0xfaa5f9[_0xfaa5f9['APPLY_DUPLICATED']=0x1b5d]=_0x12d636(0x27c),_0xfaa5f9[_0xfaa5f9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x12d636(0x30d),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x26f)]=0x2329]=_0x12d636(0x26f),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x304)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x207)]=0x232b]=_0x12d636(0x207),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x18d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x220)]=0x232d]=_0x12d636(0x220),_0xfaa5f9[_0xfaa5f9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x24f)]=0x2712]=_0x12d636(0x24f),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x3ad)]=0x2713]=_0x12d636(0x3ad),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x260)]=0x2714]=_0x12d636(0x260),_0xfaa5f9[_0xfaa5f9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xfaa5f9[_0xfaa5f9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x12d636(0x378),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x291)]=0x271c]=_0x12d636(0x291),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x273)]=0x271d]=_0x12d636(0x273),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x319)]=0x271e]=_0x12d636(0x319),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x210)]=0x271f]=_0x12d636(0x210),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2d3)]=0x2720]=_0x12d636(0x2d3),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x24e)]=0x2af9]=_0x12d636(0x24e),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1d3)]=0x2ee1]=_0x12d636(0x1d3),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x25d)]=0x2ee2]='INVALID_INVITE_CODE',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2a0)]=0x2ee3]=_0x12d636(0x2a0),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1b1)]=0x2ee4]=_0x12d636(0x1b1),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x200)]=0x2ee5]=_0x12d636(0x200),_0xfaa5f9[_0xfaa5f9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x12d636(0x2c1),_0xfaa5f9[_0xfaa5f9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x12d636(0x1d7),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x305)]=0x32cb]=_0x12d636(0x305),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2e0)]=-0x1]=_0x12d636(0x2e0),_0xfaa5f9))(Be||{}),is=Object[_0x12d636(0x152)],ns=(_0x29f159,_0x5b3bbc,_0xb01e2d,_0xc0bb47)=>{const _0x4d46e8=_0x12d636;for(var _0x17990a=_0xc0bb47>0x1?void 0x0:_0xc0bb47?is(_0x5b3bbc,_0xb01e2d):_0x5b3bbc,_0x4f78fb=_0x29f159[_0x4d46e8(0x268)]-0x1,_0x5c662b;_0x4f78fb>=0x0;_0x4f78fb--)(_0x5c662b=_0x29f159[_0x4f78fb])&&(_0x17990a=_0x5c662b(_0x17990a)||_0x17990a);return _0x17990a;},he=(_0x488fc6,_0x199d63)=>(_0x93132b,_0xaaa016)=>_0x199d63(_0x93132b,_0xaaa016,_0x488fc6);exports['RemoteUniscriptService']=class extends a[_0x12d636(0x37e)]{constructor(_0x98465,_0x328b41,_0x1b0a34){const _0x1b7dbc=_0x12d636;super(),this[_0x1b7dbc(0x348)]=_0x98465,this[_0x1b7dbc(0x145)]=_0x328b41,this[_0x1b7dbc(0x2cc)]=_0x1b0a34;}async[_0x12d636(0x1ca)](_0x1f23f1,_0x536546,_0x2b92e9,..._0x45ff7a){const _0x3161f0=_0x12d636;var _0x2af529,_0x16a590,_0x374c18,_0x42b6ce;const _0x5d937d=this[_0x3161f0(0x348)]['getFocusedUnit']();if(!_0x5d937d)throw new Error(_0x3161f0(0x183));const _0x4024de=((_0x2af529=this[_0x3161f0(0x2cc)][_0x3161f0(0x2bc)](u[_0x3161f0(0x20d)]))!=null?_0x2af529:u[_0x3161f0(0x2f2)])+'/'+_0x1f23f1+_0x3161f0(0x14a)+_0x536546,_0x34c4d4=new URL(window['location']['href']),_0x116dc9={'scriptId':_0x1f23f1,'runId':(_0x16a590=_0x34c4d4['searchParams']['get'](_0x3161f0(0x1f9)))!=null?_0x16a590:'','function':_0x536546,'unitId':_0x5d937d[_0x3161f0(0x2e9)](),'argsOfFunction':JSON['stringify'](_0x45ff7a),'invokeId':(_0x374c18=_0x2b92e9['invokeId'])!=null?_0x374c18:'','executionId':(_0x42b6ce=_0x2b92e9[_0x3161f0(0x199)])!=null?_0x42b6ce:''};try{const _0x5dc957=await this['_httpService'][_0x3161f0(0x2f0)](_0x4024de,{'body':_0x116dc9});return _0x5dc957[_0x3161f0(0x17d)][_0x3161f0(0x34f)]&&_0x5dc957[_0x3161f0(0x17d)][_0x3161f0(0x34f)][_0x3161f0(0x1ad)]!==Be['OK']?'Failed':_0x5dc957[_0x3161f0(0x17d)][_0x3161f0(0x194)];}catch{return _0x3161f0(0x2e4);}}},exports['RemoteUniscriptService']=ns([he(0x0,a[_0x12d636(0x22f)]),he(0x1,a[_0x12d636(0x23f)](K[_0x12d636(0x372)])),he(0x2,a[_0x12d636(0x226)])],exports['RemoteUniscriptService']);const Me=0x7530,Le=_0x12d636(0x343);class rs extends a[_0x12d636(0x37e)]{constructor(){const _0x403d18=_0x12d636;super(),h(this,'_id',a[_0x403d18(0x189)]()),h(this,'_selfUnitIDs',new Set()),h(this,'_unitOnClients',new Map()),h(this,'_heartbeatTimer',null),h(this,_0x403d18(0x14c),new Map()),h(this,'_unitStatus',new Map()),this[_0x403d18(0x32b)]();}[_0x12d636(0x3b2)](){const _0x49a4d0=_0x12d636;super[_0x49a4d0(0x3b2)](),this[_0x49a4d0(0x14c)][_0x49a4d0(0x266)]((_0x3a99f6,_0x3d6ce5)=>this[_0x49a4d0(0x3ab)](_0x3d6ce5)),this[_0x49a4d0(0x373)]&&window[_0x49a4d0(0x363)](this['_heartbeatTimer']);}[_0x12d636(0x185)](_0x2d2535){const _0x4880d6=_0x12d636;return this[_0x4880d6(0x257)](_0x2d2535)['pipe'](d['distinctUntilChanged']());}[_0x12d636(0x157)](_0x19dfe1){const _0x42dbe0=_0x12d636;this[_0x42dbe0(0x25a)]['size']===0x0&&this[_0x42dbe0(0x1ed)](),this[_0x42dbe0(0x25a)][_0x42dbe0(0x1e0)](_0x19dfe1),this[_0x42dbe0(0x1dd)]({'type':0x0,'memberID':this[_0x42dbe0(0x300)],'unitIDs':[_0x19dfe1],'isForwarded':!0x1});}['disposeUnit'](_0x3f1ebf){const _0x4f232c=_0x12d636;this[_0x4f232c(0x25a)][_0x4f232c(0x162)](_0x3f1ebf),this[_0x4f232c(0x25a)][_0x4f232c(0x1fe)]===0x0&&this[_0x4f232c(0x373)]&&window[_0x4f232c(0x363)](this[_0x4f232c(0x373)]);}[_0x12d636(0x32b)](){const _0x3f57a6=_0x12d636;this[_0x3f57a6(0x2ad)](a['toDisposable'](d['fromEvent'](window,_0x3f57a6(0x2aa))[_0x3f57a6(0x399)](_0x26a1af=>{const _0x1a24f6=_0x3f57a6;if(_0x26a1af['key']!==Le||!_0x26a1af[_0x1a24f6(0x214)])return;const _0x364bfb=JSON[_0x1a24f6(0x38e)](_0x26a1af['newValue']);this[_0x1a24f6(0x179)](_0x364bfb);}))),window[_0x3f57a6(0x29d)]('unload',()=>this[_0x3f57a6(0x1dd)]({'type':0x1,'memberID':this[_0x3f57a6(0x300)],'unitIDs':Array['from'](this[_0x3f57a6(0x25a)])}));}['_handleEvent'](_0x5d8cff){const _0xe7c4ab=_0x12d636;switch(_0x5d8cff[_0xe7c4ab(0x1bd)]){case 0x0:this[_0xe7c4ab(0x16d)](_0x5d8cff);break;case 0x1:this[_0xe7c4ab(0x1c7)](_0x5d8cff);break;case 0x2:this[_0xe7c4ab(0x36d)](_0x5d8cff);break;}}[_0x12d636(0x16d)](_0x503e0c){const _0x160b67=_0x12d636,{unitIDs:_0x44e226,memberID:_0x4655f3,isForwarded:_0x47a578}=_0x503e0c;_0x44e226[_0x160b67(0x266)](_0xbcdce8=>{const _0x321c1d=_0x160b67;if(!_0x47a578&&this['_unitOnClients'][_0x321c1d(0x3a8)](_0xbcdce8)&&this[_0x321c1d(0x257)](_0xbcdce8)['next'](u['UnitStatus'][_0x321c1d(0x1c0)]),!this[_0x321c1d(0x2b3)]['has'](_0xbcdce8)||!this[_0x321c1d(0x2b3)][_0x321c1d(0x323)](_0xbcdce8)[_0x321c1d(0x3a8)](_0x4655f3)){const _0x29b4af=this[_0x321c1d(0x2b3)][_0x321c1d(0x323)](_0xbcdce8)||new Set();_0x29b4af[_0x321c1d(0x1e0)](_0x4655f3),this[_0x321c1d(0x2b3)][_0x321c1d(0x1d4)](_0xbcdce8,_0x29b4af),this['_scheduleClearOtherTimer'](_0x4655f3);}}),_0x47a578||this[_0x160b67(0x1dd)]({'type':0x0,'memberID':this[_0x160b67(0x300)],'unitIDs':[...this[_0x160b67(0x25a)]],'isForwarded':!0x0});}[_0x12d636(0x204)](_0x42ac5d){const _0x550845=_0x12d636;this[_0x550845(0x3ab)](_0x42ac5d);const _0x1b3e8f=window[_0x550845(0x243)](()=>{const _0x9cf36c=_0x550845;this[_0x9cf36c(0x2b3)][_0x9cf36c(0x266)](_0x32e080=>{const _0x2ce0d7=_0x9cf36c;_0x32e080[_0x2ce0d7(0x162)](_0x42ac5d);});},Me*0x2);this['_clearOtherTimers'][_0x550845(0x1d4)](_0x42ac5d,_0x1b3e8f);}[_0x12d636(0x3ab)](_0xb2ac6d){const _0x18d684=_0x12d636;if(this[_0x18d684(0x14c)][_0x18d684(0x3a8)](_0xb2ac6d)){const _0x7268ef=this[_0x18d684(0x14c)][_0x18d684(0x323)](_0xb2ac6d);_0x7268ef&&window[_0x18d684(0x331)](_0x7268ef),this[_0x18d684(0x14c)]['set'](_0xb2ac6d,null);}}[_0x12d636(0x1c7)](_0x437c4a){const _0xa089ac=_0x12d636,{memberID:_0x156df9,unitIDs:_0x4a65bf}=_0x437c4a;_0x4a65bf[_0xa089ac(0x266)](_0xcadb89=>{const _0x2d05ea=_0xa089ac;var _0x589ae8;const _0x33826c=this['_unitOnClients'][_0x2d05ea(0x323)](_0xcadb89);_0x33826c&&(_0x33826c[_0x2d05ea(0x162)](_0x156df9),(_0x589ae8=this[_0x2d05ea(0x257)](_0xcadb89))==null||_0x589ae8[_0x2d05ea(0x328)](_0x33826c[_0x2d05ea(0x1fe)]===0x0?u[_0x2d05ea(0x263)][_0x2d05ea(0x3a5)]:u[_0x2d05ea(0x263)][_0x2d05ea(0x1c0)]));}),this[_0xa089ac(0x3ab)](_0x156df9);}[_0x12d636(0x36d)](_0x15862b){const _0xa1b406=_0x12d636;this[_0xa1b406(0x204)](_0x15862b[_0xa1b406(0x20a)]);}['_send'](_0x1f3f6a){const _0x35be3d=_0x12d636;localStorage['setItem'](Le,JSON[_0x35be3d(0x390)](_0x1f3f6a));}[_0x12d636(0x1ed)](){const _0x1dd739=_0x12d636;this[_0x1dd739(0x373)]=window[_0x1dd739(0x26e)](()=>{const _0x122515=_0x1dd739;this[_0x122515(0x1dd)]({'type':0x2,'memberID':this[_0x122515(0x300)]});},Me);}[_0x12d636(0x257)](_0x459b06){const _0x39eb3e=_0x12d636;return this[_0x39eb3e(0x1af)][_0x39eb3e(0x3a8)](_0x459b06)||this[_0x39eb3e(0x1af)][_0x39eb3e(0x1d4)](_0x459b06,new d[(_0x39eb3e(0x269))](u[_0x39eb3e(0x263)][_0x39eb3e(0x3a5)])),this[_0x39eb3e(0x1af)][_0x39eb3e(0x323)](_0x459b06);}}exports['IURLService']=me,exports[_0x12d636(0x2b8)]=$e,exports[_0x12d636(0x2dc)]=rs,exports['WebURLService']=xe;
@@ -1 +1 @@
1
- 'use strict';function _0x40f9(){const _0x584038=['6409616hCBTCe','368172mOUIkx','16005DjDsdX','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','1213667zZzxQn','exports','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','Edit\x20conflicts','1484sOmELe','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','4854640eVzmaG','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','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.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','4544664XzYNYA','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','684748BNYvmd','Synced'];_0x40f9=function(){return _0x584038;};return _0x40f9();}const _0x561658=_0x3383;(function(_0x2d76bb,_0x55157a){const _0x41296a=_0x3383,_0x1f2896=_0x2d76bb();while(!![]){try{const _0x3b4078=parseInt(_0x41296a(0x1d4))/0x1+parseInt(_0x41296a(0x1e5))/0x2+parseInt(_0x41296a(0x1e8))/0x3+-parseInt(_0x41296a(0x1d9))/0x4*(-parseInt(_0x41296a(0x1e9))/0x5)+-parseInt(_0x41296a(0x1e2))/0x6+-parseInt(_0x41296a(0x1db))/0x7+-parseInt(_0x41296a(0x1e7))/0x8;if(_0x3b4078===_0x55157a)break;else _0x1f2896['push'](_0x1f2896['shift']());}catch(_0x46762a){_0x1f2896['push'](_0x1f2896['shift']());}}}(_0x40f9,0x95f1a));function _0x3383(_0x5205a4,_0x28b582){const _0x40f925=_0x40f9();return _0x3383=function(_0x33837f,_0x1da8f6){_0x33837f=_0x33837f-0x1d4;let _0x4bb8e9=_0x40f925[_0x33837f];return _0x4bb8e9;},_0x3383(_0x5205a4,_0x28b582);}const e={'collab-client':{'tooltip':{'reconnect':_0x561658(0x1d7)}},'collabStatus':{'fetchMiss':_0x561658(0x1d6),'conflict':_0x561658(0x1d8),'notCollab':_0x561658(0x1dd),'synced':_0x561658(0x1e6),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x561658(0x1df),'will-retry':_0x561658(0x1dc),'room-full':_0x561658(0x1e4),'collaboration-timeout':_0x561658(0x1ea)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x561658(0x1de)},'permission':{'title':_0x561658(0x1eb),'content':_0x561658(0x1e1)},'collaboration':{'single-unit':{'warning':_0x561658(0x1e3)},'closeRoom':_0x561658(0x1e0)},'auth':{'needGotoLoginAlert':_0x561658(0x1da)}},o=e;module[_0x561658(0x1d5)]=o;
1
+ 'use strict';function _0x5885(_0x11a5f9,_0x50db12){const _0x29193=_0x2919();return _0x5885=function(_0x588593,_0x1112ee){_0x588593=_0x588593-0x149;let _0x588015=_0x29193[_0x588593];return _0x588015;},_0x5885(_0x11a5f9,_0x50db12);}const _0x41c730=_0x5885;function _0x2919(){const _0x2bfde7=['19668eKuzZL','3322220FSHdRJ','Local\x20file','exports','397653GSLYSn','Synced','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.','13460EHpURf','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','5776071CjeAkG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1326519AxAfFw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','18qHfeQV','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','4BcngAu','665164WvoWVT','Syncing...','24NyROqb','Collaboration\x20Conflict','52565lwpzwh'];_0x2919=function(){return _0x2bfde7;};return _0x2919();}(function(_0x36a509,_0x27fdb6){const _0x19ee94=_0x5885,_0x2ab28f=_0x36a509();while(!![]){try{const _0x5966d7=parseInt(_0x19ee94(0x15a))/0x1+parseInt(_0x19ee94(0x159))/0x2*(-parseInt(_0x19ee94(0x14a))/0x3)+-parseInt(_0x19ee94(0x160))/0x4+-parseInt(_0x19ee94(0x15e))/0x5*(parseInt(_0x19ee94(0x155))/0x6)+-parseInt(_0x19ee94(0x14f))/0x7+-parseInt(_0x19ee94(0x15c))/0x8*(parseInt(_0x19ee94(0x151))/0x9)+-parseInt(_0x19ee94(0x14d))/0xa*(-parseInt(_0x19ee94(0x15f))/0xb);if(_0x5966d7===_0x27fdb6)break;else _0x2ab28f['push'](_0x2ab28f['shift']());}catch(_0x2dd977){_0x2ab28f['push'](_0x2ab28f['shift']());}}}(_0x2919,0xa55aa));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x41c730(0x153),'conflict':'Edit\x20conflicts','notCollab':_0x41c730(0x161),'synced':_0x41c730(0x14b),'syncing':_0x41c730(0x15b),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x41c730(0x158),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x41c730(0x157),'collaboration-timeout':_0x41c730(0x150)},'conflict':{'title':_0x41c730(0x15d),'content':_0x41c730(0x14c)},'permission':{'title':_0x41c730(0x156),'content':_0x41c730(0x14e)},'collaboration':{'single-unit':{'warning':_0x41c730(0x154)},'closeRoom':_0x41c730(0x152)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module[_0x41c730(0x149)]=o;