@univerjs-pro/collaboration-client-ui 0.9.1 → 0.9.2-nightly.202507111607

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4b686c=_0x8d27;(function(_0x4a1a97,_0x207a83){const _0x1e7217=_0x8d27,_0x4f8ebd=_0x4a1a97();while(!![]){try{const _0x2f4db0=-parseInt(_0x1e7217(0x23c))/0x1*(-parseInt(_0x1e7217(0x29f))/0x2)+parseInt(_0x1e7217(0x183))/0x3*(parseInt(_0x1e7217(0x118))/0x4)+-parseInt(_0x1e7217(0x20b))/0x5+parseInt(_0x1e7217(0x110))/0x6*(-parseInt(_0x1e7217(0x166))/0x7)+-parseInt(_0x1e7217(0x25a))/0x8*(-parseInt(_0x1e7217(0xfa))/0x9)+-parseInt(_0x1e7217(0x1f1))/0xa*(-parseInt(_0x1e7217(0x1b5))/0xb)+parseInt(_0x1e7217(0x231))/0xc*(-parseInt(_0x1e7217(0x277))/0xd);if(_0x2f4db0===_0x207a83)break;else _0x4f8ebd['push'](_0x4f8ebd['shift']());}catch(_0x284d38){_0x4f8ebd['push'](_0x4f8ebd['shift']());}}}(_0x40c7,0x8fe58));var $t=Object['defineProperty'],xt=(_0x3b15cc,_0x4d8c10,_0x161a37)=>_0x4d8c10 in _0x3b15cc?$t(_0x3b15cc,_0x4d8c10,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x161a37}):_0x3b15cc[_0x4d8c10]=_0x161a37,_=(_0x568cdd,_0xc630de,_0x5ee130)=>xt(_0x568cdd,typeof _0xc630de!=_0x4b686c(0x234)?_0xc630de+'':_0xc630de,_0x5ee130);import{MemberService as _0x17da16,SessionStatus as _0x2e1737,CollaborationSessionService as _0x496baa,CollaborationStatus as _0x5200d6,CollaborationController as _0x5d0921,ILocalCacheService as _0xc89ad5,CollaborationUIEventService as _0x4106b9,CollaborationUIEventId as _0x92e30d,DataLoaderService as _0x1e9afe,DocCollaborationEntity as _0x3674b9,getLocalCacheKey as _0x523d61,LOCAL_CACHE_INTERVAL as _0x47a028,LOCAL_CACHE_INTERVAL_KEY as _0x1889e3,UniverCollaborationClientPlugin as _0x1fb44e,CollaborationSocketService as _0x3af29e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2dd5d5,DEFAULT_WS_SESSION_TICKET_URL as _0x4b31a1,UnitStatus as _0x384609,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x21e247,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2264b2}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5ab323,Disposable as _0x1742bc,DOC_RANGE_TYPE as _0x311010,Inject as _0x4ef46d,Injector as _0x44ce02,IUniverInstanceService as _0x17792d,ICommandService as _0x37ab5e,debounce as _0x27f7d9,Rectangle as _0x179dbf,DisposableCollection as _0x76412d,toDisposable as _0x599691,UniverInstanceType as _0x3cbf7a,Tools as _0x1cb2e8,COLORS as _0x251c7a,ColorKit as _0x47e31c,ThemeService as _0xbeaf16,fromEventSubject as _0x515779,LocaleService as _0x2c5380,createIdentifier as _0x172f8d,ILogService as _0x6dddd7,Optional as _0x26cf6f,Workbook as _0x5aad73,CommandType as _0x2753d5,IConfigService as _0x51f983,ILocalStorageService as _0x3b97d1,DependentOn as _0x437b4b,Plugin as _0xeb5185,merge as _0x41517e,registerDependencies as _0xc47875,mergeOverrideWithDependencies as _0x44b08e,touchDependencies as _0x5ac18c,generateRandomId as _0x509014}from'@univerjs/core';import{Shape as _0x118379,Rect as _0x116358,getColor as _0x578f2e,RegularPolygon as _0x4a274e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5f2162,Vector2 as _0x45d2f2,SHEET_VIEWPORT_KEY as _0x1b567f,IRenderManagerService as _0x3442d8}from'@univerjs/engine-render';import{ISocketService as _0x18a06e,WebSocketService as _0x21c2ca,HTTPService as _0x9652b6}from'@univerjs/network';import{IDocClipboardService as _0x5182c9,NodePositionConvertToCursor as _0x5575e3,NodePositionConvertToRectRange as _0x191b76,TEXT_RANGE_LAYER_INDEX as _0x55129e,SetDocZoomRatioOperation as _0x28c469,DocIMEInputManagerService as _0x4ed62a,DocStateChangeManagerService as _0x125cf3}from'@univerjs/docs-ui';import{IImageIoService as _0x3d35d4}from'@univerjs/drawing';import{BehaviorSubject as _0x1dc360,debounceTime as _0x9ca9d5,takeUntil as _0x58f2c6,Subject as _0x39d772,filter as _0x497b4a,switchMap as _0x463316,merge as _0x1e0f3e,combineLatest as _0x9a10df,of as _0x52abf6,fromEvent as _0x542fdf,shareReplay as _0xbbb2f7,mapTo as _0x2f0c72,distinctUntilChanged as _0x469370}from'rxjs';import{ITransformService as _0x593ca9,CollaborationEvent as _0x540b86,isTransformMutationFailure as _0x180e5b,isTransformMutationsWithChangesetSuccess as _0x5d6d20,RevisionService as _0x42362c,ISnapshotServerService as _0x1b6a90}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x388b82,RichTextEditingMutation as _0xb071c8,DocSelectionManagerService as _0x5fa09c,DocSkeletonManagerService as _0x55a916}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3f9959,serializeRangeWithSheet as _0x511d14}from'@univerjs/engine-formula';import{RefRangeService as _0x2048ca,SetSelectionsOperation as _0x59050c,SheetsSelectionsService as _0x1bbdcb,EffectRefRangId as _0x13f3ae,handleIRemoveRow as _0x23be23,handleIRemoveCol as _0x4e6f1b,handleMoveRange as _0xc0c91,handleInsertRow as _0x4694e5,handleInsertRangeMoveRight as _0x2be0a8,handleInsertRangeMoveDown as _0x543f03,handleInsertCol as _0x2320ac,handleDeleteRangeMoveUp as _0x3b280e,handleDeleteRangeMoveLeft as _0x1da29d,runRefRangeMutations as _0x1fd1df,SetWorksheetActivateCommand as _0x31eba2}from'@univerjs/sheets';import{map as _0x5a69b7,filter as _0x226d21,throttleTime as _0x5b55a7,takeUntil as _0x18b799,switchMap as _0x1962d9}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2fa3e6,getCoordByCell as _0x3e8b06,getSheetObject as _0xeef35e}from'@univerjs/sheets-ui';import{jsx as _0x2c0156,jsxs as _0x16a5b5}from'react/jsx-runtime';import{useObservable as _0x2e38ed,useDependency as _0x3a6e36,IUIPartsService as _0x3890b7,BuiltInUIPart as _0x3e156f,connectInjector as _0xc59152,IBeforeCloseService as _0x2559ec,IMessageService as _0x134bbc,INotificationService as _0x567795}from'@univerjs/ui';import{Tooltip as _0x3f8f56,clsx as _0x308370,MessageType as _0x2b6bc1}from'@univerjs/design';import{forwardRef as _0x423ab1,useRef as _0x5e2bdc,createElement as _0x14f53a,useCallback as _0x142da6}from'react';import{IRemoteInstanceService as _0x1c9ee7}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x38cefb,_0x4011b0,_0x22085f,_0x387510)=>{const _0x49a776=_0x4b686c;for(var _0x112e35=_0x387510>0x1?void 0x0:_0x387510?ci(_0x4011b0,_0x22085f):_0x4011b0,_0x1b7332=_0x38cefb[_0x49a776(0x19d)]-0x1,_0x52c1d0;_0x1b7332>=0x0;_0x1b7332--)(_0x52c1d0=_0x38cefb[_0x1b7332])&&(_0x112e35=_0x52c1d0(_0x112e35)||_0x112e35);return _0x112e35;},Je=(_0x335cd1,_0x36cf3f)=>(_0x386d83,_0x22a9d4)=>_0x36cf3f(_0x386d83,_0x22a9d4,_0x335cd1);let Ne=class extends _0x5ab323{constructor(_0x3a5837,_0x4ef003){const _0x5b7afb=_0x4b686c;super(),this[_0x5b7afb(0x13f)]=_0x3a5837,this['_imageIoService']=_0x4ef003,this[_0x5b7afb(0x2fe)]();}[_0x4b686c(0x2fe)](){const _0x5e4ad0=_0x4b686c,_0x8e33bb=this;this[_0x5e4ad0(0x191)](this[_0x5e4ad0(0x13f)][_0x5e4ad0(0x2b2)]({'onBeforePasteImage':async _0x2e4eb5=>{const _0x38037d=_0x5e4ad0,_0x3d060e=await _0x8e33bb[_0x38037d(0x23b)][_0x38037d(0x272)](_0x2e4eb5);return _0x3d060e?{'source':_0x3d060e[_0x38037d(0x220)],'imageSourceType':_0x3d060e['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x5182c9),Je(0x1,_0x3d35d4)],Ne);const Ze=[_0x4b686c(0x1a3),_0x4b686c(0x2e5),_0x4b686c(0x292),_0x4b686c(0x15b),_0x4b686c(0x2c7),_0x4b686c(0x182)];class ke extends _0x1742bc{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x4b686c(0x1ab)](_0x4878c9){const _0x1eb0e3=_0x4b686c;if(this[_0x1eb0e3(0x2da)][_0x1eb0e3(0x27d)](_0x4878c9))return this[_0x1eb0e3(0x2da)][_0x1eb0e3(0x29b)](_0x4878c9);const _0x4eb567=Ze[this[_0x1eb0e3(0x1a0)]];return this[_0x1eb0e3(0x1a0)]=(this[_0x1eb0e3(0x1a0)]+0x1)%Ze[_0x1eb0e3(0x19d)],this[_0x1eb0e3(0x2da)][_0x1eb0e3(0x2d0)](_0x4878c9,_0x4eb567),_0x4eb567;}}function Tt(_0x24f37a){const _0x2b362=_0x4b686c;let _0x1b8a8c='';for(const _0x31e114 of _0x24f37a){const {startOffset:_0x367def,endOffset:_0x1ba118,isActive:_0x158ea6,rangeType:_0x1a228e,segmentId:_0x505723,segmentPage:_0x42b5fa}=_0x31e114;_0x1b8a8c[_0x2b362(0x19d)]&&(_0x1b8a8c+=','),_0x1b8a8c+=_0x367def+':'+_0x1ba118+':'+(_0x158ea6?'1':'0')+':'+_0x1a228e+':'+_0x505723+':'+_0x42b5fa;}return _0x1b8a8c;}function _i(_0x5897ee){const _0x1c527e=_0x4b686c,_0x3f5367=_0x5897ee[_0x1c527e(0x2d3)](','),_0x53ccdc=[];for(const _0x5bd7e9 of _0x3f5367){const [_0xc7cb72,_0x512cb2,_0x11c30d,_0x2a5e06,_0x1cd6a9,_0x167ecc]=_0x5bd7e9[_0x1c527e(0x2d3)](':');_0x53ccdc[_0x1c527e(0x140)]({'startOffset':Number(_0xc7cb72),'endOffset':Number(_0x512cb2),'collapsed':_0xc7cb72===_0x512cb2,'isActive':_0x11c30d==='1','rangeType':_0x2a5e06===_0x311010['TEXT']?_0x311010[_0x1c527e(0x16f)]:_0x311010[_0x1c527e(0x1f5)],'segmentId':typeof _0x1cd6a9==_0x1c527e(0x23d)?String(_0x1cd6a9):'','segmentPage':Number(_0x167ecc!=null?_0x167ecc:-0x1)});}return _0x53ccdc[_0x1c527e(0x2f1)](_0x2358b8=>_0x2358b8[_0x1c527e(0x1a6)])||(_0x53ccdc[0x0]['isActive']=!0x0),_0x53ccdc;}class He extends _0x5ab323{constructor(){const _0x21ec50=_0x4b686c;super(...arguments),_(this,'_collabCursorState$',new _0x1dc360(null)),_(this,_0x21ec50(0x14a),this[_0x21ec50(0x125)][_0x21ec50(0x2ed)]());}['syncEditingCollabCursor'](_0x2cc03d){const _0x2a0cde=_0x4b686c,{unitID:_0x19824d,memberID:_0x2bd11e,textRanges:_0x30c910}=_0x2cc03d,_0x4c7fa4=Tt(_0x30c910);if(_0x4c7fa4==='')return;const _0xeac089={'unitID':_0x19824d,'memberID':_0x2bd11e,'selection':_0x4c7fa4};this['_collabCursorState$'][_0x2a0cde(0x2b1)](_0xeac089);}}var hi=Object[_0x4b686c(0x1bf)],ui=(_0x329c13,_0x1f39b2,_0x4ae325,_0x162fd4)=>{const _0x5cce2a=_0x4b686c;for(var _0x3070b3=_0x162fd4>0x1?void 0x0:_0x162fd4?hi(_0x1f39b2,_0x4ae325):_0x1f39b2,_0x5aeb11=_0x329c13[_0x5cce2a(0x19d)]-0x1,_0x20a51e;_0x5aeb11>=0x0;_0x5aeb11--)(_0x20a51e=_0x329c13[_0x5aeb11])&&(_0x3070b3=_0x20a51e(_0x3070b3)||_0x3070b3);return _0x3070b3;},P=(_0x5ba3e6,_0x528ddf)=>(_0x516689,_0x531f66)=>_0x528ddf(_0x516689,_0x531f66,_0x5ba3e6);const di=0x12c,fi=0x64;let Ue=class extends _0x5ab323{constructor(_0x30b730,_0x511a88,_0x2efa41,_0x58cea5,_0x29caba,_0x2ed0b1,_0x44cf8b,_0xbe5550,_0x14e909){const _0x282571=_0x4b686c;super(),_(this,_0x282571(0x2e2),!0x1),_(this,_0x282571(0x2fe),!0x1),_(this,_0x282571(0x268),new _0x1dc360(new Map())),_(this,_0x282571(0x1b4),this[_0x282571(0x268)]['asObservable']()),_(this,'_roomMembers$',new _0x1dc360([])),_(this,'roomMembers$',this[_0x282571(0x2c6)][_0x282571(0x1cd)](_0x9ca9d5(di))),_(this,_0x282571(0x100),_0x27f7d9(_0x3a558d=>{const _0x5d72f9=_0x282571,_0x16eacc={'eventID':_0x540b86[_0x5d72f9(0x26d)],'data':{'unitID':this['unitID'],'memberID':this[_0x5d72f9(0x273)]['getMemberID'](),'selection':Tt(_0x3a558d)}};this[_0x5d72f9(0x273)][_0x5d72f9(0x210)](_0x16eacc,this['unitID']);},fi)),(this[_0x282571(0x2cd)]=_0x30b730,this[_0x282571(0x273)]=_0x511a88,this['_injector']=_0x2efa41,this[_0x282571(0x230)]=_0x58cea5,this[_0x282571(0x17b)]=_0x29caba,this[_0x282571(0x236)]=_0x2ed0b1,this[_0x282571(0x130)]=_0x44cf8b,this[_0x282571(0x208)]=_0xbe5550,this['_commandService']=_0x14e909);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x4b686c(0x2e0)](){const _0x165468=_0x4b686c;return this['_roomMembers$'][_0x165468(0x2ff)]();}['dispose'](){const _0x180b84=_0x4b686c;super[_0x180b84(0x28e)](),this[_0x180b84(0x268)]['next'](new Map()),this['_cursorInfo$'][_0x180b84(0xfb)](),this[_0x180b84(0x2c6)][_0x180b84(0x2b1)]([]),this[_0x180b84(0x2c6)][_0x180b84(0xfb)]();}['init'](){const _0x4af5a8=_0x4b686c;this[_0x4af5a8(0x2fe)]||(this[_0x4af5a8(0x2fe)]=!0x0,this[_0x4af5a8(0x273)][_0x4af5a8(0x171)][_0x4af5a8(0x1cd)](_0x58f2c6(this[_0x4af5a8(0x16e)]))[_0x4af5a8(0x202)](_0x4f2ab1=>{const _0x2e6075=_0x4af5a8;_0x4f2ab1===_0x2e1737[_0x2e6075(0x181)]?this[_0x2e6075(0x219)]():this['_toggleOffline']();}),this[_0x4af5a8(0x273)][_0x4af5a8(0x17c)][_0x4af5a8(0x1cd)](_0x58f2c6(this['dispose$']))[_0x4af5a8(0x202)](_0x470b08=>{const _0x48c6ab=_0x4af5a8,_0x27c302=_0x470b08[_0x48c6ab(0x104)];_0x27c302===_0x540b86[_0x48c6ab(0x26d)]&&this['_onCursorUpdate'](_0x470b08),_0x27c302===_0x540b86['USERS_LEAVE']&&this[_0x48c6ab(0x1be)](_0x470b08);}),this['disposeWithMe'](this['_commandService'][_0x4af5a8(0x15a)](_0x229101=>{const _0x42697b=_0x4af5a8,_0x7d6cbc=_0x229101[_0x42697b(0x19a)];_0x7d6cbc!=null&&this[_0x42697b(0x2e2)]&&_0x229101['id']===_0x388b82['id']&&_0x7d6cbc[_0x42697b(0x274)]===this[_0x42697b(0x2cd)]&&_0x7d6cbc['isEditing']===!0x1&&_0x7d6cbc[_0x42697b(0x1d3)]['length']>0x0&&this[_0x42697b(0x100)](_0x7d6cbc[_0x42697b(0x1d3)]);})),this['_syncEditingCollabCursorService'][_0x4af5a8(0x14a)][_0x4af5a8(0x1cd)](_0x58f2c6(this[_0x4af5a8(0x16e)]))[_0x4af5a8(0x202)](_0x541d88=>{const _0x327f7c=_0x4af5a8;if((_0x541d88==null?void 0x0:_0x541d88[_0x327f7c(0x2cd)])!==this['unitID'])return;const _0x3b8a93={'eventID':_0x540b86[_0x327f7c(0x26d)],'data':_0x541d88};this[_0x327f7c(0x1f3)](_0x3b8a93);}),this[_0x4af5a8(0x191)](this[_0x4af5a8(0x11f)][_0x4af5a8(0x15a)](_0x43a939=>{const _0x10f493=_0x4af5a8;if(_0x43a939['params']==null)return;const _0x481c20=_0x43a939[_0x10f493(0x19a)];if(_0x43a939['id']!==_0xb071c8['id']||_0x481c20[_0x10f493(0x274)]!==this[_0x10f493(0x2cd)])return;const _0x252227={'id':_0x10f493(0x2b7),'params':_0x481c20},_0x42b523=this['cursorInfo'];for(const [_0x1ee124,_0x5890a7]of _0x42b523){const _0x3a3819={'id':_0x10f493(0x2b7),'params':{'unitId':this[_0x10f493(0x2cd)],'actions':null,'textRanges':_0x5890a7[_0x10f493(0x1d3)]}},_0x30b983=this[_0x10f493(0x130)][_0x10f493(0x24b)](_0x252227,_0x3a3819,!0x1);if(_0x180e5b(_0x30b983))throw _0x30b983[_0x10f493(0x2be)];_0x42b523['set'](_0x1ee124,{..._0x5890a7,'ranges':_0x30b983['m2Prime'][_0x10f493(0x19a)][_0x10f493(0x203)]});}queueMicrotask(()=>{const _0x514bee=_0x10f493;this[_0x514bee(0x268)][_0x514bee(0x2b1)](_0x42b523);});})));}[_0x4b686c(0x1f3)](_0xc11965){const _0x4e54de=_0x4b686c;var _0x2c3b3e,_0x4c6454;const {memberID:_0x256e75,selection:_0x1a6846}=_0xc11965[_0x4e54de(0x205)],_0x4ed659=_i(_0x1a6846),_0x2e4445=(_0x4c6454=(_0x2c3b3e=this[_0x4e54de(0x17b)][_0x4e54de(0x259)](this[_0x4e54de(0x2cd)],_0x256e75))==null?void 0x0:_0x2c3b3e[_0x4e54de(0x194)])!=null?_0x4c6454:_0x4e54de(0x2e1),_0x34962f={'color':this[_0x4e54de(0x230)]['assignAColorForMemberID'](_0x256e75),'name':_0x2e4445,'ranges':_0x4ed659},_0x25fc8a=this[_0x4e54de(0x1f8)];_0x25fc8a[_0x4e54de(0x2d0)](_0x256e75,_0x34962f),this[_0x4e54de(0x268)][_0x4e54de(0x2b1)](_0x25fc8a);}[_0x4b686c(0x1be)](_0x1b926e){const _0xb89a31=_0x4b686c,{memberID:_0x11b3a3}=_0x1b926e[_0xb89a31(0x205)],_0x39ae06=this['cursorInfo'];_0x39ae06[_0xb89a31(0x112)](_0x11b3a3),this[_0xb89a31(0x268)][_0xb89a31(0x2b1)](_0x39ae06);}[_0x4b686c(0x219)](){const _0x3bc521=_0x4b686c;var _0x59c05e;if(this[_0x3bc521(0x2e2)]=!0x0,((_0x59c05e=this['_univerInstanceService'][_0x3bc521(0x126)]())==null?void 0x0:_0x59c05e[_0x3bc521(0x169)]())!==this['unitID'])return;const _0x267580=this[_0x3bc521(0x2a1)][_0x3bc521(0x29b)](_0x5fa09c)[_0x3bc521(0x276)]();Array[_0x3bc521(0x232)](_0x267580)&&_0x267580['length']>0x0&&this[_0x3bc521(0x100)](_0x267580);}[_0x4b686c(0x2f6)](){const _0x6afbe6=_0x4b686c;this[_0x6afbe6(0x2e2)]=!0x1;}};Ue=ui([P(0x2,_0x4ef46d(_0x44ce02)),P(0x3,_0x4ef46d(ke)),P(0x4,_0x4ef46d(_0x17da16)),P(0x5,_0x4ef46d(He)),P(0x6,_0x593ca9),P(0x7,_0x17792d),P(0x8,_0x37ab5e)],Ue);var Si=Object[_0x4b686c(0x1bf)],mi=(_0x579172,_0x5b139d,_0x16086e,_0x445af1)=>{const _0x12855e=_0x4b686c;for(var _0x4c4f08=_0x445af1>0x1?void 0x0:_0x445af1?Si(_0x5b139d,_0x16086e):_0x5b139d,_0x68c151=_0x579172[_0x12855e(0x19d)]-0x1,_0x44ff0f;_0x68c151>=0x0;_0x68c151--)(_0x44ff0f=_0x579172[_0x68c151])&&(_0x4c4f08=_0x44ff0f(_0x4c4f08)||_0x4c4f08);return _0x4c4f08;},x=(_0x44b5df,_0x5d7102)=>(_0x28ff35,_0x82c07b)=>_0x5d7102(_0x28ff35,_0x82c07b,_0x44b5df);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3a8d24=[],_0x35e24d=!0x1;return _0xf38263=>{const _0x3a7020=_0x8d27;_0x3a8d24[_0x3a7020(0x140)](_0xf38263),_0x35e24d||(_0x35e24d=!0x0,setTimeout(()=>{_0x3a8d24['forEach'](_0x4a43d1=>_0x4a43d1()),_0x3a8d24=[],_0x35e24d=!0x1;}));};};let Me=class extends _0x5ab323{constructor(_0x424b43,_0x2c2604,_0x2138c8,_0x1cd972,_0x18adb2,_0x19ee26,_0x43fb9e,_0x42c604){const _0x378d4d=_0x4b686c;super(),_(this,'_online',!0x1),_(this,_0x378d4d(0x2fe),!0x1),_(this,'_cursorInfo$',new _0x1dc360(new Map())),_(this,_0x378d4d(0x1b4),this[_0x378d4d(0x268)][_0x378d4d(0x2ed)]()),_(this,_0x378d4d(0x2c6),new _0x1dc360([])),_(this,_0x378d4d(0x282),this[_0x378d4d(0x2c6)][_0x378d4d(0x1cd)](_0x9ca9d5(Ii))),_(this,_0x378d4d(0x100),_0x27f7d9((_0x17e1e1,_0x1ff3e3)=>{const _0x22bb79=_0x378d4d,_0x3b9d44={'eventID':_0x540b86[_0x22bb79(0x26d)],'data':{'unitID':this[_0x22bb79(0x2cd)],'memberID':this[_0x22bb79(0x273)]['getMemberID'](),'selection':_0x511d14(_0x17e1e1,_0x1ff3e3[_0x22bb79(0x224)])}};this[_0x22bb79(0x273)]['send'](_0x3b9d44,this[_0x22bb79(0x2cd)]);},gi)),(this[_0x378d4d(0x2cd)]=_0x424b43,this[_0x378d4d(0x273)]=_0x2c2604,this[_0x378d4d(0x2a1)]=_0x2138c8,this[_0x378d4d(0x230)]=_0x1cd972,this['_memberService']=_0x18adb2,this[_0x378d4d(0x208)]=_0x19ee26,this[_0x378d4d(0x11f)]=_0x43fb9e,this[_0x378d4d(0x17d)]=_0x42c604);}get[_0x4b686c(0x1f8)](){const _0x512e52=_0x4b686c;return this[_0x512e52(0x268)][_0x512e52(0x2ff)]();}get[_0x4b686c(0x2e0)](){const _0x2a74b6=_0x4b686c;return this[_0x2a74b6(0x2c6)]['getValue']();}[_0x4b686c(0x28e)](){const _0x3e452b=_0x4b686c;super[_0x3e452b(0x28e)](),this[_0x3e452b(0x268)][_0x3e452b(0x2b1)](new Map()),this['_cursorInfo$']['complete'](),this[_0x3e452b(0x2c6)][_0x3e452b(0x2b1)]([]),this['_roomMembers$']['complete']();}[_0x4b686c(0x1d6)](){const _0x3b2a13=_0x4b686c;this[_0x3b2a13(0x2fe)]||(this[_0x3b2a13(0x2fe)]=!0x0,this[_0x3b2a13(0x273)][_0x3b2a13(0x171)]['pipe'](_0x58f2c6(this[_0x3b2a13(0x16e)]))[_0x3b2a13(0x202)](_0x350763=>{const _0x3ab38b=_0x3b2a13;_0x350763===_0x2e1737['ONLINE']?this[_0x3ab38b(0x219)]():this['_toggleOffline']();}),this[_0x3b2a13(0x273)][_0x3b2a13(0x17c)][_0x3b2a13(0x1cd)](_0x58f2c6(this[_0x3b2a13(0x16e)]))[_0x3b2a13(0x202)](_0x59d911=>{const _0x2887d6=_0x3b2a13,_0x2f9930=_0x59d911['eventID'];_0x2f9930===_0x540b86[_0x2887d6(0x26d)]&&this[_0x2887d6(0x1f3)](_0x59d911),_0x2f9930===_0x540b86[_0x2887d6(0x141)]&&this[_0x2887d6(0x1be)](_0x59d911);}),this['_onRefRangeChange'](),this[_0x3b2a13(0x191)](this['_commandService'][_0x3b2a13(0x15a)](_0x31e72e=>{const _0x7963fe=_0x3b2a13;if(this[_0x7963fe(0x2e2)]&&_0x31e72e['id']===_0x59050c['id']&&_0x31e72e[_0x7963fe(0x19a)][_0x7963fe(0x274)]===this[_0x7963fe(0x2cd)]){const _0x5f3b29=_0x31e72e[_0x7963fe(0x19a)];this[_0x7963fe(0x100)](_0x5f3b29[_0x7963fe(0x283)],_0x5f3b29[_0x7963fe(0x2f5)][0x0]);}})));}[_0x4b686c(0x1f3)](_0x4d826e){const _0x8bc753=_0x4b686c;var _0x479c49,_0x10900f;const {memberID:_0x2e5b96,selection:_0x1cc349}=_0x4d826e[_0x8bc753(0x205)],{sheetName:_0xc56074,range:_0x63806e}=_0x3f9959(_0x1cc349),_0x366e1a={'name':(_0x10900f=(_0x479c49=this[_0x8bc753(0x17b)][_0x8bc753(0x259)](this[_0x8bc753(0x2cd)],_0x2e5b96))==null?void 0x0:_0x479c49[_0x8bc753(0x194)])!=null?_0x10900f:_0x8bc753(0x2e1),'range':this['_getMergeRange'](_0xc56074,_0x63806e),'sheetID':_0xc56074,'color':this[_0x8bc753(0x230)][_0x8bc753(0x1ab)](_0x2e5b96),'selection':_0x1cc349},_0xa3d064=this['cursorInfo'];_0xa3d064[_0x8bc753(0x2d0)](_0x2e5b96,_0x366e1a),this[_0x8bc753(0x268)]['next'](_0xa3d064);}[_0x4b686c(0x1be)](_0x239ae1){const _0x3460a6=_0x4b686c,{memberID:_0x358978}=_0x239ae1[_0x3460a6(0x205)],_0x258c55=this[_0x3460a6(0x1f8)];_0x258c55['delete'](_0x358978),this[_0x3460a6(0x268)][_0x3460a6(0x2b1)](_0x258c55);}[_0x4b686c(0x263)](_0x4b99ab,_0x4dad83){const _0x1b0469=_0x4b686c;var _0xccb024,_0x743bde;const _0x411877=(_0x743bde=(_0xccb024=this['_univerInstanceService'][_0x1b0469(0x1fe)](this[_0x1b0469(0x2cd)]))==null?void 0x0:_0xccb024['getSheetBySheetId'](_0x4b99ab))==null?void 0x0:_0x743bde[_0x1b0469(0x24f)]();return(_0x411877==null?void 0x0:_0x411877['find'](_0x55b369=>_0x179dbf[_0x1b0469(0x217)](_0x55b369,_0x4dad83)))||_0x4dad83;}['_onRefRangeChange'](){const _0x4c85c5=_0x4b686c,_0x140452=new _0x76412d(),_0x50684a=vi(),_0x17f85b=()=>{const _0x40639d=_0x8d27;_0x140452[_0x40639d(0x28e)]();const _0xd7bc4a=(_0x350823,_0x286f98,_0x4482b2,_0x26195c)=>{const _0x7442cf=_0x40639d;let _0xbe143a=[];switch(_0x350823['id']){case _0x13f3ae[_0x7442cf(0x105)]:{_0xbe143a=_0x1da29d(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x19e)]:{_0xbe143a=_0x3b280e(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x200)]:{_0xbe143a=_0x2320ac(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x1f7)]:{_0xbe143a=_0x543f03(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x1ce)]:{_0xbe143a=_0x2be0a8(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x267)]:{_0xbe143a=_0x4694e5(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x1ed)]:{_0xbe143a=_0xc0c91(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x2c8)]:{_0xbe143a=_0x4e6f1b(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x2f4)]:{_0xbe143a=_0x23be23(_0x350823,_0x26195c);break;}}const _0x1e43c5=_0x1fd1df(_0xbe143a,_0x26195c),_0x22df93=this[_0x7442cf(0x1f8)][_0x7442cf(0x29b)](_0x286f98);if(_0x22df93&&_0x1e43c5){const _0x2c4d9c={..._0x22df93,'range':_0x1e43c5};this[_0x7442cf(0x1f8)]['set'](_0x286f98,_0x2c4d9c),_0x50684a(()=>{const _0x38aef8=_0x7442cf,_0x338d73=this['_refRangeService']['registerRefRange'](_0x1e43c5,_0x29c56b=>(_0x338d73[_0x38aef8(0x28e)](),_0xd7bc4a(_0x29c56b,_0x286f98,_0x4482b2,_0x1e43c5)));_0x140452[_0x38aef8(0x216)](_0x338d73);});}return{'redos':[],'undos':[]};};this[_0x40639d(0x1f8)][_0x40639d(0x21a)]((_0x4d072d,_0x206417)=>{const _0x91a1d6=_0x40639d,{range:_0x13308d,sheetID:_0x598717}=_0x4d072d,_0x2a562b=this[_0x91a1d6(0x17d)][_0x91a1d6(0x26f)](_0x13308d,_0x2f2d32=>(_0x2a562b['dispose'](),_0xd7bc4a(_0x2f2d32,_0x206417,_0x598717,_0x13308d)));_0x140452[_0x91a1d6(0x216)](_0x2a562b);});};this['disposeWithMe'](_0x599691(this[_0x4c85c5(0x268)]['subscribe'](()=>{_0x17f85b();})));}['_toggleOnline'](){const _0x7c7c88=_0x4b686c;var _0x33a356,_0x10bcd6;if(this[_0x7c7c88(0x2e2)]=!0x0,((_0x33a356=this[_0x7c7c88(0x208)][_0x7c7c88(0x126)]())==null?void 0x0:_0x33a356['getUnitId']())!==this[_0x7c7c88(0x2cd)])return;const _0x490363=(_0x10bcd6=this[_0x7c7c88(0x2a1)][_0x7c7c88(0x29b)](_0x1bbdcb)[_0x7c7c88(0x24a)]())==null?void 0x0:_0x10bcd6[0x0],_0x11901f=this[_0x7c7c88(0x208)][_0x7c7c88(0xfc)](_0x3cbf7a[_0x7c7c88(0x186)])[_0x7c7c88(0x114)]();_0x490363&&_0x11901f&&this[_0x7c7c88(0x100)](_0x11901f[_0x7c7c88(0x19f)](),_0x490363);}[_0x4b686c(0x2f6)](){const _0x41b678=_0x4b686c;this[_0x41b678(0x2e2)]=!0x1;}};Me=mi([x(0x2,_0x4ef46d(_0x44ce02)),x(0x3,_0x4ef46d(ke)),x(0x4,_0x4ef46d(_0x17da16)),x(0x5,_0x17792d),x(0x6,_0x37ab5e),x(0x7,_0x4ef46d(_0x2048ca))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x52aa25,_0x1fe030,_0x1ffd73,_0x40b8a1)=>{for(var _0x21fcaf=_0x40b8a1>0x1?void 0x0:_0x40b8a1?pi(_0x1fe030,_0x1ffd73):_0x1fe030,_0x3b1c71=_0x52aa25['length']-0x1,_0x40a419;_0x3b1c71>=0x0;_0x3b1c71--)(_0x40a419=_0x52aa25[_0x3b1c71])&&(_0x21fcaf=_0x40a419(_0x21fcaf)||_0x21fcaf);return _0x21fcaf;},Se=(_0x568aff,_0x4799e8)=>(_0x5077d5,_0x2de0ac)=>_0x4799e8(_0x5077d5,_0x2de0ac,_0x568aff);let H=class extends _0x5ab323{constructor(_0x303ba5,_0xee6fe5,_0x127ee1){const _0x40ed33=_0x4b686c;super(),_(this,'_entities',new Map()),_(this,_0x40ed33(0x129),new _0x39d772()),(this[_0x40ed33(0x208)]=_0x303ba5,this[_0x40ed33(0x2a1)]=_0xee6fe5,this[_0x40ed33(0x192)]=_0x127ee1,this[_0x40ed33(0x2fe)]());}['dispose'](){const _0xbc8e00=_0x4b686c;super[_0xbc8e00(0x28e)](),this[_0xbc8e00(0x129)][_0xbc8e00(0xfb)](),this['_entities'][_0xbc8e00(0x21a)](_0x355c17=>_0x355c17[_0xbc8e00(0x28e)]());}[_0x4b686c(0x1cf)](_0x484463){const _0x863cd7=_0x4b686c;return this[_0x863cd7(0x261)]['has'](_0x484463)?this['_entities'][_0x863cd7(0x29b)](_0x484463)['cursorInfo$']:this[_0x863cd7(0x129)][_0x863cd7(0x1cd)](_0x497b4a(_0x266de9=>_0x266de9[_0x863cd7(0x2cd)]===_0x484463),_0x463316(_0x18b0aa=>_0x18b0aa[_0x863cd7(0x1b4)]));}[_0x4b686c(0x2fe)](){const _0x1e0332=_0x4b686c;this['_univerInstanceService'][_0x1e0332(0x218)](_0x3cbf7a[_0x1e0332(0x186)])['pipe'](_0x58f2c6(this[_0x1e0332(0x16e)]))[_0x1e0332(0x202)](async _0x222eb9=>{const _0xf2333c=_0x1e0332,_0x5bc5a9=_0x222eb9[_0xf2333c(0x169)](),_0x2fb478=await this[_0xf2333c(0x238)](_0x5bc5a9);this['_entityInit$'][_0xf2333c(0x2b1)](_0x2fb478),this[_0xf2333c(0x261)][_0xf2333c(0x2d0)](_0x5bc5a9,_0x2fb478);}),this[_0x1e0332(0x208)][_0x1e0332(0x218)](_0x3cbf7a[_0x1e0332(0x2d5)])[_0x1e0332(0x1cd)](_0x58f2c6(this[_0x1e0332(0x16e)]))['pipe'](_0x497b4a(_0x390141=>!_0x390141['getUnitId']()[_0x1e0332(0x1f6)]('__')))[_0x1e0332(0x202)](async _0x2be6af=>{const _0x360f24=_0x1e0332,_0x62a1d6=_0x2be6af['getUnitId'](),_0x46677b=await this[_0x360f24(0x2d4)](_0x62a1d6);this[_0x360f24(0x129)][_0x360f24(0x2b1)](_0x46677b),this[_0x360f24(0x261)][_0x360f24(0x2d0)](_0x62a1d6,_0x46677b);}),_0x1e0f3e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3cbf7a[_0x1e0332(0x2d5)]),this[_0x1e0332(0x208)][_0x1e0332(0x1b9)](_0x3cbf7a[_0x1e0332(0x186)]))[_0x1e0332(0x1cd)](_0x58f2c6(this[_0x1e0332(0x16e)]))[_0x1e0332(0x202)](_0x3e0f22=>{const _0x1d65fc=_0x1e0332,_0x44aa10=_0x3e0f22[_0x1d65fc(0x169)](),_0x499d2=this[_0x1d65fc(0x261)][_0x1d65fc(0x29b)](_0x44aa10);_0x499d2&&(_0x499d2[_0x1d65fc(0x28e)](),this['_entities']['delete'](_0x44aa10));});}async[_0x4b686c(0x238)](_0x414b8a){const _0x126bff=_0x4b686c,_0x2c29b4=await this[_0x126bff(0x192)]['requireSession'](_0x414b8a),_0x40fc37=this[_0x126bff(0x2a1)][_0x126bff(0x15e)](Me,_0x414b8a,_0x2c29b4);return _0x40fc37[_0x126bff(0x1d6)](),_0x40fc37;}async[_0x4b686c(0x2d4)](_0x32926d){const _0x5d7853=_0x4b686c,_0x526841=await this[_0x5d7853(0x192)][_0x5d7853(0x296)](_0x32926d),_0x3124b1=this['_injector'][_0x5d7853(0x15e)](Ue,_0x32926d,_0x526841);return _0x3124b1[_0x5d7853(0x1d6)](),_0x3124b1;}};H=Ci([Se(0x0,_0x17792d),Se(0x1,_0x4ef46d(_0x44ce02)),Se(0x2,_0x4ef46d(_0x496baa))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x16cb88,_0x385cfc){const _0xcd4039=_0x4b686c;let {radius:_0x108108,width:_0x225ecf,height:_0x3425cc}=_0x385cfc;_0x108108=_0x108108!=null?_0x108108:0x0,_0x225ecf=_0x225ecf!=null?_0x225ecf:0x1e,_0x3425cc=_0x3425cc!=null?_0x3425cc:0x1e;let _0x500d01=0x0,_0x187e0d=0x0,_0x3d9085=0x0;_0x500d01=_0x187e0d=_0x3d9085=Math[_0xcd4039(0x170)](_0x108108,_0x225ecf/0x2,_0x3425cc/0x2),_0x16cb88[_0xcd4039(0x1af)](),_0x16cb88[_0xcd4039(0x214)](_0x500d01,0x0),_0x16cb88[_0xcd4039(0x13c)](_0x225ecf-_0x187e0d,0x0),_0x16cb88[_0xcd4039(0x1a5)](_0x225ecf-_0x187e0d,_0x187e0d,_0x187e0d,Math['PI']*0x3/0x2,0x0,!0x1),_0x16cb88[_0xcd4039(0x13c)](_0x225ecf,_0x3425cc-_0x3d9085),_0x16cb88['arc'](_0x225ecf-_0x3d9085,_0x3425cc-_0x3d9085,_0x3d9085,0x0,Math['PI']/0x2,!0x1),_0x16cb88[_0xcd4039(0x13c)](0x0,_0x3425cc),_0x16cb88[_0xcd4039(0x13c)](0x0,_0x500d01),_0x16cb88[_0xcd4039(0x1a5)](_0x500d01,_0x500d01,_0x500d01,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16cb88['closePath'](),_0x385cfc[_0xcd4039(0x2a8)]&&(_0x16cb88[_0xcd4039(0x1c7)](),_0x16cb88[_0xcd4039(0x13e)]=_0x385cfc[_0xcd4039(0x2a8)],_0x385cfc[_0xcd4039(0x287)]===_0xcd4039(0x108)?_0x16cb88[_0xcd4039(0x2a8)](_0xcd4039(0x108)):_0x16cb88[_0xcd4039(0x2a8)](),_0x16cb88[_0xcd4039(0x20a)]());}class he extends _0x118379{constructor(_0x4d8204,_0x5859cb){const _0x42b41a=_0x4b686c;super(_0x4d8204,_0x5859cb),_(this,_0x42b41a(0x22c)),_(this,_0x42b41a(0x1d2)),(this['color']=_0x5859cb==null?void 0x0:_0x5859cb[_0x42b41a(0x22c)],this[_0x42b41a(0x1d2)]=_0x5859cb==null?void 0x0:_0x5859cb[_0x42b41a(0x1d2)]);}static[_0x4b686c(0x2d7)](_0x48bb3c,_0x2dc786){const _0x5c13a7=_0x4b686c,{text:_0x1fbf39,color:_0x45668e}=_0x2dc786;_0x48bb3c[_0x5c13a7(0x1c7)](),_0x48bb3c['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5b673f=_0x48bb3c[_0x5c13a7(0x10d)](_0x1fbf39)[_0x5c13a7(0x269)],_0x34bd3d=Math['min'](_0x5b673f+0x2*me,Qe);Oi(_0x48bb3c,{'height':ee,'radius':0x4,'width':_0x34bd3d,'fill':_0x45668e}),_0x48bb3c[_0x5c13a7(0x13e)]=_0x5c13a7(0x196);const _0x2d2867=me,_0x412137=ee-Ei,_0x57d370=Qe-0x2*me;if(_0x5b673f>_0x57d370){let _0x2be2dc='',_0x2b5858=0x0;for(const _0x54ee26 of _0x1fbf39){const _0x2ea020=_0x48bb3c['measureText'](_0x54ee26)[_0x5c13a7(0x269)];if(_0x2b5858+_0x2ea020<=_0x57d370-_0x48bb3c['measureText'](_0x5c13a7(0x1a8))['width'])_0x2be2dc+=_0x54ee26,_0x2b5858+=_0x2ea020;else{_0x2be2dc+=_0x5c13a7(0x1a8);break;}}_0x48bb3c[_0x5c13a7(0x23a)](_0x2be2dc,_0x2d2867,_0x412137);}else _0x48bb3c[_0x5c13a7(0x23a)](_0x1fbf39,_0x2d2867,_0x412137);_0x48bb3c['restore']();}[_0x4b686c(0x2ab)](_0x26e604){he['drawWith'](_0x26e604,this);}}const Ie=_0x4b686c(0x193),bi=_0x4b686c(0x21e),Ti=_0x4b686c(0x2d8),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4b686c(0x28a);class qe{constructor(_0x288e2d,_0x3aab1e,_0x56630b,_0x1712f2){const _0x249b64=_0x4b686c;_(this,_0x249b64(0x1e3),[]),_(this,_0x249b64(0x206),null),_(this,_0x249b64(0x1a7),null),_(this,_0x249b64(0x116),null),_(this,_0x249b64(0x2b4),null),_(this,'_eventUnsubscribe',null),(this[_0x249b64(0x14b)]=_0x288e2d,this['_scene']=_0x3aab1e,this[_0x249b64(0x2aa)]=_0x56630b,this['_document']=_0x1712f2,this['_render']());}set[_0x4b686c(0x162)](_0x1776e4){const _0x53756f=_0x4b686c;_0x1776e4?(this[_0x53756f(0x116)]&&this[_0x53756f(0x116)][_0x53756f(0x10a)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x53756f(0x116)]&&this[_0x53756f(0x116)]['show'](),this[_0x53756f(0x1a7)]&&this['_textBubble'][_0x53756f(0x10a)]());}['dispose'](){const _0xeef966=_0x4b686c;for(const _0x5ed9f9 of this[_0xeef966(0x1e3)])_0x5ed9f9[_0xeef966(0x28e)]();this[_0xeef966(0x1a7)]&&this[_0xeef966(0x1a7)][_0xeef966(0x28e)](),this[_0xeef966(0x116)]&&this[_0xeef966(0x116)]['dispose'](),this[_0xeef966(0x206)]&&this['_anchor'][_0xeef966(0x28e)](),this[_0xeef966(0x227)]&&this['_eventUnsubscribe']();}[_0x4b686c(0x2ea)](){const _0x26a78e=_0x4b686c;var _0x2bdb26;const {_docSkeleton:_0x53dbeb,_document:_0x51e599}=this,{color:_0x326cd8,name:_0xca101f,ranges:_0x22b912}=this[_0x26a78e(0x14b)],_0x1f4201=_0x51e599[_0x26a78e(0x1f9)](),{docsLeft:_0x55b1b1,docsTop:_0x3de569}=_0x1f4201,_0x496807=new _0x5575e3(_0x1f4201,_0x53dbeb);for(const {startOffset:_0x41775d,endOffset:_0x210f59,rangeType:_0x4946a8,segmentId:_0x3b7025,segmentPage:_0x54c6a7,collapsed:_0x763f78,isActive:_0x349cfd}of _0x22b912){const _0x227b68=_0x53dbeb[_0x26a78e(0x23e)](_0x41775d,!0x0,_0x3b7025,_0x54c6a7);let _0x35cbf8=_0x53dbeb[_0x26a78e(0x23e)](_0x210f59,!0x0,_0x3b7025,_0x54c6a7);if(_0x35cbf8==null&&(_0x35cbf8=_0x53dbeb[_0x26a78e(0x23e)](_0x210f59-0x1,!0x1,_0x3b7025,_0x54c6a7)),_0x349cfd){const {contentBoxPointGroup:_0x182ca7}=_0x496807[_0x26a78e(0x2ec)](_0x35cbf8,_0x35cbf8);if(_0x182ca7['length']===0x0)continue;this['_drawAnchor'](_0x326cd8,_0x182ca7,_0x55b1b1,_0x3de569,_0xca101f),this[_0x26a78e(0x227)]=this['_handleHover']();}if(_0x227b68&&_0x35cbf8){if(_0x4946a8===_0x311010[_0x26a78e(0x1f5)]){const _0xf9408d=new _0x191b76(_0x1f4201,_0x53dbeb),{pointGroup:_0x51aa1c}=(_0x2bdb26=_0xf9408d[_0x26a78e(0x2ec)](_0x227b68,_0x35cbf8))!=null?_0x2bdb26:{};if(_0x51aa1c==null||_0x51aa1c[_0x26a78e(0x19d)]===0x0)continue;this['_drawRectRange'](_0x326cd8,_0x51aa1c,_0x55b1b1,_0x3de569);}else{if(!_0x763f78){const {borderBoxPointGroup:_0x1a6205}=_0x496807['getRangePointData'](_0x227b68,_0x35cbf8);if(_0x1a6205['length']===0x0)continue;this[_0x26a78e(0x20e)](_0x326cd8,_0x1a6205,_0x55b1b1,_0x3de569);}}}}}[_0x4b686c(0x1ef)](_0xb77e2a,_0x453997,_0x1fb10b,_0x162c73,_0xea10a3){const _0x1824a7=_0x4b686c,_0x457409=this[_0x1824a7(0x1c3)](_0x453997),{left:_0x4ee43a,top:_0x44cfec,height:_0x5a46c4}=_0x457409,_0xb6d03b=this[_0x1824a7(0x225)](),_0x2f11ee=Di/_0xb6d03b,_0x2824bf=new _0x116358(Ie+_0x1cb2e8[_0x1824a7(0x1cb)](X),{'left':_0x4ee43a+_0x1fb10b-_0x2f11ee,'top':_0x44cfec+_0x162c73,'height':_0x5a46c4,'width':Ri,'fill':_0xb77e2a||_0x578f2e(_0x251c7a[_0x1824a7(0x2db)],0x0),'strokeWidth':_0x2f11ee,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x2824bf,this[_0x1824a7(0x2f8)]['addObject'](_0x2824bf,_0x55129e);const _0x3cf696=new _0x116358(Ie+_0x1cb2e8[_0x1824a7(0x1cb)](X),{'left':_0x4ee43a+_0x1fb10b-_0x2f11ee,'top':_0x44cfec+_0x162c73-ge/0x2,'height':ge,'width':ge,'fill':_0xb77e2a||_0x578f2e(_0x251c7a[_0x1824a7(0x2db)],0x0),'strokeWidth':0x0,'stroke':_0xb77e2a||_0x578f2e(_0x251c7a[_0x1824a7(0x2db)],0x0),'evented':!0x1});this[_0x1824a7(0x116)]=_0x3cf696,this['_scene'][_0x1824a7(0x2e6)](_0x3cf696,_0x55129e);const _0x563531=new he(Ie+_0x1cb2e8[_0x1824a7(0x1cb)](X),{'left':_0x4ee43a+_0x1fb10b-_0x2f11ee,'top':_0x44cfec+_0x162c73-ee,'text':_0xea10a3,'color':_0xb77e2a});this[_0x1824a7(0x1a7)]=_0x563531,this[_0x1824a7(0x2f8)][_0x1824a7(0x2e6)](_0x563531,_0x55129e),this['_hover']=!0x1;}['_handleHover'](){const _0x599168=_0x4b686c,_0x4d8f7c=this[_0x599168(0x206)]['onPointerEnter$'][_0x599168(0x151)](()=>{this['_hover']=!0x0;}),_0x95393b=this[_0x599168(0x206)]['onPointerLeave$'][_0x599168(0x151)](()=>{const _0x2bf44a=_0x599168;this[_0x2bf44a(0x2b4)]&&clearTimeout(this[_0x2bf44a(0x2b4)]),this['_hideTimer']=setTimeout(()=>{const _0x3192f6=_0x2bf44a;this[_0x3192f6(0x162)]=!0x1;},0x7d0);});return()=>{const _0x10af52=_0x599168;_0x4d8f7c[_0x10af52(0x239)](),_0x95393b[_0x10af52(0x239)]();};}[_0x4b686c(0x20e)](_0x3f058a,_0x2a745,_0x1bfea2,_0x1ac252){const _0x482b69=_0x4b686c,_0x3a5a11=new _0x47e31c(_0x3f058a)[_0x482b69(0x146)](0.2)[_0x482b69(0x284)](),_0x16ccb9=new _0x4a274e(bi+_0x1cb2e8[_0x482b69(0x1cb)](X),{'pointsGroup':_0x2a745,'fill':_0x3a5a11||_0x578f2e(_0x251c7a['black'],0.2),'left':_0x1bfea2,'top':_0x1ac252,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x482b69(0x140)](_0x16ccb9),this['_scene']['addObject'](_0x16ccb9,_0x55129e);}['_drawRectRange'](_0x51ed94,_0x3bec14,_0x3eccd5,_0x3c5aeb){const _0x3afaa7=_0x4b686c,_0x3a213d=new _0x47e31c(_0x51ed94)[_0x3afaa7(0x146)](0.2)[_0x3afaa7(0x284)](),_0x1517cc=new _0x4a274e(Ti+_0x1cb2e8[_0x3afaa7(0x1cb)](X),{'pointsGroup':_0x3bec14,'fill':_0x3a213d||_0x578f2e(_0x251c7a['black'],0.2),'left':_0x3eccd5,'top':_0x3c5aeb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3afaa7(0x140)](_0x1517cc),this['_scene'][_0x3afaa7(0x2e6)](_0x1517cc,_0x55129e);}[_0x4b686c(0x1c3)](_0x2af517){const _0x59811c=_0x2af517[0x0],_0x180011=_0x59811c[0x0],_0x598aea=_0x59811c[0x2],{x:_0x2c4b01,y:_0x4969d7}=_0x180011,{x:_0x2b67bf,y:_0x268ea8}=_0x598aea;return{'left':_0x2c4b01,'top':_0x4969d7,'width':_0x2b67bf-_0x2c4b01,'height':_0x268ea8-_0x4969d7};}['_getScale'](){const _0x38528a=_0x4b686c,{scaleX:_0x2fc7d0,scaleY:_0x2e5e1f}=this['_scene']['getAncestorScale']();return Math[_0x38528a(0x257)](_0x2fc7d0,_0x2e5e1f);}}var Ui=Object[_0x4b686c(0x1bf)],Mi=(_0x2e0e0c,_0xd6bc28,_0x2bf717,_0x56030b)=>{const _0xcb73c7=_0x4b686c;for(var _0x489ad8=_0x56030b>0x1?void 0x0:_0x56030b?Ui(_0xd6bc28,_0x2bf717):_0xd6bc28,_0x2f2bee=_0x2e0e0c[_0xcb73c7(0x19d)]-0x1,_0x591286;_0x2f2bee>=0x0;_0x2f2bee--)(_0x591286=_0x2e0e0c[_0x2f2bee])&&(_0x489ad8=_0x591286(_0x489ad8)||_0x489ad8);return _0x489ad8;},Z=(_0x54da9c,_0x30b119)=>(_0x398a8b,_0xb55510)=>_0x30b119(_0x398a8b,_0xb55510,_0x54da9c);let Le=class extends _0x5ab323{constructor(_0x4ceebb,_0x9f5bfd,_0xe56986,_0x418fa8,_0x42eb19){const _0x2b9bc7=_0x4b686c;super(),_(this,_0x2b9bc7(0x134),[]),_(this,_0x2b9bc7(0x2a5),[]),(this[_0x2b9bc7(0x143)]=_0x4ceebb,this[_0x2b9bc7(0x1b6)]=_0x9f5bfd,this[_0x2b9bc7(0x2bf)]=_0xe56986,this[_0x2b9bc7(0x11f)]=_0x418fa8,this[_0x2b9bc7(0x198)]=_0x42eb19,this[_0x2b9bc7(0x2fe)]());}[_0x4b686c(0x2fe)](){const _0x49e31c=_0x4b686c,_0x2e149a=this[_0x49e31c(0x143)][_0x49e31c(0x274)],_0x481a65=this[_0x49e31c(0x1b6)];this[_0x49e31c(0x191)](_0x9a10df([this[_0x49e31c(0x2bf)][_0x49e31c(0x1cf)](_0x2e149a),this[_0x49e31c(0x198)]['currentTheme$']])[_0x49e31c(0x1cd)](_0x5a69b7(([_0x756168,_0x3b560f])=>({'skeleton':_0x481a65[_0x49e31c(0x27e)](),'cursors':[..._0x756168[_0x49e31c(0x204)]()]['flatMap'](_0xac22e8=>({..._0xac22e8,'color':this['_themeService']['getColorFromTheme'](_0xac22e8[_0x49e31c(0x22c)])}))})))[_0x49e31c(0x202)](_0x325398=>{const _0xcfeb41=_0x49e31c;if(this[_0xcfeb41(0x184)](),_0x325398){const {skeleton:_0x53272f,cursors:_0x1eac3e}=_0x325398;this[_0xcfeb41(0x248)](_0x53272f,_0x1eac3e);}})),this['_initResize'](),this[_0x49e31c(0x2d6)]();}['_updateCollabCursors'](_0x24b212,_0x56a096){const {scene:_0x355b60,mainComponent:_0x21d91d}=this['_context'],_0x3e7a36=_0x56a096['map'](_0x3f89fd=>new qe(_0x3f89fd,_0x355b60,_0x24b212,_0x21d91d));this['_cursorShapes']=_0x3e7a36,this['_cursors']=_0x56a096;}[_0x4b686c(0x175)](){const _0x2d4e27=_0x4b686c;this['_removeCollabCursors']();const {scene:_0x1a9a20,mainComponent:_0x1b9837}=this[_0x2d4e27(0x143)],_0x44f9e9=this[_0x2d4e27(0x1b6)][_0x2d4e27(0x27e)](),_0x550100=this['_cursors'][_0x2d4e27(0x1f0)](_0x48c06e=>new qe(_0x48c06e,_0x1a9a20,_0x44f9e9,_0x1b9837));this[_0x2d4e27(0x134)]=_0x550100;}[_0x4b686c(0x184)](){const _0xd08133=_0x4b686c;this[_0xd08133(0x134)][_0xd08133(0x21a)](_0x41dec3=>_0x41dec3[_0xd08133(0x28e)]()),this[_0xd08133(0x134)]=[];}[_0x4b686c(0x2d6)](){const _0x3143ee=_0x4b686c,_0x31a011=[_0x28c469['id']];this[_0x3143ee(0x191)](this[_0x3143ee(0x11f)][_0x3143ee(0x15a)](_0x573070=>{const _0x1273e9=_0x3143ee;_0x31a011[_0x1273e9(0x1d4)](_0x573070['id'])&&_0x573070[_0x1273e9(0x19a)][_0x1273e9(0x274)]===this[_0x1273e9(0x143)][_0x1273e9(0x274)]&&this['_refreshCollabCursors']();}));}[_0x4b686c(0x12b)](){const _0xbee1fd=_0x4b686c;this[_0xbee1fd(0x191)](_0x515779(this[_0xbee1fd(0x143)]['engine'][_0xbee1fd(0xfe)])[_0xbee1fd(0x1cd)](_0x226d21(_0x520e88=>_0x520e88['type']===_0x5f2162[_0xbee1fd(0x123)]),_0x5b55a7(0x10))['subscribe'](()=>{const _0x14b0fd=_0xbee1fd;this[_0x14b0fd(0x175)]();}));}};Le=Mi([Z(0x1,_0x4ef46d(_0x55a916)),Z(0x2,_0x4ef46d(H)),Z(0x3,_0x37ab5e),Z(0x4,_0x4ef46d(_0xbeaf16))],Le);const Li=0x1,Pi=1.5;class wi extends _0x118379{constructor(_0x2adcbf,_0x3a2870){const _0x20749f=_0x4b686c;super(_0x2adcbf,_0x3a2870),_(this,_0x20749f(0x1d8)),_(this,'_hovered',!0x1),_(this,_0x20749f(0x23f)),_(this,_0x20749f(0x12a),''),_(this,_0x20749f(0x2ba),_0x20749f(0x291)),_(this,'_backgroundColor'),(_0x3a2870&&this[_0x20749f(0x1ad)](_0x3a2870),this[_0x20749f(0x223)]['subscribeEvent'](()=>this[_0x20749f(0x1ad)]({'hovered':!0x0})),this[_0x20749f(0x10b)][_0x20749f(0x151)](()=>this[_0x20749f(0x1ad)]({'hovered':!0x1})));}[_0x4b686c(0x1ad)](_0x3968f6){const _0x1dd8a4=_0x4b686c;var _0x542c47,_0x34a78c,_0x568328,_0x19dad1,_0x5068b6,_0x363459;this[_0x1dd8a4(0x1d8)]=(_0x542c47=_0x3968f6[_0x1dd8a4(0x22c)])!=null?_0x542c47:this[_0x1dd8a4(0x1d8)],this[_0x1dd8a4(0x26a)]=(_0x34a78c=_0x3968f6[_0x1dd8a4(0x209)])!=null?_0x34a78c:this[_0x1dd8a4(0x26a)],this[_0x1dd8a4(0x23f)]=(_0x568328=_0x3968f6[_0x1dd8a4(0x224)])!=null?_0x568328:this[_0x1dd8a4(0x23f)],this[_0x1dd8a4(0x12a)]=(_0x19dad1=_0x3968f6['name'])!=null?_0x19dad1:this[_0x1dd8a4(0x12a)],this[_0x1dd8a4(0x2ba)]=(_0x5068b6=_0x3968f6[_0x1dd8a4(0x1ff)])!=null?_0x5068b6:this[_0x1dd8a4(0x2ba)],this[_0x1dd8a4(0x18f)]=(_0x363459=_0x3968f6[_0x1dd8a4(0x10f)])!=null?_0x363459:this[_0x1dd8a4(0x18f)],this[_0x1dd8a4(0x120)]({'width':_0x3968f6[_0x1dd8a4(0x269)],'height':_0x3968f6['height']});}['onMouseMove'](_0x1376aa){const _0x58d8ab=_0x4b686c,{row:_0x48e4f0,column:_0x445445}=_0x1376aa;if(_0x48e4f0>=this[_0x58d8ab(0x23f)][_0x58d8ab(0x164)]&&_0x48e4f0<=this[_0x58d8ab(0x23f)][_0x58d8ab(0x1b0)]&&_0x445445>=this['_range'][_0x58d8ab(0x1e6)]&&_0x445445<=this[_0x58d8ab(0x23f)][_0x58d8ab(0x26b)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x58d8ab(0x1ad)]({'hovered':!0x1});}['triggerDblclick'](_0x28587a){return!0x1;}[_0x4b686c(0x2ab)](_0x36daaf){const _0xbd2dd8=_0x4b686c;_0x116358[_0xbd2dd8(0x2d7)](_0x36daaf,{'width':this[_0xbd2dd8(0x269)],'height':this[_0xbd2dd8(0x15d)],'strokeWidth':Pi,'stroke':this[_0xbd2dd8(0x1d8)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x36daaf[_0xbd2dd8(0x1c7)](),_0x36daaf[_0xbd2dd8(0x2af)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0xbd2dd8(0x2d7)](_0x36daaf,{'text':this['_name'],'color':this[_0xbd2dd8(0x1d8)]}),_0x36daaf[_0xbd2dd8(0x20a)]());}}var Ai=Object[_0x4b686c(0x1bf)],yi=(_0x2f70ed,_0x29eed2,_0x4c9183,_0x319b1b)=>{const _0x231936=_0x4b686c;for(var _0x2e6648=_0x319b1b>0x1?void 0x0:_0x319b1b?Ai(_0x29eed2,_0x4c9183):_0x29eed2,_0x39187a=_0x2f70ed[_0x231936(0x19d)]-0x1,_0x3e0de9;_0x39187a>=0x0;_0x39187a--)(_0x3e0de9=_0x2f70ed[_0x39187a])&&(_0x2e6648=_0x3e0de9(_0x2e6648)||_0x2e6648);return _0x2e6648;},ve=(_0x196243,_0x231606)=>(_0x1fa4da,_0xb0cf59)=>_0x231606(_0x1fa4da,_0xb0cf59,_0x196243);const $i=0x1389;let Pe=class extends _0x5ab323{constructor(_0x47033c,_0x550ac0,_0x2cb690,_0x4bfcc3){const _0x4ea058=_0x4b686c;super(),_(this,_0x4ea058(0x2a5),new Set()),_(this,_0x4ea058(0x260),null),(this[_0x4ea058(0x143)]=_0x47033c,this['_sheetSkeletonManagerService']=_0x550ac0,this[_0x4ea058(0x2bf)]=_0x2cb690,this[_0x4ea058(0x198)]=_0x4bfcc3,this[_0x4ea058(0x2fe)]());}[_0x4b686c(0x2fe)](){const _0x553c27=_0x4b686c;this[_0x553c27(0x2a2)][_0x553c27(0x25d)][_0x553c27(0x1cd)](_0x18b799(this[_0x553c27(0x16e)]),_0x1962d9(_0x2b8dfd=>{const _0x4e2609=_0x553c27;if(_0x2b8dfd){const _0x479c29=_0x2b8dfd[_0x4e2609(0x2f2)];return _0x9a10df(this[_0x4e2609(0x2bf)][_0x4e2609(0x1cf)](this[_0x4e2609(0x143)][_0x4e2609(0x274)]),this['_themeService'][_0x4e2609(0x124)])[_0x4e2609(0x1cd)](_0x5a69b7(([_0x5350ba,_0x17b54d])=>{const _0xcde191=new Map();return _0x5350ba['forEach']((_0x5d99fd,_0x546c59)=>{const _0x202c14=_0x8d27;if(_0x5d99fd[_0x202c14(0x26c)]===_0x479c29){const _0x28b131={..._0x5d99fd};_0x28b131['color']=this[_0x202c14(0x198)][_0x202c14(0x154)](_0x5d99fd['color']),_0xcde191['set'](_0x546c59,_0x28b131);}}),{'skeleton':_0x2b8dfd,'cursors':_0xcde191};}));}return _0x52abf6({'skeleton':null,'cursors':new Map()});}))[_0x553c27(0x202)](({skeleton:_0x1a631e,cursors:_0x5353d5})=>{const _0x480edd=_0x553c27;this[_0x480edd(0x184)](),_0x1a631e&&this['_updateCollabCursors'](_0x1a631e,_0x5353d5);}),this[_0x553c27(0x2a2)][_0x553c27(0x25d)]['subscribe'](_0x475e6a=>{const _0x472bc0=_0x553c27;if(_0x475e6a==null)return;const {skeleton:_0x1871e3}=_0x475e6a,{scene:_0x5bde16}=this[_0x472bc0(0x143)];_0x5bde16['onPointerMove$']['subscribeEvent'](_0x27f7d9(_0x329a86=>{const _0x2d0c81=_0x472bc0;var _0x341a8f,_0x59cb63;const {offsetX:_0x39d950,offsetY:_0x1a02ff}=_0x329a86,{x:_0x3a2040,y:_0x3643d0}=_0x5bde16[_0x2d0c81(0x255)](_0x45d2f2['FromArray']([_0x39d950,_0x1a02ff])),{scaleX:_0x1afc78,scaleY:_0x301692}=_0x5bde16[_0x2d0c81(0x241)](),_0x113c3b=_0x5bde16[_0x2d0c81(0xfd)](_0x1b567f[_0x2d0c81(0x1b3)]),_0x365c8f=_0x5bde16[_0x2d0c81(0x2c5)](_0x45d2f2[_0x2d0c81(0x2dd)]([_0x3a2040,_0x3643d0]),_0x113c3b),_0x118517=_0x1871e3[_0x2d0c81(0x1a2)](_0x39d950,_0x1a02ff,_0x1afc78,_0x301692,_0x365c8f);((_0x341a8f=this[_0x2d0c81(0x260)])==null?void 0x0:_0x341a8f[_0x2d0c81(0x22e)])===_0x118517[_0x2d0c81(0x22e)]&&((_0x59cb63=this[_0x2d0c81(0x260)])==null?void 0x0:_0x59cb63['row'])===_0x118517[_0x2d0c81(0x12c)]||this[_0x2d0c81(0x2a5)][_0x2d0c81(0x21a)](_0x2649ee=>{const _0x3983f6=_0x2d0c81;_0x2649ee[_0x3983f6(0x115)](_0x118517);});},0x64));});}['_updateCollabCursors'](_0x14ff8f,_0x1b6600){const _0x425140=_0x4b686c;var _0xadd719;const _0x164d9b=(_0xadd719=this[_0x425140(0x2a2)][_0x425140(0x2d2)]())==null?void 0x0:_0xadd719[_0x425140(0x2f9)];if(!_0x164d9b)return;const _0x42f5e2=this[_0x425140(0x2b5)]();if(!_0x42f5e2)return;this[_0x425140(0x2a5)][_0x425140(0x21a)](_0x1c34a0=>{const _0x1a12ad=_0x425140;_0x1c34a0[_0x1a12ad(0x188)]();});const {scene:_0xadf22a}=_0x42f5e2,_0xa616c0=xi(Array[_0x425140(0x2fb)](_0x1b6600[_0x425140(0x204)]()))[_0x425140(0x1f0)](_0x25a057=>{const _0x48f5af=_0x425140,{color:_0x38a22c,range:_0x492f6a,name:_0x152fca,selection:_0x9db01e,sheetID:_0x54f41f}=_0x25a057,{startColumn:_0x12bf1f,startRow:_0x57e935,endColumn:_0x173ecf,endRow:_0x34b712}=_0x492f6a,_0x4b19e6=_0x3e8b06(_0x57e935,_0x12bf1f,_0xadf22a,_0x164d9b),_0x564742=_0x3e8b06(_0x34b712,_0x173ecf,_0xadf22a,_0x164d9b),{columnHeaderHeightAndMarginTop:_0x2e6ba1}=_0x164d9b,{startX:_0x358d05,startY:_0x4c484c}=_0x4b19e6,{endX:_0x5100ff,endY:_0xcac026}=_0x564742,_0x18ab65=_0x5100ff-_0x358d05,_0x9101d0=_0xcac026-_0x4c484c,_0x3fc73d={'labelPosition':_0x4c484c-_0x2e6ba1>=ee?_0x48f5af(0x291):_0x48f5af(0x1e9),'sheetID':_0x54f41f,'range':_0x492f6a,'color':_0x38a22c,'name':_0x152fca,'selection':_0x9db01e,'left':_0x358d05,'top':_0x4c484c,'width':_0x18ab65,'height':_0x9101d0,'evented':!0x1,'zIndex':$i};return new wi(_0x152fca,_0x3fc73d);});_0xadf22a[_0x425140(0x177)](_0xa616c0,Li),this['_cursors']=new Set(_0xa616c0);}[_0x4b686c(0x184)](){const _0x47a63b=_0x4b686c;var _0x2088a0;(_0x2088a0=this[_0x47a63b(0x2a5)])==null||_0x2088a0[_0x47a63b(0x21a)](_0x484a42=>_0x484a42['dispose']());}[_0x4b686c(0x2b5)](){const _0x700387=_0x4b686c;return _0xeef35e(this[_0x700387(0x143)][_0x700387(0x119)],this['_context']);}};Pe=yi([ve(0x1,_0x4ef46d(_0x2fa3e6)),ve(0x2,_0x4ef46d(H)),ve(0x3,_0x4ef46d(_0xbeaf16))],Pe);function xi(_0x4f8ba9){const _0x39d14c=_0x4b686c,_0x5c8ab7=new Map();return _0x4f8ba9[_0x39d14c(0x21a)](_0x2a9054=>{const _0x431c51=_0x39d14c;if(_0x5c8ab7[_0x431c51(0x27d)](_0x2a9054['selection'])){const _0x1941a1=_0x5c8ab7[_0x431c51(0x29b)](_0x2a9054[_0x431c51(0x20d)]);_0x1941a1[_0x431c51(0x194)]+=',\x20'+_0x2a9054['name'];}else _0x5c8ab7[_0x431c51(0x2d0)](_0x2a9054[_0x431c51(0x20d)],_0x2a9054);}),Array['from'](_0x5c8ab7[_0x39d14c(0x204)]());}var v=function(){const _0x350a90=_0x4b686c;return v=Object[_0x350a90(0x127)]||function(_0x30fafc){const _0x6b27fe=_0x350a90;for(var _0x17442f,_0x3b22e5=0x1,_0x4342cf=arguments[_0x6b27fe(0x19d)];_0x3b22e5<_0x4342cf;_0x3b22e5++){_0x17442f=arguments[_0x3b22e5];for(var _0x145b52 in _0x17442f)Object[_0x6b27fe(0x1ca)][_0x6b27fe(0x2c3)][_0x6b27fe(0x14f)](_0x17442f,_0x145b52)&&(_0x30fafc[_0x145b52]=_0x17442f[_0x145b52]);}return _0x30fafc;},v[_0x350a90(0x11c)](this,arguments);},Bi=function(_0x4519b2,_0x29a149){const _0x107358=_0x4b686c;var _0x3a6a3a={};for(var _0x5ecf4d in _0x4519b2)Object[_0x107358(0x1ca)][_0x107358(0x2c3)][_0x107358(0x14f)](_0x4519b2,_0x5ecf4d)&&_0x29a149[_0x107358(0x2eb)](_0x5ecf4d)<0x0&&(_0x3a6a3a[_0x5ecf4d]=_0x4519b2[_0x5ecf4d]);if(_0x4519b2!=null&&typeof Object[_0x107358(0x228)]==_0x107358(0x20f)){for(var _0x3863ad=0x0,_0x5ecf4d=Object['getOwnPropertySymbols'](_0x4519b2);_0x3863ad<_0x5ecf4d[_0x107358(0x19d)];_0x3863ad++)_0x29a149[_0x107358(0x2eb)](_0x5ecf4d[_0x3863ad])<0x0&&Object['prototype'][_0x107358(0x21d)]['call'](_0x4519b2,_0x5ecf4d[_0x3863ad])&&(_0x3a6a3a[_0x5ecf4d[_0x3863ad]]=_0x4519b2[_0x5ecf4d[_0x3863ad]]);}return _0x3a6a3a;},Fe=_0x423ab1(function(_0x488f9a,_0x4f19ff){const _0x4608de=_0x4b686c;var _0x338a16=_0x488f9a[_0x4608de(0x1d1)],_0x14d185=_0x488f9a['id'],_0x35ef7a=_0x488f9a['className'],_0x2f57ba=_0x488f9a[_0x4608de(0x11d)],_0xa7d844=Bi(_0x488f9a,[_0x4608de(0x1d1),'id',_0x4608de(0x144),_0x4608de(0x11d)]),_0x249a87=_0x4608de(0x1c1)[_0x4608de(0x2c2)](_0x14d185,'\x20')[_0x4608de(0x2c2)](_0x35ef7a||'')[_0x4608de(0x17f)](),_0x72a057=_0x5e2bdc('_'[_0x4608de(0x2c2)](Fi()));return Rt(_0x338a16,''[_0x4608de(0x2c2)](_0x14d185),{'defIds':_0x338a16[_0x4608de(0x18b)],'idSuffix':_0x72a057[_0x4608de(0x176)]},v({'ref':_0x4f19ff,'className':_0x249a87},_0xa7d844),_0x2f57ba);});function Rt(_0x371d38,_0x496bce,_0x4cb7ee,_0x5c08a0,_0x31091d){const _0x47d75c=_0x4b686c;return _0x14f53a(_0x371d38[_0x47d75c(0x1d0)],v(v({'key':_0x496bce},ki(_0x371d38,_0x4cb7ee,_0x31091d)),_0x5c08a0),(Hi(_0x371d38,_0x4cb7ee)[_0x47d75c(0x2a4)]||[])[_0x47d75c(0x1f0)](function(_0x2bb951,_0xebdd10){const _0x52a909=_0x47d75c;return Rt(_0x2bb951,''[_0x52a909(0x2c2)](_0x496bce,'-')[_0x52a909(0x2c2)](_0x371d38['tag'],'-')[_0x52a909(0x2c2)](_0xebdd10),_0x4cb7ee,void 0x0,_0x31091d);}));}function ki(_0xcd0533,_0x4815c2,_0x153102){const _0x573a6f=_0x4b686c;var _0x1156c7=v({},_0xcd0533['attrs']);_0x153102!=null&&_0x153102[_0x573a6f(0x2c9)]&&_0x1156c7[_0x573a6f(0x2a8)]===_0x573a6f(0x2c9)&&(_0x1156c7['fill']=_0x153102['colorChannel1']),_0xcd0533['tag']===_0x573a6f(0x280)&&_0x1156c7['id']&&(_0x1156c7['id']=_0x1156c7['id']+_0x4815c2[_0x573a6f(0x2b3)]),Object['entries'](_0x1156c7)[_0x573a6f(0x21a)](function(_0x2e1210){const _0x5be804=_0x573a6f;var _0x3c9dda=_0x2e1210[0x0],_0x504136=_0x2e1210[0x1];_0x3c9dda==='mask'&&typeof _0x504136==_0x5be804(0x23d)&&(_0x1156c7[_0x3c9dda]=_0x504136['replace'](/url\(#(.*)\)/,_0x5be804(0x229)['concat'](_0x4815c2[_0x5be804(0x2b3)],')')));});var _0x268c9b=_0x4815c2[_0x573a6f(0x18b)];return!_0x268c9b||_0x268c9b[_0x573a6f(0x19d)]===0x0||(_0xcd0533[_0x573a6f(0x1d0)]===_0x573a6f(0x1ee)&&_0x1156c7[_0x573a6f(0x285)]&&(_0x1156c7[_0x573a6f(0x285)]=_0x1156c7['xlink:href']+_0x4815c2['idSuffix']),Object[_0x573a6f(0x12d)](_0x1156c7)[_0x573a6f(0x21a)](function(_0x4dc112){const _0x607f78=_0x573a6f;var _0x564159=_0x4dc112[0x0],_0x254e2a=_0x4dc112[0x1];typeof _0x254e2a=='string'&&(_0x1156c7[_0x564159]=_0x254e2a['replace'](/url\(#(.*)\)/,_0x607f78(0x229)['concat'](_0x4815c2['idSuffix'],')')));})),_0x1156c7;}function Hi(_0x132a0,_0x4607b0){const _0x54fe96=_0x4b686c;var _0x5bf4ab,_0x161d47=_0x4607b0[_0x54fe96(0x18b)];return!_0x161d47||_0x161d47['length']===0x0?_0x132a0:_0x132a0[_0x54fe96(0x1d0)]===_0x54fe96(0x128)&&(!((_0x5bf4ab=_0x132a0['children'])===null||_0x5bf4ab===void 0x0)&&_0x5bf4ab[_0x54fe96(0x19d)])?v(v({},_0x132a0),{'children':_0x132a0[_0x54fe96(0x2a4)][_0x54fe96(0x1f0)](function(_0x20b771){const _0x272a8f=_0x54fe96;return typeof _0x20b771[_0x272a8f(0x25f)]['id']==_0x272a8f(0x23d)&&_0x161d47&&_0x161d47[_0x272a8f(0x1d4)](_0x20b771[_0x272a8f(0x25f)]['id'])?v(v({},_0x20b771),{'attrs':v(v({},_0x20b771[_0x272a8f(0x25f)]),{'id':_0x20b771[_0x272a8f(0x25f)]['id']+_0x4607b0[_0x272a8f(0x2b3)]})}):_0x20b771;})}):_0x132a0;}function Fi(){const _0x2208bb=_0x4b686c;return Math['random']()[_0x2208bb(0x251)](0x24)['substring'](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':_0x4b686c(0x11a),'attrs':{'xmlns':_0x4b686c(0x1b1),'fill':_0x4b686c(0x27f),'viewBox':_0x4b686c(0x197),'width':'1em','height':_0x4b686c(0x1fc)},'children':[{'tag':'g','attrs':{'clipPath':_0x4b686c(0x1e5)},'children':[{'tag':_0x4b686c(0x106),'attrs':{'stroke':'currentColor','d':_0x4b686c(0x1bc),'strokeLinecap':_0x4b686c(0x2a9),'strokeLinejoin':_0x4b686c(0x2a9),'strokeWidth':1.2}}]},{'tag':_0x4b686c(0x128),'attrs':{},'children':[{'tag':_0x4b686c(0x1c8),'attrs':{'id':_0x4b686c(0x2dc)},'children':[{'tag':_0x4b686c(0x106),'attrs':{'fill':_0x4b686c(0x226),'d':_0x4b686c(0x13d)}}]}]}],'defIds':[_0x4b686c(0x2dc)]},Dt=_0x423ab1(function(_0x3cef61,_0x58dc63){return _0x14f53a(Fe,Object['assign']({},_0x3cef61,{'id':'off-line-icon','ref':_0x58dc63,'icon':Yi}));});Dt[_0x4b686c(0x174)]=_0x4b686c(0x250);var ji={'tag':_0x4b686c(0x11a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x4b686c(0x1fc),'height':_0x4b686c(0x1fc)},'children':[{'tag':'g','attrs':{'clipPath':_0x4b686c(0x2ef)},'children':[{'tag':_0x4b686c(0x106),'attrs':{'stroke':_0x4b686c(0x20c),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4b686c(0x2a9),'strokeLinejoin':_0x4b686c(0x2a9),'strokeWidth':1.2}}]},{'tag':_0x4b686c(0x128),'attrs':{},'children':[{'tag':_0x4b686c(0x1c8),'attrs':{'id':_0x4b686c(0x2f0)},'children':[{'tag':_0x4b686c(0x106),'attrs':{'fill':_0x4b686c(0x226),'d':_0x4b686c(0x13d),'transform':_0x4b686c(0x275)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x423ab1(function(_0x43e944,_0x302488){const _0x18cfcd=_0x4b686c;return _0x14f53a(Fe,Object[_0x18cfcd(0x127)]({},_0x43e944,{'id':_0x18cfcd(0x1fb),'ref':_0x302488,'icon':ji}));});Nt[_0x4b686c(0x174)]=_0x4b686c(0x1ba);function Vi(_0x12dfe0){const _0x589e6d=_0x4b686c;switch(_0x12dfe0){case _0x5200d6[_0x589e6d(0x187)]:return _0x589e6d(0x102);case _0x5200d6['CONFLICT']:return'collabStatus.conflict';case _0x5200d6['FETCH_MISS']:return _0x589e6d(0x286);case _0x5200d6[_0x589e6d(0x153)]:return _0x589e6d(0x281);case _0x5200d6[_0x589e6d(0x137)]:case _0x5200d6[_0x589e6d(0x233)]:return _0x589e6d(0x1b2);case _0x5200d6[_0x589e6d(0x29a)]:case _0x5200d6['PENDING']:return _0x589e6d(0x288);}}function Wi(_0x4b32a0){const _0x23b466=_0x4b686c,{status$:_0x5b79b5}=_0x4b32a0,_0x30c565=_0x2e38ed(_0x5b79b5,_0x5200d6[_0x23b466(0x153)]),_0x253a5e=_0x3a6e36(_0x2c5380),_0x11d2e0=_0x3a6e36(_0x496baa),_0x20d04f=_0x30c565!==_0x5200d6[_0x23b466(0x187)],_0x16c94e=_0x253a5e['t'](Vi(_0x30c565)),_0x423a1e=_0x20d04f?_0x2c0156(Nt,{}):_0x2c0156(Dt,{}),_0x31eaee=_0x142da6(()=>{const _0x4ab671=_0x23b466;_0x20d04f||_0x11d2e0[_0x4ab671(0x13b)]();},[_0x20d04f,_0x11d2e0]);function _0x34d251(){const _0x2dcad4=_0x23b466;return _0x16a5b5(_0x2dcad4(0x2a7),{'className':_0x2dcad4(0x295),'onClick':_0x31eaee,'children':[_0x2c0156(_0x2dcad4(0x2a7),{'className':_0x308370(_0x2dcad4(0x256),{'univer-text-green-500':_0x20d04f,'univer-text-red-500':!_0x20d04f}),'children':_0x423a1e}),_0x2c0156(_0x2dcad4(0x2a7),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x16c94e})]});}return _0x20d04f?_0x34d251():_0x2c0156(_0x3f8f56,{'title':_0x253a5e['t'](_0x23b466(0x249)),'children':_0x34d251()});}var Xi=Object[_0x4b686c(0x1bf)],Gi=(_0x52b849,_0x4b9d41,_0x215fdb,_0x69cef3)=>{const _0x499007=_0x4b686c;for(var _0x4b783f=_0x69cef3>0x1?void 0x0:_0x69cef3?Xi(_0x4b9d41,_0x215fdb):_0x4b9d41,_0x18405a=_0x52b849[_0x499007(0x19d)]-0x1,_0x312c33;_0x18405a>=0x0;_0x18405a--)(_0x312c33=_0x52b849[_0x18405a])&&(_0x4b783f=_0x312c33(_0x4b783f)||_0x4b783f);return _0x4b783f;},Q=(_0x577a45,_0x3d3698)=>(_0x109d80,_0x48fb9a)=>_0x3d3698(_0x109d80,_0x48fb9a,_0x577a45);let te=class extends _0x1742bc{constructor(_0x2b82fc,_0x40c379,_0x51a515,_0x31e797){const _0x41e695=_0x4b686c;super(),_(this,_0x41e695(0x135),new _0x1dc360(_0x5200d6['NOT_COLLAB'])),(this[_0x41e695(0x208)]=_0x2b82fc,this[_0x41e695(0x2a1)]=_0x40c379,this[_0x41e695(0x142)]=_0x51a515,this[_0x41e695(0x215)]=_0x31e797,this[_0x41e695(0x122)](),this[_0x41e695(0x2ae)]());}['_initStatusListener'](){const _0x40c165=_0x4b686c;this[_0x40c165(0x191)](this[_0x40c165(0x208)][_0x40c165(0x11e)][_0x40c165(0x1cd)](_0x463316(()=>{const _0x4d09f6=_0x40c165,_0x3a9771=this[_0x4d09f6(0x208)][_0x4d09f6(0x126)]();return _0x3a9771?this['_collaborationController']['getCollabEntity$'](_0x3a9771[_0x4d09f6(0x169)]()):_0x52abf6(null);}),_0x463316(_0x424c3c=>_0x424c3c?_0x424c3c['status$']:_0x52abf6(_0x5200d6[_0x40c165(0x153)])))[_0x40c165(0x202)](_0x4330f4=>{const _0x3a4f44=_0x40c165;this[_0x3a4f44(0x135)][_0x3a4f44(0x2b1)](_0x4330f4);}));}[_0x4b686c(0x122)](){const _0x5df4de=_0x4b686c;this['disposeWithMe'](this[_0x5df4de(0x215)][_0x5df4de(0x160)](_0x3e156f[_0x5df4de(0x1bb)],()=>_0xc59152(Ki({'status$':this[_0x5df4de(0x135)][_0x5df4de(0x2ed)]()}),this[_0x5df4de(0x2a1)])));}};te=Gi([Q(0x0,_0x17792d),Q(0x1,_0x4ef46d(_0x44ce02)),Q(0x2,_0x4ef46d(_0x5d0921)),Q(0x3,_0x3890b7)],te);function Ki(_0x3f4714){const {status$:_0x2cec44}=_0x3f4714;return function(){return _0x2c0156(Wi,{'status$':_0x2cec44});};}var zi=Object[_0x4b686c(0x1bf)],Ji=(_0x3f379d,_0x59303d,_0x22ee0a,_0x4eac23)=>{const _0x206f5e=_0x4b686c;for(var _0x6d612d=_0x4eac23>0x1?void 0x0:_0x4eac23?zi(_0x59303d,_0x22ee0a):_0x59303d,_0x4d6af4=_0x3f379d[_0x206f5e(0x19d)]-0x1,_0x49e936;_0x4d6af4>=0x0;_0x4d6af4--)(_0x49e936=_0x3f379d[_0x4d6af4])&&(_0x6d612d=_0x49e936(_0x6d612d)||_0x6d612d);return _0x6d612d;},B=(_0x3256e1,_0x467e9f)=>(_0x5f09f7,_0x1046db)=>_0x467e9f(_0x5f09f7,_0x1046db,_0x3256e1);let se=class extends _0x1742bc{constructor(_0x4d343b,_0x25f841,_0x310685,_0x591414,_0x48c76e,_0x5003bb){const _0x9ebdcd=_0x4b686c;super(),this[_0x9ebdcd(0x235)]=_0x4d343b,this['_localCacheService']=_0x25f841,this[_0x9ebdcd(0x109)]=_0x310685,this[_0x9ebdcd(0x16b)]=_0x591414,this['_notificationService']=_0x48c76e,this[_0x9ebdcd(0x2c4)]=_0x5003bb,this[_0x9ebdcd(0x270)](),this[_0x9ebdcd(0x1d7)]();}[_0x4b686c(0x270)](){const _0x4b34bd=_0x4b686c;this['disposeWithMe'](this[_0x4b34bd(0x235)][_0x4b34bd(0x1fa)](()=>{const _0x8dd186=_0x4b34bd;if(this[_0x8dd186(0x22b)][_0x8dd186(0x2ac)][_0x8dd186(0x2ad)])return this[_0x8dd186(0x2c4)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x2132e3=_0x4b686c;this[_0x2132e3(0x191)](this[_0x2132e3(0x109)][_0x2132e3(0x17c)][_0x2132e3(0x202)](_0x3dfc02=>{const _0x48d033=_0x2132e3;_0x3dfc02['id']===_0x92e30d[_0x48d033(0x16d)]&&this[_0x48d033(0x16b)]['show']({'type':_0x2b6bc1[_0x48d033(0x1e7)],'content':this[_0x48d033(0x2c4)]['t'](_0x48d033(0x2e9))}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x18a)]&&this['_messageService'][_0x48d033(0x254)]({'type':_0x2b6bc1['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x2cc)]&&this['_notificationService'][_0x48d033(0x254)]({'title':this[_0x48d033(0x2c4)]['t'](_0x48d033(0x1c0)),'content':this[_0x48d033(0x2c4)]['t']('permission.content'),'type':_0x48d033(0x2be),'duration':0x0}),_0x3dfc02['id']===_0x92e30d['CONFLICT']&&this[_0x48d033(0x16b)]['show']({'type':_0x2b6bc1[_0x48d033(0x2fd)],'content':this[_0x48d033(0x2c4)]['t']('collaboration.closeRoom')+'('+_0x3dfc02[_0x48d033(0x205)]+')'}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x201)]&&this[_0x48d033(0x16b)][_0x48d033(0x254)]({'type':_0x2b6bc1[_0x48d033(0x1e7)],'content':this[_0x48d033(0x2c4)]['t'](_0x3dfc02[_0x48d033(0x205)]||'')}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x2bd)]&&this[_0x48d033(0x16b)]['show']({'type':_0x2b6bc1['Warning'],'content':this[_0x48d033(0x2c4)]['t'](_0x48d033(0x28b))}),_0x3dfc02['id']===_0x92e30d['SOCKET_FAILED']&&this[_0x48d033(0x16b)]['show']({'type':_0x2b6bc1[_0x48d033(0x2fd)],'content':this[_0x48d033(0x2c4)]['t']('session.connection-failed')}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x156)]&&this[_0x48d033(0x16b)][_0x48d033(0x254)]({'type':_0x2b6bc1[_0x48d033(0x2fd)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2559ec),B(0x1,_0xc89ad5),B(0x2,_0x4ef46d(_0x4106b9)),B(0x3,_0x134bbc),B(0x4,_0x567795),B(0x5,_0x4ef46d(_0x2c5380))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x172f8d('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x5d5f65,_0x5b5182,_0x4c9b21,_0x2052a7)=>{const _0x6fbc6e=_0x4b686c;for(var _0xf711f5=_0x2052a7>0x1?void 0x0:_0x2052a7?Qi(_0x5b5182,_0x4c9b21):_0x5b5182,_0x178980=_0x5d5f65[_0x6fbc6e(0x19d)]-0x1,_0x4ee095;_0x178980>=0x0;_0x178980--)(_0x4ee095=_0x5d5f65[_0x178980])&&(_0xf711f5=_0x4ee095(_0xf711f5)||_0xf711f5);return _0xf711f5;},G=(_0x53435c,_0x626b9e)=>(_0x4e7742,_0x4b71ad)=>_0x626b9e(_0x4e7742,_0x4b71ad,_0x53435c);let ie=class extends _0x5ab323{constructor(_0x3d85c5,_0x38ecc3,_0xf614d9,_0x5896dd,_0x2e05af){const _0x19ae37=_0x4b686c;super(),this[_0x19ae37(0x2df)]=_0x3d85c5,this[_0x19ae37(0x1c6)]=_0x38ecc3,this[_0x19ae37(0x11f)]=_0xf614d9,this[_0x19ae37(0x15f)]=_0x5896dd,_0x2e05af?_0x2e05af==null||_0x2e05af[_0x19ae37(0x165)]()[_0x19ae37(0x1bd)](()=>this['_init']()):(this['_logService'][_0x19ae37(0x22f)]('[CollaborationDataLoaderController]',_0x19ae37(0x1ec)),this['_init']());}async[_0x4b686c(0x2fe)](){const _0x49a4d6=_0x4b686c,_0x3d9b05=this[_0x49a4d6(0x2df)][_0x49a4d6(0x22d)]('unit'),_0x35f49c=this[_0x49a4d6(0x2df)][_0x49a4d6(0x22d)]('type'),_0x35afbd=this['_urlService'][_0x49a4d6(0x22d)](_0x49a4d6(0x149));if(!_0x3d9b05||!_0x35f49c){this['_logService'][_0x49a4d6(0x22f)](_0x49a4d6(0x1a9),_0x49a4d6(0xf9));return;}const _0x2273ac=await this[_0x49a4d6(0x15f)][_0x49a4d6(0x12f)](_0x3d9b05,Number(_0x35f49c),_0x35afbd);_0x2273ac&&_0x2273ac instanceof _0x5aad73&&this['_setupSubUnitSync'](_0x2273ac);}async['_setupSubUnitSync'](_0x1f570c){const _0x589622=_0x4b686c;await this['_updateSubUnitFromURLParams'](_0x1f570c),_0x1f570c[_0x589622(0x24c)]['pipe'](_0x58f2c6(this[_0x589622(0x16e)]))[_0x589622(0x202)](_0x589750=>{const _0x38ee69=_0x589622;_0x589750&&this[_0x38ee69(0x29e)](_0x589750);}),this[_0x589622(0x2df)][_0x589622(0x2cf)][_0x589622(0x1cd)](_0x58f2c6(this[_0x589622(0x16e)]))[_0x589622(0x202)](()=>this[_0x589622(0x138)](_0x1f570c));}[_0x4b686c(0x29e)](_0x2a02d0,_0x5658ff=!0x1){const _0x488c33=_0x4b686c,_0x371101=this[_0x488c33(0x2df)][_0x488c33(0x22d)](_0x488c33(0x149));_0x2a02d0[_0x488c33(0x19f)]()!==_0x371101&&this[_0x488c33(0x2df)][_0x488c33(0x1d5)]('subunit',_0x2a02d0[_0x488c33(0x19f)](),_0x5658ff);}async[_0x4b686c(0x138)](_0x23bf5f){const _0x5760a=_0x4b686c;var _0x4e8f19;const _0x2754b5=this[_0x5760a(0x2df)][_0x5760a(0x22d)]('subunit');if(!_0x2754b5||!_0x23bf5f['getSheetBySheetId'](_0x2754b5)){const _0x3b3beb=_0x23bf5f['getUnhiddenWorksheets']()[0x0],_0x41182f=_0x23bf5f['getSheetBySheetId'](_0x3b3beb);if(!_0x41182f)return;this[_0x5760a(0x29e)](_0x41182f,!0x0),await this[_0x5760a(0x11f)][_0x5760a(0xff)](_0x31eba2['id'],{'unitId':_0x23bf5f[_0x5760a(0x169)](),'subUnitId':_0x3b3beb});return;}((_0x4e8f19=_0x23bf5f[_0x5760a(0x114)]())==null?void 0x0:_0x4e8f19[_0x5760a(0x19f)]())!==_0x2754b5&&await this[_0x5760a(0x11f)][_0x5760a(0xff)](_0x31eba2['id'],{'unitId':_0x23bf5f[_0x5760a(0x169)](),'subUnitId':_0x2754b5});}};ie=qi([G(0x0,Ut),G(0x1,_0x6dddd7),G(0x2,_0x37ab5e),G(0x3,_0x4ef46d(_0x1e9afe)),G(0x4,_0x26cf6f(_0x1c9ee7))],ie);var en=Object[_0x4b686c(0x1bf)],tn=(_0x2a4b2d,_0x416e7c,_0x3d79a6,_0x11f85e)=>{const _0x3a1a95=_0x4b686c;for(var _0x285bf7=_0x11f85e>0x1?void 0x0:_0x11f85e?en(_0x416e7c,_0x3d79a6):_0x416e7c,_0x34ee34=_0x2a4b2d[_0x3a1a95(0x19d)]-0x1,_0x5d7919;_0x34ee34>=0x0;_0x34ee34--)(_0x5d7919=_0x2a4b2d[_0x34ee34])&&(_0x285bf7=_0x5d7919(_0x285bf7)||_0x285bf7);return _0x285bf7;},pe=(_0x37dd51,_0x1a0983)=>(_0x47ab02,_0x2b1dd3)=>_0x1a0983(_0x47ab02,_0x2b1dd3,_0x37dd51);function _0x8d27(_0x9ac837,_0x3af8c9){const _0x40c768=_0x40c7();return _0x8d27=function(_0x8d2759,_0x5df345){_0x8d2759=_0x8d2759-0xf9;let _0x12eec7=_0x40c768[_0x8d2759];return _0x12eec7;},_0x8d27(_0x9ac837,_0x3af8c9);}let ne=class{constructor(_0x2f53f5,_0x31a106,_0x150118){const _0x2a6e09=_0x4b686c;this[_0x2a6e09(0x2a1)]=_0x2f53f5,this[_0x2a6e09(0x130)]=_0x31a106,this['_renderManagerService']=_0x150118;}[_0x4b686c(0x15c)](_0x489547){const _0x484c36=_0x4b686c;this[_0x484c36(0x1e1)](_0x489547),this[_0x484c36(0x21f)](_0x489547);}['transformRemoteChangeset'](_0x412409){const _0x526e24=_0x4b686c,{unitID:_0x2b9900}=_0x412409,_0x1306e6=this[_0x526e24(0x2bb)]['getRenderById'](_0x2b9900)[_0x526e24(0x279)](_0x4ed62a),{redoCache:_0x5ab092}=_0x1306e6[_0x526e24(0x16a)]();if(_0x5ab092['length']===0x0)return _0x412409;let _0x2cc034=_0x1cb2e8[_0x526e24(0x1a1)](_0x412409['mutations'][0x0]);for(let _0x3e9a20=0x0;_0x3e9a20<_0x5ab092[_0x526e24(0x19d)];_0x3e9a20++){const _0xb742ac={'id':_0x526e24(0x2b7),'params':{..._0x5ab092[_0x3e9a20]}},_0x3cbd37=this[_0x526e24(0x130)][_0x526e24(0x24b)](_0x2cc034,_0xb742ac,!0x1);if(_0x180e5b(_0x3cbd37))throw _0x3cbd37[_0x526e24(0x2be)];_0x2cc034=_0x3cbd37[_0x526e24(0x2ce)];}return{..._0x1cb2e8[_0x526e24(0x1a1)](_0x412409),'mutations':[_0x2cc034]};}[_0x4b686c(0x1e1)](_0x249464){const _0x5dee1a=_0x4b686c,{unitID:_0x42c673}=_0x249464,_0x9628d4=this[_0x5dee1a(0x2bb)][_0x5dee1a(0x299)](_0x42c673)['with'](_0x4ed62a),{undoCache:_0x585100,redoCache:_0x2a1ffd}=_0x9628d4[_0x5dee1a(0x16a)]();if(_0x585100[_0x5dee1a(0x19d)]===0x0||_0x2a1ffd[_0x5dee1a(0x19d)]===0x0)return;const _0x4f5705=[],_0x574011=[];let _0x500959=_0x1cb2e8[_0x5dee1a(0x1a1)](_0x249464[_0x5dee1a(0x221)][0x0]),_0x1e196a=_0x1cb2e8[_0x5dee1a(0x1a1)](_0x249464[_0x5dee1a(0x221)][0x0]);for(let _0x3558c1=_0x585100[_0x5dee1a(0x19d)]-0x1;_0x3558c1>=0x0;_0x3558c1--){const _0x73c815={'id':'doc.mutation.rich-text-editing','params':{..._0x585100[_0x3558c1]}},_0x530ef5={'id':'doc.mutation.rich-text-editing','params':{..._0x2a1ffd[_0x3558c1]}},_0x415ea4=this[_0x5dee1a(0x130)][_0x5dee1a(0x24b)](_0x500959,_0x73c815,!0x1),_0x54fc11=this['_transformService'][_0x5dee1a(0x24b)](_0x1e196a,_0x530ef5,!0x1);if(_0x180e5b(_0x415ea4))throw _0x415ea4[_0x5dee1a(0x2be)];if(_0x180e5b(_0x54fc11))throw _0x54fc11['error'];_0x4f5705['unshift'](_0x415ea4[_0x5dee1a(0x178)]['params']),_0x574011['unshift'](_0x54fc11[_0x5dee1a(0x178)]['params']),_0x500959=_0x415ea4[_0x5dee1a(0x2ce)],_0x1e196a=_0x54fc11['m1Prime'];}_0x9628d4[_0x5dee1a(0x222)]({'undoCache':_0x4f5705,'redoCache':_0x574011});}[_0x4b686c(0x21f)](_0x5f13c0){const _0x12bc3c=_0x4b686c,{unitID:_0x41ca55}=_0x5f13c0,_0x2208b5=this[_0x12bc3c(0x2bb)][_0x12bc3c(0x299)](_0x41ca55)[_0x12bc3c(0x279)](_0x4ed62a),_0x5c5792=_0x2208b5[_0x12bc3c(0x132)]();if(_0x5c5792==null)return;const _0x45a370=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5f13c0[_0x12bc3c(0x2cd)],'actions':null,'textRanges':[_0x5c5792]}}],_0x1305c3=this[_0x12bc3c(0x130)][_0x12bc3c(0x2a6)](_0x5f13c0,_0x45a370);if(!_0x5d6d20(_0x1305c3))throw _0x1305c3['error'];const _0x2575fd=_0x1305c3['m2Prime'][0x0][_0x12bc3c(0x19a)][_0x12bc3c(0x203)];Array[_0x12bc3c(0x232)](_0x2575fd)&&_0x2575fd[_0x12bc3c(0x19d)]&&_0x2208b5[_0x12bc3c(0x278)](_0x2575fd[0x0]);}};ne=tn([pe(0x0,_0x4ef46d(_0x44ce02)),pe(0x1,_0x593ca9),pe(0x2,_0x3442d8)],ne);var sn=Object[_0x4b686c(0x1bf)],nn=(_0x514cbc,_0x555aa1,_0x596330,_0x2b00b7)=>{const _0x27b4ad=_0x4b686c;for(var _0x2f6499=_0x2b00b7>0x1?void 0x0:_0x2b00b7?sn(_0x555aa1,_0x596330):_0x555aa1,_0x29ca29=_0x514cbc[_0x27b4ad(0x19d)]-0x1,_0x53b8a4;_0x29ca29>=0x0;_0x29ca29--)(_0x53b8a4=_0x514cbc[_0x29ca29])&&(_0x2f6499=_0x53b8a4(_0x2f6499)||_0x2f6499);return _0x2f6499;},Ce=(_0x2bbdd9,_0x989feb)=>(_0x4c33c9,_0x12d327)=>_0x989feb(_0x4c33c9,_0x12d327,_0x2bbdd9);let re=class{constructor(_0x4ee7c8,_0x15e097,_0x1ca20d){const _0xc24d7f=_0x4b686c;this[_0xc24d7f(0x2a1)]=_0x4ee7c8,this[_0xc24d7f(0x130)]=_0x15e097,this['_docStateChangeManagerService']=_0x1ca20d;}[_0x4b686c(0x258)](_0x140594){const _0x294c29=_0x4b686c;this[_0x294c29(0x29d)](_0x140594);}[_0x4b686c(0x148)](_0x702529){const _0x318825=_0x4b686c,{unitID:_0x5c787d}=_0x702529,{collaboration:_0x4cb93d}=this[_0x318825(0x25b)]['getStateCache'](_0x5c787d);if(_0x4cb93d[_0x318825(0x19d)]===0x0)return _0x702529;let _0x499b07=_0x1cb2e8[_0x318825(0x1a1)](_0x702529[_0x318825(0x221)][0x0]);for(let _0x607c5=0x0;_0x607c5<_0x4cb93d[_0x318825(0x19d)];_0x607c5++){const _0x48c43c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cb93d[_0x607c5][_0x318825(0x274)],..._0x4cb93d[_0x607c5][_0x318825(0x139)]}},_0x874ec2=this['_transformService']['transformMutation'](_0x499b07,_0x48c43c,!0x1);if(_0x180e5b(_0x874ec2))throw _0x874ec2[_0x318825(0x2be)];_0x499b07=_0x874ec2[_0x318825(0x2ce)];}return{..._0x1cb2e8[_0x318825(0x1a1)](_0x702529),'mutations':[_0x499b07]};}[_0x4b686c(0x29d)](_0x4fac47){const _0x51f87a=_0x4b686c,{unitID:_0x162c3b}=_0x4fac47,{history:_0x1633a0,collaboration:_0x55025c}=this[_0x51f87a(0x25b)][_0x51f87a(0x121)](_0x162c3b);if(_0x1633a0[_0x51f87a(0x19d)]===0x0&&_0x55025c[_0x51f87a(0x19d)]===0x0)return;const _0x3161c9=[],_0x228c21=[];let _0x4952ab=_0x1cb2e8[_0x51f87a(0x1a1)](_0x4fac47[_0x51f87a(0x221)][0x0]),_0x13ee1d=_0x1cb2e8[_0x51f87a(0x1a1)](_0x4fac47[_0x51f87a(0x221)][0x0]);for(let _0x1329ed=_0x1633a0['length']-0x1;_0x1329ed>=0x0;_0x1329ed--){const _0x27d9ba={'id':_0x51f87a(0x2b7),'params':{'unitId':_0x1633a0[_0x1329ed]['unitId'],..._0x1633a0[_0x1329ed][_0x51f87a(0x294)]}},_0x436519={'id':_0x51f87a(0x2b7),'params':{'unitId':_0x1633a0[_0x1329ed][_0x51f87a(0x274)],..._0x1633a0[_0x1329ed][_0x51f87a(0x139)]}},_0x56029f=this[_0x51f87a(0x130)][_0x51f87a(0x24b)](_0x4952ab,_0x27d9ba,!0x1),_0x22add6=this[_0x51f87a(0x130)][_0x51f87a(0x24b)](_0x13ee1d,_0x436519,!0x1);if(_0x180e5b(_0x56029f))throw _0x56029f[_0x51f87a(0x2be)];if(_0x180e5b(_0x22add6))throw _0x22add6[_0x51f87a(0x2be)];_0x3161c9[_0x51f87a(0x271)]({..._0x1633a0[_0x1329ed],'undoState':_0x56029f['m2Prime'][_0x51f87a(0x19a)],'redoState':_0x22add6[_0x51f87a(0x178)]['params']}),_0x4952ab=_0x56029f[_0x51f87a(0x2ce)],_0x13ee1d=_0x22add6[_0x51f87a(0x2ce)];}_0x4952ab=_0x1cb2e8['deepClone'](_0x4fac47['mutations'][0x0]),_0x13ee1d=_0x1cb2e8[_0x51f87a(0x1a1)](_0x4fac47[_0x51f87a(0x221)][0x0]);for(let _0x3e430b=_0x55025c['length']-0x1;_0x3e430b>=0x0;_0x3e430b--){const _0x2745f4={'id':_0x51f87a(0x2b7),'params':{'unitId':_0x55025c[_0x3e430b][_0x51f87a(0x274)],..._0x55025c[_0x3e430b][_0x51f87a(0x294)]}},_0xf14fa9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55025c[_0x3e430b]['unitId'],..._0x55025c[_0x3e430b][_0x51f87a(0x139)]}},_0x535154=this[_0x51f87a(0x130)][_0x51f87a(0x24b)](_0x4952ab,_0x2745f4,!0x1),_0x262de7=this[_0x51f87a(0x130)][_0x51f87a(0x24b)](_0x13ee1d,_0xf14fa9,!0x1);if(_0x180e5b(_0x535154))throw _0x535154[_0x51f87a(0x2be)];if(_0x180e5b(_0x262de7))throw _0x262de7[_0x51f87a(0x2be)];_0x228c21['unshift']({..._0x55025c[_0x3e430b],'undoState':_0x535154[_0x51f87a(0x178)][_0x51f87a(0x19a)],'redoState':_0x262de7[_0x51f87a(0x178)][_0x51f87a(0x19a)]}),_0x4952ab=_0x535154[_0x51f87a(0x2ce)],_0x13ee1d=_0x262de7[_0x51f87a(0x2ce)];}this[_0x51f87a(0x25b)][_0x51f87a(0x2de)](_0x162c3b,{'history':_0x3161c9,'collaboration':_0x228c21});}};re=nn([Ce(0x0,_0x4ef46d(_0x44ce02)),Ce(0x1,_0x593ca9),Ce(0x2,_0x4ef46d(_0x125cf3))],re);var rn=Object[_0x4b686c(0x1bf)],on=(_0x122afa,_0x281081,_0x3d483a,_0x35e305)=>{for(var _0x3fa96c=_0x35e305>0x1?void 0x0:_0x35e305?rn(_0x281081,_0x3d483a):_0x281081,_0x5e72e5=_0x122afa['length']-0x1,_0x335e81;_0x5e72e5>=0x0;_0x5e72e5--)(_0x335e81=_0x122afa[_0x5e72e5])&&(_0x3fa96c=_0x335e81(_0x3fa96c)||_0x3fa96c);return _0x3fa96c;},tt=(_0x33ec83,_0x111cf1)=>(_0x668992,_0x397f9d)=>_0x111cf1(_0x668992,_0x397f9d,_0x33ec83);function _0x40c7(){const _0x2987e4=['height','createInstance','_dataLoaderService','registerComponent','_unitStatus','_hover','wsSessionTicketUrl','startRow','whenReady','7zkwWbU','_cachedData','runId','getUnitId','getUndoRedoMutationParamsCache','_messageService','_saveTaskMap','OTHER_CLIENT_EDITING','dispose$','TEXT','min','sessionStatus$','YUUMI_RATE_OVER_LIMIT','_ensureSubject','displayName','_refreshCollabCursors','current','addObjects','m2Prime','key','executionId','_memberService','event$','_refRangeService','LICENSE_DISTRO_REJECTED','trim','_initDependencies','ONLINE','yellow.400','6KXULyB','_removeCollabCursors','application/json','UNIVER_SHEET','OFFLINE','makeDirty','MOBILE_VERIFY_CODE_MISMATCH','CLOSE_ROOM','defIds','_doCreateSocket','entityInit$','YUUMI_NO_CUBOID_FOR_QUESTION','_backgroundColor','COMPLETION_FINISHED','disposeWithMe','_collabSessionService','collab-text-anchor-','name','_scheduleClearOtherTimer','#FFF','0\x200\x2016\x2016','_themeService','_docTransformIMECacheService','params','history','_send','length','DeleteRangeMoveUpCommandId','getSheetId','_colorIndex','deepClone','getCellPositionByOffset','purple.300','INVITE_CODE_HAS_BEEN_UES','arc','isActive','_textBubble','...','[CollaborationDataLoaderController]','editingUnit','assignAColorForMemberID','Failed','setShapeProps','INVALID_INVITE_CODE','beginPath','endRow','http://www.w3.org/2000/svg','collabStatus.syncing','VIEW_MAIN','cursorInfo$','11DhFzVE','_docSkeletonManagerService','_getSessionTicket','_docTransformSelectionsService','getTypeOfUnitDisposed$','OnLineIcon','HEADER_MENU','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','then','_onCursorDelete','getOwnPropertyDescriptor','permission.title','univerjs-icon\x20univerjs-icon-','registerRenderModule','_getAnchorBounding','setTimeout','memberID','_logService','save','clipPath','getConfig','prototype','generateRandomId','SNAPSHOT_HAS_BEEN_REMOVED','pipe','InsertRangeMoveRightCommandId','getCollabCursors$','tag','icon','text','ranges','includes','setParam','init','_initEvent','_color','_docTransformStateCacheService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_REQUIRED','stringify','_disabled','runOnServer','searchParams','_transformUndoRedoStack','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_shapes','WECHAT_HAS_BEEN_BOUND','url(#off-line-icon_clip0_910_343)','startColumn','Warning','origin','bottom','YUUMI_AI_RUN_FAILED','override','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MoveRangeCommandId','use','_drawAnchor','map','9970940DabDiR','ENSURE_SNAPSHOT_EXECUTION','_onCursorUpdate','_scheduleSaving','RECT','startsWith','InsertRangeMoveDownCommandId','cursorInfo','getOffsetConfig','registerBeforeClose','on-line-icon','1em','_docSyncEditingCollabCursorService','getUniverSheetInstance','labelPosition','InsertColCommandId','JOIN_ROOM_FAILED','subscribe','textRanges','values','data','_anchor','UNAUTHENTICATED','_univerInstanceService','hovered','restore','1186945GzmOiw','currentColor','selection','_drawTextRange','function','send','_scheduleHeartbeat','_instanceService','YUUMI_ALL_TABLES_IS_INVALID','moveTo','_uiPartsService','add','contains','getTypeOfUnitAdded$','_toggleOnline','forEach','unload','YUUMI_UNABLE_LOAD_URL','propertyIsEnumerable','collab-text-range-','_transformPreviousActiveRange','source','mutations','setUndoRedoMutationParamsCache','onPointerEnter$','range','_getScale','white','_eventUnsubscribe','getOwnPropertySymbols','url(#$1','LOGIN_FAILED','_localCacheService','color','getParam','column','debug','_colorAssignService','119244JuwhTk','isArray','AWAITING_WITH_PENDING','symbol','_beforeCloseService','_syncEditingCollabCursorService','newValue','_startSheetCollabCursor','unsubscribe','fillText','_imageIoService','1522AoLNsV','string','findNodePositionByCharIndex','_range','createSocket','getAncestorScale','_removeClearOtherTimer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_id','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OTHER_CLIENTS_EDITING','APPLY_DUPLICATED','_updateCollabCursors','collab-client.tooltip.reconnect','getCurrentSelections','transformMutation','activeSheet$','setItem','_handleEvent','getMergeData','OffLineIcon','toString','_getSaveTimeout','transformSelections','show','getRelativeToViewportCoord','univer-mr-2\x20univer-flex\x20univer-text-xl','max','transformStateCache','getMember','5666728CWQFnh','_docStateChangeManagerService','NO_OTHER_CLIENTS_EDITING','currentSkeleton$','_handleHeartbeatEvent','attrs','_lastPointer','_entities','MUTATION','_getMergeRange','pushState','INVALID_ARGUMENT','defineProperty','InsertRowCommandId','_cursorInfo$','width','_hovered','endColumn','sheetID','UPDATE_CURSOR','CHANGESET_REVISION_CONFILICT','registerRefRange','_setupBeforeClosingHandler','unshift','saveImage','_session','unitId','translate(.97)','getDocRanges','2665tDrFNU','setActiveRange','with','_initEntityListener','_clearOtherTimers','APPLY_NON_SEQUENTIAL_REVISION','has','getSkeleton','none','mask','collabStatus.notCollab','roomMembers$','subUnitId','toRgbString','xlink:href','collabStatus.fetchMiss','fillRule','collabStatus.synced','addEventListener','rgba(255,\x20255,\x20255,\x200.01)','session.will-retry','getItem','_selfUnitIDs','dispose','TOO_MANY_REQUESTS','_configService','top','green.600','SNAPSHOT_INVALID_SNAPSHOT','undoState','univer-flex\x20univer-items-center','requireSession','_revisionService','disableLocalCache','getRenderById','SYNCED','get','APPLY_REVISION_CONFILICT','_transformHistoryAndStateStack','_updateURLWithCurrentState','1448ncCqhd','_handleLeaveEvent','_injector','_sheetSkeletonManagerService','result','children','_cursors','transformMutationsWithChangeset','div','fill','round','_docSkeleton','_draw','saveTaskMap','size','_initStatusListener','transform','USER_NOT_INVITED_CODE','next','addClipboardHook','idSuffix','_hideTimer','_getSheetObject','_config','doc.mutation.rich-text-editing','_heartbeatTimer','_registerRenderDependencies','_labelPosition','_renderManagerService','post','SOCKET_FAILED_RETRY','error','_collabCursorController','_saveCache','NOT_FOUND','concat','hasOwnProperty','_localeService','getVpScrollXYInfoByPosToVp','_roomMembers$','blue.400','RemoveColCommandId','colorChannel1','replaceDocRanges','_unitOnClients','PERMISSION_DENIED','unitID','m1Prime','urlChange$','set','search','getCurrent','split','_startDocCollabCursor','UNIVER_DOC','_initCommandExecutedListener','drawWith','collab-rect-range-','setConfig','_assignedColors','black','off-line-icon_clip0_910_343','FromArray','setStateCache','_urlService','roomMembers','Unknown\x20user','_online','INVITE_CODE_ALREADY_BOUND','href','jiqing.500','addObject','UNRECOGNIZED','type','collaboration.single-unit.warning','_render','indexOf','getRangePointData','asObservable','APPLY_REJECT','url(#on-line-icon_clip0_910_349)','on-line-icon_clip0_910_349','some','sheetId','body','RemoveRowCommandId','selections','_toggleOffline','CONNECTOR_DATA_TOO_LARGE','_scene','skeleton','INTERNAL_ERROR','from','updateOfflineData','Error','_init','getValue','saveOfflineData','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','9tiwufq','complete','getCurrentUnitForType','getViewport','onTransformChange$','executeCommand','_updateLocalCursor','exhaustSavingTask','collabStatus.offline','_localStorageService','eventID','DeleteRangeMoveLeftCommandId','path','_handleJoinEvent','evenodd','_collaborationUIEventService','hide','onPointerLeave$','YUUMI_ASYNCIO_CANCELLED','measureText','YUUMI_SUBSCRIPTION_NOT_FOUND','backgroundColor','163614lRHILI','pluginName','delete','onRendered','getActiveSheet','onMouseMove','_anchorDot','getUnitStatus$','167560qxqIKX','unit','svg','replaceState','apply','extend','focused$','_commandService','transformByState','getStateCache','_initStatusComponent','resize','currentTheme$','_collabCursorState$','getFocusedUnit','assign','defs','_entityInit$','_name','_initResize','row','entries','disposeUnit','loadUnit','_transformService','parse','getActiveRange','clearTimeout','_cursorShapes','_status$','onStarting','AWAITING','_updateSubUnitFromURLParams','redoState','addHandlerCallback','reconnect','lineTo','M0\x200H16V16H0z','fillStyle','_docClipboardService','push','USERS_LEAVE','_collaborationController','_context','className','LICENSE_EXPORT_SIZE_EXCEEDED','setAlpha','ALREADY_EXISTS','transformRemoteChangeset','subunit','collabCursorState$','_cursor','location','/run/','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','call','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','subscribeEvent','APPLY_PERMISSION_DENIED','NOT_COLLAB','getColorFromTheme','_httpService','SUBMIT_CHANGESET_TIMEOUT','MOBILE_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LICENSE_IMPORT_SIZE_EXCEEDED','onCommandExecuted','red.300','transformIMECache'];_0x40c7=function(){return _0x2987e4;};return _0x40c7();}let oe=class{constructor(_0x4e9bad,_0x569b9a){const _0x12f6d3=_0x4b686c;this[_0x12f6d3(0x2a1)]=_0x4e9bad,this[_0x12f6d3(0x130)]=_0x569b9a;}['transformSelections'](_0x30776c){const _0x27e4c4=_0x4b686c;var _0x22a82b;const _0x5d5ece=this[_0x27e4c4(0x2a1)][_0x27e4c4(0x29b)](_0x5fa09c),_0x388bf6=(_0x22a82b=_0x5d5ece[_0x27e4c4(0x276)]())!=null?_0x22a82b:[];if(_0x388bf6['length']===0x0)return;const _0x50070f=_0x30776c['unitID'],_0x370b0e=[{'id':_0x27e4c4(0x2b7),'params':{'unitId':_0x50070f,'actions':null,'textRanges':_0x388bf6}}],_0x2c73ba=this[_0x27e4c4(0x130)][_0x27e4c4(0x2a6)](_0x30776c,_0x370b0e);if(!_0x5d6d20(_0x2c73ba))throw _0x2c73ba[_0x27e4c4(0x2be)];const _0x6ca7bd=_0x2c73ba[_0x27e4c4(0x178)][0x0][_0x27e4c4(0x19a)]['textRanges'];Array['isArray'](_0x6ca7bd)&&_0x6ca7bd['length']&&_0x5d5ece[_0x27e4c4(0x2ca)](_0x6ca7bd,{'unitId':_0x50070f,'subUnitId':_0x50070f},!0x1);}};oe=on([tt(0x0,_0x4ef46d(_0x44ce02)),tt(0x1,_0x593ca9)],oe);var an=Object[_0x4b686c(0x1bf)],cn=(_0x16d708,_0x57d61b,_0x189bd5,_0x302a9a)=>{for(var _0x43e7a7=_0x302a9a>0x1?void 0x0:_0x302a9a?an(_0x57d61b,_0x189bd5):_0x57d61b,_0x246bc7=_0x16d708['length']-0x1,_0x111fc0;_0x246bc7>=0x0;_0x246bc7--)(_0x111fc0=_0x16d708[_0x246bc7])&&(_0x43e7a7=_0x111fc0(_0x43e7a7)||_0x43e7a7);return _0x43e7a7;},U=(_0x3dde56,_0x4eddcb)=>(_0x23648e,_0x3665d0)=>_0x4eddcb(_0x23648e,_0x3665d0,_0x3dde56);let ae=class extends _0x1742bc{constructor(_0x595e5d,_0x5188e1,_0x38c959,_0x4c4075,_0x4fce8e,_0xf4462c,_0x4c9bc9,_0x96585a){const _0x4c41e0=_0x4b686c;super(),_(this,'_status$',new _0x1dc360(_0x5200d6[_0x4c41e0(0x153)])),(this[_0x4c41e0(0x25b)]=_0x595e5d,this[_0x4c41e0(0x142)]=_0x5188e1,this[_0x4c41e0(0x199)]=_0x38c959,this['_docTransformStateCacheService']=_0x4c4075,this[_0x4c41e0(0x1b8)]=_0x4fce8e,this[_0x4c41e0(0x1fd)]=_0xf4462c,this[_0x4c41e0(0x16b)]=_0x4c9bc9,this[_0x4c41e0(0x2c4)]=_0x96585a,this[_0x4c41e0(0x27a)]());}[_0x4b686c(0x27a)](){const _0xe63292=_0x4b686c;this[_0xe63292(0x191)](this[_0xe63292(0x142)][_0xe63292(0x18d)][_0xe63292(0x202)](_0x15743e=>{const _0x30e5fe=_0xe63292,_0x27f9d8=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x200565=>{const _0x5c56e0=_0x8d27;if(_0x200565==null)return;const {unitId:_0x5068b4,redoState:_0x41fcef,commandId:_0x80ca23}=_0x200565;if(_0x5068b4!==_0x15743e[_0x5c56e0(0x2cd)])return;const _0x4f2b28={'id':_0x80ca23,'type':_0x2753d5[_0x5c56e0(0x262)],'params':{'unitId':_0x5068b4,'actions':_0x41fcef['actions'],'textRanges':null}};_0x15743e['onLocalMutation'](_0x4f2b28);});if(_0x15743e[_0x30e5fe(0x191)](_0x27f9d8),_0x15743e instanceof _0x3674b9){const _0x466d8b={'onTransformIME':_0x11b0a9=>this['_docTransformIMECacheService'][_0x30e5fe(0x15c)](_0x11b0a9),'onTransformState':_0x39744f=>this[_0x30e5fe(0x1d9)]['transformStateCache'](_0x39744f),'onTransformSelections':_0x51c2a0=>this['_docTransformSelectionsService'][_0x30e5fe(0x253)](_0x51c2a0),'onSyncEditingCollabCursor':_0x486d4f=>this[_0x30e5fe(0x1fd)]['syncEditingCollabCursor'](_0x486d4f),'onTransformRemoteChangesetByIMECache':_0x37b0eb=>this[_0x30e5fe(0x199)][_0x30e5fe(0x148)](_0x37b0eb),'onTransformRemoteChangesetByStateCache':_0x36fa2b=>this['_docTransformStateCacheService'][_0x30e5fe(0x148)](_0x36fa2b)};_0x15743e[_0x30e5fe(0x13a)](_0x466d8b);}}));}};ae=cn([U(0x0,_0x4ef46d(_0x125cf3)),U(0x1,_0x4ef46d(_0x5d0921)),U(0x2,_0x4ef46d(ne)),U(0x3,_0x4ef46d(re)),U(0x4,_0x4ef46d(oe)),U(0x5,_0x4ef46d(He)),U(0x6,_0x134bbc),U(0x7,_0x4ef46d(_0x2c5380))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x33397f,_0x3f1211,_0x1c7d51,_0x553996)=>{const _0x29c872=_0x4b686c;for(var _0x3b4743=_0x553996>0x1?void 0x0:_0x553996?ln(_0x3f1211,_0x1c7d51):_0x3f1211,_0x228175=_0x33397f[_0x29c872(0x19d)]-0x1,_0x9522ca;_0x228175>=0x0;_0x228175--)(_0x9522ca=_0x33397f[_0x228175])&&(_0x3b4743=_0x9522ca(_0x3b4743)||_0x3b4743);return _0x3b4743;},Ee=(_0x30c0a3,_0x2314dd)=>(_0x34250c,_0x9c0327)=>_0x2314dd(_0x34250c,_0x9c0327,_0x30c0a3);let we=class extends _0x1742bc{constructor(_0x2670d7,_0x2da3ca,_0x588685){const _0x3d9755=_0x4b686c;super(),_(this,_0x3d9755(0x167),new Map()),_(this,_0x3d9755(0x16c),new Map()),_(this,_0x3d9755(0x1de),!0x1),(this[_0x3d9755(0x290)]=_0x2670d7,this[_0x3d9755(0x103)]=_0x2da3ca,this['_revisionService']=_0x588685);}[_0x4b686c(0x298)](){const _0x135e6c=_0x4b686c;this[_0x135e6c(0x1de)]=!0x0;}['enableLocalCache'](){const _0x6f1bf3=_0x4b686c;this[_0x6f1bf3(0x1de)]=!0x1;}get[_0x4b686c(0x2ac)](){return this['_saveTaskMap'];}[_0x4b686c(0x28e)](){const _0x5984c0=_0x4b686c;this['exhaustSavingTask']()[_0x5984c0(0x1bd)](()=>super[_0x5984c0(0x28e)]());}async['loadOfflineData'](_0x98ad5c){const _0x423e4b=_0x4b686c;return this[_0x423e4b(0x1de)]?null:this[_0x423e4b(0x103)][_0x423e4b(0x28c)](_0x523d61(_0x98ad5c));}async[_0x4b686c(0x300)](_0x35298b,_0x5e2fa3){const _0x3be9fd=_0x4b686c;return!!this['_localStorageService'][_0x3be9fd(0x24d)](_0x35298b,_0x5e2fa3);}[_0x4b686c(0x2fc)](_0x47fe73,_0x2b3ba0,_0x2a89d0,_0x2a15c1){const _0x30052f=_0x4b686c,_0x2e9ec7=this[_0x30052f(0x297)]['getCurrentRevOfUnit'](_0x47fe73);this['_cachedData'][_0x30052f(0x2d0)](_0x47fe73,{'unitID':_0x47fe73,'type':_0x2b3ba0,'awaitingChangeset':_0x2a89d0,'mutations':_0x2a15c1,'rev':_0x2e9ec7}),this['_saveTaskMap'][_0x30052f(0x27d)](_0x47fe73)||this[_0x30052f(0x1f4)](_0x47fe73);}[_0x4b686c(0x1f4)](_0x4f5988){const _0x342094=_0x4b686c,_0xec7cb=this[_0x342094(0x252)]();_0xec7cb===0x0?this[_0x342094(0x2c0)](_0x4f5988):this[_0x342094(0x16c)]['set'](_0x4f5988,setTimeout(()=>this[_0x342094(0x2c0)](_0x4f5988),_0xec7cb));}['_getSaveTimeout'](){const _0x16b3aa=_0x4b686c;var _0x3eda49;return(_0x3eda49=this[_0x16b3aa(0x290)]['getConfig'](_0x1889e3))!=null?_0x3eda49:_0x47a028;}[_0x4b686c(0x2c0)](_0x297315){const _0x24d100=_0x4b686c,_0x1daa0c=this['_saveTaskMap']['get'](_0x297315);return _0x1daa0c!==void 0x0&&window[_0x24d100(0x133)](_0x1daa0c),this[_0x24d100(0x103)][_0x24d100(0x24d)](_0x523d61(_0x297315),this['_cachedData']['get'](_0x297315))[_0x24d100(0x1bd)](()=>this[_0x24d100(0x16c)][_0x24d100(0x112)](_0x297315));}async[_0x4b686c(0x101)](){const _0x47d596=_0x4b686c,_0x5a0c09=[];this[_0x47d596(0x16c)][_0x47d596(0x21a)]((_0x3574a5,_0x5d20af)=>{const _0x476006=_0x47d596;window[_0x476006(0x133)](_0x3574a5),_0x5a0c09[_0x476006(0x140)](this[_0x476006(0x2c0)](_0x5d20af)['then'](()=>{const _0x3f4371=_0x476006;this[_0x3f4371(0x16c)][_0x3f4371(0x112)](_0x5d20af);}));}),await Promise['all'](_0x5a0c09);}};we=_n([Ee(0x0,_0x51f983),Ee(0x1,_0x3b97d1),Ee(0x2,_0x4ef46d(_0x42362c))],we);class hn extends _0x5ab323{constructor(){const _0x57bfae=_0x4b686c;super(),_(this,_0x57bfae(0x2cf)),this[_0x57bfae(0x2cf)]=_0x542fdf(window,'popstate')[_0x57bfae(0x1cd)](_0x58f2c6(this['dispose$']),_0xbbb2f7(0x1),_0x2f0c72(void 0x0));}['setParam'](_0x326b6c,_0x1b33c1,_0x30c28f=!0x1){const _0x466a06=_0x4b686c,_0xfe2361=new URL(window[_0x466a06(0x14c)]['href']);_0xfe2361['searchParams'][_0x466a06(0x2d0)](_0x326b6c,_0x1b33c1),_0x30c28f?window[_0x466a06(0x19b)][_0x466a06(0x11b)]('','',_0xfe2361[_0x466a06(0x251)]()):window[_0x466a06(0x19b)][_0x466a06(0x264)]('','',_0xfe2361[_0x466a06(0x251)]());}['removeParam'](_0x5767c4,_0x4f811a=!0x1){const _0x151e37=_0x4b686c,_0x390e34=new URL(window[_0x151e37(0x14c)]['href']);_0x390e34[_0x151e37(0x1e0)][_0x151e37(0x112)](_0x5767c4),_0x4f811a?window[_0x151e37(0x19b)]['replaceState']('','',_0x390e34['toString']()):window[_0x151e37(0x19b)][_0x151e37(0x264)]('','',_0x390e34[_0x151e37(0x251)]());}[_0x4b686c(0x22d)](_0x10b003){const _0x10bddd=_0x4b686c;var _0x3f56dc;return(_0x3f56dc=new URL(window[_0x10bddd(0x14c)][_0x10bddd(0x2e4)])[_0x10bddd(0x1e0)][_0x10bddd(0x29b)](_0x10b003))!=null?_0x3f56dc:void 0x0;}}var un=Object[_0x4b686c(0x266)],dn=Object[_0x4b686c(0x1bf)],fn=(_0x3d7ba8,_0x2b5cc2,_0x437532)=>_0x2b5cc2 in _0x3d7ba8?un(_0x3d7ba8,_0x2b5cc2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x437532}):_0x3d7ba8[_0x2b5cc2]=_0x437532,Sn=(_0x5b050e,_0x466c20,_0x351475,_0x5d3cfc)=>{const _0x81389e=_0x4b686c;for(var _0x13fd3a=_0x5d3cfc>0x1?void 0x0:_0x5d3cfc?dn(_0x466c20,_0x351475):_0x466c20,_0x3efb14=_0x5b050e[_0x81389e(0x19d)]-0x1,_0x3babab;_0x3efb14>=0x0;_0x3efb14--)(_0x3babab=_0x5b050e[_0x3efb14])&&(_0x13fd3a=_0x3babab(_0x13fd3a)||_0x13fd3a);return _0x13fd3a;},Oe=(_0x52fa6d,_0x474982)=>(_0x358875,_0x478283)=>_0x474982(_0x358875,_0x478283,_0x52fa6d),mn=(_0x8f2b15,_0x1a6df7,_0x56e306)=>fn(_0x8f2b15,_0x1a6df7+'',_0x56e306);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0xeb5185{constructor(_0xbc6fa6=et,_0xfdcda2,_0x2b1faf,_0x19d803){const _0x23b6b7=_0x4b686c;super(),this['_config']=_0xbc6fa6,this[_0x23b6b7(0x2bb)]=_0xfdcda2,this[_0x23b6b7(0x2a1)]=_0x2b1faf,this['_configService']=_0x19d803;const {..._0x46fbac}=_0x41517e({},et,this[_0x23b6b7(0x2b6)]);this[_0x23b6b7(0x290)][_0x23b6b7(0x2d9)](Zi,_0x46fbac);}[_0x4b686c(0x136)](){const _0x4dcf77=_0x4b686c;this['_registerDependencies'](),this[_0x4dcf77(0x180)]();}[_0x4b686c(0x113)](){const _0x41733a=_0x4b686c;this[_0x41733a(0x2b9)]();}['_registerDependencies'](){const _0x5a722c=_0x4b686c;var _0x194e34;const _0x2dfb1f=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x18a06e,{'useClass':_0x21c2ca}],[_0xc89ad5,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0xc47875(this[_0x5a722c(0x2a1)],_0x44b08e(_0x2dfb1f,(_0x194e34=this[_0x5a722c(0x2b6)])==null?void 0x0:_0x194e34[_0x5a722c(0x1eb)]));}['_registerRenderDependencies'](){const _0x520bce=_0x4b686c;this['disposeWithMe'](this[_0x520bce(0x2bb)]['registerRenderModule'](_0x3cbf7a[_0x520bce(0x2d5)],[Le])),this[_0x520bce(0x191)](this[_0x520bce(0x2bb)][_0x520bce(0x1c2)](_0x3cbf7a[_0x520bce(0x186)],[Pe]));}[_0x4b686c(0x180)](){const _0x138f74=_0x4b686c;_0x5ac18c(this[_0x138f74(0x2a1)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4b686c(0x111),In),Ae=Sn([_0x437b4b(_0x1fb44e),Oe(0x1,_0x3442d8),Oe(0x2,_0x4ef46d(_0x44ce02)),Oe(0x3,_0x51f983)],Ae);var gn=Object[_0x4b686c(0x1bf)],vn=(_0x576c89,_0x469b80,_0x56aa40,_0x275295)=>{const _0x42fbdf=_0x4b686c;for(var _0x1207a2=_0x275295>0x1?void 0x0:_0x275295?gn(_0x469b80,_0x56aa40):_0x469b80,_0x488f92=_0x576c89[_0x42fbdf(0x19d)]-0x1,_0x2a63c2;_0x488f92>=0x0;_0x488f92--)(_0x2a63c2=_0x576c89[_0x488f92])&&(_0x1207a2=_0x2a63c2(_0x1207a2)||_0x1207a2);return _0x1207a2;},K=(_0x3f6fa3,_0x35f617)=>(_0x56a4dd,_0xbc2248)=>_0x35f617(_0x56a4dd,_0xbc2248,_0x3f6fa3);let st=class extends _0x3af29e{constructor(_0x53c19a,_0x5a317e,_0xdbf204,_0x256360,_0x2e1e29){super(_0x53c19a,_0x5a317e,_0xdbf204,_0x256360,_0x2e1e29);}async[_0x4b686c(0x240)](_0x31fa64){const _0x3e2fe6=_0x4b686c,_0x5b3aae=await this[_0x3e2fe6(0x1b7)](),_0xda225c=this['_createSocketURL'](_0x31fa64,_0x5b3aae);return this[_0x3e2fe6(0x18c)](_0xda225c);}['_createSocketURL'](_0x279782,_0x1e7ced){const _0x5a5d19=_0x4b686c,_0x43b80f=typeof window>'u'?new URL(_0x279782):new URL(_0x279782,window[_0x5a5d19(0x14c)][_0x5a5d19(0x1e8)]);_0x43b80f[_0x5a5d19(0x1e0)][_0x5a5d19(0x2d0)]('sessionTicket',_0x1e7ced);const _0x179c07=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a5d19(0x14c)][_0x5a5d19(0x2d1)]);return _0x179c07[_0x5a5d19(0x29b)](_0x5a5d19(0x168))&&_0x43b80f[_0x5a5d19(0x1e0)][_0x5a5d19(0x2d0)](_0x5a5d19(0x168),_0x179c07[_0x5a5d19(0x29b)](_0x5a5d19(0x168))),_0x43b80f['toString']();}async[_0x4b686c(0x1b7)](){const _0x3f1728=_0x4b686c;var _0x555acb,_0x5e1910,_0x3822e3;const _0x50563e=this[_0x3f1728(0x290)][_0x3f1728(0x1c9)](_0x2dd5d5),_0x229433=(_0x555acb=_0x50563e==null?void 0x0:_0x50563e[_0x3f1728(0x163)])!=null?_0x555acb:_0x4b31a1;return(_0x3822e3=(_0x5e1910=(await this[_0x3f1728(0x155)][_0x3f1728(0x29b)](_0x229433,{'headers':{'Content-Type':_0x3f1728(0x185)}}))[_0x3f1728(0x2f3)])==null?void 0x0:_0x5e1910['ticket'])!=null?_0x3822e3:'';}};st=vn([K(0x0,_0x4ef46d(_0x44ce02)),K(0x1,_0x4ef46d(_0x9652b6)),K(0x2,_0x51f983),K(0x3,_0x6dddd7),K(0x4,_0x1b6a90)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x1742bc{constructor(){const _0x15daae=_0x4b686c;super(),_(this,'_id',_0x509014()),_(this,'_selfUnitIDs',new Set()),_(this,_0x15daae(0x2cb),new Map()),_(this,_0x15daae(0x2b8),null),_(this,_0x15daae(0x27b),new Map()),_(this,'_unitStatus',new Map()),this[_0x15daae(0x2fe)]();}[_0x4b686c(0x28e)](){const _0x3dc0f7=_0x4b686c;super[_0x3dc0f7(0x28e)](),this[_0x3dc0f7(0x27b)][_0x3dc0f7(0x21a)]((_0x1e5d10,_0x374b81)=>this[_0x3dc0f7(0x242)](_0x374b81)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x3dc0f7(0x2b8)]);}[_0x4b686c(0x117)](_0x29ba84){const _0x20c24c=_0x4b686c;return this[_0x20c24c(0x173)](_0x29ba84)[_0x20c24c(0x1cd)](_0x469370());}[_0x4b686c(0x1aa)](_0x1833cd){const _0x367117=_0x4b686c;this[_0x367117(0x28d)][_0x367117(0x2ad)]===0x0&&this['_scheduleHeartbeat'](),this[_0x367117(0x28d)][_0x367117(0x216)](_0x1833cd),this[_0x367117(0x19c)]({'type':0x0,'memberID':this[_0x367117(0x244)],'unitIDs':[_0x1833cd],'isForwarded':!0x1});}[_0x4b686c(0x12e)](_0x42a2e5){const _0x4cb902=_0x4b686c;this[_0x4cb902(0x28d)]['delete'](_0x42a2e5),this[_0x4cb902(0x28d)][_0x4cb902(0x2ad)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4cb902(0x2b8)]);}['_init'](){const _0x46526b=_0x4b686c;this['disposeWithMe'](_0x599691(_0x542fdf(window,'storage')[_0x46526b(0x202)](_0x2b0611=>{const _0x5c3a45=_0x46526b;if(_0x2b0611[_0x5c3a45(0x179)]!==nt||!_0x2b0611['newValue'])return;const _0x55383f=JSON[_0x5c3a45(0x131)](_0x2b0611[_0x5c3a45(0x237)]);this[_0x5c3a45(0x24e)](_0x55383f);}))),window[_0x46526b(0x289)](_0x46526b(0x21b),()=>this[_0x46526b(0x19c)]({'type':0x1,'memberID':this[_0x46526b(0x244)],'unitIDs':Array['from'](this[_0x46526b(0x28d)])}));}[_0x4b686c(0x24e)](_0x3a2072){const _0x476fe0=_0x4b686c;switch(_0x3a2072[_0x476fe0(0x2e8)]){case 0x0:this[_0x476fe0(0x107)](_0x3a2072);break;case 0x1:this['_handleLeaveEvent'](_0x3a2072);break;case 0x2:this[_0x476fe0(0x25e)](_0x3a2072);break;}}[_0x4b686c(0x107)](_0x1f4269){const _0x4a0a66=_0x4b686c,{unitIDs:_0x425f4c,memberID:_0x3416fd,isForwarded:_0x396f26}=_0x1f4269;_0x425f4c[_0x4a0a66(0x21a)](_0x1d445a=>{const _0x31e58f=_0x4a0a66;if(!_0x396f26&&this[_0x31e58f(0x2cb)][_0x31e58f(0x27d)](_0x1d445a)&&this[_0x31e58f(0x173)](_0x1d445a)[_0x31e58f(0x2b1)](_0x384609[_0x31e58f(0x246)]),!this['_unitOnClients']['has'](_0x1d445a)||!this['_unitOnClients'][_0x31e58f(0x29b)](_0x1d445a)[_0x31e58f(0x27d)](_0x3416fd)){const _0x4abd64=this[_0x31e58f(0x2cb)]['get'](_0x1d445a)||new Set();_0x4abd64[_0x31e58f(0x216)](_0x3416fd),this[_0x31e58f(0x2cb)][_0x31e58f(0x2d0)](_0x1d445a,_0x4abd64),this['_scheduleClearOtherTimer'](_0x3416fd);}}),_0x396f26||this[_0x4a0a66(0x19c)]({'type':0x0,'memberID':this[_0x4a0a66(0x244)],'unitIDs':[...this[_0x4a0a66(0x28d)]],'isForwarded':!0x0});}[_0x4b686c(0x195)](_0x37be5b){const _0xd1293e=_0x4b686c;this[_0xd1293e(0x242)](_0x37be5b);const _0x52dac1=window[_0xd1293e(0x1c4)](()=>{const _0x3d53d9=_0xd1293e;this['_unitOnClients'][_0x3d53d9(0x21a)](_0x5a7d5e=>{const _0x26adf8=_0x3d53d9;_0x5a7d5e[_0x26adf8(0x112)](_0x37be5b);});},it*0x2);this[_0xd1293e(0x27b)][_0xd1293e(0x2d0)](_0x37be5b,_0x52dac1);}[_0x4b686c(0x242)](_0x2a6001){const _0x3af6ce=_0x4b686c;if(this['_clearOtherTimers'][_0x3af6ce(0x27d)](_0x2a6001)){const _0x51188c=this[_0x3af6ce(0x27b)][_0x3af6ce(0x29b)](_0x2a6001);_0x51188c&&window[_0x3af6ce(0x133)](_0x51188c),this[_0x3af6ce(0x27b)]['set'](_0x2a6001,null);}}[_0x4b686c(0x2a0)](_0x3db05f){const {memberID:_0x230e92,unitIDs:_0x5fa596}=_0x3db05f;_0x5fa596['forEach'](_0x57c4ac=>{const _0x5a7a85=_0x8d27;var _0x11bf6a;const _0x3ef703=this['_unitOnClients']['get'](_0x57c4ac);_0x3ef703&&(_0x3ef703[_0x5a7a85(0x112)](_0x230e92),(_0x11bf6a=this[_0x5a7a85(0x173)](_0x57c4ac))==null||_0x11bf6a[_0x5a7a85(0x2b1)](_0x3ef703[_0x5a7a85(0x2ad)]===0x0?_0x384609[_0x5a7a85(0x25c)]:_0x384609[_0x5a7a85(0x246)]));}),this['_removeClearOtherTimer'](_0x230e92);}[_0x4b686c(0x25e)](_0x40bcf6){const _0x18e4c5=_0x4b686c;this[_0x18e4c5(0x195)](_0x40bcf6[_0x18e4c5(0x1c5)]);}[_0x4b686c(0x19c)](_0x317959){const _0x26a807=_0x4b686c;localStorage[_0x26a807(0x24d)](nt,JSON[_0x26a807(0x1dd)](_0x317959));}[_0x4b686c(0x211)](){const _0x4560f3=_0x4b686c;this[_0x4560f3(0x2b8)]=window['setInterval'](()=>{const _0x598b40=_0x4560f3;this[_0x598b40(0x19c)]({'type':0x2,'memberID':this[_0x598b40(0x244)]});},it);}[_0x4b686c(0x173)](_0x2c34cd){const _0x9ea93=_0x4b686c;return this[_0x9ea93(0x161)][_0x9ea93(0x27d)](_0x2c34cd)||this[_0x9ea93(0x161)][_0x9ea93(0x2d0)](_0x2c34cd,new _0x1dc360(_0x384609[_0x9ea93(0x25c)])),this[_0x9ea93(0x161)][_0x9ea93(0x29b)](_0x2c34cd);}}var Mt=(_0x5f298a=>(_0x5f298a[_0x5f298a['UNDEFINED']=0x0]='UNDEFINED',_0x5f298a[_0x5f298a['OK']=0x1]='OK',_0x5f298a[_0x5f298a[_0x4b686c(0x2fa)]=0x2]='INTERNAL_ERROR',_0x5f298a[_0x5f298a[_0x4b686c(0x2cc)]=0x3]='PERMISSION_DENIED',_0x5f298a[_0x5f298a[_0x4b686c(0x2c1)]=0x4]=_0x4b686c(0x2c1),_0x5f298a[_0x5f298a['UNAUTHENTICATED']=0x5]=_0x4b686c(0x207),_0x5f298a[_0x5f298a['ALREADY_EXISTS']=0x6]=_0x4b686c(0x147),_0x5f298a[_0x5f298a[_0x4b686c(0x265)]=0x7]=_0x4b686c(0x265),_0x5f298a[_0x5f298a[_0x4b686c(0x28f)]=0x8]='TOO_MANY_REQUESTS',_0x5f298a[_0x5f298a[_0x4b686c(0x190)]=0x9]=_0x4b686c(0x190),_0x5f298a[_0x5f298a[_0x4b686c(0x22a)]=0xa]=_0x4b686c(0x22a),_0x5f298a[_0x5f298a[_0x4b686c(0x189)]=0xb]=_0x4b686c(0x189),_0x5f298a[_0x5f298a[_0x4b686c(0x243)]=0xc]=_0x4b686c(0x243),_0x5f298a[_0x5f298a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5f298a[_0x5f298a[_0x4b686c(0x1e2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5f298a[_0x5f298a[_0x4b686c(0x26e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5f298a[_0x5f298a[_0x4b686c(0x293)]=0x1771]=_0x4b686c(0x293),_0x5f298a[_0x5f298a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4b686c(0x1cc),_0x5f298a[_0x5f298a[_0x4b686c(0x1f2)]=0x1773]=_0x4b686c(0x1f2),_0x5f298a[_0x5f298a[_0x4b686c(0x2ee)]=0x1b59]=_0x4b686c(0x2ee),_0x5f298a[_0x5f298a[_0x4b686c(0x27c)]=0x1b5a]=_0x4b686c(0x27c),_0x5f298a[_0x5f298a['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4b686c(0x29c),_0x5f298a[_0x5f298a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4b686c(0x152),_0x5f298a[_0x5f298a['APPLY_DUPLICATED']=0x1b5d]=_0x4b686c(0x247),_0x5f298a[_0x5f298a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4b686c(0x2f7),_0x5f298a[_0x5f298a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5f298a[_0x5f298a[_0x4b686c(0x14e)]=0x232a]=_0x4b686c(0x14e),_0x5f298a[_0x5f298a[_0x4b686c(0x159)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5f298a[_0x5f298a[_0x4b686c(0x145)]=0x232c]=_0x4b686c(0x145),_0x5f298a[_0x5f298a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4b686c(0x17e),_0x5f298a[_0x5f298a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4b686c(0x21c),_0x5f298a[_0x5f298a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5f298a[_0x5f298a[_0x4b686c(0x172)]=0x2713]=_0x4b686c(0x172),_0x5f298a[_0x5f298a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4b686c(0x10e),_0x5f298a[_0x5f298a[_0x4b686c(0x18e)]=0x271a]=_0x4b686c(0x18e),_0x5f298a[_0x5f298a[_0x4b686c(0x10c)]=0x271b]=_0x4b686c(0x10c),_0x5f298a[_0x5f298a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4b686c(0x158),_0x5f298a[_0x5f298a[_0x4b686c(0x213)]=0x271d]=_0x4b686c(0x213),_0x5f298a[_0x5f298a[_0x4b686c(0x150)]=0x271e]=_0x4b686c(0x150),_0x5f298a[_0x5f298a[_0x4b686c(0x1ea)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5f298a[_0x5f298a[_0x4b686c(0x1da)]=0x2720]=_0x4b686c(0x1da),_0x5f298a[_0x5f298a[_0x4b686c(0x1db)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5f298a[_0x5f298a[_0x4b686c(0x1a4)]=0x2ee1]=_0x4b686c(0x1a4),_0x5f298a[_0x5f298a[_0x4b686c(0x1ae)]=0x2ee2]='INVALID_INVITE_CODE',_0x5f298a[_0x5f298a[_0x4b686c(0x1dc)]=0x2ee3]=_0x4b686c(0x1dc),_0x5f298a[_0x5f298a[_0x4b686c(0x2b0)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5f298a[_0x5f298a[_0x4b686c(0x2e3)]=0x2ee5]=_0x4b686c(0x2e3),_0x5f298a[_0x5f298a[_0x4b686c(0x1e4)]=0x32c9]=_0x4b686c(0x1e4),_0x5f298a[_0x5f298a[_0x4b686c(0x157)]=0x32ca]=_0x4b686c(0x157),_0x5f298a[_0x5f298a['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5f298a[_0x5f298a['UNRECOGNIZED']=-0x1]=_0x4b686c(0x2e7),_0x5f298a))(Mt||{}),pn=Object[_0x4b686c(0x1bf)],Cn=(_0x1edc26,_0x3fbb12,_0x737280,_0x3041bc)=>{const _0x4702f6=_0x4b686c;for(var _0x5a51ff=_0x3041bc>0x1?void 0x0:_0x3041bc?pn(_0x3fbb12,_0x737280):_0x3fbb12,_0x3f347b=_0x1edc26[_0x4702f6(0x19d)]-0x1,_0x5e49cb;_0x3f347b>=0x0;_0x3f347b--)(_0x5e49cb=_0x1edc26[_0x3f347b])&&(_0x5a51ff=_0x5e49cb(_0x5a51ff)||_0x5a51ff);return _0x5a51ff;},be=(_0x30e637,_0x204734)=>(_0x29a6f9,_0xf05f0a)=>_0x204734(_0x29a6f9,_0xf05f0a,_0x30e637);let rt=class extends _0x1742bc{constructor(_0x66c54a,_0x167b03,_0x5b7349){const _0x32dfb9=_0x4b686c;super(),this['_instanceService']=_0x66c54a,this[_0x32dfb9(0x155)]=_0x167b03,this[_0x32dfb9(0x290)]=_0x5b7349;}async[_0x4b686c(0x1df)](_0xd40b71,_0x2db45f,_0x349cd2,..._0xebbd80){const _0xd41d0b=_0x4b686c;var _0x556d0c,_0x28d54f,_0x43f250,_0x1c447d;const _0x47dadf=this[_0xd41d0b(0x212)]['getFocusedUnit']();if(!_0x47dadf)throw new Error(_0xd41d0b(0x245));const _0x480e4e=((_0x556d0c=this[_0xd41d0b(0x290)]['getConfig'](_0x21e247))!=null?_0x556d0c:_0x2264b2)+'/'+_0xd40b71+_0xd41d0b(0x14d)+_0x2db45f,_0x455a71=new URL(window['location']['href']),_0x5b812a={'scriptId':_0xd40b71,'runId':(_0x28d54f=_0x455a71[_0xd41d0b(0x1e0)][_0xd41d0b(0x29b)](_0xd41d0b(0x168)))!=null?_0x28d54f:'','function':_0x2db45f,'unitId':_0x47dadf[_0xd41d0b(0x169)](),'argsOfFunction':JSON[_0xd41d0b(0x1dd)](_0xebbd80),'invokeId':(_0x43f250=_0x349cd2['invokeId'])!=null?_0x43f250:'','executionId':(_0x1c447d=_0x349cd2[_0xd41d0b(0x17a)])!=null?_0x1c447d:''};try{const _0x3fb22c=await this[_0xd41d0b(0x155)][_0xd41d0b(0x2bc)](_0x480e4e,{'body':_0x5b812a});return _0x3fb22c['body'][_0xd41d0b(0x2be)]&&_0x3fb22c[_0xd41d0b(0x2f3)]['error']['code']!==Mt['OK']?'Failed':_0x3fb22c[_0xd41d0b(0x2f3)][_0xd41d0b(0x2a3)];}catch{return _0xd41d0b(0x1ac);}}};rt=Cn([be(0x0,_0x17792d),be(0x1,_0x4ef46d(_0x9652b6)),be(0x2,_0x51f983)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x2686e3=_0x21db;(function(_0x3d3004,_0x2a379e){const _0x44ad53=_0x21db,_0x1e8188=_0x3d3004();while(!![]){try{const _0x2bccf2=-parseInt(_0x44ad53(0x1f4))/0x1*(parseInt(_0x44ad53(0x14e))/0x2)+-parseInt(_0x44ad53(0x316))/0x3+parseInt(_0x44ad53(0x149))/0x4+parseInt(_0x44ad53(0x2f3))/0x5+parseInt(_0x44ad53(0x32f))/0x6*(parseInt(_0x44ad53(0x2eb))/0x7)+-parseInt(_0x44ad53(0x1bd))/0x8+parseInt(_0x44ad53(0x334))/0x9;if(_0x2bccf2===_0x2a379e)break;else _0x1e8188['push'](_0x1e8188['shift']());}catch(_0x4f6b34){_0x1e8188['push'](_0x1e8188['shift']());}}}(_0x298f,0xa33ef));var $t=Object['defineProperty'],xt=(_0x6fcf38,_0xb43a6a,_0x201e0a)=>_0xb43a6a in _0x6fcf38?$t(_0x6fcf38,_0xb43a6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x201e0a}):_0x6fcf38[_0xb43a6a]=_0x201e0a,_=(_0x3b710a,_0x143563,_0x37beae)=>xt(_0x3b710a,typeof _0x143563!=_0x2686e3(0x217)?_0x143563+'':_0x143563,_0x37beae);import{MemberService as _0xe44cda,SessionStatus as _0x12e31d,CollaborationSessionService as _0x593aab,CollaborationStatus as _0x14a13b,CollaborationController as _0xc794c6,ILocalCacheService as _0x52e427,CollaborationUIEventService as _0x445502,CollaborationUIEventId as _0x1bfe77,DataLoaderService as _0x2e52d0,DocCollaborationEntity as _0x39dac4,getLocalCacheKey as _0x437809,LOCAL_CACHE_INTERVAL as _0x258aab,LOCAL_CACHE_INTERVAL_KEY as _0x2e6936,UniverCollaborationClientPlugin as _0x5aafc5,CollaborationSocketService as _0x5c85f5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2e06a0,DEFAULT_WS_SESSION_TICKET_URL as _0x62fee3,UnitStatus as _0x45f787,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2031ac,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xa9e657}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1f7e53,Disposable as _0x2d320f,DOC_RANGE_TYPE as _0x37a998,Inject as _0x437cbf,Injector as _0x212b2d,IUniverInstanceService as _0x1fee0a,ICommandService as _0x3fdfe9,debounce as _0x12f08e,Rectangle as _0xd0e12c,DisposableCollection as _0x2e91f3,toDisposable as _0x1e1ccf,UniverInstanceType as _0x259f9d,Tools as _0x457e3f,COLORS as _0x2f22cd,ColorKit as _0x265c98,ThemeService as _0x420883,fromEventSubject as _0x8ac6d,LocaleService as _0x514309,createIdentifier as _0x235d50,ILogService as _0x46abfe,Optional as _0x1b53d6,Workbook as _0x191ebc,CommandType as _0x3444c9,IConfigService as _0xd03f15,ILocalStorageService as _0xc9b330,DependentOn as _0x45f006,Plugin as _0x4257ba,merge as _0x4d74b0,registerDependencies as _0x49070c,mergeOverrideWithDependencies as _0x530a26,touchDependencies as _0x3a14f4,generateRandomId as _0x19648d}from'@univerjs/core';import{Shape as _0x510fce,Rect as _0x416255,getColor as _0x5c4401,RegularPolygon as _0x271538,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x551789,Vector2 as _0x320791,SHEET_VIEWPORT_KEY as _0x2db305,IRenderManagerService as _0x145026}from'@univerjs/engine-render';import{ISocketService as _0x54c1fa,WebSocketService as _0x2f2bd5,HTTPService as _0x538f65}from'@univerjs/network';import{IDocClipboardService as _0x1fcebf,NodePositionConvertToCursor as _0x414921,NodePositionConvertToRectRange as _0x3bc5a1,TEXT_RANGE_LAYER_INDEX as _0x2c648c,SetDocZoomRatioOperation as _0x285cb0,DocIMEInputManagerService as _0x582f51,DocStateChangeManagerService as _0x26ffd4}from'@univerjs/docs-ui';import{IImageIoService as _0x4e9b59}from'@univerjs/drawing';import{BehaviorSubject as _0x289e43,debounceTime as _0x2e9050,takeUntil as _0x130b87,Subject as _0x43d19,filter as _0x42bebe,switchMap as _0x54586f,merge as _0x4261a5,combineLatest as _0x49c74b,of as _0x555402,fromEvent as _0x6495ce,shareReplay as _0x5885f2,mapTo as _0x2de1b3,distinctUntilChanged as _0x12b905}from'rxjs';import{ITransformService as _0x7488d5,CollaborationEvent as _0x361c1c,isTransformMutationFailure as _0x12f16e,isTransformMutationsWithChangesetSuccess as _0x1fbadd,RevisionService as _0x225270,ISnapshotServerService as _0x2153ad}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2aae30,RichTextEditingMutation as _0x171929,DocSelectionManagerService as _0x4e4c68,DocSkeletonManagerService as _0x1f44ba}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x23a41e,serializeRangeWithSheet as _0x25f251}from'@univerjs/engine-formula';import{RefRangeService as _0x47d053,SetSelectionsOperation as _0x1d1094,SheetsSelectionsService as _0x32eade,EffectRefRangId as _0x20cb78,handleIRemoveRow as _0x1e0c9c,handleIRemoveCol as _0x4b5a76,handleMoveRange as _0xfb3691,handleInsertRow as _0x30a66c,handleInsertRangeMoveRight as _0x40f24b,handleInsertRangeMoveDown as _0x147551,handleInsertCol as _0x4d6fa0,handleDeleteRangeMoveUp as _0x3e09b1,handleDeleteRangeMoveLeft as _0xebc12c,runRefRangeMutations as _0x22f0c4,SetWorksheetActivateCommand as _0x2ee94c}from'@univerjs/sheets';import{map as _0x3fe3dd,filter as _0x58fae0,throttleTime as _0x1fa051,takeUntil as _0x201037,switchMap as _0x129b18}from'rxjs/operators';import{SheetSkeletonManagerService as _0x18ecc2,getCoordByCell as _0x67f0b9,getSheetObject as _0x33b75f}from'@univerjs/sheets-ui';import{jsx as _0x5e7e28,jsxs as _0x45c588}from'react/jsx-runtime';import{useObservable as _0x44e717,useDependency as _0x5e0b55,IUIPartsService as _0x59c501,BuiltInUIPart as _0x4e781c,connectInjector as _0x4af26b,IBeforeCloseService as _0x33bd99,IMessageService as _0x242b2a,INotificationService as _0x16be65}from'@univerjs/ui';import{Tooltip as _0x37a28f,clsx as _0x4d7fd2,MessageType as _0x4c6395}from'@univerjs/design';import{forwardRef as _0x311cc4,useRef as _0x554768,createElement as _0x433ecf,useCallback as _0x1db297}from'react';import{IRemoteInstanceService as _0x1536dc}from'@univerjs/rpc';var ci=Object[_0x2686e3(0x29c)],li=(_0xb2471d,_0x14dc8d,_0x31c654,_0x51a0cf)=>{const _0x1fcd8b=_0x2686e3;for(var _0x4ee59c=_0x51a0cf>0x1?void 0x0:_0x51a0cf?ci(_0x14dc8d,_0x31c654):_0x14dc8d,_0x18b40f=_0xb2471d[_0x1fcd8b(0x29f)]-0x1,_0x434e76;_0x18b40f>=0x0;_0x18b40f--)(_0x434e76=_0xb2471d[_0x18b40f])&&(_0x4ee59c=_0x434e76(_0x4ee59c)||_0x4ee59c);return _0x4ee59c;},Je=(_0x427d2e,_0x3d1d79)=>(_0x116b1,_0x5b1cd3)=>_0x3d1d79(_0x116b1,_0x5b1cd3,_0x427d2e);let Ne=class extends _0x1f7e53{constructor(_0x3ac099,_0x2d5a02){const _0x39f9c1=_0x2686e3;super(),this['_docClipboardService']=_0x3ac099,this[_0x39f9c1(0x14a)]=_0x2d5a02,this[_0x39f9c1(0x2de)]();}[_0x2686e3(0x2de)](){const _0x4586a8=_0x2686e3,_0x128f93=this;this[_0x4586a8(0x2a4)](this[_0x4586a8(0x188)][_0x4586a8(0x21e)]({'onBeforePasteImage':async _0x1d5525=>{const _0xa26610=_0x4586a8,_0xbd9125=await _0x128f93[_0xa26610(0x14a)][_0xa26610(0x26e)](_0x1d5525);return _0xbd9125?{'source':_0xbd9125[_0xa26610(0x294)],'imageSourceType':_0xbd9125[_0xa26610(0x262)]}:null;}}));}};Ne=li([Je(0x0,_0x1fcebf),Je(0x1,_0x4e9b59)],Ne);const Ze=[_0x2686e3(0x247),_0x2686e3(0x2ab),_0x2686e3(0x144),_0x2686e3(0x281),_0x2686e3(0x158),'yellow.400'];class ke extends _0x2d320f{constructor(){const _0xf5f02a=_0x2686e3;super(...arguments),_(this,_0xf5f02a(0x2ca),new Map()),_(this,_0xf5f02a(0x1fc),0x0);}[_0x2686e3(0x1a5)](_0x3da650){const _0x2b110c=_0x2686e3;if(this[_0x2b110c(0x2ca)][_0x2b110c(0x33d)](_0x3da650))return this['_assignedColors'][_0x2b110c(0x1ad)](_0x3da650);const _0x10279c=Ze[this[_0x2b110c(0x1fc)]];return this[_0x2b110c(0x1fc)]=(this[_0x2b110c(0x1fc)]+0x1)%Ze[_0x2b110c(0x29f)],this[_0x2b110c(0x2ca)][_0x2b110c(0x155)](_0x3da650,_0x10279c),_0x10279c;}}function Tt(_0x516f82){const _0x4e41e1=_0x2686e3;let _0x2144d5='';for(const _0x5d06b3 of _0x516f82){const {startOffset:_0x339f28,endOffset:_0x2cd139,isActive:_0x28864a,rangeType:_0x47e84d,segmentId:_0x3ee9e6,segmentPage:_0x20a607}=_0x5d06b3;_0x2144d5[_0x4e41e1(0x29f)]&&(_0x2144d5+=','),_0x2144d5+=_0x339f28+':'+_0x2cd139+':'+(_0x28864a?'1':'0')+':'+_0x47e84d+':'+_0x3ee9e6+':'+_0x20a607;}return _0x2144d5;}function _i(_0x1d1631){const _0x2e0ae8=_0x2686e3,_0x20a2d8=_0x1d1631[_0x2e0ae8(0x1c9)](','),_0x4eac99=[];for(const _0x3471ed of _0x20a2d8){const [_0x321c87,_0x80aedd,_0x19f83d,_0x4bf851,_0x53f23c,_0x7c5880]=_0x3471ed[_0x2e0ae8(0x1c9)](':');_0x4eac99[_0x2e0ae8(0x209)]({'startOffset':Number(_0x321c87),'endOffset':Number(_0x80aedd),'collapsed':_0x321c87===_0x80aedd,'isActive':_0x19f83d==='1','rangeType':_0x4bf851===_0x37a998[_0x2e0ae8(0x215)]?_0x37a998['TEXT']:_0x37a998[_0x2e0ae8(0x33c)],'segmentId':typeof _0x53f23c==_0x2e0ae8(0x30f)?String(_0x53f23c):'','segmentPage':Number(_0x7c5880!=null?_0x7c5880:-0x1)});}return _0x4eac99[_0x2e0ae8(0x2f8)](_0x31b3d0=>_0x31b3d0['isActive'])||(_0x4eac99[0x0]['isActive']=!0x0),_0x4eac99;}class He extends _0x1f7e53{constructor(){const _0x28bbc4=_0x2686e3;super(...arguments),_(this,'_collabCursorState$',new _0x289e43(null)),_(this,_0x28bbc4(0x2bb),this[_0x28bbc4(0x261)]['asObservable']());}[_0x2686e3(0x1c6)](_0x47b6fd){const _0x808da9=_0x2686e3,{unitID:_0x5e526a,memberID:_0xf2283d,textRanges:_0x28a467}=_0x47b6fd,_0xc19b4a=Tt(_0x28a467);if(_0xc19b4a==='')return;const _0xfc095c={'unitID':_0x5e526a,'memberID':_0xf2283d,'selection':_0xc19b4a};this[_0x808da9(0x261)]['next'](_0xfc095c);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2007d6,_0x1d3bbc,_0x4ed1a7,_0x4f9fee)=>{const _0x50be46=_0x2686e3;for(var _0x5208d2=_0x4f9fee>0x1?void 0x0:_0x4f9fee?hi(_0x1d3bbc,_0x4ed1a7):_0x1d3bbc,_0x454143=_0x2007d6[_0x50be46(0x29f)]-0x1,_0x440c50;_0x454143>=0x0;_0x454143--)(_0x440c50=_0x2007d6[_0x454143])&&(_0x5208d2=_0x440c50(_0x5208d2)||_0x5208d2);return _0x5208d2;},P=(_0x5a1cac,_0x899491)=>(_0x4ebc68,_0x43a1c5)=>_0x899491(_0x4ebc68,_0x43a1c5,_0x5a1cac);const di=0x12c,fi=0x64;let Ue=class extends _0x1f7e53{constructor(_0x2916b0,_0x4e4a6e,_0xf25a38,_0xe47315,_0x5e7ad6,_0x11843e,_0x42ca9c,_0x45643d,_0x2510f8){const _0x1a381e=_0x2686e3;super(),_(this,_0x1a381e(0x147),!0x1),_(this,'_init',!0x1),_(this,_0x1a381e(0x283),new _0x289e43(new Map())),_(this,_0x1a381e(0x330),this[_0x1a381e(0x283)]['asObservable']()),_(this,'_roomMembers$',new _0x289e43([])),_(this,_0x1a381e(0x232),this['_roomMembers$'][_0x1a381e(0x151)](_0x2e9050(di))),_(this,'_updateLocalCursor',_0x12f08e(_0x35b508=>{const _0x31d829=_0x1a381e,_0x33e0b6={'eventID':_0x361c1c['UPDATE_CURSOR'],'data':{'unitID':this[_0x31d829(0x26a)],'memberID':this[_0x31d829(0x1c1)][_0x31d829(0x341)](),'selection':Tt(_0x35b508)}};this[_0x31d829(0x1c1)][_0x31d829(0x2af)](_0x33e0b6,this[_0x31d829(0x26a)]);},fi)),(this[_0x1a381e(0x26a)]=_0x2916b0,this['_session']=_0x4e4a6e,this[_0x1a381e(0x2c3)]=_0xf25a38,this['_colorAssignService']=_0xe47315,this[_0x1a381e(0x169)]=_0x5e7ad6,this[_0x1a381e(0x2f1)]=_0x11843e,this['_transformService']=_0x42ca9c,this[_0x1a381e(0x245)]=_0x45643d,this[_0x1a381e(0x193)]=_0x2510f8);}get['cursorInfo'](){const _0x18eb70=_0x2686e3;return this[_0x18eb70(0x283)]['getValue']();}get[_0x2686e3(0x2ef)](){const _0x408eaa=_0x2686e3;return this[_0x408eaa(0x152)]['getValue']();}['dispose'](){const _0x2e14ef=_0x2686e3;super[_0x2e14ef(0x340)](),this[_0x2e14ef(0x283)][_0x2e14ef(0x207)](new Map()),this[_0x2e14ef(0x283)][_0x2e14ef(0x159)](),this['_roomMembers$'][_0x2e14ef(0x207)]([]),this[_0x2e14ef(0x152)]['complete']();}[_0x2686e3(0x1b3)](){const _0x520da5=_0x2686e3;this['_init']||(this['_init']=!0x0,this[_0x520da5(0x1c1)][_0x520da5(0x15b)][_0x520da5(0x151)](_0x130b87(this['dispose$']))[_0x520da5(0x200)](_0x38fdbe=>{const _0x48340e=_0x520da5;_0x38fdbe===_0x12e31d[_0x48340e(0x18e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x520da5(0x1c1)][_0x520da5(0x1b8)][_0x520da5(0x151)](_0x130b87(this[_0x520da5(0x241)]))[_0x520da5(0x200)](_0x4c750a=>{const _0x5afab9=_0x520da5,_0x202adf=_0x4c750a[_0x5afab9(0x26d)];_0x202adf===_0x361c1c[_0x5afab9(0x21f)]&&this['_onCursorUpdate'](_0x4c750a),_0x202adf===_0x361c1c['USERS_LEAVE']&&this[_0x5afab9(0x216)](_0x4c750a);}),this[_0x520da5(0x2a4)](this['_commandService'][_0x520da5(0x2ec)](_0x4e6b23=>{const _0x5c697a=_0x520da5,_0x28689c=_0x4e6b23[_0x5c697a(0x224)];_0x28689c!=null&&this[_0x5c697a(0x147)]&&_0x4e6b23['id']===_0x2aae30['id']&&_0x28689c[_0x5c697a(0x2fa)]===this[_0x5c697a(0x26a)]&&_0x28689c[_0x5c697a(0x27a)]===!0x1&&_0x28689c['ranges'][_0x5c697a(0x29f)]>0x0&&this['_updateLocalCursor'](_0x28689c[_0x5c697a(0x16d)]);})),this[_0x520da5(0x2f1)][_0x520da5(0x2bb)][_0x520da5(0x151)](_0x130b87(this['dispose$']))[_0x520da5(0x200)](_0x4934f7=>{const _0x2a52ca=_0x520da5;if((_0x4934f7==null?void 0x0:_0x4934f7[_0x2a52ca(0x26a)])!==this[_0x2a52ca(0x26a)])return;const _0x37a73c={'eventID':_0x361c1c[_0x2a52ca(0x21f)],'data':_0x4934f7};this['_onCursorUpdate'](_0x37a73c);}),this[_0x520da5(0x2a4)](this[_0x520da5(0x193)][_0x520da5(0x2ec)](_0x4cad4d=>{const _0x31af2a=_0x520da5;if(_0x4cad4d[_0x31af2a(0x224)]==null)return;const _0x2fcd7b=_0x4cad4d[_0x31af2a(0x224)];if(_0x4cad4d['id']!==_0x171929['id']||_0x2fcd7b[_0x31af2a(0x2fa)]!==this[_0x31af2a(0x26a)])return;const _0x7b58f8={'id':_0x31af2a(0x1b1),'params':_0x2fcd7b},_0x38a354=this[_0x31af2a(0x237)];for(const [_0x1180a1,_0x2d90a3]of _0x38a354){const _0x3e9885={'id':_0x31af2a(0x1b1),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2d90a3[_0x31af2a(0x16d)]}},_0x221e83=this['_transformService'][_0x31af2a(0x1a4)](_0x7b58f8,_0x3e9885,!0x1);if(_0x12f16e(_0x221e83))throw _0x221e83[_0x31af2a(0x31e)];_0x38a354[_0x31af2a(0x155)](_0x1180a1,{..._0x2d90a3,'ranges':_0x221e83[_0x31af2a(0x2ff)][_0x31af2a(0x224)][_0x31af2a(0x15d)]});}queueMicrotask(()=>{const _0x45bef1=_0x31af2a;this[_0x45bef1(0x283)][_0x45bef1(0x207)](_0x38a354);});})));}[_0x2686e3(0x141)](_0x4ba9d2){const _0x9684f8=_0x2686e3;var _0x30b3cc,_0x2c446f;const {memberID:_0x557e9c,selection:_0x2656e3}=_0x4ba9d2[_0x9684f8(0x31c)],_0x35e4cf=_i(_0x2656e3),_0x1775f9=(_0x2c446f=(_0x30b3cc=this['_memberService'][_0x9684f8(0x32c)](this[_0x9684f8(0x26a)],_0x557e9c))==null?void 0x0:_0x30b3cc[_0x9684f8(0x272)])!=null?_0x2c446f:'Unknown\x20user',_0x41a594={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x557e9c),'name':_0x1775f9,'ranges':_0x35e4cf},_0x53ff7b=this['cursorInfo'];_0x53ff7b[_0x9684f8(0x155)](_0x557e9c,_0x41a594),this[_0x9684f8(0x283)][_0x9684f8(0x207)](_0x53ff7b);}[_0x2686e3(0x216)](_0x7eed0a){const _0x47ff7a=_0x2686e3,{memberID:_0x356194}=_0x7eed0a['data'],_0x30e922=this[_0x47ff7a(0x237)];_0x30e922[_0x47ff7a(0x277)](_0x356194),this[_0x47ff7a(0x283)][_0x47ff7a(0x207)](_0x30e922);}[_0x2686e3(0x191)](){const _0x5d16a8=_0x2686e3;var _0x23f3ba;if(this[_0x5d16a8(0x147)]=!0x0,((_0x23f3ba=this[_0x5d16a8(0x245)]['getFocusedUnit']())==null?void 0x0:_0x23f3ba[_0x5d16a8(0x1d7)]())!==this['unitID'])return;const _0x2cc3b6=this[_0x5d16a8(0x2c3)][_0x5d16a8(0x1ad)](_0x4e4c68)[_0x5d16a8(0x2d6)]();Array[_0x5d16a8(0x150)](_0x2cc3b6)&&_0x2cc3b6[_0x5d16a8(0x29f)]>0x0&&this[_0x5d16a8(0x279)](_0x2cc3b6);}['_toggleOffline'](){const _0x383226=_0x2686e3;this[_0x383226(0x147)]=!0x1;}};Ue=ui([P(0x2,_0x437cbf(_0x212b2d)),P(0x3,_0x437cbf(ke)),P(0x4,_0x437cbf(_0xe44cda)),P(0x5,_0x437cbf(He)),P(0x6,_0x7488d5),P(0x7,_0x1fee0a),P(0x8,_0x3fdfe9)],Ue);var Si=Object[_0x2686e3(0x29c)],mi=(_0x22ecb1,_0x534d2e,_0x2707ae,_0xf84973)=>{const _0x48cfd6=_0x2686e3;for(var _0x46a78a=_0xf84973>0x1?void 0x0:_0xf84973?Si(_0x534d2e,_0x2707ae):_0x534d2e,_0x597bde=_0x22ecb1[_0x48cfd6(0x29f)]-0x1,_0x5e5efd;_0x597bde>=0x0;_0x597bde--)(_0x5e5efd=_0x22ecb1[_0x597bde])&&(_0x46a78a=_0x5e5efd(_0x46a78a)||_0x46a78a);return _0x46a78a;},x=(_0x5511fe,_0x30d242)=>(_0x2b949a,_0x3b359d)=>_0x30d242(_0x2b949a,_0x3b359d,_0x5511fe);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3fc1e0=[],_0x27f09d=!0x1;return _0x2f250f=>{const _0x18d658=_0x21db;_0x3fc1e0[_0x18d658(0x209)](_0x2f250f),_0x27f09d||(_0x27f09d=!0x0,setTimeout(()=>{const _0x5ccdca=_0x18d658;_0x3fc1e0[_0x5ccdca(0x164)](_0x4fb634=>_0x4fb634()),_0x3fc1e0=[],_0x27f09d=!0x1;}));};};let Me=class extends _0x1f7e53{constructor(_0x52d415,_0x1fd1da,_0x572427,_0x1ed04c,_0x19ed54,_0x3c2e95,_0x6537bc,_0x54e9a6){const _0x364cf5=_0x2686e3;super(),_(this,'_online',!0x1),_(this,_0x364cf5(0x2de),!0x1),_(this,_0x364cf5(0x283),new _0x289e43(new Map())),_(this,_0x364cf5(0x330),this[_0x364cf5(0x283)][_0x364cf5(0x2c2)]()),_(this,_0x364cf5(0x152),new _0x289e43([])),_(this,_0x364cf5(0x232),this[_0x364cf5(0x152)]['pipe'](_0x2e9050(Ii))),_(this,_0x364cf5(0x279),_0x12f08e((_0x55d00c,_0x5afc3e)=>{const _0x5bfdad=_0x364cf5,_0x22786e={'eventID':_0x361c1c[_0x5bfdad(0x21f)],'data':{'unitID':this[_0x5bfdad(0x26a)],'memberID':this[_0x5bfdad(0x1c1)][_0x5bfdad(0x341)](),'selection':_0x25f251(_0x55d00c,_0x5afc3e[_0x5bfdad(0x231)])}};this[_0x5bfdad(0x1c1)][_0x5bfdad(0x2af)](_0x22786e,this[_0x5bfdad(0x26a)]);},gi)),(this[_0x364cf5(0x26a)]=_0x52d415,this[_0x364cf5(0x1c1)]=_0x1fd1da,this[_0x364cf5(0x2c3)]=_0x572427,this['_colorAssignService']=_0x1ed04c,this[_0x364cf5(0x169)]=_0x19ed54,this['_univerInstanceService']=_0x3c2e95,this[_0x364cf5(0x193)]=_0x6537bc,this[_0x364cf5(0x2a7)]=_0x54e9a6);}get['cursorInfo'](){const _0x1c8e11=_0x2686e3;return this[_0x1c8e11(0x283)][_0x1c8e11(0x2b5)]();}get[_0x2686e3(0x2ef)](){const _0x3ddcd3=_0x2686e3;return this[_0x3ddcd3(0x152)][_0x3ddcd3(0x2b5)]();}[_0x2686e3(0x340)](){const _0x87cc77=_0x2686e3;super[_0x87cc77(0x340)](),this[_0x87cc77(0x283)][_0x87cc77(0x207)](new Map()),this[_0x87cc77(0x283)][_0x87cc77(0x159)](),this[_0x87cc77(0x152)][_0x87cc77(0x207)]([]),this[_0x87cc77(0x152)][_0x87cc77(0x159)]();}[_0x2686e3(0x1b3)](){const _0x5e8976=_0x2686e3;this['_init']||(this['_init']=!0x0,this[_0x5e8976(0x1c1)]['sessionStatus$']['pipe'](_0x130b87(this[_0x5e8976(0x241)]))['subscribe'](_0x5b1810=>{const _0x387b54=_0x5e8976;_0x5b1810===_0x12e31d['ONLINE']?this[_0x387b54(0x191)]():this[_0x387b54(0x1f9)]();}),this[_0x5e8976(0x1c1)][_0x5e8976(0x1b8)][_0x5e8976(0x151)](_0x130b87(this[_0x5e8976(0x241)]))[_0x5e8976(0x200)](_0x1a2e8e=>{const _0x136eda=_0x5e8976,_0x24918b=_0x1a2e8e['eventID'];_0x24918b===_0x361c1c[_0x136eda(0x21f)]&&this[_0x136eda(0x141)](_0x1a2e8e),_0x24918b===_0x361c1c[_0x136eda(0x328)]&&this[_0x136eda(0x216)](_0x1a2e8e);}),this[_0x5e8976(0x1d3)](),this[_0x5e8976(0x2a4)](this[_0x5e8976(0x193)][_0x5e8976(0x2ec)](_0x55173d=>{const _0x277bcc=_0x5e8976;if(this['_online']&&_0x55173d['id']===_0x1d1094['id']&&_0x55173d['params'][_0x277bcc(0x2fa)]===this[_0x277bcc(0x26a)]){const _0x230330=_0x55173d[_0x277bcc(0x224)];this['_updateLocalCursor'](_0x230330['subUnitId'],_0x230330[_0x277bcc(0x1af)][0x0]);}})));}[_0x2686e3(0x141)](_0x529302){const _0x27448f=_0x2686e3;var _0x47486f,_0x492ec1;const {memberID:_0x17d4c3,selection:_0x57c5e5}=_0x529302[_0x27448f(0x31c)],{sheetName:_0x47556b,range:_0x18d015}=_0x23a41e(_0x57c5e5),_0x541bb9={'name':(_0x492ec1=(_0x47486f=this[_0x27448f(0x169)][_0x27448f(0x32c)](this[_0x27448f(0x26a)],_0x17d4c3))==null?void 0x0:_0x47486f['name'])!=null?_0x492ec1:_0x27448f(0x18a),'range':this[_0x27448f(0x1e7)](_0x47556b,_0x18d015),'sheetID':_0x47556b,'color':this[_0x27448f(0x213)][_0x27448f(0x1a5)](_0x17d4c3),'selection':_0x57c5e5},_0x23e210=this[_0x27448f(0x237)];_0x23e210[_0x27448f(0x155)](_0x17d4c3,_0x541bb9),this['_cursorInfo$']['next'](_0x23e210);}[_0x2686e3(0x216)](_0x3e0177){const _0x8fb8b0=_0x2686e3,{memberID:_0x5a672f}=_0x3e0177[_0x8fb8b0(0x31c)],_0x1f6a6f=this['cursorInfo'];_0x1f6a6f[_0x8fb8b0(0x277)](_0x5a672f),this[_0x8fb8b0(0x283)][_0x8fb8b0(0x207)](_0x1f6a6f);}['_getMergeRange'](_0x392bbb,_0x3cabfc){const _0x323796=_0x2686e3;var _0x2e2b78,_0x3b8d98;const _0x4a2f67=(_0x3b8d98=(_0x2e2b78=this[_0x323796(0x245)][_0x323796(0x13d)](this[_0x323796(0x26a)]))==null?void 0x0:_0x2e2b78['getSheetBySheetId'](_0x392bbb))==null?void 0x0:_0x3b8d98['getMergeData']();return(_0x4a2f67==null?void 0x0:_0x4a2f67[_0x323796(0x280)](_0x16ed92=>_0xd0e12c['contains'](_0x16ed92,_0x3cabfc)))||_0x3cabfc;}[_0x2686e3(0x1d3)](){const _0x45c7d5=_0x2686e3,_0x32848a=new _0x2e91f3(),_0x120184=vi(),_0x52a5e9=()=>{const _0x1c2864=_0x21db;_0x32848a[_0x1c2864(0x340)]();const _0x459bc0=(_0x5125f0,_0x421449,_0x24d6af,_0x2283a3)=>{const _0x12fb6f=_0x1c2864;let _0x340b91=[];switch(_0x5125f0['id']){case _0x20cb78[_0x12fb6f(0x2be)]:{_0x340b91=_0xebc12c(_0x5125f0,_0x2283a3);break;}case _0x20cb78[_0x12fb6f(0x25b)]:{_0x340b91=_0x3e09b1(_0x5125f0,_0x2283a3);break;}case _0x20cb78[_0x12fb6f(0x29d)]:{_0x340b91=_0x4d6fa0(_0x5125f0,_0x2283a3);break;}case _0x20cb78['InsertRangeMoveDownCommandId']:{_0x340b91=_0x147551(_0x5125f0,_0x2283a3);break;}case _0x20cb78['InsertRangeMoveRightCommandId']:{_0x340b91=_0x40f24b(_0x5125f0,_0x2283a3);break;}case _0x20cb78[_0x12fb6f(0x33e)]:{_0x340b91=_0x30a66c(_0x5125f0,_0x2283a3);break;}case _0x20cb78[_0x12fb6f(0x23f)]:{_0x340b91=_0xfb3691(_0x5125f0,_0x2283a3);break;}case _0x20cb78['RemoveColCommandId']:{_0x340b91=_0x4b5a76(_0x5125f0,_0x2283a3);break;}case _0x20cb78[_0x12fb6f(0x305)]:{_0x340b91=_0x1e0c9c(_0x5125f0,_0x2283a3);break;}}const _0x384c2d=_0x22f0c4(_0x340b91,_0x2283a3),_0x1bf4de=this[_0x12fb6f(0x237)][_0x12fb6f(0x1ad)](_0x421449);if(_0x1bf4de&&_0x384c2d){const _0x5af413={..._0x1bf4de,'range':_0x384c2d};this[_0x12fb6f(0x237)]['set'](_0x421449,_0x5af413),_0x120184(()=>{const _0x733b0d=_0x12fb6f,_0x191d38=this[_0x733b0d(0x2a7)]['registerRefRange'](_0x384c2d,_0x18bd13=>(_0x191d38[_0x733b0d(0x340)](),_0x459bc0(_0x18bd13,_0x421449,_0x24d6af,_0x384c2d)));_0x32848a[_0x733b0d(0x291)](_0x191d38);});}return{'redos':[],'undos':[]};};this[_0x1c2864(0x237)]['forEach']((_0x2b353d,_0x233468)=>{const _0x36b14f=_0x1c2864,{range:_0x33e273,sheetID:_0x4a5365}=_0x2b353d,_0x2ea97a=this[_0x36b14f(0x2a7)][_0x36b14f(0x221)](_0x33e273,_0x32c97e=>(_0x2ea97a[_0x36b14f(0x340)](),_0x459bc0(_0x32c97e,_0x233468,_0x4a5365,_0x33e273)));_0x32848a[_0x36b14f(0x291)](_0x2ea97a);});};this[_0x45c7d5(0x2a4)](_0x1e1ccf(this[_0x45c7d5(0x283)]['subscribe'](()=>{_0x52a5e9();})));}[_0x2686e3(0x191)](){const _0x27bc8e=_0x2686e3;var _0x43d26f,_0x323e36;if(this[_0x27bc8e(0x147)]=!0x0,((_0x43d26f=this[_0x27bc8e(0x245)]['getFocusedUnit']())==null?void 0x0:_0x43d26f[_0x27bc8e(0x1d7)]())!==this[_0x27bc8e(0x26a)])return;const _0x4ae34f=(_0x323e36=this[_0x27bc8e(0x2c3)][_0x27bc8e(0x1ad)](_0x32eade)['getCurrentSelections']())==null?void 0x0:_0x323e36[0x0],_0x449b8e=this[_0x27bc8e(0x245)][_0x27bc8e(0x314)](_0x259f9d[_0x27bc8e(0x1aa)])[_0x27bc8e(0x2c7)]();_0x4ae34f&&_0x449b8e&&this[_0x27bc8e(0x279)](_0x449b8e[_0x27bc8e(0x244)](),_0x4ae34f);}[_0x2686e3(0x1f9)](){const _0x5d0756=_0x2686e3;this[_0x5d0756(0x147)]=!0x1;}};Me=mi([x(0x2,_0x437cbf(_0x212b2d)),x(0x3,_0x437cbf(ke)),x(0x4,_0x437cbf(_0xe44cda)),x(0x5,_0x1fee0a),x(0x6,_0x3fdfe9),x(0x7,_0x437cbf(_0x47d053))],Me);var pi=Object[_0x2686e3(0x29c)],Ci=(_0x455e43,_0x1e42ec,_0x5918fd,_0xe627cf)=>{for(var _0x955bd4=_0xe627cf>0x1?void 0x0:_0xe627cf?pi(_0x1e42ec,_0x5918fd):_0x1e42ec,_0x52c881=_0x455e43['length']-0x1,_0x5f1c13;_0x52c881>=0x0;_0x52c881--)(_0x5f1c13=_0x455e43[_0x52c881])&&(_0x955bd4=_0x5f1c13(_0x955bd4)||_0x955bd4);return _0x955bd4;},Se=(_0x212bbf,_0x4c925d)=>(_0x61506,_0x1b2c09)=>_0x4c925d(_0x61506,_0x1b2c09,_0x212bbf);let H=class extends _0x1f7e53{constructor(_0x33dddd,_0x1cbb2d,_0x13f26b){const _0x58d49f=_0x2686e3;super(),_(this,_0x58d49f(0x1ee),new Map()),_(this,_0x58d49f(0x243),new _0x43d19()),(this[_0x58d49f(0x245)]=_0x33dddd,this[_0x58d49f(0x2c3)]=_0x1cbb2d,this[_0x58d49f(0x285)]=_0x13f26b,this[_0x58d49f(0x2de)]());}[_0x2686e3(0x340)](){const _0x4d1fd7=_0x2686e3;super[_0x4d1fd7(0x340)](),this[_0x4d1fd7(0x243)][_0x4d1fd7(0x159)](),this[_0x4d1fd7(0x1ee)][_0x4d1fd7(0x164)](_0x5bcc4d=>_0x5bcc4d[_0x4d1fd7(0x340)]());}[_0x2686e3(0x1b7)](_0x2dee16){const _0x561c48=_0x2686e3;return this[_0x561c48(0x1ee)][_0x561c48(0x33d)](_0x2dee16)?this[_0x561c48(0x1ee)]['get'](_0x2dee16)[_0x561c48(0x330)]:this[_0x561c48(0x243)][_0x561c48(0x151)](_0x42bebe(_0x453e50=>_0x453e50[_0x561c48(0x26a)]===_0x2dee16),_0x54586f(_0x326909=>_0x326909[_0x561c48(0x330)]));}[_0x2686e3(0x2de)](){const _0x52c684=_0x2686e3;this['_univerInstanceService'][_0x52c684(0x15c)](_0x259f9d[_0x52c684(0x1aa)])[_0x52c684(0x151)](_0x130b87(this[_0x52c684(0x241)]))[_0x52c684(0x200)](async _0x1741ab=>{const _0x3cce3e=_0x52c684,_0xef678f=_0x1741ab[_0x3cce3e(0x1d7)](),_0x269878=await this[_0x3cce3e(0x176)](_0xef678f);this['_entityInit$'][_0x3cce3e(0x207)](_0x269878),this[_0x3cce3e(0x1ee)][_0x3cce3e(0x155)](_0xef678f,_0x269878);}),this[_0x52c684(0x245)]['getTypeOfUnitAdded$'](_0x259f9d[_0x52c684(0x1bb)])[_0x52c684(0x151)](_0x130b87(this[_0x52c684(0x241)]))[_0x52c684(0x151)](_0x42bebe(_0x2d14bf=>!_0x2d14bf['getUnitId']()['startsWith']('__')))[_0x52c684(0x200)](async _0x10fe6d=>{const _0x3109d6=_0x52c684,_0x58089c=_0x10fe6d['getUnitId'](),_0x27f61a=await this[_0x3109d6(0x288)](_0x58089c);this['_entityInit$'][_0x3109d6(0x207)](_0x27f61a),this[_0x3109d6(0x1ee)][_0x3109d6(0x155)](_0x58089c,_0x27f61a);}),_0x4261a5(this[_0x52c684(0x245)][_0x52c684(0x1d6)](_0x259f9d[_0x52c684(0x1bb)]),this[_0x52c684(0x245)]['getTypeOfUnitDisposed$'](_0x259f9d[_0x52c684(0x1aa)]))[_0x52c684(0x151)](_0x130b87(this[_0x52c684(0x241)]))[_0x52c684(0x200)](_0x572978=>{const _0x4a6e4c=_0x52c684,_0x5b419b=_0x572978[_0x4a6e4c(0x1d7)](),_0x79d464=this[_0x4a6e4c(0x1ee)][_0x4a6e4c(0x1ad)](_0x5b419b);_0x79d464&&(_0x79d464[_0x4a6e4c(0x340)](),this[_0x4a6e4c(0x1ee)][_0x4a6e4c(0x277)](_0x5b419b));});}async['_startSheetCollabCursor'](_0x5d5d54){const _0xc876cf=_0x2686e3,_0x508235=await this[_0xc876cf(0x285)][_0xc876cf(0x292)](_0x5d5d54),_0x5cd2cb=this[_0xc876cf(0x2c3)][_0xc876cf(0x186)](Me,_0x5d5d54,_0x508235);return _0x5cd2cb[_0xc876cf(0x1b3)](),_0x5cd2cb;}async[_0x2686e3(0x288)](_0xda3ded){const _0x1eb1e3=_0x2686e3,_0x218178=await this[_0x1eb1e3(0x285)][_0x1eb1e3(0x292)](_0xda3ded),_0x43235f=this['_injector']['createInstance'](Ue,_0xda3ded,_0x218178);return _0x43235f['init'](),_0x43235f;}};H=Ci([Se(0x0,_0x1fee0a),Se(0x1,_0x437cbf(_0x212b2d)),Se(0x2,_0x437cbf(_0x593aab))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0xb21048,_0x2868d3){const _0x42804=_0x2686e3;let {radius:_0x2f69f7,width:_0x16d9a6,height:_0x2cadd6}=_0x2868d3;_0x2f69f7=_0x2f69f7!=null?_0x2f69f7:0x0,_0x16d9a6=_0x16d9a6!=null?_0x16d9a6:0x1e,_0x2cadd6=_0x2cadd6!=null?_0x2cadd6:0x1e;let _0x210947=0x0,_0x1ed1c5=0x0,_0x349e3e=0x0;_0x210947=_0x1ed1c5=_0x349e3e=Math['min'](_0x2f69f7,_0x16d9a6/0x2,_0x2cadd6/0x2),_0xb21048[_0x42804(0x2d5)](),_0xb21048[_0x42804(0x140)](_0x210947,0x0),_0xb21048[_0x42804(0x1f6)](_0x16d9a6-_0x1ed1c5,0x0),_0xb21048[_0x42804(0x14f)](_0x16d9a6-_0x1ed1c5,_0x1ed1c5,_0x1ed1c5,Math['PI']*0x3/0x2,0x0,!0x1),_0xb21048['lineTo'](_0x16d9a6,_0x2cadd6-_0x349e3e),_0xb21048[_0x42804(0x14f)](_0x16d9a6-_0x349e3e,_0x2cadd6-_0x349e3e,_0x349e3e,0x0,Math['PI']/0x2,!0x1),_0xb21048[_0x42804(0x1f6)](0x0,_0x2cadd6),_0xb21048[_0x42804(0x1f6)](0x0,_0x210947),_0xb21048[_0x42804(0x14f)](_0x210947,_0x210947,_0x210947,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb21048[_0x42804(0x32b)](),_0x2868d3['fill']&&(_0xb21048['save'](),_0xb21048[_0x42804(0x1ce)]=_0x2868d3[_0x42804(0x315)],_0x2868d3[_0x42804(0x19d)]===_0x42804(0x203)?_0xb21048[_0x42804(0x315)](_0x42804(0x203)):_0xb21048[_0x42804(0x315)](),_0xb21048[_0x42804(0x309)]());}class he extends _0x510fce{constructor(_0x15d505,_0x1d58b5){const _0xbc0a08=_0x2686e3;super(_0x15d505,_0x1d58b5),_(this,_0xbc0a08(0x265)),_(this,_0xbc0a08(0x17f)),(this[_0xbc0a08(0x265)]=_0x1d58b5==null?void 0x0:_0x1d58b5[_0xbc0a08(0x265)],this[_0xbc0a08(0x17f)]=_0x1d58b5==null?void 0x0:_0x1d58b5[_0xbc0a08(0x17f)]);}static[_0x2686e3(0x2e6)](_0x54f586,_0x51bf23){const _0x44a394=_0x2686e3,{text:_0x105053,color:_0x3aff93}=_0x51bf23;_0x54f586[_0x44a394(0x1a1)](),_0x54f586[_0x44a394(0x2fc)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x53eb5d=_0x54f586[_0x44a394(0x30e)](_0x105053)['width'],_0x555cb6=Math[_0x44a394(0x208)](_0x53eb5d+0x2*me,Qe);Oi(_0x54f586,{'height':ee,'radius':0x4,'width':_0x555cb6,'fill':_0x3aff93}),_0x54f586[_0x44a394(0x1ce)]=_0x44a394(0x332);const _0x4d1496=me,_0x48c3be=ee-Ei,_0x2052bd=Qe-0x2*me;if(_0x53eb5d>_0x2052bd){let _0x5721fb='',_0x4eada0=0x0;for(const _0x1899b1 of _0x105053){const _0x1e34ef=_0x54f586[_0x44a394(0x30e)](_0x1899b1)['width'];if(_0x4eada0+_0x1e34ef<=_0x2052bd-_0x54f586[_0x44a394(0x30e)](_0x44a394(0x306))[_0x44a394(0x2cc)])_0x5721fb+=_0x1899b1,_0x4eada0+=_0x1e34ef;else{_0x5721fb+=_0x44a394(0x306);break;}}_0x54f586['fillText'](_0x5721fb,_0x4d1496,_0x48c3be);}else _0x54f586[_0x44a394(0x19f)](_0x105053,_0x4d1496,_0x48c3be);_0x54f586[_0x44a394(0x309)]();}[_0x2686e3(0x225)](_0x22d09f){he['drawWith'](_0x22d09f,this);}}const Ie=_0x2686e3(0x210),bi=_0x2686e3(0x286),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x2686e3(0x1b0);class qe{constructor(_0x14e315,_0x423e56,_0x148ace,_0x37690c){const _0x5143da=_0x2686e3;_(this,'_shapes',[]),_(this,_0x5143da(0x30c),null),_(this,_0x5143da(0x2ba),null),_(this,_0x5143da(0x1ba),null),_(this,_0x5143da(0x184),null),_(this,_0x5143da(0x18b),null),(this[_0x5143da(0x194)]=_0x14e315,this[_0x5143da(0x338)]=_0x423e56,this[_0x5143da(0x32a)]=_0x148ace,this[_0x5143da(0x1b4)]=_0x37690c,this[_0x5143da(0x2df)]());}set[_0x2686e3(0x26f)](_0x4579ca){const _0x2b0bac=_0x2686e3;_0x4579ca?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x2b0bac(0x2ba)]&&this['_textBubble']['show']()):(this[_0x2b0bac(0x1ba)]&&this[_0x2b0bac(0x1ba)][_0x2b0bac(0x31a)](),this[_0x2b0bac(0x2ba)]&&this[_0x2b0bac(0x2ba)][_0x2b0bac(0x28a)]());}[_0x2686e3(0x340)](){const _0x1da6df=_0x2686e3;for(const _0x4e3442 of this[_0x1da6df(0x258)])_0x4e3442[_0x1da6df(0x340)]();this[_0x1da6df(0x2ba)]&&this[_0x1da6df(0x2ba)]['dispose'](),this['_anchorDot']&&this[_0x1da6df(0x1ba)]['dispose'](),this[_0x1da6df(0x30c)]&&this[_0x1da6df(0x30c)][_0x1da6df(0x340)](),this[_0x1da6df(0x18b)]&&this['_eventUnsubscribe']();}[_0x2686e3(0x2df)](){const _0x2d069d=_0x2686e3;var _0x54d248;const {_docSkeleton:_0x4769a0,_document:_0x2acc3a}=this,{color:_0x1a7f3f,name:_0x2c8e6d,ranges:_0x35e08c}=this[_0x2d069d(0x194)],_0x20b6a6=_0x2acc3a[_0x2d069d(0x254)](),{docsLeft:_0x1f67e5,docsTop:_0x3eb56c}=_0x20b6a6,_0x1f6c77=new _0x414921(_0x20b6a6,_0x4769a0);for(const {startOffset:_0x19fece,endOffset:_0x466783,rangeType:_0xb8af5b,segmentId:_0x24d3f7,segmentPage:_0xe209cf,collapsed:_0x3d3b45,isActive:_0x476509}of _0x35e08c){const _0xbe53ae=_0x4769a0['findNodePositionByCharIndex'](_0x19fece,!0x0,_0x24d3f7,_0xe209cf);let _0x15090c=_0x4769a0[_0x2d069d(0x28c)](_0x466783,!0x0,_0x24d3f7,_0xe209cf);if(_0x15090c==null&&(_0x15090c=_0x4769a0[_0x2d069d(0x28c)](_0x466783-0x1,!0x1,_0x24d3f7,_0xe209cf)),_0x476509){const {contentBoxPointGroup:_0x47a972}=_0x1f6c77[_0x2d069d(0x2ce)](_0x15090c,_0x15090c);if(_0x47a972[_0x2d069d(0x29f)]===0x0)continue;this[_0x2d069d(0x170)](_0x1a7f3f,_0x47a972,_0x1f67e5,_0x3eb56c,_0x2c8e6d),this['_eventUnsubscribe']=this['_handleHover']();}if(_0xbe53ae&&_0x15090c){if(_0xb8af5b===_0x37a998['RECT']){const _0x1f588a=new _0x3bc5a1(_0x20b6a6,_0x4769a0),{pointGroup:_0x221295}=(_0x54d248=_0x1f588a[_0x2d069d(0x2ce)](_0xbe53ae,_0x15090c))!=null?_0x54d248:{};if(_0x221295==null||_0x221295['length']===0x0)continue;this[_0x2d069d(0x29b)](_0x1a7f3f,_0x221295,_0x1f67e5,_0x3eb56c);}else{if(!_0x3d3b45){const {borderBoxPointGroup:_0x2afc49}=_0x1f6c77['getRangePointData'](_0xbe53ae,_0x15090c);if(_0x2afc49[_0x2d069d(0x29f)]===0x0)continue;this[_0x2d069d(0x2c6)](_0x1a7f3f,_0x2afc49,_0x1f67e5,_0x3eb56c);}}}}}[_0x2686e3(0x170)](_0x4034e3,_0x187ee2,_0x52e74a,_0x23da8a,_0x4a223a){const _0x4402b3=_0x2686e3,_0x30cb6c=this[_0x4402b3(0x177)](_0x187ee2),{left:_0x511a34,top:_0x4139dc,height:_0x108c74}=_0x30cb6c,_0x4240ee=this[_0x4402b3(0x312)](),_0x4f6a57=Di/_0x4240ee,_0x37283b=new _0x416255(Ie+_0x457e3f[_0x4402b3(0x23b)](X),{'left':_0x511a34+_0x52e74a-_0x4f6a57,'top':_0x4139dc+_0x23da8a,'height':_0x108c74,'width':Ri,'fill':_0x4034e3||_0x5c4401(_0x2f22cd[_0x4402b3(0x20a)],0x0),'strokeWidth':_0x4f6a57,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x37283b,this[_0x4402b3(0x338)]['addObject'](_0x37283b,_0x2c648c);const _0x1e8aff=new _0x416255(Ie+_0x457e3f['generateRandomId'](X),{'left':_0x511a34+_0x52e74a-_0x4f6a57,'top':_0x4139dc+_0x23da8a-ge/0x2,'height':ge,'width':ge,'fill':_0x4034e3||_0x5c4401(_0x2f22cd['black'],0x0),'strokeWidth':0x0,'stroke':_0x4034e3||_0x5c4401(_0x2f22cd[_0x4402b3(0x20a)],0x0),'evented':!0x1});this[_0x4402b3(0x1ba)]=_0x1e8aff,this[_0x4402b3(0x338)][_0x4402b3(0x1cb)](_0x1e8aff,_0x2c648c);const _0x5cc2d2=new he(Ie+_0x457e3f[_0x4402b3(0x23b)](X),{'left':_0x511a34+_0x52e74a-_0x4f6a57,'top':_0x4139dc+_0x23da8a-ee,'text':_0x4a223a,'color':_0x4034e3});this[_0x4402b3(0x2ba)]=_0x5cc2d2,this[_0x4402b3(0x338)][_0x4402b3(0x1cb)](_0x5cc2d2,_0x2c648c),this[_0x4402b3(0x26f)]=!0x1;}[_0x2686e3(0x2b4)](){const _0x3107f1=_0x2686e3,_0x58b22f=this['_anchor'][_0x3107f1(0x20b)][_0x3107f1(0x189)](()=>{const _0x4a42f1=_0x3107f1;this[_0x4a42f1(0x26f)]=!0x0;}),_0x352bc7=this[_0x3107f1(0x30c)][_0x3107f1(0x297)][_0x3107f1(0x189)](()=>{const _0x4d1a8b=_0x3107f1;this['_hideTimer']&&clearTimeout(this[_0x4d1a8b(0x184)]),this[_0x4d1a8b(0x184)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x124c62=_0x3107f1;_0x58b22f['unsubscribe'](),_0x352bc7[_0x124c62(0x22c)]();};}[_0x2686e3(0x2c6)](_0x346869,_0x948ba9,_0x37e009,_0x5aeae7){const _0x4aef9f=_0x2686e3,_0x4af66f=new _0x265c98(_0x346869)[_0x4aef9f(0x2d8)](0.2)[_0x4aef9f(0x135)](),_0x4f45bf=new _0x271538(bi+_0x457e3f[_0x4aef9f(0x23b)](X),{'pointsGroup':_0x948ba9,'fill':_0x4af66f||_0x5c4401(_0x2f22cd['black'],0.2),'left':_0x37e009,'top':_0x5aeae7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4aef9f(0x258)][_0x4aef9f(0x209)](_0x4f45bf),this[_0x4aef9f(0x338)][_0x4aef9f(0x1cb)](_0x4f45bf,_0x2c648c);}[_0x2686e3(0x29b)](_0x3ac3b5,_0x3dc3b9,_0x595119,_0x5c81aa){const _0x346e26=_0x2686e3,_0x9f48ba=new _0x265c98(_0x3ac3b5)[_0x346e26(0x2d8)](0.2)[_0x346e26(0x135)](),_0x273c6f=new _0x271538(Ti+_0x457e3f[_0x346e26(0x23b)](X),{'pointsGroup':_0x3dc3b9,'fill':_0x9f48ba||_0x5c4401(_0x2f22cd[_0x346e26(0x20a)],0.2),'left':_0x595119,'top':_0x5c81aa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x346e26(0x258)][_0x346e26(0x209)](_0x273c6f),this[_0x346e26(0x338)][_0x346e26(0x1cb)](_0x273c6f,_0x2c648c);}[_0x2686e3(0x177)](_0x2ee010){const _0x5bcbbd=_0x2ee010[0x0],_0x29dd71=_0x5bcbbd[0x0],_0x5578ba=_0x5bcbbd[0x2],{x:_0x85603b,y:_0x1687bd}=_0x29dd71,{x:_0x165b7a,y:_0x22c4a8}=_0x5578ba;return{'left':_0x85603b,'top':_0x1687bd,'width':_0x165b7a-_0x85603b,'height':_0x22c4a8-_0x1687bd};}[_0x2686e3(0x312)](){const _0x34b47d=_0x2686e3,{scaleX:_0x31cedf,scaleY:_0x178e37}=this[_0x34b47d(0x338)]['getAncestorScale']();return Math[_0x34b47d(0x2d0)](_0x31cedf,_0x178e37);}}var Ui=Object[_0x2686e3(0x29c)],Mi=(_0x2911db,_0x1dcbeb,_0x3b3dd9,_0x3b6654)=>{const _0x4cd710=_0x2686e3;for(var _0x5907b7=_0x3b6654>0x1?void 0x0:_0x3b6654?Ui(_0x1dcbeb,_0x3b3dd9):_0x1dcbeb,_0x3b1581=_0x2911db[_0x4cd710(0x29f)]-0x1,_0xa86d9f;_0x3b1581>=0x0;_0x3b1581--)(_0xa86d9f=_0x2911db[_0x3b1581])&&(_0x5907b7=_0xa86d9f(_0x5907b7)||_0x5907b7);return _0x5907b7;},Z=(_0x59f1fe,_0x752cb6)=>(_0x440df6,_0x2ef2a9)=>_0x752cb6(_0x440df6,_0x2ef2a9,_0x59f1fe);let Le=class extends _0x1f7e53{constructor(_0x806dbd,_0x3809b4,_0x3269d7,_0x74214b,_0x594ac6){const _0x17ee8d=_0x2686e3;super(),_(this,_0x17ee8d(0x240),[]),_(this,_0x17ee8d(0x2d7),[]),(this[_0x17ee8d(0x2a1)]=_0x806dbd,this[_0x17ee8d(0x1b6)]=_0x3809b4,this[_0x17ee8d(0x311)]=_0x3269d7,this[_0x17ee8d(0x193)]=_0x74214b,this[_0x17ee8d(0x1ac)]=_0x594ac6,this[_0x17ee8d(0x2de)]());}[_0x2686e3(0x2de)](){const _0x484340=_0x2686e3,_0x5b87ab=this['_context'][_0x484340(0x2fa)],_0x378782=this['_docSkeletonManagerService'];this[_0x484340(0x2a4)](_0x49c74b([this['_collabCursorController'][_0x484340(0x1b7)](_0x5b87ab),this[_0x484340(0x1ac)][_0x484340(0x331)]])[_0x484340(0x151)](_0x3fe3dd(([_0x2cec77,_0x4f84e5])=>({'skeleton':_0x378782[_0x484340(0x2cf)](),'cursors':[..._0x2cec77[_0x484340(0x20c)]()][_0x484340(0x20d)](_0x5d7e99=>({..._0x5d7e99,'color':this['_themeService'][_0x484340(0x2ad)](_0x5d7e99[_0x484340(0x265)])}))})))[_0x484340(0x200)](_0x234540=>{const _0x4631fd=_0x484340;if(this[_0x4631fd(0x1a7)](),_0x234540){const {skeleton:_0xf1473b,cursors:_0xc09fe4}=_0x234540;this[_0x4631fd(0x2bc)](_0xf1473b,_0xc09fe4);}})),this[_0x484340(0x165)](),this[_0x484340(0x2d4)]();}[_0x2686e3(0x2bc)](_0xfc6850,_0x4cabc3){const _0x3ff37c=_0x2686e3,{scene:_0x26fda5,mainComponent:_0x4ea2d0}=this[_0x3ff37c(0x2a1)],_0x5b6afb=_0x4cabc3[_0x3ff37c(0x156)](_0x22f10d=>new qe(_0x22f10d,_0x26fda5,_0xfc6850,_0x4ea2d0));this[_0x3ff37c(0x240)]=_0x5b6afb,this[_0x3ff37c(0x2d7)]=_0x4cabc3;}[_0x2686e3(0x228)](){const _0x2d208e=_0x2686e3;this[_0x2d208e(0x1a7)]();const {scene:_0xbaa6ba,mainComponent:_0x2ae7b9}=this[_0x2d208e(0x2a1)],_0x1d2a35=this[_0x2d208e(0x1b6)][_0x2d208e(0x2cf)](),_0x31409b=this[_0x2d208e(0x2d7)][_0x2d208e(0x156)](_0xae55f=>new qe(_0xae55f,_0xbaa6ba,_0x1d2a35,_0x2ae7b9));this['_cursorShapes']=_0x31409b;}[_0x2686e3(0x1a7)](){const _0x31aea7=_0x2686e3;this[_0x31aea7(0x240)][_0x31aea7(0x164)](_0x1a6b0e=>_0x1a6b0e[_0x31aea7(0x340)]()),this[_0x31aea7(0x240)]=[];}[_0x2686e3(0x2d4)](){const _0x5eebcb=_0x2686e3,_0xa5e3ff=[_0x285cb0['id']];this[_0x5eebcb(0x2a4)](this[_0x5eebcb(0x193)][_0x5eebcb(0x2ec)](_0x46af36=>{const _0x28165d=_0x5eebcb;_0xa5e3ff[_0x28165d(0x206)](_0x46af36['id'])&&_0x46af36[_0x28165d(0x224)][_0x28165d(0x2fa)]===this[_0x28165d(0x2a1)][_0x28165d(0x2fa)]&&this['_refreshCollabCursors']();}));}[_0x2686e3(0x165)](){const _0x224951=_0x2686e3;this['disposeWithMe'](_0x8ac6d(this[_0x224951(0x2a1)][_0x224951(0x293)][_0x224951(0x1ca)])[_0x224951(0x151)](_0x58fae0(_0x7b4da=>_0x7b4da[_0x224951(0x13c)]===_0x551789['resize']),_0x1fa051(0x10))[_0x224951(0x200)](()=>{const _0x226881=_0x224951;this[_0x226881(0x228)]();}));}};Le=Mi([Z(0x1,_0x437cbf(_0x1f44ba)),Z(0x2,_0x437cbf(H)),Z(0x3,_0x3fdfe9),Z(0x4,_0x437cbf(_0x420883))],Le);const Li=0x1,Pi=1.5;class wi extends _0x510fce{constructor(_0x5d27e7,_0x31bec6){const _0x912ce8=_0x2686e3;super(_0x5d27e7,_0x31bec6),_(this,_0x912ce8(0x139)),_(this,_0x912ce8(0x32d),!0x1),_(this,'_range'),_(this,_0x912ce8(0x219),''),_(this,'_labelPosition',_0x912ce8(0x235)),_(this,_0x912ce8(0x2ed)),(_0x31bec6&&this[_0x912ce8(0x322)](_0x31bec6),this[_0x912ce8(0x20b)][_0x912ce8(0x189)](()=>this[_0x912ce8(0x322)]({'hovered':!0x0})),this[_0x912ce8(0x297)][_0x912ce8(0x189)](()=>this[_0x912ce8(0x322)]({'hovered':!0x1})));}[_0x2686e3(0x322)](_0x5b4967){const _0x833c1e=_0x2686e3;var _0x3e5beb,_0xf02c4b,_0x1e94aa,_0x3cba69,_0x3c8966,_0x3e6c3a;this['_color']=(_0x3e5beb=_0x5b4967[_0x833c1e(0x265)])!=null?_0x3e5beb:this[_0x833c1e(0x139)],this[_0x833c1e(0x32d)]=(_0xf02c4b=_0x5b4967[_0x833c1e(0x2bd)])!=null?_0xf02c4b:this[_0x833c1e(0x32d)],this[_0x833c1e(0x143)]=(_0x1e94aa=_0x5b4967['range'])!=null?_0x1e94aa:this[_0x833c1e(0x143)],this[_0x833c1e(0x219)]=(_0x3cba69=_0x5b4967['name'])!=null?_0x3cba69:this[_0x833c1e(0x219)],this['_labelPosition']=(_0x3c8966=_0x5b4967['labelPosition'])!=null?_0x3c8966:this[_0x833c1e(0x1a2)],this[_0x833c1e(0x2ed)]=(_0x3e6c3a=_0x5b4967['backgroundColor'])!=null?_0x3e6c3a:this['_backgroundColor'],this[_0x833c1e(0x1d0)]({'width':_0x5b4967[_0x833c1e(0x2cc)],'height':_0x5b4967[_0x833c1e(0x2b7)]});}[_0x2686e3(0x2f5)](_0x2f016c){const _0x4350dd=_0x2686e3,{row:_0x1482d7,column:_0x3b2e7a}=_0x2f016c;if(_0x1482d7>=this[_0x4350dd(0x143)][_0x4350dd(0x19c)]&&_0x1482d7<=this[_0x4350dd(0x143)]['endRow']&&_0x3b2e7a>=this[_0x4350dd(0x143)][_0x4350dd(0x15f)]&&_0x3b2e7a<=this[_0x4350dd(0x143)][_0x4350dd(0x234)]){this[_0x4350dd(0x322)]({'hovered':!0x0});return;}this[_0x4350dd(0x322)]({'hovered':!0x1});}[_0x2686e3(0x1f2)](_0x2f7cc0){return!0x1;}[_0x2686e3(0x225)](_0x41b2bf){const _0x3043d7=_0x2686e3;_0x416255[_0x3043d7(0x2e6)](_0x41b2bf,{'width':this[_0x3043d7(0x2cc)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x3043d7(0x139)],'evented':!0x1,'fill':this[_0x3043d7(0x2ed)]}),this[_0x3043d7(0x32d)]&&(_0x41b2bf[_0x3043d7(0x1a1)](),_0x41b2bf[_0x3043d7(0x30b)](0x1,0x0,0x0,0x1,this[_0x3043d7(0x2cc)],this[_0x3043d7(0x1a2)]==='bottom'?0x0:-0x14),he['drawWith'](_0x41b2bf,{'text':this[_0x3043d7(0x219)],'color':this[_0x3043d7(0x139)]}),_0x41b2bf[_0x3043d7(0x309)]());}}var Ai=Object[_0x2686e3(0x29c)],yi=(_0x4d37ec,_0x1ef809,_0x3d4bb9,_0xc3bcc0)=>{const _0x2e65fb=_0x2686e3;for(var _0x229523=_0xc3bcc0>0x1?void 0x0:_0xc3bcc0?Ai(_0x1ef809,_0x3d4bb9):_0x1ef809,_0x6e913b=_0x4d37ec[_0x2e65fb(0x29f)]-0x1,_0x35f9b7;_0x6e913b>=0x0;_0x6e913b--)(_0x35f9b7=_0x4d37ec[_0x6e913b])&&(_0x229523=_0x35f9b7(_0x229523)||_0x229523);return _0x229523;},ve=(_0x310f61,_0x5d2fdd)=>(_0x649819,_0x582d64)=>_0x5d2fdd(_0x649819,_0x582d64,_0x310f61);const $i=0x1389;let Pe=class extends _0x1f7e53{constructor(_0x50a567,_0x4a7554,_0x3c8c1b,_0x571505){const _0x492458=_0x2686e3;super(),_(this,_0x492458(0x2d7),new Set()),_(this,_0x492458(0x226),null),(this[_0x492458(0x2a1)]=_0x50a567,this[_0x492458(0x1bf)]=_0x4a7554,this[_0x492458(0x311)]=_0x3c8c1b,this[_0x492458(0x1ac)]=_0x571505,this['_init']());}[_0x2686e3(0x2de)](){const _0x48b300=_0x2686e3;this['_sheetSkeletonManagerService'][_0x48b300(0x175)]['pipe'](_0x201037(this[_0x48b300(0x241)]),_0x129b18(_0x1ed078=>{const _0x5162c4=_0x48b300;if(_0x1ed078){const _0x45f9a7=_0x1ed078['sheetId'];return _0x49c74b(this[_0x5162c4(0x311)][_0x5162c4(0x1b7)](this[_0x5162c4(0x2a1)][_0x5162c4(0x2fa)]),this[_0x5162c4(0x1ac)][_0x5162c4(0x331)])[_0x5162c4(0x151)](_0x3fe3dd(([_0x4e0c03,_0x42e5fd])=>{const _0x4360ab=_0x5162c4,_0x2e5f14=new Map();return _0x4e0c03[_0x4360ab(0x164)]((_0xd6c6c3,_0x2e71d3)=>{const _0x2b67f1=_0x4360ab;if(_0xd6c6c3[_0x2b67f1(0x23a)]===_0x45f9a7){const _0x49a34f={..._0xd6c6c3};_0x49a34f[_0x2b67f1(0x265)]=this[_0x2b67f1(0x1ac)]['getColorFromTheme'](_0xd6c6c3[_0x2b67f1(0x265)]),_0x2e5f14[_0x2b67f1(0x155)](_0x2e71d3,_0x49a34f);}}),{'skeleton':_0x1ed078,'cursors':_0x2e5f14};}));}return _0x555402({'skeleton':null,'cursors':new Map()});}))[_0x48b300(0x200)](({skeleton:_0x4c9f11,cursors:_0xaefd83})=>{this['_removeCollabCursors'](),_0x4c9f11&&this['_updateCollabCursors'](_0x4c9f11,_0xaefd83);}),this[_0x48b300(0x1bf)][_0x48b300(0x175)]['subscribe'](_0x4f6250=>{const _0x3730ae=_0x48b300;if(_0x4f6250==null)return;const {skeleton:_0x3a0f63}=_0x4f6250,{scene:_0x2c5526}=this['_context'];_0x2c5526['onPointerMove$'][_0x3730ae(0x189)](_0x12f08e(_0x262a92=>{const _0x1578e0=_0x3730ae;var _0x222a18,_0x14ea82;const {offsetX:_0x1f90ba,offsetY:_0x1e5691}=_0x262a92,{x:_0xc5f9cf,y:_0x5e431f}=_0x2c5526[_0x1578e0(0x23d)](_0x320791[_0x1578e0(0x1d8)]([_0x1f90ba,_0x1e5691])),{scaleX:_0x1cb564,scaleY:_0x1057d8}=_0x2c5526[_0x1578e0(0x1e6)](),_0xb46dc1=_0x2c5526['getViewport'](_0x2db305[_0x1578e0(0x27b)]),_0x367253=_0x2c5526[_0x1578e0(0x2e7)](_0x320791[_0x1578e0(0x1d8)]([_0xc5f9cf,_0x5e431f]),_0xb46dc1),_0x5b6ab5=_0x3a0f63[_0x1578e0(0x1ed)](_0x1f90ba,_0x1e5691,_0x1cb564,_0x1057d8,_0x367253);((_0x222a18=this[_0x1578e0(0x226)])==null?void 0x0:_0x222a18[_0x1578e0(0x18f)])===_0x5b6ab5[_0x1578e0(0x18f)]&&((_0x14ea82=this[_0x1578e0(0x226)])==null?void 0x0:_0x14ea82[_0x1578e0(0x259)])===_0x5b6ab5[_0x1578e0(0x259)]||this['_cursors'][_0x1578e0(0x164)](_0x2608f8=>{const _0x4d1e95=_0x1578e0;_0x2608f8[_0x4d1e95(0x2f5)](_0x5b6ab5);});},0x64));});}[_0x2686e3(0x2bc)](_0xf539e8,_0x23e463){const _0x565780=_0x2686e3;var _0x29b1b9;const _0x395b4f=(_0x29b1b9=this[_0x565780(0x1bf)][_0x565780(0x1e4)]())==null?void 0x0:_0x29b1b9[_0x565780(0x26c)];if(!_0x395b4f)return;const _0x23fffa=this[_0x565780(0x199)]();if(!_0x23fffa)return;this[_0x565780(0x2d7)][_0x565780(0x164)](_0x3cb8ed=>{const _0x5f0eef=_0x565780;_0x3cb8ed[_0x5f0eef(0x17a)]();});const {scene:_0x20cd0e}=_0x23fffa,_0x44238f=xi(Array[_0x565780(0x198)](_0x23e463['values']()))['map'](_0x3d05e1=>{const _0x2ffe4b=_0x565780,{color:_0x9a40c8,range:_0x417a3d,name:_0xfa582,selection:_0x80a871,sheetID:_0x340132}=_0x3d05e1,{startColumn:_0x2059a3,startRow:_0x3c9801,endColumn:_0x597641,endRow:_0xa8c51}=_0x417a3d,_0x2ae671=_0x67f0b9(_0x3c9801,_0x2059a3,_0x20cd0e,_0x395b4f),_0x80e70a=_0x67f0b9(_0xa8c51,_0x597641,_0x20cd0e,_0x395b4f),{columnHeaderHeightAndMarginTop:_0x15aa32}=_0x395b4f,{startX:_0x1a95b1,startY:_0xc79f6c}=_0x2ae671,{endX:_0x108b5f,endY:_0x50aae3}=_0x80e70a,_0x23efd9=_0x108b5f-_0x1a95b1,_0x31daa6=_0x50aae3-_0xc79f6c,_0x3aee52={'labelPosition':_0xc79f6c-_0x15aa32>=ee?_0x2ffe4b(0x235):_0x2ffe4b(0x273),'sheetID':_0x340132,'range':_0x417a3d,'color':_0x9a40c8,'name':_0xfa582,'selection':_0x80a871,'left':_0x1a95b1,'top':_0xc79f6c,'width':_0x23efd9,'height':_0x31daa6,'evented':!0x1,'zIndex':$i};return new wi(_0xfa582,_0x3aee52);});_0x20cd0e[_0x565780(0x30d)](_0x44238f,Li),this['_cursors']=new Set(_0x44238f);}[_0x2686e3(0x1a7)](){const _0x369d87=_0x2686e3;var _0x1664fa;(_0x1664fa=this['_cursors'])==null||_0x1664fa[_0x369d87(0x164)](_0x6911f1=>_0x6911f1[_0x369d87(0x340)]());}[_0x2686e3(0x199)](){const _0x4b1930=_0x2686e3;return _0x33b75f(this['_context'][_0x4b1930(0x2e1)],this['_context']);}};Pe=yi([ve(0x1,_0x437cbf(_0x18ecc2)),ve(0x2,_0x437cbf(H)),ve(0x3,_0x437cbf(_0x420883))],Pe);function xi(_0x10a34f){const _0x19bcae=_0x2686e3,_0x21e425=new Map();return _0x10a34f[_0x19bcae(0x164)](_0x39747b=>{const _0x58dcb5=_0x19bcae;if(_0x21e425[_0x58dcb5(0x33d)](_0x39747b[_0x58dcb5(0x21a)])){const _0x105611=_0x21e425['get'](_0x39747b[_0x58dcb5(0x21a)]);_0x105611[_0x58dcb5(0x272)]+=',\x20'+_0x39747b[_0x58dcb5(0x272)];}else _0x21e425[_0x58dcb5(0x155)](_0x39747b[_0x58dcb5(0x21a)],_0x39747b);}),Array[_0x19bcae(0x198)](_0x21e425[_0x19bcae(0x20c)]());}var v=function(){const _0x1dd601=_0x2686e3;return v=Object[_0x1dd601(0x211)]||function(_0x22b2da){const _0x198953=_0x1dd601;for(var _0x1c6250,_0x1a5a24=0x1,_0x4665e9=arguments[_0x198953(0x29f)];_0x1a5a24<_0x4665e9;_0x1a5a24++){_0x1c6250=arguments[_0x1a5a24];for(var _0x4fb46e in _0x1c6250)Object['prototype'][_0x198953(0x1f1)][_0x198953(0x256)](_0x1c6250,_0x4fb46e)&&(_0x22b2da[_0x4fb46e]=_0x1c6250[_0x4fb46e]);}return _0x22b2da;},v['apply'](this,arguments);},Bi=function(_0x40f3f5,_0x5c0b01){const _0x1049df=_0x2686e3;var _0x5ac6ac={};for(var _0x2bc255 in _0x40f3f5)Object[_0x1049df(0x145)][_0x1049df(0x1f1)][_0x1049df(0x256)](_0x40f3f5,_0x2bc255)&&_0x5c0b01[_0x1049df(0x304)](_0x2bc255)<0x0&&(_0x5ac6ac[_0x2bc255]=_0x40f3f5[_0x2bc255]);if(_0x40f3f5!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x4c883b=0x0,_0x2bc255=Object[_0x1049df(0x2fd)](_0x40f3f5);_0x4c883b<_0x2bc255[_0x1049df(0x29f)];_0x4c883b++)_0x5c0b01['indexOf'](_0x2bc255[_0x4c883b])<0x0&&Object[_0x1049df(0x145)][_0x1049df(0x2c8)][_0x1049df(0x256)](_0x40f3f5,_0x2bc255[_0x4c883b])&&(_0x5ac6ac[_0x2bc255[_0x4c883b]]=_0x40f3f5[_0x2bc255[_0x4c883b]]);}return _0x5ac6ac;},Fe=_0x311cc4(function(_0x58ba9d,_0x2b5ebc){const _0x40336f=_0x2686e3;var _0x43188f=_0x58ba9d['icon'],_0x160651=_0x58ba9d['id'],_0x145f5d=_0x58ba9d['className'],_0x50c4c7=_0x58ba9d[_0x40336f(0x160)],_0x46e428=Bi(_0x58ba9d,[_0x40336f(0x14d),'id',_0x40336f(0x16f),_0x40336f(0x160)]),_0x46282a=_0x40336f(0x1c7)[_0x40336f(0x1c8)](_0x160651,'\x20')[_0x40336f(0x1c8)](_0x145f5d||'')[_0x40336f(0x27f)](),_0x505611=_0x554768('_'['concat'](Fi()));return Rt(_0x43188f,''[_0x40336f(0x1c8)](_0x160651),{'defIds':_0x43188f[_0x40336f(0x33b)],'idSuffix':_0x505611[_0x40336f(0x2d1)]},v({'ref':_0x2b5ebc,'className':_0x46282a},_0x46e428),_0x50c4c7);});function Rt(_0x114660,_0x31a9a7,_0x493184,_0x1f8952,_0x527ec8){const _0x317ef4=_0x2686e3;return _0x433ecf(_0x114660['tag'],v(v({'key':_0x31a9a7},ki(_0x114660,_0x493184,_0x527ec8)),_0x1f8952),(Hi(_0x114660,_0x493184)[_0x317ef4(0x212)]||[])['map'](function(_0x19f5fe,_0x1339b4){const _0x5a3973=_0x317ef4;return Rt(_0x19f5fe,''[_0x5a3973(0x1c8)](_0x31a9a7,'-')[_0x5a3973(0x1c8)](_0x114660[_0x5a3973(0x27c)],'-')['concat'](_0x1339b4),_0x493184,void 0x0,_0x527ec8);}));}function ki(_0x588075,_0x424eae,_0x459520){const _0x2fb903=_0x2686e3;var _0xff9fc7=v({},_0x588075[_0x2fb903(0x2b2)]);_0x459520!=null&&_0x459520[_0x2fb903(0x24a)]&&_0xff9fc7[_0x2fb903(0x315)]===_0x2fb903(0x24a)&&(_0xff9fc7['fill']=_0x459520[_0x2fb903(0x24a)]),_0x588075[_0x2fb903(0x27c)]==='mask'&&_0xff9fc7['id']&&(_0xff9fc7['id']=_0xff9fc7['id']+_0x424eae[_0x2fb903(0x27e)]),Object['entries'](_0xff9fc7)['forEach'](function(_0x3cae51){const _0x408b01=_0x2fb903;var _0x2aa782=_0x3cae51[0x0],_0x5c211a=_0x3cae51[0x1];_0x2aa782===_0x408b01(0x287)&&typeof _0x5c211a==_0x408b01(0x30f)&&(_0xff9fc7[_0x2aa782]=_0x5c211a[_0x408b01(0x321)](/url\(#(.*)\)/,'url(#$1'[_0x408b01(0x1c8)](_0x424eae['idSuffix'],')')));});var _0x4ac918=_0x424eae[_0x2fb903(0x33b)];return!_0x4ac918||_0x4ac918[_0x2fb903(0x29f)]===0x0||(_0x588075[_0x2fb903(0x27c)]===_0x2fb903(0x336)&&_0xff9fc7['xlink:href']&&(_0xff9fc7[_0x2fb903(0x21d)]=_0xff9fc7[_0x2fb903(0x21d)]+_0x424eae[_0x2fb903(0x27e)]),Object[_0x2fb903(0x1c3)](_0xff9fc7)[_0x2fb903(0x164)](function(_0xa68c36){const _0x166071=_0x2fb903;var _0x1d508b=_0xa68c36[0x0],_0x38a881=_0xa68c36[0x1];typeof _0x38a881==_0x166071(0x30f)&&(_0xff9fc7[_0x1d508b]=_0x38a881[_0x166071(0x321)](/url\(#(.*)\)/,'url(#$1'[_0x166071(0x1c8)](_0x424eae[_0x166071(0x27e)],')')));})),_0xff9fc7;}function Hi(_0x4c9d2d,_0x66ed82){const _0xbc98ae=_0x2686e3;var _0x7963e8,_0x8112b0=_0x66ed82[_0xbc98ae(0x33b)];return!_0x8112b0||_0x8112b0[_0xbc98ae(0x29f)]===0x0?_0x4c9d2d:_0x4c9d2d['tag']===_0xbc98ae(0x180)&&(!((_0x7963e8=_0x4c9d2d['children'])===null||_0x7963e8===void 0x0)&&_0x7963e8[_0xbc98ae(0x29f)])?v(v({},_0x4c9d2d),{'children':_0x4c9d2d[_0xbc98ae(0x212)][_0xbc98ae(0x156)](function(_0x540c05){const _0x4e3b92=_0xbc98ae;return typeof _0x540c05[_0x4e3b92(0x2b2)]['id']=='string'&&_0x8112b0&&_0x8112b0[_0x4e3b92(0x206)](_0x540c05[_0x4e3b92(0x2b2)]['id'])?v(v({},_0x540c05),{'attrs':v(v({},_0x540c05[_0x4e3b92(0x2b2)]),{'id':_0x540c05[_0x4e3b92(0x2b2)]['id']+_0x66ed82['idSuffix']})}):_0x540c05;})}):_0x4c9d2d;}function Fi(){const _0x115a98=_0x2686e3;return Math['random']()['toString'](0x24)[_0x115a98(0x267)](0x2,0x8);}function _0x21db(_0xccee96,_0x15ee31){const _0x298fc3=_0x298f();return _0x21db=function(_0x21db19,_0x2ff9f6){_0x21db19=_0x21db19-0x132;let _0x221fbb=_0x298fc3[_0x21db19];return _0x221fbb;},_0x21db(_0xccee96,_0x15ee31);}Fe[_0x2686e3(0x181)]=_0x2686e3(0x2fb);var Yi={'tag':_0x2686e3(0x2a3),'attrs':{'xmlns':_0x2686e3(0x251),'fill':_0x2686e3(0x220),'viewBox':_0x2686e3(0x33f),'width':_0x2686e3(0x2d9),'height':_0x2686e3(0x2d9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2686e3(0x195)},'children':[{'tag':_0x2686e3(0x1ec),'attrs':{'stroke':'currentColor','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':'round','strokeLinejoin':_0x2686e3(0x22d),'strokeWidth':1.2}}]},{'tag':_0x2686e3(0x180),'attrs':{},'children':[{'tag':_0x2686e3(0x2cb),'attrs':{'id':_0x2686e3(0x25e)},'children':[{'tag':_0x2686e3(0x1ec),'attrs':{'fill':_0x2686e3(0x2db),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2686e3(0x25e)]},Dt=_0x311cc4(function(_0x13e05e,_0x2f8b64){const _0x402453=_0x2686e3;return _0x433ecf(Fe,Object[_0x402453(0x211)]({},_0x13e05e,{'id':_0x402453(0x17c),'ref':_0x2f8b64,'icon':Yi}));});Dt[_0x2686e3(0x181)]=_0x2686e3(0x274);var ji={'tag':_0x2686e3(0x2a3),'attrs':{'xmlns':_0x2686e3(0x251),'fill':_0x2686e3(0x220),'viewBox':_0x2686e3(0x32e),'width':_0x2686e3(0x2d9),'height':_0x2686e3(0x2d9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2686e3(0x1ec),'attrs':{'stroke':_0x2686e3(0x28d),'d':_0x2686e3(0x1b9),'strokeLinecap':'round','strokeLinejoin':_0x2686e3(0x22d),'strokeWidth':1.2}}]},{'tag':_0x2686e3(0x180),'attrs':{},'children':[{'tag':_0x2686e3(0x2cb),'attrs':{'id':_0x2686e3(0x187)},'children':[{'tag':_0x2686e3(0x1ec),'attrs':{'fill':'white','d':_0x2686e3(0x1da),'transform':_0x2686e3(0x1fa)}}]}]}],'defIds':[_0x2686e3(0x187)]},Nt=_0x311cc4(function(_0x157f3b,_0x22a56c){const _0x48c923=_0x2686e3;return _0x433ecf(Fe,Object[_0x48c923(0x211)]({},_0x157f3b,{'id':'on-line-icon','ref':_0x22a56c,'icon':ji}));});Nt[_0x2686e3(0x181)]=_0x2686e3(0x253);function Vi(_0x55a070){const _0x5e2b66=_0x2686e3;switch(_0x55a070){case _0x14a13b[_0x5e2b66(0x276)]:return _0x5e2b66(0x2ae);case _0x14a13b[_0x5e2b66(0x183)]:return'collabStatus.conflict';case _0x14a13b[_0x5e2b66(0x25a)]:return'collabStatus.fetchMiss';case _0x14a13b[_0x5e2b66(0x222)]:return'collabStatus.notCollab';case _0x14a13b[_0x5e2b66(0x33a)]:case _0x14a13b['AWAITING_WITH_PENDING']:return _0x5e2b66(0x14c);case _0x14a13b['SYNCED']:case _0x14a13b['PENDING']:return _0x5e2b66(0x205);}}function Wi(_0x35dd22){const _0x1aa623=_0x2686e3,{status$:_0x447a2b}=_0x35dd22,_0x21b6e0=_0x44e717(_0x447a2b,_0x14a13b['NOT_COLLAB']),_0x14c684=_0x5e0b55(_0x514309),_0x5a1bb8=_0x5e0b55(_0x593aab),_0x11cc52=_0x21b6e0!==_0x14a13b[_0x1aa623(0x276)],_0x159191=_0x14c684['t'](Vi(_0x21b6e0)),_0x6d54c9=_0x11cc52?_0x5e7e28(Nt,{}):_0x5e7e28(Dt,{}),_0x56bcd4=_0x1db297(()=>{const _0xe451=_0x1aa623;_0x11cc52||_0x5a1bb8[_0xe451(0x2b6)]();},[_0x11cc52,_0x5a1bb8]);function _0x3fc42f(){const _0x8699ea=_0x1aa623;return _0x45c588(_0x8699ea(0x214),{'className':_0x8699ea(0x204),'onClick':_0x56bcd4,'children':[_0x5e7e28(_0x8699ea(0x214),{'className':_0x4d7fd2('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x11cc52,'univer-text-red-500':!_0x11cc52}),'children':_0x6d54c9}),_0x5e7e28(_0x8699ea(0x214),{'className':_0x8699ea(0x19b),'children':_0x159191})]});}return _0x11cc52?_0x3fc42f():_0x5e7e28(_0x37a28f,{'title':_0x14c684['t'](_0x1aa623(0x136)),'children':_0x3fc42f()});}var Xi=Object[_0x2686e3(0x29c)],Gi=(_0xf4828e,_0x17bb5f,_0x2883ca,_0x31edad)=>{const _0x3ca014=_0x2686e3;for(var _0x583899=_0x31edad>0x1?void 0x0:_0x31edad?Xi(_0x17bb5f,_0x2883ca):_0x17bb5f,_0x407cd7=_0xf4828e[_0x3ca014(0x29f)]-0x1,_0x2990b4;_0x407cd7>=0x0;_0x407cd7--)(_0x2990b4=_0xf4828e[_0x407cd7])&&(_0x583899=_0x2990b4(_0x583899)||_0x583899);return _0x583899;},Q=(_0x3d816c,_0x562be0)=>(_0x328b4c,_0x5ec6ff)=>_0x562be0(_0x328b4c,_0x5ec6ff,_0x3d816c);let te=class extends _0x2d320f{constructor(_0x38902c,_0x126220,_0x3dedfd,_0xc5831f){const _0x29c3d9=_0x2686e3;super(),_(this,'_status$',new _0x289e43(_0x14a13b[_0x29c3d9(0x222)])),(this[_0x29c3d9(0x245)]=_0x38902c,this[_0x29c3d9(0x2c3)]=_0x126220,this[_0x29c3d9(0x15a)]=_0x3dedfd,this['_uiPartsService']=_0xc5831f,this[_0x29c3d9(0x137)](),this[_0x29c3d9(0x255)]());}[_0x2686e3(0x255)](){const _0x51fe4f=_0x2686e3;this[_0x51fe4f(0x2a4)](this[_0x51fe4f(0x245)][_0x51fe4f(0x1fb)][_0x51fe4f(0x151)](_0x54586f(()=>{const _0x254518=_0x51fe4f,_0x58a103=this[_0x254518(0x245)][_0x254518(0x2d2)]();return _0x58a103?this[_0x254518(0x15a)][_0x254518(0x337)](_0x58a103[_0x254518(0x1d7)]()):_0x555402(null);}),_0x54586f(_0x2d178c=>_0x2d178c?_0x2d178c[_0x51fe4f(0x1f7)]:_0x555402(_0x14a13b[_0x51fe4f(0x222)])))['subscribe'](_0x24a55f=>{const _0x806122=_0x51fe4f;this['_status$'][_0x806122(0x207)](_0x24a55f);}));}[_0x2686e3(0x137)](){const _0x3c6b10=_0x2686e3;this[_0x3c6b10(0x2a4)](this[_0x3c6b10(0x289)][_0x3c6b10(0x1e9)](_0x4e781c['HEADER_MENU'],()=>_0x4af26b(Ki({'status$':this['_status$'][_0x3c6b10(0x2c2)]()}),this[_0x3c6b10(0x2c3)])));}};te=Gi([Q(0x0,_0x1fee0a),Q(0x1,_0x437cbf(_0x212b2d)),Q(0x2,_0x437cbf(_0xc794c6)),Q(0x3,_0x59c501)],te);function Ki(_0x2818d8){const {status$:_0x115baa}=_0x2818d8;return function(){return _0x5e7e28(Wi,{'status$':_0x115baa});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x245d4a,_0x5861b5,_0x16ecc2,_0x109dcc)=>{const _0x5c7c91=_0x2686e3;for(var _0x2a9ef6=_0x109dcc>0x1?void 0x0:_0x109dcc?zi(_0x5861b5,_0x16ecc2):_0x5861b5,_0x1ae1dc=_0x245d4a[_0x5c7c91(0x29f)]-0x1,_0x38d197;_0x1ae1dc>=0x0;_0x1ae1dc--)(_0x38d197=_0x245d4a[_0x1ae1dc])&&(_0x2a9ef6=_0x38d197(_0x2a9ef6)||_0x2a9ef6);return _0x2a9ef6;},B=(_0x431ec6,_0x481bef)=>(_0x157943,_0xb89c2)=>_0x481bef(_0x157943,_0xb89c2,_0x431ec6);let se=class extends _0x2d320f{constructor(_0x214175,_0x4a47e8,_0x4c70eb,_0xa189df,_0x82d674,_0x2ae47a){const _0x3a762e=_0x2686e3;super(),this[_0x3a762e(0x134)]=_0x214175,this[_0x3a762e(0x2a5)]=_0x4a47e8,this['_collaborationUIEventService']=_0x4c70eb,this[_0x3a762e(0x167)]=_0xa189df,this['_notificationService']=_0x82d674,this['_localeService']=_0x2ae47a,this[_0x3a762e(0x230)](),this[_0x3a762e(0x14b)]();}[_0x2686e3(0x230)](){const _0x453d0b=_0x2686e3;this[_0x453d0b(0x2a4)](this[_0x453d0b(0x134)]['registerBeforeClose'](()=>{const _0xaf4430=_0x453d0b;if(this[_0xaf4430(0x2a5)][_0xaf4430(0x173)]['size'])return this['_localeService']['t'](_0xaf4430(0x29e));}));}['_initEvent'](){const _0x28c224=_0x2686e3;this[_0x28c224(0x2a4)](this[_0x28c224(0x2c0)][_0x28c224(0x1b8)][_0x28c224(0x200)](_0x3c63e1=>{const _0x728240=_0x28c224;_0x3c63e1['id']===_0x1bfe77[_0x728240(0x22f)]&&this[_0x728240(0x167)][_0x728240(0x31a)]({'type':_0x4c6395[_0x728240(0x282)],'content':this[_0x728240(0x168)]['t'](_0x728240(0x157))}),_0x3c63e1['id']===_0x1bfe77['CLOSE_ROOM']&&this[_0x728240(0x167)]['show']({'type':_0x4c6395[_0x728240(0x282)],'content':this[_0x728240(0x168)]['t'](_0x728240(0x2b9))}),_0x3c63e1['id']===_0x1bfe77[_0x728240(0x18c)]&&this[_0x728240(0x23e)][_0x728240(0x31a)]({'title':this[_0x728240(0x168)]['t']('permission.title'),'content':this[_0x728240(0x168)]['t'](_0x728240(0x248)),'type':_0x728240(0x31e),'duration':0x0}),_0x3c63e1['id']===_0x1bfe77[_0x728240(0x183)]&&this['_messageService'][_0x728240(0x31a)]({'type':_0x4c6395[_0x728240(0x1f3)],'content':this[_0x728240(0x168)]['t'](_0x728240(0x2b9))+'('+_0x3c63e1['data']+')'}),_0x3c63e1['id']===_0x1bfe77[_0x728240(0x1df)]&&this[_0x728240(0x167)][_0x728240(0x31a)]({'type':_0x4c6395['Warning'],'content':this[_0x728240(0x168)]['t'](_0x3c63e1['data']||'')}),_0x3c63e1['id']===_0x1bfe77[_0x728240(0x1dd)]&&this[_0x728240(0x167)][_0x728240(0x31a)]({'type':_0x4c6395[_0x728240(0x282)],'content':this['_localeService']['t'](_0x728240(0x284))}),_0x3c63e1['id']===_0x1bfe77[_0x728240(0x1b2)]&&this[_0x728240(0x167)]['show']({'type':_0x4c6395[_0x728240(0x1f3)],'content':this[_0x728240(0x168)]['t'](_0x728240(0x19a))}),_0x3c63e1['id']===_0x1bfe77[_0x728240(0x1cd)]&&this[_0x728240(0x167)][_0x728240(0x31a)]({'type':_0x4c6395[_0x728240(0x1f3)],'content':this[_0x728240(0x168)]['t'](_0x728240(0x229))});}));}};se=Ji([B(0x0,_0x33bd99),B(0x1,_0x52e427),B(0x2,_0x437cbf(_0x445502)),B(0x3,_0x242b2a),B(0x4,_0x16be65),B(0x5,_0x437cbf(_0x514309))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x235d50(_0x2686e3(0x2e5));var Qi=Object[_0x2686e3(0x29c)],qi=(_0x89edde,_0x256db6,_0x4eb8c2,_0x3b1509)=>{const _0x616912=_0x2686e3;for(var _0x1beacc=_0x3b1509>0x1?void 0x0:_0x3b1509?Qi(_0x256db6,_0x4eb8c2):_0x256db6,_0x317ad1=_0x89edde[_0x616912(0x29f)]-0x1,_0x1622ed;_0x317ad1>=0x0;_0x317ad1--)(_0x1622ed=_0x89edde[_0x317ad1])&&(_0x1beacc=_0x1622ed(_0x1beacc)||_0x1beacc);return _0x1beacc;},G=(_0x1c2c41,_0x3160a7)=>(_0x178277,_0x1189a2)=>_0x3160a7(_0x178277,_0x1189a2,_0x1c2c41);let ie=class extends _0x1f7e53{constructor(_0x39a55c,_0x430aea,_0x25673a,_0x5aa271,_0x42c6ae){const _0x4aeabe=_0x2686e3;super(),this[_0x4aeabe(0x1f5)]=_0x39a55c,this[_0x4aeabe(0x185)]=_0x430aea,this[_0x4aeabe(0x193)]=_0x25673a,this[_0x4aeabe(0x2bf)]=_0x5aa271,_0x42c6ae?_0x42c6ae==null||_0x42c6ae[_0x4aeabe(0x1c5)]()[_0x4aeabe(0x31b)](()=>this[_0x4aeabe(0x2de)]()):(this['_logService'][_0x4aeabe(0x166)](_0x4aeabe(0x1d5),_0x4aeabe(0x27d)),this[_0x4aeabe(0x2de)]());}async['_init'](){const _0x7b6838=_0x2686e3,_0x349e15=this['_urlService'][_0x7b6838(0x24b)](_0x7b6838(0x2e1)),_0x41615e=this[_0x7b6838(0x1f5)]['getParam'](_0x7b6838(0x13c)),_0x3896b5=this[_0x7b6838(0x1f5)][_0x7b6838(0x24b)](_0x7b6838(0x1eb));if(!_0x349e15||!_0x41615e){this[_0x7b6838(0x185)]['debug'](_0x7b6838(0x1d5),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4cfe61=await this['_dataLoaderService']['loadUnit'](_0x349e15,Number(_0x41615e),_0x3896b5);_0x4cfe61&&_0x4cfe61 instanceof _0x191ebc&&this[_0x7b6838(0x233)](_0x4cfe61);}async[_0x2686e3(0x233)](_0x3e6676){const _0x438608=_0x2686e3;await this[_0x438608(0x1b5)](_0x3e6676),_0x3e6676['activeSheet$'][_0x438608(0x151)](_0x130b87(this[_0x438608(0x241)]))['subscribe'](_0x5ba696=>{const _0x5696e5=_0x438608;_0x5ba696&&this[_0x5696e5(0x1a9)](_0x5ba696);}),this[_0x438608(0x1f5)][_0x438608(0x2cd)][_0x438608(0x151)](_0x130b87(this[_0x438608(0x241)]))[_0x438608(0x200)](()=>this[_0x438608(0x1b5)](_0x3e6676));}[_0x2686e3(0x1a9)](_0x30dcdc,_0x436ccc=!0x1){const _0x41e10a=_0x2686e3,_0x54eddb=this[_0x41e10a(0x1f5)][_0x41e10a(0x24b)](_0x41e10a(0x1eb));_0x30dcdc[_0x41e10a(0x244)]()!==_0x54eddb&&this[_0x41e10a(0x1f5)][_0x41e10a(0x1c4)](_0x41e10a(0x1eb),_0x30dcdc[_0x41e10a(0x244)](),_0x436ccc);}async[_0x2686e3(0x1b5)](_0xd5a6a){const _0x378050=_0x2686e3;var _0x2c00ee;const _0x52ecc6=this['_urlService'][_0x378050(0x24b)](_0x378050(0x1eb));if(!_0x52ecc6||!_0xd5a6a[_0x378050(0x246)](_0x52ecc6)){const _0xadc492=_0xd5a6a[_0x378050(0x29a)]()[0x0],_0x416499=_0xd5a6a[_0x378050(0x246)](_0xadc492);if(!_0x416499)return;this[_0x378050(0x1a9)](_0x416499,!0x0),await this['_commandService'][_0x378050(0x2e9)](_0x2ee94c['id'],{'unitId':_0xd5a6a[_0x378050(0x1d7)](),'subUnitId':_0xadc492});return;}((_0x2c00ee=_0xd5a6a[_0x378050(0x2c7)]())==null?void 0x0:_0x2c00ee['getSheetId']())!==_0x52ecc6&&await this[_0x378050(0x193)]['executeCommand'](_0x2ee94c['id'],{'unitId':_0xd5a6a[_0x378050(0x1d7)](),'subUnitId':_0x52ecc6});}};ie=qi([G(0x0,Ut),G(0x1,_0x46abfe),G(0x2,_0x3fdfe9),G(0x3,_0x437cbf(_0x2e52d0)),G(0x4,_0x1b53d6(_0x1536dc))],ie);var en=Object[_0x2686e3(0x29c)],tn=(_0x674db2,_0x9fd40a,_0x656e5c,_0x97f428)=>{for(var _0x25aa71=_0x97f428>0x1?void 0x0:_0x97f428?en(_0x9fd40a,_0x656e5c):_0x9fd40a,_0x2cc8c3=_0x674db2['length']-0x1,_0x72c85e;_0x2cc8c3>=0x0;_0x2cc8c3--)(_0x72c85e=_0x674db2[_0x2cc8c3])&&(_0x25aa71=_0x72c85e(_0x25aa71)||_0x25aa71);return _0x25aa71;},pe=(_0x1705bf,_0x10da5e)=>(_0x5bb39e,_0x5acd5b)=>_0x10da5e(_0x5bb39e,_0x5acd5b,_0x1705bf);function _0x298f(){const _0x352d91=['YUUMI_URL_COL_OUT_OF_RANGE','collab-text-anchor-','assign','children','_colorAssignService','div','TEXT','_onCursorDelete','symbol','YUUMI_AI_RUN_FAILED','_name','selection','APPLY_REJECT','INVALID_INVITE_CODE','xlink:href','addClipboardHook','UPDATE_CURSOR','none','registerRefRange','NOT_COLLAB','_docTransformIMECacheService','params','_draw','_lastPointer','UNDEFINED','_refreshCollabCursors','session.collaboration-timeout','sessionTicket','APPLY_PERMISSION_DENIED','unsubscribe','round','_handleEvent','OTHER_CLIENT_EDITING','_setupBeforeClosingHandler','range','roomMembers$','_setupSubUnitSync','endColumn','top','redoState','cursorInfo','wsSessionTicketUrl','_transformService','sheetID','generateRandomId','href','getRelativeToViewportCoord','_notificationService','MoveRangeCommandId','_cursorShapes','dispose$','_unitStatus','_entityInit$','getSheetId','_univerInstanceService','getSheetBySheetId','purple.300','permission.content','executionId','colorChannel1','getParam','YUUMI_ALL_TABLES_IS_INVALID','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','_removeClearOtherTimer','LOGIN_FAILED','http://www.w3.org/2000/svg','MUTATION','OnLineIcon','getOffsetConfig','_initStatusListener','call','CHANGESET_REVISION_CONFILICT','_shapes','row','FETCH_MISS','DeleteRangeMoveUpCommandId','APPLY_DUPLICATED','mutations','off-line-icon_clip0_910_343','entityInit$','_createSocketURL','_collabCursorState$','imageSourceType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','undoState','color','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','substring','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UNRECOGNIZED','unitID','_instanceService','skeleton','eventID','saveImage','_hover','onStarting','clearTimeout','name','bottom','OffLineIcon','_id','OFFLINE','delete','size','_updateLocalCursor','isEditing','VIEW_MAIN','tag','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','idSuffix','trim','find','red.300','Warning','_cursorInfo$','session.will-retry','_collabSessionService','collab-text-range-','mask','_startDocCollabCursor','_uiPartsService','hide','_scheduleHeartbeat','findNodePositionByCharIndex','currentColor','OTHER_CLIENTS_EDITING','INVITE_CODE_HAS_BEEN_UES','_docTransformStateCacheService','add','requireSession','engine','source','_disabled','transformIMECache','onPointerLeave$','addEventListener','disableLocalCache','getUnhiddenWorksheets','_drawRectRange','getOwnPropertyDescriptor','InsertColCommandId','collaboration-client.offline-data-not-saved','length','LICENSE_DISTRO_REJECTED','_context','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','svg','disposeWithMe','_localCacheService','YUUMI_UNABLE_LOAD_URL','_refRangeService','_unitOnClients','deepClone','NOT_FOUND','jiqing.500','transformSelections','getColorFromTheme','collabStatus.offline','send','YUUMI_ASYNCIO_CANCELLED','APPLY_REVISION_CONFILICT','attrs','/run/','_handleHover','getValue','reconnect','height','_scheduleSaving','collaboration.closeRoom','_textBubble','collabCursorState$','_updateCollabCursors','hovered','DeleteRangeMoveLeftCommandId','_dataLoaderService','_collaborationUIEventService','INVITE_CODE_ALREADY_BOUND','asObservable','_injector','disposeUnit','LICENSE_EXPORT_SIZE_EXCEEDED','_drawTextRange','getActiveSheet','propertyIsEnumerable','YUUMI_NO_CUBOID_FOR_QUESTION','_assignedColors','clipPath','width','urlChange$','getRangePointData','getSkeleton','max','current','getFocusedUnit','_handleLeaveEvent','_initCommandExecutedListener','beginPath','getDocRanges','_cursors','setAlpha','1em','YUUMI_TABLE_NOT_FOUND_IN_UNIT','white','INVALID_ARGUMENT','memberID','_init','_render','getItem','unit','popstate','_initEntityListener','toString','uni.network.url-service','drawWith','getVpScrollXYInfoByPosToVp','setTimeout','executeCommand','_initDependencies','1267bEMkBn','onCommandExecuted','_backgroundColor','ALREADY_EXISTS','roomMembers','EMAIL_VERIFY_CODE_MISMATCH','_syncEditingCollabCursorService','searchParams','2155590cAFmXP','pushState','onMouseMove','MOBILE_VERIFY_CODE_MISMATCH','CONNECTOR_DATA_TOO_LARGE','some','docStateChange$','unitId','UniverIcon','font','getOwnPropertySymbols','runId','m2Prime','_selfUnitIDs','getUndoRedoMutationParamsCache','_registerDependencies','_scheduleClearOtherTimer','indexOf','RemoveRowCommandId','...','YUUMI_RATE_OVER_LIMIT','MOBILE_HAS_BEEN_BOUND','restore','_send','transform','_anchor','addObjects','measureText','string','result','_collabCursorController','_getScale','INVITE_CODE_REQUIRED','getCurrentUnitForType','fill','1658289pMstmX','removeParam','_transformUndoRedoStack','EMAIL_HAS_BEEN_BOUND','show','then','data','_localStorageService','error','APPLY_NON_SEQUENTIAL_REVISION','registerRenderModule','replace','setShapeProps','_configService','stringify','UNAUTHENTICATED','_getSessionTicket','replaceState','USERS_LEAVE','history','_docSkeleton','closePath','getMember','_hovered','0\x200\x2017\x2016','13914xlnCVn','cursorInfo$','currentTheme$','#FFF','_handleHeartbeatEvent','15441291VTtbgk','defineProperty','use','getCollabEntity$','_scene','body','AWAITING','defIds','RECT','has','InsertRowCommandId','0\x200\x2016\x2016','dispose','getMemberID','m1Prime','key','_beforeCloseService','toRgbString','collab-client.tooltip.reconnect','_initStatusComponent','_registerRenderDependencies','_color','_docTransformSelectionsService','PY_RUNTIME_SCRIPT_ERROR','type','getUniverSheetInstance','newValue','transformStateCache','moveTo','_onCursorUpdate','YUUMI_CONNECTOR_URL_NOT_FOUND','_range','green.600','prototype','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_online','editingUnit','1484916riVrlP','_imageIoService','_initEvent','collabStatus.syncing','icon','10blVqcX','arc','isArray','pipe','_roomMembers$','USER_NOT_INVITED_CODE','Failed','set','map','collaboration.single-unit.warning','blue.400','complete','_collaborationController','sessionStatus$','getTypeOfUnitAdded$','textRanges','_cachedData','startColumn','extend','loadOfflineData','storage','WECHAT_HAS_BEEN_BOUND','forEach','_initResize','debug','_messageService','_localeService','_memberService','_revisionService','code','unshift','ranges','invokeId','className','_drawAnchor','LICENSE_MAX_UNITS_EXCEEDED','_docStateChangeManagerService','saveTaskMap','_clearOtherTimers','currentSkeleton$','_startSheetCollabCursor','_getAnchorBounding','getUnitStatus$','addHandlerCallback','makeDirty','getActiveRange','off-line-icon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INTERNAL_ERROR','text','defs','displayName','replaceDocRanges','CONFLICT','_hideTimer','_logService','createInstance','on-line-icon_clip0_910_349','_docClipboardService','subscribeEvent','Unknown\x20user','_eventUnsubscribe','PERMISSION_DENIED','_httpService','ONLINE','column','_renderManagerService','_toggleOnline','getRenderById','_commandService','_cursor','url(#off-line-icon_clip0_910_343)','_getSaveTimeout','_handleJoinEvent','from','_getSheetObject','session.connection-failed','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','startRow','fillRule','transformMutationsWithChangeset','fillText','YUUMI_SUBSCRIPTION_NOT_FOUND','save','_labelPosition','getConfig','transformMutation','assignAColorForMemberID','with','_removeCollabCursors','_heartbeatTimer','_updateURLWithCurrentState','UNIVER_SHEET','SNAPSHOT_HAS_BEEN_REMOVED','_themeService','get','origin','selections','rgba(255,\x20255,\x20255,\x200.01)','doc.mutation.rich-text-editing','SOCKET_FAILED','init','_document','_updateSubUnitFromURLParams','_docSkeletonManagerService','getCollabCursors$','event$','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','_anchorDot','UNIVER_DOC','_ensureSubject','6201936ScwqSp','COMPLETION_FINISHED','_sheetSkeletonManagerService','getCurrentRevOfUnit','_session','NO_OTHER_CLIENTS_EDITING','entries','setParam','whenReady','syncEditingCollabCursor','univerjs-icon\x20univerjs-icon-','concat','split','onTransformChange$','addObject','ENSURE_SNAPSHOT_EXECUTION','SUBMIT_CHANGESET_TIMEOUT','fillStyle','enableLocalCache','transformByState','override','_transformPreviousActiveRange','_onRefRangeChange','transformRemoteChangeset','[CollaborationDataLoaderController]','getTypeOfUnitDisposed$','getUnitId','FromArray','actions','M0\x200H16V16H0z','setItem','clearInterval','SOCKET_FAILED_RETRY','_saveTaskMap','JOIN_ROOM_FAILED','runOnServer','_saveCache','unload','saveOfflineData','getCurrent','location','getAncestorScale','_getMergeRange','setUndoRedoMutationParamsCache','registerComponent','setStateCache','subunit','path','getCellPositionByOffset','_entities','all','ACTIVE_UNIT_EVENT_CHANNEL','hasOwnProperty','triggerDblclick','Error','188225ydNPjF','_urlService','lineTo','status$','setInterval','_toggleOffline','translate(.97)','focused$','_colorIndex','_config','getStateCache','_docSyncEditingCollabCursorService','subscribe','LICENSE_IMPORT_SIZE_EXCEEDED','onLocalMutation','evenodd','univer-flex\x20univer-items-center','collabStatus.synced','includes','next','min','push','black','onPointerEnter$','values','flatMap','exhaustSavingTask'];_0x298f=function(){return _0x352d91;};return _0x298f();}let ne=class{constructor(_0x24531f,_0x121953,_0x47012b){const _0x1d59cd=_0x2686e3;this[_0x1d59cd(0x2c3)]=_0x24531f,this[_0x1d59cd(0x239)]=_0x121953,this[_0x1d59cd(0x190)]=_0x47012b;}[_0x2686e3(0x296)](_0x4bf2f8){const _0x341e5e=_0x2686e3;this['_transformUndoRedoStack'](_0x4bf2f8),this[_0x341e5e(0x1d2)](_0x4bf2f8);}[_0x2686e3(0x1d4)](_0x10fef0){const _0x11ef8e=_0x2686e3,{unitID:_0x1d16f4}=_0x10fef0,_0x508947=this[_0x11ef8e(0x190)][_0x11ef8e(0x192)](_0x1d16f4)['with'](_0x582f51),{redoCache:_0x207559}=_0x508947['getUndoRedoMutationParamsCache']();if(_0x207559[_0x11ef8e(0x29f)]===0x0)return _0x10fef0;let _0x5644f3=_0x457e3f[_0x11ef8e(0x2a9)](_0x10fef0[_0x11ef8e(0x25d)][0x0]);for(let _0x218980=0x0;_0x218980<_0x207559[_0x11ef8e(0x29f)];_0x218980++){const _0x24f2ec={'id':_0x11ef8e(0x1b1),'params':{..._0x207559[_0x218980]}},_0x470ea8=this['_transformService'][_0x11ef8e(0x1a4)](_0x5644f3,_0x24f2ec,!0x1);if(_0x12f16e(_0x470ea8))throw _0x470ea8[_0x11ef8e(0x31e)];_0x5644f3=_0x470ea8[_0x11ef8e(0x132)];}return{..._0x457e3f[_0x11ef8e(0x2a9)](_0x10fef0),'mutations':[_0x5644f3]};}[_0x2686e3(0x318)](_0x2602cb){const _0x717311=_0x2686e3,{unitID:_0x3123a3}=_0x2602cb,_0x1d1857=this[_0x717311(0x190)][_0x717311(0x192)](_0x3123a3)[_0x717311(0x1a6)](_0x582f51),{undoCache:_0x50362d,redoCache:_0x30743f}=_0x1d1857[_0x717311(0x301)]();if(_0x50362d['length']===0x0||_0x30743f['length']===0x0)return;const _0x130d83=[],_0x590385=[];let _0x38ea4d=_0x457e3f[_0x717311(0x2a9)](_0x2602cb[_0x717311(0x25d)][0x0]),_0x270a07=_0x457e3f[_0x717311(0x2a9)](_0x2602cb['mutations'][0x0]);for(let _0x652446=_0x50362d[_0x717311(0x29f)]-0x1;_0x652446>=0x0;_0x652446--){const _0x1e3592={'id':'doc.mutation.rich-text-editing','params':{..._0x50362d[_0x652446]}},_0x101242={'id':_0x717311(0x1b1),'params':{..._0x30743f[_0x652446]}},_0x40559b=this[_0x717311(0x239)][_0x717311(0x1a4)](_0x38ea4d,_0x1e3592,!0x1),_0x35e754=this[_0x717311(0x239)][_0x717311(0x1a4)](_0x270a07,_0x101242,!0x1);if(_0x12f16e(_0x40559b))throw _0x40559b[_0x717311(0x31e)];if(_0x12f16e(_0x35e754))throw _0x35e754[_0x717311(0x31e)];_0x130d83[_0x717311(0x16c)](_0x40559b[_0x717311(0x2ff)]['params']),_0x590385['unshift'](_0x35e754[_0x717311(0x2ff)][_0x717311(0x224)]),_0x38ea4d=_0x40559b[_0x717311(0x132)],_0x270a07=_0x35e754['m1Prime'];}_0x1d1857[_0x717311(0x1e8)]({'undoCache':_0x130d83,'redoCache':_0x590385});}[_0x2686e3(0x1d2)](_0x594975){const _0x4c245b=_0x2686e3,{unitID:_0x29704d}=_0x594975,_0x5334a7=this['_renderManagerService'][_0x4c245b(0x192)](_0x29704d)['with'](_0x582f51),_0x316465=_0x5334a7[_0x4c245b(0x17b)]();if(_0x316465==null)return;const _0x4ee7c6=[{'id':_0x4c245b(0x1b1),'params':{'unitId':_0x594975[_0x4c245b(0x26a)],'actions':null,'textRanges':[_0x316465]}}],_0x527d0c=this[_0x4c245b(0x239)]['transformMutationsWithChangeset'](_0x594975,_0x4ee7c6);if(!_0x1fbadd(_0x527d0c))throw _0x527d0c[_0x4c245b(0x31e)];const _0x15ec24=_0x527d0c[_0x4c245b(0x2ff)][0x0]['params']['textRanges'];Array['isArray'](_0x15ec24)&&_0x15ec24[_0x4c245b(0x29f)]&&_0x5334a7['setActiveRange'](_0x15ec24[0x0]);}};ne=tn([pe(0x0,_0x437cbf(_0x212b2d)),pe(0x1,_0x7488d5),pe(0x2,_0x145026)],ne);var sn=Object[_0x2686e3(0x29c)],nn=(_0x560597,_0x3d2217,_0x1f85cc,_0x1a3010)=>{const _0x4321d5=_0x2686e3;for(var _0x3e7617=_0x1a3010>0x1?void 0x0:_0x1a3010?sn(_0x3d2217,_0x1f85cc):_0x3d2217,_0x288e6f=_0x560597[_0x4321d5(0x29f)]-0x1,_0x217c47;_0x288e6f>=0x0;_0x288e6f--)(_0x217c47=_0x560597[_0x288e6f])&&(_0x3e7617=_0x217c47(_0x3e7617)||_0x3e7617);return _0x3e7617;},Ce=(_0x3dab9b,_0x18c3ad)=>(_0x13ab2b,_0x23025e)=>_0x18c3ad(_0x13ab2b,_0x23025e,_0x3dab9b);let re=class{constructor(_0xcf4404,_0x4c551b,_0x361cdf){const _0x360ad1=_0x2686e3;this[_0x360ad1(0x2c3)]=_0xcf4404,this['_transformService']=_0x4c551b,this[_0x360ad1(0x172)]=_0x361cdf;}[_0x2686e3(0x13f)](_0x42340a){this['_transformHistoryAndStateStack'](_0x42340a);}[_0x2686e3(0x1d4)](_0x22de51){const _0x2a10ab=_0x2686e3,{unitID:_0x1da4f1}=_0x22de51,{collaboration:_0x782a50}=this[_0x2a10ab(0x172)]['getStateCache'](_0x1da4f1);if(_0x782a50[_0x2a10ab(0x29f)]===0x0)return _0x22de51;let _0x284cd2=_0x457e3f[_0x2a10ab(0x2a9)](_0x22de51[_0x2a10ab(0x25d)][0x0]);for(let _0x3ca7a9=0x0;_0x3ca7a9<_0x782a50[_0x2a10ab(0x29f)];_0x3ca7a9++){const _0x51d1d5={'id':_0x2a10ab(0x1b1),'params':{'unitId':_0x782a50[_0x3ca7a9][_0x2a10ab(0x2fa)],..._0x782a50[_0x3ca7a9][_0x2a10ab(0x236)]}},_0x1f0696=this[_0x2a10ab(0x239)][_0x2a10ab(0x1a4)](_0x284cd2,_0x51d1d5,!0x1);if(_0x12f16e(_0x1f0696))throw _0x1f0696[_0x2a10ab(0x31e)];_0x284cd2=_0x1f0696['m1Prime'];}return{..._0x457e3f[_0x2a10ab(0x2a9)](_0x22de51),'mutations':[_0x284cd2]};}[_0x2686e3(0x24d)](_0x2755d2){const _0x42ef70=_0x2686e3,{unitID:_0x33348c}=_0x2755d2,{history:_0x2b0ea6,collaboration:_0x12e78d}=this['_docStateChangeManagerService'][_0x42ef70(0x1fe)](_0x33348c);if(_0x2b0ea6[_0x42ef70(0x29f)]===0x0&&_0x12e78d[_0x42ef70(0x29f)]===0x0)return;const _0x1a0bb2=[],_0x3d079b=[];let _0x5e9132=_0x457e3f['deepClone'](_0x2755d2['mutations'][0x0]),_0x33581e=_0x457e3f[_0x42ef70(0x2a9)](_0x2755d2[_0x42ef70(0x25d)][0x0]);for(let _0x1aae7e=_0x2b0ea6[_0x42ef70(0x29f)]-0x1;_0x1aae7e>=0x0;_0x1aae7e--){const _0x44fb32={'id':_0x42ef70(0x1b1),'params':{'unitId':_0x2b0ea6[_0x1aae7e][_0x42ef70(0x2fa)],..._0x2b0ea6[_0x1aae7e][_0x42ef70(0x264)]}},_0x29e987={'id':_0x42ef70(0x1b1),'params':{'unitId':_0x2b0ea6[_0x1aae7e][_0x42ef70(0x2fa)],..._0x2b0ea6[_0x1aae7e][_0x42ef70(0x236)]}},_0x4511ca=this[_0x42ef70(0x239)][_0x42ef70(0x1a4)](_0x5e9132,_0x44fb32,!0x1),_0x423b3a=this[_0x42ef70(0x239)][_0x42ef70(0x1a4)](_0x33581e,_0x29e987,!0x1);if(_0x12f16e(_0x4511ca))throw _0x4511ca[_0x42ef70(0x31e)];if(_0x12f16e(_0x423b3a))throw _0x423b3a['error'];_0x1a0bb2[_0x42ef70(0x16c)]({..._0x2b0ea6[_0x1aae7e],'undoState':_0x4511ca[_0x42ef70(0x2ff)][_0x42ef70(0x224)],'redoState':_0x423b3a[_0x42ef70(0x2ff)][_0x42ef70(0x224)]}),_0x5e9132=_0x4511ca[_0x42ef70(0x132)],_0x33581e=_0x423b3a[_0x42ef70(0x132)];}_0x5e9132=_0x457e3f[_0x42ef70(0x2a9)](_0x2755d2[_0x42ef70(0x25d)][0x0]),_0x33581e=_0x457e3f[_0x42ef70(0x2a9)](_0x2755d2[_0x42ef70(0x25d)][0x0]);for(let _0x7ffe3d=_0x12e78d['length']-0x1;_0x7ffe3d>=0x0;_0x7ffe3d--){const _0x56e7b4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x12e78d[_0x7ffe3d][_0x42ef70(0x2fa)],..._0x12e78d[_0x7ffe3d]['undoState']}},_0x2fa5cf={'id':_0x42ef70(0x1b1),'params':{'unitId':_0x12e78d[_0x7ffe3d][_0x42ef70(0x2fa)],..._0x12e78d[_0x7ffe3d][_0x42ef70(0x236)]}},_0x3ce510=this[_0x42ef70(0x239)]['transformMutation'](_0x5e9132,_0x56e7b4,!0x1),_0xb126da=this[_0x42ef70(0x239)][_0x42ef70(0x1a4)](_0x33581e,_0x2fa5cf,!0x1);if(_0x12f16e(_0x3ce510))throw _0x3ce510['error'];if(_0x12f16e(_0xb126da))throw _0xb126da['error'];_0x3d079b[_0x42ef70(0x16c)]({..._0x12e78d[_0x7ffe3d],'undoState':_0x3ce510[_0x42ef70(0x2ff)][_0x42ef70(0x224)],'redoState':_0xb126da[_0x42ef70(0x2ff)][_0x42ef70(0x224)]}),_0x5e9132=_0x3ce510[_0x42ef70(0x132)],_0x33581e=_0xb126da[_0x42ef70(0x132)];}this[_0x42ef70(0x172)][_0x42ef70(0x1ea)](_0x33348c,{'history':_0x1a0bb2,'collaboration':_0x3d079b});}};re=nn([Ce(0x0,_0x437cbf(_0x212b2d)),Ce(0x1,_0x7488d5),Ce(0x2,_0x437cbf(_0x26ffd4))],re);var rn=Object[_0x2686e3(0x29c)],on=(_0x18248f,_0x2de2ae,_0x5105cd,_0x3cae4c)=>{for(var _0x3da5d3=_0x3cae4c>0x1?void 0x0:_0x3cae4c?rn(_0x2de2ae,_0x5105cd):_0x2de2ae,_0x2644b2=_0x18248f['length']-0x1,_0x5d72ba;_0x2644b2>=0x0;_0x2644b2--)(_0x5d72ba=_0x18248f[_0x2644b2])&&(_0x3da5d3=_0x5d72ba(_0x3da5d3)||_0x3da5d3);return _0x3da5d3;},tt=(_0x1a69ba,_0x839b22)=>(_0x1e9eac,_0xd82821)=>_0x839b22(_0x1e9eac,_0xd82821,_0x1a69ba);let oe=class{constructor(_0x316b79,_0xe2ea3a){const _0x13eff7=_0x2686e3;this[_0x13eff7(0x2c3)]=_0x316b79,this[_0x13eff7(0x239)]=_0xe2ea3a;}['transformSelections'](_0x443181){const _0x1fac44=_0x2686e3;var _0x4fda22;const _0x21fee4=this['_injector'][_0x1fac44(0x1ad)](_0x4e4c68),_0x14d28d=(_0x4fda22=_0x21fee4['getDocRanges']())!=null?_0x4fda22:[];if(_0x14d28d['length']===0x0)return;const _0x80b70f=_0x443181['unitID'],_0x44cc72=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x80b70f,'actions':null,'textRanges':_0x14d28d}}],_0x50aeda=this['_transformService'][_0x1fac44(0x19e)](_0x443181,_0x44cc72);if(!_0x1fbadd(_0x50aeda))throw _0x50aeda[_0x1fac44(0x31e)];const _0x782438=_0x50aeda[_0x1fac44(0x2ff)][0x0][_0x1fac44(0x224)][_0x1fac44(0x15d)];Array[_0x1fac44(0x150)](_0x782438)&&_0x782438['length']&&_0x21fee4[_0x1fac44(0x182)](_0x782438,{'unitId':_0x80b70f,'subUnitId':_0x80b70f},!0x1);}};oe=on([tt(0x0,_0x437cbf(_0x212b2d)),tt(0x1,_0x7488d5)],oe);var an=Object[_0x2686e3(0x29c)],cn=(_0x3cc8c1,_0x53046c,_0x3aea57,_0x21f07c)=>{const _0x2c7ea8=_0x2686e3;for(var _0x27dd84=_0x21f07c>0x1?void 0x0:_0x21f07c?an(_0x53046c,_0x3aea57):_0x53046c,_0x3d3bcd=_0x3cc8c1[_0x2c7ea8(0x29f)]-0x1,_0x5784f6;_0x3d3bcd>=0x0;_0x3d3bcd--)(_0x5784f6=_0x3cc8c1[_0x3d3bcd])&&(_0x27dd84=_0x5784f6(_0x27dd84)||_0x27dd84);return _0x27dd84;},U=(_0xf0cba6,_0x2d4341)=>(_0x23df2d,_0x447bdc)=>_0x2d4341(_0x23df2d,_0x447bdc,_0xf0cba6);let ae=class extends _0x2d320f{constructor(_0x32c995,_0x4f81a8,_0x204193,_0x317e61,_0x59f87b,_0x5bcffd,_0x3861bc,_0x3cdfc1){const _0x48354b=_0x2686e3;super(),_(this,'_status$',new _0x289e43(_0x14a13b[_0x48354b(0x222)])),(this[_0x48354b(0x172)]=_0x32c995,this[_0x48354b(0x15a)]=_0x4f81a8,this[_0x48354b(0x223)]=_0x204193,this[_0x48354b(0x290)]=_0x317e61,this[_0x48354b(0x13a)]=_0x59f87b,this[_0x48354b(0x1ff)]=_0x5bcffd,this[_0x48354b(0x167)]=_0x3861bc,this[_0x48354b(0x168)]=_0x3cdfc1,this[_0x48354b(0x2e3)]());}[_0x2686e3(0x2e3)](){const _0x3c5384=_0x2686e3;this[_0x3c5384(0x2a4)](this[_0x3c5384(0x15a)][_0x3c5384(0x25f)][_0x3c5384(0x200)](_0xc96d69=>{const _0x2c4464=_0x3c5384,_0x45ed48=this[_0x2c4464(0x172)][_0x2c4464(0x2f9)][_0x2c4464(0x200)](_0x1ad886=>{const _0x34ecb6=_0x2c4464;if(_0x1ad886==null)return;const {unitId:_0x1c5ac8,redoState:_0x24b90f,commandId:_0x5707e2}=_0x1ad886;if(_0x1c5ac8!==_0xc96d69['unitID'])return;const _0x341b02={'id':_0x5707e2,'type':_0x3444c9[_0x34ecb6(0x252)],'params':{'unitId':_0x1c5ac8,'actions':_0x24b90f[_0x34ecb6(0x1d9)],'textRanges':null}};_0xc96d69[_0x34ecb6(0x202)](_0x341b02);});if(_0xc96d69['disposeWithMe'](_0x45ed48),_0xc96d69 instanceof _0x39dac4){const _0x149061={'onTransformIME':_0x180e73=>this[_0x2c4464(0x223)]['transformIMECache'](_0x180e73),'onTransformState':_0xd930ae=>this['_docTransformStateCacheService'][_0x2c4464(0x13f)](_0xd930ae),'onTransformSelections':_0x432b9b=>this[_0x2c4464(0x13a)][_0x2c4464(0x2ac)](_0x432b9b),'onSyncEditingCollabCursor':_0x18daa6=>this[_0x2c4464(0x1ff)][_0x2c4464(0x1c6)](_0x18daa6),'onTransformRemoteChangesetByIMECache':_0xf5d995=>this[_0x2c4464(0x223)][_0x2c4464(0x1d4)](_0xf5d995),'onTransformRemoteChangesetByStateCache':_0x5bf15c=>this['_docTransformStateCacheService'][_0x2c4464(0x1d4)](_0x5bf15c)};_0xc96d69[_0x2c4464(0x179)](_0x149061);}}));}};ae=cn([U(0x0,_0x437cbf(_0x26ffd4)),U(0x1,_0x437cbf(_0xc794c6)),U(0x2,_0x437cbf(ne)),U(0x3,_0x437cbf(re)),U(0x4,_0x437cbf(oe)),U(0x5,_0x437cbf(He)),U(0x6,_0x242b2a),U(0x7,_0x437cbf(_0x514309))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x358f96,_0x32e2b0,_0x200692,_0x330137)=>{const _0x3fdc7f=_0x2686e3;for(var _0x207123=_0x330137>0x1?void 0x0:_0x330137?ln(_0x32e2b0,_0x200692):_0x32e2b0,_0x9e6b21=_0x358f96[_0x3fdc7f(0x29f)]-0x1,_0x4f3096;_0x9e6b21>=0x0;_0x9e6b21--)(_0x4f3096=_0x358f96[_0x9e6b21])&&(_0x207123=_0x4f3096(_0x207123)||_0x207123);return _0x207123;},Ee=(_0x46f1a7,_0x4b05d6)=>(_0x5855f3,_0x2790db)=>_0x4b05d6(_0x5855f3,_0x2790db,_0x46f1a7);let we=class extends _0x2d320f{constructor(_0x322580,_0x349e7e,_0x53d62d){const _0x55a3c1=_0x2686e3;super(),_(this,'_cachedData',new Map()),_(this,_0x55a3c1(0x1de),new Map()),_(this,_0x55a3c1(0x295),!0x1),(this['_configService']=_0x322580,this[_0x55a3c1(0x31d)]=_0x349e7e,this[_0x55a3c1(0x16a)]=_0x53d62d);}[_0x2686e3(0x299)](){const _0x4273a4=_0x2686e3;this[_0x4273a4(0x295)]=!0x0;}[_0x2686e3(0x1cf)](){const _0x7a0731=_0x2686e3;this[_0x7a0731(0x295)]=!0x1;}get[_0x2686e3(0x173)](){const _0x43c9d6=_0x2686e3;return this[_0x43c9d6(0x1de)];}[_0x2686e3(0x340)](){const _0x2add59=_0x2686e3;this['exhaustSavingTask']()['then'](()=>super[_0x2add59(0x340)]());}async[_0x2686e3(0x161)](_0x21e933){const _0x4941a6=_0x2686e3;return this[_0x4941a6(0x295)]?null:this[_0x4941a6(0x31d)][_0x4941a6(0x2e0)](_0x437809(_0x21e933));}async[_0x2686e3(0x1e3)](_0x12a1c5,_0x23ecc7){const _0x54cec9=_0x2686e3;return!!this[_0x54cec9(0x31d)][_0x54cec9(0x1db)](_0x12a1c5,_0x23ecc7);}['updateOfflineData'](_0xd52b1e,_0x451290,_0x5a12b5,_0x531231){const _0x42ff79=_0x2686e3,_0x387079=this[_0x42ff79(0x16a)][_0x42ff79(0x1c0)](_0xd52b1e);this[_0x42ff79(0x15e)][_0x42ff79(0x155)](_0xd52b1e,{'unitID':_0xd52b1e,'type':_0x451290,'awaitingChangeset':_0x5a12b5,'mutations':_0x531231,'rev':_0x387079}),this[_0x42ff79(0x1de)][_0x42ff79(0x33d)](_0xd52b1e)||this[_0x42ff79(0x2b8)](_0xd52b1e);}['_scheduleSaving'](_0x161292){const _0x20cb13=_0x2686e3,_0x4033d4=this[_0x20cb13(0x196)]();_0x4033d4===0x0?this[_0x20cb13(0x1e1)](_0x161292):this[_0x20cb13(0x1de)]['set'](_0x161292,setTimeout(()=>this[_0x20cb13(0x1e1)](_0x161292),_0x4033d4));}[_0x2686e3(0x196)](){const _0x5c2d5a=_0x2686e3;var _0x4f056c;return(_0x4f056c=this[_0x5c2d5a(0x323)]['getConfig'](_0x2e6936))!=null?_0x4f056c:_0x258aab;}[_0x2686e3(0x1e1)](_0x1a3d43){const _0x2a283d=_0x2686e3,_0x38837f=this[_0x2a283d(0x1de)][_0x2a283d(0x1ad)](_0x1a3d43);return _0x38837f!==void 0x0&&window[_0x2a283d(0x271)](_0x38837f),this['_localStorageService'][_0x2a283d(0x1db)](_0x437809(_0x1a3d43),this[_0x2a283d(0x15e)]['get'](_0x1a3d43))[_0x2a283d(0x31b)](()=>this[_0x2a283d(0x1de)][_0x2a283d(0x277)](_0x1a3d43));}async[_0x2686e3(0x20e)](){const _0xba57b5=_0x2686e3,_0x3d47e2=[];this[_0xba57b5(0x1de)]['forEach']((_0xd55cad,_0x1eff9f)=>{const _0x329f58=_0xba57b5;window['clearTimeout'](_0xd55cad),_0x3d47e2[_0x329f58(0x209)](this['_saveCache'](_0x1eff9f)[_0x329f58(0x31b)](()=>{const _0x32d532=_0x329f58;this[_0x32d532(0x1de)][_0x32d532(0x277)](_0x1eff9f);}));}),await Promise[_0xba57b5(0x1ef)](_0x3d47e2);}};we=_n([Ee(0x0,_0xd03f15),Ee(0x1,_0xc9b330),Ee(0x2,_0x437cbf(_0x225270))],we);class hn extends _0x1f7e53{constructor(){const _0x49e96f=_0x2686e3;super(),_(this,_0x49e96f(0x2cd)),this['urlChange$']=_0x6495ce(window,_0x49e96f(0x2e2))[_0x49e96f(0x151)](_0x130b87(this['dispose$']),_0x5885f2(0x1),_0x2de1b3(void 0x0));}[_0x2686e3(0x1c4)](_0x373524,_0x3b5419,_0x3451b0=!0x1){const _0x569478=_0x2686e3,_0xb5481b=new URL(window[_0x569478(0x1e5)][_0x569478(0x23c)]);_0xb5481b['searchParams'][_0x569478(0x155)](_0x373524,_0x3b5419),_0x3451b0?window[_0x569478(0x329)][_0x569478(0x327)]('','',_0xb5481b[_0x569478(0x2e4)]()):window[_0x569478(0x329)][_0x569478(0x2f4)]('','',_0xb5481b[_0x569478(0x2e4)]());}[_0x2686e3(0x317)](_0x1f6e45,_0x5ae3b1=!0x1){const _0x38bd06=_0x2686e3,_0x5f4ecb=new URL(window[_0x38bd06(0x1e5)][_0x38bd06(0x23c)]);_0x5f4ecb[_0x38bd06(0x2f2)][_0x38bd06(0x277)](_0x1f6e45),_0x5ae3b1?window[_0x38bd06(0x329)][_0x38bd06(0x327)]('','',_0x5f4ecb['toString']()):window[_0x38bd06(0x329)][_0x38bd06(0x2f4)]('','',_0x5f4ecb['toString']());}[_0x2686e3(0x24b)](_0x946f6b){const _0x429224=_0x2686e3;var _0x20dad5;return(_0x20dad5=new URL(window[_0x429224(0x1e5)]['href'])['searchParams'][_0x429224(0x1ad)](_0x946f6b))!=null?_0x20dad5:void 0x0;}}var un=Object[_0x2686e3(0x335)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x325eca,_0x858135,_0x30a99e)=>_0x858135 in _0x325eca?un(_0x325eca,_0x858135,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30a99e}):_0x325eca[_0x858135]=_0x30a99e,Sn=(_0x42e000,_0x27381d,_0x23abcd,_0x5498bd)=>{const _0x1ca93b=_0x2686e3;for(var _0x51fbb7=_0x5498bd>0x1?void 0x0:_0x5498bd?dn(_0x27381d,_0x23abcd):_0x27381d,_0x360595=_0x42e000[_0x1ca93b(0x29f)]-0x1,_0x3349a6;_0x360595>=0x0;_0x360595--)(_0x3349a6=_0x42e000[_0x360595])&&(_0x51fbb7=_0x3349a6(_0x51fbb7)||_0x51fbb7);return _0x51fbb7;},Oe=(_0x5827ef,_0x3d0780)=>(_0x34d2f1,_0x4c2354)=>_0x3d0780(_0x34d2f1,_0x4c2354,_0x5827ef),mn=(_0xf5012e,_0x563bdb,_0x335b57)=>fn(_0xf5012e,_0x563bdb+'',_0x335b57);const In=_0x2686e3(0x268);let Ae=class extends _0x4257ba{constructor(_0x43dbf2=et,_0x51f8b2,_0x41357d,_0x229fea){const _0x5a226d=_0x2686e3;super(),this[_0x5a226d(0x1fd)]=_0x43dbf2,this[_0x5a226d(0x190)]=_0x51f8b2,this[_0x5a226d(0x2c3)]=_0x41357d,this[_0x5a226d(0x323)]=_0x229fea;const {..._0x30970c}=_0x4d74b0({},et,this[_0x5a226d(0x1fd)]);this[_0x5a226d(0x323)]['setConfig'](Zi,_0x30970c);}[_0x2686e3(0x270)](){const _0x5b2c99=_0x2686e3;this[_0x5b2c99(0x302)](),this[_0x5b2c99(0x2ea)]();}['onRendered'](){const _0x5264a3=_0x2686e3;this[_0x5264a3(0x138)]();}['_registerDependencies'](){const _0x2e4960=_0x2686e3;var _0x406615;const _0x4966ae=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x54c1fa,{'useClass':_0x2f2bd5}],[_0x52e427,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x49070c(this[_0x2e4960(0x2c3)],_0x530a26(_0x4966ae,(_0x406615=this[_0x2e4960(0x1fd)])==null?void 0x0:_0x406615[_0x2e4960(0x1d1)]));}[_0x2686e3(0x138)](){const _0x7f6e91=_0x2686e3;this[_0x7f6e91(0x2a4)](this[_0x7f6e91(0x190)][_0x7f6e91(0x320)](_0x259f9d['UNIVER_DOC'],[Le])),this[_0x7f6e91(0x2a4)](this[_0x7f6e91(0x190)][_0x7f6e91(0x320)](_0x259f9d[_0x7f6e91(0x1aa)],[Pe]));}[_0x2686e3(0x2ea)](){const _0x4fdd71=_0x2686e3;_0x3a14f4(this[_0x4fdd71(0x2c3)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x45f006(_0x5aafc5),Oe(0x1,_0x145026),Oe(0x2,_0x437cbf(_0x212b2d)),Oe(0x3,_0xd03f15)],Ae);var gn=Object[_0x2686e3(0x29c)],vn=(_0x36bd64,_0xc272a3,_0x1c85e5,_0x14d593)=>{for(var _0x432820=_0x14d593>0x1?void 0x0:_0x14d593?gn(_0xc272a3,_0x1c85e5):_0xc272a3,_0x11cfc4=_0x36bd64['length']-0x1,_0x161c30;_0x11cfc4>=0x0;_0x11cfc4--)(_0x161c30=_0x36bd64[_0x11cfc4])&&(_0x432820=_0x161c30(_0x432820)||_0x432820);return _0x432820;},K=(_0x1c9cfb,_0x1e822f)=>(_0x515f98,_0x125323)=>_0x1e822f(_0x515f98,_0x125323,_0x1c9cfb);let st=class extends _0x5c85f5{constructor(_0x54c6fe,_0x4d0e9d,_0x4f2fb8,_0x152bbf,_0x33b6a7){super(_0x54c6fe,_0x4d0e9d,_0x4f2fb8,_0x152bbf,_0x33b6a7);}async['createSocket'](_0x354225){const _0x51111f=_0x2686e3,_0x13c4b5=await this[_0x51111f(0x326)](),_0x3140ca=this[_0x51111f(0x260)](_0x354225,_0x13c4b5);return this['_doCreateSocket'](_0x3140ca);}['_createSocketURL'](_0x1ec477,_0x40d553){const _0x11d0ff=_0x2686e3,_0x52cec0=typeof window>'u'?new URL(_0x1ec477):new URL(_0x1ec477,window[_0x11d0ff(0x1e5)][_0x11d0ff(0x1ae)]);_0x52cec0[_0x11d0ff(0x2f2)]['set'](_0x11d0ff(0x22a),_0x40d553);const _0x252975=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x11d0ff(0x1e5)]['search']);return _0x252975[_0x11d0ff(0x1ad)](_0x11d0ff(0x2fe))&&_0x52cec0[_0x11d0ff(0x2f2)][_0x11d0ff(0x155)](_0x11d0ff(0x2fe),_0x252975[_0x11d0ff(0x1ad)]('runId')),_0x52cec0[_0x11d0ff(0x2e4)]();}async['_getSessionTicket'](){const _0x4f5916=_0x2686e3;var _0x2dcbe4,_0x5f1cc5,_0x2dd5ef;const _0x58cafd=this[_0x4f5916(0x323)][_0x4f5916(0x1a3)](_0x2e06a0),_0x3e567c=(_0x2dcbe4=_0x58cafd==null?void 0x0:_0x58cafd[_0x4f5916(0x238)])!=null?_0x2dcbe4:_0x62fee3;return(_0x2dd5ef=(_0x5f1cc5=(await this['_httpService']['get'](_0x3e567c,{'headers':{'Content-Type':'application/json'}}))[_0x4f5916(0x339)])==null?void 0x0:_0x5f1cc5['ticket'])!=null?_0x2dd5ef:'';}};st=vn([K(0x0,_0x437cbf(_0x212b2d)),K(0x1,_0x437cbf(_0x538f65)),K(0x2,_0xd03f15),K(0x3,_0x46abfe),K(0x4,_0x2153ad)],st);const it=0x7530,nt=_0x2686e3(0x1f0);class Fn extends _0x2d320f{constructor(){const _0x2bbd7c=_0x2686e3;super(),_(this,_0x2bbd7c(0x275),_0x19648d()),_(this,_0x2bbd7c(0x300),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x2bbd7c(0x174),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0xd902ff=_0x2686e3;super[_0xd902ff(0x340)](),this[_0xd902ff(0x174)][_0xd902ff(0x164)]((_0x206b47,_0x21fef6)=>this[_0xd902ff(0x24f)](_0x21fef6)),this[_0xd902ff(0x1a8)]&&window[_0xd902ff(0x1dc)](this[_0xd902ff(0x1a8)]);}[_0x2686e3(0x178)](_0x2e67d5){const _0xdec65a=_0x2686e3;return this[_0xdec65a(0x1bc)](_0x2e67d5)[_0xdec65a(0x151)](_0x12b905());}[_0x2686e3(0x148)](_0x3db37a){const _0x4d9bf1=_0x2686e3;this[_0x4d9bf1(0x300)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x4d9bf1(0x291)](_0x3db37a),this[_0x4d9bf1(0x30a)]({'type':0x0,'memberID':this[_0x4d9bf1(0x275)],'unitIDs':[_0x3db37a],'isForwarded':!0x1});}[_0x2686e3(0x2c4)](_0x9c72c2){const _0x1c7317=_0x2686e3;this[_0x1c7317(0x300)][_0x1c7317(0x277)](_0x9c72c2),this[_0x1c7317(0x300)][_0x1c7317(0x278)]===0x0&&this[_0x1c7317(0x1a8)]&&window['clearInterval'](this[_0x1c7317(0x1a8)]);}[_0x2686e3(0x2de)](){const _0x2c7f52=_0x2686e3;this[_0x2c7f52(0x2a4)](_0x1e1ccf(_0x6495ce(window,_0x2c7f52(0x162))[_0x2c7f52(0x200)](_0x5efb83=>{const _0x2194c6=_0x2c7f52;if(_0x5efb83[_0x2194c6(0x133)]!==nt||!_0x5efb83['newValue'])return;const _0x978cb0=JSON['parse'](_0x5efb83[_0x2194c6(0x13e)]);this[_0x2194c6(0x22e)](_0x978cb0);}))),window[_0x2c7f52(0x298)](_0x2c7f52(0x1e2),()=>this[_0x2c7f52(0x30a)]({'type':0x1,'memberID':this[_0x2c7f52(0x275)],'unitIDs':Array['from'](this[_0x2c7f52(0x300)])}));}[_0x2686e3(0x22e)](_0x426ba2){const _0x2d8371=_0x2686e3;switch(_0x426ba2[_0x2d8371(0x13c)]){case 0x0:this[_0x2d8371(0x197)](_0x426ba2);break;case 0x1:this[_0x2d8371(0x2d3)](_0x426ba2);break;case 0x2:this[_0x2d8371(0x333)](_0x426ba2);break;}}['_handleJoinEvent'](_0x3b2480){const _0x586716=_0x2686e3,{unitIDs:_0x44eccd,memberID:_0x3d5d52,isForwarded:_0x3cdfec}=_0x3b2480;_0x44eccd[_0x586716(0x164)](_0x199d7e=>{const _0x2d1552=_0x586716;if(!_0x3cdfec&&this[_0x2d1552(0x2a8)][_0x2d1552(0x33d)](_0x199d7e)&&this[_0x2d1552(0x1bc)](_0x199d7e)[_0x2d1552(0x207)](_0x45f787[_0x2d1552(0x28e)]),!this['_unitOnClients'][_0x2d1552(0x33d)](_0x199d7e)||!this['_unitOnClients'][_0x2d1552(0x1ad)](_0x199d7e)[_0x2d1552(0x33d)](_0x3d5d52)){const _0x587209=this[_0x2d1552(0x2a8)][_0x2d1552(0x1ad)](_0x199d7e)||new Set();_0x587209[_0x2d1552(0x291)](_0x3d5d52),this['_unitOnClients'][_0x2d1552(0x155)](_0x199d7e,_0x587209),this['_scheduleClearOtherTimer'](_0x3d5d52);}}),_0x3cdfec||this[_0x586716(0x30a)]({'type':0x0,'memberID':this[_0x586716(0x275)],'unitIDs':[...this[_0x586716(0x300)]],'isForwarded':!0x0});}[_0x2686e3(0x303)](_0x4f37ea){const _0x323a7c=_0x2686e3;this[_0x323a7c(0x24f)](_0x4f37ea);const _0xbc554c=window[_0x323a7c(0x2e8)](()=>{const _0x2f3337=_0x323a7c;this[_0x2f3337(0x2a8)][_0x2f3337(0x164)](_0xa71a6=>{_0xa71a6['delete'](_0x4f37ea);});},it*0x2);this['_clearOtherTimers'][_0x323a7c(0x155)](_0x4f37ea,_0xbc554c);}[_0x2686e3(0x24f)](_0xd90622){const _0x38b10a=_0x2686e3;if(this[_0x38b10a(0x174)][_0x38b10a(0x33d)](_0xd90622)){const _0x5a33c2=this[_0x38b10a(0x174)]['get'](_0xd90622);_0x5a33c2&&window[_0x38b10a(0x271)](_0x5a33c2),this[_0x38b10a(0x174)][_0x38b10a(0x155)](_0xd90622,null);}}['_handleLeaveEvent'](_0x195c10){const _0x6610ae=_0x2686e3,{memberID:_0x2f7b89,unitIDs:_0x14eb07}=_0x195c10;_0x14eb07[_0x6610ae(0x164)](_0xb9331e=>{const _0x4cff16=_0x6610ae;var _0x2d59e0;const _0xb7d106=this[_0x4cff16(0x2a8)][_0x4cff16(0x1ad)](_0xb9331e);_0xb7d106&&(_0xb7d106['delete'](_0x2f7b89),(_0x2d59e0=this[_0x4cff16(0x1bc)](_0xb9331e))==null||_0x2d59e0['next'](_0xb7d106[_0x4cff16(0x278)]===0x0?_0x45f787[_0x4cff16(0x1c2)]:_0x45f787['OTHER_CLIENTS_EDITING']));}),this[_0x6610ae(0x24f)](_0x2f7b89);}[_0x2686e3(0x333)](_0x120bac){const _0x4db235=_0x2686e3;this[_0x4db235(0x303)](_0x120bac[_0x4db235(0x2dd)]);}['_send'](_0x37d4e5){const _0x2e8ddb=_0x2686e3;localStorage[_0x2e8ddb(0x1db)](nt,JSON['stringify'](_0x37d4e5));}[_0x2686e3(0x28b)](){const _0x12cab2=_0x2686e3;this[_0x12cab2(0x1a8)]=window[_0x12cab2(0x1f8)](()=>{const _0x4363bc=_0x12cab2;this[_0x4363bc(0x30a)]({'type':0x2,'memberID':this['_id']});},it);}[_0x2686e3(0x1bc)](_0x22e843){const _0x27dd98=_0x2686e3;return this[_0x27dd98(0x242)][_0x27dd98(0x33d)](_0x22e843)||this['_unitStatus'][_0x27dd98(0x155)](_0x22e843,new _0x289e43(_0x45f787['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x27dd98(0x1ad)](_0x22e843);}}var Mt=(_0x58b31f=>(_0x58b31f[_0x58b31f[_0x2686e3(0x227)]=0x0]=_0x2686e3(0x227),_0x58b31f[_0x58b31f['OK']=0x1]='OK',_0x58b31f[_0x58b31f[_0x2686e3(0x17e)]=0x2]=_0x2686e3(0x17e),_0x58b31f[_0x58b31f['PERMISSION_DENIED']=0x3]=_0x2686e3(0x18c),_0x58b31f[_0x58b31f[_0x2686e3(0x2aa)]=0x4]=_0x2686e3(0x2aa),_0x58b31f[_0x58b31f[_0x2686e3(0x325)]=0x5]='UNAUTHENTICATED',_0x58b31f[_0x58b31f[_0x2686e3(0x2ee)]=0x6]=_0x2686e3(0x2ee),_0x58b31f[_0x58b31f[_0x2686e3(0x2dc)]=0x7]=_0x2686e3(0x2dc),_0x58b31f[_0x58b31f['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x58b31f[_0x58b31f[_0x2686e3(0x1be)]=0x9]='COMPLETION_FINISHED',_0x58b31f[_0x58b31f[_0x2686e3(0x250)]=0xa]='LOGIN_FAILED',_0x58b31f[_0x58b31f[_0x2686e3(0x2f6)]=0xb]=_0x2686e3(0x2f6),_0x58b31f[_0x58b31f[_0x2686e3(0x266)]=0xc]=_0x2686e3(0x266),_0x58b31f[_0x58b31f[_0x2686e3(0x2f0)]=0xd]=_0x2686e3(0x2f0),_0x58b31f[_0x58b31f[_0x2686e3(0x2a2)]=0xe]=_0x2686e3(0x2a2),_0x58b31f[_0x58b31f[_0x2686e3(0x257)]=0x1389]=_0x2686e3(0x257),_0x58b31f[_0x58b31f['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2686e3(0x24e),_0x58b31f[_0x58b31f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2686e3(0x1ab),_0x58b31f[_0x58b31f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2686e3(0x1cc),_0x58b31f[_0x58b31f[_0x2686e3(0x21b)]=0x1b59]=_0x2686e3(0x21b),_0x58b31f[_0x58b31f[_0x2686e3(0x31f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x58b31f[_0x58b31f[_0x2686e3(0x2b1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x58b31f[_0x58b31f[_0x2686e3(0x22b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x58b31f[_0x58b31f['APPLY_DUPLICATED']=0x1b5d]=_0x2686e3(0x25c),_0x58b31f[_0x58b31f[_0x2686e3(0x2f7)]=0x1f41]=_0x2686e3(0x2f7),_0x58b31f[_0x58b31f[_0x2686e3(0x171)]=0x2329]=_0x2686e3(0x171),_0x58b31f[_0x58b31f[_0x2686e3(0x263)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x58b31f[_0x58b31f[_0x2686e3(0x201)]=0x232b]=_0x2686e3(0x201),_0x58b31f[_0x58b31f[_0x2686e3(0x2c5)]=0x232c]=_0x2686e3(0x2c5),_0x58b31f[_0x58b31f[_0x2686e3(0x2a0)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x58b31f[_0x58b31f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2686e3(0x2a6),_0x58b31f[_0x58b31f[_0x2686e3(0x20f)]=0x2712]=_0x2686e3(0x20f),_0x58b31f[_0x58b31f[_0x2686e3(0x307)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x58b31f[_0x58b31f[_0x2686e3(0x1a0)]=0x2714]=_0x2686e3(0x1a0),_0x58b31f[_0x58b31f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2686e3(0x2c9),_0x58b31f[_0x58b31f[_0x2686e3(0x2b0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x58b31f[_0x58b31f[_0x2686e3(0x2da)]=0x271c]=_0x2686e3(0x2da),_0x58b31f[_0x58b31f[_0x2686e3(0x24c)]=0x271d]=_0x2686e3(0x24c),_0x58b31f[_0x58b31f[_0x2686e3(0x17d)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x58b31f[_0x58b31f[_0x2686e3(0x218)]=0x271f]=_0x2686e3(0x218),_0x58b31f[_0x58b31f[_0x2686e3(0x142)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x58b31f[_0x58b31f['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2686e3(0x13b),_0x58b31f[_0x58b31f[_0x2686e3(0x28f)]=0x2ee1]=_0x2686e3(0x28f),_0x58b31f[_0x58b31f[_0x2686e3(0x21c)]=0x2ee2]=_0x2686e3(0x21c),_0x58b31f[_0x58b31f[_0x2686e3(0x313)]=0x2ee3]=_0x2686e3(0x313),_0x58b31f[_0x58b31f[_0x2686e3(0x153)]=0x2ee4]=_0x2686e3(0x153),_0x58b31f[_0x58b31f[_0x2686e3(0x2c1)]=0x2ee5]=_0x2686e3(0x2c1),_0x58b31f[_0x58b31f[_0x2686e3(0x163)]=0x32c9]=_0x2686e3(0x163),_0x58b31f[_0x58b31f[_0x2686e3(0x308)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x58b31f[_0x58b31f[_0x2686e3(0x319)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x58b31f[_0x58b31f['UNRECOGNIZED']=-0x1]=_0x2686e3(0x269),_0x58b31f))(Mt||{}),pn=Object[_0x2686e3(0x29c)],Cn=(_0x3779c3,_0x236c73,_0x3bd3a3,_0x141611)=>{for(var _0x19eec1=_0x141611>0x1?void 0x0:_0x141611?pn(_0x236c73,_0x3bd3a3):_0x236c73,_0x462062=_0x3779c3['length']-0x1,_0xf3adb2;_0x462062>=0x0;_0x462062--)(_0xf3adb2=_0x3779c3[_0x462062])&&(_0x19eec1=_0xf3adb2(_0x19eec1)||_0x19eec1);return _0x19eec1;},be=(_0x8585,_0x20053b)=>(_0x281ea6,_0x242e94)=>_0x20053b(_0x281ea6,_0x242e94,_0x8585);let rt=class extends _0x2d320f{constructor(_0x1e454f,_0x114c5b,_0x1a9c73){const _0x29bb5a=_0x2686e3;super(),this[_0x29bb5a(0x26b)]=_0x1e454f,this[_0x29bb5a(0x18d)]=_0x114c5b,this[_0x29bb5a(0x323)]=_0x1a9c73;}async[_0x2686e3(0x1e0)](_0x44661a,_0x1b6625,_0x2e8049,..._0x66e48){const _0x3a45eb=_0x2686e3;var _0x64e560,_0xd26a13,_0x48306f,_0x2797be;const _0x271aa1=this[_0x3a45eb(0x26b)]['getFocusedUnit']();if(!_0x271aa1)throw new Error(_0x3a45eb(0x146));const _0x2921d9=((_0x64e560=this[_0x3a45eb(0x323)]['getConfig'](_0x2031ac))!=null?_0x64e560:_0xa9e657)+'/'+_0x44661a+_0x3a45eb(0x2b3)+_0x1b6625,_0x118212=new URL(window[_0x3a45eb(0x1e5)]['href']),_0x4359bf={'scriptId':_0x44661a,'runId':(_0xd26a13=_0x118212[_0x3a45eb(0x2f2)][_0x3a45eb(0x1ad)]('runId'))!=null?_0xd26a13:'','function':_0x1b6625,'unitId':_0x271aa1['getUnitId'](),'argsOfFunction':JSON[_0x3a45eb(0x324)](_0x66e48),'invokeId':(_0x48306f=_0x2e8049[_0x3a45eb(0x16e)])!=null?_0x48306f:'','executionId':(_0x2797be=_0x2e8049[_0x3a45eb(0x249)])!=null?_0x2797be:''};try{const _0x1bbdac=await this[_0x3a45eb(0x18d)]['post'](_0x2921d9,{'body':_0x4359bf});return _0x1bbdac[_0x3a45eb(0x339)]['error']&&_0x1bbdac[_0x3a45eb(0x339)][_0x3a45eb(0x31e)][_0x3a45eb(0x16b)]!==Mt['OK']?_0x3a45eb(0x154):_0x1bbdac[_0x3a45eb(0x339)][_0x3a45eb(0x310)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x1fee0a),be(0x1,_0x437cbf(_0x538f65)),be(0x2,_0xd03f15)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0xdbf2(_0x240700,_0x4efc73){const _0x52667c=_0x5266();return _0xdbf2=function(_0xdbf2e6,_0x225b95){_0xdbf2e6=_0xdbf2e6-0x127;let _0x26f2f0=_0x52667c[_0xdbf2e6];return _0x26f2f0;},_0xdbf2(_0x240700,_0x4efc73);}function _0x5266(){const _0x2f7e26=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','7570sayiXw','Authentication\x20Error','Local\x20file','496ZuHkMz','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','321275jDKxdX','12qVaXFY','392565HNFygD','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2227014ipKwUF','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','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.','8211732SgMoGM','22rSyEmI','Collaboration\x20Conflict','11fDIDnH','251523txlFJW','80IhNCai','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','41993MemOWb','Edit\x20conflicts'];_0x5266=function(){return _0x2f7e26;};return _0x5266();}const _0x45c85d=_0xdbf2;(function(_0x2a6ac2,_0x493a41){const _0x3b8d35=_0xdbf2,_0x4b356f=_0x2a6ac2();while(!![]){try{const _0x4fd0f5=parseInt(_0x3b8d35(0x134))/0x1*(parseInt(_0x3b8d35(0x128))/0x2)+parseInt(_0x3b8d35(0x13b))/0x3*(parseInt(_0x3b8d35(0x13a))/0x4)+parseInt(_0x3b8d35(0x139))/0x5+-parseInt(_0x3b8d35(0x13e))/0x6+parseInt(_0x3b8d35(0x131))/0x7*(-parseInt(_0x3b8d35(0x137))/0x8)+-parseInt(_0x3b8d35(0x12b))/0x9*(parseInt(_0x3b8d35(0x12c))/0xa)+-parseInt(_0x3b8d35(0x12a))/0xb*(-parseInt(_0x3b8d35(0x127))/0xc);if(_0x4fd0f5===_0x493a41)break;else _0x4b356f['push'](_0x4b356f['shift']());}catch(_0x869757){_0x4b356f['push'](_0x4b356f['shift']());}}}(_0x5266,0x3eeb6));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x45c85d(0x140),'conflict':_0x45c85d(0x132),'notCollab':_0x45c85d(0x136),'synced':'Synced','syncing':_0x45c85d(0x12d),'offline':_0x45c85d(0x13d)},'session':{'connection-failed':_0x45c85d(0x130),'will-retry':_0x45c85d(0x13f),'room-full':_0x45c85d(0x133),'collaboration-timeout':_0x45c85d(0x138)},'conflict':{'title':_0x45c85d(0x129),'content':_0x45c85d(0x141)},'permission':{'title':_0x45c85d(0x135),'content':_0x45c85d(0x12f)},'collaboration':{'single-unit':{'warning':_0x45c85d(0x12e)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x45c85d(0x13c)}};export{e as default};
1
+ const _0x5348fa=_0x3464;(function(_0x363e26,_0x4e0731){const _0x303490=_0x3464,_0x525442=_0x363e26();while(!![]){try{const _0x59ace7=-parseInt(_0x303490(0xa4))/0x1*(parseInt(_0x303490(0xb7))/0x2)+parseInt(_0x303490(0xb2))/0x3+parseInt(_0x303490(0x9f))/0x4*(parseInt(_0x303490(0x9e))/0x5)+-parseInt(_0x303490(0x9d))/0x6*(-parseInt(_0x303490(0xa1))/0x7)+parseInt(_0x303490(0xa3))/0x8+-parseInt(_0x303490(0xb4))/0x9+parseInt(_0x303490(0xb6))/0xa*(-parseInt(_0x303490(0xaf))/0xb);if(_0x59ace7===_0x4e0731)break;else _0x525442['push'](_0x525442['shift']());}catch(_0x647fbe){_0x525442['push'](_0x525442['shift']());}}}(_0x50fb,0xaaddc));const e={'collab-client':{'tooltip':{'reconnect':_0x5348fa(0xa2)}},'collabStatus':{'fetchMiss':_0x5348fa(0xb5),'conflict':_0x5348fa(0xb0),'notCollab':_0x5348fa(0xa9),'synced':_0x5348fa(0xa0),'syncing':_0x5348fa(0xa6),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x5348fa(0xae),'will-retry':_0x5348fa(0xb1),'room-full':_0x5348fa(0xa7),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5348fa(0xa5),'content':_0x5348fa(0xab)},'permission':{'title':_0x5348fa(0xa8),'content':_0x5348fa(0xb3)},'collaboration':{'single-unit':{'warning':_0x5348fa(0xac)},'closeRoom':_0x5348fa(0xad)},'auth':{'needGotoLoginAlert':_0x5348fa(0xaa)}};function _0x50fb(){const _0x33167b=['Connection\x20failed,\x20please\x20check\x20your\x20network.','44frcDsg','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3480789KUeapM','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','9748080RiHoUZ','Syncing\x20server\x20data...','1062020uuwhDR','2XFKzEr','1576776AiXRqE','2656370RvtKUx','8EvLMIV','Synced','7IXmbRi','Click\x20to\x20Reconnect','3611616glGgHv','729263xitYnm','Collaboration\x20Conflict','Syncing...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x50fb=function(){return _0x33167b;};return _0x50fb();}function _0x3464(_0x868dd2,_0x138f12){const _0x50fb0a=_0x50fb();return _0x3464=function(_0x3464e5,_0x523d87){_0x3464e5=_0x3464e5-0x9d;let _0x4edc4f=_0x50fb0a[_0x3464e5];return _0x4edc4f;},_0x3464(_0x868dd2,_0x138f12);}export{e as default};
@@ -1 +1 @@
1
- const _0x26aa15=_0x4a37;function _0x4a37(_0xda47eb,_0x4a5ce8){const _0x3618a3=_0x3618();return _0x4a37=function(_0x4a37ef,_0x38d2ce){_0x4a37ef=_0x4a37ef-0x138;let _0x1acf76=_0x3618a3[_0x4a37ef];return _0x1acf76;},_0x4a37(_0xda47eb,_0x4a5ce8);}(function(_0x14ff49,_0x5067ec){const _0x4124bd=_0x4a37,_0x51681b=_0x14ff49();while(!![]){try{const _0x4ed982=parseInt(_0x4124bd(0x13d))/0x1*(-parseInt(_0x4124bd(0x138))/0x2)+-parseInt(_0x4124bd(0x147))/0x3+-parseInt(_0x4124bd(0x146))/0x4+parseInt(_0x4124bd(0x143))/0x5*(-parseInt(_0x4124bd(0x14e))/0x6)+parseInt(_0x4124bd(0x148))/0x7*(parseInt(_0x4124bd(0x141))/0x8)+parseInt(_0x4124bd(0x144))/0x9*(-parseInt(_0x4124bd(0x14d))/0xa)+parseInt(_0x4124bd(0x145))/0xb;if(_0x4ed982===_0x5067ec)break;else _0x51681b['push'](_0x51681b['shift']());}catch(_0x449495){_0x51681b['push'](_0x51681b['shift']());}}}(_0x3618,0x8954d));const o={'collab-client':{'tooltip':{'reconnect':_0x26aa15(0x13c)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x26aa15(0x149),'notCollab':_0x26aa15(0x13a),'synced':_0x26aa15(0x139),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x26aa15(0x14a)},'session':{'connection-failed':_0x26aa15(0x142),'will-retry':_0x26aa15(0x13b),'room-full':_0x26aa15(0x13f),'collaboration-timeout':_0x26aa15(0x140)},'conflict':{'title':_0x26aa15(0x13e),'content':_0x26aa15(0x14c)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x26aa15(0x14f)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x26aa15(0x14b)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x3618(){const _0x18e01b=['تداخل\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شوند.','3971304MCqJxC','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','120485WIQLsn','2556954fAnMpg','45234200roODrp','848072jegjBg','3354018youypL','7VGjIqT','تداخل\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رفت.','20anfCxj','258zDLHaT','اعمال\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رفت.','2518NopVLa','همگام\x20سازی','پرونده\x20محلی','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','883WiTNmi'];_0x3618=function(){return _0x18e01b;};return _0x3618();}export{o as default};
1
+ const _0x26f454=_0x5e16;(function(_0x494620,_0x534d8c){const _0xba3d11=_0x5e16,_0x13049c=_0x494620();while(!![]){try{const _0x53cc2b=parseInt(_0xba3d11(0x1d5))/0x1+-parseInt(_0xba3d11(0x1e9))/0x2+parseInt(_0xba3d11(0x1d9))/0x3+-parseInt(_0xba3d11(0x1da))/0x4*(parseInt(_0xba3d11(0x1d3))/0x5)+parseInt(_0xba3d11(0x1d8))/0x6+parseInt(_0xba3d11(0x1d7))/0x7*(-parseInt(_0xba3d11(0x1e5))/0x8)+-parseInt(_0xba3d11(0x1db))/0x9*(parseInt(_0xba3d11(0x1e7))/0xa);if(_0x53cc2b===_0x534d8c)break;else _0x13049c['push'](_0x13049c['shift']());}catch(_0x349440){_0x13049c['push'](_0x13049c['shift']());}}}(_0x55d1,0xd2cee));const o={'collab-client':{'tooltip':{'reconnect':_0x26f454(0x1dd)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x26f454(0x1e8),'notCollab':_0x26f454(0x1dc),'synced':_0x26f454(0x1e3),'syncing':_0x26f454(0x1e4),'offline':_0x26f454(0x1de)},'session':{'connection-failed':_0x26f454(0x1d4),'will-retry':_0x26f454(0x1e2),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x26f454(0x1ea)},'conflict':{'title':_0x26f454(0x1d6),'content':_0x26f454(0x1e6)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x26f454(0x1df)},'collaboration':{'single-unit':{'warning':_0x26f454(0x1e1)},'closeRoom':_0x26f454(0x1e0)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};function _0x5e16(_0x1d815d,_0x46673d){const _0x55d193=_0x55d1();return _0x5e16=function(_0x5e1659,_0x2fc316){_0x5e1659=_0x5e1659-0x1d3;let _0x3c358d=_0x55d193[_0x5e1659];return _0x3c358d;},_0x5e16(_0x1d815d,_0x46673d);}function _0x55d1(){const _0x590c7b=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','همگام\x20سازی','در\x20حال\x20همگام\x20سازی...','8nyCvMK','یک\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رفت.','195660vDmSvu','تداخل\x20ویرایش','644690VXQuCi','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','123145sDxlrf','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1473802weoKZm','تداخل\x20همکاری','6227284bASwje','4984710ibTDXK','3716145fBndMQ','124bIaqtP','324GlMkAS','پرونده\x20محلی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'];_0x55d1=function(){return _0x590c7b;};return _0x55d1();}