@univerjs-pro/collaboration-client-ui 0.10.0-nightly.202507310307 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/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 +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3846ff=_0x3d7e;(function(_0x5c6239,_0xebb0f8){const _0x402ff8=_0x3d7e,_0x5660c1=_0x5c6239();while(!![]){try{const _0x3a94b7=-parseInt(_0x402ff8(0xdb))/0x1*(-parseInt(_0x402ff8(0x101))/0x2)+parseInt(_0x402ff8(0x14d))/0x3+-parseInt(_0x402ff8(0x225))/0x4+-parseInt(_0x402ff8(0x169))/0x5*(parseInt(_0x402ff8(0xc5))/0x6)+parseInt(_0x402ff8(0x22a))/0x7*(parseInt(_0x402ff8(0x20f))/0x8)+parseInt(_0x402ff8(0x10d))/0x9+-parseInt(_0x402ff8(0x22d))/0xa*(-parseInt(_0x402ff8(0x127))/0xb);if(_0x3a94b7===_0xebb0f8)break;else _0x5660c1['push'](_0x5660c1['shift']());}catch(_0x4e5d46){_0x5660c1['push'](_0x5660c1['shift']());}}}(_0xc8cb,0xdfd5a));var xt=Object[_0x3846ff(0x250)],Bt=(_0x104228,_0x2cb96e,_0x210343)=>_0x2cb96e in _0x104228?xt(_0x104228,_0x2cb96e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x210343}):_0x104228[_0x2cb96e]=_0x210343,_=(_0x13be29,_0x2d7929,_0x1ef7d8)=>Bt(_0x13be29,typeof _0x2d7929!=_0x3846ff(0x192)?_0x2d7929+'':_0x2d7929,_0x1ef7d8);import{MemberService as _0x496b01,SessionStatus as _0x18ec6e,CollaborationSessionService as _0x8cd09e,CollaborationStatus as _0x28123e,CollaborationController as _0x82f0fa,ILocalCacheService as _0x67222d,CollaborationUIEventService as _0x49e50d,CollaborationUIEventId as _0x53338d,DataLoaderService as _0x4523d5,DocCollaborationEntity as _0xd72c48,getLocalCacheKey as _0x3502fb,LOCAL_CACHE_INTERVAL as _0x50f216,LOCAL_CACHE_INTERVAL_KEY as _0x11c944,UniverCollaborationClientPlugin as _0x320de3,CollaborationSocketService as _0x3a523d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x476ac8,DEFAULT_WS_SESSION_TICKET_URL as _0xf1711c,UnitStatus as _0x5e8d01,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x11c112,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x47d11a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1dd0ba,Disposable as _0x3a37e9,DOC_RANGE_TYPE as _0x57a474,Inject as _0xcb6f13,Injector as _0x36eec9,IUniverInstanceService as _0x29ac28,ICommandService as _0x2dbc8c,debounce as _0x4ba92b,Rectangle as _0x22a2f0,DisposableCollection as _0x5faf45,toDisposable as _0x471471,UniverInstanceType as _0x27422f,generateRandomId as _0x4ae1ba,COLORS as _0x58b494,ColorKit as _0x5be3b0,ThemeService as _0x25d1d1,fromEventSubject as _0x13ab46,LocaleService as _0x4c047b,createIdentifier as _0x37d825,ILogService as _0x2feec0,Optional as _0x55df5d,Workbook as _0x3a9cd8,Tools as _0x7aa6fc,CommandType as _0x3feb97,IConfigService as _0x2d119b,ILocalStorageService as _0x165c1e,DependentOn as _0x2560fd,Plugin as _0x5ca1ca,merge as _0x153e95,registerDependencies as _0x3ee934,mergeOverrideWithDependencies as _0xa7cbf8,touchDependencies as _0x5f0cb6}from'@univerjs/core';import{Shape as _0x55659a,Rect as _0x302ade,getColor as _0x283218,RegularPolygon as _0x1c22ff,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5df580,Vector2 as _0x101d62,SHEET_VIEWPORT_KEY as _0xeceeba,IRenderManagerService as _0x289176}from'@univerjs/engine-render';import{ISocketService as _0x2de838,WebSocketService as _0x22b8b2,HTTPService as _0x295492}from'@univerjs/network';import{IDocClipboardService as _0x41e7ae,NodePositionConvertToCursor as _0x29c550,NodePositionConvertToRectRange as _0x44049a,TEXT_RANGE_LAYER_INDEX as _0x41ddac,SetDocZoomRatioOperation as _0x1b5aea,DocIMEInputManagerService as _0x3bb9c0,DocStateChangeManagerService as _0x343bb8}from'@univerjs/docs-ui';import{IImageIoService as _0x4c4b4}from'@univerjs/drawing';import{BehaviorSubject as _0x40deef,debounceTime as _0x2250ea,takeUntil as _0xa4e4b6,Subject as _0xe21be4,filter as _0x8bc2bb,switchMap as _0x1ae0b1,merge as _0x251329,combineLatest as _0x4359ad,of as _0x49ce4b,fromEvent as _0x1fe3c4,shareReplay as _0x419dd5,mapTo as _0x583bfe,distinctUntilChanged as _0x5eb0ae}from'rxjs';import{ITransformService as _0x59419b,CollaborationEvent as _0x4e15b9,isTransformMutationFailure as _0x15999e,isTransformMutationsWithChangesetSuccess as _0x2bf266,RevisionService as _0x4ceb1f,ISnapshotServerService as _0x57b470}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1fac6c,RichTextEditingMutation as _0x4f6e4f,DocSelectionManagerService as _0x33914e,DocSkeletonManagerService as _0x243909}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x15ca09,serializeRangeWithSheet as _0x14b858}from'@univerjs/engine-formula';import{RefRangeService as _0x104543,SetSelectionsOperation as _0x5dfab4,SheetsSelectionsService as _0x2abbae,EffectRefRangId as _0x56190c,handleIRemoveRow as _0x1c49b9,handleIRemoveCol as _0x286e58,handleMoveRange as _0x110de9,handleInsertRow as _0x7e199e,handleInsertRangeMoveRight as _0x44843f,handleInsertRangeMoveDown as _0x140b3e,handleInsertCol as _0x23cd1e,handleDeleteRangeMoveUp as _0x50e6df,handleDeleteRangeMoveLeft as _0x463a0d,runRefRangeMutations as _0x72c03a,SetWorksheetActivateCommand as _0x183106}from'@univerjs/sheets';import{map as _0x22d561,filter as _0x505b42,throttleTime as _0x353f3e,takeUntil as _0x13d165,switchMap as _0x3fd595}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3e5d9e,getCoordByCell as _0x40429a,getSheetObject as _0x5aa4fd}from'@univerjs/sheets-ui';import{jsx as _0x2f1c89,jsxs as _0x35ed68}from'react/jsx-runtime';import{useObservable as _0x1816ec,useDependency as _0x36b3a5,IUIPartsService as _0x447572,BuiltInUIPart as _0xe910f7,connectInjector as _0x2f6785,IBeforeCloseService as _0x3debdd,IMessageService as _0x422831,INotificationService as _0x22ad52}from'@univerjs/ui';import{Tooltip as _0x2477ff,clsx as _0x21dd86,MessageType as _0x3e623b}from'@univerjs/design';import{forwardRef as _0x8bf2f1,useRef as _0xb27044,createElement as _0x5c9ad0,useCallback as _0x30382f}from'react';import{IRemoteInstanceService as _0x267e52}from'@univerjs/rpc';var ci=Object[_0x3846ff(0x291)],li=(_0x1f2cf3,_0x4d466c,_0x142f03,_0x233868)=>{const _0x268c81=_0x3846ff;for(var _0x457aed=_0x233868>0x1?void 0x0:_0x233868?ci(_0x4d466c,_0x142f03):_0x4d466c,_0x562aec=_0x1f2cf3[_0x268c81(0x17b)]-0x1,_0x884a6;_0x562aec>=0x0;_0x562aec--)(_0x884a6=_0x1f2cf3[_0x562aec])&&(_0x457aed=_0x884a6(_0x457aed)||_0x457aed);return _0x457aed;},Je=(_0xe94db7,_0x16d8ee)=>(_0x427a3c,_0x37916b)=>_0x16d8ee(_0x427a3c,_0x37916b,_0xe94db7);let Ne=class extends _0x1dd0ba{constructor(_0x344d66,_0x75ee49){const _0x1003c8=_0x3846ff;super(),this[_0x1003c8(0x123)]=_0x344d66,this[_0x1003c8(0x202)]=_0x75ee49,this[_0x1003c8(0x13c)]();}['_init'](){const _0x40344a=_0x3846ff,_0x393aea=this;this['disposeWithMe'](this['_docClipboardService'][_0x40344a(0x1dd)]({'onBeforePasteImage':async _0x494468=>{const _0xa45882=_0x40344a,_0x59f3a8=await _0x393aea[_0xa45882(0x202)][_0xa45882(0x235)](_0x494468);return _0x59f3a8?{'source':_0x59f3a8[_0xa45882(0x255)],'imageSourceType':_0x59f3a8[_0xa45882(0xeb)]}:null;}}));}};Ne=li([Je(0x0,_0x41e7ae),Je(0x1,_0x4c4b4)],Ne);const Ze=[_0x3846ff(0x2b6),_0x3846ff(0x13e),'green.600',_0x3846ff(0x290),_0x3846ff(0x129),_0x3846ff(0x221)];class ke extends _0x3a37e9{constructor(){const _0x270eb9=_0x3846ff;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x270eb9(0x15a),0x0);}[_0x3846ff(0x259)](_0x1ba099){const _0x20ee08=_0x3846ff;if(this[_0x20ee08(0x256)][_0x20ee08(0x1df)](_0x1ba099))return this[_0x20ee08(0x256)][_0x20ee08(0x119)](_0x1ba099);const _0x43c930=Ze[this[_0x20ee08(0x15a)]];return this['_colorIndex']=(this[_0x20ee08(0x15a)]+0x1)%Ze[_0x20ee08(0x17b)],this[_0x20ee08(0x256)][_0x20ee08(0x28a)](_0x1ba099,_0x43c930),_0x43c930;}}function Rt(_0x3e9056){const _0x3f1994=_0x3846ff;let _0x3af9f7='';for(const _0x480858 of _0x3e9056){const {startOffset:_0x34c396,endOffset:_0x10c99a,isActive:_0x3d6179,rangeType:_0x1a71ea,segmentId:_0x503146,segmentPage:_0x982224}=_0x480858;_0x3af9f7[_0x3f1994(0x17b)]&&(_0x3af9f7+=','),_0x3af9f7+=_0x34c396+':'+_0x10c99a+':'+(_0x3d6179?'1':'0')+':'+_0x1a71ea+':'+_0x503146+':'+_0x982224;}return _0x3af9f7;}function _i(_0x46a882){const _0x2b0fba=_0x3846ff,_0x5d1faa=_0x46a882[_0x2b0fba(0x282)](','),_0x4c3b81=[];for(const _0x25cc3f of _0x5d1faa){const [_0x1de32f,_0x16ad39,_0x531515,_0x24c27c,_0x199c77,_0x3cb88e]=_0x25cc3f['split'](':');_0x4c3b81[_0x2b0fba(0x12a)]({'startOffset':Number(_0x1de32f),'endOffset':Number(_0x16ad39),'collapsed':_0x1de32f===_0x16ad39,'isActive':_0x531515==='1','rangeType':_0x24c27c===_0x57a474[_0x2b0fba(0x1da)]?_0x57a474[_0x2b0fba(0x1da)]:_0x57a474[_0x2b0fba(0x27f)],'segmentId':typeof _0x199c77==_0x2b0fba(0x240)?String(_0x199c77):'','segmentPage':Number(_0x3cb88e!=null?_0x3cb88e:-0x1)});}return _0x4c3b81[_0x2b0fba(0x1c8)](_0x4e6503=>_0x4e6503['isActive'])||(_0x4c3b81[0x0][_0x2b0fba(0x1e0)]=!0x0),_0x4c3b81;}class He extends _0x1dd0ba{constructor(){const _0x32e9f0=_0x3846ff;super(...arguments),_(this,_0x32e9f0(0x1cf),new _0x40deef(null)),_(this,_0x32e9f0(0x1b0),this[_0x32e9f0(0x1cf)][_0x32e9f0(0x14c)]());}[_0x3846ff(0x19b)](_0x318622){const _0xaafb85=_0x3846ff,{unitID:_0x46a80d,memberID:_0x4930ef,textRanges:_0x5b98f7}=_0x318622,_0x1662f6=Rt(_0x5b98f7);if(_0x1662f6==='')return;const _0x27af96={'unitID':_0x46a80d,'memberID':_0x4930ef,'selection':_0x1662f6};this['_collabCursorState$'][_0xaafb85(0xb0)](_0x27af96);}}var hi=Object[_0x3846ff(0x291)],ui=(_0x36f394,_0x255aea,_0x12311e,_0x40098b)=>{for(var _0x4e7364=_0x40098b>0x1?void 0x0:_0x40098b?hi(_0x255aea,_0x12311e):_0x255aea,_0x4689f9=_0x36f394['length']-0x1,_0x3fc3b5;_0x4689f9>=0x0;_0x4689f9--)(_0x3fc3b5=_0x36f394[_0x4689f9])&&(_0x4e7364=_0x3fc3b5(_0x4e7364)||_0x4e7364);return _0x4e7364;},P=(_0xa6b5db,_0x243132)=>(_0x1d614d,_0x47d3d7)=>_0x243132(_0x1d614d,_0x47d3d7,_0xa6b5db);const di=0x12c,fi=0x64;let Ue=class extends _0x1dd0ba{constructor(_0x20cb9d,_0x1e8289,_0x16fbd7,_0x4564f0,_0x28eb48,_0x135f29,_0x70602b,_0x353794,_0x44a062){const _0x410084=_0x3846ff;super(),_(this,_0x410084(0x17d),!0x1),_(this,_0x410084(0x13c),!0x1),_(this,_0x410084(0x1be),new _0x40deef(new Map())),_(this,_0x410084(0x1bc),this[_0x410084(0x1be)][_0x410084(0x14c)]()),_(this,'_roomMembers$',new _0x40deef([])),_(this,_0x410084(0x263),this[_0x410084(0x162)]['pipe'](_0x2250ea(di))),_(this,_0x410084(0x24a),_0x4ba92b(_0x7bd35b=>{const _0x25fa5e=_0x410084,_0x51bf98={'eventID':_0x4e15b9[_0x25fa5e(0xcc)],'data':{'unitID':this[_0x25fa5e(0x190)],'memberID':this['_session'][_0x25fa5e(0x287)](),'selection':Rt(_0x7bd35b)}};this['_session']['send'](_0x51bf98,this[_0x25fa5e(0x190)]);},fi)),(this['unitID']=_0x20cb9d,this[_0x410084(0xf2)]=_0x1e8289,this[_0x410084(0x237)]=_0x16fbd7,this['_colorAssignService']=_0x4564f0,this[_0x410084(0x1f5)]=_0x28eb48,this[_0x410084(0x16c)]=_0x135f29,this[_0x410084(0x219)]=_0x70602b,this[_0x410084(0x21a)]=_0x353794,this[_0x410084(0x1ba)]=_0x44a062);}get[_0x3846ff(0x17f)](){const _0x4430db=_0x3846ff;return this[_0x4430db(0x1be)][_0x4430db(0x27e)]();}get[_0x3846ff(0x1ac)](){const _0x4ba8d9=_0x3846ff;return this[_0x4ba8d9(0x162)]['getValue']();}[_0x3846ff(0x1b6)](){const _0x17019d=_0x3846ff;super[_0x17019d(0x1b6)](),this[_0x17019d(0x1be)][_0x17019d(0xb0)](new Map()),this['_cursorInfo$'][_0x17019d(0x165)](),this[_0x17019d(0x162)][_0x17019d(0xb0)]([]),this[_0x17019d(0x162)][_0x17019d(0x165)]();}[_0x3846ff(0x1bf)](){const _0x238b14=_0x3846ff;this[_0x238b14(0x13c)]||(this[_0x238b14(0x13c)]=!0x0,this[_0x238b14(0xf2)][_0x238b14(0xfe)]['pipe'](_0xa4e4b6(this[_0x238b14(0x2a5)]))[_0x238b14(0x100)](_0x13054f=>{const _0x1f1cb8=_0x238b14;_0x13054f===_0x18ec6e['ONLINE']?this[_0x1f1cb8(0x233)]():this['_toggleOffline']();}),this[_0x238b14(0xf2)][_0x238b14(0xe6)]['pipe'](_0xa4e4b6(this[_0x238b14(0x2a5)]))['subscribe'](_0x15ba70=>{const _0x176258=_0x238b14,_0x48b6ec=_0x15ba70['eventID'];_0x48b6ec===_0x4e15b9[_0x176258(0xcc)]&&this[_0x176258(0x146)](_0x15ba70),_0x48b6ec===_0x4e15b9['USERS_LEAVE']&&this[_0x176258(0x257)](_0x15ba70);}),this['disposeWithMe'](this[_0x238b14(0x1ba)][_0x238b14(0xae)](_0x504987=>{const _0x431a36=_0x238b14,_0x560e13=_0x504987[_0x431a36(0x248)];_0x560e13!=null&&this[_0x431a36(0x17d)]&&_0x504987['id']===_0x1fac6c['id']&&_0x560e13[_0x431a36(0x1d6)]===this[_0x431a36(0x190)]&&_0x560e13[_0x431a36(0x1a9)]===!0x1&&_0x560e13[_0x431a36(0x210)][_0x431a36(0x17b)]>0x0&&this[_0x431a36(0x24a)](_0x560e13['ranges']);})),this[_0x238b14(0x16c)][_0x238b14(0x1b0)][_0x238b14(0xda)](_0xa4e4b6(this['dispose$']))[_0x238b14(0x100)](_0x4c4925=>{const _0x408cf2=_0x238b14;if((_0x4c4925==null?void 0x0:_0x4c4925[_0x408cf2(0x190)])!==this['unitID'])return;const _0x57df2f={'eventID':_0x4e15b9['UPDATE_CURSOR'],'data':_0x4c4925};this['_onCursorUpdate'](_0x57df2f);}),this[_0x238b14(0x16a)](this[_0x238b14(0x1ba)][_0x238b14(0xae)](_0x5beee4=>{const _0x3b6170=_0x238b14;if(_0x5beee4[_0x3b6170(0x248)]==null)return;const _0x7443f7=_0x5beee4[_0x3b6170(0x248)];if(_0x5beee4['id']!==_0x4f6e4f['id']||_0x7443f7[_0x3b6170(0x1d6)]!==this[_0x3b6170(0x190)])return;const _0x420a53={'id':'doc.mutation.rich-text-editing','params':_0x7443f7},_0x37327b=this[_0x3b6170(0x17f)];for(const [_0x191400,_0x30cc2c]of _0x37327b){const _0x2e12b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3b6170(0x190)],'actions':null,'textRanges':_0x30cc2c[_0x3b6170(0x210)]}},_0x2af1b8=this['_transformService'][_0x3b6170(0x1a6)](_0x420a53,_0x2e12b7,!0x1);if(_0x15999e(_0x2af1b8))throw _0x2af1b8[_0x3b6170(0x1e6)];_0x37327b[_0x3b6170(0x28a)](_0x191400,{..._0x30cc2c,'ranges':_0x2af1b8[_0x3b6170(0x261)]['params'][_0x3b6170(0x295)]});}queueMicrotask(()=>{const _0x4d8c64=_0x3b6170;this[_0x4d8c64(0x1be)][_0x4d8c64(0xb0)](_0x37327b);});})));}[_0x3846ff(0x146)](_0x2cea43){const _0x381ada=_0x3846ff;var _0xb23879,_0x1785ae;const {memberID:_0x551107,selection:_0xe167cb}=_0x2cea43['data'],_0x2917b8=_i(_0xe167cb),_0x9047bf=(_0x1785ae=(_0xb23879=this[_0x381ada(0x1f5)]['getMember'](this[_0x381ada(0x190)],_0x551107))==null?void 0x0:_0xb23879[_0x381ada(0x24c)])!=null?_0x1785ae:_0x381ada(0x106),_0x1d6210={'color':this[_0x381ada(0x234)][_0x381ada(0x259)](_0x551107),'name':_0x9047bf,'ranges':_0x2917b8},_0x552414=this[_0x381ada(0x17f)];_0x552414[_0x381ada(0x28a)](_0x551107,_0x1d6210),this[_0x381ada(0x1be)][_0x381ada(0xb0)](_0x552414);}[_0x3846ff(0x257)](_0xbebada){const _0x340434=_0x3846ff,{memberID:_0x357636}=_0xbebada[_0x340434(0x2b3)],_0x1a1677=this[_0x340434(0x17f)];_0x1a1677['delete'](_0x357636),this[_0x340434(0x1be)]['next'](_0x1a1677);}['_toggleOnline'](){const _0x45c383=_0x3846ff;var _0x41c6e8;if(this['_online']=!0x0,((_0x41c6e8=this['_univerInstanceService'][_0x45c383(0x1fe)]())==null?void 0x0:_0x41c6e8[_0x45c383(0x196)]())!==this[_0x45c383(0x190)])return;const _0x3e0e6d=this[_0x45c383(0x237)]['get'](_0x33914e)[_0x45c383(0x110)]();Array[_0x45c383(0xf1)](_0x3e0e6d)&&_0x3e0e6d[_0x45c383(0x17b)]>0x0&&this[_0x45c383(0x24a)](_0x3e0e6d);}['_toggleOffline'](){const _0x301bb9=_0x3846ff;this[_0x301bb9(0x17d)]=!0x1;}};Ue=ui([P(0x2,_0xcb6f13(_0x36eec9)),P(0x3,_0xcb6f13(ke)),P(0x4,_0xcb6f13(_0x496b01)),P(0x5,_0xcb6f13(He)),P(0x6,_0x59419b),P(0x7,_0x29ac28),P(0x8,_0x2dbc8c)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x409f0a,_0x226e69,_0x342688,_0x37ae15)=>{const _0x4909ab=_0x3846ff;for(var _0x2a452c=_0x37ae15>0x1?void 0x0:_0x37ae15?Si(_0x226e69,_0x342688):_0x226e69,_0x1c6a8d=_0x409f0a[_0x4909ab(0x17b)]-0x1,_0x44eded;_0x1c6a8d>=0x0;_0x1c6a8d--)(_0x44eded=_0x409f0a[_0x1c6a8d])&&(_0x2a452c=_0x44eded(_0x2a452c)||_0x2a452c);return _0x2a452c;},x=(_0x66e99a,_0x472338)=>(_0x3853ca,_0x23c4e1)=>_0x472338(_0x3853ca,_0x23c4e1,_0x66e99a);const Ii=0x12c,vi=0x64,gi=()=>{let _0x3da0bc=[],_0x4c78ae=!0x1;return _0x534b7d=>{const _0x19187e=_0x3d7e;_0x3da0bc[_0x19187e(0x12a)](_0x534b7d),_0x4c78ae||(_0x4c78ae=!0x0,setTimeout(()=>{const _0x542db0=_0x19187e;_0x3da0bc[_0x542db0(0x1d7)](_0x205c0e=>_0x205c0e()),_0x3da0bc=[],_0x4c78ae=!0x1;}));};};let Me=class extends _0x1dd0ba{constructor(_0x545917,_0x344507,_0x2e04d6,_0x58605b,_0x5168b3,_0x301275,_0xb25ab9,_0x37c173){const _0x375e89=_0x3846ff;super(),_(this,_0x375e89(0x17d),!0x1),_(this,'_init',!0x1),_(this,_0x375e89(0x1be),new _0x40deef(new Map())),_(this,_0x375e89(0x1bc),this[_0x375e89(0x1be)][_0x375e89(0x14c)]()),_(this,'_roomMembers$',new _0x40deef([])),_(this,_0x375e89(0x263),this[_0x375e89(0x162)][_0x375e89(0xda)](_0x2250ea(Ii))),_(this,'_updateLocalCursor',_0x4ba92b((_0x22e18d,_0x1ee796)=>{const _0x3a7d30=_0x375e89,_0x2d8204={'eventID':_0x4e15b9[_0x3a7d30(0xcc)],'data':{'unitID':this[_0x3a7d30(0x190)],'memberID':this[_0x3a7d30(0xf2)][_0x3a7d30(0x287)](),'selection':_0x14b858(_0x22e18d,_0x1ee796[_0x3a7d30(0x131)])}};this[_0x3a7d30(0xf2)][_0x3a7d30(0x11c)](_0x2d8204,this[_0x3a7d30(0x190)]);},vi)),(this[_0x375e89(0x190)]=_0x545917,this[_0x375e89(0xf2)]=_0x344507,this[_0x375e89(0x237)]=_0x2e04d6,this[_0x375e89(0x234)]=_0x58605b,this[_0x375e89(0x1f5)]=_0x5168b3,this[_0x375e89(0x21a)]=_0x301275,this['_commandService']=_0xb25ab9,this[_0x375e89(0x223)]=_0x37c173);}get[_0x3846ff(0x17f)](){const _0x1d2892=_0x3846ff;return this[_0x1d2892(0x1be)]['getValue']();}get[_0x3846ff(0x1ac)](){const _0x85ff21=_0x3846ff;return this['_roomMembers$'][_0x85ff21(0x27e)]();}['dispose'](){const _0x2635f7=_0x3846ff;super[_0x2635f7(0x1b6)](),this[_0x2635f7(0x1be)][_0x2635f7(0xb0)](new Map()),this[_0x2635f7(0x1be)]['complete'](),this[_0x2635f7(0x162)][_0x2635f7(0xb0)]([]),this[_0x2635f7(0x162)][_0x2635f7(0x165)]();}[_0x3846ff(0x1bf)](){const _0x30ff11=_0x3846ff;this[_0x30ff11(0x13c)]||(this[_0x30ff11(0x13c)]=!0x0,this[_0x30ff11(0xf2)][_0x30ff11(0xfe)][_0x30ff11(0xda)](_0xa4e4b6(this['dispose$']))[_0x30ff11(0x100)](_0x2b9906=>{const _0x19a2c1=_0x30ff11;_0x2b9906===_0x18ec6e[_0x19a2c1(0x208)]?this[_0x19a2c1(0x233)]():this[_0x19a2c1(0x191)]();}),this[_0x30ff11(0xf2)][_0x30ff11(0xe6)]['pipe'](_0xa4e4b6(this[_0x30ff11(0x2a5)]))[_0x30ff11(0x100)](_0x20f8a6=>{const _0x2562ec=_0x30ff11,_0x39d563=_0x20f8a6['eventID'];_0x39d563===_0x4e15b9[_0x2562ec(0xcc)]&&this['_onCursorUpdate'](_0x20f8a6),_0x39d563===_0x4e15b9['USERS_LEAVE']&&this['_onCursorDelete'](_0x20f8a6);}),this[_0x30ff11(0x155)](),this[_0x30ff11(0x16a)](this['_commandService'][_0x30ff11(0xae)](_0x55a318=>{const _0xcb079b=_0x30ff11;if(this['_online']&&_0x55a318['id']===_0x5dfab4['id']&&_0x55a318[_0xcb079b(0x248)][_0xcb079b(0x1d6)]===this[_0xcb079b(0x190)]){const _0x2f3303=_0x55a318[_0xcb079b(0x248)];this[_0xcb079b(0x24a)](_0x2f3303[_0xcb079b(0x1e3)],_0x2f3303[_0xcb079b(0xe1)][0x0]);}})));}[_0x3846ff(0x146)](_0x2785ce){const _0x51c25a=_0x3846ff;var _0x48c262,_0x30f370;const {memberID:_0x62f5b0,selection:_0xdf773b}=_0x2785ce[_0x51c25a(0x2b3)],{sheetName:_0x2e92e9,range:_0x1ae41f}=_0x15ca09(_0xdf773b),_0x3f1942={'name':(_0x30f370=(_0x48c262=this[_0x51c25a(0x1f5)][_0x51c25a(0x1c6)](this[_0x51c25a(0x190)],_0x62f5b0))==null?void 0x0:_0x48c262[_0x51c25a(0x24c)])!=null?_0x30f370:_0x51c25a(0x106),'range':this['_getMergeRange'](_0x2e92e9,_0x1ae41f),'sheetID':_0x2e92e9,'color':this[_0x51c25a(0x234)][_0x51c25a(0x259)](_0x62f5b0),'selection':_0xdf773b},_0x2ccaca=this[_0x51c25a(0x17f)];_0x2ccaca['set'](_0x62f5b0,_0x3f1942),this[_0x51c25a(0x1be)]['next'](_0x2ccaca);}[_0x3846ff(0x257)](_0x1e5d7e){const _0x2d5121=_0x3846ff,{memberID:_0x25fdf1}=_0x1e5d7e[_0x2d5121(0x2b3)],_0x4b1689=this['cursorInfo'];_0x4b1689[_0x2d5121(0xbc)](_0x25fdf1),this[_0x2d5121(0x1be)][_0x2d5121(0xb0)](_0x4b1689);}[_0x3846ff(0x12f)](_0x18e72c,_0x4c8c85){const _0x46e95a=_0x3846ff;var _0x97d394,_0x22e8d;const _0x368704=(_0x22e8d=(_0x97d394=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x97d394[_0x46e95a(0x10a)](_0x18e72c))==null?void 0x0:_0x22e8d['getMergeData']();return(_0x368704==null?void 0x0:_0x368704[_0x46e95a(0xd2)](_0x2711dc=>_0x22a2f0['contains'](_0x2711dc,_0x4c8c85)))||_0x4c8c85;}[_0x3846ff(0x155)](){const _0x28aa97=_0x3846ff,_0x13031c=new _0x5faf45(),_0x49ae55=gi(),_0x6c1c01=()=>{const _0xc67958=_0x3d7e;_0x13031c['dispose']();const _0x3867b3=(_0x5df769,_0x1a96fc,_0x1a37a2,_0x549ae4)=>{const _0x71d0fa=_0x3d7e;let _0x2efbae=[];switch(_0x5df769['id']){case _0x56190c[_0x71d0fa(0x1ce)]:{_0x2efbae=_0x463a0d(_0x5df769,_0x549ae4);break;}case _0x56190c['DeleteRangeMoveUpCommandId']:{_0x2efbae=_0x50e6df(_0x5df769,_0x549ae4);break;}case _0x56190c[_0x71d0fa(0x275)]:{_0x2efbae=_0x23cd1e(_0x5df769,_0x549ae4);break;}case _0x56190c['InsertRangeMoveDownCommandId']:{_0x2efbae=_0x140b3e(_0x5df769,_0x549ae4);break;}case _0x56190c['InsertRangeMoveRightCommandId']:{_0x2efbae=_0x44843f(_0x5df769,_0x549ae4);break;}case _0x56190c['InsertRowCommandId']:{_0x2efbae=_0x7e199e(_0x5df769,_0x549ae4);break;}case _0x56190c[_0x71d0fa(0x1f6)]:{_0x2efbae=_0x110de9(_0x5df769,_0x549ae4);break;}case _0x56190c[_0x71d0fa(0x1f2)]:{_0x2efbae=_0x286e58(_0x5df769,_0x549ae4);break;}case _0x56190c['RemoveRowCommandId']:{_0x2efbae=_0x1c49b9(_0x5df769,_0x549ae4);break;}}const _0x22e987=_0x72c03a(_0x2efbae,_0x549ae4),_0x3a93ac=this['cursorInfo'][_0x71d0fa(0x119)](_0x1a96fc);if(_0x3a93ac&&_0x22e987){const _0x15de59={..._0x3a93ac,'range':_0x22e987};this['cursorInfo']['set'](_0x1a96fc,_0x15de59),_0x49ae55(()=>{const _0x2801d3=_0x71d0fa,_0x1879fa=this[_0x2801d3(0x223)][_0x2801d3(0x153)](_0x22e987,_0x1ce4f4=>(_0x1879fa[_0x2801d3(0x1b6)](),_0x3867b3(_0x1ce4f4,_0x1a96fc,_0x1a37a2,_0x22e987)));_0x13031c[_0x2801d3(0x170)](_0x1879fa);});}return{'redos':[],'undos':[]};};this[_0xc67958(0x17f)][_0xc67958(0x1d7)]((_0x5d279f,_0x43f1cb)=>{const _0x435ec9=_0xc67958,{range:_0x236722,sheetID:_0x5d7e0b}=_0x5d279f,_0x413a71=this[_0x435ec9(0x223)][_0x435ec9(0x153)](_0x236722,_0x58496a=>(_0x413a71[_0x435ec9(0x1b6)](),_0x3867b3(_0x58496a,_0x43f1cb,_0x5d7e0b,_0x236722)));_0x13031c[_0x435ec9(0x170)](_0x413a71);});};this[_0x28aa97(0x16a)](_0x471471(this[_0x28aa97(0x1be)][_0x28aa97(0x100)](()=>{_0x6c1c01();})));}[_0x3846ff(0x233)](){const _0x5ce4ac=_0x3846ff;var _0x5918b1,_0x1ceaa1;if(this['_online']=!0x0,((_0x5918b1=this[_0x5ce4ac(0x21a)][_0x5ce4ac(0x1fe)]())==null?void 0x0:_0x5918b1['getUnitId']())!==this[_0x5ce4ac(0x190)])return;const _0x2bc0a7=(_0x1ceaa1=this[_0x5ce4ac(0x237)][_0x5ce4ac(0x119)](_0x2abbae)[_0x5ce4ac(0xdc)]())==null?void 0x0:_0x1ceaa1[0x0],_0x5da178=this['_univerInstanceService'][_0x5ce4ac(0x17e)](_0x27422f[_0x5ce4ac(0x1a8)])['getActiveSheet']();_0x2bc0a7&&_0x5da178&&this[_0x5ce4ac(0x24a)](_0x5da178[_0x5ce4ac(0x164)](),_0x2bc0a7);}['_toggleOffline'](){const _0x178bc5=_0x3846ff;this[_0x178bc5(0x17d)]=!0x1;}};Me=mi([x(0x2,_0xcb6f13(_0x36eec9)),x(0x3,_0xcb6f13(ke)),x(0x4,_0xcb6f13(_0x496b01)),x(0x5,_0x29ac28),x(0x6,_0x2dbc8c),x(0x7,_0xcb6f13(_0x104543))],Me);var pi=Object[_0x3846ff(0x291)],Ci=(_0x3b1d07,_0x1d2067,_0x482a81,_0x32cc5e)=>{const _0xba5efe=_0x3846ff;for(var _0x511c64=_0x32cc5e>0x1?void 0x0:_0x32cc5e?pi(_0x1d2067,_0x482a81):_0x1d2067,_0x3dff88=_0x3b1d07[_0xba5efe(0x17b)]-0x1,_0x3b3d7f;_0x3dff88>=0x0;_0x3dff88--)(_0x3b3d7f=_0x3b1d07[_0x3dff88])&&(_0x511c64=_0x3b3d7f(_0x511c64)||_0x511c64);return _0x511c64;},me=(_0x1746ad,_0x12bb38)=>(_0x2bd9f3,_0x25abbe)=>_0x12bb38(_0x2bd9f3,_0x25abbe,_0x1746ad);let F=class extends _0x1dd0ba{constructor(_0x52e646,_0x53c000,_0x31f945){const _0x3c515b=_0x3846ff;super(),_(this,'_entities',new Map()),_(this,_0x3c515b(0xb9),new _0xe21be4()),(this[_0x3c515b(0x21a)]=_0x52e646,this['_injector']=_0x53c000,this['_collabSessionService']=_0x31f945,this[_0x3c515b(0x13c)]());}['dispose'](){const _0x2dc453=_0x3846ff;super[_0x2dc453(0x1b6)](),this[_0x2dc453(0xb9)]['complete'](),this[_0x2dc453(0x161)][_0x2dc453(0x1d7)](_0x554fda=>_0x554fda[_0x2dc453(0x1b6)]());}['getCollabCursors$'](_0x33b854){const _0x581654=_0x3846ff;return this[_0x581654(0x161)][_0x581654(0x1df)](_0x33b854)?this['_entities'][_0x581654(0x119)](_0x33b854)[_0x581654(0x1bc)]:this['_entityInit$'][_0x581654(0xda)](_0x8bc2bb(_0x32efda=>_0x32efda[_0x581654(0x190)]===_0x33b854),_0x1ae0b1(_0x5339df=>_0x5339df['cursorInfo$']));}['_init'](){const _0x56a2a0=_0x3846ff;this[_0x56a2a0(0x21a)][_0x56a2a0(0x2a2)](_0x27422f['UNIVER_SHEET'])[_0x56a2a0(0xda)](_0xa4e4b6(this['dispose$']))['subscribe'](async _0x4b6e41=>{const _0x2454f6=_0x56a2a0,_0x3936c0=_0x4b6e41[_0x2454f6(0x196)](),_0x269c00=await this[_0x2454f6(0x134)](_0x3936c0);this[_0x2454f6(0xb9)][_0x2454f6(0xb0)](_0x269c00),this['_entities'][_0x2454f6(0x28a)](_0x3936c0,_0x269c00);}),this[_0x56a2a0(0x21a)][_0x56a2a0(0x2a2)](_0x27422f['UNIVER_DOC'])['pipe'](_0xa4e4b6(this[_0x56a2a0(0x2a5)]))[_0x56a2a0(0xda)](_0x8bc2bb(_0x1fe098=>!_0x1fe098[_0x56a2a0(0x196)]()[_0x56a2a0(0x180)]('__')))['subscribe'](async _0x472be4=>{const _0x369b48=_0x56a2a0,_0x48b4b3=_0x472be4[_0x369b48(0x196)](),_0x7ecf8=await this['_startDocCollabCursor'](_0x48b4b3);this['_entityInit$']['next'](_0x7ecf8),this[_0x369b48(0x161)]['set'](_0x48b4b3,_0x7ecf8);}),_0x251329(this['_univerInstanceService'][_0x56a2a0(0x1a0)](_0x27422f[_0x56a2a0(0x29e)]),this['_univerInstanceService'][_0x56a2a0(0x1a0)](_0x27422f[_0x56a2a0(0x1a8)]))[_0x56a2a0(0xda)](_0xa4e4b6(this[_0x56a2a0(0x2a5)]))[_0x56a2a0(0x100)](_0xca6523=>{const _0xfd5116=_0x56a2a0,_0x4521ec=_0xca6523[_0xfd5116(0x196)](),_0x5ef5b6=this[_0xfd5116(0x161)][_0xfd5116(0x119)](_0x4521ec);_0x5ef5b6&&(_0x5ef5b6['dispose'](),this[_0xfd5116(0x161)][_0xfd5116(0xbc)](_0x4521ec));});}async['_startSheetCollabCursor'](_0x57193b){const _0x784f26=_0x3846ff,_0x5cf42f=await this['_collabSessionService'][_0x784f26(0x10e)](_0x57193b),_0x2740c3=this[_0x784f26(0x237)][_0x784f26(0xec)](Me,_0x57193b,_0x5cf42f);return _0x2740c3[_0x784f26(0x1bf)](),_0x2740c3;}async[_0x3846ff(0x1c0)](_0x198820){const _0x22b3b6=_0x3846ff,_0x491db7=await this[_0x22b3b6(0xf3)][_0x22b3b6(0x10e)](_0x198820),_0x350b89=this[_0x22b3b6(0x237)][_0x22b3b6(0xec)](Ue,_0x198820,_0x491db7);return _0x350b89['init'](),_0x350b89;}};F=Ci([me(0x0,_0x29ac28),me(0x1,_0xcb6f13(_0x36eec9)),me(0x2,_0xcb6f13(_0x8cd09e))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0xf00917,_0x50aaf5){const _0x563193=_0x3846ff;let {radius:_0x4fc233,width:_0x185bb9,height:_0x42ca52}=_0x50aaf5;_0x4fc233=_0x4fc233!=null?_0x4fc233:0x0,_0x185bb9=_0x185bb9!=null?_0x185bb9:0x1e,_0x42ca52=_0x42ca52!=null?_0x42ca52:0x1e;let _0x3461e9=0x0,_0x17d7a6=0x0,_0x38a846=0x0;_0x3461e9=_0x17d7a6=_0x38a846=Math[_0x563193(0xcf)](_0x4fc233,_0x185bb9/0x2,_0x42ca52/0x2),_0xf00917[_0x563193(0xcb)](),_0xf00917['moveTo'](_0x3461e9,0x0),_0xf00917[_0x563193(0x12b)](_0x185bb9-_0x17d7a6,0x0),_0xf00917[_0x563193(0x117)](_0x185bb9-_0x17d7a6,_0x17d7a6,_0x17d7a6,Math['PI']*0x3/0x2,0x0,!0x1),_0xf00917[_0x563193(0x12b)](_0x185bb9,_0x42ca52-_0x38a846),_0xf00917[_0x563193(0x117)](_0x185bb9-_0x38a846,_0x42ca52-_0x38a846,_0x38a846,0x0,Math['PI']/0x2,!0x1),_0xf00917[_0x563193(0x12b)](0x0,_0x42ca52),_0xf00917[_0x563193(0x12b)](0x0,_0x3461e9),_0xf00917[_0x563193(0x117)](_0x3461e9,_0x3461e9,_0x3461e9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf00917['closePath'](),_0x50aaf5[_0x563193(0xd1)]&&(_0xf00917[_0x563193(0x249)](),_0xf00917[_0x563193(0x1dc)]=_0x50aaf5[_0x563193(0xd1)],_0x50aaf5[_0x563193(0x121)]===_0x563193(0x159)?_0xf00917[_0x563193(0xd1)](_0x563193(0x159)):_0xf00917[_0x563193(0xd1)](),_0xf00917[_0x563193(0x217)]());}class ue extends _0x55659a{constructor(_0x32b824,_0x269809){const _0x4f2a86=_0x3846ff;super(_0x32b824,_0x269809),_(this,'color'),_(this,_0x4f2a86(0xdf)),(this[_0x4f2a86(0x12d)]=_0x269809==null?void 0x0:_0x269809[_0x4f2a86(0x12d)],this['text']=_0x269809==null?void 0x0:_0x269809[_0x4f2a86(0xdf)]);}static[_0x3846ff(0x1ee)](_0x50775c,_0xdbb95f){const _0x1d2d85=_0x3846ff,{text:_0x86ddeb,color:_0x3bf3e6}=_0xdbb95f;_0x50775c['save'](),_0x50775c[_0x1d2d85(0x2a6)]=_0x1d2d85(0x1c9);const _0x94d993=_0x50775c[_0x1d2d85(0x135)](_0x86ddeb)[_0x1d2d85(0xb4)],_0x42bf31=Math[_0x1d2d85(0xcf)](_0x94d993+0x2*Ie,Qe);Oi(_0x50775c,{'height':J,'radius':0x4,'width':_0x42bf31,'fill':_0x3bf3e6}),_0x50775c['fillStyle']=_0x1d2d85(0x29b);const _0x2d9584=Ie,_0x1199c6=J-Ei,_0x3a00ed=Qe-0x2*Ie;if(_0x94d993>_0x3a00ed){let _0xb6f77f='',_0x4ab25f=0x0;for(const _0x4f8832 of _0x86ddeb){const _0x1efeb0=_0x50775c['measureText'](_0x4f8832)[_0x1d2d85(0xb4)];if(_0x4ab25f+_0x1efeb0<=_0x3a00ed-_0x50775c[_0x1d2d85(0x135)]('...')[_0x1d2d85(0xb4)])_0xb6f77f+=_0x4f8832,_0x4ab25f+=_0x1efeb0;else{_0xb6f77f+=_0x1d2d85(0x147);break;}}_0x50775c[_0x1d2d85(0x19f)](_0xb6f77f,_0x2d9584,_0x1199c6);}else _0x50775c['fillText'](_0x86ddeb,_0x2d9584,_0x1199c6);_0x50775c[_0x1d2d85(0x217)]();}[_0x3846ff(0x175)](_0x2bf7a4){const _0x56041b=_0x3846ff;ue[_0x56041b(0x1ee)](_0x2bf7a4,this);}}const ve=_0x3846ff(0x23e),bi=_0x3846ff(0x26c),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x3846ff(0x19c);class qe{constructor(_0x45d2c1,_0x14bfbf,_0x4fd6a0,_0x2187ed){const _0x5c7c69=_0x3846ff;_(this,'_shapes',[]),_(this,_0x5c7c69(0xe2),null),_(this,'_textBubble',null),_(this,_0x5c7c69(0x283),null),_(this,_0x5c7c69(0x1cd),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x45d2c1,this[_0x5c7c69(0x252)]=_0x14bfbf,this['_docSkeleton']=_0x4fd6a0,this[_0x5c7c69(0x188)]=_0x2187ed,this[_0x5c7c69(0x151)]());}set[_0x3846ff(0xe9)](_0x279872){const _0x37d497=_0x3846ff;_0x279872?(this[_0x37d497(0x283)]&&this[_0x37d497(0x283)][_0x37d497(0x186)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x37d497(0x283)]&&this['_anchorDot'][_0x37d497(0x245)](),this[_0x37d497(0x2b0)]&&this['_textBubble'][_0x37d497(0x186)]());}[_0x3846ff(0x1b6)](){const _0x3e01da=_0x3846ff;for(const _0x41860c of this[_0x3e01da(0x144)])_0x41860c[_0x3e01da(0x1b6)]();this[_0x3e01da(0x2b0)]&&this['_textBubble'][_0x3e01da(0x1b6)](),this[_0x3e01da(0x283)]&&this[_0x3e01da(0x283)][_0x3e01da(0x1b6)](),this[_0x3e01da(0xe2)]&&this['_anchor']['dispose'](),this[_0x3e01da(0x1c3)]&&this[_0x3e01da(0x1c3)]();}[_0x3846ff(0x151)](){const _0x3ef07c=_0x3846ff;var _0x1efb1c;const {_docSkeleton:_0x3f22df,_document:_0x4ec2f5}=this,{color:_0x4b9b6e,name:_0x31a274,ranges:_0x166a20}=this[_0x3ef07c(0x109)],_0xc279b5=_0x4ec2f5['getOffsetConfig'](),{docsLeft:_0x229ca3,docsTop:_0x20d93f}=_0xc279b5,_0x5679c3=new _0x29c550(_0xc279b5,_0x3f22df);for(const {startOffset:_0x37de67,endOffset:_0x2bced9,rangeType:_0x38ecae,segmentId:_0x40885f,segmentPage:_0x3c1b60,collapsed:_0x52c8b8,isActive:_0x3cbccf}of _0x166a20){const _0x34bc44=_0x3f22df[_0x3ef07c(0x270)](_0x37de67,!0x0,_0x40885f,_0x3c1b60);let _0x2e410c=_0x3f22df[_0x3ef07c(0x270)](_0x2bced9,!0x0,_0x40885f,_0x3c1b60);if(_0x2e410c==null&&(_0x2e410c=_0x3f22df[_0x3ef07c(0x270)](_0x2bced9-0x1,!0x1,_0x40885f,_0x3c1b60)),_0x3cbccf){const {contentBoxPointGroup:_0x130593}=_0x5679c3['getRangePointData'](_0x2e410c,_0x2e410c);if(_0x130593['length']===0x0)continue;this[_0x3ef07c(0x1a2)](_0x4b9b6e,_0x130593,_0x229ca3,_0x20d93f,_0x31a274),this[_0x3ef07c(0x1c3)]=this['_handleHover']();}if(_0x34bc44&&_0x2e410c){if(_0x38ecae===_0x57a474[_0x3ef07c(0x27f)]){const _0x4da6a2=new _0x44049a(_0xc279b5,_0x3f22df),{pointGroup:_0x1005c1}=(_0x1efb1c=_0x4da6a2[_0x3ef07c(0xc9)](_0x34bc44,_0x2e410c))!=null?_0x1efb1c:{};if(_0x1005c1==null||_0x1005c1[_0x3ef07c(0x17b)]===0x0)continue;this[_0x3ef07c(0xd8)](_0x4b9b6e,_0x1005c1,_0x229ca3,_0x20d93f);}else{if(!_0x52c8b8){const {borderBoxPointGroup:_0x4d640b}=_0x5679c3[_0x3ef07c(0xc9)](_0x34bc44,_0x2e410c);if(_0x4d640b['length']===0x0)continue;this[_0x3ef07c(0x207)](_0x4b9b6e,_0x4d640b,_0x229ca3,_0x20d93f);}}}}}[_0x3846ff(0x1a2)](_0xa8484d,_0x5149c2,_0x43706e,_0x2f0897,_0x15fc84){const _0x3a6728=_0x3846ff,_0x3d8e6e=this['_getAnchorBounding'](_0x5149c2),{left:_0x5b77a3,top:_0x46e302,height:_0x54c158}=_0x3d8e6e,_0x3f7ab7=this['_getScale'](),_0x444abc=Di/_0x3f7ab7,_0x1c3edc=new _0x302ade(ve+_0x4ae1ba(G),{'left':_0x5b77a3+_0x43706e-_0x444abc,'top':_0x46e302+_0x2f0897,'height':_0x54c158,'width':Ri,'fill':_0xa8484d||_0x283218(_0x58b494['black'],0x0),'strokeWidth':_0x444abc,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x1c3edc,this[_0x3a6728(0x252)][_0x3a6728(0x138)](_0x1c3edc,_0x41ddac);const _0x1cae01=new _0x302ade(ve+_0x4ae1ba(G),{'left':_0x5b77a3+_0x43706e-_0x444abc,'top':_0x46e302+_0x2f0897-ge/0x2,'height':ge,'width':ge,'fill':_0xa8484d||_0x283218(_0x58b494['black'],0x0),'strokeWidth':0x0,'stroke':_0xa8484d||_0x283218(_0x58b494[_0x3a6728(0x125)],0x0),'evented':!0x1});this[_0x3a6728(0x283)]=_0x1cae01,this[_0x3a6728(0x252)][_0x3a6728(0x138)](_0x1cae01,_0x41ddac);const _0x6e1fd3=new ue(ve+_0x4ae1ba(G),{'left':_0x5b77a3+_0x43706e-_0x444abc,'top':_0x46e302+_0x2f0897-J,'text':_0x15fc84,'color':_0xa8484d});this['_textBubble']=_0x6e1fd3,this[_0x3a6728(0x252)][_0x3a6728(0x138)](_0x6e1fd3,_0x41ddac),this['_hover']=!0x1;}['_handleHover'](){const _0x10c65a=_0x3846ff,_0x170b35=this[_0x10c65a(0xe2)][_0x10c65a(0xde)]['subscribeEvent'](()=>{const _0x3da771=_0x10c65a;this[_0x3da771(0xe9)]=!0x0;}),_0x4d9ebd=this[_0x10c65a(0xe2)][_0x10c65a(0x133)][_0x10c65a(0x220)](()=>{const _0xfef38e=_0x10c65a;this[_0xfef38e(0x1cd)]&&clearTimeout(this[_0xfef38e(0x1cd)]),this[_0xfef38e(0x1cd)]=setTimeout(()=>{const _0x6497e9=_0xfef38e;this[_0x6497e9(0xe9)]=!0x1;},0x7d0);});return()=>{const _0x50912a=_0x10c65a;_0x170b35[_0x50912a(0x232)](),_0x4d9ebd[_0x50912a(0x232)]();};}[_0x3846ff(0x207)](_0x50c157,_0x2401b8,_0x168163,_0x5b6cc2){const _0x1be9b1=_0x3846ff,_0x1e9e9f=new _0x5be3b0(_0x50c157)[_0x1be9b1(0x27d)](0.2)[_0x1be9b1(0x18b)](),_0x2d8664=new _0x1c22ff(bi+_0x4ae1ba(G),{'pointsGroup':_0x2401b8,'fill':_0x1e9e9f||_0x283218(_0x58b494['black'],0.2),'left':_0x168163,'top':_0x5b6cc2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1be9b1(0x144)][_0x1be9b1(0x12a)](_0x2d8664),this['_scene'][_0x1be9b1(0x138)](_0x2d8664,_0x41ddac);}[_0x3846ff(0xd8)](_0xc556f3,_0x887bb4,_0x3e5c1a,_0x5362ce){const _0x3ea3c7=_0x3846ff,_0x40df3d=new _0x5be3b0(_0xc556f3)['setAlpha'](0.2)[_0x3ea3c7(0x18b)](),_0x5a5799=new _0x1c22ff(Ti+_0x4ae1ba(G),{'pointsGroup':_0x887bb4,'fill':_0x40df3d||_0x283218(_0x58b494[_0x3ea3c7(0x125)],0.2),'left':_0x3e5c1a,'top':_0x5362ce,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5a5799),this[_0x3ea3c7(0x252)]['addObject'](_0x5a5799,_0x41ddac);}[_0x3846ff(0x204)](_0xe4d5de){const _0x330f9e=_0xe4d5de[0x0],_0xdc1d42=_0x330f9e[0x0],_0x432d90=_0x330f9e[0x2],{x:_0x198eaf,y:_0x190782}=_0xdc1d42,{x:_0x559af1,y:_0x1a3c3f}=_0x432d90;return{'left':_0x198eaf,'top':_0x190782,'width':_0x559af1-_0x198eaf,'height':_0x1a3c3f-_0x190782};}[_0x3846ff(0x102)](){const _0x21450b=_0x3846ff,{scaleX:_0x11ce0d,scaleY:_0x18d0da}=this[_0x21450b(0x252)]['getAncestorScale']();return Math[_0x21450b(0x205)](_0x11ce0d,_0x18d0da);}}function _0xc8cb(){const _0x4e96aa=['height','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','event$','OTHER_CLIENT_EDITING','random','_hover','YUUMI_AI_RUN_FAILED','imageSourceType','createInstance','override','_docSkeletonManagerService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','currentColor','isArray','_session','_collabSessionService','_docSyncEditingCollabCursorService','subunit','startRow','getCollabCursors$','NO_OTHER_CLIENTS_EDITING','m1Prime','bottom','collabStatus.notCollab','_collabCursorController','with','sessionStatus$','addHandlerCallback','subscribe','844jVjBqL','_getScale','type','from','setInterval','Unknown\x20user','className','origin','_cursor','getSheetBySheetId','ticket','getConfig','1962180zZVoCS','requireSession','icon','getDocRanges','column','_setupBeforeClosingHandler','path','mutations','SOCKET_FAILED','APPLY_PERMISSION_DENIED','arc','Failed','get','LICENSE_EXPORT_SIZE_EXCEEDED','size','send','createSocket','/run/','currentTheme$','_lastPointer','fillRule','univer-mr-2\x20univer-flex\x20univer-text-xl','_docClipboardService','endRow','black','unload','426415pIwcoo','result','blue.400','push','lineTo','APPLY_REJECT','color','UNDEFINED','_getMergeRange','getCurrentRevOfUnit','range','undoState','onPointerLeave$','_startSheetCollabCursor','measureText','doc.mutation.rich-text-editing','_updateCollabCursors','addObject','editingUnit','newValue','search','_init','off-line-icon','jiqing.500','1em','_scheduleClearOtherTimer','_initEvent','labelPosition','defs','_shapes','_registerRenderDependencies','_onCursorUpdate','...','onStarting','_instanceService','_docStateChangeManagerService','MUTATION','asObservable','657834MronNN','_selfUnitIDs','[CollaborationDataLoaderController]','_revisionService','_render','selection','registerRefRange','_handleEvent','_onRefRangeChange','current','_localeService','_createSocketURL','evenodd','_colorIndex','_transformPreviousActiveRange','INTERNAL_ERROR','transformByState','replaceDocRanges','LOGIN_FAILED','MOBILE_HAS_BEEN_BOUND','_entities','_roomMembers$','disposeUnit','getSheetId','complete','_name','FromArray','_initCommandExecutedListener','278155GqhuFu','disposeWithMe','_httpService','_syncEditingCollabCursorService','transformRemoteChangeset','key','CONNECTOR_DATA_TOO_LARGE','add','_handleJoinEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','memberID','propertyIsEnumerable','_draw','Error','_collaborationUIEventService','replace','_setupSubUnitSync','setShapeProps','length','_send','_online','getCurrentUnitForType','cursorInfo','startsWith','collaboration-client-ui.config','tag','none','substring','setConfig','hide','_labelPosition','_document','SYNCED','_cachedData','toRgbString','_unitOnClients','executionId','PENDING','_handleHeartbeatEvent','unitID','_toggleOffline','symbol','getAncestorScale','_scheduleSaving','TOO_MANY_REQUESTS','getUnitId','getRelativeToViewportCoord','startColumn','displayName','clearTimeout','syncEditingCollabCursor','rgba(255,\x20255,\x20255,\x200.01)','PY_RUNTIME_SCRIPT_ERROR','unshift','fillText','getTypeOfUnitDisposed$','debug','_drawAnchor','currentSkeleton$','M0\x200H16V16H0z','_status$','transformMutation','toString','UNIVER_SHEET','isEditing','transformSelections','hasOwnProperty','roomMembers','href','registerRenderModule','WECHAT_HAS_BEEN_BOUND','collabCursorState$','on-line-icon','_color','collaboration-client.offline-data-not-saved','onRendered','location','dispose','collab-client.tooltip.reconnect','_initEntityListener','url(#$1','_commandService','whenReady','cursorInfo$','_getSaveTimeout','_cursorInfo$','init','_startDocCollabCursor','_logService','getStateCache','_eventUnsubscribe','_clearOtherTimers','assign','getMember','INVALID_INVITE_CODE','some','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onPointerMove$','ENSURE_SNAPSHOT_EXECUTION','skeleton','_hideTimer','DeleteRangeMoveLeftCommandId','_collabCursorState$','UniverIcon','PERMISSION_DENIED','_id','_notificationService','_transformUndoRedoStack','clearInterval','unitId','forEach','_removeClearOtherTimer','setStateCache','TEXT','YUUMI_ALL_TABLES_IS_INVALID','fillStyle','addClipboardHook','all','has','isActive','status$','session.connection-failed','subUnitId','transformIMECache','JOIN_ROOM_FAILED','error','SNAPSHOT_INVALID_SNAPSHOT','indexOf','_messageService','0\x200\x2017\x2016','url(#on-line-icon_clip0_910_349)','reconnect','history','drawWith','_urlService','_initStatusComponent','triggerDblclick','RemoveColCommandId','_initResize','CONFLICT','_memberService','MoveRangeCommandId','_config','colorChannel1','then','svg','setTimeout','_collaborationController','setItem','getFocusedUnit','getColorFromTheme','USER_NOT_INVITED_CODE','INVITE_CODE_ALREADY_BOUND','_imageIoService','_registerDependencies','_getAnchorBounding','max','backgroundColor','_drawTextRange','ONLINE','_docTransformSelectionsService','_heartbeatTimer','_uiPartsService','_configService','_docTransformStateCacheService','_hovered','848ULyWjQ','ranges','row','updateOfflineData','includes','collaboration.closeRoom','YUUMI_ASYNCIO_CANCELLED','getActiveRange','restore','APPLY_NON_SEQUENTIAL_REVISION','_transformService','_univerInstanceService','getCellPositionByOffset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','_backgroundColor','stringify','subscribeEvent','yellow.400','removeParam','_refRangeService','univerjs-icon\x20univerjs-icon-','1073604RVrGRp','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getUndoRedoMutationParamsCache','_context','_getSessionTicket','31703PdIXNg','NOT_COLLAB','0\x200\x2016\x2016','260vYhqLz','uni.network.url-service','exhaustSavingTask','replaceState','collabStatus.synced','unsubscribe','_toggleOnline','_colorAssignService','saveImage','APPLY_REVISION_CONFILICT','_injector','setUndoRedoMutationParamsCache','values','parse','http://www.w3.org/2000/svg','actions','_localCacheService','collab-text-anchor-','on-line-icon_clip0_910_349','string','LICENSE_MAX_UNITS_EXCEEDED','sheetID','_range','FETCH_MISS','show','UNAUTHENTICATED','_docTransformIMECacheService','params','save','_updateLocalCursor','_getSheetObject','name','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getRenderById','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','defineProperty','getVpScrollXYInfoByPosToVp','_scene','div','_refreshCollabCursors','source','_assignedColors','_onCursorDelete','translate(.97)','assignAColorForMemberID','prototype','idSuffix','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_disabled','runId','onLocalMutation','url(#off-line-icon_clip0_910_343)','m2Prime','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','roomMembers$','getActiveSheet','collabStatus.syncing','_beforeCloseService','use','xlink:href','saveOfflineData','loadUnit','onTransformChange$','collab-text-range-','getViewport','popstate','getSkeleton','findNodePositionByCharIndex','_transformHistoryAndStateStack','transform','entries','onMouseMove','InsertColCommandId','registerBeforeClose','redoState','INVITE_CODE_HAS_BEEN_UES','loadOfflineData','permission.content','Warning','wsSessionTicketUrl','setAlpha','getValue','RECT','YUUMI_RATE_OVER_LIMIT','deepClone','split','_anchorDot','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','session.will-retry','urlChange$','getMemberID','getOwnPropertySymbols','collaboration.single-unit.warning','set','_updateSubUnitFromURLParams','APPLY_DUPLICATED','_ensureSubject','body','addObjects','red.300','getOwnPropertyDescriptor','call','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursors','textRanges','VIEW_MAIN','focused$','_sheetSkeletonManagerService','sessionTicket','YUUMI_UNABLE_LOAD_URL','#FFF','_scheduleHeartbeat','_cursorShapes','UNIVER_DOC','pluginName','top','transformMutationsWithChangeset','getTypeOfUnitAdded$','collabStatus.offline','YUUMI_NO_CUBOID_FOR_QUESTION','dispose$','font','UNRECOGNIZED','children','defIds','storage','_doCreateSocket','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','INVALID_ARGUMENT','COMPLETION_FINISHED','clipPath','_textBubble','_saveTaskMap','_updateURLWithCurrentState','data','sheetId','transformStateCache','purple.300','code','onCommandExecuted','endColumn','next','collabStatus.fetchMiss','YUUMI_CONNECTOR_URL_NOT_FOUND','round','width','attrs','_initStatusListener','post','INVITE_CODE_REQUIRED','_entityInit$','off-line-icon_clip0_910_343','mask','delete','pushState','LICENSE_IMPORT_SIZE_EXCEEDED','_renderManagerService','_localStorageService','_saveCache','_handleLeaveEvent','getParam','_initDependencies','186cKXXdY','EMAIL_HAS_BEEN_BOUND','resize','_dataLoaderService','getRangePointData','collabStatus.conflict','beginPath','UPDATE_CURSOR','session.collaboration-timeout','executeCommand','min','getUnitStatus$','fill','find','_removeCollabCursors','SNAPSHOT_HAS_BEEN_REMOVED','map','searchParams','function','_drawRectRange','concat','pipe','2333UOvcAs','getCurrentSelections','getUnhiddenWorksheets','onPointerEnter$','text','_themeService','selections','_anchor','MOBILE_VERIFY_CODE_MISMATCH'];_0xc8cb=function(){return _0x4e96aa;};return _0xc8cb();}function _0x3d7e(_0x4d43c8,_0x3a8cf1){const _0xc8cb05=_0xc8cb();return _0x3d7e=function(_0x3d7ec9,_0x357745){_0x3d7ec9=_0x3d7ec9-0xae;let _0x20be82=_0xc8cb05[_0x3d7ec9];return _0x20be82;},_0x3d7e(_0x4d43c8,_0x3a8cf1);}var Ui=Object[_0x3846ff(0x291)],Mi=(_0x2b60fd,_0x4d2bcf,_0x47ef73,_0x1594ad)=>{for(var _0x19be5b=_0x1594ad>0x1?void 0x0:_0x1594ad?Ui(_0x4d2bcf,_0x47ef73):_0x4d2bcf,_0x132896=_0x2b60fd['length']-0x1,_0x25ce67;_0x132896>=0x0;_0x132896--)(_0x25ce67=_0x2b60fd[_0x132896])&&(_0x19be5b=_0x25ce67(_0x19be5b)||_0x19be5b);return _0x19be5b;},q=(_0xee305d,_0x38e40e)=>(_0x22e50d,_0x3e6c27)=>_0x38e40e(_0x22e50d,_0x3e6c27,_0xee305d);let Le=class extends _0x1dd0ba{constructor(_0x39a675,_0x1f077c,_0x582330,_0x5cefd0,_0x35452c){const _0x5bb4e5=_0x3846ff;super(),_(this,_0x5bb4e5(0x29d),[]),_(this,'_cursors',[]),(this[_0x5bb4e5(0x228)]=_0x39a675,this[_0x5bb4e5(0xee)]=_0x1f077c,this['_collabCursorController']=_0x582330,this[_0x5bb4e5(0x1ba)]=_0x5cefd0,this[_0x5bb4e5(0xe0)]=_0x35452c,this[_0x5bb4e5(0x13c)]());}[_0x3846ff(0x13c)](){const _0x45125c=_0x3846ff,_0x532f8e=this[_0x45125c(0x228)][_0x45125c(0x1d6)],_0x45aeda=this[_0x45125c(0xee)];this['disposeWithMe'](_0x4359ad([this[_0x45125c(0xfc)][_0x45125c(0xf7)](_0x532f8e),this[_0x45125c(0xe0)][_0x45125c(0x11f)]])['pipe'](_0x22d561(([_0x531104,_0x31748f])=>({'skeleton':_0x45aeda['getSkeleton'](),'cursors':[..._0x531104['values']()]['flatMap'](_0x4ca97e=>({..._0x4ca97e,'color':this[_0x45125c(0xe0)][_0x45125c(0x1ff)](_0x4ca97e[_0x45125c(0x12d)])}))})))['subscribe'](_0x43ffbf=>{const _0x4f8742=_0x45125c;if(this[_0x4f8742(0xd3)](),_0x43ffbf){const {skeleton:_0x56a90b,cursors:_0x4068bb}=_0x43ffbf;this['_updateCollabCursors'](_0x56a90b,_0x4068bb);}})),this[_0x45125c(0x1f3)](),this[_0x45125c(0x168)]();}[_0x3846ff(0x137)](_0x38c5de,_0x4d4a54){const _0x5b9661=_0x3846ff,{scene:_0x413a17,mainComponent:_0x1223a4}=this['_context'],_0x8982eb=_0x4d4a54[_0x5b9661(0xd5)](_0x4f7c58=>new qe(_0x4f7c58,_0x413a17,_0x38c5de,_0x1223a4));this[_0x5b9661(0x29d)]=_0x8982eb,this[_0x5b9661(0x294)]=_0x4d4a54;}[_0x3846ff(0x254)](){const _0x5bc73e=_0x3846ff;this[_0x5bc73e(0xd3)]();const {scene:_0x494501,mainComponent:_0x4219b8}=this[_0x5bc73e(0x228)],_0x396926=this['_docSkeletonManagerService'][_0x5bc73e(0x26f)](),_0x7c7649=this[_0x5bc73e(0x294)][_0x5bc73e(0xd5)](_0xc0375b=>new qe(_0xc0375b,_0x494501,_0x396926,_0x4219b8));this[_0x5bc73e(0x29d)]=_0x7c7649;}[_0x3846ff(0xd3)](){const _0x54bacf=_0x3846ff;this[_0x54bacf(0x29d)]['forEach'](_0x54ab5c=>_0x54ab5c[_0x54bacf(0x1b6)]()),this[_0x54bacf(0x29d)]=[];}[_0x3846ff(0x168)](){const _0x4a94a6=_0x3846ff,_0x49dd61=[_0x1b5aea['id']];this['disposeWithMe'](this[_0x4a94a6(0x1ba)][_0x4a94a6(0xae)](_0x301ff2=>{const _0x34d989=_0x4a94a6;_0x49dd61['includes'](_0x301ff2['id'])&&_0x301ff2[_0x34d989(0x248)][_0x34d989(0x1d6)]===this[_0x34d989(0x228)][_0x34d989(0x1d6)]&&this['_refreshCollabCursors']();}));}[_0x3846ff(0x1f3)](){const _0x11d6cf=_0x3846ff;this[_0x11d6cf(0x16a)](_0x13ab46(this[_0x11d6cf(0x228)]['engine'][_0x11d6cf(0x26b)])[_0x11d6cf(0xda)](_0x505b42(_0x412e36=>_0x412e36[_0x11d6cf(0x103)]===_0x5df580[_0x11d6cf(0xc7)]),_0x353f3e(0x10))[_0x11d6cf(0x100)](()=>{const _0x198a9f=_0x11d6cf;this[_0x198a9f(0x254)]();}));}};Le=Mi([q(0x1,_0xcb6f13(_0x243909)),q(0x2,_0xcb6f13(F)),q(0x3,_0x2dbc8c),q(0x4,_0xcb6f13(_0x25d1d1))],Le);const Li=0x1,Pi=1.5;class wi extends _0x55659a{constructor(_0x286876,_0x342f64){const _0x446f51=_0x3846ff;super(_0x286876,_0x342f64),_(this,'_color'),_(this,_0x446f51(0x20e),!0x1),_(this,_0x446f51(0x243)),_(this,_0x446f51(0x166),''),_(this,_0x446f51(0x187),_0x446f51(0x2a0)),_(this,'_backgroundColor'),(_0x342f64&&this[_0x446f51(0x17a)](_0x342f64),this[_0x446f51(0xde)][_0x446f51(0x220)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x446f51(0x220)](()=>this[_0x446f51(0x17a)]({'hovered':!0x1})));}['setShapeProps'](_0x311d00){const _0x2a16d6=_0x3846ff;var _0x1097a2,_0x14f75f,_0x17af2e,_0x2a8ba9,_0x5d507f,_0x3d39ef;this[_0x2a16d6(0x1b2)]=(_0x1097a2=_0x311d00[_0x2a16d6(0x12d)])!=null?_0x1097a2:this[_0x2a16d6(0x1b2)],this[_0x2a16d6(0x20e)]=(_0x14f75f=_0x311d00['hovered'])!=null?_0x14f75f:this[_0x2a16d6(0x20e)],this[_0x2a16d6(0x243)]=(_0x17af2e=_0x311d00[_0x2a16d6(0x131)])!=null?_0x17af2e:this[_0x2a16d6(0x243)],this[_0x2a16d6(0x166)]=(_0x2a8ba9=_0x311d00['name'])!=null?_0x2a8ba9:this[_0x2a16d6(0x166)],this[_0x2a16d6(0x187)]=(_0x5d507f=_0x311d00[_0x2a16d6(0x142)])!=null?_0x5d507f:this[_0x2a16d6(0x187)],this['_backgroundColor']=(_0x3d39ef=_0x311d00[_0x2a16d6(0x206)])!=null?_0x3d39ef:this[_0x2a16d6(0x21e)],this[_0x2a16d6(0x15d)]({'width':_0x311d00[_0x2a16d6(0xb4)],'height':_0x311d00[_0x2a16d6(0xe4)]});}[_0x3846ff(0x274)](_0x1c2654){const _0x5aaef8=_0x3846ff,{row:_0x5b3247,column:_0x2fb45f}=_0x1c2654;if(_0x5b3247>=this[_0x5aaef8(0x243)][_0x5aaef8(0xf6)]&&_0x5b3247<=this[_0x5aaef8(0x243)][_0x5aaef8(0x124)]&&_0x2fb45f>=this[_0x5aaef8(0x243)][_0x5aaef8(0x198)]&&_0x2fb45f<=this[_0x5aaef8(0x243)][_0x5aaef8(0xaf)]){this[_0x5aaef8(0x17a)]({'hovered':!0x0});return;}this[_0x5aaef8(0x17a)]({'hovered':!0x1});}[_0x3846ff(0x1f1)](_0x1ae94a){return!0x1;}[_0x3846ff(0x175)](_0x18ede1){const _0x1b2b52=_0x3846ff;_0x302ade['drawWith'](_0x18ede1,{'width':this[_0x1b2b52(0xb4)],'height':this[_0x1b2b52(0xe4)],'strokeWidth':Pi,'stroke':this[_0x1b2b52(0x1b2)],'evented':!0x1,'fill':this[_0x1b2b52(0x21e)]}),this[_0x1b2b52(0x20e)]&&(_0x18ede1[_0x1b2b52(0x249)](),_0x18ede1[_0x1b2b52(0x272)](0x1,0x0,0x0,0x1,this[_0x1b2b52(0xb4)],this['_labelPosition']===_0x1b2b52(0xfa)?0x0:-J),ue[_0x1b2b52(0x1ee)](_0x18ede1,{'text':this['_name'],'color':this[_0x1b2b52(0x1b2)]}),_0x18ede1[_0x1b2b52(0x217)]());}}var Ai=Object[_0x3846ff(0x291)],yi=(_0x36f2a2,_0x447752,_0x4e1e37,_0x4f7e98)=>{const _0x2715b4=_0x3846ff;for(var _0x23beff=_0x4f7e98>0x1?void 0x0:_0x4f7e98?Ai(_0x447752,_0x4e1e37):_0x447752,_0x48f7ab=_0x36f2a2[_0x2715b4(0x17b)]-0x1,_0x3c5e24;_0x48f7ab>=0x0;_0x48f7ab--)(_0x3c5e24=_0x36f2a2[_0x48f7ab])&&(_0x23beff=_0x3c5e24(_0x23beff)||_0x23beff);return _0x23beff;},pe=(_0x3a180f,_0x369a05)=>(_0x831031,_0x4374c4)=>_0x369a05(_0x831031,_0x4374c4,_0x3a180f);const $i=0x1389;let Pe=class extends _0x1dd0ba{constructor(_0x5466bc,_0x4a5033,_0x305ac6,_0x344634){const _0x14fb0b=_0x3846ff;super(),_(this,_0x14fb0b(0x294),new Set()),_(this,_0x14fb0b(0x120),null),(this[_0x14fb0b(0x228)]=_0x5466bc,this[_0x14fb0b(0x298)]=_0x4a5033,this[_0x14fb0b(0xfc)]=_0x305ac6,this[_0x14fb0b(0xe0)]=_0x344634,this[_0x14fb0b(0x13c)]());}['_init'](){const _0x1efb05=_0x3846ff;this[_0x1efb05(0x298)]['currentSkeleton$'][_0x1efb05(0xda)](_0x13d165(this[_0x1efb05(0x2a5)]),_0x3fd595(_0x3aa856=>{const _0x13ed7b=_0x1efb05;if(_0x3aa856){const _0x3cb053=_0x3aa856[_0x13ed7b(0x2b4)];return _0x4359ad(this[_0x13ed7b(0xfc)]['getCollabCursors$'](this[_0x13ed7b(0x228)]['unitId']),this[_0x13ed7b(0xe0)][_0x13ed7b(0x11f)])['pipe'](_0x22d561(([_0xd776bb,_0x4f2ead])=>{const _0x1d38df=new Map();return _0xd776bb['forEach']((_0x1d4e29,_0x551870)=>{const _0x330a14=_0x3d7e;if(_0x1d4e29[_0x330a14(0x242)]===_0x3cb053){const _0x5f0349={..._0x1d4e29};_0x5f0349['color']=this[_0x330a14(0xe0)]['getColorFromTheme'](_0x1d4e29[_0x330a14(0x12d)]),_0x1d38df[_0x330a14(0x28a)](_0x551870,_0x5f0349);}}),{'skeleton':_0x3aa856,'cursors':_0x1d38df};}));}return _0x49ce4b({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x38525d,cursors:_0x312f1e})=>{const _0x5ad4c7=_0x1efb05;this[_0x5ad4c7(0xd3)](),_0x38525d&&this[_0x5ad4c7(0x137)](_0x38525d,_0x312f1e);}),this[_0x1efb05(0x298)][_0x1efb05(0x1a3)][_0x1efb05(0x100)](_0x428063=>{const _0x1b7c00=_0x1efb05;if(_0x428063==null)return;const {skeleton:_0x2adcb5}=_0x428063,{scene:_0x33163c}=this['_context'];_0x33163c[_0x1b7c00(0x1ca)][_0x1b7c00(0x220)](_0x4ba92b(_0xa8a9d1=>{const _0x2725f7=_0x1b7c00;var _0x3e4827,_0x171067;const {offsetX:_0x3f2754,offsetY:_0x10e592}=_0xa8a9d1,{x:_0x3b1b3c,y:_0x29e285}=_0x33163c[_0x2725f7(0x197)](_0x101d62[_0x2725f7(0x167)]([_0x3f2754,_0x10e592])),{scaleX:_0x57f994,scaleY:_0x4415a2}=_0x33163c[_0x2725f7(0x193)](),_0x3950cb=_0x33163c[_0x2725f7(0x26d)](_0xeceeba[_0x2725f7(0x296)]),_0x37bcee=_0x33163c[_0x2725f7(0x251)](_0x101d62['FromArray']([_0x3b1b3c,_0x29e285]),_0x3950cb),_0xbdbfb=_0x2adcb5[_0x2725f7(0x21b)](_0x3f2754,_0x10e592,_0x57f994,_0x4415a2,_0x37bcee);((_0x3e4827=this[_0x2725f7(0x120)])==null?void 0x0:_0x3e4827[_0x2725f7(0x111)])===_0xbdbfb[_0x2725f7(0x111)]&&((_0x171067=this['_lastPointer'])==null?void 0x0:_0x171067['row'])===_0xbdbfb[_0x2725f7(0x211)]||this[_0x2725f7(0x294)][_0x2725f7(0x1d7)](_0x53e40a=>{_0x53e40a['onMouseMove'](_0xbdbfb);});},0x64));});}[_0x3846ff(0x137)](_0x5b8aa7,_0x135c0f){const _0x1825eb=_0x3846ff;var _0x32442f;const _0x13273d=(_0x32442f=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x32442f[_0x1825eb(0x1cc)];if(!_0x13273d)return;const _0x144e78=this[_0x1825eb(0x24b)]();if(!_0x144e78)return;this[_0x1825eb(0x294)]['forEach'](_0xf8ed9f=>{_0xf8ed9f['makeDirty']();});const {scene:_0x26c4f8}=_0x144e78,_0x260aee=xi(Array['from'](_0x135c0f[_0x1825eb(0x239)]()))[_0x1825eb(0xd5)](_0x528b93=>{const {color:_0x469a39,range:_0x371e57,name:_0x1f928d,selection:_0x2fb3ce,sheetID:_0x421843}=_0x528b93,{startColumn:_0x2f5bd2,startRow:_0x30620e,endColumn:_0x311a67,endRow:_0x1ad3e5}=_0x371e57,_0xc24d58=_0x40429a(_0x30620e,_0x2f5bd2,_0x26c4f8,_0x13273d),_0x2d12ae=_0x40429a(_0x1ad3e5,_0x311a67,_0x26c4f8,_0x13273d),{columnHeaderHeightAndMarginTop:_0x39ed13}=_0x13273d,{startX:_0x1624d3,startY:_0x340be1}=_0xc24d58,{endX:_0x54c1a7,endY:_0x2c39ea}=_0x2d12ae,_0x1ebc32=_0x54c1a7-_0x1624d3,_0x28f764=_0x2c39ea-_0x340be1,_0x5a0718={'labelPosition':_0x340be1-_0x39ed13>=J?'top':'bottom','sheetID':_0x421843,'range':_0x371e57,'color':_0x469a39,'name':_0x1f928d,'selection':_0x2fb3ce,'left':_0x1624d3,'top':_0x340be1,'width':_0x1ebc32,'height':_0x28f764,'evented':!0x1,'zIndex':$i};return new wi(_0x1f928d,_0x5a0718);});_0x26c4f8[_0x1825eb(0x28f)](_0x260aee,Li),this['_cursors']=new Set(_0x260aee);}[_0x3846ff(0xd3)](){const _0x2f70bf=_0x3846ff;var _0x195a83;(_0x195a83=this[_0x2f70bf(0x294)])==null||_0x195a83[_0x2f70bf(0x1d7)](_0xe66ced=>_0xe66ced[_0x2f70bf(0x1b6)]());}[_0x3846ff(0x24b)](){const _0x58dc02=_0x3846ff;return _0x5aa4fd(this[_0x58dc02(0x228)]['unit'],this['_context']);}};Pe=yi([pe(0x1,_0xcb6f13(_0x3e5d9e)),pe(0x2,_0xcb6f13(F)),pe(0x3,_0xcb6f13(_0x25d1d1))],Pe);function xi(_0x180f97){const _0x317cda=_0x3846ff,_0x81d6cb=new Map();return _0x180f97[_0x317cda(0x1d7)](_0x15f83c=>{const _0x4c16b=_0x317cda;if(_0x81d6cb[_0x4c16b(0x1df)](_0x15f83c['selection'])){const _0x2f093d=_0x81d6cb['get'](_0x15f83c[_0x4c16b(0x152)]);_0x2f093d[_0x4c16b(0x24c)]+=',\x20'+_0x15f83c[_0x4c16b(0x24c)];}else _0x81d6cb[_0x4c16b(0x28a)](_0x15f83c[_0x4c16b(0x152)],_0x15f83c);}),Array[_0x317cda(0x104)](_0x81d6cb[_0x317cda(0x239)]());}var v=function(){const _0x242fad=_0x3846ff;return v=Object[_0x242fad(0x1c5)]||function(_0x54c3ab){const _0x28285b=_0x242fad;for(var _0x41a808,_0x2b3827=0x1,_0x168319=arguments['length'];_0x2b3827<_0x168319;_0x2b3827++){_0x41a808=arguments[_0x2b3827];for(var _0x2b9048 in _0x41a808)Object[_0x28285b(0x25a)]['hasOwnProperty'][_0x28285b(0x292)](_0x41a808,_0x2b9048)&&(_0x54c3ab[_0x2b9048]=_0x41a808[_0x2b9048]);}return _0x54c3ab;},v['apply'](this,arguments);},Bi=function(_0x32d4c5,_0x523178){const _0x3c9876=_0x3846ff;var _0x2fc08a={};for(var _0x408676 in _0x32d4c5)Object['prototype'][_0x3c9876(0x1ab)][_0x3c9876(0x292)](_0x32d4c5,_0x408676)&&_0x523178[_0x3c9876(0x1e8)](_0x408676)<0x0&&(_0x2fc08a[_0x408676]=_0x32d4c5[_0x408676]);if(_0x32d4c5!=null&&typeof Object[_0x3c9876(0x288)]==_0x3c9876(0xd7)){for(var _0x2afc88=0x0,_0x408676=Object[_0x3c9876(0x288)](_0x32d4c5);_0x2afc88<_0x408676[_0x3c9876(0x17b)];_0x2afc88++)_0x523178[_0x3c9876(0x1e8)](_0x408676[_0x2afc88])<0x0&&Object['prototype'][_0x3c9876(0x174)][_0x3c9876(0x292)](_0x32d4c5,_0x408676[_0x2afc88])&&(_0x2fc08a[_0x408676[_0x2afc88]]=_0x32d4c5[_0x408676[_0x2afc88]]);}return _0x2fc08a;},Fe=_0x8bf2f1(function(_0x306d83,_0x5d605e){const _0x37e9dc=_0x3846ff;var _0x301109=_0x306d83['icon'],_0x2e8ae0=_0x306d83['id'],_0x510b52=_0x306d83[_0x37e9dc(0x107)],_0x520202=_0x306d83[_0x37e9dc(0x21d)],_0x4bb860=Bi(_0x306d83,[_0x37e9dc(0x10f),'id',_0x37e9dc(0x107),_0x37e9dc(0x21d)]),_0x5c5661=_0x37e9dc(0x224)[_0x37e9dc(0xd9)](_0x2e8ae0,'\x20')[_0x37e9dc(0xd9)](_0x510b52||'')['trim'](),_0x33cca5=_0xb27044('_'[_0x37e9dc(0xd9)](Fi()));return Dt(_0x301109,''[_0x37e9dc(0xd9)](_0x2e8ae0),{'defIds':_0x301109['defIds'],'idSuffix':_0x33cca5[_0x37e9dc(0x156)]},v({'ref':_0x5d605e,'className':_0x5c5661},_0x4bb860),_0x520202);});function Dt(_0x18a42c,_0x2e994d,_0x475aea,_0x1bd300,_0x5efdc3){const _0x26ff1d=_0x3846ff;return _0x5c9ad0(_0x18a42c[_0x26ff1d(0x182)],v(v({'key':_0x2e994d},ki(_0x18a42c,_0x475aea,_0x5efdc3)),_0x1bd300),(Hi(_0x18a42c,_0x475aea)[_0x26ff1d(0x2a8)]||[])[_0x26ff1d(0xd5)](function(_0x4e3326,_0x4c597e){const _0x3c35c9=_0x26ff1d;return Dt(_0x4e3326,''[_0x3c35c9(0xd9)](_0x2e994d,'-')[_0x3c35c9(0xd9)](_0x18a42c[_0x3c35c9(0x182)],'-')[_0x3c35c9(0xd9)](_0x4c597e),_0x475aea,void 0x0,_0x5efdc3);}));}function ki(_0x3d48be,_0x5b9b5e,_0x1455d8){const _0x454cbd=_0x3846ff;var _0x18be44=v({},_0x3d48be[_0x454cbd(0xb5)]);_0x1455d8!=null&&_0x1455d8[_0x454cbd(0x1f8)]&&_0x18be44[_0x454cbd(0xd1)]==='colorChannel1'&&(_0x18be44[_0x454cbd(0xd1)]=_0x1455d8[_0x454cbd(0x1f8)]),_0x3d48be['tag']===_0x454cbd(0xbb)&&_0x18be44['id']&&(_0x18be44['id']=_0x18be44['id']+_0x5b9b5e[_0x454cbd(0x25b)]),Object[_0x454cbd(0x273)](_0x18be44)['forEach'](function(_0x1f50ac){const _0x39d923=_0x454cbd;var _0x1f1262=_0x1f50ac[0x0],_0x66822=_0x1f50ac[0x1];_0x1f1262===_0x39d923(0xbb)&&typeof _0x66822==_0x39d923(0x240)&&(_0x18be44[_0x1f1262]=_0x66822[_0x39d923(0x178)](/url\(#(.*)\)/,_0x39d923(0x1b9)['concat'](_0x5b9b5e[_0x39d923(0x25b)],')')));});var _0x17675b=_0x5b9b5e['defIds'];return!_0x17675b||_0x17675b['length']===0x0||(_0x3d48be[_0x454cbd(0x182)]===_0x454cbd(0x267)&&_0x18be44['xlink:href']&&(_0x18be44[_0x454cbd(0x268)]=_0x18be44['xlink:href']+_0x5b9b5e['idSuffix']),Object[_0x454cbd(0x273)](_0x18be44)[_0x454cbd(0x1d7)](function(_0x18df01){const _0x53629b=_0x454cbd;var _0x21b2fd=_0x18df01[0x0],_0x49f853=_0x18df01[0x1];typeof _0x49f853==_0x53629b(0x240)&&(_0x18be44[_0x21b2fd]=_0x49f853[_0x53629b(0x178)](/url\(#(.*)\)/,_0x53629b(0x1b9)['concat'](_0x5b9b5e['idSuffix'],')')));})),_0x18be44;}function Hi(_0x5032e3,_0x4172f9){const _0x4a71a9=_0x3846ff;var _0x4ffa5d,_0xa29577=_0x4172f9[_0x4a71a9(0x2a9)];return!_0xa29577||_0xa29577[_0x4a71a9(0x17b)]===0x0?_0x5032e3:_0x5032e3[_0x4a71a9(0x182)]===_0x4a71a9(0x143)&&(!((_0x4ffa5d=_0x5032e3[_0x4a71a9(0x2a8)])===null||_0x4ffa5d===void 0x0)&&_0x4ffa5d[_0x4a71a9(0x17b)])?v(v({},_0x5032e3),{'children':_0x5032e3[_0x4a71a9(0x2a8)][_0x4a71a9(0xd5)](function(_0x1f1c1b){const _0x39fcec=_0x4a71a9;return typeof _0x1f1c1b[_0x39fcec(0xb5)]['id']==_0x39fcec(0x240)&&_0xa29577&&_0xa29577[_0x39fcec(0x213)](_0x1f1c1b[_0x39fcec(0xb5)]['id'])?v(v({},_0x1f1c1b),{'attrs':v(v({},_0x1f1c1b[_0x39fcec(0xb5)]),{'id':_0x1f1c1b[_0x39fcec(0xb5)]['id']+_0x4172f9[_0x39fcec(0x25b)]})}):_0x1f1c1b;})}):_0x5032e3;}function Fi(){const _0x56cae6=_0x3846ff;return Math[_0x56cae6(0xe8)]()[_0x56cae6(0x1a7)](0x24)[_0x56cae6(0x184)](0x2,0x8);}Fe[_0x3846ff(0x199)]=_0x3846ff(0x1d0);var Yi={'tag':_0x3846ff(0x1fa),'attrs':{'xmlns':_0x3846ff(0x23b),'fill':_0x3846ff(0x183),'viewBox':_0x3846ff(0x22c),'width':_0x3846ff(0x13f),'height':_0x3846ff(0x13f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3846ff(0x260)},'children':[{'tag':_0x3846ff(0x113),'attrs':{'stroke':_0x3846ff(0xf0),'d':_0x3846ff(0x284),'strokeLinecap':_0x3846ff(0xb3),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3846ff(0x143),'attrs':{},'children':[{'tag':_0x3846ff(0x2af),'attrs':{'id':_0x3846ff(0xba)},'children':[{'tag':_0x3846ff(0x113),'attrs':{'fill':'white','d':_0x3846ff(0x1a4)}}]}]}],'defIds':[_0x3846ff(0xba)]},Nt=_0x8bf2f1(function(_0x5ac083,_0x558469){const _0x141bf7=_0x3846ff;return _0x5c9ad0(Fe,Object[_0x141bf7(0x1c5)]({},_0x5ac083,{'id':_0x141bf7(0x13d),'ref':_0x558469,'icon':Yi}));});Nt['displayName']='OffLineIcon';var ji={'tag':_0x3846ff(0x1fa),'attrs':{'xmlns':_0x3846ff(0x23b),'fill':'none','viewBox':_0x3846ff(0x1ea),'width':_0x3846ff(0x13f),'height':_0x3846ff(0x13f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3846ff(0x1eb)},'children':[{'tag':_0x3846ff(0x113),'attrs':{'stroke':_0x3846ff(0xf0),'d':_0x3846ff(0x2ac),'strokeLinecap':_0x3846ff(0xb3),'strokeLinejoin':_0x3846ff(0xb3),'strokeWidth':1.2}}]},{'tag':_0x3846ff(0x143),'attrs':{},'children':[{'tag':_0x3846ff(0x2af),'attrs':{'id':_0x3846ff(0x23f)},'children':[{'tag':_0x3846ff(0x113),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x3846ff(0x258)}}]}]}],'defIds':[_0x3846ff(0x23f)]},Ut=_0x8bf2f1(function(_0xff85e9,_0x6aabec){const _0xa2a3fb=_0x3846ff;return _0x5c9ad0(Fe,Object[_0xa2a3fb(0x1c5)]({},_0xff85e9,{'id':_0xa2a3fb(0x1b1),'ref':_0x6aabec,'icon':ji}));});Ut['displayName']='OnLineIcon';function Vi(_0x1254a6){const _0x3b63c7=_0x3846ff;switch(_0x1254a6){case _0x28123e['OFFLINE']:return _0x3b63c7(0x2a3);case _0x28123e[_0x3b63c7(0x1f4)]:return _0x3b63c7(0xca);case _0x28123e[_0x3b63c7(0x244)]:return _0x3b63c7(0xb1);case _0x28123e[_0x3b63c7(0x22b)]:return _0x3b63c7(0xfb);case _0x28123e['AWAITING']:case _0x28123e['AWAITING_WITH_PENDING']:return _0x3b63c7(0x265);case _0x28123e[_0x3b63c7(0x189)]:case _0x28123e[_0x3b63c7(0x18e)]:return _0x3b63c7(0x231);}}function Wi(_0x2c78c3){const _0x2c3291=_0x3846ff,{status$:_0x2cc23f}=_0x2c78c3,_0x529520=_0x1816ec(_0x2cc23f,_0x28123e['NOT_COLLAB']),_0x12f8c0=_0x36b3a5(_0x4c047b),_0x558680=_0x36b3a5(_0x8cd09e),_0xd8cdaf=_0x529520!==_0x28123e['OFFLINE'],_0x2f3276=_0x12f8c0['t'](Vi(_0x529520)),_0x4cc4e6=_0xd8cdaf?_0x2f1c89(Ut,{}):_0x2f1c89(Nt,{}),_0x3c3ccf=_0x30382f(()=>{const _0x2ad4aa=_0x3d7e;_0xd8cdaf||_0x558680[_0x2ad4aa(0x1ec)]();},[_0xd8cdaf,_0x558680]);function _0xef1734(){const _0x2efc78=_0x3d7e;return _0x35ed68(_0x2efc78(0x253),{'className':'univer-flex\x20univer-items-center','onClick':_0x3c3ccf,'children':[_0x2f1c89(_0x2efc78(0x253),{'className':_0x21dd86(_0x2efc78(0x122),{'univer-text-green-500':_0xd8cdaf,'univer-text-red-500':!_0xd8cdaf}),'children':_0x4cc4e6}),_0x2f1c89('div',{'className':_0x2efc78(0x226),'children':_0x2f3276})]});}return _0xd8cdaf?_0xef1734():_0x2f1c89(_0x2477ff,{'title':_0x12f8c0['t'](_0x2c3291(0x1b7)),'children':_0xef1734()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1f47fb,_0x3ad4f1,_0x336ccc,_0x31f50b)=>{const _0x2bf60a=_0x3846ff;for(var _0x19bfbf=_0x31f50b>0x1?void 0x0:_0x31f50b?Xi(_0x3ad4f1,_0x336ccc):_0x3ad4f1,_0x5a3ae0=_0x1f47fb[_0x2bf60a(0x17b)]-0x1,_0x129103;_0x5a3ae0>=0x0;_0x5a3ae0--)(_0x129103=_0x1f47fb[_0x5a3ae0])&&(_0x19bfbf=_0x129103(_0x19bfbf)||_0x19bfbf);return _0x19bfbf;},ee=(_0x4553ad,_0xc1c70c)=>(_0x2581ab,_0x25c571)=>_0xc1c70c(_0x2581ab,_0x25c571,_0x4553ad);let se=class extends _0x3a37e9{constructor(_0x5ea5ad,_0x513640,_0x185d8b,_0x13109b){const _0x19097b=_0x3846ff;super(),_(this,'_status$',new _0x40deef(_0x28123e[_0x19097b(0x22b)])),(this[_0x19097b(0x21a)]=_0x5ea5ad,this['_injector']=_0x513640,this[_0x19097b(0x1fc)]=_0x185d8b,this[_0x19097b(0x20b)]=_0x13109b,this[_0x19097b(0x1f0)](),this[_0x19097b(0xb6)]());}[_0x3846ff(0xb6)](){const _0x5779f4=_0x3846ff;this['disposeWithMe'](this['_univerInstanceService'][_0x5779f4(0x297)]['pipe'](_0x1ae0b1(()=>{const _0x107fae=_0x5779f4,_0xebc798=this[_0x107fae(0x21a)][_0x107fae(0x1fe)]();return _0xebc798?this[_0x107fae(0x1fc)]['getCollabEntity$'](_0xebc798['getUnitId']()):_0x49ce4b(null);}),_0x1ae0b1(_0x4e0a15=>_0x4e0a15?_0x4e0a15[_0x5779f4(0x1e1)]:_0x49ce4b(_0x28123e[_0x5779f4(0x22b)])))[_0x5779f4(0x100)](_0x25185c=>{const _0x59fc7b=_0x5779f4;this[_0x59fc7b(0x1a5)][_0x59fc7b(0xb0)](_0x25185c);}));}[_0x3846ff(0x1f0)](){const _0x35607a=_0x3846ff;this[_0x35607a(0x16a)](this[_0x35607a(0x20b)]['registerComponent'](_0xe910f7['HEADER_MENU'],()=>_0x2f6785(Ki({'status$':this['_status$'][_0x35607a(0x14c)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x29ac28),ee(0x1,_0xcb6f13(_0x36eec9)),ee(0x2,_0xcb6f13(_0x82f0fa)),ee(0x3,_0x447572)],se);function Ki(_0x135503){const {status$:_0x5c7369}=_0x135503;return function(){return _0x2f1c89(Wi,{'status$':_0x5c7369});};}var zi=Object[_0x3846ff(0x291)],Ji=(_0x179102,_0x76497d,_0x3f3031,_0x59f9d5)=>{const _0x1a7bed=_0x3846ff;for(var _0x86f609=_0x59f9d5>0x1?void 0x0:_0x59f9d5?zi(_0x76497d,_0x3f3031):_0x76497d,_0x8981c4=_0x179102[_0x1a7bed(0x17b)]-0x1,_0x219449;_0x8981c4>=0x0;_0x8981c4--)(_0x219449=_0x179102[_0x8981c4])&&(_0x86f609=_0x219449(_0x86f609)||_0x86f609);return _0x86f609;},B=(_0x51b9d8,_0x5c54ba)=>(_0x934dfa,_0x17f3aa)=>_0x5c54ba(_0x934dfa,_0x17f3aa,_0x51b9d8);let ie=class extends _0x3a37e9{constructor(_0x2d55a9,_0x99b6d1,_0x3ddcde,_0x379fbb,_0x350ff1,_0x13d72d){const _0x1b1c3e=_0x3846ff;super(),this[_0x1b1c3e(0x266)]=_0x2d55a9,this[_0x1b1c3e(0x23d)]=_0x99b6d1,this[_0x1b1c3e(0x177)]=_0x3ddcde,this[_0x1b1c3e(0x1e9)]=_0x379fbb,this['_notificationService']=_0x350ff1,this['_localeService']=_0x13d72d,this[_0x1b1c3e(0x112)](),this[_0x1b1c3e(0x141)]();}['_setupBeforeClosingHandler'](){const _0x267f0b=_0x3846ff;this[_0x267f0b(0x16a)](this[_0x267f0b(0x266)][_0x267f0b(0x276)](()=>{const _0x23419c=_0x267f0b;if(this[_0x23419c(0x23d)]['saveTaskMap']['size'])return this[_0x23419c(0x157)]['t'](_0x23419c(0x1b3));}));}[_0x3846ff(0x141)](){const _0x593f87=_0x3846ff;this[_0x593f87(0x16a)](this[_0x593f87(0x177)][_0x593f87(0xe6)]['subscribe'](_0x37e398=>{const _0xea1abf=_0x593f87;_0x37e398['id']===_0x53338d[_0xea1abf(0xe7)]&&this[_0xea1abf(0x1e9)][_0xea1abf(0x245)]({'type':_0x3e623b[_0xea1abf(0x27b)],'content':this[_0xea1abf(0x157)]['t'](_0xea1abf(0x289))}),_0x37e398['id']===_0x53338d['CLOSE_ROOM']&&this[_0xea1abf(0x1e9)]['show']({'type':_0x3e623b['Warning'],'content':this['_localeService']['t'](_0xea1abf(0x214))}),_0x37e398['id']===_0x53338d['PERMISSION_DENIED']&&this[_0xea1abf(0x1d3)][_0xea1abf(0x245)]({'title':this[_0xea1abf(0x157)]['t']('permission.title'),'content':this[_0xea1abf(0x157)]['t'](_0xea1abf(0x27a)),'type':_0xea1abf(0x1e6),'duration':0x0}),_0x37e398['id']===_0x53338d[_0xea1abf(0x1f4)]&&this[_0xea1abf(0x1e9)][_0xea1abf(0x245)]({'type':_0x3e623b[_0xea1abf(0x176)],'content':this['_localeService']['t'](_0xea1abf(0x214))+'('+_0x37e398[_0xea1abf(0x2b3)]+')'}),_0x37e398['id']===_0x53338d[_0xea1abf(0x1e5)]&&this[_0xea1abf(0x1e9)]['show']({'type':_0x3e623b['Warning'],'content':this[_0xea1abf(0x157)]['t'](_0x37e398[_0xea1abf(0x2b3)]||'')}),_0x37e398['id']===_0x53338d['SOCKET_FAILED_RETRY']&&this['_messageService'][_0xea1abf(0x245)]({'type':_0x3e623b[_0xea1abf(0x27b)],'content':this['_localeService']['t'](_0xea1abf(0x285))}),_0x37e398['id']===_0x53338d[_0xea1abf(0x115)]&&this['_messageService'][_0xea1abf(0x245)]({'type':_0x3e623b[_0xea1abf(0x176)],'content':this[_0xea1abf(0x157)]['t'](_0xea1abf(0x1e2))}),_0x37e398['id']===_0x53338d['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xea1abf(0x1e9)]['show']({'type':_0x3e623b[_0xea1abf(0x176)],'content':this[_0xea1abf(0x157)]['t'](_0xea1abf(0xcd))});}));}};ie=Ji([B(0x0,_0x3debdd),B(0x1,_0x67222d),B(0x2,_0xcb6f13(_0x49e50d)),B(0x3,_0x422831),B(0x4,_0x22ad52),B(0x5,_0xcb6f13(_0x4c047b))],ie);const Zi=_0x3846ff(0x181),et={},Mt=_0x37d825(_0x3846ff(0x22e));var Qi=Object[_0x3846ff(0x291)],qi=(_0x4dc941,_0x3f5a50,_0x49bb91,_0x23fd9d)=>{const _0x2a460a=_0x3846ff;for(var _0x282d9b=_0x23fd9d>0x1?void 0x0:_0x23fd9d?Qi(_0x3f5a50,_0x49bb91):_0x3f5a50,_0xb5d00c=_0x4dc941[_0x2a460a(0x17b)]-0x1,_0x513c7b;_0xb5d00c>=0x0;_0xb5d00c--)(_0x513c7b=_0x4dc941[_0xb5d00c])&&(_0x282d9b=_0x513c7b(_0x282d9b)||_0x282d9b);return _0x282d9b;},K=(_0x15f508,_0x19505b)=>(_0x379953,_0x210916)=>_0x19505b(_0x379953,_0x210916,_0x15f508);let ne=class extends _0x1dd0ba{constructor(_0xef5611,_0x42f8de,_0x45a7e9,_0x5bd7f0,_0x2ed35){const _0x48cd4e=_0x3846ff;super(),this[_0x48cd4e(0x1ef)]=_0xef5611,this[_0x48cd4e(0x1c1)]=_0x42f8de,this[_0x48cd4e(0x1ba)]=_0x45a7e9,this[_0x48cd4e(0xc8)]=_0x5bd7f0,_0x2ed35?_0x2ed35==null||_0x2ed35[_0x48cd4e(0x1bb)]()['then'](()=>this[_0x48cd4e(0x13c)]()):(this[_0x48cd4e(0x1c1)]['debug']('[CollaborationDataLoaderController]',_0x48cd4e(0xe5)),this[_0x48cd4e(0x13c)]());}async[_0x3846ff(0x13c)](){const _0x5bbe9b=_0x3846ff,_0x19b5dc=this[_0x5bbe9b(0x1ef)]['getParam']('unit'),_0x54ceb8=this['_urlService'][_0x5bbe9b(0xc3)](_0x5bbe9b(0x103)),_0x744a34=this[_0x5bbe9b(0x1ef)][_0x5bbe9b(0xc3)](_0x5bbe9b(0xf5));if(!_0x19b5dc||!_0x54ceb8){this['_logService'][_0x5bbe9b(0x1a1)](_0x5bbe9b(0x14f),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x106f13=await this[_0x5bbe9b(0xc8)][_0x5bbe9b(0x26a)](_0x19b5dc,Number(_0x54ceb8),_0x744a34);_0x106f13&&_0x106f13 instanceof _0x3a9cd8&&this[_0x5bbe9b(0x179)](_0x106f13);}async[_0x3846ff(0x179)](_0x21b472){const _0x2b1ef6=_0x3846ff;await this[_0x2b1ef6(0x28b)](_0x21b472),_0x21b472['activeSheet$'][_0x2b1ef6(0xda)](_0xa4e4b6(this[_0x2b1ef6(0x2a5)]))[_0x2b1ef6(0x100)](_0x1f330a=>{const _0x4272c7=_0x2b1ef6;_0x1f330a&&this[_0x4272c7(0x2b2)](_0x1f330a);}),this[_0x2b1ef6(0x1ef)]['urlChange$'][_0x2b1ef6(0xda)](_0xa4e4b6(this[_0x2b1ef6(0x2a5)]))[_0x2b1ef6(0x100)](()=>this['_updateSubUnitFromURLParams'](_0x21b472));}[_0x3846ff(0x2b2)](_0x4bd064,_0x5e4775=!0x1){const _0x21919e=_0x3846ff,_0xdfd10a=this[_0x21919e(0x1ef)][_0x21919e(0xc3)](_0x21919e(0xf5));_0x4bd064[_0x21919e(0x164)]()!==_0xdfd10a&&this[_0x21919e(0x1ef)]['setParam'](_0x21919e(0xf5),_0x4bd064[_0x21919e(0x164)](),_0x5e4775);}async['_updateSubUnitFromURLParams'](_0x142dc1){const _0x527924=_0x3846ff;var _0x40b0e3;const _0x4e9df6=this[_0x527924(0x1ef)][_0x527924(0xc3)](_0x527924(0xf5));if(!_0x4e9df6||!_0x142dc1[_0x527924(0x10a)](_0x4e9df6)){const _0x299d76=_0x142dc1[_0x527924(0xdd)]()[0x0],_0x21ad58=_0x142dc1[_0x527924(0x10a)](_0x299d76);if(!_0x21ad58)return;this['_updateURLWithCurrentState'](_0x21ad58,!0x0),await this['_commandService'][_0x527924(0xce)](_0x183106['id'],{'unitId':_0x142dc1[_0x527924(0x196)](),'subUnitId':_0x299d76});return;}((_0x40b0e3=_0x142dc1[_0x527924(0x264)]())==null?void 0x0:_0x40b0e3['getSheetId']())!==_0x4e9df6&&await this['_commandService'][_0x527924(0xce)](_0x183106['id'],{'unitId':_0x142dc1[_0x527924(0x196)](),'subUnitId':_0x4e9df6});}};ne=qi([K(0x0,Mt),K(0x1,_0x2feec0),K(0x2,_0x2dbc8c),K(0x3,_0xcb6f13(_0x4523d5)),K(0x4,_0x55df5d(_0x267e52))],ne);var en=Object[_0x3846ff(0x291)],tn=(_0x3666f6,_0x5c0bab,_0x409aa4,_0x45dd69)=>{const _0x290381=_0x3846ff;for(var _0x474338=_0x45dd69>0x1?void 0x0:_0x45dd69?en(_0x5c0bab,_0x409aa4):_0x5c0bab,_0x4e1fd0=_0x3666f6[_0x290381(0x17b)]-0x1,_0xc0d842;_0x4e1fd0>=0x0;_0x4e1fd0--)(_0xc0d842=_0x3666f6[_0x4e1fd0])&&(_0x474338=_0xc0d842(_0x474338)||_0x474338);return _0x474338;},tt=(_0xd095cd,_0x3e422e)=>(_0x1f910c,_0x5e5454)=>_0x3e422e(_0x1f910c,_0x5e5454,_0xd095cd);let re=class{constructor(_0x2d13eb,_0x3cb3f8){const _0x6ba58f=_0x3846ff;this[_0x6ba58f(0x219)]=_0x2d13eb,this['_renderManagerService']=_0x3cb3f8;}[_0x3846ff(0x1e4)](_0x15eda2){const _0x5d3989=_0x3846ff;this[_0x5d3989(0x1d4)](_0x15eda2),this[_0x5d3989(0x15b)](_0x15eda2);}['transformRemoteChangeset'](_0xe3efeb){const _0x4db8ff=_0x3846ff,{unitID:_0x40df44}=_0xe3efeb,_0x35bbfc=this[_0x4db8ff(0xbf)][_0x4db8ff(0x24e)](_0x40df44)[_0x4db8ff(0xfd)](_0x3bb9c0),{redoCache:_0x5d92aa}=_0x35bbfc[_0x4db8ff(0x227)]();if(_0x5d92aa[_0x4db8ff(0x17b)]===0x0)return _0xe3efeb;let _0x28e676=_0x7aa6fc[_0x4db8ff(0x281)](_0xe3efeb[_0x4db8ff(0x114)][0x0]);for(let _0x14f534=0x0;_0x14f534<_0x5d92aa[_0x4db8ff(0x17b)];_0x14f534++){const _0x1ee1be={'id':'doc.mutation.rich-text-editing','params':{..._0x5d92aa[_0x14f534]}},_0x23b53d=this[_0x4db8ff(0x219)][_0x4db8ff(0x1a6)](_0x28e676,_0x1ee1be,!0x1);if(_0x15999e(_0x23b53d))throw _0x23b53d[_0x4db8ff(0x1e6)];_0x28e676=_0x23b53d[_0x4db8ff(0xf9)];}return{..._0x7aa6fc[_0x4db8ff(0x281)](_0xe3efeb),'mutations':[_0x28e676]};}['_transformUndoRedoStack'](_0x37113b){const _0x53d0b9=_0x3846ff,{unitID:_0x840a48}=_0x37113b,_0x9e7b4d=this[_0x53d0b9(0xbf)][_0x53d0b9(0x24e)](_0x840a48)[_0x53d0b9(0xfd)](_0x3bb9c0),{undoCache:_0x314ac7,redoCache:_0x18b44e}=_0x9e7b4d['getUndoRedoMutationParamsCache']();if(_0x314ac7[_0x53d0b9(0x17b)]===0x0||_0x18b44e['length']===0x0)return;const _0x2a6623=[],_0x803e2e=[];let _0x30f143=_0x7aa6fc[_0x53d0b9(0x281)](_0x37113b['mutations'][0x0]),_0x25911c=_0x7aa6fc[_0x53d0b9(0x281)](_0x37113b[_0x53d0b9(0x114)][0x0]);for(let _0x5869b7=_0x314ac7[_0x53d0b9(0x17b)]-0x1;_0x5869b7>=0x0;_0x5869b7--){const _0x5253eb={'id':_0x53d0b9(0x136),'params':{..._0x314ac7[_0x5869b7]}},_0x40a9c9={'id':'doc.mutation.rich-text-editing','params':{..._0x18b44e[_0x5869b7]}},_0x1cfb97=this['_transformService']['transformMutation'](_0x30f143,_0x5253eb,!0x1),_0xaaf10a=this[_0x53d0b9(0x219)][_0x53d0b9(0x1a6)](_0x25911c,_0x40a9c9,!0x1);if(_0x15999e(_0x1cfb97))throw _0x1cfb97[_0x53d0b9(0x1e6)];if(_0x15999e(_0xaaf10a))throw _0xaaf10a[_0x53d0b9(0x1e6)];_0x2a6623[_0x53d0b9(0x19e)](_0x1cfb97[_0x53d0b9(0x261)]['params']),_0x803e2e['unshift'](_0xaaf10a['m2Prime']['params']),_0x30f143=_0x1cfb97[_0x53d0b9(0xf9)],_0x25911c=_0xaaf10a[_0x53d0b9(0xf9)];}_0x9e7b4d[_0x53d0b9(0x238)]({'undoCache':_0x2a6623,'redoCache':_0x803e2e});}['_transformPreviousActiveRange'](_0x1290ef){const _0x4530cd=_0x3846ff,{unitID:_0x366a27}=_0x1290ef,_0x159fff=this[_0x4530cd(0xbf)][_0x4530cd(0x24e)](_0x366a27)[_0x4530cd(0xfd)](_0x3bb9c0),_0x39ce07=_0x159fff[_0x4530cd(0x216)]();if(_0x39ce07==null)return;const _0x19df66=[{'id':_0x4530cd(0x136),'params':{'unitId':_0x1290ef[_0x4530cd(0x190)],'actions':null,'textRanges':[_0x39ce07]}}],_0x342947=this[_0x4530cd(0x219)][_0x4530cd(0x2a1)](_0x1290ef,_0x19df66);if(!_0x2bf266(_0x342947))throw _0x342947[_0x4530cd(0x1e6)];const _0x3ba7b2=_0x342947[_0x4530cd(0x261)][0x0][_0x4530cd(0x248)][_0x4530cd(0x295)];Array[_0x4530cd(0xf1)](_0x3ba7b2)&&_0x3ba7b2[_0x4530cd(0x17b)]&&_0x159fff['setActiveRange'](_0x3ba7b2[0x0]);}};re=tn([tt(0x0,_0x59419b),tt(0x1,_0x289176)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x334c6a,_0x143f84,_0x1a7fc4,_0x3b0e28)=>{const _0x2dd487=_0x3846ff;for(var _0x8aa333=_0x3b0e28>0x1?void 0x0:_0x3b0e28?sn(_0x143f84,_0x1a7fc4):_0x143f84,_0x56eb4c=_0x334c6a[_0x2dd487(0x17b)]-0x1,_0x552312;_0x56eb4c>=0x0;_0x56eb4c--)(_0x552312=_0x334c6a[_0x56eb4c])&&(_0x8aa333=_0x552312(_0x8aa333)||_0x8aa333);return _0x8aa333;},Ce=(_0x42a907,_0x2065f1)=>(_0x3c97cf,_0x119dc0)=>_0x2065f1(_0x3c97cf,_0x119dc0,_0x42a907);let oe=class{constructor(_0x1f04fa,_0x18b5a9,_0x109c32){const _0x20732e=_0x3846ff;this['_injector']=_0x1f04fa,this[_0x20732e(0x219)]=_0x18b5a9,this[_0x20732e(0x14a)]=_0x109c32;}['transformStateCache'](_0x4e8a40){const _0x4765f9=_0x3846ff;this[_0x4765f9(0x271)](_0x4e8a40);}[_0x3846ff(0x16d)](_0x41417c){const _0x4bd441=_0x3846ff,{unitID:_0x126362}=_0x41417c,{collaboration:_0xfef5dd}=this[_0x4bd441(0x14a)][_0x4bd441(0x1c2)](_0x126362);if(_0xfef5dd[_0x4bd441(0x17b)]===0x0)return _0x41417c;let _0x31fbb2=_0x7aa6fc[_0x4bd441(0x281)](_0x41417c[_0x4bd441(0x114)][0x0]);for(let _0xac2f08=0x0;_0xac2f08<_0xfef5dd[_0x4bd441(0x17b)];_0xac2f08++){const _0xdf73b5={'id':_0x4bd441(0x136),'params':{'unitId':_0xfef5dd[_0xac2f08][_0x4bd441(0x1d6)],..._0xfef5dd[_0xac2f08][_0x4bd441(0x277)]}},_0x540def=this[_0x4bd441(0x219)][_0x4bd441(0x1a6)](_0x31fbb2,_0xdf73b5,!0x1);if(_0x15999e(_0x540def))throw _0x540def[_0x4bd441(0x1e6)];_0x31fbb2=_0x540def[_0x4bd441(0xf9)];}return{..._0x7aa6fc[_0x4bd441(0x281)](_0x41417c),'mutations':[_0x31fbb2]};}[_0x3846ff(0x271)](_0x3a29a9){const _0x48135e=_0x3846ff,{unitID:_0x2292c5}=_0x3a29a9,{history:_0x123c0e,collaboration:_0x1e0990}=this['_docStateChangeManagerService'][_0x48135e(0x1c2)](_0x2292c5);if(_0x123c0e['length']===0x0&&_0x1e0990['length']===0x0)return;const _0x9a6a8d=[],_0x4d7543=[];let _0x35cf8a=_0x7aa6fc[_0x48135e(0x281)](_0x3a29a9['mutations'][0x0]),_0xc8b7b0=_0x7aa6fc[_0x48135e(0x281)](_0x3a29a9[_0x48135e(0x114)][0x0]);for(let _0x49666a=_0x123c0e[_0x48135e(0x17b)]-0x1;_0x49666a>=0x0;_0x49666a--){const _0x29b094={'id':_0x48135e(0x136),'params':{'unitId':_0x123c0e[_0x49666a][_0x48135e(0x1d6)],..._0x123c0e[_0x49666a][_0x48135e(0x132)]}},_0x920702={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x123c0e[_0x49666a][_0x48135e(0x1d6)],..._0x123c0e[_0x49666a][_0x48135e(0x277)]}},_0xcdbcb0=this[_0x48135e(0x219)][_0x48135e(0x1a6)](_0x35cf8a,_0x29b094,!0x1),_0x40927f=this[_0x48135e(0x219)][_0x48135e(0x1a6)](_0xc8b7b0,_0x920702,!0x1);if(_0x15999e(_0xcdbcb0))throw _0xcdbcb0['error'];if(_0x15999e(_0x40927f))throw _0x40927f[_0x48135e(0x1e6)];_0x9a6a8d['unshift']({..._0x123c0e[_0x49666a],'undoState':_0xcdbcb0[_0x48135e(0x261)]['params'],'redoState':_0x40927f[_0x48135e(0x261)][_0x48135e(0x248)]}),_0x35cf8a=_0xcdbcb0['m1Prime'],_0xc8b7b0=_0x40927f[_0x48135e(0xf9)];}_0x35cf8a=_0x7aa6fc[_0x48135e(0x281)](_0x3a29a9[_0x48135e(0x114)][0x0]),_0xc8b7b0=_0x7aa6fc['deepClone'](_0x3a29a9[_0x48135e(0x114)][0x0]);for(let _0x168877=_0x1e0990[_0x48135e(0x17b)]-0x1;_0x168877>=0x0;_0x168877--){const _0x38015b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e0990[_0x168877][_0x48135e(0x1d6)],..._0x1e0990[_0x168877][_0x48135e(0x132)]}},_0x49cf29={'id':_0x48135e(0x136),'params':{'unitId':_0x1e0990[_0x168877][_0x48135e(0x1d6)],..._0x1e0990[_0x168877][_0x48135e(0x277)]}},_0x4e0c33=this['_transformService'][_0x48135e(0x1a6)](_0x35cf8a,_0x38015b,!0x1),_0x151105=this[_0x48135e(0x219)][_0x48135e(0x1a6)](_0xc8b7b0,_0x49cf29,!0x1);if(_0x15999e(_0x4e0c33))throw _0x4e0c33['error'];if(_0x15999e(_0x151105))throw _0x151105['error'];_0x4d7543[_0x48135e(0x19e)]({..._0x1e0990[_0x168877],'undoState':_0x4e0c33[_0x48135e(0x261)][_0x48135e(0x248)],'redoState':_0x151105['m2Prime'][_0x48135e(0x248)]}),_0x35cf8a=_0x4e0c33[_0x48135e(0xf9)],_0xc8b7b0=_0x151105['m1Prime'];}this[_0x48135e(0x14a)][_0x48135e(0x1d9)](_0x2292c5,{'history':_0x9a6a8d,'collaboration':_0x4d7543});}};oe=nn([Ce(0x0,_0xcb6f13(_0x36eec9)),Ce(0x1,_0x59419b),Ce(0x2,_0xcb6f13(_0x343bb8))],oe);var rn=Object[_0x3846ff(0x291)],on=(_0x4e623f,_0x220e89,_0x107e41,_0x562ea6)=>{const _0x27dd49=_0x3846ff;for(var _0x34394e=_0x562ea6>0x1?void 0x0:_0x562ea6?rn(_0x220e89,_0x107e41):_0x220e89,_0x50c43e=_0x4e623f[_0x27dd49(0x17b)]-0x1,_0x2239b1;_0x50c43e>=0x0;_0x50c43e--)(_0x2239b1=_0x4e623f[_0x50c43e])&&(_0x34394e=_0x2239b1(_0x34394e)||_0x34394e);return _0x34394e;},st=(_0x55193a,_0x52023c)=>(_0x2fd85b,_0x13f9a9)=>_0x52023c(_0x2fd85b,_0x13f9a9,_0x55193a);let ae=class{constructor(_0x56dd46,_0x104b01){const _0x191d3b=_0x3846ff;this[_0x191d3b(0x237)]=_0x56dd46,this[_0x191d3b(0x219)]=_0x104b01;}[_0x3846ff(0x1aa)](_0x419f15){const _0x1a6eea=_0x3846ff;var _0xd77302;const _0x476822=this[_0x1a6eea(0x237)][_0x1a6eea(0x119)](_0x33914e),_0x542145=(_0xd77302=_0x476822['getDocRanges']())!=null?_0xd77302:[];if(_0x542145['length']===0x0)return;const _0x50ff88=_0x419f15['unitID'],_0x2c786c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50ff88,'actions':null,'textRanges':_0x542145}}],_0x33fb67=this[_0x1a6eea(0x219)][_0x1a6eea(0x2a1)](_0x419f15,_0x2c786c);if(!_0x2bf266(_0x33fb67))throw _0x33fb67[_0x1a6eea(0x1e6)];const _0x140209=_0x33fb67[_0x1a6eea(0x261)][0x0]['params'][_0x1a6eea(0x295)];Array[_0x1a6eea(0xf1)](_0x140209)&&_0x140209[_0x1a6eea(0x17b)]&&_0x476822[_0x1a6eea(0x15e)](_0x140209,{'unitId':_0x50ff88,'subUnitId':_0x50ff88},!0x1);}};ae=on([st(0x0,_0xcb6f13(_0x36eec9)),st(0x1,_0x59419b)],ae);var an=Object[_0x3846ff(0x291)],cn=(_0x3ab160,_0x39a095,_0x3278c1,_0x204e74)=>{const _0x33924c=_0x3846ff;for(var _0x59b56c=_0x204e74>0x1?void 0x0:_0x204e74?an(_0x39a095,_0x3278c1):_0x39a095,_0x48b04e=_0x3ab160[_0x33924c(0x17b)]-0x1,_0x525ca8;_0x48b04e>=0x0;_0x48b04e--)(_0x525ca8=_0x3ab160[_0x48b04e])&&(_0x59b56c=_0x525ca8(_0x59b56c)||_0x59b56c);return _0x59b56c;},N=(_0x40df34,_0x2c1141)=>(_0x2cb3b0,_0x392ed5)=>_0x2c1141(_0x2cb3b0,_0x392ed5,_0x40df34);let ce=class extends _0x3a37e9{constructor(_0x2843b9,_0x425816,_0x5d74dc,_0x3a2dc7,_0x2c10e6,_0x5e9342,_0x322b69,_0xff8002){const _0x3190c7=_0x3846ff;super(),_(this,_0x3190c7(0x1a5),new _0x40deef(_0x28123e[_0x3190c7(0x22b)])),(this[_0x3190c7(0x14a)]=_0x2843b9,this[_0x3190c7(0x1fc)]=_0x425816,this['_docTransformIMECacheService']=_0x5d74dc,this['_docTransformStateCacheService']=_0x3a2dc7,this['_docTransformSelectionsService']=_0x2c10e6,this[_0x3190c7(0xf4)]=_0x5e9342,this[_0x3190c7(0x1e9)]=_0x322b69,this[_0x3190c7(0x157)]=_0xff8002,this[_0x3190c7(0x1b8)]());}[_0x3846ff(0x1b8)](){const _0x3c04b5=_0x3846ff;this[_0x3c04b5(0x16a)](this[_0x3c04b5(0x1fc)]['entityInit$'][_0x3c04b5(0x100)](_0x3f6cca=>{const _0x2ca7f6=_0x3c04b5,_0x499a39=this['_docStateChangeManagerService']['docStateChange$'][_0x2ca7f6(0x100)](_0xf36529=>{const _0x2d6d06=_0x2ca7f6;if(_0xf36529==null)return;const {unitId:_0x2af9db,redoState:_0x3e2d53,commandId:_0x37a95b}=_0xf36529;if(_0x2af9db!==_0x3f6cca[_0x2d6d06(0x190)])return;const _0x3a5c60={'id':_0x37a95b,'type':_0x3feb97[_0x2d6d06(0x14b)],'params':{'unitId':_0x2af9db,'actions':_0x3e2d53[_0x2d6d06(0x23c)],'textRanges':null}};_0x3f6cca[_0x2d6d06(0x25f)](_0x3a5c60);});if(_0x3f6cca[_0x2ca7f6(0x16a)](_0x499a39),_0x3f6cca instanceof _0xd72c48){const _0x281703={'onTransformIME':_0x4f766a=>this[_0x2ca7f6(0x247)][_0x2ca7f6(0x1e4)](_0x4f766a),'onTransformState':_0x4a9f1e=>this[_0x2ca7f6(0x20d)][_0x2ca7f6(0x2b5)](_0x4a9f1e),'onTransformSelections':_0xed815a=>this[_0x2ca7f6(0x209)][_0x2ca7f6(0x1aa)](_0xed815a),'onSyncEditingCollabCursor':_0x532907=>this[_0x2ca7f6(0xf4)]['syncEditingCollabCursor'](_0x532907),'onTransformRemoteChangesetByIMECache':_0x47e5b3=>this[_0x2ca7f6(0x247)][_0x2ca7f6(0x16d)](_0x47e5b3),'onTransformRemoteChangesetByStateCache':_0x56fdb5=>this[_0x2ca7f6(0x20d)][_0x2ca7f6(0x16d)](_0x56fdb5)};_0x3f6cca[_0x2ca7f6(0xff)](_0x281703);}}));}};ce=cn([N(0x0,_0xcb6f13(_0x343bb8)),N(0x1,_0xcb6f13(_0x82f0fa)),N(0x2,_0xcb6f13(re)),N(0x3,_0xcb6f13(oe)),N(0x4,_0xcb6f13(ae)),N(0x5,_0xcb6f13(He)),N(0x6,_0x422831),N(0x7,_0xcb6f13(_0x4c047b))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x4c6576,_0x48b61b,_0x4dfa6c,_0x2bb1a9)=>{for(var _0x4fb8=_0x2bb1a9>0x1?void 0x0:_0x2bb1a9?ln(_0x48b61b,_0x4dfa6c):_0x48b61b,_0x5832b1=_0x4c6576['length']-0x1,_0x964060;_0x5832b1>=0x0;_0x5832b1--)(_0x964060=_0x4c6576[_0x5832b1])&&(_0x4fb8=_0x964060(_0x4fb8)||_0x4fb8);return _0x4fb8;},Ee=(_0x3d2224,_0x7d1f14)=>(_0x4c22cc,_0x492d2a)=>_0x7d1f14(_0x4c22cc,_0x492d2a,_0x3d2224);let we=class extends _0x3a37e9{constructor(_0x5830e4,_0x5321d9,_0x29ca46){const _0x5f0bfc=_0x3846ff;super(),_(this,_0x5f0bfc(0x18a),new Map()),_(this,_0x5f0bfc(0x2b1),new Map()),_(this,_0x5f0bfc(0x25d),!0x1),(this[_0x5f0bfc(0x20c)]=_0x5830e4,this['_localStorageService']=_0x5321d9,this[_0x5f0bfc(0x150)]=_0x29ca46);}['disableLocalCache'](){const _0x41d197=_0x3846ff;this[_0x41d197(0x25d)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x3846ff(0x1b6)](){const _0x358f42=_0x3846ff;this[_0x358f42(0x22f)]()[_0x358f42(0x1f9)](()=>super[_0x358f42(0x1b6)]());}async[_0x3846ff(0x279)](_0x184253){const _0x313a17=_0x3846ff;return this[_0x313a17(0x25d)]?null:this[_0x313a17(0xc0)]['getItem'](_0x3502fb(_0x184253));}async[_0x3846ff(0x269)](_0x4f8554,_0x3194c7){const _0x5b393f=_0x3846ff;return!!this[_0x5b393f(0xc0)][_0x5b393f(0x1fd)](_0x4f8554,_0x3194c7);}[_0x3846ff(0x212)](_0x4b9b16,_0x5f3029,_0x2f9d38,_0x21e51e){const _0x29e212=_0x3846ff,_0xc5afb1=this[_0x29e212(0x150)][_0x29e212(0x130)](_0x4b9b16);this[_0x29e212(0x18a)][_0x29e212(0x28a)](_0x4b9b16,{'unitID':_0x4b9b16,'type':_0x5f3029,'awaitingChangeset':_0x2f9d38,'mutations':_0x21e51e,'rev':_0xc5afb1}),this[_0x29e212(0x2b1)][_0x29e212(0x1df)](_0x4b9b16)||this['_scheduleSaving'](_0x4b9b16);}[_0x3846ff(0x194)](_0x1a5e6f){const _0x450387=_0x3846ff,_0x318bb5=this[_0x450387(0x1bd)]();_0x318bb5===0x0?this[_0x450387(0xc1)](_0x1a5e6f):this[_0x450387(0x2b1)][_0x450387(0x28a)](_0x1a5e6f,setTimeout(()=>this[_0x450387(0xc1)](_0x1a5e6f),_0x318bb5));}[_0x3846ff(0x1bd)](){const _0x51d06c=_0x3846ff;var _0x1adef3;return(_0x1adef3=this[_0x51d06c(0x20c)]['getConfig'](_0x11c944))!=null?_0x1adef3:_0x50f216;}[_0x3846ff(0xc1)](_0xa00e90){const _0x504b21=_0x3846ff,_0x351701=this[_0x504b21(0x2b1)][_0x504b21(0x119)](_0xa00e90);return _0x351701!==void 0x0&&window[_0x504b21(0x19a)](_0x351701),this[_0x504b21(0xc0)][_0x504b21(0x1fd)](_0x3502fb(_0xa00e90),this[_0x504b21(0x18a)]['get'](_0xa00e90))['then'](()=>this['_saveTaskMap']['delete'](_0xa00e90));}async[_0x3846ff(0x22f)](){const _0xdea5fa=_0x3846ff,_0x52c0c4=[];this['_saveTaskMap'][_0xdea5fa(0x1d7)]((_0x11f54c,_0x254f9e)=>{const _0x2050ff=_0xdea5fa;window[_0x2050ff(0x19a)](_0x11f54c),_0x52c0c4[_0x2050ff(0x12a)](this[_0x2050ff(0xc1)](_0x254f9e)[_0x2050ff(0x1f9)](()=>{this['_saveTaskMap']['delete'](_0x254f9e);}));}),await Promise[_0xdea5fa(0x1de)](_0x52c0c4);}};we=_n([Ee(0x0,_0x2d119b),Ee(0x1,_0x165c1e),Ee(0x2,_0xcb6f13(_0x4ceb1f))],we);class hn extends _0x1dd0ba{constructor(){const _0x13cf3d=_0x3846ff;super(),_(this,_0x13cf3d(0x286)),this[_0x13cf3d(0x286)]=_0x1fe3c4(window,_0x13cf3d(0x26e))[_0x13cf3d(0xda)](_0xa4e4b6(this[_0x13cf3d(0x2a5)]),_0x419dd5(0x1),_0x583bfe(void 0x0));}['setParam'](_0x10716e,_0x2cc8b3,_0x2bbc58=!0x1){const _0x30a21c=_0x3846ff,_0x38c795=new URL(window['location'][_0x30a21c(0x1ad)]);_0x38c795[_0x30a21c(0xd6)][_0x30a21c(0x28a)](_0x10716e,_0x2cc8b3),_0x2bbc58?window[_0x30a21c(0x1ed)][_0x30a21c(0x230)]('','',_0x38c795[_0x30a21c(0x1a7)]()):window[_0x30a21c(0x1ed)][_0x30a21c(0xbd)]('','',_0x38c795['toString']());}[_0x3846ff(0x222)](_0x53e140,_0x227e7a=!0x1){const _0x2ee6ec=_0x3846ff,_0x215ae8=new URL(window['location'][_0x2ee6ec(0x1ad)]);_0x215ae8[_0x2ee6ec(0xd6)]['delete'](_0x53e140),_0x227e7a?window[_0x2ee6ec(0x1ed)][_0x2ee6ec(0x230)]('','',_0x215ae8['toString']()):window[_0x2ee6ec(0x1ed)]['pushState']('','',_0x215ae8['toString']());}['getParam'](_0x3b4fea){const _0x7b4ccb=_0x3846ff;var _0x119907;return(_0x119907=new URL(window['location'][_0x7b4ccb(0x1ad)])[_0x7b4ccb(0xd6)][_0x7b4ccb(0x119)](_0x3b4fea))!=null?_0x119907:void 0x0;}}var un=Object[_0x3846ff(0x250)],dn=Object[_0x3846ff(0x291)],fn=(_0x2b442b,_0x113589,_0x29ac6a)=>_0x113589 in _0x2b442b?un(_0x2b442b,_0x113589,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29ac6a}):_0x2b442b[_0x113589]=_0x29ac6a,Sn=(_0x2fe0b0,_0x1cf1e0,_0x294762,_0x5d9c62)=>{const _0x238c06=_0x3846ff;for(var _0x505271=_0x5d9c62>0x1?void 0x0:_0x5d9c62?dn(_0x1cf1e0,_0x294762):_0x1cf1e0,_0x15f107=_0x2fe0b0[_0x238c06(0x17b)]-0x1,_0x147520;_0x15f107>=0x0;_0x15f107--)(_0x147520=_0x2fe0b0[_0x15f107])&&(_0x505271=_0x147520(_0x505271)||_0x505271);return _0x505271;},Oe=(_0x162d53,_0x2876dd)=>(_0x4560e0,_0x2e08fb)=>_0x2876dd(_0x4560e0,_0x2e08fb,_0x162d53),mn=(_0x3ae9b8,_0x3bcddf,_0x329740)=>fn(_0x3ae9b8,_0x3bcddf+'',_0x329740);const In=_0x3846ff(0x24f);let Ae=class extends _0x5ca1ca{constructor(_0x2e4e77=et,_0x503d45,_0x36b2f6,_0x40ba91){const _0x263128=_0x3846ff;super(),this[_0x263128(0x1f7)]=_0x2e4e77,this[_0x263128(0xbf)]=_0x503d45,this[_0x263128(0x237)]=_0x36b2f6,this[_0x263128(0x20c)]=_0x40ba91;const {..._0x8f285c}=_0x153e95({},et,this[_0x263128(0x1f7)]);this[_0x263128(0x20c)][_0x263128(0x185)](Zi,_0x8f285c);}[_0x3846ff(0x148)](){const _0x150f16=_0x3846ff;this['_registerDependencies'](),this[_0x150f16(0xc4)]();}[_0x3846ff(0x1b4)](){const _0x4ba579=_0x3846ff;this[_0x4ba579(0x145)]();}[_0x3846ff(0x203)](){const _0x5eb5f0=_0x3846ff;var _0x3762ee;const _0x174d34=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x2de838,{'useClass':_0x22b8b2}],[_0x67222d,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x3ee934(this[_0x5eb5f0(0x237)],_0xa7cbf8(_0x174d34,(_0x3762ee=this[_0x5eb5f0(0x1f7)])==null?void 0x0:_0x3762ee[_0x5eb5f0(0xed)]));}[_0x3846ff(0x145)](){const _0x5a8d51=_0x3846ff;this[_0x5a8d51(0x16a)](this['_renderManagerService'][_0x5a8d51(0x1ae)](_0x27422f[_0x5a8d51(0x29e)],[Le])),this[_0x5a8d51(0x16a)](this[_0x5a8d51(0xbf)][_0x5a8d51(0x1ae)](_0x27422f['UNIVER_SHEET'],[Pe]));}[_0x3846ff(0xc4)](){const _0x3377e1=_0x3846ff;_0x5f0cb6(this[_0x3377e1(0x237)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x3846ff(0x29f),In),Ae=Sn([_0x2560fd(_0x320de3),Oe(0x1,_0x289176),Oe(0x2,_0xcb6f13(_0x36eec9)),Oe(0x3,_0x2d119b)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x4a18b5,_0xae907b,_0x51878c,_0x2d293c)=>{const _0x1c87a5=_0x3846ff;for(var _0x3b5767=_0x2d293c>0x1?void 0x0:_0x2d293c?vn(_0xae907b,_0x51878c):_0xae907b,_0x6f26ff=_0x4a18b5[_0x1c87a5(0x17b)]-0x1,_0x4d1caa;_0x6f26ff>=0x0;_0x6f26ff--)(_0x4d1caa=_0x4a18b5[_0x6f26ff])&&(_0x3b5767=_0x4d1caa(_0x3b5767)||_0x3b5767);return _0x3b5767;},z=(_0x184f1e,_0x31615b)=>(_0x59caae,_0x37784c)=>_0x31615b(_0x59caae,_0x37784c,_0x184f1e);let it=class extends _0x3a523d{constructor(_0x384b5e,_0x33c9c9,_0x4cd2fa,_0x481842,_0x292d21){super(_0x384b5e,_0x33c9c9,_0x4cd2fa,_0x481842,_0x292d21);}async[_0x3846ff(0x11d)](_0x18dad7){const _0x3b2984=_0x3846ff,_0x2fea73=await this[_0x3b2984(0x229)](),_0xa5167b=this[_0x3b2984(0x158)](_0x18dad7,_0x2fea73);return this[_0x3b2984(0x2ab)](_0xa5167b);}[_0x3846ff(0x158)](_0x5e7f22,_0x336d6c){const _0x49f5be=_0x3846ff,_0x30c88f=typeof window>'u'?new URL(_0x5e7f22):new URL(_0x5e7f22,window['location'][_0x49f5be(0x108)]);_0x30c88f[_0x49f5be(0xd6)][_0x49f5be(0x28a)](_0x49f5be(0x299),_0x336d6c);const _0x4e8d84=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x49f5be(0x1b5)][_0x49f5be(0x13b)]);return _0x4e8d84[_0x49f5be(0x119)](_0x49f5be(0x25e))&&_0x30c88f['searchParams'][_0x49f5be(0x28a)](_0x49f5be(0x25e),_0x4e8d84[_0x49f5be(0x119)](_0x49f5be(0x25e))),_0x30c88f[_0x49f5be(0x1a7)]();}async['_getSessionTicket'](){const _0x5ed791=_0x3846ff;var _0x3884f6,_0x1951fe,_0x671e02;const _0x223ac0=this[_0x5ed791(0x20c)][_0x5ed791(0x10c)](_0x476ac8),_0x5b4f70=(_0x3884f6=_0x223ac0==null?void 0x0:_0x223ac0[_0x5ed791(0x27c)])!=null?_0x3884f6:_0xf1711c;return(_0x671e02=(_0x1951fe=(await this[_0x5ed791(0x16b)][_0x5ed791(0x119)](_0x5b4f70,{'headers':{'Content-Type':'application/json'}}))[_0x5ed791(0x28e)])==null?void 0x0:_0x1951fe[_0x5ed791(0x10b)])!=null?_0x671e02:'';}};it=gn([z(0x0,_0xcb6f13(_0x36eec9)),z(0x1,_0xcb6f13(_0x295492)),z(0x2,_0x2d119b),z(0x3,_0x2feec0),z(0x4,_0x57b470)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x3a37e9{constructor(){const _0x3e1638=_0x3846ff;super(),_(this,_0x3e1638(0x1d2),_0x4ae1ba()),_(this,_0x3e1638(0x14e),new Set()),_(this,_0x3e1638(0x18c),new Map()),_(this,_0x3e1638(0x20a),null),_(this,_0x3e1638(0x1c4),new Map()),_(this,'_unitStatus',new Map()),this[_0x3e1638(0x13c)]();}[_0x3846ff(0x1b6)](){const _0x16e318=_0x3846ff;super[_0x16e318(0x1b6)](),this['_clearOtherTimers'][_0x16e318(0x1d7)]((_0x163ed6,_0x4c17fb)=>this[_0x16e318(0x1d8)](_0x4c17fb)),this[_0x16e318(0x20a)]&&window[_0x16e318(0x1d5)](this[_0x16e318(0x20a)]);}[_0x3846ff(0xd0)](_0x6dc48c){const _0x336e8f=_0x3846ff;return this[_0x336e8f(0x28d)](_0x6dc48c)['pipe'](_0x5eb0ae());}[_0x3846ff(0x139)](_0x3e0bff){const _0x5366ad=_0x3846ff;this['_selfUnitIDs']['size']===0x0&&this[_0x5366ad(0x29c)](),this[_0x5366ad(0x14e)][_0x5366ad(0x170)](_0x3e0bff),this[_0x5366ad(0x17c)]({'type':0x0,'memberID':this[_0x5366ad(0x1d2)],'unitIDs':[_0x3e0bff],'isForwarded':!0x1});}[_0x3846ff(0x163)](_0x18dc08){const _0x5bb1ce=_0x3846ff;this[_0x5bb1ce(0x14e)][_0x5bb1ce(0xbc)](_0x18dc08),this[_0x5bb1ce(0x14e)]['size']===0x0&&this[_0x5bb1ce(0x20a)]&&window[_0x5bb1ce(0x1d5)](this[_0x5bb1ce(0x20a)]);}[_0x3846ff(0x13c)](){const _0x41210c=_0x3846ff;this[_0x41210c(0x16a)](_0x471471(_0x1fe3c4(window,_0x41210c(0x2aa))[_0x41210c(0x100)](_0xe00828=>{const _0x424177=_0x41210c;if(_0xe00828[_0x424177(0x16e)]!==rt||!_0xe00828[_0x424177(0x13a)])return;const _0x4a7fee=JSON[_0x424177(0x23a)](_0xe00828[_0x424177(0x13a)]);this['_handleEvent'](_0x4a7fee);}))),window['addEventListener'](_0x41210c(0x126),()=>this[_0x41210c(0x17c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x41210c(0x104)](this[_0x41210c(0x14e)])}));}[_0x3846ff(0x154)](_0x2e3c1a){const _0x32bd94=_0x3846ff;switch(_0x2e3c1a['type']){case 0x0:this[_0x32bd94(0x171)](_0x2e3c1a);break;case 0x1:this[_0x32bd94(0xc2)](_0x2e3c1a);break;case 0x2:this[_0x32bd94(0x18f)](_0x2e3c1a);break;}}[_0x3846ff(0x171)](_0x115a7b){const _0x395475=_0x3846ff,{unitIDs:_0x11d59a,memberID:_0xff89e7,isForwarded:_0x2dacad}=_0x115a7b;_0x11d59a[_0x395475(0x1d7)](_0x16c211=>{const _0x39fd99=_0x395475;if(!_0x2dacad&&this['_unitOnClients'][_0x39fd99(0x1df)](_0x16c211)&&this[_0x39fd99(0x28d)](_0x16c211)[_0x39fd99(0xb0)](_0x5e8d01['OTHER_CLIENTS_EDITING']),!this[_0x39fd99(0x18c)][_0x39fd99(0x1df)](_0x16c211)||!this['_unitOnClients'][_0x39fd99(0x119)](_0x16c211)[_0x39fd99(0x1df)](_0xff89e7)){const _0x296b36=this[_0x39fd99(0x18c)][_0x39fd99(0x119)](_0x16c211)||new Set();_0x296b36[_0x39fd99(0x170)](_0xff89e7),this[_0x39fd99(0x18c)][_0x39fd99(0x28a)](_0x16c211,_0x296b36),this['_scheduleClearOtherTimer'](_0xff89e7);}}),_0x2dacad||this[_0x395475(0x17c)]({'type':0x0,'memberID':this[_0x395475(0x1d2)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3846ff(0x140)](_0x18a0ec){const _0x5a0c1c=_0x3846ff;this[_0x5a0c1c(0x1d8)](_0x18a0ec);const _0x8bdebf=window[_0x5a0c1c(0x1fb)](()=>{const _0x107960=_0x5a0c1c;this[_0x107960(0x18c)][_0x107960(0x1d7)](_0x37c4c1=>{const _0x34b6b0=_0x107960;_0x37c4c1[_0x34b6b0(0xbc)](_0x18a0ec);});},nt*0x2);this[_0x5a0c1c(0x1c4)][_0x5a0c1c(0x28a)](_0x18a0ec,_0x8bdebf);}['_removeClearOtherTimer'](_0x1af7ac){const _0x2742e8=_0x3846ff;if(this['_clearOtherTimers']['has'](_0x1af7ac)){const _0x1928ec=this['_clearOtherTimers']['get'](_0x1af7ac);_0x1928ec&&window[_0x2742e8(0x19a)](_0x1928ec),this[_0x2742e8(0x1c4)][_0x2742e8(0x28a)](_0x1af7ac,null);}}[_0x3846ff(0xc2)](_0x3aa71f){const _0x35ac8f=_0x3846ff,{memberID:_0x5e70ca,unitIDs:_0x8b4928}=_0x3aa71f;_0x8b4928[_0x35ac8f(0x1d7)](_0x8bc1ba=>{const _0x92674d=_0x35ac8f;var _0x11bc24;const _0x3eee24=this[_0x92674d(0x18c)]['get'](_0x8bc1ba);_0x3eee24&&(_0x3eee24[_0x92674d(0xbc)](_0x5e70ca),(_0x11bc24=this['_ensureSubject'](_0x8bc1ba))==null||_0x11bc24['next'](_0x3eee24[_0x92674d(0x11b)]===0x0?_0x5e8d01[_0x92674d(0xf8)]:_0x5e8d01['OTHER_CLIENTS_EDITING']));}),this[_0x35ac8f(0x1d8)](_0x5e70ca);}[_0x3846ff(0x18f)](_0x207134){const _0xff86f3=_0x3846ff;this[_0xff86f3(0x140)](_0x207134[_0xff86f3(0x173)]);}[_0x3846ff(0x17c)](_0x27d313){const _0x275b3d=_0x3846ff;localStorage[_0x275b3d(0x1fd)](rt,JSON[_0x275b3d(0x21f)](_0x27d313));}[_0x3846ff(0x29c)](){const _0x4429d2=_0x3846ff;this[_0x4429d2(0x20a)]=window[_0x4429d2(0x105)](()=>{const _0x41dde5=_0x4429d2;this[_0x41dde5(0x17c)]({'type':0x2,'memberID':this[_0x41dde5(0x1d2)]});},nt);}[_0x3846ff(0x28d)](_0x1c1888){const _0xc2ec61=_0x3846ff;return this['_unitStatus']['has'](_0x1c1888)||this['_unitStatus'][_0xc2ec61(0x28a)](_0x1c1888,new _0x40deef(_0x5e8d01['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xc2ec61(0x119)](_0x1c1888);}}var Lt=(_0x407632=>(_0x407632[_0x407632[_0x3846ff(0x12e)]=0x0]=_0x3846ff(0x12e),_0x407632[_0x407632['OK']=0x1]='OK',_0x407632[_0x407632['INTERNAL_ERROR']=0x2]=_0x3846ff(0x15c),_0x407632[_0x407632[_0x3846ff(0x1d1)]=0x3]=_0x3846ff(0x1d1),_0x407632[_0x407632['NOT_FOUND']=0x4]='NOT_FOUND',_0x407632[_0x407632[_0x3846ff(0x246)]=0x5]=_0x3846ff(0x246),_0x407632[_0x407632['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x407632[_0x407632[_0x3846ff(0x2ad)]=0x7]=_0x3846ff(0x2ad),_0x407632[_0x407632[_0x3846ff(0x195)]=0x8]=_0x3846ff(0x195),_0x407632[_0x407632[_0x3846ff(0x2ae)]=0x9]='COMPLETION_FINISHED',_0x407632[_0x407632[_0x3846ff(0x15f)]=0xa]=_0x3846ff(0x15f),_0x407632[_0x407632[_0x3846ff(0xe3)]=0xb]=_0x3846ff(0xe3),_0x407632[_0x407632[_0x3846ff(0x24d)]=0xc]=_0x3846ff(0x24d),_0x407632[_0x407632['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x407632[_0x407632['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x3846ff(0xef),_0x407632[_0x407632['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x407632[_0x407632[_0x3846ff(0x1e7)]=0x1771]=_0x3846ff(0x1e7),_0x407632[_0x407632[_0x3846ff(0xd4)]=0x1772]=_0x3846ff(0xd4),_0x407632[_0x407632[_0x3846ff(0x1cb)]=0x1773]=_0x3846ff(0x1cb),_0x407632[_0x407632[_0x3846ff(0x12c)]=0x1b59]='APPLY_REJECT',_0x407632[_0x407632['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3846ff(0x218),_0x407632[_0x407632[_0x3846ff(0x236)]=0x1b5b]=_0x3846ff(0x236),_0x407632[_0x407632[_0x3846ff(0x116)]=0x1b5c]=_0x3846ff(0x116),_0x407632[_0x407632[_0x3846ff(0x28c)]=0x1b5d]=_0x3846ff(0x28c),_0x407632[_0x407632[_0x3846ff(0x16f)]=0x1f41]=_0x3846ff(0x16f),_0x407632[_0x407632[_0x3846ff(0x241)]=0x2329]=_0x3846ff(0x241),_0x407632[_0x407632[_0x3846ff(0x21c)]=0x232a]=_0x3846ff(0x21c),_0x407632[_0x407632[_0x3846ff(0xbe)]=0x232b]=_0x3846ff(0xbe),_0x407632[_0x407632[_0x3846ff(0x11a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x407632[_0x407632['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x407632[_0x407632[_0x3846ff(0x29a)]=0x2711]=_0x3846ff(0x29a),_0x407632[_0x407632['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x407632[_0x407632[_0x3846ff(0x280)]=0x2713]=_0x3846ff(0x280),_0x407632[_0x407632[_0x3846ff(0x293)]=0x2714]=_0x3846ff(0x293),_0x407632[_0x407632[_0x3846ff(0x2a4)]=0x271a]=_0x3846ff(0x2a4),_0x407632[_0x407632[_0x3846ff(0x215)]=0x271b]=_0x3846ff(0x215),_0x407632[_0x407632[_0x3846ff(0x25c)]=0x271c]=_0x3846ff(0x25c),_0x407632[_0x407632[_0x3846ff(0x1db)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x407632[_0x407632[_0x3846ff(0x262)]=0x271e]=_0x3846ff(0x262),_0x407632[_0x407632[_0x3846ff(0xea)]=0x271f]=_0x3846ff(0xea),_0x407632[_0x407632[_0x3846ff(0xb2)]=0x2720]=_0x3846ff(0xb2),_0x407632[_0x407632[_0x3846ff(0x19d)]=0x2af9]=_0x3846ff(0x19d),_0x407632[_0x407632[_0x3846ff(0x278)]=0x2ee1]=_0x3846ff(0x278),_0x407632[_0x407632[_0x3846ff(0x1c7)]=0x2ee2]=_0x3846ff(0x1c7),_0x407632[_0x407632['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3846ff(0xb8),_0x407632[_0x407632[_0x3846ff(0x200)]=0x2ee4]=_0x3846ff(0x200),_0x407632[_0x407632[_0x3846ff(0x201)]=0x2ee5]=_0x3846ff(0x201),_0x407632[_0x407632[_0x3846ff(0x1af)]=0x32c9]=_0x3846ff(0x1af),_0x407632[_0x407632['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3846ff(0x160),_0x407632[_0x407632['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3846ff(0xc6),_0x407632[_0x407632['UNRECOGNIZED']=-0x1]=_0x3846ff(0x2a7),_0x407632))(Lt||{}),pn=Object[_0x3846ff(0x291)],Cn=(_0x4a95b5,_0x350a62,_0x424cc7,_0x74f3ef)=>{const _0x1815ad=_0x3846ff;for(var _0x3b5ecb=_0x74f3ef>0x1?void 0x0:_0x74f3ef?pn(_0x350a62,_0x424cc7):_0x350a62,_0x3326ea=_0x4a95b5[_0x1815ad(0x17b)]-0x1,_0x3497ca;_0x3326ea>=0x0;_0x3326ea--)(_0x3497ca=_0x4a95b5[_0x3326ea])&&(_0x3b5ecb=_0x3497ca(_0x3b5ecb)||_0x3b5ecb);return _0x3b5ecb;},be=(_0xd1615a,_0x2fe36c)=>(_0x3e6092,_0x4a1660)=>_0x2fe36c(_0x3e6092,_0x4a1660,_0xd1615a);let ot=class extends _0x3a37e9{constructor(_0x5cbe6f,_0x3f120f,_0x4fc627){const _0x298536=_0x3846ff;super(),this['_instanceService']=_0x5cbe6f,this[_0x298536(0x16b)]=_0x3f120f,this[_0x298536(0x20c)]=_0x4fc627;}async['runOnServer'](_0x212436,_0x564f95,_0xabad59,..._0x1b78cb){const _0x2c4c06=_0x3846ff;var _0x899f84,_0xa758d4,_0x200550,_0x1882cc;const _0x129a9a=this[_0x2c4c06(0x149)]['getFocusedUnit']();if(!_0x129a9a)throw new Error(_0x2c4c06(0x172));const _0xd5a99=((_0x899f84=this[_0x2c4c06(0x20c)][_0x2c4c06(0x10c)](_0x11c112))!=null?_0x899f84:_0x47d11a)+'/'+_0x212436+_0x2c4c06(0x11e)+_0x564f95,_0x6a4511=new URL(window[_0x2c4c06(0x1b5)][_0x2c4c06(0x1ad)]),_0x29ad52={'scriptId':_0x212436,'runId':(_0xa758d4=_0x6a4511[_0x2c4c06(0xd6)][_0x2c4c06(0x119)](_0x2c4c06(0x25e)))!=null?_0xa758d4:'','function':_0x564f95,'unitId':_0x129a9a['getUnitId'](),'argsOfFunction':JSON[_0x2c4c06(0x21f)](_0x1b78cb),'invokeId':(_0x200550=_0xabad59['invokeId'])!=null?_0x200550:'','executionId':(_0x1882cc=_0xabad59[_0x2c4c06(0x18d)])!=null?_0x1882cc:''};try{const _0x2f1e95=await this[_0x2c4c06(0x16b)][_0x2c4c06(0xb7)](_0xd5a99,{'body':_0x29ad52});return _0x2f1e95[_0x2c4c06(0x28e)]['error']&&_0x2f1e95[_0x2c4c06(0x28e)][_0x2c4c06(0x1e6)][_0x2c4c06(0x2b7)]!==Lt['OK']?_0x2c4c06(0x118):_0x2f1e95[_0x2c4c06(0x28e)][_0x2c4c06(0x128)];}catch{return _0x2c4c06(0x118);}}};ot=Cn([be(0x0,_0x29ac28),be(0x1,_0xcb6f13(_0x295492)),be(0x2,_0x2d119b)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x523cc0=_0xde4b;(function(_0x53d570,_0x23e5c6){const _0x5514a7=_0xde4b,_0x581e35=_0x53d570();while(!![]){try{const _0x4a4d5e=-parseInt(_0x5514a7(0x221))/0x1*(parseInt(_0x5514a7(0x25e))/0x2)+-parseInt(_0x5514a7(0x36a))/0x3+parseInt(_0x5514a7(0x187))/0x4*(parseInt(_0x5514a7(0x1c4))/0x5)+-parseInt(_0x5514a7(0x207))/0x6*(-parseInt(_0x5514a7(0x31b))/0x7)+parseInt(_0x5514a7(0x1cb))/0x8*(-parseInt(_0x5514a7(0x243))/0x9)+-parseInt(_0x5514a7(0x24e))/0xa+parseInt(_0x5514a7(0x363))/0xb;if(_0x4a4d5e===_0x23e5c6)break;else _0x581e35['push'](_0x581e35['shift']());}catch(_0x8d8f62){_0x581e35['push'](_0x581e35['shift']());}}}(_0x40fc,0xc520c));var xt=Object['defineProperty'],Bt=(_0x2f32a9,_0x23d04e,_0xf35d30)=>_0x23d04e in _0x2f32a9?xt(_0x2f32a9,_0x23d04e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf35d30}):_0x2f32a9[_0x23d04e]=_0xf35d30,_=(_0x27198e,_0xb40fe8,_0x438073)=>Bt(_0x27198e,typeof _0xb40fe8!=_0x523cc0(0x194)?_0xb40fe8+'':_0xb40fe8,_0x438073);import{MemberService as _0x2acc1a,SessionStatus as _0x43a474,CollaborationSessionService as _0x69028c,CollaborationStatus as _0xd94271,CollaborationController as _0xd0f008,ILocalCacheService as _0xdbe57e,CollaborationUIEventService as _0x3b2d36,CollaborationUIEventId as _0x5a62db,DataLoaderService as _0x35fed9,DocCollaborationEntity as _0x7ab8e3,getLocalCacheKey as _0xccfab1,LOCAL_CACHE_INTERVAL as _0x30944d,LOCAL_CACHE_INTERVAL_KEY as _0x10a9f1,UniverCollaborationClientPlugin as _0x1b2ecd,CollaborationSocketService as _0x202441,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x48c40a,DEFAULT_WS_SESSION_TICKET_URL as _0x469a54,UnitStatus as _0x1070de,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x31095e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5f1758}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x250310,Disposable as _0x194f9f,DOC_RANGE_TYPE as _0x597991,Inject as _0x580399,Injector as _0x4c907f,IUniverInstanceService as _0x2302ae,ICommandService as _0x51013e,debounce as _0x349ab2,Rectangle as _0x272c87,DisposableCollection as _0x32ea59,toDisposable as _0x330c70,UniverInstanceType as _0x4e8f3d,generateRandomId as _0xabdb9a,COLORS as _0x10d7c9,ColorKit as _0x90eef7,ThemeService as _0x2974b7,fromEventSubject as _0x1c3817,LocaleService as _0x531c26,createIdentifier as _0x475a6e,ILogService as _0x4c2c44,Optional as _0xcce982,Workbook as _0x4bef46,Tools as _0x32180a,CommandType as _0xde50b7,IConfigService as _0x3e9cdd,ILocalStorageService as _0x7d85eb,DependentOn as _0x3f9a21,Plugin as _0x1e00b1,merge as _0x2692fd,registerDependencies as _0x4a5b8c,mergeOverrideWithDependencies as _0xcce9f5,touchDependencies as _0xd2cd02}from'@univerjs/core';import{Shape as _0x5a7599,Rect as _0x12f909,getColor as _0x409d3e,RegularPolygon as _0x5979f2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x43ed7c,Vector2 as _0x4e5bff,SHEET_VIEWPORT_KEY as _0x17ad04,IRenderManagerService as _0x51e1fa}from'@univerjs/engine-render';import{ISocketService as _0xc9a6,WebSocketService as _0x40c4c6,HTTPService as _0x50b86c}from'@univerjs/network';import{IDocClipboardService as _0x3db46d,NodePositionConvertToCursor as _0xfdeb82,NodePositionConvertToRectRange as _0x3f42db,TEXT_RANGE_LAYER_INDEX as _0xc8f6da,SetDocZoomRatioOperation as _0x2507f0,DocIMEInputManagerService as _0x2d0939,DocStateChangeManagerService as _0x5ef5f1}from'@univerjs/docs-ui';import{IImageIoService as _0x11f810}from'@univerjs/drawing';import{BehaviorSubject as _0x576a38,debounceTime as _0xed01e6,takeUntil as _0x14b24a,Subject as _0x55daec,filter as _0x5645c0,switchMap as _0x3578a5,merge as _0x18c8a3,combineLatest as _0x5ac57b,of as _0x384327,fromEvent as _0x32c97b,shareReplay as _0x1de38f,mapTo as _0xee19f8,distinctUntilChanged as _0xe9047e}from'rxjs';import{ITransformService as _0x1c1b18,CollaborationEvent as _0x4c0560,isTransformMutationFailure as _0x5bbade,isTransformMutationsWithChangesetSuccess as _0x3e8902,RevisionService as _0x7d8534,ISnapshotServerService as _0x25762a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x164804,RichTextEditingMutation as _0x832ad4,DocSelectionManagerService as _0x25c659,DocSkeletonManagerService as _0x8e2a0e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x26fb37,serializeRangeWithSheet as _0xb12619}from'@univerjs/engine-formula';import{RefRangeService as _0x266747,SetSelectionsOperation as _0x41a69a,SheetsSelectionsService as _0x314f30,EffectRefRangId as _0x20b64a,handleIRemoveRow as _0x3e1a4c,handleIRemoveCol as _0x15c330,handleMoveRange as _0x2329af,handleInsertRow as _0x5cf6f3,handleInsertRangeMoveRight as _0x310062,handleInsertRangeMoveDown as _0x362706,handleInsertCol as _0x4fd146,handleDeleteRangeMoveUp as _0x1f2d06,handleDeleteRangeMoveLeft as _0x4e568e,runRefRangeMutations as _0x5eb068,SetWorksheetActivateCommand as _0x2864a5}from'@univerjs/sheets';import{map as _0x3a3a0a,filter as _0x3cfc55,throttleTime as _0x3a640c,takeUntil as _0x5893a2,switchMap as _0x265f54}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3af8af,getCoordByCell as _0x471e08,getSheetObject as _0x1a8701}from'@univerjs/sheets-ui';import{jsx as _0x85015b,jsxs as _0x34d18d}from'react/jsx-runtime';import{useObservable as _0x4355ac,useDependency as _0x4c0f39,IUIPartsService as _0x31fa2b,BuiltInUIPart as _0x2302b6,connectInjector as _0xb0a9ab,IBeforeCloseService as _0x1f9d51,IMessageService as _0x9d999b,INotificationService as _0xcfe7ba}from'@univerjs/ui';import{Tooltip as _0x5603c1,clsx as _0x44bc42,MessageType as _0x539cb1}from'@univerjs/design';import{forwardRef as _0x2b4648,useRef as _0x39e6cb,createElement as _0x10f343,useCallback as _0x42fed3}from'react';import{IRemoteInstanceService as _0x31498c}from'@univerjs/rpc';var ci=Object[_0x523cc0(0x1dd)],li=(_0x3db23d,_0x4ba783,_0x462009,_0x5cebe4)=>{for(var _0x3b052a=_0x5cebe4>0x1?void 0x0:_0x5cebe4?ci(_0x4ba783,_0x462009):_0x4ba783,_0x51304f=_0x3db23d['length']-0x1,_0x53e195;_0x51304f>=0x0;_0x51304f--)(_0x53e195=_0x3db23d[_0x51304f])&&(_0x3b052a=_0x53e195(_0x3b052a)||_0x3b052a);return _0x3b052a;},Je=(_0x3be226,_0x28374b)=>(_0x5737b6,_0x2a83bc)=>_0x28374b(_0x5737b6,_0x2a83bc,_0x3be226);let Ne=class extends _0x250310{constructor(_0x2fd0cc,_0x19cff5){const _0x1c688c=_0x523cc0;super(),this[_0x1c688c(0x1ea)]=_0x2fd0cc,this[_0x1c688c(0x245)]=_0x19cff5,this[_0x1c688c(0x2eb)]();}[_0x523cc0(0x2eb)](){const _0xdde070=_0x523cc0,_0x3535c5=this;this[_0xdde070(0x25f)](this[_0xdde070(0x1ea)][_0xdde070(0x2bb)]({'onBeforePasteImage':async _0x3e79aa=>{const _0x734303=_0xdde070,_0x1816fb=await _0x3535c5[_0x734303(0x245)][_0x734303(0x262)](_0x3e79aa);return _0x1816fb?{'source':_0x1816fb[_0x734303(0x241)],'imageSourceType':_0x1816fb['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x3db46d),Je(0x1,_0x11f810)],Ne);const Ze=[_0x523cc0(0x1c2),_0x523cc0(0x230),_0x523cc0(0x293),_0x523cc0(0x2e6),_0x523cc0(0x1ff),'yellow.400'];class ke extends _0x194f9f{constructor(){const _0x994113=_0x523cc0;super(...arguments),_(this,_0x994113(0x371),new Map()),_(this,_0x994113(0x284),0x0);}[_0x523cc0(0x33a)](_0x5c90b9){const _0xf42b56=_0x523cc0;if(this[_0xf42b56(0x371)][_0xf42b56(0x236)](_0x5c90b9))return this['_assignedColors'][_0xf42b56(0x37c)](_0x5c90b9);const _0x3da467=Ze[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0xf42b56(0x2e7)],this[_0xf42b56(0x371)][_0xf42b56(0x36f)](_0x5c90b9,_0x3da467),_0x3da467;}}function Rt(_0x3d8cf2){const _0x45451a=_0x523cc0;let _0x225392='';for(const _0x364af1 of _0x3d8cf2){const {startOffset:_0x466e5,endOffset:_0x32d84b,isActive:_0x45dd31,rangeType:_0x12876b,segmentId:_0x243da4,segmentPage:_0x54b68c}=_0x364af1;_0x225392[_0x45451a(0x2e7)]&&(_0x225392+=','),_0x225392+=_0x466e5+':'+_0x32d84b+':'+(_0x45dd31?'1':'0')+':'+_0x12876b+':'+_0x243da4+':'+_0x54b68c;}return _0x225392;}function _i(_0xfc1829){const _0x55b400=_0x523cc0,_0x47f710=_0xfc1829['split'](','),_0x57d459=[];for(const _0x23d1eb of _0x47f710){const [_0x1def69,_0xd25be7,_0x2ebcee,_0x1da9e6,_0x4bf671,_0x1c829d]=_0x23d1eb['split'](':');_0x57d459['push']({'startOffset':Number(_0x1def69),'endOffset':Number(_0xd25be7),'collapsed':_0x1def69===_0xd25be7,'isActive':_0x2ebcee==='1','rangeType':_0x1da9e6===_0x597991[_0x55b400(0x1d2)]?_0x597991[_0x55b400(0x1d2)]:_0x597991[_0x55b400(0x2e9)],'segmentId':typeof _0x4bf671==_0x55b400(0x242)?String(_0x4bf671):'','segmentPage':Number(_0x1c829d!=null?_0x1c829d:-0x1)});}return _0x57d459[_0x55b400(0x257)](_0x226e50=>_0x226e50[_0x55b400(0x222)])||(_0x57d459[0x0][_0x55b400(0x222)]=!0x0),_0x57d459;}class He extends _0x250310{constructor(){const _0x222746=_0x523cc0;super(...arguments),_(this,'_collabCursorState$',new _0x576a38(null)),_(this,_0x222746(0x189),this['_collabCursorState$']['asObservable']());}[_0x523cc0(0x19b)](_0xdb20c2){const _0x3e1160=_0x523cc0,{unitID:_0x105e3a,memberID:_0x3dd277,textRanges:_0x33ce08}=_0xdb20c2,_0x518f4b=Rt(_0x33ce08);if(_0x518f4b==='')return;const _0x4e5818={'unitID':_0x105e3a,'memberID':_0x3dd277,'selection':_0x518f4b};this[_0x3e1160(0x298)][_0x3e1160(0x2f5)](_0x4e5818);}}var hi=Object[_0x523cc0(0x1dd)],ui=(_0x1afb99,_0x3b87eb,_0x3dca16,_0x2f5012)=>{const _0x5079be=_0x523cc0;for(var _0x4cc553=_0x2f5012>0x1?void 0x0:_0x2f5012?hi(_0x3b87eb,_0x3dca16):_0x3b87eb,_0x20a3f8=_0x1afb99[_0x5079be(0x2e7)]-0x1,_0x29b411;_0x20a3f8>=0x0;_0x20a3f8--)(_0x29b411=_0x1afb99[_0x20a3f8])&&(_0x4cc553=_0x29b411(_0x4cc553)||_0x4cc553);return _0x4cc553;},P=(_0xbb3f67,_0xd1db6a)=>(_0x5b38f2,_0xd0bd2d)=>_0xd1db6a(_0x5b38f2,_0xd0bd2d,_0xbb3f67);const di=0x12c,fi=0x64;let Ue=class extends _0x250310{constructor(_0x315d28,_0x592b8c,_0x2c5cfb,_0x59a8cf,_0x5278ad,_0x3eeee7,_0x302691,_0x2aa821,_0x536082){const _0x2e7c2b=_0x523cc0;super(),_(this,_0x2e7c2b(0x296),!0x1),_(this,_0x2e7c2b(0x2eb),!0x1),_(this,_0x2e7c2b(0x29c),new _0x576a38(new Map())),_(this,_0x2e7c2b(0x1d7),this[_0x2e7c2b(0x29c)][_0x2e7c2b(0x28f)]()),_(this,_0x2e7c2b(0x297),new _0x576a38([])),_(this,'roomMembers$',this[_0x2e7c2b(0x297)]['pipe'](_0xed01e6(di))),_(this,_0x2e7c2b(0x217),_0x349ab2(_0x3bdf69=>{const _0x3be774=_0x2e7c2b,_0x353ad8={'eventID':_0x4c0560[_0x3be774(0x27f)],'data':{'unitID':this[_0x3be774(0x2ed)],'memberID':this[_0x3be774(0x336)]['getMemberID'](),'selection':Rt(_0x3bdf69)}};this[_0x3be774(0x336)][_0x3be774(0x22d)](_0x353ad8,this['unitID']);},fi)),(this['unitID']=_0x315d28,this[_0x2e7c2b(0x336)]=_0x592b8c,this[_0x2e7c2b(0x2e1)]=_0x2c5cfb,this[_0x2e7c2b(0x213)]=_0x59a8cf,this[_0x2e7c2b(0x331)]=_0x5278ad,this[_0x2e7c2b(0x282)]=_0x3eeee7,this[_0x2e7c2b(0x25c)]=_0x302691,this[_0x2e7c2b(0x2fb)]=_0x2aa821,this[_0x2e7c2b(0x227)]=_0x536082);}get[_0x523cc0(0x1bd)](){const _0x48a861=_0x523cc0;return this[_0x48a861(0x29c)][_0x48a861(0x27d)]();}get[_0x523cc0(0x1cf)](){const _0x52aa77=_0x523cc0;return this[_0x52aa77(0x297)][_0x52aa77(0x27d)]();}['dispose'](){const _0x51dba7=_0x523cc0;super[_0x51dba7(0x2f4)](),this[_0x51dba7(0x29c)]['next'](new Map()),this[_0x51dba7(0x29c)][_0x51dba7(0x358)](),this[_0x51dba7(0x297)][_0x51dba7(0x2f5)]([]),this[_0x51dba7(0x297)][_0x51dba7(0x358)]();}['init'](){const _0x345739=_0x523cc0;this[_0x345739(0x2eb)]||(this[_0x345739(0x2eb)]=!0x0,this[_0x345739(0x336)][_0x345739(0x2e3)][_0x345739(0x255)](_0x14b24a(this[_0x345739(0x265)]))[_0x345739(0x2a9)](_0x8725b6=>{const _0x336c87=_0x345739;_0x8725b6===_0x43a474[_0x336c87(0x239)]?this[_0x336c87(0x283)]():this[_0x336c87(0x23a)]();}),this[_0x345739(0x336)]['event$']['pipe'](_0x14b24a(this[_0x345739(0x265)]))[_0x345739(0x2a9)](_0xda5bfa=>{const _0x5d28fa=_0x345739,_0x28f319=_0xda5bfa[_0x5d28fa(0x22e)];_0x28f319===_0x4c0560[_0x5d28fa(0x27f)]&&this[_0x5d28fa(0x269)](_0xda5bfa),_0x28f319===_0x4c0560[_0x5d28fa(0x23e)]&&this[_0x5d28fa(0x198)](_0xda5bfa);}),this[_0x345739(0x25f)](this[_0x345739(0x227)][_0x345739(0x1a6)](_0x4fe193=>{const _0x19ab42=_0x345739,_0x5f286d=_0x4fe193[_0x19ab42(0x32e)];_0x5f286d!=null&&this[_0x19ab42(0x296)]&&_0x4fe193['id']===_0x164804['id']&&_0x5f286d['unitId']===this['unitID']&&_0x5f286d[_0x19ab42(0x1ab)]===!0x1&&_0x5f286d['ranges'][_0x19ab42(0x2e7)]>0x0&&this['_updateLocalCursor'](_0x5f286d[_0x19ab42(0x21d)]);})),this[_0x345739(0x282)][_0x345739(0x189)]['pipe'](_0x14b24a(this[_0x345739(0x265)]))[_0x345739(0x2a9)](_0xb9dada=>{const _0x185d83=_0x345739;if((_0xb9dada==null?void 0x0:_0xb9dada[_0x185d83(0x2ed)])!==this[_0x185d83(0x2ed)])return;const _0x3c5691={'eventID':_0x4c0560['UPDATE_CURSOR'],'data':_0xb9dada};this[_0x185d83(0x269)](_0x3c5691);}),this[_0x345739(0x25f)](this[_0x345739(0x227)][_0x345739(0x1a6)](_0x549005=>{const _0x23d3c7=_0x345739;if(_0x549005['params']==null)return;const _0x4e8cb8=_0x549005[_0x23d3c7(0x32e)];if(_0x549005['id']!==_0x832ad4['id']||_0x4e8cb8['unitId']!==this[_0x23d3c7(0x2ed)])return;const _0x5831db={'id':'doc.mutation.rich-text-editing','params':_0x4e8cb8},_0x396994=this[_0x23d3c7(0x1bd)];for(const [_0x19b9fe,_0x269be6]of _0x396994){const _0x224536={'id':_0x23d3c7(0x2ee),'params':{'unitId':this[_0x23d3c7(0x2ed)],'actions':null,'textRanges':_0x269be6[_0x23d3c7(0x21d)]}},_0x42bb44=this[_0x23d3c7(0x25c)][_0x23d3c7(0x252)](_0x5831db,_0x224536,!0x1);if(_0x5bbade(_0x42bb44))throw _0x42bb44[_0x23d3c7(0x26d)];_0x396994[_0x23d3c7(0x36f)](_0x19b9fe,{..._0x269be6,'ranges':_0x42bb44[_0x23d3c7(0x327)]['params'][_0x23d3c7(0x2bd)]});}queueMicrotask(()=>{const _0x1cb968=_0x23d3c7;this[_0x1cb968(0x29c)][_0x1cb968(0x2f5)](_0x396994);});})));}[_0x523cc0(0x269)](_0x407d3f){const _0x52430b=_0x523cc0;var _0x4218b1,_0x3dd9e1;const {memberID:_0x20fd19,selection:_0x5e787b}=_0x407d3f[_0x52430b(0x1e1)],_0x589e8c=_i(_0x5e787b),_0x223df2=(_0x3dd9e1=(_0x4218b1=this[_0x52430b(0x331)][_0x52430b(0x22a)](this[_0x52430b(0x2ed)],_0x20fd19))==null?void 0x0:_0x4218b1['name'])!=null?_0x3dd9e1:_0x52430b(0x23d),_0x31aae0={'color':this[_0x52430b(0x213)]['assignAColorForMemberID'](_0x20fd19),'name':_0x223df2,'ranges':_0x589e8c},_0x29e40f=this[_0x52430b(0x1bd)];_0x29e40f[_0x52430b(0x36f)](_0x20fd19,_0x31aae0),this[_0x52430b(0x29c)][_0x52430b(0x2f5)](_0x29e40f);}[_0x523cc0(0x198)](_0x5b53b3){const _0x38f9c5=_0x523cc0,{memberID:_0x2ae0db}=_0x5b53b3[_0x38f9c5(0x1e1)],_0xf88388=this[_0x38f9c5(0x1bd)];_0xf88388['delete'](_0x2ae0db),this[_0x38f9c5(0x29c)][_0x38f9c5(0x2f5)](_0xf88388);}[_0x523cc0(0x283)](){const _0x3d16a6=_0x523cc0;var _0x2d1c9e;if(this[_0x3d16a6(0x296)]=!0x0,((_0x2d1c9e=this[_0x3d16a6(0x2fb)][_0x3d16a6(0x1a7)]())==null?void 0x0:_0x2d1c9e[_0x3d16a6(0x2b8)]())!==this[_0x3d16a6(0x2ed)])return;const _0x54e9dd=this[_0x3d16a6(0x2e1)][_0x3d16a6(0x37c)](_0x25c659)[_0x3d16a6(0x2c0)]();Array['isArray'](_0x54e9dd)&&_0x54e9dd[_0x3d16a6(0x2e7)]>0x0&&this[_0x3d16a6(0x217)](_0x54e9dd);}[_0x523cc0(0x23a)](){const _0x1ffa73=_0x523cc0;this[_0x1ffa73(0x296)]=!0x1;}};Ue=ui([P(0x2,_0x580399(_0x4c907f)),P(0x3,_0x580399(ke)),P(0x4,_0x580399(_0x2acc1a)),P(0x5,_0x580399(He)),P(0x6,_0x1c1b18),P(0x7,_0x2302ae),P(0x8,_0x51013e)],Ue);var Si=Object[_0x523cc0(0x1dd)],mi=(_0x52bbbf,_0xc5291a,_0x59b3ef,_0x2dc317)=>{const _0x14b3de=_0x523cc0;for(var _0x564f70=_0x2dc317>0x1?void 0x0:_0x2dc317?Si(_0xc5291a,_0x59b3ef):_0xc5291a,_0x4778fe=_0x52bbbf[_0x14b3de(0x2e7)]-0x1,_0x3fb664;_0x4778fe>=0x0;_0x4778fe--)(_0x3fb664=_0x52bbbf[_0x4778fe])&&(_0x564f70=_0x3fb664(_0x564f70)||_0x564f70);return _0x564f70;},x=(_0x84ad4a,_0x3c0b5c)=>(_0x260a43,_0x487580)=>_0x3c0b5c(_0x260a43,_0x487580,_0x84ad4a);const Ii=0x12c,vi=0x64,gi=()=>{let _0x232950=[],_0x2a4159=!0x1;return _0x341355=>{const _0x4e2752=_0xde4b;_0x232950[_0x4e2752(0x2c1)](_0x341355),_0x2a4159||(_0x2a4159=!0x0,setTimeout(()=>{const _0x15ba0f=_0x4e2752;_0x232950[_0x15ba0f(0x339)](_0x221105=>_0x221105()),_0x232950=[],_0x2a4159=!0x1;}));};};let Me=class extends _0x250310{constructor(_0x90b484,_0x5488a7,_0x638113,_0x1a24b6,_0x6c93b2,_0x192f21,_0x50f60f,_0x3c90d6){const _0x42832d=_0x523cc0;super(),_(this,'_online',!0x1),_(this,_0x42832d(0x2eb),!0x1),_(this,'_cursorInfo$',new _0x576a38(new Map())),_(this,_0x42832d(0x1d7),this[_0x42832d(0x29c)][_0x42832d(0x28f)]()),_(this,_0x42832d(0x297),new _0x576a38([])),_(this,_0x42832d(0x288),this['_roomMembers$'][_0x42832d(0x255)](_0xed01e6(Ii))),_(this,_0x42832d(0x217),_0x349ab2((_0x2e414b,_0x153aee)=>{const _0x26f2e9=_0x42832d,_0x86c9b4={'eventID':_0x4c0560[_0x26f2e9(0x27f)],'data':{'unitID':this[_0x26f2e9(0x2ed)],'memberID':this[_0x26f2e9(0x336)][_0x26f2e9(0x387)](),'selection':_0xb12619(_0x2e414b,_0x153aee['range'])}};this['_session']['send'](_0x86c9b4,this['unitID']);},vi)),(this[_0x42832d(0x2ed)]=_0x90b484,this[_0x42832d(0x336)]=_0x5488a7,this[_0x42832d(0x2e1)]=_0x638113,this[_0x42832d(0x213)]=_0x1a24b6,this[_0x42832d(0x331)]=_0x6c93b2,this[_0x42832d(0x2fb)]=_0x192f21,this[_0x42832d(0x227)]=_0x50f60f,this[_0x42832d(0x1d3)]=_0x3c90d6);}get[_0x523cc0(0x1bd)](){const _0x4cf473=_0x523cc0;return this['_cursorInfo$'][_0x4cf473(0x27d)]();}get[_0x523cc0(0x1cf)](){const _0x1028a8=_0x523cc0;return this['_roomMembers$'][_0x1028a8(0x27d)]();}[_0x523cc0(0x2f4)](){const _0x49cc3c=_0x523cc0;super[_0x49cc3c(0x2f4)](),this['_cursorInfo$'][_0x49cc3c(0x2f5)](new Map()),this[_0x49cc3c(0x29c)][_0x49cc3c(0x358)](),this['_roomMembers$'][_0x49cc3c(0x2f5)]([]),this[_0x49cc3c(0x297)][_0x49cc3c(0x358)]();}[_0x523cc0(0x1c8)](){const _0x17496f=_0x523cc0;this['_init']||(this[_0x17496f(0x2eb)]=!0x0,this['_session'][_0x17496f(0x2e3)]['pipe'](_0x14b24a(this[_0x17496f(0x265)]))[_0x17496f(0x2a9)](_0x23b862=>{const _0x27a197=_0x17496f;_0x23b862===_0x43a474['ONLINE']?this[_0x27a197(0x283)]():this['_toggleOffline']();}),this[_0x17496f(0x336)][_0x17496f(0x292)][_0x17496f(0x255)](_0x14b24a(this[_0x17496f(0x265)]))[_0x17496f(0x2a9)](_0x2fb00d=>{const _0x49aed6=_0x17496f,_0x799479=_0x2fb00d[_0x49aed6(0x22e)];_0x799479===_0x4c0560['UPDATE_CURSOR']&&this[_0x49aed6(0x269)](_0x2fb00d),_0x799479===_0x4c0560[_0x49aed6(0x23e)]&&this[_0x49aed6(0x198)](_0x2fb00d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x17496f(0x227)][_0x17496f(0x1a6)](_0xce136b=>{const _0x41c44e=_0x17496f;if(this[_0x41c44e(0x296)]&&_0xce136b['id']===_0x41a69a['id']&&_0xce136b['params'][_0x41c44e(0x1b6)]===this['unitID']){const _0x1598b8=_0xce136b[_0x41c44e(0x32e)];this['_updateLocalCursor'](_0x1598b8['subUnitId'],_0x1598b8[_0x41c44e(0x2e8)][0x0]);}})));}[_0x523cc0(0x269)](_0x412e1d){const _0x12f80b=_0x523cc0;var _0xf7e718,_0x452f57;const {memberID:_0x4d145f,selection:_0x11bb1c}=_0x412e1d['data'],{sheetName:_0x208514,range:_0x2ce9f0}=_0x26fb37(_0x11bb1c),_0x1b9f45={'name':(_0x452f57=(_0xf7e718=this[_0x12f80b(0x331)][_0x12f80b(0x22a)](this[_0x12f80b(0x2ed)],_0x4d145f))==null?void 0x0:_0xf7e718['name'])!=null?_0x452f57:_0x12f80b(0x23d),'range':this[_0x12f80b(0x1e6)](_0x208514,_0x2ce9f0),'sheetID':_0x208514,'color':this['_colorAssignService'][_0x12f80b(0x33a)](_0x4d145f),'selection':_0x11bb1c},_0x4b4972=this[_0x12f80b(0x1bd)];_0x4b4972[_0x12f80b(0x36f)](_0x4d145f,_0x1b9f45),this[_0x12f80b(0x29c)]['next'](_0x4b4972);}[_0x523cc0(0x198)](_0xc2b406){const _0x4a587a=_0x523cc0,{memberID:_0x4fc9fd}=_0xc2b406[_0x4a587a(0x1e1)],_0x25fc67=this[_0x4a587a(0x1bd)];_0x25fc67['delete'](_0x4fc9fd),this[_0x4a587a(0x29c)][_0x4a587a(0x2f5)](_0x25fc67);}[_0x523cc0(0x1e6)](_0x168147,_0x58103c){const _0x588309=_0x523cc0;var _0x567cbe,_0x1fbdb5;const _0x2189b1=(_0x1fbdb5=(_0x567cbe=this[_0x588309(0x2fb)][_0x588309(0x32d)](this['unitID']))==null?void 0x0:_0x567cbe['getSheetBySheetId'](_0x168147))==null?void 0x0:_0x1fbdb5[_0x588309(0x22b)]();return(_0x2189b1==null?void 0x0:_0x2189b1['find'](_0x36a840=>_0x272c87[_0x588309(0x202)](_0x36a840,_0x58103c)))||_0x58103c;}[_0x523cc0(0x229)](){const _0x31080a=_0x523cc0,_0x531e53=new _0x32ea59(),_0x442435=gi(),_0x498871=()=>{const _0x120a7b=_0xde4b;_0x531e53[_0x120a7b(0x2f4)]();const _0x198d02=(_0x46b679,_0x27a029,_0x4af5c4,_0x56e43f)=>{const _0x3824a4=_0x120a7b;let _0x278e70=[];switch(_0x46b679['id']){case _0x20b64a[_0x3824a4(0x2ff)]:{_0x278e70=_0x4e568e(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x370)]:{_0x278e70=_0x1f2d06(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x2ce)]:{_0x278e70=_0x4fd146(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x1c9)]:{_0x278e70=_0x362706(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x379)]:{_0x278e70=_0x310062(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x291)]:{_0x278e70=_0x5cf6f3(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x197)]:{_0x278e70=_0x2329af(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x232)]:{_0x278e70=_0x15c330(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x24b)]:{_0x278e70=_0x3e1a4c(_0x46b679,_0x56e43f);break;}}const _0x9733e2=_0x5eb068(_0x278e70,_0x56e43f),_0x4ad209=this['cursorInfo'][_0x3824a4(0x37c)](_0x27a029);if(_0x4ad209&&_0x9733e2){const _0x2861b9={..._0x4ad209,'range':_0x9733e2};this[_0x3824a4(0x1bd)][_0x3824a4(0x36f)](_0x27a029,_0x2861b9),_0x442435(()=>{const _0x443ff8=_0x3824a4,_0x22e6a4=this[_0x443ff8(0x1d3)]['registerRefRange'](_0x9733e2,_0x52aba0=>(_0x22e6a4['dispose'](),_0x198d02(_0x52aba0,_0x27a029,_0x4af5c4,_0x9733e2)));_0x531e53[_0x443ff8(0x238)](_0x22e6a4);});}return{'redos':[],'undos':[]};};this[_0x120a7b(0x1bd)][_0x120a7b(0x339)]((_0x2cc997,_0x40190d)=>{const _0x2ee543=_0x120a7b,{range:_0x5133e0,sheetID:_0x3aefee}=_0x2cc997,_0x35ff56=this[_0x2ee543(0x1d3)]['registerRefRange'](_0x5133e0,_0x34483f=>(_0x35ff56[_0x2ee543(0x2f4)](),_0x198d02(_0x34483f,_0x40190d,_0x3aefee,_0x5133e0)));_0x531e53[_0x2ee543(0x238)](_0x35ff56);});};this[_0x31080a(0x25f)](_0x330c70(this['_cursorInfo$'][_0x31080a(0x2a9)](()=>{_0x498871();})));}[_0x523cc0(0x283)](){const _0x1cbd03=_0x523cc0;var _0xf20d44,_0x3c2dac;if(this['_online']=!0x0,((_0xf20d44=this[_0x1cbd03(0x2fb)][_0x1cbd03(0x1a7)]())==null?void 0x0:_0xf20d44[_0x1cbd03(0x2b8)]())!==this['unitID'])return;const _0x5bdb36=(_0x3c2dac=this[_0x1cbd03(0x2e1)][_0x1cbd03(0x37c)](_0x314f30)[_0x1cbd03(0x27e)]())==null?void 0x0:_0x3c2dac[0x0],_0x1a8aee=this[_0x1cbd03(0x2fb)]['getCurrentUnitForType'](_0x4e8f3d[_0x1cbd03(0x1df)])[_0x1cbd03(0x237)]();_0x5bdb36&&_0x1a8aee&&this[_0x1cbd03(0x217)](_0x1a8aee['getSheetId'](),_0x5bdb36);}['_toggleOffline'](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x580399(_0x4c907f)),x(0x3,_0x580399(ke)),x(0x4,_0x580399(_0x2acc1a)),x(0x5,_0x2302ae),x(0x6,_0x51013e),x(0x7,_0x580399(_0x266747))],Me);var pi=Object[_0x523cc0(0x1dd)],Ci=(_0x17e410,_0x2e9e01,_0x2cd06a,_0x48420e)=>{const _0x146786=_0x523cc0;for(var _0x51936b=_0x48420e>0x1?void 0x0:_0x48420e?pi(_0x2e9e01,_0x2cd06a):_0x2e9e01,_0x4f1b00=_0x17e410[_0x146786(0x2e7)]-0x1,_0x5c8dc2;_0x4f1b00>=0x0;_0x4f1b00--)(_0x5c8dc2=_0x17e410[_0x4f1b00])&&(_0x51936b=_0x5c8dc2(_0x51936b)||_0x51936b);return _0x51936b;},me=(_0x360ff3,_0x3d9c2c)=>(_0x43067a,_0x6c0b9f)=>_0x3d9c2c(_0x43067a,_0x6c0b9f,_0x360ff3);let F=class extends _0x250310{constructor(_0xdb74ad,_0x31b2b3,_0x5e8d40){const _0x5d6a0b=_0x523cc0;super(),_(this,_0x5d6a0b(0x192),new Map()),_(this,_0x5d6a0b(0x2a8),new _0x55daec()),(this[_0x5d6a0b(0x2fb)]=_0xdb74ad,this[_0x5d6a0b(0x2e1)]=_0x31b2b3,this['_collabSessionService']=_0x5e8d40,this['_init']());}[_0x523cc0(0x2f4)](){const _0x57cded=_0x523cc0;super[_0x57cded(0x2f4)](),this[_0x57cded(0x2a8)][_0x57cded(0x358)](),this[_0x57cded(0x192)][_0x57cded(0x339)](_0x5c7639=>_0x5c7639['dispose']());}[_0x523cc0(0x2b4)](_0x27f889){const _0x5f22e7=_0x523cc0;return this['_entities'][_0x5f22e7(0x236)](_0x27f889)?this[_0x5f22e7(0x192)][_0x5f22e7(0x37c)](_0x27f889)['cursorInfo$']:this['_entityInit$'][_0x5f22e7(0x255)](_0x5645c0(_0x567141=>_0x567141[_0x5f22e7(0x2ed)]===_0x27f889),_0x3578a5(_0x41db23=>_0x41db23[_0x5f22e7(0x1d7)]));}[_0x523cc0(0x2eb)](){const _0x4db576=_0x523cc0;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4e8f3d['UNIVER_SHEET'])['pipe'](_0x14b24a(this['dispose$']))['subscribe'](async _0x370b2a=>{const _0x48f414=_0xde4b,_0x100229=_0x370b2a[_0x48f414(0x2b8)](),_0x16e4d7=await this[_0x48f414(0x2d2)](_0x100229);this[_0x48f414(0x2a8)][_0x48f414(0x2f5)](_0x16e4d7),this[_0x48f414(0x192)][_0x48f414(0x36f)](_0x100229,_0x16e4d7);}),this[_0x4db576(0x2fb)]['getTypeOfUnitAdded$'](_0x4e8f3d[_0x4db576(0x272)])[_0x4db576(0x255)](_0x14b24a(this[_0x4db576(0x265)]))[_0x4db576(0x255)](_0x5645c0(_0x532538=>!_0x532538[_0x4db576(0x2b8)]()[_0x4db576(0x2c4)]('__')))[_0x4db576(0x2a9)](async _0x4a6b96=>{const _0x3fd33c=_0x4db576,_0x200209=_0x4a6b96['getUnitId'](),_0xa3c8aa=await this['_startDocCollabCursor'](_0x200209);this[_0x3fd33c(0x2a8)][_0x3fd33c(0x2f5)](_0xa3c8aa),this[_0x3fd33c(0x192)][_0x3fd33c(0x36f)](_0x200209,_0xa3c8aa);}),_0x18c8a3(this[_0x4db576(0x2fb)][_0x4db576(0x2f0)](_0x4e8f3d[_0x4db576(0x272)]),this['_univerInstanceService'][_0x4db576(0x2f0)](_0x4e8f3d[_0x4db576(0x1df)]))['pipe'](_0x14b24a(this[_0x4db576(0x265)]))[_0x4db576(0x2a9)](_0xc0c613=>{const _0x9185e4=_0x4db576,_0x2f540f=_0xc0c613[_0x9185e4(0x2b8)](),_0x23be17=this['_entities'][_0x9185e4(0x37c)](_0x2f540f);_0x23be17&&(_0x23be17[_0x9185e4(0x2f4)](),this['_entities'][_0x9185e4(0x313)](_0x2f540f));});}async[_0x523cc0(0x2d2)](_0x14c75e){const _0x6846fd=_0x523cc0,_0x5b78b9=await this['_collabSessionService'][_0x6846fd(0x1b7)](_0x14c75e),_0x426724=this[_0x6846fd(0x2e1)][_0x6846fd(0x254)](Me,_0x14c75e,_0x5b78b9);return _0x426724['init'](),_0x426724;}async[_0x523cc0(0x304)](_0x50819f){const _0x15dcbf=_0x523cc0,_0x11df87=await this[_0x15dcbf(0x341)][_0x15dcbf(0x1b7)](_0x50819f),_0x1e9d7a=this[_0x15dcbf(0x2e1)][_0x15dcbf(0x254)](Ue,_0x50819f,_0x11df87);return _0x1e9d7a[_0x15dcbf(0x1c8)](),_0x1e9d7a;}};F=Ci([me(0x0,_0x2302ae),me(0x1,_0x580399(_0x4c907f)),me(0x2,_0x580399(_0x69028c))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0xd4970e,_0x44e20a){const _0x303e40=_0x523cc0;let {radius:_0x574b78,width:_0xae47b6,height:_0x174b91}=_0x44e20a;_0x574b78=_0x574b78!=null?_0x574b78:0x0,_0xae47b6=_0xae47b6!=null?_0xae47b6:0x1e,_0x174b91=_0x174b91!=null?_0x174b91:0x1e;let _0x468453=0x0,_0x171c0b=0x0,_0x1013dc=0x0;_0x468453=_0x171c0b=_0x1013dc=Math['min'](_0x574b78,_0xae47b6/0x2,_0x174b91/0x2),_0xd4970e[_0x303e40(0x279)](),_0xd4970e[_0x303e40(0x2aa)](_0x468453,0x0),_0xd4970e[_0x303e40(0x26f)](_0xae47b6-_0x171c0b,0x0),_0xd4970e[_0x303e40(0x250)](_0xae47b6-_0x171c0b,_0x171c0b,_0x171c0b,Math['PI']*0x3/0x2,0x0,!0x1),_0xd4970e[_0x303e40(0x26f)](_0xae47b6,_0x174b91-_0x1013dc),_0xd4970e[_0x303e40(0x250)](_0xae47b6-_0x1013dc,_0x174b91-_0x1013dc,_0x1013dc,0x0,Math['PI']/0x2,!0x1),_0xd4970e[_0x303e40(0x26f)](0x0,_0x174b91),_0xd4970e[_0x303e40(0x26f)](0x0,_0x468453),_0xd4970e['arc'](_0x468453,_0x468453,_0x468453,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xd4970e[_0x303e40(0x215)](),_0x44e20a['fill']&&(_0xd4970e['save'](),_0xd4970e[_0x303e40(0x1e9)]=_0x44e20a['fill'],_0x44e20a['fillRule']===_0x303e40(0x299)?_0xd4970e[_0x303e40(0x253)](_0x303e40(0x299)):_0xd4970e[_0x303e40(0x253)](),_0xd4970e[_0x303e40(0x1e0)]());}class ue extends _0x5a7599{constructor(_0x471518,_0x56458a){const _0x5a0627=_0x523cc0;super(_0x471518,_0x56458a),_(this,_0x5a0627(0x2a2)),_(this,_0x5a0627(0x338)),(this[_0x5a0627(0x2a2)]=_0x56458a==null?void 0x0:_0x56458a['color'],this[_0x5a0627(0x338)]=_0x56458a==null?void 0x0:_0x56458a['text']);}static[_0x523cc0(0x2a1)](_0x20deb6,_0x4d2122){const _0x576663=_0x523cc0,{text:_0x163f6f,color:_0x40c141}=_0x4d2122;_0x20deb6[_0x576663(0x21b)](),_0x20deb6[_0x576663(0x34a)]=_0x576663(0x2a7);const _0x54730f=_0x20deb6['measureText'](_0x163f6f)[_0x576663(0x319)],_0x90f51b=Math[_0x576663(0x1a9)](_0x54730f+0x2*Ie,Qe);Oi(_0x20deb6,{'height':J,'radius':0x4,'width':_0x90f51b,'fill':_0x40c141}),_0x20deb6[_0x576663(0x1e9)]=_0x576663(0x251);const _0x181a9e=Ie,_0x58f608=J-Ei,_0x6eb46c=Qe-0x2*Ie;if(_0x54730f>_0x6eb46c){let _0x19c3f6='',_0x264b98=0x0;for(const _0x4ef21c of _0x163f6f){const _0xc3e411=_0x20deb6['measureText'](_0x4ef21c)[_0x576663(0x319)];if(_0x264b98+_0xc3e411<=_0x6eb46c-_0x20deb6[_0x576663(0x18d)](_0x576663(0x2c9))[_0x576663(0x319)])_0x19c3f6+=_0x4ef21c,_0x264b98+=_0xc3e411;else{_0x19c3f6+=_0x576663(0x2c9);break;}}_0x20deb6[_0x576663(0x278)](_0x19c3f6,_0x181a9e,_0x58f608);}else _0x20deb6['fillText'](_0x163f6f,_0x181a9e,_0x58f608);_0x20deb6[_0x576663(0x1e0)]();}[_0x523cc0(0x286)](_0x10326b){const _0x1fdd5b=_0x523cc0;ue[_0x1fdd5b(0x2a1)](_0x10326b,this);}}const ve='collab-text-anchor-',bi='collab-text-range-',Ti=_0x523cc0(0x28c),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x1e1ef5,_0x13aa51,_0x28787a,_0x32bd70){const _0x213b78=_0x523cc0;_(this,'_shapes',[]),_(this,_0x213b78(0x248),null),_(this,_0x213b78(0x1e5),null),_(this,_0x213b78(0x1a3),null),_(this,'_hideTimer',null),_(this,_0x213b78(0x31e),null),(this[_0x213b78(0x1d9)]=_0x1e1ef5,this[_0x213b78(0x287)]=_0x13aa51,this[_0x213b78(0x1bc)]=_0x28787a,this['_document']=_0x32bd70,this['_render']());}set['_hover'](_0x50ff4a){const _0x2b0039=_0x523cc0;_0x50ff4a?(this[_0x2b0039(0x1a3)]&&this[_0x2b0039(0x1a3)][_0x2b0039(0x20c)](),this[_0x2b0039(0x1e5)]&&this[_0x2b0039(0x1e5)]['show']()):(this['_anchorDot']&&this[_0x2b0039(0x1a3)]['show'](),this[_0x2b0039(0x1e5)]&&this[_0x2b0039(0x1e5)][_0x2b0039(0x20c)]());}[_0x523cc0(0x2f4)](){const _0x131384=_0x523cc0;for(const _0xa2660e of this[_0x131384(0x1d1)])_0xa2660e[_0x131384(0x2f4)]();this[_0x131384(0x1e5)]&&this[_0x131384(0x1e5)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x131384(0x2f4)](),this[_0x131384(0x248)]&&this[_0x131384(0x248)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x509745=_0x523cc0;var _0x1c055f;const {_docSkeleton:_0x32d6b3,_document:_0x5c9771}=this,{color:_0x5cd9cf,name:_0x3d0d19,ranges:_0x1d6c67}=this['_cursor'],_0x23f80a=_0x5c9771[_0x509745(0x30a)](),{docsLeft:_0x36e0d4,docsTop:_0x49c713}=_0x23f80a,_0x146ee0=new _0xfdeb82(_0x23f80a,_0x32d6b3);for(const {startOffset:_0x387241,endOffset:_0x4493b0,rangeType:_0x458508,segmentId:_0x541009,segmentPage:_0x43006f,collapsed:_0x30578a,isActive:_0x2a7cb9}of _0x1d6c67){const _0xe1ad50=_0x32d6b3['findNodePositionByCharIndex'](_0x387241,!0x0,_0x541009,_0x43006f);let _0x20f0dd=_0x32d6b3[_0x509745(0x19d)](_0x4493b0,!0x0,_0x541009,_0x43006f);if(_0x20f0dd==null&&(_0x20f0dd=_0x32d6b3[_0x509745(0x19d)](_0x4493b0-0x1,!0x1,_0x541009,_0x43006f)),_0x2a7cb9){const {contentBoxPointGroup:_0x7a1a56}=_0x146ee0[_0x509745(0x226)](_0x20f0dd,_0x20f0dd);if(_0x7a1a56[_0x509745(0x2e7)]===0x0)continue;this[_0x509745(0x31d)](_0x5cd9cf,_0x7a1a56,_0x36e0d4,_0x49c713,_0x3d0d19),this[_0x509745(0x31e)]=this[_0x509745(0x27c)]();}if(_0xe1ad50&&_0x20f0dd){if(_0x458508===_0x597991['RECT']){const _0x48bce8=new _0x3f42db(_0x23f80a,_0x32d6b3),{pointGroup:_0x1e0c26}=(_0x1c055f=_0x48bce8[_0x509745(0x226)](_0xe1ad50,_0x20f0dd))!=null?_0x1c055f:{};if(_0x1e0c26==null||_0x1e0c26[_0x509745(0x2e7)]===0x0)continue;this[_0x509745(0x260)](_0x5cd9cf,_0x1e0c26,_0x36e0d4,_0x49c713);}else{if(!_0x30578a){const {borderBoxPointGroup:_0xec41fe}=_0x146ee0[_0x509745(0x226)](_0xe1ad50,_0x20f0dd);if(_0xec41fe[_0x509745(0x2e7)]===0x0)continue;this[_0x509745(0x340)](_0x5cd9cf,_0xec41fe,_0x36e0d4,_0x49c713);}}}}}[_0x523cc0(0x31d)](_0x3ba97b,_0x52aa45,_0x23cabf,_0x50ea03,_0x6e541b){const _0x19a15d=_0x523cc0,_0x5c6e5f=this[_0x19a15d(0x349)](_0x52aa45),{left:_0x447eb4,top:_0x1a4f88,height:_0x551ad2}=_0x5c6e5f,_0x176fc2=this[_0x19a15d(0x333)](),_0x19bc16=Di/_0x176fc2,_0x532abb=new _0x12f909(ve+_0xabdb9a(G),{'left':_0x447eb4+_0x23cabf-_0x19bc16,'top':_0x1a4f88+_0x50ea03,'height':_0x551ad2,'width':Ri,'fill':_0x3ba97b||_0x409d3e(_0x10d7c9[_0x19a15d(0x223)],0x0),'strokeWidth':_0x19bc16,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x532abb,this['_scene'][_0x19a15d(0x31f)](_0x532abb,_0xc8f6da);const _0x198b17=new _0x12f909(ve+_0xabdb9a(G),{'left':_0x447eb4+_0x23cabf-_0x19bc16,'top':_0x1a4f88+_0x50ea03-ge/0x2,'height':ge,'width':ge,'fill':_0x3ba97b||_0x409d3e(_0x10d7c9[_0x19a15d(0x223)],0x0),'strokeWidth':0x0,'stroke':_0x3ba97b||_0x409d3e(_0x10d7c9[_0x19a15d(0x223)],0x0),'evented':!0x1});this[_0x19a15d(0x1a3)]=_0x198b17,this[_0x19a15d(0x287)]['addObject'](_0x198b17,_0xc8f6da);const _0x41dd77=new ue(ve+_0xabdb9a(G),{'left':_0x447eb4+_0x23cabf-_0x19bc16,'top':_0x1a4f88+_0x50ea03-J,'text':_0x6e541b,'color':_0x3ba97b});this[_0x19a15d(0x1e5)]=_0x41dd77,this[_0x19a15d(0x287)][_0x19a15d(0x31f)](_0x41dd77,_0xc8f6da),this[_0x19a15d(0x1e8)]=!0x1;}['_handleHover'](){const _0x352794=_0x523cc0,_0x5db185=this[_0x352794(0x248)]['onPointerEnter$'][_0x352794(0x344)](()=>{const _0x11f7b0=_0x352794;this[_0x11f7b0(0x1e8)]=!0x0;}),_0x58c50b=this[_0x352794(0x248)]['onPointerLeave$'][_0x352794(0x344)](()=>{const _0x529510=_0x352794;this[_0x529510(0x360)]&&clearTimeout(this[_0x529510(0x360)]),this[_0x529510(0x360)]=setTimeout(()=>{const _0x27ba03=_0x529510;this[_0x27ba03(0x1e8)]=!0x1;},0x7d0);});return()=>{const _0x474bdb=_0x352794;_0x5db185[_0x474bdb(0x384)](),_0x58c50b['unsubscribe']();};}[_0x523cc0(0x340)](_0x140a4a,_0x50a093,_0x898af6,_0x271017){const _0x3e7701=_0x523cc0,_0x587b57=new _0x90eef7(_0x140a4a)[_0x3e7701(0x204)](0.2)[_0x3e7701(0x294)](),_0x2bb627=new _0x5979f2(bi+_0xabdb9a(G),{'pointsGroup':_0x50a093,'fill':_0x587b57||_0x409d3e(_0x10d7c9[_0x3e7701(0x223)],0.2),'left':_0x898af6,'top':_0x271017,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x2bb627),this[_0x3e7701(0x287)]['addObject'](_0x2bb627,_0xc8f6da);}[_0x523cc0(0x260)](_0x4c395c,_0x485cc7,_0x201728,_0x59ace5){const _0x162e6d=_0x523cc0,_0x49f0bd=new _0x90eef7(_0x4c395c)['setAlpha'](0.2)[_0x162e6d(0x294)](),_0x4b2804=new _0x5979f2(Ti+_0xabdb9a(G),{'pointsGroup':_0x485cc7,'fill':_0x49f0bd||_0x409d3e(_0x10d7c9['black'],0.2),'left':_0x201728,'top':_0x59ace5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x162e6d(0x1d1)][_0x162e6d(0x2c1)](_0x4b2804),this[_0x162e6d(0x287)][_0x162e6d(0x31f)](_0x4b2804,_0xc8f6da);}[_0x523cc0(0x349)](_0x2ec439){const _0x4fc51b=_0x2ec439[0x0],_0x136a33=_0x4fc51b[0x0],_0x2fd454=_0x4fc51b[0x2],{x:_0x5ab716,y:_0x2e6cf0}=_0x136a33,{x:_0x159cc8,y:_0x16169f}=_0x2fd454;return{'left':_0x5ab716,'top':_0x2e6cf0,'width':_0x159cc8-_0x5ab716,'height':_0x16169f-_0x2e6cf0};}['_getScale'](){const _0x2cb7a7=_0x523cc0,{scaleX:_0x2a3266,scaleY:_0x5892c2}=this[_0x2cb7a7(0x287)][_0x2cb7a7(0x2be)]();return Math['max'](_0x2a3266,_0x5892c2);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x2066bc,_0x24e297,_0x41b53e,_0x44474b)=>{for(var _0x169fc2=_0x44474b>0x1?void 0x0:_0x44474b?Ui(_0x24e297,_0x41b53e):_0x24e297,_0x2f57bc=_0x2066bc['length']-0x1,_0xc5a9f4;_0x2f57bc>=0x0;_0x2f57bc--)(_0xc5a9f4=_0x2066bc[_0x2f57bc])&&(_0x169fc2=_0xc5a9f4(_0x169fc2)||_0x169fc2);return _0x169fc2;},q=(_0x351947,_0x42ffb4)=>(_0x3d77e7,_0x3cc85d)=>_0x42ffb4(_0x3d77e7,_0x3cc85d,_0x351947);let Le=class extends _0x250310{constructor(_0x2059b9,_0x1c36c1,_0x2da7cd,_0x27cb18,_0x402393){const _0x539c68=_0x523cc0;super(),_(this,'_cursorShapes',[]),_(this,_0x539c68(0x309),[]),(this[_0x539c68(0x1a0)]=_0x2059b9,this[_0x539c68(0x2ec)]=_0x1c36c1,this[_0x539c68(0x2f9)]=_0x2da7cd,this[_0x539c68(0x227)]=_0x27cb18,this['_themeService']=_0x402393,this[_0x539c68(0x2eb)]());}[_0x523cc0(0x2eb)](){const _0x4f9569=_0x523cc0,_0x25c55a=this['_context']['unitId'],_0x63a57b=this[_0x4f9569(0x2ec)];this[_0x4f9569(0x25f)](_0x5ac57b([this['_collabCursorController'][_0x4f9569(0x2b4)](_0x25c55a),this[_0x4f9569(0x28d)][_0x4f9569(0x320)]])[_0x4f9569(0x255)](_0x3a3a0a(([_0x19c68f,_0x4517d3])=>({'skeleton':_0x63a57b[_0x4f9569(0x2a5)](),'cursors':[..._0x19c68f[_0x4f9569(0x367)]()][_0x4f9569(0x26b)](_0x2d432b=>({..._0x2d432b,'color':this['_themeService'][_0x4f9569(0x247)](_0x2d432b[_0x4f9569(0x2a2)])}))})))[_0x4f9569(0x2a9)](_0x33a868=>{const _0x43f261=_0x4f9569;if(this[_0x43f261(0x277)](),_0x33a868){const {skeleton:_0x1a34c4,cursors:_0x345521}=_0x33a868;this['_updateCollabCursors'](_0x1a34c4,_0x345521);}})),this[_0x4f9569(0x345)](),this[_0x4f9569(0x353)]();}[_0x523cc0(0x270)](_0x5a6983,_0x34b90b){const _0xc44a9=_0x523cc0,{scene:_0x440e25,mainComponent:_0x3233ef}=this[_0xc44a9(0x1a0)],_0x269eab=_0x34b90b[_0xc44a9(0x1d4)](_0x40f918=>new qe(_0x40f918,_0x440e25,_0x5a6983,_0x3233ef));this[_0xc44a9(0x32a)]=_0x269eab,this['_cursors']=_0x34b90b;}['_refreshCollabCursors'](){const _0x2c56f1=_0x523cc0;this['_removeCollabCursors']();const {scene:_0x92d082,mainComponent:_0x4531cb}=this['_context'],_0x3b09ff=this['_docSkeletonManagerService']['getSkeleton'](),_0x474de5=this[_0x2c56f1(0x309)][_0x2c56f1(0x1d4)](_0x594e82=>new qe(_0x594e82,_0x92d082,_0x3b09ff,_0x4531cb));this[_0x2c56f1(0x32a)]=_0x474de5;}['_removeCollabCursors'](){const _0x15c88b=_0x523cc0;this[_0x15c88b(0x32a)][_0x15c88b(0x339)](_0x4cd547=>_0x4cd547['dispose']()),this['_cursorShapes']=[];}[_0x523cc0(0x353)](){const _0x203d95=_0x523cc0,_0x587a1e=[_0x2507f0['id']];this[_0x203d95(0x25f)](this['_commandService'][_0x203d95(0x1a6)](_0x40764e=>{const _0x49f5cc=_0x203d95;_0x587a1e['includes'](_0x40764e['id'])&&_0x40764e[_0x49f5cc(0x32e)][_0x49f5cc(0x1b6)]===this[_0x49f5cc(0x1a0)][_0x49f5cc(0x1b6)]&&this[_0x49f5cc(0x375)]();}));}[_0x523cc0(0x345)](){const _0x42351d=_0x523cc0;this[_0x42351d(0x25f)](_0x1c3817(this[_0x42351d(0x1a0)][_0x42351d(0x33f)]['onTransformChange$'])[_0x42351d(0x255)](_0x3cfc55(_0x3d4fef=>_0x3d4fef[_0x42351d(0x2fe)]===_0x43ed7c[_0x42351d(0x1d6)]),_0x3a640c(0x10))[_0x42351d(0x2a9)](()=>{const _0x35a9a8=_0x42351d;this[_0x35a9a8(0x375)]();}));}};Le=Mi([q(0x1,_0x580399(_0x8e2a0e)),q(0x2,_0x580399(F)),q(0x3,_0x51013e),q(0x4,_0x580399(_0x2974b7))],Le);const Li=0x1,Pi=1.5;class wi extends _0x5a7599{constructor(_0x5b13c8,_0x346d28){const _0x14bd8d=_0x523cc0;super(_0x5b13c8,_0x346d28),_(this,_0x14bd8d(0x1db)),_(this,_0x14bd8d(0x240),!0x1),_(this,_0x14bd8d(0x1d5)),_(this,_0x14bd8d(0x2d7),''),_(this,_0x14bd8d(0x2f2),_0x14bd8d(0x372)),_(this,_0x14bd8d(0x1f9)),(_0x346d28&&this[_0x14bd8d(0x314)](_0x346d28),this[_0x14bd8d(0x318)][_0x14bd8d(0x344)](()=>this[_0x14bd8d(0x314)]({'hovered':!0x0})),this[_0x14bd8d(0x312)][_0x14bd8d(0x344)](()=>this[_0x14bd8d(0x314)]({'hovered':!0x1})));}[_0x523cc0(0x314)](_0x3e4e6e){const _0x39cd19=_0x523cc0;var _0x34479b,_0x303f11,_0x127621,_0x6af2f5,_0x2179ee,_0xb51cb1;this['_color']=(_0x34479b=_0x3e4e6e['color'])!=null?_0x34479b:this[_0x39cd19(0x1db)],this[_0x39cd19(0x240)]=(_0x303f11=_0x3e4e6e[_0x39cd19(0x317)])!=null?_0x303f11:this[_0x39cd19(0x240)],this['_range']=(_0x127621=_0x3e4e6e[_0x39cd19(0x2c5)])!=null?_0x127621:this[_0x39cd19(0x1d5)],this['_name']=(_0x6af2f5=_0x3e4e6e['name'])!=null?_0x6af2f5:this[_0x39cd19(0x2d7)],this['_labelPosition']=(_0x2179ee=_0x3e4e6e['labelPosition'])!=null?_0x2179ee:this[_0x39cd19(0x2f2)],this['_backgroundColor']=(_0xb51cb1=_0x3e4e6e[_0x39cd19(0x334)])!=null?_0xb51cb1:this[_0x39cd19(0x1f9)],this[_0x39cd19(0x380)]({'width':_0x3e4e6e[_0x39cd19(0x319)],'height':_0x3e4e6e[_0x39cd19(0x2dc)]});}['onMouseMove'](_0x30eb0a){const _0x2635c3=_0x523cc0,{row:_0x1b4659,column:_0x3e995d}=_0x30eb0a;if(_0x1b4659>=this['_range'][_0x2635c3(0x2ea)]&&_0x1b4659<=this[_0x2635c3(0x1d5)][_0x2635c3(0x305)]&&_0x3e995d>=this[_0x2635c3(0x1d5)]['startColumn']&&_0x3e995d<=this['_range'][_0x2635c3(0x235)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2635c3(0x314)]({'hovered':!0x1});}[_0x523cc0(0x37a)](_0x150139){return!0x1;}['_draw'](_0x24d51d){const _0x5915b3=_0x523cc0;_0x12f909['drawWith'](_0x24d51d,{'width':this['width'],'height':this[_0x5915b3(0x2dc)],'strokeWidth':Pi,'stroke':this[_0x5915b3(0x1db)],'evented':!0x1,'fill':this[_0x5915b3(0x1f9)]}),this['_hovered']&&(_0x24d51d[_0x5915b3(0x21b)](),_0x24d51d[_0x5915b3(0x22f)](0x1,0x0,0x0,0x1,this[_0x5915b3(0x319)],this['_labelPosition']===_0x5915b3(0x310)?0x0:-J),ue[_0x5915b3(0x2a1)](_0x24d51d,{'text':this[_0x5915b3(0x2d7)],'color':this['_color']}),_0x24d51d[_0x5915b3(0x1e0)]());}}var Ai=Object[_0x523cc0(0x1dd)],yi=(_0x53ec41,_0x24f885,_0xba34d0,_0x151ae9)=>{const _0x420e67=_0x523cc0;for(var _0x484e35=_0x151ae9>0x1?void 0x0:_0x151ae9?Ai(_0x24f885,_0xba34d0):_0x24f885,_0x55283c=_0x53ec41[_0x420e67(0x2e7)]-0x1,_0x95ac04;_0x55283c>=0x0;_0x55283c--)(_0x95ac04=_0x53ec41[_0x55283c])&&(_0x484e35=_0x95ac04(_0x484e35)||_0x484e35);return _0x484e35;},pe=(_0x4477c5,_0x1d6c62)=>(_0x59baa0,_0x3256ae)=>_0x1d6c62(_0x59baa0,_0x3256ae,_0x4477c5);const $i=0x1389;let Pe=class extends _0x250310{constructor(_0x2fa959,_0x503cd0,_0xdf687c,_0x553803){const _0x4cd14b=_0x523cc0;super(),_(this,_0x4cd14b(0x309),new Set()),_(this,_0x4cd14b(0x324),null),(this['_context']=_0x2fa959,this[_0x4cd14b(0x256)]=_0x503cd0,this[_0x4cd14b(0x2f9)]=_0xdf687c,this[_0x4cd14b(0x28d)]=_0x553803,this['_init']());}[_0x523cc0(0x2eb)](){const _0x2ca6af=_0x523cc0;this[_0x2ca6af(0x256)][_0x2ca6af(0x2d3)][_0x2ca6af(0x255)](_0x5893a2(this[_0x2ca6af(0x265)]),_0x265f54(_0x308a95=>{const _0x49ddf3=_0x2ca6af;if(_0x308a95){const _0x559af8=_0x308a95[_0x49ddf3(0x274)];return _0x5ac57b(this[_0x49ddf3(0x2f9)][_0x49ddf3(0x2b4)](this[_0x49ddf3(0x1a0)]['unitId']),this[_0x49ddf3(0x28d)]['currentTheme$'])[_0x49ddf3(0x255)](_0x3a3a0a(([_0x59c0fd,_0x3b2003])=>{const _0x2a629c=_0x49ddf3,_0x5bdbb7=new Map();return _0x59c0fd[_0x2a629c(0x339)]((_0x4723c7,_0x33eba5)=>{const _0x34d8f6=_0x2a629c;if(_0x4723c7[_0x34d8f6(0x366)]===_0x559af8){const _0x53e40b={..._0x4723c7};_0x53e40b[_0x34d8f6(0x2a2)]=this['_themeService'][_0x34d8f6(0x247)](_0x4723c7[_0x34d8f6(0x2a2)]),_0x5bdbb7['set'](_0x33eba5,_0x53e40b);}}),{'skeleton':_0x308a95,'cursors':_0x5bdbb7};}));}return _0x384327({'skeleton':null,'cursors':new Map()});}))[_0x2ca6af(0x2a9)](({skeleton:_0x850b75,cursors:_0x44138f})=>{const _0x430586=_0x2ca6af;this['_removeCollabCursors'](),_0x850b75&&this[_0x430586(0x270)](_0x850b75,_0x44138f);}),this[_0x2ca6af(0x256)][_0x2ca6af(0x2d3)]['subscribe'](_0x47f527=>{const _0x6846cb=_0x2ca6af;if(_0x47f527==null)return;const {skeleton:_0x266e3a}=_0x47f527,{scene:_0x2d5a15}=this[_0x6846cb(0x1a0)];_0x2d5a15['onPointerMove$'][_0x6846cb(0x344)](_0x349ab2(_0x8622d7=>{const _0x4457f2=_0x6846cb;var _0xc2e0a3,_0x3b219a;const {offsetX:_0x39b658,offsetY:_0x52411e}=_0x8622d7,{x:_0x45b4cb,y:_0x445425}=_0x2d5a15[_0x4457f2(0x1ed)](_0x4e5bff[_0x4457f2(0x263)]([_0x39b658,_0x52411e])),{scaleX:_0x100bc1,scaleY:_0x4c1a35}=_0x2d5a15[_0x4457f2(0x2be)](),_0x1d79cf=_0x2d5a15[_0x4457f2(0x1ac)](_0x17ad04['VIEW_MAIN']),_0x123ad1=_0x2d5a15[_0x4457f2(0x2d9)](_0x4e5bff[_0x4457f2(0x263)]([_0x45b4cb,_0x445425]),_0x1d79cf),_0x38c1a4=_0x266e3a[_0x4457f2(0x2c2)](_0x39b658,_0x52411e,_0x100bc1,_0x4c1a35,_0x123ad1);((_0xc2e0a3=this[_0x4457f2(0x324)])==null?void 0x0:_0xc2e0a3[_0x4457f2(0x2f3)])===_0x38c1a4[_0x4457f2(0x2f3)]&&((_0x3b219a=this[_0x4457f2(0x324)])==null?void 0x0:_0x3b219a[_0x4457f2(0x1fd)])===_0x38c1a4[_0x4457f2(0x1fd)]||this[_0x4457f2(0x309)][_0x4457f2(0x339)](_0xaacbf1=>{_0xaacbf1['onMouseMove'](_0x38c1a4);});},0x64));});}[_0x523cc0(0x270)](_0x41a619,_0x3a33e5){const _0x57a640=_0x523cc0;var _0x2058a7;const _0x158f17=(_0x2058a7=this[_0x57a640(0x256)][_0x57a640(0x325)]())==null?void 0x0:_0x2058a7[_0x57a640(0x335)];if(!_0x158f17)return;const _0x4eb1cb=this['_getSheetObject']();if(!_0x4eb1cb)return;this[_0x57a640(0x309)][_0x57a640(0x339)](_0x5778aa=>{const _0x425764=_0x57a640;_0x5778aa[_0x425764(0x19e)]();});const {scene:_0x8123c}=_0x4eb1cb,_0x40ff13=xi(Array[_0x57a640(0x330)](_0x3a33e5[_0x57a640(0x367)]()))[_0x57a640(0x1d4)](_0x3c00f2=>{const _0x48b6fd=_0x57a640,{color:_0x3bdeba,range:_0xb11188,name:_0x213109,selection:_0x5bfe15,sheetID:_0x211840}=_0x3c00f2,{startColumn:_0x2cae89,startRow:_0x2bb0b6,endColumn:_0x45104f,endRow:_0x179e53}=_0xb11188,_0x5a1d33=_0x471e08(_0x2bb0b6,_0x2cae89,_0x8123c,_0x158f17),_0x5f4c43=_0x471e08(_0x179e53,_0x45104f,_0x8123c,_0x158f17),{columnHeaderHeightAndMarginTop:_0x3ccb25}=_0x158f17,{startX:_0x5c5517,startY:_0x45ac45}=_0x5a1d33,{endX:_0x4634bc,endY:_0x20a8b2}=_0x5f4c43,_0xcb02b0=_0x4634bc-_0x5c5517,_0x23bf6a=_0x20a8b2-_0x45ac45,_0x3ef52e={'labelPosition':_0x45ac45-_0x3ccb25>=J?_0x48b6fd(0x372):_0x48b6fd(0x310),'sheetID':_0x211840,'range':_0xb11188,'color':_0x3bdeba,'name':_0x213109,'selection':_0x5bfe15,'left':_0x5c5517,'top':_0x45ac45,'width':_0xcb02b0,'height':_0x23bf6a,'evented':!0x1,'zIndex':$i};return new wi(_0x213109,_0x3ef52e);});_0x8123c[_0x57a640(0x348)](_0x40ff13,Li),this[_0x57a640(0x309)]=new Set(_0x40ff13);}[_0x523cc0(0x277)](){const _0x17fd79=_0x523cc0;var _0x5eba5b;(_0x5eba5b=this[_0x17fd79(0x309)])==null||_0x5eba5b[_0x17fd79(0x339)](_0x1ecc8f=>_0x1ecc8f['dispose']());}[_0x523cc0(0x2cd)](){const _0x2396bb=_0x523cc0;return _0x1a8701(this[_0x2396bb(0x1a0)][_0x2396bb(0x1f3)],this[_0x2396bb(0x1a0)]);}};Pe=yi([pe(0x1,_0x580399(_0x3af8af)),pe(0x2,_0x580399(F)),pe(0x3,_0x580399(_0x2974b7))],Pe);function xi(_0x49ad8c){const _0x2dead5=_0x523cc0,_0x236f24=new Map();return _0x49ad8c[_0x2dead5(0x339)](_0x277580=>{const _0x3428fd=_0x2dead5;if(_0x236f24['has'](_0x277580[_0x3428fd(0x2cf)])){const _0x20f7ec=_0x236f24[_0x3428fd(0x37c)](_0x277580[_0x3428fd(0x2cf)]);_0x20f7ec['name']+=',\x20'+_0x277580[_0x3428fd(0x1b8)];}else _0x236f24['set'](_0x277580[_0x3428fd(0x2cf)],_0x277580);}),Array['from'](_0x236f24['values']());}var v=function(){return v=Object['assign']||function(_0x449412){const _0x410727=_0xde4b;for(var _0x4de3b4,_0x39bc3a=0x1,_0x333180=arguments[_0x410727(0x2e7)];_0x39bc3a<_0x333180;_0x39bc3a++){_0x4de3b4=arguments[_0x39bc3a];for(var _0x737b32 in _0x4de3b4)Object['prototype'][_0x410727(0x2cc)][_0x410727(0x1d8)](_0x4de3b4,_0x737b32)&&(_0x449412[_0x737b32]=_0x4de3b4[_0x737b32]);}return _0x449412;},v['apply'](this,arguments);},Bi=function(_0x2e1bc9,_0x2a959d){const _0x417308=_0x523cc0;var _0x5a39fd={};for(var _0x1ad1b2 in _0x2e1bc9)Object[_0x417308(0x2fc)][_0x417308(0x2cc)][_0x417308(0x1d8)](_0x2e1bc9,_0x1ad1b2)&&_0x2a959d[_0x417308(0x33e)](_0x1ad1b2)<0x0&&(_0x5a39fd[_0x1ad1b2]=_0x2e1bc9[_0x1ad1b2]);if(_0x2e1bc9!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0xe39213=0x0,_0x1ad1b2=Object[_0x417308(0x1fb)](_0x2e1bc9);_0xe39213<_0x1ad1b2[_0x417308(0x2e7)];_0xe39213++)_0x2a959d[_0x417308(0x33e)](_0x1ad1b2[_0xe39213])<0x0&&Object[_0x417308(0x2fc)][_0x417308(0x23f)][_0x417308(0x1d8)](_0x2e1bc9,_0x1ad1b2[_0xe39213])&&(_0x5a39fd[_0x1ad1b2[_0xe39213]]=_0x2e1bc9[_0x1ad1b2[_0xe39213]]);}return _0x5a39fd;},Fe=_0x2b4648(function(_0x5f420f,_0x3345b4){const _0x10c223=_0x523cc0;var _0x1ae869=_0x5f420f[_0x10c223(0x1af)],_0x1547df=_0x5f420f['id'],_0x2e8843=_0x5f420f[_0x10c223(0x2da)],_0x430b58=_0x5f420f['extend'],_0x629cfc=Bi(_0x5f420f,['icon','id','className',_0x10c223(0x37d)]),_0x228910=_0x10c223(0x210)['concat'](_0x1547df,'\x20')['concat'](_0x2e8843||'')['trim'](),_0x105f05=_0x39e6cb('_'[_0x10c223(0x342)](Fi()));return Dt(_0x1ae869,''['concat'](_0x1547df),{'defIds':_0x1ae869[_0x10c223(0x306)],'idSuffix':_0x105f05[_0x10c223(0x31c)]},v({'ref':_0x3345b4,'className':_0x228910},_0x629cfc),_0x430b58);});function Dt(_0x22054f,_0x54f423,_0x5862e9,_0x9e4212,_0x47e55e){const _0x439406=_0x523cc0;return _0x10f343(_0x22054f['tag'],v(v({'key':_0x54f423},ki(_0x22054f,_0x5862e9,_0x47e55e)),_0x9e4212),(Hi(_0x22054f,_0x5862e9)[_0x439406(0x206)]||[])[_0x439406(0x1d4)](function(_0x20f9f4,_0x2d24d0){const _0x58a412=_0x439406;return Dt(_0x20f9f4,''['concat'](_0x54f423,'-')[_0x58a412(0x342)](_0x22054f[_0x58a412(0x307)],'-')[_0x58a412(0x342)](_0x2d24d0),_0x5862e9,void 0x0,_0x47e55e);}));}function ki(_0x1dba3f,_0x23a1d4,_0x55c052){const _0x1f03f7=_0x523cc0;var _0x4e72e5=v({},_0x1dba3f[_0x1f03f7(0x308)]);_0x55c052!=null&&_0x55c052['colorChannel1']&&_0x4e72e5[_0x1f03f7(0x253)]===_0x1f03f7(0x27b)&&(_0x4e72e5[_0x1f03f7(0x253)]=_0x55c052[_0x1f03f7(0x27b)]),_0x1dba3f['tag']===_0x1f03f7(0x1c0)&&_0x4e72e5['id']&&(_0x4e72e5['id']=_0x4e72e5['id']+_0x23a1d4[_0x1f03f7(0x290)]),Object[_0x1f03f7(0x1b1)](_0x4e72e5)[_0x1f03f7(0x339)](function(_0x1c65e8){const _0x22818b=_0x1f03f7;var _0x175237=_0x1c65e8[0x0],_0x58f6ac=_0x1c65e8[0x1];_0x175237===_0x22818b(0x1c0)&&typeof _0x58f6ac=='string'&&(_0x4e72e5[_0x175237]=_0x58f6ac[_0x22818b(0x24c)](/url\(#(.*)\)/,_0x22818b(0x214)[_0x22818b(0x342)](_0x23a1d4[_0x22818b(0x290)],')')));});var _0x3d186a=_0x23a1d4['defIds'];return!_0x3d186a||_0x3d186a[_0x1f03f7(0x2e7)]===0x0||(_0x1dba3f['tag']===_0x1f03f7(0x30b)&&_0x4e72e5[_0x1f03f7(0x188)]&&(_0x4e72e5['xlink:href']=_0x4e72e5['xlink:href']+_0x23a1d4[_0x1f03f7(0x290)]),Object[_0x1f03f7(0x1b1)](_0x4e72e5)[_0x1f03f7(0x339)](function(_0x39d7f3){const _0x52c49e=_0x1f03f7;var _0x57c0ac=_0x39d7f3[0x0],_0x260042=_0x39d7f3[0x1];typeof _0x260042==_0x52c49e(0x242)&&(_0x4e72e5[_0x57c0ac]=_0x260042[_0x52c49e(0x24c)](/url\(#(.*)\)/,_0x52c49e(0x214)['concat'](_0x23a1d4[_0x52c49e(0x290)],')')));})),_0x4e72e5;}function Hi(_0x231371,_0x300cac){const _0x49d603=_0x523cc0;var _0x51f758,_0x2ef282=_0x300cac[_0x49d603(0x306)];return!_0x2ef282||_0x2ef282[_0x49d603(0x2e7)]===0x0?_0x231371:_0x231371[_0x49d603(0x307)]===_0x49d603(0x1f6)&&(!((_0x51f758=_0x231371['children'])===null||_0x51f758===void 0x0)&&_0x51f758[_0x49d603(0x2e7)])?v(v({},_0x231371),{'children':_0x231371[_0x49d603(0x206)]['map'](function(_0x262065){const _0x192109=_0x49d603;return typeof _0x262065[_0x192109(0x308)]['id']==_0x192109(0x242)&&_0x2ef282&&_0x2ef282[_0x192109(0x1fa)](_0x262065['attrs']['id'])?v(v({},_0x262065),{'attrs':v(v({},_0x262065[_0x192109(0x308)]),{'id':_0x262065[_0x192109(0x308)]['id']+_0x300cac[_0x192109(0x290)]})}):_0x262065;})}):_0x231371;}function Fi(){const _0x437a7e=_0x523cc0;return Math[_0x437a7e(0x2b3)]()[_0x437a7e(0x29a)](0x24)[_0x437a7e(0x26c)](0x2,0x8);}Fe[_0x523cc0(0x191)]=_0x523cc0(0x26e);var Yi={'tag':_0x523cc0(0x20f),'attrs':{'xmlns':_0x523cc0(0x1d0),'fill':_0x523cc0(0x1ce),'viewBox':_0x523cc0(0x219),'width':_0x523cc0(0x2dd),'height':_0x523cc0(0x2dd)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x523cc0(0x1ef),'attrs':{'stroke':_0x523cc0(0x1f5),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x523cc0(0x218),'strokeLinejoin':_0x523cc0(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x523cc0(0x1c7),'attrs':{'id':_0x523cc0(0x30e)},'children':[{'tag':_0x523cc0(0x1ef),'attrs':{'fill':_0x523cc0(0x295),'d':_0x523cc0(0x382)}}]}]}],'defIds':[_0x523cc0(0x30e)]},Nt=_0x2b4648(function(_0x3db504,_0x2a9198){const _0x1d9735=_0x523cc0;return _0x10f343(Fe,Object[_0x1d9735(0x311)]({},_0x3db504,{'id':_0x1d9735(0x1c3),'ref':_0x2a9198,'icon':Yi}));});Nt[_0x523cc0(0x191)]='OffLineIcon';var ji={'tag':_0x523cc0(0x20f),'attrs':{'xmlns':_0x523cc0(0x1d0),'fill':_0x523cc0(0x1ce),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x523cc0(0x1ef),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x523cc0(0x218),'strokeLinejoin':_0x523cc0(0x218),'strokeWidth':1.2}}]},{'tag':_0x523cc0(0x1f6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x523cc0(0x33c)},'children':[{'tag':'path','attrs':{'fill':_0x523cc0(0x295),'d':_0x523cc0(0x382),'transform':_0x523cc0(0x1b9)}}]}]}],'defIds':[_0x523cc0(0x33c)]},Ut=_0x2b4648(function(_0x5cb5b9,_0x3f6d1b){const _0xb91445=_0x523cc0;return _0x10f343(Fe,Object[_0xb91445(0x311)]({},_0x5cb5b9,{'id':'on-line-icon','ref':_0x3f6d1b,'icon':ji}));});Ut[_0x523cc0(0x191)]='OnLineIcon';function Vi(_0x1d447b){const _0x499717=_0x523cc0;switch(_0x1d447b){case _0xd94271['OFFLINE']:return _0x499717(0x190);case _0xd94271[_0x499717(0x2f6)]:return _0x499717(0x37b);case _0xd94271['FETCH_MISS']:return _0x499717(0x29e);case _0xd94271[_0x499717(0x34d)]:return _0x499717(0x2fa);case _0xd94271['AWAITING']:case _0xd94271[_0x499717(0x1b2)]:return _0x499717(0x2ac);case _0xd94271['SYNCED']:case _0xd94271[_0x499717(0x2e5)]:return'collabStatus.synced';}}function Wi(_0xb7276){const _0x28a6e5=_0x523cc0,{status$:_0x475573}=_0xb7276,_0x45ca76=_0x4355ac(_0x475573,_0xd94271[_0x28a6e5(0x34d)]),_0x8d52e3=_0x4c0f39(_0x531c26),_0x13b2d7=_0x4c0f39(_0x69028c),_0x418947=_0x45ca76!==_0xd94271['OFFLINE'],_0x4c0581=_0x8d52e3['t'](Vi(_0x45ca76)),_0x5926aa=_0x418947?_0x85015b(Ut,{}):_0x85015b(Nt,{}),_0xc3362c=_0x42fed3(()=>{_0x418947||_0x13b2d7['reconnect']();},[_0x418947,_0x13b2d7]);function _0xabbe99(){const _0x25b881=_0x28a6e5;return _0x34d18d('div',{'className':_0x25b881(0x24a),'onClick':_0xc3362c,'children':[_0x85015b(_0x25b881(0x2bc),{'className':_0x44bc42('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x418947,'univer-text-red-500':!_0x418947}),'children':_0x5926aa}),_0x85015b(_0x25b881(0x2bc),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c0581})]});}return _0x418947?_0xabbe99():_0x85015b(_0x5603c1,{'title':_0x8d52e3['t'](_0x28a6e5(0x28b)),'children':_0xabbe99()});}var Xi=Object[_0x523cc0(0x1dd)],Gi=(_0x555314,_0x2b298b,_0x5162b1,_0x470283)=>{const _0x320385=_0x523cc0;for(var _0x532889=_0x470283>0x1?void 0x0:_0x470283?Xi(_0x2b298b,_0x5162b1):_0x2b298b,_0x1486a3=_0x555314[_0x320385(0x2e7)]-0x1,_0x33c7f8;_0x1486a3>=0x0;_0x1486a3--)(_0x33c7f8=_0x555314[_0x1486a3])&&(_0x532889=_0x33c7f8(_0x532889)||_0x532889);return _0x532889;},ee=(_0x42c422,_0x4eac36)=>(_0x5e98c1,_0x7e70c7)=>_0x4eac36(_0x5e98c1,_0x7e70c7,_0x42c422);let se=class extends _0x194f9f{constructor(_0x1aee45,_0x44e313,_0x18e7af,_0x55c4de){const _0x32862d=_0x523cc0;super(),_(this,_0x32862d(0x234),new _0x576a38(_0xd94271['NOT_COLLAB'])),(this[_0x32862d(0x2fb)]=_0x1aee45,this[_0x32862d(0x2e1)]=_0x44e313,this[_0x32862d(0x220)]=_0x18e7af,this[_0x32862d(0x268)]=_0x55c4de,this[_0x32862d(0x1fc)](),this[_0x32862d(0x196)]());}['_initStatusListener'](){const _0x13932a=_0x523cc0;this[_0x13932a(0x25f)](this['_univerInstanceService'][_0x13932a(0x273)][_0x13932a(0x255)](_0x3578a5(()=>{const _0x3bcb44=_0x13932a,_0x30e1ce=this[_0x3bcb44(0x2fb)][_0x3bcb44(0x1a7)]();return _0x30e1ce?this[_0x3bcb44(0x220)][_0x3bcb44(0x368)](_0x30e1ce[_0x3bcb44(0x2b8)]()):_0x384327(null);}),_0x3578a5(_0x25e5e6=>_0x25e5e6?_0x25e5e6['status$']:_0x384327(_0xd94271[_0x13932a(0x34d)])))['subscribe'](_0x1117e2=>{const _0xeb6739=_0x13932a;this['_status$'][_0xeb6739(0x2f5)](_0x1117e2);}));}[_0x523cc0(0x1fc)](){const _0x52a68d=_0x523cc0;this[_0x52a68d(0x25f)](this[_0x52a68d(0x268)]['registerComponent'](_0x2302b6[_0x52a68d(0x2f1)],()=>_0xb0a9ab(Ki({'status$':this[_0x52a68d(0x234)][_0x52a68d(0x28f)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x2302ae),ee(0x1,_0x580399(_0x4c907f)),ee(0x2,_0x580399(_0xd0f008)),ee(0x3,_0x31fa2b)],se);function Ki(_0x57d2b8){const {status$:_0x359a17}=_0x57d2b8;return function(){return _0x85015b(Wi,{'status$':_0x359a17});};}var zi=Object[_0x523cc0(0x1dd)],Ji=(_0x462280,_0x1499ce,_0x4c30e3,_0x5549ee)=>{const _0x3332ca=_0x523cc0;for(var _0x578727=_0x5549ee>0x1?void 0x0:_0x5549ee?zi(_0x1499ce,_0x4c30e3):_0x1499ce,_0x3df611=_0x462280[_0x3332ca(0x2e7)]-0x1,_0x573ce1;_0x3df611>=0x0;_0x3df611--)(_0x573ce1=_0x462280[_0x3df611])&&(_0x578727=_0x573ce1(_0x578727)||_0x578727);return _0x578727;},B=(_0x366ca4,_0x6eef4)=>(_0x16291e,_0x253b78)=>_0x6eef4(_0x16291e,_0x253b78,_0x366ca4);let ie=class extends _0x194f9f{constructor(_0x369bef,_0x31355a,_0x1d47d1,_0x22fb38,_0x5564ca,_0x2bdb3c){const _0x3df6a2=_0x523cc0;super(),this[_0x3df6a2(0x261)]=_0x369bef,this[_0x3df6a2(0x2d6)]=_0x31355a,this[_0x3df6a2(0x1aa)]=_0x1d47d1,this[_0x3df6a2(0x203)]=_0x22fb38,this[_0x3df6a2(0x2fd)]=_0x5564ca,this[_0x3df6a2(0x1f2)]=_0x2bdb3c,this[_0x3df6a2(0x267)](),this['_initEvent']();}[_0x523cc0(0x267)](){const _0x42983e=_0x523cc0;this[_0x42983e(0x25f)](this[_0x42983e(0x261)]['registerBeforeClose'](()=>{const _0x338a0a=_0x42983e;if(this[_0x338a0a(0x2d6)]['saveTaskMap']['size'])return this[_0x338a0a(0x1f2)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x523cc0(0x1f8)](){const _0x2c32b3=_0x523cc0;this[_0x2c32b3(0x25f)](this[_0x2c32b3(0x1aa)][_0x2c32b3(0x292)][_0x2c32b3(0x2a9)](_0xa505d2=>{const _0x59e936=_0x2c32b3;_0xa505d2['id']===_0x5a62db[_0x59e936(0x2e4)]&&this[_0x59e936(0x203)][_0x59e936(0x33b)]({'type':_0x539cb1['Warning'],'content':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x193))}),_0xa505d2['id']===_0x5a62db['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x539cb1[_0x59e936(0x357)],'content':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x19a))}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x302)]&&this[_0x59e936(0x2fd)][_0x59e936(0x33b)]({'title':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x2af)),'content':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x316)),'type':_0x59e936(0x26d),'duration':0x0}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x2f6)]&&this[_0x59e936(0x203)][_0x59e936(0x33b)]({'type':_0x539cb1[_0x59e936(0x374)],'content':this['_localeService']['t'](_0x59e936(0x19a))+'('+_0xa505d2[_0x59e936(0x1e1)]+')'}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x225)]&&this[_0x59e936(0x203)]['show']({'type':_0x539cb1[_0x59e936(0x357)],'content':this['_localeService']['t'](_0xa505d2[_0x59e936(0x1e1)]||'')}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x209)]&&this['_messageService'][_0x59e936(0x33b)]({'type':_0x539cb1[_0x59e936(0x357)],'content':this['_localeService']['t'](_0x59e936(0x383))}),_0xa505d2['id']===_0x5a62db['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x539cb1['Error'],'content':this[_0x59e936(0x1f2)]['t']('session.connection-failed')}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x1be)]&&this[_0x59e936(0x203)]['show']({'type':_0x539cb1['Error'],'content':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x362))});}));}};ie=Ji([B(0x0,_0x1f9d51),B(0x1,_0xdbe57e),B(0x2,_0x580399(_0x3b2d36)),B(0x3,_0x9d999b),B(0x4,_0xcfe7ba),B(0x5,_0x580399(_0x531c26))],ie);const Zi='collaboration-client-ui.config',et={},Mt=_0x475a6e(_0x523cc0(0x315));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x283ae3,_0x45c016,_0x3e1d07,_0x3bb7cb)=>{const _0x46bcb3=_0x523cc0;for(var _0x175aac=_0x3bb7cb>0x1?void 0x0:_0x3bb7cb?Qi(_0x45c016,_0x3e1d07):_0x45c016,_0x52dca3=_0x283ae3[_0x46bcb3(0x2e7)]-0x1,_0x3f3a1d;_0x52dca3>=0x0;_0x52dca3--)(_0x3f3a1d=_0x283ae3[_0x52dca3])&&(_0x175aac=_0x3f3a1d(_0x175aac)||_0x175aac);return _0x175aac;},K=(_0x1df9f9,_0x113efd)=>(_0x3e1838,_0x5126f6)=>_0x113efd(_0x3e1838,_0x5126f6,_0x1df9f9);let ne=class extends _0x250310{constructor(_0x494f4c,_0x6c7c2c,_0x3698b8,_0x3fb68c,_0x31b703){const _0x2801b5=_0x523cc0;super(),this[_0x2801b5(0x249)]=_0x494f4c,this['_logService']=_0x6c7c2c,this[_0x2801b5(0x227)]=_0x3698b8,this[_0x2801b5(0x18a)]=_0x3fb68c,_0x31b703?_0x31b703==null||_0x31b703[_0x2801b5(0x281)]()[_0x2801b5(0x27a)](()=>this[_0x2801b5(0x2eb)]()):(this[_0x2801b5(0x35b)][_0x2801b5(0x1ad)](_0x2801b5(0x1de),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x523cc0(0x2eb)](){const _0x181c67=_0x523cc0,_0x36db23=this[_0x181c67(0x249)][_0x181c67(0x2b5)](_0x181c67(0x1f3)),_0x524aca=this[_0x181c67(0x249)][_0x181c67(0x2b5)]('type'),_0x5e8a9e=this[_0x181c67(0x249)]['getParam']('subunit');if(!_0x36db23||!_0x524aca){this[_0x181c67(0x35b)]['debug'](_0x181c67(0x1de),_0x181c67(0x301));return;}const _0x1cc1a5=await this['_dataLoaderService'][_0x181c67(0x34b)](_0x36db23,Number(_0x524aca),_0x5e8a9e);_0x1cc1a5&&_0x1cc1a5 instanceof _0x4bef46&&this[_0x181c67(0x1ae)](_0x1cc1a5);}async[_0x523cc0(0x1ae)](_0x512bdc){const _0x40f5e6=_0x523cc0;await this[_0x40f5e6(0x25b)](_0x512bdc),_0x512bdc['activeSheet$']['pipe'](_0x14b24a(this['dispose$']))['subscribe'](_0x2feca0=>{const _0x2126a4=_0x40f5e6;_0x2feca0&&this[_0x2126a4(0x376)](_0x2feca0);}),this[_0x40f5e6(0x249)][_0x40f5e6(0x1da)][_0x40f5e6(0x255)](_0x14b24a(this[_0x40f5e6(0x265)]))[_0x40f5e6(0x2a9)](()=>this[_0x40f5e6(0x25b)](_0x512bdc));}[_0x523cc0(0x376)](_0x3bcae6,_0x57d0c3=!0x1){const _0x557c33=_0x523cc0,_0x8deb7e=this[_0x557c33(0x249)]['getParam'](_0x557c33(0x25d));_0x3bcae6['getSheetId']()!==_0x8deb7e&&this[_0x557c33(0x249)]['setParam'](_0x557c33(0x25d),_0x3bcae6[_0x557c33(0x186)](),_0x57d0c3);}async['_updateSubUnitFromURLParams'](_0x407695){const _0x1a420e=_0x523cc0;var _0x58ba6a;const _0x24479d=this[_0x1a420e(0x249)][_0x1a420e(0x2b5)](_0x1a420e(0x25d));if(!_0x24479d||!_0x407695[_0x1a420e(0x2b1)](_0x24479d)){const _0x184c51=_0x407695[_0x1a420e(0x1b0)]()[0x0],_0x371e0a=_0x407695['getSheetBySheetId'](_0x184c51);if(!_0x371e0a)return;this['_updateURLWithCurrentState'](_0x371e0a,!0x0),await this['_commandService'][_0x1a420e(0x1bf)](_0x2864a5['id'],{'unitId':_0x407695[_0x1a420e(0x2b8)](),'subUnitId':_0x184c51});return;}((_0x58ba6a=_0x407695[_0x1a420e(0x237)]())==null?void 0x0:_0x58ba6a['getSheetId']())!==_0x24479d&&await this[_0x1a420e(0x227)][_0x1a420e(0x1bf)](_0x2864a5['id'],{'unitId':_0x407695['getUnitId'](),'subUnitId':_0x24479d});}};ne=qi([K(0x0,Mt),K(0x1,_0x4c2c44),K(0x2,_0x51013e),K(0x3,_0x580399(_0x35fed9)),K(0x4,_0xcce982(_0x31498c))],ne);var en=Object[_0x523cc0(0x1dd)],tn=(_0x4adfaf,_0x5095f9,_0x49a40f,_0x481ccc)=>{const _0x2bc555=_0x523cc0;for(var _0x1e4cf3=_0x481ccc>0x1?void 0x0:_0x481ccc?en(_0x5095f9,_0x49a40f):_0x5095f9,_0x4397b3=_0x4adfaf[_0x2bc555(0x2e7)]-0x1,_0x47a70b;_0x4397b3>=0x0;_0x4397b3--)(_0x47a70b=_0x4adfaf[_0x4397b3])&&(_0x1e4cf3=_0x47a70b(_0x1e4cf3)||_0x1e4cf3);return _0x1e4cf3;},tt=(_0x5d2658,_0x337958)=>(_0x25f540,_0x2f3e05)=>_0x337958(_0x25f540,_0x2f3e05,_0x5d2658);let re=class{constructor(_0x18031e,_0x2df90e){const _0x2fc00c=_0x523cc0;this['_transformService']=_0x18031e,this[_0x2fc00c(0x364)]=_0x2df90e;}[_0x523cc0(0x2b2)](_0xc30cdc){const _0x21d228=_0x523cc0;this[_0x21d228(0x2c8)](_0xc30cdc),this['_transformPreviousActiveRange'](_0xc30cdc);}[_0x523cc0(0x343)](_0x171b67){const _0x280c57=_0x523cc0,{unitID:_0x53754a}=_0x171b67,_0x160cea=this[_0x280c57(0x364)][_0x280c57(0x36b)](_0x53754a)[_0x280c57(0x289)](_0x2d0939),{redoCache:_0x3a817a}=_0x160cea[_0x280c57(0x2e0)]();if(_0x3a817a[_0x280c57(0x2e7)]===0x0)return _0x171b67;let _0x55c1f2=_0x32180a[_0x280c57(0x2c6)](_0x171b67[_0x280c57(0x2d4)][0x0]);for(let _0x3f7521=0x0;_0x3f7521<_0x3a817a[_0x280c57(0x2e7)];_0x3f7521++){const _0x4bd3e2={'id':_0x280c57(0x2ee),'params':{..._0x3a817a[_0x3f7521]}},_0x2a1ed2=this[_0x280c57(0x25c)][_0x280c57(0x252)](_0x55c1f2,_0x4bd3e2,!0x1);if(_0x5bbade(_0x2a1ed2))throw _0x2a1ed2[_0x280c57(0x26d)];_0x55c1f2=_0x2a1ed2[_0x280c57(0x2bf)];}return{..._0x32180a[_0x280c57(0x2c6)](_0x171b67),'mutations':[_0x55c1f2]};}[_0x523cc0(0x2c8)](_0x34b1a8){const _0x2ede24=_0x523cc0,{unitID:_0x3263fc}=_0x34b1a8,_0x2edd87=this['_renderManagerService']['getRenderById'](_0x3263fc)[_0x2ede24(0x289)](_0x2d0939),{undoCache:_0x5b7830,redoCache:_0x4378fb}=_0x2edd87['getUndoRedoMutationParamsCache']();if(_0x5b7830['length']===0x0||_0x4378fb[_0x2ede24(0x2e7)]===0x0)return;const _0x1ab0a5=[],_0x38847d=[];let _0x6ae107=_0x32180a[_0x2ede24(0x2c6)](_0x34b1a8['mutations'][0x0]),_0x20790c=_0x32180a['deepClone'](_0x34b1a8['mutations'][0x0]);for(let _0x2e971f=_0x5b7830['length']-0x1;_0x2e971f>=0x0;_0x2e971f--){const _0x5a85b5={'id':_0x2ede24(0x2ee),'params':{..._0x5b7830[_0x2e971f]}},_0x52e9fd={'id':'doc.mutation.rich-text-editing','params':{..._0x4378fb[_0x2e971f]}},_0x544925=this[_0x2ede24(0x25c)][_0x2ede24(0x252)](_0x6ae107,_0x5a85b5,!0x1),_0x388249=this['_transformService'][_0x2ede24(0x252)](_0x20790c,_0x52e9fd,!0x1);if(_0x5bbade(_0x544925))throw _0x544925[_0x2ede24(0x26d)];if(_0x5bbade(_0x388249))throw _0x388249[_0x2ede24(0x26d)];_0x1ab0a5[_0x2ede24(0x32b)](_0x544925[_0x2ede24(0x327)][_0x2ede24(0x32e)]),_0x38847d[_0x2ede24(0x32b)](_0x388249[_0x2ede24(0x327)][_0x2ede24(0x32e)]),_0x6ae107=_0x544925['m1Prime'],_0x20790c=_0x388249['m1Prime'];}_0x2edd87[_0x2ede24(0x216)]({'undoCache':_0x1ab0a5,'redoCache':_0x38847d});}[_0x523cc0(0x246)](_0xd8470a){const _0x1cab83=_0x523cc0,{unitID:_0x2c71da}=_0xd8470a,_0x4d781f=this[_0x1cab83(0x364)][_0x1cab83(0x36b)](_0x2c71da)[_0x1cab83(0x289)](_0x2d0939),_0x5d7627=_0x4d781f['getActiveRange']();if(_0x5d7627==null)return;const _0x3fa2b2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd8470a['unitID'],'actions':null,'textRanges':[_0x5d7627]}}],_0x502404=this['_transformService'][_0x1cab83(0x208)](_0xd8470a,_0x3fa2b2);if(!_0x3e8902(_0x502404))throw _0x502404[_0x1cab83(0x26d)];const _0x5882c8=_0x502404[_0x1cab83(0x327)][0x0][_0x1cab83(0x32e)][_0x1cab83(0x2bd)];Array[_0x1cab83(0x2db)](_0x5882c8)&&_0x5882c8['length']&&_0x4d781f[_0x1cab83(0x377)](_0x5882c8[0x0]);}};re=tn([tt(0x0,_0x1c1b18),tt(0x1,_0x51e1fa)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x490a72,_0x530ae5,_0x372e13,_0x4cfe5e)=>{const _0x22e637=_0x523cc0;for(var _0xc27aa6=_0x4cfe5e>0x1?void 0x0:_0x4cfe5e?sn(_0x530ae5,_0x372e13):_0x530ae5,_0x1508ab=_0x490a72[_0x22e637(0x2e7)]-0x1,_0x55a2bf;_0x1508ab>=0x0;_0x1508ab--)(_0x55a2bf=_0x490a72[_0x1508ab])&&(_0xc27aa6=_0x55a2bf(_0xc27aa6)||_0xc27aa6);return _0xc27aa6;},Ce=(_0x1c8987,_0x2fec51)=>(_0xff25b5,_0x2930c3)=>_0x2fec51(_0xff25b5,_0x2930c3,_0x1c8987);let oe=class{constructor(_0x51b0e4,_0x1c4a35,_0xc4798e){const _0x526029=_0x523cc0;this[_0x526029(0x2e1)]=_0x51b0e4,this['_transformService']=_0x1c4a35,this[_0x526029(0x2d0)]=_0xc4798e;}['transformStateCache'](_0x4a727f){const _0xabd17b=_0x523cc0;this[_0xabd17b(0x322)](_0x4a727f);}[_0x523cc0(0x343)](_0x3d5b74){const _0x1e6a90=_0x523cc0,{unitID:_0x37dd1a}=_0x3d5b74,{collaboration:_0x18eccf}=this[_0x1e6a90(0x2d0)][_0x1e6a90(0x19c)](_0x37dd1a);if(_0x18eccf['length']===0x0)return _0x3d5b74;let _0x520d52=_0x32180a[_0x1e6a90(0x2c6)](_0x3d5b74[_0x1e6a90(0x2d4)][0x0]);for(let _0x1c5704=0x0;_0x1c5704<_0x18eccf[_0x1e6a90(0x2e7)];_0x1c5704++){const _0x5c458b={'id':_0x1e6a90(0x2ee),'params':{'unitId':_0x18eccf[_0x1c5704][_0x1e6a90(0x1b6)],..._0x18eccf[_0x1c5704]['redoState']}},_0x20c575=this[_0x1e6a90(0x25c)][_0x1e6a90(0x252)](_0x520d52,_0x5c458b,!0x1);if(_0x5bbade(_0x20c575))throw _0x20c575['error'];_0x520d52=_0x20c575[_0x1e6a90(0x2bf)];}return{..._0x32180a[_0x1e6a90(0x2c6)](_0x3d5b74),'mutations':[_0x520d52]};}[_0x523cc0(0x322)](_0x7e7353){const _0x11917a=_0x523cc0,{unitID:_0x24474f}=_0x7e7353,{history:_0x132140,collaboration:_0x436111}=this[_0x11917a(0x2d0)][_0x11917a(0x19c)](_0x24474f);if(_0x132140['length']===0x0&&_0x436111[_0x11917a(0x2e7)]===0x0)return;const _0x318500=[],_0x204178=[];let _0x3d1e5a=_0x32180a[_0x11917a(0x2c6)](_0x7e7353[_0x11917a(0x2d4)][0x0]),_0x11a4dc=_0x32180a[_0x11917a(0x2c6)](_0x7e7353[_0x11917a(0x2d4)][0x0]);for(let _0x3629a4=_0x132140[_0x11917a(0x2e7)]-0x1;_0x3629a4>=0x0;_0x3629a4--){const _0x228cb4={'id':_0x11917a(0x2ee),'params':{'unitId':_0x132140[_0x3629a4][_0x11917a(0x1b6)],..._0x132140[_0x3629a4][_0x11917a(0x18f)]}},_0x133646={'id':_0x11917a(0x2ee),'params':{'unitId':_0x132140[_0x3629a4][_0x11917a(0x1b6)],..._0x132140[_0x3629a4][_0x11917a(0x2f8)]}},_0x467d40=this[_0x11917a(0x25c)][_0x11917a(0x252)](_0x3d1e5a,_0x228cb4,!0x1),_0xb860ab=this[_0x11917a(0x25c)][_0x11917a(0x252)](_0x11a4dc,_0x133646,!0x1);if(_0x5bbade(_0x467d40))throw _0x467d40[_0x11917a(0x26d)];if(_0x5bbade(_0xb860ab))throw _0xb860ab[_0x11917a(0x26d)];_0x318500[_0x11917a(0x32b)]({..._0x132140[_0x3629a4],'undoState':_0x467d40[_0x11917a(0x327)]['params'],'redoState':_0xb860ab[_0x11917a(0x327)][_0x11917a(0x32e)]}),_0x3d1e5a=_0x467d40[_0x11917a(0x2bf)],_0x11a4dc=_0xb860ab['m1Prime'];}_0x3d1e5a=_0x32180a[_0x11917a(0x2c6)](_0x7e7353[_0x11917a(0x2d4)][0x0]),_0x11a4dc=_0x32180a[_0x11917a(0x2c6)](_0x7e7353[_0x11917a(0x2d4)][0x0]);for(let _0x307c11=_0x436111[_0x11917a(0x2e7)]-0x1;_0x307c11>=0x0;_0x307c11--){const _0x2af53c={'id':_0x11917a(0x2ee),'params':{'unitId':_0x436111[_0x307c11][_0x11917a(0x1b6)],..._0x436111[_0x307c11][_0x11917a(0x18f)]}},_0x398d1e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x436111[_0x307c11][_0x11917a(0x1b6)],..._0x436111[_0x307c11][_0x11917a(0x2f8)]}},_0x41ed3f=this[_0x11917a(0x25c)][_0x11917a(0x252)](_0x3d1e5a,_0x2af53c,!0x1),_0x2e597e=this[_0x11917a(0x25c)][_0x11917a(0x252)](_0x11a4dc,_0x398d1e,!0x1);if(_0x5bbade(_0x41ed3f))throw _0x41ed3f[_0x11917a(0x26d)];if(_0x5bbade(_0x2e597e))throw _0x2e597e[_0x11917a(0x26d)];_0x204178[_0x11917a(0x32b)]({..._0x436111[_0x307c11],'undoState':_0x41ed3f[_0x11917a(0x327)]['params'],'redoState':_0x2e597e['m2Prime']['params']}),_0x3d1e5a=_0x41ed3f['m1Prime'],_0x11a4dc=_0x2e597e[_0x11917a(0x2bf)];}this[_0x11917a(0x2d0)][_0x11917a(0x1eb)](_0x24474f,{'history':_0x318500,'collaboration':_0x204178});}};oe=nn([Ce(0x0,_0x580399(_0x4c907f)),Ce(0x1,_0x1c1b18),Ce(0x2,_0x580399(_0x5ef5f1))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x2946e7,_0x24394f,_0x36e2a1,_0x15a595)=>{const _0xc1650a=_0x523cc0;for(var _0x1dd7b1=_0x15a595>0x1?void 0x0:_0x15a595?rn(_0x24394f,_0x36e2a1):_0x24394f,_0x362142=_0x2946e7[_0xc1650a(0x2e7)]-0x1,_0x2cc7f2;_0x362142>=0x0;_0x362142--)(_0x2cc7f2=_0x2946e7[_0x362142])&&(_0x1dd7b1=_0x2cc7f2(_0x1dd7b1)||_0x1dd7b1);return _0x1dd7b1;},st=(_0x471016,_0x55f523)=>(_0x261d2b,_0x3cb667)=>_0x55f523(_0x261d2b,_0x3cb667,_0x471016);let ae=class{constructor(_0x4c5278,_0x1a9a4e){const _0x3df610=_0x523cc0;this[_0x3df610(0x2e1)]=_0x4c5278,this['_transformService']=_0x1a9a4e;}['transformSelections'](_0x16951a){const _0x336fa7=_0x523cc0;var _0x2496f5;const _0x3be93f=this[_0x336fa7(0x2e1)][_0x336fa7(0x37c)](_0x25c659),_0x4d9633=(_0x2496f5=_0x3be93f[_0x336fa7(0x2c0)]())!=null?_0x2496f5:[];if(_0x4d9633[_0x336fa7(0x2e7)]===0x0)return;const _0x5e970d=_0x16951a[_0x336fa7(0x2ed)],_0x4334e2=[{'id':_0x336fa7(0x2ee),'params':{'unitId':_0x5e970d,'actions':null,'textRanges':_0x4d9633}}],_0x240aa7=this[_0x336fa7(0x25c)]['transformMutationsWithChangeset'](_0x16951a,_0x4334e2);if(!_0x3e8902(_0x240aa7))throw _0x240aa7[_0x336fa7(0x26d)];const _0x3a2afc=_0x240aa7[_0x336fa7(0x327)][0x0][_0x336fa7(0x32e)][_0x336fa7(0x2bd)];Array[_0x336fa7(0x2db)](_0x3a2afc)&&_0x3a2afc[_0x336fa7(0x2e7)]&&_0x3be93f[_0x336fa7(0x37e)](_0x3a2afc,{'unitId':_0x5e970d,'subUnitId':_0x5e970d},!0x1);}};ae=on([st(0x0,_0x580399(_0x4c907f)),st(0x1,_0x1c1b18)],ae);var an=Object[_0x523cc0(0x1dd)],cn=(_0xa5bfea,_0x1057a1,_0x1e9310,_0x3aabab)=>{for(var _0xcb1a74=_0x3aabab>0x1?void 0x0:_0x3aabab?an(_0x1057a1,_0x1e9310):_0x1057a1,_0x150884=_0xa5bfea['length']-0x1,_0x29e80;_0x150884>=0x0;_0x150884--)(_0x29e80=_0xa5bfea[_0x150884])&&(_0xcb1a74=_0x29e80(_0xcb1a74)||_0xcb1a74);return _0xcb1a74;},N=(_0xa55504,_0x4d09d0)=>(_0x3e4c3d,_0x4a1b19)=>_0x4d09d0(_0x3e4c3d,_0x4a1b19,_0xa55504);let ce=class extends _0x194f9f{constructor(_0x1d762b,_0x438413,_0x4fe513,_0x3b1915,_0x109194,_0x107b2b,_0x4384ad,_0x1d4e00){const _0x408dc6=_0x523cc0;super(),_(this,_0x408dc6(0x234),new _0x576a38(_0xd94271[_0x408dc6(0x34d)])),(this[_0x408dc6(0x2d0)]=_0x1d762b,this[_0x408dc6(0x220)]=_0x438413,this[_0x408dc6(0x1ca)]=_0x4fe513,this[_0x408dc6(0x285)]=_0x3b1915,this['_docTransformSelectionsService']=_0x109194,this[_0x408dc6(0x20d)]=_0x107b2b,this[_0x408dc6(0x203)]=_0x4384ad,this['_localeService']=_0x1d4e00,this[_0x408dc6(0x2b7)]());}[_0x523cc0(0x2b7)](){const _0x49845b=_0x523cc0;this[_0x49845b(0x25f)](this['_collaborationController']['entityInit$'][_0x49845b(0x2a9)](_0xe41605=>{const _0x505e56=_0x49845b,_0xc406a9=this[_0x505e56(0x2d0)][_0x505e56(0x32c)][_0x505e56(0x2a9)](_0x1536af=>{const _0x3810b9=_0x505e56;if(_0x1536af==null)return;const {unitId:_0x3d36bb,redoState:_0x23de28,commandId:_0x1224b7}=_0x1536af;if(_0x3d36bb!==_0xe41605[_0x3810b9(0x2ed)])return;const _0x540591={'id':_0x1224b7,'type':_0xde50b7[_0x3810b9(0x359)],'params':{'unitId':_0x3d36bb,'actions':_0x23de28[_0x3810b9(0x2c7)],'textRanges':null}};_0xe41605['onLocalMutation'](_0x540591);});if(_0xe41605[_0x505e56(0x25f)](_0xc406a9),_0xe41605 instanceof _0x7ab8e3){const _0x7d6bb={'onTransformIME':_0x250f91=>this[_0x505e56(0x1ca)][_0x505e56(0x2b2)](_0x250f91),'onTransformState':_0x49e047=>this[_0x505e56(0x285)]['transformStateCache'](_0x49e047),'onTransformSelections':_0x18ac7b=>this[_0x505e56(0x2d5)]['transformSelections'](_0x18ac7b),'onSyncEditingCollabCursor':_0x42c3e0=>this[_0x505e56(0x20d)][_0x505e56(0x19b)](_0x42c3e0),'onTransformRemoteChangesetByIMECache':_0x162274=>this[_0x505e56(0x1ca)][_0x505e56(0x343)](_0x162274),'onTransformRemoteChangesetByStateCache':_0x1e3eed=>this[_0x505e56(0x285)][_0x505e56(0x343)](_0x1e3eed)};_0xe41605['addHandlerCallback'](_0x7d6bb);}}));}};ce=cn([N(0x0,_0x580399(_0x5ef5f1)),N(0x1,_0x580399(_0xd0f008)),N(0x2,_0x580399(re)),N(0x3,_0x580399(oe)),N(0x4,_0x580399(ae)),N(0x5,_0x580399(He)),N(0x6,_0x9d999b),N(0x7,_0x580399(_0x531c26))],ce);var ln=Object[_0x523cc0(0x1dd)],_n=(_0x27020c,_0xd0dd06,_0x16c0ee,_0x212c10)=>{for(var _0x178c65=_0x212c10>0x1?void 0x0:_0x212c10?ln(_0xd0dd06,_0x16c0ee):_0xd0dd06,_0x3ff693=_0x27020c['length']-0x1,_0x260d16;_0x3ff693>=0x0;_0x3ff693--)(_0x260d16=_0x27020c[_0x3ff693])&&(_0x178c65=_0x260d16(_0x178c65)||_0x178c65);return _0x178c65;},Ee=(_0x18d131,_0xbc1339)=>(_0x34a6ec,_0x1b5b39)=>_0xbc1339(_0x34a6ec,_0x1b5b39,_0x18d131);let we=class extends _0x194f9f{constructor(_0x5565a8,_0x2fbd41,_0x20f5f7){const _0x154669=_0x523cc0;super(),_(this,_0x154669(0x332),new Map()),_(this,_0x154669(0x31a),new Map()),_(this,'_disabled',!0x1),(this[_0x154669(0x205)]=_0x5565a8,this[_0x154669(0x352)]=_0x2fbd41,this[_0x154669(0x2a4)]=_0x20f5f7);}[_0x523cc0(0x1e2)](){const _0x37d03a=_0x523cc0;this[_0x37d03a(0x30f)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x523cc0(0x29f)](){const _0xfa820e=_0x523cc0;return this[_0xfa820e(0x31a)];}['dispose'](){const _0xf486eb=_0x523cc0;this['exhaustSavingTask']()[_0xf486eb(0x27a)](()=>super[_0xf486eb(0x2f4)]());}async[_0x523cc0(0x1cc)](_0xe5ad70){const _0x5c291b=_0x523cc0;return this[_0x5c291b(0x30f)]?null:this[_0x5c291b(0x352)][_0x5c291b(0x228)](_0xccfab1(_0xe5ad70));}async[_0x523cc0(0x231)](_0x209b64,_0x5421cf){const _0x35b5a2=_0x523cc0;return!!this['_localStorageService'][_0x35b5a2(0x1f4)](_0x209b64,_0x5421cf);}[_0x523cc0(0x18b)](_0x5ea1ed,_0x16fbcf,_0x2f63ee,_0x16687f){const _0x385ba0=_0x523cc0,_0x541303=this[_0x385ba0(0x2a4)][_0x385ba0(0x1f1)](_0x5ea1ed);this[_0x385ba0(0x332)][_0x385ba0(0x36f)](_0x5ea1ed,{'unitID':_0x5ea1ed,'type':_0x16fbcf,'awaitingChangeset':_0x2f63ee,'mutations':_0x16687f,'rev':_0x541303}),this[_0x385ba0(0x31a)][_0x385ba0(0x236)](_0x5ea1ed)||this[_0x385ba0(0x1b5)](_0x5ea1ed);}[_0x523cc0(0x1b5)](_0x3e81aa){const _0xcb41f9=_0x523cc0,_0x20410f=this['_getSaveTimeout']();_0x20410f===0x0?this['_saveCache'](_0x3e81aa):this[_0xcb41f9(0x31a)]['set'](_0x3e81aa,setTimeout(()=>this[_0xcb41f9(0x275)](_0x3e81aa),_0x20410f));}[_0x523cc0(0x21c)](){const _0x57ebac=_0x523cc0;var _0x55e5bd;return(_0x55e5bd=this[_0x57ebac(0x205)][_0x57ebac(0x35a)](_0x10a9f1))!=null?_0x55e5bd:_0x30944d;}['_saveCache'](_0x221e07){const _0x314fd0=_0x523cc0,_0x1fd6dd=this[_0x314fd0(0x31a)][_0x314fd0(0x37c)](_0x221e07);return _0x1fd6dd!==void 0x0&&window[_0x314fd0(0x1ec)](_0x1fd6dd),this[_0x314fd0(0x352)][_0x314fd0(0x1f4)](_0xccfab1(_0x221e07),this[_0x314fd0(0x332)]['get'](_0x221e07))[_0x314fd0(0x27a)](()=>this[_0x314fd0(0x31a)]['delete'](_0x221e07));}async[_0x523cc0(0x2a3)](){const _0x59a2a2=[];this['_saveTaskMap']['forEach']((_0x22a42c,_0x2ed3ae)=>{const _0x512828=_0xde4b;window[_0x512828(0x1ec)](_0x22a42c),_0x59a2a2[_0x512828(0x2c1)](this['_saveCache'](_0x2ed3ae)['then'](()=>{const _0x136c50=_0x512828;this[_0x136c50(0x31a)][_0x136c50(0x313)](_0x2ed3ae);}));}),await Promise['all'](_0x59a2a2);}};we=_n([Ee(0x0,_0x3e9cdd),Ee(0x1,_0x7d85eb),Ee(0x2,_0x580399(_0x7d8534))],we);function _0xde4b(_0x14f26a,_0x195fd8){const _0x40fc92=_0x40fc();return _0xde4b=function(_0xde4b89,_0x3f8261){_0xde4b89=_0xde4b89-0x185;let _0x51b06a=_0x40fc92[_0xde4b89];return _0x51b06a;},_0xde4b(_0x14f26a,_0x195fd8);}class hn extends _0x250310{constructor(){const _0x2eeb4b=_0x523cc0;super(),_(this,_0x2eeb4b(0x1da)),this['urlChange$']=_0x32c97b(window,_0x2eeb4b(0x32f))['pipe'](_0x14b24a(this[_0x2eeb4b(0x265)]),_0x1de38f(0x1),_0xee19f8(void 0x0));}[_0x523cc0(0x22c)](_0x44e033,_0xd71235,_0x4847bd=!0x1){const _0x3c4db9=_0x523cc0,_0x43e56c=new URL(window[_0x3c4db9(0x351)]['href']);_0x43e56c[_0x3c4db9(0x2ba)][_0x3c4db9(0x36f)](_0x44e033,_0xd71235),_0x4847bd?window[_0x3c4db9(0x1c5)][_0x3c4db9(0x244)]('','',_0x43e56c['toString']()):window[_0x3c4db9(0x1c5)][_0x3c4db9(0x1e3)]('','',_0x43e56c['toString']());}['removeParam'](_0x358205,_0x4256c5=!0x1){const _0x4465d0=_0x523cc0,_0x3fe3b3=new URL(window[_0x4465d0(0x351)][_0x4465d0(0x201)]);_0x3fe3b3[_0x4465d0(0x2ba)][_0x4465d0(0x313)](_0x358205),_0x4256c5?window[_0x4465d0(0x1c5)]['replaceState']('','',_0x3fe3b3['toString']()):window[_0x4465d0(0x1c5)]['pushState']('','',_0x3fe3b3[_0x4465d0(0x29a)]());}[_0x523cc0(0x2b5)](_0x14395b){const _0x4b8878=_0x523cc0;var _0x3fa15b;return(_0x3fa15b=new URL(window[_0x4b8878(0x351)]['href'])[_0x4b8878(0x2ba)]['get'](_0x14395b))!=null?_0x3fa15b:void 0x0;}}var un=Object[_0x523cc0(0x2d1)],dn=Object[_0x523cc0(0x1dd)],fn=(_0x5ec1cb,_0x246a4f,_0x441311)=>_0x246a4f in _0x5ec1cb?un(_0x5ec1cb,_0x246a4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x441311}):_0x5ec1cb[_0x246a4f]=_0x441311,Sn=(_0x5602f7,_0xbded7e,_0x16d052,_0x531b52)=>{const _0x2b82b3=_0x523cc0;for(var _0x302a2a=_0x531b52>0x1?void 0x0:_0x531b52?dn(_0xbded7e,_0x16d052):_0xbded7e,_0x174945=_0x5602f7[_0x2b82b3(0x2e7)]-0x1,_0x1b1d12;_0x174945>=0x0;_0x174945--)(_0x1b1d12=_0x5602f7[_0x174945])&&(_0x302a2a=_0x1b1d12(_0x302a2a)||_0x302a2a);return _0x302a2a;},Oe=(_0x15b534,_0x2f511b)=>(_0x5c6d61,_0x105bf5)=>_0x2f511b(_0x5c6d61,_0x105bf5,_0x15b534),mn=(_0x550b23,_0x160306,_0x3c8314)=>fn(_0x550b23,_0x160306+'',_0x3c8314);const In=_0x523cc0(0x381);let Ae=class extends _0x1e00b1{constructor(_0xed164a=et,_0x37fa9d,_0xbacc5f,_0x5a1e57){const _0x4b8e85=_0x523cc0;super(),this[_0x4b8e85(0x1a2)]=_0xed164a,this[_0x4b8e85(0x364)]=_0x37fa9d,this[_0x4b8e85(0x2e1)]=_0xbacc5f,this[_0x4b8e85(0x205)]=_0x5a1e57;const {..._0x448071}=_0x2692fd({},et,this['_config']);this['_configService'][_0x4b8e85(0x369)](Zi,_0x448071);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x523cc0(0x34e)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x52dc57=_0x523cc0;var _0x2265ff;const _0x2bd1fb=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0xc9a6,{'useClass':_0x40c4c6}],[_0xdbe57e,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x4a5b8c(this['_injector'],_0xcce9f5(_0x2bd1fb,(_0x2265ff=this['_config'])==null?void 0x0:_0x2265ff[_0x52dc57(0x233)]));}[_0x523cc0(0x30c)](){const _0x431516=_0x523cc0;this[_0x431516(0x25f)](this[_0x431516(0x364)][_0x431516(0x355)](_0x4e8f3d[_0x431516(0x272)],[Le])),this[_0x431516(0x25f)](this[_0x431516(0x364)][_0x431516(0x355)](_0x4e8f3d['UNIVER_SHEET'],[Pe]));}[_0x523cc0(0x337)](){const _0x2161f3=_0x523cc0;_0xd2cd02(this[_0x2161f3(0x2e1)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x523cc0(0x1fe),In),Ae=Sn([_0x3f9a21(_0x1b2ecd),Oe(0x1,_0x51e1fa),Oe(0x2,_0x580399(_0x4c907f)),Oe(0x3,_0x3e9cdd)],Ae);var vn=Object[_0x523cc0(0x1dd)],gn=(_0x5f42b5,_0x5428db,_0x19e1ed,_0x26b878)=>{const _0x1c7a8d=_0x523cc0;for(var _0x38c92c=_0x26b878>0x1?void 0x0:_0x26b878?vn(_0x5428db,_0x19e1ed):_0x5428db,_0x5a8b6c=_0x5f42b5[_0x1c7a8d(0x2e7)]-0x1,_0x67d3f5;_0x5a8b6c>=0x0;_0x5a8b6c--)(_0x67d3f5=_0x5f42b5[_0x5a8b6c])&&(_0x38c92c=_0x67d3f5(_0x38c92c)||_0x38c92c);return _0x38c92c;},z=(_0x100296,_0x56bf1f)=>(_0x5aa5fd,_0x1e40a9)=>_0x56bf1f(_0x5aa5fd,_0x1e40a9,_0x100296);let it=class extends _0x202441{constructor(_0x5d94c0,_0x2ad01d,_0x43079e,_0x407d4a,_0x22124a){super(_0x5d94c0,_0x2ad01d,_0x43079e,_0x407d4a,_0x22124a);}async[_0x523cc0(0x20b)](_0x18b566){const _0x569893=_0x523cc0,_0x2c21d0=await this[_0x569893(0x1dc)](),_0x3c94bd=this[_0x569893(0x1e4)](_0x18b566,_0x2c21d0);return this[_0x569893(0x29d)](_0x3c94bd);}['_createSocketURL'](_0x504475,_0x3ea39a){const _0x519259=_0x523cc0,_0x3a11ba=typeof window>'u'?new URL(_0x504475):new URL(_0x504475,window['location'][_0x519259(0x19f)]);_0x3a11ba[_0x519259(0x2ba)]['set'](_0x519259(0x2ab),_0x3ea39a);const _0x441b2b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x519259(0x351)][_0x519259(0x323)]);return _0x441b2b['get'](_0x519259(0x329))&&_0x3a11ba['searchParams'][_0x519259(0x36f)](_0x519259(0x329),_0x441b2b['get'](_0x519259(0x329))),_0x3a11ba[_0x519259(0x29a)]();}async[_0x523cc0(0x1dc)](){const _0x41d331=_0x523cc0;var _0x23ec62,_0x42af03,_0x8c76cd;const _0x3cfb83=this[_0x41d331(0x205)][_0x41d331(0x35a)](_0x48c40a),_0xc9d69b=(_0x23ec62=_0x3cfb83==null?void 0x0:_0x3cfb83[_0x41d331(0x2f7)])!=null?_0x23ec62:_0x469a54;return(_0x8c76cd=(_0x42af03=(await this[_0x41d331(0x200)][_0x41d331(0x37c)](_0xc9d69b,{'headers':{'Content-Type':_0x41d331(0x2b0)}}))[_0x41d331(0x199)])==null?void 0x0:_0x42af03[_0x41d331(0x1a8)])!=null?_0x8c76cd:'';}};it=gn([z(0x0,_0x580399(_0x4c907f)),z(0x1,_0x580399(_0x50b86c)),z(0x2,_0x3e9cdd),z(0x3,_0x4c2c44),z(0x4,_0x25762a)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x194f9f{constructor(){const _0x2d3401=_0x523cc0;super(),_(this,_0x2d3401(0x18e),_0xabdb9a()),_(this,_0x2d3401(0x386),new Set()),_(this,_0x2d3401(0x350),new Map()),_(this,_0x2d3401(0x35d),null),_(this,_0x2d3401(0x365),new Map()),_(this,_0x2d3401(0x21f),new Map()),this[_0x2d3401(0x2eb)]();}['dispose'](){const _0x4e9010=_0x523cc0;super[_0x4e9010(0x2f4)](),this['_clearOtherTimers']['forEach']((_0x3c32f7,_0x3cb917)=>this[_0x4e9010(0x373)](_0x3cb917)),this[_0x4e9010(0x35d)]&&window[_0x4e9010(0x33d)](this[_0x4e9010(0x35d)]);}[_0x523cc0(0x1ee)](_0x443da3){const _0x23cdbf=_0x523cc0;return this[_0x23cdbf(0x2ef)](_0x443da3)['pipe'](_0xe9047e());}[_0x523cc0(0x37f)](_0x581453){const _0x399d77=_0x523cc0;this['_selfUnitIDs'][_0x399d77(0x23b)]===0x0&&this[_0x399d77(0x28e)](),this[_0x399d77(0x386)]['add'](_0x581453),this['_send']({'type':0x0,'memberID':this[_0x399d77(0x18e)],'unitIDs':[_0x581453],'isForwarded':!0x1});}['disposeUnit'](_0x459e80){const _0x191358=_0x523cc0;this[_0x191358(0x386)][_0x191358(0x313)](_0x459e80),this[_0x191358(0x386)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x523cc0(0x2eb)](){const _0x55ccf3=_0x523cc0;this[_0x55ccf3(0x25f)](_0x330c70(_0x32c97b(window,_0x55ccf3(0x258))[_0x55ccf3(0x2a9)](_0x12ff72=>{const _0x2d23de=_0x55ccf3;if(_0x12ff72[_0x2d23de(0x34f)]!==rt||!_0x12ff72[_0x2d23de(0x35f)])return;const _0x490aef=JSON['parse'](_0x12ff72[_0x2d23de(0x35f)]);this['_handleEvent'](_0x490aef);}))),window[_0x55ccf3(0x30d)]('unload',()=>this[_0x55ccf3(0x185)]({'type':0x1,'memberID':this[_0x55ccf3(0x18e)],'unitIDs':Array[_0x55ccf3(0x330)](this[_0x55ccf3(0x386)])}));}[_0x523cc0(0x36c)](_0x4d87d0){const _0x42b644=_0x523cc0;switch(_0x4d87d0[_0x42b644(0x2fe)]){case 0x0:this['_handleJoinEvent'](_0x4d87d0);break;case 0x1:this[_0x42b644(0x1ba)](_0x4d87d0);break;case 0x2:this[_0x42b644(0x2df)](_0x4d87d0);break;}}[_0x523cc0(0x264)](_0x5df339){const _0x35896a=_0x523cc0,{unitIDs:_0x2cf638,memberID:_0x4882b5,isForwarded:_0x1fc9f3}=_0x5df339;_0x2cf638[_0x35896a(0x339)](_0x5189a0=>{const _0x391323=_0x35896a;if(!_0x1fc9f3&&this[_0x391323(0x350)][_0x391323(0x236)](_0x5189a0)&&this[_0x391323(0x2ef)](_0x5189a0)[_0x391323(0x2f5)](_0x1070de[_0x391323(0x2ae)]),!this[_0x391323(0x350)][_0x391323(0x236)](_0x5189a0)||!this[_0x391323(0x350)][_0x391323(0x37c)](_0x5189a0)[_0x391323(0x236)](_0x4882b5)){const _0x277707=this[_0x391323(0x350)][_0x391323(0x37c)](_0x5189a0)||new Set();_0x277707[_0x391323(0x238)](_0x4882b5),this[_0x391323(0x350)][_0x391323(0x36f)](_0x5189a0,_0x277707),this[_0x391323(0x29b)](_0x4882b5);}}),_0x1fc9f3||this[_0x35896a(0x185)]({'type':0x0,'memberID':this[_0x35896a(0x18e)],'unitIDs':[...this[_0x35896a(0x386)]],'isForwarded':!0x0});}[_0x523cc0(0x29b)](_0x5d4103){const _0x2d7fe1=_0x523cc0;this[_0x2d7fe1(0x373)](_0x5d4103);const _0x31ae33=window[_0x2d7fe1(0x21a)](()=>{const _0x5336cf=_0x2d7fe1;this[_0x5336cf(0x350)][_0x5336cf(0x339)](_0x324452=>{const _0x54d94c=_0x5336cf;_0x324452[_0x54d94c(0x313)](_0x5d4103);});},nt*0x2);this['_clearOtherTimers'][_0x2d7fe1(0x36f)](_0x5d4103,_0x31ae33);}['_removeClearOtherTimer'](_0x33d86f){const _0x510051=_0x523cc0;if(this['_clearOtherTimers'][_0x510051(0x236)](_0x33d86f)){const _0x3bad9a=this['_clearOtherTimers'][_0x510051(0x37c)](_0x33d86f);_0x3bad9a&&window[_0x510051(0x1ec)](_0x3bad9a),this[_0x510051(0x365)][_0x510051(0x36f)](_0x33d86f,null);}}[_0x523cc0(0x1ba)](_0x155124){const _0x1bd135=_0x523cc0,{memberID:_0x126d41,unitIDs:_0x5689b6}=_0x155124;_0x5689b6['forEach'](_0x406b13=>{const _0x2c4653=_0xde4b;var _0x5a1d9a;const _0xb1cd59=this[_0x2c4653(0x350)][_0x2c4653(0x37c)](_0x406b13);_0xb1cd59&&(_0xb1cd59[_0x2c4653(0x313)](_0x126d41),(_0x5a1d9a=this[_0x2c4653(0x2ef)](_0x406b13))==null||_0x5a1d9a[_0x2c4653(0x2f5)](_0xb1cd59[_0x2c4653(0x23b)]===0x0?_0x1070de[_0x2c4653(0x1b3)]:_0x1070de[_0x2c4653(0x2ae)]));}),this[_0x1bd135(0x373)](_0x126d41);}[_0x523cc0(0x2df)](_0x7ac738){const _0x3eb002=_0x523cc0;this[_0x3eb002(0x29b)](_0x7ac738[_0x3eb002(0x2b9)]);}[_0x523cc0(0x185)](_0x218883){const _0x5252ad=_0x523cc0;localStorage[_0x5252ad(0x1f4)](rt,JSON['stringify'](_0x218883));}['_scheduleHeartbeat'](){const _0x95a1c2=_0x523cc0;this['_heartbeatTimer']=window[_0x95a1c2(0x328)](()=>{const _0x1e45ae=_0x95a1c2;this[_0x1e45ae(0x185)]({'type':0x2,'memberID':this[_0x1e45ae(0x18e)]});},nt);}[_0x523cc0(0x2ef)](_0x485995){const _0xcc7734=_0x523cc0;return this[_0xcc7734(0x21f)][_0xcc7734(0x236)](_0x485995)||this[_0xcc7734(0x21f)]['set'](_0x485995,new _0x576a38(_0x1070de['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xcc7734(0x37c)](_0x485995);}}var Lt=(_0x2a1700=>(_0x2a1700[_0x2a1700[_0x523cc0(0x266)]=0x0]=_0x523cc0(0x266),_0x2a1700[_0x2a1700['OK']=0x1]='OK',_0x2a1700[_0x2a1700[_0x523cc0(0x35c)]=0x2]='INTERNAL_ERROR',_0x2a1700[_0x2a1700['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2a1700[_0x2a1700[_0x523cc0(0x385)]=0x4]=_0x523cc0(0x385),_0x2a1700[_0x2a1700[_0x523cc0(0x2de)]=0x5]=_0x523cc0(0x2de),_0x2a1700[_0x2a1700[_0x523cc0(0x20e)]=0x6]=_0x523cc0(0x20e),_0x2a1700[_0x2a1700[_0x523cc0(0x1f0)]=0x7]=_0x523cc0(0x1f0),_0x2a1700[_0x2a1700[_0x523cc0(0x1c6)]=0x8]='TOO_MANY_REQUESTS',_0x2a1700[_0x2a1700['COMPLETION_FINISHED']=0x9]=_0x523cc0(0x2ca),_0x2a1700[_0x2a1700[_0x523cc0(0x259)]=0xa]=_0x523cc0(0x259),_0x2a1700[_0x2a1700[_0x523cc0(0x354)]=0xb]=_0x523cc0(0x354),_0x2a1700[_0x2a1700[_0x523cc0(0x36d)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2a1700[_0x2a1700[_0x523cc0(0x2c3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2a1700[_0x2a1700[_0x523cc0(0x326)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2a1700[_0x2a1700[_0x523cc0(0x34c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2a1700[_0x2a1700[_0x523cc0(0x388)]=0x1771]=_0x523cc0(0x388),_0x2a1700[_0x2a1700[_0x523cc0(0x361)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2a1700[_0x2a1700['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2a1700[_0x2a1700[_0x523cc0(0x378)]=0x1b59]=_0x523cc0(0x378),_0x2a1700[_0x2a1700[_0x523cc0(0x346)]=0x1b5a]=_0x523cc0(0x346),_0x2a1700[_0x2a1700[_0x523cc0(0x18c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2a1700[_0x2a1700['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x523cc0(0x276),_0x2a1700[_0x2a1700[_0x523cc0(0x24d)]=0x1b5d]=_0x523cc0(0x24d),_0x2a1700[_0x2a1700[_0x523cc0(0x26a)]=0x1f41]=_0x523cc0(0x26a),_0x2a1700[_0x2a1700[_0x523cc0(0x212)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2a1700[_0x2a1700[_0x523cc0(0x2a0)]=0x232a]=_0x523cc0(0x2a0),_0x2a1700[_0x2a1700[_0x523cc0(0x1cd)]=0x232b]=_0x523cc0(0x1cd),_0x2a1700[_0x2a1700[_0x523cc0(0x1e7)]=0x232c]=_0x523cc0(0x1e7),_0x2a1700[_0x2a1700[_0x523cc0(0x1a5)]=0x232d]=_0x523cc0(0x1a5),_0x2a1700[_0x2a1700[_0x523cc0(0x35e)]=0x2711]=_0x523cc0(0x35e),_0x2a1700[_0x2a1700[_0x523cc0(0x24f)]=0x2712]=_0x523cc0(0x24f),_0x2a1700[_0x2a1700[_0x523cc0(0x347)]=0x2713]=_0x523cc0(0x347),_0x2a1700[_0x2a1700[_0x523cc0(0x300)]=0x2714]=_0x523cc0(0x300),_0x2a1700[_0x2a1700[_0x523cc0(0x224)]=0x271a]=_0x523cc0(0x224),_0x2a1700[_0x2a1700[_0x523cc0(0x23c)]=0x271b]=_0x523cc0(0x23c),_0x2a1700[_0x2a1700[_0x523cc0(0x1f7)]=0x271c]=_0x523cc0(0x1f7),_0x2a1700[_0x2a1700['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x523cc0(0x303),_0x2a1700[_0x2a1700[_0x523cc0(0x21e)]=0x271e]=_0x523cc0(0x21e),_0x2a1700[_0x2a1700[_0x523cc0(0x1bb)]=0x271f]=_0x523cc0(0x1bb),_0x2a1700[_0x2a1700[_0x523cc0(0x195)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x2a1700[_0x2a1700['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x523cc0(0x356),_0x2a1700[_0x2a1700['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x523cc0(0x1a1),_0x2a1700[_0x2a1700['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x2a1700[_0x2a1700[_0x523cc0(0x2cb)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2a1700[_0x2a1700[_0x523cc0(0x2e2)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2a1700[_0x2a1700[_0x523cc0(0x2a6)]=0x2ee5]=_0x523cc0(0x2a6),_0x2a1700[_0x2a1700['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x523cc0(0x1c1),_0x2a1700[_0x2a1700[_0x523cc0(0x280)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2a1700[_0x2a1700['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x523cc0(0x2d8),_0x2a1700[_0x2a1700['UNRECOGNIZED']=-0x1]=_0x523cc0(0x1b4),_0x2a1700))(Lt||{}),pn=Object[_0x523cc0(0x1dd)],Cn=(_0x353a7e,_0x530a70,_0x77ec26,_0x1b41c4)=>{const _0x27524b=_0x523cc0;for(var _0x2d14fc=_0x1b41c4>0x1?void 0x0:_0x1b41c4?pn(_0x530a70,_0x77ec26):_0x530a70,_0x3ab649=_0x353a7e[_0x27524b(0x2e7)]-0x1,_0x337649;_0x3ab649>=0x0;_0x3ab649--)(_0x337649=_0x353a7e[_0x3ab649])&&(_0x2d14fc=_0x337649(_0x2d14fc)||_0x2d14fc);return _0x2d14fc;},be=(_0x240369,_0x451634)=>(_0xdc0dd,_0x184ef2)=>_0x451634(_0xdc0dd,_0x184ef2,_0x240369);let ot=class extends _0x194f9f{constructor(_0xdcf5e7,_0x5cc523,_0x3a0491){const _0x2aa016=_0x523cc0;super(),this[_0x2aa016(0x2b6)]=_0xdcf5e7,this[_0x2aa016(0x200)]=_0x5cc523,this[_0x2aa016(0x205)]=_0x3a0491;}async[_0x523cc0(0x211)](_0x23cfd2,_0x5851b3,_0x49100a,..._0x2257f8){const _0x52f6ef=_0x523cc0;var _0x97bab1,_0x3bb01a,_0x2f31bf,_0x5f556f;const _0x3ea9cc=this[_0x52f6ef(0x2b6)]['getFocusedUnit']();if(!_0x3ea9cc)throw new Error(_0x52f6ef(0x1a4));const _0x8780a0=((_0x97bab1=this['_configService']['getConfig'](_0x31095e))!=null?_0x97bab1:_0x5f1758)+'/'+_0x23cfd2+_0x52f6ef(0x36e)+_0x5851b3,_0x13ddca=new URL(window[_0x52f6ef(0x351)]['href']),_0x1d24eb={'scriptId':_0x23cfd2,'runId':(_0x3bb01a=_0x13ddca[_0x52f6ef(0x2ba)]['get'](_0x52f6ef(0x329)))!=null?_0x3bb01a:'','function':_0x5851b3,'unitId':_0x3ea9cc[_0x52f6ef(0x2b8)](),'argsOfFunction':JSON[_0x52f6ef(0x271)](_0x2257f8),'invokeId':(_0x2f31bf=_0x49100a['invokeId'])!=null?_0x2f31bf:'','executionId':(_0x5f556f=_0x49100a[_0x52f6ef(0x25a)])!=null?_0x5f556f:''};try{const _0x3b467c=await this[_0x52f6ef(0x200)][_0x52f6ef(0x321)](_0x8780a0,{'body':_0x1d24eb});return _0x3b467c[_0x52f6ef(0x199)][_0x52f6ef(0x26d)]&&_0x3b467c[_0x52f6ef(0x199)][_0x52f6ef(0x26d)][_0x52f6ef(0x2ad)]!==Lt['OK']?_0x52f6ef(0x20a):_0x3b467c[_0x52f6ef(0x199)][_0x52f6ef(0x28a)];}catch{return'Failed';}}};function _0x40fc(){const _0x3f581a=['send','eventID','transform','jiqing.500','saveOfflineData','RemoveColCommandId','override','_status$','endColumn','has','getActiveSheet','add','ONLINE','_toggleOffline','size','YUUMI_ASYNCIO_CANCELLED','Unknown\x20user','USERS_LEAVE','propertyIsEnumerable','_hovered','source','string','369eVlkju','replaceState','_imageIoService','_transformPreviousActiveRange','getColorFromTheme','_anchor','_urlService','univer-flex\x20univer-items-center','RemoveRowCommandId','replace','APPLY_DUPLICATED','11280420HmIngx','YUUMI_URL_COL_OUT_OF_RANGE','arc','#FFF','transformMutation','fill','createInstance','pipe','_sheetSkeletonManagerService','some','storage','LOGIN_FAILED','executionId','_updateSubUnitFromURLParams','_transformService','subunit','822596awwcit','disposeWithMe','_drawRectRange','_beforeCloseService','saveImage','FromArray','_handleJoinEvent','dispose$','UNDEFINED','_setupBeforeClosingHandler','_uiPartsService','_onCursorUpdate','CONNECTOR_DATA_TOO_LARGE','flatMap','substring','error','UniverIcon','lineTo','_updateCollabCursors','stringify','UNIVER_DOC','focused$','sheetId','_saveCache','APPLY_PERMISSION_DENIED','_removeCollabCursors','fillText','beginPath','then','colorChannel1','_handleHover','getValue','getCurrentSelections','UPDATE_CURSOR','MOBILE_HAS_BEEN_BOUND','whenReady','_syncEditingCollabCursorService','_toggleOnline','_colorIndex','_docTransformStateCacheService','_draw','_scene','roomMembers$','with','result','collab-client.tooltip.reconnect','collab-rect-range-','_themeService','_scheduleHeartbeat','asObservable','idSuffix','InsertRowCommandId','event$','green.600','toRgbString','white','_online','_roomMembers$','_collabCursorState$','evenodd','toString','_scheduleClearOtherTimer','_cursorInfo$','_doCreateSocket','collabStatus.fetchMiss','saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','drawWith','color','exhaustSavingTask','_revisionService','getSkeleton','INVITE_CODE_ALREADY_BOUND','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_entityInit$','subscribe','moveTo','sessionTicket','collabStatus.syncing','code','OTHER_CLIENTS_EDITING','permission.title','application/json','getSheetBySheetId','transformIMECache','random','getCollabCursors$','getParam','_instanceService','_initEntityListener','getUnitId','memberID','searchParams','addClipboardHook','div','textRanges','getAncestorScale','m1Prime','getDocRanges','push','getCellPositionByOffset','EMAIL_VERIFY_CODE_MISMATCH','startsWith','range','deepClone','actions','_transformUndoRedoStack','...','COMPLETION_FINISHED','INVITE_CODE_REQUIRED','hasOwnProperty','_getSheetObject','InsertColCommandId','selection','_docStateChangeManagerService','defineProperty','_startSheetCollabCursor','currentSkeleton$','mutations','_docTransformSelectionsService','_localCacheService','_name','EMAIL_HAS_BEEN_BOUND','getVpScrollXYInfoByPosToVp','className','isArray','height','1em','UNAUTHENTICATED','_handleHeartbeatEvent','getUndoRedoMutationParamsCache','_injector','USER_NOT_INVITED_CODE','sessionStatus$','OTHER_CLIENT_EDITING','PENDING','red.300','length','selections','RECT','startRow','_init','_docSkeletonManagerService','unitID','doc.mutation.rich-text-editing','_ensureSubject','getTypeOfUnitDisposed$','HEADER_MENU','_labelPosition','column','dispose','next','CONFLICT','wsSessionTicketUrl','redoState','_collabCursorController','collabStatus.notCollab','_univerInstanceService','prototype','_notificationService','type','DeleteRangeMoveLeftCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PERMISSION_DENIED','YUUMI_ALL_TABLES_IS_INVALID','_startDocCollabCursor','endRow','defIds','tag','attrs','_cursors','getOffsetConfig','use','_registerRenderDependencies','addEventListener','off-line-icon_clip0_910_343','_disabled','bottom','assign','onPointerLeave$','delete','setShapeProps','uni.network.url-service','permission.content','hovered','onPointerEnter$','width','_saveTaskMap','9467836GjnULS','current','_drawAnchor','_eventUnsubscribe','addObject','currentTheme$','post','_transformHistoryAndStateStack','search','_lastPointer','getCurrent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','m2Prime','setInterval','runId','_cursorShapes','unshift','docStateChange$','getUniverSheetInstance','params','popstate','from','_memberService','_cachedData','_getScale','backgroundColor','skeleton','_session','_initDependencies','text','forEach','assignAColorForMemberID','show','on-line-icon_clip0_910_349','clearInterval','indexOf','engine','_drawTextRange','_collabSessionService','concat','transformRemoteChangeset','subscribeEvent','_initResize','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_RATE_OVER_LIMIT','addObjects','_getAnchorBounding','font','loadUnit','CHANGESET_REVISION_CONFILICT','NOT_COLLAB','onRendered','key','_unitOnClients','location','_localStorageService','_initCommandExecutedListener','MOBILE_VERIFY_CODE_MISMATCH','registerRenderModule','PY_RUNTIME_SCRIPT_ERROR','Warning','complete','MUTATION','getConfig','_logService','INTERNAL_ERROR','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','newValue','_hideTimer','SNAPSHOT_HAS_BEEN_REMOVED','session.collaboration-timeout','12355827NNbUAs','_renderManagerService','_clearOtherTimers','sheetID','values','getCollabEntity$','setConfig','1629474prvfoh','getRenderById','_handleEvent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/run/','set','DeleteRangeMoveUpCommandId','_assignedColors','top','_removeClearOtherTimer','Error','_refreshCollabCursors','_updateURLWithCurrentState','setActiveRange','APPLY_REJECT','InsertRangeMoveRightCommandId','triggerDblclick','collabStatus.conflict','get','extend','replaceDocRanges','editingUnit','transformByState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','M0\x200H16V16H0z','session.will-retry','unsubscribe','NOT_FOUND','_selfUnitIDs','getMemberID','SNAPSHOT_INVALID_SNAPSHOT','_send','getSheetId','24MYqPcR','xlink:href','collabCursorState$','_dataLoaderService','updateOfflineData','APPLY_REVISION_CONFILICT','measureText','_id','undoState','collabStatus.offline','displayName','_entities','collaboration.single-unit.warning','symbol','YUUMI_CONNECTOR_URL_NOT_FOUND','_initStatusListener','MoveRangeCommandId','_onCursorDelete','body','collaboration.closeRoom','syncEditingCollabCursor','getStateCache','findNodePositionByCharIndex','makeDirty','origin','_context','INVITE_CODE_HAS_BEEN_UES','_config','_anchorDot','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_DISTRO_REJECTED','onCommandExecuted','getFocusedUnit','ticket','min','_collaborationUIEventService','isEditing','getViewport','debug','_setupSubUnitSync','icon','getUnhiddenWorksheets','entries','AWAITING_WITH_PENDING','NO_OTHER_CLIENTS_EDITING','UNRECOGNIZED','_scheduleSaving','unitId','requireSession','name','translate(.97)','_handleLeaveEvent','YUUMI_AI_RUN_FAILED','_docSkeleton','cursorInfo','SUBMIT_CHANGESET_TIMEOUT','executeCommand','mask','WECHAT_HAS_BEEN_BOUND','purple.300','off-line-icon','1197725jUXHyz','history','TOO_MANY_REQUESTS','clipPath','init','InsertRangeMoveDownCommandId','_docTransformIMECacheService','119384Ykweft','loadOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','none','roomMembers','http://www.w3.org/2000/svg','_shapes','TEXT','_refRangeService','map','_range','resize','cursorInfo$','call','_cursor','urlChange$','_color','_getSessionTicket','getOwnPropertyDescriptor','[CollaborationDataLoaderController]','UNIVER_SHEET','restore','data','disableLocalCache','pushState','_createSocketURL','_textBubble','_getMergeRange','LICENSE_EXPORT_SIZE_EXCEEDED','_hover','fillStyle','_docClipboardService','setStateCache','clearTimeout','getRelativeToViewportCoord','getUnitStatus$','path','INVALID_ARGUMENT','getCurrentRevOfUnit','_localeService','unit','setItem','currentColor','defs','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_initEvent','_backgroundColor','includes','getOwnPropertySymbols','_initStatusComponent','row','pluginName','blue.400','_httpService','href','contains','_messageService','setAlpha','_configService','children','6wemdbq','transformMutationsWithChangeset','SOCKET_FAILED_RETRY','Failed','createSocket','hide','_docSyncEditingCollabCursorService','ALREADY_EXISTS','svg','univerjs-icon\x20univerjs-icon-','runOnServer','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','url(#$1','closePath','setUndoRedoMutationParamsCache','_updateLocalCursor','round','0\x200\x2016\x2016','setTimeout','save','_getSaveTimeout','ranges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_unitStatus','_collaborationController','2sPWTlZ','isActive','black','YUUMI_NO_CUBOID_FOR_QUESTION','JOIN_ROOM_FAILED','getRangePointData','_commandService','getItem','_onRefRangeChange','getMember','getMergeData','setParam'];_0x40fc=function(){return _0x3f581a;};return _0x40fc();}ot=Cn([be(0x0,_0x2302ae),be(0x1,_0x580399(_0x50b86c)),be(0x2,_0x3e9cdd)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x342611=_0x4e92;function _0x4e92(_0x213597,_0x56b3fc){const _0x1fc190=_0x1fc1();return _0x4e92=function(_0x4e9235,_0x4e2921){_0x4e9235=_0x4e9235-0xf4;let _0x1f81f5=_0x1fc190[_0x4e9235];return _0x1f81f5;},_0x4e92(_0x213597,_0x56b3fc);}(function(_0x49cacb,_0x163884){const _0x4f3424=_0x4e92,_0x22d743=_0x49cacb();while(!![]){try{const _0xc1bb5e=parseInt(_0x4f3424(0xf8))/0x1*(parseInt(_0x4f3424(0xf7))/0x2)+-parseInt(_0x4f3424(0xf4))/0x3*(-parseInt(_0x4f3424(0x102))/0x4)+-parseInt(_0x4f3424(0x106))/0x5*(parseInt(_0x4f3424(0x105))/0x6)+parseInt(_0x4f3424(0xf6))/0x7*(parseInt(_0x4f3424(0xf9))/0x8)+parseInt(_0x4f3424(0x107))/0x9+parseInt(_0x4f3424(0x103))/0xa+-parseInt(_0x4f3424(0x101))/0xb;if(_0xc1bb5e===_0x163884)break;else _0x22d743['push'](_0x22d743['shift']());}catch(_0x1e24ba){_0x22d743['push'](_0x22d743['shift']());}}}(_0x1fc1,0x3a17d));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x342611(0xfe),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':_0x342611(0x100),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x342611(0x108),'will-retry':_0x342611(0xfc),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x342611(0x104),'content':_0x342611(0xfa)},'permission':{'title':_0x342611(0xf5),'content':_0x342611(0xfb)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x342611(0xfd)},'auth':{'needGotoLoginAlert':_0x342611(0xff)}},o=e;function _0x1fc1(){const _0x2aa89f=['1402158qdVNHh','5zwgBdT','2496267uBNBZF','Connection\x20failed,\x20please\x20check\x20your\x20network.','42723xFBusT','Authentication\x20Error','53858PEJcjP','6IdOHSC','126777cjBfKe','480weFqiU','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing...','14912018laAVIo','96tfhSCx','3661620dQjMuJ','Collaboration\x20Conflict'];_0x1fc1=function(){return _0x2aa89f;};return _0x1fc1();}export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3d81(_0x1be4a2,_0x382229){const _0x9a10e0=_0x9a10();return _0x3d81=function(_0x3d8145,_0x13f92b){_0x3d8145=_0x3d8145-0x8d;let _0x1dc7d3=_0x9a10e0[_0x3d8145];return _0x1dc7d3;},_0x3d81(_0x1be4a2,_0x382229);}const _0x4ef2bd=_0x3d81;function _0x9a10(){const _0x319407=['Click\x20to\x20Reconnect','25210tmBVtz','5iLbssE','Edit\x20conflicts','1284038YHqOGG','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1371438kztMHS','Syncing...','27338BZfTmW','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','32604XBEbmh','2NUaMat','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','712767JOXGjV','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','16MrkpcZ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','12171816NVwFeQ','Local\x20file','3839CzXGkL','Synced','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'];_0x9a10=function(){return _0x319407;};return _0x9a10();}(function(_0x4180e2,_0x2a6493){const _0x3dfdf4=_0x3d81,_0x3fd9bc=_0x4180e2();while(!![]){try{const _0x220f1a=parseInt(_0x3dfdf4(0x8e))/0x1*(-parseInt(_0x3dfdf4(0xa5))/0x2)+-parseInt(_0x3dfdf4(0x90))/0x3+-parseInt(_0x3dfdf4(0x8d))/0x4+parseInt(_0x3dfdf4(0x9c))/0x5*(parseInt(_0x3dfdf4(0xa3))/0x6)+parseInt(_0x3dfdf4(0x9e))/0x7*(parseInt(_0x3dfdf4(0x93))/0x8)+parseInt(_0x3dfdf4(0x95))/0x9+-parseInt(_0x3dfdf4(0x9b))/0xa*(parseInt(_0x3dfdf4(0x97))/0xb);if(_0x220f1a===_0x2a6493)break;else _0x3fd9bc['push'](_0x3fd9bc['shift']());}catch(_0x4aee5a){_0x3fd9bc['push'](_0x3fd9bc['shift']());}}}(_0x9a10,0xc214e));const e={'collab-client':{'tooltip':{'reconnect':_0x4ef2bd(0x9a)}},'collabStatus':{'fetchMiss':_0x4ef2bd(0xa7),'conflict':_0x4ef2bd(0x9d),'notCollab':_0x4ef2bd(0x96),'synced':_0x4ef2bd(0x98),'syncing':_0x4ef2bd(0xa4),'offline':_0x4ef2bd(0x94)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4ef2bd(0xa0),'room-full':_0x4ef2bd(0x91),'collaboration-timeout':_0x4ef2bd(0x8f)},'conflict':{'title':_0x4ef2bd(0xa1),'content':_0x4ef2bd(0x99)},'permission':{'title':_0x4ef2bd(0x92),'content':_0x4ef2bd(0x9f)},'collaboration':{'single-unit':{'warning':_0x4ef2bd(0xa2)},'closeRoom':_0x4ef2bd(0xa8)},'auth':{'needGotoLoginAlert':_0x4ef2bd(0xa6)}};export{e as default};
|