@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505051607 → 0.7.0-nightly.202505071607

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 _0x3a408b=_0x1625;(function(_0x195143,_0xda5887){const _0x1a4b5b=_0x1625,_0xc5d87a=_0x195143();while(!![]){try{const _0x224f91=-parseInt(_0x1a4b5b(0x262))/0x1+parseInt(_0x1a4b5b(0xdc))/0x2+-parseInt(_0x1a4b5b(0x19b))/0x3*(-parseInt(_0x1a4b5b(0x7e))/0x4)+parseInt(_0x1a4b5b(0x211))/0x5+parseInt(_0x1a4b5b(0xf0))/0x6+parseInt(_0x1a4b5b(0x104))/0x7+-parseInt(_0x1a4b5b(0x18c))/0x8*(parseInt(_0x1a4b5b(0xf1))/0x9);if(_0x224f91===_0xda5887)break;else _0xc5d87a['push'](_0xc5d87a['shift']());}catch(_0x56dbc5){_0xc5d87a['push'](_0xc5d87a['shift']());}}}(_0x362e,0xc88ea));var $t=Object[_0x3a408b(0x141)],xt=(_0x24ca3f,_0x57cb4f,_0x2adda6)=>_0x57cb4f in _0x24ca3f?$t(_0x24ca3f,_0x57cb4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2adda6}):_0x24ca3f[_0x57cb4f]=_0x2adda6,_=(_0x5826d3,_0x1dafde,_0x48b972)=>xt(_0x5826d3,typeof _0x1dafde!=_0x3a408b(0x1cc)?_0x1dafde+'':_0x1dafde,_0x48b972);import{MemberService as _0x37b96c,SessionStatus as _0x30339e,CollaborationSessionService as _0x38126a,CollaborationStatus as _0x1fa315,CollaborationController as _0x43cdb5,ILocalCacheService as _0x5e6fa7,CollaborationUIEventService as _0x42b038,CollaborationUIEventId as _0x990e29,DataLoaderService as _0x558d9e,DocCollaborationEntity as _0xf0db92,getLocalCacheKey as _0x3637d2,LOCAL_CACHE_INTERVAL as _0x45b731,LOCAL_CACHE_INTERVAL_KEY as _0x5c14d8,UniverCollaborationClientPlugin as _0x24a9f5,CollaborationSocketService as _0x39e4e0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fbcf1,DEFAULT_WS_SESSION_TICKET_URL as _0x49b757,UnitStatus as _0x529c6d,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x302758,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x215367}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4700ce,Disposable as _0x31f336,DOC_RANGE_TYPE as _0x529add,Inject as _0x17a839,Injector as _0x171dd8,IUniverInstanceService as _0xbc56cb,ICommandService as _0x101494,debounce as _0x407cab,Rectangle as _0x1ac39a,DisposableCollection as _0x38692d,toDisposable as _0x8e9af6,UniverInstanceType as _0x28af3d,Tools as _0x2ca080,COLORS as _0x54cb12,ColorKit as _0x14686d,ThemeService as _0x477be0,fromEventSubject as _0x3eb154,LocaleService as _0x39370a,createIdentifier as _0x3e7bd4,ILogService as _0x3d7217,Optional as _0x1f5a2d,Workbook as _0x3fddff,CommandType as _0x1545b4,IConfigService as _0x578670,ILocalStorageService as _0x7f96cd,DependentOn as _0x39a274,Plugin as _0x21eba3,merge as _0x4ba00a,registerDependencies as _0x2e427b,mergeOverrideWithDependencies as _0x4eb7d5,touchDependencies as _0x2e32bf,generateRandomId as _0x1437c2}from'@univerjs/core';import{Shape as _0xa8a813,Rect as _0x4e0805,getColor as _0x2079c1,RegularPolygon as _0x2fc12f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4501d4,Vector2 as _0xa0510c,SHEET_VIEWPORT_KEY as _0x54b74c,IRenderManagerService as _0x170543}from'@univerjs/engine-render';import{ISocketService as _0x4cbbf6,WebSocketService as _0x64b90a,HTTPService as _0x251afd}from'@univerjs/network';import{IDocClipboardService as _0x5b83a4,NodePositionConvertToCursor as _0x485177,NodePositionConvertToRectRange as _0x232ef9,TEXT_RANGE_LAYER_INDEX as _0x524deb,SetDocZoomRatioOperation as _0x1e0841,DocIMEInputManagerService as _0x515704,DocStateChangeManagerService as _0x49ab36}from'@univerjs/docs-ui';import{IImageIoService as _0x3912eb}from'@univerjs/drawing';import{BehaviorSubject as _0x51d94a,debounceTime as _0x3b3185,takeUntil as _0x458f50,Subject as _0x4f75d7,filter as _0x435fdd,switchMap as _0x25ab18,merge as _0x646080,combineLatest as _0x1b69f3,of as _0xaf0114,fromEvent as _0x594d1e,shareReplay as _0x534730,mapTo as _0x2baff2,distinctUntilChanged as _0x5c0aab}from'rxjs';import{SetTextSelectionsOperation as _0x3b2518,RichTextEditingMutation as _0x104569,DocSelectionManagerService as _0x5e697b,DocSkeletonManagerService as _0x554c81}from'@univerjs/docs';import{ITransformService as _0x4fa722,CollaborationEvent as _0xe6d541,isTransformMutationFailure as _0x3425ca,isTransformMutationsWithChangesetSuccess as _0x41d5b7,RevisionService as _0x538161,ISnapshotServerService as _0x32b58d}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x157e91,serializeRangeWithSheet as _0x3eb964}from'@univerjs/engine-formula';import{RefRangeService as _0x8a64ed,SetSelectionsOperation as _0x558c78,SheetsSelectionsService as _0x12596b,EffectRefRangId as _0x2c6651,handleIRemoveRow as _0x1ca0ed,handleIRemoveCol as _0x2655cb,handleMoveRange as _0xdcfab8,handleInsertRow as _0xa6f72b,handleInsertRangeMoveRight as _0xfd5fbc,handleInsertRangeMoveDown as _0x364a63,handleInsertCol as _0x33aed5,handleDeleteRangeMoveUp as _0x10d86e,handleDeleteRangeMoveLeft as _0x390011,runRefRangeMutations as _0x1ccfcc,SetWorksheetActivateCommand as _0x3a66aa}from'@univerjs/sheets';import{map as _0x273ce4,filter as _0x30235d,throttleTime as _0x2dec11,takeUntil as _0x338b49,switchMap as _0x41caa0}from'rxjs/operators';import{SheetSkeletonManagerService as _0x589eb2,getCoordByCell as _0x219162,getSheetObject as _0x147273}from'@univerjs/sheets-ui';import{jsx as _0x55a7fd,jsxs as _0x50d88c}from'react/jsx-runtime';import{useObservable as _0x7e078e,useDependency as _0x9a1297,IUIPartsService as _0x512b75,BuiltInUIPart as _0xd37046,connectInjector as _0x4fc57d,IBeforeCloseService as _0x2718b9,IMessageService as _0x2d1ce5,INotificationService as _0x4e5f7e}from'@univerjs/ui';import{Tooltip as _0x13f86a,clsx as _0x401a94,MessageType as _0x2dbb5a}from'@univerjs/design';import{forwardRef as _0x325090,useRef as _0x3cd3f2,createElement as _0x61ac1f,useCallback as _0x28056a}from'react';import{IRemoteInstanceService as _0x4f25be}from'@univerjs/rpc';var ci=Object[_0x3a408b(0x179)],li=(_0xdff530,_0x5f0445,_0x288d14,_0x4c567f)=>{const _0x1d69b9=_0x3a408b;for(var _0x17482d=_0x4c567f>0x1?void 0x0:_0x4c567f?ci(_0x5f0445,_0x288d14):_0x5f0445,_0x438946=_0xdff530[_0x1d69b9(0x14e)]-0x1,_0x724f00;_0x438946>=0x0;_0x438946--)(_0x724f00=_0xdff530[_0x438946])&&(_0x17482d=_0x724f00(_0x17482d)||_0x17482d);return _0x17482d;},Je=(_0x252178,_0x333caf)=>(_0x2059ae,_0xe4d449)=>_0x333caf(_0x2059ae,_0xe4d449,_0x252178);let Ne=class extends _0x4700ce{constructor(_0x1812ef,_0x36cfc9){const _0x984e88=_0x3a408b;super(),this[_0x984e88(0x1dd)]=_0x1812ef,this['_imageIoService']=_0x36cfc9,this['_init']();}[_0x3a408b(0x255)](){const _0x2b2591=_0x3a408b,_0x726ffe=this;this[_0x2b2591(0xe1)](this[_0x2b2591(0x1dd)][_0x2b2591(0xbb)]({'onBeforePasteImage':async _0x147cd4=>{const _0x19762f=_0x2b2591,_0x5a8bb6=await _0x726ffe['_imageIoService'][_0x19762f(0x134)](_0x147cd4);return _0x5a8bb6?{'source':_0x5a8bb6[_0x19762f(0x26c)],'imageSourceType':_0x5a8bb6[_0x19762f(0x1d3)]}:null;}}));}};Ne=li([Je(0x0,_0x5b83a4),Je(0x1,_0x3912eb)],Ne);const Ze=[_0x3a408b(0x13e),_0x3a408b(0x254),_0x3a408b(0xd3),_0x3a408b(0x125),_0x3a408b(0x16f),_0x3a408b(0x233)];class ke extends _0x31f336{constructor(){const _0x4de8cf=_0x3a408b;super(...arguments),_(this,_0x4de8cf(0xdb),new Map()),_(this,_0x4de8cf(0x146),0x0);}[_0x3a408b(0x169)](_0x574bde){const _0x36f70a=_0x3a408b;if(this['_assignedColors'][_0x36f70a(0x1c6)](_0x574bde))return this[_0x36f70a(0xdb)][_0x36f70a(0x25c)](_0x574bde);const _0x3b3060=Ze[this[_0x36f70a(0x146)]];return this[_0x36f70a(0x146)]=(this[_0x36f70a(0x146)]+0x1)%Ze[_0x36f70a(0x14e)],this[_0x36f70a(0xdb)]['set'](_0x574bde,_0x3b3060),_0x3b3060;}}function Tt(_0x4f344d){const _0x3dab63=_0x3a408b;let _0x2f2f68='';for(const _0x51c344 of _0x4f344d){const {startOffset:_0x4b30ee,endOffset:_0x233549,isActive:_0x5468eb,rangeType:_0x83db6b,segmentId:_0x2af7f0,segmentPage:_0x4e26b5}=_0x51c344;_0x2f2f68[_0x3dab63(0x14e)]&&(_0x2f2f68+=','),_0x2f2f68+=_0x4b30ee+':'+_0x233549+':'+(_0x5468eb?'1':'0')+':'+_0x83db6b+':'+_0x2af7f0+':'+_0x4e26b5;}return _0x2f2f68;}function _i(_0x5c9987){const _0x8c833e=_0x3a408b,_0x192781=_0x5c9987[_0x8c833e(0xef)](','),_0x421c2e=[];for(const _0x2a97ad of _0x192781){const [_0x500043,_0xaadf0c,_0x5364ed,_0x4c12f0,_0x25139d,_0x3a6e6c]=_0x2a97ad['split'](':');_0x421c2e[_0x8c833e(0x225)]({'startOffset':Number(_0x500043),'endOffset':Number(_0xaadf0c),'collapsed':_0x500043===_0xaadf0c,'isActive':_0x5364ed==='1','rangeType':_0x4c12f0===_0x529add[_0x8c833e(0x14a)]?_0x529add[_0x8c833e(0x14a)]:_0x529add[_0x8c833e(0xc7)],'segmentId':typeof _0x25139d=='string'?String(_0x25139d):'','segmentPage':Number(_0x3a6e6c!=null?_0x3a6e6c:-0x1)});}return _0x421c2e[_0x8c833e(0x19f)](_0x166643=>_0x166643[_0x8c833e(0x132)])||(_0x421c2e[0x0][_0x8c833e(0x132)]=!0x0),_0x421c2e;}class He extends _0x4700ce{constructor(){const _0x51affc=_0x3a408b;super(...arguments),_(this,_0x51affc(0x109),new _0x51d94a(null)),_(this,_0x51affc(0xb4),this[_0x51affc(0x109)]['asObservable']());}[_0x3a408b(0xdf)](_0x93aeae){const _0x4756c3=_0x3a408b,{unitID:_0x475fb4,memberID:_0xa98358,textRanges:_0x3999df}=_0x93aeae,_0x10824a=Tt(_0x3999df);if(_0x10824a==='')return;const _0xb058d3={'unitID':_0x475fb4,'memberID':_0xa98358,'selection':_0x10824a};this[_0x4756c3(0x109)][_0x4756c3(0x1aa)](_0xb058d3);}}var hi=Object[_0x3a408b(0x179)],ui=(_0x208160,_0x243476,_0x47762a,_0x5c8d6a)=>{const _0xc84ca6=_0x3a408b;for(var _0x200566=_0x5c8d6a>0x1?void 0x0:_0x5c8d6a?hi(_0x243476,_0x47762a):_0x243476,_0x18737a=_0x208160[_0xc84ca6(0x14e)]-0x1,_0x4912d5;_0x18737a>=0x0;_0x18737a--)(_0x4912d5=_0x208160[_0x18737a])&&(_0x200566=_0x4912d5(_0x200566)||_0x200566);return _0x200566;},L=(_0x33a586,_0x46eda5)=>(_0x318477,_0x43d56c)=>_0x46eda5(_0x318477,_0x43d56c,_0x33a586);const di=0x12c,fi=0x64;let Ue=class extends _0x4700ce{constructor(_0x4fb0d7,_0x183d79,_0x1a47aa,_0x49d0c2,_0x1ee3d0,_0xd1f1b9,_0x4034a3,_0x413c0b,_0x1b6e61){const _0x422a94=_0x3a408b;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x422a94(0x1b0),new _0x51d94a(new Map())),_(this,_0x422a94(0x197),this[_0x422a94(0x1b0)][_0x422a94(0x21a)]()),_(this,_0x422a94(0xa6),new _0x51d94a([])),_(this,_0x422a94(0x232),this[_0x422a94(0xa6)][_0x422a94(0x204)](_0x3b3185(di))),_(this,_0x422a94(0xac),_0x407cab(_0x37d10b=>{const _0x2dbf54=_0x422a94,_0x19ed3e={'eventID':_0xe6d541[_0x2dbf54(0x158)],'data':{'unitID':this[_0x2dbf54(0xa5)],'memberID':this[_0x2dbf54(0x100)][_0x2dbf54(0x133)](),'selection':Tt(_0x37d10b)}};this[_0x2dbf54(0x100)][_0x2dbf54(0x24f)](_0x19ed3e,this[_0x2dbf54(0xa5)]);},fi)),(this[_0x422a94(0xa5)]=_0x4fb0d7,this['_session']=_0x183d79,this[_0x422a94(0xd9)]=_0x1a47aa,this['_colorAssignService']=_0x49d0c2,this[_0x422a94(0x265)]=_0x1ee3d0,this[_0x422a94(0xb9)]=_0xd1f1b9,this['_transformService']=_0x4034a3,this[_0x422a94(0x1e1)]=_0x413c0b,this[_0x422a94(0x117)]=_0x1b6e61);}get[_0x3a408b(0x226)](){const _0x1df17a=_0x3a408b;return this[_0x1df17a(0x1b0)][_0x1df17a(0x172)]();}get[_0x3a408b(0xce)](){const _0x23355d=_0x3a408b;return this['_roomMembers$'][_0x23355d(0x172)]();}[_0x3a408b(0x90)](){const _0x16ad4a=_0x3a408b;super[_0x16ad4a(0x90)](),this[_0x16ad4a(0x1b0)][_0x16ad4a(0x1aa)](new Map()),this[_0x16ad4a(0x1b0)][_0x16ad4a(0x112)](),this[_0x16ad4a(0xa6)][_0x16ad4a(0x1aa)]([]),this[_0x16ad4a(0xa6)]['complete']();}[_0x3a408b(0xd1)](){const _0x1e7276=_0x3a408b;this['_init']||(this[_0x1e7276(0x255)]=!0x0,this[_0x1e7276(0x100)][_0x1e7276(0x1af)]['pipe'](_0x458f50(this[_0x1e7276(0x223)]))[_0x1e7276(0xae)](_0x2a2212=>{const _0x5a453c=_0x1e7276;_0x2a2212===_0x30339e[_0x5a453c(0x242)]?this[_0x5a453c(0x18f)]():this[_0x5a453c(0x1ed)]();}),this['_session'][_0x1e7276(0x212)][_0x1e7276(0x204)](_0x458f50(this[_0x1e7276(0x223)]))[_0x1e7276(0xae)](_0x80a567=>{const _0x2fa087=_0x1e7276,_0x3edaa7=_0x80a567[_0x2fa087(0x258)];_0x3edaa7===_0xe6d541[_0x2fa087(0x158)]&&this[_0x2fa087(0xa9)](_0x80a567),_0x3edaa7===_0xe6d541[_0x2fa087(0x155)]&&this['_onCursorDelete'](_0x80a567);}),this[_0x1e7276(0xe1)](this[_0x1e7276(0x117)][_0x1e7276(0x227)](_0xfbc89d=>{const _0x1c6104=_0x1e7276,_0x410294=_0xfbc89d[_0x1c6104(0x83)];_0x410294!=null&&this['_online']&&_0xfbc89d['id']===_0x3b2518['id']&&_0x410294[_0x1c6104(0x11a)]===this[_0x1c6104(0xa5)]&&_0x410294[_0x1c6104(0x22d)]===!0x1&&_0x410294[_0x1c6104(0x1f5)]['length']>0x0&&this[_0x1c6104(0xac)](_0x410294[_0x1c6104(0x1f5)]);})),this[_0x1e7276(0xb9)]['collabCursorState$'][_0x1e7276(0x204)](_0x458f50(this[_0x1e7276(0x223)]))['subscribe'](_0x1b0be5=>{const _0x1a5894=_0x1e7276;if((_0x1b0be5==null?void 0x0:_0x1b0be5['unitID'])!==this[_0x1a5894(0xa5)])return;const _0x3af91f={'eventID':_0xe6d541[_0x1a5894(0x158)],'data':_0x1b0be5};this[_0x1a5894(0xa9)](_0x3af91f);}),this[_0x1e7276(0xe1)](this[_0x1e7276(0x117)][_0x1e7276(0x227)](_0x5c2b14=>{const _0x397f49=_0x1e7276;if(_0x5c2b14[_0x397f49(0x83)]==null)return;const _0x1a48f3=_0x5c2b14[_0x397f49(0x83)];if(_0x5c2b14['id']!==_0x104569['id']||_0x1a48f3[_0x397f49(0x11a)]!==this[_0x397f49(0xa5)])return;const _0x3a2f72={'id':_0x397f49(0x115),'params':_0x1a48f3},_0x2ac00e=this[_0x397f49(0x226)];for(const [_0x55ed66,_0x195d49]of _0x2ac00e){const _0x177467={'id':_0x397f49(0x115),'params':{'unitId':this[_0x397f49(0xa5)],'actions':null,'textRanges':_0x195d49[_0x397f49(0x1f5)]}},_0x39a1c1=this[_0x397f49(0xb7)][_0x397f49(0x206)](_0x3a2f72,_0x177467,!0x1);if(_0x3425ca(_0x39a1c1))throw _0x39a1c1[_0x397f49(0x192)];_0x2ac00e[_0x397f49(0x228)](_0x55ed66,{..._0x195d49,'ranges':_0x39a1c1['m2Prime'][_0x397f49(0x83)][_0x397f49(0x1a0)]});}queueMicrotask(()=>{const _0x36ff4a=_0x397f49;this[_0x36ff4a(0x1b0)][_0x36ff4a(0x1aa)](_0x2ac00e);});})));}['_onCursorUpdate'](_0x44ec60){const _0x118d3d=_0x3a408b;var _0x2c0f85,_0x395030;const {memberID:_0x21cd5c,selection:_0x42ab39}=_0x44ec60['data'],_0x3c70a1=_i(_0x42ab39),_0x257762=(_0x395030=(_0x2c0f85=this[_0x118d3d(0x265)]['getMember'](this[_0x118d3d(0xa5)],_0x21cd5c))==null?void 0x0:_0x2c0f85[_0x118d3d(0x1f2)])!=null?_0x395030:'Unknown\x20user',_0x51a095={'color':this[_0x118d3d(0xb5)]['assignAColorForMemberID'](_0x21cd5c),'name':_0x257762,'ranges':_0x3c70a1},_0x26fc02=this['cursorInfo'];_0x26fc02[_0x118d3d(0x228)](_0x21cd5c,_0x51a095),this['_cursorInfo$'][_0x118d3d(0x1aa)](_0x26fc02);}[_0x3a408b(0x220)](_0x449ca5){const _0x556d8b=_0x3a408b,{memberID:_0x18130d}=_0x449ca5[_0x556d8b(0x8d)],_0x190d53=this['cursorInfo'];_0x190d53['delete'](_0x18130d),this[_0x556d8b(0x1b0)]['next'](_0x190d53);}['_toggleOnline'](){const _0x339689=_0x3a408b;var _0x4fce44;if(this[_0x339689(0x145)]=!0x0,((_0x4fce44=this['_univerInstanceService'][_0x339689(0x236)]())==null?void 0x0:_0x4fce44[_0x339689(0x19e)]())!==this['unitID'])return;const _0x447c52=this['_injector']['get'](_0x5e697b)['getDocRanges']();Array[_0x339689(0x102)](_0x447c52)&&_0x447c52[_0x339689(0x14e)]>0x0&&this[_0x339689(0xac)](_0x447c52);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x17a839(_0x171dd8)),L(0x3,_0x17a839(ke)),L(0x4,_0x17a839(_0x37b96c)),L(0x5,_0x17a839(He)),L(0x6,_0x4fa722),L(0x7,_0xbc56cb),L(0x8,_0x101494)],Ue);var Si=Object[_0x3a408b(0x179)],mi=(_0x312ccb,_0x586d15,_0x2c76d4,_0x18fb49)=>{const _0x32cb19=_0x3a408b;for(var _0x42a722=_0x18fb49>0x1?void 0x0:_0x18fb49?Si(_0x586d15,_0x2c76d4):_0x586d15,_0x4ef6b1=_0x312ccb[_0x32cb19(0x14e)]-0x1,_0x28f75a;_0x4ef6b1>=0x0;_0x4ef6b1--)(_0x28f75a=_0x312ccb[_0x4ef6b1])&&(_0x42a722=_0x28f75a(_0x42a722)||_0x42a722);return _0x42a722;},x=(_0x64c849,_0x35db13)=>(_0x55546c,_0x461394)=>_0x35db13(_0x55546c,_0x461394,_0x64c849);const gi=0x12c,Ii=0x64,vi=()=>{let _0x334454=[],_0x4917cf=!0x1;return _0x49c620=>{_0x334454['push'](_0x49c620),_0x4917cf||(_0x4917cf=!0x0,setTimeout(()=>{const _0x5d3578=_0x1625;_0x334454[_0x5d3578(0xbe)](_0x25cba1=>_0x25cba1()),_0x334454=[],_0x4917cf=!0x1;}));};};let Me=class extends _0x4700ce{constructor(_0x50668c,_0x4c4a2a,_0x2565c7,_0x25b7d3,_0x50c4ce,_0x1ea7f1,_0x4302fa,_0x29608b){const _0x22a6d4=_0x3a408b;super(),_(this,_0x22a6d4(0x145),!0x1),_(this,'_init',!0x1),_(this,_0x22a6d4(0x1b0),new _0x51d94a(new Map())),_(this,'cursorInfo$',this[_0x22a6d4(0x1b0)][_0x22a6d4(0x21a)]()),_(this,_0x22a6d4(0xa6),new _0x51d94a([])),_(this,_0x22a6d4(0x232),this[_0x22a6d4(0xa6)][_0x22a6d4(0x204)](_0x3b3185(gi))),_(this,_0x22a6d4(0xac),_0x407cab((_0x115cf2,_0x19a1a5)=>{const _0x1317bd=_0x22a6d4,_0x2b2c16={'eventID':_0xe6d541[_0x1317bd(0x158)],'data':{'unitID':this[_0x1317bd(0xa5)],'memberID':this[_0x1317bd(0x100)][_0x1317bd(0x133)](),'selection':_0x3eb964(_0x115cf2,_0x19a1a5[_0x1317bd(0x120)])}};this[_0x1317bd(0x100)][_0x1317bd(0x24f)](_0x2b2c16,this['unitID']);},Ii)),(this[_0x22a6d4(0xa5)]=_0x50668c,this['_session']=_0x4c4a2a,this[_0x22a6d4(0xd9)]=_0x2565c7,this[_0x22a6d4(0xb5)]=_0x25b7d3,this[_0x22a6d4(0x265)]=_0x50c4ce,this[_0x22a6d4(0x1e1)]=_0x1ea7f1,this['_commandService']=_0x4302fa,this[_0x22a6d4(0x154)]=_0x29608b);}get[_0x3a408b(0x226)](){const _0x5aba78=_0x3a408b;return this[_0x5aba78(0x1b0)]['getValue']();}get[_0x3a408b(0xce)](){const _0x33aeb2=_0x3a408b;return this[_0x33aeb2(0xa6)][_0x33aeb2(0x172)]();}[_0x3a408b(0x90)](){const _0x14b1c5=_0x3a408b;super['dispose'](),this[_0x14b1c5(0x1b0)][_0x14b1c5(0x1aa)](new Map()),this['_cursorInfo$'][_0x14b1c5(0x112)](),this[_0x14b1c5(0xa6)][_0x14b1c5(0x1aa)]([]),this['_roomMembers$']['complete']();}[_0x3a408b(0xd1)](){const _0x583103=_0x3a408b;this[_0x583103(0x255)]||(this[_0x583103(0x255)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x458f50(this['dispose$']))[_0x583103(0xae)](_0x45c801=>{const _0x9c00a4=_0x583103;_0x45c801===_0x30339e['ONLINE']?this[_0x9c00a4(0x18f)]():this['_toggleOffline']();}),this[_0x583103(0x100)][_0x583103(0x212)]['pipe'](_0x458f50(this[_0x583103(0x223)]))[_0x583103(0xae)](_0x571560=>{const _0x423574=_0x583103,_0x22d436=_0x571560[_0x423574(0x258)];_0x22d436===_0xe6d541[_0x423574(0x158)]&&this[_0x423574(0xa9)](_0x571560),_0x22d436===_0xe6d541[_0x423574(0x155)]&&this[_0x423574(0x220)](_0x571560);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x583103(0x117)]['onCommandExecuted'](_0x52b7ff=>{const _0x3a477a=_0x583103;if(this[_0x3a477a(0x145)]&&_0x52b7ff['id']===_0x558c78['id']&&_0x52b7ff['params'][_0x3a477a(0x11a)]===this[_0x3a477a(0xa5)]){const _0x688cc6=_0x52b7ff[_0x3a477a(0x83)];this[_0x3a477a(0xac)](_0x688cc6[_0x3a477a(0x116)],_0x688cc6[_0x3a477a(0x13f)][0x0]);}})));}[_0x3a408b(0xa9)](_0x52812c){const _0xf8a5aa=_0x3a408b;var _0x5f3b34,_0x559053;const {memberID:_0x2f6984,selection:_0x5bd500}=_0x52812c['data'],{sheetName:_0x17cec1,range:_0x463437}=_0x157e91(_0x5bd500),_0x19e64a={'name':(_0x559053=(_0x5f3b34=this['_memberService'][_0xf8a5aa(0xf7)](this[_0xf8a5aa(0xa5)],_0x2f6984))==null?void 0x0:_0x5f3b34[_0xf8a5aa(0x1f2)])!=null?_0x559053:'Unknown\x20user','range':this[_0xf8a5aa(0x209)](_0x17cec1,_0x463437),'sheetID':_0x17cec1,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2f6984),'selection':_0x5bd500},_0x492db5=this[_0xf8a5aa(0x226)];_0x492db5[_0xf8a5aa(0x228)](_0x2f6984,_0x19e64a),this['_cursorInfo$'][_0xf8a5aa(0x1aa)](_0x492db5);}[_0x3a408b(0x220)](_0xfb0097){const _0x277b20=_0x3a408b,{memberID:_0x2d1270}=_0xfb0097['data'],_0xe9f3d5=this[_0x277b20(0x226)];_0xe9f3d5[_0x277b20(0x1e6)](_0x2d1270),this[_0x277b20(0x1b0)][_0x277b20(0x1aa)](_0xe9f3d5);}[_0x3a408b(0x209)](_0x6b5cbd,_0x88a9bb){const _0x3f6c1c=_0x3a408b;var _0x4e4ac1,_0x3d5c57;const _0x23aee4=(_0x3d5c57=(_0x4e4ac1=this[_0x3f6c1c(0x1e1)][_0x3f6c1c(0x13b)](this[_0x3f6c1c(0xa5)]))==null?void 0x0:_0x4e4ac1[_0x3f6c1c(0x21d)](_0x6b5cbd))==null?void 0x0:_0x3d5c57[_0x3f6c1c(0xcb)]();return(_0x23aee4==null?void 0x0:_0x23aee4[_0x3f6c1c(0x20a)](_0x525abc=>_0x1ac39a['contains'](_0x525abc,_0x88a9bb)))||_0x88a9bb;}[_0x3a408b(0xca)](){const _0x2dd9cf=_0x3a408b,_0x3755b0=new _0x38692d(),_0x290faf=vi(),_0x3ce0d4=()=>{const _0x3ca2b4=_0x1625;_0x3755b0[_0x3ca2b4(0x90)]();const _0x37acb6=(_0x1192ed,_0xef058f,_0x52c78b,_0x4132fa)=>{const _0x101678=_0x3ca2b4;let _0x1aa92b=[];switch(_0x1192ed['id']){case _0x2c6651['DeleteRangeMoveLeftCommandId']:{_0x1aa92b=_0x390011(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x208)]:{_0x1aa92b=_0x10d86e(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertColCommandId']:{_0x1aa92b=_0x33aed5(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertRangeMoveDownCommandId']:{_0x1aa92b=_0x364a63(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertRangeMoveRightCommandId']:{_0x1aa92b=_0xfd5fbc(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x1ec)]:{_0x1aa92b=_0xa6f72b(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x216)]:{_0x1aa92b=_0xdcfab8(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x183)]:{_0x1aa92b=_0x2655cb(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x170)]:{_0x1aa92b=_0x1ca0ed(_0x1192ed,_0x4132fa);break;}}const _0x5e2264=_0x1ccfcc(_0x1aa92b,_0x4132fa),_0x375947=this[_0x101678(0x226)][_0x101678(0x25c)](_0xef058f);if(_0x375947&&_0x5e2264){const _0x5883bb={..._0x375947,'range':_0x5e2264};this[_0x101678(0x226)]['set'](_0xef058f,_0x5883bb),_0x290faf(()=>{const _0x2fc931=_0x101678,_0x1d22bd=this[_0x2fc931(0x154)][_0x2fc931(0x166)](_0x5e2264,_0x2b12b0=>(_0x1d22bd[_0x2fc931(0x90)](),_0x37acb6(_0x2b12b0,_0xef058f,_0x52c78b,_0x5e2264)));_0x3755b0[_0x2fc931(0x151)](_0x1d22bd);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x136d9b,_0x2d3a32)=>{const _0x38a314=_0x3ca2b4,{range:_0x474e60,sheetID:_0xe9358c}=_0x136d9b,_0x4a7f4b=this[_0x38a314(0x154)][_0x38a314(0x166)](_0x474e60,_0x255708=>(_0x4a7f4b[_0x38a314(0x90)](),_0x37acb6(_0x255708,_0x2d3a32,_0xe9358c,_0x474e60)));_0x3755b0[_0x38a314(0x151)](_0x4a7f4b);});};this[_0x2dd9cf(0xe1)](_0x8e9af6(this[_0x2dd9cf(0x1b0)][_0x2dd9cf(0xae)](()=>{_0x3ce0d4();})));}[_0x3a408b(0x18f)](){const _0x29dda5=_0x3a408b;var _0x29d7bc,_0x8b6be8;if(this[_0x29dda5(0x145)]=!0x0,((_0x29d7bc=this[_0x29dda5(0x1e1)][_0x29dda5(0x236)]())==null?void 0x0:_0x29d7bc['getUnitId']())!==this[_0x29dda5(0xa5)])return;const _0x35801a=(_0x8b6be8=this[_0x29dda5(0xd9)][_0x29dda5(0x25c)](_0x12596b)['getCurrentSelections']())==null?void 0x0:_0x8b6be8[0x0],_0x3cc1e9=this[_0x29dda5(0x1e1)][_0x29dda5(0x1ca)](_0x28af3d['UNIVER_SHEET'])[_0x29dda5(0xb8)]();_0x35801a&&_0x3cc1e9&&this[_0x29dda5(0xac)](_0x3cc1e9[_0x29dda5(0x214)](),_0x35801a);}[_0x3a408b(0x1ed)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x17a839(_0x171dd8)),x(0x3,_0x17a839(ke)),x(0x4,_0x17a839(_0x37b96c)),x(0x5,_0xbc56cb),x(0x6,_0x101494),x(0x7,_0x17a839(_0x8a64ed))],Me);var pi=Object[_0x3a408b(0x179)],Ci=(_0x59bed9,_0x3d9412,_0xac0141,_0x3d24b7)=>{const _0x598aba=_0x3a408b;for(var _0x594c4b=_0x3d24b7>0x1?void 0x0:_0x3d24b7?pi(_0x3d9412,_0xac0141):_0x3d9412,_0x758ce4=_0x59bed9[_0x598aba(0x14e)]-0x1,_0x3e6372;_0x758ce4>=0x0;_0x758ce4--)(_0x3e6372=_0x59bed9[_0x758ce4])&&(_0x594c4b=_0x3e6372(_0x594c4b)||_0x594c4b);return _0x594c4b;},Se=(_0x17cad0,_0x324804)=>(_0x38ad15,_0x2f9bd1)=>_0x324804(_0x38ad15,_0x2f9bd1,_0x17cad0);let H=class extends _0x4700ce{constructor(_0x38f59d,_0xf1b466,_0x2263a0){const _0x202a26=_0x3a408b;super(),_(this,_0x202a26(0x26d),new Map()),_(this,_0x202a26(0x263),new _0x4f75d7()),(this['_univerInstanceService']=_0x38f59d,this[_0x202a26(0xd9)]=_0xf1b466,this['_collabSessionService']=_0x2263a0,this[_0x202a26(0x255)]());}[_0x3a408b(0x90)](){const _0x37441f=_0x3a408b;super['dispose'](),this[_0x37441f(0x263)][_0x37441f(0x112)](),this[_0x37441f(0x26d)][_0x37441f(0xbe)](_0x3be2bc=>_0x3be2bc[_0x37441f(0x90)]());}[_0x3a408b(0x138)](_0xd0c9a3){const _0x3799ec=_0x3a408b;return this['_entities'][_0x3799ec(0x1c6)](_0xd0c9a3)?this['_entities'][_0x3799ec(0x25c)](_0xd0c9a3)[_0x3799ec(0x197)]:this[_0x3799ec(0x263)]['pipe'](_0x435fdd(_0x114399=>_0x114399[_0x3799ec(0xa5)]===_0xd0c9a3),_0x25ab18(_0x500383=>_0x500383['cursorInfo$']));}[_0x3a408b(0x255)](){const _0x1c01ca=_0x3a408b;this[_0x1c01ca(0x1e1)][_0x1c01ca(0x182)](_0x28af3d[_0x1c01ca(0x23d)])['pipe'](_0x458f50(this[_0x1c01ca(0x223)]))[_0x1c01ca(0xae)](async _0x2f1a3c=>{const _0x2f1a2c=_0x1c01ca,_0x1ff27c=_0x2f1a3c[_0x2f1a2c(0x19e)](),_0x145d38=await this[_0x2f1a2c(0x1b2)](_0x1ff27c);this[_0x2f1a2c(0x263)][_0x2f1a2c(0x1aa)](_0x145d38),this[_0x2f1a2c(0x26d)]['set'](_0x1ff27c,_0x145d38);}),this[_0x1c01ca(0x1e1)][_0x1c01ca(0x182)](_0x28af3d[_0x1c01ca(0x1f8)])['pipe'](_0x458f50(this[_0x1c01ca(0x223)]))[_0x1c01ca(0x204)](_0x435fdd(_0x189f95=>!_0x189f95[_0x1c01ca(0x19e)]()[_0x1c01ca(0x186)]('__')))[_0x1c01ca(0xae)](async _0x454ae0=>{const _0x3a21a7=_0x1c01ca,_0x35ac3c=_0x454ae0[_0x3a21a7(0x19e)](),_0x34484c=await this[_0x3a21a7(0x185)](_0x35ac3c);this[_0x3a21a7(0x263)][_0x3a21a7(0x1aa)](_0x34484c),this[_0x3a21a7(0x26d)]['set'](_0x35ac3c,_0x34484c);}),_0x646080(this[_0x1c01ca(0x1e1)]['getTypeOfUnitDisposed$'](_0x28af3d[_0x1c01ca(0x1f8)]),this[_0x1c01ca(0x1e1)][_0x1c01ca(0x87)](_0x28af3d['UNIVER_SHEET']))[_0x1c01ca(0x204)](_0x458f50(this['dispose$']))[_0x1c01ca(0xae)](_0xc16cbe=>{const _0x5f3822=_0x1c01ca,_0xcfada2=_0xc16cbe[_0x5f3822(0x19e)](),_0x2b946e=this['_entities']['get'](_0xcfada2);_0x2b946e&&(_0x2b946e[_0x5f3822(0x90)](),this[_0x5f3822(0x26d)][_0x5f3822(0x1e6)](_0xcfada2));});}async['_startSheetCollabCursor'](_0x57c240){const _0x110338=_0x3a408b,_0x338b0a=await this[_0x110338(0xe6)][_0x110338(0x8c)](_0x57c240),_0x2229d5=this[_0x110338(0xd9)][_0x110338(0x137)](Me,_0x57c240,_0x338b0a);return _0x2229d5[_0x110338(0xd1)](),_0x2229d5;}async['_startDocCollabCursor'](_0x452326){const _0x1c1f91=_0x3a408b,_0x52f1dc=await this[_0x1c1f91(0xe6)][_0x1c1f91(0x8c)](_0x452326),_0x41c883=this[_0x1c1f91(0xd9)][_0x1c1f91(0x137)](Ue,_0x452326,_0x52f1dc);return _0x41c883[_0x1c1f91(0xd1)](),_0x41c883;}};H=Ci([Se(0x0,_0xbc56cb),Se(0x1,_0x17a839(_0x171dd8)),Se(0x2,_0x17a839(_0x38126a))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x507d8b,_0x5804f3){const _0x424014=_0x3a408b;let {radius:_0x29de1d,width:_0x38e2f8,height:_0x347143}=_0x5804f3;_0x29de1d=_0x29de1d!=null?_0x29de1d:0x0,_0x38e2f8=_0x38e2f8!=null?_0x38e2f8:0x1e,_0x347143=_0x347143!=null?_0x347143:0x1e;let _0x58ed56=0x0,_0x55b127=0x0,_0x45e27a=0x0;_0x58ed56=_0x55b127=_0x45e27a=Math[_0x424014(0x243)](_0x29de1d,_0x38e2f8/0x2,_0x347143/0x2),_0x507d8b[_0x424014(0x1da)](),_0x507d8b[_0x424014(0xdd)](_0x58ed56,0x0),_0x507d8b[_0x424014(0x11d)](_0x38e2f8-_0x55b127,0x0),_0x507d8b[_0x424014(0x162)](_0x38e2f8-_0x55b127,_0x55b127,_0x55b127,Math['PI']*0x3/0x2,0x0,!0x1),_0x507d8b[_0x424014(0x11d)](_0x38e2f8,_0x347143-_0x45e27a),_0x507d8b['arc'](_0x38e2f8-_0x45e27a,_0x347143-_0x45e27a,_0x45e27a,0x0,Math['PI']/0x2,!0x1),_0x507d8b[_0x424014(0x11d)](0x0,_0x347143),_0x507d8b[_0x424014(0x11d)](0x0,_0x58ed56),_0x507d8b['arc'](_0x58ed56,_0x58ed56,_0x58ed56,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x507d8b[_0x424014(0x129)](),_0x5804f3[_0x424014(0x22e)]&&(_0x507d8b[_0x424014(0x1ce)](),_0x507d8b['fillStyle']=_0x5804f3[_0x424014(0x22e)],_0x5804f3['fillRule']===_0x424014(0xa0)?_0x507d8b[_0x424014(0x22e)](_0x424014(0xa0)):_0x507d8b[_0x424014(0x22e)](),_0x507d8b['restore']());}class he extends _0xa8a813{constructor(_0x30c1b5,_0x3e3d49){const _0x4bf4ae=_0x3a408b;super(_0x30c1b5,_0x3e3d49),_(this,_0x4bf4ae(0x217)),_(this,_0x4bf4ae(0x1ab)),(this[_0x4bf4ae(0x217)]=_0x3e3d49==null?void 0x0:_0x3e3d49[_0x4bf4ae(0x217)],this[_0x4bf4ae(0x1ab)]=_0x3e3d49==null?void 0x0:_0x3e3d49['text']);}static[_0x3a408b(0x128)](_0xcd41b5,_0x68367b){const _0x514b72=_0x3a408b,{text:_0x318e84,color:_0x2b6f34}=_0x68367b;_0xcd41b5[_0x514b72(0x1ce)](),_0xcd41b5['font']=_0x514b72(0x1a6);const _0x1ebb61=_0xcd41b5['measureText'](_0x318e84)['width'],_0xa61321=Math['min'](_0x1ebb61+0x2*me,Qe);Oi(_0xcd41b5,{'height':ee,'radius':0x4,'width':_0xa61321,'fill':_0x2b6f34}),_0xcd41b5[_0x514b72(0xc3)]=_0x514b72(0xd8);const _0x290f45=me,_0x5c5be5=ee-Ei,_0x27d162=Qe-0x2*me;if(_0x1ebb61>_0x27d162){let _0x12bdd2='',_0x21e3d4=0x0;for(const _0xa7704a of _0x318e84){const _0x4e7ae1=_0xcd41b5['measureText'](_0xa7704a)[_0x514b72(0x150)];if(_0x21e3d4+_0x4e7ae1<=_0x27d162-_0xcd41b5[_0x514b72(0x1a7)](_0x514b72(0x122))['width'])_0x12bdd2+=_0xa7704a,_0x21e3d4+=_0x4e7ae1;else{_0x12bdd2+=_0x514b72(0x122);break;}}_0xcd41b5[_0x514b72(0x19c)](_0x12bdd2,_0x290f45,_0x5c5be5);}else _0xcd41b5[_0x514b72(0x19c)](_0x318e84,_0x290f45,_0x5c5be5);_0xcd41b5[_0x514b72(0x16a)]();}[_0x3a408b(0x193)](_0x26ff6b){he['drawWith'](_0x26ff6b,this);}}const ge='collab-text-anchor-',bi=_0x3a408b(0x108),Ti=_0x3a408b(0x21b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x3a408b(0x159);class qe{constructor(_0x9763b6,_0x33735a,_0x168b25,_0x1ebde5){const _0x2142ae=_0x3a408b;_(this,_0x2142ae(0x89),[]),_(this,_0x2142ae(0xd0),null),_(this,_0x2142ae(0xf6),null),_(this,_0x2142ae(0xd4),null),_(this,_0x2142ae(0x1b8),null),_(this,_0x2142ae(0x173),null),(this['_cursor']=_0x9763b6,this['_scene']=_0x33735a,this['_docSkeleton']=_0x168b25,this[_0x2142ae(0x98)]=_0x1ebde5,this[_0x2142ae(0x1a1)]());}set[_0x3a408b(0x21c)](_0x1d48bb){const _0xebe642=_0x3a408b;_0x1d48bb?(this[_0xebe642(0xd4)]&&this[_0xebe642(0xd4)][_0xebe642(0x157)](),this[_0xebe642(0xf6)]&&this[_0xebe642(0xf6)][_0xebe642(0x268)]()):(this[_0xebe642(0xd4)]&&this[_0xebe642(0xd4)][_0xebe642(0x268)](),this[_0xebe642(0xf6)]&&this['_textBubble'][_0xebe642(0x157)]());}[_0x3a408b(0x90)](){const _0x51733e=_0x3a408b;for(const _0xaad825 of this[_0x51733e(0x89)])_0xaad825[_0x51733e(0x90)]();this[_0x51733e(0xf6)]&&this['_textBubble'][_0x51733e(0x90)](),this['_anchorDot']&&this[_0x51733e(0xd4)]['dispose'](),this[_0x51733e(0xd0)]&&this[_0x51733e(0xd0)][_0x51733e(0x90)](),this['_eventUnsubscribe']&&this[_0x51733e(0x173)]();}[_0x3a408b(0x1a1)](){const _0x3fae4e=_0x3a408b;var _0x5c53d2;const {_docSkeleton:_0x5cc238,_document:_0x6d8a2e}=this,{color:_0x593de3,name:_0x3d9aed,ranges:_0x42df3a}=this[_0x3fae4e(0x25b)],_0x17782b=_0x6d8a2e['getOffsetConfig'](),{docsLeft:_0x3795b6,docsTop:_0x10775b}=_0x17782b,_0x5e0ae3=new _0x485177(_0x17782b,_0x5cc238);for(const {startOffset:_0x225137,endOffset:_0x2b8746,rangeType:_0x3fef3d,segmentId:_0x184814,segmentPage:_0x139ed1,collapsed:_0x2c02c3,isActive:_0x1b443f}of _0x42df3a){const _0xff117b=_0x5cc238[_0x3fae4e(0x1de)](_0x225137,!0x0,_0x184814,_0x139ed1);let _0x367ad4=_0x5cc238[_0x3fae4e(0x1de)](_0x2b8746,!0x0,_0x184814,_0x139ed1);if(_0x367ad4==null&&(_0x367ad4=_0x5cc238['findNodePositionByCharIndex'](_0x2b8746-0x1,!0x1,_0x184814,_0x139ed1)),_0x1b443f){const {contentBoxPointGroup:_0x681d4c}=_0x5e0ae3[_0x3fae4e(0x1a8)](_0x367ad4,_0x367ad4);if(_0x681d4c['length']===0x0)continue;this[_0x3fae4e(0x202)](_0x593de3,_0x681d4c,_0x3795b6,_0x10775b,_0x3d9aed),this[_0x3fae4e(0x173)]=this['_handleHover']();}if(_0xff117b&&_0x367ad4){if(_0x3fef3d===_0x529add[_0x3fae4e(0xc7)]){const _0x24b3fd=new _0x232ef9(_0x17782b,_0x5cc238),{pointGroup:_0x50d8d2}=(_0x5c53d2=_0x24b3fd['getRangePointData'](_0xff117b,_0x367ad4))!=null?_0x5c53d2:{};if(_0x50d8d2==null||_0x50d8d2[_0x3fae4e(0x14e)]===0x0)continue;this['_drawRectRange'](_0x593de3,_0x50d8d2,_0x3795b6,_0x10775b);}else{if(!_0x2c02c3){const {borderBoxPointGroup:_0x2a2c08}=_0x5e0ae3[_0x3fae4e(0x1a8)](_0xff117b,_0x367ad4);if(_0x2a2c08['length']===0x0)continue;this['_drawTextRange'](_0x593de3,_0x2a2c08,_0x3795b6,_0x10775b);}}}}}['_drawAnchor'](_0x2570cf,_0x31afdd,_0x455506,_0x487dc4,_0x2216da){const _0x51c9e9=_0x3a408b,_0x127e77=this[_0x51c9e9(0x118)](_0x31afdd),{left:_0x220740,top:_0x1ccf38,height:_0x4d5f0a}=_0x127e77,_0x3e4c46=this[_0x51c9e9(0x10b)](),_0x119ed9=Di/_0x3e4c46,_0x87eb79=new _0x4e0805(ge+_0x2ca080['generateRandomId'](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4,'height':_0x4d5f0a,'width':Ri,'fill':_0x2570cf||_0x2079c1(_0x54cb12['black'],0x0),'strokeWidth':_0x119ed9,'stroke':Ni,'evented':!0x0});this[_0x51c9e9(0xd0)]=_0x87eb79,this['_scene'][_0x51c9e9(0x7f)](_0x87eb79,_0x524deb);const _0x7ac89f=new _0x4e0805(ge+_0x2ca080[_0x51c9e9(0x174)](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2570cf||_0x2079c1(_0x54cb12[_0x51c9e9(0xb3)],0x0),'strokeWidth':0x0,'stroke':_0x2570cf||_0x2079c1(_0x54cb12[_0x51c9e9(0xb3)],0x0),'evented':!0x1});this[_0x51c9e9(0xd4)]=_0x7ac89f,this[_0x51c9e9(0x1df)]['addObject'](_0x7ac89f,_0x524deb);const _0x5b46f3=new he(ge+_0x2ca080['generateRandomId'](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4-ee,'text':_0x2216da,'color':_0x2570cf});this[_0x51c9e9(0xf6)]=_0x5b46f3,this['_scene'][_0x51c9e9(0x7f)](_0x5b46f3,_0x524deb),this[_0x51c9e9(0x21c)]=!0x1;}[_0x3a408b(0x11e)](){const _0xf1bc7e=_0x3a408b,_0x3e5beb=this[_0xf1bc7e(0xd0)][_0xf1bc7e(0x15b)][_0xf1bc7e(0x127)](()=>{const _0x4414e6=_0xf1bc7e;this[_0x4414e6(0x21c)]=!0x0;}),_0x3851d1=this[_0xf1bc7e(0xd0)]['onPointerLeave$'][_0xf1bc7e(0x127)](()=>{const _0x3bb899=_0xf1bc7e;this[_0x3bb899(0x1b8)]&&clearTimeout(this[_0x3bb899(0x1b8)]),this[_0x3bb899(0x1b8)]=setTimeout(()=>{const _0x335e47=_0x3bb899;this[_0x335e47(0x21c)]=!0x1;},0x7d0);});return()=>{const _0x36da58=_0xf1bc7e;_0x3e5beb[_0x36da58(0xe5)](),_0x3851d1['unsubscribe']();};}['_drawTextRange'](_0x10f510,_0x155003,_0x15256d,_0x4c69f6){const _0x1d1b44=_0x3a408b,_0x784398=new _0x14686d(_0x10f510)[_0x1d1b44(0x1f9)](0.2)[_0x1d1b44(0x230)](),_0x51216a=new _0x2fc12f(bi+_0x2ca080['generateRandomId'](X),{'pointsGroup':_0x155003,'fill':_0x784398||_0x2079c1(_0x54cb12[_0x1d1b44(0xb3)],0.2),'left':_0x15256d,'top':_0x4c69f6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1d1b44(0x225)](_0x51216a),this[_0x1d1b44(0x1df)][_0x1d1b44(0x7f)](_0x51216a,_0x524deb);}[_0x3a408b(0x22b)](_0x217d92,_0xa6349d,_0x59b53e,_0x259176){const _0x4ee740=_0x3a408b,_0x1e4c44=new _0x14686d(_0x217d92)[_0x4ee740(0x1f9)](0.2)[_0x4ee740(0x230)](),_0x5a385d=new _0x2fc12f(Ti+_0x2ca080['generateRandomId'](X),{'pointsGroup':_0xa6349d,'fill':_0x1e4c44||_0x2079c1(_0x54cb12['black'],0.2),'left':_0x59b53e,'top':_0x259176,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4ee740(0x89)][_0x4ee740(0x225)](_0x5a385d),this[_0x4ee740(0x1df)][_0x4ee740(0x7f)](_0x5a385d,_0x524deb);}[_0x3a408b(0x118)](_0x5d8825){const _0x449b05=_0x5d8825[0x0],_0x58f4bb=_0x449b05[0x0],_0x2a3568=_0x449b05[0x2],{x:_0x119182,y:_0x44bb88}=_0x58f4bb,{x:_0x4c2178,y:_0x18118c}=_0x2a3568;return{'left':_0x119182,'top':_0x44bb88,'width':_0x4c2178-_0x119182,'height':_0x18118c-_0x44bb88};}['_getScale'](){const _0x132825=_0x3a408b,{scaleX:_0x1429f9,scaleY:_0x147d7a}=this[_0x132825(0x1df)]['getAncestorScale']();return Math['max'](_0x1429f9,_0x147d7a);}}var Ui=Object[_0x3a408b(0x179)],Mi=(_0x4d4093,_0x20643f,_0x4cdea1,_0xac12f2)=>{for(var _0x465b7f=_0xac12f2>0x1?void 0x0:_0xac12f2?Ui(_0x20643f,_0x4cdea1):_0x20643f,_0xb987d5=_0x4d4093['length']-0x1,_0x67c0c5;_0xb987d5>=0x0;_0xb987d5--)(_0x67c0c5=_0x4d4093[_0xb987d5])&&(_0x465b7f=_0x67c0c5(_0x465b7f)||_0x465b7f);return _0x465b7f;},Z=(_0x3c682e,_0x265e7f)=>(_0x571c87,_0x578078)=>_0x265e7f(_0x571c87,_0x578078,_0x3c682e);let Pe=class extends _0x4700ce{constructor(_0x48afe0,_0x29c8c6,_0x5c9227,_0x3ef88b,_0xad27e4){const _0x4fa89c=_0x3a408b;super(),_(this,_0x4fa89c(0x12e),[]),_(this,_0x4fa89c(0xe2),[]),(this[_0x4fa89c(0x23f)]=_0x48afe0,this[_0x4fa89c(0x12f)]=_0x29c8c6,this[_0x4fa89c(0x1fc)]=_0x5c9227,this['_commandService']=_0x3ef88b,this['_themeService']=_0xad27e4,this[_0x4fa89c(0x255)]());}[_0x3a408b(0x255)](){const _0x29c8f8=_0x3a408b,_0x1ef2e4=this['_context'][_0x29c8f8(0x11a)],_0x55bf12=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x1b69f3([this[_0x29c8f8(0x1fc)][_0x29c8f8(0x138)](_0x1ef2e4),this['_themeService'][_0x29c8f8(0x121)]])['pipe'](_0x273ce4(([_0x51e142,_0x431335])=>({'skeleton':_0x55bf12[_0x29c8f8(0x126)](),'cursors':[..._0x51e142[_0x29c8f8(0xbd)]()][_0x29c8f8(0x15a)](_0x3661d8=>({..._0x3661d8,'color':_0x431335[_0x3661d8[_0x29c8f8(0x217)]]}))})))[_0x29c8f8(0xae)](_0x16fc82=>{const _0x484409=_0x29c8f8;if(this[_0x484409(0x11f)](),_0x16fc82){const {skeleton:_0x13ea82,cursors:_0x7016f8}=_0x16fc82;this[_0x484409(0x88)](_0x13ea82,_0x7016f8);}})),this[_0x29c8f8(0x196)](),this[_0x29c8f8(0x19d)]();}[_0x3a408b(0x88)](_0x2d515d,_0x1e1337){const _0x7834a3=_0x3a408b,{scene:_0x3140b1,mainComponent:_0x472fd2}=this[_0x7834a3(0x23f)],_0x413df6=_0x1e1337['map'](_0x488dc5=>new qe(_0x488dc5,_0x3140b1,_0x2d515d,_0x472fd2));this[_0x7834a3(0x12e)]=_0x413df6,this[_0x7834a3(0xe2)]=_0x1e1337;}['_refreshCollabCursors'](){const _0xf8f3c3=_0x3a408b;this[_0xf8f3c3(0x11f)]();const {scene:_0x3005e6,mainComponent:_0xfbfd4}=this['_context'],_0x1beae0=this[_0xf8f3c3(0x12f)][_0xf8f3c3(0x126)](),_0xbd0914=this[_0xf8f3c3(0xe2)][_0xf8f3c3(0xde)](_0x12a19f=>new qe(_0x12a19f,_0x3005e6,_0x1beae0,_0xfbfd4));this[_0xf8f3c3(0x12e)]=_0xbd0914;}[_0x3a408b(0x11f)](){const _0x71e220=_0x3a408b;this[_0x71e220(0x12e)][_0x71e220(0xbe)](_0x59f5cd=>_0x59f5cd['dispose']()),this[_0x71e220(0x12e)]=[];}[_0x3a408b(0x19d)](){const _0x24fd36=_0x3a408b,_0x37b130=[_0x1e0841['id']];this['disposeWithMe'](this[_0x24fd36(0x117)][_0x24fd36(0x227)](_0x588f4d=>{const _0x17d3a9=_0x24fd36;_0x37b130['includes'](_0x588f4d['id'])&&_0x588f4d[_0x17d3a9(0x83)][_0x17d3a9(0x11a)]===this[_0x17d3a9(0x23f)][_0x17d3a9(0x11a)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x5b3143=_0x3a408b;this[_0x5b3143(0xe1)](_0x3eb154(this[_0x5b3143(0x23f)]['engine'][_0x5b3143(0x148)])[_0x5b3143(0x204)](_0x30235d(_0x4aca19=>_0x4aca19[_0x5b3143(0x16e)]===_0x4501d4['resize']),_0x2dec11(0x10))[_0x5b3143(0xae)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x17a839(_0x554c81)),Z(0x2,_0x17a839(H)),Z(0x3,_0x101494),Z(0x4,_0x17a839(_0x477be0))],Pe);const Pi=0x1,Li=1.5;class wi extends _0xa8a813{constructor(_0x5e3aa1,_0x11075a){const _0x26d785=_0x3a408b;super(_0x5e3aa1,_0x11075a),_(this,_0x26d785(0x249)),_(this,'_hovered',!0x1),_(this,_0x26d785(0x107)),_(this,'_name',''),_(this,_0x26d785(0x1d5),_0x26d785(0x1f3)),_(this,_0x26d785(0x26a)),(_0x11075a&&this[_0x26d785(0x153)](_0x11075a),this[_0x26d785(0x15b)][_0x26d785(0x127)](()=>this[_0x26d785(0x153)]({'hovered':!0x0})),this[_0x26d785(0x17a)][_0x26d785(0x127)](()=>this[_0x26d785(0x153)]({'hovered':!0x1})));}['setShapeProps'](_0xc47fc9){const _0x5b7876=_0x3a408b;var _0x4cdb43,_0x3c6fa2,_0x2b4c5d,_0x272ffe,_0x220f44,_0x48a282;this[_0x5b7876(0x249)]=(_0x4cdb43=_0xc47fc9[_0x5b7876(0x217)])!=null?_0x4cdb43:this['_color'],this['_hovered']=(_0x3c6fa2=_0xc47fc9[_0x5b7876(0x198)])!=null?_0x3c6fa2:this['_hovered'],this[_0x5b7876(0x107)]=(_0x2b4c5d=_0xc47fc9[_0x5b7876(0x120)])!=null?_0x2b4c5d:this[_0x5b7876(0x107)],this[_0x5b7876(0x86)]=(_0x272ffe=_0xc47fc9[_0x5b7876(0x1f2)])!=null?_0x272ffe:this[_0x5b7876(0x86)],this[_0x5b7876(0x1d5)]=(_0x220f44=_0xc47fc9[_0x5b7876(0x131)])!=null?_0x220f44:this['_labelPosition'],this['_backgroundColor']=(_0x48a282=_0xc47fc9[_0x5b7876(0x199)])!=null?_0x48a282:this[_0x5b7876(0x26a)],this[_0x5b7876(0x1d9)]({'width':_0xc47fc9[_0x5b7876(0x150)],'height':_0xc47fc9[_0x5b7876(0x1e3)]});}[_0x3a408b(0x251)](_0x47b13e){const _0x38fe91=_0x3a408b,{row:_0x4a74d4,column:_0x8f4956}=_0x47b13e;if(_0x4a74d4>=this[_0x38fe91(0x107)]['startRow']&&_0x4a74d4<=this['_range']['endRow']&&_0x8f4956>=this['_range'][_0x38fe91(0xa4)]&&_0x8f4956<=this[_0x38fe91(0x107)]['endColumn']){this[_0x38fe91(0x153)]({'hovered':!0x0});return;}this[_0x38fe91(0x153)]({'hovered':!0x1});}[_0x3a408b(0x9f)](_0x50769d){return!0x1;}['_draw'](_0x41c9e9){const _0x5d969c=_0x3a408b;_0x4e0805[_0x5d969c(0x128)](_0x41c9e9,{'width':this[_0x5d969c(0x150)],'height':this[_0x5d969c(0x1e3)],'strokeWidth':Li,'stroke':this[_0x5d969c(0x249)],'evented':!0x1,'fill':this[_0x5d969c(0x26a)]}),this[_0x5d969c(0x235)]&&(_0x41c9e9[_0x5d969c(0x1ce)](),_0x41c9e9[_0x5d969c(0x123)](0x1,0x0,0x0,0x1,this[_0x5d969c(0x150)],this[_0x5d969c(0x1d5)]===_0x5d969c(0x101)?0x0:-0x14),he[_0x5d969c(0x128)](_0x41c9e9,{'text':this[_0x5d969c(0x86)],'color':this['_color']}),_0x41c9e9[_0x5d969c(0x16a)]());}}var Ai=Object[_0x3a408b(0x179)],yi=(_0x1a86d7,_0x47f4b9,_0x5a448c,_0x358b6d)=>{for(var _0x158606=_0x358b6d>0x1?void 0x0:_0x358b6d?Ai(_0x47f4b9,_0x5a448c):_0x47f4b9,_0x1b068d=_0x1a86d7['length']-0x1,_0x47a3ad;_0x1b068d>=0x0;_0x1b068d--)(_0x47a3ad=_0x1a86d7[_0x1b068d])&&(_0x158606=_0x47a3ad(_0x158606)||_0x158606);return _0x158606;},ve=(_0x355f73,_0x1db53a)=>(_0x130839,_0x14cc70)=>_0x1db53a(_0x130839,_0x14cc70,_0x355f73);const $i=0x1389;let Le=class extends _0x4700ce{constructor(_0x550fbf,_0x5e2f0f,_0x1a4011,_0x5f1e5c){const _0x3f5886=_0x3a408b;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x3f5886(0x23f)]=_0x550fbf,this[_0x3f5886(0xbc)]=_0x5e2f0f,this[_0x3f5886(0x1fc)]=_0x1a4011,this[_0x3f5886(0x1e9)]=_0x5f1e5c,this[_0x3f5886(0x255)]());}[_0x3a408b(0x255)](){const _0x19452e=_0x3a408b;this[_0x19452e(0xbc)]['currentSkeleton$'][_0x19452e(0x204)](_0x338b49(this[_0x19452e(0x223)]),_0x41caa0(_0x3afcab=>{const _0x43db06=_0x19452e;if(_0x3afcab){const _0x56dabb=_0x3afcab[_0x43db06(0x20f)];return _0x1b69f3(this[_0x43db06(0x1fc)][_0x43db06(0x138)](this['_context'][_0x43db06(0x11a)]),this[_0x43db06(0x1e9)][_0x43db06(0x121)])[_0x43db06(0x204)](_0x273ce4(([_0x5a5f7c,_0x2d6176])=>{const _0x275929=_0x43db06,_0x52482d=new Map();return _0x5a5f7c[_0x275929(0xbe)]((_0x5b845e,_0x1a0402)=>{const _0x4af426=_0x275929;if(_0x5b845e[_0x4af426(0x1ea)]===_0x56dabb){const _0x57f9d3={..._0x5b845e};_0x57f9d3[_0x4af426(0x217)]=_0x2d6176[_0x5b845e['color']],_0x52482d[_0x4af426(0x228)](_0x1a0402,_0x57f9d3);}}),{'skeleton':_0x3afcab,'cursors':_0x52482d};}));}return _0xaf0114({'skeleton':null,'cursors':new Map()});}))[_0x19452e(0xae)](({skeleton:_0x46faac,cursors:_0x541914})=>{const _0x292b64=_0x19452e;this[_0x292b64(0x11f)](),_0x46faac&&this[_0x292b64(0x88)](_0x46faac,_0x541914);}),this['_sheetSkeletonManagerService'][_0x19452e(0xfe)][_0x19452e(0xae)](_0x42b61f=>{if(_0x42b61f==null)return;const {skeleton:_0x4e6f94}=_0x42b61f,{scene:_0x1835df}=this['_context'];_0x1835df['onPointerMove$']['subscribeEvent'](_0x407cab(_0x301a6e=>{const _0x332afc=_0x1625;var _0x1ce514,_0x363a39;const {offsetX:_0x8041b3,offsetY:_0x5984b8}=_0x301a6e,{x:_0x1b7aaa,y:_0x5d31d6}=_0x1835df['getRelativeToViewportCoord'](_0xa0510c['FromArray']([_0x8041b3,_0x5984b8])),{scaleX:_0x88e36f,scaleY:_0x584e53}=_0x1835df[_0x332afc(0xc6)](),_0x4cf629=_0x1835df[_0x332afc(0x14c)](_0x54b74c[_0x332afc(0x26f)]),_0xc84e65=_0x1835df[_0x332afc(0x237)](_0xa0510c[_0x332afc(0x24d)]([_0x1b7aaa,_0x5d31d6]),_0x4cf629),_0x5ae92e=_0x4e6f94[_0x332afc(0x21e)](_0x8041b3,_0x5984b8,_0x88e36f,_0x584e53,_0xc84e65);((_0x1ce514=this[_0x332afc(0x22f)])==null?void 0x0:_0x1ce514[_0x332afc(0x218)])===_0x5ae92e[_0x332afc(0x218)]&&((_0x363a39=this['_lastPointer'])==null?void 0x0:_0x363a39['row'])===_0x5ae92e[_0x332afc(0xfd)]||this[_0x332afc(0xe2)][_0x332afc(0xbe)](_0x2a3f15=>{_0x2a3f15['onMouseMove'](_0x5ae92e);});},0x64));});}[_0x3a408b(0x88)](_0x40cdad,_0x13794c){const _0x4253ce=_0x3a408b;var _0x499e1d;const _0x1d4fc1=(_0x499e1d=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x499e1d[_0x4253ce(0x1e5)];if(!_0x1d4fc1)return;const _0x4bfd8f=this[_0x4253ce(0x1f1)]();if(!_0x4bfd8f)return;this[_0x4253ce(0xe2)][_0x4253ce(0xbe)](_0x453372=>{const _0x50e310=_0x4253ce;_0x453372[_0x50e310(0xe3)]();});const {scene:_0x559eaa}=_0x4bfd8f,_0x5da549=xi(Array[_0x4253ce(0x9a)](_0x13794c['values']()))[_0x4253ce(0xde)](_0x1096ae=>{const _0x428134=_0x4253ce,{color:_0x296e6b,range:_0x5ebc14,name:_0x48200c,selection:_0x412ac0,sheetID:_0x26d5db}=_0x1096ae,{startColumn:_0x18bc9b,startRow:_0x3aa0c8,endColumn:_0xfc5979,endRow:_0x2aa0ac}=_0x5ebc14,_0x329d2b=_0x219162(_0x3aa0c8,_0x18bc9b,_0x559eaa,_0x1d4fc1),_0xceb51=_0x219162(_0x2aa0ac,_0xfc5979,_0x559eaa,_0x1d4fc1),{columnHeaderHeightAndMarginTop:_0x391513}=_0x1d4fc1,{startX:_0x45ec61,startY:_0x10ba34}=_0x329d2b,{endX:_0x4a92b1,endY:_0x2d95c3}=_0xceb51,_0x6efc54=_0x4a92b1-_0x45ec61,_0x11464f=_0x2d95c3-_0x10ba34,_0x2733f6={'labelPosition':_0x10ba34-_0x391513>=ee?_0x428134(0x1f3):_0x428134(0x101),'sheetID':_0x26d5db,'range':_0x5ebc14,'color':_0x296e6b,'name':_0x48200c,'selection':_0x412ac0,'left':_0x45ec61,'top':_0x10ba34,'width':_0x6efc54,'height':_0x11464f,'evented':!0x1,'zIndex':$i};return new wi(_0x48200c,_0x2733f6);});_0x559eaa['addObjects'](_0x5da549,Pi),this[_0x4253ce(0xe2)]=new Set(_0x5da549);}[_0x3a408b(0x11f)](){const _0xfd0da0=_0x3a408b;var _0x3dc5ea;(_0x3dc5ea=this['_cursors'])==null||_0x3dc5ea['forEach'](_0x7904e0=>_0x7904e0[_0xfd0da0(0x90)]());}[_0x3a408b(0x1f1)](){const _0x86a4e8=_0x3a408b;return _0x147273(this['_context'][_0x86a4e8(0x152)],this[_0x86a4e8(0x23f)]);}};Le=yi([ve(0x1,_0x17a839(_0x589eb2)),ve(0x2,_0x17a839(H)),ve(0x3,_0x17a839(_0x477be0))],Le);function xi(_0x54f754){const _0x5b31bc=_0x3a408b,_0x11e97e=new Map();return _0x54f754[_0x5b31bc(0xbe)](_0x258dc6=>{const _0x47cb05=_0x5b31bc;if(_0x11e97e[_0x47cb05(0x1c6)](_0x258dc6[_0x47cb05(0x1b1)])){const _0x29dd0e=_0x11e97e['get'](_0x258dc6[_0x47cb05(0x1b1)]);_0x29dd0e[_0x47cb05(0x1f2)]+=',\x20'+_0x258dc6[_0x47cb05(0x1f2)];}else _0x11e97e['set'](_0x258dc6['selection'],_0x258dc6);}),Array['from'](_0x11e97e[_0x5b31bc(0xbd)]());}var v=function(){const _0x55871d=_0x3a408b;return v=Object[_0x55871d(0x245)]||function(_0x8827e0){const _0x55b377=_0x55871d;for(var _0x311094,_0x4750c6=0x1,_0x281d57=arguments[_0x55b377(0x14e)];_0x4750c6<_0x281d57;_0x4750c6++){_0x311094=arguments[_0x4750c6];for(var _0x236502 in _0x311094)Object[_0x55b377(0x20d)]['hasOwnProperty'][_0x55b377(0xe0)](_0x311094,_0x236502)&&(_0x8827e0[_0x236502]=_0x311094[_0x236502]);}return _0x8827e0;},v[_0x55871d(0x161)](this,arguments);},Bi=function(_0x45fcae,_0xe6c5){const _0x77e5ca=_0x3a408b;var _0x399896={};for(var _0x408014 in _0x45fcae)Object[_0x77e5ca(0x20d)][_0x77e5ca(0xee)]['call'](_0x45fcae,_0x408014)&&_0xe6c5[_0x77e5ca(0x106)](_0x408014)<0x0&&(_0x399896[_0x408014]=_0x45fcae[_0x408014]);if(_0x45fcae!=null&&typeof Object['getOwnPropertySymbols']==_0x77e5ca(0xaa)){for(var _0x222f71=0x0,_0x408014=Object['getOwnPropertySymbols'](_0x45fcae);_0x222f71<_0x408014[_0x77e5ca(0x14e)];_0x222f71++)_0xe6c5['indexOf'](_0x408014[_0x222f71])<0x0&&Object[_0x77e5ca(0x20d)][_0x77e5ca(0x1c7)]['call'](_0x45fcae,_0x408014[_0x222f71])&&(_0x399896[_0x408014[_0x222f71]]=_0x45fcae[_0x408014[_0x222f71]]);}return _0x399896;},je=_0x325090(function(_0x774808,_0x12e0cf){const _0x546d6c=_0x3a408b;var _0x3d7ea4=_0x774808[_0x546d6c(0x1d4)],_0x56ad40=_0x774808['id'],_0xa1fff9=_0x774808[_0x546d6c(0x13c)],_0x3ce062=_0x774808[_0x546d6c(0x180)],_0x3af022=Bi(_0x774808,['icon','id',_0x546d6c(0x13c),_0x546d6c(0x180)]),_0xfa274a=_0x546d6c(0x264)['concat'](_0x56ad40,'\x20')['concat'](_0xa1fff9||'')[_0x546d6c(0x11b)](),_0x39ec2b=_0x3cd3f2('_'[_0x546d6c(0x184)](ji()));return Rt(_0x3d7ea4,''[_0x546d6c(0x184)](_0x56ad40),{'defIds':_0x3d7ea4['defIds'],'idSuffix':_0x39ec2b[_0x546d6c(0xc4)]},v({'ref':_0x12e0cf,'className':_0xfa274a},_0x3af022),_0x3ce062);});function Rt(_0x443bff,_0x27e6af,_0x2afd65,_0x36a19a,_0x46e38e){const _0x5acf40=_0x3a408b;return _0x61ac1f(_0x443bff[_0x5acf40(0x156)],v(v({'key':_0x27e6af},ki(_0x443bff,_0x2afd65,_0x46e38e)),_0x36a19a),(Hi(_0x443bff,_0x2afd65)[_0x5acf40(0xfc)]||[])[_0x5acf40(0xde)](function(_0x2de2b4,_0x19a5a1){const _0x5e438c=_0x5acf40;return Rt(_0x2de2b4,''['concat'](_0x27e6af,'-')[_0x5e438c(0x184)](_0x443bff['tag'],'-')[_0x5e438c(0x184)](_0x19a5a1),_0x2afd65,void 0x0,_0x46e38e);}));}function ki(_0x2fd137,_0x5bbbc0,_0xcdd378){const _0x5df4b0=_0x3a408b;var _0x4baa1a=v({},_0x2fd137[_0x5df4b0(0x1f0)]);_0xcdd378!=null&&_0xcdd378['colorChannel1']&&_0x4baa1a[_0x5df4b0(0x22e)]===_0x5df4b0(0x24c)&&(_0x4baa1a[_0x5df4b0(0x22e)]=_0xcdd378[_0x5df4b0(0x24c)]),_0x2fd137['tag']==='mask'&&_0x4baa1a['id']&&(_0x4baa1a['id']=_0x4baa1a['id']+_0x5bbbc0[_0x5df4b0(0x1c1)]),Object['entries'](_0x4baa1a)[_0x5df4b0(0xbe)](function(_0x5d7121){const _0x3943ae=_0x5df4b0;var _0x18b46a=_0x5d7121[0x0],_0x10bc29=_0x5d7121[0x1];_0x18b46a===_0x3943ae(0x1ac)&&typeof _0x10bc29==_0x3943ae(0x119)&&(_0x4baa1a[_0x18b46a]=_0x10bc29['replace'](/url\(#(.*)\)/,_0x3943ae(0xa3)['concat'](_0x5bbbc0[_0x3943ae(0x1c1)],')')));});var _0x55677a=_0x5bbbc0[_0x5df4b0(0xd6)];return!_0x55677a||_0x55677a[_0x5df4b0(0x14e)]===0x0||(_0x2fd137[_0x5df4b0(0x156)]==='use'&&_0x4baa1a['xlink:href']&&(_0x4baa1a['xlink:href']=_0x4baa1a[_0x5df4b0(0x1db)]+_0x5bbbc0[_0x5df4b0(0x1c1)]),Object['entries'](_0x4baa1a)['forEach'](function(_0x34a1b3){const _0x2b143d=_0x5df4b0;var _0x28b1fa=_0x34a1b3[0x0],_0x4e99d6=_0x34a1b3[0x1];typeof _0x4e99d6=='string'&&(_0x4baa1a[_0x28b1fa]=_0x4e99d6[_0x2b143d(0x201)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5bbbc0[_0x2b143d(0x1c1)],')')));})),_0x4baa1a;}function Hi(_0x4c64c8,_0x442887){const _0x587f13=_0x3a408b;var _0x1fa2ea,_0x1c5ef2=_0x442887['defIds'];return!_0x1c5ef2||_0x1c5ef2['length']===0x0?_0x4c64c8:_0x4c64c8[_0x587f13(0x156)]==='defs'&&(!((_0x1fa2ea=_0x4c64c8['children'])===null||_0x1fa2ea===void 0x0)&&_0x1fa2ea[_0x587f13(0x14e)])?v(v({},_0x4c64c8),{'children':_0x4c64c8[_0x587f13(0xfc)][_0x587f13(0xde)](function(_0x14595a){const _0x31fdf9=_0x587f13;return typeof _0x14595a[_0x31fdf9(0x1f0)]['id']==_0x31fdf9(0x119)&&_0x1c5ef2&&_0x1c5ef2[_0x31fdf9(0x106)](_0x14595a['attrs']['id'])>-0x1?v(v({},_0x14595a),{'attrs':v(v({},_0x14595a[_0x31fdf9(0x1f0)]),{'id':_0x14595a[_0x31fdf9(0x1f0)]['id']+_0x442887[_0x31fdf9(0x1c1)]})}):_0x14595a;})}):_0x4c64c8;}function ji(){const _0x142b51=_0x3a408b;return Math[_0x142b51(0x95)]()[_0x142b51(0x190)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x3a408b(0xa8);var Yi={'tag':_0x3a408b(0x26e),'attrs':{'fill':_0x3a408b(0x20e),'viewBox':_0x3a408b(0x143),'width':'1em','height':_0x3a408b(0xcf)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'stroke':'currentColor','d':_0x3a408b(0x244),'strokeLinecap':_0x3a408b(0x22c),'strokeLinejoin':_0x3a408b(0x22c),'strokeWidth':1.2}}]},{'tag':_0x3a408b(0xc1),'attrs':{},'children':[{'tag':_0x3a408b(0x1d0),'attrs':{'id':_0x3a408b(0x1b7)},'children':[{'tag':'path','attrs':{'fill':_0x3a408b(0x168),'d':_0x3a408b(0x1c4)}}]}]}],'defIds':[_0x3a408b(0x1b7)]},Dt=_0x325090(function(_0x4be7ba,_0x62087f){const _0x79022b=_0x3a408b;return _0x61ac1f(je,Object[_0x79022b(0x245)]({},_0x4be7ba,{'id':_0x79022b(0x1cd),'ref':_0x62087f,'icon':Yi}));});Dt[_0x3a408b(0x1fb)]=_0x3a408b(0x17c);var Wi={'tag':_0x3a408b(0x26e),'attrs':{'fill':_0x3a408b(0x20e),'viewBox':_0x3a408b(0x13d),'width':_0x3a408b(0xcf),'height':_0x3a408b(0xcf)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a408b(0x1b4)},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'stroke':_0x3a408b(0xe7),'d':_0x3a408b(0x18e),'strokeLinecap':_0x3a408b(0x22c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3a408b(0xc1),'attrs':{},'children':[{'tag':_0x3a408b(0x1d0),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'fill':_0x3a408b(0x168),'d':'M0\x200H16V16H0z','transform':_0x3a408b(0x114)}}]}]}],'defIds':[_0x3a408b(0x10f)]},Nt=_0x325090(function(_0x397135,_0x45d9d3){const _0x12fa56=_0x3a408b;return _0x61ac1f(je,Object['assign']({},_0x397135,{'id':_0x12fa56(0x18b),'ref':_0x45d9d3,'icon':Wi}));});Nt['displayName']=_0x3a408b(0x144);function Fi(_0x5b9ca8){const _0xf42f87=_0x3a408b;switch(_0x5b9ca8){case _0x1fa315[_0xf42f87(0x1c9)]:return _0xf42f87(0x96);case _0x1fa315['CONFLICT']:return'collabStatus.conflict';case _0x1fa315[_0xf42f87(0x136)]:return _0xf42f87(0x1bb);case _0x1fa315[_0xf42f87(0x1c2)]:return _0xf42f87(0x11c);case _0x1fa315['AWAITING']:case _0x1fa315[_0xf42f87(0xaf)]:return'collabStatus.syncing';case _0x1fa315[_0xf42f87(0x110)]:case _0x1fa315[_0xf42f87(0x1c8)]:return'collabStatus.synced';}}function Vi(_0xe3b01e){const _0x171c4d=_0x3a408b,{status$:_0x51dfd4}=_0xe3b01e,_0x536ad2=_0x7e078e(_0x51dfd4,_0x1fa315[_0x171c4d(0x1c2)]),_0x2af55c=_0x9a1297(_0x39370a),_0x30ed95=_0x9a1297(_0x38126a),_0x387d42=_0x536ad2!==_0x1fa315[_0x171c4d(0x1c9)],_0x2a1549=_0x2af55c['t'](Fi(_0x536ad2)),_0x414038=_0x387d42?_0x55a7fd(Nt,{}):_0x55a7fd(Dt,{}),_0xb31a50=_0x28056a(()=>{const _0x385e88=_0x171c4d;_0x387d42||_0x30ed95[_0x385e88(0x1d6)]();},[_0x387d42,_0x30ed95]);function _0x3df308(){const _0x353d2a=_0x171c4d;return _0x50d88c(_0x353d2a(0x84),{'className':'univer-flex\x20univer-items-center','onClick':_0xb31a50,'children':[_0x55a7fd(_0x353d2a(0x84),{'className':_0x401a94(_0x353d2a(0x9e),_0x387d42?_0x353d2a(0x10c):'univer-text-red-500'),'children':_0x414038}),_0x55a7fd(_0x353d2a(0x84),{'className':_0x353d2a(0x140),'children':_0x2a1549})]});}return _0x387d42?_0x3df308():_0x55a7fd(_0x13f86a,{'title':_0x2af55c['t']('collab-client.tooltip.reconnect'),'children':_0x3df308()});}var Xi=Object[_0x3a408b(0x179)],Gi=(_0x34dc9e,_0x4d25cc,_0x371200,_0x117120)=>{for(var _0x140eca=_0x117120>0x1?void 0x0:_0x117120?Xi(_0x4d25cc,_0x371200):_0x4d25cc,_0x462a42=_0x34dc9e['length']-0x1,_0x53bec6;_0x462a42>=0x0;_0x462a42--)(_0x53bec6=_0x34dc9e[_0x462a42])&&(_0x140eca=_0x53bec6(_0x140eca)||_0x140eca);return _0x140eca;},Q=(_0x548bd2,_0xd640fa)=>(_0x143317,_0x3c393a)=>_0xd640fa(_0x143317,_0x3c393a,_0x548bd2);let te=class extends _0x31f336{constructor(_0x10620a,_0x182980,_0x44e852,_0x52917c){const _0x340d89=_0x3a408b;super(),_(this,_0x340d89(0xf4),new _0x51d94a(_0x1fa315[_0x340d89(0x1c2)])),(this[_0x340d89(0x1e1)]=_0x10620a,this[_0x340d89(0xd9)]=_0x182980,this[_0x340d89(0x1e4)]=_0x44e852,this[_0x340d89(0x17f)]=_0x52917c,this['_initStatusComponent'](),this[_0x340d89(0x23b)]());}['_initStatusListener'](){const _0x1f4ff9=_0x3a408b;this[_0x1f4ff9(0xe1)](this['_univerInstanceService'][_0x1f4ff9(0x19a)]['pipe'](_0x25ab18(()=>{const _0x3602fd=_0x1f4ff9,_0x92c525=this[_0x3602fd(0x1e1)][_0x3602fd(0x236)]();return _0x92c525?this[_0x3602fd(0x1e4)][_0x3602fd(0xf5)](_0x92c525[_0x3602fd(0x19e)]()):_0xaf0114(null);}),_0x25ab18(_0x3e6ff1=>_0x3e6ff1?_0x3e6ff1[_0x1f4ff9(0x261)]:_0xaf0114(_0x1fa315[_0x1f4ff9(0x1c2)])))[_0x1f4ff9(0xae)](_0x4bc322=>{const _0x441a81=_0x1f4ff9;this[_0x441a81(0xf4)]['next'](_0x4bc322);}));}['_initStatusComponent'](){const _0xc5e2b8=_0x3a408b;this[_0xc5e2b8(0xe1)](this[_0xc5e2b8(0x17f)]['registerComponent'](_0xd37046['HEADER_MENU'],()=>_0x4fc57d(Ki({'status$':this[_0xc5e2b8(0xf4)][_0xc5e2b8(0x21a)]()}),this[_0xc5e2b8(0xd9)])));}};te=Gi([Q(0x0,_0xbc56cb),Q(0x1,_0x17a839(_0x171dd8)),Q(0x2,_0x17a839(_0x43cdb5)),Q(0x3,_0x512b75)],te);function Ki(_0x397788){const {status$:_0x57de61}=_0x397788;return function(){return _0x55a7fd(Vi,{'status$':_0x57de61});};}var zi=Object[_0x3a408b(0x179)],Ji=(_0x8c00e4,_0x424688,_0x579767,_0x27b065)=>{const _0x2c624e=_0x3a408b;for(var _0x489440=_0x27b065>0x1?void 0x0:_0x27b065?zi(_0x424688,_0x579767):_0x424688,_0x5d599c=_0x8c00e4[_0x2c624e(0x14e)]-0x1,_0xe7aae8;_0x5d599c>=0x0;_0x5d599c--)(_0xe7aae8=_0x8c00e4[_0x5d599c])&&(_0x489440=_0xe7aae8(_0x489440)||_0x489440);return _0x489440;},B=(_0x3c914a,_0xcafa64)=>(_0x57fa23,_0x1f399f)=>_0xcafa64(_0x57fa23,_0x1f399f,_0x3c914a);let se=class extends _0x31f336{constructor(_0x1b2742,_0xab4304,_0x4c0077,_0x4f7dba,_0x42c893,_0x27704a){const _0x2f8ef5=_0x3a408b;super(),this[_0x2f8ef5(0x163)]=_0x1b2742,this['_localCacheService']=_0xab4304,this['_collaborationUIEventService']=_0x4c0077,this[_0x2f8ef5(0x1bd)]=_0x4f7dba,this[_0x2f8ef5(0x9d)]=_0x42c893,this[_0x2f8ef5(0xba)]=_0x27704a,this[_0x2f8ef5(0x103)](),this['_initEvent']();}[_0x3a408b(0x103)](){const _0x2c7f73=_0x3a408b;this['disposeWithMe'](this[_0x2c7f73(0x163)][_0x2c7f73(0x1a2)](()=>{const _0x58b49e=_0x2c7f73;if(this['_localCacheService'][_0x58b49e(0x147)][_0x58b49e(0xb2)])return this['_localeService']['t'](_0x58b49e(0x269));}));}[_0x3a408b(0x210)](){const _0x26a48c=_0x3a408b;this[_0x26a48c(0xe1)](this[_0x26a48c(0x80)][_0x26a48c(0x212)]['subscribe'](_0xd5807b=>{const _0x4123be=_0x26a48c;_0xd5807b['id']===_0x990e29['OTHER_CLIENT_EDITING']&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x252))}),_0xd5807b['id']===_0x990e29['CLOSE_ROOM']&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x1b3))}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc9)]&&this[_0x4123be(0x9d)][_0x4123be(0x268)]({'title':this[_0x4123be(0xba)]['t']('permission.title'),'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x238)),'type':_0x4123be(0x192),'duration':0x0}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc5)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a['Error'],'content':this['_localeService']['t'](_0x4123be(0x1b3))+'('+_0xd5807b[_0x4123be(0x8d)]+')'}),_0xd5807b['id']===_0x990e29[_0x4123be(0x1cb)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this['_localeService']['t'](_0xd5807b[_0x4123be(0x8d)]||'')}),_0xd5807b['id']===_0x990e29[_0x4123be(0x9b)]&&this['_messageService'][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0xf9))}),_0xd5807b['id']===_0x990e29[_0x4123be(0x24b)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x9c)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x253))}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc0)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x9c)],'content':this['_localeService']['t'](_0x4123be(0x219))});}));}};se=Ji([B(0x0,_0x2718b9),B(0x1,_0x5e6fa7),B(0x2,_0x17a839(_0x42b038)),B(0x3,_0x2d1ce5),B(0x4,_0x4e5f7e),B(0x5,_0x17a839(_0x39370a))],se);const Zi=_0x3a408b(0x1ee),et={},Ut=_0x3e7bd4('uni.network.url-service');var Qi=Object[_0x3a408b(0x179)],qi=(_0x2d4dba,_0xe158e5,_0x12897c,_0x55a139)=>{const _0x40b39d=_0x3a408b;for(var _0x397bbf=_0x55a139>0x1?void 0x0:_0x55a139?Qi(_0xe158e5,_0x12897c):_0xe158e5,_0x1a3536=_0x2d4dba[_0x40b39d(0x14e)]-0x1,_0x189ed3;_0x1a3536>=0x0;_0x1a3536--)(_0x189ed3=_0x2d4dba[_0x1a3536])&&(_0x397bbf=_0x189ed3(_0x397bbf)||_0x397bbf);return _0x397bbf;},G=(_0x156321,_0x1b0596)=>(_0x23d7ab,_0x367765)=>_0x1b0596(_0x23d7ab,_0x367765,_0x156321);let ie=class extends _0x4700ce{constructor(_0x37cab2,_0x32ac45,_0x25eb45,_0x42115d,_0x458db6){const _0x5d3c64=_0x3a408b;super(),this[_0x5d3c64(0xe4)]=_0x37cab2,this[_0x5d3c64(0x266)]=_0x32ac45,this[_0x5d3c64(0x117)]=_0x25eb45,this[_0x5d3c64(0x24a)]=_0x42115d,_0x458db6?_0x458db6==null||_0x458db6[_0x5d3c64(0x15e)]()[_0x5d3c64(0x8f)](()=>this[_0x5d3c64(0x255)]()):(this[_0x5d3c64(0x266)]['debug'](_0x5d3c64(0xd7),_0x5d3c64(0x1c0)),this['_init']());}async[_0x3a408b(0x255)](){const _0xbeb0bd=_0x3a408b,_0x822ea7=this[_0xbeb0bd(0xe4)][_0xbeb0bd(0x260)](_0xbeb0bd(0x152)),_0x544b14=this[_0xbeb0bd(0xe4)]['getParam'](_0xbeb0bd(0x16e)),_0x546237=this['_urlService'][_0xbeb0bd(0x260)](_0xbeb0bd(0xad));if(!_0x822ea7||!_0x544b14){this[_0xbeb0bd(0x266)]['debug'](_0xbeb0bd(0xd7),_0xbeb0bd(0xc8));return;}const _0x14a4b0=await this[_0xbeb0bd(0x24a)][_0xbeb0bd(0x224)](_0x822ea7,Number(_0x544b14),_0x546237);_0x14a4b0&&_0x14a4b0 instanceof _0x3fddff&&this[_0xbeb0bd(0x25d)](_0x14a4b0);}async[_0x3a408b(0x25d)](_0x3bd35e){const _0x3bc030=_0x3a408b;await this[_0x3bc030(0xf2)](_0x3bd35e),_0x3bd35e[_0x3bc030(0xe9)]['pipe'](_0x458f50(this[_0x3bc030(0x223)]))[_0x3bc030(0xae)](_0x21a5a2=>{const _0x210ca8=_0x3bc030;_0x21a5a2&&this[_0x210ca8(0x175)](_0x21a5a2);}),this['_urlService']['urlChange$'][_0x3bc030(0x204)](_0x458f50(this[_0x3bc030(0x223)]))['subscribe'](()=>this[_0x3bc030(0xf2)](_0x3bd35e));}[_0x3a408b(0x175)](_0x3ed436,_0xf1d70b=!0x1){const _0x396891=_0x3a408b,_0x5504d0=this[_0x396891(0xe4)][_0x396891(0x260)]('subunit');_0x3ed436['getSheetId']()!==_0x5504d0&&this[_0x396891(0xe4)][_0x396891(0x149)]('subunit',_0x3ed436[_0x396891(0x214)](),_0xf1d70b);}async['_updateSubUnitFromURLParams'](_0x7cdc7){const _0x3bc920=_0x3a408b;var _0x203401;const _0x368828=this[_0x3bc920(0xe4)][_0x3bc920(0x260)]('subunit');if(!_0x368828||!_0x7cdc7[_0x3bc920(0x21d)](_0x368828)){const _0x44d7e0=_0x7cdc7['getUnhiddenWorksheets']()[0x0],_0x420c98=_0x7cdc7['getSheetBySheetId'](_0x44d7e0);if(!_0x420c98)return;this[_0x3bc920(0x175)](_0x420c98,!0x0),await this[_0x3bc920(0x117)][_0x3bc920(0x1d8)](_0x3a66aa['id'],{'unitId':_0x7cdc7[_0x3bc920(0x19e)](),'subUnitId':_0x44d7e0});return;}((_0x203401=_0x7cdc7[_0x3bc920(0xb8)]())==null?void 0x0:_0x203401['getSheetId']())!==_0x368828&&await this[_0x3bc920(0x117)][_0x3bc920(0x1d8)](_0x3a66aa['id'],{'unitId':_0x7cdc7['getUnitId'](),'subUnitId':_0x368828});}};ie=qi([G(0x0,Ut),G(0x1,_0x3d7217),G(0x2,_0x101494),G(0x3,_0x17a839(_0x558d9e)),G(0x4,_0x1f5a2d(_0x4f25be))],ie);var en=Object[_0x3a408b(0x179)],tn=(_0xc8ca87,_0x2c49f8,_0x278731,_0x56aa76)=>{const _0x246d67=_0x3a408b;for(var _0x460a89=_0x56aa76>0x1?void 0x0:_0x56aa76?en(_0x2c49f8,_0x278731):_0x2c49f8,_0x4f61bb=_0xc8ca87[_0x246d67(0x14e)]-0x1,_0x11552c;_0x4f61bb>=0x0;_0x4f61bb--)(_0x11552c=_0xc8ca87[_0x4f61bb])&&(_0x460a89=_0x11552c(_0x460a89)||_0x460a89);return _0x460a89;},pe=(_0x21dab4,_0x2c8be4)=>(_0x1e14ea,_0x4c2844)=>_0x2c8be4(_0x1e14ea,_0x4c2844,_0x21dab4);let ne=class{constructor(_0x10c586,_0x19bbce,_0x17a2c2){const _0x479759=_0x3a408b;this[_0x479759(0xd9)]=_0x10c586,this[_0x479759(0xb7)]=_0x19bbce,this[_0x479759(0x14f)]=_0x17a2c2;}[_0x3a408b(0x239)](_0x5a46b7){this['_transformUndoRedoStack'](_0x5a46b7),this['_transformPreviousActiveRange'](_0x5a46b7);}[_0x3a408b(0x1ae)](_0x2ba083){const _0x41065d=_0x3a408b,{unitID:_0x2af78c}=_0x2ba083,_0x13bd7b=this[_0x41065d(0x14f)][_0x41065d(0x18a)](_0x2af78c)[_0x41065d(0x124)](_0x515704),{redoCache:_0x2bc836}=_0x13bd7b[_0x41065d(0xa7)]();if(_0x2bc836[_0x41065d(0x14e)]===0x0)return _0x2ba083;let _0x22c1aa=_0x2ca080[_0x41065d(0x1e0)](_0x2ba083[_0x41065d(0x22a)][0x0]);for(let _0x310c31=0x0;_0x310c31<_0x2bc836[_0x41065d(0x14e)];_0x310c31++){const _0xb4fb5c={'id':'doc.mutation.rich-text-editing','params':{..._0x2bc836[_0x310c31]}},_0x302560=this['_transformService'][_0x41065d(0x206)](_0x22c1aa,_0xb4fb5c,!0x1);if(_0x3425ca(_0x302560))throw _0x302560['error'];_0x22c1aa=_0x302560[_0x41065d(0x25f)];}return{..._0x2ca080['deepClone'](_0x2ba083),'mutations':[_0x22c1aa]};}['_transformUndoRedoStack'](_0x57a18a){const _0x536dd2=_0x3a408b,{unitID:_0x2d70d3}=_0x57a18a,_0x5ead37=this[_0x536dd2(0x14f)][_0x536dd2(0x18a)](_0x2d70d3)[_0x536dd2(0x124)](_0x515704),{undoCache:_0x4853d4,redoCache:_0x4bb75b}=_0x5ead37[_0x536dd2(0xa7)]();if(_0x4853d4['length']===0x0||_0x4bb75b['length']===0x0)return;const _0x127efb=[],_0xe00032=[];let _0x55521f=_0x2ca080[_0x536dd2(0x1e0)](_0x57a18a[_0x536dd2(0x22a)][0x0]),_0x78694=_0x2ca080['deepClone'](_0x57a18a[_0x536dd2(0x22a)][0x0]);for(let _0x2db719=_0x4853d4[_0x536dd2(0x14e)]-0x1;_0x2db719>=0x0;_0x2db719--){const _0x27e5be={'id':_0x536dd2(0x115),'params':{..._0x4853d4[_0x2db719]}},_0x441fb2={'id':_0x536dd2(0x115),'params':{..._0x4bb75b[_0x2db719]}},_0xf05317=this[_0x536dd2(0xb7)][_0x536dd2(0x206)](_0x55521f,_0x27e5be,!0x1),_0x4d1ab5=this[_0x536dd2(0xb7)][_0x536dd2(0x206)](_0x78694,_0x441fb2,!0x1);if(_0x3425ca(_0xf05317))throw _0xf05317[_0x536dd2(0x192)];if(_0x3425ca(_0x4d1ab5))throw _0x4d1ab5[_0x536dd2(0x192)];_0x127efb[_0x536dd2(0x8b)](_0xf05317['m2Prime']['params']),_0xe00032[_0x536dd2(0x8b)](_0x4d1ab5[_0x536dd2(0x267)][_0x536dd2(0x83)]),_0x55521f=_0xf05317[_0x536dd2(0x25f)],_0x78694=_0x4d1ab5[_0x536dd2(0x25f)];}_0x5ead37[_0x536dd2(0x16d)]({'undoCache':_0x127efb,'redoCache':_0xe00032});}[_0x3a408b(0x178)](_0x5d9519){const _0x12d1c1=_0x3a408b,{unitID:_0x5d3afb}=_0x5d9519,_0xbddd75=this[_0x12d1c1(0x14f)][_0x12d1c1(0x18a)](_0x5d3afb)[_0x12d1c1(0x124)](_0x515704),_0x5a8499=_0xbddd75[_0x12d1c1(0x1ef)]();if(_0x5a8499==null)return;const _0x4fdc56=[{'id':_0x12d1c1(0x115),'params':{'unitId':_0x5d9519['unitID'],'actions':null,'textRanges':[_0x5a8499]}}],_0x22c7aa=this[_0x12d1c1(0xb7)][_0x12d1c1(0x213)](_0x5d9519,_0x4fdc56);if(!_0x41d5b7(_0x22c7aa))throw _0x22c7aa['error'];const _0x3d7c57=_0x22c7aa[_0x12d1c1(0x267)][0x0]['params']['textRanges'];Array[_0x12d1c1(0x102)](_0x3d7c57)&&_0x3d7c57[_0x12d1c1(0x14e)]&&_0xbddd75[_0x12d1c1(0x17d)](_0x3d7c57[0x0]);}};ne=tn([pe(0x0,_0x17a839(_0x171dd8)),pe(0x1,_0x4fa722),pe(0x2,_0x170543)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x406cad,_0xe6a873,_0x55fc70,_0x176d2e)=>{for(var _0x1f3846=_0x176d2e>0x1?void 0x0:_0x176d2e?sn(_0xe6a873,_0x55fc70):_0xe6a873,_0x1b0b1f=_0x406cad['length']-0x1,_0x4534a4;_0x1b0b1f>=0x0;_0x1b0b1f--)(_0x4534a4=_0x406cad[_0x1b0b1f])&&(_0x1f3846=_0x4534a4(_0x1f3846)||_0x1f3846);return _0x1f3846;},Ce=(_0x2b94a1,_0x27852c)=>(_0x2a05bb,_0x5b1f2f)=>_0x27852c(_0x2a05bb,_0x5b1f2f,_0x2b94a1);let re=class{constructor(_0x326ca8,_0x153082,_0x141a1b){const _0x4311b4=_0x3a408b;this[_0x4311b4(0xd9)]=_0x326ca8,this['_transformService']=_0x153082,this[_0x4311b4(0x207)]=_0x141a1b;}[_0x3a408b(0x247)](_0x30e656){const _0x457f31=_0x3a408b;this[_0x457f31(0x1e2)](_0x30e656);}[_0x3a408b(0x1ae)](_0xbdba8a){const _0x2d8493=_0x3a408b,{unitID:_0x567574}=_0xbdba8a,{collaboration:_0x30096b}=this[_0x2d8493(0x207)][_0x2d8493(0x270)](_0x567574);if(_0x30096b[_0x2d8493(0x14e)]===0x0)return _0xbdba8a;let _0xd0b618=_0x2ca080['deepClone'](_0xbdba8a[_0x2d8493(0x22a)][0x0]);for(let _0x555a80=0x0;_0x555a80<_0x30096b[_0x2d8493(0x14e)];_0x555a80++){const _0x28772e={'id':_0x2d8493(0x115),'params':{'unitId':_0x30096b[_0x555a80][_0x2d8493(0x11a)],..._0x30096b[_0x555a80][_0x2d8493(0x81)]}},_0x62260=this[_0x2d8493(0xb7)]['transformMutation'](_0xd0b618,_0x28772e,!0x1);if(_0x3425ca(_0x62260))throw _0x62260['error'];_0xd0b618=_0x62260[_0x2d8493(0x25f)];}return{..._0x2ca080[_0x2d8493(0x1e0)](_0xbdba8a),'mutations':[_0xd0b618]};}[_0x3a408b(0x1e2)](_0x3eb3ea){const _0x48213d=_0x3a408b,{unitID:_0x1a35c9}=_0x3eb3ea,{history:_0x858c4e,collaboration:_0x1f91c2}=this[_0x48213d(0x207)][_0x48213d(0x270)](_0x1a35c9);if(_0x858c4e[_0x48213d(0x14e)]===0x0&&_0x1f91c2[_0x48213d(0x14e)]===0x0)return;const _0x3aaf3e=[],_0x26cf06=[];let _0x40f9c3=_0x2ca080[_0x48213d(0x1e0)](_0x3eb3ea[_0x48213d(0x22a)][0x0]),_0x58cba2=_0x2ca080['deepClone'](_0x3eb3ea[_0x48213d(0x22a)][0x0]);for(let _0x567e6d=_0x858c4e['length']-0x1;_0x567e6d>=0x0;_0x567e6d--){const _0x403cec={'id':_0x48213d(0x115),'params':{'unitId':_0x858c4e[_0x567e6d][_0x48213d(0x11a)],..._0x858c4e[_0x567e6d][_0x48213d(0x1a3)]}},_0x56cfbe={'id':_0x48213d(0x115),'params':{'unitId':_0x858c4e[_0x567e6d][_0x48213d(0x11a)],..._0x858c4e[_0x567e6d]['redoState']}},_0x166549=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x40f9c3,_0x403cec,!0x1),_0x4c9bd4=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x58cba2,_0x56cfbe,!0x1);if(_0x3425ca(_0x166549))throw _0x166549[_0x48213d(0x192)];if(_0x3425ca(_0x4c9bd4))throw _0x4c9bd4[_0x48213d(0x192)];_0x3aaf3e[_0x48213d(0x8b)]({..._0x858c4e[_0x567e6d],'undoState':_0x166549[_0x48213d(0x267)][_0x48213d(0x83)],'redoState':_0x4c9bd4['m2Prime']['params']}),_0x40f9c3=_0x166549[_0x48213d(0x25f)],_0x58cba2=_0x4c9bd4[_0x48213d(0x25f)];}_0x40f9c3=_0x2ca080['deepClone'](_0x3eb3ea[_0x48213d(0x22a)][0x0]),_0x58cba2=_0x2ca080[_0x48213d(0x1e0)](_0x3eb3ea[_0x48213d(0x22a)][0x0]);for(let _0x214f0e=_0x1f91c2[_0x48213d(0x14e)]-0x1;_0x214f0e>=0x0;_0x214f0e--){const _0x36a709={'id':_0x48213d(0x115),'params':{'unitId':_0x1f91c2[_0x214f0e][_0x48213d(0x11a)],..._0x1f91c2[_0x214f0e][_0x48213d(0x1a3)]}},_0x26473f={'id':_0x48213d(0x115),'params':{'unitId':_0x1f91c2[_0x214f0e][_0x48213d(0x11a)],..._0x1f91c2[_0x214f0e]['redoState']}},_0x543247=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x40f9c3,_0x36a709,!0x1),_0x3b08e7=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x58cba2,_0x26473f,!0x1);if(_0x3425ca(_0x543247))throw _0x543247['error'];if(_0x3425ca(_0x3b08e7))throw _0x3b08e7[_0x48213d(0x192)];_0x26cf06[_0x48213d(0x8b)]({..._0x1f91c2[_0x214f0e],'undoState':_0x543247['m2Prime'][_0x48213d(0x83)],'redoState':_0x3b08e7['m2Prime'][_0x48213d(0x83)]}),_0x40f9c3=_0x543247[_0x48213d(0x25f)],_0x58cba2=_0x3b08e7[_0x48213d(0x25f)];}this[_0x48213d(0x207)]['setStateCache'](_0x1a35c9,{'history':_0x3aaf3e,'collaboration':_0x26cf06});}};re=nn([Ce(0x0,_0x17a839(_0x171dd8)),Ce(0x1,_0x4fa722),Ce(0x2,_0x17a839(_0x49ab36))],re);var rn=Object[_0x3a408b(0x179)],on=(_0x12690a,_0x51e309,_0x1bdc5c,_0x4bdbb4)=>{const _0x3fb9f4=_0x3a408b;for(var _0x38d5ca=_0x4bdbb4>0x1?void 0x0:_0x4bdbb4?rn(_0x51e309,_0x1bdc5c):_0x51e309,_0x2ea5b7=_0x12690a[_0x3fb9f4(0x14e)]-0x1,_0x13a67d;_0x2ea5b7>=0x0;_0x2ea5b7--)(_0x13a67d=_0x12690a[_0x2ea5b7])&&(_0x38d5ca=_0x13a67d(_0x38d5ca)||_0x38d5ca);return _0x38d5ca;},tt=(_0x4b59c8,_0xd7445e)=>(_0x329494,_0x2ce11a)=>_0xd7445e(_0x329494,_0x2ce11a,_0x4b59c8);let oe=class{constructor(_0x25ed0b,_0x5c4b14){this['_injector']=_0x25ed0b,this['_transformService']=_0x5c4b14;}[_0x3a408b(0x231)](_0x420e18){const _0x5946b8=_0x3a408b;var _0x5a5a2c;const _0x19260b=this['_injector'][_0x5946b8(0x25c)](_0x5e697b),_0x2d19d9=(_0x5a5a2c=_0x19260b[_0x5946b8(0x10e)]())!=null?_0x5a5a2c:[];if(_0x2d19d9[_0x5946b8(0x14e)]===0x0)return;const _0x4ef388=_0x420e18[_0x5946b8(0xa5)],_0x118c6b=[{'id':_0x5946b8(0x115),'params':{'unitId':_0x4ef388,'actions':null,'textRanges':_0x2d19d9}}],_0x119efc=this[_0x5946b8(0xb7)][_0x5946b8(0x213)](_0x420e18,_0x118c6b);if(!_0x41d5b7(_0x119efc))throw _0x119efc['error'];const _0x5e674d=_0x119efc['m2Prime'][0x0][_0x5946b8(0x83)][_0x5946b8(0x1a0)];Array[_0x5946b8(0x102)](_0x5e674d)&&_0x5e674d[_0x5946b8(0x14e)]&&_0x19260b[_0x5946b8(0xb0)](_0x5e674d,{'unitId':_0x4ef388,'subUnitId':_0x4ef388},!0x1);}};oe=on([tt(0x0,_0x17a839(_0x171dd8)),tt(0x1,_0x4fa722)],oe);var an=Object[_0x3a408b(0x179)],cn=(_0x16386b,_0x361b20,_0x195609,_0x5d6d0d)=>{const _0x2982f1=_0x3a408b;for(var _0x1730c3=_0x5d6d0d>0x1?void 0x0:_0x5d6d0d?an(_0x361b20,_0x195609):_0x361b20,_0x4a9fae=_0x16386b[_0x2982f1(0x14e)]-0x1,_0x1d7b46;_0x4a9fae>=0x0;_0x4a9fae--)(_0x1d7b46=_0x16386b[_0x4a9fae])&&(_0x1730c3=_0x1d7b46(_0x1730c3)||_0x1730c3);return _0x1730c3;},U=(_0x48f912,_0x5b6e84)=>(_0x17887d,_0x2c22f2)=>_0x5b6e84(_0x17887d,_0x2c22f2,_0x48f912);let ae=class extends _0x31f336{constructor(_0x5460e0,_0x3b7944,_0x23d382,_0x37fa77,_0x5e439a,_0xfb9cf2,_0x1eee94,_0x9798fa){const _0x1ffb81=_0x3a408b;super(),_(this,_0x1ffb81(0xf4),new _0x51d94a(_0x1fa315[_0x1ffb81(0x1c2)])),(this[_0x1ffb81(0x207)]=_0x5460e0,this[_0x1ffb81(0x1e4)]=_0x3b7944,this[_0x1ffb81(0x12c)]=_0x23d382,this[_0x1ffb81(0x256)]=_0x37fa77,this[_0x1ffb81(0x1d2)]=_0x5e439a,this[_0x1ffb81(0x221)]=_0xfb9cf2,this[_0x1ffb81(0x1bd)]=_0x1eee94,this[_0x1ffb81(0xba)]=_0x9798fa,this['_initEntityListener']());}[_0x3a408b(0x191)](){const _0x1f1e02=_0x3a408b;this['disposeWithMe'](this[_0x1f1e02(0x1e4)][_0x1f1e02(0x97)][_0x1f1e02(0xae)](_0x52f482=>{const _0x166ad3=_0x1f1e02,_0x1eec04=this[_0x166ad3(0x207)][_0x166ad3(0x111)][_0x166ad3(0xae)](_0x12bb36=>{const _0x17afcd=_0x166ad3;if(_0x12bb36==null)return;const {unitId:_0x442ce4,redoState:_0x5a6891,commandId:_0x3cb589}=_0x12bb36;if(_0x442ce4!==_0x52f482[_0x17afcd(0xa5)])return;const _0x384761={'id':_0x3cb589,'type':_0x1545b4['MUTATION'],'params':{'unitId':_0x442ce4,'actions':_0x5a6891[_0x17afcd(0x15f)],'textRanges':null}};_0x52f482[_0x17afcd(0x246)](_0x384761);});if(_0x52f482[_0x166ad3(0xe1)](_0x1eec04),_0x52f482 instanceof _0xf0db92){const _0x2f3881={'onTransformIME':_0x3b26d0=>this['_docTransformIMECacheService']['transformIMECache'](_0x3b26d0),'onTransformState':_0x5caa58=>this[_0x166ad3(0x256)][_0x166ad3(0x247)](_0x5caa58),'onTransformSelections':_0x302c20=>this[_0x166ad3(0x1d2)][_0x166ad3(0x231)](_0x302c20),'onSyncEditingCollabCursor':_0x188d39=>this[_0x166ad3(0x221)]['syncEditingCollabCursor'](_0x188d39),'onTransformRemoteChangesetByIMECache':_0x4488f2=>this[_0x166ad3(0x12c)][_0x166ad3(0x1ae)](_0x4488f2),'onTransformRemoteChangesetByStateCache':_0x5cc84b=>this[_0x166ad3(0x256)][_0x166ad3(0x1ae)](_0x5cc84b)};_0x52f482['addHandlerCallback'](_0x2f3881);}}));}};ae=cn([U(0x0,_0x17a839(_0x49ab36)),U(0x1,_0x17a839(_0x43cdb5)),U(0x2,_0x17a839(ne)),U(0x3,_0x17a839(re)),U(0x4,_0x17a839(oe)),U(0x5,_0x17a839(He)),U(0x6,_0x2d1ce5),U(0x7,_0x17a839(_0x39370a))],ae);var ln=Object[_0x3a408b(0x179)],_n=(_0x4bdab5,_0x3e03d3,_0x46229d,_0x3d5149)=>{const _0x2b3184=_0x3a408b;for(var _0x2b32b4=_0x3d5149>0x1?void 0x0:_0x3d5149?ln(_0x3e03d3,_0x46229d):_0x3e03d3,_0x42e326=_0x4bdab5[_0x2b3184(0x14e)]-0x1,_0x4e603e;_0x42e326>=0x0;_0x42e326--)(_0x4e603e=_0x4bdab5[_0x42e326])&&(_0x2b32b4=_0x4e603e(_0x2b32b4)||_0x2b32b4);return _0x2b32b4;},Ee=(_0x16319c,_0x18bca3)=>(_0x431dcd,_0x150198)=>_0x18bca3(_0x431dcd,_0x150198,_0x16319c);let we=class extends _0x31f336{constructor(_0x120278,_0x1f2e3f,_0x5f0b65){const _0x565023=_0x3a408b;super(),_(this,_0x565023(0x1fa),new Map()),_(this,_0x565023(0x164),new Map()),_(this,'_disabled',!0x1),(this[_0x565023(0x91)]=_0x120278,this['_localStorageService']=_0x1f2e3f,this[_0x565023(0x23e)]=_0x5f0b65);}[_0x3a408b(0x24e)](){this['_disabled']=!0x0;}[_0x3a408b(0x20b)](){const _0x593791=_0x3a408b;this[_0x593791(0x10d)]=!0x1;}get[_0x3a408b(0x147)](){const _0x19301b=_0x3a408b;return this[_0x19301b(0x164)];}[_0x3a408b(0x90)](){const _0x270c66=_0x3a408b;this['exhaustSavingTask']()[_0x270c66(0x8f)](()=>super['dispose']());}async['loadOfflineData'](_0x22eebb){const _0x1305eb=_0x3a408b;return this[_0x1305eb(0x10d)]?null:this[_0x1305eb(0xc2)]['getItem'](_0x3637d2(_0x22eebb));}async[_0x3a408b(0x259)](_0x56e8e7,_0x46a238){const _0x4517ba=_0x3a408b;return!!this[_0x4517ba(0xc2)]['setItem'](_0x56e8e7,_0x46a238);}['updateOfflineData'](_0x3af454,_0x5e0e9d,_0xdac5ea,_0x541f20){const _0xb30463=_0x3a408b,_0x3f0288=this[_0xb30463(0x23e)][_0xb30463(0x13a)](_0x3af454);this['_cachedData']['set'](_0x3af454,{'unitID':_0x3af454,'type':_0x5e0e9d,'awaitingChangeset':_0xdac5ea,'mutations':_0x541f20,'rev':_0x3f0288}),this[_0xb30463(0x164)][_0xb30463(0x1c6)](_0x3af454)||this[_0xb30463(0x195)](_0x3af454);}['_scheduleSaving'](_0x46cf37){const _0x42aa23=_0x3a408b,_0x59e980=this[_0x42aa23(0x1b6)]();_0x59e980===0x0?this[_0x42aa23(0x139)](_0x46cf37):this[_0x42aa23(0x164)][_0x42aa23(0x228)](_0x46cf37,setTimeout(()=>this['_saveCache'](_0x46cf37),_0x59e980));}[_0x3a408b(0x1b6)](){const _0x54c75e=_0x3a408b;var _0x1745db;return(_0x1745db=this[_0x54c75e(0x91)][_0x54c75e(0x250)](_0x5c14d8))!=null?_0x1745db:_0x45b731;}[_0x3a408b(0x139)](_0x5f93e6){const _0x19a9a5=_0x3a408b,_0x4ded6e=this[_0x19a9a5(0x164)]['get'](_0x5f93e6);return _0x4ded6e!==void 0x0&&window['clearTimeout'](_0x4ded6e),this[_0x19a9a5(0xc2)][_0x19a9a5(0x176)](_0x3637d2(_0x5f93e6),this[_0x19a9a5(0x1fa)]['get'](_0x5f93e6))[_0x19a9a5(0x8f)](()=>this[_0x19a9a5(0x164)][_0x19a9a5(0x1e6)](_0x5f93e6));}async[_0x3a408b(0x130)](){const _0x330eb2=_0x3a408b,_0x8a95b4=[];this[_0x330eb2(0x164)][_0x330eb2(0xbe)]((_0x5cef74,_0x1610f0)=>{const _0x51c503=_0x330eb2;window[_0x51c503(0x23a)](_0x5cef74),_0x8a95b4[_0x51c503(0x225)](this[_0x51c503(0x139)](_0x1610f0)[_0x51c503(0x8f)](()=>{const _0xa6fb1d=_0x51c503;this[_0xa6fb1d(0x164)][_0xa6fb1d(0x1e6)](_0x1610f0);}));}),await Promise[_0x330eb2(0x215)](_0x8a95b4);}};we=_n([Ee(0x0,_0x578670),Ee(0x1,_0x7f96cd),Ee(0x2,_0x17a839(_0x538161))],we);class hn extends _0x4700ce{constructor(){const _0x3e4e4c=_0x3a408b;super(),_(this,_0x3e4e4c(0x1bf)),this['urlChange$']=_0x594d1e(window,_0x3e4e4c(0x17b))['pipe'](_0x458f50(this[_0x3e4e4c(0x223)]),_0x534730(0x1),_0x2baff2(void 0x0));}[_0x3a408b(0x149)](_0x329ae9,_0x562cc8,_0x4cc0b9=!0x1){const _0x5507b0=_0x3a408b,_0x5f0730=new URL(window[_0x5507b0(0x25a)][_0x5507b0(0x1be)]);_0x5f0730['searchParams'][_0x5507b0(0x228)](_0x329ae9,_0x562cc8),_0x4cc0b9?window['history']['replaceState']('','',_0x5f0730[_0x5507b0(0x190)]()):window[_0x5507b0(0xf3)][_0x5507b0(0x1a5)]('','',_0x5f0730[_0x5507b0(0x190)]());}[_0x3a408b(0xa2)](_0x339e69,_0xd4d064=!0x1){const _0x76c766=_0x3a408b,_0x54f235=new URL(window[_0x76c766(0x25a)][_0x76c766(0x1be)]);_0x54f235[_0x76c766(0x1ba)]['delete'](_0x339e69),_0xd4d064?window[_0x76c766(0xf3)][_0x76c766(0x229)]('','',_0x54f235[_0x76c766(0x190)]()):window['history'][_0x76c766(0x1a5)]('','',_0x54f235[_0x76c766(0x190)]());}[_0x3a408b(0x260)](_0x42bfba){const _0x608264=_0x3a408b;var _0x5e91f0;return(_0x5e91f0=new URL(window[_0x608264(0x25a)][_0x608264(0x1be)])['searchParams'][_0x608264(0x25c)](_0x42bfba))!=null?_0x5e91f0:void 0x0;}}var un=Object[_0x3a408b(0x141)],dn=Object[_0x3a408b(0x179)],fn=(_0x267efd,_0x3d2b09,_0x419e15)=>_0x3d2b09 in _0x267efd?un(_0x267efd,_0x3d2b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x419e15}):_0x267efd[_0x3d2b09]=_0x419e15,Sn=(_0x3a85d5,_0x3fc5fa,_0x3f58cb,_0x34ebdf)=>{const _0x4032fd=_0x3a408b;for(var _0x271dc5=_0x34ebdf>0x1?void 0x0:_0x34ebdf?dn(_0x3fc5fa,_0x3f58cb):_0x3fc5fa,_0x4aa4a6=_0x3a85d5[_0x4032fd(0x14e)]-0x1,_0x32baca;_0x4aa4a6>=0x0;_0x4aa4a6--)(_0x32baca=_0x3a85d5[_0x4aa4a6])&&(_0x271dc5=_0x32baca(_0x271dc5)||_0x271dc5);return _0x271dc5;},Oe=(_0x3de913,_0x233187)=>(_0x49f363,_0x7dd84c)=>_0x233187(_0x49f363,_0x7dd84c,_0x3de913),mn=(_0x3b6783,_0x282810,_0x141647)=>fn(_0x3b6783,_0x282810+'',_0x141647);const gn=_0x3a408b(0x14b);let Ae=class extends _0x21eba3{constructor(_0x2db057=et,_0x4d4d5d,_0x241664,_0x28a1e8){const _0x22f48f=_0x3a408b;super(),this['_config']=_0x2db057,this[_0x22f48f(0x14f)]=_0x4d4d5d,this['_injector']=_0x241664,this[_0x22f48f(0x91)]=_0x28a1e8;const {..._0x2920dd}=_0x4ba00a({},et,this['_config']);this[_0x22f48f(0x91)][_0x22f48f(0x1eb)](Zi,_0x2920dd);}['onStarting'](){const _0x3c8d43=_0x3a408b;this['_registerDependencies'](),this[_0x3c8d43(0x1b5)]();}[_0x3a408b(0x105)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x33c580=_0x3a408b;var _0xac012d;const _0x196682=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4cbbf6,{'useClass':_0x64b90a}],[_0x5e6fa7,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x2e427b(this[_0x33c580(0xd9)],_0x4eb7d5(_0x196682,(_0xac012d=this['_config'])==null?void 0x0:_0xac012d[_0x33c580(0x194)]));}['_registerRenderDependencies'](){const _0x29fab3=_0x3a408b;this[_0x29fab3(0xe1)](this['_renderManagerService'][_0x29fab3(0x10a)](_0x28af3d['UNIVER_DOC'],[Pe])),this[_0x29fab3(0xe1)](this['_renderManagerService'][_0x29fab3(0x10a)](_0x28af3d[_0x29fab3(0x23d)],[Le]));}[_0x3a408b(0x1b5)](){const _0x163e58=_0x3a408b;_0x2e32bf(this[_0x163e58(0xd9)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3a408b(0xb6),gn),Ae=Sn([_0x39a274(_0x24a9f5),Oe(0x1,_0x170543),Oe(0x2,_0x17a839(_0x171dd8)),Oe(0x3,_0x578670)],Ae);var In=Object[_0x3a408b(0x179)],vn=(_0x138b0c,_0x5cf61e,_0x40b338,_0x4d9693)=>{const _0x24a8fd=_0x3a408b;for(var _0x3daa9b=_0x4d9693>0x1?void 0x0:_0x4d9693?In(_0x5cf61e,_0x40b338):_0x5cf61e,_0x4a87d9=_0x138b0c[_0x24a8fd(0x14e)]-0x1,_0x8a75ec;_0x4a87d9>=0x0;_0x4a87d9--)(_0x8a75ec=_0x138b0c[_0x4a87d9])&&(_0x3daa9b=_0x8a75ec(_0x3daa9b)||_0x3daa9b);return _0x3daa9b;},K=(_0x2ea413,_0xeb41d2)=>(_0x446c39,_0x2803ff)=>_0xeb41d2(_0x446c39,_0x2803ff,_0x2ea413);let st=class extends _0x39e4e0{constructor(_0x39039f,_0x5259de,_0x25a9c2,_0x4f2cbe,_0x36b72d){super(_0x39039f,_0x5259de,_0x25a9c2,_0x4f2cbe,_0x36b72d);}async[_0x3a408b(0xd5)](_0x41ddc6){const _0x6203ed=_0x3a408b,_0x24963a=await this['_getSessionTicket'](),_0x5e3656=this[_0x6203ed(0xeb)](_0x41ddc6,_0x24963a);return this[_0x6203ed(0x1a9)](_0x5e3656);}[_0x3a408b(0xeb)](_0x1135da,_0x17f921){const _0x36a467=_0x3a408b,_0x2ec217=typeof window>'u'?new URL(_0x1135da):new URL(_0x1135da,window[_0x36a467(0x25a)][_0x36a467(0x1f4)]);_0x2ec217[_0x36a467(0x1ba)][_0x36a467(0x228)]('sessionTicket',_0x17f921);const _0x7488c4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x36a467(0x187)]);return _0x7488c4[_0x36a467(0x25c)](_0x36a467(0x171))&&_0x2ec217[_0x36a467(0x1ba)][_0x36a467(0x228)](_0x36a467(0x171),_0x7488c4[_0x36a467(0x25c)](_0x36a467(0x171))),_0x2ec217['toString']();}async[_0x3a408b(0x1ad)](){const _0x33ce27=_0x3a408b;var _0x11e4fb,_0x5b1885,_0x1195fa;const _0x4d1486=this[_0x33ce27(0x91)]['getConfig'](_0x2fbcf1),_0x1f391d=(_0x11e4fb=_0x4d1486==null?void 0x0:_0x4d1486['wsSessionTicketUrl'])!=null?_0x11e4fb:_0x49b757;return(_0x1195fa=(_0x5b1885=(await this['_httpService'][_0x33ce27(0x25c)](_0x1f391d,{'headers':{'Content-Type':_0x33ce27(0x93)}}))['body'])==null?void 0x0:_0x5b1885['ticket'])!=null?_0x1195fa:'';}};st=vn([K(0x0,_0x17a839(_0x171dd8)),K(0x1,_0x17a839(_0x251afd)),K(0x2,_0x578670),K(0x3,_0x3d7217),K(0x4,_0x32b58d)],st);const it=0x7530,nt=_0x3a408b(0x18d);function _0x362e(){const _0xd5d396=['selection','_startSheetCollabCursor','collaboration.closeRoom','url(#on-line-single_clip0_910_349)','_initDependencies','_getSaveTimeout','off-line-single_clip0_910_343','_hideTimer','_httpService','searchParams','collabStatus.fetchMiss','NO_OTHER_CLIENTS_EDITING','_messageService','href','urlChange$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','idSuffix','NOT_COLLAB','WECHAT_HAS_BEEN_BOUND','M0\x200H16V16H0z','USER_NOT_INVITED_CODE','has','propertyIsEnumerable','PENDING','OFFLINE','getCurrentUnitForType','JOIN_ROOM_FAILED','symbol','off-line-single','save','INVITE_CODE_ALREADY_BOUND','clipPath','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformSelectionsService','imageSourceType','icon','_labelPosition','reconnect','key','executeCommand','transformByState','beginPath','xlink:href','_unitStatus','_docClipboardService','findNodePositionByCharIndex','_scene','deepClone','_univerInstanceService','_transformHistoryAndStateStack','height','_collaborationController','skeleton','delete','_scheduleHeartbeat','executionId','_themeService','sheetID','setConfig','InsertRowCommandId','_toggleOffline','collaboration-client-ui.config','getActiveRange','attrs','_getSheetObject','name','top','origin','ranges','LOGIN_FAILED','editingUnit','UNIVER_DOC','setAlpha','_cachedData','displayName','_collabCursorController','OTHER_CLIENTS_EDITING','APPLY_REJECT','_scheduleClearOtherTimer','_heartbeatTimer','replace','_drawAnchor','Warning','pipe','parse','transformMutation','_docStateChangeManagerService','DeleteRangeMoveUpCommandId','_getMergeRange','find','enableLocalCache','LICENSE_EXPORT_SIZE_EXCEEDED','prototype','none','sheetId','_initEvent','2703130tSKfFn','event$','transformMutationsWithChangeset','getSheetId','all','MoveRangeCommandId','color','column','session.collaboration-timeout','asObservable','collab-rect-range-','_hover','getSheetBySheetId','getCellPositionByOffset','YUUMI_SUBSCRIPTION_NOT_FOUND','_onCursorDelete','_docSyncEditingCollabCursorService','APPLY_PERMISSION_DENIED','dispose$','loadUnit','push','cursorInfo','onCommandExecuted','set','replaceState','mutations','_drawRectRange','round','isEditing','fill','_lastPointer','toRgbString','transformSelections','roomMembers$','gold400','_removeClearOtherTimer','_hovered','getFocusedUnit','getVpScrollXYInfoByPosToVp','permission.content','transformIMECache','clearTimeout','_initStatusListener','UNDEFINED','UNIVER_SHEET','_revisionService','_context','post','_ensureSubject','ONLINE','min','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','assign','onLocalMutation','transformStateCache','UNAUTHENTICATED','_color','_dataLoaderService','SOCKET_FAILED','colorChannel1','FromArray','disableLocalCache','send','getConfig','onMouseMove','collaboration.single-unit.warning','session.connection-failed','jiqing500','_init','_docTransformStateCacheService','_instanceService','eventID','saveOfflineData','location','_cursor','get','_setupSubUnitSync','INTERNAL_ERROR','m1Prime','getParam','status$','1396592ywYftq','_entityInit$','univerjs-icon\x20univerjs-icon-','_memberService','_logService','m2Prime','show','collaboration-client.offline-data-not-saved','_backgroundColor','YUUMI_ASYNCIO_CANCELLED','source','_entities','svg','VIEW_MAIN','getStateCache','111660BFRCCA','addObject','_collaborationUIEventService','redoState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','params','div','INVALID_INVITE_CODE','_name','getTypeOfUnitDisposed$','_updateCollabCursors','_shapes','clearInterval','unshift','requireSession','data','body','then','dispose','_configService','addEventListener','application/json','YUUMI_TABLE_NOT_FOUND_IN_UNIT','random','collabStatus.offline','entityInit$','_document','_handleHeartbeatEvent','from','SOCKET_FAILED_RETRY','Error','_notificationService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','triggerDblclick','evenodd','INVITE_CODE_REQUIRED','removeParam','url(#$1','startColumn','unitID','_roomMembers$','getUndoRedoMutationParamsCache','UniverIcon','_onCursorUpdate','function','COMPLETION_FINISHED','_updateLocalCursor','subunit','subscribe','AWAITING_WITH_PENDING','replaceDocRanges','memberID','size','black','collabCursorState$','_colorAssignService','pluginName','_transformService','getActiveSheet','_syncEditingCollabCursorService','_localeService','addClipboardHook','_sheetSkeletonManagerService','values','forEach','_selfUnitIDs','SUBMIT_CHANGESET_TIMEOUT','defs','_localStorageService','fillStyle','current','CONFLICT','getAncestorScale','RECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PERMISSION_DENIED','_onRefRangeChange','getMergeData','path','/run/','roomMembers','1em','_anchor','init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','verdancy600','_anchorDot','createSocket','defIds','[CollaborationDataLoaderController]','#FFF','_injector','_send','_assignedColors','1577402XctVFP','moveTo','map','syncEditingCollabCursor','call','disposeWithMe','_cursors','makeDirty','_urlService','unsubscribe','_collabSessionService','currentColor','YUUMI_URL_COL_OUT_OF_RANGE','activeSheet$','YUUMI_ALL_TABLES_IS_INVALID','_createSocketURL','_handleLeaveEvent','YUUMI_UNABLE_LOAD_URL','hasOwnProperty','split','4924452qlMbzQ','36VwSguK','_updateSubUnitFromURLParams','history','_status$','getCollabEntity$','_textBubble','getMember','SNAPSHOT_INVALID_SNAPSHOT','session.will-retry','UNRECOGNIZED','YUUMI_AI_RUN_FAILED','children','row','currentSkeleton$','_unitOnClients','_session','bottom','isArray','_setupBeforeClosingHandler','4023278mApbze','onRendered','indexOf','_range','collab-text-range-','_collabCursorState$','registerRenderModule','_getScale','univer-text-green-500','_disabled','getDocRanges','on-line-single_clip0_910_349','SYNCED','docStateChange$','complete','SNAPSHOT_HAS_BEEN_REMOVED','translate(.97)','doc.mutation.rich-text-editing','subUnitId','_commandService','_getAnchorBounding','string','unitId','trim','collabStatus.notCollab','lineTo','_handleHover','_removeCollabCursors','range','currentTheme$','...','transform','with','red300','getSkeleton','subscribeEvent','drawWith','closePath','APPLY_REVISION_CONFILICT','MOBILE_HAS_BEEN_BOUND','_docTransformIMECacheService','LICENSE_DISTRO_REJECTED','_cursorShapes','_docSkeletonManagerService','exhaustSavingTask','labelPosition','isActive','getMemberID','saveImage','APPLY_NON_SEQUENTIAL_REVISION','FETCH_MISS','createInstance','getCollabCursors$','_saveCache','getCurrentRevOfUnit','getUniverSheetInstance','className','0\x200\x2017\x2016','purple300','selections','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','defineProperty','TOO_MANY_REQUESTS','0\x200\x2016\x2016','OnLineSingle','_online','_colorIndex','saveTaskMap','onTransformChange$','setParam','TEXT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getViewport','_handleEvent','length','_renderManagerService','width','add','unit','setShapeProps','_refRangeService','USERS_LEAVE','tag','hide','UPDATE_CURSOR','rgba(255,\x20255,\x20255,\x200.01)','flatMap','onPointerEnter$','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','whenReady','actions','Failed','apply','arc','_beforeCloseService','_saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','registerRefRange','INVITE_CODE_HAS_BEEN_UES','#fff','assignAColorForMemberID','restore','CHANGESET_REVISION_CONFILICT','_id','setUndoRedoMutationParamsCache','type','blue400','RemoveRowCommandId','runId','getValue','_eventUnsubscribe','generateRandomId','_updateURLWithCurrentState','setItem','LICENSE_MAX_UNITS_EXCEEDED','_transformPreviousActiveRange','getOwnPropertyDescriptor','onPointerLeave$','popstate','OffLineSingle','setActiveRange','result','_uiPartsService','extend','_clearOtherTimers','getTypeOfUnitAdded$','RemoveColCommandId','concat','_startDocCollabCursor','startsWith','search','stringify','invokeId','getRenderById','on-line-single','3525848ORxHDb','ACTIVE_UNIT_EVENT_CHANNEL','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','_toggleOnline','toString','_initEntityListener','error','_draw','override','_scheduleSaving','_initResize','cursorInfo$','hovered','backgroundColor','focused$','135wnVAxV','fillText','_initCommandExecutedListener','getUnitId','some','textRanges','_render','registerBeforeClose','undoState','storage','pushState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','measureText','getRangePointData','_doCreateSocket','next','text','mask','_getSessionTicket','transformRemoteChangeset','sessionStatus$','_cursorInfo$'];_0x362e=function(){return _0xd5d396;};return _0x362e();}class jn extends _0x31f336{constructor(){const _0x5c369f=_0x3a408b;super(),_(this,_0x5c369f(0x16c),_0x1437c2()),_(this,_0x5c369f(0xbf),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x5c369f(0x181),new Map()),_(this,_0x5c369f(0x1dc),new Map()),this[_0x5c369f(0x255)]();}[_0x3a408b(0x90)](){const _0x551225=_0x3a408b;super['dispose'](),this[_0x551225(0x181)][_0x551225(0xbe)]((_0x4b7fec,_0x2103f8)=>this[_0x551225(0x234)](_0x2103f8)),this[_0x551225(0x200)]&&window['clearInterval'](this[_0x551225(0x200)]);}['getUnitStatus$'](_0x4659cf){const _0x2112ba=_0x3a408b;return this[_0x2112ba(0x241)](_0x4659cf)[_0x2112ba(0x204)](_0x5c0aab());}[_0x3a408b(0x1f7)](_0x1d7864){const _0x35cbee=_0x3a408b;this[_0x35cbee(0xbf)][_0x35cbee(0xb2)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x35cbee(0x151)](_0x1d7864),this[_0x35cbee(0xda)]({'type':0x0,'memberID':this[_0x35cbee(0x16c)],'unitIDs':[_0x1d7864],'isForwarded':!0x1});}['disposeUnit'](_0x445753){const _0x8272e1=_0x3a408b;this[_0x8272e1(0xbf)][_0x8272e1(0x1e6)](_0x445753),this['_selfUnitIDs'][_0x8272e1(0xb2)]===0x0&&this[_0x8272e1(0x200)]&&window[_0x8272e1(0x8a)](this['_heartbeatTimer']);}[_0x3a408b(0x255)](){const _0x1c5c78=_0x3a408b;this['disposeWithMe'](_0x8e9af6(_0x594d1e(window,_0x1c5c78(0x1a4))['subscribe'](_0x24be90=>{const _0x3aae9f=_0x1c5c78;if(_0x24be90[_0x3aae9f(0x1d7)]!==nt||!_0x24be90['newValue'])return;const _0x46df81=JSON[_0x3aae9f(0x205)](_0x24be90['newValue']);this[_0x3aae9f(0x14d)](_0x46df81);}))),window[_0x1c5c78(0x92)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1c5c78(0x9a)](this[_0x1c5c78(0xbf)])}));}[_0x3a408b(0x14d)](_0x58a668){const _0x1edc28=_0x3a408b;switch(_0x58a668['type']){case 0x0:this[_0x1edc28(0x15d)](_0x58a668);break;case 0x1:this[_0x1edc28(0xec)](_0x58a668);break;case 0x2:this[_0x1edc28(0x99)](_0x58a668);break;}}[_0x3a408b(0x15d)](_0x4435f8){const _0x1b8e63=_0x3a408b,{unitIDs:_0x229404,memberID:_0xb65430,isForwarded:_0x5af1d2}=_0x4435f8;_0x229404[_0x1b8e63(0xbe)](_0x3fb109=>{const _0x2d8a4b=_0x1b8e63;if(!_0x5af1d2&&this['_unitOnClients'][_0x2d8a4b(0x1c6)](_0x3fb109)&&this[_0x2d8a4b(0x241)](_0x3fb109)['next'](_0x529c6d[_0x2d8a4b(0x1fd)]),!this[_0x2d8a4b(0xff)][_0x2d8a4b(0x1c6)](_0x3fb109)||!this['_unitOnClients'][_0x2d8a4b(0x25c)](_0x3fb109)[_0x2d8a4b(0x1c6)](_0xb65430)){const _0x2ea79f=this['_unitOnClients'][_0x2d8a4b(0x25c)](_0x3fb109)||new Set();_0x2ea79f[_0x2d8a4b(0x151)](_0xb65430),this[_0x2d8a4b(0xff)]['set'](_0x3fb109,_0x2ea79f),this[_0x2d8a4b(0x1ff)](_0xb65430);}}),_0x5af1d2||this['_send']({'type':0x0,'memberID':this[_0x1b8e63(0x16c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3a408b(0x1ff)](_0x15cd19){const _0x16b297=_0x3a408b;this[_0x16b297(0x234)](_0x15cd19);const _0x4ca7bd=window['setTimeout'](()=>{const _0x7b1244=_0x16b297;this[_0x7b1244(0xff)][_0x7b1244(0xbe)](_0x273c47=>{const _0x43d90d=_0x7b1244;_0x273c47[_0x43d90d(0x1e6)](_0x15cd19);});},it*0x2);this[_0x16b297(0x181)][_0x16b297(0x228)](_0x15cd19,_0x4ca7bd);}[_0x3a408b(0x234)](_0x66e09f){const _0x4f7da5=_0x3a408b;if(this[_0x4f7da5(0x181)][_0x4f7da5(0x1c6)](_0x66e09f)){const _0x403ad1=this[_0x4f7da5(0x181)][_0x4f7da5(0x25c)](_0x66e09f);_0x403ad1&&window[_0x4f7da5(0x23a)](_0x403ad1),this[_0x4f7da5(0x181)][_0x4f7da5(0x228)](_0x66e09f,null);}}[_0x3a408b(0xec)](_0x25c85b){const _0x336e16=_0x3a408b,{memberID:_0x2de263,unitIDs:_0x380888}=_0x25c85b;_0x380888[_0x336e16(0xbe)](_0x16d1f8=>{const _0x314406=_0x336e16;var _0x42f8a8;const _0x9f65dd=this[_0x314406(0xff)][_0x314406(0x25c)](_0x16d1f8);_0x9f65dd&&(_0x9f65dd[_0x314406(0x1e6)](_0x2de263),(_0x42f8a8=this['_ensureSubject'](_0x16d1f8))==null||_0x42f8a8[_0x314406(0x1aa)](_0x9f65dd[_0x314406(0xb2)]===0x0?_0x529c6d['NO_OTHER_CLIENTS_EDITING']:_0x529c6d[_0x314406(0x1fd)]));}),this[_0x336e16(0x234)](_0x2de263);}[_0x3a408b(0x99)](_0x1303a9){const _0x510ed5=_0x3a408b;this[_0x510ed5(0x1ff)](_0x1303a9[_0x510ed5(0xb1)]);}[_0x3a408b(0xda)](_0x171baf){const _0x597d2b=_0x3a408b;localStorage[_0x597d2b(0x176)](nt,JSON[_0x597d2b(0x188)](_0x171baf));}[_0x3a408b(0x1e7)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0xcaddc=_0x1625;this[_0xcaddc(0xda)]({'type':0x2,'memberID':this[_0xcaddc(0x16c)]});},it);}[_0x3a408b(0x241)](_0x52680f){const _0x5cbf6a=_0x3a408b;return this['_unitStatus'][_0x5cbf6a(0x1c6)](_0x52680f)||this[_0x5cbf6a(0x1dc)]['set'](_0x52680f,new _0x51d94a(_0x529c6d[_0x5cbf6a(0x1bc)])),this[_0x5cbf6a(0x1dc)][_0x5cbf6a(0x25c)](_0x52680f);}}var Mt=(_0x20beb9=>(_0x20beb9[_0x20beb9[_0x3a408b(0x23c)]=0x0]=_0x3a408b(0x23c),_0x20beb9[_0x20beb9['OK']=0x1]='OK',_0x20beb9[_0x20beb9[_0x3a408b(0x25e)]=0x2]='INTERNAL_ERROR',_0x20beb9[_0x20beb9[_0x3a408b(0xc9)]=0x3]=_0x3a408b(0xc9),_0x20beb9[_0x20beb9['NOT_FOUND']=0x4]='NOT_FOUND',_0x20beb9[_0x20beb9[_0x3a408b(0x248)]=0x5]=_0x3a408b(0x248),_0x20beb9[_0x20beb9['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x20beb9[_0x20beb9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x20beb9[_0x20beb9['TOO_MANY_REQUESTS']=0x8]=_0x3a408b(0x142),_0x20beb9[_0x20beb9[_0x3a408b(0xab)]=0x9]=_0x3a408b(0xab),_0x20beb9[_0x20beb9[_0x3a408b(0x1f6)]=0xa]=_0x3a408b(0x1f6),_0x20beb9[_0x20beb9[_0x3a408b(0x16b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x20beb9[_0x20beb9[_0x3a408b(0xf8)]=0x1771]=_0x3a408b(0xf8),_0x20beb9[_0x20beb9[_0x3a408b(0x113)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x20beb9[_0x20beb9[_0x3a408b(0x165)]=0x1773]=_0x3a408b(0x165),_0x20beb9[_0x20beb9[_0x3a408b(0x1fe)]=0x1b59]='APPLY_REJECT',_0x20beb9[_0x20beb9[_0x3a408b(0x135)]=0x1b5a]=_0x3a408b(0x135),_0x20beb9[_0x20beb9[_0x3a408b(0x12a)]=0x1b5b]=_0x3a408b(0x12a),_0x20beb9[_0x20beb9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3a408b(0x222),_0x20beb9[_0x20beb9['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x20beb9[_0x20beb9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x20beb9[_0x20beb9[_0x3a408b(0x177)]=0x2329]=_0x3a408b(0x177),_0x20beb9[_0x20beb9[_0x3a408b(0x82)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x20beb9[_0x20beb9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x20beb9[_0x20beb9[_0x3a408b(0x20c)]=0x232c]=_0x3a408b(0x20c),_0x20beb9[_0x20beb9[_0x3a408b(0x12d)]=0x232d]=_0x3a408b(0x12d),_0x20beb9[_0x20beb9[_0x3a408b(0xed)]=0x2711]=_0x3a408b(0xed),_0x20beb9[_0x20beb9[_0x3a408b(0xe8)]=0x2712]=_0x3a408b(0xe8),_0x20beb9[_0x20beb9['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x20beb9[_0x20beb9[_0x3a408b(0x21f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x20beb9[_0x20beb9[_0x3a408b(0x1d1)]=0x271a]=_0x3a408b(0x1d1),_0x20beb9[_0x20beb9[_0x3a408b(0x26b)]=0x271b]=_0x3a408b(0x26b),_0x20beb9[_0x20beb9[_0x3a408b(0x94)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x20beb9[_0x20beb9[_0x3a408b(0xea)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x20beb9[_0x20beb9[_0x3a408b(0xd2)]=0x271e]=_0x3a408b(0xd2),_0x20beb9[_0x20beb9[_0x3a408b(0xfb)]=0x271f]=_0x3a408b(0xfb),_0x20beb9[_0x20beb9[_0x3a408b(0x15c)]=0x2af9]=_0x3a408b(0x15c),_0x20beb9[_0x20beb9[_0x3a408b(0x167)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x20beb9[_0x20beb9[_0x3a408b(0x85)]=0x2ee2]=_0x3a408b(0x85),_0x20beb9[_0x20beb9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3a408b(0xa1),_0x20beb9[_0x20beb9[_0x3a408b(0x1c5)]=0x2ee4]=_0x3a408b(0x1c5),_0x20beb9[_0x20beb9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3a408b(0x1cf),_0x20beb9[_0x20beb9[_0x3a408b(0x1c3)]=0x32c9]=_0x3a408b(0x1c3),_0x20beb9[_0x20beb9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3a408b(0x12b),_0x20beb9[_0x20beb9['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x20beb9[_0x20beb9[_0x3a408b(0xfa)]=-0x1]=_0x3a408b(0xfa),_0x20beb9))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x16ed4e,_0x2d30e5,_0x384319,_0x40e3f7)=>{for(var _0x432852=_0x40e3f7>0x1?void 0x0:_0x40e3f7?pn(_0x2d30e5,_0x384319):_0x2d30e5,_0x21c06d=_0x16ed4e['length']-0x1,_0x13b0a3;_0x21c06d>=0x0;_0x21c06d--)(_0x13b0a3=_0x16ed4e[_0x21c06d])&&(_0x432852=_0x13b0a3(_0x432852)||_0x432852);return _0x432852;},be=(_0x47defb,_0x23b5cb)=>(_0x108e97,_0x5c81a7)=>_0x23b5cb(_0x108e97,_0x5c81a7,_0x47defb);let rt=class extends _0x31f336{constructor(_0x23d753,_0x23aad8,_0x3d72bd){const _0x5b8cfc=_0x3a408b;super(),this[_0x5b8cfc(0x257)]=_0x23d753,this[_0x5b8cfc(0x1b9)]=_0x23aad8,this[_0x5b8cfc(0x91)]=_0x3d72bd;}async['runOnServer'](_0x29b27c,_0x33232b,_0x5a21e9,..._0x3390eb){const _0x529307=_0x3a408b;var _0x444efe,_0x266913,_0x3c7745,_0x2dc235;const _0x57fc06=this[_0x529307(0x257)]['getFocusedUnit']();if(!_0x57fc06)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x39665f=((_0x444efe=this[_0x529307(0x91)][_0x529307(0x250)](_0x302758))!=null?_0x444efe:_0x215367)+'/'+_0x29b27c+_0x529307(0xcd)+_0x33232b,_0x415626=new URL(window[_0x529307(0x25a)][_0x529307(0x1be)]),_0x220080={'scriptId':_0x29b27c,'runId':(_0x266913=_0x415626['searchParams'][_0x529307(0x25c)](_0x529307(0x171)))!=null?_0x266913:'','function':_0x33232b,'unitId':_0x57fc06[_0x529307(0x19e)](),'argsOfFunction':JSON[_0x529307(0x188)](_0x3390eb),'invokeId':(_0x3c7745=_0x5a21e9[_0x529307(0x189)])!=null?_0x3c7745:'','executionId':(_0x2dc235=_0x5a21e9[_0x529307(0x1e8)])!=null?_0x2dc235:''};try{const _0x4703c9=await this['_httpService'][_0x529307(0x240)](_0x39665f,{'body':_0x220080});return _0x4703c9['body'][_0x529307(0x192)]&&_0x4703c9[_0x529307(0x8e)][_0x529307(0x192)]['code']!==Mt['OK']?_0x529307(0x160):_0x4703c9[_0x529307(0x8e)][_0x529307(0x17e)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0xbc56cb),be(0x1,_0x17a839(_0x251afd)),be(0x2,_0x578670)],rt);function _0x1625(_0x33cab2,_0x330d64){const _0x362ed2=_0x362e();return _0x1625=function(_0x16258f,_0x519fa0){_0x16258f=_0x16258f-0x7e;let _0xd7d271=_0x362ed2[_0x16258f];return _0xd7d271;},_0x1625(_0x33cab2,_0x330d64);}export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x1d7bbe=_0x1bb4;(function(_0x419ba2,_0x71ddc2){const _0x5dbbb5=_0x1bb4,_0x53dc59=_0x419ba2();while(!![]){try{const _0x506096=parseInt(_0x5dbbb5(0x251))/0x1+parseInt(_0x5dbbb5(0x1c4))/0x2*(parseInt(_0x5dbbb5(0x20b))/0x3)+-parseInt(_0x5dbbb5(0x277))/0x4*(parseInt(_0x5dbbb5(0x1d6))/0x5)+parseInt(_0x5dbbb5(0x2c9))/0x6+parseInt(_0x5dbbb5(0x3ab))/0x7+-parseInt(_0x5dbbb5(0x290))/0x8*(parseInt(_0x5dbbb5(0x31c))/0x9)+parseInt(_0x5dbbb5(0x27b))/0xa*(-parseInt(_0x5dbbb5(0x323))/0xb);if(_0x506096===_0x71ddc2)break;else _0x53dc59['push'](_0x53dc59['shift']());}catch(_0x44a91d){_0x53dc59['push'](_0x53dc59['shift']());}}}(_0x4f54,0xc501b));var $t=Object[_0x1d7bbe(0x3c6)],xt=(_0x4256a4,_0x530713,_0x929d8a)=>_0x530713 in _0x4256a4?$t(_0x4256a4,_0x530713,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x929d8a}):_0x4256a4[_0x530713]=_0x929d8a,_=(_0x3e4503,_0x2cc92b,_0x27682c)=>xt(_0x3e4503,typeof _0x2cc92b!=_0x1d7bbe(0x2bc)?_0x2cc92b+'':_0x2cc92b,_0x27682c);import{MemberService as _0x160c80,SessionStatus as _0x4f1673,CollaborationSessionService as _0x1fd5e1,CollaborationStatus as _0x40cfa1,CollaborationController as _0x280f5f,ILocalCacheService as _0x535fa0,CollaborationUIEventService as _0x3afd93,CollaborationUIEventId as _0x6f4cfe,DataLoaderService as _0x4042d9,DocCollaborationEntity as _0x2b46ca,getLocalCacheKey as _0x4458d5,LOCAL_CACHE_INTERVAL as _0x3ad861,LOCAL_CACHE_INTERVAL_KEY as _0x5f52bd,UniverCollaborationClientPlugin as _0x53aea7,CollaborationSocketService as _0x34b656,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa191c8,DEFAULT_WS_SESSION_TICKET_URL as _0x2c4461,UnitStatus as _0x2c9fc4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x365318,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3c30fc}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x58bba7,Disposable as _0x426733,DOC_RANGE_TYPE as _0x4196d7,Inject as _0x3c7534,Injector as _0xa07411,IUniverInstanceService as _0x3888fb,ICommandService as _0x1abf6a,debounce as _0x809147,Rectangle as _0x186a42,DisposableCollection as _0x3bf60a,toDisposable as _0x55db35,UniverInstanceType as _0x14cd2c,Tools as _0xe70050,COLORS as _0x54ad43,ColorKit as _0x2273f2,ThemeService as _0x5301cc,fromEventSubject as _0x4e8b4c,LocaleService as _0x12ffff,createIdentifier as _0x5da789,ILogService as _0x4b41a6,Optional as _0x8e7d33,Workbook as _0x3f69b7,CommandType as _0x179b10,IConfigService as _0x1e2cfe,ILocalStorageService as _0x118257,DependentOn as _0xb6e3f,Plugin as _0x50d793,merge as _0x2dee5f,registerDependencies as _0x1d67a1,mergeOverrideWithDependencies as _0xe89926,touchDependencies as _0x295b9b,generateRandomId as _0x472f08}from'@univerjs/core';import{Shape as _0x24cb1f,Rect as _0x29e210,getColor as _0x571d39,RegularPolygon as _0x848961,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x103131,Vector2 as _0x3edd65,SHEET_VIEWPORT_KEY as _0x5ca290,IRenderManagerService as _0x1de120}from'@univerjs/engine-render';import{ISocketService as _0x1f9107,WebSocketService as _0x44d410,HTTPService as _0x4c152d}from'@univerjs/network';import{IDocClipboardService as _0xc2976a,NodePositionConvertToCursor as _0x2c0d3d,NodePositionConvertToRectRange as _0x425036,TEXT_RANGE_LAYER_INDEX as _0x5121d4,SetDocZoomRatioOperation as _0x3ea351,DocIMEInputManagerService as _0x320b24,DocStateChangeManagerService as _0x4b01d4}from'@univerjs/docs-ui';import{IImageIoService as _0x4dd945}from'@univerjs/drawing';import{BehaviorSubject as _0x2ac3e2,debounceTime as _0x2bd9d8,takeUntil as _0x4b7757,Subject as _0xa3cd52,filter as _0x312de0,switchMap as _0x182269,merge as _0x491a5f,combineLatest as _0x570ed7,of as _0x5b4338,fromEvent as _0x1dc596,shareReplay as _0x3b2e8f,mapTo as _0x2c2792,distinctUntilChanged as _0x5c490c}from'rxjs';import{SetTextSelectionsOperation as _0x15d8be,RichTextEditingMutation as _0x156eaa,DocSelectionManagerService as _0x25837d,DocSkeletonManagerService as _0x1dea4a}from'@univerjs/docs';import{ITransformService as _0xe6a3f5,CollaborationEvent as _0x289f53,isTransformMutationFailure as _0x1da839,isTransformMutationsWithChangesetSuccess as _0x371959,RevisionService as _0x9f287a,ISnapshotServerService as _0x5465f1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0xdc58a6,serializeRangeWithSheet as _0x41edb3}from'@univerjs/engine-formula';import{RefRangeService as _0x28269d,SetSelectionsOperation as _0x4b878a,SheetsSelectionsService as _0x1237fd,EffectRefRangId as _0x3e03f7,handleIRemoveRow as _0x35d808,handleIRemoveCol as _0x3182c5,handleMoveRange as _0x44bb30,handleInsertRow as _0x4f5344,handleInsertRangeMoveRight as _0x7e9d5c,handleInsertRangeMoveDown as _0x2a89a7,handleInsertCol as _0x237808,handleDeleteRangeMoveUp as _0x1c80c4,handleDeleteRangeMoveLeft as _0x336a20,runRefRangeMutations as _0x383c3d,SetWorksheetActivateCommand as _0x5e2671}from'@univerjs/sheets';import{map as _0x34589c,filter as _0x155146,throttleTime as _0x235644,takeUntil as _0x1d4787,switchMap as _0x260b32}from'rxjs/operators';import{SheetSkeletonManagerService as _0x72b673,getCoordByCell as _0x2cf5db,getSheetObject as _0x40a2f0}from'@univerjs/sheets-ui';import{jsx as _0x349e9b,jsxs as _0x199e54}from'react/jsx-runtime';import{useObservable as _0x15bea2,useDependency as _0x20ac29,IUIPartsService as _0x3883bd,BuiltInUIPart as _0x2ccf90,connectInjector as _0x5a755d,IBeforeCloseService as _0x5dc7ed,IMessageService as _0x219866,INotificationService as _0x39a609}from'@univerjs/ui';import{Tooltip as _0x48a50f,clsx as _0x3b9583,MessageType as _0x33b9eb}from'@univerjs/design';import{forwardRef as _0x58d4c3,useRef as _0x30e73c,createElement as _0x5586c8,useCallback as _0x5e0ac5}from'react';import{IRemoteInstanceService as _0x171e02}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x12905a,_0x43f720,_0x34e9dc,_0x1f4b76)=>{const _0x2ec44e=_0x1d7bbe;for(var _0x477e31=_0x1f4b76>0x1?void 0x0:_0x1f4b76?ci(_0x43f720,_0x34e9dc):_0x43f720,_0x3060ce=_0x12905a[_0x2ec44e(0x39d)]-0x1,_0x231610;_0x3060ce>=0x0;_0x3060ce--)(_0x231610=_0x12905a[_0x3060ce])&&(_0x477e31=_0x231610(_0x477e31)||_0x477e31);return _0x477e31;},Je=(_0x207606,_0x5ee30a)=>(_0x855d2a,_0x3aff91)=>_0x5ee30a(_0x855d2a,_0x3aff91,_0x207606);let Ne=class extends _0x58bba7{constructor(_0x20c76c,_0x3c6c65){const _0xd5a206=_0x1d7bbe;super(),this['_docClipboardService']=_0x20c76c,this[_0xd5a206(0x37d)]=_0x3c6c65,this['_init']();}[_0x1d7bbe(0x1fc)](){const _0xc59910=_0x1d7bbe,_0x92840f=this;this[_0xc59910(0x26a)](this[_0xc59910(0x24c)][_0xc59910(0x2a4)]({'onBeforePasteImage':async _0xb63a72=>{const _0x2e1435=_0xc59910,_0x3cf6e3=await _0x92840f['_imageIoService'][_0x2e1435(0x35c)](_0xb63a72);return _0x3cf6e3?{'source':_0x3cf6e3['source'],'imageSourceType':_0x3cf6e3[_0x2e1435(0x304)]}:null;}}));}};Ne=li([Je(0x0,_0xc2976a),Je(0x1,_0x4dd945)],Ne);const Ze=['purple.300',_0x1d7bbe(0x316),_0x1d7bbe(0x270),_0x1d7bbe(0x233),_0x1d7bbe(0x326),'yellow.400'];class ke extends _0x426733{constructor(){const _0x3f3ed9=_0x1d7bbe;super(...arguments),_(this,_0x3f3ed9(0x295),new Map()),_(this,'_colorIndex',0x0);}[_0x1d7bbe(0x3a5)](_0xb6a12c){const _0x55959a=_0x1d7bbe;if(this[_0x55959a(0x295)][_0x55959a(0x38a)](_0xb6a12c))return this[_0x55959a(0x295)]['get'](_0xb6a12c);const _0x340f47=Ze[this['_colorIndex']];return this[_0x55959a(0x2a3)]=(this[_0x55959a(0x2a3)]+0x1)%Ze['length'],this['_assignedColors'][_0x55959a(0x308)](_0xb6a12c,_0x340f47),_0x340f47;}}function Tt(_0x378dfb){const _0x591f9b=_0x1d7bbe;let _0x386f2c='';for(const _0x1c1bda of _0x378dfb){const {startOffset:_0x1ccc8a,endOffset:_0x22d4dc,isActive:_0x4745c6,rangeType:_0x3c45d3,segmentId:_0x379af5,segmentPage:_0xd5e897}=_0x1c1bda;_0x386f2c[_0x591f9b(0x39d)]&&(_0x386f2c+=','),_0x386f2c+=_0x1ccc8a+':'+_0x22d4dc+':'+(_0x4745c6?'1':'0')+':'+_0x3c45d3+':'+_0x379af5+':'+_0xd5e897;}return _0x386f2c;}function _i(_0x3a8555){const _0x53b01b=_0x1d7bbe,_0x360db7=_0x3a8555[_0x53b01b(0x2fe)](','),_0x4173cf=[];for(const _0x291607 of _0x360db7){const [_0x49a593,_0x4dbace,_0x3a4f08,_0xd052c8,_0x56f83b,_0x43c79f]=_0x291607[_0x53b01b(0x2fe)](':');_0x4173cf[_0x53b01b(0x37a)]({'startOffset':Number(_0x49a593),'endOffset':Number(_0x4dbace),'collapsed':_0x49a593===_0x4dbace,'isActive':_0x3a4f08==='1','rangeType':_0xd052c8===_0x4196d7[_0x53b01b(0x32c)]?_0x4196d7[_0x53b01b(0x32c)]:_0x4196d7[_0x53b01b(0x1fd)],'segmentId':typeof _0x56f83b==_0x53b01b(0x3a3)?String(_0x56f83b):'','segmentPage':Number(_0x43c79f!=null?_0x43c79f:-0x1)});}return _0x4173cf[_0x53b01b(0x33a)](_0x17c248=>_0x17c248[_0x53b01b(0x39b)])||(_0x4173cf[0x0][_0x53b01b(0x39b)]=!0x0),_0x4173cf;}class He extends _0x58bba7{constructor(){const _0x36039b=_0x1d7bbe;super(...arguments),_(this,_0x36039b(0x275),new _0x2ac3e2(null)),_(this,'collabCursorState$',this[_0x36039b(0x275)][_0x36039b(0x203)]());}[_0x1d7bbe(0x379)](_0x538fa7){const _0x896932=_0x1d7bbe,{unitID:_0x2c4a11,memberID:_0x27d8d5,textRanges:_0x5cb3c7}=_0x538fa7,_0x38dfe5=Tt(_0x5cb3c7);if(_0x38dfe5==='')return;const _0x2ad1f1={'unitID':_0x2c4a11,'memberID':_0x27d8d5,'selection':_0x38dfe5};this['_collabCursorState$'][_0x896932(0x256)](_0x2ad1f1);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x443ae9,_0x3a5dcc,_0x3b7b33,_0x5a7d56)=>{for(var _0x27c576=_0x5a7d56>0x1?void 0x0:_0x5a7d56?hi(_0x3a5dcc,_0x3b7b33):_0x3a5dcc,_0x1988d4=_0x443ae9['length']-0x1,_0x221af3;_0x1988d4>=0x0;_0x1988d4--)(_0x221af3=_0x443ae9[_0x1988d4])&&(_0x27c576=_0x221af3(_0x27c576)||_0x27c576);return _0x27c576;},L=(_0x2fd617,_0x55217a)=>(_0x54a16f,_0x4f4d4f)=>_0x55217a(_0x54a16f,_0x4f4d4f,_0x2fd617);const di=0x12c,fi=0x64;let Ue=class extends _0x58bba7{constructor(_0x4051d3,_0x5a9919,_0x33c642,_0x569f48,_0x4bb266,_0x53084c,_0x30f92d,_0x442881,_0x48e8ea){const _0x4e6e22=_0x1d7bbe;super(),_(this,_0x4e6e22(0x1d8),!0x1),_(this,'_init',!0x1),_(this,_0x4e6e22(0x1c7),new _0x2ac3e2(new Map())),_(this,'cursorInfo$',this[_0x4e6e22(0x1c7)]['asObservable']()),_(this,_0x4e6e22(0x276),new _0x2ac3e2([])),_(this,_0x4e6e22(0x3cb),this[_0x4e6e22(0x276)]['pipe'](_0x2bd9d8(di))),_(this,_0x4e6e22(0x28d),_0x809147(_0x1337f7=>{const _0x11476b=_0x4e6e22,_0x543693={'eventID':_0x289f53[_0x11476b(0x29b)],'data':{'unitID':this[_0x11476b(0x35d)],'memberID':this['_session']['getMemberID'](),'selection':Tt(_0x1337f7)}};this[_0x11476b(0x29f)]['send'](_0x543693,this[_0x11476b(0x35d)]);},fi)),(this[_0x4e6e22(0x35d)]=_0x4051d3,this[_0x4e6e22(0x29f)]=_0x5a9919,this['_injector']=_0x33c642,this[_0x4e6e22(0x1eb)]=_0x569f48,this[_0x4e6e22(0x399)]=_0x4bb266,this['_syncEditingCollabCursorService']=_0x53084c,this[_0x4e6e22(0x3ae)]=_0x30f92d,this[_0x4e6e22(0x353)]=_0x442881,this['_commandService']=_0x48e8ea);}get[_0x1d7bbe(0x1c5)](){const _0x49a2a0=_0x1d7bbe;return this[_0x49a2a0(0x1c7)][_0x49a2a0(0x36d)]();}get[_0x1d7bbe(0x2c7)](){const _0x52bb36=_0x1d7bbe;return this[_0x52bb36(0x276)][_0x52bb36(0x36d)]();}[_0x1d7bbe(0x1e3)](){const _0x2146d1=_0x1d7bbe;super[_0x2146d1(0x1e3)](),this[_0x2146d1(0x1c7)][_0x2146d1(0x256)](new Map()),this[_0x2146d1(0x1c7)][_0x2146d1(0x3a6)](),this[_0x2146d1(0x276)]['next']([]),this[_0x2146d1(0x276)][_0x2146d1(0x3a6)]();}['init'](){const _0x385ed7=_0x1d7bbe;this[_0x385ed7(0x1fc)]||(this[_0x385ed7(0x1fc)]=!0x0,this[_0x385ed7(0x29f)]['sessionStatus$'][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x24b057=>{const _0x30ad5f=_0x385ed7;_0x24b057===_0x4f1673['ONLINE']?this[_0x30ad5f(0x3a7)]():this[_0x30ad5f(0x1e9)]();}),this[_0x385ed7(0x29f)][_0x385ed7(0x242)][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x4f5868=>{const _0x3edc16=_0x385ed7,_0x2abbeb=_0x4f5868[_0x3edc16(0x3b7)];_0x2abbeb===_0x289f53[_0x3edc16(0x29b)]&&this['_onCursorUpdate'](_0x4f5868),_0x2abbeb===_0x289f53[_0x3edc16(0x3b4)]&&this[_0x3edc16(0x263)](_0x4f5868);}),this[_0x385ed7(0x26a)](this[_0x385ed7(0x1d4)]['onCommandExecuted'](_0x3a29ce=>{const _0x5b717d=_0x385ed7,_0x17c4e2=_0x3a29ce['params'];_0x17c4e2!=null&&this[_0x5b717d(0x1d8)]&&_0x3a29ce['id']===_0x15d8be['id']&&_0x17c4e2['unitId']===this['unitID']&&_0x17c4e2[_0x5b717d(0x1c8)]===!0x1&&_0x17c4e2[_0x5b717d(0x2ea)]['length']>0x0&&this[_0x5b717d(0x28d)](_0x17c4e2[_0x5b717d(0x2ea)]);})),this[_0x385ed7(0x2d1)][_0x385ed7(0x368)][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x13683e=>{const _0x47d4c4=_0x385ed7;if((_0x13683e==null?void 0x0:_0x13683e[_0x47d4c4(0x35d)])!==this[_0x47d4c4(0x35d)])return;const _0x55e2b8={'eventID':_0x289f53[_0x47d4c4(0x29b)],'data':_0x13683e};this[_0x47d4c4(0x33b)](_0x55e2b8);}),this[_0x385ed7(0x26a)](this[_0x385ed7(0x1d4)]['onCommandExecuted'](_0x2c0d6a=>{const _0x2526ee=_0x385ed7;if(_0x2c0d6a[_0x2526ee(0x26c)]==null)return;const _0xd2cd14=_0x2c0d6a['params'];if(_0x2c0d6a['id']!==_0x156eaa['id']||_0xd2cd14[_0x2526ee(0x265)]!==this[_0x2526ee(0x35d)])return;const _0x331b71={'id':_0x2526ee(0x20a),'params':_0xd2cd14},_0x5e5482=this[_0x2526ee(0x1c5)];for(const [_0x473850,_0x39c6ac]of _0x5e5482){const _0x2d9a3b={'id':_0x2526ee(0x20a),'params':{'unitId':this[_0x2526ee(0x35d)],'actions':null,'textRanges':_0x39c6ac[_0x2526ee(0x2ea)]}},_0x47b102=this[_0x2526ee(0x3ae)][_0x2526ee(0x23f)](_0x331b71,_0x2d9a3b,!0x1);if(_0x1da839(_0x47b102))throw _0x47b102[_0x2526ee(0x225)];_0x5e5482[_0x2526ee(0x308)](_0x473850,{..._0x39c6ac,'ranges':_0x47b102[_0x2526ee(0x395)][_0x2526ee(0x26c)][_0x2526ee(0x240)]});}queueMicrotask(()=>{const _0x202f6b=_0x2526ee;this[_0x202f6b(0x1c7)][_0x202f6b(0x256)](_0x5e5482);});})));}['_onCursorUpdate'](_0x5292c5){const _0x21ad96=_0x1d7bbe;var _0x4a4248,_0x29c512;const {memberID:_0x4048c2,selection:_0x1cd074}=_0x5292c5[_0x21ad96(0x211)],_0x3d6ba6=_i(_0x1cd074),_0x390904=(_0x29c512=(_0x4a4248=this[_0x21ad96(0x399)][_0x21ad96(0x262)](this[_0x21ad96(0x35d)],_0x4048c2))==null?void 0x0:_0x4a4248[_0x21ad96(0x241)])!=null?_0x29c512:_0x21ad96(0x3be),_0x40f87b={'color':this[_0x21ad96(0x1eb)][_0x21ad96(0x3a5)](_0x4048c2),'name':_0x390904,'ranges':_0x3d6ba6},_0x41b144=this[_0x21ad96(0x1c5)];_0x41b144['set'](_0x4048c2,_0x40f87b),this[_0x21ad96(0x1c7)][_0x21ad96(0x256)](_0x41b144);}[_0x1d7bbe(0x263)](_0x19c349){const _0x4b5632=_0x1d7bbe,{memberID:_0x5488f2}=_0x19c349[_0x4b5632(0x211)],_0x122489=this[_0x4b5632(0x1c5)];_0x122489['delete'](_0x5488f2),this[_0x4b5632(0x1c7)][_0x4b5632(0x256)](_0x122489);}[_0x1d7bbe(0x3a7)](){const _0x5777dc=_0x1d7bbe;var _0x313c4f;if(this[_0x5777dc(0x1d8)]=!0x0,((_0x313c4f=this[_0x5777dc(0x353)][_0x5777dc(0x24f)]())==null?void 0x0:_0x313c4f['getUnitId']())!==this[_0x5777dc(0x35d)])return;const _0x1ae4b5=this['_injector'][_0x5777dc(0x1f1)](_0x25837d)[_0x5777dc(0x301)]();Array[_0x5777dc(0x1cd)](_0x1ae4b5)&&_0x1ae4b5[_0x5777dc(0x39d)]>0x0&&this['_updateLocalCursor'](_0x1ae4b5);}[_0x1d7bbe(0x1e9)](){const _0x4f7654=_0x1d7bbe;this[_0x4f7654(0x1d8)]=!0x1;}};Ue=ui([L(0x2,_0x3c7534(_0xa07411)),L(0x3,_0x3c7534(ke)),L(0x4,_0x3c7534(_0x160c80)),L(0x5,_0x3c7534(He)),L(0x6,_0xe6a3f5),L(0x7,_0x3888fb),L(0x8,_0x1abf6a)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x39f436,_0x258b3f,_0x237b52,_0xe8d4d5)=>{const _0x250a91=_0x1d7bbe;for(var _0x337111=_0xe8d4d5>0x1?void 0x0:_0xe8d4d5?Si(_0x258b3f,_0x237b52):_0x258b3f,_0x5de991=_0x39f436[_0x250a91(0x39d)]-0x1,_0xc67b56;_0x5de991>=0x0;_0x5de991--)(_0xc67b56=_0x39f436[_0x5de991])&&(_0x337111=_0xc67b56(_0x337111)||_0x337111);return _0x337111;},x=(_0x3ed43f,_0x178a4b)=>(_0x46d183,_0x5ebc32)=>_0x178a4b(_0x46d183,_0x5ebc32,_0x3ed43f);const gi=0x12c,Ii=0x64,vi=()=>{let _0x16861f=[],_0x4c426b=!0x1;return _0x6d1ad9=>{const _0x24b155=_0x1bb4;_0x16861f[_0x24b155(0x37a)](_0x6d1ad9),_0x4c426b||(_0x4c426b=!0x0,setTimeout(()=>{const _0x7756fb=_0x24b155;_0x16861f[_0x7756fb(0x388)](_0x1e2320=>_0x1e2320()),_0x16861f=[],_0x4c426b=!0x1;}));};};let Me=class extends _0x58bba7{constructor(_0x425180,_0xdbabb4,_0x44791c,_0x51ffa1,_0x309325,_0xddc21d,_0x502186,_0x2ccf8f){const _0x5d659b=_0x1d7bbe;super(),_(this,_0x5d659b(0x1d8),!0x1),_(this,_0x5d659b(0x1fc),!0x1),_(this,'_cursorInfo$',new _0x2ac3e2(new Map())),_(this,_0x5d659b(0x36a),this[_0x5d659b(0x1c7)][_0x5d659b(0x203)]()),_(this,_0x5d659b(0x276),new _0x2ac3e2([])),_(this,_0x5d659b(0x3cb),this[_0x5d659b(0x276)][_0x5d659b(0x1c9)](_0x2bd9d8(gi))),_(this,'_updateLocalCursor',_0x809147((_0x443382,_0x11d76f)=>{const _0x49df68=_0x5d659b,_0x716a3b={'eventID':_0x289f53[_0x49df68(0x29b)],'data':{'unitID':this[_0x49df68(0x35d)],'memberID':this[_0x49df68(0x29f)]['getMemberID'](),'selection':_0x41edb3(_0x443382,_0x11d76f['range'])}};this['_session'][_0x49df68(0x219)](_0x716a3b,this['unitID']);},Ii)),(this[_0x5d659b(0x35d)]=_0x425180,this[_0x5d659b(0x29f)]=_0xdbabb4,this[_0x5d659b(0x2d6)]=_0x44791c,this[_0x5d659b(0x1eb)]=_0x51ffa1,this[_0x5d659b(0x399)]=_0x309325,this[_0x5d659b(0x353)]=_0xddc21d,this[_0x5d659b(0x1d4)]=_0x502186,this[_0x5d659b(0x2fd)]=_0x2ccf8f);}get[_0x1d7bbe(0x1c5)](){const _0x425f0d=_0x1d7bbe;return this[_0x425f0d(0x1c7)]['getValue']();}get[_0x1d7bbe(0x2c7)](){const _0x1fbe68=_0x1d7bbe;return this[_0x1fbe68(0x276)][_0x1fbe68(0x36d)]();}['dispose'](){const _0x501343=_0x1d7bbe;super[_0x501343(0x1e3)](),this[_0x501343(0x1c7)][_0x501343(0x256)](new Map()),this[_0x501343(0x1c7)][_0x501343(0x3a6)](),this['_roomMembers$'][_0x501343(0x256)]([]),this[_0x501343(0x276)][_0x501343(0x3a6)]();}['init'](){const _0x19ecc3=_0x1d7bbe;this[_0x19ecc3(0x1fc)]||(this['_init']=!0x0,this[_0x19ecc3(0x29f)][_0x19ecc3(0x355)][_0x19ecc3(0x1c9)](_0x4b7757(this['dispose$']))[_0x19ecc3(0x3ce)](_0xb4b5b8=>{const _0x53e741=_0x19ecc3;_0xb4b5b8===_0x4f1673['ONLINE']?this[_0x53e741(0x3a7)]():this[_0x53e741(0x1e9)]();}),this['_session'][_0x19ecc3(0x242)]['pipe'](_0x4b7757(this[_0x19ecc3(0x2c3)]))[_0x19ecc3(0x3ce)](_0x3a41fc=>{const _0x2d0722=_0x19ecc3,_0x53bfb2=_0x3a41fc[_0x2d0722(0x3b7)];_0x53bfb2===_0x289f53['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3a41fc),_0x53bfb2===_0x289f53[_0x2d0722(0x3b4)]&&this[_0x2d0722(0x263)](_0x3a41fc);}),this[_0x19ecc3(0x1ff)](),this[_0x19ecc3(0x26a)](this['_commandService'][_0x19ecc3(0x32b)](_0x11edd1=>{const _0x2eb0be=_0x19ecc3;if(this['_online']&&_0x11edd1['id']===_0x4b878a['id']&&_0x11edd1[_0x2eb0be(0x26c)][_0x2eb0be(0x265)]===this[_0x2eb0be(0x35d)]){const _0x3adb14=_0x11edd1['params'];this[_0x2eb0be(0x28d)](_0x3adb14[_0x2eb0be(0x38d)],_0x3adb14[_0x2eb0be(0x1ec)][0x0]);}})));}['_onCursorUpdate'](_0x35f2a5){const _0x4130fe=_0x1d7bbe;var _0x5630fd,_0x5721ac;const {memberID:_0x40f1db,selection:_0xba2e0}=_0x35f2a5['data'],{sheetName:_0x39117e,range:_0x328263}=_0xdc58a6(_0xba2e0),_0x1bae9a={'name':(_0x5721ac=(_0x5630fd=this[_0x4130fe(0x399)][_0x4130fe(0x262)](this[_0x4130fe(0x35d)],_0x40f1db))==null?void 0x0:_0x5630fd[_0x4130fe(0x241)])!=null?_0x5721ac:_0x4130fe(0x3be),'range':this[_0x4130fe(0x1d2)](_0x39117e,_0x328263),'sheetID':_0x39117e,'color':this[_0x4130fe(0x1eb)][_0x4130fe(0x3a5)](_0x40f1db),'selection':_0xba2e0},_0x117e05=this[_0x4130fe(0x1c5)];_0x117e05['set'](_0x40f1db,_0x1bae9a),this['_cursorInfo$'][_0x4130fe(0x256)](_0x117e05);}['_onCursorDelete'](_0x4c3ded){const _0x990334=_0x1d7bbe,{memberID:_0x444e48}=_0x4c3ded[_0x990334(0x211)],_0x5bb013=this['cursorInfo'];_0x5bb013['delete'](_0x444e48),this['_cursorInfo$'][_0x990334(0x256)](_0x5bb013);}[_0x1d7bbe(0x1d2)](_0x325f0d,_0x254d71){const _0x212516=_0x1d7bbe;var _0x2159db,_0x3ebde3;const _0xe5ca5b=(_0x3ebde3=(_0x2159db=this[_0x212516(0x353)]['getUniverSheetInstance'](this[_0x212516(0x35d)]))==null?void 0x0:_0x2159db[_0x212516(0x324)](_0x325f0d))==null?void 0x0:_0x3ebde3[_0x212516(0x34f)]();return(_0xe5ca5b==null?void 0x0:_0xe5ca5b['find'](_0x5bda04=>_0x186a42[_0x212516(0x39c)](_0x5bda04,_0x254d71)))||_0x254d71;}[_0x1d7bbe(0x1ff)](){const _0x257067=_0x1d7bbe,_0x4843a7=new _0x3bf60a(),_0x29ecf3=vi(),_0x509963=()=>{const _0x1f3863=_0x1bb4;_0x4843a7[_0x1f3863(0x1e3)]();const _0x18180e=(_0x125269,_0x8fc046,_0x1b2e53,_0x262ccd)=>{const _0x51c195=_0x1f3863;let _0x5a7ced=[];switch(_0x125269['id']){case _0x3e03f7['DeleteRangeMoveLeftCommandId']:{_0x5a7ced=_0x336a20(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x363)]:{_0x5a7ced=_0x1c80c4(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x1d3)]:{_0x5a7ced=_0x237808(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x1ea)]:{_0x5a7ced=_0x2a89a7(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x23a)]:{_0x5a7ced=_0x7e9d5c(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x327)]:{_0x5a7ced=_0x4f5344(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x213)]:{_0x5a7ced=_0x44bb30(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x344)]:{_0x5a7ced=_0x3182c5(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x2f0)]:{_0x5a7ced=_0x35d808(_0x125269,_0x262ccd);break;}}const _0x270c5a=_0x383c3d(_0x5a7ced,_0x262ccd),_0x334b5b=this['cursorInfo'][_0x51c195(0x1f1)](_0x8fc046);if(_0x334b5b&&_0x270c5a){const _0x5b93e0={..._0x334b5b,'range':_0x270c5a};this[_0x51c195(0x1c5)]['set'](_0x8fc046,_0x5b93e0),_0x29ecf3(()=>{const _0x54a256=_0x51c195,_0x552a1e=this[_0x54a256(0x2fd)][_0x54a256(0x30c)](_0x270c5a,_0x5a986b=>(_0x552a1e[_0x54a256(0x1e3)](),_0x18180e(_0x5a986b,_0x8fc046,_0x1b2e53,_0x270c5a)));_0x4843a7['add'](_0x552a1e);});}return{'redos':[],'undos':[]};};this[_0x1f3863(0x1c5)][_0x1f3863(0x388)]((_0x2f37e0,_0x2148da)=>{const _0xa22240=_0x1f3863,{range:_0x1232cb,sheetID:_0x6567a3}=_0x2f37e0,_0x202c78=this[_0xa22240(0x2fd)][_0xa22240(0x30c)](_0x1232cb,_0xd961b8=>(_0x202c78[_0xa22240(0x1e3)](),_0x18180e(_0xd961b8,_0x2148da,_0x6567a3,_0x1232cb)));_0x4843a7[_0xa22240(0x20f)](_0x202c78);});};this[_0x257067(0x26a)](_0x55db35(this[_0x257067(0x1c7)][_0x257067(0x3ce)](()=>{_0x509963();})));}['_toggleOnline'](){const _0x454a79=_0x1d7bbe;var _0x139e71,_0x588368;if(this[_0x454a79(0x1d8)]=!0x0,((_0x139e71=this[_0x454a79(0x353)][_0x454a79(0x24f)]())==null?void 0x0:_0x139e71[_0x454a79(0x2d5)]())!==this['unitID'])return;const _0x58ce28=(_0x588368=this[_0x454a79(0x2d6)]['get'](_0x1237fd)[_0x454a79(0x298)]())==null?void 0x0:_0x588368[0x0],_0xef456c=this[_0x454a79(0x353)][_0x454a79(0x2d2)](_0x14cd2c[_0x454a79(0x2e4)])[_0x454a79(0x38c)]();_0x58ce28&&_0xef456c&&this[_0x454a79(0x28d)](_0xef456c[_0x454a79(0x217)](),_0x58ce28);}['_toggleOffline'](){const _0x27cf7d=_0x1d7bbe;this[_0x27cf7d(0x1d8)]=!0x1;}};Me=mi([x(0x2,_0x3c7534(_0xa07411)),x(0x3,_0x3c7534(ke)),x(0x4,_0x3c7534(_0x160c80)),x(0x5,_0x3888fb),x(0x6,_0x1abf6a),x(0x7,_0x3c7534(_0x28269d))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x2dd69a,_0x49cf63,_0x20b03c,_0x1fc4e2)=>{for(var _0x5a7e5f=_0x1fc4e2>0x1?void 0x0:_0x1fc4e2?pi(_0x49cf63,_0x20b03c):_0x49cf63,_0x5a7e81=_0x2dd69a['length']-0x1,_0x3b43b6;_0x5a7e81>=0x0;_0x5a7e81--)(_0x3b43b6=_0x2dd69a[_0x5a7e81])&&(_0x5a7e5f=_0x3b43b6(_0x5a7e5f)||_0x5a7e5f);return _0x5a7e5f;},Se=(_0x2b2c4c,_0x19f9ef)=>(_0x5d5ca2,_0x2239ef)=>_0x19f9ef(_0x5d5ca2,_0x2239ef,_0x2b2c4c);let H=class extends _0x58bba7{constructor(_0x49a2ad,_0x467792,_0x120263){const _0x3dc2c0=_0x1d7bbe;super(),_(this,'_entities',new Map()),_(this,_0x3dc2c0(0x23d),new _0xa3cd52()),(this[_0x3dc2c0(0x353)]=_0x49a2ad,this[_0x3dc2c0(0x2d6)]=_0x467792,this[_0x3dc2c0(0x2e9)]=_0x120263,this[_0x3dc2c0(0x1fc)]());}[_0x1d7bbe(0x1e3)](){const _0x32edd7=_0x1d7bbe;super[_0x32edd7(0x1e3)](),this['_entityInit$'][_0x32edd7(0x3a6)](),this[_0x32edd7(0x21e)][_0x32edd7(0x388)](_0x29df2b=>_0x29df2b[_0x32edd7(0x1e3)]());}['getCollabCursors$'](_0x28c823){const _0x275b43=_0x1d7bbe;return this[_0x275b43(0x21e)]['has'](_0x28c823)?this['_entities'][_0x275b43(0x1f1)](_0x28c823)['cursorInfo$']:this[_0x275b43(0x23d)][_0x275b43(0x1c9)](_0x312de0(_0x1cf67d=>_0x1cf67d[_0x275b43(0x35d)]===_0x28c823),_0x182269(_0x89f920=>_0x89f920[_0x275b43(0x36a)]));}[_0x1d7bbe(0x1fc)](){const _0x5a37b1=_0x1d7bbe;this[_0x5a37b1(0x353)]['getTypeOfUnitAdded$'](_0x14cd2c['UNIVER_SHEET'])[_0x5a37b1(0x1c9)](_0x4b7757(this['dispose$']))[_0x5a37b1(0x3ce)](async _0x163a7a=>{const _0x506cde=_0x5a37b1,_0x1355d9=_0x163a7a['getUnitId'](),_0x587fbc=await this[_0x506cde(0x1be)](_0x1355d9);this['_entityInit$'][_0x506cde(0x256)](_0x587fbc),this[_0x506cde(0x21e)][_0x506cde(0x308)](_0x1355d9,_0x587fbc);}),this[_0x5a37b1(0x353)][_0x5a37b1(0x384)](_0x14cd2c[_0x5a37b1(0x268)])[_0x5a37b1(0x1c9)](_0x4b7757(this['dispose$']))[_0x5a37b1(0x1c9)](_0x312de0(_0x19c616=>!_0x19c616['getUnitId']()[_0x5a37b1(0x1d7)]('__')))[_0x5a37b1(0x3ce)](async _0x5b4b1b=>{const _0x43e692=_0x5a37b1,_0x5384c2=_0x5b4b1b[_0x43e692(0x2d5)](),_0x2ed2a5=await this[_0x43e692(0x392)](_0x5384c2);this[_0x43e692(0x23d)]['next'](_0x2ed2a5),this[_0x43e692(0x21e)][_0x43e692(0x308)](_0x5384c2,_0x2ed2a5);}),_0x491a5f(this['_univerInstanceService'][_0x5a37b1(0x2db)](_0x14cd2c['UNIVER_DOC']),this[_0x5a37b1(0x353)][_0x5a37b1(0x2db)](_0x14cd2c[_0x5a37b1(0x2e4)]))['pipe'](_0x4b7757(this[_0x5a37b1(0x2c3)]))[_0x5a37b1(0x3ce)](_0x2384ee=>{const _0x15579f=_0x5a37b1,_0x56a2de=_0x2384ee[_0x15579f(0x2d5)](),_0xb0b6b8=this[_0x15579f(0x21e)][_0x15579f(0x1f1)](_0x56a2de);_0xb0b6b8&&(_0xb0b6b8['dispose'](),this[_0x15579f(0x21e)]['delete'](_0x56a2de));});}async[_0x1d7bbe(0x1be)](_0x40168b){const _0x142f64=_0x1d7bbe,_0x351c5b=await this[_0x142f64(0x2e9)][_0x142f64(0x1bf)](_0x40168b),_0x1432db=this['_injector']['createInstance'](Me,_0x40168b,_0x351c5b);return _0x1432db[_0x142f64(0x376)](),_0x1432db;}async['_startDocCollabCursor'](_0x50a341){const _0x1bab36=_0x1d7bbe,_0x4fb9ce=await this[_0x1bab36(0x2e9)][_0x1bab36(0x1bf)](_0x50a341),_0x171b45=this[_0x1bab36(0x2d6)][_0x1bab36(0x29a)](Ue,_0x50a341,_0x4fb9ce);return _0x171b45[_0x1bab36(0x376)](),_0x171b45;}};H=Ci([Se(0x0,_0x3888fb),Se(0x1,_0x3c7534(_0xa07411)),Se(0x2,_0x3c7534(_0x1fd5e1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x8ac23a,_0x4774c7){const _0x527539=_0x1d7bbe;let {radius:_0x4d5f92,width:_0x3fda68,height:_0x5f12c7}=_0x4774c7;_0x4d5f92=_0x4d5f92!=null?_0x4d5f92:0x0,_0x3fda68=_0x3fda68!=null?_0x3fda68:0x1e,_0x5f12c7=_0x5f12c7!=null?_0x5f12c7:0x1e;let _0x701619=0x0,_0x2e9793=0x0,_0x4a6b29=0x0;_0x701619=_0x2e9793=_0x4a6b29=Math[_0x527539(0x1f2)](_0x4d5f92,_0x3fda68/0x2,_0x5f12c7/0x2),_0x8ac23a[_0x527539(0x282)](),_0x8ac23a[_0x527539(0x2a2)](_0x701619,0x0),_0x8ac23a[_0x527539(0x2bb)](_0x3fda68-_0x2e9793,0x0),_0x8ac23a[_0x527539(0x235)](_0x3fda68-_0x2e9793,_0x2e9793,_0x2e9793,Math['PI']*0x3/0x2,0x0,!0x1),_0x8ac23a[_0x527539(0x2bb)](_0x3fda68,_0x5f12c7-_0x4a6b29),_0x8ac23a[_0x527539(0x235)](_0x3fda68-_0x4a6b29,_0x5f12c7-_0x4a6b29,_0x4a6b29,0x0,Math['PI']/0x2,!0x1),_0x8ac23a[_0x527539(0x2bb)](0x0,_0x5f12c7),_0x8ac23a[_0x527539(0x2bb)](0x0,_0x701619),_0x8ac23a['arc'](_0x701619,_0x701619,_0x701619,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8ac23a['closePath'](),_0x4774c7['fill']&&(_0x8ac23a[_0x527539(0x1cf)](),_0x8ac23a[_0x527539(0x226)]=_0x4774c7[_0x527539(0x1da)],_0x4774c7[_0x527539(0x370)]===_0x527539(0x35e)?_0x8ac23a[_0x527539(0x1da)](_0x527539(0x35e)):_0x8ac23a[_0x527539(0x1da)](),_0x8ac23a[_0x527539(0x31b)]());}class he extends _0x24cb1f{constructor(_0x2d1078,_0x547815){const _0x55a165=_0x1d7bbe;super(_0x2d1078,_0x547815),_(this,_0x55a165(0x267)),_(this,_0x55a165(0x382)),(this[_0x55a165(0x267)]=_0x547815==null?void 0x0:_0x547815[_0x55a165(0x267)],this[_0x55a165(0x382)]=_0x547815==null?void 0x0:_0x547815[_0x55a165(0x382)]);}static[_0x1d7bbe(0x3cc)](_0x5d4798,_0x252ee0){const _0x4625d8=_0x1d7bbe,{text:_0x688f51,color:_0x5a4949}=_0x252ee0;_0x5d4798[_0x4625d8(0x1cf)](),_0x5d4798['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x153039=_0x5d4798[_0x4625d8(0x3a0)](_0x688f51)[_0x4625d8(0x27e)],_0x135bc3=Math[_0x4625d8(0x1f2)](_0x153039+0x2*me,Qe);Oi(_0x5d4798,{'height':ee,'radius':0x4,'width':_0x135bc3,'fill':_0x5a4949}),_0x5d4798['fillStyle']=_0x4625d8(0x255);const _0x3d3637=me,_0x5db39c=ee-Ei,_0x951d0f=Qe-0x2*me;if(_0x153039>_0x951d0f){let _0x370769='',_0x7aa136=0x0;for(const _0x14f8c6 of _0x688f51){const _0x4c5a62=_0x5d4798[_0x4625d8(0x3a0)](_0x14f8c6)[_0x4625d8(0x27e)];if(_0x7aa136+_0x4c5a62<=_0x951d0f-_0x5d4798[_0x4625d8(0x3a0)](_0x4625d8(0x2bf))[_0x4625d8(0x27e)])_0x370769+=_0x14f8c6,_0x7aa136+=_0x4c5a62;else{_0x370769+=_0x4625d8(0x2bf);break;}}_0x5d4798[_0x4625d8(0x350)](_0x370769,_0x3d3637,_0x5db39c);}else _0x5d4798[_0x4625d8(0x350)](_0x688f51,_0x3d3637,_0x5db39c);_0x5d4798[_0x4625d8(0x31b)]();}[_0x1d7bbe(0x31e)](_0x16fa15){he['drawWith'](_0x16fa15,this);}}const ge=_0x1d7bbe(0x3c7),bi=_0x1d7bbe(0x297),Ti=_0x1d7bbe(0x26b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x213be4,_0x30c4cf,_0x40079d,_0xfa7ca3){const _0x15142c=_0x1d7bbe;_(this,_0x15142c(0x3b8),[]),_(this,_0x15142c(0x383),null),_(this,_0x15142c(0x348),null),_(this,_0x15142c(0x2c1),null),_(this,_0x15142c(0x31f),null),_(this,_0x15142c(0x328),null),(this[_0x15142c(0x254)]=_0x213be4,this['_scene']=_0x30c4cf,this[_0x15142c(0x23b)]=_0x40079d,this[_0x15142c(0x364)]=_0xfa7ca3,this[_0x15142c(0x2fb)]());}set[_0x1d7bbe(0x3bb)](_0x4f6ec2){const _0x36784d=_0x1d7bbe;_0x4f6ec2?(this[_0x36784d(0x2c1)]&&this[_0x36784d(0x2c1)]['hide'](),this['_textBubble']&&this[_0x36784d(0x348)][_0x36784d(0x3cd)]()):(this[_0x36784d(0x2c1)]&&this['_anchorDot'][_0x36784d(0x3cd)](),this[_0x36784d(0x348)]&&this[_0x36784d(0x348)]['hide']());}[_0x1d7bbe(0x1e3)](){const _0x2031c2=_0x1d7bbe;for(const _0x56c8df of this[_0x2031c2(0x3b8)])_0x56c8df[_0x2031c2(0x1e3)]();this[_0x2031c2(0x348)]&&this[_0x2031c2(0x348)][_0x2031c2(0x1e3)](),this[_0x2031c2(0x2c1)]&&this[_0x2031c2(0x2c1)]['dispose'](),this[_0x2031c2(0x383)]&&this[_0x2031c2(0x383)][_0x2031c2(0x1e3)](),this[_0x2031c2(0x328)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2bd207=_0x1d7bbe;var _0x57b73f;const {_docSkeleton:_0x126363,_document:_0x228fd5}=this,{color:_0x2d7d02,name:_0x26760a,ranges:_0x33e6fc}=this[_0x2bd207(0x254)],_0xa0f71=_0x228fd5[_0x2bd207(0x3a9)](),{docsLeft:_0x3f9303,docsTop:_0x5559fe}=_0xa0f71,_0x5d67f1=new _0x2c0d3d(_0xa0f71,_0x126363);for(const {startOffset:_0x2cf89f,endOffset:_0x1b8fcc,rangeType:_0x5bbc4c,segmentId:_0x1b2918,segmentPage:_0x3b76c1,collapsed:_0x3e3b86,isActive:_0x313407}of _0x33e6fc){const _0x509853=_0x126363[_0x2bd207(0x34d)](_0x2cf89f,!0x0,_0x1b2918,_0x3b76c1);let _0x219224=_0x126363[_0x2bd207(0x34d)](_0x1b8fcc,!0x0,_0x1b2918,_0x3b76c1);if(_0x219224==null&&(_0x219224=_0x126363[_0x2bd207(0x34d)](_0x1b8fcc-0x1,!0x1,_0x1b2918,_0x3b76c1)),_0x313407){const {contentBoxPointGroup:_0x4d3478}=_0x5d67f1[_0x2bd207(0x34e)](_0x219224,_0x219224);if(_0x4d3478[_0x2bd207(0x39d)]===0x0)continue;this[_0x2bd207(0x28a)](_0x2d7d02,_0x4d3478,_0x3f9303,_0x5559fe,_0x26760a),this[_0x2bd207(0x328)]=this[_0x2bd207(0x1f9)]();}if(_0x509853&&_0x219224){if(_0x5bbc4c===_0x4196d7[_0x2bd207(0x1fd)]){const _0x20ceab=new _0x425036(_0xa0f71,_0x126363),{pointGroup:_0x3fa63f}=(_0x57b73f=_0x20ceab['getRangePointData'](_0x509853,_0x219224))!=null?_0x57b73f:{};if(_0x3fa63f==null||_0x3fa63f['length']===0x0)continue;this[_0x2bd207(0x21d)](_0x2d7d02,_0x3fa63f,_0x3f9303,_0x5559fe);}else{if(!_0x3e3b86){const {borderBoxPointGroup:_0x476e04}=_0x5d67f1[_0x2bd207(0x34e)](_0x509853,_0x219224);if(_0x476e04[_0x2bd207(0x39d)]===0x0)continue;this[_0x2bd207(0x30b)](_0x2d7d02,_0x476e04,_0x3f9303,_0x5559fe);}}}}}[_0x1d7bbe(0x28a)](_0x14b088,_0x23a9d6,_0x3f2d4f,_0xb0b229,_0x4f3272){const _0x45f241=_0x1d7bbe,_0x48513a=this[_0x45f241(0x30f)](_0x23a9d6),{left:_0x2f4d75,top:_0x5b5302,height:_0x553472}=_0x48513a,_0x226f10=this[_0x45f241(0x24e)](),_0x5a05aa=Di/_0x226f10,_0xcce6b8=new _0x29e210(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229,'height':_0x553472,'width':Ri,'fill':_0x14b088||_0x571d39(_0x54ad43['black'],0x0),'strokeWidth':_0x5a05aa,'stroke':Ni,'evented':!0x0});this[_0x45f241(0x383)]=_0xcce6b8,this[_0x45f241(0x293)]['addObject'](_0xcce6b8,_0x5121d4);const _0x4d7b8a=new _0x29e210(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x14b088||_0x571d39(_0x54ad43['black'],0x0),'strokeWidth':0x0,'stroke':_0x14b088||_0x571d39(_0x54ad43[_0x45f241(0x2a1)],0x0),'evented':!0x1});this[_0x45f241(0x2c1)]=_0x4d7b8a,this[_0x45f241(0x293)][_0x45f241(0x303)](_0x4d7b8a,_0x5121d4);const _0x8c2921=new he(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229-ee,'text':_0x4f3272,'color':_0x14b088});this[_0x45f241(0x348)]=_0x8c2921,this['_scene']['addObject'](_0x8c2921,_0x5121d4),this['_hover']=!0x1;}[_0x1d7bbe(0x1f9)](){const _0x20245f=_0x1d7bbe,_0x1873a7=this[_0x20245f(0x383)][_0x20245f(0x1bd)][_0x20245f(0x351)](()=>{const _0x3f5b5c=_0x20245f;this[_0x3f5b5c(0x3bb)]=!0x0;}),_0x4e6039=this['_anchor'][_0x20245f(0x231)]['subscribeEvent'](()=>{const _0x545f8a=_0x20245f;this[_0x545f8a(0x31f)]&&clearTimeout(this[_0x545f8a(0x31f)]),this[_0x545f8a(0x31f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5d63cb=_0x20245f;_0x1873a7[_0x5d63cb(0x340)](),_0x4e6039[_0x5d63cb(0x340)]();};}[_0x1d7bbe(0x30b)](_0x3e4ad5,_0x99d5da,_0x32cc63,_0x16442b){const _0x540c62=_0x1d7bbe,_0x2b6446=new _0x2273f2(_0x3e4ad5)[_0x540c62(0x2f5)](0.2)['toRgbString'](),_0x35b76d=new _0x848961(bi+_0xe70050[_0x540c62(0x38f)](X),{'pointsGroup':_0x99d5da,'fill':_0x2b6446||_0x571d39(_0x54ad43[_0x540c62(0x2a1)],0.2),'left':_0x32cc63,'top':_0x16442b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x540c62(0x3b8)]['push'](_0x35b76d),this['_scene']['addObject'](_0x35b76d,_0x5121d4);}[_0x1d7bbe(0x21d)](_0x570614,_0x4f3eb8,_0x4c1899,_0x41ec50){const _0x4835f0=_0x1d7bbe,_0x28a34a=new _0x2273f2(_0x570614)[_0x4835f0(0x2f5)](0.2)[_0x4835f0(0x221)](),_0x1fd7b2=new _0x848961(Ti+_0xe70050['generateRandomId'](X),{'pointsGroup':_0x4f3eb8,'fill':_0x28a34a||_0x571d39(_0x54ad43[_0x4835f0(0x2a1)],0.2),'left':_0x4c1899,'top':_0x41ec50,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1fd7b2),this[_0x4835f0(0x293)][_0x4835f0(0x303)](_0x1fd7b2,_0x5121d4);}[_0x1d7bbe(0x30f)](_0x448523){const _0x2c7438=_0x448523[0x0],_0x503870=_0x2c7438[0x0],_0x3a9918=_0x2c7438[0x2],{x:_0x22e2f9,y:_0x2f5c46}=_0x503870,{x:_0xe96ee,y:_0x47c834}=_0x3a9918;return{'left':_0x22e2f9,'top':_0x2f5c46,'width':_0xe96ee-_0x22e2f9,'height':_0x47c834-_0x2f5c46};}['_getScale'](){const _0x581196=_0x1d7bbe,{scaleX:_0x1ec353,scaleY:_0x2d0551}=this[_0x581196(0x293)]['getAncestorScale']();return Math[_0x581196(0x1d0)](_0x1ec353,_0x2d0551);}}var Ui=Object[_0x1d7bbe(0x3aa)],Mi=(_0x2bec05,_0x20be50,_0x5dae6c,_0x386bd6)=>{const _0xa31841=_0x1d7bbe;for(var _0x463419=_0x386bd6>0x1?void 0x0:_0x386bd6?Ui(_0x20be50,_0x5dae6c):_0x20be50,_0x455ca2=_0x2bec05[_0xa31841(0x39d)]-0x1,_0x4412df;_0x455ca2>=0x0;_0x455ca2--)(_0x4412df=_0x2bec05[_0x455ca2])&&(_0x463419=_0x4412df(_0x463419)||_0x463419);return _0x463419;},Z=(_0x3492ed,_0x3a84fa)=>(_0x2e8637,_0x18069a)=>_0x3a84fa(_0x2e8637,_0x18069a,_0x3492ed);let Pe=class extends _0x58bba7{constructor(_0x571bd9,_0x1af912,_0x17c881,_0x599900,_0x486dbd){const _0x3e2cdc=_0x1d7bbe;super(),_(this,_0x3e2cdc(0x200),[]),_(this,_0x3e2cdc(0x2bd),[]),(this[_0x3e2cdc(0x393)]=_0x571bd9,this[_0x3e2cdc(0x2e6)]=_0x1af912,this[_0x3e2cdc(0x218)]=_0x17c881,this[_0x3e2cdc(0x1d4)]=_0x599900,this[_0x3e2cdc(0x397)]=_0x486dbd,this[_0x3e2cdc(0x1fc)]());}['_init'](){const _0x12507b=_0x1d7bbe,_0x1a7df5=this[_0x12507b(0x393)][_0x12507b(0x265)],_0x279b9a=this[_0x12507b(0x2e6)];this[_0x12507b(0x26a)](_0x570ed7([this[_0x12507b(0x218)][_0x12507b(0x30d)](_0x1a7df5),this[_0x12507b(0x397)][_0x12507b(0x2cc)]])['pipe'](_0x34589c(([_0x4e60c1,_0x254f76])=>({'skeleton':_0x279b9a[_0x12507b(0x201)](),'cursors':[..._0x4e60c1[_0x12507b(0x264)]()]['flatMap'](_0x3201ba=>({..._0x3201ba,'color':this[_0x12507b(0x397)]['getColorFromTheme'](_0x3201ba[_0x12507b(0x267)])}))})))[_0x12507b(0x3ce)](_0x1988b4=>{const _0x124f99=_0x12507b;if(this[_0x124f99(0x3c3)](),_0x1988b4){const {skeleton:_0x1ca577,cursors:_0x4cd351}=_0x1988b4;this[_0x124f99(0x20e)](_0x1ca577,_0x4cd351);}})),this[_0x12507b(0x32d)](),this['_initCommandExecutedListener']();}[_0x1d7bbe(0x20e)](_0x2b8314,_0x30238b){const _0x103f5b=_0x1d7bbe,{scene:_0xd6c0bc,mainComponent:_0x24d3b3}=this[_0x103f5b(0x393)],_0x18f384=_0x30238b[_0x103f5b(0x386)](_0x3b1865=>new qe(_0x3b1865,_0xd6c0bc,_0x2b8314,_0x24d3b3));this[_0x103f5b(0x200)]=_0x18f384,this['_cursors']=_0x30238b;}['_refreshCollabCursors'](){const _0xa17c16=_0x1d7bbe;this[_0xa17c16(0x3c3)]();const {scene:_0x22260a,mainComponent:_0x411401}=this[_0xa17c16(0x393)],_0x2d9322=this['_docSkeletonManagerService'][_0xa17c16(0x201)](),_0x456af8=this['_cursors'][_0xa17c16(0x386)](_0x2bac21=>new qe(_0x2bac21,_0x22260a,_0x2d9322,_0x411401));this[_0xa17c16(0x200)]=_0x456af8;}['_removeCollabCursors'](){const _0x4e47bc=_0x1d7bbe;this['_cursorShapes'][_0x4e47bc(0x388)](_0x5e85ce=>_0x5e85ce[_0x4e47bc(0x1e3)]()),this[_0x4e47bc(0x200)]=[];}[_0x1d7bbe(0x396)](){const _0x5bbf6e=_0x1d7bbe,_0x306cb4=[_0x3ea351['id']];this[_0x5bbf6e(0x26a)](this['_commandService'][_0x5bbf6e(0x32b)](_0x291395=>{const _0x36cbe7=_0x5bbf6e;_0x306cb4[_0x36cbe7(0x288)](_0x291395['id'])&&_0x291395['params'][_0x36cbe7(0x265)]===this[_0x36cbe7(0x393)][_0x36cbe7(0x265)]&&this[_0x36cbe7(0x212)]();}));}[_0x1d7bbe(0x32d)](){const _0x572515=_0x1d7bbe;this[_0x572515(0x26a)](_0x4e8b4c(this[_0x572515(0x393)][_0x572515(0x312)]['onTransformChange$'])['pipe'](_0x155146(_0x204c72=>_0x204c72[_0x572515(0x313)]===_0x103131[_0x572515(0x35f)]),_0x235644(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x3c7534(_0x1dea4a)),Z(0x2,_0x3c7534(H)),Z(0x3,_0x1abf6a),Z(0x4,_0x3c7534(_0x5301cc))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x24cb1f{constructor(_0x26f01d,_0x1a426b){const _0x318ed7=_0x1d7bbe;super(_0x26f01d,_0x1a426b),_(this,_0x318ed7(0x38b)),_(this,_0x318ed7(0x21b),!0x1),_(this,_0x318ed7(0x289)),_(this,_0x318ed7(0x36c),''),_(this,'_labelPosition',_0x318ed7(0x372)),_(this,_0x318ed7(0x2c8)),(_0x1a426b&&this[_0x318ed7(0x215)](_0x1a426b),this[_0x318ed7(0x1bd)][_0x318ed7(0x351)](()=>this[_0x318ed7(0x215)]({'hovered':!0x0})),this[_0x318ed7(0x231)]['subscribeEvent'](()=>this[_0x318ed7(0x215)]({'hovered':!0x1})));}[_0x1d7bbe(0x215)](_0x2cfdb9){const _0x4de60b=_0x1d7bbe;var _0x376bec,_0x2c4df3,_0x3fb410,_0x26c9d2,_0x5f0f4f,_0x4c69d8;this['_color']=(_0x376bec=_0x2cfdb9[_0x4de60b(0x267)])!=null?_0x376bec:this[_0x4de60b(0x38b)],this['_hovered']=(_0x2c4df3=_0x2cfdb9[_0x4de60b(0x27f)])!=null?_0x2c4df3:this[_0x4de60b(0x21b)],this[_0x4de60b(0x289)]=(_0x3fb410=_0x2cfdb9[_0x4de60b(0x253)])!=null?_0x3fb410:this[_0x4de60b(0x289)],this[_0x4de60b(0x36c)]=(_0x26c9d2=_0x2cfdb9[_0x4de60b(0x241)])!=null?_0x26c9d2:this[_0x4de60b(0x36c)],this[_0x4de60b(0x3bc)]=(_0x5f0f4f=_0x2cfdb9[_0x4de60b(0x2ad)])!=null?_0x5f0f4f:this[_0x4de60b(0x3bc)],this[_0x4de60b(0x2c8)]=(_0x4c69d8=_0x2cfdb9[_0x4de60b(0x252)])!=null?_0x4c69d8:this['_backgroundColor'],this['transformByState']({'width':_0x2cfdb9[_0x4de60b(0x27e)],'height':_0x2cfdb9[_0x4de60b(0x3b2)]});}[_0x1d7bbe(0x21c)](_0x568168){const _0x2ccbc0=_0x1d7bbe,{row:_0x1a3290,column:_0x247bbd}=_0x568168;if(_0x1a3290>=this['_range'][_0x2ccbc0(0x3b0)]&&_0x1a3290<=this[_0x2ccbc0(0x289)][_0x2ccbc0(0x296)]&&_0x247bbd>=this['_range'][_0x2ccbc0(0x318)]&&_0x247bbd<=this['_range']['endColumn']){this[_0x2ccbc0(0x215)]({'hovered':!0x0});return;}this[_0x2ccbc0(0x215)]({'hovered':!0x1});}['triggerDblclick'](_0x36c073){return!0x1;}['_draw'](_0x27701e){const _0x204cf4=_0x1d7bbe;_0x29e210[_0x204cf4(0x3cc)](_0x27701e,{'width':this[_0x204cf4(0x27e)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x204cf4(0x38b)],'evented':!0x1,'fill':this[_0x204cf4(0x2c8)]}),this[_0x204cf4(0x21b)]&&(_0x27701e[_0x204cf4(0x1cf)](),_0x27701e[_0x204cf4(0x341)](0x1,0x0,0x0,0x1,this[_0x204cf4(0x27e)],this[_0x204cf4(0x3bc)]==='bottom'?0x0:-0x14),he[_0x204cf4(0x3cc)](_0x27701e,{'text':this[_0x204cf4(0x36c)],'color':this[_0x204cf4(0x38b)]}),_0x27701e[_0x204cf4(0x31b)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x172f0a,_0x46bd15,_0x442317,_0x2f697e)=>{const _0x2e7d19=_0x1d7bbe;for(var _0x133c10=_0x2f697e>0x1?void 0x0:_0x2f697e?Ai(_0x46bd15,_0x442317):_0x46bd15,_0x578821=_0x172f0a[_0x2e7d19(0x39d)]-0x1,_0x42f842;_0x578821>=0x0;_0x578821--)(_0x42f842=_0x172f0a[_0x578821])&&(_0x133c10=_0x42f842(_0x133c10)||_0x133c10);return _0x133c10;},ve=(_0x41be7c,_0xbc56e8)=>(_0x1e2b7a,_0x1196a8)=>_0xbc56e8(_0x1e2b7a,_0x1196a8,_0x41be7c);const $i=0x1389;let Le=class extends _0x58bba7{constructor(_0x4d87c3,_0x26ec50,_0xee425,_0x2d34f8){const _0x12c0f4=_0x1d7bbe;super(),_(this,_0x12c0f4(0x2bd),new Set()),_(this,'_lastPointer',null),(this[_0x12c0f4(0x393)]=_0x4d87c3,this[_0x12c0f4(0x2b2)]=_0x26ec50,this[_0x12c0f4(0x218)]=_0xee425,this[_0x12c0f4(0x397)]=_0x2d34f8,this[_0x12c0f4(0x1fc)]());}[_0x1d7bbe(0x1fc)](){const _0x55af1b=_0x1d7bbe;this[_0x55af1b(0x2b2)][_0x55af1b(0x3c8)]['pipe'](_0x1d4787(this[_0x55af1b(0x2c3)]),_0x260b32(_0x173f1f=>{const _0x1b9ba8=_0x55af1b;if(_0x173f1f){const _0x33056e=_0x173f1f['sheetId'];return _0x570ed7(this[_0x1b9ba8(0x218)]['getCollabCursors$'](this[_0x1b9ba8(0x393)]['unitId']),this[_0x1b9ba8(0x397)]['currentTheme$'])['pipe'](_0x34589c(([_0x56b888,_0x4eb944])=>{const _0x35ee98=_0x1b9ba8,_0x51e0c6=new Map();return _0x56b888[_0x35ee98(0x388)]((_0x3960a2,_0x5933eb)=>{const _0x1232bb=_0x35ee98;if(_0x3960a2[_0x1232bb(0x299)]===_0x33056e){const _0x1b5cf1={..._0x3960a2};_0x1b5cf1[_0x1232bb(0x267)]=this[_0x1232bb(0x397)][_0x1232bb(0x2a9)](_0x3960a2['color']),_0x51e0c6[_0x1232bb(0x308)](_0x5933eb,_0x1b5cf1);}}),{'skeleton':_0x173f1f,'cursors':_0x51e0c6};}));}return _0x5b4338({'skeleton':null,'cursors':new Map()});}))[_0x55af1b(0x3ce)](({skeleton:_0x5045c8,cursors:_0x219bb6})=>{const _0x559530=_0x55af1b;this['_removeCollabCursors'](),_0x5045c8&&this[_0x559530(0x20e)](_0x5045c8,_0x219bb6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x55af1b(0x3ce)](_0x289f93=>{const _0x12d92f=_0x55af1b;if(_0x289f93==null)return;const {skeleton:_0x52886c}=_0x289f93,{scene:_0x1fc478}=this[_0x12d92f(0x393)];_0x1fc478[_0x12d92f(0x39a)][_0x12d92f(0x351)](_0x809147(_0x2faaba=>{const _0x422b9e=_0x12d92f;var _0x4cf568,_0x907675;const {offsetX:_0x16a17b,offsetY:_0x21cbb8}=_0x2faaba,{x:_0x2eb300,y:_0x22b990}=_0x1fc478[_0x422b9e(0x29c)](_0x3edd65['FromArray']([_0x16a17b,_0x21cbb8])),{scaleX:_0x79510f,scaleY:_0x363c7e}=_0x1fc478[_0x422b9e(0x1e2)](),_0x513a23=_0x1fc478[_0x422b9e(0x33f)](_0x5ca290[_0x422b9e(0x257)]),_0x4feec6=_0x1fc478[_0x422b9e(0x2f9)](_0x3edd65[_0x422b9e(0x302)]([_0x2eb300,_0x22b990]),_0x513a23),_0x2e1542=_0x52886c[_0x422b9e(0x2d3)](_0x16a17b,_0x21cbb8,_0x79510f,_0x363c7e,_0x4feec6);((_0x4cf568=this['_lastPointer'])==null?void 0x0:_0x4cf568['column'])===_0x2e1542[_0x422b9e(0x214)]&&((_0x907675=this['_lastPointer'])==null?void 0x0:_0x907675[_0x422b9e(0x2ed)])===_0x2e1542[_0x422b9e(0x2ed)]||this[_0x422b9e(0x2bd)]['forEach'](_0x5b66c0=>{const _0x139879=_0x422b9e;_0x5b66c0[_0x139879(0x21c)](_0x2e1542);});},0x64));});}[_0x1d7bbe(0x20e)](_0x5e7bfe,_0x5863e0){const _0x319ad7=_0x1d7bbe;var _0x1619a3;const _0x236a9d=(_0x1619a3=this['_sheetSkeletonManagerService'][_0x319ad7(0x391)]())==null?void 0x0:_0x1619a3[_0x319ad7(0x2a6)];if(!_0x236a9d)return;const _0x2378f2=this['_getSheetObject']();if(!_0x2378f2)return;this[_0x319ad7(0x2bd)]['forEach'](_0x36626b=>{const _0x55ef69=_0x319ad7;_0x36626b[_0x55ef69(0x1cb)]();});const {scene:_0x48e34d}=_0x2378f2,_0x7370b5=xi(Array['from'](_0x5863e0['values']()))[_0x319ad7(0x386)](_0x2c830a=>{const _0x14c53b=_0x319ad7,{color:_0x48c99a,range:_0x4c0631,name:_0x312db0,selection:_0x428279,sheetID:_0x4c7cbe}=_0x2c830a,{startColumn:_0x1e535d,startRow:_0xe973c4,endColumn:_0x1b4388,endRow:_0x3a2e2e}=_0x4c0631,_0x1025a1=_0x2cf5db(_0xe973c4,_0x1e535d,_0x48e34d,_0x236a9d),_0x2d797f=_0x2cf5db(_0x3a2e2e,_0x1b4388,_0x48e34d,_0x236a9d),{columnHeaderHeightAndMarginTop:_0x330543}=_0x236a9d,{startX:_0x4ccda0,startY:_0x42ec17}=_0x1025a1,{endX:_0x183bc4,endY:_0x1e3244}=_0x2d797f,_0x3ee2c5=_0x183bc4-_0x4ccda0,_0xb76e54=_0x1e3244-_0x42ec17,_0x1bb5bb={'labelPosition':_0x42ec17-_0x330543>=ee?_0x14c53b(0x372):_0x14c53b(0x1e8),'sheetID':_0x4c7cbe,'range':_0x4c0631,'color':_0x48c99a,'name':_0x312db0,'selection':_0x428279,'left':_0x4ccda0,'top':_0x42ec17,'width':_0x3ee2c5,'height':_0xb76e54,'evented':!0x1,'zIndex':$i};return new wi(_0x312db0,_0x1bb5bb);});_0x48e34d[_0x319ad7(0x345)](_0x7370b5,Pi),this[_0x319ad7(0x2bd)]=new Set(_0x7370b5);}['_removeCollabCursors'](){const _0x51a509=_0x1d7bbe;var _0x1c1f4a;(_0x1c1f4a=this[_0x51a509(0x2bd)])==null||_0x1c1f4a[_0x51a509(0x388)](_0x8ab10e=>_0x8ab10e[_0x51a509(0x1e3)]());}['_getSheetObject'](){const _0x5e9b7c=_0x1d7bbe;return _0x40a2f0(this['_context'][_0x5e9b7c(0x36e)],this[_0x5e9b7c(0x393)]);}};Le=yi([ve(0x1,_0x3c7534(_0x72b673)),ve(0x2,_0x3c7534(H)),ve(0x3,_0x3c7534(_0x5301cc))],Le);function xi(_0x5a6801){const _0x2c891a=_0x1d7bbe,_0x3c81b=new Map();return _0x5a6801['forEach'](_0x207c78=>{const _0x3f1b35=_0x1bb4;if(_0x3c81b[_0x3f1b35(0x38a)](_0x207c78['selection'])){const _0x218e75=_0x3c81b[_0x3f1b35(0x1f1)](_0x207c78['selection']);_0x218e75['name']+=',\x20'+_0x207c78[_0x3f1b35(0x241)];}else _0x3c81b['set'](_0x207c78[_0x3f1b35(0x3b5)],_0x207c78);}),Array[_0x2c891a(0x387)](_0x3c81b[_0x2c891a(0x264)]());}var v=function(){const _0x38ba05=_0x1d7bbe;return v=Object[_0x38ba05(0x2b5)]||function(_0x4c612a){const _0x27df41=_0x38ba05;for(var _0x45dd5d,_0x37ab94=0x1,_0x95d8a3=arguments['length'];_0x37ab94<_0x95d8a3;_0x37ab94++){_0x45dd5d=arguments[_0x37ab94];for(var _0x537b05 in _0x45dd5d)Object[_0x27df41(0x21f)][_0x27df41(0x34a)][_0x27df41(0x26d)](_0x45dd5d,_0x537b05)&&(_0x4c612a[_0x537b05]=_0x45dd5d[_0x537b05]);}return _0x4c612a;},v[_0x38ba05(0x390)](this,arguments);},Bi=function(_0x116d3b,_0x465da9){const _0x2a6009=_0x1d7bbe;var _0x3d67de={};for(var _0x5aaa9e in _0x116d3b)Object[_0x2a6009(0x21f)][_0x2a6009(0x34a)][_0x2a6009(0x26d)](_0x116d3b,_0x5aaa9e)&&_0x465da9[_0x2a6009(0x398)](_0x5aaa9e)<0x0&&(_0x3d67de[_0x5aaa9e]=_0x116d3b[_0x5aaa9e]);if(_0x116d3b!=null&&typeof Object['getOwnPropertySymbols']==_0x2a6009(0x315)){for(var _0x136f2a=0x0,_0x5aaa9e=Object['getOwnPropertySymbols'](_0x116d3b);_0x136f2a<_0x5aaa9e[_0x2a6009(0x39d)];_0x136f2a++)_0x465da9['indexOf'](_0x5aaa9e[_0x136f2a])<0x0&&Object[_0x2a6009(0x21f)][_0x2a6009(0x309)]['call'](_0x116d3b,_0x5aaa9e[_0x136f2a])&&(_0x3d67de[_0x5aaa9e[_0x136f2a]]=_0x116d3b[_0x5aaa9e[_0x136f2a]]);}return _0x3d67de;},je=_0x58d4c3(function(_0x502e05,_0x43c735){const _0x363f0c=_0x1d7bbe;var _0x2b1e18=_0x502e05[_0x363f0c(0x28e)],_0x47b19f=_0x502e05['id'],_0x108240=_0x502e05['className'],_0x391896=_0x502e05[_0x363f0c(0x3c4)],_0x15d0f6=Bi(_0x502e05,[_0x363f0c(0x28e),'id','className','extend']),_0x1809f7=_0x363f0c(0x35b)['concat'](_0x47b19f,'\x20')['concat'](_0x108240||'')[_0x363f0c(0x206)](),_0x182759=_0x30e73c('_'['concat'](ji()));return Rt(_0x2b1e18,''[_0x363f0c(0x360)](_0x47b19f),{'defIds':_0x2b1e18[_0x363f0c(0x22f)],'idSuffix':_0x182759['current']},v({'ref':_0x43c735,'className':_0x1809f7},_0x15d0f6),_0x391896);});function Rt(_0x3a3656,_0x3ac04e,_0x384fe3,_0x292e0f,_0x4f049e){const _0x273d6c=_0x1d7bbe;return _0x5586c8(_0x3a3656[_0x273d6c(0x3b9)],v(v({'key':_0x3ac04e},ki(_0x3a3656,_0x384fe3,_0x4f049e)),_0x292e0f),(Hi(_0x3a3656,_0x384fe3)[_0x273d6c(0x202)]||[])[_0x273d6c(0x386)](function(_0x1f857a,_0x31a6a0){const _0x1d579c=_0x273d6c;return Rt(_0x1f857a,''['concat'](_0x3ac04e,'-')['concat'](_0x3a3656[_0x1d579c(0x3b9)],'-')[_0x1d579c(0x360)](_0x31a6a0),_0x384fe3,void 0x0,_0x4f049e);}));}function ki(_0x570e25,_0x36f974,_0x284e0d){const _0x49c6f7=_0x1d7bbe;var _0x3e60b9=v({},_0x570e25['attrs']);_0x284e0d!=null&&_0x284e0d[_0x49c6f7(0x1db)]&&_0x3e60b9['fill']===_0x49c6f7(0x1db)&&(_0x3e60b9[_0x49c6f7(0x1da)]=_0x284e0d[_0x49c6f7(0x1db)]),_0x570e25[_0x49c6f7(0x3b9)]==='mask'&&_0x3e60b9['id']&&(_0x3e60b9['id']=_0x3e60b9['id']+_0x36f974[_0x49c6f7(0x1f7)]),Object['entries'](_0x3e60b9)[_0x49c6f7(0x388)](function(_0x16b9d2){const _0x1930c2=_0x49c6f7;var _0x4b2ca7=_0x16b9d2[0x0],_0x12204b=_0x16b9d2[0x1];_0x4b2ca7===_0x1930c2(0x343)&&typeof _0x12204b==_0x1930c2(0x3a3)&&(_0x3e60b9[_0x4b2ca7]=_0x12204b['replace'](/url\(#(.*)\)/,_0x1930c2(0x2f7)['concat'](_0x36f974[_0x1930c2(0x1f7)],')')));});var _0x1a8180=_0x36f974[_0x49c6f7(0x22f)];return!_0x1a8180||_0x1a8180[_0x49c6f7(0x39d)]===0x0||(_0x570e25[_0x49c6f7(0x3b9)]===_0x49c6f7(0x2f3)&&_0x3e60b9[_0x49c6f7(0x361)]&&(_0x3e60b9[_0x49c6f7(0x361)]=_0x3e60b9['xlink:href']+_0x36f974[_0x49c6f7(0x1f7)]),Object[_0x49c6f7(0x373)](_0x3e60b9)[_0x49c6f7(0x388)](function(_0x591ac4){const _0x6276b5=_0x49c6f7;var _0x99276e=_0x591ac4[0x0],_0x53d266=_0x591ac4[0x1];typeof _0x53d266=='string'&&(_0x3e60b9[_0x99276e]=_0x53d266[_0x6276b5(0x2f8)](/url\(#(.*)\)/,'url(#$1'[_0x6276b5(0x360)](_0x36f974[_0x6276b5(0x1f7)],')')));})),_0x3e60b9;}function _0x4f54(){const _0x26b08d=['saveTaskMap','_getSessionTicket','_uiPartsService','unshift','transformStateCache','runOnServer','OTHER_CLIENT_EDITING','off-line-single_clip0_910_343','_heartbeatTimer','YUUMI_RATE_OVER_LIMIT','_saveTaskMap','some','_onCursorUpdate','_transformUndoRedoStack','with','executeCommand','getViewport','unsubscribe','transform','_updateSubUnitFromURLParams','mask','RemoveColCommandId','addObjects','setParam','UNRECOGNIZED','_textBubble','override','hasOwnProperty','_setupBeforeClosingHandler','transformSelections','findNodePositionByCharIndex','getRangePointData','getMergeData','fillText','subscribeEvent','reconnect','_univerInstanceService','svg','sessionStatus$','Error','_instanceService','collabStatus.synced','LICENSE_DISTRO_REJECTED','APPLY_REJECT','univerjs-icon\x20univerjs-icon-','saveImage','unitID','evenodd','resize','concat','xlink:href','LOGIN_FAILED','DeleteRangeMoveUpCommandId','_document','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','_notificationService','APPLY_NON_SEQUENTIAL_REVISION','collabCursorState$','_localStorageService','cursorInfo$','parse','_name','getValue','unit','createSocket','fillRule','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','top','entries','mutations','univer-flex\x20univer-mr-2\x20univer-text-xl','init','collabStatus.conflict','updateOfflineData','syncEditingCollabCursor','push','registerRenderModule','disposeUnit','_imageIoService','clearInterval','LICENSE_IMPORT_SIZE_EXCEEDED','pluginName','_removeClearOtherTimer','text','_anchor','getTypeOfUnitAdded$','enableLocalCache','map','from','forEach','disableLocalCache','has','_color','getActiveSheet','subUnitId','delete','generateRandomId','apply','getCurrent','_startDocCollabCursor','_context','body','m2Prime','_initCommandExecutedListener','_themeService','indexOf','_memberService','onPointerMove$','isActive','contains','length','YUUMI_NO_CUBOID_FOR_QUESTION','WECHAT_HAS_BEEN_BOUND','measureText','transformMutationsWithChangeset','_createSocketURL','string','_handleLeaveEvent','assignAColorForMemberID','complete','_toggleOnline','_beforeCloseService','getOffsetConfig','getOwnPropertyDescriptor','5279918EriPPI','code','OnLineSingle','_transformService','YUUMI_URL_COL_OUT_OF_RANGE','startRow','newValue','height','clipPath','USERS_LEAVE','selection','_clearOtherTimers','eventID','_shapes','tag','setItem','_hover','_labelPosition','0\x200\x2016\x2016','Unknown\x20user','getConfig','result','_config','#fff','_removeCollabCursors','extend','div','defineProperty','collab-text-anchor-','currentSkeleton$','then','setConfig','roomMembers$','drawWith','show','subscribe','onPointerEnter$','_startSheetCollabCursor','requireSession','transformRemoteChangeset','_initStatusListener','SOCKET_FAILED','getParam','2726kAiwda','cursorInfo','_docTransformIMECacheService','_cursorInfo$','isEditing','pipe','redoState','makeDirty','_selfUnitIDs','isArray','on-line-single_clip0_910_349','save','max','onStarting','_getMergeRange','InsertColCommandId','_commandService','searchParams','1045RojZCP','startsWith','_online','_docSyncEditingCollabCursorService','fill','colorChannel1','_scheduleSaving','loadOfflineData','_docStateChangeManagerService','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','INVALID_INVITE_CODE','getAncestorScale','dispose','getUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','_handleHeartbeatEvent','size','bottom','_toggleOffline','InsertRangeMoveDownCommandId','_colorAssignService','selections','unload','clearTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','currentColor','get','min','getCurrentRevOfUnit','INVALID_ARGUMENT','permission.title','_getSaveTimeout','idSuffix','HEADER_MENU','_handleHover','replaceState','setActiveRange','_init','RECT','_urlService','_onRefRangeChange','_cursorShapes','getSkeleton','children','asObservable','APPLY_REVISION_CONFILICT','collaboration-client-ui.config','trim','CONFLICT','INVITE_CODE_REQUIRED','_status$','doc.mutation.rich-text-editing','2649NGEyam','substring','AWAITING_WITH_PENDING','_updateCollabCursors','add','_saveCache','data','_refreshCollabCursors','MoveRangeCommandId','column','setShapeProps','transformIMECache','getSheetId','_collabCursorController','send','ACTIVE_UNIT_EVENT_CHANNEL','_hovered','onMouseMove','_drawRectRange','_entities','prototype','PENDING','toRgbString','_initDependencies','pushState','APPLY_DUPLICATED','error','fillStyle','displayName','post','/run/','EMAIL_HAS_BEEN_BOUND','_localCacheService','url(#off-line-single_clip0_910_343)','CLOSE_ROOM','setInterval','defIds','NOT_COLLAB','onPointerLeave$','USER_NOT_INVITED_CODE','red.300','[CollaborationDataLoaderController]','arc','runId','focused$','APPLY_PERMISSION_DENIED','_cachedData','InsertRangeMoveRightCommandId','_docSkeleton','memberID','_entityInit$','LICENSE_MAX_UNITS_EXCEEDED','transformMutation','textRanges','name','event$','debug','M0\x200H16V16H0z','_docTransformStateCacheService','JOIN_ROOM_FAILED','YUUMI_AI_RUN_FAILED','onLocalMutation','SYNCED','m1Prime','_scheduleHeartbeat','_docClipboardService','url(#on-line-single_clip0_910_349)','_getScale','getFocusedUnit','path','1447977xuojvd','backgroundColor','range','_cursor','#FFF','next','VIEW_MAIN','collaboration.closeRoom','NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','attrs','_handleJoinEvent','Warning','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toString','_httpService','history','getMember','_onCursorDelete','values','unitId','_logService','color','UNIVER_DOC','setStateCache','disposeWithMe','collab-rect-range-','params','call','AWAITING','collabStatus.syncing','green.600','getActiveRange','collabStatus.notCollab','session.will-retry','getRenderById','_collabCursorState$','_roomMembers$','27172uOIcnZ','collabStatus.fetchMiss','wsSessionTicketUrl','CONNECTOR_DATA_TOO_LARGE','10OXvwyJ','OTHER_CLIENTS_EDITING','OFFLINE','width','hovered','1em','_unitStatus','beginPath','origin','YUUMI_SUBSCRIPTION_NOT_FOUND','setUndoRedoMutationParamsCache','getUnhiddenWorksheets','SNAPSHOT_HAS_BEEN_REMOVED','includes','_range','_drawAnchor','deepClone','INVITE_CODE_HAS_BEEN_UES','_updateLocalCursor','icon','none','8szeOhi','_scheduleClearOtherTimer','_transformPreviousActiveRange','_scene','ALREADY_EXISTS','_assignedColors','endRow','collab-text-range-','getCurrentSelections','sheetID','createInstance','UPDATE_CURSOR','getRelativeToViewportCoord','_handleEvent','_initEvent','_session','INTERNAL_ERROR','black','moveTo','_colorIndex','addClipboardHook','translate(.97)','skeleton','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getColorFromTheme','_disabled','_configService','sessionTicket','labelPosition','NO_OTHER_CLIENTS_EDITING','_localeService','undoState','_updateURLWithCurrentState','_sheetSkeletonManagerService','SOCKET_FAILED_RETRY','href','assign','MOBILE_HAS_BEEN_BOUND','COMPLETION_FINISHED','_ensureSubject','replaceDocRanges','YUUMI_ALL_TABLES_IS_INVALID','lineTo','symbol','_cursors','_initStatusComponent','...','uni.network.url-service','_anchorDot','[RemoteUniscriptService]:\x20no\x20focused\x20unit','dispose$','UNAUTHENTICATED','TOO_MANY_REQUESTS','_docTransformSelectionsService','roomMembers','_backgroundColor','6639084ZpBDzx','FETCH_MISS','_revisionService','currentTheme$','location','application/json','_setupSubUnitSync','collaboration-client.offline-data-not-saved','_syncEditingCollabCursorService','getCurrentUnitForType','getCellPositionByOffset','SUBMIT_CHANGESET_TIMEOUT','getUnitId','_injector','actions','off-line-single','UNDEFINED','PERMISSION_DENIED','getTypeOfUnitDisposed$','_doCreateSocket','UniverIcon','Failed','YUUMI_ASYNCIO_CANCELLED','univer-flex\x20univer-items-center','_unitOnClients','editingUnit','MUTATION','UNIVER_SHEET','activeSheet$','_docSkeletonManagerService','urlChange$','session.collaboration-timeout','_collabSessionService','ranges','addEventListener','entityInit$','row','defs','popstate','RemoveRowCommandId','_dataLoaderService','YUUMI_UNABLE_LOAD_URL','use','registerBeforeClose','setAlpha','_send','url(#$1','replace','getVpScrollXYInfoByPosToVp','getStateCache','_render','_initEntityListener','_refRangeService','split','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','getDocRanges','FromArray','addObject','imageSourceType','_registerRenderDependencies','whenReady','on-line-single','set','propertyIsEnumerable','0\x200\x2017\x2016','_drawTextRange','registerRefRange','getCollabCursors$','exhaustSavingTask','_getAnchorBounding','_id','subunit','engine','type','_messageService','function','jiqing.500','SNAPSHOT_INVALID_SNAPSHOT','startColumn','_collaborationController','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','restore','9722259FuSkth','registerComponent','_draw','_hideTimer','saveOfflineData','storage','round','13259037hSiiLc','getSheetBySheetId','_collaborationUIEventService','blue.400','InsertRowCommandId','_eventUnsubscribe','getItem','stringify','onCommandExecuted','TEXT','_initResize','OffLineSingle'];_0x4f54=function(){return _0x26b08d;};return _0x4f54();}function Hi(_0x819ff6,_0x3b121e){const _0x254464=_0x1d7bbe;var _0x47976b,_0x209cc8=_0x3b121e[_0x254464(0x22f)];return!_0x209cc8||_0x209cc8[_0x254464(0x39d)]===0x0?_0x819ff6:_0x819ff6[_0x254464(0x3b9)]==='defs'&&(!((_0x47976b=_0x819ff6[_0x254464(0x202)])===null||_0x47976b===void 0x0)&&_0x47976b[_0x254464(0x39d)])?v(v({},_0x819ff6),{'children':_0x819ff6['children'][_0x254464(0x386)](function(_0x34ea34){const _0x18af1a=_0x254464;return typeof _0x34ea34[_0x18af1a(0x25b)]['id']==_0x18af1a(0x3a3)&&_0x209cc8&&_0x209cc8[_0x18af1a(0x398)](_0x34ea34[_0x18af1a(0x25b)]['id'])>-0x1?v(v({},_0x34ea34),{'attrs':v(v({},_0x34ea34[_0x18af1a(0x25b)]),{'id':_0x34ea34[_0x18af1a(0x25b)]['id']+_0x3b121e[_0x18af1a(0x1f7)]})}):_0x34ea34;})}):_0x819ff6;}function ji(){const _0x51e887=_0x1d7bbe;return Math['random']()['toString'](0x24)[_0x51e887(0x20c)](0x2,0x8);}je['displayName']=_0x1d7bbe(0x2dd);var Yi={'tag':_0x1d7bbe(0x354),'attrs':{'fill':_0x1d7bbe(0x28f),'viewBox':_0x1d7bbe(0x3bd),'width':_0x1d7bbe(0x280),'height':_0x1d7bbe(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d7bbe(0x22c)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'stroke':'currentColor','d':_0x1d7bbe(0x371),'strokeLinecap':_0x1d7bbe(0x322),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d7bbe(0x2ee),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d7bbe(0x336)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'fill':_0x1d7bbe(0x3c2),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1d7bbe(0x336)]},Dt=_0x58d4c3(function(_0x4b4655,_0x157412){const _0x39e517=_0x1d7bbe;return _0x5586c8(je,Object[_0x39e517(0x2b5)]({},_0x4b4655,{'id':_0x39e517(0x2d8),'ref':_0x157412,'icon':Yi}));});Dt[_0x1d7bbe(0x227)]=_0x1d7bbe(0x32e);var Fi={'tag':_0x1d7bbe(0x354),'attrs':{'fill':_0x1d7bbe(0x28f),'viewBox':_0x1d7bbe(0x30a),'width':_0x1d7bbe(0x280),'height':_0x1d7bbe(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d7bbe(0x24d)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'stroke':_0x1d7bbe(0x1f0),'d':_0x1d7bbe(0x31a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d7bbe(0x2ee),'attrs':{},'children':[{'tag':_0x1d7bbe(0x3b3),'attrs':{'id':_0x1d7bbe(0x1ce)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'fill':'#fff','d':_0x1d7bbe(0x244),'transform':_0x1d7bbe(0x2a5)}}]}]}],'defIds':[_0x1d7bbe(0x1ce)]},Nt=_0x58d4c3(function(_0x189288,_0x269faf){const _0xb1b641=_0x1d7bbe;return _0x5586c8(je,Object[_0xb1b641(0x2b5)]({},_0x189288,{'id':_0xb1b641(0x307),'ref':_0x269faf,'icon':Fi}));});Nt[_0x1d7bbe(0x227)]=_0x1d7bbe(0x3ad);function Wi(_0x4ffb63){const _0x16f1a0=_0x1d7bbe;switch(_0x4ffb63){case _0x40cfa1[_0x16f1a0(0x27d)]:return'collabStatus.offline';case _0x40cfa1[_0x16f1a0(0x207)]:return _0x16f1a0(0x377);case _0x40cfa1[_0x16f1a0(0x2ca)]:return _0x16f1a0(0x278);case _0x40cfa1[_0x16f1a0(0x230)]:return _0x16f1a0(0x272);case _0x40cfa1[_0x16f1a0(0x26e)]:case _0x40cfa1[_0x16f1a0(0x20d)]:return _0x16f1a0(0x26f);case _0x40cfa1[_0x16f1a0(0x249)]:case _0x40cfa1[_0x16f1a0(0x220)]:return _0x16f1a0(0x358);}}function Vi(_0x2d4011){const _0x348bb5=_0x1d7bbe,{status$:_0x3b74da}=_0x2d4011,_0x4d9010=_0x15bea2(_0x3b74da,_0x40cfa1[_0x348bb5(0x230)]),_0x5230de=_0x20ac29(_0x12ffff),_0x251006=_0x20ac29(_0x1fd5e1),_0x260734=_0x4d9010!==_0x40cfa1[_0x348bb5(0x27d)],_0x285f4a=_0x5230de['t'](Wi(_0x4d9010)),_0x2b44a4=_0x260734?_0x349e9b(Nt,{}):_0x349e9b(Dt,{}),_0x531f19=_0x5e0ac5(()=>{const _0x246832=_0x348bb5;_0x260734||_0x251006[_0x246832(0x352)]();},[_0x260734,_0x251006]);function _0x7ceec1(){const _0x12cadc=_0x348bb5;return _0x199e54('div',{'className':_0x12cadc(0x2e0),'onClick':_0x531f19,'children':[_0x349e9b(_0x12cadc(0x3c5),{'className':_0x3b9583(_0x12cadc(0x375),_0x260734?'univer-text-green-500':'univer-text-red-500'),'children':_0x2b44a4}),_0x349e9b(_0x12cadc(0x3c5),{'className':_0x12cadc(0x365),'children':_0x285f4a})]});}return _0x260734?_0x7ceec1():_0x349e9b(_0x48a50f,{'title':_0x5230de['t']('collab-client.tooltip.reconnect'),'children':_0x7ceec1()});}var Xi=Object[_0x1d7bbe(0x3aa)],Gi=(_0x6605de,_0x28d19d,_0xb5ed30,_0x5c02fe)=>{const _0x50e341=_0x1d7bbe;for(var _0x4f4e39=_0x5c02fe>0x1?void 0x0:_0x5c02fe?Xi(_0x28d19d,_0xb5ed30):_0x28d19d,_0x536af8=_0x6605de[_0x50e341(0x39d)]-0x1,_0x53ba0c;_0x536af8>=0x0;_0x536af8--)(_0x53ba0c=_0x6605de[_0x536af8])&&(_0x4f4e39=_0x53ba0c(_0x4f4e39)||_0x4f4e39);return _0x4f4e39;},Q=(_0x499329,_0x434a49)=>(_0x1f01ed,_0x3f3b40)=>_0x434a49(_0x1f01ed,_0x3f3b40,_0x499329);let te=class extends _0x426733{constructor(_0x5b7b13,_0x2f0204,_0x420ae1,_0x28a07d){const _0x4c77f8=_0x1d7bbe;super(),_(this,_0x4c77f8(0x209),new _0x2ac3e2(_0x40cfa1[_0x4c77f8(0x230)])),(this['_univerInstanceService']=_0x5b7b13,this['_injector']=_0x2f0204,this[_0x4c77f8(0x319)]=_0x420ae1,this[_0x4c77f8(0x331)]=_0x28a07d,this[_0x4c77f8(0x2be)](),this[_0x4c77f8(0x1c1)]());}[_0x1d7bbe(0x1c1)](){const _0x1382b=_0x1d7bbe;this['disposeWithMe'](this['_univerInstanceService'][_0x1382b(0x237)][_0x1382b(0x1c9)](_0x182269(()=>{const _0x41f227=_0x1382b,_0x2cc484=this[_0x41f227(0x353)]['getFocusedUnit']();return _0x2cc484?this['_collaborationController']['getCollabEntity$'](_0x2cc484[_0x41f227(0x2d5)]()):_0x5b4338(null);}),_0x182269(_0x267921=>_0x267921?_0x267921['status$']:_0x5b4338(_0x40cfa1[_0x1382b(0x230)])))['subscribe'](_0x31713e=>{const _0x2c2ff3=_0x1382b;this[_0x2c2ff3(0x209)][_0x2c2ff3(0x256)](_0x31713e);}));}[_0x1d7bbe(0x2be)](){const _0xd232ec=_0x1d7bbe;this[_0xd232ec(0x26a)](this['_uiPartsService'][_0xd232ec(0x31d)](_0x2ccf90[_0xd232ec(0x1f8)],()=>_0x5a755d(Ki({'status$':this[_0xd232ec(0x209)][_0xd232ec(0x203)]()}),this[_0xd232ec(0x2d6)])));}};te=Gi([Q(0x0,_0x3888fb),Q(0x1,_0x3c7534(_0xa07411)),Q(0x2,_0x3c7534(_0x280f5f)),Q(0x3,_0x3883bd)],te);function Ki(_0x47bc2e){const {status$:_0x547859}=_0x47bc2e;return function(){return _0x349e9b(Vi,{'status$':_0x547859});};}var zi=Object[_0x1d7bbe(0x3aa)],Ji=(_0x10cde4,_0x209211,_0x2b66a6,_0x1b0a82)=>{const _0x341338=_0x1d7bbe;for(var _0x1650f2=_0x1b0a82>0x1?void 0x0:_0x1b0a82?zi(_0x209211,_0x2b66a6):_0x209211,_0x26a78f=_0x10cde4[_0x341338(0x39d)]-0x1,_0x52c241;_0x26a78f>=0x0;_0x26a78f--)(_0x52c241=_0x10cde4[_0x26a78f])&&(_0x1650f2=_0x52c241(_0x1650f2)||_0x1650f2);return _0x1650f2;},B=(_0x1442fb,_0x1d974b)=>(_0x3f349d,_0x5ce088)=>_0x1d974b(_0x3f349d,_0x5ce088,_0x1442fb);let se=class extends _0x426733{constructor(_0x212ae9,_0x4ad680,_0x133b58,_0x32e1d6,_0x45170a,_0x36e4d7){const _0x4ab3e7=_0x1d7bbe;super(),this[_0x4ab3e7(0x3a8)]=_0x212ae9,this[_0x4ab3e7(0x22b)]=_0x4ad680,this[_0x4ab3e7(0x325)]=_0x133b58,this[_0x4ab3e7(0x314)]=_0x32e1d6,this[_0x4ab3e7(0x366)]=_0x45170a,this[_0x4ab3e7(0x2af)]=_0x36e4d7,this[_0x4ab3e7(0x34b)](),this[_0x4ab3e7(0x29e)]();}[_0x1d7bbe(0x34b)](){const _0x1a20b5=_0x1d7bbe;this[_0x1a20b5(0x26a)](this[_0x1a20b5(0x3a8)][_0x1a20b5(0x2f4)](()=>{const _0x43e9e5=_0x1a20b5;if(this['_localCacheService'][_0x43e9e5(0x32f)][_0x43e9e5(0x1e7)])return this[_0x43e9e5(0x2af)]['t'](_0x43e9e5(0x2d0));}));}[_0x1d7bbe(0x29e)](){const _0x437ebc=_0x1d7bbe;this[_0x437ebc(0x26a)](this[_0x437ebc(0x325)][_0x437ebc(0x242)][_0x437ebc(0x3ce)](_0x41e143=>{const _0x1c20ec=_0x437ebc;_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x335)]&&this['_messageService'][_0x1c20ec(0x3cd)]({'type':_0x33b9eb['Warning'],'content':this[_0x1c20ec(0x2af)]['t']('collaboration.single-unit.warning')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x22d)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this['_localeService']['t'](_0x1c20ec(0x258))}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2da)]&&this[_0x1c20ec(0x366)][_0x1c20ec(0x3cd)]({'title':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x1f5)),'content':this[_0x1c20ec(0x2af)]['t']('permission.content'),'type':_0x1c20ec(0x225),'duration':0x0}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x207)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x356)],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x258))+'('+_0x41e143[_0x1c20ec(0x211)]+')'}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x246)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this[_0x1c20ec(0x2af)]['t'](_0x41e143[_0x1c20ec(0x211)]||'')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2b3)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x273))}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x1c2)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x356)],'content':this[_0x1c20ec(0x2af)]['t']('session.connection-failed')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2d4)]&&this['_messageService']['show']({'type':_0x33b9eb['Error'],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x2e8))});}));}};se=Ji([B(0x0,_0x5dc7ed),B(0x1,_0x535fa0),B(0x2,_0x3c7534(_0x3afd93)),B(0x3,_0x219866),B(0x4,_0x39a609),B(0x5,_0x3c7534(_0x12ffff))],se);const Zi=_0x1d7bbe(0x205),et={},Ut=_0x5da789(_0x1d7bbe(0x2c0));var Qi=Object[_0x1d7bbe(0x3aa)],qi=(_0x47d1b5,_0x5c408c,_0x10bbc9,_0x586625)=>{const _0xb09282=_0x1d7bbe;for(var _0x50857b=_0x586625>0x1?void 0x0:_0x586625?Qi(_0x5c408c,_0x10bbc9):_0x5c408c,_0x3b31f7=_0x47d1b5[_0xb09282(0x39d)]-0x1,_0x27c00d;_0x3b31f7>=0x0;_0x3b31f7--)(_0x27c00d=_0x47d1b5[_0x3b31f7])&&(_0x50857b=_0x27c00d(_0x50857b)||_0x50857b);return _0x50857b;},G=(_0x554c80,_0x473e8a)=>(_0x319759,_0x462f39)=>_0x473e8a(_0x319759,_0x462f39,_0x554c80);let ie=class extends _0x58bba7{constructor(_0x49ae24,_0x2a0130,_0x2383d8,_0x156a5a,_0x38a2c3){const _0x130c65=_0x1d7bbe;super(),this[_0x130c65(0x1fe)]=_0x49ae24,this[_0x130c65(0x266)]=_0x2a0130,this[_0x130c65(0x1d4)]=_0x2383d8,this[_0x130c65(0x2f1)]=_0x156a5a,_0x38a2c3?_0x38a2c3==null||_0x38a2c3[_0x130c65(0x306)]()[_0x130c65(0x3c9)](()=>this[_0x130c65(0x1fc)]()):(this[_0x130c65(0x266)][_0x130c65(0x243)](_0x130c65(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x130c65(0x1fc)]());}async['_init'](){const _0x13d499=_0x1d7bbe,_0x1330d0=this['_urlService'][_0x13d499(0x1c3)]('unit'),_0x1e56f8=this[_0x13d499(0x1fe)][_0x13d499(0x1c3)](_0x13d499(0x313)),_0x1b25f7=this[_0x13d499(0x1fe)]['getParam'](_0x13d499(0x311));if(!_0x1330d0||!_0x1e56f8){this[_0x13d499(0x266)]['debug'](_0x13d499(0x234),_0x13d499(0x2a7));return;}const _0x1f3403=await this['_dataLoaderService']['loadUnit'](_0x1330d0,Number(_0x1e56f8),_0x1b25f7);_0x1f3403&&_0x1f3403 instanceof _0x3f69b7&&this[_0x13d499(0x2cf)](_0x1f3403);}async[_0x1d7bbe(0x2cf)](_0x3341dd){const _0x528d2b=_0x1d7bbe;await this[_0x528d2b(0x342)](_0x3341dd),_0x3341dd[_0x528d2b(0x2e5)][_0x528d2b(0x1c9)](_0x4b7757(this[_0x528d2b(0x2c3)]))[_0x528d2b(0x3ce)](_0x5c8744=>{const _0x1c200b=_0x528d2b;_0x5c8744&&this[_0x1c200b(0x2b1)](_0x5c8744);}),this['_urlService']['urlChange$'][_0x528d2b(0x1c9)](_0x4b7757(this[_0x528d2b(0x2c3)]))[_0x528d2b(0x3ce)](()=>this['_updateSubUnitFromURLParams'](_0x3341dd));}[_0x1d7bbe(0x2b1)](_0x597edd,_0x24d6bd=!0x1){const _0x35130e=_0x1d7bbe,_0x4151c1=this['_urlService'][_0x35130e(0x1c3)](_0x35130e(0x311));_0x597edd['getSheetId']()!==_0x4151c1&&this[_0x35130e(0x1fe)][_0x35130e(0x346)](_0x35130e(0x311),_0x597edd[_0x35130e(0x217)](),_0x24d6bd);}async[_0x1d7bbe(0x342)](_0x5da2a9){const _0x245da6=_0x1d7bbe;var _0xd4a604;const _0x4707f3=this[_0x245da6(0x1fe)]['getParam'](_0x245da6(0x311));if(!_0x4707f3||!_0x5da2a9[_0x245da6(0x324)](_0x4707f3)){const _0x54762a=_0x5da2a9[_0x245da6(0x286)]()[0x0],_0x2839de=_0x5da2a9[_0x245da6(0x324)](_0x54762a);if(!_0x2839de)return;this['_updateURLWithCurrentState'](_0x2839de,!0x0),await this[_0x245da6(0x1d4)][_0x245da6(0x33e)](_0x5e2671['id'],{'unitId':_0x5da2a9['getUnitId'](),'subUnitId':_0x54762a});return;}((_0xd4a604=_0x5da2a9[_0x245da6(0x38c)]())==null?void 0x0:_0xd4a604['getSheetId']())!==_0x4707f3&&await this[_0x245da6(0x1d4)]['executeCommand'](_0x5e2671['id'],{'unitId':_0x5da2a9['getUnitId'](),'subUnitId':_0x4707f3});}};ie=qi([G(0x0,Ut),G(0x1,_0x4b41a6),G(0x2,_0x1abf6a),G(0x3,_0x3c7534(_0x4042d9)),G(0x4,_0x8e7d33(_0x171e02))],ie);var en=Object[_0x1d7bbe(0x3aa)],tn=(_0x189b70,_0x41ced5,_0x825974,_0x24a4d7)=>{for(var _0x7b6c6a=_0x24a4d7>0x1?void 0x0:_0x24a4d7?en(_0x41ced5,_0x825974):_0x41ced5,_0x117161=_0x189b70['length']-0x1,_0x3318b1;_0x117161>=0x0;_0x117161--)(_0x3318b1=_0x189b70[_0x117161])&&(_0x7b6c6a=_0x3318b1(_0x7b6c6a)||_0x7b6c6a);return _0x7b6c6a;},pe=(_0x21460f,_0x2c2981)=>(_0x28f9f2,_0x5a79b9)=>_0x2c2981(_0x28f9f2,_0x5a79b9,_0x21460f);let ne=class{constructor(_0x2ab689,_0x39d8f0,_0x3f9f4e){const _0x43e4e5=_0x1d7bbe;this[_0x43e4e5(0x2d6)]=_0x2ab689,this[_0x43e4e5(0x3ae)]=_0x39d8f0,this['_renderManagerService']=_0x3f9f4e;}['transformIMECache'](_0x449890){const _0x37d154=_0x1d7bbe;this[_0x37d154(0x33c)](_0x449890),this['_transformPreviousActiveRange'](_0x449890);}[_0x1d7bbe(0x1c0)](_0x540053){const _0x365f33=_0x1d7bbe,{unitID:_0x86efbb}=_0x540053,_0x59cc14=this['_renderManagerService']['getRenderById'](_0x86efbb)[_0x365f33(0x33d)](_0x320b24),{redoCache:_0x42fa9f}=_0x59cc14[_0x365f33(0x1e4)]();if(_0x42fa9f[_0x365f33(0x39d)]===0x0)return _0x540053;let _0x1847da=_0xe70050['deepClone'](_0x540053['mutations'][0x0]);for(let _0x1e2579=0x0;_0x1e2579<_0x42fa9f[_0x365f33(0x39d)];_0x1e2579++){const _0x4ee688={'id':_0x365f33(0x20a),'params':{..._0x42fa9f[_0x1e2579]}},_0x417ff6=this[_0x365f33(0x3ae)][_0x365f33(0x23f)](_0x1847da,_0x4ee688,!0x1);if(_0x1da839(_0x417ff6))throw _0x417ff6['error'];_0x1847da=_0x417ff6[_0x365f33(0x24a)];}return{..._0xe70050[_0x365f33(0x28b)](_0x540053),'mutations':[_0x1847da]};}[_0x1d7bbe(0x33c)](_0xfcb34c){const _0x595879=_0x1d7bbe,{unitID:_0x40830f}=_0xfcb34c,_0x348dc2=this[_0x595879(0x2ff)]['getRenderById'](_0x40830f)[_0x595879(0x33d)](_0x320b24),{undoCache:_0x4b2be1,redoCache:_0x3996f8}=_0x348dc2[_0x595879(0x1e4)]();if(_0x4b2be1['length']===0x0||_0x3996f8[_0x595879(0x39d)]===0x0)return;const _0x557ee5=[],_0x335dd2=[];let _0x154105=_0xe70050[_0x595879(0x28b)](_0xfcb34c['mutations'][0x0]),_0x4f1676=_0xe70050['deepClone'](_0xfcb34c['mutations'][0x0]);for(let _0x5e7bbb=_0x4b2be1[_0x595879(0x39d)]-0x1;_0x5e7bbb>=0x0;_0x5e7bbb--){const _0x4627fe={'id':_0x595879(0x20a),'params':{..._0x4b2be1[_0x5e7bbb]}},_0x1561b8={'id':_0x595879(0x20a),'params':{..._0x3996f8[_0x5e7bbb]}},_0x4488f3=this[_0x595879(0x3ae)][_0x595879(0x23f)](_0x154105,_0x4627fe,!0x1),_0x23cb86=this[_0x595879(0x3ae)][_0x595879(0x23f)](_0x4f1676,_0x1561b8,!0x1);if(_0x1da839(_0x4488f3))throw _0x4488f3[_0x595879(0x225)];if(_0x1da839(_0x23cb86))throw _0x23cb86[_0x595879(0x225)];_0x557ee5[_0x595879(0x332)](_0x4488f3['m2Prime'][_0x595879(0x26c)]),_0x335dd2[_0x595879(0x332)](_0x23cb86['m2Prime'][_0x595879(0x26c)]),_0x154105=_0x4488f3['m1Prime'],_0x4f1676=_0x23cb86['m1Prime'];}_0x348dc2[_0x595879(0x285)]({'undoCache':_0x557ee5,'redoCache':_0x335dd2});}[_0x1d7bbe(0x292)](_0x45f807){const _0x147dc3=_0x1d7bbe,{unitID:_0xd09e71}=_0x45f807,_0x2371a5=this['_renderManagerService'][_0x147dc3(0x274)](_0xd09e71)['with'](_0x320b24),_0x413231=_0x2371a5[_0x147dc3(0x271)]();if(_0x413231==null)return;const _0x19255d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45f807[_0x147dc3(0x35d)],'actions':null,'textRanges':[_0x413231]}}],_0x57e93e=this['_transformService'][_0x147dc3(0x3a1)](_0x45f807,_0x19255d);if(!_0x371959(_0x57e93e))throw _0x57e93e['error'];const _0x433dfa=_0x57e93e[_0x147dc3(0x395)][0x0][_0x147dc3(0x26c)][_0x147dc3(0x240)];Array[_0x147dc3(0x1cd)](_0x433dfa)&&_0x433dfa[_0x147dc3(0x39d)]&&_0x2371a5[_0x147dc3(0x1fb)](_0x433dfa[0x0]);}};ne=tn([pe(0x0,_0x3c7534(_0xa07411)),pe(0x1,_0xe6a3f5),pe(0x2,_0x1de120)],ne);var sn=Object[_0x1d7bbe(0x3aa)],nn=(_0x39e732,_0x309f1f,_0x48087d,_0x48d55e)=>{const _0x501457=_0x1d7bbe;for(var _0x2acfea=_0x48d55e>0x1?void 0x0:_0x48d55e?sn(_0x309f1f,_0x48087d):_0x309f1f,_0x44fe6d=_0x39e732[_0x501457(0x39d)]-0x1,_0xe16a99;_0x44fe6d>=0x0;_0x44fe6d--)(_0xe16a99=_0x39e732[_0x44fe6d])&&(_0x2acfea=_0xe16a99(_0x2acfea)||_0x2acfea);return _0x2acfea;},Ce=(_0x47bec4,_0x390d37)=>(_0xd3cb83,_0x377d26)=>_0x390d37(_0xd3cb83,_0x377d26,_0x47bec4);let re=class{constructor(_0x550ae3,_0x786741,_0x4429aa){const _0x4cfe1e=_0x1d7bbe;this[_0x4cfe1e(0x2d6)]=_0x550ae3,this['_transformService']=_0x786741,this['_docStateChangeManagerService']=_0x4429aa;}['transformStateCache'](_0x374b91){this['_transformHistoryAndStateStack'](_0x374b91);}['transformRemoteChangeset'](_0x3f42e8){const _0x13b1bc=_0x1d7bbe,{unitID:_0x3eee01}=_0x3f42e8,{collaboration:_0xcef84d}=this['_docStateChangeManagerService'][_0x13b1bc(0x2fa)](_0x3eee01);if(_0xcef84d[_0x13b1bc(0x39d)]===0x0)return _0x3f42e8;let _0x4626ff=_0xe70050['deepClone'](_0x3f42e8[_0x13b1bc(0x374)][0x0]);for(let _0x1bd3c6=0x0;_0x1bd3c6<_0xcef84d[_0x13b1bc(0x39d)];_0x1bd3c6++){const _0x5402df={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcef84d[_0x1bd3c6][_0x13b1bc(0x265)],..._0xcef84d[_0x1bd3c6]['redoState']}},_0x356ece=this[_0x13b1bc(0x3ae)][_0x13b1bc(0x23f)](_0x4626ff,_0x5402df,!0x1);if(_0x1da839(_0x356ece))throw _0x356ece[_0x13b1bc(0x225)];_0x4626ff=_0x356ece[_0x13b1bc(0x24a)];}return{..._0xe70050[_0x13b1bc(0x28b)](_0x3f42e8),'mutations':[_0x4626ff]};}[_0x1d7bbe(0x1e0)](_0x5a32ac){const _0x43dc6d=_0x1d7bbe,{unitID:_0x3b996f}=_0x5a32ac,{history:_0x428018,collaboration:_0x184ff0}=this[_0x43dc6d(0x1de)][_0x43dc6d(0x2fa)](_0x3b996f);if(_0x428018[_0x43dc6d(0x39d)]===0x0&&_0x184ff0[_0x43dc6d(0x39d)]===0x0)return;const _0x13d409=[],_0x42cb19=[];let _0x5c3850=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]),_0x275a27=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]);for(let _0x22ab18=_0x428018['length']-0x1;_0x22ab18>=0x0;_0x22ab18--){const _0x4ad7c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x428018[_0x22ab18][_0x43dc6d(0x265)],..._0x428018[_0x22ab18]['undoState']}},_0x3fc5db={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x428018[_0x22ab18]['unitId'],..._0x428018[_0x22ab18][_0x43dc6d(0x1ca)]}},_0x44e5f4=this['_transformService'][_0x43dc6d(0x23f)](_0x5c3850,_0x4ad7c8,!0x1),_0x2d33b9=this[_0x43dc6d(0x3ae)][_0x43dc6d(0x23f)](_0x275a27,_0x3fc5db,!0x1);if(_0x1da839(_0x44e5f4))throw _0x44e5f4[_0x43dc6d(0x225)];if(_0x1da839(_0x2d33b9))throw _0x2d33b9[_0x43dc6d(0x225)];_0x13d409[_0x43dc6d(0x332)]({..._0x428018[_0x22ab18],'undoState':_0x44e5f4[_0x43dc6d(0x395)]['params'],'redoState':_0x2d33b9[_0x43dc6d(0x395)][_0x43dc6d(0x26c)]}),_0x5c3850=_0x44e5f4[_0x43dc6d(0x24a)],_0x275a27=_0x2d33b9['m1Prime'];}_0x5c3850=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]),_0x275a27=_0xe70050['deepClone'](_0x5a32ac[_0x43dc6d(0x374)][0x0]);for(let _0x172eee=_0x184ff0[_0x43dc6d(0x39d)]-0x1;_0x172eee>=0x0;_0x172eee--){const _0x5f0385={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x184ff0[_0x172eee][_0x43dc6d(0x265)],..._0x184ff0[_0x172eee][_0x43dc6d(0x2b0)]}},_0x3576c2={'id':_0x43dc6d(0x20a),'params':{'unitId':_0x184ff0[_0x172eee][_0x43dc6d(0x265)],..._0x184ff0[_0x172eee][_0x43dc6d(0x1ca)]}},_0x34870d=this[_0x43dc6d(0x3ae)]['transformMutation'](_0x5c3850,_0x5f0385,!0x1),_0x1b9705=this[_0x43dc6d(0x3ae)][_0x43dc6d(0x23f)](_0x275a27,_0x3576c2,!0x1);if(_0x1da839(_0x34870d))throw _0x34870d['error'];if(_0x1da839(_0x1b9705))throw _0x1b9705[_0x43dc6d(0x225)];_0x42cb19[_0x43dc6d(0x332)]({..._0x184ff0[_0x172eee],'undoState':_0x34870d[_0x43dc6d(0x395)][_0x43dc6d(0x26c)],'redoState':_0x1b9705[_0x43dc6d(0x395)][_0x43dc6d(0x26c)]}),_0x5c3850=_0x34870d[_0x43dc6d(0x24a)],_0x275a27=_0x1b9705[_0x43dc6d(0x24a)];}this[_0x43dc6d(0x1de)][_0x43dc6d(0x269)](_0x3b996f,{'history':_0x13d409,'collaboration':_0x42cb19});}};re=nn([Ce(0x0,_0x3c7534(_0xa07411)),Ce(0x1,_0xe6a3f5),Ce(0x2,_0x3c7534(_0x4b01d4))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x5510ab,_0x246152,_0x4e5b04,_0x331680)=>{const _0x23b104=_0x1d7bbe;for(var _0x1180b2=_0x331680>0x1?void 0x0:_0x331680?rn(_0x246152,_0x4e5b04):_0x246152,_0x38992a=_0x5510ab[_0x23b104(0x39d)]-0x1,_0x254889;_0x38992a>=0x0;_0x38992a--)(_0x254889=_0x5510ab[_0x38992a])&&(_0x1180b2=_0x254889(_0x1180b2)||_0x1180b2);return _0x1180b2;},tt=(_0x1f12e9,_0x2b4361)=>(_0x3b4eee,_0x1ac07d)=>_0x2b4361(_0x3b4eee,_0x1ac07d,_0x1f12e9);let oe=class{constructor(_0x17f44d,_0x44766e){const _0x101288=_0x1d7bbe;this[_0x101288(0x2d6)]=_0x17f44d,this[_0x101288(0x3ae)]=_0x44766e;}[_0x1d7bbe(0x34c)](_0x543e13){const _0x48f66f=_0x1d7bbe;var _0x477265;const _0x4d5353=this[_0x48f66f(0x2d6)][_0x48f66f(0x1f1)](_0x25837d),_0x1264d5=(_0x477265=_0x4d5353['getDocRanges']())!=null?_0x477265:[];if(_0x1264d5['length']===0x0)return;const _0x29379f=_0x543e13[_0x48f66f(0x35d)],_0x4baca3=[{'id':_0x48f66f(0x20a),'params':{'unitId':_0x29379f,'actions':null,'textRanges':_0x1264d5}}],_0x5e2015=this[_0x48f66f(0x3ae)][_0x48f66f(0x3a1)](_0x543e13,_0x4baca3);if(!_0x371959(_0x5e2015))throw _0x5e2015['error'];const _0x311394=_0x5e2015[_0x48f66f(0x395)][0x0][_0x48f66f(0x26c)][_0x48f66f(0x240)];Array[_0x48f66f(0x1cd)](_0x311394)&&_0x311394[_0x48f66f(0x39d)]&&_0x4d5353[_0x48f66f(0x2b9)](_0x311394,{'unitId':_0x29379f,'subUnitId':_0x29379f},!0x1);}};oe=on([tt(0x0,_0x3c7534(_0xa07411)),tt(0x1,_0xe6a3f5)],oe);var an=Object[_0x1d7bbe(0x3aa)],cn=(_0x464460,_0x56f6ec,_0x5b92e7,_0x17b097)=>{const _0x416625=_0x1d7bbe;for(var _0x565042=_0x17b097>0x1?void 0x0:_0x17b097?an(_0x56f6ec,_0x5b92e7):_0x56f6ec,_0x2c9938=_0x464460[_0x416625(0x39d)]-0x1,_0x51c461;_0x2c9938>=0x0;_0x2c9938--)(_0x51c461=_0x464460[_0x2c9938])&&(_0x565042=_0x51c461(_0x565042)||_0x565042);return _0x565042;},U=(_0x2a1060,_0x129f29)=>(_0x12b867,_0x166ffe)=>_0x129f29(_0x12b867,_0x166ffe,_0x2a1060);let ae=class extends _0x426733{constructor(_0x168a93,_0x480c7e,_0x12abe4,_0x2e0587,_0xbccf67,_0x68a4f4,_0x454784,_0x3db7ab){const _0x2ee490=_0x1d7bbe;super(),_(this,_0x2ee490(0x209),new _0x2ac3e2(_0x40cfa1[_0x2ee490(0x230)])),(this['_docStateChangeManagerService']=_0x168a93,this[_0x2ee490(0x319)]=_0x480c7e,this['_docTransformIMECacheService']=_0x12abe4,this[_0x2ee490(0x245)]=_0x2e0587,this[_0x2ee490(0x2c6)]=_0xbccf67,this[_0x2ee490(0x1d9)]=_0x68a4f4,this['_messageService']=_0x454784,this[_0x2ee490(0x2af)]=_0x3db7ab,this['_initEntityListener']());}[_0x1d7bbe(0x2fc)](){const _0x3c6482=_0x1d7bbe;this[_0x3c6482(0x26a)](this[_0x3c6482(0x319)][_0x3c6482(0x2ec)][_0x3c6482(0x3ce)](_0x56909c=>{const _0x2ca61e=_0x3c6482,_0x72e27b=this[_0x2ca61e(0x1de)]['docStateChange$']['subscribe'](_0xd6811f=>{const _0x1b3201=_0x2ca61e;if(_0xd6811f==null)return;const {unitId:_0x8fa57,redoState:_0xc3a7a0,commandId:_0x541269}=_0xd6811f;if(_0x8fa57!==_0x56909c[_0x1b3201(0x35d)])return;const _0x2e479c={'id':_0x541269,'type':_0x179b10[_0x1b3201(0x2e3)],'params':{'unitId':_0x8fa57,'actions':_0xc3a7a0[_0x1b3201(0x2d7)],'textRanges':null}};_0x56909c[_0x1b3201(0x248)](_0x2e479c);});if(_0x56909c[_0x2ca61e(0x26a)](_0x72e27b),_0x56909c instanceof _0x2b46ca){const _0x1a1b57={'onTransformIME':_0xde3c0f=>this[_0x2ca61e(0x1c6)][_0x2ca61e(0x216)](_0xde3c0f),'onTransformState':_0x7c1fbc=>this[_0x2ca61e(0x245)][_0x2ca61e(0x333)](_0x7c1fbc),'onTransformSelections':_0x28abb6=>this[_0x2ca61e(0x2c6)]['transformSelections'](_0x28abb6),'onSyncEditingCollabCursor':_0x5e2315=>this['_docSyncEditingCollabCursorService'][_0x2ca61e(0x379)](_0x5e2315),'onTransformRemoteChangesetByIMECache':_0xb7f137=>this[_0x2ca61e(0x1c6)][_0x2ca61e(0x1c0)](_0xb7f137),'onTransformRemoteChangesetByStateCache':_0x14f85a=>this[_0x2ca61e(0x245)]['transformRemoteChangeset'](_0x14f85a)};_0x56909c['addHandlerCallback'](_0x1a1b57);}}));}};ae=cn([U(0x0,_0x3c7534(_0x4b01d4)),U(0x1,_0x3c7534(_0x280f5f)),U(0x2,_0x3c7534(ne)),U(0x3,_0x3c7534(re)),U(0x4,_0x3c7534(oe)),U(0x5,_0x3c7534(He)),U(0x6,_0x219866),U(0x7,_0x3c7534(_0x12ffff))],ae);var ln=Object[_0x1d7bbe(0x3aa)],_n=(_0x367aaa,_0x23a0d0,_0x449fce,_0x5baa6f)=>{const _0x98a302=_0x1d7bbe;for(var _0x518522=_0x5baa6f>0x1?void 0x0:_0x5baa6f?ln(_0x23a0d0,_0x449fce):_0x23a0d0,_0xa8d686=_0x367aaa[_0x98a302(0x39d)]-0x1,_0x55c5f4;_0xa8d686>=0x0;_0xa8d686--)(_0x55c5f4=_0x367aaa[_0xa8d686])&&(_0x518522=_0x55c5f4(_0x518522)||_0x518522);return _0x518522;},Ee=(_0x42e581,_0x319cd7)=>(_0x45dfb6,_0x58c27d)=>_0x319cd7(_0x45dfb6,_0x58c27d,_0x42e581);let we=class extends _0x426733{constructor(_0x555b80,_0x353368,_0x2b4e33){const _0x40db26=_0x1d7bbe;super(),_(this,_0x40db26(0x239),new Map()),_(this,_0x40db26(0x339),new Map()),_(this,'_disabled',!0x1),(this[_0x40db26(0x2ab)]=_0x555b80,this[_0x40db26(0x369)]=_0x353368,this[_0x40db26(0x2cb)]=_0x2b4e33);}[_0x1d7bbe(0x389)](){this['_disabled']=!0x0;}[_0x1d7bbe(0x385)](){const _0x19584c=_0x1d7bbe;this[_0x19584c(0x2aa)]=!0x1;}get[_0x1d7bbe(0x32f)](){const _0xaf0eeb=_0x1d7bbe;return this[_0xaf0eeb(0x339)];}['dispose'](){const _0x196e9c=_0x1d7bbe;this[_0x196e9c(0x30e)]()[_0x196e9c(0x3c9)](()=>super['dispose']());}async[_0x1d7bbe(0x1dd)](_0x466e20){const _0x24f269=_0x1d7bbe;return this[_0x24f269(0x2aa)]?null:this[_0x24f269(0x369)][_0x24f269(0x329)](_0x4458d5(_0x466e20));}async[_0x1d7bbe(0x320)](_0x5e8e56,_0x3ff8a1){const _0x447100=_0x1d7bbe;return!!this[_0x447100(0x369)]['setItem'](_0x5e8e56,_0x3ff8a1);}[_0x1d7bbe(0x378)](_0x319b1f,_0x5bae7a,_0x33fac1,_0x33f3d9){const _0x312885=_0x1d7bbe,_0x1cb7bf=this[_0x312885(0x2cb)][_0x312885(0x1f3)](_0x319b1f);this[_0x312885(0x239)][_0x312885(0x308)](_0x319b1f,{'unitID':_0x319b1f,'type':_0x5bae7a,'awaitingChangeset':_0x33fac1,'mutations':_0x33f3d9,'rev':_0x1cb7bf}),this[_0x312885(0x339)][_0x312885(0x38a)](_0x319b1f)||this[_0x312885(0x1dc)](_0x319b1f);}['_scheduleSaving'](_0x2268f4){const _0xc9e6b6=_0x1d7bbe,_0x580586=this[_0xc9e6b6(0x1f6)]();_0x580586===0x0?this[_0xc9e6b6(0x210)](_0x2268f4):this[_0xc9e6b6(0x339)]['set'](_0x2268f4,setTimeout(()=>this['_saveCache'](_0x2268f4),_0x580586));}['_getSaveTimeout'](){const _0x2aa53d=_0x1d7bbe;var _0x101b41;return(_0x101b41=this[_0x2aa53d(0x2ab)][_0x2aa53d(0x3bf)](_0x5f52bd))!=null?_0x101b41:_0x3ad861;}[_0x1d7bbe(0x210)](_0x5a3fcc){const _0xdb60d=_0x1d7bbe,_0x5a3c72=this[_0xdb60d(0x339)][_0xdb60d(0x1f1)](_0x5a3fcc);return _0x5a3c72!==void 0x0&&window['clearTimeout'](_0x5a3c72),this[_0xdb60d(0x369)][_0xdb60d(0x3ba)](_0x4458d5(_0x5a3fcc),this[_0xdb60d(0x239)][_0xdb60d(0x1f1)](_0x5a3fcc))[_0xdb60d(0x3c9)](()=>this[_0xdb60d(0x339)]['delete'](_0x5a3fcc));}async[_0x1d7bbe(0x30e)](){const _0x344d4d=_0x1d7bbe,_0x5e9160=[];this[_0x344d4d(0x339)][_0x344d4d(0x388)]((_0x5a873e,_0x429054)=>{const _0x27ddc6=_0x344d4d;window[_0x27ddc6(0x1ee)](_0x5a873e),_0x5e9160[_0x27ddc6(0x37a)](this[_0x27ddc6(0x210)](_0x429054)[_0x27ddc6(0x3c9)](()=>{const _0x5013ee=_0x27ddc6;this[_0x5013ee(0x339)][_0x5013ee(0x38e)](_0x429054);}));}),await Promise['all'](_0x5e9160);}};we=_n([Ee(0x0,_0x1e2cfe),Ee(0x1,_0x118257),Ee(0x2,_0x3c7534(_0x9f287a))],we);class hn extends _0x58bba7{constructor(){const _0x1e4ba7=_0x1d7bbe;super(),_(this,_0x1e4ba7(0x2e7)),this['urlChange$']=_0x1dc596(window,_0x1e4ba7(0x2ef))[_0x1e4ba7(0x1c9)](_0x4b7757(this[_0x1e4ba7(0x2c3)]),_0x3b2e8f(0x1),_0x2c2792(void 0x0));}[_0x1d7bbe(0x346)](_0x47c9da,_0x29819e,_0x37ada8=!0x1){const _0x169840=_0x1d7bbe,_0x3fc9f4=new URL(window['location']['href']);_0x3fc9f4['searchParams'][_0x169840(0x308)](_0x47c9da,_0x29819e),_0x37ada8?window[_0x169840(0x261)][_0x169840(0x1fa)]('','',_0x3fc9f4[_0x169840(0x25f)]()):window[_0x169840(0x261)][_0x169840(0x223)]('','',_0x3fc9f4['toString']());}['removeParam'](_0x37e748,_0x303477=!0x1){const _0x26cc91=_0x1d7bbe,_0x504fcf=new URL(window[_0x26cc91(0x2cd)]['href']);_0x504fcf['searchParams'][_0x26cc91(0x38e)](_0x37e748),_0x303477?window[_0x26cc91(0x261)][_0x26cc91(0x1fa)]('','',_0x504fcf[_0x26cc91(0x25f)]()):window[_0x26cc91(0x261)][_0x26cc91(0x223)]('','',_0x504fcf[_0x26cc91(0x25f)]());}['getParam'](_0x46c6e0){const _0x4e6e0d=_0x1d7bbe;var _0xfa483b;return(_0xfa483b=new URL(window['location'][_0x4e6e0d(0x2b4)])[_0x4e6e0d(0x1d5)][_0x4e6e0d(0x1f1)](_0x46c6e0))!=null?_0xfa483b:void 0x0;}}function _0x1bb4(_0x13e1e7,_0x4094f8){const _0x4f541f=_0x4f54();return _0x1bb4=function(_0x1bb429,_0x577772){_0x1bb429=_0x1bb429-0x1bd;let _0x5eb25b=_0x4f541f[_0x1bb429];return _0x5eb25b;},_0x1bb4(_0x13e1e7,_0x4094f8);}var un=Object[_0x1d7bbe(0x3c6)],dn=Object[_0x1d7bbe(0x3aa)],fn=(_0x50d67c,_0x2a17aa,_0x22de68)=>_0x2a17aa in _0x50d67c?un(_0x50d67c,_0x2a17aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22de68}):_0x50d67c[_0x2a17aa]=_0x22de68,Sn=(_0x5be6d1,_0x1207ee,_0x48c9f9,_0x319f92)=>{const _0x535bb0=_0x1d7bbe;for(var _0x3ad4cf=_0x319f92>0x1?void 0x0:_0x319f92?dn(_0x1207ee,_0x48c9f9):_0x1207ee,_0x738dfa=_0x5be6d1[_0x535bb0(0x39d)]-0x1,_0x2a09af;_0x738dfa>=0x0;_0x738dfa--)(_0x2a09af=_0x5be6d1[_0x738dfa])&&(_0x3ad4cf=_0x2a09af(_0x3ad4cf)||_0x3ad4cf);return _0x3ad4cf;},Oe=(_0x10e5b0,_0x5dce34)=>(_0x2dfb49,_0x12fcc8)=>_0x5dce34(_0x2dfb49,_0x12fcc8,_0x10e5b0),mn=(_0x52fe35,_0x5254a6,_0x3bcdae)=>fn(_0x52fe35,_0x5254a6+'',_0x3bcdae);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x50d793{constructor(_0x57bba4=et,_0x4475d9,_0x4b4c5e,_0x55513d){const _0x94da7f=_0x1d7bbe;super(),this[_0x94da7f(0x3c1)]=_0x57bba4,this[_0x94da7f(0x2ff)]=_0x4475d9,this[_0x94da7f(0x2d6)]=_0x4b4c5e,this[_0x94da7f(0x2ab)]=_0x55513d;const {..._0x252e09}=_0x2dee5f({},et,this[_0x94da7f(0x3c1)]);this[_0x94da7f(0x2ab)][_0x94da7f(0x3ca)](Zi,_0x252e09);}[_0x1d7bbe(0x1d1)](){const _0x2235f3=_0x1d7bbe;this['_registerDependencies'](),this[_0x2235f3(0x222)]();}['onRendered'](){const _0x3da67e=_0x1d7bbe;this[_0x3da67e(0x305)]();}['_registerDependencies'](){const _0x3d51ea=_0x1d7bbe;var _0x487f9a;const _0x5a7895=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1f9107,{'useClass':_0x44d410}],[_0x535fa0,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1d67a1(this['_injector'],_0xe89926(_0x5a7895,(_0x487f9a=this[_0x3d51ea(0x3c1)])==null?void 0x0:_0x487f9a[_0x3d51ea(0x349)]));}[_0x1d7bbe(0x305)](){const _0x4bb03b=_0x1d7bbe;this['disposeWithMe'](this[_0x4bb03b(0x2ff)][_0x4bb03b(0x37b)](_0x14cd2c[_0x4bb03b(0x268)],[Pe])),this[_0x4bb03b(0x26a)](this[_0x4bb03b(0x2ff)][_0x4bb03b(0x37b)](_0x14cd2c[_0x4bb03b(0x2e4)],[Le]));}[_0x1d7bbe(0x222)](){const _0x47e4dd=_0x1d7bbe;_0x295b9b(this[_0x47e4dd(0x2d6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1d7bbe(0x380),gn),Ae=Sn([_0xb6e3f(_0x53aea7),Oe(0x1,_0x1de120),Oe(0x2,_0x3c7534(_0xa07411)),Oe(0x3,_0x1e2cfe)],Ae);var In=Object[_0x1d7bbe(0x3aa)],vn=(_0x315ea7,_0x3f307d,_0x72f1c9,_0x256c2e)=>{for(var _0x321a34=_0x256c2e>0x1?void 0x0:_0x256c2e?In(_0x3f307d,_0x72f1c9):_0x3f307d,_0x344fa3=_0x315ea7['length']-0x1,_0x109dce;_0x344fa3>=0x0;_0x344fa3--)(_0x109dce=_0x315ea7[_0x344fa3])&&(_0x321a34=_0x109dce(_0x321a34)||_0x321a34);return _0x321a34;},K=(_0x319513,_0x1f97f9)=>(_0x5d8149,_0x438cfc)=>_0x1f97f9(_0x5d8149,_0x438cfc,_0x319513);let st=class extends _0x34b656{constructor(_0x30dcef,_0x343fd9,_0x36f490,_0x55217f,_0xc9bada){super(_0x30dcef,_0x343fd9,_0x36f490,_0x55217f,_0xc9bada);}async[_0x1d7bbe(0x36f)](_0x248e5e){const _0x29f955=_0x1d7bbe,_0x20d5fc=await this[_0x29f955(0x330)](),_0x4ba515=this[_0x29f955(0x3a2)](_0x248e5e,_0x20d5fc);return this[_0x29f955(0x2dc)](_0x4ba515);}['_createSocketURL'](_0x1f834d,_0x23e200){const _0x163471=_0x1d7bbe,_0x11df28=typeof window>'u'?new URL(_0x1f834d):new URL(_0x1f834d,window['location'][_0x163471(0x283)]);_0x11df28[_0x163471(0x1d5)][_0x163471(0x308)](_0x163471(0x2ac),_0x23e200);const _0x492244=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x163471(0x2cd)]['search']);return _0x492244['get'](_0x163471(0x236))&&_0x11df28[_0x163471(0x1d5)][_0x163471(0x308)](_0x163471(0x236),_0x492244['get'](_0x163471(0x236))),_0x11df28[_0x163471(0x25f)]();}async['_getSessionTicket'](){const _0x59058d=_0x1d7bbe;var _0x8ccbac,_0x4414a2,_0x56b346;const _0x48a808=this[_0x59058d(0x2ab)][_0x59058d(0x3bf)](_0xa191c8),_0x19e871=(_0x8ccbac=_0x48a808==null?void 0x0:_0x48a808[_0x59058d(0x279)])!=null?_0x8ccbac:_0x2c4461;return(_0x56b346=(_0x4414a2=(await this['_httpService'][_0x59058d(0x1f1)](_0x19e871,{'headers':{'Content-Type':_0x59058d(0x2ce)}}))[_0x59058d(0x394)])==null?void 0x0:_0x4414a2['ticket'])!=null?_0x56b346:'';}};st=vn([K(0x0,_0x3c7534(_0xa07411)),K(0x1,_0x3c7534(_0x4c152d)),K(0x2,_0x1e2cfe),K(0x3,_0x4b41a6),K(0x4,_0x5465f1)],st);const it=0x7530,nt=_0x1d7bbe(0x21a);class jn extends _0x426733{constructor(){const _0x476b81=_0x1d7bbe;super(),_(this,_0x476b81(0x310),_0x472f08()),_(this,_0x476b81(0x1cc),new Set()),_(this,_0x476b81(0x2e1),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x476b81(0x3b6),new Map()),_(this,_0x476b81(0x281),new Map()),this[_0x476b81(0x1fc)]();}['dispose'](){const _0x182a8f=_0x1d7bbe;super[_0x182a8f(0x1e3)](),this['_clearOtherTimers'][_0x182a8f(0x388)]((_0x20c74f,_0x150faf)=>this[_0x182a8f(0x381)](_0x150faf)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x852fd5){const _0x1ae7ba=_0x1d7bbe;return this[_0x1ae7ba(0x2b8)](_0x852fd5)[_0x1ae7ba(0x1c9)](_0x5c490c());}[_0x1d7bbe(0x2e2)](_0x58f33d){const _0x24ea26=_0x1d7bbe;this[_0x24ea26(0x1cc)][_0x24ea26(0x1e7)]===0x0&&this[_0x24ea26(0x24b)](),this[_0x24ea26(0x1cc)][_0x24ea26(0x20f)](_0x58f33d),this[_0x24ea26(0x2f6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x58f33d],'isForwarded':!0x1});}[_0x1d7bbe(0x37c)](_0x1969fa){const _0x312b02=_0x1d7bbe;this[_0x312b02(0x1cc)]['delete'](_0x1969fa),this[_0x312b02(0x1cc)][_0x312b02(0x1e7)]===0x0&&this['_heartbeatTimer']&&window[_0x312b02(0x37e)](this[_0x312b02(0x337)]);}[_0x1d7bbe(0x1fc)](){const _0xcaeac8=_0x1d7bbe;this['disposeWithMe'](_0x55db35(_0x1dc596(window,_0xcaeac8(0x321))[_0xcaeac8(0x3ce)](_0x5e890c=>{const _0x339f09=_0xcaeac8;if(_0x5e890c['key']!==nt||!_0x5e890c[_0x339f09(0x3b1)])return;const _0x39463a=JSON[_0x339f09(0x36b)](_0x5e890c[_0x339f09(0x3b1)]);this['_handleEvent'](_0x39463a);}))),window[_0xcaeac8(0x2eb)](_0xcaeac8(0x1ed),()=>this[_0xcaeac8(0x2f6)]({'type':0x1,'memberID':this[_0xcaeac8(0x310)],'unitIDs':Array['from'](this[_0xcaeac8(0x1cc)])}));}[_0x1d7bbe(0x29d)](_0x4582b4){const _0x19fe51=_0x1d7bbe;switch(_0x4582b4[_0x19fe51(0x313)]){case 0x0:this[_0x19fe51(0x25c)](_0x4582b4);break;case 0x1:this['_handleLeaveEvent'](_0x4582b4);break;case 0x2:this[_0x19fe51(0x1e6)](_0x4582b4);break;}}[_0x1d7bbe(0x25c)](_0x2cc451){const _0xc6665d=_0x1d7bbe,{unitIDs:_0x5815f2,memberID:_0x3ac800,isForwarded:_0x4aafb8}=_0x2cc451;_0x5815f2[_0xc6665d(0x388)](_0x2ade70=>{const _0x34d1cf=_0xc6665d;if(!_0x4aafb8&&this['_unitOnClients'][_0x34d1cf(0x38a)](_0x2ade70)&&this[_0x34d1cf(0x2b8)](_0x2ade70)[_0x34d1cf(0x256)](_0x2c9fc4[_0x34d1cf(0x27c)]),!this[_0x34d1cf(0x2e1)][_0x34d1cf(0x38a)](_0x2ade70)||!this[_0x34d1cf(0x2e1)]['get'](_0x2ade70)[_0x34d1cf(0x38a)](_0x3ac800)){const _0x1a7912=this['_unitOnClients'][_0x34d1cf(0x1f1)](_0x2ade70)||new Set();_0x1a7912[_0x34d1cf(0x20f)](_0x3ac800),this['_unitOnClients'][_0x34d1cf(0x308)](_0x2ade70,_0x1a7912),this[_0x34d1cf(0x291)](_0x3ac800);}}),_0x4aafb8||this[_0xc6665d(0x2f6)]({'type':0x0,'memberID':this[_0xc6665d(0x310)],'unitIDs':[...this[_0xc6665d(0x1cc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x21381b){const _0x170e53=_0x1d7bbe;this['_removeClearOtherTimer'](_0x21381b);const _0x22a366=window['setTimeout'](()=>{const _0x218124=_0x1bb4;this[_0x218124(0x2e1)][_0x218124(0x388)](_0x12e821=>{const _0x1b5b1a=_0x218124;_0x12e821[_0x1b5b1a(0x38e)](_0x21381b);});},it*0x2);this['_clearOtherTimers'][_0x170e53(0x308)](_0x21381b,_0x22a366);}['_removeClearOtherTimer'](_0x1d1583){const _0x1d863f=_0x1d7bbe;if(this[_0x1d863f(0x3b6)]['has'](_0x1d1583)){const _0x3f9b10=this[_0x1d863f(0x3b6)][_0x1d863f(0x1f1)](_0x1d1583);_0x3f9b10&&window[_0x1d863f(0x1ee)](_0x3f9b10),this[_0x1d863f(0x3b6)][_0x1d863f(0x308)](_0x1d1583,null);}}[_0x1d7bbe(0x3a4)](_0x14a454){const _0x4f57ed=_0x1d7bbe,{memberID:_0x1e9a22,unitIDs:_0x43f17b}=_0x14a454;_0x43f17b[_0x4f57ed(0x388)](_0x222993=>{const _0x132536=_0x4f57ed;var _0x23858d;const _0x19efae=this[_0x132536(0x2e1)][_0x132536(0x1f1)](_0x222993);_0x19efae&&(_0x19efae[_0x132536(0x38e)](_0x1e9a22),(_0x23858d=this[_0x132536(0x2b8)](_0x222993))==null||_0x23858d[_0x132536(0x256)](_0x19efae[_0x132536(0x1e7)]===0x0?_0x2c9fc4[_0x132536(0x2ae)]:_0x2c9fc4['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1e9a22);}['_handleHeartbeatEvent'](_0x3404f6){const _0x2d8474=_0x1d7bbe;this[_0x2d8474(0x291)](_0x3404f6[_0x2d8474(0x23c)]);}['_send'](_0x4d52b5){const _0x7ca81=_0x1d7bbe;localStorage[_0x7ca81(0x3ba)](nt,JSON[_0x7ca81(0x32a)](_0x4d52b5));}[_0x1d7bbe(0x24b)](){const _0xe07b69=_0x1d7bbe;this[_0xe07b69(0x337)]=window[_0xe07b69(0x22e)](()=>{const _0x45d6a1=_0xe07b69;this[_0x45d6a1(0x2f6)]({'type':0x2,'memberID':this['_id']});},it);}[_0x1d7bbe(0x2b8)](_0x2812c3){const _0x650a39=_0x1d7bbe;return this[_0x650a39(0x281)][_0x650a39(0x38a)](_0x2812c3)||this[_0x650a39(0x281)]['set'](_0x2812c3,new _0x2ac3e2(_0x2c9fc4[_0x650a39(0x2ae)])),this['_unitStatus']['get'](_0x2812c3);}}var Mt=(_0x471b9e=>(_0x471b9e[_0x471b9e[_0x1d7bbe(0x2d9)]=0x0]='UNDEFINED',_0x471b9e[_0x471b9e['OK']=0x1]='OK',_0x471b9e[_0x471b9e[_0x1d7bbe(0x2a0)]=0x2]=_0x1d7bbe(0x2a0),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2da)]=0x3]='PERMISSION_DENIED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x259)]=0x4]='NOT_FOUND',_0x471b9e[_0x471b9e[_0x1d7bbe(0x2c4)]=0x5]=_0x1d7bbe(0x2c4),_0x471b9e[_0x471b9e[_0x1d7bbe(0x294)]=0x6]=_0x1d7bbe(0x294),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1f4)]=0x7]=_0x1d7bbe(0x1f4),_0x471b9e[_0x471b9e['TOO_MANY_REQUESTS']=0x8]=_0x1d7bbe(0x2c5),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2b7)]=0x9]=_0x1d7bbe(0x2b7),_0x471b9e[_0x471b9e[_0x1d7bbe(0x362)]=0xa]=_0x1d7bbe(0x362),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1e5)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x471b9e[_0x471b9e[_0x1d7bbe(0x317)]=0x1771]=_0x1d7bbe(0x317),_0x471b9e[_0x471b9e[_0x1d7bbe(0x287)]=0x1772]=_0x1d7bbe(0x287),_0x471b9e[_0x471b9e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x471b9e[_0x471b9e[_0x1d7bbe(0x35a)]=0x1b59]=_0x1d7bbe(0x35a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x367)]=0x1b5a]=_0x1d7bbe(0x367),_0x471b9e[_0x471b9e[_0x1d7bbe(0x204)]=0x1b5b]=_0x1d7bbe(0x204),_0x471b9e[_0x471b9e[_0x1d7bbe(0x238)]=0x1b5c]=_0x1d7bbe(0x238),_0x471b9e[_0x471b9e[_0x1d7bbe(0x224)]=0x1b5d]='APPLY_DUPLICATED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x27a)]=0x1f41]=_0x1d7bbe(0x27a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x23e)]=0x2329]=_0x1d7bbe(0x23e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2a8)]=0x232a]=_0x1d7bbe(0x2a8),_0x471b9e[_0x471b9e[_0x1d7bbe(0x37f)]=0x232b]=_0x1d7bbe(0x37f),_0x471b9e[_0x471b9e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d7bbe(0x1ef),_0x471b9e[_0x471b9e[_0x1d7bbe(0x359)]=0x232d]=_0x1d7bbe(0x359),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2f2)]=0x2711]=_0x1d7bbe(0x2f2),_0x471b9e[_0x471b9e[_0x1d7bbe(0x3af)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x471b9e[_0x471b9e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1d7bbe(0x338),_0x471b9e[_0x471b9e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1d7bbe(0x284),_0x471b9e[_0x471b9e[_0x1d7bbe(0x39e)]=0x271a]=_0x1d7bbe(0x39e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2df)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x25a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x471b9e[_0x471b9e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1d7bbe(0x2ba),_0x471b9e[_0x471b9e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1d7bbe(0x25e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x247)]=0x271f]=_0x1d7bbe(0x247),_0x471b9e[_0x471b9e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d7bbe(0x300),_0x471b9e[_0x471b9e[_0x1d7bbe(0x28c)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x471b9e[_0x471b9e[_0x1d7bbe(0x1e1)]=0x2ee2]=_0x1d7bbe(0x1e1),_0x471b9e[_0x471b9e[_0x1d7bbe(0x208)]=0x2ee3]=_0x1d7bbe(0x208),_0x471b9e[_0x471b9e[_0x1d7bbe(0x232)]=0x2ee4]=_0x1d7bbe(0x232),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1df)]=0x2ee5]=_0x1d7bbe(0x1df),_0x471b9e[_0x471b9e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1d7bbe(0x39f),_0x471b9e[_0x471b9e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1d7bbe(0x2b6),_0x471b9e[_0x471b9e[_0x1d7bbe(0x22a)]=0x32cb]=_0x1d7bbe(0x22a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x347)]=-0x1]=_0x1d7bbe(0x347),_0x471b9e))(Mt||{}),pn=Object[_0x1d7bbe(0x3aa)],Cn=(_0x33120c,_0x3529d8,_0x34a33f,_0x9cc459)=>{const _0xf18e09=_0x1d7bbe;for(var _0x463199=_0x9cc459>0x1?void 0x0:_0x9cc459?pn(_0x3529d8,_0x34a33f):_0x3529d8,_0x4acf0b=_0x33120c[_0xf18e09(0x39d)]-0x1,_0x604698;_0x4acf0b>=0x0;_0x4acf0b--)(_0x604698=_0x33120c[_0x4acf0b])&&(_0x463199=_0x604698(_0x463199)||_0x463199);return _0x463199;},be=(_0x4262f5,_0x406a20)=>(_0x4d1adc,_0x3bab67)=>_0x406a20(_0x4d1adc,_0x3bab67,_0x4262f5);let rt=class extends _0x426733{constructor(_0x422b6b,_0x4fcb22,_0x1d59ac){const _0x208dbc=_0x1d7bbe;super(),this[_0x208dbc(0x357)]=_0x422b6b,this['_httpService']=_0x4fcb22,this[_0x208dbc(0x2ab)]=_0x1d59ac;}async[_0x1d7bbe(0x334)](_0x137363,_0x2c8e4d,_0x351f80,..._0x14034c){const _0x4b4aae=_0x1d7bbe;var _0x40d989,_0x2462c2,_0x198c43,_0x104584;const _0x2fabff=this[_0x4b4aae(0x357)]['getFocusedUnit']();if(!_0x2fabff)throw new Error(_0x4b4aae(0x2c2));const _0x40df8c=((_0x40d989=this[_0x4b4aae(0x2ab)]['getConfig'](_0x365318))!=null?_0x40d989:_0x3c30fc)+'/'+_0x137363+_0x4b4aae(0x229)+_0x2c8e4d,_0x54c0a3=new URL(window[_0x4b4aae(0x2cd)][_0x4b4aae(0x2b4)]),_0x205bf2={'scriptId':_0x137363,'runId':(_0x2462c2=_0x54c0a3[_0x4b4aae(0x1d5)][_0x4b4aae(0x1f1)](_0x4b4aae(0x236)))!=null?_0x2462c2:'','function':_0x2c8e4d,'unitId':_0x2fabff['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x14034c),'invokeId':(_0x198c43=_0x351f80['invokeId'])!=null?_0x198c43:'','executionId':(_0x104584=_0x351f80['executionId'])!=null?_0x104584:''};try{const _0x368ddc=await this[_0x4b4aae(0x260)][_0x4b4aae(0x228)](_0x40df8c,{'body':_0x205bf2});return _0x368ddc[_0x4b4aae(0x394)]['error']&&_0x368ddc[_0x4b4aae(0x394)]['error'][_0x4b4aae(0x3ac)]!==Mt['OK']?_0x4b4aae(0x2de):_0x368ddc[_0x4b4aae(0x394)][_0x4b4aae(0x3c0)];}catch{return _0x4b4aae(0x2de);}}};rt=Cn([be(0x0,_0x3888fb),be(0x1,_0x3c7534(_0x4c152d)),be(0x2,_0x1e2cfe)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x2de602=_0x3856;(function(_0x470fe4,_0x3829a8){const _0x2b406c=_0x3856,_0x973e00=_0x470fe4();while(!![]){try{const _0x297a73=parseInt(_0x2b406c(0x16d))/0x1+parseInt(_0x2b406c(0x174))/0x2+parseInt(_0x2b406c(0x170))/0x3+-parseInt(_0x2b406c(0x16b))/0x4*(-parseInt(_0x2b406c(0x16a))/0x5)+-parseInt(_0x2b406c(0x17c))/0x6*(-parseInt(_0x2b406c(0x173))/0x7)+-parseInt(_0x2b406c(0x175))/0x8*(parseInt(_0x2b406c(0x171))/0x9)+-parseInt(_0x2b406c(0x178))/0xa*(parseInt(_0x2b406c(0x17b))/0xb);if(_0x297a73===_0x3829a8)break;else _0x973e00['push'](_0x973e00['shift']());}catch(_0x1eeb93){_0x973e00['push'](_0x973e00['shift']());}}}(_0x3ce0,0xedb14));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2de602(0x17a),'conflict':'Edit\x20conflicts','notCollab':_0x2de602(0x168),'synced':_0x2de602(0x16e),'syncing':'Syncing...','offline':_0x2de602(0x167)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2de602(0x169),'collaboration-timeout':_0x2de602(0x179)},'conflict':{'title':_0x2de602(0x177),'content':_0x2de602(0x176)},'permission':{'title':_0x2de602(0x165),'content':_0x2de602(0x166)},'collaboration':{'single-unit':{'warning':_0x2de602(0x16c)},'closeRoom':_0x2de602(0x172)},'auth':{'needGotoLoginAlert':_0x2de602(0x16f)}};export{e as default};function _0x3856(_0x217150,_0x48095a){const _0x3ce0c4=_0x3ce0();return _0x3856=function(_0x3856a8,_0x3e0e86){_0x3856a8=_0x3856a8-0x165;let _0x2bb4ca=_0x3ce0c4[_0x3856a8];return _0x2bb4ca;},_0x3856(_0x217150,_0x48095a);}function _0x3ce0(){const _0x5f5778=['2405228jMXnin','30312hYVbgQ','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.','Collaboration\x20Conflict','710PUiVtz','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','784751MouzyZ','6ocdTci','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3166890zfEHrd','8ArDCul','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','871174auMJEF','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3427356EfqhNu','54apCloB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','11049759wlPLdP'];_0x3ce0=function(){return _0x5f5778;};return _0x3ce0();}
1
+ const _0x489874=_0x5e01;function _0x5e01(_0x12ec7b,_0x3b9d5c){const _0x5c3954=_0x5c39();return _0x5e01=function(_0x5e01c4,_0x4661cc){_0x5e01c4=_0x5e01c4-0x1dc;let _0x3e794b=_0x5c3954[_0x5e01c4];return _0x3e794b;},_0x5e01(_0x12ec7b,_0x3b9d5c);}function _0x5c39(){const _0x4490c7=['Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6YRwtoV','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','194855tbWbHk','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','9305586BYhOFu','8535443CdeKJF','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','21892850spBHNX','12oEzfbL','99850lEocZU','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','8cTkMsT','Local\x20file','Edit\x20conflicts','459427PGuscJ','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','5863296HXEzqD'];_0x5c39=function(){return _0x4490c7;};return _0x5c39();}(function(_0x209016,_0xc0989f){const _0x4c15e5=_0x5e01,_0x5a1ad1=_0x209016();while(!![]){try{const _0x12033b=-parseInt(_0x4c15e5(0x1e0))/0x1+-parseInt(_0x4c15e5(0x1f4))/0x2*(-parseInt(_0x4c15e5(0x1e6))/0x3)+parseInt(_0x4c15e5(0x1f3))/0x4*(parseInt(_0x4c15e5(0x1e9))/0x5)+-parseInt(_0x4c15e5(0x1e3))/0x6+parseInt(_0x4c15e5(0x1f0))/0x7*(-parseInt(_0x4c15e5(0x1dd))/0x8)+parseInt(_0x4c15e5(0x1ef))/0x9+parseInt(_0x4c15e5(0x1f2))/0xa;if(_0x12033b===_0xc0989f)break;else _0x5a1ad1['push'](_0x5a1ad1['shift']());}catch(_0x596a91){_0x5a1ad1['push'](_0x5a1ad1['shift']());}}}(_0x5c39,0xbf68a));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x489874(0x1df),'notCollab':_0x489874(0x1de),'synced':_0x489874(0x1e1),'syncing':_0x489874(0x1e4),'offline':_0x489874(0x1ed)},'session':{'connection-failed':_0x489874(0x1e8),'will-retry':_0x489874(0x1ee),'room-full':_0x489874(0x1f5),'collaboration-timeout':_0x489874(0x1e2)},'conflict':{'title':_0x489874(0x1dc),'content':_0x489874(0x1ea)},'permission':{'title':_0x489874(0x1eb),'content':_0x489874(0x1e7)},'collaboration':{'single-unit':{'warning':_0x489874(0x1ec)},'closeRoom':_0x489874(0x1e5)},'auth':{'needGotoLoginAlert':_0x489874(0x1f1)}};export{e as default};
@@ -1 +1 @@
1
- function _0x5600(_0x897de4,_0x3e65c2){const _0x5207fe=_0x5207();return _0x5600=function(_0x56000c,_0x7e754b){_0x56000c=_0x56000c-0x13a;let _0x2096e0=_0x5207fe[_0x56000c];return _0x2096e0;},_0x5600(_0x897de4,_0x3e65c2);}const _0x46e5e9=_0x5600;(function(_0x231845,_0x5f06fe){const _0x5bf764=_0x5600,_0x2c78b3=_0x231845();while(!![]){try{const _0x1ab9ac=parseInt(_0x5bf764(0x149))/0x1+-parseInt(_0x5bf764(0x13c))/0x2*(parseInt(_0x5bf764(0x150))/0x3)+-parseInt(_0x5bf764(0x143))/0x4+-parseInt(_0x5bf764(0x14b))/0x5+parseInt(_0x5bf764(0x14f))/0x6*(parseInt(_0x5bf764(0x152))/0x7)+-parseInt(_0x5bf764(0x14a))/0x8+parseInt(_0x5bf764(0x151))/0x9;if(_0x1ab9ac===_0x5f06fe)break;else _0x2c78b3['push'](_0x2c78b3['shift']());}catch(_0x525543){_0x2c78b3['push'](_0x2c78b3['shift']());}}}(_0x5207,0x8d15f));const o={'collab-client':{'tooltip':{'reconnect':_0x46e5e9(0x13f)}},'collabStatus':{'fetchMiss':_0x46e5e9(0x146),'conflict':_0x46e5e9(0x147),'notCollab':_0x46e5e9(0x142),'synced':_0x46e5e9(0x13e),'syncing':_0x46e5e9(0x13a),'offline':_0x46e5e9(0x145)},'session':{'connection-failed':_0x46e5e9(0x140),'will-retry':_0x46e5e9(0x144),'room-full':_0x46e5e9(0x13b),'collaboration-timeout':_0x46e5e9(0x14d)},'conflict':{'title':_0x46e5e9(0x148),'content':_0x46e5e9(0x141)},'permission':{'title':_0x46e5e9(0x14c),'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':_0x46e5e9(0x13d)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x46e5e9(0x14e)}};export{o as default};function _0x5207(){const _0x5104ae=['11766942VaPgJO','7AeJAYS','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','572444vFZRAE','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','همگام\x20سازی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پرونده\x20محلی','1266528iWYewj','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','تداخل\x20همکاری','442906ezBsbA','1031352cOpUoE','3621185KZVDYE','خطای\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کنید.','5135982XaLuSp','9BFeVBN'];_0x5207=function(){return _0x5104ae;};return _0x5207();}
1
+ const _0x282e83=_0x3384;function _0x3384(_0x503f22,_0x13c6be){const _0x31b286=_0x31b2();return _0x3384=function(_0x33845,_0x432bde){_0x33845=_0x33845-0x19e;let _0x4e51a8=_0x31b286[_0x33845];return _0x4e51a8;},_0x3384(_0x503f22,_0x13c6be);}(function(_0x53edd0,_0xa44285){const _0x1af58f=_0x3384,_0x235717=_0x53edd0();while(!![]){try{const _0x10b097=parseInt(_0x1af58f(0x1ae))/0x1*(-parseInt(_0x1af58f(0x1a2))/0x2)+parseInt(_0x1af58f(0x1a7))/0x3*(parseInt(_0x1af58f(0x1a0))/0x4)+-parseInt(_0x1af58f(0x1a8))/0x5*(-parseInt(_0x1af58f(0x1ad))/0x6)+-parseInt(_0x1af58f(0x1a9))/0x7*(-parseInt(_0x1af58f(0x1ac))/0x8)+-parseInt(_0x1af58f(0x1a5))/0x9*(-parseInt(_0x1af58f(0x1b5))/0xa)+parseInt(_0x1af58f(0x1af))/0xb*(-parseInt(_0x1af58f(0x1a6))/0xc)+parseInt(_0x1af58f(0x1a4))/0xd*(-parseInt(_0x1af58f(0x1aa))/0xe);if(_0x10b097===_0xa44285)break;else _0x235717['push'](_0x235717['shift']());}catch(_0x5d744c){_0x235717['push'](_0x235717['shift']());}}}(_0x31b2,0xed419));const o={'collab-client':{'tooltip':{'reconnect':_0x282e83(0x1b3)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x282e83(0x1ab),'notCollab':_0x282e83(0x19f),'synced':_0x282e83(0x1b8),'syncing':_0x282e83(0x1b2),'offline':_0x282e83(0x1a1)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x282e83(0x1b7),'room-full':_0x282e83(0x1a3),'collaboration-timeout':_0x282e83(0x19e)},'conflict':{'title':_0x282e83(0x1b0),'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':_0x282e83(0x1b4),'content':_0x282e83(0x1b1)},'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':_0x282e83(0x1b6)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x31b2(){const _0x3b49f3=['آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','8cuIqDI','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','14339WtJMTJ','15852528WodyuB','384348tMRWdI','2781Kblzlw','5dNmlDb','161KBqWFL','13720MuAnfo','تداخل\x20ویرایش','423496KBxQgX','6314352apZefc','165041XCRJOu','484MIPmHM','تداخل\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اعتبارسنجی','10iMLRUs','امتیازات\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محلی','392tYrNGK'];_0x31b2=function(){return _0x3b49f3;};return _0x31b2();}export{o as default};