@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505051607 → 0.7.0-nightly.202505061607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/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 _0x4a9b73=_0x4899;(function(_0x16658e,_0x5a0048){const _0x249652=_0x4899,_0x355985=_0x16658e();while(!![]){try{const _0x520451=-parseInt(_0x249652(0x208))/0x1*(parseInt(_0x249652(0x166))/0x2)+-parseInt(_0x249652(0x23d))/0x3*(parseInt(_0x249652(0xec))/0x4)+parseInt(_0x249652(0x231))/0x5+-parseInt(_0x249652(0x281))/0x6+-parseInt(_0x249652(0x292))/0x7+-parseInt(_0x249652(0x278))/0x8*(-parseInt(_0x249652(0x26d))/0x9)+parseInt(_0x249652(0x1f5))/0xa*(parseInt(_0x249652(0x26b))/0xb);if(_0x520451===_0x5a0048)break;else _0x355985['push'](_0x355985['shift']());}catch(_0x2f9a29){_0x355985['push'](_0x355985['shift']());}}}(_0x54df,0xa7225));var $t=Object['defineProperty'],xt=(_0x50c67a,_0x2bfdc6,_0x1e7a72)=>_0x2bfdc6 in _0x50c67a?$t(_0x50c67a,_0x2bfdc6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e7a72}):_0x50c67a[_0x2bfdc6]=_0x1e7a72,_=(_0x40e4ce,_0x9cec1d,_0x398916)=>xt(_0x40e4ce,typeof _0x9cec1d!='symbol'?_0x9cec1d+'':_0x9cec1d,_0x398916);import{MemberService as _0x2d8be8,SessionStatus as _0xe08b52,CollaborationSessionService as _0x9e201,CollaborationStatus as _0x167395,CollaborationController as _0x7aeeca,ILocalCacheService as _0x27b901,CollaborationUIEventService as _0x14e4da,CollaborationUIEventId as _0x4ad9d4,DataLoaderService as _0x518104,DocCollaborationEntity as _0x175eda,getLocalCacheKey as _0x20acbd,LOCAL_CACHE_INTERVAL as _0x13bfee,LOCAL_CACHE_INTERVAL_KEY as _0x46d235,UniverCollaborationClientPlugin as _0x15233f,CollaborationSocketService as _0x366dd1,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x59f30c,DEFAULT_WS_SESSION_TICKET_URL as _0x5f12f9,UnitStatus as _0x13e2cd,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7da6f6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3beb12}from'@univerjs-pro/collaboration-client';function _0x4899(_0x35c4cf,_0x44d4d2){const _0x54df0c=_0x54df();return _0x4899=function(_0x4899c1,_0x51cb48){_0x4899c1=_0x4899c1-0xc3;let _0x371acf=_0x54df0c[_0x4899c1];return _0x371acf;},_0x4899(_0x35c4cf,_0x44d4d2);}import{RxDisposable as _0x43324a,Disposable as _0x3ca0d9,DOC_RANGE_TYPE as _0x193d3c,Inject as _0x5a910a,Injector as _0x315584,IUniverInstanceService as _0x3d2f4d,ICommandService as _0x125a4d,debounce as _0x42c593,Rectangle as _0x46521d,DisposableCollection as _0x56b3bc,toDisposable as _0x3efb45,UniverInstanceType as _0x4d90ef,Tools as _0x51c666,COLORS as _0x30dfd1,ColorKit as _0x18abcb,ThemeService as _0x40a3a8,fromEventSubject as _0xb20e27,LocaleService as _0x15a6bf,createIdentifier as _0x400d12,ILogService as _0x353efc,Optional as _0x405dd8,Workbook as _0x117e0c,CommandType as _0x5e5d3a,IConfigService as _0x34b4f6,ILocalStorageService as _0x11d7b1,DependentOn as _0x172a10,Plugin as _0x31e378,merge as _0x4ed531,registerDependencies as _0x5a2be1,mergeOverrideWithDependencies as _0x452377,touchDependencies as _0x4ea4eb,generateRandomId as _0x50162d}from'@univerjs/core';import{Shape as _0x4a9018,Rect as _0x55b9e3,getColor as _0x447506,RegularPolygon as _0x183296,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x20ee95,Vector2 as _0x1784a8,SHEET_VIEWPORT_KEY as _0x41ca54,IRenderManagerService as _0x164fdf}from'@univerjs/engine-render';import{ISocketService as _0x1d89e7,WebSocketService as _0x5e2d02,HTTPService as _0x497203}from'@univerjs/network';import{IDocClipboardService as _0x1da422,NodePositionConvertToCursor as _0x2fe4e1,NodePositionConvertToRectRange as _0xfbff7,TEXT_RANGE_LAYER_INDEX as _0x14bb2e,SetDocZoomRatioOperation as _0x6c535a,DocIMEInputManagerService as _0x4d8eea,DocStateChangeManagerService as _0x5c9ae2}from'@univerjs/docs-ui';import{IImageIoService as _0x5cf231}from'@univerjs/drawing';import{BehaviorSubject as _0x4ae7de,debounceTime as _0x1e1485,takeUntil as _0x2c1b93,Subject as _0x4552ef,filter as _0x3bb2b2,switchMap as _0x5d84ac,merge as _0x5f50c0,combineLatest as _0x3dba36,of as _0x12f8ad,fromEvent as _0x578952,shareReplay as _0x554e7a,mapTo as _0x5410f0,distinctUntilChanged as _0x2d4049}from'rxjs';import{SetTextSelectionsOperation as _0xafe29c,RichTextEditingMutation as _0x418958,DocSelectionManagerService as _0x277911,DocSkeletonManagerService as _0x155d5e}from'@univerjs/docs';import{ITransformService as _0x374c61,CollaborationEvent as _0x1680ab,isTransformMutationFailure as _0x5f38d2,isTransformMutationsWithChangesetSuccess as _0x1a68b3,RevisionService as _0x15d859,ISnapshotServerService as _0x3fe37c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x370b2d,serializeRangeWithSheet as _0x827672}from'@univerjs/engine-formula';import{RefRangeService as _0x5e0628,SetSelectionsOperation as _0x417bbd,SheetsSelectionsService as _0x49f6d2,EffectRefRangId as _0x581f2e,handleIRemoveRow as _0x3ad8bf,handleIRemoveCol as _0x1d067d,handleMoveRange as _0x6bb816,handleInsertRow as _0x34548f,handleInsertRangeMoveRight as _0x2edcd3,handleInsertRangeMoveDown as _0x2b1548,handleInsertCol as _0x50bb6c,handleDeleteRangeMoveUp as _0x4b2b8b,handleDeleteRangeMoveLeft as _0x309e96,runRefRangeMutations as _0x24374a,SetWorksheetActivateCommand as _0x7515ad}from'@univerjs/sheets';import{map as _0x2f99f8,filter as _0x370354,throttleTime as _0x544c43,takeUntil as _0x2ba1c5,switchMap as _0x81e8fe}from'rxjs/operators';import{SheetSkeletonManagerService as _0x12d7f8,getCoordByCell as _0x3771ff,getSheetObject as _0x575758}from'@univerjs/sheets-ui';import{jsx as _0x5d61f1,jsxs as _0x5b1f6e}from'react/jsx-runtime';import{useObservable as _0x5bb2e8,useDependency as _0x4bf2cc,IUIPartsService as _0x10db63,BuiltInUIPart as _0x12c314,connectInjector as _0x4a72c4,IBeforeCloseService as _0x3e6ed3,IMessageService as _0x3be822,INotificationService as _0x4fd550}from'@univerjs/ui';import{Tooltip as _0x1de27a,clsx as _0x212ae4,MessageType as _0x4c15ba}from'@univerjs/design';import{forwardRef as _0x248f87,useRef as _0x298127,createElement as _0xc2cff4,useCallback as _0x43e35a}from'react';import{IRemoteInstanceService as _0x2ec166}from'@univerjs/rpc';var ci=Object[_0x4a9b73(0xc4)],li=(_0x4b808c,_0x54c2d3,_0x5df412,_0x54f2d1)=>{const _0x419061=_0x4a9b73;for(var _0x38250d=_0x54f2d1>0x1?void 0x0:_0x54f2d1?ci(_0x54c2d3,_0x5df412):_0x54c2d3,_0xde6649=_0x4b808c[_0x419061(0x190)]-0x1,_0x2f475c;_0xde6649>=0x0;_0xde6649--)(_0x2f475c=_0x4b808c[_0xde6649])&&(_0x38250d=_0x2f475c(_0x38250d)||_0x38250d);return _0x38250d;},Je=(_0x378a2f,_0x1ad0c3)=>(_0x20cfe3,_0x5da6a0)=>_0x1ad0c3(_0x20cfe3,_0x5da6a0,_0x378a2f);let Ne=class extends _0x43324a{constructor(_0x160c19,_0x50f5e3){const _0x2aa0e6=_0x4a9b73;super(),this[_0x2aa0e6(0x1eb)]=_0x160c19,this[_0x2aa0e6(0x1d6)]=_0x50f5e3,this[_0x2aa0e6(0x2bf)]();}[_0x4a9b73(0x2bf)](){const _0x16bcc3=_0x4a9b73,_0x5c582c=this;this[_0x16bcc3(0xc8)](this[_0x16bcc3(0x1eb)][_0x16bcc3(0x17c)]({'onBeforePasteImage':async _0x4dab10=>{const _0x1ddf72=_0x16bcc3,_0x17e01e=await _0x5c582c[_0x1ddf72(0x1d6)][_0x1ddf72(0x1cc)](_0x4dab10);return _0x17e01e?{'source':_0x17e01e[_0x1ddf72(0x16b)],'imageSourceType':_0x17e01e[_0x1ddf72(0x1ba)]}:null;}}));}};Ne=li([Je(0x0,_0x1da422),Je(0x1,_0x5cf231)],Ne);const Ze=['purple.300',_0x4a9b73(0x211),_0x4a9b73(0xeb),_0x4a9b73(0x22d),_0x4a9b73(0x1a6),_0x4a9b73(0x1b1)];class ke extends _0x3ca0d9{constructor(){const _0x1e34c2=_0x4a9b73;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x1e34c2(0xf4),0x0);}['assignAColorForMemberID'](_0x5901b1){const _0x49c793=_0x4a9b73;if(this[_0x49c793(0x121)][_0x49c793(0x1d7)](_0x5901b1))return this[_0x49c793(0x121)][_0x49c793(0x1fb)](_0x5901b1);const _0x52c327=Ze[this[_0x49c793(0xf4)]];return this[_0x49c793(0xf4)]=(this[_0x49c793(0xf4)]+0x1)%Ze['length'],this['_assignedColors'][_0x49c793(0x106)](_0x5901b1,_0x52c327),_0x52c327;}}function Tt(_0x248381){const _0x4b02da=_0x4a9b73;let _0x5070fc='';for(const _0x5107e1 of _0x248381){const {startOffset:_0x3972d5,endOffset:_0x2051b0,isActive:_0x2eb659,rangeType:_0x4c0e21,segmentId:_0x4c45de,segmentPage:_0xe3b4f7}=_0x5107e1;_0x5070fc[_0x4b02da(0x190)]&&(_0x5070fc+=','),_0x5070fc+=_0x3972d5+':'+_0x2051b0+':'+(_0x2eb659?'1':'0')+':'+_0x4c0e21+':'+_0x4c45de+':'+_0xe3b4f7;}return _0x5070fc;}function _i(_0x169e12){const _0x3014c0=_0x4a9b73,_0x2a80be=_0x169e12[_0x3014c0(0x2ad)](','),_0x16b190=[];for(const _0x2d5f0d of _0x2a80be){const [_0x5716b1,_0x3c9dc6,_0x562d12,_0x50993c,_0x22f81c,_0x259b9c]=_0x2d5f0d[_0x3014c0(0x2ad)](':');_0x16b190['push']({'startOffset':Number(_0x5716b1),'endOffset':Number(_0x3c9dc6),'collapsed':_0x5716b1===_0x3c9dc6,'isActive':_0x562d12==='1','rangeType':_0x50993c===_0x193d3c[_0x3014c0(0x18f)]?_0x193d3c[_0x3014c0(0x18f)]:_0x193d3c[_0x3014c0(0xf5)],'segmentId':typeof _0x22f81c==_0x3014c0(0xd9)?String(_0x22f81c):'','segmentPage':Number(_0x259b9c!=null?_0x259b9c:-0x1)});}return _0x16b190[_0x3014c0(0x296)](_0x180ec3=>_0x180ec3[_0x3014c0(0xce)])||(_0x16b190[0x0][_0x3014c0(0xce)]=!0x0),_0x16b190;}class He extends _0x43324a{constructor(){const _0x1b1f41=_0x4a9b73;super(...arguments),_(this,_0x1b1f41(0x277),new _0x4ae7de(null)),_(this,'collabCursorState$',this[_0x1b1f41(0x277)][_0x1b1f41(0x2bc)]());}[_0x4a9b73(0xe2)](_0x46307a){const _0x1558da=_0x4a9b73,{unitID:_0x26e883,memberID:_0xf0ebfe,textRanges:_0x50d06c}=_0x46307a,_0x37b449=Tt(_0x50d06c);if(_0x37b449==='')return;const _0x19d6c9={'unitID':_0x26e883,'memberID':_0xf0ebfe,'selection':_0x37b449};this[_0x1558da(0x277)][_0x1558da(0x21f)](_0x19d6c9);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x4ac629,_0x1433f6,_0x353b4f,_0x5f2385)=>{const _0x4a9049=_0x4a9b73;for(var _0x1ea9d0=_0x5f2385>0x1?void 0x0:_0x5f2385?hi(_0x1433f6,_0x353b4f):_0x1433f6,_0x2f3160=_0x4ac629[_0x4a9049(0x190)]-0x1,_0x4a7cca;_0x2f3160>=0x0;_0x2f3160--)(_0x4a7cca=_0x4ac629[_0x2f3160])&&(_0x1ea9d0=_0x4a7cca(_0x1ea9d0)||_0x1ea9d0);return _0x1ea9d0;},L=(_0x5ae919,_0x2022a3)=>(_0x52f737,_0x246a53)=>_0x2022a3(_0x52f737,_0x246a53,_0x5ae919);const di=0x12c,fi=0x64;let Ue=class extends _0x43324a{constructor(_0x2d2dc0,_0x2eb961,_0x28ddf6,_0x540461,_0x16dfdb,_0x5a44aa,_0x1ea72a,_0x1d6c04,_0x2e2a9c){const _0x5d56a4=_0x4a9b73;super(),_(this,_0x5d56a4(0xe1),!0x1),_(this,_0x5d56a4(0x2bf),!0x1),_(this,_0x5d56a4(0x220),new _0x4ae7de(new Map())),_(this,'cursorInfo$',this[_0x5d56a4(0x220)][_0x5d56a4(0x2bc)]()),_(this,'_roomMembers$',new _0x4ae7de([])),_(this,_0x5d56a4(0xfe),this['_roomMembers$'][_0x5d56a4(0x1c1)](_0x1e1485(di))),_(this,_0x5d56a4(0xd4),_0x42c593(_0xe88f43=>{const _0x349ab6=_0x5d56a4,_0x5848ef={'eventID':_0x1680ab['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x349ab6(0x153)][_0x349ab6(0x1f9)](),'selection':Tt(_0xe88f43)}};this[_0x349ab6(0x153)]['send'](_0x5848ef,this[_0x349ab6(0x15e)]);},fi)),(this[_0x5d56a4(0x15e)]=_0x2d2dc0,this['_session']=_0x2eb961,this[_0x5d56a4(0x23c)]=_0x28ddf6,this[_0x5d56a4(0x18b)]=_0x540461,this['_memberService']=_0x16dfdb,this['_syncEditingCollabCursorService']=_0x5a44aa,this[_0x5d56a4(0x20b)]=_0x1ea72a,this['_univerInstanceService']=_0x1d6c04,this[_0x5d56a4(0x189)]=_0x2e2a9c);}get[_0x4a9b73(0x294)](){const _0x298a51=_0x4a9b73;return this[_0x298a51(0x220)][_0x298a51(0x1fd)]();}get[_0x4a9b73(0x130)](){const _0x35eca7=_0x4a9b73;return this[_0x35eca7(0x271)][_0x35eca7(0x1fd)]();}[_0x4a9b73(0x197)](){const _0x1f483b=_0x4a9b73;super[_0x1f483b(0x197)](),this['_cursorInfo$']['next'](new Map()),this[_0x1f483b(0x220)][_0x1f483b(0x24a)](),this['_roomMembers$'][_0x1f483b(0x21f)]([]),this[_0x1f483b(0x271)][_0x1f483b(0x24a)]();}[_0x4a9b73(0x14a)](){const _0xbc127f=_0x4a9b73;this[_0xbc127f(0x2bf)]||(this[_0xbc127f(0x2bf)]=!0x0,this[_0xbc127f(0x153)][_0xbc127f(0x26c)]['pipe'](_0x2c1b93(this[_0xbc127f(0x282)]))[_0xbc127f(0x257)](_0x3dee96=>{const _0x37abdc=_0xbc127f;_0x3dee96===_0xe08b52[_0x37abdc(0x27e)]?this['_toggleOnline']():this[_0x37abdc(0x1e0)]();}),this[_0xbc127f(0x153)][_0xbc127f(0x11c)][_0xbc127f(0x1c1)](_0x2c1b93(this[_0xbc127f(0x282)]))[_0xbc127f(0x257)](_0x4319e2=>{const _0x35aa19=_0xbc127f,_0x22a330=_0x4319e2[_0x35aa19(0x1c9)];_0x22a330===_0x1680ab[_0x35aa19(0x1da)]&&this[_0x35aa19(0x160)](_0x4319e2),_0x22a330===_0x1680ab['USERS_LEAVE']&&this['_onCursorDelete'](_0x4319e2);}),this['disposeWithMe'](this[_0xbc127f(0x189)][_0xbc127f(0x269)](_0x25dbc0=>{const _0xc35cc9=_0xbc127f,_0x46ec9a=_0x25dbc0['params'];_0x46ec9a!=null&&this[_0xc35cc9(0xe1)]&&_0x25dbc0['id']===_0xafe29c['id']&&_0x46ec9a[_0xc35cc9(0x172)]===this['unitID']&&_0x46ec9a['isEditing']===!0x1&&_0x46ec9a[_0xc35cc9(0x21c)][_0xc35cc9(0x190)]>0x0&&this['_updateLocalCursor'](_0x46ec9a[_0xc35cc9(0x21c)]);})),this[_0xbc127f(0x230)]['collabCursorState$'][_0xbc127f(0x1c1)](_0x2c1b93(this['dispose$']))[_0xbc127f(0x257)](_0x51334f=>{const _0x9cc73a=_0xbc127f;if((_0x51334f==null?void 0x0:_0x51334f[_0x9cc73a(0x15e)])!==this[_0x9cc73a(0x15e)])return;const _0x11fe8a={'eventID':_0x1680ab['UPDATE_CURSOR'],'data':_0x51334f};this[_0x9cc73a(0x160)](_0x11fe8a);}),this[_0xbc127f(0xc8)](this[_0xbc127f(0x189)][_0xbc127f(0x269)](_0x21fc4c=>{const _0x2d3fce=_0xbc127f;if(_0x21fc4c[_0x2d3fce(0x15c)]==null)return;const _0x3ce84d=_0x21fc4c[_0x2d3fce(0x15c)];if(_0x21fc4c['id']!==_0x418958['id']||_0x3ce84d[_0x2d3fce(0x172)]!==this[_0x2d3fce(0x15e)])return;const _0x52ebad={'id':'doc.mutation.rich-text-editing','params':_0x3ce84d},_0x32a4b0=this['cursorInfo'];for(const [_0xb3ac9f,_0x2a50fa]of _0x32a4b0){const _0x3dc68d={'id':_0x2d3fce(0x24e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2a50fa[_0x2d3fce(0x21c)]}},_0x1b035a=this[_0x2d3fce(0x20b)]['transformMutation'](_0x52ebad,_0x3dc68d,!0x1);if(_0x5f38d2(_0x1b035a))throw _0x1b035a[_0x2d3fce(0x25e)];_0x32a4b0[_0x2d3fce(0x106)](_0xb3ac9f,{..._0x2a50fa,'ranges':_0x1b035a[_0x2d3fce(0xdb)][_0x2d3fce(0x15c)][_0x2d3fce(0x207)]});}queueMicrotask(()=>{const _0x4cc66b=_0x2d3fce;this[_0x4cc66b(0x220)][_0x4cc66b(0x21f)](_0x32a4b0);});})));}[_0x4a9b73(0x160)](_0x1e85c1){const _0x57c731=_0x4a9b73;var _0x56d0f2,_0x1a0fd3;const {memberID:_0x16b461,selection:_0x359674}=_0x1e85c1[_0x57c731(0x29c)],_0x4264b7=_i(_0x359674),_0x4ec472=(_0x1a0fd3=(_0x56d0f2=this[_0x57c731(0x196)]['getMember'](this[_0x57c731(0x15e)],_0x16b461))==null?void 0x0:_0x56d0f2[_0x57c731(0x1ae)])!=null?_0x1a0fd3:_0x57c731(0x267),_0x3153c7={'color':this['_colorAssignService'][_0x57c731(0x117)](_0x16b461),'name':_0x4ec472,'ranges':_0x4264b7},_0x3040cd=this[_0x57c731(0x294)];_0x3040cd[_0x57c731(0x106)](_0x16b461,_0x3153c7),this['_cursorInfo$'][_0x57c731(0x21f)](_0x3040cd);}[_0x4a9b73(0x25d)](_0x226fac){const _0xd37064=_0x4a9b73,{memberID:_0x283f98}=_0x226fac['data'],_0x2ea933=this[_0xd37064(0x294)];_0x2ea933['delete'](_0x283f98),this[_0xd37064(0x220)]['next'](_0x2ea933);}[_0x4a9b73(0x262)](){const _0x14840e=_0x4a9b73;var _0x4b51ed;if(this[_0x14840e(0xe1)]=!0x0,((_0x4b51ed=this[_0x14840e(0x283)][_0x14840e(0x115)]())==null?void 0x0:_0x4b51ed[_0x14840e(0x1ce)]())!==this[_0x14840e(0x15e)])return;const _0x4c91d0=this[_0x14840e(0x23c)][_0x14840e(0x1fb)](_0x277911)['getDocRanges']();Array[_0x14840e(0x1fc)](_0x4c91d0)&&_0x4c91d0[_0x14840e(0x190)]>0x0&&this['_updateLocalCursor'](_0x4c91d0);}[_0x4a9b73(0x1e0)](){const _0x2ee6b5=_0x4a9b73;this[_0x2ee6b5(0xe1)]=!0x1;}};Ue=ui([L(0x2,_0x5a910a(_0x315584)),L(0x3,_0x5a910a(ke)),L(0x4,_0x5a910a(_0x2d8be8)),L(0x5,_0x5a910a(He)),L(0x6,_0x374c61),L(0x7,_0x3d2f4d),L(0x8,_0x125a4d)],Ue);var Si=Object[_0x4a9b73(0xc4)],mi=(_0x465ae6,_0x375afa,_0x1082b2,_0x416cad)=>{const _0x3e6684=_0x4a9b73;for(var _0x372d6f=_0x416cad>0x1?void 0x0:_0x416cad?Si(_0x375afa,_0x1082b2):_0x375afa,_0x283f75=_0x465ae6[_0x3e6684(0x190)]-0x1,_0xde1d40;_0x283f75>=0x0;_0x283f75--)(_0xde1d40=_0x465ae6[_0x283f75])&&(_0x372d6f=_0xde1d40(_0x372d6f)||_0x372d6f);return _0x372d6f;},x=(_0x42c58a,_0x3b2380)=>(_0xc9cdb5,_0x34f704)=>_0x3b2380(_0xc9cdb5,_0x34f704,_0x42c58a);const gi=0x12c,Ii=0x64,vi=()=>{let _0x16b056=[],_0x2bfb43=!0x1;return _0x2a5847=>{const _0x153bcf=_0x4899;_0x16b056[_0x153bcf(0x24c)](_0x2a5847),_0x2bfb43||(_0x2bfb43=!0x0,setTimeout(()=>{const _0x31330e=_0x153bcf;_0x16b056[_0x31330e(0x263)](_0x1c42db=>_0x1c42db()),_0x16b056=[],_0x2bfb43=!0x1;}));};};let Me=class extends _0x43324a{constructor(_0x58fa16,_0x3503d9,_0x427615,_0x87bd0d,_0x5b2b10,_0x3eccfc,_0x5bc96b,_0x3aceb5){const _0x19723e=_0x4a9b73;super(),_(this,'_online',!0x1),_(this,_0x19723e(0x2bf),!0x1),_(this,'_cursorInfo$',new _0x4ae7de(new Map())),_(this,_0x19723e(0x261),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4ae7de([])),_(this,_0x19723e(0xfe),this[_0x19723e(0x271)][_0x19723e(0x1c1)](_0x1e1485(gi))),_(this,'_updateLocalCursor',_0x42c593((_0x1bb95a,_0x9d489f)=>{const _0x18d69c=_0x19723e,_0x47af21={'eventID':_0x1680ab[_0x18d69c(0x1da)],'data':{'unitID':this[_0x18d69c(0x15e)],'memberID':this[_0x18d69c(0x153)]['getMemberID'](),'selection':_0x827672(_0x1bb95a,_0x9d489f['range'])}};this[_0x18d69c(0x153)]['send'](_0x47af21,this[_0x18d69c(0x15e)]);},Ii)),(this[_0x19723e(0x15e)]=_0x58fa16,this[_0x19723e(0x153)]=_0x3503d9,this['_injector']=_0x427615,this[_0x19723e(0x18b)]=_0x87bd0d,this[_0x19723e(0x196)]=_0x5b2b10,this['_univerInstanceService']=_0x3eccfc,this[_0x19723e(0x189)]=_0x5bc96b,this[_0x19723e(0x2a0)]=_0x3aceb5);}get[_0x4a9b73(0x294)](){const _0x4c65fc=_0x4a9b73;return this[_0x4c65fc(0x220)][_0x4c65fc(0x1fd)]();}get[_0x4a9b73(0x130)](){const _0x4a008f=_0x4a9b73;return this['_roomMembers$'][_0x4a008f(0x1fd)]();}['dispose'](){const _0x462067=_0x4a9b73;super[_0x462067(0x197)](),this[_0x462067(0x220)][_0x462067(0x21f)](new Map()),this[_0x462067(0x220)][_0x462067(0x24a)](),this[_0x462067(0x271)][_0x462067(0x21f)]([]),this[_0x462067(0x271)][_0x462067(0x24a)]();}[_0x4a9b73(0x14a)](){const _0x72d968=_0x4a9b73;this['_init']||(this[_0x72d968(0x2bf)]=!0x0,this[_0x72d968(0x153)][_0x72d968(0x26c)][_0x72d968(0x1c1)](_0x2c1b93(this['dispose$']))[_0x72d968(0x257)](_0x1505dd=>{const _0x1f0d0f=_0x72d968;_0x1505dd===_0xe08b52[_0x1f0d0f(0x27e)]?this[_0x1f0d0f(0x262)]():this[_0x1f0d0f(0x1e0)]();}),this[_0x72d968(0x153)][_0x72d968(0x11c)][_0x72d968(0x1c1)](_0x2c1b93(this[_0x72d968(0x282)]))[_0x72d968(0x257)](_0x580322=>{const _0x138a53=_0x72d968,_0x365e32=_0x580322[_0x138a53(0x1c9)];_0x365e32===_0x1680ab[_0x138a53(0x1da)]&&this[_0x138a53(0x160)](_0x580322),_0x365e32===_0x1680ab[_0x138a53(0x1fe)]&&this[_0x138a53(0x25d)](_0x580322);}),this[_0x72d968(0x1fa)](),this[_0x72d968(0xc8)](this[_0x72d968(0x189)][_0x72d968(0x269)](_0x3b0984=>{const _0x1770ff=_0x72d968;if(this['_online']&&_0x3b0984['id']===_0x417bbd['id']&&_0x3b0984[_0x1770ff(0x15c)][_0x1770ff(0x172)]===this['unitID']){const _0x5d292b=_0x3b0984[_0x1770ff(0x15c)];this[_0x1770ff(0xd4)](_0x5d292b[_0x1770ff(0x239)],_0x5d292b[_0x1770ff(0x236)][0x0]);}})));}['_onCursorUpdate'](_0x3aec43){const _0x11a7c1=_0x4a9b73;var _0x592f36,_0x3102cc;const {memberID:_0x582045,selection:_0xa4bd73}=_0x3aec43[_0x11a7c1(0x29c)],{sheetName:_0x31b12a,range:_0x31c840}=_0x370b2d(_0xa4bd73),_0x5813c3={'name':(_0x3102cc=(_0x592f36=this[_0x11a7c1(0x196)]['getMember'](this['unitID'],_0x582045))==null?void 0x0:_0x592f36[_0x11a7c1(0x1ae)])!=null?_0x3102cc:_0x11a7c1(0x267),'range':this['_getMergeRange'](_0x31b12a,_0x31c840),'sheetID':_0x31b12a,'color':this[_0x11a7c1(0x18b)][_0x11a7c1(0x117)](_0x582045),'selection':_0xa4bd73},_0x3b48fa=this[_0x11a7c1(0x294)];_0x3b48fa[_0x11a7c1(0x106)](_0x582045,_0x5813c3),this[_0x11a7c1(0x220)][_0x11a7c1(0x21f)](_0x3b48fa);}[_0x4a9b73(0x25d)](_0x3c71e7){const _0x99ec17=_0x4a9b73,{memberID:_0x36ca03}=_0x3c71e7[_0x99ec17(0x29c)],_0x4ec010=this[_0x99ec17(0x294)];_0x4ec010[_0x99ec17(0x19f)](_0x36ca03),this['_cursorInfo$'][_0x99ec17(0x21f)](_0x4ec010);}[_0x4a9b73(0xde)](_0x5d6815,_0x166dff){const _0x33b78e=_0x4a9b73;var _0x572355,_0x31e83f;const _0x4f96ac=(_0x31e83f=(_0x572355=this['_univerInstanceService'][_0x33b78e(0x223)](this[_0x33b78e(0x15e)]))==null?void 0x0:_0x572355[_0x33b78e(0x24b)](_0x5d6815))==null?void 0x0:_0x31e83f[_0x33b78e(0xd3)]();return(_0x4f96ac==null?void 0x0:_0x4f96ac['find'](_0x1e9485=>_0x46521d[_0x33b78e(0x2b1)](_0x1e9485,_0x166dff)))||_0x166dff;}['_onRefRangeChange'](){const _0x583a79=_0x4a9b73,_0x1004af=new _0x56b3bc(),_0x4272f2=vi(),_0x55e304=()=>{const _0x16940f=_0x4899;_0x1004af[_0x16940f(0x197)]();const _0x60885=(_0x32eae4,_0x204394,_0x55c233,_0x32dfbb)=>{const _0x1f832b=_0x16940f;let _0x517006=[];switch(_0x32eae4['id']){case _0x581f2e[_0x1f832b(0x266)]:{_0x517006=_0x309e96(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x1ab)]:{_0x517006=_0x4b2b8b(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['InsertColCommandId']:{_0x517006=_0x50bb6c(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x101)]:{_0x517006=_0x2b1548(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x140)]:{_0x517006=_0x2edcd3(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['InsertRowCommandId']:{_0x517006=_0x34548f(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['MoveRangeCommandId']:{_0x517006=_0x6bb816(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x170)]:{_0x517006=_0x1d067d(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0xfa)]:{_0x517006=_0x3ad8bf(_0x32eae4,_0x32dfbb);break;}}const _0x527cc9=_0x24374a(_0x517006,_0x32dfbb),_0xee007d=this['cursorInfo'][_0x1f832b(0x1fb)](_0x204394);if(_0xee007d&&_0x527cc9){const _0x71c11a={..._0xee007d,'range':_0x527cc9};this[_0x1f832b(0x294)][_0x1f832b(0x106)](_0x204394,_0x71c11a),_0x4272f2(()=>{const _0x461dd7=_0x1f832b,_0x4a7302=this[_0x461dd7(0x2a0)][_0x461dd7(0xf6)](_0x527cc9,_0x3bdaa0=>(_0x4a7302[_0x461dd7(0x197)](),_0x60885(_0x3bdaa0,_0x204394,_0x55c233,_0x527cc9)));_0x1004af[_0x461dd7(0x29f)](_0x4a7302);});}return{'redos':[],'undos':[]};};this[_0x16940f(0x294)][_0x16940f(0x263)]((_0xdd0da9,_0x3bdc5e)=>{const _0x5469e3=_0x16940f,{range:_0x1c5cfb,sheetID:_0x2b2cb3}=_0xdd0da9,_0x452317=this[_0x5469e3(0x2a0)][_0x5469e3(0xf6)](_0x1c5cfb,_0x24e629=>(_0x452317[_0x5469e3(0x197)](),_0x60885(_0x24e629,_0x3bdc5e,_0x2b2cb3,_0x1c5cfb)));_0x1004af[_0x5469e3(0x29f)](_0x452317);});};this[_0x583a79(0xc8)](_0x3efb45(this['_cursorInfo$'][_0x583a79(0x257)](()=>{_0x55e304();})));}[_0x4a9b73(0x262)](){const _0x47b162=_0x4a9b73;var _0x5d9e5b,_0x1d04c8;if(this['_online']=!0x0,((_0x5d9e5b=this[_0x47b162(0x283)][_0x47b162(0x115)]())==null?void 0x0:_0x5d9e5b['getUnitId']())!==this['unitID'])return;const _0x335e32=(_0x1d04c8=this['_injector'][_0x47b162(0x1fb)](_0x49f6d2)['getCurrentSelections']())==null?void 0x0:_0x1d04c8[0x0],_0x2d5c57=this[_0x47b162(0x283)][_0x47b162(0x1cf)](_0x4d90ef[_0x47b162(0x13c)])['getActiveSheet']();_0x335e32&&_0x2d5c57&&this['_updateLocalCursor'](_0x2d5c57[_0x47b162(0x23e)](),_0x335e32);}[_0x4a9b73(0x1e0)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x5a910a(_0x315584)),x(0x3,_0x5a910a(ke)),x(0x4,_0x5a910a(_0x2d8be8)),x(0x5,_0x3d2f4d),x(0x6,_0x125a4d),x(0x7,_0x5a910a(_0x5e0628))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x79a2c2,_0x5c64a1,_0x5aa2ec,_0x48445b)=>{const _0x17db7e=_0x4a9b73;for(var _0x50b981=_0x48445b>0x1?void 0x0:_0x48445b?pi(_0x5c64a1,_0x5aa2ec):_0x5c64a1,_0x3904c3=_0x79a2c2[_0x17db7e(0x190)]-0x1,_0x1dbaf1;_0x3904c3>=0x0;_0x3904c3--)(_0x1dbaf1=_0x79a2c2[_0x3904c3])&&(_0x50b981=_0x1dbaf1(_0x50b981)||_0x50b981);return _0x50b981;},Se=(_0x1c9627,_0x231c40)=>(_0x23b42a,_0x42f0c9)=>_0x231c40(_0x23b42a,_0x42f0c9,_0x1c9627);let H=class extends _0x43324a{constructor(_0x1b997e,_0x3126ba,_0x23fa04){const _0x16938d=_0x4a9b73;super(),_(this,_0x16938d(0x1bc),new Map()),_(this,'_entityInit$',new _0x4552ef()),(this[_0x16938d(0x283)]=_0x1b997e,this[_0x16938d(0x23c)]=_0x3126ba,this[_0x16938d(0x298)]=_0x23fa04,this[_0x16938d(0x2bf)]());}['dispose'](){const _0x2a09b1=_0x4a9b73;super[_0x2a09b1(0x197)](),this[_0x2a09b1(0x143)][_0x2a09b1(0x24a)](),this[_0x2a09b1(0x1bc)]['forEach'](_0x4e510d=>_0x4e510d['dispose']());}[_0x4a9b73(0x15d)](_0x5163da){const _0x1823da=_0x4a9b73;return this[_0x1823da(0x1bc)][_0x1823da(0x1d7)](_0x5163da)?this[_0x1823da(0x1bc)][_0x1823da(0x1fb)](_0x5163da)[_0x1823da(0x261)]:this[_0x1823da(0x143)][_0x1823da(0x1c1)](_0x3bb2b2(_0x3719c2=>_0x3719c2[_0x1823da(0x15e)]===_0x5163da),_0x5d84ac(_0x16ea44=>_0x16ea44[_0x1823da(0x261)]));}['_init'](){const _0x226520=_0x4a9b73;this[_0x226520(0x283)][_0x226520(0x1ca)](_0x4d90ef[_0x226520(0x13c)])[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x257)](async _0x307c2b=>{const _0x31975b=_0x226520,_0x3ff53c=_0x307c2b[_0x31975b(0x1ce)](),_0x2787bf=await this[_0x31975b(0x259)](_0x3ff53c);this[_0x31975b(0x143)][_0x31975b(0x21f)](_0x2787bf),this[_0x31975b(0x1bc)]['set'](_0x3ff53c,_0x2787bf);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4d90ef['UNIVER_DOC'])[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x1c1)](_0x3bb2b2(_0x458504=>!_0x458504['getUnitId']()[_0x226520(0x1ac)]('__')))[_0x226520(0x257)](async _0x3c26ad=>{const _0x31fcbf=_0x226520,_0x325545=_0x3c26ad[_0x31fcbf(0x1ce)](),_0x1141c0=await this[_0x31fcbf(0x27b)](_0x325545);this[_0x31fcbf(0x143)][_0x31fcbf(0x21f)](_0x1141c0),this[_0x31fcbf(0x1bc)][_0x31fcbf(0x106)](_0x325545,_0x1141c0);}),_0x5f50c0(this[_0x226520(0x283)][_0x226520(0x276)](_0x4d90ef['UNIVER_DOC']),this[_0x226520(0x283)][_0x226520(0x276)](_0x4d90ef[_0x226520(0x13c)]))[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x257)](_0x1c3a7d=>{const _0x30039d=_0x226520,_0x5ed1f8=_0x1c3a7d['getUnitId'](),_0x4d77ff=this[_0x30039d(0x1bc)][_0x30039d(0x1fb)](_0x5ed1f8);_0x4d77ff&&(_0x4d77ff[_0x30039d(0x197)](),this[_0x30039d(0x1bc)][_0x30039d(0x19f)](_0x5ed1f8));});}async[_0x4a9b73(0x259)](_0x209d4f){const _0x3638a9=_0x4a9b73,_0x59069d=await this[_0x3638a9(0x298)][_0x3638a9(0x17f)](_0x209d4f),_0x27ecf9=this['_injector'][_0x3638a9(0x1bb)](Me,_0x209d4f,_0x59069d);return _0x27ecf9[_0x3638a9(0x14a)](),_0x27ecf9;}async[_0x4a9b73(0x27b)](_0x4abc03){const _0x1ac86a=_0x4a9b73,_0xf62362=await this[_0x1ac86a(0x298)][_0x1ac86a(0x17f)](_0x4abc03),_0x11d045=this[_0x1ac86a(0x23c)][_0x1ac86a(0x1bb)](Ue,_0x4abc03,_0xf62362);return _0x11d045[_0x1ac86a(0x14a)](),_0x11d045;}};H=Ci([Se(0x0,_0x3d2f4d),Se(0x1,_0x5a910a(_0x315584)),Se(0x2,_0x5a910a(_0x9e201))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x2c3a17,_0x34ea8a){const _0x403062=_0x4a9b73;let {radius:_0x12f567,width:_0x22e9e3,height:_0x56b44c}=_0x34ea8a;_0x12f567=_0x12f567!=null?_0x12f567:0x0,_0x22e9e3=_0x22e9e3!=null?_0x22e9e3:0x1e,_0x56b44c=_0x56b44c!=null?_0x56b44c:0x1e;let _0x1b5103=0x0,_0x1e07bf=0x0,_0x273972=0x0;_0x1b5103=_0x1e07bf=_0x273972=Math['min'](_0x12f567,_0x22e9e3/0x2,_0x56b44c/0x2),_0x2c3a17['beginPath'](),_0x2c3a17['moveTo'](_0x1b5103,0x0),_0x2c3a17[_0x403062(0x1f8)](_0x22e9e3-_0x1e07bf,0x0),_0x2c3a17[_0x403062(0x141)](_0x22e9e3-_0x1e07bf,_0x1e07bf,_0x1e07bf,Math['PI']*0x3/0x2,0x0,!0x1),_0x2c3a17[_0x403062(0x1f8)](_0x22e9e3,_0x56b44c-_0x273972),_0x2c3a17[_0x403062(0x141)](_0x22e9e3-_0x273972,_0x56b44c-_0x273972,_0x273972,0x0,Math['PI']/0x2,!0x1),_0x2c3a17[_0x403062(0x1f8)](0x0,_0x56b44c),_0x2c3a17[_0x403062(0x1f8)](0x0,_0x1b5103),_0x2c3a17[_0x403062(0x141)](_0x1b5103,_0x1b5103,_0x1b5103,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2c3a17[_0x403062(0x209)](),_0x34ea8a['fill']&&(_0x2c3a17[_0x403062(0x125)](),_0x2c3a17[_0x403062(0x16e)]=_0x34ea8a[_0x403062(0x1a7)],_0x34ea8a[_0x403062(0x161)]===_0x403062(0x1d0)?_0x2c3a17[_0x403062(0x1a7)](_0x403062(0x1d0)):_0x2c3a17[_0x403062(0x1a7)](),_0x2c3a17[_0x403062(0x192)]());}class he extends _0x4a9018{constructor(_0x4277d0,_0x451648){const _0x227e8a=_0x4a9b73;super(_0x4277d0,_0x451648),_(this,'color'),_(this,_0x227e8a(0x248)),(this[_0x227e8a(0x1b2)]=_0x451648==null?void 0x0:_0x451648[_0x227e8a(0x1b2)],this[_0x227e8a(0x248)]=_0x451648==null?void 0x0:_0x451648[_0x227e8a(0x248)]);}static[_0x4a9b73(0x175)](_0x560c5b,_0x3fe90c){const _0x45e4b8=_0x4a9b73,{text:_0x26bbd0,color:_0x3906c3}=_0x3fe90c;_0x560c5b[_0x45e4b8(0x125)](),_0x560c5b['font']=_0x45e4b8(0x107);const _0x49d072=_0x560c5b['measureText'](_0x26bbd0)['width'],_0x1ca15d=Math[_0x45e4b8(0x29e)](_0x49d072+0x2*me,Qe);Oi(_0x560c5b,{'height':ee,'radius':0x4,'width':_0x1ca15d,'fill':_0x3906c3}),_0x560c5b[_0x45e4b8(0x16e)]=_0x45e4b8(0x145);const _0x585be7=me,_0x1e806c=ee-Ei,_0x509bb7=Qe-0x2*me;if(_0x49d072>_0x509bb7){let _0x36a2f8='',_0x12441e=0x0;for(const _0x5e9469 of _0x26bbd0){const _0x1a9788=_0x560c5b[_0x45e4b8(0x12c)](_0x5e9469)['width'];if(_0x12441e+_0x1a9788<=_0x509bb7-_0x560c5b[_0x45e4b8(0x12c)](_0x45e4b8(0x17e))[_0x45e4b8(0x163)])_0x36a2f8+=_0x5e9469,_0x12441e+=_0x1a9788;else{_0x36a2f8+='...';break;}}_0x560c5b[_0x45e4b8(0x265)](_0x36a2f8,_0x585be7,_0x1e806c);}else _0x560c5b[_0x45e4b8(0x265)](_0x26bbd0,_0x585be7,_0x1e806c);_0x560c5b[_0x45e4b8(0x192)]();}['_draw'](_0x4262ea){const _0x5f0d30=_0x4a9b73;he[_0x5f0d30(0x175)](_0x4262ea,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x4a9b73(0x10e),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x1f905a,_0x1dccd8,_0x260154,_0x1d9254){const _0x3f9627=_0x4a9b73;_(this,'_shapes',[]),_(this,_0x3f9627(0x118),null),_(this,'_textBubble',null),_(this,_0x3f9627(0x15a),null),_(this,'_hideTimer',null),_(this,_0x3f9627(0x28a),null),(this[_0x3f9627(0x108)]=_0x1f905a,this['_scene']=_0x1dccd8,this[_0x3f9627(0x238)]=_0x260154,this[_0x3f9627(0x28f)]=_0x1d9254,this[_0x3f9627(0x17b)]());}set[_0x4a9b73(0xcd)](_0x15e0eb){const _0x3c36a6=_0x4a9b73;_0x15e0eb?(this[_0x3c36a6(0x15a)]&&this[_0x3c36a6(0x15a)][_0x3c36a6(0x149)](),this[_0x3c36a6(0x164)]&&this[_0x3c36a6(0x164)]['show']()):(this[_0x3c36a6(0x15a)]&&this[_0x3c36a6(0x15a)]['show'](),this[_0x3c36a6(0x164)]&&this[_0x3c36a6(0x164)][_0x3c36a6(0x149)]());}[_0x4a9b73(0x197)](){const _0x1f687d=_0x4a9b73;for(const _0x17e426 of this[_0x1f687d(0x275)])_0x17e426[_0x1f687d(0x197)]();this[_0x1f687d(0x164)]&&this[_0x1f687d(0x164)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x1f687d(0x197)](),this['_anchor']&&this[_0x1f687d(0x118)][_0x1f687d(0x197)](),this[_0x1f687d(0x28a)]&&this[_0x1f687d(0x28a)]();}[_0x4a9b73(0x17b)](){const _0x593858=_0x4a9b73;var _0x3ccc75;const {_docSkeleton:_0xe9cdfe,_document:_0x4cbf40}=this,{color:_0x3324af,name:_0x251eba,ranges:_0xa0f0d4}=this['_cursor'],_0x1e2c11=_0x4cbf40[_0x593858(0x295)](),{docsLeft:_0xfeba98,docsTop:_0x647d55}=_0x1e2c11,_0x396a4d=new _0x2fe4e1(_0x1e2c11,_0xe9cdfe);for(const {startOffset:_0xc4aa3,endOffset:_0x461697,rangeType:_0x8885f4,segmentId:_0x2b53f0,segmentPage:_0x19f8e5,collapsed:_0x4c7ec7,isActive:_0x4e0e05}of _0xa0f0d4){const _0x42b64b=_0xe9cdfe[_0x593858(0x148)](_0xc4aa3,!0x0,_0x2b53f0,_0x19f8e5);let _0x58f5eb=_0xe9cdfe['findNodePositionByCharIndex'](_0x461697,!0x0,_0x2b53f0,_0x19f8e5);if(_0x58f5eb==null&&(_0x58f5eb=_0xe9cdfe['findNodePositionByCharIndex'](_0x461697-0x1,!0x1,_0x2b53f0,_0x19f8e5)),_0x4e0e05){const {contentBoxPointGroup:_0x292ba8}=_0x396a4d['getRangePointData'](_0x58f5eb,_0x58f5eb);if(_0x292ba8['length']===0x0)continue;this['_drawAnchor'](_0x3324af,_0x292ba8,_0xfeba98,_0x647d55,_0x251eba),this[_0x593858(0x28a)]=this[_0x593858(0x1c4)]();}if(_0x42b64b&&_0x58f5eb){if(_0x8885f4===_0x193d3c[_0x593858(0xf5)]){const _0x112a37=new _0xfbff7(_0x1e2c11,_0xe9cdfe),{pointGroup:_0x103321}=(_0x3ccc75=_0x112a37['getRangePointData'](_0x42b64b,_0x58f5eb))!=null?_0x3ccc75:{};if(_0x103321==null||_0x103321['length']===0x0)continue;this['_drawRectRange'](_0x3324af,_0x103321,_0xfeba98,_0x647d55);}else{if(!_0x4c7ec7){const {borderBoxPointGroup:_0xcbd0b7}=_0x396a4d[_0x593858(0x1de)](_0x42b64b,_0x58f5eb);if(_0xcbd0b7[_0x593858(0x190)]===0x0)continue;this['_drawTextRange'](_0x3324af,_0xcbd0b7,_0xfeba98,_0x647d55);}}}}}['_drawAnchor'](_0x75a3d4,_0x3124b6,_0x5831ab,_0x38de74,_0x3e90df){const _0x43111d=_0x4a9b73,_0x1c6985=this[_0x43111d(0x171)](_0x3124b6),{left:_0x560996,top:_0x1a6be4,height:_0x36e29b}=_0x1c6985,_0x37cfac=this[_0x43111d(0x1b8)](),_0x479289=Di/_0x37cfac,_0xdcc5e9=new _0x55b9e3(ge+_0x51c666[_0x43111d(0x1a5)](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74,'height':_0x36e29b,'width':Ri,'fill':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'strokeWidth':_0x479289,'stroke':Ni,'evented':!0x0});this['_anchor']=_0xdcc5e9,this[_0x43111d(0x112)][_0x43111d(0x293)](_0xdcc5e9,_0x14bb2e);const _0x199e4b=new _0x55b9e3(ge+_0x51c666[_0x43111d(0x1a5)](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'strokeWidth':0x0,'stroke':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'evented':!0x1});this['_anchorDot']=_0x199e4b,this['_scene'][_0x43111d(0x293)](_0x199e4b,_0x14bb2e);const _0x140619=new he(ge+_0x51c666['generateRandomId'](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74-ee,'text':_0x3e90df,'color':_0x75a3d4});this[_0x43111d(0x164)]=_0x140619,this[_0x43111d(0x112)]['addObject'](_0x140619,_0x14bb2e),this[_0x43111d(0xcd)]=!0x1;}[_0x4a9b73(0x1c4)](){const _0xff099c=_0x4a9b73,_0x3944f1=this[_0xff099c(0x118)]['onPointerEnter$'][_0xff099c(0x1ad)](()=>{const _0x9c30a7=_0xff099c;this[_0x9c30a7(0xcd)]=!0x0;}),_0x20b4f8=this['_anchor'][_0xff099c(0xe7)][_0xff099c(0x1ad)](()=>{const _0x49965b=_0xff099c;this[_0x49965b(0x1c7)]&&clearTimeout(this['_hideTimer']),this[_0x49965b(0x1c7)]=setTimeout(()=>{const _0x88b834=_0x49965b;this[_0x88b834(0xcd)]=!0x1;},0x7d0);});return()=>{const _0x29f7ea=_0xff099c;_0x3944f1[_0x29f7ea(0x1c6)](),_0x20b4f8[_0x29f7ea(0x1c6)]();};}[_0x4a9b73(0x169)](_0x3bfe46,_0x53576a,_0x5d749e,_0x110d83){const _0x5b4589=_0x4a9b73,_0x2322f3=new _0x18abcb(_0x3bfe46)[_0x5b4589(0x16a)](0.2)[_0x5b4589(0x13e)](),_0x63530d=new _0x183296(bi+_0x51c666['generateRandomId'](X),{'pointsGroup':_0x53576a,'fill':_0x2322f3||_0x447506(_0x30dfd1['black'],0.2),'left':_0x5d749e,'top':_0x110d83,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b4589(0x275)]['push'](_0x63530d),this[_0x5b4589(0x112)][_0x5b4589(0x293)](_0x63530d,_0x14bb2e);}[_0x4a9b73(0x2b4)](_0xd85f9d,_0x421dab,_0x5b281e,_0x392d3b){const _0x15ab44=_0x4a9b73,_0x57f6ef=new _0x18abcb(_0xd85f9d)['setAlpha'](0.2)[_0x15ab44(0x13e)](),_0x1540f1=new _0x183296(Ti+_0x51c666[_0x15ab44(0x1a5)](X),{'pointsGroup':_0x421dab,'fill':_0x57f6ef||_0x447506(_0x30dfd1[_0x15ab44(0x24d)],0.2),'left':_0x5b281e,'top':_0x392d3b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15ab44(0x275)][_0x15ab44(0x24c)](_0x1540f1),this[_0x15ab44(0x112)]['addObject'](_0x1540f1,_0x14bb2e);}[_0x4a9b73(0x171)](_0x210f9b){const _0x24e656=_0x210f9b[0x0],_0x3e3f5f=_0x24e656[0x0],_0x24fcd0=_0x24e656[0x2],{x:_0x3db05b,y:_0x5c3f4e}=_0x3e3f5f,{x:_0x1f6f75,y:_0x2722b6}=_0x24fcd0;return{'left':_0x3db05b,'top':_0x5c3f4e,'width':_0x1f6f75-_0x3db05b,'height':_0x2722b6-_0x5c3f4e};}[_0x4a9b73(0x1b8)](){const _0x4b9876=_0x4a9b73,{scaleX:_0x28d9f8,scaleY:_0x19ca3b}=this[_0x4b9876(0x112)][_0x4b9876(0x1b0)]();return Math[_0x4b9876(0x28c)](_0x28d9f8,_0x19ca3b);}}var Ui=Object[_0x4a9b73(0xc4)],Mi=(_0x54a490,_0x39d899,_0x3fb1d3,_0xa25b5f)=>{for(var _0x4f481a=_0xa25b5f>0x1?void 0x0:_0xa25b5f?Ui(_0x39d899,_0x3fb1d3):_0x39d899,_0x36e900=_0x54a490['length']-0x1,_0x4f1708;_0x36e900>=0x0;_0x36e900--)(_0x4f1708=_0x54a490[_0x36e900])&&(_0x4f481a=_0x4f1708(_0x4f481a)||_0x4f481a);return _0x4f481a;},Z=(_0x27e7a5,_0x2ec776)=>(_0x502b78,_0x381c7d)=>_0x2ec776(_0x502b78,_0x381c7d,_0x27e7a5);let Pe=class extends _0x43324a{constructor(_0x231360,_0x1e9912,_0x484d4c,_0x45d084,_0x168db1){const _0x795911=_0x4a9b73;super(),_(this,'_cursorShapes',[]),_(this,_0x795911(0x11b),[]),(this[_0x795911(0x147)]=_0x231360,this[_0x795911(0xdd)]=_0x1e9912,this[_0x795911(0x219)]=_0x484d4c,this[_0x795911(0x189)]=_0x45d084,this['_themeService']=_0x168db1,this[_0x795911(0x2bf)]());}[_0x4a9b73(0x2bf)](){const _0x1855ee=_0x4a9b73,_0x3ab0dd=this['_context'][_0x1855ee(0x172)],_0x2d7a97=this[_0x1855ee(0xdd)];this[_0x1855ee(0xc8)](_0x3dba36([this[_0x1855ee(0x219)][_0x1855ee(0x15d)](_0x3ab0dd),this['_themeService'][_0x1855ee(0xcb)]])[_0x1855ee(0x1c1)](_0x2f99f8(([_0x518471,_0x3ec0ae])=>({'skeleton':_0x2d7a97[_0x1855ee(0x18d)](),'cursors':[..._0x518471[_0x1855ee(0x279)]()][_0x1855ee(0x206)](_0x2b6abd=>({..._0x2b6abd,'color':this[_0x1855ee(0x2a5)][_0x1855ee(0x185)](_0x2b6abd['color'])}))})))[_0x1855ee(0x257)](_0x3226f6=>{const _0x3bf94c=_0x1855ee;if(this[_0x3bf94c(0x22a)](),_0x3226f6){const {skeleton:_0x5248ef,cursors:_0x1f0e62}=_0x3226f6;this['_updateCollabCursors'](_0x5248ef,_0x1f0e62);}})),this['_initResize'](),this[_0x1855ee(0x25c)]();}['_updateCollabCursors'](_0xa58468,_0xda6fb6){const _0x30f1c6=_0x4a9b73,{scene:_0x4b103f,mainComponent:_0xf50673}=this[_0x30f1c6(0x147)],_0x57f585=_0xda6fb6['map'](_0x1ff60d=>new qe(_0x1ff60d,_0x4b103f,_0xa58468,_0xf50673));this[_0x30f1c6(0x243)]=_0x57f585,this[_0x30f1c6(0x11b)]=_0xda6fb6;}[_0x4a9b73(0x10c)](){const _0xece84a=_0x4a9b73;this[_0xece84a(0x22a)]();const {scene:_0x52296b,mainComponent:_0x2ccf28}=this['_context'],_0x24a1b1=this[_0xece84a(0xdd)]['getSkeleton'](),_0x14fddc=this[_0xece84a(0x11b)][_0xece84a(0x142)](_0x32ee65=>new qe(_0x32ee65,_0x52296b,_0x24a1b1,_0x2ccf28));this[_0xece84a(0x243)]=_0x14fddc;}[_0x4a9b73(0x22a)](){const _0x3f5c03=_0x4a9b73;this[_0x3f5c03(0x243)][_0x3f5c03(0x263)](_0x14975e=>_0x14975e[_0x3f5c03(0x197)]()),this[_0x3f5c03(0x243)]=[];}[_0x4a9b73(0x25c)](){const _0x3d4b95=_0x4a9b73,_0x44e87a=[_0x6c535a['id']];this[_0x3d4b95(0xc8)](this['_commandService'][_0x3d4b95(0x269)](_0x5bfe09=>{const _0x4dee5b=_0x3d4b95;_0x44e87a['includes'](_0x5bfe09['id'])&&_0x5bfe09['params'][_0x4dee5b(0x172)]===this['_context'][_0x4dee5b(0x172)]&&this[_0x4dee5b(0x10c)]();}));}[_0x4a9b73(0x274)](){const _0x59b887=_0x4a9b73;this[_0x59b887(0xc8)](_0xb20e27(this[_0x59b887(0x147)]['engine'][_0x59b887(0x272)])[_0x59b887(0x1c1)](_0x370354(_0x32660d=>_0x32660d['type']===_0x20ee95[_0x59b887(0x178)]),_0x544c43(0x10))[_0x59b887(0x257)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x5a910a(_0x155d5e)),Z(0x2,_0x5a910a(H)),Z(0x3,_0x125a4d),Z(0x4,_0x5a910a(_0x40a3a8))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x4a9018{constructor(_0x40e5c2,_0x5caf55){const _0x262b8d=_0x4a9b73;super(_0x40e5c2,_0x5caf55),_(this,_0x262b8d(0x273)),_(this,_0x262b8d(0x1e4),!0x1),_(this,_0x262b8d(0x193)),_(this,'_name',''),_(this,_0x262b8d(0xdf),_0x262b8d(0x126)),_(this,_0x262b8d(0x157)),(_0x5caf55&&this['setShapeProps'](_0x5caf55),this[_0x262b8d(0x1a1)][_0x262b8d(0x1ad)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x262b8d(0xe7)][_0x262b8d(0x1ad)](()=>this[_0x262b8d(0x2a1)]({'hovered':!0x1})));}['setShapeProps'](_0x1ba62f){const _0x33658c=_0x4a9b73;var _0x5d01b0,_0x1a389d,_0x41a09a,_0x3ee61d,_0x8aa612,_0x393b7d;this[_0x33658c(0x273)]=(_0x5d01b0=_0x1ba62f['color'])!=null?_0x5d01b0:this['_color'],this[_0x33658c(0x1e4)]=(_0x1a389d=_0x1ba62f['hovered'])!=null?_0x1a389d:this[_0x33658c(0x1e4)],this['_range']=(_0x41a09a=_0x1ba62f[_0x33658c(0x13b)])!=null?_0x41a09a:this[_0x33658c(0x193)],this[_0x33658c(0x22e)]=(_0x3ee61d=_0x1ba62f[_0x33658c(0x1ae)])!=null?_0x3ee61d:this[_0x33658c(0x22e)],this['_labelPosition']=(_0x8aa612=_0x1ba62f[_0x33658c(0x27f)])!=null?_0x8aa612:this[_0x33658c(0xdf)],this['_backgroundColor']=(_0x393b7d=_0x1ba62f['backgroundColor'])!=null?_0x393b7d:this['_backgroundColor'],this[_0x33658c(0x256)]({'width':_0x1ba62f['width'],'height':_0x1ba62f[_0x33658c(0x174)]});}[_0x4a9b73(0x12a)](_0x4c6593){const _0xf6f99b=_0x4a9b73,{row:_0x17d86e,column:_0x181458}=_0x4c6593;if(_0x17d86e>=this[_0xf6f99b(0x193)][_0xf6f99b(0x1dd)]&&_0x17d86e<=this[_0xf6f99b(0x193)][_0xf6f99b(0x217)]&&_0x181458>=this[_0xf6f99b(0x193)][_0xf6f99b(0x123)]&&_0x181458<=this[_0xf6f99b(0x193)][_0xf6f99b(0x21d)]){this[_0xf6f99b(0x2a1)]({'hovered':!0x0});return;}this[_0xf6f99b(0x2a1)]({'hovered':!0x1});}[_0x4a9b73(0xe5)](_0x376bba){return!0x1;}[_0x4a9b73(0x234)](_0x1e2cd9){const _0x507a2c=_0x4a9b73;_0x55b9e3[_0x507a2c(0x175)](_0x1e2cd9,{'width':this[_0x507a2c(0x163)],'height':this[_0x507a2c(0x174)],'strokeWidth':Li,'stroke':this[_0x507a2c(0x273)],'evented':!0x1,'fill':this[_0x507a2c(0x157)]}),this['_hovered']&&(_0x1e2cd9[_0x507a2c(0x125)](),_0x1e2cd9[_0x507a2c(0x1b6)](0x1,0x0,0x0,0x1,this[_0x507a2c(0x163)],this[_0x507a2c(0xdf)]===_0x507a2c(0x1ef)?0x0:-0x14),he[_0x507a2c(0x175)](_0x1e2cd9,{'text':this[_0x507a2c(0x22e)],'color':this['_color']}),_0x1e2cd9[_0x507a2c(0x192)]());}}var Ai=Object[_0x4a9b73(0xc4)],yi=(_0x5283fd,_0x5d976d,_0x591473,_0xfe1500)=>{for(var _0x2f6bb2=_0xfe1500>0x1?void 0x0:_0xfe1500?Ai(_0x5d976d,_0x591473):_0x5d976d,_0x405167=_0x5283fd['length']-0x1,_0x147882;_0x405167>=0x0;_0x405167--)(_0x147882=_0x5283fd[_0x405167])&&(_0x2f6bb2=_0x147882(_0x2f6bb2)||_0x2f6bb2);return _0x2f6bb2;},ve=(_0x5b35f4,_0xa96cf0)=>(_0x1db024,_0x534fd0)=>_0xa96cf0(_0x1db024,_0x534fd0,_0x5b35f4);const $i=0x1389;let Le=class extends _0x43324a{constructor(_0x37f654,_0x16a67f,_0x177a9a,_0x3fafbd){const _0x3fed96=_0x4a9b73;super(),_(this,_0x3fed96(0x11b),new Set()),_(this,_0x3fed96(0x241),null),(this[_0x3fed96(0x147)]=_0x37f654,this[_0x3fed96(0x165)]=_0x16a67f,this['_collabCursorController']=_0x177a9a,this[_0x3fed96(0x2a5)]=_0x3fafbd,this['_init']());}[_0x4a9b73(0x2bf)](){const _0x2bb593=_0x4a9b73;this[_0x2bb593(0x165)]['currentSkeleton$'][_0x2bb593(0x1c1)](_0x2ba1c5(this['dispose$']),_0x81e8fe(_0x2f5ab9=>{const _0x1d7f18=_0x2bb593;if(_0x2f5ab9){const _0x5ebfd5=_0x2f5ab9[_0x1d7f18(0x1af)];return _0x3dba36(this[_0x1d7f18(0x219)]['getCollabCursors$'](this['_context'][_0x1d7f18(0x172)]),this[_0x1d7f18(0x2a5)][_0x1d7f18(0xcb)])[_0x1d7f18(0x1c1)](_0x2f99f8(([_0x3068ef,_0x3307b5])=>{const _0x946a37=_0x1d7f18,_0x44d6c3=new Map();return _0x3068ef[_0x946a37(0x263)]((_0x5895b8,_0x15bca8)=>{const _0x4634ee=_0x946a37;if(_0x5895b8[_0x4634ee(0x299)]===_0x5ebfd5){const _0x2ac317={..._0x5895b8};_0x2ac317['color']=this['_themeService'][_0x4634ee(0x185)](_0x5895b8[_0x4634ee(0x1b2)]),_0x44d6c3['set'](_0x15bca8,_0x2ac317);}}),{'skeleton':_0x2f5ab9,'cursors':_0x44d6c3};}));}return _0x12f8ad({'skeleton':null,'cursors':new Map()});}))[_0x2bb593(0x257)](({skeleton:_0x3c5687,cursors:_0x2737e8})=>{const _0x142d0f=_0x2bb593;this[_0x142d0f(0x22a)](),_0x3c5687&&this[_0x142d0f(0x19e)](_0x3c5687,_0x2737e8);}),this[_0x2bb593(0x165)][_0x2bb593(0x1ee)]['subscribe'](_0x4dbaec=>{const _0x239e2f=_0x2bb593;if(_0x4dbaec==null)return;const {skeleton:_0x4bf306}=_0x4dbaec,{scene:_0x4feee6}=this['_context'];_0x4feee6['onPointerMove$'][_0x239e2f(0x1ad)](_0x42c593(_0x45be8e=>{const _0x233694=_0x239e2f;var _0x2b2397,_0x2e1cc6;const {offsetX:_0x24645c,offsetY:_0x2ad09d}=_0x45be8e,{x:_0x15a99d,y:_0x53c59e}=_0x4feee6[_0x233694(0x18c)](_0x1784a8[_0x233694(0xc6)]([_0x24645c,_0x2ad09d])),{scaleX:_0x15b05c,scaleY:_0x152a83}=_0x4feee6[_0x233694(0x1b0)](),_0x2a2066=_0x4feee6[_0x233694(0x249)](_0x41ca54[_0x233694(0x1f1)]),_0x4e9115=_0x4feee6[_0x233694(0xcc)](_0x1784a8[_0x233694(0xc6)]([_0x15a99d,_0x53c59e]),_0x2a2066),_0x35face=_0x4bf306[_0x233694(0x180)](_0x24645c,_0x2ad09d,_0x15b05c,_0x152a83,_0x4e9115);((_0x2b2397=this[_0x233694(0x241)])==null?void 0x0:_0x2b2397[_0x233694(0x111)])===_0x35face[_0x233694(0x111)]&&((_0x2e1cc6=this[_0x233694(0x241)])==null?void 0x0:_0x2e1cc6['row'])===_0x35face[_0x233694(0x1e5)]||this['_cursors'][_0x233694(0x263)](_0x295f8a=>{_0x295f8a['onMouseMove'](_0x35face);});},0x64));});}['_updateCollabCursors'](_0x5c47d0,_0x5a3a37){const _0xd29ccb=_0x4a9b73;var _0xd82640;const _0x98ca1c=(_0xd82640=this['_sheetSkeletonManagerService'][_0xd29ccb(0xd7)]())==null?void 0x0:_0xd82640[_0xd29ccb(0x167)];if(!_0x98ca1c)return;const _0x11537e=this[_0xd29ccb(0x10d)]();if(!_0x11537e)return;this[_0xd29ccb(0x11b)][_0xd29ccb(0x263)](_0xefd855=>{const _0x861506=_0xd29ccb;_0xefd855[_0x861506(0x284)]();});const {scene:_0x40186d}=_0x11537e,_0x1645f7=xi(Array[_0xd29ccb(0x1ec)](_0x5a3a37[_0xd29ccb(0x279)]()))['map'](_0x44f0fa=>{const _0x18aeed=_0xd29ccb,{color:_0x1973cc,range:_0x11ed94,name:_0x3ce28b,selection:_0x3b69fc,sheetID:_0x433211}=_0x44f0fa,{startColumn:_0x34714b,startRow:_0x3b0c1a,endColumn:_0x49ada4,endRow:_0x1de80f}=_0x11ed94,_0x1553cd=_0x3771ff(_0x3b0c1a,_0x34714b,_0x40186d,_0x98ca1c),_0x3cefa3=_0x3771ff(_0x1de80f,_0x49ada4,_0x40186d,_0x98ca1c),{columnHeaderHeightAndMarginTop:_0x242c12}=_0x98ca1c,{startX:_0x894ae7,startY:_0x1114d5}=_0x1553cd,{endX:_0x4e8c9f,endY:_0x3c44d1}=_0x3cefa3,_0x1a397d=_0x4e8c9f-_0x894ae7,_0x349a3c=_0x3c44d1-_0x1114d5,_0x4802b4={'labelPosition':_0x1114d5-_0x242c12>=ee?_0x18aeed(0x126):_0x18aeed(0x1ef),'sheetID':_0x433211,'range':_0x11ed94,'color':_0x1973cc,'name':_0x3ce28b,'selection':_0x3b69fc,'left':_0x894ae7,'top':_0x1114d5,'width':_0x1a397d,'height':_0x349a3c,'evented':!0x1,'zIndex':$i};return new wi(_0x3ce28b,_0x4802b4);});_0x40186d[_0xd29ccb(0xf1)](_0x1645f7,Pi),this[_0xd29ccb(0x11b)]=new Set(_0x1645f7);}['_removeCollabCursors'](){const _0x309256=_0x4a9b73;var _0x59c1f4;(_0x59c1f4=this[_0x309256(0x11b)])==null||_0x59c1f4[_0x309256(0x263)](_0x44fc90=>_0x44fc90[_0x309256(0x197)]());}[_0x4a9b73(0x10d)](){const _0xb774f5=_0x4a9b73;return _0x575758(this[_0xb774f5(0x147)][_0xb774f5(0x2a9)],this['_context']);}};Le=yi([ve(0x1,_0x5a910a(_0x12d7f8)),ve(0x2,_0x5a910a(H)),ve(0x3,_0x5a910a(_0x40a3a8))],Le);function xi(_0x2a02f1){const _0x13d90b=_0x4a9b73,_0x1ab42e=new Map();return _0x2a02f1[_0x13d90b(0x263)](_0x566dc6=>{const _0x342872=_0x13d90b;if(_0x1ab42e['has'](_0x566dc6[_0x342872(0x113)])){const _0x1ba0c4=_0x1ab42e[_0x342872(0x1fb)](_0x566dc6[_0x342872(0x113)]);_0x1ba0c4[_0x342872(0x1ae)]+=',\x20'+_0x566dc6[_0x342872(0x1ae)];}else _0x1ab42e[_0x342872(0x106)](_0x566dc6['selection'],_0x566dc6);}),Array[_0x13d90b(0x1ec)](_0x1ab42e[_0x13d90b(0x279)]());}var v=function(){const _0x39ea65=_0x4a9b73;return v=Object[_0x39ea65(0x1df)]||function(_0x465b00){const _0x167501=_0x39ea65;for(var _0x4310cb,_0x4acecd=0x1,_0x4873aa=arguments[_0x167501(0x190)];_0x4acecd<_0x4873aa;_0x4acecd++){_0x4310cb=arguments[_0x4acecd];for(var _0x364652 in _0x4310cb)Object[_0x167501(0x102)][_0x167501(0xff)]['call'](_0x4310cb,_0x364652)&&(_0x465b00[_0x364652]=_0x4310cb[_0x364652]);}return _0x465b00;},v[_0x39ea65(0x134)](this,arguments);},Bi=function(_0x3a4bc5,_0x52161a){const _0x24145=_0x4a9b73;var _0x36d0d0={};for(var _0x310171 in _0x3a4bc5)Object[_0x24145(0x102)][_0x24145(0xff)]['call'](_0x3a4bc5,_0x310171)&&_0x52161a[_0x24145(0x233)](_0x310171)<0x0&&(_0x36d0d0[_0x310171]=_0x3a4bc5[_0x310171]);if(_0x3a4bc5!=null&&typeof Object['getOwnPropertySymbols']==_0x24145(0x110)){for(var _0x41cbb3=0x0,_0x310171=Object['getOwnPropertySymbols'](_0x3a4bc5);_0x41cbb3<_0x310171[_0x24145(0x190)];_0x41cbb3++)_0x52161a[_0x24145(0x233)](_0x310171[_0x41cbb3])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x24145(0x288)](_0x3a4bc5,_0x310171[_0x41cbb3])&&(_0x36d0d0[_0x310171[_0x41cbb3]]=_0x3a4bc5[_0x310171[_0x41cbb3]]);}return _0x36d0d0;},je=_0x248f87(function(_0x328b10,_0x431f56){const _0x2e6e7b=_0x4a9b73;var _0x214d64=_0x328b10[_0x2e6e7b(0x152)],_0x48019a=_0x328b10['id'],_0x351dc7=_0x328b10[_0x2e6e7b(0x224)],_0x301da0=_0x328b10[_0x2e6e7b(0xf9)],_0x2d149d=Bi(_0x328b10,[_0x2e6e7b(0x152),'id','className',_0x2e6e7b(0xf9)]),_0x2e3203=_0x2e6e7b(0x195)['concat'](_0x48019a,'\x20')[_0x2e6e7b(0x1c0)](_0x351dc7||'')[_0x2e6e7b(0x183)](),_0xe85404=_0x298127('_'[_0x2e6e7b(0x1c0)](ji()));return Rt(_0x214d64,''[_0x2e6e7b(0x1c0)](_0x48019a),{'defIds':_0x214d64[_0x2e6e7b(0x214)],'idSuffix':_0xe85404[_0x2e6e7b(0x20d)]},v({'ref':_0x431f56,'className':_0x2e3203},_0x2d149d),_0x301da0);});function Rt(_0x150d8f,_0x5b6fd8,_0x13e694,_0x390461,_0x482057){const _0xe68527=_0x4a9b73;return _0xc2cff4(_0x150d8f[_0xe68527(0x12f)],v(v({'key':_0x5b6fd8},ki(_0x150d8f,_0x13e694,_0x482057)),_0x390461),(Hi(_0x150d8f,_0x13e694)[_0xe68527(0x20c)]||[])[_0xe68527(0x142)](function(_0x423fa6,_0x38835a){const _0x27a268=_0xe68527;return Rt(_0x423fa6,''[_0x27a268(0x1c0)](_0x5b6fd8,'-')[_0x27a268(0x1c0)](_0x150d8f['tag'],'-')[_0x27a268(0x1c0)](_0x38835a),_0x13e694,void 0x0,_0x482057);}));}function ki(_0x32d3f1,_0x30833a,_0x1438b3){const _0xb6564e=_0x4a9b73;var _0x10a1f=v({},_0x32d3f1[_0xb6564e(0x1b4)]);_0x1438b3!=null&&_0x1438b3[_0xb6564e(0x176)]&&_0x10a1f[_0xb6564e(0x1a7)]===_0xb6564e(0x176)&&(_0x10a1f[_0xb6564e(0x1a7)]=_0x1438b3[_0xb6564e(0x176)]),_0x32d3f1[_0xb6564e(0x12f)]===_0xb6564e(0x13d)&&_0x10a1f['id']&&(_0x10a1f['id']=_0x10a1f['id']+_0x30833a[_0xb6564e(0x114)]),Object[_0xb6564e(0x212)](_0x10a1f)[_0xb6564e(0x263)](function(_0x3d8498){const _0x39a277=_0xb6564e;var _0x5ffc72=_0x3d8498[0x0],_0x116d8b=_0x3d8498[0x1];_0x5ffc72===_0x39a277(0x13d)&&typeof _0x116d8b==_0x39a277(0xd9)&&(_0x10a1f[_0x5ffc72]=_0x116d8b[_0x39a277(0x26f)](/url\(#(.*)\)/,_0x39a277(0x2b0)['concat'](_0x30833a[_0x39a277(0x114)],')')));});var _0xfe8a6=_0x30833a[_0xb6564e(0x214)];return!_0xfe8a6||_0xfe8a6[_0xb6564e(0x190)]===0x0||(_0x32d3f1[_0xb6564e(0x12f)]==='use'&&_0x10a1f[_0xb6564e(0x285)]&&(_0x10a1f[_0xb6564e(0x285)]=_0x10a1f['xlink:href']+_0x30833a[_0xb6564e(0x114)]),Object['entries'](_0x10a1f)[_0xb6564e(0x263)](function(_0x3b6ccf){const _0x3fa8b1=_0xb6564e;var _0x4c8b6f=_0x3b6ccf[0x0],_0x4f9fb7=_0x3b6ccf[0x1];typeof _0x4f9fb7=='string'&&(_0x10a1f[_0x4c8b6f]=_0x4f9fb7['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3fa8b1(0x1c0)](_0x30833a[_0x3fa8b1(0x114)],')')));})),_0x10a1f;}function Hi(_0x2a93be,_0x58d2b3){const _0x5c2609=_0x4a9b73;var _0x4a1e0c,_0x39abb2=_0x58d2b3[_0x5c2609(0x214)];return!_0x39abb2||_0x39abb2[_0x5c2609(0x190)]===0x0?_0x2a93be:_0x2a93be['tag']===_0x5c2609(0x2c1)&&(!((_0x4a1e0c=_0x2a93be['children'])===null||_0x4a1e0c===void 0x0)&&_0x4a1e0c[_0x5c2609(0x190)])?v(v({},_0x2a93be),{'children':_0x2a93be[_0x5c2609(0x20c)][_0x5c2609(0x142)](function(_0x28b613){const _0x356065=_0x5c2609;return typeof _0x28b613[_0x356065(0x1b4)]['id']==_0x356065(0xd9)&&_0x39abb2&&_0x39abb2[_0x356065(0x233)](_0x28b613[_0x356065(0x1b4)]['id'])>-0x1?v(v({},_0x28b613),{'attrs':v(v({},_0x28b613['attrs']),{'id':_0x28b613[_0x356065(0x1b4)]['id']+_0x58d2b3['idSuffix']})}):_0x28b613;})}):_0x2a93be;}function ji(){const _0x2fcacd=_0x4a9b73;return Math[_0x2fcacd(0x17a)]()[_0x2fcacd(0x116)](0x24)[_0x2fcacd(0x2a7)](0x2,0x8);}je[_0x4a9b73(0x25b)]=_0x4a9b73(0x19d);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4a9b73(0x14f),'width':_0x4a9b73(0x2aa),'height':_0x4a9b73(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'stroke':_0x4a9b73(0x188),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4a9b73(0x260),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4a9b73(0x2c1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'fill':_0x4a9b73(0x1e7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a9b73(0xd0)]},Dt=_0x248f87(function(_0x4aed29,_0x5c4d2e){const _0x269c45=_0x4a9b73;return _0xc2cff4(je,Object[_0x269c45(0x1df)]({},_0x4aed29,{'id':'off-line-single','ref':_0x5c4d2e,'icon':Yi}));});Dt['displayName']=_0x4a9b73(0x120);var Fi={'tag':'svg','attrs':{'fill':_0x4a9b73(0x232),'viewBox':_0x4a9b73(0x29b),'width':_0x4a9b73(0x2aa),'height':_0x4a9b73(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9b73(0xef)},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'stroke':_0x4a9b73(0x188),'d':_0x4a9b73(0x1ea),'strokeLinecap':_0x4a9b73(0x260),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a9b73(0x218),'attrs':{'id':_0x4a9b73(0x137)},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'fill':_0x4a9b73(0x1e7),'d':_0x4a9b73(0x2ae),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4a9b73(0x137)]},Nt=_0x248f87(function(_0x545d6a,_0x370a8e){const _0x485c63=_0x4a9b73;return _0xc2cff4(je,Object['assign']({},_0x545d6a,{'id':_0x485c63(0x139),'ref':_0x370a8e,'icon':Fi}));});Nt[_0x4a9b73(0x25b)]='OnLineSingle';function Wi(_0x5bde25){const _0x404910=_0x4a9b73;switch(_0x5bde25){case _0x167395[_0x404910(0x204)]:return _0x404910(0x215);case _0x167395[_0x404910(0x1b3)]:return _0x404910(0x16f);case _0x167395['FETCH_MISS']:return _0x404910(0x2a3);case _0x167395[_0x404910(0x242)]:return _0x404910(0x297);case _0x167395[_0x404910(0x136)]:case _0x167395[_0x404910(0x132)]:return _0x404910(0x210);case _0x167395[_0x404910(0x1d9)]:case _0x167395['PENDING']:return _0x404910(0x2a6);}}function Vi(_0x4ea4d4){const _0x897508=_0x4a9b73,{status$:_0x2420ed}=_0x4ea4d4,_0x52f36b=_0x5bb2e8(_0x2420ed,_0x167395[_0x897508(0x242)]),_0x865f=_0x4bf2cc(_0x15a6bf),_0x109190=_0x4bf2cc(_0x9e201),_0x2b8ae0=_0x52f36b!==_0x167395['OFFLINE'],_0x2b98c9=_0x865f['t'](Wi(_0x52f36b)),_0x396576=_0x2b8ae0?_0x5d61f1(Nt,{}):_0x5d61f1(Dt,{}),_0x8c78d0=_0x43e35a(()=>{_0x2b8ae0||_0x109190['reconnect']();},[_0x2b8ae0,_0x109190]);function _0x21efbb(){const _0x452c67=_0x897508;return _0x5b1f6e('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x8c78d0,'children':[_0x5d61f1(_0x452c67(0x155),{'className':_0x212ae4('univer-flex\x20univer-mr-2\x20univer-text-xl',_0x2b8ae0?'univer-text-green-500':_0x452c67(0x289)),'children':_0x396576}),_0x5d61f1(_0x452c67(0x155),{'className':_0x452c67(0x1e6),'children':_0x2b98c9})]});}return _0x2b8ae0?_0x21efbb():_0x5d61f1(_0x1de27a,{'title':_0x865f['t']('collab-client.tooltip.reconnect'),'children':_0x21efbb()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x6f71e0,_0x2d289a,_0x5b026d,_0xe7fa4)=>{for(var _0x323029=_0xe7fa4>0x1?void 0x0:_0xe7fa4?Xi(_0x2d289a,_0x5b026d):_0x2d289a,_0x15a0bb=_0x6f71e0['length']-0x1,_0x2ac255;_0x15a0bb>=0x0;_0x15a0bb--)(_0x2ac255=_0x6f71e0[_0x15a0bb])&&(_0x323029=_0x2ac255(_0x323029)||_0x323029);return _0x323029;},Q=(_0x20c133,_0x3a34b0)=>(_0x4c7ca7,_0x1b3271)=>_0x3a34b0(_0x4c7ca7,_0x1b3271,_0x20c133);let te=class extends _0x3ca0d9{constructor(_0x370f3b,_0x5fef5f,_0x30dfbc,_0x498941){const _0x17ad89=_0x4a9b73;super(),_(this,_0x17ad89(0x1f3),new _0x4ae7de(_0x167395[_0x17ad89(0x242)])),(this['_univerInstanceService']=_0x370f3b,this[_0x17ad89(0x23c)]=_0x5fef5f,this['_collaborationController']=_0x30dfbc,this[_0x17ad89(0x200)]=_0x498941,this[_0x17ad89(0x213)](),this[_0x17ad89(0x255)]());}[_0x4a9b73(0x255)](){const _0x530be3=_0x4a9b73;this[_0x530be3(0xc8)](this['_univerInstanceService'][_0x530be3(0x138)][_0x530be3(0x1c1)](_0x5d84ac(()=>{const _0xce704c=_0x530be3,_0x160eb7=this[_0xce704c(0x283)]['getFocusedUnit']();return _0x160eb7?this[_0xce704c(0xcf)]['getCollabEntity$'](_0x160eb7[_0xce704c(0x1ce)]()):_0x12f8ad(null);}),_0x5d84ac(_0x43c839=>_0x43c839?_0x43c839[_0x530be3(0x29a)]:_0x12f8ad(_0x167395[_0x530be3(0x242)])))[_0x530be3(0x257)](_0x5c8e25=>{const _0x2df131=_0x530be3;this[_0x2df131(0x1f3)]['next'](_0x5c8e25);}));}['_initStatusComponent'](){const _0x51756c=_0x4a9b73;this['disposeWithMe'](this['_uiPartsService'][_0x51756c(0x2b2)](_0x12c314[_0x51756c(0x2a2)],()=>_0x4a72c4(Ki({'status$':this['_status$'][_0x51756c(0x2bc)]()}),this[_0x51756c(0x23c)])));}};te=Gi([Q(0x0,_0x3d2f4d),Q(0x1,_0x5a910a(_0x315584)),Q(0x2,_0x5a910a(_0x7aeeca)),Q(0x3,_0x10db63)],te);function Ki(_0x1ca025){const {status$:_0x577e41}=_0x1ca025;return function(){return _0x5d61f1(Vi,{'status$':_0x577e41});};}var zi=Object[_0x4a9b73(0xc4)],Ji=(_0x1f50ca,_0x3e368a,_0x39cde2,_0x2278d2)=>{const _0x1385cf=_0x4a9b73;for(var _0x4a04eb=_0x2278d2>0x1?void 0x0:_0x2278d2?zi(_0x3e368a,_0x39cde2):_0x3e368a,_0xfa138b=_0x1f50ca[_0x1385cf(0x190)]-0x1,_0xec4ed3;_0xfa138b>=0x0;_0xfa138b--)(_0xec4ed3=_0x1f50ca[_0xfa138b])&&(_0x4a04eb=_0xec4ed3(_0x4a04eb)||_0x4a04eb);return _0x4a04eb;},B=(_0x48bbbd,_0xf931b5)=>(_0x3b4c2d,_0x127b5b)=>_0xf931b5(_0x3b4c2d,_0x127b5b,_0x48bbbd);let se=class extends _0x3ca0d9{constructor(_0x13d9e4,_0xd2dea,_0x2ae77c,_0x59aebd,_0x4839f9,_0x8f5b3d){const _0x241678=_0x4a9b73;super(),this[_0x241678(0x1aa)]=_0x13d9e4,this['_localCacheService']=_0xd2dea,this[_0x241678(0x240)]=_0x2ae77c,this[_0x241678(0x27d)]=_0x59aebd,this[_0x241678(0x2a4)]=_0x4839f9,this[_0x241678(0x187)]=_0x8f5b3d,this[_0x241678(0x186)](),this[_0x241678(0x1cb)]();}['_setupBeforeClosingHandler'](){const _0xfb2c9f=_0x4a9b73;this['disposeWithMe'](this[_0xfb2c9f(0x1aa)][_0xfb2c9f(0x2a8)](()=>{const _0x3fe76b=_0xfb2c9f;if(this[_0x3fe76b(0xee)]['saveTaskMap'][_0x3fe76b(0x14b)])return this[_0x3fe76b(0x187)]['t'](_0x3fe76b(0x127));}));}[_0x4a9b73(0x1cb)](){const _0x5e4d65=_0x4a9b73;this[_0x5e4d65(0xc8)](this[_0x5e4d65(0x240)][_0x5e4d65(0x11c)][_0x5e4d65(0x257)](_0x15fb6a=>{const _0x4e8a4c=_0x5e4d65;_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x14d)]&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t']('collaboration.single-unit.warning')}),_0x15fb6a['id']===_0x4ad9d4['CLOSE_ROOM']&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0xd6))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x226)]&&this['_notificationService'][_0x4e8a4c(0x254)]({'title':this[_0x4e8a4c(0x187)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x4e8a4c(0x25e),'duration':0x0}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x1b3)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x1ed)],'content':this['_localeService']['t'](_0x4e8a4c(0xd6))+'('+_0x15fb6a[_0x4e8a4c(0x29c)]+')'}),_0x15fb6a['id']===_0x4ad9d4['JOIN_ROOM_FAILED']&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t'](_0x15fb6a[_0x4e8a4c(0x29c)]||'')}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x124)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba['Warning'],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x128))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x20f)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba['Error'],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x181))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x17d)]&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x1ed)],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x146))});}));}};se=Ji([B(0x0,_0x3e6ed3),B(0x1,_0x27b901),B(0x2,_0x5a910a(_0x14e4da)),B(0x3,_0x3be822),B(0x4,_0x4fd550),B(0x5,_0x5a910a(_0x15a6bf))],se);const Zi=_0x4a9b73(0x1f0),et={},Ut=_0x400d12(_0x4a9b73(0x1dc));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x315453,_0x16883e,_0xf954ed,_0xf395a5)=>{const _0x31ca42=_0x4a9b73;for(var _0x3b9d1c=_0xf395a5>0x1?void 0x0:_0xf395a5?Qi(_0x16883e,_0xf954ed):_0x16883e,_0x4b0d36=_0x315453[_0x31ca42(0x190)]-0x1,_0x15c789;_0x4b0d36>=0x0;_0x4b0d36--)(_0x15c789=_0x315453[_0x4b0d36])&&(_0x3b9d1c=_0x15c789(_0x3b9d1c)||_0x3b9d1c);return _0x3b9d1c;},G=(_0x520d97,_0xd9553c)=>(_0x154fb3,_0x9e1d28)=>_0xd9553c(_0x154fb3,_0x9e1d28,_0x520d97);let ie=class extends _0x43324a{constructor(_0x12735b,_0x5c59f1,_0x1ffd5a,_0x25af1b,_0x3390ab){const _0x34d631=_0x4a9b73;super(),this[_0x34d631(0x12e)]=_0x12735b,this[_0x34d631(0x156)]=_0x5c59f1,this['_commandService']=_0x1ffd5a,this[_0x34d631(0xfb)]=_0x25af1b,_0x3390ab?_0x3390ab==null||_0x3390ab['whenReady']()[_0x34d631(0x19b)](()=>this['_init']()):(this[_0x34d631(0x156)][_0x34d631(0x29d)](_0x34d631(0x251),_0x34d631(0x21e)),this[_0x34d631(0x2bf)]());}async[_0x4a9b73(0x2bf)](){const _0x648152=_0x4a9b73,_0x38808e=this[_0x648152(0x12e)]['getParam']('unit'),_0x2c6c59=this[_0x648152(0x12e)]['getParam'](_0x648152(0x119)),_0xab4fb9=this[_0x648152(0x12e)]['getParam']('subunit');if(!_0x38808e||!_0x2c6c59){this['_logService'][_0x648152(0x29d)](_0x648152(0x251),_0x648152(0x1d4));return;}const _0x441730=await this[_0x648152(0xfb)][_0x648152(0x191)](_0x38808e,Number(_0x2c6c59),_0xab4fb9);_0x441730&&_0x441730 instanceof _0x117e0c&&this['_setupSubUnitSync'](_0x441730);}async[_0x4a9b73(0xe0)](_0x19e628){const _0x45105c=_0x4a9b73;await this[_0x45105c(0x245)](_0x19e628),_0x19e628['activeSheet$'][_0x45105c(0x1c1)](_0x2c1b93(this[_0x45105c(0x282)]))[_0x45105c(0x257)](_0x27167f=>{const _0x555b12=_0x45105c;_0x27167f&&this[_0x555b12(0x20e)](_0x27167f);}),this['_urlService']['urlChange$'][_0x45105c(0x1c1)](_0x2c1b93(this[_0x45105c(0x282)]))[_0x45105c(0x257)](()=>this[_0x45105c(0x245)](_0x19e628));}[_0x4a9b73(0x20e)](_0x28b1fc,_0x4166b0=!0x1){const _0x5af5b6=_0x4a9b73,_0x1bbf29=this[_0x5af5b6(0x12e)][_0x5af5b6(0x1c2)](_0x5af5b6(0x1cd));_0x28b1fc[_0x5af5b6(0x23e)]()!==_0x1bbf29&&this[_0x5af5b6(0x12e)][_0x5af5b6(0xca)](_0x5af5b6(0x1cd),_0x28b1fc[_0x5af5b6(0x23e)](),_0x4166b0);}async['_updateSubUnitFromURLParams'](_0x184d43){const _0x1f7b7b=_0x4a9b73;var _0x117a14;const _0x3d8751=this[_0x1f7b7b(0x12e)][_0x1f7b7b(0x1c2)](_0x1f7b7b(0x1cd));if(!_0x3d8751||!_0x184d43[_0x1f7b7b(0x24b)](_0x3d8751)){const _0x271a78=_0x184d43['getUnhiddenWorksheets']()[0x0],_0x4c5d32=_0x184d43[_0x1f7b7b(0x24b)](_0x271a78);if(!_0x4c5d32)return;this[_0x1f7b7b(0x20e)](_0x4c5d32,!0x0),await this['_commandService'][_0x1f7b7b(0x2ac)](_0x7515ad['id'],{'unitId':_0x184d43[_0x1f7b7b(0x1ce)](),'subUnitId':_0x271a78});return;}((_0x117a14=_0x184d43['getActiveSheet']())==null?void 0x0:_0x117a14[_0x1f7b7b(0x23e)]())!==_0x3d8751&&await this['_commandService'][_0x1f7b7b(0x2ac)](_0x7515ad['id'],{'unitId':_0x184d43[_0x1f7b7b(0x1ce)](),'subUnitId':_0x3d8751});}};ie=qi([G(0x0,Ut),G(0x1,_0x353efc),G(0x2,_0x125a4d),G(0x3,_0x5a910a(_0x518104)),G(0x4,_0x405dd8(_0x2ec166))],ie);var en=Object[_0x4a9b73(0xc4)],tn=(_0x16bf38,_0x3b2d7b,_0xdb4953,_0x4a8bce)=>{const _0x35edbc=_0x4a9b73;for(var _0x5e4142=_0x4a8bce>0x1?void 0x0:_0x4a8bce?en(_0x3b2d7b,_0xdb4953):_0x3b2d7b,_0x3d4d32=_0x16bf38[_0x35edbc(0x190)]-0x1,_0x59fbcd;_0x3d4d32>=0x0;_0x3d4d32--)(_0x59fbcd=_0x16bf38[_0x3d4d32])&&(_0x5e4142=_0x59fbcd(_0x5e4142)||_0x5e4142);return _0x5e4142;},pe=(_0x33d5fd,_0x1c5890)=>(_0x263a15,_0x4f5081)=>_0x1c5890(_0x263a15,_0x4f5081,_0x33d5fd);let ne=class{constructor(_0x8c12ec,_0x1bdb67,_0x3e0fad){const _0x3eb0f6=_0x4a9b73;this[_0x3eb0f6(0x23c)]=_0x8c12ec,this[_0x3eb0f6(0x20b)]=_0x1bdb67,this[_0x3eb0f6(0xd1)]=_0x3e0fad;}[_0x4a9b73(0x194)](_0x248d9a){const _0x45b8dc=_0x4a9b73;this[_0x45b8dc(0xfc)](_0x248d9a),this[_0x45b8dc(0x13f)](_0x248d9a);}[_0x4a9b73(0x129)](_0x309d3a){const _0x317669=_0x4a9b73,{unitID:_0x59d0e1}=_0x309d3a,_0xa2d7=this['_renderManagerService'][_0x317669(0x205)](_0x59d0e1)[_0x317669(0x201)](_0x4d8eea),{redoCache:_0x3aa429}=_0xa2d7['getUndoRedoMutationParamsCache']();if(_0x3aa429[_0x317669(0x190)]===0x0)return _0x309d3a;let _0x4ae1a1=_0x51c666[_0x317669(0x2ab)](_0x309d3a[_0x317669(0x2b5)][0x0]);for(let _0x3df4e4=0x0;_0x3df4e4<_0x3aa429['length'];_0x3df4e4++){const _0x46d234={'id':_0x317669(0x24e),'params':{..._0x3aa429[_0x3df4e4]}},_0x16ead0=this[_0x317669(0x20b)]['transformMutation'](_0x4ae1a1,_0x46d234,!0x1);if(_0x5f38d2(_0x16ead0))throw _0x16ead0['error'];_0x4ae1a1=_0x16ead0[_0x317669(0x179)];}return{..._0x51c666[_0x317669(0x2ab)](_0x309d3a),'mutations':[_0x4ae1a1]};}['_transformUndoRedoStack'](_0x2443d1){const _0xd38bd7=_0x4a9b73,{unitID:_0x571919}=_0x2443d1,_0x18ef65=this['_renderManagerService'][_0xd38bd7(0x205)](_0x571919)[_0xd38bd7(0x201)](_0x4d8eea),{undoCache:_0x32dba7,redoCache:_0x1d3007}=_0x18ef65[_0xd38bd7(0x22c)]();if(_0x32dba7['length']===0x0||_0x1d3007[_0xd38bd7(0x190)]===0x0)return;const _0x53d05d=[],_0x1c12ea=[];let _0x8d5a68=_0x51c666['deepClone'](_0x2443d1[_0xd38bd7(0x2b5)][0x0]),_0x3df46f=_0x51c666[_0xd38bd7(0x2ab)](_0x2443d1[_0xd38bd7(0x2b5)][0x0]);for(let _0x5054b3=_0x32dba7[_0xd38bd7(0x190)]-0x1;_0x5054b3>=0x0;_0x5054b3--){const _0x542177={'id':_0xd38bd7(0x24e),'params':{..._0x32dba7[_0x5054b3]}},_0x53b98b={'id':_0xd38bd7(0x24e),'params':{..._0x1d3007[_0x5054b3]}},_0x1b2940=this[_0xd38bd7(0x20b)][_0xd38bd7(0x14e)](_0x8d5a68,_0x542177,!0x1),_0x4740d5=this['_transformService']['transformMutation'](_0x3df46f,_0x53b98b,!0x1);if(_0x5f38d2(_0x1b2940))throw _0x1b2940[_0xd38bd7(0x25e)];if(_0x5f38d2(_0x4740d5))throw _0x4740d5[_0xd38bd7(0x25e)];_0x53d05d[_0xd38bd7(0x162)](_0x1b2940[_0xd38bd7(0xdb)]['params']),_0x1c12ea[_0xd38bd7(0x162)](_0x4740d5['m2Prime'][_0xd38bd7(0x15c)]),_0x8d5a68=_0x1b2940[_0xd38bd7(0x179)],_0x3df46f=_0x4740d5[_0xd38bd7(0x179)];}_0x18ef65['setUndoRedoMutationParamsCache']({'undoCache':_0x53d05d,'redoCache':_0x1c12ea});}['_transformPreviousActiveRange'](_0x4f70fa){const _0x463ca6=_0x4a9b73,{unitID:_0x59cade}=_0x4f70fa,_0x3f04a4=this[_0x463ca6(0xd1)][_0x463ca6(0x205)](_0x59cade)[_0x463ca6(0x201)](_0x4d8eea),_0x35524b=_0x3f04a4[_0x463ca6(0x11f)]();if(_0x35524b==null)return;const _0x5208e1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f70fa[_0x463ca6(0x15e)],'actions':null,'textRanges':[_0x35524b]}}],_0x189d67=this[_0x463ca6(0x20b)]['transformMutationsWithChangeset'](_0x4f70fa,_0x5208e1);if(!_0x1a68b3(_0x189d67))throw _0x189d67[_0x463ca6(0x25e)];const _0x276db3=_0x189d67[_0x463ca6(0xdb)][0x0][_0x463ca6(0x15c)][_0x463ca6(0x207)];Array[_0x463ca6(0x1fc)](_0x276db3)&&_0x276db3[_0x463ca6(0x190)]&&_0x3f04a4[_0x463ca6(0x25f)](_0x276db3[0x0]);}};ne=tn([pe(0x0,_0x5a910a(_0x315584)),pe(0x1,_0x374c61),pe(0x2,_0x164fdf)],ne);var sn=Object[_0x4a9b73(0xc4)],nn=(_0x3579db,_0x1b6f59,_0x3d6a89,_0x5073e5)=>{for(var _0x30ffa8=_0x5073e5>0x1?void 0x0:_0x5073e5?sn(_0x1b6f59,_0x3d6a89):_0x1b6f59,_0x178ef8=_0x3579db['length']-0x1,_0x336291;_0x178ef8>=0x0;_0x178ef8--)(_0x336291=_0x3579db[_0x178ef8])&&(_0x30ffa8=_0x336291(_0x30ffa8)||_0x30ffa8);return _0x30ffa8;},Ce=(_0x4a7371,_0x583920)=>(_0x37fd66,_0x39339e)=>_0x583920(_0x37fd66,_0x39339e,_0x4a7371);let re=class{constructor(_0x2a2593,_0x34e525,_0x2a28cd){const _0x160e19=_0x4a9b73;this[_0x160e19(0x23c)]=_0x2a2593,this[_0x160e19(0x20b)]=_0x34e525,this[_0x160e19(0x1e2)]=_0x2a28cd;}[_0x4a9b73(0x2ba)](_0x5c94c9){const _0x29a486=_0x4a9b73;this[_0x29a486(0x1d1)](_0x5c94c9);}[_0x4a9b73(0x129)](_0x2c379b){const _0x13e384=_0x4a9b73,{unitID:_0x502168}=_0x2c379b,{collaboration:_0x18b565}=this['_docStateChangeManagerService'][_0x13e384(0x21a)](_0x502168);if(_0x18b565['length']===0x0)return _0x2c379b;let _0x4e31c9=_0x51c666['deepClone'](_0x2c379b[_0x13e384(0x2b5)][0x0]);for(let _0x3f3321=0x0;_0x3f3321<_0x18b565[_0x13e384(0x190)];_0x3f3321++){const _0x5b888d={'id':_0x13e384(0x24e),'params':{'unitId':_0x18b565[_0x3f3321][_0x13e384(0x172)],..._0x18b565[_0x3f3321][_0x13e384(0x1c8)]}},_0x522de4=this['_transformService'][_0x13e384(0x14e)](_0x4e31c9,_0x5b888d,!0x1);if(_0x5f38d2(_0x522de4))throw _0x522de4[_0x13e384(0x25e)];_0x4e31c9=_0x522de4[_0x13e384(0x179)];}return{..._0x51c666[_0x13e384(0x2ab)](_0x2c379b),'mutations':[_0x4e31c9]};}['_transformHistoryAndStateStack'](_0x31ba9e){const _0x512491=_0x4a9b73,{unitID:_0x4a8c6e}=_0x31ba9e,{history:_0x5beb92,collaboration:_0x5259f7}=this[_0x512491(0x1e2)][_0x512491(0x21a)](_0x4a8c6e);if(_0x5beb92[_0x512491(0x190)]===0x0&&_0x5259f7[_0x512491(0x190)]===0x0)return;const _0x4cc538=[],_0x2cfd0a=[];let _0x7d55cf=_0x51c666['deepClone'](_0x31ba9e[_0x512491(0x2b5)][0x0]),_0x575b8c=_0x51c666[_0x512491(0x2ab)](_0x31ba9e['mutations'][0x0]);for(let _0x58644c=_0x5beb92['length']-0x1;_0x58644c>=0x0;_0x58644c--){const _0x18c6b0={'id':_0x512491(0x24e),'params':{'unitId':_0x5beb92[_0x58644c][_0x512491(0x172)],..._0x5beb92[_0x58644c]['undoState']}},_0x4ab785={'id':_0x512491(0x24e),'params':{'unitId':_0x5beb92[_0x58644c][_0x512491(0x172)],..._0x5beb92[_0x58644c][_0x512491(0x1c8)]}},_0x5ec488=this[_0x512491(0x20b)][_0x512491(0x14e)](_0x7d55cf,_0x18c6b0,!0x1),_0x5efb71=this['_transformService'][_0x512491(0x14e)](_0x575b8c,_0x4ab785,!0x1);if(_0x5f38d2(_0x5ec488))throw _0x5ec488[_0x512491(0x25e)];if(_0x5f38d2(_0x5efb71))throw _0x5efb71[_0x512491(0x25e)];_0x4cc538[_0x512491(0x162)]({..._0x5beb92[_0x58644c],'undoState':_0x5ec488[_0x512491(0xdb)][_0x512491(0x15c)],'redoState':_0x5efb71['m2Prime']['params']}),_0x7d55cf=_0x5ec488[_0x512491(0x179)],_0x575b8c=_0x5efb71[_0x512491(0x179)];}_0x7d55cf=_0x51c666['deepClone'](_0x31ba9e['mutations'][0x0]),_0x575b8c=_0x51c666[_0x512491(0x2ab)](_0x31ba9e['mutations'][0x0]);for(let _0x2583a1=_0x5259f7['length']-0x1;_0x2583a1>=0x0;_0x2583a1--){const _0x2073cf={'id':_0x512491(0x24e),'params':{'unitId':_0x5259f7[_0x2583a1]['unitId'],..._0x5259f7[_0x2583a1][_0x512491(0x15f)]}},_0x4af910={'id':_0x512491(0x24e),'params':{'unitId':_0x5259f7[_0x2583a1]['unitId'],..._0x5259f7[_0x2583a1]['redoState']}},_0x2a8329=this[_0x512491(0x20b)]['transformMutation'](_0x7d55cf,_0x2073cf,!0x1),_0x3bd70e=this[_0x512491(0x20b)][_0x512491(0x14e)](_0x575b8c,_0x4af910,!0x1);if(_0x5f38d2(_0x2a8329))throw _0x2a8329[_0x512491(0x25e)];if(_0x5f38d2(_0x3bd70e))throw _0x3bd70e[_0x512491(0x25e)];_0x2cfd0a[_0x512491(0x162)]({..._0x5259f7[_0x2583a1],'undoState':_0x2a8329['m2Prime'][_0x512491(0x15c)],'redoState':_0x3bd70e[_0x512491(0xdb)][_0x512491(0x15c)]}),_0x7d55cf=_0x2a8329[_0x512491(0x179)],_0x575b8c=_0x3bd70e[_0x512491(0x179)];}this[_0x512491(0x1e2)][_0x512491(0x11d)](_0x4a8c6e,{'history':_0x4cc538,'collaboration':_0x2cfd0a});}};re=nn([Ce(0x0,_0x5a910a(_0x315584)),Ce(0x1,_0x374c61),Ce(0x2,_0x5a910a(_0x5c9ae2))],re);var rn=Object[_0x4a9b73(0xc4)],on=(_0x33ed34,_0x46412d,_0x3ae330,_0xe1ff33)=>{for(var _0x3c0ae0=_0xe1ff33>0x1?void 0x0:_0xe1ff33?rn(_0x46412d,_0x3ae330):_0x46412d,_0x502cc6=_0x33ed34['length']-0x1,_0x8f3028;_0x502cc6>=0x0;_0x502cc6--)(_0x8f3028=_0x33ed34[_0x502cc6])&&(_0x3c0ae0=_0x8f3028(_0x3c0ae0)||_0x3c0ae0);return _0x3c0ae0;},tt=(_0x4108ab,_0x158f6a)=>(_0x49ebde,_0x5d2c77)=>_0x158f6a(_0x49ebde,_0x5d2c77,_0x4108ab);let oe=class{constructor(_0x8d0a8,_0x2da135){const _0x38cd70=_0x4a9b73;this[_0x38cd70(0x23c)]=_0x8d0a8,this[_0x38cd70(0x20b)]=_0x2da135;}['transformSelections'](_0x44044b){const _0x31fc45=_0x4a9b73;var _0x2fcb66;const _0x477342=this['_injector']['get'](_0x277911),_0xc88dcd=(_0x2fcb66=_0x477342[_0x31fc45(0x12b)]())!=null?_0x2fcb66:[];if(_0xc88dcd[_0x31fc45(0x190)]===0x0)return;const _0x1228c9=_0x44044b[_0x31fc45(0x15e)],_0x58535c=[{'id':_0x31fc45(0x24e),'params':{'unitId':_0x1228c9,'actions':null,'textRanges':_0xc88dcd}}],_0x4adb29=this[_0x31fc45(0x20b)][_0x31fc45(0x1a9)](_0x44044b,_0x58535c);if(!_0x1a68b3(_0x4adb29))throw _0x4adb29[_0x31fc45(0x25e)];const _0x3afa6d=_0x4adb29[_0x31fc45(0xdb)][0x0][_0x31fc45(0x15c)][_0x31fc45(0x207)];Array['isArray'](_0x3afa6d)&&_0x3afa6d[_0x31fc45(0x190)]&&_0x477342[_0x31fc45(0x10b)](_0x3afa6d,{'unitId':_0x1228c9,'subUnitId':_0x1228c9},!0x1);}};oe=on([tt(0x0,_0x5a910a(_0x315584)),tt(0x1,_0x374c61)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x5f2e88,_0x582ae4,_0x32c9a3,_0x4a1103)=>{for(var _0x2b2330=_0x4a1103>0x1?void 0x0:_0x4a1103?an(_0x582ae4,_0x32c9a3):_0x582ae4,_0x1c5bd4=_0x5f2e88['length']-0x1,_0x1af08c;_0x1c5bd4>=0x0;_0x1c5bd4--)(_0x1af08c=_0x5f2e88[_0x1c5bd4])&&(_0x2b2330=_0x1af08c(_0x2b2330)||_0x2b2330);return _0x2b2330;},U=(_0x175ec9,_0xc8a9ab)=>(_0x460f11,_0x33b288)=>_0xc8a9ab(_0x460f11,_0x33b288,_0x175ec9);let ae=class extends _0x3ca0d9{constructor(_0x2bf567,_0x4a8d55,_0x3f5387,_0x3689dd,_0x269786,_0x2b9af6,_0x2d8431,_0x3bce66){const _0x4c63c6=_0x4a9b73;super(),_(this,_0x4c63c6(0x1f3),new _0x4ae7de(_0x167395[_0x4c63c6(0x242)])),(this[_0x4c63c6(0x1e2)]=_0x2bf567,this[_0x4c63c6(0xcf)]=_0x4a8d55,this['_docTransformIMECacheService']=_0x3f5387,this[_0x4c63c6(0x100)]=_0x3689dd,this[_0x4c63c6(0x264)]=_0x269786,this[_0x4c63c6(0x290)]=_0x2b9af6,this[_0x4c63c6(0x27d)]=_0x2d8431,this['_localeService']=_0x3bce66,this['_initEntityListener']());}['_initEntityListener'](){const _0x719a6f=_0x4a9b73;this[_0x719a6f(0xc8)](this[_0x719a6f(0xcf)][_0x719a6f(0x18e)][_0x719a6f(0x257)](_0x2be980=>{const _0x4b30b9=_0x719a6f,_0x213b7e=this[_0x4b30b9(0x1e2)][_0x4b30b9(0x253)][_0x4b30b9(0x257)](_0x3bc415=>{const _0x430f41=_0x4b30b9;if(_0x3bc415==null)return;const {unitId:_0x3fcf76,redoState:_0x2c1edf,commandId:_0x287c71}=_0x3bc415;if(_0x3fcf76!==_0x2be980[_0x430f41(0x15e)])return;const _0x4a3d57={'id':_0x287c71,'type':_0x5e5d3a[_0x430f41(0x18a)],'params':{'unitId':_0x3fcf76,'actions':_0x2c1edf[_0x430f41(0x154)],'textRanges':null}};_0x2be980[_0x430f41(0xc3)](_0x4a3d57);});if(_0x2be980[_0x4b30b9(0xc8)](_0x213b7e),_0x2be980 instanceof _0x175eda){const _0x2a2d7e={'onTransformIME':_0x5bd2d7=>this[_0x4b30b9(0xda)][_0x4b30b9(0x194)](_0x5bd2d7),'onTransformState':_0x55191a=>this[_0x4b30b9(0x100)]['transformStateCache'](_0x55191a),'onTransformSelections':_0x5e7721=>this[_0x4b30b9(0x264)]['transformSelections'](_0x5e7721),'onSyncEditingCollabCursor':_0x404523=>this['_docSyncEditingCollabCursorService'][_0x4b30b9(0xe2)](_0x404523),'onTransformRemoteChangesetByIMECache':_0x12ff45=>this[_0x4b30b9(0xda)][_0x4b30b9(0x129)](_0x12ff45),'onTransformRemoteChangesetByStateCache':_0x4a42a8=>this[_0x4b30b9(0x100)][_0x4b30b9(0x129)](_0x4a42a8)};_0x2be980[_0x4b30b9(0x1d2)](_0x2a2d7e);}}));}};function _0x54df(){const _0x3b8bde=['_scheduleClearOtherTimer','_updateSubUnitFromURLParams','_configService','LICENSE_EXPORT_SIZE_EXCEEDED','text','getViewport','complete','getSheetBySheetId','push','black','doc.mutation.rich-text-editing','_id','_instanceService','[CollaborationDataLoaderController]','code','docStateChange$','show','_initStatusListener','transformByState','subscribe','editingUnit','_startSheetCollabCursor','registerRenderModule','displayName','_initCommandExecutedListener','_onCursorDelete','error','setActiveRange','round','cursorInfo$','_toggleOnline','forEach','_docTransformSelectionsService','fillText','DeleteRangeMoveLeftCommandId','Unknown\x20user','Warning','onCommandExecuted','APPLY_NON_SEQUENTIAL_REVISION','1023814ifMqSy','sessionStatus$','990eGfjvy','_doCreateSocket','replace','onRendered','_roomMembers$','onTransformChange$','_color','_initResize','_shapes','getTypeOfUnitDisposed$','_collabCursorState$','36264xvKYXB','values','UNDEFINED','_startDocCollabCursor','PY_RUNTIME_SCRIPT_ERROR','_messageService','ONLINE','labelPosition','INVITE_CODE_HAS_BEEN_UES','161184GTnMgk','dispose$','_univerInstanceService','makeDirty','xlink:href','setTimeout','MOBILE_HAS_BEEN_BOUND','call','univer-text-red-500','_eventUnsubscribe','key','max','YUUMI_RATE_OVER_LIMIT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_document','_docSyncEditingCollabCursorService','LICENSE_IMPORT_SIZE_EXCEEDED','3878fQRdtr','addObject','cursorInfo','getOffsetConfig','some','collabStatus.notCollab','_collabSessionService','sheetID','status$','0\x200\x2017\x2016','data','debug','min','add','_refRangeService','setShapeProps','HEADER_MENU','collabStatus.fetchMiss','_notificationService','_themeService','collabStatus.synced','substring','registerBeforeClose','unit','1em','deepClone','executeCommand','split','M0\x200H16V16H0z','pluginName','url(#$1','contains','registerComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','_drawRectRange','mutations','removeParam','getItem','_config','pushState','transformStateCache','_registerRenderDependencies','asObservable','searchParams','UNRECOGNIZED','_init','YUUMI_ASYNCIO_CANCELLED','defs','origin','body','onLocalMutation','getOwnPropertyDescriptor','_ensureSubject','FromArray','APPLY_DUPLICATED','disposeWithMe','APPLY_REJECT','setParam','currentTheme$','getVpScrollXYInfoByPosToVp','_hover','isActive','_collaborationController','off-line-single_clip0_910_343','_renderManagerService','location','getMergeData','_updateLocalCursor','COMPLETION_FINISHED','collaboration.closeRoom','getCurrent','_scheduleHeartbeat','string','_docTransformIMECacheService','m2Prime','APPLY_PERMISSION_DENIED','_docSkeletonManagerService','_getMergeRange','_labelPosition','_setupSubUnitSync','_online','syncEditingCollabCursor','saveOfflineData','saveTaskMap','triggerDblclick','getUnitStatus$','onPointerLeave$','APPLY_REVISION_CONFILICT','replaceState','_clearOtherTimers','green.600','4WogKjm','ticket','_localCacheService','url(#on-line-single_clip0_910_349)','clearTimeout','addObjects','stringify','LICENSE_MAX_UNITS_EXCEEDED','_colorIndex','RECT','registerRefRange','ALREADY_EXISTS','_httpService','extend','RemoveRowCommandId','_dataLoaderService','_transformUndoRedoStack','popstate','roomMembers$','hasOwnProperty','_docTransformStateCacheService','InsertRangeMoveDownCommandId','prototype','ENSURE_SNAPSHOT_EXECUTION','executionId','runOnServer','set','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_cursor','getConfig','CONNECTOR_DATA_TOO_LARGE','replaceDocRanges','_refreshCollabCursors','_getSheetObject','collab-rect-range-','invokeId','function','column','_scene','selection','idSuffix','getFocusedUnit','toString','assignAColorForMemberID','_anchor','type','defineProperty','_cursors','event$','setStateCache','_revisionService','getActiveRange','OffLineSingle','_assignedColors','createSocket','startColumn','SOCKET_FAILED_RETRY','save','top','collaboration-client.offline-data-not-saved','session.will-retry','transformRemoteChangeset','onMouseMove','getDocRanges','measureText','_handleHeartbeatEvent','_urlService','tag','roomMembers','Failed','AWAITING_WITH_PENDING','override','apply','INVALID_ARGUMENT','AWAITING','on-line-single_clip0_910_349','focused$','on-line-single','history','range','UNIVER_SHEET','mask','toRgbString','_transformPreviousActiveRange','InsertRangeMoveRightCommandId','arc','map','_entityInit$','_saveTaskMap','#FFF','session.collaboration-timeout','_context','findNodePositionByCharIndex','hide','init','size','_saveCache','OTHER_CLIENT_EDITING','transformMutation','0\x200\x2016\x2016','_handleEvent','path','icon','_session','actions','div','_logService','_backgroundColor','application/json','_handleLeaveEvent','_anchorDot','_getSaveTimeout','params','getCollabCursors$','unitID','undoState','_onCursorUpdate','fillRule','unshift','width','_textBubble','_sheetSkeletonManagerService','185798RoqmrW','skeleton','LICENSE_DISTRO_REJECTED','_drawTextRange','setAlpha','source','href','wsSessionTicketUrl','fillStyle','collabStatus.conflict','RemoveColCommandId','_getAnchorBounding','unitId','YUUMI_NO_CUBOID_FOR_QUESTION','height','drawWith','colorChannel1','updateOfflineData','resize','m1Prime','random','_render','addClipboardHook','SUBMIT_CHANGESET_TIMEOUT','...','requireSession','getCellPositionByOffset','session.connection-failed','_unitStatus','trim','NO_OTHER_CLIENTS_EDITING','getColorFromTheme','_setupBeforeClosingHandler','_localeService','currentColor','_commandService','MUTATION','_colorAssignService','getRelativeToViewportCoord','getSkeleton','entityInit$','TEXT','length','loadUnit','restore','_range','transformIMECache','univerjs-icon\x20univerjs-icon-','_memberService','dispose','_createSocketURL','_unitOnClients','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','SNAPSHOT_INVALID_SNAPSHOT','UniverIcon','_updateCollabCursors','delete','YUUMI_UNABLE_LOAD_URL','onPointerEnter$','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_INVITE_CODE','_localStorageService','generateRandomId','blue.400','fill','_selfUnitIDs','transformMutationsWithChangeset','_beforeCloseService','DeleteRangeMoveUpCommandId','startsWith','subscribeEvent','name','sheetId','getAncestorScale','yellow.400','color','CONFLICT','attrs','NOT_FOUND','transform','setItem','_getScale','enableLocalCache','imageSourceType','createInstance','_entities','LOGIN_FAILED','WECHAT_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','concat','pipe','getParam','CHANGESET_REVISION_CONFILICT','_handleHover','TOO_MANY_REQUESTS','unsubscribe','_hideTimer','redoState','eventID','getTypeOfUnitAdded$','_initEvent','saveImage','subunit','getUnitId','getCurrentUnitForType','evenodd','_transformHistoryAndStateStack','addHandlerCallback','_cachedData','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/run/','_imageIoService','has','memberID','SYNCED','UPDATE_CURSOR','_removeClearOtherTimer','uni.network.url-service','startRow','getRangePointData','assign','_toggleOffline','_initDependencies','_docStateChangeManagerService','getCurrentRevOfUnit','_hovered','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','#fff','urlChange$','OTHER_CLIENTS_EDITING','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','_docClipboardService','from','Error','currentSkeleton$','bottom','collaboration-client-ui.config','VIEW_MAIN','INTERNAL_ERROR','_status$','_send','170jhfDxM','_heartbeatTimer','loadOfflineData','lineTo','getMemberID','_onRefRangeChange','get','isArray','getValue','USERS_LEAVE','YUUMI_AI_RUN_FAILED','_uiPartsService','with','SNAPSHOT_HAS_BEEN_REMOVED','_handleJoinEvent','OFFLINE','getRenderById','flatMap','textRanges','13vQznRz','closePath','newValue','_transformService','children','current','_updateURLWithCurrentState','SOCKET_FAILED','collabStatus.syncing','jiqing.500','entries','_initStatusComponent','defIds','collabStatus.offline','sessionTicket','endRow','clipPath','_collabCursorController','getStateCache','UNAUTHENTICATED','ranges','endColumn','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','next','_cursorInfo$','INVITE_CODE_REQUIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUniverSheetInstance','className','storage','PERMISSION_DENIED','UNIVER_DOC','_registerDependencies','setInterval','_removeCollabCursors','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','red.300','_name','_getSessionTicket','_syncEditingCollabCursorService','2509375TLWciO','none','indexOf','_draw','runId','selections','exhaustSavingTask','_docSkeleton','subUnitId','YUUMI_URL_COL_OUT_OF_RANGE','USER_NOT_INVITED_CODE','_injector','1989231aqJFqN','getSheetId','_disabled','_collaborationUIEventService','_lastPointer','NOT_COLLAB','_cursorShapes'];_0x54df=function(){return _0x3b8bde;};return _0x54df();}ae=cn([U(0x0,_0x5a910a(_0x5c9ae2)),U(0x1,_0x5a910a(_0x7aeeca)),U(0x2,_0x5a910a(ne)),U(0x3,_0x5a910a(re)),U(0x4,_0x5a910a(oe)),U(0x5,_0x5a910a(He)),U(0x6,_0x3be822),U(0x7,_0x5a910a(_0x15a6bf))],ae);var ln=Object[_0x4a9b73(0xc4)],_n=(_0x33b6bc,_0x97b9d0,_0x46493d,_0x53244e)=>{const _0x39c6a3=_0x4a9b73;for(var _0x4a8d0c=_0x53244e>0x1?void 0x0:_0x53244e?ln(_0x97b9d0,_0x46493d):_0x97b9d0,_0x5a91c2=_0x33b6bc[_0x39c6a3(0x190)]-0x1,_0x85179d;_0x5a91c2>=0x0;_0x5a91c2--)(_0x85179d=_0x33b6bc[_0x5a91c2])&&(_0x4a8d0c=_0x85179d(_0x4a8d0c)||_0x4a8d0c);return _0x4a8d0c;},Ee=(_0x104587,_0x1ac1b8)=>(_0x3650e1,_0x16b4c0)=>_0x1ac1b8(_0x3650e1,_0x16b4c0,_0x104587);let we=class extends _0x3ca0d9{constructor(_0x177257,_0x3dfd53,_0x214288){const _0x5bda2e=_0x4a9b73;super(),_(this,_0x5bda2e(0x1d3),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x177257,this[_0x5bda2e(0x1a4)]=_0x3dfd53,this[_0x5bda2e(0x11e)]=_0x214288);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x4a9b73(0x1b9)](){const _0x148c65=_0x4a9b73;this[_0x148c65(0x23f)]=!0x1;}get[_0x4a9b73(0xe4)](){const _0x3b9678=_0x4a9b73;return this[_0x3b9678(0x144)];}[_0x4a9b73(0x197)](){const _0x66c69a=_0x4a9b73;this[_0x66c69a(0x237)]()['then'](()=>super[_0x66c69a(0x197)]());}async[_0x4a9b73(0x1f7)](_0x3cb640){const _0xf0f3c8=_0x4a9b73;return this[_0xf0f3c8(0x23f)]?null:this[_0xf0f3c8(0x1a4)][_0xf0f3c8(0x2b7)](_0x20acbd(_0x3cb640));}async[_0x4a9b73(0xe3)](_0x3814c1,_0x333f57){const _0x55fbee=_0x4a9b73;return!!this[_0x55fbee(0x1a4)][_0x55fbee(0x1b7)](_0x3814c1,_0x333f57);}[_0x4a9b73(0x177)](_0x2eceac,_0x16ea31,_0x3f5554,_0x2ea330){const _0x1a2c1b=_0x4a9b73,_0xda287=this[_0x1a2c1b(0x11e)][_0x1a2c1b(0x1e3)](_0x2eceac);this[_0x1a2c1b(0x1d3)][_0x1a2c1b(0x106)](_0x2eceac,{'unitID':_0x2eceac,'type':_0x16ea31,'awaitingChangeset':_0x3f5554,'mutations':_0x2ea330,'rev':_0xda287}),this[_0x1a2c1b(0x144)][_0x1a2c1b(0x1d7)](_0x2eceac)||this['_scheduleSaving'](_0x2eceac);}['_scheduleSaving'](_0x20dff1){const _0xd93844=_0x4a9b73,_0x3982a3=this[_0xd93844(0x15b)]();_0x3982a3===0x0?this[_0xd93844(0x14c)](_0x20dff1):this['_saveTaskMap']['set'](_0x20dff1,setTimeout(()=>this['_saveCache'](_0x20dff1),_0x3982a3));}['_getSaveTimeout'](){const _0x24d182=_0x4a9b73;var _0x5508bd;return(_0x5508bd=this['_configService'][_0x24d182(0x109)](_0x46d235))!=null?_0x5508bd:_0x13bfee;}[_0x4a9b73(0x14c)](_0x3faac5){const _0x567768=_0x4a9b73,_0xb5bda1=this[_0x567768(0x144)][_0x567768(0x1fb)](_0x3faac5);return _0xb5bda1!==void 0x0&&window['clearTimeout'](_0xb5bda1),this[_0x567768(0x1a4)][_0x567768(0x1b7)](_0x20acbd(_0x3faac5),this[_0x567768(0x1d3)][_0x567768(0x1fb)](_0x3faac5))[_0x567768(0x19b)](()=>this['_saveTaskMap'][_0x567768(0x19f)](_0x3faac5));}async[_0x4a9b73(0x237)](){const _0x2c27c7=_0x4a9b73,_0x3cfb96=[];this['_saveTaskMap'][_0x2c27c7(0x263)]((_0x455ead,_0x2bc4d7)=>{const _0x3198b3=_0x2c27c7;window[_0x3198b3(0xf0)](_0x455ead),_0x3cfb96[_0x3198b3(0x24c)](this[_0x3198b3(0x14c)](_0x2bc4d7)[_0x3198b3(0x19b)](()=>{const _0x515e67=_0x3198b3;this[_0x515e67(0x144)]['delete'](_0x2bc4d7);}));}),await Promise['all'](_0x3cfb96);}};we=_n([Ee(0x0,_0x34b4f6),Ee(0x1,_0x11d7b1),Ee(0x2,_0x5a910a(_0x15d859))],we);class hn extends _0x43324a{constructor(){const _0x5cdc2d=_0x4a9b73;super(),_(this,_0x5cdc2d(0x1e8)),this[_0x5cdc2d(0x1e8)]=_0x578952(window,_0x5cdc2d(0xfd))[_0x5cdc2d(0x1c1)](_0x2c1b93(this['dispose$']),_0x554e7a(0x1),_0x5410f0(void 0x0));}[_0x4a9b73(0xca)](_0x2a5a0c,_0x5b7751,_0x53abbf=!0x1){const _0x14e7b1=_0x4a9b73,_0x4a88fb=new URL(window['location']['href']);_0x4a88fb['searchParams'][_0x14e7b1(0x106)](_0x2a5a0c,_0x5b7751),_0x53abbf?window[_0x14e7b1(0x13a)][_0x14e7b1(0xe9)]('','',_0x4a88fb[_0x14e7b1(0x116)]()):window['history'][_0x14e7b1(0x2b9)]('','',_0x4a88fb[_0x14e7b1(0x116)]());}[_0x4a9b73(0x2b6)](_0x3f4b6f,_0xde03e4=!0x1){const _0x16772d=_0x4a9b73,_0x4fa4b4=new URL(window[_0x16772d(0xd2)][_0x16772d(0x16c)]);_0x4fa4b4[_0x16772d(0x2bd)][_0x16772d(0x19f)](_0x3f4b6f),_0xde03e4?window['history']['replaceState']('','',_0x4fa4b4['toString']()):window[_0x16772d(0x13a)][_0x16772d(0x2b9)]('','',_0x4fa4b4['toString']());}[_0x4a9b73(0x1c2)](_0x8a5b94){const _0x43a965=_0x4a9b73;var _0x416c31;return(_0x416c31=new URL(window['location'][_0x43a965(0x16c)])[_0x43a965(0x2bd)][_0x43a965(0x1fb)](_0x8a5b94))!=null?_0x416c31:void 0x0;}}var un=Object[_0x4a9b73(0x11a)],dn=Object[_0x4a9b73(0xc4)],fn=(_0x2d023a,_0x1f24a8,_0x4fcd38)=>_0x1f24a8 in _0x2d023a?un(_0x2d023a,_0x1f24a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fcd38}):_0x2d023a[_0x1f24a8]=_0x4fcd38,Sn=(_0x27a230,_0x57bbd8,_0x4b2369,_0xaa050)=>{const _0x2a0a6d=_0x4a9b73;for(var _0x1daf7b=_0xaa050>0x1?void 0x0:_0xaa050?dn(_0x57bbd8,_0x4b2369):_0x57bbd8,_0x4c744e=_0x27a230[_0x2a0a6d(0x190)]-0x1,_0x479ecf;_0x4c744e>=0x0;_0x4c744e--)(_0x479ecf=_0x27a230[_0x4c744e])&&(_0x1daf7b=_0x479ecf(_0x1daf7b)||_0x1daf7b);return _0x1daf7b;},Oe=(_0x55c9ca,_0x270963)=>(_0x430331,_0x5842b8)=>_0x270963(_0x430331,_0x5842b8,_0x55c9ca),mn=(_0xfbae69,_0x13ef7f,_0x47b185)=>fn(_0xfbae69,_0x13ef7f+'',_0x47b185);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x31e378{constructor(_0x324ea5=et,_0x25600b,_0x3bbcd2,_0x3fc18a){const _0x36e7c6=_0x4a9b73;super(),this[_0x36e7c6(0x2b8)]=_0x324ea5,this[_0x36e7c6(0xd1)]=_0x25600b,this[_0x36e7c6(0x23c)]=_0x3bbcd2,this[_0x36e7c6(0x246)]=_0x3fc18a;const {..._0xbf66b4}=_0x4ed531({},et,this[_0x36e7c6(0x2b8)]);this[_0x36e7c6(0x246)]['setConfig'](Zi,_0xbf66b4);}['onStarting'](){const _0x510846=_0x4a9b73;this[_0x510846(0x228)](),this[_0x510846(0x1e1)]();}[_0x4a9b73(0x270)](){this['_registerRenderDependencies']();}[_0x4a9b73(0x228)](){const _0x347860=_0x4a9b73;var _0x8493c7;const _0x408c85=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1d89e7,{'useClass':_0x5e2d02}],[_0x27b901,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x5a2be1(this[_0x347860(0x23c)],_0x452377(_0x408c85,(_0x8493c7=this[_0x347860(0x2b8)])==null?void 0x0:_0x8493c7[_0x347860(0x133)]));}[_0x4a9b73(0x2bb)](){const _0x3e23eb=_0x4a9b73;this[_0x3e23eb(0xc8)](this['_renderManagerService'][_0x3e23eb(0x25a)](_0x4d90ef[_0x3e23eb(0x227)],[Pe])),this[_0x3e23eb(0xc8)](this[_0x3e23eb(0xd1)][_0x3e23eb(0x25a)](_0x4d90ef[_0x3e23eb(0x13c)],[Le]));}[_0x4a9b73(0x1e1)](){const _0x3810cd=_0x4a9b73;_0x4ea4eb(this[_0x3810cd(0x23c)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4a9b73(0x2af),gn),Ae=Sn([_0x172a10(_0x15233f),Oe(0x1,_0x164fdf),Oe(0x2,_0x5a910a(_0x315584)),Oe(0x3,_0x34b4f6)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x17fa68,_0x2124b2,_0x510ad7,_0x5ac942)=>{const _0x98e232=_0x4a9b73;for(var _0xef4065=_0x5ac942>0x1?void 0x0:_0x5ac942?In(_0x2124b2,_0x510ad7):_0x2124b2,_0x3f3e96=_0x17fa68[_0x98e232(0x190)]-0x1,_0xe8fa30;_0x3f3e96>=0x0;_0x3f3e96--)(_0xe8fa30=_0x17fa68[_0x3f3e96])&&(_0xef4065=_0xe8fa30(_0xef4065)||_0xef4065);return _0xef4065;},K=(_0x543fc1,_0x4c8988)=>(_0x351986,_0x490316)=>_0x4c8988(_0x351986,_0x490316,_0x543fc1);let st=class extends _0x366dd1{constructor(_0x409d7e,_0x20321f,_0x16fc66,_0x14743c,_0x5c3e42){super(_0x409d7e,_0x20321f,_0x16fc66,_0x14743c,_0x5c3e42);}async[_0x4a9b73(0x122)](_0x2d0802){const _0xeff12f=_0x4a9b73,_0xc9aad8=await this[_0xeff12f(0x22f)](),_0xcc37f5=this[_0xeff12f(0x198)](_0x2d0802,_0xc9aad8);return this[_0xeff12f(0x26e)](_0xcc37f5);}[_0x4a9b73(0x198)](_0x3c5456,_0x3c26b2){const _0x35dccb=_0x4a9b73,_0x93c326=typeof window>'u'?new URL(_0x3c5456):new URL(_0x3c5456,window[_0x35dccb(0xd2)][_0x35dccb(0x2c2)]);_0x93c326[_0x35dccb(0x2bd)][_0x35dccb(0x106)](_0x35dccb(0x216),_0x3c26b2);const _0x300f21=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x35dccb(0xd2)]['search']);return _0x300f21[_0x35dccb(0x1fb)]('runId')&&_0x93c326[_0x35dccb(0x2bd)][_0x35dccb(0x106)](_0x35dccb(0x235),_0x300f21['get'](_0x35dccb(0x235))),_0x93c326[_0x35dccb(0x116)]();}async[_0x4a9b73(0x22f)](){const _0x1b7d1c=_0x4a9b73;var _0x24c991,_0x3842a9,_0x48a28c;const _0x5b0d90=this[_0x1b7d1c(0x246)][_0x1b7d1c(0x109)](_0x59f30c),_0x42c112=(_0x24c991=_0x5b0d90==null?void 0x0:_0x5b0d90[_0x1b7d1c(0x16d)])!=null?_0x24c991:_0x5f12f9;return(_0x48a28c=(_0x3842a9=(await this['_httpService']['get'](_0x42c112,{'headers':{'Content-Type':_0x1b7d1c(0x158)}}))['body'])==null?void 0x0:_0x3842a9[_0x1b7d1c(0xed)])!=null?_0x48a28c:'';}};st=vn([K(0x0,_0x5a910a(_0x315584)),K(0x1,_0x5a910a(_0x497203)),K(0x2,_0x34b4f6),K(0x3,_0x353efc),K(0x4,_0x3fe37c)],st);const it=0x7530,nt=_0x4a9b73(0x1a2);class jn extends _0x3ca0d9{constructor(){const _0x484fd3=_0x4a9b73;super(),_(this,_0x484fd3(0x24f),_0x50162d()),_(this,_0x484fd3(0x1a8),new Set()),_(this,_0x484fd3(0x199),new Map()),_(this,_0x484fd3(0x1f6),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x484fd3(0x182),new Map()),this[_0x484fd3(0x2bf)]();}[_0x4a9b73(0x197)](){const _0x4ad517=_0x4a9b73;super[_0x4ad517(0x197)](),this[_0x4ad517(0xea)][_0x4ad517(0x263)]((_0x478490,_0x5b2234)=>this[_0x4ad517(0x1db)](_0x5b2234)),this[_0x4ad517(0x1f6)]&&window['clearInterval'](this[_0x4ad517(0x1f6)]);}[_0x4a9b73(0xe6)](_0x1e7de5){const _0x5b65f6=_0x4a9b73;return this[_0x5b65f6(0xc5)](_0x1e7de5)[_0x5b65f6(0x1c1)](_0x2d4049());}[_0x4a9b73(0x258)](_0x3bb48e){const _0x2d3f15=_0x4a9b73;this[_0x2d3f15(0x1a8)]['size']===0x0&&this[_0x2d3f15(0xd8)](),this[_0x2d3f15(0x1a8)][_0x2d3f15(0x29f)](_0x3bb48e),this[_0x2d3f15(0x1f4)]({'type':0x0,'memberID':this[_0x2d3f15(0x24f)],'unitIDs':[_0x3bb48e],'isForwarded':!0x1});}['disposeUnit'](_0x237d56){const _0x1cd576=_0x4a9b73;this['_selfUnitIDs']['delete'](_0x237d56),this['_selfUnitIDs']['size']===0x0&&this[_0x1cd576(0x1f6)]&&window['clearInterval'](this[_0x1cd576(0x1f6)]);}['_init'](){const _0x46ee31=_0x4a9b73;this[_0x46ee31(0xc8)](_0x3efb45(_0x578952(window,_0x46ee31(0x225))[_0x46ee31(0x257)](_0x4f0be8=>{const _0x1ab059=_0x46ee31;if(_0x4f0be8[_0x1ab059(0x28b)]!==nt||!_0x4f0be8[_0x1ab059(0x20a)])return;const _0x3a3764=JSON['parse'](_0x4f0be8[_0x1ab059(0x20a)]);this[_0x1ab059(0x150)](_0x3a3764);}))),window['addEventListener']('unload',()=>this[_0x46ee31(0x1f4)]({'type':0x1,'memberID':this[_0x46ee31(0x24f)],'unitIDs':Array[_0x46ee31(0x1ec)](this[_0x46ee31(0x1a8)])}));}[_0x4a9b73(0x150)](_0x326fb1){const _0x29b0e8=_0x4a9b73;switch(_0x326fb1[_0x29b0e8(0x119)]){case 0x0:this[_0x29b0e8(0x203)](_0x326fb1);break;case 0x1:this[_0x29b0e8(0x159)](_0x326fb1);break;case 0x2:this[_0x29b0e8(0x12d)](_0x326fb1);break;}}['_handleJoinEvent'](_0x4a5b25){const _0x2f7bec=_0x4a9b73,{unitIDs:_0x58abaa,memberID:_0x498da4,isForwarded:_0x1195b8}=_0x4a5b25;_0x58abaa[_0x2f7bec(0x263)](_0x28c8e5=>{const _0x430c53=_0x2f7bec;if(!_0x1195b8&&this['_unitOnClients']['has'](_0x28c8e5)&&this[_0x430c53(0xc5)](_0x28c8e5)[_0x430c53(0x21f)](_0x13e2cd['OTHER_CLIENTS_EDITING']),!this[_0x430c53(0x199)][_0x430c53(0x1d7)](_0x28c8e5)||!this['_unitOnClients'][_0x430c53(0x1fb)](_0x28c8e5)[_0x430c53(0x1d7)](_0x498da4)){const _0x47a593=this[_0x430c53(0x199)][_0x430c53(0x1fb)](_0x28c8e5)||new Set();_0x47a593[_0x430c53(0x29f)](_0x498da4),this[_0x430c53(0x199)][_0x430c53(0x106)](_0x28c8e5,_0x47a593),this[_0x430c53(0x244)](_0x498da4);}}),_0x1195b8||this[_0x2f7bec(0x1f4)]({'type':0x0,'memberID':this[_0x2f7bec(0x24f)],'unitIDs':[...this[_0x2f7bec(0x1a8)]],'isForwarded':!0x0});}[_0x4a9b73(0x244)](_0x215c89){const _0x16e66c=_0x4a9b73;this['_removeClearOtherTimer'](_0x215c89);const _0x10e679=window[_0x16e66c(0x286)](()=>{const _0x3f16e2=_0x16e66c;this[_0x3f16e2(0x199)][_0x3f16e2(0x263)](_0x49fdee=>{_0x49fdee['delete'](_0x215c89);});},it*0x2);this[_0x16e66c(0xea)][_0x16e66c(0x106)](_0x215c89,_0x10e679);}[_0x4a9b73(0x1db)](_0x1db961){const _0x343108=_0x4a9b73;if(this[_0x343108(0xea)]['has'](_0x1db961)){const _0x9b7bbe=this[_0x343108(0xea)][_0x343108(0x1fb)](_0x1db961);_0x9b7bbe&&window[_0x343108(0xf0)](_0x9b7bbe),this[_0x343108(0xea)]['set'](_0x1db961,null);}}['_handleLeaveEvent'](_0x4821ec){const _0x30fdad=_0x4a9b73,{memberID:_0x328d53,unitIDs:_0x45df99}=_0x4821ec;_0x45df99[_0x30fdad(0x263)](_0xca2169=>{const _0x52ec31=_0x30fdad;var _0x243a68;const _0x19a93c=this[_0x52ec31(0x199)]['get'](_0xca2169);_0x19a93c&&(_0x19a93c[_0x52ec31(0x19f)](_0x328d53),(_0x243a68=this[_0x52ec31(0xc5)](_0xca2169))==null||_0x243a68[_0x52ec31(0x21f)](_0x19a93c['size']===0x0?_0x13e2cd[_0x52ec31(0x184)]:_0x13e2cd[_0x52ec31(0x1e9)]));}),this[_0x30fdad(0x1db)](_0x328d53);}['_handleHeartbeatEvent'](_0x3e81c7){const _0x31b1f6=_0x4a9b73;this[_0x31b1f6(0x244)](_0x3e81c7[_0x31b1f6(0x1d8)]);}[_0x4a9b73(0x1f4)](_0x25388d){const _0x10d260=_0x4a9b73;localStorage[_0x10d260(0x1b7)](nt,JSON[_0x10d260(0xf2)](_0x25388d));}[_0x4a9b73(0xd8)](){const _0x3d259c=_0x4a9b73;this[_0x3d259c(0x1f6)]=window[_0x3d259c(0x229)](()=>{const _0x70960c=_0x3d259c;this[_0x70960c(0x1f4)]({'type':0x2,'memberID':this['_id']});},it);}[_0x4a9b73(0xc5)](_0x1539b7){const _0x39da08=_0x4a9b73;return this['_unitStatus'][_0x39da08(0x1d7)](_0x1539b7)||this['_unitStatus'][_0x39da08(0x106)](_0x1539b7,new _0x4ae7de(_0x13e2cd[_0x39da08(0x184)])),this['_unitStatus'][_0x39da08(0x1fb)](_0x1539b7);}}var Mt=(_0x4f524c=>(_0x4f524c[_0x4f524c[_0x4a9b73(0x27a)]=0x0]=_0x4a9b73(0x27a),_0x4f524c[_0x4f524c['OK']=0x1]='OK',_0x4f524c[_0x4f524c[_0x4a9b73(0x1f2)]=0x2]='INTERNAL_ERROR',_0x4f524c[_0x4f524c['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x4f524c[_0x4f524c[_0x4a9b73(0x1b5)]=0x4]=_0x4a9b73(0x1b5),_0x4f524c[_0x4f524c['UNAUTHENTICATED']=0x5]=_0x4a9b73(0x21b),_0x4f524c[_0x4f524c['ALREADY_EXISTS']=0x6]=_0x4a9b73(0xf7),_0x4f524c[_0x4f524c[_0x4a9b73(0x135)]=0x7]='INVALID_ARGUMENT',_0x4f524c[_0x4f524c[_0x4a9b73(0x1c5)]=0x8]=_0x4a9b73(0x1c5),_0x4f524c[_0x4f524c['COMPLETION_FINISHED']=0x9]=_0x4a9b73(0xd5),_0x4f524c[_0x4f524c['LOGIN_FAILED']=0xa]=_0x4a9b73(0x1bd),_0x4f524c[_0x4f524c[_0x4a9b73(0x1c3)]=0x1389]=_0x4a9b73(0x1c3),_0x4f524c[_0x4f524c[_0x4a9b73(0x19c)]=0x1771]=_0x4a9b73(0x19c),_0x4f524c[_0x4f524c[_0x4a9b73(0x202)]=0x1772]=_0x4a9b73(0x202),_0x4f524c[_0x4f524c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a9b73(0x103),_0x4f524c[_0x4f524c[_0x4a9b73(0xc9)]=0x1b59]=_0x4a9b73(0xc9),_0x4f524c[_0x4f524c[_0x4a9b73(0x26a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4f524c[_0x4f524c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4a9b73(0xe8),_0x4f524c[_0x4f524c[_0x4a9b73(0xdc)]=0x1b5c]=_0x4a9b73(0xdc),_0x4f524c[_0x4f524c[_0x4a9b73(0xc7)]=0x1b5d]='APPLY_DUPLICATED',_0x4f524c[_0x4f524c[_0x4a9b73(0x10a)]=0x1f41]=_0x4a9b73(0x10a),_0x4f524c[_0x4f524c[_0x4a9b73(0xf3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4f524c[_0x4f524c[_0x4a9b73(0x19a)]=0x232a]=_0x4a9b73(0x19a),_0x4f524c[_0x4f524c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4a9b73(0x291),_0x4f524c[_0x4f524c[_0x4a9b73(0x247)]=0x232c]=_0x4a9b73(0x247),_0x4f524c[_0x4f524c[_0x4a9b73(0x168)]=0x232d]=_0x4a9b73(0x168),_0x4f524c[_0x4f524c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4a9b73(0x1a0),_0x4f524c[_0x4f524c[_0x4a9b73(0x23a)]=0x2712]=_0x4a9b73(0x23a),_0x4f524c[_0x4f524c[_0x4a9b73(0x28d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4f524c[_0x4f524c[_0x4a9b73(0x2b3)]=0x2714]=_0x4a9b73(0x2b3),_0x4f524c[_0x4f524c[_0x4a9b73(0x173)]=0x271a]=_0x4a9b73(0x173),_0x4f524c[_0x4f524c[_0x4a9b73(0x2c0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4f524c[_0x4f524c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4a9b73(0x1bf),_0x4f524c[_0x4f524c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4f524c[_0x4f524c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4a9b73(0x28e),_0x4f524c[_0x4f524c[_0x4a9b73(0x1ff)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4f524c[_0x4f524c[_0x4a9b73(0x27c)]=0x2af9]=_0x4a9b73(0x27c),_0x4f524c[_0x4f524c[_0x4a9b73(0x280)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4f524c[_0x4f524c[_0x4a9b73(0x1a3)]=0x2ee2]=_0x4a9b73(0x1a3),_0x4f524c[_0x4f524c[_0x4a9b73(0x221)]=0x2ee3]=_0x4a9b73(0x221),_0x4f524c[_0x4f524c[_0x4a9b73(0x23b)]=0x2ee4]=_0x4a9b73(0x23b),_0x4f524c[_0x4f524c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4f524c[_0x4f524c[_0x4a9b73(0x1be)]=0x32c9]=_0x4a9b73(0x1be),_0x4f524c[_0x4f524c[_0x4a9b73(0x287)]=0x32ca]=_0x4a9b73(0x287),_0x4f524c[_0x4f524c[_0x4a9b73(0x22b)]=0x32cb]=_0x4a9b73(0x22b),_0x4f524c[_0x4f524c[_0x4a9b73(0x2be)]=-0x1]='UNRECOGNIZED',_0x4f524c))(Mt||{}),pn=Object[_0x4a9b73(0xc4)],Cn=(_0x31acab,_0x5d0fab,_0x2130be,_0x3dac5c)=>{for(var _0x547e0f=_0x3dac5c>0x1?void 0x0:_0x3dac5c?pn(_0x5d0fab,_0x2130be):_0x5d0fab,_0x180215=_0x31acab['length']-0x1,_0x364758;_0x180215>=0x0;_0x180215--)(_0x364758=_0x31acab[_0x180215])&&(_0x547e0f=_0x364758(_0x547e0f)||_0x547e0f);return _0x547e0f;},be=(_0x334c3b,_0x4a7bb7)=>(_0x79b562,_0x27d78f)=>_0x4a7bb7(_0x79b562,_0x27d78f,_0x334c3b);let rt=class extends _0x3ca0d9{constructor(_0x4fa8cf,_0xa3528c,_0x54b60f){const _0x81c165=_0x4a9b73;super(),this['_instanceService']=_0x4fa8cf,this[_0x81c165(0xf8)]=_0xa3528c,this['_configService']=_0x54b60f;}async[_0x4a9b73(0x105)](_0x3d2108,_0x92295c,_0x1817ef,..._0x14c029){const _0x2e4cf0=_0x4a9b73;var _0x293d04,_0x3db414,_0xc3a529,_0x4811d6;const _0x1e25d5=this[_0x2e4cf0(0x250)][_0x2e4cf0(0x115)]();if(!_0x1e25d5)throw new Error(_0x2e4cf0(0x222));const _0x558b2a=((_0x293d04=this['_configService'][_0x2e4cf0(0x109)](_0x7da6f6))!=null?_0x293d04:_0x3beb12)+'/'+_0x3d2108+_0x2e4cf0(0x1d5)+_0x92295c,_0xdfd084=new URL(window[_0x2e4cf0(0xd2)]['href']),_0xabfb2e={'scriptId':_0x3d2108,'runId':(_0x3db414=_0xdfd084[_0x2e4cf0(0x2bd)][_0x2e4cf0(0x1fb)](_0x2e4cf0(0x235)))!=null?_0x3db414:'','function':_0x92295c,'unitId':_0x1e25d5[_0x2e4cf0(0x1ce)](),'argsOfFunction':JSON[_0x2e4cf0(0xf2)](_0x14c029),'invokeId':(_0xc3a529=_0x1817ef[_0x2e4cf0(0x10f)])!=null?_0xc3a529:'','executionId':(_0x4811d6=_0x1817ef[_0x2e4cf0(0x104)])!=null?_0x4811d6:''};try{const _0x1e3c6a=await this[_0x2e4cf0(0xf8)]['post'](_0x558b2a,{'body':_0xabfb2e});return _0x1e3c6a[_0x2e4cf0(0x2c3)]['error']&&_0x1e3c6a['body'][_0x2e4cf0(0x25e)][_0x2e4cf0(0x252)]!==Mt['OK']?'Failed':_0x1e3c6a[_0x2e4cf0(0x2c3)]['result'];}catch{return _0x2e4cf0(0x131);}}};rt=Cn([be(0x0,_0x3d2f4d),be(0x1,_0x5a910a(_0x497203)),be(0x2,_0x34b4f6)],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};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2f8b(){const _0x2be4fe=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1106252LaDCZi','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2004410zglaif','175446EdGYtM','1337574BWKUWL','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4087rHhuRF','9cyZfuX','Connection\x20failed,\x20please\x20check\x20your\x20network.','5MlSDcH','Collaboration\x20Conflict','Local\x20file','Authentication\x20Error','3309352AnYPOZ','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','667530dhcMQD','Syncing\x20server\x20data...','6ldVeGv'];_0x2f8b=function(){return _0x2be4fe;};return _0x2f8b();}const _0x499fd3=_0x1a75;function _0x1a75(_0x43d193,_0x315ed3){const _0x2f8b0c=_0x2f8b();return _0x1a75=function(_0x1a7571,_0x15f6c1){_0x1a7571=_0x1a7571-0x153;let _0x4f5ffb=_0x2f8b0c[_0x1a7571];return _0x4f5ffb;},_0x1a75(_0x43d193,_0x315ed3);}(function(_0xf6e537,_0x2d8232){const _0x690225=_0x1a75,_0xb60c6d=_0xf6e537();while(!![]){try{const _0x361282=parseInt(_0x690225(0x169))/0x1+parseInt(_0x690225(0x15e))/0x2*(parseInt(_0x690225(0x165))/0x3)+-parseInt(_0x690225(0x162))/0x4+parseInt(_0x690225(0x154))/0x5*(-parseInt(_0x690225(0x15c))/0x6)+-parseInt(_0x690225(0x166))/0x7+parseInt(_0x690225(0x158))/0x8+parseInt(_0x690225(0x16a))/0x9*(parseInt(_0x690225(0x164))/0xa);if(_0x361282===_0x2d8232)break;else _0xb60c6d['push'](_0xb60c6d['shift']());}catch(_0x34c675){_0xb60c6d['push'](_0xb60c6d['shift']());}}}(_0x2f8b,0x346d7));const e={'collab-client':{'tooltip':{'reconnect':_0x499fd3(0x160)}},'collabStatus':{'fetchMiss':_0x499fd3(0x15d),'conflict':_0x499fd3(0x167),'notCollab':_0x499fd3(0x156),'synced':_0x499fd3(0x159),'syncing':'Syncing...','offline':_0x499fd3(0x161)},'session':{'connection-failed':_0x499fd3(0x153),'will-retry':_0x499fd3(0x168),'room-full':_0x499fd3(0x15b),'collaboration-timeout':_0x499fd3(0x163)},'conflict':{'title':_0x499fd3(0x155),'content':'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.'},'permission':{'title':_0x499fd3(0x157),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x499fd3(0x15f)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x499fd3(0x15a)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5bb3(){const _0x5a1cdb=['6317352expxmr','اتاق\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کنید.','376416dOLBrM','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','13836udtLfz','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','1342BywntL','210TFkzQJ','1843580vkoZtW','یک\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سازی...','2380knuNxn','تداخل\x20همکاری','287484eWDjcE','همگام\x20سازی','168936jFxOsZ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','75tJUzKh','132498RdeAHL','خطای\x20اعتبارسنجی','16YhKyaK'];_0x5bb3=function(){return _0x5a1cdb;};return _0x5bb3();}function _0x1a89(_0x5157dd,_0x892fdb){const _0x5bb35e=_0x5bb3();return _0x1a89=function(_0x1a8946,_0x45f87e){_0x1a8946=_0x1a8946-0xd8;let _0x53749a=_0x5bb35e[_0x1a8946];return _0x53749a;},_0x1a89(_0x5157dd,_0x892fdb);}const _0x36949a=_0x1a89;(function(_0x5913c0,_0x571cf4){const _0x9b884b=_0x1a89,_0x2a5f24=_0x5913c0();while(!![]){try{const _0xe3ca72=-parseInt(_0x9b884b(0xe8))/0x1+parseInt(_0x9b884b(0xec))/0x2*(parseInt(_0x9b884b(0xeb))/0x3)+parseInt(_0x9b884b(0xee))/0x4*(parseInt(_0x9b884b(0xdf))/0x5)+parseInt(_0x9b884b(0xda))/0x6*(parseInt(_0x9b884b(0xe4))/0x7)+-parseInt(_0x9b884b(0xef))/0x8+-parseInt(_0x9b884b(0xd8))/0x9*(-parseInt(_0x9b884b(0xde))/0xa)+-parseInt(_0x9b884b(0xdd))/0xb*(parseInt(_0x9b884b(0xe6))/0xc);if(_0xe3ca72===_0x571cf4)break;else _0x2a5f24['push'](_0x2a5f24['shift']());}catch(_0x130940){_0x2a5f24['push'](_0x2a5f24['shift']());}}}(_0x5bb3,0xdeaca));const o={'collab-client':{'tooltip':{'reconnect':_0x36949a(0xdb)}},'collabStatus':{'fetchMiss':_0x36949a(0xea),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x36949a(0xe7),'syncing':_0x36949a(0xe3),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x36949a(0xe2),'will-retry':_0x36949a(0xe1),'room-full':_0x36949a(0xf0),'collaboration-timeout':_0x36949a(0xe9)},'conflict':{'title':_0x36949a(0xe5),'content':_0x36949a(0xe0)},'permission':{'title':_0x36949a(0xed),'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':_0x36949a(0xf1)},'closeRoom':_0x36949a(0xd9)},'auth':{'needGotoLoginAlert':_0x36949a(0xdc)}};export{o as default};
|