@univerjs-pro/collaboration-client-ui 0.10.9-nightly.202509260614 → 0.10.10-experimental.20251010-3f807c5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x39e5a0=_0x4240;(function(_0x45ee99,_0x137e00){const _0x11d69e=_0x4240,_0xe0295a=_0x45ee99();while(!![]){try{const _0x26f482=parseInt(_0x11d69e(0x16f))/0x1*(-parseInt(_0x11d69e(0xa8))/0x2)+parseInt(_0x11d69e(0x112))/0x3+-parseInt(_0x11d69e(0x26f))/0x4*(-parseInt(_0x11d69e(0x22c))/0x5)+-parseInt(_0x11d69e(0xd4))/0x6*(parseInt(_0x11d69e(0xf1))/0x7)+-parseInt(_0x11d69e(0x108))/0x8*(parseInt(_0x11d69e(0x217))/0x9)+parseInt(_0x11d69e(0x11e))/0xa+parseInt(_0x11d69e(0x254))/0xb;if(_0x26f482===_0x137e00)break;else _0xe0295a['push'](_0xe0295a['shift']());}catch(_0x574e2a){_0xe0295a['push'](_0xe0295a['shift']());}}}(_0x470b,0x89e54));var xt=Object[_0x39e5a0(0x186)],Bt=(_0x235bcf,_0x1fe5f0,_0x9c7885)=>_0x1fe5f0 in _0x235bcf?xt(_0x235bcf,_0x1fe5f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9c7885}):_0x235bcf[_0x1fe5f0]=_0x9c7885,_=(_0x2c134b,_0x471343,_0x47749c)=>Bt(_0x2c134b,typeof _0x471343!='symbol'?_0x471343+'':_0x471343,_0x47749c);import{jsx as _0x25f88a,jsxs as _0x302688}from'react/jsx-runtime';import{CollaborationStatus as _0x3885c5,CollaborationSessionService as _0x18e03a,CollaborationController as _0x5f3b18,DataLoaderService as _0x3367dd,MemberService as _0x2c9a16,SessionStatus as _0x260da1,ILocalCacheService as _0x552c67,CollaborationUIEventService as _0x4c7686,CollaborationUIEventId as _0x222de0,DocCollaborationEntity as _0x56781e,getLocalCacheKey as _0x14abcb,LOCAL_CACHE_INTERVAL as _0x3d90bf,LOCAL_CACHE_INTERVAL_KEY as _0x4dc1f5,UniverCollaborationClientPlugin as _0x3c092e,CollaborationSocketService as _0x429c3a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x27c24e,DEFAULT_WS_SESSION_TICKET_URL as _0x3c24a9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xdc3bd7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x433ed7,UnitStatus as _0x3aa553}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x572998,IUniverInstanceService as _0x31cd6a,Inject as _0x546f06,Injector as _0x443c56,Disposable as _0x2c1746,createIdentifier as _0x4f0d98,ILogService as _0x38d9e1,ICommandService as _0x384799,Optional as _0x24f097,RxDisposable as _0x2eff66,Workbook as _0x47cfea,DOC_RANGE_TYPE as _0x57e71f,debounce as _0x5ecfd0,Rectangle as _0x3f73aa,DisposableCollection as _0x5bac8e,toDisposable as _0x2120d5,UniverInstanceType as _0x13a6d7,generateRandomId as _0x2021eb,COLORS as _0x20c712,ColorKit as _0x1a687f,ThemeService as _0x267852,fromEventSubject as _0x24eabd,Tools as _0xa93bb6,CommandType as _0x38da82,IConfigService as _0x1cd828,ILocalStorageService as _0x519dd1,DependentOn as _0x165ce7,Plugin as _0x1bce85,merge as _0x54f132,registerDependencies as _0x522a20,mergeOverrideWithDependencies as _0x5a28c6,touchDependencies as _0x5488c1}from'@univerjs/core';import{useObservable as _0x2adcd4,useDependency as _0x9cec4f,IUIPartsService as _0x54d82d,BuiltInUIPart as _0x4f80bd,connectInjector as _0x3e4ac5,IBeforeCloseService as _0x2852e9,IMessageService as _0x1825c4,INotificationService as _0x2cf121}from'@univerjs/ui';import{BehaviorSubject as _0x13e65e,switchMap as _0x4173ee,of as _0x596fdc,takeUntil as _0x2ec815,debounceTime as _0x197b64,Subject as _0x3d5ec4,filter as _0x1d8de4,merge as _0x3630bd,combineLatest as _0x41592f,fromEvent as _0xb4f25d,shareReplay as _0x357da0,mapTo as _0x572218,distinctUntilChanged as _0x4d1d7d}from'rxjs';import{Tooltip as _0x562028,clsx as _0x49752a,MessageType as _0x13006d}from'@univerjs/design';import{forwardRef as _0xe1b5ad,useRef as _0x1e308e,createElement as _0x1f4bc0,useCallback as _0x5868f0}from'react';import{IRemoteInstanceService as _0x145c96}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x759508,RefRangeService as _0x5ea68f,SetSelectionsOperation as _0xfafda6,SheetsSelectionsService as _0x3989c0,EffectRefRangId as _0x3d0310,handleIRemoveRow as _0x421141,handleIRemoveCol as _0x55d0d7,handleMoveRange as _0x406e9d,handleInsertRow as _0x2f0c8a,handleInsertRangeMoveRight as _0x3facfa,handleInsertRangeMoveDown as _0x4e1c23,handleInsertCol as _0x443d6d,handleDeleteRangeMoveUp as _0x234f21,handleDeleteRangeMoveLeft as _0x2a918a,runRefRangeMutations as _0x550042}from'@univerjs/sheets';import{Shape as _0x401e9f,Rect as _0x55df46,getColor as _0x246598,RegularPolygon as _0x366b24,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x35acba,Vector2 as _0xf21b19,SHEET_VIEWPORT_KEY as _0x9f8f1d,IRenderManagerService as _0x36e82c}from'@univerjs/engine-render';import{ISocketService as _0xbf83de,WebSocketService as _0x1237ba,HTTPService as _0x46ef92}from'@univerjs/network';import{IDocClipboardService as _0x1fb839,NodePositionConvertToCursor as _0x3cccbc,NodePositionConvertToRectRange as _0x2779e6,TEXT_RANGE_LAYER_INDEX as _0x27ba38,SetDocZoomRatioOperation as _0x6673cf,DocIMEInputManagerService as _0x1b2d69,DocStateChangeManagerService as _0x17de1c}from'@univerjs/docs-ui';import{IImageIoService as _0x514206}from'@univerjs/drawing';import{ITransformService as _0x445c13,CollaborationEvent as _0x25d93e,isTransformMutationFailure as _0x5ee050,isTransformMutationsWithChangesetSuccess as _0x3a1c57,RevisionService as _0x144dc6,ISnapshotServerService as _0x20303c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x315a58,RichTextEditingMutation as _0x3e9b3c,DocSelectionManagerService as _0x3efe9d,DocSkeletonManagerService as _0x3061c8}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x270ac2,serializeRangeWithSheet as _0x165fb5}from'@univerjs/engine-formula';import{map as _0x4eb70e,filter as _0x1faea4,throttleTime as _0x4cb267,takeUntil as _0x314f39,switchMap as _0x41fe6f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1681dc,getCoordByCell as _0x1ae1ab,getSheetObject as _0x2b5c88}from'@univerjs/sheets-ui';var v=function(){const _0x4351e3=_0x39e5a0;return v=Object[_0x4351e3(0x1cb)]||function(_0x2572f0){const _0x22fe87=_0x4351e3;for(var _0x1abaae,_0x1442c9=0x1,_0x47695c=arguments['length'];_0x1442c9<_0x47695c;_0x1442c9++){_0x1abaae=arguments[_0x1442c9];for(var _0x390e0d in _0x1abaae)Object[_0x22fe87(0x195)][_0x22fe87(0x126)][_0x22fe87(0x271)](_0x1abaae,_0x390e0d)&&(_0x2572f0[_0x390e0d]=_0x1abaae[_0x390e0d]);}return _0x2572f0;},v[_0x4351e3(0x15b)](this,arguments);},ci=function(_0x5a0631,_0x1331cf){const _0x5f3a47=_0x39e5a0;var _0x32d07d={};for(var _0x4043cd in _0x5a0631)Object[_0x5f3a47(0x195)][_0x5f3a47(0x126)]['call'](_0x5a0631,_0x4043cd)&&_0x1331cf[_0x5f3a47(0xd7)](_0x4043cd)<0x0&&(_0x32d07d[_0x4043cd]=_0x5a0631[_0x4043cd]);if(_0x5a0631!=null&&typeof Object[_0x5f3a47(0xfe)]==_0x5f3a47(0x196)){for(var _0x23d349=0x0,_0x4043cd=Object[_0x5f3a47(0xfe)](_0x5a0631);_0x23d349<_0x4043cd[_0x5f3a47(0xca)];_0x23d349++)_0x1331cf[_0x5f3a47(0xd7)](_0x4043cd[_0x23d349])<0x0&&Object[_0x5f3a47(0x195)]['propertyIsEnumerable'][_0x5f3a47(0x271)](_0x5a0631,_0x4043cd[_0x23d349])&&(_0x32d07d[_0x4043cd[_0x23d349]]=_0x5a0631[_0x4043cd[_0x23d349]]);}return _0x32d07d;},ke=_0xe1b5ad(function(_0x1aa51e,_0x5ad860){const _0x192109=_0x39e5a0;var _0x5935fb=_0x1aa51e[_0x192109(0x12e)],_0x298fe3=_0x1aa51e['id'],_0x4f5169=_0x1aa51e[_0x192109(0xb3)],_0x24edba=_0x1aa51e[_0x192109(0x190)],_0x5c70e7=ci(_0x1aa51e,[_0x192109(0x12e),'id','className',_0x192109(0x190)]),_0x347bdf=_0x192109(0x1d2)[_0x192109(0x1fb)](_0x298fe3,'\x20')[_0x192109(0x1fb)](_0x4f5169||'')[_0x192109(0x117)](),_0x5b852a=_0x1e308e('_'[_0x192109(0x1fb)](hi()));return Rt(_0x5935fb,''['concat'](_0x298fe3),{'defIds':_0x5935fb['defIds'],'idSuffix':_0x5b852a[_0x192109(0x192)]},v({'ref':_0x5ad860,'className':_0x347bdf},_0x5c70e7),_0x24edba);});function Rt(_0x2c8f2d,_0x4ddbff,_0x400998,_0x22b4ea,_0x9a0937){const _0x5e1aed=_0x39e5a0;return _0x1f4bc0(_0x2c8f2d[_0x5e1aed(0x1e9)],v(v({'key':_0x4ddbff},li(_0x2c8f2d,_0x400998,_0x9a0937)),_0x22b4ea),(_i(_0x2c8f2d,_0x400998)['children']||[])[_0x5e1aed(0x1f5)](function(_0x1e6f37,_0x5066b6){const _0x166197=_0x5e1aed;return Rt(_0x1e6f37,''[_0x166197(0x1fb)](_0x4ddbff,'-')[_0x166197(0x1fb)](_0x2c8f2d[_0x166197(0x1e9)],'-')['concat'](_0x5066b6),_0x400998,void 0x0,_0x9a0937);}));}function li(_0x4853e6,_0xdcebea,_0x23886b){const _0x3a20e8=_0x39e5a0;var _0x465207=v({},_0x4853e6['attrs']);_0x23886b!=null&&_0x23886b[_0x3a20e8(0x276)]&&_0x465207['fill']===_0x3a20e8(0x276)&&(_0x465207['fill']=_0x23886b['colorChannel1']),_0x4853e6[_0x3a20e8(0x1e9)]===_0x3a20e8(0x15c)&&_0x465207['id']&&(_0x465207['id']=_0x465207['id']+_0xdcebea[_0x3a20e8(0x102)]),Object[_0x3a20e8(0x267)](_0x465207)[_0x3a20e8(0x205)](function(_0x3a358e){const _0x572e34=_0x3a20e8;var _0x523e6d=_0x3a358e[0x0],_0x39ef2d=_0x3a358e[0x1];_0x523e6d===_0x572e34(0x15c)&&typeof _0x39ef2d=='string'&&(_0x465207[_0x523e6d]=_0x39ef2d[_0x572e34(0x110)](/url\(#(.*)\)/,_0x572e34(0xf8)[_0x572e34(0x1fb)](_0xdcebea['idSuffix'],')')));});var _0x1b2589=_0xdcebea[_0x3a20e8(0x18c)];return!_0x1b2589||_0x1b2589['length']===0x0||(_0x4853e6[_0x3a20e8(0x1e9)]===_0x3a20e8(0x162)&&_0x465207['xlink:href']&&(_0x465207[_0x3a20e8(0x167)]=_0x465207[_0x3a20e8(0x167)]+_0xdcebea[_0x3a20e8(0x102)]),Object[_0x3a20e8(0x267)](_0x465207)[_0x3a20e8(0x205)](function(_0x139240){const _0x1c14d3=_0x3a20e8;var _0x3f31df=_0x139240[0x0],_0x11fc1c=_0x139240[0x1];typeof _0x11fc1c==_0x1c14d3(0x120)&&(_0x465207[_0x3f31df]=_0x11fc1c[_0x1c14d3(0x110)](/url\(#(.*)\)/,'url(#$1'[_0x1c14d3(0x1fb)](_0xdcebea['idSuffix'],')')));})),_0x465207;}function _i(_0x300259,_0x39cbca){const _0x179fbc=_0x39e5a0;var _0x59c04c,_0x24a0d7=_0x39cbca[_0x179fbc(0x18c)];return!_0x24a0d7||_0x24a0d7['length']===0x0?_0x300259:_0x300259[_0x179fbc(0x1e9)]===_0x179fbc(0x259)&&(!((_0x59c04c=_0x300259[_0x179fbc(0xe1)])===null||_0x59c04c===void 0x0)&&_0x59c04c[_0x179fbc(0xca)])?v(v({},_0x300259),{'children':_0x300259[_0x179fbc(0xe1)][_0x179fbc(0x1f5)](function(_0x399d27){const _0x50cb1a=_0x179fbc;return typeof _0x399d27[_0x50cb1a(0x18d)]['id']==_0x50cb1a(0x120)&&_0x24a0d7&&_0x24a0d7[_0x50cb1a(0x121)](_0x399d27[_0x50cb1a(0x18d)]['id'])?v(v({},_0x399d27),{'attrs':v(v({},_0x399d27[_0x50cb1a(0x18d)]),{'id':_0x399d27[_0x50cb1a(0x18d)]['id']+_0x39cbca[_0x50cb1a(0x102)]})}):_0x399d27;})}):_0x300259;}function _0x470b(){const _0x24e3f0=['_onCursorDelete','extend','getActiveSheet','current','runId','arc','prototype','function','_instanceService','collab-text-anchor-','_unitOnClients','_toggleOffline','_clearOtherTimers','_getSaveTimeout','replaceDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','sessionStatus$','cursorInfo$','_memberService','parse','makeDirty','_urlService','_updateCollabCursors','_colorAssignService','DeleteRangeMoveUpCommandId','_config','ONLINE','memberID','SYNCED','_syncEditingCollabCursorService','_anchor','setConfig','ALREADY_EXISTS','findNodePositionByCharIndex','_scene','text','getViewport','clearTimeout','_drawAnchor','searchParams','_online','YUUMI_UNABLE_LOAD_URL','USER_NOT_INVITED_CODE','_updateLocalCursor','collaboration.single-unit.warning','_messageService','_transformService','result','set','_setupSubUnitSync','div','getStateCache','setParam','_cursorShapes','_scheduleClearOtherTimer','OnLineIcon','_draw','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','stringify','endColumn','assign','fillRule','getValue','_cursors','from','_localCacheService','editingUnit','univerjs-icon\x20univerjs-icon-','onPointerLeave$','getRenderById','collabStatus.offline','MoveRangeCommandId','_initResize','skeleton','top','_initCommandExecutedListener','_revisionService','INVITE_CODE_ALREADY_BOUND','getSheetBySheetId','selection','saveImage','ACTIVE_UNIT_EVENT_CHANNEL','_beforeCloseService','currentColor','_onCursorUpdate','registerRenderModule','min','UNIVER_DOC','getCollabEntity$','setInterval','tag','YUUMI_NO_CUBOID_FOR_QUESTION','_anchorDot','_textBubble','sessionTicket','values','_startSheetCollabCursor','unitId','InsertColCommandId','_themeService','_commandService','_backgroundColor','map','onCommandExecuted','getTypeOfUnitAdded$','wsSessionTicketUrl','AWAITING_WITH_PENDING','_handleEvent','concat','_setupBeforeClosingHandler','params','disableLocalCache','setShapeProps','textRanges','color','exhaustSavingTask','setTimeout','substring','forEach','addObject','unitID','red.300','_docTransformSelectionsService','_onRefRangeChange','black','toRgbString','_handleHeartbeatEvent','RemoveColCommandId','_context','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getOffsetConfig','random','EMAIL_HAS_BEEN_BOUND','fillText','eventID','storage','194454Fasqkr','getActiveRange','_heartbeatTimer','_roomMembers$','_disabled','off-line-icon_clip0_910_343','COMPLETION_FINISHED','save','NOT_COLLAB','on-line-icon_clip0_910_349','_docTransformStateCacheService','_httpService','_docSyncEditingCollabCursorService','_hovered','VIEW_MAIN','INVITE_CODE_REQUIRED','width','complete','collaboration.closeRoom','1em','_getAnchorBounding','2202815zYuVMq','redoState','transformStateCache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initStatusListener','getSheetId','MUTATION','EMAIL_VERIFY_CODE_MISMATCH','#FFF','session.collaboration-timeout','subUnitId','origin','transformRemoteChangeset','getRelativeToViewportCoord','[RemoteUniscriptService]:\x20no\x20focused\x20unit','application/json','CLOSE_ROOM','doc.mutation.rich-text-editing','loadOfflineData','entityInit$','_initEvent','_dataLoaderService','OTHER_CLIENTS_EDITING','ranges','univer-mr-2\x20univer-flex\x20univer-text-xl','getCurrentRevOfUnit','_uiPartsService','reconnect','backgroundColor','saveTaskMap','url(#on-line-icon_clip0_910_349)','executeCommand','YUUMI_URL_COL_OUT_OF_RANGE','_docClipboardService','error','registerComponent','YUUMI_AI_RUN_FAILED','INTERNAL_ERROR','APPLY_REJECT','FromArray','5584469LXGTbc','onPointerEnter$','APPLY_PERMISSION_DENIED','_renderManagerService','setActiveRange','defs','_refreshCollabCursors','row','subscribeEvent','LICENSE_EXPORT_SIZE_EXCEEDED','LOGIN_FAILED','TOO_MANY_REQUESTS','_drawTextRange','getMember','sheetId','_colorIndex','roomMembers','override','fill','entries','http://www.w3.org/2000/svg','M0\x200H16V16H0z','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','registerRefRange','PERMISSION_DENIED','UNRECOGNIZED','ticket','4KMyZWx','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','call','_initDependencies','transformMutation','round','permission.title','colorChannel1','InsertRowCommandId','getVpScrollXYInfoByPosToVp','_session','getColorFromTheme','location','transform','_localStorageService','_updateURLWithCurrentState','loadUnit','enableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSheetObject','fillStyle','_init','mutations','split','_range','disposeWithMe','collabStatus.syncing','roomMembers$','SUBMIT_CHANGESET_TIMEOUT','_selfUnitIDs','newValue','Unknown\x20user','restore','urlChange$','_collabSessionService','debug','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SOCKET_FAILED_RETRY','focused$','_cachedData','collabStatus.synced','_docStateChangeManagerService','hide','YUUMI_CONNECTOR_URL_NOT_FOUND','measureText','_cursorInfo$','_hideTimer','TEXT','_saveCache','getDocRanges','currentTheme$','translate(.97)','PENDING','INVALID_INVITE_CODE','hovered','isArray','source','getParam','_eventUnsubscribe','flatMap','cursorInfo','...','PY_RUNTIME_SCRIPT_ERROR','_notificationService','transformByState','_assignedColors','_initStatusComponent','size','saveOfflineData','getUnitId','subunit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENT_EDITING','_document','RemoveRowCommandId','toString','unit','_imageIoService','_collabCursorController','2306PAzDUb','selections','drawWith','_docSkeletonManagerService','m2Prime','session.connection-failed','docStateChange$','_handleLeaveEvent','then','addEventListener','transformMutationsWithChangeset','className','_lastPointer','pushState','executionId','clipPath','transformIMECache','_entityInit$','NO_OTHER_CLIENTS_EDITING','CHANGESET_REVISION_CONFILICT','displayName','getSkeleton','undoState','CONFLICT','getTypeOfUnitDisposed$','setAlpha','MOBILE_HAS_BEEN_BOUND','APPLY_NON_SEQUENTIAL_REVISION','with','_render','isEditing','search','lineTo','_univerInstanceService','length','ENSURE_SNAPSHOT_EXECUTION','replaceState','show','all','_docTransformIMECacheService','Warning','data','getMemberID','beginPath','8490NLvvCU','FETCH_MISS','0\x200\x2017\x2016','indexOf','_getSessionTicket','history','_refRangeService','collab-rect-range-','deepClone','runOnServer','INVITE_CODE_HAS_BEEN_UES','permission.content','NOT_FOUND','children','_drawRectRange','whenReady','init','setItem','_removeClearOtherTimer','assignAColorForMemberID','isActive','_sheetSkeletonManagerService','RECT','_id','getAncestorScale','has','getOwnPropertyDescriptor','href','Failed','4333JwPmWx','asObservable','dispose$','session.will-retry','endRow','_transformUndoRedoStack','APPLY_REVISION_CONFILICT','url(#$1','[CollaborationDataLoaderController]','event$','_startDocCollabCursor','m1Prime','key','getOwnPropertySymbols','_collaborationUIEventService','_getMergeRange','height','idSuffix','_handleHover','_createSocketURL','OffLineIcon','_removeCollabCursors','_scheduleHeartbeat','128owRqMe','_initEntityListener','_getScale','addObjects','createSocket','_localeService','contains','Error','replace','_hover','3019029yGCxJc','_injector','onLocalMutation','unshift','dispose','trim','activeSheet$','_doCreateSocket','getCurrent','_updateSubUnitFromURLParams','univer-flex\x20univer-items-center','some','2157650YmlKdp','url(#off-line-icon_clip0_910_343)','string','includes','getCellPositionByOffset','SNAPSHOT_INVALID_SNAPSHOT','createInstance','sheetID','hasOwnProperty','collab-text-range-','range','pluginName','UNIVER_SHEET','UNDEFINED','send','body','icon','InsertRangeMoveDownCommandId','getCollabCursors$','_registerRenderDependencies','blue.400','next','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_transformHistoryAndStateStack','currentSkeleton$','actions','type','_collaborationController','_labelPosition','_toggleOnline','delete','post','_send','collab-client.tooltip.reconnect','_registerDependencies','find','transformSelections','_name','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','syncEditingCollabCursor','APPLY_DUPLICATED','pipe','YUUMI_ALL_TABLES_IS_INVALID','push','subscribe','svg','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','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_unitStatus','requireSession','setUndoRedoMutationParamsCache','add','getRangePointData','collabCursorState$','_status$','path','MOBILE_VERIFY_CODE_MISMATCH','collabStatus.notCollab','LICENSE_DISTRO_REJECTED','_ensureSubject','getConfig','apply','mask','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','onStarting','column','_cursor','labelPosition','use','unload','status$','_shapes','DeleteRangeMoveLeftCommandId','xlink:href','collaboration-client.offline-data-not-saved','code','LICENSE_MAX_UNITS_EXCEEDED','unsubscribe','getUnitStatus$','bottom','_color','333jqGAVD','getItem','YUUMI_RATE_OVER_LIMIT','onRendered','YUUMI_ASYNCIO_CANCELLED','get','off-line-icon','UPDATE_CURSOR','collaboration-client-ui.config','startsWith','evenodd','name','_logService','_entities','startRow','_saveTaskMap','updateOfflineData','_transformPreviousActiveRange','closePath','getUndoRedoMutationParamsCache','white','_collabCursorState$','OFFLINE','defineProperty','_configService','USERS_LEAVE','_docSkeleton','getFocusedUnit','getCurrentUnitForType','defIds','attrs','WECHAT_HAS_BEEN_BOUND'];_0x470b=function(){return _0x24e3f0;};return _0x470b();}function hi(){const _0x1d16f9=_0x39e5a0;return Math[_0x1d16f9(0x212)]()[_0x1d16f9(0xa4)](0x24)[_0x1d16f9(0x204)](0x2,0x8);}ke[_0x39e5a0(0xbc)]='UniverIcon';var ui={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x39e5a0(0x22a),'height':_0x39e5a0(0x22a)},'children':[{'tag':'g','attrs':{'clipPath':_0x39e5a0(0x11f)},'children':[{'tag':_0x39e5a0(0x155),'attrs':{'stroke':_0x39e5a0(0x1e2),'d':_0x39e5a0(0x14c),'strokeLinecap':_0x39e5a0(0x274),'strokeLinejoin':_0x39e5a0(0x274),'strokeWidth':1.2}}]},{'tag':_0x39e5a0(0x259),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x39e5a0(0x21c)},'children':[{'tag':_0x39e5a0(0x155),'attrs':{'fill':_0x39e5a0(0x183),'d':_0x39e5a0(0x269)}}]}]}],'defIds':[_0x39e5a0(0x21c)]},Dt=_0xe1b5ad(function(_0x3c6a98,_0x4f22dc){const _0x1c9d0c=_0x39e5a0;return _0x1f4bc0(ke,Object['assign']({},_0x3c6a98,{'id':_0x1c9d0c(0x175),'ref':_0x4f22dc,'icon':ui}));});Dt[_0x39e5a0(0xbc)]=_0x39e5a0(0x105);var di={'tag':_0x39e5a0(0x14b),'attrs':{'xmlns':_0x39e5a0(0x268),'fill':'none','viewBox':_0x39e5a0(0xd6),'width':_0x39e5a0(0x22a),'height':_0x39e5a0(0x22a)},'children':[{'tag':'g','attrs':{'clipPath':_0x39e5a0(0x24a)},'children':[{'tag':_0x39e5a0(0x155),'attrs':{'stroke':'currentColor','d':_0x39e5a0(0x15d),'strokeLinecap':_0x39e5a0(0x274),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x39e5a0(0x259),'attrs':{},'children':[{'tag':_0x39e5a0(0xb7),'attrs':{'id':_0x39e5a0(0x220)},'children':[{'tag':'path','attrs':{'fill':_0x39e5a0(0x183),'d':_0x39e5a0(0x269),'transform':_0x39e5a0(0x8c)}}]}]}],'defIds':[_0x39e5a0(0x220)]},Nt=_0xe1b5ad(function(_0x7c5b6f,_0x4865ea){return _0x1f4bc0(ke,Object['assign']({},_0x7c5b6f,{'id':'on-line-icon','ref':_0x4865ea,'icon':di}));});Nt['displayName']=_0x39e5a0(0x1c6);function fi(_0x1afe32){const _0x504a54=_0x39e5a0;switch(_0x1afe32){case _0x3885c5['OFFLINE']:return _0x504a54(0x1d5);case _0x3885c5[_0x504a54(0xbf)]:return'collabStatus.conflict';case _0x3885c5[_0x504a54(0xd5)]:return'collabStatus.fetchMiss';case _0x3885c5[_0x504a54(0x21f)]:return _0x504a54(0x157);case _0x3885c5['AWAITING']:case _0x3885c5[_0x504a54(0x1f9)]:return _0x504a54(0x73);case _0x3885c5[_0x504a54(0x1ab)]:case _0x3885c5[_0x504a54(0x8d)]:return _0x504a54(0x81);}}function Si(_0x32795c){const _0x45b123=_0x39e5a0,{status$:_0x2c68c3}=_0x32795c,_0x36d2ad=_0x2adcd4(_0x2c68c3,_0x3885c5[_0x45b123(0x21f)]),_0x2838bd=_0x9cec4f(_0x572998),_0x1f00be=_0x9cec4f(_0x18e03a),_0x4c50b3=_0x36d2ad!==_0x3885c5[_0x45b123(0x185)],_0x1c38a7=_0x2838bd['t'](fi(_0x36d2ad)),_0x3954dd=_0x4c50b3?_0x25f88a(Nt,{}):_0x25f88a(Dt,{}),_0x219977=_0x5868f0(()=>{const _0x169628=_0x45b123;_0x4c50b3||_0x1f00be[_0x169628(0x247)]();},[_0x4c50b3,_0x1f00be]);function _0x4732f4(){const _0x30f62c=_0x45b123;return _0x302688(_0x30f62c(0x1c1),{'className':_0x30f62c(0x11c),'onClick':_0x219977,'children':[_0x25f88a(_0x30f62c(0x1c1),{'className':_0x49752a(_0x30f62c(0x244),{'univer-text-green-500':_0x4c50b3,'univer-text-red-500':!_0x4c50b3}),'children':_0x3954dd}),_0x25f88a(_0x30f62c(0x1c1),{'className':_0x30f62c(0x270),'children':_0x1c38a7})]});}return _0x4c50b3?_0x4732f4():_0x25f88a(_0x562028,{'title':_0x2838bd['t'](_0x45b123(0x13f)),'children':_0x4732f4()});}var mi=Object[_0x39e5a0(0xee)],Ii=(_0xa0c6c0,_0x5e26d8,_0x16c986,_0x4b34f8)=>{for(var _0x5227f5=_0x4b34f8>0x1?void 0x0:_0x4b34f8?mi(_0x5e26d8,_0x16c986):_0x5e26d8,_0x29127d=_0xa0c6c0['length']-0x1,_0x55a17a;_0x29127d>=0x0;_0x29127d--)(_0x55a17a=_0xa0c6c0[_0x29127d])&&(_0x5227f5=_0x55a17a(_0x5227f5)||_0x5227f5);return _0x5227f5;},q=(_0xc33281,_0xe1b89)=>(_0x25e5ce,_0x39c969)=>_0xe1b89(_0x25e5ce,_0x39c969,_0xc33281);let se=class extends _0x2c1746{constructor(_0x2abaed,_0x2e0cd7,_0x18aff9,_0x2882cb){const _0x95da82=_0x39e5a0;super(),_(this,'_status$',new _0x13e65e(_0x3885c5[_0x95da82(0x21f)])),(this['_univerInstanceService']=_0x2abaed,this[_0x95da82(0x113)]=_0x2e0cd7,this[_0x95da82(0x139)]=_0x18aff9,this[_0x95da82(0x246)]=_0x2882cb,this[_0x95da82(0x9b)](),this[_0x95da82(0x230)]());}['_initStatusListener'](){const _0xe72b95=_0x39e5a0;this[_0xe72b95(0x72)](this[_0xe72b95(0xc9)][_0xe72b95(0x7f)]['pipe'](_0x4173ee(()=>{const _0x18e572=_0xe72b95,_0xb414cb=this[_0x18e572(0xc9)][_0x18e572(0x18a)]();return _0xb414cb?this['_collaborationController'][_0x18e572(0x1e7)](_0xb414cb[_0x18e572(0x9e)]()):_0x596fdc(null);}),_0x4173ee(_0x2c963c=>_0x2c963c?_0x2c963c[_0xe72b95(0x164)]:_0x596fdc(_0x3885c5[_0xe72b95(0x21f)])))[_0xe72b95(0x14a)](_0x4316a6=>{const _0xa6ebef=_0xe72b95;this[_0xa6ebef(0x154)]['next'](_0x4316a6);}));}[_0x39e5a0(0x9b)](){const _0xaab6c3=_0x39e5a0;this[_0xaab6c3(0x72)](this['_uiPartsService'][_0xaab6c3(0x24f)](_0x4f80bd['HEADER_MENU'],()=>_0x3e4ac5(vi({'status$':this[_0xaab6c3(0x154)][_0xaab6c3(0xf2)]()}),this['_injector'])));}};se=Ii([q(0x0,_0x31cd6a),q(0x1,_0x546f06(_0x443c56)),q(0x2,_0x546f06(_0x5f3b18)),q(0x3,_0x54d82d)],se);function vi(_0x91d7d1){const {status$:_0x30df4d}=_0x91d7d1;return function(){return _0x25f88a(Si,{'status$':_0x30df4d});};}const Ut=_0x4f0d98('uni.network.url-service');var gi=Object[_0x39e5a0(0xee)],pi=(_0x2deb31,_0x213a5a,_0x171506,_0x295221)=>{for(var _0x562cc5=_0x295221>0x1?void 0x0:_0x295221?gi(_0x213a5a,_0x171506):_0x213a5a,_0x458cec=_0x2deb31['length']-0x1,_0x174037;_0x458cec>=0x0;_0x458cec--)(_0x174037=_0x2deb31[_0x458cec])&&(_0x562cc5=_0x174037(_0x562cc5)||_0x562cc5);return _0x562cc5;},G=(_0x4cd44e,_0x1491cb)=>(_0x583bc3,_0xfd1b5b)=>_0x1491cb(_0x583bc3,_0xfd1b5b,_0x4cd44e);let ie=class extends _0x2eff66{constructor(_0xa31e6b,_0x2332bd,_0x2a5802,_0x48871b,_0x36d281){const _0x3d692a=_0x39e5a0;super(),this[_0x3d692a(0x1a4)]=_0xa31e6b,this[_0x3d692a(0x17b)]=_0x2332bd,this[_0x3d692a(0x1f3)]=_0x2a5802,this[_0x3d692a(0x241)]=_0x48871b,_0x36d281?_0x36d281==null||_0x36d281[_0x3d692a(0xe3)]()['then'](()=>this[_0x3d692a(0x6e)]()):(this[_0x3d692a(0x17b)][_0x3d692a(0x7c)](_0x3d692a(0xf9),_0x3d692a(0x26a)),this[_0x3d692a(0x6e)]());}async[_0x39e5a0(0x6e)](){const _0x88f3da=_0x39e5a0,_0x13182c=this[_0x88f3da(0x1a4)][_0x88f3da(0x92)](_0x88f3da(0xa5)),_0x2a605d=this[_0x88f3da(0x1a4)][_0x88f3da(0x92)](_0x88f3da(0x138)),_0x518a05=this[_0x88f3da(0x1a4)][_0x88f3da(0x92)](_0x88f3da(0x9f));if(!_0x13182c||!_0x2a605d){this[_0x88f3da(0x17b)][_0x88f3da(0x7c)](_0x88f3da(0xf9),_0x88f3da(0x7d));return;}const _0xa38257=await this['_dataLoaderService'][_0x88f3da(0x69)](_0x13182c,Number(_0x2a605d),_0x518a05);_0xa38257&&_0xa38257 instanceof _0x47cfea&&this[_0x88f3da(0x1c0)](_0xa38257);}async['_setupSubUnitSync'](_0x1b2455){const _0x39f7c9=_0x39e5a0;await this['_updateSubUnitFromURLParams'](_0x1b2455),_0x1b2455[_0x39f7c9(0x118)][_0x39f7c9(0x147)](_0x2ec815(this['dispose$']))[_0x39f7c9(0x14a)](_0x2f78d7=>{const _0x5500bd=_0x39f7c9;_0x2f78d7&&this[_0x5500bd(0x68)](_0x2f78d7);}),this[_0x39f7c9(0x1a4)][_0x39f7c9(0x7a)][_0x39f7c9(0x147)](_0x2ec815(this['dispose$']))[_0x39f7c9(0x14a)](()=>this[_0x39f7c9(0x11b)](_0x1b2455));}[_0x39e5a0(0x68)](_0x4df016,_0x33eb5b=!0x1){const _0x2253f4=_0x39e5a0,_0x3da73c=this[_0x2253f4(0x1a4)][_0x2253f4(0x92)](_0x2253f4(0x9f));_0x4df016[_0x2253f4(0x231)]()!==_0x3da73c&&this[_0x2253f4(0x1a4)][_0x2253f4(0x1c3)]('subunit',_0x4df016[_0x2253f4(0x231)](),_0x33eb5b);}async[_0x39e5a0(0x11b)](_0x319a61){const _0x2a6e86=_0x39e5a0;var _0x26d3db;const _0x3e5fb5=this[_0x2a6e86(0x1a4)][_0x2a6e86(0x92)]('subunit');if(!_0x3e5fb5||!_0x319a61['getSheetBySheetId'](_0x3e5fb5)){const _0x3ced14=_0x319a61['getUnhiddenWorksheets']()[0x0],_0x1918b3=_0x319a61[_0x2a6e86(0x1dd)](_0x3ced14);if(!_0x1918b3)return;this['_updateURLWithCurrentState'](_0x1918b3,!0x0),await this['_commandService'][_0x2a6e86(0x24b)](_0x759508['id'],{'unitId':_0x319a61[_0x2a6e86(0x9e)](),'subUnitId':_0x3ced14});return;}((_0x26d3db=_0x319a61['getActiveSheet']())==null?void 0x0:_0x26d3db[_0x2a6e86(0x231)]())!==_0x3e5fb5&&await this[_0x2a6e86(0x1f3)][_0x2a6e86(0x24b)](_0x759508['id'],{'unitId':_0x319a61[_0x2a6e86(0x9e)](),'subUnitId':_0x3e5fb5});}};ie=pi([G(0x0,Ut),G(0x1,_0x38d9e1),G(0x2,_0x384799),G(0x3,_0x546f06(_0x3367dd)),G(0x4,_0x24f097(_0x145c96))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x24d4c0,_0x5f5253,_0x3e51e4,_0xf1aa8b)=>{const _0x58cf74=_0x39e5a0;for(var _0x1eecd8=_0xf1aa8b>0x1?void 0x0:_0xf1aa8b?Ci(_0x5f5253,_0x3e51e4):_0x5f5253,_0x46f245=_0x24d4c0[_0x58cf74(0xca)]-0x1,_0x3819fd;_0x46f245>=0x0;_0x46f245--)(_0x3819fd=_0x24d4c0[_0x46f245])&&(_0x1eecd8=_0x3819fd(_0x1eecd8)||_0x1eecd8);return _0x1eecd8;},Je=(_0x484145,_0x59288e)=>(_0x190f9a,_0x9c624b)=>_0x59288e(_0x190f9a,_0x9c624b,_0x484145);let Ne=class extends _0x2eff66{constructor(_0x39d147,_0x4f1f9f){const _0x4e8e58=_0x39e5a0;super(),this['_docClipboardService']=_0x39d147,this[_0x4e8e58(0xa6)]=_0x4f1f9f,this[_0x4e8e58(0x6e)]();}[_0x39e5a0(0x6e)](){const _0x1038c0=_0x39e5a0,_0x58c1f5=this;this[_0x1038c0(0x72)](this[_0x1038c0(0x24d)]['addClipboardHook']({'onBeforePasteImage':async _0x42c062=>{const _0x50dedb=_0x1038c0,_0xd14916=await _0x58c1f5[_0x50dedb(0xa6)][_0x50dedb(0x1df)](_0x42c062);return _0xd14916?{'source':_0xd14916[_0x50dedb(0x91)],'imageSourceType':_0xd14916['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x1fb839),Je(0x1,_0x514206)],Ne);const Ze=['purple.300','jiqing.500','green.600',_0x39e5a0(0x208),_0x39e5a0(0x132),'yellow.400'];class He extends _0x2c1746{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x39e5a0(0xe7)](_0x32e337){const _0x267042=_0x39e5a0;if(this['_assignedColors'][_0x267042(0xed)](_0x32e337))return this[_0x267042(0x9a)][_0x267042(0x174)](_0x32e337);const _0x39d3a4=Ze[this['_colorIndex']];return this[_0x267042(0x263)]=(this[_0x267042(0x263)]+0x1)%Ze['length'],this[_0x267042(0x9a)][_0x267042(0x1bf)](_0x32e337,_0x39d3a4),_0x39d3a4;}}function Mt(_0x58334d){const _0x2e97b7=_0x39e5a0;let _0x18942c='';for(const _0x14d31d of _0x58334d){const {startOffset:_0x4a0c16,endOffset:_0x1bd080,isActive:_0xaea523,rangeType:_0x524654,segmentId:_0x5dad91,segmentPage:_0x3e54f1}=_0x14d31d;_0x18942c[_0x2e97b7(0xca)]&&(_0x18942c+=','),_0x18942c+=_0x4a0c16+':'+_0x1bd080+':'+(_0xaea523?'1':'0')+':'+_0x524654+':'+_0x5dad91+':'+_0x3e54f1;}return _0x18942c;}function Oi(_0x40df29){const _0x543fdd=_0x39e5a0,_0x5280a8=_0x40df29['split'](','),_0x57c955=[];for(const _0x65d4d9 of _0x5280a8){const [_0x3f5b75,_0x1ea626,_0xae6edf,_0x3a72a0,_0x30d5f1,_0x5cff6b]=_0x65d4d9[_0x543fdd(0x70)](':');_0x57c955[_0x543fdd(0x149)]({'startOffset':Number(_0x3f5b75),'endOffset':Number(_0x1ea626),'collapsed':_0x3f5b75===_0x1ea626,'isActive':_0xae6edf==='1','rangeType':_0x3a72a0===_0x57e71f[_0x543fdd(0x88)]?_0x57e71f[_0x543fdd(0x88)]:_0x57e71f[_0x543fdd(0xea)],'segmentId':typeof _0x30d5f1==_0x543fdd(0x120)?String(_0x30d5f1):'','segmentPage':Number(_0x5cff6b!=null?_0x5cff6b:-0x1)});}return _0x57c955[_0x543fdd(0x11d)](_0x5d06b3=>_0x5d06b3[_0x543fdd(0xe8)])||(_0x57c955[0x0][_0x543fdd(0xe8)]=!0x0),_0x57c955;}class Fe extends _0x2eff66{constructor(){const _0x38d2b3=_0x39e5a0;super(...arguments),_(this,'_collabCursorState$',new _0x13e65e(null)),_(this,_0x38d2b3(0x153),this[_0x38d2b3(0x184)][_0x38d2b3(0xf2)]());}['syncEditingCollabCursor'](_0x1ada8a){const _0x500b82=_0x39e5a0,{unitID:_0x258fc1,memberID:_0x43081e,textRanges:_0x183320}=_0x1ada8a,_0x42902b=Mt(_0x183320);if(_0x42902b==='')return;const _0x2a1aab={'unitID':_0x258fc1,'memberID':_0x43081e,'selection':_0x42902b};this[_0x500b82(0x184)]['next'](_0x2a1aab);}}var bi=Object[_0x39e5a0(0xee)],Ti=(_0x29c62c,_0x4e205e,_0x480d0b,_0x393e64)=>{const _0x851656=_0x39e5a0;for(var _0x552169=_0x393e64>0x1?void 0x0:_0x393e64?bi(_0x4e205e,_0x480d0b):_0x4e205e,_0x29308f=_0x29c62c[_0x851656(0xca)]-0x1,_0x35ccd2;_0x29308f>=0x0;_0x29308f--)(_0x35ccd2=_0x29c62c[_0x29308f])&&(_0x552169=_0x35ccd2(_0x552169)||_0x552169);return _0x552169;},P=(_0x2e017b,_0x3f6626)=>(_0x3bc7bb,_0x28f3e9)=>_0x3f6626(_0x3bc7bb,_0x28f3e9,_0x2e017b);const Ri=0x12c,Di=0x64;let Ue=class extends _0x2eff66{constructor(_0x1bdcf5,_0x62f4e7,_0x4819c3,_0x477fd9,_0x2504b6,_0x926bef,_0x2609de,_0x3ad4c2,_0x425fef){const _0x2ab1d3=_0x39e5a0;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x2ab1d3(0x86),new _0x13e65e(new Map())),_(this,_0x2ab1d3(0x1a0),this[_0x2ab1d3(0x86)][_0x2ab1d3(0xf2)]()),_(this,_0x2ab1d3(0x21a),new _0x13e65e([])),_(this,_0x2ab1d3(0x74),this[_0x2ab1d3(0x21a)][_0x2ab1d3(0x147)](_0x197b64(Ri))),_(this,'_updateLocalCursor',_0x5ecfd0(_0x36ec62=>{const _0x265b50=_0x2ab1d3,_0xc0e7ce={'eventID':_0x25d93e[_0x265b50(0x176)],'data':{'unitID':this[_0x265b50(0x207)],'memberID':this[_0x265b50(0x279)][_0x265b50(0xd2)](),'selection':Mt(_0x36ec62)}};this[_0x265b50(0x279)][_0x265b50(0x12c)](_0xc0e7ce,this['unitID']);},Di)),(this[_0x2ab1d3(0x207)]=_0x1bdcf5,this[_0x2ab1d3(0x279)]=_0x62f4e7,this[_0x2ab1d3(0x113)]=_0x4819c3,this[_0x2ab1d3(0x1a6)]=_0x477fd9,this[_0x2ab1d3(0x1a1)]=_0x2504b6,this[_0x2ab1d3(0x1ac)]=_0x926bef,this[_0x2ab1d3(0x1bd)]=_0x2609de,this[_0x2ab1d3(0xc9)]=_0x3ad4c2,this[_0x2ab1d3(0x1f3)]=_0x425fef);}get[_0x39e5a0(0x95)](){const _0x230e88=_0x39e5a0;return this[_0x230e88(0x86)]['getValue']();}get[_0x39e5a0(0x264)](){const _0x548133=_0x39e5a0;return this['_roomMembers$'][_0x548133(0x1cd)]();}[_0x39e5a0(0x116)](){const _0xed23de=_0x39e5a0;super[_0xed23de(0x116)](),this[_0xed23de(0x86)][_0xed23de(0x133)](new Map()),this[_0xed23de(0x86)]['complete'](),this[_0xed23de(0x21a)][_0xed23de(0x133)]([]),this['_roomMembers$'][_0xed23de(0x228)]();}[_0x39e5a0(0xe4)](){const _0x5bc79f=_0x39e5a0;this[_0x5bc79f(0x6e)]||(this[_0x5bc79f(0x6e)]=!0x0,this[_0x5bc79f(0x279)]['sessionStatus$'][_0x5bc79f(0x147)](_0x2ec815(this['dispose$']))['subscribe'](_0x4fab76=>{const _0xb813d=_0x5bc79f;_0x4fab76===_0x260da1[_0xb813d(0x1a9)]?this['_toggleOnline']():this[_0xb813d(0x19a)]();}),this[_0x5bc79f(0x279)][_0x5bc79f(0xfa)][_0x5bc79f(0x147)](_0x2ec815(this[_0x5bc79f(0xf3)]))[_0x5bc79f(0x14a)](_0x5a7677=>{const _0x3ce69e=_0x5bc79f,_0x9355b=_0x5a7677['eventID'];_0x9355b===_0x25d93e[_0x3ce69e(0x176)]&&this['_onCursorUpdate'](_0x5a7677),_0x9355b===_0x25d93e['USERS_LEAVE']&&this[_0x3ce69e(0x18f)](_0x5a7677);}),this[_0x5bc79f(0x72)](this[_0x5bc79f(0x1f3)][_0x5bc79f(0x1f6)](_0xcc94e0=>{const _0x43a080=_0x5bc79f,_0x3bb598=_0xcc94e0[_0x43a080(0x1fd)];_0x3bb598!=null&&this[_0x43a080(0x1b7)]&&_0xcc94e0['id']===_0x315a58['id']&&_0x3bb598['unitId']===this['unitID']&&_0x3bb598[_0x43a080(0xc6)]===!0x1&&_0x3bb598[_0x43a080(0x243)][_0x43a080(0xca)]>0x0&&this[_0x43a080(0x1ba)](_0x3bb598[_0x43a080(0x243)]);})),this[_0x5bc79f(0x1ac)][_0x5bc79f(0x153)][_0x5bc79f(0x147)](_0x2ec815(this[_0x5bc79f(0xf3)]))[_0x5bc79f(0x14a)](_0x349c85=>{const _0x10f3a4=_0x5bc79f;if((_0x349c85==null?void 0x0:_0x349c85[_0x10f3a4(0x207)])!==this[_0x10f3a4(0x207)])return;const _0xc5f19c={'eventID':_0x25d93e[_0x10f3a4(0x176)],'data':_0x349c85};this[_0x10f3a4(0x1e3)](_0xc5f19c);}),this[_0x5bc79f(0x72)](this[_0x5bc79f(0x1f3)][_0x5bc79f(0x1f6)](_0x22d3eb=>{const _0x35c4d1=_0x5bc79f;if(_0x22d3eb[_0x35c4d1(0x1fd)]==null)return;const _0x3ad258=_0x22d3eb[_0x35c4d1(0x1fd)];if(_0x22d3eb['id']!==_0x3e9b3c['id']||_0x3ad258[_0x35c4d1(0x1f0)]!==this[_0x35c4d1(0x207)])return;const _0x46eefc={'id':'doc.mutation.rich-text-editing','params':_0x3ad258},_0x297466=this['cursorInfo'];for(const [_0x8c4612,_0x3a0781]of _0x297466){const _0x310348={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x35c4d1(0x207)],'actions':null,'textRanges':_0x3a0781['ranges']}},_0x40ce91=this[_0x35c4d1(0x1bd)][_0x35c4d1(0x273)](_0x46eefc,_0x310348,!0x1);if(_0x5ee050(_0x40ce91))throw _0x40ce91[_0x35c4d1(0x24e)];_0x297466[_0x35c4d1(0x1bf)](_0x8c4612,{..._0x3a0781,'ranges':_0x40ce91['m2Prime'][_0x35c4d1(0x1fd)][_0x35c4d1(0x200)]});}queueMicrotask(()=>{const _0xdce63e=_0x35c4d1;this[_0xdce63e(0x86)][_0xdce63e(0x133)](_0x297466);});})));}[_0x39e5a0(0x1e3)](_0x11911f){const _0x10a8a3=_0x39e5a0;var _0x2ff46b,_0x6f98b9;const {memberID:_0x30fe48,selection:_0x47ed8b}=_0x11911f[_0x10a8a3(0xd1)],_0x5bc9fc=Oi(_0x47ed8b),_0x78a624=(_0x6f98b9=(_0x2ff46b=this[_0x10a8a3(0x1a1)]['getMember'](this['unitID'],_0x30fe48))==null?void 0x0:_0x2ff46b['name'])!=null?_0x6f98b9:_0x10a8a3(0x78),_0x5eaded={'color':this[_0x10a8a3(0x1a6)][_0x10a8a3(0xe7)](_0x30fe48),'name':_0x78a624,'ranges':_0x5bc9fc},_0x47457d=this[_0x10a8a3(0x95)];_0x47457d[_0x10a8a3(0x1bf)](_0x30fe48,_0x5eaded),this[_0x10a8a3(0x86)][_0x10a8a3(0x133)](_0x47457d);}[_0x39e5a0(0x18f)](_0x53258b){const _0x5192e0=_0x39e5a0,{memberID:_0x47e7e9}=_0x53258b[_0x5192e0(0xd1)],_0x228b82=this[_0x5192e0(0x95)];_0x228b82[_0x5192e0(0x13c)](_0x47e7e9),this[_0x5192e0(0x86)][_0x5192e0(0x133)](_0x228b82);}['_toggleOnline'](){const _0x31bf94=_0x39e5a0;var _0x134cd2;if(this[_0x31bf94(0x1b7)]=!0x0,((_0x134cd2=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x134cd2['getUnitId']())!==this['unitID'])return;const _0x3fd259=this['_injector']['get'](_0x3efe9d)[_0x31bf94(0x8a)]();Array['isArray'](_0x3fd259)&&_0x3fd259[_0x31bf94(0xca)]>0x0&&this[_0x31bf94(0x1ba)](_0x3fd259);}[_0x39e5a0(0x19a)](){const _0x13c037=_0x39e5a0;this[_0x13c037(0x1b7)]=!0x1;}};Ue=Ti([P(0x2,_0x546f06(_0x443c56)),P(0x3,_0x546f06(He)),P(0x4,_0x546f06(_0x2c9a16)),P(0x5,_0x546f06(Fe)),P(0x6,_0x445c13),P(0x7,_0x31cd6a),P(0x8,_0x384799)],Ue);var Ni=Object[_0x39e5a0(0xee)],Ui=(_0xdf075b,_0x5c60c9,_0x5ac911,_0x425d21)=>{const _0x32397b=_0x39e5a0;for(var _0x450e3c=_0x425d21>0x1?void 0x0:_0x425d21?Ni(_0x5c60c9,_0x5ac911):_0x5c60c9,_0x4bdd04=_0xdf075b[_0x32397b(0xca)]-0x1,_0x30ff48;_0x4bdd04>=0x0;_0x4bdd04--)(_0x30ff48=_0xdf075b[_0x4bdd04])&&(_0x450e3c=_0x30ff48(_0x450e3c)||_0x450e3c);return _0x450e3c;},x=(_0x421355,_0x43dcf6)=>(_0x3bdb9f,_0x5919ad)=>_0x43dcf6(_0x3bdb9f,_0x5919ad,_0x421355);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x1221b4=[],_0x1725ec=!0x1;return _0x48c2a3=>{const _0x5c8632=_0x4240;_0x1221b4[_0x5c8632(0x149)](_0x48c2a3),_0x1725ec||(_0x1725ec=!0x0,setTimeout(()=>{const _0x3d3738=_0x5c8632;_0x1221b4[_0x3d3738(0x205)](_0x22c942=>_0x22c942()),_0x1221b4=[],_0x1725ec=!0x1;}));};};let Me=class extends _0x2eff66{constructor(_0x3758c1,_0x16bb4a,_0x577f4d,_0x1b344d,_0x29ed44,_0x588594,_0x248733,_0x429d43){const _0x3a437d=_0x39e5a0;super(),_(this,_0x3a437d(0x1b7),!0x1),_(this,_0x3a437d(0x6e),!0x1),_(this,_0x3a437d(0x86),new _0x13e65e(new Map())),_(this,_0x3a437d(0x1a0),this['_cursorInfo$'][_0x3a437d(0xf2)]()),_(this,'_roomMembers$',new _0x13e65e([])),_(this,_0x3a437d(0x74),this[_0x3a437d(0x21a)]['pipe'](_0x197b64(Mi))),_(this,'_updateLocalCursor',_0x5ecfd0((_0x34c5b1,_0x1ecd4a)=>{const _0x166f74=_0x3a437d,_0x5d8dad={'eventID':_0x25d93e[_0x166f74(0x176)],'data':{'unitID':this[_0x166f74(0x207)],'memberID':this[_0x166f74(0x279)][_0x166f74(0xd2)](),'selection':_0x165fb5(_0x34c5b1,_0x1ecd4a[_0x166f74(0x128)])}};this[_0x166f74(0x279)][_0x166f74(0x12c)](_0x5d8dad,this[_0x166f74(0x207)]);},Li)),(this[_0x3a437d(0x207)]=_0x3758c1,this['_session']=_0x16bb4a,this[_0x3a437d(0x113)]=_0x577f4d,this['_colorAssignService']=_0x1b344d,this[_0x3a437d(0x1a1)]=_0x29ed44,this[_0x3a437d(0xc9)]=_0x588594,this[_0x3a437d(0x1f3)]=_0x248733,this[_0x3a437d(0xda)]=_0x429d43);}get[_0x39e5a0(0x95)](){const _0x3d4d47=_0x39e5a0;return this[_0x3d4d47(0x86)][_0x3d4d47(0x1cd)]();}get['roomMembers'](){const _0x10285d=_0x39e5a0;return this[_0x10285d(0x21a)][_0x10285d(0x1cd)]();}[_0x39e5a0(0x116)](){const _0x22b808=_0x39e5a0;super['dispose'](),this[_0x22b808(0x86)]['next'](new Map()),this['_cursorInfo$'][_0x22b808(0x228)](),this['_roomMembers$']['next']([]),this['_roomMembers$']['complete']();}[_0x39e5a0(0xe4)](){const _0x5296d4=_0x39e5a0;this[_0x5296d4(0x6e)]||(this[_0x5296d4(0x6e)]=!0x0,this[_0x5296d4(0x279)][_0x5296d4(0x19f)]['pipe'](_0x2ec815(this[_0x5296d4(0xf3)]))[_0x5296d4(0x14a)](_0x24c438=>{const _0x136518=_0x5296d4;_0x24c438===_0x260da1[_0x136518(0x1a9)]?this[_0x136518(0x13b)]():this['_toggleOffline']();}),this['_session'][_0x5296d4(0xfa)][_0x5296d4(0x147)](_0x2ec815(this[_0x5296d4(0xf3)]))[_0x5296d4(0x14a)](_0x3c888f=>{const _0x4b2293=_0x5296d4,_0x38f6cb=_0x3c888f[_0x4b2293(0x215)];_0x38f6cb===_0x25d93e[_0x4b2293(0x176)]&&this[_0x4b2293(0x1e3)](_0x3c888f),_0x38f6cb===_0x25d93e[_0x4b2293(0x188)]&&this['_onCursorDelete'](_0x3c888f);}),this[_0x5296d4(0x20a)](),this[_0x5296d4(0x72)](this[_0x5296d4(0x1f3)]['onCommandExecuted'](_0x530a80=>{const _0x39d195=_0x5296d4;if(this[_0x39d195(0x1b7)]&&_0x530a80['id']===_0xfafda6['id']&&_0x530a80[_0x39d195(0x1fd)][_0x39d195(0x1f0)]===this[_0x39d195(0x207)]){const _0x4b18a1=_0x530a80[_0x39d195(0x1fd)];this['_updateLocalCursor'](_0x4b18a1[_0x39d195(0x236)],_0x4b18a1[_0x39d195(0xa9)][0x0]);}})));}[_0x39e5a0(0x1e3)](_0x1f12cb){const _0x3ecf85=_0x39e5a0;var _0x359622,_0x3118d9;const {memberID:_0x6e12b6,selection:_0x1d5f47}=_0x1f12cb['data'],{sheetName:_0x55c832,range:_0x578a81}=_0x270ac2(_0x1d5f47),_0x53a833={'name':(_0x3118d9=(_0x359622=this['_memberService'][_0x3ecf85(0x261)](this[_0x3ecf85(0x207)],_0x6e12b6))==null?void 0x0:_0x359622[_0x3ecf85(0x17a)])!=null?_0x3118d9:_0x3ecf85(0x78),'range':this['_getMergeRange'](_0x55c832,_0x578a81),'sheetID':_0x55c832,'color':this['_colorAssignService'][_0x3ecf85(0xe7)](_0x6e12b6),'selection':_0x1d5f47},_0x296f0d=this[_0x3ecf85(0x95)];_0x296f0d['set'](_0x6e12b6,_0x53a833),this[_0x3ecf85(0x86)]['next'](_0x296f0d);}['_onCursorDelete'](_0x3bfd1f){const _0x384d11=_0x39e5a0,{memberID:_0x121959}=_0x3bfd1f['data'],_0xe0c52b=this[_0x384d11(0x95)];_0xe0c52b[_0x384d11(0x13c)](_0x121959),this[_0x384d11(0x86)][_0x384d11(0x133)](_0xe0c52b);}[_0x39e5a0(0x100)](_0x4ea13e,_0x2371f4){const _0x29fd20=_0x39e5a0;var _0x5aa627,_0x5223fb;const _0x36cd06=(_0x5223fb=(_0x5aa627=this[_0x29fd20(0xc9)]['getUniverSheetInstance'](this[_0x29fd20(0x207)]))==null?void 0x0:_0x5aa627[_0x29fd20(0x1dd)](_0x4ea13e))==null?void 0x0:_0x5223fb['getMergeData']();return(_0x36cd06==null?void 0x0:_0x36cd06[_0x29fd20(0x141)](_0x27340a=>_0x3f73aa[_0x29fd20(0x10e)](_0x27340a,_0x2371f4)))||_0x2371f4;}[_0x39e5a0(0x20a)](){const _0x334302=_0x39e5a0,_0x2926b0=new _0x5bac8e(),_0x8eef78=Pi(),_0xaabde4=()=>{const _0x4e77ed=_0x4240;_0x2926b0[_0x4e77ed(0x116)]();const _0x87dd0b=(_0x51ab8f,_0x58c846,_0x206887,_0x5dc052)=>{const _0x4229d8=_0x4e77ed;let _0x4fdea7=[];switch(_0x51ab8f['id']){case _0x3d0310[_0x4229d8(0x166)]:{_0x4fdea7=_0x2a918a(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x1a7)]:{_0x4fdea7=_0x234f21(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x1f1)]:{_0x4fdea7=_0x443d6d(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x12f)]:{_0x4fdea7=_0x4e1c23(_0x51ab8f,_0x5dc052);break;}case _0x3d0310['InsertRangeMoveRightCommandId']:{_0x4fdea7=_0x3facfa(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x277)]:{_0x4fdea7=_0x2f0c8a(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x1d6)]:{_0x4fdea7=_0x406e9d(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x20e)]:{_0x4fdea7=_0x55d0d7(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0xa3)]:{_0x4fdea7=_0x421141(_0x51ab8f,_0x5dc052);break;}}const _0x3a1091=_0x550042(_0x4fdea7,_0x5dc052),_0x30ed12=this[_0x4229d8(0x95)]['get'](_0x58c846);if(_0x30ed12&&_0x3a1091){const _0x4f2566={..._0x30ed12,'range':_0x3a1091};this['cursorInfo'][_0x4229d8(0x1bf)](_0x58c846,_0x4f2566),_0x8eef78(()=>{const _0x44ba3c=_0x4229d8,_0x1c3d7b=this['_refRangeService'][_0x44ba3c(0x26b)](_0x3a1091,_0x22f25a=>(_0x1c3d7b['dispose'](),_0x87dd0b(_0x22f25a,_0x58c846,_0x206887,_0x3a1091)));_0x2926b0[_0x44ba3c(0x151)](_0x1c3d7b);});}return{'redos':[],'undos':[]};};this[_0x4e77ed(0x95)][_0x4e77ed(0x205)]((_0x5297ad,_0x2800bf)=>{const _0x4eb377=_0x4e77ed,{range:_0x420e3d,sheetID:_0x6c44ab}=_0x5297ad,_0x338782=this[_0x4eb377(0xda)]['registerRefRange'](_0x420e3d,_0x9d8c25=>(_0x338782['dispose'](),_0x87dd0b(_0x9d8c25,_0x2800bf,_0x6c44ab,_0x420e3d)));_0x2926b0[_0x4eb377(0x151)](_0x338782);});};this[_0x334302(0x72)](_0x2120d5(this['_cursorInfo$']['subscribe'](()=>{_0xaabde4();})));}['_toggleOnline'](){const _0x5da3da=_0x39e5a0;var _0x1eebc1,_0x270d9d;if(this[_0x5da3da(0x1b7)]=!0x0,((_0x1eebc1=this[_0x5da3da(0xc9)][_0x5da3da(0x18a)]())==null?void 0x0:_0x1eebc1[_0x5da3da(0x9e)]())!==this[_0x5da3da(0x207)])return;const _0x49fc89=(_0x270d9d=this[_0x5da3da(0x113)][_0x5da3da(0x174)](_0x3989c0)['getCurrentSelections']())==null?void 0x0:_0x270d9d[0x0],_0x39fb45=this[_0x5da3da(0xc9)][_0x5da3da(0x18b)](_0x13a6d7[_0x5da3da(0x12a)])[_0x5da3da(0x191)]();_0x49fc89&&_0x39fb45&&this['_updateLocalCursor'](_0x39fb45[_0x5da3da(0x231)](),_0x49fc89);}[_0x39e5a0(0x19a)](){const _0xbfa38a=_0x39e5a0;this[_0xbfa38a(0x1b7)]=!0x1;}};Me=Ui([x(0x2,_0x546f06(_0x443c56)),x(0x3,_0x546f06(He)),x(0x4,_0x546f06(_0x2c9a16)),x(0x5,_0x31cd6a),x(0x6,_0x384799),x(0x7,_0x546f06(_0x5ea68f))],Me);var wi=Object[_0x39e5a0(0xee)],Ai=(_0xc6cd5d,_0xc65e7,_0x23ae5e,_0x4d4fc0)=>{const _0x4507d4=_0x39e5a0;for(var _0x272430=_0x4d4fc0>0x1?void 0x0:_0x4d4fc0?wi(_0xc65e7,_0x23ae5e):_0xc65e7,_0x58dea6=_0xc6cd5d[_0x4507d4(0xca)]-0x1,_0x1854d0;_0x58dea6>=0x0;_0x58dea6--)(_0x1854d0=_0xc6cd5d[_0x58dea6])&&(_0x272430=_0x1854d0(_0x272430)||_0x272430);return _0x272430;},me=(_0x5824e3,_0x5f23f4)=>(_0x4509c3,_0x597fc6)=>_0x5f23f4(_0x4509c3,_0x597fc6,_0x5824e3);let F=class extends _0x2eff66{constructor(_0x2a76f1,_0x1e7edf,_0xd14fa2){const _0x1360e3=_0x39e5a0;super(),_(this,_0x1360e3(0x17c),new Map()),_(this,'_entityInit$',new _0x3d5ec4()),(this['_univerInstanceService']=_0x2a76f1,this[_0x1360e3(0x113)]=_0x1e7edf,this[_0x1360e3(0x7b)]=_0xd14fa2,this['_init']());}[_0x39e5a0(0x116)](){const _0x1a758d=_0x39e5a0;super[_0x1a758d(0x116)](),this[_0x1a758d(0xb9)][_0x1a758d(0x228)](),this['_entities'][_0x1a758d(0x205)](_0x5a728b=>_0x5a728b[_0x1a758d(0x116)]());}[_0x39e5a0(0x130)](_0x5f5c01){const _0x410881=_0x39e5a0;return this[_0x410881(0x17c)][_0x410881(0xed)](_0x5f5c01)?this[_0x410881(0x17c)]['get'](_0x5f5c01)[_0x410881(0x1a0)]:this[_0x410881(0xb9)][_0x410881(0x147)](_0x1d8de4(_0x287f17=>_0x287f17[_0x410881(0x207)]===_0x5f5c01),_0x4173ee(_0x521a84=>_0x521a84[_0x410881(0x1a0)]));}['_init'](){const _0x21b5cd=_0x39e5a0;this[_0x21b5cd(0xc9)][_0x21b5cd(0x1f7)](_0x13a6d7[_0x21b5cd(0x12a)])[_0x21b5cd(0x147)](_0x2ec815(this['dispose$']))[_0x21b5cd(0x14a)](async _0x5b30b6=>{const _0x4b0044=_0x21b5cd,_0x3d323d=_0x5b30b6['getUnitId'](),_0x314d12=await this['_startSheetCollabCursor'](_0x3d323d);this[_0x4b0044(0xb9)][_0x4b0044(0x133)](_0x314d12),this['_entities'][_0x4b0044(0x1bf)](_0x3d323d,_0x314d12);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x13a6d7[_0x21b5cd(0x1e6)])[_0x21b5cd(0x147)](_0x2ec815(this['dispose$']))[_0x21b5cd(0x147)](_0x1d8de4(_0x5f3dcc=>!_0x5f3dcc[_0x21b5cd(0x9e)]()[_0x21b5cd(0x178)]('__')))['subscribe'](async _0x41d080=>{const _0xac29e2=_0x21b5cd,_0x2bee4b=_0x41d080['getUnitId'](),_0x12ad43=await this[_0xac29e2(0xfb)](_0x2bee4b);this['_entityInit$'][_0xac29e2(0x133)](_0x12ad43),this[_0xac29e2(0x17c)][_0xac29e2(0x1bf)](_0x2bee4b,_0x12ad43);}),_0x3630bd(this[_0x21b5cd(0xc9)][_0x21b5cd(0xc0)](_0x13a6d7[_0x21b5cd(0x1e6)]),this[_0x21b5cd(0xc9)][_0x21b5cd(0xc0)](_0x13a6d7[_0x21b5cd(0x12a)]))[_0x21b5cd(0x147)](_0x2ec815(this[_0x21b5cd(0xf3)]))[_0x21b5cd(0x14a)](_0x4db576=>{const _0xea6276=_0x21b5cd,_0x57584a=_0x4db576[_0xea6276(0x9e)](),_0x366721=this[_0xea6276(0x17c)][_0xea6276(0x174)](_0x57584a);_0x366721&&(_0x366721[_0xea6276(0x116)](),this[_0xea6276(0x17c)][_0xea6276(0x13c)](_0x57584a));});}async[_0x39e5a0(0x1ef)](_0x4a9152){const _0x33eb46=_0x39e5a0,_0x23bce2=await this[_0x33eb46(0x7b)]['requireSession'](_0x4a9152),_0x4a01bd=this[_0x33eb46(0x113)]['createInstance'](Me,_0x4a9152,_0x23bce2);return _0x4a01bd['init'](),_0x4a01bd;}async[_0x39e5a0(0xfb)](_0x59c513){const _0x2ad203=_0x39e5a0,_0x47833a=await this['_collabSessionService'][_0x2ad203(0x14f)](_0x59c513),_0x327e97=this[_0x2ad203(0x113)][_0x2ad203(0x124)](Ue,_0x59c513,_0x47833a);return _0x327e97['init'](),_0x327e97;}};F=Ai([me(0x0,_0x31cd6a),me(0x1,_0x546f06(_0x443c56)),me(0x2,_0x546f06(_0x18e03a))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0xb5ef5f,_0x3ed84e){const _0x14a56c=_0x39e5a0;let {radius:_0x320432,width:_0x5eaf89,height:_0x4f314b}=_0x3ed84e;_0x320432=_0x320432!=null?_0x320432:0x0,_0x5eaf89=_0x5eaf89!=null?_0x5eaf89:0x1e,_0x4f314b=_0x4f314b!=null?_0x4f314b:0x1e;let _0x116c70=0x0,_0x25b3fe=0x0,_0xc69f53=0x0;_0x116c70=_0x25b3fe=_0xc69f53=Math['min'](_0x320432,_0x5eaf89/0x2,_0x4f314b/0x2),_0xb5ef5f[_0x14a56c(0xd3)](),_0xb5ef5f['moveTo'](_0x116c70,0x0),_0xb5ef5f[_0x14a56c(0xc8)](_0x5eaf89-_0x25b3fe,0x0),_0xb5ef5f[_0x14a56c(0x194)](_0x5eaf89-_0x25b3fe,_0x25b3fe,_0x25b3fe,Math['PI']*0x3/0x2,0x0,!0x1),_0xb5ef5f[_0x14a56c(0xc8)](_0x5eaf89,_0x4f314b-_0xc69f53),_0xb5ef5f[_0x14a56c(0x194)](_0x5eaf89-_0xc69f53,_0x4f314b-_0xc69f53,_0xc69f53,0x0,Math['PI']/0x2,!0x1),_0xb5ef5f[_0x14a56c(0xc8)](0x0,_0x4f314b),_0xb5ef5f['lineTo'](0x0,_0x116c70),_0xb5ef5f[_0x14a56c(0x194)](_0x116c70,_0x116c70,_0x116c70,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb5ef5f[_0x14a56c(0x181)](),_0x3ed84e[_0x14a56c(0x266)]&&(_0xb5ef5f[_0x14a56c(0x21e)](),_0xb5ef5f[_0x14a56c(0x6d)]=_0x3ed84e[_0x14a56c(0x266)],_0x3ed84e[_0x14a56c(0x1cc)]==='evenodd'?_0xb5ef5f[_0x14a56c(0x266)](_0x14a56c(0x179)):_0xb5ef5f['fill'](),_0xb5ef5f[_0x14a56c(0x79)]());}class ue extends _0x401e9f{constructor(_0x1a561c,_0x15f0f4){const _0x46badd=_0x39e5a0;super(_0x1a561c,_0x15f0f4),_(this,_0x46badd(0x201)),_(this,_0x46badd(0x1b2)),(this[_0x46badd(0x201)]=_0x15f0f4==null?void 0x0:_0x15f0f4['color'],this[_0x46badd(0x1b2)]=_0x15f0f4==null?void 0x0:_0x15f0f4[_0x46badd(0x1b2)]);}static['drawWith'](_0x125fc6,_0x3b07f8){const _0x247745=_0x39e5a0,{text:_0x2d5f07,color:_0x400083}=_0x3b07f8;_0x125fc6['save'](),_0x125fc6['font']=_0x247745(0xa0);const _0x22281e=_0x125fc6[_0x247745(0x85)](_0x2d5f07)[_0x247745(0x227)],_0x5e2c72=Math[_0x247745(0x1e5)](_0x22281e+0x2*Ie,Qe);$i(_0x125fc6,{'height':J,'radius':0x4,'width':_0x5e2c72,'fill':_0x400083}),_0x125fc6[_0x247745(0x6d)]=_0x247745(0x234);const _0x277e0f=Ie,_0x19d1e5=J-yi,_0xe7c968=Qe-0x2*Ie;if(_0x22281e>_0xe7c968){let _0x16c166='',_0x7847de=0x0;for(const _0x23959c of _0x2d5f07){const _0x3b3606=_0x125fc6[_0x247745(0x85)](_0x23959c)[_0x247745(0x227)];if(_0x7847de+_0x3b3606<=_0xe7c968-_0x125fc6[_0x247745(0x85)](_0x247745(0x96))['width'])_0x16c166+=_0x23959c,_0x7847de+=_0x3b3606;else{_0x16c166+=_0x247745(0x96);break;}}_0x125fc6[_0x247745(0x214)](_0x16c166,_0x277e0f,_0x19d1e5);}else _0x125fc6[_0x247745(0x214)](_0x2d5f07,_0x277e0f,_0x19d1e5);_0x125fc6['restore']();}[_0x39e5a0(0x1c7)](_0x2395e9){const _0x25a876=_0x39e5a0;ue[_0x25a876(0xaa)](_0x2395e9,this);}}const ve=_0x39e5a0(0x198),xi=_0x39e5a0(0x127),Bi=_0x39e5a0(0xdb),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x336412,_0x287b51,_0x492e47,_0xc84542){const _0x26a24b=_0x39e5a0;_(this,_0x26a24b(0x165),[]),_(this,_0x26a24b(0x1ad),null),_(this,_0x26a24b(0x1ec),null),_(this,_0x26a24b(0x1eb),null),_(this,_0x26a24b(0x87),null),_(this,_0x26a24b(0x93),null),(this[_0x26a24b(0x160)]=_0x336412,this[_0x26a24b(0x1b1)]=_0x287b51,this[_0x26a24b(0x189)]=_0x492e47,this[_0x26a24b(0xa2)]=_0xc84542,this[_0x26a24b(0xc5)]());}set[_0x39e5a0(0x111)](_0x577acd){const _0x428513=_0x39e5a0;_0x577acd?(this[_0x428513(0x1eb)]&&this['_anchorDot'][_0x428513(0x83)](),this[_0x428513(0x1ec)]&&this[_0x428513(0x1ec)]['show']()):(this['_anchorDot']&&this[_0x428513(0x1eb)][_0x428513(0xcd)](),this[_0x428513(0x1ec)]&&this[_0x428513(0x1ec)]['hide']());}[_0x39e5a0(0x116)](){const _0x4d1c7a=_0x39e5a0;for(const _0x1995c6 of this[_0x4d1c7a(0x165)])_0x1995c6[_0x4d1c7a(0x116)]();this['_textBubble']&&this[_0x4d1c7a(0x1ec)]['dispose'](),this[_0x4d1c7a(0x1eb)]&&this[_0x4d1c7a(0x1eb)][_0x4d1c7a(0x116)](),this[_0x4d1c7a(0x1ad)]&&this[_0x4d1c7a(0x1ad)][_0x4d1c7a(0x116)](),this[_0x4d1c7a(0x93)]&&this['_eventUnsubscribe']();}[_0x39e5a0(0xc5)](){const _0x38b992=_0x39e5a0;var _0x504373;const {_docSkeleton:_0x37adb2,_document:_0x4009c0}=this,{color:_0x4d4efd,name:_0xc0ae3f,ranges:_0x3069ae}=this['_cursor'],_0x52d05f=_0x4009c0[_0x38b992(0x211)](),{docsLeft:_0x2c1e22,docsTop:_0x27583d}=_0x52d05f,_0x4f73b4=new _0x3cccbc(_0x52d05f,_0x37adb2);for(const {startOffset:_0x401704,endOffset:_0x2b7822,rangeType:_0x2e0d15,segmentId:_0x4685d8,segmentPage:_0x34bda3,collapsed:_0xbd5bd2,isActive:_0x539db1}of _0x3069ae){const _0x100bd6=_0x37adb2[_0x38b992(0x1b0)](_0x401704,!0x0,_0x4685d8,_0x34bda3);let _0x59062c=_0x37adb2[_0x38b992(0x1b0)](_0x2b7822,!0x0,_0x4685d8,_0x34bda3);if(_0x59062c==null&&(_0x59062c=_0x37adb2[_0x38b992(0x1b0)](_0x2b7822-0x1,!0x1,_0x4685d8,_0x34bda3)),_0x539db1){const {contentBoxPointGroup:_0x3cf224}=_0x4f73b4['getRangePointData'](_0x59062c,_0x59062c);if(_0x3cf224[_0x38b992(0xca)]===0x0)continue;this[_0x38b992(0x1b5)](_0x4d4efd,_0x3cf224,_0x2c1e22,_0x27583d,_0xc0ae3f),this[_0x38b992(0x93)]=this['_handleHover']();}if(_0x100bd6&&_0x59062c){if(_0x2e0d15===_0x57e71f[_0x38b992(0xea)]){const _0x52a806=new _0x2779e6(_0x52d05f,_0x37adb2),{pointGroup:_0x480b1b}=(_0x504373=_0x52a806[_0x38b992(0x152)](_0x100bd6,_0x59062c))!=null?_0x504373:{};if(_0x480b1b==null||_0x480b1b[_0x38b992(0xca)]===0x0)continue;this[_0x38b992(0xe2)](_0x4d4efd,_0x480b1b,_0x2c1e22,_0x27583d);}else{if(!_0xbd5bd2){const {borderBoxPointGroup:_0x217f4f}=_0x4f73b4[_0x38b992(0x152)](_0x100bd6,_0x59062c);if(_0x217f4f[_0x38b992(0xca)]===0x0)continue;this['_drawTextRange'](_0x4d4efd,_0x217f4f,_0x2c1e22,_0x27583d);}}}}}[_0x39e5a0(0x1b5)](_0x4d8ea2,_0x419016,_0x5bbea5,_0x441a22,_0x22abc4){const _0x29c061=_0x39e5a0,_0x2e315d=this[_0x29c061(0x22b)](_0x419016),{left:_0x173261,top:_0x40ac89,height:_0x55cf06}=_0x2e315d,_0x473790=this[_0x29c061(0x10a)](),_0x142fa6=Hi/_0x473790,_0x2ba233=new _0x55df46(ve+_0x2021eb(K),{'left':_0x173261+_0x5bbea5-_0x142fa6,'top':_0x40ac89+_0x441a22,'height':_0x55cf06,'width':ki,'fill':_0x4d8ea2||_0x246598(_0x20c712[_0x29c061(0x20b)],0x0),'strokeWidth':_0x142fa6,'stroke':Fi,'evented':!0x0});this[_0x29c061(0x1ad)]=_0x2ba233,this['_scene']['addObject'](_0x2ba233,_0x27ba38);const _0x106a8b=new _0x55df46(ve+_0x2021eb(K),{'left':_0x173261+_0x5bbea5-_0x142fa6,'top':_0x40ac89+_0x441a22-ge/0x2,'height':ge,'width':ge,'fill':_0x4d8ea2||_0x246598(_0x20c712['black'],0x0),'strokeWidth':0x0,'stroke':_0x4d8ea2||_0x246598(_0x20c712[_0x29c061(0x20b)],0x0),'evented':!0x1});this['_anchorDot']=_0x106a8b,this[_0x29c061(0x1b1)][_0x29c061(0x206)](_0x106a8b,_0x27ba38);const _0x525d2d=new ue(ve+_0x2021eb(K),{'left':_0x173261+_0x5bbea5-_0x142fa6,'top':_0x40ac89+_0x441a22-J,'text':_0x22abc4,'color':_0x4d8ea2});this['_textBubble']=_0x525d2d,this['_scene'][_0x29c061(0x206)](_0x525d2d,_0x27ba38),this[_0x29c061(0x111)]=!0x1;}[_0x39e5a0(0x103)](){const _0x59f12b=_0x39e5a0,_0x2bd41f=this['_anchor'][_0x59f12b(0x255)][_0x59f12b(0x25c)](()=>{const _0x17338d=_0x59f12b;this[_0x17338d(0x111)]=!0x0;}),_0x2afba6=this[_0x59f12b(0x1ad)][_0x59f12b(0x1d3)][_0x59f12b(0x25c)](()=>{const _0x5cce18=_0x59f12b;this[_0x5cce18(0x87)]&&clearTimeout(this[_0x5cce18(0x87)]),this['_hideTimer']=setTimeout(()=>{const _0x59fddf=_0x5cce18;this[_0x59fddf(0x111)]=!0x1;},0x7d0);});return()=>{const _0x15df54=_0x59f12b;_0x2bd41f[_0x15df54(0x16b)](),_0x2afba6[_0x15df54(0x16b)]();};}[_0x39e5a0(0x260)](_0x42e739,_0x4950c9,_0xfd414b,_0x41dfce){const _0x279a0c=_0x39e5a0,_0x3525f1=new _0x1a687f(_0x42e739)[_0x279a0c(0xc1)](0.2)[_0x279a0c(0x20c)](),_0x1ac294=new _0x366b24(xi+_0x2021eb(K),{'pointsGroup':_0x4950c9,'fill':_0x3525f1||_0x246598(_0x20c712[_0x279a0c(0x20b)],0.2),'left':_0xfd414b,'top':_0x41dfce,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x279a0c(0x149)](_0x1ac294),this[_0x279a0c(0x1b1)]['addObject'](_0x1ac294,_0x27ba38);}[_0x39e5a0(0xe2)](_0x21acdf,_0x486577,_0x2fdea2,_0x1645e9){const _0x4af28b=_0x39e5a0,_0x25d2ea=new _0x1a687f(_0x21acdf)['setAlpha'](0.2)['toRgbString'](),_0x5b3260=new _0x366b24(Bi+_0x2021eb(K),{'pointsGroup':_0x486577,'fill':_0x25d2ea||_0x246598(_0x20c712[_0x4af28b(0x20b)],0.2),'left':_0x2fdea2,'top':_0x1645e9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4af28b(0x165)][_0x4af28b(0x149)](_0x5b3260),this['_scene'][_0x4af28b(0x206)](_0x5b3260,_0x27ba38);}['_getAnchorBounding'](_0x4a2f7c){const _0x50fef4=_0x4a2f7c[0x0],_0x4127f4=_0x50fef4[0x0],_0x728107=_0x50fef4[0x2],{x:_0x61b8b2,y:_0x4f4b8e}=_0x4127f4,{x:_0x3e22e5,y:_0x314db8}=_0x728107;return{'left':_0x61b8b2,'top':_0x4f4b8e,'width':_0x3e22e5-_0x61b8b2,'height':_0x314db8-_0x4f4b8e};}['_getScale'](){const _0x545340=_0x39e5a0,{scaleX:_0x514b43,scaleY:_0x2f1531}=this[_0x545340(0x1b1)][_0x545340(0xec)]();return Math['max'](_0x514b43,_0x2f1531);}}var Yi=Object[_0x39e5a0(0xee)],ji=(_0x16a495,_0x59c68c,_0x2d8345,_0x547e9c)=>{const _0x2965b6=_0x39e5a0;for(var _0x4b3969=_0x547e9c>0x1?void 0x0:_0x547e9c?Yi(_0x59c68c,_0x2d8345):_0x59c68c,_0x78a223=_0x16a495[_0x2965b6(0xca)]-0x1,_0x5bf9be;_0x78a223>=0x0;_0x78a223--)(_0x5bf9be=_0x16a495[_0x78a223])&&(_0x4b3969=_0x5bf9be(_0x4b3969)||_0x4b3969);return _0x4b3969;},ee=(_0x3c3d9a,_0x75e666)=>(_0x1447b6,_0x5e79b9)=>_0x75e666(_0x1447b6,_0x5e79b9,_0x3c3d9a);let Le=class extends _0x2eff66{constructor(_0x35b884,_0x2f7c89,_0x372d95,_0x4fb22e,_0x3f7d09){const _0x181e30=_0x39e5a0;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x181e30(0x20f)]=_0x35b884,this[_0x181e30(0xab)]=_0x2f7c89,this['_collabCursorController']=_0x372d95,this[_0x181e30(0x1f3)]=_0x4fb22e,this[_0x181e30(0x1f2)]=_0x3f7d09,this[_0x181e30(0x6e)]());}['_init'](){const _0x5c4754=_0x39e5a0,_0xdab856=this[_0x5c4754(0x20f)][_0x5c4754(0x1f0)],_0x5ce98e=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x41592f([this[_0x5c4754(0xa7)][_0x5c4754(0x130)](_0xdab856),this['_themeService'][_0x5c4754(0x8b)]])[_0x5c4754(0x147)](_0x4eb70e(([_0x106fe5,_0x460e3d])=>({'skeleton':_0x5ce98e[_0x5c4754(0xbd)](),'cursors':[..._0x106fe5['values']()][_0x5c4754(0x94)](_0x192cb6=>({..._0x192cb6,'color':this[_0x5c4754(0x1f2)][_0x5c4754(0x27a)](_0x192cb6[_0x5c4754(0x201)])}))})))['subscribe'](_0x2d7172=>{const _0x542995=_0x5c4754;if(this[_0x542995(0x106)](),_0x2d7172){const {skeleton:_0x3d827b,cursors:_0x349cc4}=_0x2d7172;this[_0x542995(0x1a5)](_0x3d827b,_0x349cc4);}})),this[_0x5c4754(0x1d7)](),this[_0x5c4754(0x1da)]();}['_updateCollabCursors'](_0x34da1f,_0x38434e){const _0x355301=_0x39e5a0,{scene:_0x5dc603,mainComponent:_0x23bab4}=this[_0x355301(0x20f)],_0x4d911f=_0x38434e['map'](_0x3b1995=>new qe(_0x3b1995,_0x5dc603,_0x34da1f,_0x23bab4));this[_0x355301(0x1c4)]=_0x4d911f,this[_0x355301(0x1ce)]=_0x38434e;}[_0x39e5a0(0x25a)](){const _0x1c7ba1=_0x39e5a0;this['_removeCollabCursors']();const {scene:_0x28cb88,mainComponent:_0x4582ed}=this['_context'],_0xf344b5=this[_0x1c7ba1(0xab)][_0x1c7ba1(0xbd)](),_0x2299f0=this[_0x1c7ba1(0x1ce)][_0x1c7ba1(0x1f5)](_0x2153f8=>new qe(_0x2153f8,_0x28cb88,_0xf344b5,_0x4582ed));this[_0x1c7ba1(0x1c4)]=_0x2299f0;}[_0x39e5a0(0x106)](){const _0xc7a4e1=_0x39e5a0;this[_0xc7a4e1(0x1c4)][_0xc7a4e1(0x205)](_0x468e00=>_0x468e00['dispose']()),this[_0xc7a4e1(0x1c4)]=[];}[_0x39e5a0(0x1da)](){const _0x11eb65=_0x39e5a0,_0x3836d6=[_0x6673cf['id']];this[_0x11eb65(0x72)](this[_0x11eb65(0x1f3)][_0x11eb65(0x1f6)](_0x13a998=>{const _0x274eae=_0x11eb65;_0x3836d6[_0x274eae(0x121)](_0x13a998['id'])&&_0x13a998['params']['unitId']===this['_context'][_0x274eae(0x1f0)]&&this[_0x274eae(0x25a)]();}));}[_0x39e5a0(0x1d7)](){const _0x41ed8f=_0x39e5a0;this[_0x41ed8f(0x72)](_0x24eabd(this[_0x41ed8f(0x20f)]['engine']['onTransformChange$'])[_0x41ed8f(0x147)](_0x1faea4(_0x45d430=>_0x45d430[_0x41ed8f(0x138)]===_0x35acba['resize']),_0x4cb267(0x10))[_0x41ed8f(0x14a)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x546f06(_0x3061c8)),ee(0x2,_0x546f06(F)),ee(0x3,_0x384799),ee(0x4,_0x546f06(_0x267852))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x401e9f{constructor(_0x1273f7,_0x3a1b53){const _0x6b2ec7=_0x39e5a0;super(_0x1273f7,_0x3a1b53),_(this,'_color'),_(this,_0x6b2ec7(0x224),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x6b2ec7(0x13a),'top'),_(this,_0x6b2ec7(0x1f4)),(_0x3a1b53&&this[_0x6b2ec7(0x1ff)](_0x3a1b53),this[_0x6b2ec7(0x255)][_0x6b2ec7(0x25c)](()=>this[_0x6b2ec7(0x1ff)]({'hovered':!0x0})),this[_0x6b2ec7(0x1d3)][_0x6b2ec7(0x25c)](()=>this[_0x6b2ec7(0x1ff)]({'hovered':!0x1})));}[_0x39e5a0(0x1ff)](_0x503f22){const _0x365f84=_0x39e5a0;var _0x215f76,_0x1146fc,_0x2e4ac7,_0x3fed78,_0x4ff8e3,_0x3c5484;this[_0x365f84(0x16e)]=(_0x215f76=_0x503f22[_0x365f84(0x201)])!=null?_0x215f76:this[_0x365f84(0x16e)],this[_0x365f84(0x224)]=(_0x1146fc=_0x503f22[_0x365f84(0x8f)])!=null?_0x1146fc:this[_0x365f84(0x224)],this[_0x365f84(0x71)]=(_0x2e4ac7=_0x503f22[_0x365f84(0x128)])!=null?_0x2e4ac7:this[_0x365f84(0x71)],this[_0x365f84(0x143)]=(_0x3fed78=_0x503f22[_0x365f84(0x17a)])!=null?_0x3fed78:this[_0x365f84(0x143)],this[_0x365f84(0x13a)]=(_0x4ff8e3=_0x503f22[_0x365f84(0x161)])!=null?_0x4ff8e3:this['_labelPosition'],this[_0x365f84(0x1f4)]=(_0x3c5484=_0x503f22[_0x365f84(0x248)])!=null?_0x3c5484:this[_0x365f84(0x1f4)],this[_0x365f84(0x99)]({'width':_0x503f22['width'],'height':_0x503f22[_0x365f84(0x101)]});}['onMouseMove'](_0x2a1369){const _0x51a0f0=_0x39e5a0,{row:_0x48b483,column:_0x968ed8}=_0x2a1369;if(_0x48b483>=this[_0x51a0f0(0x71)][_0x51a0f0(0x17d)]&&_0x48b483<=this[_0x51a0f0(0x71)][_0x51a0f0(0xf5)]&&_0x968ed8>=this[_0x51a0f0(0x71)]['startColumn']&&_0x968ed8<=this[_0x51a0f0(0x71)][_0x51a0f0(0x1ca)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x51a0f0(0x1ff)]({'hovered':!0x1});}['triggerDblclick'](_0x45006e){return!0x1;}[_0x39e5a0(0x1c7)](_0x3f5f75){const _0x34cec1=_0x39e5a0;_0x55df46[_0x34cec1(0xaa)](_0x3f5f75,{'width':this[_0x34cec1(0x227)],'height':this[_0x34cec1(0x101)],'strokeWidth':Wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x34cec1(0x1f4)]}),this[_0x34cec1(0x224)]&&(_0x3f5f75[_0x34cec1(0x21e)](),_0x3f5f75[_0x34cec1(0x27c)](0x1,0x0,0x0,0x1,this[_0x34cec1(0x227)],this[_0x34cec1(0x13a)]===_0x34cec1(0x16d)?0x0:-J),ue[_0x34cec1(0xaa)](_0x3f5f75,{'text':this[_0x34cec1(0x143)],'color':this[_0x34cec1(0x16e)]}),_0x3f5f75['restore']());}}var Gi=Object[_0x39e5a0(0xee)],Ki=(_0x127b41,_0xd5caf0,_0x38490c,_0x3d79cd)=>{const _0x173938=_0x39e5a0;for(var _0x5212ef=_0x3d79cd>0x1?void 0x0:_0x3d79cd?Gi(_0xd5caf0,_0x38490c):_0xd5caf0,_0x21e4ea=_0x127b41[_0x173938(0xca)]-0x1,_0xa235e3;_0x21e4ea>=0x0;_0x21e4ea--)(_0xa235e3=_0x127b41[_0x21e4ea])&&(_0x5212ef=_0xa235e3(_0x5212ef)||_0x5212ef);return _0x5212ef;},pe=(_0x2cd613,_0x409b88)=>(_0x290e9f,_0xe137bb)=>_0x409b88(_0x290e9f,_0xe137bb,_0x2cd613);const zi=0x1389;let Pe=class extends _0x2eff66{constructor(_0x525bfe,_0x58dd2a,_0x52a591,_0x3fb912){const _0x14fa60=_0x39e5a0;super(),_(this,_0x14fa60(0x1ce),new Set()),_(this,_0x14fa60(0xb4),null),(this[_0x14fa60(0x20f)]=_0x525bfe,this[_0x14fa60(0xe9)]=_0x58dd2a,this['_collabCursorController']=_0x52a591,this[_0x14fa60(0x1f2)]=_0x3fb912,this['_init']());}[_0x39e5a0(0x6e)](){const _0x206989=_0x39e5a0;this[_0x206989(0xe9)][_0x206989(0x136)]['pipe'](_0x314f39(this[_0x206989(0xf3)]),_0x41fe6f(_0xb07f89=>{const _0x3d15c8=_0x206989;if(_0xb07f89){const _0x585fed=_0xb07f89[_0x3d15c8(0x262)];return _0x41592f(this[_0x3d15c8(0xa7)][_0x3d15c8(0x130)](this['_context'][_0x3d15c8(0x1f0)]),this[_0x3d15c8(0x1f2)][_0x3d15c8(0x8b)])['pipe'](_0x4eb70e(([_0xe3480e,_0x22dcc2])=>{const _0x4ee947=new Map();return _0xe3480e['forEach']((_0x1aa5e9,_0x52875e)=>{const _0x44e54a=_0x4240;if(_0x1aa5e9[_0x44e54a(0x125)]===_0x585fed){const _0x11b406={..._0x1aa5e9};_0x11b406[_0x44e54a(0x201)]=this[_0x44e54a(0x1f2)][_0x44e54a(0x27a)](_0x1aa5e9[_0x44e54a(0x201)]),_0x4ee947[_0x44e54a(0x1bf)](_0x52875e,_0x11b406);}}),{'skeleton':_0xb07f89,'cursors':_0x4ee947};}));}return _0x596fdc({'skeleton':null,'cursors':new Map()});}))[_0x206989(0x14a)](({skeleton:_0x13b0b7,cursors:_0x17c4c6})=>{const _0x288e96=_0x206989;this[_0x288e96(0x106)](),_0x13b0b7&&this['_updateCollabCursors'](_0x13b0b7,_0x17c4c6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x206989(0x14a)](_0x221b61=>{const _0x69549c=_0x206989;if(_0x221b61==null)return;const {skeleton:_0x29d600}=_0x221b61,{scene:_0x4eb71b}=this[_0x69549c(0x20f)];_0x4eb71b['onPointerMove$'][_0x69549c(0x25c)](_0x5ecfd0(_0x299800=>{const _0x45326e=_0x69549c;var _0x39a6d5,_0x30460d;const {offsetX:_0x4ac8b7,offsetY:_0x1e0720}=_0x299800,{x:_0x267cbc,y:_0x2255a1}=_0x4eb71b[_0x45326e(0x239)](_0xf21b19[_0x45326e(0x253)]([_0x4ac8b7,_0x1e0720])),{scaleX:_0x38d669,scaleY:_0x1488fa}=_0x4eb71b[_0x45326e(0xec)](),_0x4fcef6=_0x4eb71b[_0x45326e(0x1b3)](_0x9f8f1d[_0x45326e(0x225)]),_0x574d50=_0x4eb71b[_0x45326e(0x278)](_0xf21b19[_0x45326e(0x253)]([_0x267cbc,_0x2255a1]),_0x4fcef6),_0x11f00c=_0x29d600[_0x45326e(0x122)](_0x4ac8b7,_0x1e0720,_0x38d669,_0x1488fa,_0x574d50);((_0x39a6d5=this[_0x45326e(0xb4)])==null?void 0x0:_0x39a6d5[_0x45326e(0x15f)])===_0x11f00c[_0x45326e(0x15f)]&&((_0x30460d=this[_0x45326e(0xb4)])==null?void 0x0:_0x30460d['row'])===_0x11f00c[_0x45326e(0x25b)]||this[_0x45326e(0x1ce)][_0x45326e(0x205)](_0x17291c=>{_0x17291c['onMouseMove'](_0x11f00c);});},0x64));});}[_0x39e5a0(0x1a5)](_0x3a2b31,_0x5433dc){const _0x58a27a=_0x39e5a0;var _0x57350b;const _0x42beed=(_0x57350b=this['_sheetSkeletonManagerService'][_0x58a27a(0x11a)]())==null?void 0x0:_0x57350b[_0x58a27a(0x1d8)];if(!_0x42beed)return;const _0x37fe56=this['_getSheetObject']();if(!_0x37fe56)return;this['_cursors'][_0x58a27a(0x205)](_0x6dc784=>{const _0x282c80=_0x58a27a;_0x6dc784[_0x282c80(0x1a3)]();});const {scene:_0x26adbb}=_0x37fe56,_0x398796=Ji(Array[_0x58a27a(0x1cf)](_0x5433dc[_0x58a27a(0x1ee)]()))[_0x58a27a(0x1f5)](_0xa9cb88=>{const _0x4f58ce=_0x58a27a,{color:_0x3762fe,range:_0xe2a3f7,name:_0x4edcd3,selection:_0x9302a7,sheetID:_0x29b1bd}=_0xa9cb88,{startColumn:_0x5a71fa,startRow:_0x4dc2a5,endColumn:_0x482de5,endRow:_0x154dec}=_0xe2a3f7,_0x5b7513=_0x1ae1ab(_0x4dc2a5,_0x5a71fa,_0x26adbb,_0x42beed),_0x218ae7=_0x1ae1ab(_0x154dec,_0x482de5,_0x26adbb,_0x42beed),{columnHeaderHeightAndMarginTop:_0x5a3c9a}=_0x42beed,{startX:_0x377568,startY:_0x59ec6b}=_0x5b7513,{endX:_0x59f29b,endY:_0x32fccd}=_0x218ae7,_0x5d6b40=_0x59f29b-_0x377568,_0x474de8=_0x32fccd-_0x59ec6b,_0x2167e1={'labelPosition':_0x59ec6b-_0x5a3c9a>=J?_0x4f58ce(0x1d9):_0x4f58ce(0x16d),'sheetID':_0x29b1bd,'range':_0xe2a3f7,'color':_0x3762fe,'name':_0x4edcd3,'selection':_0x9302a7,'left':_0x377568,'top':_0x59ec6b,'width':_0x5d6b40,'height':_0x474de8,'evented':!0x1,'zIndex':zi};return new Xi(_0x4edcd3,_0x2167e1);});_0x26adbb[_0x58a27a(0x10b)](_0x398796,Vi),this[_0x58a27a(0x1ce)]=new Set(_0x398796);}[_0x39e5a0(0x106)](){const _0x3ace75=_0x39e5a0;var _0x5359a8;(_0x5359a8=this[_0x3ace75(0x1ce)])==null||_0x5359a8[_0x3ace75(0x205)](_0x2cf42b=>_0x2cf42b[_0x3ace75(0x116)]());}[_0x39e5a0(0x6c)](){const _0x222b9f=_0x39e5a0;return _0x2b5c88(this[_0x222b9f(0x20f)][_0x222b9f(0xa5)],this[_0x222b9f(0x20f)]);}};Pe=Ki([pe(0x1,_0x546f06(_0x1681dc)),pe(0x2,_0x546f06(F)),pe(0x3,_0x546f06(_0x267852))],Pe);function Ji(_0x33401a){const _0x56ff0e=_0x39e5a0,_0x343097=new Map();return _0x33401a[_0x56ff0e(0x205)](_0x12ceb2=>{const _0x3cac8b=_0x56ff0e;if(_0x343097[_0x3cac8b(0xed)](_0x12ceb2[_0x3cac8b(0x1de)])){const _0x38c914=_0x343097[_0x3cac8b(0x174)](_0x12ceb2[_0x3cac8b(0x1de)]);_0x38c914[_0x3cac8b(0x17a)]+=',\x20'+_0x12ceb2[_0x3cac8b(0x17a)];}else _0x343097[_0x3cac8b(0x1bf)](_0x12ceb2[_0x3cac8b(0x1de)],_0x12ceb2);}),Array[_0x56ff0e(0x1cf)](_0x343097[_0x56ff0e(0x1ee)]());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x34a252,_0x394b7d,_0x3dad3d,_0x44e612)=>{const _0x2c86c2=_0x39e5a0;for(var _0x354e74=_0x44e612>0x1?void 0x0:_0x44e612?Zi(_0x394b7d,_0x3dad3d):_0x394b7d,_0x584fd2=_0x34a252[_0x2c86c2(0xca)]-0x1,_0x19fe5e;_0x584fd2>=0x0;_0x584fd2--)(_0x19fe5e=_0x34a252[_0x584fd2])&&(_0x354e74=_0x19fe5e(_0x354e74)||_0x354e74);return _0x354e74;},B=(_0x2066c1,_0x235f1b)=>(_0x511586,_0x2aed97)=>_0x235f1b(_0x511586,_0x2aed97,_0x2066c1);let ne=class extends _0x2c1746{constructor(_0x7edc60,_0x4fc90a,_0xe63e21,_0xa65a4b,_0x54cdde,_0x5645c4){const _0x2808d6=_0x39e5a0;super(),this['_beforeCloseService']=_0x7edc60,this[_0x2808d6(0x1d0)]=_0x4fc90a,this[_0x2808d6(0xff)]=_0xe63e21,this[_0x2808d6(0x1bc)]=_0xa65a4b,this[_0x2808d6(0x98)]=_0x54cdde,this[_0x2808d6(0x10d)]=_0x5645c4,this['_setupBeforeClosingHandler'](),this[_0x2808d6(0x240)]();}[_0x39e5a0(0x1fc)](){const _0x1bf56b=_0x39e5a0;this[_0x1bf56b(0x72)](this[_0x1bf56b(0x1e1)]['registerBeforeClose'](()=>{const _0x374e5d=_0x1bf56b;if(this[_0x374e5d(0x1d0)][_0x374e5d(0x249)][_0x374e5d(0x9c)])return this['_localeService']['t'](_0x374e5d(0x168));}));}[_0x39e5a0(0x240)](){const _0x4de4fd=_0x39e5a0;this[_0x4de4fd(0x72)](this[_0x4de4fd(0xff)][_0x4de4fd(0xfa)]['subscribe'](_0x57d0a0=>{const _0x3d6773=_0x4de4fd;_0x57d0a0['id']===_0x222de0[_0x3d6773(0xa1)]&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0xd0)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0x1bb))}),_0x57d0a0['id']===_0x222de0[_0x3d6773(0x23c)]&&this['_messageService'][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0xd0)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0x229))}),_0x57d0a0['id']===_0x222de0['PERMISSION_DENIED']&&this['_notificationService'][_0x3d6773(0xcd)]({'title':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0x275)),'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0xdf)),'type':'error','duration':0x0}),_0x57d0a0['id']===_0x222de0['CONFLICT']&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0x10f)],'content':this['_localeService']['t'](_0x3d6773(0x229))+'('+_0x57d0a0['data']+')'}),_0x57d0a0['id']===_0x222de0['JOIN_ROOM_FAILED']&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0xd0)],'content':this['_localeService']['t'](_0x57d0a0['data']||'')}),_0x57d0a0['id']===_0x222de0[_0x3d6773(0x7e)]&&this['_messageService'][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0xd0)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0xf4))}),_0x57d0a0['id']===_0x222de0['SOCKET_FAILED']&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0x10f)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0xad))}),_0x57d0a0['id']===_0x222de0[_0x3d6773(0x75)]&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0x10f)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0x235))});}));}};ne=Qi([B(0x0,_0x2852e9),B(0x1,_0x552c67),B(0x2,_0x546f06(_0x4c7686)),B(0x3,_0x1825c4),B(0x4,_0x2cf121),B(0x5,_0x546f06(_0x572998))],ne);const qi=_0x39e5a0(0x177),et={};var en=Object[_0x39e5a0(0xee)],tn=(_0x2c3791,_0xdeda35,_0x131f22,_0x4681e4)=>{for(var _0x258009=_0x4681e4>0x1?void 0x0:_0x4681e4?en(_0xdeda35,_0x131f22):_0xdeda35,_0x4c780a=_0x2c3791['length']-0x1,_0x10f588;_0x4c780a>=0x0;_0x4c780a--)(_0x10f588=_0x2c3791[_0x4c780a])&&(_0x258009=_0x10f588(_0x258009)||_0x258009);return _0x258009;},tt=(_0x60dd82,_0x5c1a93)=>(_0xbb2fdf,_0x4f4354)=>_0x5c1a93(_0xbb2fdf,_0x4f4354,_0x60dd82);let re=class{constructor(_0x33e5c5,_0x3bb570){const _0x3587dc=_0x39e5a0;this[_0x3587dc(0x1bd)]=_0x33e5c5,this['_renderManagerService']=_0x3bb570;}[_0x39e5a0(0xb8)](_0x344227){const _0x1c489d=_0x39e5a0;this[_0x1c489d(0xf6)](_0x344227),this[_0x1c489d(0x180)](_0x344227);}[_0x39e5a0(0x238)](_0x2dbb94){const _0x383129=_0x39e5a0,{unitID:_0x332468}=_0x2dbb94,_0x429f2b=this[_0x383129(0x257)][_0x383129(0x1d4)](_0x332468)[_0x383129(0xc4)](_0x1b2d69),{redoCache:_0x75ef07}=_0x429f2b[_0x383129(0x182)]();if(_0x75ef07[_0x383129(0xca)]===0x0)return _0x2dbb94;let _0x1bd1f7=_0xa93bb6[_0x383129(0xdc)](_0x2dbb94[_0x383129(0x6f)][0x0]);for(let _0x437816=0x0;_0x437816<_0x75ef07[_0x383129(0xca)];_0x437816++){const _0x1c633c={'id':_0x383129(0x23d),'params':{..._0x75ef07[_0x437816]}},_0x296b0a=this[_0x383129(0x1bd)][_0x383129(0x273)](_0x1bd1f7,_0x1c633c,!0x1);if(_0x5ee050(_0x296b0a))throw _0x296b0a[_0x383129(0x24e)];_0x1bd1f7=_0x296b0a[_0x383129(0xfc)];}return{..._0xa93bb6[_0x383129(0xdc)](_0x2dbb94),'mutations':[_0x1bd1f7]};}[_0x39e5a0(0xf6)](_0x4d8345){const _0x10700f=_0x39e5a0,{unitID:_0x4937e9}=_0x4d8345,_0x43736a=this[_0x10700f(0x257)]['getRenderById'](_0x4937e9)[_0x10700f(0xc4)](_0x1b2d69),{undoCache:_0x46b6dc,redoCache:_0x17a31a}=_0x43736a[_0x10700f(0x182)]();if(_0x46b6dc[_0x10700f(0xca)]===0x0||_0x17a31a[_0x10700f(0xca)]===0x0)return;const _0x2bb479=[],_0xea209f=[];let _0x252fc8=_0xa93bb6[_0x10700f(0xdc)](_0x4d8345[_0x10700f(0x6f)][0x0]),_0x306258=_0xa93bb6[_0x10700f(0xdc)](_0x4d8345[_0x10700f(0x6f)][0x0]);for(let _0xe0d2b1=_0x46b6dc['length']-0x1;_0xe0d2b1>=0x0;_0xe0d2b1--){const _0x18b054={'id':'doc.mutation.rich-text-editing','params':{..._0x46b6dc[_0xe0d2b1]}},_0xd04414={'id':_0x10700f(0x23d),'params':{..._0x17a31a[_0xe0d2b1]}},_0x323855=this[_0x10700f(0x1bd)]['transformMutation'](_0x252fc8,_0x18b054,!0x1),_0x7a6967=this['_transformService'][_0x10700f(0x273)](_0x306258,_0xd04414,!0x1);if(_0x5ee050(_0x323855))throw _0x323855[_0x10700f(0x24e)];if(_0x5ee050(_0x7a6967))throw _0x7a6967[_0x10700f(0x24e)];_0x2bb479[_0x10700f(0x115)](_0x323855['m2Prime'][_0x10700f(0x1fd)]),_0xea209f['unshift'](_0x7a6967['m2Prime'][_0x10700f(0x1fd)]),_0x252fc8=_0x323855['m1Prime'],_0x306258=_0x7a6967[_0x10700f(0xfc)];}_0x43736a[_0x10700f(0x150)]({'undoCache':_0x2bb479,'redoCache':_0xea209f});}[_0x39e5a0(0x180)](_0x40182f){const _0xe56173=_0x39e5a0,{unitID:_0x55d88f}=_0x40182f,_0x471d7f=this[_0xe56173(0x257)]['getRenderById'](_0x55d88f)['with'](_0x1b2d69),_0x5c9ea5=_0x471d7f[_0xe56173(0x218)]();if(_0x5c9ea5==null)return;const _0x26e45f=[{'id':_0xe56173(0x23d),'params':{'unitId':_0x40182f[_0xe56173(0x207)],'actions':null,'textRanges':[_0x5c9ea5]}}],_0x8bed28=this['_transformService'][_0xe56173(0xb2)](_0x40182f,_0x26e45f);if(!_0x3a1c57(_0x8bed28))throw _0x8bed28[_0xe56173(0x24e)];const _0x3889e8=_0x8bed28[_0xe56173(0xac)][0x0][_0xe56173(0x1fd)]['textRanges'];Array['isArray'](_0x3889e8)&&_0x3889e8[_0xe56173(0xca)]&&_0x471d7f[_0xe56173(0x258)](_0x3889e8[0x0]);}};re=tn([tt(0x0,_0x445c13),tt(0x1,_0x36e82c)],re);var sn=Object[_0x39e5a0(0xee)],nn=(_0x2aec68,_0x14975f,_0x35f688,_0x36f52f)=>{for(var _0x17b90a=_0x36f52f>0x1?void 0x0:_0x36f52f?sn(_0x14975f,_0x35f688):_0x14975f,_0x551a6b=_0x2aec68['length']-0x1,_0xa02a14;_0x551a6b>=0x0;_0x551a6b--)(_0xa02a14=_0x2aec68[_0x551a6b])&&(_0x17b90a=_0xa02a14(_0x17b90a)||_0x17b90a);return _0x17b90a;},Ce=(_0x3f58d0,_0x2b8652)=>(_0xbea1f1,_0x47210d)=>_0x2b8652(_0xbea1f1,_0x47210d,_0x3f58d0);let oe=class{constructor(_0x14c0a0,_0x5ca958,_0x52ade6){const _0x4a23d5=_0x39e5a0;this[_0x4a23d5(0x113)]=_0x14c0a0,this['_transformService']=_0x5ca958,this['_docStateChangeManagerService']=_0x52ade6;}['transformStateCache'](_0x3fb176){const _0x311f87=_0x39e5a0;this[_0x311f87(0x135)](_0x3fb176);}[_0x39e5a0(0x238)](_0x382500){const _0x3c8919=_0x39e5a0,{unitID:_0x582fd6}=_0x382500,{collaboration:_0x50cf10}=this[_0x3c8919(0x82)][_0x3c8919(0x1c2)](_0x582fd6);if(_0x50cf10['length']===0x0)return _0x382500;let _0x42b4d7=_0xa93bb6[_0x3c8919(0xdc)](_0x382500['mutations'][0x0]);for(let _0x599af8=0x0;_0x599af8<_0x50cf10[_0x3c8919(0xca)];_0x599af8++){const _0x1a9e3d={'id':_0x3c8919(0x23d),'params':{'unitId':_0x50cf10[_0x599af8][_0x3c8919(0x1f0)],..._0x50cf10[_0x599af8][_0x3c8919(0x22d)]}},_0x1dc87b=this[_0x3c8919(0x1bd)]['transformMutation'](_0x42b4d7,_0x1a9e3d,!0x1);if(_0x5ee050(_0x1dc87b))throw _0x1dc87b['error'];_0x42b4d7=_0x1dc87b[_0x3c8919(0xfc)];}return{..._0xa93bb6['deepClone'](_0x382500),'mutations':[_0x42b4d7]};}[_0x39e5a0(0x135)](_0x220c7d){const _0xec0d85=_0x39e5a0,{unitID:_0x2546b8}=_0x220c7d,{history:_0x1bd7c7,collaboration:_0x59cd21}=this[_0xec0d85(0x82)][_0xec0d85(0x1c2)](_0x2546b8);if(_0x1bd7c7['length']===0x0&&_0x59cd21['length']===0x0)return;const _0x496472=[],_0x2ebd4f=[];let _0xd1176b=_0xa93bb6['deepClone'](_0x220c7d[_0xec0d85(0x6f)][0x0]),_0x3c5f53=_0xa93bb6[_0xec0d85(0xdc)](_0x220c7d['mutations'][0x0]);for(let _0x156b9e=_0x1bd7c7['length']-0x1;_0x156b9e>=0x0;_0x156b9e--){const _0x5158a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1bd7c7[_0x156b9e][_0xec0d85(0x1f0)],..._0x1bd7c7[_0x156b9e][_0xec0d85(0xbe)]}},_0x3655da={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1bd7c7[_0x156b9e]['unitId'],..._0x1bd7c7[_0x156b9e][_0xec0d85(0x22d)]}},_0x450a29=this['_transformService'][_0xec0d85(0x273)](_0xd1176b,_0x5158a8,!0x1),_0xf3516c=this['_transformService'][_0xec0d85(0x273)](_0x3c5f53,_0x3655da,!0x1);if(_0x5ee050(_0x450a29))throw _0x450a29['error'];if(_0x5ee050(_0xf3516c))throw _0xf3516c[_0xec0d85(0x24e)];_0x496472[_0xec0d85(0x115)]({..._0x1bd7c7[_0x156b9e],'undoState':_0x450a29[_0xec0d85(0xac)][_0xec0d85(0x1fd)],'redoState':_0xf3516c[_0xec0d85(0xac)][_0xec0d85(0x1fd)]}),_0xd1176b=_0x450a29['m1Prime'],_0x3c5f53=_0xf3516c['m1Prime'];}_0xd1176b=_0xa93bb6[_0xec0d85(0xdc)](_0x220c7d[_0xec0d85(0x6f)][0x0]),_0x3c5f53=_0xa93bb6[_0xec0d85(0xdc)](_0x220c7d['mutations'][0x0]);for(let _0x24dd4f=_0x59cd21[_0xec0d85(0xca)]-0x1;_0x24dd4f>=0x0;_0x24dd4f--){const _0x386e53={'id':_0xec0d85(0x23d),'params':{'unitId':_0x59cd21[_0x24dd4f][_0xec0d85(0x1f0)],..._0x59cd21[_0x24dd4f][_0xec0d85(0xbe)]}},_0x2ad637={'id':_0xec0d85(0x23d),'params':{'unitId':_0x59cd21[_0x24dd4f]['unitId'],..._0x59cd21[_0x24dd4f][_0xec0d85(0x22d)]}},_0x49172e=this[_0xec0d85(0x1bd)]['transformMutation'](_0xd1176b,_0x386e53,!0x1),_0x42887f=this[_0xec0d85(0x1bd)][_0xec0d85(0x273)](_0x3c5f53,_0x2ad637,!0x1);if(_0x5ee050(_0x49172e))throw _0x49172e[_0xec0d85(0x24e)];if(_0x5ee050(_0x42887f))throw _0x42887f['error'];_0x2ebd4f[_0xec0d85(0x115)]({..._0x59cd21[_0x24dd4f],'undoState':_0x49172e[_0xec0d85(0xac)][_0xec0d85(0x1fd)],'redoState':_0x42887f[_0xec0d85(0xac)][_0xec0d85(0x1fd)]}),_0xd1176b=_0x49172e[_0xec0d85(0xfc)],_0x3c5f53=_0x42887f[_0xec0d85(0xfc)];}this[_0xec0d85(0x82)]['setStateCache'](_0x2546b8,{'history':_0x496472,'collaboration':_0x2ebd4f});}};oe=nn([Ce(0x0,_0x546f06(_0x443c56)),Ce(0x1,_0x445c13),Ce(0x2,_0x546f06(_0x17de1c))],oe);var rn=Object[_0x39e5a0(0xee)],on=(_0x58c313,_0x391605,_0xc422ac,_0x47c3ea)=>{const _0x18d237=_0x39e5a0;for(var _0x2945ed=_0x47c3ea>0x1?void 0x0:_0x47c3ea?rn(_0x391605,_0xc422ac):_0x391605,_0x289461=_0x58c313[_0x18d237(0xca)]-0x1,_0x5e6537;_0x289461>=0x0;_0x289461--)(_0x5e6537=_0x58c313[_0x289461])&&(_0x2945ed=_0x5e6537(_0x2945ed)||_0x2945ed);return _0x2945ed;},st=(_0x4f22c1,_0x10d1d2)=>(_0x27c0e6,_0x3143d3)=>_0x10d1d2(_0x27c0e6,_0x3143d3,_0x4f22c1);let ae=class{constructor(_0x1a81cf,_0xc52d61){const _0x1e27ce=_0x39e5a0;this[_0x1e27ce(0x113)]=_0x1a81cf,this['_transformService']=_0xc52d61;}[_0x39e5a0(0x142)](_0x12dac4){const _0x4ce634=_0x39e5a0;var _0x1d2297;const _0x447b10=this[_0x4ce634(0x113)][_0x4ce634(0x174)](_0x3efe9d),_0x1ebbaf=(_0x1d2297=_0x447b10['getDocRanges']())!=null?_0x1d2297:[];if(_0x1ebbaf[_0x4ce634(0xca)]===0x0)return;const _0xb0319b=_0x12dac4['unitID'],_0x464273=[{'id':_0x4ce634(0x23d),'params':{'unitId':_0xb0319b,'actions':null,'textRanges':_0x1ebbaf}}],_0x56c89d=this[_0x4ce634(0x1bd)][_0x4ce634(0xb2)](_0x12dac4,_0x464273);if(!_0x3a1c57(_0x56c89d))throw _0x56c89d[_0x4ce634(0x24e)];const _0x44ae55=_0x56c89d[_0x4ce634(0xac)][0x0][_0x4ce634(0x1fd)][_0x4ce634(0x200)];Array[_0x4ce634(0x90)](_0x44ae55)&&_0x44ae55[_0x4ce634(0xca)]&&_0x447b10[_0x4ce634(0x19d)](_0x44ae55,{'unitId':_0xb0319b,'subUnitId':_0xb0319b},!0x1);}};ae=on([st(0x0,_0x546f06(_0x443c56)),st(0x1,_0x445c13)],ae);var an=Object[_0x39e5a0(0xee)],cn=(_0x12922c,_0x2583b6,_0x1871ab,_0x595936)=>{const _0x46dbe8=_0x39e5a0;for(var _0x37ec07=_0x595936>0x1?void 0x0:_0x595936?an(_0x2583b6,_0x1871ab):_0x2583b6,_0x231e6d=_0x12922c[_0x46dbe8(0xca)]-0x1,_0xd3fc7d;_0x231e6d>=0x0;_0x231e6d--)(_0xd3fc7d=_0x12922c[_0x231e6d])&&(_0x37ec07=_0xd3fc7d(_0x37ec07)||_0x37ec07);return _0x37ec07;},N=(_0x203f9f,_0x1b5363)=>(_0x36a77c,_0x43ca81)=>_0x1b5363(_0x36a77c,_0x43ca81,_0x203f9f);let ce=class extends _0x2c1746{constructor(_0xc5d1ad,_0x515866,_0x1d6fa0,_0x3e659a,_0x3dcacb,_0x38729b,_0x504c89,_0x546941){const _0x705575=_0x39e5a0;super(),_(this,_0x705575(0x154),new _0x13e65e(_0x3885c5[_0x705575(0x21f)])),(this[_0x705575(0x82)]=_0xc5d1ad,this['_collaborationController']=_0x515866,this[_0x705575(0xcf)]=_0x1d6fa0,this[_0x705575(0x221)]=_0x3e659a,this[_0x705575(0x209)]=_0x3dcacb,this[_0x705575(0x223)]=_0x38729b,this[_0x705575(0x1bc)]=_0x504c89,this[_0x705575(0x10d)]=_0x546941,this[_0x705575(0x109)]());}['_initEntityListener'](){const _0x4b4ba5=_0x39e5a0;this[_0x4b4ba5(0x72)](this[_0x4b4ba5(0x139)][_0x4b4ba5(0x23f)][_0x4b4ba5(0x14a)](_0x9958eb=>{const _0x16cfee=_0x4b4ba5,_0x10ffa6=this[_0x16cfee(0x82)][_0x16cfee(0xae)][_0x16cfee(0x14a)](_0x5ee742=>{const _0x3f7f9a=_0x16cfee;if(_0x5ee742==null)return;const {unitId:_0x152e93,redoState:_0x2c46bf,commandId:_0x86b61d}=_0x5ee742;if(_0x152e93!==_0x9958eb[_0x3f7f9a(0x207)])return;const _0x4f7f1d={'id':_0x86b61d,'type':_0x38da82[_0x3f7f9a(0x232)],'params':{'unitId':_0x152e93,'actions':_0x2c46bf[_0x3f7f9a(0x137)],'textRanges':null}};_0x9958eb[_0x3f7f9a(0x114)](_0x4f7f1d);});if(_0x9958eb[_0x16cfee(0x72)](_0x10ffa6),_0x9958eb instanceof _0x56781e){const _0x3ff828={'onTransformIME':_0x18aca2=>this['_docTransformIMECacheService'][_0x16cfee(0xb8)](_0x18aca2),'onTransformState':_0x1a91b5=>this['_docTransformStateCacheService'][_0x16cfee(0x22e)](_0x1a91b5),'onTransformSelections':_0x861236=>this[_0x16cfee(0x209)][_0x16cfee(0x142)](_0x861236),'onSyncEditingCollabCursor':_0x258909=>this[_0x16cfee(0x223)][_0x16cfee(0x145)](_0x258909),'onTransformRemoteChangesetByIMECache':_0x436cfa=>this['_docTransformIMECacheService'][_0x16cfee(0x238)](_0x436cfa),'onTransformRemoteChangesetByStateCache':_0x88b3a=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x88b3a)};_0x9958eb['addHandlerCallback'](_0x3ff828);}}));}};ce=cn([N(0x0,_0x546f06(_0x17de1c)),N(0x1,_0x546f06(_0x5f3b18)),N(0x2,_0x546f06(re)),N(0x3,_0x546f06(oe)),N(0x4,_0x546f06(ae)),N(0x5,_0x546f06(Fe)),N(0x6,_0x1825c4),N(0x7,_0x546f06(_0x572998))],ce);var ln=Object[_0x39e5a0(0xee)],_n=(_0x4f427b,_0x3d8280,_0xa1e870,_0x2ef9a3)=>{const _0x40a895=_0x39e5a0;for(var _0x5f3279=_0x2ef9a3>0x1?void 0x0:_0x2ef9a3?ln(_0x3d8280,_0xa1e870):_0x3d8280,_0x2c0056=_0x4f427b[_0x40a895(0xca)]-0x1,_0x300b5f;_0x2c0056>=0x0;_0x2c0056--)(_0x300b5f=_0x4f427b[_0x2c0056])&&(_0x5f3279=_0x300b5f(_0x5f3279)||_0x5f3279);return _0x5f3279;},Ee=(_0x59f432,_0x53feb9)=>(_0x2f26d9,_0x590e31)=>_0x53feb9(_0x2f26d9,_0x590e31,_0x59f432);let we=class extends _0x2c1746{constructor(_0x3a4b45,_0x35a7a3,_0x586c83){const _0x13f216=_0x39e5a0;super(),_(this,'_cachedData',new Map()),_(this,_0x13f216(0x17e),new Map()),_(this,'_disabled',!0x1),(this[_0x13f216(0x187)]=_0x3a4b45,this[_0x13f216(0x67)]=_0x35a7a3,this[_0x13f216(0x1db)]=_0x586c83);}[_0x39e5a0(0x1fe)](){const _0x4de247=_0x39e5a0;this[_0x4de247(0x21b)]=!0x0;}[_0x39e5a0(0x6a)](){const _0x40f3fc=_0x39e5a0;this[_0x40f3fc(0x21b)]=!0x1;}get[_0x39e5a0(0x249)](){return this['_saveTaskMap'];}[_0x39e5a0(0x116)](){const _0x4a3b49=_0x39e5a0;this['exhaustSavingTask']()[_0x4a3b49(0xb0)](()=>super[_0x4a3b49(0x116)]());}async[_0x39e5a0(0x23e)](_0x58ce38){const _0x416017=_0x39e5a0;return this[_0x416017(0x21b)]?null:this[_0x416017(0x67)][_0x416017(0x170)](_0x14abcb(_0x58ce38));}async[_0x39e5a0(0x9d)](_0x594d5b,_0x5c136a){const _0x33b086=_0x39e5a0;return!!this['_localStorageService'][_0x33b086(0xe5)](_0x594d5b,_0x5c136a);}[_0x39e5a0(0x17f)](_0x349762,_0x42f933,_0x4fefa0,_0x1baa76){const _0x1093d8=_0x39e5a0,_0x15292c=this['_revisionService'][_0x1093d8(0x245)](_0x349762);this[_0x1093d8(0x80)]['set'](_0x349762,{'unitID':_0x349762,'type':_0x42f933,'awaitingChangeset':_0x4fefa0,'mutations':_0x1baa76,'rev':_0x15292c}),this[_0x1093d8(0x17e)]['has'](_0x349762)||this['_scheduleSaving'](_0x349762);}['_scheduleSaving'](_0x58e230){const _0x26556c=_0x39e5a0,_0x447d65=this[_0x26556c(0x19c)]();_0x447d65===0x0?this[_0x26556c(0x89)](_0x58e230):this['_saveTaskMap'][_0x26556c(0x1bf)](_0x58e230,setTimeout(()=>this[_0x26556c(0x89)](_0x58e230),_0x447d65));}[_0x39e5a0(0x19c)](){const _0x30d839=_0x39e5a0;var _0x302c0;return(_0x302c0=this[_0x30d839(0x187)][_0x30d839(0x15a)](_0x4dc1f5))!=null?_0x302c0:_0x3d90bf;}[_0x39e5a0(0x89)](_0x315af5){const _0x10c59b=_0x39e5a0,_0x2a6934=this[_0x10c59b(0x17e)][_0x10c59b(0x174)](_0x315af5);return _0x2a6934!==void 0x0&&window[_0x10c59b(0x1b4)](_0x2a6934),this['_localStorageService'][_0x10c59b(0xe5)](_0x14abcb(_0x315af5),this[_0x10c59b(0x80)][_0x10c59b(0x174)](_0x315af5))[_0x10c59b(0xb0)](()=>this[_0x10c59b(0x17e)][_0x10c59b(0x13c)](_0x315af5));}async[_0x39e5a0(0x202)](){const _0x3e3168=_0x39e5a0,_0x123eda=[];this[_0x3e3168(0x17e)]['forEach']((_0x41b093,_0x471e8a)=>{const _0x1d1a0b=_0x3e3168;window['clearTimeout'](_0x41b093),_0x123eda['push'](this[_0x1d1a0b(0x89)](_0x471e8a)[_0x1d1a0b(0xb0)](()=>{const _0x4c5f84=_0x1d1a0b;this[_0x4c5f84(0x17e)]['delete'](_0x471e8a);}));}),await Promise[_0x3e3168(0xce)](_0x123eda);}};we=_n([Ee(0x0,_0x1cd828),Ee(0x1,_0x519dd1),Ee(0x2,_0x546f06(_0x144dc6))],we);class hn extends _0x2eff66{constructor(){const _0x4cea7e=_0x39e5a0;super(),_(this,_0x4cea7e(0x7a)),this[_0x4cea7e(0x7a)]=_0xb4f25d(window,'popstate')[_0x4cea7e(0x147)](_0x2ec815(this[_0x4cea7e(0xf3)]),_0x357da0(0x1),_0x572218(void 0x0));}[_0x39e5a0(0x1c3)](_0x17f8db,_0x472ea0,_0x2beab9=!0x1){const _0x4c1829=_0x39e5a0,_0x496e39=new URL(window['location'][_0x4c1829(0xef)]);_0x496e39[_0x4c1829(0x1b6)][_0x4c1829(0x1bf)](_0x17f8db,_0x472ea0),_0x2beab9?window[_0x4c1829(0xd9)][_0x4c1829(0xcc)]('','',_0x496e39[_0x4c1829(0xa4)]()):window[_0x4c1829(0xd9)]['pushState']('','',_0x496e39['toString']());}['removeParam'](_0x229606,_0x1ea76b=!0x1){const _0xfd9389=_0x39e5a0,_0x948e24=new URL(window[_0xfd9389(0x27b)]['href']);_0x948e24[_0xfd9389(0x1b6)][_0xfd9389(0x13c)](_0x229606),_0x1ea76b?window[_0xfd9389(0xd9)][_0xfd9389(0xcc)]('','',_0x948e24[_0xfd9389(0xa4)]()):window[_0xfd9389(0xd9)][_0xfd9389(0xb5)]('','',_0x948e24['toString']());}[_0x39e5a0(0x92)](_0x2afa0){const _0x114ca3=_0x39e5a0;var _0x5eb858;return(_0x5eb858=new URL(window['location'][_0x114ca3(0xef)])['searchParams'][_0x114ca3(0x174)](_0x2afa0))!=null?_0x5eb858:void 0x0;}}var un=Object[_0x39e5a0(0x186)],dn=Object[_0x39e5a0(0xee)],fn=(_0x118a20,_0xc198ad,_0x1d8f7e)=>_0xc198ad in _0x118a20?un(_0x118a20,_0xc198ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d8f7e}):_0x118a20[_0xc198ad]=_0x1d8f7e,Sn=(_0x37201f,_0x39fe0a,_0x56f4a4,_0x3bad2c)=>{for(var _0x273842=_0x3bad2c>0x1?void 0x0:_0x3bad2c?dn(_0x39fe0a,_0x56f4a4):_0x39fe0a,_0x10790f=_0x37201f['length']-0x1,_0x40aad1;_0x10790f>=0x0;_0x10790f--)(_0x40aad1=_0x37201f[_0x10790f])&&(_0x273842=_0x40aad1(_0x273842)||_0x273842);return _0x273842;},Oe=(_0x2c7758,_0x3d57f6)=>(_0x46012c,_0x441f92)=>_0x3d57f6(_0x46012c,_0x441f92,_0x2c7758),mn=(_0x54090a,_0x4d586b,_0x2f4a09)=>fn(_0x54090a,_0x4d586b+'',_0x2f4a09);const In=_0x39e5a0(0x22f);let Ae=class extends _0x1bce85{constructor(_0xf0e721=et,_0x6e02d5,_0x2df905,_0x464bf9){const _0x667e5a=_0x39e5a0;super(),this[_0x667e5a(0x1a8)]=_0xf0e721,this[_0x667e5a(0x257)]=_0x6e02d5,this[_0x667e5a(0x113)]=_0x2df905,this[_0x667e5a(0x187)]=_0x464bf9;const {..._0x2f87fe}=_0x54f132({},et,this[_0x667e5a(0x1a8)]);this['_configService'][_0x667e5a(0x1ae)](qi,_0x2f87fe);}[_0x39e5a0(0x15e)](){const _0x3e280d=_0x39e5a0;this['_registerDependencies'](),this[_0x3e280d(0x272)]();}[_0x39e5a0(0x172)](){const _0x2fd4fe=_0x39e5a0;this[_0x2fd4fe(0x131)]();}[_0x39e5a0(0x140)](){const _0x5b4759=_0x39e5a0;var _0x553a69;const _0x4e2833=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0xbf83de,{'useClass':_0x1237ba}],[_0x552c67,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x522a20(this[_0x5b4759(0x113)],_0x5a28c6(_0x4e2833,(_0x553a69=this[_0x5b4759(0x1a8)])==null?void 0x0:_0x553a69[_0x5b4759(0x265)]));}[_0x39e5a0(0x131)](){const _0x4b2af0=_0x39e5a0;this['disposeWithMe'](this['_renderManagerService'][_0x4b2af0(0x1e4)](_0x13a6d7[_0x4b2af0(0x1e6)],[Le])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x13a6d7[_0x4b2af0(0x12a)],[Pe]));}['_initDependencies'](){_0x5488c1(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x39e5a0(0x129),In),Ae=Sn([_0x165ce7(_0x3c092e),Oe(0x1,_0x36e82c),Oe(0x2,_0x546f06(_0x443c56)),Oe(0x3,_0x1cd828)],Ae);var vn=Object[_0x39e5a0(0xee)],gn=(_0x1a7141,_0x55285c,_0x5d8f1a,_0x4ab57a)=>{const _0x3d2670=_0x39e5a0;for(var _0x1f9ad5=_0x4ab57a>0x1?void 0x0:_0x4ab57a?vn(_0x55285c,_0x5d8f1a):_0x55285c,_0x4a8f20=_0x1a7141[_0x3d2670(0xca)]-0x1,_0xc03df7;_0x4a8f20>=0x0;_0x4a8f20--)(_0xc03df7=_0x1a7141[_0x4a8f20])&&(_0x1f9ad5=_0xc03df7(_0x1f9ad5)||_0x1f9ad5);return _0x1f9ad5;},z=(_0x761f51,_0x54999d)=>(_0xacca63,_0x2fa85)=>_0x54999d(_0xacca63,_0x2fa85,_0x761f51);let it=class extends _0x429c3a{constructor(_0x365beb,_0x33836d,_0x535df7,_0x2e4f2c,_0x75d9d9){super(_0x365beb,_0x33836d,_0x535df7,_0x2e4f2c,_0x75d9d9);}async[_0x39e5a0(0x10c)](_0xb7fc7e){const _0x4e8af0=_0x39e5a0,_0x2ecf18=await this['_getSessionTicket'](),_0x22b0a4=this[_0x4e8af0(0x104)](_0xb7fc7e,_0x2ecf18);return this[_0x4e8af0(0x119)](_0x22b0a4);}['_createSocketURL'](_0x3a5037,_0x1323f8){const _0x50dcfb=_0x39e5a0,_0x5c72aa=typeof window>'u'?new URL(_0x3a5037):new URL(_0x3a5037,window[_0x50dcfb(0x27b)][_0x50dcfb(0x237)]);_0x5c72aa[_0x50dcfb(0x1b6)][_0x50dcfb(0x1bf)](_0x50dcfb(0x1ed),_0x1323f8);const _0x2a1887=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50dcfb(0x27b)][_0x50dcfb(0xc7)]);return _0x2a1887['get'](_0x50dcfb(0x193))&&_0x5c72aa['searchParams'][_0x50dcfb(0x1bf)](_0x50dcfb(0x193),_0x2a1887[_0x50dcfb(0x174)]('runId')),_0x5c72aa[_0x50dcfb(0xa4)]();}async[_0x39e5a0(0xd8)](){const _0x3b1ec8=_0x39e5a0;var _0x5a016d,_0x550b7f,_0x13a7b8;const _0x1dc4ca=this[_0x3b1ec8(0x187)]['getConfig'](_0x27c24e),_0x2fecfe=(_0x5a016d=_0x1dc4ca==null?void 0x0:_0x1dc4ca[_0x3b1ec8(0x1f8)])!=null?_0x5a016d:_0x3c24a9;return(_0x13a7b8=(_0x550b7f=(await this[_0x3b1ec8(0x222)]['get'](_0x2fecfe,{'headers':{'Content-Type':_0x3b1ec8(0x23b)}}))[_0x3b1ec8(0x12d)])==null?void 0x0:_0x550b7f[_0x3b1ec8(0x26e)])!=null?_0x13a7b8:'';}};it=gn([z(0x0,_0x546f06(_0x443c56)),z(0x1,_0x546f06(_0x46ef92)),z(0x2,_0x1cd828),z(0x3,_0x38d9e1),z(0x4,_0x20303c)],it);var Lt=(_0x4a13f1=>(_0x4a13f1[_0x4a13f1[_0x39e5a0(0x12b)]=0x0]='UNDEFINED',_0x4a13f1[_0x4a13f1['OK']=0x1]='OK',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x251)]=0x2]=_0x39e5a0(0x251),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x26c)]=0x3]=_0x39e5a0(0x26c),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xe0)]=0x4]=_0x39e5a0(0xe0),_0x4a13f1[_0x4a13f1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1af)]=0x6]='ALREADY_EXISTS',_0x4a13f1[_0x4a13f1['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x25f)]=0x8]=_0x39e5a0(0x25f),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x21d)]=0x9]=_0x39e5a0(0x21d),_0x4a13f1[_0x4a13f1['LOGIN_FAILED']=0xa]=_0x39e5a0(0x25e),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x156)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1c8)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a13f1[_0x4a13f1['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x39e5a0(0x233),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x14d)]=0xe]=_0x39e5a0(0x14d),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xbb)]=0x1389]=_0x39e5a0(0xbb),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x123)]=0x1771]=_0x39e5a0(0x123),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x19e)]=0x1772]=_0x39e5a0(0x19e),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xcb)]=0x1773]=_0x39e5a0(0xcb),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x252)]=0x1b59]=_0x39e5a0(0x252),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xc3)]=0x1b5a]=_0x39e5a0(0xc3),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xf7)]=0x1b5b]=_0x39e5a0(0xf7),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x256)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x146)]=0x1b5d]=_0x39e5a0(0x146),_0x4a13f1[_0x4a13f1['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x16a)]=0x2329]=_0x39e5a0(0x16a),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x144)]=0x232a]=_0x39e5a0(0x144),_0x4a13f1[_0x4a13f1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4a13f1[_0x4a13f1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x39e5a0(0x25d),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x158)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1b8)]=0x2711]=_0x39e5a0(0x1b8),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x24c)]=0x2712]=_0x39e5a0(0x24c),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x171)]=0x2713]=_0x39e5a0(0x171),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x6b)]=0x2714]=_0x39e5a0(0x6b),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1ea)]=0x271a]=_0x39e5a0(0x1ea),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x173)]=0x271b]=_0x39e5a0(0x173),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x134)]=0x271c]=_0x39e5a0(0x134),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x148)]=0x271d]=_0x39e5a0(0x148),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x210)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x250)]=0x271f]=_0x39e5a0(0x250),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x84)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4a13f1[_0x4a13f1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x39e5a0(0x97),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xde)]=0x2ee1]=_0x39e5a0(0xde),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x8e)]=0x2ee2]='INVALID_INVITE_CODE',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x226)]=0x2ee3]=_0x39e5a0(0x226),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1b9)]=0x2ee4]=_0x39e5a0(0x1b9),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1dc)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4a13f1[_0x4a13f1['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x39e5a0(0x18e),_0x4a13f1[_0x4a13f1['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x39e5a0(0xc2),_0x4a13f1[_0x4a13f1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x39e5a0(0x213),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x26d)]=-0x1]=_0x39e5a0(0x26d),_0x4a13f1))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x50795e,_0x364de7,_0x2fb1d7,_0x1a8ce6)=>{for(var _0x47662f=_0x1a8ce6>0x1?void 0x0:_0x1a8ce6?pn(_0x364de7,_0x2fb1d7):_0x364de7,_0x4c998a=_0x50795e['length']-0x1,_0x22598c;_0x4c998a>=0x0;_0x4c998a--)(_0x22598c=_0x50795e[_0x4c998a])&&(_0x47662f=_0x22598c(_0x47662f)||_0x47662f);return _0x47662f;},be=(_0x4323ca,_0x222376)=>(_0x4c73e8,_0x530b31)=>_0x222376(_0x4c73e8,_0x530b31,_0x4323ca);function _0x4240(_0x31b573,_0x4dea7a){const _0x470bc0=_0x470b();return _0x4240=function(_0x4240e7,_0x2bd2d5){_0x4240e7=_0x4240e7-0x67;let _0x3bce3f=_0x470bc0[_0x4240e7];return _0x3bce3f;},_0x4240(_0x31b573,_0x4dea7a);}let nt=class extends _0x2c1746{constructor(_0x55eef0,_0x1d492b,_0x4e8fa6){const _0x4cec12=_0x39e5a0;super(),this[_0x4cec12(0x197)]=_0x55eef0,this[_0x4cec12(0x222)]=_0x1d492b,this[_0x4cec12(0x187)]=_0x4e8fa6;}async[_0x39e5a0(0xdd)](_0x57d3d3,_0x1ce8de,_0x2f3ec3,..._0x14f2a3){const _0xb60cc6=_0x39e5a0;var _0x1de6c5,_0xe1bb56,_0x2cc819,_0x339799;const _0x4f2197=this[_0xb60cc6(0x197)]['getFocusedUnit']();if(!_0x4f2197)throw new Error(_0xb60cc6(0x23a));const _0x587495=((_0x1de6c5=this[_0xb60cc6(0x187)][_0xb60cc6(0x15a)](_0xdc3bd7))!=null?_0x1de6c5:_0x433ed7)+'/'+_0x57d3d3+'/run/'+_0x1ce8de,_0x141b17=new URL(window[_0xb60cc6(0x27b)][_0xb60cc6(0xef)]),_0x3f40cf={'scriptId':_0x57d3d3,'runId':(_0xe1bb56=_0x141b17[_0xb60cc6(0x1b6)][_0xb60cc6(0x174)](_0xb60cc6(0x193)))!=null?_0xe1bb56:'','function':_0x1ce8de,'unitId':_0x4f2197['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x14f2a3),'invokeId':(_0x2cc819=_0x2f3ec3['invokeId'])!=null?_0x2cc819:'','executionId':(_0x339799=_0x2f3ec3[_0xb60cc6(0xb6)])!=null?_0x339799:''};try{const _0xd431ac=await this[_0xb60cc6(0x222)][_0xb60cc6(0x13d)](_0x587495,{'body':_0x3f40cf});return _0xd431ac[_0xb60cc6(0x12d)][_0xb60cc6(0x24e)]&&_0xd431ac[_0xb60cc6(0x12d)][_0xb60cc6(0x24e)][_0xb60cc6(0x169)]!==Lt['OK']?'Failed':_0xd431ac[_0xb60cc6(0x12d)][_0xb60cc6(0x1be)];}catch{return _0xb60cc6(0xf0);}}};nt=Cn([be(0x0,_0x31cd6a),be(0x1,_0x546f06(_0x46ef92)),be(0x2,_0x1cd828)],nt);const rt=0x7530,ot=_0x39e5a0(0x1e0);class Fn extends _0x2c1746{constructor(){const _0x222ed1=_0x39e5a0;super(),_(this,_0x222ed1(0xeb),_0x2021eb()),_(this,_0x222ed1(0x76),new Set()),_(this,_0x222ed1(0x199),new Map()),_(this,_0x222ed1(0x219),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x222ed1(0x14e),new Map()),this[_0x222ed1(0x6e)]();}[_0x39e5a0(0x116)](){const _0x1e4340=_0x39e5a0;super['dispose'](),this[_0x1e4340(0x19b)][_0x1e4340(0x205)]((_0x48aaf1,_0x5718e1)=>this[_0x1e4340(0xe6)](_0x5718e1)),this[_0x1e4340(0x219)]&&window['clearInterval'](this[_0x1e4340(0x219)]);}[_0x39e5a0(0x16c)](_0x2ccf1e){const _0x5c7672=_0x39e5a0;return this[_0x5c7672(0x159)](_0x2ccf1e)[_0x5c7672(0x147)](_0x4d1d7d());}[_0x39e5a0(0x1d1)](_0x16de09){const _0x2af82f=_0x39e5a0;this['_selfUnitIDs']['size']===0x0&&this[_0x2af82f(0x107)](),this[_0x2af82f(0x76)]['add'](_0x16de09),this['_send']({'type':0x0,'memberID':this[_0x2af82f(0xeb)],'unitIDs':[_0x16de09],'isForwarded':!0x1});}['disposeUnit'](_0x3f185e){const _0x3fde09=_0x39e5a0;this[_0x3fde09(0x76)][_0x3fde09(0x13c)](_0x3f185e),this['_selfUnitIDs'][_0x3fde09(0x9c)]===0x0&&this[_0x3fde09(0x219)]&&window['clearInterval'](this[_0x3fde09(0x219)]);}[_0x39e5a0(0x6e)](){const _0x46ef2d=_0x39e5a0;this['disposeWithMe'](_0x2120d5(_0xb4f25d(window,_0x46ef2d(0x216))[_0x46ef2d(0x14a)](_0x5ffac5=>{const _0x3934cd=_0x46ef2d;if(_0x5ffac5[_0x3934cd(0xfd)]!==ot||!_0x5ffac5[_0x3934cd(0x77)])return;const _0x32e7cb=JSON[_0x3934cd(0x1a2)](_0x5ffac5[_0x3934cd(0x77)]);this[_0x3934cd(0x1fa)](_0x32e7cb);}))),window[_0x46ef2d(0xb1)](_0x46ef2d(0x163),()=>this[_0x46ef2d(0x13e)]({'type':0x1,'memberID':this[_0x46ef2d(0xeb)],'unitIDs':Array[_0x46ef2d(0x1cf)](this['_selfUnitIDs'])}));}[_0x39e5a0(0x1fa)](_0x85f4eb){const _0x2bc5d5=_0x39e5a0;switch(_0x85f4eb[_0x2bc5d5(0x138)]){case 0x0:this['_handleJoinEvent'](_0x85f4eb);break;case 0x1:this[_0x2bc5d5(0xaf)](_0x85f4eb);break;case 0x2:this[_0x2bc5d5(0x20d)](_0x85f4eb);break;}}['_handleJoinEvent'](_0x1dd3cf){const _0x3fdd08=_0x39e5a0,{unitIDs:_0x290cce,memberID:_0x486b96,isForwarded:_0x3748c0}=_0x1dd3cf;_0x290cce[_0x3fdd08(0x205)](_0x249e0e=>{const _0xaf8874=_0x3fdd08;if(!_0x3748c0&&this[_0xaf8874(0x199)][_0xaf8874(0xed)](_0x249e0e)&&this['_ensureSubject'](_0x249e0e)[_0xaf8874(0x133)](_0x3aa553[_0xaf8874(0x242)]),!this[_0xaf8874(0x199)][_0xaf8874(0xed)](_0x249e0e)||!this[_0xaf8874(0x199)][_0xaf8874(0x174)](_0x249e0e)[_0xaf8874(0xed)](_0x486b96)){const _0x4ba600=this[_0xaf8874(0x199)][_0xaf8874(0x174)](_0x249e0e)||new Set();_0x4ba600[_0xaf8874(0x151)](_0x486b96),this['_unitOnClients'][_0xaf8874(0x1bf)](_0x249e0e,_0x4ba600),this[_0xaf8874(0x1c5)](_0x486b96);}}),_0x3748c0||this['_send']({'type':0x0,'memberID':this[_0x3fdd08(0xeb)],'unitIDs':[...this[_0x3fdd08(0x76)]],'isForwarded':!0x0});}[_0x39e5a0(0x1c5)](_0x1b7874){const _0xc378ca=_0x39e5a0;this['_removeClearOtherTimer'](_0x1b7874);const _0xc0ff1b=window[_0xc378ca(0x203)](()=>{const _0x1ce869=_0xc378ca;this['_unitOnClients'][_0x1ce869(0x205)](_0x393872=>{const _0x34e046=_0x1ce869;_0x393872[_0x34e046(0x13c)](_0x1b7874);});},rt*0x2);this[_0xc378ca(0x19b)][_0xc378ca(0x1bf)](_0x1b7874,_0xc0ff1b);}[_0x39e5a0(0xe6)](_0x3e18d9){const _0x248340=_0x39e5a0;if(this[_0x248340(0x19b)][_0x248340(0xed)](_0x3e18d9)){const _0x33d7db=this[_0x248340(0x19b)][_0x248340(0x174)](_0x3e18d9);_0x33d7db&&window[_0x248340(0x1b4)](_0x33d7db),this[_0x248340(0x19b)]['set'](_0x3e18d9,null);}}[_0x39e5a0(0xaf)](_0x79a85c){const _0x252879=_0x39e5a0,{memberID:_0x136224,unitIDs:_0x17398f}=_0x79a85c;_0x17398f[_0x252879(0x205)](_0x442503=>{const _0x535504=_0x252879;var _0x5629c1;const _0x31cec9=this['_unitOnClients'][_0x535504(0x174)](_0x442503);_0x31cec9&&(_0x31cec9[_0x535504(0x13c)](_0x136224),(_0x5629c1=this[_0x535504(0x159)](_0x442503))==null||_0x5629c1['next'](_0x31cec9['size']===0x0?_0x3aa553[_0x535504(0xba)]:_0x3aa553[_0x535504(0x242)]));}),this[_0x252879(0xe6)](_0x136224);}[_0x39e5a0(0x20d)](_0x4e1582){const _0x35b637=_0x39e5a0;this[_0x35b637(0x1c5)](_0x4e1582[_0x35b637(0x1aa)]);}[_0x39e5a0(0x13e)](_0x268ee8){const _0x569033=_0x39e5a0;localStorage[_0x569033(0xe5)](ot,JSON[_0x569033(0x1c9)](_0x268ee8));}[_0x39e5a0(0x107)](){const _0x51fce4=_0x39e5a0;this[_0x51fce4(0x219)]=window[_0x51fce4(0x1e8)](()=>{const _0x5d86b5=_0x51fce4;this[_0x5d86b5(0x13e)]({'type':0x2,'memberID':this[_0x5d86b5(0xeb)]});},rt);}['_ensureSubject'](_0x3af68f){const _0x1b0681=_0x39e5a0;return this[_0x1b0681(0x14e)][_0x1b0681(0xed)](_0x3af68f)||this[_0x1b0681(0x14e)][_0x1b0681(0x1bf)](_0x3af68f,new _0x13e65e(_0x3aa553[_0x1b0681(0xba)])),this[_0x1b0681(0x14e)][_0x1b0681(0x174)](_0x3af68f);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0xae1692=_0x17f3;(function(_0x30f983,_0x45e636){const _0x48bf29=_0x17f3,_0x1a3242=_0x30f983();while(!![]){try{const _0xbc32bc=parseInt(_0x48bf29(0x312))/0x1*(parseInt(_0x48bf29(0x204))/0x2)+-parseInt(_0x48bf29(0x2ea))/0x3+parseInt(_0x48bf29(0x1c3))/0x4*(parseInt(_0x48bf29(0x307))/0x5)+-parseInt(_0x48bf29(0x343))/0x6*(-parseInt(_0x48bf29(0x232))/0x7)+-parseInt(_0x48bf29(0x26e))/0x8+parseInt(_0x48bf29(0x2a7))/0x9+parseInt(_0x48bf29(0x323))/0xa*(-parseInt(_0x48bf29(0x2c7))/0xb);if(_0xbc32bc===_0x45e636)break;else _0x1a3242['push'](_0x1a3242['shift']());}catch(_0xa2d261){_0x1a3242['push'](_0x1a3242['shift']());}}}(_0x1afe,0x28d9e));var xt=Object[_0xae1692(0x25b)],Bt=(_0x30d4cd,_0x3bfeec,_0xf9ed7a)=>_0x3bfeec in _0x30d4cd?xt(_0x30d4cd,_0x3bfeec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf9ed7a}):_0x30d4cd[_0x3bfeec]=_0xf9ed7a,l=(_0x54fca8,_0x538799,_0x1544c6)=>Bt(_0x54fca8,typeof _0x538799!=_0xae1692(0x242)?_0x538799+'':_0x538799,_0x1544c6);import{jsx as _0x2d151f,jsxs as _0x154f99}from'react/jsx-runtime';import{CollaborationStatus as _0x111939,CollaborationSessionService as _0x53214a,CollaborationController as _0x28e18f,DataLoaderService as _0x1698f9,MemberService as _0x5c3af9,SessionStatus as _0x4a2ccd,ILocalCacheService as _0x932321,CollaborationUIEventService as _0x16ab34,CollaborationUIEventId as _0x45503a,DocCollaborationEntity as _0x1e8942,getLocalCacheKey as _0x493384,LOCAL_CACHE_INTERVAL as _0x4d3ebe,LOCAL_CACHE_INTERVAL_KEY as _0x22fa43,UniverCollaborationClientPlugin as _0x3ff268,CollaborationSocketService as _0xee4258,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x33b623,DEFAULT_WS_SESSION_TICKET_URL as _0x29746f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2fa41a,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x42dddb,UnitStatus as _0x115102}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x1c5d85,IUniverInstanceService as _0x3b348f,Inject as _0x41baf4,Injector as _0x2481c0,Disposable as _0x285911,createIdentifier as _0x407300,ILogService as _0x477923,ICommandService as _0x525eed,Optional as _0x5ae69f,RxDisposable as _0x4e0838,Workbook as _0x2f3570,DOC_RANGE_TYPE as _0x2184c4,debounce as _0x3d64df,Rectangle as _0x48a47e,DisposableCollection as _0x559b77,toDisposable as _0x4a6403,UniverInstanceType as _0x55fb2c,generateRandomId as _0x37ff84,COLORS as _0x206d73,ColorKit as _0x2a0311,ThemeService as _0x3033c8,fromEventSubject as _0x4dedd6,Tools as _0x5b781d,CommandType as _0xfd5735,IConfigService as _0x2356fd,ILocalStorageService as _0x40077e,DependentOn as _0x473fa0,Plugin as _0x3fd399,merge as _0x36294d,registerDependencies as _0x22854c,mergeOverrideWithDependencies as _0x53db4b,touchDependencies as _0x478ab5}from'@univerjs/core';import{useObservable as _0x197d50,useDependency as _0x83a1a3,IUIPartsService as _0xdb8448,BuiltInUIPart as _0xe06571,connectInjector as _0x2e7e7e,IBeforeCloseService as _0x1e2e5e,IMessageService as _0x575d81,INotificationService as _0x18e675}from'@univerjs/ui';import{BehaviorSubject as _0x26a181,switchMap as _0x463315,of as _0x5cc328,takeUntil as _0x274acb,debounceTime as _0x105d78,Subject as _0x5b31e9,filter as _0x24f236,merge as _0x5d4cd9,combineLatest as _0x33840b,fromEvent as _0x29b0e7,shareReplay as _0x1091f9,mapTo as _0x4b2259,distinctUntilChanged as _0x2cd240}from'rxjs';import{Tooltip as _0x1b8583,clsx as _0x4ba806,MessageType as _0x2a2d71}from'@univerjs/design';import{forwardRef as _0x5b4606,useRef as _0x1232be,createElement as _0x344a56,useCallback as _0x2f623f}from'react';import{IRemoteInstanceService as _0x161a53}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x652c62,RefRangeService as _0x3a5d02,SetSelectionsOperation as _0x17e241,SheetsSelectionsService as _0x5a8983,EffectRefRangId as _0x1b05b9,handleIRemoveRow as _0x28cfdb,handleIRemoveCol as _0x19514c,handleMoveRange as _0x3291ee,handleInsertRow as _0x2c7945,handleInsertRangeMoveRight as _0x3f6752,handleInsertRangeMoveDown as _0x33203a,handleInsertCol as _0x591e95,handleDeleteRangeMoveUp as _0x41c12a,handleDeleteRangeMoveLeft as _0x1b7e25,runRefRangeMutations as _0x4e7347}from'@univerjs/sheets';import{Shape as _0x5a7424,Rect as _0x43d74a,getColor as _0x405ef5,RegularPolygon as _0x5765e2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5869d8,Vector2 as _0xb3412,SHEET_VIEWPORT_KEY as _0x32ce54,IRenderManagerService as _0x50995e}from'@univerjs/engine-render';import{ISocketService as _0x4a8d1f,WebSocketService as _0x2a5e55,HTTPService as _0x2ce152}from'@univerjs/network';import{IDocClipboardService as _0x5c3070,NodePositionConvertToCursor as _0x46e6e8,NodePositionConvertToRectRange as _0x1b6bce,TEXT_RANGE_LAYER_INDEX as _0x4142fe,SetDocZoomRatioOperation as _0x4d7d7e,DocIMEInputManagerService as _0x4ee8b4,DocStateChangeManagerService as _0x589b69}from'@univerjs/docs-ui';import{IImageIoService as _0x438d61}from'@univerjs/drawing';import{ITransformService as _0x52b1fd,CollaborationEvent as _0x2fb547,isTransformMutationFailure as _0x1cb877,isTransformMutationsWithChangesetSuccess as _0x245cf5,RevisionService as _0x9012bd,ISnapshotServerService as _0xe87de1}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x175600,RichTextEditingMutation as _0x2de756,DocSelectionManagerService as _0x3f18d4,DocSkeletonManagerService as _0x327fb3}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2cb0e6,serializeRangeWithSheet as _0x53672e}from'@univerjs/engine-formula';import{map as _0x5952eb,filter as _0x505768,throttleTime as _0x574d35,takeUntil as _0x249931,switchMap as _0x29a975}from'rxjs/operators';import{SheetSkeletonManagerService as _0x579b6d,getCoordByCell as _0x430016,getSheetObject as _0x30d4b3}from'@univerjs/sheets-ui';var v=function(){const _0x330f65=_0xae1692;return v=Object[_0x330f65(0x291)]||function(_0x111ea5){const _0xa3c8ca=_0x330f65;for(var _0x3fffe7,_0x4f0881=0x1,_0x3bd157=arguments['length'];_0x4f0881<_0x3bd157;_0x4f0881++){_0x3fffe7=arguments[_0x4f0881];for(var _0x15de26 in _0x3fffe7)Object[_0xa3c8ca(0x1d9)][_0xa3c8ca(0x181)][_0xa3c8ca(0x23c)](_0x3fffe7,_0x15de26)&&(_0x111ea5[_0x15de26]=_0x3fffe7[_0x15de26]);}return _0x111ea5;},v[_0x330f65(0x341)](this,arguments);},ci=function(_0x40826e,_0x2074fe){const _0x157165=_0xae1692;var _0x35594c={};for(var _0x2bf515 in _0x40826e)Object[_0x157165(0x1d9)]['hasOwnProperty']['call'](_0x40826e,_0x2bf515)&&_0x2074fe[_0x157165(0x145)](_0x2bf515)<0x0&&(_0x35594c[_0x2bf515]=_0x40826e[_0x2bf515]);if(_0x40826e!=null&&typeof Object[_0x157165(0x355)]==_0x157165(0x1ee)){for(var _0x58b2c8=0x0,_0x2bf515=Object[_0x157165(0x355)](_0x40826e);_0x58b2c8<_0x2bf515[_0x157165(0x14d)];_0x58b2c8++)_0x2074fe[_0x157165(0x145)](_0x2bf515[_0x58b2c8])<0x0&&Object[_0x157165(0x1d9)][_0x157165(0x20f)]['call'](_0x40826e,_0x2bf515[_0x58b2c8])&&(_0x35594c[_0x2bf515[_0x58b2c8]]=_0x40826e[_0x2bf515[_0x58b2c8]]);}return _0x35594c;},ke=_0x5b4606(function(_0x346446,_0x10fbab){const _0x5df853=_0xae1692;var _0xd6ec29=_0x346446['icon'],_0x57a723=_0x346446['id'],_0x2c9cc0=_0x346446[_0x5df853(0x26f)],_0x33b49a=_0x346446[_0x5df853(0x328)],_0x55d5ca=ci(_0x346446,[_0x5df853(0x21d),'id','className','extend']),_0x2a3410=_0x5df853(0x20c)['concat'](_0x57a723,'\x20')[_0x5df853(0x30e)](_0x2c9cc0||'')['trim'](),_0x2d2f2f=_0x1232be('_'[_0x5df853(0x30e)](hi()));return Dt(_0xd6ec29,''[_0x5df853(0x30e)](_0x57a723),{'defIds':_0xd6ec29[_0x5df853(0x345)],'idSuffix':_0x2d2f2f[_0x5df853(0x23a)]},v({'ref':_0x10fbab,'className':_0x2a3410},_0x55d5ca),_0x33b49a);});function Dt(_0x4f5daf,_0x3f1c71,_0xeebf79,_0x246c5d,_0x5960dd){const _0x248e99=_0xae1692;return _0x344a56(_0x4f5daf[_0x248e99(0x34b)],v(v({'key':_0x3f1c71},_i(_0x4f5daf,_0xeebf79,_0x5960dd)),_0x246c5d),(li(_0x4f5daf,_0xeebf79)[_0x248e99(0x19d)]||[])[_0x248e99(0x166)](function(_0x47360c,_0x8e9671){const _0x3532c0=_0x248e99;return Dt(_0x47360c,''[_0x3532c0(0x30e)](_0x3f1c71,'-')[_0x3532c0(0x30e)](_0x4f5daf[_0x3532c0(0x34b)],'-')[_0x3532c0(0x30e)](_0x8e9671),_0xeebf79,void 0x0,_0x5960dd);}));}function _i(_0x598486,_0x3d267e,_0xafbc0){const _0x4cd857=_0xae1692;var _0x4baf00=v({},_0x598486[_0x4cd857(0x2ac)]);_0xafbc0!=null&&_0xafbc0[_0x4cd857(0x29d)]&&_0x4baf00[_0x4cd857(0x35d)]===_0x4cd857(0x29d)&&(_0x4baf00[_0x4cd857(0x35d)]=_0xafbc0[_0x4cd857(0x29d)]),_0x598486[_0x4cd857(0x34b)]==='mask'&&_0x4baf00['id']&&(_0x4baf00['id']=_0x4baf00['id']+_0x3d267e[_0x4cd857(0x143)]),Object[_0x4cd857(0x297)](_0x4baf00)[_0x4cd857(0x174)](function(_0x3d8e0e){const _0x547879=_0x4cd857;var _0x30e749=_0x3d8e0e[0x0],_0x543368=_0x3d8e0e[0x1];_0x30e749===_0x547879(0x1fc)&&typeof _0x543368==_0x547879(0x1bc)&&(_0x4baf00[_0x30e749]=_0x543368['replace'](/url\(#(.*)\)/,_0x547879(0x31e)[_0x547879(0x30e)](_0x3d267e[_0x547879(0x143)],')')));});var _0x42d1ed=_0x3d267e['defIds'];return!_0x42d1ed||_0x42d1ed['length']===0x0||(_0x598486['tag']===_0x4cd857(0x272)&&_0x4baf00[_0x4cd857(0x22d)]&&(_0x4baf00[_0x4cd857(0x22d)]=_0x4baf00['xlink:href']+_0x3d267e['idSuffix']),Object[_0x4cd857(0x297)](_0x4baf00)['forEach'](function(_0x44f4df){const _0x417570=_0x4cd857;var _0xba0418=_0x44f4df[0x0],_0x4e8c45=_0x44f4df[0x1];typeof _0x4e8c45=='string'&&(_0x4baf00[_0xba0418]=_0x4e8c45[_0x417570(0x36d)](/url\(#(.*)\)/,'url(#$1'[_0x417570(0x30e)](_0x3d267e[_0x417570(0x143)],')')));})),_0x4baf00;}function li(_0x58f09f,_0x46fa34){const _0x14b528=_0xae1692;var _0x10dbcc,_0x244650=_0x46fa34[_0x14b528(0x345)];return!_0x244650||_0x244650['length']===0x0?_0x58f09f:_0x58f09f[_0x14b528(0x34b)]===_0x14b528(0x33b)&&(!((_0x10dbcc=_0x58f09f['children'])===null||_0x10dbcc===void 0x0)&&_0x10dbcc[_0x14b528(0x14d)])?v(v({},_0x58f09f),{'children':_0x58f09f['children']['map'](function(_0x5534c0){const _0x3fbda7=_0x14b528;return typeof _0x5534c0[_0x3fbda7(0x2ac)]['id']==_0x3fbda7(0x1bc)&&_0x244650&&_0x244650['includes'](_0x5534c0['attrs']['id'])?v(v({},_0x5534c0),{'attrs':v(v({},_0x5534c0['attrs']),{'id':_0x5534c0[_0x3fbda7(0x2ac)]['id']+_0x46fa34[_0x3fbda7(0x143)]})}):_0x5534c0;})}):_0x58f09f;}function hi(){const _0xe6e4db=_0xae1692;return Math[_0xe6e4db(0x318)]()[_0xe6e4db(0x34c)](0x24)[_0xe6e4db(0x2aa)](0x2,0x8);}ke[_0xae1692(0x32f)]=_0xae1692(0x336);var ui={'tag':_0xae1692(0x15a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xae1692(0x30c),'viewBox':_0xae1692(0x2e2),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xae1692(0x2ae)},'children':[{'tag':'path','attrs':{'stroke':_0xae1692(0x228),'d':_0xae1692(0x2f1),'strokeLinecap':_0xae1692(0x1db),'strokeLinejoin':_0xae1692(0x1db),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xae1692(0x26a),'attrs':{'id':_0xae1692(0x313)},'children':[{'tag':'path','attrs':{'fill':_0xae1692(0x2f8),'d':_0xae1692(0x33c)}}]}]}],'defIds':[_0xae1692(0x313)]},bt=_0x5b4606(function(_0x48fa50,_0x2e054e){const _0x5a744d=_0xae1692;return _0x344a56(ke,Object[_0x5a744d(0x291)]({},_0x48fa50,{'id':'off-line-icon','ref':_0x2e054e,'icon':ui}));});bt[_0xae1692(0x32f)]=_0xae1692(0x349);var di={'tag':_0xae1692(0x15a),'attrs':{'xmlns':_0xae1692(0x1d3),'fill':_0xae1692(0x30c),'viewBox':_0xae1692(0x2f3),'width':'1em','height':_0xae1692(0x324)},'children':[{'tag':'g','attrs':{'clipPath':_0xae1692(0x1f6)},'children':[{'tag':_0xae1692(0x1c5),'attrs':{'stroke':'currentColor','d':_0xae1692(0x149),'strokeLinecap':'round','strokeLinejoin':_0xae1692(0x1db),'strokeWidth':1.2}}]},{'tag':_0xae1692(0x33b),'attrs':{},'children':[{'tag':_0xae1692(0x26a),'attrs':{'id':_0xae1692(0x1e9)},'children':[{'tag':_0xae1692(0x1c5),'attrs':{'fill':'white','d':_0xae1692(0x33c),'transform':_0xae1692(0x1bb)}}]}]}],'defIds':[_0xae1692(0x1e9)]},Nt=_0x5b4606(function(_0x5a6f50,_0x4de95d){const _0x85bc07=_0xae1692;return _0x344a56(ke,Object[_0x85bc07(0x291)]({},_0x5a6f50,{'id':_0x85bc07(0x188),'ref':_0x4de95d,'icon':di}));});Nt[_0xae1692(0x32f)]=_0xae1692(0x237);function fi(_0x5ad536){const _0x594f61=_0xae1692;switch(_0x5ad536){case _0x111939['OFFLINE']:return'collabStatus.offline';case _0x111939['CONFLICT']:return'collabStatus.conflict';case _0x111939[_0x594f61(0x25e)]:return _0x594f61(0x156);case _0x111939[_0x594f61(0x301)]:return _0x594f61(0x1e7);case _0x111939[_0x594f61(0x258)]:case _0x111939[_0x594f61(0x295)]:return _0x594f61(0x274);case _0x111939['SYNCED']:case _0x111939[_0x594f61(0x1f7)]:return'collabStatus.synced';}}function Ii(_0x45987f){const _0x3f7af1=_0xae1692,{status$:_0x70f8cc}=_0x45987f,_0x3e5958=_0x197d50(_0x70f8cc,_0x111939[_0x3f7af1(0x301)]),_0x1d7aef=_0x83a1a3(_0x1c5d85),_0x45cbb8=_0x83a1a3(_0x53214a),_0x3866e9=_0x3e5958!==_0x111939[_0x3f7af1(0x2b1)],_0x3d44f2=_0x1d7aef['t'](fi(_0x3e5958)),_0x5873ba=_0x3866e9?_0x2d151f(Nt,{}):_0x2d151f(bt,{}),_0x15d4ac=_0x2f623f(()=>{const _0x4faa77=_0x3f7af1;_0x3866e9||_0x45cbb8[_0x4faa77(0x26b)]();},[_0x3866e9,_0x45cbb8]);function _0x1432c6(){const _0xb93608=_0x3f7af1;return _0x154f99('div',{'className':_0xb93608(0x257),'onClick':_0x15d4ac,'children':[_0x2d151f('div',{'className':_0x4ba806(_0xb93608(0x155),{'univer-text-green-500':_0x3866e9,'univer-text-red-500':!_0x3866e9}),'children':_0x5873ba}),_0x2d151f(_0xb93608(0x319),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3d44f2})]});}return _0x3866e9?_0x1432c6():_0x2d151f(_0x1b8583,{'title':_0x1d7aef['t'](_0x3f7af1(0x19a)),'children':_0x1432c6()});}var Si=Object[_0xae1692(0x285)],mi=(_0x48c2be,_0x11fd8a,_0x310832,_0x1c5c9e)=>{const _0x28e1c3=_0xae1692;for(var _0x5abe8a=_0x1c5c9e>0x1?void 0x0:_0x1c5c9e?Si(_0x11fd8a,_0x310832):_0x11fd8a,_0x491a3b=_0x48c2be[_0x28e1c3(0x14d)]-0x1,_0x45cdaa;_0x491a3b>=0x0;_0x491a3b--)(_0x45cdaa=_0x48c2be[_0x491a3b])&&(_0x5abe8a=_0x45cdaa(_0x5abe8a)||_0x5abe8a);return _0x5abe8a;},q=(_0x39a3ed,_0x5dfa04)=>(_0x4da5cf,_0x48734e)=>_0x5dfa04(_0x4da5cf,_0x48734e,_0x39a3ed);let se=class extends _0x285911{constructor(_0x2a4992,_0x520522,_0x417f4d,_0x4b94c6){const _0x96b376=_0xae1692;super(),l(this,_0x96b376(0x2c4),new _0x26a181(_0x111939[_0x96b376(0x301)])),(this[_0x96b376(0x339)]=_0x2a4992,this[_0x96b376(0x201)]=_0x520522,this[_0x96b376(0x1a0)]=_0x417f4d,this[_0x96b376(0x189)]=_0x4b94c6,this[_0x96b376(0x24a)](),this[_0x96b376(0x27d)]());}[_0xae1692(0x27d)](){const _0x41073b=_0xae1692;this[_0x41073b(0x2b3)](this['_univerInstanceService'][_0x41073b(0x28a)][_0x41073b(0x1b7)](_0x463315(()=>{const _0x406c26=_0x41073b,_0x233451=this[_0x406c26(0x339)]['getFocusedUnit']();return _0x233451?this['_collaborationController'][_0x406c26(0x18a)](_0x233451[_0x406c26(0x14f)]()):_0x5cc328(null);}),_0x463315(_0x4da14d=>_0x4da14d?_0x4da14d['status$']:_0x5cc328(_0x111939[_0x41073b(0x301)])))[_0x41073b(0x2f6)](_0x43c087=>{const _0xe02c9=_0x41073b;this[_0xe02c9(0x2c4)][_0xe02c9(0x300)](_0x43c087);}));}[_0xae1692(0x24a)](){const _0x464169=_0xae1692;this[_0x464169(0x2b3)](this[_0x464169(0x189)][_0x464169(0x208)](_0xe06571[_0x464169(0x34f)],()=>_0x2e7e7e(vi({'status$':this[_0x464169(0x2c4)][_0x464169(0x305)]()}),this[_0x464169(0x201)])));}};se=mi([q(0x0,_0x3b348f),q(0x1,_0x41baf4(_0x2481c0)),q(0x2,_0x41baf4(_0x28e18f)),q(0x3,_0xdb8448)],se);function vi(_0x537e4f){const {status$:_0x3d1c98}=_0x537e4f;return function(){return _0x2d151f(Ii,{'status$':_0x3d1c98});};}const Ut=_0x407300(_0xae1692(0x1ed));var gi=Object[_0xae1692(0x285)],Ei=(_0x39a61d,_0x3ea4d8,_0x3ba74e,_0x2d3fcd)=>{const _0x5f06e5=_0xae1692;for(var _0x254eba=_0x2d3fcd>0x1?void 0x0:_0x2d3fcd?gi(_0x3ea4d8,_0x3ba74e):_0x3ea4d8,_0x436edf=_0x39a61d[_0x5f06e5(0x14d)]-0x1,_0x57db2a;_0x436edf>=0x0;_0x436edf--)(_0x57db2a=_0x39a61d[_0x436edf])&&(_0x254eba=_0x57db2a(_0x254eba)||_0x254eba);return _0x254eba;},G=(_0x1505ca,_0x4b9dba)=>(_0x5f486d,_0x3aaa9b)=>_0x4b9dba(_0x5f486d,_0x3aaa9b,_0x1505ca);let ie=class extends _0x4e0838{constructor(_0x32a0df,_0x4fc53c,_0x45c2c9,_0x2f8b34,_0x2f8cef){const _0x42ef19=_0xae1692;super(),this['_urlService']=_0x32a0df,this[_0x42ef19(0x2e1)]=_0x4fc53c,this[_0x42ef19(0x30b)]=_0x45c2c9,this[_0x42ef19(0x32c)]=_0x2f8b34,_0x2f8cef?_0x2f8cef==null||_0x2f8cef[_0x42ef19(0x2cf)]()['then'](()=>this[_0x42ef19(0x159)]()):(this[_0x42ef19(0x2e1)][_0x42ef19(0x202)](_0x42ef19(0x347),_0x42ef19(0x1b0)),this['_init']());}async['_init'](){const _0xa68950=_0xae1692,_0x8eed0b=this[_0xa68950(0x1ea)][_0xa68950(0x2ed)]('unit'),_0x3b43f8=this[_0xa68950(0x1ea)][_0xa68950(0x2ed)](_0xa68950(0x1d2)),_0x59ea4b=this[_0xa68950(0x1ea)][_0xa68950(0x2ed)](_0xa68950(0x19f));if(!_0x8eed0b||!_0x3b43f8){this['_logService'][_0xa68950(0x202)](_0xa68950(0x347),_0xa68950(0x316));return;}const _0x227d23=await this[_0xa68950(0x32c)]['loadUnit'](_0x8eed0b,Number(_0x3b43f8),_0x59ea4b);_0x227d23&&_0x227d23 instanceof _0x2f3570&&this[_0xa68950(0x1e4)](_0x227d23);}async[_0xae1692(0x1e4)](_0x4fd9c1){const _0x265bc1=_0xae1692;await this[_0x265bc1(0x24b)](_0x4fd9c1),_0x4fd9c1['activeSheet$'][_0x265bc1(0x1b7)](_0x274acb(this[_0x265bc1(0x1cd)]))[_0x265bc1(0x2f6)](_0x120179=>{_0x120179&&this['_updateURLWithCurrentState'](_0x120179);}),this[_0x265bc1(0x1ea)][_0x265bc1(0x368)]['pipe'](_0x274acb(this[_0x265bc1(0x1cd)]))[_0x265bc1(0x2f6)](()=>this[_0x265bc1(0x24b)](_0x4fd9c1));}['_updateURLWithCurrentState'](_0x1ce0c9,_0x77ed2=!0x1){const _0x5f1648=_0xae1692,_0xe04dba=this[_0x5f1648(0x1ea)][_0x5f1648(0x2ed)](_0x5f1648(0x19f));_0x1ce0c9['getSheetId']()!==_0xe04dba&&this[_0x5f1648(0x1ea)][_0x5f1648(0x321)](_0x5f1648(0x19f),_0x1ce0c9['getSheetId'](),_0x77ed2);}async[_0xae1692(0x24b)](_0x3c1165){const _0x132df6=_0xae1692;var _0x468903;const _0x55f9e1=this['_urlService'][_0x132df6(0x2ed)](_0x132df6(0x19f));if(!_0x55f9e1||!_0x3c1165[_0x132df6(0x322)](_0x55f9e1)){const _0x344e3c=_0x3c1165[_0x132df6(0x26d)]()[0x0],_0x10fddf=_0x3c1165[_0x132df6(0x322)](_0x344e3c);if(!_0x10fddf)return;this[_0x132df6(0x33f)](_0x10fddf,!0x0),await this[_0x132df6(0x30b)][_0x132df6(0x240)](_0x652c62['id'],{'unitId':_0x3c1165[_0x132df6(0x14f)](),'subUnitId':_0x344e3c});return;}((_0x468903=_0x3c1165['getActiveSheet']())==null?void 0x0:_0x468903[_0x132df6(0x2e4)]())!==_0x55f9e1&&await this[_0x132df6(0x30b)][_0x132df6(0x240)](_0x652c62['id'],{'unitId':_0x3c1165['getUnitId'](),'subUnitId':_0x55f9e1});}};ie=Ei([G(0x0,Ut),G(0x1,_0x477923),G(0x2,_0x525eed),G(0x3,_0x41baf4(_0x1698f9)),G(0x4,_0x5ae69f(_0x161a53))],ie);var Oi=Object[_0xae1692(0x285)],Ti=(_0x1c8481,_0x28f298,_0x4cb1e6,_0x5c9008)=>{const _0x210821=_0xae1692;for(var _0x1122da=_0x5c9008>0x1?void 0x0:_0x5c9008?Oi(_0x28f298,_0x4cb1e6):_0x28f298,_0x354a15=_0x1c8481[_0x210821(0x14d)]-0x1,_0x90d7ce;_0x354a15>=0x0;_0x354a15--)(_0x90d7ce=_0x1c8481[_0x354a15])&&(_0x1122da=_0x90d7ce(_0x1122da)||_0x1122da);return _0x1122da;},Ze=(_0x449d18,_0x474025)=>(_0x20a70f,_0x5bb1a0)=>_0x474025(_0x20a70f,_0x5bb1a0,_0x449d18);let Ne=class extends _0x4e0838{constructor(_0x1dcbe0,_0x4779a0){const _0x69aa8e=_0xae1692;super(),this[_0x69aa8e(0x168)]=_0x1dcbe0,this[_0x69aa8e(0x2ff)]=_0x4779a0,this[_0x69aa8e(0x159)]();}[_0xae1692(0x159)](){const _0x1212c5=_0xae1692,_0x11a676=this;this['disposeWithMe'](this[_0x1212c5(0x168)][_0x1212c5(0x220)]({'onBeforePasteImage':async _0x1162e3=>{const _0x1a2ccb=_0x1212c5,_0x3178fd=await _0x11a676[_0x1a2ccb(0x2ff)]['saveImage'](_0x1162e3);return _0x3178fd?{'source':_0x3178fd[_0x1a2ccb(0x19c)],'imageSourceType':_0x3178fd[_0x1a2ccb(0x28c)]}:null;}}));}};Ne=Ti([Ze(0x0,_0x5c3070),Ze(0x1,_0x438d61)],Ne);const Je=[_0xae1692(0x22c),'jiqing.500','green.600',_0xae1692(0x249),_0xae1692(0x14a),'yellow.400'];class He extends _0x285911{constructor(){const _0x458300=_0xae1692;super(...arguments),l(this,_0x458300(0x276),new Map()),l(this,_0x458300(0x243),0x0);}['assignAColorForMemberID'](_0x17c7fc){const _0x4f440b=_0xae1692;if(this[_0x4f440b(0x276)][_0x4f440b(0x182)](_0x17c7fc))return this[_0x4f440b(0x276)][_0x4f440b(0x29a)](_0x17c7fc);const _0x11905e=Je[this[_0x4f440b(0x243)]];return this[_0x4f440b(0x243)]=(this[_0x4f440b(0x243)]+0x1)%Je[_0x4f440b(0x14d)],this[_0x4f440b(0x276)]['set'](_0x17c7fc,_0x11905e),_0x11905e;}}function Mt(_0x283c41){let _0x1956b7='';for(const _0x2d8277 of _0x283c41){const {startOffset:_0x42fa67,endOffset:_0x514574,isActive:_0x4f2b06,rangeType:_0x3e0a47,segmentId:_0x37edf7,segmentPage:_0x13fe5c}=_0x2d8277;_0x1956b7['length']&&(_0x1956b7+=','),_0x1956b7+=_0x42fa67+':'+_0x514574+':'+(_0x4f2b06?'1':'0')+':'+_0x3e0a47+':'+_0x37edf7+':'+_0x13fe5c;}return _0x1956b7;}function pi(_0x145de0){const _0x120f95=_0xae1692,_0x7f50ef=_0x145de0['split'](','),_0x3a97ab=[];for(const _0x112cf9 of _0x7f50ef){const [_0x466c25,_0x39d61a,_0x3122a3,_0x3f6bfa,_0xd0687f,_0x1520c1]=_0x112cf9[_0x120f95(0x353)](':');_0x3a97ab[_0x120f95(0x1aa)]({'startOffset':Number(_0x466c25),'endOffset':Number(_0x39d61a),'collapsed':_0x466c25===_0x39d61a,'isActive':_0x3122a3==='1','rangeType':_0x3f6bfa===_0x2184c4[_0x120f95(0x2ce)]?_0x2184c4[_0x120f95(0x2ce)]:_0x2184c4[_0x120f95(0x14e)],'segmentId':typeof _0xd0687f==_0x120f95(0x1bc)?String(_0xd0687f):'','segmentPage':Number(_0x1520c1!=null?_0x1520c1:-0x1)});}return _0x3a97ab[_0x120f95(0x216)](_0x3c72e5=>_0x3c72e5[_0x120f95(0x275)])||(_0x3a97ab[0x0]['isActive']=!0x0),_0x3a97ab;}class Fe extends _0x4e0838{constructor(){const _0x1e4d61=_0xae1692;super(...arguments),l(this,_0x1e4d61(0x264),new _0x26a181(null)),l(this,_0x1e4d61(0x2d0),this[_0x1e4d61(0x264)][_0x1e4d61(0x305)]());}['syncEditingCollabCursor'](_0x559e86){const _0x312cec=_0xae1692,{unitID:_0x3b28b3,memberID:_0x3b4a08,textRanges:_0xdcf619}=_0x559e86,_0x4e38a6=Mt(_0xdcf619);if(_0x4e38a6==='')return;const _0x4fe5ba={'unitID':_0x3b28b3,'memberID':_0x3b4a08,'selection':_0x4e38a6};this['_collabCursorState$'][_0x312cec(0x300)](_0x4fe5ba);}}var Ci=Object[_0xae1692(0x285)],Ri=(_0x41d531,_0x46533c,_0xe9ca1b,_0xac6be2)=>{for(var _0x1eb33e=_0xac6be2>0x1?void 0x0:_0xac6be2?Ci(_0x46533c,_0xe9ca1b):_0x46533c,_0x42b61d=_0x41d531['length']-0x1,_0x4d7e6a;_0x42b61d>=0x0;_0x42b61d--)(_0x4d7e6a=_0x41d531[_0x42b61d])&&(_0x1eb33e=_0x4d7e6a(_0x1eb33e)||_0x1eb33e);return _0x1eb33e;},P=(_0x466051,_0x3fe1a3)=>(_0x4dc260,_0x14bccf)=>_0x3fe1a3(_0x4dc260,_0x14bccf,_0x466051);const Di=0x12c,bi=0x64;let Ue=class extends _0x4e0838{constructor(_0x1cab67,_0x9394f9,_0x10e2a7,_0x1864ca,_0x190284,_0x437eeb,_0x4c4417,_0x2328c7,_0x24824e){const _0x3df6e1=_0xae1692;super(),l(this,'_online',!0x1),l(this,_0x3df6e1(0x159),!0x1),l(this,_0x3df6e1(0x1cb),new _0x26a181(new Map())),l(this,_0x3df6e1(0x2bf),this[_0x3df6e1(0x1cb)][_0x3df6e1(0x305)]()),l(this,_0x3df6e1(0x150),new _0x26a181([])),l(this,_0x3df6e1(0x2cb),this[_0x3df6e1(0x150)][_0x3df6e1(0x1b7)](_0x105d78(Di))),l(this,'_updateLocalCursor',_0x3d64df(_0x225c76=>{const _0x193b78=_0x3df6e1,_0x40da65={'eventID':_0x2fb547[_0x193b78(0x2df)],'data':{'unitID':this['unitID'],'memberID':this[_0x193b78(0x244)][_0x193b78(0x1e8)](),'selection':Mt(_0x225c76)}};this[_0x193b78(0x244)]['send'](_0x40da65,this['unitID']);},bi)),(this['unitID']=_0x1cab67,this['_session']=_0x9394f9,this[_0x3df6e1(0x201)]=_0x10e2a7,this[_0x3df6e1(0x171)]=_0x1864ca,this['_memberService']=_0x190284,this['_syncEditingCollabCursorService']=_0x437eeb,this[_0x3df6e1(0x270)]=_0x4c4417,this['_univerInstanceService']=_0x2328c7,this['_commandService']=_0x24824e);}get[_0xae1692(0x1b4)](){const _0x4d047c=_0xae1692;return this[_0x4d047c(0x1cb)][_0x4d047c(0x33d)]();}get[_0xae1692(0x178)](){const _0x300096=_0xae1692;return this[_0x300096(0x150)][_0x300096(0x33d)]();}['dispose'](){const _0x514edd=_0xae1692;super[_0x514edd(0x197)](),this[_0x514edd(0x1cb)][_0x514edd(0x300)](new Map()),this['_cursorInfo$'][_0x514edd(0x1ad)](),this[_0x514edd(0x150)][_0x514edd(0x300)]([]),this[_0x514edd(0x150)][_0x514edd(0x1ad)]();}[_0xae1692(0x329)](){const _0x4a589d=_0xae1692;this[_0x4a589d(0x159)]||(this[_0x4a589d(0x159)]=!0x0,this['_session'][_0x4a589d(0x32d)][_0x4a589d(0x1b7)](_0x274acb(this['dispose$']))[_0x4a589d(0x2f6)](_0x23318d=>{const _0x4e4905=_0x4a589d;_0x23318d===_0x4a2ccd[_0x4e4905(0x22b)]?this[_0x4e4905(0x35c)]():this[_0x4e4905(0x153)]();}),this[_0x4a589d(0x244)][_0x4a589d(0x2fa)][_0x4a589d(0x1b7)](_0x274acb(this[_0x4a589d(0x1cd)]))[_0x4a589d(0x2f6)](_0x4b04dc=>{const _0x54e661=_0x4a589d,_0x3a076a=_0x4b04dc[_0x54e661(0x14c)];_0x3a076a===_0x2fb547['UPDATE_CURSOR']&&this[_0x54e661(0x279)](_0x4b04dc),_0x3a076a===_0x2fb547[_0x54e661(0x293)]&&this[_0x54e661(0x261)](_0x4b04dc);}),this[_0x4a589d(0x2b3)](this[_0x4a589d(0x30b)][_0x4a589d(0x306)](_0x4bc991=>{const _0x221742=_0x4a589d,_0x15679a=_0x4bc991['params'];_0x15679a!=null&&this[_0x221742(0x32e)]&&_0x4bc991['id']===_0x175600['id']&&_0x15679a[_0x221742(0x278)]===this['unitID']&&_0x15679a[_0x221742(0x1ca)]===!0x1&&_0x15679a[_0x221742(0x24f)]['length']>0x0&&this[_0x221742(0x310)](_0x15679a['ranges']);})),this[_0x4a589d(0x1b6)][_0x4a589d(0x2d0)][_0x4a589d(0x1b7)](_0x274acb(this[_0x4a589d(0x1cd)]))[_0x4a589d(0x2f6)](_0x4fddd4=>{const _0x1c75fd=_0x4a589d;if((_0x4fddd4==null?void 0x0:_0x4fddd4[_0x1c75fd(0x259)])!==this[_0x1c75fd(0x259)])return;const _0x5c897a={'eventID':_0x2fb547[_0x1c75fd(0x2df)],'data':_0x4fddd4};this['_onCursorUpdate'](_0x5c897a);}),this[_0x4a589d(0x2b3)](this[_0x4a589d(0x30b)]['onCommandExecuted'](_0x11c97e=>{const _0x34c79e=_0x4a589d;if(_0x11c97e[_0x34c79e(0x1a5)]==null)return;const _0xc9b5b9=_0x11c97e['params'];if(_0x11c97e['id']!==_0x2de756['id']||_0xc9b5b9[_0x34c79e(0x278)]!==this[_0x34c79e(0x259)])return;const _0x5e2c26={'id':_0x34c79e(0x16d),'params':_0xc9b5b9},_0x5f2b94=this[_0x34c79e(0x1b4)];for(const [_0x3e5ad2,_0xf2bf1b]of _0x5f2b94){const _0x2bf502={'id':_0x34c79e(0x16d),'params':{'unitId':this[_0x34c79e(0x259)],'actions':null,'textRanges':_0xf2bf1b['ranges']}},_0x49aec6=this[_0x34c79e(0x270)][_0x34c79e(0x185)](_0x5e2c26,_0x2bf502,!0x1);if(_0x1cb877(_0x49aec6))throw _0x49aec6['error'];_0x5f2b94['set'](_0x3e5ad2,{..._0xf2bf1b,'ranges':_0x49aec6[_0x34c79e(0x154)][_0x34c79e(0x1a5)][_0x34c79e(0x15c)]});}queueMicrotask(()=>{const _0x4fd080=_0x34c79e;this[_0x4fd080(0x1cb)][_0x4fd080(0x300)](_0x5f2b94);});})));}[_0xae1692(0x279)](_0x4de77c){const _0x1d386a=_0xae1692;var _0x120268,_0x1c8235;const {memberID:_0x41abd2,selection:_0x3fbe4a}=_0x4de77c[_0x1d386a(0x205)],_0x58b52c=pi(_0x3fbe4a),_0x4fc822=(_0x1c8235=(_0x120268=this[_0x1d386a(0x22e)][_0x1d386a(0x265)](this['unitID'],_0x41abd2))==null?void 0x0:_0x120268['name'])!=null?_0x1c8235:_0x1d386a(0x1d7),_0x4041a2={'color':this['_colorAssignService'][_0x1d386a(0x2cc)](_0x41abd2),'name':_0x4fc822,'ranges':_0x58b52c},_0x12871e=this[_0x1d386a(0x1b4)];_0x12871e[_0x1d386a(0x1f0)](_0x41abd2,_0x4041a2),this[_0x1d386a(0x1cb)][_0x1d386a(0x300)](_0x12871e);}[_0xae1692(0x261)](_0x59f7ab){const _0x32f59b=_0xae1692,{memberID:_0x2b50cb}=_0x59f7ab['data'],_0x5eb8d9=this[_0x32f59b(0x1b4)];_0x5eb8d9['delete'](_0x2b50cb),this[_0x32f59b(0x1cb)][_0x32f59b(0x300)](_0x5eb8d9);}['_toggleOnline'](){const _0xf4ead2=_0xae1692;var _0x103a0a;if(this['_online']=!0x0,((_0x103a0a=this[_0xf4ead2(0x339)][_0xf4ead2(0x34e)]())==null?void 0x0:_0x103a0a['getUnitId']())!==this[_0xf4ead2(0x259)])return;const _0x3b3c0=this[_0xf4ead2(0x201)]['get'](_0x3f18d4)[_0xf4ead2(0x2b6)]();Array[_0xf4ead2(0x16c)](_0x3b3c0)&&_0x3b3c0[_0xf4ead2(0x14d)]>0x0&&this[_0xf4ead2(0x310)](_0x3b3c0);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=Ri([P(0x2,_0x41baf4(_0x2481c0)),P(0x3,_0x41baf4(He)),P(0x4,_0x41baf4(_0x5c3af9)),P(0x5,_0x41baf4(Fe)),P(0x6,_0x52b1fd),P(0x7,_0x3b348f),P(0x8,_0x525eed)],Ue);var Ni=Object[_0xae1692(0x285)],Ui=(_0xfd59d7,_0x4eec24,_0xb2c08e,_0x4f5077)=>{for(var _0x242f2c=_0x4f5077>0x1?void 0x0:_0x4f5077?Ni(_0x4eec24,_0xb2c08e):_0x4eec24,_0x2f9c3c=_0xfd59d7['length']-0x1,_0x2abd64;_0x2f9c3c>=0x0;_0x2f9c3c--)(_0x2abd64=_0xfd59d7[_0x2f9c3c])&&(_0x242f2c=_0x2abd64(_0x242f2c)||_0x242f2c);return _0x242f2c;},x=(_0x23ad93,_0x508ebd)=>(_0x272419,_0x2f2f1b)=>_0x508ebd(_0x272419,_0x2f2f1b,_0x23ad93);const Mi=0x12c,Li=0x64,Pi=()=>{let _0xf88236=[],_0x41ce3b=!0x1;return _0x34aad1=>{_0xf88236['push'](_0x34aad1),_0x41ce3b||(_0x41ce3b=!0x0,setTimeout(()=>{const _0x222c7a=_0x17f3;_0xf88236[_0x222c7a(0x174)](_0xb29af3=>_0xb29af3()),_0xf88236=[],_0x41ce3b=!0x1;}));};};let Me=class extends _0x4e0838{constructor(_0x410ffa,_0x300b95,_0x7b00d7,_0x54bbbf,_0x277f9d,_0xb71233,_0x52d318,_0x346682){const _0x3737dd=_0xae1692;super(),l(this,_0x3737dd(0x32e),!0x1),l(this,_0x3737dd(0x159),!0x1),l(this,_0x3737dd(0x1cb),new _0x26a181(new Map())),l(this,_0x3737dd(0x2bf),this[_0x3737dd(0x1cb)]['asObservable']()),l(this,_0x3737dd(0x150),new _0x26a181([])),l(this,_0x3737dd(0x2cb),this['_roomMembers$']['pipe'](_0x105d78(Mi))),l(this,'_updateLocalCursor',_0x3d64df((_0x5c1cb1,_0x500e40)=>{const _0x48d32a=_0x3737dd,_0x3ad0e2={'eventID':_0x2fb547['UPDATE_CURSOR'],'data':{'unitID':this[_0x48d32a(0x259)],'memberID':this[_0x48d32a(0x244)]['getMemberID'](),'selection':_0x53672e(_0x5c1cb1,_0x500e40[_0x48d32a(0x191)])}};this[_0x48d32a(0x244)][_0x48d32a(0x1be)](_0x3ad0e2,this[_0x48d32a(0x259)]);},Li)),(this[_0x3737dd(0x259)]=_0x410ffa,this['_session']=_0x300b95,this[_0x3737dd(0x201)]=_0x7b00d7,this[_0x3737dd(0x171)]=_0x54bbbf,this['_memberService']=_0x277f9d,this[_0x3737dd(0x339)]=_0xb71233,this[_0x3737dd(0x30b)]=_0x52d318,this[_0x3737dd(0x338)]=_0x346682);}get['cursorInfo'](){const _0x5788a3=_0xae1692;return this[_0x5788a3(0x1cb)][_0x5788a3(0x33d)]();}get['roomMembers'](){const _0x965ba0=_0xae1692;return this[_0x965ba0(0x150)]['getValue']();}[_0xae1692(0x197)](){const _0x42d3a2=_0xae1692;super[_0x42d3a2(0x197)](),this[_0x42d3a2(0x1cb)]['next'](new Map()),this[_0x42d3a2(0x1cb)]['complete'](),this[_0x42d3a2(0x150)][_0x42d3a2(0x300)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x65f0d5=_0xae1692;this['_init']||(this[_0x65f0d5(0x159)]=!0x0,this['_session'][_0x65f0d5(0x32d)][_0x65f0d5(0x1b7)](_0x274acb(this['dispose$']))[_0x65f0d5(0x2f6)](_0x90cdfc=>{const _0x3b7272=_0x65f0d5;_0x90cdfc===_0x4a2ccd[_0x3b7272(0x22b)]?this[_0x3b7272(0x35c)]():this['_toggleOffline']();}),this[_0x65f0d5(0x244)][_0x65f0d5(0x2fa)][_0x65f0d5(0x1b7)](_0x274acb(this[_0x65f0d5(0x1cd)]))['subscribe'](_0x47ce28=>{const _0xd9ac5=_0x65f0d5,_0x43be43=_0x47ce28['eventID'];_0x43be43===_0x2fb547[_0xd9ac5(0x2df)]&&this[_0xd9ac5(0x279)](_0x47ce28),_0x43be43===_0x2fb547[_0xd9ac5(0x293)]&&this[_0xd9ac5(0x261)](_0x47ce28);}),this[_0x65f0d5(0x1ab)](),this[_0x65f0d5(0x2b3)](this[_0x65f0d5(0x30b)][_0x65f0d5(0x306)](_0x5ab09a=>{const _0x201e8b=_0x65f0d5;if(this[_0x201e8b(0x32e)]&&_0x5ab09a['id']===_0x17e241['id']&&_0x5ab09a[_0x201e8b(0x1a5)]['unitId']===this[_0x201e8b(0x259)]){const _0x371f2c=_0x5ab09a[_0x201e8b(0x1a5)];this['_updateLocalCursor'](_0x371f2c['subUnitId'],_0x371f2c['selections'][0x0]);}})));}[_0xae1692(0x279)](_0x2afc63){const _0x5c4d0b=_0xae1692;var _0x294182,_0x1506dd;const {memberID:_0xa8f206,selection:_0x51ab04}=_0x2afc63[_0x5c4d0b(0x205)],{sheetName:_0x2aef47,range:_0x3852b9}=_0x2cb0e6(_0x51ab04),_0x4d3553={'name':(_0x1506dd=(_0x294182=this[_0x5c4d0b(0x22e)][_0x5c4d0b(0x265)](this[_0x5c4d0b(0x259)],_0xa8f206))==null?void 0x0:_0x294182['name'])!=null?_0x1506dd:_0x5c4d0b(0x1d7),'range':this[_0x5c4d0b(0x1f8)](_0x2aef47,_0x3852b9),'sheetID':_0x2aef47,'color':this[_0x5c4d0b(0x171)]['assignAColorForMemberID'](_0xa8f206),'selection':_0x51ab04},_0x2a75e7=this['cursorInfo'];_0x2a75e7[_0x5c4d0b(0x1f0)](_0xa8f206,_0x4d3553),this['_cursorInfo$']['next'](_0x2a75e7);}[_0xae1692(0x261)](_0x459bb4){const _0x58cb98=_0xae1692,{memberID:_0x375040}=_0x459bb4[_0x58cb98(0x205)],_0x5215fb=this[_0x58cb98(0x1b4)];_0x5215fb['delete'](_0x375040),this['_cursorInfo$'][_0x58cb98(0x300)](_0x5215fb);}[_0xae1692(0x1f8)](_0x21d7f4,_0x29b7bd){const _0x1e2ba1=_0xae1692;var _0x1dc74a,_0x518d09;const _0x579905=(_0x518d09=(_0x1dc74a=this[_0x1e2ba1(0x339)][_0x1e2ba1(0x2e9)](this['unitID']))==null?void 0x0:_0x1dc74a['getSheetBySheetId'](_0x21d7f4))==null?void 0x0:_0x518d09[_0x1e2ba1(0x337)]();return(_0x579905==null?void 0x0:_0x579905[_0x1e2ba1(0x35b)](_0x575e7c=>_0x48a47e['contains'](_0x575e7c,_0x29b7bd)))||_0x29b7bd;}[_0xae1692(0x1ab)](){const _0x5877b1=_0xae1692,_0x403072=new _0x559b77(),_0x301504=Pi(),_0x18cc9c=()=>{const _0x41bbeb=_0x17f3;_0x403072[_0x41bbeb(0x197)]();const _0x3f6dbb=(_0x547f0d,_0x4509bc,_0x309a8f,_0x3479ae)=>{const _0x14ac64=_0x41bbeb;let _0x4c8a04=[];switch(_0x547f0d['id']){case _0x1b05b9['DeleteRangeMoveLeftCommandId']:{_0x4c8a04=_0x1b7e25(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x282)]:{_0x4c8a04=_0x41c12a(_0x547f0d,_0x3479ae);break;}case _0x1b05b9['InsertColCommandId']:{_0x4c8a04=_0x591e95(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x1eb)]:{_0x4c8a04=_0x33203a(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x15d)]:{_0x4c8a04=_0x3f6752(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x2d1)]:{_0x4c8a04=_0x2c7945(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x29c)]:{_0x4c8a04=_0x3291ee(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x1a2)]:{_0x4c8a04=_0x19514c(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x192)]:{_0x4c8a04=_0x28cfdb(_0x547f0d,_0x3479ae);break;}}const _0x1f8ac7=_0x4e7347(_0x4c8a04,_0x3479ae),_0x4b3d89=this['cursorInfo'][_0x14ac64(0x29a)](_0x4509bc);if(_0x4b3d89&&_0x1f8ac7){const _0x2ddd42={..._0x4b3d89,'range':_0x1f8ac7};this[_0x14ac64(0x1b4)][_0x14ac64(0x1f0)](_0x4509bc,_0x2ddd42),_0x301504(()=>{const _0x4cbdb6=this['_refRangeService']['registerRefRange'](_0x1f8ac7,_0x475513=>(_0x4cbdb6['dispose'](),_0x3f6dbb(_0x475513,_0x4509bc,_0x309a8f,_0x1f8ac7)));_0x403072['add'](_0x4cbdb6);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x41bbeb(0x174)]((_0x44f7e2,_0x142585)=>{const _0x568817=_0x41bbeb,{range:_0x1ca39d,sheetID:_0x400d4f}=_0x44f7e2,_0x1205ca=this[_0x568817(0x338)][_0x568817(0x1ba)](_0x1ca39d,_0x345688=>(_0x1205ca[_0x568817(0x197)](),_0x3f6dbb(_0x345688,_0x142585,_0x400d4f,_0x1ca39d)));_0x403072[_0x568817(0x1dd)](_0x1205ca);});};this[_0x5877b1(0x2b3)](_0x4a6403(this[_0x5877b1(0x1cb)]['subscribe'](()=>{_0x18cc9c();})));}[_0xae1692(0x35c)](){const _0x5a774b=_0xae1692;var _0x56e483,_0x9ead53;if(this[_0x5a774b(0x32e)]=!0x0,((_0x56e483=this[_0x5a774b(0x339)][_0x5a774b(0x34e)]())==null?void 0x0:_0x56e483[_0x5a774b(0x14f)]())!==this['unitID'])return;const _0x3cf455=(_0x9ead53=this[_0x5a774b(0x201)][_0x5a774b(0x29a)](_0x5a8983)[_0x5a774b(0x2d5)]())==null?void 0x0:_0x9ead53[0x0],_0x44ba43=this[_0x5a774b(0x339)]['getCurrentUnitForType'](_0x55fb2c[_0x5a774b(0x2cd)])['getActiveSheet']();_0x3cf455&&_0x44ba43&&this[_0x5a774b(0x310)](_0x44ba43[_0x5a774b(0x2e4)](),_0x3cf455);}[_0xae1692(0x153)](){const _0x5caca0=_0xae1692;this[_0x5caca0(0x32e)]=!0x1;}};Me=Ui([x(0x2,_0x41baf4(_0x2481c0)),x(0x3,_0x41baf4(He)),x(0x4,_0x41baf4(_0x5c3af9)),x(0x5,_0x3b348f),x(0x6,_0x525eed),x(0x7,_0x41baf4(_0x3a5d02))],Me);var Ai=Object['getOwnPropertyDescriptor'],wi=(_0x3a767f,_0x1a2e5a,_0x5b1a2f,_0x518c00)=>{for(var _0x4df828=_0x518c00>0x1?void 0x0:_0x518c00?Ai(_0x1a2e5a,_0x5b1a2f):_0x1a2e5a,_0x4125b6=_0x3a767f['length']-0x1,_0x5db597;_0x4125b6>=0x0;_0x4125b6--)(_0x5db597=_0x3a767f[_0x4125b6])&&(_0x4df828=_0x5db597(_0x4df828)||_0x4df828);return _0x4df828;},Se=(_0x67deda,_0x3b66e3)=>(_0x3464ca,_0x5bb456)=>_0x3b66e3(_0x3464ca,_0x5bb456,_0x67deda);let F=class extends _0x4e0838{constructor(_0x1496e9,_0x5aaa12,_0x43b729){const _0x528499=_0xae1692;super(),l(this,_0x528499(0x363),new Map()),l(this,_0x528499(0x31a),new _0x5b31e9()),(this[_0x528499(0x339)]=_0x1496e9,this[_0x528499(0x201)]=_0x5aaa12,this['_collabSessionService']=_0x43b729,this[_0x528499(0x159)]());}['dispose'](){const _0x2f2f37=_0xae1692;super[_0x2f2f37(0x197)](),this[_0x2f2f37(0x31a)][_0x2f2f37(0x1ad)](),this['_entities'][_0x2f2f37(0x174)](_0x40ed7e=>_0x40ed7e['dispose']());}[_0xae1692(0x183)](_0xb7f252){const _0x282ab1=_0xae1692;return this['_entities'][_0x282ab1(0x182)](_0xb7f252)?this[_0x282ab1(0x363)]['get'](_0xb7f252)['cursorInfo$']:this[_0x282ab1(0x31a)]['pipe'](_0x24f236(_0x181276=>_0x181276[_0x282ab1(0x259)]===_0xb7f252),_0x463315(_0x169c80=>_0x169c80[_0x282ab1(0x2bf)]));}[_0xae1692(0x159)](){const _0x23c9af=_0xae1692;this['_univerInstanceService'][_0x23c9af(0x218)](_0x55fb2c[_0x23c9af(0x2cd)])['pipe'](_0x274acb(this['dispose$']))[_0x23c9af(0x2f6)](async _0x413001=>{const _0x2e4393=_0x23c9af,_0x25efeb=_0x413001[_0x2e4393(0x14f)](),_0x3df663=await this[_0x2e4393(0x17b)](_0x25efeb);this['_entityInit$']['next'](_0x3df663),this[_0x2e4393(0x363)][_0x2e4393(0x1f0)](_0x25efeb,_0x3df663);}),this['_univerInstanceService'][_0x23c9af(0x218)](_0x55fb2c[_0x23c9af(0x233)])[_0x23c9af(0x1b7)](_0x274acb(this[_0x23c9af(0x1cd)]))['pipe'](_0x24f236(_0x588ff1=>!_0x588ff1[_0x23c9af(0x14f)]()['startsWith']('__')))['subscribe'](async _0x38b1b5=>{const _0x82e162=_0x23c9af,_0x36bd44=_0x38b1b5[_0x82e162(0x14f)](),_0x3cf47e=await this[_0x82e162(0x298)](_0x36bd44);this[_0x82e162(0x31a)][_0x82e162(0x300)](_0x3cf47e),this[_0x82e162(0x363)][_0x82e162(0x1f0)](_0x36bd44,_0x3cf47e);}),_0x5d4cd9(this['_univerInstanceService'][_0x23c9af(0x1df)](_0x55fb2c[_0x23c9af(0x233)]),this[_0x23c9af(0x339)]['getTypeOfUnitDisposed$'](_0x55fb2c[_0x23c9af(0x2cd)]))[_0x23c9af(0x1b7)](_0x274acb(this[_0x23c9af(0x1cd)]))[_0x23c9af(0x2f6)](_0x2805d4=>{const _0x375850=_0x23c9af,_0x33481a=_0x2805d4[_0x375850(0x14f)](),_0x3d1a14=this['_entities'][_0x375850(0x29a)](_0x33481a);_0x3d1a14&&(_0x3d1a14[_0x375850(0x197)](),this['_entities'][_0x375850(0x29b)](_0x33481a));});}async[_0xae1692(0x17b)](_0x42a341){const _0x452384=_0xae1692,_0x2e206f=await this['_collabSessionService']['requireSession'](_0x42a341),_0x4d6dc7=this['_injector'][_0x452384(0x334)](Me,_0x42a341,_0x2e206f);return _0x4d6dc7[_0x452384(0x329)](),_0x4d6dc7;}async[_0xae1692(0x298)](_0x586761){const _0x1761f5=_0xae1692,_0x46dcda=await this[_0x1761f5(0x354)][_0x1761f5(0x29e)](_0x586761),_0x15c1ce=this['_injector'][_0x1761f5(0x334)](Ue,_0x586761,_0x46dcda);return _0x15c1ce['init'](),_0x15c1ce;}};F=wi([Se(0x0,_0x3b348f),Se(0x1,_0x41baf4(_0x2481c0)),Se(0x2,_0x41baf4(_0x53214a))],F);function _0x17f3(_0xb41cac,_0x52b88d){const _0x1afe81=_0x1afe();return _0x17f3=function(_0x17f3bf,_0x35e7d4){_0x17f3bf=_0x17f3bf-0x143;let _0x27e560=_0x1afe81[_0x17f3bf];return _0x27e560;},_0x17f3(_0xb41cac,_0x52b88d);}const Z=0x14,Qe=0xc8,me=0x4,yi=0x5;function $i(_0x1b47cb,_0x359ad4){const _0x2800d5=_0xae1692;let {radius:_0x28a5fc,width:_0x3a2feb,height:_0x1b9e25}=_0x359ad4;_0x28a5fc=_0x28a5fc!=null?_0x28a5fc:0x0,_0x3a2feb=_0x3a2feb!=null?_0x3a2feb:0x1e,_0x1b9e25=_0x1b9e25!=null?_0x1b9e25:0x1e;let _0x19b8e0=0x0,_0x26847d=0x0,_0x44a07e=0x0;_0x19b8e0=_0x26847d=_0x44a07e=Math[_0x2800d5(0x21c)](_0x28a5fc,_0x3a2feb/0x2,_0x1b9e25/0x2),_0x1b47cb[_0x2800d5(0x17f)](),_0x1b47cb[_0x2800d5(0x24d)](_0x19b8e0,0x0),_0x1b47cb[_0x2800d5(0x36a)](_0x3a2feb-_0x26847d,0x0),_0x1b47cb['arc'](_0x3a2feb-_0x26847d,_0x26847d,_0x26847d,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b47cb[_0x2800d5(0x36a)](_0x3a2feb,_0x1b9e25-_0x44a07e),_0x1b47cb['arc'](_0x3a2feb-_0x44a07e,_0x1b9e25-_0x44a07e,_0x44a07e,0x0,Math['PI']/0x2,!0x1),_0x1b47cb[_0x2800d5(0x36a)](0x0,_0x1b9e25),_0x1b47cb[_0x2800d5(0x36a)](0x0,_0x19b8e0),_0x1b47cb[_0x2800d5(0x1de)](_0x19b8e0,_0x19b8e0,_0x19b8e0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b47cb[_0x2800d5(0x1b3)](),_0x359ad4['fill']&&(_0x1b47cb[_0x2800d5(0x1e3)](),_0x1b47cb[_0x2800d5(0x304)]=_0x359ad4[_0x2800d5(0x35d)],_0x359ad4[_0x2800d5(0x288)]===_0x2800d5(0x247)?_0x1b47cb[_0x2800d5(0x35d)](_0x2800d5(0x247)):_0x1b47cb[_0x2800d5(0x35d)](),_0x1b47cb[_0x2800d5(0x175)]());}class ue extends _0x5a7424{constructor(_0x4bb0ac,_0xdc4028){const _0x15750e=_0xae1692;super(_0x4bb0ac,_0xdc4028),l(this,_0x15750e(0x292)),l(this,_0x15750e(0x2b7)),(this[_0x15750e(0x292)]=_0xdc4028==null?void 0x0:_0xdc4028['color'],this[_0x15750e(0x2b7)]=_0xdc4028==null?void 0x0:_0xdc4028[_0x15750e(0x2b7)]);}static['drawWith'](_0x39b20e,_0x34f04d){const _0x399656=_0xae1692,{text:_0x25b119,color:_0x471775}=_0x34f04d;_0x39b20e[_0x399656(0x1e3)](),_0x39b20e[_0x399656(0x2c6)]=_0x399656(0x2de);const _0x504841=_0x39b20e[_0x399656(0x19b)](_0x25b119)[_0x399656(0x340)],_0x321bb7=Math[_0x399656(0x21c)](_0x504841+0x2*me,Qe);$i(_0x39b20e,{'height':Z,'radius':0x4,'width':_0x321bb7,'fill':_0x471775}),_0x39b20e[_0x399656(0x304)]=_0x399656(0x1c8);const _0x5374bd=me,_0x577aad=Z-yi,_0x354be4=Qe-0x2*me;if(_0x504841>_0x354be4){let _0x47dfab='',_0x361554=0x0;for(const _0x379ac9 of _0x25b119){const _0x1aafe9=_0x39b20e[_0x399656(0x19b)](_0x379ac9)[_0x399656(0x340)];if(_0x361554+_0x1aafe9<=_0x354be4-_0x39b20e['measureText']('...')[_0x399656(0x340)])_0x47dfab+=_0x379ac9,_0x361554+=_0x1aafe9;else{_0x47dfab+=_0x399656(0x32a);break;}}_0x39b20e['fillText'](_0x47dfab,_0x5374bd,_0x577aad);}else _0x39b20e[_0x399656(0x1cc)](_0x25b119,_0x5374bd,_0x577aad);_0x39b20e['restore']();}['_draw'](_0x5bd53e){ue['drawWith'](_0x5bd53e,this);}}const ve=_0xae1692(0x2f7),xi='collab-text-range-',Bi=_0xae1692(0x221),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0xae1692(0x2db);class qe{constructor(_0x2ce6a9,_0xfc425e,_0x4af48a,_0x1b1cf6){const _0x1026f5=_0xae1692;l(this,_0x1026f5(0x1ce),[]),l(this,'_anchor',null),l(this,_0x1026f5(0x1ff),null),l(this,'_anchorDot',null),l(this,_0x1026f5(0x235),null),l(this,_0x1026f5(0x19e),null),(this[_0x1026f5(0x35f)]=_0x2ce6a9,this[_0x1026f5(0x23f)]=_0xfc425e,this[_0x1026f5(0x2ec)]=_0x4af48a,this[_0x1026f5(0x222)]=_0x1b1cf6,this[_0x1026f5(0x35a)]());}set[_0xae1692(0x266)](_0x3e73d3){const _0x21a017=_0xae1692;_0x3e73d3?(this[_0x21a017(0x30d)]&&this['_anchorDot'][_0x21a017(0x1fd)](),this[_0x21a017(0x1ff)]&&this['_textBubble'][_0x21a017(0x27b)]()):(this[_0x21a017(0x30d)]&&this[_0x21a017(0x30d)][_0x21a017(0x27b)](),this[_0x21a017(0x1ff)]&&this['_textBubble'][_0x21a017(0x1fd)]());}[_0xae1692(0x197)](){const _0x404567=_0xae1692;for(const _0x38531a of this[_0x404567(0x1ce)])_0x38531a[_0x404567(0x197)]();this['_textBubble']&&this[_0x404567(0x1ff)][_0x404567(0x197)](),this[_0x404567(0x30d)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this['_anchor'][_0x404567(0x197)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x10a929=_0xae1692;var _0x457ee7;const {_docSkeleton:_0x544e57,_document:_0x2a9585}=this,{color:_0x189013,name:_0x23f3ea,ranges:_0x3f07e7}=this[_0x10a929(0x35f)],_0x2b9e38=_0x2a9585[_0x10a929(0x24e)](),{docsLeft:_0x1a4fcf,docsTop:_0x591d29}=_0x2b9e38,_0x1d5b35=new _0x46e6e8(_0x2b9e38,_0x544e57);for(const {startOffset:_0x1f04f8,endOffset:_0x134db6,rangeType:_0x599219,segmentId:_0x1a02ac,segmentPage:_0xeaceae,collapsed:_0x5d67c9,isActive:_0x476d41}of _0x3f07e7){const _0x1ff23d=_0x544e57['findNodePositionByCharIndex'](_0x1f04f8,!0x0,_0x1a02ac,_0xeaceae);let _0x43ca23=_0x544e57['findNodePositionByCharIndex'](_0x134db6,!0x0,_0x1a02ac,_0xeaceae);if(_0x43ca23==null&&(_0x43ca23=_0x544e57[_0x10a929(0x34a)](_0x134db6-0x1,!0x1,_0x1a02ac,_0xeaceae)),_0x476d41){const {contentBoxPointGroup:_0x445b8b}=_0x1d5b35[_0x10a929(0x34d)](_0x43ca23,_0x43ca23);if(_0x445b8b[_0x10a929(0x14d)]===0x0)continue;this[_0x10a929(0x196)](_0x189013,_0x445b8b,_0x1a4fcf,_0x591d29,_0x23f3ea),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x1ff23d&&_0x43ca23){if(_0x599219===_0x2184c4[_0x10a929(0x14e)]){const _0x34537d=new _0x1b6bce(_0x2b9e38,_0x544e57),{pointGroup:_0xd13f78}=(_0x457ee7=_0x34537d[_0x10a929(0x34d)](_0x1ff23d,_0x43ca23))!=null?_0x457ee7:{};if(_0xd13f78==null||_0xd13f78['length']===0x0)continue;this[_0x10a929(0x1ae)](_0x189013,_0xd13f78,_0x1a4fcf,_0x591d29);}else{if(!_0x5d67c9){const {borderBoxPointGroup:_0x18a2f5}=_0x1d5b35[_0x10a929(0x34d)](_0x1ff23d,_0x43ca23);if(_0x18a2f5[_0x10a929(0x14d)]===0x0)continue;this['_drawTextRange'](_0x189013,_0x18a2f5,_0x1a4fcf,_0x591d29);}}}}}['_drawAnchor'](_0x1b308f,_0x5bda30,_0x3c7673,_0x4a1214,_0x31b469){const _0x5616f7=_0xae1692,_0x4deef1=this['_getAnchorBounding'](_0x5bda30),{left:_0x131972,top:_0x13c6d9,height:_0x26af98}=_0x4deef1,_0x45cdb9=this[_0x5616f7(0x15e)](),_0x5413fe=Hi/_0x45cdb9,_0xd2328e=new _0x43d74a(ve+_0x37ff84(K),{'left':_0x131972+_0x3c7673-_0x5413fe,'top':_0x13c6d9+_0x4a1214,'height':_0x26af98,'width':ki,'fill':_0x1b308f||_0x405ef5(_0x206d73['black'],0x0),'strokeWidth':_0x5413fe,'stroke':Fi,'evented':!0x0});this[_0x5616f7(0x277)]=_0xd2328e,this[_0x5616f7(0x23f)][_0x5616f7(0x2e3)](_0xd2328e,_0x4142fe);const _0x2f3a98=new _0x43d74a(ve+_0x37ff84(K),{'left':_0x131972+_0x3c7673-_0x5413fe,'top':_0x13c6d9+_0x4a1214-ge/0x2,'height':ge,'width':ge,'fill':_0x1b308f||_0x405ef5(_0x206d73[_0x5616f7(0x15b)],0x0),'strokeWidth':0x0,'stroke':_0x1b308f||_0x405ef5(_0x206d73[_0x5616f7(0x15b)],0x0),'evented':!0x1});this[_0x5616f7(0x30d)]=_0x2f3a98,this[_0x5616f7(0x23f)][_0x5616f7(0x2e3)](_0x2f3a98,_0x4142fe);const _0x2cee05=new ue(ve+_0x37ff84(K),{'left':_0x131972+_0x3c7673-_0x5413fe,'top':_0x13c6d9+_0x4a1214-Z,'text':_0x31b469,'color':_0x1b308f});this[_0x5616f7(0x1ff)]=_0x2cee05,this[_0x5616f7(0x23f)]['addObject'](_0x2cee05,_0x4142fe),this['_hover']=!0x1;}['_handleHover'](){const _0x5e0815=_0xae1692,_0x1d8308=this[_0x5e0815(0x277)]['onPointerEnter$'][_0x5e0815(0x253)](()=>{const _0x3876d2=_0x5e0815;this[_0x3876d2(0x266)]=!0x0;}),_0x2ed265=this[_0x5e0815(0x277)]['onPointerLeave$'][_0x5e0815(0x253)](()=>{const _0x3c0f51=_0x5e0815;this[_0x3c0f51(0x235)]&&clearTimeout(this[_0x3c0f51(0x235)]),this['_hideTimer']=setTimeout(()=>{const _0x1808c8=_0x3c0f51;this[_0x1808c8(0x266)]=!0x1;},0x7d0);});return()=>{const _0xcf0039=_0x5e0815;_0x1d8308[_0xcf0039(0x2f5)](),_0x2ed265['unsubscribe']();};}[_0xae1692(0x27f)](_0x40882e,_0x5794d8,_0x4c6411,_0x531bf1){const _0x3a2022=_0xae1692,_0xb7bae5=new _0x2a0311(_0x40882e)[_0x3a2022(0x31b)](0.2)[_0x3a2022(0x27e)](),_0x164ee3=new _0x5765e2(xi+_0x37ff84(K),{'pointsGroup':_0x5794d8,'fill':_0xb7bae5||_0x405ef5(_0x206d73[_0x3a2022(0x15b)],0.2),'left':_0x4c6411,'top':_0x531bf1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3a2022(0x1ce)]['push'](_0x164ee3),this[_0x3a2022(0x23f)]['addObject'](_0x164ee3,_0x4142fe);}['_drawRectRange'](_0x6e4932,_0x5dfe1b,_0x4fae91,_0xbe5f38){const _0x54a0a2=_0xae1692,_0x1657fe=new _0x2a0311(_0x6e4932)[_0x54a0a2(0x31b)](0.2)[_0x54a0a2(0x27e)](),_0x332e5e=new _0x5765e2(Bi+_0x37ff84(K),{'pointsGroup':_0x5dfe1b,'fill':_0x1657fe||_0x405ef5(_0x206d73[_0x54a0a2(0x15b)],0.2),'left':_0x4fae91,'top':_0xbe5f38,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x54a0a2(0x1ce)][_0x54a0a2(0x1aa)](_0x332e5e),this['_scene'][_0x54a0a2(0x2e3)](_0x332e5e,_0x4142fe);}[_0xae1692(0x2dc)](_0x3b7a5d){const _0x35b75f=_0x3b7a5d[0x0],_0x2d9fd1=_0x35b75f[0x0],_0x214e8b=_0x35b75f[0x2],{x:_0x241c7d,y:_0xb98982}=_0x2d9fd1,{x:_0x4c4a07,y:_0x6da719}=_0x214e8b;return{'left':_0x241c7d,'top':_0xb98982,'width':_0x4c4a07-_0x241c7d,'height':_0x6da719-_0xb98982};}['_getScale'](){const _0x266205=_0xae1692,{scaleX:_0x582a95,scaleY:_0x51b39d}=this['_scene'][_0x266205(0x2fd)]();return Math[_0x266205(0x350)](_0x582a95,_0x51b39d);}}var Yi=Object[_0xae1692(0x285)],Vi=(_0x368c19,_0x810aa5,_0x296089,_0x48840a)=>{for(var _0x42c07c=_0x48840a>0x1?void 0x0:_0x48840a?Yi(_0x810aa5,_0x296089):_0x810aa5,_0x2b11a8=_0x368c19['length']-0x1,_0x3ef558;_0x2b11a8>=0x0;_0x2b11a8--)(_0x3ef558=_0x368c19[_0x2b11a8])&&(_0x42c07c=_0x3ef558(_0x42c07c)||_0x42c07c);return _0x42c07c;},ee=(_0x338042,_0x3081f0)=>(_0x4b3ecf,_0x18d552)=>_0x3081f0(_0x4b3ecf,_0x18d552,_0x338042);let Le=class extends _0x4e0838{constructor(_0x2dbeb4,_0xfa9f3d,_0x45e90c,_0xbfe4eb,_0x5a7d81){const _0x5832a5=_0xae1692;super(),l(this,_0x5832a5(0x1c4),[]),l(this,'_cursors',[]),(this[_0x5832a5(0x2f4)]=_0x2dbeb4,this['_docSkeletonManagerService']=_0xfa9f3d,this[_0x5832a5(0x2d8)]=_0x45e90c,this[_0x5832a5(0x30b)]=_0xbfe4eb,this['_themeService']=_0x5a7d81,this[_0x5832a5(0x159)]());}[_0xae1692(0x159)](){const _0x52d455=_0xae1692,_0x37c40c=this[_0x52d455(0x2f4)]['unitId'],_0x41fc38=this[_0x52d455(0x2da)];this[_0x52d455(0x2b3)](_0x33840b([this[_0x52d455(0x2d8)][_0x52d455(0x183)](_0x37c40c),this['_themeService'][_0x52d455(0x1e2)]])[_0x52d455(0x1b7)](_0x5952eb(([_0x5542b4,_0x118392])=>({'skeleton':_0x41fc38[_0x52d455(0x18c)](),'cursors':[..._0x5542b4[_0x52d455(0x16b)]()]['flatMap'](_0x2ca7d6=>({..._0x2ca7d6,'color':this[_0x52d455(0x241)][_0x52d455(0x2c8)](_0x2ca7d6['color'])}))})))[_0x52d455(0x2f6)](_0x317fc8=>{const _0x28e9c6=_0x52d455;if(this[_0x28e9c6(0x252)](),_0x317fc8){const {skeleton:_0x542045,cursors:_0x38eb46}=_0x317fc8;this['_updateCollabCursors'](_0x542045,_0x38eb46);}})),this[_0x52d455(0x36b)](),this[_0x52d455(0x333)]();}[_0xae1692(0x2c2)](_0x54072a,_0xb786a8){const _0x4ee32f=_0xae1692,{scene:_0x4f8609,mainComponent:_0x68af9e}=this[_0x4ee32f(0x2f4)],_0x8103fc=_0xb786a8[_0x4ee32f(0x166)](_0x25cd86=>new qe(_0x25cd86,_0x4f8609,_0x54072a,_0x68af9e));this[_0x4ee32f(0x1c4)]=_0x8103fc,this[_0x4ee32f(0x229)]=_0xb786a8;}['_refreshCollabCursors'](){const _0x2bdc8f=_0xae1692;this[_0x2bdc8f(0x252)]();const {scene:_0x49b051,mainComponent:_0x4e711}=this[_0x2bdc8f(0x2f4)],_0x262db0=this['_docSkeletonManagerService'][_0x2bdc8f(0x18c)](),_0x55a875=this[_0x2bdc8f(0x229)][_0x2bdc8f(0x166)](_0x152e62=>new qe(_0x152e62,_0x49b051,_0x262db0,_0x4e711));this[_0x2bdc8f(0x1c4)]=_0x55a875;}[_0xae1692(0x252)](){const _0x57d58b=_0xae1692;this['_cursorShapes'][_0x57d58b(0x174)](_0x2abdf4=>_0x2abdf4[_0x57d58b(0x197)]()),this[_0x57d58b(0x1c4)]=[];}[_0xae1692(0x333)](){const _0x3097df=_0xae1692,_0x22cfb1=[_0x4d7d7e['id']];this[_0x3097df(0x2b3)](this[_0x3097df(0x30b)]['onCommandExecuted'](_0x16be86=>{const _0x2da7d6=_0x3097df;_0x22cfb1[_0x2da7d6(0x31d)](_0x16be86['id'])&&_0x16be86[_0x2da7d6(0x1a5)][_0x2da7d6(0x278)]===this[_0x2da7d6(0x2f4)][_0x2da7d6(0x278)]&&this[_0x2da7d6(0x18b)]();}));}[_0xae1692(0x36b)](){const _0x9d59ba=_0xae1692;this[_0x9d59ba(0x2b3)](_0x4dedd6(this[_0x9d59ba(0x2f4)][_0x9d59ba(0x2a4)][_0x9d59ba(0x33a)])[_0x9d59ba(0x1b7)](_0x505768(_0x25243c=>_0x25243c[_0x9d59ba(0x1d2)]===_0x5869d8['resize']),_0x574d35(0x10))[_0x9d59ba(0x2f6)](()=>{const _0x279774=_0x9d59ba;this[_0x279774(0x18b)]();}));}};Le=Vi([ee(0x1,_0x41baf4(_0x327fb3)),ee(0x2,_0x41baf4(F)),ee(0x3,_0x525eed),ee(0x4,_0x41baf4(_0x3033c8))],Le);const Wi=0x1,ji=1.5;class Xi extends _0x5a7424{constructor(_0x432816,_0x484fdb){const _0x50bf8c=_0xae1692;super(_0x432816,_0x484fdb),l(this,_0x50bf8c(0x2e7)),l(this,_0x50bf8c(0x1e5),!0x1),l(this,_0x50bf8c(0x23e)),l(this,_0x50bf8c(0x20e),''),l(this,'_labelPosition',_0x50bf8c(0x2bc)),l(this,'_backgroundColor'),(_0x484fdb&&this[_0x50bf8c(0x21b)](_0x484fdb),this['onPointerEnter$'][_0x50bf8c(0x253)](()=>this[_0x50bf8c(0x21b)]({'hovered':!0x0})),this[_0x50bf8c(0x2a5)][_0x50bf8c(0x253)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x22e83d){const _0x2d3d17=_0xae1692;var _0x3ac18a,_0x1eae0f,_0x4026ee,_0x593df7,_0x261432,_0x42ae72;this[_0x2d3d17(0x2e7)]=(_0x3ac18a=_0x22e83d[_0x2d3d17(0x292)])!=null?_0x3ac18a:this[_0x2d3d17(0x2e7)],this[_0x2d3d17(0x1e5)]=(_0x1eae0f=_0x22e83d[_0x2d3d17(0x163)])!=null?_0x1eae0f:this[_0x2d3d17(0x1e5)],this[_0x2d3d17(0x23e)]=(_0x4026ee=_0x22e83d['range'])!=null?_0x4026ee:this[_0x2d3d17(0x23e)],this[_0x2d3d17(0x20e)]=(_0x593df7=_0x22e83d['name'])!=null?_0x593df7:this[_0x2d3d17(0x20e)],this['_labelPosition']=(_0x261432=_0x22e83d[_0x2d3d17(0x250)])!=null?_0x261432:this[_0x2d3d17(0x1ac)],this[_0x2d3d17(0x2dd)]=(_0x42ae72=_0x22e83d[_0x2d3d17(0x176)])!=null?_0x42ae72:this[_0x2d3d17(0x2dd)],this[_0x2d3d17(0x209)]({'width':_0x22e83d['width'],'height':_0x22e83d[_0x2d3d17(0x294)]});}[_0xae1692(0x32b)](_0x25b667){const _0x47fa04=_0xae1692,{row:_0x162acb,column:_0x28074d}=_0x25b667;if(_0x162acb>=this[_0x47fa04(0x23e)][_0x47fa04(0x1a1)]&&_0x162acb<=this[_0x47fa04(0x23e)][_0x47fa04(0x2a0)]&&_0x28074d>=this[_0x47fa04(0x23e)][_0x47fa04(0x366)]&&_0x28074d<=this[_0x47fa04(0x23e)][_0x47fa04(0x280)]){this[_0x47fa04(0x21b)]({'hovered':!0x0});return;}this[_0x47fa04(0x21b)]({'hovered':!0x1});}[_0xae1692(0x35e)](_0x43f6a7){return!0x1;}[_0xae1692(0x314)](_0x35d232){const _0x482f66=_0xae1692;_0x43d74a[_0x482f66(0x1fb)](_0x35d232,{'width':this[_0x482f66(0x340)],'height':this['height'],'strokeWidth':ji,'stroke':this[_0x482f66(0x2e7)],'evented':!0x1,'fill':this[_0x482f66(0x2dd)]}),this[_0x482f66(0x1e5)]&&(_0x35d232[_0x482f66(0x1e3)](),_0x35d232[_0x482f66(0x2ab)](0x1,0x0,0x0,0x1,this[_0x482f66(0x340)],this['_labelPosition']===_0x482f66(0x2bb)?0x0:-Z),ue[_0x482f66(0x1fb)](_0x35d232,{'text':this[_0x482f66(0x20e)],'color':this['_color']}),_0x35d232[_0x482f66(0x175)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x11c1f7,_0xb84a3d,_0x457fa8,_0x4c3a76)=>{const _0x3b4e1b=_0xae1692;for(var _0x5a4a34=_0x4c3a76>0x1?void 0x0:_0x4c3a76?Gi(_0xb84a3d,_0x457fa8):_0xb84a3d,_0x23f936=_0x11c1f7[_0x3b4e1b(0x14d)]-0x1,_0x511be2;_0x23f936>=0x0;_0x23f936--)(_0x511be2=_0x11c1f7[_0x23f936])&&(_0x5a4a34=_0x511be2(_0x5a4a34)||_0x5a4a34);return _0x5a4a34;},Ee=(_0x1742ee,_0x3650fd)=>(_0x2240ee,_0x2077fe)=>_0x3650fd(_0x2240ee,_0x2077fe,_0x1742ee);const zi=0x1389;let Pe=class extends _0x4e0838{constructor(_0x5bda5a,_0x5e6d67,_0x340a3f,_0x50c61b){const _0x503f82=_0xae1692;super(),l(this,_0x503f82(0x229),new Set()),l(this,_0x503f82(0x195),null),(this[_0x503f82(0x2f4)]=_0x5bda5a,this[_0x503f82(0x36c)]=_0x5e6d67,this[_0x503f82(0x2d8)]=_0x340a3f,this[_0x503f82(0x241)]=_0x50c61b,this[_0x503f82(0x159)]());}['_init'](){const _0x47dadd=_0xae1692;this[_0x47dadd(0x36c)][_0x47dadd(0x2a6)][_0x47dadd(0x1b7)](_0x249931(this['dispose$']),_0x29a975(_0x37ab4f=>{const _0x2ff26c=_0x47dadd;if(_0x37ab4f){const _0x496bb4=_0x37ab4f[_0x2ff26c(0x18e)];return _0x33840b(this[_0x2ff26c(0x2d8)][_0x2ff26c(0x183)](this[_0x2ff26c(0x2f4)][_0x2ff26c(0x278)]),this[_0x2ff26c(0x241)][_0x2ff26c(0x1e2)])[_0x2ff26c(0x1b7)](_0x5952eb(([_0x529f14,_0x551c1d])=>{const _0x290c67=new Map();return _0x529f14['forEach']((_0x262d20,_0x3f5e13)=>{const _0x3a1616=_0x17f3;if(_0x262d20[_0x3a1616(0x1f4)]===_0x496bb4){const _0x5bf357={..._0x262d20};_0x5bf357['color']=this['_themeService'][_0x3a1616(0x2c8)](_0x262d20[_0x3a1616(0x292)]),_0x290c67[_0x3a1616(0x1f0)](_0x3f5e13,_0x5bf357);}}),{'skeleton':_0x37ab4f,'cursors':_0x290c67};}));}return _0x5cc328({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5e1ab6,cursors:_0x501b48})=>{const _0x3c6577=_0x47dadd;this[_0x3c6577(0x252)](),_0x5e1ab6&&this[_0x3c6577(0x2c2)](_0x5e1ab6,_0x501b48);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x47dadd(0x2f6)](_0x25a923=>{const _0x4d70fc=_0x47dadd;if(_0x25a923==null)return;const {skeleton:_0x3c66af}=_0x25a923,{scene:_0x536d34}=this[_0x4d70fc(0x2f4)];_0x536d34[_0x4d70fc(0x146)]['subscribeEvent'](_0x3d64df(_0x5726e6=>{const _0x2dda86=_0x4d70fc;var _0x29e86f,_0x5fa3d1;const {offsetX:_0x4a5eda,offsetY:_0x288f05}=_0x5726e6,{x:_0x413e87,y:_0x5e4b93}=_0x536d34[_0x2dda86(0x1cf)](_0xb3412[_0x2dda86(0x245)]([_0x4a5eda,_0x288f05])),{scaleX:_0x3a135a,scaleY:_0x24466f}=_0x536d34['getAncestorScale'](),_0x4fed47=_0x536d34[_0x2dda86(0x14b)](_0x32ce54[_0x2dda86(0x315)]),_0x33bebc=_0x536d34['getVpScrollXYInfoByPosToVp'](_0xb3412[_0x2dda86(0x245)]([_0x413e87,_0x5e4b93]),_0x4fed47),_0x26058e=_0x3c66af['getCellPositionByOffset'](_0x4a5eda,_0x288f05,_0x3a135a,_0x24466f,_0x33bebc);((_0x29e86f=this[_0x2dda86(0x195)])==null?void 0x0:_0x29e86f[_0x2dda86(0x296)])===_0x26058e[_0x2dda86(0x296)]&&((_0x5fa3d1=this[_0x2dda86(0x195)])==null?void 0x0:_0x5fa3d1[_0x2dda86(0x212)])===_0x26058e[_0x2dda86(0x212)]||this['_cursors'][_0x2dda86(0x174)](_0x13133d=>{const _0x342437=_0x2dda86;_0x13133d[_0x342437(0x32b)](_0x26058e);});},0x64));});}['_updateCollabCursors'](_0x432a1d,_0x1a71e2){const _0x335a51=_0xae1692;var _0xa0bc18;const _0x4c91b5=(_0xa0bc18=this[_0x335a51(0x36c)]['getCurrent']())==null?void 0x0:_0xa0bc18[_0x335a51(0x2c9)];if(!_0x4c91b5)return;const _0x429903=this[_0x335a51(0x21e)]();if(!_0x429903)return;this[_0x335a51(0x229)]['forEach'](_0x1fec50=>{const _0x453734=_0x335a51;_0x1fec50[_0x453734(0x2be)]();});const {scene:_0x10688a}=_0x429903,_0x3cb7c0=Zi(Array[_0x335a51(0x21f)](_0x1a71e2[_0x335a51(0x16b)]()))[_0x335a51(0x166)](_0x19b4ff=>{const _0xf9e2b4=_0x335a51,{color:_0x16da1b,range:_0x41fc6d,name:_0x471d07,selection:_0x32d991,sheetID:_0x1f417d}=_0x19b4ff,{startColumn:_0x1cc9d1,startRow:_0x20f681,endColumn:_0x58cf3b,endRow:_0x2900ae}=_0x41fc6d,_0x19c638=_0x430016(_0x20f681,_0x1cc9d1,_0x10688a,_0x4c91b5),_0x150abe=_0x430016(_0x2900ae,_0x58cf3b,_0x10688a,_0x4c91b5),{columnHeaderHeightAndMarginTop:_0x305025}=_0x4c91b5,{startX:_0x4b0a57,startY:_0x27de2f}=_0x19c638,{endX:_0x44ac84,endY:_0x219eae}=_0x150abe,_0x4690f8=_0x44ac84-_0x4b0a57,_0x1be09e=_0x219eae-_0x27de2f,_0x155fb3={'labelPosition':_0x27de2f-_0x305025>=Z?_0xf9e2b4(0x2bc):_0xf9e2b4(0x2bb),'sheetID':_0x1f417d,'range':_0x41fc6d,'color':_0x16da1b,'name':_0x471d07,'selection':_0x32d991,'left':_0x4b0a57,'top':_0x27de2f,'width':_0x4690f8,'height':_0x1be09e,'evented':!0x1,'zIndex':zi};return new Xi(_0x471d07,_0x155fb3);});_0x10688a[_0x335a51(0x342)](_0x3cb7c0,Wi),this[_0x335a51(0x229)]=new Set(_0x3cb7c0);}['_removeCollabCursors'](){const _0x198b3f=_0xae1692;var _0x24a79d;(_0x24a79d=this[_0x198b3f(0x229)])==null||_0x24a79d[_0x198b3f(0x174)](_0x41ecab=>_0x41ecab[_0x198b3f(0x197)]());}[_0xae1692(0x21e)](){const _0x407482=_0xae1692;return _0x30d4b3(this[_0x407482(0x2f4)][_0x407482(0x360)],this[_0x407482(0x2f4)]);}};Pe=Ki([Ee(0x1,_0x41baf4(_0x579b6d)),Ee(0x2,_0x41baf4(F)),Ee(0x3,_0x41baf4(_0x3033c8))],Pe);function Zi(_0x41ec8d){const _0x89168f=_0xae1692,_0x1bb3da=new Map();return _0x41ec8d[_0x89168f(0x174)](_0x1149b0=>{const _0x2ab4a2=_0x89168f;if(_0x1bb3da[_0x2ab4a2(0x182)](_0x1149b0[_0x2ab4a2(0x263)])){const _0x4948ff=_0x1bb3da['get'](_0x1149b0[_0x2ab4a2(0x263)]);_0x4948ff['name']+=',\x20'+_0x1149b0[_0x2ab4a2(0x1d6)];}else _0x1bb3da[_0x2ab4a2(0x1f0)](_0x1149b0[_0x2ab4a2(0x263)],_0x1149b0);}),Array[_0x89168f(0x21f)](_0x1bb3da['values']());}var Ji=Object[_0xae1692(0x285)],Qi=(_0x53b705,_0x32d919,_0x54ea14,_0x4558c4)=>{const _0x525da5=_0xae1692;for(var _0x40a005=_0x4558c4>0x1?void 0x0:_0x4558c4?Ji(_0x32d919,_0x54ea14):_0x32d919,_0x101dcf=_0x53b705[_0x525da5(0x14d)]-0x1,_0x4a87f5;_0x101dcf>=0x0;_0x101dcf--)(_0x4a87f5=_0x53b705[_0x101dcf])&&(_0x40a005=_0x4a87f5(_0x40a005)||_0x40a005);return _0x40a005;},B=(_0x4e4e06,_0x3aaed5)=>(_0x4593f3,_0x26dfab)=>_0x3aaed5(_0x4593f3,_0x26dfab,_0x4e4e06);let ne=class extends _0x285911{constructor(_0x1ca0e3,_0x30b2b9,_0xf259cd,_0x5f3b80,_0xfd0c0f,_0x2c1bd5){const _0x49e701=_0xae1692;super(),this[_0x49e701(0x230)]=_0x1ca0e3,this[_0x49e701(0x213)]=_0x30b2b9,this[_0x49e701(0x2d6)]=_0xf259cd,this[_0x49e701(0x2d3)]=_0x5f3b80,this[_0x49e701(0x28f)]=_0xfd0c0f,this[_0x49e701(0x2c0)]=_0x2c1bd5,this[_0x49e701(0x160)](),this['_initEvent']();}[_0xae1692(0x160)](){const _0x1468ea=_0xae1692;this[_0x1468ea(0x2b3)](this[_0x1468ea(0x230)][_0x1468ea(0x161)](()=>{const _0xda27fa=_0x1468ea;if(this[_0xda27fa(0x213)][_0xda27fa(0x335)]['size'])return this[_0xda27fa(0x2c0)]['t']('collaboration-client.offline-data-not-saved');}));}[_0xae1692(0x186)](){const _0x265860=_0xae1692;this[_0x265860(0x2b3)](this['_collaborationUIEventService'][_0x265860(0x2fa)]['subscribe'](_0x99711f=>{const _0x1b1124=_0x265860;_0x99711f['id']===_0x45503a[_0x1b1124(0x1c9)]&&this[_0x1b1124(0x2d3)][_0x1b1124(0x27b)]({'type':_0x2a2d71[_0x1b1124(0x148)],'content':this['_localeService']['t'](_0x1b1124(0x248))}),_0x99711f['id']===_0x45503a[_0x1b1124(0x25a)]&&this[_0x1b1124(0x2d3)]['show']({'type':_0x2a2d71[_0x1b1124(0x148)],'content':this[_0x1b1124(0x2c0)]['t']('collaboration.closeRoom')}),_0x99711f['id']===_0x45503a[_0x1b1124(0x1f2)]&&this['_notificationService'][_0x1b1124(0x27b)]({'title':this[_0x1b1124(0x2c0)]['t'](_0x1b1124(0x239)),'content':this[_0x1b1124(0x2c0)]['t'](_0x1b1124(0x273)),'type':_0x1b1124(0x327),'duration':0x0}),_0x99711f['id']===_0x45503a[_0x1b1124(0x24c)]&&this[_0x1b1124(0x2d3)][_0x1b1124(0x27b)]({'type':_0x2a2d71[_0x1b1124(0x28d)],'content':this['_localeService']['t'](_0x1b1124(0x193))+'('+_0x99711f[_0x1b1124(0x205)]+')'}),_0x99711f['id']===_0x45503a[_0x1b1124(0x2fe)]&&this['_messageService'][_0x1b1124(0x27b)]({'type':_0x2a2d71[_0x1b1124(0x148)],'content':this[_0x1b1124(0x2c0)]['t'](_0x99711f[_0x1b1124(0x205)]||'')}),_0x99711f['id']===_0x45503a['SOCKET_FAILED_RETRY']&&this[_0x1b1124(0x2d3)]['show']({'type':_0x2a2d71[_0x1b1124(0x148)],'content':this[_0x1b1124(0x2c0)]['t']('session.will-retry')}),_0x99711f['id']===_0x45503a[_0x1b1124(0x251)]&&this[_0x1b1124(0x2d3)][_0x1b1124(0x27b)]({'type':_0x2a2d71[_0x1b1124(0x28d)],'content':this[_0x1b1124(0x2c0)]['t'](_0x1b1124(0x211))}),_0x99711f['id']===_0x45503a[_0x1b1124(0x2b5)]&&this[_0x1b1124(0x2d3)][_0x1b1124(0x27b)]({'type':_0x2a2d71['Error'],'content':this[_0x1b1124(0x2c0)]['t'](_0x1b1124(0x287))});}));}};ne=Qi([B(0x0,_0x1e2e5e),B(0x1,_0x932321),B(0x2,_0x41baf4(_0x16ab34)),B(0x3,_0x575d81),B(0x4,_0x18e675),B(0x5,_0x41baf4(_0x1c5d85))],ne);const qi=_0xae1692(0x2b2),et={};var en=Object[_0xae1692(0x285)],tn=(_0x201322,_0x2d6286,_0x11edfb,_0x3d6a1d)=>{for(var _0x588962=_0x3d6a1d>0x1?void 0x0:_0x3d6a1d?en(_0x2d6286,_0x11edfb):_0x2d6286,_0x4fb602=_0x201322['length']-0x1,_0x21af12;_0x4fb602>=0x0;_0x4fb602--)(_0x21af12=_0x201322[_0x4fb602])&&(_0x588962=_0x21af12(_0x588962)||_0x588962);return _0x588962;},tt=(_0x3089d4,_0x32b051)=>(_0x5996d4,_0x49a0c1)=>_0x32b051(_0x5996d4,_0x49a0c1,_0x3089d4);let re=class{constructor(_0x3fb902,_0x16b3ba){const _0x359b4a=_0xae1692;this[_0x359b4a(0x270)]=_0x3fb902,this['_renderManagerService']=_0x16b3ba;}[_0xae1692(0x207)](_0xe08115){const _0x239cd8=_0xae1692;this[_0x239cd8(0x31c)](_0xe08115),this[_0x239cd8(0x1c0)](_0xe08115);}['transformRemoteChangeset'](_0x58ec2a){const _0x55366a=_0xae1692,{unitID:_0x539e48}=_0x58ec2a,_0x2b4d22=this[_0x55366a(0x172)][_0x55366a(0x26c)](_0x539e48)['with'](_0x4ee8b4),{redoCache:_0x4e65a6}=_0x2b4d22['getUndoRedoMutationParamsCache']();if(_0x4e65a6[_0x55366a(0x14d)]===0x0)return _0x58ec2a;let _0x1da604=_0x5b781d[_0x55366a(0x25d)](_0x58ec2a[_0x55366a(0x2ad)][0x0]);for(let _0x11706b=0x0;_0x11706b<_0x4e65a6[_0x55366a(0x14d)];_0x11706b++){const _0x5df882={'id':_0x55366a(0x16d),'params':{..._0x4e65a6[_0x11706b]}},_0x4dc258=this[_0x55366a(0x270)][_0x55366a(0x185)](_0x1da604,_0x5df882,!0x1);if(_0x1cb877(_0x4dc258))throw _0x4dc258[_0x55366a(0x327)];_0x1da604=_0x4dc258['m1Prime'];}return{..._0x5b781d[_0x55366a(0x25d)](_0x58ec2a),'mutations':[_0x1da604]};}[_0xae1692(0x31c)](_0xc5549a){const _0xf58863=_0xae1692,{unitID:_0x2a4ae0}=_0xc5549a,_0x2a146d=this['_renderManagerService'][_0xf58863(0x26c)](_0x2a4ae0)[_0xf58863(0x234)](_0x4ee8b4),{undoCache:_0x432a95,redoCache:_0x28c346}=_0x2a146d[_0xf58863(0x2a9)]();if(_0x432a95['length']===0x0||_0x28c346[_0xf58863(0x14d)]===0x0)return;const _0x34cca6=[],_0x580aae=[];let _0x473e8e=_0x5b781d['deepClone'](_0xc5549a[_0xf58863(0x2ad)][0x0]),_0x53a6c0=_0x5b781d[_0xf58863(0x25d)](_0xc5549a[_0xf58863(0x2ad)][0x0]);for(let _0x52ce5a=_0x432a95['length']-0x1;_0x52ce5a>=0x0;_0x52ce5a--){const _0x3b0d32={'id':_0xf58863(0x16d),'params':{..._0x432a95[_0x52ce5a]}},_0x11513b={'id':_0xf58863(0x16d),'params':{..._0x28c346[_0x52ce5a]}},_0x4c3c0f=this['_transformService'][_0xf58863(0x185)](_0x473e8e,_0x3b0d32,!0x1),_0x51d9c9=this['_transformService']['transformMutation'](_0x53a6c0,_0x11513b,!0x1);if(_0x1cb877(_0x4c3c0f))throw _0x4c3c0f[_0xf58863(0x327)];if(_0x1cb877(_0x51d9c9))throw _0x51d9c9['error'];_0x34cca6[_0xf58863(0x210)](_0x4c3c0f[_0xf58863(0x154)]['params']),_0x580aae[_0xf58863(0x210)](_0x51d9c9['m2Prime'][_0xf58863(0x1a5)]),_0x473e8e=_0x4c3c0f['m1Prime'],_0x53a6c0=_0x51d9c9[_0xf58863(0x346)];}_0x2a146d[_0xf58863(0x260)]({'undoCache':_0x34cca6,'redoCache':_0x580aae});}[_0xae1692(0x1c0)](_0x1a8725){const _0x591554=_0xae1692,{unitID:_0x26a64b}=_0x1a8725,_0x43916c=this['_renderManagerService'][_0x591554(0x26c)](_0x26a64b)[_0x591554(0x234)](_0x4ee8b4),_0x319877=_0x43916c[_0x591554(0x269)]();if(_0x319877==null)return;const _0x1f30ac=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a8725[_0x591554(0x259)],'actions':null,'textRanges':[_0x319877]}}],_0x270b02=this[_0x591554(0x270)]['transformMutationsWithChangeset'](_0x1a8725,_0x1f30ac);if(!_0x245cf5(_0x270b02))throw _0x270b02['error'];const _0x3a78f5=_0x270b02['m2Prime'][0x0][_0x591554(0x1a5)]['textRanges'];Array[_0x591554(0x16c)](_0x3a78f5)&&_0x3a78f5[_0x591554(0x14d)]&&_0x43916c[_0x591554(0x369)](_0x3a78f5[0x0]);}};re=tn([tt(0x0,_0x52b1fd),tt(0x1,_0x50995e)],re);var sn=Object[_0xae1692(0x285)],nn=(_0x1b9bdd,_0x120cba,_0x41b7e6,_0x5f60c9)=>{const _0x2441cf=_0xae1692;for(var _0x41d9fe=_0x5f60c9>0x1?void 0x0:_0x5f60c9?sn(_0x120cba,_0x41b7e6):_0x120cba,_0x1c7251=_0x1b9bdd[_0x2441cf(0x14d)]-0x1,_0xafcc81;_0x1c7251>=0x0;_0x1c7251--)(_0xafcc81=_0x1b9bdd[_0x1c7251])&&(_0x41d9fe=_0xafcc81(_0x41d9fe)||_0x41d9fe);return _0x41d9fe;},Oe=(_0xed7557,_0x1dd2db)=>(_0x426514,_0x40c0a7)=>_0x1dd2db(_0x426514,_0x40c0a7,_0xed7557);let oe=class{constructor(_0x2f4265,_0x665018,_0x13d53d){const _0x561468=_0xae1692;this[_0x561468(0x201)]=_0x2f4265,this[_0x561468(0x270)]=_0x665018,this[_0x561468(0x1e1)]=_0x13d53d;}['transformStateCache'](_0x3a8fd4){const _0x175701=_0xae1692;this[_0x175701(0x2f0)](_0x3a8fd4);}['transformRemoteChangeset'](_0x15856b){const _0x2d5dfc=_0xae1692,{unitID:_0x4eaea0}=_0x15856b,{collaboration:_0x1d5a56}=this[_0x2d5dfc(0x1e1)][_0x2d5dfc(0x226)](_0x4eaea0);if(_0x1d5a56[_0x2d5dfc(0x14d)]===0x0)return _0x15856b;let _0x13b9dd=_0x5b781d['deepClone'](_0x15856b[_0x2d5dfc(0x2ad)][0x0]);for(let _0x1133f1=0x0;_0x1133f1<_0x1d5a56['length'];_0x1133f1++){const _0x422711={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d5a56[_0x1133f1][_0x2d5dfc(0x278)],..._0x1d5a56[_0x1133f1]['redoState']}},_0xf16922=this[_0x2d5dfc(0x270)][_0x2d5dfc(0x185)](_0x13b9dd,_0x422711,!0x1);if(_0x1cb877(_0xf16922))throw _0xf16922[_0x2d5dfc(0x327)];_0x13b9dd=_0xf16922[_0x2d5dfc(0x346)];}return{..._0x5b781d[_0x2d5dfc(0x25d)](_0x15856b),'mutations':[_0x13b9dd]};}[_0xae1692(0x2f0)](_0x33698a){const _0x35a761=_0xae1692,{unitID:_0x563f6b}=_0x33698a,{history:_0x1339f0,collaboration:_0x18ccc7}=this[_0x35a761(0x1e1)][_0x35a761(0x226)](_0x563f6b);if(_0x1339f0[_0x35a761(0x14d)]===0x0&&_0x18ccc7[_0x35a761(0x14d)]===0x0)return;const _0x4b524f=[],_0x580baf=[];let _0x1b62d4=_0x5b781d['deepClone'](_0x33698a[_0x35a761(0x2ad)][0x0]),_0x562659=_0x5b781d['deepClone'](_0x33698a['mutations'][0x0]);for(let _0x11de74=_0x1339f0['length']-0x1;_0x11de74>=0x0;_0x11de74--){const _0x5c7e51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1339f0[_0x11de74]['unitId'],..._0x1339f0[_0x11de74][_0x35a761(0x16f)]}},_0x23863b={'id':_0x35a761(0x16d),'params':{'unitId':_0x1339f0[_0x11de74][_0x35a761(0x278)],..._0x1339f0[_0x11de74][_0x35a761(0x227)]}},_0x59e64f=this[_0x35a761(0x270)][_0x35a761(0x185)](_0x1b62d4,_0x5c7e51,!0x1),_0x4f4987=this[_0x35a761(0x270)][_0x35a761(0x185)](_0x562659,_0x23863b,!0x1);if(_0x1cb877(_0x59e64f))throw _0x59e64f[_0x35a761(0x327)];if(_0x1cb877(_0x4f4987))throw _0x4f4987[_0x35a761(0x327)];_0x4b524f[_0x35a761(0x210)]({..._0x1339f0[_0x11de74],'undoState':_0x59e64f['m2Prime']['params'],'redoState':_0x4f4987[_0x35a761(0x154)][_0x35a761(0x1a5)]}),_0x1b62d4=_0x59e64f[_0x35a761(0x346)],_0x562659=_0x4f4987['m1Prime'];}_0x1b62d4=_0x5b781d['deepClone'](_0x33698a['mutations'][0x0]),_0x562659=_0x5b781d[_0x35a761(0x25d)](_0x33698a[_0x35a761(0x2ad)][0x0]);for(let _0x3b0cf8=_0x18ccc7[_0x35a761(0x14d)]-0x1;_0x3b0cf8>=0x0;_0x3b0cf8--){const _0x4a545f={'id':_0x35a761(0x16d),'params':{'unitId':_0x18ccc7[_0x3b0cf8][_0x35a761(0x278)],..._0x18ccc7[_0x3b0cf8][_0x35a761(0x16f)]}},_0x37ec12={'id':_0x35a761(0x16d),'params':{'unitId':_0x18ccc7[_0x3b0cf8]['unitId'],..._0x18ccc7[_0x3b0cf8][_0x35a761(0x227)]}},_0x547ccd=this[_0x35a761(0x270)][_0x35a761(0x185)](_0x1b62d4,_0x4a545f,!0x1),_0x207db4=this[_0x35a761(0x270)][_0x35a761(0x185)](_0x562659,_0x37ec12,!0x1);if(_0x1cb877(_0x547ccd))throw _0x547ccd[_0x35a761(0x327)];if(_0x1cb877(_0x207db4))throw _0x207db4['error'];_0x580baf['unshift']({..._0x18ccc7[_0x3b0cf8],'undoState':_0x547ccd['m2Prime'][_0x35a761(0x1a5)],'redoState':_0x207db4[_0x35a761(0x154)][_0x35a761(0x1a5)]}),_0x1b62d4=_0x547ccd['m1Prime'],_0x562659=_0x207db4['m1Prime'];}this[_0x35a761(0x1e1)][_0x35a761(0x348)](_0x563f6b,{'history':_0x4b524f,'collaboration':_0x580baf});}};oe=nn([Oe(0x0,_0x41baf4(_0x2481c0)),Oe(0x1,_0x52b1fd),Oe(0x2,_0x41baf4(_0x589b69))],oe);var rn=Object[_0xae1692(0x285)],on=(_0x1a1e44,_0x19fd92,_0x3360d3,_0xe8791c)=>{for(var _0x5a65d0=_0xe8791c>0x1?void 0x0:_0xe8791c?rn(_0x19fd92,_0x3360d3):_0x19fd92,_0x46929b=_0x1a1e44['length']-0x1,_0x1b78d1;_0x46929b>=0x0;_0x46929b--)(_0x1b78d1=_0x1a1e44[_0x46929b])&&(_0x5a65d0=_0x1b78d1(_0x5a65d0)||_0x5a65d0);return _0x5a65d0;},st=(_0x1c7da1,_0x17f6af)=>(_0x563397,_0x77d0c8)=>_0x17f6af(_0x563397,_0x77d0c8,_0x1c7da1);let ae=class{constructor(_0x59c34c,_0x126c55){const _0x279b05=_0xae1692;this['_injector']=_0x59c34c,this[_0x279b05(0x270)]=_0x126c55;}[_0xae1692(0x2e5)](_0x18ae60){const _0x146738=_0xae1692;var _0x26a92b;const _0x3943a3=this['_injector'][_0x146738(0x29a)](_0x3f18d4),_0x310af1=(_0x26a92b=_0x3943a3[_0x146738(0x2b6)]())!=null?_0x26a92b:[];if(_0x310af1[_0x146738(0x14d)]===0x0)return;const _0x104002=_0x18ae60[_0x146738(0x259)],_0x33c157=[{'id':_0x146738(0x16d),'params':{'unitId':_0x104002,'actions':null,'textRanges':_0x310af1}}],_0x129eb2=this['_transformService']['transformMutationsWithChangeset'](_0x18ae60,_0x33c157);if(!_0x245cf5(_0x129eb2))throw _0x129eb2[_0x146738(0x327)];const _0x2937d1=_0x129eb2[_0x146738(0x154)][0x0][_0x146738(0x1a5)][_0x146738(0x15c)];Array[_0x146738(0x16c)](_0x2937d1)&&_0x2937d1[_0x146738(0x14d)]&&_0x3943a3[_0x146738(0x2e6)](_0x2937d1,{'unitId':_0x104002,'subUnitId':_0x104002},!0x1);}};ae=on([st(0x0,_0x41baf4(_0x2481c0)),st(0x1,_0x52b1fd)],ae);function _0x1afe(){const _0x4ce22f=['removeParam','getUndoRedoMutationParamsCache','substring','transform','attrs','mutations','url(#off-line-icon_clip0_910_343)','UNAUTHENTICATED','_initDependencies','OFFLINE','collaboration-client-ui.config','disposeWithMe','UNDEFINED','SUBMIT_CHANGESET_TIMEOUT','getDocRanges','text','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUnitStatus$','Failed','bottom','top','_cachedData','makeDirty','cursorInfo$','_localeService','setConfig','_updateCollabCursors','result','_status$','setInterval','font','176sxorNv','getColorFromTheme','skeleton','CURRENT_STATUS_CANNOT_OPERATE','roomMembers$','assignAColorForMemberID','UNIVER_SHEET','TEXT','whenReady','collabCursorState$','InsertRowCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_messageService','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentSelections','_collaborationUIEventService','SNAPSHOT_HAS_BEEN_REMOVED','_collabCursorController','EMAIL_HAS_BEEN_BOUND','_docSkeletonManagerService','rgba(255,\x20255,\x20255,\x200.01)','_getAnchorBounding','_backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UPDATE_CURSOR','post','_logService','0\x200\x2016\x2016','addObject','getSheetId','transformSelections','replaceDocRanges','_color','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUniverSheetInstance','810828ejcAPy','YUUMI_AI_RUN_FAILED','_docSkeleton','getParam','ENSURE_SNAPSHOT_EXECUTION','application/json','_transformHistoryAndStateStack','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','_handleJoinEvent','0\x200\x2017\x2016','_context','unsubscribe','subscribe','collab-text-anchor-','white','onLocalMutation','event$','_clearOtherTimers','getCurrentRevOfUnit','getAncestorScale','JOIN_ROOM_FAILED','_imageIoService','next','NOT_COLLAB','clearTimeout','INVITE_CODE_ALREADY_BOUND','fillStyle','asObservable','onCommandExecuted','15635HasSul','actions','body','_initEntityListener','_commandService','none','_anchorDot','concat','getItem','_updateLocalCursor','then','1VUTOsh','off-line-icon_clip0_910_343','_draw','VIEW_MAIN','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SNAPSHOT_INVALID_SNAPSHOT','random','div','_entityInit$','setAlpha','_transformUndoRedoStack','includes','url(#$1','pushState','ENTITLE_CHAT_LIMIT_EXCEED','setParam','getSheetBySheetId','16370tGVaNJ','1em','ENTITLE_DUP_SUBSCRIPTION','MUTATION','error','extend','init','...','onMouseMove','_dataLoaderService','sessionStatus$','_online','displayName','href','addEventListener','_localStorageService','_initCommandExecutedListener','createInstance','saveTaskMap','UniverIcon','getMergeData','_refRangeService','_univerInstanceService','onTransformChange$','defs','M0\x200H16V16H0z','getValue','REDEMPTION_INVALID_CODE','_updateURLWithCurrentState','width','apply','addObjects','12126JRBIyo','YUUMI_CONNECTOR_URL_NOT_FOUND','defIds','m1Prime','[CollaborationDataLoaderController]','setStateCache','OffLineIcon','findNodePositionByCharIndex','tag','toString','getRangePointData','getFocusedUnit','HEADER_MENU','max','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','split','_collabSessionService','getOwnPropertySymbols','EMAIL_VERIFY_CODE_MISMATCH','_scheduleClearOtherTimer','ENTITLE_REPORT_LIMIT_EXCEED','APPLY_NON_SEQUENTIAL_REVISION','_render','find','_toggleOnline','fill','triggerDblclick','_cursor','unit','_disabled','ERROR_AGAIN','_entities','loadOfflineData','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','startColumn','_ensureSubject','urlChange$','setActiveRange','lineTo','_initResize','_sheetSkeletonManagerService','replace','idSuffix','_registerDependencies','indexOf','onPointerMove$','all','Warning','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','blue.400','getViewport','eventID','length','RECT','getUnitId','_roomMembers$','AUTHORIZE_CODE_ILLEGAL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOffline','m2Prime','univer-mr-2\x20univer-flex\x20univer-text-xl','collabStatus.fetchMiss','NO_OTHER_CLIENTS_EDITING','_configService','_init','svg','black','textRanges','InsertRangeMoveRightCommandId','_getScale','INVALID_INVITE_CODE','_setupBeforeClosingHandler','registerBeforeClose','REDEMPTION_CODE_NOT_STARTED','hovered','registerRenderModule','_saveCache','map','UNRECOGNIZED','_docClipboardService','LOGIN_FAILED','createSocket','values','isArray','doc.mutation.rich-text-editing','YUUMI_URL_COL_OUT_OF_RANGE','undoState','disableLocalCache','_colorAssignService','_renderManagerService','unload','forEach','restore','backgroundColor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','roomMembers','REDEMPTION_CODE_INACTIVE','pluginName','_startSheetCollabCursor','_createSocketURL','_getSessionTicket','_unitStatus','beginPath','parse','hasOwnProperty','has','getCollabCursors$','REDEMPTION_CODE_FULLY_REDEEMED','transformMutation','_initEvent','_docTransformIMECacheService','on-line-icon','_uiPartsService','getCollabEntity$','_refreshCollabCursors','getSkeleton','ticket','sheetId','APPLY_PERMISSION_DENIED','_handleEvent','range','RemoveRowCommandId','collaboration.closeRoom','LICENSE_DISTRO_REJECTED','_lastPointer','_drawAnchor','dispose','YUUMI_RATE_OVER_LIMIT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-client.tooltip.reconnect','measureText','source','children','_eventUnsubscribe','subunit','_collaborationController','startRow','RemoveColCommandId','key','CONNECTOR_DATA_TOO_LARGE','params','_getSaveTimeout','YUUMI_ALL_TABLES_IS_INVALID','APPLY_DUPLICATED','_httpService','push','_onRefRangeChange','_labelPosition','complete','_drawRectRange','origin','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_REJECT','LICENSE_EXPORT_SIZE_EXCEEDED','closePath','cursorInfo','_id','_syncEditingCollabCursorService','pipe','_selfUnitIDs','onStarting','registerRefRange','translate(.97)','string','editingUnit','send','_instanceService','_transformPreviousActiveRange','syncEditingCollabCursor','_saveTaskMap','136VJbzJj','_cursorShapes','path','docStateChange$','_handleHeartbeatEvent','#FFF','OTHER_CLIENT_EDITING','isEditing','_cursorInfo$','fillText','dispose$','_shapes','getRelativeToViewportCoord','enableLocalCache','_removeClearOtherTimer','type','http://www.w3.org/2000/svg','CHANGESET_REVISION_CONFILICT','search','name','Unknown\x20user','_scheduleHeartbeat','prototype','MOBILE_VERIFY_CODE_MISMATCH','round','NOT_FOUND','add','arc','getTypeOfUnitDisposed$','transformRemoteChangeset','_docStateChangeManagerService','currentTheme$','save','_setupSubUnitSync','_hovered','_scheduleSaving','collabStatus.notCollab','getMemberID','on-line-icon_clip0_910_349','_urlService','InsertRangeMoveDownCommandId','getConfig','uni.network.url-service','function','REDEMPTION_USER_NOT_ELIGIBLE','set','WECHAT_HAS_BEEN_BOUND','PERMISSION_DENIED','_handleLeaveEvent','sheetID','INTERNAL_ERROR','url(#on-line-icon_clip0_910_349)','PENDING','_getMergeRange','YUUMI_SUBSCRIPTION_NOT_FOUND','_config','drawWith','mask','hide','size','_textBubble','_doCreateSocket','_injector','debug','_docTransformStateCacheService','517394zSVSZn','data','storage','transformIMECache','registerComponent','transformByState','_revisionService','setItem','univerjs-icon\x20univerjs-icon-','COMPLETION_FINISHED','_name','propertyIsEnumerable','unshift','session.connection-failed','row','_localCacheService','onRendered','TOO_MANY_REQUESTS','some','PAYMENT_CHANNEL_NOT_SUPPORT','getTypeOfUnitAdded$','_unitOnClients','YUUMI_ASYNCIO_CANCELLED','setShapeProps','min','icon','_getSheetObject','from','addClipboardHook','collab-rect-range-','_document','LICENSE_IMPORT_SIZE_EXCEEDED','LOGIN_TOKEN_PROCESSING_FAILED','USER_NOT_FOUND','getStateCache','redoState','currentColor','_cursors','invokeId','ONLINE','purple.300','xlink:href','_memberService','_send','_beforeCloseService','code','63gmNxwT','UNIVER_DOC','with','_hideTimer','MOBILE_HAS_BEEN_BOUND','OnLineIcon','USER_NOT_INVITED_CODE','permission.title','current','transformStateCache','call','ENTITLE_NEED_BILLING_ADDRESS','_range','_scene','executeCommand','_themeService','symbol','_colorIndex','_session','FromArray','INVITE_CODE_HAS_BEEN_UES','evenodd','collaboration.single-unit.warning','red.300','_initStatusComponent','_updateSubUnitFromURLParams','CONFLICT','moveTo','getOffsetConfig','ranges','labelPosition','SOCKET_FAILED','_removeCollabCursors','subscribeEvent','updateOfflineData','newValue','searchParams','univer-flex\x20univer-items-center','AWAITING','unitID','CLOSE_ROOM','defineProperty','clearInterval','deepClone','FETCH_MISS','entityInit$','setUndoRedoMutationParamsCache','_onCursorDelete','location','selection','_collabCursorState$','getMember','_hover','runId','replaceState','getActiveRange','clipPath','reconnect','getRenderById','getUnhiddenWorksheets','203632XzwDeR','className','_transformService','INVALID_ARGUMENT','use','permission.content','collabStatus.syncing','isActive','_assignedColors','_anchor','unitId','_onCursorUpdate','_registerRenderDependencies','show','_docSyncEditingCollabCursorService','_initStatusListener','toRgbString','_drawTextRange','endColumn','popstate','DeleteRangeMoveUpCommandId','REDEMPTION_CODE_HAS_BEEN_CREATED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getOwnPropertyDescriptor','LICENSE_MAX_UNITS_EXCEEDED','session.collaboration-timeout','fillRule','disposeUnit','focused$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','imageSourceType','Error','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_notificationService','PY_RUNTIME_SCRIPT_ERROR','assign','color','USERS_LEAVE','height','AWAITING_WITH_PENDING','column','entries','_startDocCollabCursor','exhaustSavingTask','get','delete','MoveRangeCommandId','colorChannel1','requireSession','OTHER_CLIENTS_EDITING','endRow','saveOfflineData','INVITE_CODE_REQUIRED','history','engine','onPointerLeave$','currentSkeleton$','954396GpWOUW'];_0x1afe=function(){return _0x4ce22f;};return _0x1afe();}var an=Object[_0xae1692(0x285)],cn=(_0x15cbd3,_0x1c0f05,_0x1dd9ce,_0x383eea)=>{for(var _0xcbed4=_0x383eea>0x1?void 0x0:_0x383eea?an(_0x1c0f05,_0x1dd9ce):_0x1c0f05,_0x443c4d=_0x15cbd3['length']-0x1,_0x23214a;_0x443c4d>=0x0;_0x443c4d--)(_0x23214a=_0x15cbd3[_0x443c4d])&&(_0xcbed4=_0x23214a(_0xcbed4)||_0xcbed4);return _0xcbed4;},N=(_0x343850,_0x4bbfe3)=>(_0x318416,_0xcad7d5)=>_0x4bbfe3(_0x318416,_0xcad7d5,_0x343850);let ce=class extends _0x285911{constructor(_0x34ee8d,_0x3979cb,_0x2cfd80,_0x29c1f4,_0x900316,_0x1ce306,_0x1a9bc7,_0x48181b){const _0x1d2364=_0xae1692;super(),l(this,_0x1d2364(0x2c4),new _0x26a181(_0x111939[_0x1d2364(0x301)])),(this[_0x1d2364(0x1e1)]=_0x34ee8d,this['_collaborationController']=_0x3979cb,this['_docTransformIMECacheService']=_0x2cfd80,this[_0x1d2364(0x203)]=_0x29c1f4,this['_docTransformSelectionsService']=_0x900316,this[_0x1d2364(0x27c)]=_0x1ce306,this['_messageService']=_0x1a9bc7,this['_localeService']=_0x48181b,this[_0x1d2364(0x30a)]());}['_initEntityListener'](){const _0x4d738e=_0xae1692;this['disposeWithMe'](this['_collaborationController'][_0x4d738e(0x25f)][_0x4d738e(0x2f6)](_0x505872=>{const _0x2b5f21=_0x4d738e,_0x516fe3=this['_docStateChangeManagerService'][_0x2b5f21(0x1c6)][_0x2b5f21(0x2f6)](_0x5defb3=>{const _0x23f564=_0x2b5f21;if(_0x5defb3==null)return;const {unitId:_0x15b62e,redoState:_0x3ea50d,commandId:_0xec8d9a}=_0x5defb3;if(_0x15b62e!==_0x505872[_0x23f564(0x259)])return;const _0x52510b={'id':_0xec8d9a,'type':_0xfd5735[_0x23f564(0x326)],'params':{'unitId':_0x15b62e,'actions':_0x3ea50d[_0x23f564(0x308)],'textRanges':null}};_0x505872[_0x23f564(0x2f9)](_0x52510b);});if(_0x505872[_0x2b5f21(0x2b3)](_0x516fe3),_0x505872 instanceof _0x1e8942){const _0x1c70c4={'onTransformIME':_0x5210c7=>this['_docTransformIMECacheService'][_0x2b5f21(0x207)](_0x5210c7),'onTransformState':_0x5b2a24=>this[_0x2b5f21(0x203)][_0x2b5f21(0x23b)](_0x5b2a24),'onTransformSelections':_0x2b4de1=>this['_docTransformSelectionsService']['transformSelections'](_0x2b4de1),'onSyncEditingCollabCursor':_0x2665ce=>this[_0x2b5f21(0x27c)][_0x2b5f21(0x1c1)](_0x2665ce),'onTransformRemoteChangesetByIMECache':_0x58f16f=>this[_0x2b5f21(0x187)][_0x2b5f21(0x1e0)](_0x58f16f),'onTransformRemoteChangesetByStateCache':_0x96bbfc=>this['_docTransformStateCacheService'][_0x2b5f21(0x1e0)](_0x96bbfc)};_0x505872['addHandlerCallback'](_0x1c70c4);}}));}};ce=cn([N(0x0,_0x41baf4(_0x589b69)),N(0x1,_0x41baf4(_0x28e18f)),N(0x2,_0x41baf4(re)),N(0x3,_0x41baf4(oe)),N(0x4,_0x41baf4(ae)),N(0x5,_0x41baf4(Fe)),N(0x6,_0x575d81),N(0x7,_0x41baf4(_0x1c5d85))],ce);var _n=Object[_0xae1692(0x285)],ln=(_0x1ad4da,_0x20c19e,_0x2aeece,_0x2cfd8d)=>{const _0x7f801c=_0xae1692;for(var _0x39f351=_0x2cfd8d>0x1?void 0x0:_0x2cfd8d?_n(_0x20c19e,_0x2aeece):_0x20c19e,_0x42b666=_0x1ad4da[_0x7f801c(0x14d)]-0x1,_0x38dda1;_0x42b666>=0x0;_0x42b666--)(_0x38dda1=_0x1ad4da[_0x42b666])&&(_0x39f351=_0x38dda1(_0x39f351)||_0x39f351);return _0x39f351;},Te=(_0x8419ef,_0x44b2a2)=>(_0x113610,_0x4d1398)=>_0x44b2a2(_0x113610,_0x4d1398,_0x8419ef);let Ae=class extends _0x285911{constructor(_0x31051e,_0x5b93e6,_0x35b67c){const _0x5dc167=_0xae1692;super(),l(this,_0x5dc167(0x2bd),new Map()),l(this,_0x5dc167(0x1c2),new Map()),l(this,_0x5dc167(0x361),!0x1),(this[_0x5dc167(0x158)]=_0x31051e,this[_0x5dc167(0x332)]=_0x5b93e6,this[_0x5dc167(0x20a)]=_0x35b67c);}[_0xae1692(0x170)](){const _0x1f463d=_0xae1692;this[_0x1f463d(0x361)]=!0x0;}[_0xae1692(0x1d0)](){const _0x4a22c0=_0xae1692;this[_0x4a22c0(0x361)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x2817b7=_0xae1692;this[_0x2817b7(0x299)]()[_0x2817b7(0x311)](()=>super[_0x2817b7(0x197)]());}async[_0xae1692(0x364)](_0x22718f){const _0x17d89b=_0xae1692;return this[_0x17d89b(0x361)]?null:this['_localStorageService'][_0x17d89b(0x30f)](_0x493384(_0x22718f));}async[_0xae1692(0x2a1)](_0x59aaec,_0xb1cc2){const _0x452ea7=_0xae1692;return!!this[_0x452ea7(0x332)][_0x452ea7(0x20b)](_0x59aaec,_0xb1cc2);}[_0xae1692(0x254)](_0x1d1315,_0x2cb5c8,_0x1ffcc6,_0x467669){const _0x3281fa=_0xae1692,_0x569af2=this[_0x3281fa(0x20a)][_0x3281fa(0x2fc)](_0x1d1315);this['_cachedData'][_0x3281fa(0x1f0)](_0x1d1315,{'unitID':_0x1d1315,'type':_0x2cb5c8,'awaitingChangeset':_0x1ffcc6,'mutations':_0x467669,'rev':_0x569af2}),this[_0x3281fa(0x1c2)]['has'](_0x1d1315)||this[_0x3281fa(0x1e6)](_0x1d1315);}['_scheduleSaving'](_0x5559de){const _0x4d0e4d=_0xae1692,_0x20c58c=this[_0x4d0e4d(0x1a6)]();_0x20c58c===0x0?this[_0x4d0e4d(0x165)](_0x5559de):this[_0x4d0e4d(0x1c2)][_0x4d0e4d(0x1f0)](_0x5559de,setTimeout(()=>this[_0x4d0e4d(0x165)](_0x5559de),_0x20c58c));}['_getSaveTimeout'](){const _0x254953=_0xae1692;var _0x28049d;return(_0x28049d=this['_configService'][_0x254953(0x1ec)](_0x22fa43))!=null?_0x28049d:_0x4d3ebe;}[_0xae1692(0x165)](_0x4a8705){const _0x279de6=_0xae1692,_0x572692=this[_0x279de6(0x1c2)][_0x279de6(0x29a)](_0x4a8705);return _0x572692!==void 0x0&&window[_0x279de6(0x302)](_0x572692),this[_0x279de6(0x332)][_0x279de6(0x20b)](_0x493384(_0x4a8705),this[_0x279de6(0x2bd)][_0x279de6(0x29a)](_0x4a8705))[_0x279de6(0x311)](()=>this[_0x279de6(0x1c2)][_0x279de6(0x29b)](_0x4a8705));}async[_0xae1692(0x299)](){const _0x252fb9=_0xae1692,_0x4f1b34=[];this[_0x252fb9(0x1c2)]['forEach']((_0x146932,_0xcff9ad)=>{const _0x5aefdc=_0x252fb9;window[_0x5aefdc(0x302)](_0x146932),_0x4f1b34[_0x5aefdc(0x1aa)](this[_0x5aefdc(0x165)](_0xcff9ad)[_0x5aefdc(0x311)](()=>{const _0x1b2695=_0x5aefdc;this[_0x1b2695(0x1c2)][_0x1b2695(0x29b)](_0xcff9ad);}));}),await Promise[_0x252fb9(0x147)](_0x4f1b34);}};Ae=ln([Te(0x0,_0x2356fd),Te(0x1,_0x40077e),Te(0x2,_0x41baf4(_0x9012bd))],Ae);class hn extends _0x4e0838{constructor(){const _0x81e505=_0xae1692;super(),l(this,_0x81e505(0x368)),this[_0x81e505(0x368)]=_0x29b0e7(window,_0x81e505(0x281))[_0x81e505(0x1b7)](_0x274acb(this[_0x81e505(0x1cd)]),_0x1091f9(0x1),_0x4b2259(void 0x0));}[_0xae1692(0x321)](_0x28f7f9,_0x16ae4e,_0x53fe61=!0x1){const _0x355fd7=_0xae1692,_0x3b2616=new URL(window['location'][_0x355fd7(0x330)]);_0x3b2616[_0x355fd7(0x256)]['set'](_0x28f7f9,_0x16ae4e),_0x53fe61?window[_0x355fd7(0x2a3)][_0x355fd7(0x268)]('','',_0x3b2616[_0x355fd7(0x34c)]()):window[_0x355fd7(0x2a3)][_0x355fd7(0x31f)]('','',_0x3b2616[_0x355fd7(0x34c)]());}[_0xae1692(0x2a8)](_0x514c95,_0xa00d20=!0x1){const _0x571593=_0xae1692,_0x2df0ec=new URL(window[_0x571593(0x262)][_0x571593(0x330)]);_0x2df0ec['searchParams'][_0x571593(0x29b)](_0x514c95),_0xa00d20?window[_0x571593(0x2a3)][_0x571593(0x268)]('','',_0x2df0ec[_0x571593(0x34c)]()):window['history']['pushState']('','',_0x2df0ec[_0x571593(0x34c)]());}[_0xae1692(0x2ed)](_0xb15d67){const _0x56d5b4=_0xae1692;var _0x12b3c4;return(_0x12b3c4=new URL(window[_0x56d5b4(0x262)][_0x56d5b4(0x330)])[_0x56d5b4(0x256)][_0x56d5b4(0x29a)](_0xb15d67))!=null?_0x12b3c4:void 0x0;}}var un=Object[_0xae1692(0x25b)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x123455,_0x802ab5,_0xa75e41)=>_0x802ab5 in _0x123455?un(_0x123455,_0x802ab5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa75e41}):_0x123455[_0x802ab5]=_0xa75e41,In=(_0x3f2f6e,_0x55240d,_0x47246b,_0x4e9a12)=>{const _0x324a43=_0xae1692;for(var _0x53206f=_0x4e9a12>0x1?void 0x0:_0x4e9a12?dn(_0x55240d,_0x47246b):_0x55240d,_0x59211e=_0x3f2f6e[_0x324a43(0x14d)]-0x1,_0x26c4e3;_0x59211e>=0x0;_0x59211e--)(_0x26c4e3=_0x3f2f6e[_0x59211e])&&(_0x53206f=_0x26c4e3(_0x53206f)||_0x53206f);return _0x53206f;},pe=(_0x3bd20c,_0x1a3c84)=>(_0xbcfff5,_0x15af02)=>_0x1a3c84(_0xbcfff5,_0x15af02,_0x3bd20c),Sn=(_0x524bae,_0x4a676c,_0x57b4e9)=>fn(_0x524bae,_0x4a676c+'',_0x57b4e9);const mn=_0xae1692(0x284);let we=class extends _0x3fd399{constructor(_0x2059c4=et,_0x3d5333,_0x275e9,_0x3c363e){const _0x31f8df=_0xae1692;super(),this['_config']=_0x2059c4,this[_0x31f8df(0x172)]=_0x3d5333,this['_injector']=_0x275e9,this['_configService']=_0x3c363e;const {..._0x20ac30}=_0x36294d({},et,this[_0x31f8df(0x1fa)]);this['_configService'][_0x31f8df(0x2c1)](qi,_0x20ac30);}[_0xae1692(0x1b9)](){const _0x3a6e43=_0xae1692;this[_0x3a6e43(0x144)](),this[_0x3a6e43(0x2b0)]();}[_0xae1692(0x214)](){const _0x5d5a8a=_0xae1692;this[_0x5d5a8a(0x27a)]();}['_registerDependencies'](){const _0x444a38=_0xae1692;var _0x1c4a2c;const _0x5cc99a=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x4a8d1f,{'useClass':_0x2a5e55}],[_0x932321,{'useClass':Ae}],[se],[ce],[ne],[F],[Ne],[ie]];_0x22854c(this['_injector'],_0x53db4b(_0x5cc99a,(_0x1c4a2c=this[_0x444a38(0x1fa)])==null?void 0x0:_0x1c4a2c['override']));}[_0xae1692(0x27a)](){const _0x15e422=_0xae1692;this[_0x15e422(0x2b3)](this[_0x15e422(0x172)]['registerRenderModule'](_0x55fb2c[_0x15e422(0x233)],[Le])),this[_0x15e422(0x2b3)](this['_renderManagerService'][_0x15e422(0x164)](_0x55fb2c[_0x15e422(0x2cd)],[Pe]));}['_initDependencies'](){const _0x296324=_0xae1692;_0x478ab5(this[_0x296324(0x201)],[[F],[se],[ce],[ne],[ie]]);}};Sn(we,_0xae1692(0x17a),mn),we=In([_0x473fa0(_0x3ff268),pe(0x1,_0x50995e),pe(0x2,_0x41baf4(_0x2481c0)),pe(0x3,_0x2356fd)],we);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x107db4,_0x1a9462,_0x1a3743,_0x170199)=>{for(var _0x3992a2=_0x170199>0x1?void 0x0:_0x170199?vn(_0x1a9462,_0x1a3743):_0x1a9462,_0x470a45=_0x107db4['length']-0x1,_0x51364c;_0x470a45>=0x0;_0x470a45--)(_0x51364c=_0x107db4[_0x470a45])&&(_0x3992a2=_0x51364c(_0x3992a2)||_0x3992a2);return _0x3992a2;},z=(_0x24a46d,_0x1f324e)=>(_0x94fafd,_0x571491)=>_0x1f324e(_0x94fafd,_0x571491,_0x24a46d);let it=class extends _0xee4258{constructor(_0x3e495b,_0x4a25e6,_0xcb1a4a,_0x35747b,_0x3f3405){super(_0x3e495b,_0x4a25e6,_0xcb1a4a,_0x35747b,_0x3f3405);}async[_0xae1692(0x16a)](_0x5e028d){const _0x3c6bf8=_0xae1692,_0x15fced=await this[_0x3c6bf8(0x17d)](),_0x2e95f8=this['_createSocketURL'](_0x5e028d,_0x15fced);return this[_0x3c6bf8(0x200)](_0x2e95f8);}[_0xae1692(0x17c)](_0x36f30c,_0x2a53df){const _0x46073a=_0xae1692,_0x27862b=typeof window>'u'?new URL(_0x36f30c):new URL(_0x36f30c,window[_0x46073a(0x262)][_0x46073a(0x1af)]);_0x27862b['searchParams'][_0x46073a(0x1f0)]('sessionTicket',_0x2a53df);const _0x3e6c4a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x46073a(0x262)][_0x46073a(0x1d5)]);return _0x3e6c4a[_0x46073a(0x29a)](_0x46073a(0x267))&&_0x27862b[_0x46073a(0x256)][_0x46073a(0x1f0)]('runId',_0x3e6c4a[_0x46073a(0x29a)]('runId')),_0x27862b[_0x46073a(0x34c)]();}async[_0xae1692(0x17d)](){const _0x27ad35=_0xae1692;var _0x2b26fd,_0x31793b,_0x50d061;const _0x8e69a1=this[_0x27ad35(0x158)][_0x27ad35(0x1ec)](_0x33b623),_0x66eb4b=(_0x2b26fd=_0x8e69a1==null?void 0x0:_0x8e69a1['wsSessionTicketUrl'])!=null?_0x2b26fd:_0x29746f;return(_0x50d061=(_0x31793b=(await this[_0x27ad35(0x1a9)]['get'](_0x66eb4b,{'headers':{'Content-Type':_0x27ad35(0x2ef)}}))[_0x27ad35(0x309)])==null?void 0x0:_0x31793b[_0x27ad35(0x18d)])!=null?_0x50d061:'';}};it=gn([z(0x0,_0x41baf4(_0x2481c0)),z(0x1,_0x41baf4(_0x2ce152)),z(0x2,_0x2356fd),z(0x3,_0x477923),z(0x4,_0xe87de1)],it);var Lt=(_0x662a52=>(_0x662a52[_0x662a52[_0xae1692(0x2b4)]=0x0]=_0xae1692(0x2b4),_0x662a52[_0x662a52['OK']=0x1]='OK',_0x662a52[_0x662a52[_0xae1692(0x1f5)]=0x2]=_0xae1692(0x1f5),_0x662a52[_0x662a52[_0xae1692(0x1f2)]=0x3]=_0xae1692(0x1f2),_0x662a52[_0x662a52[_0xae1692(0x1dc)]=0x4]=_0xae1692(0x1dc),_0x662a52[_0x662a52['UNAUTHENTICATED']=0x5]=_0xae1692(0x2af),_0x662a52[_0x662a52['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x662a52[_0x662a52[_0xae1692(0x271)]=0x7]=_0xae1692(0x271),_0x662a52[_0x662a52[_0xae1692(0x215)]=0x8]=_0xae1692(0x215),_0x662a52[_0x662a52[_0xae1692(0x20d)]=0x9]=_0xae1692(0x20d),_0x662a52[_0x662a52[_0xae1692(0x169)]=0xa]=_0xae1692(0x169),_0x662a52[_0x662a52[_0xae1692(0x1da)]=0xb]=_0xae1692(0x1da),_0x662a52[_0x662a52[_0xae1692(0x2d2)]=0xc]=_0xae1692(0x2d2),_0x662a52[_0x662a52[_0xae1692(0x356)]=0xd]=_0xae1692(0x356),_0x662a52[_0x662a52[_0xae1692(0x152)]=0xe]=_0xae1692(0x152),_0x662a52[_0x662a52[_0xae1692(0x151)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x662a52[_0x662a52[_0xae1692(0x224)]=0x10]=_0xae1692(0x224),_0x662a52[_0x662a52[_0xae1692(0x2ca)]=0x64]=_0xae1692(0x2ca),_0x662a52[_0x662a52[_0xae1692(0x362)]=0x65]=_0xae1692(0x362),_0x662a52[_0x662a52['USER_NOT_FOUND']=0xc9]=_0xae1692(0x225),_0x662a52[_0x662a52['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x662a52[_0x662a52[_0xae1692(0x1d4)]=0x1389]=_0xae1692(0x1d4),_0x662a52[_0x662a52['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xae1692(0x317),_0x662a52[_0x662a52[_0xae1692(0x2d7)]=0x1772]=_0xae1692(0x2d7),_0x662a52[_0x662a52[_0xae1692(0x2ee)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x662a52[_0x662a52['APPLY_REJECT']=0x1b59]=_0xae1692(0x1b1),_0x662a52[_0x662a52[_0xae1692(0x359)]=0x1b5a]=_0xae1692(0x359),_0x662a52[_0x662a52['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x662a52[_0x662a52[_0xae1692(0x18f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x662a52[_0x662a52[_0xae1692(0x1a8)]=0x1b5d]='APPLY_DUPLICATED',_0x662a52[_0x662a52[_0xae1692(0x1a4)]=0x1f41]=_0xae1692(0x1a4),_0x662a52[_0x662a52[_0xae1692(0x286)]=0x2329]=_0xae1692(0x286),_0x662a52[_0x662a52[_0xae1692(0x2b8)]=0x232a]=_0xae1692(0x2b8),_0x662a52[_0x662a52[_0xae1692(0x223)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x662a52[_0x662a52[_0xae1692(0x1b2)]=0x232c]=_0xae1692(0x1b2),_0x662a52[_0x662a52[_0xae1692(0x194)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x662a52[_0x662a52['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xae1692(0x352),_0x662a52[_0x662a52[_0xae1692(0x16e)]=0x2712]=_0xae1692(0x16e),_0x662a52[_0x662a52[_0xae1692(0x198)]=0x2713]=_0xae1692(0x198),_0x662a52[_0x662a52[_0xae1692(0x1f9)]=0x2714]=_0xae1692(0x1f9),_0x662a52[_0x662a52['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xae1692(0x2d4),_0x662a52[_0x662a52[_0xae1692(0x21a)]=0x271b]=_0xae1692(0x21a),_0x662a52[_0x662a52[_0xae1692(0x28b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x662a52[_0x662a52[_0xae1692(0x1a7)]=0x271d]=_0xae1692(0x1a7),_0x662a52[_0x662a52[_0xae1692(0x199)]=0x271e]=_0xae1692(0x199),_0x662a52[_0x662a52[_0xae1692(0x2eb)]=0x271f]=_0xae1692(0x2eb),_0x662a52[_0x662a52[_0xae1692(0x344)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x662a52[_0x662a52[_0xae1692(0x290)]=0x2af9]=_0xae1692(0x290),_0x662a52[_0x662a52[_0xae1692(0x246)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x662a52[_0x662a52['INVALID_INVITE_CODE']=0x2ee2]=_0xae1692(0x15f),_0x662a52[_0x662a52['INVITE_CODE_REQUIRED']=0x2ee3]=_0xae1692(0x2a2),_0x662a52[_0x662a52['USER_NOT_INVITED_CODE']=0x2ee4]=_0xae1692(0x238),_0x662a52[_0x662a52[_0xae1692(0x303)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x662a52[_0x662a52['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xae1692(0x1f1),_0x662a52[_0x662a52[_0xae1692(0x236)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x662a52[_0x662a52['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xae1692(0x2d9),_0x662a52[_0x662a52['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0xae1692(0x28e),_0x662a52[_0x662a52[_0xae1692(0x365)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x662a52[_0x662a52[_0xae1692(0x325)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x662a52[_0x662a52[_0xae1692(0x217)]=0x36b4]=_0xae1692(0x217),_0x662a52[_0x662a52[_0xae1692(0x320)]=0x3715]=_0xae1692(0x320),_0x662a52[_0x662a52[_0xae1692(0x358)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x662a52[_0x662a52['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xae1692(0x23d),_0x662a52[_0x662a52[_0xae1692(0x33e)]=0x3a99]=_0xae1692(0x33e),_0x662a52[_0x662a52['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xae1692(0x179),_0x662a52[_0x662a52[_0xae1692(0x184)]=0x3a9b]=_0xae1692(0x184),_0x662a52[_0x662a52[_0xae1692(0x162)]=0x3a9c]=_0xae1692(0x162),_0x662a52[_0x662a52[_0xae1692(0x1ef)]=0x3a9d]=_0xae1692(0x1ef),_0x662a52[_0x662a52[_0xae1692(0x177)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x662a52[_0x662a52[_0xae1692(0x283)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x662a52[_0x662a52['UNRECOGNIZED']=-0x1]=_0xae1692(0x167),_0x662a52))(Lt||{}),En=Object[_0xae1692(0x285)],On=(_0x973319,_0x42f3f5,_0x5b5204,_0x56a354)=>{const _0x4659ea=_0xae1692;for(var _0x4721ab=_0x56a354>0x1?void 0x0:_0x56a354?En(_0x42f3f5,_0x5b5204):_0x42f3f5,_0x848278=_0x973319[_0x4659ea(0x14d)]-0x1,_0x79eeea;_0x848278>=0x0;_0x848278--)(_0x79eeea=_0x973319[_0x848278])&&(_0x4721ab=_0x79eeea(_0x4721ab)||_0x4721ab);return _0x4721ab;},Ce=(_0x5b2d83,_0x5d0d0d)=>(_0xfe0300,_0xd7ce56)=>_0x5d0d0d(_0xfe0300,_0xd7ce56,_0x5b2d83);let nt=class extends _0x285911{constructor(_0x2f46ba,_0x9f45ac,_0x4286de){const _0x439f4c=_0xae1692;super(),this['_instanceService']=_0x2f46ba,this[_0x439f4c(0x1a9)]=_0x9f45ac,this['_configService']=_0x4286de;}async['runOnServer'](_0x25d936,_0x5c8b2a,_0x989c8d,..._0x45ed93){const _0x58d845=_0xae1692;var _0xbfb35e,_0x267cea,_0x1c509c,_0x2cb981;const _0x561714=this[_0x58d845(0x1bf)][_0x58d845(0x34e)]();if(!_0x561714)throw new Error(_0x58d845(0x2e8));const _0xa015e4=((_0xbfb35e=this[_0x58d845(0x158)]['getConfig'](_0x2fa41a))!=null?_0xbfb35e:_0x42dddb)+'/'+_0x25d936+'/run/'+_0x5c8b2a,_0x4ecefc=new URL(window[_0x58d845(0x262)][_0x58d845(0x330)]),_0x48a306={'scriptId':_0x25d936,'runId':(_0x267cea=_0x4ecefc['searchParams'][_0x58d845(0x29a)](_0x58d845(0x267)))!=null?_0x267cea:'','function':_0x5c8b2a,'unitId':_0x561714[_0x58d845(0x14f)](),'argsOfFunction':JSON['stringify'](_0x45ed93),'invokeId':(_0x1c509c=_0x989c8d[_0x58d845(0x22a)])!=null?_0x1c509c:'','executionId':(_0x2cb981=_0x989c8d['executionId'])!=null?_0x2cb981:''};try{const _0x49da37=await this['_httpService'][_0x58d845(0x2e0)](_0xa015e4,{'body':_0x48a306});return _0x49da37[_0x58d845(0x309)][_0x58d845(0x327)]&&_0x49da37['body'][_0x58d845(0x327)][_0x58d845(0x231)]!==Lt['OK']?_0x58d845(0x2ba):_0x49da37[_0x58d845(0x309)][_0x58d845(0x2c3)];}catch{return'Failed';}}};nt=On([Ce(0x0,_0x3b348f),Ce(0x1,_0x41baf4(_0x2ce152)),Ce(0x2,_0x2356fd)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x285911{constructor(){const _0x1fb0d7=_0xae1692;super(),l(this,_0x1fb0d7(0x1b5),_0x37ff84()),l(this,'_selfUnitIDs',new Set()),l(this,_0x1fb0d7(0x219),new Map()),l(this,'_heartbeatTimer',null),l(this,_0x1fb0d7(0x2fb),new Map()),l(this,_0x1fb0d7(0x17e),new Map()),this[_0x1fb0d7(0x159)]();}['dispose'](){const _0x3dc505=_0xae1692;super['dispose'](),this[_0x3dc505(0x2fb)][_0x3dc505(0x174)]((_0xf6bc0e,_0x569dc4)=>this['_removeClearOtherTimer'](_0x569dc4)),this['_heartbeatTimer']&&window[_0x3dc505(0x25c)](this[_0x3dc505(0x351)]);}[_0xae1692(0x2b9)](_0x1459b5){return this['_ensureSubject'](_0x1459b5)['pipe'](_0x2cd240());}[_0xae1692(0x1bd)](_0x50dd8a){const _0x1c9755=_0xae1692;this[_0x1c9755(0x1b8)][_0x1c9755(0x1fe)]===0x0&&this[_0x1c9755(0x1d8)](),this[_0x1c9755(0x1b8)][_0x1c9755(0x1dd)](_0x50dd8a),this[_0x1c9755(0x22f)]({'type':0x0,'memberID':this[_0x1c9755(0x1b5)],'unitIDs':[_0x50dd8a],'isForwarded':!0x1});}[_0xae1692(0x289)](_0xdcb653){const _0x34b34c=_0xae1692;this[_0x34b34c(0x1b8)][_0x34b34c(0x29b)](_0xdcb653),this[_0x34b34c(0x1b8)][_0x34b34c(0x1fe)]===0x0&&this[_0x34b34c(0x351)]&&window[_0x34b34c(0x25c)](this[_0x34b34c(0x351)]);}['_init'](){const _0xa3c529=_0xae1692;this[_0xa3c529(0x2b3)](_0x4a6403(_0x29b0e7(window,_0xa3c529(0x206))[_0xa3c529(0x2f6)](_0x5d65f0=>{const _0x4caebc=_0xa3c529;if(_0x5d65f0[_0x4caebc(0x1a3)]!==ot||!_0x5d65f0['newValue'])return;const _0x5ddb11=JSON[_0x4caebc(0x180)](_0x5d65f0[_0x4caebc(0x255)]);this['_handleEvent'](_0x5ddb11);}))),window[_0xa3c529(0x331)](_0xa3c529(0x173),()=>this[_0xa3c529(0x22f)]({'type':0x1,'memberID':this[_0xa3c529(0x1b5)],'unitIDs':Array[_0xa3c529(0x21f)](this['_selfUnitIDs'])}));}[_0xae1692(0x190)](_0x492ee1){const _0x4e1b86=_0xae1692;switch(_0x492ee1[_0x4e1b86(0x1d2)]){case 0x0:this[_0x4e1b86(0x2f2)](_0x492ee1);break;case 0x1:this[_0x4e1b86(0x1f3)](_0x492ee1);break;case 0x2:this[_0x4e1b86(0x1c7)](_0x492ee1);break;}}['_handleJoinEvent'](_0x62cc26){const _0x1020b8=_0xae1692,{unitIDs:_0x1f10ef,memberID:_0x250f42,isForwarded:_0x4cabd2}=_0x62cc26;_0x1f10ef[_0x1020b8(0x174)](_0x24dfdd=>{const _0x4e1564=_0x1020b8;if(!_0x4cabd2&&this['_unitOnClients'][_0x4e1564(0x182)](_0x24dfdd)&&this[_0x4e1564(0x367)](_0x24dfdd)[_0x4e1564(0x300)](_0x115102[_0x4e1564(0x29f)]),!this[_0x4e1564(0x219)][_0x4e1564(0x182)](_0x24dfdd)||!this[_0x4e1564(0x219)][_0x4e1564(0x29a)](_0x24dfdd)['has'](_0x250f42)){const _0x8d60a6=this[_0x4e1564(0x219)]['get'](_0x24dfdd)||new Set();_0x8d60a6[_0x4e1564(0x1dd)](_0x250f42),this['_unitOnClients'][_0x4e1564(0x1f0)](_0x24dfdd,_0x8d60a6),this[_0x4e1564(0x357)](_0x250f42);}}),_0x4cabd2||this['_send']({'type':0x0,'memberID':this[_0x1020b8(0x1b5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x251f4f){const _0x5aa8c9=_0xae1692;this[_0x5aa8c9(0x1d1)](_0x251f4f);const _0x42902c=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x17bd1d=>{const _0x140497=_0x17f3;_0x17bd1d[_0x140497(0x29b)](_0x251f4f);});},rt*0x2);this[_0x5aa8c9(0x2fb)]['set'](_0x251f4f,_0x42902c);}[_0xae1692(0x1d1)](_0x3fa33d){const _0x324860=_0xae1692;if(this[_0x324860(0x2fb)]['has'](_0x3fa33d)){const _0x2c0e6f=this[_0x324860(0x2fb)]['get'](_0x3fa33d);_0x2c0e6f&&window['clearTimeout'](_0x2c0e6f),this['_clearOtherTimers'][_0x324860(0x1f0)](_0x3fa33d,null);}}['_handleLeaveEvent'](_0x57990d){const _0x2af02b=_0xae1692,{memberID:_0xa387f0,unitIDs:_0x477073}=_0x57990d;_0x477073[_0x2af02b(0x174)](_0x1c50c9=>{const _0x412952=_0x2af02b;var _0x473da8;const _0x249f27=this['_unitOnClients'][_0x412952(0x29a)](_0x1c50c9);_0x249f27&&(_0x249f27['delete'](_0xa387f0),(_0x473da8=this['_ensureSubject'](_0x1c50c9))==null||_0x473da8[_0x412952(0x300)](_0x249f27['size']===0x0?_0x115102['NO_OTHER_CLIENTS_EDITING']:_0x115102[_0x412952(0x29f)]));}),this[_0x2af02b(0x1d1)](_0xa387f0);}[_0xae1692(0x1c7)](_0x322776){const _0x42601d=_0xae1692;this[_0x42601d(0x357)](_0x322776['memberID']);}[_0xae1692(0x22f)](_0x139449){const _0x403cec=_0xae1692;localStorage[_0x403cec(0x20b)](ot,JSON['stringify'](_0x139449));}['_scheduleHeartbeat'](){const _0x504589=_0xae1692;this[_0x504589(0x351)]=window[_0x504589(0x2c5)](()=>{const _0x47289b=_0x504589;this[_0x47289b(0x22f)]({'type':0x2,'memberID':this[_0x47289b(0x1b5)]});},rt);}[_0xae1692(0x367)](_0x2c5665){const _0x4bb2d3=_0xae1692;return this[_0x4bb2d3(0x17e)][_0x4bb2d3(0x182)](_0x2c5665)||this[_0x4bb2d3(0x17e)][_0x4bb2d3(0x1f0)](_0x2c5665,new _0x26a181(_0x115102[_0x4bb2d3(0x157)])),this['_unitStatus'][_0x4bb2d3(0x29a)](_0x2c5665);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,we as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4bbe7b=_0x4045;(function(_0x15bc7c,_0x213cf0){const _0x4a81fe=_0x4045,_0x58fbff=_0x15bc7c();while(!![]){try{const _0x5c24f7=parseInt(_0x4a81fe(0x17f))/0x1+-parseInt(_0x4a81fe(0x172))/0x2+parseInt(_0x4a81fe(0x177))/0x3*(-parseInt(_0x4a81fe(0x174))/0x4)+parseInt(_0x4a81fe(0x185))/0x5+-parseInt(_0x4a81fe(0x182))/0x6*(-parseInt(_0x4a81fe(0x181))/0x7)+parseInt(_0x4a81fe(0x184))/0x8+-parseInt(_0x4a81fe(0x171))/0x9;if(_0x5c24f7===_0x213cf0)break;else _0x58fbff['push'](_0x58fbff['shift']());}catch(_0x1051fe){_0x58fbff['push'](_0x58fbff['shift']());}}}(_0x7b49,0x59159));function _0x4045(_0x5474a1,_0x53d695){const _0x7b4948=_0x7b49();return _0x4045=function(_0x4045a6,_0x4df28f){_0x4045a6=_0x4045a6-0x170;let _0x5a7944=_0x7b4948[_0x4045a6];return _0x5a7944;},_0x4045(_0x5474a1,_0x53d695);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4bbe7b(0x17a),'conflict':_0x4bbe7b(0x173),'notCollab':_0x4bbe7b(0x175),'synced':_0x4bbe7b(0x17c),'syncing':_0x4bbe7b(0x179),'offline':_0x4bbe7b(0x17d)},'session':{'connection-failed':_0x4bbe7b(0x17b),'will-retry':_0x4bbe7b(0x180),'room-full':_0x4bbe7b(0x17e),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4bbe7b(0x183),'content':_0x4bbe7b(0x178)},'permission':{'title':'Authentication\x20Error','content':_0x4bbe7b(0x170)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x4bbe7b(0x176)}},o=e;function _0x7b49(){const _0x4d32c3=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','6213096OXNLBY','937746okDqpI','Edit\x20conflicts','113836yUctJZ','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','18PGfNlB','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.','Syncing...','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.','Synced','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','527567MjbfsS','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','28JNTJhn','354678eouEQg','Collaboration\x20Conflict','2376656qdoSoI','3168795gviBgF'];_0x7b49=function(){return _0x4d32c3;};return _0x7b49();}export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2a75(_0x413603,_0x1dee51){const _0x3e5856=_0x3e58();return _0x2a75=function(_0x2a753a,_0x1c9409){_0x2a753a=_0x2a753a-0xb7;let _0x24f5a2=_0x3e5856[_0x2a753a];return _0x24f5a2;},_0x2a75(_0x413603,_0x1dee51);}const _0x159eac=_0x2a75;(function(_0x1a418a,_0x4f6810){const _0x158e1d=_0x2a75,_0x46edc9=_0x1a418a();while(!![]){try{const _0x2ae19d=parseInt(_0x158e1d(0xc9))/0x1+parseInt(_0x158e1d(0xc8))/0x2+parseInt(_0x158e1d(0xb7))/0x3+parseInt(_0x158e1d(0xcc))/0x4*(parseInt(_0x158e1d(0xca))/0x5)+parseInt(_0x158e1d(0xc7))/0x6*(-parseInt(_0x158e1d(0xcd))/0x7)+-parseInt(_0x158e1d(0xcf))/0x8*(-parseInt(_0x158e1d(0xc3))/0x9)+-parseInt(_0x158e1d(0xc5))/0xa;if(_0x2ae19d===_0x4f6810)break;else _0x46edc9['push'](_0x46edc9['shift']());}catch(_0x26b787){_0x46edc9['push'](_0x46edc9['shift']());}}}(_0x3e58,0x8ac97));const e={'collab-client':{'tooltip':{'reconnect':_0x159eac(0xc0)}},'collabStatus':{'fetchMiss':_0x159eac(0xc6),'conflict':_0x159eac(0xc4),'notCollab':'Local\x20file','synced':_0x159eac(0xcb),'syncing':'Syncing...','offline':_0x159eac(0xc2)},'session':{'connection-failed':_0x159eac(0xce),'will-retry':_0x159eac(0xba),'room-full':_0x159eac(0xb9),'collaboration-timeout':_0x159eac(0xb8)},'conflict':{'title':_0x159eac(0xbf),'content':_0x159eac(0xbb)},'permission':{'title':_0x159eac(0xbc),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x159eac(0xbd)},'closeRoom':_0x159eac(0xc1)},'auth':{'needGotoLoginAlert':_0x159eac(0xbe)}};export{e as default};function _0x3e58(){const _0x2ec050=['3199446BkWslV','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','165177sGOgng','Edit\x20conflicts','18671110ySiwMX','Syncing\x20server\x20data...','19446AcrFxp','983932XjudyG','786583awaBee','144515eBNBix','Synced','80qyRsJZ','1925KeVFgh','Connection\x20failed,\x20please\x20check\x20your\x20network.','176iqKQQH'];_0x3e58=function(){return _0x2ec050;};return _0x3e58();}
|