@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250424-9e348ed → 0.6.10-experimental.20250427-173dc06

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x47652e=_0x5409;(function(_0x39f5fe,_0xb6a9aa){const _0x14089f=_0x5409,_0xfdc2c1=_0x39f5fe();while(!![]){try{const _0x12e7e7=parseInt(_0x14089f(0x2c0))/0x1+-parseInt(_0x14089f(0x114))/0x2+-parseInt(_0x14089f(0x1c0))/0x3+-parseInt(_0x14089f(0x299))/0x4+-parseInt(_0x14089f(0x227))/0x5+parseInt(_0x14089f(0x2ef))/0x6*(-parseInt(_0x14089f(0x287))/0x7)+parseInt(_0x14089f(0x1b8))/0x8;if(_0x12e7e7===_0xb6a9aa)break;else _0xfdc2c1['push'](_0xfdc2c1['shift']());}catch(_0x460b40){_0xfdc2c1['push'](_0xfdc2c1['shift']());}}}(_0x10fe,0x4be36));var Bt=Object[_0x47652e(0x189)],kt=(_0x1b978e,_0x3ea483,_0x5e81dd)=>_0x3ea483 in _0x1b978e?Bt(_0x1b978e,_0x3ea483,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e81dd}):_0x1b978e[_0x3ea483]=_0x5e81dd,_=(_0x1fb887,_0x27e96b,_0x133b6a)=>kt(_0x1fb887,typeof _0x27e96b!='symbol'?_0x27e96b+'':_0x27e96b,_0x133b6a);import{MemberService as _0x4cbe12,SessionStatus as _0x5c0d85,CollaborationSessionService as _0x43674b,CollaborationStatus as _0x5e41af,CollaborationController as _0x1ac2fc,ILocalCacheService as _0xe42509,CollaborationUIEventService as _0x1bc4a3,CollaborationUIEventId as _0x50ad66,DataLoaderService as _0x209a09,DocCollaborationEntity as _0x3d384b,getLocalCacheKey as _0x3231fc,LOCAL_CACHE_INTERVAL as _0x36f304,LOCAL_CACHE_INTERVAL_KEY as _0x4289df,UniverCollaborationClientPlugin as _0x1d1770,CollaborationSocketService as _0x5e16db,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x525ae3,DEFAULT_WS_SESSION_TICKET_URL as _0x11af0b,UnitStatus as _0xb52d7c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x30691e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4d3db7}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x12a484,Disposable as _0x384885,DOC_RANGE_TYPE as _0x52d117,Inject as _0x38933f,Injector as _0x25f6f5,IUniverInstanceService as _0x365edf,ICommandService as _0x16d840,debounce as _0x376338,Rectangle as _0x1a49f1,DisposableCollection as _0x21a9fd,toDisposable as _0x321066,UniverInstanceType as _0x1e3aeb,Tools as _0xc8644e,COLORS as _0x5126ce,ColorKit as _0x4932ae,ThemeService as _0x5cb17e,fromEventSubject as _0x1b1ebb,LocaleService as _0x2002bb,createIdentifier as _0x484187,ILogService as _0xf9b56d,Optional as _0x58f8d6,Workbook as _0x3d0c25,CommandType as _0x255ff6,IConfigService as _0x39c3f3,ILocalStorageService as _0x27a311,DependentOn as _0x3d0a4d,Plugin as _0x5e5ea8,merge as _0x3770bd,registerDependencies as _0x25a896,mergeOverrideWithDependencies as _0x1191a4,touchDependencies as _0x40c7b8,generateRandomId as _0x30a6a5}from'@univerjs/core';import{Shape as _0x45e58e,Rect as _0x492152,getColor as _0x5a5a8f,RegularPolygon as _0x340ee8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2264fb,Vector2 as _0x11d9cf,SHEET_VIEWPORT_KEY as _0x2a927a,IRenderManagerService as _0x127e53}from'@univerjs/engine-render';import{ISocketService as _0x27b219,WebSocketService as _0x3ecce5,HTTPService as _0x482412}from'@univerjs/network';import{IDocClipboardService as _0x4dc1bc,NodePositionConvertToCursor as _0x3e4f1e,NodePositionConvertToRectRange as _0x1a86d5,TEXT_RANGE_LAYER_INDEX as _0x5c9c5a,SetDocZoomRatioOperation as _0xa39492,DocIMEInputManagerService as _0x2b8041,DocStateChangeManagerService as _0x3be5ee}from'@univerjs/docs-ui';import{IImageIoService as _0xd1b2b2}from'@univerjs/drawing';import{BehaviorSubject as _0x2fdfa5,debounceTime as _0x4fc0df,takeUntil as _0xc03def,Subject as _0xfbce81,filter as _0x3d9363,switchMap as _0x5171dd,merge as _0x483194,combineLatest as _0x4dc5bf,of as _0xcc42bb,fromEvent as _0x49c5e6,shareReplay as _0x3067c1,mapTo as _0x1980b0,distinctUntilChanged as _0x5c0f80}from'rxjs';import{SetTextSelectionsOperation as _0x5f4c2f,RichTextEditingMutation as _0x1ae358,DocSelectionManagerService as _0xcec8b2,DocSkeletonManagerService as _0x51b70e}from'@univerjs/docs';import{ITransformService as _0x453fd5,CollaborationEvent as _0x2e5dbd,isTransformMutationFailure as _0x10b77e,isTransformMutationsWithChangesetSuccess as _0x32f17f,RevisionService as _0x4b3b6d,ISnapshotServerService as _0x32e2e5}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x116c81,serializeRangeWithSheet as _0x4fa3d6}from'@univerjs/engine-formula';import{RefRangeService as _0x5048ab,SetSelectionsOperation as _0x244b93,SheetsSelectionsService as _0x1e9bdd,EffectRefRangId as _0x51cedc,handleIRemoveRow as _0x5acc44,handleIRemoveCol as _0x2ac507,handleMoveRange as _0x50a570,handleInsertRow as _0x1768b5,handleInsertRangeMoveRight as _0x4ac944,handleInsertRangeMoveDown as _0x378dff,handleInsertCol as _0x1ff602,handleDeleteRangeMoveUp as _0x5729a7,handleDeleteRangeMoveLeft as _0x3c80fc,runRefRangeMutations as _0x569203,SetWorksheetActivateCommand as _0x549da8}from'@univerjs/sheets';import{map as _0x1379e9,filter as _0x539557,throttleTime as _0x19dfd2,takeUntil as _0x2d3add,switchMap as _0x54ef2b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4f2b80,getCoordByCell as _0x6ad82e,getSheetObject as _0xf2c7d8}from'@univerjs/sheets-ui';import{jsx as _0x4e8be5,jsxs as _0x3ebda5}from'react/jsx-runtime';import{useObservable as _0x144639,useDependency as _0x47ec37,IUIPartsService as _0x520ff9,BuiltInUIPart as _0x24973c,connectInjector as _0x31b460,IBeforeCloseService as _0x3f02c6,IMessageService as _0x1e2ca9,INotificationService as _0x3e038d}from'@univerjs/ui';import{clsx as _0x2bdf7d,Tooltip as _0x4b4a43,MessageType as _0x59115f}from'@univerjs/design';import{forwardRef as _0x8764f3,useRef as _0x16faf7,createElement as _0x3c1261,useCallback as _0x235a3d}from'react';import{IRemoteInstanceService as _0x2b706e}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x380583,_0x461820,_0x502210,_0x5b4e93)=>{const _0x22a92d=_0x47652e;for(var _0x331149=_0x5b4e93>0x1?void 0x0:_0x5b4e93?li(_0x461820,_0x502210):_0x461820,_0xe022f7=_0x380583[_0x22a92d(0x1ae)]-0x1,_0x1de6f1;_0xe022f7>=0x0;_0xe022f7--)(_0x1de6f1=_0x380583[_0xe022f7])&&(_0x331149=_0x1de6f1(_0x331149)||_0x331149);return _0x331149;},Qe=(_0x503b26,_0x3dc955)=>(_0x142f13,_0x4def1a)=>_0x3dc955(_0x142f13,_0x4def1a,_0x503b26);let Ue=class extends _0x12a484{constructor(_0x502a82,_0x42fa14){const _0x21234f=_0x47652e;super(),this[_0x21234f(0x1b7)]=_0x502a82,this[_0x21234f(0x18c)]=_0x42fa14,this[_0x21234f(0x1f3)]();}[_0x47652e(0x1f3)](){const _0x97fbd3=_0x47652e,_0x80c15a=this;this['disposeWithMe'](this['_docClipboardService'][_0x97fbd3(0x1a8)]({'onBeforePasteImage':async _0x2d7dc9=>{const _0x198f1f=_0x97fbd3,_0x23ac5a=await _0x80c15a[_0x198f1f(0x18c)][_0x198f1f(0x178)](_0x2d7dc9);return _0x23ac5a?{'source':_0x23ac5a[_0x198f1f(0x148)],'imageSourceType':_0x23ac5a['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x4dc1bc),Qe(0x1,_0xd1b2b2)],Ue);const qe=['purple300',_0x47652e(0x165),_0x47652e(0x127),_0x47652e(0x106),_0x47652e(0x109),_0x47652e(0x1d7)];class He extends _0x384885{constructor(){const _0x3bf871=_0x47652e;super(...arguments),_(this,_0x3bf871(0x1fd),new Map()),_(this,_0x3bf871(0x25e),0x0);}[_0x47652e(0x182)](_0x4ee41e){const _0x68572e=_0x47652e;if(this[_0x68572e(0x1fd)][_0x68572e(0x285)](_0x4ee41e))return this['_assignedColors'][_0x68572e(0x2d1)](_0x4ee41e);const _0x58d115=qe[this['_colorIndex']];return this[_0x68572e(0x25e)]=(this[_0x68572e(0x25e)]+0x1)%qe[_0x68572e(0x1ae)],this[_0x68572e(0x1fd)][_0x68572e(0x28c)](_0x4ee41e,_0x58d115),_0x58d115;}}function Dt(_0xb72194){let _0x58dbe1='';for(const _0x1d744e of _0xb72194){const {startOffset:_0x1b87b4,endOffset:_0x4d84a2,isActive:_0x2d32f7,rangeType:_0x4c3937,segmentId:_0x48a7e5,segmentPage:_0x2b5b46}=_0x1d744e;_0x58dbe1['length']&&(_0x58dbe1+=','),_0x58dbe1+=_0x1b87b4+':'+_0x4d84a2+':'+(_0x2d32f7?'1':'0')+':'+_0x4c3937+':'+_0x48a7e5+':'+_0x2b5b46;}return _0x58dbe1;}function hi(_0x1fbcf4){const _0x24a95d=_0x47652e,_0x2c280d=_0x1fbcf4[_0x24a95d(0x2bf)](','),_0x5a4476=[];for(const _0x6bd77c of _0x2c280d){const [_0x57f278,_0x33cfe7,_0x56041a,_0x4d57ae,_0x28036b,_0x549666]=_0x6bd77c[_0x24a95d(0x2bf)](':');_0x5a4476['push']({'startOffset':Number(_0x57f278),'endOffset':Number(_0x33cfe7),'collapsed':_0x57f278===_0x33cfe7,'isActive':_0x56041a==='1','rangeType':_0x4d57ae===_0x52d117['TEXT']?_0x52d117[_0x24a95d(0x16a)]:_0x52d117[_0x24a95d(0x11a)],'segmentId':typeof _0x28036b=='string'?String(_0x28036b):'','segmentPage':Number(_0x549666!=null?_0x549666:-0x1)});}return _0x5a4476[_0x24a95d(0x169)](_0x5b6432=>_0x5b6432[_0x24a95d(0x168)])||(_0x5a4476[0x0]['isActive']=!0x0),_0x5a4476;}class je extends _0x12a484{constructor(){const _0x69782b=_0x47652e;super(...arguments),_(this,_0x69782b(0x2a2),new _0x2fdfa5(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x69782b(0x176)]());}[_0x47652e(0x10b)](_0x3f3c94){const _0x5473ff=_0x47652e,{unitID:_0x2d03c1,memberID:_0x4f8d86,textRanges:_0x1bb3ea}=_0x3f3c94,_0x2c87e2=Dt(_0x1bb3ea);if(_0x2c87e2==='')return;const _0x1525e4={'unitID':_0x2d03c1,'memberID':_0x4f8d86,'selection':_0x2c87e2};this[_0x5473ff(0x2a2)][_0x5473ff(0x1cf)](_0x1525e4);}}var ui=Object[_0x47652e(0x273)],di=(_0x2d3f76,_0x4f784f,_0x7235c4,_0x75d8cd)=>{for(var _0xe0a1b=_0x75d8cd>0x1?void 0x0:_0x75d8cd?ui(_0x4f784f,_0x7235c4):_0x4f784f,_0x7fb8b0=_0x2d3f76['length']-0x1,_0x45a20d;_0x7fb8b0>=0x0;_0x7fb8b0--)(_0x45a20d=_0x2d3f76[_0x7fb8b0])&&(_0xe0a1b=_0x45a20d(_0xe0a1b)||_0xe0a1b);return _0xe0a1b;},w=(_0x150055,_0x24271b)=>(_0x3d0298,_0x4784e4)=>_0x24271b(_0x3d0298,_0x4784e4,_0x150055);const fi=0x12c,Si=0x64;let Me=class extends _0x12a484{constructor(_0x1486c3,_0x31de5e,_0x1008e8,_0x4116db,_0x43a964,_0x1e6a92,_0x307c01,_0x50855d,_0x5293e5){const _0x246db8=_0x47652e;super(),_(this,_0x246db8(0x26f),!0x1),_(this,_0x246db8(0x1f3),!0x1),_(this,_0x246db8(0x22a),new _0x2fdfa5(new Map())),_(this,_0x246db8(0x15d),this[_0x246db8(0x22a)][_0x246db8(0x176)]()),_(this,_0x246db8(0x21e),new _0x2fdfa5([])),_(this,_0x246db8(0x2ea),this[_0x246db8(0x21e)][_0x246db8(0x2af)](_0x4fc0df(fi))),_(this,_0x246db8(0x286),_0x376338(_0x42ed2e=>{const _0x397569=_0x246db8,_0x2d4027={'eventID':_0x2e5dbd[_0x397569(0x12f)],'data':{'unitID':this[_0x397569(0x239)],'memberID':this[_0x397569(0x1f0)]['getMemberID'](),'selection':Dt(_0x42ed2e)}};this[_0x397569(0x1f0)][_0x397569(0x218)](_0x2d4027,this[_0x397569(0x239)]);},Si)),(this[_0x246db8(0x239)]=_0x1486c3,this[_0x246db8(0x1f0)]=_0x31de5e,this[_0x246db8(0x125)]=_0x1008e8,this[_0x246db8(0x131)]=_0x4116db,this[_0x246db8(0x1fc)]=_0x43a964,this[_0x246db8(0x2e4)]=_0x1e6a92,this[_0x246db8(0x1a5)]=_0x307c01,this[_0x246db8(0x20f)]=_0x50855d,this['_commandService']=_0x5293e5);}get[_0x47652e(0x29b)](){const _0xa24c5d=_0x47652e;return this[_0xa24c5d(0x22a)][_0xa24c5d(0x24c)]();}get[_0x47652e(0x17b)](){const _0x269222=_0x47652e;return this[_0x269222(0x21e)]['getValue']();}[_0x47652e(0x2a9)](){const _0x51268b=_0x47652e;super[_0x51268b(0x2a9)](),this[_0x51268b(0x22a)]['next'](new Map()),this[_0x51268b(0x22a)]['complete'](),this[_0x51268b(0x21e)][_0x51268b(0x1cf)]([]),this[_0x51268b(0x21e)][_0x51268b(0x1ef)]();}[_0x47652e(0x2dc)](){const _0x124c95=_0x47652e;this[_0x124c95(0x1f3)]||(this[_0x124c95(0x1f3)]=!0x0,this[_0x124c95(0x1f0)][_0x124c95(0x195)][_0x124c95(0x2af)](_0xc03def(this['dispose$']))[_0x124c95(0x284)](_0x1da847=>{const _0x4c362e=_0x124c95;_0x1da847===_0x5c0d85[_0x4c362e(0x1cd)]?this[_0x4c362e(0x197)]():this['_toggleOffline']();}),this['_session'][_0x124c95(0x245)][_0x124c95(0x2af)](_0xc03def(this[_0x124c95(0x302)]))[_0x124c95(0x284)](_0xb746e6=>{const _0x26ab30=_0x124c95,_0x5de3a0=_0xb746e6[_0x26ab30(0x22c)];_0x5de3a0===_0x2e5dbd['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xb746e6),_0x5de3a0===_0x2e5dbd[_0x26ab30(0x2e8)]&&this[_0x26ab30(0x231)](_0xb746e6);}),this[_0x124c95(0x20b)](this[_0x124c95(0x221)]['onCommandExecuted'](_0x4d168f=>{const _0x13f134=_0x124c95,_0x12b493=_0x4d168f[_0x13f134(0x242)];_0x12b493!=null&&this['_online']&&_0x4d168f['id']===_0x5f4c2f['id']&&_0x12b493[_0x13f134(0x2aa)]===this['unitID']&&_0x12b493[_0x13f134(0x2dd)]===!0x1&&_0x12b493[_0x13f134(0x21a)][_0x13f134(0x1ae)]>0x0&&this[_0x13f134(0x286)](_0x12b493[_0x13f134(0x21a)]);})),this[_0x124c95(0x2e4)][_0x124c95(0x2a6)][_0x124c95(0x2af)](_0xc03def(this[_0x124c95(0x302)]))[_0x124c95(0x284)](_0x1e4da2=>{const _0x34242a=_0x124c95;if((_0x1e4da2==null?void 0x0:_0x1e4da2[_0x34242a(0x239)])!==this[_0x34242a(0x239)])return;const _0x39580b={'eventID':_0x2e5dbd[_0x34242a(0x12f)],'data':_0x1e4da2};this['_onCursorUpdate'](_0x39580b);}),this['disposeWithMe'](this[_0x124c95(0x221)]['onCommandExecuted'](_0x4fcb4=>{const _0x19daf3=_0x124c95;if(_0x4fcb4[_0x19daf3(0x242)]==null)return;const _0x4c958f=_0x4fcb4['params'];if(_0x4fcb4['id']!==_0x1ae358['id']||_0x4c958f['unitId']!==this[_0x19daf3(0x239)])return;const _0x2ad923={'id':_0x19daf3(0x1cc),'params':_0x4c958f},_0x4b0977=this[_0x19daf3(0x29b)];for(const [_0x328f7f,_0x55b517]of _0x4b0977){const _0x5792a3={'id':_0x19daf3(0x1cc),'params':{'unitId':this[_0x19daf3(0x239)],'actions':null,'textRanges':_0x55b517[_0x19daf3(0x21a)]}},_0x50c13b=this[_0x19daf3(0x1a5)][_0x19daf3(0x1e2)](_0x2ad923,_0x5792a3,!0x1);if(_0x10b77e(_0x50c13b))throw _0x50c13b[_0x19daf3(0x2f7)];_0x4b0977['set'](_0x328f7f,{..._0x55b517,'ranges':_0x50c13b['m2Prime'][_0x19daf3(0x242)][_0x19daf3(0x22b)]});}queueMicrotask(()=>{const _0xe5f236=_0x19daf3;this[_0xe5f236(0x22a)][_0xe5f236(0x1cf)](_0x4b0977);});})));}[_0x47652e(0x267)](_0x2a386b){const _0x2a2e31=_0x47652e;var _0x590c2a,_0x26a9b4;const {memberID:_0x3847cb,selection:_0x2d2ec5}=_0x2a386b[_0x2a2e31(0x142)],_0x4d2370=hi(_0x2d2ec5),_0x576bb3=(_0x26a9b4=(_0x590c2a=this[_0x2a2e31(0x1fc)][_0x2a2e31(0x295)](this['unitID'],_0x3847cb))==null?void 0x0:_0x590c2a[_0x2a2e31(0x24d)])!=null?_0x26a9b4:_0x2a2e31(0x138),_0xc47f5d={'color':this[_0x2a2e31(0x131)][_0x2a2e31(0x182)](_0x3847cb),'name':_0x576bb3,'ranges':_0x4d2370},_0x4581d4=this[_0x2a2e31(0x29b)];_0x4581d4['set'](_0x3847cb,_0xc47f5d),this[_0x2a2e31(0x22a)][_0x2a2e31(0x1cf)](_0x4581d4);}[_0x47652e(0x231)](_0x58c722){const _0x33646d=_0x47652e,{memberID:_0x365612}=_0x58c722[_0x33646d(0x142)],_0x510be2=this[_0x33646d(0x29b)];_0x510be2[_0x33646d(0x2bb)](_0x365612),this[_0x33646d(0x22a)]['next'](_0x510be2);}[_0x47652e(0x197)](){const _0x4e90d7=_0x47652e;var _0x166910;if(this[_0x4e90d7(0x26f)]=!0x0,((_0x166910=this[_0x4e90d7(0x20f)]['getFocusedUnit']())==null?void 0x0:_0x166910['getUnitId']())!==this[_0x4e90d7(0x239)])return;const _0x53f1da=this[_0x4e90d7(0x125)][_0x4e90d7(0x2d1)](_0xcec8b2)[_0x4e90d7(0x262)]();Array[_0x4e90d7(0x1f2)](_0x53f1da)&&_0x53f1da['length']>0x0&&this['_updateLocalCursor'](_0x53f1da);}['_toggleOffline'](){const _0x5d9090=_0x47652e;this[_0x5d9090(0x26f)]=!0x1;}};Me=di([w(0x2,_0x38933f(_0x25f6f5)),w(0x3,_0x38933f(He)),w(0x4,_0x38933f(_0x4cbe12)),w(0x5,_0x38933f(je)),w(0x6,_0x453fd5),w(0x7,_0x365edf),w(0x8,_0x16d840)],Me);var mi=Object[_0x47652e(0x273)],gi=(_0x433933,_0x49de54,_0x1057cd,_0x3e5600)=>{const _0xce46a7=_0x47652e;for(var _0x3370b1=_0x3e5600>0x1?void 0x0:_0x3e5600?mi(_0x49de54,_0x1057cd):_0x49de54,_0x4587d5=_0x433933[_0xce46a7(0x1ae)]-0x1,_0x2c7343;_0x4587d5>=0x0;_0x4587d5--)(_0x2c7343=_0x433933[_0x4587d5])&&(_0x3370b1=_0x2c7343(_0x3370b1)||_0x3370b1);return _0x3370b1;},x=(_0x17f527,_0x441e21)=>(_0x173509,_0x42b88c)=>_0x441e21(_0x173509,_0x42b88c,_0x17f527);const vi=0x12c,Ii=0x64,pi=()=>{let _0xd34bb5=[],_0x74dba6=!0x1;return _0x353c7e=>{const _0x135e81=_0x5409;_0xd34bb5[_0x135e81(0x277)](_0x353c7e),_0x74dba6||(_0x74dba6=!0x0,setTimeout(()=>{const _0x265cbf=_0x135e81;_0xd34bb5[_0x265cbf(0x2c9)](_0x2da1bf=>_0x2da1bf()),_0xd34bb5=[],_0x74dba6=!0x1;}));};};let Pe=class extends _0x12a484{constructor(_0x38fa37,_0x342342,_0x5dc3a0,_0x166aa1,_0x156754,_0x29f28a,_0x100cf8,_0x55c040){const _0x344a95=_0x47652e;super(),_(this,_0x344a95(0x26f),!0x1),_(this,_0x344a95(0x1f3),!0x1),_(this,'_cursorInfo$',new _0x2fdfa5(new Map())),_(this,_0x344a95(0x15d),this[_0x344a95(0x22a)][_0x344a95(0x176)]()),_(this,_0x344a95(0x21e),new _0x2fdfa5([])),_(this,'roomMembers$',this['_roomMembers$'][_0x344a95(0x2af)](_0x4fc0df(vi))),_(this,_0x344a95(0x286),_0x376338((_0x17b089,_0x513e7d)=>{const _0x9aa27c=_0x344a95,_0x48f49d={'eventID':_0x2e5dbd[_0x9aa27c(0x12f)],'data':{'unitID':this['unitID'],'memberID':this[_0x9aa27c(0x1f0)]['getMemberID'](),'selection':_0x4fa3d6(_0x17b089,_0x513e7d[_0x9aa27c(0x1ad)])}};this[_0x9aa27c(0x1f0)][_0x9aa27c(0x218)](_0x48f49d,this[_0x9aa27c(0x239)]);},Ii)),(this['unitID']=_0x38fa37,this[_0x344a95(0x1f0)]=_0x342342,this[_0x344a95(0x125)]=_0x5dc3a0,this[_0x344a95(0x131)]=_0x166aa1,this[_0x344a95(0x1fc)]=_0x156754,this[_0x344a95(0x20f)]=_0x29f28a,this[_0x344a95(0x221)]=_0x100cf8,this[_0x344a95(0x291)]=_0x55c040);}get[_0x47652e(0x29b)](){const _0x374685=_0x47652e;return this[_0x374685(0x22a)]['getValue']();}get[_0x47652e(0x17b)](){const _0x182ece=_0x47652e;return this[_0x182ece(0x21e)]['getValue']();}['dispose'](){const _0x3110f7=_0x47652e;super['dispose'](),this[_0x3110f7(0x22a)]['next'](new Map()),this[_0x3110f7(0x22a)][_0x3110f7(0x1ef)](),this[_0x3110f7(0x21e)]['next']([]),this[_0x3110f7(0x21e)][_0x3110f7(0x1ef)]();}['init'](){const _0x251d6a=_0x47652e;this[_0x251d6a(0x1f3)]||(this[_0x251d6a(0x1f3)]=!0x0,this[_0x251d6a(0x1f0)][_0x251d6a(0x195)][_0x251d6a(0x2af)](_0xc03def(this[_0x251d6a(0x302)]))[_0x251d6a(0x284)](_0xec4cab=>{_0xec4cab===_0x5c0d85['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x251d6a(0x1f0)]['event$'][_0x251d6a(0x2af)](_0xc03def(this[_0x251d6a(0x302)]))[_0x251d6a(0x284)](_0x158236=>{const _0x23bf55=_0x251d6a,_0x4de684=_0x158236['eventID'];_0x4de684===_0x2e5dbd[_0x23bf55(0x12f)]&&this['_onCursorUpdate'](_0x158236),_0x4de684===_0x2e5dbd[_0x23bf55(0x2e8)]&&this[_0x23bf55(0x231)](_0x158236);}),this[_0x251d6a(0x1cb)](),this[_0x251d6a(0x20b)](this[_0x251d6a(0x221)][_0x251d6a(0x2f2)](_0xc6d942=>{const _0x27c54f=_0x251d6a;if(this[_0x27c54f(0x26f)]&&_0xc6d942['id']===_0x244b93['id']&&_0xc6d942['params']['unitId']===this['unitID']){const _0x3902fa=_0xc6d942[_0x27c54f(0x242)];this[_0x27c54f(0x286)](_0x3902fa[_0x27c54f(0x2d2)],_0x3902fa[_0x27c54f(0x2ee)][0x0]);}})));}[_0x47652e(0x267)](_0x4cd951){const _0x186c5f=_0x47652e;var _0x5f3f61,_0x3ac28e;const {memberID:_0x3d9835,selection:_0x42767f}=_0x4cd951[_0x186c5f(0x142)],{sheetName:_0x3906bb,range:_0xc717b1}=_0x116c81(_0x42767f),_0x5c7c84={'name':(_0x3ac28e=(_0x5f3f61=this[_0x186c5f(0x1fc)][_0x186c5f(0x295)](this['unitID'],_0x3d9835))==null?void 0x0:_0x5f3f61['name'])!=null?_0x3ac28e:_0x186c5f(0x138),'range':this['_getMergeRange'](_0x3906bb,_0xc717b1),'sheetID':_0x3906bb,'color':this[_0x186c5f(0x131)][_0x186c5f(0x182)](_0x3d9835),'selection':_0x42767f},_0x37638b=this[_0x186c5f(0x29b)];_0x37638b[_0x186c5f(0x28c)](_0x3d9835,_0x5c7c84),this['_cursorInfo$']['next'](_0x37638b);}[_0x47652e(0x231)](_0x343536){const _0x1fc298=_0x47652e,{memberID:_0x26a44c}=_0x343536['data'],_0x357716=this[_0x1fc298(0x29b)];_0x357716['delete'](_0x26a44c),this[_0x1fc298(0x22a)][_0x1fc298(0x1cf)](_0x357716);}[_0x47652e(0x1aa)](_0x3d3cb7,_0x388034){const _0x5df75f=_0x47652e;var _0x12e71c,_0xfb57d4;const _0xe3a47c=(_0xfb57d4=(_0x12e71c=this[_0x5df75f(0x20f)][_0x5df75f(0x214)](this['unitID']))==null?void 0x0:_0x12e71c[_0x5df75f(0x2da)](_0x3d3cb7))==null?void 0x0:_0xfb57d4['getMergeData']();return(_0xe3a47c==null?void 0x0:_0xe3a47c[_0x5df75f(0x190)](_0x444411=>_0x1a49f1['contains'](_0x444411,_0x388034)))||_0x388034;}[_0x47652e(0x1cb)](){const _0x23ebc0=_0x47652e,_0x323d2e=new _0x21a9fd(),_0x2312dd=pi(),_0x42345e=()=>{const _0x4d86cf=_0x5409;_0x323d2e['dispose']();const _0x1eddee=(_0x59b353,_0x114961,_0x4b7e76,_0x4a4e3a)=>{const _0xc6dd6=_0x5409;let _0x5b8e04=[];switch(_0x59b353['id']){case _0x51cedc[_0xc6dd6(0x2bd)]:{_0x5b8e04=_0x3c80fc(_0x59b353,_0x4a4e3a);break;}case _0x51cedc[_0xc6dd6(0x18d)]:{_0x5b8e04=_0x5729a7(_0x59b353,_0x4a4e3a);break;}case _0x51cedc[_0xc6dd6(0x2ae)]:{_0x5b8e04=_0x1ff602(_0x59b353,_0x4a4e3a);break;}case _0x51cedc['InsertRangeMoveDownCommandId']:{_0x5b8e04=_0x378dff(_0x59b353,_0x4a4e3a);break;}case _0x51cedc[_0xc6dd6(0x152)]:{_0x5b8e04=_0x4ac944(_0x59b353,_0x4a4e3a);break;}case _0x51cedc[_0xc6dd6(0x243)]:{_0x5b8e04=_0x1768b5(_0x59b353,_0x4a4e3a);break;}case _0x51cedc[_0xc6dd6(0x215)]:{_0x5b8e04=_0x50a570(_0x59b353,_0x4a4e3a);break;}case _0x51cedc[_0xc6dd6(0x1e7)]:{_0x5b8e04=_0x2ac507(_0x59b353,_0x4a4e3a);break;}case _0x51cedc[_0xc6dd6(0x2e0)]:{_0x5b8e04=_0x5acc44(_0x59b353,_0x4a4e3a);break;}}const _0x38f0f2=_0x569203(_0x5b8e04,_0x4a4e3a),_0x14d466=this[_0xc6dd6(0x29b)][_0xc6dd6(0x2d1)](_0x114961);if(_0x14d466&&_0x38f0f2){const _0x15fbc5={..._0x14d466,'range':_0x38f0f2};this[_0xc6dd6(0x29b)][_0xc6dd6(0x28c)](_0x114961,_0x15fbc5),_0x2312dd(()=>{const _0x4fff79=_0xc6dd6,_0x3732c0=this['_refRangeService'][_0x4fff79(0x29f)](_0x38f0f2,_0x24a98f=>(_0x3732c0[_0x4fff79(0x2a9)](),_0x1eddee(_0x24a98f,_0x114961,_0x4b7e76,_0x38f0f2)));_0x323d2e[_0x4fff79(0x11e)](_0x3732c0);});}return{'redos':[],'undos':[]};};this[_0x4d86cf(0x29b)][_0x4d86cf(0x2c9)]((_0x3cf5bd,_0x142924)=>{const _0x3068a4=_0x4d86cf,{range:_0x15736f,sheetID:_0x506a45}=_0x3cf5bd,_0x34caa7=this[_0x3068a4(0x291)][_0x3068a4(0x29f)](_0x15736f,_0x31e52c=>(_0x34caa7[_0x3068a4(0x2a9)](),_0x1eddee(_0x31e52c,_0x142924,_0x506a45,_0x15736f)));_0x323d2e[_0x3068a4(0x11e)](_0x34caa7);});};this[_0x23ebc0(0x20b)](_0x321066(this[_0x23ebc0(0x22a)][_0x23ebc0(0x284)](()=>{_0x42345e();})));}[_0x47652e(0x197)](){const _0x1ea0cc=_0x47652e;var _0x19cc35,_0x4f80ff;if(this[_0x1ea0cc(0x26f)]=!0x0,((_0x19cc35=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x19cc35['getUnitId']())!==this['unitID'])return;const _0x26a2b5=(_0x4f80ff=this[_0x1ea0cc(0x125)]['get'](_0x1e9bdd)['getCurrentSelections']())==null?void 0x0:_0x4f80ff[0x0],_0x194957=this[_0x1ea0cc(0x20f)]['getCurrentUnitForType'](_0x1e3aeb['UNIVER_SHEET'])[_0x1ea0cc(0x256)]();_0x26a2b5&&_0x194957&&this['_updateLocalCursor'](_0x194957[_0x1ea0cc(0x2cc)](),_0x26a2b5);}[_0x47652e(0x191)](){const _0x2e05b5=_0x47652e;this[_0x2e05b5(0x26f)]=!0x1;}};Pe=gi([x(0x2,_0x38933f(_0x25f6f5)),x(0x3,_0x38933f(He)),x(0x4,_0x38933f(_0x4cbe12)),x(0x5,_0x365edf),x(0x6,_0x16d840),x(0x7,_0x38933f(_0x5048ab))],Pe);var Ci=Object[_0x47652e(0x273)],Ei=(_0x216e56,_0x223898,_0x2a9e0f,_0x1eca69)=>{const _0x44dac5=_0x47652e;for(var _0x2043a1=_0x1eca69>0x1?void 0x0:_0x1eca69?Ci(_0x223898,_0x2a9e0f):_0x223898,_0xb8b6e2=_0x216e56[_0x44dac5(0x1ae)]-0x1,_0x108454;_0xb8b6e2>=0x0;_0xb8b6e2--)(_0x108454=_0x216e56[_0xb8b6e2])&&(_0x2043a1=_0x108454(_0x2043a1)||_0x2043a1);return _0x2043a1;},me=(_0x25001b,_0x3198f2)=>(_0x48c75b,_0x3698dc)=>_0x3198f2(_0x48c75b,_0x3698dc,_0x25001b);let H=class extends _0x12a484{constructor(_0x16df4b,_0xa2e4a5,_0x28213c){const _0x4c0c3d=_0x47652e;super(),_(this,_0x4c0c3d(0x2cf),new Map()),_(this,_0x4c0c3d(0x2d7),new _0xfbce81()),(this[_0x4c0c3d(0x20f)]=_0x16df4b,this[_0x4c0c3d(0x125)]=_0xa2e4a5,this[_0x4c0c3d(0x1e0)]=_0x28213c,this[_0x4c0c3d(0x1f3)]());}[_0x47652e(0x2a9)](){const _0xf26250=_0x47652e;super[_0xf26250(0x2a9)](),this['_entityInit$'][_0xf26250(0x1ef)](),this[_0xf26250(0x2cf)][_0xf26250(0x2c9)](_0x635263=>_0x635263[_0xf26250(0x2a9)]());}[_0x47652e(0x159)](_0x297b86){const _0x1924b8=_0x47652e;return this[_0x1924b8(0x2cf)]['has'](_0x297b86)?this['_entities'][_0x1924b8(0x2d1)](_0x297b86)[_0x1924b8(0x15d)]:this[_0x1924b8(0x2d7)]['pipe'](_0x3d9363(_0x206d5b=>_0x206d5b[_0x1924b8(0x239)]===_0x297b86),_0x5171dd(_0x2163a5=>_0x2163a5[_0x1924b8(0x15d)]));}['_init'](){const _0x311fc4=_0x47652e;this[_0x311fc4(0x20f)][_0x311fc4(0x248)](_0x1e3aeb['UNIVER_SHEET'])[_0x311fc4(0x2af)](_0xc03def(this['dispose$']))['subscribe'](async _0x1da958=>{const _0xf26ec1=_0x311fc4,_0x203405=_0x1da958[_0xf26ec1(0x108)](),_0x502e7b=await this[_0xf26ec1(0x211)](_0x203405);this[_0xf26ec1(0x2d7)][_0xf26ec1(0x1cf)](_0x502e7b),this[_0xf26ec1(0x2cf)][_0xf26ec1(0x28c)](_0x203405,_0x502e7b);}),this[_0x311fc4(0x20f)][_0x311fc4(0x248)](_0x1e3aeb[_0x311fc4(0x12a)])['pipe'](_0xc03def(this[_0x311fc4(0x302)]))[_0x311fc4(0x2af)](_0x3d9363(_0x3cec1e=>!_0x3cec1e[_0x311fc4(0x108)]()[_0x311fc4(0x2df)]('__')))[_0x311fc4(0x284)](async _0x7048f7=>{const _0x5e7fb9=_0x311fc4,_0x1a4e5b=_0x7048f7['getUnitId'](),_0x44aa40=await this[_0x5e7fb9(0x1d4)](_0x1a4e5b);this[_0x5e7fb9(0x2d7)][_0x5e7fb9(0x1cf)](_0x44aa40),this[_0x5e7fb9(0x2cf)][_0x5e7fb9(0x28c)](_0x1a4e5b,_0x44aa40);}),_0x483194(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1e3aeb[_0x311fc4(0x12a)]),this[_0x311fc4(0x20f)][_0x311fc4(0x255)](_0x1e3aeb[_0x311fc4(0x26a)]))[_0x311fc4(0x2af)](_0xc03def(this['dispose$']))[_0x311fc4(0x284)](_0x5c4fe6=>{const _0x2a9746=_0x311fc4,_0x1ed9b5=_0x5c4fe6[_0x2a9746(0x108)](),_0x23fcdd=this[_0x2a9746(0x2cf)][_0x2a9746(0x2d1)](_0x1ed9b5);_0x23fcdd&&(_0x23fcdd[_0x2a9746(0x2a9)](),this['_entities'][_0x2a9746(0x2bb)](_0x1ed9b5));});}async[_0x47652e(0x211)](_0x83e451){const _0x3890d9=_0x47652e,_0x2ef6fb=await this[_0x3890d9(0x1e0)][_0x3890d9(0x1bb)](_0x83e451),_0x5bc1e1=this[_0x3890d9(0x125)][_0x3890d9(0x16d)](Pe,_0x83e451,_0x2ef6fb);return _0x5bc1e1[_0x3890d9(0x2dc)](),_0x5bc1e1;}async[_0x47652e(0x1d4)](_0x117d31){const _0x4fd19e=_0x47652e,_0x52ab59=await this[_0x4fd19e(0x1e0)][_0x4fd19e(0x1bb)](_0x117d31),_0x17f215=this['_injector']['createInstance'](Me,_0x117d31,_0x52ab59);return _0x17f215[_0x4fd19e(0x2dc)](),_0x17f215;}};H=Ei([me(0x0,_0x365edf),me(0x1,_0x38933f(_0x25f6f5)),me(0x2,_0x38933f(_0x43674b))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x1f0c29,_0xc56d0a){const _0x4caa14=_0x47652e;let {radius:_0x2292e2,width:_0x4901e0,height:_0x25d793}=_0xc56d0a;_0x2292e2=_0x2292e2!=null?_0x2292e2:0x0,_0x4901e0=_0x4901e0!=null?_0x4901e0:0x1e,_0x25d793=_0x25d793!=null?_0x25d793:0x1e;let _0x58718d=0x0,_0x40d1de=0x0,_0x483ac4=0x0;_0x58718d=_0x40d1de=_0x483ac4=Math['min'](_0x2292e2,_0x4901e0/0x2,_0x25d793/0x2),_0x1f0c29['beginPath'](),_0x1f0c29[_0x4caa14(0x19c)](_0x58718d,0x0),_0x1f0c29['lineTo'](_0x4901e0-_0x40d1de,0x0),_0x1f0c29[_0x4caa14(0x2ba)](_0x4901e0-_0x40d1de,_0x40d1de,_0x40d1de,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f0c29[_0x4caa14(0x26c)](_0x4901e0,_0x25d793-_0x483ac4),_0x1f0c29[_0x4caa14(0x2ba)](_0x4901e0-_0x483ac4,_0x25d793-_0x483ac4,_0x483ac4,0x0,Math['PI']/0x2,!0x1),_0x1f0c29['lineTo'](0x0,_0x25d793),_0x1f0c29[_0x4caa14(0x26c)](0x0,_0x58718d),_0x1f0c29[_0x4caa14(0x2ba)](_0x58718d,_0x58718d,_0x58718d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f0c29[_0x4caa14(0x1ed)](),_0xc56d0a['fill']&&(_0x1f0c29['save'](),_0x1f0c29[_0x4caa14(0x25b)]=_0xc56d0a['fill'],_0xc56d0a[_0x4caa14(0x146)]===_0x4caa14(0x179)?_0x1f0c29['fill'](_0x4caa14(0x179)):_0x1f0c29[_0x4caa14(0x192)](),_0x1f0c29[_0x4caa14(0x201)]());}class ue extends _0x45e58e{constructor(_0x4fceec,_0x5e5c89){const _0x3d4cb5=_0x47652e;super(_0x4fceec,_0x5e5c89),_(this,_0x3d4cb5(0x278)),_(this,_0x3d4cb5(0x212)),(this['color']=_0x5e5c89==null?void 0x0:_0x5e5c89[_0x3d4cb5(0x278)],this[_0x3d4cb5(0x212)]=_0x5e5c89==null?void 0x0:_0x5e5c89[_0x3d4cb5(0x212)]);}static['drawWith'](_0x432cc6,_0x5f3de2){const _0x22b3dc=_0x47652e,{text:_0x4a91c1,color:_0x1bdf34}=_0x5f3de2;_0x432cc6[_0x22b3dc(0x121)](),_0x432cc6[_0x22b3dc(0x2d4)]=_0x22b3dc(0x2e2);const _0x27aa31=_0x432cc6[_0x22b3dc(0x2ac)](_0x4a91c1)[_0x22b3dc(0x160)],_0xe7ae14=Math[_0x22b3dc(0x2f9)](_0x27aa31+0x2*ge,et);Oi(_0x432cc6,{'height':te,'radius':0x4,'width':_0xe7ae14,'fill':_0x1bdf34}),_0x432cc6[_0x22b3dc(0x25b)]=_0x22b3dc(0x2b5);const _0x4a5b6f=ge,_0x407a5f=te-bi,_0x3ec9f1=et-0x2*ge;if(_0x27aa31>_0x3ec9f1){let _0x5d678e='',_0x36e56a=0x0;for(const _0x3e5f27 of _0x4a91c1){const _0xf212b9=_0x432cc6['measureText'](_0x3e5f27)[_0x22b3dc(0x160)];if(_0x36e56a+_0xf212b9<=_0x3ec9f1-_0x432cc6['measureText']('...')[_0x22b3dc(0x160)])_0x5d678e+=_0x3e5f27,_0x36e56a+=_0xf212b9;else{_0x5d678e+=_0x22b3dc(0x2b3);break;}}_0x432cc6['fillText'](_0x5d678e,_0x4a5b6f,_0x407a5f);}else _0x432cc6['fillText'](_0x4a91c1,_0x4a5b6f,_0x407a5f);_0x432cc6[_0x22b3dc(0x201)]();}['_draw'](_0x3d4ed8){const _0x3386ce=_0x47652e;ue[_0x3386ce(0x2e9)](_0x3d4ed8,this);}}const ve=_0x47652e(0x2e1),Ti=_0x47652e(0x123),Ri='collab-rect-range-',X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x47652e(0x252);class tt{constructor(_0x5e9d13,_0x3bc315,_0x3954c3,_0x4c94ae){const _0x2b9bc2=_0x47652e;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x2b9bc2(0x269),null),_(this,_0x2b9bc2(0x25f),null),_(this,_0x2b9bc2(0x247),null),(this[_0x2b9bc2(0x228)]=_0x5e9d13,this[_0x2b9bc2(0x167)]=_0x3bc315,this['_docSkeleton']=_0x3954c3,this[_0x2b9bc2(0x292)]=_0x4c94ae,this[_0x2b9bc2(0x1dd)]());}set[_0x47652e(0x260)](_0x286dd5){const _0x3f1080=_0x47652e;_0x286dd5?(this[_0x3f1080(0x269)]&&this[_0x3f1080(0x269)][_0x3f1080(0x140)](),this[_0x3f1080(0x1d5)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x3f1080(0x269)]['show'](),this[_0x3f1080(0x1d5)]&&this[_0x3f1080(0x1d5)]['hide']());}['dispose'](){const _0x4477f1=_0x47652e;for(const _0x211837 of this[_0x4477f1(0x16c)])_0x211837[_0x4477f1(0x2a9)]();this[_0x4477f1(0x1d5)]&&this[_0x4477f1(0x1d5)][_0x4477f1(0x2a9)](),this[_0x4477f1(0x269)]&&this[_0x4477f1(0x269)][_0x4477f1(0x2a9)](),this[_0x4477f1(0x1a1)]&&this[_0x4477f1(0x1a1)]['dispose'](),this['_eventUnsubscribe']&&this[_0x4477f1(0x247)]();}['_render'](){const _0xdf5440=_0x47652e;var _0x1bab9f;const {_docSkeleton:_0x459c16,_document:_0x5befc3}=this,{color:_0x84b108,name:_0x3f3053,ranges:_0x56e018}=this['_cursor'],_0x55e953=_0x5befc3[_0xdf5440(0x2d6)](),{docsLeft:_0x6c450d,docsTop:_0x468bb3}=_0x55e953,_0x4fda86=new _0x3e4f1e(_0x55e953,_0x459c16);for(const {startOffset:_0x4927fa,endOffset:_0xa6c9bb,rangeType:_0xd4501b,segmentId:_0x36385a,segmentPage:_0x313094,collapsed:_0x3fc47a,isActive:_0x1eee42}of _0x56e018){const _0x1ace07=_0x459c16[_0xdf5440(0x2fc)](_0x4927fa,!0x0,_0x36385a,_0x313094);let _0x3c0dee=_0x459c16['findNodePositionByCharIndex'](_0xa6c9bb,!0x0,_0x36385a,_0x313094);if(_0x3c0dee==null&&(_0x3c0dee=_0x459c16[_0xdf5440(0x2fc)](_0xa6c9bb-0x1,!0x1,_0x36385a,_0x313094)),_0x1eee42){const {contentBoxPointGroup:_0x37b130}=_0x4fda86[_0xdf5440(0x10c)](_0x3c0dee,_0x3c0dee);if(_0x37b130[_0xdf5440(0x1ae)]===0x0)continue;this[_0xdf5440(0x1f7)](_0x84b108,_0x37b130,_0x6c450d,_0x468bb3,_0x3f3053),this[_0xdf5440(0x247)]=this[_0xdf5440(0x27c)]();}if(_0x1ace07&&_0x3c0dee){if(_0xd4501b===_0x52d117[_0xdf5440(0x11a)]){const _0x34d928=new _0x1a86d5(_0x55e953,_0x459c16),{pointGroup:_0x3caa48}=(_0x1bab9f=_0x34d928[_0xdf5440(0x10c)](_0x1ace07,_0x3c0dee))!=null?_0x1bab9f:{};if(_0x3caa48==null||_0x3caa48[_0xdf5440(0x1ae)]===0x0)continue;this['_drawRectRange'](_0x84b108,_0x3caa48,_0x6c450d,_0x468bb3);}else{if(!_0x3fc47a){const {borderBoxPointGroup:_0x514029}=_0x4fda86[_0xdf5440(0x10c)](_0x1ace07,_0x3c0dee);if(_0x514029[_0xdf5440(0x1ae)]===0x0)continue;this[_0xdf5440(0x1ee)](_0x84b108,_0x514029,_0x6c450d,_0x468bb3);}}}}}[_0x47652e(0x1f7)](_0x14288a,_0x3e9279,_0x56b6ca,_0x315777,_0x3ce56e){const _0x38552d=_0x47652e,_0x979c91=this[_0x38552d(0x27a)](_0x3e9279),{left:_0x580661,top:_0x50a9dc,height:_0x128297}=_0x979c91,_0x4499e1=this[_0x38552d(0x24a)](),_0x5830d8=Ni/_0x4499e1,_0x57897f=new _0x492152(ve+_0xc8644e[_0x38552d(0x257)](X),{'left':_0x580661+_0x56b6ca-_0x5830d8,'top':_0x50a9dc+_0x315777,'height':_0x128297,'width':Di,'fill':_0x14288a||_0x5a5a8f(_0x5126ce[_0x38552d(0x19a)],0x0),'strokeWidth':_0x5830d8,'stroke':Ui,'evented':!0x0});this[_0x38552d(0x1a1)]=_0x57897f,this[_0x38552d(0x167)]['addObject'](_0x57897f,_0x5c9c5a);const _0x88445=new _0x492152(ve+_0xc8644e[_0x38552d(0x257)](X),{'left':_0x580661+_0x56b6ca-_0x5830d8,'top':_0x50a9dc+_0x315777-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x14288a||_0x5a5a8f(_0x5126ce['black'],0x0),'strokeWidth':0x0,'stroke':_0x14288a||_0x5a5a8f(_0x5126ce[_0x38552d(0x19a)],0x0),'evented':!0x1});this[_0x38552d(0x269)]=_0x88445,this['_scene'][_0x38552d(0x2db)](_0x88445,_0x5c9c5a);const _0x2f3f7d=new ue(ve+_0xc8644e[_0x38552d(0x257)](X),{'left':_0x580661+_0x56b6ca-_0x5830d8,'top':_0x50a9dc+_0x315777-te,'text':_0x3ce56e,'color':_0x14288a});this[_0x38552d(0x1d5)]=_0x2f3f7d,this[_0x38552d(0x167)][_0x38552d(0x2db)](_0x2f3f7d,_0x5c9c5a),this[_0x38552d(0x260)]=!0x1;}[_0x47652e(0x27c)](){const _0x87b5e=_0x47652e,_0x447d18=this[_0x87b5e(0x1a1)]['onPointerEnter$'][_0x87b5e(0x1ca)](()=>{this['_hover']=!0x0;}),_0x52639d=this[_0x87b5e(0x1a1)][_0x87b5e(0x282)][_0x87b5e(0x1ca)](()=>{const _0x4bbb5e=_0x87b5e;this[_0x4bbb5e(0x25f)]&&clearTimeout(this[_0x4bbb5e(0x25f)]),this[_0x4bbb5e(0x25f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x11cbf8=_0x87b5e;_0x447d18[_0x11cbf8(0x2eb)](),_0x52639d[_0x11cbf8(0x2eb)]();};}[_0x47652e(0x1ee)](_0x1cb708,_0x2c9eec,_0x43f40f,_0x5d1ab6){const _0x2bdb2d=_0x47652e,_0x5b7dd4=new _0x4932ae(_0x1cb708)[_0x2bdb2d(0x2b6)](0.2)[_0x2bdb2d(0x271)](),_0x701a14=new _0x340ee8(Ti+_0xc8644e[_0x2bdb2d(0x257)](X),{'pointsGroup':_0x2c9eec,'fill':_0x5b7dd4||_0x5a5a8f(_0x5126ce[_0x2bdb2d(0x19a)],0.2),'left':_0x43f40f,'top':_0x5d1ab6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2bdb2d(0x16c)]['push'](_0x701a14),this[_0x2bdb2d(0x167)][_0x2bdb2d(0x2db)](_0x701a14,_0x5c9c5a);}[_0x47652e(0x1d8)](_0x2c2afa,_0x6b652c,_0x174aa5,_0x3494c6){const _0x7d103e=_0x47652e,_0x1ac538=new _0x4932ae(_0x2c2afa)['setAlpha'](0.2)[_0x7d103e(0x271)](),_0x5c909c=new _0x340ee8(Ri+_0xc8644e[_0x7d103e(0x257)](X),{'pointsGroup':_0x6b652c,'fill':_0x1ac538||_0x5a5a8f(_0x5126ce[_0x7d103e(0x19a)],0.2),'left':_0x174aa5,'top':_0x3494c6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x7d103e(0x16c)]['push'](_0x5c909c),this[_0x7d103e(0x167)][_0x7d103e(0x2db)](_0x5c909c,_0x5c9c5a);}[_0x47652e(0x27a)](_0x392e1){const _0x11404e=_0x392e1[0x0],_0x3f38ab=_0x11404e[0x0],_0x4149e0=_0x11404e[0x2],{x:_0x350423,y:_0x44da15}=_0x3f38ab,{x:_0x935a64,y:_0x55c07a}=_0x4149e0;return{'left':_0x350423,'top':_0x44da15,'width':_0x935a64-_0x350423,'height':_0x55c07a-_0x44da15};}[_0x47652e(0x24a)](){const _0x4574a0=_0x47652e,{scaleX:_0x49dd90,scaleY:_0xc7b1f}=this[_0x4574a0(0x167)][_0x4574a0(0x173)]();return Math[_0x4574a0(0x10d)](_0x49dd90,_0xc7b1f);}}var Mi=Object[_0x47652e(0x273)],Pi=(_0x2908c6,_0x44b403,_0x6f3e13,_0x401325)=>{const _0x166a35=_0x47652e;for(var _0x3abfeb=_0x401325>0x1?void 0x0:_0x401325?Mi(_0x44b403,_0x6f3e13):_0x44b403,_0x231669=_0x2908c6[_0x166a35(0x1ae)]-0x1,_0x586599;_0x231669>=0x0;_0x231669--)(_0x586599=_0x2908c6[_0x231669])&&(_0x3abfeb=_0x586599(_0x3abfeb)||_0x3abfeb);return _0x3abfeb;},Q=(_0x478fab,_0x3dfe96)=>(_0x461c36,_0x23d89a)=>_0x3dfe96(_0x461c36,_0x23d89a,_0x478fab);let we=class extends _0x12a484{constructor(_0x1fa38d,_0x587240,_0x5c0986,_0x2fe252,_0x283c2b){const _0x4c5e46=_0x47652e;super(),_(this,_0x4c5e46(0x16f),[]),_(this,_0x4c5e46(0x22e),[]),(this[_0x4c5e46(0x2e5)]=_0x1fa38d,this['_docSkeletonManagerService']=_0x587240,this[_0x4c5e46(0x205)]=_0x5c0986,this[_0x4c5e46(0x221)]=_0x2fe252,this['_themeService']=_0x283c2b,this['_init']());}[_0x47652e(0x1f3)](){const _0x50a902=_0x47652e,_0x59527e=this[_0x50a902(0x2e5)][_0x50a902(0x2aa)],_0x1575bd=this['_docSkeletonManagerService'];this[_0x50a902(0x20b)](_0x4dc5bf([this['_collabCursorController'][_0x50a902(0x159)](_0x59527e),this['_themeService']['currentTheme$']])[_0x50a902(0x2af)](_0x1379e9(([_0xbb326f,_0x236993])=>({'skeleton':_0x1575bd[_0x50a902(0x116)](),'cursors':[..._0xbb326f[_0x50a902(0x15b)]()][_0x50a902(0x143)](_0x2db6d5=>({..._0x2db6d5,'color':_0x236993[_0x2db6d5[_0x50a902(0x278)]]}))})))[_0x50a902(0x284)](_0x494525=>{const _0x56e88b=_0x50a902;if(this[_0x56e88b(0x1d1)](),_0x494525){const {skeleton:_0x4d433d,cursors:_0x16f7d6}=_0x494525;this[_0x56e88b(0x198)](_0x4d433d,_0x16f7d6);}})),this['_initResize'](),this[_0x50a902(0x246)]();}['_updateCollabCursors'](_0x2ec81d,_0x195bde){const _0x51fae5=_0x47652e,{scene:_0x394e72,mainComponent:_0x36c0da}=this[_0x51fae5(0x2e5)],_0x5feb4c=_0x195bde[_0x51fae5(0x279)](_0x50e089=>new tt(_0x50e089,_0x394e72,_0x2ec81d,_0x36c0da));this['_cursorShapes']=_0x5feb4c,this[_0x51fae5(0x22e)]=_0x195bde;}[_0x47652e(0x263)](){const _0x314ef9=_0x47652e;this[_0x314ef9(0x1d1)]();const {scene:_0x224787,mainComponent:_0x2586ce}=this[_0x314ef9(0x2e5)],_0x16bd5c=this['_docSkeletonManagerService']['getSkeleton'](),_0xf146d7=this[_0x314ef9(0x22e)][_0x314ef9(0x279)](_0x162228=>new tt(_0x162228,_0x224787,_0x16bd5c,_0x2586ce));this[_0x314ef9(0x16f)]=_0xf146d7;}[_0x47652e(0x1d1)](){const _0x2ff9cd=_0x47652e;this[_0x2ff9cd(0x16f)]['forEach'](_0x1fc658=>_0x1fc658[_0x2ff9cd(0x2a9)]()),this[_0x2ff9cd(0x16f)]=[];}[_0x47652e(0x246)](){const _0x1a9ce8=_0x47652e,_0x2438f8=[_0xa39492['id']];this['disposeWithMe'](this[_0x1a9ce8(0x221)][_0x1a9ce8(0x2f2)](_0x1278e4=>{const _0x5c4f94=_0x1a9ce8;_0x2438f8[_0x5c4f94(0x133)](_0x1278e4['id'])&&_0x1278e4[_0x5c4f94(0x242)]['unitId']===this[_0x5c4f94(0x2e5)][_0x5c4f94(0x2aa)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x32322e=_0x47652e;this[_0x32322e(0x20b)](_0x1b1ebb(this[_0x32322e(0x2e5)]['engine'][_0x32322e(0x251)])[_0x32322e(0x2af)](_0x539557(_0x2b2e0f=>_0x2b2e0f['type']===_0x2264fb['resize']),_0x19dfd2(0x10))[_0x32322e(0x284)](()=>{const _0x1ada66=_0x32322e;this[_0x1ada66(0x263)]();}));}};we=Pi([Q(0x1,_0x38933f(_0x51b70e)),Q(0x2,_0x38933f(H)),Q(0x3,_0x16d840),Q(0x4,_0x38933f(_0x5cb17e))],we);const wi=0x1,Li=1.5;class Ai extends _0x45e58e{constructor(_0x2dec67,_0x507a58){const _0xcc26d8=_0x47652e;super(_0x2dec67,_0x507a58),_(this,_0xcc26d8(0x2a5)),_(this,_0xcc26d8(0x13d),!0x1),_(this,_0xcc26d8(0x154)),_(this,_0xcc26d8(0x1f1),''),_(this,_0xcc26d8(0x13b),_0xcc26d8(0x2b4)),_(this,_0xcc26d8(0x1b5)),(_0x507a58&&this[_0xcc26d8(0x128)](_0x507a58),this['onPointerEnter$'][_0xcc26d8(0x1ca)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0xcc26d8(0x1ca)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x47652e(0x128)](_0x1a3782){const _0x2f7d84=_0x47652e;var _0x547f4d,_0x4a113e,_0x37ca7d,_0x15a7b9,_0x1aec7e,_0x281abb;this[_0x2f7d84(0x2a5)]=(_0x547f4d=_0x1a3782[_0x2f7d84(0x278)])!=null?_0x547f4d:this[_0x2f7d84(0x2a5)],this[_0x2f7d84(0x13d)]=(_0x4a113e=_0x1a3782[_0x2f7d84(0x186)])!=null?_0x4a113e:this[_0x2f7d84(0x13d)],this[_0x2f7d84(0x154)]=(_0x37ca7d=_0x1a3782[_0x2f7d84(0x1ad)])!=null?_0x37ca7d:this[_0x2f7d84(0x154)],this[_0x2f7d84(0x1f1)]=(_0x15a7b9=_0x1a3782['name'])!=null?_0x15a7b9:this[_0x2f7d84(0x1f1)],this[_0x2f7d84(0x13b)]=(_0x1aec7e=_0x1a3782[_0x2f7d84(0x1b3)])!=null?_0x1aec7e:this[_0x2f7d84(0x13b)],this[_0x2f7d84(0x1b5)]=(_0x281abb=_0x1a3782[_0x2f7d84(0x11c)])!=null?_0x281abb:this[_0x2f7d84(0x1b5)],this['transformByState']({'width':_0x1a3782[_0x2f7d84(0x160)],'height':_0x1a3782['height']});}[_0x47652e(0x26d)](_0xf5fe7b){const _0x17cade=_0x47652e,{row:_0x1d3659,column:_0x2fd18e}=_0xf5fe7b;if(_0x1d3659>=this['_range']['startRow']&&_0x1d3659<=this[_0x17cade(0x154)][_0x17cade(0x132)]&&_0x2fd18e>=this[_0x17cade(0x154)]['startColumn']&&_0x2fd18e<=this[_0x17cade(0x154)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x17cade(0x128)]({'hovered':!0x1});}[_0x47652e(0x224)](_0x4f8a98){return!0x1;}[_0x47652e(0x240)](_0x4a86cf){const _0x2fdef0=_0x47652e;_0x492152[_0x2fdef0(0x2e9)](_0x4a86cf,{'width':this[_0x2fdef0(0x160)],'height':this[_0x2fdef0(0x229)],'strokeWidth':Li,'stroke':this[_0x2fdef0(0x2a5)],'evented':!0x1,'fill':this[_0x2fdef0(0x1b5)]}),this[_0x2fdef0(0x13d)]&&(_0x4a86cf[_0x2fdef0(0x121)](),_0x4a86cf[_0x2fdef0(0x226)](0x1,0x0,0x0,0x1,this[_0x2fdef0(0x160)],this[_0x2fdef0(0x13b)]==='bottom'?0x0:-0x14),ue[_0x2fdef0(0x2e9)](_0x4a86cf,{'text':this[_0x2fdef0(0x1f1)],'color':this[_0x2fdef0(0x2a5)]}),_0x4a86cf[_0x2fdef0(0x201)]());}}var yi=Object[_0x47652e(0x273)],$i=(_0x378c8c,_0x2a9984,_0x57b77b,_0x634886)=>{for(var _0x238119=_0x634886>0x1?void 0x0:_0x634886?yi(_0x2a9984,_0x57b77b):_0x2a9984,_0x5e9dce=_0x378c8c['length']-0x1,_0x5c6cc2;_0x5e9dce>=0x0;_0x5e9dce--)(_0x5c6cc2=_0x378c8c[_0x5e9dce])&&(_0x238119=_0x5c6cc2(_0x238119)||_0x238119);return _0x238119;},pe=(_0x1b4e9c,_0x1dd96d)=>(_0x5d0b38,_0x578b57)=>_0x1dd96d(_0x5d0b38,_0x578b57,_0x1b4e9c);const xi=0x1389;let Le=class extends _0x12a484{constructor(_0x9944df,_0x34e273,_0x2f4c88,_0x294351){const _0x470a44=_0x47652e;super(),_(this,_0x470a44(0x22e),new Set()),_(this,_0x470a44(0x2f1),null),(this['_context']=_0x9944df,this['_sheetSkeletonManagerService']=_0x34e273,this[_0x470a44(0x205)]=_0x2f4c88,this[_0x470a44(0x153)]=_0x294351,this[_0x470a44(0x1f3)]());}[_0x47652e(0x1f3)](){const _0xdc5986=_0x47652e;this[_0xdc5986(0x223)][_0xdc5986(0x24f)][_0xdc5986(0x2af)](_0x2d3add(this[_0xdc5986(0x302)]),_0x54ef2b(_0x39de58=>{const _0x1ecf12=_0xdc5986;if(_0x39de58){const _0x32ffae=_0x39de58[_0x1ecf12(0x2c3)];return _0x4dc5bf(this['_collabCursorController'][_0x1ecf12(0x159)](this['_context'][_0x1ecf12(0x2aa)]),this[_0x1ecf12(0x153)]['currentTheme$'])[_0x1ecf12(0x2af)](_0x1379e9(([_0x10a4fc,_0x1ae497])=>{const _0x31fda7=_0x1ecf12,_0x1ac944=new Map();return _0x10a4fc[_0x31fda7(0x2c9)]((_0x574a84,_0x98321c)=>{const _0x3c24d2=_0x31fda7;if(_0x574a84[_0x3c24d2(0x2c5)]===_0x32ffae){const _0x28efe1={..._0x574a84};_0x28efe1[_0x3c24d2(0x278)]=_0x1ae497[_0x574a84[_0x3c24d2(0x278)]],_0x1ac944['set'](_0x98321c,_0x28efe1);}}),{'skeleton':_0x39de58,'cursors':_0x1ac944};}));}return _0xcc42bb({'skeleton':null,'cursors':new Map()});}))[_0xdc5986(0x284)](({skeleton:_0x19e16f,cursors:_0x5a0bdb})=>{const _0x3207fc=_0xdc5986;this[_0x3207fc(0x1d1)](),_0x19e16f&&this[_0x3207fc(0x198)](_0x19e16f,_0x5a0bdb);}),this[_0xdc5986(0x223)][_0xdc5986(0x24f)][_0xdc5986(0x284)](_0x1e1e5d=>{const _0x9d7adc=_0xdc5986;if(_0x1e1e5d==null)return;const {skeleton:_0x57d5eb}=_0x1e1e5d,{scene:_0x5aa587}=this['_context'];_0x5aa587[_0x9d7adc(0x155)][_0x9d7adc(0x1ca)](_0x376338(_0x9603ff=>{const _0x591c3c=_0x9d7adc;var _0x23ddbc,_0x1f4e57;const {offsetX:_0x58bb87,offsetY:_0x58d385}=_0x9603ff,{x:_0x35e1e6,y:_0x35880e}=_0x5aa587['getRelativeToViewportCoord'](_0x11d9cf[_0x591c3c(0x261)]([_0x58bb87,_0x58d385])),{scaleX:_0x3717fc,scaleY:_0x2aa7d1}=_0x5aa587[_0x591c3c(0x173)](),_0x208a82=_0x5aa587[_0x591c3c(0x265)](_0x2a927a['VIEW_MAIN']),_0x5bff4c=_0x5aa587[_0x591c3c(0x107)](_0x11d9cf[_0x591c3c(0x261)]([_0x35e1e6,_0x35880e]),_0x208a82),_0x28f1b1=_0x57d5eb[_0x591c3c(0x20c)](_0x58bb87,_0x58d385,_0x3717fc,_0x2aa7d1,_0x5bff4c);((_0x23ddbc=this[_0x591c3c(0x2f1)])==null?void 0x0:_0x23ddbc[_0x591c3c(0x27b)])===_0x28f1b1[_0x591c3c(0x27b)]&&((_0x1f4e57=this[_0x591c3c(0x2f1)])==null?void 0x0:_0x1f4e57[_0x591c3c(0x23c)])===_0x28f1b1[_0x591c3c(0x23c)]||this[_0x591c3c(0x22e)][_0x591c3c(0x2c9)](_0x3985b6=>{_0x3985b6['onMouseMove'](_0x28f1b1);});},0x64));});}[_0x47652e(0x198)](_0x34a019,_0x778fc6){const _0x4394fc=_0x47652e;var _0x455674;const _0x18bbc4=(_0x455674=this[_0x4394fc(0x223)][_0x4394fc(0x13e)]())==null?void 0x0:_0x455674['skeleton'];if(!_0x18bbc4)return;const _0x31b96c=this[_0x4394fc(0x27d)]();if(!_0x31b96c)return;this[_0x4394fc(0x22e)][_0x4394fc(0x2c9)](_0x30c32e=>{const _0x5d4c35=_0x4394fc;_0x30c32e[_0x5d4c35(0x184)]();});const {scene:_0x2d5895}=_0x31b96c,_0x37e28d=Bi(Array['from'](_0x778fc6[_0x4394fc(0x15b)]()))['map'](_0x1e2da3=>{const _0x5d742f=_0x4394fc,{color:_0x4dd783,range:_0x4957c4,name:_0x55dcbd,selection:_0x184c75,sheetID:_0x43dd04}=_0x1e2da3,{startColumn:_0x3b390d,startRow:_0x973245,endColumn:_0x40ca58,endRow:_0x4ce982}=_0x4957c4,_0x5c520=_0x6ad82e(_0x973245,_0x3b390d,_0x2d5895,_0x18bbc4),_0x5c8b3b=_0x6ad82e(_0x4ce982,_0x40ca58,_0x2d5895,_0x18bbc4),{columnHeaderHeightAndMarginTop:_0x32c260}=_0x18bbc4,{startX:_0x296b4d,startY:_0x33373f}=_0x5c520,{endX:_0x2d98e7,endY:_0x196815}=_0x5c8b3b,_0x2a060a=_0x2d98e7-_0x296b4d,_0x1cbd95=_0x196815-_0x33373f,_0x2930f2={'labelPosition':_0x33373f-_0x32c260>=te?'top':_0x5d742f(0x19d),'sheetID':_0x43dd04,'range':_0x4957c4,'color':_0x4dd783,'name':_0x55dcbd,'selection':_0x184c75,'left':_0x296b4d,'top':_0x33373f,'width':_0x2a060a,'height':_0x1cbd95,'evented':!0x1,'zIndex':xi};return new Ai(_0x55dcbd,_0x2930f2);});_0x2d5895[_0x4394fc(0x139)](_0x37e28d,wi),this[_0x4394fc(0x22e)]=new Set(_0x37e28d);}[_0x47652e(0x1d1)](){const _0x2fee94=_0x47652e;var _0x642ee8;(_0x642ee8=this[_0x2fee94(0x22e)])==null||_0x642ee8['forEach'](_0xcf963f=>_0xcf963f[_0x2fee94(0x2a9)]());}[_0x47652e(0x27d)](){const _0x4b9de4=_0x47652e;return _0xf2c7d8(this[_0x4b9de4(0x2e5)][_0x4b9de4(0x230)],this[_0x4b9de4(0x2e5)]);}};Le=$i([pe(0x1,_0x38933f(_0x4f2b80)),pe(0x2,_0x38933f(H)),pe(0x3,_0x38933f(_0x5cb17e))],Le);function Bi(_0x44edaa){const _0x435034=_0x47652e,_0x34b24f=new Map();return _0x44edaa[_0x435034(0x2c9)](_0x13a77b=>{const _0x53623a=_0x435034;if(_0x34b24f[_0x53623a(0x285)](_0x13a77b[_0x53623a(0x1e4)])){const _0x26caea=_0x34b24f['get'](_0x13a77b[_0x53623a(0x1e4)]);_0x26caea[_0x53623a(0x24d)]+=',\x20'+_0x13a77b['name'];}else _0x34b24f[_0x53623a(0x28c)](_0x13a77b[_0x53623a(0x1e4)],_0x13a77b);}),Array['from'](_0x34b24f[_0x435034(0x15b)]());}var I=function(){const _0xd1f97e=_0x47652e;return I=Object[_0xd1f97e(0x12e)]||function(_0x468ece){const _0x3dd63f=_0xd1f97e;for(var _0x1a339e,_0x17ee7c=0x1,_0x3f37ac=arguments[_0x3dd63f(0x1ae)];_0x17ee7c<_0x3f37ac;_0x17ee7c++){_0x1a339e=arguments[_0x17ee7c];for(var _0x554e98 in _0x1a339e)Object['prototype']['hasOwnProperty'][_0x3dd63f(0x1e5)](_0x1a339e,_0x554e98)&&(_0x468ece[_0x554e98]=_0x1a339e[_0x554e98]);}return _0x468ece;},I['apply'](this,arguments);},ki=function(_0x348619,_0x220cc8){const _0xbb64e0=_0x47652e;var _0x48955e={};for(var _0x310fff in _0x348619)Object[_0xbb64e0(0x1a7)][_0xbb64e0(0x15f)]['call'](_0x348619,_0x310fff)&&_0x220cc8[_0xbb64e0(0x25d)](_0x310fff)<0x0&&(_0x48955e[_0x310fff]=_0x348619[_0x310fff]);if(_0x348619!=null&&typeof Object[_0xbb64e0(0x210)]==_0xbb64e0(0x18a)){for(var _0x13dbd9=0x0,_0x310fff=Object[_0xbb64e0(0x210)](_0x348619);_0x13dbd9<_0x310fff['length'];_0x13dbd9++)_0x220cc8[_0xbb64e0(0x25d)](_0x310fff[_0x13dbd9])<0x0&&Object['prototype'][_0xbb64e0(0x135)]['call'](_0x348619,_0x310fff[_0x13dbd9])&&(_0x48955e[_0x310fff[_0x13dbd9]]=_0x348619[_0x310fff[_0x13dbd9]]);}return _0x48955e;},We=_0x8764f3(function(_0x2bd817,_0x1ffa0d){const _0x4fadec=_0x47652e;var _0x44f65a=_0x2bd817[_0x4fadec(0x222)],_0xac09b0=_0x2bd817['id'],_0x341520=_0x2bd817[_0x4fadec(0x297)],_0x161f3f=_0x2bd817[_0x4fadec(0x2a1)],_0x28a1a8=ki(_0x2bd817,[_0x4fadec(0x222),'id',_0x4fadec(0x297),_0x4fadec(0x2a1)]),_0x2cac0e='univerjs-icon\x20univerjs-icon-'[_0x4fadec(0x1df)](_0xac09b0,'\x20')[_0x4fadec(0x1df)](_0x341520||'')['trim'](),_0xb7a102=_0x16faf7('_'[_0x4fadec(0x1df)](Wi()));return Nt(_0x44f65a,''[_0x4fadec(0x1df)](_0xac09b0),{'defIds':_0x44f65a['defIds'],'idSuffix':_0xb7a102[_0x4fadec(0x11f)]},I({'ref':_0x1ffa0d,'className':_0x2cac0e},_0x28a1a8),_0x161f3f);});function Nt(_0x269a9d,_0x3e251e,_0x397f3e,_0x8fd4e0,_0x3ed298){const _0x1b38f8=_0x47652e;return _0x3c1261(_0x269a9d[_0x1b38f8(0x2c6)],I(I({'key':_0x3e251e},Hi(_0x269a9d,_0x397f3e,_0x3ed298)),_0x8fd4e0),(ji(_0x269a9d,_0x397f3e)[_0x1b38f8(0x16b)]||[])['map'](function(_0x2c4b4e,_0x560aa4){const _0x5691ca=_0x1b38f8;return Nt(_0x2c4b4e,''[_0x5691ca(0x1df)](_0x3e251e,'-')[_0x5691ca(0x1df)](_0x269a9d[_0x5691ca(0x2c6)],'-')[_0x5691ca(0x1df)](_0x560aa4),_0x397f3e,void 0x0,_0x3ed298);}));}function Hi(_0x2fc61a,_0x562748,_0x360430){const _0x2816f9=_0x47652e;var _0x40339c=I({},_0x2fc61a[_0x2816f9(0x2a7)]);_0x360430!=null&&_0x360430[_0x2816f9(0x12d)]&&_0x40339c[_0x2816f9(0x192)]==='colorChannel1'&&(_0x40339c[_0x2816f9(0x192)]=_0x360430[_0x2816f9(0x12d)]),_0x2fc61a[_0x2816f9(0x2c6)]===_0x2816f9(0x25a)&&_0x40339c['id']&&(_0x40339c['id']=_0x40339c['id']+_0x562748['idSuffix']),Object[_0x2816f9(0x234)](_0x40339c)[_0x2816f9(0x2c9)](function(_0xf62e09){const _0x25dc8e=_0x2816f9;var _0x18ce3a=_0xf62e09[0x0],_0x2512f8=_0xf62e09[0x1];_0x18ce3a===_0x25dc8e(0x25a)&&typeof _0x2512f8==_0x25dc8e(0x115)&&(_0x40339c[_0x18ce3a]=_0x2512f8[_0x25dc8e(0x254)](/url\(#(.*)\)/,'url(#$1'[_0x25dc8e(0x1df)](_0x562748[_0x25dc8e(0x147)],')')));});var _0x2407d8=_0x562748[_0x2816f9(0x2f0)];return!_0x2407d8||_0x2407d8[_0x2816f9(0x1ae)]===0x0||(_0x2fc61a['tag']==='use'&&_0x40339c[_0x2816f9(0x145)]&&(_0x40339c[_0x2816f9(0x145)]=_0x40339c[_0x2816f9(0x145)]+_0x562748[_0x2816f9(0x147)]),Object['entries'](_0x40339c)[_0x2816f9(0x2c9)](function(_0x3b6fd6){const _0x296286=_0x2816f9;var _0x20ca1b=_0x3b6fd6[0x0],_0x1e4117=_0x3b6fd6[0x1];typeof _0x1e4117==_0x296286(0x115)&&(_0x40339c[_0x20ca1b]=_0x1e4117[_0x296286(0x254)](/url\(#(.*)\)/,_0x296286(0x1f4)['concat'](_0x562748['idSuffix'],')')));})),_0x40339c;}function _0x5409(_0x281642,_0x458300){const _0x10febf=_0x10fe();return _0x5409=function(_0x54095e,_0x5de2c7){_0x54095e=_0x54095e-0x106;let _0x2cea31=_0x10febf[_0x54095e];return _0x2cea31;},_0x5409(_0x281642,_0x458300);}function ji(_0xe0837b,_0x37e13c){const _0x2b2040=_0x47652e;var _0x221d5a,_0x191f58=_0x37e13c[_0x2b2040(0x2f0)];return!_0x191f58||_0x191f58['length']===0x0?_0xe0837b:_0xe0837b['tag']===_0x2b2040(0x2a0)&&(!((_0x221d5a=_0xe0837b[_0x2b2040(0x16b)])===null||_0x221d5a===void 0x0)&&_0x221d5a['length'])?I(I({},_0xe0837b),{'children':_0xe0837b[_0x2b2040(0x16b)]['map'](function(_0x43cf14){const _0xd54bf1=_0x2b2040;return typeof _0x43cf14['attrs']['id']==_0xd54bf1(0x115)&&_0x191f58&&_0x191f58[_0xd54bf1(0x25d)](_0x43cf14['attrs']['id'])>-0x1?I(I({},_0x43cf14),{'attrs':I(I({},_0x43cf14['attrs']),{'id':_0x43cf14[_0xd54bf1(0x2a7)]['id']+_0x37e13c[_0xd54bf1(0x147)]})}):_0x43cf14;})}):_0xe0837b;}function Wi(){const _0x99206f=_0x47652e;return Math[_0x99206f(0x10e)]()['toString'](0x24)[_0x99206f(0x13f)](0x2,0x8);}We[_0x47652e(0x26e)]=_0x47652e(0x28b);var Fi={'tag':_0x47652e(0x172),'attrs':{'fill':_0x47652e(0x283),'viewBox':_0x47652e(0x21b),'width':'1em','height':_0x47652e(0x2c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x47652e(0x150)},'children':[{'tag':_0x47652e(0x2a4),'attrs':{'stroke':_0x47652e(0x193),'d':_0x47652e(0x1c6),'strokeLinecap':_0x47652e(0x1bf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x47652e(0x1ff),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x47652e(0x2a4),'attrs':{'fill':_0x47652e(0x2fb),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ut=_0x8764f3(function(_0x2e396b,_0x33a139){const _0x4b9277=_0x47652e;return _0x3c1261(We,Object[_0x4b9277(0x12e)]({},_0x2e396b,{'id':_0x4b9277(0x199),'ref':_0x33a139,'icon':Fi}));});Ut[_0x47652e(0x26e)]=_0x47652e(0x206);var Yi={'tag':_0x47652e(0x172),'attrs':{'fill':_0x47652e(0x283),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x47652e(0x2c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x47652e(0x23d)},'children':[{'tag':_0x47652e(0x2a4),'attrs':{'stroke':_0x47652e(0x193),'d':_0x47652e(0x2f6),'strokeLinecap':_0x47652e(0x1bf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x47652e(0x1ff),'attrs':{'id':_0x47652e(0x2d0)},'children':[{'tag':'path','attrs':{'fill':_0x47652e(0x2fb),'d':_0x47652e(0x217),'transform':_0x47652e(0x213)}}]}]}],'defIds':[_0x47652e(0x2d0)]},Mt=_0x8764f3(function(_0x5704f0,_0x5b72cd){const _0x22d030=_0x47652e;return _0x3c1261(We,Object['assign']({},_0x5704f0,{'id':_0x22d030(0x203),'ref':_0x5b72cd,'icon':Yi}));});Mt[_0x47652e(0x26e)]=_0x47652e(0x158);const Vi=_0x47652e(0x14f),Xi='univer-online-status-title',Gi=_0x47652e(0x1de),Ki=_0x47652e(0x110),zi=_0x47652e(0x1dc),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x44d105){const _0xa60d1e=_0x47652e;switch(_0x44d105){case _0x5e41af[_0xa60d1e(0x2cd)]:return _0xa60d1e(0x253);case _0x5e41af[_0xa60d1e(0x2d8)]:return _0xa60d1e(0x1d6);case _0x5e41af[_0xa60d1e(0x10f)]:return _0xa60d1e(0x1f5);case _0x5e41af['NOT_COLLAB']:return'collabStatus.notCollab';case _0x5e41af[_0xa60d1e(0x12c)]:case _0x5e41af[_0xa60d1e(0x2c4)]:return'collabStatus.syncing';case _0x5e41af['SYNCED']:case _0x5e41af[_0xa60d1e(0x2ab)]:return _0xa60d1e(0x14b);}}function Zi(_0xa6c735){const _0x5c2d65=_0x47652e,{status$:_0x34541c}=_0xa6c735,_0x5dc82e=_0x144639(_0x34541c,_0x5e41af[_0x5c2d65(0x156)]),_0x17b3e9=_0x47ec37(_0x2002bb),_0x3e2c46=_0x47ec37(_0x43674b),_0x430326=_0x5dc82e!==_0x5e41af[_0x5c2d65(0x2cd)],_0x5b9162=_0x17b3e9['t'](Ji(_0x5dc82e)),_0x1609a6=_0x2bdf7d(G[_0x5c2d65(0x1a2)],{[G[_0x5c2d65(0x149)]]:_0x430326,[G[_0x5c2d65(0x1db)]]:!_0x430326}),_0x4c0c1f=_0x430326?_0x4e8be5(Mt,{}):_0x4e8be5(Ut,{}),_0x3b5831=_0x235a3d(()=>{const _0x2de367=_0x5c2d65;_0x430326||_0x3e2c46[_0x2de367(0x1ab)]();},[_0x430326,_0x3e2c46]);function _0x3aeb42(){const _0xed4f31=_0x5c2d65;return _0x3ebda5('div',{'className':_0x2bdf7d(_0x1609a6,_0xed4f31(0x1bd)),'onClick':_0x3b5831,'children':[_0x4e8be5(_0xed4f31(0x241),{'className':G[_0xed4f31(0x2cb)],'children':_0x4c0c1f}),_0x4e8be5('div',{'className':G[_0xed4f31(0x196)],'children':_0x5b9162})]});}return _0x430326?_0x3aeb42():_0x4e8be5(_0x4b4a43,{'title':_0x17b3e9['t'](_0x5c2d65(0x112)),'children':_0x3aeb42()});}var Qi=Object[_0x47652e(0x273)],qi=(_0xda4fcb,_0x2b212c,_0x319900,_0xc00f7e)=>{const _0x1fe854=_0x47652e;for(var _0x22e848=_0xc00f7e>0x1?void 0x0:_0xc00f7e?Qi(_0x2b212c,_0x319900):_0x2b212c,_0x199483=_0xda4fcb[_0x1fe854(0x1ae)]-0x1,_0x489bff;_0x199483>=0x0;_0x199483--)(_0x489bff=_0xda4fcb[_0x199483])&&(_0x22e848=_0x489bff(_0x22e848)||_0x22e848);return _0x22e848;},q=(_0xa40c8b,_0x4d3e20)=>(_0x42b2f0,_0x581eec)=>_0x4d3e20(_0x42b2f0,_0x581eec,_0xa40c8b);let se=class extends _0x384885{constructor(_0x126b12,_0x403009,_0x4a1a32,_0xf5fc52){const _0x36fb62=_0x47652e;super(),_(this,'_status$',new _0x2fdfa5(_0x5e41af[_0x36fb62(0x156)])),(this[_0x36fb62(0x20f)]=_0x126b12,this['_injector']=_0x403009,this[_0x36fb62(0x14e)]=_0x4a1a32,this['_uiPartsService']=_0xf5fc52,this[_0x36fb62(0x1a3)](),this[_0x36fb62(0x15c)]());}[_0x47652e(0x15c)](){const _0x3c99e1=_0x47652e;this[_0x3c99e1(0x20b)](this[_0x3c99e1(0x20f)][_0x3c99e1(0x1da)][_0x3c99e1(0x2af)](_0x5171dd(()=>{const _0x55c858=_0x3c99e1,_0x439114=this[_0x55c858(0x20f)][_0x55c858(0x194)]();return _0x439114?this[_0x55c858(0x14e)][_0x55c858(0x304)](_0x439114[_0x55c858(0x108)]()):_0xcc42bb(null);}),_0x5171dd(_0x1d585f=>_0x1d585f?_0x1d585f[_0x3c99e1(0x16e)]:_0xcc42bb(_0x5e41af[_0x3c99e1(0x156)])))[_0x3c99e1(0x284)](_0x330ba4=>{const _0xff4d3f=_0x3c99e1;this['_status$'][_0xff4d3f(0x1cf)](_0x330ba4);}));}[_0x47652e(0x1a3)](){const _0x36cb20=_0x47652e;this['disposeWithMe'](this['_uiPartsService'][_0x36cb20(0x1c4)](_0x24973c['HEADER_MENU'],()=>_0x31b460(en({'status$':this[_0x36cb20(0x1c5)][_0x36cb20(0x176)]()}),this[_0x36cb20(0x125)])));}};se=qi([q(0x0,_0x365edf),q(0x1,_0x38933f(_0x25f6f5)),q(0x2,_0x38933f(_0x1ac2fc)),q(0x3,_0x520ff9)],se);function en(_0x522577){const {status$:_0x1e20a6}=_0x522577;return function(){return _0x4e8be5(Zi,{'status$':_0x1e20a6});};}var tn=Object[_0x47652e(0x273)],sn=(_0x1b9750,_0x55862f,_0x262e7b,_0xcf0629)=>{const _0x5ede63=_0x47652e;for(var _0x995889=_0xcf0629>0x1?void 0x0:_0xcf0629?tn(_0x55862f,_0x262e7b):_0x55862f,_0xe9cf7f=_0x1b9750[_0x5ede63(0x1ae)]-0x1,_0x1b8188;_0xe9cf7f>=0x0;_0xe9cf7f--)(_0x1b8188=_0x1b9750[_0xe9cf7f])&&(_0x995889=_0x1b8188(_0x995889)||_0x995889);return _0x995889;},B=(_0x3a512e,_0x2e5503)=>(_0x4a50f5,_0x19280b)=>_0x2e5503(_0x4a50f5,_0x19280b,_0x3a512e);let ie=class extends _0x384885{constructor(_0x4804b3,_0x5bdea7,_0x4a9efd,_0x156546,_0x2c81e5,_0x590c3a){const _0x1e4a29=_0x47652e;super(),this[_0x1e4a29(0x258)]=_0x4804b3,this[_0x1e4a29(0x281)]=_0x5bdea7,this[_0x1e4a29(0x220)]=_0x4a9efd,this[_0x1e4a29(0x180)]=_0x156546,this['_notificationService']=_0x2c81e5,this['_localeService']=_0x590c3a,this[_0x1e4a29(0x289)](),this[_0x1e4a29(0x2b8)]();}[_0x47652e(0x289)](){const _0x54848d=_0x47652e;this[_0x54848d(0x20b)](this[_0x54848d(0x258)][_0x54848d(0x1a6)](()=>{const _0x528e42=_0x54848d;if(this[_0x528e42(0x281)][_0x528e42(0x18b)]['size'])return this[_0x528e42(0x1b4)]['t'](_0x528e42(0x12b));}));}['_initEvent'](){const _0x4537c8=_0x47652e;this['disposeWithMe'](this[_0x4537c8(0x220)][_0x4537c8(0x245)][_0x4537c8(0x284)](_0x956e23=>{const _0xf31298=_0x4537c8;_0x956e23['id']===_0x50ad66['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x59115f[_0xf31298(0x27f)],'content':this[_0xf31298(0x1b4)]['t']('collaboration.single-unit.warning')}),_0x956e23['id']===_0x50ad66['CLOSE_ROOM']&&this[_0xf31298(0x180)]['show']({'type':_0x59115f[_0xf31298(0x27f)],'content':this[_0xf31298(0x1b4)]['t']('collaboration.closeRoom')}),_0x956e23['id']===_0x50ad66[_0xf31298(0x187)]&&this[_0xf31298(0x161)]['show']({'title':this[_0xf31298(0x1b4)]['t']('permission.title'),'content':this[_0xf31298(0x1b4)]['t'](_0xf31298(0x303)),'type':_0xf31298(0x2f7),'duration':0x0}),_0x956e23['id']===_0x50ad66[_0xf31298(0x2d8)]&&this[_0xf31298(0x180)][_0xf31298(0x1e1)]({'type':_0x59115f[_0xf31298(0x21c)],'content':this[_0xf31298(0x1b4)]['t'](_0xf31298(0x233))+'('+_0x956e23[_0xf31298(0x142)]+')'}),_0x956e23['id']===_0x50ad66[_0xf31298(0x266)]&&this['_messageService']['show']({'type':_0x59115f[_0xf31298(0x27f)],'content':this[_0xf31298(0x1b4)]['t'](_0x956e23['data']||'')}),_0x956e23['id']===_0x50ad66[_0xf31298(0x202)]&&this['_messageService'][_0xf31298(0x1e1)]({'type':_0x59115f['Warning'],'content':this['_localeService']['t'](_0xf31298(0x22d))}),_0x956e23['id']===_0x50ad66[_0xf31298(0x2ff)]&&this['_messageService'][_0xf31298(0x1e1)]({'type':_0x59115f[_0xf31298(0x21c)],'content':this['_localeService']['t'](_0xf31298(0x120))}),_0x956e23['id']===_0x50ad66[_0xf31298(0x1b6)]&&this[_0xf31298(0x180)][_0xf31298(0x1e1)]({'type':_0x59115f[_0xf31298(0x21c)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x3f02c6),B(0x1,_0xe42509),B(0x2,_0x38933f(_0x1bc4a3)),B(0x3,_0x1e2ca9),B(0x4,_0x3e038d),B(0x5,_0x38933f(_0x2002bb))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x484187('uni.network.url-service');var rn=Object[_0x47652e(0x273)],on=(_0x3202a4,_0x51c259,_0x5a4042,_0x1924c4)=>{const _0x394b06=_0x47652e;for(var _0x5168ee=_0x1924c4>0x1?void 0x0:_0x1924c4?rn(_0x51c259,_0x5a4042):_0x51c259,_0x5816dd=_0x3202a4[_0x394b06(0x1ae)]-0x1,_0x2a90cf;_0x5816dd>=0x0;_0x5816dd--)(_0x2a90cf=_0x3202a4[_0x5816dd])&&(_0x5168ee=_0x2a90cf(_0x5168ee)||_0x5168ee);return _0x5168ee;},K=(_0x1e9e63,_0x2b620c)=>(_0x2457a0,_0x23e462)=>_0x2b620c(_0x2457a0,_0x23e462,_0x1e9e63);let ne=class extends _0x12a484{constructor(_0x5dade7,_0x3c4ca3,_0x3472f5,_0x19f4c9,_0x4e00dd){const _0xa9ab71=_0x47652e;super(),this[_0xa9ab71(0x209)]=_0x5dade7,this['_logService']=_0x3c4ca3,this[_0xa9ab71(0x221)]=_0x3472f5,this[_0xa9ab71(0x1b0)]=_0x19f4c9,_0x4e00dd?_0x4e00dd==null||_0x4e00dd[_0xa9ab71(0x1c9)]()[_0xa9ab71(0x174)](()=>this['_init']()):(this[_0xa9ab71(0x2ed)]['debug'](_0xa9ab71(0x26b),_0xa9ab71(0x2d3)),this[_0xa9ab71(0x1f3)]());}async[_0x47652e(0x1f3)](){const _0x39c1cb=_0x47652e,_0x136a97=this[_0x39c1cb(0x209)]['getParam'](_0x39c1cb(0x230)),_0x38559f=this[_0x39c1cb(0x209)][_0x39c1cb(0x183)](_0x39c1cb(0x1f9)),_0x29f457=this['_urlService'][_0x39c1cb(0x183)](_0x39c1cb(0x130));if(!_0x136a97||!_0x38559f){this[_0x39c1cb(0x2ed)][_0x39c1cb(0x2b2)]('[CollaborationDataLoaderController]',_0x39c1cb(0x2e6));return;}const _0x1dc09a=await this['_dataLoaderService'][_0x39c1cb(0x111)](_0x136a97,Number(_0x38559f),_0x29f457);_0x1dc09a&&_0x1dc09a instanceof _0x3d0c25&&this[_0x39c1cb(0x19f)](_0x1dc09a);}async[_0x47652e(0x19f)](_0x530f96){const _0x2904b8=_0x47652e;await this['_updateSubUnitFromURLParams'](_0x530f96),_0x530f96['activeSheet$'][_0x2904b8(0x2af)](_0xc03def(this['dispose$']))[_0x2904b8(0x284)](_0x45528b=>{_0x45528b&&this['_updateURLWithCurrentState'](_0x45528b);}),this[_0x2904b8(0x209)]['urlChange$'][_0x2904b8(0x2af)](_0xc03def(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x530f96));}[_0x47652e(0x23b)](_0x14bade,_0x325d68=!0x1){const _0x492df5=_0x47652e,_0x3f901b=this['_urlService']['getParam']('subunit');_0x14bade[_0x492df5(0x2cc)]()!==_0x3f901b&&this[_0x492df5(0x209)][_0x492df5(0x27e)](_0x492df5(0x130),_0x14bade['getSheetId'](),_0x325d68);}async['_updateSubUnitFromURLParams'](_0xda080e){const _0x16e2e6=_0x47652e;var _0x3f8fa4;const _0x1ea6b0=this[_0x16e2e6(0x209)][_0x16e2e6(0x183)](_0x16e2e6(0x130));if(!_0x1ea6b0||!_0xda080e[_0x16e2e6(0x2da)](_0x1ea6b0)){const _0x40692c=_0xda080e[_0x16e2e6(0x29d)]()[0x0],_0x135268=_0xda080e[_0x16e2e6(0x2da)](_0x40692c);if(!_0x135268)return;this[_0x16e2e6(0x23b)](_0x135268,!0x0),await this[_0x16e2e6(0x221)]['executeCommand'](_0x549da8['id'],{'unitId':_0xda080e[_0x16e2e6(0x108)](),'subUnitId':_0x40692c});return;}((_0x3f8fa4=_0xda080e[_0x16e2e6(0x256)]())==null?void 0x0:_0x3f8fa4[_0x16e2e6(0x2cc)]())!==_0x1ea6b0&&await this[_0x16e2e6(0x221)][_0x16e2e6(0x170)](_0x549da8['id'],{'unitId':_0xda080e['getUnitId'](),'subUnitId':_0x1ea6b0});}};ne=on([K(0x0,Pt),K(0x1,_0xf9b56d),K(0x2,_0x16d840),K(0x3,_0x38933f(_0x209a09)),K(0x4,_0x58f8d6(_0x2b706e))],ne);var an=Object[_0x47652e(0x273)],cn=(_0xc28bf2,_0x2b998d,_0x20de5a,_0x38a22e)=>{const _0x2f3e02=_0x47652e;for(var _0x5fd4d8=_0x38a22e>0x1?void 0x0:_0x38a22e?an(_0x2b998d,_0x20de5a):_0x2b998d,_0x3478a1=_0xc28bf2[_0x2f3e02(0x1ae)]-0x1,_0x267647;_0x3478a1>=0x0;_0x3478a1--)(_0x267647=_0xc28bf2[_0x3478a1])&&(_0x5fd4d8=_0x267647(_0x5fd4d8)||_0x5fd4d8);return _0x5fd4d8;},Ce=(_0x1e0921,_0x2e981b)=>(_0x146400,_0x11eff3)=>_0x2e981b(_0x146400,_0x11eff3,_0x1e0921);let re=class{constructor(_0x327371,_0x163671,_0x8c0219){const _0x51306b=_0x47652e;this['_injector']=_0x327371,this['_transformService']=_0x163671,this[_0x51306b(0x28d)]=_0x8c0219;}['transformIMECache'](_0x50693f){const _0x4b63ce=_0x47652e;this[_0x4b63ce(0x25c)](_0x50693f),this[_0x4b63ce(0x200)](_0x50693f);}[_0x47652e(0x244)](_0x547489){const _0xa210b4=_0x47652e,{unitID:_0x18cc2a}=_0x547489,_0x2e7ac1=this[_0xa210b4(0x28d)][_0xa210b4(0x129)](_0x18cc2a)['with'](_0x2b8041),{redoCache:_0x4cbe34}=_0x2e7ac1[_0xa210b4(0x294)]();if(_0x4cbe34[_0xa210b4(0x1ae)]===0x0)return _0x547489;let _0xb42ce5=_0xc8644e[_0xa210b4(0x14a)](_0x547489[_0xa210b4(0x275)][0x0]);for(let _0x9b23c1=0x0;_0x9b23c1<_0x4cbe34[_0xa210b4(0x1ae)];_0x9b23c1++){const _0x3f3e3d={'id':'doc.mutation.rich-text-editing','params':{..._0x4cbe34[_0x9b23c1]}},_0x3399f6=this[_0xa210b4(0x1a5)][_0xa210b4(0x1e2)](_0xb42ce5,_0x3f3e3d,!0x1);if(_0x10b77e(_0x3399f6))throw _0x3399f6[_0xa210b4(0x2f7)];_0xb42ce5=_0x3399f6[_0xa210b4(0x216)];}return{..._0xc8644e[_0xa210b4(0x14a)](_0x547489),'mutations':[_0xb42ce5]};}[_0x47652e(0x25c)](_0x110fbf){const _0x310988=_0x47652e,{unitID:_0x3c174c}=_0x110fbf,_0x48b832=this[_0x310988(0x28d)][_0x310988(0x129)](_0x3c174c)['with'](_0x2b8041),{undoCache:_0xcda86,redoCache:_0x59da26}=_0x48b832[_0x310988(0x294)]();if(_0xcda86[_0x310988(0x1ae)]===0x0||_0x59da26[_0x310988(0x1ae)]===0x0)return;const _0x15fc74=[],_0x4e95cd=[];let _0x4baec6=_0xc8644e[_0x310988(0x14a)](_0x110fbf['mutations'][0x0]),_0x4f9669=_0xc8644e[_0x310988(0x14a)](_0x110fbf['mutations'][0x0]);for(let _0x4521d2=_0xcda86[_0x310988(0x1ae)]-0x1;_0x4521d2>=0x0;_0x4521d2--){const _0x3d2ff1={'id':_0x310988(0x1cc),'params':{..._0xcda86[_0x4521d2]}},_0x4eb34c={'id':'doc.mutation.rich-text-editing','params':{..._0x59da26[_0x4521d2]}},_0x11cb9f=this[_0x310988(0x1a5)][_0x310988(0x1e2)](_0x4baec6,_0x3d2ff1,!0x1),_0x17ac8b=this[_0x310988(0x1a5)][_0x310988(0x1e2)](_0x4f9669,_0x4eb34c,!0x1);if(_0x10b77e(_0x11cb9f))throw _0x11cb9f[_0x310988(0x2f7)];if(_0x10b77e(_0x17ac8b))throw _0x17ac8b[_0x310988(0x2f7)];_0x15fc74[_0x310988(0x2e7)](_0x11cb9f[_0x310988(0x293)][_0x310988(0x242)]),_0x4e95cd[_0x310988(0x2e7)](_0x17ac8b[_0x310988(0x293)][_0x310988(0x242)]),_0x4baec6=_0x11cb9f[_0x310988(0x216)],_0x4f9669=_0x17ac8b[_0x310988(0x216)];}_0x48b832[_0x310988(0x1a9)]({'undoCache':_0x15fc74,'redoCache':_0x4e95cd});}[_0x47652e(0x200)](_0x47fdb1){const _0x20b4ec=_0x47652e,{unitID:_0x3d3b62}=_0x47fdb1,_0x4abb61=this['_renderManagerService'][_0x20b4ec(0x129)](_0x3d3b62)[_0x20b4ec(0x1be)](_0x2b8041),_0x5ed302=_0x4abb61['getActiveRange']();if(_0x5ed302==null)return;const _0x5f1599=[{'id':_0x20b4ec(0x1cc),'params':{'unitId':_0x47fdb1[_0x20b4ec(0x239)],'actions':null,'textRanges':[_0x5ed302]}}],_0x513d54=this[_0x20b4ec(0x1a5)][_0x20b4ec(0x1f8)](_0x47fdb1,_0x5f1599);if(!_0x32f17f(_0x513d54))throw _0x513d54[_0x20b4ec(0x2f7)];const _0x3fb577=_0x513d54['m2Prime'][0x0]['params'][_0x20b4ec(0x22b)];Array[_0x20b4ec(0x1f2)](_0x3fb577)&&_0x3fb577[_0x20b4ec(0x1ae)]&&_0x4abb61[_0x20b4ec(0x28a)](_0x3fb577[0x0]);}};re=cn([Ce(0x0,_0x38933f(_0x25f6f5)),Ce(0x1,_0x453fd5),Ce(0x2,_0x127e53)],re);var ln=Object[_0x47652e(0x273)],_n=(_0x517014,_0x4bd5e7,_0x5532e4,_0x380655)=>{const _0x10b0a1=_0x47652e;for(var _0x52df8f=_0x380655>0x1?void 0x0:_0x380655?ln(_0x4bd5e7,_0x5532e4):_0x4bd5e7,_0x536c99=_0x517014[_0x10b0a1(0x1ae)]-0x1,_0x110f20;_0x536c99>=0x0;_0x536c99--)(_0x110f20=_0x517014[_0x536c99])&&(_0x52df8f=_0x110f20(_0x52df8f)||_0x52df8f);return _0x52df8f;},Ee=(_0x677e6b,_0x5c2aff)=>(_0x428818,_0x81ef09)=>_0x5c2aff(_0x428818,_0x81ef09,_0x677e6b);let oe=class{constructor(_0x487a63,_0xb6832,_0x1c0d47){const _0x57e419=_0x47652e;this['_injector']=_0x487a63,this[_0x57e419(0x1a5)]=_0xb6832,this['_docStateChangeManagerService']=_0x1c0d47;}['transformStateCache'](_0x25733c){const _0x3f4181=_0x47652e;this[_0x3f4181(0x1c8)](_0x25733c);}['transformRemoteChangeset'](_0x753a5c){const _0x4a3dd8=_0x47652e,{unitID:_0x428a73}=_0x753a5c,{collaboration:_0x1d39de}=this['_docStateChangeManagerService']['getStateCache'](_0x428a73);if(_0x1d39de['length']===0x0)return _0x753a5c;let _0x21342b=_0xc8644e[_0x4a3dd8(0x14a)](_0x753a5c[_0x4a3dd8(0x275)][0x0]);for(let _0x4e15e0=0x0;_0x4e15e0<_0x1d39de[_0x4a3dd8(0x1ae)];_0x4e15e0++){const _0x304871={'id':_0x4a3dd8(0x1cc),'params':{'unitId':_0x1d39de[_0x4e15e0][_0x4a3dd8(0x2aa)],..._0x1d39de[_0x4e15e0][_0x4a3dd8(0x238)]}},_0x503cc8=this[_0x4a3dd8(0x1a5)]['transformMutation'](_0x21342b,_0x304871,!0x1);if(_0x10b77e(_0x503cc8))throw _0x503cc8[_0x4a3dd8(0x2f7)];_0x21342b=_0x503cc8[_0x4a3dd8(0x216)];}return{..._0xc8644e[_0x4a3dd8(0x14a)](_0x753a5c),'mutations':[_0x21342b]};}[_0x47652e(0x1c8)](_0x3cdfe2){const _0x2118f8=_0x47652e,{unitID:_0x17cafd}=_0x3cdfe2,{history:_0x382120,collaboration:_0xc48747}=this[_0x2118f8(0x17d)][_0x2118f8(0x1eb)](_0x17cafd);if(_0x382120[_0x2118f8(0x1ae)]===0x0&&_0xc48747[_0x2118f8(0x1ae)]===0x0)return;const _0x3084d9=[],_0x32e33f=[];let _0x2759b0=_0xc8644e['deepClone'](_0x3cdfe2['mutations'][0x0]),_0x6031a5=_0xc8644e[_0x2118f8(0x14a)](_0x3cdfe2[_0x2118f8(0x275)][0x0]);for(let _0x3307d5=_0x382120[_0x2118f8(0x1ae)]-0x1;_0x3307d5>=0x0;_0x3307d5--){const _0x12005c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x382120[_0x3307d5][_0x2118f8(0x2aa)],..._0x382120[_0x3307d5][_0x2118f8(0x14d)]}},_0x2a89db={'id':_0x2118f8(0x1cc),'params':{'unitId':_0x382120[_0x3307d5][_0x2118f8(0x2aa)],..._0x382120[_0x3307d5][_0x2118f8(0x238)]}},_0x57901e=this[_0x2118f8(0x1a5)]['transformMutation'](_0x2759b0,_0x12005c,!0x1),_0x45e52d=this[_0x2118f8(0x1a5)]['transformMutation'](_0x6031a5,_0x2a89db,!0x1);if(_0x10b77e(_0x57901e))throw _0x57901e['error'];if(_0x10b77e(_0x45e52d))throw _0x45e52d['error'];_0x3084d9[_0x2118f8(0x2e7)]({..._0x382120[_0x3307d5],'undoState':_0x57901e[_0x2118f8(0x293)][_0x2118f8(0x242)],'redoState':_0x45e52d[_0x2118f8(0x293)][_0x2118f8(0x242)]}),_0x2759b0=_0x57901e[_0x2118f8(0x216)],_0x6031a5=_0x45e52d[_0x2118f8(0x216)];}_0x2759b0=_0xc8644e['deepClone'](_0x3cdfe2[_0x2118f8(0x275)][0x0]),_0x6031a5=_0xc8644e[_0x2118f8(0x14a)](_0x3cdfe2[_0x2118f8(0x275)][0x0]);for(let _0x307453=_0xc48747[_0x2118f8(0x1ae)]-0x1;_0x307453>=0x0;_0x307453--){const _0x27cc6a={'id':_0x2118f8(0x1cc),'params':{'unitId':_0xc48747[_0x307453][_0x2118f8(0x2aa)],..._0xc48747[_0x307453]['undoState']}},_0x3f1c97={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc48747[_0x307453]['unitId'],..._0xc48747[_0x307453][_0x2118f8(0x238)]}},_0x258cea=this[_0x2118f8(0x1a5)][_0x2118f8(0x1e2)](_0x2759b0,_0x27cc6a,!0x1),_0x5486fa=this[_0x2118f8(0x1a5)][_0x2118f8(0x1e2)](_0x6031a5,_0x3f1c97,!0x1);if(_0x10b77e(_0x258cea))throw _0x258cea[_0x2118f8(0x2f7)];if(_0x10b77e(_0x5486fa))throw _0x5486fa[_0x2118f8(0x2f7)];_0x32e33f[_0x2118f8(0x2e7)]({..._0xc48747[_0x307453],'undoState':_0x258cea[_0x2118f8(0x293)][_0x2118f8(0x242)],'redoState':_0x5486fa[_0x2118f8(0x293)][_0x2118f8(0x242)]}),_0x2759b0=_0x258cea[_0x2118f8(0x216)],_0x6031a5=_0x5486fa[_0x2118f8(0x216)];}this['_docStateChangeManagerService']['setStateCache'](_0x17cafd,{'history':_0x3084d9,'collaboration':_0x32e33f});}};oe=_n([Ee(0x0,_0x38933f(_0x25f6f5)),Ee(0x1,_0x453fd5),Ee(0x2,_0x38933f(_0x3be5ee))],oe);var hn=Object[_0x47652e(0x273)],un=(_0x2d1c39,_0x4430af,_0x2d13f7,_0x40a3b0)=>{const _0x3a68d9=_0x47652e;for(var _0x51d4d6=_0x40a3b0>0x1?void 0x0:_0x40a3b0?hn(_0x4430af,_0x2d13f7):_0x4430af,_0x40051f=_0x2d1c39[_0x3a68d9(0x1ae)]-0x1,_0x4e7d65;_0x40051f>=0x0;_0x40051f--)(_0x4e7d65=_0x2d1c39[_0x40051f])&&(_0x51d4d6=_0x4e7d65(_0x51d4d6)||_0x51d4d6);return _0x51d4d6;},it=(_0x54f9d6,_0x2956e2)=>(_0x2b9a83,_0xb2e42f)=>_0x2956e2(_0x2b9a83,_0xb2e42f,_0x54f9d6);let ae=class{constructor(_0x3486cc,_0x4c2db5){const _0x146338=_0x47652e;this[_0x146338(0x125)]=_0x3486cc,this[_0x146338(0x1a5)]=_0x4c2db5;}['transformSelections'](_0x222808){const _0x29244c=_0x47652e;var _0x4cf26f;const _0xf57c24=this[_0x29244c(0x125)][_0x29244c(0x2d1)](_0xcec8b2),_0xdbd431=(_0x4cf26f=_0xf57c24['getDocRanges']())!=null?_0x4cf26f:[];if(_0xdbd431[_0x29244c(0x1ae)]===0x0)return;const _0x3d16ed=_0x222808[_0x29244c(0x239)],_0x283e45=[{'id':_0x29244c(0x1cc),'params':{'unitId':_0x3d16ed,'actions':null,'textRanges':_0xdbd431}}],_0x53922f=this[_0x29244c(0x1a5)][_0x29244c(0x1f8)](_0x222808,_0x283e45);if(!_0x32f17f(_0x53922f))throw _0x53922f['error'];const _0x359be6=_0x53922f[_0x29244c(0x293)][0x0][_0x29244c(0x242)][_0x29244c(0x22b)];Array[_0x29244c(0x1f2)](_0x359be6)&&_0x359be6[_0x29244c(0x1ae)]&&_0xf57c24[_0x29244c(0x207)](_0x359be6,{'unitId':_0x3d16ed,'subUnitId':_0x3d16ed},!0x1);}};ae=un([it(0x0,_0x38933f(_0x25f6f5)),it(0x1,_0x453fd5)],ae);var dn=Object[_0x47652e(0x273)],fn=(_0x4cb9fc,_0x5cbb4c,_0x33bf4a,_0x4ab9b0)=>{const _0xb022b5=_0x47652e;for(var _0x10d54f=_0x4ab9b0>0x1?void 0x0:_0x4ab9b0?dn(_0x5cbb4c,_0x33bf4a):_0x5cbb4c,_0x5154df=_0x4cb9fc[_0xb022b5(0x1ae)]-0x1,_0x237e28;_0x5154df>=0x0;_0x5154df--)(_0x237e28=_0x4cb9fc[_0x5154df])&&(_0x10d54f=_0x237e28(_0x10d54f)||_0x10d54f);return _0x10d54f;},U=(_0x1a0c6e,_0x7bb25d)=>(_0xef4e95,_0x1939c9)=>_0x7bb25d(_0xef4e95,_0x1939c9,_0x1a0c6e);let ce=class extends _0x384885{constructor(_0x3dea63,_0x290f7d,_0x2638e7,_0x4e53c2,_0x59355d,_0x48627b,_0x107dd2,_0x11869b){const _0x3b47e6=_0x47652e;super(),_(this,_0x3b47e6(0x1c5),new _0x2fdfa5(_0x5e41af['NOT_COLLAB'])),(this[_0x3b47e6(0x17d)]=_0x3dea63,this[_0x3b47e6(0x14e)]=_0x290f7d,this[_0x3b47e6(0x2d9)]=_0x2638e7,this[_0x3b47e6(0x29c)]=_0x4e53c2,this[_0x3b47e6(0x290)]=_0x59355d,this[_0x3b47e6(0x270)]=_0x48627b,this[_0x3b47e6(0x180)]=_0x107dd2,this[_0x3b47e6(0x1b4)]=_0x11869b,this[_0x3b47e6(0x208)]());}[_0x47652e(0x208)](){const _0x14e8bc=_0x47652e;this[_0x14e8bc(0x20b)](this[_0x14e8bc(0x14e)][_0x14e8bc(0x2b0)][_0x14e8bc(0x284)](_0x3b39d6=>{const _0x3bc3b2=_0x14e8bc,_0x102468=this[_0x3bc3b2(0x17d)][_0x3bc3b2(0x188)][_0x3bc3b2(0x284)](_0x3830bc=>{const _0x3dc6ff=_0x3bc3b2;if(_0x3830bc==null)return;const {unitId:_0x2eaf44,redoState:_0x37433a,commandId:_0x42f5f8}=_0x3830bc;if(_0x2eaf44!==_0x3b39d6[_0x3dc6ff(0x239)])return;const _0x3b6d79={'id':_0x42f5f8,'type':_0x255ff6[_0x3dc6ff(0x1b2)],'params':{'unitId':_0x2eaf44,'actions':_0x37433a[_0x3dc6ff(0x185)],'textRanges':null}};_0x3b39d6[_0x3dc6ff(0x259)](_0x3b6d79);});if(_0x3b39d6[_0x3bc3b2(0x20b)](_0x102468),_0x3b39d6 instanceof _0x3d384b){const _0x611724={'onTransformIME':_0x16c0cb=>this[_0x3bc3b2(0x2d9)][_0x3bc3b2(0x23a)](_0x16c0cb),'onTransformState':_0x23679a=>this['_docTransformStateCacheService'][_0x3bc3b2(0x2f4)](_0x23679a),'onTransformSelections':_0x4c6014=>this['_docTransformSelectionsService'][_0x3bc3b2(0x1b9)](_0x4c6014),'onSyncEditingCollabCursor':_0x5c0b2c=>this[_0x3bc3b2(0x270)]['syncEditingCollabCursor'](_0x5c0b2c),'onTransformRemoteChangesetByIMECache':_0x55e223=>this[_0x3bc3b2(0x2d9)][_0x3bc3b2(0x244)](_0x55e223),'onTransformRemoteChangesetByStateCache':_0x513ad9=>this[_0x3bc3b2(0x29c)][_0x3bc3b2(0x244)](_0x513ad9)};_0x3b39d6[_0x3bc3b2(0x151)](_0x611724);}}));}};ce=fn([U(0x0,_0x38933f(_0x3be5ee)),U(0x1,_0x38933f(_0x1ac2fc)),U(0x2,_0x38933f(re)),U(0x3,_0x38933f(oe)),U(0x4,_0x38933f(ae)),U(0x5,_0x38933f(je)),U(0x6,_0x1e2ca9),U(0x7,_0x38933f(_0x2002bb))],ce);var Sn=Object[_0x47652e(0x273)],mn=(_0x592dab,_0x14e7dd,_0x4d4daf,_0x443ebe)=>{for(var _0x28d15a=_0x443ebe>0x1?void 0x0:_0x443ebe?Sn(_0x14e7dd,_0x4d4daf):_0x14e7dd,_0x16b968=_0x592dab['length']-0x1,_0x25ad32;_0x16b968>=0x0;_0x16b968--)(_0x25ad32=_0x592dab[_0x16b968])&&(_0x28d15a=_0x25ad32(_0x28d15a)||_0x28d15a);return _0x28d15a;},be=(_0x4286a2,_0x4bf09a)=>(_0x2bb7f3,_0x948aad)=>_0x4bf09a(_0x2bb7f3,_0x948aad,_0x4286a2);let Ae=class extends _0x384885{constructor(_0x2594b0,_0x5ba07e,_0x340442){const _0x4d544b=_0x47652e;super(),_(this,_0x4d544b(0x166),new Map()),_(this,_0x4d544b(0x136),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x2594b0,this['_localStorageService']=_0x5ba07e,this[_0x4d544b(0x19b)]=_0x340442);}[_0x47652e(0x144)](){this['_disabled']=!0x0;}[_0x47652e(0x20e)](){const _0x176f90=_0x47652e;this[_0x176f90(0x2b9)]=!0x1;}get[_0x47652e(0x18b)](){const _0x12d843=_0x47652e;return this[_0x12d843(0x136)];}[_0x47652e(0x2a9)](){const _0x354b70=_0x47652e;this[_0x354b70(0x11d)]()[_0x354b70(0x174)](()=>super[_0x354b70(0x2a9)]());}async[_0x47652e(0x113)](_0x482b12){const _0x4aec33=_0x47652e;return this[_0x4aec33(0x2b9)]?null:this['_localStorageService']['getItem'](_0x3231fc(_0x482b12));}async[_0x47652e(0x23e)](_0x7af269,_0x1c9feb){const _0x258962=_0x47652e;return!!this[_0x258962(0x1c7)]['setItem'](_0x7af269,_0x1c9feb);}['updateOfflineData'](_0x1b9fdc,_0x1982c3,_0x1c5f55,_0x3dc0cc){const _0x185106=_0x47652e,_0x466afc=this['_revisionService'][_0x185106(0x219)](_0x1b9fdc);this[_0x185106(0x166)]['set'](_0x1b9fdc,{'unitID':_0x1b9fdc,'type':_0x1982c3,'awaitingChangeset':_0x1c5f55,'mutations':_0x3dc0cc,'rev':_0x466afc}),this['_saveTaskMap']['has'](_0x1b9fdc)||this[_0x185106(0x280)](_0x1b9fdc);}['_scheduleSaving'](_0x1b0380){const _0x20262e=_0x47652e,_0x3d2532=this['_getSaveTimeout']();_0x3d2532===0x0?this[_0x20262e(0x2ec)](_0x1b0380):this[_0x20262e(0x136)][_0x20262e(0x28c)](_0x1b0380,setTimeout(()=>this[_0x20262e(0x2ec)](_0x1b0380),_0x3d2532));}[_0x47652e(0x2f8)](){const _0x294693=_0x47652e;var _0xac64a9;return(_0xac64a9=this[_0x294693(0x1a4)][_0x294693(0x20d)](_0x4289df))!=null?_0xac64a9:_0x36f304;}[_0x47652e(0x2ec)](_0x1b1644){const _0x352301=_0x47652e,_0x48961e=this[_0x352301(0x136)][_0x352301(0x2d1)](_0x1b1644);return _0x48961e!==void 0x0&&window[_0x352301(0x204)](_0x48961e),this[_0x352301(0x1c7)]['setItem'](_0x3231fc(_0x1b1644),this[_0x352301(0x166)][_0x352301(0x2d1)](_0x1b1644))[_0x352301(0x174)](()=>this[_0x352301(0x136)][_0x352301(0x2bb)](_0x1b1644));}async[_0x47652e(0x11d)](){const _0x2a1dfa=_0x47652e,_0xd85b5f=[];this['_saveTaskMap'][_0x2a1dfa(0x2c9)]((_0x28820a,_0x449251)=>{const _0x422d59=_0x2a1dfa;window['clearTimeout'](_0x28820a),_0xd85b5f[_0x422d59(0x277)](this[_0x422d59(0x2ec)](_0x449251)[_0x422d59(0x174)](()=>{const _0x477dbd=_0x422d59;this[_0x477dbd(0x136)][_0x477dbd(0x2bb)](_0x449251);}));}),await Promise[_0x2a1dfa(0x163)](_0xd85b5f);}};Ae=mn([be(0x0,_0x39c3f3),be(0x1,_0x27a311),be(0x2,_0x38933f(_0x4b3b6d))],Ae);class gn extends _0x12a484{constructor(){const _0x2550e2=_0x47652e;super(),_(this,'urlChange$'),this[_0x2550e2(0x1af)]=_0x49c5e6(window,_0x2550e2(0x1e3))[_0x2550e2(0x2af)](_0xc03def(this['dispose$']),_0x3067c1(0x1),_0x1980b0(void 0x0));}['setParam'](_0x43cd94,_0x176552,_0x1b5ebe=!0x1){const _0x35a20e=_0x47652e,_0x4c0207=new URL(window['location'][_0x35a20e(0x181)]);_0x4c0207['searchParams']['set'](_0x43cd94,_0x176552),_0x1b5ebe?window[_0x35a20e(0x126)]['replaceState']('','',_0x4c0207[_0x35a20e(0x1f6)]()):window[_0x35a20e(0x126)]['pushState']('','',_0x4c0207[_0x35a20e(0x1f6)]());}[_0x47652e(0x274)](_0x15575e,_0x5471c8=!0x1){const _0x1955d7=_0x47652e,_0x48baf7=new URL(window[_0x1955d7(0x11b)][_0x1955d7(0x181)]);_0x48baf7[_0x1955d7(0x2fd)][_0x1955d7(0x2bb)](_0x15575e),_0x5471c8?window[_0x1955d7(0x126)][_0x1955d7(0x2bc)]('','',_0x48baf7['toString']()):window['history'][_0x1955d7(0x17f)]('','',_0x48baf7[_0x1955d7(0x1f6)]());}['getParam'](_0x5dd4f1){const _0x5b35d5=_0x47652e;var _0x523511;return(_0x523511=new URL(window[_0x5b35d5(0x11b)][_0x5b35d5(0x181)])[_0x5b35d5(0x2fd)][_0x5b35d5(0x2d1)](_0x5dd4f1))!=null?_0x523511:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0x47652e(0x273)],pn=(_0x2be79f,_0x220c9a,_0x3579df)=>_0x220c9a in _0x2be79f?vn(_0x2be79f,_0x220c9a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3579df}):_0x2be79f[_0x220c9a]=_0x3579df,Cn=(_0x20e28c,_0x42fcb9,_0x56b9d5,_0x4da5e2)=>{for(var _0x34994c=_0x4da5e2>0x1?void 0x0:_0x4da5e2?In(_0x42fcb9,_0x56b9d5):_0x42fcb9,_0x31efb2=_0x20e28c['length']-0x1,_0x33531b;_0x31efb2>=0x0;_0x31efb2--)(_0x33531b=_0x20e28c[_0x31efb2])&&(_0x34994c=_0x33531b(_0x34994c)||_0x34994c);return _0x34994c;},Oe=(_0x510fd2,_0x543028)=>(_0x4fa489,_0x5c7569)=>_0x543028(_0x4fa489,_0x5c7569,_0x510fd2),En=(_0x5bc454,_0x115f9a,_0x392c2d)=>pn(_0x5bc454,_0x115f9a+'',_0x392c2d);const bn=_0x47652e(0x17c);let ye=class extends _0x5e5ea8{constructor(_0x1de2c6=st,_0x5cf808,_0x1128b8,_0x2187cf){const _0xf8a81a=_0x47652e;super(),this[_0xf8a81a(0x2c7)]=_0x1de2c6,this['_renderManagerService']=_0x5cf808,this[_0xf8a81a(0x125)]=_0x1128b8,this[_0xf8a81a(0x1a4)]=_0x2187cf;const {..._0x9d8a2d}=_0x3770bd({},st,this[_0xf8a81a(0x2c7)]);this[_0xf8a81a(0x1a4)][_0xf8a81a(0x19e)](nn,_0x9d8a2d);}[_0x47652e(0x2c1)](){const _0x471815=_0x47652e;this[_0x471815(0x141)](),this[_0x471815(0x2b7)]();}[_0x47652e(0x119)](){const _0x111b5f=_0x47652e;this[_0x111b5f(0x17e)]();}[_0x47652e(0x141)](){const _0x2b93cb=_0x47652e;var _0x29ddd4;const _0x29878a=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x27b219,{'useClass':_0x3ecce5}],[_0xe42509,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x25a896(this[_0x2b93cb(0x125)],_0x1191a4(_0x29878a,(_0x29ddd4=this[_0x2b93cb(0x2c7)])==null?void 0x0:_0x29ddd4[_0x2b93cb(0x162)]));}[_0x47652e(0x17e)](){const _0x4a339d=_0x47652e;this['disposeWithMe'](this[_0x4a339d(0x28d)][_0x4a339d(0x118)](_0x1e3aeb['UNIVER_DOC'],[we])),this[_0x4a339d(0x20b)](this[_0x4a339d(0x28d)][_0x4a339d(0x118)](_0x1e3aeb[_0x4a339d(0x26a)],[Le]));}[_0x47652e(0x2b7)](){const _0x53ca6d=_0x47652e;_0x40c7b8(this[_0x53ca6d(0x125)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x3d0a4d(_0x1d1770),Oe(0x1,_0x127e53),Oe(0x2,_0x38933f(_0x25f6f5)),Oe(0x3,_0x39c3f3)],ye);var On=Object[_0x47652e(0x273)],Tn=(_0x7b8fbe,_0xb138bd,_0x351ddf,_0x29461b)=>{const _0x461591=_0x47652e;for(var _0x213c77=_0x29461b>0x1?void 0x0:_0x29461b?On(_0xb138bd,_0x351ddf):_0xb138bd,_0x13edd3=_0x7b8fbe[_0x461591(0x1ae)]-0x1,_0x412406;_0x13edd3>=0x0;_0x13edd3--)(_0x412406=_0x7b8fbe[_0x13edd3])&&(_0x213c77=_0x412406(_0x213c77)||_0x213c77);return _0x213c77;},z=(_0x18af66,_0x1a5fd6)=>(_0x370591,_0x22eab5)=>_0x1a5fd6(_0x370591,_0x22eab5,_0x18af66);let nt=class extends _0x5e16db{constructor(_0x22dee2,_0x1e0ca0,_0x5d21c4,_0x42db8c,_0x302644){super(_0x22dee2,_0x1e0ca0,_0x5d21c4,_0x42db8c,_0x302644);}async[_0x47652e(0x14c)](_0x1ae633){const _0x390d58=_0x47652e,_0x28a1d2=await this[_0x390d58(0x1fe)](),_0x3292f2=this['_createSocketURL'](_0x1ae633,_0x28a1d2);return this[_0x390d58(0x2f3)](_0x3292f2);}[_0x47652e(0x124)](_0x43cd8c,_0xa56841){const _0x113e16=_0x47652e,_0x3c0006=typeof window>'u'?new URL(_0x43cd8c):new URL(_0x43cd8c,window['location'][_0x113e16(0x2fa)]);_0x3c0006[_0x113e16(0x2fd)][_0x113e16(0x28c)](_0x113e16(0x2e3),_0xa56841);const _0x7461ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x113e16(0x11b)][_0x113e16(0x2fe)]);return _0x7461ee['get'](_0x113e16(0x298))&&_0x3c0006[_0x113e16(0x2fd)][_0x113e16(0x28c)](_0x113e16(0x298),_0x7461ee[_0x113e16(0x2d1)](_0x113e16(0x298))),_0x3c0006[_0x113e16(0x1f6)]();}async[_0x47652e(0x1fe)](){const _0xd13cc8=_0x47652e;var _0x47246b,_0x13e2ab,_0x2db085;const _0x74655c=this[_0xd13cc8(0x1a4)]['getConfig'](_0x525ae3),_0x2cee38=(_0x47246b=_0x74655c==null?void 0x0:_0x74655c[_0xd13cc8(0x2a8)])!=null?_0x47246b:_0x11af0b;return(_0x2db085=(_0x13e2ab=(await this[_0xd13cc8(0x1c3)]['get'](_0x2cee38,{'headers':{'Content-Type':'application/json'}}))[_0xd13cc8(0x175)])==null?void 0x0:_0x13e2ab[_0xd13cc8(0x17a)])!=null?_0x2db085:'';}};nt=Tn([z(0x0,_0x38933f(_0x25f6f5)),z(0x1,_0x38933f(_0x482412)),z(0x2,_0x39c3f3),z(0x3,_0xf9b56d),z(0x4,_0x32e2e5)],nt);const rt=0x7530,ot=_0x47652e(0x250);function _0x10fe(){const _0x67a47a=['getStateCache','YUUMI_URL_COL_OUT_OF_RANGE','closePath','_drawTextRange','complete','_session','_name','isArray','_init','url(#$1','collabStatus.fetchMiss','toString','_drawAnchor','transformMutationsWithChangeset','type','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_memberService','_assignedColors','_getSessionTicket','clipPath','_transformPreviousActiveRange','restore','SOCKET_FAILED_RETRY','on-line-single','clearTimeout','_collabCursorController','OffLineSingle','replaceDocRanges','_initEntityListener','_urlService','YUUMI_NO_CUBOID_FOR_QUESTION','disposeWithMe','getCellPositionByOffset','getConfig','enableLocalCache','_univerInstanceService','getOwnPropertySymbols','_startSheetCollabCursor','text','translate(.97)','getUniverSheetInstance','MoveRangeCommandId','m1Prime','M0\x200H16V16H0z','send','getCurrentRevOfUnit','ranges','0\x200\x2016\x2016','Error','_scheduleClearOtherTimer','_roomMembers$','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationUIEventService','_commandService','icon','_sheetSkeletonManagerService','triggerDblclick','USER_NOT_INVITED_CODE','transform','666100ukjLQQ','_cursor','height','_cursorInfo$','textRanges','eventID','session.will-retry','_cursors','UNAUTHENTICATED','unit','_onCursorDelete','result','collaboration.closeRoom','entries','addEventListener','INTERNAL_ERROR','COMPLETION_FINISHED','redoState','unitID','transformIMECache','_updateURLWithCurrentState','row','url(#on-line-single_clip0_910_349)','saveOfflineData','memberID','_draw','div','params','InsertRowCommandId','transformRemoteChangeset','event$','_initCommandExecutedListener','_eventUnsubscribe','getTypeOfUnitAdded$','TOO_MANY_REQUESTS','_getScale','clearInterval','getValue','name','_scheduleHeartbeat','currentSkeleton$','ACTIVE_UNIT_EVENT_CHANNEL','onTransformChange$','rgba(255,\x20255,\x20255,\x200.01)','collabStatus.offline','replace','getTypeOfUnitDisposed$','getActiveSheet','generateRandomId','_beforeCloseService','onLocalMutation','mask','fillStyle','_transformUndoRedoStack','indexOf','_colorIndex','_hideTimer','_hover','FromArray','getDocRanges','_refreshCollabCursors','unload','getViewport','JOIN_ROOM_FAILED','_onCursorUpdate','SNAPSHOT_HAS_BEEN_REMOVED','_anchorDot','UNIVER_SHEET','[CollaborationDataLoaderController]','lineTo','onMouseMove','displayName','_online','_docSyncEditingCollabCursorService','toRgbString','UNRECOGNIZED','getOwnPropertyDescriptor','removeParam','mutations','_id','push','color','map','_getAnchorBounding','column','_handleHover','_getSheetObject','setParam','Warning','_scheduleSaving','_localCacheService','onPointerLeave$','none','subscribe','has','_updateLocalCursor','200627DOHPya','_unitOnClients','_setupBeforeClosingHandler','setActiveRange','UniverIcon','set','_renderManagerService','executionId','_ensureSubject','_docTransformSelectionsService','_refRangeService','_document','m2Prime','getUndoRedoMutationParamsCache','getMember','YUUMI_RATE_OVER_LIMIT','className','runId','601164IntJfG','setItem','cursorInfo','_docTransformStateCacheService','getUnhiddenWorksheets','size','registerRefRange','defs','extend','_collabCursorState$','_removeClearOtherTimer','path','_color','collabCursorState$','attrs','wsSessionTicketUrl','dispose','unitId','PENDING','measureText','APPLY_REJECT','InsertColCommandId','pipe','entityInit$','PY_RUNTIME_SCRIPT_ERROR','debug','...','top','#FFF','setAlpha','_initDependencies','_initEvent','_disabled','arc','delete','replaceState','DeleteRangeMoveLeftCommandId','OTHER_CLIENTS_EDITING','split','440805PtFlTU','onStarting','1em','sheetId','AWAITING_WITH_PENDING','sheetID','tag','_config','_handleEvent','forEach','ENSURE_SNAPSHOT_EXECUTION','onlineStatusIcon','getSheetId','OFFLINE','MOBILE_HAS_BEEN_BOUND','_entities','on-line-single_clip0_910_349','get','subUnitId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','font','disposeUnit','getOffsetConfig','_entityInit$','CONFLICT','_docTransformIMECacheService','getSheetBySheetId','addObject','init','isEditing','Failed','startsWith','RemoveRowCommandId','collab-text-anchor-','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionTicket','_syncEditingCollabCursorService','_context','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unshift','USERS_LEAVE','drawWith','roomMembers$','unsubscribe','_saveCache','_logService','selections','6YBalrE','defIds','_lastPointer','onCommandExecuted','_doCreateSocket','transformStateCache','_handleLeaveEvent','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','error','_getSaveTimeout','min','origin','#fff','findNodePositionByCharIndex','searchParams','search','SOCKET_FAILED','newValue','setTimeout','dispose$','permission.content','getCollabEntity$','red300','getVpScrollXYInfoByPosToVp','getUnitId','blue400','INVITE_CODE_ALREADY_BOUND','syncEditingCollabCursor','getRangePointData','max','random','FETCH_MISS','univer-online','loadUnit','collab-client.tooltip.reconnect','loadOfflineData','449588cfzSOH','string','getSkeleton','LICENSE_EXPORT_SIZE_EXCEEDED','registerRenderModule','onRendered','RECT','location','backgroundColor','exhaustSavingTask','add','current','session.connection-failed','save','APPLY_NON_SEQUENTIAL_REVISION','collab-text-range-','_createSocketURL','_injector','history','verdancy600','setShapeProps','getRenderById','UNIVER_DOC','collaboration-client.offline-data-not-saved','AWAITING','colorChannel1','assign','UPDATE_CURSOR','subunit','_colorAssignService','endRow','includes','stringify','propertyIsEnumerable','_saveTaskMap','CHANGESET_REVISION_CONFILICT','Unknown\x20user','addObjects','key','_labelPosition','APPLY_REVISION_CONFILICT','_hovered','getCurrent','substring','hide','_registerDependencies','data','flatMap','disableLocalCache','xlink:href','fillRule','idSuffix','source','online','deepClone','collabStatus.synced','createSocket','undoState','_collaborationController','univer-online-status-icon','url(#off-line-single_clip0_910_343)','addHandlerCallback','InsertRangeMoveRightCommandId','_themeService','_range','onPointerMove$','NOT_COLLAB','_unitStatus','OnLineSingle','getCollabCursors$','_instanceService','values','_initStatusListener','cursorInfo$','YUUMI_ASYNCIO_CANCELLED','hasOwnProperty','width','_notificationService','override','all','SNAPSHOT_INVALID_SNAPSHOT','jiqing500','_cachedData','_scene','isActive','some','TEXT','children','_shapes','createInstance','status$','_cursorShapes','executeCommand','LICENSE_MAX_UNITS_EXCEEDED','svg','getAncestorScale','then','body','asObservable','LICENSE_IMPORT_SIZE_EXCEEDED','saveImage','evenodd','ticket','roomMembers','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docStateChangeManagerService','_registerRenderDependencies','pushState','_messageService','href','assignAColorForMemberID','getParam','makeDirty','actions','hovered','PERMISSION_DENIED','docStateChange$','defineProperty','function','saveTaskMap','_imageIoService','DeleteRangeMoveUpCommandId','_clearOtherTimers','_selfUnitIDs','find','_toggleOffline','fill','currentColor','getFocusedUnit','sessionStatus$','onlineStatusTitle','_toggleOnline','_updateCollabCursors','off-line-single','black','_revisionService','moveTo','bottom','setConfig','_setupSubUnitSync','INVITE_CODE_REQUIRED','_anchor','onlineStatus','_initStatusComponent','_configService','_transformService','registerBeforeClose','prototype','addClipboardHook','setUndoRedoMutationParamsCache','_getMergeRange','reconnect','APPLY_DUPLICATED','range','length','urlChange$','_dataLoaderService','_heartbeatTimer','MUTATION','labelPosition','_localeService','_backgroundColor','SUBMIT_CHANGESET_TIMEOUT','_docClipboardService','4041968bneFjJ','transformSelections','ALREADY_EXISTS','requireSession','_handleHeartbeatEvent','univer-flex\x20univer-items-center','with','round','294741luUjrI','getUnitStatus$','LOGIN_FAILED','_httpService','registerComponent','_status$','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','_localStorageService','_transformHistoryAndStateStack','whenReady','subscribeEvent','_onRefRangeChange','doc.mutation.rich-text-editing','ONLINE','_send','next','NOT_FOUND','_removeCollabCursors','storage','code','_startDocCollabCursor','_textBubble','collabStatus.conflict','gold400','_drawRectRange','editingUnit','focused$','offline','univer-offline','_render','univer-online-status','concat','_collabSessionService','show','transformMutation','popstate','selection','call','INVALID_INVITE_CODE','RemoveColCommandId','/run/','NO_OTHER_CLIENTS_EDITING','LICENSE_DISTRO_REJECTED'];_0x10fe=function(){return _0x67a47a;};return _0x10fe();}class Gn extends _0x384885{constructor(){const _0x39db50=_0x47652e;super(),_(this,_0x39db50(0x276),_0x30a6a5()),_(this,_0x39db50(0x18f),new Set()),_(this,_0x39db50(0x288),new Map()),_(this,_0x39db50(0x1b1),null),_(this,_0x39db50(0x18e),new Map()),_(this,_0x39db50(0x157),new Map()),this[_0x39db50(0x1f3)]();}[_0x47652e(0x2a9)](){const _0x4e8702=_0x47652e;super['dispose'](),this['_clearOtherTimers'][_0x4e8702(0x2c9)]((_0x4dc42e,_0xb75e9d)=>this[_0x4e8702(0x2a3)](_0xb75e9d)),this[_0x4e8702(0x1b1)]&&window[_0x4e8702(0x24b)](this[_0x4e8702(0x1b1)]);}[_0x47652e(0x1c1)](_0x550c74){const _0x15f4f0=_0x47652e;return this[_0x15f4f0(0x28f)](_0x550c74)[_0x15f4f0(0x2af)](_0x5c0f80());}[_0x47652e(0x1d9)](_0x12c475){const _0x3c3b2b=_0x47652e;this[_0x3c3b2b(0x18f)][_0x3c3b2b(0x29e)]===0x0&&this[_0x3c3b2b(0x24e)](),this[_0x3c3b2b(0x18f)][_0x3c3b2b(0x11e)](_0x12c475),this[_0x3c3b2b(0x1ce)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x12c475],'isForwarded':!0x1});}[_0x47652e(0x2d5)](_0x19ec98){const _0x1d5ad5=_0x47652e;this[_0x1d5ad5(0x18f)][_0x1d5ad5(0x2bb)](_0x19ec98),this[_0x1d5ad5(0x18f)][_0x1d5ad5(0x29e)]===0x0&&this[_0x1d5ad5(0x1b1)]&&window['clearInterval'](this[_0x1d5ad5(0x1b1)]);}['_init'](){const _0x15cc1f=_0x47652e;this[_0x15cc1f(0x20b)](_0x321066(_0x49c5e6(window,_0x15cc1f(0x1d2))[_0x15cc1f(0x284)](_0xbbdbed=>{const _0x353c3e=_0x15cc1f;if(_0xbbdbed[_0x353c3e(0x13a)]!==ot||!_0xbbdbed[_0x353c3e(0x300)])return;const _0x18b28f=JSON['parse'](_0xbbdbed['newValue']);this[_0x353c3e(0x2c8)](_0x18b28f);}))),window[_0x15cc1f(0x235)](_0x15cc1f(0x264),()=>this[_0x15cc1f(0x1ce)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x15cc1f(0x18f)])}));}[_0x47652e(0x2c8)](_0x7e85e3){const _0x2cf519=_0x47652e;switch(_0x7e85e3[_0x2cf519(0x1f9)]){case 0x0:this['_handleJoinEvent'](_0x7e85e3);break;case 0x1:this[_0x2cf519(0x2f5)](_0x7e85e3);break;case 0x2:this[_0x2cf519(0x1bc)](_0x7e85e3);break;}}['_handleJoinEvent'](_0x607bd2){const _0x24d12e=_0x47652e,{unitIDs:_0x4c168d,memberID:_0x5629b1,isForwarded:_0x4a4dbe}=_0x607bd2;_0x4c168d[_0x24d12e(0x2c9)](_0x59633d=>{const _0x5c775f=_0x24d12e;if(!_0x4a4dbe&&this['_unitOnClients'][_0x5c775f(0x285)](_0x59633d)&&this[_0x5c775f(0x28f)](_0x59633d)['next'](_0xb52d7c[_0x5c775f(0x2be)]),!this[_0x5c775f(0x288)][_0x5c775f(0x285)](_0x59633d)||!this[_0x5c775f(0x288)][_0x5c775f(0x2d1)](_0x59633d)[_0x5c775f(0x285)](_0x5629b1)){const _0x8b8275=this[_0x5c775f(0x288)][_0x5c775f(0x2d1)](_0x59633d)||new Set();_0x8b8275[_0x5c775f(0x11e)](_0x5629b1),this[_0x5c775f(0x288)][_0x5c775f(0x28c)](_0x59633d,_0x8b8275),this[_0x5c775f(0x21d)](_0x5629b1);}}),_0x4a4dbe||this[_0x24d12e(0x1ce)]({'type':0x0,'memberID':this[_0x24d12e(0x276)],'unitIDs':[...this[_0x24d12e(0x18f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x52b291){const _0x366efd=_0x47652e;this[_0x366efd(0x2a3)](_0x52b291);const _0x55cf88=window[_0x366efd(0x301)](()=>{const _0x5633c2=_0x366efd;this[_0x5633c2(0x288)][_0x5633c2(0x2c9)](_0x25fda0=>{const _0x4e7e61=_0x5633c2;_0x25fda0[_0x4e7e61(0x2bb)](_0x52b291);});},rt*0x2);this['_clearOtherTimers'][_0x366efd(0x28c)](_0x52b291,_0x55cf88);}[_0x47652e(0x2a3)](_0x3a462f){const _0x268106=_0x47652e;if(this[_0x268106(0x18e)][_0x268106(0x285)](_0x3a462f)){const _0x22d05d=this[_0x268106(0x18e)][_0x268106(0x2d1)](_0x3a462f);_0x22d05d&&window[_0x268106(0x204)](_0x22d05d),this[_0x268106(0x18e)][_0x268106(0x28c)](_0x3a462f,null);}}[_0x47652e(0x2f5)](_0x10d829){const _0x388c68=_0x47652e,{memberID:_0x26a1cc,unitIDs:_0x3c7710}=_0x10d829;_0x3c7710[_0x388c68(0x2c9)](_0x3b4d69=>{const _0x3db5ab=_0x388c68;var _0x1f0803;const _0x5e1216=this[_0x3db5ab(0x288)][_0x3db5ab(0x2d1)](_0x3b4d69);_0x5e1216&&(_0x5e1216[_0x3db5ab(0x2bb)](_0x26a1cc),(_0x1f0803=this[_0x3db5ab(0x28f)](_0x3b4d69))==null||_0x1f0803[_0x3db5ab(0x1cf)](_0x5e1216[_0x3db5ab(0x29e)]===0x0?_0xb52d7c[_0x3db5ab(0x1e9)]:_0xb52d7c['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x26a1cc);}['_handleHeartbeatEvent'](_0x50c497){const _0x1235bf=_0x47652e;this[_0x1235bf(0x21d)](_0x50c497[_0x1235bf(0x23f)]);}[_0x47652e(0x1ce)](_0x54f054){const _0x28b98f=_0x47652e;localStorage[_0x28b98f(0x29a)](ot,JSON[_0x28b98f(0x134)](_0x54f054));}[_0x47652e(0x24e)](){const _0x18b62b=_0x47652e;this[_0x18b62b(0x1b1)]=window['setInterval'](()=>{const _0x22a977=_0x18b62b;this[_0x22a977(0x1ce)]({'type':0x2,'memberID':this[_0x22a977(0x276)]});},rt);}[_0x47652e(0x28f)](_0x2a267d){const _0x291d33=_0x47652e;return this[_0x291d33(0x157)]['has'](_0x2a267d)||this['_unitStatus']['set'](_0x2a267d,new _0x2fdfa5(_0xb52d7c[_0x291d33(0x1e9)])),this['_unitStatus'][_0x291d33(0x2d1)](_0x2a267d);}}var wt=(_0x5f3eb3=>(_0x5f3eb3[_0x5f3eb3['UNDEFINED']=0x0]='UNDEFINED',_0x5f3eb3[_0x5f3eb3['OK']=0x1]='OK',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x236)]=0x2]=_0x47652e(0x236),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x187)]=0x3]='PERMISSION_DENIED',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x1d0)]=0x4]=_0x47652e(0x1d0),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x22f)]=0x5]=_0x47652e(0x22f),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x1ba)]=0x6]=_0x47652e(0x1ba),_0x5f3eb3[_0x5f3eb3['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x249)]=0x8]=_0x47652e(0x249),_0x5f3eb3[_0x5f3eb3['COMPLETION_FINISHED']=0x9]=_0x47652e(0x237),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x1c2)]=0xa]=_0x47652e(0x1c2),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x137)]=0x1389]=_0x47652e(0x137),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x164)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x268)]=0x1772]=_0x47652e(0x268),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x2ca)]=0x1773]=_0x47652e(0x2ca),_0x5f3eb3[_0x5f3eb3['APPLY_REJECT']=0x1b59]=_0x47652e(0x2ad),_0x5f3eb3[_0x5f3eb3['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x47652e(0x122),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x13c)]=0x1b5b]=_0x47652e(0x13c),_0x5f3eb3[_0x5f3eb3['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x1ac)]=0x1b5d]=_0x47652e(0x1ac),_0x5f3eb3[_0x5f3eb3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x171)]=0x2329]=_0x47652e(0x171),_0x5f3eb3[_0x5f3eb3['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x177)]=0x232b]=_0x47652e(0x177),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x117)]=0x232c]=_0x47652e(0x117),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x1ea)]=0x232d]=_0x47652e(0x1ea),_0x5f3eb3[_0x5f3eb3['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x1ec)]=0x2712]=_0x47652e(0x1ec),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x296)]=0x2713]=_0x47652e(0x296),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x21f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x20a)]=0x271a]=_0x47652e(0x20a),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x15e)]=0x271b]=_0x47652e(0x15e),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x2b1)]=0x2af9]=_0x47652e(0x2b1),_0x5f3eb3[_0x5f3eb3['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x47652e(0x1fa),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x1e6)]=0x2ee2]=_0x47652e(0x1e6),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x1a0)]=0x2ee3]=_0x47652e(0x1a0),_0x5f3eb3[_0x5f3eb3[_0x47652e(0x225)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x10a)]=0x2ee5]=_0x47652e(0x10a),_0x5f3eb3[_0x5f3eb3['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x2ce)]=0x32ca]=_0x47652e(0x2ce),_0x5f3eb3[_0x5f3eb3['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5f3eb3[_0x5f3eb3[_0x47652e(0x272)]=-0x1]='UNRECOGNIZED',_0x5f3eb3))(wt||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x3b5e89,_0x4f6330,_0x439f8a,_0x5dc27e)=>{const _0x36c4fb=_0x47652e;for(var _0x282f7f=_0x5dc27e>0x1?void 0x0:_0x5dc27e?Rn(_0x4f6330,_0x439f8a):_0x4f6330,_0x274dd0=_0x3b5e89[_0x36c4fb(0x1ae)]-0x1,_0x13e75b;_0x274dd0>=0x0;_0x274dd0--)(_0x13e75b=_0x3b5e89[_0x274dd0])&&(_0x282f7f=_0x13e75b(_0x282f7f)||_0x282f7f);return _0x282f7f;},Te=(_0x381fdc,_0x882bbf)=>(_0x29dd8f,_0x1f4019)=>_0x882bbf(_0x29dd8f,_0x1f4019,_0x381fdc);let at=class extends _0x384885{constructor(_0x5250e1,_0x481a40,_0x52950b){const _0x2d4d13=_0x47652e;super(),this[_0x2d4d13(0x15a)]=_0x5250e1,this['_httpService']=_0x481a40,this[_0x2d4d13(0x1a4)]=_0x52950b;}async['runOnServer'](_0x423130,_0x4f0d25,_0x32888a,..._0x96d675){const _0x547f1e=_0x47652e;var _0x10bbd8,_0x123f03,_0x17e19b,_0x765d6e;const _0x510450=this[_0x547f1e(0x15a)][_0x547f1e(0x194)]();if(!_0x510450)throw new Error(_0x547f1e(0x1fb));const _0x5326e3=((_0x10bbd8=this[_0x547f1e(0x1a4)][_0x547f1e(0x20d)](_0x30691e))!=null?_0x10bbd8:_0x4d3db7)+'/'+_0x423130+_0x547f1e(0x1e8)+_0x4f0d25,_0x4c8525=new URL(window['location'][_0x547f1e(0x181)]),_0x54217b={'scriptId':_0x423130,'runId':(_0x123f03=_0x4c8525[_0x547f1e(0x2fd)][_0x547f1e(0x2d1)]('runId'))!=null?_0x123f03:'','function':_0x4f0d25,'unitId':_0x510450['getUnitId'](),'argsOfFunction':JSON[_0x547f1e(0x134)](_0x96d675),'invokeId':(_0x17e19b=_0x32888a['invokeId'])!=null?_0x17e19b:'','executionId':(_0x765d6e=_0x32888a[_0x547f1e(0x28e)])!=null?_0x765d6e:''};try{const _0x303542=await this[_0x547f1e(0x1c3)]['post'](_0x5326e3,{'body':_0x54217b});return _0x303542[_0x547f1e(0x175)]['error']&&_0x303542[_0x547f1e(0x175)][_0x547f1e(0x2f7)][_0x547f1e(0x1d3)]!==wt['OK']?_0x547f1e(0x2de):_0x303542[_0x547f1e(0x175)][_0x547f1e(0x232)];}catch{return _0x547f1e(0x2de);}}};at=Dn([Te(0x0,_0x365edf),Te(0x1,_0x38933f(_0x482412)),Te(0x2,_0x39c3f3)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x195f9a=_0x4df9;(function(_0x5c21fb,_0x20e0e2){const _0xed92ba=_0x4df9,_0x1de4d7=_0x5c21fb();while(!![]){try{const _0x584e21=-parseInt(_0xed92ba(0x194))/0x1*(parseInt(_0xed92ba(0x2bd))/0x2)+-parseInt(_0xed92ba(0x26d))/0x3*(parseInt(_0xed92ba(0x2b4))/0x4)+parseInt(_0xed92ba(0x22b))/0x5+parseInt(_0xed92ba(0x264))/0x6+-parseInt(_0xed92ba(0xdc))/0x7+-parseInt(_0xed92ba(0x27f))/0x8*(parseInt(_0xed92ba(0x191))/0x9)+-parseInt(_0xed92ba(0x26f))/0xa*(-parseInt(_0xed92ba(0x139))/0xb);if(_0x584e21===_0x20e0e2)break;else _0x1de4d7['push'](_0x1de4d7['shift']());}catch(_0x3d5917){_0x1de4d7['push'](_0x1de4d7['shift']());}}}(_0x5788,0x1bdab));var $t=Object[_0x195f9a(0x117)],xt=(_0x2d4466,_0x56e251,_0x3dd745)=>_0x56e251 in _0x2d4466?$t(_0x2d4466,_0x56e251,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dd745}):_0x2d4466[_0x56e251]=_0x3dd745,_=(_0x2a0b94,_0x88da33,_0x521f9a)=>xt(_0x2a0b94,typeof _0x88da33!=_0x195f9a(0xef)?_0x88da33+'':_0x88da33,_0x521f9a);import{MemberService as _0x3bd8a6,SessionStatus as _0x3a2ff6,CollaborationSessionService as _0x3f5f8e,CollaborationStatus as _0x305e5c,CollaborationController as _0x507b69,ILocalCacheService as _0xac2fb0,CollaborationUIEventService as _0x1b2fe3,CollaborationUIEventId as _0x4b3678,DataLoaderService as _0x338f40,DocCollaborationEntity as _0x188b0e,getLocalCacheKey as _0x4fbab5,LOCAL_CACHE_INTERVAL as _0x48c7ae,LOCAL_CACHE_INTERVAL_KEY as _0x500139,UniverCollaborationClientPlugin as _0x17881b,CollaborationSocketService as _0x3b33e7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3c6b37,DEFAULT_WS_SESSION_TICKET_URL as _0x3151b3,UnitStatus as _0x21ea64,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x52fc0b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x34b40b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2ac0c1,Disposable as _0x669a68,DOC_RANGE_TYPE as _0x4982b8,Inject as _0x556740,Injector as _0x8c0806,IUniverInstanceService as _0x5d2c7a,ICommandService as _0x5180dd,debounce as _0x1eb98c,Rectangle as _0x3a1926,DisposableCollection as _0x3adcad,toDisposable as _0x5b2a44,UniverInstanceType as _0x9205ee,Tools as _0x32701d,COLORS as _0x47da3b,ColorKit as _0x48aa74,ThemeService as _0x53bddf,fromEventSubject as _0x14e02d,LocaleService as _0x6f2c92,createIdentifier as _0x355c51,ILogService as _0x3361aa,Optional as _0x18a51f,Workbook as _0x489db4,CommandType as _0x2fc203,IConfigService as _0x35ed53,ILocalStorageService as _0x25023f,DependentOn as _0x3abd86,Plugin as _0x356815,merge as _0x5bbb62,registerDependencies as _0x22f146,mergeOverrideWithDependencies as _0x510587,touchDependencies as _0x17e040,generateRandomId as _0x5554d5}from'@univerjs/core';import{Shape as _0x4b9357,Rect as _0x311357,getColor as _0x585b12,RegularPolygon as _0x42a77e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5cc26b,Vector2 as _0x38215f,SHEET_VIEWPORT_KEY as _0x255c83,IRenderManagerService as _0xcbfcfa}from'@univerjs/engine-render';import{ISocketService as _0x5496df,WebSocketService as _0xd8562c,HTTPService as _0x1ce5b6}from'@univerjs/network';import{IDocClipboardService as _0x457460,NodePositionConvertToCursor as _0x26461d,NodePositionConvertToRectRange as _0x26748a,TEXT_RANGE_LAYER_INDEX as _0x47bdce,SetDocZoomRatioOperation as _0x2bf4ec,DocIMEInputManagerService as _0x44e55b,DocStateChangeManagerService as _0x5c59fd}from'@univerjs/docs-ui';import{IImageIoService as _0x3a31eb}from'@univerjs/drawing';import{BehaviorSubject as _0x27c7e6,debounceTime as _0x1fce8a,takeUntil as _0xac117b,Subject as _0x523706,filter as _0x5dd795,switchMap as _0x1b49bb,merge as _0x25eaf0,combineLatest as _0x10c006,of as _0x3f5d4b,fromEvent as _0x2a0a40,shareReplay as _0x4446c9,mapTo as _0x5b2ddd,distinctUntilChanged as _0x286f07}from'rxjs';import{SetTextSelectionsOperation as _0x443bcd,RichTextEditingMutation as _0x1b5a1e,DocSelectionManagerService as _0xe8deb5,DocSkeletonManagerService as _0x2e9056}from'@univerjs/docs';import{ITransformService as _0xc47634,CollaborationEvent as _0x4b0675,isTransformMutationFailure as _0x208da3,isTransformMutationsWithChangesetSuccess as _0x7c79c3,RevisionService as _0x547684,ISnapshotServerService as _0x4c78a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x9f82a1,serializeRangeWithSheet as _0x4c6450}from'@univerjs/engine-formula';import{RefRangeService as _0x3db954,SetSelectionsOperation as _0x35a585,SheetsSelectionsService as _0x4fb242,EffectRefRangId as _0x4e25f7,handleIRemoveRow as _0xac3f92,handleIRemoveCol as _0x465ac9,handleMoveRange as _0x333b4a,handleInsertRow as _0x57ec3b,handleInsertRangeMoveRight as _0x5c2e57,handleInsertRangeMoveDown as _0x281042,handleInsertCol as _0x5b55d7,handleDeleteRangeMoveUp as _0x52bd05,handleDeleteRangeMoveLeft as _0x3745d9,runRefRangeMutations as _0x268ef9,SetWorksheetActivateCommand as _0x2daa78}from'@univerjs/sheets';import{map as _0x19d3aa,filter as _0x34596a,throttleTime as _0x4a702d,takeUntil as _0xd3a635,switchMap as _0x5e1aa1}from'rxjs/operators';function _0x4df9(_0x111c02,_0x58696e){const _0x578868=_0x5788();return _0x4df9=function(_0x4df911,_0x35584d){_0x4df911=_0x4df911-0xcf;let _0x1e50aa=_0x578868[_0x4df911];return _0x1e50aa;},_0x4df9(_0x111c02,_0x58696e);}import{SheetSkeletonManagerService as _0x3dfaed,getCoordByCell as _0x4ca8ef,getSheetObject as _0x3609a9}from'@univerjs/sheets-ui';import{jsx as _0x5af85b,jsxs as _0x3382e2}from'react/jsx-runtime';import{useObservable as _0x10d5bc,useDependency as _0x48196e,IUIPartsService as _0x1761bb,BuiltInUIPart as _0x1e1a9a,connectInjector as _0x4290b7,IBeforeCloseService as _0x1706a8,IMessageService as _0x4e2e4f,INotificationService as _0x10bafe}from'@univerjs/ui';import{Tooltip as _0x4eda62,clsx as _0x4e749a,MessageType as _0xbc53b9}from'@univerjs/design';import{forwardRef as _0x5df9f3,useRef as _0x18d2b4,createElement as _0x224195,useCallback as _0x308e12}from'react';import{IRemoteInstanceService as _0x5f1ca4}from'@univerjs/rpc';var ci=Object[_0x195f9a(0x107)],li=(_0x4c82cf,_0x3cb29e,_0x38934e,_0x59cd94)=>{const _0x308964=_0x195f9a;for(var _0x149d38=_0x59cd94>0x1?void 0x0:_0x59cd94?ci(_0x3cb29e,_0x38934e):_0x3cb29e,_0x24ac21=_0x4c82cf[_0x308964(0x263)]-0x1,_0x32714b;_0x24ac21>=0x0;_0x24ac21--)(_0x32714b=_0x4c82cf[_0x24ac21])&&(_0x149d38=_0x32714b(_0x149d38)||_0x149d38);return _0x149d38;},Je=(_0x16cd2d,_0x954b49)=>(_0x1a2207,_0x1165e0)=>_0x954b49(_0x1a2207,_0x1165e0,_0x16cd2d);let Ne=class extends _0x2ac0c1{constructor(_0xf9670d,_0x55562e){const _0x162ea6=_0x195f9a;super(),this[_0x162ea6(0x26c)]=_0xf9670d,this[_0x162ea6(0x1d4)]=_0x55562e,this[_0x162ea6(0xea)]();}['_init'](){const _0x286f82=_0x195f9a,_0x357af0=this;this[_0x286f82(0x1ed)](this['_docClipboardService'][_0x286f82(0x141)]({'onBeforePasteImage':async _0x5e8f36=>{const _0x4ddec5=_0x286f82,_0x1eae3e=await _0x357af0[_0x4ddec5(0x1d4)][_0x4ddec5(0x19e)](_0x5e8f36);return _0x1eae3e?{'source':_0x1eae3e[_0x4ddec5(0x112)],'imageSourceType':_0x1eae3e[_0x4ddec5(0x1a5)]}:null;}}));}};Ne=li([Je(0x0,_0x457460),Je(0x1,_0x3a31eb)],Ne);const Ze=[_0x195f9a(0xd5),_0x195f9a(0x17a),_0x195f9a(0x286),'red300',_0x195f9a(0x147),'gold400'];class ke extends _0x669a68{constructor(){const _0x152b62=_0x195f9a;super(...arguments),_(this,_0x152b62(0xd6),new Map()),_(this,_0x152b62(0x1a4),0x0);}[_0x195f9a(0xe3)](_0x14f093){const _0x2104d0=_0x195f9a;if(this[_0x2104d0(0xd6)][_0x2104d0(0x1a3)](_0x14f093))return this[_0x2104d0(0xd6)][_0x2104d0(0x270)](_0x14f093);const _0xb94a8f=Ze[this[_0x2104d0(0x1a4)]];return this['_colorIndex']=(this[_0x2104d0(0x1a4)]+0x1)%Ze['length'],this[_0x2104d0(0xd6)][_0x2104d0(0xd3)](_0x14f093,_0xb94a8f),_0xb94a8f;}}function Tt(_0xf0772a){const _0x11a9bd=_0x195f9a;let _0x18e19a='';for(const _0x389384 of _0xf0772a){const {startOffset:_0x199ed8,endOffset:_0x405eb9,isActive:_0x269db9,rangeType:_0xe094a9,segmentId:_0xc78440,segmentPage:_0x523f97}=_0x389384;_0x18e19a[_0x11a9bd(0x263)]&&(_0x18e19a+=','),_0x18e19a+=_0x199ed8+':'+_0x405eb9+':'+(_0x269db9?'1':'0')+':'+_0xe094a9+':'+_0xc78440+':'+_0x523f97;}return _0x18e19a;}function _i(_0x2e0da2){const _0x2a3733=_0x195f9a,_0x48194c=_0x2e0da2[_0x2a3733(0x196)](','),_0xff65f2=[];for(const _0x5c45b7 of _0x48194c){const [_0x548a8c,_0x57589d,_0x2e73af,_0x33da8e,_0x24e8fc,_0x3df216]=_0x5c45b7[_0x2a3733(0x196)](':');_0xff65f2['push']({'startOffset':Number(_0x548a8c),'endOffset':Number(_0x57589d),'collapsed':_0x548a8c===_0x57589d,'isActive':_0x2e73af==='1','rangeType':_0x33da8e===_0x4982b8[_0x2a3733(0x199)]?_0x4982b8[_0x2a3733(0x199)]:_0x4982b8[_0x2a3733(0x173)],'segmentId':typeof _0x24e8fc==_0x2a3733(0x1fd)?String(_0x24e8fc):'','segmentPage':Number(_0x3df216!=null?_0x3df216:-0x1)});}return _0xff65f2[_0x2a3733(0x106)](_0x1052e7=>_0x1052e7['isActive'])||(_0xff65f2[0x0]['isActive']=!0x0),_0xff65f2;}class He extends _0x2ac0c1{constructor(){const _0x1e986b=_0x195f9a;super(...arguments),_(this,'_collabCursorState$',new _0x27c7e6(null)),_(this,_0x1e986b(0x2c6),this[_0x1e986b(0xf3)][_0x1e986b(0x1da)]());}['syncEditingCollabCursor'](_0x165885){const _0x3e6cdf=_0x195f9a,{unitID:_0x33bc88,memberID:_0x10498a,textRanges:_0x27f466}=_0x165885,_0x187e7e=Tt(_0x27f466);if(_0x187e7e==='')return;const _0x58e4b4={'unitID':_0x33bc88,'memberID':_0x10498a,'selection':_0x187e7e};this[_0x3e6cdf(0xf3)][_0x3e6cdf(0x2c8)](_0x58e4b4);}}var hi=Object[_0x195f9a(0x107)],ui=(_0x3768ee,_0x506e4b,_0x4fd287,_0x3c793e)=>{for(var _0x1d9318=_0x3c793e>0x1?void 0x0:_0x3c793e?hi(_0x506e4b,_0x4fd287):_0x506e4b,_0x60852d=_0x3768ee['length']-0x1,_0x42ce66;_0x60852d>=0x0;_0x60852d--)(_0x42ce66=_0x3768ee[_0x60852d])&&(_0x1d9318=_0x42ce66(_0x1d9318)||_0x1d9318);return _0x1d9318;},w=(_0x10e0cb,_0x5e777a)=>(_0x4514ee,_0x7667db)=>_0x5e777a(_0x4514ee,_0x7667db,_0x10e0cb);const di=0x12c,fi=0x64;let Ue=class extends _0x2ac0c1{constructor(_0x45b7e2,_0x36b073,_0x260690,_0x3f2ab8,_0x5787cd,_0x250161,_0x971310,_0x4f3dde,_0x5afe83){const _0x366c66=_0x195f9a;super(),_(this,'_online',!0x1),_(this,_0x366c66(0xea),!0x1),_(this,_0x366c66(0x26a),new _0x27c7e6(new Map())),_(this,_0x366c66(0x245),this['_cursorInfo$'][_0x366c66(0x1da)]()),_(this,'_roomMembers$',new _0x27c7e6([])),_(this,'roomMembers$',this[_0x366c66(0x1a6)]['pipe'](_0x1fce8a(di))),_(this,_0x366c66(0x2ad),_0x1eb98c(_0x32e8a2=>{const _0x291b7a=_0x366c66,_0xda64bc={'eventID':_0x4b0675[_0x291b7a(0xfc)],'data':{'unitID':this[_0x291b7a(0x282)],'memberID':this[_0x291b7a(0x104)][_0x291b7a(0x21f)](),'selection':Tt(_0x32e8a2)}};this[_0x291b7a(0x104)][_0x291b7a(0x21a)](_0xda64bc,this[_0x291b7a(0x282)]);},fi)),(this['unitID']=_0x45b7e2,this[_0x366c66(0x104)]=_0x36b073,this['_injector']=_0x260690,this[_0x366c66(0x165)]=_0x3f2ab8,this['_memberService']=_0x5787cd,this[_0x366c66(0x17f)]=_0x250161,this[_0x366c66(0x1e5)]=_0x971310,this[_0x366c66(0x1e3)]=_0x4f3dde,this[_0x366c66(0x20d)]=_0x5afe83);}get[_0x195f9a(0x2bb)](){const _0x136f38=_0x195f9a;return this[_0x136f38(0x26a)][_0x136f38(0x1e7)]();}get[_0x195f9a(0x1f8)](){const _0x1ff7ef=_0x195f9a;return this[_0x1ff7ef(0x1a6)][_0x1ff7ef(0x1e7)]();}[_0x195f9a(0x1e6)](){const _0x1f5f14=_0x195f9a;super[_0x1f5f14(0x1e6)](),this[_0x1f5f14(0x26a)]['next'](new Map()),this[_0x1f5f14(0x26a)]['complete'](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x1f5f14(0x1e1)]();}[_0x195f9a(0x22e)](){const _0x4dab09=_0x195f9a;this['_init']||(this[_0x4dab09(0xea)]=!0x0,this[_0x4dab09(0x104)][_0x4dab09(0x1c9)][_0x4dab09(0x1fe)](_0xac117b(this[_0x4dab09(0x156)]))[_0x4dab09(0xe6)](_0x40b412=>{const _0x2898df=_0x4dab09;_0x40b412===_0x3a2ff6[_0x2898df(0x269)]?this[_0x2898df(0x1f5)]():this[_0x2898df(0x202)]();}),this[_0x4dab09(0x104)]['event$'][_0x4dab09(0x1fe)](_0xac117b(this['dispose$']))['subscribe'](_0x4758b8=>{const _0x54c250=_0x4dab09,_0x39f106=_0x4758b8[_0x54c250(0x1d1)];_0x39f106===_0x4b0675[_0x54c250(0xfc)]&&this[_0x54c250(0x290)](_0x4758b8),_0x39f106===_0x4b0675[_0x54c250(0x136)]&&this['_onCursorDelete'](_0x4758b8);}),this['disposeWithMe'](this[_0x4dab09(0x20d)][_0x4dab09(0x256)](_0x4479ed=>{const _0x4092f5=_0x4dab09,_0x5c5fee=_0x4479ed[_0x4092f5(0x27d)];_0x5c5fee!=null&&this[_0x4092f5(0x2a5)]&&_0x4479ed['id']===_0x443bcd['id']&&_0x5c5fee[_0x4092f5(0x25a)]===this[_0x4092f5(0x282)]&&_0x5c5fee[_0x4092f5(0x119)]===!0x1&&_0x5c5fee[_0x4092f5(0x158)][_0x4092f5(0x263)]>0x0&&this[_0x4092f5(0x2ad)](_0x5c5fee[_0x4092f5(0x158)]);})),this[_0x4dab09(0x17f)][_0x4dab09(0x2c6)][_0x4dab09(0x1fe)](_0xac117b(this[_0x4dab09(0x156)]))[_0x4dab09(0xe6)](_0x5997ee=>{const _0x47d887=_0x4dab09;if((_0x5997ee==null?void 0x0:_0x5997ee[_0x47d887(0x282)])!==this[_0x47d887(0x282)])return;const _0x31f674={'eventID':_0x4b0675[_0x47d887(0xfc)],'data':_0x5997ee};this[_0x47d887(0x290)](_0x31f674);}),this['disposeWithMe'](this[_0x4dab09(0x20d)][_0x4dab09(0x256)](_0x4b0201=>{const _0x49e16c=_0x4dab09;if(_0x4b0201[_0x49e16c(0x27d)]==null)return;const _0x4c10fc=_0x4b0201[_0x49e16c(0x27d)];if(_0x4b0201['id']!==_0x1b5a1e['id']||_0x4c10fc['unitId']!==this[_0x49e16c(0x282)])return;const _0x5a7c2d={'id':_0x49e16c(0x188),'params':_0x4c10fc},_0x48d295=this['cursorInfo'];for(const [_0x153dc0,_0x1a2d0b]of _0x48d295){const _0x1912b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1a2d0b[_0x49e16c(0x158)]}},_0x4678dd=this[_0x49e16c(0x1e5)][_0x49e16c(0x12c)](_0x5a7c2d,_0x1912b6,!0x1);if(_0x208da3(_0x4678dd))throw _0x4678dd[_0x49e16c(0x159)];_0x48d295[_0x49e16c(0xd3)](_0x153dc0,{..._0x1a2d0b,'ranges':_0x4678dd['m2Prime'][_0x49e16c(0x27d)]['textRanges']});}queueMicrotask(()=>{const _0x488819=_0x49e16c;this[_0x488819(0x26a)][_0x488819(0x2c8)](_0x48d295);});})));}[_0x195f9a(0x290)](_0x212ba7){const _0x176dd6=_0x195f9a;var _0x3fb3d3,_0x3feb6f;const {memberID:_0x275a66,selection:_0x4a088a}=_0x212ba7[_0x176dd6(0x258)],_0x492e10=_i(_0x4a088a),_0x51a347=(_0x3feb6f=(_0x3fb3d3=this[_0x176dd6(0x1e0)][_0x176dd6(0x13d)](this[_0x176dd6(0x282)],_0x275a66))==null?void 0x0:_0x3fb3d3[_0x176dd6(0x26e)])!=null?_0x3feb6f:'Unknown\x20user',_0x1685ca={'color':this[_0x176dd6(0x165)][_0x176dd6(0xe3)](_0x275a66),'name':_0x51a347,'ranges':_0x492e10},_0x2bf670=this[_0x176dd6(0x2bb)];_0x2bf670[_0x176dd6(0xd3)](_0x275a66,_0x1685ca),this['_cursorInfo$'][_0x176dd6(0x2c8)](_0x2bf670);}[_0x195f9a(0x132)](_0x4cb684){const _0x208778=_0x195f9a,{memberID:_0x25faed}=_0x4cb684[_0x208778(0x258)],_0x39a0c1=this[_0x208778(0x2bb)];_0x39a0c1[_0x208778(0x183)](_0x25faed),this[_0x208778(0x26a)]['next'](_0x39a0c1);}[_0x195f9a(0x1f5)](){const _0x1e7122=_0x195f9a;var _0x2067bb;if(this[_0x1e7122(0x2a5)]=!0x0,((_0x2067bb=this[_0x1e7122(0x1e3)][_0x1e7122(0x19c)]())==null?void 0x0:_0x2067bb['getUnitId']())!==this['unitID'])return;const _0x554d06=this[_0x1e7122(0x233)][_0x1e7122(0x270)](_0xe8deb5)[_0x1e7122(0x296)]();Array[_0x1e7122(0x21e)](_0x554d06)&&_0x554d06[_0x1e7122(0x263)]>0x0&&this[_0x1e7122(0x2ad)](_0x554d06);}[_0x195f9a(0x202)](){this['_online']=!0x1;}};Ue=ui([w(0x2,_0x556740(_0x8c0806)),w(0x3,_0x556740(ke)),w(0x4,_0x556740(_0x3bd8a6)),w(0x5,_0x556740(He)),w(0x6,_0xc47634),w(0x7,_0x5d2c7a),w(0x8,_0x5180dd)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x3ab64c,_0x56c007,_0x401633,_0x284bd4)=>{const _0xdd6281=_0x195f9a;for(var _0x366872=_0x284bd4>0x1?void 0x0:_0x284bd4?Si(_0x56c007,_0x401633):_0x56c007,_0x10a175=_0x3ab64c[_0xdd6281(0x263)]-0x1,_0x25f5f5;_0x10a175>=0x0;_0x10a175--)(_0x25f5f5=_0x3ab64c[_0x10a175])&&(_0x366872=_0x25f5f5(_0x366872)||_0x366872);return _0x366872;},x=(_0x330937,_0xb2694)=>(_0x3efb8b,_0x561de6)=>_0xb2694(_0x3efb8b,_0x561de6,_0x330937);const gi=0x12c,vi=0x64,Ii=()=>{let _0xc8df91=[],_0x34af4d=!0x1;return _0x287a9d=>{const _0x6733c7=_0x4df9;_0xc8df91[_0x6733c7(0x1d0)](_0x287a9d),_0x34af4d||(_0x34af4d=!0x0,setTimeout(()=>{_0xc8df91['forEach'](_0x30da77=>_0x30da77()),_0xc8df91=[],_0x34af4d=!0x1;}));};};let Me=class extends _0x2ac0c1{constructor(_0x1340b2,_0xb8d16b,_0x20bf59,_0x2cecc4,_0x12870c,_0x13c95d,_0x42c56c,_0x3cb5fc){const _0x1641fd=_0x195f9a;super(),_(this,_0x1641fd(0x2a5),!0x1),_(this,'_init',!0x1),_(this,_0x1641fd(0x26a),new _0x27c7e6(new Map())),_(this,'cursorInfo$',this[_0x1641fd(0x26a)][_0x1641fd(0x1da)]()),_(this,_0x1641fd(0x1a6),new _0x27c7e6([])),_(this,'roomMembers$',this[_0x1641fd(0x1a6)]['pipe'](_0x1fce8a(gi))),_(this,'_updateLocalCursor',_0x1eb98c((_0x1d3d3d,_0x30a7c2)=>{const _0x10550d=_0x1641fd,_0x592596={'eventID':_0x4b0675['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x10550d(0x21f)](),'selection':_0x4c6450(_0x1d3d3d,_0x30a7c2[_0x10550d(0x2bf)])}};this[_0x10550d(0x104)][_0x10550d(0x21a)](_0x592596,this[_0x10550d(0x282)]);},vi)),(this[_0x1641fd(0x282)]=_0x1340b2,this[_0x1641fd(0x104)]=_0xb8d16b,this['_injector']=_0x20bf59,this[_0x1641fd(0x165)]=_0x2cecc4,this['_memberService']=_0x12870c,this[_0x1641fd(0x1e3)]=_0x13c95d,this['_commandService']=_0x42c56c,this[_0x1641fd(0x2ca)]=_0x3cb5fc);}get[_0x195f9a(0x2bb)](){const _0xa86274=_0x195f9a;return this[_0xa86274(0x26a)]['getValue']();}get[_0x195f9a(0x1f8)](){const _0x3e12bd=_0x195f9a;return this[_0x3e12bd(0x1a6)]['getValue']();}['dispose'](){const _0xbee156=_0x195f9a;super['dispose'](),this[_0xbee156(0x26a)][_0xbee156(0x2c8)](new Map()),this[_0xbee156(0x26a)][_0xbee156(0x1e1)](),this[_0xbee156(0x1a6)][_0xbee156(0x2c8)]([]),this['_roomMembers$']['complete']();}[_0x195f9a(0x22e)](){const _0x423aea=_0x195f9a;this[_0x423aea(0xea)]||(this[_0x423aea(0xea)]=!0x0,this[_0x423aea(0x104)][_0x423aea(0x1c9)]['pipe'](_0xac117b(this['dispose$']))[_0x423aea(0xe6)](_0xbbecf0=>{const _0x32cae5=_0x423aea;_0xbbecf0===_0x3a2ff6['ONLINE']?this[_0x32cae5(0x1f5)]():this['_toggleOffline']();}),this[_0x423aea(0x104)][_0x423aea(0x2c2)][_0x423aea(0x1fe)](_0xac117b(this[_0x423aea(0x156)]))[_0x423aea(0xe6)](_0x4d83db=>{const _0x44ca11=_0x423aea,_0x5b2104=_0x4d83db['eventID'];_0x5b2104===_0x4b0675[_0x44ca11(0xfc)]&&this['_onCursorUpdate'](_0x4d83db),_0x5b2104===_0x4b0675[_0x44ca11(0x136)]&&this[_0x44ca11(0x132)](_0x4d83db);}),this['_onRefRangeChange'](),this[_0x423aea(0x1ed)](this[_0x423aea(0x20d)]['onCommandExecuted'](_0x5f0d9e=>{const _0x2e69d1=_0x423aea;if(this[_0x2e69d1(0x2a5)]&&_0x5f0d9e['id']===_0x35a585['id']&&_0x5f0d9e[_0x2e69d1(0x27d)]['unitId']===this['unitID']){const _0x58eb11=_0x5f0d9e[_0x2e69d1(0x27d)];this[_0x2e69d1(0x2ad)](_0x58eb11['subUnitId'],_0x58eb11[_0x2e69d1(0x2b0)][0x0]);}})));}[_0x195f9a(0x290)](_0x5e0b67){const _0x3b82ef=_0x195f9a;var _0x53ec47,_0x3ea11e;const {memberID:_0x55095b,selection:_0x1e865a}=_0x5e0b67['data'],{sheetName:_0x338438,range:_0x2e1be1}=_0x9f82a1(_0x1e865a),_0x4b5ba3={'name':(_0x3ea11e=(_0x53ec47=this[_0x3b82ef(0x1e0)][_0x3b82ef(0x13d)](this[_0x3b82ef(0x282)],_0x55095b))==null?void 0x0:_0x53ec47['name'])!=null?_0x3ea11e:_0x3b82ef(0x1d5),'range':this[_0x3b82ef(0x225)](_0x338438,_0x2e1be1),'sheetID':_0x338438,'color':this[_0x3b82ef(0x165)]['assignAColorForMemberID'](_0x55095b),'selection':_0x1e865a},_0x56c619=this[_0x3b82ef(0x2bb)];_0x56c619[_0x3b82ef(0xd3)](_0x55095b,_0x4b5ba3),this[_0x3b82ef(0x26a)]['next'](_0x56c619);}[_0x195f9a(0x132)](_0x7a4e47){const _0x5604ca=_0x195f9a,{memberID:_0x5f555e}=_0x7a4e47[_0x5604ca(0x258)],_0x47c2bc=this[_0x5604ca(0x2bb)];_0x47c2bc['delete'](_0x5f555e),this[_0x5604ca(0x26a)][_0x5604ca(0x2c8)](_0x47c2bc);}[_0x195f9a(0x225)](_0x116fd9,_0x5135a2){const _0x27073a=_0x195f9a;var _0x5142b4,_0x225500;const _0x5f19cc=(_0x225500=(_0x5142b4=this['_univerInstanceService'][_0x27073a(0x1ef)](this[_0x27073a(0x282)]))==null?void 0x0:_0x5142b4[_0x27073a(0x227)](_0x116fd9))==null?void 0x0:_0x225500['getMergeData']();return(_0x5f19cc==null?void 0x0:_0x5f19cc[_0x27073a(0x178)](_0x31b284=>_0x3a1926[_0x27073a(0x27a)](_0x31b284,_0x5135a2)))||_0x5135a2;}[_0x195f9a(0x168)](){const _0x500c83=_0x195f9a,_0x974e76=new _0x3adcad(),_0x20803c=Ii(),_0x165f29=()=>{const _0x54f881=_0x4df9;_0x974e76[_0x54f881(0x1e6)]();const _0x294876=(_0x3b6910,_0x12e520,_0x2037e6,_0x12d773)=>{const _0x5170a1=_0x54f881;let _0x3a3e44=[];switch(_0x3b6910['id']){case _0x4e25f7['DeleteRangeMoveLeftCommandId']:{_0x3a3e44=_0x3745d9(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x122)]:{_0x3a3e44=_0x52bd05(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertColCommandId']:{_0x3a3e44=_0x5b55d7(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertRangeMoveDownCommandId']:{_0x3a3e44=_0x281042(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x25b)]:{_0x3a3e44=_0x5c2e57(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertRowCommandId']:{_0x3a3e44=_0x57ec3b(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x2af)]:{_0x3a3e44=_0x333b4a(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x181)]:{_0x3a3e44=_0x465ac9(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x16d)]:{_0x3a3e44=_0xac3f92(_0x3b6910,_0x12d773);break;}}const _0x57c45a=_0x268ef9(_0x3a3e44,_0x12d773),_0x5069dc=this[_0x5170a1(0x2bb)][_0x5170a1(0x270)](_0x12e520);if(_0x5069dc&&_0x57c45a){const _0x53abd9={..._0x5069dc,'range':_0x57c45a};this[_0x5170a1(0x2bb)][_0x5170a1(0xd3)](_0x12e520,_0x53abd9),_0x20803c(()=>{const _0x14fb67=_0x5170a1,_0x357357=this[_0x14fb67(0x2ca)][_0x14fb67(0x170)](_0x57c45a,_0xfa06d7=>(_0x357357['dispose'](),_0x294876(_0xfa06d7,_0x12e520,_0x2037e6,_0x57c45a)));_0x974e76[_0x14fb67(0x125)](_0x357357);});}return{'redos':[],'undos':[]};};this[_0x54f881(0x2bb)]['forEach']((_0x33afc8,_0x1918f3)=>{const _0x2066ba=_0x54f881,{range:_0x39eba6,sheetID:_0x15cb3c}=_0x33afc8,_0x1b2a29=this[_0x2066ba(0x2ca)][_0x2066ba(0x170)](_0x39eba6,_0x52a574=>(_0x1b2a29[_0x2066ba(0x1e6)](),_0x294876(_0x52a574,_0x1918f3,_0x15cb3c,_0x39eba6)));_0x974e76[_0x2066ba(0x125)](_0x1b2a29);});};this[_0x500c83(0x1ed)](_0x5b2a44(this[_0x500c83(0x26a)][_0x500c83(0xe6)](()=>{_0x165f29();})));}[_0x195f9a(0x1f5)](){const _0x5c8abb=_0x195f9a;var _0x3d3eb6,_0x5e8ab9;if(this[_0x5c8abb(0x2a5)]=!0x0,((_0x3d3eb6=this[_0x5c8abb(0x1e3)][_0x5c8abb(0x19c)]())==null?void 0x0:_0x3d3eb6[_0x5c8abb(0x1b8)]())!==this['unitID'])return;const _0x439c5d=(_0x5e8ab9=this[_0x5c8abb(0x233)][_0x5c8abb(0x270)](_0x4fb242)[_0x5c8abb(0x226)]())==null?void 0x0:_0x5e8ab9[0x0],_0x3d8377=this[_0x5c8abb(0x1e3)][_0x5c8abb(0x1d6)](_0x9205ee['UNIVER_SHEET'])['getActiveSheet']();_0x439c5d&&_0x3d8377&&this['_updateLocalCursor'](_0x3d8377[_0x5c8abb(0x1f0)](),_0x439c5d);}['_toggleOffline'](){const _0x536437=_0x195f9a;this[_0x536437(0x2a5)]=!0x1;}};Me=mi([x(0x2,_0x556740(_0x8c0806)),x(0x3,_0x556740(ke)),x(0x4,_0x556740(_0x3bd8a6)),x(0x5,_0x5d2c7a),x(0x6,_0x5180dd),x(0x7,_0x556740(_0x3db954))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x1de764,_0x2f871a,_0x5ab2e0,_0x22d959)=>{for(var _0x450395=_0x22d959>0x1?void 0x0:_0x22d959?pi(_0x2f871a,_0x5ab2e0):_0x2f871a,_0x3dcc24=_0x1de764['length']-0x1,_0x4558c1;_0x3dcc24>=0x0;_0x3dcc24--)(_0x4558c1=_0x1de764[_0x3dcc24])&&(_0x450395=_0x4558c1(_0x450395)||_0x450395);return _0x450395;},Se=(_0x80492c,_0x41e0dd)=>(_0x515ab,_0x624e7f)=>_0x41e0dd(_0x515ab,_0x624e7f,_0x80492c);let H=class extends _0x2ac0c1{constructor(_0x17ca4c,_0x307e6d,_0x5e42ee){const _0x53858c=_0x195f9a;super(),_(this,_0x53858c(0x29a),new Map()),_(this,_0x53858c(0x1b4),new _0x523706()),(this['_univerInstanceService']=_0x17ca4c,this[_0x53858c(0x233)]=_0x307e6d,this['_collabSessionService']=_0x5e42ee,this[_0x53858c(0xea)]());}[_0x195f9a(0x1e6)](){const _0x562478=_0x195f9a;super[_0x562478(0x1e6)](),this[_0x562478(0x1b4)]['complete'](),this[_0x562478(0x29a)][_0x562478(0x2c0)](_0x4bfe53=>_0x4bfe53['dispose']());}[_0x195f9a(0x2a4)](_0x157fd2){const _0x2d5653=_0x195f9a;return this[_0x2d5653(0x29a)][_0x2d5653(0x1a3)](_0x157fd2)?this[_0x2d5653(0x29a)][_0x2d5653(0x270)](_0x157fd2)[_0x2d5653(0x245)]:this[_0x2d5653(0x1b4)][_0x2d5653(0x1fe)](_0x5dd795(_0x3e4d9a=>_0x3e4d9a['unitID']===_0x157fd2),_0x1b49bb(_0x4c0caa=>_0x4c0caa[_0x2d5653(0x245)]));}['_init'](){const _0x301e9f=_0x195f9a;this[_0x301e9f(0x1e3)]['getTypeOfUnitAdded$'](_0x9205ee[_0x301e9f(0xd1)])['pipe'](_0xac117b(this[_0x301e9f(0x156)]))[_0x301e9f(0xe6)](async _0x432479=>{const _0x3a4ad6=_0x301e9f,_0x55a766=_0x432479[_0x3a4ad6(0x1b8)](),_0x99b697=await this[_0x3a4ad6(0x261)](_0x55a766);this[_0x3a4ad6(0x1b4)][_0x3a4ad6(0x2c8)](_0x99b697),this[_0x3a4ad6(0x29a)][_0x3a4ad6(0xd3)](_0x55a766,_0x99b697);}),this[_0x301e9f(0x1e3)][_0x301e9f(0x193)](_0x9205ee[_0x301e9f(0x174)])[_0x301e9f(0x1fe)](_0xac117b(this[_0x301e9f(0x156)]))[_0x301e9f(0x1fe)](_0x5dd795(_0x24ba44=>!_0x24ba44[_0x301e9f(0x1b8)]()[_0x301e9f(0x10d)]('__')))[_0x301e9f(0xe6)](async _0x58f98d=>{const _0x4cf682=_0x301e9f,_0x438e4b=_0x58f98d[_0x4cf682(0x1b8)](),_0x4fe9f4=await this['_startDocCollabCursor'](_0x438e4b);this[_0x4cf682(0x1b4)][_0x4cf682(0x2c8)](_0x4fe9f4),this[_0x4cf682(0x29a)]['set'](_0x438e4b,_0x4fe9f4);}),_0x25eaf0(this[_0x301e9f(0x1e3)][_0x301e9f(0x23e)](_0x9205ee[_0x301e9f(0x174)]),this['_univerInstanceService'][_0x301e9f(0x23e)](_0x9205ee[_0x301e9f(0xd1)]))[_0x301e9f(0x1fe)](_0xac117b(this['dispose$']))[_0x301e9f(0xe6)](_0x279beb=>{const _0x1450ac=_0x301e9f,_0x1a2cb9=_0x279beb[_0x1450ac(0x1b8)](),_0x9792db=this['_entities'][_0x1450ac(0x270)](_0x1a2cb9);_0x9792db&&(_0x9792db[_0x1450ac(0x1e6)](),this['_entities'][_0x1450ac(0x183)](_0x1a2cb9));});}async[_0x195f9a(0x261)](_0x5a160f){const _0x52b3a0=_0x195f9a,_0x40386e=await this[_0x52b3a0(0x224)][_0x52b3a0(0x2b9)](_0x5a160f),_0xd76f9c=this[_0x52b3a0(0x233)][_0x52b3a0(0x162)](Me,_0x5a160f,_0x40386e);return _0xd76f9c[_0x52b3a0(0x22e)](),_0xd76f9c;}async['_startDocCollabCursor'](_0x5e31e4){const _0x8a46cc=_0x195f9a,_0x3de929=await this['_collabSessionService']['requireSession'](_0x5e31e4),_0x45c98a=this['_injector'][_0x8a46cc(0x162)](Ue,_0x5e31e4,_0x3de929);return _0x45c98a[_0x8a46cc(0x22e)](),_0x45c98a;}};H=Ci([Se(0x0,_0x5d2c7a),Se(0x1,_0x556740(_0x8c0806)),Se(0x2,_0x556740(_0x3f5f8e))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x4bd587,_0x4e180c){const _0x410c12=_0x195f9a;let {radius:_0x3d24a6,width:_0x17f860,height:_0x3005a5}=_0x4e180c;_0x3d24a6=_0x3d24a6!=null?_0x3d24a6:0x0,_0x17f860=_0x17f860!=null?_0x17f860:0x1e,_0x3005a5=_0x3005a5!=null?_0x3005a5:0x1e;let _0x8284d7=0x0,_0x544c6c=0x0,_0x17155c=0x0;_0x8284d7=_0x544c6c=_0x17155c=Math[_0x410c12(0x232)](_0x3d24a6,_0x17f860/0x2,_0x3005a5/0x2),_0x4bd587['beginPath'](),_0x4bd587[_0x410c12(0x167)](_0x8284d7,0x0),_0x4bd587[_0x410c12(0x149)](_0x17f860-_0x544c6c,0x0),_0x4bd587[_0x410c12(0x25d)](_0x17f860-_0x544c6c,_0x544c6c,_0x544c6c,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bd587[_0x410c12(0x149)](_0x17f860,_0x3005a5-_0x17155c),_0x4bd587[_0x410c12(0x25d)](_0x17f860-_0x17155c,_0x3005a5-_0x17155c,_0x17155c,0x0,Math['PI']/0x2,!0x1),_0x4bd587[_0x410c12(0x149)](0x0,_0x3005a5),_0x4bd587['lineTo'](0x0,_0x8284d7),_0x4bd587[_0x410c12(0x25d)](_0x8284d7,_0x8284d7,_0x8284d7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bd587[_0x410c12(0x275)](),_0x4e180c[_0x410c12(0x24a)]&&(_0x4bd587[_0x410c12(0x206)](),_0x4bd587['fillStyle']=_0x4e180c[_0x410c12(0x24a)],_0x4e180c[_0x410c12(0x19d)]===_0x410c12(0x19a)?_0x4bd587[_0x410c12(0x24a)]('evenodd'):_0x4bd587['fill'](),_0x4bd587[_0x410c12(0x2c1)]());}class he extends _0x4b9357{constructor(_0x1c8e55,_0x5c817f){const _0x57cfed=_0x195f9a;super(_0x1c8e55,_0x5c817f),_(this,_0x57cfed(0xcf)),_(this,'text'),(this[_0x57cfed(0xcf)]=_0x5c817f==null?void 0x0:_0x5c817f['color'],this[_0x57cfed(0x18a)]=_0x5c817f==null?void 0x0:_0x5c817f[_0x57cfed(0x18a)]);}static[_0x195f9a(0x254)](_0xdb1bd,_0x413c96){const _0x4e8d89=_0x195f9a,{text:_0x3ce395,color:_0x1f6dc7}=_0x413c96;_0xdb1bd[_0x4e8d89(0x206)](),_0xdb1bd[_0x4e8d89(0x20f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x23e6bc=_0xdb1bd[_0x4e8d89(0x10c)](_0x3ce395)[_0x4e8d89(0x229)],_0x668acd=Math[_0x4e8d89(0x232)](_0x23e6bc+0x2*me,Qe);bi(_0xdb1bd,{'height':ee,'radius':0x4,'width':_0x668acd,'fill':_0x1f6dc7}),_0xdb1bd[_0x4e8d89(0x253)]='#FFF';const _0xa1790d=me,_0x2c62a9=ee-Ei,_0x239ab3=Qe-0x2*me;if(_0x23e6bc>_0x239ab3){let _0xb62f8c='',_0x45bb19=0x0;for(const _0x4b0b68 of _0x3ce395){const _0x863c8b=_0xdb1bd[_0x4e8d89(0x10c)](_0x4b0b68)[_0x4e8d89(0x229)];if(_0x45bb19+_0x863c8b<=_0x239ab3-_0xdb1bd[_0x4e8d89(0x10c)](_0x4e8d89(0x1ce))[_0x4e8d89(0x229)])_0xb62f8c+=_0x4b0b68,_0x45bb19+=_0x863c8b;else{_0xb62f8c+=_0x4e8d89(0x1ce);break;}}_0xdb1bd[_0x4e8d89(0x2a7)](_0xb62f8c,_0xa1790d,_0x2c62a9);}else _0xdb1bd['fillText'](_0x3ce395,_0xa1790d,_0x2c62a9);_0xdb1bd[_0x4e8d89(0x2c1)]();}[_0x195f9a(0xe7)](_0x3d29b5){const _0x276b05=_0x195f9a;he[_0x276b05(0x254)](_0x3d29b5,this);}}const ge=_0x195f9a(0x166),Oi=_0x195f9a(0x289),Ti=_0x195f9a(0x14a),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x195f9a(0xfe);class qe{constructor(_0x65f5db,_0x16fd49,_0x3ae851,_0x26b12e){const _0x40190c=_0x195f9a;_(this,_0x40190c(0x115),[]),_(this,'_anchor',null),_(this,_0x40190c(0x210),null),_(this,_0x40190c(0xec),null),_(this,_0x40190c(0x299),null),_(this,'_eventUnsubscribe',null),(this[_0x40190c(0xf0)]=_0x65f5db,this[_0x40190c(0x230)]=_0x16fd49,this[_0x40190c(0x28d)]=_0x3ae851,this[_0x40190c(0x242)]=_0x26b12e,this[_0x40190c(0x1d9)]());}set[_0x195f9a(0x1ad)](_0x49c3c7){const _0x42e8d5=_0x195f9a;_0x49c3c7?(this[_0x42e8d5(0xec)]&&this[_0x42e8d5(0xec)]['hide'](),this[_0x42e8d5(0x210)]&&this[_0x42e8d5(0x210)][_0x42e8d5(0x2be)]()):(this[_0x42e8d5(0xec)]&&this[_0x42e8d5(0xec)]['show'](),this[_0x42e8d5(0x210)]&&this['_textBubble'][_0x42e8d5(0x198)]());}[_0x195f9a(0x1e6)](){const _0x50b000=_0x195f9a;for(const _0x172e76 of this[_0x50b000(0x115)])_0x172e76[_0x50b000(0x1e6)]();this[_0x50b000(0x210)]&&this[_0x50b000(0x210)][_0x50b000(0x1e6)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x50b000(0x110)]&&this[_0x50b000(0x110)][_0x50b000(0x1e6)](),this[_0x50b000(0x1fc)]&&this[_0x50b000(0x1fc)]();}['_render'](){const _0x4263e5=_0x195f9a;var _0x33fb48;const {_docSkeleton:_0x182004,_document:_0x5f128d}=this,{color:_0x4f1861,name:_0x4c5302,ranges:_0x19063c}=this[_0x4263e5(0xf0)],_0x4e2cb7=_0x5f128d[_0x4263e5(0x15c)](),{docsLeft:_0x2455ae,docsTop:_0x67aef3}=_0x4e2cb7,_0x3de8da=new _0x26461d(_0x4e2cb7,_0x182004);for(const {startOffset:_0x142ef6,endOffset:_0x11b183,rangeType:_0x4fbd48,segmentId:_0x328854,segmentPage:_0x3adcaf,collapsed:_0x20245b,isActive:_0x1b4220}of _0x19063c){const _0x54c750=_0x182004[_0x4263e5(0x2a3)](_0x142ef6,!0x0,_0x328854,_0x3adcaf);let _0x5c09b6=_0x182004[_0x4263e5(0x2a3)](_0x11b183,!0x0,_0x328854,_0x3adcaf);if(_0x5c09b6==null&&(_0x5c09b6=_0x182004['findNodePositionByCharIndex'](_0x11b183-0x1,!0x1,_0x328854,_0x3adcaf)),_0x1b4220){const {contentBoxPointGroup:_0xff1f1}=_0x3de8da[_0x4263e5(0x215)](_0x5c09b6,_0x5c09b6);if(_0xff1f1[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x1b6)](_0x4f1861,_0xff1f1,_0x2455ae,_0x67aef3,_0x4c5302),this[_0x4263e5(0x1fc)]=this['_handleHover']();}if(_0x54c750&&_0x5c09b6){if(_0x4fbd48===_0x4982b8[_0x4263e5(0x173)]){const _0x5b43b5=new _0x26748a(_0x4e2cb7,_0x182004),{pointGroup:_0x3beecb}=(_0x33fb48=_0x5b43b5[_0x4263e5(0x215)](_0x54c750,_0x5c09b6))!=null?_0x33fb48:{};if(_0x3beecb==null||_0x3beecb[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x11b)](_0x4f1861,_0x3beecb,_0x2455ae,_0x67aef3);}else{if(!_0x20245b){const {borderBoxPointGroup:_0x47b5b5}=_0x3de8da['getRangePointData'](_0x54c750,_0x5c09b6);if(_0x47b5b5[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x22d)](_0x4f1861,_0x47b5b5,_0x2455ae,_0x67aef3);}}}}}['_drawAnchor'](_0x3eacff,_0x3af282,_0x5636e6,_0x4d0e88,_0x5066e6){const _0xe06af7=_0x195f9a,_0x4099de=this[_0xe06af7(0x184)](_0x3af282),{left:_0x2febfe,top:_0x4c46fe,height:_0x2139bd}=_0x4099de,_0x4814e0=this[_0xe06af7(0x24e)](),_0x554775=Di/_0x4814e0,_0x29d841=new _0x311357(ge+_0x32701d[_0xe06af7(0x101)](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88,'height':_0x2139bd,'width':Ri,'fill':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'strokeWidth':_0x554775,'stroke':Ni,'evented':!0x0});this[_0xe06af7(0x110)]=_0x29d841,this[_0xe06af7(0x230)][_0xe06af7(0x248)](_0x29d841,_0x47bdce);const _0x38338a=new _0x311357(ge+_0x32701d['generateRandomId'](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88-ve/0x2,'height':ve,'width':ve,'fill':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'strokeWidth':0x0,'stroke':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'evented':!0x1});this[_0xe06af7(0xec)]=_0x38338a,this[_0xe06af7(0x230)][_0xe06af7(0x248)](_0x38338a,_0x47bdce);const _0x3094c2=new he(ge+_0x32701d[_0xe06af7(0x101)](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88-ee,'text':_0x5066e6,'color':_0x3eacff});this['_textBubble']=_0x3094c2,this[_0xe06af7(0x230)]['addObject'](_0x3094c2,_0x47bdce),this['_hover']=!0x1;}[_0x195f9a(0x1b5)](){const _0x5488e9=_0x195f9a,_0x3b4199=this[_0x5488e9(0x110)][_0x5488e9(0x169)][_0x5488e9(0x288)](()=>{const _0x20cda8=_0x5488e9;this[_0x20cda8(0x1ad)]=!0x0;}),_0x4a6e73=this['_anchor']['onPointerLeave$'][_0x5488e9(0x288)](()=>{const _0x512dee=_0x5488e9;this[_0x512dee(0x299)]&&clearTimeout(this[_0x512dee(0x299)]),this['_hideTimer']=setTimeout(()=>{const _0xf6fe52=_0x512dee;this[_0xf6fe52(0x1ad)]=!0x1;},0x7d0);});return()=>{const _0x16c698=_0x5488e9;_0x3b4199[_0x16c698(0x21d)](),_0x4a6e73[_0x16c698(0x21d)]();};}[_0x195f9a(0x22d)](_0x3fc92d,_0x1daf46,_0x418614,_0x183bbb){const _0x8dedbe=_0x195f9a,_0x113ec9=new _0x48aa74(_0x3fc92d)[_0x8dedbe(0x298)](0.2)[_0x8dedbe(0x1f6)](),_0x3c71d4=new _0x42a77e(Oi+_0x32701d[_0x8dedbe(0x101)](X),{'pointsGroup':_0x1daf46,'fill':_0x113ec9||_0x585b12(_0x47da3b[_0x8dedbe(0x11a)],0.2),'left':_0x418614,'top':_0x183bbb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8dedbe(0x115)][_0x8dedbe(0x1d0)](_0x3c71d4),this[_0x8dedbe(0x230)][_0x8dedbe(0x248)](_0x3c71d4,_0x47bdce);}[_0x195f9a(0x11b)](_0xd5ff7b,_0xaf2371,_0x5b59ca,_0x256c2b){const _0x533efe=_0x195f9a,_0x28b1c0=new _0x48aa74(_0xd5ff7b)['setAlpha'](0.2)[_0x533efe(0x1f6)](),_0x1bea78=new _0x42a77e(Ti+_0x32701d[_0x533efe(0x101)](X),{'pointsGroup':_0xaf2371,'fill':_0x28b1c0||_0x585b12(_0x47da3b[_0x533efe(0x11a)],0.2),'left':_0x5b59ca,'top':_0x256c2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x533efe(0x115)]['push'](_0x1bea78),this['_scene'][_0x533efe(0x248)](_0x1bea78,_0x47bdce);}['_getAnchorBounding'](_0x2f5b74){const _0x39e350=_0x2f5b74[0x0],_0x153490=_0x39e350[0x0],_0x260ffc=_0x39e350[0x2],{x:_0x5dd69b,y:_0x182919}=_0x153490,{x:_0x67e528,y:_0xbca60a}=_0x260ffc;return{'left':_0x5dd69b,'top':_0x182919,'width':_0x67e528-_0x5dd69b,'height':_0xbca60a-_0x182919};}['_getScale'](){const _0x362ad3=_0x195f9a,{scaleX:_0x21cd02,scaleY:_0xcbbece}=this[_0x362ad3(0x230)][_0x362ad3(0x237)]();return Math['max'](_0x21cd02,_0xcbbece);}}var Ui=Object[_0x195f9a(0x107)],Mi=(_0x7de57,_0x25c2da,_0x26c8bb,_0x1a1d10)=>{for(var _0x25eb5c=_0x1a1d10>0x1?void 0x0:_0x1a1d10?Ui(_0x25c2da,_0x26c8bb):_0x25c2da,_0xd203fe=_0x7de57['length']-0x1,_0x5b1bf4;_0xd203fe>=0x0;_0xd203fe--)(_0x5b1bf4=_0x7de57[_0xd203fe])&&(_0x25eb5c=_0x5b1bf4(_0x25eb5c)||_0x25eb5c);return _0x25eb5c;},Z=(_0x299262,_0xa04189)=>(_0xe6f077,_0x4a472e)=>_0xa04189(_0xe6f077,_0x4a472e,_0x299262);let Pe=class extends _0x2ac0c1{constructor(_0x3c6ad9,_0x52f734,_0x52c8f3,_0x288686,_0x465b7b){const _0x3ac1e5=_0x195f9a;super(),_(this,_0x3ac1e5(0x12d),[]),_(this,_0x3ac1e5(0x20a),[]),(this['_context']=_0x3c6ad9,this[_0x3ac1e5(0x24c)]=_0x52f734,this[_0x3ac1e5(0x29b)]=_0x52c8f3,this['_commandService']=_0x288686,this[_0x3ac1e5(0x2a9)]=_0x465b7b,this['_init']());}[_0x195f9a(0xea)](){const _0x3b2608=_0x195f9a,_0x222950=this[_0x3b2608(0x247)]['unitId'],_0x5ac003=this['_docSkeletonManagerService'];this[_0x3b2608(0x1ed)](_0x10c006([this[_0x3b2608(0x29b)][_0x3b2608(0x2a4)](_0x222950),this[_0x3b2608(0x2a9)]['currentTheme$']])[_0x3b2608(0x1fe)](_0x19d3aa(([_0xc5870e,_0x18aeae])=>({'skeleton':_0x5ac003[_0x3b2608(0x151)](),'cursors':[..._0xc5870e[_0x3b2608(0x241)]()]['flatMap'](_0x3af6d7=>({..._0x3af6d7,'color':_0x18aeae[_0x3af6d7['color']]}))})))['subscribe'](_0x55d3ec=>{const _0x5e416c=_0x3b2608;if(this['_removeCollabCursors'](),_0x55d3ec){const {skeleton:_0x131009,cursors:_0x584c05}=_0x55d3ec;this[_0x5e416c(0x2b1)](_0x131009,_0x584c05);}})),this[_0x3b2608(0x18b)](),this[_0x3b2608(0x195)]();}[_0x195f9a(0x2b1)](_0x4717e1,_0x1ff961){const _0x21c780=_0x195f9a,{scene:_0x3d058d,mainComponent:_0x159367}=this['_context'],_0xc03bc6=_0x1ff961[_0x21c780(0x11c)](_0x456367=>new qe(_0x456367,_0x3d058d,_0x4717e1,_0x159367));this[_0x21c780(0x12d)]=_0xc03bc6,this['_cursors']=_0x1ff961;}[_0x195f9a(0xd2)](){const _0x1a795b=_0x195f9a;this[_0x1a795b(0x12a)]();const {scene:_0x59c879,mainComponent:_0x209020}=this[_0x1a795b(0x247)],_0x4b90e4=this[_0x1a795b(0x24c)][_0x1a795b(0x151)](),_0x38d627=this['_cursors'][_0x1a795b(0x11c)](_0x327e5e=>new qe(_0x327e5e,_0x59c879,_0x4b90e4,_0x209020));this[_0x1a795b(0x12d)]=_0x38d627;}[_0x195f9a(0x12a)](){const _0x371924=_0x195f9a;this[_0x371924(0x12d)][_0x371924(0x2c0)](_0x2dc3c4=>_0x2dc3c4[_0x371924(0x1e6)]()),this[_0x371924(0x12d)]=[];}[_0x195f9a(0x195)](){const _0x175d1e=_0x195f9a,_0x46eaa1=[_0x2bf4ec['id']];this[_0x175d1e(0x1ed)](this['_commandService'][_0x175d1e(0x256)](_0x555984=>{const _0x4b6c8e=_0x175d1e;_0x46eaa1[_0x4b6c8e(0x148)](_0x555984['id'])&&_0x555984['params'][_0x4b6c8e(0x25a)]===this[_0x4b6c8e(0x247)]['unitId']&&this[_0x4b6c8e(0xd2)]();}));}[_0x195f9a(0x18b)](){const _0x768d43=_0x195f9a;this[_0x768d43(0x1ed)](_0x14e02d(this[_0x768d43(0x247)][_0x768d43(0x2ac)]['onTransformChange$'])['pipe'](_0x34596a(_0x44078d=>_0x44078d[_0x768d43(0x203)]===_0x5cc26b[_0x768d43(0x190)]),_0x4a702d(0x10))[_0x768d43(0xe6)](()=>{const _0x240421=_0x768d43;this[_0x240421(0xd2)]();}));}};Pe=Mi([Z(0x1,_0x556740(_0x2e9056)),Z(0x2,_0x556740(H)),Z(0x3,_0x5180dd),Z(0x4,_0x556740(_0x53bddf))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x4b9357{constructor(_0x4cbcc1,_0x376278){const _0x542986=_0x195f9a;super(_0x4cbcc1,_0x376278),_(this,_0x542986(0x17d)),_(this,'_hovered',!0x1),_(this,_0x542986(0x18e)),_(this,'_name',''),_(this,_0x542986(0x1ae),_0x542986(0xf4)),_(this,_0x542986(0x13a)),(_0x376278&&this[_0x542986(0xd7)](_0x376278),this[_0x542986(0x169)][_0x542986(0x288)](()=>this[_0x542986(0xd7)]({'hovered':!0x0})),this['onPointerLeave$'][_0x542986(0x288)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x195f9a(0xd7)](_0x58183d){const _0x4a7f0f=_0x195f9a;var _0x4a1fb5,_0x5e70d3,_0x742d04,_0x11b537,_0x1a9a9f,_0x1dede7;this[_0x4a7f0f(0x17d)]=(_0x4a1fb5=_0x58183d[_0x4a7f0f(0xcf)])!=null?_0x4a1fb5:this[_0x4a7f0f(0x17d)],this[_0x4a7f0f(0x281)]=(_0x5e70d3=_0x58183d[_0x4a7f0f(0x10f)])!=null?_0x5e70d3:this[_0x4a7f0f(0x281)],this[_0x4a7f0f(0x18e)]=(_0x742d04=_0x58183d[_0x4a7f0f(0x2bf)])!=null?_0x742d04:this['_range'],this[_0x4a7f0f(0x235)]=(_0x11b537=_0x58183d['name'])!=null?_0x11b537:this[_0x4a7f0f(0x235)],this[_0x4a7f0f(0x1ae)]=(_0x1a9a9f=_0x58183d[_0x4a7f0f(0x2c9)])!=null?_0x1a9a9f:this[_0x4a7f0f(0x1ae)],this[_0x4a7f0f(0x13a)]=(_0x1dede7=_0x58183d[_0x4a7f0f(0x1cd)])!=null?_0x1dede7:this[_0x4a7f0f(0x13a)],this[_0x4a7f0f(0x22a)]({'width':_0x58183d[_0x4a7f0f(0x229)],'height':_0x58183d[_0x4a7f0f(0x143)]});}[_0x195f9a(0x23f)](_0x1aad0a){const _0x4d4f98=_0x195f9a,{row:_0x1308e6,column:_0x2ca298}=_0x1aad0a;if(_0x1308e6>=this[_0x4d4f98(0x18e)][_0x4d4f98(0xda)]&&_0x1308e6<=this[_0x4d4f98(0x18e)][_0x4d4f98(0x16f)]&&_0x2ca298>=this['_range'][_0x4d4f98(0x130)]&&_0x2ca298<=this[_0x4d4f98(0x18e)][_0x4d4f98(0x259)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4d4f98(0xd7)]({'hovered':!0x1});}[_0x195f9a(0x231)](_0x23a79f){return!0x1;}['_draw'](_0x5a541e){const _0xd53da6=_0x195f9a;_0x311357[_0xd53da6(0x254)](_0x5a541e,{'width':this[_0xd53da6(0x229)],'height':this['height'],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xd53da6(0x13a)]}),this[_0xd53da6(0x281)]&&(_0x5a541e[_0xd53da6(0x206)](),_0x5a541e['transform'](0x1,0x0,0x0,0x1,this[_0xd53da6(0x229)],this[_0xd53da6(0x1ae)]===_0xd53da6(0x177)?0x0:-0x14),he[_0xd53da6(0x254)](_0x5a541e,{'text':this[_0xd53da6(0x235)],'color':this[_0xd53da6(0x17d)]}),_0x5a541e[_0xd53da6(0x2c1)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0xea76ba,_0x20f2c8,_0x36ef01,_0x2879ae)=>{const _0x1bf795=_0x195f9a;for(var _0x5dc74d=_0x2879ae>0x1?void 0x0:_0x2879ae?Ai(_0x20f2c8,_0x36ef01):_0x20f2c8,_0x17297e=_0xea76ba[_0x1bf795(0x263)]-0x1,_0x289c97;_0x17297e>=0x0;_0x17297e--)(_0x289c97=_0xea76ba[_0x17297e])&&(_0x5dc74d=_0x289c97(_0x5dc74d)||_0x5dc74d);return _0x5dc74d;},Ie=(_0x100df4,_0x3d4ab1)=>(_0x2d46b4,_0x5ce18b)=>_0x3d4ab1(_0x2d46b4,_0x5ce18b,_0x100df4);const $i=0x1389;let we=class extends _0x2ac0c1{constructor(_0x7ca0a2,_0x36c415,_0x3c429a,_0x352c22){const _0x14fd90=_0x195f9a;super(),_(this,_0x14fd90(0x20a),new Set()),_(this,_0x14fd90(0x1d3),null),(this[_0x14fd90(0x247)]=_0x7ca0a2,this['_sheetSkeletonManagerService']=_0x36c415,this['_collabCursorController']=_0x3c429a,this[_0x14fd90(0x2a9)]=_0x352c22,this[_0x14fd90(0xea)]());}['_init'](){const _0x3b439f=_0x195f9a;this['_sheetSkeletonManagerService'][_0x3b439f(0x2bc)][_0x3b439f(0x1fe)](_0xd3a635(this[_0x3b439f(0x156)]),_0x5e1aa1(_0x331889=>{const _0x5aa5b7=_0x3b439f;if(_0x331889){const _0x4e7a0c=_0x331889[_0x5aa5b7(0x267)];return _0x10c006(this[_0x5aa5b7(0x29b)][_0x5aa5b7(0x2a4)](this['_context']['unitId']),this[_0x5aa5b7(0x2a9)]['currentTheme$'])[_0x5aa5b7(0x1fe)](_0x19d3aa(([_0xff0e60,_0x3ffb96])=>{const _0x1a4358=_0x5aa5b7,_0x4f2914=new Map();return _0xff0e60[_0x1a4358(0x2c0)]((_0x2e548c,_0xe51599)=>{const _0x3d1431=_0x1a4358;if(_0x2e548c[_0x3d1431(0x1f7)]===_0x4e7a0c){const _0x9345aa={..._0x2e548c};_0x9345aa[_0x3d1431(0xcf)]=_0x3ffb96[_0x2e548c[_0x3d1431(0xcf)]],_0x4f2914[_0x3d1431(0xd3)](_0xe51599,_0x9345aa);}}),{'skeleton':_0x331889,'cursors':_0x4f2914};}));}return _0x3f5d4b({'skeleton':null,'cursors':new Map()});}))[_0x3b439f(0xe6)](({skeleton:_0x36d570,cursors:_0x416177})=>{const _0x487fc9=_0x3b439f;this[_0x487fc9(0x12a)](),_0x36d570&&this['_updateCollabCursors'](_0x36d570,_0x416177);}),this[_0x3b439f(0x243)]['currentSkeleton$'][_0x3b439f(0xe6)](_0x40ca55=>{const _0xbd8fb3=_0x3b439f;if(_0x40ca55==null)return;const {skeleton:_0x1c3a94}=_0x40ca55,{scene:_0x21378d}=this['_context'];_0x21378d[_0xbd8fb3(0x1ab)][_0xbd8fb3(0x288)](_0x1eb98c(_0x5fadbd=>{const _0x627a81=_0xbd8fb3;var _0x2b59d2,_0x56482b;const {offsetX:_0x2b631a,offsetY:_0x227ac2}=_0x5fadbd,{x:_0x509a7a,y:_0xd15c52}=_0x21378d['getRelativeToViewportCoord'](_0x38215f[_0x627a81(0x14f)]([_0x2b631a,_0x227ac2])),{scaleX:_0x5f1576,scaleY:_0x46b358}=_0x21378d[_0x627a81(0x237)](),_0x3fd8e8=_0x21378d[_0x627a81(0x14d)](_0x255c83['VIEW_MAIN']),_0x1a8e65=_0x21378d[_0x627a81(0x16e)](_0x38215f[_0x627a81(0x14f)]([_0x509a7a,_0xd15c52]),_0x3fd8e8),_0x5804a5=_0x1c3a94[_0x627a81(0x1a9)](_0x2b631a,_0x227ac2,_0x5f1576,_0x46b358,_0x1a8e65);((_0x2b59d2=this['_lastPointer'])==null?void 0x0:_0x2b59d2['column'])===_0x5804a5[_0x627a81(0x249)]&&((_0x56482b=this[_0x627a81(0x1d3)])==null?void 0x0:_0x56482b[_0x627a81(0x29d)])===_0x5804a5[_0x627a81(0x29d)]||this[_0x627a81(0x20a)]['forEach'](_0x1be221=>{const _0x46b345=_0x627a81;_0x1be221[_0x46b345(0x23f)](_0x5804a5);});},0x64));});}[_0x195f9a(0x2b1)](_0x30e745,_0x487c5f){const _0x34e40b=_0x195f9a;var _0x4f8ad6;const _0x285176=(_0x4f8ad6=this[_0x34e40b(0x243)][_0x34e40b(0x1f4)]())==null?void 0x0:_0x4f8ad6[_0x34e40b(0x171)];if(!_0x285176)return;const _0x3a1fbf=this[_0x34e40b(0x246)]();if(!_0x3a1fbf)return;this[_0x34e40b(0x20a)]['forEach'](_0x2298de=>{const _0xc92488=_0x34e40b;_0x2298de[_0xc92488(0x276)]();});const {scene:_0xeb45a4}=_0x3a1fbf,_0x3a16eb=xi(Array['from'](_0x487c5f[_0x34e40b(0x241)]()))[_0x34e40b(0x11c)](_0xc012c=>{const _0x50ae98=_0x34e40b,{color:_0x149872,range:_0x398806,name:_0x106213,selection:_0x42b3db,sheetID:_0x1589fd}=_0xc012c,{startColumn:_0x4e0409,startRow:_0x49b58f,endColumn:_0xb0eaf7,endRow:_0x53a150}=_0x398806,_0x3091b3=_0x4ca8ef(_0x49b58f,_0x4e0409,_0xeb45a4,_0x285176),_0x4fbce4=_0x4ca8ef(_0x53a150,_0xb0eaf7,_0xeb45a4,_0x285176),{columnHeaderHeightAndMarginTop:_0x97aade}=_0x285176,{startX:_0xa1d37a,startY:_0x271f61}=_0x3091b3,{endX:_0x3723bd,endY:_0x446bdf}=_0x4fbce4,_0x29e1cf=_0x3723bd-_0xa1d37a,_0x518cf6=_0x446bdf-_0x271f61,_0x346cdc={'labelPosition':_0x271f61-_0x97aade>=ee?_0x50ae98(0xf4):'bottom','sheetID':_0x1589fd,'range':_0x398806,'color':_0x149872,'name':_0x106213,'selection':_0x42b3db,'left':_0xa1d37a,'top':_0x271f61,'width':_0x29e1cf,'height':_0x518cf6,'evented':!0x1,'zIndex':$i};return new Li(_0x106213,_0x346cdc);});_0xeb45a4[_0x34e40b(0x2b3)](_0x3a16eb,Pi),this[_0x34e40b(0x20a)]=new Set(_0x3a16eb);}[_0x195f9a(0x12a)](){const _0xf829e3=_0x195f9a;var _0x1040cf;(_0x1040cf=this['_cursors'])==null||_0x1040cf[_0xf829e3(0x2c0)](_0x1c6aff=>_0x1c6aff['dispose']());}['_getSheetObject'](){const _0x599f00=_0x195f9a;return _0x3609a9(this['_context'][_0x599f00(0x19f)],this[_0x599f00(0x247)]);}};we=yi([Ie(0x1,_0x556740(_0x3dfaed)),Ie(0x2,_0x556740(H)),Ie(0x3,_0x556740(_0x53bddf))],we);function xi(_0x39bae0){const _0x4713c3=_0x195f9a,_0x2794ce=new Map();return _0x39bae0[_0x4713c3(0x2c0)](_0x255e83=>{const _0x1c97da=_0x4713c3;if(_0x2794ce[_0x1c97da(0x1a3)](_0x255e83[_0x1c97da(0x1b1)])){const _0x339720=_0x2794ce['get'](_0x255e83['selection']);_0x339720[_0x1c97da(0x26e)]+=',\x20'+_0x255e83[_0x1c97da(0x26e)];}else _0x2794ce[_0x1c97da(0xd3)](_0x255e83[_0x1c97da(0x1b1)],_0x255e83);}),Array['from'](_0x2794ce[_0x4713c3(0x241)]());}var I=function(){const _0x32bbd5=_0x195f9a;return I=Object[_0x32bbd5(0x13b)]||function(_0x1256a2){const _0x35f6c5=_0x32bbd5;for(var _0x97fff6,_0x366cf0=0x1,_0xf0cf65=arguments['length'];_0x366cf0<_0xf0cf65;_0x366cf0++){_0x97fff6=arguments[_0x366cf0];for(var _0x1f3fdd in _0x97fff6)Object[_0x35f6c5(0x176)][_0x35f6c5(0x2b7)][_0x35f6c5(0x20b)](_0x97fff6,_0x1f3fdd)&&(_0x1256a2[_0x1f3fdd]=_0x97fff6[_0x1f3fdd]);}return _0x1256a2;},I['apply'](this,arguments);},Bi=function(_0x598e0,_0x13b22e){const _0x30bc7d=_0x195f9a;var _0x38f199={};for(var _0x42f3b4 in _0x598e0)Object[_0x30bc7d(0x176)][_0x30bc7d(0x2b7)][_0x30bc7d(0x20b)](_0x598e0,_0x42f3b4)&&_0x13b22e[_0x30bc7d(0x109)](_0x42f3b4)<0x0&&(_0x38f199[_0x42f3b4]=_0x598e0[_0x42f3b4]);if(_0x598e0!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x310a43=0x0,_0x42f3b4=Object[_0x30bc7d(0x1c5)](_0x598e0);_0x310a43<_0x42f3b4[_0x30bc7d(0x263)];_0x310a43++)_0x13b22e['indexOf'](_0x42f3b4[_0x310a43])<0x0&&Object[_0x30bc7d(0x176)][_0x30bc7d(0x287)][_0x30bc7d(0x20b)](_0x598e0,_0x42f3b4[_0x310a43])&&(_0x38f199[_0x42f3b4[_0x310a43]]=_0x598e0[_0x42f3b4[_0x310a43]]);}return _0x38f199;},je=_0x5df9f3(function(_0x4a6c56,_0x474c64){const _0x2b031e=_0x195f9a;var _0x1e87ee=_0x4a6c56[_0x2b031e(0x1a8)],_0xa17af5=_0x4a6c56['id'],_0xa09fbd=_0x4a6c56[_0x2b031e(0x274)],_0x549725=_0x4a6c56[_0x2b031e(0x29e)],_0x56c859=Bi(_0x4a6c56,[_0x2b031e(0x1a8),'id','className',_0x2b031e(0x29e)]),_0x17baa9='univerjs-icon\x20univerjs-icon-'[_0x2b031e(0x244)](_0xa17af5,'\x20')[_0x2b031e(0x244)](_0xa09fbd||'')[_0x2b031e(0xe8)](),_0x55472d=_0x18d2b4('_'[_0x2b031e(0x244)](ji()));return Rt(_0x1e87ee,''[_0x2b031e(0x244)](_0xa17af5),{'defIds':_0x1e87ee['defIds'],'idSuffix':_0x55472d[_0x2b031e(0x28c)]},I({'ref':_0x474c64,'className':_0x17baa9},_0x56c859),_0x549725);});function Rt(_0x2ee65d,_0x52f9b3,_0x450e95,_0x47d66e,_0x40fd7c){const _0x584a5e=_0x195f9a;return _0x224195(_0x2ee65d['tag'],I(I({'key':_0x52f9b3},ki(_0x2ee65d,_0x450e95,_0x40fd7c)),_0x47d66e),(Hi(_0x2ee65d,_0x450e95)[_0x584a5e(0x277)]||[])[_0x584a5e(0x11c)](function(_0x5f42fd,_0x4120f6){const _0xb167d2=_0x584a5e;return Rt(_0x5f42fd,''[_0xb167d2(0x244)](_0x52f9b3,'-')['concat'](_0x2ee65d[_0xb167d2(0x1ca)],'-')[_0xb167d2(0x244)](_0x4120f6),_0x450e95,void 0x0,_0x40fd7c);}));}function ki(_0x1d13cf,_0x533572,_0x4d881a){const _0x142d67=_0x195f9a;var _0x48630b=I({},_0x1d13cf[_0x142d67(0x1d7)]);_0x4d881a!=null&&_0x4d881a[_0x142d67(0x21c)]&&_0x48630b['fill']===_0x142d67(0x21c)&&(_0x48630b[_0x142d67(0x24a)]=_0x4d881a['colorChannel1']),_0x1d13cf[_0x142d67(0x1ca)]===_0x142d67(0x2aa)&&_0x48630b['id']&&(_0x48630b['id']=_0x48630b['id']+_0x533572[_0x142d67(0x16b)]),Object[_0x142d67(0x2b5)](_0x48630b)[_0x142d67(0x2c0)](function(_0x42450c){const _0x199903=_0x142d67;var _0x5f47c9=_0x42450c[0x0],_0xa9c533=_0x42450c[0x1];_0x5f47c9===_0x199903(0x2aa)&&typeof _0xa9c533==_0x199903(0x1fd)&&(_0x48630b[_0x5f47c9]=_0xa9c533['replace'](/url\(#(.*)\)/,_0x199903(0x15f)[_0x199903(0x244)](_0x533572['idSuffix'],')')));});var _0x234516=_0x533572['defIds'];return!_0x234516||_0x234516[_0x142d67(0x263)]===0x0||(_0x1d13cf['tag']===_0x142d67(0x200)&&_0x48630b[_0x142d67(0x120)]&&(_0x48630b[_0x142d67(0x120)]=_0x48630b['xlink:href']+_0x533572[_0x142d67(0x16b)]),Object[_0x142d67(0x2b5)](_0x48630b)[_0x142d67(0x2c0)](function(_0x410f4c){const _0x1dae38=_0x142d67;var _0x5613d8=_0x410f4c[0x0],_0x1699bf=_0x410f4c[0x1];typeof _0x1699bf=='string'&&(_0x48630b[_0x5613d8]=_0x1699bf[_0x1dae38(0x280)](/url\(#(.*)\)/,_0x1dae38(0x15f)['concat'](_0x533572[_0x1dae38(0x16b)],')')));})),_0x48630b;}function Hi(_0x5a61cd,_0x152f84){const _0x3af60b=_0x195f9a;var _0x5c3855,_0x3f8419=_0x152f84[_0x3af60b(0x2b8)];return!_0x3f8419||_0x3f8419['length']===0x0?_0x5a61cd:_0x5a61cd[_0x3af60b(0x1ca)]===_0x3af60b(0xdd)&&(!((_0x5c3855=_0x5a61cd[_0x3af60b(0x277)])===null||_0x5c3855===void 0x0)&&_0x5c3855[_0x3af60b(0x263)])?I(I({},_0x5a61cd),{'children':_0x5a61cd['children'][_0x3af60b(0x11c)](function(_0x297cba){const _0x1b7de1=_0x3af60b;return typeof _0x297cba[_0x1b7de1(0x1d7)]['id']==_0x1b7de1(0x1fd)&&_0x3f8419&&_0x3f8419[_0x1b7de1(0x109)](_0x297cba['attrs']['id'])>-0x1?I(I({},_0x297cba),{'attrs':I(I({},_0x297cba[_0x1b7de1(0x1d7)]),{'id':_0x297cba[_0x1b7de1(0x1d7)]['id']+_0x152f84['idSuffix']})}):_0x297cba;})}):_0x5a61cd;}function ji(){const _0x3efc52=_0x195f9a;return Math['random']()[_0x3efc52(0x2ba)](0x24)[_0x3efc52(0x161)](0x2,0x8);}je[_0x195f9a(0xed)]=_0x195f9a(0x1ea);var Wi={'tag':_0x195f9a(0x285),'attrs':{'fill':_0x195f9a(0x2cc),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x195f9a(0x154)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f9a(0xdb)},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'stroke':'currentColor','d':_0x195f9a(0x26b),'strokeLinecap':'round','strokeLinejoin':_0x195f9a(0x124),'strokeWidth':1.2}}]},{'tag':_0x195f9a(0xdd),'attrs':{},'children':[{'tag':_0x195f9a(0x182),'attrs':{'id':_0x195f9a(0x220)},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'fill':_0x195f9a(0xf1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x195f9a(0x220)]},Dt=_0x5df9f3(function(_0x2e8de1,_0x36e9c7){const _0x1de3d6=_0x195f9a;return _0x224195(je,Object[_0x1de3d6(0x13b)]({},_0x2e8de1,{'id':_0x1de3d6(0x214),'ref':_0x36e9c7,'icon':Wi}));});Dt['displayName']=_0x195f9a(0x189);var Fi={'tag':_0x195f9a(0x285),'attrs':{'fill':_0x195f9a(0x2cc),'viewBox':_0x195f9a(0x18c),'width':_0x195f9a(0x154),'height':_0x195f9a(0x154)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f9a(0xe1)},'children':[{'tag':_0x195f9a(0x1e8),'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':'round','strokeLinejoin':_0x195f9a(0x124),'strokeWidth':1.2}}]},{'tag':_0x195f9a(0xdd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x195f9a(0x187)}}]}]}],'defIds':[_0x195f9a(0x105)]},Nt=_0x5df9f3(function(_0x285495,_0x52ed85){const _0x4249b7=_0x195f9a;return _0x224195(je,Object[_0x4249b7(0x13b)]({},_0x285495,{'id':_0x4249b7(0x221),'ref':_0x52ed85,'icon':Fi}));});Nt[_0x195f9a(0xed)]=_0x195f9a(0xee);function Yi(_0x5a3da5){const _0x3fe1f0=_0x195f9a;switch(_0x5a3da5){case _0x305e5c['OFFLINE']:return'collabStatus.offline';case _0x305e5c[_0x3fe1f0(0x1a7)]:return _0x3fe1f0(0x1bf);case _0x305e5c['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x305e5c[_0x3fe1f0(0x239)]:return _0x3fe1f0(0x1c0);case _0x305e5c['AWAITING']:case _0x305e5c['AWAITING_WITH_PENDING']:return _0x3fe1f0(0x13f);case _0x305e5c[_0x3fe1f0(0x20e)]:case _0x305e5c['PENDING']:return _0x3fe1f0(0x24d);}}function Vi(_0x7c044f){const _0x129b11=_0x195f9a,{status$:_0xcfa782}=_0x7c044f,_0x1c3df6=_0x10d5bc(_0xcfa782,_0x305e5c['NOT_COLLAB']),_0x33f86b=_0x48196e(_0x6f2c92),_0x2eeee0=_0x48196e(_0x3f5f8e),_0x9f43c3=_0x1c3df6!==_0x305e5c[_0x129b11(0x2c4)],_0x4fc849=_0x33f86b['t'](Yi(_0x1c3df6)),_0x1f4752=_0x9f43c3?_0x5af85b(Nt,{}):_0x5af85b(Dt,{}),_0x55e0f4=_0x308e12(()=>{_0x9f43c3||_0x2eeee0['reconnect']();},[_0x9f43c3,_0x2eeee0]);function _0x430d9e(){const _0x2ff16c=_0x129b11;return _0x3382e2('div',{'className':_0x2ff16c(0x12e),'onClick':_0x55e0f4,'children':[_0x5af85b('div',{'className':_0x4e749a(_0x2ff16c(0x1df),_0x9f43c3?_0x2ff16c(0x22f):_0x2ff16c(0x236)),'children':_0x1f4752}),_0x5af85b(_0x2ff16c(0x1b3),{'className':_0x2ff16c(0x10e),'children':_0x4fc849})]});}return _0x9f43c3?_0x430d9e():_0x5af85b(_0x4eda62,{'title':_0x33f86b['t'](_0x129b11(0x209)),'children':_0x430d9e()});}var Xi=Object[_0x195f9a(0x107)],Gi=(_0x270c79,_0x23dc5f,_0x576ea1,_0x345862)=>{for(var _0x538c7d=_0x345862>0x1?void 0x0:_0x345862?Xi(_0x23dc5f,_0x576ea1):_0x23dc5f,_0x226310=_0x270c79['length']-0x1,_0x5249f5;_0x226310>=0x0;_0x226310--)(_0x5249f5=_0x270c79[_0x226310])&&(_0x538c7d=_0x5249f5(_0x538c7d)||_0x538c7d);return _0x538c7d;},Q=(_0x31e272,_0x2049cd)=>(_0x1931a2,_0x48cf43)=>_0x2049cd(_0x1931a2,_0x48cf43,_0x31e272);let te=class extends _0x669a68{constructor(_0x4bfa00,_0x2aab76,_0x1c773d,_0x5de8a3){const _0xc7d0ee=_0x195f9a;super(),_(this,'_status$',new _0x27c7e6(_0x305e5c[_0xc7d0ee(0x239)])),(this[_0xc7d0ee(0x1e3)]=_0x4bfa00,this[_0xc7d0ee(0x233)]=_0x2aab76,this[_0xc7d0ee(0x18f)]=_0x1c773d,this[_0xc7d0ee(0x1ff)]=_0x5de8a3,this[_0xc7d0ee(0x213)](),this[_0xc7d0ee(0x260)]());}[_0x195f9a(0x260)](){const _0x4675d4=_0x195f9a;this['disposeWithMe'](this[_0x4675d4(0x1e3)]['focused$']['pipe'](_0x1b49bb(()=>{const _0x261961=_0x4675d4,_0x1cf911=this['_univerInstanceService'][_0x261961(0x19c)]();return _0x1cf911?this[_0x261961(0x18f)][_0x261961(0x1ee)](_0x1cf911[_0x261961(0x1b8)]()):_0x3f5d4b(null);}),_0x1b49bb(_0x150ffb=>_0x150ffb?_0x150ffb[_0x4675d4(0x266)]:_0x3f5d4b(_0x305e5c[_0x4675d4(0x239)])))[_0x4675d4(0xe6)](_0x437db9=>{const _0x4872cb=_0x4675d4;this['_status$'][_0x4872cb(0x2c8)](_0x437db9);}));}[_0x195f9a(0x213)](){const _0x5ed87d=_0x195f9a;this['disposeWithMe'](this[_0x5ed87d(0x1ff)]['registerComponent'](_0x1e1a9a[_0x5ed87d(0x185)],()=>_0x4290b7(Ki({'status$':this['_status$'][_0x5ed87d(0x1da)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x5d2c7a),Q(0x1,_0x556740(_0x8c0806)),Q(0x2,_0x556740(_0x507b69)),Q(0x3,_0x1761bb)],te);function Ki(_0x1f5b29){const {status$:_0x53b8bf}=_0x1f5b29;return function(){return _0x5af85b(Vi,{'status$':_0x53b8bf});};}var zi=Object[_0x195f9a(0x107)],Ji=(_0x2a2a0e,_0x5e596b,_0x1f39dc,_0xc65b7f)=>{const _0x2b5a41=_0x195f9a;for(var _0x21ea50=_0xc65b7f>0x1?void 0x0:_0xc65b7f?zi(_0x5e596b,_0x1f39dc):_0x5e596b,_0x33d536=_0x2a2a0e[_0x2b5a41(0x263)]-0x1,_0x29cc47;_0x33d536>=0x0;_0x33d536--)(_0x29cc47=_0x2a2a0e[_0x33d536])&&(_0x21ea50=_0x29cc47(_0x21ea50)||_0x21ea50);return _0x21ea50;},B=(_0x141429,_0x4ba794)=>(_0x1e0a22,_0x2291d1)=>_0x4ba794(_0x1e0a22,_0x2291d1,_0x141429);let se=class extends _0x669a68{constructor(_0x4b19c4,_0x27a605,_0x3081c6,_0x56a6f3,_0x5dbad8,_0x44c91c){const _0x593a95=_0x195f9a;super(),this[_0x593a95(0x23b)]=_0x4b19c4,this[_0x593a95(0x204)]=_0x27a605,this['_collaborationUIEventService']=_0x3081c6,this[_0x593a95(0x1ac)]=_0x56a6f3,this['_notificationService']=_0x5dbad8,this[_0x593a95(0x1f1)]=_0x44c91c,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x195f9a(0x1aa)](){const _0x365bd5=_0x195f9a;this[_0x365bd5(0x1ed)](this[_0x365bd5(0x23b)][_0x365bd5(0xeb)](()=>{const _0x2ff354=_0x365bd5;if(this[_0x2ff354(0x204)][_0x2ff354(0x23a)][_0x2ff354(0x205)])return this[_0x2ff354(0x1f1)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x195f9a(0x145)](){const _0x25d382=_0x195f9a;this[_0x25d382(0x1ed)](this[_0x25d382(0x293)][_0x25d382(0x2c2)]['subscribe'](_0x29d50b=>{const _0x52b65e=_0x25d382;_0x29d50b['id']===_0x4b3678['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x150))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x1c3)]&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x102))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x250)]&&this[_0x52b65e(0x1b9)]['show']({'title':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x1b2)),'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x16c)),'type':_0x52b65e(0x159),'duration':0x0}),_0x29d50b['id']===_0x4b3678['CONFLICT']&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t']('collaboration.closeRoom')+'('+_0x29d50b['data']+')'}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0xdf)]&&this[_0x52b65e(0x1ac)]['show']({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x29d50b[_0x52b65e(0x258)]||'')}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x283)]&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x14b))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x14c)]&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x1b7))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x2c3)]&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x1706a8),B(0x1,_0xac2fb0),B(0x2,_0x556740(_0x1b2fe3)),B(0x3,_0x4e2e4f),B(0x4,_0x10bafe),B(0x5,_0x556740(_0x6f2c92))],se);const Zi=_0x195f9a(0x23d),et={},Ut=_0x355c51(_0x195f9a(0x18d));var Qi=Object[_0x195f9a(0x107)],qi=(_0x2d9c0a,_0x493501,_0x37c783,_0x1c7a6a)=>{const _0x22d457=_0x195f9a;for(var _0x269a0a=_0x1c7a6a>0x1?void 0x0:_0x1c7a6a?Qi(_0x493501,_0x37c783):_0x493501,_0x5ea75a=_0x2d9c0a[_0x22d457(0x263)]-0x1,_0x5bbba4;_0x5ea75a>=0x0;_0x5ea75a--)(_0x5bbba4=_0x2d9c0a[_0x5ea75a])&&(_0x269a0a=_0x5bbba4(_0x269a0a)||_0x269a0a);return _0x269a0a;},G=(_0x59f250,_0x3f9079)=>(_0x3c5bba,_0x333963)=>_0x3f9079(_0x3c5bba,_0x333963,_0x59f250);let ie=class extends _0x2ac0c1{constructor(_0x2d5aaf,_0x5ae624,_0x21642d,_0x1add4f,_0xc79fb4){const _0x21bb42=_0x195f9a;super(),this[_0x21bb42(0x21b)]=_0x2d5aaf,this[_0x21bb42(0x126)]=_0x5ae624,this[_0x21bb42(0x20d)]=_0x21642d,this['_dataLoaderService']=_0x1add4f,_0xc79fb4?_0xc79fb4==null||_0xc79fb4[_0x21bb42(0x1eb)]()[_0x21bb42(0x273)](()=>this['_init']()):(this[_0x21bb42(0x126)][_0x21bb42(0x1f9)](_0x21bb42(0x103),_0x21bb42(0xf8)),this[_0x21bb42(0xea)]());}async[_0x195f9a(0xea)](){const _0x26534d=_0x195f9a,_0x2b37b3=this[_0x26534d(0x21b)][_0x26534d(0x1d8)]('unit'),_0x157576=this[_0x26534d(0x21b)][_0x26534d(0x1d8)](_0x26534d(0x203)),_0x454470=this[_0x26534d(0x21b)]['getParam']('subunit');if(!_0x2b37b3||!_0x157576){this['_logService'][_0x26534d(0x1f9)](_0x26534d(0x103),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1320d7=await this[_0x26534d(0x186)][_0x26534d(0x128)](_0x2b37b3,Number(_0x157576),_0x454470);_0x1320d7&&_0x1320d7 instanceof _0x489db4&&this['_setupSubUnitSync'](_0x1320d7);}async[_0x195f9a(0x2a6)](_0x1d538d){const _0x4fd4dc=_0x195f9a;await this[_0x4fd4dc(0x15d)](_0x1d538d),_0x1d538d[_0x4fd4dc(0x12f)]['pipe'](_0xac117b(this[_0x4fd4dc(0x156)]))['subscribe'](_0x30c5ce=>{const _0x7ee822=_0x4fd4dc;_0x30c5ce&&this[_0x7ee822(0x1a1)](_0x30c5ce);}),this[_0x4fd4dc(0x21b)][_0x4fd4dc(0x13c)][_0x4fd4dc(0x1fe)](_0xac117b(this['dispose$']))[_0x4fd4dc(0xe6)](()=>this[_0x4fd4dc(0x15d)](_0x1d538d));}[_0x195f9a(0x1a1)](_0x2b757f,_0x355607=!0x1){const _0x2f5b26=_0x195f9a,_0x7e37b8=this[_0x2f5b26(0x21b)][_0x2f5b26(0x1d8)](_0x2f5b26(0x2c7));_0x2b757f['getSheetId']()!==_0x7e37b8&&this[_0x2f5b26(0x21b)][_0x2f5b26(0x1a2)]('subunit',_0x2b757f[_0x2f5b26(0x1f0)](),_0x355607);}async[_0x195f9a(0x15d)](_0x4173d5){const _0x3cdbba=_0x195f9a;var _0x1c2dfe;const _0x3e65e6=this[_0x3cdbba(0x21b)]['getParam']('subunit');if(!_0x3e65e6||!_0x4173d5[_0x3cdbba(0x227)](_0x3e65e6)){const _0x55b651=_0x4173d5[_0x3cdbba(0x2a2)]()[0x0],_0x37cacd=_0x4173d5[_0x3cdbba(0x227)](_0x55b651);if(!_0x37cacd)return;this[_0x3cdbba(0x1a1)](_0x37cacd,!0x0),await this[_0x3cdbba(0x20d)][_0x3cdbba(0x13e)](_0x2daa78['id'],{'unitId':_0x4173d5[_0x3cdbba(0x1b8)](),'subUnitId':_0x55b651});return;}((_0x1c2dfe=_0x4173d5['getActiveSheet']())==null?void 0x0:_0x1c2dfe['getSheetId']())!==_0x3e65e6&&await this[_0x3cdbba(0x20d)]['executeCommand'](_0x2daa78['id'],{'unitId':_0x4173d5[_0x3cdbba(0x1b8)](),'subUnitId':_0x3e65e6});}};ie=qi([G(0x0,Ut),G(0x1,_0x3361aa),G(0x2,_0x5180dd),G(0x3,_0x556740(_0x338f40)),G(0x4,_0x18a51f(_0x5f1ca4))],ie);var en=Object[_0x195f9a(0x107)],tn=(_0x11aabf,_0x588302,_0x38c2a8,_0x3a395f)=>{const _0x1058f0=_0x195f9a;for(var _0x566354=_0x3a395f>0x1?void 0x0:_0x3a395f?en(_0x588302,_0x38c2a8):_0x588302,_0x18f740=_0x11aabf[_0x1058f0(0x263)]-0x1,_0x106488;_0x18f740>=0x0;_0x18f740--)(_0x106488=_0x11aabf[_0x18f740])&&(_0x566354=_0x106488(_0x566354)||_0x566354);return _0x566354;},pe=(_0x48cb11,_0x270831)=>(_0x3f59b0,_0xc449ec)=>_0x270831(_0x3f59b0,_0xc449ec,_0x48cb11);let ne=class{constructor(_0x3edb86,_0x2cd3c,_0x4d5e49){const _0x2da642=_0x195f9a;this[_0x2da642(0x233)]=_0x3edb86,this[_0x2da642(0x1e5)]=_0x2cd3c,this[_0x2da642(0x1fa)]=_0x4d5e49;}[_0x195f9a(0x1dc)](_0x1a8c54){const _0x128247=_0x195f9a;this[_0x128247(0x129)](_0x1a8c54),this['_transformPreviousActiveRange'](_0x1a8c54);}[_0x195f9a(0x127)](_0x180601){const _0x4cb49c=_0x195f9a,{unitID:_0x4a85c5}=_0x180601,_0xfcea6a=this['_renderManagerService'][_0x4cb49c(0x240)](_0x4a85c5)[_0x4cb49c(0x123)](_0x44e55b),{redoCache:_0xeb5067}=_0xfcea6a[_0x4cb49c(0x1e4)]();if(_0xeb5067[_0x4cb49c(0x263)]===0x0)return _0x180601;let _0x1d1381=_0x32701d[_0x4cb49c(0x146)](_0x180601['mutations'][0x0]);for(let _0x1e4d52=0x0;_0x1e4d52<_0xeb5067[_0x4cb49c(0x263)];_0x1e4d52++){const _0x190dfe={'id':_0x4cb49c(0x188),'params':{..._0xeb5067[_0x1e4d52]}},_0x2711dd=this[_0x4cb49c(0x1e5)]['transformMutation'](_0x1d1381,_0x190dfe,!0x1);if(_0x208da3(_0x2711dd))throw _0x2711dd['error'];_0x1d1381=_0x2711dd['m1Prime'];}return{..._0x32701d[_0x4cb49c(0x146)](_0x180601),'mutations':[_0x1d1381]};}[_0x195f9a(0x129)](_0x5e6716){const _0x1daf4d=_0x195f9a,{unitID:_0xfa8650}=_0x5e6716,_0x1b0b98=this[_0x1daf4d(0x1fa)][_0x1daf4d(0x240)](_0xfa8650)[_0x1daf4d(0x123)](_0x44e55b),{undoCache:_0x5c57fa,redoCache:_0x5dba41}=_0x1b0b98[_0x1daf4d(0x1e4)]();if(_0x5c57fa[_0x1daf4d(0x263)]===0x0||_0x5dba41[_0x1daf4d(0x263)]===0x0)return;const _0x5a4df0=[],_0x455b7a=[];let _0x506d4d=_0x32701d['deepClone'](_0x5e6716[_0x1daf4d(0x15a)][0x0]),_0x5ebc00=_0x32701d[_0x1daf4d(0x146)](_0x5e6716[_0x1daf4d(0x15a)][0x0]);for(let _0x2f14d7=_0x5c57fa[_0x1daf4d(0x263)]-0x1;_0x2f14d7>=0x0;_0x2f14d7--){const _0x259cfc={'id':_0x1daf4d(0x188),'params':{..._0x5c57fa[_0x2f14d7]}},_0x50b283={'id':_0x1daf4d(0x188),'params':{..._0x5dba41[_0x2f14d7]}},_0x27bf6d=this[_0x1daf4d(0x1e5)][_0x1daf4d(0x12c)](_0x506d4d,_0x259cfc,!0x1),_0x1956f0=this[_0x1daf4d(0x1e5)]['transformMutation'](_0x5ebc00,_0x50b283,!0x1);if(_0x208da3(_0x27bf6d))throw _0x27bf6d['error'];if(_0x208da3(_0x1956f0))throw _0x1956f0['error'];_0x5a4df0['unshift'](_0x27bf6d[_0x1daf4d(0xe2)][_0x1daf4d(0x27d)]),_0x455b7a[_0x1daf4d(0x294)](_0x1956f0[_0x1daf4d(0xe2)]['params']),_0x506d4d=_0x27bf6d[_0x1daf4d(0x2cd)],_0x5ebc00=_0x1956f0['m1Prime'];}_0x1b0b98[_0x1daf4d(0x1be)]({'undoCache':_0x5a4df0,'redoCache':_0x455b7a});}[_0x195f9a(0x20c)](_0xe92c9d){const _0x520a0f=_0x195f9a,{unitID:_0xbb3f7c}=_0xe92c9d,_0x337f4d=this[_0x520a0f(0x1fa)][_0x520a0f(0x240)](_0xbb3f7c)[_0x520a0f(0x123)](_0x44e55b),_0x5199b7=_0x337f4d[_0x520a0f(0x29c)]();if(_0x5199b7==null)return;const _0x17175=[{'id':_0x520a0f(0x188),'params':{'unitId':_0xe92c9d['unitID'],'actions':null,'textRanges':[_0x5199b7]}}],_0xdcea77=this[_0x520a0f(0x1e5)][_0x520a0f(0x164)](_0xe92c9d,_0x17175);if(!_0x7c79c3(_0xdcea77))throw _0xdcea77[_0x520a0f(0x159)];const _0x413b12=_0xdcea77[_0x520a0f(0xe2)][0x0][_0x520a0f(0x27d)][_0x520a0f(0x252)];Array[_0x520a0f(0x21e)](_0x413b12)&&_0x413b12[_0x520a0f(0x263)]&&_0x337f4d['setActiveRange'](_0x413b12[0x0]);}};ne=tn([pe(0x0,_0x556740(_0x8c0806)),pe(0x1,_0xc47634),pe(0x2,_0xcbfcfa)],ne);var sn=Object[_0x195f9a(0x107)],nn=(_0x19afb9,_0x39ffb4,_0x30e60f,_0x502b0a)=>{for(var _0x3d7213=_0x502b0a>0x1?void 0x0:_0x502b0a?sn(_0x39ffb4,_0x30e60f):_0x39ffb4,_0x541453=_0x19afb9['length']-0x1,_0x30330f;_0x541453>=0x0;_0x541453--)(_0x30330f=_0x19afb9[_0x541453])&&(_0x3d7213=_0x30330f(_0x3d7213)||_0x3d7213);return _0x3d7213;},Ce=(_0x51de1c,_0x2f58ac)=>(_0x4883eb,_0x4703ec)=>_0x2f58ac(_0x4883eb,_0x4703ec,_0x51de1c);let re=class{constructor(_0x5a84b5,_0x2673ca,_0x20e5db){const _0x45f022=_0x195f9a;this[_0x45f022(0x233)]=_0x5a84b5,this['_transformService']=_0x2673ca,this[_0x45f022(0x14e)]=_0x20e5db;}[_0x195f9a(0x234)](_0x23c02b){const _0x596a50=_0x195f9a;this[_0x596a50(0x1e2)](_0x23c02b);}[_0x195f9a(0x127)](_0x2f18e7){const _0xb0b4b6=_0x195f9a,{unitID:_0x54db8d}=_0x2f18e7,{collaboration:_0x12317d}=this['_docStateChangeManagerService'][_0xb0b4b6(0x292)](_0x54db8d);if(_0x12317d[_0xb0b4b6(0x263)]===0x0)return _0x2f18e7;let _0xd3876d=_0x32701d['deepClone'](_0x2f18e7[_0xb0b4b6(0x15a)][0x0]);for(let _0xa89051=0x0;_0xa89051<_0x12317d[_0xb0b4b6(0x263)];_0xa89051++){const _0x25b119={'id':_0xb0b4b6(0x188),'params':{'unitId':_0x12317d[_0xa89051]['unitId'],..._0x12317d[_0xa89051][_0xb0b4b6(0xfd)]}},_0x81d19=this[_0xb0b4b6(0x1e5)][_0xb0b4b6(0x12c)](_0xd3876d,_0x25b119,!0x1);if(_0x208da3(_0x81d19))throw _0x81d19['error'];_0xd3876d=_0x81d19['m1Prime'];}return{..._0x32701d[_0xb0b4b6(0x146)](_0x2f18e7),'mutations':[_0xd3876d]};}['_transformHistoryAndStateStack'](_0x214fc5){const _0x5a107c=_0x195f9a,{unitID:_0x384a29}=_0x214fc5,{history:_0xba540,collaboration:_0x17e937}=this[_0x5a107c(0x14e)][_0x5a107c(0x292)](_0x384a29);if(_0xba540[_0x5a107c(0x263)]===0x0&&_0x17e937['length']===0x0)return;const _0x59e39b=[],_0x30d843=[];let _0x400879=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]),_0x53ad10=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]);for(let _0x3726fc=_0xba540[_0x5a107c(0x263)]-0x1;_0x3726fc>=0x0;_0x3726fc--){const _0x48274d={'id':_0x5a107c(0x188),'params':{'unitId':_0xba540[_0x3726fc][_0x5a107c(0x25a)],..._0xba540[_0x3726fc][_0x5a107c(0x172)]}},_0x4a1703={'id':_0x5a107c(0x188),'params':{'unitId':_0xba540[_0x3726fc]['unitId'],..._0xba540[_0x3726fc][_0x5a107c(0xfd)]}},_0x45ff3f=this['_transformService'][_0x5a107c(0x12c)](_0x400879,_0x48274d,!0x1),_0x53ab9e=this[_0x5a107c(0x1e5)][_0x5a107c(0x12c)](_0x53ad10,_0x4a1703,!0x1);if(_0x208da3(_0x45ff3f))throw _0x45ff3f[_0x5a107c(0x159)];if(_0x208da3(_0x53ab9e))throw _0x53ab9e[_0x5a107c(0x159)];_0x59e39b[_0x5a107c(0x294)]({..._0xba540[_0x3726fc],'undoState':_0x45ff3f[_0x5a107c(0xe2)][_0x5a107c(0x27d)],'redoState':_0x53ab9e['m2Prime']['params']}),_0x400879=_0x45ff3f[_0x5a107c(0x2cd)],_0x53ad10=_0x53ab9e['m1Prime'];}_0x400879=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]),_0x53ad10=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]);for(let _0x4a979b=_0x17e937['length']-0x1;_0x4a979b>=0x0;_0x4a979b--){const _0x3bb9e3={'id':_0x5a107c(0x188),'params':{'unitId':_0x17e937[_0x4a979b]['unitId'],..._0x17e937[_0x4a979b][_0x5a107c(0x172)]}},_0x528b6d={'id':_0x5a107c(0x188),'params':{'unitId':_0x17e937[_0x4a979b][_0x5a107c(0x25a)],..._0x17e937[_0x4a979b]['redoState']}},_0x51af93=this[_0x5a107c(0x1e5)][_0x5a107c(0x12c)](_0x400879,_0x3bb9e3,!0x1),_0x400df2=this['_transformService'][_0x5a107c(0x12c)](_0x53ad10,_0x528b6d,!0x1);if(_0x208da3(_0x51af93))throw _0x51af93[_0x5a107c(0x159)];if(_0x208da3(_0x400df2))throw _0x400df2['error'];_0x30d843[_0x5a107c(0x294)]({..._0x17e937[_0x4a979b],'undoState':_0x51af93[_0x5a107c(0xe2)]['params'],'redoState':_0x400df2['m2Prime'][_0x5a107c(0x27d)]}),_0x400879=_0x51af93['m1Prime'],_0x53ad10=_0x400df2[_0x5a107c(0x2cd)];}this['_docStateChangeManagerService'][_0x5a107c(0x1a0)](_0x384a29,{'history':_0x59e39b,'collaboration':_0x30d843});}};re=nn([Ce(0x0,_0x556740(_0x8c0806)),Ce(0x1,_0xc47634),Ce(0x2,_0x556740(_0x5c59fd))],re);var rn=Object[_0x195f9a(0x107)],on=(_0x756cba,_0x70e9fc,_0x4082f8,_0x5b187f)=>{const _0xf8d202=_0x195f9a;for(var _0x41ca5e=_0x5b187f>0x1?void 0x0:_0x5b187f?rn(_0x70e9fc,_0x4082f8):_0x70e9fc,_0x18e8a2=_0x756cba[_0xf8d202(0x263)]-0x1,_0x451a53;_0x18e8a2>=0x0;_0x18e8a2--)(_0x451a53=_0x756cba[_0x18e8a2])&&(_0x41ca5e=_0x451a53(_0x41ca5e)||_0x41ca5e);return _0x41ca5e;},tt=(_0x50c1d6,_0x1e532f)=>(_0x421a39,_0xab657d)=>_0x1e532f(_0x421a39,_0xab657d,_0x50c1d6);let oe=class{constructor(_0x307b03,_0x2f81d0){const _0x29516c=_0x195f9a;this[_0x29516c(0x233)]=_0x307b03,this[_0x29516c(0x1e5)]=_0x2f81d0;}[_0x195f9a(0xd8)](_0xf6cfc7){const _0x10bfe2=_0x195f9a;var _0x351f77;const _0x43f888=this[_0x10bfe2(0x233)][_0x10bfe2(0x270)](_0xe8deb5),_0x48acbf=(_0x351f77=_0x43f888['getDocRanges']())!=null?_0x351f77:[];if(_0x48acbf[_0x10bfe2(0x263)]===0x0)return;const _0x3513fc=_0xf6cfc7[_0x10bfe2(0x282)],_0x263f24=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3513fc,'actions':null,'textRanges':_0x48acbf}}],_0x48725a=this[_0x10bfe2(0x1e5)][_0x10bfe2(0x164)](_0xf6cfc7,_0x263f24);if(!_0x7c79c3(_0x48725a))throw _0x48725a[_0x10bfe2(0x159)];const _0x54080c=_0x48725a[_0x10bfe2(0xe2)][0x0]['params'][_0x10bfe2(0x252)];Array['isArray'](_0x54080c)&&_0x54080c[_0x10bfe2(0x263)]&&_0x43f888['replaceDocRanges'](_0x54080c,{'unitId':_0x3513fc,'subUnitId':_0x3513fc},!0x1);}};oe=on([tt(0x0,_0x556740(_0x8c0806)),tt(0x1,_0xc47634)],oe);var an=Object[_0x195f9a(0x107)],cn=(_0x6d72c3,_0x588b20,_0x4cdac2,_0x2a4c08)=>{const _0x13adb3=_0x195f9a;for(var _0x5332a2=_0x2a4c08>0x1?void 0x0:_0x2a4c08?an(_0x588b20,_0x4cdac2):_0x588b20,_0x3b7f9d=_0x6d72c3[_0x13adb3(0x263)]-0x1,_0x53ff2d;_0x3b7f9d>=0x0;_0x3b7f9d--)(_0x53ff2d=_0x6d72c3[_0x3b7f9d])&&(_0x5332a2=_0x53ff2d(_0x5332a2)||_0x5332a2);return _0x5332a2;},U=(_0x45be11,_0x5b8544)=>(_0x17e982,_0x5b38db)=>_0x5b8544(_0x17e982,_0x5b38db,_0x45be11);let ae=class extends _0x669a68{constructor(_0x342312,_0x26991b,_0x44071f,_0x3509be,_0x3fdcd6,_0xf76095,_0x1eca1f,_0x298174){const _0x4f4e47=_0x195f9a;super(),_(this,'_status$',new _0x27c7e6(_0x305e5c[_0x4f4e47(0x239)])),(this[_0x4f4e47(0x14e)]=_0x342312,this[_0x4f4e47(0x18f)]=_0x26991b,this['_docTransformIMECacheService']=_0x44071f,this[_0x4f4e47(0x1c8)]=_0x3509be,this[_0x4f4e47(0x1e9)]=_0x3fdcd6,this[_0x4f4e47(0x197)]=_0xf76095,this['_messageService']=_0x1eca1f,this[_0x4f4e47(0x1f1)]=_0x298174,this[_0x4f4e47(0x144)]());}[_0x195f9a(0x144)](){const _0x4916d4=_0x195f9a;this[_0x4916d4(0x1ed)](this[_0x4916d4(0x18f)][_0x4916d4(0x222)]['subscribe'](_0x29f0c1=>{const _0x39b8f9=_0x4916d4,_0x43c221=this['_docStateChangeManagerService'][_0x39b8f9(0x135)][_0x39b8f9(0xe6)](_0x440bed=>{const _0x3fc771=_0x39b8f9;if(_0x440bed==null)return;const {unitId:_0x259921,redoState:_0x1891ad,commandId:_0x1e27a2}=_0x440bed;if(_0x259921!==_0x29f0c1[_0x3fc771(0x282)])return;const _0x354f54={'id':_0x1e27a2,'type':_0x2fc203[_0x3fc771(0x1bc)],'params':{'unitId':_0x259921,'actions':_0x1891ad[_0x3fc771(0xe0)],'textRanges':null}};_0x29f0c1['onLocalMutation'](_0x354f54);});if(_0x29f0c1['disposeWithMe'](_0x43c221),_0x29f0c1 instanceof _0x188b0e){const _0x424809={'onTransformIME':_0x54ce0f=>this['_docTransformIMECacheService']['transformIMECache'](_0x54ce0f),'onTransformState':_0x24aafc=>this[_0x39b8f9(0x1c8)]['transformStateCache'](_0x24aafc),'onTransformSelections':_0x17450e=>this[_0x39b8f9(0x1e9)][_0x39b8f9(0xd8)](_0x17450e),'onSyncEditingCollabCursor':_0x546957=>this[_0x39b8f9(0x197)]['syncEditingCollabCursor'](_0x546957),'onTransformRemoteChangesetByIMECache':_0x4d4e14=>this[_0x39b8f9(0x2a8)]['transformRemoteChangeset'](_0x4d4e14),'onTransformRemoteChangesetByStateCache':_0xe4d2ed=>this[_0x39b8f9(0x1c8)]['transformRemoteChangeset'](_0xe4d2ed)};_0x29f0c1[_0x39b8f9(0x211)](_0x424809);}}));}};ae=cn([U(0x0,_0x556740(_0x5c59fd)),U(0x1,_0x556740(_0x507b69)),U(0x2,_0x556740(ne)),U(0x3,_0x556740(re)),U(0x4,_0x556740(oe)),U(0x5,_0x556740(He)),U(0x6,_0x4e2e4f),U(0x7,_0x556740(_0x6f2c92))],ae);var ln=Object[_0x195f9a(0x107)],_n=(_0x401b15,_0x8ae061,_0x312c23,_0x56efc7)=>{const _0x232d63=_0x195f9a;for(var _0x33ad99=_0x56efc7>0x1?void 0x0:_0x56efc7?ln(_0x8ae061,_0x312c23):_0x8ae061,_0x3dc3bb=_0x401b15[_0x232d63(0x263)]-0x1,_0x3b1f82;_0x3dc3bb>=0x0;_0x3dc3bb--)(_0x3b1f82=_0x401b15[_0x3dc3bb])&&(_0x33ad99=_0x3b1f82(_0x33ad99)||_0x33ad99);return _0x33ad99;},Ee=(_0x45fc94,_0x3d3067)=>(_0x1a4d2a,_0x39e9bf)=>_0x3d3067(_0x1a4d2a,_0x39e9bf,_0x45fc94);let Le=class extends _0x669a68{constructor(_0x3d8a23,_0x2d411f,_0x3e7e07){const _0x3a6922=_0x195f9a;super(),_(this,_0x3a6922(0x1dd),new Map()),_(this,_0x3a6922(0x153),new Map()),_(this,_0x3a6922(0x1c1),!0x1),(this['_configService']=_0x3d8a23,this[_0x3a6922(0x175)]=_0x2d411f,this['_revisionService']=_0x3e7e07);}[_0x195f9a(0x155)](){const _0x50db4f=_0x195f9a;this[_0x50db4f(0x1c1)]=!0x0;}[_0x195f9a(0x1af)](){const _0x5e718e=_0x195f9a;this[_0x5e718e(0x1c1)]=!0x1;}get[_0x195f9a(0x23a)](){const _0x8e268e=_0x195f9a;return this[_0x8e268e(0x153)];}[_0x195f9a(0x1e6)](){const _0x154d56=_0x195f9a;this['exhaustSavingTask']()[_0x154d56(0x273)](()=>super[_0x154d56(0x1e6)]());}async[_0x195f9a(0x157)](_0x2b8e68){const _0x525909=_0x195f9a;return this['_disabled']?null:this[_0x525909(0x175)][_0x525909(0x2b2)](_0x4fbab5(_0x2b8e68));}async[_0x195f9a(0x11e)](_0x2602eb,_0x470e93){return!!this['_localStorageService']['setItem'](_0x2602eb,_0x470e93);}['updateOfflineData'](_0x2eaf84,_0x5d63dd,_0x3de3df,_0x22933f){const _0x2d6cf4=_0x195f9a,_0x20b9ca=this['_revisionService'][_0x2d6cf4(0x17c)](_0x2eaf84);this['_cachedData'][_0x2d6cf4(0xd3)](_0x2eaf84,{'unitID':_0x2eaf84,'type':_0x5d63dd,'awaitingChangeset':_0x3de3df,'mutations':_0x22933f,'rev':_0x20b9ca}),this[_0x2d6cf4(0x153)]['has'](_0x2eaf84)||this['_scheduleSaving'](_0x2eaf84);}['_scheduleSaving'](_0x33359c){const _0x1012a3=_0x195f9a,_0x522090=this['_getSaveTimeout']();_0x522090===0x0?this[_0x1012a3(0x100)](_0x33359c):this['_saveTaskMap']['set'](_0x33359c,setTimeout(()=>this[_0x1012a3(0x100)](_0x33359c),_0x522090));}[_0x195f9a(0x1db)](){const _0x5f4b86=_0x195f9a;var _0xb0d3ff;return(_0xb0d3ff=this[_0x5f4b86(0x1f2)][_0x5f4b86(0x15b)](_0x500139))!=null?_0xb0d3ff:_0x48c7ae;}[_0x195f9a(0x100)](_0x1d3a5f){const _0x5845f7=_0x195f9a,_0x5c914c=this['_saveTaskMap'][_0x5845f7(0x270)](_0x1d3a5f);return _0x5c914c!==void 0x0&&window[_0x5845f7(0x238)](_0x5c914c),this['_localStorageService'][_0x5845f7(0x27b)](_0x4fbab5(_0x1d3a5f),this['_cachedData']['get'](_0x1d3a5f))[_0x5845f7(0x273)](()=>this[_0x5845f7(0x153)][_0x5845f7(0x183)](_0x1d3a5f));}async[_0x195f9a(0x1cc)](){const _0x5d8850=_0x195f9a,_0x168402=[];this[_0x5d8850(0x153)][_0x5d8850(0x2c0)]((_0x2f0688,_0x1010f0)=>{const _0x1bd965=_0x5d8850;window[_0x1bd965(0x238)](_0x2f0688),_0x168402['push'](this['_saveCache'](_0x1010f0)[_0x1bd965(0x273)](()=>{const _0x283596=_0x1bd965;this[_0x283596(0x153)]['delete'](_0x1010f0);}));}),await Promise['all'](_0x168402);}};Le=_n([Ee(0x0,_0x35ed53),Ee(0x1,_0x25023f),Ee(0x2,_0x556740(_0x547684))],Le);class hn extends _0x2ac0c1{constructor(){const _0x307eb5=_0x195f9a;super(),_(this,_0x307eb5(0x13c)),this['urlChange$']=_0x2a0a40(window,_0x307eb5(0x268))[_0x307eb5(0x1fe)](_0xac117b(this['dispose$']),_0x4446c9(0x1),_0x5b2ddd(void 0x0));}['setParam'](_0x4133ef,_0x22d369,_0x4c8a93=!0x1){const _0xd82cab=_0x195f9a,_0x3995a8=new URL(window['location'][_0xd82cab(0x118)]);_0x3995a8[_0xd82cab(0xd0)][_0xd82cab(0xd3)](_0x4133ef,_0x22d369),_0x4c8a93?window[_0xd82cab(0x160)][_0xd82cab(0x116)]('','',_0x3995a8[_0xd82cab(0x2ba)]()):window[_0xd82cab(0x160)][_0xd82cab(0x29f)]('','',_0x3995a8[_0xd82cab(0x2ba)]());}[_0x195f9a(0xfb)](_0x15128e,_0x31069b=!0x1){const _0x2c73b3=_0x195f9a,_0x4dab16=new URL(window[_0x2c73b3(0xf2)][_0x2c73b3(0x118)]);_0x4dab16[_0x2c73b3(0xd0)][_0x2c73b3(0x183)](_0x15128e),_0x31069b?window['history'][_0x2c73b3(0x116)]('','',_0x4dab16[_0x2c73b3(0x2ba)]()):window[_0x2c73b3(0x160)][_0x2c73b3(0x29f)]('','',_0x4dab16[_0x2c73b3(0x2ba)]());}['getParam'](_0x3efc30){const _0x5ffd59=_0x195f9a;var _0x59c0d5;return(_0x59c0d5=new URL(window[_0x5ffd59(0xf2)]['href'])[_0x5ffd59(0xd0)][_0x5ffd59(0x270)](_0x3efc30))!=null?_0x59c0d5:void 0x0;}}var un=Object[_0x195f9a(0x117)],dn=Object[_0x195f9a(0x107)],fn=(_0x3992f0,_0x5dcb28,_0x20e460)=>_0x5dcb28 in _0x3992f0?un(_0x3992f0,_0x5dcb28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20e460}):_0x3992f0[_0x5dcb28]=_0x20e460,Sn=(_0x347857,_0x5b8a20,_0x4aded5,_0x5192c4)=>{const _0x485f40=_0x195f9a;for(var _0x545003=_0x5192c4>0x1?void 0x0:_0x5192c4?dn(_0x5b8a20,_0x4aded5):_0x5b8a20,_0x571ce6=_0x347857[_0x485f40(0x263)]-0x1,_0x357405;_0x571ce6>=0x0;_0x571ce6--)(_0x357405=_0x347857[_0x571ce6])&&(_0x545003=_0x357405(_0x545003)||_0x545003);return _0x545003;},be=(_0x586b24,_0x512414)=>(_0x361d84,_0x3d4eda)=>_0x512414(_0x361d84,_0x3d4eda,_0x586b24),mn=(_0x39dd2e,_0x6e76fa,_0x4074ba)=>fn(_0x39dd2e,_0x6e76fa+'',_0x4074ba);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x356815{constructor(_0x8b1b4d=et,_0x14cb26,_0xc55d27,_0x1127b2){const _0x44b515=_0x195f9a;super(),this[_0x44b515(0x16a)]=_0x8b1b4d,this[_0x44b515(0x1fa)]=_0x14cb26,this['_injector']=_0xc55d27,this[_0x44b515(0x1f2)]=_0x1127b2;const {..._0x5b2269}=_0x5bbb62({},et,this['_config']);this[_0x44b515(0x1f2)][_0x44b515(0x1cb)](Zi,_0x5b2269);}[_0x195f9a(0x278)](){const _0x4b4ff1=_0x195f9a;this['_registerDependencies'](),this[_0x4b4ff1(0x12b)]();}[_0x195f9a(0x17b)](){const _0x3ca68f=_0x195f9a;this[_0x3ca68f(0x208)]();}['_registerDependencies'](){const _0x24724a=_0x195f9a;var _0x4d69ec;const _0x2f90eb=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5496df,{'useClass':_0xd8562c}],[_0xac2fb0,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x22f146(this[_0x24724a(0x233)],_0x510587(_0x2f90eb,(_0x4d69ec=this[_0x24724a(0x16a)])==null?void 0x0:_0x4d69ec[_0x24724a(0x2ab)]));}[_0x195f9a(0x208)](){const _0x2c85ea=_0x195f9a;this[_0x2c85ea(0x1ed)](this[_0x2c85ea(0x1fa)]['registerRenderModule'](_0x9205ee[_0x2c85ea(0x174)],[Pe])),this[_0x2c85ea(0x1ed)](this[_0x2c85ea(0x1fa)][_0x2c85ea(0x255)](_0x9205ee[_0x2c85ea(0xd1)],[we]));}['_initDependencies'](){const _0x4efc70=_0x195f9a;_0x17e040(this[_0x4efc70(0x233)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x195f9a(0x24b),gn),Ae=Sn([_0x3abd86(_0x17881b),be(0x1,_0xcbfcfa),be(0x2,_0x556740(_0x8c0806)),be(0x3,_0x35ed53)],Ae);var vn=Object[_0x195f9a(0x107)],In=(_0x4e34ad,_0x56eb8c,_0xa40bba,_0x54fb5d)=>{const _0x125042=_0x195f9a;for(var _0x595a8b=_0x54fb5d>0x1?void 0x0:_0x54fb5d?vn(_0x56eb8c,_0xa40bba):_0x56eb8c,_0x5572a2=_0x4e34ad[_0x125042(0x263)]-0x1,_0x746825;_0x5572a2>=0x0;_0x5572a2--)(_0x746825=_0x4e34ad[_0x5572a2])&&(_0x595a8b=_0x746825(_0x595a8b)||_0x595a8b);return _0x595a8b;},K=(_0x257810,_0x5833e0)=>(_0x2ca561,_0x191243)=>_0x5833e0(_0x2ca561,_0x191243,_0x257810);let st=class extends _0x3b33e7{constructor(_0x38d4b2,_0x58c846,_0xa74d1a,_0x1ddebe,_0x1ad052){super(_0x38d4b2,_0x58c846,_0xa74d1a,_0x1ddebe,_0x1ad052);}async['createSocket'](_0x41c361){const _0x50f994=_0x195f9a,_0x561e18=await this['_getSessionTicket'](),_0x3bdfba=this[_0x50f994(0x28b)](_0x41c361,_0x561e18);return this['_doCreateSocket'](_0x3bdfba);}['_createSocketURL'](_0x18936e,_0x62c2de){const _0x4e0fbf=_0x195f9a,_0x142fe2=typeof window>'u'?new URL(_0x18936e):new URL(_0x18936e,window[_0x4e0fbf(0xf2)][_0x4e0fbf(0x11d)]);_0x142fe2['searchParams']['set'](_0x4e0fbf(0x180),_0x62c2de);const _0x4683c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4e0fbf(0xf2)][_0x4e0fbf(0x113)]);return _0x4683c9['get'](_0x4e0fbf(0x27c))&&_0x142fe2[_0x4e0fbf(0xd0)][_0x4e0fbf(0xd3)]('runId',_0x4683c9[_0x4e0fbf(0x270)]('runId')),_0x142fe2[_0x4e0fbf(0x2ba)]();}async[_0x195f9a(0x28f)](){const _0x4d670e=_0x195f9a;var _0xb1f2a7,_0x4505d6,_0x480a90;const _0x5eff98=this[_0x4d670e(0x1f2)]['getConfig'](_0x3c6b37),_0x1146e2=(_0xb1f2a7=_0x5eff98==null?void 0x0:_0x5eff98[_0x4d670e(0x1fb)])!=null?_0xb1f2a7:_0x3151b3;return(_0x480a90=(_0x4505d6=(await this['_httpService'][_0x4d670e(0x270)](_0x1146e2,{'headers':{'Content-Type':'application/json'}}))[_0x4d670e(0x15e)])==null?void 0x0:_0x4505d6[_0x4d670e(0x28e)])!=null?_0x480a90:'';}};st=In([K(0x0,_0x556740(_0x8c0806)),K(0x1,_0x556740(_0x1ce5b6)),K(0x2,_0x35ed53),K(0x3,_0x3361aa),K(0x4,_0x4c78a)],st);const it=0x7530,nt=_0x195f9a(0x163);class jn extends _0x669a68{constructor(){const _0x2fe483=_0x195f9a;super(),_(this,_0x2fe483(0x179),_0x5554d5()),_(this,_0x2fe483(0x25c),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2fe483(0x2a0),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x2fe483(0x23c),new Map()),this['_init']();}[_0x195f9a(0x1e6)](){const _0x326af6=_0x195f9a;super[_0x326af6(0x1e6)](),this[_0x326af6(0x1bd)][_0x326af6(0x2c0)]((_0x2b1b35,_0x40a4f5)=>this['_removeClearOtherTimer'](_0x40a4f5)),this['_heartbeatTimer']&&window[_0x326af6(0x19b)](this[_0x326af6(0x2a0)]);}['getUnitStatus$'](_0x595480){const _0x34894a=_0x195f9a;return this['_ensureSubject'](_0x595480)[_0x34894a(0x1fe)](_0x286f07());}[_0x195f9a(0x1c6)](_0x4d4005){const _0x116e04=_0x195f9a;this['_selfUnitIDs'][_0x116e04(0x205)]===0x0&&this[_0x116e04(0x131)](),this[_0x116e04(0x25c)][_0x116e04(0x125)](_0x4d4005),this[_0x116e04(0x22c)]({'type':0x0,'memberID':this[_0x116e04(0x179)],'unitIDs':[_0x4d4005],'isForwarded':!0x1});}[_0x195f9a(0xe9)](_0x23e923){const _0xf80ecb=_0x195f9a;this['_selfUnitIDs']['delete'](_0x23e923),this[_0xf80ecb(0x25c)]['size']===0x0&&this[_0xf80ecb(0x2a0)]&&window[_0xf80ecb(0x19b)](this[_0xf80ecb(0x2a0)]);}[_0x195f9a(0xea)](){const _0x350926=_0x195f9a;this[_0x350926(0x1ed)](_0x5b2a44(_0x2a0a40(window,_0x350926(0x192))[_0x350926(0xe6)](_0x4369d9=>{const _0x4ef231=_0x350926;if(_0x4369d9[_0x4ef231(0x152)]!==nt||!_0x4369d9[_0x4ef231(0x216)])return;const _0x1b2ef4=JSON[_0x4ef231(0x142)](_0x4369d9['newValue']);this[_0x4ef231(0x1de)](_0x1b2ef4);}))),window[_0x350926(0x1cf)](_0x350926(0x219),()=>this[_0x350926(0x22c)]({'type':0x1,'memberID':this[_0x350926(0x179)],'unitIDs':Array[_0x350926(0x2b6)](this[_0x350926(0x25c)])}));}[_0x195f9a(0x1de)](_0xa2587c){const _0x42e763=_0x195f9a;switch(_0xa2587c[_0x42e763(0x203)]){case 0x0:this[_0x42e763(0x11f)](_0xa2587c);break;case 0x1:this[_0x42e763(0xe4)](_0xa2587c);break;case 0x2:this['_handleHeartbeatEvent'](_0xa2587c);break;}}['_handleJoinEvent'](_0x218736){const _0x2b3924=_0x195f9a,{unitIDs:_0xbea36c,memberID:_0x411f55,isForwarded:_0x3dfe52}=_0x218736;_0xbea36c['forEach'](_0x11227f=>{const _0x1b3693=_0x4df9;if(!_0x3dfe52&&this['_unitOnClients'][_0x1b3693(0x1a3)](_0x11227f)&&this[_0x1b3693(0x133)](_0x11227f)[_0x1b3693(0x2c8)](_0x21ea64['OTHER_CLIENTS_EDITING']),!this[_0x1b3693(0x297)][_0x1b3693(0x1a3)](_0x11227f)||!this[_0x1b3693(0x297)][_0x1b3693(0x270)](_0x11227f)[_0x1b3693(0x1a3)](_0x411f55)){const _0x566819=this[_0x1b3693(0x297)][_0x1b3693(0x270)](_0x11227f)||new Set();_0x566819[_0x1b3693(0x125)](_0x411f55),this[_0x1b3693(0x297)]['set'](_0x11227f,_0x566819),this[_0x1b3693(0x279)](_0x411f55);}}),_0x3dfe52||this[_0x2b3924(0x22c)]({'type':0x0,'memberID':this[_0x2b3924(0x179)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x195f9a(0x279)](_0x137916){const _0x231b80=_0x195f9a;this['_removeClearOtherTimer'](_0x137916);const _0x20fb79=window[_0x231b80(0x284)](()=>{const _0x5b89ee=_0x231b80;this[_0x5b89ee(0x297)]['forEach'](_0x220e3f=>{_0x220e3f['delete'](_0x137916);});},it*0x2);this[_0x231b80(0x1bd)]['set'](_0x137916,_0x20fb79);}[_0x195f9a(0x10a)](_0x3706b1){const _0x43e916=_0x195f9a;if(this[_0x43e916(0x1bd)][_0x43e916(0x1a3)](_0x3706b1)){const _0x172177=this[_0x43e916(0x1bd)][_0x43e916(0x270)](_0x3706b1);_0x172177&&window['clearTimeout'](_0x172177),this[_0x43e916(0x1bd)][_0x43e916(0xd3)](_0x3706b1,null);}}[_0x195f9a(0xe4)](_0x4811ca){const _0x5365aa=_0x195f9a,{memberID:_0x1d4dfe,unitIDs:_0x3adc97}=_0x4811ca;_0x3adc97[_0x5365aa(0x2c0)](_0x2877cc=>{const _0x5a4284=_0x5365aa;var _0x2c3318;const _0x128506=this['_unitOnClients'][_0x5a4284(0x270)](_0x2877cc);_0x128506&&(_0x128506[_0x5a4284(0x183)](_0x1d4dfe),(_0x2c3318=this[_0x5a4284(0x133)](_0x2877cc))==null||_0x2c3318[_0x5a4284(0x2c8)](_0x128506['size']===0x0?_0x21ea64['NO_OTHER_CLIENTS_EDITING']:_0x21ea64[_0x5a4284(0x291)]));}),this[_0x5365aa(0x10a)](_0x1d4dfe);}[_0x195f9a(0x134)](_0x2db4c1){const _0x360ed8=_0x195f9a;this['_scheduleClearOtherTimer'](_0x2db4c1[_0x360ed8(0x108)]);}['_send'](_0x4bfa10){const _0x416287=_0x195f9a;localStorage[_0x416287(0x27b)](nt,JSON['stringify'](_0x4bfa10));}[_0x195f9a(0x131)](){const _0x218184=_0x195f9a;this['_heartbeatTimer']=window[_0x218184(0x201)](()=>{const _0x43807c=_0x218184;this[_0x43807c(0x22c)]({'type':0x2,'memberID':this[_0x43807c(0x179)]});},it);}[_0x195f9a(0x133)](_0x43917c){const _0x44faba=_0x195f9a;return this[_0x44faba(0x23c)][_0x44faba(0x1a3)](_0x43917c)||this[_0x44faba(0x23c)][_0x44faba(0xd3)](_0x43917c,new _0x27c7e6(_0x21ea64[_0x44faba(0x228)])),this[_0x44faba(0x23c)]['get'](_0x43917c);}}function _0x5788(){const _0xffcdc4=['_memberService','complete','_transformHistoryAndStateStack','_univerInstanceService','getUndoRedoMutationParamsCache','_transformService','dispose','getValue','path','_docTransformSelectionsService','UniverIcon','whenReady','YUUMI_RATE_OVER_LIMIT','disposeWithMe','getCollabEntity$','getUniverSheetInstance','getSheetId','_localeService','_configService','LOGIN_FAILED','getCurrent','_toggleOnline','toRgbString','sheetID','roomMembers','debug','_renderManagerService','wsSessionTicketUrl','_eventUnsubscribe','string','pipe','_uiPartsService','use','setInterval','_toggleOffline','type','_localCacheService','size','save','INVALID_ARGUMENT','_registerRenderDependencies','collab-client.tooltip.reconnect','_cursors','call','_transformPreviousActiveRange','_commandService','SYNCED','font','_textBubble','addHandlerCallback','INVITE_CODE_HAS_BEEN_UES','_initStatusComponent','off-line-single','getRangePointData','newValue','YUUMI_UNABLE_LOAD_URL','APPLY_DUPLICATED','unload','send','_urlService','colorChannel1','unsubscribe','isArray','getMemberID','off-line-single_clip0_910_343','on-line-single','entityInit$','SNAPSHOT_INVALID_SNAPSHOT','_collabSessionService','_getMergeRange','getCurrentSelections','getSheetBySheetId','NO_OTHER_CLIENTS_EDITING','width','transformByState','156215Eofsar','_send','_drawTextRange','init','univer-text-green-500','_scene','triggerDblclick','min','_injector','transformStateCache','_name','univer-text-red-500','getAncestorScale','clearTimeout','NOT_COLLAB','saveTaskMap','_beforeCloseService','_unitStatus','collaboration-client-ui.config','getTypeOfUnitDisposed$','onMouseMove','getRenderById','values','_document','_sheetSkeletonManagerService','concat','cursorInfo$','_getSheetObject','_context','addObject','column','fill','pluginName','_docSkeletonManagerService','collabStatus.synced','_getScale','Warning','PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','textRanges','fillStyle','drawWith','registerRenderModule','onCommandExecuted','CHANGESET_REVISION_CONFILICT','data','endColumn','unitId','InsertRangeMoveRightCommandId','_selfUnitIDs','arc','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','_initStatusListener','_startSheetCollabCursor','USER_NOT_INVITED_CODE','length','312348KnpKTE','runOnServer','status$','sheetId','popstate','ONLINE','_cursorInfo$','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','_docClipboardService','21696Iwwpir','name','42290kHZgoM','get','post','LICENSE_DISTRO_REJECTED','then','className','closePath','makeDirty','children','onStarting','_scheduleClearOtherTimer','contains','setItem','runId','params','result','326488dHMcmo','replace','_hovered','unitID','SOCKET_FAILED_RETRY','setTimeout','svg','verdancy600','propertyIsEnumerable','subscribeEvent','collab-text-range-','WECHAT_HAS_BEEN_BOUND','_createSocketURL','current','_docSkeleton','ticket','_getSessionTicket','_onCursorUpdate','OTHER_CLIENTS_EDITING','getStateCache','_collaborationUIEventService','unshift','invokeId','getDocRanges','_unitOnClients','setAlpha','_hideTimer','_entities','_collabCursorController','getActiveRange','row','extend','pushState','_heartbeatTimer','COMPLETION_FINISHED','getUnhiddenWorksheets','findNodePositionByCharIndex','getCollabCursors$','_online','_setupSubUnitSync','fillText','_docTransformIMECacheService','_themeService','mask','override','engine','_updateLocalCursor','APPLY_PERMISSION_DENIED','MoveRangeCommandId','selections','_updateCollabCursors','getItem','addObjects','16nNrVNz','entries','from','hasOwnProperty','defIds','requireSession','toString','cursorInfo','currentSkeleton$','14UPxyqS','show','range','forEach','restore','event$','SUBMIT_CHANGESET_TIMEOUT','OFFLINE','UNDEFINED','collabCursorState$','subunit','next','labelPosition','_refRangeService','NOT_FOUND','none','m1Prime','color','searchParams','UNIVER_SHEET','_refreshCollabCursors','set','UNAUTHENTICATED','purple300','_assignedColors','setShapeProps','transformSelections','INTERNAL_ERROR','startRow','url(#off-line-single_clip0_910_343)','394639LkQMQu','defs','APPLY_REJECT','JOIN_ROOM_FAILED','actions','url(#on-line-single_clip0_910_349)','m2Prime','assignAColorForMemberID','_handleLeaveEvent','Error','subscribe','_draw','trim','disposeUnit','_init','registerBeforeClose','_anchorDot','displayName','OnLineSingle','symbol','_cursor','#fff','location','_collabCursorState$','top','ENSURE_SNAPSHOT_EXECUTION','Failed','executionId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','YUUMI_SUBSCRIPTION_NOT_FOUND','removeParam','UPDATE_CURSOR','redoState','rgba(255,\x20255,\x20255,\x200.01)','_httpService','_saveCache','generateRandomId','collaboration.closeRoom','[CollaborationDataLoaderController]','_session','on-line-single_clip0_910_349','some','getOwnPropertyDescriptor','memberID','indexOf','_removeClearOtherTimer','APPLY_NON_SEQUENTIAL_REVISION','measureText','startsWith','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','hovered','_anchor','YUUMI_URL_COL_OUT_OF_RANGE','source','search','TOO_MANY_REQUESTS','_shapes','replaceState','defineProperty','href','isEditing','black','_drawRectRange','map','origin','saveOfflineData','_handleJoinEvent','xlink:href','/run/','DeleteRangeMoveUpCommandId','with','round','add','_logService','transformRemoteChangeset','loadUnit','_transformUndoRedoStack','_removeCollabCursors','_initDependencies','transformMutation','_cursorShapes','univer-flex\x20univer-items-center','activeSheet$','startColumn','_scheduleHeartbeat','_onCursorDelete','_ensureSubject','_handleHeartbeatEvent','docStateChange$','USERS_LEAVE','EMAIL_HAS_BEEN_BOUND','INVALID_INVITE_CODE','1133tFDZVy','_backgroundColor','assign','urlChange$','getMember','executeCommand','collabStatus.syncing','PY_RUNTIME_SCRIPT_ERROR','addClipboardHook','parse','height','_initEntityListener','_initEvent','deepClone','blue400','includes','lineTo','collab-rect-range-','session.will-retry','SOCKET_FAILED','getViewport','_docStateChangeManagerService','FromArray','collaboration.single-unit.warning','getSkeleton','key','_saveTaskMap','1em','disableLocalCache','dispose$','loadOfflineData','ranges','error','mutations','getConfig','getOffsetConfig','_updateSubUnitFromURLParams','body','url(#$1','history','substring','createInstance','ACTIVE_UNIT_EVENT_CHANNEL','transformMutationsWithChangeset','_colorAssignService','collab-text-anchor-','moveTo','_onRefRangeChange','onPointerEnter$','_config','idSuffix','permission.content','RemoveRowCommandId','getVpScrollXYInfoByPosToVp','endRow','registerRefRange','skeleton','undoState','RECT','UNIVER_DOC','_localStorageService','prototype','bottom','find','_id','jiqing500','onRendered','getCurrentRevOfUnit','_color','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_syncEditingCollabCursorService','sessionTicket','RemoveColCommandId','clipPath','delete','_getAnchorBounding','HEADER_MENU','_dataLoaderService','translate(.97)','doc.mutation.rich-text-editing','OffLineSingle','text','_initResize','0\x200\x2017\x2016','uni.network.url-service','_range','_collaborationController','resize','45CIIYQy','storage','getTypeOfUnitAdded$','16491czdyEy','_initCommandExecutedListener','split','_docSyncEditingCollabCursorService','hide','TEXT','evenodd','clearInterval','getFocusedUnit','fillRule','saveImage','unit','setStateCache','_updateURLWithCurrentState','setParam','has','_colorIndex','imageSourceType','_roomMembers$','CONFLICT','icon','getCellPositionByOffset','_setupBeforeClosingHandler','onPointerMove$','_messageService','_hover','_labelPosition','enableLocalCache','ALREADY_EXISTS','selection','permission.title','div','_entityInit$','_handleHover','_drawAnchor','session.connection-failed','getUnitId','_notificationService','MOBILE_HAS_BEEN_BOUND','APPLY_REVISION_CONFILICT','MUTATION','_clearOtherTimers','setUndoRedoMutationParamsCache','collabStatus.conflict','collabStatus.notCollab','_disabled','_instanceService','CLOSE_ROOM','INVITE_CODE_REQUIRED','getOwnPropertySymbols','editingUnit','CONNECTOR_DATA_TOO_LARGE','_docTransformStateCacheService','sessionStatus$','tag','setConfig','exhaustSavingTask','backgroundColor','...','addEventListener','push','eventID','YUUMI_NO_CUBOID_FOR_QUESTION','_lastPointer','_imageIoService','Unknown\x20user','getCurrentUnitForType','attrs','getParam','_render','asObservable','_getSaveTimeout','transformIMECache','_cachedData','_handleEvent','univer-flex\x20univer-mr-2\x20univer-text-[20px]'];_0x5788=function(){return _0xffcdc4;};return _0x5788();}var Mt=(_0x5af976=>(_0x5af976[_0x5af976[_0x195f9a(0x2c5)]=0x0]=_0x195f9a(0x2c5),_0x5af976[_0x5af976['OK']=0x1]='OK',_0x5af976[_0x5af976[_0x195f9a(0xd9)]=0x2]=_0x195f9a(0xd9),_0x5af976[_0x5af976[_0x195f9a(0x250)]=0x3]=_0x195f9a(0x250),_0x5af976[_0x5af976['NOT_FOUND']=0x4]=_0x195f9a(0x2cb),_0x5af976[_0x5af976[_0x195f9a(0xd4)]=0x5]=_0x195f9a(0xd4),_0x5af976[_0x5af976[_0x195f9a(0x1b0)]=0x6]='ALREADY_EXISTS',_0x5af976[_0x5af976[_0x195f9a(0x207)]=0x7]=_0x195f9a(0x207),_0x5af976[_0x5af976[_0x195f9a(0x114)]=0x8]='TOO_MANY_REQUESTS',_0x5af976[_0x5af976[_0x195f9a(0x2a1)]=0x9]=_0x195f9a(0x2a1),_0x5af976[_0x5af976['LOGIN_FAILED']=0xa]=_0x195f9a(0x1f3),_0x5af976[_0x5af976[_0x195f9a(0x257)]=0x1389]=_0x195f9a(0x257),_0x5af976[_0x5af976[_0x195f9a(0x223)]=0x1771]=_0x195f9a(0x223),_0x5af976[_0x5af976[_0x195f9a(0x25f)]=0x1772]=_0x195f9a(0x25f),_0x5af976[_0x5af976[_0x195f9a(0xf5)]=0x1773]=_0x195f9a(0xf5),_0x5af976[_0x5af976[_0x195f9a(0xde)]=0x1b59]=_0x195f9a(0xde),_0x5af976[_0x5af976[_0x195f9a(0x10b)]=0x1b5a]=_0x195f9a(0x10b),_0x5af976[_0x5af976['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x195f9a(0x1bb),_0x5af976[_0x5af976[_0x195f9a(0x2ae)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5af976[_0x5af976[_0x195f9a(0x218)]=0x1b5d]='APPLY_DUPLICATED',_0x5af976[_0x5af976[_0x195f9a(0x1c7)]=0x1f41]=_0x195f9a(0x1c7),_0x5af976[_0x5af976['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5af976[_0x5af976[_0x195f9a(0x17e)]=0x232a]=_0x195f9a(0x17e),_0x5af976[_0x5af976[_0x195f9a(0x251)]=0x232b]=_0x195f9a(0x251),_0x5af976[_0x5af976[_0x195f9a(0x25e)]=0x232c]=_0x195f9a(0x25e),_0x5af976[_0x5af976[_0x195f9a(0x272)]=0x232d]=_0x195f9a(0x272),_0x5af976[_0x5af976[_0x195f9a(0x217)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5af976[_0x5af976[_0x195f9a(0x111)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5af976[_0x5af976[_0x195f9a(0x1ec)]=0x2713]=_0x195f9a(0x1ec),_0x5af976[_0x5af976[_0x195f9a(0xfa)]=0x2714]=_0x195f9a(0xfa),_0x5af976[_0x5af976[_0x195f9a(0x1d2)]=0x271a]=_0x195f9a(0x1d2),_0x5af976[_0x5af976['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5af976[_0x5af976[_0x195f9a(0x140)]=0x2af9]=_0x195f9a(0x140),_0x5af976[_0x5af976[_0x195f9a(0x212)]=0x2ee1]=_0x195f9a(0x212),_0x5af976[_0x5af976[_0x195f9a(0x138)]=0x2ee2]=_0x195f9a(0x138),_0x5af976[_0x5af976[_0x195f9a(0x1c4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5af976[_0x5af976[_0x195f9a(0x262)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5af976[_0x5af976['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x28a)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x1ba)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x137)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0xf9)]=-0x1]=_0x195f9a(0xf9),_0x5af976))(Mt||{}),pn=Object[_0x195f9a(0x107)],Cn=(_0x201a80,_0x32335f,_0x2a69de,_0x435b47)=>{const _0x4f1363=_0x195f9a;for(var _0x3c1c51=_0x435b47>0x1?void 0x0:_0x435b47?pn(_0x32335f,_0x2a69de):_0x32335f,_0x2352eb=_0x201a80[_0x4f1363(0x263)]-0x1,_0x6b02e;_0x2352eb>=0x0;_0x2352eb--)(_0x6b02e=_0x201a80[_0x2352eb])&&(_0x3c1c51=_0x6b02e(_0x3c1c51)||_0x3c1c51);return _0x3c1c51;},Oe=(_0x4a6a46,_0x3ca155)=>(_0x54c810,_0x330dfb)=>_0x3ca155(_0x54c810,_0x330dfb,_0x4a6a46);let rt=class extends _0x669a68{constructor(_0x55b7fd,_0x52971c,_0xa28678){const _0x476c2c=_0x195f9a;super(),this['_instanceService']=_0x55b7fd,this[_0x476c2c(0xff)]=_0x52971c,this[_0x476c2c(0x1f2)]=_0xa28678;}async[_0x195f9a(0x265)](_0x24195f,_0x252e87,_0x5501c2,..._0x571989){const _0x374f58=_0x195f9a;var _0x29e3ab,_0xe02565,_0x1f84c3,_0x45ba18;const _0x51090e=this[_0x374f58(0x1c2)]['getFocusedUnit']();if(!_0x51090e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2cbcf4=((_0x29e3ab=this[_0x374f58(0x1f2)][_0x374f58(0x15b)](_0x52fc0b))!=null?_0x29e3ab:_0x34b40b)+'/'+_0x24195f+_0x374f58(0x121)+_0x252e87,_0x43c6f6=new URL(window[_0x374f58(0xf2)]['href']),_0x4b3831={'scriptId':_0x24195f,'runId':(_0xe02565=_0x43c6f6[_0x374f58(0xd0)][_0x374f58(0x270)]('runId'))!=null?_0xe02565:'','function':_0x252e87,'unitId':_0x51090e[_0x374f58(0x1b8)](),'argsOfFunction':JSON['stringify'](_0x571989),'invokeId':(_0x1f84c3=_0x5501c2[_0x374f58(0x295)])!=null?_0x1f84c3:'','executionId':(_0x45ba18=_0x5501c2[_0x374f58(0xf7)])!=null?_0x45ba18:''};try{const _0x4326cc=await this[_0x374f58(0xff)][_0x374f58(0x271)](_0x2cbcf4,{'body':_0x4b3831});return _0x4326cc['body'][_0x374f58(0x159)]&&_0x4326cc[_0x374f58(0x15e)][_0x374f58(0x159)]['code']!==Mt['OK']?'Failed':_0x4326cc[_0x374f58(0x15e)][_0x374f58(0x27e)];}catch{return _0x374f58(0xf6);}}};rt=Cn([Oe(0x0,_0x5d2c7a),Oe(0x1,_0x556740(_0x1ce5b6)),Oe(0x2,_0x35ed53)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x2c49f5=_0x419f;function _0x4d89(){const _0x4bf923=['Authentication\x20Error','514179svQOWB','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2191959RhWRto','1799328SHsgzi','15UUlYiJ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','420ctbFmJ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1570394xokUff','Local\x20file','112WSmDKq','Synced','851108paeSMX','968940WKyVfX','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20Conflict','1SCpfHW','32681biKMuP'];_0x4d89=function(){return _0x4bf923;};return _0x4d89();}(function(_0x5e0965,_0x1cb3c0){const _0x5e98de=_0x419f,_0x32e9f1=_0x5e0965();while(!![]){try{const _0x36b39f=-parseInt(_0x5e98de(0x1d0))/0x1*(parseInt(_0x5e98de(0x1c6))/0x2)+-parseInt(_0x5e98de(0x1cb))/0x3+parseInt(_0x5e98de(0x1ca))/0x4*(parseInt(_0x5e98de(0x1d7))/0x5)+parseInt(_0x5e98de(0x1d6))/0x6+-parseInt(_0x5e98de(0x1d5))/0x7+-parseInt(_0x5e98de(0x1c8))/0x8*(-parseInt(_0x5e98de(0x1d3))/0x9)+parseInt(_0x5e98de(0x1c3))/0xa*(parseInt(_0x5e98de(0x1d1))/0xb);if(_0x36b39f===_0x1cb3c0)break;else _0x32e9f1['push'](_0x32e9f1['shift']());}catch(_0x45cc23){_0x32e9f1['push'](_0x32e9f1['shift']());}}}(_0x4d89,0x6bcb1));function _0x419f(_0x15c8c3,_0xb97487){const _0x4d8920=_0x4d89();return _0x419f=function(_0x419fb6,_0x466e7a){_0x419fb6=_0x419fb6-0x1c3;let _0x13d5d4=_0x4d8920[_0x419fb6];return _0x13d5d4;},_0x419f(_0x15c8c3,_0xb97487);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x2c49f5(0x1c7),'synced':_0x2c49f5(0x1c9),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2c49f5(0x1ce),'will-retry':_0x2c49f5(0x1d4),'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':_0x2c49f5(0x1cf),'content':_0x2c49f5(0x1cd)},'permission':{'title':_0x2c49f5(0x1d2),'content':_0x2c49f5(0x1c4)},'collaboration':{'single-unit':{'warning':_0x2c49f5(0x1d8)},'closeRoom':_0x2c49f5(0x1cc)},'auth':{'needGotoLoginAlert':_0x2c49f5(0x1c5)}};export{e as default};
1
+ function _0x2c2a(){const _0x365b4d=['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.','279942gPqttk','21338950mARSNt','11wAJkrK','606137wUQHFg','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','5NwRAGM','2545128yhljah','Click\x20to\x20Reconnect','2MOeFey','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','2912332XIrvUF','731164zceuoa','2849448AMNyyd','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','84wuotmU','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...'];_0x2c2a=function(){return _0x365b4d;};return _0x2c2a();}const _0x16a04b=_0x1eee;(function(_0x4fc904,_0x578545){const _0x23aa5c=_0x1eee,_0x5902f2=_0x4fc904();while(!![]){try{const _0x18695e=-parseInt(_0x23aa5c(0x1b9))/0x1*(-parseInt(_0x23aa5c(0x1bf))/0x2)+parseInt(_0x23aa5c(0x1ca))/0x3+-parseInt(_0x23aa5c(0x1be))/0x4*(-parseInt(_0x23aa5c(0x1b6))/0x5)+-parseInt(_0x23aa5c(0x1c6))/0x6*(-parseInt(_0x23aa5c(0x1b2))/0x7)+parseInt(_0x23aa5c(0x1c0))/0x8+-parseInt(_0x23aa5c(0x1b7))/0x9+parseInt(_0x23aa5c(0x1cb))/0xa*(-parseInt(_0x23aa5c(0x1cc))/0xb);if(_0x18695e===_0x578545)break;else _0x5902f2['push'](_0x5902f2['shift']());}catch(_0x1ab123){_0x5902f2['push'](_0x5902f2['shift']());}}}(_0x2c2a,0xabf49));const e={'collab-client':{'tooltip':{'reconnect':_0x16a04b(0x1b8)}},'collabStatus':{'fetchMiss':_0x16a04b(0x1c8),'conflict':_0x16a04b(0x1c5),'notCollab':_0x16a04b(0x1ba),'synced':_0x16a04b(0x1c3),'syncing':_0x16a04b(0x1b3),'offline':_0x16a04b(0x1bb)},'session':{'connection-failed':_0x16a04b(0x1b4),'will-retry':_0x16a04b(0x1c7),'room-full':_0x16a04b(0x1c1),'collaboration-timeout':_0x16a04b(0x1b5)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x16a04b(0x1c9)},'permission':{'title':_0x16a04b(0x1bd),'content':_0x16a04b(0x1c2)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x16a04b(0x1bc)},'auth':{'needGotoLoginAlert':_0x16a04b(0x1c4)}};function _0x1eee(_0x42c577,_0xc0a328){const _0x2c2a05=_0x2c2a();return _0x1eee=function(_0x1eee5b,_0x4ba969){_0x1eee5b=_0x1eee5b-0x1b2;let _0x1cf7c6=_0x2c2a05[_0x1eee5b];return _0x1cf7c6;},_0x1eee(_0x42c577,_0xc0a328);}export{e as default};
@@ -1 +1 @@
1
- function _0x37c9(){const _0x14937=['7496740MScFLl','33ESSuoQ','همگام\x20سازی','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','954776knEafw','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','6nWnmCg','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','291036fzijbC','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','127556YkWtyj','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','126gpWPXQ','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','تداخل\x20ویرایش','5067643DsTFId','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','13562320lRpeRR','4UnIlto','در\x20حال\x20همگام\x20سازی...','1074084CocVBq','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0x37c9=function(){return _0x14937;};return _0x37c9();}const _0x56309a=_0x5006;(function(_0x40414c,_0x19afe5){const _0x4850fc=_0x5006,_0x78709e=_0x40414c();while(!![]){try{const _0x5b7aea=-parseInt(_0x4850fc(0x149))/0x1*(parseInt(_0x4850fc(0x151))/0x2)+-parseInt(_0x4850fc(0x153))/0x3+-parseInt(_0x4850fc(0x147))/0x4+-parseInt(_0x4850fc(0x155))/0x5+-parseInt(_0x4850fc(0x145))/0x6*(-parseInt(_0x4850fc(0x14e))/0x7)+-parseInt(_0x4850fc(0x142))/0x8*(parseInt(_0x4850fc(0x14b))/0x9)+-parseInt(_0x4850fc(0x150))/0xa*(-parseInt(_0x4850fc(0x13f))/0xb);if(_0x5b7aea===_0x19afe5)break;else _0x78709e['push'](_0x78709e['shift']());}catch(_0x120c22){_0x78709e['push'](_0x78709e['shift']());}}}(_0x37c9,0xe4a5c));const o={'collab-client':{'tooltip':{'reconnect':_0x56309a(0x14c)}},'collabStatus':{'fetchMiss':_0x56309a(0x144),'conflict':_0x56309a(0x14d),'notCollab':'پرونده\x20محلی','synced':_0x56309a(0x140),'syncing':_0x56309a(0x152),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x56309a(0x141),'will-retry':_0x56309a(0x148),'room-full':_0x56309a(0x14a),'collaboration-timeout':_0x56309a(0x14f)},'conflict':{'title':'تداخل\x20همکاری','content':_0x56309a(0x154)},'permission':{'title':'خطای\x20اعتبارسنجی','content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x56309a(0x146)},'auth':{'needGotoLoginAlert':_0x56309a(0x143)}};function _0x5006(_0x599473,_0x538261){const _0x37c93b=_0x37c9();return _0x5006=function(_0x500674,_0x34b62b){_0x500674=_0x500674-0x13f;let _0x276d21=_0x37c93b[_0x500674];return _0x276d21;},_0x5006(_0x599473,_0x538261);}export{o as default};
1
+ function _0x45c4(){const _0x44f043=['آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی...','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','9taatbI','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','65456TnWTHx','1535048tYydgf','10MRVDve','2220705VwpUQe','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','511325YzupAc','تداخل\x20ویرایش','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','7DJDqzk','4455300mJmtnJ','خطای\x20اعتبارسنجی','پرونده\x20محلی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','22723910AEwfPb','همگام\x20سازی','225816iuEHsR','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...'];_0x45c4=function(){return _0x44f043;};return _0x45c4();}function _0x9c2e(_0x1c0da2,_0x39d642){const _0x45c40e=_0x45c4();return _0x9c2e=function(_0x9c2eb0,_0x5b482b){_0x9c2eb0=_0x9c2eb0-0x159;let _0x504646=_0x45c40e[_0x9c2eb0];return _0x504646;},_0x9c2e(_0x1c0da2,_0x39d642);}const _0x461101=_0x9c2e;(function(_0x23f27d,_0x25d280){const _0x592488=_0x9c2e,_0x290484=_0x23f27d();while(!![]){try{const _0x2109e9=-parseInt(_0x592488(0x15d))/0x1+parseInt(_0x592488(0x159))/0x2*(-parseInt(_0x592488(0x167))/0x3)+parseInt(_0x592488(0x16e))/0x4+-parseInt(_0x592488(0x15a))/0x5+-parseInt(_0x592488(0x161))/0x6*(parseInt(_0x592488(0x160))/0x7)+-parseInt(_0x592488(0x16f))/0x8*(-parseInt(_0x592488(0x16c))/0x9)+parseInt(_0x592488(0x165))/0xa;if(_0x2109e9===_0x25d280)break;else _0x290484['push'](_0x290484['shift']());}catch(_0x49e107){_0x290484['push'](_0x290484['shift']());}}}(_0x45c4,0x632f4));const o={'collab-client':{'tooltip':{'reconnect':_0x461101(0x15f)}},'collabStatus':{'fetchMiss':_0x461101(0x168),'conflict':_0x461101(0x15e),'notCollab':_0x461101(0x163),'synced':_0x461101(0x166),'syncing':_0x461101(0x16a),'offline':_0x461101(0x169)},'session':{'connection-failed':_0x461101(0x16d),'will-retry':_0x461101(0x15b),'room-full':_0x461101(0x164),'collaboration-timeout':_0x461101(0x15c)},'conflict':{'title':'تداخل\x20همکاری','content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x461101(0x162),'content':_0x461101(0x16b)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};