@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506221606 → 0.8.2-nightly.202506231607

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 _0x283497=_0x4aa4;(function(_0x357e46,_0xbb453b){const _0x4d192e=_0x4aa4,_0xc304a7=_0x357e46();while(!![]){try{const _0x25c8e8=parseInt(_0x4d192e(0x325))/0x1+parseInt(_0x4d192e(0x34d))/0x2+parseInt(_0x4d192e(0x177))/0x3+parseInt(_0x4d192e(0x2a7))/0x4+parseInt(_0x4d192e(0x31e))/0x5*(-parseInt(_0x4d192e(0x1b1))/0x6)+-parseInt(_0x4d192e(0x210))/0x7*(-parseInt(_0x4d192e(0x22a))/0x8)+-parseInt(_0x4d192e(0x341))/0x9;if(_0x25c8e8===_0xbb453b)break;else _0xc304a7['push'](_0xc304a7['shift']());}catch(_0x26cb2a){_0xc304a7['push'](_0xc304a7['shift']());}}}(_0x5e04,0xf1c41));var $t=Object[_0x283497(0x1c6)],xt=(_0x4a6581,_0x55b7e5,_0x1dab41)=>_0x55b7e5 in _0x4a6581?$t(_0x4a6581,_0x55b7e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dab41}):_0x4a6581[_0x55b7e5]=_0x1dab41,_=(_0x403652,_0x16cbb0,_0x9e4e89)=>xt(_0x403652,typeof _0x16cbb0!=_0x283497(0x1c4)?_0x16cbb0+'':_0x16cbb0,_0x9e4e89);import{MemberService as _0x50ba5d,SessionStatus as _0x5b424d,CollaborationSessionService as _0xcdcff1,CollaborationStatus as _0x571a1f,CollaborationController as _0x5b629d,ILocalCacheService as _0x4928ef,CollaborationUIEventService as _0x15d0fc,CollaborationUIEventId as _0x5216f2,DataLoaderService as _0x217610,DocCollaborationEntity as _0x27bd93,getLocalCacheKey as _0x1d1390,LOCAL_CACHE_INTERVAL as _0x373cc1,LOCAL_CACHE_INTERVAL_KEY as _0x20b368,UniverCollaborationClientPlugin as _0x4ac470,CollaborationSocketService as _0x2a043b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2c2ea9,DEFAULT_WS_SESSION_TICKET_URL as _0x341ce6,UnitStatus as _0x5e54e0,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xd0ccc7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5ce496}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x215a18,Disposable as _0x13e60a,DOC_RANGE_TYPE as _0x185119,Inject as _0x336052,Injector as _0x23840d,IUniverInstanceService as _0x2638a7,ICommandService as _0x2a2f35,debounce as _0x1d96ab,Rectangle as _0x47539b,DisposableCollection as _0xdf7c0f,toDisposable as _0x4240ac,UniverInstanceType as _0x553305,Tools as _0xc7113e,COLORS as _0x56a727,ColorKit as _0x5d7b57,ThemeService as _0x3f0957,fromEventSubject as _0x4b470f,LocaleService as _0x438664,createIdentifier as _0x30540d,ILogService as _0x97385c,Optional as _0xbcdfff,Workbook as _0x4b6c3e,CommandType as _0x36887c,IConfigService as _0x31488f,ILocalStorageService as _0x4efb91,DependentOn as _0x2e9026,Plugin as _0x322134,merge as _0x20fa50,registerDependencies as _0x541397,mergeOverrideWithDependencies as _0xa3d283,touchDependencies as _0x569404,generateRandomId as _0x3dd555}from'@univerjs/core';import{Shape as _0x42aad7,Rect as _0x9ea098,getColor as _0x49a86e,RegularPolygon as _0x1509e5,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5d4a73,Vector2 as _0x3f8a8b,SHEET_VIEWPORT_KEY as _0x2522e4,IRenderManagerService as _0x11e40a}from'@univerjs/engine-render';import{ISocketService as _0x5f0c5b,WebSocketService as _0x4f8fc3,HTTPService as _0x554eaf}from'@univerjs/network';import{IDocClipboardService as _0x13c646,NodePositionConvertToCursor as _0x2969d6,NodePositionConvertToRectRange as _0x2c6f56,TEXT_RANGE_LAYER_INDEX as _0x40ab0f,SetDocZoomRatioOperation as _0x1ae648,DocIMEInputManagerService as _0x28d241,DocStateChangeManagerService as _0xc16f28}from'@univerjs/docs-ui';import{IImageIoService as _0x381aa4}from'@univerjs/drawing';import{BehaviorSubject as _0x23093d,debounceTime as _0x24de99,takeUntil as _0x469921,Subject as _0x32e95b,filter as _0x21ad69,switchMap as _0x4e2ce7,merge as _0x2db5cb,combineLatest as _0x2de9f6,of as _0x3042a6,fromEvent as _0x5600b4,shareReplay as _0x54f281,mapTo as _0x11e24e,distinctUntilChanged as _0x40a442}from'rxjs';import{ITransformService as _0x290c32,CollaborationEvent as _0x17cfba,isTransformMutationFailure as _0x7635fd,isTransformMutationsWithChangesetSuccess as _0x4d4c8b,RevisionService as _0x5bd1f2,ISnapshotServerService as _0x2b3ffe}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x40570d,RichTextEditingMutation as _0x3ef559,DocSelectionManagerService as _0x396beb,DocSkeletonManagerService as _0x134b9b}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3f51a,serializeRangeWithSheet as _0x2ddd94}from'@univerjs/engine-formula';import{RefRangeService as _0x5469db,SetSelectionsOperation as _0x344475,SheetsSelectionsService as _0x51ccb5,EffectRefRangId as _0x1e67ed,handleIRemoveRow as _0x1c2d16,handleIRemoveCol as _0x40ce98,handleMoveRange as _0x107a93,handleInsertRow as _0x81948,handleInsertRangeMoveRight as _0x2eaa02,handleInsertRangeMoveDown as _0x169085,handleInsertCol as _0x3f4054,handleDeleteRangeMoveUp as _0x9b69d7,handleDeleteRangeMoveLeft as _0x5e09bb,runRefRangeMutations as _0x5323b8,SetWorksheetActivateCommand as _0x3ff385}from'@univerjs/sheets';import{map as _0x2644af,filter as _0x2eb551,throttleTime as _0x43eaf2,takeUntil as _0x3448f0,switchMap as _0x31e1fb}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4c74d4,getCoordByCell as _0x4e0287,getSheetObject as _0xb7c4ca}from'@univerjs/sheets-ui';import{jsx as _0x2a8e23,jsxs as _0x11474f}from'react/jsx-runtime';import{useObservable as _0x36a0bc,useDependency as _0x18c626,IUIPartsService as _0x2b84e1,BuiltInUIPart as _0x2f4c09,connectInjector as _0x23d54e,IBeforeCloseService as _0x2d644d,IMessageService as _0x371474,INotificationService as _0x3e4127}from'@univerjs/ui';import{Tooltip as _0x56f491,clsx as _0x13c802,MessageType as _0x420c7e}from'@univerjs/design';import{forwardRef as _0x5972f6,useRef as _0x2deb76,createElement as _0x3709c9,useCallback as _0x5f51fb}from'react';import{IRemoteInstanceService as _0x3d174d}from'@univerjs/rpc';var ci=Object[_0x283497(0x352)],li=(_0x5120a3,_0x45ab9a,_0x304b52,_0x46a7d1)=>{const _0x96e37=_0x283497;for(var _0xebc3a5=_0x46a7d1>0x1?void 0x0:_0x46a7d1?ci(_0x45ab9a,_0x304b52):_0x45ab9a,_0x2c9c30=_0x5120a3[_0x96e37(0x2e1)]-0x1,_0x4239be;_0x2c9c30>=0x0;_0x2c9c30--)(_0x4239be=_0x5120a3[_0x2c9c30])&&(_0xebc3a5=_0x4239be(_0xebc3a5)||_0xebc3a5);return _0xebc3a5;},Je=(_0x27349f,_0x2209eb)=>(_0x21d0f4,_0x140b15)=>_0x2209eb(_0x21d0f4,_0x140b15,_0x27349f);let Ne=class extends _0x215a18{constructor(_0x1b323b,_0x1cf91d){const _0x109ce1=_0x283497;super(),this[_0x109ce1(0x1be)]=_0x1b323b,this[_0x109ce1(0x24c)]=_0x1cf91d,this[_0x109ce1(0x377)]();}[_0x283497(0x377)](){const _0x374c41=_0x283497,_0x426265=this;this[_0x374c41(0x1f9)](this[_0x374c41(0x1be)][_0x374c41(0x33d)]({'onBeforePasteImage':async _0x5d7299=>{const _0x47327f=_0x374c41,_0xa7b5be=await _0x426265[_0x47327f(0x24c)][_0x47327f(0x357)](_0x5d7299);return _0xa7b5be?{'source':_0xa7b5be['source'],'imageSourceType':_0xa7b5be[_0x47327f(0x2b8)]}:null;}}));}};Ne=li([Je(0x0,_0x13c646),Je(0x1,_0x381aa4)],Ne);const Ze=[_0x283497(0x2e9),_0x283497(0x2a2),_0x283497(0x379),_0x283497(0x173),_0x283497(0x309),'yellow.400'];class ke extends _0x13e60a{constructor(){const _0x4be4c4=_0x283497;super(...arguments),_(this,_0x4be4c4(0x204),new Map()),_(this,_0x4be4c4(0x24b),0x0);}[_0x283497(0x28d)](_0x27e24a){const _0x3dcdb2=_0x283497;if(this['_assignedColors'][_0x3dcdb2(0x27f)](_0x27e24a))return this['_assignedColors'][_0x3dcdb2(0x201)](_0x27e24a);const _0x2abfc0=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0x3dcdb2(0x24b)]+0x1)%Ze[_0x3dcdb2(0x2e1)],this[_0x3dcdb2(0x204)]['set'](_0x27e24a,_0x2abfc0),_0x2abfc0;}}function Tt(_0x43962f){const _0x237763=_0x283497;let _0x12d0ee='';for(const _0x119414 of _0x43962f){const {startOffset:_0x3514bc,endOffset:_0x4ae40e,isActive:_0x2df717,rangeType:_0xc3c53c,segmentId:_0x39934e,segmentPage:_0x32c5b5}=_0x119414;_0x12d0ee[_0x237763(0x2e1)]&&(_0x12d0ee+=','),_0x12d0ee+=_0x3514bc+':'+_0x4ae40e+':'+(_0x2df717?'1':'0')+':'+_0xc3c53c+':'+_0x39934e+':'+_0x32c5b5;}return _0x12d0ee;}function _i(_0x564097){const _0x3c4d3d=_0x283497,_0x1822cf=_0x564097['split'](','),_0x57d22e=[];for(const _0x138388 of _0x1822cf){const [_0x9a7226,_0x5295c9,_0x2076b9,_0x53b97a,_0x54704d,_0x40b90a]=_0x138388['split'](':');_0x57d22e['push']({'startOffset':Number(_0x9a7226),'endOffset':Number(_0x5295c9),'collapsed':_0x9a7226===_0x5295c9,'isActive':_0x2076b9==='1','rangeType':_0x53b97a===_0x185119['TEXT']?_0x185119['TEXT']:_0x185119[_0x3c4d3d(0x17d)],'segmentId':typeof _0x54704d==_0x3c4d3d(0x1f4)?String(_0x54704d):'','segmentPage':Number(_0x40b90a!=null?_0x40b90a:-0x1)});}return _0x57d22e[_0x3c4d3d(0x172)](_0x387c7d=>_0x387c7d[_0x3c4d3d(0x272)])||(_0x57d22e[0x0][_0x3c4d3d(0x272)]=!0x0),_0x57d22e;}class He extends _0x215a18{constructor(){const _0x1f8166=_0x283497;super(...arguments),_(this,_0x1f8166(0x1d5),new _0x23093d(null)),_(this,_0x1f8166(0x301),this[_0x1f8166(0x1d5)][_0x1f8166(0x334)]());}['syncEditingCollabCursor'](_0x5acba2){const _0x331eec=_0x283497,{unitID:_0x1442e8,memberID:_0x74872b,textRanges:_0x507521}=_0x5acba2,_0x160731=Tt(_0x507521);if(_0x160731==='')return;const _0x8dc9d0={'unitID':_0x1442e8,'memberID':_0x74872b,'selection':_0x160731};this[_0x331eec(0x1d5)]['next'](_0x8dc9d0);}}var hi=Object[_0x283497(0x352)],ui=(_0x912347,_0x5d2a98,_0x44b479,_0x8be0cb)=>{const _0xf57cbd=_0x283497;for(var _0x11dce7=_0x8be0cb>0x1?void 0x0:_0x8be0cb?hi(_0x5d2a98,_0x44b479):_0x5d2a98,_0xb85be5=_0x912347[_0xf57cbd(0x2e1)]-0x1,_0x5a4c16;_0xb85be5>=0x0;_0xb85be5--)(_0x5a4c16=_0x912347[_0xb85be5])&&(_0x11dce7=_0x5a4c16(_0x11dce7)||_0x11dce7);return _0x11dce7;},P=(_0x541738,_0x24489b)=>(_0x72d1ba,_0x2fff05)=>_0x24489b(_0x72d1ba,_0x2fff05,_0x541738);const di=0x12c,fi=0x64;let Ue=class extends _0x215a18{constructor(_0x454139,_0x275adb,_0x30a6d0,_0x1dab93,_0x2adef3,_0x272f1e,_0xfe338d,_0xdc8c0c,_0x133c00){const _0x184359=_0x283497;super(),_(this,_0x184359(0x192),!0x1),_(this,_0x184359(0x377),!0x1),_(this,'_cursorInfo$',new _0x23093d(new Map())),_(this,'cursorInfo$',this[_0x184359(0x2d6)][_0x184359(0x334)]()),_(this,_0x184359(0x1af),new _0x23093d([])),_(this,_0x184359(0x1dd),this[_0x184359(0x1af)][_0x184359(0x1b2)](_0x24de99(di))),_(this,'_updateLocalCursor',_0x1d96ab(_0x5f5d6b=>{const _0x4df722=_0x184359,_0x2477c3={'eventID':_0x17cfba[_0x4df722(0x1a3)],'data':{'unitID':this[_0x4df722(0x2d7)],'memberID':this['_session'][_0x4df722(0x241)](),'selection':Tt(_0x5f5d6b)}};this['_session'][_0x4df722(0x2b6)](_0x2477c3,this['unitID']);},fi)),(this[_0x184359(0x2d7)]=_0x454139,this[_0x184359(0x2e4)]=_0x275adb,this[_0x184359(0x336)]=_0x30a6d0,this['_colorAssignService']=_0x1dab93,this[_0x184359(0x2a0)]=_0x2adef3,this[_0x184359(0x372)]=_0x272f1e,this[_0x184359(0x273)]=_0xfe338d,this[_0x184359(0x17f)]=_0xdc8c0c,this[_0x184359(0x261)]=_0x133c00);}get[_0x283497(0x2b5)](){const _0x25dc50=_0x283497;return this[_0x25dc50(0x2d6)]['getValue']();}get[_0x283497(0x256)](){const _0x592fa3=_0x283497;return this['_roomMembers$'][_0x592fa3(0x244)]();}['dispose'](){const _0x2b1c51=_0x283497;super['dispose'](),this[_0x2b1c51(0x2d6)][_0x2b1c51(0x32c)](new Map()),this[_0x2b1c51(0x2d6)][_0x2b1c51(0x19f)](),this[_0x2b1c51(0x1af)]['next']([]),this[_0x2b1c51(0x1af)]['complete']();}[_0x283497(0x175)](){const _0x10762e=_0x283497;this[_0x10762e(0x377)]||(this[_0x10762e(0x377)]=!0x0,this[_0x10762e(0x2e4)][_0x10762e(0x1d9)][_0x10762e(0x1b2)](_0x469921(this[_0x10762e(0x36f)]))[_0x10762e(0x29f)](_0x395bd6=>{const _0x22c91f=_0x10762e;_0x395bd6===_0x5b424d[_0x22c91f(0x32a)]?this[_0x22c91f(0x1e6)]():this[_0x22c91f(0x2c0)]();}),this[_0x10762e(0x2e4)][_0x10762e(0x2e3)]['pipe'](_0x469921(this[_0x10762e(0x36f)]))[_0x10762e(0x29f)](_0x11998d=>{const _0x180adf=_0x10762e,_0x59fbaf=_0x11998d[_0x180adf(0x239)];_0x59fbaf===_0x17cfba['UPDATE_CURSOR']&&this[_0x180adf(0x2da)](_0x11998d),_0x59fbaf===_0x17cfba['USERS_LEAVE']&&this[_0x180adf(0x27b)](_0x11998d);}),this['disposeWithMe'](this[_0x10762e(0x261)][_0x10762e(0x19b)](_0x5e5e35=>{const _0xf41b21=_0x10762e,_0x1566f1=_0x5e5e35[_0xf41b21(0x17a)];_0x1566f1!=null&&this[_0xf41b21(0x192)]&&_0x5e5e35['id']===_0x40570d['id']&&_0x1566f1[_0xf41b21(0x360)]===this[_0xf41b21(0x2d7)]&&_0x1566f1[_0xf41b21(0x19e)]===!0x1&&_0x1566f1[_0xf41b21(0x1cd)][_0xf41b21(0x2e1)]>0x0&&this[_0xf41b21(0x2d0)](_0x1566f1['ranges']);})),this['_syncEditingCollabCursorService'][_0x10762e(0x301)][_0x10762e(0x1b2)](_0x469921(this[_0x10762e(0x36f)]))[_0x10762e(0x29f)](_0x27b48d=>{const _0x552864=_0x10762e;if((_0x27b48d==null?void 0x0:_0x27b48d[_0x552864(0x2d7)])!==this[_0x552864(0x2d7)])return;const _0x201318={'eventID':_0x17cfba['UPDATE_CURSOR'],'data':_0x27b48d};this[_0x552864(0x2da)](_0x201318);}),this[_0x10762e(0x1f9)](this[_0x10762e(0x261)][_0x10762e(0x19b)](_0x1e730c=>{const _0x459864=_0x10762e;if(_0x1e730c['params']==null)return;const _0x5a6e0b=_0x1e730c[_0x459864(0x17a)];if(_0x1e730c['id']!==_0x3ef559['id']||_0x5a6e0b[_0x459864(0x360)]!==this[_0x459864(0x2d7)])return;const _0x350f09={'id':_0x459864(0x365),'params':_0x5a6e0b},_0x107951=this[_0x459864(0x2b5)];for(const [_0x41e68e,_0x548bca]of _0x107951){const _0xfeae9={'id':_0x459864(0x365),'params':{'unitId':this[_0x459864(0x2d7)],'actions':null,'textRanges':_0x548bca[_0x459864(0x1cd)]}},_0x5eeca6=this[_0x459864(0x273)]['transformMutation'](_0x350f09,_0xfeae9,!0x1);if(_0x7635fd(_0x5eeca6))throw _0x5eeca6[_0x459864(0x1fd)];_0x107951['set'](_0x41e68e,{..._0x548bca,'ranges':_0x5eeca6[_0x459864(0x268)][_0x459864(0x17a)][_0x459864(0x359)]});}queueMicrotask(()=>{const _0x216a1c=_0x459864;this['_cursorInfo$'][_0x216a1c(0x32c)](_0x107951);});})));}[_0x283497(0x2da)](_0x3d07bc){const _0x1497ab=_0x283497;var _0x4e4863,_0x379004;const {memberID:_0x3ac6e2,selection:_0x2be754}=_0x3d07bc['data'],_0x14fb3e=_i(_0x2be754),_0x140b21=(_0x379004=(_0x4e4863=this['_memberService'][_0x1497ab(0x26e)](this[_0x1497ab(0x2d7)],_0x3ac6e2))==null?void 0x0:_0x4e4863[_0x1497ab(0x2ee)])!=null?_0x379004:'Unknown\x20user',_0x32a9d5={'color':this[_0x1497ab(0x25b)][_0x1497ab(0x28d)](_0x3ac6e2),'name':_0x140b21,'ranges':_0x14fb3e},_0x5e7fd8=this[_0x1497ab(0x2b5)];_0x5e7fd8[_0x1497ab(0x2b3)](_0x3ac6e2,_0x32a9d5),this[_0x1497ab(0x2d6)][_0x1497ab(0x32c)](_0x5e7fd8);}[_0x283497(0x27b)](_0x4bacf9){const _0xdc9717=_0x283497,{memberID:_0x33f58a}=_0x4bacf9[_0xdc9717(0x321)],_0x17f17d=this[_0xdc9717(0x2b5)];_0x17f17d[_0xdc9717(0x179)](_0x33f58a),this[_0xdc9717(0x2d6)][_0xdc9717(0x32c)](_0x17f17d);}[_0x283497(0x1e6)](){const _0x43d9e5=_0x283497;var _0x113d07;if(this[_0x43d9e5(0x192)]=!0x0,((_0x113d07=this[_0x43d9e5(0x17f)][_0x43d9e5(0x28e)]())==null?void 0x0:_0x113d07[_0x43d9e5(0x292)]())!==this[_0x43d9e5(0x2d7)])return;const _0x2c8d24=this[_0x43d9e5(0x336)][_0x43d9e5(0x201)](_0x396beb)[_0x43d9e5(0x2be)]();Array[_0x43d9e5(0x25d)](_0x2c8d24)&&_0x2c8d24[_0x43d9e5(0x2e1)]>0x0&&this['_updateLocalCursor'](_0x2c8d24);}[_0x283497(0x2c0)](){const _0x20cdd0=_0x283497;this[_0x20cdd0(0x192)]=!0x1;}};Ue=ui([P(0x2,_0x336052(_0x23840d)),P(0x3,_0x336052(ke)),P(0x4,_0x336052(_0x50ba5d)),P(0x5,_0x336052(He)),P(0x6,_0x290c32),P(0x7,_0x2638a7),P(0x8,_0x2a2f35)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x4f3ec6,_0x49d204,_0x24bfcc,_0x53b4f1)=>{const _0x43a04a=_0x283497;for(var _0x51151e=_0x53b4f1>0x1?void 0x0:_0x53b4f1?Si(_0x49d204,_0x24bfcc):_0x49d204,_0x4f2621=_0x4f3ec6[_0x43a04a(0x2e1)]-0x1,_0x18c7a6;_0x4f2621>=0x0;_0x4f2621--)(_0x18c7a6=_0x4f3ec6[_0x4f2621])&&(_0x51151e=_0x18c7a6(_0x51151e)||_0x51151e);return _0x51151e;},x=(_0x1b512a,_0x2a9c84)=>(_0x336adf,_0x123237)=>_0x2a9c84(_0x336adf,_0x123237,_0x1b512a);const Ii=0x12c,gi=0x64,vi=()=>{let _0x149b8b=[],_0x3489f1=!0x1;return _0x2cf32c=>{const _0x4e134b=_0x4aa4;_0x149b8b[_0x4e134b(0x1b7)](_0x2cf32c),_0x3489f1||(_0x3489f1=!0x0,setTimeout(()=>{const _0x29e08a=_0x4e134b;_0x149b8b[_0x29e08a(0x251)](_0x169e1a=>_0x169e1a()),_0x149b8b=[],_0x3489f1=!0x1;}));};};let Me=class extends _0x215a18{constructor(_0x224b01,_0x44f7da,_0x4442ea,_0x324d00,_0x281d68,_0x40291c,_0x305892,_0x165363){const _0x3273e1=_0x283497;super(),_(this,_0x3273e1(0x192),!0x1),_(this,_0x3273e1(0x377),!0x1),_(this,_0x3273e1(0x2d6),new _0x23093d(new Map())),_(this,_0x3273e1(0x2e7),this[_0x3273e1(0x2d6)]['asObservable']()),_(this,'_roomMembers$',new _0x23093d([])),_(this,'roomMembers$',this[_0x3273e1(0x1af)][_0x3273e1(0x1b2)](_0x24de99(Ii))),_(this,_0x3273e1(0x2d0),_0x1d96ab((_0xdb1a26,_0xcd1581)=>{const _0x19a788=_0x3273e1,_0x22a451={'eventID':_0x17cfba[_0x19a788(0x1a3)],'data':{'unitID':this[_0x19a788(0x2d7)],'memberID':this['_session'][_0x19a788(0x241)](),'selection':_0x2ddd94(_0xdb1a26,_0xcd1581[_0x19a788(0x178)])}};this[_0x19a788(0x2e4)][_0x19a788(0x2b6)](_0x22a451,this[_0x19a788(0x2d7)]);},gi)),(this[_0x3273e1(0x2d7)]=_0x224b01,this[_0x3273e1(0x2e4)]=_0x44f7da,this[_0x3273e1(0x336)]=_0x4442ea,this['_colorAssignService']=_0x324d00,this[_0x3273e1(0x2a0)]=_0x281d68,this[_0x3273e1(0x17f)]=_0x40291c,this[_0x3273e1(0x261)]=_0x305892,this['_refRangeService']=_0x165363);}get[_0x283497(0x2b5)](){const _0x3d8ed4=_0x283497;return this[_0x3d8ed4(0x2d6)]['getValue']();}get['roomMembers'](){const _0x37b366=_0x283497;return this[_0x37b366(0x1af)][_0x37b366(0x244)]();}[_0x283497(0x1b8)](){const _0x184864=_0x283497;super[_0x184864(0x1b8)](),this[_0x184864(0x2d6)]['next'](new Map()),this[_0x184864(0x2d6)][_0x184864(0x19f)](),this[_0x184864(0x1af)][_0x184864(0x32c)]([]),this[_0x184864(0x1af)][_0x184864(0x19f)]();}['init'](){const _0x11d475=_0x283497;this[_0x11d475(0x377)]||(this[_0x11d475(0x377)]=!0x0,this[_0x11d475(0x2e4)][_0x11d475(0x1d9)][_0x11d475(0x1b2)](_0x469921(this[_0x11d475(0x36f)]))[_0x11d475(0x29f)](_0x546578=>{const _0x480001=_0x11d475;_0x546578===_0x5b424d['ONLINE']?this[_0x480001(0x1e6)]():this[_0x480001(0x2c0)]();}),this['_session'][_0x11d475(0x2e3)]['pipe'](_0x469921(this[_0x11d475(0x36f)]))[_0x11d475(0x29f)](_0x23cb25=>{const _0x5b58fe=_0x11d475,_0x426185=_0x23cb25[_0x5b58fe(0x239)];_0x426185===_0x17cfba['UPDATE_CURSOR']&&this[_0x5b58fe(0x2da)](_0x23cb25),_0x426185===_0x17cfba[_0x5b58fe(0x1e7)]&&this[_0x5b58fe(0x27b)](_0x23cb25);}),this[_0x11d475(0x23f)](),this['disposeWithMe'](this[_0x11d475(0x261)][_0x11d475(0x19b)](_0x202b41=>{const _0x147a75=_0x11d475;if(this[_0x147a75(0x192)]&&_0x202b41['id']===_0x344475['id']&&_0x202b41[_0x147a75(0x17a)][_0x147a75(0x360)]===this[_0x147a75(0x2d7)]){const _0x49c6a6=_0x202b41['params'];this[_0x147a75(0x2d0)](_0x49c6a6[_0x147a75(0x17b)],_0x49c6a6[_0x147a75(0x1cf)][0x0]);}})));}['_onCursorUpdate'](_0x23044c){const _0x15d51a=_0x283497;var _0x34d234,_0x5e6e81;const {memberID:_0x4f0a88,selection:_0x4446ff}=_0x23044c[_0x15d51a(0x321)],{sheetName:_0x1f69af,range:_0x1e2a3c}=_0x3f51a(_0x4446ff),_0x4e2644={'name':(_0x5e6e81=(_0x34d234=this[_0x15d51a(0x2a0)][_0x15d51a(0x26e)](this[_0x15d51a(0x2d7)],_0x4f0a88))==null?void 0x0:_0x34d234[_0x15d51a(0x2ee)])!=null?_0x5e6e81:_0x15d51a(0x286),'range':this[_0x15d51a(0x302)](_0x1f69af,_0x1e2a3c),'sheetID':_0x1f69af,'color':this[_0x15d51a(0x25b)][_0x15d51a(0x28d)](_0x4f0a88),'selection':_0x4446ff},_0x4f567d=this[_0x15d51a(0x2b5)];_0x4f567d[_0x15d51a(0x2b3)](_0x4f0a88,_0x4e2644),this[_0x15d51a(0x2d6)][_0x15d51a(0x32c)](_0x4f567d);}[_0x283497(0x27b)](_0x53bde0){const _0x580142=_0x283497,{memberID:_0x197fff}=_0x53bde0['data'],_0x4ac8d0=this[_0x580142(0x2b5)];_0x4ac8d0[_0x580142(0x179)](_0x197fff),this[_0x580142(0x2d6)][_0x580142(0x32c)](_0x4ac8d0);}['_getMergeRange'](_0x19cc2d,_0x700ed1){const _0x313f81=_0x283497;var _0x41ea52,_0x3aaa6c;const _0x39af7e=(_0x3aaa6c=(_0x41ea52=this[_0x313f81(0x17f)][_0x313f81(0x196)](this['unitID']))==null?void 0x0:_0x41ea52['getSheetBySheetId'](_0x19cc2d))==null?void 0x0:_0x3aaa6c[_0x313f81(0x2c3)]();return(_0x39af7e==null?void 0x0:_0x39af7e['find'](_0x19466c=>_0x47539b['contains'](_0x19466c,_0x700ed1)))||_0x700ed1;}[_0x283497(0x23f)](){const _0x49ccd9=_0x283497,_0x235147=new _0xdf7c0f(),_0x46080d=vi(),_0x4aa4b9=()=>{const _0x4443b5=_0x4aa4;_0x235147[_0x4443b5(0x1b8)]();const _0x2c875a=(_0x20d268,_0x28667b,_0x3bdc47,_0x2a2538)=>{const _0x57d6aa=_0x4443b5;let _0x548b0a=[];switch(_0x20d268['id']){case _0x1e67ed['DeleteRangeMoveLeftCommandId']:{_0x548b0a=_0x5e09bb(_0x20d268,_0x2a2538);break;}case _0x1e67ed['DeleteRangeMoveUpCommandId']:{_0x548b0a=_0x9b69d7(_0x20d268,_0x2a2538);break;}case _0x1e67ed['InsertColCommandId']:{_0x548b0a=_0x3f4054(_0x20d268,_0x2a2538);break;}case _0x1e67ed['InsertRangeMoveDownCommandId']:{_0x548b0a=_0x169085(_0x20d268,_0x2a2538);break;}case _0x1e67ed['InsertRangeMoveRightCommandId']:{_0x548b0a=_0x2eaa02(_0x20d268,_0x2a2538);break;}case _0x1e67ed[_0x57d6aa(0x289)]:{_0x548b0a=_0x81948(_0x20d268,_0x2a2538);break;}case _0x1e67ed[_0x57d6aa(0x31f)]:{_0x548b0a=_0x107a93(_0x20d268,_0x2a2538);break;}case _0x1e67ed['RemoveColCommandId']:{_0x548b0a=_0x40ce98(_0x20d268,_0x2a2538);break;}case _0x1e67ed[_0x57d6aa(0x2ae)]:{_0x548b0a=_0x1c2d16(_0x20d268,_0x2a2538);break;}}const _0x5f4222=_0x5323b8(_0x548b0a,_0x2a2538),_0x3a15ec=this['cursorInfo']['get'](_0x28667b);if(_0x3a15ec&&_0x5f4222){const _0x1b6959={..._0x3a15ec,'range':_0x5f4222};this[_0x57d6aa(0x2b5)]['set'](_0x28667b,_0x1b6959),_0x46080d(()=>{const _0x3826f3=_0x57d6aa,_0x10d427=this[_0x3826f3(0x227)]['registerRefRange'](_0x5f4222,_0x4dc0ca=>(_0x10d427[_0x3826f3(0x1b8)](),_0x2c875a(_0x4dc0ca,_0x28667b,_0x3bdc47,_0x5f4222)));_0x235147[_0x3826f3(0x313)](_0x10d427);});}return{'redos':[],'undos':[]};};this[_0x4443b5(0x2b5)][_0x4443b5(0x251)]((_0xa999ce,_0x4bfe6e)=>{const _0xeb94d0=_0x4443b5,{range:_0x1e6bdb,sheetID:_0x2ee84b}=_0xa999ce,_0x13a44b=this[_0xeb94d0(0x227)][_0xeb94d0(0x22b)](_0x1e6bdb,_0x29b7f9=>(_0x13a44b['dispose'](),_0x2c875a(_0x29b7f9,_0x4bfe6e,_0x2ee84b,_0x1e6bdb)));_0x235147[_0xeb94d0(0x313)](_0x13a44b);});};this[_0x49ccd9(0x1f9)](_0x4240ac(this[_0x49ccd9(0x2d6)]['subscribe'](()=>{_0x4aa4b9();})));}['_toggleOnline'](){const _0x234c7a=_0x283497;var _0x1467de,_0x221373;if(this[_0x234c7a(0x192)]=!0x0,((_0x1467de=this['_univerInstanceService'][_0x234c7a(0x28e)]())==null?void 0x0:_0x1467de[_0x234c7a(0x292)]())!==this[_0x234c7a(0x2d7)])return;const _0x158398=(_0x221373=this[_0x234c7a(0x336)][_0x234c7a(0x201)](_0x51ccb5)[_0x234c7a(0x33b)]())==null?void 0x0:_0x221373[0x0],_0x2393e0=this[_0x234c7a(0x17f)][_0x234c7a(0x1de)](_0x553305[_0x234c7a(0x317)])[_0x234c7a(0x209)]();_0x158398&&_0x2393e0&&this[_0x234c7a(0x2d0)](_0x2393e0['getSheetId'](),_0x158398);}[_0x283497(0x2c0)](){const _0x140cf=_0x283497;this[_0x140cf(0x192)]=!0x1;}};Me=mi([x(0x2,_0x336052(_0x23840d)),x(0x3,_0x336052(ke)),x(0x4,_0x336052(_0x50ba5d)),x(0x5,_0x2638a7),x(0x6,_0x2a2f35),x(0x7,_0x336052(_0x5469db))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x248cb8,_0x360e10,_0x53f134,_0x48bb9c)=>{const _0xf75382=_0x283497;for(var _0x4b9fa0=_0x48bb9c>0x1?void 0x0:_0x48bb9c?pi(_0x360e10,_0x53f134):_0x360e10,_0x2cf3dc=_0x248cb8[_0xf75382(0x2e1)]-0x1,_0x16b99f;_0x2cf3dc>=0x0;_0x2cf3dc--)(_0x16b99f=_0x248cb8[_0x2cf3dc])&&(_0x4b9fa0=_0x16b99f(_0x4b9fa0)||_0x4b9fa0);return _0x4b9fa0;},Se=(_0x42be76,_0x5f0828)=>(_0x2ff5e0,_0x182e00)=>_0x5f0828(_0x2ff5e0,_0x182e00,_0x42be76);let H=class extends _0x215a18{constructor(_0x28f0a8,_0x14b90a,_0x43626a){const _0x12d9c0=_0x283497;super(),_(this,'_entities',new Map()),_(this,_0x12d9c0(0x354),new _0x32e95b()),(this[_0x12d9c0(0x17f)]=_0x28f0a8,this[_0x12d9c0(0x336)]=_0x14b90a,this[_0x12d9c0(0x27a)]=_0x43626a,this[_0x12d9c0(0x377)]());}[_0x283497(0x1b8)](){const _0x55ee3d=_0x283497;super[_0x55ee3d(0x1b8)](),this[_0x55ee3d(0x354)][_0x55ee3d(0x19f)](),this[_0x55ee3d(0x220)][_0x55ee3d(0x251)](_0x155f2a=>_0x155f2a[_0x55ee3d(0x1b8)]());}[_0x283497(0x18c)](_0x1d460b){const _0x1d5042=_0x283497;return this[_0x1d5042(0x220)][_0x1d5042(0x27f)](_0x1d460b)?this['_entities'][_0x1d5042(0x201)](_0x1d460b)['cursorInfo$']:this[_0x1d5042(0x354)][_0x1d5042(0x1b2)](_0x21ad69(_0x9043f1=>_0x9043f1[_0x1d5042(0x2d7)]===_0x1d460b),_0x4e2ce7(_0x634f66=>_0x634f66[_0x1d5042(0x2e7)]));}[_0x283497(0x377)](){const _0x5c577b=_0x283497;this[_0x5c577b(0x17f)]['getTypeOfUnitAdded$'](_0x553305['UNIVER_SHEET'])[_0x5c577b(0x1b2)](_0x469921(this[_0x5c577b(0x36f)]))[_0x5c577b(0x29f)](async _0x14bd27=>{const _0x11c068=_0x5c577b,_0x5113d0=_0x14bd27[_0x11c068(0x292)](),_0x198032=await this[_0x11c068(0x34e)](_0x5113d0);this['_entityInit$']['next'](_0x198032),this[_0x11c068(0x220)][_0x11c068(0x2b3)](_0x5113d0,_0x198032);}),this[_0x5c577b(0x17f)][_0x5c577b(0x2c9)](_0x553305[_0x5c577b(0x1dc)])['pipe'](_0x469921(this[_0x5c577b(0x36f)]))['pipe'](_0x21ad69(_0x58b4ba=>!_0x58b4ba[_0x5c577b(0x292)]()['startsWith']('__')))[_0x5c577b(0x29f)](async _0x20119b=>{const _0x440848=_0x5c577b,_0x5bfb83=_0x20119b['getUnitId'](),_0xf678a9=await this[_0x440848(0x19c)](_0x5bfb83);this[_0x440848(0x354)][_0x440848(0x32c)](_0xf678a9),this[_0x440848(0x220)]['set'](_0x5bfb83,_0xf678a9);}),_0x2db5cb(this[_0x5c577b(0x17f)][_0x5c577b(0x34f)](_0x553305[_0x5c577b(0x1dc)]),this['_univerInstanceService'][_0x5c577b(0x34f)](_0x553305[_0x5c577b(0x317)]))[_0x5c577b(0x1b2)](_0x469921(this[_0x5c577b(0x36f)]))[_0x5c577b(0x29f)](_0x49fcd9=>{const _0xb156c0=_0x5c577b,_0x42f79e=_0x49fcd9[_0xb156c0(0x292)](),_0x86cd16=this[_0xb156c0(0x220)][_0xb156c0(0x201)](_0x42f79e);_0x86cd16&&(_0x86cd16[_0xb156c0(0x1b8)](),this[_0xb156c0(0x220)][_0xb156c0(0x179)](_0x42f79e));});}async[_0x283497(0x34e)](_0x37b6bf){const _0x59d4e4=_0x283497,_0x3c0cc2=await this['_collabSessionService'][_0x59d4e4(0x21f)](_0x37b6bf),_0xeabaa=this['_injector'][_0x59d4e4(0x18d)](Me,_0x37b6bf,_0x3c0cc2);return _0xeabaa[_0x59d4e4(0x175)](),_0xeabaa;}async['_startDocCollabCursor'](_0x455812){const _0x5507ce=_0x283497,_0x313151=await this[_0x5507ce(0x27a)][_0x5507ce(0x21f)](_0x455812),_0x2a0781=this[_0x5507ce(0x336)][_0x5507ce(0x18d)](Ue,_0x455812,_0x313151);return _0x2a0781[_0x5507ce(0x175)](),_0x2a0781;}};function _0x4aa4(_0x31b6e5,_0x3979ad){const _0x5e04ed=_0x5e04();return _0x4aa4=function(_0x4aa455,_0x2c080e){_0x4aa455=_0x4aa455-0x172;let _0x2be76f=_0x5e04ed[_0x4aa455];return _0x2be76f;},_0x4aa4(_0x31b6e5,_0x3979ad);}H=Ci([Se(0x0,_0x2638a7),Se(0x1,_0x336052(_0x23840d)),Se(0x2,_0x336052(_0xcdcff1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3ff744,_0xf0e39f){const _0x270559=_0x283497;let {radius:_0x144e9f,width:_0x519a66,height:_0x149e12}=_0xf0e39f;_0x144e9f=_0x144e9f!=null?_0x144e9f:0x0,_0x519a66=_0x519a66!=null?_0x519a66:0x1e,_0x149e12=_0x149e12!=null?_0x149e12:0x1e;let _0x2dbd15=0x0,_0x22c138=0x0,_0x4ceea4=0x0;_0x2dbd15=_0x22c138=_0x4ceea4=Math[_0x270559(0x305)](_0x144e9f,_0x519a66/0x2,_0x149e12/0x2),_0x3ff744[_0x270559(0x366)](),_0x3ff744[_0x270559(0x335)](_0x2dbd15,0x0),_0x3ff744[_0x270559(0x20b)](_0x519a66-_0x22c138,0x0),_0x3ff744['arc'](_0x519a66-_0x22c138,_0x22c138,_0x22c138,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ff744['lineTo'](_0x519a66,_0x149e12-_0x4ceea4),_0x3ff744['arc'](_0x519a66-_0x4ceea4,_0x149e12-_0x4ceea4,_0x4ceea4,0x0,Math['PI']/0x2,!0x1),_0x3ff744[_0x270559(0x20b)](0x0,_0x149e12),_0x3ff744[_0x270559(0x20b)](0x0,_0x2dbd15),_0x3ff744[_0x270559(0x282)](_0x2dbd15,_0x2dbd15,_0x2dbd15,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ff744[_0x270559(0x2fa)](),_0xf0e39f[_0x270559(0x274)]&&(_0x3ff744[_0x270559(0x1fe)](),_0x3ff744[_0x270559(0x312)]=_0xf0e39f[_0x270559(0x274)],_0xf0e39f['fillRule']===_0x270559(0x299)?_0x3ff744['fill'](_0x270559(0x299)):_0x3ff744[_0x270559(0x274)](),_0x3ff744[_0x270559(0x351)]());}class he extends _0x42aad7{constructor(_0x4a6d4a,_0x35aab8){const _0x50e85f=_0x283497;super(_0x4a6d4a,_0x35aab8),_(this,_0x50e85f(0x195)),_(this,_0x50e85f(0x35d)),(this['color']=_0x35aab8==null?void 0x0:_0x35aab8['color'],this[_0x50e85f(0x35d)]=_0x35aab8==null?void 0x0:_0x35aab8['text']);}static['drawWith'](_0x1498c8,_0x326e77){const _0x29ef60=_0x283497,{text:_0x499223,color:_0x5cf393}=_0x326e77;_0x1498c8[_0x29ef60(0x1fe)](),_0x1498c8[_0x29ef60(0x233)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x354b34=_0x1498c8[_0x29ef60(0x2d5)](_0x499223)[_0x29ef60(0x206)],_0x236b0e=Math['min'](_0x354b34+0x2*me,Qe);Oi(_0x1498c8,{'height':ee,'radius':0x4,'width':_0x236b0e,'fill':_0x5cf393}),_0x1498c8[_0x29ef60(0x312)]=_0x29ef60(0x1ab);const _0x38d0af=me,_0x55abf5=ee-Ei,_0x23d7b1=Qe-0x2*me;if(_0x354b34>_0x23d7b1){let _0xd2d958='',_0x589f42=0x0;for(const _0x2c3ae7 of _0x499223){const _0x290a4f=_0x1498c8[_0x29ef60(0x2d5)](_0x2c3ae7)[_0x29ef60(0x206)];if(_0x589f42+_0x290a4f<=_0x23d7b1-_0x1498c8[_0x29ef60(0x2d5)](_0x29ef60(0x304))[_0x29ef60(0x206)])_0xd2d958+=_0x2c3ae7,_0x589f42+=_0x290a4f;else{_0xd2d958+=_0x29ef60(0x304);break;}}_0x1498c8['fillText'](_0xd2d958,_0x38d0af,_0x55abf5);}else _0x1498c8[_0x29ef60(0x346)](_0x499223,_0x38d0af,_0x55abf5);_0x1498c8[_0x29ef60(0x351)]();}[_0x283497(0x1df)](_0x490f77){he['drawWith'](_0x490f77,this);}}const Ie=_0x283497(0x35a),bi='collab-text-range-',Ti=_0x283497(0x276),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x283497(0x26a);class qe{constructor(_0x200a7d,_0x125bdf,_0x254161,_0x58eb3a){const _0x4df708=_0x283497;_(this,'_shapes',[]),_(this,_0x4df708(0x2d3),null),_(this,_0x4df708(0x1ef),null),_(this,_0x4df708(0x1d6),null),_(this,_0x4df708(0x361),null),_(this,_0x4df708(0x290),null),(this[_0x4df708(0x1e2)]=_0x200a7d,this['_scene']=_0x125bdf,this[_0x4df708(0x293)]=_0x254161,this[_0x4df708(0x249)]=_0x58eb3a,this[_0x4df708(0x329)]());}set[_0x283497(0x2f5)](_0x1c935f){const _0x16d95b=_0x283497;_0x1c935f?(this[_0x16d95b(0x1d6)]&&this[_0x16d95b(0x1d6)][_0x16d95b(0x347)](),this[_0x16d95b(0x1ef)]&&this[_0x16d95b(0x1ef)][_0x16d95b(0x35f)]()):(this[_0x16d95b(0x1d6)]&&this[_0x16d95b(0x1d6)]['show'](),this[_0x16d95b(0x1ef)]&&this[_0x16d95b(0x1ef)]['hide']());}[_0x283497(0x1b8)](){const _0x2fc799=_0x283497;for(const _0x411fbf of this['_shapes'])_0x411fbf[_0x2fc799(0x1b8)]();this[_0x2fc799(0x1ef)]&&this[_0x2fc799(0x1ef)][_0x2fc799(0x1b8)](),this[_0x2fc799(0x1d6)]&&this['_anchorDot'][_0x2fc799(0x1b8)](),this['_anchor']&&this['_anchor'][_0x2fc799(0x1b8)](),this[_0x2fc799(0x290)]&&this[_0x2fc799(0x290)]();}['_render'](){const _0x3fed54=_0x283497;var _0x427798;const {_docSkeleton:_0x141f24,_document:_0x67bb63}=this,{color:_0x2aeff2,name:_0x80dc18,ranges:_0x3d91e1}=this[_0x3fed54(0x1e2)],_0x6a7687=_0x67bb63[_0x3fed54(0x36d)](),{docsLeft:_0x1c11b7,docsTop:_0x4597e3}=_0x6a7687,_0x472952=new _0x2969d6(_0x6a7687,_0x141f24);for(const {startOffset:_0xf1a8cd,endOffset:_0x1c8178,rangeType:_0x5ee113,segmentId:_0x1714c0,segmentPage:_0x3675f1,collapsed:_0x4a6513,isActive:_0x128af3}of _0x3d91e1){const _0x3dd15b=_0x141f24[_0x3fed54(0x23c)](_0xf1a8cd,!0x0,_0x1714c0,_0x3675f1);let _0x416fce=_0x141f24[_0x3fed54(0x23c)](_0x1c8178,!0x0,_0x1714c0,_0x3675f1);if(_0x416fce==null&&(_0x416fce=_0x141f24[_0x3fed54(0x23c)](_0x1c8178-0x1,!0x1,_0x1714c0,_0x3675f1)),_0x128af3){const {contentBoxPointGroup:_0x5775f6}=_0x472952[_0x3fed54(0x2ce)](_0x416fce,_0x416fce);if(_0x5775f6[_0x3fed54(0x2e1)]===0x0)continue;this['_drawAnchor'](_0x2aeff2,_0x5775f6,_0x1c11b7,_0x4597e3,_0x80dc18),this['_eventUnsubscribe']=this[_0x3fed54(0x34c)]();}if(_0x3dd15b&&_0x416fce){if(_0x5ee113===_0x185119['RECT']){const _0x3d7575=new _0x2c6f56(_0x6a7687,_0x141f24),{pointGroup:_0x2e6695}=(_0x427798=_0x3d7575['getRangePointData'](_0x3dd15b,_0x416fce))!=null?_0x427798:{};if(_0x2e6695==null||_0x2e6695[_0x3fed54(0x2e1)]===0x0)continue;this[_0x3fed54(0x28a)](_0x2aeff2,_0x2e6695,_0x1c11b7,_0x4597e3);}else{if(!_0x4a6513){const {borderBoxPointGroup:_0x334e8f}=_0x472952[_0x3fed54(0x2ce)](_0x3dd15b,_0x416fce);if(_0x334e8f['length']===0x0)continue;this[_0x3fed54(0x1eb)](_0x2aeff2,_0x334e8f,_0x1c11b7,_0x4597e3);}}}}}['_drawAnchor'](_0x26c08d,_0x1e510f,_0x17b391,_0x45aef0,_0x92d827){const _0x1169fe=_0x283497,_0x16ba88=this['_getAnchorBounding'](_0x1e510f),{left:_0x536b91,top:_0x15cf73,height:_0x52f44e}=_0x16ba88,_0xe15e83=this[_0x1169fe(0x2ea)](),_0x46aa48=Di/_0xe15e83,_0x186175=new _0x9ea098(Ie+_0xc7113e['generateRandomId'](X),{'left':_0x536b91+_0x17b391-_0x46aa48,'top':_0x15cf73+_0x45aef0,'height':_0x52f44e,'width':Ri,'fill':_0x26c08d||_0x49a86e(_0x56a727[_0x1169fe(0x2ac)],0x0),'strokeWidth':_0x46aa48,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x186175,this['_scene'][_0x1169fe(0x24d)](_0x186175,_0x40ab0f);const _0x3fbad7=new _0x9ea098(Ie+_0xc7113e['generateRandomId'](X),{'left':_0x536b91+_0x17b391-_0x46aa48,'top':_0x15cf73+_0x45aef0-ge/0x2,'height':ge,'width':ge,'fill':_0x26c08d||_0x49a86e(_0x56a727[_0x1169fe(0x2ac)],0x0),'strokeWidth':0x0,'stroke':_0x26c08d||_0x49a86e(_0x56a727[_0x1169fe(0x2ac)],0x0),'evented':!0x1});this[_0x1169fe(0x1d6)]=_0x3fbad7,this[_0x1169fe(0x2a3)][_0x1169fe(0x24d)](_0x3fbad7,_0x40ab0f);const _0x4b086c=new he(Ie+_0xc7113e[_0x1169fe(0x2d2)](X),{'left':_0x536b91+_0x17b391-_0x46aa48,'top':_0x15cf73+_0x45aef0-ee,'text':_0x92d827,'color':_0x26c08d});this[_0x1169fe(0x1ef)]=_0x4b086c,this[_0x1169fe(0x2a3)]['addObject'](_0x4b086c,_0x40ab0f),this[_0x1169fe(0x2f5)]=!0x1;}[_0x283497(0x34c)](){const _0x121e24=_0x283497,_0x52ffd4=this[_0x121e24(0x2d3)]['onPointerEnter$'][_0x121e24(0x1f5)](()=>{const _0x7c45a0=_0x121e24;this[_0x7c45a0(0x2f5)]=!0x0;}),_0x40b0a9=this['_anchor'][_0x121e24(0x26f)][_0x121e24(0x1f5)](()=>{const _0x15d326=_0x121e24;this[_0x15d326(0x361)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x411614=_0x15d326;this[_0x411614(0x2f5)]=!0x1;},0x7d0);});return()=>{_0x52ffd4['unsubscribe'](),_0x40b0a9['unsubscribe']();};}[_0x283497(0x1eb)](_0x4fcc9d,_0x30b334,_0x1f725b,_0x21ecba){const _0x1d5ff6=_0x283497,_0x45554d=new _0x5d7b57(_0x4fcc9d)[_0x1d5ff6(0x1d2)](0.2)['toRgbString'](),_0x48083b=new _0x1509e5(bi+_0xc7113e[_0x1d5ff6(0x2d2)](X),{'pointsGroup':_0x30b334,'fill':_0x45554d||_0x49a86e(_0x56a727[_0x1d5ff6(0x2ac)],0.2),'left':_0x1f725b,'top':_0x21ecba,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d5ff6(0x303)]['push'](_0x48083b),this[_0x1d5ff6(0x2a3)][_0x1d5ff6(0x24d)](_0x48083b,_0x40ab0f);}['_drawRectRange'](_0x5a9a85,_0x179ec8,_0x415f96,_0x19f898){const _0x1a4202=_0x283497,_0x48788c=new _0x5d7b57(_0x5a9a85)['setAlpha'](0.2)[_0x1a4202(0x1e5)](),_0x11f029=new _0x1509e5(Ti+_0xc7113e['generateRandomId'](X),{'pointsGroup':_0x179ec8,'fill':_0x48788c||_0x49a86e(_0x56a727['black'],0.2),'left':_0x415f96,'top':_0x19f898,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a4202(0x303)]['push'](_0x11f029),this[_0x1a4202(0x2a3)][_0x1a4202(0x24d)](_0x11f029,_0x40ab0f);}[_0x283497(0x225)](_0x1c59fa){const _0xb6e726=_0x1c59fa[0x0],_0x2e2626=_0xb6e726[0x0],_0x10cc7e=_0xb6e726[0x2],{x:_0x31226e,y:_0x584414}=_0x2e2626,{x:_0x53d4df,y:_0x4bcf94}=_0x10cc7e;return{'left':_0x31226e,'top':_0x584414,'width':_0x53d4df-_0x31226e,'height':_0x4bcf94-_0x584414};}[_0x283497(0x2ea)](){const _0x4bb2f5=_0x283497,{scaleX:_0x425566,scaleY:_0xf31e0a}=this[_0x4bb2f5(0x2a3)][_0x4bb2f5(0x370)]();return Math[_0x4bb2f5(0x216)](_0x425566,_0xf31e0a);}}var Ui=Object[_0x283497(0x352)],Mi=(_0x231f53,_0x4c8fe7,_0xf921ca,_0x188bd5)=>{const _0xe6edf=_0x283497;for(var _0x1b3f27=_0x188bd5>0x1?void 0x0:_0x188bd5?Ui(_0x4c8fe7,_0xf921ca):_0x4c8fe7,_0x17d025=_0x231f53[_0xe6edf(0x2e1)]-0x1,_0x463b91;_0x17d025>=0x0;_0x17d025--)(_0x463b91=_0x231f53[_0x17d025])&&(_0x1b3f27=_0x463b91(_0x1b3f27)||_0x1b3f27);return _0x1b3f27;},Z=(_0x238951,_0x39405f)=>(_0x2b2d63,_0x3b03b9)=>_0x39405f(_0x2b2d63,_0x3b03b9,_0x238951);let Le=class extends _0x215a18{constructor(_0x374205,_0x4fce50,_0xa4893e,_0x1109c1,_0x57aa3d){const _0x29d3fa=_0x283497;super(),_(this,_0x29d3fa(0x337),[]),_(this,_0x29d3fa(0x246),[]),(this['_context']=_0x374205,this[_0x29d3fa(0x212)]=_0x4fce50,this[_0x29d3fa(0x1db)]=_0xa4893e,this[_0x29d3fa(0x261)]=_0x1109c1,this[_0x29d3fa(0x199)]=_0x57aa3d,this[_0x29d3fa(0x377)]());}['_init'](){const _0x4321ca=_0x283497,_0x3777fd=this[_0x4321ca(0x314)][_0x4321ca(0x360)],_0x400598=this[_0x4321ca(0x212)];this[_0x4321ca(0x1f9)](_0x2de9f6([this[_0x4321ca(0x1db)]['getCollabCursors$'](_0x3777fd),this[_0x4321ca(0x199)][_0x4321ca(0x190)]])[_0x4321ca(0x1b2)](_0x2644af(([_0x4a6a2b,_0x2fd5c8])=>({'skeleton':_0x400598[_0x4321ca(0x235)](),'cursors':[..._0x4a6a2b[_0x4321ca(0x323)]()][_0x4321ca(0x2cf)](_0x1e0f2a=>({..._0x1e0f2a,'color':this[_0x4321ca(0x199)]['getColorFromTheme'](_0x1e0f2a['color'])}))})))[_0x4321ca(0x29f)](_0x193cb3=>{const _0x34eb20=_0x4321ca;if(this[_0x34eb20(0x1f1)](),_0x193cb3){const {skeleton:_0x203ec5,cursors:_0x4dadd7}=_0x193cb3;this[_0x34eb20(0x20f)](_0x203ec5,_0x4dadd7);}})),this[_0x4321ca(0x2b4)](),this[_0x4321ca(0x32d)]();}[_0x283497(0x20f)](_0x13cae1,_0x13b9f8){const _0x41f996=_0x283497,{scene:_0x59a9f8,mainComponent:_0x54305c}=this['_context'],_0x474059=_0x13b9f8['map'](_0x226e13=>new qe(_0x226e13,_0x59a9f8,_0x13cae1,_0x54305c));this['_cursorShapes']=_0x474059,this[_0x41f996(0x246)]=_0x13b9f8;}[_0x283497(0x35c)](){const _0x11ea36=_0x283497;this[_0x11ea36(0x1f1)]();const {scene:_0x517046,mainComponent:_0x1151c7}=this[_0x11ea36(0x314)],_0x942e07=this[_0x11ea36(0x212)][_0x11ea36(0x235)](),_0x5aebbb=this['_cursors'][_0x11ea36(0x2a6)](_0x4ac2a5=>new qe(_0x4ac2a5,_0x517046,_0x942e07,_0x1151c7));this['_cursorShapes']=_0x5aebbb;}[_0x283497(0x1f1)](){const _0x420e31=_0x283497;this[_0x420e31(0x337)][_0x420e31(0x251)](_0x30c691=>_0x30c691['dispose']()),this[_0x420e31(0x337)]=[];}[_0x283497(0x32d)](){const _0x54d978=_0x283497,_0x2330d4=[_0x1ae648['id']];this[_0x54d978(0x1f9)](this[_0x54d978(0x261)][_0x54d978(0x19b)](_0x5e2385=>{const _0x767b1f=_0x54d978;_0x2330d4[_0x767b1f(0x1ca)](_0x5e2385['id'])&&_0x5e2385[_0x767b1f(0x17a)][_0x767b1f(0x360)]===this[_0x767b1f(0x314)][_0x767b1f(0x360)]&&this[_0x767b1f(0x35c)]();}));}[_0x283497(0x2b4)](){const _0x3ed614=_0x283497;this[_0x3ed614(0x1f9)](_0x4b470f(this[_0x3ed614(0x314)][_0x3ed614(0x1ac)]['onTransformChange$'])[_0x3ed614(0x1b2)](_0x2eb551(_0x4609cb=>_0x4609cb[_0x3ed614(0x27e)]===_0x5d4a73[_0x3ed614(0x2f3)]),_0x43eaf2(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x336052(_0x134b9b)),Z(0x2,_0x336052(H)),Z(0x3,_0x2a2f35),Z(0x4,_0x336052(_0x3f0957))],Le);const Li=0x1,Pi=1.5;class wi extends _0x42aad7{constructor(_0x1674fb,_0x423c19){const _0xd322fc=_0x283497;super(_0x1674fb,_0x423c19),_(this,_0xd322fc(0x2c6)),_(this,_0xd322fc(0x281),!0x1),_(this,_0xd322fc(0x33a)),_(this,'_name',''),_(this,_0xd322fc(0x213),_0xd322fc(0x28b)),_(this,'_backgroundColor'),(_0x423c19&&this[_0xd322fc(0x205)](_0x423c19),this[_0xd322fc(0x2ab)][_0xd322fc(0x1f5)](()=>this[_0xd322fc(0x205)]({'hovered':!0x0})),this[_0xd322fc(0x26f)]['subscribeEvent'](()=>this[_0xd322fc(0x205)]({'hovered':!0x1})));}[_0x283497(0x205)](_0x3f10ee){const _0x413301=_0x283497;var _0x22962e,_0x550d01,_0x2c32d5,_0x1fceed,_0x1c8032,_0x5a1e33;this[_0x413301(0x2c6)]=(_0x22962e=_0x3f10ee[_0x413301(0x195)])!=null?_0x22962e:this[_0x413301(0x2c6)],this[_0x413301(0x281)]=(_0x550d01=_0x3f10ee[_0x413301(0x1c5)])!=null?_0x550d01:this[_0x413301(0x281)],this['_range']=(_0x2c32d5=_0x3f10ee[_0x413301(0x178)])!=null?_0x2c32d5:this[_0x413301(0x33a)],this[_0x413301(0x271)]=(_0x1fceed=_0x3f10ee[_0x413301(0x2ee)])!=null?_0x1fceed:this[_0x413301(0x271)],this[_0x413301(0x213)]=(_0x1c8032=_0x3f10ee[_0x413301(0x319)])!=null?_0x1c8032:this[_0x413301(0x213)],this[_0x413301(0x35e)]=(_0x5a1e33=_0x3f10ee[_0x413301(0x364)])!=null?_0x5a1e33:this[_0x413301(0x35e)],this['transformByState']({'width':_0x3f10ee[_0x413301(0x206)],'height':_0x3f10ee[_0x413301(0x1a7)]});}[_0x283497(0x1f3)](_0x17f340){const _0x3dd4e6=_0x283497,{row:_0x5e5cd5,column:_0x3ddd28}=_0x17f340;if(_0x5e5cd5>=this['_range'][_0x3dd4e6(0x2b0)]&&_0x5e5cd5<=this[_0x3dd4e6(0x33a)][_0x3dd4e6(0x320)]&&_0x3ddd28>=this[_0x3dd4e6(0x33a)][_0x3dd4e6(0x1b6)]&&_0x3ddd28<=this[_0x3dd4e6(0x33a)][_0x3dd4e6(0x2d8)]){this[_0x3dd4e6(0x205)]({'hovered':!0x0});return;}this[_0x3dd4e6(0x205)]({'hovered':!0x1});}[_0x283497(0x362)](_0x3a2013){return!0x1;}[_0x283497(0x1df)](_0x29ecb3){const _0x5aaf52=_0x283497;_0x9ea098[_0x5aaf52(0x183)](_0x29ecb3,{'width':this[_0x5aaf52(0x206)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5aaf52(0x35e)]}),this[_0x5aaf52(0x281)]&&(_0x29ecb3[_0x5aaf52(0x1fe)](),_0x29ecb3[_0x5aaf52(0x330)](0x1,0x0,0x0,0x1,this[_0x5aaf52(0x206)],this[_0x5aaf52(0x213)]==='bottom'?0x0:-0x14),he['drawWith'](_0x29ecb3,{'text':this[_0x5aaf52(0x271)],'color':this[_0x5aaf52(0x2c6)]}),_0x29ecb3[_0x5aaf52(0x351)]());}}var Ai=Object[_0x283497(0x352)],yi=(_0x5bda0f,_0x2e29f0,_0x427594,_0x5b3805)=>{const _0x1a849f=_0x283497;for(var _0x59e43f=_0x5b3805>0x1?void 0x0:_0x5b3805?Ai(_0x2e29f0,_0x427594):_0x2e29f0,_0x438a3a=_0x5bda0f[_0x1a849f(0x2e1)]-0x1,_0x202523;_0x438a3a>=0x0;_0x438a3a--)(_0x202523=_0x5bda0f[_0x438a3a])&&(_0x59e43f=_0x202523(_0x59e43f)||_0x59e43f);return _0x59e43f;},ve=(_0x3391cd,_0x5eb8d0)=>(_0x1658cc,_0x18875c)=>_0x5eb8d0(_0x1658cc,_0x18875c,_0x3391cd);const $i=0x1389;let Pe=class extends _0x215a18{constructor(_0xc88258,_0x28cea2,_0x29bc4c,_0x5ddb5d){const _0x177702=_0x283497;super(),_(this,_0x177702(0x246),new Set()),_(this,'_lastPointer',null),(this[_0x177702(0x314)]=_0xc88258,this['_sheetSkeletonManagerService']=_0x28cea2,this['_collabCursorController']=_0x29bc4c,this[_0x177702(0x199)]=_0x5ddb5d,this['_init']());}[_0x283497(0x377)](){const _0x2fd5f6=_0x283497;this['_sheetSkeletonManagerService'][_0x2fd5f6(0x2f4)][_0x2fd5f6(0x1b2)](_0x3448f0(this[_0x2fd5f6(0x36f)]),_0x31e1fb(_0x7b7d8a=>{const _0x3308af=_0x2fd5f6;if(_0x7b7d8a){const _0x276f90=_0x7b7d8a['sheetId'];return _0x2de9f6(this[_0x3308af(0x1db)]['getCollabCursors$'](this[_0x3308af(0x314)]['unitId']),this[_0x3308af(0x199)]['currentTheme$'])[_0x3308af(0x1b2)](_0x2644af(([_0x23d5c8,_0x4348b8])=>{const _0x1ebcaf=new Map();return _0x23d5c8['forEach']((_0x4e3103,_0x5c81b1)=>{const _0x4d0cef=_0x4aa4;if(_0x4e3103[_0x4d0cef(0x1b3)]===_0x276f90){const _0x367bb6={..._0x4e3103};_0x367bb6[_0x4d0cef(0x195)]=this[_0x4d0cef(0x199)]['getColorFromTheme'](_0x4e3103[_0x4d0cef(0x195)]),_0x1ebcaf[_0x4d0cef(0x2b3)](_0x5c81b1,_0x367bb6);}}),{'skeleton':_0x7b7d8a,'cursors':_0x1ebcaf};}));}return _0x3042a6({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x327efb,cursors:_0x577357})=>{const _0x491403=_0x2fd5f6;this[_0x491403(0x1f1)](),_0x327efb&&this[_0x491403(0x20f)](_0x327efb,_0x577357);}),this[_0x2fd5f6(0x2bd)][_0x2fd5f6(0x2f4)][_0x2fd5f6(0x29f)](_0x2884bb=>{const _0x420449=_0x2fd5f6;if(_0x2884bb==null)return;const {skeleton:_0x4a08ae}=_0x2884bb,{scene:_0x19f310}=this[_0x420449(0x314)];_0x19f310[_0x420449(0x2dd)]['subscribeEvent'](_0x1d96ab(_0x5dfbb1=>{const _0x22c5fd=_0x420449;var _0x9ab21d,_0x115a26;const {offsetX:_0x105e1f,offsetY:_0x2455e9}=_0x5dfbb1,{x:_0xd1188c,y:_0x5ad936}=_0x19f310[_0x22c5fd(0x29e)](_0x3f8a8b[_0x22c5fd(0x25a)]([_0x105e1f,_0x2455e9])),{scaleX:_0x3a40ae,scaleY:_0xaf1f6}=_0x19f310[_0x22c5fd(0x370)](),_0x355cc4=_0x19f310['getViewport'](_0x2522e4[_0x22c5fd(0x2f1)]),_0x159276=_0x19f310[_0x22c5fd(0x378)](_0x3f8a8b[_0x22c5fd(0x25a)]([_0xd1188c,_0x5ad936]),_0x355cc4),_0x483546=_0x4a08ae[_0x22c5fd(0x2d1)](_0x105e1f,_0x2455e9,_0x3a40ae,_0xaf1f6,_0x159276);((_0x9ab21d=this['_lastPointer'])==null?void 0x0:_0x9ab21d['column'])===_0x483546[_0x22c5fd(0x2cb)]&&((_0x115a26=this[_0x22c5fd(0x2af)])==null?void 0x0:_0x115a26['row'])===_0x483546[_0x22c5fd(0x21b)]||this['_cursors'][_0x22c5fd(0x251)](_0x226723=>{_0x226723['onMouseMove'](_0x483546);});},0x64));});}[_0x283497(0x20f)](_0x3aba4a,_0x5a5b60){const _0x5f37c0=_0x283497;var _0x17aae9;const _0x4d7238=(_0x17aae9=this[_0x5f37c0(0x2bd)][_0x5f37c0(0x22d)]())==null?void 0x0:_0x17aae9[_0x5f37c0(0x343)];if(!_0x4d7238)return;const _0xcaacfc=this[_0x5f37c0(0x267)]();if(!_0xcaacfc)return;this[_0x5f37c0(0x246)]['forEach'](_0x193bd6=>{const _0x1c268c=_0x5f37c0;_0x193bd6[_0x1c268c(0x202)]();});const {scene:_0x18389a}=_0xcaacfc,_0x2eafef=xi(Array[_0x5f37c0(0x363)](_0x5a5b60[_0x5f37c0(0x323)]()))['map'](_0xb8f7ec=>{const _0x962cfa=_0x5f37c0,{color:_0x108866,range:_0x3d48a4,name:_0x318135,selection:_0x37a2fa,sheetID:_0x38eb89}=_0xb8f7ec,{startColumn:_0xc2df06,startRow:_0x276b71,endColumn:_0x48859a,endRow:_0x37b4b3}=_0x3d48a4,_0xd3b46f=_0x4e0287(_0x276b71,_0xc2df06,_0x18389a,_0x4d7238),_0x35970a=_0x4e0287(_0x37b4b3,_0x48859a,_0x18389a,_0x4d7238),{columnHeaderHeightAndMarginTop:_0x28548a}=_0x4d7238,{startX:_0x18bee3,startY:_0x48fb11}=_0xd3b46f,{endX:_0x4e8b61,endY:_0xeffbf7}=_0x35970a,_0x492b9d=_0x4e8b61-_0x18bee3,_0x2ce5fe=_0xeffbf7-_0x48fb11,_0x9d7bb5={'labelPosition':_0x48fb11-_0x28548a>=ee?_0x962cfa(0x28b):_0x962cfa(0x182),'sheetID':_0x38eb89,'range':_0x3d48a4,'color':_0x108866,'name':_0x318135,'selection':_0x37a2fa,'left':_0x18bee3,'top':_0x48fb11,'width':_0x492b9d,'height':_0x2ce5fe,'evented':!0x1,'zIndex':$i};return new wi(_0x318135,_0x9d7bb5);});_0x18389a[_0x5f37c0(0x1ff)](_0x2eafef,Li),this[_0x5f37c0(0x246)]=new Set(_0x2eafef);}['_removeCollabCursors'](){const _0x1ff45e=_0x283497;var _0x3937bf;(_0x3937bf=this[_0x1ff45e(0x246)])==null||_0x3937bf['forEach'](_0x4da3dc=>_0x4da3dc[_0x1ff45e(0x1b8)]());}[_0x283497(0x267)](){const _0x3b0f5c=_0x283497;return _0xb7c4ca(this[_0x3b0f5c(0x314)][_0x3b0f5c(0x232)],this[_0x3b0f5c(0x314)]);}};Pe=yi([ve(0x1,_0x336052(_0x4c74d4)),ve(0x2,_0x336052(H)),ve(0x3,_0x336052(_0x3f0957))],Pe);function xi(_0x5d62db){const _0x4df854=_0x283497,_0x1045e4=new Map();return _0x5d62db['forEach'](_0x2e50d7=>{const _0x338052=_0x4aa4;if(_0x1045e4['has'](_0x2e50d7[_0x338052(0x291)])){const _0x3bf22f=_0x1045e4[_0x338052(0x201)](_0x2e50d7['selection']);_0x3bf22f[_0x338052(0x2ee)]+=',\x20'+_0x2e50d7[_0x338052(0x2ee)];}else _0x1045e4[_0x338052(0x2b3)](_0x2e50d7[_0x338052(0x291)],_0x2e50d7);}),Array[_0x4df854(0x363)](_0x1045e4[_0x4df854(0x323)]());}var v=function(){const _0xb48c89=_0x283497;return v=Object[_0xb48c89(0x2a4)]||function(_0x4ded41){const _0x121009=_0xb48c89;for(var _0x2113b7,_0x254fc4=0x1,_0xc05935=arguments[_0x121009(0x2e1)];_0x254fc4<_0xc05935;_0x254fc4++){_0x2113b7=arguments[_0x254fc4];for(var _0x18b488 in _0x2113b7)Object[_0x121009(0x340)][_0x121009(0x1e0)][_0x121009(0x1ea)](_0x2113b7,_0x18b488)&&(_0x4ded41[_0x18b488]=_0x2113b7[_0x18b488]);}return _0x4ded41;},v[_0xb48c89(0x1b5)](this,arguments);},Bi=function(_0x5d5fa7,_0x412c39){const _0x39f68b=_0x283497;var _0x59db5f={};for(var _0x4e9266 in _0x5d5fa7)Object[_0x39f68b(0x340)]['hasOwnProperty']['call'](_0x5d5fa7,_0x4e9266)&&_0x412c39[_0x39f68b(0x2f2)](_0x4e9266)<0x0&&(_0x59db5f[_0x4e9266]=_0x5d5fa7[_0x4e9266]);if(_0x5d5fa7!=null&&typeof Object[_0x39f68b(0x26d)]==_0x39f68b(0x315)){for(var _0x5dc99d=0x0,_0x4e9266=Object[_0x39f68b(0x26d)](_0x5d5fa7);_0x5dc99d<_0x4e9266['length'];_0x5dc99d++)_0x412c39[_0x39f68b(0x2f2)](_0x4e9266[_0x5dc99d])<0x0&&Object['prototype'][_0x39f68b(0x200)][_0x39f68b(0x1ea)](_0x5d5fa7,_0x4e9266[_0x5dc99d])&&(_0x59db5f[_0x4e9266[_0x5dc99d]]=_0x5d5fa7[_0x4e9266[_0x5dc99d]]);}return _0x59db5f;},Fe=_0x5972f6(function(_0x5c4d35,_0x339dbc){const _0x77b5d8=_0x283497;var _0x55a040=_0x5c4d35['icon'],_0x415431=_0x5c4d35['id'],_0x21921a=_0x5c4d35[_0x77b5d8(0x269)],_0x492cbc=_0x5c4d35[_0x77b5d8(0x230)],_0x4b9f5c=Bi(_0x5c4d35,['icon','id',_0x77b5d8(0x269),'extend']),_0x1ad551=_0x77b5d8(0x1b4)['concat'](_0x415431,'\x20')['concat'](_0x21921a||'')[_0x77b5d8(0x287)](),_0x2cae76=_0x2deb76('_'[_0x77b5d8(0x1a4)](Fi()));return Rt(_0x55a040,''[_0x77b5d8(0x1a4)](_0x415431),{'defIds':_0x55a040[_0x77b5d8(0x288)],'idSuffix':_0x2cae76['current']},v({'ref':_0x339dbc,'className':_0x1ad551},_0x4b9f5c),_0x492cbc);});function Rt(_0x3a3597,_0xb97cf5,_0x43f1a0,_0x21804a,_0x5bdbe8){const _0x3d28da=_0x283497;return _0x3709c9(_0x3a3597['tag'],v(v({'key':_0xb97cf5},ki(_0x3a3597,_0x43f1a0,_0x5bdbe8)),_0x21804a),(Hi(_0x3a3597,_0x43f1a0)[_0x3d28da(0x29a)]||[])[_0x3d28da(0x2a6)](function(_0x5b8167,_0x10b334){const _0x1522a=_0x3d28da;return Rt(_0x5b8167,''['concat'](_0xb97cf5,'-')[_0x1522a(0x1a4)](_0x3a3597[_0x1522a(0x2e6)],'-')['concat'](_0x10b334),_0x43f1a0,void 0x0,_0x5bdbe8);}));}function ki(_0x45001f,_0x466869,_0x3de997){const _0x3aff11=_0x283497;var _0x19a793=v({},_0x45001f[_0x3aff11(0x228)]);_0x3de997!=null&&_0x3de997['colorChannel1']&&_0x19a793['fill']===_0x3aff11(0x1f7)&&(_0x19a793[_0x3aff11(0x274)]=_0x3de997['colorChannel1']),_0x45001f[_0x3aff11(0x2e6)]===_0x3aff11(0x29c)&&_0x19a793['id']&&(_0x19a793['id']=_0x19a793['id']+_0x466869[_0x3aff11(0x1f6)]),Object['entries'](_0x19a793)[_0x3aff11(0x251)](function(_0x4d23c2){const _0xf97b3c=_0x3aff11;var _0x20c5b7=_0x4d23c2[0x0],_0x2e7f14=_0x4d23c2[0x1];_0x20c5b7===_0xf97b3c(0x29c)&&typeof _0x2e7f14==_0xf97b3c(0x1f4)&&(_0x19a793[_0x20c5b7]=_0x2e7f14['replace'](/url\(#(.*)\)/,_0xf97b3c(0x316)[_0xf97b3c(0x1a4)](_0x466869[_0xf97b3c(0x1f6)],')')));});var _0x2e1d17=_0x466869['defIds'];return!_0x2e1d17||_0x2e1d17[_0x3aff11(0x2e1)]===0x0||(_0x45001f[_0x3aff11(0x2e6)]===_0x3aff11(0x208)&&_0x19a793[_0x3aff11(0x2fd)]&&(_0x19a793[_0x3aff11(0x2fd)]=_0x19a793[_0x3aff11(0x2fd)]+_0x466869[_0x3aff11(0x1f6)]),Object[_0x3aff11(0x36b)](_0x19a793)[_0x3aff11(0x251)](function(_0x4c2ed5){const _0x65b90f=_0x3aff11;var _0x43e7ed=_0x4c2ed5[0x0],_0x147791=_0x4c2ed5[0x1];typeof _0x147791=='string'&&(_0x19a793[_0x43e7ed]=_0x147791['replace'](/url\(#(.*)\)/,_0x65b90f(0x316)[_0x65b90f(0x1a4)](_0x466869[_0x65b90f(0x1f6)],')')));})),_0x19a793;}function Hi(_0x432fed,_0x4e2b01){const _0x4429bd=_0x283497;var _0x351b2a,_0x314206=_0x4e2b01[_0x4429bd(0x288)];return!_0x314206||_0x314206['length']===0x0?_0x432fed:_0x432fed[_0x4429bd(0x2e6)]===_0x4429bd(0x1ba)&&(!((_0x351b2a=_0x432fed[_0x4429bd(0x29a)])===null||_0x351b2a===void 0x0)&&_0x351b2a['length'])?v(v({},_0x432fed),{'children':_0x432fed[_0x4429bd(0x29a)][_0x4429bd(0x2a6)](function(_0x36206b){const _0x427cf9=_0x4429bd;return typeof _0x36206b[_0x427cf9(0x228)]['id']==_0x427cf9(0x1f4)&&_0x314206&&_0x314206[_0x427cf9(0x1ca)](_0x36206b['attrs']['id'])?v(v({},_0x36206b),{'attrs':v(v({},_0x36206b['attrs']),{'id':_0x36206b[_0x427cf9(0x228)]['id']+_0x4e2b01[_0x427cf9(0x1f6)]})}):_0x36206b;})}):_0x432fed;}function Fi(){const _0x8fae7e=_0x283497;return Math[_0x8fae7e(0x18f)]()[_0x8fae7e(0x29d)](0x24)['substring'](0x2,0x8);}Fe['displayName']=_0x283497(0x2e5);var Yi={'tag':_0x283497(0x1ad),'attrs':{'xmlns':_0x283497(0x376),'fill':'none','viewBox':_0x283497(0x1d7),'width':_0x283497(0x255),'height':_0x283497(0x255)},'children':[{'tag':'g','attrs':{'clipPath':_0x283497(0x348)},'children':[{'tag':'path','attrs':{'stroke':_0x283497(0x1a8),'d':_0x283497(0x197),'strokeLinecap':_0x283497(0x21c),'strokeLinejoin':_0x283497(0x21c),'strokeWidth':1.2}}]},{'tag':_0x283497(0x1ba),'attrs':{},'children':[{'tag':_0x283497(0x36e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x283497(0x367),'d':_0x283497(0x342)}}]}]}],'defIds':[_0x283497(0x31c)]},Dt=_0x5972f6(function(_0x33d61d,_0x5d6d1d){const _0x53bafe=_0x283497;return _0x3709c9(Fe,Object[_0x53bafe(0x2a4)]({},_0x33d61d,{'id':_0x53bafe(0x306),'ref':_0x5d6d1d,'icon':Yi}));});Dt[_0x283497(0x17e)]=_0x283497(0x270);var ji={'tag':_0x283497(0x1ad),'attrs':{'xmlns':_0x283497(0x376),'fill':_0x283497(0x2e8),'viewBox':'0\x200\x2017\x2016','width':_0x283497(0x255),'height':_0x283497(0x255)},'children':[{'tag':'g','attrs':{'clipPath':_0x283497(0x2cd)},'children':[{'tag':_0x283497(0x1ce),'attrs':{'stroke':_0x283497(0x1a8),'d':_0x283497(0x2aa),'strokeLinecap':_0x283497(0x21c),'strokeLinejoin':_0x283497(0x21c),'strokeWidth':1.2}}]},{'tag':_0x283497(0x1ba),'attrs':{},'children':[{'tag':_0x283497(0x36e),'attrs':{'id':_0x283497(0x353)},'children':[{'tag':_0x283497(0x1ce),'attrs':{'fill':_0x283497(0x367),'d':_0x283497(0x342),'transform':_0x283497(0x36c)}}]}]}],'defIds':[_0x283497(0x353)]},Nt=_0x5972f6(function(_0x301256,_0x1181d2){const _0x33b7d2=_0x283497;return _0x3709c9(Fe,Object[_0x33b7d2(0x2a4)]({},_0x301256,{'id':_0x33b7d2(0x308),'ref':_0x1181d2,'icon':ji}));});Nt[_0x283497(0x17e)]='OnLineIcon';function Vi(_0xf56fef){const _0x36e9c8=_0x283497;switch(_0xf56fef){case _0x571a1f[_0x36e9c8(0x275)]:return _0x36e9c8(0x350);case _0x571a1f['CONFLICT']:return _0x36e9c8(0x262);case _0x571a1f['FETCH_MISS']:return _0x36e9c8(0x17c);case _0x571a1f[_0x36e9c8(0x211)]:return _0x36e9c8(0x2d4);case _0x571a1f[_0x36e9c8(0x22c)]:case _0x571a1f[_0x36e9c8(0x191)]:return _0x36e9c8(0x2f9);case _0x571a1f[_0x36e9c8(0x338)]:case _0x571a1f['PENDING']:return _0x36e9c8(0x280);}}function Wi(_0x856cd){const _0x52e305=_0x283497,{status$:_0x106c08}=_0x856cd,_0xc5bc7c=_0x36a0bc(_0x106c08,_0x571a1f[_0x52e305(0x211)]),_0x41b907=_0x18c626(_0x438664),_0x540bad=_0x18c626(_0xcdcff1),_0x5b0c45=_0xc5bc7c!==_0x571a1f[_0x52e305(0x275)],_0x466187=_0x41b907['t'](Vi(_0xc5bc7c)),_0x33f34f=_0x5b0c45?_0x2a8e23(Nt,{}):_0x2a8e23(Dt,{}),_0x30d8dc=_0x5f51fb(()=>{_0x5b0c45||_0x540bad['reconnect']();},[_0x5b0c45,_0x540bad]);function _0x21eae6(){const _0x1cf183=_0x52e305;return _0x11474f(_0x1cf183(0x242),{'className':_0x1cf183(0x223),'onClick':_0x30d8dc,'children':[_0x2a8e23('div',{'className':_0x13c802(_0x1cf183(0x28f),{'univer-text-green-500':_0x5b0c45,'univer-text-red-500':!_0x5b0c45}),'children':_0x33f34f}),_0x2a8e23(_0x1cf183(0x242),{'className':_0x1cf183(0x263),'children':_0x466187})]});}return _0x5b0c45?_0x21eae6():_0x2a8e23(_0x56f491,{'title':_0x41b907['t'](_0x52e305(0x1aa)),'children':_0x21eae6()});}var Xi=Object[_0x283497(0x352)],Gi=(_0x20b514,_0x4c24f0,_0x134772,_0x4c63b5)=>{const _0x79f945=_0x283497;for(var _0x1660a8=_0x4c63b5>0x1?void 0x0:_0x4c63b5?Xi(_0x4c24f0,_0x134772):_0x4c24f0,_0x554066=_0x20b514[_0x79f945(0x2e1)]-0x1,_0x45ae70;_0x554066>=0x0;_0x554066--)(_0x45ae70=_0x20b514[_0x554066])&&(_0x1660a8=_0x45ae70(_0x1660a8)||_0x1660a8);return _0x1660a8;},Q=(_0x1c9144,_0x1bb078)=>(_0x5d0987,_0x14bca2)=>_0x1bb078(_0x5d0987,_0x14bca2,_0x1c9144);let te=class extends _0x13e60a{constructor(_0xc53e8b,_0x24a631,_0x1497df,_0x5b20e1){const _0x37345b=_0x283497;super(),_(this,_0x37345b(0x203),new _0x23093d(_0x571a1f['NOT_COLLAB'])),(this['_univerInstanceService']=_0xc53e8b,this[_0x37345b(0x336)]=_0x24a631,this[_0x37345b(0x1fa)]=_0x1497df,this[_0x37345b(0x1c0)]=_0x5b20e1,this[_0x37345b(0x266)](),this[_0x37345b(0x1fb)]());}[_0x283497(0x1fb)](){const _0x3a37a1=_0x283497;this[_0x3a37a1(0x1f9)](this[_0x3a37a1(0x17f)][_0x3a37a1(0x1d1)][_0x3a37a1(0x1b2)](_0x4e2ce7(()=>{const _0x1a87ad=_0x3a37a1,_0x505b15=this['_univerInstanceService'][_0x1a87ad(0x28e)]();return _0x505b15?this['_collaborationController'][_0x1a87ad(0x2dc)](_0x505b15[_0x1a87ad(0x292)]()):_0x3042a6(null);}),_0x4e2ce7(_0x27b07f=>_0x27b07f?_0x27b07f[_0x3a37a1(0x1fc)]:_0x3042a6(_0x571a1f[_0x3a37a1(0x211)])))[_0x3a37a1(0x29f)](_0x85f95a=>{const _0x51ad68=_0x3a37a1;this[_0x51ad68(0x203)][_0x51ad68(0x32c)](_0x85f95a);}));}['_initStatusComponent'](){const _0x2cef2d=_0x283497;this[_0x2cef2d(0x1f9)](this['_uiPartsService'][_0x2cef2d(0x193)](_0x2f4c09[_0x2cef2d(0x31b)],()=>_0x23d54e(Ki({'status$':this[_0x2cef2d(0x203)]['asObservable']()}),this['_injector'])));}};te=Gi([Q(0x0,_0x2638a7),Q(0x1,_0x336052(_0x23840d)),Q(0x2,_0x336052(_0x5b629d)),Q(0x3,_0x2b84e1)],te);function Ki(_0x4863e1){const {status$:_0x1a283d}=_0x4863e1;return function(){return _0x2a8e23(Wi,{'status$':_0x1a283d});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x36a922,_0xb1e5af,_0x5a550,_0x19268a)=>{const _0x50ad00=_0x283497;for(var _0x1e6d6f=_0x19268a>0x1?void 0x0:_0x19268a?zi(_0xb1e5af,_0x5a550):_0xb1e5af,_0x2d7a0b=_0x36a922[_0x50ad00(0x2e1)]-0x1,_0x4dca79;_0x2d7a0b>=0x0;_0x2d7a0b--)(_0x4dca79=_0x36a922[_0x2d7a0b])&&(_0x1e6d6f=_0x4dca79(_0x1e6d6f)||_0x1e6d6f);return _0x1e6d6f;},B=(_0x3b4bac,_0x31742e)=>(_0x45bd6a,_0x4537ec)=>_0x31742e(_0x45bd6a,_0x4537ec,_0x3b4bac);let se=class extends _0x13e60a{constructor(_0x3e31ea,_0x59be0e,_0x4101ba,_0x2fb6d9,_0x552f11,_0x1e7574){const _0x4c61c0=_0x283497;super(),this[_0x4c61c0(0x248)]=_0x3e31ea,this[_0x4c61c0(0x26c)]=_0x59be0e,this[_0x4c61c0(0x23e)]=_0x4101ba,this[_0x4c61c0(0x23a)]=_0x2fb6d9,this[_0x4c61c0(0x1d3)]=_0x552f11,this[_0x4c61c0(0x18e)]=_0x1e7574,this[_0x4c61c0(0x2c2)](),this[_0x4c61c0(0x2ed)]();}[_0x283497(0x2c2)](){const _0x56818d=_0x283497;this[_0x56818d(0x1f9)](this[_0x56818d(0x248)][_0x56818d(0x1f8)](()=>{const _0x215341=_0x56818d;if(this[_0x215341(0x26c)][_0x215341(0x345)][_0x215341(0x2ec)])return this['_localeService']['t'](_0x215341(0x1a5));}));}[_0x283497(0x2ed)](){const _0x4e3b7f=_0x283497;this['disposeWithMe'](this['_collaborationUIEventService'][_0x4e3b7f(0x2e3)]['subscribe'](_0x22bd75=>{const _0x324c22=_0x4e3b7f;_0x22bd75['id']===_0x5216f2[_0x324c22(0x31d)]&&this[_0x324c22(0x23a)][_0x324c22(0x35f)]({'type':_0x420c7e[_0x324c22(0x231)],'content':this[_0x324c22(0x18e)]['t'](_0x324c22(0x253))}),_0x22bd75['id']===_0x5216f2[_0x324c22(0x285)]&&this[_0x324c22(0x23a)][_0x324c22(0x35f)]({'type':_0x420c7e[_0x324c22(0x231)],'content':this[_0x324c22(0x18e)]['t'](_0x324c22(0x243))}),_0x22bd75['id']===_0x5216f2[_0x324c22(0x277)]&&this[_0x324c22(0x1d3)][_0x324c22(0x35f)]({'title':this[_0x324c22(0x18e)]['t']('permission.title'),'content':this[_0x324c22(0x18e)]['t'](_0x324c22(0x373)),'type':_0x324c22(0x1fd),'duration':0x0}),_0x22bd75['id']===_0x5216f2['CONFLICT']&&this[_0x324c22(0x23a)][_0x324c22(0x35f)]({'type':_0x420c7e['Error'],'content':this[_0x324c22(0x18e)]['t'](_0x324c22(0x243))+'('+_0x22bd75[_0x324c22(0x321)]+')'}),_0x22bd75['id']===_0x5216f2[_0x324c22(0x252)]&&this['_messageService'][_0x324c22(0x35f)]({'type':_0x420c7e[_0x324c22(0x231)],'content':this[_0x324c22(0x18e)]['t'](_0x22bd75[_0x324c22(0x321)]||'')}),_0x22bd75['id']===_0x5216f2[_0x324c22(0x318)]&&this[_0x324c22(0x23a)][_0x324c22(0x35f)]({'type':_0x420c7e[_0x324c22(0x231)],'content':this[_0x324c22(0x18e)]['t'](_0x324c22(0x27d))}),_0x22bd75['id']===_0x5216f2[_0x324c22(0x174)]&&this[_0x324c22(0x23a)][_0x324c22(0x35f)]({'type':_0x420c7e[_0x324c22(0x198)],'content':this[_0x324c22(0x18e)]['t'](_0x324c22(0x331))}),_0x22bd75['id']===_0x5216f2[_0x324c22(0x322)]&&this[_0x324c22(0x23a)][_0x324c22(0x35f)]({'type':_0x420c7e[_0x324c22(0x198)],'content':this[_0x324c22(0x18e)]['t'](_0x324c22(0x33c))});}));}};se=Ji([B(0x0,_0x2d644d),B(0x1,_0x4928ef),B(0x2,_0x336052(_0x15d0fc)),B(0x3,_0x371474),B(0x4,_0x3e4127),B(0x5,_0x336052(_0x438664))],se);const Zi=_0x283497(0x33e),et={},Ut=_0x30540d(_0x283497(0x2fb));var Qi=Object[_0x283497(0x352)],qi=(_0x32e787,_0x2b6916,_0x330ecf,_0x73a781)=>{const _0x1c2c2c=_0x283497;for(var _0x5ec590=_0x73a781>0x1?void 0x0:_0x73a781?Qi(_0x2b6916,_0x330ecf):_0x2b6916,_0x4c26ac=_0x32e787[_0x1c2c2c(0x2e1)]-0x1,_0x5e366b;_0x4c26ac>=0x0;_0x4c26ac--)(_0x5e366b=_0x32e787[_0x4c26ac])&&(_0x5ec590=_0x5e366b(_0x5ec590)||_0x5ec590);return _0x5ec590;},G=(_0x2071d8,_0x2e9d51)=>(_0x31ca5f,_0x3e571a)=>_0x2e9d51(_0x31ca5f,_0x3e571a,_0x2071d8);let ie=class extends _0x215a18{constructor(_0x3b2fdd,_0x2e4fb0,_0x543b06,_0x3d0ac5,_0x282f46){const _0x5b6138=_0x283497;super(),this['_urlService']=_0x3b2fdd,this[_0x5b6138(0x25c)]=_0x2e4fb0,this['_commandService']=_0x543b06,this[_0x5b6138(0x24f)]=_0x3d0ac5,_0x282f46?_0x282f46==null||_0x282f46[_0x5b6138(0x20d)]()['then'](()=>this[_0x5b6138(0x377)]()):(this['_logService'][_0x5b6138(0x1e9)]('[CollaborationDataLoaderController]',_0x5b6138(0x344)),this[_0x5b6138(0x377)]());}async['_init'](){const _0x2fa0a5=_0x283497,_0xb0c05f=this[_0x2fa0a5(0x1e3)][_0x2fa0a5(0x2cc)]('unit'),_0x4249a5=this[_0x2fa0a5(0x1e3)]['getParam']('type'),_0x6c64f3=this['_urlService'][_0x2fa0a5(0x2cc)](_0x2fa0a5(0x194));if(!_0xb0c05f||!_0x4249a5){this[_0x2fa0a5(0x25c)][_0x2fa0a5(0x1e9)]('[CollaborationDataLoaderController]',_0x2fa0a5(0x307));return;}const _0x305489=await this[_0x2fa0a5(0x24f)][_0x2fa0a5(0x1f0)](_0xb0c05f,Number(_0x4249a5),_0x6c64f3);_0x305489&&_0x305489 instanceof _0x4b6c3e&&this[_0x2fa0a5(0x219)](_0x305489);}async[_0x283497(0x219)](_0x53d71e){const _0x508df2=_0x283497;await this['_updateSubUnitFromURLParams'](_0x53d71e),_0x53d71e['activeSheet$'][_0x508df2(0x1b2)](_0x469921(this['dispose$']))[_0x508df2(0x29f)](_0x4bd071=>{const _0x70bf94=_0x508df2;_0x4bd071&&this[_0x70bf94(0x257)](_0x4bd071);}),this[_0x508df2(0x1e3)]['urlChange$'][_0x508df2(0x1b2)](_0x469921(this[_0x508df2(0x36f)]))[_0x508df2(0x29f)](()=>this[_0x508df2(0x311)](_0x53d71e));}[_0x283497(0x257)](_0x5119e4,_0x29b510=!0x1){const _0x84df59=_0x283497,_0xdc3252=this[_0x84df59(0x1e3)]['getParam'](_0x84df59(0x194));_0x5119e4[_0x84df59(0x324)]()!==_0xdc3252&&this[_0x84df59(0x1e3)][_0x84df59(0x30a)](_0x84df59(0x194),_0x5119e4['getSheetId'](),_0x29b510);}async['_updateSubUnitFromURLParams'](_0x41af5a){const _0x2c9fc4=_0x283497;var _0x4c0929;const _0x1f816f=this[_0x2c9fc4(0x1e3)][_0x2c9fc4(0x2cc)](_0x2c9fc4(0x194));if(!_0x1f816f||!_0x41af5a['getSheetBySheetId'](_0x1f816f)){const _0x55680b=_0x41af5a['getUnhiddenWorksheets']()[0x0],_0x78b8c2=_0x41af5a[_0x2c9fc4(0x2c5)](_0x55680b);if(!_0x78b8c2)return;this[_0x2c9fc4(0x257)](_0x78b8c2,!0x0),await this['_commandService'][_0x2c9fc4(0x297)](_0x3ff385['id'],{'unitId':_0x41af5a['getUnitId'](),'subUnitId':_0x55680b});return;}((_0x4c0929=_0x41af5a['getActiveSheet']())==null?void 0x0:_0x4c0929[_0x2c9fc4(0x324)]())!==_0x1f816f&&await this['_commandService']['executeCommand'](_0x3ff385['id'],{'unitId':_0x41af5a['getUnitId'](),'subUnitId':_0x1f816f});}};ie=qi([G(0x0,Ut),G(0x1,_0x97385c),G(0x2,_0x2a2f35),G(0x3,_0x336052(_0x217610)),G(0x4,_0xbcdfff(_0x3d174d))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x4cc51f,_0x452b85,_0x4afcb0,_0x53f1b4)=>{for(var _0x168527=_0x53f1b4>0x1?void 0x0:_0x53f1b4?en(_0x452b85,_0x4afcb0):_0x452b85,_0x2c8505=_0x4cc51f['length']-0x1,_0x2316ce;_0x2c8505>=0x0;_0x2c8505--)(_0x2316ce=_0x4cc51f[_0x2c8505])&&(_0x168527=_0x2316ce(_0x168527)||_0x168527);return _0x168527;},pe=(_0x3318d9,_0x1d4204)=>(_0x310f06,_0x78b623)=>_0x1d4204(_0x310f06,_0x78b623,_0x3318d9);let ne=class{constructor(_0x1f5588,_0x13d65c,_0x3f6d97){const _0x3492b1=_0x283497;this['_injector']=_0x1f5588,this[_0x3492b1(0x273)]=_0x13d65c,this[_0x3492b1(0x21a)]=_0x3f6d97;}[_0x283497(0x264)](_0x178a3b){const _0x3ca09a=_0x283497;this[_0x3ca09a(0x254)](_0x178a3b),this[_0x3ca09a(0x1cc)](_0x178a3b);}['transformRemoteChangeset'](_0x2a19e7){const _0x214f5f=_0x283497,{unitID:_0x4fb9a3}=_0x2a19e7,_0x2c46b7=this[_0x214f5f(0x21a)][_0x214f5f(0x1a0)](_0x4fb9a3)['with'](_0x28d241),{redoCache:_0x56a2a5}=_0x2c46b7[_0x214f5f(0x237)]();if(_0x56a2a5[_0x214f5f(0x2e1)]===0x0)return _0x2a19e7;let _0x3e1d6b=_0xc7113e[_0x214f5f(0x356)](_0x2a19e7[_0x214f5f(0x23d)][0x0]);for(let _0xebad0a=0x0;_0xebad0a<_0x56a2a5[_0x214f5f(0x2e1)];_0xebad0a++){const _0x2ad43f={'id':_0x214f5f(0x365),'params':{..._0x56a2a5[_0xebad0a]}},_0x58a2be=this['_transformService'][_0x214f5f(0x2d9)](_0x3e1d6b,_0x2ad43f,!0x1);if(_0x7635fd(_0x58a2be))throw _0x58a2be['error'];_0x3e1d6b=_0x58a2be[_0x214f5f(0x234)];}return{..._0xc7113e[_0x214f5f(0x356)](_0x2a19e7),'mutations':[_0x3e1d6b]};}[_0x283497(0x254)](_0x46ae89){const _0x52adc2=_0x283497,{unitID:_0x1a7e9c}=_0x46ae89,_0x59291=this[_0x52adc2(0x21a)]['getRenderById'](_0x1a7e9c)['with'](_0x28d241),{undoCache:_0x579fce,redoCache:_0x14b285}=_0x59291['getUndoRedoMutationParamsCache']();if(_0x579fce[_0x52adc2(0x2e1)]===0x0||_0x14b285[_0x52adc2(0x2e1)]===0x0)return;const _0x17844d=[],_0x8b0a38=[];let _0x5f4ec3=_0xc7113e['deepClone'](_0x46ae89[_0x52adc2(0x23d)][0x0]),_0x9eb5ca=_0xc7113e[_0x52adc2(0x356)](_0x46ae89[_0x52adc2(0x23d)][0x0]);for(let _0x900a6b=_0x579fce[_0x52adc2(0x2e1)]-0x1;_0x900a6b>=0x0;_0x900a6b--){const _0x7c224a={'id':_0x52adc2(0x365),'params':{..._0x579fce[_0x900a6b]}},_0x3d3170={'id':_0x52adc2(0x365),'params':{..._0x14b285[_0x900a6b]}},_0x4cf14a=this['_transformService'][_0x52adc2(0x2d9)](_0x5f4ec3,_0x7c224a,!0x1),_0x3b11ef=this[_0x52adc2(0x273)][_0x52adc2(0x2d9)](_0x9eb5ca,_0x3d3170,!0x1);if(_0x7635fd(_0x4cf14a))throw _0x4cf14a[_0x52adc2(0x1fd)];if(_0x7635fd(_0x3b11ef))throw _0x3b11ef[_0x52adc2(0x1fd)];_0x17844d[_0x52adc2(0x18a)](_0x4cf14a['m2Prime'][_0x52adc2(0x17a)]),_0x8b0a38[_0x52adc2(0x18a)](_0x3b11ef[_0x52adc2(0x268)][_0x52adc2(0x17a)]),_0x5f4ec3=_0x4cf14a[_0x52adc2(0x234)],_0x9eb5ca=_0x3b11ef['m1Prime'];}_0x59291[_0x52adc2(0x283)]({'undoCache':_0x17844d,'redoCache':_0x8b0a38});}[_0x283497(0x1cc)](_0x1206a0){const _0xb014f2=_0x283497,{unitID:_0x24665d}=_0x1206a0,_0x168bed=this['_renderManagerService'][_0xb014f2(0x1a0)](_0x24665d)[_0xb014f2(0x218)](_0x28d241),_0x57c41d=_0x168bed[_0xb014f2(0x326)]();if(_0x57c41d==null)return;const _0x2289bb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1206a0['unitID'],'actions':null,'textRanges':[_0x57c41d]}}],_0x469ee=this[_0xb014f2(0x273)][_0xb014f2(0x2b1)](_0x1206a0,_0x2289bb);if(!_0x4d4c8b(_0x469ee))throw _0x469ee['error'];const _0x3d6fe3=_0x469ee['m2Prime'][0x0][_0xb014f2(0x17a)][_0xb014f2(0x359)];Array['isArray'](_0x3d6fe3)&&_0x3d6fe3[_0xb014f2(0x2e1)]&&_0x168bed['setActiveRange'](_0x3d6fe3[0x0]);}};ne=tn([pe(0x0,_0x336052(_0x23840d)),pe(0x1,_0x290c32),pe(0x2,_0x11e40a)],ne);var sn=Object[_0x283497(0x352)],nn=(_0x3df948,_0x4108b0,_0x4a1a7f,_0x284dc1)=>{const _0x556884=_0x283497;for(var _0xded5ec=_0x284dc1>0x1?void 0x0:_0x284dc1?sn(_0x4108b0,_0x4a1a7f):_0x4108b0,_0x36a378=_0x3df948[_0x556884(0x2e1)]-0x1,_0x2c52d8;_0x36a378>=0x0;_0x36a378--)(_0x2c52d8=_0x3df948[_0x36a378])&&(_0xded5ec=_0x2c52d8(_0xded5ec)||_0xded5ec);return _0xded5ec;},Ce=(_0x4df2e0,_0x3807fc)=>(_0x323232,_0x5ed0da)=>_0x3807fc(_0x323232,_0x5ed0da,_0x4df2e0);let re=class{constructor(_0x5b52fa,_0x5d296f,_0x3eaf72){const _0x5eba73=_0x283497;this[_0x5eba73(0x336)]=_0x5b52fa,this[_0x5eba73(0x273)]=_0x5d296f,this['_docStateChangeManagerService']=_0x3eaf72;}[_0x283497(0x226)](_0x2bbd16){const _0x30b4d0=_0x283497;this[_0x30b4d0(0x1d0)](_0x2bbd16);}[_0x283497(0x1cb)](_0x26981f){const _0x5fb818=_0x283497,{unitID:_0x1bc7e2}=_0x26981f,{collaboration:_0x36752e}=this[_0x5fb818(0x224)][_0x5fb818(0x30c)](_0x1bc7e2);if(_0x36752e['length']===0x0)return _0x26981f;let _0x5f1c47=_0xc7113e['deepClone'](_0x26981f[_0x5fb818(0x23d)][0x0]);for(let _0x29212d=0x0;_0x29212d<_0x36752e['length'];_0x29212d++){const _0x961379={'id':_0x5fb818(0x365),'params':{'unitId':_0x36752e[_0x29212d][_0x5fb818(0x360)],..._0x36752e[_0x29212d][_0x5fb818(0x1b9)]}},_0x1d06d5=this['_transformService'][_0x5fb818(0x2d9)](_0x5f1c47,_0x961379,!0x1);if(_0x7635fd(_0x1d06d5))throw _0x1d06d5[_0x5fb818(0x1fd)];_0x5f1c47=_0x1d06d5['m1Prime'];}return{..._0xc7113e['deepClone'](_0x26981f),'mutations':[_0x5f1c47]};}['_transformHistoryAndStateStack'](_0x196b86){const _0x5f1500=_0x283497,{unitID:_0x98b04b}=_0x196b86,{history:_0x472473,collaboration:_0x1b43a7}=this['_docStateChangeManagerService'][_0x5f1500(0x30c)](_0x98b04b);if(_0x472473['length']===0x0&&_0x1b43a7[_0x5f1500(0x2e1)]===0x0)return;const _0x255802=[],_0x2a7965=[];let _0x980e2b=_0xc7113e[_0x5f1500(0x356)](_0x196b86['mutations'][0x0]),_0x1c50f4=_0xc7113e[_0x5f1500(0x356)](_0x196b86[_0x5f1500(0x23d)][0x0]);for(let _0x15e4da=_0x472473[_0x5f1500(0x2e1)]-0x1;_0x15e4da>=0x0;_0x15e4da--){const _0x213d9d={'id':_0x5f1500(0x365),'params':{'unitId':_0x472473[_0x15e4da][_0x5f1500(0x360)],..._0x472473[_0x15e4da][_0x5f1500(0x33f)]}},_0x249cf1={'id':_0x5f1500(0x365),'params':{'unitId':_0x472473[_0x15e4da][_0x5f1500(0x360)],..._0x472473[_0x15e4da]['redoState']}},_0x79e264=this[_0x5f1500(0x273)][_0x5f1500(0x2d9)](_0x980e2b,_0x213d9d,!0x1),_0x17159c=this[_0x5f1500(0x273)]['transformMutation'](_0x1c50f4,_0x249cf1,!0x1);if(_0x7635fd(_0x79e264))throw _0x79e264[_0x5f1500(0x1fd)];if(_0x7635fd(_0x17159c))throw _0x17159c[_0x5f1500(0x1fd)];_0x255802[_0x5f1500(0x18a)]({..._0x472473[_0x15e4da],'undoState':_0x79e264['m2Prime'][_0x5f1500(0x17a)],'redoState':_0x17159c[_0x5f1500(0x268)]['params']}),_0x980e2b=_0x79e264[_0x5f1500(0x234)],_0x1c50f4=_0x17159c['m1Prime'];}_0x980e2b=_0xc7113e['deepClone'](_0x196b86[_0x5f1500(0x23d)][0x0]),_0x1c50f4=_0xc7113e[_0x5f1500(0x356)](_0x196b86['mutations'][0x0]);for(let _0xca6dbd=_0x1b43a7[_0x5f1500(0x2e1)]-0x1;_0xca6dbd>=0x0;_0xca6dbd--){const _0x2c319a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b43a7[_0xca6dbd][_0x5f1500(0x360)],..._0x1b43a7[_0xca6dbd][_0x5f1500(0x33f)]}},_0x45ae60={'id':_0x5f1500(0x365),'params':{'unitId':_0x1b43a7[_0xca6dbd][_0x5f1500(0x360)],..._0x1b43a7[_0xca6dbd][_0x5f1500(0x1b9)]}},_0x1846c6=this[_0x5f1500(0x273)][_0x5f1500(0x2d9)](_0x980e2b,_0x2c319a,!0x1),_0xd114d4=this[_0x5f1500(0x273)][_0x5f1500(0x2d9)](_0x1c50f4,_0x45ae60,!0x1);if(_0x7635fd(_0x1846c6))throw _0x1846c6[_0x5f1500(0x1fd)];if(_0x7635fd(_0xd114d4))throw _0xd114d4[_0x5f1500(0x1fd)];_0x2a7965[_0x5f1500(0x18a)]({..._0x1b43a7[_0xca6dbd],'undoState':_0x1846c6[_0x5f1500(0x268)][_0x5f1500(0x17a)],'redoState':_0xd114d4[_0x5f1500(0x268)]['params']}),_0x980e2b=_0x1846c6[_0x5f1500(0x234)],_0x1c50f4=_0xd114d4[_0x5f1500(0x234)];}this['_docStateChangeManagerService'][_0x5f1500(0x30d)](_0x98b04b,{'history':_0x255802,'collaboration':_0x2a7965});}};re=nn([Ce(0x0,_0x336052(_0x23840d)),Ce(0x1,_0x290c32),Ce(0x2,_0x336052(_0xc16f28))],re);var rn=Object[_0x283497(0x352)],on=(_0x4bf684,_0x4cb28f,_0x4b9d8e,_0x92ab45)=>{const _0x223623=_0x283497;for(var _0x5556ba=_0x92ab45>0x1?void 0x0:_0x92ab45?rn(_0x4cb28f,_0x4b9d8e):_0x4cb28f,_0x374025=_0x4bf684[_0x223623(0x2e1)]-0x1,_0xac6336;_0x374025>=0x0;_0x374025--)(_0xac6336=_0x4bf684[_0x374025])&&(_0x5556ba=_0xac6336(_0x5556ba)||_0x5556ba);return _0x5556ba;},tt=(_0x4e0fb0,_0x5a70a1)=>(_0x345c83,_0x38e915)=>_0x5a70a1(_0x345c83,_0x38e915,_0x4e0fb0);let oe=class{constructor(_0x4c5ecd,_0x12f672){const _0x249e7a=_0x283497;this[_0x249e7a(0x336)]=_0x4c5ecd,this['_transformService']=_0x12f672;}[_0x283497(0x295)](_0x4658cc){const _0x5a2251=_0x283497;var _0x74b09a;const _0x4276ec=this[_0x5a2251(0x336)][_0x5a2251(0x201)](_0x396beb),_0x205e6d=(_0x74b09a=_0x4276ec[_0x5a2251(0x2be)]())!=null?_0x74b09a:[];if(_0x205e6d['length']===0x0)return;const _0x30a2ce=_0x4658cc[_0x5a2251(0x2d7)],_0x598036=[{'id':_0x5a2251(0x365),'params':{'unitId':_0x30a2ce,'actions':null,'textRanges':_0x205e6d}}],_0x5166ea=this['_transformService'][_0x5a2251(0x2b1)](_0x4658cc,_0x598036);if(!_0x4d4c8b(_0x5166ea))throw _0x5166ea['error'];const _0x5f4128=_0x5166ea[_0x5a2251(0x268)][0x0]['params'][_0x5a2251(0x359)];Array['isArray'](_0x5f4128)&&_0x5f4128[_0x5a2251(0x2e1)]&&_0x4276ec[_0x5a2251(0x28c)](_0x5f4128,{'unitId':_0x30a2ce,'subUnitId':_0x30a2ce},!0x1);}};oe=on([tt(0x0,_0x336052(_0x23840d)),tt(0x1,_0x290c32)],oe);var an=Object[_0x283497(0x352)],cn=(_0x3fcbe4,_0x471c21,_0x2de928,_0x7f6a29)=>{const _0x28010e=_0x283497;for(var _0x1b9ae1=_0x7f6a29>0x1?void 0x0:_0x7f6a29?an(_0x471c21,_0x2de928):_0x471c21,_0x5edeb8=_0x3fcbe4[_0x28010e(0x2e1)]-0x1,_0x3deaa4;_0x5edeb8>=0x0;_0x5edeb8--)(_0x3deaa4=_0x3fcbe4[_0x5edeb8])&&(_0x1b9ae1=_0x3deaa4(_0x1b9ae1)||_0x1b9ae1);return _0x1b9ae1;},U=(_0x42b020,_0x53a5c6)=>(_0x520884,_0x1042dc)=>_0x53a5c6(_0x520884,_0x1042dc,_0x42b020);let ae=class extends _0x13e60a{constructor(_0x45b927,_0x27edb9,_0x1980e0,_0x2002ec,_0x3d02fb,_0x7a6262,_0x54e982,_0x5a7905){const _0x15fdf1=_0x283497;super(),_(this,_0x15fdf1(0x203),new _0x23093d(_0x571a1f['NOT_COLLAB'])),(this[_0x15fdf1(0x224)]=_0x45b927,this[_0x15fdf1(0x1fa)]=_0x27edb9,this[_0x15fdf1(0x2f0)]=_0x1980e0,this['_docTransformStateCacheService']=_0x2002ec,this[_0x15fdf1(0x2eb)]=_0x3d02fb,this['_docSyncEditingCollabCursorService']=_0x7a6262,this['_messageService']=_0x54e982,this[_0x15fdf1(0x18e)]=_0x5a7905,this['_initEntityListener']());}['_initEntityListener'](){const _0x157cd7=_0x283497;this['disposeWithMe'](this[_0x157cd7(0x1fa)]['entityInit$'][_0x157cd7(0x29f)](_0x590876=>{const _0x35836e=_0x157cd7,_0x41de11=this[_0x35836e(0x224)][_0x35836e(0x349)][_0x35836e(0x29f)](_0x3dbbdb=>{const _0x5d4d92=_0x35836e;if(_0x3dbbdb==null)return;const {unitId:_0x267f40,redoState:_0x496d25,commandId:_0x30376b}=_0x3dbbdb;if(_0x267f40!==_0x590876[_0x5d4d92(0x2d7)])return;const _0x2cdbce={'id':_0x30376b,'type':_0x36887c[_0x5d4d92(0x1c7)],'params':{'unitId':_0x267f40,'actions':_0x496d25['actions'],'textRanges':null}};_0x590876[_0x5d4d92(0x1e1)](_0x2cdbce);});if(_0x590876[_0x35836e(0x1f9)](_0x41de11),_0x590876 instanceof _0x27bd93){const _0x54df27={'onTransformIME':_0x22fee7=>this[_0x35836e(0x2f0)][_0x35836e(0x264)](_0x22fee7),'onTransformState':_0x4be7bc=>this['_docTransformStateCacheService']['transformStateCache'](_0x4be7bc),'onTransformSelections':_0x1872f6=>this['_docTransformSelectionsService']['transformSelections'](_0x1872f6),'onSyncEditingCollabCursor':_0xba536a=>this[_0x35836e(0x258)][_0x35836e(0x2a9)](_0xba536a),'onTransformRemoteChangesetByIMECache':_0x3c4c81=>this[_0x35836e(0x2f0)][_0x35836e(0x1cb)](_0x3c4c81),'onTransformRemoteChangesetByStateCache':_0x338ce6=>this['_docTransformStateCacheService'][_0x35836e(0x1cb)](_0x338ce6)};_0x590876[_0x35836e(0x371)](_0x54df27);}}));}};ae=cn([U(0x0,_0x336052(_0xc16f28)),U(0x1,_0x336052(_0x5b629d)),U(0x2,_0x336052(ne)),U(0x3,_0x336052(re)),U(0x4,_0x336052(oe)),U(0x5,_0x336052(He)),U(0x6,_0x371474),U(0x7,_0x336052(_0x438664))],ae);var ln=Object[_0x283497(0x352)],_n=(_0x16647e,_0x27cd2a,_0x5469de,_0x46c067)=>{const _0x389e8e=_0x283497;for(var _0x225d83=_0x46c067>0x1?void 0x0:_0x46c067?ln(_0x27cd2a,_0x5469de):_0x27cd2a,_0x27ae86=_0x16647e[_0x389e8e(0x2e1)]-0x1,_0x410c9f;_0x27ae86>=0x0;_0x27ae86--)(_0x410c9f=_0x16647e[_0x27ae86])&&(_0x225d83=_0x410c9f(_0x225d83)||_0x225d83);return _0x225d83;},Ee=(_0x2039fa,_0xda7a27)=>(_0x4a9a7e,_0x4a554e)=>_0xda7a27(_0x4a9a7e,_0x4a554e,_0x2039fa);let we=class extends _0x13e60a{constructor(_0x331563,_0x230181,_0x4d3a8f){const _0x5c8a2c=_0x283497;super(),_(this,_0x5c8a2c(0x2e0),new Map()),_(this,_0x5c8a2c(0x369),new Map()),_(this,_0x5c8a2c(0x30e),!0x1),(this[_0x5c8a2c(0x2f8)]=_0x331563,this['_localStorageService']=_0x230181,this[_0x5c8a2c(0x18b)]=_0x4d3a8f);}[_0x283497(0x310)](){const _0x367392=_0x283497;this[_0x367392(0x30e)]=!0x0;}[_0x283497(0x2fc)](){const _0x2dba0c=_0x283497;this[_0x2dba0c(0x30e)]=!0x1;}get[_0x283497(0x345)](){return this['_saveTaskMap'];}[_0x283497(0x1b8)](){const _0xbf3e98=_0x283497;this['exhaustSavingTask']()[_0xbf3e98(0x374)](()=>super['dispose']());}async['loadOfflineData'](_0x55fd06){const _0x1991fe=_0x283497;return this['_disabled']?null:this['_localStorageService'][_0x1991fe(0x20e)](_0x1d1390(_0x55fd06));}async[_0x283497(0x215)](_0x53da45,_0x59027b){const _0x5ea089=_0x283497;return!!this[_0x5ea089(0x236)][_0x5ea089(0x265)](_0x53da45,_0x59027b);}[_0x283497(0x368)](_0x2e9a92,_0x82f8a9,_0x5a41e1,_0x2a278c){const _0x193b6d=_0x283497,_0x2a7b96=this[_0x193b6d(0x18b)][_0x193b6d(0x2ca)](_0x2e9a92);this[_0x193b6d(0x2e0)][_0x193b6d(0x2b3)](_0x2e9a92,{'unitID':_0x2e9a92,'type':_0x82f8a9,'awaitingChangeset':_0x5a41e1,'mutations':_0x2a278c,'rev':_0x2a7b96}),this[_0x193b6d(0x369)]['has'](_0x2e9a92)||this[_0x193b6d(0x2bc)](_0x2e9a92);}['_scheduleSaving'](_0xef1d0a){const _0x449350=_0x283497,_0x137b68=this[_0x449350(0x1d8)]();_0x137b68===0x0?this['_saveCache'](_0xef1d0a):this[_0x449350(0x369)]['set'](_0xef1d0a,setTimeout(()=>this['_saveCache'](_0xef1d0a),_0x137b68));}[_0x283497(0x1d8)](){const _0x4b2d64=_0x283497;var _0xf97021;return(_0xf97021=this[_0x4b2d64(0x2f8)][_0x4b2d64(0x185)](_0x20b368))!=null?_0xf97021:_0x373cc1;}[_0x283497(0x31a)](_0x53d257){const _0x25bbe6=_0x283497,_0x4cbf23=this[_0x25bbe6(0x369)][_0x25bbe6(0x201)](_0x53d257);return _0x4cbf23!==void 0x0&&window[_0x25bbe6(0x24e)](_0x4cbf23),this[_0x25bbe6(0x236)][_0x25bbe6(0x265)](_0x1d1390(_0x53d257),this[_0x25bbe6(0x2e0)][_0x25bbe6(0x201)](_0x53d257))[_0x25bbe6(0x374)](()=>this[_0x25bbe6(0x369)][_0x25bbe6(0x179)](_0x53d257));}async[_0x283497(0x22e)](){const _0x20c435=_0x283497,_0x933720=[];this['_saveTaskMap'][_0x20c435(0x251)]((_0x532558,_0x2f1375)=>{const _0x177985=_0x20c435;window['clearTimeout'](_0x532558),_0x933720[_0x177985(0x1b7)](this['_saveCache'](_0x2f1375)['then'](()=>{const _0x2d6b73=_0x177985;this['_saveTaskMap'][_0x2d6b73(0x179)](_0x2f1375);}));}),await Promise['all'](_0x933720);}};we=_n([Ee(0x0,_0x31488f),Ee(0x1,_0x4efb91),Ee(0x2,_0x336052(_0x5bd1f2))],we);class hn extends _0x215a18{constructor(){const _0x1373fd=_0x283497;super(),_(this,'urlChange$'),this[_0x1373fd(0x2c8)]=_0x5600b4(window,'popstate')['pipe'](_0x469921(this['dispose$']),_0x54f281(0x1),_0x11e24e(void 0x0));}[_0x283497(0x30a)](_0x5dc4bd,_0x3956c1,_0x4ccfa0=!0x1){const _0x58db03=_0x283497,_0xd7fab3=new URL(window[_0x58db03(0x2a1)][_0x58db03(0x1e4)]);_0xd7fab3[_0x58db03(0x222)][_0x58db03(0x2b3)](_0x5dc4bd,_0x3956c1),_0x4ccfa0?window[_0x58db03(0x245)][_0x58db03(0x333)]('','',_0xd7fab3[_0x58db03(0x29d)]()):window[_0x58db03(0x245)]['pushState']('','',_0xd7fab3[_0x58db03(0x29d)]());}[_0x283497(0x188)](_0x12ddde,_0x41c2e6=!0x1){const _0x1e619c=_0x283497,_0x5a508e=new URL(window[_0x1e619c(0x2a1)][_0x1e619c(0x1e4)]);_0x5a508e['searchParams'][_0x1e619c(0x179)](_0x12ddde),_0x41c2e6?window[_0x1e619c(0x245)][_0x1e619c(0x333)]('','',_0x5a508e[_0x1e619c(0x29d)]()):window['history'][_0x1e619c(0x32f)]('','',_0x5a508e[_0x1e619c(0x29d)]());}[_0x283497(0x2cc)](_0x1e24c9){const _0x28c365=_0x283497;var _0x2c0e92;return(_0x2c0e92=new URL(window[_0x28c365(0x2a1)][_0x28c365(0x1e4)])[_0x28c365(0x222)][_0x28c365(0x201)](_0x1e24c9))!=null?_0x2c0e92:void 0x0;}}var un=Object[_0x283497(0x1c6)],dn=Object[_0x283497(0x352)],fn=(_0xe63013,_0x374805,_0x512939)=>_0x374805 in _0xe63013?un(_0xe63013,_0x374805,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x512939}):_0xe63013[_0x374805]=_0x512939,Sn=(_0x570757,_0x81333e,_0x12ffa5,_0x420268)=>{for(var _0x54dc06=_0x420268>0x1?void 0x0:_0x420268?dn(_0x81333e,_0x12ffa5):_0x81333e,_0x1558ac=_0x570757['length']-0x1,_0x4f41ff;_0x1558ac>=0x0;_0x1558ac--)(_0x4f41ff=_0x570757[_0x1558ac])&&(_0x54dc06=_0x4f41ff(_0x54dc06)||_0x54dc06);return _0x54dc06;},Oe=(_0x3e33c3,_0x183a14)=>(_0xd3cdfe,_0x24cb27)=>_0x183a14(_0xd3cdfe,_0x24cb27,_0x3e33c3),mn=(_0x25be8b,_0x405491,_0x584a1a)=>fn(_0x25be8b,_0x405491+'',_0x584a1a);const In=_0x283497(0x2c1);let Ae=class extends _0x322134{constructor(_0x5605d3=et,_0x2372fd,_0x5af133,_0xf368e5){const _0x98b3f9=_0x283497;super(),this[_0x98b3f9(0x34a)]=_0x5605d3,this[_0x98b3f9(0x21a)]=_0x2372fd,this[_0x98b3f9(0x336)]=_0x5af133,this[_0x98b3f9(0x2f8)]=_0xf368e5;const {..._0x3017e0}=_0x20fa50({},et,this[_0x98b3f9(0x34a)]);this[_0x98b3f9(0x2f8)][_0x98b3f9(0x1ae)](Zi,_0x3017e0);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}['onRendered'](){const _0x381728=_0x283497;this[_0x381728(0x1a9)]();}[_0x283497(0x278)](){const _0x3247ca=_0x283497;var _0x1e489e;const _0xa64983=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5f0c5b,{'useClass':_0x4f8fc3}],[_0x4928ef,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x541397(this[_0x3247ca(0x336)],_0xa3d283(_0xa64983,(_0x1e489e=this['_config'])==null?void 0x0:_0x1e489e['override']));}[_0x283497(0x1a9)](){const _0x16f448=_0x283497;this[_0x16f448(0x1f9)](this[_0x16f448(0x21a)][_0x16f448(0x26b)](_0x553305[_0x16f448(0x1dc)],[Le])),this[_0x16f448(0x1f9)](this[_0x16f448(0x21a)]['registerRenderModule'](_0x553305['UNIVER_SHEET'],[Pe]));}[_0x283497(0x240)](){const _0x2139c0=_0x283497;_0x569404(this[_0x2139c0(0x336)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x283497(0x20a),In),Ae=Sn([_0x2e9026(_0x4ac470),Oe(0x1,_0x11e40a),Oe(0x2,_0x336052(_0x23840d)),Oe(0x3,_0x31488f)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x466fea,_0x4f4f9b,_0x24f3b5,_0x24450c)=>{const _0x2ded97=_0x283497;for(var _0x3b5710=_0x24450c>0x1?void 0x0:_0x24450c?gn(_0x4f4f9b,_0x24f3b5):_0x4f4f9b,_0x5f2534=_0x466fea[_0x2ded97(0x2e1)]-0x1,_0x3872b8;_0x5f2534>=0x0;_0x5f2534--)(_0x3872b8=_0x466fea[_0x5f2534])&&(_0x3b5710=_0x3872b8(_0x3b5710)||_0x3b5710);return _0x3b5710;},K=(_0x13fa83,_0x5cfd70)=>(_0x5310f8,_0x136382)=>_0x5cfd70(_0x5310f8,_0x136382,_0x13fa83);let st=class extends _0x2a043b{constructor(_0x37064a,_0x5a434b,_0x2d828b,_0x29c77f,_0x43d8b9){super(_0x37064a,_0x5a434b,_0x2d828b,_0x29c77f,_0x43d8b9);}async['createSocket'](_0x34402a){const _0x53b196=_0x283497,_0x3479e8=await this[_0x53b196(0x1f2)](),_0x483616=this[_0x53b196(0x25f)](_0x34402a,_0x3479e8);return this['_doCreateSocket'](_0x483616);}['_createSocketURL'](_0x1c0223,_0x4384c5){const _0x5ecc92=_0x283497,_0x11ac65=typeof window>'u'?new URL(_0x1c0223):new URL(_0x1c0223,window[_0x5ecc92(0x2a1)]['origin']);_0x11ac65['searchParams']['set'](_0x5ecc92(0x1a1),_0x4384c5);const _0x11f9df=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5ecc92(0x2a1)]['search']);return _0x11f9df[_0x5ecc92(0x201)](_0x5ecc92(0x1a6))&&_0x11ac65[_0x5ecc92(0x222)][_0x5ecc92(0x2b3)]('runId',_0x11f9df[_0x5ecc92(0x201)](_0x5ecc92(0x1a6))),_0x11ac65[_0x5ecc92(0x29d)]();}async[_0x283497(0x1f2)](){const _0x334fdf=_0x283497;var _0x5cc0f6,_0x3863bb,_0xc10233;const _0x248077=this[_0x334fdf(0x2f8)][_0x334fdf(0x185)](_0x2c2ea9),_0x16dbd=(_0x5cc0f6=_0x248077==null?void 0x0:_0x248077[_0x334fdf(0x1ed)])!=null?_0x5cc0f6:_0x341ce6;return(_0xc10233=(_0x3863bb=(await this[_0x334fdf(0x29b)][_0x334fdf(0x201)](_0x16dbd,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3863bb[_0x334fdf(0x339)])!=null?_0xc10233:'';}};st=vn([K(0x0,_0x336052(_0x23840d)),K(0x1,_0x336052(_0x554eaf)),K(0x2,_0x31488f),K(0x3,_0x97385c),K(0x4,_0x2b3ffe)],st);const it=0x7530,nt=_0x283497(0x1bc);class Fn extends _0x13e60a{constructor(){const _0x5601a7=_0x283497;super(),_(this,_0x5601a7(0x2b7),_0x3dd555()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x5601a7(0x296),null),_(this,_0x5601a7(0x1e8),new Map()),_(this,'_unitStatus',new Map()),this[_0x5601a7(0x377)]();}['dispose'](){const _0x31dab1=_0x283497;super[_0x31dab1(0x1b8)](),this[_0x31dab1(0x1e8)][_0x31dab1(0x251)]((_0x2dd9df,_0x790319)=>this[_0x31dab1(0x2b9)](_0x790319)),this[_0x31dab1(0x296)]&&window[_0x31dab1(0x186)](this['_heartbeatTimer']);}[_0x283497(0x260)](_0x628feb){const _0x191b41=_0x283497;return this[_0x191b41(0x2c4)](_0x628feb)[_0x191b41(0x1b2)](_0x40a442());}[_0x283497(0x294)](_0x21e99b){const _0x520fc7=_0x283497;this[_0x520fc7(0x187)][_0x520fc7(0x2ec)]===0x0&&this['_scheduleHeartbeat'](),this[_0x520fc7(0x187)][_0x520fc7(0x313)](_0x21e99b),this[_0x520fc7(0x1c1)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x21e99b],'isForwarded':!0x1});}['disposeUnit'](_0x45418d){const _0x216656=_0x283497;this['_selfUnitIDs'][_0x216656(0x179)](_0x45418d),this[_0x216656(0x187)][_0x216656(0x2ec)]===0x0&&this[_0x216656(0x296)]&&window['clearInterval'](this[_0x216656(0x296)]);}[_0x283497(0x377)](){const _0x963cef=_0x283497;this['disposeWithMe'](_0x4240ac(_0x5600b4(window,_0x963cef(0x2ff))['subscribe'](_0x44954c=>{const _0x55ea85=_0x963cef;if(_0x44954c[_0x55ea85(0x2a8)]!==nt||!_0x44954c[_0x55ea85(0x2de)])return;const _0x1907fc=JSON['parse'](_0x44954c['newValue']);this['_handleEvent'](_0x1907fc);}))),window[_0x963cef(0x221)](_0x963cef(0x27c),()=>this[_0x963cef(0x1c1)]({'type':0x1,'memberID':this[_0x963cef(0x2b7)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x4935c){const _0x44514a=_0x283497;switch(_0x4935c['type']){case 0x0:this[_0x44514a(0x1da)](_0x4935c);break;case 0x1:this['_handleLeaveEvent'](_0x4935c);break;case 0x2:this[_0x44514a(0x247)](_0x4935c);break;}}[_0x283497(0x1da)](_0x3957e1){const _0x27a4d6=_0x283497,{unitIDs:_0x31a9ab,memberID:_0x586af0,isForwarded:_0x3ffa80}=_0x3957e1;_0x31a9ab[_0x27a4d6(0x251)](_0xa68db=>{const _0x5a2744=_0x27a4d6;if(!_0x3ffa80&&this['_unitOnClients']['has'](_0xa68db)&&this[_0x5a2744(0x2c4)](_0xa68db)[_0x5a2744(0x32c)](_0x5e54e0[_0x5a2744(0x2bf)]),!this[_0x5a2744(0x21d)][_0x5a2744(0x27f)](_0xa68db)||!this['_unitOnClients'][_0x5a2744(0x201)](_0xa68db)[_0x5a2744(0x27f)](_0x586af0)){const _0x372ee1=this[_0x5a2744(0x21d)][_0x5a2744(0x201)](_0xa68db)||new Set();_0x372ee1['add'](_0x586af0),this[_0x5a2744(0x21d)]['set'](_0xa68db,_0x372ee1),this[_0x5a2744(0x1bb)](_0x586af0);}}),_0x3ffa80||this[_0x27a4d6(0x1c1)]({'type':0x0,'memberID':this[_0x27a4d6(0x2b7)],'unitIDs':[...this[_0x27a4d6(0x187)]],'isForwarded':!0x0});}[_0x283497(0x1bb)](_0x39c792){const _0xfab563=_0x283497;this[_0xfab563(0x2b9)](_0x39c792);const _0x14eff9=window[_0xfab563(0x189)](()=>{const _0xa8861e=_0xfab563;this['_unitOnClients'][_0xa8861e(0x251)](_0x2a012c=>{const _0x5cce96=_0xa8861e;_0x2a012c[_0x5cce96(0x179)](_0x39c792);});},it*0x2);this[_0xfab563(0x1e8)][_0xfab563(0x2b3)](_0x39c792,_0x14eff9);}[_0x283497(0x2b9)](_0x34b659){const _0x102a4b=_0x283497;if(this[_0x102a4b(0x1e8)]['has'](_0x34b659)){const _0x122e8d=this[_0x102a4b(0x1e8)]['get'](_0x34b659);_0x122e8d&&window[_0x102a4b(0x24e)](_0x122e8d),this[_0x102a4b(0x1e8)][_0x102a4b(0x2b3)](_0x34b659,null);}}[_0x283497(0x176)](_0x471389){const _0x2eb415=_0x283497,{memberID:_0x23918,unitIDs:_0x56583b}=_0x471389;_0x56583b['forEach'](_0x1290cb=>{const _0x2ffe07=_0x4aa4;var _0x37d2f8;const _0x422dfd=this[_0x2ffe07(0x21d)][_0x2ffe07(0x201)](_0x1290cb);_0x422dfd&&(_0x422dfd['delete'](_0x23918),(_0x37d2f8=this[_0x2ffe07(0x2c4)](_0x1290cb))==null||_0x37d2f8[_0x2ffe07(0x32c)](_0x422dfd['size']===0x0?_0x5e54e0['NO_OTHER_CLIENTS_EDITING']:_0x5e54e0[_0x2ffe07(0x2bf)]));}),this[_0x2eb415(0x2b9)](_0x23918);}[_0x283497(0x247)](_0x8fa72a){const _0x3f2571=_0x283497;this[_0x3f2571(0x1bb)](_0x8fa72a['memberID']);}[_0x283497(0x1c1)](_0x30def3){const _0x4a4c78=_0x283497;localStorage[_0x4a4c78(0x265)](nt,JSON[_0x4a4c78(0x1c2)](_0x30def3));}[_0x283497(0x327)](){const _0x3e1cb8=_0x283497;this[_0x3e1cb8(0x296)]=window[_0x3e1cb8(0x375)](()=>{const _0x1bc3e2=_0x3e1cb8;this[_0x1bc3e2(0x1c1)]({'type':0x2,'memberID':this[_0x1bc3e2(0x2b7)]});},it);}[_0x283497(0x2c4)](_0xe8cb80){const _0xb70978=_0x283497;return this[_0xb70978(0x20c)]['has'](_0xe8cb80)||this[_0xb70978(0x20c)]['set'](_0xe8cb80,new _0x23093d(_0x5e54e0['NO_OTHER_CLIENTS_EDITING'])),this[_0xb70978(0x20c)]['get'](_0xe8cb80);}}var Mt=(_0x1df7dc=>(_0x1df7dc[_0x1df7dc[_0x283497(0x358)]=0x0]=_0x283497(0x358),_0x1df7dc[_0x1df7dc['OK']=0x1]='OK',_0x1df7dc[_0x1df7dc[_0x283497(0x2b2)]=0x2]='INTERNAL_ERROR',_0x1df7dc[_0x1df7dc[_0x283497(0x277)]=0x3]=_0x283497(0x277),_0x1df7dc[_0x1df7dc[_0x283497(0x332)]=0x4]=_0x283497(0x332),_0x1df7dc[_0x1df7dc[_0x283497(0x1c8)]=0x5]='UNAUTHENTICATED',_0x1df7dc[_0x1df7dc[_0x283497(0x1a2)]=0x6]=_0x283497(0x1a2),_0x1df7dc[_0x1df7dc[_0x283497(0x2bb)]=0x7]=_0x283497(0x2bb),_0x1df7dc[_0x1df7dc[_0x283497(0x30b)]=0x8]=_0x283497(0x30b),_0x1df7dc[_0x1df7dc[_0x283497(0x1ee)]=0x9]=_0x283497(0x1ee),_0x1df7dc[_0x1df7dc[_0x283497(0x2df)]=0xa]=_0x283497(0x2df),_0x1df7dc[_0x1df7dc['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x283497(0x214),_0x1df7dc[_0x1df7dc['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x283497(0x1c3),_0x1df7dc[_0x1df7dc[_0x283497(0x2a5)]=0xd]=_0x283497(0x2a5),_0x1df7dc[_0x1df7dc[_0x283497(0x30f)]=0xe]=_0x283497(0x30f),_0x1df7dc[_0x1df7dc[_0x283497(0x217)]=0x1389]=_0x283497(0x217),_0x1df7dc[_0x1df7dc[_0x283497(0x23b)]=0x1771]=_0x283497(0x23b),_0x1df7dc[_0x1df7dc[_0x283497(0x259)]=0x1772]=_0x283497(0x259),_0x1df7dc[_0x1df7dc[_0x283497(0x19a)]=0x1773]=_0x283497(0x19a),_0x1df7dc[_0x1df7dc['APPLY_REJECT']=0x1b59]=_0x283497(0x24a),_0x1df7dc[_0x1df7dc[_0x283497(0x25e)]=0x1b5a]=_0x283497(0x25e),_0x1df7dc[_0x1df7dc['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x283497(0x2f6),_0x1df7dc[_0x1df7dc[_0x283497(0x1ec)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1df7dc[_0x1df7dc[_0x283497(0x181)]=0x1b5d]=_0x283497(0x181),_0x1df7dc[_0x1df7dc[_0x283497(0x22f)]=0x1f41]=_0x283497(0x22f),_0x1df7dc[_0x1df7dc[_0x283497(0x32e)]=0x2329]=_0x283497(0x32e),_0x1df7dc[_0x1df7dc[_0x283497(0x35b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1df7dc[_0x1df7dc[_0x283497(0x284)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1df7dc[_0x1df7dc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x283497(0x238),_0x1df7dc[_0x1df7dc[_0x283497(0x1c9)]=0x232d]=_0x283497(0x1c9),_0x1df7dc[_0x1df7dc[_0x283497(0x2fe)]=0x2711]=_0x283497(0x2fe),_0x1df7dc[_0x1df7dc['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1df7dc[_0x1df7dc['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1df7dc[_0x1df7dc[_0x283497(0x300)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1df7dc[_0x1df7dc[_0x283497(0x328)]=0x271a]=_0x283497(0x328),_0x1df7dc[_0x1df7dc[_0x283497(0x1bf)]=0x271b]=_0x283497(0x1bf),_0x1df7dc[_0x1df7dc['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1df7dc[_0x1df7dc['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1df7dc[_0x1df7dc[_0x283497(0x1d4)]=0x271e]=_0x283497(0x1d4),_0x1df7dc[_0x1df7dc[_0x283497(0x355)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1df7dc[_0x1df7dc[_0x283497(0x2c7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1df7dc[_0x1df7dc['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x283497(0x180),_0x1df7dc[_0x1df7dc[_0x283497(0x279)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1df7dc[_0x1df7dc[_0x283497(0x32b)]=0x2ee2]=_0x283497(0x32b),_0x1df7dc[_0x1df7dc[_0x283497(0x19d)]=0x2ee3]=_0x283497(0x19d),_0x1df7dc[_0x1df7dc[_0x283497(0x2ba)]=0x2ee4]=_0x283497(0x2ba),_0x1df7dc[_0x1df7dc['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x283497(0x2e2),_0x1df7dc[_0x1df7dc[_0x283497(0x1bd)]=0x32c9]=_0x283497(0x1bd),_0x1df7dc[_0x1df7dc['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x283497(0x1b0),_0x1df7dc[_0x1df7dc[_0x283497(0x298)]=0x32cb]=_0x283497(0x298),_0x1df7dc[_0x1df7dc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1df7dc))(Mt||{}),pn=Object[_0x283497(0x352)],Cn=(_0x24ca38,_0x39ded2,_0x3362c2,_0x57fd5b)=>{const _0x35f0a7=_0x283497;for(var _0x135309=_0x57fd5b>0x1?void 0x0:_0x57fd5b?pn(_0x39ded2,_0x3362c2):_0x39ded2,_0xbd8793=_0x24ca38[_0x35f0a7(0x2e1)]-0x1,_0x538174;_0xbd8793>=0x0;_0xbd8793--)(_0x538174=_0x24ca38[_0xbd8793])&&(_0x135309=_0x538174(_0x135309)||_0x135309);return _0x135309;},be=(_0x547f1f,_0x48b3a0)=>(_0xd8240d,_0x452907)=>_0x48b3a0(_0xd8240d,_0x452907,_0x547f1f);let rt=class extends _0x13e60a{constructor(_0x566000,_0x36ec3f,_0x2b99de){const _0x231d4a=_0x283497;super(),this[_0x231d4a(0x207)]=_0x566000,this[_0x231d4a(0x29b)]=_0x36ec3f,this['_configService']=_0x2b99de;}async[_0x283497(0x2ad)](_0x36cc68,_0x5098d2,_0x23bcdd,..._0x4533e0){const _0x184307=_0x283497;var _0x13ffbb,_0x384198,_0xe989c,_0x231fbe;const _0x587914=this['_instanceService'][_0x184307(0x28e)]();if(!_0x587914)throw new Error(_0x184307(0x2ef));const _0x711892=((_0x13ffbb=this['_configService'][_0x184307(0x185)](_0xd0ccc7))!=null?_0x13ffbb:_0x5ce496)+'/'+_0x36cc68+_0x184307(0x34b)+_0x5098d2,_0x578ff2=new URL(window['location'][_0x184307(0x1e4)]),_0x1a1f39={'scriptId':_0x36cc68,'runId':(_0x384198=_0x578ff2[_0x184307(0x222)]['get']('runId'))!=null?_0x384198:'','function':_0x5098d2,'unitId':_0x587914[_0x184307(0x292)](),'argsOfFunction':JSON[_0x184307(0x1c2)](_0x4533e0),'invokeId':(_0xe989c=_0x23bcdd[_0x184307(0x229)])!=null?_0xe989c:'','executionId':(_0x231fbe=_0x23bcdd[_0x184307(0x2db)])!=null?_0x231fbe:''};try{const _0x4e0e92=await this['_httpService'][_0x184307(0x184)](_0x711892,{'body':_0x1a1f39});return _0x4e0e92[_0x184307(0x250)][_0x184307(0x1fd)]&&_0x4e0e92[_0x184307(0x250)][_0x184307(0x1fd)][_0x184307(0x2f7)]!==Mt['OK']?_0x184307(0x21e):_0x4e0e92[_0x184307(0x250)][_0x184307(0x36a)];}catch{return _0x184307(0x21e);}}};function _0x5e04(){const _0x91f5b0=['push','dispose','redoState','defs','_scheduleClearOtherTimer','ACTIVE_UNIT_EVENT_CHANNEL','WECHAT_HAS_BEEN_BOUND','_docClipboardService','YUUMI_ASYNCIO_CANCELLED','_uiPartsService','_send','stringify','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','symbol','hovered','defineProperty','MUTATION','UNAUTHENTICATED','LICENSE_DISTRO_REJECTED','includes','transformRemoteChangeset','_transformPreviousActiveRange','ranges','path','selections','_transformHistoryAndStateStack','focused$','setAlpha','_notificationService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_collabCursorState$','_anchorDot','0\x200\x2016\x2016','_getSaveTimeout','sessionStatus$','_handleJoinEvent','_collabCursorController','UNIVER_DOC','roomMembers$','getCurrentUnitForType','_draw','hasOwnProperty','onLocalMutation','_cursor','_urlService','href','toRgbString','_toggleOnline','USERS_LEAVE','_clearOtherTimers','debug','call','_drawTextRange','APPLY_PERMISSION_DENIED','wsSessionTicketUrl','COMPLETION_FINISHED','_textBubble','loadUnit','_removeCollabCursors','_getSessionTicket','onMouseMove','string','subscribeEvent','idSuffix','colorChannel1','registerBeforeClose','disposeWithMe','_collaborationController','_initStatusListener','status$','error','save','addObjects','propertyIsEnumerable','get','makeDirty','_status$','_assignedColors','setShapeProps','width','_instanceService','use','getActiveSheet','pluginName','lineTo','_unitStatus','whenReady','getItem','_updateCollabCursors','7afvGtP','NOT_COLLAB','_docSkeletonManagerService','_labelPosition','MOBILE_VERIFY_CODE_MISMATCH','saveOfflineData','max','CHANGESET_REVISION_CONFILICT','with','_setupSubUnitSync','_renderManagerService','row','round','_unitOnClients','Failed','requireSession','_entities','addEventListener','searchParams','univer-flex\x20univer-items-center','_docStateChangeManagerService','_getAnchorBounding','transformStateCache','_refRangeService','attrs','invokeId','14098232FezTQu','registerRefRange','AWAITING','getCurrent','exhaustSavingTask','CONNECTOR_DATA_TOO_LARGE','extend','Warning','unit','font','m1Prime','getSkeleton','_localStorageService','getUndoRedoMutationParamsCache','LICENSE_EXPORT_SIZE_EXCEEDED','eventID','_messageService','SNAPSHOT_INVALID_SNAPSHOT','findNodePositionByCharIndex','mutations','_collaborationUIEventService','_onRefRangeChange','_initDependencies','getMemberID','div','collaboration.closeRoom','getValue','history','_cursors','_handleHeartbeatEvent','_beforeCloseService','_document','APPLY_REJECT','_colorIndex','_imageIoService','addObject','clearTimeout','_dataLoaderService','body','forEach','JOIN_ROOM_FAILED','collaboration.single-unit.warning','_transformUndoRedoStack','1em','roomMembers','_updateURLWithCurrentState','_docSyncEditingCollabCursorService','SNAPSHOT_HAS_BEEN_REMOVED','FromArray','_colorAssignService','_logService','isArray','APPLY_NON_SEQUENTIAL_REVISION','_createSocketURL','getUnitStatus$','_commandService','collabStatus.conflict','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformIMECache','setItem','_initStatusComponent','_getSheetObject','m2Prime','className','rgba(255,\x20255,\x20255,\x200.01)','registerRenderModule','_localCacheService','getOwnPropertySymbols','getMember','onPointerLeave$','OffLineIcon','_name','isActive','_transformService','fill','OFFLINE','collab-rect-range-','PERMISSION_DENIED','_registerDependencies','INVITE_CODE_HAS_BEEN_UES','_collabSessionService','_onCursorDelete','unload','session.will-retry','type','has','collabStatus.synced','_hovered','arc','setUndoRedoMutationParamsCache','LICENSE_IMPORT_SIZE_EXCEEDED','CLOSE_ROOM','Unknown\x20user','trim','defIds','InsertRowCommandId','_drawRectRange','top','replaceDocRanges','assignAColorForMemberID','getFocusedUnit','univer-mr-2\x20univer-flex\x20univer-text-xl','_eventUnsubscribe','selection','getUnitId','_docSkeleton','editingUnit','transformSelections','_heartbeatTimer','executeCommand','EMAIL_HAS_BEEN_BOUND','evenodd','children','_httpService','mask','toString','getRelativeToViewportCoord','subscribe','_memberService','location','jiqing.500','_scene','assign','EMAIL_VERIFY_CODE_MISMATCH','map','1737304kwhiYa','key','syncEditingCollabCursor','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','onPointerEnter$','black','runOnServer','RemoveRowCommandId','_lastPointer','startRow','transformMutationsWithChangeset','INTERNAL_ERROR','set','_initResize','cursorInfo','send','_id','imageSourceType','_removeClearOtherTimer','USER_NOT_INVITED_CODE','INVALID_ARGUMENT','_scheduleSaving','_sheetSkeletonManagerService','getDocRanges','OTHER_CLIENTS_EDITING','_toggleOffline','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_setupBeforeClosingHandler','getMergeData','_ensureSubject','getSheetBySheetId','_color','YUUMI_CONNECTOR_URL_NOT_FOUND','urlChange$','getTypeOfUnitAdded$','getCurrentRevOfUnit','column','getParam','url(#on-line-icon_clip0_910_349)','getRangePointData','flatMap','_updateLocalCursor','getCellPositionByOffset','generateRandomId','_anchor','collabStatus.notCollab','measureText','_cursorInfo$','unitID','endColumn','transformMutation','_onCursorUpdate','executionId','getCollabEntity$','onPointerMove$','newValue','LOGIN_FAILED','_cachedData','length','INVITE_CODE_ALREADY_BOUND','event$','_session','UniverIcon','tag','cursorInfo$','none','purple.300','_getScale','_docTransformSelectionsService','size','_initEvent','name','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_docTransformIMECacheService','VIEW_MAIN','indexOf','resize','currentSkeleton$','_hover','APPLY_REVISION_CONFILICT','code','_configService','collabStatus.syncing','closePath','uni.network.url-service','enableLocalCache','xlink:href','YUUMI_UNABLE_LOAD_URL','storage','YUUMI_SUBSCRIPTION_NOT_FOUND','collabCursorState$','_getMergeRange','_shapes','...','min','off-line-icon','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','on-line-icon','blue.400','setParam','TOO_MANY_REQUESTS','getStateCache','setStateCache','_disabled','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','disableLocalCache','_updateSubUnitFromURLParams','fillStyle','add','_context','function','url(#$1','UNIVER_SHEET','SOCKET_FAILED_RETRY','labelPosition','_saveCache','HEADER_MENU','off-line-icon_clip0_910_343','OTHER_CLIENT_EDITING','5JpBhyu','MoveRangeCommandId','endRow','data','SUBMIT_CHANGESET_TIMEOUT','values','getSheetId','82800pKTEnj','getActiveRange','_scheduleHeartbeat','YUUMI_NO_CUBOID_FOR_QUESTION','_render','ONLINE','INVALID_INVITE_CODE','next','_initCommandExecutedListener','LICENSE_MAX_UNITS_EXCEEDED','pushState','transform','session.connection-failed','NOT_FOUND','replaceState','asObservable','moveTo','_injector','_cursorShapes','SYNCED','ticket','_range','getCurrentSelections','session.collaboration-timeout','addClipboardHook','collaboration-client-ui.config','undoState','prototype','24560901RFshvY','M0\x200H16V16H0z','skeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','saveTaskMap','fillText','hide','url(#off-line-icon_clip0_910_343)','docStateChange$','_config','/run/','_handleHover','2757148myaxAb','_startSheetCollabCursor','getTypeOfUnitDisposed$','collabStatus.offline','restore','getOwnPropertyDescriptor','on-line-icon_clip0_910_349','_entityInit$','YUUMI_AI_RUN_FAILED','deepClone','saveImage','UNDEFINED','textRanges','collab-text-anchor-','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_refreshCollabCursors','text','_backgroundColor','show','unitId','_hideTimer','triggerDblclick','from','backgroundColor','doc.mutation.rich-text-editing','beginPath','white','updateOfflineData','_saveTaskMap','result','entries','translate(.97)','getOffsetConfig','clipPath','dispose$','getAncestorScale','addHandlerCallback','_syncEditingCollabCursorService','permission.content','then','setInterval','http://www.w3.org/2000/svg','_init','getVpScrollXYInfoByPosToVp','green.600','some','red.300','SOCKET_FAILED','init','_handleLeaveEvent','1332288AKUBkq','range','delete','params','subUnitId','collabStatus.fetchMiss','RECT','displayName','_univerInstanceService','PY_RUNTIME_SCRIPT_ERROR','APPLY_DUPLICATED','bottom','drawWith','post','getConfig','clearInterval','_selfUnitIDs','removeParam','setTimeout','unshift','_revisionService','getCollabCursors$','createInstance','_localeService','random','currentTheme$','AWAITING_WITH_PENDING','_online','registerComponent','subunit','color','getUniverSheetInstance','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','Error','_themeService','ENSURE_SNAPSHOT_EXECUTION','onCommandExecuted','_startDocCollabCursor','INVITE_CODE_REQUIRED','isEditing','complete','getRenderById','sessionTicket','ALREADY_EXISTS','UPDATE_CURSOR','concat','collaboration-client.offline-data-not-saved','runId','height','currentColor','_registerRenderDependencies','collab-client.tooltip.reconnect','#FFF','engine','svg','setConfig','_roomMembers$','MOBILE_HAS_BEEN_BOUND','2296878KZYzZV','pipe','sheetID','univerjs-icon\x20univerjs-icon-','apply','startColumn'];_0x5e04=function(){return _0x91f5b0;};return _0x5e04();}rt=Cn([be(0x0,_0x2638a7),be(0x1,_0x336052(_0x554eaf)),be(0x2,_0x31488f)],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 _0xf42a26=_0x4fb2;(function(_0x4b1217,_0x349b59){const _0x1dcb0a=_0x4fb2,_0x310c44=_0x4b1217();while(!![]){try{const _0x5351a1=parseInt(_0x1dcb0a(0x182))/0x1+-parseInt(_0x1dcb0a(0x168))/0x2+parseInt(_0x1dcb0a(0x241))/0x3+-parseInt(_0x1dcb0a(0x12d))/0x4+-parseInt(_0x1dcb0a(0x16f))/0x5+-parseInt(_0x1dcb0a(0x25b))/0x6+-parseInt(_0x1dcb0a(0x296))/0x7*(-parseInt(_0x1dcb0a(0x1ae))/0x8);if(_0x5351a1===_0x349b59)break;else _0x310c44['push'](_0x310c44['shift']());}catch(_0x31ef4a){_0x310c44['push'](_0x310c44['shift']());}}}(_0x3abf,0x6ad9f));var $t=Object[_0xf42a26(0x187)],xt=(_0xef92c8,_0x4d9638,_0x1ab3c5)=>_0x4d9638 in _0xef92c8?$t(_0xef92c8,_0x4d9638,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ab3c5}):_0xef92c8[_0x4d9638]=_0x1ab3c5,_=(_0xde9ad1,_0x2169e2,_0x4435d5)=>xt(_0xde9ad1,typeof _0x2169e2!='symbol'?_0x2169e2+'':_0x2169e2,_0x4435d5);import{MemberService as _0x21643a,SessionStatus as _0x37a431,CollaborationSessionService as _0x185917,CollaborationStatus as _0x128ff3,CollaborationController as _0x1b39da,ILocalCacheService as _0x30966a,CollaborationUIEventService as _0x48bf70,CollaborationUIEventId as _0xfb429d,DataLoaderService as _0x47d780,DocCollaborationEntity as _0xdcbea,getLocalCacheKey as _0x1d74fa,LOCAL_CACHE_INTERVAL as _0x42bc6d,LOCAL_CACHE_INTERVAL_KEY as _0x9ca664,UniverCollaborationClientPlugin as _0x11cf84,CollaborationSocketService as _0x1ad7a7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2a5fcd,DEFAULT_WS_SESSION_TICKET_URL as _0x54705a,UnitStatus as _0x494160,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2af0c4,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3157b6}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x14f0e9,Disposable as _0x382bf8,DOC_RANGE_TYPE as _0x2d8b1b,Inject as _0x29894a,Injector as _0x50c06f,IUniverInstanceService as _0x26c0aa,ICommandService as _0x2320d3,debounce as _0x4729f8,Rectangle as _0x216ef3,DisposableCollection as _0x58b937,toDisposable as _0x56fd5a,UniverInstanceType as _0x102ac0,Tools as _0x51f6f1,COLORS as _0x277a32,ColorKit as _0x1240e9,ThemeService as _0x35497a,fromEventSubject as _0x1b2c45,LocaleService as _0x5e2123,createIdentifier as _0x103abb,ILogService as _0xe3c8a,Optional as _0x19d3e8,Workbook as _0x7953d3,CommandType as _0x5a1981,IConfigService as _0xf5f608,ILocalStorageService as _0x29bdc4,DependentOn as _0xa2f535,Plugin as _0x5c0e7c,merge as _0x87ab8b,registerDependencies as _0x10a64f,mergeOverrideWithDependencies as _0x1e3fe7,touchDependencies as _0x22584b,generateRandomId as _0x3d8d95}from'@univerjs/core';import{Shape as _0x1bb8d9,Rect as _0x99e1c8,getColor as _0x2e8c05,RegularPolygon as _0x7bab94,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x43bdc5,Vector2 as _0x542be7,SHEET_VIEWPORT_KEY as _0x691c2a,IRenderManagerService as _0x1283ce}from'@univerjs/engine-render';function _0x4fb2(_0x5c8dc4,_0x2d56c3){const _0x3abf83=_0x3abf();return _0x4fb2=function(_0x4fb23b,_0xe2d8ec){_0x4fb23b=_0x4fb23b-0xdd;let _0x44c1a6=_0x3abf83[_0x4fb23b];return _0x44c1a6;},_0x4fb2(_0x5c8dc4,_0x2d56c3);}import{ISocketService as _0x443e5f,WebSocketService as _0x5088fa,HTTPService as _0x56c2d5}from'@univerjs/network';import{IDocClipboardService as _0x49751a,NodePositionConvertToCursor as _0x1945f6,NodePositionConvertToRectRange as _0x4c56d3,TEXT_RANGE_LAYER_INDEX as _0x46c059,SetDocZoomRatioOperation as _0x5129e9,DocIMEInputManagerService as _0x258c9c,DocStateChangeManagerService as _0x37cc6d}from'@univerjs/docs-ui';import{IImageIoService as _0x4001a2}from'@univerjs/drawing';import{BehaviorSubject as _0x535baf,debounceTime as _0x4e2a4b,takeUntil as _0x1101d1,Subject as _0x3db6e0,filter as _0x2d2f2f,switchMap as _0x188327,merge as _0x15e802,combineLatest as _0xe7a4f6,of as _0x3a77a9,fromEvent as _0x33c672,shareReplay as _0x2fab77,mapTo as _0x2a2d8e,distinctUntilChanged as _0x1842b9}from'rxjs';import{ITransformService as _0x167c0a,CollaborationEvent as _0x9f054f,isTransformMutationFailure as _0x5ec000,isTransformMutationsWithChangesetSuccess as _0x3b04b2,RevisionService as _0x518622,ISnapshotServerService as _0x182cc5}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x500fdf,RichTextEditingMutation as _0x879bad,DocSelectionManagerService as _0x5e82eb,DocSkeletonManagerService as _0x213ad8}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2d92c5,serializeRangeWithSheet as _0x138811}from'@univerjs/engine-formula';import{RefRangeService as _0x41fcb0,SetSelectionsOperation as _0x337bd2,SheetsSelectionsService as _0x27dc79,EffectRefRangId as _0x553147,handleIRemoveRow as _0x5ef8c4,handleIRemoveCol as _0x57f1a0,handleMoveRange as _0x189f05,handleInsertRow as _0x8c968e,handleInsertRangeMoveRight as _0x3c9087,handleInsertRangeMoveDown as _0x2a24e3,handleInsertCol as _0x4419e9,handleDeleteRangeMoveUp as _0x10fb70,handleDeleteRangeMoveLeft as _0x1675e5,runRefRangeMutations as _0x4b5130,SetWorksheetActivateCommand as _0x12eabb}from'@univerjs/sheets';import{map as _0x53609f,filter as _0x350650,throttleTime as _0x1493bb,takeUntil as _0xcd166b,switchMap as _0xcd7cbc}from'rxjs/operators';import{SheetSkeletonManagerService as _0xddd58f,getCoordByCell as _0x4684b7,getSheetObject as _0x4d4d0a}from'@univerjs/sheets-ui';import{jsx as _0x250ed4,jsxs as _0x290399}from'react/jsx-runtime';import{useObservable as _0x34e523,useDependency as _0x1b4157,IUIPartsService as _0x3b847f,BuiltInUIPart as _0x5f3ae7,connectInjector as _0x2c9e44,IBeforeCloseService as _0x1f171c,IMessageService as _0x29ae03,INotificationService as _0x3f120a}from'@univerjs/ui';import{Tooltip as _0x457153,clsx as _0x259845,MessageType as _0x132b2f}from'@univerjs/design';import{forwardRef as _0x1f8b6f,useRef as _0x431501,createElement as _0x39f8fc,useCallback as _0x3cda26}from'react';import{IRemoteInstanceService as _0x48e1a4}from'@univerjs/rpc';var ci=Object[_0xf42a26(0x12c)],li=(_0x50eebb,_0x53243d,_0x3a41cf,_0x23a4d5)=>{const _0x17e56f=_0xf42a26;for(var _0x3db502=_0x23a4d5>0x1?void 0x0:_0x23a4d5?ci(_0x53243d,_0x3a41cf):_0x53243d,_0x4ee035=_0x50eebb[_0x17e56f(0x1db)]-0x1,_0x26cbec;_0x4ee035>=0x0;_0x4ee035--)(_0x26cbec=_0x50eebb[_0x4ee035])&&(_0x3db502=_0x26cbec(_0x3db502)||_0x3db502);return _0x3db502;},Je=(_0x5b83e6,_0x433945)=>(_0x44bf27,_0x54bf15)=>_0x433945(_0x44bf27,_0x54bf15,_0x5b83e6);let Ne=class extends _0x14f0e9{constructor(_0x587ee0,_0x5a03ec){const _0x32d2fe=_0xf42a26;super(),this[_0x32d2fe(0x224)]=_0x587ee0,this[_0x32d2fe(0x1e8)]=_0x5a03ec,this[_0x32d2fe(0x12b)]();}[_0xf42a26(0x12b)](){const _0x419b1a=_0xf42a26,_0x38b39f=this;this[_0x419b1a(0x136)](this['_docClipboardService'][_0x419b1a(0x17f)]({'onBeforePasteImage':async _0x39a4da=>{const _0x5c28d8=_0x419b1a,_0x425428=await _0x38b39f[_0x5c28d8(0x1e8)][_0x5c28d8(0x198)](_0x39a4da);return _0x425428?{'source':_0x425428[_0x5c28d8(0x111)],'imageSourceType':_0x425428[_0x5c28d8(0x231)]}:null;}}));}};Ne=li([Je(0x0,_0x49751a),Je(0x1,_0x4001a2)],Ne);const Ze=['purple.300',_0xf42a26(0x225),_0xf42a26(0xde),_0xf42a26(0x233),_0xf42a26(0x23c),_0xf42a26(0x281)];class ke extends _0x382bf8{constructor(){const _0x3ba36a=_0xf42a26;super(...arguments),_(this,_0x3ba36a(0x1e7),new Map()),_(this,_0x3ba36a(0x1d1),0x0);}['assignAColorForMemberID'](_0x12fa98){const _0x459bf2=_0xf42a26;if(this[_0x459bf2(0x1e7)][_0x459bf2(0x18f)](_0x12fa98))return this['_assignedColors']['get'](_0x12fa98);const _0x212f8e=Ze[this[_0x459bf2(0x1d1)]];return this[_0x459bf2(0x1d1)]=(this['_colorIndex']+0x1)%Ze[_0x459bf2(0x1db)],this[_0x459bf2(0x1e7)][_0x459bf2(0x2b4)](_0x12fa98,_0x212f8e),_0x212f8e;}}function Tt(_0x4d0718){let _0x256ffa='';for(const _0x340079 of _0x4d0718){const {startOffset:_0x5767f4,endOffset:_0x1aaf56,isActive:_0x457a7f,rangeType:_0x2f637e,segmentId:_0x1f9d4b,segmentPage:_0x2e9dfc}=_0x340079;_0x256ffa['length']&&(_0x256ffa+=','),_0x256ffa+=_0x5767f4+':'+_0x1aaf56+':'+(_0x457a7f?'1':'0')+':'+_0x2f637e+':'+_0x1f9d4b+':'+_0x2e9dfc;}return _0x256ffa;}function _i(_0x5b9a91){const _0x1bbe69=_0xf42a26,_0x432274=_0x5b9a91[_0x1bbe69(0x1bc)](','),_0x5df32a=[];for(const _0x3ceccb of _0x432274){const [_0x2ea7f2,_0xaff6e1,_0x396da8,_0x369033,_0x1f9284,_0xdd2add]=_0x3ceccb['split'](':');_0x5df32a[_0x1bbe69(0x122)]({'startOffset':Number(_0x2ea7f2),'endOffset':Number(_0xaff6e1),'collapsed':_0x2ea7f2===_0xaff6e1,'isActive':_0x396da8==='1','rangeType':_0x369033===_0x2d8b1b['TEXT']?_0x2d8b1b[_0x1bbe69(0x19a)]:_0x2d8b1b[_0x1bbe69(0x163)],'segmentId':typeof _0x1f9284=='string'?String(_0x1f9284):'','segmentPage':Number(_0xdd2add!=null?_0xdd2add:-0x1)});}return _0x5df32a['some'](_0x4964e7=>_0x4964e7[_0x1bbe69(0x180)])||(_0x5df32a[0x0][_0x1bbe69(0x180)]=!0x0),_0x5df32a;}class He extends _0x14f0e9{constructor(){const _0xfe41bc=_0xf42a26;super(...arguments),_(this,_0xfe41bc(0x1b5),new _0x535baf(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0xfe41bc(0x1c5)]());}[_0xf42a26(0x2c6)](_0x45f9a1){const {unitID:_0x5b185c,memberID:_0x11d6dd,textRanges:_0xf1a7ee}=_0x45f9a1,_0x2c411d=Tt(_0xf1a7ee);if(_0x2c411d==='')return;const _0x1645de={'unitID':_0x5b185c,'memberID':_0x11d6dd,'selection':_0x2c411d};this['_collabCursorState$']['next'](_0x1645de);}}var hi=Object[_0xf42a26(0x12c)],ui=(_0x49ff58,_0x5ba376,_0x3d3865,_0xa47102)=>{const _0x43a82d=_0xf42a26;for(var _0x26827c=_0xa47102>0x1?void 0x0:_0xa47102?hi(_0x5ba376,_0x3d3865):_0x5ba376,_0x38ce24=_0x49ff58[_0x43a82d(0x1db)]-0x1,_0x302746;_0x38ce24>=0x0;_0x38ce24--)(_0x302746=_0x49ff58[_0x38ce24])&&(_0x26827c=_0x302746(_0x26827c)||_0x26827c);return _0x26827c;},P=(_0x5c4aac,_0x348190)=>(_0x1ffecb,_0x3947cf)=>_0x348190(_0x1ffecb,_0x3947cf,_0x5c4aac);const di=0x12c,fi=0x64;let Ue=class extends _0x14f0e9{constructor(_0x171c2d,_0x56a3ba,_0x320863,_0x47b6a1,_0x3e0667,_0x2229da,_0x1364a9,_0x562733,_0x229f2d){const _0x5e0bb9=_0xf42a26;super(),_(this,'_online',!0x1),_(this,_0x5e0bb9(0x12b),!0x1),_(this,_0x5e0bb9(0x11b),new _0x535baf(new Map())),_(this,_0x5e0bb9(0x1c3),this[_0x5e0bb9(0x11b)][_0x5e0bb9(0x1c5)]()),_(this,_0x5e0bb9(0x12f),new _0x535baf([])),_(this,_0x5e0bb9(0x192),this['_roomMembers$'][_0x5e0bb9(0xe3)](_0x4e2a4b(di))),_(this,_0x5e0bb9(0x18d),_0x4729f8(_0x534591=>{const _0x55fea8=_0x5e0bb9,_0x18998c={'eventID':_0x9f054f[_0x55fea8(0x1ed)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x55fea8(0x294)](),'selection':Tt(_0x534591)}};this[_0x55fea8(0x21b)]['send'](_0x18998c,this[_0x55fea8(0x1a7)]);},fi)),(this[_0x5e0bb9(0x1a7)]=_0x171c2d,this[_0x5e0bb9(0x21b)]=_0x56a3ba,this[_0x5e0bb9(0x2a5)]=_0x320863,this[_0x5e0bb9(0x272)]=_0x47b6a1,this[_0x5e0bb9(0x1f1)]=_0x3e0667,this['_syncEditingCollabCursorService']=_0x2229da,this[_0x5e0bb9(0x1c8)]=_0x1364a9,this['_univerInstanceService']=_0x562733,this['_commandService']=_0x229f2d);}get[_0xf42a26(0x16c)](){const _0x49ea48=_0xf42a26;return this[_0x49ea48(0x11b)][_0x49ea48(0xdd)]();}get[_0xf42a26(0xf1)](){const _0x350fbd=_0xf42a26;return this[_0x350fbd(0x12f)]['getValue']();}['dispose'](){const _0x105337=_0xf42a26;super[_0x105337(0x229)](),this[_0x105337(0x11b)][_0x105337(0x282)](new Map()),this[_0x105337(0x11b)][_0x105337(0x22b)](),this['_roomMembers$'][_0x105337(0x282)]([]),this['_roomMembers$'][_0x105337(0x22b)]();}['init'](){const _0x292a66=_0xf42a26;this[_0x292a66(0x12b)]||(this[_0x292a66(0x12b)]=!0x0,this[_0x292a66(0x21b)][_0x292a66(0x26a)][_0x292a66(0xe3)](_0x1101d1(this[_0x292a66(0x1f9)]))[_0x292a66(0x1d7)](_0x44cd79=>{const _0x38c15c=_0x292a66;_0x44cd79===_0x37a431['ONLINE']?this['_toggleOnline']():this[_0x38c15c(0x174)]();}),this[_0x292a66(0x21b)][_0x292a66(0x246)][_0x292a66(0xe3)](_0x1101d1(this[_0x292a66(0x1f9)]))['subscribe'](_0x9c9eeb=>{const _0x2c7acf=_0x292a66,_0x1d8217=_0x9c9eeb['eventID'];_0x1d8217===_0x9f054f[_0x2c7acf(0x1ed)]&&this[_0x2c7acf(0x1a4)](_0x9c9eeb),_0x1d8217===_0x9f054f[_0x2c7acf(0x138)]&&this[_0x2c7acf(0x205)](_0x9c9eeb);}),this[_0x292a66(0x136)](this[_0x292a66(0x1ad)][_0x292a66(0x116)](_0x10c5e4=>{const _0x458623=_0x292a66,_0x4cf763=_0x10c5e4[_0x458623(0x193)];_0x4cf763!=null&&this[_0x458623(0x132)]&&_0x10c5e4['id']===_0x500fdf['id']&&_0x4cf763[_0x458623(0x1fb)]===this[_0x458623(0x1a7)]&&_0x4cf763[_0x458623(0x13a)]===!0x1&&_0x4cf763['ranges'][_0x458623(0x1db)]>0x0&&this['_updateLocalCursor'](_0x4cf763[_0x458623(0x133)]);})),this['_syncEditingCollabCursorService'][_0x292a66(0x184)][_0x292a66(0xe3)](_0x1101d1(this[_0x292a66(0x1f9)]))[_0x292a66(0x1d7)](_0xea7468=>{const _0x43717b=_0x292a66;if((_0xea7468==null?void 0x0:_0xea7468[_0x43717b(0x1a7)])!==this['unitID'])return;const _0x66295={'eventID':_0x9f054f[_0x43717b(0x1ed)],'data':_0xea7468};this[_0x43717b(0x1a4)](_0x66295);}),this[_0x292a66(0x136)](this['_commandService'][_0x292a66(0x116)](_0x4ddc86=>{const _0x45d46a=_0x292a66;if(_0x4ddc86[_0x45d46a(0x193)]==null)return;const _0x382df8=_0x4ddc86[_0x45d46a(0x193)];if(_0x4ddc86['id']!==_0x879bad['id']||_0x382df8[_0x45d46a(0x1fb)]!==this[_0x45d46a(0x1a7)])return;const _0x514281={'id':_0x45d46a(0x26f),'params':_0x382df8},_0x29d573=this['cursorInfo'];for(const [_0x4c3b19,_0x148c98]of _0x29d573){const _0xd0b98e={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x45d46a(0x1a7)],'actions':null,'textRanges':_0x148c98[_0x45d46a(0x133)]}},_0x8c5bb0=this['_transformService'][_0x45d46a(0xe6)](_0x514281,_0xd0b98e,!0x1);if(_0x5ec000(_0x8c5bb0))throw _0x8c5bb0['error'];_0x29d573['set'](_0x4c3b19,{..._0x148c98,'ranges':_0x8c5bb0[_0x45d46a(0x28d)][_0x45d46a(0x193)][_0x45d46a(0x18e)]});}queueMicrotask(()=>{const _0x5648d9=_0x45d46a;this[_0x5648d9(0x11b)][_0x5648d9(0x282)](_0x29d573);});})));}[_0xf42a26(0x1a4)](_0x273daf){const _0x539b15=_0xf42a26;var _0x5786e8,_0x24220c;const {memberID:_0x23c451,selection:_0x36d500}=_0x273daf[_0x539b15(0x238)],_0x43d7d1=_i(_0x36d500),_0x2fb1a8=(_0x24220c=(_0x5786e8=this['_memberService'][_0x539b15(0x1e2)](this[_0x539b15(0x1a7)],_0x23c451))==null?void 0x0:_0x5786e8[_0x539b15(0x2a4)])!=null?_0x24220c:_0x539b15(0x2da),_0x25037c={'color':this[_0x539b15(0x272)][_0x539b15(0x2b2)](_0x23c451),'name':_0x2fb1a8,'ranges':_0x43d7d1},_0x258946=this[_0x539b15(0x16c)];_0x258946['set'](_0x23c451,_0x25037c),this[_0x539b15(0x11b)][_0x539b15(0x282)](_0x258946);}['_onCursorDelete'](_0x1a4d24){const _0x374845=_0xf42a26,{memberID:_0x1a5213}=_0x1a4d24[_0x374845(0x238)],_0x5ba262=this[_0x374845(0x16c)];_0x5ba262[_0x374845(0x273)](_0x1a5213),this[_0x374845(0x11b)][_0x374845(0x282)](_0x5ba262);}[_0xf42a26(0xfd)](){const _0x32bcc7=_0xf42a26;var _0x585728;if(this[_0x32bcc7(0x132)]=!0x0,((_0x585728=this[_0x32bcc7(0x188)][_0x32bcc7(0x1b7)]())==null?void 0x0:_0x585728['getUnitId']())!==this[_0x32bcc7(0x1a7)])return;const _0x2da3fb=this[_0x32bcc7(0x2a5)]['get'](_0x5e82eb)[_0x32bcc7(0x113)]();Array['isArray'](_0x2da3fb)&&_0x2da3fb['length']>0x0&&this[_0x32bcc7(0x18d)](_0x2da3fb);}['_toggleOffline'](){const _0x3771ed=_0xf42a26;this[_0x3771ed(0x132)]=!0x1;}};Ue=ui([P(0x2,_0x29894a(_0x50c06f)),P(0x3,_0x29894a(ke)),P(0x4,_0x29894a(_0x21643a)),P(0x5,_0x29894a(He)),P(0x6,_0x167c0a),P(0x7,_0x26c0aa),P(0x8,_0x2320d3)],Ue);var Si=Object[_0xf42a26(0x12c)],mi=(_0x38671d,_0x486ccd,_0x5d71a1,_0x39488c)=>{const _0x5251fa=_0xf42a26;for(var _0x48a994=_0x39488c>0x1?void 0x0:_0x39488c?Si(_0x486ccd,_0x5d71a1):_0x486ccd,_0x1f0fb7=_0x38671d[_0x5251fa(0x1db)]-0x1,_0x28bf01;_0x1f0fb7>=0x0;_0x1f0fb7--)(_0x28bf01=_0x38671d[_0x1f0fb7])&&(_0x48a994=_0x28bf01(_0x48a994)||_0x48a994);return _0x48a994;},x=(_0x529517,_0x4e0d28)=>(_0x1b65f1,_0x4fa52f)=>_0x4e0d28(_0x1b65f1,_0x4fa52f,_0x529517);const Ii=0x12c,gi=0x64,vi=()=>{let _0x41cd17=[],_0x4391ab=!0x1;return _0x1129f4=>{const _0x2c6cc7=_0x4fb2;_0x41cd17[_0x2c6cc7(0x122)](_0x1129f4),_0x4391ab||(_0x4391ab=!0x0,setTimeout(()=>{const _0xa0fd0a=_0x2c6cc7;_0x41cd17[_0xa0fd0a(0x140)](_0x4bca8d=>_0x4bca8d()),_0x41cd17=[],_0x4391ab=!0x1;}));};};let Me=class extends _0x14f0e9{constructor(_0x57bf5f,_0x1d47ce,_0x3ff8bb,_0xb8abd6,_0x1970c7,_0x58fc43,_0xabfdd4,_0x21bf32){const _0x1cf935=_0xf42a26;super(),_(this,_0x1cf935(0x132),!0x1),_(this,'_init',!0x1),_(this,_0x1cf935(0x11b),new _0x535baf(new Map())),_(this,_0x1cf935(0x1c3),this[_0x1cf935(0x11b)][_0x1cf935(0x1c5)]()),_(this,_0x1cf935(0x12f),new _0x535baf([])),_(this,_0x1cf935(0x192),this[_0x1cf935(0x12f)][_0x1cf935(0xe3)](_0x4e2a4b(Ii))),_(this,_0x1cf935(0x18d),_0x4729f8((_0x41c203,_0xf568f)=>{const _0x3e7ead=_0x1cf935,_0x50d394={'eventID':_0x9f054f[_0x3e7ead(0x1ed)],'data':{'unitID':this[_0x3e7ead(0x1a7)],'memberID':this[_0x3e7ead(0x21b)]['getMemberID'](),'selection':_0x138811(_0x41c203,_0xf568f[_0x3e7ead(0x23d)])}};this[_0x3e7ead(0x21b)][_0x3e7ead(0x2a7)](_0x50d394,this['unitID']);},gi)),(this[_0x1cf935(0x1a7)]=_0x57bf5f,this[_0x1cf935(0x21b)]=_0x1d47ce,this[_0x1cf935(0x2a5)]=_0x3ff8bb,this[_0x1cf935(0x272)]=_0xb8abd6,this[_0x1cf935(0x1f1)]=_0x1970c7,this[_0x1cf935(0x188)]=_0x58fc43,this[_0x1cf935(0x1ad)]=_0xabfdd4,this[_0x1cf935(0x259)]=_0x21bf32);}get[_0xf42a26(0x16c)](){const _0x571ab8=_0xf42a26;return this[_0x571ab8(0x11b)][_0x571ab8(0xdd)]();}get[_0xf42a26(0xf1)](){const _0x14162e=_0xf42a26;return this['_roomMembers$'][_0x14162e(0xdd)]();}[_0xf42a26(0x229)](){const _0x1f2b4c=_0xf42a26;super['dispose'](),this[_0x1f2b4c(0x11b)][_0x1f2b4c(0x282)](new Map()),this[_0x1f2b4c(0x11b)]['complete'](),this[_0x1f2b4c(0x12f)]['next']([]),this[_0x1f2b4c(0x12f)][_0x1f2b4c(0x22b)]();}['init'](){const _0x3d69dc=_0xf42a26;this[_0x3d69dc(0x12b)]||(this['_init']=!0x0,this[_0x3d69dc(0x21b)]['sessionStatus$'][_0x3d69dc(0xe3)](_0x1101d1(this[_0x3d69dc(0x1f9)]))['subscribe'](_0x3178c1=>{const _0x1a0ad3=_0x3d69dc;_0x3178c1===_0x37a431[_0x1a0ad3(0x2c9)]?this[_0x1a0ad3(0xfd)]():this['_toggleOffline']();}),this[_0x3d69dc(0x21b)]['event$'][_0x3d69dc(0xe3)](_0x1101d1(this[_0x3d69dc(0x1f9)]))[_0x3d69dc(0x1d7)](_0x38175f=>{const _0x462939=_0x3d69dc,_0x25a539=_0x38175f[_0x462939(0x1ca)];_0x25a539===_0x9f054f['UPDATE_CURSOR']&&this[_0x462939(0x1a4)](_0x38175f),_0x25a539===_0x9f054f[_0x462939(0x138)]&&this[_0x462939(0x205)](_0x38175f);}),this[_0x3d69dc(0x2c0)](),this[_0x3d69dc(0x136)](this[_0x3d69dc(0x1ad)]['onCommandExecuted'](_0x32ee9e=>{const _0x10b00c=_0x3d69dc;if(this[_0x10b00c(0x132)]&&_0x32ee9e['id']===_0x337bd2['id']&&_0x32ee9e[_0x10b00c(0x193)][_0x10b00c(0x1fb)]===this[_0x10b00c(0x1a7)]){const _0x2458c6=_0x32ee9e['params'];this[_0x10b00c(0x18d)](_0x2458c6[_0x10b00c(0x21a)],_0x2458c6['selections'][0x0]);}})));}['_onCursorUpdate'](_0x133099){const _0x1bf11b=_0xf42a26;var _0x327ea5,_0x5513ce;const {memberID:_0x497ea5,selection:_0x45f2da}=_0x133099[_0x1bf11b(0x238)],{sheetName:_0x28acab,range:_0xaeeea3}=_0x2d92c5(_0x45f2da),_0x396a69={'name':(_0x5513ce=(_0x327ea5=this['_memberService'][_0x1bf11b(0x1e2)](this[_0x1bf11b(0x1a7)],_0x497ea5))==null?void 0x0:_0x327ea5[_0x1bf11b(0x2a4)])!=null?_0x5513ce:_0x1bf11b(0x2da),'range':this[_0x1bf11b(0x1eb)](_0x28acab,_0xaeeea3),'sheetID':_0x28acab,'color':this[_0x1bf11b(0x272)][_0x1bf11b(0x2b2)](_0x497ea5),'selection':_0x45f2da},_0x130325=this['cursorInfo'];_0x130325[_0x1bf11b(0x2b4)](_0x497ea5,_0x396a69),this[_0x1bf11b(0x11b)][_0x1bf11b(0x282)](_0x130325);}[_0xf42a26(0x205)](_0x2448de){const _0x1dcf72=_0xf42a26,{memberID:_0x326a72}=_0x2448de[_0x1dcf72(0x238)],_0x12716a=this[_0x1dcf72(0x16c)];_0x12716a[_0x1dcf72(0x273)](_0x326a72),this['_cursorInfo$']['next'](_0x12716a);}[_0xf42a26(0x1eb)](_0x45838c,_0x489e0c){const _0x3e7876=_0xf42a26;var _0x12cff3,_0xae42c4;const _0x4ec1ca=(_0xae42c4=(_0x12cff3=this[_0x3e7876(0x188)][_0x3e7876(0x1e0)](this[_0x3e7876(0x1a7)]))==null?void 0x0:_0x12cff3[_0x3e7876(0x166)](_0x45838c))==null?void 0x0:_0xae42c4['getMergeData']();return(_0x4ec1ca==null?void 0x0:_0x4ec1ca[_0x3e7876(0x185)](_0x5b1ac4=>_0x216ef3[_0x3e7876(0x147)](_0x5b1ac4,_0x489e0c)))||_0x489e0c;}['_onRefRangeChange'](){const _0x2568e1=_0xf42a26,_0x52aff7=new _0x58b937(),_0x37471e=vi(),_0x5baba8=()=>{const _0x292d62=_0x4fb2;_0x52aff7[_0x292d62(0x229)]();const _0x3d66ea=(_0x4c6997,_0x170c67,_0x503d40,_0x39f876)=>{const _0x2aafcb=_0x292d62;let _0x59785a=[];switch(_0x4c6997['id']){case _0x553147['DeleteRangeMoveLeftCommandId']:{_0x59785a=_0x1675e5(_0x4c6997,_0x39f876);break;}case _0x553147[_0x2aafcb(0x213)]:{_0x59785a=_0x10fb70(_0x4c6997,_0x39f876);break;}case _0x553147[_0x2aafcb(0x2be)]:{_0x59785a=_0x4419e9(_0x4c6997,_0x39f876);break;}case _0x553147[_0x2aafcb(0x115)]:{_0x59785a=_0x2a24e3(_0x4c6997,_0x39f876);break;}case _0x553147['InsertRangeMoveRightCommandId']:{_0x59785a=_0x3c9087(_0x4c6997,_0x39f876);break;}case _0x553147[_0x2aafcb(0x1f3)]:{_0x59785a=_0x8c968e(_0x4c6997,_0x39f876);break;}case _0x553147[_0x2aafcb(0x1f2)]:{_0x59785a=_0x189f05(_0x4c6997,_0x39f876);break;}case _0x553147[_0x2aafcb(0x1fa)]:{_0x59785a=_0x57f1a0(_0x4c6997,_0x39f876);break;}case _0x553147[_0x2aafcb(0x2ba)]:{_0x59785a=_0x5ef8c4(_0x4c6997,_0x39f876);break;}}const _0x233212=_0x4b5130(_0x59785a,_0x39f876),_0x14c7d3=this[_0x2aafcb(0x16c)][_0x2aafcb(0x27e)](_0x170c67);if(_0x14c7d3&&_0x233212){const _0x13474b={..._0x14c7d3,'range':_0x233212};this['cursorInfo'][_0x2aafcb(0x2b4)](_0x170c67,_0x13474b),_0x37471e(()=>{const _0x1e6dc4=_0x2aafcb,_0x4a3f0b=this['_refRangeService'][_0x1e6dc4(0x1a6)](_0x233212,_0x42f7a1=>(_0x4a3f0b[_0x1e6dc4(0x229)](),_0x3d66ea(_0x42f7a1,_0x170c67,_0x503d40,_0x233212)));_0x52aff7[_0x1e6dc4(0xfb)](_0x4a3f0b);});}return{'redos':[],'undos':[]};};this[_0x292d62(0x16c)][_0x292d62(0x140)]((_0x5a0ea1,_0x1bfe98)=>{const _0x14ec84=_0x292d62,{range:_0x35d5c6,sheetID:_0x12c3eb}=_0x5a0ea1,_0x45f6cf=this[_0x14ec84(0x259)][_0x14ec84(0x1a6)](_0x35d5c6,_0x15db11=>(_0x45f6cf['dispose'](),_0x3d66ea(_0x15db11,_0x1bfe98,_0x12c3eb,_0x35d5c6)));_0x52aff7[_0x14ec84(0xfb)](_0x45f6cf);});};this[_0x2568e1(0x136)](_0x56fd5a(this['_cursorInfo$'][_0x2568e1(0x1d7)](()=>{_0x5baba8();})));}['_toggleOnline'](){const _0x542fd1=_0xf42a26;var _0xb2f710,_0x1f4dec;if(this[_0x542fd1(0x132)]=!0x0,((_0xb2f710=this[_0x542fd1(0x188)]['getFocusedUnit']())==null?void 0x0:_0xb2f710[_0x542fd1(0x1b2)]())!==this['unitID'])return;const _0x326229=(_0x1f4dec=this[_0x542fd1(0x2a5)]['get'](_0x27dc79)[_0x542fd1(0x1ff)]())==null?void 0x0:_0x1f4dec[0x0],_0x56f2b7=this['_univerInstanceService'][_0x542fd1(0x19b)](_0x102ac0[_0x542fd1(0x1f7)])['getActiveSheet']();_0x326229&&_0x56f2b7&&this[_0x542fd1(0x18d)](_0x56f2b7['getSheetId'](),_0x326229);}['_toggleOffline'](){const _0x4ef3cd=_0xf42a26;this[_0x4ef3cd(0x132)]=!0x1;}};Me=mi([x(0x2,_0x29894a(_0x50c06f)),x(0x3,_0x29894a(ke)),x(0x4,_0x29894a(_0x21643a)),x(0x5,_0x26c0aa),x(0x6,_0x2320d3),x(0x7,_0x29894a(_0x41fcb0))],Me);var pi=Object[_0xf42a26(0x12c)],Ci=(_0xe10368,_0x201e89,_0x418333,_0x4c3174)=>{const _0x9d4567=_0xf42a26;for(var _0x261c1c=_0x4c3174>0x1?void 0x0:_0x4c3174?pi(_0x201e89,_0x418333):_0x201e89,_0x1ba8b1=_0xe10368[_0x9d4567(0x1db)]-0x1,_0x484ca5;_0x1ba8b1>=0x0;_0x1ba8b1--)(_0x484ca5=_0xe10368[_0x1ba8b1])&&(_0x261c1c=_0x484ca5(_0x261c1c)||_0x261c1c);return _0x261c1c;},Se=(_0x3c519c,_0x25170d)=>(_0x15ab1b,_0x30ce22)=>_0x25170d(_0x15ab1b,_0x30ce22,_0x3c519c);let H=class extends _0x14f0e9{constructor(_0x5b372d,_0x4c3477,_0xef312d){const _0x2379d1=_0xf42a26;super(),_(this,_0x2379d1(0xf6),new Map()),_(this,_0x2379d1(0x299),new _0x3db6e0()),(this[_0x2379d1(0x188)]=_0x5b372d,this[_0x2379d1(0x2a5)]=_0x4c3477,this[_0x2379d1(0x2bb)]=_0xef312d,this[_0x2379d1(0x12b)]());}[_0xf42a26(0x229)](){const _0x39eed1=_0xf42a26;super[_0x39eed1(0x229)](),this[_0x39eed1(0x299)][_0x39eed1(0x22b)](),this[_0x39eed1(0xf6)][_0x39eed1(0x140)](_0x54a053=>_0x54a053[_0x39eed1(0x229)]());}[_0xf42a26(0x1a1)](_0xeb5518){const _0x569718=_0xf42a26;return this[_0x569718(0xf6)][_0x569718(0x18f)](_0xeb5518)?this[_0x569718(0xf6)]['get'](_0xeb5518)[_0x569718(0x1c3)]:this[_0x569718(0x299)][_0x569718(0xe3)](_0x2d2f2f(_0xc70846=>_0xc70846[_0x569718(0x1a7)]===_0xeb5518),_0x188327(_0x14f591=>_0x14f591[_0x569718(0x1c3)]));}[_0xf42a26(0x12b)](){const _0x504587=_0xf42a26;this[_0x504587(0x188)][_0x504587(0x261)](_0x102ac0[_0x504587(0x1f7)])[_0x504587(0xe3)](_0x1101d1(this[_0x504587(0x1f9)]))[_0x504587(0x1d7)](async _0x43187f=>{const _0x1e0f13=_0x504587,_0x49c59f=_0x43187f[_0x1e0f13(0x1b2)](),_0x1b6061=await this[_0x1e0f13(0x1cc)](_0x49c59f);this[_0x1e0f13(0x299)][_0x1e0f13(0x282)](_0x1b6061),this[_0x1e0f13(0xf6)]['set'](_0x49c59f,_0x1b6061);}),this[_0x504587(0x188)][_0x504587(0x261)](_0x102ac0[_0x504587(0x232)])[_0x504587(0xe3)](_0x1101d1(this[_0x504587(0x1f9)]))[_0x504587(0xe3)](_0x2d2f2f(_0x2cef82=>!_0x2cef82[_0x504587(0x1b2)]()[_0x504587(0xef)]('__')))[_0x504587(0x1d7)](async _0x387519=>{const _0x162b28=_0x504587,_0x4b9192=_0x387519['getUnitId'](),_0x49d05f=await this['_startDocCollabCursor'](_0x4b9192);this[_0x162b28(0x299)][_0x162b28(0x282)](_0x49d05f),this[_0x162b28(0xf6)][_0x162b28(0x2b4)](_0x4b9192,_0x49d05f);}),_0x15e802(this[_0x504587(0x188)][_0x504587(0xf4)](_0x102ac0[_0x504587(0x232)]),this[_0x504587(0x188)][_0x504587(0xf4)](_0x102ac0[_0x504587(0x1f7)]))[_0x504587(0xe3)](_0x1101d1(this[_0x504587(0x1f9)]))[_0x504587(0x1d7)](_0x5c6042=>{const _0x4f6c88=_0x504587,_0x849ac9=_0x5c6042[_0x4f6c88(0x1b2)](),_0x4ad06a=this['_entities'][_0x4f6c88(0x27e)](_0x849ac9);_0x4ad06a&&(_0x4ad06a[_0x4f6c88(0x229)](),this[_0x4f6c88(0xf6)][_0x4f6c88(0x273)](_0x849ac9));});}async['_startSheetCollabCursor'](_0x2a19da){const _0x10a64d=_0xf42a26,_0x1d94d9=await this['_collabSessionService']['requireSession'](_0x2a19da),_0x2e7838=this['_injector'][_0x10a64d(0x14b)](Me,_0x2a19da,_0x1d94d9);return _0x2e7838[_0x10a64d(0x280)](),_0x2e7838;}async['_startDocCollabCursor'](_0xc6d07f){const _0x33f8c0=_0xf42a26,_0x2432fa=await this[_0x33f8c0(0x2bb)]['requireSession'](_0xc6d07f),_0x545c40=this[_0x33f8c0(0x2a5)][_0x33f8c0(0x14b)](Ue,_0xc6d07f,_0x2432fa);return _0x545c40[_0x33f8c0(0x280)](),_0x545c40;}};H=Ci([Se(0x0,_0x26c0aa),Se(0x1,_0x29894a(_0x50c06f)),Se(0x2,_0x29894a(_0x185917))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x154456,_0x14d7d5){const _0xd6a94d=_0xf42a26;let {radius:_0x15c20c,width:_0x2990fc,height:_0x32963a}=_0x14d7d5;_0x15c20c=_0x15c20c!=null?_0x15c20c:0x0,_0x2990fc=_0x2990fc!=null?_0x2990fc:0x1e,_0x32963a=_0x32963a!=null?_0x32963a:0x1e;let _0x26b7c1=0x0,_0x5f61c2=0x0,_0x517b3c=0x0;_0x26b7c1=_0x5f61c2=_0x517b3c=Math[_0xd6a94d(0xf2)](_0x15c20c,_0x2990fc/0x2,_0x32963a/0x2),_0x154456[_0xd6a94d(0x256)](),_0x154456[_0xd6a94d(0x167)](_0x26b7c1,0x0),_0x154456[_0xd6a94d(0x291)](_0x2990fc-_0x5f61c2,0x0),_0x154456[_0xd6a94d(0x1fc)](_0x2990fc-_0x5f61c2,_0x5f61c2,_0x5f61c2,Math['PI']*0x3/0x2,0x0,!0x1),_0x154456[_0xd6a94d(0x291)](_0x2990fc,_0x32963a-_0x517b3c),_0x154456[_0xd6a94d(0x1fc)](_0x2990fc-_0x517b3c,_0x32963a-_0x517b3c,_0x517b3c,0x0,Math['PI']/0x2,!0x1),_0x154456[_0xd6a94d(0x291)](0x0,_0x32963a),_0x154456['lineTo'](0x0,_0x26b7c1),_0x154456[_0xd6a94d(0x1fc)](_0x26b7c1,_0x26b7c1,_0x26b7c1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x154456[_0xd6a94d(0x162)](),_0x14d7d5[_0xd6a94d(0x257)]&&(_0x154456[_0xd6a94d(0x2cb)](),_0x154456[_0xd6a94d(0x247)]=_0x14d7d5[_0xd6a94d(0x257)],_0x14d7d5[_0xd6a94d(0x1c2)]===_0xd6a94d(0x28a)?_0x154456[_0xd6a94d(0x257)](_0xd6a94d(0x28a)):_0x154456['fill'](),_0x154456[_0xd6a94d(0x2bd)]());}class he extends _0x1bb8d9{constructor(_0xa833c1,_0x141373){const _0x35988e=_0xf42a26;super(_0xa833c1,_0x141373),_(this,_0x35988e(0x2c1)),_(this,_0x35988e(0x278)),(this[_0x35988e(0x2c1)]=_0x141373==null?void 0x0:_0x141373[_0x35988e(0x2c1)],this[_0x35988e(0x278)]=_0x141373==null?void 0x0:_0x141373[_0x35988e(0x278)]);}static[_0xf42a26(0x106)](_0x3ea631,_0x2a6652){const _0x5e8d4b=_0xf42a26,{text:_0x4b5cb0,color:_0x5d6e7e}=_0x2a6652;_0x3ea631['save'](),_0x3ea631[_0x5e8d4b(0xe2)]=_0x5e8d4b(0x2cf);const _0x364e4c=_0x3ea631[_0x5e8d4b(0x279)](_0x4b5cb0)[_0x5e8d4b(0x244)],_0x3f4440=Math[_0x5e8d4b(0xf2)](_0x364e4c+0x2*me,Qe);Oi(_0x3ea631,{'height':ee,'radius':0x4,'width':_0x3f4440,'fill':_0x5d6e7e}),_0x3ea631[_0x5e8d4b(0x247)]=_0x5e8d4b(0x195);const _0x4c857e=me,_0x4159d4=ee-Ei,_0x31c8e8=Qe-0x2*me;if(_0x364e4c>_0x31c8e8){let _0x3786ed='',_0x577136=0x0;for(const _0x5e0e0e of _0x4b5cb0){const _0x20f8e9=_0x3ea631[_0x5e8d4b(0x279)](_0x5e0e0e)[_0x5e8d4b(0x244)];if(_0x577136+_0x20f8e9<=_0x31c8e8-_0x3ea631[_0x5e8d4b(0x279)]('...')[_0x5e8d4b(0x244)])_0x3786ed+=_0x5e0e0e,_0x577136+=_0x20f8e9;else{_0x3786ed+=_0x5e8d4b(0x29a);break;}}_0x3ea631[_0x5e8d4b(0x1a8)](_0x3786ed,_0x4c857e,_0x4159d4);}else _0x3ea631[_0x5e8d4b(0x1a8)](_0x4b5cb0,_0x4c857e,_0x4159d4);_0x3ea631[_0x5e8d4b(0x2bd)]();}[_0xf42a26(0x196)](_0x35b075){he['drawWith'](_0x35b075,this);}}const Ie=_0xf42a26(0x107),bi='collab-text-range-',Ti=_0xf42a26(0x20e),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0xf42a26(0x1df);class qe{constructor(_0x4d53f3,_0x43c259,_0x59cacb,_0x3a873e){const _0x215dcf=_0xf42a26;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x215dcf(0x191),null),_(this,'_hideTimer',null),_(this,_0x215dcf(0x230),null),(this[_0x215dcf(0x144)]=_0x4d53f3,this[_0x215dcf(0xe7)]=_0x43c259,this[_0x215dcf(0x236)]=_0x59cacb,this[_0x215dcf(0x15d)]=_0x3a873e,this['_render']());}set[_0xf42a26(0x268)](_0x3b5333){const _0x1d865f=_0xf42a26;_0x3b5333?(this[_0x1d865f(0x191)]&&this[_0x1d865f(0x191)]['hide'](),this[_0x1d865f(0x212)]&&this[_0x1d865f(0x212)][_0x1d865f(0x209)]()):(this['_anchorDot']&&this[_0x1d865f(0x191)][_0x1d865f(0x209)](),this[_0x1d865f(0x212)]&&this['_textBubble']['hide']());}[_0xf42a26(0x229)](){const _0x11d030=_0xf42a26;for(const _0x22dca4 of this[_0x11d030(0x2c5)])_0x22dca4['dispose']();this['_textBubble']&&this[_0x11d030(0x212)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x11d030(0x229)](),this['_anchor']&&this[_0x11d030(0x2bc)][_0x11d030(0x229)](),this[_0x11d030(0x230)]&&this[_0x11d030(0x230)]();}[_0xf42a26(0xe0)](){const _0x2bd20e=_0xf42a26;var _0x2a95fb;const {_docSkeleton:_0x4482b2,_document:_0x33a7d8}=this,{color:_0x3f9a0c,name:_0x323eb4,ranges:_0x3c823a}=this['_cursor'],_0x2bff75=_0x33a7d8['getOffsetConfig'](),{docsLeft:_0x116213,docsTop:_0x1d4c08}=_0x2bff75,_0x5103fb=new _0x1945f6(_0x2bff75,_0x4482b2);for(const {startOffset:_0x2d2af9,endOffset:_0x488909,rangeType:_0x2d0b3e,segmentId:_0x59b506,segmentPage:_0xe9ae18,collapsed:_0x3feec3,isActive:_0x30d30d}of _0x3c823a){const _0x4e2a46=_0x4482b2[_0x2bd20e(0x148)](_0x2d2af9,!0x0,_0x59b506,_0xe9ae18);let _0x2907d1=_0x4482b2[_0x2bd20e(0x148)](_0x488909,!0x0,_0x59b506,_0xe9ae18);if(_0x2907d1==null&&(_0x2907d1=_0x4482b2[_0x2bd20e(0x148)](_0x488909-0x1,!0x1,_0x59b506,_0xe9ae18)),_0x30d30d){const {contentBoxPointGroup:_0x331ca0}=_0x5103fb['getRangePointData'](_0x2907d1,_0x2907d1);if(_0x331ca0['length']===0x0)continue;this[_0x2bd20e(0x237)](_0x3f9a0c,_0x331ca0,_0x116213,_0x1d4c08,_0x323eb4),this[_0x2bd20e(0x230)]=this['_handleHover']();}if(_0x4e2a46&&_0x2907d1){if(_0x2d0b3e===_0x2d8b1b[_0x2bd20e(0x163)]){const _0x4be477=new _0x4c56d3(_0x2bff75,_0x4482b2),{pointGroup:_0x41a86c}=(_0x2a95fb=_0x4be477[_0x2bd20e(0x11c)](_0x4e2a46,_0x2907d1))!=null?_0x2a95fb:{};if(_0x41a86c==null||_0x41a86c[_0x2bd20e(0x1db)]===0x0)continue;this[_0x2bd20e(0x17d)](_0x3f9a0c,_0x41a86c,_0x116213,_0x1d4c08);}else{if(!_0x3feec3){const {borderBoxPointGroup:_0x34205e}=_0x5103fb['getRangePointData'](_0x4e2a46,_0x2907d1);if(_0x34205e['length']===0x0)continue;this['_drawTextRange'](_0x3f9a0c,_0x34205e,_0x116213,_0x1d4c08);}}}}}[_0xf42a26(0x237)](_0x52faf2,_0x677495,_0x4564ae,_0x23f6a2,_0x144177){const _0x4f9bb3=_0xf42a26,_0x59e237=this['_getAnchorBounding'](_0x677495),{left:_0x5811fe,top:_0x1e09b8,height:_0x1ace39}=_0x59e237,_0x5a4e4c=this[_0x4f9bb3(0x1cd)](),_0x3303b5=Di/_0x5a4e4c,_0x59316c=new _0x99e1c8(Ie+_0x51f6f1[_0x4f9bb3(0x27c)](X),{'left':_0x5811fe+_0x4564ae-_0x3303b5,'top':_0x1e09b8+_0x23f6a2,'height':_0x1ace39,'width':Ri,'fill':_0x52faf2||_0x2e8c05(_0x277a32['black'],0x0),'strokeWidth':_0x3303b5,'stroke':Ni,'evented':!0x0});this[_0x4f9bb3(0x2bc)]=_0x59316c,this[_0x4f9bb3(0xe7)]['addObject'](_0x59316c,_0x46c059);const _0x5d952b=new _0x99e1c8(Ie+_0x51f6f1[_0x4f9bb3(0x27c)](X),{'left':_0x5811fe+_0x4564ae-_0x3303b5,'top':_0x1e09b8+_0x23f6a2-ge/0x2,'height':ge,'width':ge,'fill':_0x52faf2||_0x2e8c05(_0x277a32[_0x4f9bb3(0x2af)],0x0),'strokeWidth':0x0,'stroke':_0x52faf2||_0x2e8c05(_0x277a32[_0x4f9bb3(0x2af)],0x0),'evented':!0x1});this['_anchorDot']=_0x5d952b,this['_scene']['addObject'](_0x5d952b,_0x46c059);const _0x433487=new he(Ie+_0x51f6f1[_0x4f9bb3(0x27c)](X),{'left':_0x5811fe+_0x4564ae-_0x3303b5,'top':_0x1e09b8+_0x23f6a2-ee,'text':_0x144177,'color':_0x52faf2});this[_0x4f9bb3(0x212)]=_0x433487,this[_0x4f9bb3(0xe7)][_0x4f9bb3(0x1d0)](_0x433487,_0x46c059),this[_0x4f9bb3(0x268)]=!0x1;}[_0xf42a26(0x13e)](){const _0x47b4f6=_0xf42a26,_0x4639f4=this['_anchor'][_0x47b4f6(0x10e)][_0x47b4f6(0x253)](()=>{const _0x1876e3=_0x47b4f6;this[_0x1876e3(0x268)]=!0x0;}),_0x184619=this['_anchor'][_0x47b4f6(0x165)][_0x47b4f6(0x253)](()=>{const _0xf40676=_0x47b4f6;this[_0xf40676(0x2d9)]&&clearTimeout(this[_0xf40676(0x2d9)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x433090=_0x47b4f6;_0x4639f4[_0x433090(0x16a)](),_0x184619[_0x433090(0x16a)]();};}['_drawTextRange'](_0x56fd3b,_0x531d9a,_0x1459b8,_0x11662d){const _0xa9fba4=_0xf42a26,_0xc91a06=new _0x1240e9(_0x56fd3b)['setAlpha'](0.2)[_0xa9fba4(0x207)](),_0xc2caf=new _0x7bab94(bi+_0x51f6f1[_0xa9fba4(0x27c)](X),{'pointsGroup':_0x531d9a,'fill':_0xc91a06||_0x2e8c05(_0x277a32[_0xa9fba4(0x2af)],0.2),'left':_0x1459b8,'top':_0x11662d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa9fba4(0x2c5)][_0xa9fba4(0x122)](_0xc2caf),this[_0xa9fba4(0xe7)][_0xa9fba4(0x1d0)](_0xc2caf,_0x46c059);}[_0xf42a26(0x17d)](_0x4f2227,_0x5a5646,_0x584b63,_0x2149d6){const _0x3eccb5=_0xf42a26,_0x3abad2=new _0x1240e9(_0x4f2227)[_0x3eccb5(0x10c)](0.2)[_0x3eccb5(0x207)](),_0x17f2b4=new _0x7bab94(Ti+_0x51f6f1[_0x3eccb5(0x27c)](X),{'pointsGroup':_0x5a5646,'fill':_0x3abad2||_0x2e8c05(_0x277a32[_0x3eccb5(0x2af)],0.2),'left':_0x584b63,'top':_0x2149d6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x17f2b4),this[_0x3eccb5(0xe7)][_0x3eccb5(0x1d0)](_0x17f2b4,_0x46c059);}['_getAnchorBounding'](_0x41dcb5){const _0x248551=_0x41dcb5[0x0],_0x4f6465=_0x248551[0x0],_0x265644=_0x248551[0x2],{x:_0x504b6c,y:_0x4fe887}=_0x4f6465,{x:_0x19aec5,y:_0x4b9a90}=_0x265644;return{'left':_0x504b6c,'top':_0x4fe887,'width':_0x19aec5-_0x504b6c,'height':_0x4b9a90-_0x4fe887};}['_getScale'](){const _0x265d17=_0xf42a26,{scaleX:_0x210b22,scaleY:_0x26ed37}=this[_0x265d17(0xe7)]['getAncestorScale']();return Math['max'](_0x210b22,_0x26ed37);}}var Ui=Object[_0xf42a26(0x12c)],Mi=(_0x983d70,_0x3786cf,_0x11d29f,_0x10353e)=>{const _0x3ee372=_0xf42a26;for(var _0x321836=_0x10353e>0x1?void 0x0:_0x10353e?Ui(_0x3786cf,_0x11d29f):_0x3786cf,_0x5d600c=_0x983d70[_0x3ee372(0x1db)]-0x1,_0x263171;_0x5d600c>=0x0;_0x5d600c--)(_0x263171=_0x983d70[_0x5d600c])&&(_0x321836=_0x263171(_0x321836)||_0x321836);return _0x321836;},Z=(_0xdc7e3f,_0x5b5f9e)=>(_0x57203d,_0x1d8fbd)=>_0x5b5f9e(_0x57203d,_0x1d8fbd,_0xdc7e3f);let Le=class extends _0x14f0e9{constructor(_0x50d78e,_0x32cbf4,_0x2953ca,_0x3e53b3,_0x552588){const _0x2070e5=_0xf42a26;super(),_(this,_0x2070e5(0x1f5),[]),_(this,_0x2070e5(0x139),[]),(this['_context']=_0x50d78e,this[_0x2070e5(0x2a2)]=_0x32cbf4,this[_0x2070e5(0x2b1)]=_0x2953ca,this[_0x2070e5(0x1ad)]=_0x3e53b3,this[_0x2070e5(0x117)]=_0x552588,this[_0x2070e5(0x12b)]());}[_0xf42a26(0x12b)](){const _0x131b4d=_0xf42a26,_0x32e946=this['_context'][_0x131b4d(0x1fb)],_0x5c2671=this[_0x131b4d(0x2a2)];this[_0x131b4d(0x136)](_0xe7a4f6([this[_0x131b4d(0x2b1)][_0x131b4d(0x1a1)](_0x32e946),this[_0x131b4d(0x117)]['currentTheme$']])[_0x131b4d(0xe3)](_0x53609f(([_0x2d6014,_0x5a933c])=>({'skeleton':_0x5c2671['getSkeleton'](),'cursors':[..._0x2d6014['values']()]['flatMap'](_0x3d5f61=>({..._0x3d5f61,'color':this[_0x131b4d(0x117)]['getColorFromTheme'](_0x3d5f61[_0x131b4d(0x2c1)])}))})))[_0x131b4d(0x1d7)](_0x3a3a95=>{const _0x5758e8=_0x131b4d;if(this['_removeCollabCursors'](),_0x3a3a95){const {skeleton:_0x44e132,cursors:_0x1cc2dd}=_0x3a3a95;this[_0x5758e8(0x201)](_0x44e132,_0x1cc2dd);}})),this[_0x131b4d(0x22f)](),this['_initCommandExecutedListener']();}[_0xf42a26(0x201)](_0x3fd739,_0x2b278b){const _0x392738=_0xf42a26,{scene:_0x13019b,mainComponent:_0x244af0}=this[_0x392738(0x2ce)],_0x5d88f5=_0x2b278b[_0x392738(0x24d)](_0x160838=>new qe(_0x160838,_0x13019b,_0x3fd739,_0x244af0));this[_0x392738(0x1f5)]=_0x5d88f5,this['_cursors']=_0x2b278b;}['_refreshCollabCursors'](){const _0x141415=_0xf42a26;this['_removeCollabCursors']();const {scene:_0x4c0de6,mainComponent:_0x4d354a}=this[_0x141415(0x2ce)],_0x41e0e9=this['_docSkeletonManagerService'][_0x141415(0x234)](),_0x48a87e=this['_cursors'][_0x141415(0x24d)](_0x5d8ede=>new qe(_0x5d8ede,_0x4c0de6,_0x41e0e9,_0x4d354a));this[_0x141415(0x1f5)]=_0x48a87e;}[_0xf42a26(0x1be)](){const _0x37f63a=_0xf42a26;this[_0x37f63a(0x1f5)][_0x37f63a(0x140)](_0x2ffaaf=>_0x2ffaaf[_0x37f63a(0x229)]()),this['_cursorShapes']=[];}[_0xf42a26(0x295)](){const _0x31a15e=_0xf42a26,_0x3897d9=[_0x5129e9['id']];this[_0x31a15e(0x136)](this['_commandService'][_0x31a15e(0x116)](_0x1985ac=>{const _0x4d609e=_0x31a15e;_0x3897d9[_0x4d609e(0x1ba)](_0x1985ac['id'])&&_0x1985ac['params'][_0x4d609e(0x1fb)]===this[_0x4d609e(0x2ce)][_0x4d609e(0x1fb)]&&this[_0x4d609e(0x274)]();}));}[_0xf42a26(0x22f)](){const _0x724301=_0xf42a26;this['disposeWithMe'](_0x1b2c45(this[_0x724301(0x2ce)][_0x724301(0x1a9)][_0x724301(0x1a5)])[_0x724301(0xe3)](_0x350650(_0x2fc1d9=>_0x2fc1d9[_0x724301(0x15e)]===_0x43bdc5[_0x724301(0x1ec)]),_0x1493bb(0x10))['subscribe'](()=>{const _0x36a2b3=_0x724301;this[_0x36a2b3(0x274)]();}));}};Le=Mi([Z(0x1,_0x29894a(_0x213ad8)),Z(0x2,_0x29894a(H)),Z(0x3,_0x2320d3),Z(0x4,_0x29894a(_0x35497a))],Le);const Li=0x1,Pi=1.5;class wi extends _0x1bb8d9{constructor(_0x46f43a,_0x382a8b){const _0x11d38e=_0xf42a26;super(_0x46f43a,_0x382a8b),_(this,_0x11d38e(0x26b)),_(this,_0x11d38e(0x127),!0x1),_(this,_0x11d38e(0x123)),_(this,'_name',''),_(this,_0x11d38e(0x223),_0x11d38e(0x2ae)),_(this,_0x11d38e(0x13f)),(_0x382a8b&&this['setShapeProps'](_0x382a8b),this['onPointerEnter$'][_0x11d38e(0x253)](()=>this[_0x11d38e(0x2e1)]({'hovered':!0x0})),this[_0x11d38e(0x165)]['subscribeEvent'](()=>this[_0x11d38e(0x2e1)]({'hovered':!0x1})));}[_0xf42a26(0x2e1)](_0x32b9f0){const _0x216814=_0xf42a26;var _0x399a78,_0x1c9e2d,_0x504360,_0x50b916,_0x17cf8d,_0x4eb259;this[_0x216814(0x26b)]=(_0x399a78=_0x32b9f0[_0x216814(0x2c1)])!=null?_0x399a78:this['_color'],this['_hovered']=(_0x1c9e2d=_0x32b9f0[_0x216814(0x135)])!=null?_0x1c9e2d:this['_hovered'],this['_range']=(_0x504360=_0x32b9f0[_0x216814(0x23d)])!=null?_0x504360:this[_0x216814(0x123)],this[_0x216814(0x275)]=(_0x50b916=_0x32b9f0[_0x216814(0x2a4)])!=null?_0x50b916:this[_0x216814(0x275)],this[_0x216814(0x223)]=(_0x17cf8d=_0x32b9f0[_0x216814(0x1ab)])!=null?_0x17cf8d:this[_0x216814(0x223)],this[_0x216814(0x13f)]=(_0x4eb259=_0x32b9f0['backgroundColor'])!=null?_0x4eb259:this[_0x216814(0x13f)],this[_0x216814(0x22e)]({'width':_0x32b9f0[_0x216814(0x244)],'height':_0x32b9f0[_0x216814(0x10b)]});}[_0xf42a26(0x24a)](_0x4d16b9){const _0x58709f=_0xf42a26,{row:_0x4fcfcf,column:_0x374f8e}=_0x4d16b9;if(_0x4fcfcf>=this[_0x58709f(0x123)][_0x58709f(0x14a)]&&_0x4fcfcf<=this[_0x58709f(0x123)][_0x58709f(0x157)]&&_0x374f8e>=this[_0x58709f(0x123)][_0x58709f(0x197)]&&_0x374f8e<=this[_0x58709f(0x123)]['endColumn']){this[_0x58709f(0x2e1)]({'hovered':!0x0});return;}this[_0x58709f(0x2e1)]({'hovered':!0x1});}[_0xf42a26(0x120)](_0xf2999d){return!0x1;}[_0xf42a26(0x196)](_0x43f107){const _0x4381d1=_0xf42a26;_0x99e1c8[_0x4381d1(0x106)](_0x43f107,{'width':this[_0x4381d1(0x244)],'height':this[_0x4381d1(0x10b)],'strokeWidth':Pi,'stroke':this[_0x4381d1(0x26b)],'evented':!0x1,'fill':this[_0x4381d1(0x13f)]}),this[_0x4381d1(0x127)]&&(_0x43f107[_0x4381d1(0x2cb)](),_0x43f107[_0x4381d1(0x110)](0x1,0x0,0x0,0x1,this['width'],this[_0x4381d1(0x223)]===_0x4381d1(0x1e1)?0x0:-0x14),he[_0x4381d1(0x106)](_0x43f107,{'text':this[_0x4381d1(0x275)],'color':this['_color']}),_0x43f107[_0x4381d1(0x2bd)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x2c35ee,_0x23ed30,_0x388e47,_0x33c377)=>{const _0x383645=_0xf42a26;for(var _0x32e9fc=_0x33c377>0x1?void 0x0:_0x33c377?Ai(_0x23ed30,_0x388e47):_0x23ed30,_0x58fa8a=_0x2c35ee[_0x383645(0x1db)]-0x1,_0x1f5a0b;_0x58fa8a>=0x0;_0x58fa8a--)(_0x1f5a0b=_0x2c35ee[_0x58fa8a])&&(_0x32e9fc=_0x1f5a0b(_0x32e9fc)||_0x32e9fc);return _0x32e9fc;},ve=(_0x4a6fcb,_0x45427d)=>(_0x140d67,_0x96bbea)=>_0x45427d(_0x140d67,_0x96bbea,_0x4a6fcb);const $i=0x1389;let Pe=class extends _0x14f0e9{constructor(_0x1246ae,_0x145788,_0x213ca5,_0x398f07){const _0x1c0152=_0xf42a26;super(),_(this,'_cursors',new Set()),_(this,_0x1c0152(0x293),null),(this['_context']=_0x1246ae,this[_0x1c0152(0x297)]=_0x145788,this['_collabCursorController']=_0x213ca5,this['_themeService']=_0x398f07,this[_0x1c0152(0x12b)]());}['_init'](){const _0x1eea4=_0xf42a26;this[_0x1eea4(0x297)][_0x1eea4(0x287)][_0x1eea4(0xe3)](_0xcd166b(this[_0x1eea4(0x1f9)]),_0xcd7cbc(_0x1d9b86=>{const _0x17c2b1=_0x1eea4;if(_0x1d9b86){const _0x210174=_0x1d9b86[_0x17c2b1(0x251)];return _0xe7a4f6(this[_0x17c2b1(0x2b1)]['getCollabCursors$'](this[_0x17c2b1(0x2ce)][_0x17c2b1(0x1fb)]),this[_0x17c2b1(0x117)][_0x17c2b1(0x12a)])[_0x17c2b1(0xe3)](_0x53609f(([_0x36e45f,_0x1b67da])=>{const _0x37833b=_0x17c2b1,_0x3b9a59=new Map();return _0x36e45f[_0x37833b(0x140)]((_0x186adc,_0x270f2b)=>{const _0x5678b9=_0x37833b;if(_0x186adc[_0x5678b9(0x103)]===_0x210174){const _0x376a5c={..._0x186adc};_0x376a5c[_0x5678b9(0x2c1)]=this[_0x5678b9(0x117)]['getColorFromTheme'](_0x186adc['color']),_0x3b9a59['set'](_0x270f2b,_0x376a5c);}}),{'skeleton':_0x1d9b86,'cursors':_0x3b9a59};}));}return _0x3a77a9({'skeleton':null,'cursors':new Map()});}))[_0x1eea4(0x1d7)](({skeleton:_0x37232e,cursors:_0x36638a})=>{const _0x14bb63=_0x1eea4;this['_removeCollabCursors'](),_0x37232e&&this[_0x14bb63(0x201)](_0x37232e,_0x36638a);}),this[_0x1eea4(0x297)][_0x1eea4(0x287)][_0x1eea4(0x1d7)](_0x3c017a=>{const _0x57401b=_0x1eea4;if(_0x3c017a==null)return;const {skeleton:_0xbe771e}=_0x3c017a,{scene:_0x3b516f}=this['_context'];_0x3b516f[_0x57401b(0x179)]['subscribeEvent'](_0x4729f8(_0x4f697f=>{const _0x3082a1=_0x57401b;var _0x59f0e3,_0x462df4;const {offsetX:_0x484e4a,offsetY:_0x5e1a32}=_0x4f697f,{x:_0x293a8f,y:_0x4dc7a2}=_0x3b516f[_0x3082a1(0x222)](_0x542be7['FromArray']([_0x484e4a,_0x5e1a32])),{scaleX:_0x54d6c6,scaleY:_0x5cc530}=_0x3b516f[_0x3082a1(0x172)](),_0x3caca0=_0x3b516f['getViewport'](_0x691c2a[_0x3082a1(0x17b)]),_0x43b2a2=_0x3b516f[_0x3082a1(0x153)](_0x542be7['FromArray']([_0x293a8f,_0x4dc7a2]),_0x3caca0),_0x2e13de=_0xbe771e[_0x3082a1(0x126)](_0x484e4a,_0x5e1a32,_0x54d6c6,_0x5cc530,_0x43b2a2);((_0x59f0e3=this[_0x3082a1(0x293)])==null?void 0x0:_0x59f0e3[_0x3082a1(0x2db)])===_0x2e13de[_0x3082a1(0x2db)]&&((_0x462df4=this[_0x3082a1(0x293)])==null?void 0x0:_0x462df4['row'])===_0x2e13de['row']||this[_0x3082a1(0x139)]['forEach'](_0x2f4c1e=>{const _0x2a36dc=_0x3082a1;_0x2f4c1e[_0x2a36dc(0x24a)](_0x2e13de);});},0x64));});}['_updateCollabCursors'](_0x185fdb,_0x251f91){const _0x5a9c61=_0xf42a26;var _0x5d3c79;const _0xf7750a=(_0x5d3c79=this[_0x5a9c61(0x297)][_0x5a9c61(0x270)]())==null?void 0x0:_0x5d3c79[_0x5a9c61(0xf9)];if(!_0xf7750a)return;const _0x19be28=this[_0x5a9c61(0x21e)]();if(!_0x19be28)return;this[_0x5a9c61(0x139)][_0x5a9c61(0x140)](_0x1cf9f2=>{const _0x39b87d=_0x5a9c61;_0x1cf9f2[_0x39b87d(0x1e4)]();});const {scene:_0x5404e7}=_0x19be28,_0x4572d4=xi(Array[_0x5a9c61(0x214)](_0x251f91[_0x5a9c61(0x1b3)]()))[_0x5a9c61(0x24d)](_0x4e4201=>{const _0x439296=_0x5a9c61,{color:_0x32bbfc,range:_0x3af0ff,name:_0x52ddb2,selection:_0x1205e5,sheetID:_0x261ed3}=_0x4e4201,{startColumn:_0x1364b2,startRow:_0x1023bf,endColumn:_0x107ce9,endRow:_0x4f44b5}=_0x3af0ff,_0xa89b59=_0x4684b7(_0x1023bf,_0x1364b2,_0x5404e7,_0xf7750a),_0x2fdfdc=_0x4684b7(_0x4f44b5,_0x107ce9,_0x5404e7,_0xf7750a),{columnHeaderHeightAndMarginTop:_0x431784}=_0xf7750a,{startX:_0x4265ff,startY:_0x27692a}=_0xa89b59,{endX:_0x54d5ff,endY:_0x3f8629}=_0x2fdfdc,_0x3ada3f=_0x54d5ff-_0x4265ff,_0x2b696e=_0x3f8629-_0x27692a,_0x3be487={'labelPosition':_0x27692a-_0x431784>=ee?'top':_0x439296(0x1e1),'sheetID':_0x261ed3,'range':_0x3af0ff,'color':_0x32bbfc,'name':_0x52ddb2,'selection':_0x1205e5,'left':_0x4265ff,'top':_0x27692a,'width':_0x3ada3f,'height':_0x2b696e,'evented':!0x1,'zIndex':$i};return new wi(_0x52ddb2,_0x3be487);});_0x5404e7[_0x5a9c61(0x160)](_0x4572d4,Li),this[_0x5a9c61(0x139)]=new Set(_0x4572d4);}[_0xf42a26(0x1be)](){const _0x3ea3c0=_0xf42a26;var _0x2d5a56;(_0x2d5a56=this[_0x3ea3c0(0x139)])==null||_0x2d5a56[_0x3ea3c0(0x140)](_0x27ac5e=>_0x27ac5e[_0x3ea3c0(0x229)]());}[_0xf42a26(0x21e)](){const _0x2ac0ce=_0xf42a26;return _0x4d4d0a(this[_0x2ac0ce(0x2ce)][_0x2ac0ce(0x24b)],this[_0x2ac0ce(0x2ce)]);}};Pe=yi([ve(0x1,_0x29894a(_0xddd58f)),ve(0x2,_0x29894a(H)),ve(0x3,_0x29894a(_0x35497a))],Pe);function xi(_0x49f92e){const _0x588b1a=_0xf42a26,_0x5bc03f=new Map();return _0x49f92e['forEach'](_0xbdfb25=>{const _0x5a1323=_0x4fb2;if(_0x5bc03f[_0x5a1323(0x18f)](_0xbdfb25[_0x5a1323(0x2b0)])){const _0x1f97a3=_0x5bc03f[_0x5a1323(0x27e)](_0xbdfb25[_0x5a1323(0x2b0)]);_0x1f97a3[_0x5a1323(0x2a4)]+=',\x20'+_0xbdfb25[_0x5a1323(0x2a4)];}else _0x5bc03f[_0x5a1323(0x2b4)](_0xbdfb25[_0x5a1323(0x2b0)],_0xbdfb25);}),Array['from'](_0x5bc03f[_0x588b1a(0x1b3)]());}var v=function(){const _0x13a829=_0xf42a26;return v=Object[_0x13a829(0x277)]||function(_0x43ea5d){const _0x28f66a=_0x13a829;for(var _0x575909,_0x181bcd=0x1,_0x2f16c2=arguments[_0x28f66a(0x1db)];_0x181bcd<_0x2f16c2;_0x181bcd++){_0x575909=arguments[_0x181bcd];for(var _0x333d11 in _0x575909)Object[_0x28f66a(0x1ce)][_0x28f66a(0x2ac)]['call'](_0x575909,_0x333d11)&&(_0x43ea5d[_0x333d11]=_0x575909[_0x333d11]);}return _0x43ea5d;},v[_0x13a829(0x254)](this,arguments);},Bi=function(_0x576b2f,_0x4c533b){const _0x304d76=_0xf42a26;var _0x57c120={};for(var _0x57e374 in _0x576b2f)Object['prototype'][_0x304d76(0x2ac)][_0x304d76(0x2aa)](_0x576b2f,_0x57e374)&&_0x4c533b[_0x304d76(0x216)](_0x57e374)<0x0&&(_0x57c120[_0x57e374]=_0x576b2f[_0x57e374]);if(_0x576b2f!=null&&typeof Object[_0x304d76(0x1e9)]==_0x304d76(0xe8)){for(var _0x27e11c=0x0,_0x57e374=Object[_0x304d76(0x1e9)](_0x576b2f);_0x27e11c<_0x57e374[_0x304d76(0x1db)];_0x27e11c++)_0x4c533b[_0x304d76(0x216)](_0x57e374[_0x27e11c])<0x0&&Object[_0x304d76(0x1ce)][_0x304d76(0x27a)][_0x304d76(0x2aa)](_0x576b2f,_0x57e374[_0x27e11c])&&(_0x57c120[_0x57e374[_0x27e11c]]=_0x576b2f[_0x57e374[_0x27e11c]]);}return _0x57c120;},Fe=_0x1f8b6f(function(_0x1e778c,_0x22cfd9){const _0x537363=_0xf42a26;var _0x46ad54=_0x1e778c['icon'],_0x556e00=_0x1e778c['id'],_0xc0ba84=_0x1e778c[_0x537363(0x149)],_0x5564c8=_0x1e778c['extend'],_0x3a89c8=Bi(_0x1e778c,[_0x537363(0x258),'id',_0x537363(0x149),_0x537363(0x18c)]),_0x185e08=_0x537363(0x137)[_0x537363(0x1b6)](_0x556e00,'\x20')[_0x537363(0x1b6)](_0xc0ba84||'')['trim'](),_0xaf3179=_0x431501('_'[_0x537363(0x1b6)](Fi()));return Rt(_0x46ad54,''[_0x537363(0x1b6)](_0x556e00),{'defIds':_0x46ad54[_0x537363(0x243)],'idSuffix':_0xaf3179['current']},v({'ref':_0x22cfd9,'className':_0x185e08},_0x3a89c8),_0x5564c8);});function Rt(_0x5260d7,_0x4aa4fd,_0x24749f,_0x17fa96,_0x331e5e){const _0x5227ad=_0xf42a26;return _0x39f8fc(_0x5260d7[_0x5227ad(0xf7)],v(v({'key':_0x4aa4fd},ki(_0x5260d7,_0x24749f,_0x331e5e)),_0x17fa96),(Hi(_0x5260d7,_0x24749f)[_0x5227ad(0x194)]||[])['map'](function(_0x37b4ca,_0x5b2610){const _0x2c7801=_0x5227ad;return Rt(_0x37b4ca,''[_0x2c7801(0x1b6)](_0x4aa4fd,'-')[_0x2c7801(0x1b6)](_0x5260d7['tag'],'-')[_0x2c7801(0x1b6)](_0x5b2610),_0x24749f,void 0x0,_0x331e5e);}));}function ki(_0x4ea478,_0x58163c,_0x1cd45d){const _0x15d280=_0xf42a26;var _0x1b9ea2=v({},_0x4ea478[_0x15d280(0x2a0)]);_0x1cd45d!=null&&_0x1cd45d[_0x15d280(0x176)]&&_0x1b9ea2[_0x15d280(0x257)]===_0x15d280(0x176)&&(_0x1b9ea2['fill']=_0x1cd45d['colorChannel1']),_0x4ea478[_0x15d280(0xf7)]===_0x15d280(0x23b)&&_0x1b9ea2['id']&&(_0x1b9ea2['id']=_0x1b9ea2['id']+_0x58163c[_0x15d280(0x1f4)]),Object[_0x15d280(0x124)](_0x1b9ea2)[_0x15d280(0x140)](function(_0x980515){const _0x3aabc3=_0x15d280;var _0x11a33a=_0x980515[0x0],_0x3a8e2b=_0x980515[0x1];_0x11a33a===_0x3aabc3(0x23b)&&typeof _0x3a8e2b==_0x3aabc3(0x204)&&(_0x1b9ea2[_0x11a33a]=_0x3a8e2b['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3aabc3(0x1b6)](_0x58163c[_0x3aabc3(0x1f4)],')')));});var _0x4d7726=_0x58163c[_0x15d280(0x243)];return!_0x4d7726||_0x4d7726[_0x15d280(0x1db)]===0x0||(_0x4ea478['tag']===_0x15d280(0x1af)&&_0x1b9ea2[_0x15d280(0x143)]&&(_0x1b9ea2[_0x15d280(0x143)]=_0x1b9ea2[_0x15d280(0x143)]+_0x58163c[_0x15d280(0x1f4)]),Object[_0x15d280(0x124)](_0x1b9ea2)[_0x15d280(0x140)](function(_0x36fc9d){const _0x2821aa=_0x15d280;var _0x11a8df=_0x36fc9d[0x0],_0x5b82b8=_0x36fc9d[0x1];typeof _0x5b82b8==_0x2821aa(0x204)&&(_0x1b9ea2[_0x11a8df]=_0x5b82b8['replace'](/url\(#(.*)\)/,_0x2821aa(0x29f)['concat'](_0x58163c['idSuffix'],')')));})),_0x1b9ea2;}function Hi(_0x22ed06,_0x2a0f6d){const _0x3e918c=_0xf42a26;var _0x16faeb,_0x12eee2=_0x2a0f6d[_0x3e918c(0x243)];return!_0x12eee2||_0x12eee2[_0x3e918c(0x1db)]===0x0?_0x22ed06:_0x22ed06[_0x3e918c(0xf7)]===_0x3e918c(0x271)&&(!((_0x16faeb=_0x22ed06[_0x3e918c(0x194)])===null||_0x16faeb===void 0x0)&&_0x16faeb['length'])?v(v({},_0x22ed06),{'children':_0x22ed06['children'][_0x3e918c(0x24d)](function(_0xa1ad1d){const _0x36866b=_0x3e918c;return typeof _0xa1ad1d[_0x36866b(0x2a0)]['id']=='string'&&_0x12eee2&&_0x12eee2[_0x36866b(0x1ba)](_0xa1ad1d['attrs']['id'])?v(v({},_0xa1ad1d),{'attrs':v(v({},_0xa1ad1d['attrs']),{'id':_0xa1ad1d[_0x36866b(0x2a0)]['id']+_0x2a0f6d[_0x36866b(0x1f4)]})}):_0xa1ad1d;})}):_0x22ed06;}function Fi(){const _0x5e2db7=_0xf42a26;return Math[_0x5e2db7(0x2a3)]()[_0x5e2db7(0x211)](0x24)[_0x5e2db7(0x2d5)](0x2,0x8);}Fe['displayName']=_0xf42a26(0x219);var Yi={'tag':_0xf42a26(0x171),'attrs':{'xmlns':_0xf42a26(0x202),'fill':_0xf42a26(0x29d),'viewBox':_0xf42a26(0x2d6),'width':_0xf42a26(0x1ee),'height':_0xf42a26(0x1ee)},'children':[{'tag':'g','attrs':{'clipPath':_0xf42a26(0x29b)},'children':[{'tag':_0xf42a26(0x240),'attrs':{'stroke':_0xf42a26(0x114),'d':_0xf42a26(0x26c),'strokeLinecap':_0xf42a26(0x1d3),'strokeLinejoin':_0xf42a26(0x1d3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xf42a26(0x1e5),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xf42a26(0x240),'attrs':{'fill':_0xf42a26(0x1e6),'d':_0xf42a26(0x25f)}}]}]}],'defIds':[_0xf42a26(0x20b)]},Dt=_0x1f8b6f(function(_0x4a3b46,_0x4d67b0){const _0x4dd86e=_0xf42a26;return _0x39f8fc(Fe,Object[_0x4dd86e(0x277)]({},_0x4a3b46,{'id':_0x4dd86e(0x200),'ref':_0x4d67b0,'icon':Yi}));});Dt['displayName']=_0xf42a26(0xf8);var ji={'tag':_0xf42a26(0x171),'attrs':{'xmlns':_0xf42a26(0x202),'fill':_0xf42a26(0x29d),'viewBox':_0xf42a26(0x2df),'width':_0xf42a26(0x1ee),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xf42a26(0x2cd)},'children':[{'tag':_0xf42a26(0x240),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xf42a26(0x1d3),'strokeLinejoin':_0xf42a26(0x1d3),'strokeWidth':1.2}}]},{'tag':_0xf42a26(0x271),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xf42a26(0x240),'attrs':{'fill':_0xf42a26(0x1e6),'d':_0xf42a26(0x25f),'transform':'translate(.97)'}}]}]}],'defIds':[_0xf42a26(0x215)]},Nt=_0x1f8b6f(function(_0x1ff9ea,_0x319eba){const _0xb1c3a6=_0xf42a26;return _0x39f8fc(Fe,Object[_0xb1c3a6(0x277)]({},_0x1ff9ea,{'id':'on-line-icon','ref':_0x319eba,'icon':ji}));});Nt[_0xf42a26(0x239)]=_0xf42a26(0x18a);function Vi(_0x5e112f){const _0x2049d2=_0xf42a26;switch(_0x5e112f){case _0x128ff3['OFFLINE']:return _0x2049d2(0x181);case _0x128ff3[_0x2049d2(0x125)]:return _0x2049d2(0x255);case _0x128ff3[_0x2049d2(0x16d)]:return _0x2049d2(0x263);case _0x128ff3['NOT_COLLAB']:return _0x2049d2(0x121);case _0x128ff3[_0x2049d2(0x118)]:case _0x128ff3[_0x2049d2(0x17c)]:return _0x2049d2(0x1e3);case _0x128ff3[_0x2049d2(0x2ab)]:case _0x128ff3['PENDING']:return _0x2049d2(0x29e);}}function Wi(_0x38aa9a){const _0x55da28=_0xf42a26,{status$:_0x5b8e0c}=_0x38aa9a,_0x50159f=_0x34e523(_0x5b8e0c,_0x128ff3[_0x55da28(0x1ef)]),_0x1828cd=_0x1b4157(_0x5e2123),_0x19df18=_0x1b4157(_0x185917),_0x3c95c6=_0x50159f!==_0x128ff3[_0x55da28(0x19e)],_0x5c6b1c=_0x1828cd['t'](Vi(_0x50159f)),_0x457b96=_0x3c95c6?_0x250ed4(Nt,{}):_0x250ed4(Dt,{}),_0x24c52f=_0x3cda26(()=>{_0x3c95c6||_0x19df18['reconnect']();},[_0x3c95c6,_0x19df18]);function _0x223e07(){const _0x4111f3=_0x55da28;return _0x290399(_0x4111f3(0x15b),{'className':'univer-flex\x20univer-items-center','onClick':_0x24c52f,'children':[_0x250ed4(_0x4111f3(0x15b),{'className':_0x259845(_0x4111f3(0x112),{'univer-text-green-500':_0x3c95c6,'univer-text-red-500':!_0x3c95c6}),'children':_0x457b96}),_0x250ed4(_0x4111f3(0x15b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5c6b1c})]});}return _0x3c95c6?_0x223e07():_0x250ed4(_0x457153,{'title':_0x1828cd['t'](_0x55da28(0xea)),'children':_0x223e07()});}var Xi=Object[_0xf42a26(0x12c)],Gi=(_0xf3b480,_0x5a0b76,_0xf41eb8,_0x27bc37)=>{for(var _0x341877=_0x27bc37>0x1?void 0x0:_0x27bc37?Xi(_0x5a0b76,_0xf41eb8):_0x5a0b76,_0x25f4fe=_0xf3b480['length']-0x1,_0x5ed619;_0x25f4fe>=0x0;_0x25f4fe--)(_0x5ed619=_0xf3b480[_0x25f4fe])&&(_0x341877=_0x5ed619(_0x341877)||_0x341877);return _0x341877;},Q=(_0x277b39,_0x34c843)=>(_0x4491c5,_0x4a5a8f)=>_0x34c843(_0x4491c5,_0x4a5a8f,_0x277b39);let te=class extends _0x382bf8{constructor(_0x20ae51,_0x5287c7,_0x5982f1,_0x57f948){const _0x5a835e=_0xf42a26;super(),_(this,'_status$',new _0x535baf(_0x128ff3[_0x5a835e(0x1ef)])),(this[_0x5a835e(0x188)]=_0x20ae51,this[_0x5a835e(0x2a5)]=_0x5287c7,this[_0x5a835e(0x100)]=_0x5982f1,this[_0x5a835e(0x284)]=_0x57f948,this['_initStatusComponent'](),this[_0x5a835e(0x20a)]());}[_0xf42a26(0x20a)](){const _0x16e585=_0xf42a26;this['disposeWithMe'](this[_0x16e585(0x188)]['focused$'][_0x16e585(0xe3)](_0x188327(()=>{const _0x1c7944=_0x16e585,_0x44a341=this[_0x1c7944(0x188)][_0x1c7944(0x1b7)]();return _0x44a341?this[_0x1c7944(0x100)]['getCollabEntity$'](_0x44a341[_0x1c7944(0x1b2)]()):_0x3a77a9(null);}),_0x188327(_0x446b36=>_0x446b36?_0x446b36['status$']:_0x3a77a9(_0x128ff3[_0x16e585(0x1ef)])))['subscribe'](_0xa376df=>{const _0x5ba8de=_0x16e585;this[_0x5ba8de(0x1de)]['next'](_0xa376df);}));}['_initStatusComponent'](){const _0x5a65c5=_0xf42a26;this['disposeWithMe'](this[_0x5a65c5(0x284)][_0x5a65c5(0x25e)](_0x5f3ae7[_0x5a65c5(0x11a)],()=>_0x2c9e44(Ki({'status$':this[_0x5a65c5(0x1de)][_0x5a65c5(0x1c5)]()}),this[_0x5a65c5(0x2a5)])));}};te=Gi([Q(0x0,_0x26c0aa),Q(0x1,_0x29894a(_0x50c06f)),Q(0x2,_0x29894a(_0x1b39da)),Q(0x3,_0x3b847f)],te);function Ki(_0x39a7e6){const {status$:_0x5303a0}=_0x39a7e6;return function(){return _0x250ed4(Wi,{'status$':_0x5303a0});};}var zi=Object[_0xf42a26(0x12c)],Ji=(_0x384d3c,_0x4448cb,_0x4345a4,_0x3905e2)=>{for(var _0x84e616=_0x3905e2>0x1?void 0x0:_0x3905e2?zi(_0x4448cb,_0x4345a4):_0x4448cb,_0x3fd96b=_0x384d3c['length']-0x1,_0x5a3233;_0x3fd96b>=0x0;_0x3fd96b--)(_0x5a3233=_0x384d3c[_0x3fd96b])&&(_0x84e616=_0x5a3233(_0x84e616)||_0x84e616);return _0x84e616;},B=(_0x5953d7,_0x89b4a5)=>(_0x431847,_0x4b56c2)=>_0x89b4a5(_0x431847,_0x4b56c2,_0x5953d7);let se=class extends _0x382bf8{constructor(_0xda051b,_0x45957d,_0x3d8b96,_0x44b1d1,_0x2f6d29,_0x1686a5){const _0x307cc8=_0xf42a26;super(),this[_0x307cc8(0xe1)]=_0xda051b,this[_0x307cc8(0x245)]=_0x45957d,this['_collaborationUIEventService']=_0x3d8b96,this[_0x307cc8(0x267)]=_0x44b1d1,this[_0x307cc8(0x158)]=_0x2f6d29,this[_0x307cc8(0x178)]=_0x1686a5,this[_0x307cc8(0x170)](),this[_0x307cc8(0x19c)]();}[_0xf42a26(0x170)](){const _0x599b88=_0xf42a26;this[_0x599b88(0x136)](this[_0x599b88(0xe1)][_0x599b88(0x21f)](()=>{const _0x2ab8f6=_0x599b88;if(this[_0x2ab8f6(0x245)][_0x2ab8f6(0x1c0)][_0x2ab8f6(0x130)])return this['_localeService']['t'](_0x2ab8f6(0x22a));}));}[_0xf42a26(0x19c)](){const _0x57748b=_0xf42a26;this['disposeWithMe'](this[_0x57748b(0x1b0)]['event$']['subscribe'](_0x4d2a5b=>{const _0x456002=_0x57748b;_0x4d2a5b['id']===_0xfb429d[_0x456002(0x146)]&&this[_0x456002(0x267)][_0x456002(0x209)]({'type':_0x132b2f['Warning'],'content':this[_0x456002(0x178)]['t']('collaboration.single-unit.warning')}),_0x4d2a5b['id']===_0xfb429d[_0x456002(0x134)]&&this[_0x456002(0x267)][_0x456002(0x209)]({'type':_0x132b2f['Warning'],'content':this[_0x456002(0x178)]['t'](_0x456002(0x265))}),_0x4d2a5b['id']===_0xfb429d['PERMISSION_DENIED']&&this[_0x456002(0x158)][_0x456002(0x209)]({'title':this['_localeService']['t'](_0x456002(0x20f)),'content':this['_localeService']['t'](_0x456002(0x283)),'type':_0x456002(0xff),'duration':0x0}),_0x4d2a5b['id']===_0xfb429d[_0x456002(0x125)]&&this['_messageService']['show']({'type':_0x132b2f[_0x456002(0x218)],'content':this[_0x456002(0x178)]['t']('collaboration.closeRoom')+'('+_0x4d2a5b[_0x456002(0x238)]+')'}),_0x4d2a5b['id']===_0xfb429d['JOIN_ROOM_FAILED']&&this['_messageService'][_0x456002(0x209)]({'type':_0x132b2f[_0x456002(0x2c4)],'content':this[_0x456002(0x178)]['t'](_0x4d2a5b[_0x456002(0x238)]||'')}),_0x4d2a5b['id']===_0xfb429d[_0x456002(0x226)]&&this[_0x456002(0x267)][_0x456002(0x209)]({'type':_0x132b2f[_0x456002(0x2c4)],'content':this[_0x456002(0x178)]['t'](_0x456002(0x177))}),_0x4d2a5b['id']===_0xfb429d[_0x456002(0x1a3)]&&this[_0x456002(0x267)]['show']({'type':_0x132b2f[_0x456002(0x218)],'content':this[_0x456002(0x178)]['t'](_0x456002(0x1d4))}),_0x4d2a5b['id']===_0xfb429d[_0x456002(0x15f)]&&this['_messageService'][_0x456002(0x209)]({'type':_0x132b2f[_0x456002(0x218)],'content':this[_0x456002(0x178)]['t'](_0x456002(0xe5))});}));}};se=Ji([B(0x0,_0x1f171c),B(0x1,_0x30966a),B(0x2,_0x29894a(_0x48bf70)),B(0x3,_0x29ae03),B(0x4,_0x3f120a),B(0x5,_0x29894a(_0x5e2123))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x103abb(_0xf42a26(0x109));var Qi=Object[_0xf42a26(0x12c)],qi=(_0x1fea8e,_0x524d13,_0x4f7249,_0x2dbb20)=>{for(var _0x171700=_0x2dbb20>0x1?void 0x0:_0x2dbb20?Qi(_0x524d13,_0x4f7249):_0x524d13,_0x272b49=_0x1fea8e['length']-0x1,_0x186eeb;_0x272b49>=0x0;_0x272b49--)(_0x186eeb=_0x1fea8e[_0x272b49])&&(_0x171700=_0x186eeb(_0x171700)||_0x171700);return _0x171700;},G=(_0x145c28,_0x282a39)=>(_0x5a5e7a,_0x4cdec2)=>_0x282a39(_0x5a5e7a,_0x4cdec2,_0x145c28);let ie=class extends _0x14f0e9{constructor(_0x3a8a33,_0x2c7c11,_0x389a6a,_0x2e9103,_0x12d1e8){const _0x50250f=_0xf42a26;super(),this['_urlService']=_0x3a8a33,this[_0x50250f(0x2b6)]=_0x2c7c11,this[_0x50250f(0x1ad)]=_0x389a6a,this[_0x50250f(0x104)]=_0x2e9103,_0x12d1e8?_0x12d1e8==null||_0x12d1e8[_0x50250f(0x24c)]()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x50250f(0x25d),_0x50250f(0x290)),this[_0x50250f(0x12b)]());}async[_0xf42a26(0x12b)](){const _0x4f2354=_0xf42a26,_0x337476=this[_0x4f2354(0x28f)][_0x4f2354(0x131)]('unit'),_0x19ed36=this[_0x4f2354(0x28f)]['getParam']('type'),_0x4bd48b=this[_0x4f2354(0x28f)]['getParam'](_0x4f2354(0x1a0));if(!_0x337476||!_0x19ed36){this[_0x4f2354(0x2b6)][_0x4f2354(0x156)](_0x4f2354(0x25d),_0x4f2354(0x2d7));return;}const _0xbf607c=await this[_0x4f2354(0x104)]['loadUnit'](_0x337476,Number(_0x19ed36),_0x4bd48b);_0xbf607c&&_0xbf607c instanceof _0x7953d3&&this['_setupSubUnitSync'](_0xbf607c);}async[_0xf42a26(0x2bf)](_0x36e186){const _0x388c6b=_0xf42a26;await this[_0x388c6b(0x14e)](_0x36e186),_0x36e186['activeSheet$'][_0x388c6b(0xe3)](_0x1101d1(this[_0x388c6b(0x1f9)]))[_0x388c6b(0x1d7)](_0x6f248f=>{const _0x3bbd9a=_0x388c6b;_0x6f248f&&this[_0x3bbd9a(0x2d3)](_0x6f248f);}),this[_0x388c6b(0x28f)][_0x388c6b(0x1ac)]['pipe'](_0x1101d1(this[_0x388c6b(0x1f9)]))[_0x388c6b(0x1d7)](()=>this[_0x388c6b(0x14e)](_0x36e186));}[_0xf42a26(0x2d3)](_0x19b2c6,_0x2823fd=!0x1){const _0x430805=_0xf42a26,_0x2b988f=this['_urlService'][_0x430805(0x131)](_0x430805(0x1a0));_0x19b2c6[_0x430805(0x151)]()!==_0x2b988f&&this[_0x430805(0x28f)][_0x430805(0x129)](_0x430805(0x1a0),_0x19b2c6[_0x430805(0x151)](),_0x2823fd);}async['_updateSubUnitFromURLParams'](_0x4eb797){const _0x548f62=_0xf42a26;var _0x4474db;const _0x3f1b23=this[_0x548f62(0x28f)][_0x548f62(0x131)](_0x548f62(0x1a0));if(!_0x3f1b23||!_0x4eb797[_0x548f62(0x166)](_0x3f1b23)){const _0x162cc8=_0x4eb797[_0x548f62(0x285)]()[0x0],_0x594c28=_0x4eb797[_0x548f62(0x166)](_0x162cc8);if(!_0x594c28)return;this[_0x548f62(0x2d3)](_0x594c28,!0x0),await this['_commandService'][_0x548f62(0x1bb)](_0x12eabb['id'],{'unitId':_0x4eb797[_0x548f62(0x1b2)](),'subUnitId':_0x162cc8});return;}((_0x4474db=_0x4eb797[_0x548f62(0x1bf)]())==null?void 0x0:_0x4474db[_0x548f62(0x151)]())!==_0x3f1b23&&await this[_0x548f62(0x1ad)]['executeCommand'](_0x12eabb['id'],{'unitId':_0x4eb797[_0x548f62(0x1b2)](),'subUnitId':_0x3f1b23});}};ie=qi([G(0x0,Ut),G(0x1,_0xe3c8a),G(0x2,_0x2320d3),G(0x3,_0x29894a(_0x47d780)),G(0x4,_0x19d3e8(_0x48e1a4))],ie);var en=Object[_0xf42a26(0x12c)],tn=(_0x569997,_0x2634a9,_0x148b3d,_0x451682)=>{const _0x2aa7b3=_0xf42a26;for(var _0x47b0ba=_0x451682>0x1?void 0x0:_0x451682?en(_0x2634a9,_0x148b3d):_0x2634a9,_0x40940d=_0x569997[_0x2aa7b3(0x1db)]-0x1,_0x496e3e;_0x40940d>=0x0;_0x40940d--)(_0x496e3e=_0x569997[_0x40940d])&&(_0x47b0ba=_0x496e3e(_0x47b0ba)||_0x47b0ba);return _0x47b0ba;},pe=(_0x5bf0fe,_0x11db2b)=>(_0x3f4c90,_0x1725aa)=>_0x11db2b(_0x3f4c90,_0x1725aa,_0x5bf0fe);let ne=class{constructor(_0x29ec76,_0xb012e5,_0x1b2688){const _0x4bcd7b=_0xf42a26;this[_0x4bcd7b(0x2a5)]=_0x29ec76,this[_0x4bcd7b(0x1c8)]=_0xb012e5,this[_0x4bcd7b(0x19f)]=_0x1b2688;}[_0xf42a26(0xe4)](_0x1a624e){const _0x322457=_0xf42a26;this['_transformUndoRedoStack'](_0x1a624e),this[_0x322457(0x20d)](_0x1a624e);}[_0xf42a26(0x298)](_0x3c79ce){const _0x58645b=_0xf42a26,{unitID:_0x1a949a}=_0x3c79ce,_0x2d9761=this[_0x58645b(0x19f)][_0x58645b(0x29c)](_0x1a949a)[_0x58645b(0x260)](_0x258c9c),{redoCache:_0x50fc52}=_0x2d9761[_0x58645b(0x14c)]();if(_0x50fc52[_0x58645b(0x1db)]===0x0)return _0x3c79ce;let _0x27f1bf=_0x51f6f1[_0x58645b(0x16b)](_0x3c79ce[_0x58645b(0xf0)][0x0]);for(let _0x202406=0x0;_0x202406<_0x50fc52[_0x58645b(0x1db)];_0x202406++){const _0x1fb2b1={'id':_0x58645b(0x26f),'params':{..._0x50fc52[_0x202406]}},_0xfe8707=this[_0x58645b(0x1c8)][_0x58645b(0xe6)](_0x27f1bf,_0x1fb2b1,!0x1);if(_0x5ec000(_0xfe8707))throw _0xfe8707['error'];_0x27f1bf=_0xfe8707['m1Prime'];}return{..._0x51f6f1[_0x58645b(0x16b)](_0x3c79ce),'mutations':[_0x27f1bf]};}[_0xf42a26(0x228)](_0x1ae80a){const _0x441ea7=_0xf42a26,{unitID:_0x2a6915}=_0x1ae80a,_0x4aa359=this[_0x441ea7(0x19f)][_0x441ea7(0x29c)](_0x2a6915)[_0x441ea7(0x260)](_0x258c9c),{undoCache:_0x246005,redoCache:_0x3f2a15}=_0x4aa359['getUndoRedoMutationParamsCache']();if(_0x246005[_0x441ea7(0x1db)]===0x0||_0x3f2a15[_0x441ea7(0x1db)]===0x0)return;const _0x223834=[],_0x143e89=[];let _0x2a9b69=_0x51f6f1[_0x441ea7(0x16b)](_0x1ae80a[_0x441ea7(0xf0)][0x0]),_0x4d5439=_0x51f6f1[_0x441ea7(0x16b)](_0x1ae80a[_0x441ea7(0xf0)][0x0]);for(let _0x7f60e9=_0x246005[_0x441ea7(0x1db)]-0x1;_0x7f60e9>=0x0;_0x7f60e9--){const _0xb56b11={'id':_0x441ea7(0x26f),'params':{..._0x246005[_0x7f60e9]}},_0x150756={'id':_0x441ea7(0x26f),'params':{..._0x3f2a15[_0x7f60e9]}},_0x48a04b=this[_0x441ea7(0x1c8)][_0x441ea7(0xe6)](_0x2a9b69,_0xb56b11,!0x1),_0xcb5c3f=this[_0x441ea7(0x1c8)][_0x441ea7(0xe6)](_0x4d5439,_0x150756,!0x1);if(_0x5ec000(_0x48a04b))throw _0x48a04b[_0x441ea7(0xff)];if(_0x5ec000(_0xcb5c3f))throw _0xcb5c3f[_0x441ea7(0xff)];_0x223834[_0x441ea7(0x186)](_0x48a04b['m2Prime'][_0x441ea7(0x193)]),_0x143e89[_0x441ea7(0x186)](_0xcb5c3f[_0x441ea7(0x28d)][_0x441ea7(0x193)]),_0x2a9b69=_0x48a04b[_0x441ea7(0x23e)],_0x4d5439=_0xcb5c3f[_0x441ea7(0x23e)];}_0x4aa359['setUndoRedoMutationParamsCache']({'undoCache':_0x223834,'redoCache':_0x143e89});}[_0xf42a26(0x20d)](_0x296e18){const _0x4923a0=_0xf42a26,{unitID:_0x3c6371}=_0x296e18,_0x1e9924=this[_0x4923a0(0x19f)][_0x4923a0(0x29c)](_0x3c6371)['with'](_0x258c9c),_0x53e783=_0x1e9924[_0x4923a0(0x2d8)]();if(_0x53e783==null)return;const _0x5f5a7a=[{'id':_0x4923a0(0x26f),'params':{'unitId':_0x296e18[_0x4923a0(0x1a7)],'actions':null,'textRanges':[_0x53e783]}}],_0x4bd199=this[_0x4923a0(0x1c8)][_0x4923a0(0x28c)](_0x296e18,_0x5f5a7a);if(!_0x3b04b2(_0x4bd199))throw _0x4bd199[_0x4923a0(0xff)];const _0x3a15e1=_0x4bd199[_0x4923a0(0x28d)][0x0][_0x4923a0(0x193)][_0x4923a0(0x18e)];Array[_0x4923a0(0x183)](_0x3a15e1)&&_0x3a15e1[_0x4923a0(0x1db)]&&_0x1e9924[_0x4923a0(0x1b8)](_0x3a15e1[0x0]);}};ne=tn([pe(0x0,_0x29894a(_0x50c06f)),pe(0x1,_0x167c0a),pe(0x2,_0x1283ce)],ne);var sn=Object[_0xf42a26(0x12c)],nn=(_0x28bd46,_0xbbbba9,_0x4ff4c4,_0x5b08c4)=>{const _0x2ad8c3=_0xf42a26;for(var _0x1641b5=_0x5b08c4>0x1?void 0x0:_0x5b08c4?sn(_0xbbbba9,_0x4ff4c4):_0xbbbba9,_0x77ecce=_0x28bd46[_0x2ad8c3(0x1db)]-0x1,_0x4c5726;_0x77ecce>=0x0;_0x77ecce--)(_0x4c5726=_0x28bd46[_0x77ecce])&&(_0x1641b5=_0x4c5726(_0x1641b5)||_0x1641b5);return _0x1641b5;},Ce=(_0x56e6fe,_0x11ab34)=>(_0x5a3d73,_0x3e22d4)=>_0x11ab34(_0x5a3d73,_0x3e22d4,_0x56e6fe);let re=class{constructor(_0x719c0e,_0x18068d,_0x4c44b1){const _0x3a7688=_0xf42a26;this['_injector']=_0x719c0e,this[_0x3a7688(0x1c8)]=_0x18068d,this['_docStateChangeManagerService']=_0x4c44b1;}[_0xf42a26(0x2a8)](_0xe52967){const _0x181ee9=_0xf42a26;this[_0x181ee9(0x2ca)](_0xe52967);}[_0xf42a26(0x298)](_0x17e330){const _0x562e85=_0xf42a26,{unitID:_0x2d38fc}=_0x17e330,{collaboration:_0xffd583}=this[_0x562e85(0x1d5)]['getStateCache'](_0x2d38fc);if(_0xffd583[_0x562e85(0x1db)]===0x0)return _0x17e330;let _0xf45b4c=_0x51f6f1['deepClone'](_0x17e330[_0x562e85(0xf0)][0x0]);for(let _0x5f5cae=0x0;_0x5f5cae<_0xffd583[_0x562e85(0x1db)];_0x5f5cae++){const _0x2acc70={'id':_0x562e85(0x26f),'params':{'unitId':_0xffd583[_0x5f5cae]['unitId'],..._0xffd583[_0x5f5cae]['redoState']}},_0x2cda2=this['_transformService'][_0x562e85(0xe6)](_0xf45b4c,_0x2acc70,!0x1);if(_0x5ec000(_0x2cda2))throw _0x2cda2['error'];_0xf45b4c=_0x2cda2[_0x562e85(0x23e)];}return{..._0x51f6f1['deepClone'](_0x17e330),'mutations':[_0xf45b4c]};}[_0xf42a26(0x2ca)](_0x1dd03f){const _0x3ce731=_0xf42a26,{unitID:_0x5e30a2}=_0x1dd03f,{history:_0x271264,collaboration:_0x5d8c18}=this[_0x3ce731(0x1d5)][_0x3ce731(0x2b9)](_0x5e30a2);if(_0x271264['length']===0x0&&_0x5d8c18['length']===0x0)return;const _0x3dfd8a=[],_0x630eec=[];let _0x313036=_0x51f6f1[_0x3ce731(0x16b)](_0x1dd03f[_0x3ce731(0xf0)][0x0]),_0x47246=_0x51f6f1[_0x3ce731(0x16b)](_0x1dd03f[_0x3ce731(0xf0)][0x0]);for(let _0x9b3418=_0x271264[_0x3ce731(0x1db)]-0x1;_0x9b3418>=0x0;_0x9b3418--){const _0x553d22={'id':_0x3ce731(0x26f),'params':{'unitId':_0x271264[_0x9b3418]['unitId'],..._0x271264[_0x9b3418]['undoState']}},_0x4db35e={'id':_0x3ce731(0x26f),'params':{'unitId':_0x271264[_0x9b3418][_0x3ce731(0x1fb)],..._0x271264[_0x9b3418][_0x3ce731(0x1b9)]}},_0x1d0ca6=this[_0x3ce731(0x1c8)][_0x3ce731(0xe6)](_0x313036,_0x553d22,!0x1),_0x532803=this[_0x3ce731(0x1c8)]['transformMutation'](_0x47246,_0x4db35e,!0x1);if(_0x5ec000(_0x1d0ca6))throw _0x1d0ca6['error'];if(_0x5ec000(_0x532803))throw _0x532803[_0x3ce731(0xff)];_0x3dfd8a['unshift']({..._0x271264[_0x9b3418],'undoState':_0x1d0ca6['m2Prime']['params'],'redoState':_0x532803[_0x3ce731(0x28d)][_0x3ce731(0x193)]}),_0x313036=_0x1d0ca6['m1Prime'],_0x47246=_0x532803[_0x3ce731(0x23e)];}_0x313036=_0x51f6f1[_0x3ce731(0x16b)](_0x1dd03f['mutations'][0x0]),_0x47246=_0x51f6f1[_0x3ce731(0x16b)](_0x1dd03f['mutations'][0x0]);for(let _0x50e433=_0x5d8c18[_0x3ce731(0x1db)]-0x1;_0x50e433>=0x0;_0x50e433--){const _0x3b21c3={'id':_0x3ce731(0x26f),'params':{'unitId':_0x5d8c18[_0x50e433][_0x3ce731(0x1fb)],..._0x5d8c18[_0x50e433][_0x3ce731(0x1c9)]}},_0x7c249f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d8c18[_0x50e433]['unitId'],..._0x5d8c18[_0x50e433][_0x3ce731(0x1b9)]}},_0x47cdfe=this['_transformService']['transformMutation'](_0x313036,_0x3b21c3,!0x1),_0x22c350=this[_0x3ce731(0x1c8)][_0x3ce731(0xe6)](_0x47246,_0x7c249f,!0x1);if(_0x5ec000(_0x47cdfe))throw _0x47cdfe['error'];if(_0x5ec000(_0x22c350))throw _0x22c350[_0x3ce731(0xff)];_0x630eec[_0x3ce731(0x186)]({..._0x5d8c18[_0x50e433],'undoState':_0x47cdfe[_0x3ce731(0x28d)]['params'],'redoState':_0x22c350[_0x3ce731(0x28d)][_0x3ce731(0x193)]}),_0x313036=_0x47cdfe[_0x3ce731(0x23e)],_0x47246=_0x22c350[_0x3ce731(0x23e)];}this['_docStateChangeManagerService'][_0x3ce731(0x119)](_0x5e30a2,{'history':_0x3dfd8a,'collaboration':_0x630eec});}};re=nn([Ce(0x0,_0x29894a(_0x50c06f)),Ce(0x1,_0x167c0a),Ce(0x2,_0x29894a(_0x37cc6d))],re);var rn=Object[_0xf42a26(0x12c)],on=(_0x2f2859,_0x2991f5,_0x27eab0,_0x5e0897)=>{const _0x86be65=_0xf42a26;for(var _0x138025=_0x5e0897>0x1?void 0x0:_0x5e0897?rn(_0x2991f5,_0x27eab0):_0x2991f5,_0x58fbf9=_0x2f2859[_0x86be65(0x1db)]-0x1,_0x4786fb;_0x58fbf9>=0x0;_0x58fbf9--)(_0x4786fb=_0x2f2859[_0x58fbf9])&&(_0x138025=_0x4786fb(_0x138025)||_0x138025);return _0x138025;},tt=(_0x4527e0,_0x1c0194)=>(_0x354efc,_0x38bed6)=>_0x1c0194(_0x354efc,_0x38bed6,_0x4527e0);let oe=class{constructor(_0x12c15d,_0x32bf0f){const _0x3f3711=_0xf42a26;this['_injector']=_0x12c15d,this[_0x3f3711(0x1c8)]=_0x32bf0f;}[_0xf42a26(0x235)](_0xf0589b){const _0xc1bdf2=_0xf42a26;var _0x1cc015;const _0x52664f=this[_0xc1bdf2(0x2a5)]['get'](_0x5e82eb),_0xc76aaa=(_0x1cc015=_0x52664f['getDocRanges']())!=null?_0x1cc015:[];if(_0xc76aaa['length']===0x0)return;const _0x421811=_0xf0589b['unitID'],_0x12a3ff=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x421811,'actions':null,'textRanges':_0xc76aaa}}],_0xfa1bce=this[_0xc1bdf2(0x1c8)][_0xc1bdf2(0x28c)](_0xf0589b,_0x12a3ff);if(!_0x3b04b2(_0xfa1bce))throw _0xfa1bce[_0xc1bdf2(0xff)];const _0x48d2f3=_0xfa1bce['m2Prime'][0x0][_0xc1bdf2(0x193)][_0xc1bdf2(0x18e)];Array['isArray'](_0x48d2f3)&&_0x48d2f3[_0xc1bdf2(0x1db)]&&_0x52664f['replaceDocRanges'](_0x48d2f3,{'unitId':_0x421811,'subUnitId':_0x421811},!0x1);}};oe=on([tt(0x0,_0x29894a(_0x50c06f)),tt(0x1,_0x167c0a)],oe);var an=Object[_0xf42a26(0x12c)],cn=(_0xe29547,_0x1c4f41,_0x57f09e,_0x4842c6)=>{const _0x21639e=_0xf42a26;for(var _0x2d7147=_0x4842c6>0x1?void 0x0:_0x4842c6?an(_0x1c4f41,_0x57f09e):_0x1c4f41,_0x181b86=_0xe29547[_0x21639e(0x1db)]-0x1,_0x2aaeca;_0x181b86>=0x0;_0x181b86--)(_0x2aaeca=_0xe29547[_0x181b86])&&(_0x2d7147=_0x2aaeca(_0x2d7147)||_0x2d7147);return _0x2d7147;},U=(_0x48b4d0,_0x25500b)=>(_0x9c98b7,_0x3cd465)=>_0x25500b(_0x9c98b7,_0x3cd465,_0x48b4d0);let ae=class extends _0x382bf8{constructor(_0x52fc8e,_0x11b60c,_0x260b67,_0x517663,_0xed4dee,_0x32dbe4,_0x33dc10,_0x210c50){const _0x1a2e54=_0xf42a26;super(),_(this,_0x1a2e54(0x1de),new _0x535baf(_0x128ff3[_0x1a2e54(0x1ef)])),(this[_0x1a2e54(0x1d5)]=_0x52fc8e,this[_0x1a2e54(0x100)]=_0x11b60c,this[_0x1a2e54(0x208)]=_0x260b67,this[_0x1a2e54(0xfa)]=_0x517663,this[_0x1a2e54(0x23a)]=_0xed4dee,this[_0x1a2e54(0x1f8)]=_0x32dbe4,this[_0x1a2e54(0x267)]=_0x33dc10,this[_0x1a2e54(0x178)]=_0x210c50,this[_0x1a2e54(0x22d)]());}[_0xf42a26(0x22d)](){const _0x305b33=_0xf42a26;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x305b33(0x1d7)](_0x2e9065=>{const _0xa1d266=_0x305b33,_0x5bbaf7=this[_0xa1d266(0x1d5)][_0xa1d266(0x14d)]['subscribe'](_0x2412fe=>{const _0x45087c=_0xa1d266;if(_0x2412fe==null)return;const {unitId:_0x478c95,redoState:_0x5ce91f,commandId:_0x392af5}=_0x2412fe;if(_0x478c95!==_0x2e9065['unitID'])return;const _0x2fcf93={'id':_0x392af5,'type':_0x5a1981[_0x45087c(0x264)],'params':{'unitId':_0x478c95,'actions':_0x5ce91f['actions'],'textRanges':null}};_0x2e9065[_0x45087c(0x266)](_0x2fcf93);});if(_0x2e9065['disposeWithMe'](_0x5bbaf7),_0x2e9065 instanceof _0xdcbea){const _0x1bd564={'onTransformIME':_0x4e1b78=>this[_0xa1d266(0x208)][_0xa1d266(0xe4)](_0x4e1b78),'onTransformState':_0x2e4cd4=>this[_0xa1d266(0xfa)][_0xa1d266(0x2a8)](_0x2e4cd4),'onTransformSelections':_0x8f7a63=>this['_docTransformSelectionsService'][_0xa1d266(0x235)](_0x8f7a63),'onSyncEditingCollabCursor':_0x2e453e=>this[_0xa1d266(0x1f8)][_0xa1d266(0x2c6)](_0x2e453e),'onTransformRemoteChangesetByIMECache':_0x55f98b=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x55f98b),'onTransformRemoteChangesetByStateCache':_0x26ff7f=>this[_0xa1d266(0xfa)][_0xa1d266(0x298)](_0x26ff7f)};_0x2e9065[_0xa1d266(0x242)](_0x1bd564);}}));}};ae=cn([U(0x0,_0x29894a(_0x37cc6d)),U(0x1,_0x29894a(_0x1b39da)),U(0x2,_0x29894a(ne)),U(0x3,_0x29894a(re)),U(0x4,_0x29894a(oe)),U(0x5,_0x29894a(He)),U(0x6,_0x29ae03),U(0x7,_0x29894a(_0x5e2123))],ae);var ln=Object[_0xf42a26(0x12c)],_n=(_0x283617,_0xe59904,_0x4a9609,_0x5be19f)=>{for(var _0x31d950=_0x5be19f>0x1?void 0x0:_0x5be19f?ln(_0xe59904,_0x4a9609):_0xe59904,_0x57dc0c=_0x283617['length']-0x1,_0x4e8ef5;_0x57dc0c>=0x0;_0x57dc0c--)(_0x4e8ef5=_0x283617[_0x57dc0c])&&(_0x31d950=_0x4e8ef5(_0x31d950)||_0x31d950);return _0x31d950;},Ee=(_0x2c6ecd,_0x267862)=>(_0x2e2335,_0x4deb28)=>_0x267862(_0x2e2335,_0x4deb28,_0x2c6ecd);let we=class extends _0x382bf8{constructor(_0x3d384e,_0x5b2a6f,_0x58781f){const _0x363c3d=_0xf42a26;super(),_(this,_0x363c3d(0x1f6),new Map()),_(this,_0x363c3d(0x152),new Map()),_(this,_0x363c3d(0x1dd),!0x1),(this[_0x363c3d(0x262)]=_0x3d384e,this[_0x363c3d(0x141)]=_0x5b2a6f,this[_0x363c3d(0x2de)]=_0x58781f);}[_0xf42a26(0x14f)](){const _0x60a6b2=_0xf42a26;this[_0x60a6b2(0x1dd)]=!0x0;}[_0xf42a26(0x173)](){const _0x162d74=_0xf42a26;this[_0x162d74(0x1dd)]=!0x1;}get[_0xf42a26(0x1c0)](){const _0x272712=_0xf42a26;return this[_0x272712(0x152)];}[_0xf42a26(0x229)](){const _0x260314=_0xf42a26;this[_0x260314(0x2dd)]()[_0x260314(0x252)](()=>super[_0x260314(0x229)]());}async['loadOfflineData'](_0x2896aa){const _0x21f823=_0xf42a26;return this[_0x21f823(0x1dd)]?null:this[_0x21f823(0x141)]['getItem'](_0x1d74fa(_0x2896aa));}async[_0xf42a26(0x108)](_0x1fa0b3,_0x11d10f){const _0x3d48dc=_0xf42a26;return!!this[_0x3d48dc(0x141)][_0x3d48dc(0x105)](_0x1fa0b3,_0x11d10f);}['updateOfflineData'](_0x204aac,_0x195f29,_0x53971c,_0x5076e6){const _0x3c5db1=_0xf42a26,_0xcaaf7b=this[_0x3c5db1(0x2de)][_0x3c5db1(0x2e0)](_0x204aac);this[_0x3c5db1(0x1f6)][_0x3c5db1(0x2b4)](_0x204aac,{'unitID':_0x204aac,'type':_0x195f29,'awaitingChangeset':_0x53971c,'mutations':_0x5076e6,'rev':_0xcaaf7b}),this['_saveTaskMap'][_0x3c5db1(0x18f)](_0x204aac)||this['_scheduleSaving'](_0x204aac);}['_scheduleSaving'](_0x51065a){const _0x4b0b62=_0xf42a26,_0x4d8137=this[_0x4b0b62(0x23f)]();_0x4d8137===0x0?this[_0x4b0b62(0x1cf)](_0x51065a):this[_0x4b0b62(0x152)][_0x4b0b62(0x2b4)](_0x51065a,setTimeout(()=>this[_0x4b0b62(0x1cf)](_0x51065a),_0x4d8137));}[_0xf42a26(0x23f)](){const _0x2f0c0d=_0xf42a26;var _0x7ecbba;return(_0x7ecbba=this[_0x2f0c0d(0x262)][_0x2f0c0d(0x189)](_0x9ca664))!=null?_0x7ecbba:_0x42bc6d;}['_saveCache'](_0x1a0da5){const _0x49c424=_0xf42a26,_0x41c334=this['_saveTaskMap'][_0x49c424(0x27e)](_0x1a0da5);return _0x41c334!==void 0x0&&window[_0x49c424(0x159)](_0x41c334),this[_0x49c424(0x141)]['setItem'](_0x1d74fa(_0x1a0da5),this[_0x49c424(0x1f6)][_0x49c424(0x27e)](_0x1a0da5))[_0x49c424(0x252)](()=>this[_0x49c424(0x152)][_0x49c424(0x273)](_0x1a0da5));}async[_0xf42a26(0x2dd)](){const _0x26b522=_0xf42a26,_0xa002c5=[];this[_0x26b522(0x152)][_0x26b522(0x140)]((_0x41c0a,_0x4f6153)=>{const _0x266152=_0x26b522;window['clearTimeout'](_0x41c0a),_0xa002c5[_0x266152(0x122)](this[_0x266152(0x1cf)](_0x4f6153)['then'](()=>{const _0x5c8aa2=_0x266152;this['_saveTaskMap'][_0x5c8aa2(0x273)](_0x4f6153);}));}),await Promise[_0x26b522(0x21c)](_0xa002c5);}};we=_n([Ee(0x0,_0xf5f608),Ee(0x1,_0x29bdc4),Ee(0x2,_0x29894a(_0x518622))],we);class hn extends _0x14f0e9{constructor(){const _0x30620f=_0xf42a26;super(),_(this,_0x30620f(0x1ac)),this[_0x30620f(0x1ac)]=_0x33c672(window,_0x30620f(0x2b3))[_0x30620f(0xe3)](_0x1101d1(this[_0x30620f(0x1f9)]),_0x2fab77(0x1),_0x2a2d8e(void 0x0));}[_0xf42a26(0x129)](_0x19e183,_0x192b56,_0xf7aa97=!0x1){const _0x348f9a=_0xf42a26,_0x54329d=new URL(window[_0x348f9a(0x102)][_0x348f9a(0x169)]);_0x54329d[_0x348f9a(0x16e)][_0x348f9a(0x2b4)](_0x19e183,_0x192b56),_0xf7aa97?window['history']['replaceState']('','',_0x54329d['toString']()):window[_0x348f9a(0x249)][_0x348f9a(0x10f)]('','',_0x54329d[_0x348f9a(0x211)]());}[_0xf42a26(0x26e)](_0x43995d,_0x29e115=!0x1){const _0x21d789=_0xf42a26,_0x2c9074=new URL(window['location'][_0x21d789(0x169)]);_0x2c9074[_0x21d789(0x16e)]['delete'](_0x43995d),_0x29e115?window['history']['replaceState']('','',_0x2c9074[_0x21d789(0x211)]()):window[_0x21d789(0x249)]['pushState']('','',_0x2c9074[_0x21d789(0x211)]());}[_0xf42a26(0x131)](_0xcbb69b){const _0x26928e=_0xf42a26;var _0xa178cf;return(_0xa178cf=new URL(window['location'][_0x26928e(0x169)])[_0x26928e(0x16e)][_0x26928e(0x27e)](_0xcbb69b))!=null?_0xa178cf:void 0x0;}}var un=Object[_0xf42a26(0x187)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x2f11bc,_0x116b11,_0x27447b)=>_0x116b11 in _0x2f11bc?un(_0x2f11bc,_0x116b11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27447b}):_0x2f11bc[_0x116b11]=_0x27447b,Sn=(_0x1cf2ed,_0x46b1b6,_0x1d0757,_0x3b77bf)=>{const _0x15cc69=_0xf42a26;for(var _0x57c0d9=_0x3b77bf>0x1?void 0x0:_0x3b77bf?dn(_0x46b1b6,_0x1d0757):_0x46b1b6,_0x30bea2=_0x1cf2ed[_0x15cc69(0x1db)]-0x1,_0x4b39ea;_0x30bea2>=0x0;_0x30bea2--)(_0x4b39ea=_0x1cf2ed[_0x30bea2])&&(_0x57c0d9=_0x4b39ea(_0x57c0d9)||_0x57c0d9);return _0x57c0d9;},Oe=(_0x402cec,_0x40ad16)=>(_0x4c1dbb,_0x213606)=>_0x40ad16(_0x4c1dbb,_0x213606,_0x402cec),mn=(_0xba27e2,_0x139a86,_0x35029c)=>fn(_0xba27e2,_0x139a86+'',_0x35029c);const In=_0xf42a26(0x1fd);let Ae=class extends _0x5c0e7c{constructor(_0xd99f60=et,_0x1d20ee,_0x211a54,_0x5f4434){const _0x15511d=_0xf42a26;super(),this[_0x15511d(0x22c)]=_0xd99f60,this['_renderManagerService']=_0x1d20ee,this[_0x15511d(0x2a5)]=_0x211a54,this[_0x15511d(0x262)]=_0x5f4434;const {..._0x2b2331}=_0x87ab8b({},et,this[_0x15511d(0x22c)]);this[_0x15511d(0x262)][_0x15511d(0x17e)](Zi,_0x2b2331);}[_0xf42a26(0x26d)](){const _0x326cd0=_0xf42a26;this[_0x326cd0(0x210)](),this[_0x326cd0(0x269)]();}[_0xf42a26(0x292)](){this['_registerRenderDependencies']();}[_0xf42a26(0x210)](){const _0x394761=_0xf42a26;var _0x5a16bb;const _0x40a1f6=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x443e5f,{'useClass':_0x5088fa}],[_0x30966a,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x10a64f(this[_0x394761(0x2a5)],_0x1e3fe7(_0x40a1f6,(_0x5a16bb=this[_0x394761(0x22c)])==null?void 0x0:_0x5a16bb[_0x394761(0xfe)]));}[_0xf42a26(0x25c)](){const _0x1c3e00=_0xf42a26;this[_0x1c3e00(0x136)](this['_renderManagerService'][_0x1c3e00(0x11d)](_0x102ac0[_0x1c3e00(0x232)],[Le])),this[_0x1c3e00(0x136)](this[_0x1c3e00(0x19f)][_0x1c3e00(0x11d)](_0x102ac0[_0x1c3e00(0x1f7)],[Pe]));}[_0xf42a26(0x269)](){_0x22584b(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0xf42a26(0x2c7),In),Ae=Sn([_0xa2f535(_0x11cf84),Oe(0x1,_0x1283ce),Oe(0x2,_0x29894a(_0x50c06f)),Oe(0x3,_0xf5f608)],Ae);var gn=Object[_0xf42a26(0x12c)],vn=(_0x26f7e3,_0x5cf59a,_0x252aa8,_0x23ac20)=>{const _0x593e9b=_0xf42a26;for(var _0x50eca9=_0x23ac20>0x1?void 0x0:_0x23ac20?gn(_0x5cf59a,_0x252aa8):_0x5cf59a,_0x13bd9a=_0x26f7e3[_0x593e9b(0x1db)]-0x1,_0x2d002c;_0x13bd9a>=0x0;_0x13bd9a--)(_0x2d002c=_0x26f7e3[_0x13bd9a])&&(_0x50eca9=_0x2d002c(_0x50eca9)||_0x50eca9);return _0x50eca9;},K=(_0x5596cc,_0x24d21f)=>(_0x2acb9e,_0x3309d5)=>_0x24d21f(_0x2acb9e,_0x3309d5,_0x5596cc);let st=class extends _0x1ad7a7{constructor(_0x254aa0,_0x204d89,_0x4a8a0f,_0x181117,_0x3603ef){super(_0x254aa0,_0x204d89,_0x4a8a0f,_0x181117,_0x3603ef);}async['createSocket'](_0x22b3fb){const _0x49ad3e=_0xf42a26,_0x437128=await this[_0x49ad3e(0xeb)](),_0x1de785=this['_createSocketURL'](_0x22b3fb,_0x437128);return this[_0x49ad3e(0x221)](_0x1de785);}[_0xf42a26(0x11e)](_0x42b729,_0x3b5c79){const _0x2537f2=_0xf42a26,_0xa47211=typeof window>'u'?new URL(_0x42b729):new URL(_0x42b729,window[_0x2537f2(0x102)][_0x2537f2(0x2c3)]);_0xa47211[_0x2537f2(0x16e)]['set']('sessionTicket',_0x3b5c79);const _0x3ea3ea=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2537f2(0x102)][_0x2537f2(0x206)]);return _0x3ea3ea[_0x2537f2(0x27e)](_0x2537f2(0x154))&&_0xa47211['searchParams'][_0x2537f2(0x2b4)](_0x2537f2(0x154),_0x3ea3ea[_0x2537f2(0x27e)](_0x2537f2(0x154))),_0xa47211[_0x2537f2(0x211)]();}async[_0xf42a26(0xeb)](){const _0xa7304e=_0xf42a26;var _0x4b41d5,_0x3f46b2,_0x363edc;const _0x12bc82=this['_configService'][_0xa7304e(0x189)](_0x2a5fcd),_0x4b9e1e=(_0x4b41d5=_0x12bc82==null?void 0x0:_0x12bc82['wsSessionTicketUrl'])!=null?_0x4b41d5:_0x54705a;return(_0x363edc=(_0x3f46b2=(await this['_httpService'][_0xa7304e(0x27e)](_0x4b9e1e,{'headers':{'Content-Type':_0xa7304e(0x227)}}))[_0xa7304e(0x1b4)])==null?void 0x0:_0x3f46b2[_0xa7304e(0xed)])!=null?_0x363edc:'';}};st=vn([K(0x0,_0x29894a(_0x50c06f)),K(0x1,_0x29894a(_0x56c2d5)),K(0x2,_0xf5f608),K(0x3,_0xe3c8a),K(0x4,_0x182cc5)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';function _0x3abf(){const _0x42cbd8=['defIds','width','_localCacheService','event$','fillStyle','executionId','history','onMouseMove','unit','whenReady','map','_httpService','APPLY_DUPLICATED','_handleHeartbeatEvent','sheetId','then','subscribeEvent','apply','collabStatus.conflict','beginPath','fill','icon','_refRangeService','YUUMI_RATE_OVER_LIMIT','835308KWXNBN','_registerRenderDependencies','[CollaborationDataLoaderController]','registerComponent','M0\x200H16V16H0z','with','getTypeOfUnitAdded$','_configService','collabStatus.fetchMiss','MUTATION','collaboration.closeRoom','onLocalMutation','_messageService','_hover','_initDependencies','sessionStatus$','_color','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','onStarting','removeParam','doc.mutation.rich-text-editing','getCurrent','defs','_colorAssignService','delete','_refreshCollabCursors','_name','parse','assign','text','measureText','propertyIsEnumerable','UNDEFINED','generateRandomId','_selfUnitIDs','get','_clearOtherTimers','init','yellow.400','next','permission.content','_uiPartsService','getUnhiddenWorksheets','_unitOnClients','currentSkeleton$','INVITE_CODE_HAS_BEEN_UES','_unitStatus','evenodd','INVALID_ARGUMENT','transformMutationsWithChangeset','m2Prime','LOGIN_FAILED','_urlService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','lineTo','onRendered','_lastPointer','getMemberID','_initCommandExecutedListener','9924985WDgfkF','_sheetSkeletonManagerService','transformRemoteChangeset','_entityInit$','...','url(#off-line-icon_clip0_910_343)','getRenderById','none','collabStatus.synced','url(#$1','attrs','_handleLeaveEvent','_docSkeletonManagerService','random','name','_injector','PERMISSION_DENIED','send','transformStateCache','newValue','call','SYNCED','hasOwnProperty','APPLY_REVISION_CONFILICT','top','black','selection','_collabCursorController','assignAColorForMemberID','popstate','set','MOBILE_HAS_BEEN_BOUND','_logService','editingUnit','/run/','getStateCache','RemoveRowCommandId','_collabSessionService','_anchor','restore','InsertColCommandId','_setupSubUnitSync','_onRefRangeChange','color','stringify','origin','Warning','_shapes','syncEditingCollabCursor','pluginName','ALREADY_EXISTS','ONLINE','_transformHistoryAndStateStack','save','LICENSE_MAX_UNITS_EXCEEDED','url(#on-line-icon_clip0_910_349)','_context','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','USER_NOT_INVITED_CODE','_handleJoinEvent','YUUMI_URL_COL_OUT_OF_RANGE','_updateURLWithCurrentState','MOBILE_VERIFY_CODE_MISMATCH','substring','0\x200\x2016\x2016','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getActiveRange','_hideTimer','Unknown\x20user','column','OTHER_CLIENTS_EDITING','exhaustSavingTask','_revisionService','0\x200\x2017\x2016','getCurrentRevOfUnit','setShapeProps','getValue','green.600','_instanceService','_render','_beforeCloseService','font','pipe','transformIMECache','session.collaboration-timeout','transformMutation','_scene','function','setTimeout','collab-client.tooltip.reconnect','_getSessionTicket','INVITE_CODE_REQUIRED','ticket','addEventListener','startsWith','mutations','roomMembers','min','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getTypeOfUnitDisposed$','UNAUTHENTICATED','_entities','tag','OffLineIcon','skeleton','_docTransformStateCacheService','add','_ensureSubject','_toggleOnline','override','error','_collaborationController','APPLY_PERMISSION_DENIED','location','sheetID','_dataLoaderService','setItem','drawWith','collab-text-anchor-','saveOfflineData','uni.network.url-service','memberID','height','setAlpha','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onPointerEnter$','pushState','transform','source','univer-mr-2\x20univer-flex\x20univer-text-xl','getDocRanges','currentColor','InsertRangeMoveDownCommandId','onCommandExecuted','_themeService','AWAITING','setStateCache','HEADER_MENU','_cursorInfo$','getRangePointData','registerRenderModule','_createSocketURL','INVALID_INVITE_CODE','triggerDblclick','collabStatus.notCollab','push','_range','entries','CONFLICT','getCellPositionByOffset','_hovered','runOnServer','setParam','currentTheme$','_init','getOwnPropertyDescriptor','101508ANkhwI','YUUMI_SUBSCRIPTION_NOT_FOUND','_roomMembers$','size','getParam','_online','ranges','CLOSE_ROOM','hovered','disposeWithMe','univerjs-icon\x20univerjs-icon-','USERS_LEAVE','_cursors','isEditing','clearInterval','unload','_id','_handleHover','_backgroundColor','forEach','_localStorageService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','xlink:href','_cursor','code','OTHER_CLIENT_EDITING','contains','findNodePositionByCharIndex','className','startRow','createInstance','getUndoRedoMutationParamsCache','docStateChange$','_updateSubUnitFromURLParams','disableLocalCache','TOO_MANY_REQUESTS','getSheetId','_saveTaskMap','getVpScrollXYInfoByPosToVp','runId','_handleEvent','debug','endRow','_notificationService','clearTimeout','LICENSE_DISTRO_REJECTED','div','_scheduleHeartbeat','_document','type','SUBMIT_CHANGESET_TIMEOUT','addObjects','EMAIL_VERIFY_CODE_MISMATCH','closePath','RECT','ENSURE_SNAPSHOT_EXECUTION','onPointerLeave$','getSheetBySheetId','moveTo','500086wsbIiB','href','unsubscribe','deepClone','cursorInfo','FETCH_MISS','searchParams','3761255qrMpUE','_setupBeforeClosingHandler','svg','getAncestorScale','enableLocalCache','_toggleOffline','YUUMI_TABLE_NOT_FOUND_IN_UNIT','colorChannel1','session.will-retry','_localeService','onPointerMove$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','VIEW_MAIN','AWAITING_WITH_PENDING','_drawRectRange','setConfig','addClipboardHook','isActive','collabStatus.offline','9491SoxxOr','isArray','collabCursorState$','find','unshift','defineProperty','_univerInstanceService','getConfig','OnLineIcon','INVITE_CODE_ALREADY_BOUND','extend','_updateLocalCursor','textRanges','has','COMPLETION_FINISHED','_anchorDot','roomMembers$','params','children','#FFF','_draw','startColumn','saveImage','disposeUnit','TEXT','getCurrentUnitForType','_initEvent','_removeClearOtherTimer','OFFLINE','_renderManagerService','subunit','getCollabCursors$','Failed','SOCKET_FAILED','_onCursorUpdate','onTransformChange$','registerRefRange','unitID','fillText','engine','key','labelPosition','urlChange$','_commandService','8AFSAfu','use','_collaborationUIEventService','YUUMI_AI_RUN_FAILED','getUnitId','values','body','_collabCursorState$','concat','getFocusedUnit','setActiveRange','redoState','includes','executeCommand','split','_scheduleClearOtherTimer','_removeCollabCursors','getActiveSheet','saveTaskMap','CHANGESET_REVISION_CONFILICT','fillRule','cursorInfo$','_heartbeatTimer','asObservable','APPLY_REJECT','YUUMI_ASYNCIO_CANCELLED','_transformService','undoState','eventID','SNAPSHOT_INVALID_SNAPSHOT','_startSheetCollabCursor','_getScale','prototype','_saveCache','addObject','_colorIndex','result','round','session.connection-failed','_docStateChangeManagerService','UNRECOGNIZED','subscribe','_send','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_UNABLE_LOAD_URL','length','APPLY_NON_SEQUENTIAL_REVISION','_disabled','_status$','rgba(255,\x20255,\x20255,\x200.01)','getUniverSheetInstance','bottom','getMember','collabStatus.syncing','makeDirty','clipPath','white','_assignedColors','_imageIoService','getOwnPropertySymbols','SNAPSHOT_HAS_BEEN_REMOVED','_getMergeRange','resize','UPDATE_CURSOR','1em','NOT_COLLAB','LICENSE_IMPORT_SIZE_EXCEEDED','_memberService','MoveRangeCommandId','InsertRowCommandId','idSuffix','_cursorShapes','_cachedData','UNIVER_SHEET','_docSyncEditingCollabCursorService','dispose$','RemoveColCommandId','unitId','arc','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INTERNAL_ERROR','getCurrentSelections','off-line-icon','_updateCollabCursors','http://www.w3.org/2000/svg','CONNECTOR_DATA_TOO_LARGE','string','_onCursorDelete','search','toRgbString','_docTransformIMECacheService','show','_initStatusListener','off-line-icon_clip0_910_343','LICENSE_EXPORT_SIZE_EXCEEDED','_transformPreviousActiveRange','collab-rect-range-','permission.title','_registerDependencies','toString','_textBubble','DeleteRangeMoveUpCommandId','from','on-line-icon_clip0_910_349','indexOf','YUUMI_ALL_TABLES_IS_INVALID','Error','UniverIcon','subUnitId','_session','all','NO_OTHER_CLIENTS_EDITING','_getSheetObject','registerBeforeClose','setInterval','_doCreateSocket','getRelativeToViewportCoord','_labelPosition','_docClipboardService','jiqing.500','SOCKET_FAILED_RETRY','application/json','_transformUndoRedoStack','dispose','collaboration-client.offline-data-not-saved','complete','_config','_initEntityListener','transformByState','_initResize','_eventUnsubscribe','imageSourceType','UNIVER_DOC','red.300','getSkeleton','transformSelections','_docSkeleton','_drawAnchor','data','displayName','_docTransformSelectionsService','mask','blue.400','range','m1Prime','_getSaveTimeout','path','531618LKSnLz','addHandlerCallback'];_0x3abf=function(){return _0x42cbd8;};return _0x3abf();}class Fn extends _0x382bf8{constructor(){const _0x2134de=_0xf42a26;super(),_(this,_0x2134de(0x13d),_0x3d8d95()),_(this,_0x2134de(0x27d),new Set()),_(this,_0x2134de(0x286),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x2134de(0x27f),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0xf42a26(0x229)](){const _0x5c1e26=_0xf42a26;super[_0x5c1e26(0x229)](),this[_0x5c1e26(0x27f)][_0x5c1e26(0x140)]((_0x467559,_0x46896f)=>this['_removeClearOtherTimer'](_0x46896f)),this[_0x5c1e26(0x1c4)]&&window[_0x5c1e26(0x13b)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x522b0a){const _0x1bded0=_0xf42a26;return this[_0x1bded0(0xfc)](_0x522b0a)[_0x1bded0(0xe3)](_0x1842b9());}[_0xf42a26(0x2b7)](_0x437886){const _0x2d0057=_0xf42a26;this[_0x2d0057(0x27d)][_0x2d0057(0x130)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2d0057(0x27d)][_0x2d0057(0xfb)](_0x437886),this[_0x2d0057(0x1d8)]({'type':0x0,'memberID':this[_0x2d0057(0x13d)],'unitIDs':[_0x437886],'isForwarded':!0x1});}[_0xf42a26(0x199)](_0x2cf49b){const _0x47092c=_0xf42a26;this[_0x47092c(0x27d)][_0x47092c(0x273)](_0x2cf49b),this[_0x47092c(0x27d)][_0x47092c(0x130)]===0x0&&this[_0x47092c(0x1c4)]&&window[_0x47092c(0x13b)](this[_0x47092c(0x1c4)]);}[_0xf42a26(0x12b)](){const _0x2ac7e4=_0xf42a26;this[_0x2ac7e4(0x136)](_0x56fd5a(_0x33c672(window,'storage')[_0x2ac7e4(0x1d7)](_0x15b780=>{const _0x247d72=_0x2ac7e4;if(_0x15b780[_0x247d72(0x1aa)]!==nt||!_0x15b780[_0x247d72(0x2a9)])return;const _0x1ab689=JSON[_0x247d72(0x276)](_0x15b780['newValue']);this[_0x247d72(0x155)](_0x1ab689);}))),window[_0x2ac7e4(0xee)](_0x2ac7e4(0x13c),()=>this[_0x2ac7e4(0x1d8)]({'type':0x1,'memberID':this[_0x2ac7e4(0x13d)],'unitIDs':Array[_0x2ac7e4(0x214)](this[_0x2ac7e4(0x27d)])}));}[_0xf42a26(0x155)](_0x4cee08){const _0x1881ed=_0xf42a26;switch(_0x4cee08[_0x1881ed(0x15e)]){case 0x0:this[_0x1881ed(0x2d1)](_0x4cee08);break;case 0x1:this[_0x1881ed(0x2a1)](_0x4cee08);break;case 0x2:this[_0x1881ed(0x250)](_0x4cee08);break;}}[_0xf42a26(0x2d1)](_0x3190bb){const _0x347df4=_0xf42a26,{unitIDs:_0x4b281d,memberID:_0x648d42,isForwarded:_0x1ce79a}=_0x3190bb;_0x4b281d[_0x347df4(0x140)](_0x361319=>{const _0x443722=_0x347df4;if(!_0x1ce79a&&this['_unitOnClients'][_0x443722(0x18f)](_0x361319)&&this[_0x443722(0xfc)](_0x361319)['next'](_0x494160[_0x443722(0x2dc)]),!this[_0x443722(0x286)][_0x443722(0x18f)](_0x361319)||!this[_0x443722(0x286)][_0x443722(0x27e)](_0x361319)[_0x443722(0x18f)](_0x648d42)){const _0x1814d3=this[_0x443722(0x286)][_0x443722(0x27e)](_0x361319)||new Set();_0x1814d3[_0x443722(0xfb)](_0x648d42),this[_0x443722(0x286)]['set'](_0x361319,_0x1814d3),this[_0x443722(0x1bd)](_0x648d42);}}),_0x1ce79a||this[_0x347df4(0x1d8)]({'type':0x0,'memberID':this[_0x347df4(0x13d)],'unitIDs':[...this[_0x347df4(0x27d)]],'isForwarded':!0x0});}[_0xf42a26(0x1bd)](_0x2b3b9f){const _0x1be701=_0xf42a26;this[_0x1be701(0x19d)](_0x2b3b9f);const _0x58fdd7=window[_0x1be701(0xe9)](()=>{const _0x3f6943=_0x1be701;this[_0x3f6943(0x286)][_0x3f6943(0x140)](_0x429f97=>{const _0x545412=_0x3f6943;_0x429f97[_0x545412(0x273)](_0x2b3b9f);});},it*0x2);this[_0x1be701(0x27f)][_0x1be701(0x2b4)](_0x2b3b9f,_0x58fdd7);}['_removeClearOtherTimer'](_0x5a970f){const _0x27173c=_0xf42a26;if(this[_0x27173c(0x27f)]['has'](_0x5a970f)){const _0x226401=this['_clearOtherTimers'][_0x27173c(0x27e)](_0x5a970f);_0x226401&&window[_0x27173c(0x159)](_0x226401),this[_0x27173c(0x27f)][_0x27173c(0x2b4)](_0x5a970f,null);}}[_0xf42a26(0x2a1)](_0x3eaa94){const _0x2ddc61=_0xf42a26,{memberID:_0x3c8e53,unitIDs:_0x52aa78}=_0x3eaa94;_0x52aa78['forEach'](_0x38f924=>{const _0x1fccab=_0x4fb2;var _0xba773a;const _0x31ec07=this[_0x1fccab(0x286)][_0x1fccab(0x27e)](_0x38f924);_0x31ec07&&(_0x31ec07[_0x1fccab(0x273)](_0x3c8e53),(_0xba773a=this[_0x1fccab(0xfc)](_0x38f924))==null||_0xba773a[_0x1fccab(0x282)](_0x31ec07[_0x1fccab(0x130)]===0x0?_0x494160[_0x1fccab(0x21d)]:_0x494160[_0x1fccab(0x2dc)]));}),this[_0x2ddc61(0x19d)](_0x3c8e53);}[_0xf42a26(0x250)](_0x16a0b9){const _0xc73f4f=_0xf42a26;this[_0xc73f4f(0x1bd)](_0x16a0b9[_0xc73f4f(0x10a)]);}[_0xf42a26(0x1d8)](_0x4f103c){const _0x46b62d=_0xf42a26;localStorage[_0x46b62d(0x105)](nt,JSON[_0x46b62d(0x2c2)](_0x4f103c));}[_0xf42a26(0x15c)](){const _0x14af5d=_0xf42a26;this['_heartbeatTimer']=window[_0x14af5d(0x220)](()=>{const _0x5a12a0=_0x14af5d;this[_0x5a12a0(0x1d8)]({'type':0x2,'memberID':this[_0x5a12a0(0x13d)]});},it);}['_ensureSubject'](_0x233b4e){const _0x21f647=_0xf42a26;return this[_0x21f647(0x289)]['has'](_0x233b4e)||this['_unitStatus'][_0x21f647(0x2b4)](_0x233b4e,new _0x535baf(_0x494160[_0x21f647(0x21d)])),this[_0x21f647(0x289)]['get'](_0x233b4e);}}var Mt=(_0x102d60=>(_0x102d60[_0x102d60[_0xf42a26(0x27b)]=0x0]=_0xf42a26(0x27b),_0x102d60[_0x102d60['OK']=0x1]='OK',_0x102d60[_0x102d60[_0xf42a26(0x1fe)]=0x2]='INTERNAL_ERROR',_0x102d60[_0x102d60[_0xf42a26(0x2a6)]=0x3]=_0xf42a26(0x2a6),_0x102d60[_0x102d60['NOT_FOUND']=0x4]='NOT_FOUND',_0x102d60[_0x102d60[_0xf42a26(0xf5)]=0x5]=_0xf42a26(0xf5),_0x102d60[_0x102d60[_0xf42a26(0x2c8)]=0x6]=_0xf42a26(0x2c8),_0x102d60[_0x102d60[_0xf42a26(0x28b)]=0x7]=_0xf42a26(0x28b),_0x102d60[_0x102d60[_0xf42a26(0x150)]=0x8]='TOO_MANY_REQUESTS',_0x102d60[_0x102d60[_0xf42a26(0x190)]=0x9]=_0xf42a26(0x190),_0x102d60[_0x102d60[_0xf42a26(0x28e)]=0xa]=_0xf42a26(0x28e),_0x102d60[_0x102d60[_0xf42a26(0x2d4)]=0xb]=_0xf42a26(0x2d4),_0x102d60[_0x102d60[_0xf42a26(0x1d9)]=0xc]=_0xf42a26(0x1d9),_0x102d60[_0x102d60[_0xf42a26(0x161)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x102d60[_0x102d60['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xf42a26(0x17a),_0x102d60[_0x102d60[_0xf42a26(0x1c1)]=0x1389]=_0xf42a26(0x1c1),_0x102d60[_0x102d60[_0xf42a26(0x1cb)]=0x1771]=_0xf42a26(0x1cb),_0x102d60[_0x102d60[_0xf42a26(0x1ea)]=0x1772]=_0xf42a26(0x1ea),_0x102d60[_0x102d60[_0xf42a26(0x164)]=0x1773]=_0xf42a26(0x164),_0x102d60[_0x102d60[_0xf42a26(0x1c6)]=0x1b59]=_0xf42a26(0x1c6),_0x102d60[_0x102d60[_0xf42a26(0x1dc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x102d60[_0x102d60[_0xf42a26(0x2ad)]=0x1b5b]=_0xf42a26(0x2ad),_0x102d60[_0x102d60[_0xf42a26(0x101)]=0x1b5c]=_0xf42a26(0x101),_0x102d60[_0x102d60['APPLY_DUPLICATED']=0x1b5d]=_0xf42a26(0x24f),_0x102d60[_0x102d60[_0xf42a26(0x203)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x102d60[_0x102d60[_0xf42a26(0x2cc)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x102d60[_0x102d60[_0xf42a26(0x10d)]=0x232a]=_0xf42a26(0x10d),_0x102d60[_0x102d60[_0xf42a26(0x1f0)]=0x232b]=_0xf42a26(0x1f0),_0x102d60[_0x102d60[_0xf42a26(0x20c)]=0x232c]=_0xf42a26(0x20c),_0x102d60[_0x102d60[_0xf42a26(0x15a)]=0x232d]=_0xf42a26(0x15a),_0x102d60[_0x102d60[_0xf42a26(0x1da)]=0x2711]=_0xf42a26(0x1da),_0x102d60[_0x102d60['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xf42a26(0x2d2),_0x102d60[_0x102d60['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xf42a26(0x25a),_0x102d60[_0x102d60[_0xf42a26(0x12e)]=0x2714]=_0xf42a26(0x12e),_0x102d60[_0x102d60['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x102d60[_0x102d60[_0xf42a26(0x1c7)]=0x271b]=_0xf42a26(0x1c7),_0x102d60[_0x102d60[_0xf42a26(0x175)]=0x271c]=_0xf42a26(0x175),_0x102d60[_0x102d60['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xf42a26(0x217),_0x102d60[_0x102d60['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xf42a26(0xf3),_0x102d60[_0x102d60[_0xf42a26(0x1b1)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x102d60[_0x102d60['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x102d60[_0x102d60['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x102d60[_0x102d60['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xf42a26(0x288),_0x102d60[_0x102d60['INVALID_INVITE_CODE']=0x2ee2]=_0xf42a26(0x11f),_0x102d60[_0x102d60[_0xf42a26(0xec)]=0x2ee3]=_0xf42a26(0xec),_0x102d60[_0x102d60[_0xf42a26(0x2d0)]=0x2ee4]=_0xf42a26(0x2d0),_0x102d60[_0x102d60[_0xf42a26(0x18b)]=0x2ee5]=_0xf42a26(0x18b),_0x102d60[_0x102d60['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x102d60[_0x102d60[_0xf42a26(0x2b5)]=0x32ca]=_0xf42a26(0x2b5),_0x102d60[_0x102d60['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x102d60[_0x102d60[_0xf42a26(0x1d6)]=-0x1]=_0xf42a26(0x1d6),_0x102d60))(Mt||{}),pn=Object[_0xf42a26(0x12c)],Cn=(_0x281f46,_0x4eba34,_0x2e0b29,_0x369abc)=>{const _0xeeec05=_0xf42a26;for(var _0x2fede0=_0x369abc>0x1?void 0x0:_0x369abc?pn(_0x4eba34,_0x2e0b29):_0x4eba34,_0x396175=_0x281f46[_0xeeec05(0x1db)]-0x1,_0x1745a0;_0x396175>=0x0;_0x396175--)(_0x1745a0=_0x281f46[_0x396175])&&(_0x2fede0=_0x1745a0(_0x2fede0)||_0x2fede0);return _0x2fede0;},be=(_0x32ef4a,_0x259870)=>(_0x530425,_0xcd23be)=>_0x259870(_0x530425,_0xcd23be,_0x32ef4a);let rt=class extends _0x382bf8{constructor(_0x1400ad,_0x47a565,_0x1e11e2){const _0x45d067=_0xf42a26;super(),this[_0x45d067(0xdf)]=_0x1400ad,this[_0x45d067(0x24e)]=_0x47a565,this[_0x45d067(0x262)]=_0x1e11e2;}async[_0xf42a26(0x128)](_0x29cd81,_0xd96117,_0x259d0e,..._0x392ea7){const _0x193687=_0xf42a26;var _0xa5b9f1,_0xb0bc8f,_0x49429d,_0x293728;const _0x454fef=this[_0x193687(0xdf)][_0x193687(0x1b7)]();if(!_0x454fef)throw new Error(_0x193687(0x142));const _0x51f1d1=((_0xa5b9f1=this[_0x193687(0x262)][_0x193687(0x189)](_0x2af0c4))!=null?_0xa5b9f1:_0x3157b6)+'/'+_0x29cd81+_0x193687(0x2b8)+_0xd96117,_0x2c8256=new URL(window[_0x193687(0x102)][_0x193687(0x169)]),_0x17bc03={'scriptId':_0x29cd81,'runId':(_0xb0bc8f=_0x2c8256[_0x193687(0x16e)][_0x193687(0x27e)](_0x193687(0x154)))!=null?_0xb0bc8f:'','function':_0xd96117,'unitId':_0x454fef[_0x193687(0x1b2)](),'argsOfFunction':JSON[_0x193687(0x2c2)](_0x392ea7),'invokeId':(_0x49429d=_0x259d0e['invokeId'])!=null?_0x49429d:'','executionId':(_0x293728=_0x259d0e[_0x193687(0x248)])!=null?_0x293728:''};try{const _0x184db3=await this['_httpService']['post'](_0x51f1d1,{'body':_0x17bc03});return _0x184db3[_0x193687(0x1b4)][_0x193687(0xff)]&&_0x184db3['body'][_0x193687(0xff)][_0x193687(0x145)]!==Mt['OK']?_0x193687(0x1a2):_0x184db3['body'][_0x193687(0x1d2)];}catch{return _0x193687(0x1a2);}}};rt=Cn([be(0x0,_0x26c0aa),be(0x1,_0x29894a(_0x56c2d5)),be(0x2,_0xf5f608)],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 _0x453e(){const _0x3c321e=['293906mxlRXl','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.','35CuMFph','6zhEwVv','2JBtJss','2646639qscYoM','Synced','780016ipRzWI','468920mwfGvp','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','Authentication\x20Error','3198125MzllsB','2010996ihyQgC','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','9693490ZSNylK','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x453e=function(){return _0x3c321e;};return _0x453e();}const _0x2b63fe=_0x27d5;function _0x27d5(_0x356644,_0x2c8284){const _0x453eb0=_0x453e();return _0x27d5=function(_0x27d55e,_0x3b9c42){_0x27d55e=_0x27d55e-0x8d;let _0x3e69b7=_0x453eb0[_0x27d55e];return _0x3e69b7;},_0x27d5(_0x356644,_0x2c8284);}(function(_0x494898,_0x57a06f){const _0x1ee4ec=_0x27d5,_0x25196a=_0x494898();while(!![]){try{const _0x46b32a=-parseInt(_0x1ee4ec(0xa1))/0x1*(-parseInt(_0x1ee4ec(0x8e))/0x2)+parseInt(_0x1ee4ec(0x8d))/0x3*(-parseInt(_0x1ee4ec(0x92))/0x4)+-parseInt(_0x1ee4ec(0x96))/0x5+parseInt(_0x1ee4ec(0x97))/0x6+parseInt(_0x1ee4ec(0xa3))/0x7*(-parseInt(_0x1ee4ec(0x91))/0x8)+parseInt(_0x1ee4ec(0x8f))/0x9+parseInt(_0x1ee4ec(0x9f))/0xa;if(_0x46b32a===_0x57a06f)break;else _0x25196a['push'](_0x25196a['shift']());}catch(_0x5276c8){_0x25196a['push'](_0x25196a['shift']());}}}(_0x453e,0x819d1));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2b63fe(0x94),'notCollab':_0x2b63fe(0x9d),'synced':_0x2b63fe(0x90),'syncing':_0x2b63fe(0x9a),'offline':_0x2b63fe(0x9b)},'session':{'connection-failed':_0x2b63fe(0x99),'will-retry':_0x2b63fe(0x98),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x2b63fe(0xa0)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2b63fe(0xa2)},'permission':{'title':_0x2b63fe(0x95),'content':_0x2b63fe(0x9e)},'collaboration':{'single-unit':{'warning':_0x2b63fe(0x9c)},'closeRoom':_0x2b63fe(0x93)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
1
+ const _0x1e34ce=_0x3a46;(function(_0x263e4d,_0x5ef8ed){const _0x3d8805=_0x3a46,_0x5c1186=_0x263e4d();while(!![]){try{const _0x400fb9=parseInt(_0x3d8805(0xf0))/0x1+-parseInt(_0x3d8805(0xe8))/0x2*(-parseInt(_0x3d8805(0xe1))/0x3)+-parseInt(_0x3d8805(0xea))/0x4*(parseInt(_0x3d8805(0xe4))/0x5)+-parseInt(_0x3d8805(0xec))/0x6*(parseInt(_0x3d8805(0xdd))/0x7)+parseInt(_0x3d8805(0xe7))/0x8*(-parseInt(_0x3d8805(0xef))/0x9)+-parseInt(_0x3d8805(0xde))/0xa+parseInt(_0x3d8805(0xe6))/0xb;if(_0x400fb9===_0x5ef8ed)break;else _0x5c1186['push'](_0x5c1186['shift']());}catch(_0xde947c){_0x5c1186['push'](_0x5c1186['shift']());}}}(_0x45a0,0x77c30));const e={'collab-client':{'tooltip':{'reconnect':_0x1e34ce(0xeb)}},'collabStatus':{'fetchMiss':_0x1e34ce(0xe5),'conflict':_0x1e34ce(0xe2),'notCollab':_0x1e34ce(0xdc),'synced':_0x1e34ce(0xdf),'syncing':'Syncing...','offline':_0x1e34ce(0xed)},'session':{'connection-failed':_0x1e34ce(0xee),'will-retry':_0x1e34ce(0xf1),'room-full':_0x1e34ce(0xf2),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x1e34ce(0xe0),'content':_0x1e34ce(0xdb)},'permission':{'title':_0x1e34ce(0xe3),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x1e34ce(0xe9)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x3a46(_0xee1d6d,_0xc5aa3d){const _0x45a0ab=_0x45a0();return _0x3a46=function(_0x3a4654,_0xed5993){_0x3a4654=_0x3a4654-0xdb;let _0x3d4b92=_0x45a0ab[_0x3a4654];return _0x3d4b92;},_0x3a46(_0xee1d6d,_0xc5aa3d);}function _0x45a0(){const _0x459505=['27DpFCLA','623338Aewrsr','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','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.','Local\x20file','6772024XcoWCz','8793140MzYasD','Synced','Collaboration\x20Conflict','2427063dEFCLw','Edit\x20conflicts','Authentication\x20Error','5DgeevQ','Syncing\x20server\x20data...','22196889QydzhZ','943240LiqUfg','2jlISNO','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','3037012QkXtEy','Click\x20to\x20Reconnect','6CxBMOn','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0x45a0=function(){return _0x459505;};return _0x45a0();}export{e as default};
@@ -1 +1 @@
1
- const _0x777f18=_0x5ddf;function _0x5ddf(_0xd663dd,_0x37b8b1){const _0x5ac6d9=_0x5ac6();return _0x5ddf=function(_0x5ddff8,_0x7ce5b7){_0x5ddff8=_0x5ddff8-0x73;let _0x271444=_0x5ac6d9[_0x5ddff8];return _0x271444;},_0x5ddf(_0xd663dd,_0x37b8b1);}(function(_0x19c60d,_0x1c1c9a){const _0x360e42=_0x5ddf,_0x4d86f1=_0x19c60d();while(!![]){try{const _0x54b59f=parseInt(_0x360e42(0x82))/0x1*(parseInt(_0x360e42(0x7c))/0x2)+parseInt(_0x360e42(0x75))/0x3+-parseInt(_0x360e42(0x81))/0x4*(parseInt(_0x360e42(0x7e))/0x5)+parseInt(_0x360e42(0x7b))/0x6+-parseInt(_0x360e42(0x76))/0x7+parseInt(_0x360e42(0x85))/0x8+-parseInt(_0x360e42(0x84))/0x9;if(_0x54b59f===_0x1c1c9a)break;else _0x4d86f1['push'](_0x4d86f1['shift']());}catch(_0x283665){_0x4d86f1['push'](_0x4d86f1['shift']());}}}(_0x5ac6,0xa20e5));function _0x5ac6(){const _0x3e8395=['4OKRFMt','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','100KXzqav','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','همگام\x20سازی','23192Lmkusi','202833rLpquk','یک\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رفت.','6657120OUdmEY','4075104zZWXUW','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','3861744bjqnFJ','6932485pLtSzS','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','خطای\x20اعتبارسنجی','تداخل\x20همکاری','پرونده\x20محلی','1844844IEiemJ'];_0x5ac6=function(){return _0x3e8395;};return _0x5ac6();}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x777f18(0x77),'conflict':'تداخل\x20ویرایش','notCollab':_0x777f18(0x7a),'synced':_0x777f18(0x80),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x777f18(0x73)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x777f18(0x7f),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x777f18(0x79),'content':_0x777f18(0x83)},'permission':{'title':_0x777f18(0x78),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x777f18(0x74)},'auth':{'needGotoLoginAlert':_0x777f18(0x7d)}};export{o as default};
1
+ function _0x44a5(){const _0x441a02=['4046jpnONH','1533695MhflIf','2906728YwLPvi','پرونده\x20محلی','تداخل\x20همکاری','همگام\x20سازی','962050zdruFE','1881576yGyyQH','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','45BWjBfu','اعمال\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سرور...','1360TndcvB','برای\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شوند','2814456tHjLwy','1lIKUrH','1573220hsNbmq','امتیازات\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رفت.','6NCjuSZ','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','تداخل\x20ویرایش'];_0x44a5=function(){return _0x441a02;};return _0x44a5();}function _0x2a5f(_0x2f6750,_0x34d961){const _0x44a56e=_0x44a5();return _0x2a5f=function(_0x2a5fc7,_0x1a5a1c){_0x2a5fc7=_0x2a5fc7-0x1a2;let _0x22c62a=_0x44a56e[_0x2a5fc7];return _0x22c62a;},_0x2a5f(_0x2f6750,_0x34d961);}const _0x2f4695=_0x2a5f;(function(_0x559f9b,_0x2a0119){const _0x438daf=_0x2a5f,_0x1c8eec=_0x559f9b();while(!![]){try{const _0x42e18d=parseInt(_0x438daf(0x1a5))/0x1*(-parseInt(_0x438daf(0x1a6))/0x2)+-parseInt(_0x438daf(0x1b4))/0x3+parseInt(_0x438daf(0x1a4))/0x4+parseInt(_0x438daf(0x1ae))/0x5*(parseInt(_0x438daf(0x1aa))/0x6)+parseInt(_0x438daf(0x1ad))/0x7*(parseInt(_0x438daf(0x1b9))/0x8)+parseInt(_0x438daf(0x1b6))/0x9*(parseInt(_0x438daf(0x1b3))/0xa)+parseInt(_0x438daf(0x1af))/0xb;if(_0x42e18d===_0x2a0119)break;else _0x1c8eec['push'](_0x1c8eec['shift']());}catch(_0x105075){_0x1c8eec['push'](_0x1c8eec['shift']());}}}(_0x44a5,0x6b714));const o={'collab-client':{'tooltip':{'reconnect':_0x2f4695(0x1ba)}},'collabStatus':{'fetchMiss':_0x2f4695(0x1b8),'conflict':_0x2f4695(0x1ac),'notCollab':_0x2f4695(0x1b0),'synced':_0x2f4695(0x1b2),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x2f4695(0x1a3)},'session':{'connection-failed':_0x2f4695(0x1ab),'will-retry':_0x2f4695(0x1bc),'room-full':_0x2f4695(0x1a8),'collaboration-timeout':_0x2f4695(0x1b5)},'conflict':{'title':_0x2f4695(0x1b1),'content':_0x2f4695(0x1a9)},'permission':{'title':_0x2f4695(0x1bb),'content':_0x2f4695(0x1b7)},'collaboration':{'single-unit':{'warning':_0x2f4695(0x1a2)},'closeRoom':_0x2f4695(0x1a7)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};